6 lines
226 KiB
JavaScript
6 lines
226 KiB
JavaScript
var Em=Object.defineProperty,Im=Object.defineProperties;var wm=Object.getOwnPropertyDescriptors;var Au=Object.getOwnPropertySymbols;var Dm=Object.prototype.hasOwnProperty,bm=Object.prototype.propertyIsEnumerable;var Ou=(e,t,n)=>t in e?Em(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,v=(e,t)=>{for(var n in t||={})Dm.call(t,n)&&Ou(e,n,t[n]);if(Au)for(var n of Au(t))bm.call(t,n)&&Ou(e,n,t[n]);return e},U=(e,t)=>Im(e,wm(t));var ra;function Co(){return ra}function Le(e){let t=ra;return ra=e,t}var Pu=Symbol("NotFound");function hn(e){return e===Pu||e?.name==="\u0275NotFound"}var ae=null,So=!1,oa=1,Tm=null,ce=Symbol("SIGNAL");function S(e){let t=ae;return ae=e,t}function Ro(){return ae}var gn={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 mn(e){if(So)throw new Error("");if(ae===null)return;ae.consumerOnSignalRead(e);let t=ae.producersTail;if(t!==void 0&&t.producer===e)return;let n,r=ae.recomputing;if(r&&(n=t!==void 0?t.nextProducer:ae.producers,n!==void 0&&n.producer===e)){ae.producersTail=n,n.lastReadVersion=e.version;return}let o=e.consumersTail;if(o!==void 0&&o.consumer===ae&&(!r||Sm(o,ae)))return;let i=yn(ae),s={producer:e,consumer:ae,nextProducer:n,prevConsumer:o,lastReadVersion:e.version,nextConsumer:void 0};ae.producersTail=s,t!==void 0?t.nextProducer=s:ae.producers=s,i&&ju(e,s)}function ku(){oa++}function xo(e){if(!(yn(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===oa)){if(!e.producerMustRecompute(e)&&!dr(e)){No(e);return}e.producerRecomputeValue(e),No(e)}}function ia(e){if(e.consumers===void 0)return;let t=So;So=!0;try{for(let n=e.consumers;n!==void 0;n=n.nextConsumer){let r=n.consumer;r.dirty||Cm(r)}}finally{So=t}}function sa(){return ae?.consumerAllowSignalWrites!==!1}function Cm(e){e.dirty=!0,ia(e),e.consumerMarkedDirty?.(e)}function No(e){e.dirty=!1,e.lastCleanEpoch=oa}function vn(e){return e&&Lu(e),S(e)}function Lu(e){e.producersTail=void 0,e.recomputing=!0}function ur(e,t){S(t),e&&Fu(e)}function Fu(e){e.recomputing=!1;let t=e.producersTail,n=t!==void 0?t.nextProducer:e.producers;if(n!==void 0){if(yn(e))do n=aa(n);while(n!==void 0);t!==void 0?t.nextProducer=void 0:e.producers=void 0}}function dr(e){for(let t=e.producers;t!==void 0;t=t.nextProducer){let n=t.producer,r=t.lastReadVersion;if(r!==n.version||(xo(n),r!==n.version))return!0}return!1}function fr(e){if(yn(e)){let t=e.producers;for(;t!==void 0;)t=aa(t)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function ju(e,t){let n=e.consumersTail,r=yn(e);if(n!==void 0?(t.nextConsumer=n.nextConsumer,n.nextConsumer=t):(t.nextConsumer=void 0,e.consumers=t),t.prevConsumer=n,e.consumersTail=t,!r)for(let o=e.producers;o!==void 0;o=o.nextProducer)ju(o.producer,o)}function aa(e){let t=e.producer,n=e.nextProducer,r=e.nextConsumer,o=e.prevConsumer;if(e.nextConsumer=void 0,e.prevConsumer=void 0,r!==void 0?r.prevConsumer=o:t.consumersTail=o,o!==void 0)o.nextConsumer=r;else if(t.consumers=r,!yn(t)){let i=t.producers;for(;i!==void 0;)i=aa(i)}return n}function yn(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function Ao(e){Tm?.(e)}function Sm(e,t){let n=t.producersTail;if(n!==void 0){let r=t.producers;do{if(r===e)return!0;if(r===n)break;r=r.nextProducer}while(r!==void 0)}return!1}function Oo(e,t){return Object.is(e,t)}function Po(e,t){let n=Object.create(_m);n.computation=e,t!==void 0&&(n.equal=t);let r=()=>{if(xo(n),mn(n),n.value===lr)throw n.error;return n.value};return r[ce]=n,Ao(n),r}var _o=Symbol("UNSET"),Mo=Symbol("COMPUTING"),lr=Symbol("ERRORED"),_m=U(v({},gn),{value:_o,dirty:!0,error:null,equal:Oo,kind:"computed",producerMustRecompute(e){return e.value===_o||e.value===Mo},producerRecomputeValue(e){if(e.value===Mo)throw new Error("");let t=e.value;e.value=Mo;let n=vn(e),r,o=!1;try{r=e.computation(),S(null),o=t!==_o&&t!==lr&&r!==lr&&e.equal(t,r)}catch(i){r=lr,e.error=i}finally{ur(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function Mm(){throw new Error}var Uu=Mm;function Vu(e){Uu(e)}function ca(e){Uu=e}var Nm=null;function la(e,t){let n=Object.create(ko);n.value=e,t!==void 0&&(n.equal=t);let r=()=>Hu(n);return r[ce]=n,Ao(n),[r,s=>En(n,s),s=>ua(n,s)]}function Hu(e){return mn(e),e.value}function En(e,t){sa()||Vu(e),e.equal(e.value,t)||(e.value=t,Rm(e))}function ua(e,t){sa()||Vu(e),En(e,t(e.value))}var ko=U(v({},gn),{equal:Oo,value:void 0,kind:"signal"});function Rm(e){e.version++,ku(),ia(e),Nm?.(e)}function M(e){return typeof e=="function"}function In(e){let n=e(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var Lo=In(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:
|
|
${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
|
|
`)}`:"",this.name="UnsubscriptionError",this.errors=n});function pr(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var G=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(M(r))try{r()}catch(i){t=i instanceof Lo?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{$u(i)}catch(s){t=t??[],s instanceof Lo?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Lo(t)}}add(t){var n;if(t&&t!==this)if(this.closed)$u(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}}_hasParent(t){let{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){let{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&pr(n,t)}remove(t){let{_finalizers:n}=this;n&&pr(n,t),t instanceof e&&t._removeParent(this)}};G.EMPTY=(()=>{let e=new G;return e.closed=!0,e})();var da=G.EMPTY;function Fo(e){return e instanceof G||e&&"closed"in e&&M(e.remove)&&M(e.add)&&M(e.unsubscribe)}function $u(e){M(e)?e():e.unsubscribe()}var Ne={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var wn={setTimeout(e,t,...n){let{delegate:r}=wn;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=wn;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function jo(e){wn.setTimeout(()=>{let{onUnhandledError:t}=Ne;if(t)t(e);else throw e})}function hr(){}var Bu=fa("C",void 0,void 0);function zu(e){return fa("E",void 0,e)}function Gu(e){return fa("N",e,void 0)}function fa(e,t,n){return{kind:e,value:t,error:n}}var Pt=null;function Dn(e){if(Ne.useDeprecatedSynchronousErrorHandling){let t=!Pt;if(t&&(Pt={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=Pt;if(Pt=null,n)throw r}}else e()}function qu(e){Ne.useDeprecatedSynchronousErrorHandling&&Pt&&(Pt.errorThrown=!0,Pt.error=e)}var kt=class extends G{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Fo(t)&&t.add(this)):this.destination=Om}static create(t,n,r){return new bn(t,n,r)}next(t){this.isStopped?ha(Gu(t),this):this._next(t)}error(t){this.isStopped?ha(zu(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?ha(Bu,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},xm=Function.prototype.bind;function pa(e,t){return xm.call(e,t)}var ga=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Uo(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Uo(r)}else Uo(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Uo(n)}}},bn=class extends kt{constructor(t,n,r){super();let o;if(M(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&Ne.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&pa(t.next,i),error:t.error&&pa(t.error,i),complete:t.complete&&pa(t.complete,i)}):o=t}this.destination=new ga(o)}};function Uo(e){Ne.useDeprecatedSynchronousErrorHandling?qu(e):jo(e)}function Am(e){throw e}function ha(e,t){let{onStoppedNotification:n}=Ne;n&&wn.setTimeout(()=>n(e,t))}var Om={closed:!0,next:hr,error:Am,complete:hr};var Tn=typeof Symbol=="function"&&Symbol.observable||"@@observable";function me(e){return e}function ma(...e){return va(e)}function va(e){return e.length===0?me:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var A=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=km(n)?n:new bn(n,r,o);return Dn(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return r=Wu(r),new r((o,i)=>{let s=new bn({next:a=>{try{n(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[Tn](){return this}pipe(...n){return va(n)(this)}toPromise(n){return n=Wu(n),new n((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function Wu(e){var t;return(t=e??Ne.Promise)!==null&&t!==void 0?t:Promise}function Pm(e){return e&&M(e.next)&&M(e.error)&&M(e.complete)}function km(e){return e&&e instanceof kt||Pm(e)&&Fo(e)}function ya(e){return M(e?.lift)}function P(e){return t=>{if(ya(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function O(e,t,n,r,o){return new Ea(e,t,n,r,o)}var Ea=class extends kt{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(c){t.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){t.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};function Cn(){return P((e,t)=>{let n=null;e._refCount++;let r=O(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){n=null;return}let o=e._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}var Sn=class extends A{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,ya(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){let t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new G;let n=this.getSubject();t.add(this.source.subscribe(O(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=G.EMPTY)}return t}refCount(){return Cn()(this)}};var Zu=In(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var ee=(()=>{class e extends A{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new Vo(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Zu}next(n){Dn(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){Dn(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){Dn(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){let{hasError:r,isStopped:o,observers:i}=this;return r||o?da:(this.currentObservers=null,i.push(n),new G(()=>{this.currentObservers=null,pr(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new A;return n.source=this,n}}return e.create=(t,n)=>new Vo(t,n),e})(),Vo=class extends ee{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,t)}error(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,t)}complete(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t)}_subscribe(t){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&r!==void 0?r:da}};var te=class extends ee{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}};var pe=new A(e=>e.complete());function Qu(e){return e&&M(e.schedule)}function Yu(e){return e[e.length-1]}function Ho(e){return M(Yu(e))?e.pop():void 0}function ft(e){return Qu(Yu(e))?e.pop():void 0}function Ju(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(u){try{l(r.next(u))}catch(d){s(d)}}function c(u){try{l(r.throw(u))}catch(d){s(d)}}function l(u){u.done?i(u.value):o(u.value).then(a,c)}l((r=r.apply(e,t||[])).next())})}function Ku(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Lt(e){return this instanceof Lt?(this.v=e,this):new Lt(e)}function Xu(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),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(g){return Promise.resolve(g).then(f,d)}}function a(f,g){r[f]&&(o[f]=function(D){return new Promise(function(y,m){i.push([f,D,y,m])>1||c(f,D)})},g&&(o[f]=g(o[f])))}function c(f,g){try{l(r[f](g))}catch(D){p(i[0][3],D)}}function l(f){f.value instanceof Lt?Promise.resolve(f.value.v).then(u,d):p(i[0][2],f)}function u(f){c("next",f)}function d(f){c("throw",f)}function p(f,g){f(g),i.shift(),i.length&&c(i[0][0],i[0][1])}}function ed(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof Ku=="function"?Ku(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,c){s=e[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(l){i({value:l,done:a})},s)}}var $o=e=>e&&typeof e.length=="number"&&typeof e!="function";function Bo(e){return M(e?.then)}function zo(e){return M(e[Tn])}function Go(e){return Symbol.asyncIterator&&M(e?.[Symbol.asyncIterator])}function qo(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 Lm(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Wo=Lm();function Zo(e){return M(e?.[Wo])}function Qo(e){return Xu(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield Lt(n.read());if(o)return yield Lt(void 0);yield yield Lt(r)}}finally{n.releaseLock()}})}function Yo(e){return M(e?.getReader)}function q(e){if(e instanceof A)return e;if(e!=null){if(zo(e))return Fm(e);if($o(e))return jm(e);if(Bo(e))return Um(e);if(Go(e))return td(e);if(Zo(e))return Vm(e);if(Yo(e))return Hm(e)}throw qo(e)}function Fm(e){return new A(t=>{let n=e[Tn]();if(M(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function jm(e){return new A(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function Um(e){return new A(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,jo)})}function Vm(e){return new A(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function td(e){return new A(t=>{$m(e,t).catch(n=>t.error(n))})}function Hm(e){return td(Qo(e))}function $m(e,t){var n,r,o,i;return Ju(this,void 0,void 0,function*(){try{for(n=ed(e);r=yield n.next(),!r.done;){let s=r.value;if(t.next(s),t.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})}function he(e,t,n,r=0,o=!1){let i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function Ko(e,t=0){return P((n,r)=>{n.subscribe(O(r,o=>he(r,e,()=>r.next(o),t),()=>he(r,e,()=>r.complete(),t),o=>he(r,e,()=>r.error(o),t)))})}function Jo(e,t=0){return P((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function nd(e,t){return q(e).pipe(Jo(t),Ko(t))}function rd(e,t){return q(e).pipe(Jo(t),Ko(t))}function od(e,t){return new A(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function id(e,t){return new A(n=>{let r;return he(n,t,()=>{r=e[Wo](),he(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>M(r?.return)&&r.return()})}function Xo(e,t){if(!e)throw new Error("Iterable cannot be null");return new A(n=>{he(n,t,()=>{let r=e[Symbol.asyncIterator]();he(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function sd(e,t){return Xo(Qo(e),t)}function ad(e,t){if(e!=null){if(zo(e))return nd(e,t);if($o(e))return od(e,t);if(Bo(e))return rd(e,t);if(Go(e))return Xo(e,t);if(Zo(e))return id(e,t);if(Yo(e))return sd(e,t)}throw qo(e)}function W(e,t){return t?ad(e,t):q(e)}function b(...e){let t=ft(e);return W(e,t)}function _n(e,t){let n=M(e)?e:()=>e,r=o=>o.error(n());return new A(t?o=>t.schedule(r,0,o):r)}function Ia(e){return!!e&&(e instanceof A||M(e.lift)&&M(e.subscribe))}var Qe=In(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function R(e,t){return P((n,r)=>{let o=0;n.subscribe(O(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:Bm}=Array;function zm(e,t){return Bm(t)?e(...t):e(t)}function ei(e){return R(t=>zm(e,t))}var{isArray:Gm}=Array,{getPrototypeOf:qm,prototype:Wm,keys:Zm}=Object;function ti(e){if(e.length===1){let t=e[0];if(Gm(t))return{args:t,keys:null};if(Qm(t)){let n=Zm(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function Qm(e){return e&&typeof e=="object"&&qm(e)===Wm}function ni(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function ri(...e){let t=ft(e),n=Ho(e),{args:r,keys:o}=ti(e);if(r.length===0)return W([],t);let i=new A(Ym(r,t,o?s=>ni(o,s):me));return n?i.pipe(ei(n)):i}function Ym(e,t,n=me){return r=>{cd(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)cd(t,()=>{let l=W(e[c],t),u=!1;l.subscribe(O(r,d=>{i[c]=d,u||(u=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function cd(e,t,n){e?he(n,e,t):t()}function ld(e,t,n,r,o,i,s,a){let c=[],l=0,u=0,d=!1,p=()=>{d&&!c.length&&!l&&t.complete()},f=D=>l<r?g(D):c.push(D),g=D=>{i&&t.next(D),l++;let y=!1;q(n(D,u++)).subscribe(O(t,m=>{o?.(m),i?f(m):t.next(m)},()=>{y=!0},void 0,()=>{if(y)try{for(l--;c.length&&l<r;){let m=c.shift();s?he(t,s,()=>g(m)):g(m)}p()}catch(m){t.error(m)}}))};return e.subscribe(O(t,f,()=>{d=!0,p()})),()=>{a?.()}}function Y(e,t,n=1/0){return M(t)?Y((r,o)=>R((i,s)=>t(r,i,o,s))(q(e(r,o))),n):(typeof t=="number"&&(n=t),P((r,o)=>ld(r,o,e,n)))}function ud(e=1/0){return Y(me,e)}function dd(){return ud(1)}function Mn(...e){return dd()(W(e,ft(e)))}function gr(e){return new A(t=>{q(e()).subscribe(t)})}function Km(...e){let t=Ho(e),{args:n,keys:r}=ti(e),o=new A(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),c=s,l=s;for(let u=0;u<s;u++){let d=!1;q(n[u]).subscribe(O(i,p=>{d||(d=!0,l--),a[u]=p},()=>c--,void 0,()=>{(!c||!d)&&(l||i.next(r?ni(r,a):a),i.complete())}))}});return t?o.pipe(ei(t)):o}function ge(e,t){return P((n,r)=>{let o=0;n.subscribe(O(r,i=>e.call(t,i,o++)&&r.next(i)))})}function pt(e){return P((t,n)=>{let r=null,o=!1,i;r=t.subscribe(O(n,void 0,void 0,s=>{i=q(e(s,pt(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function fd(e,t,n,r,o){return(i,s)=>{let a=n,c=t,l=0;i.subscribe(O(s,u=>{let d=l++;c=a?e(c,u,d):(a=!0,u),r&&s.next(c)},o&&(()=>{a&&s.next(c),s.complete()})))}}function ht(e,t){return M(t)?Y(e,t,1):Y(e,1)}function gt(e){return P((t,n)=>{let r=!1;t.subscribe(O(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function Ye(e){return e<=0?()=>pe:P((t,n)=>{let r=0;t.subscribe(O(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function oi(e=Jm){return P((t,n)=>{let r=!1;t.subscribe(O(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function Jm(){return new Qe}function Ft(e){return P((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function Ke(e,t){let n=arguments.length>=2;return r=>r.pipe(e?ge((o,i)=>e(o,i,r)):me,Ye(1),n?gt(t):oi(()=>new Qe))}function Nn(e){return e<=0?()=>pe:P((t,n)=>{let r=[];t.subscribe(O(n,o=>{r.push(o),e<r.length&&r.shift()},()=>{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function wa(e,t){let n=arguments.length>=2;return r=>r.pipe(e?ge((o,i)=>e(o,i,r)):me,Nn(1),n?gt(t):oi(()=>new Qe))}function Da(e,t){return P(fd(e,t,arguments.length>=2,!0))}function ba(...e){let t=ft(e);return P((n,r)=>{(t?Mn(e,n,t):Mn(e,n)).subscribe(r)})}function le(e,t){return P((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(O(r,c=>{o?.unsubscribe();let l=0,u=i++;q(e(c,u)).subscribe(o=O(r,d=>r.next(t?t(c,d,u,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function ii(e){return P((t,n)=>{q(e).subscribe(O(n,()=>n.complete(),hr)),!n.closed&&t.subscribe(n)})}function H(e,t,n){let r=M(e)||t||n?{next:e,error:t,complete:n}:e;return r?P((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(O(i,c=>{var l;(l=r.next)===null||l===void 0||l.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var l;a=!1,(l=r.error)===null||l===void 0||l.call(r,c),i.error(c)},()=>{var c,l;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(l=r.finalize)===null||l===void 0||l.call(r)}))}):me}function pd(e){let t=S(null);try{return e()}finally{S(t)}}var li="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",E=class extends Error{code;constructor(t,n){super(xn(t,n)),this.code=t}};function Xm(e){return`NG0${Math.abs(e)}`}function xn(e,t){return`${Xm(e)}${t?": "+t:""}`}var Bt=globalThis;function F(e){for(let t in e)if(e[t]===F)return t;throw Error("")}function md(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Xe(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(Xe).join(", ")}]`;if(e==null)return""+e;let t=e.overriddenName||e.name;if(t)return`${t}`;let n=e.toString();if(n==null)return""+n;let r=n.indexOf(`
|
|
`);return r>=0?n.slice(0,r):n}function ka(e,t){return e?t?`${e} ${t}`:e:t||""}var ev=F({__forward_ref__:F});function ui(e){return e.__forward_ref__=ui,e.toString=function(){return Xe(this())},e}function ne(e){return La(e)?e():e}function La(e){return typeof e=="function"&&e.hasOwnProperty(ev)&&e.__forward_ref__===ui}function w(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Er(e){return{providers:e.providers||[],imports:e.imports||[]}}function Ir(e){return tv(e,di)}function Fa(e){return Ir(e)!==null}function tv(e,t){return e.hasOwnProperty(t)&&e[t]||null}function nv(e){let t=e?.[di]??null;return t||null}function Ca(e){return e&&e.hasOwnProperty(ai)?e[ai]:null}var di=F({\u0275prov:F}),ai=F({\u0275inj:F}),I=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,n){this._desc=t,this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=w({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function ja(e){return e&&!!e.\u0275providers}var Ua=F({\u0275cmp:F}),Va=F({\u0275dir:F}),Ha=F({\u0275pipe:F}),$a=F({\u0275mod:F}),vr=F({\u0275fac:F}),zt=F({__NG_ELEMENT_ID__:F}),hd=F({__NG_ENV_ID__:F});function yt(e){return typeof e=="string"?e:e==null?"":String(e)}function vd(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():yt(e)}var yd=F({ngErrorCode:F}),rv=F({ngErrorMessage:F}),ov=F({ngTokenPath:F});function Ba(e,t){return Ed("",-200,t)}function fi(e,t){throw new E(-201,!1)}function Ed(e,t,n){let r=new E(t,e);return r[yd]=t,r[rv]=e,n&&(r[ov]=n),r}function iv(e){return e[yd]}var Sa;function Id(){return Sa}function ve(e){let t=Sa;return Sa=e,t}function za(e,t,n){let r=Ir(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&8)return null;if(t!==void 0)return t;fi(e,"Injector")}var sv={},jt=sv,av="__NG_DI_FLAG__",_a=class{injector;constructor(t){this.injector=t}retrieve(t,n){let r=Ut(n)||0;try{return this.injector.get(t,r&8?null:jt,r)}catch(o){if(hn(o))return o;throw o}}};function cv(e,t=0){let n=Co();if(n===void 0)throw new E(-203,!1);if(n===null)return za(e,void 0,t);{let r=lv(t),o=n.retrieve(e,r);if(hn(o)){if(r.optional)return null;throw o}return o}}function T(e,t=0){return(Id()||cv)(ne(e),t)}function h(e,t){return T(e,Ut(t))}function Ut(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function lv(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function Ma(e){let t=[];for(let n=0;n<e.length;n++){let r=ne(e[n]);if(Array.isArray(r)){if(r.length===0)throw new E(900,!1);let o,i=0;for(let s=0;s<r.length;s++){let a=r[s],c=uv(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(T(o,i))}else t.push(T(r))}return t}function uv(e){return e[av]}function Vt(e,t){let n=e.hasOwnProperty(vr);return n?e[vr]:null}function pi(e,t){e.forEach(n=>Array.isArray(n)?pi(n,t):t(n))}function Ga(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function wr(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function wd(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(o===1)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;){let i=o-2;e[o]=e[i],o--}e[t]=n,e[t+1]=r}}function Dd(e,t,n){let r=An(e,t);return r>=0?e[r|1]=n:(r=~r,wd(e,r,t,n)),r}function hi(e,t){let n=An(e,t);if(n>=0)return e[n|1]}function An(e,t){return dv(e,t,1)}function dv(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=e[i<<n];if(t===s)return i<<n;s>t?o=i:r=i+1}return~(o<<n)}var Et={},ye=[],et=new I(""),qa=new I("",-1),Wa=new I(""),yr=class{get(t,n=jt){if(n===jt){let o=Ed("",-201);throw o.name="\u0275NotFound",o}return n}};function Za(e){return e[$a]||null}function It(e){return e[Ua]||null}function Qa(e){return e[Va]||null}function bd(e){return e[Ha]||null}function tt(e){return{\u0275providers:e}}function Td(e){return tt([{provide:et,multi:!0,useValue:e}])}function Cd(...e){return{\u0275providers:Ya(!0,e),\u0275fromNgModule:!0}}function Ya(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return pi(t,s=>{let a=s;ci(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Sd(o,i),n}function Sd(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];Ka(o,i=>{t(i,r)})}}function ci(e,t,n,r){if(e=ne(e),!e)return!1;let o=null,i=Ca(e),s=!i&&It(e);if(!i&&!s){let c=e.ngModule;if(i=Ca(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 l of c)ci(l,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;pi(i.imports,u=>{ci(u,t,n,r)&&(l||=[],l.push(u))}),l!==void 0&&Sd(l,t)}if(!a){let l=Vt(o)||(()=>new o);t({provide:o,useFactory:l,deps:ye},o),t({provide:Wa,useValue:o,multi:!0},o),t({provide:et,useValue:()=>T(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=e;Ka(c,u=>{t(u,l)})}}else return!1;return o!==e&&e.providers!==void 0}function Ka(e,t){for(let n of e)ja(n)&&(n=n.\u0275providers),Array.isArray(n)?Ka(n,t):t(n)}var fv=F({provide:String,useValue:F});function _d(e){return e!==null&&typeof e=="object"&&fv in e}function pv(e){return!!(e&&e.useExisting)}function hv(e){return!!(e&&e.useFactory)}function Ht(e){return typeof e=="function"}function Md(e){return!!e.useClass}var Dr=new I(""),si={},gd={},Ta;function br(){return Ta===void 0&&(Ta=new yr),Ta}var K=class{},$t=class extends K{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,Ra(t,s=>this.processProvider(s)),this.records.set(qa,Rn(void 0,this)),o.has("environment")&&this.records.set(K,Rn(void 0,this));let i=this.records.get(Dr);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Wa,ye,{self:!0}))}retrieve(t,n){let r=Ut(n)||0;try{return this.get(t,jt,r)}catch(o){if(hn(o))return o;throw o}}destroy(){mr(this),this._destroyed=!0;let t=S(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),S(t)}}onDestroy(t){return mr(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){mr(this);let n=Le(this),r=ve(void 0),o;try{return t()}finally{Le(n),ve(r)}}get(t,n=jt,r){if(mr(this),t.hasOwnProperty(hd))return t[hd](this);let o=Ut(r),i,s=Le(this),a=ve(void 0);try{if(!(o&4)){let l=this.records.get(t);if(l===void 0){let u=Ev(t)&&Ir(t);u&&this.injectableDefInScope(u)?l=Rn(Na(t),si):l=null,this.records.set(t,l)}if(l!=null)return this.hydrate(t,l,o)}let c=o&2?br():this.parent;return n=o&8&&n===jt?null:n,c.get(t,n)}catch(c){let l=iv(c);throw l===-200||l===-201?new E(l,null):c}finally{ve(a),Le(s)}}resolveInjectorInitializers(){let t=S(null),n=Le(this),r=ve(void 0),o;try{let i=this.get(et,ye,{self:!0});for(let s of i)s()}finally{Le(n),ve(r),S(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(Xe(r));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=ne(t);let n=Ht(t)?t:ne(t&&t.provide),r=mv(t);if(!Ht(t)&&t.multi===!0){let o=this.records.get(n);o||(o=Rn(void 0,si,!0),o.factory=()=>Ma(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n,r){let o=S(null);try{if(n.value===gd)throw Ba(Xe(t));return n.value===si&&(n.value=gd,n.value=n.factory(void 0,r)),typeof n.value=="object"&&n.value&&yv(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{S(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=ne(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function Na(e){let t=Ir(e),n=t!==null?t.factory:Vt(e);if(n!==null)return n;if(e instanceof I)throw new E(204,!1);if(e instanceof Function)return gv(e);throw new E(204,!1)}function gv(e){if(e.length>0)throw new E(204,!1);let n=nv(e);return n!==null?()=>n.factory(e):()=>new e}function mv(e){if(_d(e))return Rn(void 0,e.useValue);{let t=Ja(e);return Rn(t,si)}}function Ja(e,t,n){let r;if(Ht(e)){let o=ne(e);return Vt(o)||Na(o)}else if(_d(e))r=()=>ne(e.useValue);else if(hv(e))r=()=>e.useFactory(...Ma(e.deps||[]));else if(pv(e))r=(o,i)=>T(ne(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=ne(e&&(e.useClass||e.provide));if(vv(e))r=()=>new o(...Ma(e.deps));else return Vt(o)||Na(o)}return r}function mr(e){if(e.destroyed)throw new E(205,!1)}function Rn(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function vv(e){return!!e.deps}function yv(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Ev(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function Ra(e,t){for(let n of e)Array.isArray(n)?Ra(n,t):n&&ja(n)?Ra(n.\u0275providers,t):t(n)}function re(e,t){let n;e instanceof $t?(mr(e),n=e):n=new _a(e);let r,o=Le(n),i=ve(void 0);try{return t()}finally{Le(o),ve(i)}}function Nd(){return Id()!==void 0||Co()!=null}var Re=0,C=1,N=2,J=3,Te=4,Ce=5,On=6,Pn=7,$=8,nt=9,Ue=10,V=11,kn=12,Xa=13,Gt=14,Ee=15,qt=16,Wt=17,Zt=18,Tr=19,ec=20,Je=21,gi=22,Cr=23,Ie=24,mi=25,Qt=26,oe=27,Rd=1,tc=6,wt=7,Sr=8,_r=9,B=10;function Ve(e){return Array.isArray(e)&&typeof e[Rd]=="object"}function xe(e){return Array.isArray(e)&&e[Rd]===!0}function nc(e){return(e.flags&4)!==0}function Dt(e){return e.componentOffset>-1}function vi(e){return(e.flags&1)===1}function He(e){return!!e.template}function Ln(e){return(e[N]&512)!==0}function Yt(e){return(e[N]&256)===256}var rc="svg",xd="math";function Se(e){for(;Array.isArray(e);)e=e[Re];return e}function oc(e,t){return Se(t[e])}function Ae(e,t){return Se(t[e.index])}function Mr(e,t){return e.data[t]}function _e(e,t){let n=t[e];return Ve(n)?n:n[Re]}function yi(e){return(e[N]&128)===128}function Ad(e){return xe(e[J])}function $e(e,t){return t==null?null:e[t]}function ic(e){e[Wt]=0}function sc(e){e[N]&1024||(e[N]|=1024,yi(e)&&Rr(e))}function Od(e,t){for(;e>0;)t=t[Gt],e--;return t}function Nr(e){return!!(e[N]&9216||e[Ie]?.dirty)}function Ei(e){e[Ue].changeDetectionScheduler?.notify(8),e[N]&64&&(e[N]|=1024),Nr(e)&&Rr(e)}function Rr(e){e[Ue].changeDetectionScheduler?.notify(0);let t=mt(e);for(;t!==null&&!(t[N]&8192||(t[N]|=8192,!yi(t)));)t=mt(t)}function ac(e,t){if(Yt(e))throw new E(911,!1);e[Je]===null&&(e[Je]=[]),e[Je].push(t)}function Pd(e,t){if(e[Je]===null)return;let n=e[Je].indexOf(t);n!==-1&&e[Je].splice(n,1)}function mt(e){let t=e[J];return xe(t)?t[J]:t}function kd(e){return e[Pn]??=[]}function Ld(e){return e.cleanup??=[]}var x={lFrame:Jd(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var xa=!1;function Fd(){return x.lFrame.elementDepthCount}function jd(){x.lFrame.elementDepthCount++}function cc(){x.lFrame.elementDepthCount--}function Ud(){return x.bindingsEnabled}function Vd(){return x.skipHydrationRootTNode!==null}function lc(e){return x.skipHydrationRootTNode===e}function uc(){x.skipHydrationRootTNode=null}function k(){return x.lFrame.lView}function ie(){return x.lFrame.tView}function Hd(e){return x.lFrame.contextLView=e,e[$]}function $d(e){return x.lFrame.contextLView=null,e}function ue(){let e=dc();for(;e!==null&&e.type===64;)e=e.parent;return e}function dc(){return x.lFrame.currentTNode}function Bd(){let e=x.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Fn(e,t){let n=x.lFrame;n.currentTNode=e,n.isParent=t}function fc(){return x.lFrame.isParent}function zd(){x.lFrame.isParent=!1}function pc(){return xa}function hc(e){let t=xa;return xa=e,t}function Gd(){return x.lFrame.bindingIndex}function qd(e){return x.lFrame.bindingIndex=e}function bt(){return x.lFrame.bindingIndex++}function gc(e){let t=x.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Wd(){return x.lFrame.inI18n}function Zd(e,t){let n=x.lFrame;n.bindingIndex=n.bindingRootIndex=e,Ii(t)}function Qd(){return x.lFrame.currentDirectiveIndex}function Ii(e){x.lFrame.currentDirectiveIndex=e}function Yd(e){let t=x.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function mc(e){x.lFrame.currentQueryIndex=e}function Iv(e){let t=e[C];return t.type===2?t.declTNode:t.type===1?e[Ce]:null}function vc(e,t,n){if(n&4){let o=t,i=e;for(;o=o.parent,o===null&&!(n&1);)if(o=Iv(i),o===null||(i=i[Gt],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=x.lFrame=Kd();return r.currentTNode=t,r.lView=e,!0}function wi(e){let t=Kd(),n=e[C];x.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Kd(){let e=x.lFrame,t=e===null?null:e.child;return t===null?Jd(e):t}function Jd(e){let t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return e!==null&&(e.child=t),t}function Xd(){let e=x.lFrame;return x.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var yc=Xd;function Di(){let e=Xd();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 ef(e){return(x.lFrame.contextLView=Od(e,x.lFrame.contextLView))[$]}function rt(){return x.lFrame.selectedIndex}function Tt(e){x.lFrame.selectedIndex=e}function xr(){let e=x.lFrame;return Mr(e.tView,e.selectedIndex)}function tf(){x.lFrame.currentNamespace=rc}function nf(){wv()}function wv(){x.lFrame.currentNamespace=null}function rf(){return x.lFrame.currentNamespace}var of=!0;function bi(){return of}function Ti(e){of=e}function Aa(e,t=null,n=null,r){let o=Ec(e,t,n,r);return o.resolveInjectorInitializers(),o}function Ec(e,t=null,n=null,r,o=new Set){let i=[n||ye,Cd(e)];return r=r||(typeof e=="object"?void 0:Xe(e)),new $t(i,t||br(),r||null,o)}var Fe=class e{static THROW_IF_NOT_FOUND=jt;static NULL=new yr;static create(t,n){if(Array.isArray(t))return Aa({name:""},n,t,"");{let r=t.name??"";return Aa({name:r},t.parent,t.providers,r)}}static \u0275prov=w({token:e,providedIn:"any",factory:()=>T(qa)});static __NG_ELEMENT_ID__=-1},Z=new I(""),Ct=(()=>{class e{static __NG_ELEMENT_ID__=Dv;static __NG_ENV_ID__=n=>n}return e})(),Oa=class extends Ct{_lView;constructor(t){super(),this._lView=t}get destroyed(){return Yt(this._lView)}onDestroy(t){let n=this._lView;return ac(n,t),()=>Pd(n,t)}};function Dv(){return new Oa(k())}var je=class{_console=console;handleError(t){this._console.error("ERROR",t)}},we=new I("",{providedIn:"root",factory:()=>{let e=h(K),t;return n=>{e.destroyed&&!t?setTimeout(()=>{throw n}):(t??=e.get(je),t.handleError(n))}}}),sf={provide:et,useValue:()=>{h(je)},multi:!0},bv=new I("",{providedIn:"root",factory:()=>{let e=h(Z).defaultView;if(!e)return;let t=h(we),n=i=>{t(i.reason),i.preventDefault()},r=i=>{i.error?t(i.error):t(new Error(i.message,{cause:i})),i.preventDefault()},o=()=>{e.addEventListener("unhandledrejection",n),e.addEventListener("error",r)};typeof Zone<"u"?Zone.root.run(o):o(),h(Ct).onDestroy(()=>{e.removeEventListener("error",r),e.removeEventListener("unhandledrejection",n)})}});function Tv(){return tt([Td(()=>{h(bv)})])}function Ic(e){return typeof e=="function"&&e[ce]!==void 0}function Kt(e,t){let[n,r,o]=la(e,t?.equal),i=n,s=i[ce];return i.set=r,i.update=o,i.asReadonly=af.bind(i),i}function af(){let e=this[ce];if(e.readonlyFn===void 0){let t=()=>this();t[ce]=e,e.readonlyFn=t}return e.readonlyFn}function wc(e){return Ic(e)&&typeof e.set=="function"}var vt=class{},Ar=new I("",{providedIn:"root",factory:()=>!1});var Dc=new I(""),bc=new I(""),Be=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new te(!1);get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new A(n=>{n.next(!1),n.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),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=w({token:e,providedIn:"root",factory:()=>new e})}return e})(),Ci=(()=>{class e{internalPendingTasks=h(Be);scheduler=h(vt);errorHandler=h(we);add(){let n=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(n)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(n))}}run(n){let r=this.add();n().catch(this.errorHandler).finally(r)}static \u0275prov=w({token:e,providedIn:"root",factory:()=>new e})}return e})();function Or(...e){}var Tc=(()=>{class e{static \u0275prov=w({token:e,providedIn:"root",factory:()=>new Pa})}return e})(),Pa=class{dirtyEffectCount=0;queues=new Map;add(t){this.enqueue(t),this.schedule(t)}schedule(t){t.dirty&&this.dirtyEffectCount++}remove(t){let n=t.zone,r=this.queues.get(n);r.has(t)&&(r.delete(t),t.dirty&&this.dirtyEffectCount--)}enqueue(t){let n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||r.add(t)}flush(){for(;this.dirtyEffectCount>0;){let t=!1;for(let[n,r]of this.queues)n===null?t||=this.flushQueue(r):t||=n.run(()=>this.flushQueue(r));t||(this.dirtyEffectCount=0)}}flushQueue(t){let n=!1;for(let r of t)r.dirty&&(this.dirtyEffectCount--,n=!0,r.run());return n}};function Hr(e){return{toString:e}.toString()}function Av(e){return typeof e=="function"}var Pi=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function Bf(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var ll=(()=>{let e=()=>zf;return e.ngInherit=!0,e})();function zf(e){return e.type.prototype.ngOnChanges&&(e.setInput=Pv),Ov}function Ov(){let e=qf(this),t=e?.current;if(t){let n=e.previous;if(n===Et)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Pv(e,t,n,r,o){let i=this.declaredInputs[r],s=qf(e)||kv(e,{previous:Et,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new Pi(l&&l.currentValue,n,c===Et),Bf(e,t,o,n)}var Gf="__ngSimpleChanges__";function qf(e){return e[Gf]||null}function kv(e,t){return e[Gf]=t}var cf=[];var j=function(e,t=null,n){for(let r=0;r<cf.length;r++){let o=cf[r];o(e,t,n)}};function Lv(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=zf(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}function Fv(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){let i=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:l,ngOnDestroy:u}=i;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),c&&(e.viewHooks??=[]).push(-n,c),l&&((e.viewHooks??=[]).push(n,l),(e.viewCheckHooks??=[]).push(n,l)),u!=null&&(e.destroyHooks??=[]).push(n,u)}}function Ri(e,t,n){Wf(e,t,3,n)}function xi(e,t,n,r){(e[N]&3)===n&&Wf(e,t,n,r)}function Cc(e,t){let n=e[N];(n&3)===t&&(n&=16383,n+=1,e[N]=n)}function Wf(e,t,n,r){let o=r!==void 0?e[Wt]&65535:0,i=r??-1,s=t.length-1,a=0;for(let c=o;c<s;c++)if(typeof t[c+1]=="number"){if(a=t[c],r!=null&&a>=r)break}else t[c]<0&&(e[Wt]+=65536),(a<i||i==-1)&&(jv(e,n,t,c),e[Wt]=(e[Wt]&4294901760)+c+2),c++}function lf(e,t){j(4,e,t);let n=S(null);try{t.call(e)}finally{S(n),j(5,e,t)}}function jv(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[N]>>14<e[Wt]>>16&&(e[N]&3)===t&&(e[N]+=16384,lf(a,i)):lf(a,i)}var Un=-1,Xt=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r,o){this.factory=t,this.name=o,this.canSeeViewProviders=n,this.injectImpl=r}};function Uv(e){return(e.flags&8)!==0}function Vv(e){return(e.flags&16)!==0}function Hv(e,t,n){let r=0;for(;r<n.length;){let o=n[r];if(typeof o=="number"){if(o!==0)break;r++;let i=n[r++],s=n[r++],a=n[r++];e.setAttribute(t,s,a,i)}else{let i=o,s=n[++r];Bv(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function $v(e){return e===3||e===4||e===6}function Bv(e){return e.charCodeAt(0)===64}function Vn(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){let o=t[r];typeof o=="number"?n=o:n===0||(n===-1||n===2?uf(e,n,o,null,t[++r]):uf(e,n,o,null,null))}}return e}function uf(e,t,n,r,o){let i=0,s=e.length;if(t===-1)s=-1;else for(;i<e.length;){let a=e[i++];if(typeof a=="number"){if(a===t){s=-1;break}else if(a>t){s=i-1;break}}}for(;i<e.length;){let a=e[i];if(typeof a=="number")break;if(a===n){o!==null&&(e[i+1]=o);return}i++,o!==null&&i++}s!==-1&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),o!==null&&e.splice(i++,0,o)}function Zf(e){return e!==Un}function ki(e){return e&32767}function zv(e){return e>>16}function Li(e,t){let n=zv(e),r=t;for(;n>0;)r=r[Gt],n--;return r}var kc=!0;function df(e){let t=kc;return kc=e,t}var Gv=256,Qf=Gv-1,Yf=5,qv=0,ze={};function Wv(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(zt)&&(r=n[zt]),r==null&&(r=n[zt]=qv++);let o=r&Qf,i=1<<o;t.data[e+(o>>Yf)]|=i}function Fi(e,t){let n=Kf(e,t);if(n!==-1)return n;let r=t[C];r.firstCreatePass&&(e.injectorIndex=t.length,Sc(r.data,e),Sc(t,null),Sc(r.blueprint,null));let o=ul(e,t),i=e.injectorIndex;if(Zf(o)){let s=ki(o),a=Li(o,t),c=a[C].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|c[s+l]}return t[i+8]=o,i}function Sc(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Kf(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function ul(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;o!==null;){if(r=np(o),r===null)return Un;if(n++,o=o[Gt],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Un}function Lc(e,t,n){Wv(e,t,n)}function Jf(e,t,n){if(n&8||e!==void 0)return e;fi(t,"NodeInjector")}function Xf(e,t,n,r){if(n&8&&r===void 0&&(r=null),(n&3)===0){let o=e[nt],i=ve(void 0);try{return o?o.get(t,r,n&8):za(t,r,n&8)}finally{ve(i)}}return Jf(r,t,n)}function ep(e,t,n,r=0,o){if(e!==null){if(t[N]&2048&&!(r&2)){let s=Jv(e,t,n,r,ze);if(s!==ze)return s}let i=tp(e,t,n,r,ze);if(i!==ze)return i}return Xf(t,n,r,o)}function tp(e,t,n,r,o){let i=Yv(n);if(typeof i=="function"){if(!vc(t,e,r))return r&1?Jf(o,n,r):Xf(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&8))fi(n);else return s}finally{yc()}}else if(typeof i=="number"){let s=null,a=Kf(e,t),c=Un,l=r&1?t[Ee][Ce]:null;for((a===-1||r&4)&&(c=a===-1?ul(e,t):t[a+8],c===Un||!pf(r,!1)?a=-1:(s=t[C],a=ki(c),t=Li(c,t)));a!==-1;){let u=t[C];if(ff(i,a,u.data)){let d=Zv(a,t,n,s,r,l);if(d!==ze)return d}c=t[a+8],c!==Un&&pf(r,t[C].data[a+8]===l)&&ff(i,a,t)?(s=u,a=ki(c),t=Li(c,t)):a=-1}}return o}function Zv(e,t,n,r,o,i){let s=t[C],a=s.data[e+8],c=r==null?Dt(a)&&kc:r!=s&&(a.type&3)!==0,l=o&1&&i===a,u=Qv(a,s,n,c,l);return u!==null?ji(t,s,u,a,o):ze}function Qv(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,c=e.directiveStart,l=e.directiveEnd,u=i>>20,d=r?a:a+u,p=o?a+u:l;for(let f=d;f<p;f++){let g=s[f];if(f<c&&n===g||f>=c&&g.type===n)return f}if(o){let f=s[c];if(f&&He(f)&&f.type===n)return c}return null}function ji(e,t,n,r,o){let i=e[n],s=t.data;if(i instanceof Xt){let a=i;if(a.resolving){let f=vd(s[n]);throw Ba(f)}let c=df(a.canSeeViewProviders);a.resolving=!0;let l=s[n].type||s[n],u,d=a.injectImpl?ve(a.injectImpl):null,p=vc(e,r,0);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&Lv(n,s[n],t)}finally{d!==null&&ve(d),df(c),a.resolving=!1,yc()}}return i}function Yv(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(zt)?e[zt]:void 0;return typeof t=="number"?t>=0?t&Qf:Kv:t}function ff(e,t,n){let r=1<<e;return!!(n[t+(e>>Yf)]&r)}function pf(e,t){return!(e&2)&&!(e&1&&t)}var Jt=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return ep(this._tNode,this._lView,t,Ut(r),n)}};function Kv(){return new Jt(ue(),k())}function es(e){return Hr(()=>{let t=e.prototype.constructor,n=t[vr]||Fc(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[vr]||Fc(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Fc(e){return La(e)?()=>{let t=Fc(ne(e));return t&&t()}:Vt(e)}function Jv(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[N]&2048&&!Ln(s);){let a=tp(i,s,n,r|2,ze);if(a!==ze)return a;let c=i.parent;if(!c){let l=s[ec];if(l){let u=l.get(n,ze,r);if(u!==ze)return u}c=np(s),s=s[Gt]}i=c}return o}function np(e){let t=e[C],n=t.type;return n===2?t.declTNode:n===1?e[Ce]:null}function Xv(){return dl(ue(),k())}function dl(e,t){return new rp(Ae(e,t))}var rp=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=Xv}return e})();function op(e){return(e.flags&128)===128}var fl=(function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e})(fl||{}),ip=new Map,ey=0;function ty(){return ey++}function ny(e){ip.set(e[Tr],e)}function jc(e){ip.delete(e[Tr])}var hf="__ngContext__";function Hn(e,t){Ve(t)?(e[hf]=t[Tr],ny(t)):e[hf]=t}function sp(e){return cp(e[kn])}function ap(e){return cp(e[Te])}function cp(e){for(;e!==null&&!xe(e);)e=e[Te];return e}var Uc;function pl(e){Uc=e}function hl(){if(Uc!==void 0)return Uc;if(typeof document<"u")return document;throw new E(210,!1)}var ts=new I("",{providedIn:"root",factory:()=>ry}),ry="ng",ns=new I(""),$r=new I("",{providedIn:"platform",factory:()=>"unknown"});var rs=new I("",{providedIn:"root",factory:()=>hl().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var oy="h",iy="b";var lp="r";var up="di";var dp=!1,fp=new I("",{providedIn:"root",factory:()=>dp});var sy=(e,t,n,r)=>{};function ay(e,t,n,r){sy(e,t,n,r)}function gl(e){return(e.flags&32)===32}var cy=()=>null;function pp(e,t,n=!1){return cy(e,t,n)}function hp(e,t){let n=e.contentQueries;if(n!==null){let r=S(null);try{for(let o=0;o<n.length;o+=2){let i=n[o],s=n[o+1];if(s!==-1){let a=e.data[s];mc(i),a.contentQueries(2,t[s],s)}}}finally{S(r)}}}function Vc(e,t,n){mc(0);let r=S(null);try{t(e,n)}finally{S(r)}}function gp(e,t,n){if(nc(t)){let r=S(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;s<i;s++){let a=e.data[s];if(a.contentQueries){let c=n[s];a.contentQueries(1,c,s)}}}finally{S(r)}}}var ot=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e})(ot||{});var Si;function ly(){if(Si===void 0&&(Si=null,Bt.trustedTypes))try{Si=Bt.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Si}function os(e){return ly()?.createHTML(e)||e}var _i;function uy(){if(_i===void 0&&(_i=null,Bt.trustedTypes))try{_i=Bt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return _i}function gf(e){return uy()?.createHTML(e)||e}var Ui=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${li})`}};function is(e){return e instanceof Ui?e.changingThisBreaksApplicationSecurity:e}function ml(e,t){let n=mp(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${li})`)}return n===t}function mp(e){return e instanceof Ui&&e.getTypeName()||null}function dy(e){let t=new $c(e);return fy()?new Hc(t):t}var Hc=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(os(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}},$c=class{defaultDoc;inertDocument;constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){let n=this.inertDocument.createElement("template");return n.innerHTML=os(t),n}};function fy(){try{return!!new window.DOMParser().parseFromString(os(""),"text/html")}catch{return!1}}var py=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function vl(e){return e=String(e),e.match(py)?e:"unsafe:"+e}function st(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function Br(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var vp=st("area,br,col,hr,img,wbr"),yp=st("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Ep=st("rp,rt"),hy=Br(Ep,yp),gy=Br(yp,st("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")),my=Br(Ep,st("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")),mf=Br(vp,gy,my,hy),Ip=st("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),vy=st("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"),yy=st("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"),Ey=Br(Ip,vy,yy),Iy=st("script,style,template");var Bc=class{sanitizedSomething=!1;buf=[];sanitizeChildren(t){let n=t.firstChild,r=!0,o=[];for(;n;){if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild){o.push(n),n=by(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=Dy(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=vf(t).toLowerCase();if(!mf.hasOwnProperty(n))return this.sanitizedSomething=!0,!Iy.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);let r=t.attributes;for(let o=0;o<r.length;o++){let i=r.item(o),s=i.name,a=s.toLowerCase();if(!Ey.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;Ip[a]&&(c=vl(c)),this.buf.push(" ",s,'="',yf(c),'"')}return this.buf.push(">"),!0}endElement(t){let n=vf(t).toLowerCase();mf.hasOwnProperty(n)&&!vp.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(yf(t))}};function wy(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function Dy(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw wp(t);return t}function by(e){let t=e.firstChild;if(t&&wy(e,t))throw wp(t);return t}function vf(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function wp(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var Ty=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Cy=/([^\#-~ |!])/g;function yf(e){return e.replace(/&/g,"&").replace(Ty,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(Cy,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var Mi;function Dp(e,t){let n=null;try{Mi=Mi||dy(e);let r=t?String(t):"";n=Mi.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=n.innerHTML,n=Mi.getInertBodyElement(r)}while(r!==i);let a=new Bc().sanitizeChildren(Ef(n)||n);return os(a)}finally{if(n){let r=Ef(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function Ef(e){return"content"in e&&Sy(e)?e.content:null}function Sy(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}function _y(e,t){return e.createText(t)}function My(e,t,n){e.setValue(t,n)}function bp(e,t,n){return e.createElement(t,n)}function Vi(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Tp(e,t,n){e.appendChild(t,n)}function If(e,t,n,r,o){r!==null?Vi(e,t,n,r,o):Tp(e,t,n)}function Cp(e,t,n,r){e.removeChild(null,t,n,r)}function Ny(e,t,n){e.setAttribute(t,"style",n)}function Ry(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Sp(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&Hv(e,t,r),o!==null&&Ry(e,t,o),i!==null&&Ny(e,t,i)}var ss=(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})(ss||{});function xy(e){let t=_p();return t?gf(t.sanitize(ss.HTML,e)||""):ml(e,"HTML")?gf(is(e)):Dp(hl(),yt(e))}function Ay(e){let t=_p();return t?t.sanitize(ss.URL,e)||"":ml(e,"URL")?is(e):vl(yt(e))}function _p(){let e=k();return e&&e[Ue].sanitizer}function Mp(e){return e instanceof Function?e():e}function Oy(e,t,n){let r=e.length;for(;;){let o=e.indexOf(t,n);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}var Np="ng-template";function Py(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&Oy(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(yl(e))return!1;if(o=t.indexOf(1,o),o>-1){let i;for(;++o<t.length&&typeof(i=t[o])=="string";)if(i.toLowerCase()===n)return!0}return!1}function yl(e){return e.type===4&&e.value!==Np}function ky(e,t,n){let r=e.type===4&&!n?Np:e.value;return t===r}function Ly(e,t,n){let r=4,o=e.attrs,i=o!==null?Uy(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!Oe(r)&&!Oe(c))return!1;if(s&&Oe(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!ky(e,c,n)||c===""&&t.length===1){if(Oe(r))return!1;s=!0}}else if(r&8){if(o===null||!Py(e,o,c,n)){if(Oe(r))return!1;s=!0}}else{let l=t[++a],u=Fy(c,o,yl(e),n);if(u===-1){if(Oe(r))return!1;s=!0;continue}if(l!==""){let d;if(u>i?d="":d=o[u+1].toLowerCase(),r&2&&l!==d){if(Oe(r))return!1;s=!0}}}}return Oe(r)||s}function Oe(e){return(e&1)===0}function Fy(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o<t.length;){let s=t[o];if(s===e)return o;if(s===3||s===6)i=!0;else if(s===1||s===2){let a=t[++o];for(;typeof a=="string";)a=t[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=i?1:2}return-1}else return Vy(t,e)}function jy(e,t,n=!1){for(let r=0;r<t.length;r++)if(Ly(e,t[r],n))return!0;return!1}function Uy(e){for(let t=0;t<e.length;t++){let n=e[t];if($v(n))return t}return e.length}function Vy(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){let r=e[n];if(typeof r=="number")return-1;if(r===t)return n;n++}return-1}function wf(e,t){return e?":not("+t.trim()+")":t}function Hy(e){let t=e[0],n=1,r=2,o="",i=!1;for(;n<e.length;){let s=e[n];if(typeof s=="string")if(r&2){let a=e[++n];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!Oe(s)&&(t+=wf(i,o),o=""),r=s,i=i||!Oe(r);n++}return o!==""&&(t+=wf(i,o)),t}function $y(e){return e.map(Hy).join(",")}function By(e){let t=[],n=[],r=1,o=2;for(;r<e.length;){let i=e[r];if(typeof i=="string")o===2?i!==""&&t.push(i,e[++r]):o===8&&n.push(i);else{if(!Oe(o))break;o=i}r++}return n.length&&t.push(1,...n),t}var Pe={};function El(e,t,n,r,o,i,s,a,c,l,u){let d=oe+r,p=d+o,f=zy(d,p),g=typeof l=="function"?l():l;return f[C]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,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:g,incompleteFirstPass:!1,ssrId:u}}function zy(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:Pe);return n}function Gy(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=El(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Il(e,t,n,r,o,i,s,a,c,l,u){let d=t.blueprint.slice();return d[Re]=o,d[N]=r|4|128|8|64|1024,(l!==null||e&&e[N]&2048)&&(d[N]|=2048),ic(d),d[J]=d[Gt]=e,d[$]=n,d[Ue]=s||e&&e[Ue],d[V]=a||e&&e[V],d[nt]=c||e&&e[nt]||null,d[Ce]=i,d[Tr]=ty(),d[On]=u,d[ec]=l,d[Ee]=t.type==2?e[Ee]:d,d}function qy(e,t,n){let r=Ae(t,e),o=Gy(n),i=e[Ue].rendererFactory,s=wl(e,Il(e,o,null,Rp(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function Rp(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function xp(e,t,n,r){if(n===0)return-1;let o=t.length;for(let i=0;i<n;i++)t.push(r),e.blueprint.push(r),e.data.push(null);return o}function wl(e,t){return e[kn]?e[Xa][Te]=t:e[kn]=t,e[Xa]=t,t}function Wy(e=1){Ap(ie(),k(),rt()+e,!1)}function Ap(e,t,n,r){if(!r)if((t[N]&3)===3){let i=e.preOrderCheckHooks;i!==null&&Ri(t,i,n)}else{let i=e.preOrderHooks;i!==null&&xi(t,i,0,n)}Tt(n)}var as=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(as||{});function zc(e,t,n,r){let o=S(null);try{let[i,s,a]=e.inputs[n],c=null;(s&as.SignalBased)!==0&&(c=t[i][ce]),c!==null&&c.transformFn!==void 0?r=c.transformFn(r):a!==null&&(r=a.call(t,r)),e.setInput!==null?e.setInput(t,c,r,n,i):Bf(t,c,i,r)}finally{S(o)}}var it=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})(it||{}),Zy;function Dl(e,t){return Zy(e,t)}var en=new Set,bl=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(bl||{}),zr=new I(""),Df=new Set;function St(e){Df.has(e)||(Df.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var Op=!1,Gc=class extends ee{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,Nd()&&(this.destroyRef=h(Ct,{optional:!0})??void 0,this.pendingTasks=h(Be,{optional:!0})??void 0)}emit(t){let n=S(null);try{super.next(t)}finally{S(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let c=t;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 t instanceof G&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{t(n)}finally{r!==void 0&&this.pendingTasks?.remove(r)}})}}},de=Gc;function Pp(e){let t,n;function r(){e=Or;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function bf(e){return queueMicrotask(()=>e()),()=>{e=Or}}var Tl="isAngularZone",Hi=Tl+"_ID",Qy=0,Q=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new de(!1);onMicrotaskEmpty=new de(!1);onStable=new de(!1);onError=new de(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=Op}=t;if(typeof Zone>"u")throw new E(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,Jy(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Tl)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new E(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new E(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,Yy,Or,Or);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}},Yy={};function Cl(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 Ky(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){Pp(()=>{e.callbackScheduled=!1,qc(e),e.isCheckStableRunning=!0,Cl(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),qc(e)}function Jy(e){let t=()=>{Ky(e)},n=Qy++;e._inner=e._inner.fork({name:"angular",properties:{[Tl]:!0,[Hi]:n,[Hi+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(Xy(c))return r.invokeTask(i,s,a,c);try{return Tf(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Cf(e)}},onInvoke:(r,o,i,s,a,c,l)=>{try{return Tf(e),r.invoke(i,s,a,c,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!eE(c)&&t(),Cf(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,qc(e),Cl(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 qc(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Tf(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Cf(e){e._nesting--,Cl(e)}var $i=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new de;onMicrotaskEmpty=new de;onStable=new de;onError=new de;run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}};function Xy(e){return kp(e,"__ignore_ng_zone__")}function eE(e){return kp(e,"__scheduler_tick__")}function kp(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var Lp=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=w({token:e,providedIn:"root",factory:()=>new e})}return e})();var Fp=new I("",{providedIn:"root",factory:()=>({queue:new Set,isScheduled:!1,scheduler:null})});function jp(e,t,n){let r=e.get(Fp);if(Array.isArray(t))for(let o of t)r.queue.add(o),n?.detachedLeaveAnimationFns?.push(o);else r.queue.add(t),n?.detachedLeaveAnimationFns?.push(t);r.scheduler&&r.scheduler(e)}function tE(e,t){let n=e.get(Fp);if(t.detachedLeaveAnimationFns){for(let r of t.detachedLeaveAnimationFns)n.queue.delete(r);t.detachedLeaveAnimationFns=void 0}}function nE(e,t){for(let[n,r]of t)jp(e,r.animateFns)}function Sf(e,t,n,r){let o=e?.[Qt]?.enter;t!==null&&o&&o.has(n.index)&&nE(r,o)}function jn(e,t,n,r,o,i,s,a){if(o!=null){let c,l=!1;xe(o)?c=o:Ve(o)&&(l=!0,o=o[Re]);let u=Se(o);e===0&&r!==null?(Sf(a,r,i,n),s==null?Tp(t,r,u):Vi(t,r,u,s||null,!0)):e===1&&r!==null?(Sf(a,r,i,n),Vi(t,r,u,s||null,!0)):e===2?_f(a,i,n,d=>{Cp(t,u,l,d)}):e===3&&_f(a,i,n,()=>{t.destroyNode(u)}),c!=null&&gE(t,e,n,c,i,r,s)}}function rE(e,t){Up(e,t),t[Re]=null,t[Ce]=null}function oE(e,t,n,r,o,i){r[Re]=o,r[Ce]=t,ls(e,r,n,1,o,i)}function Up(e,t){t[Ue].changeDetectionScheduler?.notify(9),ls(e,t,t[V],2,null,null)}function iE(e){let t=e[kn];if(!t)return _c(e[C],e);for(;t;){let n=null;if(Ve(t))n=t[kn];else{let r=t[B];r&&(n=r)}if(!n){for(;t&&!t[Te]&&t!==e;)Ve(t)&&_c(t[C],t),t=t[J];t===null&&(t=e),Ve(t)&&_c(t[C],t),n=t&&t[Te]}t=n}}function Sl(e,t){let n=e[_r],r=n.indexOf(t);n.splice(r,1)}function cs(e,t){if(Yt(t))return;let n=t[V];n.destroyNode&&ls(e,t,n,3,null,null),iE(t)}function _c(e,t){if(Yt(t))return;let n=S(null);try{t[N]&=-129,t[N]|=256,t[Ie]&&fr(t[Ie]),cE(e,t),aE(e,t),t[C].type===1&&t[V].destroy();let r=t[qt];if(r!==null&&xe(t[J])){r!==t[J]&&Sl(r,t);let o=t[Zt];o!==null&&o.detachView(e)}jc(t)}finally{S(n)}}function _f(e,t,n,r){let o=e?.[Qt];if(o==null||o.leave==null||!o.leave.has(t.index))return r(!1);e&&en.add(e),jp(n,()=>{if(o.leave&&o.leave.has(t.index)){let s=o.leave.get(t.index),a=[];if(s){for(let c=0;c<s.animateFns.length;c++){let l=s.animateFns[c],{promise:u}=l();a.push(u)}o.detachedLeaveAnimationFns=void 0}o.running=Promise.allSettled(a),sE(e,r)}else e&&en.delete(e),r(!1)},o)}function sE(e,t){let n=e[Qt]?.running;if(n){n.then(()=>{e[Qt].running=void 0,en.delete(e),t(!0)});return}t(!1)}function aE(e,t){let n=e.cleanup,r=t[Pn];if(n!==null)for(let s=0;s<n.length-1;s+=2)if(typeof n[s]=="string"){let a=n[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[n[s+1]];n[s].call(a)}r!==null&&(t[Pn]=null);let o=t[Je];if(o!==null){t[Je]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[Cr];if(i!==null){t[Cr]=null;for(let s of i)s.destroy()}}function cE(e,t){let n;if(e!=null&&(n=e.destroyHooks)!=null)for(let r=0;r<n.length;r+=2){let o=t[n[r]];if(!(o instanceof Xt)){let i=n[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(4,a,c);try{c.call(a)}finally{j(5,a,c)}}else{j(4,o,i);try{i.call(o)}finally{j(5,o,i)}}}}}function lE(e,t,n){return uE(e,t.parent,n)}function uE(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[Re];if(Dt(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===ot.None||o===ot.Emulated)return null}return Ae(r,n)}function dE(e,t,n){return pE(e,t,n)}function fE(e,t,n){return e.type&40?Ae(e,n):null}var pE=fE,Mf;function _l(e,t,n,r){let o=lE(e,r,t),i=t[V],s=r.parent||t[Ce],a=dE(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)If(i,o,n[c],a,!1);else If(i,o,n,a,!1);Mf!==void 0&&Mf(i,r,t,n,o)}function Pr(e,t){if(t!==null){let n=t.type;if(n&3)return Ae(t,e);if(n&4)return Wc(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return Pr(e,r);{let o=e[t.index];return xe(o)?Wc(-1,o):Se(o)}}else{if(n&128)return Pr(e,t.next);if(n&32)return Dl(t,e)()||Se(e[t.index]);{let r=Vp(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=mt(e[Ee]);return Pr(o,r)}else return Pr(e,t.next)}}}return null}function Vp(e,t){if(t!==null){let r=e[Ee][Ce],o=t.projection;return r.projection[o]}return null}function Wc(e,t){let n=B+e+1;if(n<t.length){let r=t[n],o=r[C].firstChild;if(o!==null)return Pr(r,o)}return t[wt]}function Ml(e,t,n,r,o,i,s){for(;n!=null;){let a=r[nt];if(n.type===128){n=n.next;continue}let c=r[n.index],l=n.type;if(s&&t===0&&(c&&Hn(Se(c),r),n.flags|=2),!gl(n))if(l&8)Ml(e,t,n.child,r,o,i,!1),jn(t,e,a,o,c,n,i,r);else if(l&32){let u=Dl(n,r),d;for(;d=u();)jn(t,e,a,o,d,n,i,r);jn(t,e,a,o,c,n,i,r)}else l&16?hE(e,t,r,n,o,i):jn(t,e,a,o,c,n,i,r);n=s?n.projectionNext:n.next}}function ls(e,t,n,r,o,i){Ml(n,r,e.firstChild,t,o,i,!1)}function hE(e,t,n,r,o,i){let s=n[Ee],c=s[Ce].projection[r.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++){let u=c[l];jn(t,e,n[nt],o,u,r,i,n)}else{let l=c,u=s[J];op(r)&&(l.flags|=128),Ml(e,t,l,u,o,i,!0)}}function gE(e,t,n,r,o,i,s){let a=r[wt],c=Se(r);a!==c&&jn(t,e,n,i,a,o,s);for(let l=B;l<r.length;l++){let u=r[l];ls(u[C],u,e,t,i,a)}}function mE(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:it.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=it.Important),e.setStyle(n,r,o,i))}}function Hp(e,t,n,r,o){let i=rt(),s=r&2;try{Tt(-1),s&&t.length>oe&&Ap(e,t,oe,!1),j(s?2:0,o,n),n(r,o)}finally{Tt(i),j(s?3:1,o,n)}}function $p(e,t,n){DE(e,t,n),(n.flags&64)===64&&bE(e,t,n)}function Nl(e,t,n=Ae){let r=t.localNames;if(r!==null){let o=t.index+1;for(let i=0;i<r.length;i+=2){let s=r[i+1],a=s===-1?n(t,e):e[s];e[o++]=a}}}function vE(e,t,n,r){let i=r.get(fp,dp)||n===ot.ShadowDom,s=e.selectRootElement(t,i);return yE(s),s}function yE(e){EE(e)}var EE=()=>null;function IE(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function Bp(e,t,n,r,o,i){let s=t[C];if(Rl(e,s,t,n,r)){Dt(e)&&wE(t,e.index);return}e.type&3&&(n=IE(n)),zp(e,t,n,r,o,i)}function zp(e,t,n,r,o,i){if(e.type&3){let s=Ae(e,t);r=i!=null?i(r,e.value||"",n):r,o.setProperty(s,n,r)}else e.type&12}function wE(e,t){let n=_e(t,e);n[N]&16||(n[N]|=64)}function DE(e,t,n){let r=n.directiveStart,o=n.directiveEnd;Dt(n)&&qy(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||Fi(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=ji(t,e,s,n);if(Hn(c,t),i!==null&&ME(t,s-r,c,a,n,i),He(a)){let l=_e(n.index,t);l[$]=ji(t,e,s,n)}}}function bE(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=Qd();try{Tt(i);for(let a=r;a<o;a++){let c=e.data[a],l=t[a];Ii(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&TE(c,l)}}finally{Tt(-1),Ii(s)}}function TE(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function CE(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];jy(t,i.selectors,!1)&&(r??=[],He(i)?r.unshift(i):r.push(i))}return r}function SE(e,t,n,r,o,i){let s=Ae(e,t);_E(t[V],s,i,e.value,n,r,o)}function _E(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?yt(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function ME(e,t,n,r,o,i){let s=i[t];if(s!==null)for(let a=0;a<s.length;a+=2){let c=s[a],l=s[a+1];zc(r,n,c,l)}}function Gp(e,t,n,r,o){let i=oe+n,s=t[C],a=o(s,t,e,r,n);t[i]=a,Fn(e,!0);let c=e.type===2;return c?(Sp(t[V],a,e),(Fd()===0||vi(e))&&Hn(a,t),jd()):Hn(a,t),bi()&&(!c||!gl(e))&&_l(s,t,a,e),e}function qp(e){let t=e;return fc()?zd():(t=t.parent,Fn(t,!1)),t}function NE(e,t){let n=e[nt];if(!n)return;let r;try{r=n.get(we,null)}catch{r=null}r?.(t)}function Rl(e,t,n,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 l=s[c],u=s[c+1],d=t.data[l];zc(d,n[l],u,o),a=!0}if(i)for(let c of i){let l=n[c],u=t.data[c];zc(u,l,r,o),a=!0}return a}function RE(e,t){let n=_e(t,e),r=n[C];xE(r,n);let o=n[Re];o!==null&&n[On]===null&&(n[On]=pp(o,n[nt])),j(18),xl(r,n,n[$]),j(19,n[$])}function xE(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function xl(e,t,n){wi(t);try{let r=e.viewQuery;r!==null&&Vc(1,r,n);let o=e.template;o!==null&&Hp(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[Zt]?.finishViewCreation(e),e.staticContentQueries&&hp(e,t),e.staticViewQueries&&Vc(2,e.viewQuery,n);let i=e.components;i!==null&&AE(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[N]&=-5,Di()}}function AE(e,t){for(let n=0;n<t.length;n++)RE(e,t[n])}function Al(e,t,n,r){let o=S(null);try{let i=t.tView,a=e[N]&4096?4096:16,c=Il(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),l=e[t.index];c[qt]=l;let u=e[Zt];return u!==null&&(c[Zt]=u.createEmbeddedView(i)),xl(i,c,n),c}finally{S(o)}}function Lr(e,t){return!t||t.firstChild===null||op(e)}function Fr(e,t,n,r,o=!1){for(;n!==null;){if(n.type===128){n=o?n.projectionNext:n.next;continue}let i=t[n.index];i!==null&&r.push(Se(i)),xe(i)&&Wp(i,r);let s=n.type;if(s&8)Fr(e,t,n.child,r);else if(s&32){let a=Dl(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=Vp(t,n);if(Array.isArray(a))r.push(...a);else{let c=mt(t[Ee]);Fr(c[C],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function Wp(e,t){for(let n=B;n<e.length;n++){let r=e[n],o=r[C].firstChild;o!==null&&Fr(r[C],r,o,t)}e[wt]!==e[Re]&&t.push(e[wt])}function Zp(e){if(e[mi]!==null){for(let t of e[mi])t.impl.addSequence(t);e[mi].length=0}}var Qp=[];function OE(e){return e[Ie]??PE(e)}function PE(e){let t=Qp.pop()??Object.create(LE);return t.lView=e,t}function kE(e){e.lView[Ie]!==e&&(e.lView=null,Qp.push(e))}var LE=U(v({},gn),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{Rr(e.lView)},consumerOnSignalRead(){this.lView[Ie]=this}});function FE(e){let t=e[Ie]??Object.create(jE);return t.lView=e,t}var jE=U(v({},gn),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=mt(e.lView);for(;t&&!Yp(t[C]);)t=mt(t);t&&sc(t)},consumerOnSignalRead(){this.lView[Ie]=this}});function Yp(e){return e.type!==2}function Kp(e){if(e[Cr]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[Cr])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[N]&8192)}}var UE=100;function Jp(e,t=0){let r=e[Ue].rendererFactory,o=!1;o||r.begin?.();try{VE(e,t)}finally{o||r.end?.()}}function VE(e,t){let n=pc();try{hc(!0),Zc(e,t);let r=0;for(;Nr(e);){if(r===UE)throw new E(103,!1);r++,Zc(e,1)}}finally{hc(n)}}function HE(e,t,n,r){if(Yt(t))return;let o=t[N],i=!1,s=!1;wi(t);let a=!0,c=null,l=null;i||(Yp(e)?(l=OE(t),c=vn(l)):Ro()===null?(a=!1,l=FE(t),c=vn(l)):t[Ie]&&(fr(t[Ie]),t[Ie]=null));try{ic(t),qd(e.bindingStartIndex),n!==null&&Hp(e,t,n,2,r);let u=(o&3)===3;if(!i)if(u){let f=e.preOrderCheckHooks;f!==null&&Ri(t,f,null)}else{let f=e.preOrderHooks;f!==null&&xi(t,f,0,null),Cc(t,0)}if(s||$E(t),Kp(t),Xp(t,0),e.contentQueries!==null&&hp(e,t),!i)if(u){let f=e.contentCheckHooks;f!==null&&Ri(t,f)}else{let f=e.contentHooks;f!==null&&xi(t,f,1),Cc(t,1)}zE(e,t);let d=e.components;d!==null&&th(t,d,0);let p=e.viewQuery;if(p!==null&&Vc(2,p,r),!i)if(u){let f=e.viewCheckHooks;f!==null&&Ri(t,f)}else{let f=e.viewHooks;f!==null&&xi(t,f,2),Cc(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[gi]){for(let f of t[gi])f();t[gi]=null}i||(Zp(t),t[N]&=-73)}catch(u){throw i||Rr(t),u}finally{l!==null&&(ur(l,c),a&&kE(l)),Di()}}function Xp(e,t){for(let n=sp(e);n!==null;n=ap(n))for(let r=B;r<n.length;r++){let o=n[r];eh(o,t)}}function $E(e){for(let t=sp(e);t!==null;t=ap(t)){if(!(t[N]&2))continue;let n=t[_r];for(let r=0;r<n.length;r++){let o=n[r];sc(o)}}}function BE(e,t,n){j(18);let r=_e(t,e);eh(r,n),j(19,r[$])}function eh(e,t){yi(e)&&Zc(e,t)}function Zc(e,t){let r=e[C],o=e[N],i=e[Ie],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&dr(i)),s||=!1,i&&(i.dirty=!1),e[N]&=-9217,s)HE(r,e,r.template,e[$]);else if(o&8192){let a=S(null);try{Kp(e),Xp(e,1);let c=r.components;c!==null&&th(e,c,1),Zp(e)}finally{S(a)}}}function th(e,t,n){for(let r=0;r<t.length;r++)BE(e,t[r],n)}function zE(e,t){let n=e.hostBindingOpCodes;if(n!==null)try{for(let r=0;r<n.length;r++){let o=n[r];if(o<0)Tt(~o);else{let i=o,s=n[++r],a=n[++r];Zd(s,i);let c=t[i];j(24,c),a(2,c),j(25,c)}}}finally{Tt(-1)}}function Ol(e,t){let n=pc()?64:1088;for(e[Ue].changeDetectionScheduler?.notify(t);e;){e[N]|=n;let r=mt(e);if(Ln(e)&&!r)return e;e=r}return null}function nh(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function rh(e,t){let n=B+t;if(n<e.length)return e[n]}function us(e,t,n,r=!0){let o=t[C];if(GE(o,t,e,n),r){let s=Wc(n,e),a=t[V],c=a.parentNode(e[wt]);c!==null&&oE(o,e[Ce],a,t,c,s)}let i=t[On];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function oh(e,t){let n=jr(e,t);return n!==void 0&&cs(n[C],n),n}function jr(e,t){if(e.length<=B)return;let n=B+t,r=e[n];if(r){let o=r[qt];o!==null&&o!==e&&Sl(o,r),t>0&&(e[n-1][Te]=r[Te]);let i=wr(e,B+t);rE(r[C],r);let s=i[Zt];s!==null&&s.detachView(i[C]),r[J]=null,r[Te]=null,r[N]&=-129}return r}function GE(e,t,n,r){let o=B+r,i=n.length;r>0&&(n[o-1][Te]=t),r<i-B?(t[Te]=n[o],Ga(n,B+r,t)):(n.push(t),t[Te]=null),t[J]=n;let s=t[qt];s!==null&&n!==s&&ih(s,t);let a=t[Zt];a!==null&&a.insertView(e),Ei(t),t[N]|=128}function ih(e,t){let n=e[_r],r=t[J];if(Ve(r))e[N]|=2;else{let o=r[J][Ee];t[Ee]!==o&&(e[N]|=2)}n===null?e[_r]=[t]:n.push(t)}var tn=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let t=this._lView,n=t[C];return Fr(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n}get context(){return this._lView[$]}set context(t){this._lView[$]=t}get destroyed(){return Yt(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[J];if(xe(t)){let n=t[Sr],r=n?n.indexOf(this):-1;r>-1&&(jr(t,r),wr(n,r))}this._attachedToViewContainer=!1}cs(this._lView[C],this._lView)}onDestroy(t){ac(this._lView,t)}markForCheck(){Ol(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[N]&=-129}reattach(){Ei(this._lView),this._lView[N]|=128}detectChanges(){this._lView[N]|=1024,Jp(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new E(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=Ln(this._lView),n=this._lView[qt];n!==null&&!t&&Sl(n,this._lView),Up(this._lView[C],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new E(902,!1);this._appRef=t;let n=Ln(this._lView),r=this._lView[qt];r!==null&&!n&&ih(r,this._lView),Ei(this._lView)}};function ds(e,t,n,r,o){let i=e.data[t];if(i===null)i=qE(e,t,n,r,o),Wd()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=Bd();i.injectorIndex=s===null?-1:s.injectorIndex}return Fn(i,!0),i}function qE(e,t,n,r,o){let i=dc(),s=fc(),a=s?i:i&&i.parent,c=e.data[t]=ZE(e,a,n,t,r,o);return WE(e,c,i,s),c}function WE(e,t,n,r){e.firstChild===null&&(e.firstChild=t),n!==null&&(r?n.child==null&&t.parent!==null&&(n.child=t):n.next===null&&(n.next=t,t.prev=n))}function ZE(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return Vd()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}var tA=new RegExp(`^(\\d+)*(${iy}|${oy})*(.*)`);function QE(e){let t=e[tc]??[],r=e[J][V],o=[];for(let i of t)i.data[up]!==void 0?o.push(i):YE(i,r);e[tc]=o}function YE(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[lp];for(;n<o;){let i=r.nextSibling;Cp(t,r,!1),r=i,n++}}}var KE=()=>null,JE=()=>null;function Qc(e,t){return KE(e,t)}function sh(e,t,n){return JE(e,t,n)}var ah=class{},fs=class{},Yc=class{resolveComponentFactory(t){throw new E(917,!1)}},Gr=class{static NULL=new Yc},nn=class{},XE=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>eI()}return e})();function eI(){let e=k(),t=ue(),n=_e(t.index,e);return(Ve(n)?n:e)[V]}var ch=(()=>{class e{static \u0275prov=w({token:e,providedIn:"root",factory:()=>null})}return e})();var Ai={},Kc=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){let o=this.injector.get(t,Ai,r);return o!==Ai||n===Ai?o:this.parentInjector.get(t,n,r)}};function Bi(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s<t.length;s++){let a=t[s];if(typeof a=="number")i=a;else if(i==1)o=ka(o,a);else if(i==2){let c=a,l=t[++s];r=ka(r,c+": "+l+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function ps(e,t=0){let n=k();if(n===null)return T(e,t);let r=ue();return ep(r,n,ne(e),t)}function tI(e,t,n,r,o){let i=r===null?null:{"":-1},s=o(e,n);if(s!==null){let a=s,c=null,l=null;for(let u of s)if(u.resolveHostDirectives!==null){[a,c,l]=u.resolveHostDirectives(s);break}oI(e,t,n,a,i,c,l)}i!==null&&r!==null&&nI(n,r,i)}function nI(e,t,n){let r=e.localNames=[];for(let o=0;o<t.length;o+=2){let i=n[t[o+1]];if(i==null)throw new E(-301,!1);r.push(t[o],i)}}function rI(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function oI(e,t,n,r,o,i,s){let a=r.length,c=!1;for(let p=0;p<a;p++){let f=r[p];!c&&He(f)&&(c=!0,rI(e,n,p)),Lc(Fi(n,t),e,f.type)}uI(n,e.data.length,a);for(let p=0;p<a;p++){let f=r[p];f.providersResolver&&f.providersResolver(f)}let l=!1,u=!1,d=xp(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let p=0;p<a;p++){let f=r[p];if(n.mergedAttrs=Vn(n.mergedAttrs,f.hostAttrs),sI(e,n,t,d,f),lI(d,f,o),s!==null&&s.has(f)){let[D,y]=s.get(f);n.directiveToIndex.set(f.type,[d,D+n.directiveStart,y+n.directiveStart])}else(i===null||!i.has(f))&&n.directiveToIndex.set(f.type,d);f.contentQueries!==null&&(n.flags|=4),(f.hostBindings!==null||f.hostAttrs!==null||f.hostVars!==0)&&(n.flags|=64);let g=f.type.prototype;!l&&(g.ngOnChanges||g.ngOnInit||g.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),l=!0),!u&&(g.ngOnChanges||g.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),u=!0),d++}iI(e,n,i)}function iI(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let o=e.data[r];if(n===null||!n.has(o))Nf(0,t,o,r),Nf(1,t,o,r),xf(t,r,!1);else{let i=n.get(o);Rf(0,t,i,r),Rf(1,t,i,r),xf(t,r,!0)}}}function Nf(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s;e===0?s=t.inputs??={}:s=t.outputs??={},s[i]??=[],s[i].push(r),lh(t,i)}}function Rf(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s=o[i],a;e===0?a=t.hostDirectiveInputs??={}:a=t.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,i),lh(t,s)}}function lh(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function xf(e,t,n){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!n&&o===null||n&&i===null||yl(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(!n&&o.hasOwnProperty(c)){let l=o[c];for(let u of l)if(u===t){s??=[],s.push(c,r[a+1]);break}}else if(n&&i.hasOwnProperty(c)){let l=i[c];for(let u=0;u<l.length;u+=2)if(l[u]===t){s??=[],s.push(l[u+1],r[a+1]);break}}a+=2}e.initialInputs??=[],e.initialInputs.push(s)}function sI(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=Vt(o.type,!0)),s=new Xt(i,He(o),ps,null);e.blueprint[r]=s,n[r]=s,aI(e,t,r,xp(e,n,o.hostVars,Pe),o)}function aI(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;cI(s)!=a&&s.push(a),s.push(n,r,i)}}function cI(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function lI(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;He(t)&&(n[""]=e)}}function uI(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function uh(e,t,n,r,o,i,s,a){let c=t[C],l=c.consts,u=$e(l,s),d=ds(c,e,n,r,u);return i&&tI(c,t,d,$e(l,a),o),d.mergedAttrs=Vn(d.mergedAttrs,d.attrs),d.attrs!==null&&Bi(d,d.attrs,!1),d.mergedAttrs!==null&&Bi(d,d.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,d),d}function dh(e,t){Fv(e,t),nc(t)&&e.queries.elementEnd(t)}function dI(e,t,n,r,o,i){let s=t.consts,a=$e(s,o),c=ds(t,e,n,r,a);if(c.mergedAttrs=Vn(c.mergedAttrs,c.attrs),i!=null){let l=$e(s,i);c.localNames=[];for(let u=0;u<l.length;u+=2)c.localNames.push(l[u],-1)}return c.attrs!==null&&Bi(c,c.attrs,!1),c.mergedAttrs!==null&&Bi(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}function Ge(e,t,n){if(n===Pe)return!1;let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function fI(e,t,n,r){let o=Ge(e,t,n);return Ge(e,t+1,r)||o}function Oi(e,t,n){return function r(o){let i=Dt(e)?_e(e.index,t):t;Ol(i,5);let s=t[$],a=Af(t,s,n,o),c=r.__ngNextListenerFn__;for(;c;)a=Af(t,s,c,o)&&a,c=c.__ngNextListenerFn__;return a}}function Af(e,t,n,r){let o=S(null);try{return j(6,t,n),n(r)!==!1}catch(i){return NE(e,i),!1}finally{j(7,t,n),S(o)}}function fh(e,t,n,r,o,i,s,a){let c=vi(e),l=!1,u=null;if(!r&&c&&(u=hI(t,n,i,e.index)),u!==null){let d=u.__ngLastListenerFn__||u;d.__ngNextListenerFn__=s,u.__ngLastListenerFn__=s,l=!0}else{let d=Ae(e,n),p=r?r(d):d;ay(n,p,i,a);let f=o.listen(p,i,a);if(!pI(i)){let g=r?D=>r(Se(D[e.index])):e.index;ph(g,t,n,i,a,f,!1)}}return l}function pI(e){return e.startsWith("animation")||e.startsWith("transition")}function hI(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;i<o.length-1;i+=2){let s=o[i];if(s===n&&o[i+1]===r){let a=t[Pn],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function ph(e,t,n,r,o,i,s){let a=t.firstCreatePass?Ld(t):null,c=kd(n),l=c.length;c.push(o,i),a&&a.push(r,e,l,(l+1)*(s?-1:1))}function Of(e,t,n,r,o,i){let s=t[n],a=t[C],l=a.data[n].outputs[r],d=s[l].subscribe(i);ph(e.index,a,t,o,i,d,!0)}var Jc=Symbol("BINDING");var zi=class extends Gr{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=It(t);return new $n(n,this.ngModule)}};function gI(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&as.SignalBased)!==0};return o&&(i.transform=o),i})}function mI(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function vI(e,t,n){let r=t instanceof K?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new Kc(n,r):n}function yI(e){let t=e.get(nn,null);if(t===null)throw new E(407,!1);let n=e.get(ch,null),r=e.get(vt,null);return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r,ngReflect:!1}}function EI(e,t){let n=hh(e);return bp(t,n,n==="svg"?rc:n==="math"?xd:null)}function hh(e){return(e.selectors[0][0]||"div").toLowerCase()}var $n=class extends fs{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=gI(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=mI(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=$y(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o,i,s){j(22);let a=S(null);try{let c=this.componentDef,l=II(r,c,s,i),u=vI(c,o||this.ngModule,t),d=yI(u),p=d.rendererFactory.createRenderer(null,c),f=r?vE(p,r,c.encapsulation,u):EI(c,p),g=s?.some(Pf)||i?.some(m=>typeof m!="function"&&m.bindings.some(Pf)),D=Il(null,l,null,512|Rp(c),null,null,d,p,u,null,pp(f,u,!0));D[oe]=f,wi(D);let y=null;try{let m=uh(oe,D,2,"#host",()=>l.directiveRegistry,!0,0);Sp(p,f,m),Hn(f,D),$p(l,D,m),gp(l,m,D),dh(l,m),n!==void 0&&DI(m,this.ngContentSelectors,n),y=_e(m.index,D),D[$]=y[$],xl(l,D,null)}catch(m){throw y!==null&&jc(y),jc(D),m}finally{j(23),Di()}return new Gi(this.componentType,D,!!g)}finally{S(a)}}};function II(e,t,n,r){let o=e?["ng-version","20.3.19"]:By(t.selectors[0]),i=null,s=null,a=0;if(n)for(let u of n)a+=u[Jc].requiredVars,u.create&&(u.targetIdx=0,(i??=[]).push(u)),u.update&&(u.targetIdx=0,(s??=[]).push(u));if(r)for(let u=0;u<r.length;u++){let d=r[u];if(typeof d!="function")for(let p of d.bindings){a+=p[Jc].requiredVars;let f=u+1;p.create&&(p.targetIdx=f,(i??=[]).push(p)),p.update&&(p.targetIdx=f,(s??=[]).push(p))}}let c=[t];if(r)for(let u of r){let d=typeof u=="function"?u:u.type,p=Qa(d);c.push(p)}return El(0,null,wI(i,s),1,a,c,null,null,null,[o],null)}function wI(e,t){return!e&&!t?null:n=>{if(n&1&&e)for(let r of e)r.create();if(n&2&&t)for(let r of t)r.update()}}function Pf(e){let t=e[Jc].kind;return t==="input"||t==="twoWay"}var Gi=class extends ah{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=Mr(n[C],oe),this.location=dl(this._tNode,n),this.instance=_e(this._tNode.index,n)[$],this.hostView=this.changeDetectorRef=new tn(n,void 0),this.componentType=t}setInput(t,n){this._hasInputBindings;let r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let o=this._rootLView,i=Rl(r,o[C],o,t,n);this.previousInputValues.set(t,n);let s=_e(r.index,o);Ol(s,1)}get injector(){return new Jt(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function DI(e,t,n){let r=e.projection=[];for(let o=0;o<t.length;o++){let i=n[o];r.push(i!=null&&i.length?Array.from(i):null)}}var hs=(()=>{class e{static __NG_ELEMENT_ID__=bI}return e})();function bI(){let e=ue();return CI(e,k())}var TI=hs,gh=class extends TI{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return dl(this._hostTNode,this._hostLView)}get injector(){return new Jt(this._hostTNode,this._hostLView)}get parentInjector(){let t=ul(this._hostTNode,this._hostLView);if(Zf(t)){let n=Li(t,this._hostLView),r=ki(t),o=n[C].data[r+8];return new Jt(o,n)}else return new Jt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=kf(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-B}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=Qc(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,Lr(this._hostTNode,s)),a}createComponent(t,n,r,o,i,s,a){let c=t&&!Av(t),l;if(c)l=n;else{let y=n||{};l=y.index,r=y.injector,o=y.projectableNodes,i=y.environmentInjector||y.ngModuleRef,s=y.directives,a=y.bindings}let u=c?t:new $n(It(t)),d=r||this.parentInjector;if(!i&&u.ngModule==null){let m=(c?d:this.parentInjector).get(K,null);m&&(i=m)}let p=It(u.componentType??{}),f=Qc(this._lContainer,p?.id??null),g=f?.firstChild??null,D=u.create(d,o,g,i,s,a);return this.insertImpl(D.hostView,l,Lr(this._hostTNode,f)),D}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(Ad(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[J],l=new gh(c,c[Ce],c[J]);l.detach(l.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return us(s,o,i,r),t.attachToViewContainerRef(),Ga(Mc(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=kf(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=jr(this._lContainer,n);r&&(wr(Mc(this._lContainer),n),cs(r[C],r))}detach(t){let n=this._adjustIndex(t,-1),r=jr(this._lContainer,n);return r&&wr(Mc(this._lContainer),n)!=null?new tn(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function kf(e){return e[Sr]}function Mc(e){return e[Sr]||(e[Sr]=[])}function CI(e,t){let n,r=t[e.index];return xe(r)?n=r:(n=nh(r,t,null,e),t[e.index]=n,wl(t,n)),_I(n,t,e,r),new gh(n,e,t)}function SI(e,t){let n=e[V],r=n.createComment(""),o=Ae(t,e),i=n.parentNode(o);return Vi(n,i,r,n.nextSibling(o),!1),r}var _I=RI,MI=()=>!1;function NI(e,t,n){return MI(e,t,n)}function RI(e,t,n,r){if(e[wt])return;let o;n.type&8?o=Se(r):o=SI(t,n),e[wt]=o}var Bn=class{},gs=class{};var qi=class extends Bn{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new zi(this);constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=Za(t);this._bootstrapComponents=Mp(i.bootstrap),this._r3Injector=Ec(t,n,[{provide:Bn,useValue:this},{provide:Gr,useValue:this.componentFactoryResolver},...r],Xe(t),new Set(["environment"])),o&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},Wi=class extends gs{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new qi(this.moduleType,t,[])}};var Ur=class extends Bn{injector;componentFactoryResolver=new zi(this);instance=null;constructor(t){super();let n=new $t([...t.providers,{provide:Bn,useValue:this},{provide:Gr,useValue:this.componentFactoryResolver}],t.parent||br(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function qr(e,t,n=null){return new Ur({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var xI=(()=>{class e{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=Ya(!1,n.type),o=r.length>0?qr([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=w({token:e,providedIn:"environment",factory:()=>new e(T(K))})}return e})();function Pl(e){return Hr(()=>{let t=mh(e),n=U(v({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===fl.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(xI).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||ot.Emulated,styles:e.styles||ye,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&St("NgStandalone"),vh(n);let r=e.dependencies;return n.directiveDefs=Lf(r,AI),n.pipeDefs=Lf(r,bd),n.id=kI(n),n})}function AI(e){return It(e)||Qa(e)}function ms(e){return Hr(()=>({type:e.type,bootstrap:e.bootstrap||ye,declarations:e.declarations||ye,imports:e.imports||ye,exports:e.exports||ye,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function OI(e,t){if(e==null)return Et;let n={};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=as.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function PI(e){if(e==null)return Et;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function kl(e){return Hr(()=>{let t=mh(e);return vh(t),t})}function mh(e){let t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputConfig:e.inputs||Et,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||ye,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,inputs:OI(e.inputs,t),outputs:PI(e.outputs),debugInfo:null}}function vh(e){e.features?.forEach(t=>t(e))}function Lf(e,t){return e?()=>{let n=typeof e=="function"?e():e,r=[];for(let o of n){let i=t(o);i!==null&&r.push(i)}return r}:null}function kI(e){let t=0,n=typeof e.consts=="function"?"":e.consts,r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,n,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("|"))t=Math.imul(31,t)+i.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function LI(e){return Object.getPrototypeOf(e.prototype).constructor}function yh(e){let t=LI(e.type),n=!0,r=[e];for(;t;){let o;if(He(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new E(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=Nc(e.inputs),s.declaredInputs=Nc(e.declaredInputs),s.outputs=Nc(e.outputs);let a=o.hostBindings;a&&HI(e,a);let c=o.viewQuery,l=o.contentQueries;if(c&&UI(e,c),l&&VI(e,l),FI(e,o),md(e.outputs,o.outputs),He(o)&&o.data.animation){let u=e.data;u.animation=(u.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s<i.length;s++){let a=i[s];a&&a.ngInherit&&a(e),a===yh&&(n=!1)}}t=Object.getPrototypeOf(t)}jI(r)}function FI(e,t){for(let n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;let r=t.inputs[n];r!==void 0&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n])}}function jI(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){let o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=Vn(o.hostAttrs,n=Vn(n,o.hostAttrs))}}function Nc(e){return e===Et?{}:e===ye?[]:e}function UI(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function VI(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function HI(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function $I(e,t,n,r,o,i,s,a){if(n.firstCreatePass){e.mergedAttrs=Vn(e.mergedAttrs,e.attrs);let u=e.tView=El(2,e,o,i,s,n.directiveRegistry,n.pipeRegistry,null,n.schemas,n.consts,null);n.queries!==null&&(n.queries.template(n,e),u.queries=n.queries.embeddedTView(e))}a&&(e.flags|=a),Fn(e,!1);let c=BI(n,t,e,r);bi()&&_l(n,t,c,e),Hn(c,t);let l=nh(c,t,c,e);t[r+oe]=l,wl(t,l),NI(l,e,t)}function Zi(e,t,n,r,o,i,s,a,c,l,u){let d=n+oe,p;if(t.firstCreatePass){if(p=ds(t,d,4,s||null,a||null),l!=null){let f=$e(t.consts,l);p.localNames=[];for(let g=0;g<f.length;g+=2)p.localNames.push(f[g],-1)}}else p=t.data[d];return $I(p,e,t,n,r,o,i,c),l!=null&&Nl(e,p,u),p}var BI=zI;function zI(e,t,n,r){return Ti(!0),t[V].createComment("")}var Ll=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();var Fl=new I("");function Wr(e){return!!e&&typeof e.then=="function"}function Eh(e){return!!e&&typeof e.subscribe=="function"}var Ih=new I("");var jl=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=h(Ih,{optional:!0})??[];injector=h(Fe);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=re(this.injector,o);if(Wr(i))n.push(i);else if(Eh(i)){let s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});n.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),n.length===0&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),vs=new I("");function wh(){ca(()=>{let e="";throw new E(600,e)})}function Dh(e){return e.isBoundToModule}var GI=10;var on=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=h(we);afterRenderManager=h(Lp);zonelessEnabled=h(Ar);rootEffectScheduler=h(Tc);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new ee;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=h(Be);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(R(n=>!n))}constructor(){h(zr,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=h(K);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=Fe.NULL){return this._injector.get(Q).run(()=>{j(10);let s=n instanceof fs;if(!this._injector.get(jl).done){let g="";throw new E(405,g)}let c;s?c=n:c=this._injector.get(Gr).resolveComponentFactory(n),this.componentTypes.push(c.componentType);let l=Dh(c)?void 0:this._injector.get(Bn),u=r||c.selector,d=c.create(o,[],u,l),p=d.location.nativeElement,f=d.injector.get(Fl,null);return f?.registerApplication(p),d.onDestroy(()=>{this.detachView(d.hostView),kr(this.components,d),f?.unregisterApplication(p)}),this._loadComponent(d),j(11,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){j(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(bl.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new E(101,!1);let n=S(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,S(n),this.afterTick.next(),j(13)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(nn,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<GI;)j(14),this.synchronizeOnce(),j(15)}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let n=!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&&!Nr(o))continue;let i=r&&!this.zonelessEnabled?0:1;Jp(o,i),n=!0}if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}n||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>Nr(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){let r=n;kr(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView);try{this.tick()}catch(o){this.internalErrorHandler(o)}this.components.push(n),this._injector.get(vs,[]).forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>kr(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new E(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function kr(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function bh(e,t,n,r){let o=k(),i=bt();if(Ge(o,i,t)){let s=ie(),a=xr();SE(a,o,e,t,n,r)}return bh}var cA=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";var Xc=class{destroy(t){}updateValue(t,n){}swap(t,n){let r=Math.min(t,n),o=Math.max(t,n),i=this.detach(o);if(o-r>1){let s=this.detach(r);this.attach(r,i),this.attach(o,s)}else this.attach(r,i)}move(t,n){this.attach(n,this.detach(t))}};function Rc(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function qI(e,t,n){let r,o,i=0,s=e.length-1,a=void 0;if(Array.isArray(t)){let c=t.length-1;for(;i<=s&&i<=c;){let l=e.at(i),u=t[i],d=Rc(i,l,i,u,n);if(d!==0){d<0&&e.updateValue(i,u),i++;continue}let p=e.at(s),f=t[c],g=Rc(s,p,c,f,n);if(g!==0){g<0&&e.updateValue(s,f),s--,c--;continue}let D=n(i,l),y=n(s,p),m=n(i,u);if(Object.is(m,y)){let z=n(c,f);Object.is(z,D)?(e.swap(i,s),e.updateValue(s,f),c--,s--):e.move(s,i),e.updateValue(i,u),i++;continue}if(r??=new Qi,o??=jf(e,i,s,n),el(e,r,i,m))e.updateValue(i,u),i++,s++;else if(o.has(m))r.set(D,e.detach(i)),s--;else{let z=e.create(i,t[i]);e.attach(i,z),i++,s++}}for(;i<=c;)Ff(e,r,n,i,t[i]),i++}else if(t!=null){let c=t[Symbol.iterator](),l=c.next();for(;!l.done&&i<=s;){let u=e.at(i),d=l.value,p=Rc(i,u,i,d,n);if(p!==0)p<0&&e.updateValue(i,d),i++,l=c.next();else{r??=new Qi,o??=jf(e,i,s,n);let f=n(i,d);if(el(e,r,i,f))e.updateValue(i,d),i++,s++,l=c.next();else if(!o.has(f))e.attach(i,e.create(i,d)),i++,s++,l=c.next();else{let g=n(i,u);r.set(g,e.detach(i)),s--}}}for(;!l.done;)Ff(e,r,n,e.length,l.value),l=c.next()}for(;i<=s;)e.destroy(e.detach(s--));r?.forEach(c=>{e.destroy(c)})}function el(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function Ff(e,t,n,r,o){if(el(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function jf(e,t,n,r){let o=new Set;for(let i=t;i<=n;i++)o.add(r(i,e.at(i)));return o}var Qi=class{kvMap=new Map;_vMap=void 0;has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let n=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),t(r,n)}}};function WI(e,t,n,r,o,i,s,a){St("NgControlFlow");let c=k(),l=ie(),u=$e(l.consts,i);return Zi(c,l,e,t,n,r,o,u,256,s,a),Ul}function Ul(e,t,n,r,o,i,s,a){St("NgControlFlow");let c=k(),l=ie(),u=$e(l.consts,i);return Zi(c,l,e,t,n,r,o,u,512,s,a),Ul}function ZI(e,t){St("NgControlFlow");let n=k(),r=bt(),o=n[r]!==Pe?n[r]:-1,i=o!==-1?Yi(n,oe+o):void 0,s=0;if(Ge(n,r,e)){let a=S(null);try{if(i!==void 0&&oh(i,s),e!==-1){let c=oe+e,l=Yi(n,c),u=ol(n[C],c),d=sh(l,u,n),p=Al(n,u,t,{dehydratedView:d});us(l,p,s,Lr(u,d))}}finally{S(a)}}else if(i!==void 0){let a=rh(i,s);a!==void 0&&(a[$]=t)}}var tl=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-B}};function QI(e){return e}function YI(e,t){return t}var nl=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function KI(e,t,n,r,o,i,s,a,c,l,u,d,p){St("NgControlFlow");let f=k(),g=ie(),D=c!==void 0,y=k(),m=a?s.bind(y[Ee][$]):s,z=new nl(D,m);y[oe+e]=z,Zi(f,g,e+1,t,n,r,o,$e(g.consts,i),256),D&&Zi(f,g,e+2,c,l,u,d,$e(g.consts,p),512)}var rl=class extends Xc{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r}get length(){return this.lContainer.length-B}at(t){return this.getLView(t)[$].$implicit}attach(t,n){let r=n[On];this.needsIndexUpdate||=t!==this.length,us(this.lContainer,n,t,Lr(this.templateTNode,r)),XI(this.lContainer,t)}detach(t){return this.needsIndexUpdate||=t!==this.length-1,ew(this.lContainer,t),tw(this.lContainer,t)}create(t,n){let r=Qc(this.lContainer,this.templateTNode.tView.ssrId),o=Al(this.hostLView,this.templateTNode,new tl(this.lContainer,n,t),{dehydratedView:r});return this.operationsCounter?.recordCreate(),o}destroy(t){cs(t[C],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[$].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[$].$index=t}getLView(t){return nw(this.lContainer,t)}};function JI(e){let t=S(null),n=rt();try{let r=k(),o=r[C],i=r[n],s=n+1,a=Yi(r,s);if(i.liveCollection===void 0){let l=ol(o,s);i.liveCollection=new rl(a,r,l)}else i.liveCollection.reset();let c=i.liveCollection;if(qI(c,e,i.trackByFn),c.updateIndexes(),i.hasEmptyBlock){let l=bt(),u=c.length===0;if(Ge(r,l,u)){let d=n+2,p=Yi(r,d);if(u){let f=ol(o,d),g=sh(p,f,r),D=Al(r,f,void 0,{dehydratedView:g});us(p,D,0,Lr(f,g))}else o.firstUpdatePass&&QE(p),oh(p,0)}}}finally{S(t)}}function Yi(e,t){return e[t]}function XI(e,t){if(e.length<=B)return;let n=B+t,r=e[n],o=r?r[Qt]:void 0;if(r&&o&&o.detachedLeaveAnimationFns&&o.detachedLeaveAnimationFns.length>0){let i=r[nt];tE(i,o),en.delete(r),o.detachedLeaveAnimationFns=void 0}}function ew(e,t){if(e.length<=B)return;let n=B+t,r=e[n],o=r?r[Qt]:void 0;o&&o.leave&&o.leave.size>0&&(o.detachedLeaveAnimationFns=[])}function tw(e,t){return jr(e,t)}function nw(e,t){return rh(e,t)}function ol(e,t){return Mr(e,t)}function Th(e,t,n){let r=k(),o=bt();if(Ge(r,o,t)){let i=ie(),s=xr();Bp(s,r,e,t,r[V],n)}return Th}function Uf(e,t,n,r,o){Rl(t,e,n,o?"class":"style",r)}function Vl(e,t,n,r){let o=k(),i=o[C],s=e+oe,a=i.firstCreatePass?uh(s,o,2,t,CE,Ud(),n,r):i.data[s];if(Gp(a,o,e,t,Sh),vi(a)){let c=o[C];$p(c,o,a),gp(c,a,o)}return r!=null&&Nl(o,a),Vl}function Hl(){let e=ie(),t=ue(),n=qp(t);return e.firstCreatePass&&dh(e,n),lc(n)&&uc(),cc(),n.classesWithoutHost!=null&&Uv(n)&&Uf(e,n,k(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&Vv(n)&&Uf(e,n,k(),n.stylesWithoutHost,!1),Hl}function ys(e,t,n,r){return Vl(e,t,n,r),Hl(),ys}function $l(e,t,n,r){let o=k(),i=o[C],s=e+oe,a=i.firstCreatePass?dI(s,i,2,t,n,r):i.data[s];return Gp(a,o,e,t,Sh),r!=null&&Nl(o,a),$l}function Bl(){let e=ue(),t=qp(e);return lc(t)&&uc(),cc(),Bl}function Ch(e,t,n,r){return $l(e,t,n,r),Bl(),Ch}var Sh=(e,t,n,r,o)=>(Ti(!0),bp(t[V],r,rf()));function rw(){return k()}function _h(e,t,n){let r=k(),o=bt();if(Ge(r,o,t)){let i=ie(),s=xr();zp(s,r,e,t,r[V],n)}return _h}var Zr="en-US";var ow=Zr;function Mh(e){typeof e=="string"&&(ow=e.toLowerCase().replace(/_/g,"-"))}function Nh(e,t,n){let r=k(),o=ie(),i=ue();return xh(o,r,r[V],i,e,t,n),Nh}function Rh(e,t,n){let r=k(),o=ie(),i=ue();return(i.type&3||n)&&fh(i,o,r,n,r[V],e,t,Oi(i,r,t)),Rh}function xh(e,t,n,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=Oi(r,t,i),fh(r,e,t,s,n,o,i,c)&&(a=!1)),a){let l=r.outputs?.[o],u=r.hostDirectiveOutputs?.[o];if(u&&u.length)for(let d=0;d<u.length;d+=2){let p=u[d],f=u[d+1];c??=Oi(r,t,i),Of(r,t,p,f,o,c)}if(l&&l.length)for(let d of l)c??=Oi(r,t,i),Of(r,t,d,o,o,c)}}function iw(e=1){return ef(e)}function Ni(e,t){return e<<17|t<<2}function rn(e){return e>>17&32767}function sw(e){return(e&2)==2}function aw(e,t){return e&131071|t<<17}function il(e){return e|2}function zn(e){return(e&131068)>>2}function xc(e,t){return e&-131069|t<<2}function cw(e){return(e&1)===1}function sl(e){return e|1}function lw(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=rn(s),c=zn(s);e[r]=n;let l=!1,u;if(Array.isArray(n)){let d=n;u=d[1],(u===null||An(d,u)>0)&&(l=!0)}else u=n;if(o)if(c!==0){let p=rn(e[a+1]);e[r+1]=Ni(p,a),p!==0&&(e[p+1]=xc(e[p+1],r)),e[a+1]=aw(e[a+1],r)}else e[r+1]=Ni(a,0),a!==0&&(e[a+1]=xc(e[a+1],r)),a=r;else e[r+1]=Ni(c,0),a===0?a=r:e[c+1]=xc(e[c+1],r),c=r;l&&(e[r+1]=il(e[r+1])),Vf(e,u,r,!0),Vf(e,u,r,!1),uw(t,u,e,r,i),s=Ni(a,c),i?t.classBindings=s:t.styleBindings=s}function uw(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&An(i,t)>=0&&(n[r+1]=sl(n[r+1]))}function Vf(e,t,n,r){let o=e[n+1],i=t===null,s=r?rn(o):zn(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],l=e[s+1];dw(c,t)&&(a=!0,e[s+1]=r?sl(l):il(l)),s=r?rn(l):zn(l)}a&&(e[n+1]=r?il(o):sl(o))}function dw(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?An(e,t)>=0:!1}function Ah(e,t,n){return Ph(e,t,n,!1),Ah}function Oh(e,t){return Ph(e,t,null,!0),Oh}function Ph(e,t,n,r){let o=k(),i=ie(),s=gc(2);if(i.firstUpdatePass&&pw(i,e,s,r),t!==Pe&&Ge(o,s,t)){let a=i.data[rt()];yw(i,a,o,o[V],e,o[s+1]=Ew(t,n),r,s)}}function fw(e,t){return t>=e.expandoStartIndex}function pw(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[rt()],s=fw(e,n);Iw(i,r)&&t===null&&!s&&(t=!1),t=hw(o,i,t,r),lw(o,i,t,n,s,r)}}function hw(e,t,n,r){let o=Yd(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=Ac(null,e,t,n,r),n=Vr(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=Ac(o,e,t,n,r),i===null){let c=gw(e,t,r);c!==void 0&&Array.isArray(c)&&(c=Ac(null,e,t,c[1],r),c=Vr(c,t.attrs,r),mw(e,t,r,c))}else i=vw(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function gw(e,t,n){let r=n?t.classBindings:t.styleBindings;if(zn(r)!==0)return e[rn(r)]}function mw(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[rn(o)]=r}function vw(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=Vr(r,s,n)}return Vr(r,t.attrs,n)}function Ac(e,t,n,r,o){let i=null,s=n.directiveEnd,a=n.directiveStylingLast;for(a===-1?a=n.directiveStart:a++;a<s&&(i=t[a],r=Vr(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function Vr(e,t,n){let r=n?1:2,o=-1;if(t!==null)for(let i=0;i<t.length;i++){let s=t[i];typeof s=="number"?o=s:o===r&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),Dd(e,s,n?!0:t[++i]))}return e===void 0?null:e}function yw(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,l=c[a+1],u=cw(l)?Hf(c,t,n,o,zn(l),s):void 0;if(!Ki(u)){Ki(i)||sw(l)&&(i=Hf(c,null,n,o,a,s));let d=oc(rt(),n);mE(r,s,d,o,i)}}function Hf(e,t,n,r,o,i){let s=t===null,a;for(;o>0;){let c=e[o],l=Array.isArray(c),u=l?c[1]:c,d=u===null,p=n[o+1];p===Pe&&(p=d?ye:void 0);let f=d?hi(p,r):u===r?p:void 0;if(l&&!Ki(f)&&(f=hi(c,r)),Ki(f)&&(a=f,s))return a;let g=e[o+1];o=s?rn(g):zn(g)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=hi(c,r))}return a}function Ki(e){return e!==void 0}function Ew(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=Xe(is(e)))),e}function Iw(e,t){return(e.flags&(t?8:16))!==0}function ww(e,t=""){let n=k(),r=ie(),o=e+oe,i=r.firstCreatePass?ds(r,o,1,t,null):r.data[o],s=Dw(r,n,i,t,e);n[o]=s,bi()&&_l(r,n,s,i),Fn(i,!1)}var Dw=(e,t,n,r,o)=>(Ti(!0),_y(t[V],r));function bw(e,t,n,r=""){return Ge(e,bt(),n)?t+yt(n)+r:Pe}function Tw(e,t,n,r,o,i=""){let s=Gd(),a=fI(e,s,n,o);return gc(2),a?t+yt(n)+r+yt(o)+i:Pe}function kh(e){return zl("",e),kh}function zl(e,t,n){let r=k(),o=bw(r,e,t,n);return o!==Pe&&Fh(r,rt(),o),zl}function Lh(e,t,n,r,o){let i=k(),s=Tw(i,e,t,n,r,o);return s!==Pe&&Fh(i,rt(),s),Lh}function Fh(e,t,n){let r=oc(t,e);My(e[V],r,n)}function jh(e,t,n){wc(t)&&(t=t());let r=k(),o=bt();if(Ge(r,o,t)){let i=ie(),s=xr();Bp(s,r,e,t,r[V],n)}return jh}function Cw(e,t){let n=wc(e);return n&&e.set(t),n}function Uh(e,t){let n=k(),r=ie(),o=ue();return xh(r,n,n[V],o,e,t),Uh}function Sw(e,t,n){let r=ie();if(r.firstCreatePass){let o=He(e);al(n,r.data,r.blueprint,o,!0),al(t,r.data,r.blueprint,o,!1)}}function al(e,t,n,r,o){if(e=ne(e),Array.isArray(e))for(let i=0;i<e.length;i++)al(e[i],t,n,r,o);else{let i=ie(),s=k(),a=ue(),c=Ht(e)?e:ne(e.provide),l=Ja(e),u=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(Ht(e)||!e.multi){let f=new Xt(l,o,ps,null),g=Pc(c,t,o?u:u+p,d);g===-1?(Lc(Fi(a,s),i,c),Oc(i,e,t.length),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[g]=f,s[g]=f)}else{let f=Pc(c,t,u+p,d),g=Pc(c,t,u,u+p),D=f>=0&&n[f],y=g>=0&&n[g];if(o&&!y||!o&&!D){Lc(Fi(a,s),i,c);let m=Nw(o?Mw:_w,n.length,o,r,l,e);!o&&y&&(n[g].providerFactory=m),Oc(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(m),s.push(m)}else{let m=Vh(n[o?g:f],l,!o&&r);Oc(i,e,f>-1?f:g,m)}!o&&r&&y&&n[g].componentProviders++}}}function Oc(e,t,n,r){let o=Ht(t),i=Md(t);if(o||i){let c=(i?ne(t.useClass):t).prototype.ngOnDestroy;if(c){let l=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let u=l.indexOf(n);u===-1?l.push(n,[r,c]):l[u+1].push(r,c)}else l.push(n,c)}}}function Vh(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Pc(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function _w(e,t,n,r,o){return cl(this.multi,[])}function Mw(e,t,n,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=ji(r,r[C],this.providerFactory.index,o);s=c.slice(0,a),cl(i,s);for(let l=a;l<c.length;l++)s.push(c[l])}else s=[],cl(i,s);return s}function cl(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function Nw(e,t,n,r,o,i){let s=new Xt(e,n,ps,null);return s.multi=[],s.index=t,s.componentProviders=0,Vh(s,o,r&&!n),s}function Rw(e,t=[]){return n=>{n.providersResolver=(r,o)=>Sw(r,o?o(e):e,t)}}var Ji=class{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},Gl=(()=>{class e{compileModuleSync(n){return new Wi(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=Za(n),i=Mp(o.declarations).reduce((s,a)=>{let c=It(a);return c&&s.push(new $n(c)),s},[]);return new Ji(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var xw=(()=>{class e{zone=h(Q);changeDetectionScheduler=h(vt);applicationRef=h(on);applicationErrorHandler=h(we);_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(n){this.applicationErrorHandler(n)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Hh=new I("",{factory:()=>!1});function ql({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new Q(U(v({},Wl()),{scheduleInRootZone:n})),[{provide:Q,useFactory:e},{provide:et,multi:!0,useFactory:()=>{let r=h(xw,{optional:!0});return()=>r.initialize()}},{provide:et,multi:!0,useFactory:()=>{let r=h(Ow);return()=>{r.initialize()}}},t===!0?{provide:Dc,useValue:!0}:[],{provide:bc,useValue:n??Op},{provide:we,useFactory:()=>{let r=h(Q),o=h(K),i;return s=>{r.runOutsideAngular(()=>{o.destroyed&&!i?setTimeout(()=>{throw s}):(i??=o.get(je),i.handleError(s))})}}}]}function Aw(e){let t=e?.ignoreChangesOutsideZone,n=e?.scheduleInRootZone,r=ql({ngZoneFactory:()=>{let o=Wl(e);return o.scheduleInRootZone=n,o.shouldCoalesceEventChangeDetection&&St("NgZone_CoalesceEvent"),new Q(o)},ignoreChangesOutsideZone:t,scheduleInRootZone:n});return tt([{provide:Hh,useValue:!0},{provide:Ar,useValue:!1},r])}function Wl(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var Ow=(()=>{class e{subscription=new G;initialized=!1;zone=h(Q);pendingTasks=h(Be);initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{Q.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Q.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var $h=(()=>{class e{applicationErrorHandler=h(we);appRef=h(on);taskService=h(Be);ngZone=h(Q);zonelessEnabled=h(Ar);tracing=h(zr,{optional:!0});disableScheduling=h(Dc,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new G;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Hi):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(h(bc,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof $i||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;let r=!1;switch(n){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2,r=!0;break}case 12:{this.appRef.dirtyFlags|=16,r=!0;break}case 13:{this.appRef.dirtyFlags|=2,r=!0;break}case 11:{r=!0;break}default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(r))return;let o=this.useMicrotaskScheduler?bf:Pp;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>o(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>o(()=>this.tick()))}shouldScheduleTick(n){return!(this.disableScheduling&&!n||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Hi+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 n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){this.taskService.remove(n),this.applicationErrorHandler(r)}finally{this.cleanup()}this.useMicrotaskScheduler=!0,bf(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Pw(){return typeof $localize<"u"&&$localize.locale||Zr}var Zl=new I("",{providedIn:"root",factory:()=>h(Zl,{optional:!0,skipSelf:!0})||Pw()});function _t(e){return pd(e)}function kw(e,t){return Po(e,t?.equal)}var Bh=class{[ce];constructor(t){this[ce]=t}destroy(){this[ce].destroy()}};var Gh=Symbol("InputSignalNode#UNSET"),Gw=U(v({},ko),{transformFn:void 0,applyValueToInputSignal(e,t){En(e,t)}});function qh(e,t){let n=Object.create(Gw);n.value=e,n.transformFn=t?.transform;function r(){if(mn(n),n.value===Gh){let o=null;throw new E(-950,o)}return n.value}return r[ce]=n,r}var qw=new I("");qw.__NG_ELEMENT_ID__=e=>{let t=ue();if(t===null)throw new E(204,!1);if(t.type&2)return t.value;if(e&8)return null;throw new E(204,!1)};function zh(e,t){return qh(e,t)}function Ww(e){return qh(Gh,e)}var Wh=(zh.required=Ww,zh);var Ql=new I(""),Zw=new I("");function Qr(e){return!e.moduleRef}function Qw(e){let t=Qr(e)?e.r3Injector:e.moduleRef.injector,n=t.get(Q);return n.run(()=>{Qr(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(we),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:r})}),Qr(e)){let i=()=>t.destroy(),s=e.platformInjector.get(Ql);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(Ql);s.add(i),e.moduleRef.onDestroy(()=>{kr(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return Kw(r,n,()=>{let i=t.get(Be),s=i.add(),a=t.get(jl);return a.runInitializers(),a.donePromise.then(()=>{let c=t.get(Zl,Zr);if(Mh(c||Zr),!t.get(Zw,!0))return Qr(e)?t.get(on):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Qr(e)){let u=t.get(on);return e.rootComponent!==void 0&&u.bootstrap(e.rootComponent),u}else return Yw?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>{i.remove(s)})})})}var Yw;function Kw(e,t,n){try{let r=n();return Wr(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e(r)),r}}var Es=null;function Jw(e=[],t){return Fe.create({name:t,providers:[{provide:Dr,useValue:"platform"},{provide:Ql,useValue:new Set([()=>Es=null])},...e]})}function Xw(e=[]){if(Es)return Es;let t=Jw(e);return Es=t,wh(),eD(t),t}function eD(e){let t=e.get(ns,null);re(e,()=>{t?.forEach(n=>n())})}var Zh=(()=>{class e{static __NG_ELEMENT_ID__=tD}return e})();function tD(e){return nD(ue(),k(),(e&16)===16)}function nD(e,t,n){if(Dt(e)&&!n){let r=_e(e.index,t);return new tn(r,r)}else if(e.type&175){let r=t[Ee];return new tn(r,t)}return null}function Qh(e){let{rootComponent:t,appProviders:n,platformProviders:r,platformRef:o}=e;j(8);try{let i=o?.injector??Xw(r),s=[ql({}),{provide:vt,useExisting:$h},sf,...n||[]],a=new Ur({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1});return Qw({r3Injector:a.injector,platformInjector:i,rootComponent:t})}catch(i){return Promise.reject(i)}finally{j(9)}}function rD(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}var Jh=null;function at(){return Jh}function Yl(e){Jh??=e}var Yr=class{},Kl=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:()=>h(Xh),providedIn:"platform"})}return e})();var Xh=(()=>{class e extends Kl{_location;_history;_doc=h(Z);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return at().getBaseHref(this._doc)}onPopState(n){let r=at().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){let r=at().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(n){this._location.pathname=n}pushState(n,r,o){this._history.pushState(n,r,o)}replaceState(n,r,o){this._history.replaceState(n,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function eg(e,t){return e?t?e.endsWith("/")?t.startsWith("/")?e+t.slice(1):e+t:t.startsWith("/")?e+t:`${e}/${t}`:e:t}function Yh(e){let t=e.search(/#|\?|$/);return e[t-1]==="/"?e.slice(0,t-1)+e.slice(t):e}function Mt(e){return e&&e[0]!=="?"?`?${e}`:e}var Is=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:()=>h(ng),providedIn:"root"})}return e})(),tg=new I(""),ng=(()=>{class e extends Is{_platformLocation;_baseHref;_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??h(Z).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return eg(this._baseHref,n)}path(n=!1){let r=this._platformLocation.pathname+Mt(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+Mt(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+Mt(i));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static \u0275fac=function(r){return new(r||e)(T(Kl),T(tg,8))};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Gn=(()=>{class e{_subject=new ee;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(n){this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=sD(Yh(Kh(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(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+Mt(r))}normalize(n){return e.stripTrailingSlash(iD(this._basePath,Kh(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",o=null){this._locationStrategy.pushState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Mt(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Mt(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(o=>o(n,r))}subscribe(n,r,o){return this._subject.subscribe({next:n,error:r??void 0,complete:o??void 0})}static normalizeQueryParams=Mt;static joinWithSlash=eg;static stripTrailingSlash=Yh;static \u0275fac=function(r){return new(r||e)(T(Is))};static \u0275prov=w({token:e,factory:()=>oD(),providedIn:"root"})}return e})();function oD(){return new Gn(T(Is))}function iD(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function Kh(e){return e.replace(/\/index.html$/,"")}function sD(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}function Kr(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let r=n.indexOf("="),[o,i]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}var an=class{};var rg="browser";var Jr=class{_doc;constructor(t){this._doc=t}manager},ws=(()=>{class e extends Jr{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o,i){return n.addEventListener(r,o,i),()=>this.removeEventListener(n,r,o,i)}removeEventListener(n,r,o,i){return n.removeEventListener(r,o,i)}static \u0275fac=function(r){return new(r||e)(T(Z))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})(),bs=new I(""),nu=(()=>{class e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(n,r){this._zone=r,n.forEach(s=>{s.manager=this});let o=n.filter(s=>!(s instanceof ws));this._plugins=o.slice().reverse();let i=n.find(s=>s instanceof ws);i&&this._plugins.push(i)}addEventListener(n,r,o,i){return this._findPluginFor(r).addEventListener(n,r,o,i)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(i=>i.supports(n)),!r)throw new E(5101,!1);return this._eventNameToPlugin.set(n,r),r}static \u0275fac=function(r){return new(r||e)(T(bs),T(Q))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})(),Jl="ng-app-id";function og(e){for(let t of e)t.remove()}function ig(e,t){let n=t.createElement("style");return n.textContent=e,n}function aD(e,t,n,r){let o=e.head?.querySelectorAll(`style[${Jl}="${t}"],link[${Jl}="${t}"]`);if(o)for(let i of o)i.removeAttribute(Jl),i instanceof HTMLLinkElement?r.set(i.href.slice(i.href.lastIndexOf("/")+1),{usage:0,elements:[i]}):i.textContent&&n.set(i.textContent,{usage:0,elements:[i]})}function eu(e,t){let n=t.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",e),n}var ru=(()=>{class e{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(n,r,o,i={}){this.doc=n,this.appId=r,this.nonce=o,aD(n,r,this.inline,this.external),this.hosts.add(n.head)}addStyles(n,r){for(let o of n)this.addUsage(o,this.inline,ig);r?.forEach(o=>this.addUsage(o,this.external,eu))}removeStyles(n,r){for(let o of n)this.removeUsage(o,this.inline);r?.forEach(o=>this.removeUsage(o,this.external))}addUsage(n,r,o){let i=r.get(n);i?i.usage++:r.set(n,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,o(n,this.doc)))})}removeUsage(n,r){let o=r.get(n);o&&(o.usage--,o.usage<=0&&(og(o.elements),r.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])og(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(let[r,{elements:o}]of this.inline)o.push(this.addElement(n,ig(r,this.doc)));for(let[r,{elements:o}]of this.external)o.push(this.addElement(n,eu(r,this.doc)))}removeHost(n){this.hosts.delete(n)}addElement(n,r){return this.nonce&&r.setAttribute("nonce",this.nonce),n.appendChild(r)}static \u0275fac=function(r){return new(r||e)(T(Z),T(ts),T(rs,8),T($r))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})(),Xl={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"},ou=/%COMP%/g;var ag="%COMP%",cD=`_nghost-${ag}`,lD=`_ngcontent-${ag}`,uD=!0,dD=new I("",{providedIn:"root",factory:()=>uD});function fD(e){return lD.replace(ou,e)}function pD(e){return cD.replace(ou,e)}function cg(e,t){return t.map(n=>n.replace(ou,e))}var iu=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(n,r,o,i,s,a,c=null,l=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.ngZone=a,this.nonce=c,this.tracingService=l,this.platformIsServer=!1,this.defaultRenderer=new Xr(n,s,a,this.platformIsServer,this.tracingService)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;let o=this.getOrCreateRenderer(n,r);return o instanceof Ds?o.applyToHost(n):o instanceof eo&&o.applyStyles(),o}getOrCreateRenderer(n,r){let o=this.rendererByCompId,i=o.get(r.id);if(!i){let s=this.doc,a=this.ngZone,c=this.eventManager,l=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,d=this.platformIsServer,p=this.tracingService;switch(r.encapsulation){case ot.Emulated:i=new Ds(c,l,r,this.appId,u,s,a,d,p);break;case ot.ShadowDom:return new tu(c,l,n,r,s,a,this.nonce,d,p);default:i=new eo(c,l,r,u,s,a,d,p);break}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(n){this.rendererByCompId.delete(n)}static \u0275fac=function(r){return new(r||e)(T(nu),T(ru),T(ts),T(dD),T(Z),T(Q),T(rs),T(zr,8))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})(),Xr=class{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(t,n,r,o,i){this.eventManager=t,this.doc=n,this.ngZone=r,this.platformIsServer=o,this.tracingService=i}destroy(){}destroyNode=null;createElement(t,n){return n?this.doc.createElementNS(Xl[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(sg(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(sg(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){n.remove()}selectRootElement(t,n){let r=typeof t=="string"?this.doc.querySelector(t):t;if(!r)throw new E(-5104,!1);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,o){if(o){n=o+":"+n;let i=Xl[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){let o=Xl[r];o?t.removeAttributeNS(o,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,o){o&(it.DashCase|it.Important)?t.style.setProperty(n,r,o&it.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&it.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){t!=null&&(t[n]=r)}setValue(t,n){t.nodeValue=n}listen(t,n,r,o){if(typeof t=="string"&&(t=at().getGlobalEventTarget(this.doc,t),!t))throw new E(5102,!1);let i=this.decoratePreventDefault(r);return this.tracingService?.wrapEventListener&&(i=this.tracingService.wrapEventListener(t,n,i)),this.eventManager.addEventListener(t,n,i,o)}decoratePreventDefault(t){return n=>{if(n==="__ngUnwrap__")return t;t(n)===!1&&n.preventDefault()}}};function sg(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var tu=class extends Xr{sharedStylesHost;hostEl;shadowRoot;constructor(t,n,r,o,i,s,a,c,l){super(t,i,s,c,l),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let u=o.styles;u=cg(o.id,u);for(let p of u){let f=document.createElement("style");a&&f.setAttribute("nonce",a),f.textContent=p,this.shadowRoot.appendChild(f)}let d=o.getExternalStyles?.();if(d)for(let p of d){let f=eu(p,i);a&&f.setAttribute("nonce",a),this.shadowRoot.appendChild(f)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(null,n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},eo=class extends Xr{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(t,n,r,o,i,s,a,c,l){super(t,i,s,a,c),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o;let u=r.styles;this.styles=l?cg(l,u):u,this.styleUrls=r.getExternalStyles?.(l)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&en.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},Ds=class extends eo{contentAttr;hostAttr;constructor(t,n,r,o,i,s,a,c,l){let u=o+"-"+r.id;super(t,n,r,i,s,a,c,l,u),this.contentAttr=fD(u),this.hostAttr=pD(u)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){let r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}};var Ts=class e extends Yr{supportsDOMEvents=!0;static makeCurrent(){Yl(new e)}onAndCancel(t,n,r,o){return t.addEventListener(n,r,o),()=>{t.removeEventListener(n,r,o)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.remove()}createElement(t,n){return n=n||this.getDefaultDocument(),n.createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return n==="window"?window:n==="document"?t:n==="body"?t.body:null}getBaseHref(t){let n=hD();return n==null?null:gD(n)}resetBaseElement(){to=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return Kr(document.cookie,t)}},to=null;function hD(){return to=to||document.head.querySelector("base"),to?to.getAttribute("href"):null}function gD(e){return new URL(e,document.baseURI).pathname}var mD=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})(),lg=["alt","control","meta","shift"],vD={"\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"},yD={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},ug=(()=>{class e extends Jr{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,r,o,i){let s=e.parseEventName(r),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>at().onAndCancel(n,s.domEventName,a,i))}static parseEventName(n){let r=n.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."),lg.forEach(l=>{let u=r.indexOf(l);u>-1&&(r.splice(u,1),s+=l+".")}),s+=i,r.length!=0||i.length===0)return null;let c={};return c.domEventName=o,c.fullKey=s,c}static matchEventFullKeyCode(n,r){let o=vD[n.key]||n.key,i="";return r.indexOf("code.")>-1&&(o=n.code,i="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),lg.forEach(s=>{if(s!==o){let a=yD[s];a(n)&&(i+=s+".")}}),i+=o,i===r)}static eventCallback(n,r,o){return i=>{e.matchEventFullKeyCode(i,n)&&o.runGuarded(()=>r(i))}}static _normalizeKey(n){return n==="esc"?"escape":n}static \u0275fac=function(r){return new(r||e)(T(Z))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})();function ED(e,t,n){let r=v({rootComponent:e,platformRef:n?.platformRef},ID(t));return Qh(r)}function ID(e){return{appProviders:[...CD,...e?.providers??[]],platformProviders:TD}}function wD(){Ts.makeCurrent()}function DD(){return new je}function bD(){return pl(document),document}var TD=[{provide:$r,useValue:rg},{provide:ns,useValue:wD,multi:!0},{provide:Z,useFactory:bD}];var CD=[{provide:Dr,useValue:"root"},{provide:je,useFactory:DD},{provide:bs,useClass:ws,multi:!0,deps:[Z]},{provide:bs,useClass:ug,multi:!0,deps:[Z]},iu,ru,nu,{provide:nn,useExisting:iu},{provide:an,useClass:mD},[]];var Zn=class{},no=class{},Nt=class e{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(t){t?typeof t=="string"?this.lazyInit=()=>{this.headers=new Map,t.split(`
|
|
`).forEach(n=>{let r=n.indexOf(":");if(r>0){let o=n.slice(0,r),i=n.slice(r+1).trim();this.addHeaderEntry(o,i)}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((n,r)=>{this.addHeaderEntry(r,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([n,r])=>{this.setHeaderEntries(n,r)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:"a"})}set(t,n){return this.clone({name:t,value:n,op:"s"})}delete(t,n){return this.clone({name:t,value:n,op:"d"})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(n=>{this.headers.set(n,t.headers.get(n)),this.normalizedNames.set(n,t.normalizedNames.get(n))})}clone(t){let n=new e;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){let n=t.name.toLowerCase();switch(t.op){case"a":case"s":let r=t.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(t.name,n);let o=(t.op==="a"?this.headers.get(n):void 0)||[];o.push(...r),this.headers.set(n,o);break;case"d":let i=t.value;if(!i)this.headers.delete(n),this.normalizedNames.delete(n);else{let s=this.headers.get(n);if(!s)return;s=s.filter(a=>i.indexOf(a)===-1),s.length===0?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}break}}addHeaderEntry(t,n){let r=t.toLowerCase();this.maybeSetNormalizedName(t,r),this.headers.has(r)?this.headers.get(r).push(n):this.headers.set(r,[n])}setHeaderEntries(t,n){let r=(Array.isArray(n)?n:[n]).map(i=>i.toString()),o=t.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(t,o)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}};var Ss=class{encodeKey(t){return dg(t)}encodeValue(t){return dg(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}};function SD(e,t){let n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(o=>{let i=o.indexOf("="),[s,a]=i==-1?[t.decodeKey(o),""]:[t.decodeKey(o.slice(0,i)),t.decodeValue(o.slice(i+1))],c=n.get(s)||[];c.push(a),n.set(s,c)}),n}var _D=/%(\d[a-f0-9])/gi,MD={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function dg(e){return encodeURIComponent(e).replace(_D,(t,n)=>MD[n]??t)}function Cs(e){return`${e}`}var ct=class e{map;encoder;updates=null;cloneFrom=null;constructor(t={}){if(this.encoder=t.encoder||new Ss,t.fromString){if(t.fromObject)throw new E(2805,!1);this.map=SD(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(n=>{let r=t.fromObject[n],o=Array.isArray(r)?r.map(Cs):[Cs(r)];this.map.set(n,o)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();let n=this.map.get(t);return n?n[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,n){return this.clone({param:t,value:n,op:"a"})}appendAll(t){let n=[];return Object.keys(t).forEach(r=>{let o=t[r];Array.isArray(o)?o.forEach(i=>{n.push({param:r,value:i,op:"a"})}):n.push({param:r,value:o,op:"a"})}),this.clone(n)}set(t,n){return this.clone({param:t,value:n,op:"s"})}delete(t,n){return this.clone({param:t,value:n,op:"d"})}toString(){return this.init(),this.keys().map(t=>{let n=this.encoder.encodeKey(t);return this.map.get(t).map(r=>n+"="+this.encoder.encodeValue(r)).join("&")}).filter(t=>t!=="").join("&")}clone(t){let n=new e({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":let n=(t.op==="a"?this.map.get(t.param):void 0)||[];n.push(Cs(t.value)),this.map.set(t.param,n);break;case"d":if(t.value!==void 0){let r=this.map.get(t.param)||[],o=r.indexOf(Cs(t.value));o!==-1&&r.splice(o,1),r.length>0?this.map.set(t.param,r):this.map.delete(t.param)}else{this.map.delete(t.param);break}}}),this.cloneFrom=this.updates=null)}};var _s=class{map=new Map;set(t,n){return this.map.set(t,n),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}};function ND(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function fg(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function pg(e){return typeof Blob<"u"&&e instanceof Blob}function hg(e){return typeof FormData<"u"&&e instanceof FormData}function RD(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var gg="Content-Type",mg="Accept",vg="X-Request-URL",yg="text/plain",Eg="application/json",xD=`${Eg}, ${yg}, */*`,qn=class e{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(t,n,r,o){this.url=n,this.method=t.toUpperCase();let i;if(ND(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 E(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),this.transferCache=i.transferCache}if(this.headers??=new Nt,this.context??=new _s,!this.params)this.params=new ct,this.urlWithParams=n;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=n;else{let a=n.indexOf("?"),c=a===-1?"?":a<n.length-1?"&":"";this.urlWithParams=n+c+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||fg(this.body)||pg(this.body)||hg(this.body)||RD(this.body)?this.body:this.body instanceof ct?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||hg(this.body)?null:pg(this.body)?this.body.type||null:fg(this.body)?null:typeof this.body=="string"?yg:this.body instanceof ct?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?Eg:null}clone(t={}){let n=t.method||this.method,r=t.url||this.url,o=t.responseType||this.responseType,i=t.keepalive??this.keepalive,s=t.priority||this.priority,a=t.cache||this.cache,c=t.mode||this.mode,l=t.redirect||this.redirect,u=t.credentials||this.credentials,d=t.referrer||this.referrer,p=t.integrity||this.integrity,f=t.transferCache??this.transferCache,g=t.timeout??this.timeout,D=t.body!==void 0?t.body:this.body,y=t.withCredentials??this.withCredentials,m=t.reportProgress??this.reportProgress,z=t.headers||this.headers,Me=t.params||this.params,se=t.context??this.context;return t.setHeaders!==void 0&&(z=Object.keys(t.setHeaders).reduce((At,Ot)=>At.set(Ot,t.setHeaders[Ot]),z)),t.setParams&&(Me=Object.keys(t.setParams).reduce((At,Ot)=>At.set(Ot,t.setParams[Ot]),Me)),new e(n,r,D,{params:Me,headers:z,context:se,reportProgress:m,responseType:o,withCredentials:y,transferCache:f,keepalive:i,cache:a,priority:s,timeout:g,mode:c,redirect:l,credentials:u,referrer:d,integrity:p})}},cn=(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})(cn||{}),Qn=class{headers;status;statusText;url;ok;type;redirected;constructor(t,n=200,r="OK"){this.headers=t.headers||new Nt,this.status=t.status!==void 0?t.status:n,this.statusText=t.statusText||r,this.url=t.url||null,this.redirected=t.redirected,this.ok=this.status>=200&&this.status<300}},Ms=class e extends Qn{constructor(t={}){super(t)}type=cn.ResponseHeader;clone(t={}){return new e({headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}},ro=class e extends Qn{body;constructor(t={}){super(t),this.body=t.body!==void 0?t.body:null}type=cn.Response;clone(t={}){return new e({body:t.body!==void 0?t.body:this.body,headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0,redirected:t.redirected??this.redirected})}},Wn=class extends Qn{name="HttpErrorResponse";message;error;ok=!1;constructor(t){super(t,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${t.url||"(unknown url)"}`:this.message=`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}},AD=200,OD=204;function su(e,t){return{body:t,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}}var Rs=(()=>{class e{handler;constructor(n){this.handler=n}request(n,r,o={}){let i;if(n instanceof qn)i=n;else{let c;o.headers instanceof Nt?c=o.headers:c=new Nt(o.headers);let l;o.params&&(o.params instanceof ct?l=o.params:l=new ct({fromObject:o.params})),i=new qn(n,r,o.body!==void 0?o.body:null,{headers:c,context:o.context,params:l,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,integrity:o.integrity,timeout:o.timeout})}let s=b(i).pipe(ht(c=>this.handler.handle(c)));if(n instanceof qn||o.observe==="events")return s;let a=s.pipe(ge(c=>c instanceof ro));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(R(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new E(2806,!1);return c.body}));case"blob":return a.pipe(R(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new E(2807,!1);return c.body}));case"text":return a.pipe(R(c=>{if(c.body!==null&&typeof c.body!="string")throw new E(2808,!1);return c.body}));default:return a.pipe(R(c=>c.body))}case"response":return a;default:throw new E(2809,!1)}}delete(n,r={}){return this.request("DELETE",n,r)}get(n,r={}){return this.request("GET",n,r)}head(n,r={}){return this.request("HEAD",n,r)}jsonp(n,r){return this.request("JSONP",n,{params:new ct().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,r={}){return this.request("OPTIONS",n,r)}patch(n,r,o={}){return this.request("PATCH",n,su(o,r))}post(n,r,o={}){return this.request("POST",n,su(o,r))}put(n,r,o={}){return this.request("PUT",n,su(o,r))}static \u0275fac=function(r){return new(r||e)(T(Zn))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})();var PD=new I("");function kD(e,t){return t(e)}function LD(e,t,n){return(r,o)=>re(n,()=>t(r,i=>e(i,o)))}var Ig=new I(""),wg=new I(""),Dg=new I("",{providedIn:"root",factory:()=>!0});var Ns=(()=>{class e extends Zn{backend;injector;chain=null;pendingTasks=h(Ci);contributeToStability=h(Dg);constructor(n,r){super(),this.backend=n,this.injector=r}handle(n){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(Ig),...this.injector.get(wg,[])]));this.chain=r.reduceRight((o,i)=>LD(o,i,this.injector),kD)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(n,o=>this.backend.handle(o)).pipe(Ft(r))}else return this.chain(n,r=>this.backend.handle(r))}static \u0275fac=function(r){return new(r||e)(T(no),T(K))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})();var FD=/^\)\]\}',?\n/,jD=RegExp(`^${vg}:`,"m");function UD(e){return"responseURL"in e&&e.responseURL?e.responseURL:jD.test(e.getAllResponseHeaders())?e.getResponseHeader(vg):null}var au=(()=>{class e{xhrFactory;constructor(n){this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new E(-2800,!1);let r=this.xhrFactory;return b(null).pipe(le(()=>new A(i=>{let s=r.build();if(s.open(n.method,n.urlWithParams),n.withCredentials&&(s.withCredentials=!0),n.headers.forEach((y,m)=>s.setRequestHeader(y,m.join(","))),n.headers.has(mg)||s.setRequestHeader(mg,xD),!n.headers.has(gg)){let y=n.detectContentTypeHeader();y!==null&&s.setRequestHeader(gg,y)}if(n.timeout&&(s.timeout=n.timeout),n.responseType){let y=n.responseType.toLowerCase();s.responseType=y!=="json"?y:"text"}let a=n.serializeBody(),c=null,l=()=>{if(c!==null)return c;let y=s.statusText||"OK",m=new Nt(s.getAllResponseHeaders()),z=UD(s)||n.url;return c=new Ms({headers:m,status:s.status,statusText:y,url:z}),c},u=()=>{let{headers:y,status:m,statusText:z,url:Me}=l(),se=null;m!==OD&&(se=typeof s.response>"u"?s.responseText:s.response),m===0&&(m=se?AD:0);let At=m>=200&&m<300;if(n.responseType==="json"&&typeof se=="string"){let Ot=se;se=se.replace(FD,"");try{se=se!==""?JSON.parse(se):null}catch(ym){se=Ot,At&&(At=!1,se={error:ym,text:se})}}At?(i.next(new ro({body:se,headers:y,status:m,statusText:z,url:Me||void 0})),i.complete()):i.error(new Wn({error:se,headers:y,status:m,statusText:z,url:Me||void 0}))},d=y=>{let{url:m}=l(),z=new Wn({error:y,status:s.status||0,statusText:s.statusText||"Unknown Error",url:m||void 0});i.error(z)},p=d;n.timeout&&(p=y=>{let{url:m}=l(),z=new Wn({error:new DOMException("Request timed out","TimeoutError"),status:s.status||0,statusText:s.statusText||"Request timeout",url:m||void 0});i.error(z)});let f=!1,g=y=>{f||(i.next(l()),f=!0);let m={type:cn.DownloadProgress,loaded:y.loaded};y.lengthComputable&&(m.total=y.total),n.responseType==="text"&&s.responseText&&(m.partialText=s.responseText),i.next(m)},D=y=>{let m={type:cn.UploadProgress,loaded:y.loaded};y.lengthComputable&&(m.total=y.total),i.next(m)};return s.addEventListener("load",u),s.addEventListener("error",d),s.addEventListener("timeout",p),s.addEventListener("abort",d),n.reportProgress&&(s.addEventListener("progress",g),a!==null&&s.upload&&s.upload.addEventListener("progress",D)),s.send(a),i.next({type:cn.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",u),s.removeEventListener("timeout",p),n.reportProgress&&(s.removeEventListener("progress",g),a!==null&&s.upload&&s.upload.removeEventListener("progress",D)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(r){return new(r||e)(T(an))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})(),bg=new I(""),VD="XSRF-TOKEN",HD=new I("",{providedIn:"root",factory:()=>VD}),$D="X-XSRF-TOKEN",BD=new I("",{providedIn:"root",factory:()=>$D}),oo=class{},zD=(()=>{class e{doc;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(n,r){this.doc=n,this.cookieName=r}getToken(){let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=Kr(n,this.cookieName),this.lastCookieString=n),this.lastToken}static \u0275fac=function(r){return new(r||e)(T(Z),T(HD))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})(),GD=/^(?:https?:)?\/\//i;function qD(e,t){if(!h(bg)||e.method==="GET"||e.method==="HEAD"||GD.test(e.url))return t(e);let n=h(oo).getToken(),r=h(BD);return n!=null&&!e.headers.has(r)&&(e=e.clone({headers:e.headers.set(r,n)})),t(e)}function WD(...e){let t=[Rs,au,Ns,{provide:Zn,useExisting:Ns},{provide:no,useFactory:()=>h(PD,{optional:!0})??h(au)},{provide:Ig,useValue:qD,multi:!0},{provide:bg,useValue:!0},{provide:oo,useClass:zD}];for(let n of e)t.push(...n.\u0275providers);return tt(t)}var Tg=(()=>{class e{_doc;constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}static \u0275fac=function(r){return new(r||e)(T(Z))};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var _="primary",Io=Symbol("RouteTitle"),fu=class{params;constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){let n=this.params[t];return Array.isArray(n)?n[0]:n}return null}getAll(t){if(this.has(t)){let n=this.params[t];return Array.isArray(n)?n:[n]}return[]}get keys(){return Object.keys(this.params)}};function dn(e){return new fu(e)}function Ag(e,t,n){let r=n.path.split("/");if(r.length>e.length||n.pathMatch==="full"&&(t.hasChildren()||r.length<e.length))return null;let o={};for(let i=0;i<r.length;i++){let s=r[i],a=e[i];if(s[0]===":")o[s.substring(1)]=a;else if(s!==a.path)return null}return{consumed:e.slice(0,r.length),posParams:o}}function QD(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;++n)if(!qe(e[n],t[n]))return!1;return!0}function qe(e,t){let n=e?pu(e):void 0,r=t?pu(t):void 0;if(!n||!r||n.length!=r.length)return!1;let o;for(let i=0;i<n.length;i++)if(o=n[i],!Og(e[o],t[o]))return!1;return!0}function pu(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}function Og(e,t){if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;let n=[...e].sort(),r=[...t].sort();return n.every((o,i)=>r[i]===o)}else return e===t}function Pg(e){return e.length>0?e[e.length-1]:null}function dt(e){return Ia(e)?e:Wr(e)?W(Promise.resolve(e)):b(e)}var YD={exact:Lg,subset:Fg},kg={exact:KD,subset:JD,ignored:()=>!0};function Cg(e,t,n){return YD[n.paths](e.root,t.root,n.matrixParams)&&kg[n.queryParams](e.queryParams,t.queryParams)&&!(n.fragment==="exact"&&e.fragment!==t.fragment)}function KD(e,t){return qe(e,t)}function Lg(e,t,n){if(!ln(e.segments,t.segments)||!Os(e.segments,t.segments,n)||e.numberOfChildren!==t.numberOfChildren)return!1;for(let r in t.children)if(!e.children[r]||!Lg(e.children[r],t.children[r],n))return!1;return!0}function JD(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>Og(e[n],t[n]))}function Fg(e,t,n){return jg(e,t,t.segments,n)}function jg(e,t,n,r){if(e.segments.length>n.length){let o=e.segments.slice(0,n.length);return!(!ln(o,n)||t.hasChildren()||!Os(o,n,r))}else if(e.segments.length===n.length){if(!ln(e.segments,n)||!Os(e.segments,n,r))return!1;for(let o in t.children)if(!e.children[o]||!Fg(e.children[o],t.children[o],r))return!1;return!0}else{let o=n.slice(0,e.segments.length),i=n.slice(e.segments.length);return!ln(e.segments,o)||!Os(e.segments,o,r)||!e.children[_]?!1:jg(e.children[_],t,i,r)}}function Os(e,t,n){return t.every((r,o)=>kg[n](e[o].parameters,r.parameters))}var Ze=class{root;queryParams;fragment;_queryParamMap;constructor(t=new L([],{}),n={},r=null){this.root=t,this.queryParams=n,this.fragment=r}get queryParamMap(){return this._queryParamMap??=dn(this.queryParams),this._queryParamMap}toString(){return tb.serialize(this)}},L=class{segments;children;parent=null;constructor(t,n){this.segments=t,this.children=n,Object.values(n).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Ps(this)}},Rt=class{path;parameters;_parameterMap;constructor(t,n){this.path=t,this.parameters=n}get parameterMap(){return this._parameterMap??=dn(this.parameters),this._parameterMap}toString(){return Vg(this)}};function XD(e,t){return ln(e,t)&&e.every((n,r)=>qe(n.parameters,t[r].parameters))}function ln(e,t){return e.length!==t.length?!1:e.every((n,r)=>n.path===t[r].path)}function eb(e,t){let n=[];return Object.entries(e.children).forEach(([r,o])=>{r===_&&(n=n.concat(t(o,r)))}),Object.entries(e.children).forEach(([r,o])=>{r!==_&&(n=n.concat(t(o,r)))}),n}var wo=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:()=>new fn,providedIn:"root"})}return e})(),fn=class{parse(t){let n=new gu(t);return new Ze(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(t){let n=`/${io(t.root,!0)}`,r=ob(t.queryParams),o=typeof t.fragment=="string"?`#${nb(t.fragment)}`:"";return`${n}${r}${o}`}},tb=new fn;function Ps(e){return e.segments.map(t=>Vg(t)).join("/")}function io(e,t){if(!e.hasChildren())return Ps(e);if(t){let n=e.children[_]?io(e.children[_],!1):"",r=[];return Object.entries(e.children).forEach(([o,i])=>{o!==_&&r.push(`${o}:${io(i,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}else{let n=eb(e,(r,o)=>o===_?[io(e.children[_],!1)]:[`${o}:${io(r,!1)}`]);return Object.keys(e.children).length===1&&e.children[_]!=null?`${Ps(e)}/${n[0]}`:`${Ps(e)}/(${n.join("//")})`}}function Ug(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function xs(e){return Ug(e).replace(/%3B/gi,";")}function nb(e){return encodeURI(e)}function hu(e){return Ug(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function ks(e){return decodeURIComponent(e)}function Sg(e){return ks(e.replace(/\+/g,"%20"))}function Vg(e){return`${hu(e.path)}${rb(e.parameters)}`}function rb(e){return Object.entries(e).map(([t,n])=>`;${hu(t)}=${hu(n)}`).join("")}function ob(e){let t=Object.entries(e).map(([n,r])=>Array.isArray(r)?r.map(o=>`${xs(n)}=${xs(o)}`).join("&"):`${xs(n)}=${xs(r)}`).filter(n=>n);return t.length?`?${t.join("&")}`:""}var ib=/^[^\/()?;#]+/;function cu(e){let t=e.match(ib);return t?t[0]:""}var sb=/^[^\/()?;=#]+/;function ab(e){let t=e.match(sb);return t?t[0]:""}var cb=/^[^=?&#]+/;function lb(e){let t=e.match(cb);return t?t[0]:""}var ub=/^[^&#]+/;function db(e){let t=e.match(ub);return t?t[0]:""}var gu=class{url;remaining;constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new L([],{}):new L([],this.parseChildren())}parseQueryParams(){let t={};if(this.consumeOptional("?"))do this.parseQueryParam(t);while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let n={};this.peekStartsWith("/(")&&(this.capture("/"),n=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(t.length>0||Object.keys(n).length>0)&&(r[_]=new L(t,n)),r}parseSegment(){let t=cu(this.remaining);if(t===""&&this.peekStartsWith(";"))throw new E(4009,!1);return this.capture(t),new Rt(ks(t),this.parseMatrixParams())}parseMatrixParams(){let t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){let n=ab(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let o=cu(this.remaining);o&&(r=o,this.capture(r))}t[ks(n)]=ks(r)}parseQueryParam(t){let n=lb(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let s=db(this.remaining);s&&(r=s,this.capture(r))}let o=Sg(n),i=Sg(r);if(t.hasOwnProperty(o)){let s=t[o];Array.isArray(s)||(s=[s],t[o]=s),s.push(i)}else t[o]=i}parseParens(t){let n={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let r=cu(this.remaining),o=this.remaining[r.length];if(o!=="/"&&o!==")"&&o!==";")throw new E(4010,!1);let i;r.indexOf(":")>-1?(i=r.slice(0,r.indexOf(":")),this.capture(i),this.capture(":")):t&&(i=_);let s=this.parseChildren();n[i??_]=Object.keys(s).length===1&&s[_]?s[_]:new L([],s),this.consumeOptional("//")}return n}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return this.peekStartsWith(t)?(this.remaining=this.remaining.substring(t.length),!0):!1}capture(t){if(!this.consumeOptional(t))throw new E(4011,!1)}};function Hg(e){return e.segments.length>0?new L([],{[_]:e}):e}function $g(e){let t={};for(let[r,o]of Object.entries(e.children)){let i=$g(o);if(r===_&&i.segments.length===0&&i.hasChildren())for(let[s,a]of Object.entries(i.children))t[s]=a;else(i.segments.length>0||i.hasChildren())&&(t[r]=i)}let n=new L(e.segments,t);return fb(n)}function fb(e){if(e.numberOfChildren===1&&e.children[_]){let t=e.children[_];return new L(e.segments.concat(t.segments),t.children)}return e}function er(e){return e instanceof Ze}function Bg(e,t,n=null,r=null){let o=zg(e);return Gg(o,t,n,r)}function zg(e){let t;function n(i){let s={};for(let c of i.children){let l=n(c);s[c.outlet]=l}let a=new L(i.url,s);return i===e&&(t=a),a}let r=n(e.root),o=Hg(r);return t??o}function Gg(e,t,n,r){let o=e;for(;o.parent;)o=o.parent;if(t.length===0)return lu(o,o,o,n,r);let i=pb(t);if(i.toRoot())return lu(o,o,new L([],{}),n,r);let s=hb(i,o,e),a=s.processChildren?ao(s.segmentGroup,s.index,i.commands):Wg(s.segmentGroup,s.index,i.commands);return lu(o,s.segmentGroup,a,n,r)}function Ls(e){return typeof e=="object"&&e!=null&&!e.outlets&&!e.segmentPath}function uo(e){return typeof e=="object"&&e!=null&&e.outlets}function lu(e,t,n,r,o){let i={};r&&Object.entries(r).forEach(([c,l])=>{i[c]=Array.isArray(l)?l.map(u=>`${u}`):`${l}`});let s;e===t?s=n:s=qg(e,t,n);let a=Hg($g(s));return new Ze(a,i,o)}function qg(e,t,n){let r={};return Object.entries(e.children).forEach(([o,i])=>{i===t?r[o]=n:r[o]=qg(i,t,n)}),new L(e.segments,r)}var Fs=class{isAbsolute;numberOfDoubleDots;commands;constructor(t,n,r){if(this.isAbsolute=t,this.numberOfDoubleDots=n,this.commands=r,t&&r.length>0&&Ls(r[0]))throw new E(4003,!1);let o=r.find(uo);if(o&&o!==Pg(r))throw new E(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function pb(e){if(typeof e[0]=="string"&&e.length===1&&e[0]==="/")return new Fs(!0,0,e);let t=0,n=!1,r=e.reduce((o,i,s)=>{if(typeof i=="object"&&i!=null){if(i.outlets){let a={};return Object.entries(i.outlets).forEach(([c,l])=>{a[c]=typeof l=="string"?l.split("/"):l}),[...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===""?n=!0:a===".."?t++:a!=""&&o.push(a))}),o):[...o,i]},[]);return new Fs(n,t,r)}var Jn=class{segmentGroup;processChildren;index;constructor(t,n,r){this.segmentGroup=t,this.processChildren=n,this.index=r}};function hb(e,t,n){if(e.isAbsolute)return new Jn(t,!0,0);if(!n)return new Jn(t,!1,NaN);if(n.parent===null)return new Jn(n,!0,0);let r=Ls(e.commands[0])?0:1,o=n.segments.length-1+r;return gb(n,o,e.numberOfDoubleDots)}function gb(e,t,n){let r=e,o=t,i=n;for(;i>o;){if(i-=o,r=r.parent,!r)throw new E(4005,!1);o=r.segments.length}return new Jn(r,!1,o-i)}function mb(e){return uo(e[0])?e[0].outlets:{[_]:e}}function Wg(e,t,n){if(e??=new L([],{}),e.segments.length===0&&e.hasChildren())return ao(e,t,n);let r=vb(e,t,n),o=n.slice(r.commandIndex);if(r.match&&r.pathIndex<e.segments.length){let i=new L(e.segments.slice(0,r.pathIndex),{});return i.children[_]=new L(e.segments.slice(r.pathIndex),e.children),ao(i,0,o)}else return r.match&&o.length===0?new L(e.segments,{}):r.match&&!e.hasChildren()?mu(e,t,n):r.match?ao(e,0,o):mu(e,t,n)}function ao(e,t,n){if(n.length===0)return new L(e.segments,{});{let r=mb(n),o={};if(Object.keys(r).some(i=>i!==_)&&e.children[_]&&e.numberOfChildren===1&&e.children[_].segments.length===0){let i=ao(e.children[_],t,n);return new L(e.segments,i.children)}return Object.entries(r).forEach(([i,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(o[i]=Wg(e.children[i],t,s))}),Object.entries(e.children).forEach(([i,s])=>{r[i]===void 0&&(o[i]=s)}),new L(e.segments,o)}}function vb(e,t,n){let r=0,o=t,i={match:!1,pathIndex:0,commandIndex:0};for(;o<e.segments.length;){if(r>=n.length)return i;let s=e.segments[o],a=n[r];if(uo(a))break;let c=`${a}`,l=r<n.length-1?n[r+1]:null;if(o>0&&c===void 0)break;if(c&&l&&typeof l=="object"&&l.outlets===void 0){if(!Mg(c,l,s))return i;r+=2}else{if(!Mg(c,{},s))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}function mu(e,t,n){let r=e.segments.slice(0,t),o=0;for(;o<n.length;){let i=n[o];if(uo(i)){let c=yb(i.outlets);return new L(r,c)}if(o===0&&Ls(n[0])){let c=e.segments[t];r.push(new Rt(c.path,_g(n[0]))),o++;continue}let s=uo(i)?i.outlets[_]:`${i}`,a=o<n.length-1?n[o+1]:null;s&&a&&Ls(a)?(r.push(new Rt(s,_g(a))),o+=2):(r.push(new Rt(s,{})),o++)}return new L(r,{})}function yb(e){let t={};return Object.entries(e).forEach(([n,r])=>{typeof r=="string"&&(r=[r]),r!==null&&(t[n]=mu(new L([],{}),0,r))}),t}function _g(e){let t={};return Object.entries(e).forEach(([n,r])=>t[n]=`${r}`),t}function Mg(e,t,n){return e==n.path&&qe(t,n.parameters)}var co="imperative",X=(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})(X||{}),be=class{id;url;constructor(t,n){this.id=t,this.url=n}},pn=class extends be{type=X.NavigationStart;navigationTrigger;restoredState;constructor(t,n,r="imperative",o=null){super(t,n),this.navigationTrigger=r,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},lt=class extends be{urlAfterRedirects;type=X.NavigationEnd;constructor(t,n,r){super(t,n),this.urlAfterRedirects=r}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},fe=(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})(fe||{}),fo=(function(e){return e[e.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",e[e.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",e})(fo||{}),We=class extends be{reason;code;type=X.NavigationCancel;constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},ut=class extends be{reason;code;type=X.NavigationSkipped;constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o}},tr=class extends be{error;target;type=X.NavigationError;constructor(t,n,r,o){super(t,n),this.error=r,this.target=o}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},po=class extends be{urlAfterRedirects;state;type=X.RoutesRecognized;constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},js=class extends be{urlAfterRedirects;state;type=X.GuardsCheckStart;constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Us=class extends be{urlAfterRedirects;state;shouldActivate;type=X.GuardsCheckEnd;constructor(t,n,r,o,i){super(t,n),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})`}},Vs=class extends be{urlAfterRedirects;state;type=X.ResolveStart;constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Hs=class extends be{urlAfterRedirects;state;type=X.ResolveEnd;constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},$s=class{route;type=X.RouteConfigLoadStart;constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Bs=class{route;type=X.RouteConfigLoadEnd;constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},zs=class{snapshot;type=X.ChildActivationStart;constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Gs=class{snapshot;type=X.ChildActivationEnd;constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},qs=class{snapshot;type=X.ActivationStart;constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Ws=class{snapshot;type=X.ActivationEnd;constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}};var ho=class{},nr=class{url;navigationBehaviorOptions;constructor(t,n){this.url=t,this.navigationBehaviorOptions=n}};function Eb(e){return!(e instanceof ho)&&!(e instanceof nr)}function Ib(e,t){return e.providers&&!e._injector&&(e._injector=qr(e.providers,t,`Route: ${e.path}`)),e._injector??t}function ke(e){return e.outlet||_}function wb(e,t){let n=e.filter(r=>ke(r)===t);return n.push(...e.filter(r=>ke(r)!==t)),n}function ir(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let t=e.parent;t;t=t.parent){let n=t.routeConfig;if(n?._loadedInjector)return n._loadedInjector;if(n?._injector)return n._injector}return null}var Zs=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return ir(this.route?.snapshot)??this.rootInjector}constructor(t){this.rootInjector=t,this.children=new sr(this.rootInjector)}},sr=(()=>{class e{rootInjector;contexts=new Map;constructor(n){this.rootInjector=n}onChildOutletCreated(n,r){let o=this.getOrCreateContext(n);o.outlet=r,this.contexts.set(n,o)}onChildOutletDestroyed(n){let r=this.getContext(n);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){let n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let r=this.getContext(n);return r||(r=new Zs(this.rootInjector),this.contexts.set(n,r)),r}getContext(n){return this.contexts.get(n)||null}static \u0275fac=function(r){return new(r||e)(T(K))};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Qs=class{_root;constructor(t){this._root=t}get root(){return this._root.value}parent(t){let n=this.pathFromRoot(t);return n.length>1?n[n.length-2]:null}children(t){let n=vu(t,this._root);return n?n.children.map(r=>r.value):[]}firstChild(t){let n=vu(t,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(t){let n=yu(t,this._root);return n.length<2?[]:n[n.length-2].children.map(o=>o.value).filter(o=>o!==t)}pathFromRoot(t){return yu(t,this._root).map(n=>n.value)}};function vu(e,t){if(e===t.value)return t;for(let n of t.children){let r=vu(e,n);if(r)return r}return null}function yu(e,t){if(e===t.value)return[t];for(let n of t.children){let r=yu(e,n);if(r.length)return r.unshift(t),r}return[]}var De=class{value;children;constructor(t,n){this.value=t,this.children=n}toString(){return`TreeNode(${this.value})`}};function Kn(e){let t={};return e&&e.children.forEach(n=>t[n.value.outlet]=n),t}var go=class extends Qs{snapshot;constructor(t,n){super(t),this.snapshot=n,Su(this,t)}toString(){return this.snapshot.toString()}};function Zg(e){let t=Db(e),n=new te([new Rt("",{})]),r=new te({}),o=new te({}),i=new te({}),s=new te(""),a=new xt(n,r,i,s,o,_,e,t.root);return a.snapshot=t.root,new go(new De(a,[]),t)}function Db(e){let t={},n={},r={},i=new un([],t,r,"",n,_,e,null,{});return new mo("",new De(i,[]))}var xt=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(t,n,r,o,i,s,a,c){this.urlSubject=t,this.paramsSubject=n,this.queryParamsSubject=r,this.fragmentSubject=o,this.dataSubject=i,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(R(l=>l[Io]))??b(void 0),this.url=t,this.params=n,this.queryParams=r,this.fragment=o,this.data=i}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(R(t=>dn(t))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(R(t=>dn(t))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Ys(e,t,n="emptyOnly"){let r,{routeConfig:o}=e;return t!==null&&(n==="always"||o?.path===""||!t.component&&!t.routeConfig?.loadComponent)?r={params:v(v({},t.params),e.params),data:v(v({},t.data),e.data),resolve:v(v(v(v({},e.data),t.data),o?.data),e._resolvedData)}:r={params:v({},e.params),data:v({},e.data),resolve:v(v({},e.data),e._resolvedData??{})},o&&Yg(o)&&(r.resolve[Io]=o.title),r}var un=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[Io]}constructor(t,n,r,o,i,s,a,c,l){this.url=t,this.params=n,this.queryParams=r,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this.routeConfig=c,this._resolve=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??=dn(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=dn(this.queryParams),this._queryParamMap}toString(){let t=this.url.map(r=>r.toString()).join("/"),n=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${t}', path:'${n}')`}},mo=class extends Qs{url;constructor(t,n){super(n),this.url=t,Su(this,n)}toString(){return Qg(this._root)}};function Su(e,t){t.value._routerState=e,t.children.forEach(n=>Su(e,n))}function Qg(e){let t=e.children.length>0?` { ${e.children.map(Qg).join(", ")} } `:"";return`${e.value}${t}`}function uu(e){if(e.snapshot){let t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,qe(t.queryParams,n.queryParams)||e.queryParamsSubject.next(n.queryParams),t.fragment!==n.fragment&&e.fragmentSubject.next(n.fragment),qe(t.params,n.params)||e.paramsSubject.next(n.params),QD(t.url,n.url)||e.urlSubject.next(n.url),qe(t.data,n.data)||e.dataSubject.next(n.data)}else e.snapshot=e._futureSnapshot,e.dataSubject.next(e._futureSnapshot.data)}function Eu(e,t){let n=qe(e.params,t.params)&&XD(e.url,t.url),r=!e.parent!=!t.parent;return n&&!r&&(!e.parent||Eu(e.parent,t.parent))}function Yg(e){return typeof e.title=="string"||e.title===null}var Kg=new I(""),_u=(()=>{class e{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=_;activateEvents=new de;deactivateEvents=new de;attachEvents=new de;detachEvents=new de;routerOutletData=Wh();parentContexts=h(sr);location=h(hs);changeDetector=h(Zh);inputBinder=h(ea,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(n){if(n.name){let{firstChange:r,previousValue:o}=n.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(n){return this.parentContexts.getContext(n)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let n=this.parentContexts.getContext(this.name);n?.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new E(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new E(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new E(4012,!1);this.location.detach();let n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,r){this.activated=n,this._activatedRoute=r,this.location.insert(n.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){let n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,r){if(this.isActivated)throw new E(4013,!1);this._activatedRoute=n;let o=this.location,s=n.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,c=new Iu(n,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=kl({type:e,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[ll]})}return e})(),Iu=class{route;childContexts;parent;outletData;constructor(t,n,r,o){this.route=t,this.childContexts=n,this.parent=r,this.outletData=o}get(t,n){return t===xt?this.route:t===sr?this.childContexts:t===Kg?this.outletData:this.parent.get(t,n)}},ea=new I("");var Mu=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=Pl({type:e,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(r,o){r&1&&ys(0,"router-outlet")},dependencies:[_u],encapsulation:2})}return e})();function Nu(e){let t=e.children&&e.children.map(Nu),n=t?U(v({},e),{children:t}):v({},e);return!n.component&&!n.loadComponent&&(t||n.loadChildren)&&n.outlet&&n.outlet!==_&&(n.component=Mu),n}function bb(e,t,n){let r=vo(e,t._root,n?n._root:void 0);return new go(r,t)}function vo(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){let r=n.value;r._futureSnapshot=t.value;let o=Tb(e,t,n);return new De(r,o)}else{if(e.shouldAttach(t.value)){let i=e.retrieve(t.value);if(i!==null){let s=i.route;return s.value._futureSnapshot=t.value,s.children=t.children.map(a=>vo(e,a)),s}}let r=Cb(t.value),o=t.children.map(i=>vo(e,i));return new De(r,o)}}function Tb(e,t,n){return t.children.map(r=>{for(let o of n.children)if(e.shouldReuseRoute(r.value,o.value.snapshot))return vo(e,r,o);return vo(e,r)})}function Cb(e){return new xt(new te(e.url),new te(e.params),new te(e.queryParams),new te(e.fragment),new te(e.data),e.outlet,e.component,e)}var rr=class{redirectTo;navigationBehaviorOptions;constructor(t,n){this.redirectTo=t,this.navigationBehaviorOptions=n}},Jg="ngNavigationCancelingError";function Ks(e,t){let{redirectTo:n,navigationBehaviorOptions:r}=er(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,o=Xg(!1,fe.Redirect);return o.url=n,o.navigationBehaviorOptions=r,o}function Xg(e,t){let n=new Error(`NavigationCancelingError: ${e||""}`);return n[Jg]=!0,n.cancellationCode=t,n}function Sb(e){return em(e)&&er(e.url)}function em(e){return!!e&&e[Jg]}var _b=(e,t,n,r)=>R(o=>(new wu(t,o.targetRouterState,o.currentRouterState,n,r).activate(e),o)),wu=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(t,n,r,o,i){this.routeReuseStrategy=t,this.futureState=n,this.currState=r,this.forwardEvent=o,this.inputBindingEnabled=i}activate(t){let n=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(n,r,t),uu(this.futureState.root),this.activateChildRoutes(n,r,t)}deactivateChildRoutes(t,n,r){let o=Kn(n);t.children.forEach(i=>{let s=i.value.outlet;this.deactivateRoutes(i,o[s],r),delete o[s]}),Object.values(o).forEach(i=>{this.deactivateRouteAndItsChildren(i,r)})}deactivateRoutes(t,n,r){let o=t.value,i=n?n.value:null;if(o===i)if(o.component){let s=r.getContext(o.outlet);s&&this.deactivateChildRoutes(t,n,s.children)}else this.deactivateChildRoutes(t,n,r);else i&&this.deactivateRouteAndItsChildren(n,r)}deactivateRouteAndItsChildren(t,n){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,n):this.deactivateRouteAndOutlet(t,n)}detachAndStoreRouteSubtree(t,n){let r=n.getContext(t.value.outlet),o=r&&t.value.component?r.children:n,i=Kn(t);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);if(r&&r.outlet){let s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:s,route:t,contexts:a})}}deactivateRouteAndOutlet(t,n){let r=n.getContext(t.value.outlet),o=r&&t.value.component?r.children:n,i=Kn(t);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(t,n,r){let o=Kn(n);t.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],r),this.forwardEvent(new Ws(i.value.snapshot))}),t.children.length&&this.forwardEvent(new Gs(t.value.snapshot))}activateRoutes(t,n,r){let o=t.value,i=n?n.value:null;if(uu(o),o===i)if(o.component){let s=r.getOrCreateContext(o.outlet);this.activateChildRoutes(t,n,s.children)}else this.activateChildRoutes(t,n,r);else if(o.component){let s=r.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){let a=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),uu(a.route.value),this.activateChildRoutes(t,null,s.children)}else s.attachRef=null,s.route=o,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(t,null,s.children)}else this.activateChildRoutes(t,null,r)}},Js=class{path;route;constructor(t){this.path=t,this.route=this.path[this.path.length-1]}},Xn=class{component;route;constructor(t,n){this.component=t,this.route=n}};function Mb(e,t,n){let r=e._root,o=t?t._root:null;return so(r,o,n,[r.value])}function Nb(e){let t=e.routeConfig?e.routeConfig.canActivateChild:null;return!t||t.length===0?null:{node:e,guards:t}}function ar(e,t){let n=Symbol(),r=t.get(e,n);return r===n?typeof e=="function"&&!Fa(e)?e:t.get(e):r}function so(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=Kn(t);return e.children.forEach(s=>{Rb(s,i[s.value.outlet],n,r.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>lo(a,n.getContext(s),o)),o}function Rb(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=e.value,s=t?t.value:null,a=n?n.getContext(e.value.outlet):null;if(s&&i.routeConfig===s.routeConfig){let c=xb(s,i,i.routeConfig.runGuardsAndResolvers);c?o.canActivateChecks.push(new Js(r)):(i.data=s.data,i._resolvedData=s._resolvedData),i.component?so(e,t,a?a.children:null,r,o):so(e,t,n,r,o),c&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new Xn(a.outlet.component,s))}else s&&lo(t,a,o),o.canActivateChecks.push(new Js(r)),i.component?so(e,null,a?a.children:null,r,o):so(e,null,n,r,o);return o}function xb(e,t,n){if(typeof n=="function")return n(e,t);switch(n){case"pathParamsChange":return!ln(e.url,t.url);case"pathParamsOrQueryParamsChange":return!ln(e.url,t.url)||!qe(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Eu(e,t)||!qe(e.queryParams,t.queryParams);default:return!Eu(e,t)}}function lo(e,t,n){let r=Kn(e),o=e.value;Object.entries(r).forEach(([i,s])=>{o.component?t?lo(s,t.children.getContext(i),n):lo(s,null,n):lo(s,t,n)}),o.component?t&&t.outlet&&t.outlet.isActivated?n.canDeactivateChecks.push(new Xn(t.outlet.component,o)):n.canDeactivateChecks.push(new Xn(null,o)):n.canDeactivateChecks.push(new Xn(null,o))}function Do(e){return typeof e=="function"}function Ab(e){return typeof e=="boolean"}function Ob(e){return e&&Do(e.canLoad)}function Pb(e){return e&&Do(e.canActivate)}function kb(e){return e&&Do(e.canActivateChild)}function Lb(e){return e&&Do(e.canDeactivate)}function Fb(e){return e&&Do(e.canMatch)}function tm(e){return e instanceof Qe||e?.name==="EmptyError"}var As=Symbol("INITIAL_VALUE");function or(){return le(e=>ri(e.map(t=>t.pipe(Ye(1),ba(As)))).pipe(R(t=>{for(let n of t)if(n!==!0){if(n===As)return As;if(n===!1||jb(n))return n}return!0}),ge(t=>t!==As),Ye(1)))}function jb(e){return er(e)||e instanceof rr}function Ub(e,t){return Y(n=>{let{targetSnapshot:r,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=n;return s.length===0&&i.length===0?b(U(v({},n),{guardsResult:!0})):Vb(s,r,o,e).pipe(Y(a=>a&&Ab(a)?Hb(r,i,e,t):b(a)),R(a=>U(v({},n),{guardsResult:a})))})}function Vb(e,t,n,r){return W(e).pipe(Y(o=>qb(o.component,o.route,n,t,r)),Ke(o=>o!==!0,!0))}function Hb(e,t,n,r){return W(t).pipe(ht(o=>Mn(Bb(o.route.parent,r),$b(o.route,r),Gb(e,o.path,n),zb(e,o.route,n))),Ke(o=>o!==!0,!0))}function $b(e,t){return e!==null&&t&&t(new qs(e)),b(!0)}function Bb(e,t){return e!==null&&t&&t(new zs(e)),b(!0)}function zb(e,t,n){let r=t.routeConfig?t.routeConfig.canActivate:null;if(!r||r.length===0)return b(!0);let o=r.map(i=>gr(()=>{let s=ir(t)??n,a=ar(i,s),c=Pb(a)?a.canActivate(t,e):re(s,()=>a(t,e));return dt(c).pipe(Ke())}));return b(o).pipe(or())}function Gb(e,t,n){let r=t[t.length-1],i=t.slice(0,t.length-1).reverse().map(s=>Nb(s)).filter(s=>s!==null).map(s=>gr(()=>{let a=s.guards.map(c=>{let l=ir(s.node)??n,u=ar(c,l),d=kb(u)?u.canActivateChild(r,e):re(l,()=>u(r,e));return dt(d).pipe(Ke())});return b(a).pipe(or())}));return b(i).pipe(or())}function qb(e,t,n,r,o){let i=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!i||i.length===0)return b(!0);let s=i.map(a=>{let c=ir(t)??o,l=ar(a,c),u=Lb(l)?l.canDeactivate(e,t,n,r):re(c,()=>l(e,t,n,r));return dt(u).pipe(Ke())});return b(s).pipe(or())}function Wb(e,t,n,r){let o=t.canLoad;if(o===void 0||o.length===0)return b(!0);let i=o.map(s=>{let a=ar(s,e),c=Ob(a)?a.canLoad(t,n):re(e,()=>a(t,n));return dt(c)});return b(i).pipe(or(),nm(r))}function nm(e){return ma(H(t=>{if(typeof t!="boolean")throw Ks(e,t)}),R(t=>t===!0))}function Zb(e,t,n,r){let o=t.canMatch;if(!o||o.length===0)return b(!0);let i=o.map(s=>{let a=ar(s,e),c=Fb(a)?a.canMatch(t,n):re(e,()=>a(t,n));return dt(c)});return b(i).pipe(or(),nm(r))}var yo=class{segmentGroup;constructor(t){this.segmentGroup=t||null}},Eo=class extends Error{urlTree;constructor(t){super(),this.urlTree=t}};function Yn(e){return _n(new yo(e))}function Qb(e){return _n(new E(4e3,!1))}function Yb(e){return _n(Xg(!1,fe.GuardRejected))}var Du=class{urlSerializer;urlTree;constructor(t,n){this.urlSerializer=t,this.urlTree=n}lineralizeSegments(t,n){let r=[],o=n.root;for(;;){if(r=r.concat(o.segments),o.numberOfChildren===0)return b(r);if(o.numberOfChildren>1||!o.children[_])return Qb(`${t.redirectTo}`);o=o.children[_]}}applyRedirectCommands(t,n,r,o,i){return Kb(n,o,i).pipe(R(s=>{if(s instanceof Ze)throw new Eo(s);let a=this.applyRedirectCreateUrlTree(s,this.urlSerializer.parse(s),t,r);if(s[0]==="/")throw new Eo(a);return a}))}applyRedirectCreateUrlTree(t,n,r,o){let i=this.createSegmentGroup(t,n.root,r,o);return new Ze(i,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}createQueryParams(t,n){let r={};return Object.entries(t).forEach(([o,i])=>{if(typeof i=="string"&&i[0]===":"){let a=i.substring(1);r[o]=n[a]}else r[o]=i}),r}createSegmentGroup(t,n,r,o){let i=this.createSegments(t,n.segments,r,o),s={};return Object.entries(n.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(t,c,r,o)}),new L(i,s)}createSegments(t,n,r,o){return n.map(i=>i.path[0]===":"?this.findPosParam(t,i,o):this.findOrReturn(i,r))}findPosParam(t,n,r){let o=r[n.path.substring(1)];if(!o)throw new E(4001,!1);return o}findOrReturn(t,n){let r=0;for(let o of n){if(o.path===t.path)return n.splice(r),o;r++}return t}};function Kb(e,t,n){if(typeof e=="string")return b(e);let r=e,{queryParams:o,fragment:i,routeConfig:s,url:a,outlet:c,params:l,data:u,title:d}=t;return dt(re(n,()=>r({params:l,data:u,queryParams:o,fragment:i,routeConfig:s,url:a,outlet:c,title:d})))}var bu={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Jb(e,t,n,r,o){let i=rm(e,t,n);return i.matched?(r=Ib(t,r),Zb(r,t,n,o).pipe(R(s=>s===!0?i:v({},bu)))):b(i)}function rm(e,t,n){if(t.path==="**")return Xb(n);if(t.path==="")return t.pathMatch==="full"&&(e.hasChildren()||n.length>0)?v({},bu):{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};let o=(t.matcher||Ag)(n,e,t);if(!o)return v({},bu);let i={};Object.entries(o.posParams??{}).forEach(([a,c])=>{i[a]=c.path});let s=o.consumed.length>0?v(v({},i),o.consumed[o.consumed.length-1].parameters):i;return{matched:!0,consumedSegments:o.consumed,remainingSegments:n.slice(o.consumed.length),parameters:s,positionalParamSegments:o.posParams??{}}}function Xb(e){return{matched:!0,parameters:e.length>0?Pg(e).parameters:{},consumedSegments:e,remainingSegments:[],positionalParamSegments:{}}}function Ng(e,t,n,r){return n.length>0&&nT(e,n,r)?{segmentGroup:new L(t,tT(r,new L(n,e.children))),slicedSegments:[]}:n.length===0&&rT(e,n,r)?{segmentGroup:new L(e.segments,eT(e,n,r,e.children)),slicedSegments:n}:{segmentGroup:new L(e.segments,e.children),slicedSegments:n}}function eT(e,t,n,r){let o={};for(let i of n)if(ta(e,t,i)&&!r[ke(i)]){let s=new L([],{});o[ke(i)]=s}return v(v({},r),o)}function tT(e,t){let n={};n[_]=t;for(let r of e)if(r.path===""&&ke(r)!==_){let o=new L([],{});n[ke(r)]=o}return n}function nT(e,t,n){return n.some(r=>ta(e,t,r)&&ke(r)!==_)}function rT(e,t,n){return n.some(r=>ta(e,t,r))}function ta(e,t,n){return(e.hasChildren()||t.length>0)&&n.pathMatch==="full"?!1:n.path===""}function oT(e,t,n){return t.length===0&&!e.children[n]}var Tu=class{};function iT(e,t,n,r,o,i,s="emptyOnly"){return new Cu(e,t,n,r,o,s,i).recognize()}var sT=31,Cu=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(t,n,r,o,i,s,a){this.injector=t,this.configLoader=n,this.rootComponentType=r,this.config=o,this.urlTree=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new Du(this.urlSerializer,this.urlTree)}noMatchError(t){return new E(4002,`'${t.segmentGroup}'`)}recognize(){let t=Ng(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(t).pipe(R(({children:n,rootSnapshot:r})=>{let o=new De(r,n),i=new mo("",o),s=Bg(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,i.url=this.urlSerializer.serialize(s),{state:i,tree:s}}))}match(t){let n=new un([],Object.freeze({}),Object.freeze(v({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),_,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,t,_,n).pipe(R(r=>({children:r,rootSnapshot:n})),pt(r=>{if(r instanceof Eo)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof yo?this.noMatchError(r):r}))}processSegmentGroup(t,n,r,o,i){return r.segments.length===0&&r.hasChildren()?this.processChildren(t,n,r,i):this.processSegment(t,n,r,r.segments,o,!0,i).pipe(R(s=>s instanceof De?[s]:[]))}processChildren(t,n,r,o){let i=[];for(let s of Object.keys(r.children))s==="primary"?i.unshift(s):i.push(s);return W(i).pipe(ht(s=>{let a=r.children[s],c=wb(n,s);return this.processSegmentGroup(t,c,a,s,o)}),Da((s,a)=>(s.push(...a),s)),gt(null),wa(),Y(s=>{if(s===null)return Yn(r);let a=om(s);return aT(a),b(a)}))}processSegment(t,n,r,o,i,s,a){return W(n).pipe(ht(c=>this.processSegmentAgainstRoute(c._injector??t,n,c,r,o,i,s,a).pipe(pt(l=>{if(l instanceof yo)return b(null);throw l}))),Ke(c=>!!c),pt(c=>{if(tm(c))return oT(r,o,i)?b(new Tu):Yn(r);throw c}))}processSegmentAgainstRoute(t,n,r,o,i,s,a,c){return ke(r)!==s&&(s===_||!ta(o,i,r))?Yn(o):r.redirectTo===void 0?this.matchSegmentAgainstRoute(t,o,r,i,s,c):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(t,o,n,r,i,s,c):Yn(o)}expandSegmentAgainstRouteUsingRedirect(t,n,r,o,i,s,a){let{matched:c,parameters:l,consumedSegments:u,positionalParamSegments:d,remainingSegments:p}=rm(n,o,i);if(!c)return Yn(n);typeof o.redirectTo=="string"&&o.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>sT&&(this.allowRedirects=!1));let f=new un(i,l,Object.freeze(v({},this.urlTree.queryParams)),this.urlTree.fragment,Rg(o),ke(o),o.component??o._loadedComponent??null,o,xg(o)),g=Ys(f,a,this.paramsInheritanceStrategy);return f.params=Object.freeze(g.params),f.data=Object.freeze(g.data),this.applyRedirects.applyRedirectCommands(u,o.redirectTo,d,f,t).pipe(le(y=>this.applyRedirects.lineralizeSegments(o,y)),Y(y=>this.processSegment(t,r,n,y.concat(p),s,!1,a)))}matchSegmentAgainstRoute(t,n,r,o,i,s){let a=Jb(n,r,o,t,this.urlSerializer);return r.path==="**"&&(n.children={}),a.pipe(le(c=>c.matched?(t=r._injector??t,this.getChildConfig(t,r,o).pipe(le(({routes:l})=>{let u=r._loadedInjector??t,{parameters:d,consumedSegments:p,remainingSegments:f}=c,g=new un(p,d,Object.freeze(v({},this.urlTree.queryParams)),this.urlTree.fragment,Rg(r),ke(r),r.component??r._loadedComponent??null,r,xg(r)),D=Ys(g,s,this.paramsInheritanceStrategy);g.params=Object.freeze(D.params),g.data=Object.freeze(D.data);let{segmentGroup:y,slicedSegments:m}=Ng(n,p,f,l);if(m.length===0&&y.hasChildren())return this.processChildren(u,l,y,g).pipe(R(Me=>new De(g,Me)));if(l.length===0&&m.length===0)return b(new De(g,[]));let z=ke(r)===i;return this.processSegment(u,l,y,m,z?_:i,!0,g).pipe(R(Me=>new De(g,Me instanceof De?[Me]:[])))}))):Yn(n)))}getChildConfig(t,n,r){return n.children?b({routes:n.children,injector:t}):n.loadChildren?n._loadedRoutes!==void 0?b({routes:n._loadedRoutes,injector:n._loadedInjector}):Wb(t,n,r,this.urlSerializer).pipe(Y(o=>o?this.configLoader.loadChildren(t,n).pipe(H(i=>{n._loadedRoutes=i.routes,n._loadedInjector=i.injector})):Yb(n))):b({routes:[],injector:t})}};function aT(e){e.sort((t,n)=>t.value.outlet===_?-1:n.value.outlet===_?1:t.value.outlet.localeCompare(n.value.outlet))}function cT(e){let t=e.value.routeConfig;return t&&t.path===""}function om(e){let t=[],n=new Set;for(let r of e){if(!cT(r)){t.push(r);continue}let o=t.find(i=>r.value.routeConfig===i.value.routeConfig);o!==void 0?(o.children.push(...r.children),n.add(o)):t.push(r)}for(let r of n){let o=om(r.children);t.push(new De(r.value,o))}return t.filter(r=>!n.has(r))}function Rg(e){return e.data||{}}function xg(e){return e.resolve||{}}function lT(e,t,n,r,o,i){return Y(s=>iT(e,t,n,r,s.extractedUrl,o,i).pipe(R(({state:a,tree:c})=>U(v({},s),{targetSnapshot:a,urlAfterRedirects:c}))))}function uT(e,t){return Y(n=>{let{targetSnapshot:r,guards:{canActivateChecks:o}}=n;if(!o.length)return b(n);let i=new Set(o.map(c=>c.route)),s=new Set;for(let c of i)if(!s.has(c))for(let l of im(c))s.add(l);let a=0;return W(s).pipe(ht(c=>i.has(c)?dT(c,r,e,t):(c.data=Ys(c,c.parent,e).resolve,b(void 0))),H(()=>a++),Nn(1),Y(c=>a===s.size?b(n):pe))})}function im(e){let t=e.children.map(n=>im(n)).flat();return[e,...t]}function dT(e,t,n,r){let o=e.routeConfig,i=e._resolve;return o?.title!==void 0&&!Yg(o)&&(i[Io]=o.title),gr(()=>(e.data=Ys(e,e.parent,n).resolve,fT(i,e,t,r).pipe(R(s=>(e._resolvedData=s,e.data=v(v({},e.data),s),null)))))}function fT(e,t,n,r){let o=pu(e);if(o.length===0)return b({});let i={};return W(o).pipe(Y(s=>pT(e[s],t,n,r).pipe(Ke(),H(a=>{if(a instanceof rr)throw Ks(new fn,a);i[s]=a}))),Nn(1),R(()=>i),pt(s=>tm(s)?pe:_n(s)))}function pT(e,t,n,r){let o=ir(t)??r,i=ar(e,o),s=i.resolve?i.resolve(t,n):re(o,()=>i(t,n));return dt(s)}function du(e){return le(t=>{let n=e(t);return n?W(n).pipe(R(()=>t)):b(t)})}var Ru=(()=>{class e{buildTitle(n){let r,o=n.root;for(;o!==void 0;)r=this.getResolvedTitleForRoute(o)??r,o=o.children.find(i=>i.outlet===_);return r}getResolvedTitleForRoute(n){return n.data[Io]}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:()=>h(sm),providedIn:"root"})}return e})(),sm=(()=>{class e extends Ru{title;constructor(n){super(),this.title=n}updateTitle(n){let r=this.buildTitle(n);r!==void 0&&this.title.setTitle(r)}static \u0275fac=function(r){return new(r||e)(T(Tg))};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),bo=new I("",{providedIn:"root",factory:()=>({})}),To=new I(""),am=(()=>{class e{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=h(Gl);loadComponent(n,r){if(this.componentLoaders.get(r))return this.componentLoaders.get(r);if(r._loadedComponent)return b(r._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(r);let o=dt(re(n,()=>r.loadComponent())).pipe(R(lm),le(um),H(s=>{this.onLoadEndListener&&this.onLoadEndListener(r),r._loadedComponent=s}),Ft(()=>{this.componentLoaders.delete(r)})),i=new Sn(o,()=>new ee).pipe(Cn());return this.componentLoaders.set(r,i),i}loadChildren(n,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return b({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let i=cm(r,this.compiler,n,this.onLoadEndListener).pipe(Ft(()=>{this.childrenLoaders.delete(r)})),s=new Sn(i,()=>new ee).pipe(Cn());return this.childrenLoaders.set(r,s),s}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function cm(e,t,n,r){return dt(re(n,()=>e.loadChildren())).pipe(R(lm),le(um),Y(o=>o instanceof gs||Array.isArray(o)?b(o):W(t.compileModuleAsync(o))),R(o=>{r&&r(e);let i,s,a=!1;return Array.isArray(o)?(s=o,a=!0):(i=o.create(n).injector,s=i.get(To,[],{optional:!0,self:!0}).flat()),{routes:s.map(Nu),injector:i}}))}function hT(e){return e&&typeof e=="object"&&"default"in e}function lm(e){return hT(e)?e.default:e}function um(e){return b(e)}var na=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:()=>h(gT),providedIn:"root"})}return e})(),gT=(()=>{class e{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,r){return n}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),dm=new I("");var fm=new I(""),pm=(()=>{class e{currentNavigation=Kt(null,{equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=null;events=new ee;transitionAbortWithErrorSubject=new ee;configLoader=h(am);environmentInjector=h(K);destroyRef=h(Ct);urlSerializer=h(wo);rootContexts=h(sr);location=h(Gn);inputBindingEnabled=h(ea,{optional:!0})!==null;titleStrategy=h(Ru);options=h(bo,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=h(na);createViewTransition=h(dm,{optional:!0});navigationErrorHandler=h(fm,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>b(void 0);rootComponentType=null;destroyed=!1;constructor(){let n=o=>this.events.next(new $s(o)),r=o=>this.events.next(new Bs(o));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=n,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(n){let r=++this.navigationId;_t(()=>{this.transitions?.next(U(v({},n),{extractedUrl:this.urlHandlingStrategy.extract(n.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,abortController:new AbortController,id:r}))})}setupNavigations(n){return this.transitions=new te(null),this.transitions.pipe(ge(r=>r!==null),le(r=>{let o=!1;return b(r).pipe(le(i=>{if(this.navigationId>r.id)return this.cancelNavigationTransition(r,"",fe.SupersededByNewNavigation),pe;this.currentTransition=r,this.currentNavigation.set({id:i.id,initialUrl:i.rawUrl,extractedUrl:i.extractedUrl,targetBrowserUrl:typeof i.extras.browserUrl=="string"?this.urlSerializer.parse(i.extras.browserUrl):i.extras.browserUrl,trigger:i.source,extras:i.extras,previousNavigation:this.lastSuccessfulNavigation?U(v({},this.lastSuccessfulNavigation),{previousNavigation:null}):null,abort:()=>i.abortController.abort()});let s=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),a=i.extras.onSameUrlNavigation??n.onSameUrlNavigation;if(!s&&a!=="reload")return this.events.next(new ut(i.id,this.urlSerializer.serialize(i.rawUrl),"",fo.IgnoredSameUrlNavigation)),i.resolve(!1),pe;if(this.urlHandlingStrategy.shouldProcessUrl(i.rawUrl))return b(i).pipe(le(c=>(this.events.next(new pn(c.id,this.urlSerializer.serialize(c.extractedUrl),c.source,c.restoredState)),c.id!==this.navigationId?pe:Promise.resolve(c))),lT(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),H(c=>{r.targetSnapshot=c.targetSnapshot,r.urlAfterRedirects=c.urlAfterRedirects,this.currentNavigation.update(u=>(u.finalUrl=c.urlAfterRedirects,u));let l=new po(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(l)}));if(s&&this.urlHandlingStrategy.shouldProcessUrl(i.currentRawUrl)){let{id:c,extractedUrl:l,source:u,restoredState:d,extras:p}=i,f=new pn(c,this.urlSerializer.serialize(l),u,d);this.events.next(f);let g=Zg(this.rootComponentType).snapshot;return this.currentTransition=r=U(v({},i),{targetSnapshot:g,urlAfterRedirects:l,extras:U(v({},p),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.update(D=>(D.finalUrl=l,D)),b(r)}else return this.events.next(new ut(i.id,this.urlSerializer.serialize(i.extractedUrl),"",fo.IgnoredByUrlHandlingStrategy)),i.resolve(!1),pe}),H(i=>{let s=new js(i.id,this.urlSerializer.serialize(i.extractedUrl),this.urlSerializer.serialize(i.urlAfterRedirects),i.targetSnapshot);this.events.next(s)}),R(i=>(this.currentTransition=r=U(v({},i),{guards:Mb(i.targetSnapshot,i.currentSnapshot,this.rootContexts)}),r)),Ub(this.environmentInjector,i=>this.events.next(i)),H(i=>{if(r.guardsResult=i.guardsResult,i.guardsResult&&typeof i.guardsResult!="boolean")throw Ks(this.urlSerializer,i.guardsResult);let s=new Us(i.id,this.urlSerializer.serialize(i.extractedUrl),this.urlSerializer.serialize(i.urlAfterRedirects),i.targetSnapshot,!!i.guardsResult);this.events.next(s)}),ge(i=>i.guardsResult?!0:(this.cancelNavigationTransition(i,"",fe.GuardRejected),!1)),du(i=>{if(i.guards.canActivateChecks.length!==0)return b(i).pipe(H(s=>{let a=new Vs(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(a)}),le(s=>{let a=!1;return b(s).pipe(uT(this.paramsInheritanceStrategy,this.environmentInjector),H({next:()=>a=!0,complete:()=>{a||this.cancelNavigationTransition(s,"",fe.NoDataFromResolver)}}))}),H(s=>{let a=new Hs(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(a)}))}),du(i=>{let s=a=>{let c=[];if(a.routeConfig?.loadComponent){let l=ir(a)??this.environmentInjector;c.push(this.configLoader.loadComponent(l,a.routeConfig).pipe(H(u=>{a.component=u}),R(()=>{})))}for(let l of a.children)c.push(...s(l));return c};return ri(s(i.targetSnapshot.root)).pipe(gt(null),Ye(1))}),du(()=>this.afterPreactivation()),le(()=>{let{currentSnapshot:i,targetSnapshot:s}=r,a=this.createViewTransition?.(this.environmentInjector,i.root,s.root);return a?W(a).pipe(R(()=>r)):b(r)}),R(i=>{let s=bb(n.routeReuseStrategy,i.targetSnapshot,i.currentRouterState);return this.currentTransition=r=U(v({},i),{targetRouterState:s}),this.currentNavigation.update(a=>(a.targetRouterState=s,a)),r}),H(()=>{this.events.next(new ho)}),_b(this.rootContexts,n.routeReuseStrategy,i=>this.events.next(i),this.inputBindingEnabled),Ye(1),ii(new A(i=>{let s=r.abortController.signal,a=()=>i.next();return s.addEventListener("abort",a),()=>s.removeEventListener("abort",a)}).pipe(ge(()=>!o&&!r.targetRouterState),H(()=>{this.cancelNavigationTransition(r,r.abortController.signal.reason+"",fe.Aborted)}))),H({next:i=>{o=!0,this.lastSuccessfulNavigation=_t(this.currentNavigation),this.events.next(new lt(i.id,this.urlSerializer.serialize(i.extractedUrl),this.urlSerializer.serialize(i.urlAfterRedirects))),this.titleStrategy?.updateTitle(i.targetRouterState.snapshot),i.resolve(!0)},complete:()=>{o=!0}}),ii(this.transitionAbortWithErrorSubject.pipe(H(i=>{throw i}))),Ft(()=>{o||this.cancelNavigationTransition(r,"",fe.SupersededByNewNavigation),this.currentTransition?.id===r.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),pt(i=>{if(this.destroyed)return r.resolve(!1),pe;if(o=!0,em(i))this.events.next(new We(r.id,this.urlSerializer.serialize(r.extractedUrl),i.message,i.cancellationCode)),Sb(i)?this.events.next(new nr(i.url,i.navigationBehaviorOptions)):r.resolve(!1);else{let s=new tr(r.id,this.urlSerializer.serialize(r.extractedUrl),i,r.targetSnapshot??void 0);try{let a=re(this.environmentInjector,()=>this.navigationErrorHandler?.(s));if(a instanceof rr){let{message:c,cancellationCode:l}=Ks(this.urlSerializer,a);this.events.next(new We(r.id,this.urlSerializer.serialize(r.extractedUrl),c,l)),this.events.next(new nr(a.redirectTo,a.navigationBehaviorOptions))}else throw this.events.next(s),i}catch(a){this.options.resolveNavigationPromiseOnError?r.resolve(!1):r.reject(a)}}return pe}))}))}cancelNavigationTransition(n,r,o){let i=new We(n.id,this.urlSerializer.serialize(n.extractedUrl),r,o);this.events.next(i),n.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let n=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),r=_t(this.currentNavigation),o=r?.targetBrowserUrl??r?.extractedUrl;return n.toString()!==o?.toString()&&!r?.extras.skipLocationChange}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function mT(e){return e!==co}var hm=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:()=>h(vT),providedIn:"root"})}return e})(),Xs=class{shouldDetach(t){return!1}store(t,n){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,n){return t.routeConfig===n.routeConfig}},vT=(()=>{class e extends Xs{static \u0275fac=(()=>{let n;return function(o){return(n||(n=es(e)))(o||e)}})();static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),gm=(()=>{class e{urlSerializer=h(wo);options=h(bo,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=h(Gn);urlHandlingStrategy=h(na);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new Ze;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:n,initialUrl:r,targetBrowserUrl:o}){let i=n!==void 0?this.urlHandlingStrategy.merge(n,r):r,s=o??i;return s instanceof Ze?this.urlSerializer.serialize(s):s}commitTransition({targetRouterState:n,finalUrl:r,initialUrl:o}){r&&n?(this.currentUrlTree=r,this.rawUrlTree=this.urlHandlingStrategy.merge(r,o),this.routerState=n):this.rawUrlTree=o}routerState=Zg(null);getRouterState(){return this.routerState}stateMemento=this.createStateMemento();updateStateMemento(){this.stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}resetInternalState({finalUrl:n}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n??this.rawUrlTree)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:()=>h(yT),providedIn:"root"})}return e})(),yT=(()=>{class e extends gm{currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(n){return this.location.subscribe(r=>{r.type==="popstate"&&setTimeout(()=>{n(r.url,r.state,"popstate")})})}handleRouterEvent(n,r){n instanceof pn?this.updateStateMemento():n instanceof ut?this.commitTransition(r):n instanceof po?this.urlUpdateStrategy==="eager"&&(r.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(r),r)):n instanceof ho?(this.commitTransition(r),this.urlUpdateStrategy==="deferred"&&!r.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(r),r)):n instanceof We&&n.code!==fe.SupersededByNewNavigation&&n.code!==fe.Redirect?this.restoreHistory(r):n instanceof tr?this.restoreHistory(r,!0):n instanceof lt&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,{extras:r,id:o}){let{replaceUrl:i,state:s}=r;if(this.location.isCurrentPathEqualTo(n)||i){let a=this.browserPageId,c=v(v({},s),this.generateNgRouterState(o,a));this.location.replaceState(n,"",c)}else{let a=v(v({},s),this.generateNgRouterState(o,this.browserPageId+1));this.location.go(n,"",a)}}restoreHistory(n,r=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,i=this.currentPageId-o;i!==0?this.location.historyGo(i):this.getCurrentUrlTree()===n.finalUrl&&i===0&&(this.resetInternalState(n),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(r&&this.resetInternalState(n),this.resetUrlToCurrentUrlTree())}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,r){return this.canceledNavigationResolution==="computed"?{navigationId:n,\u0275routerPageId:r}:{navigationId:n}}static \u0275fac=(()=>{let n;return function(o){return(n||(n=es(e)))(o||e)}})();static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function xu(e,t){e.events.pipe(ge(n=>n instanceof lt||n instanceof We||n instanceof tr||n instanceof ut),R(n=>n instanceof lt||n instanceof ut?0:(n instanceof We?n.code===fe.Redirect||n.code===fe.SupersededByNewNavigation:!1)?2:1),ge(n=>n!==2),Ye(1)).subscribe(()=>{t()})}var ET={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},IT={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},cr=(()=>{class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=h(Ll);stateManager=h(gm);options=h(bo,{optional:!0})||{};pendingTasks=h(Be);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=h(pm);urlSerializer=h(wo);location=h(Gn);urlHandlingStrategy=h(na);injector=h(K);_events=new ee;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=h(hm);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=h(To,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!h(ea,{optional:!0});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:n=>{this.console.warn(n)}}),this.subscribeToNavigationEvents()}eventsSubscription=new G;subscribeToNavigationEvents(){let n=this.navigationTransitions.events.subscribe(r=>{try{let o=this.navigationTransitions.currentTransition,i=_t(this.navigationTransitions.currentNavigation);if(o!==null&&i!==null){if(this.stateManager.handleRouterEvent(r,i),r instanceof We&&r.code!==fe.Redirect&&r.code!==fe.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof lt)this.navigated=!0;else if(r instanceof nr){let s=r.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(r.url,o.currentRawUrl),c=v({browserUrl:o.extras.browserUrl,info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:o.extras.replaceUrl||this.urlUpdateStrategy==="eager"||mT(o.source)},s);this.scheduleNavigation(a,co,null,c,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}Eb(r)&&this._events.next(r)}catch(o){this.navigationTransitions.transitionAbortWithErrorSubject.next(o)}});this.eventsSubscription.add(n)}resetRootComponentType(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),co,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((n,r,o)=>{this.navigateToSyncWithBrowser(n,o,r)})}navigateToSyncWithBrowser(n,r,o){let i={replaceUrl:!0},s=o?.navigationId?o:null;if(o){let c=v({},o);delete c.navigationId,delete c.\u0275routerPageId,Object.keys(c).length!==0&&(i.state=c)}let a=this.parseUrl(n);this.scheduleNavigation(a,r,s,i).catch(c=>{this.disposed||this.injector.get(we)(c)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return _t(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(Nu),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(n,r={}){let{relativeTo:o,queryParams:i,fragment:s,queryParamsHandling:a,preserveFragment:c}=r,l=c?this.currentUrlTree.fragment:s,u=null;switch(a??this.options.defaultQueryParamsHandling){case"merge":u=v(v({},this.currentUrlTree.queryParams),i);break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=i||null}u!==null&&(u=this.removeEmptyProps(u));let d;try{let p=o?o.snapshot:this.routerState.snapshot.root;d=zg(p)}catch{(typeof n[0]!="string"||n[0][0]!=="/")&&(n=[]),d=this.currentUrlTree.root}return Gg(d,n,u,l??null)}navigateByUrl(n,r={skipLocationChange:!1}){let o=er(n)?n:this.parseUrl(n),i=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(i,co,null,r)}navigate(n,r={skipLocationChange:!1}){return wT(n),this.navigateByUrl(this.createUrlTree(n,r),r)}serializeUrl(n){return this.urlSerializer.serialize(n)}parseUrl(n){try{return this.urlSerializer.parse(n)}catch{return this.console.warn(xn(4018,!1)),this.urlSerializer.parse("/")}}isActive(n,r){let o;if(r===!0?o=v({},ET):r===!1?o=v({},IT):o=r,er(n))return Cg(this.currentUrlTree,n,o);let i=this.parseUrl(n);return Cg(this.currentUrlTree,i,o)}removeEmptyProps(n){return Object.entries(n).reduce((r,[o,i])=>(i!=null&&(r[o]=i),r),{})}scheduleNavigation(n,r,o,i,s){if(this.disposed)return Promise.resolve(!1);let a,c,l;s?(a=s.resolve,c=s.reject,l=s.promise):l=new Promise((d,p)=>{a=d,c=p});let u=this.pendingTasks.add();return xu(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(u))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:i,resolve:a,reject:c,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(d=>Promise.reject(d))}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function wT(e){for(let t=0;t<e.length;t++)if(e[t]==null)throw new E(4008,!1)}var bT=new I("");function TT(e,...t){return tt([{provide:To,multi:!0,useValue:e},[],{provide:xt,useFactory:CT,deps:[cr]},{provide:vs,multi:!0,useFactory:ST},t.map(n=>n.\u0275providers)])}function CT(e){return e.routerState.root}function ST(){let e=h(Fe);return t=>{let n=e.get(on);if(t!==n.components[0])return;let r=e.get(cr),o=e.get(_T);e.get(MT)===1&&r.initialNavigation(),e.get(NT,null,{optional:!0})?.setUpPreloading(),e.get(bT,null,{optional:!0})?.init(),r.resetRootComponentType(n.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}var _T=new I("",{factory:()=>new ee}),MT=new I("",{providedIn:"root",factory:()=>1});var NT=new I("");var mm={apiUrl:"https://api.personalink.davor-nucleus.fr/api/v1"};var vm=class e{http=h(Rs);router=h(cr);TOKEN_KEY="admin_token";isAuthenticated=Kt(!!this.getToken());login(t,n){return this.http.post(`${mm.apiUrl}/auth/login`,{email:t,password:n}).pipe(H(r=>{localStorage.setItem(this.TOKEN_KEY,r.data.token),this.isAuthenticated.set(!0)}))}logout(){localStorage.removeItem(this.TOKEN_KEY),this.isAuthenticated.set(!1),this.router.navigate(["/admin/login"])}getToken(){return localStorage.getItem(this.TOKEN_KEY)}static \u0275fac=function(n){return new(n||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})};export{v as a,U as b,ee as c,W as d,R as e,Km as f,E as g,ui as h,w as i,Er as j,I as k,h as l,Hd as m,$d as n,tf as o,nf as p,Tv as q,Kt as r,ll as s,es as t,rp as u,xy as v,Ay as w,Wy as x,de as y,XE as z,ps as A,Pl as B,ms as C,kl as D,yh as E,Wr as F,bh as G,WI as H,ZI as I,QI as J,YI as K,KI as L,JI as M,Th as N,Vl as O,Hl as P,ys as Q,$l as R,Bl as S,Ch as T,rw as U,_h as V,Nh as W,Rh as X,iw as Y,Ah as Z,Oh as _,ww as $,kh as aa,zl as ba,Lh as ca,jh as da,Cw as ea,Uh as fa,Rw as ga,Aw as ha,_t as ia,kw as ja,Zh as ka,rD as la,at as ma,ED as na,Nt as oa,Rs as pa,WD as qa,_u as ra,cr as sa,TT as ta,mm as ua,vm as va};
|