-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathchunk-UT2BAQLV.js
More file actions
5 lines (5 loc) · 245 KB
/
chunk-UT2BAQLV.js
File metadata and controls
5 lines (5 loc) · 245 KB
1
2
3
4
5
var xm=Object.defineProperty,Om=Object.defineProperties;var km=Object.getOwnPropertyDescriptors;var Vl=Object.getOwnPropertySymbols;var Pm=Object.prototype.hasOwnProperty,Fm=Object.prototype.propertyIsEnumerable;var Hl=(e,n,t)=>n in e?xm(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,g=(e,n)=>{for(var t in n||={})Pm.call(n,t)&&Hl(e,t,n[t]);if(Vl)for(var t of Vl(n))Fm.call(n,t)&&Hl(e,t,n[t]);return e},B=(e,n)=>Om(e,km(n));var F=(e,n,t)=>new Promise((r,o)=>{var i=c=>{try{a(t.next(c))}catch(u){o(u)}},s=c=>{try{a(t.throw(c))}catch(u){o(u)}},a=c=>c.done?r(c.value):Promise.resolve(c.value).then(i,s);a((t=t.apply(e,n)).next())});var ie=null,No=!1,la=1,Lm=null,Ie=Symbol("SIGNAL");function M(e){let n=ie;return ie=e,n}function Ro(){return ie}var Ao={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function xo(e){if(No)throw new Error("");if(ie===null)return;ie.consumerOnSignalRead(e);let n=ie.producersTail;if(n!==void 0&&n.producer===e)return;let t,r=ie.recomputing;if(r&&(t=n!==void 0?n.nextProducer:ie.producers,t!==void 0&&t.producer===e)){ie.producersTail=t,t.lastReadVersion=e.version;return}let o=e.consumersTail;if(o!==void 0&&o.consumer===ie&&(!r||Bm(o,ie)))return;let i=Sn(ie),s={producer:e,consumer:ie,nextProducer:t,prevConsumer:o,lastReadVersion:e.version,nextConsumer:void 0};ie.producersTail=s,n!==void 0?n.nextProducer=s:ie.producers=s,i&&ql(e,s)}function $l(){la++}function zl(e){if(!(Sn(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===la)){if(!e.producerMustRecompute(e)&&!ko(e)){ua(e);return}e.producerRecomputeValue(e),ua(e)}}function da(e){if(e.consumers===void 0)return;let n=No;No=!0;try{for(let t=e.consumers;t!==void 0;t=t.nextConsumer){let r=t.consumer;r.dirty||jm(r)}}finally{No=n}}function fa(){return ie?.consumerAllowSignalWrites!==!1}function jm(e){e.dirty=!0,da(e),e.consumerMarkedDirty?.(e)}function ua(e){e.dirty=!1,e.lastCleanEpoch=la}function Oo(e){return e&&Gl(e),M(e)}function Gl(e){e.producersTail=void 0,e.recomputing=!0}function ha(e,n){M(n),e&&Wl(e)}function Wl(e){e.recomputing=!1;let n=e.producersTail,t=n!==void 0?n.nextProducer:e.producers;if(t!==void 0){if(Sn(e))do t=pa(t);while(t!==void 0);n!==void 0?n.nextProducer=void 0:e.producers=void 0}}function ko(e){for(let n=e.producers;n!==void 0;n=n.nextProducer){let t=n.producer,r=n.lastReadVersion;if(r!==t.version||(zl(t),r!==t.version))return!0}return!1}function Er(e){if(Sn(e)){let n=e.producers;for(;n!==void 0;)n=pa(n)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function ql(e,n){let t=e.consumersTail,r=Sn(e);if(t!==void 0?(n.nextConsumer=t.nextConsumer,t.nextConsumer=n):(n.nextConsumer=void 0,e.consumers=n),n.prevConsumer=t,e.consumersTail=n,!r)for(let o=e.producers;o!==void 0;o=o.nextProducer)ql(o.producer,o)}function pa(e){let n=e.producer,t=e.nextProducer,r=e.nextConsumer,o=e.prevConsumer;if(e.nextConsumer=void 0,e.prevConsumer=void 0,r!==void 0?r.prevConsumer=o:n.consumersTail=o,o!==void 0)o.nextConsumer=r;else if(n.consumers=r,!Sn(n)){let i=n.producers;for(;i!==void 0;)i=pa(i)}return t}function Sn(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function Zl(e){Lm?.(e)}function Bm(e,n){let t=n.producersTail;if(t!==void 0){let r=n.producers;do{if(r===e)return!0;if(r===t)break;r=r.nextProducer}while(r!==void 0)}return!1}function Yl(e,n){return Object.is(e,n)}function Um(){throw new Error}var Ql=Um;function Kl(e){Ql(e)}function ga(e){Ql=e}var Vm=null;function ma(e,n){let t=Object.create(Po);t.value=e,n!==void 0&&(t.equal=n);let r=()=>Jl(t);return r[Ie]=t,Zl(t),[r,s=>Ir(t,s),s=>Xl(t,s)]}function Jl(e){return xo(e),e.value}function Ir(e,n){fa()||Kl(e),e.equal(e.value,n)||(e.value=n,Hm(e))}function Xl(e,n){fa()||Kl(e),Ir(e,n(e.value))}var Po=B(g({},Ao),{equal:Yl,value:void 0,kind:"signal"});function Hm(e){e.version++,$l(),da(e),Vm?.(e)}function ya(e){let n=M(null);try{return e()}finally{M(n)}}function T(e){return typeof e=="function"}function _n(e){let t=e(r=>{Error.call(r),r.stack=new Error().stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}var Fo=_n(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:
${t.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
`)}`:"",this.name="UnsubscriptionError",this.errors=t});function Cr(e,n){if(e){let t=e.indexOf(n);0<=t&&e.splice(t,1)}}var W=class e{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;let{_parentage:t}=this;if(t)if(this._parentage=null,Array.isArray(t))for(let i of t)i.remove(this);else t.remove(this);let{initialTeardown:r}=this;if(T(r))try{r()}catch(i){n=i instanceof Fo?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{ed(i)}catch(s){n=n??[],s instanceof Fo?n=[...n,...s.errors]:n.push(s)}}if(n)throw new Fo(n)}}add(n){var t;if(n&&n!==this)if(this.closed)ed(n);else{if(n instanceof e){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=(t=this._finalizers)!==null&&t!==void 0?t:[]).push(n)}}_hasParent(n){let{_parentage:t}=this;return t===n||Array.isArray(t)&&t.includes(n)}_addParent(n){let{_parentage:t}=this;this._parentage=Array.isArray(t)?(t.push(n),t):t?[t,n]:n}_removeParent(n){let{_parentage:t}=this;t===n?this._parentage=null:Array.isArray(t)&&Cr(t,n)}remove(n){let{_finalizers:t}=this;t&&Cr(t,n),n instanceof e&&n._removeParent(this)}};W.EMPTY=(()=>{let e=new W;return e.closed=!0,e})();var va=W.EMPTY;function Lo(e){return e instanceof W||e&&"closed"in e&&T(e.remove)&&T(e.add)&&T(e.unsubscribe)}function ed(e){T(e)?e():e.unsubscribe()}var xe={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Mn={setTimeout(e,n,...t){let{delegate:r}=Mn;return r?.setTimeout?r.setTimeout(e,n,...t):setTimeout(e,n,...t)},clearTimeout(e){let{delegate:n}=Mn;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function jo(e){Mn.setTimeout(()=>{let{onUnhandledError:n}=xe;if(n)n(e);else throw e})}function wr(){}var td=Da("C",void 0,void 0);function nd(e){return Da("E",void 0,e)}function rd(e){return Da("N",e,void 0)}function Da(e,n,t){return{kind:e,value:n,error:t}}var Gt=null;function Nn(e){if(xe.useDeprecatedSynchronousErrorHandling){let n=!Gt;if(n&&(Gt={errorThrown:!1,error:null}),e(),n){let{errorThrown:t,error:r}=Gt;if(Gt=null,t)throw r}}else e()}function od(e){xe.useDeprecatedSynchronousErrorHandling&&Gt&&(Gt.errorThrown=!0,Gt.error=e)}var Wt=class extends W{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,Lo(n)&&n.add(this)):this.destination=Gm}static create(n,t,r){return new Rn(n,t,r)}next(n){this.isStopped?Ia(rd(n),this):this._next(n)}error(n){this.isStopped?Ia(nd(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?Ia(td,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},$m=Function.prototype.bind;function Ea(e,n){return $m.call(e,n)}var Ca=class{constructor(n){this.partialObserver=n}next(n){let{partialObserver:t}=this;if(t.next)try{t.next(n)}catch(r){Bo(r)}}error(n){let{partialObserver:t}=this;if(t.error)try{t.error(n)}catch(r){Bo(r)}else Bo(n)}complete(){let{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(t){Bo(t)}}},Rn=class extends Wt{constructor(n,t,r){super();let o;if(T(n)||!n)o={next:n??void 0,error:t??void 0,complete:r??void 0};else{let i;this&&xe.useDeprecatedNextContext?(i=Object.create(n),i.unsubscribe=()=>this.unsubscribe(),o={next:n.next&&Ea(n.next,i),error:n.error&&Ea(n.error,i),complete:n.complete&&Ea(n.complete,i)}):o=n}this.destination=new Ca(o)}};function Bo(e){xe.useDeprecatedSynchronousErrorHandling?od(e):jo(e)}function zm(e){throw e}function Ia(e,n){let{onStoppedNotification:t}=xe;t&&Mn.setTimeout(()=>t(e,n))}var Gm={closed:!0,next:wr,error:zm,complete:wr};var An=typeof Symbol=="function"&&Symbol.observable||"@@observable";function Oe(e){return e}function wa(...e){return ba(e)}function ba(e){return e.length===0?Oe:e.length===1?e[0]:function(t){return e.reduce((r,o)=>o(r),t)}}var R=(()=>{class e{constructor(t){t&&(this._subscribe=t)}lift(t){let r=new e;return r.source=this,r.operator=t,r}subscribe(t,r,o){let i=qm(t)?t:new Rn(t,r,o);return Nn(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(t){try{return this._subscribe(t)}catch(r){t.error(r)}}forEach(t,r){return r=id(r),new r((o,i)=>{let s=new Rn({next:a=>{try{t(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(t){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(t)}[An](){return this}pipe(...t){return ba(t)(this)}toPromise(t){return t=id(t),new t((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=n=>new e(n),e})();function id(e){var n;return(n=e??xe.Promise)!==null&&n!==void 0?n:Promise}function Wm(e){return e&&T(e.next)&&T(e.error)&&T(e.complete)}function qm(e){return e&&e instanceof Wt||Wm(e)&&Lo(e)}function Zm(e){return T(e?.lift)}function k(e){return n=>{if(Zm(n))return n.lift(function(t){try{return e(t,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function L(e,n,t,r,o){return new Ta(e,n,t,r,o)}var Ta=class extends Wt{constructor(n,t,r,o,i,s){super(n),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=t?function(a){try{t(a)}catch(c){n.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){n.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:t}=this;super.unsubscribe(),!t&&((n=this.onFinalize)===null||n===void 0||n.call(this))}}};var sd=_n(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var J=(()=>{class e extends R{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){let r=new Uo(this,this);return r.operator=t,r}_throwIfClosed(){if(this.closed)throw new sd}next(t){Nn(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(t)}})}error(t){Nn(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;let{observers:r}=this;for(;r.length;)r.shift().error(t)}})}complete(){Nn(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:t}=this;for(;t.length;)t.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var t;return((t=this.observers)===null||t===void 0?void 0:t.length)>0}_trySubscribe(t){return this._throwIfClosed(),super._trySubscribe(t)}_subscribe(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)}_innerSubscribe(t){let{hasError:r,isStopped:o,observers:i}=this;return r||o?va:(this.currentObservers=null,i.push(t),new W(()=>{this.currentObservers=null,Cr(i,t)}))}_checkFinalizedStatuses(t){let{hasError:r,thrownError:o,isStopped:i}=this;r?t.error(o):i&&t.complete()}asObservable(){let t=new R;return t.source=this,t}}return e.create=(n,t)=>new Uo(n,t),e})(),Uo=class extends J{constructor(n,t){super(),this.destination=n,this.source=t}next(n){var t,r;(r=(t=this.destination)===null||t===void 0?void 0:t.next)===null||r===void 0||r.call(t,n)}error(n){var t,r;(r=(t=this.destination)===null||t===void 0?void 0:t.error)===null||r===void 0||r.call(t,n)}complete(){var n,t;(t=(n=this.destination)===null||n===void 0?void 0:n.complete)===null||t===void 0||t.call(n)}_subscribe(n){var t,r;return(r=(t=this.source)===null||t===void 0?void 0:t.subscribe(n))!==null&&r!==void 0?r:va}};var X=class extends J{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){let t=super._subscribe(n);return!t.closed&&n.next(this._value),t}getValue(){let{hasError:n,thrownError:t,_value:r}=this;if(n)throw t;return this._throwIfClosed(),r}next(n){super.next(this._value=n)}};var ee=new R(e=>e.complete());function ad(e){return e&&T(e.schedule)}function cd(e){return e[e.length-1]}function ud(e){return T(cd(e))?e.pop():void 0}function _t(e){return ad(cd(e))?e.pop():void 0}function dd(e,n,t,r){function o(i){return i instanceof t?i:new t(function(s){s(i)})}return new(t||(t=Promise))(function(i,s){function a(l){try{u(r.next(l))}catch(d){s(d)}}function c(l){try{u(r.throw(l))}catch(d){s(d)}}function u(l){l.done?i(l.value):o(l.value).then(a,c)}u((r=r.apply(e,n||[])).next())})}function ld(e){var n=typeof Symbol=="function"&&Symbol.iterator,t=n&&e[n],r=0;if(t)return t.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function qt(e){return this instanceof qt?(this.v=e,this):new qt(e)}function fd(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=t.apply(e,n||[]),o,i=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(f){return function(C){return Promise.resolve(C).then(f,d)}}function a(f,C){r[f]&&(o[f]=function(w){return new Promise(function(E,I){i.push([f,w,E,I])>1||c(f,w)})},C&&(o[f]=C(o[f])))}function c(f,C){try{u(r[f](C))}catch(w){p(i[0][3],w)}}function u(f){f.value instanceof qt?Promise.resolve(f.value.v).then(l,d):p(i[0][2],f)}function l(f){c("next",f)}function d(f){c("throw",f)}function p(f,C){f(C),i.shift(),i.length&&c(i[0][0],i[0][1])}}function hd(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=e[Symbol.asyncIterator],t;return n?n.call(e):(e=typeof ld=="function"?ld(e):e[Symbol.iterator](),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(i){t[i]=e[i]&&function(s){return new Promise(function(a,c){s=e[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 Vo=e=>e&&typeof e.length=="number"&&typeof e!="function";function Ho(e){return T(e?.then)}function $o(e){return T(e[An])}function zo(e){return Symbol.asyncIterator&&T(e?.[Symbol.asyncIterator])}function Go(e){return new TypeError(`You provided ${e!==null&&typeof e=="object"?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function Ym(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Wo=Ym();function qo(e){return T(e?.[Wo])}function Zo(e){return fd(this,arguments,function*(){let t=e.getReader();try{for(;;){let{value:r,done:o}=yield qt(t.read());if(o)return yield qt(void 0);yield yield qt(r)}}finally{t.releaseLock()}})}function Yo(e){return T(e?.getReader)}function K(e){if(e instanceof R)return e;if(e!=null){if($o(e))return Qm(e);if(Vo(e))return Km(e);if(Ho(e))return Jm(e);if(zo(e))return pd(e);if(qo(e))return Xm(e);if(Yo(e))return ey(e)}throw Go(e)}function Qm(e){return new R(n=>{let t=e[An]();if(T(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Km(e){return new R(n=>{for(let t=0;t<e.length&&!n.closed;t++)n.next(e[t]);n.complete()})}function Jm(e){return new R(n=>{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,jo)})}function Xm(e){return new R(n=>{for(let t of e)if(n.next(t),n.closed)return;n.complete()})}function pd(e){return new R(n=>{ty(e,n).catch(t=>n.error(t))})}function ey(e){return pd(Zo(e))}function ty(e,n){var t,r,o,i;return dd(this,void 0,void 0,function*(){try{for(t=hd(e);r=yield t.next(),!r.done;){let s=r.value;if(n.next(s),n.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=t.return)&&(yield i.call(t))}finally{if(o)throw o.error}}n.complete()})}function de(e,n,t,r=0,o=!1){let i=n.schedule(function(){t(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function Qo(e,n=0){return k((t,r)=>{t.subscribe(L(r,o=>de(r,e,()=>r.next(o),n),()=>de(r,e,()=>r.complete(),n),o=>de(r,e,()=>r.error(o),n)))})}function Ko(e,n=0){return k((t,r)=>{r.add(e.schedule(()=>t.subscribe(r),n))})}function gd(e,n){return K(e).pipe(Ko(n),Qo(n))}function md(e,n){return K(e).pipe(Ko(n),Qo(n))}function yd(e,n){return new R(t=>{let r=0;return n.schedule(function(){r===e.length?t.complete():(t.next(e[r++]),t.closed||this.schedule())})})}function vd(e,n){return new R(t=>{let r;return de(t,n,()=>{r=e[Wo](),de(t,n,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){t.error(s);return}i?t.complete():t.next(o)},0,!0)}),()=>T(r?.return)&&r.return()})}function Jo(e,n){if(!e)throw new Error("Iterable cannot be null");return new R(t=>{de(t,n,()=>{let r=e[Symbol.asyncIterator]();de(t,n,()=>{r.next().then(o=>{o.done?t.complete():t.next(o.value)})},0,!0)})})}function Dd(e,n){return Jo(Zo(e),n)}function Ed(e,n){if(e!=null){if($o(e))return gd(e,n);if(Vo(e))return yd(e,n);if(Ho(e))return md(e,n);if(zo(e))return Jo(e,n);if(qo(e))return vd(e,n);if(Yo(e))return Dd(e,n)}throw Go(e)}function z(e,n){return n?Ed(e,n):K(e)}function S(...e){let n=_t(e);return z(e,n)}function Sa(e,n){let t=T(e)?e:()=>e,r=o=>o.error(t());return new R(n?o=>n.schedule(r,0,o):r)}function Xo(e){return!!e&&(e instanceof R||T(e.lift)&&T(e.subscribe))}var Zt=_n(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function U(e,n){return k((t,r)=>{let o=0;t.subscribe(L(r,i=>{r.next(e.call(n,i,o++))}))})}var{isArray:ny}=Array;function ry(e,n){return ny(n)?e(...n):e(n)}function Id(e){return U(n=>ry(e,n))}var{isArray:oy}=Array,{getPrototypeOf:iy,prototype:sy,keys:ay}=Object;function Cd(e){if(e.length===1){let n=e[0];if(oy(n))return{args:n,keys:null};if(cy(n)){let t=ay(n);return{args:t.map(r=>n[r]),keys:t}}}return{args:e,keys:null}}function cy(e){return e&&typeof e=="object"&&iy(e)===sy}function wd(e,n){return e.reduce((t,r,o)=>(t[r]=n[o],t),{})}function ei(...e){let n=_t(e),t=ud(e),{args:r,keys:o}=Cd(e);if(r.length===0)return z([],n);let i=new R(uy(r,n,o?s=>wd(o,s):Oe));return t?i.pipe(Id(t)):i}function uy(e,n,t=Oe){return r=>{bd(n,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)bd(n,()=>{let u=z(e[c],n),l=!1;u.subscribe(L(r,d=>{i[c]=d,l||(l=!0,a--),a||r.next(t(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function bd(e,n,t){e?de(t,e,n):n()}function Td(e,n,t,r,o,i,s,a){let c=[],u=0,l=0,d=!1,p=()=>{d&&!c.length&&!u&&n.complete()},f=w=>u<r?C(w):c.push(w),C=w=>{i&&n.next(w),u++;let E=!1;K(t(w,l++)).subscribe(L(n,I=>{o?.(I),i?f(I):n.next(I)},()=>{E=!0},void 0,()=>{if(E)try{for(u--;c.length&&u<r;){let I=c.shift();s?de(n,s,()=>C(I)):C(I)}p()}catch(I){n.error(I)}}))};return e.subscribe(L(n,f,()=>{d=!0,p()})),()=>{a?.()}}function te(e,n,t=1/0){return T(n)?te((r,o)=>U((i,s)=>n(r,i,o,s))(K(e(r,o))),t):(typeof n=="number"&&(t=n),k((r,o)=>Td(r,o,e,t)))}function xn(e=1/0){return te(Oe,e)}function Sd(){return xn(1)}function On(...e){return Sd()(z(e,_t(e)))}function br(e){return new R(n=>{K(e()).subscribe(n)})}function me(e,n){return k((t,r)=>{let o=0;t.subscribe(L(r,i=>e.call(n,i,o++)&&r.next(i)))})}function kn(e){return k((n,t)=>{let r=null,o=!1,i;r=n.subscribe(L(t,void 0,void 0,s=>{i=K(e(s,kn(e)(n))),r?(r.unsubscribe(),r=null,i.subscribe(t)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(t))})}function Mt(e,n){return T(n)?te(e,n,1):te(e,1)}function _d(e){return k((n,t)=>{let r=!1;n.subscribe(L(t,o=>{r=!0,t.next(o)},()=>{r||t.next(e),t.complete()}))})}function st(e){return e<=0?()=>ee:k((n,t)=>{let r=0;n.subscribe(L(t,o=>{++r<=e&&(t.next(o),e<=r&&t.complete())}))})}function Md(e=ly){return k((n,t)=>{let r=!1;n.subscribe(L(t,o=>{r=!0,t.next(o)},()=>r?t.complete():t.error(e())))})}function ly(){return new Zt}function Pn(e){return k((n,t)=>{try{n.subscribe(t)}finally{t.add(e)}})}function at(e,n){let t=arguments.length>=2;return r=>r.pipe(e?me((o,i)=>e(o,i,r)):Oe,st(1),t?_d(n):Md(()=>new Zt))}function ti(e){return e<=0?()=>ee:k((n,t)=>{let r=[];n.subscribe(L(t,o=>{r.push(o),e<r.length&&r.shift()},()=>{for(let o of r)t.next(o);t.complete()},void 0,()=>{r=null}))})}function _a(...e){let n=_t(e);return k((t,r)=>{(n?On(e,t,n):On(e,t)).subscribe(r)})}function Ce(e,n){return k((t,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();t.subscribe(L(r,c=>{o?.unsubscribe();let u=0,l=i++;K(e(c,l)).subscribe(o=L(r,d=>r.next(n?n(c,d,l,u++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Tr(e){return k((n,t)=>{K(e).subscribe(L(t,()=>t.complete(),wr)),!t.closed&&n.subscribe(t)})}function We(e,n,t){let r=T(e)||n||t?{next:e,error:n,complete:t}:e;return r?k((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(L(i,c=>{var u;(u=r.next)===null||u===void 0||u.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var u;a=!1,(u=r.error)===null||u===void 0||u.call(r,c),i.error(c)},()=>{var c,u;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(u=r.finalize)===null||u===void 0||u.call(r)}))}):Oe}var Ma;function ni(){return Ma}function qe(e){let n=Ma;return Ma=e,n}var Nd=Symbol("NotFound");function Fn(e){return e===Nd||e?.name==="\u0275NotFound"}var ci="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",y=class extends Error{code;constructor(n,t){super(dt(n,t)),this.code=n}};function py(e){return`NG0${Math.abs(e)}`}function dt(e,n){return`${py(e)}${n?": "+n:""}`}var se=globalThis;function P(e){for(let n in e)if(e[n]===P)return n;throw Error("")}function ut(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(ut).join(", ")}]`;if(e==null)return""+e;let n=e.overriddenName||e.name;if(n)return`${n}`;let t=e.toString();if(t==null)return""+t;let r=t.indexOf(`
`);return r>=0?t.slice(0,r):t}function $a(e,n){return e?n?`${e} ${n}`:e:n||""}var gy=P({__forward_ref__:P});function ui(e){return e.__forward_ref__=ui,e.toString=function(){return ut(this())},e}function fe(e){return za(e)?e():e}function za(e){return typeof e=="function"&&e.hasOwnProperty(gy)&&e.__forward_ref__===ui}function m(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function ke(e){return{providers:e.providers||[],imports:e.imports||[]}}function Ar(e){return my(e,li)}function Ga(e){return Ar(e)!==null}function my(e,n){return e.hasOwnProperty(n)&&e[n]||null}function yy(e){let n=e?.[li]??null;return n||null}function Ra(e){return e&&e.hasOwnProperty(oi)?e[oi]:null}var li=P({\u0275prov:P}),oi=P({\u0275inj:P}),v=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(n,t){this._desc=n,this.\u0275prov=void 0,typeof t=="number"?this.__NG_ELEMENT_ID__=t:t!==void 0&&(this.\u0275prov=m({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Wa(e){return e&&!!e.\u0275providers}var qa=P({\u0275cmp:P}),Za=P({\u0275dir:P}),Ya=P({\u0275pipe:P}),Qa=P({\u0275mod:P}),_r=P({\u0275fac:P}),Xt=P({__NG_ELEMENT_ID__:P}),Rd=P({__NG_ENV_ID__:P});function Ka(e){return di(e,"@NgModule"),e[Qa]||null}function ft(e){return di(e,"@Component"),e[qa]||null}function Ja(e){return di(e,"@Directive"),e[Za]||null}function kd(e){return di(e,"@Pipe"),e[Ya]||null}function di(e,n){if(e==null)throw new y(-919,!1)}function Xa(e){return typeof e=="string"?e:e==null?"":String(e)}var Pd=P({ngErrorCode:P}),vy=P({ngErrorMessage:P}),Dy=P({ngTokenPath:P});function ec(e,n){return Fd("",-200,n)}function fi(e,n){throw new y(-201,!1)}function Fd(e,n,t){let r=new y(n,e);return r[Pd]=n,r[vy]=e,t&&(r[Dy]=t),r}function Ey(e){return e[Pd]}var Aa;function Ld(){return Aa}function ye(e){let n=Aa;return Aa=e,n}function tc(e,n,t){let r=Ar(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(t&8)return null;if(n!==void 0)return n;fi(e,"")}var Iy={},Yt=Iy,Cy="__NG_DI_FLAG__",xa=class{injector;constructor(n){this.injector=n}retrieve(n,t){let r=Qt(t)||0;try{return this.injector.get(n,r&8?null:Yt,r)}catch(o){if(Fn(o))return o;throw o}}};function wy(e,n=0){let t=ni();if(t===void 0)throw new y(-203,!1);if(t===null)return tc(e,void 0,n);{let r=by(n),o=t.retrieve(e,r);if(Fn(o)){if(r.optional)return null;throw o}return o}}function D(e,n=0){return(Ld()||wy)(fe(e),n)}function h(e,n){return D(e,Qt(n))}function Qt(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function by(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function Oa(e){let n=[];for(let t=0;t<e.length;t++){let r=fe(e[t]);if(Array.isArray(r)){if(r.length===0)throw new y(900,!1);let o,i=0;for(let s=0;s<r.length;s++){let a=r[s],c=Ty(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}n.push(D(o,i))}else n.push(D(r))}return n}function Ty(e){return e[Cy]}function Kt(e,n){let t=e.hasOwnProperty(_r);return t?e[_r]:null}function hi(e,n){e.forEach(t=>Array.isArray(t)?hi(t,n):n(t))}function nc(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function xr(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function jd(e,n){let t=[];for(let r=0;r<e;r++)t.push(n);return t}function Bd(e,n,t,r){let o=e.length;if(o==n)e.push(t,r);else if(o===1)e.push(r,e[0]),e[0]=t;else{for(o--,e.push(e[o-1],e[o]);o>n;){let i=o-2;e[o]=e[i],o--}e[n]=t,e[n+1]=r}}function Ud(e,n,t){let r=jn(e,n);return r>=0?e[r|1]=t:(r=~r,Bd(e,r,n,t)),r}function pi(e,n){let t=jn(e,n);if(t>=0)return e[t|1]}function jn(e,n){return Sy(e,n,1)}function Sy(e,n,t){let r=0,o=e.length>>t;for(;o!==r;){let i=r+(o-r>>1),s=e[i<<t];if(n===s)return i<<t;s>n?o=i:r=i+1}return~(o<<t)}var en={},we=[],ht=new v(""),rc=new v("",-1),oc=new v(""),Mr=class{get(n,t=Yt){if(t===Yt){let o=Fd("",-201);throw o.name="\u0275NotFound",o}return t}};function Rt(e){return{\u0275providers:e}}function Vd(...e){return{\u0275providers:ic(!0,e),\u0275fromNgModule:!0}}function ic(e,...n){let t=[],r=new Set,o,i=s=>{t.push(s)};return hi(n,s=>{let a=s;ii(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Hd(o,i),t}function Hd(e,n){for(let t=0;t<e.length;t++){let{ngModule:r,providers:o}=e[t];sc(o,i=>{n(i,r)})}}function ii(e,n,t,r){if(e=fe(e),!e)return!1;let o=null,i=Ra(e),s=!i&&ft(e);if(!i&&!s){let c=e.ngModule;if(i=Ra(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let u of c)ii(u,n,t,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let u;hi(i.imports,l=>{ii(l,n,t,r)&&(u||=[],u.push(l))}),u!==void 0&&Hd(u,n)}if(!a){let u=Kt(o)||(()=>new o);n({provide:o,useFactory:u,deps:we},o),n({provide:oc,useValue:o,multi:!0},o),n({provide:ht,useValue:()=>D(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let u=e;sc(c,l=>{n(l,u)})}}else return!1;return o!==e&&e.providers!==void 0}function sc(e,n){for(let t of e)Wa(t)&&(t=t.\u0275providers),Array.isArray(t)?sc(t,n):n(t)}var _y=P({provide:String,useValue:P});function $d(e){return e!==null&&typeof e=="object"&&_y in e}function My(e){return!!(e&&e.useExisting)}function Ny(e){return!!(e&&e.useFactory)}function si(e){return typeof e=="function"}var Or=new v(""),ri={},Ad={},Na;function kr(){return Na===void 0&&(Na=new Mr),Na}var H=class{},Jt=class extends H{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(n,t,r,o){super(),this.parent=t,this.source=r,this.scopes=o,Pa(n,s=>this.processProvider(s)),this.records.set(rc,Ln(void 0,this)),o.has("environment")&&this.records.set(H,Ln(void 0,this));let i=this.records.get(Or);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(oc,we,{self:!0}))}retrieve(n,t){let r=Qt(t)||0;try{return this.get(n,Yt,r)}catch(o){if(Fn(o))return o;throw o}}destroy(){Sr(this),this._destroyed=!0;let n=M(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let t=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of t)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),M(n)}}onDestroy(n){return Sr(this),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){Sr(this);let t=qe(this),r=ye(void 0),o;try{return n()}finally{qe(t),ye(r)}}get(n,t=Yt,r){if(Sr(this),n.hasOwnProperty(Rd))return n[Rd](this);let o=Qt(r),i,s=qe(this),a=ye(void 0);try{if(!(o&4)){let u=this.records.get(n);if(u===void 0){let l=ky(n)&&Ar(n);l&&this.injectableDefInScope(l)?u=Ln(ka(n),ri):u=null,this.records.set(n,u)}if(u!=null)return this.hydrate(n,u,o)}let c=o&2?kr():this.parent;return t=o&8&&t===Yt?null:t,c.get(n,t)}catch(c){let u=Ey(c);throw u===-200||u===-201?new y(u,null):c}finally{ye(a),qe(s)}}resolveInjectorInitializers(){let n=M(null),t=qe(this),r=ye(void 0),o;try{let i=this.get(ht,we,{self:!0});for(let s of i)s()}finally{qe(t),ye(r),M(n)}}toString(){let n=[],t=this.records;for(let r of t.keys())n.push(ut(r));return`R3Injector[${n.join(", ")}]`}processProvider(n){n=fe(n);let t=si(n)?n:fe(n&&n.provide),r=Ay(n);if(!si(n)&&n.multi===!0){let o=this.records.get(t);o||(o=Ln(void 0,ri,!0),o.factory=()=>Oa(o.multi),this.records.set(t,o)),t=n,o.multi.push(n)}this.records.set(t,r)}hydrate(n,t,r){let o=M(null);try{if(t.value===Ad)throw ec(ut(n));return t.value===ri&&(t.value=Ad,t.value=t.factory(void 0,r)),typeof t.value=="object"&&t.value&&Oy(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}finally{M(o)}}injectableDefInScope(n){if(!n.providedIn)return!1;let t=fe(n.providedIn);return typeof t=="string"?t==="any"||this.scopes.has(t):this.injectorDefTypes.has(t)}removeOnDestroy(n){let t=this._onDestroyHooks.indexOf(n);t!==-1&&this._onDestroyHooks.splice(t,1)}};function ka(e){let n=Ar(e),t=n!==null?n.factory:Kt(e);if(t!==null)return t;if(e instanceof v)throw new y(204,!1);if(e instanceof Function)return Ry(e);throw new y(204,!1)}function Ry(e){if(e.length>0)throw new y(204,!1);let t=yy(e);return t!==null?()=>t.factory(e):()=>new e}function Ay(e){if($d(e))return Ln(void 0,e.useValue);{let n=zd(e);return Ln(n,ri)}}function zd(e,n,t){let r;if(si(e)){let o=fe(e);return Kt(o)||ka(o)}else if($d(e))r=()=>fe(e.useValue);else if(Ny(e))r=()=>e.useFactory(...Oa(e.deps||[]));else if(My(e))r=(o,i)=>D(fe(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=fe(e&&(e.useClass||e.provide));if(xy(e))r=()=>new o(...Oa(e.deps));else return Kt(o)||ka(o)}return r}function Sr(e){if(e.destroyed)throw new y(205,!1)}function Ln(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function xy(e){return!!e.deps}function Oy(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function ky(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function Pa(e,n){for(let t of e)Array.isArray(t)?Pa(t,n):t&&Wa(t)?Pa(t.\u0275providers,n):n(t)}function q(e,n){let t;e instanceof Jt?(Sr(e),t=e):t=new xa(e);let r,o=qe(t),i=ye(void 0);try{return n()}finally{qe(o),ye(i)}}function ac(){return Ld()!==void 0||ni()!=null}var Pe=0,N=1,_=2,ne=3,be=4,ue=5,Bn=6,Un=7,he=8,At=9,Ye=10,Z=11,Vn=12,cc=13,Hn=14,pe=15,tn=16,nn=17,rn=18,xt=19,uc=20,ct=21,gi=22,Pr=23,ve=24,on=25,Fr=26,le=27,Gd=1;var Ot=7,Lr=8,jr=9,ge=10;function Qe(e){return Array.isArray(e)&&typeof e[Gd]=="object"}function Fe(e){return Array.isArray(e)&&e[Gd]===!0}function lc(e){return(e.flags&4)!==0}function sn(e){return e.componentOffset>-1}function mi(e){return(e.flags&1)===1}function an(e){return!!e.template}function $n(e){return(e[_]&512)!==0}function cn(e){return(e[_]&256)===256}var Wd="svg",qd="math";function Te(e){for(;Array.isArray(e);)e=e[Pe];return e}function Zd(e,n){return Te(n[e])}function Ke(e,n){return Te(n[e.index])}function yi(e,n){return e.data[n]}function Le(e,n){let t=n[e];return Qe(t)?t:t[Pe]}function vi(e){return(e[_]&128)===128}function Yd(e){return Fe(e[ne])}function Di(e,n){return n==null?null:e[n]}function dc(e){e[nn]=0}function fc(e){e[_]&1024||(e[_]|=1024,vi(e)&&zn(e))}function Br(e){return!!(e[_]&9216||e[ve]?.dirty)}function Ei(e){e[Ye].changeDetectionScheduler?.notify(8),e[_]&64&&(e[_]|=1024),Br(e)&&zn(e)}function zn(e){e[Ye].changeDetectionScheduler?.notify(0);let n=Nt(e);for(;n!==null&&!(n[_]&8192||(n[_]|=8192,!vi(n)));)n=Nt(n)}function hc(e,n){if(cn(e))throw new y(911,!1);e[ct]===null&&(e[ct]=[]),e[ct].push(n)}function Qd(e,n){if(e[ct]===null)return;let t=e[ct].indexOf(n);t!==-1&&e[ct].splice(t,1)}function Nt(e){let n=e[ne];return Fe(n)?n[ne]:n}function Kd(e){return e[Un]??=[]}function Jd(e){return e.cleanup??=[]}var A={lFrame:gf(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Fa=!1;function Xd(){return A.lFrame.elementDepthCount}function ef(){A.lFrame.elementDepthCount++}function tf(){A.lFrame.elementDepthCount--}function nf(){return A.bindingsEnabled}function pc(){return A.skipHydrationRootTNode!==null}function rf(e){return A.skipHydrationRootTNode===e}function of(){A.skipHydrationRootTNode=null}function G(){return A.lFrame.lView}function un(){return A.lFrame.tView}function Se(){let e=gc();for(;e!==null&&e.type===64;)e=e.parent;return e}function gc(){return A.lFrame.currentTNode}function sf(){let e=A.lFrame,n=e.currentTNode;return e.isParent?n:n.parent}function Gn(e,n){let t=A.lFrame;t.currentTNode=e,t.isParent=n}function mc(){return A.lFrame.isParent}function yc(){A.lFrame.isParent=!1}function vc(){return Fa}function Dc(e){let n=Fa;return Fa=e,n}function af(e){return A.lFrame.bindingIndex=e}function cf(){return A.lFrame.bindingIndex++}function uf(e){let n=A.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function lf(){return A.lFrame.inI18n}function df(e,n){let t=A.lFrame;t.bindingIndex=t.bindingRootIndex=e,Ii(n)}function ff(){return A.lFrame.currentDirectiveIndex}function Ii(e){A.lFrame.currentDirectiveIndex=e}function hf(e){let n=A.lFrame.currentDirectiveIndex;return n===-1?null:e[n]}function Ec(e){A.lFrame.currentQueryIndex=e}function Py(e){let n=e[N];return n.type===2?n.declTNode:n.type===1?e[ue]:null}function Ic(e,n,t){if(t&4){let o=n,i=e;for(;o=o.parent,o===null&&!(t&1);)if(o=Py(i),o===null||(i=i[Hn],o.type&10))break;if(o===null)return!1;n=o,e=i}let r=A.lFrame=pf();return r.currentTNode=n,r.lView=e,!0}function Ci(e){let n=pf(),t=e[N];A.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function pf(){let e=A.lFrame,n=e===null?null:e.child;return n===null?gf(e):n}function gf(e){let n={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return e!==null&&(e.child=n),n}function mf(){let e=A.lFrame;return A.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Cc=mf;function wi(){let e=mf();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Ur(){return A.lFrame.selectedIndex}function kt(e){A.lFrame.selectedIndex=e}function yf(){let e=A.lFrame;return yi(e.tView,e.selectedIndex)}function vf(){return A.lFrame.currentNamespace}var Df=!0;function bi(){return Df}function Ti(e){Df=e}function La(e,n=null,t=null,r){let o=wc(e,n,t,r);return o.resolveInjectorInitializers(),o}function wc(e,n=null,t=null,r,o=new Set){let i=[t||we,Vd(e)];return r=r||(typeof e=="object"?void 0:ut(e)),new Jt(i,n||kr(),r||null,o)}var re=class e{static THROW_IF_NOT_FOUND=Yt;static NULL=new Mr;static create(n,t){if(Array.isArray(n))return La({name:""},t,n,"");{let r=n.name??"";return La({name:r},n.parent,n.providers,r)}}static \u0275prov=m({token:e,providedIn:"any",factory:()=>D(rc)});static __NG_ELEMENT_ID__=-1},$=new v(""),_e=(()=>{class e{static __NG_ELEMENT_ID__=Fy;static __NG_ENV_ID__=t=>t}return e})(),ja=class extends _e{_lView;constructor(n){super(),this._lView=n}get destroyed(){return cn(this._lView)}onDestroy(n){let t=this._lView;return hc(t,n),()=>Qd(t,n)}};function Fy(){return new ja(G())}var bc=!1,Ef=new v(""),Je=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new X(!1);debugTaskTracker=h(Ef,{optional:!0});get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new R(t=>{t.next(!1),t.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let t=this.taskId++;return this.pendingTasks.add(t),this.debugTaskTracker?.add(t),t}has(t){return this.pendingTasks.has(t)}remove(t){this.pendingTasks.delete(t),this.debugTaskTracker?.remove(t),this.pendingTasks.size===0&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=m({token:e,providedIn:"root",factory:()=>new e})}return e})(),Ba=class extends J{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(n=!1){super(),this.__isAsync=n,ac()&&(this.destroyRef=h(_e,{optional:!0})??void 0,this.pendingTasks=h(Je,{optional:!0})??void 0)}emit(n){let t=M(null);try{super.next(n)}finally{M(t)}}subscribe(n,t,r){let o=n,i=t||(()=>null),s=r;if(n&&typeof n=="object"){let c=n;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return n instanceof W&&n.add(a),a}wrapInTimeout(n){return t=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{n(t)}finally{r!==void 0&&this.pendingTasks?.remove(r)}})}}},ce=Ba;function ai(...e){}function Tc(e){let n,t;function r(){e=ai;try{t!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(t),n!==void 0&&clearTimeout(n)}catch(o){}}return n=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(t=requestAnimationFrame(()=>{e(),r()})),()=>r()}function If(e){return queueMicrotask(()=>e()),()=>{e=ai}}var Sc="isAngularZone",Nr=Sc+"_ID",Ly=0,V=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new ce(!1);onMicrotaskEmpty=new ce(!1);onStable=new ce(!1);onError=new ce(!1);constructor(n){let{enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=bc}=n;if(typeof Zone>"u")throw new y(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,Uy(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Sc)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new y(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new y(909,!1)}run(n,t,r){return this._inner.run(n,t,r)}runTask(n,t,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,n,jy,ai,ai);try{return i.runTask(s,t,r)}finally{i.cancelTask(s)}}runGuarded(n,t,r){return this._inner.runGuarded(n,t,r)}runOutsideAngular(n){return this._outer.run(n)}},jy={};function _c(e){if(e._nesting==0&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function By(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function n(){Tc(()=>{e.callbackScheduled=!1,Ua(e),e.isCheckStableRunning=!0,_c(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{n()}):e._outer.run(()=>{n()}),Ua(e)}function Uy(e){let n=()=>{By(e)},t=Ly++;e._inner=e._inner.fork({name:"angular",properties:{[Sc]:!0,[Nr]:t,[Nr+t]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(Vy(c))return r.invokeTask(i,s,a,c);try{return xd(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&n(),Od(e)}},onInvoke:(r,o,i,s,a,c,u)=>{try{return xd(e),r.invoke(i,s,a,c,u)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!Hy(c)&&n(),Od(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Ua(e),_c(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,o,i,s)=>(r.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function Ua(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function xd(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Od(e){e._nesting--,_c(e)}var Rr=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new ce;onMicrotaskEmpty=new ce;onStable=new ce;onError=new ce;run(n,t,r){return n.apply(t,r)}runGuarded(n,t,r){return n.apply(t,r)}runOutsideAngular(n){return n()}runTask(n,t,r,o){return n.apply(t,r)}};function Vy(e){return Cf(e,"__ignore_ng_zone__")}function Hy(e){return Cf(e,"__scheduler_tick__")}function Cf(e,n){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[n]===!0}var Ze=class{_console=console;handleError(n){this._console.error("ERROR",n)}},Me=new v("",{factory:()=>{let e=h(V),n=h(H),t;return r=>{e.runOutsideAngular(()=>{n.destroyed&&!t?setTimeout(()=>{throw r}):(t??=n.get(Ze),t.handleError(r))})}}}),wf={provide:ht,useValue:()=>{let e=h(Ze,{optional:!0})},multi:!0};function ln(e,n){let[t,r,o]=ma(e,n?.equal),i=t,s=i[Ie];return i.set=r,i.update=o,i.asReadonly=bf.bind(i),i}function bf(){let e=this[Ie];if(e.readonlyFn===void 0){let n=()=>this();n[Ie]=e,e.readonlyFn=n}return e.readonlyFn}var Si=(()=>{class e{view;node;constructor(t,r){this.view=t,this.node=r}static __NG_ELEMENT_ID__=$y}return e})();function $y(){return new Si(G(),Se())}var lt=class{},Wn=new v("",{factory:()=>!0});var _i=new v(""),Vr=(()=>{class e{internalPendingTasks=h(Je);scheduler=h(lt);errorHandler=h(Me);add(){let t=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(t)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(t))}}run(t){let r=this.add();t().catch(this.errorHandler).finally(r)}static \u0275prov=m({token:e,providedIn:"root",factory:()=>new e})}return e})(),Mc=(()=>{class e{static \u0275prov=m({token:e,providedIn:"root",factory:()=>new Va})}return e})(),Va=class{dirtyEffectCount=0;queues=new Map;add(n){this.enqueue(n),this.schedule(n)}schedule(n){n.dirty&&this.dirtyEffectCount++}remove(n){let t=n.zone,r=this.queues.get(t);r.has(n)&&(r.delete(n),n.dirty&&this.dirtyEffectCount--)}enqueue(n){let t=n.zone;this.queues.has(t)||this.queues.set(t,new Set);let r=this.queues.get(t);r.has(n)||r.add(n)}flush(){for(;this.dirtyEffectCount>0;){let n=!1;for(let[t,r]of this.queues)t===null?n||=this.flushQueue(r):n||=t.run(()=>this.flushQueue(r));n||(this.dirtyEffectCount=0)}}flushQueue(n){let t=!1;for(let r of n)r.dirty&&(this.dirtyEffectCount--,t=!0,r.run());return t}},Ha=class{[Ie];constructor(n){this[Ie]=n}destroy(){this[Ie].destroy()}};function je(e){return ya(e)}function Yr(e){return{toString:e}.toString()}function nh(e){let n=se.ng;if(n&&n.\u0275compilerFacade)return n.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}function ev(e){return typeof e=="function"}function rh(e,n,t,r){n!==null?n.applyValueToInputSignal(n,r):e[t]=r}var Fi=class{previousValue;currentValue;firstChange;constructor(n,t,r){this.previousValue=n,this.currentValue=t,this.firstChange=r}isFirstChange(){return this.firstChange}},Pt=(()=>{let e=()=>oh;return e.ngInherit=!0,e})();function oh(e){return e.type.prototype.ngOnChanges&&(e.setInput=nv),tv}function tv(){let e=sh(this),n=e?.current;if(n){let t=e.previous;if(t===en)e.previous=n;else for(let r in n)t[r]=n[r];e.current=null,this.ngOnChanges(n)}}function nv(e,n,t,r,o){let i=this.declaredInputs[r],s=sh(e)||rv(e,{previous:en,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[i];a[i]=new Fi(u&&u.currentValue,t,c===en),rh(e,n,o,t)}var ih="__ngSimpleChanges__";function sh(e){return e[ih]||null}function rv(e,n){return e[ih]=n}var Tf=[];var j=function(e,n=null,t){for(let r=0;r<Tf.length;r++){let o=Tf[r];o(e,n,t)}},x=(function(e){return e[e.TemplateCreateStart=0]="TemplateCreateStart",e[e.TemplateCreateEnd=1]="TemplateCreateEnd",e[e.TemplateUpdateStart=2]="TemplateUpdateStart",e[e.TemplateUpdateEnd=3]="TemplateUpdateEnd",e[e.LifecycleHookStart=4]="LifecycleHookStart",e[e.LifecycleHookEnd=5]="LifecycleHookEnd",e[e.OutputStart=6]="OutputStart",e[e.OutputEnd=7]="OutputEnd",e[e.BootstrapApplicationStart=8]="BootstrapApplicationStart",e[e.BootstrapApplicationEnd=9]="BootstrapApplicationEnd",e[e.BootstrapComponentStart=10]="BootstrapComponentStart",e[e.BootstrapComponentEnd=11]="BootstrapComponentEnd",e[e.ChangeDetectionStart=12]="ChangeDetectionStart",e[e.ChangeDetectionEnd=13]="ChangeDetectionEnd",e[e.ChangeDetectionSyncStart=14]="ChangeDetectionSyncStart",e[e.ChangeDetectionSyncEnd=15]="ChangeDetectionSyncEnd",e[e.AfterRenderHooksStart=16]="AfterRenderHooksStart",e[e.AfterRenderHooksEnd=17]="AfterRenderHooksEnd",e[e.ComponentStart=18]="ComponentStart",e[e.ComponentEnd=19]="ComponentEnd",e[e.DeferBlockStateStart=20]="DeferBlockStateStart",e[e.DeferBlockStateEnd=21]="DeferBlockStateEnd",e[e.DynamicComponentStart=22]="DynamicComponentStart",e[e.DynamicComponentEnd=23]="DynamicComponentEnd",e[e.HostBindingsUpdateStart=24]="HostBindingsUpdateStart",e[e.HostBindingsUpdateEnd=25]="HostBindingsUpdateEnd",e})(x||{});function ov(e,n,t){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=n.type.prototype;if(r){let s=oh(n);(t.preOrderHooks??=[]).push(e,s),(t.preOrderCheckHooks??=[]).push(e,s)}o&&(t.preOrderHooks??=[]).push(0-e,o),i&&((t.preOrderHooks??=[]).push(e,i),(t.preOrderCheckHooks??=[]).push(e,i))}function iv(e,n){for(let t=n.directiveStart,r=n.directiveEnd;t<r;t++){let i=e.data[t].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:u,ngOnDestroy:l}=i;s&&(e.contentHooks??=[]).push(-t,s),a&&((e.contentHooks??=[]).push(t,a),(e.contentCheckHooks??=[]).push(t,a)),c&&(e.viewHooks??=[]).push(-t,c),u&&((e.viewHooks??=[]).push(t,u),(e.viewCheckHooks??=[]).push(t,u)),l!=null&&(e.destroyHooks??=[]).push(t,l)}}function Oi(e,n,t){ah(e,n,3,t)}function ki(e,n,t,r){(e[_]&3)===t&&ah(e,n,t,r)}function Nc(e,n){let t=e[_];(t&3)===n&&(t&=16383,t+=1,e[_]=t)}function ah(e,n,t,r){let o=r!==void 0?e[nn]&65535:0,i=r??-1,s=n.length-1,a=0;for(let c=o;c<s;c++)if(typeof n[c+1]=="number"){if(a=n[c],r!=null&&a>=r)break}else n[c]<0&&(e[nn]+=65536),(a<i||i==-1)&&(sv(e,t,n,c),e[nn]=(e[nn]&4294901760)+c+2),c++}function Sf(e,n){j(x.LifecycleHookStart,e,n);let t=M(null);try{n.call(e)}finally{M(t),j(x.LifecycleHookEnd,e,n)}}function sv(e,n,t,r){let o=t[r]<0,i=t[r+1],s=o?-t[r]:t[r],a=e[s];o?e[_]>>14<e[nn]>>16&&(e[_]&3)===n&&(e[_]+=16384,Sf(a,i)):Sf(a,i)}var Zn=-1,zr=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(n,t,r,o){this.factory=n,this.name=o,this.canSeeViewProviders=t,this.injectImpl=r}};function av(e){return(e.flags&8)!==0}function cv(e){return(e.flags&16)!==0}function uv(e,n,t){let r=0;for(;r<t.length;){let o=t[r];if(typeof o=="number"){if(o!==0)break;r++;let i=t[r++],s=t[r++],a=t[r++];e.setAttribute(n,s,a,i)}else{let i=o,s=t[++r];lv(i)?e.setProperty(n,i,s):e.setAttribute(n,i,s),r++}}return r}function ch(e){return e===3||e===4||e===6}function lv(e){return e.charCodeAt(0)===64}function au(e,n){if(!(n===null||n.length===0))if(e===null||e.length===0)e=n.slice();else{let t=-1;for(let r=0;r<n.length;r++){let o=n[r];typeof o=="number"?t=o:t===0||(t===-1||t===2?_f(e,t,o,null,n[++r]):_f(e,t,o,null,null))}}return e}function _f(e,n,t,r,o){let i=0,s=e.length;if(n===-1)s=-1;else for(;i<e.length;){let a=e[i++];if(typeof a=="number"){if(a===n){s=-1;break}else if(a>n){s=i-1;break}}}for(;i<e.length;){let a=e[i];if(typeof a=="number")break;if(a===t){o!==null&&(e[i+1]=o);return}i++,o!==null&&i++}s!==-1&&(e.splice(s,0,n),i=s+1),e.splice(i++,0,t),o!==null&&e.splice(i++,0,o)}function uh(e){return e!==Zn}function Li(e){return e&32767}function dv(e){return e>>16}function ji(e,n){let t=dv(e),r=n;for(;t>0;)r=r[Hn],t--;return r}var Fc=!0;function Mf(e){let n=Fc;return Fc=e,n}var fv=256,lh=fv-1,dh=5,hv=0,Xe={};function pv(e,n,t){let r;typeof t=="string"?r=t.charCodeAt(0)||0:t.hasOwnProperty(Xt)&&(r=t[Xt]),r==null&&(r=t[Xt]=hv++);let o=r&lh,i=1<<o;n.data[e+(o>>dh)]|=i}function fh(e,n){let t=hh(e,n);if(t!==-1)return t;let r=n[N];r.firstCreatePass&&(e.injectorIndex=n.length,Rc(r.data,e),Rc(n,null),Rc(r.blueprint,null));let o=cu(e,n),i=e.injectorIndex;if(uh(o)){let s=Li(o),a=ji(o,n),c=a[N].data;for(let u=0;u<8;u++)n[i+u]=a[s+u]|c[s+u]}return n[i+8]=o,i}function Rc(e,n){e.push(0,0,0,0,0,0,0,0,n)}function hh(e,n){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||n[e.injectorIndex+8]===null?-1:e.injectorIndex}function cu(e,n){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let t=0,r=null,o=n;for(;o!==null;){if(r=vh(o),r===null)return Zn;if(t++,o=o[Hn],r.injectorIndex!==-1)return r.injectorIndex|t<<16}return Zn}function gv(e,n,t){pv(e,n,t)}function mv(e,n){if(n==="class")return e.classes;if(n==="style")return e.styles;let t=e.attrs;if(t){let r=t.length,o=0;for(;o<r;){let i=t[o];if(ch(i))break;if(i===0)o=o+2;else if(typeof i=="number")for(o++;o<r&&typeof t[o]=="string";)o++;else{if(i===n)return t[o+1];o=o+2}}}return null}function ph(e,n,t){if(t&8||e!==void 0)return e;fi(n,"NodeInjector")}function gh(e,n,t,r){if(t&8&&r===void 0&&(r=null),(t&3)===0){let o=e[At],i=ye(void 0);try{return o?o.get(n,r,t&8):tc(n,r,t&8)}finally{ye(i)}}return ph(r,n,t)}function mh(e,n,t,r=0,o){if(e!==null){if(n[_]&2048&&!(r&2)){let s=Iv(e,n,t,r,Xe);if(s!==Xe)return s}let i=yh(e,n,t,r,Xe);if(i!==Xe)return i}return gh(n,t,r,o)}function yh(e,n,t,r,o){let i=Dv(t);if(typeof i=="function"){if(!Ic(n,e,r))return r&1?ph(o,t,r):gh(n,t,r,o);try{let s;if(s=i(r),s==null&&!(r&8))fi(t);else return s}finally{Cc()}}else if(typeof i=="number"){let s=null,a=hh(e,n),c=Zn,u=r&1?n[pe][ue]:null;for((a===-1||r&4)&&(c=a===-1?cu(e,n):n[a+8],c===Zn||!Rf(r,!1)?a=-1:(s=n[N],a=Li(c),n=ji(c,n)));a!==-1;){let l=n[N];if(Nf(i,a,l.data)){let d=yv(a,n,t,s,r,u);if(d!==Xe)return d}c=n[a+8],c!==Zn&&Rf(r,n[N].data[a+8]===u)&&Nf(i,a,n)?(s=l,a=Li(c),n=ji(c,n)):a=-1}}return o}function yv(e,n,t,r,o,i){let s=n[N],a=s.data[e+8],c=r==null?sn(a)&&Fc:r!=s&&(a.type&3)!==0,u=o&1&&i===a,l=vv(a,s,t,c,u);return l!==null?Lc(n,s,l,a,o):Xe}function vv(e,n,t,r,o){let i=e.providerIndexes,s=n.data,a=i&1048575,c=e.directiveStart,u=e.directiveEnd,l=i>>20,d=r?a:a+l,p=o?a+l:u;for(let f=d;f<p;f++){let C=s[f];if(f<c&&t===C||f>=c&&C.type===t)return f}if(o){let f=s[c];if(f&&an(f)&&f.type===t)return c}return null}function Lc(e,n,t,r,o){let i=e[t],s=n.data;if(i instanceof zr){let a=i;if(a.resolving)throw ec("");let c=Mf(a.canSeeViewProviders);a.resolving=!0;let u=s[t].type||s[t],l,d=a.injectImpl?ye(a.injectImpl):null,p=Ic(e,r,0);try{i=e[t]=a.factory(void 0,o,s,e,r),n.firstCreatePass&&t>=r.directiveStart&&ov(t,s[t],n)}finally{d!==null&&ye(d),Mf(c),a.resolving=!1,Cc()}}return i}function Dv(e){if(typeof e=="string")return e.charCodeAt(0)||0;let n=e.hasOwnProperty(Xt)?e[Xt]:void 0;return typeof n=="number"?n>=0?n&lh:Ev:n}function Nf(e,n,t){let r=1<<e;return!!(t[n+(e>>dh)]&r)}function Rf(e,n){return!(e&2)&&!(e&1&&n)}var dn=class{_tNode;_lView;constructor(n,t){this._tNode=n,this._lView=t}get(n,t,r){return mh(this._tNode,this._lView,n,Qt(r),t)}};function Ev(){return new dn(Se(),G())}function Wi(e){return Yr(()=>{let n=e.prototype.constructor,t=n[_r]||jc(n),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[_r]||jc(o);if(i&&i!==t)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function jc(e){return za(e)?()=>{let n=jc(fe(e));return n&&n()}:Kt(e)}function Iv(e,n,t,r,o){let i=e,s=n;for(;i!==null&&s!==null&&s[_]&2048&&!$n(s);){let a=yh(i,s,t,r|2,Xe);if(a!==Xe)return a;let c=i.parent;if(!c){let u=s[uc];if(u){let l=u.get(t,Xe,r);if(l!==Xe)return l}c=vh(s),s=s[Hn]}i=c}return o}function vh(e){let n=e[N],t=n.type;return t===2?n.declTNode:t===1?e[ue]:null}function Qr(e){return mv(Se(),e)}function Cv(){return uu(Se(),G())}function uu(e,n){return new mn(Ke(e,n))}var mn=(()=>{class e{nativeElement;constructor(t){this.nativeElement=t}static __NG_ELEMENT_ID__=Cv}return e})();function Dh(e){return(e.flags&128)===128}var lu=(function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e})(lu||{}),Eh=new Map,wv=0;function bv(){return wv++}function Tv(e){Eh.set(e[xt],e)}function Bc(e){Eh.delete(e[xt])}var Af="__ngContext__";function Yn(e,n){Qe(n)?(e[Af]=n[xt],Tv(n)):e[Af]=n}function Ih(e){return wh(e[Vn])}function Ch(e){return wh(e[be])}function wh(e){for(;e!==null&&!Fe(e);)e=e[be];return e}var Sv;function du(e){Sv=e}var qi=new v("",{factory:()=>_v}),_v="ng";var Zi=new v(""),Kr=new v("",{providedIn:"platform",factory:()=>"unknown"});var Yi=new v("",{factory:()=>h($).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),Qi={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},Ki=new v("",{factory:()=>Qi});var bh=!1,Th=new v("",{factory:()=>bh});var Ji=new v("");var Mv=(e,n,t,r)=>{};function Nv(e,n,t,r){Mv(e,n,t,r)}function Xi(e){return(e.flags&32)===32}var Rv=()=>null;function Sh(e,n,t=!1){return Rv(e,n,t)}function _h(e,n){let t=e.contentQueries;if(t!==null){let r=M(null);try{for(let o=0;o<t.length;o+=2){let i=t[o],s=t[o+1];if(s!==-1){let a=e.data[s];Ec(i),a.contentQueries(2,n[s],s)}}}finally{M(r)}}}function Uc(e,n,t){Ec(0);let r=M(null);try{n(e,t)}finally{M(r)}}function Mh(e,n,t){if(lc(n)){let r=M(null);try{let o=n.directiveStart,i=n.directiveEnd;for(let s=o;s<i;s++){let a=e.data[s];if(a.contentQueries){let c=t[s];a.contentQueries(1,c,s)}}}finally{M(r)}}}var Ue=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e[e.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",e})(Ue||{});var Mi;function Av(){if(Mi===void 0&&(Mi=null,se.trustedTypes))try{Mi=se.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return Mi}function es(e){return Av()?.createHTML(e)||e}var Ni;function xv(){if(Ni===void 0&&(Ni=null,se.trustedTypes))try{Ni=se.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return Ni}function xf(e){return xv()?.createScriptURL(e)||e}var pt=class{changingThisBreaksApplicationSecurity;constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${ci})`}},Vc=class extends pt{getTypeName(){return"HTML"}},Hc=class extends pt{getTypeName(){return"Style"}},$c=class extends pt{getTypeName(){return"Script"}},zc=class extends pt{getTypeName(){return"URL"}},Gc=class extends pt{getTypeName(){return"ResourceURL"}};function Ne(e){return e instanceof pt?e.changingThisBreaksApplicationSecurity:e}function mt(e,n){let t=Nh(e);if(t!=null&&t!==n){if(t==="ResourceURL"&&n==="URL")return!0;throw new Error(`Required a safe ${n}, got a ${t} (see ${ci})`)}return t===n}function Nh(e){return e instanceof pt&&e.getTypeName()||null}function fu(e){return new Vc(e)}function hu(e){return new Hc(e)}function pu(e){return new $c(e)}function gu(e){return new zc(e)}function mu(e){return new Gc(e)}function Ov(e){let n=new qc(e);return kv()?new Wc(n):n}var Wc=class{inertDocumentHelper;constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n="<body><remove></remove>"+n;try{let t=new window.DOMParser().parseFromString(es(n),"text/html").body;return t===null?this.inertDocumentHelper.getInertBodyElement(n):(t.firstChild?.remove(),t)}catch(t){return null}}},qc=class{defaultDoc;inertDocument;constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){let t=this.inertDocument.createElement("template");return t.innerHTML=es(n),t}};function kv(){try{return!!new window.DOMParser().parseFromString(es(""),"text/html")}catch(e){return!1}}var Pv=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Jr(e){return e=String(e),e.match(Pv)?e:"unsafe:"+e}function yt(e){let n={};for(let t of e.split(","))n[t]=!0;return n}function Xr(...e){let n={};for(let t of e)for(let r in t)t.hasOwnProperty(r)&&(n[r]=!0);return n}var Rh=yt("area,br,col,hr,img,wbr"),Ah=yt("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),xh=yt("rp,rt"),Fv=Xr(xh,Ah),Lv=Xr(Ah,yt("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),jv=Xr(xh,yt("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Of=Xr(Rh,Lv,jv,Fv),Oh=yt("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Bv=yt("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Uv=yt("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),Vv=Xr(Oh,Bv,Uv),Hv=yt("script,style,template"),Zc=class{sanitizedSomething=!1;buf=[];sanitizeChildren(n){let t=n.firstChild,r=!0,o=[];for(;t;){if(t.nodeType===Node.ELEMENT_NODE?r=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,r&&t.firstChild){o.push(t),t=Gv(t);continue}for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let i=zv(t);if(i){t=i;break}t=o.pop()}}return this.buf.join("")}startElement(n){let t=kf(n).toLowerCase();if(!Of.hasOwnProperty(t))return this.sanitizedSomething=!0,!Hv.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);let r=n.attributes;for(let o=0;o<r.length;o++){let i=r.item(o),s=i.name,a=s.toLowerCase();if(!Vv.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;Oh[a]&&(c=Jr(c)),this.buf.push(" ",s,'="',Pf(c),'"')}return this.buf.push(">"),!0}endElement(n){let t=kf(n).toLowerCase();Of.hasOwnProperty(t)&&!Rh.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(n){this.buf.push(Pf(n))}};function $v(e,n){return(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function zv(e){let n=e.nextSibling;if(n&&e!==n.previousSibling)throw kh(n);return n}function Gv(e){let n=e.firstChild;if(n&&$v(e,n))throw kh(n);return n}function kf(e){let n=e.nodeName;return typeof n=="string"?n:"FORM"}function kh(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var Wv=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,qv=/([^\#-~ |!])/g;function Pf(e){return e.replace(/&/g,"&").replace(Wv,function(n){let t=n.charCodeAt(0),r=n.charCodeAt(1);return"&#"+((t-55296)*1024+(r-56320)+65536)+";"}).replace(qv,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var Ri;function yu(e,n){let t=null;try{Ri=Ri||Ov(e);let r=n?String(n):"";t=Ri.getInertBodyElement(r);let o=5,i=r;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=t.innerHTML,t=Ri.getInertBodyElement(r)}while(r!==i);let a=new Zc().sanitizeChildren(Ff(t)||t);return es(a)}finally{if(t){let r=Ff(t)||t;for(;r.firstChild;)r.firstChild.remove()}}}function Ff(e){return"content"in e&&Zv(e)?e.content:null}function Zv(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}function Yv(e,n){return e.createText(n)}function Ph(e,n,t){return e.createElement(n,t)}function Bi(e,n,t,r,o){e.insertBefore(n,t,r,o)}function Fh(e,n,t){e.appendChild(n,t)}function Lf(e,n,t,r,o){r!==null?Bi(e,n,t,r,o):Fh(e,n,t)}function Qv(e,n,t,r){e.removeChild(null,n,t,r)}function Kv(e,n,t){e.setAttribute(n,"style",t)}function Jv(e,n,t){t===""?e.removeAttribute(n,"class"):e.setAttribute(n,"class",t)}function Lh(e,n,t){let{mergedAttrs:r,classes:o,styles:i}=t;r!==null&&uv(e,n,r),o!==null&&Jv(e,n,o),i!==null&&Kv(e,n,i)}var Ve=(function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e})(Ve||{});function jh(e){let n=Uh();return n?n.sanitize(Ve.URL,e)||"":mt(e,"URL")?Ne(e):Jr(Xa(e))}function Bh(e){let n=Uh();if(n)return xf(n.sanitize(Ve.RESOURCE_URL,e)||"");if(mt(e,"ResourceURL"))return xf(Ne(e));throw new y(904,!1)}var Xv=new Set(["embed","frame","iframe","media","script"]),eD=new Set(["base","link","script"]);function tD(e,n){return n==="src"&&Xv.has(e)||n==="href"&&eD.has(e)||n==="xlink:href"&&e==="script"?Bh:jh}function vu(e,n,t){return tD(n,t)(e)}function Uh(){let e=G();return e&&e[Ye].sanitizer}function Vh(e){return e instanceof Function?e():e}function nD(e,n,t){let r=e.length;for(;;){let o=e.indexOf(n,t);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=n.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}t=o+1}}var Hh="ng-template";function rD(e,n,t,r){let o=0;if(r){for(;o<n.length&&typeof n[o]=="string";o+=2)if(n[o]==="class"&&nD(n[o+1].toLowerCase(),t,0)!==-1)return!0}else if(Du(e))return!1;if(o=n.indexOf(1,o),o>-1){let i;for(;++o<n.length&&typeof(i=n[o])=="string";)if(i.toLowerCase()===t)return!0}return!1}function Du(e){return e.type===4&&e.value!==Hh}function oD(e,n,t){let r=e.type===4&&!t?Hh:e.value;return n===r}function iD(e,n,t){let r=4,o=e.attrs,i=o!==null?cD(o):0,s=!1;for(let a=0;a<n.length;a++){let c=n[a];if(typeof c=="number"){if(!s&&!Be(r)&&!Be(c))return!1;if(s&&Be(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!oD(e,c,t)||c===""&&n.length===1){if(Be(r))return!1;s=!0}}else if(r&8){if(o===null||!rD(e,o,c,t)){if(Be(r))return!1;s=!0}}else{let u=n[++a],l=sD(c,o,Du(e),t);if(l===-1){if(Be(r))return!1;s=!0;continue}if(u!==""){let d;if(l>i?d="":d=o[l+1].toLowerCase(),r&2&&u!==d){if(Be(r))return!1;s=!0}}}}return Be(r)||s}function Be(e){return(e&1)===0}function sD(e,n,t,r){if(n===null)return-1;let o=0;if(r||!t){let i=!1;for(;o<n.length;){let s=n[o];if(s===e)return o;if(s===3||s===6)i=!0;else if(s===1||s===2){let a=n[++o];for(;typeof a=="string";)a=n[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=i?1:2}return-1}else return uD(n,e)}function $h(e,n,t=!1){for(let r=0;r<n.length;r++)if(iD(e,n[r],t))return!0;return!1}function aD(e){let n=e.attrs;if(n!=null){let t=n.indexOf(5);if((t&1)===0)return n[t+1]}return null}function cD(e){for(let n=0;n<e.length;n++){let t=e[n];if(ch(t))return n}return e.length}function uD(e,n){let t=e.indexOf(4);if(t>-1)for(t++;t<e.length;){let r=e[t];if(typeof r=="number")return-1;if(r===n)return t;t++}return-1}function lD(e,n){e:for(let t=0;t<n.length;t++){let r=n[t];if(e.length===r.length){for(let o=0;o<e.length;o++)if(e[o]!==r[o])continue e;return!0}}return!1}function jf(e,n){return e?":not("+n.trim()+")":n}function dD(e){let n=e[0],t=1,r=2,o="",i=!1;for(;t<e.length;){let s=e[t];if(typeof s=="string")if(r&2){let a=e[++t];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!Be(s)&&(n+=jf(i,o),o=""),r=s,i=i||!Be(r);t++}return o!==""&&(n+=jf(i,o)),n}function fD(e){return e.map(dD).join(",")}function hD(e){let n=[],t=[],r=1,o=2;for(;r<e.length;){let i=e[r];if(typeof i=="string")o===2?i!==""&&n.push(i,e[++r]):o===8&&t.push(i);else{if(!Be(o))break;o=i}r++}return t.length&&n.push(1,...t),n}var Xn={};function Eu(e,n,t,r,o,i,s,a,c,u,l){let d=le+r,p=d+o,f=pD(d,p),C=typeof u=="function"?u():u;return f[N]={type:e,blueprint:f,template:t,queries:null,viewQuery:a,declTNode:n,data:f.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:p,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i=="function"?i():i,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:c,consts:C,incompleteFirstPass:!1,ssrId:l}}function pD(e,n){let t=[];for(let r=0;r<n;r++)t.push(r<e?null:Xn);return t}function gD(e){let n=e.tView;return n===null||n.incompleteFirstPass?e.tView=Eu(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):n}function Iu(e,n,t,r,o,i,s,a,c,u,l){let d=n.blueprint.slice();return d[Pe]=o,d[_]=r|4|128|8|64|1024,(u!==null||e&&e[_]&2048)&&(d[_]|=2048),dc(d),d[ne]=d[Hn]=e,d[he]=t,d[Ye]=s||e&&e[Ye],d[Z]=a||e&&e[Z],d[At]=c||e&&e[At]||null,d[ue]=i,d[xt]=bv(),d[Bn]=l,d[uc]=u,d[pe]=n.type==2?e[pe]:d,d}function mD(e,n,t){let r=Ke(n,e),o=gD(t),i=e[Ye].rendererFactory,s=Cu(e,Iu(e,o,null,zh(t),r,n,null,i.createRenderer(r,t),null,null,null));return e[n.index]=s}function zh(e){let n=16;return e.signals?n=4096:e.onPush&&(n=64),n}function Gh(e,n,t,r){if(t===0)return-1;let o=n.length;for(let i=0;i<t;i++)n.push(r),e.blueprint.push(r),e.data.push(null);return o}function Cu(e,n){return e[Vn]?e[cc][be]=n:e[Vn]=n,e[cc]=n,n}function yD(e,n,t,r){if(!r)if((n[_]&3)===3){let i=e.preOrderCheckHooks;i!==null&&Oi(n,i,t)}else{let i=e.preOrderHooks;i!==null&&ki(n,i,0,t)}kt(t)}var ts=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(ts||{});function Yc(e,n,t,r){let o=M(null);try{let[i,s,a]=e.inputs[t],c=null;(s&ts.SignalBased)!==0&&(c=n[i][Ie]),c!==null&&c.transformFn!==void 0?r=c.transformFn(r):a!==null&&(r=a.call(n,r)),e.setInput!==null?e.setInput(n,c,r,t,i):rh(n,c,i,r)}finally{M(o)}}var gt=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})(gt||{}),vD;function wu(e,n){return vD(e,n)}var Qn=new Set,ns=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(ns||{}),vt=new v(""),Bf=new Set;function Ft(e){Bf.has(e)||(Bf.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var bu=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=m({token:e,providedIn:"root",factory:()=>new e})}return e})(),Wh=[0,1,2,3],qh=(()=>{class e{ngZone=h(V);scheduler=h(lt);errorHandler=h(Ze,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){h(vt,{optional:!0})}execute(){let t=this.sequences.size>0;t&&j(x.AfterRenderHooksStart),this.executing=!0;for(let r of Wh)for(let o of this.sequences)if(!(o.erroredOrDestroyed||!o.hooks[r]))try{o.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let i=o.hooks[r];return i(o.pipelinedValue)},o.snapshot))}catch(i){o.erroredOrDestroyed=!0,this.errorHandler?.handleError(i)}this.executing=!1;for(let r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(let r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),t&&j(x.AfterRenderHooksEnd)}register(t){let{view:r}=t;r!==void 0?((r[on]??=[]).push(t),zn(r),r[_]|=8192):this.executing?this.deferredRegistrations.add(t):this.addSequence(t)}addSequence(t){this.sequences.add(t),this.scheduler.notify(7)}unregister(t){this.executing&&this.sequences.has(t)?(t.erroredOrDestroyed=!0,t.pipelinedValue=void 0,t.once=!0):(this.sequences.delete(t),this.deferredRegistrations.delete(t))}maybeTrace(t,r){return r?r.run(ns.AFTER_NEXT_RENDER,t):t()}static \u0275prov=m({token:e,providedIn:"root",factory:()=>new e})}return e})(),Ui=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(n,t,r,o,i,s=null){this.impl=n,this.hooks=t,this.view=r,this.once=o,this.snapshot=s,this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let n=this.view?.[on];n&&(this.view[on]=n.filter(t=>t!==this))}};function rs(e,n){let t=n?.injector??h(re);return Ft("NgAfterNextRender"),ED(e,t,n,!0)}function DD(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function ED(e,n,t,r){let o=n.get(bu);o.impl??=n.get(qh);let i=n.get(vt,null,{optional:!0}),s=t?.manualCleanup!==!0?n.get(_e):null,a=n.get(Si,null,{optional:!0}),c=new Ui(o.impl,DD(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var ID=new v("",{factory:()=>({queue:new Set,isScheduled:!1,scheduler:null,injector:h(H)})});function Zh(e,n,t){let r=e.get(ID);if(Array.isArray(n))for(let o of n)r.queue.add(o),t?.detachedLeaveAnimationFns?.push(o);else r.queue.add(n),t?.detachedLeaveAnimationFns?.push(n);r.scheduler&&r.scheduler(e)}function CD(e,n){for(let[t,r]of n)Zh(e,r.animateFns)}function Uf(e,n,t,r){let o=e?.[Fr]?.enter;n!==null&&o&&o.has(t.index)&&CD(r,o)}function qn(e,n,t,r,o,i,s,a){if(o!=null){let c,u=!1;Fe(o)?c=o:Qe(o)&&(u=!0,o=o[Pe]);let l=Te(o);e===0&&r!==null?(Uf(a,r,i,t),s==null?Fh(n,r,l):Bi(n,r,l,s||null,!0)):e===1&&r!==null?(Uf(a,r,i,t),Bi(n,r,l,s||null,!0)):e===2?Vf(a,i,t,d=>{Qv(n,l,u,d)}):e===3&&Vf(a,i,t,()=>{n.destroyNode(l)}),c!=null&&OD(n,e,t,c,i,r,s)}}function wD(e,n){Yh(e,n),n[Pe]=null,n[ue]=null}function bD(e,n,t,r,o,i){r[Pe]=o,r[ue]=n,os(e,r,t,1,o,i)}function Yh(e,n){n[Ye].changeDetectionScheduler?.notify(9),os(e,n,n[Z],2,null,null)}function TD(e){let n=e[Vn];if(!n)return Ac(e[N],e);for(;n;){let t=null;if(Qe(n))t=n[Vn];else{let r=n[ge];r&&(t=r)}if(!t){for(;n&&!n[be]&&n!==e;)Qe(n)&&Ac(n[N],n),n=n[ne];n===null&&(n=e),Qe(n)&&Ac(n[N],n),t=n&&n[be]}n=t}}function Tu(e,n){let t=e[jr],r=t.indexOf(n);t.splice(r,1)}function Qh(e,n){if(cn(n))return;let t=n[Z];t.destroyNode&&os(e,n,t,3,null,null),TD(n)}function Ac(e,n){if(cn(n))return;let t=M(null);try{n[_]&=-129,n[_]|=256,n[ve]&&Er(n[ve]),MD(e,n),_D(e,n),n[N].type===1&&n[Z].destroy();let r=n[tn];if(r!==null&&Fe(n[ne])){r!==n[ne]&&Tu(r,n);let o=n[rn];o!==null&&o.detachView(e)}Bc(n)}finally{M(t)}}function Vf(e,n,t,r){let o=e?.[Fr];if(o==null||o.leave==null||!o.leave.has(n.index))return r(!1);e&&Qn.add(e[xt]),Zh(t,()=>{if(o.leave&&o.leave.has(n.index)){let s=o.leave.get(n.index),a=[];if(s){for(let c=0;c<s.animateFns.length;c++){let u=s.animateFns[c],{promise:l}=u();a.push(l)}o.detachedLeaveAnimationFns=void 0}o.running=Promise.allSettled(a),SD(e,r)}else e&&Qn.delete(e[xt]),r(!1)},o)}function SD(e,n){let t=e[Fr]?.running;if(t){t.then(()=>{e[Fr].running=void 0,Qn.delete(e[xt]),n(!0)});return}n(!1)}function _D(e,n){let t=e.cleanup,r=n[Un];if(t!==null)for(let s=0;s<t.length-1;s+=2)if(typeof t[s]=="string"){let a=t[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[t[s+1]];t[s].call(a)}r!==null&&(n[Un]=null);let o=n[ct];if(o!==null){n[ct]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=n[Pr];if(i!==null){n[Pr]=null;for(let s of i)s.destroy()}}function MD(e,n){let t;if(e!=null&&(t=e.destroyHooks)!=null)for(let r=0;r<t.length;r+=2){let o=n[t[r]];if(!(o instanceof zr)){let i=t[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],c=i[s+1];j(x.LifecycleHookStart,a,c);try{c.call(a)}finally{j(x.LifecycleHookEnd,a,c)}}else{j(x.LifecycleHookStart,o,i);try{i.call(o)}finally{j(x.LifecycleHookEnd,o,i)}}}}}function Kh(e,n,t){return ND(e,n.parent,t)}function ND(e,n,t){let r=n;for(;r!==null&&r.type&168;)n=r,r=n.parent;if(r===null)return t[Pe];if(sn(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===Ue.None||o===Ue.Emulated)return null}return Ke(r,t)}function Jh(e,n,t){return AD(e,n,t)}function RD(e,n,t){return e.type&40?Ke(e,t):null}var AD=RD,Hf;function Su(e,n,t,r){let o=Kh(e,r,n),i=n[Z],s=r.parent||n[ue],a=Jh(s,r,n);if(o!=null)if(Array.isArray(t))for(let c=0;c<t.length;c++)Lf(i,o,t[c],a,!1);else Lf(i,o,t,a,!1);Hf!==void 0&&Hf(i,r,n,t,o)}function Hr(e,n){if(n!==null){let t=n.type;if(t&3)return Ke(n,e);if(t&4)return Qc(-1,e[n.index]);if(t&8){let r=n.child;if(r!==null)return Hr(e,r);{let o=e[n.index];return Fe(o)?Qc(-1,o):Te(o)}}else{if(t&128)return Hr(e,n.next);if(t&32)return wu(n,e)()||Te(e[n.index]);{let r=Xh(e,n);if(r!==null){if(Array.isArray(r))return r[0];let o=Nt(e[pe]);return Hr(o,r)}else return Hr(e,n.next)}}}return null}function Xh(e,n){if(n!==null){let r=e[pe][ue],o=n.projection;return r.projection[o]}return null}function Qc(e,n){let t=ge+e+1;if(t<n.length){let r=n[t],o=r[N].firstChild;if(o!==null)return Hr(r,o)}return n[Ot]}function _u(e,n,t,r,o,i,s){for(;t!=null;){let a=r[At];if(t.type===128){t=t.next;continue}let c=r[t.index],u=t.type;if(s&&n===0&&(c&&Yn(Te(c),r),t.flags|=2),!Xi(t))if(u&8)_u(e,n,t.child,r,o,i,!1),qn(n,e,a,o,c,t,i,r);else if(u&32){let l=wu(t,r),d;for(;d=l();)qn(n,e,a,o,d,t,i,r);qn(n,e,a,o,c,t,i,r)}else u&16?ep(e,n,r,t,o,i):qn(n,e,a,o,c,t,i,r);t=s?t.projectionNext:t.next}}function os(e,n,t,r,o,i){_u(t,r,e.firstChild,n,o,i,!1)}function xD(e,n,t){let r=n[Z],o=Kh(e,t,n),i=t.parent||n[ue],s=Jh(i,t,n);ep(r,0,n,t,o,s)}function ep(e,n,t,r,o,i){let s=t[pe],c=s[ue].projection[r.projection];if(Array.isArray(c))for(let u=0;u<c.length;u++){let l=c[u];qn(n,e,t[At],o,l,r,i,t)}else{let u=c,l=s[ne];Dh(r)&&(u.flags|=128),_u(e,n,u,l,o,i,!0)}}function OD(e,n,t,r,o,i,s){let a=r[Ot],c=Te(r);a!==c&&qn(n,e,t,i,a,o,s);for(let u=ge;u<r.length;u++){let l=r[u];os(l[N],l,e,n,i,a)}}function kD(e,n,t,r,o){if(n)o?e.addClass(t,r):e.removeClass(t,r);else{let i=r.indexOf("-")===-1?void 0:gt.DashCase;o==null?e.removeStyle(t,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=gt.Important),e.setStyle(t,r,o,i))}}function tp(e,n,t,r,o){let i=Ur(),s=r&2;try{kt(-1),s&&n.length>le&&yD(e,n,le,!1);let a=s?x.TemplateUpdateStart:x.TemplateCreateStart;j(a,o,t),t(r,o)}finally{kt(i);let a=s?x.TemplateUpdateEnd:x.TemplateCreateEnd;j(a,o,t)}}function np(e,n,t){jD(e,n,t),(t.flags&64)===64&&BD(e,n,t)}function rp(e,n,t=Ke){let r=n.localNames;if(r!==null){let o=n.index+1;for(let i=0;i<r.length;i+=2){let s=r[i+1],a=s===-1?t(n,e):e[s];e[o++]=a}}}function PD(e,n,t,r){let i=r.get(Th,bh)||t===Ue.ShadowDom||t===Ue.ExperimentalIsolatedShadowDom,s=e.selectRootElement(n,i);return FD(s),s}function FD(e){LD(e)}var LD=()=>null;function jD(e,n,t){let r=t.directiveStart,o=t.directiveEnd;sn(t)&&mD(n,t,e.data[r+t.componentOffset]),e.firstCreatePass||fh(t,n);let i=t.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=Lc(n,e,s,t);if(Yn(c,n),i!==null&&zD(n,s-r,c,a,t,i),an(a)){let u=Le(t.index,n);u[he]=Lc(n,e,s,t)}}}function BD(e,n,t){let r=t.directiveStart,o=t.directiveEnd,i=t.index,s=ff();try{kt(i);for(let a=r;a<o;a++){let c=e.data[a],u=n[a];Ii(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&UD(c,u)}}finally{kt(-1),Ii(s)}}function UD(e,n){e.hostBindings!==null&&e.hostBindings(1,n)}function VD(e,n){let t=e.directiveRegistry,r=null;if(t)for(let o=0;o<t.length;o++){let i=t[o];$h(n,i.selectors,!1)&&(r??=[],an(i)?r.unshift(i):r.push(i))}return r}function HD(e,n,t,r,o,i){let s=Ke(e,n);$D(n[Z],s,i,e.value,t,r,o)}function $D(e,n,t,r,o,i,s){if(i==null)e.removeAttribute(n,o,t);else{let a=s==null?Xa(i):s(i,r||"",o);e.setAttribute(n,o,a,t)}}function zD(e,n,t,r,o,i){let s=i[n];if(s!==null)for(let a=0;a<s.length;a+=2){let c=s[a],u=s[a+1];Yc(r,t,c,u)}}function GD(e,n,t,r,o){let i=le+t,s=n[N],a=o(s,n,e,r,t);n[i]=a,Gn(e,!0);let c=e.type===2;return c?(Lh(n[Z],a,e),(Xd()===0||mi(e))&&Yn(a,n),ef()):Yn(a,n),bi()&&(!c||!Xi(e))&&Su(s,n,a,e),e}function WD(e){let n=e;return mc()?yc():(n=n.parent,Gn(n,!1)),n}function qD(e,n){let t=e[At];if(!t)return;let r;try{r=t.get(Me,null)}catch(o){r=null}r?.(n)}function op(e,n,t,r,o){let i=e.inputs?.[r],s=e.hostDirectiveInputs?.[r],a=!1;if(s)for(let c=0;c<s.length;c+=2){let u=s[c],l=s[c+1],d=n.data[u];Yc(d,t[u],l,o),a=!0}if(i)for(let c of i){let u=t[c],l=n.data[c];Yc(l,u,r,o),a=!0}return a}function ZD(e,n){let t=Le(n,e),r=t[N];YD(r,t);let o=t[Pe];o!==null&&t[Bn]===null&&(t[Bn]=Sh(o,t[At])),j(x.ComponentStart);try{Mu(r,t,t[he])}finally{j(x.ComponentEnd,t[he])}}function YD(e,n){for(let t=n.length;t<e.blueprint.length;t++)n.push(e.blueprint[t])}function Mu(e,n,t){Ci(n);try{let r=e.viewQuery;r!==null&&Uc(1,r,t);let o=e.template;o!==null&&tp(e,n,o,1,t),e.firstCreatePass&&(e.firstCreatePass=!1),n[rn]?.finishViewCreation(e),e.staticContentQueries&&_h(e,n),e.staticViewQueries&&Uc(2,e.viewQuery,t);let i=e.components;i!==null&&QD(n,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{n[_]&=-5,wi()}}function QD(e,n){for(let t=0;t<n.length;t++)ZD(e,n[t])}function KD(e,n,t,r){let o=M(null);try{let i=n.tView,a=e[_]&4096?4096:16,c=Iu(e,i,t,a,null,n,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),u=e[n.index];c[tn]=u;let l=e[rn];return l!==null&&(c[rn]=l.createEmbeddedView(i)),Mu(i,c,t),c}finally{M(o)}}function Kc(e,n){return!n||n.firstChild===null||Dh(e)}function Gr(e,n,t,r,o=!1){for(;t!==null;){if(t.type===128){t=o?t.projectionNext:t.next;continue}let i=n[t.index];i!==null&&r.push(Te(i)),Fe(i)&&ip(i,r);let s=t.type;if(s&8)Gr(e,n,t.child,r);else if(s&32){let a=wu(t,n),c;for(;c=a();)r.push(c)}else if(s&16){let a=Xh(n,t);if(Array.isArray(a))r.push(...a);else{let c=Nt(n[pe]);Gr(c[N],c,a,r,!0)}}t=o?t.projectionNext:t.next}return r}function ip(e,n){for(let t=ge;t<e.length;t++){let r=e[t],o=r[N].firstChild;o!==null&&Gr(r[N],r,o,n)}e[Ot]!==e[Pe]&&n.push(e[Ot])}function sp(e){if(e[on]!==null){for(let n of e[on])n.impl.addSequence(n);e[on].length=0}}var ap=[];function JD(e){return e[ve]??XD(e)}function XD(e){let n=ap.pop()??Object.create(tE);return n.lView=e,n}function eE(e){e.lView[ve]!==e&&(e.lView=null,ap.push(e))}var tE=B(g({},Ao),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{zn(e.lView)},consumerOnSignalRead(){this.lView[ve]=this}});function nE(e){let n=e[ve]??Object.create(rE);return n.lView=e,n}var rE=B(g({},Ao),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let n=Nt(e.lView);for(;n&&!cp(n[N]);)n=Nt(n);n&&fc(n)},consumerOnSignalRead(){this.lView[ve]=this}});function cp(e){return e.type!==2}function up(e){if(e[Pr]===null)return;let n=!0;for(;n;){let t=!1;for(let r of e[Pr])r.dirty&&(t=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));n=t&&!!(e[_]&8192)}}var oE=100;function lp(e,n=0){let r=e[Ye].rendererFactory,o=!1;o||r.begin?.();try{iE(e,n)}finally{o||r.end?.()}}function iE(e,n){let t=vc();try{Dc(!0),Jc(e,n);let r=0;for(;Br(e);){if(r===oE)throw new y(103,!1);r++,Jc(e,1)}}finally{Dc(t)}}function sE(e,n,t,r){if(cn(n))return;let o=n[_],i=!1,s=!1;Ci(n);let a=!0,c=null,u=null;i||(cp(e)?(u=JD(n),c=Oo(u)):Ro()===null?(a=!1,u=nE(n),c=Oo(u)):n[ve]&&(Er(n[ve]),n[ve]=null));try{dc(n),af(e.bindingStartIndex),t!==null&&tp(e,n,t,2,r);let l=(o&3)===3;if(!i)if(l){let f=e.preOrderCheckHooks;f!==null&&Oi(n,f,null)}else{let f=e.preOrderHooks;f!==null&&ki(n,f,0,null),Nc(n,0)}if(s||aE(n),up(n),dp(n,0),e.contentQueries!==null&&_h(e,n),!i)if(l){let f=e.contentCheckHooks;f!==null&&Oi(n,f)}else{let f=e.contentHooks;f!==null&&ki(n,f,1),Nc(n,1)}uE(e,n);let d=e.components;d!==null&&hp(n,d,0);let p=e.viewQuery;if(p!==null&&Uc(2,p,r),!i)if(l){let f=e.viewCheckHooks;f!==null&&Oi(n,f)}else{let f=e.viewHooks;f!==null&&ki(n,f,2),Nc(n,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),n[gi]){for(let f of n[gi])f();n[gi]=null}i||(sp(n),n[_]&=-73)}catch(l){throw i||zn(n),l}finally{u!==null&&(ha(u,c),a&&eE(u)),wi()}}function dp(e,n){for(let t=Ih(e);t!==null;t=Ch(t))for(let r=ge;r<t.length;r++){let o=t[r];fp(o,n)}}function aE(e){for(let n=Ih(e);n!==null;n=Ch(n)){if(!(n[_]&2))continue;let t=n[jr];for(let r=0;r<t.length;r++){let o=t[r];fc(o)}}}function cE(e,n,t){j(x.ComponentStart);let r=Le(n,e);try{fp(r,t)}finally{j(x.ComponentEnd,r[he])}}function fp(e,n){vi(e)&&Jc(e,n)}function Jc(e,n){let r=e[N],o=e[_],i=e[ve],s=!!(n===0&&o&16);if(s||=!!(o&64&&n===0),s||=!!(o&1024),s||=!!(i?.dirty&&ko(i)),s||=!1,i&&(i.dirty=!1),e[_]&=-9217,s)sE(r,e,r.template,e[he]);else if(o&8192){let a=M(null);try{up(e),dp(e,1);let c=r.components;c!==null&&hp(e,c,1),sp(e)}finally{M(a)}}}function hp(e,n,t){for(let r=0;r<n.length;r++)cE(e,n[r],t)}function uE(e,n){let t=e.hostBindingOpCodes;if(t!==null)try{for(let r=0;r<t.length;r++){let o=t[r];if(o<0)kt(~o);else{let i=o,s=t[++r],a=t[++r];df(s,i);let c=n[i];j(x.HostBindingsUpdateStart,c);try{a(2,c)}finally{j(x.HostBindingsUpdateEnd,c)}}}}finally{kt(-1)}}function Nu(e,n){let t=vc()?64:1088;for(e[Ye].changeDetectionScheduler?.notify(n);e;){e[_]|=t;let r=Nt(e);if($n(e)&&!r)return e;e=r}return null}function pp(e,n,t,r){return[e,!0,0,n,null,r,null,t,null,null]}function gp(e,n,t,r=!0){let o=n[N];if(lE(o,n,e,t),r){let s=Qc(t,e),a=n[Z],c=a.parentNode(e[Ot]);c!==null&&bD(o,e[ue],a,n,c,s)}let i=n[Bn];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function Xc(e,n){if(e.length<=ge)return;let t=ge+n,r=e[t];if(r){let o=r[tn];o!==null&&o!==e&&Tu(o,r),n>0&&(e[t-1][be]=r[be]);let i=xr(e,ge+n);wD(r[N],r);let s=i[rn];s!==null&&s.detachView(i[N]),r[ne]=null,r[be]=null,r[_]&=-129}return r}function lE(e,n,t,r){let o=ge+r,i=t.length;r>0&&(t[o-1][be]=n),r<i-ge?(n[be]=t[o],nc(t,ge+r,n)):(t.push(n),n[be]=null),n[ne]=t;let s=n[tn];s!==null&&t!==s&&mp(s,n);let a=n[rn];a!==null&&a.insertView(e),Ei(n),n[_]|=128}function mp(e,n){let t=e[jr],r=n[ne];if(Qe(r))e[_]|=2;else{let o=r[ne][pe];n[pe]!==o&&(e[_]|=2)}t===null?e[jr]=[n]:t.push(n)}var fn=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let n=this._lView,t=n[N];return Gr(t,n,t.firstChild,[])}constructor(n,t){this._lView=n,this._cdRefInjectingView=t}get context(){return this._lView[he]}set context(n){this._lView[he]=n}get destroyed(){return cn(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let n=this._lView[ne];if(Fe(n)){let t=n[Lr],r=t?t.indexOf(this):-1;r>-1&&(Xc(n,r),xr(t,r))}this._attachedToViewContainer=!1}Qh(this._lView[N],this._lView)}onDestroy(n){hc(this._lView,n)}markForCheck(){Nu(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[_]&=-129}reattach(){Ei(this._lView),this._lView[_]|=128}detectChanges(){this._lView[_]|=1024,lp(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new y(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let n=$n(this._lView),t=this._lView[tn];t!==null&&!n&&Tu(t,this._lView),Yh(this._lView[N],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new y(902,!1);this._appRef=n;let t=$n(this._lView),r=this._lView[tn];r!==null&&!t&&mp(r,this._lView),Ei(this._lView)}};function is(e,n,t,r,o){let i=e.data[n];if(i===null)i=dE(e,n,t,r,o),lf()&&(i.flags|=32);else if(i.type&64){i.type=t,i.value=r,i.attrs=o;let s=sf();i.injectorIndex=s===null?-1:s.injectorIndex}return Gn(i,!0),i}function dE(e,n,t,r,o){let i=gc(),s=mc(),a=s?i:i&&i.parent,c=e.data[n]=hE(e,a,t,n,r,o);return fE(e,c,i,s),c}function fE(e,n,t,r){e.firstChild===null&&(e.firstChild=n),t!==null&&(r?t.child==null&&n.parent!==null&&(t.child=n):t.next===null&&(t.next=n,n.prev=t))}function hE(e,n,t,r,o,i){let s=n?n.injectorIndex:-1,a=0;return pc()&&(a|=128),{type:t,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,fieldIndex:-1,customControlIndex:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}var pE=()=>null;function eu(e,n){return pE(e,n)}var yp=class{},ss=class{},tu=class{resolveComponentFactory(n){throw new y(917,!1)}},eo=class{static NULL=new tu},hn=class{},er=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>gE()}return e})();function gE(){let e=G(),n=Se(),t=Le(n.index,e);return(Qe(t)?t:e)[Z]}var vp=(()=>{class e{static \u0275prov=m({token:e,providedIn:"root",factory:()=>null})}return e})();var Pi={},nu=class{injector;parentInjector;constructor(n,t){this.injector=n,this.parentInjector=t}get(n,t,r){let o=this.injector.get(n,Pi,r);return o!==Pi||t===Pi?o:this.parentInjector.get(n,t,r)}};function $f(e,n,t){let r=t?e.styles:null,o=t?e.classes:null,i=0;if(n!==null)for(let s=0;s<n.length;s++){let a=n[s];if(typeof a=="number")i=a;else if(i==1)o=$a(o,a);else if(i==2){let c=a,u=n[++s];r=$a(r,c+": "+u+";")}}t?e.styles=r:e.stylesWithoutHost=r,t?e.classes=o:e.classesWithoutHost=o}function Dt(e,n=0){let t=G();if(t===null)return D(e,n);let r=Se();return mh(r,t,fe(e),n)}function Ru(){let e="invalid";throw new Error(e)}function mE(e,n,t,r,o){let i=r===null?null:{"":-1},s=o(e,t);if(s!==null){let a=s,c=null,u=null;for(let l of s)if(l.resolveHostDirectives!==null){[a,c,u]=l.resolveHostDirectives(s);break}DE(e,n,t,a,i,c,u)}i!==null&&r!==null&&yE(t,r,i)}function yE(e,n,t){let r=e.localNames=[];for(let o=0;o<n.length;o+=2){let i=t[n[o+1]];if(i==null)throw new y(-301,!1);r.push(n[o],i)}}function vE(e,n,t){n.componentOffset=t,(e.components??=[]).push(n.index)}function DE(e,n,t,r,o,i,s){let a=r.length,c=null;for(let p=0;p<a;p++){let f=r[p];c===null&&an(f)&&(c=f,vE(e,t,p)),gv(fh(t,n),e,f.type)}TE(t,e.data.length,a),c?.viewProvidersResolver&&c.viewProvidersResolver(c);for(let p=0;p<a;p++){let f=r[p];f.providersResolver&&f.providersResolver(f)}let u=!1,l=!1,d=Gh(e,n,a,null);a>0&&(t.directiveToIndex=new Map);for(let p=0;p<a;p++){let f=r[p];if(t.mergedAttrs=au(t.mergedAttrs,f.hostAttrs),IE(e,t,n,d,f),bE(d,f,o),s!==null&&s.has(f)){let[w,E]=s.get(f);t.directiveToIndex.set(f.type,[d,w+t.directiveStart,E+t.directiveStart])}else(i===null||!i.has(f))&&t.directiveToIndex.set(f.type,d);f.contentQueries!==null&&(t.flags|=4),(f.hostBindings!==null||f.hostAttrs!==null||f.hostVars!==0)&&(t.flags|=64);let C=f.type.prototype;!u&&(C.ngOnChanges||C.ngOnInit||C.ngDoCheck)&&((e.preOrderHooks??=[]).push(t.index),u=!0),!l&&(C.ngOnChanges||C.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(t.index),l=!0),d++}EE(e,t,i)}function EE(e,n,t){for(let r=n.directiveStart;r<n.directiveEnd;r++){let o=e.data[r];if(t===null||!t.has(o))zf(0,n,o,r),zf(1,n,o,r),Wf(n,r,!1);else{let i=t.get(o);Gf(0,n,i,r),Gf(1,n,i,r),Wf(n,r,!0)}}}function zf(e,n,t,r){let o=e===0?t.inputs:t.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s;e===0?s=n.inputs??={}:s=n.outputs??={},s[i]??=[],s[i].push(r),Dp(n,i)}}function Gf(e,n,t,r){let o=e===0?t.inputs:t.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s=o[i],a;e===0?a=n.hostDirectiveInputs??={}:a=n.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,i),Dp(n,s)}}function Dp(e,n){n==="class"?e.flags|=8:n==="style"&&(e.flags|=16)}function Wf(e,n,t){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!t&&o===null||t&&i===null||Du(e)){e.initialInputs??=[],e.initialInputs.push(null);return}let s=null,a=0;for(;a<r.length;){let c=r[a];if(c===0){a+=4;continue}else if(c===5){a+=2;continue}else if(typeof c=="number")break;if(!t&&o.hasOwnProperty(c)){let u=o[c];for(let l of u)if(l===n){s??=[],s.push(c,r[a+1]);break}}else if(t&&i.hasOwnProperty(c)){let u=i[c];for(let l=0;l<u.length;l+=2)if(u[l]===n){s??=[],s.push(u[l+1],r[a+1]);break}}a+=2}e.initialInputs??=[],e.initialInputs.push(s)}function IE(e,n,t,r,o){e.data[r]=o;let i=o.factory||(o.factory=Kt(o.type,!0)),s=new zr(i,an(o),Dt,null);e.blueprint[r]=s,t[r]=s,CE(e,n,r,Gh(e,t,o.hostVars,Xn),o)}function CE(e,n,t,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~n.index;wE(s)!=a&&s.push(a),s.push(t,r,i)}}function wE(e){let n=e.length;for(;n>0;){let t=e[--n];if(typeof t=="number"&&t<0)return t}return 0}function bE(e,n,t){if(t){if(n.exportAs)for(let r=0;r<n.exportAs.length;r++)t[n.exportAs[r]]=e;an(n)&&(t[""]=e)}}function TE(e,n,t){e.flags|=1,e.directiveStart=n,e.directiveEnd=n+t,e.providerIndexes=n}function Ep(e,n,t,r,o,i,s,a){let c=n[N],u=c.consts,l=Di(u,s),d=is(c,e,t,r,l);return i&&mE(c,n,d,Di(u,a),o),d.mergedAttrs=au(d.mergedAttrs,d.attrs),d.attrs!==null&&$f(d,d.attrs,!1),d.mergedAttrs!==null&&$f(d,d.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,d),d}function Ip(e,n){iv(e,n),lc(n)&&e.queries.elementEnd(n)}function Cp(e,n,t){if(t===Xn)return!1;let r=e[n];return Object.is(r,t)?!1:(e[n]=t,!0)}function xc(e,n,t){return function r(o){let i=sn(e)?Le(e.index,n):n;Nu(i,5);let s=n[he],a=qf(n,s,t,o),c=r.__ngNextListenerFn__;for(;c;)a=qf(n,s,c,o)&&a,c=c.__ngNextListenerFn__;return a}}function qf(e,n,t,r){let o=M(null);try{return j(x.OutputStart,n,t),t(r)!==!1}catch(i){return qD(e,i),!1}finally{j(x.OutputEnd,n,t),M(o)}}function SE(e,n,t,r,o,i,s,a){let c=mi(e),u=!1,l=null;if(!r&&c&&(l=ME(n,t,i,e.index)),l!==null){let d=l.__ngLastListenerFn__||l;d.__ngNextListenerFn__=s,l.__ngLastListenerFn__=s,u=!0}else{let d=Ke(e,t),p=r?r(d):d;Nv(t,p,i,a);let f=o.listen(p,i,a);if(!_E(i)){let C=r?w=>r(Te(w[e.index])):e.index;wp(C,n,t,i,a,f,!1)}}return u}function _E(e){return e.startsWith("animation")||e.startsWith("transition")}function ME(e,n,t,r){let o=e.cleanup;if(o!=null)for(let i=0;i<o.length-1;i+=2){let s=o[i];if(s===t&&o[i+1]===r){let a=n[Un],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function wp(e,n,t,r,o,i,s){let a=n.firstCreatePass?Jd(n):null,c=Kd(t),u=c.length;c.push(o,i),a&&a.push(r,e,u,(u+1)*(s?-1:1))}function Zf(e,n,t,r,o,i){let s=n[t],a=n[N],u=a.data[t].outputs[r],d=s[u].subscribe(i);wp(e.index,a,n,o,i,d,!0)}var ru=Symbol("BINDING");var Vi=class extends eo{ngModule;constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){let t=ft(n);return new pn(t,this.ngModule)}};function NE(e){return Object.keys(e).map(n=>{let[t,r,o]=e[n],i={propName:t,templateName:n,isSignal:(r&ts.SignalBased)!==0};return o&&(i.transform=o),i})}function RE(e){return Object.keys(e).map(n=>({propName:e[n],templateName:n}))}function AE(e,n,t){let r=n instanceof H?n:n?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new nu(t,r):t}function xE(e){let n=e.get(hn,null);if(n===null)throw new y(407,!1);let t=e.get(vp,null),r=e.get(lt,null);return{rendererFactory:n,sanitizer:t,changeDetectionScheduler:r,ngReflect:!1}}function OE(e,n){let t=bp(e);return Ph(n,t,t==="svg"?Wd:t==="math"?qd:null)}function bp(e){return(e.selectors[0][0]||"div").toLowerCase()}var pn=class extends ss{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=NE(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=RE(this.componentDef.outputs),this.cachedOutputs}constructor(n,t){super(),this.componentDef=n,this.ngModule=t,this.componentType=n.type,this.selector=fD(n.selectors),this.ngContentSelectors=n.ngContentSelectors??[],this.isBoundToModule=!!t}create(n,t,r,o,i,s){j(x.DynamicComponentStart);let a=M(null);try{let c=this.componentDef,u=kE(r,c,s,i),l=AE(c,o||this.ngModule,n),d=xE(l),p=d.rendererFactory.createRenderer(null,c),f=r?PD(p,r,c.encapsulation,l):OE(c,p),C=s?.some(Yf)||i?.some(I=>typeof I!="function"&&I.bindings.some(Yf)),w=Iu(null,u,null,512|zh(c),null,null,d,p,l,null,Sh(f,l,!0));w[le]=f,Ci(w);let E=null;try{let I=Ep(le,w,2,"#host",()=>u.directiveRegistry,!0,0);Lh(p,f,I),Yn(f,w),np(u,w,I),Mh(u,I,w),Ip(u,I),t!==void 0&&FE(I,this.ngContentSelectors,t),E=Le(I.index,w),w[he]=E[he],Mu(u,w,null)}catch(I){throw E!==null&&Bc(E),Bc(w),I}finally{j(x.DynamicComponentEnd),wi()}return new Hi(this.componentType,w,!!C)}finally{M(a)}}};function kE(e,n,t,r){let o=e?["ng-version","21.1.2"]:hD(n.selectors[0]),i=null,s=null,a=0;if(t)for(let l of t)a+=l[ru].requiredVars,l.create&&(l.targetIdx=0,(i??=[]).push(l)),l.update&&(l.targetIdx=0,(s??=[]).push(l));if(r)for(let l=0;l<r.length;l++){let d=r[l];if(typeof d!="function")for(let p of d.bindings){a+=p[ru].requiredVars;let f=l+1;p.create&&(p.targetIdx=f,(i??=[]).push(p)),p.update&&(p.targetIdx=f,(s??=[]).push(p))}}let c=[n];if(r)for(let l of r){let d=typeof l=="function"?l:l.type,p=Ja(d);c.push(p)}return Eu(0,null,PE(i,s),1,a,c,null,null,null,[o],null)}function PE(e,n){return!e&&!n?null:t=>{if(t&1&&e)for(let r of e)r.create();if(t&2&&n)for(let r of n)r.update()}}function Yf(e){let n=e[ru].kind;return n==="input"||n==="twoWay"}var Hi=class extends yp{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(n,t,r){super(),this._rootLView=t,this._hasInputBindings=r,this._tNode=yi(t[N],le),this.location=uu(this._tNode,t),this.instance=Le(this._tNode.index,t)[he],this.hostView=this.changeDetectorRef=new fn(t,void 0),this.componentType=n}setInput(n,t){this._hasInputBindings;let r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(n)&&Object.is(this.previousInputValues.get(n),t))return;let o=this._rootLView,i=op(r,o[N],o,n,t);this.previousInputValues.set(n,t);let s=Le(r.index,o);Nu(s,1)}get injector(){return new dn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}};function FE(e,n,t){let r=e.projection=[];for(let o=0;o<n.length;o++){let i=t[o];r.push(i!=null&&i.length?Array.from(i):null)}}var to=(()=>{class e{static __NG_ELEMENT_ID__=LE}return e})();function LE(){let e=Se();return BE(e,G())}var jE=to,Tp=class extends jE{_lContainer;_hostTNode;_hostLView;constructor(n,t,r){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=r}get element(){return uu(this._hostTNode,this._hostLView)}get injector(){return new dn(this._hostTNode,this._hostLView)}get parentInjector(){let n=cu(this._hostTNode,this._hostLView);if(uh(n)){let t=ji(n,this._hostLView),r=Li(n),o=t[N].data[r+8];return new dn(o,t)}else return new dn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){let t=Qf(this._lContainer);return t!==null&&t[n]||null}get length(){return this._lContainer.length-ge}createEmbeddedView(n,t,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=eu(this._lContainer,n.ssrId),a=n.createEmbeddedViewImpl(t||{},i,s);return this.insertImpl(a,o,Kc(this._hostTNode,s)),a}createComponent(n,t,r,o,i,s,a){let c=n&&!ev(n),u;if(c)u=t;else{let E=t||{};u=E.index,r=E.injector,o=E.projectableNodes,i=E.environmentInjector||E.ngModuleRef,s=E.directives,a=E.bindings}let l=c?n:new pn(ft(n)),d=r||this.parentInjector;if(!i&&l.ngModule==null){let I=(c?d:this.parentInjector).get(H,null);I&&(i=I)}let p=ft(l.componentType??{}),f=eu(this._lContainer,p?.id??null),C=f?.firstChild??null,w=l.create(d,o,C,i,s,a);return this.insertImpl(w.hostView,u,Kc(this._hostTNode,f)),w}insert(n,t){return this.insertImpl(n,t,!0)}insertImpl(n,t,r){let o=n._lView;if(Yd(o)){let a=this.indexOf(n);if(a!==-1)this.detach(a);else{let c=o[ne],u=new Tp(c,c[ue],c[ne]);u.detach(u.indexOf(n))}}let i=this._adjustIndex(t),s=this._lContainer;return gp(s,o,i,r),n.attachToViewContainerRef(),nc(Oc(s),i,n),n}move(n,t){return this.insert(n,t)}indexOf(n){let t=Qf(this._lContainer);return t!==null?t.indexOf(n):-1}remove(n){let t=this._adjustIndex(n,-1),r=Xc(this._lContainer,t);r&&(xr(Oc(this._lContainer),t),Qh(r[N],r))}detach(n){let t=this._adjustIndex(n,-1),r=Xc(this._lContainer,t);return r&&xr(Oc(this._lContainer),t)!=null?new fn(r):null}_adjustIndex(n,t=0){return n??this.length+t}};function Qf(e){return e[Lr]}function Oc(e){return e[Lr]||(e[Lr]=[])}function BE(e,n){let t,r=n[e.index];return Fe(r)?t=r:(t=pp(r,n,null,e),n[e.index]=t,Cu(n,t)),VE(t,n,e,r),new Tp(t,e,n)}function UE(e,n){let t=e[Z],r=t.createComment(""),o=Ke(n,e),i=t.parentNode(o);return Bi(t,i,r,t.nextSibling(o),!1),r}var VE=zE,HE=()=>!1;function $E(e,n,t){return HE(e,n,t)}function zE(e,n,t,r){if(e[Ot])return;let o;t.type&8?o=Te(r):o=UE(n,t),e[Ot]=o}var ou=new Map,GE=new Set;function Au(e){return F(this,null,function*(){let n=ou;ou=new Map;let t=new Map;function r(i){let s=t.get(i);if(s)return s;let a=e(i).then(c=>WE(i,c));return t.set(i,a),a}let o=Array.from(n).map(a=>F(null,[a],function*([i,s]){if(s.styleUrl&&s.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");let c=[];s.templateUrl&&c.push(r(s.templateUrl).then(p=>{s.template=p}));let u=typeof s.styles=="string"?[s.styles]:s.styles??[];s.styles=u;let{styleUrl:l,styleUrls:d}=s;if(l&&(d=[l],s.styleUrl=void 0),d?.length){let p=Promise.all(d.map(f=>r(f))).then(f=>{u.push(...f),s.styleUrls=void 0});c.push(p)}yield Promise.all(c),GE.delete(i)}));yield Promise.all(o)})}function Sp(){return ou.size===0}function WE(e,n){return F(this,null,function*(){if(typeof n=="string")return n;if(n.status!==void 0&&n.status!==200)throw new y(918,!1);return n.text()})}var Kn=class{},as=class{};var Wr=class extends Kn{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new Vi(this);constructor(n,t,r,o=!0){super(),this.ngModuleType=n,this._parent=t;let i=Ka(n);this._bootstrapComponents=Vh(i.bootstrap),this._r3Injector=wc(n,t,[{provide:Kn,useValue:this},{provide:eo,useValue:this.componentFactoryResolver},...r],ut(n),new Set(["environment"])),o&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}},qr=class extends as{moduleType;constructor(n){super(),this.moduleType=n}create(n){return new Wr(this.moduleType,n,[])}};function _p(e,n,t){return new Wr(e,n,t,!1)}var $i=class extends Kn{injector;componentFactoryResolver=new Vi(this);instance=null;constructor(n){super();let t=new Jt([...n.providers,{provide:Kn,useValue:this},{provide:eo,useValue:this.componentFactoryResolver}],n.parent||kr(),n.debugName,new Set(["environment"]));this.injector=t,n.runEnvironmentInitializers&&t.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}};function tr(e,n,t=null){return new $i({providers:e,parent:n,debugName:t,runEnvironmentInitializers:!0}).injector}var qE=(()=>{class e{_injector;cachedInjectors=new Map;constructor(t){this._injector=t}getOrCreateStandaloneInjector(t){if(!t.standalone)return null;if(!this.cachedInjectors.has(t)){let r=ic(!1,t.type),o=r.length>0?tr([r],this._injector,""):null;this.cachedInjectors.set(t,o)}return this.cachedInjectors.get(t)}ngOnDestroy(){try{for(let t of this.cachedInjectors.values())t!==null&&t.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=m({token:e,providedIn:"environment",factory:()=>new e(D(H))})}return e})();function xu(e){return Yr(()=>{let n=Mp(e),t=B(g({},n),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===lu.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:n.standalone?o=>o.get(qE).getOrCreateStandaloneInjector(t):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Ue.Emulated,styles:e.styles||we,_:null,schemas:e.schemas||null,tView:null,id:""});n.standalone&&Ft("NgStandalone"),Np(t);let r=e.dependencies;return t.directiveDefs=Kf(r,ZE),t.pipeDefs=Kf(r,kd),t.id=KE(t),t})}function ZE(e){return ft(e)||Ja(e)}function et(e){return Yr(()=>({type:e.type,bootstrap:e.bootstrap||we,declarations:e.declarations||we,imports:e.imports||we,exports:e.exports||we,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function YE(e,n){if(e==null)return en;let t={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a,c;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i,c=o[3]||null):(i=o,s=o,a=ts.None,c=null),t[i]=[r,a,c],n[i]=s}return t}function QE(e){if(e==null)return en;let n={};for(let t in e)e.hasOwnProperty(t)&&(n[e[t]]=t);return n}function Lt(e){return Yr(()=>{let n=Mp(e);return Np(n),n})}function Mp(e){let n={};return{type:e.type,providersResolver:null,viewProvidersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:n,inputConfig:e.inputs||en,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||we,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,inputs:YE(e.inputs,n),outputs:QE(e.outputs),debugInfo:null}}function Np(e){e.features?.forEach(n=>n(e))}function Kf(e,n){return e?()=>{let t=typeof e=="function"?e():e,r=[];for(let o of t){let i=n(o);i!==null&&r.push(i)}return r}:null}function KE(e){let n=0,t=typeof e.consts=="function"?"":e.consts,r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,t,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(let i of r.join("|"))n=Math.imul(31,n)+i.charCodeAt(0)<<0;return n+=2147483648,"c"+n}function JE(e,n,t,r,o,i,s,a){if(t.firstCreatePass){e.mergedAttrs=au(e.mergedAttrs,e.attrs);let l=e.tView=Eu(2,e,o,i,s,t.directiveRegistry,t.pipeRegistry,null,t.schemas,t.consts,null);t.queries!==null&&(t.queries.template(t,e),l.queries=t.queries.embeddedTView(e))}a&&(e.flags|=a),Gn(e,!1);let c=eI(t,n,e,r);bi()&&Su(t,n,c,e),Yn(c,n);let u=pp(c,n,c,e);n[r+le]=u,Cu(n,u),$E(u,e,n)}function XE(e,n,t,r,o,i,s,a,c,u,l){let d=t+le,p;if(n.firstCreatePass){if(p=is(n,d,4,s||null,a||null),u!=null){let f=Di(n.consts,u);p.localNames=[];for(let C=0;C<f.length;C+=2)p.localNames.push(f[C],-1)}}else p=n.data[d];return JE(p,e,n,t,r,o,i,c),u!=null&&rp(e,p,l),p}var eI=tI;function tI(e,n,t,r){return Ti(!0),n[Z].createComment("")}var cs=(()=>{class e{log(t){console.log(t)}warn(t){console.warn(t)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=m({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();var us=new v(""),ls=new v(""),no=(()=>{class e{_ngZone;registry;_isZoneStable=!0;_callbacks=[];_taskTrackingZone=null;_destroyRef;constructor(t,r,o){this._ngZone=t,this.registry=r,ac()&&(this._destroyRef=h(_e,{optional:!0})??void 0),Ou||(Ap(o),o.addToWindow(r)),this._watchAngularEvents(),t.run(()=>{this._taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){let t=this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),r=this._ngZone.runOutsideAngular(()=>this._ngZone.onStable.subscribe({next:()=>{V.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}}));this._destroyRef?.onDestroy(()=>{t.unsubscribe(),r.unsubscribe()})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb()}});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>r.updateCb&&r.updateCb(t)?(clearTimeout(r.timeoutId),!1):!0)}}getPendingTasks(){return this._taskTrackingZone?this._taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,r,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==i),t()},r)),this._callbacks.push({doneCb:t,timeoutId:i,updateCb:o})}whenStable(t,r,o){if(o&&!this._taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(t,r,o),this._runCallbacksIfReady()}registerApplication(t){this.registry.registerApplication(t,this)}unregisterApplication(t){this.registry.unregisterApplication(t)}findProviders(t,r,o){return[]}static \u0275fac=function(r){return new(r||e)(D(V),D(Rp),D(ls))};static \u0275prov=m({token:e,factory:e.\u0275fac})}return e})(),Rp=(()=>{class e{_applications=new Map;registerApplication(t,r){this._applications.set(t,r)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,r=!0){return Ou?.findTestabilityInTree(this,t,r)??null}static \u0275fac=function(r){return new(r||e)};static \u0275prov=m({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function Ap(e){Ou=e}var Ou;function ro(e){return!!e&&typeof e.then=="function"}function xp(e){return!!e&&typeof e.subscribe=="function"}var ku=new v("");function ds(e){return Rt([{provide:ku,multi:!0,useValue:e}])}var Pu=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((t,r)=>{this.resolve=t,this.reject=r});appInits=h(ku,{optional:!0})??[];injector=h(re);constructor(){}runInitializers(){if(this.initialized)return;let t=[];for(let o of this.appInits){let i=q(this.injector,o);if(ro(i))t.push(i);else if(xp(i)){let s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});t.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(t).then(()=>{r()}).catch(o=>{this.reject(o)}),t.length===0&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=m({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),fs=new v("");function Op(){ga(()=>{let e="";throw new y(600,e)})}function kp(e){return e.isBoundToModule}var nI=10;function Fu(e,n){return Array.isArray(n)?n.reduce(Fu,e):g(g({},e),n)}var tt=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=h(Me);afterRenderManager=h(bu);zonelessEnabled=h(Wn);rootEffectScheduler=h(Mc);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new J;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=h(Je);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(U(t=>!t))}constructor(){h(vt,{optional:!0})}whenStable(){let t;return new Promise(r=>{t=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{t.unsubscribe()})}_injector=h(H);_rendererFactory=null;get injector(){return this._injector}bootstrap(t,r){return this.bootstrapImpl(t,r)}bootstrapImpl(t,r,o=re.NULL){return this._injector.get(V).run(()=>{j(x.BootstrapComponentStart);let s=t instanceof ss;if(!this._injector.get(Pu).done){let C="";throw new y(405,C)}let c;s?c=t:c=this._injector.get(eo).resolveComponentFactory(t),this.componentTypes.push(c.componentType);let u=kp(c)?void 0:this._injector.get(Kn),l=r||c.selector,d=c.create(o,[],l,u),p=d.location.nativeElement,f=d.injector.get(us,null);return f?.registerApplication(p),d.onDestroy(()=>{this.detachView(d.hostView),$r(this.components,d),f?.unregisterApplication(p)}),this._loadComponent(d),j(x.BootstrapComponentEnd,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){j(x.ChangeDetectionStart),this.tracingSnapshot!==null?this.tracingSnapshot.run(ns.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw j(x.ChangeDetectionEnd),new y(101,!1);let t=M(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,M(t),this.afterTick.next(),j(x.ChangeDetectionEnd)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(hn,null,{optional:!0}));let t=0;for(;this.dirtyFlags!==0&&t++<nI;){j(x.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{j(x.ChangeDetectionSyncEnd)}}}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let t=!1;if(this.dirtyFlags&7){let r=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:o}of this.allViews){if(!r&&!Br(o))continue;let i=r&&!this.zonelessEnabled?0:1;lp(o,i),t=!0}if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}t||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:t})=>Br(t))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(t){let r=t;this._views.push(r),r.attachToAppRef(this)}detachView(t){let r=t;$r(this._views,r),r.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView);try{this.tick()}catch(o){this.internalErrorHandler(o)}this.components.push(t),this._injector.get(fs,[]).forEach(o=>o(t))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(t=>t()),this._views.slice().forEach(t=>t.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(t){return this._destroyListeners.push(t),()=>$r(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new y(406,!1);let t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=m({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function $r(e,n){let t=e.indexOf(n);t>-1&&e.splice(t,1)}function hs(e,n,t,r){let o=G(),i=cf();if(Cp(o,i,n)){let s=un(),a=yf();HD(a,o,e,n,t,r)}return hs}var ZA=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";function Jf(e,n,t,r,o){op(n,e,t,o?"class":"style",r)}function Lu(e,n,t,r){let o=G(),i=o[N],s=e+le,a=i.firstCreatePass?Ep(s,o,2,n,VD,nf(),t,r):i.data[s];if(GD(a,o,e,n,rI),mi(a)){let c=o[N];np(c,o,a),Mh(c,a,o)}return r!=null&&rp(o,a),Lu}function ju(){let e=un(),n=Se(),t=WD(n);return e.firstCreatePass&&Ip(e,t),rf(t)&&of(),tf(),t.classesWithoutHost!=null&&av(t)&&Jf(e,t,G(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&cv(t)&&Jf(e,t,G(),t.stylesWithoutHost,!1),ju}function ps(e,n,t,r){return Lu(e,n,t,r),ju(),ps}var rI=(e,n,t,r,o)=>(Ti(!0),Ph(n[Z],r,vf()));var oo="en-US";var oI=oo;function Pp(e){typeof e=="string"&&(oI=e.toLowerCase().replace(/_/g,"-"))}function gs(e,n,t){let r=G(),o=un(),i=Se();return iI(o,r,r[Z],i,e,n,t),gs}function iI(e,n,t,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=xc(r,n,i),SE(r,e,n,s,t,o,i,c)&&(a=!1)),a){let u=r.outputs?.[o],l=r.hostDirectiveOutputs?.[o];if(l&&l.length)for(let d=0;d<l.length;d+=2){let p=l[d],f=l[d+1];c??=xc(r,n,i),Zf(r,n,p,f,o,c)}if(u&&u.length)for(let d of u)c??=xc(r,n,i),Zf(r,n,d,o,o,c)}}function sI(e,n){let t=null,r=aD(e);for(let o=0;o<n.length;o++){let i=n[o];if(i==="*"){t=o;continue}if(r===null?$h(e,i,!0):lD(r,i))return o}return t}function aI(e){let n=G()[pe][ue];if(!n.projection){let t=e?e.length:1,r=n.projection=jd(t,null),o=r.slice(),i=n.child;for(;i!==null;){if(i.type!==128){let s=e?sI(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function cI(e,n=0,t,r,o,i){let s=G(),a=un(),c=r?e+1:null;c!==null&&XE(s,a,c,r,o,i,null,t);let u=is(a,le+e,16,null,t||null);u.projection===null&&(u.projection=n),yc();let d=!s[Bn]||pc();s[pe][ue].projection[u.projection]===null&&c!==null?uI(s,a,c):d&&!Xi(u)&&xD(a,s,u)}function uI(e,n,t){let r=le+t,o=n.data[r],i=e[r],s=eu(i,o.tView.ssrId),a=KD(e,o,void 0,{dehydratedView:s});gp(i,a,0,Kc(o,s))}function Ai(e,n){return e<<17|n<<2}function gn(e){return e>>17&32767}function lI(e){return(e&2)==2}function dI(e,n){return e&131071|n<<17}function iu(e){return e|2}function Jn(e){return(e&131068)>>2}function kc(e,n){return e&-131069|n<<2}function fI(e){return(e&1)===1}function su(e){return e|1}function hI(e,n,t,r,o,i){let s=i?n.classBindings:n.styleBindings,a=gn(s),c=Jn(s);e[r]=t;let u=!1,l;if(Array.isArray(t)){let d=t;l=d[1],(l===null||jn(d,l)>0)&&(u=!0)}else l=t;if(o)if(c!==0){let p=gn(e[a+1]);e[r+1]=Ai(p,a),p!==0&&(e[p+1]=kc(e[p+1],r)),e[a+1]=dI(e[a+1],r)}else e[r+1]=Ai(a,0),a!==0&&(e[a+1]=kc(e[a+1],r)),a=r;else e[r+1]=Ai(c,0),a===0?a=r:e[c+1]=kc(e[c+1],r),c=r;u&&(e[r+1]=iu(e[r+1])),Xf(e,l,r,!0),Xf(e,l,r,!1),pI(n,l,e,r,i),s=Ai(a,c),i?n.classBindings=s:n.styleBindings=s}function pI(e,n,t,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof n=="string"&&jn(i,n)>=0&&(t[r+1]=su(t[r+1]))}function Xf(e,n,t,r){let o=e[t+1],i=n===null,s=r?gn(o):Jn(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],u=e[s+1];gI(c,n)&&(a=!0,e[s+1]=r?su(u):iu(u)),s=r?gn(u):Jn(u)}a&&(e[t+1]=r?iu(o):su(o))}function gI(e,n){return e===null||n==null||(Array.isArray(e)?e[1]:e)===n?!0:Array.isArray(e)&&typeof n=="string"?jn(e,n)>=0:!1}function ms(e,n,t){return mI(e,n,t,!1),ms}function mI(e,n,t,r){let o=G(),i=un(),s=uf(2);if(i.firstUpdatePass&&vI(i,e,s,r),n!==Xn&&Cp(o,s,n)){let a=i.data[Ur()];wI(i,a,o,o[Z],e,o[s+1]=bI(n,t),r,s)}}function yI(e,n){return n>=e.expandoStartIndex}function vI(e,n,t,r){let o=e.data;if(o[t+1]===null){let i=o[Ur()],s=yI(e,t);TI(i,r)&&n===null&&!s&&(n=!1),n=DI(o,i,n,r),hI(o,i,n,t,s,r)}}function DI(e,n,t,r){let o=hf(e),i=r?n.residualClasses:n.residualStyles;if(o===null)(r?n.classBindings:n.styleBindings)===0&&(t=Pc(null,e,n,t,r),t=Zr(t,n.attrs,r),i=null);else{let s=n.directiveStylingLast;if(s===-1||e[s]!==o)if(t=Pc(o,e,n,t,r),i===null){let c=EI(e,n,r);c!==void 0&&Array.isArray(c)&&(c=Pc(null,e,n,c[1],r),c=Zr(c,n.attrs,r),II(e,n,r,c))}else i=CI(e,n,r)}return i!==void 0&&(r?n.residualClasses=i:n.residualStyles=i),t}function EI(e,n,t){let r=t?n.classBindings:n.styleBindings;if(Jn(r)!==0)return e[gn(r)]}function II(e,n,t,r){let o=t?n.classBindings:n.styleBindings;e[gn(o)]=r}function CI(e,n,t){let r,o=n.directiveEnd;for(let i=1+n.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=Zr(r,s,t)}return Zr(r,n.attrs,t)}function Pc(e,n,t,r,o){let i=null,s=t.directiveEnd,a=t.directiveStylingLast;for(a===-1?a=t.directiveStart:a++;a<s&&(i=n[a],r=Zr(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(t.directiveStylingLast=a),r}function Zr(e,n,t){let r=t?1:2,o=-1;if(n!==null)for(let i=0;i<n.length;i++){let s=n[i];typeof s=="number"?o=s:o===r&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),Ud(e,s,t?!0:n[++i]))}return e===void 0?null:e}function wI(e,n,t,r,o,i,s,a){if(!(n.type&3))return;let c=e.data,u=c[a+1],l=fI(u)?eh(c,n,t,o,Jn(u),s):void 0;if(!zi(l)){zi(i)||lI(u)&&(i=eh(c,null,t,o,a,s));let d=Zd(Ur(),t);kD(r,s,d,o,i)}}function eh(e,n,t,r,o,i){let s=n===null,a;for(;o>0;){let c=e[o],u=Array.isArray(c),l=u?c[1]:c,d=l===null,p=t[o+1];p===Xn&&(p=d?we:void 0);let f=d?pi(p,r):l===r?p:void 0;if(u&&!zi(f)&&(f=pi(c,r)),zi(f)&&(a=f,s))return a;let C=e[o+1];o=s?gn(C):Jn(C)}if(n!==null){let c=i?n.residualClasses:n.residualStyles;c!=null&&(a=pi(c,r))}return a}function zi(e){return e!==void 0}function bI(e,n){return e==null||e===""||(typeof n=="string"?e=e+n:typeof e=="object"&&(e=ut(Ne(e)))),e}function TI(e,n){return(e.flags&(n?8:16))!==0}function SI(e,n=""){let t=G(),r=un(),o=e+le,i=r.firstCreatePass?is(r,o,1,n,null):r.data[o],s=_I(r,t,i,n);t[o]=s,bi()&&Su(r,t,s,i),Gn(i,!1)}var _I=(e,n,t,r)=>(Ti(!0),Yv(n[Z],r));var xi=null;function Fp(e){xi!==null&&(e.defaultEncapsulation!==xi.defaultEncapsulation||e.preserveWhitespaces!==xi.preserveWhitespaces)||(xi=e)}var Gi=class{ngModuleFactory;componentFactories;constructor(n,t){this.ngModuleFactory=n,this.componentFactories=t}},Bu=(()=>{class e{compileModuleSync(t){return new qr(t)}compileModuleAsync(t){return Promise.resolve(this.compileModuleSync(t))}compileModuleAndAllComponentsSync(t){let r=this.compileModuleSync(t),o=Ka(t),i=Vh(o.declarations).reduce((s,a)=>{let c=ft(a);return c&&s.push(new pn(c)),s},[]);return new Gi(r,i)}compileModuleAndAllComponentsAsync(t){return Promise.resolve(this.compileModuleAndAllComponentsSync(t))}clearCache(){}clearCacheFor(t){}getModuleId(t){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=m({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Lp=new v("");var jp=(()=>{class e{applicationErrorHandler=h(Me);appRef=h(tt);taskService=h(Je);ngZone=h(V);zonelessEnabled=h(Wn);tracing=h(vt,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new W;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Nr):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(h(_i,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{let t=this.taskService.add();if(!this.runningTick&&(this.cleanup(),!this.zonelessEnabled||this.appRef.includeAllTestViews)){this.taskService.remove(t);return}this.switchToMicrotaskScheduler(),this.taskService.remove(t)})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()}))}switchToMicrotaskScheduler(){this.ngZone.runOutsideAngular(()=>{let t=this.taskService.add();this.useMicrotaskScheduler=!0,queueMicrotask(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(t)})})}notify(t){if(!this.zonelessEnabled&&t===5)return;switch(t){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2;break}case 12:{this.appRef.dirtyFlags|=16;break}case 13:{this.appRef.dirtyFlags|=2;break}case 11:break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick())return;let r=this.useMicrotaskScheduler?If:Tc;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>r(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(){return!(this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Nr+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let t=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){this.applicationErrorHandler(r)}finally{this.taskService.remove(t),this.cleanup()}}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let t=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(t)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=m({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Bp(){return[{provide:lt,useExisting:jp},{provide:V,useClass:Rr},{provide:Wn,useValue:!0}]}function MI(){return typeof $localize<"u"&&$localize.locale||oo}var Uu=new v("",{factory:()=>h(Uu,{optional:!0,skipSelf:!0})||MI()});var zp=Symbol("InputSignalNode#UNSET"),BI=B(g({},Po),{transformFn:void 0,applyValueToInputSignal(e,n){Ir(e,n)}});function Gp(e,n){let t=Object.create(BI);t.value=e,t.transformFn=n?.transform;function r(){if(xo(t),t.value===zp){let o=null;throw new y(-950,o)}return t.value}return r[Ie]=t,r}var ys=class{attributeName;constructor(n){this.attributeName=n}__NG_ELEMENT_ID__=()=>Qr(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}};function Up(e,n){return Gp(e,n)}function UI(e){return Gp(zp,e)}var Wp=(Up.required=UI,Up);function VI(e,n,t){let r=new qr(t);return Promise.resolve(r)}function Vp(e){for(let n=e.length-1;n>=0;n--)if(e[n]!==void 0)return e[n]}var HI=(()=>{class e{zone=h(V);changeDetectionScheduler=h(lt);applicationRef=h(tt);applicationErrorHandler=h(Me);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{try{this.applicationRef.dirtyFlags|=1,this.applicationRef._tick()}catch(t){this.applicationErrorHandler(t)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=m({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),$I=new v("",{factory:()=>!1});function zI({ngZoneFactory:e,scheduleInRootZone:n}){return e??=()=>new V(B(g({},qp()),{scheduleInRootZone:n})),[{provide:Wn,useValue:!1},{provide:V,useFactory:e},{provide:ht,multi:!0,useFactory:()=>{let t=h(HI,{optional:!0});return()=>t.initialize()}},{provide:ht,multi:!0,useFactory:()=>{let t=h(GI);return()=>{t.initialize()}}},{provide:_i,useValue:n??bc}]}function CL(e){let n=e?.scheduleInRootZone,t=zI({ngZoneFactory:()=>{let r=qp(e);return r.scheduleInRootZone=n,r.shouldCoalesceEventChangeDetection&&Ft("NgZone_CoalesceEvent"),new V(r)},scheduleInRootZone:n});return Rt([{provide:$I,useValue:!0},t])}function qp(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var GI=(()=>{class e{subscription=new W;initialized=!1;zone=h(V);pendingTasks=h(Je);initialize(){if(this.initialized)return;this.initialized=!0;let t=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(t=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{V.assertNotInAngularZone(),queueMicrotask(()=>{t!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(t),t=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{V.assertInAngularZone(),t??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=m({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var vs=new v(""),WI=new v("");function io(e){return!e.moduleRef}function qI(e){let n=io(e)?e.r3Injector:e.moduleRef.injector,t=n.get(V);return t.run(()=>{io(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=n.get(Me),o;if(t.runOutsideAngular(()=>{o=t.onError.subscribe({next:r})}),io(e)){let i=()=>n.destroy(),s=e.platformInjector.get(vs);s.add(i),n.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(vs);s.add(i),e.moduleRef.onDestroy(()=>{$r(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return YI(r,t,()=>{let i=n.get(Je),s=i.add(),a=n.get(Pu);return a.runInitializers(),a.donePromise.then(()=>{let c=n.get(Uu,oo);if(Pp(c||oo),!n.get(WI,!0))return io(e)?n.get(tt):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(io(e)){let l=n.get(tt);return e.rootComponent!==void 0&&l.bootstrap(e.rootComponent),l}else return Zp?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>{i.remove(s)})})})}var Zp;function Hp(){Zp=ZI}function ZI(e,n){let t=e.injector.get(tt);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>t.bootstrap(r));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(t);else throw new y(-403,!1);n.push(e)}function YI(e,n,t){try{let r=t();return ro(r)?r.catch(o=>{throw n.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw n.runOutsideAngular(()=>e(r)),r}}var Yp=(()=>{class e{_injector;_modules=[];_destroyListeners=[];_destroyed=!1;constructor(t){this._injector=t}bootstrapModuleFactory(t,r){let o=[Bp(),...r?.applicationProviders??[],wf],i=_p(t.moduleType,this.injector,o);return Hp(),qI({moduleRef:i,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(t,r=[]){let o=Fu({},r);return Hp(),VI(this.injector,o,t).then(i=>this.bootstrapModuleFactory(i,o))}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new y(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());let t=this._injector.get(vs,null);t&&(t.forEach(r=>r()),t.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static \u0275fac=function(r){return new(r||e)(D(re))};static \u0275prov=m({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),Vu=null;function QI(e){if($u())throw new y(400,!1);Op(),Vu=e;let n=e.get(Yp);return XI(e),n}function Hu(e,n,t=[]){let r=`Platform: ${n}`,o=new v(r);return(i=[])=>{let s=$u();if(!s){let a=[...t,...i,{provide:o,useValue:!0}];s=e?.(a)??QI(KI(a,r))}return JI(o)}}function KI(e=[],n){return re.create({name:n,providers:[{provide:Or,useValue:"platform"},{provide:vs,useValue:new Set([()=>Vu=null])},...e]})}function JI(e){let n=$u();if(!n)throw new y(-401,!1);return n}function $u(){return Vu?.get(Yp)??null}function XI(e){let n=e.get(Zi,null);q(e,()=>{n?.forEach(t=>t())})}var eC=1e4;var wL=eC-1e3;var nr=(()=>{class e{static __NG_ELEMENT_ID__=tC}return e})();function tC(e){return nC(Se(),G(),(e&16)===16)}function nC(e,n,t){if(sn(e)&&!t){let r=Le(e.index,n);return new fn(r,r)}else if(e.type&175){let r=n[pe];return new fn(r,n)}return null}var Qp=Hu(null,"core",[]),Kp=(()=>{class e{constructor(t){}static \u0275fac=function(r){return new(r||e)(D(tt))};static \u0275mod=et({type:e});static \u0275inj=ke({})}return e})();function Et(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function zu(e,n=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):n}function Jp(e){let n=ft(e);if(!n)return null;let t=new pn(n);return{get selector(){return t.selector},get type(){return t.componentType},get inputs(){return t.inputs},get outputs(){return t.outputs},get ngContentSelectors(){return t.ngContentSelectors},get isStandalone(){return n.standalone},get isSignal(){return n.signals}}}var Xp=null;function rt(){return Xp}function Gu(e){Xp??=e}var so=class{},It=(()=>{class e{historyGo(t){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=m({token:e,factory:()=>h(eg),providedIn:"platform"})}return e})(),Wu=new v(""),eg=(()=>{class e extends It{_location;_history;_doc=h($);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return rt().getBaseHref(this._doc)}onPopState(t){let r=rt().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",t,!1),()=>r.removeEventListener("popstate",t)}onHashChange(t){let r=rt().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",t,!1),()=>r.removeEventListener("hashchange",t)}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(t){this._location.pathname=t}pushState(t,r,o){this._history.pushState(t,r,o)}replaceState(t,r,o){this._history.replaceState(t,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}static \u0275fac=function(r){return new(r||e)};static \u0275prov=m({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function Ds(e,n){return e?n?e.endsWith("/")?n.startsWith("/")?e+n.slice(1):e+n:n.startsWith("/")?e+n:`${e}/${n}`:e:n}function tg(e){let n=e.search(/#|\?|$/);return e[n-1]==="/"?e.slice(0,n-1)+e.slice(n):e}function He(e){return e&&e[0]!=="?"?`?${e}`:e}var $e=(()=>{class e{historyGo(t){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=m({token:e,factory:()=>h(Is),providedIn:"root"})}return e})(),Es=new v(""),Is=(()=>{class e extends $e{_platformLocation;_baseHref;_removeListenerFns=[];constructor(t,r){super(),this._platformLocation=t,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??h($).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return Ds(this._baseHref,t)}path(t=!1){let r=this._platformLocation.pathname+He(this._platformLocation.search),o=this._platformLocation.hash;return o&&t?`${r}${o}`:r}pushState(t,r,o,i){let s=this.prepareExternalUrl(o+He(i));this._platformLocation.pushState(t,r,s)}replaceState(t,r,o,i){let s=this.prepareExternalUrl(o+He(i));this._platformLocation.replaceState(t,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static \u0275fac=function(r){return new(r||e)(D(It),D(Es,8))};static \u0275prov=m({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),jt=(()=>{class e{_subject=new J;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(t){this._locationStrategy=t;let r=this._locationStrategy.getBaseHref();this._basePath=iC(tg(ng(r))),this._locationStrategy.onPopState(o=>{this._subject.next({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(t=!1){return this.normalize(this._locationStrategy.path(t))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(t,r=""){return this.path()==this.normalize(t+He(r))}normalize(t){return e.stripTrailingSlash(oC(this._basePath,ng(t)))}prepareExternalUrl(t){return t&&t[0]!=="/"&&(t="/"+t),this._locationStrategy.prepareExternalUrl(t)}go(t,r="",o=null){this._locationStrategy.pushState(o,"",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+He(r)),o)}replaceState(t,r="",o=null){this._locationStrategy.replaceState(o,"",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+He(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(t=0){this._locationStrategy.historyGo?.(t)}onUrlChange(t){return this._urlChangeListeners.push(t),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(t);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(t="",r){this._urlChangeListeners.forEach(o=>o(t,r))}subscribe(t,r,o){return this._subject.subscribe({next:t,error:r??void 0,complete:o??void 0})}static normalizeQueryParams=He;static joinWithSlash=Ds;static stripTrailingSlash=tg;static \u0275fac=function(r){return new(r||e)(D($e))};static \u0275prov=m({token:e,factory:()=>rC(),providedIn:"root"})}return e})();function rC(){return new jt(D($e))}function oC(e,n){if(!e||!n.startsWith(e))return n;let t=n.substring(e.length);return t===""||["/",";","?","#"].includes(t[0])?t:n}function ng(e){return e.replace(/\/index.html$/,"")}function iC(e){if(new RegExp("^(https?:)?//").test(e)){let[,t]=e.split(/\/\/[^\/]+/);return t}return e}var qu=(()=>{class e extends $e{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(t,r){super(),this._platformLocation=t,r!=null&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}path(t=!1){let r=this._platformLocation.hash??"#";return r.length>0?r.substring(1):r}prepareExternalUrl(t){let r=Ds(this._baseHref,t);return r.length>0?"#"+r:r}pushState(t,r,o,i){let s=this.prepareExternalUrl(o+He(i))||this._platformLocation.pathname;this._platformLocation.pushState(t,r,s)}replaceState(t,r,o,i){let s=this.prepareExternalUrl(o+He(i))||this._platformLocation.pathname;this._platformLocation.replaceState(t,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static \u0275fac=function(r){return new(r||e)(D(It),D(Es,8))};static \u0275prov=m({token:e,factory:e.\u0275fac})}return e})();var Zu=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=et({type:e});static \u0275inj=ke({})}return e})();function ao(e,n){n=encodeURIComponent(n);for(let t of e.split(";")){let r=t.indexOf("="),[o,i]=r==-1?[t,""]:[t.slice(0,r),t.slice(r+1)];if(o.trim()===n)return decodeURIComponent(i)}return null}var yn=class{};var og="browser";var Qu=(()=>{class e{static \u0275prov=m({token:e,providedIn:"root",factory:()=>new Yu(h($),window)})}return e})(),Yu=class{document;window;offset=()=>[0,0];constructor(n,t){this.document=n,this.window=t}setOffset(n){Array.isArray(n)?this.offset=()=>n:this.offset=n}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(n,t){this.window.scrollTo(B(g({},t),{left:n[0],top:n[1]}))}scrollToAnchor(n,t){let r=aC(this.document,n);r&&(this.scrollToElement(r,t),r.focus())}setHistoryScrollRestoration(n){try{this.window.history.scrollRestoration=n}catch(t){console.warn(dt(2400,!1))}}scrollToElement(n,t){let r=n.getBoundingClientRect(),o=r.left+this.window.pageXOffset,i=r.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(B(g({},t),{left:o-s[0],top:i-s[1]}))}};function aC(e,n){let t=e.getElementById(n)||e.getElementsByName(n)[0];if(t)return t;if(typeof e.createTreeWalker=="function"&&e.body&&typeof e.body.attachShadow=="function"){let r=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT),o=r.currentNode;for(;o;){let i=o.shadowRoot;if(i){let s=i.getElementById(n)||i.querySelector(`[name="${n}"]`);if(s)return s}o=r.nextNode()}}return null}var ig=e=>e.src,cC=new v("",{factory:()=>ig});var rg=/^((\s*\d+w\s*(,|$)){1,})$/;var uC=[1,2],lC=640;var dC=1920,fC=1080;var rj=(()=>{class e{imageLoader=h(cC);config=hC(h(Ki));renderer=h(er);imgElement=h(mn).nativeElement;injector=h(re);destroyRef=h(_e);lcpObserver;_renderedSrc=null;ngSrc;ngSrcset;sizes;width;height;decoding;loading;priority=!1;loaderParams;disableOptimizedSrcset=!1;fill=!1;placeholder;placeholderConfig;src;srcset;constructor(){}ngOnInit(){Ft("NgOptimizedImage"),this.placeholder&&this.removePlaceholderOnLoad(this.imgElement),this.setHostAttributes()}setHostAttributes(){this.fill?this.sizes||="100vw":(this.setHostAttribute("width",this.width.toString()),this.setHostAttribute("height",this.height.toString())),this.setHostAttribute("loading",this.getLoadingBehavior()),this.setHostAttribute("fetchpriority",this.getFetchPriority()),this.setHostAttribute("decoding",this.getDecoding()),this.setHostAttribute("ng-img","true");let t=this.updateSrcAndSrcset();this.sizes?this.getLoadingBehavior()==="lazy"?this.setHostAttribute("sizes","auto, "+this.sizes):this.setHostAttribute("sizes",this.sizes):this.ngSrcset&&rg.test(this.ngSrcset)&&this.getLoadingBehavior()==="lazy"&&this.setHostAttribute("sizes","auto, 100vw")}ngOnChanges(t){if(t.ngSrc&&!t.ngSrc.isFirstChange()){let r=this._renderedSrc;this.updateSrcAndSrcset(!0)}}callImageLoader(t){let r=t;return this.loaderParams&&(r.loaderParams=this.loaderParams),this.imageLoader(r)}getLoadingBehavior(){return!this.priority&&this.loading!==void 0?this.loading:this.priority?"eager":"lazy"}getFetchPriority(){return this.priority?"high":"auto"}getDecoding(){return this.priority?"sync":this.decoding??"auto"}getRewrittenSrc(){if(!this._renderedSrc){let t={src:this.ngSrc};this._renderedSrc=this.callImageLoader(t)}return this._renderedSrc}getRewrittenSrcset(){let t=rg.test(this.ngSrcset);return this.ngSrcset.split(",").filter(o=>o!=="").map(o=>{o=o.trim();let i=t?parseFloat(o):parseFloat(o)*this.width;return`${this.callImageLoader({src:this.ngSrc,width:i})} ${o}`}).join(", ")}getAutomaticSrcset(){return this.sizes?this.getResponsiveSrcset():this.getFixedSrcset()}getResponsiveSrcset(){let{breakpoints:t}=this.config,r=t;return this.sizes?.trim()==="100vw"&&(r=t.filter(i=>i>=lC)),r.map(i=>`${this.callImageLoader({src:this.ngSrc,width:i})} ${i}w`).join(", ")}updateSrcAndSrcset(t=!1){t&&(this._renderedSrc=null);let r=this.getRewrittenSrc();this.setHostAttribute("src",r);let o;return this.ngSrcset?o=this.getRewrittenSrcset():this.shouldGenerateAutomaticSrcset()&&(o=this.getAutomaticSrcset()),o&&this.setHostAttribute("srcset",o),o}getFixedSrcset(){return uC.map(r=>`${this.callImageLoader({src:this.ngSrc,width:this.width*r})} ${r}x`).join(", ")}shouldGenerateAutomaticSrcset(){let t=!1;return this.sizes||(t=this.width>dC||this.height>fC),!this.disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==ig&&!t}generatePlaceholder(t){let{placeholderResolution:r}=this.config;return t===!0?`url(${this.callImageLoader({src:this.ngSrc,width:r,isPlaceholder:!0})})`:typeof t=="string"?`url(${t})`:null}shouldBlurPlaceholder(t){return!t||!t.hasOwnProperty("blur")?!0:!!t.blur}removePlaceholderOnLoad(t){let r=()=>{let s=this.injector.get(nr);o(),i(),this.placeholder=!1,s.markForCheck()},o=this.renderer.listen(t,"load",r),i=this.renderer.listen(t,"error",r);this.destroyRef.onDestroy(()=>{o(),i()}),pC(t,r)}setHostAttribute(t,r){this.renderer.setAttribute(this.imgElement,t,r)}static \u0275fac=function(r){return new(r||e)};static \u0275dir=Lt({type:e,selectors:[["img","ngSrc",""]],hostVars:18,hostBindings:function(r,o){r&2&&ms("position",o.fill?"absolute":null)("width",o.fill?"100%":null)("height",o.fill?"100%":null)("inset",o.fill?"0":null)("background-size",o.placeholder?"cover":null)("background-position",o.placeholder?"50% 50%":null)("background-repeat",o.placeholder?"no-repeat":null)("background-image",o.placeholder?o.generatePlaceholder(o.placeholder):null)("filter",o.placeholder&&o.shouldBlurPlaceholder(o.placeholderConfig)?"blur(15px)":null)},inputs:{ngSrc:[2,"ngSrc","ngSrc",gC],ngSrcset:"ngSrcset",sizes:"sizes",width:[2,"width","width",zu],height:[2,"height","height",zu],decoding:"decoding",loading:"loading",priority:[2,"priority","priority",Et],loaderParams:"loaderParams",disableOptimizedSrcset:[2,"disableOptimizedSrcset","disableOptimizedSrcset",Et],fill:[2,"fill","fill",Et],placeholder:[2,"placeholder","placeholder",mC],placeholderConfig:"placeholderConfig",src:"src",srcset:"srcset"},features:[Pt]})}return e})();function hC(e){let n={};return e.breakpoints&&(n.breakpoints=e.breakpoints.sort((t,r)=>t-r)),Object.assign({},Qi,e,n)}function pC(e,n){e.complete&&e.naturalWidth&&n()}function gC(e){return typeof e=="string"?e:Ne(e)}function mC(e){return typeof e=="string"&&e!=="true"&&e!=="false"&&e!==""?e:Et(e)}var co=class{_doc;constructor(n){this._doc=n}manager},Cs=(()=>{class e extends co{constructor(t){super(t)}supports(t){return!0}addEventListener(t,r,o,i){return t.addEventListener(r,o,i),()=>this.removeEventListener(t,r,o,i)}removeEventListener(t,r,o,i){return t.removeEventListener(r,o,i)}static \u0275fac=function(r){return new(r||e)(D($))};static \u0275prov=m({token:e,factory:e.\u0275fac})}return e})(),Ts=new v(""),el=(()=>{class e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(t,r){this._zone=r,t.forEach(s=>{s.manager=this});let o=t.filter(s=>!(s instanceof Cs));this._plugins=o.slice().reverse();let i=t.find(s=>s instanceof Cs);i&&this._plugins.push(i)}addEventListener(t,r,o,i){return this._findPluginFor(r).addEventListener(t,r,o,i)}getZone(){return this._zone}_findPluginFor(t){let r=this._eventNameToPlugin.get(t);if(r)return r;if(r=this._plugins.find(i=>i.supports(t)),!r)throw new y(5101,!1);return this._eventNameToPlugin.set(t,r),r}static \u0275fac=function(r){return new(r||e)(D(Ts),D(V))};static \u0275prov=m({token:e,factory:e.\u0275fac})}return e})(),Ku="ng-app-id";function sg(e){for(let n of e)n.remove()}function ag(e,n){let t=n.createElement("style");return t.textContent=e,t}function vC(e,n,t,r){let o=e.head?.querySelectorAll(`style[${Ku}="${n}"],link[${Ku}="${n}"]`);if(o)for(let i of o)i.removeAttribute(Ku),i instanceof HTMLLinkElement?r.set(i.href.slice(i.href.lastIndexOf("/")+1),{usage:0,elements:[i]}):i.textContent&&t.set(i.textContent,{usage:0,elements:[i]})}function Xu(e,n){let t=n.createElement("link");return t.setAttribute("rel","stylesheet"),t.setAttribute("href",e),t}var tl=(()=>{class e{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(t,r,o,i={}){this.doc=t,this.appId=r,this.nonce=o,vC(t,r,this.inline,this.external),this.hosts.add(t.head)}addStyles(t,r){for(let o of t)this.addUsage(o,this.inline,ag);r?.forEach(o=>this.addUsage(o,this.external,Xu))}removeStyles(t,r){for(let o of t)this.removeUsage(o,this.inline);r?.forEach(o=>this.removeUsage(o,this.external))}addUsage(t,r,o){let i=r.get(t);i?i.usage++:r.set(t,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,o(t,this.doc)))})}removeUsage(t,r){let o=r.get(t);o&&(o.usage--,o.usage<=0&&(sg(o.elements),r.delete(t)))}ngOnDestroy(){for(let[,{elements:t}]of[...this.inline,...this.external])sg(t);this.hosts.clear()}addHost(t){this.hosts.add(t);for(let[r,{elements:o}]of this.inline)o.push(this.addElement(t,ag(r,this.doc)));for(let[r,{elements:o}]of this.external)o.push(this.addElement(t,Xu(r,this.doc)))}removeHost(t){this.hosts.delete(t)}addElement(t,r){return this.nonce&&r.setAttribute("nonce",this.nonce),t.appendChild(r)}static \u0275fac=function(r){return new(r||e)(D($),D(qi),D(Yi,8),D(Kr))};static \u0275prov=m({token:e,factory:e.\u0275fac})}return e})(),Ju={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},nl=/%COMP%/g;var ug="%COMP%",DC=`_nghost-${ug}`,EC=`_ngcontent-${ug}`,IC=!0,CC=new v("",{factory:()=>IC});function wC(e){return EC.replace(nl,e)}function bC(e){return DC.replace(nl,e)}function lg(e,n){return n.map(t=>t.replace(nl,e))}var rl=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;constructor(t,r,o,i,s,a,c=null,u=null){this.eventManager=t,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.ngZone=a,this.nonce=c,this.tracingService=u,this.defaultRenderer=new uo(t,s,a,this.tracingService)}createRenderer(t,r){if(!t||!r)return this.defaultRenderer;let o=this.getOrCreateRenderer(t,r);return o instanceof bs?o.applyToHost(t):o instanceof lo&&o.applyStyles(),o}getOrCreateRenderer(t,r){let o=this.rendererByCompId,i=o.get(r.id);if(!i){let s=this.doc,a=this.ngZone,c=this.eventManager,u=this.sharedStylesHost,l=this.removeStylesOnCompDestroy,d=this.tracingService;switch(r.encapsulation){case Ue.Emulated:i=new bs(c,u,r,this.appId,l,s,a,d);break;case Ue.ShadowDom:return new ws(c,t,r,s,a,this.nonce,d,u);case Ue.ExperimentalIsolatedShadowDom:return new ws(c,t,r,s,a,this.nonce,d);default:i=new lo(c,u,r,l,s,a,d);break}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(t){this.rendererByCompId.delete(t)}static \u0275fac=function(r){return new(r||e)(D(el),D(tl),D(qi),D(CC),D($),D(V),D(Yi),D(vt,8))};static \u0275prov=m({token:e,factory:e.\u0275fac})}return e})(),uo=class{eventManager;doc;ngZone;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(n,t,r,o){this.eventManager=n,this.doc=t,this.ngZone=r,this.tracingService=o}destroy(){}destroyNode=null;createElement(n,t){return t?this.doc.createElementNS(Ju[t]||t,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,t){(cg(n)?n.content:n).appendChild(t)}insertBefore(n,t,r){n&&(cg(n)?n.content:n).insertBefore(t,r)}removeChild(n,t){t.remove()}selectRootElement(n,t){let r=typeof n=="string"?this.doc.querySelector(n):n;if(!r)throw new y(-5104,!1);return t||(r.textContent=""),r}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,t,r,o){if(o){t=o+":"+t;let i=Ju[o];i?n.setAttributeNS(i,t,r):n.setAttribute(t,r)}else n.setAttribute(t,r)}removeAttribute(n,t,r){if(r){let o=Ju[r];o?n.removeAttributeNS(o,t):n.removeAttribute(`${r}:${t}`)}else n.removeAttribute(t)}addClass(n,t){n.classList.add(t)}removeClass(n,t){n.classList.remove(t)}setStyle(n,t,r,o){o&(gt.DashCase|gt.Important)?n.style.setProperty(t,r,o>.Important?"important":""):n.style[t]=r}removeStyle(n,t,r){r>.DashCase?n.style.removeProperty(t):n.style[t]=""}setProperty(n,t,r){n!=null&&(n[t]=r)}setValue(n,t){n.nodeValue=t}listen(n,t,r,o){if(typeof n=="string"&&(n=rt().getGlobalEventTarget(this.doc,n),!n))throw new y(5102,!1);let i=this.decoratePreventDefault(r);return this.tracingService?.wrapEventListener&&(i=this.tracingService.wrapEventListener(n,t,i)),this.eventManager.addEventListener(n,t,i,o)}decoratePreventDefault(n){return t=>{if(t==="__ngUnwrap__")return n;n(t)===!1&&t.preventDefault()}}};function cg(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var ws=class extends uo{hostEl;sharedStylesHost;shadowRoot;constructor(n,t,r,o,i,s,a,c){super(n,o,i,a),this.hostEl=t,this.sharedStylesHost=c,this.shadowRoot=t.attachShadow({mode:"open"}),this.sharedStylesHost&&this.sharedStylesHost.addHost(this.shadowRoot);let u=r.styles;u=lg(r.id,u);for(let d of u){let p=document.createElement("style");s&&p.setAttribute("nonce",s),p.textContent=d,this.shadowRoot.appendChild(p)}let l=r.getExternalStyles?.();if(l)for(let d of l){let p=Xu(d,o);s&&p.setAttribute("nonce",s),this.shadowRoot.appendChild(p)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,t){return super.appendChild(this.nodeOrShadowRoot(n),t)}insertBefore(n,t,r){return super.insertBefore(this.nodeOrShadowRoot(n),t,r)}removeChild(n,t){return super.removeChild(null,t)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost&&this.sharedStylesHost.removeHost(this.shadowRoot)}},lo=class extends uo{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(n,t,r,o,i,s,a,c){super(n,i,s,a),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=o;let u=r.styles;this.styles=c?lg(c,u):u,this.styleUrls=r.getExternalStyles?.(c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&Qn.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},bs=class extends lo{contentAttr;hostAttr;constructor(n,t,r,o,i,s,a,c){let u=o+"-"+r.id;super(n,t,r,i,s,a,c,u),this.contentAttr=wC(u),this.hostAttr=bC(u)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,t){let r=super.createElement(n,t);return super.setAttribute(r,this.contentAttr,""),r}};var Ss=class e extends so{supportsDOMEvents=!0;static makeCurrent(){Gu(new e)}onAndCancel(n,t,r,o){return n.addEventListener(t,r,o),()=>{n.removeEventListener(t,r,o)}}dispatchEvent(n,t){n.dispatchEvent(t)}remove(n){n.remove()}createElement(n,t){return t=t||this.getDefaultDocument(),t.createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,t){return t==="window"?window:t==="document"?n:t==="body"?n.body:null}getBaseHref(n){let t=TC();return t==null?null:SC(t)}resetBaseElement(){fo=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return ao(document.cookie,n)}},fo=null;function TC(){return fo=fo||document.head.querySelector("base"),fo?fo.getAttribute("href"):null}function SC(e){return new URL(e,document.baseURI).pathname}var _s=class{addToWindow(n){se.getAngularTestability=(r,o=!0)=>{let i=n.findTestabilityInTree(r,o);if(i==null)throw new y(5103,!1);return i},se.getAllAngularTestabilities=()=>n.getAllTestabilities(),se.getAllAngularRootElements=()=>n.getAllRootElements();let t=r=>{let o=se.getAllAngularTestabilities(),i=o.length,s=function(){i--,i==0&&r()};o.forEach(a=>{a.whenStable(s)})};se.frameworkStabilizers||(se.frameworkStabilizers=[]),se.frameworkStabilizers.push(t)}findTestabilityInTree(n,t,r){if(t==null)return null;let o=n.getTestability(t);return o??(r?rt().isShadowRoot(t)?this.findTestabilityInTree(n,t.host,!0):this.findTestabilityInTree(n,t.parentElement,!0):null)}},_C=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||e)};static \u0275prov=m({token:e,factory:e.\u0275fac})}return e})(),dg=["alt","control","meta","shift"],MC={"\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"},NC={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},fg=(()=>{class e extends co{constructor(t){super(t)}supports(t){return e.parseEventName(t)!=null}addEventListener(t,r,o,i){let s=e.parseEventName(r),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>rt().onAndCancel(t,s.domEventName,a,i))}static parseEventName(t){let r=t.toLowerCase().split("."),o=r.shift();if(r.length===0||!(o==="keydown"||o==="keyup"))return null;let i=e._normalizeKey(r.pop()),s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),dg.forEach(u=>{let l=r.indexOf(u);l>-1&&(r.splice(l,1),s+=u+".")}),s+=i,r.length!=0||i.length===0)return null;let c={};return c.domEventName=o,c.fullKey=s,c}static matchEventFullKeyCode(t,r){let o=MC[t.key]||t.key,i="";return r.indexOf("code.")>-1&&(o=t.code,i="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),dg.forEach(s=>{if(s!==o){let a=NC[s];a(t)&&(i+=s+".")}}),i+=o,i===r)}static eventCallback(t,r,o){return i=>{e.matchEventFullKeyCode(i,t)&&o.runGuarded(()=>r(i))}}static _normalizeKey(t){return t==="esc"?"escape":t}static \u0275fac=function(r){return new(r||e)(D($))};static \u0275prov=m({token:e,factory:e.\u0275fac})}return e})();function RC(){Ss.makeCurrent()}function AC(){return new Ze}function xC(){return du(document),document}var OC=[{provide:Kr,useValue:og},{provide:Zi,useValue:RC,multi:!0},{provide:$,useFactory:xC}],kC=Hu(Qp,"browser",OC);var PC=[{provide:ls,useClass:_s},{provide:us,useClass:no},{provide:no,useClass:no}],FC=[{provide:Or,useValue:"root"},{provide:Ze,useFactory:AC},{provide:Ts,useClass:Cs,multi:!0},{provide:Ts,useClass:fg,multi:!0},rl,tl,el,{provide:hn,useExisting:rl},{provide:yn,useClass:_C},[]],LC=(()=>{class e{constructor(){}static \u0275fac=function(r){return new(r||e)};static \u0275mod=et({type:e});static \u0275inj=ke({providers:[...FC,...PC],imports:[Zu,Kp]})}return e})();var vn=class e{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(n){n?typeof n=="string"?this.lazyInit=()=>{this.headers=new Map,n.split(`
`).forEach(t=>{let r=t.indexOf(":");if(r>0){let o=t.slice(0,r),i=t.slice(r+1).trim();this.addHeaderEntry(o,i)}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEach((t,r)=>{this.addHeaderEntry(r,t)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([t,r])=>{this.setHeaderEntries(t,r)})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();let t=this.headers.get(n.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,t){return this.clone({name:n,value:t,op:"a"})}set(n,t){return this.clone({name:n,value:t,op:"s"})}delete(n,t){return this.clone({name:n,value:t,op:"d"})}maybeSetNormalizedName(n,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,n)}init(){this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(t=>{this.headers.set(t,n.headers.get(t)),this.normalizedNames.set(t,n.normalizedNames.get(t))})}clone(n){let t=new e;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([n]),t}applyUpdate(n){let t=n.name.toLowerCase();switch(n.op){case"a":case"s":let r=n.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(n.name,t);let o=(n.op==="a"?this.headers.get(t):void 0)||[];o.push(...r),this.headers.set(t,o);break;case"d":let i=n.value;if(!i)this.headers.delete(t),this.normalizedNames.delete(t);else{let s=this.headers.get(t);if(!s)return;s=s.filter(a=>i.indexOf(a)===-1),s.length===0?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,s)}break}}addHeaderEntry(n,t){let r=n.toLowerCase();this.maybeSetNormalizedName(n,r),this.headers.has(r)?this.headers.get(r).push(t):this.headers.set(r,[t])}setHeaderEntries(n,t){let r=(Array.isArray(t)?t:[t]).map(i=>i.toString()),o=n.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(n,o)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>n(this.normalizedNames.get(t),this.headers.get(t)))}};var Ns=class{map=new Map;set(n,t){return this.map.set(n,t),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}},Rs=class{encodeKey(n){return hg(n)}encodeValue(n){return hg(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}};function jC(e,n){let t=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(o=>{let i=o.indexOf("="),[s,a]=i==-1?[n.decodeKey(o),""]:[n.decodeKey(o.slice(0,i)),n.decodeValue(o.slice(i+1))],c=t.get(s)||[];c.push(a),t.set(s,c)}),t}var BC=/%(\d[a-f0-9])/gi,UC={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function hg(e){return encodeURIComponent(e).replace(BC,(n,t)=>UC[t]??n)}function Ms(e){return`${e}`}var Bt=class e{map;encoder;updates=null;cloneFrom=null;constructor(n={}){if(this.encoder=n.encoder||new Rs,n.fromString){if(n.fromObject)throw new y(2805,!1);this.map=jC(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(t=>{let r=n.fromObject[t],o=Array.isArray(r)?r.map(Ms):[Ms(r)];this.map.set(t,o)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();let t=this.map.get(n);return t?t[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,t){return this.clone({param:n,value:t,op:"a"})}appendAll(n){let t=[];return Object.keys(n).forEach(r=>{let o=n[r];Array.isArray(o)?o.forEach(i=>{t.push({param:r,value:i,op:"a"})}):t.push({param:r,value:o,op:"a"})}),this.clone(t)}set(n,t){return this.clone({param:n,value:t,op:"s"})}delete(n,t){return this.clone({param:n,value:t,op:"d"})}toString(){return this.init(),this.keys().map(n=>{let t=this.encoder.encodeKey(n);return this.map.get(n).map(r=>t+"="+this.encoder.encodeValue(r)).join("&")}).filter(n=>n!=="").join("&")}clone(n){let t=new e({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat(n),t}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":let t=(n.op==="a"?this.map.get(n.param):void 0)||[];t.push(Ms(n.value)),this.map.set(n.param,t);break;case"d":if(n.value!==void 0){let r=this.map.get(n.param)||[],o=r.indexOf(Ms(n.value));o!==-1&&r.splice(o,1),r.length>0?this.map.set(n.param,r):this.map.delete(n.param)}else{this.map.delete(n.param);break}}}),this.cloneFrom=this.updates=null)}};function VC(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function pg(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function gg(e){return typeof Blob<"u"&&e instanceof Blob}function mg(e){return typeof FormData<"u"&&e instanceof FormData}function HC(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var yg="Content-Type",vg="Accept",Eg="text/plain",Ig="application/json",$C=`${Ig}, ${Eg}, */*`,ho=class e{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;referrerPolicy;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(n,t,r,o){this.url=t,this.method=n.toUpperCase();let i;if(VC(this.method)||o?(this.body=r!==void 0?r:null,i=o):i=r,i){if(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,this.keepalive=!!i.keepalive,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),i.priority&&(this.priority=i.priority),i.cache&&(this.cache=i.cache),i.credentials&&(this.credentials=i.credentials),typeof i.timeout=="number"){if(i.timeout<1||!Number.isInteger(i.timeout))throw new y(2822,"");this.timeout=i.timeout}i.mode&&(this.mode=i.mode),i.redirect&&(this.redirect=i.redirect),i.integrity&&(this.integrity=i.integrity),i.referrer&&(this.referrer=i.referrer),i.referrerPolicy&&(this.referrerPolicy=i.referrerPolicy),this.transferCache=i.transferCache}if(this.headers??=new vn,this.context??=new Ns,!this.params)this.params=new Bt,this.urlWithParams=t;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=t;else{let a=t.indexOf("?"),c=a===-1?"?":a<t.length-1?"&":"";this.urlWithParams=t+c+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||pg(this.body)||gg(this.body)||mg(this.body)||HC(this.body)?this.body:this.body instanceof Bt?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||mg(this.body)?null:gg(this.body)?this.body.type||null:pg(this.body)?null:typeof this.body=="string"?Eg:this.body instanceof Bt?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?Ig:null}clone(n={}){let t=n.method||this.method,r=n.url||this.url,o=n.responseType||this.responseType,i=n.keepalive??this.keepalive,s=n.priority||this.priority,a=n.cache||this.cache,c=n.mode||this.mode,u=n.redirect||this.redirect,l=n.credentials||this.credentials,d=n.referrer||this.referrer,p=n.integrity||this.integrity,f=n.referrerPolicy||this.referrerPolicy,C=n.transferCache??this.transferCache,w=n.timeout??this.timeout,E=n.body!==void 0?n.body:this.body,I=n.withCredentials??this.withCredentials,oe=n.reportProgress??this.reportProgress,St=n.headers||this.headers,Q=n.params||this.params,vr=n.context??this.context;return n.setHeaders!==void 0&&(St=Object.keys(n.setHeaders).reduce((Dr,zt)=>Dr.set(zt,n.setHeaders[zt]),St)),n.setParams&&(Q=Object.keys(n.setParams).reduce((Dr,zt)=>Dr.set(zt,n.setParams[zt]),Q)),new e(t,r,E,{params:Q,headers:St,context:vr,reportProgress:oe,responseType:o,withCredentials:I,transferCache:C,keepalive:i,cache:a,priority:s,timeout:w,mode:c,redirect:u,credentials:l,referrer:d,integrity:p,referrerPolicy:f})}},rr=(function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e})(rr||{}),or=class{headers;status;statusText;url;ok;type;redirected;responseType;constructor(n,t=200,r="OK"){this.headers=n.headers||new vn,this.status=n.status!==void 0?n.status:t,this.statusText=n.statusText||r,this.url=n.url||null,this.redirected=n.redirected,this.responseType=n.responseType,this.ok=this.status>=200&&this.status<300}},As=class e extends or{constructor(n={}){super(n)}type=rr.ResponseHeader;clone(n={}){return new e({headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}},xs=class e extends or{body;constructor(n={}){super(n),this.body=n.body!==void 0?n.body:null}type=rr.Response;clone(n={}){return new e({body:n.body!==void 0?n.body:this.body,headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0,redirected:n.redirected??this.redirected,responseType:n.responseType??this.responseType})}},po=class extends or{name="HttpErrorResponse";message;error;ok=!1;constructor(n){super(n,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${n.url||"(unknown url)"}`:this.message=`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}},zC=200,GC=204;var WC=new v("");var qC=/^\)\]\}',?\n/;var il=(()=>{class e{xhrFactory;tracingService=h(vt,{optional:!0});constructor(t){this.xhrFactory=t}maybePropagateTrace(t){return this.tracingService?.propagate?this.tracingService.propagate(t):t}handle(t){if(t.method==="JSONP")throw new y(-2800,!1);let r=this.xhrFactory;return S(null).pipe(Ce(()=>new R(i=>{let s=r.build();if(s.open(t.method,t.urlWithParams),t.withCredentials&&(s.withCredentials=!0),t.headers.forEach((E,I)=>s.setRequestHeader(E,I.join(","))),t.headers.has(vg)||s.setRequestHeader(vg,$C),!t.headers.has(yg)){let E=t.detectContentTypeHeader();E!==null&&s.setRequestHeader(yg,E)}if(t.timeout&&(s.timeout=t.timeout),t.responseType){let E=t.responseType.toLowerCase();s.responseType=E!=="json"?E:"text"}let a=t.serializeBody(),c=null,u=()=>{if(c!==null)return c;let E=s.statusText||"OK",I=new vn(s.getAllResponseHeaders()),oe=s.responseURL||t.url;return c=new As({headers:I,status:s.status,statusText:E,url:oe}),c},l=this.maybePropagateTrace(()=>{let{headers:E,status:I,statusText:oe,url:St}=u(),Q=null;I!==GC&&(Q=typeof s.response>"u"?s.responseText:s.response),I===0&&(I=Q?zC:0);let vr=I>=200&&I<300;if(t.responseType==="json"&&typeof Q=="string"){let Dr=Q;Q=Q.replace(qC,"");try{Q=Q!==""?JSON.parse(Q):null}catch(zt){Q=Dr,vr&&(vr=!1,Q={error:zt,text:Q})}}vr?(i.next(new xs({body:Q,headers:E,status:I,statusText:oe,url:St||void 0})),i.complete()):i.error(new po({error:Q,headers:E,status:I,statusText:oe,url:St||void 0}))}),d=this.maybePropagateTrace(E=>{let{url:I}=u(),oe=new po({error:E,status:s.status||0,statusText:s.statusText||"Unknown Error",url:I||void 0});i.error(oe)}),p=d;t.timeout&&(p=this.maybePropagateTrace(E=>{let{url:I}=u(),oe=new po({error:new DOMException("Request timed out","TimeoutError"),status:s.status||0,statusText:s.statusText||"Request timeout",url:I||void 0});i.error(oe)}));let f=!1,C=this.maybePropagateTrace(E=>{f||(i.next(u()),f=!0);let I={type:rr.DownloadProgress,loaded:E.loaded};E.lengthComputable&&(I.total=E.total),t.responseType==="text"&&s.responseText&&(I.partialText=s.responseText),i.next(I)}),w=this.maybePropagateTrace(E=>{let I={type:rr.UploadProgress,loaded:E.loaded};E.lengthComputable&&(I.total=E.total),i.next(I)});return s.addEventListener("load",l),s.addEventListener("error",d),s.addEventListener("timeout",p),s.addEventListener("abort",d),t.reportProgress&&(s.addEventListener("progress",C),a!==null&&s.upload&&s.upload.addEventListener("progress",w)),s.send(a),i.next({type:rr.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",l),s.removeEventListener("timeout",p),t.reportProgress&&(s.removeEventListener("progress",C),a!==null&&s.upload&&s.upload.removeEventListener("progress",w)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(r){return new(r||e)(D(yn))};static \u0275prov=m({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Cg(e,n){return n(e)}function ZC(e,n){return(t,r)=>n.intercept(t,{handle:o=>e(o,r)})}function YC(e,n,t){return(r,o)=>q(t,()=>n(r,i=>e(i,o)))}var wg=new v(""),sl=new v("",{factory:()=>[]}),QC=new v(""),al=new v("",{factory:()=>!0});function KC(){let e=null;return(n,t)=>{e===null&&(e=(h(wg,{optional:!0})??[]).reduceRight(ZC,Cg));let r=h(Vr);if(h(al)){let i=r.add();return e(n,t).pipe(Pn(i))}else return e(n,t)}}var cl=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=m({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=D(il),o},providedIn:"root"})}return e})();var Os=(()=>{class e{backend;injector;chain=null;pendingTasks=h(Vr);contributeToStability=h(al);constructor(t,r){this.backend=t,this.injector=r}handle(t){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(sl),...this.injector.get(QC,[])]));this.chain=r.reduceRight((o,i)=>YC(o,i,this.injector),Cg)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(t,o=>this.backend.handle(o)).pipe(Pn(r))}else return this.chain(t,r=>this.backend.handle(r))}static \u0275fac=function(r){return new(r||e)(D(cl),D(H))};static \u0275prov=m({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),ul=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=m({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=D(Os),o},providedIn:"root"})}return e})();function ol(e,n){return{body:n,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,credentials:e.credentials,transferCache:e.transferCache,timeout:e.timeout,keepalive:e.keepalive,priority:e.priority,cache:e.cache,mode:e.mode,redirect:e.redirect,integrity:e.integrity,referrer:e.referrer,referrerPolicy:e.referrerPolicy}}var JC=(()=>{class e{handler;constructor(t){this.handler=t}request(t,r,o={}){let i;if(t instanceof ho)i=t;else{let c;o.headers instanceof vn?c=o.headers:c=new vn(o.headers);let u;o.params&&(o.params instanceof Bt?u=o.params:u=new Bt({fromObject:o.params})),i=new ho(t,r,o.body!==void 0?o.body:null,{headers:c,context:o.context,params:u,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache,keepalive:o.keepalive,priority:o.priority,cache:o.cache,mode:o.mode,redirect:o.redirect,credentials:o.credentials,referrer:o.referrer,referrerPolicy:o.referrerPolicy,integrity:o.integrity,timeout:o.timeout})}let s=S(i).pipe(Mt(c=>this.handler.handle(c)));if(t instanceof ho||o.observe==="events")return s;let a=s.pipe(me(c=>c instanceof xs));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(U(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new y(2806,!1);return c.body}));case"blob":return a.pipe(U(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new y(2807,!1);return c.body}));case"text":return a.pipe(U(c=>{if(c.body!==null&&typeof c.body!="string")throw new y(2808,!1);return c.body}));default:return a.pipe(U(c=>c.body))}case"response":return a;default:throw new y(2809,!1)}}delete(t,r={}){return this.request("DELETE",t,r)}get(t,r={}){return this.request("GET",t,r)}head(t,r={}){return this.request("HEAD",t,r)}jsonp(t,r){return this.request("JSONP",t,{params:new Bt().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,r={}){return this.request("OPTIONS",t,r)}patch(t,r,o={}){return this.request("PATCH",t,ol(o,r))}post(t,r,o={}){return this.request("POST",t,ol(o,r))}put(t,r,o={}){return this.request("PUT",t,ol(o,r))}static \u0275fac=function(r){return new(r||e)(D(ul))};static \u0275prov=m({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var XC=new v("",{factory:()=>!0}),ew="XSRF-TOKEN",tw=new v("",{factory:()=>ew}),nw="X-XSRF-TOKEN",rw=new v("",{factory:()=>nw}),ow=(()=>{class e{cookieName=h(tw);doc=h($);lastCookieString="";lastToken=null;parseCount=0;getToken(){let t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=ao(t,this.cookieName),this.lastCookieString=t),this.lastToken}static \u0275fac=function(r){return new(r||e)};static \u0275prov=m({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),bg=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=m({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=D(ow),o},providedIn:"root"})}return e})();function iw(e,n){if(!h(XC)||e.method==="GET"||e.method==="HEAD")return n(e);try{let o=h(It).href,{origin:i}=new URL(o),{origin:s}=new URL(e.url,i);if(i!==s)return n(e)}catch(o){return n(e)}let t=h(bg).getToken(),r=h(rw);return t!=null&&!e.headers.has(r)&&(e=e.clone({headers:e.headers.set(r,t)})),n(e)}var ll=(function(e){return e[e.Interceptors=0]="Interceptors",e[e.LegacyInterceptors=1]="LegacyInterceptors",e[e.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",e[e.NoXsrfProtection=3]="NoXsrfProtection",e[e.JsonpSupport=4]="JsonpSupport",e[e.RequestsMadeViaParent=5]="RequestsMadeViaParent",e[e.Fetch=6]="Fetch",e})(ll||{});function sw(e,n){return{\u0275kind:e,\u0275providers:n}}function aw(...e){let n=[JC,Os,{provide:ul,useExisting:Os},{provide:cl,useFactory:()=>h(WC,{optional:!0})??h(il)},{provide:sl,useValue:iw,multi:!0}];for(let t of e)n.push(...t.\u0275providers);return Rt(n)}var Dg=new v("");function cw(){return sw(ll.LegacyInterceptors,[{provide:Dg,useFactory:KC},{provide:sl,useExisting:Dg,multi:!0}])}var Tg=(()=>{class e{_doc;constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}static \u0275fac=function(r){return new(r||e)(D($))};static \u0275prov=m({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var uw=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=m({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=D(lw),o},providedIn:"root"})}return e})(),lw=(()=>{class e extends uw{_doc;constructor(t){super(),this._doc=t}sanitize(t,r){if(r==null)return null;switch(t){case Ve.NONE:return r;case Ve.HTML:return mt(r,"HTML")?Ne(r):yu(this._doc,String(r)).toString();case Ve.STYLE:return mt(r,"Style")?Ne(r):r;case Ve.SCRIPT:if(mt(r,"Script"))return Ne(r);throw new y(5200,!1);case Ve.URL:return mt(r,"URL")?Ne(r):Jr(String(r));case Ve.RESOURCE_URL:if(mt(r,"ResourceURL"))return Ne(r);throw new y(5201,!1);default:throw new y(5202,!1)}}bypassSecurityTrustHtml(t){return fu(t)}bypassSecurityTrustStyle(t){return hu(t)}bypassSecurityTrustScript(t){return pu(t)}bypassSecurityTrustUrl(t){return gu(t)}bypassSecurityTrustResourceUrl(t){return mu(t)}static \u0275fac=function(r){return new(r||e)(D($))};static \u0275prov=m({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var b="primary",bo=Symbol("RouteTitle"),gl=class{params;constructor(n){this.params=n||{}}has(n){return Object.prototype.hasOwnProperty.call(this.params,n)}get(n){if(this.has(n)){let t=this.params[n];return Array.isArray(t)?t[0]:t}return null}getAll(n){if(this.has(n)){let t=this.params[n];return Array.isArray(t)?t:[t]}return[]}get keys(){return Object.keys(this.params)}};function In(e){return new gl(e)}function dl(e,n,t){for(let r=0;r<e.length;r++){let o=e[r],i=n[r];if(o[0]===":")t[o.substring(1)]=i;else if(o!==i.path)return!1}return!0}function Pg(e,n,t){let r=t.path.split("/"),o=r.indexOf("**");if(o===-1){if(r.length>e.length||t.pathMatch==="full"&&(n.hasChildren()||r.length<e.length))return null;let c={},u=e.slice(0,r.length);return dl(r,u,c)?{consumed:u,posParams:c}:null}if(o!==r.lastIndexOf("**"))return null;let i=r.slice(0,o),s=r.slice(o+1);if(i.length+s.length>e.length||t.pathMatch==="full"&&n.hasChildren()&&t.path!=="**")return null;let a={};return!dl(i,e.slice(0,i.length),a)||!dl(s,e.slice(e.length-s.length),a)?null:{consumed:e,posParams:a}}function Bs(e){return new Promise((n,t)=>{e.pipe(at()).subscribe({next:r=>n(r),error:r=>t(r)})})}function fw(e,n){if(e.length!==n.length)return!1;for(let t=0;t<e.length;++t)if(!ot(e[t],n[t]))return!1;return!0}function ot(e,n){let t=e?ml(e):void 0,r=n?ml(n):void 0;if(!t||!r||t.length!=r.length)return!1;let o;for(let i=0;i<t.length;i++)if(o=t[i],!Fg(e[o],n[o]))return!1;return!0}function ml(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}function Fg(e,n){if(Array.isArray(e)&&Array.isArray(n)){if(e.length!==n.length)return!1;let t=[...e].sort(),r=[...n].sort();return t.every((o,i)=>r[i]===o)}else return e===n}function hw(e){return e.length>0?e[e.length-1]:null}function wn(e){return Xo(e)?e:ro(e)?z(Promise.resolve(e)):S(e)}function Lg(e){return Xo(e)?Bs(e):Promise.resolve(e)}var pw={exact:Bg,subset:Ug},jg={exact:gw,subset:mw,ignored:()=>!0};function Sg(e,n,t){return pw[t.paths](e.root,n.root,t.matrixParams)&&jg[t.queryParams](e.queryParams,n.queryParams)&&!(t.fragment==="exact"&&e.fragment!==n.fragment)}function gw(e,n){return ot(e,n)}function Bg(e,n,t){if(!Dn(e.segments,n.segments)||!Fs(e.segments,n.segments,t)||e.numberOfChildren!==n.numberOfChildren)return!1;for(let r in n.children)if(!e.children[r]||!Bg(e.children[r],n.children[r],t))return!1;return!0}function mw(e,n){return Object.keys(n).length<=Object.keys(e).length&&Object.keys(n).every(t=>Fg(e[t],n[t]))}function Ug(e,n,t){return Vg(e,n,n.segments,t)}function Vg(e,n,t,r){if(e.segments.length>t.length){let o=e.segments.slice(0,t.length);return!(!Dn(o,t)||n.hasChildren()||!Fs(o,t,r))}else if(e.segments.length===t.length){if(!Dn(e.segments,t)||!Fs(e.segments,t,r))return!1;for(let o in n.children)if(!e.children[o]||!Ug(e.children[o],n.children[o],r))return!1;return!0}else{let o=t.slice(0,e.segments.length),i=t.slice(e.segments.length);return!Dn(e.segments,o)||!Fs(e.segments,o,r)||!e.children[b]?!1:Vg(e.children[b],n,i,r)}}function Fs(e,n,t){return n.every((r,o)=>jg[t](e[o].parameters,r.parameters))}var Ge=class{root;queryParams;fragment;_queryParamMap;constructor(n=new O([],{}),t={},r=null){this.root=n,this.queryParams=t,this.fragment=r}get queryParamMap(){return this._queryParamMap??=In(this.queryParams),this._queryParamMap}toString(){return Dw.serialize(this)}},O=class{segments;children;parent=null;constructor(n,t){this.segments=n,this.children=t,Object.values(t).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Ls(this)}},Ut=class{path;parameters;_parameterMap;constructor(n,t){this.path=n,this.parameters=t}get parameterMap(){return this._parameterMap??=In(this.parameters),this._parameterMap}toString(){return $g(this)}};function yw(e,n){return Dn(e,n)&&e.every((t,r)=>ot(t.parameters,n[r].parameters))}function Dn(e,n){return e.length!==n.length?!1:e.every((t,r)=>t.path===n[r].path)}function vw(e,n){let t=[];return Object.entries(e.children).forEach(([r,o])=>{r===b&&(t=t.concat(n(o,r)))}),Object.entries(e.children).forEach(([r,o])=>{r!==b&&(t=t.concat(n(o,r)))}),t}var bn=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=m({token:e,factory:()=>new wt,providedIn:"root"})}return e})(),wt=class{parse(n){let t=new vl(n);return new Ge(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(n){let t=`/${go(n.root,!0)}`,r=Cw(n.queryParams),o=typeof n.fragment=="string"?`#${Ew(n.fragment)}`:"";return`${t}${r}${o}`}},Dw=new wt;function Ls(e){return e.segments.map(n=>$g(n)).join("/")}function go(e,n){if(!e.hasChildren())return Ls(e);if(n){let t=e.children[b]?go(e.children[b],!1):"",r=[];return Object.entries(e.children).forEach(([o,i])=>{o!==b&&r.push(`${o}:${go(i,!1)}`)}),r.length>0?`${t}(${r.join("//")})`:t}else{let t=vw(e,(r,o)=>o===b?[go(e.children[b],!1)]:[`${o}:${go(r,!1)}`]);return Object.keys(e.children).length===1&&e.children[b]!=null?`${Ls(e)}/${t[0]}`:`${Ls(e)}/(${t.join("//")})`}}function Hg(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function ks(e){return Hg(e).replace(/%3B/gi,";")}function Ew(e){return encodeURI(e)}function yl(e){return Hg(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function js(e){return decodeURIComponent(e)}function _g(e){return js(e.replace(/\+/g,"%20"))}function $g(e){return`${yl(e.path)}${Iw(e.parameters)}`}function Iw(e){return Object.entries(e).map(([n,t])=>`;${yl(n)}=${yl(t)}`).join("")}function Cw(e){let n=Object.entries(e).map(([t,r])=>Array.isArray(r)?r.map(o=>`${ks(t)}=${ks(o)}`).join("&"):`${ks(t)}=${ks(r)}`).filter(t=>t);return n.length?`?${n.join("&")}`:""}var ww=/^[^\/()?;#]+/;function fl(e){let n=e.match(ww);return n?n[0]:""}var bw=/^[^\/()?;=#]+/;function Tw(e){let n=e.match(bw);return n?n[0]:""}var Sw=/^[^=?&#]+/;function _w(e){let n=e.match(Sw);return n?n[0]:""}var Mw=/^[^&#]+/;function Nw(e){let n=e.match(Mw);return n?n[0]:""}var vl=class{url;remaining;constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new O([],{}):new O([],this.parseChildren())}parseQueryParams(){let n={};if(this.consumeOptional("?"))do this.parseQueryParam(n);while(this.consumeOptional("&"));return n}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let n=[];for(this.peekStartsWith("(")||n.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),n.push(this.parseSegment());let t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(n.length>0||Object.keys(t).length>0)&&(r[b]=new O(n,t)),r}parseSegment(){let n=fl(this.remaining);if(n===""&&this.peekStartsWith(";"))throw new y(4009,!1);return this.capture(n),new Ut(js(n),this.parseMatrixParams())}parseMatrixParams(){let n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){let t=Tw(this.remaining);if(!t)return;this.capture(t);let r="";if(this.consumeOptional("=")){let o=fl(this.remaining);o&&(r=o,this.capture(r))}n[js(t)]=js(r)}parseQueryParam(n){let t=_w(this.remaining);if(!t)return;this.capture(t);let r="";if(this.consumeOptional("=")){let s=Nw(this.remaining);s&&(r=s,this.capture(r))}let o=_g(t),i=_g(r);if(n.hasOwnProperty(o)){let s=n[o];Array.isArray(s)||(s=[s],n[o]=s),s.push(i)}else n[o]=i}parseParens(n){let t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let r=fl(this.remaining),o=this.remaining[r.length];if(o!=="/"&&o!==")"&&o!==";")throw new y(4010,!1);let i;r.indexOf(":")>-1?(i=r.slice(0,r.indexOf(":")),this.capture(i),this.capture(":")):n&&(i=b);let s=this.parseChildren();t[i??b]=Object.keys(s).length===1&&s[b]?s[b]:new O([],s),this.consumeOptional("//")}return t}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return this.peekStartsWith(n)?(this.remaining=this.remaining.substring(n.length),!0):!1}capture(n){if(!this.consumeOptional(n))throw new y(4011,!1)}};function zg(e){return e.segments.length>0?new O([],{[b]:e}):e}function Gg(e){let n={};for(let[r,o]of Object.entries(e.children)){let i=Gg(o);if(r===b&&i.segments.length===0&&i.hasChildren())for(let[s,a]of Object.entries(i.children))n[s]=a;else(i.segments.length>0||i.hasChildren())&&(n[r]=i)}let t=new O(e.segments,n);return Rw(t)}function Rw(e){if(e.numberOfChildren===1&&e.children[b]){let n=e.children[b];return new O(e.segments.concat(n.segments),n.children)}return e}function Vt(e){return e instanceof Ge}function Wg(e,n,t=null,r=null,o=new wt){let i=qg(e);return Zg(i,n,t,r,o)}function qg(e){let n;function t(i){let s={};for(let c of i.children){let u=t(c);s[c.outlet]=u}let a=new O(i.url,s);return i===e&&(n=a),a}let r=t(e.root),o=zg(r);return n??o}function Zg(e,n,t,r,o){let i=e;for(;i.parent;)i=i.parent;if(n.length===0)return hl(i,i,i,t,r,o);let s=Aw(n);if(s.toRoot())return hl(i,i,new O([],{}),t,r,o);let a=xw(s,i,e),c=a.processChildren?yo(a.segmentGroup,a.index,s.commands):Qg(a.segmentGroup,a.index,s.commands);return hl(i,a.segmentGroup,c,t,r,o)}function Us(e){return typeof e=="object"&&e!=null&&!e.outlets&&!e.segmentPath}function Do(e){return typeof e=="object"&&e!=null&&e.outlets}function Mg(e,n,t){e||="\u0275";let r=new Ge;return r.queryParams={[e]:n},t.parse(t.serialize(r)).queryParams[e]}function hl(e,n,t,r,o,i){let s={};for(let[u,l]of Object.entries(r??{}))s[u]=Array.isArray(l)?l.map(d=>Mg(u,d,i)):Mg(u,l,i);let a;e===n?a=t:a=Yg(e,n,t);let c=zg(Gg(a));return new Ge(c,s,o)}function Yg(e,n,t){let r={};return Object.entries(e.children).forEach(([o,i])=>{i===n?r[o]=t:r[o]=Yg(i,n,t)}),new O(e.segments,r)}var Vs=class{isAbsolute;numberOfDoubleDots;commands;constructor(n,t,r){if(this.isAbsolute=n,this.numberOfDoubleDots=t,this.commands=r,n&&r.length>0&&Us(r[0]))throw new y(4003,!1);let o=r.find(Do);if(o&&o!==hw(r))throw new y(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function Aw(e){if(typeof e[0]=="string"&&e.length===1&&e[0]==="/")return new Vs(!0,0,e);let n=0,t=!1,r=e.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===""?t=!0:a===".."?n++:a!=""&&o.push(a))}),o):[...o,i]},[]);return new Vs(t,n,r)}var sr=class{segmentGroup;processChildren;index;constructor(n,t,r){this.segmentGroup=n,this.processChildren=t,this.index=r}};function xw(e,n,t){if(e.isAbsolute)return new sr(n,!0,0);if(!t)return new sr(n,!1,NaN);if(t.parent===null)return new sr(t,!0,0);let r=Us(e.commands[0])?0:1,o=t.segments.length-1+r;return Ow(t,o,e.numberOfDoubleDots)}function Ow(e,n,t){let r=e,o=n,i=t;for(;i>o;){if(i-=o,r=r.parent,!r)throw new y(4005,!1);o=r.segments.length}return new sr(r,!1,o-i)}function kw(e){return Do(e[0])?e[0].outlets:{[b]:e}}function Qg(e,n,t){if(e??=new O([],{}),e.segments.length===0&&e.hasChildren())return yo(e,n,t);let r=Pw(e,n,t),o=t.slice(r.commandIndex);if(r.match&&r.pathIndex<e.segments.length){let i=new O(e.segments.slice(0,r.pathIndex),{});return i.children[b]=new O(e.segments.slice(r.pathIndex),e.children),yo(i,0,o)}else return r.match&&o.length===0?new O(e.segments,{}):r.match&&!e.hasChildren()?Dl(e,n,t):r.match?yo(e,0,o):Dl(e,n,t)}function yo(e,n,t){if(t.length===0)return new O(e.segments,{});{let r=kw(t),o={};if(Object.keys(r).some(i=>i!==b)&&e.children[b]&&e.numberOfChildren===1&&e.children[b].segments.length===0){let i=yo(e.children[b],n,t);return new O(e.segments,i.children)}return Object.entries(r).forEach(([i,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(o[i]=Qg(e.children[i],n,s))}),Object.entries(e.children).forEach(([i,s])=>{r[i]===void 0&&(o[i]=s)}),new O(e.segments,o)}}function Pw(e,n,t){let r=0,o=n,i={match:!1,pathIndex:0,commandIndex:0};for(;o<e.segments.length;){if(r>=t.length)return i;let s=e.segments[o],a=t[r];if(Do(a))break;let c=`${a}`,u=r<t.length-1?t[r+1]:null;if(o>0&&c===void 0)break;if(c&&u&&typeof u=="object"&&u.outlets===void 0){if(!Rg(c,u,s))return i;r+=2}else{if(!Rg(c,{},s))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}function Dl(e,n,t){let r=e.segments.slice(0,n),o=0;for(;o<t.length;){let i=t[o];if(Do(i)){let c=Fw(i.outlets);return new O(r,c)}if(o===0&&Us(t[0])){let c=e.segments[n];r.push(new Ut(c.path,Ng(t[0]))),o++;continue}let s=Do(i)?i.outlets[b]:`${i}`,a=o<t.length-1?t[o+1]:null;s&&a&&Us(a)?(r.push(new Ut(s,Ng(a))),o+=2):(r.push(new Ut(s,{})),o++)}return new O(r,{})}function Fw(e){let n={};return Object.entries(e).forEach(([t,r])=>{typeof r=="string"&&(r=[r]),r!==null&&(n[t]=Dl(new O([],{}),0,r))}),n}function Ng(e){let n={};return Object.entries(e).forEach(([t,r])=>n[t]=`${r}`),n}function Rg(e,n,t){return e==t.path&&ot(n,t.parameters)}var ar="imperative",Y=(function(e){return e[e.NavigationStart=0]="NavigationStart",e[e.NavigationEnd=1]="NavigationEnd",e[e.NavigationCancel=2]="NavigationCancel",e[e.NavigationError=3]="NavigationError",e[e.RoutesRecognized=4]="RoutesRecognized",e[e.ResolveStart=5]="ResolveStart",e[e.ResolveEnd=6]="ResolveEnd",e[e.GuardsCheckStart=7]="GuardsCheckStart",e[e.GuardsCheckEnd=8]="GuardsCheckEnd",e[e.RouteConfigLoadStart=9]="RouteConfigLoadStart",e[e.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",e[e.ChildActivationStart=11]="ChildActivationStart",e[e.ChildActivationEnd=12]="ChildActivationEnd",e[e.ActivationStart=13]="ActivationStart",e[e.ActivationEnd=14]="ActivationEnd",e[e.Scroll=15]="Scroll",e[e.NavigationSkipped=16]="NavigationSkipped",e})(Y||{}),Ee=class{id;url;constructor(n,t){this.id=n,this.url=t}},Ht=class extends Ee{type=Y.NavigationStart;navigationTrigger;restoredState;constructor(n,t,r="imperative",o=null){super(n,t),this.navigationTrigger=r,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},Ae=class extends Ee{urlAfterRedirects;type=Y.NavigationEnd;constructor(n,t,r){super(n,t),this.urlAfterRedirects=r}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},ae=(function(e){return e[e.Redirect=0]="Redirect",e[e.SupersededByNewNavigation=1]="SupersededByNewNavigation",e[e.NoDataFromResolver=2]="NoDataFromResolver",e[e.GuardRejected=3]="GuardRejected",e[e.Aborted=4]="Aborted",e})(ae||{}),ur=(function(e){return e[e.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",e[e.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",e})(ur||{}),Re=class extends Ee{reason;code;type=Y.NavigationCancel;constructor(n,t,r,o){super(n,t),this.reason=r,this.code=o}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}};function Kg(e){return e instanceof Re&&(e.code===ae.Redirect||e.code===ae.SupersededByNewNavigation)}var it=class extends Ee{reason;code;type=Y.NavigationSkipped;constructor(n,t,r,o){super(n,t),this.reason=r,this.code=o}},Cn=class extends Ee{error;target;type=Y.NavigationError;constructor(n,t,r,o){super(n,t),this.error=r,this.target=o}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},lr=class extends Ee{urlAfterRedirects;state;type=Y.RoutesRecognized;constructor(n,t,r,o){super(n,t),this.urlAfterRedirects=r,this.state=o}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Hs=class extends Ee{urlAfterRedirects;state;type=Y.GuardsCheckStart;constructor(n,t,r,o){super(n,t),this.urlAfterRedirects=r,this.state=o}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},$s=class extends Ee{urlAfterRedirects;state;shouldActivate;type=Y.GuardsCheckEnd;constructor(n,t,r,o,i){super(n,t),this.urlAfterRedirects=r,this.state=o,this.shouldActivate=i}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},zs=class extends Ee{urlAfterRedirects;state;type=Y.ResolveStart;constructor(n,t,r,o){super(n,t),this.urlAfterRedirects=r,this.state=o}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Gs=class extends Ee{urlAfterRedirects;state;type=Y.ResolveEnd;constructor(n,t,r,o){super(n,t),this.urlAfterRedirects=r,this.state=o}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ws=class{route;type=Y.RouteConfigLoadStart;constructor(n){this.route=n}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},qs=class{route;type=Y.RouteConfigLoadEnd;constructor(n){this.route=n}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Zs=class{snapshot;type=Y.ChildActivationStart;constructor(n){this.snapshot=n}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Ys=class{snapshot;type=Y.ChildActivationEnd;constructor(n){this.snapshot=n}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Qs=class{snapshot;type=Y.ActivationStart;constructor(n){this.snapshot=n}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Ks=class{snapshot;type=Y.ActivationEnd;constructor(n){this.snapshot=n}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},dr=class{routerEvent;position;anchor;scrollBehavior;type=Y.Scroll;constructor(n,t,r,o){this.routerEvent=n,this.position=t,this.anchor=r,this.scrollBehavior=o}toString(){let n=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${n}')`}},fr=class{},hr=class{url;navigationBehaviorOptions;constructor(n,t){this.url=n,this.navigationBehaviorOptions=t}};function Lw(e){return!(e instanceof fr)&&!(e instanceof hr)}var Js=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return this.route?.snapshot._environmentInjector??this.rootInjector}constructor(n){this.rootInjector=n,this.children=new Tn(this.rootInjector)}},Tn=(()=>{class e{rootInjector;contexts=new Map;constructor(t){this.rootInjector=t}onChildOutletCreated(t,r){let o=this.getOrCreateContext(t);o.outlet=r,this.contexts.set(t,o)}onChildOutletDestroyed(t){let r=this.getContext(t);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){let t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let r=this.getContext(t);return r||(r=new Js(this.rootInjector),this.contexts.set(t,r)),r}getContext(t){return this.contexts.get(t)||null}static \u0275fac=function(r){return new(r||e)(D(H))};static \u0275prov=m({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Xs=class{_root;constructor(n){this._root=n}get root(){return this._root.value}parent(n){let t=this.pathFromRoot(n);return t.length>1?t[t.length-2]:null}children(n){let t=El(n,this._root);return t?t.children.map(r=>r.value):[]}firstChild(n){let t=El(n,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(n){let t=Il(n,this._root);return t.length<2?[]:t[t.length-2].children.map(o=>o.value).filter(o=>o!==n)}pathFromRoot(n){return Il(n,this._root).map(t=>t.value)}};function El(e,n){if(e===n.value)return n;for(let t of n.children){let r=El(e,t);if(r)return r}return null}function Il(e,n){if(e===n.value)return[n];for(let t of n.children){let r=Il(e,t);if(r.length)return r.unshift(n),r}return[]}var De=class{value;children;constructor(n,t){this.value=n,this.children=t}toString(){return`TreeNode(${this.value})`}};function ir(e){let n={};return e&&e.children.forEach(t=>n[t.value.outlet]=t),n}var Eo=class extends Xs{snapshot;constructor(n,t){super(n),this.snapshot=t,Nl(this,n)}toString(){return this.snapshot.toString()}};function Jg(e,n){let t=jw(e,n),r=new X([new Ut("",{})]),o=new X({}),i=new X({}),s=new X({}),a=new X(""),c=new bt(r,o,s,a,i,b,e,t.root);return c.snapshot=t.root,new Eo(new De(c,[]),t)}function jw(e,n){let t={},r={},o={},s=new En([],t,o,"",r,b,e,null,{},n);return new Io("",new De(s,[]))}var bt=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(n,t,r,o,i,s,a,c){this.urlSubject=n,this.paramsSubject=t,this.queryParamsSubject=r,this.fragmentSubject=o,this.dataSubject=i,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(U(u=>u[bo]))??S(void 0),this.url=n,this.params=t,this.queryParams=r,this.fragment=o,this.data=i}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(U(n=>In(n))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(U(n=>In(n))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function ea(e,n,t="emptyOnly"){let r,{routeConfig:o}=e;return n!==null&&(t==="always"||o?.path===""||!n.component&&!n.routeConfig?.loadComponent)?r={params:g(g({},n.params),e.params),data:g(g({},n.data),e.data),resolve:g(g(g(g({},e.data),n.data),o?.data),e._resolvedData)}:r={params:g({},e.params),data:g({},e.data),resolve:g(g({},e.data),e._resolvedData??{})},o&&em(o)&&(r.resolve[bo]=o.title),r}var En=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;_environmentInjector;get title(){return this.data?.[bo]}constructor(n,t,r,o,i,s,a,c,u,l){this.url=n,this.params=t,this.queryParams=r,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this.routeConfig=c,this._resolve=u,this._environmentInjector=l}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??=In(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=In(this.queryParams),this._queryParamMap}toString(){let n=this.url.map(r=>r.toString()).join("/"),t=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${n}', path:'${t}')`}},Io=class extends Xs{url;constructor(n,t){super(t),this.url=n,Nl(this,t)}toString(){return Xg(this._root)}};function Nl(e,n){n.value._routerState=e,n.children.forEach(t=>Nl(e,t))}function Xg(e){let n=e.children.length>0?` { ${e.children.map(Xg).join(", ")} } `:"";return`${e.value}${n}`}function pl(e){if(e.snapshot){let n=e.snapshot,t=e._futureSnapshot;e.snapshot=t,ot(n.queryParams,t.queryParams)||e.queryParamsSubject.next(t.queryParams),n.fragment!==t.fragment&&e.fragmentSubject.next(t.fragment),ot(n.params,t.params)||e.paramsSubject.next(t.params),fw(n.url,t.url)||e.urlSubject.next(t.url),ot(n.data,t.data)||e.dataSubject.next(t.data)}else e.snapshot=e._futureSnapshot,e.dataSubject.next(e._futureSnapshot.data)}function Cl(e,n){let t=ot(e.params,n.params)&&yw(e.url,n.url),r=!e.parent!=!n.parent;return t&&!r&&(!e.parent||Cl(e.parent,n.parent))}function em(e){return typeof e.title=="string"||e.title===null}var tm=new v(""),Rl=(()=>{class e{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=b;activateEvents=new ce;deactivateEvents=new ce;attachEvents=new ce;detachEvents=new ce;routerOutletData=Wp();parentContexts=h(Tn);location=h(to);changeDetector=h(nr);inputBinder=h(To,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(t){if(t.name){let{firstChange:r,previousValue:o}=t.name;if(r)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(t){return this.parentContexts.getContext(t)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let t=this.parentContexts.getContext(this.name);t?.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.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 t=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(t.instance),t}attach(t,r){this.activated=t,this._activatedRoute=r,this.location.insert(t.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(t.instance)}deactivate(){if(this.activated){let t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,r){if(this.isActivated)throw new y(4013,!1);this._activatedRoute=t;let o=this.location,s=t.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,c=new wl(t,a,o.injector,this.routerOutletData);this.activated=o.createComponent(s,{index:o.length,injector:c,environmentInjector:r}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(r){return new(r||e)};static \u0275dir=Lt({type:e,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[Pt]})}return e})(),wl=class{route;childContexts;parent;outletData;constructor(n,t,r,o){this.route=n,this.childContexts=t,this.parent=r,this.outletData=o}get(n,t){return n===bt?this.route:n===Tn?this.childContexts:n===tm?this.outletData:this.parent.get(n,t)}},To=new v(""),Al=(()=>{class e{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(t){this.unsubscribeFromRouteData(t),this.subscribeToRouteData(t)}unsubscribeFromRouteData(t){this.outletDataSubscriptions.get(t)?.unsubscribe(),this.outletDataSubscriptions.delete(t)}subscribeToRouteData(t){let{activatedRoute:r}=t,o=ei([r.queryParams,r.params,r.data]).pipe(Ce(([i,s,a],c)=>(a=g(g(g({},i),s),a),c===0?S(a):Promise.resolve(a)))).subscribe(i=>{if(!t.isActivated||!t.activatedComponentRef||t.activatedRoute!==r||r.component===null){this.unsubscribeFromRouteData(t);return}let s=Jp(r.component);if(!s){this.unsubscribeFromRouteData(t);return}for(let{templateName:a}of s.inputs)t.activatedComponentRef.setInput(a,i[a])});this.outletDataSubscriptions.set(t,o)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=m({token:e,factory:e.\u0275fac})}return e})(),xl=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=xu({type:e,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(r,o){r&1&&ps(0,"router-outlet")},dependencies:[Rl],encapsulation:2})}return e})();function Ol(e){let n=e.children&&e.children.map(Ol),t=n?B(g({},e),{children:n}):g({},e);return!t.component&&!t.loadComponent&&(n||t.loadChildren)&&t.outlet&&t.outlet!==b&&(t.component=xl),t}function Bw(e,n,t){let r=Co(e,n._root,t?t._root:void 0);return new Eo(r,n)}function Co(e,n,t){if(t&&e.shouldReuseRoute(n.value,t.value.snapshot)){let r=t.value;r._futureSnapshot=n.value;let o=Uw(e,n,t);return new De(r,o)}else{if(e.shouldAttach(n.value)){let i=e.retrieve(n.value);if(i!==null){let s=i.route;return s.value._futureSnapshot=n.value,s.children=n.children.map(a=>Co(e,a)),s}}let r=Vw(n.value),o=n.children.map(i=>Co(e,i));return new De(r,o)}}function Uw(e,n,t){return n.children.map(r=>{for(let o of t.children)if(e.shouldReuseRoute(r.value,o.value.snapshot))return Co(e,r,o);return Co(e,r)})}function Vw(e){return new bt(new X(e.url),new X(e.params),new X(e.queryParams),new X(e.fragment),new X(e.data),e.outlet,e.component,e)}var pr=class{redirectTo;navigationBehaviorOptions;constructor(n,t){this.redirectTo=n,this.navigationBehaviorOptions=t}},nm="ngNavigationCancelingError";function ta(e,n){let{redirectTo:t,navigationBehaviorOptions:r}=Vt(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,o=rm(!1,ae.Redirect);return o.url=t,o.navigationBehaviorOptions=r,o}function rm(e,n){let t=new Error(`NavigationCancelingError: ${e||""}`);return t[nm]=!0,t.cancellationCode=n,t}function Hw(e){return om(e)&&Vt(e.url)}function om(e){return!!e&&e[nm]}var bl=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(n,t,r,o,i){this.routeReuseStrategy=n,this.futureState=t,this.currState=r,this.forwardEvent=o,this.inputBindingEnabled=i}activate(n){let t=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,r,n),pl(this.futureState.root),this.activateChildRoutes(t,r,n)}deactivateChildRoutes(n,t,r){let o=ir(t);n.children.forEach(i=>{let s=i.value.outlet;this.deactivateRoutes(i,o[s],r),delete o[s]}),Object.values(o).forEach(i=>{this.deactivateRouteAndItsChildren(i,r)})}deactivateRoutes(n,t,r){let o=n.value,i=t?t.value:null;if(o===i)if(o.component){let s=r.getContext(o.outlet);s&&this.deactivateChildRoutes(n,t,s.children)}else this.deactivateChildRoutes(n,t,r);else i&&this.deactivateRouteAndItsChildren(t,r)}deactivateRouteAndItsChildren(n,t){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,t):this.deactivateRouteAndOutlet(n,t)}detachAndStoreRouteSubtree(n,t){let r=t.getContext(n.value.outlet),o=r&&n.value.component?r.children:t,i=ir(n);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);if(r&&r.outlet){let s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:s,route:n,contexts:a})}}deactivateRouteAndOutlet(n,t){let r=t.getContext(n.value.outlet),o=r&&n.value.component?r.children:t,i=ir(n);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(n,t,r){let o=ir(t);n.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],r),this.forwardEvent(new Ks(i.value.snapshot))}),n.children.length&&this.forwardEvent(new Ys(n.value.snapshot))}activateRoutes(n,t,r){let o=n.value,i=t?t.value:null;if(pl(o),o===i)if(o.component){let s=r.getOrCreateContext(o.outlet);this.activateChildRoutes(n,t,s.children)}else this.activateChildRoutes(n,t,r);else if(o.component){let s=r.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){let a=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),pl(a.route.value),this.activateChildRoutes(n,null,s.children)}else s.attachRef=null,s.route=o,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(n,null,s.children)}else this.activateChildRoutes(n,null,r)}},na=class{path;route;constructor(n){this.path=n,this.route=this.path[this.path.length-1]}},cr=class{component;route;constructor(n,t){this.component=n,this.route=t}};function $w(e,n,t){let r=e._root,o=n?n._root:null;return mo(r,o,t,[r.value])}function zw(e){let n=e.routeConfig?e.routeConfig.canActivateChild:null;return!n||n.length===0?null:{node:e,guards:n}}function mr(e,n){let t=Symbol(),r=n.get(e,t);return r===t?typeof e=="function"&&!Ga(e)?e:n.get(e):r}function mo(e,n,t,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=ir(n);return e.children.forEach(s=>{Gw(s,i[s.value.outlet],t,r.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>vo(a,t.getContext(s),o)),o}function Gw(e,n,t,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=e.value,s=n?n.value:null,a=t?t.getContext(e.value.outlet):null;if(s&&i.routeConfig===s.routeConfig){let c=Ww(s,i,i.routeConfig.runGuardsAndResolvers);c?o.canActivateChecks.push(new na(r)):(i.data=s.data,i._resolvedData=s._resolvedData),i.component?mo(e,n,a?a.children:null,r,o):mo(e,n,t,r,o),c&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new cr(a.outlet.component,s))}else s&&vo(n,a,o),o.canActivateChecks.push(new na(r)),i.component?mo(e,null,a?a.children:null,r,o):mo(e,null,t,r,o);return o}function Ww(e,n,t){if(typeof t=="function")return q(n._environmentInjector,()=>t(e,n));switch(t){case"pathParamsChange":return!Dn(e.url,n.url);case"pathParamsOrQueryParamsChange":return!Dn(e.url,n.url)||!ot(e.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Cl(e,n)||!ot(e.queryParams,n.queryParams);default:return!Cl(e,n)}}function vo(e,n,t){let r=ir(e),o=e.value;Object.entries(r).forEach(([i,s])=>{o.component?n?vo(s,n.children.getContext(i),t):vo(s,null,t):vo(s,n,t)}),o.component?n&&n.outlet&&n.outlet.isActivated?t.canDeactivateChecks.push(new cr(n.outlet.component,o)):t.canDeactivateChecks.push(new cr(null,o)):t.canDeactivateChecks.push(new cr(null,o))}function So(e){return typeof e=="function"}function qw(e){return typeof e=="boolean"}function Zw(e){return e&&So(e.canLoad)}function Yw(e){return e&&So(e.canActivate)}function Qw(e){return e&&So(e.canActivateChild)}function Kw(e){return e&&So(e.canDeactivate)}function Jw(e){return e&&So(e.canMatch)}function im(e){return e instanceof Zt||e?.name==="EmptyError"}var Ps=Symbol("INITIAL_VALUE");function gr(){return Ce(e=>ei(e.map(n=>n.pipe(st(1),_a(Ps)))).pipe(U(n=>{for(let t of n)if(t!==!0){if(t===Ps)return Ps;if(t===!1||Xw(t))return t}return!0}),me(n=>n!==Ps),st(1)))}function Xw(e){return Vt(e)||e instanceof pr}function sm(e){return e.aborted?S(void 0).pipe(st(1)):new R(n=>{let t=()=>{n.next(),n.complete()};return e.addEventListener("abort",t),()=>e.removeEventListener("abort",t)})}function am(e){return Tr(sm(e))}function eb(e){return te(n=>{let{targetSnapshot:t,currentSnapshot:r,guards:{canActivateChecks:o,canDeactivateChecks:i}}=n;return i.length===0&&o.length===0?S(B(g({},n),{guardsResult:!0})):tb(i,t,r).pipe(te(s=>s&&qw(s)?nb(t,o,e):S(s)),U(s=>B(g({},n),{guardsResult:s})))})}function tb(e,n,t){return z(e).pipe(te(r=>ab(r.component,r.route,t,n)),at(r=>r!==!0,!0))}function nb(e,n,t){return z(n).pipe(Mt(r=>On(ob(r.route.parent,t),rb(r.route,t),sb(e,r.path),ib(e,r.route))),at(r=>r!==!0,!0))}function rb(e,n){return e!==null&&n&&n(new Qs(e)),S(!0)}function ob(e,n){return e!==null&&n&&n(new Zs(e)),S(!0)}function ib(e,n){let t=n.routeConfig?n.routeConfig.canActivate:null;if(!t||t.length===0)return S(!0);let r=t.map(o=>br(()=>{let i=n._environmentInjector,s=mr(o,i),a=Yw(s)?s.canActivate(n,e):q(i,()=>s(n,e));return wn(a).pipe(at())}));return S(r).pipe(gr())}function sb(e,n){let t=n[n.length-1],o=n.slice(0,n.length-1).reverse().map(i=>zw(i)).filter(i=>i!==null).map(i=>br(()=>{let s=i.guards.map(a=>{let c=i.node._environmentInjector,u=mr(a,c),l=Qw(u)?u.canActivateChild(t,e):q(c,()=>u(t,e));return wn(l).pipe(at())});return S(s).pipe(gr())}));return S(o).pipe(gr())}function ab(e,n,t,r){let o=n&&n.routeConfig?n.routeConfig.canDeactivate:null;if(!o||o.length===0)return S(!0);let i=o.map(s=>{let a=n._environmentInjector,c=mr(s,a),u=Kw(c)?c.canDeactivate(e,n,t,r):q(a,()=>c(e,n,t,r));return wn(u).pipe(at())});return S(i).pipe(gr())}function cb(e,n,t,r,o){let i=n.canLoad;if(i===void 0||i.length===0)return S(!0);let s=i.map(a=>{let c=mr(a,e),u=Zw(c)?c.canLoad(n,t):q(e,()=>c(n,t)),l=wn(u);return o?l.pipe(am(o)):l});return S(s).pipe(gr(),cm(r))}function cm(e){return wa(We(n=>{if(typeof n!="boolean")throw ta(e,n)}),U(n=>n===!0))}function ub(e,n,t,r,o){let i=n.canMatch;if(!i||i.length===0)return S(!0);let s=i.map(a=>{let c=mr(a,e),u=Jw(c)?c.canMatch(n,t):q(e,()=>c(n,t));return wn(u).pipe(am(o))});return S(s).pipe(gr(),cm(r))}var Ct=class e extends Error{segmentGroup;constructor(n){super(),this.segmentGroup=n||null,Object.setPrototypeOf(this,e.prototype)}},wo=class e extends Error{urlTree;constructor(n){super(),this.urlTree=n,Object.setPrototypeOf(this,e.prototype)}};function lb(e){throw new y(4e3,!1)}function db(e){throw rm(!1,ae.GuardRejected)}var Tl=class{urlSerializer;urlTree;constructor(n,t){this.urlSerializer=n,this.urlTree=t}lineralizeSegments(n,t){return F(this,null,function*(){let r=[],o=t.root;for(;;){if(r=r.concat(o.segments),o.numberOfChildren===0)return r;if(o.numberOfChildren>1||!o.children[b])throw lb(`${n.redirectTo}`);o=o.children[b]}})}applyRedirectCommands(n,t,r,o,i){return F(this,null,function*(){let s=yield fb(t,o,i);if(s instanceof Ge)throw new wo(s);let a=this.applyRedirectCreateUrlTree(s,this.urlSerializer.parse(s),n,r);if(s[0]==="/")throw new wo(a);return a})}applyRedirectCreateUrlTree(n,t,r,o){let i=this.createSegmentGroup(n,t.root,r,o);return new Ge(i,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(n,t){let r={};return Object.entries(n).forEach(([o,i])=>{if(typeof i=="string"&&i[0]===":"){let a=i.substring(1);r[o]=t[a]}else r[o]=i}),r}createSegmentGroup(n,t,r,o){let i=this.createSegments(n,t.segments,r,o),s={};return Object.entries(t.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(n,c,r,o)}),new O(i,s)}createSegments(n,t,r,o){return t.map(i=>i.path[0]===":"?this.findPosParam(n,i,o):this.findOrReturn(i,r))}findPosParam(n,t,r){let o=r[t.path.substring(1)];if(!o)throw new y(4001,!1);return o}findOrReturn(n,t){let r=0;for(let o of t){if(o.path===n.path)return t.splice(r),o;r++}return n}};function fb(e,n,t){if(typeof e=="string")return Promise.resolve(e);let r=e,{queryParams:o,fragment:i,routeConfig:s,url:a,outlet:c,params:u,data:l,title:d,paramMap:p,queryParamMap:f}=n;return Bs(wn(q(t,()=>r({params:u,data:l,queryParams:o,fragment:i,routeConfig:s,url:a,outlet:c,title:d,paramMap:p,queryParamMap:f}))))}function hb(e,n){return e.providers&&!e._injector&&(e._injector=tr(e.providers,n,`Route: ${e.path}`)),e._injector??n}function ze(e){return e.outlet||b}function pb(e,n){let t=e.filter(r=>ze(r)===n);return t.push(...e.filter(r=>ze(r)!==n)),t}var Sl={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function gb(e,n,t,r,o,i){let s=um(e,n,t);return s.matched?(r=hb(n,r),ub(r,n,t,o,i).pipe(U(a=>a===!0?s:g({},Sl)))):S(s)}function um(e,n,t){if(n.path==="")return n.pathMatch==="full"&&(e.hasChildren()||t.length>0)?g({},Sl):{matched:!0,consumedSegments:[],remainingSegments:t,parameters:{},positionalParamSegments:{}};let o=(n.matcher||Pg)(t,e,n);if(!o)return g({},Sl);let i={};Object.entries(o.posParams??{}).forEach(([a,c])=>{i[a]=c.path});let s=o.consumed.length>0?g(g({},i),o.consumed[o.consumed.length-1].parameters):i;return{matched:!0,consumedSegments:o.consumed,remainingSegments:t.slice(o.consumed.length),parameters:s,positionalParamSegments:o.posParams??{}}}function Ag(e,n,t,r){return t.length>0&&vb(e,t,r)?{segmentGroup:new O(n,yb(r,new O(t,e.children))),slicedSegments:[]}:t.length===0&&Db(e,t,r)?{segmentGroup:new O(e.segments,mb(e,t,r,e.children)),slicedSegments:t}:{segmentGroup:new O(e.segments,e.children),slicedSegments:t}}function mb(e,n,t,r){let o={};for(let i of t)if(oa(e,n,i)&&!r[ze(i)]){let s=new O([],{});o[ze(i)]=s}return g(g({},r),o)}function yb(e,n){let t={};t[b]=n;for(let r of e)if(r.path===""&&ze(r)!==b){let o=new O([],{});t[ze(r)]=o}return t}function vb(e,n,t){return t.some(r=>oa(e,n,r)&&ze(r)!==b)}function Db(e,n,t){return t.some(r=>oa(e,n,r))}function oa(e,n,t){return(e.hasChildren()||n.length>0)&&t.pathMatch==="full"?!1:t.path===""}function Eb(e,n,t){return n.length===0&&!e.children[t]}var _l=class{};function Ib(e,n,t,r,o,i,s="emptyOnly",a){return F(this,null,function*(){return new Ml(e,n,t,r,o,s,i,a).recognize()})}var Cb=31,Ml=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;abortSignal;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(n,t,r,o,i,s,a,c){this.injector=n,this.configLoader=t,this.rootComponentType=r,this.config=o,this.urlTree=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.abortSignal=c,this.applyRedirects=new Tl(this.urlSerializer,this.urlTree)}noMatchError(n){return new y(4002,`'${n.segmentGroup}'`)}recognize(){return F(this,null,function*(){let n=Ag(this.urlTree.root,[],[],this.config).segmentGroup,{children:t,rootSnapshot:r}=yield this.match(n),o=new De(r,t),i=new Io("",o),s=Wg(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,i.url=this.urlSerializer.serialize(s),{state:i,tree:s}})}match(n){return F(this,null,function*(){let t=new En([],Object.freeze({}),Object.freeze(g({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),b,this.rootComponentType,null,{},this.injector);try{return{children:yield this.processSegmentGroup(this.injector,this.config,n,b,t),rootSnapshot:t}}catch(r){if(r instanceof wo)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof Ct?this.noMatchError(r):r}})}processSegmentGroup(n,t,r,o,i){return F(this,null,function*(){if(r.segments.length===0&&r.hasChildren())return this.processChildren(n,t,r,i);let s=yield this.processSegment(n,t,r,r.segments,o,!0,i);return s instanceof De?[s]:[]})}processChildren(n,t,r,o){return F(this,null,function*(){let i=[];for(let c of Object.keys(r.children))c==="primary"?i.unshift(c):i.push(c);let s=[];for(let c of i){let u=r.children[c],l=pb(t,c),d=yield this.processSegmentGroup(n,l,u,c,o);s.push(...d)}let a=lm(s);return wb(a),a})}processSegment(n,t,r,o,i,s,a){return F(this,null,function*(){for(let c of t)try{return yield this.processSegmentAgainstRoute(c._injector??n,t,c,r,o,i,s,a)}catch(u){if(u instanceof Ct||im(u))continue;throw u}if(Eb(r,o,i))return new _l;throw new Ct(r)})}processSegmentAgainstRoute(n,t,r,o,i,s,a,c){return F(this,null,function*(){if(ze(r)!==s&&(s===b||!oa(o,i,r)))throw new Ct(o);if(r.redirectTo===void 0)return this.matchSegmentAgainstRoute(n,o,r,i,s,c);if(this.allowRedirects&&a)return this.expandSegmentAgainstRouteUsingRedirect(n,o,t,r,i,s,c);throw new Ct(o)})}expandSegmentAgainstRouteUsingRedirect(n,t,r,o,i,s,a){return F(this,null,function*(){let{matched:c,parameters:u,consumedSegments:l,positionalParamSegments:d,remainingSegments:p}=um(t,o,i);if(!c)throw new Ct(t);typeof o.redirectTo=="string"&&o.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>Cb&&(this.allowRedirects=!1));let f=new En(i,u,Object.freeze(g({},this.urlTree.queryParams)),this.urlTree.fragment,xg(o),ze(o),o.component??o._loadedComponent??null,o,Og(o),n),C=ea(f,a,this.paramsInheritanceStrategy);if(f.params=Object.freeze(C.params),f.data=Object.freeze(C.data),this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let w=yield this.applyRedirects.applyRedirectCommands(l,o.redirectTo,d,f,n),E=yield this.applyRedirects.lineralizeSegments(o,w);return this.processSegment(n,r,t,E.concat(p),s,!1,a)})}matchSegmentAgainstRoute(n,t,r,o,i,s){return F(this,null,function*(){if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let a=yield Bs(gb(t,r,o,n,this.urlSerializer,this.abortSignal));if(r.path==="**"&&(t.children={}),!a?.matched)throw new Ct(t);n=r._injector??n;let{routes:c}=yield this.getChildConfig(n,r,o),u=r._loadedInjector??n,{parameters:l,consumedSegments:d,remainingSegments:p}=a,f=new En(d,l,Object.freeze(g({},this.urlTree.queryParams)),this.urlTree.fragment,xg(r),ze(r),r.component??r._loadedComponent??null,r,Og(r),n),C=ea(f,s,this.paramsInheritanceStrategy);f.params=Object.freeze(C.params),f.data=Object.freeze(C.data);let{segmentGroup:w,slicedSegments:E}=Ag(t,d,p,c);if(E.length===0&&w.hasChildren()){let St=yield this.processChildren(u,c,w,f);return new De(f,St)}if(c.length===0&&E.length===0)return new De(f,[]);let I=ze(r)===i,oe=yield this.processSegment(u,c,w,E,I?b:i,!0,f);return new De(f,oe instanceof De?[oe]:[])})}getChildConfig(n,t,r){return F(this,null,function*(){if(t.children)return{routes:t.children,injector:n};if(t.loadChildren){if(t._loadedRoutes!==void 0){let i=t._loadedNgModuleFactory;return i&&!t._loadedInjector&&(t._loadedInjector=i.create(n).injector),{routes:t._loadedRoutes,injector:t._loadedInjector}}if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);if(yield Bs(cb(n,t,r,this.urlSerializer,this.abortSignal))){let i=yield this.configLoader.loadChildren(n,t);return t._loadedRoutes=i.routes,t._loadedInjector=i.injector,t._loadedNgModuleFactory=i.factory,i}throw db(t)}return{routes:[],injector:n}})}};function wb(e){e.sort((n,t)=>n.value.outlet===b?-1:t.value.outlet===b?1:n.value.outlet.localeCompare(t.value.outlet))}function bb(e){let n=e.value.routeConfig;return n&&n.path===""}function lm(e){let n=[],t=new Set;for(let r of e){if(!bb(r)){n.push(r);continue}let o=n.find(i=>r.value.routeConfig===i.value.routeConfig);o!==void 0?(o.children.push(...r.children),t.add(o)):n.push(r)}for(let r of t){let o=lm(r.children);n.push(new De(r.value,o))}return n.filter(r=>!t.has(r))}function xg(e){return e.data||{}}function Og(e){return e.resolve||{}}function Tb(e,n,t,r,o,i,s){return te(a=>F(null,null,function*(){let{state:c,tree:u}=yield Ib(e,n,t,r,a.extractedUrl,o,i,s);return B(g({},a),{targetSnapshot:c,urlAfterRedirects:u})}))}function Sb(e){return te(n=>{let{targetSnapshot:t,guards:{canActivateChecks:r}}=n;if(!r.length)return S(n);let o=new Set(r.map(a=>a.route)),i=new Set;for(let a of o)if(!i.has(a))for(let c of dm(a))i.add(c);let s=0;return z(i).pipe(Mt(a=>o.has(a)?_b(a,t,e):(a.data=ea(a,a.parent,e).resolve,S(void 0))),We(()=>s++),ti(1),te(a=>s===i.size?S(n):ee))})}function dm(e){let n=e.children.map(t=>dm(t)).flat();return[e,...n]}function _b(e,n,t){let r=e.routeConfig,o=e._resolve;return r?.title!==void 0&&!em(r)&&(o[bo]=r.title),br(()=>(e.data=ea(e,e.parent,t).resolve,Mb(o,e,n).pipe(U(i=>(e._resolvedData=i,e.data=g(g({},e.data),i),null)))))}function Mb(e,n,t){let r=ml(e);if(r.length===0)return S({});let o={};return z(r).pipe(te(i=>Nb(e[i],n,t).pipe(at(),We(s=>{if(s instanceof pr)throw ta(new wt,s);o[i]=s}))),ti(1),U(()=>o),kn(i=>im(i)?ee:Sa(i)))}function Nb(e,n,t){let r=n._environmentInjector,o=mr(e,r),i=o.resolve?o.resolve(n,t):q(r,()=>o(n,t));return wn(i)}function kg(e){return Ce(n=>{let t=e(n);return t?z(t).pipe(U(()=>n)):S(n)})}var kl=(()=>{class e{buildTitle(t){let r,o=t.root;for(;o!==void 0;)r=this.getResolvedTitleForRoute(o)??r,o=o.children.find(i=>i.outlet===b);return r}getResolvedTitleForRoute(t){return t.data[bo]}static \u0275fac=function(r){return new(r||e)};static \u0275prov=m({token:e,factory:()=>h(fm),providedIn:"root"})}return e})(),fm=(()=>{class e extends kl{title;constructor(t){super(),this.title=t}updateTitle(t){let r=this.buildTitle(t);r!==void 0&&this.title.setTitle(r)}static \u0275fac=function(r){return new(r||e)(D(Tg))};static \u0275prov=m({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),$t=new v("",{factory:()=>({})}),yr=new v(""),ia=(()=>{class e{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=h(Bu);loadComponent(t,r){return F(this,null,function*(){if(this.componentLoaders.get(r))return this.componentLoaders.get(r);if(r._loadedComponent)return Promise.resolve(r._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(r);let o=F(this,null,function*(){try{let i=yield Lg(q(t,()=>r.loadComponent())),s=yield gm(pm(i));return this.onLoadEndListener&&this.onLoadEndListener(r),r._loadedComponent=s,s}finally{this.componentLoaders.delete(r)}});return this.componentLoaders.set(r,o),o})}loadChildren(t,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return Promise.resolve({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let o=F(this,null,function*(){try{let i=yield hm(r,this.compiler,t,this.onLoadEndListener);return r._loadedRoutes=i.routes,r._loadedInjector=i.injector,r._loadedNgModuleFactory=i.factory,i}finally{this.childrenLoaders.delete(r)}});return this.childrenLoaders.set(r,o),o}static \u0275fac=function(r){return new(r||e)};static \u0275prov=m({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function hm(e,n,t,r){return F(this,null,function*(){let o=yield Lg(q(t,()=>e.loadChildren())),i=yield gm(pm(o)),s;i instanceof as||Array.isArray(i)?s=i:s=yield n.compileModuleAsync(i),r&&r(e);let a,c,u=!1,l;return Array.isArray(s)?(c=s,u=!0):(a=s.create(t).injector,l=s,c=a.get(yr,[],{optional:!0,self:!0}).flat()),{routes:c.map(Ol),injector:a,factory:l}})}function Rb(e){return e&&typeof e=="object"&&"default"in e}function pm(e){return Rb(e)?e.default:e}function gm(e){return F(this,null,function*(){return e})}var sa=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=m({token:e,factory:()=>h(Ab),providedIn:"root"})}return e})(),Ab=(()=>{class e{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,r){return t}static \u0275fac=function(r){return new(r||e)};static \u0275prov=m({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Pl=new v(""),Fl=new v("");function mm(e,n,t){let r=e.get(Fl),o=e.get($);if(!o.startViewTransition||r.skipNextTransition)return r.skipNextTransition=!1,new Promise(u=>setTimeout(u));let i,s=new Promise(u=>{i=u}),a=o.startViewTransition(()=>(i(),xb(e)));a.updateCallbackDone.catch(u=>{}),a.ready.catch(u=>{}),a.finished.catch(u=>{});let{onViewTransitionCreated:c}=r;return c&&q(e,()=>c({transition:a,from:n,to:t})),s}function xb(e){return new Promise(n=>{rs({read:()=>setTimeout(n)},{injector:e})})}var Ob=()=>{},Ll=new v(""),aa=(()=>{class e{currentNavigation=ln(null,{equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=ln(null);events=new J;transitionAbortWithErrorSubject=new J;configLoader=h(ia);environmentInjector=h(H);destroyRef=h(_e);urlSerializer=h(bn);rootContexts=h(Tn);location=h(jt);inputBindingEnabled=h(To,{optional:!0})!==null;titleStrategy=h(kl);options=h($t,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=h(sa);createViewTransition=h(Pl,{optional:!0});navigationErrorHandler=h(Ll,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>S(void 0);rootComponentType=null;destroyed=!1;constructor(){let t=o=>this.events.next(new Ws(o)),r=o=>this.events.next(new qs(o));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=t,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(t){let r=++this.navigationId;je(()=>{this.transitions?.next(B(g({},t),{extractedUrl:this.urlHandlingStrategy.extract(t.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,id:r}))})}setupNavigations(t){return this.transitions=new X(null),this.transitions.pipe(me(r=>r!==null),Ce(r=>{let o=!1,i=new AbortController,s=()=>!o&&this.currentTransition?.id===r.id;return S(r).pipe(Ce(a=>{if(this.navigationId>r.id)return this.cancelNavigationTransition(r,"",ae.SupersededByNewNavigation),ee;this.currentTransition=r;let c=this.lastSuccessfulNavigation();this.currentNavigation.set({id:a.id,initialUrl:a.rawUrl,extractedUrl:a.extractedUrl,targetBrowserUrl:typeof a.extras.browserUrl=="string"?this.urlSerializer.parse(a.extras.browserUrl):a.extras.browserUrl,trigger:a.source,extras:a.extras,previousNavigation:c?B(g({},c),{previousNavigation:null}):null,abort:()=>i.abort()});let u=!t.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),l=a.extras.onSameUrlNavigation??t.onSameUrlNavigation;if(!u&&l!=="reload")return this.events.next(new it(a.id,this.urlSerializer.serialize(a.rawUrl),"",ur.IgnoredSameUrlNavigation)),a.resolve(!1),ee;if(this.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return S(a).pipe(Ce(d=>(this.events.next(new Ht(d.id,this.urlSerializer.serialize(d.extractedUrl),d.source,d.restoredState)),d.id!==this.navigationId?ee:Promise.resolve(d))),Tb(this.environmentInjector,this.configLoader,this.rootComponentType,t.config,this.urlSerializer,this.paramsInheritanceStrategy,i.signal),We(d=>{r.targetSnapshot=d.targetSnapshot,r.urlAfterRedirects=d.urlAfterRedirects,this.currentNavigation.update(f=>(f.finalUrl=d.urlAfterRedirects,f));let p=new lr(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(p)}));if(u&&this.urlHandlingStrategy.shouldProcessUrl(a.currentRawUrl)){let{id:d,extractedUrl:p,source:f,restoredState:C,extras:w}=a,E=new Ht(d,this.urlSerializer.serialize(p),f,C);this.events.next(E);let I=Jg(this.rootComponentType,this.environmentInjector).snapshot;return this.currentTransition=r=B(g({},a),{targetSnapshot:I,urlAfterRedirects:p,extras:B(g({},w),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.update(oe=>(oe.finalUrl=p,oe)),S(r)}else return this.events.next(new it(a.id,this.urlSerializer.serialize(a.extractedUrl),"",ur.IgnoredByUrlHandlingStrategy)),a.resolve(!1),ee}),U(a=>{let c=new Hs(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);return this.events.next(c),this.currentTransition=r=B(g({},a),{guards:$w(a.targetSnapshot,a.currentSnapshot,this.rootContexts)}),r}),eb(a=>this.events.next(a)),Ce(a=>{if(r.guardsResult=a.guardsResult,a.guardsResult&&typeof a.guardsResult!="boolean")throw ta(this.urlSerializer,a.guardsResult);let c=new $s(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);if(this.events.next(c),!s())return ee;if(!a.guardsResult)return this.cancelNavigationTransition(a,"",ae.GuardRejected),ee;if(a.guards.canActivateChecks.length===0)return S(a);let u=new zs(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);if(this.events.next(u),!s())return ee;let l=!1;return S(a).pipe(Sb(this.paramsInheritanceStrategy),We({next:()=>{l=!0;let d=new Gs(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(d)},complete:()=>{l||this.cancelNavigationTransition(a,"",ae.NoDataFromResolver)}}))}),kg(a=>{let c=l=>{let d=[];if(l.routeConfig?._loadedComponent)l.component=l.routeConfig?._loadedComponent;else if(l.routeConfig?.loadComponent){let p=l._environmentInjector;d.push(this.configLoader.loadComponent(p,l.routeConfig).then(f=>{l.component=f}))}for(let p of l.children)d.push(...c(p));return d},u=c(a.targetSnapshot.root);return u.length===0?S(a):z(Promise.all(u).then(()=>a))}),kg(()=>this.afterPreactivation()),Ce(()=>{let{currentSnapshot:a,targetSnapshot:c}=r,u=this.createViewTransition?.(this.environmentInjector,a.root,c.root);return u?z(u).pipe(U(()=>r)):S(r)}),st(1),U(a=>{let c=Bw(t.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);this.currentTransition=r=a=B(g({},a),{targetRouterState:c}),this.currentNavigation.update(u=>(u.targetRouterState=c,u)),this.events.next(new fr),s()&&(new bl(t.routeReuseStrategy,r.targetRouterState,r.currentRouterState,u=>this.events.next(u),this.inputBindingEnabled).activate(this.rootContexts),s()&&(o=!0,this.currentNavigation.update(u=>(u.abort=Ob,u)),this.lastSuccessfulNavigation.set(je(this.currentNavigation)),this.events.next(new Ae(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects))),this.titleStrategy?.updateTitle(a.targetRouterState.snapshot),a.resolve(!0)))}),Tr(sm(i.signal).pipe(me(()=>!o&&!r.targetRouterState),We(()=>{this.cancelNavigationTransition(r,i.signal.reason+"",ae.Aborted)}))),We({complete:()=>{o=!0}}),Tr(this.transitionAbortWithErrorSubject.pipe(We(a=>{throw a}))),Pn(()=>{i.abort(),o||this.cancelNavigationTransition(r,"",ae.SupersededByNewNavigation),this.currentTransition?.id===r.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),kn(a=>{if(o=!0,this.destroyed)return r.resolve(!1),ee;if(om(a))this.events.next(new Re(r.id,this.urlSerializer.serialize(r.extractedUrl),a.message,a.cancellationCode)),Hw(a)?this.events.next(new hr(a.url,a.navigationBehaviorOptions)):r.resolve(!1);else{let c=new Cn(r.id,this.urlSerializer.serialize(r.extractedUrl),a,r.targetSnapshot??void 0);try{let u=q(this.environmentInjector,()=>this.navigationErrorHandler?.(c));if(u instanceof pr){let{message:l,cancellationCode:d}=ta(this.urlSerializer,u);this.events.next(new Re(r.id,this.urlSerializer.serialize(r.extractedUrl),l,d)),this.events.next(new hr(u.redirectTo,u.navigationBehaviorOptions))}else throw this.events.next(c),a}catch(u){this.options.resolveNavigationPromiseOnError?r.resolve(!1):r.reject(u)}}return ee}))}))}cancelNavigationTransition(t,r,o){let i=new Re(t.id,this.urlSerializer.serialize(t.extractedUrl),r,o);this.events.next(i),t.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let t=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),r=je(this.currentNavigation),o=r?.targetBrowserUrl??r?.extractedUrl;return t.toString()!==o?.toString()&&!r?.extras.skipLocationChange}static \u0275fac=function(r){return new(r||e)};static \u0275prov=m({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function kb(e){return e!==ar}var ym=new v("");var vm=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=m({token:e,factory:()=>h(Pb),providedIn:"root"})}return e})(),ra=class{shouldDetach(n){return!1}store(n,t){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,t){return n.routeConfig===t.routeConfig}shouldDestroyInjector(n){return!0}},Pb=(()=>{class e extends ra{static \u0275fac=(()=>{let t;return function(o){return(t||(t=Wi(e)))(o||e)}})();static \u0275prov=m({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),jl=(()=>{class e{urlSerializer=h(bn);options=h($t,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=h(jt);urlHandlingStrategy=h(sa);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new Ge;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:t,initialUrl:r,targetBrowserUrl:o}){let i=t!==void 0?this.urlHandlingStrategy.merge(t,r):r,s=o??i;return s instanceof Ge?this.urlSerializer.serialize(s):s}commitTransition({targetRouterState:t,finalUrl:r,initialUrl:o}){r&&t?(this.currentUrlTree=r,this.rawUrlTree=this.urlHandlingStrategy.merge(r,o),this.routerState=t):this.rawUrlTree=o}routerState=Jg(null,h(H));getRouterState(){return this.routerState}_stateMemento=this.createStateMemento();get stateMemento(){return this._stateMemento}updateStateMemento(){this._stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}restoredState(){return this.location.getState()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=m({token:e,factory:()=>h(Fb),providedIn:"root"})}return e})(),Fb=(()=>{class e extends jl{currentPageId=0;lastSuccessfulId=-1;get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(t){return this.location.subscribe(r=>{r.type==="popstate"&&setTimeout(()=>{t(r.url,r.state,"popstate")})})}handleRouterEvent(t,r){t instanceof Ht?this.updateStateMemento():t instanceof it?this.commitTransition(r):t instanceof lr?this.urlUpdateStrategy==="eager"&&(r.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(r),r)):t instanceof fr?(this.commitTransition(r),this.urlUpdateStrategy==="deferred"&&!r.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(r),r)):t instanceof Re&&!Kg(t)?this.restoreHistory(r):t instanceof Cn?this.restoreHistory(r,!0):t instanceof Ae&&(this.lastSuccessfulId=t.id,this.currentPageId=this.browserPageId)}setBrowserUrl(t,{extras:r,id:o}){let{replaceUrl:i,state:s}=r;if(this.location.isCurrentPathEqualTo(t)||i){let a=this.browserPageId,c=g(g({},s),this.generateNgRouterState(o,a));this.location.replaceState(t,"",c)}else{let a=g(g({},s),this.generateNgRouterState(o,this.browserPageId+1));this.location.go(t,"",a)}}restoreHistory(t,r=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,i=this.currentPageId-o;i!==0?this.location.historyGo(i):this.getCurrentUrlTree()===t.finalUrl&&i===0&&(this.resetInternalState(t),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(r&&this.resetInternalState(t),this.resetUrlToCurrentUrlTree())}resetInternalState({finalUrl:t}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(t,r){return this.canceledNavigationResolution==="computed"?{navigationId:t,\u0275routerPageId:r}:{navigationId:t}}static \u0275fac=(()=>{let t;return function(o){return(t||(t=Wi(e)))(o||e)}})();static \u0275prov=m({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function ca(e,n){e.events.pipe(me(t=>t instanceof Ae||t instanceof Re||t instanceof Cn||t instanceof it),U(t=>t instanceof Ae||t instanceof it?0:(t instanceof Re?t.code===ae.Redirect||t.code===ae.SupersededByNewNavigation:!1)?2:1),me(t=>t!==2),st(1)).subscribe(()=>{n()})}var Dm={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Em={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Tt=(()=>{class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=h(cs);stateManager=h(jl);options=h($t,{optional:!0})||{};pendingTasks=h(Je);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=h(aa);urlSerializer=h(bn);location=h(jt);urlHandlingStrategy=h(sa);injector=h(H);_events=new J;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=h(vm);injectorCleanup=h(ym,{optional:!0});onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=h(yr,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!h(To,{optional:!0});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:t=>{}}),this.subscribeToNavigationEvents()}eventsSubscription=new W;subscribeToNavigationEvents(){let t=this.navigationTransitions.events.subscribe(r=>{try{let o=this.navigationTransitions.currentTransition,i=je(this.navigationTransitions.currentNavigation);if(o!==null&&i!==null){if(this.stateManager.handleRouterEvent(r,i),r instanceof Re&&r.code!==ae.Redirect&&r.code!==ae.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof Ae)this.navigated=!0,this.injectorCleanup?.(this.routeReuseStrategy,this.routerState,this.config);else if(r instanceof hr){let s=r.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(r.url,o.currentRawUrl),c=g({scroll:o.extras.scroll,browserUrl:o.extras.browserUrl,info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:o.extras.replaceUrl||this.urlUpdateStrategy==="eager"||kb(o.source)},s);this.scheduleNavigation(a,ar,null,c,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}Lw(r)&&this._events.next(r)}catch(o){this.navigationTransitions.transitionAbortWithErrorSubject.next(o)}});this.eventsSubscription.add(t)}resetRootComponentType(t){this.routerState.root.component=t,this.navigationTransitions.rootComponentType=t}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),ar,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((t,r,o)=>{this.navigateToSyncWithBrowser(t,o,r)})}navigateToSyncWithBrowser(t,r,o){let i={replaceUrl:!0},s=o?.navigationId?o:null;if(o){let c=g({},o);delete c.navigationId,delete c.\u0275routerPageId,Object.keys(c).length!==0&&(i.state=c)}let a=this.parseUrl(t);this.scheduleNavigation(a,r,s,i).catch(c=>{this.disposed||this.injector.get(Me)(c)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return je(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(t){this.config=t.map(Ol),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription?.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0,this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(t,r={}){let{relativeTo:o,queryParams:i,fragment:s,queryParamsHandling:a,preserveFragment:c}=r,u=c?this.currentUrlTree.fragment:s,l=null;switch(a??this.options.defaultQueryParamsHandling){case"merge":l=g(g({},this.currentUrlTree.queryParams),i);break;case"preserve":l=this.currentUrlTree.queryParams;break;default:l=i||null}l!==null&&(l=this.removeEmptyProps(l));let d;try{let p=o?o.snapshot:this.routerState.snapshot.root;d=qg(p)}catch(p){(typeof t[0]!="string"||t[0][0]!=="/")&&(t=[]),d=this.currentUrlTree.root}return Zg(d,t,l,u??null,this.urlSerializer)}navigateByUrl(t,r={skipLocationChange:!1}){let o=Vt(t)?t:this.parseUrl(t),i=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(i,ar,null,r)}navigate(t,r={skipLocationChange:!1}){return Lb(t),this.navigateByUrl(this.createUrlTree(t,r),r)}serializeUrl(t){return this.urlSerializer.serialize(t)}parseUrl(t){try{return this.urlSerializer.parse(t)}catch(r){return this.console.warn(dt(4018,!1)),this.urlSerializer.parse("/")}}isActive(t,r){let o;if(r===!0?o=g({},Dm):r===!1?o=g({},Em):o=r,Vt(t))return Sg(this.currentUrlTree,t,o);let i=this.parseUrl(t);return Sg(this.currentUrlTree,i,o)}removeEmptyProps(t){return Object.entries(t).reduce((r,[o,i])=>(i!=null&&(r[o]=i),r),{})}scheduleNavigation(t,r,o,i,s){if(this.disposed)return Promise.resolve(!1);let a,c,u;s?(a=s.resolve,c=s.reject,u=s.promise):u=new Promise((d,p)=>{a=d,c=p});let l=this.pendingTasks.add();return ca(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(l))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:t,extras:i,resolve:a,reject:c,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(d=>Promise.reject(d))}static \u0275fac=function(r){return new(r||e)};static \u0275prov=m({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Lb(e){for(let n=0;n<e.length;n++)if(e[n]==null)throw new y(4008,!1)}var Im=(()=>{class e{router;route;tabIndexAttribute;renderer;el;locationStrategy;reactiveHref=ln(null);get href(){return je(this.reactiveHref)}set href(t){this.reactiveHref.set(t)}target;queryParams;fragment;queryParamsHandling;state;info;relativeTo;isAnchorElement;subscription;onChanges=new J;applicationErrorHandler=h(Me);options=h($t,{optional:!0});constructor(t,r,o,i,s,a){this.router=t,this.route=r,this.tabIndexAttribute=o,this.renderer=i,this.el=s,this.locationStrategy=a,this.reactiveHref.set(h(new ys("href"),{optional:!0}));let c=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement=c==="a"||c==="area"||!!(typeof customElements=="object"&&customElements.get(c)?.observedAttributes?.includes?.("href")),this.isAnchorElement&&(this.setTabIndexIfNotOnNativeEl("0"),this.subscribeToNavigationEventsIfNecessary())}subscribeToNavigationEventsIfNecessary(){this.subscription===void 0&&(this.subscription=this.router.events.subscribe(t=>{t instanceof Ae&&this.updateHref()}))}preserveFragment=!1;skipLocationChange=!1;replaceUrl=!1;setTabIndexIfNotOnNativeEl(t){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",t)}ngOnChanges(t){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}routerLinkInput=null;set routerLink(t){t==null?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(Vt(t)?this.routerLinkInput=t:this.routerLinkInput=Array.isArray(t)?t:[t],this.setTabIndexIfNotOnNativeEl("0"))}onClick(t,r,o,i,s){let a=this.urlTree;if(a===null||this.isAnchorElement&&(t!==0||r||o||i||s||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(a,c)?.catch(u=>{this.applicationErrorHandler(u)}),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let t=this.urlTree;this.reactiveHref.set(t!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(t))??"":null)}applyAttributeValue(t,r){let o=this.renderer,i=this.el.nativeElement;r!==null?o.setAttribute(i,t,r):o.removeAttribute(i,t)}get urlTree(){return this.routerLinkInput===null?null:Vt(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static \u0275fac=function(r){return new(r||e)(Dt(Tt),Dt(bt),Qr("tabindex"),Dt(er),Dt(mn),Dt($e))};static \u0275dir=Lt({type:e,selectors:[["","routerLink",""]],hostVars:2,hostBindings:function(r,o){r&1&&gs("click",function(s){return o.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),r&2&&hs("href",o.reactiveHref(),vu)("target",o.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",Et],skipLocationChange:[2,"skipLocationChange","skipLocationChange",Et],replaceUrl:[2,"replaceUrl","replaceUrl",Et],routerLink:"routerLink"},features:[Pt]})}return e})();var _o=class{};var Cm=(()=>{class e{router;injector;preloadingStrategy;loader;subscription;constructor(t,r,o,i){this.router=t,this.injector=r,this.preloadingStrategy=o,this.loader=i}setUpPreloading(){this.subscription=this.router.events.pipe(me(t=>t instanceof Ae),Mt(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription?.unsubscribe()}processRoutes(t,r){let o=[];for(let i of r){i.providers&&!i._injector&&(i._injector=tr(i.providers,t,""));let s=i._injector??t;i._loadedNgModuleFactory&&!i._loadedInjector&&(i._loadedInjector=i._loadedNgModuleFactory.create(s).injector);let a=i._loadedInjector??s;(i.loadChildren&&!i._loadedRoutes&&i.canLoad===void 0||i.loadComponent&&!i._loadedComponent)&&o.push(this.preloadConfig(s,i)),(i.children||i._loadedRoutes)&&o.push(this.processRoutes(a,i.children??i._loadedRoutes))}return z(o).pipe(xn())}preloadConfig(t,r){return this.preloadingStrategy.preload(r,()=>{if(t.destroyed)return S(null);let o;r.loadChildren&&r.canLoad===void 0?o=z(this.loader.loadChildren(t,r)):o=S(null);let i=o.pipe(te(s=>s===null?S(void 0):(r._loadedRoutes=s.routes,r._loadedInjector=s.injector,r._loadedNgModuleFactory=s.factory,this.processRoutes(s.injector??t,s.routes))));if(r.loadComponent&&!r._loadedComponent){let s=this.loader.loadComponent(t,r);return z([i,s]).pipe(xn())}else return i})}static \u0275fac=function(r){return new(r||e)(D(Tt),D(H),D(_o),D(ia))};static \u0275prov=m({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),wm=new v(""),Bb=(()=>{class e{options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource=ar;restoredId=0;store={};urlSerializer=h(bn);zone=h(V);viewportScroller=h(Qu);transitions=h(aa);constructor(t){this.options=t,this.options.scrollPositionRestoration||="disabled",this.options.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(t=>{t instanceof Ht?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof Ae?(this.lastId=t.id,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.urlAfterRedirects).fragment)):t instanceof it&&t.code===ur.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(t=>{if(!(t instanceof dr)||t.scrollBehavior==="manual")return;let r={behavior:"instant"};t.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0],r):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(t.position,r):t.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(t.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0])})}scheduleScrollEvent(t,r){let o=je(this.transitions.currentNavigation)?.extras.scroll;this.zone.runOutsideAngular(()=>F(this,null,function*(){yield new Promise(i=>{setTimeout(i),typeof requestAnimationFrame<"u"&&requestAnimationFrame(i)}),this.zone.run(()=>{this.transitions.events.next(new dr(t,this.lastSource==="popstate"?this.store[this.restoredId]:null,r,o))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(r){Ru()};static \u0275prov=m({token:e,factory:e.\u0275fac})}return e})();function Ub(){return h(Tt).routerState.root}function Mo(e,n){return{\u0275kind:e,\u0275providers:n}}function Vb(){let e=h(re);return n=>{let t=e.get(tt);if(n!==t.components[0])return;let r=e.get(Tt),o=e.get(bm);e.get(Ul)===1&&r.initialNavigation(),e.get(_m,null,{optional:!0})?.setUpPreloading(),e.get(wm,null,{optional:!0})?.init(),r.resetRootComponentType(t.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}var bm=new v("",{factory:()=>new J}),Ul=new v("",{factory:()=>1});function Tm(){let e=[{provide:Ji,useValue:!0},{provide:Ul,useValue:0},ds(()=>{let n=h(re);return n.get(Wu,Promise.resolve()).then(()=>new Promise(r=>{let o=n.get(Tt),i=n.get(bm);ca(o,()=>{r(!0)}),n.get(aa).afterPreactivation=()=>(r(!0),i.closed?S(void 0):i),o.initialNavigation()}))})];return Mo(2,e)}function Sm(){let e=[ds(()=>{h(Tt).setUpLocationChangeListener()}),{provide:Ul,useValue:2}];return Mo(3,e)}var _m=new v("");function Mm(e){return Mo(0,[{provide:_m,useExisting:Cm},{provide:_o,useExisting:e}])}function Nm(){return Mo(8,[Al,{provide:To,useExisting:Al}])}function Rm(e){Ft("NgRouterViewTransitions");let n=[{provide:Pl,useValue:mm},{provide:Fl,useValue:g({skipNextTransition:!!e?.skipInitialTransition},e)}];return Mo(9,n)}var Am=[jt,{provide:bn,useClass:wt},Tt,Tn,{provide:bt,useFactory:Ub},ia,[]],Hb=(()=>{class e{constructor(){}static forRoot(t,r){return{ngModule:e,providers:[Am,[],{provide:yr,multi:!0,useValue:t},[],r?.errorHandler?{provide:Ll,useValue:r.errorHandler}:[],{provide:$t,useValue:r||{}},r?.useHash?zb():Gb(),$b(),r?.preloadingStrategy?Mm(r.preloadingStrategy).\u0275providers:[],r?.initialNavigation?Wb(r):[],r?.bindToComponentInputs?Nm().\u0275providers:[],r?.enableViewTransitions?Rm().\u0275providers:[],qb()]}}static forChild(t){return{ngModule:e,providers:[{provide:yr,multi:!0,useValue:t}]}}static \u0275fac=function(r){return new(r||e)};static \u0275mod=et({type:e});static \u0275inj=ke({})}return e})();function $b(){return{provide:wm,useFactory:()=>{let e=h(Qu),n=h($t);return n.scrollOffset&&e.setOffset(n.scrollOffset),new Bb(n)}}}function zb(){return{provide:$e,useClass:qu}}function Gb(){return{provide:$e,useClass:Is}}function Wb(e){return[e.initialNavigation==="disabled"?Sm().\u0275providers:[],e.initialNavigation==="enabledBlocking"?Tm().\u0275providers:[]]}var Bl=new v("");function qb(){return[{provide:Bl,useFactory:Vb},{provide:fs,multi:!0,useExisting:Bl}]}export{ke as a,Dt as b,xu as c,et as d,Lu as e,ju as f,ps as g,gs as h,aI as i,cI as j,SI as k,CL as l,Zu as m,rj as n,kC as o,LC as p,aw as q,cw as r,uw as s,Rl as t,Im as u,Hb as v};