File: /var/www/web.enelar.com.co/dist/browser/chunk-MDSVL5BJ.js
import{a as y,b as Z,i as Po}from"./chunk-ODN5LVDJ.js";function yd(t,e){return Object.is(t,e)}var ie=null,_r=!1,ko=1,Qe=Symbol("SIGNAL");function F(t){let e=ie;return ie=t,e}function Dd(){return ie}function Wv(){return _r}var Fn={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Lo(t){if(_r)throw new Error("");if(ie===null)return;ie.consumerOnSignalRead(t);let e=ie.nextProducerIndex++;if(Bo(ie),e<ie.producerNode.length&&ie.producerNode[e]!==t&&Ar(ie)){let r=ie.producerNode[e];$o(r,ie.producerIndexOfThis[e])}ie.producerNode[e]!==t&&(ie.producerNode[e]=t,ie.producerIndexOfThis[e]=Ar(ie)?bd(t,ie,e):0),ie.producerLastReadVersion[e]=t.version}function Zv(){ko++}function wd(t){if(!(Ar(t)&&!t.dirty)&&!(!t.dirty&&t.lastCleanEpoch===ko)){if(!t.producerMustRecompute(t)&&!Vo(t)){t.dirty=!1,t.lastCleanEpoch=ko;return}t.producerRecomputeValue(t),t.dirty=!1,t.lastCleanEpoch=ko}}function Ed(t){if(t.liveConsumerNode===void 0)return;let e=_r;_r=!0;try{for(let r of t.liveConsumerNode)r.dirty||Cd(r)}finally{_r=e}}function Id(){return ie?.consumerAllowSignalWrites!==!1}function Cd(t){t.dirty=!0,Ed(t),t.consumerMarkedDirty?.(t)}function Rr(t){return t&&(t.nextProducerIndex=0),F(t)}function jo(t,e){if(F(e),!(!t||t.producerNode===void 0||t.producerIndexOfThis===void 0||t.producerLastReadVersion===void 0)){if(Ar(t))for(let r=t.nextProducerIndex;r<t.producerNode.length;r++)$o(t.producerNode[r],t.producerIndexOfThis[r]);for(;t.producerNode.length>t.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function Vo(t){Bo(t);for(let e=0;e<t.producerNode.length;e++){let r=t.producerNode[e],n=t.producerLastReadVersion[e];if(n!==r.version||(wd(r),n!==r.version))return!0}return!1}function Uo(t){if(Bo(t),Ar(t))for(let e=0;e<t.producerNode.length;e++)$o(t.producerNode[e],t.producerIndexOfThis[e]);t.producerNode.length=t.producerLastReadVersion.length=t.producerIndexOfThis.length=0,t.liveConsumerNode&&(t.liveConsumerNode.length=t.liveConsumerIndexOfThis.length=0)}function bd(t,e,r){if(Md(t),t.liveConsumerNode.length===0&&Sd(t))for(let n=0;n<t.producerNode.length;n++)t.producerIndexOfThis[n]=bd(t.producerNode[n],t,n);return t.liveConsumerIndexOfThis.push(r),t.liveConsumerNode.push(e)-1}function $o(t,e){if(Md(t),t.liveConsumerNode.length===1&&Sd(t))for(let n=0;n<t.producerNode.length;n++)$o(t.producerNode[n],t.producerIndexOfThis[n]);let r=t.liveConsumerNode.length-1;if(t.liveConsumerNode[e]=t.liveConsumerNode[r],t.liveConsumerIndexOfThis[e]=t.liveConsumerIndexOfThis[r],t.liveConsumerNode.length--,t.liveConsumerIndexOfThis.length--,e<t.liveConsumerNode.length){let n=t.liveConsumerIndexOfThis[e],o=t.liveConsumerNode[e];Bo(o),o.producerIndexOfThis[n]=e}}function Ar(t){return t.consumerIsAlwaysLive||(t?.liveConsumerNode?.length??0)>0}function Bo(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function Md(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function Sd(t){return t.producerNode!==void 0}function Td(t){let e=Object.create(Yv);e.computation=t;let r=()=>{if(wd(e),Lo(e),e.value===Fo)throw e.error;return e.value};return r[Qe]=e,r}var wa=Symbol("UNSET"),Ea=Symbol("COMPUTING"),Fo=Symbol("ERRORED"),Yv=Z(y({},Fn),{value:wa,dirty:!0,error:null,equal:yd,producerMustRecompute(t){return t.value===wa||t.value===Ea},producerRecomputeValue(t){if(t.value===Ea)throw new Error("Detected cycle in computations.");let e=t.value;t.value=Ea;let r=Rr(t),n;try{n=t.computation()}catch(o){n=Fo,t.error=o}finally{jo(t,r)}if(e!==wa&&e!==Fo&&n!==Fo&&t.equal(e,n)){t.value=e;return}t.value=n,t.version++}});function Qv(){throw new Error}var xd=Qv;function Nd(){xd()}function _d(t){xd=t}var Kv=null;function Ad(t){let e=Object.create(Ca);e.value=t;let r=()=>(Lo(e),e.value);return r[Qe]=e,r}function Ho(t,e){Id()||Nd(),t.equal(t.value,e)||(t.value=e,Jv(t))}function Rd(t,e){Id()||Nd(),Ho(t,e(t.value))}var Ca=Z(y({},Fn),{equal:yd,value:void 0});function Jv(t){t.version++,Zv(),Ed(t),Kv?.()}function Od(t,e,r){let n=Object.create(Xv);r&&(n.consumerAllowSignalWrites=!0),n.fn=t,n.schedule=e;let o=c=>{n.cleanupFn=c};function i(c){return c.fn===null&&c.schedule===null}function s(c){i(c)||(Uo(c),c.cleanupFn(),c.fn=null,c.schedule=null,c.cleanupFn=Ia)}let a=()=>{if(n.fn===null)return;if(Wv())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(n.dirty=!1,n.hasRun&&!Vo(n))return;n.hasRun=!0;let c=Rr(n);try{n.cleanupFn(),n.cleanupFn=Ia,n.fn(o)}finally{jo(n,c)}};return n.ref={notify:()=>Cd(n),run:a,cleanup:()=>n.cleanupFn(),destroy:()=>s(n),[Qe]:n},n.ref}var Ia=()=>{},Xv=Z(y({},Fn),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:t=>{t.schedule!==null&&t.schedule(t.ref)},hasRun:!1,cleanupFn:Ia});function b(t){return typeof t=="function"}function Ln(t){let r=t(n=>{Error.call(n),n.stack=new Error().stack});return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}var zo=Ln(t=>function(r){t(this),this.message=r?`${r.length} errors occurred during unsubscription:
${r.map((n,o)=>`${o+1}) ${n.toString()}`).join(`
`)}`:"",this.name="UnsubscriptionError",this.errors=r});function un(t,e){if(t){let r=t.indexOf(e);0<=r&&t.splice(r,1)}}var J=class t{constructor(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let e;if(!this.closed){this.closed=!0;let{_parentage:r}=this;if(r)if(this._parentage=null,Array.isArray(r))for(let i of r)i.remove(this);else r.remove(this);let{initialTeardown:n}=this;if(b(n))try{n()}catch(i){e=i instanceof zo?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Pd(i)}catch(s){e=e??[],s instanceof zo?e=[...e,...s.errors]:e.push(s)}}if(e)throw new zo(e)}}add(e){var r;if(e&&e!==this)if(this.closed)Pd(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(e)}}_hasParent(e){let{_parentage:r}=this;return r===e||Array.isArray(r)&&r.includes(e)}_addParent(e){let{_parentage:r}=this;this._parentage=Array.isArray(r)?(r.push(e),r):r?[r,e]:e}_removeParent(e){let{_parentage:r}=this;r===e?this._parentage=null:Array.isArray(r)&&un(r,e)}remove(e){let{_finalizers:r}=this;r&&un(r,e),e instanceof t&&e._removeParent(this)}};J.EMPTY=(()=>{let t=new J;return t.closed=!0,t})();var ba=J.EMPTY;function Go(t){return t instanceof J||t&&"closed"in t&&b(t.remove)&&b(t.add)&&b(t.unsubscribe)}function Pd(t){b(t)?t():t.unsubscribe()}var Ke={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var jn={setTimeout(t,e,...r){let{delegate:n}=jn;return n?.setTimeout?n.setTimeout(t,e,...r):setTimeout(t,e,...r)},clearTimeout(t){let{delegate:e}=jn;return(e?.clearTimeout||clearTimeout)(t)},delegate:void 0};function qo(t){jn.setTimeout(()=>{let{onUnhandledError:e}=Ke;if(e)e(t);else throw t})}function Or(){}var kd=Ma("C",void 0,void 0);function Fd(t){return Ma("E",void 0,t)}function Ld(t){return Ma("N",t,void 0)}function Ma(t,e,r){return{kind:t,value:e,error:r}}var ln=null;function Vn(t){if(Ke.useDeprecatedSynchronousErrorHandling){let e=!ln;if(e&&(ln={errorThrown:!1,error:null}),t(),e){let{errorThrown:r,error:n}=ln;if(ln=null,r)throw n}}else t()}function jd(t){Ke.useDeprecatedSynchronousErrorHandling&&ln&&(ln.errorThrown=!0,ln.error=t)}var dn=class extends J{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,Go(e)&&e.add(this)):this.destination=ny}static create(e,r,n){return new Je(e,r,n)}next(e){this.isStopped?Ta(Ld(e),this):this._next(e)}error(e){this.isStopped?Ta(Fd(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?Ta(kd,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(e){this.destination.next(e)}_error(e){try{this.destination.error(e)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},ey=Function.prototype.bind;function Sa(t,e){return ey.call(t,e)}var xa=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:r}=this;if(r.next)try{r.next(e)}catch(n){Wo(n)}}error(e){let{partialObserver:r}=this;if(r.error)try{r.error(e)}catch(n){Wo(n)}else Wo(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(r){Wo(r)}}},Je=class extends dn{constructor(e,r,n){super();let o;if(b(e)||!e)o={next:e??void 0,error:r??void 0,complete:n??void 0};else{let i;this&&Ke.useDeprecatedNextContext?(i=Object.create(e),i.unsubscribe=()=>this.unsubscribe(),o={next:e.next&&Sa(e.next,i),error:e.error&&Sa(e.error,i),complete:e.complete&&Sa(e.complete,i)}):o=e}this.destination=new xa(o)}};function Wo(t){Ke.useDeprecatedSynchronousErrorHandling?jd(t):qo(t)}function ty(t){throw t}function Ta(t,e){let{onStoppedNotification:r}=Ke;r&&jn.setTimeout(()=>r(t,e))}var ny={closed:!0,next:Or,error:ty,complete:Or};var Un=typeof Symbol=="function"&&Symbol.observable||"@@observable";function _e(t){return t}function Na(...t){return _a(t)}function _a(t){return t.length===0?_e:t.length===1?t[0]:function(r){return t.reduce((n,o)=>o(n),r)}}var O=(()=>{class t{constructor(r){r&&(this._subscribe=r)}lift(r){let n=new t;return n.source=this,n.operator=r,n}subscribe(r,n,o){let i=oy(r)?r:new Je(r,n,o);return Vn(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(r){try{return this._subscribe(r)}catch(n){r.error(n)}}forEach(r,n){return n=Vd(n),new n((o,i)=>{let s=new Je({next:a=>{try{r(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(r){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(r)}[Un](){return this}pipe(...r){return _a(r)(this)}toPromise(r){return r=Vd(r),new r((n,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>n(i))})}}return t.create=e=>new t(e),t})();function Vd(t){var e;return(e=t??Ke.Promise)!==null&&e!==void 0?e:Promise}function ry(t){return t&&b(t.next)&&b(t.error)&&b(t.complete)}function oy(t){return t&&t instanceof dn||ry(t)&&Go(t)}function Aa(t){return b(t?.lift)}function P(t){return e=>{if(Aa(e))return e.lift(function(r){try{return t(r,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}function k(t,e,r,n,o){return new Ra(t,e,r,n,o)}var Ra=class extends dn{constructor(e,r,n,o,i,s){super(e),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=r?function(a){try{r(a)}catch(c){e.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){e.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=n?function(){try{n()}catch(a){e.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:r}=this;super.unsubscribe(),!r&&((e=this.onFinalize)===null||e===void 0||e.call(this))}}};function $n(){return P((t,e)=>{let r=null;t._refCount++;let n=k(e,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount){r=null;return}let o=t._connection,i=r;r=null,o&&(!i||o===i)&&o.unsubscribe(),e.unsubscribe()});t.subscribe(n),n.closed||(r=t.connect())})}var Bn=class extends O{constructor(e,r){super(),this.source=e,this.subjectFactory=r,this._subject=null,this._refCount=0,this._connection=null,Aa(e)&&(this.lift=e.lift)}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){let e=this._subject;return(!e||e.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:e}=this;this._subject=this._connection=null,e?.unsubscribe()}connect(){let e=this._connection;if(!e){e=this._connection=new J;let r=this.getSubject();e.add(this.source.subscribe(k(r,void 0,()=>{this._teardown(),r.complete()},n=>{this._teardown(),r.error(n)},()=>this._teardown()))),e.closed&&(this._connection=null,e=J.EMPTY)}return e}refCount(){return $n()(this)}};var Ud=Ln(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var ne=(()=>{class t extends O{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(r){let n=new Zo(this,this);return n.operator=r,n}_throwIfClosed(){if(this.closed)throw new Ud}next(r){Vn(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let n of this.currentObservers)n.next(r)}})}error(r){Vn(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=r;let{observers:n}=this;for(;n.length;)n.shift().error(r)}})}complete(){Vn(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:r}=this;for(;r.length;)r.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var r;return((r=this.observers)===null||r===void 0?void 0:r.length)>0}_trySubscribe(r){return this._throwIfClosed(),super._trySubscribe(r)}_subscribe(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)}_innerSubscribe(r){let{hasError:n,isStopped:o,observers:i}=this;return n||o?ba:(this.currentObservers=null,i.push(r),new J(()=>{this.currentObservers=null,un(i,r)}))}_checkFinalizedStatuses(r){let{hasError:n,thrownError:o,isStopped:i}=this;n?r.error(o):i&&r.complete()}asObservable(){let r=new O;return r.source=this,r}}return t.create=(e,r)=>new Zo(e,r),t})(),Zo=class extends ne{constructor(e,r){super(),this.destination=e,this.source=r}next(e){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.next)===null||n===void 0||n.call(r,e)}error(e){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.error)===null||n===void 0||n.call(r,e)}complete(){var e,r;(r=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||r===void 0||r.call(e)}_subscribe(e){var r,n;return(n=(r=this.source)===null||r===void 0?void 0:r.subscribe(e))!==null&&n!==void 0?n:ba}};var de=class extends ne{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){let r=super._subscribe(e);return!r.closed&&e.next(this._value),r}getValue(){let{hasError:e,thrownError:r,_value:n}=this;if(e)throw r;return this._throwIfClosed(),n}next(e){super.next(this._value=e)}};var Pr={now(){return(Pr.delegate||Date).now()},delegate:void 0};var Yo=class extends ne{constructor(e=1/0,r=1/0,n=Pr){super(),this._bufferSize=e,this._windowTime=r,this._timestampProvider=n,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=r===1/0,this._bufferSize=Math.max(1,e),this._windowTime=Math.max(1,r)}next(e){let{isStopped:r,_buffer:n,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;r||(n.push(e),!o&&n.push(i.now()+s)),this._trimBuffer(),super.next(e)}_subscribe(e){this._throwIfClosed(),this._trimBuffer();let r=this._innerSubscribe(e),{_infiniteTimeWindow:n,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!e.closed;s+=n?1:2)e.next(i[s]);return this._checkFinalizedStatuses(e),r}_trimBuffer(){let{_bufferSize:e,_timestampProvider:r,_buffer:n,_infiniteTimeWindow:o}=this,i=(o?1:2)*e;if(e<1/0&&i<n.length&&n.splice(0,n.length-i),!o){let s=r.now(),a=0;for(let c=1;c<n.length&&n[c]<=s;c+=2)a=c;a&&n.splice(0,a+1)}}};var Qo=class extends J{constructor(e,r){super()}schedule(e,r=0){return this}};var kr={setInterval(t,e,...r){let{delegate:n}=kr;return n?.setInterval?n.setInterval(t,e,...r):setInterval(t,e,...r)},clearInterval(t){let{delegate:e}=kr;return(e?.clearInterval||clearInterval)(t)},delegate:void 0};var Ko=class extends Qo{constructor(e,r){super(e,r),this.scheduler=e,this.work=r,this.pending=!1}schedule(e,r=0){var n;if(this.closed)return this;this.state=e;let o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,r)),this.pending=!0,this.delay=r,this.id=(n=this.id)!==null&&n!==void 0?n:this.requestAsyncId(i,this.id,r),this}requestAsyncId(e,r,n=0){return kr.setInterval(e.flush.bind(e,this),n)}recycleAsyncId(e,r,n=0){if(n!=null&&this.delay===n&&this.pending===!1)return r;r!=null&&kr.clearInterval(r)}execute(e,r){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let n=this._execute(e,r);if(n)return n;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,r){let n=!1,o;try{this.work(e)}catch(i){n=!0,o=i||new Error("Scheduled action threw falsy error")}if(n)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){let{id:e,scheduler:r}=this,{actions:n}=r;this.work=this.state=this.scheduler=null,this.pending=!1,un(n,this),e!=null&&(this.id=this.recycleAsyncId(r,e,null)),this.delay=null,super.unsubscribe()}}};var Hn=class t{constructor(e,r=t.now){this.schedulerActionCtor=e,this.now=r}schedule(e,r=0,n){return new this.schedulerActionCtor(this,e).schedule(n,r)}};Hn.now=Pr.now;var Jo=class extends Hn{constructor(e,r=Hn.now){super(e,r),this.actions=[],this._active=!1}flush(e){let{actions:r}=this;if(this._active){r.push(e);return}let n;this._active=!0;do if(n=e.execute(e.state,e.delay))break;while(e=r.shift());if(this._active=!1,n){for(;e=r.shift();)e.unsubscribe();throw n}}};var Oa=new Jo(Ko),$d=Oa;var Ae=new O(t=>t.complete());function Xo(t){return t&&b(t.schedule)}function Bd(t){return t[t.length-1]}function ei(t){return b(Bd(t))?t.pop():void 0}function Vt(t){return Xo(Bd(t))?t.pop():void 0}function zd(t,e,r,n){function o(i){return i instanceof r?i:new r(function(s){s(i)})}return new(r||(r=Promise))(function(i,s){function a(l){try{u(n.next(l))}catch(d){s(d)}}function c(l){try{u(n.throw(l))}catch(d){s(d)}}function u(l){l.done?i(l.value):o(l.value).then(a,c)}u((n=n.apply(t,e||[])).next())})}function Hd(t){var e=typeof Symbol=="function"&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function fn(t){return this instanceof fn?(this.v=t,this):new fn(t)}function Gd(t,e,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r.apply(t,e||[]),o,i=[];return o={},a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(f){return function(p){return Promise.resolve(p).then(f,d)}}function a(f,p){n[f]&&(o[f]=function(D){return new Promise(function(m,v){i.push([f,D,m,v])>1||c(f,D)})},p&&(o[f]=p(o[f])))}function c(f,p){try{u(n[f](p))}catch(D){h(i[0][3],D)}}function u(f){f.value instanceof fn?Promise.resolve(f.value.v).then(l,d):h(i[0][2],f)}function l(f){c("next",f)}function d(f){c("throw",f)}function h(f,p){f(p),i.shift(),i.length&&c(i[0][0],i[0][1])}}function qd(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],r;return e?e.call(t):(t=typeof Hd=="function"?Hd(t):t[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(i){r[i]=t[i]&&function(s){return new Promise(function(a,c){s=t[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(u){i({value:u,done:a})},s)}}var zn=t=>t&&typeof t.length=="number"&&typeof t!="function";function ti(t){return b(t?.then)}function ni(t){return b(t[Un])}function ri(t){return Symbol.asyncIterator&&b(t?.[Symbol.asyncIterator])}function oi(t){return new TypeError(`You provided ${t!==null&&typeof t=="object"?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function iy(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var ii=iy();function si(t){return b(t?.[ii])}function ai(t){return Gd(this,arguments,function*(){let r=t.getReader();try{for(;;){let{value:n,done:o}=yield fn(r.read());if(o)return yield fn(void 0);yield yield fn(n)}}finally{r.releaseLock()}})}function ci(t){return b(t?.getReader)}function Y(t){if(t instanceof O)return t;if(t!=null){if(ni(t))return sy(t);if(zn(t))return ay(t);if(ti(t))return cy(t);if(ri(t))return Wd(t);if(si(t))return uy(t);if(ci(t))return ly(t)}throw oi(t)}function sy(t){return new O(e=>{let r=t[Un]();if(b(r.subscribe))return r.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function ay(t){return new O(e=>{for(let r=0;r<t.length&&!e.closed;r++)e.next(t[r]);e.complete()})}function cy(t){return new O(e=>{t.then(r=>{e.closed||(e.next(r),e.complete())},r=>e.error(r)).then(null,qo)})}function uy(t){return new O(e=>{for(let r of t)if(e.next(r),e.closed)return;e.complete()})}function Wd(t){return new O(e=>{dy(t,e).catch(r=>e.error(r))})}function ly(t){return Wd(ai(t))}function dy(t,e){var r,n,o,i;return zd(this,void 0,void 0,function*(){try{for(r=qd(t);n=yield r.next(),!n.done;){let s=n.value;if(e.next(s),e.closed)return}}catch(s){o={error:s}}finally{try{n&&!n.done&&(i=r.return)&&(yield i.call(r))}finally{if(o)throw o.error}}e.complete()})}function Ie(t,e,r,n=0,o=!1){let i=e.schedule(function(){r(),o?t.add(this.schedule(null,n)):this.unsubscribe()},n);if(t.add(i),!o)return i}function ui(t,e=0){return P((r,n)=>{r.subscribe(k(n,o=>Ie(n,t,()=>n.next(o),e),()=>Ie(n,t,()=>n.complete(),e),o=>Ie(n,t,()=>n.error(o),e)))})}function li(t,e=0){return P((r,n)=>{n.add(t.schedule(()=>r.subscribe(n),e))})}function Zd(t,e){return Y(t).pipe(li(e),ui(e))}function Yd(t,e){return Y(t).pipe(li(e),ui(e))}function Qd(t,e){return new O(r=>{let n=0;return e.schedule(function(){n===t.length?r.complete():(r.next(t[n++]),r.closed||this.schedule())})})}function Kd(t,e){return new O(r=>{let n;return Ie(r,e,()=>{n=t[ii](),Ie(r,e,()=>{let o,i;try{({value:o,done:i}=n.next())}catch(s){r.error(s);return}i?r.complete():r.next(o)},0,!0)}),()=>b(n?.return)&&n.return()})}function di(t,e){if(!t)throw new Error("Iterable cannot be null");return new O(r=>{Ie(r,e,()=>{let n=t[Symbol.asyncIterator]();Ie(r,e,()=>{n.next().then(o=>{o.done?r.complete():r.next(o.value)})},0,!0)})})}function Jd(t,e){return di(ai(t),e)}function Xd(t,e){if(t!=null){if(ni(t))return Zd(t,e);if(zn(t))return Qd(t,e);if(ti(t))return Yd(t,e);if(ri(t))return di(t,e);if(si(t))return Kd(t,e);if(ci(t))return Jd(t,e)}throw oi(t)}function Q(t,e){return e?Xd(t,e):Y(t)}function M(...t){let e=Vt(t);return Q(t,e)}function Gn(t,e){let r=b(t)?t:()=>t,n=o=>o.error(r());return new O(e?o=>e.schedule(n,0,o):n)}function Pa(t){return!!t&&(t instanceof O||b(t.lift)&&b(t.subscribe))}var Xe=Ln(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});function fy(t,e){let r=typeof e=="object";return new Promise((n,o)=>{let i=new Je({next:s=>{n(s),i.unsubscribe()},error:o,complete:()=>{r?n(e.defaultValue):o(new Xe)}});t.subscribe(i)})}function ef(t){return t instanceof Date&&!isNaN(t)}function N(t,e){return P((r,n)=>{let o=0;r.subscribe(k(n,i=>{n.next(t.call(e,i,o++))}))})}var{isArray:hy}=Array;function py(t,e){return hy(e)?t(...e):t(e)}function qn(t){return N(e=>py(t,e))}var{isArray:gy}=Array,{getPrototypeOf:my,prototype:vy,keys:yy}=Object;function fi(t){if(t.length===1){let e=t[0];if(gy(e))return{args:e,keys:null};if(Dy(e)){let r=yy(e);return{args:r.map(n=>e[n]),keys:r}}}return{args:t,keys:null}}function Dy(t){return t&&typeof t=="object"&&my(t)===vy}function hi(t,e){return t.reduce((r,n,o)=>(r[n]=e[o],r),{})}function Fr(...t){let e=Vt(t),r=ei(t),{args:n,keys:o}=fi(t);if(n.length===0)return Q([],e);let i=new O(wy(n,e,o?s=>hi(o,s):_e));return r?i.pipe(qn(r)):i}function wy(t,e,r=_e){return n=>{tf(e,()=>{let{length:o}=t,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)tf(e,()=>{let u=Q(t[c],e),l=!1;u.subscribe(k(n,d=>{i[c]=d,l||(l=!0,a--),a||n.next(r(i.slice()))},()=>{--s||n.complete()}))},n)},n)}}function tf(t,e,r){t?Ie(r,t,e):e()}function nf(t,e,r,n,o,i,s,a){let c=[],u=0,l=0,d=!1,h=()=>{d&&!c.length&&!u&&e.complete()},f=D=>u<n?p(D):c.push(D),p=D=>{i&&e.next(D),u++;let m=!1;Y(r(D,l++)).subscribe(k(e,v=>{o?.(v),i?f(v):e.next(v)},()=>{m=!0},void 0,()=>{if(m)try{for(u--;c.length&&u<n;){let v=c.shift();s?Ie(e,s,()=>p(v)):p(v)}h()}catch(v){e.error(v)}}))};return t.subscribe(k(e,f,()=>{d=!0,h()})),()=>{a?.()}}function X(t,e,r=1/0){return b(e)?X((n,o)=>N((i,s)=>e(n,i,o,s))(Y(t(n,o))),r):(typeof e=="number"&&(r=e),P((n,o)=>nf(n,o,t,r)))}function Ut(t=1/0){return X(_e,t)}function rf(){return Ut(1)}function Wn(...t){return rf()(Q(t,Vt(t)))}function pi(t){return new O(e=>{Y(t()).subscribe(e)})}function Ey(...t){let e=ei(t),{args:r,keys:n}=fi(t),o=new O(i=>{let{length:s}=r;if(!s){i.complete();return}let a=new Array(s),c=s,u=s;for(let l=0;l<s;l++){let d=!1;Y(r[l]).subscribe(k(i,h=>{d||(d=!0,u--),a[l]=h},()=>c--,void 0,()=>{(!c||!d)&&(u||i.next(n?hi(n,a):a),i.complete())}))}});return e?o.pipe(qn(e)):o}var Iy=["addListener","removeListener"],Cy=["addEventListener","removeEventListener"],by=["on","off"];function ka(t,e,r,n){if(b(r)&&(n=r,r=void 0),n)return ka(t,e,r).pipe(qn(n));let[o,i]=Ty(t)?Cy.map(s=>a=>t[s](e,a,r)):My(t)?Iy.map(of(t,e)):Sy(t)?by.map(of(t,e)):[];if(!o&&zn(t))return X(s=>ka(s,e,r))(Y(t));if(!o)throw new TypeError("Invalid event target");return new O(s=>{let a=(...c)=>s.next(1<c.length?c:c[0]);return o(a),()=>i(a)})}function of(t,e){return r=>n=>t[r](e,n)}function My(t){return b(t.addListener)&&b(t.removeListener)}function Sy(t){return b(t.on)&&b(t.off)}function Ty(t){return b(t.addEventListener)&&b(t.removeEventListener)}function xy(t=0,e,r=$d){let n=-1;return e!=null&&(Xo(e)?r=e:n=e),new O(o=>{let i=ef(t)?+t-r.now():t;i<0&&(i=0);let s=0;return r.schedule(function(){o.closed||(o.next(s++),0<=n?this.schedule(void 0,n):o.complete())},i)})}function ve(t,e){return P((r,n)=>{let o=0;r.subscribe(k(n,i=>t.call(e,i,o++)&&n.next(i)))})}function $t(t){return P((e,r)=>{let n=null,o=!1,i;n=e.subscribe(k(r,void 0,void 0,s=>{i=Y(t(s,$t(t)(e))),n?(n.unsubscribe(),n=null,i.subscribe(r)):o=!0})),o&&(n.unsubscribe(),n=null,i.subscribe(r))})}function sf(t,e,r,n,o){return(i,s)=>{let a=r,c=e,u=0;i.subscribe(k(s,l=>{let d=u++;c=a?t(c,l,d):(a=!0,l),n&&s.next(c)},o&&(()=>{a&&s.next(c),s.complete()})))}}function wt(t,e){return b(e)?X(t,e,1):X(t,1)}function af(t,e=Oa){return P((r,n)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let u=i;i=null,n.next(u)}};function c(){let u=s+t,l=e.now();if(l<u){o=this.schedule(void 0,u-l),n.add(o);return}a()}r.subscribe(k(n,u=>{i=u,s=e.now(),o||(o=e.schedule(c,t),n.add(o))},()=>{a(),n.complete()},void 0,()=>{i=o=null}))})}function Bt(t){return P((e,r)=>{let n=!1;e.subscribe(k(r,o=>{n=!0,r.next(o)},()=>{n||r.next(t),r.complete()}))})}function Et(t){return t<=0?()=>Ae:P((e,r)=>{let n=0;e.subscribe(k(r,o=>{++n<=t&&(r.next(o),t<=n&&r.complete())}))})}function Fa(t){return N(()=>t)}function gi(t=Ny){return P((e,r)=>{let n=!1;e.subscribe(k(r,o=>{n=!0,r.next(o)},()=>n?r.complete():r.error(t())))})}function Ny(){return new Xe}function Ht(t){return P((e,r)=>{try{e.subscribe(r)}finally{r.add(t)}})}function ct(t,e){let r=arguments.length>=2;return n=>n.pipe(t?ve((o,i)=>t(o,i,n)):_e,Et(1),r?Bt(e):gi(()=>new Xe))}function Zn(t){return t<=0?()=>Ae:P((e,r)=>{let n=[];e.subscribe(k(r,o=>{n.push(o),t<n.length&&n.shift()},()=>{for(let o of n)r.next(o);r.complete()},void 0,()=>{n=null}))})}function La(t,e){let r=arguments.length>=2;return n=>n.pipe(t?ve((o,i)=>t(o,i,n)):_e,Zn(1),r?Bt(e):gi(()=>new Xe))}function ja(t,e){return P(sf(t,e,arguments.length>=2,!0))}function cf(t={}){let{connector:e=()=>new ne,resetOnError:r=!0,resetOnComplete:n=!0,resetOnRefCountZero:o=!0}=t;return i=>{let s,a,c,u=0,l=!1,d=!1,h=()=>{a?.unsubscribe(),a=void 0},f=()=>{h(),s=c=void 0,l=d=!1},p=()=>{let D=s;f(),D?.unsubscribe()};return P((D,m)=>{u++,!d&&!l&&h();let v=c=c??e();m.add(()=>{u--,u===0&&!d&&!l&&(a=Va(p,o))}),v.subscribe(m),!s&&u>0&&(s=new Je({next:j=>v.next(j),error:j=>{d=!0,h(),a=Va(f,r,j),v.error(j)},complete:()=>{l=!0,h(),a=Va(f,n),v.complete()}}),Y(D).subscribe(s))})(i)}}function Va(t,e,...r){if(e===!0){t();return}if(e===!1)return;let n=new Je({next:()=>{n.unsubscribe(),t()}});return Y(e(...r)).subscribe(n)}function _y(t,e,r){let n,o=!1;return t&&typeof t=="object"?{bufferSize:n=1/0,windowTime:e=1/0,refCount:o=!1,scheduler:r}=t:n=t??1/0,cf({connector:()=>new Yo(n,e,r),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function Ua(...t){let e=Vt(t);return P((r,n)=>{(e?Wn(t,r,e):Wn(t,r)).subscribe(n)})}function Ce(t,e){return P((r,n)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&n.complete();r.subscribe(k(n,c=>{o?.unsubscribe();let u=0,l=i++;Y(t(c,l)).subscribe(o=k(n,d=>n.next(e?e(c,d,l,u++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function $a(t){return P((e,r)=>{Y(t).subscribe(k(r,()=>r.complete(),Or)),!r.closed&&e.subscribe(r)})}function ce(t,e,r){let n=b(t)||e||r?{next:t,error:e,complete:r}:t;return n?P((o,i)=>{var s;(s=n.subscribe)===null||s===void 0||s.call(n);let a=!0;o.subscribe(k(i,c=>{var u;(u=n.next)===null||u===void 0||u.call(n,c),i.next(c)},()=>{var c;a=!1,(c=n.complete)===null||c===void 0||c.call(n),i.complete()},c=>{var u;a=!1,(u=n.error)===null||u===void 0||u.call(n,c),i.error(c)},()=>{var c,u;a&&((c=n.unsubscribe)===null||c===void 0||c.call(n)),(u=n.finalize)===null||u===void 0||u.call(n)}))}):_e}var nh="https://g.co/ng/security#xss",w=class extends Error{constructor(e,r){super(rs(e,r)),this.code=e}};function rs(t,e){return`${`NG0${Math.abs(t)}`}${e?": "+e:""}`}var rh=Symbol("InputSignalNode#UNSET"),Ay=Z(y({},Ca),{transformFn:void 0,applyValueToInputSignal(t,e){Ho(t,e)}});function oh(t,e){let r=Object.create(Ay);r.value=t,r.transformFn=e?.transform;function n(){if(Lo(r),r.value===rh)throw new w(-950,!1);return r.value}return n[Qe]=r,n}function Wr(t){return{toString:t}.toString()}var mi="__parameters__";function Ry(t){return function(...r){if(t){let n=t(...r);for(let o in n)this[o]=n[o]}}}function ih(t,e,r){return Wr(()=>{let n=Ry(e);function o(...i){if(this instanceof o)return n.apply(this,i),this;let s=new o(...i);return a.annotation=s,a;function a(c,u,l){let d=c.hasOwnProperty(mi)?c[mi]:Object.defineProperty(c,mi,{value:[]})[mi];for(;d.length<=l;)d.push(null);return(d[l]=d[l]||[]).push(s),c}}return r&&(o.prototype=Object.create(r.prototype)),o.prototype.ngMetadataName=t,o.annotationCls=o,o})}var ae=globalThis;function G(t){for(let e in t)if(t[e]===G)return e;throw Error("Could not find renamed property on target object.")}function Oy(t,e){for(let r in e)e.hasOwnProperty(r)&&!t.hasOwnProperty(r)&&(t[r]=e[r])}function De(t){if(typeof t=="string")return t;if(Array.isArray(t))return"["+t.map(De).join(", ")+"]";if(t==null)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;let e=t.toString();if(e==null)return""+e;let r=e.indexOf(`
`);return r===-1?e:e.substring(0,r)}function tc(t,e){return t==null||t===""?e===null?"":e:e==null||e===""?t:t+" "+e}var Py=G({__forward_ref__:G});function sh(t){return t.__forward_ref__=sh,t.toString=function(){return De(this())},t}function ye(t){return ah(t)?t():t}function ah(t){return typeof t=="function"&&t.hasOwnProperty(Py)&&t.__forward_ref__===sh}function I(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function bt(t){return{providers:t.providers||[],imports:t.imports||[]}}function os(t){return uf(t,uh)||uf(t,lh)}function ch(t){return os(t)!==null}function uf(t,e){return t.hasOwnProperty(e)?t[e]:null}function ky(t){let e=t&&(t[uh]||t[lh]);return e||null}function lf(t){return t&&(t.hasOwnProperty(df)||t.hasOwnProperty(Fy))?t[df]:null}var uh=G({\u0275prov:G}),df=G({\u0275inj:G}),lh=G({ngInjectableDef:G}),Fy=G({ngInjectorDef:G}),E=class{constructor(e,r){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof r=="number"?this.__NG_ELEMENT_ID__=r:r!==void 0&&(this.\u0275prov=I({token:this,providedIn:r.providedIn||"root",factory:r.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function dh(t){return t&&!!t.\u0275providers}var Ly=G({\u0275cmp:G}),jy=G({\u0275dir:G}),Vy=G({\u0275pipe:G}),Uy=G({\u0275mod:G}),_i=G({\u0275fac:G}),Lr=G({__NG_ELEMENT_ID__:G}),ff=G({__NG_ENV_ID__:G});function mn(t){return typeof t=="string"?t:t==null?"":String(t)}function $y(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():mn(t)}function By(t,e){let r=e?`. Dependency path: ${e.join(" > ")} > ${t}`:"";throw new w(-200,t)}function su(t,e){throw new w(-201,!1)}var R=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}(R||{}),nc;function fh(){return nc}function be(t){let e=nc;return nc=t,e}function hh(t,e,r){let n=os(t);if(n&&n.providedIn=="root")return n.value===void 0?n.value=n.factory():n.value;if(r&R.Optional)return null;if(e!==void 0)return e;su(t,"Injector")}var Hy={},Vr=Hy,rc="__NG_DI_FLAG__",Ai="ngTempTokenPath",zy="ngTokenPath",Gy=/\n/gm,qy="\u0275",hf="__source",Jn;function Wy(){return Jn}function zt(t){let e=Jn;return Jn=t,e}function Zy(t,e=R.Default){if(Jn===void 0)throw new w(-203,!1);return Jn===null?hh(t,void 0,e):Jn.get(t,e&R.Optional?null:void 0,e)}function C(t,e=R.Default){return(fh()||Zy)(ye(t),e)}function g(t,e=R.Default){return C(t,is(e))}function is(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function oc(t){let e=[];for(let r=0;r<t.length;r++){let n=ye(t[r]);if(Array.isArray(n)){if(n.length===0)throw new w(900,!1);let o,i=R.Default;for(let s=0;s<n.length;s++){let a=n[s],c=Yy(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}e.push(C(o,i))}else e.push(C(n))}return e}function ph(t,e){return t[rc]=e,t.prototype[rc]=e,t}function Yy(t){return t[rc]}function Qy(t,e,r,n){let o=t[Ai];throw e[hf]&&o.unshift(e[hf]),t.message=Ky(`
`+t.message,o,r,n),t[zy]=o,t[Ai]=null,t}function Ky(t,e,r,n=null){t=t&&t.charAt(0)===`
`&&t.charAt(1)==qy?t.slice(2):t;let o=De(e);if(Array.isArray(e))o=e.map(De).join(" -> ");else if(typeof e=="object"){let i=[];for(let s in e)if(e.hasOwnProperty(s)){let a=e[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):De(a)))}o=`{${i.join(", ")}}`}return`${r}${n?"("+n+")":""}[${o}]: ${t.replace(Gy,`
`)}`}var Zr=ph(ih("Optional"),8);var ss=ph(ih("SkipSelf"),4);function vn(t,e){let r=t.hasOwnProperty(_i);return r?t[_i]:null}function Jy(t,e,r){if(t.length!==e.length)return!1;for(let n=0;n<t.length;n++){let o=t[n],i=e[n];if(r&&(o=r(o),i=r(i)),i!==o)return!1}return!0}function Xy(t){return t.flat(Number.POSITIVE_INFINITY)}function au(t,e){t.forEach(r=>Array.isArray(r)?au(r,e):e(r))}function gh(t,e,r){e>=t.length?t.push(r):t.splice(e,0,r)}function Ri(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function eD(t,e){let r=[];for(let n=0;n<t;n++)r.push(e);return r}function tD(t,e,r,n){let o=t.length;if(o==e)t.push(r,n);else if(o===1)t.push(n,t[0]),t[0]=r;else{for(o--,t.push(t[o-1],t[o]);o>e;){let i=o-2;t[o]=t[i],o--}t[e]=r,t[e+1]=n}}function as(t,e,r){let n=Yr(t,e);return n>=0?t[n|1]=r:(n=~n,tD(t,n,e,r)),n}function Ba(t,e){let r=Yr(t,e);if(r>=0)return t[r|1]}function Yr(t,e){return nD(t,e,1)}function nD(t,e,r){let n=0,o=t.length>>r;for(;o!==n;){let i=n+(o-n>>1),s=t[i<<r];if(e===s)return i<<r;s>e?o=i:n=i+1}return~(o<<r)}var er={},Me=[],tr=new E(""),mh=new E("",-1),vh=new E(""),Oi=class{get(e,r=Vr){if(r===Vr){let n=new Error(`NullInjectorError: No provider for ${De(e)}!`);throw n.name="NullInjectorError",n}return r}},yh=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(yh||{}),dt=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(dt||{}),Wt=function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t}(Wt||{});function rD(t,e,r){let n=t.length;for(;;){let o=t.indexOf(e,r);if(o===-1)return o;if(o===0||t.charCodeAt(o-1)<=32){let i=e.length;if(o+i===n||t.charCodeAt(o+i)<=32)return o}r=o+1}}function ic(t,e,r){let n=0;for(;n<r.length;){let o=r[n];if(typeof o=="number"){if(o!==0)break;n++;let i=r[n++],s=r[n++],a=r[n++];t.setAttribute(e,s,a,i)}else{let i=o,s=r[++n];oD(i)?t.setProperty(e,i,s):t.setAttribute(e,i,s),n++}}return n}function Dh(t){return t===3||t===4||t===6}function oD(t){return t.charCodeAt(0)===64}function Ur(t,e){if(!(e===null||e.length===0))if(t===null||t.length===0)t=e.slice();else{let r=-1;for(let n=0;n<e.length;n++){let o=e[n];typeof o=="number"?r=o:r===0||(r===-1||r===2?pf(t,r,o,null,e[++n]):pf(t,r,o,null,null))}}return t}function pf(t,e,r,n,o){let i=0,s=t.length;if(e===-1)s=-1;else for(;i<t.length;){let a=t[i++];if(typeof a=="number"){if(a===e){s=-1;break}else if(a>e){s=i-1;break}}}for(;i<t.length;){let a=t[i];if(typeof a=="number")break;if(a===r){if(n===null){o!==null&&(t[i+1]=o);return}else if(n===t[i+1]){t[i+2]=o;return}}i++,n!==null&&i++,o!==null&&i++}s!==-1&&(t.splice(s,0,e),i=s+1),t.splice(i++,0,r),n!==null&&t.splice(i++,0,n),o!==null&&t.splice(i++,0,o)}var wh="ng-template";function iD(t,e,r,n){let o=0;if(n){for(;o<e.length&&typeof e[o]=="string";o+=2)if(e[o]==="class"&&rD(e[o+1].toLowerCase(),r,0)!==-1)return!0}else if(cu(t))return!1;if(o=e.indexOf(1,o),o>-1){let i;for(;++o<e.length&&typeof(i=e[o])=="string";)if(i.toLowerCase()===r)return!0}return!1}function cu(t){return t.type===4&&t.value!==wh}function sD(t,e,r){let n=t.type===4&&!r?wh:t.value;return e===n}function aD(t,e,r){let n=4,o=t.attrs,i=o!==null?lD(o):0,s=!1;for(let a=0;a<e.length;a++){let c=e[a];if(typeof c=="number"){if(!s&&!et(n)&&!et(c))return!1;if(s&&et(c))continue;s=!1,n=c|n&1;continue}if(!s)if(n&4){if(n=2|n&1,c!==""&&!sD(t,c,r)||c===""&&e.length===1){if(et(n))return!1;s=!0}}else if(n&8){if(o===null||!iD(t,o,c,r)){if(et(n))return!1;s=!0}}else{let u=e[++a],l=cD(c,o,cu(t),r);if(l===-1){if(et(n))return!1;s=!0;continue}if(u!==""){let d;if(l>i?d="":d=o[l+1].toLowerCase(),n&2&&u!==d){if(et(n))return!1;s=!0}}}}return et(n)||s}function et(t){return(t&1)===0}function cD(t,e,r,n){if(e===null)return-1;let o=0;if(n||!r){let i=!1;for(;o<e.length;){let s=e[o];if(s===t)return o;if(s===3||s===6)i=!0;else if(s===1||s===2){let a=e[++o];for(;typeof a=="string";)a=e[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=i?1:2}return-1}else return dD(e,t)}function Eh(t,e,r=!1){for(let n=0;n<e.length;n++)if(aD(t,e[n],r))return!0;return!1}function uD(t){let e=t.attrs;if(e!=null){let r=e.indexOf(5);if(!(r&1))return e[r+1]}return null}function lD(t){for(let e=0;e<t.length;e++){let r=t[e];if(Dh(r))return e}return t.length}function dD(t,e){let r=t.indexOf(4);if(r>-1)for(r++;r<t.length;){let n=t[r];if(typeof n=="number")return-1;if(n===e)return r;r++}return-1}function fD(t,e){e:for(let r=0;r<e.length;r++){let n=e[r];if(t.length===n.length){for(let o=0;o<t.length;o++)if(t[o]!==n[o])continue e;return!0}}return!1}function gf(t,e){return t?":not("+e.trim()+")":e}function hD(t){let e=t[0],r=1,n=2,o="",i=!1;for(;r<t.length;){let s=t[r];if(typeof s=="string")if(n&2){let a=t[++r];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else n&8?o+="."+s:n&4&&(o+=" "+s);else o!==""&&!et(s)&&(e+=gf(i,o),o=""),n=s,i=i||!et(n);r++}return o!==""&&(e+=gf(i,o)),e}function pD(t){return t.map(hD).join(",")}function gD(t){let e=[],r=[],n=1,o=2;for(;n<t.length;){let i=t[n];if(typeof i=="string")o===2?i!==""&&e.push(i,t[++n]):o===8&&r.push(i);else{if(!et(o))break;o=i}n++}return{attrs:e,classes:r}}function Ih(t){return Wr(()=>{let e=Th(t),r=Z(y({},e),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===yh.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||dt.Emulated,styles:t.styles||Me,_:null,schemas:t.schemas||null,tView:null,id:""});xh(r);let n=t.dependencies;return r.directiveDefs=vf(n,!1),r.pipeDefs=vf(n,!0),r.id=yD(r),r})}function mD(t){return Zt(t)||Ch(t)}function vD(t){return t!==null}function Mt(t){return Wr(()=>({type:t.type,bootstrap:t.bootstrap||Me,declarations:t.declarations||Me,imports:t.imports||Me,exports:t.exports||Me,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function mf(t,e){if(t==null)return er;let r={};for(let n in t)if(t.hasOwnProperty(n)){let o=t[n],i,s,a=Wt.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),e?(r[i]=a!==Wt.None?[n,a]:n,e[i]=s):r[i]=n}return r}function Ge(t){return Wr(()=>{let e=Th(t);return xh(e),e})}function cs(t){return{type:t.type,name:t.name,factory:null,pure:t.pure!==!1,standalone:t.standalone===!0,onDestroy:t.type.prototype.ngOnDestroy||null}}function Zt(t){return t[Ly]||null}function Ch(t){return t[jy]||null}function bh(t){return t[Vy]||null}function Mh(t){let e=Zt(t)||Ch(t)||bh(t);return e!==null?e.standalone:!1}function Sh(t,e){let r=t[Uy]||null;if(!r&&e===!0)throw new Error(`Type ${De(t)} does not have '\u0275mod' property.`);return r}function Th(t){let e={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputTransforms:null,inputConfig:t.inputs||er,exportAs:t.exportAs||null,standalone:t.standalone===!0,signals:t.signals===!0,selectors:t.selectors||Me,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:mf(t.inputs,e),outputs:mf(t.outputs),debugInfo:null}}function xh(t){t.features?.forEach(e=>e(t))}function vf(t,e){if(!t)return null;let r=e?bh:mD;return()=>(typeof t=="function"?t():t).map(n=>r(n)).filter(vD)}function yD(t){let e=0,r=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(let o of r)e=Math.imul(31,e)+o.charCodeAt(0)<<0;return e+=2147483648,"c"+e}function us(t){return{\u0275providers:t}}function DD(...t){return{\u0275providers:Nh(!0,t),\u0275fromNgModule:!0}}function Nh(t,...e){let r=[],n=new Set,o,i=s=>{r.push(s)};return au(e,s=>{let a=s;sc(a,i,[],n)&&(o||=[],o.push(a))}),o!==void 0&&_h(o,i),r}function _h(t,e){for(let r=0;r<t.length;r++){let{ngModule:n,providers:o}=t[r];uu(o,i=>{e(i,n)})}}function sc(t,e,r,n){if(t=ye(t),!t)return!1;let o=null,i=lf(t),s=!i&&Zt(t);if(!i&&!s){let c=t.ngModule;if(i=lf(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=t}let a=n.has(o);if(s){if(a)return!1;if(n.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let u of c)sc(u,e,r,n)}}else if(i){if(i.imports!=null&&!a){n.add(o);let u;try{au(i.imports,l=>{sc(l,e,r,n)&&(u||=[],u.push(l))})}finally{}u!==void 0&&_h(u,e)}if(!a){let u=vn(o)||(()=>new o);e({provide:o,useFactory:u,deps:Me},o),e({provide:vh,useValue:o,multi:!0},o),e({provide:tr,useValue:()=>C(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let u=t;uu(c,l=>{e(l,u)})}}else return!1;return o!==t&&t.providers!==void 0}function uu(t,e){for(let r of t)dh(r)&&(r=r.\u0275providers),Array.isArray(r)?uu(r,e):e(r)}var wD=G({provide:String,useValue:G});function Ah(t){return t!==null&&typeof t=="object"&&wD in t}function ED(t){return!!(t&&t.useExisting)}function ID(t){return!!(t&&t.useFactory)}function nr(t){return typeof t=="function"}function CD(t){return!!t.useClass}var ls=new E(""),Ci={},bD={},Ha;function lu(){return Ha===void 0&&(Ha=new Oi),Ha}var we=class{},$r=class extends we{get destroyed(){return this._destroyed}constructor(e,r,n,o){super(),this.parent=r,this.source=n,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,cc(e,s=>this.processProvider(s)),this.records.set(mh,Yn(void 0,this)),o.has("environment")&&this.records.set(we,Yn(void 0,this));let i=this.records.get(ls);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(vh,Me,R.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let e=F(null);try{for(let n of this._ngOnDestroyHooks)n.ngOnDestroy();let r=this._onDestroyHooks;this._onDestroyHooks=[];for(let n of r)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),F(e)}}onDestroy(e){return this.assertNotDestroyed(),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){this.assertNotDestroyed();let r=zt(this),n=be(void 0),o;try{return e()}finally{zt(r),be(n)}}get(e,r=Vr,n=R.Default){if(this.assertNotDestroyed(),e.hasOwnProperty(ff))return e[ff](this);n=is(n);let o,i=zt(this),s=be(void 0);try{if(!(n&R.SkipSelf)){let c=this.records.get(e);if(c===void 0){let u=ND(e)&&os(e);u&&this.injectableDefInScope(u)?c=Yn(ac(e),Ci):c=null,this.records.set(e,c)}if(c!=null)return this.hydrate(e,c)}let a=n&R.Self?lu():this.parent;return r=n&R.Optional&&r===Vr?null:r,a.get(e,r)}catch(a){if(a.name==="NullInjectorError"){if((a[Ai]=a[Ai]||[]).unshift(De(e)),i)throw a;return Qy(a,e,"R3InjectorError",this.source)}else throw a}finally{be(s),zt(i)}}resolveInjectorInitializers(){let e=F(null),r=zt(this),n=be(void 0),o;try{let i=this.get(tr,Me,R.Self);for(let s of i)s()}finally{zt(r),be(n),F(e)}}toString(){let e=[],r=this.records;for(let n of r.keys())e.push(De(n));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new w(205,!1)}processProvider(e){e=ye(e);let r=nr(e)?e:ye(e&&e.provide),n=SD(e);if(!nr(e)&&e.multi===!0){let o=this.records.get(r);o||(o=Yn(void 0,Ci,!0),o.factory=()=>oc(o.multi),this.records.set(r,o)),r=e,o.multi.push(e)}this.records.set(r,n)}hydrate(e,r){let n=F(null);try{return r.value===Ci&&(r.value=bD,r.value=r.factory()),typeof r.value=="object"&&r.value&&xD(r.value)&&this._ngOnDestroyHooks.add(r.value),r.value}finally{F(n)}}injectableDefInScope(e){if(!e.providedIn)return!1;let r=ye(e.providedIn);return typeof r=="string"?r==="any"||this.scopes.has(r):this.injectorDefTypes.has(r)}removeOnDestroy(e){let r=this._onDestroyHooks.indexOf(e);r!==-1&&this._onDestroyHooks.splice(r,1)}};function ac(t){let e=os(t),r=e!==null?e.factory:vn(t);if(r!==null)return r;if(t instanceof E)throw new w(204,!1);if(t instanceof Function)return MD(t);throw new w(204,!1)}function MD(t){if(t.length>0)throw new w(204,!1);let r=ky(t);return r!==null?()=>r.factory(t):()=>new t}function SD(t){if(Ah(t))return Yn(void 0,t.useValue);{let e=Rh(t);return Yn(e,Ci)}}function Rh(t,e,r){let n;if(nr(t)){let o=ye(t);return vn(o)||ac(o)}else if(Ah(t))n=()=>ye(t.useValue);else if(ID(t))n=()=>t.useFactory(...oc(t.deps||[]));else if(ED(t))n=()=>C(ye(t.useExisting));else{let o=ye(t&&(t.useClass||t.provide));if(TD(t))n=()=>new o(...oc(t.deps));else return vn(o)||ac(o)}return n}function Yn(t,e,r=!1){return{factory:t,value:e,multi:r?[]:void 0}}function TD(t){return!!t.deps}function xD(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function ND(t){return typeof t=="function"||typeof t=="object"&&t instanceof E}function cc(t,e){for(let r of t)Array.isArray(r)?cc(r,e):r&&dh(r)?cc(r.\u0275providers,e):e(r)}function Pe(t,e){t instanceof $r&&t.assertNotDestroyed();let r,n=zt(t),o=be(void 0);try{return e()}finally{zt(n),be(o)}}function Oh(){return fh()!==void 0||Wy()!=null}function Ph(t){if(!Oh())throw new w(-203,!1)}function _D(t){let e=ae.ng;if(e&&e.\u0275compilerFacade)return e.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}function AD(t){return typeof t=="function"}var St=0,x=1,T=2,ge=3,tt=4,xe=5,Br=6,Pi=7,He=8,rr=9,ft=10,ee=11,Hr=12,yf=13,pr=14,ze=15,yn=16,Qn=17,It=18,ds=19,kh=20,Gt=21,bi=22,Be=23,he=25,Fh=1;var Dn=7,ki=8,or=9,Te=10,Fi=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t}(Fi||{});function qt(t){return Array.isArray(t)&&typeof t[Fh]=="object"}function Tt(t){return Array.isArray(t)&&t[Fh]===!0}function du(t){return(t.flags&4)!==0}function fs(t){return t.componentOffset>-1}function hs(t){return(t.flags&1)===1}function Yt(t){return!!t.template}function uc(t){return(t[T]&512)!==0}var lc=class{constructor(e,r,n){this.previousValue=e,this.currentValue=r,this.firstChange=n}isFirstChange(){return this.firstChange}};function Lh(t,e,r,n){e!==null?e.applyValueToInputSignal(e,n):t[r]=n}function Sn(){return jh}function jh(t){return t.type.prototype.ngOnChanges&&(t.setInput=OD),RD}Sn.ngInherit=!0;function RD(){let t=Uh(this),e=t?.current;if(e){let r=t.previous;if(r===er)t.previous=e;else for(let n in e)r[n]=e[n];t.current=null,this.ngOnChanges(e)}}function OD(t,e,r,n,o){let i=this.declaredInputs[n],s=Uh(t)||PD(t,{previous:er,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[i];a[i]=new lc(u&&u.currentValue,r,c===er),Lh(t,e,o,r)}var Vh="__ngSimpleChanges__";function Uh(t){return t[Vh]||null}function PD(t,e){return t[Vh]=e}var Df=null;var ut=function(t,e,r){Df?.(t,e,r)},$h="svg",kD="math";function ht(t){for(;Array.isArray(t);)t=t[St];return t}function Bh(t,e){return ht(e[t])}function qe(t,e){return ht(e[t.index])}function fu(t,e){return t.data[e]}function hu(t,e){return t[e]}function Xt(t,e){let r=e[t];return qt(r)?r:r[St]}function FD(t){return(t[T]&4)===4}function pu(t){return(t[T]&128)===128}function LD(t){return Tt(t[ge])}function ir(t,e){return e==null?null:t[e]}function Hh(t){t[Qn]=0}function zh(t){t[T]&1024||(t[T]|=1024,pu(t)&&ps(t))}function jD(t,e){for(;t>0;)e=e[pr],t--;return e}function zr(t){return!!(t[T]&9216||t[Be]?.dirty)}function dc(t){t[ft].changeDetectionScheduler?.notify(7),t[T]&64&&(t[T]|=1024),zr(t)&&ps(t)}function ps(t){t[ft].changeDetectionScheduler?.notify(0);let e=wn(t);for(;e!==null&&!(e[T]&8192||(e[T]|=8192,!pu(e)));)e=wn(e)}function Gh(t,e){if((t[T]&256)===256)throw new w(911,!1);t[Gt]===null&&(t[Gt]=[]),t[Gt].push(e)}function VD(t,e){if(t[Gt]===null)return;let r=t[Gt].indexOf(e);r!==-1&&t[Gt].splice(r,1)}function wn(t){let e=t[ge];return Tt(e)?e[ge]:e}var _={lFrame:ep(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var qh=!1;function UD(){return _.lFrame.elementDepthCount}function $D(){_.lFrame.elementDepthCount++}function BD(){_.lFrame.elementDepthCount--}function Wh(){return _.bindingsEnabled}function Zh(){return _.skipHydrationRootTNode!==null}function HD(t){return _.skipHydrationRootTNode===t}function zD(){_.skipHydrationRootTNode=null}function S(){return _.lFrame.lView}function te(){return _.lFrame.tView}function AP(t){return _.lFrame.contextLView=t,t[He]}function RP(t){return _.lFrame.contextLView=null,t}function pe(){let t=Yh();for(;t!==null&&t.type===64;)t=t.parent;return t}function Yh(){return _.lFrame.currentTNode}function GD(){let t=_.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function Tn(t,e){let r=_.lFrame;r.currentTNode=t,r.isParent=e}function gu(){return _.lFrame.isParent}function mu(){_.lFrame.isParent=!1}function qD(){return _.lFrame.contextLView}function Qh(){return qh}function wf(t){qh=t}function We(){let t=_.lFrame,e=t.bindingRootIndex;return e===-1&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function WD(){return _.lFrame.bindingIndex}function ZD(t){return _.lFrame.bindingIndex=t}function Qr(){return _.lFrame.bindingIndex++}function vu(t){let e=_.lFrame,r=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,r}function YD(){return _.lFrame.inI18n}function QD(t,e){let r=_.lFrame;r.bindingIndex=r.bindingRootIndex=t,fc(e)}function KD(){return _.lFrame.currentDirectiveIndex}function fc(t){_.lFrame.currentDirectiveIndex=t}function JD(t){let e=_.lFrame.currentDirectiveIndex;return e===-1?null:t[e]}function Kh(){return _.lFrame.currentQueryIndex}function yu(t){_.lFrame.currentQueryIndex=t}function XD(t){let e=t[x];return e.type===2?e.declTNode:e.type===1?t[xe]:null}function Jh(t,e,r){if(r&R.SkipSelf){let o=e,i=t;for(;o=o.parent,o===null&&!(r&R.Host);)if(o=XD(i),o===null||(i=i[pr],o.type&10))break;if(o===null)return!1;e=o,t=i}let n=_.lFrame=Xh();return n.currentTNode=e,n.lView=t,!0}function Du(t){let e=Xh(),r=t[x];_.lFrame=e,e.currentTNode=r.firstChild,e.lView=t,e.tView=r,e.contextLView=t,e.bindingIndex=r.bindingStartIndex,e.inI18n=!1}function Xh(){let t=_.lFrame,e=t===null?null:t.child;return e===null?ep(t):e}function ep(t){let e={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return t!==null&&(t.child=e),e}function tp(){let t=_.lFrame;return _.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var np=tp;function wu(){let t=tp();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function ew(t){return(_.lFrame.contextLView=jD(t,_.lFrame.contextLView))[He]}function en(){return _.lFrame.selectedIndex}function En(t){_.lFrame.selectedIndex=t}function Eu(){let t=_.lFrame;return fu(t.tView,t.selectedIndex)}function OP(){_.lFrame.currentNamespace=$h}function tw(){return _.lFrame.currentNamespace}var rp=!0;function gs(){return rp}function ms(t){rp=t}function nw(t,e,r){let{ngOnChanges:n,ngOnInit:o,ngDoCheck:i}=e.type.prototype;if(n){let s=jh(e);(r.preOrderHooks??=[]).push(t,s),(r.preOrderCheckHooks??=[]).push(t,s)}o&&(r.preOrderHooks??=[]).push(0-t,o),i&&((r.preOrderHooks??=[]).push(t,i),(r.preOrderCheckHooks??=[]).push(t,i))}function vs(t,e){for(let r=e.directiveStart,n=e.directiveEnd;r<n;r++){let i=t.data[r].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:u,ngOnDestroy:l}=i;s&&(t.contentHooks??=[]).push(-r,s),a&&((t.contentHooks??=[]).push(r,a),(t.contentCheckHooks??=[]).push(r,a)),c&&(t.viewHooks??=[]).push(-r,c),u&&((t.viewHooks??=[]).push(r,u),(t.viewCheckHooks??=[]).push(r,u)),l!=null&&(t.destroyHooks??=[]).push(r,l)}}function Mi(t,e,r){op(t,e,3,r)}function Si(t,e,r,n){(t[T]&3)===r&&op(t,e,r,n)}function za(t,e){let r=t[T];(r&3)===e&&(r&=16383,r+=1,t[T]=r)}function op(t,e,r,n){let o=n!==void 0?t[Qn]&65535:0,i=n??-1,s=e.length-1,a=0;for(let c=o;c<s;c++)if(typeof e[c+1]=="number"){if(a=e[c],n!=null&&a>=n)break}else e[c]<0&&(t[Qn]+=65536),(a<i||i==-1)&&(rw(t,r,e,c),t[Qn]=(t[Qn]&4294901760)+c+2),c++}function Ef(t,e){ut(4,t,e);let r=F(null);try{e.call(t)}finally{F(r),ut(5,t,e)}}function rw(t,e,r,n){let o=r[n]<0,i=r[n+1],s=o?-r[n]:r[n],a=t[s];o?t[T]>>14<t[Qn]>>16&&(t[T]&3)===e&&(t[T]+=16384,Ef(a,i)):Ef(a,i)}var Xn=-1,In=class{constructor(e,r,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=r,this.injectImpl=n}};function ow(t){return t instanceof In}function iw(t){return(t.flags&8)!==0}function sw(t){return(t.flags&16)!==0}var Ga={},hc=class{constructor(e,r){this.injector=e,this.parentInjector=r}get(e,r,n){n=is(n);let o=this.injector.get(e,Ga,n);return o!==Ga||r===Ga?o:this.parentInjector.get(e,r,n)}};function ip(t){return t!==Xn}function Li(t){return t&32767}function aw(t){return t>>16}function ji(t,e){let r=aw(t),n=e;for(;r>0;)n=n[pr],r--;return n}var pc=!0;function Vi(t){let e=pc;return pc=t,e}var cw=256,sp=cw-1,ap=5,uw=0,lt={};function lw(t,e,r){let n;typeof r=="string"?n=r.charCodeAt(0)||0:r.hasOwnProperty(Lr)&&(n=r[Lr]),n==null&&(n=r[Lr]=uw++);let o=n&sp,i=1<<o;e.data[t+(o>>ap)]|=i}function Ui(t,e){let r=cp(t,e);if(r!==-1)return r;let n=e[x];n.firstCreatePass&&(t.injectorIndex=e.length,qa(n.data,t),qa(e,null),qa(n.blueprint,null));let o=Iu(t,e),i=t.injectorIndex;if(ip(o)){let s=Li(o),a=ji(o,e),c=a[x].data;for(let u=0;u<8;u++)e[i+u]=a[s+u]|c[s+u]}return e[i+8]=o,i}function qa(t,e){t.push(0,0,0,0,0,0,0,0,e)}function cp(t,e){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||e[t.injectorIndex+8]===null?-1:t.injectorIndex}function Iu(t,e){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let r=0,n=null,o=e;for(;o!==null;){if(n=hp(o),n===null)return Xn;if(r++,o=o[pr],n.injectorIndex!==-1)return n.injectorIndex|r<<16}return Xn}function gc(t,e,r){lw(t,e,r)}function dw(t,e){if(e==="class")return t.classes;if(e==="style")return t.styles;let r=t.attrs;if(r){let n=r.length,o=0;for(;o<n;){let i=r[o];if(Dh(i))break;if(i===0)o=o+2;else if(typeof i=="number")for(o++;o<n&&typeof r[o]=="string";)o++;else{if(i===e)return r[o+1];o=o+2}}}return null}function up(t,e,r){if(r&R.Optional||t!==void 0)return t;su(e,"NodeInjector")}function lp(t,e,r,n){if(r&R.Optional&&n===void 0&&(n=null),!(r&(R.Self|R.Host))){let o=t[rr],i=be(void 0);try{return o?o.get(e,n,r&R.Optional):hh(e,n,r&R.Optional)}finally{be(i)}}return up(n,e,r)}function dp(t,e,r,n=R.Default,o){if(t!==null){if(e[T]&2048&&!(n&R.Self)){let s=gw(t,e,r,n,lt);if(s!==lt)return s}let i=fp(t,e,r,n,lt);if(i!==lt)return i}return lp(e,r,n,o)}function fp(t,e,r,n,o){let i=hw(r);if(typeof i=="function"){if(!Jh(e,t,n))return n&R.Host?up(o,r,n):lp(e,r,n,o);try{let s;if(s=i(n),s==null&&!(n&R.Optional))su(r);else return s}finally{np()}}else if(typeof i=="number"){let s=null,a=cp(t,e),c=Xn,u=n&R.Host?e[ze][xe]:null;for((a===-1||n&R.SkipSelf)&&(c=a===-1?Iu(t,e):e[a+8],c===Xn||!Cf(n,!1)?a=-1:(s=e[x],a=Li(c),e=ji(c,e)));a!==-1;){let l=e[x];if(If(i,a,l.data)){let d=fw(a,e,r,s,n,u);if(d!==lt)return d}c=e[a+8],c!==Xn&&Cf(n,e[x].data[a+8]===u)&&If(i,a,e)?(s=l,a=Li(c),e=ji(c,e)):a=-1}}return o}function fw(t,e,r,n,o,i){let s=e[x],a=s.data[t+8],c=n==null?fs(a)&&pc:n!=s&&(a.type&3)!==0,u=o&R.Host&&i===a,l=Ti(a,s,r,c,u);return l!==null?Cn(e,s,l,a):lt}function Ti(t,e,r,n,o){let i=t.providerIndexes,s=e.data,a=i&1048575,c=t.directiveStart,u=t.directiveEnd,l=i>>20,d=n?a:a+l,h=o?a+l:u;for(let f=d;f<h;f++){let p=s[f];if(f<c&&r===p||f>=c&&p.type===r)return f}if(o){let f=s[c];if(f&&Yt(f)&&f.type===r)return c}return null}function Cn(t,e,r,n){let o=t[r],i=e.data;if(ow(o)){let s=o;s.resolving&&By($y(i[r]));let a=Vi(s.canSeeViewProviders);s.resolving=!0;let c,u=s.injectImpl?be(s.injectImpl):null,l=Jh(t,n,R.Default);try{o=t[r]=s.factory(void 0,i,t,n),e.firstCreatePass&&r>=n.directiveStart&&nw(r,i[r],e)}finally{u!==null&&be(u),Vi(a),s.resolving=!1,np()}}return o}function hw(t){if(typeof t=="string")return t.charCodeAt(0)||0;let e=t.hasOwnProperty(Lr)?t[Lr]:void 0;return typeof e=="number"?e>=0?e&sp:pw:e}function If(t,e,r){let n=1<<t;return!!(r[e+(t>>ap)]&n)}function Cf(t,e){return!(t&R.Self)&&!(t&R.Host&&e)}var gn=class{constructor(e,r){this._tNode=e,this._lView=r}get(e,r,n){return dp(this._tNode,this._lView,e,is(n),r)}};function pw(){return new gn(pe(),S())}function Cu(t){return Wr(()=>{let e=t.prototype.constructor,r=e[_i]||mc(e),n=Object.prototype,o=Object.getPrototypeOf(t.prototype).constructor;for(;o&&o!==n;){let i=o[_i]||mc(o);if(i&&i!==r)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function mc(t){return ah(t)?()=>{let e=mc(ye(t));return e&&e()}:vn(t)}function gw(t,e,r,n,o){let i=t,s=e;for(;i!==null&&s!==null&&s[T]&2048&&!(s[T]&512);){let a=fp(i,s,r,n|R.Self,lt);if(a!==lt)return a;let c=i.parent;if(!c){let u=s[kh];if(u){let l=u.get(r,lt,n);if(l!==lt)return l}c=hp(s),s=s[pr]}i=c}return o}function hp(t){let e=t[x],r=e.type;return r===2?e.declTNode:r===1?t[xe]:null}function bu(t){return dw(pe(),t)}function bf(t,e=null,r=null,n){let o=pp(t,e,r,n);return o.resolveInjectorInitializers(),o}function pp(t,e=null,r=null,n,o=new Set){let i=[r||Me,DD(t)];return n=n||(typeof t=="object"?void 0:De(t)),new $r(i,e||lu(),n||null,o)}var pn=class pn{static create(e,r){if(Array.isArray(e))return bf({name:""},r,e,"");{let n=e.name??"";return bf({name:n},e.parent,e.providers,n)}}};pn.THROW_IF_NOT_FOUND=Vr,pn.NULL=new Oi,pn.\u0275prov=I({token:pn,providedIn:"any",factory:()=>C(mh)}),pn.__NG_ELEMENT_ID__=-1;var Re=pn;var mw=new E("");mw.__NG_ELEMENT_ID__=t=>{let e=pe();if(e===null)throw new w(204,!1);if(e.type&2)return e.value;if(t&R.Optional)return null;throw new w(204,!1)};var vw="ngOriginalError";function Wa(t){return t[vw]}var nt=class{constructor(){this._console=console}handleError(e){let r=this._findOriginalError(e);this._console.error("ERROR",e),r&&this._console.error("ORIGINAL ERROR",r)}_findOriginalError(e){let r=e&&Wa(e);for(;r&&Wa(r);)r=Wa(r);return r||null}},gp=new E("",{providedIn:"root",factory:()=>g(nt).handleError.bind(void 0)}),ys=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=yw,e.__NG_ENV_ID__=n=>n;let t=e;return t})(),vc=class extends ys{constructor(e){super(),this._lView=e}onDestroy(e){return Gh(this._lView,e),()=>VD(this._lView,e)}};function yw(){return new vc(S())}function Mf(t,e){return oh(t,e)}function Dw(t){return oh(rh,t)}var PP=(Mf.required=Dw,Mf);function ww(){return gr(pe(),S())}function gr(t,e){return new rt(qe(t,e))}var rt=(()=>{let e=class e{constructor(n){this.nativeElement=n}};e.__NG_ELEMENT_ID__=ww;let t=e;return t})();function Ew(t){return t instanceof rt?t.nativeElement:t}var gt=(()=>{let e=class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new de(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};e.\u0275prov=I({token:e,providedIn:"root",factory:()=>new e});let t=e;return t})();var yc=class extends ne{constructor(e=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=e,Oh()&&(this.destroyRef=g(ys,{optional:!0})??void 0,this.pendingTasks=g(gt,{optional:!0})??void 0)}emit(e){let r=F(null);try{super.next(e)}finally{F(r)}}subscribe(e,r,n){let o=e,i=r||(()=>null),s=n;if(e&&typeof e=="object"){let c=e;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return e instanceof J&&e.add(a),a}wrapInTimeout(e){return r=>{let n=this.pendingTasks?.add();setTimeout(()=>{e(r),n!==void 0&&this.pendingTasks?.remove(n)})}}},fe=yc;function Iw(){return this._results[Symbol.iterator]()}var Dc=class t{get changes(){return this._changes??=new fe}constructor(e=!1){this._emitDistinctChangesOnly=e,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;let r=t.prototype;r[Symbol.iterator]||(r[Symbol.iterator]=Iw)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,r){return this._results.reduce(e,r)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,r){this.dirty=!1;let n=Xy(e);(this._changesDetected=!Jy(this._results,n,r))&&(this._results=n,this.length=n.length,this.last=n[this.length-1],this.first=n[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(e){this._onDirty=e}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}};function mp(t){return(t.flags&128)===128}var vp=new Map,Cw=0;function bw(){return Cw++}function Mw(t){vp.set(t[ds],t)}function Sw(t){vp.delete(t[ds])}var Sf="__ngContext__";function Qt(t,e){qt(e)?(t[Sf]=e[ds],Mw(e)):t[Sf]=e}function yp(t){return wp(t[Hr])}function Dp(t){return wp(t[tt])}function wp(t){for(;t!==null&&!Tt(t);)t=t[tt];return t}var wc;function Ep(t){wc=t}function Ip(){if(wc!==void 0)return wc;if(typeof document<"u")return document;throw new w(210,!1)}var Ds=new E("",{providedIn:"root",factory:()=>Tw}),Tw="ng",Mu=new E(""),mt=new E("",{providedIn:"platform",factory:()=>"unknown"});var kP=new E(""),Su=new E("",{providedIn:"root",factory:()=>Ip().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var xw="h",Nw="b";var _w=()=>null;function Tu(t,e,r=!1){return _w(t,e,r)}var Cp=!1,Aw=new E("",{providedIn:"root",factory:()=>Cp});var vi;function Rw(){if(vi===void 0&&(vi=null,ae.trustedTypes))try{vi=ae.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return vi}function ws(t){return Rw()?.createHTML(t)||t}var yi;function bp(){if(yi===void 0&&(yi=null,ae.trustedTypes))try{yi=ae.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return yi}function Tf(t){return bp()?.createHTML(t)||t}function xf(t){return bp()?.createScriptURL(t)||t}var Ct=class{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${nh})`}},Ec=class extends Ct{getTypeName(){return"HTML"}},Ic=class extends Ct{getTypeName(){return"Style"}},Cc=class extends Ct{getTypeName(){return"Script"}},bc=class extends Ct{getTypeName(){return"URL"}},Mc=class extends Ct{getTypeName(){return"ResourceURL"}};function ke(t){return t instanceof Ct?t.changingThisBreaksApplicationSecurity:t}function xt(t,e){let r=Ow(t);if(r!=null&&r!==e){if(r==="ResourceURL"&&e==="URL")return!0;throw new Error(`Required a safe ${e}, got a ${r} (see ${nh})`)}return r===e}function Ow(t){return t instanceof Ct&&t.getTypeName()||null}function Mp(t){return new Ec(t)}function Sp(t){return new Ic(t)}function Tp(t){return new Cc(t)}function xp(t){return new bc(t)}function Np(t){return new Mc(t)}function Pw(t){let e=new Tc(t);return kw()?new Sc(e):e}var Sc=class{constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){e="<body><remove></remove>"+e;try{let r=new window.DOMParser().parseFromString(ws(e),"text/html").body;return r===null?this.inertDocumentHelper.getInertBodyElement(e):(r.removeChild(r.firstChild),r)}catch{return null}}},Tc=class{constructor(e){this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(e){let r=this.inertDocument.createElement("template");return r.innerHTML=ws(e),r}};function kw(){try{return!!new window.DOMParser().parseFromString(ws(""),"text/html")}catch{return!1}}var Fw=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Es(t){return t=String(t),t.match(Fw)?t:"unsafe:"+t}function Nt(t){let e={};for(let r of t.split(","))e[r]=!0;return e}function Kr(...t){let e={};for(let r of t)for(let n in r)r.hasOwnProperty(n)&&(e[n]=!0);return e}var _p=Nt("area,br,col,hr,img,wbr"),Ap=Nt("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Rp=Nt("rp,rt"),Lw=Kr(Rp,Ap),jw=Kr(Ap,Nt("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")),Vw=Kr(Rp,Nt("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")),Nf=Kr(_p,jw,Vw,Lw),Op=Nt("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Uw=Nt("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"),$w=Nt("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"),Bw=Kr(Op,Uw,$w),Hw=Nt("script,style,template"),xc=class{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(e){let r=e.firstChild,n=!0,o=[];for(;r;){if(r.nodeType===Node.ELEMENT_NODE?n=this.startElement(r):r.nodeType===Node.TEXT_NODE?this.chars(r.nodeValue):this.sanitizedSomething=!0,n&&r.firstChild){o.push(r),r=qw(r);continue}for(;r;){r.nodeType===Node.ELEMENT_NODE&&this.endElement(r);let i=Gw(r);if(i){r=i;break}r=o.pop()}}return this.buf.join("")}startElement(e){let r=_f(e).toLowerCase();if(!Nf.hasOwnProperty(r))return this.sanitizedSomething=!0,!Hw.hasOwnProperty(r);this.buf.push("<"),this.buf.push(r);let n=e.attributes;for(let o=0;o<n.length;o++){let i=n.item(o),s=i.name,a=s.toLowerCase();if(!Bw.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;Op[a]&&(c=Es(c)),this.buf.push(" ",s,'="',Af(c),'"')}return this.buf.push(">"),!0}endElement(e){let r=_f(e).toLowerCase();Nf.hasOwnProperty(r)&&!_p.hasOwnProperty(r)&&(this.buf.push("</"),this.buf.push(r),this.buf.push(">"))}chars(e){this.buf.push(Af(e))}};function zw(t,e){return(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function Gw(t){let e=t.nextSibling;if(e&&t!==e.previousSibling)throw Pp(e);return e}function qw(t){let e=t.firstChild;if(e&&zw(t,e))throw Pp(e);return e}function _f(t){let e=t.nodeName;return typeof e=="string"?e:"FORM"}function Pp(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}var Ww=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Zw=/([^\#-~ |!])/g;function Af(t){return t.replace(/&/g,"&").replace(Ww,function(e){let r=e.charCodeAt(0),n=e.charCodeAt(1);return"&#"+((r-55296)*1024+(n-56320)+65536)+";"}).replace(Zw,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var Di;function xu(t,e){let r=null;try{Di=Di||Pw(t);let n=e?String(e):"";r=Di.getInertBodyElement(n);let o=5,i=n;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,n=i,i=r.innerHTML,r=Di.getInertBodyElement(n)}while(n!==i);let a=new xc().sanitizeChildren(Rf(r)||r);return ws(a)}finally{if(r){let n=Rf(r)||r;for(;n.firstChild;)n.removeChild(n.firstChild)}}}function Rf(t){return"content"in t&&Yw(t)?t.content:null}function Yw(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE"}var ot=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}(ot||{});function FP(t){let e=Nu();return e?Tf(e.sanitize(ot.HTML,t)||""):xt(t,"HTML")?Tf(ke(t)):xu(Ip(),mn(t))}function Qw(t){let e=Nu();return e?e.sanitize(ot.URL,t)||"":xt(t,"URL")?ke(t):Es(mn(t))}function Kw(t){let e=Nu();if(e)return xf(e.sanitize(ot.RESOURCE_URL,t)||"");if(xt(t,"ResourceURL"))return xf(ke(t));throw new w(904,!1)}function Jw(t,e){return e==="src"&&(t==="embed"||t==="frame"||t==="iframe"||t==="media"||t==="script")||e==="href"&&(t==="base"||t==="link")?Kw:Qw}function kp(t,e,r){return Jw(e,r)(t)}function Nu(){let t=S();return t&&t[ft].sanitizer}var Xw=/^>|^->|<!--|-->|--!>|<!-$/g,eE=/(<|>)/g,tE="\u200B$1\u200B";function nE(t){return t.replace(Xw,e=>e.replace(eE,tE))}function LP(t){return t.ownerDocument.defaultView}function jP(t){return t.ownerDocument}function Fp(t){return t instanceof Function?t():t}function rE(t){return(t??g(Re)).get(mt)==="browser"}var pt=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(pt||{}),oE;function _u(t,e){return oE(t,e)}function Kn(t,e,r,n,o){if(n!=null){let i,s=!1;Tt(n)?i=n:qt(n)&&(s=!0,n=n[St]);let a=ht(n);t===0&&r!==null?o==null?$p(e,r,a):Bi(e,r,a,o||null,!0):t===1&&r!==null?Bi(e,r,a,o||null,!0):t===2?DE(e,a,s):t===3&&e.destroyNode(a),i!=null&&EE(e,t,i,r,o)}}function iE(t,e){return t.createText(e)}function sE(t,e,r){t.setValue(e,r)}function aE(t,e){return t.createComment(nE(e))}function Lp(t,e,r){return t.createElement(e,r)}function cE(t,e){jp(t,e),e[St]=null,e[xe]=null}function uE(t,e,r,n,o,i){n[St]=o,n[xe]=e,Cs(t,n,r,1,o,i)}function jp(t,e){e[ft].changeDetectionScheduler?.notify(8),Cs(t,e,e[ee],2,null,null)}function lE(t){let e=t[Hr];if(!e)return Za(t[x],t);for(;e;){let r=null;if(qt(e))r=e[Hr];else{let n=e[Te];n&&(r=n)}if(!r){for(;e&&!e[tt]&&e!==t;)qt(e)&&Za(e[x],e),e=e[ge];e===null&&(e=t),qt(e)&&Za(e[x],e),r=e&&e[tt]}e=r}}function dE(t,e,r,n){let o=Te+n,i=r.length;n>0&&(r[o-1][tt]=e),n<i-Te?(e[tt]=r[o],gh(r,Te+n,e)):(r.push(e),e[tt]=null),e[ge]=r;let s=e[yn];s!==null&&r!==s&&Vp(s,e);let a=e[It];a!==null&&a.insertView(t),dc(e),e[T]|=128}function Vp(t,e){let r=t[or],n=e[ge];if(qt(n))t[T]|=Fi.HasTransplantedViews;else{let o=n[ge][ze];e[ze]!==o&&(t[T]|=Fi.HasTransplantedViews)}r===null?t[or]=[e]:r.push(e)}function Au(t,e){let r=t[or],n=r.indexOf(e);r.splice(n,1)}function $i(t,e){if(t.length<=Te)return;let r=Te+e,n=t[r];if(n){let o=n[yn];o!==null&&o!==t&&Au(o,n),e>0&&(t[r-1][tt]=n[tt]);let i=Ri(t,Te+e);cE(n[x],n);let s=i[It];s!==null&&s.detachView(i[x]),n[ge]=null,n[tt]=null,n[T]&=-129}return n}function Ru(t,e){if(!(e[T]&256)){let r=e[ee];r.destroyNode&&Cs(t,e,r,3,null,null),lE(e)}}function Za(t,e){if(e[T]&256)return;let r=F(null);try{e[T]&=-129,e[T]|=256,e[Be]&&Uo(e[Be]),hE(t,e),fE(t,e),e[x].type===1&&e[ee].destroy();let n=e[yn];if(n!==null&&Tt(e[ge])){n!==e[ge]&&Au(n,e);let o=e[It];o!==null&&o.detachView(t)}Sw(e)}finally{F(r)}}function fE(t,e){let r=t.cleanup,n=e[Pi];if(r!==null)for(let i=0;i<r.length-1;i+=2)if(typeof r[i]=="string"){let s=r[i+3];s>=0?n[s]():n[-s].unsubscribe(),i+=2}else{let s=n[r[i+1]];r[i].call(s)}n!==null&&(e[Pi]=null);let o=e[Gt];if(o!==null){e[Gt]=null;for(let i=0;i<o.length;i++){let s=o[i];s()}}}function hE(t,e){let r;if(t!=null&&(r=t.destroyHooks)!=null)for(let n=0;n<r.length;n+=2){let o=e[r[n]];if(!(o instanceof In)){let i=r[n+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],c=i[s+1];ut(4,a,c);try{c.call(a)}finally{ut(5,a,c)}}else{ut(4,o,i);try{i.call(o)}finally{ut(5,o,i)}}}}}function Up(t,e,r){return pE(t,e.parent,r)}function pE(t,e,r){let n=e;for(;n!==null&&n.type&168;)e=n,n=e.parent;if(n===null)return r[St];{let{componentOffset:o}=n;if(o>-1){let{encapsulation:i}=t.data[n.directiveStart+o];if(i===dt.None||i===dt.Emulated)return null}return qe(n,r)}}function Bi(t,e,r,n,o){t.insertBefore(e,r,n,o)}function $p(t,e,r){t.appendChild(e,r)}function Of(t,e,r,n,o){n!==null?Bi(t,e,r,n,o):$p(t,e,r)}function gE(t,e,r,n){t.removeChild(e,r,n)}function Ou(t,e){return t.parentNode(e)}function mE(t,e){return t.nextSibling(e)}function Bp(t,e,r){return yE(t,e,r)}function vE(t,e,r){return t.type&40?qe(t,r):null}var yE=vE,Pf;function Is(t,e,r,n){let o=Up(t,n,e),i=e[ee],s=n.parent||e[xe],a=Bp(s,n,e);if(o!=null)if(Array.isArray(r))for(let c=0;c<r.length;c++)Of(i,o,r[c],a,!1);else Of(i,o,r,a,!1);Pf!==void 0&&Pf(i,n,e,r,o)}function xi(t,e){if(e!==null){let r=e.type;if(r&3)return qe(e,t);if(r&4)return Nc(-1,t[e.index]);if(r&8){let n=e.child;if(n!==null)return xi(t,n);{let o=t[e.index];return Tt(o)?Nc(-1,o):ht(o)}}else{if(r&32)return _u(e,t)()||ht(t[e.index]);{let n=Hp(t,e);if(n!==null){if(Array.isArray(n))return n[0];let o=wn(t[ze]);return xi(o,n)}else return xi(t,e.next)}}}return null}function Hp(t,e){if(e!==null){let n=t[ze][xe],o=e.projection;return n.projection[o]}return null}function Nc(t,e){let r=Te+t+1;if(r<e.length){let n=e[r],o=n[x].firstChild;if(o!==null)return xi(n,o)}return e[Dn]}function DE(t,e,r){let n=Ou(t,e);n&&gE(t,n,e,r)}function Pu(t,e,r,n,o,i,s){for(;r!=null;){if(r.type===128){r=r.next;continue}let a=n[r.index],c=r.type;if(s&&e===0&&(a&&Qt(ht(a),n),r.flags|=2),(r.flags&32)!==32)if(c&8)Pu(t,e,r.child,n,o,i,!1),Kn(e,t,o,a,i);else if(c&32){let u=_u(r,n),l;for(;l=u();)Kn(e,t,o,l,i);Kn(e,t,o,a,i)}else c&16?zp(t,e,n,r,o,i):Kn(e,t,o,a,i);r=s?r.projectionNext:r.next}}function Cs(t,e,r,n,o,i){Pu(r,n,t.firstChild,e,o,i,!1)}function wE(t,e,r){let n=e[ee],o=Up(t,r,e),i=r.parent||e[xe],s=Bp(i,r,e);zp(n,0,e,r,o,s)}function zp(t,e,r,n,o,i){let s=r[ze],c=s[xe].projection[n.projection];if(Array.isArray(c))for(let u=0;u<c.length;u++){let l=c[u];Kn(e,t,o,l,i)}else{let u=c,l=s[ge];mp(n)&&(u.flags|=128),Pu(t,e,u,l,o,i,!0)}}function EE(t,e,r,n,o){let i=r[Dn],s=ht(r);i!==s&&Kn(e,t,n,i,o);for(let a=Te;a<r.length;a++){let c=r[a];Cs(c[x],c,t,e,n,i)}}function IE(t,e,r,n,o){if(e)o?t.addClass(r,n):t.removeClass(r,n);else{let i=n.indexOf("-")===-1?void 0:pt.DashCase;o==null?t.removeStyle(r,n,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=pt.Important),t.setStyle(r,n,o,i))}}function CE(t,e,r){t.setAttribute(e,"style",r)}function Gp(t,e,r){r===""?t.removeAttribute(e,"class"):t.setAttribute(e,"class",r)}function qp(t,e,r){let{mergedAttrs:n,classes:o,styles:i}=r;n!==null&&ic(t,e,n),o!==null&&Gp(t,e,o),i!==null&&CE(t,e,i)}var Fe={};function VP(t=1){Wp(te(),S(),en()+t,!1)}function Wp(t,e,r,n){if(!n)if((e[T]&3)===3){let i=t.preOrderCheckHooks;i!==null&&Mi(e,i,r)}else{let i=t.preOrderHooks;i!==null&&Si(e,i,0,r)}En(r)}function L(t,e=R.Default){let r=S();if(r===null)return C(t,e);let n=pe();return dp(n,r,ye(t),e)}function Zp(){let t="invalid";throw new Error(t)}function Yp(t,e,r,n,o,i){let s=F(null);try{let a=null;o&Wt.SignalBased&&(a=e[n][Qe]),a!==null&&a.transformFn!==void 0&&(i=a.transformFn(i)),o&Wt.HasDecoratorInputTransform&&(i=t.inputTransforms[n].call(e,i)),t.setInput!==null?t.setInput(e,a,i,r,n):Lh(e,a,n,i)}finally{F(s)}}function bE(t,e){let r=t.hostBindingOpCodes;if(r!==null)try{for(let n=0;n<r.length;n++){let o=r[n];if(o<0)En(~o);else{let i=o,s=r[++n],a=r[++n];QD(s,i);let c=e[i];a(2,c)}}}finally{En(-1)}}function bs(t,e,r,n,o,i,s,a,c,u,l){let d=e.blueprint.slice();return d[St]=o,d[T]=n|4|128|8|64,(u!==null||t&&t[T]&2048)&&(d[T]|=2048),Hh(d),d[ge]=d[pr]=t,d[He]=r,d[ft]=s||t&&t[ft],d[ee]=a||t&&t[ee],d[rr]=c||t&&t[rr]||null,d[xe]=i,d[ds]=bw(),d[Br]=l,d[kh]=u,d[ze]=e.type==2?t[ze]:d,d}function mr(t,e,r,n,o){let i=t.data[e];if(i===null)i=ME(t,e,r,n,o),YD()&&(i.flags|=32);else if(i.type&64){i.type=r,i.value=n,i.attrs=o;let s=GD();i.injectorIndex=s===null?-1:s.injectorIndex}return Tn(i,!0),i}function ME(t,e,r,n,o){let i=Yh(),s=gu(),a=s?i:i&&i.parent,c=t.data[e]=AE(t,a,r,e,n,o);return t.firstChild===null&&(t.firstChild=c),i!==null&&(s?i.child==null&&c.parent!==null&&(i.child=c):i.next===null&&(i.next=c,c.prev=i)),c}function Qp(t,e,r,n){if(r===0)return-1;let o=e.length;for(let i=0;i<r;i++)e.push(n),t.blueprint.push(n),t.data.push(null);return o}function Kp(t,e,r,n,o){let i=en(),s=n&2;try{En(-1),s&&e.length>he&&Wp(t,e,he,!1),ut(s?2:0,o),r(n,o)}finally{En(i),ut(s?3:1,o)}}function ku(t,e,r){if(du(e)){let n=F(null);try{let o=e.directiveStart,i=e.directiveEnd;for(let s=o;s<i;s++){let a=t.data[s];if(a.contentQueries){let c=r[s];a.contentQueries(1,c,s)}}}finally{F(n)}}}function Fu(t,e,r){Wh()&&(LE(t,e,r,qe(r,e)),(r.flags&64)===64&&tg(t,e,r))}function Lu(t,e,r=qe){let n=e.localNames;if(n!==null){let o=e.index+1;for(let i=0;i<n.length;i+=2){let s=n[i+1],a=s===-1?r(e,t):t[s];t[o++]=a}}}function Jp(t){let e=t.tView;return e===null||e.incompleteFirstPass?t.tView=ju(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts,t.id):e}function ju(t,e,r,n,o,i,s,a,c,u,l){let d=he+n,h=d+o,f=SE(d,h),p=typeof u=="function"?u():u;return f[x]={type:t,blueprint:f,template:r,queries:null,viewQuery:a,declTNode:e,data:f.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:h,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:p,incompleteFirstPass:!1,ssrId:l}}function SE(t,e){let r=[];for(let n=0;n<e;n++)r.push(n<t?null:Fe);return r}function TE(t,e,r,n){let i=n.get(Aw,Cp)||r===dt.ShadowDom,s=t.selectRootElement(e,i);return xE(s),s}function xE(t){NE(t)}var NE=()=>null;function _E(t,e,r,n){let o=og(e);o.push(r),t.firstCreatePass&&ig(t).push(n,o.length-1)}function AE(t,e,r,n,o,i){let s=e?e.injectorIndex:-1,a=0;return Zh()&&(a|=128),{type:r,index:n,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function kf(t,e,r,n,o){for(let i in e){if(!e.hasOwnProperty(i))continue;let s=e[i];if(s===void 0)continue;n??={};let a,c=Wt.None;Array.isArray(s)?(a=s[0],c=s[1]):a=s;let u=i;if(o!==null){if(!o.hasOwnProperty(i))continue;u=o[i]}t===0?Ff(n,r,u,a,c):Ff(n,r,u,a)}return n}function Ff(t,e,r,n,o){let i;t.hasOwnProperty(r)?(i=t[r]).push(e,n):i=t[r]=[e,n],o!==void 0&&i.push(o)}function RE(t,e,r){let n=e.directiveStart,o=e.directiveEnd,i=t.data,s=e.attrs,a=[],c=null,u=null;for(let l=n;l<o;l++){let d=i[l],h=r?r.get(d):null,f=h?h.inputs:null,p=h?h.outputs:null;c=kf(0,d.inputs,l,c,f),u=kf(1,d.outputs,l,u,p);let D=c!==null&&s!==null&&!cu(e)?ZE(c,l,s):null;a.push(D)}c!==null&&(c.hasOwnProperty("class")&&(e.flags|=8),c.hasOwnProperty("style")&&(e.flags|=16)),e.initialInputs=a,e.inputs=c,e.outputs=u}function OE(t){return t==="class"?"className":t==="for"?"htmlFor":t==="formaction"?"formAction":t==="innerHtml"?"innerHTML":t==="readonly"?"readOnly":t==="tabindex"?"tabIndex":t}function Xp(t,e,r,n,o,i,s,a){let c=qe(e,r),u=e.inputs,l;!a&&u!=null&&(l=u[n])?(Uu(t,r,l,n,o),fs(e)&&PE(r,e.index)):e.type&3?(n=OE(n),o=s!=null?s(o,e.value||"",n):o,i.setProperty(c,n,o)):e.type&12}function PE(t,e){let r=Xt(e,t);r[T]&16||(r[T]|=64)}function Vu(t,e,r,n){if(Wh()){let o=n===null?null:{"":-1},i=VE(t,r),s,a;i===null?s=a=null:[s,a]=i,s!==null&&eg(t,e,r,s,o,a),o&&UE(r,n,o)}r.mergedAttrs=Ur(r.mergedAttrs,r.attrs)}function eg(t,e,r,n,o,i){for(let u=0;u<n.length;u++)gc(Ui(r,e),t,n[u].type);BE(r,t.data.length,n.length);for(let u=0;u<n.length;u++){let l=n[u];l.providersResolver&&l.providersResolver(l)}let s=!1,a=!1,c=Qp(t,e,n.length,null);for(let u=0;u<n.length;u++){let l=n[u];r.mergedAttrs=Ur(r.mergedAttrs,l.hostAttrs),HE(t,r,e,c,l),$E(c,l,o),l.contentQueries!==null&&(r.flags|=4),(l.hostBindings!==null||l.hostAttrs!==null||l.hostVars!==0)&&(r.flags|=64);let d=l.type.prototype;!s&&(d.ngOnChanges||d.ngOnInit||d.ngDoCheck)&&((t.preOrderHooks??=[]).push(r.index),s=!0),!a&&(d.ngOnChanges||d.ngDoCheck)&&((t.preOrderCheckHooks??=[]).push(r.index),a=!0),c++}RE(t,r,i)}function kE(t,e,r,n,o){let i=o.hostBindings;if(i){let s=t.hostBindingOpCodes;s===null&&(s=t.hostBindingOpCodes=[]);let a=~e.index;FE(s)!=a&&s.push(a),s.push(r,n,i)}}function FE(t){let e=t.length;for(;e>0;){let r=t[--e];if(typeof r=="number"&&r<0)return r}return 0}function LE(t,e,r,n){let o=r.directiveStart,i=r.directiveEnd;fs(r)&&zE(e,r,t.data[o+r.componentOffset]),t.firstCreatePass||Ui(r,e),Qt(n,e);let s=r.initialInputs;for(let a=o;a<i;a++){let c=t.data[a],u=Cn(e,t,a,r);if(Qt(u,e),s!==null&&WE(e,a-o,u,c,r,s),Yt(c)){let l=Xt(r.index,e);l[He]=Cn(e,t,a,r)}}}function tg(t,e,r){let n=r.directiveStart,o=r.directiveEnd,i=r.index,s=KD();try{En(i);for(let a=n;a<o;a++){let c=t.data[a],u=e[a];fc(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&jE(c,u)}}finally{En(-1),fc(s)}}function jE(t,e){t.hostBindings!==null&&t.hostBindings(1,e)}function VE(t,e){let r=t.directiveRegistry,n=null,o=null;if(r)for(let i=0;i<r.length;i++){let s=r[i];if(Eh(e,s.selectors,!1))if(n||(n=[]),Yt(s))if(s.findHostDirectiveDefs!==null){let a=[];o=o||new Map,s.findHostDirectiveDefs(s,a,o),n.unshift(...a,s);let c=a.length;_c(t,e,c)}else n.unshift(s),_c(t,e,0);else o=o||new Map,s.findHostDirectiveDefs?.(s,n,o),n.push(s)}return n===null?null:[n,o]}function _c(t,e,r){e.componentOffset=r,(t.components??=[]).push(e.index)}function UE(t,e,r){if(e){let n=t.localNames=[];for(let o=0;o<e.length;o+=2){let i=r[e[o+1]];if(i==null)throw new w(-301,!1);n.push(e[o],i)}}}function $E(t,e,r){if(r){if(e.exportAs)for(let n=0;n<e.exportAs.length;n++)r[e.exportAs[n]]=t;Yt(e)&&(r[""]=t)}}function BE(t,e,r){t.flags|=1,t.directiveStart=e,t.directiveEnd=e+r,t.providerIndexes=e}function HE(t,e,r,n,o){t.data[n]=o;let i=o.factory||(o.factory=vn(o.type,!0)),s=new In(i,Yt(o),L);t.blueprint[n]=s,r[n]=s,kE(t,e,n,Qp(t,r,o.hostVars,Fe),o)}function zE(t,e,r){let n=qe(e,t),o=Jp(r),i=t[ft].rendererFactory,s=16;r.signals?s=4096:r.onPush&&(s=64);let a=Ms(t,bs(t,o,null,s,n,e,null,i.createRenderer(n,r),null,null,null));t[e.index]=a}function GE(t,e,r,n,o,i){let s=qe(t,e);qE(e[ee],s,i,t.value,r,n,o)}function qE(t,e,r,n,o,i,s){if(i==null)t.removeAttribute(e,o,r);else{let a=s==null?mn(i):s(i,n||"",o);t.setAttribute(e,o,a,r)}}function WE(t,e,r,n,o,i){let s=i[e];if(s!==null)for(let a=0;a<s.length;){let c=s[a++],u=s[a++],l=s[a++],d=s[a++];Yp(n,r,c,u,l,d)}}function ZE(t,e,r){let n=null,o=0;for(;o<r.length;){let i=r[o];if(i===0){o+=4;continue}else if(i===5){o+=2;continue}if(typeof i=="number")break;if(t.hasOwnProperty(i)){n===null&&(n=[]);let s=t[i];for(let a=0;a<s.length;a+=3)if(s[a]===e){n.push(i,s[a+1],s[a+2],r[o+1]);break}}o+=2}return n}function ng(t,e,r,n){return[t,!0,0,e,null,n,null,r,null,null]}function rg(t,e){let r=t.contentQueries;if(r!==null){let n=F(null);try{for(let o=0;o<r.length;o+=2){let i=r[o],s=r[o+1];if(s!==-1){let a=t.data[s];yu(i),a.contentQueries(2,e[s],s)}}}finally{F(n)}}}function Ms(t,e){return t[Hr]?t[yf][tt]=e:t[Hr]=e,t[yf]=e,e}function Ac(t,e,r){yu(0);let n=F(null);try{e(t,r)}finally{F(n)}}function og(t){return t[Pi]??=[]}function ig(t){return t.cleanup??=[]}function sg(t,e){let r=t[rr],n=r?r.get(nt,null):null;n&&n.handleError(e)}function Uu(t,e,r,n,o){for(let i=0;i<r.length;){let s=r[i++],a=r[i++],c=r[i++],u=e[s],l=t.data[s];Yp(l,u,n,a,c,o)}}function ag(t,e,r){let n=Bh(e,t);sE(t[ee],n,r)}function YE(t,e){let r=Xt(e,t),n=r[x];QE(n,r);let o=r[St];o!==null&&r[Br]===null&&(r[Br]=Tu(o,r[rr])),$u(n,r,r[He])}function QE(t,e){for(let r=e.length;r<t.blueprint.length;r++)e.push(t.blueprint[r])}function $u(t,e,r){Du(e);try{let n=t.viewQuery;n!==null&&Ac(1,n,r);let o=t.template;o!==null&&Kp(t,e,o,1,r),t.firstCreatePass&&(t.firstCreatePass=!1),e[It]?.finishViewCreation(t),t.staticContentQueries&&rg(t,e),t.staticViewQueries&&Ac(2,t.viewQuery,r);let i=t.components;i!==null&&KE(e,i)}catch(n){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),n}finally{e[T]&=-5,wu()}}function KE(t,e){for(let r=0;r<e.length;r++)YE(t,e[r])}function Bu(t,e,r,n){let o=F(null);try{let i=e.tView,a=t[T]&4096?4096:16,c=bs(t,i,r,a,null,e,null,null,n?.injector??null,n?.embeddedViewInjector??null,n?.dehydratedView??null),u=t[e.index];c[yn]=u;let l=t[It];return l!==null&&(c[It]=l.createEmbeddedView(i)),$u(i,c,r),c}finally{F(o)}}function JE(t,e){let r=Te+e;if(r<t.length)return t[r]}function Hi(t,e){return!e||e.firstChild===null||mp(t)}function Hu(t,e,r,n=!0){let o=e[x];if(dE(o,e,t,r),n){let s=Nc(r,t),a=e[ee],c=Ou(a,t[Dn]);c!==null&&uE(o,t[xe],a,e,c,s)}let i=e[Br];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function XE(t,e){let r=$i(t,e);return r!==void 0&&Ru(r[x],r),r}function zi(t,e,r,n,o=!1){for(;r!==null;){if(r.type===128){r=o?r.projectionNext:r.next;continue}let i=e[r.index];i!==null&&n.push(ht(i)),Tt(i)&&eI(i,n);let s=r.type;if(s&8)zi(t,e,r.child,n);else if(s&32){let a=_u(r,e),c;for(;c=a();)n.push(c)}else if(s&16){let a=Hp(e,r);if(Array.isArray(a))n.push(...a);else{let c=wn(e[ze]);zi(c[x],c,a,n,!0)}}r=o?r.projectionNext:r.next}return n}function eI(t,e){for(let r=Te;r<t.length;r++){let n=t[r],o=n[x].firstChild;o!==null&&zi(n[x],n,o,e)}t[Dn]!==t[St]&&e.push(t[Dn])}var cg=[];function tI(t){return t[Be]??nI(t)}function nI(t){let e=cg.pop()??Object.create(oI);return e.lView=t,e}function rI(t){t.lView[Be]!==t&&(t.lView=null,cg.push(t))}var oI=Z(y({},Fn),{consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{ps(t.lView)},consumerOnSignalRead(){this.lView[Be]=this}});function iI(t){let e=t[Be]??Object.create(sI);return e.lView=t,e}var sI=Z(y({},Fn),{consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{let e=wn(t.lView);for(;e&&!ug(e[x]);)e=wn(e);e&&zh(e)},consumerOnSignalRead(){this.lView[Be]=this}});function ug(t){return t.type!==2}var aI=100;function lg(t,e=!0,r=0){let n=t[ft],o=n.rendererFactory,i=!1;i||o.begin?.();try{cI(t,r)}catch(s){throw e&&sg(t,s),s}finally{i||(o.end?.(),n.inlineEffectRunner?.flush())}}function cI(t,e){let r=Qh();try{wf(!0),Rc(t,e);let n=0;for(;zr(t);){if(n===aI)throw new w(103,!1);n++,Rc(t,1)}}finally{wf(r)}}function uI(t,e,r,n){let o=e[T];if((o&256)===256)return;let i=!1,s=!1;!i&&e[ft].inlineEffectRunner?.flush(),Du(e);let a=!0,c=null,u=null;i||(ug(t)?(u=tI(e),c=Rr(u)):Dd()===null?(a=!1,u=iI(e),c=Rr(u)):e[Be]&&(Uo(e[Be]),e[Be]=null));try{Hh(e),ZD(t.bindingStartIndex),r!==null&&Kp(t,e,r,2,n);let l=(o&3)===3;if(!i)if(l){let f=t.preOrderCheckHooks;f!==null&&Mi(e,f,null)}else{let f=t.preOrderHooks;f!==null&&Si(e,f,0,null),za(e,0)}if(s||lI(e),dg(e,0),t.contentQueries!==null&&rg(t,e),!i)if(l){let f=t.contentCheckHooks;f!==null&&Mi(e,f)}else{let f=t.contentHooks;f!==null&&Si(e,f,1),za(e,1)}bE(t,e);let d=t.components;d!==null&&hg(e,d,0);let h=t.viewQuery;if(h!==null&&Ac(2,h,n),!i)if(l){let f=t.viewCheckHooks;f!==null&&Mi(e,f)}else{let f=t.viewHooks;f!==null&&Si(e,f,2),za(e,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),e[bi]){for(let f of e[bi])f();e[bi]=null}i||(e[T]&=-73)}catch(l){throw i||ps(e),l}finally{u!==null&&(jo(u,c),a&&rI(u)),wu()}}function dg(t,e){for(let r=yp(t);r!==null;r=Dp(r))for(let n=Te;n<r.length;n++){let o=r[n];fg(o,e)}}function lI(t){for(let e=yp(t);e!==null;e=Dp(e)){if(!(e[T]&Fi.HasTransplantedViews))continue;let r=e[or];for(let n=0;n<r.length;n++){let o=r[n];zh(o)}}}function dI(t,e,r){let n=Xt(e,t);fg(n,r)}function fg(t,e){pu(t)&&Rc(t,e)}function Rc(t,e){let n=t[x],o=t[T],i=t[Be],s=!!(e===0&&o&16);if(s||=!!(o&64&&e===0),s||=!!(o&1024),s||=!!(i?.dirty&&Vo(i)),s||=!1,i&&(i.dirty=!1),t[T]&=-9217,s)uI(n,t,n.template,t[He]);else if(o&8192){dg(t,1);let a=n.components;a!==null&&hg(t,a,1)}}function hg(t,e,r){for(let n=0;n<e.length;n++)dI(t,e[n],r)}function zu(t,e){let r=Qh()?64:1088;for(t[ft].changeDetectionScheduler?.notify(e);t;){t[T]|=r;let n=wn(t);if(uc(t)&&!n)return t;t=n}return null}var bn=class{get rootNodes(){let e=this._lView,r=e[x];return zi(r,e,r.firstChild,[])}constructor(e,r,n=!0){this._lView=e,this._cdRefInjectingView=r,this.notifyErrorHandler=n,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[He]}set context(e){this._lView[He]=e}get destroyed(){return(this._lView[T]&256)===256}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let e=this._lView[ge];if(Tt(e)){let r=e[ki],n=r?r.indexOf(this):-1;n>-1&&($i(e,n),Ri(r,n))}this._attachedToViewContainer=!1}Ru(this._lView[x],this._lView)}onDestroy(e){Gh(this._lView,e)}markForCheck(){zu(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[T]&=-129}reattach(){dc(this._lView),this._lView[T]|=128}detectChanges(){this._lView[T]|=1024,lg(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new w(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let e=uc(this._lView),r=this._lView[yn];r!==null&&!e&&Au(r,this._lView),jp(this._lView[x],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new w(902,!1);this._appRef=e;let r=uc(this._lView),n=this._lView[yn];n!==null&&!r&&Vp(n,this._lView),dc(this._lView)}},Kt=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=pI;let t=e;return t})(),fI=Kt,hI=class extends fI{constructor(e,r,n){super(),this._declarationLView=e,this._declarationTContainer=r,this.elementRef=n}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,r){return this.createEmbeddedViewImpl(e,r)}createEmbeddedViewImpl(e,r,n){let o=Bu(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:r,dehydratedView:n});return new bn(o)}};function pI(){return Ss(pe(),S())}function Ss(t,e){return t.type&4?new hI(e,t,gr(t,e)):null}var $P=new RegExp(`^(\\d+)*(${Nw}|${xw})*(.*)`);var gI=()=>null;function Gi(t,e){return gI(t,e)}var sr=class{},pg=new E("",{providedIn:"root",factory:()=>!1});var gg=new E(""),Oc=class{},qi=class{};function mI(t){let e=Error(`No component factory found for ${De(t)}.`);return e[vI]=t,e}var vI="ngComponent";var Pc=class{resolveComponentFactory(e){throw mI(e)}},il=class il{};il.NULL=new Pc;var ar=il,cr=class{},xn=(()=>{let e=class e{constructor(){this.destroyNode=null}};e.__NG_ELEMENT_ID__=()=>yI();let t=e;return t})();function yI(){let t=S(),e=pe(),r=Xt(e.index,t);return(qt(r)?r:t)[ee]}var DI=(()=>{let e=class e{};e.\u0275prov=I({token:e,providedIn:"root",factory:()=>null});let t=e;return t})();var Lf=new Set;function tn(t){Lf.has(t)||(Lf.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}function mg(t){let e=!0;return setTimeout(()=>{e&&(e=!1,t())}),typeof ae.requestAnimationFrame=="function"&&ae.requestAnimationFrame(()=>{e&&(e=!1,t())}),()=>{e=!1}}function jf(t){let e=!0;return queueMicrotask(()=>{e&&t()}),()=>{e=!1}}function Vf(...t){}var z=class t{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new fe(!1),this.onMicrotaskEmpty=new fe(!1),this.onStable=new fe(!1),this.onError=new fe(!1),typeof Zone>"u")throw new w(908,!1);Zone.assertZonePatched();let o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!n&&r,o.shouldCoalesceRunChangeDetection=n,o.callbackScheduled=!1,II(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new w(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new w(909,!1)}run(e,r,n){return this._inner.run(e,r,n)}runTask(e,r,n,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,e,wI,Vf,Vf);try{return i.runTask(s,r,n)}finally{i.cancelTask(s)}}runGuarded(e,r,n){return this._inner.runGuarded(e,r,n)}runOutsideAngular(e){return this._outer.run(e)}},wI={};function Gu(t){if(t._nesting==0&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function EI(t){t.isCheckStableRunning||t.callbackScheduled||(t.callbackScheduled=!0,Zone.root.run(()=>{mg(()=>{t.callbackScheduled=!1,kc(t),t.isCheckStableRunning=!0,Gu(t),t.isCheckStableRunning=!1})}),kc(t))}function II(t){let e=()=>{EI(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(r,n,o,i,s,a)=>{if(CI(a))return r.invokeTask(o,i,s,a);try{return Uf(t),r.invokeTask(o,i,s,a)}finally{(t.shouldCoalesceEventChangeDetection&&i.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&e(),$f(t)}},onInvoke:(r,n,o,i,s,a,c)=>{try{return Uf(t),r.invoke(o,i,s,a,c)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!bI(a)&&e(),$f(t)}},onHasTask:(r,n,o,i)=>{r.hasTask(o,i),n===o&&(i.change=="microTask"?(t._hasPendingMicrotasks=i.microTask,kc(t),Gu(t)):i.change=="macroTask"&&(t.hasPendingMacrotasks=i.macroTask))},onHandleError:(r,n,o,i)=>(r.handleError(o,i),t.runOutsideAngular(()=>t.onError.emit(i)),!1)})}function kc(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.callbackScheduled===!0?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function Uf(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function $f(t){t._nesting--,Gu(t)}var Wi=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new fe,this.onMicrotaskEmpty=new fe,this.onStable=new fe,this.onError=new fe}run(e,r,n){return e.apply(r,n)}runGuarded(e,r,n){return e.apply(r,n)}runOutsideAngular(e){return e()}runTask(e,r,n,o){return e.apply(r,n)}};function CI(t){return vg(t,"__ignore_ng_zone__")}function bI(t){return vg(t,"__scheduler_tick__")}function vg(t,e){return!Array.isArray(t)||t.length!==1?!1:t[0]?.data?.[e]===!0}function MI(t="zone.js",e){return t==="noop"?new Wi:t==="zone.js"?new z(e):t}var Se=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(Se||{}),SI={destroy(){}};function qu(t,e){!e&&Ph(qu);let r=e?.injector??g(Re);return rE(r)?(tn("NgAfterNextRender"),xI(t,r,!0,e?.phase??Se.MixedReadWrite)):SI}function TI(t,e){if(t instanceof Function)switch(e){case Se.EarlyRead:return{earlyRead:t};case Se.Write:return{write:t};case Se.MixedReadWrite:return{mixedReadWrite:t};case Se.Read:return{read:t}}return t}function xI(t,e,r,n){let o=TI(t,n),i=e.get(Wu),s=i.handler??=new Lc,a=[],c=[],u=()=>{for(let f of c)s.unregister(f);l()},l=e.get(ys).onDestroy(u),d=0,h=(f,p)=>{if(!p)return;let D=r?(...v)=>(d--,d<1&&u(),p(...v)):p,m=Pe(e,()=>new Fc(f,a,D));s.register(m),c.push(m),d++};return h(Se.EarlyRead,o.earlyRead),h(Se.Write,o.write),h(Se.MixedReadWrite,o.mixedReadWrite),h(Se.Read,o.read),{destroy:u}}var Fc=class{constructor(e,r,n){this.phase=e,this.pipelinedArgs=r,this.callbackFn=n,this.zone=g(z),this.errorHandler=g(nt,{optional:!0}),g(sr,{optional:!0})?.notify(6)}invoke(){try{let e=this.zone.runOutsideAngular(()=>this.callbackFn.apply(null,this.pipelinedArgs));this.pipelinedArgs.splice(0,this.pipelinedArgs.length,e)}catch(e){this.errorHandler?.handleError(e)}}},Lc=class{constructor(){this.executingCallbacks=!1,this.buckets={[Se.EarlyRead]:new Set,[Se.Write]:new Set,[Se.MixedReadWrite]:new Set,[Se.Read]:new Set},this.deferredCallbacks=new Set}register(e){(this.executingCallbacks?this.deferredCallbacks:this.buckets[e.phase]).add(e)}unregister(e){this.buckets[e.phase].delete(e),this.deferredCallbacks.delete(e)}execute(){this.executingCallbacks=!0;for(let e of Object.values(this.buckets))for(let r of e)r.invoke();this.executingCallbacks=!1;for(let e of this.deferredCallbacks)this.buckets[e.phase].add(e);this.deferredCallbacks.clear()}destroy(){for(let e of Object.values(this.buckets))e.clear();this.deferredCallbacks.clear()}},Wu=(()=>{let e=class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){let n=[...this.internalCallbacks];this.internalCallbacks.length=0;for(let o of n)o()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};e.\u0275prov=I({token:e,providedIn:"root",factory:()=>new e});let t=e;return t})();function Zi(t,e,r){let n=r?t.styles:null,o=r?t.classes:null,i=0;if(e!==null)for(let s=0;s<e.length;s++){let a=e[s];if(typeof a=="number")i=a;else if(i==1)o=tc(o,a);else if(i==2){let c=a,u=e[++s];n=tc(n,c+": "+u+";")}}r?t.styles=n:t.stylesWithoutHost=n,r?t.classes=o:t.classesWithoutHost=o}var Yi=class extends ar{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){let r=Zt(e);return new ur(r,this.ngModule)}};function Bf(t,e){let r=[];for(let n in t){if(!t.hasOwnProperty(n))continue;let o=t[n];if(o===void 0)continue;let i=Array.isArray(o),s=i?o[0]:o,a=i?o[1]:Wt.None;e?r.push({propName:s,templateName:n,isSignal:(a&Wt.SignalBased)!==0}):r.push({propName:s,templateName:n})}return r}function NI(t){let e=t.toLowerCase();return e==="svg"?$h:e==="math"?kD:null}var ur=class extends qi{get inputs(){let e=this.componentDef,r=e.inputTransforms,n=Bf(e.inputs,!0);if(r!==null)for(let o of n)r.hasOwnProperty(o.propName)&&(o.transform=r[o.propName]);return n}get outputs(){return Bf(this.componentDef.outputs,!1)}constructor(e,r){super(),this.componentDef=e,this.ngModule=r,this.componentType=e.type,this.selector=pD(e.selectors),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!r}create(e,r,n,o){let i=F(null);try{o=o||this.ngModule;let s=o instanceof we?o:o?.injector;s&&this.componentDef.getStandaloneInjector!==null&&(s=this.componentDef.getStandaloneInjector(s)||s);let a=s?new hc(e,s):e,c=a.get(cr,null);if(c===null)throw new w(407,!1);let u=a.get(DI,null),l=a.get(Wu,null),d=a.get(sr,null),h={rendererFactory:c,sanitizer:u,inlineEffectRunner:null,afterRenderEventManager:l,changeDetectionScheduler:d},f=c.createRenderer(null,this.componentDef),p=this.componentDef.selectors[0][0]||"div",D=n?TE(f,n,this.componentDef.encapsulation,a):Lp(f,p,NI(p)),m=512;this.componentDef.signals?m|=4096:this.componentDef.onPush||(m|=16);let v=null;D!==null&&(v=Tu(D,a,!0));let j=ju(0,null,null,1,0,null,null,null,null,null,null),H=bs(null,j,null,m,null,null,h,f,a,null,v);Du(H);let V,me;try{let oe=this.componentDef,$e,kn=null;oe.findHostDirectiveDefs?($e=[],kn=new Map,oe.findHostDirectiveDefs(oe,$e,kn),$e.push(oe)):$e=[oe];let Gv=_I(H,D),qv=AI(Gv,D,oe,$e,H,h,f);me=fu(j,he),D&&PI(f,oe,D,n),r!==void 0&&kI(me,this.ngContentSelectors,r),V=OI(qv,oe,$e,kn,H,[FI]),$u(j,H,null)}finally{wu()}return new jc(this.componentType,V,gr(me,H),H,me)}finally{F(i)}}},jc=class extends Oc{constructor(e,r,n,o,i){super(),this.location=n,this._rootLView=o,this._tNode=i,this.previousInputValues=null,this.instance=r,this.hostView=this.changeDetectorRef=new bn(o,void 0,!1),this.componentType=e}setInput(e,r){let n=this._tNode.inputs,o;if(n!==null&&(o=n[e])){if(this.previousInputValues??=new Map,this.previousInputValues.has(e)&&Object.is(this.previousInputValues.get(e),r))return;let i=this._rootLView;Uu(i[x],i,o,e,r),this.previousInputValues.set(e,r);let s=Xt(this._tNode.index,i);zu(s,1)}}get injector(){return new gn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(e){this.hostView.onDestroy(e)}};function _I(t,e){let r=t[x],n=he;return t[n]=e,mr(r,n,2,"#host",null)}function AI(t,e,r,n,o,i,s){let a=o[x];RI(n,t,e,s);let c=null;e!==null&&(c=Tu(e,o[rr]));let u=i.rendererFactory.createRenderer(e,r),l=16;r.signals?l=4096:r.onPush&&(l=64);let d=bs(o,Jp(r),null,l,o[t.index],t,i,u,null,null,c);return a.firstCreatePass&&_c(a,t,n.length-1),Ms(o,d),o[t.index]=d}function RI(t,e,r,n){for(let o of t)e.mergedAttrs=Ur(e.mergedAttrs,o.hostAttrs);e.mergedAttrs!==null&&(Zi(e,e.mergedAttrs,!0),r!==null&&qp(n,r,e))}function OI(t,e,r,n,o,i){let s=pe(),a=o[x],c=qe(s,o);eg(a,o,s,r,null,n);for(let l=0;l<r.length;l++){let d=s.directiveStart+l,h=Cn(o,a,d,s);Qt(h,o)}tg(a,o,s),c&&Qt(c,o);let u=Cn(o,a,s.directiveStart+s.componentOffset,s);if(t[He]=o[He]=u,i!==null)for(let l of i)l(u,e);return ku(a,s,o),u}function PI(t,e,r,n){if(n)ic(t,r,["ng-version","18.1.2"]);else{let{attrs:o,classes:i}=gD(e.selectors[0]);o&&ic(t,r,o),i&&i.length>0&&Gp(t,r,i.join(" "))}}function kI(t,e,r){let n=t.projection=[];for(let o=0;o<e.length;o++){let i=r[o];n.push(i!=null?Array.from(i):null)}}function FI(){let t=pe();vs(S()[x],t)}var vt=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=LI;let t=e;return t})();function LI(){let t=pe();return Dg(t,S())}var jI=vt,yg=class extends jI{constructor(e,r,n){super(),this._lContainer=e,this._hostTNode=r,this._hostLView=n}get element(){return gr(this._hostTNode,this._hostLView)}get injector(){return new gn(this._hostTNode,this._hostLView)}get parentInjector(){let e=Iu(this._hostTNode,this._hostLView);if(ip(e)){let r=ji(e,this._hostLView),n=Li(e),o=r[x].data[n+8];return new gn(o,r)}else return new gn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){let r=Hf(this._lContainer);return r!==null&&r[e]||null}get length(){return this._lContainer.length-Te}createEmbeddedView(e,r,n){let o,i;typeof n=="number"?o=n:n!=null&&(o=n.index,i=n.injector);let s=Gi(this._lContainer,e.ssrId),a=e.createEmbeddedViewImpl(r||{},i,s);return this.insertImpl(a,o,Hi(this._hostTNode,s)),a}createComponent(e,r,n,o,i){let s=e&&!AD(e),a;if(s)a=r;else{let p=r||{};a=p.index,n=p.injector,o=p.projectableNodes,i=p.environmentInjector||p.ngModuleRef}let c=s?e:new ur(Zt(e)),u=n||this.parentInjector;if(!i&&c.ngModule==null){let D=(s?u:this.parentInjector).get(we,null);D&&(i=D)}let l=Zt(c.componentType??{}),d=Gi(this._lContainer,l?.id??null),h=d?.firstChild??null,f=c.create(u,o,h,i);return this.insertImpl(f.hostView,a,Hi(this._hostTNode,d)),f}insert(e,r){return this.insertImpl(e,r,!0)}insertImpl(e,r,n){let o=e._lView;if(LD(o)){let a=this.indexOf(e);if(a!==-1)this.detach(a);else{let c=o[ge],u=new yg(c,c[xe],c[ge]);u.detach(u.indexOf(e))}}let i=this._adjustIndex(r),s=this._lContainer;return Hu(s,o,i,n),e.attachToViewContainerRef(),gh(Ya(s),i,e),e}move(e,r){return this.insert(e,r)}indexOf(e){let r=Hf(this._lContainer);return r!==null?r.indexOf(e):-1}remove(e){let r=this._adjustIndex(e,-1),n=$i(this._lContainer,r);n&&(Ri(Ya(this._lContainer),r),Ru(n[x],n))}detach(e){let r=this._adjustIndex(e,-1),n=$i(this._lContainer,r);return n&&Ri(Ya(this._lContainer),r)!=null?new bn(n):null}_adjustIndex(e,r=0){return e??this.length+r}};function Hf(t){return t[ki]}function Ya(t){return t[ki]||(t[ki]=[])}function Dg(t,e){let r,n=e[t.index];return Tt(n)?r=n:(r=ng(n,e,null,t),e[t.index]=r,Ms(e,r)),UI(r,e,t,n),new yg(r,t,e)}function VI(t,e){let r=t[ee],n=r.createComment(""),o=qe(e,t),i=Ou(r,o);return Bi(r,i,n,mE(r,o),!1),n}var UI=HI,$I=()=>!1;function BI(t,e,r){return $I(t,e,r)}function HI(t,e,r,n){if(t[Dn])return;let o;r.type&8?o=ht(n):o=VI(e,r),t[Dn]=o}var Vc=class t{constructor(e){this.queryList=e,this.matches=null}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},Uc=class t{constructor(e=[]){this.queries=e}createEmbeddedView(e){let r=e.queries;if(r!==null){let n=e.contentQueries!==null?e.contentQueries[0]:r.length,o=[];for(let i=0;i<n;i++){let s=r.getByIndex(i),a=this.queries[s.indexInDeclarationView];o.push(a.clone())}return new t(o)}return null}insertView(e){this.dirtyQueriesWithMatches(e)}detachView(e){this.dirtyQueriesWithMatches(e)}finishViewCreation(e){this.dirtyQueriesWithMatches(e)}dirtyQueriesWithMatches(e){for(let r=0;r<this.queries.length;r++)Zu(e,r).matches!==null&&this.queries[r].setDirty()}},Qi=class{constructor(e,r,n=null){this.flags=r,this.read=n,typeof e=="string"?this.predicate=KI(e):this.predicate=e}},$c=class t{constructor(e=[]){this.queries=e}elementStart(e,r){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(e,r)}elementEnd(e){for(let r=0;r<this.queries.length;r++)this.queries[r].elementEnd(e)}embeddedTView(e){let r=null;for(let n=0;n<this.length;n++){let o=r!==null?r.length:0,i=this.getByIndex(n).embeddedTView(e,o);i&&(i.indexInDeclarationView=n,r!==null?r.push(i):r=[i])}return r!==null?new t(r):null}template(e,r){for(let n=0;n<this.queries.length;n++)this.queries[n].template(e,r)}getByIndex(e){return this.queries[e]}get length(){return this.queries.length}track(e){this.queries.push(e)}},Bc=class t{constructor(e,r=-1){this.metadata=e,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=r}elementStart(e,r){this.isApplyingToNode(r)&&this.matchTNode(e,r)}elementEnd(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)}template(e,r){this.elementStart(e,r)}embeddedTView(e,r){return this.isApplyingToNode(e)?(this.crossesNgTemplate=!0,this.addMatch(-e.index,r),new t(this.metadata)):null}isApplyingToNode(e){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let r=this._declarationNodeIndex,n=e.parent;for(;n!==null&&n.type&8&&n.index!==r;)n=n.parent;return r===(n!==null?n.index:-1)}return this._appliesToNextNode}matchTNode(e,r){let n=this.metadata.predicate;if(Array.isArray(n))for(let o=0;o<n.length;o++){let i=n[o];this.matchTNodeWithReadOption(e,r,zI(r,i)),this.matchTNodeWithReadOption(e,r,Ti(r,e,i,!1,!1))}else n===Kt?r.type&4&&this.matchTNodeWithReadOption(e,r,-1):this.matchTNodeWithReadOption(e,r,Ti(r,e,n,!1,!1))}matchTNodeWithReadOption(e,r,n){if(n!==null){let o=this.metadata.read;if(o!==null)if(o===rt||o===vt||o===Kt&&r.type&4)this.addMatch(r.index,-2);else{let i=Ti(r,e,o,!1,!1);i!==null&&this.addMatch(r.index,i)}else this.addMatch(r.index,n)}}addMatch(e,r){this.matches===null?this.matches=[e,r]:this.matches.push(e,r)}};function zI(t,e){let r=t.localNames;if(r!==null){for(let n=0;n<r.length;n+=2)if(r[n]===e)return r[n+1]}return null}function GI(t,e){return t.type&11?gr(t,e):t.type&4?Ss(t,e):null}function qI(t,e,r,n){return r===-1?GI(e,t):r===-2?WI(t,e,n):Cn(t,t[x],r,e)}function WI(t,e,r){if(r===rt)return gr(e,t);if(r===Kt)return Ss(e,t);if(r===vt)return Dg(e,t)}function wg(t,e,r,n){let o=e[It].queries[n];if(o.matches===null){let i=t.data,s=r.matches,a=[];for(let c=0;s!==null&&c<s.length;c+=2){let u=s[c];if(u<0)a.push(null);else{let l=i[u];a.push(qI(e,l,s[c+1],r.metadata.read))}}o.matches=a}return o.matches}function Hc(t,e,r,n){let o=t.queries.getByIndex(r),i=o.matches;if(i!==null){let s=wg(t,e,o,r);for(let a=0;a<i.length;a+=2){let c=i[a];if(c>0)n.push(s[a/2]);else{let u=i[a+1],l=e[-c];for(let d=Te;d<l.length;d++){let h=l[d];h[yn]===h[ge]&&Hc(h[x],h,u,n)}if(l[or]!==null){let d=l[or];for(let h=0;h<d.length;h++){let f=d[h];Hc(f[x],f,u,n)}}}}}return n}function ZI(t,e){return t[It].queries[e].queryList}function Eg(t,e,r){let n=new Dc((r&4)===4);return _E(t,e,n,n.destroy),(e[It]??=new Uc).queries.push(new Vc(n))-1}function YI(t,e,r){let n=te();return n.firstCreatePass&&(Ig(n,new Qi(t,e,r),-1),(e&2)===2&&(n.staticViewQueries=!0)),Eg(n,S(),e)}function QI(t,e,r,n){let o=te();if(o.firstCreatePass){let i=pe();Ig(o,new Qi(e,r,n),i.index),JI(o,t),(r&2)===2&&(o.staticContentQueries=!0)}return Eg(o,S(),r)}function KI(t){return t.split(",").map(e=>e.trim())}function Ig(t,e,r){t.queries===null&&(t.queries=new $c),t.queries.track(new Bc(e,r))}function JI(t,e){let r=t.contentQueries||(t.contentQueries=[]),n=r.length?r[r.length-1]:-1;e!==n&&r.push(t.queries.length-1,e)}function Zu(t,e){return t.queries.getByIndex(e)}function XI(t,e){let r=t[x],n=Zu(r,e);return n.crossesNgTemplate?Hc(r,t,e,[]):wg(r,t,n,e)}function eC(t){return typeof t=="function"&&t[Qe]!==void 0}function HP(t,e){tn("NgSignals");let r=Ad(t),n=r[Qe];return e?.equal&&(n.equal=e.equal),r.set=o=>Ho(n,o),r.update=o=>Rd(n,o),r.asReadonly=tC.bind(r),r}function tC(){let t=this[Qe];if(t.readonlyFn===void 0){let e=()=>this();e[Qe]=t,t.readonlyFn=e}return t.readonlyFn}function Cg(t){return eC(t)&&typeof t.set=="function"}function nC(t){let e=[],r=new Map;function n(o){let i=r.get(o);if(!i){let s=t(o);r.set(o,i=s.then(sC))}return i}return Ki.forEach((o,i)=>{let s=[];o.templateUrl&&s.push(n(o.templateUrl).then(u=>{o.template=u}));let a=typeof o.styles=="string"?[o.styles]:o.styles||[];if(o.styles=a,o.styleUrl&&o.styleUrls?.length)throw new Error("@Component cannot define both `styleUrl` and `styleUrls`. Use `styleUrl` if the component has one stylesheet, or `styleUrls` if it has multiple");if(o.styleUrls?.length){let u=o.styles.length,l=o.styleUrls;o.styleUrls.forEach((d,h)=>{a.push(""),s.push(n(d).then(f=>{a[u+h]=f,l.splice(l.indexOf(d),1),l.length==0&&(o.styleUrls=void 0)}))})}else o.styleUrl&&s.push(n(o.styleUrl).then(u=>{a.push(u),o.styleUrl=void 0}));let c=Promise.all(s).then(()=>aC(i));e.push(c)}),oC(),Promise.all(e).then(()=>{})}var Ki=new Map,rC=new Set;function oC(){let t=Ki;return Ki=new Map,t}function iC(){return Ki.size===0}function sC(t){return typeof t=="string"?t:t.text()}function aC(t){rC.delete(t)}function cC(t){return Object.getPrototypeOf(t.prototype).constructor}function uC(t){let e=cC(t.type),r=!0,n=[t];for(;e;){let o;if(Yt(t))o=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new w(903,!1);o=e.\u0275dir}if(o){if(r){n.push(o);let s=t;s.inputs=wi(t.inputs),s.inputTransforms=wi(t.inputTransforms),s.declaredInputs=wi(t.declaredInputs),s.outputs=wi(t.outputs);let a=o.hostBindings;a&&pC(t,a);let c=o.viewQuery,u=o.contentQueries;if(c&&fC(t,c),u&&hC(t,u),lC(t,o),Oy(t.outputs,o.outputs),Yt(o)&&o.data.animation){let l=t.data;l.animation=(l.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(t),a===uC&&(r=!1)}}e=Object.getPrototypeOf(e)}dC(n)}function lC(t,e){for(let r in e.inputs){if(!e.inputs.hasOwnProperty(r)||t.inputs.hasOwnProperty(r))continue;let n=e.inputs[r];if(n!==void 0&&(t.inputs[r]=n,t.declaredInputs[r]=e.declaredInputs[r],e.inputTransforms!==null)){let o=Array.isArray(n)?n[0]:n;if(!e.inputTransforms.hasOwnProperty(o))continue;t.inputTransforms??={},t.inputTransforms[o]=e.inputTransforms[o]}}}function dC(t){let e=0,r=null;for(let n=t.length-1;n>=0;n--){let o=t[n];o.hostVars=e+=o.hostVars,o.hostAttrs=Ur(o.hostAttrs,r=Ur(r,o.hostAttrs))}}function wi(t){return t===er?{}:t===Me?[]:t}function fC(t,e){let r=t.viewQuery;r?t.viewQuery=(n,o)=>{e(n,o),r(n,o)}:t.viewQuery=e}function hC(t,e){let r=t.contentQueries;r?t.contentQueries=(n,o,i)=>{e(n,o,i),r(n,o,i)}:t.contentQueries=e}function pC(t,e){let r=t.hostBindings;r?t.hostBindings=(n,o)=>{e(n,o),r(n,o)}:t.hostBindings=e}function Yu(t){let e=t.inputConfig,r={};for(let n in e)if(e.hasOwnProperty(n)){let o=e[n];Array.isArray(o)&&o[3]&&(r[n]=o[3])}t.inputTransforms=r}var Jt=class{},Gr=class{};var Ji=class extends Jt{constructor(e,r,n){super(),this._parent=r,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Yi(this);let o=Sh(e);this._bootstrapComponents=Fp(o.bootstrap),this._r3Injector=pp(e,r,[{provide:Jt,useValue:this},{provide:ar,useValue:this.componentFactoryResolver},...n],De(e),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(e)}get injector(){return this._r3Injector}destroy(){let e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(r=>r()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}},Xi=class extends Gr{constructor(e){super(),this.moduleType=e}create(e){return new Ji(this.moduleType,e,[])}};function gC(t,e,r){return new Ji(t,e,r)}var zc=class extends Jt{constructor(e){super(),this.componentFactoryResolver=new Yi(this),this.instance=null;let r=new $r([...e.providers,{provide:Jt,useValue:this},{provide:ar,useValue:this.componentFactoryResolver}],e.parent||lu(),e.debugName,new Set(["environment"]));this.injector=r,e.runEnvironmentInitializers&&r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}};function Ts(t,e,r=null){return new zc({providers:t,parent:e,debugName:r,runEnvironmentInitializers:!0}).injector}function bg(t){return Qu(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function mC(t,e){if(Array.isArray(t))for(let r=0;r<t.length;r++)e(t[r]);else{let r=t[Symbol.iterator](),n;for(;!(n=r.next()).done;)e(n.value)}}function Qu(t){return t!==null&&(typeof t=="function"||typeof t=="object")}function yt(t,e,r){return t[e]=r}function Jr(t,e){return t[e]}function Oe(t,e,r){let n=t[e];return Object.is(n,r)?!1:(t[e]=r,!0)}function lr(t,e,r,n){let o=Oe(t,e,r);return Oe(t,e+1,n)||o}function Mg(t,e,r,n,o){let i=lr(t,e,r,n);return Oe(t,e+2,o)||i}function dr(t,e,r,n,o,i){let s=lr(t,e,r,n);return lr(t,e+2,o,i)||s}function vC(t){return(t.flags&32)===32}function yC(t,e,r,n,o,i,s,a,c){let u=e.consts,l=mr(e,t,4,s||null,a||null);Vu(e,r,l,ir(u,c)),vs(e,l);let d=l.tView=ju(2,l,n,o,i,e.directiveRegistry,e.pipeRegistry,null,e.schemas,u,null);return e.queries!==null&&(e.queries.template(e,l),d.queries=e.queries.embeddedTView(l)),l}function Sg(t,e,r,n,o,i,s,a,c,u){let l=r+he,d=e.firstCreatePass?yC(l,e,t,n,o,i,s,a,c):e.data[l];Tn(d,!1);let h=wC(e,t,d,r);gs()&&Is(e,t,h,d),Qt(h,t);let f=ng(h,t,h,d);return t[l]=f,Ms(t,f),BI(f,d,t),hs(d)&&Fu(e,t,d),c!=null&&Lu(t,d,u),d}function DC(t,e,r,n,o,i,s,a){let c=S(),u=te(),l=ir(u.consts,i);return Sg(c,u,t,e,r,n,o,l,s,a),DC}var wC=EC;function EC(t,e,r,n){return ms(!0),e[ee].createComment("")}function Ku(t,e,r,n){let o=S(),i=Qr();if(Oe(o,i,e)){let s=te(),a=Eu();GE(a,o,t,e,r,n)}return Ku}function IC(t,e,r,n){return Oe(t,Qr(),r)?e+mn(r)+n:Fe}function CC(t,e,r,n,o,i){let s=WD(),a=lr(t,s,r,o);return vu(2),a?e+mn(r)+n+mn(o)+i:Fe}function Ei(t,e){return t<<17|e<<2}function Mn(t){return t>>17&32767}function bC(t){return(t&2)==2}function MC(t,e){return t&131071|e<<17}function Gc(t){return t|2}function fr(t){return(t&131068)>>2}function Qa(t,e){return t&-131069|e<<2}function SC(t){return(t&1)===1}function qc(t){return t|1}function TC(t,e,r,n,o,i){let s=i?e.classBindings:e.styleBindings,a=Mn(s),c=fr(s);t[n]=r;let u=!1,l;if(Array.isArray(r)){let d=r;l=d[1],(l===null||Yr(d,l)>0)&&(u=!0)}else l=r;if(o)if(c!==0){let h=Mn(t[a+1]);t[n+1]=Ei(h,a),h!==0&&(t[h+1]=Qa(t[h+1],n)),t[a+1]=MC(t[a+1],n)}else t[n+1]=Ei(a,0),a!==0&&(t[a+1]=Qa(t[a+1],n)),a=n;else t[n+1]=Ei(c,0),a===0?a=n:t[c+1]=Qa(t[c+1],n),c=n;u&&(t[n+1]=Gc(t[n+1])),zf(t,l,n,!0),zf(t,l,n,!1),xC(e,l,t,n,i),s=Ei(a,c),i?e.classBindings=s:e.styleBindings=s}function xC(t,e,r,n,o){let i=o?t.residualClasses:t.residualStyles;i!=null&&typeof e=="string"&&Yr(i,e)>=0&&(r[n+1]=qc(r[n+1]))}function zf(t,e,r,n){let o=t[r+1],i=e===null,s=n?Mn(o):fr(o),a=!1;for(;s!==0&&(a===!1||i);){let c=t[s],u=t[s+1];NC(c,e)&&(a=!0,t[s+1]=n?qc(u):Gc(u)),s=n?Mn(u):fr(u)}a&&(t[r+1]=n?Gc(o):qc(o))}function NC(t,e){return t===null||e==null||(Array.isArray(t)?t[1]:t)===e?!0:Array.isArray(t)&&typeof e=="string"?Yr(t,e)>=0:!1}var se={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Tg(t){return t.substring(se.key,se.keyEnd)}function _C(t){return t.substring(se.value,se.valueEnd)}function AC(t){return _g(t),xg(t,hr(t,0,se.textEnd))}function xg(t,e){let r=se.textEnd;return r===e?-1:(e=se.keyEnd=OC(t,se.key=e,r),hr(t,e,r))}function RC(t){return _g(t),Ng(t,hr(t,0,se.textEnd))}function Ng(t,e){let r=se.textEnd,n=se.key=hr(t,e,r);return r===n?-1:(n=se.keyEnd=PC(t,n,r),n=Gf(t,n,r,58),n=se.value=hr(t,n,r),n=se.valueEnd=kC(t,n,r),Gf(t,n,r,59))}function _g(t){se.key=0,se.keyEnd=0,se.value=0,se.valueEnd=0,se.textEnd=t.length}function hr(t,e,r){for(;e<r&&t.charCodeAt(e)<=32;)e++;return e}function OC(t,e,r){for(;e<r&&t.charCodeAt(e)>32;)e++;return e}function PC(t,e,r){let n;for(;e<r&&((n=t.charCodeAt(e))===45||n===95||(n&-33)>=65&&(n&-33)<=90||n>=48&&n<=57);)e++;return e}function Gf(t,e,r,n){return e=hr(t,e,r),e<r&&e++,e}function kC(t,e,r){let n=-1,o=-1,i=-1,s=e,a=s;for(;s<r;){let c=t.charCodeAt(s++);if(c===59)return a;c===34||c===39?a=s=qf(t,c,s,r):e===s-4&&i===85&&o===82&&n===76&&c===40?a=s=qf(t,41,s,r):c>32&&(a=s),i=o,o=n,n=c&-33}return a}function qf(t,e,r,n){let o=-1,i=r;for(;i<n;){let s=t.charCodeAt(i++);if(s==e&&o!==92)return i;s==92&&o===92?o=0:o=s}throw new Error}function FC(t,e,r){let n=S(),o=Qr();if(Oe(n,o,e)){let i=te(),s=Eu();Xp(i,s,n,t,e,n[ee],r,!1)}return FC}function Wc(t,e,r,n,o){let i=e.inputs,s=o?"class":"style";Uu(t,r,i[s],s,n)}function Ag(t,e,r){return Rg(t,e,r,!1),Ag}function LC(t,e){return Rg(t,e,null,!0),LC}function zP(t){Og(Fg,jC,t,!1)}function jC(t,e){for(let r=RC(e);r>=0;r=Ng(e,r))Fg(t,Tg(e),_C(e))}function GP(t){Og(GC,VC,t,!0)}function VC(t,e){for(let r=AC(e);r>=0;r=xg(e,r))as(t,Tg(e),!0)}function Rg(t,e,r,n){let o=S(),i=te(),s=vu(2);if(i.firstUpdatePass&&kg(i,t,s,n),e!==Fe&&Oe(o,s,e)){let a=i.data[en()];Lg(i,a,o,o[ee],t,o[s+1]=WC(e,r),n,s)}}function Og(t,e,r,n){let o=te(),i=vu(2);o.firstUpdatePass&&kg(o,null,i,n);let s=S();if(r!==Fe&&Oe(s,i,r)){let a=o.data[en()];if(jg(a,n)&&!Pg(o,i)){let c=n?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(r=tc(c,r||"")),Wc(o,a,s,r,n)}else qC(o,a,s,s[ee],s[i+1],s[i+1]=zC(t,e,r),n,i)}}function Pg(t,e){return e>=t.expandoStartIndex}function kg(t,e,r,n){let o=t.data;if(o[r+1]===null){let i=o[en()],s=Pg(t,r);jg(i,n)&&e===null&&!s&&(e=!1),e=UC(o,i,e,n),TC(o,i,e,r,s,n)}}function UC(t,e,r,n){let o=JD(t),i=n?e.residualClasses:e.residualStyles;if(o===null)(n?e.classBindings:e.styleBindings)===0&&(r=Ka(null,t,e,r,n),r=qr(r,e.attrs,n),i=null);else{let s=e.directiveStylingLast;if(s===-1||t[s]!==o)if(r=Ka(o,t,e,r,n),i===null){let c=$C(t,e,n);c!==void 0&&Array.isArray(c)&&(c=Ka(null,t,e,c[1],n),c=qr(c,e.attrs,n),BC(t,e,n,c))}else i=HC(t,e,n)}return i!==void 0&&(n?e.residualClasses=i:e.residualStyles=i),r}function $C(t,e,r){let n=r?e.classBindings:e.styleBindings;if(fr(n)!==0)return t[Mn(n)]}function BC(t,e,r,n){let o=r?e.classBindings:e.styleBindings;t[Mn(o)]=n}function HC(t,e,r){let n,o=e.directiveEnd;for(let i=1+e.directiveStylingLast;i<o;i++){let s=t[i].hostAttrs;n=qr(n,s,r)}return qr(n,e.attrs,r)}function Ka(t,e,r,n,o){let i=null,s=r.directiveEnd,a=r.directiveStylingLast;for(a===-1?a=r.directiveStart:a++;a<s&&(i=e[a],n=qr(n,i.hostAttrs,o),i!==t);)a++;return t!==null&&(r.directiveStylingLast=a),n}function qr(t,e,r){let n=r?1:2,o=-1;if(e!==null)for(let i=0;i<e.length;i++){let s=e[i];typeof s=="number"?o=s:o===n&&(Array.isArray(t)||(t=t===void 0?[]:["",t]),as(t,s,r?!0:e[++i]))}return t===void 0?null:t}function zC(t,e,r){if(r==null||r==="")return Me;let n=[],o=ke(r);if(Array.isArray(o))for(let i=0;i<o.length;i++)t(n,o[i],!0);else if(typeof o=="object")for(let i in o)o.hasOwnProperty(i)&&t(n,i,o[i]);else typeof o=="string"&&e(n,o);return n}function Fg(t,e,r){as(t,e,ke(r))}function GC(t,e,r){let n=String(e);n!==""&&!n.includes(" ")&&as(t,n,r)}function qC(t,e,r,n,o,i,s,a){o===Fe&&(o=Me);let c=0,u=0,l=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;l!==null||d!==null;){let h=c<o.length?o[c+1]:void 0,f=u<i.length?i[u+1]:void 0,p=null,D;l===d?(c+=2,u+=2,h!==f&&(p=d,D=f)):d===null||l!==null&&l<d?(c+=2,p=l):(u+=2,p=d,D=f),p!==null&&Lg(t,e,r,n,p,D,s,a),l=c<o.length?o[c]:null,d=u<i.length?i[u]:null}}function Lg(t,e,r,n,o,i,s,a){if(!(e.type&3))return;let c=t.data,u=c[a+1],l=SC(u)?Wf(c,e,r,o,fr(u),s):void 0;if(!es(l)){es(i)||bC(u)&&(i=Wf(c,null,r,o,a,s));let d=Bh(en(),r);IE(n,s,d,o,i)}}function Wf(t,e,r,n,o,i){let s=e===null,a;for(;o>0;){let c=t[o],u=Array.isArray(c),l=u?c[1]:c,d=l===null,h=r[o+1];h===Fe&&(h=d?Me:void 0);let f=d?Ba(h,n):l===n?h:void 0;if(u&&!es(f)&&(f=Ba(c,n)),es(f)&&(a=f,s))return a;let p=t[o+1];o=s?Mn(p):fr(p)}if(e!==null){let c=i?e.residualClasses:e.residualStyles;c!=null&&(a=Ba(c,n))}return a}function es(t){return t!==void 0}function WC(t,e){return t==null||t===""||(typeof e=="string"?t=t+e:typeof t=="object"&&(t=De(ke(t)))),t}function jg(t,e){return(t.flags&(e?8:16))!==0}function qP(t,e){tn("NgControlFlow");let r=S(),n=Qr(),o=r[n]!==Fe?r[n]:-1,i=o!==-1?Zf(r,he+o):void 0,s=0;if(Oe(r,n,t)){let a=F(null);try{if(i!==void 0&&XE(i,s),t!==-1){let c=he+t,u=Zf(r,c),l=ZC(r[x],c),d=Gi(u,l.tView.ssrId),h=Bu(r,l,e,{dehydratedView:d});Hu(u,h,s,Hi(l,d))}}finally{F(a)}}else if(i!==void 0){let a=JE(i,s);a!==void 0&&(a[He]=e)}}function Zf(t,e){return t[e]}function ZC(t,e){return fu(t,e)}function YC(t,e,r,n,o,i){let s=e.consts,a=ir(s,o),c=mr(e,t,2,n,a);return Vu(e,r,c,ir(s,i)),c.attrs!==null&&Zi(c,c.attrs,!1),c.mergedAttrs!==null&&Zi(c,c.mergedAttrs,!0),e.queries!==null&&e.queries.elementStart(e,c),c}function Vg(t,e,r,n){let o=S(),i=te(),s=he+t,a=o[ee],c=i.firstCreatePass?YC(s,i,o,e,r,n):i.data[s],u=QC(i,o,c,a,e,t);o[s]=u;let l=hs(c);return Tn(c,!0),qp(a,u,c),!vC(c)&&gs()&&Is(i,o,u,c),UD()===0&&Qt(u,o),$D(),l&&(Fu(i,o,c),ku(i,c,o)),n!==null&&Lu(o,c),Vg}function Ug(){let t=pe();gu()?mu():(t=t.parent,Tn(t,!1));let e=t;HD(e)&&zD(),BD();let r=te();return r.firstCreatePass&&(vs(r,t),du(t)&&r.queries.elementEnd(t)),e.classesWithoutHost!=null&&iw(e)&&Wc(r,e,S(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&sw(e)&&Wc(r,e,S(),e.stylesWithoutHost,!1),Ug}function Ju(t,e,r,n){return Vg(t,e,r,n),Ug(),Ju}var QC=(t,e,r,n,o,i)=>(ms(!0),Lp(n,o,tw()));function KC(t,e,r,n,o){let i=e.consts,s=ir(i,n),a=mr(e,t,8,"ng-container",s);s!==null&&Zi(a,s,!0);let c=ir(i,o);return Vu(e,r,a,c),e.queries!==null&&e.queries.elementStart(e,a),a}function $g(t,e,r){let n=S(),o=te(),i=t+he,s=o.firstCreatePass?KC(i,o,n,e,r):o.data[i];Tn(s,!0);let a=XC(o,n,s,t);return n[i]=a,gs()&&Is(o,n,a,s),Qt(a,n),hs(s)&&(Fu(o,n,s),ku(o,s,n)),r!=null&&Lu(n,s),$g}function Bg(){let t=pe(),e=te();return gu()?mu():(t=t.parent,Tn(t,!1)),e.firstCreatePass&&(vs(e,t),du(t)&&e.queries.elementEnd(t)),Bg}function JC(t,e,r){return $g(t,e,r),Bg(),JC}var XC=(t,e,r,n)=>(ms(!0),aE(e[ee],""));function WP(){return S()}var hn=void 0;function eb(t){let e=t,r=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return r===1&&n===0?1:5}var tb=["en",[["a","p"],["AM","PM"],hn],[["AM","PM"],hn,hn],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],hn,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],hn,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",hn,"{1} 'at' {0}",hn],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",eb],Ja={};function Ne(t){let e=nb(t),r=Yf(e);if(r)return r;let n=e.split("-")[0];if(r=Yf(n),r)return r;if(n==="en")return tb;throw new w(701,!1)}function Yf(t){return t in Ja||(Ja[t]=ae.ng&&ae.ng.common&&ae.ng.common.locales&&ae.ng.common.locales[t]),Ja[t]}var K=function(t){return t[t.LocaleId=0]="LocaleId",t[t.DayPeriodsFormat=1]="DayPeriodsFormat",t[t.DayPeriodsStandalone=2]="DayPeriodsStandalone",t[t.DaysFormat=3]="DaysFormat",t[t.DaysStandalone=4]="DaysStandalone",t[t.MonthsFormat=5]="MonthsFormat",t[t.MonthsStandalone=6]="MonthsStandalone",t[t.Eras=7]="Eras",t[t.FirstDayOfWeek=8]="FirstDayOfWeek",t[t.WeekendRange=9]="WeekendRange",t[t.DateFormat=10]="DateFormat",t[t.TimeFormat=11]="TimeFormat",t[t.DateTimeFormat=12]="DateTimeFormat",t[t.NumberSymbols=13]="NumberSymbols",t[t.NumberFormats=14]="NumberFormats",t[t.CurrencyCode=15]="CurrencyCode",t[t.CurrencySymbol=16]="CurrencySymbol",t[t.CurrencyName=17]="CurrencyName",t[t.Currencies=18]="Currencies",t[t.Directionality=19]="Directionality",t[t.PluralCase=20]="PluralCase",t[t.ExtraData=21]="ExtraData",t}(K||{});function nb(t){return t.toLowerCase().replace(/_/g,"-")}var ts="en-US",rb="USD";var ob=ts;function ib(t){typeof t=="string"&&(ob=t.toLowerCase().replace(/_/g,"-"))}var sb=(t,e,r)=>{};function Xu(t,e,r,n){let o=S(),i=te(),s=pe();return Hg(i,o,o[ee],s,t,e,n),Xu}function ab(t,e,r,n){let o=t.cleanup;if(o!=null)for(let i=0;i<o.length-1;i+=2){let s=o[i];if(s===r&&o[i+1]===n){let a=e[Pi],c=o[i+2];return a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function Hg(t,e,r,n,o,i,s){let a=hs(n),u=t.firstCreatePass&&ig(t),l=e[He],d=og(e),h=!0;if(n.type&3||s){let D=qe(n,e),m=s?s(D):D,v=d.length,j=s?V=>s(ht(V[n.index])):n.index,H=null;if(!s&&a&&(H=ab(t,e,o,n.index)),H!==null){let V=H.__ngLastListenerFn__||H;V.__ngNextListenerFn__=i,H.__ngLastListenerFn__=i,h=!1}else{i=Kf(n,e,l,i),sb(D,o,i);let V=r.listen(m,o,i);d.push(i,V),u&&u.push(o,j,v,v+1)}}else i=Kf(n,e,l,i);let f=n.outputs,p;if(h&&f!==null&&(p=f[o])){let D=p.length;if(D)for(let m=0;m<D;m+=2){let v=p[m],j=p[m+1],me=e[v][j].subscribe(i),oe=d.length;d.push(i,me),u&&u.push(o,n.index,oe,-(oe+1))}}}function Qf(t,e,r,n){let o=F(null);try{return ut(6,e,r),r(n)!==!1}catch(i){return sg(t,i),!1}finally{ut(7,e,r),F(o)}}function Kf(t,e,r,n){return function o(i){if(i===Function)return n;let s=t.componentOffset>-1?Xt(t.index,e):e;zu(s,5);let a=Qf(e,r,n,i),c=o.__ngNextListenerFn__;for(;c;)a=Qf(e,r,c,i)&&a,c=c.__ngNextListenerFn__;return a}}function ZP(t=1){return ew(t)}function cb(t,e){let r=null,n=uD(t);for(let o=0;o<e.length;o++){let i=e[o];if(i==="*"){r=o;continue}if(n===null?Eh(t,i,!0):fD(n,i))return o}return r}function YP(t){let e=S()[ze][xe];if(!e.projection){let r=t?t.length:1,n=e.projection=eD(r,null),o=n.slice(),i=e.child;for(;i!==null;){if(i.type!==128){let s=t?cb(i,t):0;s!==null&&(o[s]?o[s].projectionNext=i:n[s]=i,o[s]=i)}i=i.next}}}function QP(t,e=0,r,n,o,i){let s=S(),a=te(),c=n?t+1:null;c!==null&&Sg(s,a,c,n,o,i,null,r);let u=mr(a,he+t,16,null,r||null);u.projection===null&&(u.projection=e),mu();let d=!s[Br]||Zh();s[ze][xe].projection[u.projection]===null&&c!==null?ub(s,a,c):d&&(u.flags&32)!==32&&wE(a,s,u)}function ub(t,e,r){let n=he+r,o=e.data[n],i=t[n],s=Gi(i,o.tView.ssrId),a=Bu(t,o,void 0,{dehydratedView:s});Hu(i,a,0,Hi(o,s))}function zg(t,e,r,n){QI(t,e,r,n)}function KP(t,e,r){YI(t,e,r)}function Gg(t){let e=S(),r=te(),n=Kh();yu(n+1);let o=Zu(r,n);if(t.dirty&&FD(e)===((o.metadata.flags&2)===2)){if(o.matches===null)t.reset([]);else{let i=XI(e,n);t.reset(i,Ew),t.notifyOnChanges()}return!0}return!1}function qg(){return ZI(S(),Kh())}function lb(t,e,r,n){r>=t.data.length&&(t.data[r]=null,t.blueprint[r]=null),e[r]=n}function JP(t){let e=qD();return hu(e,he+t)}function XP(t,e=""){let r=S(),n=te(),o=t+he,i=n.firstCreatePass?mr(n,o,1,e,null):n.data[o],s=db(n,r,i,e,t);r[o]=s,gs()&&Is(n,r,s,i),Tn(i,!1)}var db=(t,e,r,n,o)=>(ms(!0),iE(e[ee],n));function fb(t){return Wg("",t,""),fb}function Wg(t,e,r){let n=S(),o=IC(n,t,e,r);return o!==Fe&&ag(n,en(),o),Wg}function hb(t,e,r,n,o){let i=S(),s=CC(i,t,e,r,n,o);return s!==Fe&&ag(i,en(),s),hb}function pb(t,e,r){Cg(e)&&(e=e());let n=S(),o=Qr();if(Oe(n,o,e)){let i=te(),s=Eu();Xp(i,s,n,t,e,n[ee],r,!1)}return pb}function ek(t,e){let r=Cg(t);return r&&t.set(e),r}function gb(t,e){let r=S(),n=te(),o=pe();return Hg(n,r,r[ee],o,t,e),gb}function mb(t,e,r){let n=te();if(n.firstCreatePass){let o=Yt(t);Zc(r,n.data,n.blueprint,o,!0),Zc(e,n.data,n.blueprint,o,!1)}}function Zc(t,e,r,n,o){if(t=ye(t),Array.isArray(t))for(let i=0;i<t.length;i++)Zc(t[i],e,r,n,o);else{let i=te(),s=S(),a=pe(),c=nr(t)?t:ye(t.provide),u=Rh(t),l=a.providerIndexes&1048575,d=a.directiveStart,h=a.providerIndexes>>20;if(nr(t)||!t.multi){let f=new In(u,o,L),p=ec(c,e,o?l:l+h,d);p===-1?(gc(Ui(a,s),i,c),Xa(i,t,e.length),e.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),r.push(f),s.push(f)):(r[p]=f,s[p]=f)}else{let f=ec(c,e,l+h,d),p=ec(c,e,l,l+h),D=f>=0&&r[f],m=p>=0&&r[p];if(o&&!m||!o&&!D){gc(Ui(a,s),i,c);let v=Db(o?yb:vb,r.length,o,n,u);!o&&m&&(r[p].providerFactory=v),Xa(i,t,e.length,0),e.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),r.push(v),s.push(v)}else{let v=Zg(r[o?p:f],u,!o&&n);Xa(i,t,f>-1?f:p,v)}!o&&n&&m&&r[p].componentProviders++}}}function Xa(t,e,r,n){let o=nr(e),i=CD(e);if(o||i){let c=(i?ye(e.useClass):e).prototype.ngOnDestroy;if(c){let u=t.destroyHooks||(t.destroyHooks=[]);if(!o&&e.multi){let l=u.indexOf(r);l===-1?u.push(r,[n,c]):u[l+1].push(n,c)}else u.push(r,c)}}}function Zg(t,e,r){return r&&t.componentProviders++,t.multi.push(e)-1}function ec(t,e,r,n){for(let o=r;o<n;o++)if(e[o]===t)return o;return-1}function vb(t,e,r,n){return Yc(this.multi,[])}function yb(t,e,r,n){let o=this.multi,i;if(this.providerFactory){let s=this.providerFactory.componentProviders,a=Cn(r,r[x],this.providerFactory.index,n);i=a.slice(0,s),Yc(o,i);for(let c=s;c<a.length;c++)i.push(a[c])}else i=[],Yc(o,i);return i}function Yc(t,e){for(let r=0;r<t.length;r++){let n=t[r];e.push(n())}return e}function Db(t,e,r,n,o){let i=new In(t,r,L);return i.multi=[],i.index=e,i.componentProviders=0,Zg(i,o,n&&!r),i}function tk(t,e=[]){return r=>{r.providersResolver=(n,o)=>mb(n,o?o(t):t,e)}}var wb=(()=>{let e=class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let o=Nh(!1,n.type),i=o.length>0?Ts([o],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,i)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}};e.\u0275prov=I({token:e,providedIn:"environment",factory:()=>new e(C(we))});let t=e;return t})();function Yg(t){tn("NgStandalone"),t.getStandaloneInjector=e=>e.get(wb).getOrCreateStandaloneInjector(t)}function nk(t,e,r){let n=We()+t,o=S();return o[n]===Fe?yt(o,n,r?e.call(r):e()):Jr(o,n)}function rk(t,e,r,n){return Qg(S(),We(),t,e,r,n)}function ok(t,e,r,n,o){return Kg(S(),We(),t,e,r,n,o)}function ik(t,e,r,n,o,i){return Eb(S(),We(),t,e,r,n,o,i)}function sk(t,e,r,n,o,i,s){return Ib(S(),We(),t,e,r,n,o,i,s)}function ak(t,e,r,n,o,i,s,a){let c=We()+t,u=S(),l=dr(u,c,r,n,o,i);return Oe(u,c+4,s)||l?yt(u,c+5,a?e.call(a,r,n,o,i,s):e(r,n,o,i,s)):Jr(u,c+5)}function ck(t,e,r,n,o,i,s,a,c){let u=We()+t,l=S(),d=dr(l,u,r,n,o,i);return lr(l,u+4,s,a)||d?yt(l,u+6,c?e.call(c,r,n,o,i,s,a):e(r,n,o,i,s,a)):Jr(l,u+6)}function uk(t,e,r,n,o,i,s,a,c,u){let l=We()+t,d=S(),h=dr(d,l,r,n,o,i);return Mg(d,l+4,s,a,c)||h?yt(d,l+7,u?e.call(u,r,n,o,i,s,a,c):e(r,n,o,i,s,a,c)):Jr(d,l+7)}function lk(t,e,r,n,o,i,s,a,c,u,l){let d=We()+t,h=S(),f=dr(h,d,r,n,o,i);return dr(h,d+4,s,a,c,u)||f?yt(h,d+8,l?e.call(l,r,n,o,i,s,a,c,u):e(r,n,o,i,s,a,c,u)):Jr(h,d+8)}function dk(t,e,r,n){return Cb(S(),We(),t,e,r,n)}function Xr(t,e){let r=t[e];return r===Fe?void 0:r}function Qg(t,e,r,n,o,i){let s=e+r;return Oe(t,s,o)?yt(t,s+1,i?n.call(i,o):n(o)):Xr(t,s+1)}function Kg(t,e,r,n,o,i,s){let a=e+r;return lr(t,a,o,i)?yt(t,a+2,s?n.call(s,o,i):n(o,i)):Xr(t,a+2)}function Eb(t,e,r,n,o,i,s,a){let c=e+r;return Mg(t,c,o,i,s)?yt(t,c+3,a?n.call(a,o,i,s):n(o,i,s)):Xr(t,c+3)}function Ib(t,e,r,n,o,i,s,a,c){let u=e+r;return dr(t,u,o,i,s,a)?yt(t,u+4,c?n.call(c,o,i,s,a):n(o,i,s,a)):Xr(t,u+4)}function Cb(t,e,r,n,o,i){let s=e+r,a=!1;for(let c=0;c<o.length;c++)Oe(t,s++,o[c])&&(a=!0);return a?yt(t,s,n.apply(i,o)):Xr(t,s)}function fk(t,e){let r=te(),n,o=t+he;r.firstCreatePass?(n=bb(e,r.pipeRegistry),r.data[o]=n,n.onDestroy&&(r.destroyHooks??=[]).push(o,n.onDestroy)):n=r.data[o];let i=n.factory||(n.factory=vn(n.type,!0)),s,a=be(L);try{let c=Vi(!1),u=i();return Vi(c),lb(r,S(),o,u),u}finally{be(a)}}function bb(t,e){if(e)for(let r=e.length-1;r>=0;r--){let n=e[r];if(t===n.name)return n}}function hk(t,e,r){let n=t+he,o=S(),i=hu(o,n);return Jg(o,n)?Qg(o,We(),e,i.transform,r,i):i.transform(r)}function pk(t,e,r,n){let o=t+he,i=S(),s=hu(i,o);return Jg(i,o)?Kg(i,We(),e,s.transform,r,n,s):s.transform(r,n)}function Jg(t,e){return t[x].data[e].pure}function gk(t,e){return Ss(t,e)}var Ii=null;function Mb(t){Ii!==null&&(t.defaultEncapsulation!==Ii.defaultEncapsulation||t.preserveWhitespaces!==Ii.preserveWhitespaces)||(Ii=t)}var xs=(()=>{let e=class e{log(n){console.log(n)}warn(n){console.warn(n)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})();var el=new E(""),eo=new E(""),Ns=(()=>{let e=class e{constructor(n,o,i){this._ngZone=n,this.registry=o,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,tl||(Sb(i),i.addToWindow(o)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{z.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(o=>o.updateCb&&o.updateCb(n)?(clearTimeout(o.timeoutId),!1):!0)}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,o,i){let s=-1;o&&o>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==s),n()},o)),this._callbacks.push({doneCb:n,timeoutId:s,updateCb:i})}whenStable(n,o,i){if(i&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,o,i),this._runCallbacksIfReady()}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,o,i){return[]}};e.\u0275fac=function(o){return new(o||e)(C(z),C(_s),C(eo))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})(),_s=(()=>{let e=class e{constructor(){this._applications=new Map}registerApplication(n,o){this._applications.set(n,o)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,o=!0){return tl?.findTestabilityInTree(this,n,o)??null}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})();function Sb(t){tl=t}var tl;function to(t){return!!t&&typeof t.then=="function"}function Xg(t){return!!t&&typeof t.subscribe=="function"}var As=new E(""),em=(()=>{let e=class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,o)=>{this.resolve=n,this.reject=o}),this.appInits=g(As,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let n=[];for(let i of this.appInits){let s=i();if(to(s))n.push(s);else if(Xg(s)){let a=new Promise((c,u)=>{s.subscribe({complete:c,error:u})});n.push(a)}}let o=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{o()}).catch(i=>{this.reject(i)}),n.length===0&&o(),this.initialized=!0}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Rs=new E("");function Tb(){_d(()=>{throw new w(600,!1)})}function xb(t){return t.isBoundToModule}var Nb=10;function _b(t,e,r){try{let n=r();return to(n)?n.catch(o=>{throw e.runOutsideAngular(()=>t.handleError(o)),o}):n}catch(n){throw e.runOutsideAngular(()=>t.handleError(n)),n}}function tm(t,e){return Array.isArray(e)?e.reduce(tm,t):y(y({},t),e)}var nn=(()=>{let e=class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=g(gp),this.afterRenderEffectManager=g(Wu),this.zonelessEnabled=g(pg),this.externalTestViews=new Set,this.beforeRender=new ne,this.afterTick=new ne,this.componentTypes=[],this.components=[],this.isStable=g(gt).hasPendingTasks.pipe(N(n=>!n)),this._injector=g(we)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,o){let i=n instanceof qi;if(!this._injector.get(em).done){let f=!i&&Mh(n),p=!1;throw new w(405,p)}let a;i?a=n:a=this._injector.get(ar).resolveComponentFactory(n),this.componentTypes.push(a.componentType);let c=xb(a)?void 0:this._injector.get(Jt),u=o||a.selector,l=a.create(Re.NULL,[],u,c),d=l.location.nativeElement,h=l.injector.get(el,null);return h?.registerApplication(d),l.onDestroy(()=>{this.detachView(l.hostView),Ni(this.components,l),h?.unregisterApplication(d)}),this._loadComponent(l),l}tick(){this._tick(!0)}_tick(n){if(this._runningTick)throw new w(101,!1);let o=F(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(n)}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1,F(o),this.afterTick.next()}}detectChangesInAttachedViews(n){let o=null;this._injector.destroyed||(o=this._injector.get(cr,null,{optional:!0}));let i=0,s=this.afterRenderEffectManager;for(;i<Nb;){let a=i===0;if(n||!a){this.beforeRender.next(a);for(let{_lView:c,notifyErrorHandler:u}of this._views)Ab(c,u,a,this.zonelessEnabled)}else o?.begin?.(),o?.end?.();if(i++,s.executeInternalCallbacks(),!this.allViews.some(({_lView:c})=>zr(c))&&(s.execute(),!this.allViews.some(({_lView:c})=>zr(c))))break}}attachView(n){let o=n;this._views.push(o),o.attachToAppRef(this)}detachView(n){let o=n;Ni(this._views,o),o.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);let o=this._injector.get(Rs,[]);[...this._bootstrapListeners,...o].forEach(i=>i(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Ni(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new w(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Ni(t,e){let r=t.indexOf(e);r>-1&&t.splice(r,1)}function Ab(t,e,r,n){if(!r&&!zr(t))return;lg(t,e,r&&!n?0:1)}var Qc=class{constructor(e,r){this.ngModuleFactory=e,this.componentFactories=r}},Os=(()=>{let e=class e{compileModuleSync(n){return new Xi(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let o=this.compileModuleSync(n),i=Sh(n),s=Fp(i.declarations).reduce((a,c)=>{let u=Zt(c);return u&&a.push(new ur(u)),a},[]);return new Qc(o,s)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Rb=new E("");function Ob(t,e,r){let n=new Xi(r);return Promise.resolve(n)}function Jf(t){for(let e=t.length-1;e>=0;e--)if(t[e]!==void 0)return t[e]}var Pb=(()=>{let e=class e{constructor(){this.zone=g(z),this.changeDetectionScheduler=g(sr),this.applicationRef=g(nn)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function kb({ngZoneFactory:t,ignoreChangesOutsideZone:e}){return t??=()=>new z(nm()),[{provide:z,useFactory:t},{provide:tr,multi:!0,useFactory:()=>{let r=g(Pb,{optional:!0});return()=>r.initialize()}},{provide:tr,multi:!0,useFactory:()=>{let r=g(Lb);return()=>{r.initialize()}}},{provide:gp,useFactory:Fb},e===!0?{provide:gg,useValue:!0}:[]]}function Fb(){let t=g(z),e=g(nt);return r=>t.runOutsideAngular(()=>e.handleError(r))}function nm(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var Lb=(()=>{let e=class e{constructor(){this.subscription=new J,this.initialized=!1,this.zone=g(z),this.pendingTasks=g(gt)}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(()=>{z.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{z.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var jb=(()=>{let e=class e{constructor(){this.appRef=g(nn),this.taskService=g(gt),this.ngZone=g(z),this.zonelessEnabled=g(pg),this.disableScheduling=g(gg,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new J,this.cancelScheduledCallback=null,this.shouldRefreshViews=!1,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Wi||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;switch(n){case 3:case 2:case 0:case 4:case 5:case 1:{this.shouldRefreshViews=!0;break}case 8:case 7:case 6:case 9:default:}if(!this.shouldScheduleTick())return;let o=this.useMicrotaskScheduler?jf:mg;this.pendingRenderTaskId=this.taskService.add(),this.zoneIsDefined?Zone.root.run(()=>{this.cancelScheduledCallback=o(()=>{this.tick(this.shouldRefreshViews)})}):this.cancelScheduledCallback=o(()=>{this.tick(this.shouldRefreshViews)})}shouldScheduleTick(){return!(this.disableScheduling||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&z.isInAngularZone())}tick(n){if(this.runningTick||this.appRef.destroyed)return;let o=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick(n)},void 0,this.schedulerTickApplyArgs)}catch(i){throw this.taskService.remove(o),i}finally{this.cleanup()}this.useMicrotaskScheduler=!0,jf(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(o)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.shouldRefreshViews=!1,this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Vb(){return typeof $localize<"u"&&$localize.locale||ts}var no=new E("",{providedIn:"root",factory:()=>g(no,R.Optional|R.SkipSelf)||Vb()}),rm=new E("",{providedIn:"root",factory:()=>rb});var om=new E(""),im=(()=>{let e=class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,o){let i=MI(o?.ngZone,nm({eventCoalescing:o?.ngZoneEventCoalescing,runCoalescing:o?.ngZoneRunCoalescing}));return i.run(()=>{let s=o?.ignoreChangesOutsideZone,a=gC(n.moduleType,this.injector,[...kb({ngZoneFactory:()=>i,ignoreChangesOutsideZone:s}),{provide:sr,useExisting:jb}]),c=a.injector.get(nt,null);return i.runOutsideAngular(()=>{let u=i.onError.subscribe({next:l=>{c.handleError(l)}});a.onDestroy(()=>{Ni(this._modules,a),u.unsubscribe()})}),_b(c,i,()=>{let u=a.injector.get(em);return u.runInitializers(),u.donePromise.then(()=>{let l=a.injector.get(no,ts);return ib(l||ts),this._moduleDoBootstrap(a),a})})})}bootstrapModule(n,o=[]){let i=tm({},o);return Ob(this.injector,i,n).then(s=>this.bootstrapModuleFactory(s,i))}_moduleDoBootstrap(n){let o=n.injector.get(nn);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(i=>o.bootstrap(i));else if(n.instance.ngDoBootstrap)n.instance.ngDoBootstrap(o);else throw new w(-403,!1);this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new w(404,!1);this._modules.slice().forEach(o=>o.destroy()),this._destroyListeners.forEach(o=>o());let n=this._injector.get(om,null);n&&(n.forEach(o=>o()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}};e.\u0275fac=function(o){return new(o||e)(C(Re))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})(),jr=null,sm=new E("");function Ub(t){if(jr&&!jr.get(sm,!1))throw new w(400,!1);Tb(),jr=t;let e=t.get(im);return Hb(t),e}function nl(t,e,r=[]){let n=`Platform: ${e}`,o=new E(n);return(i=[])=>{let s=am();if(!s||s.injector.get(sm,!1)){let a=[...r,...i,{provide:o,useValue:!0}];t?t(a):Ub($b(a,n))}return Bb(o)}}function $b(t=[],e){return Re.create({name:e,providers:[{provide:ls,useValue:"platform"},{provide:om,useValue:new Set([()=>jr=null])},...t]})}function Bb(t){let e=am();if(!e)throw new w(401,!1);return e}function am(){return jr?.get(im)??null}function Hb(t){t.get(Mu,null)?.forEach(r=>r())}var Nn=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=zb;let t=e;return t})();function zb(t){return Gb(pe(),S(),(t&16)===16)}function Gb(t,e,r){if(fs(t)&&!r){let n=Xt(t.index,e);return new bn(n,n)}else if(t.type&175){let n=e[ze];return new bn(n,e)}return null}var Kc=class{constructor(){}supports(e){return bg(e)}create(e){return new Jc(e)}},qb=(t,e)=>e,Jc=class{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||qb}forEachItem(e){let r;for(r=this._itHead;r!==null;r=r._next)e(r)}forEachOperation(e){let r=this._itHead,n=this._removalsHead,o=0,i=null;for(;r||n;){let s=!n||r&&r.currentIndex<Xf(n,o,i)?r:n,a=Xf(s,o,i),c=s.currentIndex;if(s===n)o--,n=n._nextRemoved;else if(r=r._next,s.previousIndex==null)o++;else{i||(i=[]);let u=a-o,l=c-o;if(u!=l){for(let h=0;h<u;h++){let f=h<i.length?i[h]:i[h]=0,p=f+h;l<=p&&p<u&&(i[h]=f+1)}let d=s.previousIndex;i[d]=l-u}}a!==c&&e(s,a,c)}}forEachPreviousItem(e){let r;for(r=this._previousItHead;r!==null;r=r._nextPrevious)e(r)}forEachAddedItem(e){let r;for(r=this._additionsHead;r!==null;r=r._nextAdded)e(r)}forEachMovedItem(e){let r;for(r=this._movesHead;r!==null;r=r._nextMoved)e(r)}forEachRemovedItem(e){let r;for(r=this._removalsHead;r!==null;r=r._nextRemoved)e(r)}forEachIdentityChange(e){let r;for(r=this._identityChangesHead;r!==null;r=r._nextIdentityChange)e(r)}diff(e){if(e==null&&(e=[]),!bg(e))throw new w(900,!1);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let r=this._itHead,n=!1,o,i,s;if(Array.isArray(e)){this.length=e.length;for(let a=0;a<this.length;a++)i=e[a],s=this._trackByFn(a,i),r===null||!Object.is(r.trackById,s)?(r=this._mismatch(r,i,s,a),n=!0):(n&&(r=this._verifyReinsertion(r,i,s,a)),Object.is(r.item,i)||this._addIdentityChange(r,i)),r=r._next}else o=0,mC(e,a=>{s=this._trackByFn(o,a),r===null||!Object.is(r.trackById,s)?(r=this._mismatch(r,a,s,o),n=!0):(n&&(r=this._verifyReinsertion(r,a,s,o)),Object.is(r.item,a)||this._addIdentityChange(r,a)),r=r._next,o++}),this.length=o;return this._truncate(r),this.collection=e,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;e!==null;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;e!==null;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,r,n,o){let i;return e===null?i=this._itTail:(i=e._prev,this._remove(e)),e=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null),e!==null?(Object.is(e.item,r)||this._addIdentityChange(e,r),this._reinsertAfter(e,i,o)):(e=this._linkedRecords===null?null:this._linkedRecords.get(n,o),e!==null?(Object.is(e.item,r)||this._addIdentityChange(e,r),this._moveAfter(e,i,o)):e=this._addAfter(new Xc(r,n),i,o)),e}_verifyReinsertion(e,r,n,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null);return i!==null?e=this._reinsertAfter(i,e._prev,o):e.currentIndex!=o&&(e.currentIndex=o,this._addToMoves(e,o)),e}_truncate(e){for(;e!==null;){let r=e._next;this._addToRemovals(this._unlink(e)),e=r}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,r,n){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(e);let o=e._prevRemoved,i=e._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(e,r,n),this._addToMoves(e,n),e}_moveAfter(e,r,n){return this._unlink(e),this._insertAfter(e,r,n),this._addToMoves(e,n),e}_addAfter(e,r,n){return this._insertAfter(e,r,n),this._additionsTail===null?this._additionsTail=this._additionsHead=e:this._additionsTail=this._additionsTail._nextAdded=e,e}_insertAfter(e,r,n){let o=r===null?this._itHead:r._next;return e._next=o,e._prev=r,o===null?this._itTail=e:o._prev=e,r===null?this._itHead=e:r._next=e,this._linkedRecords===null&&(this._linkedRecords=new ns),this._linkedRecords.put(e),e.currentIndex=n,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){this._linkedRecords!==null&&this._linkedRecords.remove(e);let r=e._prev,n=e._next;return r===null?this._itHead=n:r._next=n,n===null?this._itTail=r:n._prev=r,e}_addToMoves(e,r){return e.previousIndex===r||(this._movesTail===null?this._movesTail=this._movesHead=e:this._movesTail=this._movesTail._nextMoved=e),e}_addToRemovals(e){return this._unlinkedRecords===null&&(this._unlinkedRecords=new ns),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,r){return e.item=r,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=e:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=e,e}},Xc=class{constructor(e,r){this.item=e,this.trackById=r,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}},eu=class{constructor(){this._head=null,this._tail=null}add(e){this._head===null?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,r){let n;for(n=this._head;n!==null;n=n._nextDup)if((r===null||r<=n.currentIndex)&&Object.is(n.trackById,e))return n;return null}remove(e){let r=e._prevDup,n=e._nextDup;return r===null?this._head=n:r._nextDup=n,n===null?this._tail=r:n._prevDup=r,this._head===null}},ns=class{constructor(){this.map=new Map}put(e){let r=e.trackById,n=this.map.get(r);n||(n=new eu,this.map.set(r,n)),n.add(e)}get(e,r){let n=e,o=this.map.get(n);return o?o.get(e,r):null}remove(e){let r=e.trackById;return this.map.get(r).remove(e)&&this.map.delete(r),e}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function Xf(t,e,r){let n=t.previousIndex;if(n===null)return n;let o=0;return r&&n<r.length&&(o=r[n]),n+e+o}var tu=class{constructor(){}supports(e){return e instanceof Map||Qu(e)}create(){return new nu}},nu=class{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(e){let r;for(r=this._mapHead;r!==null;r=r._next)e(r)}forEachPreviousItem(e){let r;for(r=this._previousMapHead;r!==null;r=r._nextPrevious)e(r)}forEachChangedItem(e){let r;for(r=this._changesHead;r!==null;r=r._nextChanged)e(r)}forEachAddedItem(e){let r;for(r=this._additionsHead;r!==null;r=r._nextAdded)e(r)}forEachRemovedItem(e){let r;for(r=this._removalsHead;r!==null;r=r._nextRemoved)e(r)}diff(e){if(!e)e=new Map;else if(!(e instanceof Map||Qu(e)))throw new w(900,!1);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let r=this._mapHead;if(this._appendAfter=null,this._forEach(e,(n,o)=>{if(r&&r.key===o)this._maybeAddToChanges(r,n),this._appendAfter=r,r=r._next;else{let i=this._getOrCreateRecordForKey(o,n);r=this._insertBeforeOrAppend(r,i)}}),r){r._prev&&(r._prev._next=null),this._removalsHead=r;for(let n=r;n!==null;n=n._nextRemoved)n===this._mapHead&&(this._mapHead=null),this._records.delete(n.key),n._nextRemoved=n._next,n.previousValue=n.currentValue,n.currentValue=null,n._prev=null,n._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,r){if(e){let n=e._prev;return r._next=e,r._prev=n,e._prev=r,n&&(n._next=r),e===this._mapHead&&(this._mapHead=r),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=r,r._prev=this._appendAfter):this._mapHead=r,this._appendAfter=r,null}_getOrCreateRecordForKey(e,r){if(this._records.has(e)){let o=this._records.get(e);this._maybeAddToChanges(o,r);let i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}let n=new ru(e);return this._records.set(e,n),n.currentValue=r,this._addToAdditions(n),n}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;e!==null;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;e!=null;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,r){Object.is(r,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=r,this._addToChanges(e))}_addToAdditions(e){this._additionsHead===null?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){this._changesHead===null?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,r){e instanceof Map?e.forEach(r):Object.keys(e).forEach(n=>r(e[n],n))}},ru=class{constructor(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}};function eh(){return new rl([new Kc])}var rl=(()=>{let e=class e{constructor(n){this.factories=n}static create(n,o){if(o!=null){let i=o.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:o=>e.create(n,o||eh()),deps:[[e,new ss,new Zr]]}}find(n){let o=this.factories.find(i=>i.supports(n));if(o!=null)return o;throw new w(901,!1)}};e.\u0275prov=I({token:e,providedIn:"root",factory:eh});let t=e;return t})();function th(){return new ol([new tu])}var ol=(()=>{let e=class e{constructor(n){this.factories=n}static create(n,o){if(o){let i=o.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:o=>e.create(n,o||th()),deps:[[e,new ss,new Zr]]}}find(n){let o=this.factories.find(i=>i.supports(n));if(o)return o;throw new w(901,!1)}};e.\u0275prov=I({token:e,providedIn:"root",factory:th});let t=e;return t})();var cm=nl(null,"core",[]),um=(()=>{let e=class e{constructor(n){}};e.\u0275fac=function(o){return new(o||e)(C(nn))},e.\u0275mod=Mt({type:e}),e.\u0275inj=bt({});let t=e;return t})();var lm=new E("");function ro(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function Wb(t,e=NaN){return!isNaN(parseFloat(t))&&!isNaN(Number(t))?Number(t):e}function mk(t,e){tn("NgSignals");let r=Td(t);return e?.equal&&(r[Qe].equal=e.equal),r}function Zb(t){let e=F(null);try{return t()}finally{F(e)}}var Yb=new E("",{providedIn:"root",factory:()=>g(Qb)}),Qb=(()=>{let e=class e{};e.\u0275prov=I({token:e,providedIn:"root",factory:()=>new ou});let t=e;return t})(),ou=class{constructor(){this.queuedEffectCount=0,this.queues=new Map,this.pendingTasks=g(gt),this.taskId=null}scheduleEffect(e){if(this.enqueue(e),this.taskId===null){let r=this.taskId=this.pendingTasks.add();queueMicrotask(()=>{this.flush(),this.pendingTasks.remove(r),this.taskId=null})}}enqueue(e){let r=e.creationZone;this.queues.has(r)||this.queues.set(r,new Set);let n=this.queues.get(r);n.has(e)||(this.queuedEffectCount++,n.add(e))}flush(){for(;this.queuedEffectCount>0;)for(let[e,r]of this.queues)e===null?this.flushQueue(r):e.run(()=>this.flushQueue(r))}flushQueue(e){for(let r of e)e.delete(r),this.queuedEffectCount--,r.run()}},iu=class{constructor(e,r,n,o,i,s){this.scheduler=e,this.effectFn=r,this.creationZone=n,this.injector=i,this.watcher=Od(a=>this.runEffect(a),()=>this.schedule(),s),this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}runEffect(e){try{this.effectFn(e)}catch(r){this.injector.get(nt,null,{optional:!0})?.handleError(r)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}};function Kb(t,e){tn("NgSignals"),!e?.injector&&Ph(Kb);let r=e?.injector??g(Re),n=e?.manualCleanup!==!0?r.get(ys):null,o=new iu(r.get(Yb),t,typeof Zone>"u"?null:Zone.current,n,r,e?.allowSignalWrites??!1),i=r.get(Nn,null,{optional:!0});return!i||!(i._lView[T]&8)?o.watcher.notify():(i._lView[bi]??=[]).push(o.watcher.notify),o}function dm(t){let e=Zt(t);if(!e)return null;let r=new ur(e);return{get selector(){return r.selector},get type(){return r.componentType},get inputs(){return r.inputs},get outputs(){return r.outputs},get ngContentSelectors(){return r.ngContentSelectors},get isStandalone(){return e.standalone},get isSignal(){return e.signals}}}var Em=null;function _n(){return Em}function Im(t){Em??=t}var Hs=class{};var ue=new E(""),vl=(()=>{let e=class e{historyGo(n){throw new Error("")}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:()=>g(Xb),providedIn:"platform"});let t=e;return t})(),Cm=new E(""),Xb=(()=>{let e=class e extends vl{constructor(){super(),this._doc=g(ue),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return _n().getBaseHref(this._doc)}onPopState(n){let o=_n().getGlobalEventTarget(this._doc,"window");return o.addEventListener("popstate",n,!1),()=>o.removeEventListener("popstate",n)}onHashChange(n){let o=_n().getGlobalEventTarget(this._doc,"window");return o.addEventListener("hashchange",n,!1),()=>o.removeEventListener("hashchange",n)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(n){this._location.pathname=n}pushState(n,o,i){this._history.pushState(n,o,i)}replaceState(n,o,i){this._history.replaceState(n,o,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:()=>new e,providedIn:"platform"});let t=e;return t})();function yl(t,e){if(t.length==0)return e;if(e.length==0)return t;let r=0;return t.endsWith("/")&&r++,e.startsWith("/")&&r++,r==2?t+e.substring(1):r==1?t+e:t+"/"+e}function fm(t){let e=t.match(/#|\?|$/),r=e&&e.index||t.length,n=r-(t[r-1]==="/"?1:0);return t.slice(0,n)+t.slice(r)}function At(t){return t&&t[0]!=="?"?"?"+t:t}var Pt=(()=>{let e=class e{historyGo(n){throw new Error("")}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:()=>g(Dl),providedIn:"root"});let t=e;return t})(),bm=new E(""),Dl=(()=>{let e=class e extends Pt{constructor(n,o){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=o??this._platformLocation.getBaseHrefFromDOM()??g(ue).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return yl(this._baseHref,n)}path(n=!1){let o=this._platformLocation.pathname+At(this._platformLocation.search),i=this._platformLocation.hash;return i&&n?`${o}${i}`:o}pushState(n,o,i,s){let a=this.prepareExternalUrl(i+At(s));this._platformLocation.pushState(n,o,a)}replaceState(n,o,i,s){let a=this.prepareExternalUrl(i+At(s));this._platformLocation.replaceState(n,o,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}};e.\u0275fac=function(o){return new(o||e)(C(vl),C(bm,8))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Mm=(()=>{let e=class e extends Pt{constructor(n,o){super(),this._platformLocation=n,this._baseHref="",this._removeListenerFns=[],o!=null&&(this._baseHref=o)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}path(n=!1){let o=this._platformLocation.hash??"#";return o.length>0?o.substring(1):o}prepareExternalUrl(n){let o=yl(this._baseHref,n);return o.length>0?"#"+o:o}pushState(n,o,i,s){let a=this.prepareExternalUrl(i+At(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.pushState(n,o,a)}replaceState(n,o,i,s){let a=this.prepareExternalUrl(i+At(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.replaceState(n,o,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}};e.\u0275fac=function(o){return new(o||e)(C(vl),C(bm,8))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})(),yr=(()=>{let e=class e{constructor(n){this._subject=new fe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;let o=this._locationStrategy.getBaseHref();this._basePath=nM(fm(hm(o))),this._locationStrategy.onPopState(i=>{this._subject.emit({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,o=""){return this.path()==this.normalize(n+At(o))}normalize(n){return e.stripTrailingSlash(tM(this._basePath,hm(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,o="",i=null){this._locationStrategy.pushState(i,"",n,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+At(o)),i)}replaceState(n,o="",i=null){this._locationStrategy.replaceState(i,"",n,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+At(o)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(o=>{this._notifyUrlChangeListeners(o.url,o.state)}),()=>{let o=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(o,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",o){this._urlChangeListeners.forEach(i=>i(n,o))}subscribe(n,o,i){return this._subject.subscribe({next:n,error:o,complete:i})}};e.normalizeQueryParams=At,e.joinWithSlash=yl,e.stripTrailingSlash=fm,e.\u0275fac=function(o){return new(o||e)(C(Pt))},e.\u0275prov=I({token:e,factory:()=>eM(),providedIn:"root"});let t=e;return t})();function eM(){return new yr(C(Pt))}function tM(t,e){if(!t||!e.startsWith(t))return e;let r=e.substring(t.length);return r===""||["/",";","?","#"].includes(r[0])?r:e}function hm(t){return t.replace(/\/index.html$/,"")}function nM(t){if(new RegExp("^(https?:)?//").test(t)){let[,r]=t.split(/\/\/[^\/]+/);return r}return t}var Sm={ADP:[void 0,void 0,0],AFN:[void 0,"\u060B",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058F",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20BC"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09F3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xA5","\xA5"],COP:[void 0,"$",2],CRC:[void 0,"\u20A1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010D",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xA3"],ESP:[void 0,"\u20A7",0],EUR:["\u20AC"],FJD:[void 0,"$"],FKP:[void 0,"\xA3"],GBP:["\xA3"],GEL:[void 0,"\u20BE"],GHS:[void 0,"GH\u20B5"],GIP:[void 0,"\xA3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20AA"],INR:["\u20B9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xA5",void 0,0],KHR:[void 0,"\u17DB"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20A9",0],KRW:["\u20A9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20B8"],LAK:[void 0,"\u20AD",0],LBP:[void 0,"L\xA3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20AE",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20A6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20B1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20B2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20BD"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xA3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xA3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xA3",0],THB:[void 0,"\u0E3F"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20BA"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20B4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20AB",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202FCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xA4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]},Tm=function(t){return t[t.Decimal=0]="Decimal",t[t.Percent=1]="Percent",t[t.Currency=2]="Currency",t[t.Scientific=3]="Scientific",t}(Tm||{});var Ee=function(t){return t[t.Format=0]="Format",t[t.Standalone=1]="Standalone",t}(Ee||{}),q=function(t){return t[t.Narrow=0]="Narrow",t[t.Abbreviated=1]="Abbreviated",t[t.Wide=2]="Wide",t[t.Short=3]="Short",t}(q||{}),Le=function(t){return t[t.Short=0]="Short",t[t.Medium=1]="Medium",t[t.Long=2]="Long",t[t.Full=3]="Full",t}(Le||{}),je={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function rM(t){return Ne(t)[K.LocaleId]}function oM(t,e,r){let n=Ne(t),o=[n[K.DayPeriodsFormat],n[K.DayPeriodsStandalone]],i=Ze(o,e);return Ze(i,r)}function iM(t,e,r){let n=Ne(t),o=[n[K.DaysFormat],n[K.DaysStandalone]],i=Ze(o,e);return Ze(i,r)}function sM(t,e,r){let n=Ne(t),o=[n[K.MonthsFormat],n[K.MonthsStandalone]],i=Ze(o,e);return Ze(i,r)}function aM(t,e){let n=Ne(t)[K.Eras];return Ze(n,e)}function ks(t,e){let r=Ne(t);return Ze(r[K.DateFormat],e)}function Fs(t,e){let r=Ne(t);return Ze(r[K.TimeFormat],e)}function Ls(t,e){let n=Ne(t)[K.DateTimeFormat];return Ze(n,e)}function Rt(t,e){let r=Ne(t),n=r[K.NumberSymbols][e];if(typeof n>"u"){if(e===je.CurrencyDecimal)return r[K.NumberSymbols][je.Decimal];if(e===je.CurrencyGroup)return r[K.NumberSymbols][je.Group]}return n}function cM(t,e){return Ne(t)[K.NumberFormats][e]}function uM(t){return Ne(t)[K.Currencies]}function xm(t){if(!t[K.ExtraData])throw new Error(`Missing extra locale data for the locale "${t[K.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function lM(t){let e=Ne(t);return xm(e),(e[K.ExtraData][2]||[]).map(n=>typeof n=="string"?sl(n):[sl(n[0]),sl(n[1])])}function dM(t,e,r){let n=Ne(t);xm(n);let o=[n[K.ExtraData][0],n[K.ExtraData][1]],i=Ze(o,e)||[];return Ze(i,r)||[]}function Ze(t,e){for(let r=e;r>-1;r--)if(typeof t[r]<"u")return t[r];throw new Error("Locale data API: locale data undefined")}function sl(t){let[e,r]=t.split(":");return{hours:+e,minutes:+r}}function fM(t,e,r="en"){let n=uM(r)[t]||Sm[t]||[],o=n[1];return e==="narrow"&&typeof o=="string"?o:n[0]||t}var hM=2;function pM(t){let e,r=Sm[t];return r&&(e=r[2]),typeof e=="number"?e:hM}var gM=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,js={},mM=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/,Ot=function(t){return t[t.Short=0]="Short",t[t.ShortGMT=1]="ShortGMT",t[t.Long=2]="Long",t[t.Extended=3]="Extended",t}(Ot||{}),$=function(t){return t[t.FullYear=0]="FullYear",t[t.Month=1]="Month",t[t.Date=2]="Date",t[t.Hours=3]="Hours",t[t.Minutes=4]="Minutes",t[t.Seconds=5]="Seconds",t[t.FractionalSeconds=6]="FractionalSeconds",t[t.Day=7]="Day",t}($||{}),U=function(t){return t[t.DayPeriods=0]="DayPeriods",t[t.Days=1]="Days",t[t.Months=2]="Months",t[t.Eras=3]="Eras",t}(U||{});function vM(t,e,r,n){let o=SM(t);e=_t(r,e)||e;let s=[],a;for(;e;)if(a=mM.exec(e),a){s=s.concat(a.slice(1));let l=s.pop();if(!l)break;e=l}else{s.push(e);break}let c=o.getTimezoneOffset();n&&(c=_m(n,c),o=MM(o,n,!0));let u="";return s.forEach(l=>{let d=CM(l);u+=d?d(o,r,c):l==="''"?"'":l.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}function zs(t,e,r){let n=new Date(0);return n.setFullYear(t,e,r),n.setHours(0,0,0),n}function _t(t,e){let r=rM(t);if(js[r]??={},js[r][e])return js[r][e];let n="";switch(e){case"shortDate":n=ks(t,Le.Short);break;case"mediumDate":n=ks(t,Le.Medium);break;case"longDate":n=ks(t,Le.Long);break;case"fullDate":n=ks(t,Le.Full);break;case"shortTime":n=Fs(t,Le.Short);break;case"mediumTime":n=Fs(t,Le.Medium);break;case"longTime":n=Fs(t,Le.Long);break;case"fullTime":n=Fs(t,Le.Full);break;case"short":let o=_t(t,"shortTime"),i=_t(t,"shortDate");n=Vs(Ls(t,Le.Short),[o,i]);break;case"medium":let s=_t(t,"mediumTime"),a=_t(t,"mediumDate");n=Vs(Ls(t,Le.Medium),[s,a]);break;case"long":let c=_t(t,"longTime"),u=_t(t,"longDate");n=Vs(Ls(t,Le.Long),[c,u]);break;case"full":let l=_t(t,"fullTime"),d=_t(t,"fullDate");n=Vs(Ls(t,Le.Full),[l,d]);break}return n&&(js[r][e]=n),n}function Vs(t,e){return e&&(t=t.replace(/\{([^}]+)}/g,function(r,n){return e!=null&&n in e?e[n]:r})),t}function it(t,e,r="-",n,o){let i="";(t<0||o&&t<=0)&&(o?t=-t+1:(t=-t,i=r));let s=String(t);for(;s.length<e;)s="0"+s;return n&&(s=s.slice(s.length-e)),i+s}function yM(t,e){return it(t,3).substring(0,e)}function re(t,e,r=0,n=!1,o=!1){return function(i,s){let a=DM(t,i);if((r>0||a>-r)&&(a+=r),t===$.Hours)a===0&&r===-12&&(a=12);else if(t===$.FractionalSeconds)return yM(a,e);let c=Rt(s,je.MinusSign);return it(a,e,c,n,o)}}function DM(t,e){switch(t){case $.FullYear:return e.getFullYear();case $.Month:return e.getMonth();case $.Date:return e.getDate();case $.Hours:return e.getHours();case $.Minutes:return e.getMinutes();case $.Seconds:return e.getSeconds();case $.FractionalSeconds:return e.getMilliseconds();case $.Day:return e.getDay();default:throw new Error(`Unknown DateType value "${t}".`)}}function W(t,e,r=Ee.Format,n=!1){return function(o,i){return wM(o,i,t,e,r,n)}}function wM(t,e,r,n,o,i){switch(r){case U.Months:return sM(e,o,n)[t.getMonth()];case U.Days:return iM(e,o,n)[t.getDay()];case U.DayPeriods:let s=t.getHours(),a=t.getMinutes();if(i){let u=lM(e),l=dM(e,o,n),d=u.findIndex(h=>{if(Array.isArray(h)){let[f,p]=h,D=s>=f.hours&&a>=f.minutes,m=s<p.hours||s===p.hours&&a<p.minutes;if(f.hours<p.hours){if(D&&m)return!0}else if(D||m)return!0}else if(h.hours===s&&h.minutes===a)return!0;return!1});if(d!==-1)return l[d]}return oM(e,o,n)[s<12?0:1];case U.Eras:return aM(e,n)[t.getFullYear()<=0?0:1];default:let c=r;throw new Error(`unexpected translation type ${c}`)}}function Us(t){return function(e,r,n){let o=-1*n,i=Rt(r,je.MinusSign),s=o>0?Math.floor(o/60):Math.ceil(o/60);switch(t){case Ot.Short:return(o>=0?"+":"")+it(s,2,i)+it(Math.abs(o%60),2,i);case Ot.ShortGMT:return"GMT"+(o>=0?"+":"")+it(s,1,i);case Ot.Long:return"GMT"+(o>=0?"+":"")+it(s,2,i)+":"+it(Math.abs(o%60),2,i);case Ot.Extended:return n===0?"Z":(o>=0?"+":"")+it(s,2,i)+":"+it(Math.abs(o%60),2,i);default:throw new Error(`Unknown zone width "${t}"`)}}}var EM=0,Bs=4;function IM(t){let e=zs(t,EM,1).getDay();return zs(t,0,1+(e<=Bs?Bs:Bs+7)-e)}function Nm(t){let e=t.getDay(),r=e===0?-3:Bs-e;return zs(t.getFullYear(),t.getMonth(),t.getDate()+r)}function al(t,e=!1){return function(r,n){let o;if(e){let i=new Date(r.getFullYear(),r.getMonth(),1).getDay()-1,s=r.getDate();o=1+Math.floor((s+i)/7)}else{let i=Nm(r),s=IM(i.getFullYear()),a=i.getTime()-s.getTime();o=1+Math.round(a/6048e5)}return it(o,t,Rt(n,je.MinusSign))}}function $s(t,e=!1){return function(r,n){let i=Nm(r).getFullYear();return it(i,t,Rt(n,je.MinusSign),e)}}var cl={};function CM(t){if(cl[t])return cl[t];let e;switch(t){case"G":case"GG":case"GGG":e=W(U.Eras,q.Abbreviated);break;case"GGGG":e=W(U.Eras,q.Wide);break;case"GGGGG":e=W(U.Eras,q.Narrow);break;case"y":e=re($.FullYear,1,0,!1,!0);break;case"yy":e=re($.FullYear,2,0,!0,!0);break;case"yyy":e=re($.FullYear,3,0,!1,!0);break;case"yyyy":e=re($.FullYear,4,0,!1,!0);break;case"Y":e=$s(1);break;case"YY":e=$s(2,!0);break;case"YYY":e=$s(3);break;case"YYYY":e=$s(4);break;case"M":case"L":e=re($.Month,1,1);break;case"MM":case"LL":e=re($.Month,2,1);break;case"MMM":e=W(U.Months,q.Abbreviated);break;case"MMMM":e=W(U.Months,q.Wide);break;case"MMMMM":e=W(U.Months,q.Narrow);break;case"LLL":e=W(U.Months,q.Abbreviated,Ee.Standalone);break;case"LLLL":e=W(U.Months,q.Wide,Ee.Standalone);break;case"LLLLL":e=W(U.Months,q.Narrow,Ee.Standalone);break;case"w":e=al(1);break;case"ww":e=al(2);break;case"W":e=al(1,!0);break;case"d":e=re($.Date,1);break;case"dd":e=re($.Date,2);break;case"c":case"cc":e=re($.Day,1);break;case"ccc":e=W(U.Days,q.Abbreviated,Ee.Standalone);break;case"cccc":e=W(U.Days,q.Wide,Ee.Standalone);break;case"ccccc":e=W(U.Days,q.Narrow,Ee.Standalone);break;case"cccccc":e=W(U.Days,q.Short,Ee.Standalone);break;case"E":case"EE":case"EEE":e=W(U.Days,q.Abbreviated);break;case"EEEE":e=W(U.Days,q.Wide);break;case"EEEEE":e=W(U.Days,q.Narrow);break;case"EEEEEE":e=W(U.Days,q.Short);break;case"a":case"aa":case"aaa":e=W(U.DayPeriods,q.Abbreviated);break;case"aaaa":e=W(U.DayPeriods,q.Wide);break;case"aaaaa":e=W(U.DayPeriods,q.Narrow);break;case"b":case"bb":case"bbb":e=W(U.DayPeriods,q.Abbreviated,Ee.Standalone,!0);break;case"bbbb":e=W(U.DayPeriods,q.Wide,Ee.Standalone,!0);break;case"bbbbb":e=W(U.DayPeriods,q.Narrow,Ee.Standalone,!0);break;case"B":case"BB":case"BBB":e=W(U.DayPeriods,q.Abbreviated,Ee.Format,!0);break;case"BBBB":e=W(U.DayPeriods,q.Wide,Ee.Format,!0);break;case"BBBBB":e=W(U.DayPeriods,q.Narrow,Ee.Format,!0);break;case"h":e=re($.Hours,1,-12);break;case"hh":e=re($.Hours,2,-12);break;case"H":e=re($.Hours,1);break;case"HH":e=re($.Hours,2);break;case"m":e=re($.Minutes,1);break;case"mm":e=re($.Minutes,2);break;case"s":e=re($.Seconds,1);break;case"ss":e=re($.Seconds,2);break;case"S":e=re($.FractionalSeconds,1);break;case"SS":e=re($.FractionalSeconds,2);break;case"SSS":e=re($.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":e=Us(Ot.Short);break;case"ZZZZZ":e=Us(Ot.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":e=Us(Ot.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":e=Us(Ot.Long);break;default:return null}return cl[t]=e,e}function _m(t,e){t=t.replace(/:/g,"");let r=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(r)?e:r}function bM(t,e){return t=new Date(t.getTime()),t.setMinutes(t.getMinutes()+e),t}function MM(t,e,r){let n=r?-1:1,o=t.getTimezoneOffset(),i=_m(e,o);return bM(t,n*(i-o))}function SM(t){if(pm(t))return t;if(typeof t=="number"&&!isNaN(t))return new Date(t);if(typeof t=="string"){if(t=t.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(t)){let[o,i=1,s=1]=t.split("-").map(a=>+a);return zs(o,i-1,s)}let r=parseFloat(t);if(!isNaN(t-r))return new Date(r);let n;if(n=t.match(gM))return TM(n)}let e=new Date(t);if(!pm(e))throw new Error(`Unable to convert "${t}" into a date`);return e}function TM(t){let e=new Date(0),r=0,n=0,o=t[8]?e.setUTCFullYear:e.setFullYear,i=t[8]?e.setUTCHours:e.setHours;t[9]&&(r=Number(t[9]+t[10]),n=Number(t[9]+t[11])),o.call(e,Number(t[1]),Number(t[2])-1,Number(t[3]));let s=Number(t[4]||0)-r,a=Number(t[5]||0)-n,c=Number(t[6]||0),u=Math.floor(parseFloat("0."+(t[7]||0))*1e3);return i.call(e,s,a,c,u),e}function pm(t){return t instanceof Date&&!isNaN(t.valueOf())}var xM=/^(\d+)?\.((\d+)(-(\d+))?)?$/,gm=22,Gs=".",oo="0",NM=";",_M=",",ul="#",mm="\xA4";function AM(t,e,r,n,o,i,s=!1){let a="",c=!1;if(!isFinite(t))a=Rt(r,je.Infinity);else{let u=kM(t);s&&(u=PM(u));let l=e.minInt,d=e.minFrac,h=e.maxFrac;if(i){let j=i.match(xM);if(j===null)throw new Error(`${i} is not a valid digit info`);let H=j[1],V=j[3],me=j[5];H!=null&&(l=ll(H)),V!=null&&(d=ll(V)),me!=null?h=ll(me):V!=null&&d>h&&(h=d)}FM(u,d,h);let f=u.digits,p=u.integerLen,D=u.exponent,m=[];for(c=f.every(j=>!j);p<l;p++)f.unshift(0);for(;p<0;p++)f.unshift(0);p>0?m=f.splice(p,f.length):(m=f,f=[0]);let v=[];for(f.length>=e.lgSize&&v.unshift(f.splice(-e.lgSize,f.length).join(""));f.length>e.gSize;)v.unshift(f.splice(-e.gSize,f.length).join(""));f.length&&v.unshift(f.join("")),a=v.join(Rt(r,n)),m.length&&(a+=Rt(r,o)+m.join("")),D&&(a+=Rt(r,je.Exponential)+"+"+D)}return t<0&&!c?a=e.negPre+a+e.negSuf:a=e.posPre+a+e.posSuf,a}function RM(t,e,r,n,o){let i=cM(e,Tm.Currency),s=OM(i,Rt(e,je.MinusSign));return s.minFrac=pM(n),s.maxFrac=s.minFrac,AM(t,s,e,je.CurrencyGroup,je.CurrencyDecimal,o).replace(mm,r).replace(mm,"").trim()}function OM(t,e="-"){let r={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},n=t.split(NM),o=n[0],i=n[1],s=o.indexOf(Gs)!==-1?o.split(Gs):[o.substring(0,o.lastIndexOf(oo)+1),o.substring(o.lastIndexOf(oo)+1)],a=s[0],c=s[1]||"";r.posPre=a.substring(0,a.indexOf(ul));for(let l=0;l<c.length;l++){let d=c.charAt(l);d===oo?r.minFrac=r.maxFrac=l+1:d===ul?r.maxFrac=l+1:r.posSuf+=d}let u=a.split(_M);if(r.gSize=u[1]?u[1].length:0,r.lgSize=u[2]||u[1]?(u[2]||u[1]).length:0,i){let l=o.length-r.posPre.length-r.posSuf.length,d=i.indexOf(ul);r.negPre=i.substring(0,d).replace(/'/g,""),r.negSuf=i.slice(d+l).replace(/'/g,"")}else r.negPre=e+r.posPre,r.negSuf=r.posSuf;return r}function PM(t){if(t.digits[0]===0)return t;let e=t.digits.length-t.integerLen;return t.exponent?t.exponent+=2:(e===0?t.digits.push(0,0):e===1&&t.digits.push(0),t.integerLen+=2),t}function kM(t){let e=Math.abs(t)+"",r=0,n,o,i,s,a;for((o=e.indexOf(Gs))>-1&&(e=e.replace(Gs,"")),(i=e.search(/e/i))>0?(o<0&&(o=i),o+=+e.slice(i+1),e=e.substring(0,i)):o<0&&(o=e.length),i=0;e.charAt(i)===oo;i++);if(i===(a=e.length))n=[0],o=1;else{for(a--;e.charAt(a)===oo;)a--;for(o-=i,n=[],s=0;i<=a;i++,s++)n[s]=Number(e.charAt(i))}return o>gm&&(n=n.splice(0,gm-1),r=o-1,o=1),{digits:n,exponent:r,integerLen:o}}function FM(t,e,r){if(e>r)throw new Error(`The minimum number of digits after fraction (${e}) is higher than the maximum (${r}).`);let n=t.digits,o=n.length-t.integerLen,i=Math.min(Math.max(e,o),r),s=i+t.integerLen,a=n[s];if(s>0){n.splice(Math.max(t.integerLen,s));for(let d=s;d<n.length;d++)n[d]=0}else{o=Math.max(0,o),t.integerLen=1,n.length=Math.max(1,s=i+1),n[0]=0;for(let d=1;d<s;d++)n[d]=0}if(a>=5)if(s-1<0){for(let d=0;d>s;d--)n.unshift(0),t.integerLen++;n.unshift(1),t.integerLen++}else n[s-1]++;for(;o<Math.max(0,i);o++)n.push(0);let c=i!==0,u=e+t.integerLen,l=n.reduceRight(function(d,h,f,p){return h=h+d,p[f]=h<10?h:h-10,c&&(p[f]===0&&f>=u?p.pop():c=!1),h>=10?1:0},0);l&&(n.unshift(l),t.integerLen++)}function ll(t){let e=parseInt(t);if(isNaN(e))throw new Error("Invalid integer literal when parsing "+t);return e}function qs(t,e){e=encodeURIComponent(e);for(let r of t.split(";")){let n=r.indexOf("="),[o,i]=n==-1?[r,""]:[r.slice(0,n),r.slice(n+1)];if(o.trim()===e)return decodeURIComponent(i)}return null}var dl=/\s+/,vm=[],kk=(()=>{let e=class e{constructor(n,o){this._ngEl=n,this._renderer=o,this.initialClasses=vm,this.stateMap=new Map}set klass(n){this.initialClasses=n!=null?n.trim().split(dl):vm}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(dl):n}ngDoCheck(){for(let o of this.initialClasses)this._updateState(o,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let o of n)this._updateState(o,!0);else if(n!=null)for(let o of Object.keys(n))this._updateState(o,!!n[o]);this._applyStateDiff()}_updateState(n,o){let i=this.stateMap.get(n);i!==void 0?(i.enabled!==o&&(i.changed=!0,i.enabled=o),i.touched=!0):this.stateMap.set(n,{enabled:o,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let o=n[0],i=n[1];i.changed?(this._toggleClass(o,i.enabled),i.changed=!1):i.touched||(i.enabled&&this._toggleClass(o,!1),this.stateMap.delete(o)),i.touched=!1}}_toggleClass(n,o){n=n.trim(),n.length>0&&n.split(dl).forEach(i=>{o?this._renderer.addClass(this._ngEl.nativeElement,i):this._renderer.removeClass(this._ngEl.nativeElement,i)})}};e.\u0275fac=function(o){return new(o||e)(L(rt),L(xn))},e.\u0275dir=Ge({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0});let t=e;return t})();var fl=class{constructor(e,r,n,o){this.$implicit=e,this.ngForOf=r,this.index=n,this.count=o}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},Fk=(()=>{let e=class e{set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}constructor(n,o,i){this._viewContainer=n,this._template=o,this._differs=i,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let n=this._ngForOf;if(!this._differ&&n)if(0)try{}catch{}else this._differ=this._differs.find(n).create(this.ngForTrackBy)}if(this._differ){let n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){let o=this._viewContainer;n.forEachOperation((i,s,a)=>{if(i.previousIndex==null)o.createEmbeddedView(this._template,new fl(i.item,this._ngForOf,-1,-1),a===null?void 0:a);else if(a==null)o.remove(s===null?void 0:s);else if(s!==null){let c=o.get(s);o.move(c,a),ym(c,i)}});for(let i=0,s=o.length;i<s;i++){let c=o.get(i).context;c.index=i,c.count=s,c.ngForOf=this._ngForOf}n.forEachIdentityChange(i=>{let s=o.get(i.currentIndex);ym(s,i)})}static ngTemplateContextGuard(n,o){return!0}};e.\u0275fac=function(o){return new(o||e)(L(vt),L(Kt),L(rl))},e.\u0275dir=Ge({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0});let t=e;return t})();function ym(t,e){t.context.$implicit=e.item}var Lk=(()=>{let e=class e{constructor(n,o){this._viewContainer=n,this._context=new hl,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=o}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){Dm("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){Dm("ngIfElse",n),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(n,o){return!0}};e.\u0275fac=function(o){return new(o||e)(L(vt),L(Kt))},e.\u0275dir=Ge({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});let t=e;return t})(),hl=class{constructor(){this.$implicit=null,this.ngIf=null}};function Dm(t,e){if(!!!(!e||e.createEmbeddedView))throw new Error(`${t} must be a TemplateRef, but received '${De(e)}'.`)}var pl=class{constructor(e,r){this._viewContainerRef=e,this._templateRef=r,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(e){e&&!this._created?this.create():!e&&this._created&&this.destroy()}},LM=(()=>{let e=class e{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(n){this._ngSwitch=n,this._caseCount===0&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(n){this._defaultViews.push(n)}_matchCase(n){let o=n===this._ngSwitch;return this._lastCasesMatched||=o,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),o}_updateDefaultCases(n){if(this._defaultViews.length>0&&n!==this._defaultUsed){this._defaultUsed=n;for(let o of this._defaultViews)o.enforceState(n)}}};e.\u0275fac=function(o){return new(o||e)},e.\u0275dir=Ge({type:e,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0});let t=e;return t})(),jk=(()=>{let e=class e{constructor(n,o,i){this.ngSwitch=i,i._addCase(),this._view=new pl(n,o)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}};e.\u0275fac=function(o){return new(o||e)(L(vt),L(Kt),L(LM,9))},e.\u0275dir=Ge({type:e,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0});let t=e;return t})();var Vk=(()=>{let e=class e{constructor(n,o,i){this._ngEl=n,this._differs=o,this._renderer=i,this._ngStyle=null,this._differ=null}set ngStyle(n){this._ngStyle=n,!this._differ&&n&&(this._differ=this._differs.find(n).create())}ngDoCheck(){if(this._differ){let n=this._differ.diff(this._ngStyle);n&&this._applyChanges(n)}}_setStyle(n,o){let[i,s]=n.split("."),a=i.indexOf("-")===-1?void 0:pt.DashCase;o!=null?this._renderer.setStyle(this._ngEl.nativeElement,i,s?`${o}${s}`:o,a):this._renderer.removeStyle(this._ngEl.nativeElement,i,a)}_applyChanges(n){n.forEachRemovedItem(o=>this._setStyle(o.key,null)),n.forEachAddedItem(o=>this._setStyle(o.key,o.currentValue)),n.forEachChangedItem(o=>this._setStyle(o.key,o.currentValue))}};e.\u0275fac=function(o){return new(o||e)(L(rt),L(ol),L(xn))},e.\u0275dir=Ge({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0});let t=e;return t})(),Uk=(()=>{let e=class e{constructor(n){this._viewContainerRef=n,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(n){if(this._shouldRecreateView(n)){let o=this._viewContainerRef;if(this._viewRef&&o.remove(o.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let i=this._createContextForwardProxy();this._viewRef=o.createEmbeddedView(this.ngTemplateOutlet,i,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,o,i)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,o,i):!1,get:(n,o,i)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,o,i)}})}};e.\u0275fac=function(o){return new(o||e)(L(vt))},e.\u0275dir=Ge({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[Sn]});let t=e;return t})();function wl(t,e){return new w(2100,!1)}var $k=(()=>{let e=class e{transform(n){if(n==null)return null;if(typeof n!="string")throw wl(e,n);return n.toLowerCase()}};e.\u0275fac=function(o){return new(o||e)},e.\u0275pipe=cs({name:"lowercase",type:e,pure:!0,standalone:!0});let t=e;return t})();var jM="mediumDate",VM=new E(""),UM=new E(""),Bk=(()=>{let e=class e{constructor(n,o,i){this.locale=n,this.defaultTimezone=o,this.defaultOptions=i}transform(n,o,i,s){if(n==null||n===""||n!==n)return null;try{let a=o??this.defaultOptions?.dateFormat??jM,c=i??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return vM(n,a,s||this.locale,c)}catch(a){throw wl(e,a.message)}}};e.\u0275fac=function(o){return new(o||e)(L(no,16),L(VM,24),L(UM,24))},e.\u0275pipe=cs({name:"date",type:e,pure:!0,standalone:!0});let t=e;return t})();var Hk=(()=>{let e=class e{constructor(n,o="USD"){this._locale=n,this._defaultCurrencyCode=o}transform(n,o=this._defaultCurrencyCode,i="symbol",s,a){if(!$M(n))return null;a||=this._locale,typeof i=="boolean"&&(i=i?"symbol":"code");let c=o||this._defaultCurrencyCode;i!=="code"&&(i==="symbol"||i==="symbol-narrow"?c=fM(c,i==="symbol"?"wide":"narrow",a):c=i);try{let u=BM(n);return RM(u,a,c,o,s)}catch(u){throw wl(e,u.message)}}};e.\u0275fac=function(o){return new(o||e)(L(no,16),L(rm,16))},e.\u0275pipe=cs({name:"currency",type:e,pure:!0,standalone:!0});let t=e;return t})();function $M(t){return!(t==null||t===""||t!==t)}function BM(t){if(typeof t=="string"&&!isNaN(Number(t)-parseFloat(t)))return Number(t);if(typeof t!="number")throw new Error(`${t} is not a number`);return t}var Am=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=Mt({type:e}),e.\u0275inj=bt({});let t=e;return t})(),El="browser",HM="server";function zM(t){return t===El}function Ws(t){return t===HM}var Rm=(()=>{let e=class e{};e.\u0275prov=I({token:e,providedIn:"root",factory:()=>zM(g(mt))?new gl(g(ue),window):new ml});let t=e;return t})(),gl=class{constructor(e,r){this.document=e,this.window=r,this.offset=()=>[0,0]}setOffset(e){Array.isArray(e)?this.offset=()=>e:this.offset=e}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(e){this.window.scrollTo(e[0],e[1])}scrollToAnchor(e){let r=GM(this.document,e);r&&(this.scrollToElement(r),r.focus())}setHistoryScrollRestoration(e){this.window.history.scrollRestoration=e}scrollToElement(e){let r=e.getBoundingClientRect(),n=r.left+this.window.pageXOffset,o=r.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(n-i[0],o-i[1])}};function GM(t,e){let r=t.getElementById(e)||t.getElementsByName(e)[0];if(r)return r;if(typeof t.createTreeWalker=="function"&&t.body&&typeof t.body.attachShadow=="function"){let n=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT),o=n.currentNode;for(;o;){let i=o.shadowRoot;if(i){let s=i.getElementById(e)||i.querySelector(`[name="${e}"]`);if(s)return s}o=n.nextNode()}}return null}var ml=class{setOffset(e){}getScrollPosition(){return[0,0]}scrollToPosition(e){}scrollToAnchor(e){}setHistoryScrollRestoration(e){}},vr=class{};var so=class{},Ys=class{},kt=class t{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?typeof e=="string"?this.lazyInit=()=>{this.headers=new Map,e.split(`
`).forEach(r=>{let n=r.indexOf(":");if(n>0){let o=r.slice(0,n),i=o.toLowerCase(),s=r.slice(n+1).trim();this.maybeSetNormalizedName(o,i),this.headers.has(i)?this.headers.get(i).push(s):this.headers.set(i,[s])}})}:typeof Headers<"u"&&e instanceof Headers?(this.headers=new Map,e.forEach((r,n)=>{this.setHeaderEntries(n,r)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(e).forEach(([r,n])=>{this.setHeaderEntries(r,n)})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();let r=this.headers.get(e.toLowerCase());return r&&r.length>0?r[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,r){return this.clone({name:e,value:r,op:"a"})}set(e,r){return this.clone({name:e,value:r,op:"s"})}delete(e,r){return this.clone({name:e,value:r,op:"d"})}maybeSetNormalizedName(e,r){this.normalizedNames.has(r)||this.normalizedNames.set(r,e)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(r=>{this.headers.set(r,e.headers.get(r)),this.normalizedNames.set(r,e.normalizedNames.get(r))})}clone(e){let r=new t;return r.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,r.lazyUpdate=(this.lazyUpdate||[]).concat([e]),r}applyUpdate(e){let r=e.name.toLowerCase();switch(e.op){case"a":case"s":let n=e.value;if(typeof n=="string"&&(n=[n]),n.length===0)return;this.maybeSetNormalizedName(e.name,r);let o=(e.op==="a"?this.headers.get(r):void 0)||[];o.push(...n),this.headers.set(r,o);break;case"d":let i=e.value;if(!i)this.headers.delete(r),this.normalizedNames.delete(r);else{let s=this.headers.get(r);if(!s)return;s=s.filter(a=>i.indexOf(a)===-1),s.length===0?(this.headers.delete(r),this.normalizedNames.delete(r)):this.headers.set(r,s)}break}}setHeaderEntries(e,r){let n=(Array.isArray(r)?r:[r]).map(i=>i.toString()),o=e.toLowerCase();this.headers.set(o,n),this.maybeSetNormalizedName(e,o)}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(r=>e(this.normalizedNames.get(r),this.headers.get(r)))}};var Cl=class{encodeKey(e){return Pm(e)}encodeValue(e){return Pm(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function qM(t,e){let r=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(o=>{let i=o.indexOf("="),[s,a]=i==-1?[e.decodeKey(o),""]:[e.decodeKey(o.slice(0,i)),e.decodeValue(o.slice(i+1))],c=r.get(s)||[];c.push(a),r.set(s,c)}),r}var WM=/%(\d[a-f0-9])/gi,ZM={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Pm(t){return encodeURIComponent(t).replace(WM,(e,r)=>ZM[r]??e)}function Zs(t){return`${t}`}var on=class t{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new Cl,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=qM(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(r=>{let n=e.fromObject[r],o=Array.isArray(n)?n.map(Zs):[Zs(n)];this.map.set(r,o)})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();let r=this.map.get(e);return r?r[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,r){return this.clone({param:e,value:r,op:"a"})}appendAll(e){let r=[];return Object.keys(e).forEach(n=>{let o=e[n];Array.isArray(o)?o.forEach(i=>{r.push({param:n,value:i,op:"a"})}):r.push({param:n,value:o,op:"a"})}),this.clone(r)}set(e,r){return this.clone({param:e,value:r,op:"s"})}delete(e,r){return this.clone({param:e,value:r,op:"d"})}toString(){return this.init(),this.keys().map(e=>{let r=this.encoder.encodeKey(e);return this.map.get(e).map(n=>r+"="+this.encoder.encodeValue(n)).join("&")}).filter(e=>e!=="").join("&")}clone(e){let r=new t({encoder:this.encoder});return r.cloneFrom=this.cloneFrom||this,r.updates=(this.updates||[]).concat(e),r}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":let r=(e.op==="a"?this.map.get(e.param):void 0)||[];r.push(Zs(e.value)),this.map.set(e.param,r);break;case"d":if(e.value!==void 0){let n=this.map.get(e.param)||[],o=n.indexOf(Zs(e.value));o!==-1&&n.splice(o,1),n.length>0?this.map.set(e.param,n):this.map.delete(e.param)}else{this.map.delete(e.param);break}}}),this.cloneFrom=this.updates=null)}};var bl=class{constructor(){this.map=new Map}set(e,r){return this.map.set(e,r),this}get(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}delete(e){return this.map.delete(e),this}has(e){return this.map.has(e)}keys(){return this.map.keys()}};function YM(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function km(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function Fm(t){return typeof Blob<"u"&&t instanceof Blob}function Lm(t){return typeof FormData<"u"&&t instanceof FormData}function QM(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var io=class t{constructor(e,r,n,o){this.url=r,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase();let i;if(YM(this.method)||o?(this.body=n!==void 0?n:null,i=o):i=n,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),this.transferCache=i.transferCache),this.headers??=new kt,this.context??=new bl,!this.params)this.params=new on,this.urlWithParams=r;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=r;else{let a=r.indexOf("?"),c=a===-1?"?":a<r.length-1?"&":"";this.urlWithParams=r+c+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||km(this.body)||Fm(this.body)||Lm(this.body)||QM(this.body)?this.body:this.body instanceof on?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||Lm(this.body)?null:Fm(this.body)?this.body.type||null:km(this.body)?null:typeof this.body=="string"?"text/plain":this.body instanceof on?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?"application/json":null}clone(e={}){let r=e.method||this.method,n=e.url||this.url,o=e.responseType||this.responseType,i=e.transferCache??this.transferCache,s=e.body!==void 0?e.body:this.body,a=e.withCredentials??this.withCredentials,c=e.reportProgress??this.reportProgress,u=e.headers||this.headers,l=e.params||this.params,d=e.context??this.context;return e.setHeaders!==void 0&&(u=Object.keys(e.setHeaders).reduce((h,f)=>h.set(f,e.setHeaders[f]),u)),e.setParams&&(l=Object.keys(e.setParams).reduce((h,f)=>h.set(f,e.setParams[f]),l)),new t(r,n,s,{params:l,headers:u,context:d,reportProgress:c,responseType:o,withCredentials:a,transferCache:i})}},sn=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}(sn||{}),ao=class{constructor(e,r=200,n="OK"){this.headers=e.headers||new kt,this.status=e.status!==void 0?e.status:r,this.statusText=e.statusText||n,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}},Qs=class t extends ao{constructor(e={}){super(e),this.type=sn.ResponseHeader}clone(e={}){return new t({headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},co=class t extends ao{constructor(e={}){super(e),this.type=sn.Response,this.body=e.body!==void 0?e.body:null}clone(e={}){return new t({body:e.body!==void 0?e.body:this.body,headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},rn=class extends ao{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${e.url||"(unknown url)"}`:this.message=`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}},Bm=200,KM=204;function Il(t,e){return{body:e,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,transferCache:t.transferCache}}var JM=(()=>{let e=class e{constructor(n){this.handler=n}request(n,o,i={}){let s;if(n instanceof io)s=n;else{let u;i.headers instanceof kt?u=i.headers:u=new kt(i.headers);let l;i.params&&(i.params instanceof on?l=i.params:l=new on({fromObject:i.params})),s=new io(n,o,i.body!==void 0?i.body:null,{headers:u,context:i.context,params:l,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials,transferCache:i.transferCache})}let a=M(s).pipe(wt(u=>this.handler.handle(u)));if(n instanceof io||i.observe==="events")return a;let c=a.pipe(ve(u=>u instanceof co));switch(i.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return c.pipe(N(u=>{if(u.body!==null&&!(u.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return u.body}));case"blob":return c.pipe(N(u=>{if(u.body!==null&&!(u.body instanceof Blob))throw new Error("Response is not a Blob.");return u.body}));case"text":return c.pipe(N(u=>{if(u.body!==null&&typeof u.body!="string")throw new Error("Response is not a string.");return u.body}));case"json":default:return c.pipe(N(u=>u.body))}case"response":return c;default:throw new Error(`Unreachable: unhandled observe type ${i.observe}}`)}}delete(n,o={}){return this.request("DELETE",n,o)}get(n,o={}){return this.request("GET",n,o)}head(n,o={}){return this.request("HEAD",n,o)}jsonp(n,o){return this.request("JSONP",n,{params:new on().append(o,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,o={}){return this.request("OPTIONS",n,o)}patch(n,o,i={}){return this.request("PATCH",n,Il(i,o))}post(n,o,i={}){return this.request("POST",n,Il(i,o))}put(n,o,i={}){return this.request("PUT",n,Il(i,o))}};e.\u0275fac=function(o){return new(o||e)(C(so))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})(),XM=/^\)\]\}',?\n/,e0="X-Request-URL";function jm(t){if(t.url)return t.url;let e=e0.toLocaleLowerCase();return t.headers.get(e)}var t0=(()=>{let e=class e{constructor(){this.fetchImpl=g(Ml,{optional:!0})?.fetch??fetch.bind(globalThis),this.ngZone=g(z)}handle(n){return new O(o=>{let i=new AbortController;return this.doRequest(n,i.signal,o).then(Sl,s=>o.error(new rn({error:s}))),()=>i.abort()})}doRequest(n,o,i){return Po(this,null,function*(){let s=this.createRequestInit(n),a;try{let p=this.ngZone.runOutsideAngular(()=>this.fetchImpl(n.urlWithParams,y({signal:o},s)));n0(p),i.next({type:sn.Sent}),a=yield p}catch(p){i.error(new rn({error:p,status:p.status??0,statusText:p.statusText,url:n.urlWithParams,headers:p.headers}));return}let c=new kt(a.headers),u=a.statusText,l=jm(a)??n.urlWithParams,d=a.status,h=null;if(n.reportProgress&&i.next(new Qs({headers:c,status:d,statusText:u,url:l})),a.body){let p=a.headers.get("content-length"),D=[],m=a.body.getReader(),v=0,j,H,V=typeof Zone<"u"&&Zone.current;yield this.ngZone.runOutsideAngular(()=>Po(this,null,function*(){for(;;){let{done:oe,value:$e}=yield m.read();if(oe)break;if(D.push($e),v+=$e.length,n.reportProgress){H=n.responseType==="text"?(H??"")+(j??=new TextDecoder).decode($e,{stream:!0}):void 0;let kn=()=>i.next({type:sn.DownloadProgress,total:p?+p:void 0,loaded:v,partialText:H});V?V.run(kn):kn()}}}));let me=this.concatChunks(D,v);try{let oe=a.headers.get("Content-Type")??"";h=this.parseBody(n,me,oe)}catch(oe){i.error(new rn({error:oe,headers:new kt(a.headers),status:a.status,statusText:a.statusText,url:jm(a)??n.urlWithParams}));return}}d===0&&(d=h?Bm:0),d>=200&&d<300?(i.next(new co({body:h,headers:c,status:d,statusText:u,url:l})),i.complete()):i.error(new rn({error:h,headers:c,status:d,statusText:u,url:l}))})}parseBody(n,o,i){switch(n.responseType){case"json":let s=new TextDecoder().decode(o).replace(XM,"");return s===""?null:JSON.parse(s);case"text":return new TextDecoder().decode(o);case"blob":return new Blob([o],{type:i});case"arraybuffer":return o.buffer}}createRequestInit(n){let o={},i=n.withCredentials?"include":void 0;if(n.headers.forEach((s,a)=>o[s]=a.join(",")),n.headers.has("Accept")||(o.Accept="application/json, text/plain, */*"),!n.headers.has("Content-Type")){let s=n.detectContentTypeHeader();s!==null&&(o["Content-Type"]=s)}return{body:n.serializeBody(),method:n.method,headers:o,credentials:i}}concatChunks(n,o){let i=new Uint8Array(o),s=0;for(let a of n)i.set(a,s),s+=a.length;return i}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})(),Ml=class{};function Sl(){}function n0(t){t.then(Sl,Sl)}function Hm(t,e){return e(t)}function r0(t,e){return(r,n)=>e.intercept(r,{handle:o=>t(o,n)})}function o0(t,e,r){return(n,o)=>Pe(r,()=>e(n,i=>t(i,o)))}var i0=new E(""),Tl=new E(""),s0=new E(""),zm=new E("",{providedIn:"root",factory:()=>!0});function a0(){let t=null;return(e,r)=>{t===null&&(t=(g(i0,{optional:!0})??[]).reduceRight(r0,Hm));let n=g(gt);if(g(zm)){let i=n.add();return t(e,r).pipe(Ht(()=>n.remove(i)))}else return t(e,r)}}var Vm=(()=>{let e=class e extends so{constructor(n,o){super(),this.backend=n,this.injector=o,this.chain=null,this.pendingTasks=g(gt),this.contributeToStability=g(zm)}handle(n){if(this.chain===null){let o=Array.from(new Set([...this.injector.get(Tl),...this.injector.get(s0,[])]));this.chain=o.reduceRight((i,s)=>o0(i,s,this.injector),Hm)}if(this.contributeToStability){let o=this.pendingTasks.add();return this.chain(n,i=>this.backend.handle(i)).pipe(Ht(()=>this.pendingTasks.remove(o)))}else return this.chain(n,o=>this.backend.handle(o))}};e.\u0275fac=function(o){return new(o||e)(C(Ys),C(we))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})();var c0=/^\)\]\}',?\n/;function u0(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}var Um=(()=>{let e=class e{constructor(n){this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new w(-2800,!1);let o=this.xhrFactory;return(o.\u0275loadImpl?Q(o.\u0275loadImpl()):M(null)).pipe(Ce(()=>new O(s=>{let a=o.build();if(a.open(n.method,n.urlWithParams),n.withCredentials&&(a.withCredentials=!0),n.headers.forEach((m,v)=>a.setRequestHeader(m,v.join(","))),n.headers.has("Accept")||a.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){let m=n.detectContentTypeHeader();m!==null&&a.setRequestHeader("Content-Type",m)}if(n.responseType){let m=n.responseType.toLowerCase();a.responseType=m!=="json"?m:"text"}let c=n.serializeBody(),u=null,l=()=>{if(u!==null)return u;let m=a.statusText||"OK",v=new kt(a.getAllResponseHeaders()),j=u0(a)||n.url;return u=new Qs({headers:v,status:a.status,statusText:m,url:j}),u},d=()=>{let{headers:m,status:v,statusText:j,url:H}=l(),V=null;v!==KM&&(V=typeof a.response>"u"?a.responseText:a.response),v===0&&(v=V?Bm:0);let me=v>=200&&v<300;if(n.responseType==="json"&&typeof V=="string"){let oe=V;V=V.replace(c0,"");try{V=V!==""?JSON.parse(V):null}catch($e){V=oe,me&&(me=!1,V={error:$e,text:V})}}me?(s.next(new co({body:V,headers:m,status:v,statusText:j,url:H||void 0})),s.complete()):s.error(new rn({error:V,headers:m,status:v,statusText:j,url:H||void 0}))},h=m=>{let{url:v}=l(),j=new rn({error:m,status:a.status||0,statusText:a.statusText||"Unknown Error",url:v||void 0});s.error(j)},f=!1,p=m=>{f||(s.next(l()),f=!0);let v={type:sn.DownloadProgress,loaded:m.loaded};m.lengthComputable&&(v.total=m.total),n.responseType==="text"&&a.responseText&&(v.partialText=a.responseText),s.next(v)},D=m=>{let v={type:sn.UploadProgress,loaded:m.loaded};m.lengthComputable&&(v.total=m.total),s.next(v)};return a.addEventListener("load",d),a.addEventListener("error",h),a.addEventListener("timeout",h),a.addEventListener("abort",h),n.reportProgress&&(a.addEventListener("progress",p),c!==null&&a.upload&&a.upload.addEventListener("progress",D)),a.send(c),s.next({type:sn.Sent}),()=>{a.removeEventListener("error",h),a.removeEventListener("abort",h),a.removeEventListener("load",d),a.removeEventListener("timeout",h),n.reportProgress&&(a.removeEventListener("progress",p),c!==null&&a.upload&&a.upload.removeEventListener("progress",D)),a.readyState!==a.DONE&&a.abort()}})))}};e.\u0275fac=function(o){return new(o||e)(C(vr))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})(),Gm=new E(""),l0="XSRF-TOKEN",d0=new E("",{providedIn:"root",factory:()=>l0}),f0="X-XSRF-TOKEN",h0=new E("",{providedIn:"root",factory:()=>f0}),Ks=class{},p0=(()=>{let e=class e{constructor(n,o,i){this.doc=n,this.platform=o,this.cookieName=i,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if(this.platform==="server")return null;let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=qs(n,this.cookieName),this.lastCookieString=n),this.lastToken}};e.\u0275fac=function(o){return new(o||e)(C(ue),C(mt),C(d0))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})();function g0(t,e){let r=t.url.toLowerCase();if(!g(Gm)||t.method==="GET"||t.method==="HEAD"||r.startsWith("http://")||r.startsWith("https://"))return e(t);let n=g(Ks).getToken(),o=g(h0);return n!=null&&!t.headers.has(o)&&(t=t.clone({headers:t.headers.set(o,n)})),e(t)}var qm=function(t){return t[t.Interceptors=0]="Interceptors",t[t.LegacyInterceptors=1]="LegacyInterceptors",t[t.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",t[t.NoXsrfProtection=3]="NoXsrfProtection",t[t.JsonpSupport=4]="JsonpSupport",t[t.RequestsMadeViaParent=5]="RequestsMadeViaParent",t[t.Fetch=6]="Fetch",t}(qm||{});function m0(t,e){return{\u0275kind:t,\u0275providers:e}}function v0(...t){let e=[JM,Um,Vm,{provide:so,useExisting:Vm},{provide:Ys,useFactory:()=>g(t0,{optional:!0})??g(Um)},{provide:Tl,useValue:g0,multi:!0},{provide:Gm,useValue:!0},{provide:Ks,useClass:p0}];for(let r of t)e.push(...r.\u0275providers);return us(e)}var $m=new E("");function y0(){return m0(qm.LegacyInterceptors,[{provide:$m,useFactory:a0},{provide:Tl,useExisting:$m,multi:!0}])}var rF=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=Mt({type:e}),e.\u0275inj=bt({providers:[v0(y0())]});let t=e;return t})();var _l=class extends Hs{constructor(){super(...arguments),this.supportsDOMEvents=!0}},Al=class t extends _l{static makeCurrent(){Im(new t)}onAndCancel(e,r,n){return e.addEventListener(r,n),()=>{e.removeEventListener(r,n)}}dispatchEvent(e,r){e.dispatchEvent(r)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,r){return r=r||this.getDefaultDocument(),r.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,r){return r==="window"?window:r==="document"?e:r==="body"?e.body:null}getBaseHref(e){let r=D0();return r==null?null:w0(r)}resetBaseElement(){uo=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return qs(document.cookie,e)}},uo=null;function D0(){return uo=uo||document.querySelector("base"),uo?uo.getAttribute("href"):null}function w0(t){return new URL(t,document.baseURI).pathname}var Rl=class{addToWindow(e){ae.getAngularTestability=(n,o=!0)=>{let i=e.findTestabilityInTree(n,o);if(i==null)throw new w(5103,!1);return i},ae.getAllAngularTestabilities=()=>e.getAllTestabilities(),ae.getAllAngularRootElements=()=>e.getAllRootElements();let r=n=>{let o=ae.getAllAngularTestabilities(),i=o.length,s=function(){i--,i==0&&n()};o.forEach(a=>{a.whenStable(s)})};ae.frameworkStabilizers||(ae.frameworkStabilizers=[]),ae.frameworkStabilizers.push(r)}findTestabilityInTree(e,r,n){if(r==null)return null;let o=e.getTestability(r);return o??(n?_n().isShadowRoot(r)?this.findTestabilityInTree(e,r.host,!0):this.findTestabilityInTree(e,r.parentElement,!0):null)}},E0=(()=>{let e=class e{build(){return new XMLHttpRequest}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})(),Js=new E(""),Qm=(()=>{let e=class e{constructor(n,o){this._zone=o,this._eventNameToPlugin=new Map,n.forEach(i=>{i.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,o,i){return this._findPluginFor(o).addEventListener(n,o,i)}getZone(){return this._zone}_findPluginFor(n){let o=this._eventNameToPlugin.get(n);if(o)return o;if(o=this._plugins.find(s=>s.supports(n)),!o)throw new w(5101,!1);return this._eventNameToPlugin.set(n,o),o}};e.\u0275fac=function(o){return new(o||e)(C(Js),C(z))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})(),lo=class{constructor(e){this._doc=e}},xl="ng-app-id",Km=(()=>{let e=class e{constructor(n,o,i,s={}){this.doc=n,this.appId=o,this.nonce=i,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=Ws(s),this.resetHostNodes()}addStyles(n){for(let o of n)this.changeUsageCount(o,1)===1&&this.onStyleAdded(o)}removeStyles(n){for(let o of n)this.changeUsageCount(o,-1)<=0&&this.onStyleRemoved(o)}ngOnDestroy(){let n=this.styleNodesInDOM;n&&(n.forEach(o=>o.remove()),n.clear());for(let o of this.getAllStyles())this.onStyleRemoved(o);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(let o of this.getAllStyles())this.addStyleToHost(n,o)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(let o of this.hostNodes)this.addStyleToHost(o,n)}onStyleRemoved(n){let o=this.styleRef;o.get(n)?.elements?.forEach(i=>i.remove()),o.delete(n)}collectServerRenderedStyles(){let n=this.doc.head?.querySelectorAll(`style[${xl}="${this.appId}"]`);if(n?.length){let o=new Map;return n.forEach(i=>{i.textContent!=null&&o.set(i.textContent,i)}),o}return null}changeUsageCount(n,o){let i=this.styleRef;if(i.has(n)){let s=i.get(n);return s.usage+=o,s.usage}return i.set(n,{usage:o,elements:[]}),o}getStyleElement(n,o){let i=this.styleNodesInDOM,s=i?.get(o);if(s?.parentNode===n)return i.delete(o),s.removeAttribute(xl),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=o,this.platformIsServer&&a.setAttribute(xl,this.appId),n.appendChild(a),a}}addStyleToHost(n,o){let i=this.getStyleElement(n,o),s=this.styleRef,a=s.get(o)?.elements;a?a.push(i):s.set(o,{elements:[i],usage:1})}resetHostNodes(){let n=this.hostNodes;n.clear(),n.add(this.doc.head)}};e.\u0275fac=function(o){return new(o||e)(C(ue),C(Ds),C(Su,8),C(mt))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})(),Nl={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"},Pl=/%COMP%/g,Jm="%COMP%",I0=`_nghost-${Jm}`,C0=`_ngcontent-${Jm}`,b0=!0,M0=new E("",{providedIn:"root",factory:()=>b0});function S0(t){return C0.replace(Pl,t)}function T0(t){return I0.replace(Pl,t)}function Xm(t,e){return e.map(r=>r.replace(Pl,t))}var Wm=(()=>{let e=class e{constructor(n,o,i,s,a,c,u,l=null){this.eventManager=n,this.sharedStylesHost=o,this.appId=i,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=c,this.ngZone=u,this.nonce=l,this.rendererByCompId=new Map,this.platformIsServer=Ws(c),this.defaultRenderer=new fo(n,a,u,this.platformIsServer)}createRenderer(n,o){if(!n||!o)return this.defaultRenderer;this.platformIsServer&&o.encapsulation===dt.ShadowDom&&(o=Z(y({},o),{encapsulation:dt.Emulated}));let i=this.getOrCreateRenderer(n,o);return i instanceof Xs?i.applyToHost(n):i instanceof ho&&i.applyStyles(),i}getOrCreateRenderer(n,o){let i=this.rendererByCompId,s=i.get(o.id);if(!s){let a=this.doc,c=this.ngZone,u=this.eventManager,l=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,h=this.platformIsServer;switch(o.encapsulation){case dt.Emulated:s=new Xs(u,l,o,this.appId,d,a,c,h);break;case dt.ShadowDom:return new Ol(u,l,n,o,a,c,this.nonce,h);default:s=new ho(u,l,o,d,a,c,h);break}i.set(o.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};e.\u0275fac=function(o){return new(o||e)(C(Qm),C(Km),C(Ds),C(M0),C(ue),C(mt),C(z),C(Su))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})(),fo=class{constructor(e,r,n,o){this.eventManager=e,this.doc=r,this.ngZone=n,this.platformIsServer=o,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,r){return r?this.doc.createElementNS(Nl[r]||r,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,r){(Zm(e)?e.content:e).appendChild(r)}insertBefore(e,r,n){e&&(Zm(e)?e.content:e).insertBefore(r,n)}removeChild(e,r){e&&e.removeChild(r)}selectRootElement(e,r){let n=typeof e=="string"?this.doc.querySelector(e):e;if(!n)throw new w(-5104,!1);return r||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,r,n,o){if(o){r=o+":"+r;let i=Nl[o];i?e.setAttributeNS(i,r,n):e.setAttribute(r,n)}else e.setAttribute(r,n)}removeAttribute(e,r,n){if(n){let o=Nl[n];o?e.removeAttributeNS(o,r):e.removeAttribute(`${n}:${r}`)}else e.removeAttribute(r)}addClass(e,r){e.classList.add(r)}removeClass(e,r){e.classList.remove(r)}setStyle(e,r,n,o){o&(pt.DashCase|pt.Important)?e.style.setProperty(r,n,o&pt.Important?"important":""):e.style[r]=n}removeStyle(e,r,n){n&pt.DashCase?e.style.removeProperty(r):e.style[r]=""}setProperty(e,r,n){e!=null&&(e[r]=n)}setValue(e,r){e.nodeValue=r}listen(e,r,n){if(typeof e=="string"&&(e=_n().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${r}`);return this.eventManager.addEventListener(e,r,this.decoratePreventDefault(n))}decoratePreventDefault(e){return r=>{if(r==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(r)):e(r))===!1&&r.preventDefault()}}};function Zm(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var Ol=class extends fo{constructor(e,r,n,o,i,s,a,c){super(e,i,s,c),this.sharedStylesHost=r,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let u=Xm(o.id,o.styles);for(let l of u){let d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=l,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,r){return super.appendChild(this.nodeOrShadowRoot(e),r)}insertBefore(e,r,n){return super.insertBefore(this.nodeOrShadowRoot(e),r,n)}removeChild(e,r){return super.removeChild(this.nodeOrShadowRoot(e),r)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},ho=class extends fo{constructor(e,r,n,o,i,s,a,c){super(e,i,s,a),this.sharedStylesHost=r,this.removeStylesOnCompDestroy=o,this.styles=c?Xm(c,n.styles):n.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},Xs=class extends ho{constructor(e,r,n,o,i,s,a,c){let u=o+"-"+n.id;super(e,r,n,i,s,a,c,u),this.contentAttr=S0(u),this.hostAttr=T0(u)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,r){let n=super.createElement(e,r);return super.setAttribute(n,this.contentAttr,""),n}},x0=(()=>{let e=class e extends lo{constructor(n){super(n)}supports(n){return!0}addEventListener(n,o,i){return n.addEventListener(o,i,!1),()=>this.removeEventListener(n,o,i)}removeEventListener(n,o,i){return n.removeEventListener(o,i)}};e.\u0275fac=function(o){return new(o||e)(C(ue))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})(),N0=(()=>{let e=class e extends lo{constructor(n){super(n),this.delegate=g(lm,{optional:!0})}supports(n){return this.delegate?this.delegate.supports(n):!1}addEventListener(n,o,i){return this.delegate.addEventListener(n,o,i)}removeEventListener(n,o,i){return this.delegate.removeEventListener(n,o,i)}};e.\u0275fac=function(o){return new(o||e)(C(ue))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})(),Ym=["alt","control","meta","shift"],_0={"\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"},A0={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},R0=(()=>{let e=class e extends lo{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,o,i){let s=e.parseEventName(o),a=e.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>_n().onAndCancel(n,s.domEventName,a))}static parseEventName(n){let o=n.toLowerCase().split("."),i=o.shift();if(o.length===0||!(i==="keydown"||i==="keyup"))return null;let s=e._normalizeKey(o.pop()),a="",c=o.indexOf("code");if(c>-1&&(o.splice(c,1),a="code."),Ym.forEach(l=>{let d=o.indexOf(l);d>-1&&(o.splice(d,1),a+=l+".")}),a+=s,o.length!=0||s.length===0)return null;let u={};return u.domEventName=i,u.fullKey=a,u}static matchEventFullKeyCode(n,o){let i=_0[n.key]||n.key,s="";return o.indexOf("code.")>-1&&(i=n.code,s="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),Ym.forEach(a=>{if(a!==i){let c=A0[a];c(n)&&(s+=a+".")}}),s+=i,s===o)}static eventCallback(n,o,i){return s=>{e.matchEventFullKeyCode(s,n)&&i.runGuarded(()=>o(s))}}static _normalizeKey(n){return n==="esc"?"escape":n}};e.\u0275fac=function(o){return new(o||e)(C(ue))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})();function O0(){Al.makeCurrent()}function P0(){return new nt}function k0(){return Ep(document),document}var F0=[{provide:mt,useValue:El},{provide:Mu,useValue:O0,multi:!0},{provide:ue,useFactory:k0,deps:[]}],yF=nl(cm,"browser",F0),L0=new E(""),j0=[{provide:eo,useClass:Rl,deps:[]},{provide:el,useClass:Ns,deps:[z,_s,eo]},{provide:Ns,useClass:Ns,deps:[z,_s,eo]}],V0=[{provide:ls,useValue:"root"},{provide:nt,useFactory:P0,deps:[]},{provide:Js,useClass:x0,multi:!0,deps:[ue,z,mt]},{provide:Js,useClass:R0,multi:!0,deps:[ue]},{provide:Js,useClass:N0,multi:!0},Wm,Km,Qm,{provide:cr,useExisting:Wm},{provide:vr,useClass:E0,deps:[]},[]],DF=(()=>{let e=class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:Ds,useValue:n.appId}]}}};e.\u0275fac=function(o){return new(o||e)(C(L0,12))},e.\u0275mod=Mt({type:e}),e.\u0275inj=bt({providers:[...V0,...j0],imports:[Am,um]});let t=e;return t})();var ev=(()=>{let e=class e{constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}};e.\u0275fac=function(o){return new(o||e)(C(ue))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var U0=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:function(o){let i=null;return o?i=new(o||e):i=C($0),i},providedIn:"root"});let t=e;return t})(),$0=(()=>{let e=class e extends U0{constructor(n){super(),this._doc=n}sanitize(n,o){if(o==null)return null;switch(n){case ot.NONE:return o;case ot.HTML:return xt(o,"HTML")?ke(o):xu(this._doc,String(o)).toString();case ot.STYLE:return xt(o,"Style")?ke(o):o;case ot.SCRIPT:if(xt(o,"Script"))return ke(o);throw new w(5200,!1);case ot.URL:return xt(o,"URL")?ke(o):Es(String(o));case ot.RESOURCE_URL:if(xt(o,"ResourceURL"))return ke(o);throw new w(5201,!1);default:throw new w(5202,!1)}}bypassSecurityTrustHtml(n){return Mp(n)}bypassSecurityTrustStyle(n){return Sp(n)}bypassSecurityTrustScript(n){return Tp(n)}bypassSecurityTrustUrl(n){return xp(n)}bypassSecurityTrustResourceUrl(n){return Np(n)}};e.\u0275fac=function(o){return new(o||e)(C(ue))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var A="primary",To=Symbol("RouteTitle"),Vl=class{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){let r=this.params[e];return Array.isArray(r)?r[0]:r}return null}getAll(e){if(this.has(e)){let r=this.params[e];return Array.isArray(r)?r:[r]}return[]}get keys(){return Object.keys(this.params)}};function br(t){return new Vl(t)}function H0(t,e,r){let n=r.path.split("/");if(n.length>t.length||r.pathMatch==="full"&&(e.hasChildren()||n.length<t.length))return null;let o={};for(let i=0;i<n.length;i++){let s=n[i],a=t[i];if(s[0]===":")o[s.substring(1)]=a;else if(s!==a.path)return null}return{consumed:t.slice(0,n.length),posParams:o}}function z0(t,e){if(t.length!==e.length)return!1;for(let r=0;r<t.length;++r)if(!Dt(t[r],e[r]))return!1;return!0}function Dt(t,e){let r=t?Ul(t):void 0,n=e?Ul(e):void 0;if(!r||!n||r.length!=n.length)return!1;let o;for(let i=0;i<r.length;i++)if(o=r[i],!fv(t[o],e[o]))return!1;return!0}function Ul(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}function fv(t,e){if(Array.isArray(t)&&Array.isArray(e)){if(t.length!==e.length)return!1;let r=[...t].sort(),n=[...e].sort();return r.every((o,i)=>n[i]===o)}else return t===e}function hv(t){return t.length>0?t[t.length-1]:null}function cn(t){return Pa(t)?t:to(t)?Q(Promise.resolve(t)):M(t)}var G0={exact:gv,subset:mv},pv={exact:q0,subset:W0,ignored:()=>!0};function tv(t,e,r){return G0[r.paths](t.root,e.root,r.matrixParams)&&pv[r.queryParams](t.queryParams,e.queryParams)&&!(r.fragment==="exact"&&t.fragment!==e.fragment)}function q0(t,e){return Dt(t,e)}function gv(t,e,r){if(!Rn(t.segments,e.segments)||!na(t.segments,e.segments,r)||t.numberOfChildren!==e.numberOfChildren)return!1;for(let n in e.children)if(!t.children[n]||!gv(t.children[n],e.children[n],r))return!1;return!0}function W0(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(r=>fv(t[r],e[r]))}function mv(t,e,r){return vv(t,e,e.segments,r)}function vv(t,e,r,n){if(t.segments.length>r.length){let o=t.segments.slice(0,r.length);return!(!Rn(o,r)||e.hasChildren()||!na(o,r,n))}else if(t.segments.length===r.length){if(!Rn(t.segments,r)||!na(t.segments,r,n))return!1;for(let o in e.children)if(!t.children[o]||!mv(t.children[o],e.children[o],n))return!1;return!0}else{let o=r.slice(0,t.segments.length),i=r.slice(t.segments.length);return!Rn(t.segments,o)||!na(t.segments,o,n)||!t.children[A]?!1:vv(t.children[A],e,i,n)}}function na(t,e,r){return e.every((n,o)=>pv[r](t[o].parameters,n.parameters))}var Lt=class{constructor(e=new B([],{}),r={},n=null){this.root=e,this.queryParams=r,this.fragment=n}get queryParamMap(){return this._queryParamMap??=br(this.queryParams),this._queryParamMap}toString(){return Q0.serialize(this)}},B=class{constructor(e,r){this.segments=e,this.children=r,this.parent=null,Object.values(r).forEach(n=>n.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return ra(this)}},An=class{constructor(e,r){this.path=e,this.parameters=r}get parameterMap(){return this._parameterMap??=br(this.parameters),this._parameterMap}toString(){return Dv(this)}};function Z0(t,e){return Rn(t,e)&&t.every((r,n)=>Dt(r.parameters,e[n].parameters))}function Rn(t,e){return t.length!==e.length?!1:t.every((r,n)=>r.path===e[n].path)}function Y0(t,e){let r=[];return Object.entries(t.children).forEach(([n,o])=>{n===A&&(r=r.concat(e(o,n)))}),Object.entries(t.children).forEach(([n,o])=>{n!==A&&(r=r.concat(e(o,n)))}),r}var xo=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:()=>new Mr,providedIn:"root"});let t=e;return t})(),Mr=class{parse(e){let r=new Bl(e);return new Lt(r.parseRootSegment(),r.parseQueryParams(),r.parseFragment())}serialize(e){let r=`/${po(e.root,!0)}`,n=X0(e.queryParams),o=typeof e.fragment=="string"?`#${K0(e.fragment)}`:"";return`${r}${n}${o}`}},Q0=new Mr;function ra(t){return t.segments.map(e=>Dv(e)).join("/")}function po(t,e){if(!t.hasChildren())return ra(t);if(e){let r=t.children[A]?po(t.children[A],!1):"",n=[];return Object.entries(t.children).forEach(([o,i])=>{o!==A&&n.push(`${o}:${po(i,!1)}`)}),n.length>0?`${r}(${n.join("//")})`:r}else{let r=Y0(t,(n,o)=>o===A?[po(t.children[A],!1)]:[`${o}:${po(n,!1)}`]);return Object.keys(t.children).length===1&&t.children[A]!=null?`${ra(t)}/${r[0]}`:`${ra(t)}/(${r.join("//")})`}}function yv(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function ea(t){return yv(t).replace(/%3B/gi,";")}function K0(t){return encodeURI(t)}function $l(t){return yv(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function oa(t){return decodeURIComponent(t)}function nv(t){return oa(t.replace(/\+/g,"%20"))}function Dv(t){return`${$l(t.path)}${J0(t.parameters)}`}function J0(t){return Object.entries(t).map(([e,r])=>`;${$l(e)}=${$l(r)}`).join("")}function X0(t){let e=Object.entries(t).map(([r,n])=>Array.isArray(n)?n.map(o=>`${ea(r)}=${ea(o)}`).join("&"):`${ea(r)}=${ea(n)}`).filter(r=>r);return e.length?`?${e.join("&")}`:""}var eS=/^[^\/()?;#]+/;function kl(t){let e=t.match(eS);return e?e[0]:""}var tS=/^[^\/()?;=#]+/;function nS(t){let e=t.match(tS);return e?e[0]:""}var rS=/^[^=?&#]+/;function oS(t){let e=t.match(rS);return e?e[0]:""}var iS=/^[^&#]+/;function sS(t){let e=t.match(iS);return e?e[0]:""}var Bl=class{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new B([],{}):new B([],this.parseChildren())}parseQueryParams(){let e={};if(this.consumeOptional("?"))do this.parseQueryParam(e);while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let r={};this.peekStartsWith("/(")&&(this.capture("/"),r=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(r).length>0)&&(n[A]=new B(e,r)),n}parseSegment(){let e=kl(this.remaining);if(e===""&&this.peekStartsWith(";"))throw new w(4009,!1);return this.capture(e),new An(oa(e),this.parseMatrixParams())}parseMatrixParams(){let e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){let r=nS(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let o=kl(this.remaining);o&&(n=o,this.capture(n))}e[oa(r)]=oa(n)}parseQueryParam(e){let r=oS(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let s=sS(this.remaining);s&&(n=s,this.capture(n))}let o=nv(r),i=nv(n);if(e.hasOwnProperty(o)){let s=e[o];Array.isArray(s)||(s=[s],e[o]=s),s.push(i)}else e[o]=i}parseParens(e){let r={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let n=kl(this.remaining),o=this.remaining[n.length];if(o!=="/"&&o!==")"&&o!==";")throw new w(4010,!1);let i;n.indexOf(":")>-1?(i=n.slice(0,n.indexOf(":")),this.capture(i),this.capture(":")):e&&(i=A);let s=this.parseChildren();r[i]=Object.keys(s).length===1?s[A]:new B([],s),this.consumeOptional("//")}return r}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return this.peekStartsWith(e)?(this.remaining=this.remaining.substring(e.length),!0):!1}capture(e){if(!this.consumeOptional(e))throw new w(4011,!1)}};function wv(t){return t.segments.length>0?new B([],{[A]:t}):t}function Ev(t){let e={};for(let[n,o]of Object.entries(t.children)){let i=Ev(o);if(n===A&&i.segments.length===0&&i.hasChildren())for(let[s,a]of Object.entries(i.children))e[s]=a;else(i.segments.length>0||i.hasChildren())&&(e[n]=i)}let r=new B(t.segments,e);return aS(r)}function aS(t){if(t.numberOfChildren===1&&t.children[A]){let e=t.children[A];return new B(t.segments.concat(e.segments),e.children)}return t}function On(t){return t instanceof Lt}function cS(t,e,r=null,n=null){let o=Iv(t);return Cv(o,e,r,n)}function Iv(t){let e;function r(i){let s={};for(let c of i.children){let u=r(c);s[c.outlet]=u}let a=new B(i.url,s);return i===t&&(e=a),a}let n=r(t.root),o=wv(n);return e??o}function Cv(t,e,r,n){let o=t;for(;o.parent;)o=o.parent;if(e.length===0)return Fl(o,o,o,r,n);let i=uS(e);if(i.toRoot())return Fl(o,o,new B([],{}),r,n);let s=lS(i,o,t),a=s.processChildren?vo(s.segmentGroup,s.index,i.commands):Mv(s.segmentGroup,s.index,i.commands);return Fl(o,s.segmentGroup,a,r,n)}function ia(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function wo(t){return typeof t=="object"&&t!=null&&t.outlets}function Fl(t,e,r,n,o){let i={};n&&Object.entries(n).forEach(([c,u])=>{i[c]=Array.isArray(u)?u.map(l=>`${l}`):`${u}`});let s;t===e?s=r:s=bv(t,e,r);let a=wv(Ev(s));return new Lt(a,i,o)}function bv(t,e,r){let n={};return Object.entries(t.children).forEach(([o,i])=>{i===e?n[o]=r:n[o]=bv(i,e,r)}),new B(t.segments,n)}var sa=class{constructor(e,r,n){if(this.isAbsolute=e,this.numberOfDoubleDots=r,this.commands=n,e&&n.length>0&&ia(n[0]))throw new w(4003,!1);let o=n.find(wo);if(o&&o!==hv(n))throw new w(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function uS(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new sa(!0,0,t);let e=0,r=!1,n=t.reduce((o,i,s)=>{if(typeof i=="object"&&i!=null){if(i.outlets){let a={};return Object.entries(i.outlets).forEach(([c,u])=>{a[c]=typeof u=="string"?u.split("/"):u}),[...o,{outlets:a}]}if(i.segmentPath)return[...o,i.segmentPath]}return typeof i!="string"?[...o,i]:s===0?(i.split("/").forEach((a,c)=>{c==0&&a==="."||(c==0&&a===""?r=!0:a===".."?e++:a!=""&&o.push(a))}),o):[...o,i]},[]);return new sa(r,e,n)}var Er=class{constructor(e,r,n){this.segmentGroup=e,this.processChildren=r,this.index=n}};function lS(t,e,r){if(t.isAbsolute)return new Er(e,!0,0);if(!r)return new Er(e,!1,NaN);if(r.parent===null)return new Er(r,!0,0);let n=ia(t.commands[0])?0:1,o=r.segments.length-1+n;return dS(r,o,t.numberOfDoubleDots)}function dS(t,e,r){let n=t,o=e,i=r;for(;i>o;){if(i-=o,n=n.parent,!n)throw new w(4005,!1);o=n.segments.length}return new Er(n,!1,o-i)}function fS(t){return wo(t[0])?t[0].outlets:{[A]:t}}function Mv(t,e,r){if(t??=new B([],{}),t.segments.length===0&&t.hasChildren())return vo(t,e,r);let n=hS(t,e,r),o=r.slice(n.commandIndex);if(n.match&&n.pathIndex<t.segments.length){let i=new B(t.segments.slice(0,n.pathIndex),{});return i.children[A]=new B(t.segments.slice(n.pathIndex),t.children),vo(i,0,o)}else return n.match&&o.length===0?new B(t.segments,{}):n.match&&!t.hasChildren()?Hl(t,e,r):n.match?vo(t,0,o):Hl(t,e,r)}function vo(t,e,r){if(r.length===0)return new B(t.segments,{});{let n=fS(r),o={};if(Object.keys(n).some(i=>i!==A)&&t.children[A]&&t.numberOfChildren===1&&t.children[A].segments.length===0){let i=vo(t.children[A],e,r);return new B(t.segments,i.children)}return Object.entries(n).forEach(([i,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(o[i]=Mv(t.children[i],e,s))}),Object.entries(t.children).forEach(([i,s])=>{n[i]===void 0&&(o[i]=s)}),new B(t.segments,o)}}function hS(t,e,r){let n=0,o=e,i={match:!1,pathIndex:0,commandIndex:0};for(;o<t.segments.length;){if(n>=r.length)return i;let s=t.segments[o],a=r[n];if(wo(a))break;let c=`${a}`,u=n<r.length-1?r[n+1]:null;if(o>0&&c===void 0)break;if(c&&u&&typeof u=="object"&&u.outlets===void 0){if(!ov(c,u,s))return i;n+=2}else{if(!ov(c,{},s))return i;n++}o++}return{match:!0,pathIndex:o,commandIndex:n}}function Hl(t,e,r){let n=t.segments.slice(0,e),o=0;for(;o<r.length;){let i=r[o];if(wo(i)){let c=pS(i.outlets);return new B(n,c)}if(o===0&&ia(r[0])){let c=t.segments[e];n.push(new An(c.path,rv(r[0]))),o++;continue}let s=wo(i)?i.outlets[A]:`${i}`,a=o<r.length-1?r[o+1]:null;s&&a&&ia(a)?(n.push(new An(s,rv(a))),o+=2):(n.push(new An(s,{})),o++)}return new B(n,{})}function pS(t){let e={};return Object.entries(t).forEach(([r,n])=>{typeof n=="string"&&(n=[n]),n!==null&&(e[r]=Hl(new B([],{}),0,n))}),e}function rv(t){let e={};return Object.entries(t).forEach(([r,n])=>e[r]=`${n}`),e}function ov(t,e,r){return t==r.path&&Dt(e,r.parameters)}var yo="imperative",le=function(t){return t[t.NavigationStart=0]="NavigationStart",t[t.NavigationEnd=1]="NavigationEnd",t[t.NavigationCancel=2]="NavigationCancel",t[t.NavigationError=3]="NavigationError",t[t.RoutesRecognized=4]="RoutesRecognized",t[t.ResolveStart=5]="ResolveStart",t[t.ResolveEnd=6]="ResolveEnd",t[t.GuardsCheckStart=7]="GuardsCheckStart",t[t.GuardsCheckEnd=8]="GuardsCheckEnd",t[t.RouteConfigLoadStart=9]="RouteConfigLoadStart",t[t.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",t[t.ChildActivationStart=11]="ChildActivationStart",t[t.ChildActivationEnd=12]="ChildActivationEnd",t[t.ActivationStart=13]="ActivationStart",t[t.ActivationEnd=14]="ActivationEnd",t[t.Scroll=15]="Scroll",t[t.NavigationSkipped=16]="NavigationSkipped",t}(le||{}),Ye=class{constructor(e,r){this.id=e,this.url=r}},Sr=class extends Ye{constructor(e,r,n="imperative",o=null){super(e,r),this.type=le.NavigationStart,this.navigationTrigger=n,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},at=class extends Ye{constructor(e,r,n){super(e,r),this.urlAfterRedirects=n,this.type=le.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},Ue=function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t}(Ue||{}),aa=function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t}(aa||{}),Ft=class extends Ye{constructor(e,r,n,o){super(e,r),this.reason=n,this.code=o,this.type=le.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},an=class extends Ye{constructor(e,r,n,o){super(e,r),this.reason=n,this.code=o,this.type=le.NavigationSkipped}},Eo=class extends Ye{constructor(e,r,n,o){super(e,r),this.error=n,this.target=o,this.type=le.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},ca=class extends Ye{constructor(e,r,n,o){super(e,r),this.urlAfterRedirects=n,this.state=o,this.type=le.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},zl=class extends Ye{constructor(e,r,n,o){super(e,r),this.urlAfterRedirects=n,this.state=o,this.type=le.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Gl=class extends Ye{constructor(e,r,n,o,i){super(e,r),this.urlAfterRedirects=n,this.state=o,this.shouldActivate=i,this.type=le.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},ql=class extends Ye{constructor(e,r,n,o){super(e,r),this.urlAfterRedirects=n,this.state=o,this.type=le.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Wl=class extends Ye{constructor(e,r,n,o){super(e,r),this.urlAfterRedirects=n,this.state=o,this.type=le.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Zl=class{constructor(e){this.route=e,this.type=le.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Yl=class{constructor(e){this.route=e,this.type=le.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Ql=class{constructor(e){this.snapshot=e,this.type=le.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Kl=class{constructor(e){this.snapshot=e,this.type=le.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Jl=class{constructor(e){this.snapshot=e,this.type=le.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Xl=class{constructor(e){this.snapshot=e,this.type=le.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},ua=class{constructor(e,r,n){this.routerEvent=e,this.position=r,this.anchor=n,this.type=le.Scroll}toString(){let e=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${e}')`}},Io=class{},Tr=class{constructor(e,r){this.url=e,this.navigationBehaviorOptions=r}};function gS(t,e){return t.providers&&!t._injector&&(t._injector=Ts(t.providers,e,`Route: ${t.path}`)),t._injector??e}function st(t){return t.outlet||A}function mS(t,e){let r=t.filter(n=>st(n)===e);return r.push(...t.filter(n=>st(n)!==e)),r}function No(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let e=t.parent;e;e=e.parent){let r=e.routeConfig;if(r?._loadedInjector)return r._loadedInjector;if(r?._injector)return r._injector}return null}var ed=class{get injector(){return No(this.route?.snapshot)??this.rootInjector}set injector(e){}constructor(e){this.rootInjector=e,this.outlet=null,this.route=null,this.children=new _o(this.rootInjector),this.attachRef=null}},_o=(()=>{let e=class e{constructor(n){this.rootInjector=n,this.contexts=new Map}onChildOutletCreated(n,o){let i=this.getOrCreateContext(n);i.outlet=o,this.contexts.set(n,i)}onChildOutletDestroyed(n){let o=this.getContext(n);o&&(o.outlet=null,o.attachRef=null)}onOutletDeactivated(){let n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let o=this.getContext(n);return o||(o=new ed(this.rootInjector),this.contexts.set(n,o)),o}getContext(n){return this.contexts.get(n)||null}};e.\u0275fac=function(o){return new(o||e)(C(we))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),la=class{constructor(e){this._root=e}get root(){return this._root.value}parent(e){let r=this.pathFromRoot(e);return r.length>1?r[r.length-2]:null}children(e){let r=td(e,this._root);return r?r.children.map(n=>n.value):[]}firstChild(e){let r=td(e,this._root);return r&&r.children.length>0?r.children[0].value:null}siblings(e){let r=nd(e,this._root);return r.length<2?[]:r[r.length-2].children.map(o=>o.value).filter(o=>o!==e)}pathFromRoot(e){return nd(e,this._root).map(r=>r.value)}};function td(t,e){if(t===e.value)return e;for(let r of e.children){let n=td(t,r);if(n)return n}return null}function nd(t,e){if(t===e.value)return[e];for(let r of e.children){let n=nd(t,r);if(n.length)return n.unshift(e),n}return[]}var Ve=class{constructor(e,r){this.value=e,this.children=r}toString(){return`TreeNode(${this.value})`}};function wr(t){let e={};return t&&t.children.forEach(r=>e[r.value.outlet]=r),e}var da=class extends la{constructor(e,r){super(e),this.snapshot=r,dd(this,e)}toString(){return this.snapshot.toString()}};function Sv(t){let e=vS(t),r=new de([new An("",{})]),n=new de({}),o=new de({}),i=new de({}),s=new de(""),a=new Pn(r,n,i,s,o,A,t,e.root);return a.snapshot=e.root,new da(new Ve(a,[]),e)}function vS(t){let e={},r={},n={},o="",i=new Ir([],e,n,o,r,A,t,null,{});return new ha("",new Ve(i,[]))}var Pn=class{constructor(e,r,n,o,i,s,a,c){this.urlSubject=e,this.paramsSubject=r,this.queryParamsSubject=n,this.fragmentSubject=o,this.dataSubject=i,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(N(u=>u[To]))??M(void 0),this.url=e,this.params=r,this.queryParams=n,this.fragment=o,this.data=i}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(N(e=>br(e))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(N(e=>br(e))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function fa(t,e,r="emptyOnly"){let n,{routeConfig:o}=t;return e!==null&&(r==="always"||o?.path===""||!e.component&&!e.routeConfig?.loadComponent)?n={params:y(y({},e.params),t.params),data:y(y({},e.data),t.data),resolve:y(y(y(y({},t.data),e.data),o?.data),t._resolvedData)}:n={params:y({},t.params),data:y({},t.data),resolve:y(y({},t.data),t._resolvedData??{})},o&&xv(o)&&(n.resolve[To]=o.title),n}var Ir=class{get title(){return this.data?.[To]}constructor(e,r,n,o,i,s,a,c,u){this.url=e,this.params=r,this.queryParams=n,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this.routeConfig=c,this._resolve=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=br(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=br(this.queryParams),this._queryParamMap}toString(){let e=this.url.map(n=>n.toString()).join("/"),r=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${e}', path:'${r}')`}},ha=class extends la{constructor(e,r){super(r),this.url=e,dd(this,r)}toString(){return Tv(this._root)}};function dd(t,e){e.value._routerState=t,e.children.forEach(r=>dd(t,r))}function Tv(t){let e=t.children.length>0?` { ${t.children.map(Tv).join(", ")} } `:"";return`${t.value}${e}`}function Ll(t){if(t.snapshot){let e=t.snapshot,r=t._futureSnapshot;t.snapshot=r,Dt(e.queryParams,r.queryParams)||t.queryParamsSubject.next(r.queryParams),e.fragment!==r.fragment&&t.fragmentSubject.next(r.fragment),Dt(e.params,r.params)||t.paramsSubject.next(r.params),z0(e.url,r.url)||t.urlSubject.next(r.url),Dt(e.data,r.data)||t.dataSubject.next(r.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function rd(t,e){let r=Dt(t.params,e.params)&&Z0(t.url,e.url),n=!t.parent!=!e.parent;return r&&!n&&(!t.parent||rd(t.parent,e.parent))}function xv(t){return typeof t.title=="string"||t.title===null}var yS=(()=>{let e=class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=A,this.activateEvents=new fe,this.deactivateEvents=new fe,this.attachEvents=new fe,this.detachEvents=new fe,this.parentContexts=g(_o),this.location=g(vt),this.changeDetector=g(Nn),this.inputBinder=g(ya,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(n){if(n.name){let{firstChange:o,previousValue:i}=n.name;if(o)return;this.isTrackedInParentContexts(i)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(i)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(n){return this.parentContexts.getContext(n)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let n=this.parentContexts.getContext(this.name);n?.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new w(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new w(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new w(4012,!1);this.location.detach();let n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,o){this.activated=n,this._activatedRoute=o,this.location.insert(n.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){let n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,o){if(this.isActivated)throw new w(4013,!1);this._activatedRoute=n;let i=this.location,a=n.snapshot.component,c=this.parentContexts.getOrCreateContext(this.name).children,u=new od(n,c,i.injector);this.activated=i.createComponent(a,{index:i.length,injector:u,environmentInjector:o}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275dir=Ge({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Sn]});let t=e;return t})(),od=class t{__ngOutletInjector(e){return new t(this.route,this.childContexts,e)}constructor(e,r,n){this.route=e,this.childContexts=r,this.parent=n}get(e,r){return e===Pn?this.route:e===_o?this.childContexts:this.parent.get(e,r)}},ya=new E(""),iv=(()=>{let e=class e{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(n){this.unsubscribeFromRouteData(n),this.subscribeToRouteData(n)}unsubscribeFromRouteData(n){this.outletDataSubscriptions.get(n)?.unsubscribe(),this.outletDataSubscriptions.delete(n)}subscribeToRouteData(n){let{activatedRoute:o}=n,i=Fr([o.queryParams,o.params,o.data]).pipe(Ce(([s,a,c],u)=>(c=y(y(y({},s),a),c),u===0?M(c):Promise.resolve(c)))).subscribe(s=>{if(!n.isActivated||!n.activatedComponentRef||n.activatedRoute!==o||o.component===null){this.unsubscribeFromRouteData(n);return}let a=dm(o.component);if(!a){this.unsubscribeFromRouteData(n);return}for(let{templateName:c}of a.inputs)n.activatedComponentRef.setInput(c,s[c])});this.outletDataSubscriptions.set(n,i)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})();function DS(t,e,r){let n=Co(t,e._root,r?r._root:void 0);return new da(n,e)}function Co(t,e,r){if(r&&t.shouldReuseRoute(e.value,r.value.snapshot)){let n=r.value;n._futureSnapshot=e.value;let o=wS(t,e,r);return new Ve(n,o)}else{if(t.shouldAttach(e.value)){let i=t.retrieve(e.value);if(i!==null){let s=i.route;return s.value._futureSnapshot=e.value,s.children=e.children.map(a=>Co(t,a)),s}}let n=ES(e.value),o=e.children.map(i=>Co(t,i));return new Ve(n,o)}}function wS(t,e,r){return e.children.map(n=>{for(let o of r.children)if(t.shouldReuseRoute(n.value,o.value.snapshot))return Co(t,n,o);return Co(t,n)})}function ES(t){return new Pn(new de(t.url),new de(t.params),new de(t.queryParams),new de(t.fragment),new de(t.data),t.outlet,t.component,t)}var bo=class{constructor(e,r){this.redirectTo=e,this.navigationBehaviorOptions=r}},Nv="ngNavigationCancelingError";function pa(t,e){let{redirectTo:r,navigationBehaviorOptions:n}=On(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,o=_v(!1,Ue.Redirect);return o.url=r,o.navigationBehaviorOptions=n,o}function _v(t,e){let r=new Error(`NavigationCancelingError: ${t||""}`);return r[Nv]=!0,r.cancellationCode=e,r}function IS(t){return Av(t)&&On(t.url)}function Av(t){return!!t&&t[Nv]}var CS=(t,e,r,n)=>N(o=>(new id(e,o.targetRouterState,o.currentRouterState,r,n).activate(t),o)),id=class{constructor(e,r,n,o,i){this.routeReuseStrategy=e,this.futureState=r,this.currState=n,this.forwardEvent=o,this.inputBindingEnabled=i}activate(e){let r=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(r,n,e),Ll(this.futureState.root),this.activateChildRoutes(r,n,e)}deactivateChildRoutes(e,r,n){let o=wr(r);e.children.forEach(i=>{let s=i.value.outlet;this.deactivateRoutes(i,o[s],n),delete o[s]}),Object.values(o).forEach(i=>{this.deactivateRouteAndItsChildren(i,n)})}deactivateRoutes(e,r,n){let o=e.value,i=r?r.value:null;if(o===i)if(o.component){let s=n.getContext(o.outlet);s&&this.deactivateChildRoutes(e,r,s.children)}else this.deactivateChildRoutes(e,r,n);else i&&this.deactivateRouteAndItsChildren(r,n)}deactivateRouteAndItsChildren(e,r){e.value.component&&this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,r):this.deactivateRouteAndOutlet(e,r)}detachAndStoreRouteSubtree(e,r){let n=r.getContext(e.value.outlet),o=n&&e.value.component?n.children:r,i=wr(e);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);if(n&&n.outlet){let s=n.outlet.detach(),a=n.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:s,route:e,contexts:a})}}deactivateRouteAndOutlet(e,r){let n=r.getContext(e.value.outlet),o=n&&e.value.component?n.children:r,i=wr(e);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null)}activateChildRoutes(e,r,n){let o=wr(r);e.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],n),this.forwardEvent(new Xl(i.value.snapshot))}),e.children.length&&this.forwardEvent(new Kl(e.value.snapshot))}activateRoutes(e,r,n){let o=e.value,i=r?r.value:null;if(Ll(o),o===i)if(o.component){let s=n.getOrCreateContext(o.outlet);this.activateChildRoutes(e,r,s.children)}else this.activateChildRoutes(e,r,n);else if(o.component){let s=n.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){let a=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),Ll(a.route.value),this.activateChildRoutes(e,null,s.children)}else s.attachRef=null,s.route=o,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(e,null,s.children)}else this.activateChildRoutes(e,null,n)}},ga=class{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}},Cr=class{constructor(e,r){this.component=e,this.route=r}};function bS(t,e,r){let n=t._root,o=e?e._root:null;return go(n,o,r,[n.value])}function MS(t){let e=t.routeConfig?t.routeConfig.canActivateChild:null;return!e||e.length===0?null:{node:t,guards:e}}function Nr(t,e){let r=Symbol(),n=e.get(t,r);return n===r?typeof t=="function"&&!ch(t)?t:e.get(t):n}function go(t,e,r,n,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=wr(e);return t.children.forEach(s=>{SS(s,i[s.value.outlet],r,n.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>Do(a,r.getContext(s),o)),o}function SS(t,e,r,n,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=t.value,s=e?e.value:null,a=r?r.getContext(t.value.outlet):null;if(s&&i.routeConfig===s.routeConfig){let c=TS(s,i,i.routeConfig.runGuardsAndResolvers);c?o.canActivateChecks.push(new ga(n)):(i.data=s.data,i._resolvedData=s._resolvedData),i.component?go(t,e,a?a.children:null,n,o):go(t,e,r,n,o),c&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new Cr(a.outlet.component,s))}else s&&Do(e,a,o),o.canActivateChecks.push(new ga(n)),i.component?go(t,null,a?a.children:null,n,o):go(t,null,r,n,o);return o}function TS(t,e,r){if(typeof r=="function")return r(t,e);switch(r){case"pathParamsChange":return!Rn(t.url,e.url);case"pathParamsOrQueryParamsChange":return!Rn(t.url,e.url)||!Dt(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!rd(t,e)||!Dt(t.queryParams,e.queryParams);case"paramsChange":default:return!rd(t,e)}}function Do(t,e,r){let n=wr(t),o=t.value;Object.entries(n).forEach(([i,s])=>{o.component?e?Do(s,e.children.getContext(i),r):Do(s,null,r):Do(s,e,r)}),o.component?e&&e.outlet&&e.outlet.isActivated?r.canDeactivateChecks.push(new Cr(e.outlet.component,o)):r.canDeactivateChecks.push(new Cr(null,o)):r.canDeactivateChecks.push(new Cr(null,o))}function Ao(t){return typeof t=="function"}function xS(t){return typeof t=="boolean"}function NS(t){return t&&Ao(t.canLoad)}function _S(t){return t&&Ao(t.canActivate)}function AS(t){return t&&Ao(t.canActivateChild)}function RS(t){return t&&Ao(t.canDeactivate)}function OS(t){return t&&Ao(t.canMatch)}function Rv(t){return t instanceof Xe||t?.name==="EmptyError"}var ta=Symbol("INITIAL_VALUE");function xr(){return Ce(t=>Fr(t.map(e=>e.pipe(Et(1),Ua(ta)))).pipe(N(e=>{for(let r of e)if(r!==!0){if(r===ta)return ta;if(r===!1||PS(r))return r}return!0}),ve(e=>e!==ta),Et(1)))}function PS(t){return On(t)||t instanceof bo}function kS(t,e){return X(r=>{let{targetSnapshot:n,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=r;return s.length===0&&i.length===0?M(Z(y({},r),{guardsResult:!0})):FS(s,n,o,t).pipe(X(a=>a&&xS(a)?LS(n,i,t,e):M(a)),N(a=>Z(y({},r),{guardsResult:a})))})}function FS(t,e,r,n){return Q(t).pipe(X(o=>BS(o.component,o.route,r,e,n)),ct(o=>o!==!0,!0))}function LS(t,e,r,n){return Q(e).pipe(wt(o=>Wn(VS(o.route.parent,n),jS(o.route,n),$S(t,o.path,r),US(t,o.route,r))),ct(o=>o!==!0,!0))}function jS(t,e){return t!==null&&e&&e(new Jl(t)),M(!0)}function VS(t,e){return t!==null&&e&&e(new Ql(t)),M(!0)}function US(t,e,r){let n=e.routeConfig?e.routeConfig.canActivate:null;if(!n||n.length===0)return M(!0);let o=n.map(i=>pi(()=>{let s=No(e)??r,a=Nr(i,s),c=_S(a)?a.canActivate(e,t):Pe(s,()=>a(e,t));return cn(c).pipe(ct())}));return M(o).pipe(xr())}function $S(t,e,r){let n=e[e.length-1],i=e.slice(0,e.length-1).reverse().map(s=>MS(s)).filter(s=>s!==null).map(s=>pi(()=>{let a=s.guards.map(c=>{let u=No(s.node)??r,l=Nr(c,u),d=AS(l)?l.canActivateChild(n,t):Pe(u,()=>l(n,t));return cn(d).pipe(ct())});return M(a).pipe(xr())}));return M(i).pipe(xr())}function BS(t,e,r,n,o){let i=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!i||i.length===0)return M(!0);let s=i.map(a=>{let c=No(e)??o,u=Nr(a,c),l=RS(u)?u.canDeactivate(t,e,r,n):Pe(c,()=>u(t,e,r,n));return cn(l).pipe(ct())});return M(s).pipe(xr())}function HS(t,e,r,n){let o=e.canLoad;if(o===void 0||o.length===0)return M(!0);let i=o.map(s=>{let a=Nr(s,t),c=NS(a)?a.canLoad(e,r):Pe(t,()=>a(e,r));return cn(c)});return M(i).pipe(xr(),Ov(n))}function Ov(t){return Na(ce(e=>{if(typeof e!="boolean")throw pa(t,e)}),N(e=>e===!0))}function zS(t,e,r,n){let o=e.canMatch;if(!o||o.length===0)return M(!0);let i=o.map(s=>{let a=Nr(s,t),c=OS(a)?a.canMatch(e,r):Pe(t,()=>a(e,r));return cn(c)});return M(i).pipe(xr(),Ov(n))}var Mo=class{constructor(e){this.segmentGroup=e||null}},So=class extends Error{constructor(e){super(),this.urlTree=e}};function Dr(t){return Gn(new Mo(t))}function GS(t){return Gn(new w(4e3,!1))}function qS(t){return Gn(_v(!1,Ue.GuardRejected))}var sd=class{constructor(e,r){this.urlSerializer=e,this.urlTree=r}lineralizeSegments(e,r){let n=[],o=r.root;for(;;){if(n=n.concat(o.segments),o.numberOfChildren===0)return M(n);if(o.numberOfChildren>1||!o.children[A])return GS(`${e.redirectTo}`);o=o.children[A]}}applyRedirectCommands(e,r,n,o,i){if(typeof r!="string"){let a=r,{queryParams:c,fragment:u,routeConfig:l,url:d,outlet:h,params:f,data:p,title:D}=o,m=Pe(i,()=>a({params:f,data:p,queryParams:c,fragment:u,routeConfig:l,url:d,outlet:h,title:D}));if(m instanceof Lt)throw new So(m);r=m}let s=this.applyRedirectCreateUrlTree(r,this.urlSerializer.parse(r),e,n);if(r[0]==="/")throw new So(s);return s}applyRedirectCreateUrlTree(e,r,n,o){let i=this.createSegmentGroup(e,r.root,n,o);return new Lt(i,this.createQueryParams(r.queryParams,this.urlTree.queryParams),r.fragment)}createQueryParams(e,r){let n={};return Object.entries(e).forEach(([o,i])=>{if(typeof i=="string"&&i[0]===":"){let a=i.substring(1);n[o]=r[a]}else n[o]=i}),n}createSegmentGroup(e,r,n,o){let i=this.createSegments(e,r.segments,n,o),s={};return Object.entries(r.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(e,c,n,o)}),new B(i,s)}createSegments(e,r,n,o){return r.map(i=>i.path[0]===":"?this.findPosParam(e,i,o):this.findOrReturn(i,n))}findPosParam(e,r,n){let o=n[r.path.substring(1)];if(!o)throw new w(4001,!1);return o}findOrReturn(e,r){let n=0;for(let o of r){if(o.path===e.path)return r.splice(n),o;n++}return e}},ad={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function WS(t,e,r,n,o){let i=fd(t,e,r);return i.matched?(n=gS(e,n),zS(n,e,r,o).pipe(N(s=>s===!0?i:y({},ad)))):M(i)}function fd(t,e,r){if(e.path==="**")return ZS(r);if(e.path==="")return e.pathMatch==="full"&&(t.hasChildren()||r.length>0)?y({},ad):{matched:!0,consumedSegments:[],remainingSegments:r,parameters:{},positionalParamSegments:{}};let o=(e.matcher||H0)(r,t,e);if(!o)return y({},ad);let i={};Object.entries(o.posParams??{}).forEach(([a,c])=>{i[a]=c.path});let s=o.consumed.length>0?y(y({},i),o.consumed[o.consumed.length-1].parameters):i;return{matched:!0,consumedSegments:o.consumed,remainingSegments:r.slice(o.consumed.length),parameters:s,positionalParamSegments:o.posParams??{}}}function ZS(t){return{matched:!0,parameters:t.length>0?hv(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}function sv(t,e,r,n){return r.length>0&&KS(t,r,n)?{segmentGroup:new B(e,QS(n,new B(r,t.children))),slicedSegments:[]}:r.length===0&&JS(t,r,n)?{segmentGroup:new B(t.segments,YS(t,r,n,t.children)),slicedSegments:r}:{segmentGroup:new B(t.segments,t.children),slicedSegments:r}}function YS(t,e,r,n){let o={};for(let i of r)if(Da(t,e,i)&&!n[st(i)]){let s=new B([],{});o[st(i)]=s}return y(y({},n),o)}function QS(t,e){let r={};r[A]=e;for(let n of t)if(n.path===""&&st(n)!==A){let o=new B([],{});r[st(n)]=o}return r}function KS(t,e,r){return r.some(n=>Da(t,e,n)&&st(n)!==A)}function JS(t,e,r){return r.some(n=>Da(t,e,n))}function Da(t,e,r){return(t.hasChildren()||e.length>0)&&r.pathMatch==="full"?!1:r.path===""}function XS(t,e,r,n){return st(t)!==n&&(n===A||!Da(e,r,t))?!1:fd(e,t,r).matched}function eT(t,e,r){return e.length===0&&!t.children[r]}var cd=class{};function tT(t,e,r,n,o,i,s="emptyOnly"){return new ud(t,e,r,n,o,s,i).recognize()}var nT=31,ud=class{constructor(e,r,n,o,i,s,a){this.injector=e,this.configLoader=r,this.rootComponentType=n,this.config=o,this.urlTree=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new sd(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(e){return new w(4002,`'${e.segmentGroup}'`)}recognize(){let e=sv(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(e).pipe(N(({children:r,rootSnapshot:n})=>{let o=new Ve(n,r),i=new ha("",o),s=cS(n,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,i.url=this.urlSerializer.serialize(s),{state:i,tree:s}}))}match(e){let r=new Ir([],Object.freeze({}),Object.freeze(y({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),A,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,e,A,r).pipe(N(n=>({children:n,rootSnapshot:r})),$t(n=>{if(n instanceof So)return this.urlTree=n.urlTree,this.match(n.urlTree.root);throw n instanceof Mo?this.noMatchError(n):n}))}processSegmentGroup(e,r,n,o,i){return n.segments.length===0&&n.hasChildren()?this.processChildren(e,r,n,i):this.processSegment(e,r,n,n.segments,o,!0,i).pipe(N(s=>s instanceof Ve?[s]:[]))}processChildren(e,r,n,o){let i=[];for(let s of Object.keys(n.children))s==="primary"?i.unshift(s):i.push(s);return Q(i).pipe(wt(s=>{let a=n.children[s],c=mS(r,s);return this.processSegmentGroup(e,c,a,s,o)}),ja((s,a)=>(s.push(...a),s)),Bt(null),La(),X(s=>{if(s===null)return Dr(n);let a=Pv(s);return rT(a),M(a)}))}processSegment(e,r,n,o,i,s,a){return Q(r).pipe(wt(c=>this.processSegmentAgainstRoute(c._injector??e,r,c,n,o,i,s,a).pipe($t(u=>{if(u instanceof Mo)return M(null);throw u}))),ct(c=>!!c),$t(c=>{if(Rv(c))return eT(n,o,i)?M(new cd):Dr(n);throw c}))}processSegmentAgainstRoute(e,r,n,o,i,s,a,c){return XS(n,o,i,s)?n.redirectTo===void 0?this.matchSegmentAgainstRoute(e,o,n,i,s,c):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(e,o,r,n,i,s,c):Dr(o):Dr(o)}expandSegmentAgainstRouteUsingRedirect(e,r,n,o,i,s,a){let{matched:c,parameters:u,consumedSegments:l,positionalParamSegments:d,remainingSegments:h}=fd(r,o,i);if(!c)return Dr(r);typeof o.redirectTo=="string"&&o.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>nT&&(this.allowRedirects=!1));let f=new Ir(i,u,Object.freeze(y({},this.urlTree.queryParams)),this.urlTree.fragment,av(o),st(o),o.component??o._loadedComponent??null,o,cv(o)),p=fa(f,a,this.paramsInheritanceStrategy);f.params=Object.freeze(p.params),f.data=Object.freeze(p.data);let D=this.applyRedirects.applyRedirectCommands(l,o.redirectTo,d,f,e);return this.applyRedirects.lineralizeSegments(o,D).pipe(X(m=>this.processSegment(e,n,r,m.concat(h),s,!1,a)))}matchSegmentAgainstRoute(e,r,n,o,i,s){let a=WS(r,n,o,e,this.urlSerializer);return n.path==="**"&&(r.children={}),a.pipe(Ce(c=>c.matched?(e=n._injector??e,this.getChildConfig(e,n,o).pipe(Ce(({routes:u})=>{let l=n._loadedInjector??e,{parameters:d,consumedSegments:h,remainingSegments:f}=c,p=new Ir(h,d,Object.freeze(y({},this.urlTree.queryParams)),this.urlTree.fragment,av(n),st(n),n.component??n._loadedComponent??null,n,cv(n)),D=fa(p,s,this.paramsInheritanceStrategy);p.params=Object.freeze(D.params),p.data=Object.freeze(D.data);let{segmentGroup:m,slicedSegments:v}=sv(r,h,f,u);if(v.length===0&&m.hasChildren())return this.processChildren(l,u,m,p).pipe(N(H=>new Ve(p,H)));if(u.length===0&&v.length===0)return M(new Ve(p,[]));let j=st(n)===i;return this.processSegment(l,u,m,v,j?A:i,!0,p).pipe(N(H=>new Ve(p,H instanceof Ve?[H]:[])))}))):Dr(r)))}getChildConfig(e,r,n){return r.children?M({routes:r.children,injector:e}):r.loadChildren?r._loadedRoutes!==void 0?M({routes:r._loadedRoutes,injector:r._loadedInjector}):HS(e,r,n,this.urlSerializer).pipe(X(o=>o?this.configLoader.loadChildren(e,r).pipe(ce(i=>{r._loadedRoutes=i.routes,r._loadedInjector=i.injector})):qS(r))):M({routes:[],injector:e})}};function rT(t){t.sort((e,r)=>e.value.outlet===A?-1:r.value.outlet===A?1:e.value.outlet.localeCompare(r.value.outlet))}function oT(t){let e=t.value.routeConfig;return e&&e.path===""}function Pv(t){let e=[],r=new Set;for(let n of t){if(!oT(n)){e.push(n);continue}let o=e.find(i=>n.value.routeConfig===i.value.routeConfig);o!==void 0?(o.children.push(...n.children),r.add(o)):e.push(n)}for(let n of r){let o=Pv(n.children);e.push(new Ve(n.value,o))}return e.filter(n=>!r.has(n))}function av(t){return t.data||{}}function cv(t){return t.resolve||{}}function iT(t,e,r,n,o,i){return X(s=>tT(t,e,r,n,s.extractedUrl,o,i).pipe(N(({state:a,tree:c})=>Z(y({},s),{targetSnapshot:a,urlAfterRedirects:c}))))}function sT(t,e){return X(r=>{let{targetSnapshot:n,guards:{canActivateChecks:o}}=r;if(!o.length)return M(r);let i=new Set(o.map(c=>c.route)),s=new Set;for(let c of i)if(!s.has(c))for(let u of kv(c))s.add(u);let a=0;return Q(s).pipe(wt(c=>i.has(c)?aT(c,n,t,e):(c.data=fa(c,c.parent,t).resolve,M(void 0))),ce(()=>a++),Zn(1),X(c=>a===s.size?M(r):Ae))})}function kv(t){let e=t.children.map(r=>kv(r)).flat();return[t,...e]}function aT(t,e,r,n){let o=t.routeConfig,i=t._resolve;return o?.title!==void 0&&!xv(o)&&(i[To]=o.title),cT(i,t,e,n).pipe(N(s=>(t._resolvedData=s,t.data=fa(t,t.parent,r).resolve,null)))}function cT(t,e,r,n){let o=Ul(t);if(o.length===0)return M({});let i={};return Q(o).pipe(X(s=>uT(t[s],e,r,n).pipe(ct(),ce(a=>{if(a instanceof bo)throw pa(new Mr,a);i[s]=a}))),Zn(1),Fa(i),$t(s=>Rv(s)?Ae:Gn(s)))}function uT(t,e,r,n){let o=No(e)??n,i=Nr(t,o),s=i.resolve?i.resolve(e,r):Pe(o,()=>i(e,r));return cn(s)}function jl(t){return Ce(e=>{let r=t(e);return r?Q(r).pipe(N(()=>e)):M(e)})}var Fv=(()=>{let e=class e{buildTitle(n){let o,i=n.root;for(;i!==void 0;)o=this.getResolvedTitleForRoute(i)??o,i=i.children.find(s=>s.outlet===A);return o}getResolvedTitleForRoute(n){return n.data[To]}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:()=>g(lT),providedIn:"root"});let t=e;return t})(),lT=(()=>{let e=class e extends Fv{constructor(n){super(),this.title=n}updateTitle(n){let o=this.buildTitle(n);o!==void 0&&this.title.setTitle(o)}};e.\u0275fac=function(o){return new(o||e)(C(ev))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Ro=new E("",{providedIn:"root",factory:()=>({})}),dT=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=Ih({type:e,selectors:[["ng-component"]],standalone:!0,features:[Yg],decls:1,vars:0,template:function(o,i){o&1&&Ju(0,"router-outlet")},dependencies:[yS],encapsulation:2});let t=e;return t})();function hd(t){let e=t.children&&t.children.map(hd),r=e?Z(y({},t),{children:e}):y({},t);return!r.component&&!r.loadComponent&&(e||r.loadChildren)&&r.outlet&&r.outlet!==A&&(r.component=dT),r}var ma=new E(""),pd=(()=>{let e=class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=g(Os)}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return M(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);let o=cn(n.loadComponent()).pipe(N(Lv),ce(s=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=s}),Ht(()=>{this.componentLoaders.delete(n)})),i=new Bn(o,()=>new ne).pipe($n());return this.componentLoaders.set(n,i),i}loadChildren(n,o){if(this.childrenLoaders.get(o))return this.childrenLoaders.get(o);if(o._loadedRoutes)return M({routes:o._loadedRoutes,injector:o._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(o);let s=fT(o,this.compiler,n,this.onLoadEndListener).pipe(Ht(()=>{this.childrenLoaders.delete(o)})),a=new Bn(s,()=>new ne).pipe($n());return this.childrenLoaders.set(o,a),a}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function fT(t,e,r,n){return cn(t.loadChildren()).pipe(N(Lv),X(o=>o instanceof Gr||Array.isArray(o)?M(o):Q(e.compileModuleAsync(o))),N(o=>{n&&n(t);let i,s,a=!1;return Array.isArray(o)?(s=o,a=!0):(i=o.create(r).injector,s=i.get(ma,[],{optional:!0,self:!0}).flat()),{routes:s.map(hd),injector:i}}))}function hT(t){return t&&typeof t=="object"&&"default"in t}function Lv(t){return hT(t)?t.default:t}var gd=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:()=>g(pT),providedIn:"root"});let t=e;return t})(),pT=(()=>{let e=class e{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,o){return n}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),jv=new E(""),Vv=new E("");function gT(t,e,r){let n=t.get(Vv),o=t.get(ue);return t.get(z).runOutsideAngular(()=>{if(!o.startViewTransition||n.skipNextTransition)return n.skipNextTransition=!1,new Promise(u=>setTimeout(u));let i,s=new Promise(u=>{i=u}),a=o.startViewTransition(()=>(i(),mT(t))),{onViewTransitionCreated:c}=n;return c&&Pe(t,()=>c({transition:a,from:e,to:r})),s})}function mT(t){return new Promise(e=>{qu({read:()=>setTimeout(e)},{injector:t})})}var vT=new E(""),md=(()=>{let e=class e{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new ne,this.transitionAbortSubject=new ne,this.configLoader=g(pd),this.environmentInjector=g(we),this.urlSerializer=g(xo),this.rootContexts=g(_o),this.location=g(yr),this.inputBindingEnabled=g(ya,{optional:!0})!==null,this.titleStrategy=g(Fv),this.options=g(Ro,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=g(gd),this.createViewTransition=g(jv,{optional:!0}),this.navigationErrorHandler=g(vT,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>M(void 0),this.rootComponentType=null;let n=i=>this.events.next(new Zl(i)),o=i=>this.events.next(new Yl(i));this.configLoader.onLoadEndListener=o,this.configLoader.onLoadStartListener=n}complete(){this.transitions?.complete()}handleNavigationRequest(n){let o=++this.navigationId;this.transitions?.next(Z(y(y({},this.transitions.value),n),{id:o}))}setupNavigations(n,o,i){return this.transitions=new de({id:0,currentUrlTree:o,currentRawUrl:o,extractedUrl:this.urlHandlingStrategy.extract(o),urlAfterRedirects:this.urlHandlingStrategy.extract(o),rawUrl:o,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:yo,restoredState:null,currentSnapshot:i.snapshot,targetSnapshot:null,currentRouterState:i,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(ve(s=>s.id!==0),N(s=>Z(y({},s),{extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),Ce(s=>{let a=!1,c=!1;return M(s).pipe(Ce(u=>{if(this.navigationId>s.id)return this.cancelNavigationTransition(s,"",Ue.SupersededByNewNavigation),Ae;this.currentTransition=s,this.currentNavigation={id:u.id,initialUrl:u.rawUrl,extractedUrl:u.extractedUrl,targetBrowserUrl:typeof u.extras.browserUrl=="string"?this.urlSerializer.parse(u.extras.browserUrl):u.extras.browserUrl,trigger:u.source,extras:u.extras,previousNavigation:this.lastSuccessfulNavigation?Z(y({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let l=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),d=u.extras.onSameUrlNavigation??n.onSameUrlNavigation;if(!l&&d!=="reload"){let h="";return this.events.next(new an(u.id,this.urlSerializer.serialize(u.rawUrl),h,aa.IgnoredSameUrlNavigation)),u.resolve(!1),Ae}if(this.urlHandlingStrategy.shouldProcessUrl(u.rawUrl))return M(u).pipe(Ce(h=>{let f=this.transitions?.getValue();return this.events.next(new Sr(h.id,this.urlSerializer.serialize(h.extractedUrl),h.source,h.restoredState)),f!==this.transitions?.getValue()?Ae:Promise.resolve(h)}),iT(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),ce(h=>{s.targetSnapshot=h.targetSnapshot,s.urlAfterRedirects=h.urlAfterRedirects,this.currentNavigation=Z(y({},this.currentNavigation),{finalUrl:h.urlAfterRedirects});let f=new ca(h.id,this.urlSerializer.serialize(h.extractedUrl),this.urlSerializer.serialize(h.urlAfterRedirects),h.targetSnapshot);this.events.next(f)}));if(l&&this.urlHandlingStrategy.shouldProcessUrl(u.currentRawUrl)){let{id:h,extractedUrl:f,source:p,restoredState:D,extras:m}=u,v=new Sr(h,this.urlSerializer.serialize(f),p,D);this.events.next(v);let j=Sv(this.rootComponentType).snapshot;return this.currentTransition=s=Z(y({},u),{targetSnapshot:j,urlAfterRedirects:f,extras:Z(y({},m),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=f,M(s)}else{let h="";return this.events.next(new an(u.id,this.urlSerializer.serialize(u.extractedUrl),h,aa.IgnoredByUrlHandlingStrategy)),u.resolve(!1),Ae}}),ce(u=>{let l=new zl(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(l)}),N(u=>(this.currentTransition=s=Z(y({},u),{guards:bS(u.targetSnapshot,u.currentSnapshot,this.rootContexts)}),s)),kS(this.environmentInjector,u=>this.events.next(u)),ce(u=>{if(s.guardsResult=u.guardsResult,u.guardsResult&&typeof u.guardsResult!="boolean")throw pa(this.urlSerializer,u.guardsResult);let l=new Gl(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot,!!u.guardsResult);this.events.next(l)}),ve(u=>u.guardsResult?!0:(this.cancelNavigationTransition(u,"",Ue.GuardRejected),!1)),jl(u=>{if(u.guards.canActivateChecks.length)return M(u).pipe(ce(l=>{let d=new ql(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}),Ce(l=>{let d=!1;return M(l).pipe(sT(this.paramsInheritanceStrategy,this.environmentInjector),ce({next:()=>d=!0,complete:()=>{d||this.cancelNavigationTransition(l,"",Ue.NoDataFromResolver)}}))}),ce(l=>{let d=new Wl(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}))}),jl(u=>{let l=d=>{let h=[];d.routeConfig?.loadComponent&&!d.routeConfig._loadedComponent&&h.push(this.configLoader.loadComponent(d.routeConfig).pipe(ce(f=>{d.component=f}),N(()=>{})));for(let f of d.children)h.push(...l(f));return h};return Fr(l(u.targetSnapshot.root)).pipe(Bt(null),Et(1))}),jl(()=>this.afterPreactivation()),Ce(()=>{let{currentSnapshot:u,targetSnapshot:l}=s,d=this.createViewTransition?.(this.environmentInjector,u.root,l.root);return d?Q(d).pipe(N(()=>s)):M(s)}),N(u=>{let l=DS(n.routeReuseStrategy,u.targetSnapshot,u.currentRouterState);return this.currentTransition=s=Z(y({},u),{targetRouterState:l}),this.currentNavigation.targetRouterState=l,s}),ce(()=>{this.events.next(new Io)}),CS(this.rootContexts,n.routeReuseStrategy,u=>this.events.next(u),this.inputBindingEnabled),Et(1),ce({next:u=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new at(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects))),this.titleStrategy?.updateTitle(u.targetRouterState.snapshot),u.resolve(!0)},complete:()=>{a=!0}}),$a(this.transitionAbortSubject.pipe(ce(u=>{throw u}))),Ht(()=>{!a&&!c&&this.cancelNavigationTransition(s,"",Ue.SupersededByNewNavigation),this.currentTransition?.id===s.id&&(this.currentNavigation=null,this.currentTransition=null)}),$t(u=>{if(c=!0,Av(u))this.events.next(new Ft(s.id,this.urlSerializer.serialize(s.extractedUrl),u.message,u.cancellationCode)),IS(u)?this.events.next(new Tr(u.url,u.navigationBehaviorOptions)):s.resolve(!1);else{let l=new Eo(s.id,this.urlSerializer.serialize(s.extractedUrl),u,s.targetSnapshot??void 0);try{let d=Pe(this.environmentInjector,()=>this.navigationErrorHandler?.(l));if(d instanceof bo){let{message:h,cancellationCode:f}=pa(this.urlSerializer,d);this.events.next(new Ft(s.id,this.urlSerializer.serialize(s.extractedUrl),h,f)),this.events.next(new Tr(d.redirectTo,d.navigationBehaviorOptions))}else{this.events.next(l);let h=n.errorHandler(u);s.resolve(!!h)}}catch(d){this.options.resolveNavigationPromiseOnError?s.resolve(!1):s.reject(d)}}return Ae}))}))}cancelNavigationTransition(n,o,i){let s=new Ft(n.id,this.urlSerializer.serialize(n.extractedUrl),o,i);this.events.next(s),n.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let n=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),o=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return n.toString()!==o?.toString()&&!this.currentNavigation?.extras.skipLocationChange}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function yT(t){return t!==yo}var DT=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:()=>g(wT),providedIn:"root"});let t=e;return t})(),ld=class{shouldDetach(e){return!1}store(e,r){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,r){return e.routeConfig===r.routeConfig}},wT=(()=>{let e=class e extends ld{};e.\u0275fac=(()=>{let n;return function(i){return(n||(n=Cu(e)))(i||e)}})(),e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Uv=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:()=>g(ET),providedIn:"root"});let t=e;return t})(),ET=(()=>{let e=class e extends Uv{constructor(){super(...arguments),this.location=g(yr),this.urlSerializer=g(xo),this.options=g(Ro,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=g(gd),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new Lt,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=Sv(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(n){return this.location.subscribe(o=>{o.type==="popstate"&&n(o.url,o.state)})}handleRouterEvent(n,o){if(n instanceof Sr)this.stateMemento=this.createStateMemento();else if(n instanceof an)this.rawUrlTree=o.initialUrl;else if(n instanceof ca){if(this.urlUpdateStrategy==="eager"&&!o.extras.skipLocationChange){let i=this.urlHandlingStrategy.merge(o.finalUrl,o.initialUrl);this.setBrowserUrl(o.targetBrowserUrl??i,o)}}else n instanceof Io?(this.currentUrlTree=o.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(o.finalUrl,o.initialUrl),this.routerState=o.targetRouterState,this.urlUpdateStrategy==="deferred"&&!o.extras.skipLocationChange&&this.setBrowserUrl(o.targetBrowserUrl??this.rawUrlTree,o)):n instanceof Ft&&(n.code===Ue.GuardRejected||n.code===Ue.NoDataFromResolver)?this.restoreHistory(o):n instanceof Eo?this.restoreHistory(o,!0):n instanceof at&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,o){let i=n instanceof Lt?this.urlSerializer.serialize(n):n;if(this.location.isCurrentPathEqualTo(i)||o.extras.replaceUrl){let s=this.browserPageId,a=y(y({},o.extras.state),this.generateNgRouterState(o.id,s));this.location.replaceState(i,"",a)}else{let s=y(y({},o.extras.state),this.generateNgRouterState(o.id,this.browserPageId+1));this.location.go(i,"",s)}}restoreHistory(n,o=!1){if(this.canceledNavigationResolution==="computed"){let i=this.browserPageId,s=this.currentPageId-i;s!==0?this.location.historyGo(s):this.currentUrlTree===n.finalUrl&&s===0&&(this.resetState(n),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(o&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,o){return this.canceledNavigationResolution==="computed"?{navigationId:n,\u0275routerPageId:o}:{navigationId:n}}};e.\u0275fac=(()=>{let n;return function(i){return(n||(n=Cu(e)))(i||e)}})(),e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),mo=function(t){return t[t.COMPLETE=0]="COMPLETE",t[t.FAILED=1]="FAILED",t[t.REDIRECTING=2]="REDIRECTING",t}(mo||{});function $v(t,e){t.events.pipe(ve(r=>r instanceof at||r instanceof Ft||r instanceof Eo||r instanceof an),N(r=>r instanceof at||r instanceof an?mo.COMPLETE:(r instanceof Ft?r.code===Ue.Redirect||r.code===Ue.SupersededByNewNavigation:!1)?mo.REDIRECTING:mo.FAILED),ve(r=>r!==mo.REDIRECTING),Et(1)).subscribe(()=>{e()})}function IT(t){throw t}var CT={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},bT={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},jt=(()=>{let e=class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.console=g(xs),this.stateManager=g(Uv),this.options=g(Ro,{optional:!0})||{},this.pendingTasks=g(gt),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=g(md),this.urlSerializer=g(xo),this.location=g(yr),this.urlHandlingStrategy=g(gd),this._events=new ne,this.errorHandler=this.options.errorHandler||IT,this.navigated=!1,this.routeReuseStrategy=g(DT),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=g(ma,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!g(ya,{optional:!0}),this.eventsSubscription=new J,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:n=>{this.console.warn(n)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let n=this.navigationTransitions.events.subscribe(o=>{try{let i=this.navigationTransitions.currentTransition,s=this.navigationTransitions.currentNavigation;if(i!==null&&s!==null){if(this.stateManager.handleRouterEvent(o,s),o instanceof Ft&&o.code!==Ue.Redirect&&o.code!==Ue.SupersededByNewNavigation)this.navigated=!0;else if(o instanceof at)this.navigated=!0;else if(o instanceof Tr){let a=o.navigationBehaviorOptions,c=this.urlHandlingStrategy.merge(o.url,i.currentRawUrl),u=y({browserUrl:i.extras.browserUrl,info:i.extras.info,skipLocationChange:i.extras.skipLocationChange,replaceUrl:i.extras.replaceUrl||this.urlUpdateStrategy==="eager"||yT(i.source)},a);this.scheduleNavigation(c,yo,null,u,{resolve:i.resolve,reject:i.reject,promise:i.promise})}}ST(o)&&this._events.next(o)}catch(i){this.navigationTransitions.transitionAbortSubject.next(i)}});this.eventsSubscription.add(n)}resetRootComponentType(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),yo,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((n,o)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(n,"popstate",o)},0)})}navigateToSyncWithBrowser(n,o,i){let s={replaceUrl:!0},a=i?.navigationId?i:null;if(i){let u=y({},i);delete u.navigationId,delete u.\u0275routerPageId,Object.keys(u).length!==0&&(s.state=u)}let c=this.parseUrl(n);this.scheduleNavigation(c,o,a,s)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(hd),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(n,o={}){let{relativeTo:i,queryParams:s,fragment:a,queryParamsHandling:c,preserveFragment:u}=o,l=u?this.currentUrlTree.fragment:a,d=null;switch(c){case"merge":d=y(y({},this.currentUrlTree.queryParams),s);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=s||null}d!==null&&(d=this.removeEmptyProps(d));let h;try{let f=i?i.snapshot:this.routerState.snapshot.root;h=Iv(f)}catch{(typeof n[0]!="string"||n[0][0]!=="/")&&(n=[]),h=this.currentUrlTree.root}return Cv(h,n,d,l??null)}navigateByUrl(n,o={skipLocationChange:!1}){let i=On(n)?n:this.parseUrl(n),s=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(s,yo,null,o)}navigate(n,o={skipLocationChange:!1}){return MT(n),this.navigateByUrl(this.createUrlTree(n,o),o)}serializeUrl(n){return this.urlSerializer.serialize(n)}parseUrl(n){try{return this.urlSerializer.parse(n)}catch{return this.urlSerializer.parse("/")}}isActive(n,o){let i;if(o===!0?i=y({},CT):o===!1?i=y({},bT):i=o,On(n))return tv(this.currentUrlTree,n,i);let s=this.parseUrl(n);return tv(this.currentUrlTree,s,i)}removeEmptyProps(n){return Object.entries(n).reduce((o,[i,s])=>(s!=null&&(o[i]=s),o),{})}scheduleNavigation(n,o,i,s,a){if(this.disposed)return Promise.resolve(!1);let c,u,l;a?(c=a.resolve,u=a.reject,l=a.promise):l=new Promise((h,f)=>{c=h,u=f});let d=this.pendingTasks.add();return $v(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(d))}),this.navigationTransitions.handleNavigationRequest({source:o,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:s,resolve:c,reject:u,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(h=>Promise.reject(h))}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function MT(t){for(let e=0;e<t.length;e++)if(t[e]==null)throw new w(4008,!1)}function ST(t){return!(t instanceof Io)&&!(t instanceof Tr)}var uv=(()=>{let e=class e{constructor(n,o,i,s,a,c){this.router=n,this.route=o,this.tabIndexAttribute=i,this.renderer=s,this.el=a,this.locationStrategy=c,this.href=null,this.onChanges=new ne,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1,this.routerLinkInput=null;let u=a.nativeElement.tagName?.toLowerCase();this.isAnchorElement=u==="a"||u==="area",this.isAnchorElement?this.subscription=n.events.subscribe(l=>{l instanceof at&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(n){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",n)}ngOnChanges(n){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(n){n==null?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(On(n)?this.routerLinkInput=n:this.routerLinkInput=Array.isArray(n)?n:[n],this.setTabIndexIfNotOnNativeEl("0"))}onClick(n,o,i,s,a){let c=this.urlTree;if(c===null||this.isAnchorElement&&(n!==0||o||i||s||a||typeof this.target=="string"&&this.target!="_self"))return!0;let u={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(c,u),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let n=this.urlTree;this.href=n!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(n)):null;let o=this.href===null?null:kp(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",o)}applyAttributeValue(n,o){let i=this.renderer,s=this.el.nativeElement;o!==null?i.setAttribute(s,n,o):i.removeAttribute(s,n)}get urlTree(){return this.routerLinkInput===null?null:On(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}};e.\u0275fac=function(o){return new(o||e)(L(jt),L(Pn),bu("tabindex"),L(xn),L(rt),L(Pt))},e.\u0275dir=Ge({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(o,i){o&1&&Xu("click",function(a){return i.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),o&2&&Ku("target",i.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",ro],skipLocationChange:[2,"skipLocationChange","skipLocationChange",ro],replaceUrl:[2,"replaceUrl","replaceUrl",ro],routerLink:"routerLink"},standalone:!0,features:[Yu,Sn]});let t=e;return t})(),LF=(()=>{let e=class e{get isActive(){return this._isActive}constructor(n,o,i,s,a){this.router=n,this.element=o,this.renderer=i,this.cdr=s,this.link=a,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new fe,this.routerEventsSubscription=n.events.subscribe(c=>{c instanceof at&&this.update()})}ngAfterContentInit(){M(this.links.changes,M(null)).pipe(Ut()).subscribe(n=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let n=[...this.links.toArray(),this.link].filter(o=>!!o).map(o=>o.onChanges);this.linkInputChangesSubscription=Q(n).pipe(Ut()).subscribe(o=>{this._isActive!==this.isLinkActive(this.router)(o)&&this.update()})}set routerLinkActive(n){let o=Array.isArray(n)?n:n.split(" ");this.classes=o.filter(i=>!!i)}ngOnChanges(n){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let n=this.hasActiveLinks();this.classes.forEach(o=>{n?this.renderer.addClass(this.element.nativeElement,o):this.renderer.removeClass(this.element.nativeElement,o)}),n&&this.ariaCurrentWhenActive!==void 0?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==n&&(this._isActive=n,this.cdr.markForCheck(),this.isActiveChange.emit(n))})}isLinkActive(n){let o=TT(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return i=>{let s=i.urlTree;return s?n.isActive(s,o):!1}}hasActiveLinks(){let n=this.isLinkActive(this.router);return this.link&&n(this.link)||this.links.some(n)}};e.\u0275fac=function(o){return new(o||e)(L(jt),L(rt),L(xn),L(Nn),L(uv,8))},e.\u0275dir=Ge({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(o,i,s){if(o&1&&zg(s,uv,5),o&2){let a;Gg(a=qg())&&(i.links=a)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[Sn]});let t=e;return t})();function TT(t){return!!t.paths}var va=class{};var xT=(()=>{let e=class e{constructor(n,o,i,s,a){this.router=n,this.injector=i,this.preloadingStrategy=s,this.loader=a}setUpPreloading(){this.subscription=this.router.events.pipe(ve(n=>n instanceof at),wt(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(n,o){let i=[];for(let s of o){s.providers&&!s._injector&&(s._injector=Ts(s.providers,n,`Route: ${s.path}`));let a=s._injector??n,c=s._loadedInjector??a;(s.loadChildren&&!s._loadedRoutes&&s.canLoad===void 0||s.loadComponent&&!s._loadedComponent)&&i.push(this.preloadConfig(a,s)),(s.children||s._loadedRoutes)&&i.push(this.processRoutes(c,s.children??s._loadedRoutes))}return Q(i).pipe(Ut())}preloadConfig(n,o){return this.preloadingStrategy.preload(o,()=>{let i;o.loadChildren&&o.canLoad===void 0?i=this.loader.loadChildren(n,o):i=M(null);let s=i.pipe(X(a=>a===null?M(void 0):(o._loadedRoutes=a.routes,o._loadedInjector=a.injector,this.processRoutes(a.injector??n,a.routes))));if(o.loadComponent&&!o._loadedComponent){let a=this.loader.loadComponent(o);return Q([s,a]).pipe(Ut())}else return s})}};e.\u0275fac=function(o){return new(o||e)(C(jt),C(Os),C(we),C(va),C(pd))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Bv=new E(""),NT=(()=>{let e=class e{constructor(n,o,i,s,a={}){this.urlSerializer=n,this.transitions=o,this.viewportScroller=i,this.zone=s,this.options=a,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},a.scrollPositionRestoration||="disabled",a.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof Sr?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof at?(this.lastId=n.id,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.urlAfterRedirects).fragment)):n instanceof an&&n.code===aa.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof ua&&(n.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(n.position):n.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(n.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(n,o){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new ua(n,this.lastSource==="popstate"?this.store[this.restoredId]:null,o))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}};e.\u0275fac=function(o){Zp()},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})();function _T(t){return t.routerState.root}function Oo(t,e){return{\u0275kind:t,\u0275providers:e}}function AT(){let t=g(Re);return e=>{let r=t.get(nn);if(e!==r.components[0])return;let n=t.get(jt),o=t.get(Hv);t.get(vd)===1&&n.initialNavigation(),t.get(zv,null,R.Optional)?.setUpPreloading(),t.get(Bv,null,R.Optional)?.init(),n.resetRootComponentType(r.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}var Hv=new E("",{factory:()=>new ne}),vd=new E("",{providedIn:"root",factory:()=>1});function RT(){return Oo(2,[{provide:vd,useValue:0},{provide:As,multi:!0,deps:[Re],useFactory:e=>{let r=e.get(Cm,Promise.resolve());return()=>r.then(()=>new Promise(n=>{let o=e.get(jt),i=e.get(Hv);$v(o,()=>{n(!0)}),e.get(md).afterPreactivation=()=>(n(!0),i.closed?M(void 0):i),o.initialNavigation()}))}}])}function OT(){return Oo(3,[{provide:As,multi:!0,useFactory:()=>{let e=g(jt);return()=>{e.setUpLocationChangeListener()}}},{provide:vd,useValue:2}])}var zv=new E("");function PT(t){return Oo(0,[{provide:zv,useExisting:xT},{provide:va,useExisting:t}])}function kT(){return Oo(8,[iv,{provide:ya,useExisting:iv}])}function FT(t){let e=[{provide:jv,useValue:gT},{provide:Vv,useValue:y({skipNextTransition:!!t?.skipInitialTransition},t)}];return Oo(9,e)}var lv=new E("ROUTER_FORROOT_GUARD"),LT=[yr,{provide:xo,useClass:Mr},jt,_o,{provide:Pn,useFactory:_T,deps:[jt]},pd,[]],jF=(()=>{let e=class e{constructor(n){}static forRoot(n,o){return{ngModule:e,providers:[LT,[],{provide:ma,multi:!0,useValue:n},{provide:lv,useFactory:$T,deps:[[jt,new Zr,new ss]]},{provide:Ro,useValue:o||{}},o?.useHash?VT():UT(),jT(),o?.preloadingStrategy?PT(o.preloadingStrategy).\u0275providers:[],o?.initialNavigation?BT(o):[],o?.bindToComponentInputs?kT().\u0275providers:[],o?.enableViewTransitions?FT().\u0275providers:[],HT()]}}static forChild(n){return{ngModule:e,providers:[{provide:ma,multi:!0,useValue:n}]}}};e.\u0275fac=function(o){return new(o||e)(C(lv,8))},e.\u0275mod=Mt({type:e}),e.\u0275inj=bt({});let t=e;return t})();function jT(){return{provide:Bv,useFactory:()=>{let t=g(Rm),e=g(z),r=g(Ro),n=g(md),o=g(xo);return r.scrollOffset&&t.setOffset(r.scrollOffset),new NT(o,n,t,e,r)}}}function VT(){return{provide:Pt,useClass:Mm}}function UT(){return{provide:Pt,useClass:Dl}}function $T(t){return"guarded"}function BT(t){return[t.initialNavigation==="disabled"?OT().\u0275providers:[],t.initialNavigation==="enabledBlocking"?RT().\u0275providers:[]]}var dv=new E("");function HT(){return[{provide:dv,useFactory:AT},{provide:Rs,multi:!0,useExisting:dv}]}export{J as a,O as b,ne as c,Q as d,M as e,Pa as f,fy as g,N as h,X as i,Wn as j,pi as k,Ey as l,ka as m,xy as n,ve as o,wt as p,af as q,Et as r,_y as s,Ce as t,$a as u,w as v,sh as w,I as x,bt as y,E as z,C as A,g as B,Ih as C,Mt as D,Ge as E,cs as F,Ph as G,Sn as H,AP as I,RP as J,OP as K,Cu as L,Re as M,ys as N,PP as O,rt as P,fe as Q,mt as R,kP as S,ot as T,FP as U,Qw as V,LP as W,jP as X,VP as Y,L as Z,Kt as _,cr as $,xn as aa,z as ba,qu as ca,vt as da,HP as ea,uC as fa,Yu as ga,DC as ha,Ku as ia,FC as ja,Ag as ka,LC as la,zP as ma,GP as na,qP as oa,Vg as pa,Ug as qa,Ju as ra,$g as sa,Bg as ta,JC as ua,WP as va,Xu as wa,ZP as xa,YP as ya,QP as za,zg as Aa,KP as Ba,Gg as Ca,qg as Da,JP as Ea,XP as Fa,fb as Ga,Wg as Ha,hb as Ia,pb as Ja,ek as Ka,gb as La,tk as Ma,Yg as Na,nk as Oa,rk as Pa,ok as Qa,ik as Ra,sk as Sa,ak as Ta,ck as Ua,uk as Va,lk as Wa,dk as Xa,fk as Ya,hk as Za,pk as _a,gk as $a,to as ab,Nn as bb,ro as cb,Wb as db,mk as eb,Zb as fb,Kb as gb,_n as hb,ue as ib,Pt as jb,Dl as kb,kk as lb,Fk as mb,Lk as nb,LM as ob,jk as pb,Vk as qb,Uk as rb,$k as sb,Bk as tb,Hk as ub,Am as vb,zM as wb,Ws as xb,on as yb,sn as zb,JM as Ab,i0 as Bb,rF as Cb,Wm as Db,yF as Eb,DF as Fb,U0 as Gb,at as Hb,Pn as Ib,yS as Jb,jt as Kb,uv as Lb,LF as Mb,jF as Nb};