-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathchunk-HKNNLCEI.js
8 lines (8 loc) · 236 KB
/
chunk-HKNNLCEI.js
1
2
3
4
5
6
7
8
var ag=Object.defineProperty,cg=Object.defineProperties;var ug=Object.getOwnPropertyDescriptors;var Ur=Object.getOwnPropertySymbols;var Nu=Object.prototype.hasOwnProperty,Ru=Object.prototype.propertyIsEnumerable;var _u=(e,t,r)=>t in e?ag(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,v=(e,t)=>{for(var r in t||={})Nu.call(t,r)&&_u(e,r,t[r]);if(Ur)for(var r of Ur(t))Ru.call(t,r)&&_u(e,r,t[r]);return e},q=(e,t)=>cg(e,ug(t));var Ou=(e,t)=>{var r={};for(var n in e)Nu.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&Ur)for(var n of Ur(e))t.indexOf(n)<0&&Ru.call(e,n)&&(r[n]=e[n]);return r};var qi=(e,t,r)=>new Promise((n,o)=>{var i=c=>{try{a(r.next(c))}catch(u){o(u)}},s=c=>{try{a(r.throw(c))}catch(u){o(u)}},a=c=>c.done?n(c.value):Promise.resolve(c.value).then(i,s);a((r=r.apply(e,t)).next())});var Pu=null;var Wi=1,Fu=Symbol("SIGNAL");function ne(e){let t=Pu;return Pu=e,t}var ku={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 lg(e){if(!(Qi(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===Wi)){if(!e.producerMustRecompute(e)&&!Zi(e)){e.dirty=!1,e.lastCleanEpoch=Wi;return}e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=Wi}}function Lu(e){return e&&(e.nextProducerIndex=0),ne(e)}function ju(e,t){if(ne(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(Qi(e))for(let r=e.nextProducerIndex;r<e.producerNode.length;r++)Yi(e.producerNode[r],e.producerIndexOfThis[r]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Zi(e){Br(e);for(let t=0;t<e.producerNode.length;t++){let r=e.producerNode[t],n=e.producerLastReadVersion[t];if(n!==r.version||(lg(r),n!==r.version))return!0}return!1}function Vu(e){if(Br(e),Qi(e))for(let t=0;t<e.producerNode.length;t++)Yi(e.producerNode[t],e.producerIndexOfThis[t]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function Yi(e,t){if(dg(e),Br(e),e.liveConsumerNode.length===1)for(let n=0;n<e.producerNode.length;n++)Yi(e.producerNode[n],e.producerIndexOfThis[n]);let r=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[r],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[r],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){let n=e.liveConsumerIndexOfThis[t],o=e.liveConsumerNode[t];Br(o),o.producerIndexOfThis[n]=t}}function Qi(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function Br(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function dg(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function fg(){throw new Error}var hg=fg;function $u(e){hg=e}function D(e){return typeof e=="function"}function Kt(e){let r=e(n=>{Error.call(n),n.stack=new Error().stack});return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}var Hr=Kt(e=>function(r){e(this),this.message=r?`${r.length} errors occurred during unsubscription:
${r.map((n,o)=>`${o+1}) ${n.toString()}`).join(`
`)}`:"",this.name="UnsubscriptionError",this.errors=r});function bt(e,t){if(e){let r=e.indexOf(t);0<=r&&e.splice(r,1)}}var G=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:r}=this;if(r)if(this._parentage=null,Array.isArray(r))for(let i of r)i.remove(this);else r.remove(this);let{initialTeardown:n}=this;if(D(n))try{n()}catch(i){t=i instanceof Hr?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Uu(i)}catch(s){t=t??[],s instanceof Hr?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Hr(t)}}add(t){var r;if(t&&t!==this)if(this.closed)Uu(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(t)}}_hasParent(t){let{_parentage:r}=this;return r===t||Array.isArray(r)&&r.includes(t)}_addParent(t){let{_parentage:r}=this;this._parentage=Array.isArray(r)?(r.push(t),r):r?[r,t]:t}_removeParent(t){let{_parentage:r}=this;r===t?this._parentage=null:Array.isArray(r)&&bt(r,t)}remove(t){let{_finalizers:r}=this;r&&bt(r,t),t instanceof e&&t._removeParent(this)}};G.EMPTY=(()=>{let e=new G;return e.closed=!0,e})();var Ki=G.EMPTY;function zr(e){return e instanceof G||e&&"closed"in e&&D(e.remove)&&D(e.add)&&D(e.unsubscribe)}function Uu(e){D(e)?e():e.unsubscribe()}var _e={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Jt={setTimeout(e,t,...r){let{delegate:n}=Jt;return n?.setTimeout?n.setTimeout(e,t,...r):setTimeout(e,t,...r)},clearTimeout(e){let{delegate:t}=Jt;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Gr(e){Jt.setTimeout(()=>{let{onUnhandledError:t}=_e;if(t)t(e);else throw e})}function We(){}var Bu=Ji("C",void 0,void 0);function Hu(e){return Ji("E",void 0,e)}function zu(e){return Ji("N",e,void 0)}function Ji(e,t,r){return{kind:e,value:t,error:r}}var Mt=null;function Xt(e){if(_e.useDeprecatedSynchronousErrorHandling){let t=!Mt;if(t&&(Mt={errorThrown:!1,error:null}),e(),t){let{errorThrown:r,error:n}=Mt;if(Mt=null,r)throw n}}else e()}function Gu(e){_e.useDeprecatedSynchronousErrorHandling&&Mt&&(Mt.errorThrown=!0,Mt.error=e)}var Tt=class extends G{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,zr(t)&&t.add(this)):this.destination=mg}static create(t,r,n){return new en(t,r,n)}next(t){this.isStopped?es(zu(t),this):this._next(t)}error(t){this.isStopped?es(Hu(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?es(Bu,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},pg=Function.prototype.bind;function Xi(e,t){return pg.call(e,t)}var ts=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:r}=this;if(r.next)try{r.next(t)}catch(n){qr(n)}}error(t){let{partialObserver:r}=this;if(r.error)try{r.error(t)}catch(n){qr(n)}else qr(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(r){qr(r)}}},en=class extends Tt{constructor(t,r,n){super();let o;if(D(t)||!t)o={next:t??void 0,error:r??void 0,complete:n??void 0};else{let i;this&&_e.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Xi(t.next,i),error:t.error&&Xi(t.error,i),complete:t.complete&&Xi(t.complete,i)}):o=t}this.destination=new ts(o)}};function qr(e){_e.useDeprecatedSynchronousErrorHandling?Gu(e):Gr(e)}function gg(e){throw e}function es(e,t){let{onStoppedNotification:r}=_e;r&&Jt.setTimeout(()=>r(e,t))}var mg={closed:!0,next:We,error:gg,complete:We};var tn=typeof Symbol=="function"&&Symbol.observable||"@@observable";function ge(e){return e}function ns(...e){return rs(e)}function rs(e){return e.length===0?ge:e.length===1?e[0]:function(r){return e.reduce((n,o)=>o(n),r)}}var x=(()=>{class e{constructor(r){r&&(this._subscribe=r)}lift(r){let n=new e;return n.source=this,n.operator=r,n}subscribe(r,n,o){let i=yg(r)?r:new en(r,n,o);return Xt(()=>{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=qu(n),new n((o,i)=>{let s=new en({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)}[tn](){return this}pipe(...r){return rs(r)(this)}toPromise(r){return r=qu(r),new r((n,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>n(i))})}}return e.create=t=>new e(t),e})();function qu(e){var t;return(t=e??_e.Promise)!==null&&t!==void 0?t:Promise}function vg(e){return e&&D(e.next)&&D(e.error)&&D(e.complete)}function yg(e){return e&&e instanceof Tt||vg(e)&&zr(e)}function os(e){return D(e?.lift)}function R(e){return t=>{if(os(t))return t.lift(function(r){try{return e(r,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}function O(e,t,r,n,o){return new is(e,t,r,n,o)}var is=class extends Tt{constructor(t,r,n,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=r?function(a){try{r(a)}catch(c){t.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){t.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=n?function(){try{n()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:r}=this;super.unsubscribe(),!r&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};function nn(){return R((e,t)=>{let r=null;e._refCount++;let n=O(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){r=null;return}let o=e._connection,i=r;r=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(n),n.closed||(r=e.connect())})}var rt=class extends x{constructor(t,r){super(),this.source=t,this.subjectFactory=r,this._subject=null,this._refCount=0,this._connection=null,os(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){let t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new G;let r=this.getSubject();t.add(this.source.subscribe(O(r,void 0,()=>{this._teardown(),r.complete()},n=>{this._teardown(),r.error(n)},()=>this._teardown()))),t.closed&&(this._connection=null,t=G.EMPTY)}return t}refCount(){return nn()(this)}};var Wu=Kt(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var Z=(()=>{class e extends x{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(r){let n=new Wr(this,this);return n.operator=r,n}_throwIfClosed(){if(this.closed)throw new Wu}next(r){Xt(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let n of this.currentObservers)n.next(r)}})}error(r){Xt(()=>{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(){Xt(()=>{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?Ki:(this.currentObservers=null,i.push(r),new G(()=>{this.currentObservers=null,bt(i,r)}))}_checkFinalizedStatuses(r){let{hasError:n,thrownError:o,isStopped:i}=this;n?r.error(o):i&&r.complete()}asObservable(){let r=new x;return r.source=this,r}}return e.create=(t,r)=>new Wr(t,r),e})(),Wr=class extends Z{constructor(t,r){super(),this.destination=t,this.source=r}next(t){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.next)===null||n===void 0||n.call(r,t)}error(t){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.error)===null||n===void 0||n.call(r,t)}complete(){var t,r;(r=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||r===void 0||r.call(t)}_subscribe(t){var r,n;return(n=(r=this.source)===null||r===void 0?void 0:r.subscribe(t))!==null&&n!==void 0?n:Ki}};var K=class extends Z{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let r=super._subscribe(t);return!r.closed&&t.next(this._value),r}getValue(){let{hasError:t,thrownError:r,_value:n}=this;if(t)throw r;return this._throwIfClosed(),n}next(t){super.next(this._value=t)}};var ss={now(){return(ss.delegate||Date).now()},delegate:void 0};var Zr=class extends G{constructor(t,r){super()}schedule(t,r=0){return this}};var Ln={setInterval(e,t,...r){let{delegate:n}=Ln;return n?.setInterval?n.setInterval(e,t,...r):setInterval(e,t,...r)},clearInterval(e){let{delegate:t}=Ln;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var Yr=class extends Zr{constructor(t,r){super(t,r),this.scheduler=t,this.work=r,this.pending=!1}schedule(t,r=0){var n;if(this.closed)return this;this.state=t;let o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,r)),this.pending=!0,this.delay=r,this.id=(n=this.id)!==null&&n!==void 0?n:this.requestAsyncId(i,this.id,r),this}requestAsyncId(t,r,n=0){return Ln.setInterval(t.flush.bind(t,this),n)}recycleAsyncId(t,r,n=0){if(n!=null&&this.delay===n&&this.pending===!1)return r;r!=null&&Ln.clearInterval(r)}execute(t,r){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let n=this._execute(t,r);if(n)return n;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,r){let n=!1,o;try{this.work(t)}catch(i){n=!0,o=i||new Error("Scheduled action threw falsy error")}if(n)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){let{id:t,scheduler:r}=this,{actions:n}=r;this.work=this.state=this.scheduler=null,this.pending=!1,bt(n,this),t!=null&&(this.id=this.recycleAsyncId(r,t,null)),this.delay=null,super.unsubscribe()}}};var rn=class e{constructor(t,r=e.now){this.schedulerActionCtor=t,this.now=r}schedule(t,r=0,n){return new this.schedulerActionCtor(this,t).schedule(n,r)}};rn.now=ss.now;var Qr=class extends rn{constructor(t,r=rn.now){super(t,r),this.actions=[],this._active=!1}flush(t){let{actions:r}=this;if(this._active){r.push(t);return}let n;this._active=!0;do if(n=t.execute(t.state,t.delay))break;while(t=r.shift());if(this._active=!1,n){for(;t=r.shift();)t.unsubscribe();throw n}}};var as=new Qr(Yr),Zu=as;var ue=new x(e=>e.complete());function Kr(e){return e&&D(e.schedule)}function cs(e){return e[e.length-1]}function Jr(e){return D(cs(e))?e.pop():void 0}function ke(e){return Kr(cs(e))?e.pop():void 0}function Yu(e,t){return typeof cs(e)=="number"?e.pop():t}function Ku(e,t,r,n){function o(i){return i instanceof r?i:new r(function(s){s(i)})}return new(r||(r=Promise))(function(i,s){function a(l){try{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(e,t||[])).next())})}function Qu(e){var t=typeof Symbol=="function"&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function St(e){return this instanceof St?(this.v=e,this):new St(e)}function Ju(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r.apply(e,t||[]),o,i=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(f){n[f]&&(o[f]=function(h){return new Promise(function(g,b){i.push([f,h,g,b])>1||a(f,h)})})}function a(f,h){try{c(n[f](h))}catch(g){d(i[0][3],g)}}function c(f){f.value instanceof St?Promise.resolve(f.value.v).then(u,l):d(i[0][2],f)}function u(f){a("next",f)}function l(f){a("throw",f)}function d(f,h){f(h),i.shift(),i.length&&a(i[0][0],i[0][1])}}function Xu(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],r;return t?t.call(e):(e=typeof Qu=="function"?Qu(e):e[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(i){r[i]=e[i]&&function(s){return new Promise(function(a,c){s=e[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(u){i({value:u,done:a})},s)}}var on=e=>e&&typeof e.length=="number"&&typeof e!="function";function Xr(e){return D(e?.then)}function eo(e){return D(e[tn])}function to(e){return Symbol.asyncIterator&&D(e?.[Symbol.asyncIterator])}function no(e){return new TypeError(`You provided ${e!==null&&typeof e=="object"?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function Dg(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var ro=Dg();function oo(e){return D(e?.[ro])}function io(e){return Ju(this,arguments,function*(){let r=e.getReader();try{for(;;){let{value:n,done:o}=yield St(r.read());if(o)return yield St(void 0);yield yield St(n)}}finally{r.releaseLock()}})}function so(e){return D(e?.getReader)}function j(e){if(e instanceof x)return e;if(e!=null){if(eo(e))return wg(e);if(on(e))return Eg(e);if(Xr(e))return Ig(e);if(to(e))return el(e);if(oo(e))return Cg(e);if(so(e))return bg(e)}throw no(e)}function wg(e){return new x(t=>{let r=e[tn]();if(D(r.subscribe))return r.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Eg(e){return new x(t=>{for(let r=0;r<e.length&&!t.closed;r++)t.next(e[r]);t.complete()})}function Ig(e){return new x(t=>{e.then(r=>{t.closed||(t.next(r),t.complete())},r=>t.error(r)).then(null,Gr)})}function Cg(e){return new x(t=>{for(let r of e)if(t.next(r),t.closed)return;t.complete()})}function el(e){return new x(t=>{Mg(e,t).catch(r=>t.error(r))})}function bg(e){return el(io(e))}function Mg(e,t){var r,n,o,i;return Ku(this,void 0,void 0,function*(){try{for(r=Xu(e);n=yield r.next(),!n.done;){let s=n.value;if(t.next(s),t.closed)return}}catch(s){o={error:s}}finally{try{n&&!n.done&&(i=r.return)&&(yield i.call(r))}finally{if(o)throw o.error}}t.complete()})}function le(e,t,r,n=0,o=!1){let i=t.schedule(function(){r(),o?e.add(this.schedule(null,n)):this.unsubscribe()},n);if(e.add(i),!o)return i}function ao(e,t=0){return R((r,n)=>{r.subscribe(O(n,o=>le(n,e,()=>n.next(o),t),()=>le(n,e,()=>n.complete(),t),o=>le(n,e,()=>n.error(o),t)))})}function co(e,t=0){return R((r,n)=>{n.add(e.schedule(()=>r.subscribe(n),t))})}function tl(e,t){return j(e).pipe(co(t),ao(t))}function nl(e,t){return j(e).pipe(co(t),ao(t))}function rl(e,t){return new x(r=>{let n=0;return t.schedule(function(){n===e.length?r.complete():(r.next(e[n++]),r.closed||this.schedule())})})}function ol(e,t){return new x(r=>{let n;return le(r,t,()=>{n=e[ro](),le(r,t,()=>{let o,i;try{({value:o,done:i}=n.next())}catch(s){r.error(s);return}i?r.complete():r.next(o)},0,!0)}),()=>D(n?.return)&&n.return()})}function uo(e,t){if(!e)throw new Error("Iterable cannot be null");return new x(r=>{le(r,t,()=>{let n=e[Symbol.asyncIterator]();le(r,t,()=>{n.next().then(o=>{o.done?r.complete():r.next(o.value)})},0,!0)})})}function il(e,t){return uo(io(e),t)}function sl(e,t){if(e!=null){if(eo(e))return tl(e,t);if(on(e))return rl(e,t);if(Xr(e))return nl(e,t);if(to(e))return uo(e,t);if(oo(e))return ol(e,t);if(so(e))return il(e,t)}throw no(e)}function B(e,t){return t?sl(e,t):j(e)}function M(...e){let t=ke(e);return B(e,t)}function sn(e,t){let r=D(e)?e:()=>e,n=o=>o.error(r());return new x(t?o=>t.schedule(n,0,o):n)}function us(e){return!!e&&(e instanceof x||D(e.lift)&&D(e.subscribe))}var Ze=Kt(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function al(e){return e instanceof Date&&!isNaN(e)}function N(e,t){return R((r,n)=>{let o=0;r.subscribe(O(n,i=>{n.next(e.call(t,i,o++))}))})}var{isArray:Tg}=Array;function Sg(e,t){return Tg(t)?e(...t):e(t)}function an(e){return N(t=>Sg(e,t))}var{isArray:xg}=Array,{getPrototypeOf:Ag,prototype:_g,keys:Ng}=Object;function lo(e){if(e.length===1){let t=e[0];if(xg(t))return{args:t,keys:null};if(Rg(t)){let r=Ng(t);return{args:r.map(n=>t[n]),keys:r}}}return{args:e,keys:null}}function Rg(e){return e&&typeof e=="object"&&Ag(e)===_g}function fo(e,t){return e.reduce((r,n,o)=>(r[n]=t[o],r),{})}function ho(...e){let t=ke(e),r=Jr(e),{args:n,keys:o}=lo(e);if(n.length===0)return B([],t);let i=new x(Og(n,t,o?s=>fo(o,s):ge));return r?i.pipe(an(r)):i}function Og(e,t,r=ge){return n=>{cl(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)cl(t,()=>{let u=B(e[c],t),l=!1;u.subscribe(O(n,d=>{i[c]=d,l||(l=!0,a--),a||n.next(r(i.slice()))},()=>{--s||n.complete()}))},n)},n)}}function cl(e,t,r){e?le(r,e,t):t()}function ul(e,t,r,n,o,i,s,a){let c=[],u=0,l=0,d=!1,f=()=>{d&&!c.length&&!u&&t.complete()},h=b=>u<n?g(b):c.push(b),g=b=>{i&&t.next(b),u++;let y=!1;j(r(b,l++)).subscribe(O(t,m=>{o?.(m),i?h(m):t.next(m)},()=>{y=!0},void 0,()=>{if(y)try{for(u--;c.length&&u<n;){let m=c.shift();s?le(t,s,()=>g(m)):g(m)}f()}catch(m){t.error(m)}}))};return e.subscribe(O(t,h,()=>{d=!0,f()})),()=>{a?.()}}function H(e,t,r=1/0){return D(t)?H((n,o)=>N((i,s)=>t(n,i,o,s))(j(e(n,o))),r):(typeof t=="number"&&(r=t),R((n,o)=>ul(n,o,e,r)))}function jn(e=1/0){return H(ge,e)}function ll(){return jn(1)}function ot(...e){return ll()(B(e,ke(e)))}function po(e){return new x(t=>{j(e()).subscribe(t)})}function Pg(...e){let t=Jr(e),{args:r,keys:n}=lo(e),o=new x(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;j(r[l]).subscribe(O(i,f=>{d||(d=!0,u--),a[l]=f},()=>c--,void 0,()=>{(!c||!d)&&(u||i.next(n?fo(n,a):a),i.complete())}))}});return t?o.pipe(an(t)):o}var Fg=["addListener","removeListener"],kg=["addEventListener","removeEventListener"],Lg=["on","off"];function ls(e,t,r,n){if(D(r)&&(n=r,r=void 0),n)return ls(e,t,r).pipe(an(n));let[o,i]=$g(e)?kg.map(s=>a=>e[s](t,a,r)):jg(e)?Fg.map(dl(e,t)):Vg(e)?Lg.map(dl(e,t)):[];if(!o&&on(e))return H(s=>ls(s,t,r))(j(e));if(!o)throw new TypeError("Invalid event target");return new x(s=>{let a=(...c)=>s.next(1<c.length?c:c[0]);return o(a),()=>i(a)})}function dl(e,t){return r=>n=>e[r](t,n)}function jg(e){return D(e.addListener)&&D(e.removeListener)}function Vg(e){return D(e.on)&&D(e.off)}function $g(e){return D(e.addEventListener)&&D(e.removeEventListener)}function fl(e=0,t,r=Zu){let n=-1;return t!=null&&(Kr(t)?r=t:n=t),new x(o=>{let i=al(e)?+e-r.now():e;i<0&&(i=0);let s=0;return r.schedule(function(){o.closed||(o.next(s++),0<=n?this.schedule(void 0,n):o.complete())},i)})}function Ug(...e){let t=ke(e),r=Yu(e,1/0),n=e;return n.length?n.length===1?j(n[0]):jn(r)(B(n,t)):ue}var Bg=new x(We);function me(e,t){return R((r,n)=>{let o=0;r.subscribe(O(n,i=>e.call(t,i,o++)&&n.next(i)))})}function it(e){return R((t,r)=>{let n=null,o=!1,i;n=t.subscribe(O(r,void 0,void 0,s=>{i=j(e(s,it(e)(t))),n?(n.unsubscribe(),n=null,i.subscribe(r)):o=!0})),o&&(n.unsubscribe(),n=null,i.subscribe(r))})}function hl(e,t,r,n,o){return(i,s)=>{let a=r,c=t,u=0;i.subscribe(O(s,l=>{let d=u++;c=a?e(c,l,d):(a=!0,l),n&&s.next(c)},o&&(()=>{a&&s.next(c),s.complete()})))}}function st(e,t){return D(t)?H(e,t,1):H(e,1)}function pl(e){return new x(t=>e.subscribe(t))}var Hg={connector:()=>new Z};function go(e,t=Hg){let{connector:r}=t;return R((n,o)=>{let i=r();j(e(pl(i))).subscribe(o),o.add(n.subscribe(i))})}function at(e){return R((t,r)=>{let n=!1;t.subscribe(O(r,o=>{n=!0,r.next(o)},()=>{n||r.next(e),r.complete()}))})}function be(e){return e<=0?()=>ue:R((t,r)=>{let n=0;t.subscribe(O(r,o=>{++n<=e&&(r.next(o),e<=n&&r.complete())}))})}function gl(){return R((e,t)=>{e.subscribe(O(t,We))})}function Vn(e){return N(()=>e)}function ds(e,t){return t?r=>ot(t.pipe(be(1),gl()),r.pipe(ds(e))):H((r,n)=>j(e(r,n)).pipe(be(1),Vn(r)))}function zg(e,t=as){let r=fl(e,t);return ds(()=>r)}function mo(e=Gg){return R((t,r)=>{let n=!1;t.subscribe(O(r,o=>{n=!0,r.next(o)},()=>n?r.complete():r.error(e())))})}function Gg(){return new Ze}function ct(e){return R((t,r)=>{try{t.subscribe(r)}finally{r.add(e)}})}function Ne(e,t){let r=arguments.length>=2;return n=>n.pipe(e?me((o,i)=>e(o,i,n)):ge,be(1),r?at(t):mo(()=>new Ze))}function cn(e){return e<=0?()=>ue:R((t,r)=>{let n=[];t.subscribe(O(r,o=>{n.push(o),e<n.length&&n.shift()},()=>{for(let o of n)r.next(o);r.complete()},void 0,()=>{n=null}))})}function fs(e,t){let r=arguments.length>=2;return n=>n.pipe(e?me((o,i)=>e(o,i,n)):ge,cn(1),r?at(t):mo(()=>new Ze))}function ml(e,t){let r=D(e)?e:()=>e;return D(t)?go(t,{connector:r}):n=>new rt(n,r)}function qg(e){return e?t=>go(e)(t):t=>ml(new Z)(t)}function hs(e,t){return R(hl(e,t,arguments.length>=2,!0))}function ps(...e){let t=ke(e);return R((r,n)=>{(t?ot(e,r,t):ot(e,r)).subscribe(n)})}function ve(e,t){return R((r,n)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&n.complete();r.subscribe(O(n,c=>{o?.unsubscribe();let u=0,l=i++;j(e(c,l)).subscribe(o=O(n,d=>n.next(t?t(c,d,l,u++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function gs(e){return R((t,r)=>{j(e).subscribe(O(r,()=>r.complete(),We)),!r.closed&&t.subscribe(r)})}function W(e,t,r){let n=D(e)||t||r?{next:e,error:t,complete:r}:e;return n?R((o,i)=>{var s;(s=n.subscribe)===null||s===void 0||s.call(n);let a=!0;o.subscribe(O(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)}))}):ge}var nd="https://g.co/ng/security#xss",E=class extends Error{constructor(t,r){super(Jo(t,r)),this.code=t}};function Jo(e,t){return`${`NG0${Math.abs(e)}`}${t?": "+t:""}`}function $(e){for(let t in e)if(e[t]===$)return t;throw Error("Could not find renamed property on target object.")}function Wg(e,t){for(let r in t)t.hasOwnProperty(r)&&!e.hasOwnProperty(r)&&(e[r]=t[r])}function oe(e){if(typeof e=="string")return e;if(Array.isArray(e))return"["+e.map(oe).join(", ")+"]";if(e==null)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;let t=e.toString();if(t==null)return""+t;let r=t.indexOf(`
`);return r===-1?t:t.substring(0,r)}function vl(e,t){return e==null||e===""?t===null?"":t:t==null||t===""?e:e+" "+t}var Zg=$({__forward_ref__:$});function rd(e){return e.__forward_ref__=rd,e.toString=function(){return oe(this())},e}function re(e){return od(e)?e():e}function od(e){return typeof e=="function"&&e.hasOwnProperty(Zg)&&e.__forward_ref__===rd}function id(e){return e&&!!e.\u0275providers}var Yg=$({\u0275cmp:$}),Qg=$({\u0275dir:$}),Kg=$({\u0275pipe:$}),Jg=$({\u0275mod:$}),Ao=$({\u0275fac:$}),$n=$({__NG_ELEMENT_ID__:$}),yl=$({__NG_ENV_ID__:$});function Xo(e){return typeof e=="string"?e:e==null?"":String(e)}function Xg(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():Xo(e)}function em(e,t){let r=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new E(-200,`Circular dependency in DI detected for ${e}${r}`)}function Sa(e,t){throw new E(-201,!1)}function tm(e,t){e==null&&nm(t,e,null,"!=")}function nm(e,t,r,n){throw new Error(`ASSERTION ERROR: ${e}`+(n==null?"":` [Expected=> ${r} ${n} ${t} <=Actual]`))}function w(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function jt(e){return{providers:e.providers||[],imports:e.imports||[]}}function ei(e){return Dl(e,ad)||Dl(e,cd)}function sd(e){return ei(e)!==null}function Dl(e,t){return e.hasOwnProperty(t)?e[t]:null}function rm(e){let t=e&&(e[ad]||e[cd]);return t||null}function wl(e){return e&&(e.hasOwnProperty(El)||e.hasOwnProperty(om))?e[El]:null}var ad=$({\u0275prov:$}),El=$({\u0275inj:$}),cd=$({ngInjectableDef:$}),om=$({ngInjectorDef:$}),P=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(P||{}),Ps;function im(){return Ps}function Me(e){let t=Ps;return Ps=e,t}function ud(e,t,r){let n=ei(e);if(n&&n.providedIn=="root")return n.value===void 0?n.value=n.factory():n.value;if(r&P.Optional)return null;if(t!==void 0)return t;Sa(e,"Injector")}var de=globalThis;var C=class{constructor(t,r){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof r=="number"?this.__NG_ELEMENT_ID__=r:r!==void 0&&(this.\u0275prov=w({token:this,providedIn:r.providedIn||"root",factory:r.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};var sm={},Hn=sm,am="__NG_DI_FLAG__",_o="ngTempTokenPath",cm="ngTokenPath",um=/\n/gm,lm="\u0275",Il="__source",Un;function ut(e){let t=Un;return Un=e,t}function dm(e,t=P.Default){if(Un===void 0)throw new E(-203,!1);return Un===null?ud(e,void 0,t):Un.get(e,t&P.Optional?null:void 0,t)}function I(e,t=P.Default){return(im()||dm)(re(e),t)}function p(e,t=P.Default){return I(e,ti(t))}function ti(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Fs(e){let t=[];for(let r=0;r<e.length;r++){let n=re(e[r]);if(Array.isArray(n)){if(n.length===0)throw new E(900,!1);let o,i=P.Default;for(let s=0;s<n.length;s++){let a=n[s],c=fm(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(I(o,i))}else t.push(I(n))}return t}function fm(e){return e[am]}function hm(e,t,r,n){let o=e[_o];throw t[Il]&&o.unshift(t[Il]),e.message=pm(`
`+e.message,o,r,n),e[cm]=o,e[_o]=null,e}function pm(e,t,r,n=null){e=e&&e.charAt(0)===`
`&&e.charAt(1)==lm?e.slice(2):e;let o=oe(t);if(Array.isArray(t))o=t.map(oe).join(" -> ");else if(typeof t=="object"){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):oe(a)))}o=`{${i.join(", ")}}`}return`${r}${n?"("+n+")":""}[${o}]: ${e.replace(um,`
`)}`}function ni(e){return{toString:e}.toString()}var ld=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(ld||{}),$e=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}($e||{}),hn={},ye=[],Se=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Se||{});function dd(e,t,r){let n=e.length;for(;;){let o=e.indexOf(t,r);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=t.length;if(o+i===n||e.charCodeAt(o+i)<=32)return o}r=o+1}}function ks(e,t,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++];e.setAttribute(t,s,a,i)}else{let i=o,s=r[++n];gm(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),n++}}return n}function fd(e){return e===3||e===4||e===6}function gm(e){return e.charCodeAt(0)===64}function zn(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let r=-1;for(let n=0;n<t.length;n++){let o=t[n];typeof o=="number"?r=o:r===0||(r===-1||r===2?Cl(e,r,o,null,t[++n]):Cl(e,r,o,null,null))}}return e}function Cl(e,t,r,n,o){let i=0,s=e.length;if(t===-1)s=-1;else for(;i<e.length;){let a=e[i++];if(typeof a=="number"){if(a===t){s=-1;break}else if(a>t){s=i-1;break}}}for(;i<e.length;){let a=e[i];if(typeof a=="number")break;if(a===r){if(n===null){o!==null&&(e[i+1]=o);return}else if(n===e[i+1]){e[i+2]=o;return}}i++,n!==null&&i++,o!==null&&i++}s!==-1&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,r),n!==null&&e.splice(i++,0,n),o!==null&&e.splice(i++,0,o)}var hd="ng-template";function mm(e,t,r){let n=0,o=!0;for(;n<e.length;){let i=e[n++];if(typeof i=="string"&&o){let s=e[n++];if(r&&i==="class"&&dd(s.toLowerCase(),t,0)!==-1)return!0}else if(i===1){for(;n<e.length&&typeof(i=e[n++])=="string";)if(i.toLowerCase()===t)return!0;return!1}else typeof i=="number"&&(o=!1)}return!1}function pd(e){return e.type===4&&e.value!==hd}function vm(e,t,r){let n=e.type===4&&!r?hd:e.value;return t===n}function ym(e,t,r){let n=4,o=e.attrs||[],i=Em(o),s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!Re(n)&&!Re(c))return!1;if(s&&Re(c))continue;s=!1,n=c|n&1;continue}if(!s)if(n&4){if(n=2|n&1,c!==""&&!vm(e,c,r)||c===""&&t.length===1){if(Re(n))return!1;s=!0}}else{let u=n&8?c:t[++a];if(n&8&&e.attrs!==null){if(!mm(e.attrs,u,r)){if(Re(n))return!1;s=!0}continue}let l=n&8?"class":c,d=Dm(l,o,pd(e),r);if(d===-1){if(Re(n))return!1;s=!0;continue}if(u!==""){let f;d>i?f="":f=o[d+1].toLowerCase();let h=n&8?f:null;if(h&&dd(h,u,0)!==-1||n&2&&u!==f){if(Re(n))return!1;s=!0}}}}return Re(n)||s}function Re(e){return(e&1)===0}function Dm(e,t,r,n){if(t===null)return-1;let o=0;if(n||!r){let i=!1;for(;o<t.length;){let s=t[o];if(s===e)return o;if(s===3||s===6)i=!0;else if(s===1||s===2){let a=t[++o];for(;typeof a=="string";)a=t[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=i?1:2}return-1}else return Im(t,e)}function gd(e,t,r=!1){for(let n=0;n<t.length;n++)if(ym(e,t[n],r))return!0;return!1}function wm(e){let t=e.attrs;if(t!=null){let r=t.indexOf(5);if(!(r&1))return t[r+1]}return null}function Em(e){for(let t=0;t<e.length;t++){let r=e[t];if(fd(r))return t}return e.length}function Im(e,t){let r=e.indexOf(4);if(r>-1)for(r++;r<e.length;){let n=e[r];if(typeof n=="number")return-1;if(n===t)return r;r++}return-1}function Cm(e,t){e:for(let r=0;r<t.length;r++){let n=t[r];if(e.length===n.length){for(let o=0;o<e.length;o++)if(e[o]!==n[o])continue e;return!0}}return!1}function bl(e,t){return e?":not("+t.trim()+")":t}function bm(e){let t=e[0],r=1,n=2,o="",i=!1;for(;r<e.length;){let s=e[r];if(typeof s=="string")if(n&2){let a=e[++r];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else n&8?o+="."+s:n&4&&(o+=" "+s);else o!==""&&!Re(s)&&(t+=bl(i,o),o=""),n=s,i=i||!Re(n);r++}return o!==""&&(t+=bl(i,o)),t}function Mm(e){return e.map(bm).join(",")}function Tm(e){let t=[],r=[],n=1,o=2;for(;n<e.length;){let i=e[n];if(typeof i=="string")o===2?i!==""&&t.push(i,e[++n]):o===8&&r.push(i);else{if(!Re(o))break;o=i}n++}return{attrs:t,classes:r}}function md(e){return ni(()=>{let t=Ed(e),r=q(v({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===ld.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||$e.Emulated,styles:e.styles||ye,_:null,schemas:e.schemas||null,tView:null,id:""});Id(r);let n=e.dependencies;return r.directiveDefs=Tl(n,!1),r.pipeDefs=Tl(n,!0),r.id=Am(r),r})}function Sm(e){return At(e)||vd(e)}function xm(e){return e!==null}function Vt(e){return ni(()=>({type:e.type,bootstrap:e.bootstrap||ye,declarations:e.declarations||ye,imports:e.imports||ye,exports:e.exports||ye,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Ml(e,t){if(e==null)return hn;let r={};for(let n in e)if(e.hasOwnProperty(n)){let o=e[n],i,s,a=Se.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),t?(r[i]=a!==Se.None?[n,a]:n,t[i]=s):r[i]=n}return r}function wn(e){return ni(()=>{let t=Ed(e);return Id(t),t})}function At(e){return e[Yg]||null}function vd(e){return e[Qg]||null}function yd(e){return e[Kg]||null}function Dd(e){let t=At(e)||vd(e)||yd(e);return t!==null?t.standalone:!1}function wd(e,t){let r=e[Jg]||null;if(!r&&t===!0)throw new Error(`Type ${oe(e)} does not have '\u0275mod' property.`);return r}function Ed(e){let t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||hn,exportAs:e.exportAs||null,standalone:e.standalone===!0,signals:e.signals===!0,selectors:e.selectors||ye,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Ml(e.inputs,t),outputs:Ml(e.outputs),debugInfo:null}}function Id(e){e.features?.forEach(t=>t(e))}function Tl(e,t){if(!e)return null;let r=t?yd:Sm;return()=>(typeof e=="function"?e():e).map(n=>r(n)).filter(xm)}function Am(e){let t=0,r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(let o of r)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}var De=0,S=1,T=2,Y=3,Oe=4,we=5,Pe=6,Gn=7,ie=8,pn=9,Qe=10,z=11,qn=12,Sl=13,En=14,fe=15,nr=16,un=17,Ve=18,ri=19,Cd=20,Bn=21,ms=22,_t=23,se=25,bd=1,Wn=6,Ke=7,No=8,gn=9,J=10,xa=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(xa||{});function Ye(e){return Array.isArray(e)&&typeof e[bd]=="object"}function Ue(e){return Array.isArray(e)&&e[bd]===!0}function Md(e){return(e.flags&4)!==0}function rr(e){return e.componentOffset>-1}function Aa(e){return(e.flags&1)===1}function lt(e){return!!e.template}function Td(e){return(e[T]&512)!==0}function mn(e,t){let r=e.hasOwnProperty(Ao);return r?e[Ao]:null}var Ls=class{constructor(t,r,n){this.previousValue=t,this.currentValue=r,this.firstChange=n}isFirstChange(){return this.firstChange}};function Sd(e,t,r,n){t!==null?t.applyValueToInputSignal(t,n):e[r]=n}function or(){return xd}function xd(e){return e.type.prototype.ngOnChanges&&(e.setInput=Nm),_m}or.ngInherit=!0;function _m(){let e=_d(this),t=e?.current;if(t){let r=e.previous;if(r===hn)e.previous=t;else for(let n in t)r[n]=t[n];e.current=null,this.ngOnChanges(t)}}function Nm(e,t,r,n,o){let i=this.declaredInputs[n],s=_d(e)||Rm(e,{previous:hn,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[i];a[i]=new Ls(u&&u.currentValue,r,c===hn),Sd(e,t,o,r)}var Ad="__ngSimpleChanges__";function _d(e){return e[Ad]||null}function Rm(e,t){return e[Ad]=t}var xl=null;var Le=function(e,t,r){xl?.(e,t,r)},Nd="svg",Om="math",Pm=!1;function Fm(){return Pm}function Fe(e){for(;Array.isArray(e);)e=e[De];return e}function Rd(e,t){return Fe(t[e])}function Ee(e,t){return Fe(t[e.index])}function _a(e,t){return e.data[t]}function ft(e,t){let r=t[e];return Ye(r)?r:r[De]}function km(e){return(e[T]&4)===4}function Na(e){return(e[T]&128)===128}function Lm(e){return Ue(e[Y])}function Ro(e,t){return t==null?null:e[t]}function Od(e){e[un]=0}function jm(e){e[T]&1024||(e[T]|=1024,Na(e)&&Zn(e))}function Vm(e,t){for(;e>0;)t=t[En],e--;return t}function Pd(e){return e[T]&9216||e[_t]?.dirty}function js(e){Pd(e)?Zn(e):e[T]&64&&(Fm()?(e[T]|=1024,Zn(e)):e[Qe].changeDetectionScheduler?.notify())}function Zn(e){e[Qe].changeDetectionScheduler?.notify();let t=Yn(e);for(;t!==null&&!(t[T]&8192||(t[T]|=8192,!Na(t)));)t=Yn(t)}function $m(e,t){if((e[T]&256)===256)throw new E(911,!1);e[Bn]===null&&(e[Bn]=[]),e[Bn].push(t)}function Yn(e){let t=e[Y];return Ue(t)?t[Y]:t}var A={lFrame:Bd(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Um(){return A.lFrame.elementDepthCount}function Bm(){A.lFrame.elementDepthCount++}function Hm(){A.lFrame.elementDepthCount--}function Fd(){return A.bindingsEnabled}function In(){return A.skipHydrationRootTNode!==null}function zm(e){return A.skipHydrationRootTNode===e}function Gm(e){A.skipHydrationRootTNode=e}function qm(){A.skipHydrationRootTNode=null}function F(){return A.lFrame.lView}function ae(){return A.lFrame.tView}function G_(e){return A.lFrame.contextLView=e,e[ie]}function q_(e){return A.lFrame.contextLView=null,e}function Ie(){let e=kd();for(;e!==null&&e.type===64;)e=e.parent;return e}function kd(){return A.lFrame.currentTNode}function Wm(){let e=A.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function ir(e,t){let r=A.lFrame;r.currentTNode=e,r.isParent=t}function Ld(){return A.lFrame.isParent}function jd(){A.lFrame.isParent=!1}function Zm(){let e=A.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Ym(e){return A.lFrame.bindingIndex=e}function oi(){return A.lFrame.bindingIndex++}function Qm(e){let t=A.lFrame,r=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,r}function Km(){return A.lFrame.inI18n}function Jm(e,t){let r=A.lFrame;r.bindingIndex=r.bindingRootIndex=e,Vs(t)}function Xm(){return A.lFrame.currentDirectiveIndex}function Vs(e){A.lFrame.currentDirectiveIndex=e}function ev(e){let t=A.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function Vd(){return A.lFrame.currentQueryIndex}function Ra(e){A.lFrame.currentQueryIndex=e}function tv(e){let t=e[S];return t.type===2?t.declTNode:t.type===1?e[we]:null}function $d(e,t,r){if(r&P.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(r&P.Host);)if(o=tv(i),o===null||(i=i[En],o.type&10))break;if(o===null)return!1;t=o,e=i}let n=A.lFrame=Ud();return n.currentTNode=t,n.lView=e,!0}function Oa(e){let t=Ud(),r=e[S];A.lFrame=t,t.currentTNode=r.firstChild,t.lView=e,t.tView=r,t.contextLView=e,t.bindingIndex=r.bindingStartIndex,t.inI18n=!1}function Ud(){let e=A.lFrame,t=e===null?null:e.child;return t===null?Bd(e):t}function Bd(e){let t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return e!==null&&(e.child=t),t}function Hd(){let e=A.lFrame;return A.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var zd=Hd;function Pa(){let e=Hd();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function nv(e){return(A.lFrame.contextLView=Vm(e,A.lFrame.contextLView))[ie]}function $t(){return A.lFrame.selectedIndex}function Nt(e){A.lFrame.selectedIndex=e}function Fa(){let e=A.lFrame;return _a(e.tView,e.selectedIndex)}function W_(){A.lFrame.currentNamespace=Nd}function Z_(){rv()}function rv(){A.lFrame.currentNamespace=null}function Gd(){return A.lFrame.currentNamespace}var qd=!0;function ka(){return qd}function ht(e){qd=e}function ov(e,t,r){let{ngOnChanges:n,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(n){let s=xd(t);(r.preOrderHooks??=[]).push(e,s),(r.preOrderCheckHooks??=[]).push(e,s)}o&&(r.preOrderHooks??=[]).push(0-e,o),i&&((r.preOrderHooks??=[]).push(e,i),(r.preOrderCheckHooks??=[]).push(e,i))}function La(e,t){for(let r=t.directiveStart,n=t.directiveEnd;r<n;r++){let i=e.data[r].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:u,ngOnDestroy:l}=i;s&&(e.contentHooks??=[]).push(-r,s),a&&((e.contentHooks??=[]).push(r,a),(e.contentCheckHooks??=[]).push(r,a)),c&&(e.viewHooks??=[]).push(-r,c),u&&((e.viewHooks??=[]).push(r,u),(e.viewCheckHooks??=[]).push(r,u)),l!=null&&(e.destroyHooks??=[]).push(r,l)}}function Co(e,t,r){Wd(e,t,3,r)}function bo(e,t,r,n){(e[T]&3)===r&&Wd(e,t,r,n)}function vs(e,t){let r=e[T];(r&3)===t&&(r&=16383,r+=1,e[T]=r)}function Wd(e,t,r,n){let o=n!==void 0?e[un]&65535:0,i=n??-1,s=t.length-1,a=0;for(let c=o;c<s;c++)if(typeof t[c+1]=="number"){if(a=t[c],n!=null&&a>=n)break}else t[c]<0&&(e[un]+=65536),(a<i||i==-1)&&(iv(e,r,t,c),e[un]=(e[un]&4294901760)+c+2),c++}function Al(e,t){Le(4,e,t);let r=ne(null);try{t.call(e)}finally{ne(r),Le(5,e,t)}}function iv(e,t,r,n){let o=r[n]<0,i=r[n+1],s=o?-r[n]:r[n],a=e[s];o?e[T]>>14<e[un]>>16&&(e[T]&3)===t&&(e[T]+=16384,Al(a,i)):Al(a,i)}var fn=-1,Rt=class{constructor(t,r,n){this.factory=t,this.resolving=!1,this.canSeeViewProviders=r,this.injectImpl=n}};function sv(e){return e instanceof Rt}function av(e){return(e.flags&8)!==0}function cv(e){return(e.flags&16)!==0}function Zd(e){return e!==fn}function Oo(e){return e&32767}function uv(e){return e>>16}function Po(e,t){let r=uv(e),n=t;for(;r>0;)n=n[En],r--;return n}var $s=!0;function _l(e){let t=$s;return $s=e,t}var lv=256,Yd=lv-1,Qd=5,dv=0,je={};function fv(e,t,r){let n;typeof r=="string"?n=r.charCodeAt(0)||0:r.hasOwnProperty($n)&&(n=r[$n]),n==null&&(n=r[$n]=dv++);let o=n&Yd,i=1<<o;t.data[e+(o>>Qd)]|=i}function Fo(e,t){let r=Kd(e,t);if(r!==-1)return r;let n=t[S];n.firstCreatePass&&(e.injectorIndex=t.length,ys(n.data,e),ys(t,null),ys(n.blueprint,null));let o=ja(e,t),i=e.injectorIndex;if(Zd(o)){let s=Oo(o),a=Po(o,t),c=a[S].data;for(let u=0;u<8;u++)t[i+u]=a[s+u]|c[s+u]}return t[i+8]=o,i}function ys(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Kd(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function ja(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let r=0,n=null,o=t;for(;o!==null;){if(n=nf(o),n===null)return fn;if(r++,o=o[En],n.injectorIndex!==-1)return n.injectorIndex|r<<16}return fn}function Us(e,t,r){fv(e,t,r)}function hv(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let r=e.attrs;if(r){let n=r.length,o=0;for(;o<n;){let i=r[o];if(fd(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===t)return r[o+1];o=o+2}}}return null}function Jd(e,t,r){if(r&P.Optional||e!==void 0)return e;Sa(t,"NodeInjector")}function Xd(e,t,r,n){if(r&P.Optional&&n===void 0&&(n=null),!(r&(P.Self|P.Host))){let o=e[pn],i=Me(void 0);try{return o?o.get(t,n,r&P.Optional):ud(t,n,r&P.Optional)}finally{Me(i)}}return Jd(n,t,r)}function ef(e,t,r,n=P.Default,o){if(e!==null){if(t[T]&2048&&!(n&P.Self)){let s=vv(e,t,r,n,je);if(s!==je)return s}let i=tf(e,t,r,n,je);if(i!==je)return i}return Xd(t,r,n,o)}function tf(e,t,r,n,o){let i=gv(r);if(typeof i=="function"){if(!$d(t,e,n))return n&P.Host?Jd(o,r,n):Xd(t,r,n,o);try{let s;if(s=i(n),s==null&&!(n&P.Optional))Sa(r);else return s}finally{zd()}}else if(typeof i=="number"){let s=null,a=Kd(e,t),c=fn,u=n&P.Host?t[fe][we]:null;for((a===-1||n&P.SkipSelf)&&(c=a===-1?ja(e,t):t[a+8],c===fn||!Rl(n,!1)?a=-1:(s=t[S],a=Oo(c),t=Po(c,t)));a!==-1;){let l=t[S];if(Nl(i,a,l.data)){let d=pv(a,t,r,s,n,u);if(d!==je)return d}c=t[a+8],c!==fn&&Rl(n,t[S].data[a+8]===u)&&Nl(i,a,t)?(s=l,a=Oo(c),t=Po(c,t)):a=-1}}return o}function pv(e,t,r,n,o,i){let s=t[S],a=s.data[e+8],c=n==null?rr(a)&&$s:n!=s&&(a.type&3)!==0,u=o&P.Host&&i===a,l=Mo(a,s,r,c,u);return l!==null?Ot(t,s,l,a):je}function Mo(e,t,r,n,o){let i=e.providerIndexes,s=t.data,a=i&1048575,c=e.directiveStart,u=e.directiveEnd,l=i>>20,d=n?a:a+l,f=o?a+l:u;for(let h=d;h<f;h++){let g=s[h];if(h<c&&r===g||h>=c&&g.type===r)return h}if(o){let h=s[c];if(h&<(h)&&h.type===r)return c}return null}function Ot(e,t,r,n){let o=e[r],i=t.data;if(sv(o)){let s=o;s.resolving&&em(Xg(i[r]));let a=_l(s.canSeeViewProviders);s.resolving=!0;let c,u=s.injectImpl?Me(s.injectImpl):null,l=$d(e,n,P.Default);try{o=e[r]=s.factory(void 0,i,e,n),t.firstCreatePass&&r>=n.directiveStart&&ov(r,i[r],t)}finally{u!==null&&Me(u),_l(a),s.resolving=!1,zd()}}return o}function gv(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty($n)?e[$n]:void 0;return typeof t=="number"?t>=0?t&Yd:mv:t}function Nl(e,t,r){let n=1<<e;return!!(r[t+(e>>Qd)]&n)}function Rl(e,t){return!(e&P.Self)&&!(e&P.Host&&t)}var xt=class{constructor(t,r){this._tNode=t,this._lView=r}get(t,r,n){return ef(this._tNode,this._lView,t,ti(n),r)}};function mv(){return new xt(Ie(),F())}function Va(e){return ni(()=>{let t=e.prototype.constructor,r=t[Ao]||Bs(t),n=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==n;){let i=o[Ao]||Bs(o);if(i&&i!==r)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Bs(e){return od(e)?()=>{let t=Bs(re(e));return t&&t()}:mn(e)}function vv(e,t,r,n,o){let i=e,s=t;for(;i!==null&&s!==null&&s[T]&2048&&!(s[T]&512);){let a=tf(i,s,r,n|P.Self,je);if(a!==je)return a;let c=i.parent;if(!c){let u=s[Cd];if(u){let l=u.get(r,je,n);if(l!==je)return l}c=nf(s),s=s[En]}i=c}return o}function nf(e){let t=e[S],r=t.type;return r===2?t.declTNode:r===1?e[we]:null}function $a(e){return hv(Ie(),e)}function yv(e){return typeof e=="function"}function Dv(e,t,r){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++){let o=e[n],i=t[n];if(r&&(o=r(o),i=r(i)),i!==o)return!1}return!0}function wv(e){return e.flat(Number.POSITIVE_INFINITY)}function Ua(e,t){e.forEach(r=>Array.isArray(r)?Ua(r,t):t(r))}function rf(e,t,r){t>=e.length?e.push(r):e.splice(t,0,r)}function ko(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Ev(e,t){let r=[];for(let n=0;n<e;n++)r.push(t);return r}function Iv(e,t,r,n){let o=e.length;if(o==t)e.push(r,n);else if(o===1)e.push(n,e[0]),e[0]=r;else{for(o--,e.push(e[o-1],e[o]);o>t;){let i=o-2;e[o]=e[i],o--}e[t]=r,e[t+1]=n}}function Cv(e,t,r){let n=sr(e,t);return n>=0?e[n|1]=r:(n=~n,Iv(e,n,t,r)),n}function Ds(e,t){let r=sr(e,t);if(r>=0)return e[r|1]}function sr(e,t){return bv(e,t,1)}function bv(e,t,r){let n=0,o=e.length>>r;for(;o!==n;){let i=n+(o-n>>1),s=e[i<<r];if(t===s)return i<<r;s>t?o=i:n=i+1}return~(o<<r)}var Pt=new C("ENVIRONMENT_INITIALIZER"),of=new C("INJECTOR",-1),sf=new C("INJECTOR_DEF_TYPES"),Lo=class{get(t,r=Hn){if(r===Hn){let n=new Error(`NullInjectorError: No provider for ${oe(t)}!`);throw n.name="NullInjectorError",n}return r}};function pt(e){return{\u0275providers:e}}function Mv(...e){return{\u0275providers:af(!0,e),\u0275fromNgModule:!0}}function af(e,...t){let r=[],n=new Set,o,i=s=>{r.push(s)};return Ua(t,s=>{let a=s;Hs(a,i,[],n)&&(o||=[],o.push(a))}),o!==void 0&&cf(o,i),r}function cf(e,t){for(let r=0;r<e.length;r++){let{ngModule:n,providers:o}=e[r];Ba(o,i=>{t(i,n)})}}function Hs(e,t,r,n){if(e=re(e),!e)return!1;let o=null,i=wl(e),s=!i&&At(e);if(!i&&!s){let c=e.ngModule;if(i=wl(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=n.has(o);if(s){if(a)return!1;if(n.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let u of c)Hs(u,t,r,n)}}else if(i){if(i.imports!=null&&!a){n.add(o);let u;try{Ua(i.imports,l=>{Hs(l,t,r,n)&&(u||=[],u.push(l))})}finally{}u!==void 0&&cf(u,t)}if(!a){let u=mn(o)||(()=>new o);t({provide:o,useFactory:u,deps:ye},o),t({provide:sf,useValue:o,multi:!0},o),t({provide:Pt,useValue:()=>I(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let u=e;Ba(c,l=>{t(l,u)})}}else return!1;return o!==e&&e.providers!==void 0}function Ba(e,t){for(let r of e)id(r)&&(r=r.\u0275providers),Array.isArray(r)?Ba(r,t):t(r)}var Tv=$({provide:String,useValue:$});function uf(e){return e!==null&&typeof e=="object"&&Tv in e}function Sv(e){return!!(e&&e.useExisting)}function xv(e){return!!(e&&e.useFactory)}function vn(e){return typeof e=="function"}function Av(e){return!!e.useClass}var ii=new C("Set Injector scope."),To={},_v={},ws;function Ha(){return ws===void 0&&(ws=new Lo),ws}var he=class{},Qn=class extends he{get destroyed(){return this._destroyed}constructor(t,r,n,o){super(),this.parent=r,this.source=n,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Gs(t,s=>this.processProvider(s)),this.records.set(of,ln(void 0,this)),o.has("environment")&&this.records.set(he,ln(void 0,this));let i=this.records.get(ii);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(sf,ye,P.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let t=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of t)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();let r=ut(this),n=Me(void 0),o;try{return t()}finally{ut(r),Me(n)}}get(t,r=Hn,n=P.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(yl))return t[yl](this);n=ti(n);let o,i=ut(this),s=Me(void 0);try{if(!(n&P.SkipSelf)){let c=this.records.get(t);if(c===void 0){let u=Fv(t)&&ei(t);u&&this.injectableDefInScope(u)?c=ln(zs(t),To):c=null,this.records.set(t,c)}if(c!=null)return this.hydrate(t,c)}let a=n&P.Self?Ha():this.parent;return r=n&P.Optional&&r===Hn?null:r,a.get(t,r)}catch(a){if(a.name==="NullInjectorError"){if((a[_o]=a[_o]||[]).unshift(oe(t)),i)throw a;return hm(a,t,"R3InjectorError",this.source)}else throw a}finally{Me(s),ut(i)}}resolveInjectorInitializers(){let t=ut(this),r=Me(void 0),n;try{let o=this.get(Pt,ye,P.Self);for(let i of o)i()}finally{ut(t),Me(r)}}toString(){let t=[],r=this.records;for(let n of r.keys())t.push(oe(n));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new E(205,!1)}processProvider(t){t=re(t);let r=vn(t)?t:re(t&&t.provide),n=Rv(t);if(!vn(t)&&t.multi===!0){let o=this.records.get(r);o||(o=ln(void 0,To,!0),o.factory=()=>Fs(o.multi),this.records.set(r,o)),r=t,o.multi.push(t)}this.records.set(r,n)}hydrate(t,r){return r.value===To&&(r.value=_v,r.value=r.factory()),typeof r.value=="object"&&r.value&&Pv(r.value)&&this._ngOnDestroyHooks.add(r.value),r.value}injectableDefInScope(t){if(!t.providedIn)return!1;let r=re(t.providedIn);return typeof r=="string"?r==="any"||this.scopes.has(r):this.injectorDefTypes.has(r)}removeOnDestroy(t){let r=this._onDestroyHooks.indexOf(t);r!==-1&&this._onDestroyHooks.splice(r,1)}};function zs(e){let t=ei(e),r=t!==null?t.factory:mn(e);if(r!==null)return r;if(e instanceof C)throw new E(204,!1);if(e instanceof Function)return Nv(e);throw new E(204,!1)}function Nv(e){if(e.length>0)throw new E(204,!1);let r=rm(e);return r!==null?()=>r.factory(e):()=>new e}function Rv(e){if(uf(e))return ln(void 0,e.useValue);{let t=lf(e);return ln(t,To)}}function lf(e,t,r){let n;if(vn(e)){let o=re(e);return mn(o)||zs(o)}else if(uf(e))n=()=>re(e.useValue);else if(xv(e))n=()=>e.useFactory(...Fs(e.deps||[]));else if(Sv(e))n=()=>I(re(e.useExisting));else{let o=re(e&&(e.useClass||e.provide));if(Ov(e))n=()=>new o(...Fs(e.deps));else return mn(o)||zs(o)}return n}function ln(e,t,r=!1){return{factory:e,value:t,multi:r?[]:void 0}}function Ov(e){return!!e.deps}function Pv(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Fv(e){return typeof e=="function"||typeof e=="object"&&e instanceof C}function Gs(e,t){for(let r of e)Array.isArray(r)?Gs(r,t):r&&id(r)?Gs(r.\u0275providers,t):t(r)}function et(e,t){e instanceof Qn&&e.assertNotDestroyed();let r,n=ut(e),o=Me(void 0);try{return t()}finally{ut(n),Me(o)}}function Ol(e,t=null,r=null,n){let o=df(e,t,r,n);return o.resolveInjectorInitializers(),o}function df(e,t=null,r=null,n,o=new Set){let i=[r||ye,Mv(e)];return n=n||(typeof e=="object"?void 0:oe(e)),new Qn(i,t||Ha(),n||null,o)}var gt=(()=>{let t=class t{static create(n,o){if(Array.isArray(n))return Ol({name:""},o,n,"");{let i=n.name??"";return Ol({name:i},n.parent,n.providers,i)}}};t.THROW_IF_NOT_FOUND=Hn,t.NULL=new Lo,t.\u0275prov=w({token:t,providedIn:"any",factory:()=>I(of)}),t.__NG_ELEMENT_ID__=-1;let e=t;return e})();var qs;function ff(e){qs=e}function si(){if(qs!==void 0)return qs;if(typeof document<"u")return document;throw new E(210,!1)}var ar=new C("AppId",{providedIn:"root",factory:()=>kv}),kv="ng",za=new C("Platform Initializer"),Be=new C("Platform ID",{providedIn:"platform",factory:()=>"unknown"});var Y_=new C("AnimationModuleType"),Ga=new C("CSP nonce",{providedIn:"root",factory:()=>si().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function Lv(e){return e.ownerDocument.body}function hf(e){return e instanceof Function?e():e}function vo(e){return(e??p(gt)).get(Be)==="browser"}var jv="ngSkipHydration",Vv="ngskiphydration";function pf(e){let t=e.mergedAttrs;if(t===null)return!1;for(let r=0;r<t.length;r+=2){let n=t[r];if(typeof n=="number")return!1;if(typeof n=="string"&&n.toLowerCase()===Vv)return!0}return!1}function gf(e){return e.hasAttribute(jv)}function jo(e){return(e.flags&128)===128}function $v(e){if(jo(e))return!0;let t=e.parent;for(;t;){if(jo(e)||pf(t))return!0;t=t.parent}return!1}var Je=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Je||{}),Uv=/^>|^->|<!--|-->|--!>|<!-$/g,Bv=/(<|>)/g,Hv="\u200B$1\u200B";function zv(e){return e.replace(Uv,t=>t.replace(Bv,Hv))}var mf=new Map,Gv=0;function qv(){return Gv++}function Wv(e){mf.set(e[ri],e)}function Zv(e){mf.delete(e[ri])}var Pl="__ngContext__";function Ft(e,t){Ye(t)?(e[Pl]=t[ri],Wv(t)):e[Pl]=t}var Yv;function qa(e,t){return Yv(e,t)}function dn(e,t,r,n,o){if(n!=null){let i,s=!1;Ue(n)?i=n:Ye(n)&&(s=!0,n=n[De]);let a=Fe(n);e===0&&r!==null?o==null?If(t,r,a):Vo(t,r,a,o||null,!0):e===1&&r!==null?Vo(t,r,a,o||null,!0):e===2?Mf(t,a,s):e===3&&t.destroyNode(a),i!=null&&ly(t,e,i,r,o)}}function vf(e,t){return e.createText(t)}function Qv(e,t,r){e.setValue(t,r)}function yf(e,t){return e.createComment(zv(t))}function Wa(e,t,r){return e.createElement(t,r)}function Kv(e,t){Df(e,t),t[De]=null,t[we]=null}function Jv(e,t,r,n,o,i){n[De]=o,n[we]=t,ci(e,n,r,1,o,i)}function Df(e,t){ci(e,t,t[z],2,null,null)}function Xv(e){let t=e[qn];if(!t)return Es(e[S],e);for(;t;){let r=null;if(Ye(t))r=t[qn];else{let n=t[J];n&&(r=n)}if(!r){for(;t&&!t[Oe]&&t!==e;)Ye(t)&&Es(t[S],t),t=t[Y];t===null&&(t=e),Ye(t)&&Es(t[S],t),r=t&&t[Oe]}t=r}}function ey(e,t,r,n){let o=J+n,i=r.length;n>0&&(r[o-1][Oe]=t),n<i-J?(t[Oe]=r[o],rf(r,J+n,t)):(r.push(t),t[Oe]=null),t[Y]=r;let s=t[nr];s!==null&&r!==s&&ty(s,t);let a=t[Ve];a!==null&&a.insertView(e),js(t),t[T]|=128}function ty(e,t){let r=e[gn],o=t[Y][Y][fe];t[fe]!==o&&(e[T]|=xa.HasTransplantedViews),r===null?e[gn]=[t]:r.push(t)}function wf(e,t){let r=e[gn],n=r.indexOf(t);r.splice(n,1)}function Kn(e,t){if(e.length<=J)return;let r=J+t,n=e[r];if(n){let o=n[nr];o!==null&&o!==e&&wf(o,n),t>0&&(e[r-1][Oe]=n[Oe]);let i=ko(e,J+t);Kv(n[S],n);let s=i[Ve];s!==null&&s.detachView(i[S]),n[Y]=null,n[Oe]=null,n[T]&=-129}return n}function ai(e,t){if(!(t[T]&256)){let r=t[z];r.destroyNode&&ci(e,t,r,3,null,null),Xv(t)}}function Es(e,t){if(!(t[T]&256)){t[T]&=-129,t[T]|=256,t[_t]&&Vu(t[_t]),ry(e,t),ny(e,t),t[S].type===1&&t[z].destroy();let r=t[nr];if(r!==null&&Ue(t[Y])){r!==t[Y]&&wf(r,t);let n=t[Ve];n!==null&&n.detachView(e)}Zv(t)}}function ny(e,t){let r=e.cleanup,n=t[Gn];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&&(t[Gn]=null);let o=t[Bn];if(o!==null){t[Bn]=null;for(let i=0;i<o.length;i++){let s=o[i];s()}}}function ry(e,t){let r;if(e!=null&&(r=e.destroyHooks)!=null)for(let n=0;n<r.length;n+=2){let o=t[r[n]];if(!(o instanceof Rt)){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];Le(4,a,c);try{c.call(a)}finally{Le(5,a,c)}}else{Le(4,o,i);try{i.call(o)}finally{Le(5,o,i)}}}}}function Ef(e,t,r){return oy(e,t.parent,r)}function oy(e,t,r){let n=t;for(;n!==null&&n.type&40;)t=n,n=t.parent;if(n===null)return r[De];{let{componentOffset:o}=n;if(o>-1){let{encapsulation:i}=e.data[n.directiveStart+o];if(i===$e.None||i===$e.Emulated)return null}return Ee(n,r)}}function Vo(e,t,r,n,o){e.insertBefore(t,r,n,o)}function If(e,t,r){e.appendChild(t,r)}function Fl(e,t,r,n,o){n!==null?Vo(e,t,r,n,o):If(e,t,r)}function iy(e,t,r,n){e.removeChild(t,r,n)}function Za(e,t){return e.parentNode(t)}function sy(e,t){return e.nextSibling(t)}function Cf(e,t,r){return cy(e,t,r)}function ay(e,t,r){return e.type&40?Ee(e,r):null}var cy=ay,kl;function Ya(e,t,r,n){let o=Ef(e,n,t),i=t[z],s=n.parent||t[we],a=Cf(s,n,t);if(o!=null)if(Array.isArray(r))for(let c=0;c<r.length;c++)Fl(i,o,r[c],a,!1);else Fl(i,o,r,a,!1);kl!==void 0&&kl(i,n,t,r,o)}function So(e,t){if(t!==null){let r=t.type;if(r&3)return Ee(t,e);if(r&4)return Ws(-1,e[t.index]);if(r&8){let n=t.child;if(n!==null)return So(e,n);{let o=e[t.index];return Ue(o)?Ws(-1,o):Fe(o)}}else{if(r&32)return qa(t,e)()||Fe(e[t.index]);{let n=bf(e,t);if(n!==null){if(Array.isArray(n))return n[0];let o=Yn(e[fe]);return So(o,n)}else return So(e,t.next)}}}return null}function bf(e,t){if(t!==null){let n=e[fe][we],o=t.projection;return n.projection[o]}return null}function Ws(e,t){let r=J+e+1;if(r<t.length){let n=t[r],o=n[S].firstChild;if(o!==null)return So(n,o)}return t[Ke]}function Mf(e,t,r){let n=Za(e,t);n&&iy(e,n,t,r)}function Tf(e){e.textContent=""}function Qa(e,t,r,n,o,i,s){for(;r!=null;){let a=n[r.index],c=r.type;if(s&&t===0&&(a&&Ft(Fe(a),n),r.flags|=2),(r.flags&32)!==32)if(c&8)Qa(e,t,r.child,n,o,i,!1),dn(t,e,o,a,i);else if(c&32){let u=qa(r,n),l;for(;l=u();)dn(t,e,o,l,i);dn(t,e,o,a,i)}else c&16?Sf(e,t,n,r,o,i):dn(t,e,o,a,i);r=s?r.projectionNext:r.next}}function ci(e,t,r,n,o,i){Qa(r,n,e.firstChild,t,o,i,!1)}function uy(e,t,r){let n=t[z],o=Ef(e,r,t),i=r.parent||t[we],s=Cf(i,r,t);Sf(n,0,t,r,o,s)}function Sf(e,t,r,n,o,i){let s=r[fe],c=s[we].projection[n.projection];if(Array.isArray(c))for(let u=0;u<c.length;u++){let l=c[u];dn(t,e,o,l,i)}else{let u=c,l=s[Y];jo(n)&&(u.flags|=128),Qa(e,t,u,l,o,i,!0)}}function ly(e,t,r,n,o){let i=r[Ke],s=Fe(r);i!==s&&dn(t,e,n,i,o);for(let a=J;a<r.length;a++){let c=r[a];ci(c[S],c,e,t,n,i)}}function dy(e,t,r,n,o){if(t)o?e.addClass(r,n):e.removeClass(r,n);else{let i=n.indexOf("-")===-1?void 0:Je.DashCase;o==null?e.removeStyle(r,n,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Je.Important),e.setStyle(r,n,o,i))}}function fy(e,t,r){e.setAttribute(t,"style",r)}function xf(e,t,r){r===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",r)}function Af(e,t,r){let{mergedAttrs:n,classes:o,styles:i}=r;n!==null&&ks(e,t,n),o!==null&&xf(e,t,o),i!==null&&fy(e,t,i)}var yo;function hy(){if(yo===void 0&&(yo=null,de.trustedTypes))try{yo=de.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return yo}function Ll(e){return hy()?.createScriptURL(e)||e}var $o=class{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${nd})`}};function cr(e){return e instanceof $o?e.changingThisBreaksApplicationSecurity:e}function Ka(e,t){let r=py(e);if(r!=null&&r!==t){if(r==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${r} (see ${nd})`)}return r===t}function py(e){return e instanceof $o&&e.getTypeName()||null}var gy=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function _f(e){return e=String(e),e.match(gy)?e:"unsafe:"+e}var ui=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(ui||{});function my(e){let t=Rf();return t?t.sanitize(ui.URL,e)||"":Ka(e,"URL")?cr(e):_f(Xo(e))}function vy(e){let t=Rf();if(t)return Ll(t.sanitize(ui.RESOURCE_URL,e)||"");if(Ka(e,"ResourceURL"))return Ll(cr(e));throw new E(904,!1)}function yy(e,t){return t==="src"&&(e==="embed"||e==="frame"||e==="iframe"||e==="media"||e==="script")||t==="href"&&(e==="base"||e==="link")?vy:my}function Nf(e,t,r){return yy(t,r)(e)}function Rf(){let e=F();return e&&e[Qe].sanitizer}var Zs=class{};function Dy(){let e=new Ut;return p(Be)==="browser"&&(e.store=wy(si(),p(ar))),e}var Ut=(()=>{let t=class t{constructor(){this.store={},this.onSerializeCallbacks={}}get(n,o){return this.store[n]!==void 0?this.store[n]:o}set(n,o){this.store[n]=o}remove(n){delete this.store[n]}hasKey(n){return this.store.hasOwnProperty(n)}get isEmpty(){return Object.keys(this.store).length===0}onSerialize(n,o){this.onSerializeCallbacks[n]=o}toJson(){for(let n in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(n))try{this.store[n]=this.onSerializeCallbacks[n]()}catch(o){console.warn("Exception in onSerialize callback: ",o)}return JSON.stringify(this.store).replace(/</g,"\\u003C")}};t.\u0275prov=w({token:t,providedIn:"root",factory:Dy});let e=t;return e})();function wy(e,t){let r=e.getElementById(t+"-state");if(r?.textContent)try{return JSON.parse(r.textContent)}catch(n){console.warn("Exception while restoring TransferState for app "+t,n)}return{}}var Of="h",Pf="b",Ys=function(e){return e.FirstChild="f",e.NextSibling="n",e}(Ys||{}),Ey="e",Iy="t",Ja="c",Ff="x",Uo="r",Cy="i",by="n",My="d",Ty="__nghData__",kf=Ty,Is="ngh",Sy="nghm",Lf=()=>null;function xy(e,t,r=!1){let n=e.getAttribute(Is);if(n==null)return null;let[o,i]=n.split("|");if(n=r?i:o,!n)return null;let s=r?o:i?`|${i}`:"",a={};if(n!==""){let u=t.get(Ut,null,{optional:!0});u!==null&&(a=u.get(kf,[])[Number(n)])}let c={data:a,firstChild:e.firstChild??null};return r&&(c.firstChild=e,li(c,0,e.nextSibling)),s?e.setAttribute(Is,s):e.removeAttribute(Is),c}function Ay(){Lf=xy}function Xa(e,t,r=!1){return Lf(e,t,r)}function _y(e){let t=e._lView;return t[S].type===2?null:(Td(t)&&(t=t[se]),t)}function Ny(e){return e.textContent?.replace(/\s/gm,"")}function Ry(e){let t=si(),r=t.createNodeIterator(e,NodeFilter.SHOW_COMMENT,{acceptNode(i){let s=Ny(i);return s==="ngetn"||s==="ngtns"?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}}),n,o=[];for(;n=r.nextNode();)o.push(n);for(let i of o)i.textContent==="ngetn"?i.replaceWith(t.createTextNode("")):i.remove()}function li(e,t,r){e.segmentHeads??={},e.segmentHeads[t]=r}function Qs(e,t){return e.segmentHeads?.[t]??null}function Oy(e,t){let r=e.data,n=r[Ey]?.[t]??null;return n===null&&r[Ja]?.[t]&&(n=ec(e,t)),n}function jf(e,t){return e.data[Ja]?.[t]??null}function ec(e,t){let r=jf(e,t)??[],n=0;for(let o of r)n+=o[Uo]*(o[Ff]??1);return n}function di(e,t){if(typeof e.disconnectedNodes>"u"){let r=e.data[My];e.disconnectedNodes=r?new Set(r):null}return!!e.disconnectedNodes?.has(t)}var Ks=class{},Bo=class{};function Py(e){let t=Error(`No component factory found for ${oe(e)}.`);return t[Fy]=e,t}var Fy="ngComponent";var Js=class{resolveComponentFactory(t){throw Py(t)}},fi=(()=>{let t=class t{};t.NULL=new Js;let e=t;return e})();function ky(){return Cn(Ie(),F())}function Cn(e,t){return new tt(Ee(e,t))}var tt=(()=>{let t=class t{constructor(n){this.nativeElement=n}};t.__NG_ELEMENT_ID__=ky;let e=t;return e})();function Ly(e){return e instanceof tt?e.nativeElement:e}var Jn=class{},ur=(()=>{let t=class t{constructor(){this.destroyNode=null}};t.__NG_ELEMENT_ID__=()=>jy();let e=t;return e})();function jy(){let e=F(),t=Ie(),r=ft(t.index,e);return(Ye(r)?r:e)[z]}var Vy=(()=>{let t=class t{};t.\u0275prov=w({token:t,providedIn:"root",factory:()=>null});let e=t;return e})(),Cs={};function Ho(e,t,r,n,o=!1){for(;r!==null;){let i=t[r.index];i!==null&&n.push(Fe(i)),Ue(i)&&$y(i,n);let s=r.type;if(s&8)Ho(e,t,r.child,n);else if(s&32){let a=qa(r,t),c;for(;c=a();)n.push(c)}else if(s&16){let a=bf(t,r);if(Array.isArray(a))n.push(...a);else{let c=Yn(t[fe]);Ho(c[S],c,a,n,!0)}}r=o?r.projectionNext:r.next}return n}function $y(e,t){for(let r=J;r<e.length;r++){let n=e[r],o=n[S].firstChild;o!==null&&Ho(n[S],n,o,t)}e[Ke]!==e[De]&&t.push(e[Ke])}var Vf=[];function Uy(e){return e[_t]??By(e)}function By(e){let t=Vf.pop()??Object.create(zy);return t.lView=e,t}function Hy(e){e.lView[_t]!==e&&(e.lView=null,Vf.push(e))}var zy=q(v({},ku),{consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{Zn(e.lView)},consumerOnSignalRead(){this.lView[_t]=this}});function $f(e){return Bf(e[qn])}function Uf(e){return Bf(e[Oe])}function Bf(e){for(;e!==null&&!Ue(e);)e=e[Oe];return e}var Gy="ngOriginalError";function bs(e){return e[Gy]}var Xe=class{constructor(){this._console=console}handleError(t){let r=this._findOriginalError(t);this._console.error("ERROR",t),r&&this._console.error("ORIGINAL ERROR",r)}_findOriginalError(t){let r=t&&bs(t);for(;r&&bs(r);)r=bs(r);return r||null}},Hf=new C("",{providedIn:"root",factory:()=>p(Xe).handleError.bind(void 0)}),Do=new C(""),zf=!1,Gf=new C("",{providedIn:"root",factory:()=>zf});var mt={};function Q_(e=1){qf(ae(),F(),$t()+e,!1)}function qf(e,t,r,n){if(!n)if((t[T]&3)===3){let i=e.preOrderCheckHooks;i!==null&&Co(t,i,r)}else{let i=e.preOrderHooks;i!==null&&bo(t,i,0,r)}Nt(r)}function pe(e,t=P.Default){let r=F();if(r===null)return I(e,t);let n=Ie();return ef(n,r,re(e),t)}function Wf(e,t,r,n,o,i){let s=ne(null);try{let a=null;o&Se.SignalBased&&(a=t[n][Fu]),a!==null&&a.transformFn!==void 0&&(i=a.transformFn(i)),o&Se.HasDecoratorInputTransform&&(i=e.inputTransforms[n].call(t,i)),e.setInput!==null?e.setInput(t,a,i,r,n):Sd(t,a,n,i)}finally{ne(s)}}function qy(e,t){let r=e.hostBindingOpCodes;if(r!==null)try{for(let n=0;n<r.length;n++){let o=r[n];if(o<0)Nt(~o);else{let i=o,s=r[++n],a=r[++n];Jm(s,i);let c=t[i];a(2,c)}}}finally{Nt(-1)}}function hi(e,t,r,n,o,i,s,a,c,u,l){let d=t.blueprint.slice();return d[De]=o,d[T]=n|4|128|8|64,(u!==null||e&&e[T]&2048)&&(d[T]|=2048),Od(d),d[Y]=d[En]=e,d[ie]=r,d[Qe]=s||e&&e[Qe],d[z]=a||e&&e[z],d[pn]=c||e&&e[pn]||null,d[we]=i,d[ri]=qv(),d[Pe]=l,d[Cd]=u,d[fe]=t.type==2?e[fe]:d,d}function lr(e,t,r,n,o){let i=e.data[t];if(i===null)i=Wy(e,t,r,n,o),Km()&&(i.flags|=32);else if(i.type&64){i.type=r,i.value=n,i.attrs=o;let s=Wm();i.injectorIndex=s===null?-1:s.injectorIndex}return ir(i,!0),i}function Wy(e,t,r,n,o){let i=kd(),s=Ld(),a=s?i:i&&i.parent,c=e.data[t]=eD(e,a,r,t,n,o);return e.firstChild===null&&(e.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 Zf(e,t,r,n){if(r===0)return-1;let o=t.length;for(let i=0;i<r;i++)t.push(n),e.blueprint.push(n),e.data.push(null);return o}function Yf(e,t,r,n,o){let i=$t(),s=n&2;try{Nt(-1),s&&t.length>se&&qf(e,t,se,!1),Le(s?2:0,o),r(n,o)}finally{Nt(i),Le(s?3:1,o)}}function Qf(e,t,r){if(Md(t)){let n=ne(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;s<i;s++){let a=e.data[s];a.contentQueries&&a.contentQueries(1,r[s],s)}}finally{ne(n)}}}function Kf(e,t,r){Fd()&&(sD(e,t,r,Ee(r,t)),(r.flags&64)===64&&oh(e,t,r))}function Jf(e,t,r=Ee){let n=t.localNames;if(n!==null){let o=t.index+1;for(let i=0;i<n.length;i+=2){let s=n[i+1],a=s===-1?r(t,e):e[s];e[o++]=a}}}function Xf(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=tc(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function tc(e,t,r,n,o,i,s,a,c,u,l){let d=se+n,f=d+o,h=Zy(d,f),g=typeof u=="function"?u():u;return h[S]={type:e,blueprint:h,template:r,queries:null,viewQuery:a,declTNode:t,data:h.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:f,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i=="function"?i():i,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:c,consts:g,incompleteFirstPass:!1,ssrId:l}}function Zy(e,t){let r=[];for(let n=0;n<t;n++)r.push(n<e?null:mt);return r}function Yy(e,t,r,n){let i=n.get(Gf,zf)||r===$e.ShadowDom,s=e.selectRootElement(t,i);return Qy(s),s}function Qy(e){eh(e)}var eh=()=>null;function Ky(e){gf(e)?Tf(e):Ry(e)}function Jy(){eh=Ky}function Xy(e,t,r,n){let o=ah(t);o.push(r),e.firstCreatePass&&ch(e).push(n,o.length-1)}function eD(e,t,r,n,o,i){let s=t?t.injectorIndex:-1,a=0;return In()&&(a|=128),{type:r,index:n,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function jl(e,t,r,n,o){for(let i in t){if(!t.hasOwnProperty(i))continue;let s=t[i];if(s===void 0)continue;n??={};let a,c=Se.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]}e===0?Vl(n,r,u,a,c):Vl(n,r,u,a)}return n}function Vl(e,t,r,n,o){let i;e.hasOwnProperty(r)?(i=e[r]).push(t,n):i=e[r]=[t,n],o!==void 0&&i.push(o)}function tD(e,t,r){let n=t.directiveStart,o=t.directiveEnd,i=e.data,s=t.attrs,a=[],c=null,u=null;for(let l=n;l<o;l++){let d=i[l],f=r?r.get(d):null,h=f?f.inputs:null,g=f?f.outputs:null;c=jl(0,d.inputs,l,c,h),u=jl(1,d.outputs,l,u,g);let b=c!==null&&s!==null&&!pd(t)?vD(c,l,s):null;a.push(b)}c!==null&&(c.hasOwnProperty("class")&&(t.flags|=8),c.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=a,t.inputs=c,t.outputs=u}function nD(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function th(e,t,r,n,o,i,s,a){let c=Ee(t,r),u=t.inputs,l;!a&&u!=null&&(l=u[n])?(nc(e,r,l,n,o),rr(t)&&rD(r,t.index)):t.type&3?(n=nD(n),o=s!=null?s(o,t.value||"",n):o,i.setProperty(c,n,o)):t.type&12}function rD(e,t){let r=ft(t,e);r[T]&16||(r[T]|=64)}function nh(e,t,r,n){if(Fd()){let o=n===null?null:{"":-1},i=cD(e,r),s,a;i===null?s=a=null:[s,a]=i,s!==null&&rh(e,t,r,s,o,a),o&&uD(r,n,o)}r.mergedAttrs=zn(r.mergedAttrs,r.attrs)}function rh(e,t,r,n,o,i){for(let u=0;u<n.length;u++)Us(Fo(r,t),e,n[u].type);dD(r,e.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=Zf(e,t,n.length,null);for(let u=0;u<n.length;u++){let l=n[u];r.mergedAttrs=zn(r.mergedAttrs,l.hostAttrs),fD(e,r,t,c,l),lD(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)&&((e.preOrderHooks??=[]).push(r.index),s=!0),!a&&(d.ngOnChanges||d.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(r.index),a=!0),c++}tD(e,r,i)}function oD(e,t,r,n,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;iD(s)!=a&&s.push(a),s.push(r,n,i)}}function iD(e){let t=e.length;for(;t>0;){let r=e[--t];if(typeof r=="number"&&r<0)return r}return 0}function sD(e,t,r,n){let o=r.directiveStart,i=r.directiveEnd;rr(r)&&hD(t,r,e.data[o+r.componentOffset]),e.firstCreatePass||Fo(r,t),Ft(n,t);let s=r.initialInputs;for(let a=o;a<i;a++){let c=e.data[a],u=Ot(t,e,a,r);if(Ft(u,t),s!==null&&mD(t,a-o,u,c,r,s),lt(c)){let l=ft(r.index,t);l[ie]=Ot(t,e,a,r)}}}function oh(e,t,r){let n=r.directiveStart,o=r.directiveEnd,i=r.index,s=Xm();try{Nt(i);for(let a=n;a<o;a++){let c=e.data[a],u=t[a];Vs(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&aD(c,u)}}finally{Nt(-1),Vs(s)}}function aD(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function cD(e,t){let r=e.directiveRegistry,n=null,o=null;if(r)for(let i=0;i<r.length;i++){let s=r[i];if(gd(t,s.selectors,!1))if(n||(n=[]),lt(s))if(s.findHostDirectiveDefs!==null){let a=[];o=o||new Map,s.findHostDirectiveDefs(s,a,o),n.unshift(...a,s);let c=a.length;Xs(e,t,c)}else n.unshift(s),Xs(e,t,0);else o=o||new Map,s.findHostDirectiveDefs?.(s,n,o),n.push(s)}return n===null?null:[n,o]}function Xs(e,t,r){t.componentOffset=r,(e.components??=[]).push(t.index)}function uD(e,t,r){if(t){let n=e.localNames=[];for(let o=0;o<t.length;o+=2){let i=r[t[o+1]];if(i==null)throw new E(-301,!1);n.push(t[o],i)}}}function lD(e,t,r){if(r){if(t.exportAs)for(let n=0;n<t.exportAs.length;n++)r[t.exportAs[n]]=e;lt(t)&&(r[""]=e)}}function dD(e,t,r){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+r,e.providerIndexes=t}function fD(e,t,r,n,o){e.data[n]=o;let i=o.factory||(o.factory=mn(o.type,!0)),s=new Rt(i,lt(o),pe);e.blueprint[n]=s,r[n]=s,oD(e,t,n,Zf(e,r,o.hostVars,mt),o)}function hD(e,t,r){let n=Ee(t,e),o=Xf(r),i=e[Qe].rendererFactory,s=16;r.signals?s=4096:r.onPush&&(s=64);let a=pi(e,hi(e,o,null,s,n,t,null,i.createRenderer(n,r),null,null,null));e[t.index]=a}function pD(e,t,r,n,o,i){let s=Ee(e,t);gD(t[z],s,i,e.value,r,n,o)}function gD(e,t,r,n,o,i,s){if(i==null)e.removeAttribute(t,o,r);else{let a=s==null?Xo(i):s(i,n||"",o);e.setAttribute(t,o,a,r)}}function mD(e,t,r,n,o,i){let s=i[t];if(s!==null)for(let a=0;a<s.length;){let c=s[a++],u=s[a++],l=s[a++],d=s[a++];Wf(n,r,c,u,l,d)}}function vD(e,t,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(e.hasOwnProperty(i)){n===null&&(n=[]);let s=e[i];for(let a=0;a<s.length;a+=3)if(s[a]===t){n.push(i,s[a+1],s[a+2],r[o+1]);break}}o+=2}return n}function ih(e,t,r,n){return[e,!0,0,t,null,n,null,r,null,null]}function sh(e,t){let r=e.contentQueries;if(r!==null){let n=ne(null);try{for(let o=0;o<r.length;o+=2){let i=r[o],s=r[o+1];if(s!==-1){let a=e.data[s];Ra(i),a.contentQueries(2,t[s],s)}}}finally{ne(n)}}}function pi(e,t){return e[qn]?e[Sl][Oe]=t:e[qn]=t,e[Sl]=t,t}function ea(e,t,r){Ra(0);let n=ne(null);try{t(e,r)}finally{ne(n)}}function ah(e){return e[Gn]||(e[Gn]=[])}function ch(e){return e.cleanup||(e.cleanup=[])}function uh(e,t){let r=e[pn],n=r?r.get(Xe,null):null;n&&n.handleError(t)}function nc(e,t,r,n,o){for(let i=0;i<r.length;){let s=r[i++],a=r[i++],c=r[i++],u=t[s],l=e.data[s];Wf(l,u,n,a,c,o)}}function yD(e,t,r){let n=Rd(t,e);Qv(e[z],n,r)}var DD=100;function wD(e,t=!0){let r=e[Qe],n=r.rendererFactory,o=!1;o||n.begin?.();try{ED(e)}catch(i){throw t&&uh(e,i),i}finally{o||(n.end?.(),r.inlineEffectRunner?.flush())}}function ED(e){ta(e,0);let t=0;for(;Pd(e);){if(t===DD)throw new E(103,!1);t++,ta(e,1)}}function ID(e,t,r,n){let o=t[T];if((o&256)===256)return;let i=!1;!i&&t[Qe].inlineEffectRunner?.flush(),Oa(t);let s=null,a=null;!i&&CD(e)&&(a=Uy(t),s=Lu(a));try{Od(t),Ym(e.bindingStartIndex),r!==null&&Yf(e,t,r,2,n);let c=(o&3)===3;if(!i)if(c){let d=e.preOrderCheckHooks;d!==null&&Co(t,d,null)}else{let d=e.preOrderHooks;d!==null&&bo(t,d,0,null),vs(t,0)}if(bD(t),lh(t,0),e.contentQueries!==null&&sh(e,t),!i)if(c){let d=e.contentCheckHooks;d!==null&&Co(t,d)}else{let d=e.contentHooks;d!==null&&bo(t,d,1),vs(t,1)}qy(e,t);let u=e.components;u!==null&&fh(t,u,0);let l=e.viewQuery;if(l!==null&&ea(2,l,n),!i)if(c){let d=e.viewCheckHooks;d!==null&&Co(t,d)}else{let d=e.viewHooks;d!==null&&bo(t,d,2),vs(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[ms]){for(let d of t[ms])d();t[ms]=null}i||(t[T]&=-73)}catch(c){throw Zn(t),c}finally{a!==null&&(ju(a,s),Hy(a)),Pa()}}function CD(e){return e.type!==2}function lh(e,t){for(let r=$f(e);r!==null;r=Uf(r))for(let n=J;n<r.length;n++){let o=r[n];dh(o,t)}}function bD(e){for(let t=$f(e);t!==null;t=Uf(t)){if(!(t[T]&xa.HasTransplantedViews))continue;let r=t[gn];for(let n=0;n<r.length;n++){let o=r[n],i=o[Y];jm(o)}}}function MD(e,t,r){let n=ft(t,e);dh(n,r)}function dh(e,t){Na(e)&&ta(e,t)}function ta(e,t){let n=e[S],o=e[T],i=e[_t],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&Zi(i)),i&&(i.dirty=!1),e[T]&=-9217,s)ID(n,e,n.template,e[ie]);else if(o&8192){lh(e,1);let a=n.components;a!==null&&fh(e,a,1)}}function fh(e,t,r){for(let n=0;n<t.length;n++)MD(e,t[n],r)}function rc(e){for(e[Qe].changeDetectionScheduler?.notify();e;){e[T]|=64;let t=Yn(e);if(Td(e)&&!t)return e;e=t}return null}var kt=class{get rootNodes(){let t=this._lView,r=t[S];return Ho(r,t,r.firstChild,[])}constructor(t,r,n=!0){this._lView=t,this._cdRefInjectingView=r,this.notifyErrorHandler=n,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[ie]}set context(t){this._lView[ie]=t}get destroyed(){return(this._lView[T]&256)===256}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[Y];if(Ue(t)){let r=t[No],n=r?r.indexOf(this):-1;n>-1&&(Kn(t,n),ko(r,n))}this._attachedToViewContainer=!1}ai(this._lView[S],this._lView)}onDestroy(t){$m(this._lView,t)}markForCheck(){rc(this._cdRefInjectingView||this._lView)}detach(){this._lView[T]&=-129}reattach(){js(this._lView),this._lView[T]|=128}detectChanges(){this._lView[T]|=1024,wD(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new E(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,Df(this._lView[S],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new E(902,!1);this._appRef=t,js(this._lView)}},gi=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=TD;let e=t;return e})();function TD(e){return SD(Ie(),F(),(e&16)===16)}function SD(e,t,r){if(rr(e)&&!r){let n=ft(e.index,t);return new kt(n,n)}else if(e.type&47){let n=t[fe];return new kt(n,t)}return null}var $l=new Set;function bn(e){$l.has(e)||($l.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var na=class extends Z{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,r,n){let o=t,i=r||(()=>null),s=n;if(t&&typeof t=="object"){let c=t;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=Ms(i),o&&(o=Ms(o)),s&&(s=Ms(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof G&&t.add(a),a}};function Ms(e){return t=>{setTimeout(e,void 0,t)}}var Te=na;function Ul(...e){}function xD(){let e=typeof de.requestAnimationFrame=="function",t=de[e?"requestAnimationFrame":"setTimeout"],r=de[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&r){let n=t[Zone.__symbol__("OriginalDelegate")];n&&(t=n);let o=r[Zone.__symbol__("OriginalDelegate")];o&&(r=o)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:r}}var V=class e{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Te(!1),this.onMicrotaskEmpty=new Te(!1),this.onStable=new Te(!1),this.onError=new Te(!1),typeof Zone>"u")throw new E(908,!1);Zone.assertZonePatched();let o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!n&&r,o.shouldCoalesceRunChangeDetection=n,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=xD().nativeRequestAnimationFrame,ND(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new E(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new E(909,!1)}run(t,r,n){return this._inner.run(t,r,n)}runTask(t,r,n,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,AD,Ul,Ul);try{return i.runTask(s,r,n)}finally{i.cancelTask(s)}}runGuarded(t,r,n){return this._inner.runGuarded(t,r,n)}runOutsideAngular(t){return this._outer.run(t)}},AD={};function oc(e){if(e._nesting==0&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function _D(e){e.isCheckStableRunning||e.lastRequestAnimationFrameId!==-1||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(de,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,ra(e),e.isCheckStableRunning=!0,oc(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),ra(e))}function ND(e){let t=()=>{_D(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(r,n,o,i,s,a)=>{if(RD(a))return r.invokeTask(o,i,s,a);try{return Bl(e),r.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&i.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Hl(e)}},onInvoke:(r,n,o,i,s,a,c)=>{try{return Bl(e),r.invoke(o,i,s,a,c)}finally{e.shouldCoalesceRunChangeDetection&&t(),Hl(e)}},onHasTask:(r,n,o,i)=>{r.hasTask(o,i),n===o&&(i.change=="microTask"?(e._hasPendingMicrotasks=i.microTask,ra(e),oc(e)):i.change=="macroTask"&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(r,n,o,i)=>(r.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}function ra(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.lastRequestAnimationFrameId!==-1?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Bl(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Hl(e){e._nesting--,oc(e)}function RD(e){return!Array.isArray(e)||e.length!==1?!1:e[0].data?.__ignore_ng_zone__===!0}var hh=(()=>{let t=class t{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){let n=[...this.internalCallbacks];this.internalCallbacks.length=0;for(let i of n)i();return!!this.handler?.execute()||n.length>0}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};t.\u0275prov=w({token:t,providedIn:"root",factory:()=>new t});let e=t;return e})();function OD(e,t){let r=ft(t,e),n=r[S];PD(n,r);let o=r[De];o!==null&&r[Pe]===null&&(r[Pe]=Xa(o,r[pn])),ic(n,r,r[ie])}function PD(e,t){for(let r=t.length;r<e.blueprint.length;r++)t.push(e.blueprint[r])}function ic(e,t,r){Oa(t);try{let n=e.viewQuery;n!==null&&ea(1,n,r);let o=e.template;o!==null&&Yf(e,t,o,1,r),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&sh(e,t),e.staticViewQueries&&ea(2,e.viewQuery,r);let i=e.components;i!==null&&FD(t,i)}catch(n){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),n}finally{t[T]&=-5,Pa()}}function FD(e,t){for(let r=0;r<t.length;r++)OD(e,t[r])}function oa(e,t,r){let n=r?e.styles:null,o=r?e.classes:null,i=0;if(t!==null)for(let s=0;s<t.length;s++){let a=t[s];if(typeof a=="number")i=a;else if(i==1)o=vl(o,a);else if(i==2){let c=a,u=t[++s];n=vl(n,c+": "+u+";")}}r?e.styles=n:e.stylesWithoutHost=n,r?e.classes=o:e.classesWithoutHost=o}var zo=class extends fi{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let r=At(t);return new Xn(r,this.ngModule)}};function zl(e){let t=[];for(let r in e){if(!e.hasOwnProperty(r))continue;let n=e[r];n!==void 0&&t.push({propName:Array.isArray(n)?n[0]:n,templateName:r})}return t}function kD(e){let t=e.toLowerCase();return t==="svg"?Nd:t==="math"?Om:null}var ia=class{constructor(t,r){this.injector=t,this.parentInjector=r}get(t,r,n){n=ti(n);let o=this.injector.get(t,Cs,n);return o!==Cs||r===Cs?o:this.parentInjector.get(t,r,n)}},Xn=class extends Bo{get inputs(){let t=this.componentDef,r=t.inputTransforms,n=zl(t.inputs);if(r!==null)for(let o of n)r.hasOwnProperty(o.propName)&&(o.transform=r[o.propName]);return n}get outputs(){return zl(this.componentDef.outputs)}constructor(t,r){super(),this.componentDef=t,this.ngModule=r,this.componentType=t.type,this.selector=Mm(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!r}create(t,r,n,o){o=o||this.ngModule;let i=o instanceof he?o:o?.injector;i&&this.componentDef.getStandaloneInjector!==null&&(i=this.componentDef.getStandaloneInjector(i)||i);let s=i?new ia(t,i):t,a=s.get(Jn,null);if(a===null)throw new E(407,!1);let c=s.get(Vy,null),u=s.get(hh,null),l=s.get(Zs,null),d={rendererFactory:a,sanitizer:c,inlineEffectRunner:null,afterRenderEventManager:u,changeDetectionScheduler:l},f=a.createRenderer(null,this.componentDef),h=this.componentDef.selectors[0][0]||"div",g=n?Yy(f,n,this.componentDef.encapsulation,s):Wa(f,h,kD(h)),b=512;this.componentDef.signals?b|=4096:this.componentDef.onPush||(b|=16);let y=null;g!==null&&(y=Xa(g,s,!0));let m=tc(0,null,null,1,0,null,null,null,null,null,null),U=hi(null,m,null,b,null,null,d,f,s,null,y);Oa(U);let ee,L;try{let te=this.componentDef,Q,qe=null;te.findHostDirectiveDefs?(Q=[],qe=new Map,te.findHostDirectiveDefs(te,Q,qe),Q.push(te)):Q=[te];let $r=LD(U,g),sg=jD($r,g,te,Q,U,d,f);L=_a(m,se),g&&UD(f,te,g,n),r!==void 0&&BD(L,this.ngContentSelectors,r),ee=$D(sg,te,Q,qe,U,[HD]),ic(m,U,null)}finally{Pa()}return new sa(this.componentType,ee,Cn(L,U),U,L)}},sa=class extends Ks{constructor(t,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 kt(o,void 0,!1),this.componentType=t}setInput(t,r){let n=this._tNode.inputs,o;if(n!==null&&(o=n[t])){if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),r))return;let i=this._rootLView;nc(i[S],i,o,t,r),this.previousInputValues.set(t,r);let s=ft(this._tNode.index,i);rc(s)}}get injector(){return new xt(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function LD(e,t){let r=e[S],n=se;return e[n]=t,lr(r,n,2,"#host",null)}function jD(e,t,r,n,o,i,s){let a=o[S];VD(n,e,t,s);let c=null;t!==null&&(c=Xa(t,o[pn]));let u=i.rendererFactory.createRenderer(t,r),l=16;r.signals?l=4096:r.onPush&&(l=64);let d=hi(o,Xf(r),null,l,o[e.index],e,i,u,null,null,c);return a.firstCreatePass&&Xs(a,e,n.length-1),pi(o,d),o[e.index]=d}function VD(e,t,r,n){for(let o of e)t.mergedAttrs=zn(t.mergedAttrs,o.hostAttrs);t.mergedAttrs!==null&&(oa(t,t.mergedAttrs,!0),r!==null&&Af(n,r,t))}function $D(e,t,r,n,o,i){let s=Ie(),a=o[S],c=Ee(s,o);rh(a,o,s,r,null,n);for(let l=0;l<r.length;l++){let d=s.directiveStart+l,f=Ot(o,a,d,s);Ft(f,o)}oh(a,o,s),c&&Ft(c,o);let u=Ot(o,a,s.directiveStart+s.componentOffset,s);if(e[ie]=o[ie]=u,i!==null)for(let l of i)l(u,t);return Qf(a,s,e),u}function UD(e,t,r,n){if(n)ks(e,r,["ng-version","17.1.1"]);else{let{attrs:o,classes:i}=Tm(t.selectors[0]);o&&ks(e,r,o),i&&i.length>0&&xf(e,r,i.join(" "))}}function BD(e,t,r){let n=e.projection=[];for(let o=0;o<t.length;o++){let i=r[o];n.push(i!=null?Array.from(i):null)}}function HD(){let e=Ie();La(F()[S],e)}function zD(e){return Object.getPrototypeOf(e.prototype).constructor}function GD(e){let t=zD(e.type),r=!0,n=[e];for(;t;){let o;if(lt(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new E(903,!1);o=t.\u0275dir}if(o){if(r){n.push(o);let s=e;s.inputs=wo(e.inputs),s.inputTransforms=wo(e.inputTransforms),s.declaredInputs=wo(e.declaredInputs),s.outputs=wo(e.outputs);let a=o.hostBindings;a&&QD(e,a);let c=o.viewQuery,u=o.contentQueries;if(c&&ZD(e,c),u&&YD(e,u),qD(e,o),Wg(e.outputs,o.outputs),lt(o)&&o.data.animation){let l=e.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(e),a===GD&&(r=!1)}}t=Object.getPrototypeOf(t)}WD(n)}function qD(e,t){for(let r in t.inputs){if(!t.inputs.hasOwnProperty(r)||e.inputs.hasOwnProperty(r))continue;let n=t.inputs[r];if(n!==void 0&&(e.inputs[r]=n,e.declaredInputs[r]=t.declaredInputs[r],t.inputTransforms!==null)){let o=Array.isArray(n)?n[0]:n;if(!t.inputTransforms.hasOwnProperty(o))continue;e.inputTransforms??={},e.inputTransforms[o]=t.inputTransforms[o]}}}function WD(e){let t=0,r=null;for(let n=e.length-1;n>=0;n--){let o=e[n];o.hostVars=t+=o.hostVars,o.hostAttrs=zn(o.hostAttrs,r=zn(r,o.hostAttrs))}}function wo(e){return e===hn?{}:e===ye?[]:e}function ZD(e,t){let r=e.viewQuery;r?e.viewQuery=(n,o)=>{t(n,o),r(n,o)}:e.viewQuery=t}function YD(e,t){let r=e.contentQueries;r?e.contentQueries=(n,o,i)=>{t(n,o,i),r(n,o,i)}:e.contentQueries=t}function QD(e,t){let r=e.hostBindings;r?e.hostBindings=(n,o)=>{t(n,o),r(n,o)}:e.hostBindings=t}function sc(e){let t=e.inputConfig,r={};for(let n in t)if(t.hasOwnProperty(n)){let o=t[n];Array.isArray(o)&&o[3]&&(r[n]=o[3])}e.inputTransforms=r}function ph(e){let t=e[Wn]??[],n=e[Y][z];for(let o of t)KD(o,n);e[Wn]=ye}function KD(e,t){let r=0,n=e.firstChild;if(n){let o=e.data[Uo];for(;r<o;){let i=n.nextSibling;Mf(t,n,!1),n=i,r++}}}function gh(e){ph(e);for(let t=J;t<e.length;t++)Go(e[t])}function Go(e){let t=e[S];for(let r=se;r<t.bindingStartIndex;r++)if(Ue(e[r])){let n=e[r];gh(n)}else Ye(e[r])&&Go(e[r])}function JD(e){let t=e._views;for(let r of t){let n=_y(r);if(n!==null&&n[De]!==null)if(Ye(n))Go(n);else{let o=n[De];Go(o),gh(n)}}}var XD=new RegExp(`^(\\d+)*(${Pf}|${Of})*(.*)`);function ew(e){let t=e.match(XD),[r,n,o,i]=t,s=n?parseInt(n,10):o,a=[];for(let[c,u,l]of i.matchAll(/(f|n)(\d*)/g)){let d=parseInt(l,10)||1;a.push(u,d)}return[s,...a]}function tw(e){return!e.prev&&e.parent?.type===8}function Ts(e){return e.index-se}function mi(e,t,r,n){let o=null,i=Ts(n),s=e.data[by];if(s?.[i])o=rw(s[i],r);else if(t.firstChild===n)o=e.firstChild;else{let a=n.prev===null,c=n.prev??n.parent;if(tw(n)){let u=Ts(n.parent);o=Qs(e,u)}else{let u=Ee(c,r);if(a)o=u.firstChild;else{let l=Ts(c),d=Qs(e,l);if(c.type===2&&d){let h=ec(e,l)+1;o=vi(h,d)}else o=u.nextSibling}}}return o}function vi(e,t){let r=t;for(let n=0;n<e;n++)r=r.nextSibling;return r}function nw(e,t){let r=e;for(let n=0;n<t.length;n+=2){let o=t[n],i=t[n+1];for(let s=0;s<i;s++)switch(o){case Ys.FirstChild:r=r.firstChild;break;case Ys.NextSibling:r=r.nextSibling;break}}return r}function rw(e,t){let[r,...n]=ew(e),o;if(r===Of)o=t[fe][De];else if(r===Pf)o=Lv(t[fe][De]);else{let i=Number(r);o=Fe(t[i+se])}return nw(o,n)}function ow(e,t){let r=[];for(let n of t)for(let o=0;o<(n[Ff]??1);o++){let i={data:n,firstChild:null};n[Uo]>0&&(i.firstChild=e,e=vi(n[Uo],e)),r.push(i)}return[e,r]}var mh=()=>null;function iw(e,t){let r=e[Wn];return!t||r===null||r.length===0?null:r[0].data[Cy]===t?r.shift():(ph(e),null)}function sw(){mh=iw}function qo(e,t){return mh(e,t)}function ac(e,t,r,n){let o=t.tView,s=e[T]&4096?4096:16,a=hi(e,o,r,s,null,t,null,null,null,n?.injector??null,n?.dehydratedView??null),c=e[t.index];a[nr]=c;let u=e[Ve];return u!==null&&(a[Ve]=u.createEmbeddedView(o)),ic(o,a,r),a}function aw(e,t){let r=J+t;if(r<e.length)return e[r]}function Wo(e,t){return!t||t.firstChild===null||jo(e)}function cc(e,t,r,n=!0){let o=t[S];if(ey(o,t,e,r),n){let s=Ws(r,e),a=t[z],c=Za(a,e[Ke]);c!==null&&Jv(o,e[we],a,t,c,s)}let i=t[Pe];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function cw(e,t){let r=Kn(e,t);return r!==void 0&&ai(r[S],r),r}var Bt=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=uw;let e=t;return e})();function uw(){let e=Ie();return yh(e,F())}var lw=Bt,vh=class extends lw{constructor(t,r,n){super(),this._lContainer=t,this._hostTNode=r,this._hostLView=n}get element(){return Cn(this._hostTNode,this._hostLView)}get injector(){return new xt(this._hostTNode,this._hostLView)}get parentInjector(){let t=ja(this._hostTNode,this._hostLView);if(Zd(t)){let r=Po(t,this._hostLView),n=Oo(t),o=r[S].data[n+8];return new xt(o,r)}else return new xt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let r=Gl(this._lContainer);return r!==null&&r[t]||null}get length(){return this._lContainer.length-J}createEmbeddedView(t,r,n){let o,i;typeof n=="number"?o=n:n!=null&&(o=n.index,i=n.injector);let s=qo(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(r||{},i,s);return this.insertImpl(a,o,Wo(this._hostTNode,s)),a}createComponent(t,r,n,o,i){let s=t&&!yv(t),a;if(s)a=r;else{let g=r||{};a=g.index,n=g.injector,o=g.projectableNodes,i=g.environmentInjector||g.ngModuleRef}let c=s?t:new Xn(At(t)),u=n||this.parentInjector;if(!i&&c.ngModule==null){let b=(s?u:this.parentInjector).get(he,null);b&&(i=b)}let l=At(c.componentType??{}),d=qo(this._lContainer,l?.id??null),f=d?.firstChild??null,h=c.create(u,o,f,i);return this.insertImpl(h.hostView,a,Wo(this._hostTNode,d)),h}insert(t,r){return this.insertImpl(t,r,!0)}insertImpl(t,r,n){let o=t._lView;if(Lm(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[Y],u=new vh(c,c[we],c[Y]);u.detach(u.indexOf(t))}}let i=this._adjustIndex(r),s=this._lContainer;return cc(s,o,i,n),t.attachToViewContainerRef(),rf(Ss(s),i,t),t}move(t,r){return this.insert(t,r)}indexOf(t){let r=Gl(this._lContainer);return r!==null?r.indexOf(t):-1}remove(t){let r=this._adjustIndex(t,-1),n=Kn(this._lContainer,r);n&&(ko(Ss(this._lContainer),r),ai(n[S],n))}detach(t){let r=this._adjustIndex(t,-1),n=Kn(this._lContainer,r);return n&&ko(Ss(this._lContainer),r)!=null?new kt(n):null}_adjustIndex(t,r=0){return t??this.length+r}};function Gl(e){return e[No]}function Ss(e){return e[No]||(e[No]=[])}function yh(e,t){let r,n=t[e.index];return Ue(n)?r=n:(r=ih(n,t,null,e),t[e.index]=r,pi(t,r)),Dh(r,t,e,n),new vh(r,e,t)}function dw(e,t){let r=e[z],n=r.createComment(""),o=Ee(t,e),i=Za(r,o);return Vo(r,i,n,sy(r,o),!1),n}var Dh=wh,uc=()=>!1;function fw(e,t,r){return uc(e,t,r)}function wh(e,t,r,n){if(e[Ke])return;let o;r.type&8?o=Fe(n):o=dw(t,r),e[Ke]=o}function hw(e,t,r){if(e[Ke]&&e[Wn])return!0;let n=r[Pe],o=t.index-se;if(!n||$v(t)||di(n,o))return!1;let s=Qs(n,o),a=n.data[Ja]?.[o],[c,u]=ow(s,a);return e[Ke]=c,e[Wn]=u,!0}function pw(e,t,r,n){uc(e,r,t)||wh(e,t,r,n)}function gw(){Dh=pw,uc=hw}function mw(e,t,r){return e[t]=r}function Mn(e,t,r){let n=e[t];return Object.is(n,r)?!1:(e[t]=r,!0)}function vw(e,t,r,n,o,i,s,a,c){let u=t.consts,l=lr(t,e,4,s||null,Ro(u,a));nh(t,r,l,Ro(u,c)),La(t,l);let d=l.tView=tc(2,l,n,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,u,null);return t.queries!==null&&(t.queries.template(t,l),d.queries=t.queries.embeddedTView(l)),l}function aa(e,t,r,n,o,i,s,a){let c=F(),u=ae(),l=e+se,d=u.firstCreatePass?vw(l,u,c,t,r,n,o,i,s):u.data[l];ir(d,!1);let f=Eh(u,c,d,e);ka()&&Ya(u,c,f,d),Ft(f,c);let h=ih(f,c,f,d);return c[l]=h,pi(c,h),fw(h,d,c),Aa(d)&&Kf(u,c,d),s!=null&&Jf(c,d,a),aa}var Eh=Ih;function Ih(e,t,r,n){return ht(!0),t[z].createComment("")}function yw(e,t,r,n){let o=t[Pe],i=!o||In()||di(o,n);if(ht(i),i)return Ih(e,t,r,n);let s=o.data[Iy]?.[n]??null;s!==null&&r.tView!==null&&r.tView.ssrId===null&&(r.tView.ssrId=s);let a=mi(o,e,t,r);li(o,n,a);let c=ec(o,n);return vi(c,a)}function Dw(){Eh=yw}function lc(e,t,r,n){let o=F(),i=oi();if(Mn(o,i,t)){let s=ae(),a=Fa();pD(a,o,e,t,r,n)}return lc}function Ch(e,t,r,n){return Mn(e,oi(),r)?t+Xo(r)+n:mt}function Eo(e,t){return e<<17|t<<2}function Lt(e){return e>>17&32767}function ww(e){return(e&2)==2}function Ew(e,t){return e&131071|t<<17}function ca(e){return e|2}function yn(e){return(e&131068)>>2}function xs(e,t){return e&-131069|t<<2}function Iw(e){return(e&1)===1}function ua(e){return e|1}function Cw(e,t,r,n,o,i){let s=i?t.classBindings:t.styleBindings,a=Lt(s),c=yn(s);e[n]=r;let u=!1,l;if(Array.isArray(r)){let d=r;l=d[1],(l===null||sr(d,l)>0)&&(u=!0)}else l=r;if(o)if(c!==0){let f=Lt(e[a+1]);e[n+1]=Eo(f,a),f!==0&&(e[f+1]=xs(e[f+1],n)),e[a+1]=Ew(e[a+1],n)}else e[n+1]=Eo(a,0),a!==0&&(e[a+1]=xs(e[a+1],n)),a=n;else e[n+1]=Eo(c,0),a===0?a=n:e[c+1]=xs(e[c+1],n),c=n;u&&(e[n+1]=ca(e[n+1])),ql(e,l,n,!0),ql(e,l,n,!1),bw(t,l,e,n,i),s=Eo(a,c),i?t.classBindings=s:t.styleBindings=s}function bw(e,t,r,n,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&sr(i,t)>=0&&(r[n+1]=ua(r[n+1]))}function ql(e,t,r,n){let o=e[r+1],i=t===null,s=n?Lt(o):yn(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],u=e[s+1];Mw(c,t)&&(a=!0,e[s+1]=n?ua(u):ca(u)),s=n?Lt(u):yn(u)}a&&(e[r+1]=n?ca(o):ua(o))}function Mw(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?sr(e,t)>=0:!1}function Tw(e,t,r){let n=F(),o=oi();if(Mn(n,o,t)){let i=ae(),s=Fa();th(i,s,n,e,t,n[z],r,!1)}return Tw}function Wl(e,t,r,n,o){let i=t.inputs,s=o?"class":"style";nc(e,r,i[s],s,n)}function bh(e,t,r){return Mh(e,t,r,!1),bh}function Sw(e,t){return Mh(e,t,null,!0),Sw}function Mh(e,t,r,n){let o=F(),i=ae(),s=Qm(2);if(i.firstUpdatePass&&Aw(i,e,s,n),t!==mt&&Mn(o,s,t)){let a=i.data[$t()];Pw(i,a,o,o[z],e,o[s+1]=Fw(t,r),n,s)}}function xw(e,t){return t>=e.expandoStartIndex}function Aw(e,t,r,n){let o=e.data;if(o[r+1]===null){let i=o[$t()],s=xw(e,r);kw(i,n)&&t===null&&!s&&(t=!1),t=_w(o,i,t,n),Cw(o,i,t,r,s,n)}}function _w(e,t,r,n){let o=ev(e),i=n?t.residualClasses:t.residualStyles;if(o===null)(n?t.classBindings:t.styleBindings)===0&&(r=As(null,e,t,r,n),r=er(r,t.attrs,n),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(r=As(o,e,t,r,n),i===null){let c=Nw(e,t,n);c!==void 0&&Array.isArray(c)&&(c=As(null,e,t,c[1],n),c=er(c,t.attrs,n),Rw(e,t,n,c))}else i=Ow(e,t,n)}return i!==void 0&&(n?t.residualClasses=i:t.residualStyles=i),r}function Nw(e,t,r){let n=r?t.classBindings:t.styleBindings;if(yn(n)!==0)return e[Lt(n)]}function Rw(e,t,r,n){let o=r?t.classBindings:t.styleBindings;e[Lt(o)]=n}function Ow(e,t,r){let n,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;n=er(n,s,r)}return er(n,t.attrs,r)}function As(e,t,r,n,o){let i=null,s=r.directiveEnd,a=r.directiveStylingLast;for(a===-1?a=r.directiveStart:a++;a<s&&(i=t[a],n=er(n,i.hostAttrs,o),i!==e);)a++;return e!==null&&(r.directiveStylingLast=a),n}function er(e,t,r){let n=r?1:2,o=-1;if(t!==null)for(let i=0;i<t.length;i++){let s=t[i];typeof s=="number"?o=s:o===n&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),Cv(e,s,r?!0:t[++i]))}return e===void 0?null:e}function Pw(e,t,r,n,o,i,s,a){if(!(t.type&3))return;let c=e.data,u=c[a+1],l=Iw(u)?Zl(c,t,r,o,yn(u),s):void 0;if(!Zo(l)){Zo(i)||ww(u)&&(i=Zl(c,null,r,o,a,s));let d=Rd($t(),r);dy(n,s,d,o,i)}}function Zl(e,t,r,n,o,i){let s=t===null,a;for(;o>0;){let c=e[o],u=Array.isArray(c),l=u?c[1]:c,d=l===null,f=r[o+1];f===mt&&(f=d?ye:void 0);let h=d?Ds(f,n):l===n?f:void 0;if(u&&!Zo(h)&&(h=Ds(c,n)),Zo(h)&&(a=h,s))return a;let g=e[o+1];o=s?Lt(g):yn(g)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=Ds(c,n))}return a}function Zo(e){return e!==void 0}function Fw(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=oe(cr(e)))),e}function kw(e,t){return(e.flags&(t?8:16))!==0}var la=class{destroy(t){}updateValue(t,r){}swap(t,r){let n=Math.min(t,r),o=Math.max(t,r),i=this.detach(o);if(o-n>1){let s=this.detach(n);this.attach(n,i),this.attach(o,s)}else this.attach(n,i)}move(t,r){this.attach(r,this.detach(t))}};function _s(e,t,r,n,o){return e===r&&Object.is(t,n)?1:Object.is(o(e,t),o(r,n))?-1:0}function Lw(e,t,r){let n,o,i=0,s=e.length-1;if(Array.isArray(t)){let a=t.length-1;for(;i<=s&&i<=a;){let c=e.at(i),u=t[i],l=_s(i,c,i,u,r);if(l!==0){l<0&&e.updateValue(i,u),i++;continue}let d=e.at(s),f=t[a],h=_s(s,d,a,f,r);if(h!==0){h<0&&e.updateValue(s,f),s--,a--;continue}let g=r(i,c),b=r(s,d),y=r(i,u);if(Object.is(y,b)){let m=r(a,f);Object.is(m,g)?(e.swap(i,s),e.updateValue(s,f),a--,s--):e.move(s,i),e.updateValue(i,u),i++;continue}if(n??=new Yo,o??=Ql(e,i,s,r),da(e,n,i,y))e.updateValue(i,u),i++,s++;else if(o.has(y))n.set(g,e.detach(i)),s--;else{let m=e.create(i,t[i]);e.attach(i,m),i++,s++}}for(;i<=a;)Yl(e,n,r,i,t[i]),i++}else if(t!=null){let a=t[Symbol.iterator](),c=a.next();for(;!c.done&&i<=s;){let u=e.at(i),l=c.value,d=_s(i,u,i,l,r);if(d!==0)d<0&&e.updateValue(i,l),i++,c=a.next();else{n??=new Yo,o??=Ql(e,i,s,r);let f=r(i,l);if(da(e,n,i,f))e.updateValue(i,l),i++,s++,c=a.next();else if(!o.has(f))e.attach(i,e.create(i,l)),i++,s++,c=a.next();else{let h=r(i,u);n.set(h,e.detach(i)),s--}}}for(;!c.done;)Yl(e,n,r,e.length,c.value),c=a.next()}for(;i<=s;)e.destroy(e.detach(s--));n?.forEach(a=>{e.destroy(a)})}function da(e,t,r,n){return t!==void 0&&t.has(n)?(e.attach(r,t.get(n)),t.delete(n),!0):!1}function Yl(e,t,r,n,o){if(da(e,t,n,r(n,o)))e.updateValue(n,o);else{let i=e.create(n,o);e.attach(n,i)}}function Ql(e,t,r,n){let o=new Set;for(let i=t;i<=r;i++)o.add(n(i,e.at(i)));return o}var Yo=class{constructor(){this.kvMap=new Map,this._vMap=void 0}has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let r=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(r)?(this.kvMap.set(t,this._vMap.get(r)),this._vMap.delete(r)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,r){if(this.kvMap.has(t)){let n=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(n);)n=o.get(n);o.set(n,r)}else this.kvMap.set(t,r)}forEach(t){for(let[r,n]of this.kvMap)if(t(n,r),this._vMap!==void 0){let o=this._vMap;for(;o.has(n);)n=o.get(n),t(n,r)}}};var fa=class{constructor(t,r,n){this.lContainer=t,this.$implicit=r,this.$index=n}get $count(){return this.lContainer.length-J}};function J_(e){return e}var ha=class{constructor(t,r,n){this.hasEmptyBlock=t,this.trackByFn=r,this.liveCollection=n}};function X_(e,t,r,n,o,i,s,a,c,u,l,d,f){bn("NgControlFlow");let h=c!==void 0,g=F(),b=a?s.bind(g[fe][ie]):s,y=new ha(h,b);g[se+e]=y,aa(e+1,t,r,n,o,i),h&&aa(e+2,c,u,l,d,f)}var pa=class extends la{constructor(t,r,n){super(),this.lContainer=t,this.hostLView=r,this.templateTNode=n,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-J}at(t){return this.getLView(t)[ie].$implicit}attach(t,r){let n=r[Pe];this.needsIndexUpdate||=t!==this.length,cc(this.lContainer,r,t,Wo(this.templateTNode,n))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,jw(this.lContainer,t)}create(t,r){let n=qo(this.lContainer,this.templateTNode.tView.ssrId);return ac(this.hostLView,this.templateTNode,new fa(this.lContainer,r,t),{dehydratedView:n})}destroy(t){ai(t[S],t)}updateValue(t,r){this.getLView(t)[ie].$implicit=r}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[ie].$index=t}getLView(t){return Vw(this.lContainer,t)}};function eN(e){let t=ne(null),r=$t();try{let n=F(),o=n[S],i=n[r];if(i.liveCollection===void 0){let a=r+1,c=Kl(n,a),u=Jl(o,a);i.liveCollection=new pa(c,n,u)}else i.liveCollection.reset();let s=i.liveCollection;if(Lw(s,e,i.trackByFn),s.updateIndexes(),i.hasEmptyBlock){let a=oi(),c=s.length===0;if(Mn(n,a,c)){let u=r+2,l=Kl(n,u);if(c){let d=Jl(o,u),f=qo(l,d.tView.ssrId),h=ac(n,d,void 0,{dehydratedView:f});cc(l,h,0,Wo(d,f))}else cw(l,0)}}}finally{ne(t)}}function Kl(e,t){return e[t]}function jw(e,t){return Kn(e,t)}function Vw(e,t){return aw(e,t)}function Jl(e,t){return _a(e,t)}function $w(e,t,r,n,o,i){let s=t.consts,a=Ro(s,o),c=lr(t,e,2,n,a);return nh(t,r,c,Ro(s,i)),c.attrs!==null&&oa(c,c.attrs,!1),c.mergedAttrs!==null&&oa(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}function Th(e,t,r,n){let o=F(),i=ae(),s=se+e,a=o[z],c=i.firstCreatePass?$w(s,i,o,t,r,n):i.data[s],u=xh(i,o,c,a,t,e);o[s]=u;let l=Aa(c);return ir(c,!0),Af(a,u,c),(c.flags&32)!==32&&ka()&&Ya(i,o,u,c),Um()===0&&Ft(u,o),Bm(),l&&(Kf(i,o,c),Qf(i,c,o)),n!==null&&Jf(o,c),Th}function Sh(){let e=Ie();Ld()?jd():(e=e.parent,ir(e,!1));let t=e;zm(t)&&qm(),Hm();let r=ae();return r.firstCreatePass&&(La(r,e),Md(e)&&r.queries.elementEnd(e)),t.classesWithoutHost!=null&&av(t)&&Wl(r,t,F(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&cv(t)&&Wl(r,t,F(),t.stylesWithoutHost,!1),Sh}function dc(e,t,r,n){return Th(e,t,r,n),Sh(),dc}var xh=(e,t,r,n,o,i)=>(ht(!0),Wa(n,o,Gd()));function Uw(e,t,r,n,o,i){let s=t[Pe],a=!s||In()||di(s,i);if(ht(a),a)return Wa(n,o,Gd());let c=mi(s,e,t,r);return jf(s,i)&&li(s,i,c.nextSibling),s&&(pf(r)||gf(c))&&rr(r)&&(Gm(r),Tf(c)),c}function Bw(){xh=Uw}var Hw=(e,t,r,n)=>(ht(!0),yf(t[z],""));function zw(e,t,r,n){let o,i=t[Pe],s=!i||In();if(ht(s),s)return yf(t[z],"");let a=mi(i,e,t,r),c=Oy(i,n);return li(i,n,a),o=vi(c,a),o}function Gw(){Hw=zw}function tN(){return F()}var Qo="en-US";var qw=Qo;function Ww(e){tm(e,"Expected localeId to be defined"),typeof e=="string"&&(qw=e.toLowerCase().replace(/_/g,"-"))}function dr(e){return!!e&&typeof e.then=="function"}function Ah(e){return!!e&&typeof e.subscribe=="function"}function fc(e,t,r,n){let o=F(),i=ae(),s=Ie();return Yw(i,o,o[z],s,e,t,n),fc}function Zw(e,t,r,n){let o=e.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=t[Gn],c=o[i+2];return a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function Yw(e,t,r,n,o,i,s){let a=Aa(n),u=e.firstCreatePass&&ch(e),l=t[ie],d=ah(t),f=!0;if(n.type&3||s){let b=Ee(n,t),y=s?s(b):b,m=d.length,U=s?L=>s(Fe(L[n.index])):n.index,ee=null;if(!s&&a&&(ee=Zw(e,t,o,n.index)),ee!==null){let L=ee.__ngLastListenerFn__||ee;L.__ngNextListenerFn__=i,ee.__ngLastListenerFn__=i,f=!1}else{i=ed(n,t,l,i,!1);let L=r.listen(y,o,i);d.push(i,L),u&&u.push(o,U,m,m+1)}}else i=ed(n,t,l,i,!1);let h=n.outputs,g;if(f&&h!==null&&(g=h[o])){let b=g.length;if(b)for(let y=0;y<b;y+=2){let m=g[y],U=g[y+1],te=t[m][U].subscribe(i),Q=d.length;d.push(i,te),u&&u.push(o,n.index,Q,-(Q+1))}}}function Xl(e,t,r,n){try{return Le(6,t,r),r(n)!==!1}catch(o){return uh(e,o),!1}finally{Le(7,t,r)}}function ed(e,t,r,n,o){return function i(s){if(s===Function)return n;let a=e.componentOffset>-1?ft(e.index,t):t;rc(a);let c=Xl(t,r,n,s),u=i.__ngNextListenerFn__;for(;u;)c=Xl(t,r,u,s)&&c,u=u.__ngNextListenerFn__;return o&&c===!1&&s.preventDefault(),c}}function nN(e=1){return nv(e)}function Qw(e,t){let r=null,n=wm(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){r=o;continue}if(n===null?gd(e,i,!0):Cm(n,i))return o}return r}function rN(e){let t=F()[fe][we];if(!t.projection){let r=e?e.length:1,n=t.projection=Ev(r,null),o=n.slice(),i=t.child;for(;i!==null;){let s=e?Qw(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:n[s]=i,o[s]=i),i=i.next}}}function oN(e,t=0,r){let n=F(),o=ae(),i=lr(o,se+e,16,null,r||null);i.projection===null&&(i.projection=t),jd(),(!n[Pe]||In())&&(i.flags&32)!==32&&uy(o,n,i)}function Kw(e,t,r,n,o){let i=F(),s=Ch(i,t,r,n);if(s!==mt){let a=ae(),c=Fa();th(a,c,i,e,s,i[z],o,!1)}return Kw}function Jw(){return this._results[Symbol.iterator]()}var ga=class e{get changes(){return this._changes??=new Te}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;let r=e.prototype;r[Symbol.iterator]||(r[Symbol.iterator]=Jw)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,r){return this._results.reduce(t,r)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,r){this.dirty=!1;let n=wv(t);(this._changesDetected=!Dv(this._results,n,r))&&(this._results=n,this.length=n.length,this.last=n[this.length-1],this.first=n[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}},Dn=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=tE;let e=t;return e})(),Xw=Dn,eE=class extends Xw{constructor(t,r,n){super(),this._declarationLView=t,this._declarationTContainer=r,this.elementRef=n}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,r){return this.createEmbeddedViewImpl(t,r)}createEmbeddedViewImpl(t,r,n){let o=ac(this._declarationLView,this._declarationTContainer,t,{injector:r,dehydratedView:n});return new kt(o)}};function tE(){return hc(Ie(),F())}function hc(e,t){return e.type&4?new eE(t,e,Cn(e,t)):null}var ma=class e{constructor(t){this.queryList=t,this.matches=null}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},va=class e{constructor(t=[]){this.queries=t}createEmbeddedView(t){let r=t.queries;if(r!==null){let n=t.contentQueries!==null?t.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 e(o)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let r=0;r<this.queries.length;r++)Nh(t,r).matches!==null&&this.queries[r].setDirty()}},ya=class{constructor(t,r,n=null){this.predicate=t,this.flags=r,this.read=n}},Da=class e{constructor(t=[]){this.queries=t}elementStart(t,r){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(t,r)}elementEnd(t){for(let r=0;r<this.queries.length;r++)this.queries[r].elementEnd(t)}embeddedTView(t){let r=null;for(let n=0;n<this.length;n++){let o=r!==null?r.length:0,i=this.getByIndex(n).embeddedTView(t,o);i&&(i.indexInDeclarationView=n,r!==null?r.push(i):r=[i])}return r!==null?new e(r):null}template(t,r){for(let n=0;n<this.queries.length;n++)this.queries[n].template(t,r)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}},wa=class e{constructor(t,r=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=r}elementStart(t,r){this.isApplyingToNode(r)&&this.matchTNode(t,r)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,r){this.elementStart(t,r)}embeddedTView(t,r){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,r),new e(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let r=this._declarationNodeIndex,n=t.parent;for(;n!==null&&n.type&8&&n.index!==r;)n=n.parent;return r===(n!==null?n.index:-1)}return this._appliesToNextNode}matchTNode(t,r){let n=this.metadata.predicate;if(Array.isArray(n))for(let o=0;o<n.length;o++){let i=n[o];this.matchTNodeWithReadOption(t,r,nE(r,i)),this.matchTNodeWithReadOption(t,r,Mo(r,t,i,!1,!1))}else n===Dn?r.type&4&&this.matchTNodeWithReadOption(t,r,-1):this.matchTNodeWithReadOption(t,r,Mo(r,t,n,!1,!1))}matchTNodeWithReadOption(t,r,n){if(n!==null){let o=this.metadata.read;if(o!==null)if(o===tt||o===Bt||o===Dn&&r.type&4)this.addMatch(r.index,-2);else{let i=Mo(r,t,o,!1,!1);i!==null&&this.addMatch(r.index,i)}else this.addMatch(r.index,n)}}addMatch(t,r){this.matches===null?this.matches=[t,r]:this.matches.push(t,r)}};function nE(e,t){let r=e.localNames;if(r!==null){for(let n=0;n<r.length;n+=2)if(r[n]===t)return r[n+1]}return null}function rE(e,t){return e.type&11?Cn(e,t):e.type&4?hc(e,t):null}function oE(e,t,r,n){return r===-1?rE(t,e):r===-2?iE(e,t,n):Ot(e,e[S],r,t)}function iE(e,t,r){if(r===tt)return Cn(t,e);if(r===Dn)return hc(t,e);if(r===Bt)return yh(t,e)}function _h(e,t,r,n){let o=t[Ve].queries[n];if(o.matches===null){let i=e.data,s=r.matches,a=[];for(let c=0;c<s.length;c+=2){let u=s[c];if(u<0)a.push(null);else{let l=i[u];a.push(oE(t,l,s[c+1],r.metadata.read))}}o.matches=a}return o.matches}function Ea(e,t,r,n){let o=e.queries.getByIndex(r),i=o.matches;if(i!==null){let s=_h(e,t,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=t[-c];for(let d=J;d<l.length;d++){let f=l[d];f[nr]===f[Y]&&Ea(f[S],f,u,n)}if(l[gn]!==null){let d=l[gn];for(let f=0;f<d.length;f++){let h=d[f];Ea(h[S],h,u,n)}}}}}return n}function sE(e,t){return e[Ve].queries[t].queryList}function aE(e,t,r){let n=new ga((r&4)===4);Xy(e,t,n,n.destroy),t[Ve]===null&&(t[Ve]=new va),t[Ve].queries.push(new ma(n))}function cE(e,t,r){e.queries===null&&(e.queries=new Da),e.queries.track(new wa(t,r))}function Nh(e,t){return e.queries.getByIndex(t)}function sN(e,t,r){let n=ae();n.firstCreatePass&&(cE(n,new ya(e,t,r),-1),(t&2)===2&&(n.staticViewQueries=!0)),aE(n,F(),t)}function uE(e){let t=F(),r=ae(),n=Vd();Ra(n+1);let o=Nh(r,n);if(e.dirty&&km(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=o.crossesNgTemplate?Ea(r,t,n,[]):_h(r,t,o,n);e.reset(i,Ly),e.notifyOnChanges()}return!0}return!1}function lE(){return sE(F(),Vd())}function aN(e,t=""){let r=F(),n=ae(),o=e+se,i=n.firstCreatePass?lr(n,o,1,t,null):n.data[o],s=Rh(n,r,i,t,e);r[o]=s,ka()&&Ya(n,r,s,i),ir(i,!1)}var Rh=(e,t,r,n,o)=>(ht(!0),vf(t[z],n));function dE(e,t,r,n,o){let i=t[Pe],s=!i||In()||di(i,o);return ht(s),s?vf(t[z],n):mi(i,e,t,r)}function fE(){Rh=dE}function hE(e){return Oh("",e,""),hE}function Oh(e,t,r){let n=F(),o=Ch(n,e,t,r);return o!==mt&&yD(n,$t(),o),Oh}function pE(e,t,r){let n=ae();if(n.firstCreatePass){let o=lt(e);Ia(r,n.data,n.blueprint,o,!0),Ia(t,n.data,n.blueprint,o,!1)}}function Ia(e,t,r,n,o){if(e=re(e),Array.isArray(e))for(let i=0;i<e.length;i++)Ia(e[i],t,r,n,o);else{let i=ae(),s=F(),a=Ie(),c=vn(e)?e:re(e.provide),u=lf(e),l=a.providerIndexes&1048575,d=a.directiveStart,f=a.providerIndexes>>20;if(vn(e)||!e.multi){let h=new Rt(u,o,pe),g=Rs(c,t,o?l:l+f,d);g===-1?(Us(Fo(a,s),i,c),Ns(i,e,t.length),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),r.push(h),s.push(h)):(r[g]=h,s[g]=h)}else{let h=Rs(c,t,l+f,d),g=Rs(c,t,l,l+f),b=h>=0&&r[h],y=g>=0&&r[g];if(o&&!y||!o&&!b){Us(Fo(a,s),i,c);let m=vE(o?mE:gE,r.length,o,n,u);!o&&y&&(r[g].providerFactory=m),Ns(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),r.push(m),s.push(m)}else{let m=Ph(r[o?g:h],u,!o&&n);Ns(i,e,h>-1?h:g,m)}!o&&n&&y&&r[g].componentProviders++}}}function Ns(e,t,r,n){let o=vn(t),i=Av(t);if(o||i){let c=(i?re(t.useClass):t).prototype.ngOnDestroy;if(c){let u=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.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 Ph(e,t,r){return r&&e.componentProviders++,e.multi.push(t)-1}function Rs(e,t,r,n){for(let o=r;o<n;o++)if(t[o]===e)return o;return-1}function gE(e,t,r,n){return Ca(this.multi,[])}function mE(e,t,r,n){let o=this.multi,i;if(this.providerFactory){let s=this.providerFactory.componentProviders,a=Ot(r,r[S],this.providerFactory.index,n);i=a.slice(0,s),Ca(o,i);for(let c=s;c<a.length;c++)i.push(a[c])}else i=[],Ca(o,i);return i}function Ca(e,t){for(let r=0;r<e.length;r++){let n=e[r];t.push(n())}return t}function vE(e,t,r,n,o){let i=new Rt(e,r,pe);return i.multi=[],i.index=t,i.componentProviders=0,Ph(i,o,n&&!r),i}function cN(e,t=[]){return r=>{r.providersResolver=(n,o)=>pE(n,o?o(e):e,t)}}var dt=class{},tr=class{};var ba=class extends dt{constructor(t,r,n){super(),this._parent=r,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new zo(this);let o=wd(t);this._bootstrapComponents=hf(o.bootstrap),this._r3Injector=df(t,r,[{provide:dt,useValue:this},{provide:fi,useValue:this.componentFactoryResolver},...n],oe(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){let t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(r=>r()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},Ma=class extends tr{constructor(t){super(),this.moduleType=t}create(t){return new ba(this.moduleType,t,[])}};var Ko=class extends dt{constructor(t){super(),this.componentFactoryResolver=new zo(this),this.instance=null;let r=new Qn([...t.providers,{provide:dt,useValue:this},{provide:fi,useValue:this.componentFactoryResolver}],t.parent||Ha(),t.debugName,new Set(["environment"]));this.injector=r,t.runEnvironmentInitializers&&r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function pc(e,t,r=null){return new Ko({providers:e,parent:t,debugName:r,runEnvironmentInitializers:!0}).injector}var yE=(()=>{let t=class t{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let o=af(!1,n.type),i=o.length>0?pc([o],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,i)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}};t.\u0275prov=w({token:t,providedIn:"environment",factory:()=>new t(I(he))});let e=t;return e})();function Fh(e){bn("NgStandalone"),e.getStandaloneInjector=t=>t.get(yE).getOrCreateStandaloneInjector(e)}function uN(e,t,r,n){return wE(F(),Zm(),e,t,r,n)}function DE(e,t){let r=e[t];return r===mt?void 0:r}function wE(e,t,r,n,o,i){let s=t+r;return Mn(e,s,o)?mw(e,s+1,i?n.call(i,o):n(o)):DE(e,s+1)}var yi=(()=>{let t=class t{log(n){console.log(n)}warn(n){console.warn(n)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"platform"});let e=t;return e})(),Ta=class{constructor(t,r){this.ngModuleFactory=t,this.componentFactories=r}},gc=(()=>{let t=class t{compileModuleSync(n){return new Ma(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let o=this.compileModuleSync(n),i=wd(n),s=hf(i.declarations).reduce((a,c)=>{let u=At(c);return u&&a.push(new Xn(u)),a},[]);return new Ta(o,s)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var Ht=(()=>{let t=class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new K(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var mc=new C(""),fr=new C(""),Di=(()=>{let t=class t{constructor(n,o,i){this._ngZone=n,this.registry=o,this._pendingCount=0,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,vc||(EE(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:()=>{V.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&this._pendingCount===0&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(o=>o.updateCb&&o.updateCb(n)?(clearTimeout(o.timeoutId),!1):!0)}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,o,i){let s=-1;o&&o>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==s),n()},o)),this._callbacks.push({doneCb:n,timeoutId:s,updateCb:i})}whenStable(n,o,i){if(i&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,o,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,o,i){return[]}};t.\u0275fac=function(o){return new(o||t)(I(V),I(wi),I(fr))},t.\u0275prov=w({token:t,factory:t.\u0275fac});let e=t;return e})(),wi=(()=>{let t=class t{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 vc?.findTestabilityInTree(this,n,o)??null}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"platform"});let e=t;return e})();function EE(e){vc=e}var vc,kh=new C("Application Initializer"),Lh=(()=>{let t=class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,o)=>{this.resolve=n,this.reject=o}),this.appInits=p(kh,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let n=[];for(let i of this.appInits){let s=i();if(dr(s))n.push(s);else if(Ah(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}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),Tn=new C("appBootstrapListener");function IE(){$u(()=>{throw new E(600,!1)})}function CE(e){return e.isBoundToModule}function bE(e,t,r){try{let n=r();return dr(n)?n.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):n}catch(n){throw t.runOutsideAngular(()=>e.handleError(n)),n}}var nt=(()=>{let t=class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=p(Hf),this.afterRenderEffectManager=p(hh),this.componentTypes=[],this.components=[],this.isStable=p(Ht).hasPendingTasks.pipe(N(n=>!n)),this._injector=p(he)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,o){let i=n instanceof Bo;if(!this._injector.get(Lh).done){let h=!i&&Dd(n),g=!1;throw new E(405,g)}let a;i?a=n:a=this._injector.get(fi).resolveComponentFactory(n),this.componentTypes.push(a.componentType);let c=CE(a)?void 0:this._injector.get(dt),u=o||a.selector,l=a.create(gt.NULL,[],u,c),d=l.location.nativeElement,f=l.injector.get(mc,null);return f?.registerApplication(d),l.onDestroy(()=>{this.detachView(l.hostView),Os(this.components,l),f?.unregisterApplication(d)}),this._loadComponent(l),l}tick(){if(this._runningTick)throw new E(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this.internalErrorHandler(n)}finally{try{let n=this.afterRenderEffectManager.execute()}catch(n){this.internalErrorHandler(n)}this._runningTick=!1}}attachView(n){let o=n;this._views.push(o),o.attachToAppRef(this)}detachView(n){let o=n;Os(this._views,o),o.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);let o=this._injector.get(Tn,[]);[...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),()=>Os(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new E(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Os(e,t){let r=e.indexOf(t);r>-1&&e.splice(r,1)}var Io;function yc(e){Io??=new WeakMap;let t=Io.get(e);if(t)return t;let r=e.isStable.pipe(Ne(n=>n)).toPromise().then(()=>{});return Io.set(e,r),e.onDestroy(()=>Io?.delete(e)),r}var ME=(()=>{let t=class t{constructor(){this.zone=p(V),this.applicationRef=p(nt)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function TE(e){return[{provide:V,useFactory:e},{provide:Pt,multi:!0,useFactory:()=>{let t=p(ME,{optional:!0});return()=>t.initialize()}},{provide:Pt,multi:!0,useFactory:()=>{let t=p(_E);return()=>{t.initialize()}}},{provide:Hf,useFactory:SE}]}function SE(){let e=p(V),t=p(Xe);return r=>e.runOutsideAngular(()=>t.handleError(r))}function xE(e){let t=TE(()=>new V(AE(e)));return pt([[],t])}function AE(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var _E=(()=>{let t=class t{constructor(){this.subscription=new G,this.initialized=!1,this.zone=p(V),this.pendingTasks=p(Ht)}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(()=>{V.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{V.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function NE(){return typeof $localize<"u"&&$localize.locale||Qo}var Dc=new C("LocaleId",{providedIn:"root",factory:()=>p(Dc,P.Optional|P.SkipSelf)||NE()});var jh=new C("PlatformDestroyListeners");var xo=null;function RE(e=[],t){return gt.create({name:t,providers:[{provide:ii,useValue:"platform"},{provide:jh,useValue:new Set([()=>xo=null])},...e]})}function OE(e=[]){if(xo)return xo;let t=RE(e);return xo=t,IE(),PE(t),t}function PE(e){e.get(za,null)?.forEach(r=>r())}function lN(){return!1}var Vh=(()=>{let t=class t{constructor(n){}};t.\u0275fac=function(o){return new(o||t)(I(nt))},t.\u0275mod=Vt({type:t}),t.\u0275inj=jt({});let e=t;return e})();function $h(e){try{let{rootComponent:t,appProviders:r,platformProviders:n}=e,o=OE(n),i=[xE(),...r||[]],a=new Ko({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1}).injector,c=a.get(V);return c.run(()=>{a.resolveInjectorInitializers();let u=a.get(Xe,null),l;c.runOutsideAngular(()=>{l=c.onError.subscribe({next:h=>{u.handleError(h)}})});let d=()=>a.destroy(),f=o.get(jh);return f.add(d),a.onDestroy(()=>{l.unsubscribe(),f.delete(d)}),bE(u,c,()=>{let h=a.get(Lh);return h.runInitializers(),h.donePromise.then(()=>{let g=a.get(Dc,Qo);Ww(g||Qo);let b=a.get(nt);return t!==void 0&&b.bootstrap(t),b})})})}catch(t){return Promise.reject(t)}}var td=!1;function FE(){td||(td=!0,Ay(),Bw(),fE(),Gw(),Dw(),gw(),sw(),Jy())}function kE(e,t){return yc(e)}function Uh(){return pt([{provide:Do,useFactory:()=>{let e=!0;return vo()&&(e=!!p(Ut,{optional:!0})?.get(kf,null)),e&&bn("NgHydration"),e}},{provide:Pt,useValue:()=>{vo()&&p(Do)&&(LE(),FE())},multi:!0},{provide:Gf,useFactory:()=>vo()&&p(Do)},{provide:Tn,useFactory:()=>{if(vo()&&p(Do)){let e=p(nt),t=p(gt);return()=>{kE(e,t).then(()=>{V.assertInAngularZone(),JD(e)})}}return()=>{}},multi:!0}])}function LE(){let e=si(),t;for(let r of e.body.childNodes)if(r.nodeType===Node.COMMENT_NODE&&r.textContent?.trim()===Sy){t=r;break}if(!t)throw new E(-507,!1)}function hr(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}var Ec=null;function Gt(){return Ec}function Wh(e){Ec||(Ec=e)}var Ii=class{},ce=new C("DocumentToken"),Zh=(()=>{let t=class t{historyGo(n){throw new Error("Not implemented")}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=w({token:t,factory:()=>p(jE),providedIn:"platform"});let e=t;return e})();var jE=(()=>{let t=class t extends Zh{constructor(){super(),this._doc=p(ce),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Gt().getBaseHref(this._doc)}onPopState(n){let o=Gt().getGlobalEventTarget(this._doc,"window");return o.addEventListener("popstate",n,!1),()=>o.removeEventListener("popstate",n)}onHashChange(n){let o=Gt().getGlobalEventTarget(this._doc,"window");return o.addEventListener("hashchange",n,!1),()=>o.removeEventListener("hashchange",n)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(n){this._location.pathname=n}pushState(n,o,i){this._history.pushState(n,o,i)}replaceState(n,o,i){this._history.replaceState(n,o,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=w({token:t,factory:()=>new t,providedIn:"platform"});let e=t;return e})();function Yh(e,t){if(e.length==0)return t;if(t.length==0)return e;let r=0;return e.endsWith("/")&&r++,t.startsWith("/")&&r++,r==2?e+t.substring(1):r==1?e+t:e+"/"+t}function Bh(e){let t=e.match(/#|\?|$/),r=t&&t.index||e.length,n=r-(e[r-1]==="/"?1:0);return e.slice(0,n)+e.slice(r)}function zt(e){return e&&e[0]!=="?"?"?"+e:e}var xn=(()=>{let t=class t{historyGo(n){throw new Error("Not implemented")}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=w({token:t,factory:()=>p(Qh),providedIn:"root"});let e=t;return e})(),VE=new C("appBaseHref"),Qh=(()=>{let t=class t extends xn{constructor(n,o){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=o??this._platformLocation.getBaseHrefFromDOM()??p(ce).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return Yh(this._baseHref,n)}path(n=!1){let o=this._platformLocation.pathname+zt(this._platformLocation.search),i=this._platformLocation.hash;return i&&n?`${o}${i}`:o}pushState(n,o,i,s){let a=this.prepareExternalUrl(i+zt(s));this._platformLocation.pushState(n,o,a)}replaceState(n,o,i,s){let a=this.prepareExternalUrl(i+zt(s));this._platformLocation.replaceState(n,o,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}};t.\u0275fac=function(o){return new(o||t)(I(Zh),I(VE,8))},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var pr=(()=>{let t=class t{constructor(n){this._subject=new Te,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;let o=this._locationStrategy.getBaseHref();this._basePath=BE(Bh(Hh(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+zt(o))}normalize(n){return t.stripTrailingSlash(UE(this._basePath,Hh(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+zt(o)),i)}replaceState(n,o="",i=null){this._locationStrategy.replaceState(i,"",n,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+zt(o)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(o=>{this._notifyUrlChangeListeners(o.url,o.state)})),()=>{let o=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(o,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",o){this._urlChangeListeners.forEach(i=>i(n,o))}subscribe(n,o,i){return this._subject.subscribe({next:n,error:o,complete:i})}};t.normalizeQueryParams=zt,t.joinWithSlash=Yh,t.stripTrailingSlash=Bh,t.\u0275fac=function(o){return new(o||t)(I(xn))},t.\u0275prov=w({token:t,factory:()=>$E(),providedIn:"root"});let e=t;return e})();function $E(){return new pr(I(xn))}function UE(e,t){if(!e||!t.startsWith(e))return t;let r=t.substring(e.length);return r===""||["/",";","?","#"].includes(r[0])?r:t}function Hh(e){return e.replace(/\/index.html$/,"")}function BE(e){if(new RegExp("^(https?:)?//").test(e)){let[,r]=e.split(/\/\/[^\/]+/);return r}return e}function Ci(e,t){t=encodeURIComponent(t);for(let r of e.split(";")){let n=r.indexOf("="),[o,i]=n==-1?[r,""]:[r.slice(0,n),r.slice(n+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}var wc=/\s+/,zh=[],kN=(()=>{let t=class t{constructor(n,o){this._ngEl=n,this._renderer=o,this.initialClasses=zh,this.stateMap=new Map}set klass(n){this.initialClasses=n!=null?n.trim().split(wc):zh}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(wc):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(wc).forEach(i=>{o?this._renderer.addClass(this._ngEl.nativeElement,i):this._renderer.removeClass(this._ngEl.nativeElement,i)})}};t.\u0275fac=function(o){return new(o||t)(pe(tt),pe(ur))},t.\u0275dir=wn({type:t,selectors:[["","ngClass",""]],inputs:{klass:[Se.None,"class","klass"],ngClass:"ngClass"},standalone:!0});let e=t;return e})();var LN=(()=>{let t=class t{constructor(n,o){this._viewContainer=n,this._context=new Ic,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){Gh("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){Gh("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}};t.\u0275fac=function(o){return new(o||t)(pe(Bt),pe(Dn))},t.\u0275dir=wn({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});let e=t;return e})(),Ic=class{constructor(){this.$implicit=null,this.ngIf=null}};function Gh(e,t){if(!!!(!t||t.createEmbeddedView))throw new Error(`${e} must be a TemplateRef, but received '${oe(t)}'.`)}var Kh=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=jt({});let e=t;return e})(),Cc="browser",HE="server";function jN(e){return e===Cc}function bc(e){return e===HE}var Sn=class{};var mr=class{},vr=class{},He=class e{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?typeof t=="string"?this.lazyInit=()=>{this.headers=new Map,t.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"&&t instanceof Headers?(this.headers=new Map,t.forEach((r,n)=>{this.setHeaderEntries(n,r)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([r,n])=>{this.setHeaderEntries(r,n)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let r=this.headers.get(t.toLowerCase());return r&&r.length>0?r[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,r){return this.clone({name:t,value:r,op:"a"})}set(t,r){return this.clone({name:t,value:r,op:"s"})}delete(t,r){return this.clone({name:t,value:r,op:"d"})}maybeSetNormalizedName(t,r){this.normalizedNames.has(r)||this.normalizedNames.set(r,t)}init(){this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(r=>{this.headers.set(r,t.headers.get(r)),this.normalizedNames.set(r,t.normalizedNames.get(r))})}clone(t){let r=new e;return r.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,r.lazyUpdate=(this.lazyUpdate||[]).concat([t]),r}applyUpdate(t){let r=t.name.toLowerCase();switch(t.op){case"a":case"s":let n=t.value;if(typeof n=="string"&&(n=[n]),n.length===0)return;this.maybeSetNormalizedName(t.name,r);let o=(t.op==="a"?this.headers.get(r):void 0)||[];o.push(...n),this.headers.set(r,o);break;case"d":let i=t.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(t,r){let n=(Array.isArray(r)?r:[r]).map(i=>i.toString()),o=t.toLowerCase();this.headers.set(o,n),this.maybeSetNormalizedName(t,o)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(r=>t(this.normalizedNames.get(r),this.headers.get(r)))}};var Sc=class{encodeKey(t){return Xh(t)}encodeValue(t){return Xh(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}};function GE(e,t){let r=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(o=>{let i=o.indexOf("="),[s,a]=i==-1?[t.decodeKey(o),""]:[t.decodeKey(o.slice(0,i)),t.decodeValue(o.slice(i+1))],c=r.get(s)||[];c.push(a),r.set(s,c)}),r}var qE=/%(\d[a-f0-9])/gi,WE={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Xh(e){return encodeURIComponent(e).replace(qE,(t,r)=>WE[r]??t)}function bi(e){return`${e}`}var yt=class e{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new Sc,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=GE(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(r=>{let n=t.fromObject[r],o=Array.isArray(n)?n.map(bi):[bi(n)];this.map.set(r,o)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();let r=this.map.get(t);return r?r[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,r){return this.clone({param:t,value:r,op:"a"})}appendAll(t){let r=[];return Object.keys(t).forEach(n=>{let o=t[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(t,r){return this.clone({param:t,value:r,op:"s"})}delete(t,r){return this.clone({param:t,value:r,op:"d"})}toString(){return this.init(),this.keys().map(t=>{let r=this.encoder.encodeKey(t);return this.map.get(t).map(n=>r+"="+this.encoder.encodeValue(n)).join("&")}).filter(t=>t!=="").join("&")}clone(t){let r=new e({encoder:this.encoder});return r.cloneFrom=this.cloneFrom||this,r.updates=(this.updates||[]).concat(t),r}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":let r=(t.op==="a"?this.map.get(t.param):void 0)||[];r.push(bi(t.value)),this.map.set(t.param,r);break;case"d":if(t.value!==void 0){let n=this.map.get(t.param)||[],o=n.indexOf(bi(t.value));o!==-1&&n.splice(o,1),n.length>0?this.map.set(t.param,n):this.map.delete(t.param)}else{this.map.delete(t.param);break}}}),this.cloneFrom=this.updates=null)}};var xc=class{constructor(){this.map=new Map}set(t,r){return this.map.set(t,r),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}};function ZE(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function ep(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function tp(e){return typeof Blob<"u"&&e instanceof Blob}function np(e){return typeof FormData<"u"&&e instanceof FormData}function YE(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var gr=class e{constructor(t,r,n,o){this.url=r,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase();let i;if(ZE(this.method)||o?(this.body=n!==void 0?n:null,i=o):i=n,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),this.transferCache=i.transferCache),this.headers||(this.headers=new He),this.context||(this.context=new xc),!this.params)this.params=new yt,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:ep(this.body)||tp(this.body)||np(this.body)||YE(this.body)||typeof this.body=="string"?this.body:this.body instanceof yt?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||np(this.body)?null:tp(this.body)?this.body.type||null:ep(this.body)?null:typeof this.body=="string"?"text/plain":this.body instanceof yt?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?"application/json":null}clone(t={}){let r=t.method||this.method,n=t.url||this.url,o=t.responseType||this.responseType,i=t.body!==void 0?t.body:this.body,s=t.withCredentials!==void 0?t.withCredentials:this.withCredentials,a=t.reportProgress!==void 0?t.reportProgress:this.reportProgress,c=t.headers||this.headers,u=t.params||this.params,l=t.context??this.context;return t.setHeaders!==void 0&&(c=Object.keys(t.setHeaders).reduce((d,f)=>d.set(f,t.setHeaders[f]),c)),t.setParams&&(u=Object.keys(t.setParams).reduce((d,f)=>d.set(f,t.setParams[f]),u)),new e(r,n,i,{params:u,headers:c,context:l,reportProgress:a,responseType:o,withCredentials:s})}},Dt=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}(Dt||{}),yr=class{constructor(t,r=Dr.Ok,n="OK"){this.headers=t.headers||new He,this.status=t.status!==void 0?t.status:r,this.statusText=t.statusText||n,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}},Ti=class e extends yr{constructor(t={}){super(t),this.type=Dt.ResponseHeader}clone(t={}){return new e({headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}},qt=class e extends yr{constructor(t={}){super(t),this.type=Dt.Response,this.body=t.body!==void 0?t.body:null}clone(t={}){return new e({body:t.body!==void 0?t.body:this.body,headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}},vt=class extends yr{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${t.url||"(unknown url)"}`:this.message=`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}},Dr=function(e){return e[e.Continue=100]="Continue",e[e.SwitchingProtocols=101]="SwitchingProtocols",e[e.Processing=102]="Processing",e[e.EarlyHints=103]="EarlyHints",e[e.Ok=200]="Ok",e[e.Created=201]="Created",e[e.Accepted=202]="Accepted",e[e.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",e[e.NoContent=204]="NoContent",e[e.ResetContent=205]="ResetContent",e[e.PartialContent=206]="PartialContent",e[e.MultiStatus=207]="MultiStatus",e[e.AlreadyReported=208]="AlreadyReported",e[e.ImUsed=226]="ImUsed",e[e.MultipleChoices=300]="MultipleChoices",e[e.MovedPermanently=301]="MovedPermanently",e[e.Found=302]="Found",e[e.SeeOther=303]="SeeOther",e[e.NotModified=304]="NotModified",e[e.UseProxy=305]="UseProxy",e[e.Unused=306]="Unused",e[e.TemporaryRedirect=307]="TemporaryRedirect",e[e.PermanentRedirect=308]="PermanentRedirect",e[e.BadRequest=400]="BadRequest",e[e.Unauthorized=401]="Unauthorized",e[e.PaymentRequired=402]="PaymentRequired",e[e.Forbidden=403]="Forbidden",e[e.NotFound=404]="NotFound",e[e.MethodNotAllowed=405]="MethodNotAllowed",e[e.NotAcceptable=406]="NotAcceptable",e[e.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",e[e.RequestTimeout=408]="RequestTimeout",e[e.Conflict=409]="Conflict",e[e.Gone=410]="Gone",e[e.LengthRequired=411]="LengthRequired",e[e.PreconditionFailed=412]="PreconditionFailed",e[e.PayloadTooLarge=413]="PayloadTooLarge",e[e.UriTooLong=414]="UriTooLong",e[e.UnsupportedMediaType=415]="UnsupportedMediaType",e[e.RangeNotSatisfiable=416]="RangeNotSatisfiable",e[e.ExpectationFailed=417]="ExpectationFailed",e[e.ImATeapot=418]="ImATeapot",e[e.MisdirectedRequest=421]="MisdirectedRequest",e[e.UnprocessableEntity=422]="UnprocessableEntity",e[e.Locked=423]="Locked",e[e.FailedDependency=424]="FailedDependency",e[e.TooEarly=425]="TooEarly",e[e.UpgradeRequired=426]="UpgradeRequired",e[e.PreconditionRequired=428]="PreconditionRequired",e[e.TooManyRequests=429]="TooManyRequests",e[e.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",e[e.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",e[e.InternalServerError=500]="InternalServerError",e[e.NotImplemented=501]="NotImplemented",e[e.BadGateway=502]="BadGateway",e[e.ServiceUnavailable=503]="ServiceUnavailable",e[e.GatewayTimeout=504]="GatewayTimeout",e[e.HttpVersionNotSupported=505]="HttpVersionNotSupported",e[e.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",e[e.InsufficientStorage=507]="InsufficientStorage",e[e.LoopDetected=508]="LoopDetected",e[e.NotExtended=510]="NotExtended",e[e.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",e}(Dr||{});function Mc(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,transferCache:e.transferCache}}var QE=(()=>{let t=class t{constructor(n){this.handler=n}request(n,o,i={}){let s;if(n instanceof gr)s=n;else{let u;i.headers instanceof He?u=i.headers:u=new He(i.headers);let l;i.params&&(i.params instanceof yt?l=i.params:l=new yt({fromObject:i.params})),s=new gr(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(st(u=>this.handler.handle(u)));if(n instanceof gr||i.observe==="events")return a;let c=a.pipe(me(u=>u instanceof qt));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 yt().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,Mc(i,o))}post(n,o,i={}){return this.request("POST",n,Mc(i,o))}put(n,o,i={}){return this.request("PUT",n,Mc(i,o))}};t.\u0275fac=function(o){return new(o||t)(I(mr))},t.\u0275prov=w({token:t,factory:t.\u0275fac});let e=t;return e})(),KE=/^\)\]\}',?\n/,JE="X-Request-URL";function rp(e){if(e.url)return e.url;let t=JE.toLocaleLowerCase();return e.headers.get(t)}var Tc=(()=>{let t=class t{constructor(){this.fetchImpl=p(Ac,{optional:!0})?.fetch??fetch.bind(globalThis),this.ngZone=p(V)}handle(n){return new x(o=>{let i=new AbortController;return this.doRequest(n,i.signal,o).then(_c,s=>o.error(new vt({error:s}))),()=>i.abort()})}doRequest(n,o,i){return qi(this,null,function*(){let s=this.createRequestInit(n),a;try{let g=this.fetchImpl(n.urlWithParams,v({signal:o},s));XE(g),i.next({type:Dt.Sent}),a=yield g}catch(g){i.error(new vt({error:g,status:g.status??0,statusText:g.statusText,url:n.urlWithParams,headers:g.headers}));return}let c=new He(a.headers),u=a.statusText,l=rp(a)??n.urlWithParams,d=a.status,f=null;if(n.reportProgress&&i.next(new Ti({headers:c,status:d,statusText:u,url:l})),a.body){let g=a.headers.get("content-length"),b=[],y=a.body.getReader(),m=0,U,ee,L=typeof Zone<"u"&&Zone.current;yield this.ngZone.runOutsideAngular(()=>qi(this,null,function*(){for(;;){let{done:Q,value:qe}=yield y.read();if(Q)break;if(b.push(qe),m+=qe.length,n.reportProgress){ee=n.responseType==="text"?(ee??"")+(U??=new TextDecoder).decode(qe,{stream:!0}):void 0;let $r=()=>i.next({type:Dt.DownloadProgress,total:g?+g:void 0,loaded:m,partialText:ee});L?L.run($r):$r()}}}));let te=this.concatChunks(b,m);try{let Q=a.headers.get("Content-Type")??"";f=this.parseBody(n,te,Q)}catch(Q){i.error(new vt({error:Q,headers:new He(a.headers),status:a.status,statusText:a.statusText,url:rp(a)??n.urlWithParams}));return}}d===0&&(d=f?Dr.Ok:0),d>=200&&d<300?(i.next(new qt({body:f,headers:c,status:d,statusText:u,url:l})),i.complete()):i.error(new vt({error:f,headers:c,status:d,statusText:u,url:l}))})}parseBody(n,o,i){switch(n.responseType){case"json":let s=new TextDecoder().decode(o).replace(KE,"");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(",")),o.Accept??="application/json, text/plain, */*",!o["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}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=w({token:t,factory:t.\u0275fac});let e=t;return e})(),Ac=class{};function _c(){}function XE(e){e.then(_c,_c)}function hp(e,t){return t(e)}function eI(e,t){return(r,n)=>t.intercept(r,{handle:o=>e(o,n)})}function tI(e,t,r){return(n,o)=>et(r,()=>t(n,i=>e(i,o)))}var nI=new C(""),Nc=new C(""),pp=new C(""),gp=new C("");function rI(){let e=null;return(t,r)=>{e===null&&(e=(p(nI,{optional:!0})??[]).reduceRight(eI,hp));let n=p(Ht),o=n.add();return e(t,r).pipe(ct(()=>n.remove(o)))}}var op=(()=>{let t=class t extends mr{constructor(n,o){super(),this.backend=n,this.injector=o,this.chain=null,this.pendingTasks=p(Ht);let i=p(gp,{optional:!0});this.backend=i??n}handle(n){if(this.chain===null){let i=Array.from(new Set([...this.injector.get(Nc),...this.injector.get(pp,[])]));this.chain=i.reduceRight((s,a)=>tI(s,a,this.injector),hp)}let o=this.pendingTasks.add();return this.chain(n,i=>this.backend.handle(i)).pipe(ct(()=>this.pendingTasks.remove(o)))}};t.\u0275fac=function(o){return new(o||t)(I(vr),I(he))},t.\u0275prov=w({token:t,factory:t.\u0275fac});let e=t;return e})();var oI=/^\)\]\}',?\n/;function iI(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}var ip=(()=>{let t=class t{constructor(n){this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new E(-2800,!1);let o=this.xhrFactory;return(o.\u0275loadImpl?B(o.\u0275loadImpl()):M(null)).pipe(ve(()=>new x(s=>{let a=o.build();if(a.open(n.method,n.urlWithParams),n.withCredentials&&(a.withCredentials=!0),n.headers.forEach((y,m)=>a.setRequestHeader(y,m.join(","))),n.headers.has("Accept")||a.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){let y=n.detectContentTypeHeader();y!==null&&a.setRequestHeader("Content-Type",y)}if(n.responseType){let y=n.responseType.toLowerCase();a.responseType=y!=="json"?y:"text"}let c=n.serializeBody(),u=null,l=()=>{if(u!==null)return u;let y=a.statusText||"OK",m=new He(a.getAllResponseHeaders()),U=iI(a)||n.url;return u=new Ti({headers:m,status:a.status,statusText:y,url:U}),u},d=()=>{let{headers:y,status:m,statusText:U,url:ee}=l(),L=null;m!==Dr.NoContent&&(L=typeof a.response>"u"?a.responseText:a.response),m===0&&(m=L?Dr.Ok:0);let te=m>=200&&m<300;if(n.responseType==="json"&&typeof L=="string"){let Q=L;L=L.replace(oI,"");try{L=L!==""?JSON.parse(L):null}catch(qe){L=Q,te&&(te=!1,L={error:qe,text:L})}}te?(s.next(new qt({body:L,headers:y,status:m,statusText:U,url:ee||void 0})),s.complete()):s.error(new vt({error:L,headers:y,status:m,statusText:U,url:ee||void 0}))},f=y=>{let{url:m}=l(),U=new vt({error:y,status:a.status||0,statusText:a.statusText||"Unknown Error",url:m||void 0});s.error(U)},h=!1,g=y=>{h||(s.next(l()),h=!0);let m={type:Dt.DownloadProgress,loaded:y.loaded};y.lengthComputable&&(m.total=y.total),n.responseType==="text"&&a.responseText&&(m.partialText=a.responseText),s.next(m)},b=y=>{let m={type:Dt.UploadProgress,loaded:y.loaded};y.lengthComputable&&(m.total=y.total),s.next(m)};return a.addEventListener("load",d),a.addEventListener("error",f),a.addEventListener("timeout",f),a.addEventListener("abort",f),n.reportProgress&&(a.addEventListener("progress",g),c!==null&&a.upload&&a.upload.addEventListener("progress",b)),a.send(c),s.next({type:Dt.Sent}),()=>{a.removeEventListener("error",f),a.removeEventListener("abort",f),a.removeEventListener("load",d),a.removeEventListener("timeout",f),n.reportProgress&&(a.removeEventListener("progress",g),c!==null&&a.upload&&a.upload.removeEventListener("progress",b)),a.readyState!==a.DONE&&a.abort()}})))}};t.\u0275fac=function(o){return new(o||t)(I(Sn))},t.\u0275prov=w({token:t,factory:t.\u0275fac});let e=t;return e})(),mp=new C("XSRF_ENABLED"),sI="XSRF-TOKEN",aI=new C("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>sI}),cI="X-XSRF-TOKEN",uI=new C("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>cI}),Si=class{},lI=(()=>{let t=class t{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=Ci(n,this.cookieName),this.lastCookieString=n),this.lastToken}};t.\u0275fac=function(o){return new(o||t)(I(ce),I(Be),I(aI))},t.\u0275prov=w({token:t,factory:t.\u0275fac});let e=t;return e})();function dI(e,t){let r=e.url.toLowerCase();if(!p(mp)||e.method==="GET"||e.method==="HEAD"||r.startsWith("http://")||r.startsWith("https://"))return t(e);let n=p(Si).getToken(),o=p(uI);return n!=null&&!e.headers.has(o)&&(e=e.clone({headers:e.headers.set(o,n)})),t(e)}var Rc=function(e){return e[e.Interceptors=0]="Interceptors",e[e.LegacyInterceptors=1]="LegacyInterceptors",e[e.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",e[e.NoXsrfProtection=3]="NoXsrfProtection",e[e.JsonpSupport=4]="JsonpSupport",e[e.RequestsMadeViaParent=5]="RequestsMadeViaParent",e[e.Fetch=6]="Fetch",e}(Rc||{});function vp(e,t){return{\u0275kind:e,\u0275providers:t}}function QN(...e){let t=[QE,ip,op,{provide:mr,useExisting:op},{provide:vr,useExisting:ip},{provide:Nc,useValue:dI,multi:!0},{provide:mp,useValue:!0},{provide:Si,useClass:lI}];for(let r of e)t.push(...r.\u0275providers);return pt(t)}var sp=new C("LEGACY_INTERCEPTOR_FN");function KN(){return vp(Rc.LegacyInterceptors,[{provide:sp,useFactory:rI},{provide:Nc,useExisting:sp,multi:!0}])}function JN(){return vp(Rc.Fetch,[Tc,{provide:vr,useExisting:Tc},{provide:gp,useExisting:Tc}])}var ap="b",cp="h",up="s",lp="st",dp="u",fp="rt",Mi=new C(""),fI=["GET","HEAD"];function hI(e,t){let l=p(Mi),{isCacheActive:r}=l,n=Ou(l,["isCacheActive"]),{transferCache:o,method:i}=e;if(!r||i==="POST"&&!n.includePostRequests&&!o||i!=="POST"&&!fI.includes(i)||o===!1||n.filter?.(e)===!1)return t(e);let s=p(Ut),a=gI(e),c=s.get(a,null),u=n.includeHeaders;if(typeof o=="object"&&o.includeHeaders&&(u=o.includeHeaders),c){let{[ap]:d,[fp]:f,[cp]:h,[up]:g,[lp]:b,[dp]:y}=c,m=d;switch(f){case"arraybuffer":m=new TextEncoder().encode(d).buffer;break;case"blob":m=new Blob([d]);break}let U=new He(h);return M(new qt({body:m,headers:U,status:g,statusText:b,url:y}))}return t(e).pipe(W(d=>{d instanceof qt&&s.set(a,{[ap]:d.body,[cp]:pI(d.headers,u),[up]:d.status,[lp]:d.statusText,[dp]:d.url||"",[fp]:e.responseType})}))}function pI(e,t){if(!t)return{};let r={};for(let n of t){let o=e.getAll(n);o!==null&&(r[n]=o)}return r}function gI(e){let{params:t,method:r,responseType:n,url:o}=e,i=t.keys().sort().map(c=>`${c}=${t.getAll(c)}`).join("&"),s=r+"."+n+"."+o+"?"+i,a=mI(s);return a}function mI(e){let t=0;for(let r of e)t=Math.imul(31,t)+r.charCodeAt(0)<<0;return t+=2147483648,t.toString()}function yp(e){return[{provide:Mi,useFactory:()=>(bn("NgHttpTransferCache"),v({isCacheActive:!0},e))},{provide:pp,useValue:hI,multi:!0,deps:[Ut,Mi]},{provide:Tn,multi:!0,useFactory:()=>{let t=p(nt),r=p(Mi);return()=>{yc(t).then(()=>{r.isCacheActive=!1})}}}]}var Fc=class extends Ii{constructor(){super(...arguments),this.supportsDOMEvents=!0}},kc=class e extends Fc{static makeCurrent(){Wh(new e)}onAndCancel(t,r,n){return t.addEventListener(r,n),()=>{t.removeEventListener(r,n)}}dispatchEvent(t,r){t.dispatchEvent(r)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,r){return r=r||this.getDefaultDocument(),r.createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,r){return r==="window"?window:r==="document"?t:r==="body"?t.body:null}getBaseHref(t){let r=yI();return r==null?null:DI(r)}resetBaseElement(){wr=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return Ci(document.cookie,t)}},wr=null;function yI(){return wr=wr||document.querySelector("base"),wr?wr.getAttribute("href"):null}function DI(e){return new URL(e,document.baseURI).pathname}var Lc=class{addToWindow(t){de.getAngularTestability=(n,o=!0)=>{let i=t.findTestabilityInTree(n,o);if(i==null)throw new E(5103,!1);return i},de.getAllAngularTestabilities=()=>t.getAllTestabilities(),de.getAllAngularRootElements=()=>t.getAllRootElements();let r=n=>{let o=de.getAllAngularTestabilities(),i=o.length,s=function(){i--,i==0&&n()};o.forEach(a=>{a.whenStable(s)})};de.frameworkStabilizers||(de.frameworkStabilizers=[]),de.frameworkStabilizers.push(r)}findTestabilityInTree(t,r,n){if(r==null)return null;let o=t.getTestability(r);return o??(n?Gt().isShadowRoot(r)?this.findTestabilityInTree(t,r.host,!0):this.findTestabilityInTree(t,r.parentElement,!0):null)}},wI=(()=>{let t=class t{build(){return new XMLHttpRequest}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=w({token:t,factory:t.\u0275fac});let e=t;return e})(),jc=new C("EventManagerPlugins"),Ip=(()=>{let t=class t{constructor(n,o){this._zone=o,this._eventNameToPlugin=new Map,n.forEach(i=>{i.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,o,i){return this._findPluginFor(o).addEventListener(n,o,i)}getZone(){return this._zone}_findPluginFor(n){let o=this._eventNameToPlugin.get(n);if(o)return o;if(o=this._plugins.find(s=>s.supports(n)),!o)throw new E(5101,!1);return this._eventNameToPlugin.set(n,o),o}};t.\u0275fac=function(o){return new(o||t)(I(jc),I(V))},t.\u0275prov=w({token:t,factory:t.\u0275fac});let e=t;return e})(),xi=class{constructor(t){this._doc=t}},Oc="ng-app-id",Cp=(()=>{let t=class t{constructor(n,o,i,s={}){this.doc=n,this.appId=o,this.nonce=i,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=bc(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[${Oc}="${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(Oc),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=o,this.platformIsServer&&a.setAttribute(Oc,this.appId),n.appendChild(a),a}}addStyleToHost(n,o){let i=this.getStyleElement(n,o),s=this.styleRef,a=s.get(o)?.elements;a?a.push(i):s.set(o,{elements:[i],usage:1})}resetHostNodes(){let n=this.hostNodes;n.clear(),n.add(this.doc.head)}};t.\u0275fac=function(o){return new(o||t)(I(ce),I(ar),I(Ga,8),I(Be))},t.\u0275prov=w({token:t,factory:t.\u0275fac});let e=t;return e})(),Pc={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},Uc=/%COMP%/g,bp="%COMP%",EI=`_nghost-${bp}`,II=`_ngcontent-${bp}`,CI=!0,bI=new C("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>CI});function MI(e){return II.replace(Uc,e)}function TI(e){return EI.replace(Uc,e)}function Mp(e,t){return t.map(r=>r.replace(Uc,e))}var Dp=(()=>{let t=class t{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=bc(c),this.defaultRenderer=new Er(n,a,u,this.platformIsServer)}createRenderer(n,o){if(!n||!o)return this.defaultRenderer;this.platformIsServer&&o.encapsulation===$e.ShadowDom&&(o=q(v({},o),{encapsulation:$e.Emulated}));let i=this.getOrCreateRenderer(n,o);return i instanceof Ai?i.applyToHost(n):i instanceof Ir&&i.applyStyles(),i}getOrCreateRenderer(n,o){let i=this.rendererByCompId,s=i.get(o.id);if(!s){let a=this.doc,c=this.ngZone,u=this.eventManager,l=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,f=this.platformIsServer;switch(o.encapsulation){case $e.Emulated:s=new Ai(u,l,o,this.appId,d,a,c,f);break;case $e.ShadowDom:return new Vc(u,l,n,o,a,c,this.nonce,f);default:s=new Ir(u,l,o,d,a,c,f);break}i.set(o.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};t.\u0275fac=function(o){return new(o||t)(I(Ip),I(Cp),I(ar),I(bI),I(ce),I(Be),I(V),I(Ga))},t.\u0275prov=w({token:t,factory:t.\u0275fac});let e=t;return e})(),Er=class{constructor(t,r,n,o){this.eventManager=t,this.doc=r,this.ngZone=n,this.platformIsServer=o,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(t,r){return r?this.doc.createElementNS(Pc[r]||r,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,r){(wp(t)?t.content:t).appendChild(r)}insertBefore(t,r,n){t&&(wp(t)?t.content:t).insertBefore(r,n)}removeChild(t,r){t&&t.removeChild(r)}selectRootElement(t,r){let n=typeof t=="string"?this.doc.querySelector(t):t;if(!n)throw new E(-5104,!1);return r||(n.textContent=""),n}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,r,n,o){if(o){r=o+":"+r;let i=Pc[o];i?t.setAttributeNS(i,r,n):t.setAttribute(r,n)}else t.setAttribute(r,n)}removeAttribute(t,r,n){if(n){let o=Pc[n];o?t.removeAttributeNS(o,r):t.removeAttribute(`${n}:${r}`)}else t.removeAttribute(r)}addClass(t,r){t.classList.add(r)}removeClass(t,r){t.classList.remove(r)}setStyle(t,r,n,o){o&(Je.DashCase|Je.Important)?t.style.setProperty(r,n,o&Je.Important?"important":""):t.style[r]=n}removeStyle(t,r,n){n&Je.DashCase?t.style.removeProperty(r):t.style[r]=""}setProperty(t,r,n){t!=null&&(t[r]=n)}setValue(t,r){t.nodeValue=r}listen(t,r,n){if(typeof t=="string"&&(t=Gt().getGlobalEventTarget(this.doc,t),!t))throw new Error(`Unsupported event target ${t} for event ${r}`);return this.eventManager.addEventListener(t,r,this.decoratePreventDefault(n))}decoratePreventDefault(t){return r=>{if(r==="__ngUnwrap__")return t;(this.platformIsServer?this.ngZone.runGuarded(()=>t(r)):t(r))===!1&&r.preventDefault()}}};function wp(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var Vc=class extends Er{constructor(t,r,n,o,i,s,a,c){super(t,i,s,c),this.sharedStylesHost=r,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let u=Mp(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(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,r){return super.appendChild(this.nodeOrShadowRoot(t),r)}insertBefore(t,r,n){return super.insertBefore(this.nodeOrShadowRoot(t),r,n)}removeChild(t,r){return super.removeChild(this.nodeOrShadowRoot(t),r)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Ir=class extends Er{constructor(t,r,n,o,i,s,a,c){super(t,i,s,a),this.sharedStylesHost=r,this.removeStylesOnCompDestroy=o,this.styles=c?Mp(c,n.styles):n.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},Ai=class extends Ir{constructor(t,r,n,o,i,s,a,c){let u=o+"-"+n.id;super(t,r,n,i,s,a,c,u),this.contentAttr=MI(u),this.hostAttr=TI(u)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,r){let n=super.createElement(t,r);return super.setAttribute(n,this.contentAttr,""),n}},SI=(()=>{let t=class t extends xi{constructor(n){super(n)}supports(n){return!0}addEventListener(n,o,i){return n.addEventListener(o,i,!1),()=>this.removeEventListener(n,o,i)}removeEventListener(n,o,i){return n.removeEventListener(o,i)}};t.\u0275fac=function(o){return new(o||t)(I(ce))},t.\u0275prov=w({token:t,factory:t.\u0275fac});let e=t;return e})(),Ep=["alt","control","meta","shift"],xI={"\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"},AI={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},_I=(()=>{let t=class t extends xi{constructor(n){super(n)}supports(n){return t.parseEventName(n)!=null}addEventListener(n,o,i){let s=t.parseEventName(o),a=t.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Gt().onAndCancel(n,s.domEventName,a))}static parseEventName(n){let o=n.toLowerCase().split("."),i=o.shift();if(o.length===0||!(i==="keydown"||i==="keyup"))return null;let s=t._normalizeKey(o.pop()),a="",c=o.indexOf("code");if(c>-1&&(o.splice(c,1),a="code."),Ep.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=xI[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"),Ep.forEach(a=>{if(a!==i){let c=AI[a];c(n)&&(s+=a+".")}}),s+=i,s===o)}static eventCallback(n,o,i){return s=>{t.matchEventFullKeyCode(s,n)&&i.runGuarded(()=>o(s))}}static _normalizeKey(n){return n==="esc"?"escape":n}};t.\u0275fac=function(o){return new(o||t)(I(ce))},t.\u0275prov=w({token:t,factory:t.\u0275fac});let e=t;return e})();function yR(e,t){return $h(v({rootComponent:e},NI(t)))}function NI(e){return{appProviders:[...Tp,...e?.providers??[]],platformProviders:FI}}function RI(){kc.makeCurrent()}function OI(){return new Xe}function PI(){return ff(document),document}var FI=[{provide:Be,useValue:Cc},{provide:za,useValue:RI,multi:!0},{provide:ce,useFactory:PI,deps:[]}];var kI=new C(""),LI=[{provide:fr,useClass:Lc,deps:[]},{provide:mc,useClass:Di,deps:[V,wi,fr]},{provide:Di,useClass:Di,deps:[V,wi,fr]}],Tp=[{provide:ii,useValue:"root"},{provide:Xe,useFactory:OI,deps:[]},{provide:jc,useClass:SI,multi:!0,deps:[ce,V,Be]},{provide:jc,useClass:_I,multi:!0,deps:[ce]},Dp,Cp,Ip,{provide:Jn,useExisting:Dp},{provide:Sn,useClass:wI,deps:[]},[]],DR=(()=>{let t=class t{constructor(n){}static withServerTransition(n){return{ngModule:t,providers:[{provide:ar,useValue:n.appId}]}}};t.\u0275fac=function(o){return new(o||t)(I(kI,12))},t.\u0275mod=Vt({type:t}),t.\u0275inj=jt({providers:[...Tp,...LI],imports:[Kh,Vh]});let e=t;return e})();function jI(){return new Bc(I(ce))}var Bc=(()=>{let t=class t{constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}};t.\u0275fac=function(o){return new(o||t)(I(ce))},t.\u0275prov=w({token:t,factory:function(o){let i=null;return o?i=new o:i=jI(),i},providedIn:"root"});let e=t;return e})();var $c=function(e){return e[e.NoHttpTransferCache=0]="NoHttpTransferCache",e[e.HttpTransferCacheOptions=1]="HttpTransferCacheOptions",e}($c||{});function wR(...e){let t=[],r=new Set,n=r.has($c.HttpTransferCacheOptions);for(let{\u0275providers:o,\u0275kind:i}of e)r.add(i),o.length&&t.push(o);return pt([[],Uh(),r.has($c.NoHttpTransferCache)||n?[]:yp({}),t])}var _="primary",Lr=Symbol("RouteTitle"),Wc=class{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){let r=this.params[t];return Array.isArray(r)?r[0]:r}return null}getAll(t){if(this.has(t)){let r=this.params[t];return Array.isArray(r)?r:[r]}return[]}get keys(){return Object.keys(this.params)}};function On(e){return new Wc(e)}function $I(e,t,r){let n=r.path.split("/");if(n.length>e.length||r.pathMatch==="full"&&(t.hasChildren()||n.length<e.length))return null;let o={};for(let i=0;i<n.length;i++){let s=n[i],a=e[i];if(s.startsWith(":"))o[s.substring(1)]=a;else if(s!==a.path)return null}return{consumed:e.slice(0,n.length),posParams:o}}function UI(e,t){if(e.length!==t.length)return!1;for(let r=0;r<e.length;++r)if(!ze(e[r],t[r]))return!1;return!0}function ze(e,t){let r=e?Zc(e):void 0,n=t?Zc(t):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],!Rp(e[o],t[o]))return!1;return!0}function Zc(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}function Rp(e,t){if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;let r=[...e].sort(),n=[...t].sort();return r.every((o,i)=>n[i]===o)}else return e===t}function Op(e){return e.length>0?e[e.length-1]:null}function Ct(e){return us(e)?e:dr(e)?B(Promise.resolve(e)):M(e)}var BI={exact:Fp,subset:kp},Pp={exact:HI,subset:zI,ignored:()=>!0};function Sp(e,t,r){return BI[r.paths](e.root,t.root,r.matrixParams)&&Pp[r.queryParams](e.queryParams,t.queryParams)&&!(r.fragment==="exact"&&e.fragment!==t.fragment)}function HI(e,t){return ze(e,t)}function Fp(e,t,r){if(!Zt(e.segments,t.segments)||!Ri(e.segments,t.segments,r)||e.numberOfChildren!==t.numberOfChildren)return!1;for(let n in t.children)if(!e.children[n]||!Fp(e.children[n],t.children[n],r))return!1;return!0}function zI(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(r=>Rp(e[r],t[r]))}function kp(e,t,r){return Lp(e,t,t.segments,r)}function Lp(e,t,r,n){if(e.segments.length>r.length){let o=e.segments.slice(0,r.length);return!(!Zt(o,r)||t.hasChildren()||!Ri(o,r,n))}else if(e.segments.length===r.length){if(!Zt(e.segments,r)||!Ri(e.segments,r,n))return!1;for(let o in t.children)if(!e.children[o]||!kp(e.children[o],t.children[o],n))return!1;return!0}else{let o=r.slice(0,e.segments.length),i=r.slice(e.segments.length);return!Zt(e.segments,o)||!Ri(e.segments,o,n)||!e.children[_]?!1:Lp(e.children[_],t,i,n)}}function Ri(e,t,r){return t.every((n,o)=>Pp[r](e[o].parameters,n.parameters))}var wt=class{constructor(t=new k([],{}),r={},n=null){this.root=t,this.queryParams=r,this.fragment=n}get queryParamMap(){return this._queryParamMap??=On(this.queryParams),this._queryParamMap}toString(){return WI.serialize(this)}},k=class{constructor(t,r){this.segments=t,this.children=r,this.parent=null,Object.values(r).forEach(n=>n.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Oi(this)}},Wt=class{constructor(t,r){this.path=t,this.parameters=r}get parameterMap(){return this._parameterMap??=On(this.parameters),this._parameterMap}toString(){return Vp(this)}};function GI(e,t){return Zt(e,t)&&e.every((r,n)=>ze(r.parameters,t[n].parameters))}function Zt(e,t){return e.length!==t.length?!1:e.every((r,n)=>r.path===t[n].path)}function qI(e,t){let r=[];return Object.entries(e.children).forEach(([n,o])=>{n===_&&(r=r.concat(t(o,n)))}),Object.entries(e.children).forEach(([n,o])=>{n!==_&&(r=r.concat(t(o,n)))}),r}var wu=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=w({token:t,factory:()=>new Fi,providedIn:"root"});let e=t;return e})(),Fi=class{parse(t){let r=new Qc(t);return new wt(r.parseRootSegment(),r.parseQueryParams(),r.parseFragment())}serialize(t){let r=`/${Cr(t.root,!0)}`,n=QI(t.queryParams),o=typeof t.fragment=="string"?`#${ZI(t.fragment)}`:"";return`${r}${n}${o}`}},WI=new Fi;function Oi(e){return e.segments.map(t=>Vp(t)).join("/")}function Cr(e,t){if(!e.hasChildren())return Oi(e);if(t){let r=e.children[_]?Cr(e.children[_],!1):"",n=[];return Object.entries(e.children).forEach(([o,i])=>{o!==_&&n.push(`${o}:${Cr(i,!1)}`)}),n.length>0?`${r}(${n.join("//")})`:r}else{let r=qI(e,(n,o)=>o===_?[Cr(e.children[_],!1)]:[`${o}:${Cr(n,!1)}`]);return Object.keys(e.children).length===1&&e.children[_]!=null?`${Oi(e)}/${r[0]}`:`${Oi(e)}/(${r.join("//")})`}}function jp(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function _i(e){return jp(e).replace(/%3B/gi,";")}function ZI(e){return encodeURI(e)}function Yc(e){return jp(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Pi(e){return decodeURIComponent(e)}function xp(e){return Pi(e.replace(/\+/g,"%20"))}function Vp(e){return`${Yc(e.path)}${YI(e.parameters)}`}function YI(e){return Object.entries(e).map(([t,r])=>`;${Yc(t)}=${Yc(r)}`).join("")}function QI(e){let t=Object.entries(e).map(([r,n])=>Array.isArray(n)?n.map(o=>`${_i(r)}=${_i(o)}`).join("&"):`${_i(r)}=${_i(n)}`).filter(r=>r);return t.length?`?${t.join("&")}`:""}var KI=/^[^\/()?;#]+/;function Hc(e){let t=e.match(KI);return t?t[0]:""}var JI=/^[^\/()?;=#]+/;function XI(e){let t=e.match(JI);return t?t[0]:""}var eC=/^[^=?&#]+/;function tC(e){let t=e.match(eC);return t?t[0]:""}var nC=/^[^&#]+/;function rC(e){let t=e.match(nC);return t?t[0]:""}var Qc=class{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new k([],{}):new k([],this.parseChildren())}parseQueryParams(){let t={};if(this.consumeOptional("?"))do this.parseQueryParam(t);while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let r={};this.peekStartsWith("/(")&&(this.capture("/"),r=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(r).length>0)&&(n[_]=new k(t,r)),n}parseSegment(){let t=Hc(this.remaining);if(t===""&&this.peekStartsWith(";"))throw new E(4009,!1);return this.capture(t),new Wt(Pi(t),this.parseMatrixParams())}parseMatrixParams(){let t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){let r=XI(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let o=Hc(this.remaining);o&&(n=o,this.capture(n))}t[Pi(r)]=Pi(n)}parseQueryParam(t){let r=tC(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let s=rC(this.remaining);s&&(n=s,this.capture(n))}let o=xp(r),i=xp(n);if(t.hasOwnProperty(o)){let s=t[o];Array.isArray(s)||(s=[s],t[o]=s),s.push(i)}else t[o]=i}parseParens(t){let r={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let n=Hc(this.remaining),o=this.remaining[n.length];if(o!=="/"&&o!==")"&&o!==";")throw new E(4010,!1);let i;n.indexOf(":")>-1?(i=n.slice(0,n.indexOf(":")),this.capture(i),this.capture(":")):t&&(i=_);let s=this.parseChildren();r[i]=Object.keys(s).length===1?s[_]:new k([],s),this.consumeOptional("//")}return r}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return this.peekStartsWith(t)?(this.remaining=this.remaining.substring(t.length),!0):!1}capture(t){if(!this.consumeOptional(t))throw new E(4011,!1)}};function $p(e){return e.segments.length>0?new k([],{[_]:e}):e}function Up(e){let t={};for(let[n,o]of Object.entries(e.children)){let i=Up(o);if(n===_&&i.segments.length===0&&i.hasChildren())for(let[s,a]of Object.entries(i.children))t[s]=a;else(i.segments.length>0||i.hasChildren())&&(t[n]=i)}let r=new k(e.segments,t);return oC(r)}function oC(e){if(e.numberOfChildren===1&&e.children[_]){let t=e.children[_];return new k(e.segments.concat(t.segments),t.children)}return e}function Pn(e){return e instanceof wt}function iC(e,t,r=null,n=null){let o=Bp(e);return Hp(o,t,r,n)}function Bp(e){let t;function r(i){let s={};for(let c of i.children){let u=r(c);s[c.outlet]=u}let a=new k(i.url,s);return i===e&&(t=a),a}let n=r(e.root),o=$p(n);return t??o}function Hp(e,t,r,n){let o=e;for(;o.parent;)o=o.parent;if(t.length===0)return zc(o,o,o,r,n);let i=sC(t);if(i.toRoot())return zc(o,o,new k([],{}),r,n);let s=aC(i,o,e),a=s.processChildren?Tr(s.segmentGroup,s.index,i.commands):Gp(s.segmentGroup,s.index,i.commands);return zc(o,s.segmentGroup,a,r,n)}function ki(e){return typeof e=="object"&&e!=null&&!e.outlets&&!e.segmentPath}function Ar(e){return typeof e=="object"&&e!=null&&e.outlets}function zc(e,t,r,n,o){let i={};n&&Object.entries(n).forEach(([c,u])=>{i[c]=Array.isArray(u)?u.map(l=>`${l}`):`${u}`});let s;e===t?s=r:s=zp(e,t,r);let a=$p(Up(s));return new wt(a,i,o)}function zp(e,t,r){let n={};return Object.entries(e.children).forEach(([o,i])=>{i===t?n[o]=r:n[o]=zp(i,t,r)}),new k(e.segments,n)}var Li=class{constructor(t,r,n){if(this.isAbsolute=t,this.numberOfDoubleDots=r,this.commands=n,t&&n.length>0&&ki(n[0]))throw new E(4003,!1);let o=n.find(Ar);if(o&&o!==Op(n))throw new E(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function sC(e){if(typeof e[0]=="string"&&e.length===1&&e[0]==="/")return new Li(!0,0,e);let t=0,r=!1,n=e.reduce((o,i,s)=>{if(typeof i=="object"&&i!=null){if(i.outlets){let a={};return Object.entries(i.outlets).forEach(([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===".."?t++:a!=""&&o.push(a))}),o):[...o,i]},[]);return new Li(r,t,n)}var Nn=class{constructor(t,r,n){this.segmentGroup=t,this.processChildren=r,this.index=n}};function aC(e,t,r){if(e.isAbsolute)return new Nn(t,!0,0);if(!r)return new Nn(t,!1,NaN);if(r.parent===null)return new Nn(r,!0,0);let n=ki(e.commands[0])?0:1,o=r.segments.length-1+n;return cC(r,o,e.numberOfDoubleDots)}function cC(e,t,r){let n=e,o=t,i=r;for(;i>o;){if(i-=o,n=n.parent,!n)throw new E(4005,!1);o=n.segments.length}return new Nn(n,!1,o-i)}function uC(e){return Ar(e[0])?e[0].outlets:{[_]:e}}function Gp(e,t,r){if(e??=new k([],{}),e.segments.length===0&&e.hasChildren())return Tr(e,t,r);let n=lC(e,t,r),o=r.slice(n.commandIndex);if(n.match&&n.pathIndex<e.segments.length){let i=new k(e.segments.slice(0,n.pathIndex),{});return i.children[_]=new k(e.segments.slice(n.pathIndex),e.children),Tr(i,0,o)}else return n.match&&o.length===0?new k(e.segments,{}):n.match&&!e.hasChildren()?Kc(e,t,r):n.match?Tr(e,0,o):Kc(e,t,r)}function Tr(e,t,r){if(r.length===0)return new k(e.segments,{});{let n=uC(r),o={};if(Object.keys(n).some(i=>i!==_)&&e.children[_]&&e.numberOfChildren===1&&e.children[_].segments.length===0){let i=Tr(e.children[_],t,r);return new k(e.segments,i.children)}return Object.entries(n).forEach(([i,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(o[i]=Gp(e.children[i],t,s))}),Object.entries(e.children).forEach(([i,s])=>{n[i]===void 0&&(o[i]=s)}),new k(e.segments,o)}}function lC(e,t,r){let n=0,o=t,i={match:!1,pathIndex:0,commandIndex:0};for(;o<e.segments.length;){if(n>=r.length)return i;let s=e.segments[o],a=r[n];if(Ar(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(!_p(c,u,s))return i;n+=2}else{if(!_p(c,{},s))return i;n++}o++}return{match:!0,pathIndex:o,commandIndex:n}}function Kc(e,t,r){let n=e.segments.slice(0,t),o=0;for(;o<r.length;){let i=r[o];if(Ar(i)){let c=dC(i.outlets);return new k(n,c)}if(o===0&&ki(r[0])){let c=e.segments[t];n.push(new Wt(c.path,Ap(r[0]))),o++;continue}let s=Ar(i)?i.outlets[_]:`${i}`,a=o<r.length-1?r[o+1]:null;s&&a&&ki(a)?(n.push(new Wt(s,Ap(a))),o+=2):(n.push(new Wt(s,{})),o++)}return new k(n,{})}function dC(e){let t={};return Object.entries(e).forEach(([r,n])=>{typeof n=="string"&&(n=[n]),n!==null&&(t[r]=Kc(new k([],{}),0,n))}),t}function Ap(e){let t={};return Object.entries(e).forEach(([r,n])=>t[r]=`${n}`),t}function _p(e,t,r){return e==r.path&&ze(t,r.parameters)}var Sr="imperative",X=function(e){return e[e.NavigationStart=0]="NavigationStart",e[e.NavigationEnd=1]="NavigationEnd",e[e.NavigationCancel=2]="NavigationCancel",e[e.NavigationError=3]="NavigationError",e[e.RoutesRecognized=4]="RoutesRecognized",e[e.ResolveStart=5]="ResolveStart",e[e.ResolveEnd=6]="ResolveEnd",e[e.GuardsCheckStart=7]="GuardsCheckStart",e[e.GuardsCheckEnd=8]="GuardsCheckEnd",e[e.RouteConfigLoadStart=9]="RouteConfigLoadStart",e[e.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",e[e.ChildActivationStart=11]="ChildActivationStart",e[e.ChildActivationEnd=12]="ChildActivationEnd",e[e.ActivationStart=13]="ActivationStart",e[e.ActivationEnd=14]="ActivationEnd",e[e.Scroll=15]="Scroll",e[e.NavigationSkipped=16]="NavigationSkipped",e}(X||{}),Ae=class{constructor(t,r){this.id=t,this.url=r}},_r=class extends Ae{constructor(t,r,n="imperative",o=null){super(t,r),this.type=X.NavigationStart,this.navigationTrigger=n,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},Et=class extends Ae{constructor(t,r,n){super(t,r),this.urlAfterRedirects=n,this.type=X.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},xe=function(e){return e[e.Redirect=0]="Redirect",e[e.SupersededByNewNavigation=1]="SupersededByNewNavigation",e[e.NoDataFromResolver=2]="NoDataFromResolver",e[e.GuardRejected=3]="GuardRejected",e}(xe||{}),Jc=function(e){return e[e.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",e[e.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",e}(Jc||{}),It=class extends Ae{constructor(t,r,n,o){super(t,r),this.reason=n,this.code=o,this.type=X.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},Yt=class extends Ae{constructor(t,r,n,o){super(t,r),this.reason=n,this.code=o,this.type=X.NavigationSkipped}},Nr=class extends Ae{constructor(t,r,n,o){super(t,r),this.error=n,this.target=o,this.type=X.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},ji=class extends Ae{constructor(t,r,n,o){super(t,r),this.urlAfterRedirects=n,this.state=o,this.type=X.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Xc=class extends Ae{constructor(t,r,n,o){super(t,r),this.urlAfterRedirects=n,this.state=o,this.type=X.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},eu=class extends Ae{constructor(t,r,n,o,i){super(t,r),this.urlAfterRedirects=n,this.state=o,this.shouldActivate=i,this.type=X.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},tu=class extends Ae{constructor(t,r,n,o){super(t,r),this.urlAfterRedirects=n,this.state=o,this.type=X.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},nu=class extends Ae{constructor(t,r,n,o){super(t,r),this.urlAfterRedirects=n,this.state=o,this.type=X.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},ru=class{constructor(t){this.route=t,this.type=X.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},ou=class{constructor(t){this.route=t,this.type=X.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},iu=class{constructor(t){this.snapshot=t,this.type=X.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},su=class{constructor(t){this.snapshot=t,this.type=X.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},au=class{constructor(t){this.snapshot=t,this.type=X.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},cu=class{constructor(t){this.snapshot=t,this.type=X.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}};var Rr=class{},Or=class{constructor(t){this.url=t}};var uu=class{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new zi,this.attachRef=null}},zi=(()=>{let t=class t{constructor(){this.contexts=new Map}onChildOutletCreated(n,o){let i=this.getOrCreateContext(n);i.outlet=o,this.contexts.set(n,i)}onChildOutletDestroyed(n){let o=this.getContext(n);o&&(o.outlet=null,o.attachRef=null)}onOutletDeactivated(){let n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let o=this.getContext(n);return o||(o=new uu,this.contexts.set(n,o)),o}getContext(n){return this.contexts.get(n)||null}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),Vi=class{constructor(t){this._root=t}get root(){return this._root.value}parent(t){let r=this.pathFromRoot(t);return r.length>1?r[r.length-2]:null}children(t){let r=lu(t,this._root);return r?r.children.map(n=>n.value):[]}firstChild(t){let r=lu(t,this._root);return r&&r.children.length>0?r.children[0].value:null}siblings(t){let r=du(t,this._root);return r.length<2?[]:r[r.length-2].children.map(o=>o.value).filter(o=>o!==t)}pathFromRoot(t){return du(t,this._root).map(r=>r.value)}};function lu(e,t){if(e===t.value)return t;for(let r of t.children){let n=lu(e,r);if(n)return n}return null}function du(e,t){if(e===t.value)return[t];for(let r of t.children){let n=du(e,r);if(n.length)return n.unshift(t),n}return[]}var Ce=class{constructor(t,r){this.value=t,this.children=r}toString(){return`TreeNode(${this.value})`}};function _n(e){let t={};return e&&e.children.forEach(r=>t[r.value.outlet]=r),t}var $i=class extends Vi{constructor(t,r){super(t),this.snapshot=r,Iu(this,t)}toString(){return this.snapshot.toString()}};function qp(e){let t=fC(e),r=new K([new Wt("",{})]),n=new K({}),o=new K({}),i=new K({}),s=new K(""),a=new Qt(r,n,i,s,o,_,e,t.root);return a.snapshot=t.root,new $i(new Ce(a,[]),t)}function fC(e){let t={},r={},n={},o="",i=new Pr([],t,n,o,r,_,e,null,{});return new Ui("",new Ce(i,[]))}var Qt=class{constructor(t,r,n,o,i,s,a,c){this.urlSubject=t,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[Lr]))??M(void 0),this.url=t,this.params=r,this.queryParams=n,this.fragment=o,this.data=i}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(N(t=>On(t))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(N(t=>On(t))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Eu(e,t,r="emptyOnly"){let n,{routeConfig:o}=e;return t!==null&&(r==="always"||o?.path===""||!t.component&&!t.routeConfig?.loadComponent)?n={params:v(v({},t.params),e.params),data:v(v({},t.data),e.data),resolve:v(v(v(v({},e.data),t.data),o?.data),e._resolvedData)}:n={params:v({},e.params),data:v({},e.data),resolve:v(v({},e.data),e._resolvedData??{})},o&&Zp(o)&&(n.resolve[Lr]=o.title),n}var Pr=class{get title(){return this.data?.[Lr]}constructor(t,r,n,o,i,s,a,c,u){this.url=t,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??=On(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=On(this.queryParams),this._queryParamMap}toString(){let t=this.url.map(n=>n.toString()).join("/"),r=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${t}', path:'${r}')`}},Ui=class extends Vi{constructor(t,r){super(r),this.url=t,Iu(this,r)}toString(){return Wp(this._root)}};function Iu(e,t){t.value._routerState=e,t.children.forEach(r=>Iu(e,r))}function Wp(e){let t=e.children.length>0?` { ${e.children.map(Wp).join(", ")} } `:"";return`${e.value}${t}`}function Gc(e){if(e.snapshot){let t=e.snapshot,r=e._futureSnapshot;e.snapshot=r,ze(t.queryParams,r.queryParams)||e.queryParamsSubject.next(r.queryParams),t.fragment!==r.fragment&&e.fragmentSubject.next(r.fragment),ze(t.params,r.params)||e.paramsSubject.next(r.params),UI(t.url,r.url)||e.urlSubject.next(r.url),ze(t.data,r.data)||e.dataSubject.next(r.data)}else e.snapshot=e._futureSnapshot,e.dataSubject.next(e._futureSnapshot.data)}function fu(e,t){let r=ze(e.params,t.params)&&GI(e.url,t.url),n=!e.parent!=!t.parent;return r&&!n&&(!e.parent||fu(e.parent,t.parent))}function Zp(e){return typeof e.title=="string"||e.title===null}var hC=(()=>{let t=class t{constructor(){this.activated=null,this._activatedRoute=null,this.name=_,this.activateEvents=new Te,this.deactivateEvents=new Te,this.attachEvents=new Te,this.detachEvents=new Te,this.parentContexts=p(zi),this.location=p(Bt),this.changeDetector=p(gi),this.environmentInjector=p(he),this.inputBinder=p(Cu,{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 E(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new E(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new E(4012,!1);this.location.detach();let n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,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 E(4013,!1);this._activatedRoute=n;let i=this.location,a=n.snapshot.component,c=this.parentContexts.getOrCreateContext(this.name).children,u=new hu(n,c,i.injector);this.activated=i.createComponent(a,{index:i.length,injector:u,environmentInjector:o??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275dir=wn({type:t,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[or]});let e=t;return e})(),hu=class{constructor(t,r,n){this.route=t,this.childContexts=r,this.parent=n}get(t,r){return t===Qt?this.route:t===zi?this.childContexts:this.parent.get(t,r)}},Cu=new C("");function pC(e,t,r){let n=Fr(e,t._root,r?r._root:void 0);return new $i(n,t)}function Fr(e,t,r){if(r&&e.shouldReuseRoute(t.value,r.value.snapshot)){let n=r.value;n._futureSnapshot=t.value;let o=gC(e,t,r);return new Ce(n,o)}else{if(e.shouldAttach(t.value)){let i=e.retrieve(t.value);if(i!==null){let s=i.route;return s.value._futureSnapshot=t.value,s.children=t.children.map(a=>Fr(e,a)),s}}let n=mC(t.value),o=t.children.map(i=>Fr(e,i));return new Ce(n,o)}}function gC(e,t,r){return t.children.map(n=>{for(let o of r.children)if(e.shouldReuseRoute(n.value,o.value.snapshot))return Fr(e,n,o);return Fr(e,n)})}function mC(e){return new Qt(new K(e.url),new K(e.params),new K(e.queryParams),new K(e.fragment),new K(e.data),e.outlet,e.component,e)}var Yp="ngNavigationCancelingError";function Qp(e,t){let{redirectTo:r,navigationBehaviorOptions:n}=Pn(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,o=Kp(!1,xe.Redirect,t);return o.url=r,o.navigationBehaviorOptions=n,o}function Kp(e,t,r){let n=new Error("NavigationCancelingError: "+(e||""));return n[Yp]=!0,n.cancellationCode=t,r&&(n.url=r),n}function vC(e){return Jp(e)&&Pn(e.url)}function Jp(e){return e&&e[Yp]}var yC=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=md({type:t,selectors:[["ng-component"]],standalone:!0,features:[Fh],decls:1,vars:0,template:function(o,i){o&1&&dc(0,"router-outlet")},dependencies:[hC],encapsulation:2});let e=t;return e})();function DC(e,t){return e.providers&&!e._injector&&(e._injector=pc(e.providers,t,`Route: ${e.path}`)),e._injector??t}function bu(e){let t=e.children&&e.children.map(bu),r=t?q(v({},e),{children:t}):v({},e);return!r.component&&!r.loadComponent&&(t||r.loadChildren)&&r.outlet&&r.outlet!==_&&(r.component=yC),r}function Ge(e){return e.outlet||_}function wC(e,t){let r=e.filter(n=>Ge(n)===t);return r.push(...e.filter(n=>Ge(n)!==t)),r}function jr(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let t=e.parent;t;t=t.parent){let r=t.routeConfig;if(r?._loadedInjector)return r._loadedInjector;if(r?._injector)return r._injector}return null}var EC=(e,t,r,n)=>N(o=>(new pu(t,o.targetRouterState,o.currentRouterState,r,n).activate(e),o)),pu=class{constructor(t,r,n,o,i){this.routeReuseStrategy=t,this.futureState=r,this.currState=n,this.forwardEvent=o,this.inputBindingEnabled=i}activate(t){let r=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(r,n,t),Gc(this.futureState.root),this.activateChildRoutes(r,n,t)}deactivateChildRoutes(t,r,n){let o=_n(r);t.children.forEach(i=>{let s=i.value.outlet;this.deactivateRoutes(i,o[s],n),delete o[s]}),Object.values(o).forEach(i=>{this.deactivateRouteAndItsChildren(i,n)})}deactivateRoutes(t,r,n){let o=t.value,i=r?r.value:null;if(o===i)if(o.component){let s=n.getContext(o.outlet);s&&this.deactivateChildRoutes(t,r,s.children)}else this.deactivateChildRoutes(t,r,n);else i&&this.deactivateRouteAndItsChildren(r,n)}deactivateRouteAndItsChildren(t,r){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,r):this.deactivateRouteAndOutlet(t,r)}detachAndStoreRouteSubtree(t,r){let n=r.getContext(t.value.outlet),o=n&&t.value.component?n.children:r,i=_n(t);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);if(n&&n.outlet){let s=n.outlet.detach(),a=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:s,route:t,contexts:a})}}deactivateRouteAndOutlet(t,r){let n=r.getContext(t.value.outlet),o=n&&t.value.component?n.children:r,i=_n(t);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null)}activateChildRoutes(t,r,n){let o=_n(r);t.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],n),this.forwardEvent(new cu(i.value.snapshot))}),t.children.length&&this.forwardEvent(new su(t.value.snapshot))}activateRoutes(t,r,n){let o=t.value,i=r?r.value:null;if(Gc(o),o===i)if(o.component){let s=n.getOrCreateContext(o.outlet);this.activateChildRoutes(t,r,s.children)}else this.activateChildRoutes(t,r,n);else if(o.component){let s=n.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){let a=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),Gc(a.route.value),this.activateChildRoutes(t,null,s.children)}else{let a=jr(o.snapshot);s.attachRef=null,s.route=o,s.injector=a,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(t,null,s.children)}}else this.activateChildRoutes(t,null,n)}},Bi=class{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}},Rn=class{constructor(t,r){this.component=t,this.route=r}};function IC(e,t,r){let n=e._root,o=t?t._root:null;return br(n,o,r,[n.value])}function CC(e){let t=e.routeConfig?e.routeConfig.canActivateChild:null;return!t||t.length===0?null:{node:e,guards:t}}function kn(e,t){let r=Symbol(),n=t.get(e,r);return n===r?typeof e=="function"&&!sd(e)?e:t.get(e):n}function br(e,t,r,n,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=_n(t);return e.children.forEach(s=>{bC(s,i[s.value.outlet],r,n.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>xr(a,r.getContext(s),o)),o}function bC(e,t,r,n,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=e.value,s=t?t.value:null,a=r?r.getContext(e.value.outlet):null;if(s&&i.routeConfig===s.routeConfig){let c=MC(s,i,i.routeConfig.runGuardsAndResolvers);c?o.canActivateChecks.push(new Bi(n)):(i.data=s.data,i._resolvedData=s._resolvedData),i.component?br(e,t,a?a.children:null,n,o):br(e,t,r,n,o),c&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new Rn(a.outlet.component,s))}else s&&xr(t,a,o),o.canActivateChecks.push(new Bi(n)),i.component?br(e,null,a?a.children:null,n,o):br(e,null,r,n,o);return o}function MC(e,t,r){if(typeof r=="function")return r(e,t);switch(r){case"pathParamsChange":return!Zt(e.url,t.url);case"pathParamsOrQueryParamsChange":return!Zt(e.url,t.url)||!ze(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!fu(e,t)||!ze(e.queryParams,t.queryParams);case"paramsChange":default:return!fu(e,t)}}function xr(e,t,r){let n=_n(e),o=e.value;Object.entries(n).forEach(([i,s])=>{o.component?t?xr(s,t.children.getContext(i),r):xr(s,null,r):xr(s,t,r)}),o.component?t&&t.outlet&&t.outlet.isActivated?r.canDeactivateChecks.push(new Rn(t.outlet.component,o)):r.canDeactivateChecks.push(new Rn(null,o)):r.canDeactivateChecks.push(new Rn(null,o))}function Vr(e){return typeof e=="function"}function TC(e){return typeof e=="boolean"}function SC(e){return e&&Vr(e.canLoad)}function xC(e){return e&&Vr(e.canActivate)}function AC(e){return e&&Vr(e.canActivateChild)}function _C(e){return e&&Vr(e.canDeactivate)}function NC(e){return e&&Vr(e.canMatch)}function Xp(e){return e instanceof Ze||e?.name==="EmptyError"}var Ni=Symbol("INITIAL_VALUE");function Fn(){return ve(e=>ho(e.map(t=>t.pipe(be(1),ps(Ni)))).pipe(N(t=>{for(let r of t)if(r!==!0){if(r===Ni)return Ni;if(r===!1||r instanceof wt)return r}return!0}),me(t=>t!==Ni),be(1)))}function RC(e,t){return H(r=>{let{targetSnapshot:n,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=r;return s.length===0&&i.length===0?M(q(v({},r),{guardsResult:!0})):OC(s,n,o,e).pipe(H(a=>a&&TC(a)?PC(n,i,e,t):M(a)),N(a=>q(v({},r),{guardsResult:a})))})}function OC(e,t,r,n){return B(e).pipe(H(o=>VC(o.component,o.route,r,t,n)),Ne(o=>o!==!0,!0))}function PC(e,t,r,n){return B(t).pipe(st(o=>ot(kC(o.route.parent,n),FC(o.route,n),jC(e,o.path,r),LC(e,o.route,r))),Ne(o=>o!==!0,!0))}function FC(e,t){return e!==null&&t&&t(new au(e)),M(!0)}function kC(e,t){return e!==null&&t&&t(new iu(e)),M(!0)}function LC(e,t,r){let n=t.routeConfig?t.routeConfig.canActivate:null;if(!n||n.length===0)return M(!0);let o=n.map(i=>po(()=>{let s=jr(t)??r,a=kn(i,s),c=xC(a)?a.canActivate(t,e):et(s,()=>a(t,e));return Ct(c).pipe(Ne())}));return M(o).pipe(Fn())}function jC(e,t,r){let n=t[t.length-1],i=t.slice(0,t.length-1).reverse().map(s=>CC(s)).filter(s=>s!==null).map(s=>po(()=>{let a=s.guards.map(c=>{let u=jr(s.node)??r,l=kn(c,u),d=AC(l)?l.canActivateChild(n,e):et(u,()=>l(n,e));return Ct(d).pipe(Ne())});return M(a).pipe(Fn())}));return M(i).pipe(Fn())}function VC(e,t,r,n,o){let i=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!i||i.length===0)return M(!0);let s=i.map(a=>{let c=jr(t)??o,u=kn(a,c),l=_C(u)?u.canDeactivate(e,t,r,n):et(c,()=>u(e,t,r,n));return Ct(l).pipe(Ne())});return M(s).pipe(Fn())}function $C(e,t,r,n){let o=t.canLoad;if(o===void 0||o.length===0)return M(!0);let i=o.map(s=>{let a=kn(s,e),c=SC(a)?a.canLoad(t,r):et(e,()=>a(t,r));return Ct(c)});return M(i).pipe(Fn(),eg(n))}function eg(e){return ns(W(t=>{if(Pn(t))throw Qp(e,t)}),N(t=>t===!0))}function UC(e,t,r,n){let o=t.canMatch;if(!o||o.length===0)return M(!0);let i=o.map(s=>{let a=kn(s,e),c=NC(a)?a.canMatch(t,r):et(e,()=>a(t,r));return Ct(c)});return M(i).pipe(Fn(),eg(n))}var kr=class{constructor(t){this.segmentGroup=t||null}},Hi=class extends Error{constructor(t){super(),this.urlTree=t}};function An(e){return sn(new kr(e))}function BC(e){return sn(new E(4e3,!1))}function HC(e){return sn(Kp(!1,xe.GuardRejected))}var gu=class{constructor(t,r){this.urlSerializer=t,this.urlTree=r}lineralizeSegments(t,r){let n=[],o=r.root;for(;;){if(n=n.concat(o.segments),o.numberOfChildren===0)return M(n);if(o.numberOfChildren>1||!o.children[_])return BC(t.redirectTo);o=o.children[_]}}applyRedirectCommands(t,r,n){let o=this.applyRedirectCreateUrlTree(r,this.urlSerializer.parse(r),t,n);if(r.startsWith("/"))throw new Hi(o);return o}applyRedirectCreateUrlTree(t,r,n,o){let i=this.createSegmentGroup(t,r.root,n,o);return new wt(i,this.createQueryParams(r.queryParams,this.urlTree.queryParams),r.fragment)}createQueryParams(t,r){let n={};return Object.entries(t).forEach(([o,i])=>{if(typeof i=="string"&&i.startsWith(":")){let a=i.substring(1);n[o]=r[a]}else n[o]=i}),n}createSegmentGroup(t,r,n,o){let i=this.createSegments(t,r.segments,n,o),s={};return Object.entries(r.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(t,c,n,o)}),new k(i,s)}createSegments(t,r,n,o){return r.map(i=>i.path.startsWith(":")?this.findPosParam(t,i,o):this.findOrReturn(i,n))}findPosParam(t,r,n){let o=n[r.path.substring(1)];if(!o)throw new E(4001,!1);return o}findOrReturn(t,r){let n=0;for(let o of r){if(o.path===t.path)return r.splice(n),o;n++}return t}},mu={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function zC(e,t,r,n,o){let i=Mu(e,t,r);return i.matched?(n=DC(t,n),UC(n,t,r,o).pipe(N(s=>s===!0?i:v({},mu)))):M(i)}function Mu(e,t,r){if(t.path==="**")return GC(r);if(t.path==="")return t.pathMatch==="full"&&(e.hasChildren()||r.length>0)?v({},mu):{matched:!0,consumedSegments:[],remainingSegments:r,parameters:{},positionalParamSegments:{}};let o=(t.matcher||$I)(r,e,t);if(!o)return v({},mu);let i={};Object.entries(o.posParams??{}).forEach(([a,c])=>{i[a]=c.path});let s=o.consumed.length>0?v(v({},i),o.consumed[o.consumed.length-1].parameters):i;return{matched:!0,consumedSegments:o.consumed,remainingSegments:r.slice(o.consumed.length),parameters:s,positionalParamSegments:o.posParams??{}}}function GC(e){return{matched:!0,parameters:e.length>0?Op(e).parameters:{},consumedSegments:e,remainingSegments:[],positionalParamSegments:{}}}function Np(e,t,r,n){return r.length>0&&ZC(e,r,n)?{segmentGroup:new k(t,WC(n,new k(r,e.children))),slicedSegments:[]}:r.length===0&&YC(e,r,n)?{segmentGroup:new k(e.segments,qC(e,r,n,e.children)),slicedSegments:r}:{segmentGroup:new k(e.segments,e.children),slicedSegments:r}}function qC(e,t,r,n){let o={};for(let i of r)if(Gi(e,t,i)&&!n[Ge(i)]){let s=new k([],{});o[Ge(i)]=s}return v(v({},n),o)}function WC(e,t){let r={};r[_]=t;for(let n of e)if(n.path===""&&Ge(n)!==_){let o=new k([],{});r[Ge(n)]=o}return r}function ZC(e,t,r){return r.some(n=>Gi(e,t,n)&&Ge(n)!==_)}function YC(e,t,r){return r.some(n=>Gi(e,t,n))}function Gi(e,t,r){return(e.hasChildren()||t.length>0)&&r.pathMatch==="full"?!1:r.path===""}function QC(e,t,r,n){return Ge(e)!==n&&(n===_||!Gi(t,r,e))?!1:Mu(t,e,r).matched}function KC(e,t,r){return t.length===0&&!e.children[r]}var vu=class{};function JC(e,t,r,n,o,i,s="emptyOnly"){return new yu(e,t,r,n,o,s,i).recognize()}var XC=31,yu=class{constructor(t,r,n,o,i,s,a){this.injector=t,this.configLoader=r,this.rootComponentType=n,this.config=o,this.urlTree=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new gu(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(t){return new E(4002,`'${t.segmentGroup}'`)}recognize(){let t=Np(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(t).pipe(N(r=>{let n=new Pr([],Object.freeze({}),Object.freeze(v({},this.urlTree.queryParams)),this.urlTree.fragment,{},_,this.rootComponentType,null,{}),o=new Ce(n,r),i=new Ui("",o),s=iC(n,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,i.url=this.urlSerializer.serialize(s),this.inheritParamsAndData(i._root,null),{state:i,tree:s}}))}match(t){return this.processSegmentGroup(this.injector,this.config,t,_).pipe(it(n=>{if(n instanceof Hi)return this.urlTree=n.urlTree,this.match(n.urlTree.root);throw n instanceof kr?this.noMatchError(n):n}))}inheritParamsAndData(t,r){let n=t.value,o=Eu(n,r,this.paramsInheritanceStrategy);n.params=Object.freeze(o.params),n.data=Object.freeze(o.data),t.children.forEach(i=>this.inheritParamsAndData(i,n))}processSegmentGroup(t,r,n,o){return n.segments.length===0&&n.hasChildren()?this.processChildren(t,r,n):this.processSegment(t,r,n,n.segments,o,!0).pipe(N(i=>i instanceof Ce?[i]:[]))}processChildren(t,r,n){let o=[];for(let i of Object.keys(n.children))i==="primary"?o.unshift(i):o.push(i);return B(o).pipe(st(i=>{let s=n.children[i],a=wC(r,i);return this.processSegmentGroup(t,a,s,i)}),hs((i,s)=>(i.push(...s),i)),at(null),fs(),H(i=>{if(i===null)return An(n);let s=tg(i);return eb(s),M(s)}))}processSegment(t,r,n,o,i,s){return B(r).pipe(st(a=>this.processSegmentAgainstRoute(a._injector??t,r,a,n,o,i,s).pipe(it(c=>{if(c instanceof kr)return M(null);throw c}))),Ne(a=>!!a),it(a=>{if(Xp(a))return KC(n,o,i)?M(new vu):An(n);throw a}))}processSegmentAgainstRoute(t,r,n,o,i,s,a){return QC(n,o,i,s)?n.redirectTo===void 0?this.matchSegmentAgainstRoute(t,o,n,i,s):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(t,o,r,n,i,s):An(o):An(o)}expandSegmentAgainstRouteUsingRedirect(t,r,n,o,i,s){let{matched:a,consumedSegments:c,positionalParamSegments:u,remainingSegments:l}=Mu(r,o,i);if(!a)return An(r);o.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>XC&&(this.allowRedirects=!1));let d=this.applyRedirects.applyRedirectCommands(c,o.redirectTo,u);return this.applyRedirects.lineralizeSegments(o,d).pipe(H(f=>this.processSegment(t,n,r,f.concat(l),s,!1)))}matchSegmentAgainstRoute(t,r,n,o,i){let s=zC(r,n,o,t,this.urlSerializer);return n.path==="**"&&(r.children={}),s.pipe(ve(a=>a.matched?(t=n._injector??t,this.getChildConfig(t,n,o).pipe(ve(({routes:c})=>{let u=n._loadedInjector??t,{consumedSegments:l,remainingSegments:d,parameters:f}=a,h=new Pr(l,f,Object.freeze(v({},this.urlTree.queryParams)),this.urlTree.fragment,nb(n),Ge(n),n.component??n._loadedComponent??null,n,rb(n)),{segmentGroup:g,slicedSegments:b}=Np(r,l,d,c);if(b.length===0&&g.hasChildren())return this.processChildren(u,c,g).pipe(N(m=>m===null?null:new Ce(h,m)));if(c.length===0&&b.length===0)return M(new Ce(h,[]));let y=Ge(n)===i;return this.processSegment(u,c,g,b,y?_:i,!0).pipe(N(m=>new Ce(h,m instanceof Ce?[m]:[])))}))):An(r)))}getChildConfig(t,r,n){return r.children?M({routes:r.children,injector:t}):r.loadChildren?r._loadedRoutes!==void 0?M({routes:r._loadedRoutes,injector:r._loadedInjector}):$C(t,r,n,this.urlSerializer).pipe(H(o=>o?this.configLoader.loadChildren(t,r).pipe(W(i=>{r._loadedRoutes=i.routes,r._loadedInjector=i.injector})):HC(r))):M({routes:[],injector:t})}};function eb(e){e.sort((t,r)=>t.value.outlet===_?-1:r.value.outlet===_?1:t.value.outlet.localeCompare(r.value.outlet))}function tb(e){let t=e.value.routeConfig;return t&&t.path===""}function tg(e){let t=[],r=new Set;for(let n of e){if(!tb(n)){t.push(n);continue}let o=t.find(i=>n.value.routeConfig===i.value.routeConfig);o!==void 0?(o.children.push(...n.children),r.add(o)):t.push(n)}for(let n of r){let o=tg(n.children);t.push(new Ce(n.value,o))}return t.filter(n=>!r.has(n))}function nb(e){return e.data||{}}function rb(e){return e.resolve||{}}function ob(e,t,r,n,o,i){return H(s=>JC(e,t,r,n,s.extractedUrl,o,i).pipe(N(({state:a,tree:c})=>q(v({},s),{targetSnapshot:a,urlAfterRedirects:c}))))}function ib(e,t){return H(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 ng(c))s.add(u);let a=0;return B(s).pipe(st(c=>i.has(c)?sb(c,n,e,t):(c.data=Eu(c,c.parent,e).resolve,M(void 0))),W(()=>a++),cn(1),H(c=>a===s.size?M(r):ue))})}function ng(e){let t=e.children.map(r=>ng(r)).flat();return[e,...t]}function sb(e,t,r,n){let o=e.routeConfig,i=e._resolve;return o?.title!==void 0&&!Zp(o)&&(i[Lr]=o.title),ab(i,e,t,n).pipe(N(s=>(e._resolvedData=s,e.data=Eu(e,e.parent,r).resolve,null)))}function ab(e,t,r,n){let o=Zc(e);if(o.length===0)return M({});let i={};return B(o).pipe(H(s=>cb(e[s],t,r,n).pipe(Ne(),W(a=>{i[s]=a}))),cn(1),Vn(i),it(s=>Xp(s)?ue:sn(s)))}function cb(e,t,r,n){let o=jr(t)??n,i=kn(e,o),s=i.resolve?i.resolve(t,r):et(o,()=>i(t,r));return Ct(s)}function qc(e){return ve(t=>{let r=e(t);return r?B(r).pipe(N(()=>t)):M(t)})}var rg=(()=>{let t=class t{buildTitle(n){let o,i=n.root;for(;i!==void 0;)o=this.getResolvedTitleForRoute(i)??o,i=i.children.find(s=>s.outlet===_);return o}getResolvedTitleForRoute(n){return n.data[Lr]}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=w({token:t,factory:()=>p(ub),providedIn:"root"});let e=t;return e})(),ub=(()=>{let t=class t extends rg{constructor(n){super(),this.title=n}updateTitle(n){let o=this.buildTitle(n);o!==void 0&&this.title.setTitle(o)}};t.\u0275fac=function(o){return new(o||t)(I(Bc))},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),Tu=new C("",{providedIn:"root",factory:()=>({})}),Su=new C("ROUTES"),lb=(()=>{let t=class t{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=p(gc)}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=Ct(n.loadComponent()).pipe(N(og),W(s=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=s}),ct(()=>{this.componentLoaders.delete(n)})),i=new rt(o,()=>new Z).pipe(nn());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=db(o,this.compiler,n,this.onLoadEndListener).pipe(ct(()=>{this.childrenLoaders.delete(o)})),a=new rt(s,()=>new Z).pipe(nn());return this.childrenLoaders.set(o,a),a}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function db(e,t,r,n){return Ct(e.loadChildren()).pipe(N(og),H(o=>o instanceof tr||Array.isArray(o)?M(o):B(t.compileModuleAsync(o))),N(o=>{n&&n(e);let i,s,a=!1;return Array.isArray(o)?(s=o,a=!0):(i=o.create(r).injector,s=i.get(Su,[],{optional:!0,self:!0}).flat()),{routes:s.map(bu),injector:i}}))}function fb(e){return e&&typeof e=="object"&&"default"in e}function og(e){return fb(e)?e.default:e}var xu=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=w({token:t,factory:()=>p(hb),providedIn:"root"});let e=t;return e})(),hb=(()=>{let t=class t{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,o){return n}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),pb=new C("");var gb=(()=>{let t=class t{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new Z,this.transitionAbortSubject=new Z,this.configLoader=p(lb),this.environmentInjector=p(he),this.urlSerializer=p(wu),this.rootContexts=p(zi),this.location=p(pr),this.inputBindingEnabled=p(Cu,{optional:!0})!==null,this.titleStrategy=p(rg),this.options=p(Tu,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=p(xu),this.createViewTransition=p(pb,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>M(void 0),this.rootComponentType=null;let n=i=>this.events.next(new ru(i)),o=i=>this.events.next(new ou(i));this.configLoader.onLoadEndListener=o,this.configLoader.onLoadStartListener=n}complete(){this.transitions?.complete()}handleNavigationRequest(n){let o=++this.navigationId;this.transitions?.next(q(v(v({},this.transitions.value),n),{id:o}))}setupNavigations(n,o,i){return this.transitions=new K({id:0,currentUrlTree:o,currentRawUrl:o,extractedUrl:this.urlHandlingStrategy.extract(o),urlAfterRedirects:this.urlHandlingStrategy.extract(o),rawUrl:o,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Sr,restoredState:null,currentSnapshot:i.snapshot,targetSnapshot:null,currentRouterState:i,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(me(s=>s.id!==0),N(s=>q(v({},s),{extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),ve(s=>{this.currentTransition=s;let a=!1,c=!1;return M(s).pipe(W(u=>{this.currentNavigation={id:u.id,initialUrl:u.rawUrl,extractedUrl:u.extractedUrl,trigger:u.source,extras:u.extras,previousNavigation:this.lastSuccessfulNavigation?q(v({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),ve(u=>{let l=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),d=u.extras.onSameUrlNavigation??n.onSameUrlNavigation;if(!l&&d!=="reload"){let f="";return this.events.next(new Yt(u.id,this.urlSerializer.serialize(u.rawUrl),f,Jc.IgnoredSameUrlNavigation)),u.resolve(null),ue}if(this.urlHandlingStrategy.shouldProcessUrl(u.rawUrl))return M(u).pipe(ve(f=>{let h=this.transitions?.getValue();return this.events.next(new _r(f.id,this.urlSerializer.serialize(f.extractedUrl),f.source,f.restoredState)),h!==this.transitions?.getValue()?ue:Promise.resolve(f)}),ob(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),W(f=>{s.targetSnapshot=f.targetSnapshot,s.urlAfterRedirects=f.urlAfterRedirects,this.currentNavigation=q(v({},this.currentNavigation),{finalUrl:f.urlAfterRedirects});let h=new ji(f.id,this.urlSerializer.serialize(f.extractedUrl),this.urlSerializer.serialize(f.urlAfterRedirects),f.targetSnapshot);this.events.next(h)}));if(l&&this.urlHandlingStrategy.shouldProcessUrl(u.currentRawUrl)){let{id:f,extractedUrl:h,source:g,restoredState:b,extras:y}=u,m=new _r(f,this.urlSerializer.serialize(h),g,b);this.events.next(m);let U=qp(this.rootComponentType).snapshot;return this.currentTransition=s=q(v({},u),{targetSnapshot:U,urlAfterRedirects:h,extras:q(v({},y),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=h,M(s)}else{let f="";return this.events.next(new Yt(u.id,this.urlSerializer.serialize(u.extractedUrl),f,Jc.IgnoredByUrlHandlingStrategy)),u.resolve(null),ue}}),W(u=>{let l=new Xc(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(l)}),N(u=>(this.currentTransition=s=q(v({},u),{guards:IC(u.targetSnapshot,u.currentSnapshot,this.rootContexts)}),s)),RC(this.environmentInjector,u=>this.events.next(u)),W(u=>{if(s.guardsResult=u.guardsResult,Pn(u.guardsResult))throw Qp(this.urlSerializer,u.guardsResult);let l=new eu(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot,!!u.guardsResult);this.events.next(l)}),me(u=>u.guardsResult?!0:(this.cancelNavigationTransition(u,"",xe.GuardRejected),!1)),qc(u=>{if(u.guards.canActivateChecks.length)return M(u).pipe(W(l=>{let d=new tu(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}),ve(l=>{let d=!1;return M(l).pipe(ib(this.paramsInheritanceStrategy,this.environmentInjector),W({next:()=>d=!0,complete:()=>{d||this.cancelNavigationTransition(l,"",xe.NoDataFromResolver)}}))}),W(l=>{let d=new nu(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}))}),qc(u=>{let l=d=>{let f=[];d.routeConfig?.loadComponent&&!d.routeConfig._loadedComponent&&f.push(this.configLoader.loadComponent(d.routeConfig).pipe(W(h=>{d.component=h}),N(()=>{})));for(let h of d.children)f.push(...l(h));return f};return ho(l(u.targetSnapshot.root)).pipe(at(null),be(1))}),qc(()=>this.afterPreactivation()),ve(()=>{let{currentSnapshot:u,targetSnapshot:l}=s,d=this.createViewTransition?.(this.environmentInjector,u.root,l.root);return d?B(d).pipe(N(()=>s)):M(s)}),N(u=>{let l=pC(n.routeReuseStrategy,u.targetSnapshot,u.currentRouterState);return this.currentTransition=s=q(v({},u),{targetRouterState:l}),this.currentNavigation.targetRouterState=l,s}),W(()=>{this.events.next(new Rr)}),EC(this.rootContexts,n.routeReuseStrategy,u=>this.events.next(u),this.inputBindingEnabled),be(1),W({next:u=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Et(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects))),this.titleStrategy?.updateTitle(u.targetRouterState.snapshot),u.resolve(!0)},complete:()=>{a=!0}}),gs(this.transitionAbortSubject.pipe(W(u=>{throw u}))),ct(()=>{!a&&!c&&this.cancelNavigationTransition(s,"",xe.SupersededByNewNavigation),this.currentNavigation?.id===s.id&&(this.currentNavigation=null)}),it(u=>{if(c=!0,Jp(u))this.events.next(new It(s.id,this.urlSerializer.serialize(s.extractedUrl),u.message,u.cancellationCode)),vC(u)?this.events.next(new Or(u.url)):s.resolve(!1);else{this.events.next(new Nr(s.id,this.urlSerializer.serialize(s.extractedUrl),u,s.targetSnapshot??void 0));try{s.resolve(n.errorHandler(u))}catch(l){this.options.resolveNavigationPromiseOnError?s.resolve(!1):s.reject(l)}}return ue}))}))}cancelNavigationTransition(n,o,i){let s=new It(n.id,this.urlSerializer.serialize(n.extractedUrl),o,i);this.events.next(s),n.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function mb(e){return e!==Sr}var vb=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=w({token:t,factory:()=>p(yb),providedIn:"root"});let e=t;return e})(),Du=class{shouldDetach(t){return!1}store(t,r){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,r){return t.routeConfig===r.routeConfig}},yb=(()=>{let t=class t extends Du{};t.\u0275fac=(()=>{let n;return function(i){return(n||(n=Va(t)))(i||t)}})(),t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),ig=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=w({token:t,factory:()=>p(Db),providedIn:"root"});let e=t;return e})(),Db=(()=>{let t=class t extends ig{constructor(){super(...arguments),this.location=p(pr),this.urlSerializer=p(wu),this.options=p(Tu,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=p(xu),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new wt,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=qp(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 _r)this.stateMemento=this.createStateMemento();else if(n instanceof Yt)this.rawUrlTree=o.initialUrl;else if(n instanceof ji){if(this.urlUpdateStrategy==="eager"&&!o.extras.skipLocationChange){let i=this.urlHandlingStrategy.merge(o.finalUrl,o.initialUrl);this.setBrowserUrl(i,o)}}else n instanceof Rr?(this.currentUrlTree=o.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(o.finalUrl,o.initialUrl),this.routerState=o.targetRouterState,this.urlUpdateStrategy==="deferred"&&(o.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,o))):n instanceof It&&(n.code===xe.GuardRejected||n.code===xe.NoDataFromResolver)?this.restoreHistory(o):n instanceof Nr?this.restoreHistory(o,!0):n instanceof Et&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,o){let i=this.urlSerializer.serialize(n);if(this.location.isCurrentPathEqualTo(i)||o.extras.replaceUrl){let s=this.browserPageId,a=v(v({},o.extras.state),this.generateNgRouterState(o.id,s));this.location.replaceState(i,"",a)}else{let s=v(v({},o.extras.state),this.generateNgRouterState(o.id,this.browserPageId+1));this.location.go(i,"",s)}}restoreHistory(n,o=!1){if(this.canceledNavigationResolution==="computed"){let i=this.browserPageId,s=this.currentPageId-i;s!==0?this.location.historyGo(s):this.currentUrlTree===n.finalUrl&&s===0&&(this.resetState(n),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(o&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,o){return this.canceledNavigationResolution==="computed"?{navigationId:n,\u0275routerPageId:o}:{navigationId:n}}};t.\u0275fac=(()=>{let n;return function(i){return(n||(n=Va(t)))(i||t)}})(),t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),Mr=function(e){return e[e.COMPLETE=0]="COMPLETE",e[e.FAILED=1]="FAILED",e[e.REDIRECTING=2]="REDIRECTING",e}(Mr||{});function wb(e,t){e.events.pipe(me(r=>r instanceof Et||r instanceof It||r instanceof Nr||r instanceof Yt),N(r=>r instanceof Et||r instanceof Yt?Mr.COMPLETE:(r instanceof It?r.code===xe.Redirect||r.code===xe.SupersededByNewNavigation:!1)?Mr.REDIRECTING:Mr.FAILED),me(r=>r!==Mr.REDIRECTING),be(1)).subscribe(()=>{t()})}function Eb(e){throw e}var Ib={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Cb={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Au=(()=>{let t=class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=p(yi),this.stateManager=p(ig),this.options=p(Tu,{optional:!0})||{},this.pendingTasks=p(Ht),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=p(gb),this.urlSerializer=p(wu),this.location=p(pr),this.urlHandlingStrategy=p(xu),this._events=new Z,this.errorHandler=this.options.errorHandler||Eb,this.navigated=!1,this.routeReuseStrategy=p(vb),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=p(Su,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!p(Cu,{optional:!0}),this.eventsSubscription=new G,this.isNgZoneEnabled=p(V)instanceof V&&V.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:n=>{this.console.warn(n)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let n=this.navigationTransitions.events.subscribe(o=>{try{let i=this.navigationTransitions.currentTransition,s=this.navigationTransitions.currentNavigation;if(i!==null&&s!==null){if(this.stateManager.handleRouterEvent(o,s),o instanceof It&&o.code!==xe.Redirect&&o.code!==xe.SupersededByNewNavigation)this.navigated=!0;else if(o instanceof Et)this.navigated=!0;else if(o instanceof Or){let a=this.urlHandlingStrategy.merge(o.url,i.currentRawUrl),c={info:i.extras.info,skipLocationChange:i.extras.skipLocationChange,replaceUrl:this.urlUpdateStrategy==="eager"||mb(i.source)};this.scheduleNavigation(a,Sr,null,c,{resolve:i.resolve,reject:i.reject,promise:i.promise})}}Mb(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),Sr,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=v({},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(bu),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=v(v({},this.currentUrlTree.queryParams),s);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=s||null}d!==null&&(d=this.removeEmptyProps(d));let f;try{let h=i?i.snapshot:this.routerState.snapshot.root;f=Bp(h)}catch{(typeof n[0]!="string"||!n[0].startsWith("/"))&&(n=[]),f=this.currentUrlTree.root}return Hp(f,n,d,l??null)}navigateByUrl(n,o={skipLocationChange:!1}){let i=Pn(n)?n:this.parseUrl(n),s=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(s,Sr,null,o)}navigate(n,o={skipLocationChange:!1}){return bb(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=v({},Ib):o===!1?i=v({},Cb):i=o,Pn(n))return Sp(this.currentUrlTree,n,i);let s=this.parseUrl(n);return Sp(this.currentUrlTree,s,i)}removeEmptyProps(n){return Object.entries(n).reduce((o,[i,s])=>(s!=null&&(o[i]=s),o),{})}scheduleNavigation(n,o,i,s,a){if(this.disposed)return Promise.resolve(!1);let c,u,l;a?(c=a.resolve,u=a.reject,l=a.promise):l=new Promise((f,h)=>{c=f,u=h});let d=this.pendingTasks.add();return wb(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(d))}),this.navigationTransitions.handleNavigationRequest({source:o,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:s,resolve:c,reject:u,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(f=>Promise.reject(f))}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function bb(e){for(let t=0;t<e.length;t++)if(e[t]==null)throw new E(4008,!1)}function Mb(e){return!(e instanceof Rr)&&!(e instanceof Or)}var qR=(()=>{let t=class t{constructor(n,o,i,s,a,c){this.router=n,this.route=o,this.tabIndexAttribute=i,this.renderer=s,this.el=a,this.locationStrategy=c,this.href=null,this.commands=null,this.onChanges=new Z,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;let u=a.nativeElement.tagName?.toLowerCase();this.isAnchorElement=u==="a"||u==="area",this.isAnchorElement?this.subscription=n.events.subscribe(l=>{l instanceof Et&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(n){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",n)}ngOnChanges(n){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(n){n!=null?(this.commands=Array.isArray(n)?n:[n],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(n,o,i,s,a){if(this.urlTree===null||this.isAnchorElement&&(n!==0||o||i||s||a||typeof this.target=="string"&&this.target!="_self"))return!0;let c={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(this.urlTree,c),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=this.urlTree!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;let n=this.href===null?null:Nf(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",n)}applyAttributeValue(n,o){let i=this.renderer,s=this.el.nativeElement;o!==null?i.setAttribute(s,n,o):i.removeAttribute(s,n)}get urlTree(){return this.commands===null?null:this.router.createUrlTree(this.commands,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}};t.\u0275fac=function(o){return new(o||t)(pe(Au),pe(Qt),$a("tabindex"),pe(ur),pe(tt),pe(xn))},t.\u0275dir=wn({type:t,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(o,i){o&1&&fc("click",function(a){return i.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),o&2&&lc("target",i.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[Se.HasDecoratorInputTransform,"preserveFragment","preserveFragment",hr],skipLocationChange:[Se.HasDecoratorInputTransform,"skipLocationChange","skipLocationChange",hr],replaceUrl:[Se.HasDecoratorInputTransform,"replaceUrl","replaceUrl",hr],routerLink:"routerLink"},standalone:!0,features:[sc,or]});let e=t;return e})();var Tb=new C("");function WR(e,...t){return pt([{provide:Su,multi:!0,useValue:e},[],{provide:Qt,useFactory:Sb,deps:[Au]},{provide:Tn,multi:!0,useFactory:xb},t.map(r=>r.\u0275providers)])}function Sb(e){return e.routerState.root}function xb(){let e=p(gt);return t=>{let r=e.get(nt);if(t!==r.components[0])return;let n=e.get(Au),o=e.get(Ab);e.get(_b)===1&&n.initialNavigation(),e.get(Nb,null,P.Optional)?.setUpPreloading(),e.get(Tb,null,P.Optional)?.init(),n.resetRootComponentType(r.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}var Ab=new C("",{factory:()=>new Z}),_b=new C("",{providedIn:"root",factory:()=>1});var Nb=new C("");export{v as a,q as b,Ou as c,Z as d,B as e,M as f,sn as g,N as h,ot as i,po as j,Pg as k,ls as l,Ug as m,Bg as n,me as o,be as p,zg as q,qg as r,ve as s,W as t,E as u,rd as v,w,jt as x,C as y,I as z,p as A,Se as B,md as C,Vt as D,wn as E,or as F,G_ as G,q_ as H,W_ as I,Z_ as J,Va as K,pt as L,Mv as M,gt as N,Be as O,Y_ as P,my as Q,Zs as R,tt as S,Jn as T,ur as U,Q_ as V,pe as W,gi as X,Te as Y,V as Z,GD as _,aa as $,lc as aa,Tw as ba,bh as ca,Sw as da,J_ as ea,X_ as fa,eN as ga,Th as ha,Sh as ia,dc as ja,tN as ka,dr as la,fc as ma,nN as na,rN as oa,oN as pa,Kw as qa,sN as ra,uE as sa,lE as ta,aN as ua,hE as va,Oh as wa,cN as xa,Fh as ya,uN as za,kh as Aa,nt as Ba,lN as Ca,hr as Da,Gt as Ea,ce as Fa,kN as Ga,LN as Ha,jN as Ia,QN as Ja,KN as Ka,JN as La,Dp as Ma,yR as Na,DR as Oa,wR as Pa,hC as Qa,qR as Ra,WR as Sa};