-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathchunk-Q6GGI7PY.js
8 lines (8 loc) · 251 KB
/
chunk-Q6GGI7PY.js
1
2
3
4
5
6
7
8
var yg=Object.defineProperty,Dg=Object.defineProperties;var wg=Object.getOwnPropertyDescriptors;var el=Object.getOwnPropertySymbols;var Ig=Object.prototype.hasOwnProperty,Cg=Object.prototype.propertyIsEnumerable;var tl=(e,t,n)=>t in e?yg(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,m=(e,t)=>{for(var n in t||={})Ig.call(t,n)&&tl(e,n,t[n]);if(el)for(var n of el(t))Cg.call(t,n)&&tl(e,n,t[n]);return e},W=(e,t)=>Dg(e,wg(t));var eo=(e,t,n)=>new Promise((r,o)=>{var i=c=>{try{a(n.next(c))}catch(u){o(u)}},s=c=>{try{a(n.throw(c))}catch(u){o(u)}},a=c=>c.done?r(c.value):Promise.resolve(c.value).then(i,s);a((n=n.apply(e,t)).next())});var nl=null;var ws=1,rl=Symbol("SIGNAL");function O(e){let t=nl;return nl=e,t}var ol={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 Eg(e){if(!(Es(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===ws)){if(!e.producerMustRecompute(e)&&!Is(e)){e.dirty=!1,e.lastCleanEpoch=ws;return}e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=ws}}function il(e){return e&&(e.nextProducerIndex=0),O(e)}function sl(e,t){if(O(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(Es(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)Cs(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Is(e){to(e);for(let t=0;t<e.producerNode.length;t++){let n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(Eg(n),r!==n.version))return!0}return!1}function al(e){if(to(e),Es(e))for(let t=0;t<e.producerNode.length;t++)Cs(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 Cs(e,t){if(bg(e),to(e),e.liveConsumerNode.length===1)for(let r=0;r<e.producerNode.length;r++)Cs(e.producerNode[r],e.producerIndexOfThis[r]);let n=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[n],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[n],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){let r=e.liveConsumerIndexOfThis[t],o=e.liveConsumerNode[t];to(o),o.producerIndexOfThis[r]=t}}function Es(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function to(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function bg(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function Mg(){throw new Error}var Sg=Mg;function cl(e){Sg=e}function M(e){return typeof e=="function"}function on(e){let n=e(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var no=on(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:
${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
`)}`:"",this.name="UnsubscriptionError",this.errors=n});function Lt(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var Z=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(M(r))try{r()}catch(i){t=i instanceof no?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{ul(i)}catch(s){t=t??[],s instanceof no?t=[...t,...s.errors]:t.push(s)}}if(t)throw new no(t)}}add(t){var n;if(t&&t!==this)if(this.closed)ul(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}}_hasParent(t){let{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){let{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&Lt(n,t)}remove(t){let{_finalizers:n}=this;n&&Lt(n,t),t instanceof e&&t._removeParent(this)}};Z.EMPTY=(()=>{let e=new Z;return e.closed=!0,e})();var bs=Z.EMPTY;function ro(e){return e instanceof Z||e&&"closed"in e&&M(e.remove)&&M(e.add)&&M(e.unsubscribe)}function ul(e){M(e)?e():e.unsubscribe()}var Re={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var sn={setTimeout(e,t,...n){let{delegate:r}=sn;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=sn;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function oo(e){sn.setTimeout(()=>{let{onUnhandledError:t}=Re;if(t)t(e);else throw e})}function Qn(){}var ll=Ms("C",void 0,void 0);function dl(e){return Ms("E",void 0,e)}function fl(e){return Ms("N",e,void 0)}function Ms(e,t,n){return{kind:e,value:t,error:n}}var jt=null;function an(e){if(Re.useDeprecatedSynchronousErrorHandling){let t=!jt;if(t&&(jt={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=jt;if(jt=null,n)throw r}}else e()}function hl(e){Re.useDeprecatedSynchronousErrorHandling&&jt&&(jt.errorThrown=!0,jt.error=e)}var Vt=class extends Z{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,ro(t)&&t.add(this)):this.destination=xg}static create(t,n,r){return new tt(t,n,r)}next(t){this.isStopped?Ts(fl(t),this):this._next(t)}error(t){this.isStopped?Ts(dl(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Ts(ll,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()}}},Tg=Function.prototype.bind;function Ss(e,t){return Tg.call(e,t)}var _s=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){io(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){io(r)}else io(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){io(n)}}},tt=class extends Vt{constructor(t,n,r){super();let o;if(M(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&Re.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Ss(t.next,i),error:t.error&&Ss(t.error,i),complete:t.complete&&Ss(t.complete,i)}):o=t}this.destination=new _s(o)}};function io(e){Re.useDeprecatedSynchronousErrorHandling?hl(e):oo(e)}function _g(e){throw e}function Ts(e,t){let{onStoppedNotification:n}=Re;n&&sn.setTimeout(()=>n(e,t))}var xg={closed:!0,next:Qn,error:_g,complete:Qn};var cn=typeof Symbol=="function"&&Symbol.observable||"@@observable";function ce(e){return e}function xs(...e){return As(e)}function As(e){return e.length===0?ce:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var P=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=Ng(n)?n:new tt(n,r,o);return an(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return r=pl(r),new r((o,i)=>{let s=new tt({next:a=>{try{n(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[cn](){return this}pipe(...n){return As(n)(this)}toPromise(n){return n=pl(n),new n((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function pl(e){var t;return(t=e??Re.Promise)!==null&&t!==void 0?t:Promise}function Ag(e){return e&&M(e.next)&&M(e.error)&&M(e.complete)}function Ng(e){return e&&e instanceof Vt||Ag(e)&&ro(e)}function Ns(e){return M(e?.lift)}function x(e){return t=>{if(Ns(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function N(e,t,n,r,o){return new Rs(e,t,n,r,o)}var Rs=class extends Vt{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(c){t.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){t.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};function un(){return x((e,t)=>{let n=null;e._refCount++;let r=N(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){n=null;return}let o=e._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}var ln=class extends P{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,Ns(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 Z;let n=this.getSubject();t.add(this.source.subscribe(N(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=Z.EMPTY)}return t}refCount(){return un()(this)}};var gl=on(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var Q=(()=>{class e extends P{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new so(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new gl}next(n){an(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){an(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){an(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){let{hasError:r,isStopped:o,observers:i}=this;return r||o?bs:(this.currentObservers=null,i.push(n),new Z(()=>{this.currentObservers=null,Lt(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new P;return n.source=this,n}}return e.create=(t,n)=>new so(t,n),e})(),so=class extends Q{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,t)}error(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,t)}complete(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t)}_subscribe(t){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&r!==void 0?r:bs}};var re=class extends Q{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}};var Kn={now(){return(Kn.delegate||Date).now()},delegate:void 0};var ao=class extends Q{constructor(t=1/0,n=1/0,r=Kn){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!t.closed;s+=r?1:2)t.next(i[s]);return this._checkFinalizedStatuses(t),n}_trimBuffer(){let{_bufferSize:t,_timestampProvider:n,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*t;if(t<1/0&&i<r.length&&r.splice(0,r.length-i),!o){let s=n.now(),a=0;for(let c=1;c<r.length&&r[c]<=s;c+=2)a=c;a&&r.splice(0,a+1)}}};var co=class extends Z{constructor(t,n){super()}schedule(t,n=0){return this}};var Jn={setInterval(e,t,...n){let{delegate:r}=Jn;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=Jn;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var uo=class extends co{constructor(t,n){super(t,n),this.scheduler=t,this.work=n,this.pending=!1}schedule(t,n=0){var r;if(this.closed)return this;this.state=t;let o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,n)),this.pending=!0,this.delay=n,this.id=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(i,this.id,n),this}requestAsyncId(t,n,r=0){return Jn.setInterval(t.flush.bind(t,this),r)}recycleAsyncId(t,n,r=0){if(r!=null&&this.delay===r&&this.pending===!1)return n;n!=null&&Jn.clearInterval(n)}execute(t,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(t,n);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,n){let r=!1,o;try{this.work(t)}catch(i){r=!0,o=i||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){let{id:t,scheduler:n}=this,{actions:r}=n;this.work=this.state=this.scheduler=null,this.pending=!1,Lt(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var dn=class e{constructor(t,n=e.now){this.schedulerActionCtor=t,this.now=n}schedule(t,n=0,r){return new this.schedulerActionCtor(this,t).schedule(r,n)}};dn.now=Kn.now;var lo=class extends dn{constructor(t,n=dn.now){super(t,n),this.actions=[],this._active=!1}flush(t){let{actions:n}=this;if(this._active){n.push(t);return}let r;this._active=!0;do if(r=t.execute(t.state,t.delay))break;while(t=n.shift());if(this._active=!1,r){for(;t=n.shift();)t.unsubscribe();throw r}}};var Rg=new lo(uo),ml=Rg;var ue=new P(e=>e.complete());function fo(e){return e&&M(e.schedule)}function Os(e){return e[e.length-1]}function vl(e){return M(Os(e))?e.pop():void 0}function Be(e){return fo(Os(e))?e.pop():void 0}function yl(e,t){return typeof Os(e)=="number"?e.pop():t}function wl(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(l){try{u(r.next(l))}catch(d){s(d)}}function c(l){try{u(r.throw(l))}catch(d){s(d)}}function u(l){l.done?i(l.value):o(l.value).then(a,c)}u((r=r.apply(e,t||[])).next())})}function Dl(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function $t(e){return this instanceof $t?(this.v=e,this):new $t(e)}function Il(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(h){return function(v){return Promise.resolve(v).then(h,d)}}function a(h,v){r[h]&&(o[h]=function(g){return new Promise(function(E,_){i.push([h,g,E,_])>1||c(h,g)})},v&&(o[h]=v(o[h])))}function c(h,v){try{u(r[h](v))}catch(g){f(i[0][3],g)}}function u(h){h.value instanceof $t?Promise.resolve(h.value.v).then(l,d):f(i[0][2],h)}function l(h){c("next",h)}function d(h){c("throw",h)}function f(h,v){h(v),i.shift(),i.length&&c(i[0][0],i[0][1])}}function Cl(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof Dl=="function"?Dl(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,c){s=e[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(u){i({value:u,done:a})},s)}}var ho=e=>e&&typeof e.length=="number"&&typeof e!="function";function po(e){return M(e?.then)}function go(e){return M(e[cn])}function mo(e){return Symbol.asyncIterator&&M(e?.[Symbol.asyncIterator])}function vo(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 Og(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var yo=Og();function Do(e){return M(e?.[yo])}function wo(e){return Il(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield $t(n.read());if(o)return yield $t(void 0);yield yield $t(r)}}finally{n.releaseLock()}})}function Io(e){return M(e?.getReader)}function G(e){if(e instanceof P)return e;if(e!=null){if(go(e))return Pg(e);if(ho(e))return Fg(e);if(po(e))return kg(e);if(mo(e))return El(e);if(Do(e))return Lg(e);if(Io(e))return jg(e)}throw vo(e)}function Pg(e){return new P(t=>{let n=e[cn]();if(M(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Fg(e){return new P(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function kg(e){return new P(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,oo)})}function Lg(e){return new P(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function El(e){return new P(t=>{Vg(e,t).catch(n=>t.error(n))})}function jg(e){return El(wo(e))}function Vg(e,t){var n,r,o,i;return wl(this,void 0,void 0,function*(){try{for(n=Cl(e);r=yield n.next(),!r.done;){let s=r.value;if(t.next(s),t.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})}function fe(e,t,n,r=0,o=!1){let i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function Co(e,t=0){return x((n,r)=>{n.subscribe(N(r,o=>fe(r,e,()=>r.next(o),t),()=>fe(r,e,()=>r.complete(),t),o=>fe(r,e,()=>r.error(o),t)))})}function Eo(e,t=0){return x((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function bl(e,t){return G(e).pipe(Eo(t),Co(t))}function Ml(e,t){return G(e).pipe(Eo(t),Co(t))}function Sl(e,t){return new P(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function Tl(e,t){return new P(n=>{let r;return fe(n,t,()=>{r=e[yo](),fe(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>M(r?.return)&&r.return()})}function bo(e,t){if(!e)throw new Error("Iterable cannot be null");return new P(n=>{fe(n,t,()=>{let r=e[Symbol.asyncIterator]();fe(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function _l(e,t){return bo(wo(e),t)}function xl(e,t){if(e!=null){if(go(e))return bl(e,t);if(ho(e))return Sl(e,t);if(po(e))return Ml(e,t);if(mo(e))return bo(e,t);if(Do(e))return Tl(e,t);if(Io(e))return _l(e,t)}throw vo(e)}function z(e,t){return t?xl(e,t):G(e)}function I(...e){let t=Be(e);return z(e,t)}function fn(e,t){let n=M(e)?e:()=>e,r=o=>o.error(n());return new P(t?o=>t.schedule(r,0,o):r)}function Ps(e){return!!e&&(e instanceof P||M(e.lift)&&M(e.subscribe))}var nt=on(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Al(e){return e instanceof Date&&!isNaN(e)}function T(e,t){return x((n,r)=>{let o=0;n.subscribe(N(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:$g}=Array;function Ug(e,t){return $g(t)?e(...t):e(t)}function Nl(e){return T(t=>Ug(e,t))}var{isArray:Bg}=Array,{getPrototypeOf:Hg,prototype:zg,keys:qg}=Object;function Rl(e){if(e.length===1){let t=e[0];if(Bg(t))return{args:t,keys:null};if(Gg(t)){let n=qg(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function Gg(e){return e&&typeof e=="object"&&Hg(e)===zg}function Ol(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function Xn(...e){let t=Be(e),n=vl(e),{args:r,keys:o}=Rl(e);if(r.length===0)return z([],t);let i=new P(Wg(r,t,o?s=>Ol(o,s):ce));return n?i.pipe(Nl(n)):i}function Wg(e,t,n=ce){return r=>{Pl(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)Pl(t,()=>{let u=z(e[c],t),l=!1;u.subscribe(N(r,d=>{i[c]=d,l||(l=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Pl(e,t,n){e?fe(n,e,t):t()}function Fl(e,t,n,r,o,i,s,a){let c=[],u=0,l=0,d=!1,f=()=>{d&&!c.length&&!u&&t.complete()},h=g=>u<r?v(g):c.push(g),v=g=>{i&&t.next(g),u++;let E=!1;G(n(g,l++)).subscribe(N(t,_=>{o?.(_),i?h(_):t.next(_)},()=>{E=!0},void 0,()=>{if(E)try{for(u--;c.length&&u<r;){let _=c.shift();s?fe(t,s,()=>v(_)):v(_)}f()}catch(_){t.error(_)}}))};return e.subscribe(N(t,h,()=>{d=!0,f()})),()=>{a?.()}}function K(e,t,n=1/0){return M(t)?K((r,o)=>T((i,s)=>t(r,i,o,s))(G(e(r,o))),n):(typeof t=="number"&&(n=t),x((r,o)=>Fl(r,o,e,n)))}function vt(e=1/0){return K(ce,e)}function kl(){return vt(1)}function hn(...e){return kl()(z(e,Be(e)))}function Mo(e){return new P(t=>{G(e()).subscribe(t)})}function Zg(e=0,t,n=ml){let r=-1;return t!=null&&(fo(t)?n=t:r=t),new P(o=>{let i=Al(e)?+e-n.now():e;i<0&&(i=0);let s=0;return n.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}function Yg(...e){let t=Be(e),n=yl(e,1/0),r=e;return r.length?r.length===1?G(r[0]):vt(n)(z(r,t)):ue}function he(e,t){return x((n,r)=>{let o=0;n.subscribe(N(r,i=>e.call(t,i,o++)&&r.next(i)))})}function yt(e){return x((t,n)=>{let r=null,o=!1,i;r=t.subscribe(N(n,void 0,void 0,s=>{i=G(e(s,yt(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function Ll(e,t,n,r,o){return(i,s)=>{let a=n,c=t,u=0;i.subscribe(N(s,l=>{let d=u++;c=a?e(c,l,d):(a=!0,l),r&&s.next(c)},o&&(()=>{a&&s.next(c),s.complete()})))}}function rt(e,t){return M(t)?K(e,t,1):K(e,1)}function Dt(e){return x((t,n)=>{let r=!1;t.subscribe(N(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function ot(e){return e<=0?()=>ue:x((t,n)=>{let r=0;t.subscribe(N(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function Fs(e){return T(()=>e)}function Qg(e,t=ce){return e=e??Kg,x((n,r)=>{let o,i=!0;n.subscribe(N(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function Kg(e,t){return e===t}function So(e=Jg){return x((t,n)=>{let r=!1;t.subscribe(N(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function Jg(){return new nt}function wt(e){return x((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function He(e,t){let n=arguments.length>=2;return r=>r.pipe(e?he((o,i)=>e(o,i,r)):ce,ot(1),n?Dt(t):So(()=>new nt))}function pn(e){return e<=0?()=>ue:x((t,n)=>{let r=[];t.subscribe(N(n,o=>{r.push(o),e<r.length&&r.shift()},()=>{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function ks(e,t){let n=arguments.length>=2;return r=>r.pipe(e?he((o,i)=>e(o,i,r)):ce,pn(1),n?Dt(t):So(()=>new nt))}function Ls(e,t){return x(Ll(e,t,arguments.length>=2,!0))}function jl(e={}){let{connector:t=()=>new Q,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,c,u=0,l=!1,d=!1,f=()=>{a?.unsubscribe(),a=void 0},h=()=>{f(),s=c=void 0,l=d=!1},v=()=>{let g=s;h(),g?.unsubscribe()};return x((g,E)=>{u++,!d&&!l&&f();let _=c=c??t();E.add(()=>{u--,u===0&&!d&&!l&&(a=js(v,o))}),_.subscribe(E),!s&&u>0&&(s=new tt({next:ae=>_.next(ae),error:ae=>{d=!0,f(),a=js(h,n,ae),_.error(ae)},complete:()=>{l=!0,f(),a=js(h,r),_.complete()}}),G(g).subscribe(s))})(i)}}function js(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new tt({next:()=>{r.unsubscribe(),e()}});return G(t(...n)).subscribe(r)}function Xg(e,t,n){let r,o=!1;return e&&typeof e=="object"?{bufferSize:r=1/0,windowTime:t=1/0,refCount:o=!1,scheduler:n}=e:r=e??1/0,jl({connector:()=>new ao(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function Vs(...e){let t=Be(e);return x((n,r)=>{(t?hn(e,n,t):hn(e,n)).subscribe(r)})}function pe(e,t){return x((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(N(r,c=>{o?.unsubscribe();let u=0,l=i++;G(e(c,l)).subscribe(o=N(r,d=>r.next(t?t(c,d,l,u++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function $s(e){return x((t,n)=>{G(e).subscribe(N(n,()=>n.complete(),Qn)),!n.closed&&t.subscribe(n)})}function ee(e,t,n){let r=M(e)||t||n?{next:e,error:t,complete:n}:e;return r?x((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(N(i,c=>{var u;(u=r.next)===null||u===void 0||u.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var u;a=!1,(u=r.error)===null||u===void 0||u.call(r,c),i.error(c)},()=>{var c,u;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(u=r.finalize)===null||u===void 0||u.call(r)}))}):ce}var Td="https://g.co/ng/security#xss",y=class extends Error{constructor(t,n){super(ni(t,n)),this.code=t}};function ni(e,t){return`${`NG0${Math.abs(e)}`}${t?": "+t:""}`}function pr(e){return{toString:e}.toString()}var To="__parameters__";function em(e){return function(...n){if(e){let r=e(...n);for(let o in r)this[o]=r[o]}}}function _d(e,t,n){return pr(()=>{let r=em(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;let s=new o(...i);return a.annotation=s,a;function a(c,u,l){let d=c.hasOwnProperty(To)?c[To]:Object.defineProperty(c,To,{value:[]})[To];for(;d.length<=l;)d.push(null);return(d[l]=d[l]||[]).push(s),c}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}var De=globalThis;function $(e){for(let t in e)if(e[t]===$)return t;throw Error("Could not find renamed property on target object.")}function le(e){if(typeof e=="string")return e;if(Array.isArray(e))return"["+e.map(le).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 n=t.indexOf(`
`);return n===-1?t:t.substring(0,n)}function Vl(e,t){return e==null||e===""?t===null?"":t:t==null||t===""?e:e+" "+t}var tm=$({__forward_ref__:$});function xd(e){return e.__forward_ref__=xd,e.toString=function(){return le(this())},e}function Me(e){return Ad(e)?e():e}function Ad(e){return typeof e=="function"&&e.hasOwnProperty(tm)&&e.__forward_ref__===xd}function D(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Qt(e){return{providers:e.providers||[],imports:e.imports||[]}}function ri(e){return $l(e,Rd)||$l(e,Od)}function Nd(e){return ri(e)!==null}function $l(e,t){return e.hasOwnProperty(t)?e[t]:null}function nm(e){let t=e&&(e[Rd]||e[Od]);return t||null}function Ul(e){return e&&(e.hasOwnProperty(Bl)||e.hasOwnProperty(rm))?e[Bl]:null}var Rd=$({\u0275prov:$}),Bl=$({\u0275inj:$}),Od=$({ngInjectableDef:$}),rm=$({ngInjectorDef:$}),C=class{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=D({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Pd(e){return e&&!!e.\u0275providers}var om=$({\u0275cmp:$}),im=$({\u0275dir:$}),sm=$({\u0275pipe:$}),am=$({\u0275mod:$}),Lo=$({\u0275fac:$}),er=$({__NG_ELEMENT_ID__:$}),Hl=$({__NG_ENV_ID__:$});function oi(e){return typeof e=="string"?e:e==null?"":String(e)}function cm(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():oi(e)}function um(e,t){let n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new y(-200,e)}function Wa(e,t){throw new y(-201,!1)}var A=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}(A||{}),ta;function Fd(){return ta}function ge(e){let t=ta;return ta=e,t}function kd(e,t,n){let r=ri(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&A.Optional)return null;if(t!==void 0)return t;Wa(e,"Injector")}var lm={},tr=lm,na="__NG_DI_FLAG__",jo="ngTempTokenPath",dm="ngTokenPath",fm=/\n/gm,hm="\u0275",zl="__source",Dn;function pm(){return Dn}function It(e){let t=Dn;return Dn=e,t}function gm(e,t=A.Default){if(Dn===void 0)throw new y(-203,!1);return Dn===null?kd(e,void 0,t):Dn.get(e,t&A.Optional?null:void 0,t)}function w(e,t=A.Default){return(Fd()||gm)(Me(e),t)}function p(e,t=A.Default){return w(e,ii(t))}function ii(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function ra(e){let t=[];for(let n=0;n<e.length;n++){let r=Me(e[n]);if(Array.isArray(r)){if(r.length===0)throw new y(900,!1);let o,i=A.Default;for(let s=0;s<r.length;s++){let a=r[s],c=mm(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(w(o,i))}else t.push(w(r))}return t}function Ld(e,t){return e[na]=t,e.prototype[na]=t,e}function mm(e){return e[na]}function vm(e,t,n,r){let o=e[jo];throw t[zl]&&o.unshift(t[zl]),e.message=ym(`
`+e.message,o,n,r),e[dm]=o,e[jo]=null,e}function ym(e,t,n,r=null){e=e&&e.charAt(0)===`
`&&e.charAt(1)==hm?e.slice(2):e;let o=le(t);if(Array.isArray(t))o=t.map(le).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):le(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(fm,`
`)}`}var si=Ld(_d("Optional"),8);var Za=Ld(_d("SkipSelf"),4);function zt(e,t){let n=e.hasOwnProperty(Lo);return n?e[Lo]:null}function Ya(e,t){e.forEach(n=>Array.isArray(n)?Ya(n,t):t(n))}function jd(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Vo(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Dm(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function wm(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(o===1)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;){let i=o-2;e[o]=e[i],o--}e[t]=n,e[t+1]=r}}function Im(e,t,n){let r=gr(e,t);return r>=0?e[r|1]=n:(r=~r,wm(e,r,t,n)),r}function Us(e,t){let n=gr(e,t);if(n>=0)return e[n|1]}function gr(e,t){return Cm(e,t,1)}function Cm(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=e[i<<n];if(t===s)return i<<n;s>t?o=i:r=i+1}return~(o<<n)}var nr={},Pe=[],In=new C(""),Vd=new C("",-1),$d=new C(""),$o=class{get(t,n=tr){if(n===tr){let r=new Error(`NullInjectorError: No provider for ${le(t)}!`);throw r.name="NullInjectorError",r}return n}},Ud=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Ud||{}),Ge=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Ge||{}),Le=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Le||{});function Em(e,t,n){let r=e.length;for(;;){let o=e.indexOf(t,n);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}function oa(e,t,n){let r=0;for(;r<n.length;){let o=n[r];if(typeof o=="number"){if(o!==0)break;r++;let i=n[r++],s=n[r++],a=n[r++];e.setAttribute(t,s,a,i)}else{let i=o,s=n[++r];bm(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function Bd(e){return e===3||e===4||e===6}function bm(e){return e.charCodeAt(0)===64}function Qa(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){let o=t[r];typeof o=="number"?n=o:n===0||(n===-1||n===2?ql(e,n,o,null,t[++r]):ql(e,n,o,null,null))}}return e}function ql(e,t,n,r,o){let i=0,s=e.length;if(t===-1)s=-1;else for(;i<e.length;){let a=e[i++];if(typeof a=="number"){if(a===t){s=-1;break}else if(a>t){s=i-1;break}}}for(;i<e.length;){let a=e[i];if(typeof a=="number")break;if(a===n){if(r===null){o!==null&&(e[i+1]=o);return}else if(r===e[i+1]){e[i+2]=o;return}}i++,r!==null&&i++,o!==null&&i++}s!==-1&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),r!==null&&e.splice(i++,0,r),o!==null&&e.splice(i++,0,o)}var Hd="ng-template";function Mm(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&Em(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(Ka(e))return!1;if(o=t.indexOf(1,o),o>-1){let i;for(;++o<t.length&&typeof(i=t[o])=="string";)if(i.toLowerCase()===n)return!0}return!1}function Ka(e){return e.type===4&&e.value!==Hd}function Sm(e,t,n){let r=e.type===4&&!n?Hd:e.value;return t===r}function Tm(e,t,n){let r=4,o=e.attrs,i=o!==null?Am(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!Oe(r)&&!Oe(c))return!1;if(s&&Oe(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!Sm(e,c,n)||c===""&&t.length===1){if(Oe(r))return!1;s=!0}}else if(r&8){if(o===null||!Mm(e,o,c,n)){if(Oe(r))return!1;s=!0}}else{let u=t[++a],l=_m(c,o,Ka(e),n);if(l===-1){if(Oe(r))return!1;s=!0;continue}if(u!==""){let d;if(l>i?d="":d=o[l+1].toLowerCase(),r&2&&u!==d){if(Oe(r))return!1;s=!0}}}}return Oe(r)||s}function Oe(e){return(e&1)===0}function _m(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o<t.length;){let s=t[o];if(s===e)return o;if(s===3||s===6)i=!0;else if(s===1||s===2){let a=t[++o];for(;typeof a=="string";)a=t[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=i?1:2}return-1}else return Nm(t,e)}function zd(e,t,n=!1){for(let r=0;r<t.length;r++)if(Tm(e,t[r],n))return!0;return!1}function xm(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if(!(n&1))return t[n+1]}return null}function Am(e){for(let t=0;t<e.length;t++){let n=e[t];if(Bd(n))return t}return e.length}function Nm(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){let r=e[n];if(typeof r=="number")return-1;if(r===t)return n;n++}return-1}function Rm(e,t){e:for(let n=0;n<t.length;n++){let r=t[n];if(e.length===r.length){for(let o=0;o<e.length;o++)if(e[o]!==r[o])continue e;return!0}}return!1}function Gl(e,t){return e?":not("+t.trim()+")":t}function Om(e){let t=e[0],n=1,r=2,o="",i=!1;for(;n<e.length;){let s=e[n];if(typeof s=="string")if(r&2){let a=e[++n];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!Oe(s)&&(t+=Gl(i,o),o=""),r=s,i=i||!Oe(r);n++}return o!==""&&(t+=Gl(i,o)),t}function Pm(e){return e.map(Om).join(",")}function Fm(e){let t=[],n=[],r=1,o=2;for(;r<e.length;){let i=e[r];if(typeof i=="string")o===2?i!==""&&t.push(i,e[++r]):o===8&&n.push(i);else{if(!Oe(o))break;o=i}r++}return{attrs:t,classes:n}}function ai(e){return pr(()=>{let t=Yd(e),n=W(m({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Ud.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Ge.Emulated,styles:e.styles||Pe,_:null,schemas:e.schemas||null,tView:null,id:""});Qd(n);let r=e.dependencies;return n.directiveDefs=Zl(r,!1),n.pipeDefs=Zl(r,!0),n.id=jm(n),n})}function km(e){return Et(e)||qd(e)}function Lm(e){return e!==null}function Kt(e){return pr(()=>({type:e.type,bootstrap:e.bootstrap||Pe,declarations:e.declarations||Pe,imports:e.imports||Pe,exports:e.exports||Pe,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Wl(e,t){if(e==null)return nr;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a=Le.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),t?(n[i]=a!==Le.None?[r,a]:r,t[i]=s):n[i]=r}return n}function Tn(e){return pr(()=>{let t=Yd(e);return Qd(t),t})}function Ja(e){return{type:e.type,name:e.name,factory:null,pure:e.pure!==!1,standalone:e.standalone===!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function Et(e){return e[om]||null}function qd(e){return e[im]||null}function Gd(e){return e[sm]||null}function Wd(e){let t=Et(e)||qd(e)||Gd(e);return t!==null?t.standalone:!1}function Zd(e,t){let n=e[am]||null;if(!n&&t===!0)throw new Error(`Type ${le(e)} does not have '\u0275mod' property.`);return n}function Yd(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||nr,exportAs:e.exportAs||null,standalone:e.standalone===!0,signals:e.signals===!0,selectors:e.selectors||Pe,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Wl(e.inputs,t),outputs:Wl(e.outputs),debugInfo:null}}function Qd(e){e.features?.forEach(t=>t(e))}function Zl(e,t){if(!e)return null;let n=t?Gd:km;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(Lm)}function jm(e){let t=0,n=[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 n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function _n(e){return{\u0275providers:e}}function Vm(...e){return{\u0275providers:Kd(!0,e),\u0275fromNgModule:!0}}function Kd(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return Ya(t,s=>{let a=s;ia(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Jd(o,i),n}function Jd(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];Xa(o,i=>{t(i,r)})}}function ia(e,t,n,r){if(e=Me(e),!e)return!1;let o=null,i=Ul(e),s=!i&&Et(e);if(!i&&!s){let c=e.ngModule;if(i=Ul(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let u of c)ia(u,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let u;try{Ya(i.imports,l=>{ia(l,t,n,r)&&(u||=[],u.push(l))})}finally{}u!==void 0&&Jd(u,t)}if(!a){let u=zt(o)||(()=>new o);t({provide:o,useFactory:u,deps:Pe},o),t({provide:$d,useValue:o,multi:!0},o),t({provide:In,useValue:()=>w(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let u=e;Xa(c,l=>{t(l,u)})}}else return!1;return o!==e&&e.providers!==void 0}function Xa(e,t){for(let n of e)Pd(n)&&(n=n.\u0275providers),Array.isArray(n)?Xa(n,t):t(n)}var $m=$({provide:String,useValue:$});function Xd(e){return e!==null&&typeof e=="object"&&$m in e}function Um(e){return!!(e&&e.useExisting)}function Bm(e){return!!(e&&e.useFactory)}function sa(e){return typeof e=="function"}var ci=new C(""),Ro={},Hm={},Bs;function ec(){return Bs===void 0&&(Bs=new $o),Bs}var ie=class{},rr=class extends ie{get destroyed(){return this._destroyed}constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,ca(t,s=>this.processProvider(s)),this.records.set(Vd,gn(void 0,this)),o.has("environment")&&this.records.set(ie,gn(void 0,this));let i=this.records.get(ci);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get($d,Pe,A.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let t=O(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),O(t)}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();let n=It(this),r=ge(void 0),o;try{return t()}finally{It(n),ge(r)}}get(t,n=tr,r=A.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(Hl))return t[Hl](this);r=ii(r);let o,i=It(this),s=ge(void 0);try{if(!(r&A.SkipSelf)){let c=this.records.get(t);if(c===void 0){let u=Ym(t)&&ri(t);u&&this.injectableDefInScope(u)?c=gn(aa(t),Ro):c=null,this.records.set(t,c)}if(c!=null)return this.hydrate(t,c)}let a=r&A.Self?ec():this.parent;return n=r&A.Optional&&n===tr?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[jo]=a[jo]||[]).unshift(le(t)),i)throw a;return vm(a,t,"R3InjectorError",this.source)}else throw a}finally{ge(s),It(i)}}resolveInjectorInitializers(){let t=O(null),n=It(this),r=ge(void 0),o;try{let i=this.get(In,Pe,A.Self);for(let s of i)s()}finally{It(n),ge(r),O(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(le(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new y(205,!1)}processProvider(t){t=Me(t);let n=sa(t)?t:Me(t&&t.provide),r=qm(t);if(!sa(t)&&t.multi===!0){let o=this.records.get(n);o||(o=gn(void 0,Ro,!0),o.factory=()=>ra(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){let r=O(null);try{return n.value===Ro&&(n.value=Hm,n.value=n.factory()),typeof n.value=="object"&&n.value&&Zm(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{O(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=Me(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function aa(e){let t=ri(e),n=t!==null?t.factory:zt(e);if(n!==null)return n;if(e instanceof C)throw new y(204,!1);if(e instanceof Function)return zm(e);throw new y(204,!1)}function zm(e){if(e.length>0)throw new y(204,!1);let n=nm(e);return n!==null?()=>n.factory(e):()=>new e}function qm(e){if(Xd(e))return gn(void 0,e.useValue);{let t=Gm(e);return gn(t,Ro)}}function Gm(e,t,n){let r;if(sa(e)){let o=Me(e);return zt(o)||aa(o)}else if(Xd(e))r=()=>Me(e.useValue);else if(Bm(e))r=()=>e.useFactory(...ra(e.deps||[]));else if(Um(e))r=()=>w(Me(e.useExisting));else{let o=Me(e&&(e.useClass||e.provide));if(Wm(e))r=()=>new o(...ra(e.deps));else return zt(o)||aa(o)}return r}function gn(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Wm(e){return!!e.deps}function Zm(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Ym(e){return typeof e=="function"||typeof e=="object"&&e instanceof C}function ca(e,t){for(let n of e)Array.isArray(n)?ca(n,t):n&&Pd(n)?ca(n.\u0275providers,t):t(n)}function $e(e,t){e instanceof rr&&e.assertNotDestroyed();let n,r=It(e),o=ge(void 0);try{return t()}finally{It(r),ge(o)}}function ef(){return Fd()!==void 0||pm()!=null}function Qm(e){if(!ef())throw new y(-203,!1)}function Km(e){return typeof e=="function"}var ct=0,R=1,b=2,se=3,ke=4,we=5,or=6,ir=7,it=8,Cn=9,je=10,J=11,sr=12,Yl=13,mr=14,Ve=15,ui=16,mn=17,En=18,li=19,tf=20,Ct=21,Hs=22,qt=23,Te=25,nf=1;var Gt=7,Uo=8,Bo=9,Se=10,tc=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(tc||{});function Bt(e){return Array.isArray(e)&&typeof e[nf]=="object"}function ut(e){return Array.isArray(e)&&e[nf]===!0}function nc(e){return(e.flags&4)!==0}function di(e){return e.componentOffset>-1}function fi(e){return(e.flags&1)===1}function vr(e){return!!e.template}function Jm(e){return(e[b]&512)!==0}var ua=class{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function rf(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}function yr(){return of}function of(e){return e.type.prototype.ngOnChanges&&(e.setInput=ev),Xm}yr.ngInherit=!0;function Xm(){let e=af(this),t=e?.current;if(t){let n=e.previous;if(n===nr)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function ev(e,t,n,r,o){let i=this.declaredInputs[r],s=af(e)||tv(e,{previous:nr,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[i];a[i]=new ua(u&&u.currentValue,n,c===nr),rf(e,t,o,n)}var sf="__ngSimpleChanges__";function af(e){return e[sf]||null}function tv(e,t){return e[sf]=t}var Ql=null;var ze=function(e,t,n){Ql?.(e,t,n)},nv="svg",rv="math",ov=!1;function iv(){return ov}function We(e){for(;Array.isArray(e);)e=e[ct];return e}function cf(e,t){return We(t[e])}function _e(e,t){return We(t[e.index])}function uf(e,t){return e.data[t]}function sv(e,t){return e[t]}function St(e,t){let n=t[e];return Bt(n)?n:n[ct]}function rc(e){return(e[b]&128)===128}function av(e){return ut(e[se])}function bn(e,t){return t==null?null:e[t]}function lf(e){e[mn]=0}function cv(e){e[b]&1024||(e[b]|=1024,rc(e)&&ar(e))}function oc(e){return!!(e[b]&9216||e[qt]?.dirty)}function la(e){e[je].changeDetectionScheduler?.notify(1),oc(e)?ar(e):e[b]&64&&(iv()?(e[b]|=1024,ar(e)):e[je].changeDetectionScheduler?.notify())}function ar(e){e[je].changeDetectionScheduler?.notify();let t=cr(e);for(;t!==null&&!(t[b]&8192||(t[b]|=8192,!rc(t)));)t=cr(t)}function df(e,t){if((e[b]&256)===256)throw new y(911,!1);e[Ct]===null&&(e[Ct]=[]),e[Ct].push(t)}function uv(e,t){if(e[Ct]===null)return;let n=e[Ct].indexOf(t);n!==-1&&e[Ct].splice(n,1)}function cr(e){let t=e[se];return ut(t)?t[se]:t}var F={lFrame:yf(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function lv(){return F.lFrame.elementDepthCount}function dv(){F.lFrame.elementDepthCount++}function fv(){F.lFrame.elementDepthCount--}function ff(){return F.bindingsEnabled}function hf(){return F.skipHydrationRootTNode!==null}function hv(e){return F.skipHydrationRootTNode===e}function pv(){F.skipHydrationRootTNode=null}function U(){return F.lFrame.lView}function me(){return F.lFrame.tView}function Ie(){let e=pf();for(;e!==null&&e.type===64;)e=e.parent;return e}function pf(){return F.lFrame.currentTNode}function gv(){let e=F.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Jt(e,t){let n=F.lFrame;n.currentTNode=e,n.isParent=t}function ic(){return F.lFrame.isParent}function sc(){F.lFrame.isParent=!1}function mv(){let e=F.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function vv(e){return F.lFrame.bindingIndex=e}function ac(){return F.lFrame.bindingIndex++}function yv(e){let t=F.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Dv(){return F.lFrame.inI18n}function wv(e,t){let n=F.lFrame;n.bindingIndex=n.bindingRootIndex=e,da(t)}function Iv(){return F.lFrame.currentDirectiveIndex}function da(e){F.lFrame.currentDirectiveIndex=e}function Cv(e){let t=F.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function gf(e){F.lFrame.currentQueryIndex=e}function Ev(e){let t=e[R];return t.type===2?t.declTNode:t.type===1?e[we]:null}function mf(e,t,n){if(n&A.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&A.Host);)if(o=Ev(i),o===null||(i=i[mr],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=F.lFrame=vf();return r.currentTNode=t,r.lView=e,!0}function cc(e){let t=vf(),n=e[R];F.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function vf(){let e=F.lFrame,t=e===null?null:e.child;return t===null?yf(e):t}function yf(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 Df(){let e=F.lFrame;return F.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var wf=Df;function uc(){let e=Df();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 xn(){return F.lFrame.selectedIndex}function Wt(e){F.lFrame.selectedIndex=e}function lc(){let e=F.lFrame;return uf(e.tView,e.selectedIndex)}function bv(){return F.lFrame.currentNamespace}var If=!0;function hi(){return If}function pi(e){If=e}function Mv(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=of(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}function gi(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){let i=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:u,ngOnDestroy:l}=i;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),c&&(e.viewHooks??=[]).push(-n,c),u&&((e.viewHooks??=[]).push(n,u),(e.viewCheckHooks??=[]).push(n,u)),l!=null&&(e.destroyHooks??=[]).push(n,l)}}function Oo(e,t,n){Cf(e,t,3,n)}function Po(e,t,n,r){(e[b]&3)===n&&Cf(e,t,n,r)}function zs(e,t){let n=e[b];(n&3)===t&&(n&=16383,n+=1,e[b]=n)}function Cf(e,t,n,r){let o=r!==void 0?e[mn]&65535:0,i=r??-1,s=t.length-1,a=0;for(let c=o;c<s;c++)if(typeof t[c+1]=="number"){if(a=t[c],r!=null&&a>=r)break}else t[c]<0&&(e[mn]+=65536),(a<i||i==-1)&&(Sv(e,n,t,c),e[mn]=(e[mn]&4294901760)+c+2),c++}function Kl(e,t){ze(4,e,t);let n=O(null);try{t.call(e)}finally{O(n),ze(5,e,t)}}function Sv(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[b]>>14<e[mn]>>16&&(e[b]&3)===t&&(e[b]+=16384,Kl(a,i)):Kl(a,i)}var wn=-1,ur=class{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}};function Tv(e){return e instanceof ur}function _v(e){return(e.flags&8)!==0}function xv(e){return(e.flags&16)!==0}function Ef(e){return e!==wn}function Ho(e){return e&32767}function Av(e){return e>>16}function zo(e,t){let n=Av(e),r=t;for(;n>0;)r=r[mr],n--;return r}var fa=!0;function qo(e){let t=fa;return fa=e,t}var Nv=256,bf=Nv-1,Mf=5,Rv=0,qe={};function Ov(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(er)&&(r=n[er]),r==null&&(r=n[er]=Rv++);let o=r&bf,i=1<<o;t.data[e+(o>>Mf)]|=i}function Sf(e,t){let n=Tf(e,t);if(n!==-1)return n;let r=t[R];r.firstCreatePass&&(e.injectorIndex=t.length,qs(r.data,e),qs(t,null),qs(r.blueprint,null));let o=dc(e,t),i=e.injectorIndex;if(Ef(o)){let s=Ho(o),a=zo(o,t),c=a[R].data;for(let u=0;u<8;u++)t[i+u]=a[s+u]|c[s+u]}return t[i+8]=o,i}function qs(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Tf(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function dc(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;o!==null;){if(r=Rf(o),r===null)return wn;if(n++,o=o[mr],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return wn}function Pv(e,t,n){Ov(e,t,n)}function Fv(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let n=e.attrs;if(n){let r=n.length,o=0;for(;o<r;){let i=n[o];if(Bd(i))break;if(i===0)o=o+2;else if(typeof i=="number")for(o++;o<r&&typeof n[o]=="string";)o++;else{if(i===t)return n[o+1];o=o+2}}}return null}function _f(e,t,n){if(n&A.Optional||e!==void 0)return e;Wa(t,"NodeInjector")}function xf(e,t,n,r){if(n&A.Optional&&r===void 0&&(r=null),!(n&(A.Self|A.Host))){let o=e[Cn],i=ge(void 0);try{return o?o.get(t,r,n&A.Optional):kd(t,r,n&A.Optional)}finally{ge(i)}}return _f(r,t,n)}function Af(e,t,n,r=A.Default,o){if(e!==null){if(t[b]&2048&&!(r&A.Self)){let s=$v(e,t,n,r,qe);if(s!==qe)return s}let i=Nf(e,t,n,r,qe);if(i!==qe)return i}return xf(t,n,r,o)}function Nf(e,t,n,r,o){let i=jv(n);if(typeof i=="function"){if(!mf(t,e,r))return r&A.Host?_f(o,n,r):xf(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&A.Optional))Wa(n);else return s}finally{wf()}}else if(typeof i=="number"){let s=null,a=Tf(e,t),c=wn,u=r&A.Host?t[Ve][we]:null;for((a===-1||r&A.SkipSelf)&&(c=a===-1?dc(e,t):t[a+8],c===wn||!Xl(r,!1)?a=-1:(s=t[R],a=Ho(c),t=zo(c,t)));a!==-1;){let l=t[R];if(Jl(i,a,l.data)){let d=kv(a,t,n,s,r,u);if(d!==qe)return d}c=t[a+8],c!==wn&&Xl(r,t[R].data[a+8]===u)&&Jl(i,a,t)?(s=l,a=Ho(c),t=zo(c,t)):a=-1}}return o}function kv(e,t,n,r,o,i){let s=t[R],a=s.data[e+8],c=r==null?di(a)&&fa:r!=s&&(a.type&3)!==0,u=o&A.Host&&i===a,l=Lv(a,s,n,c,u);return l!==null?lr(t,s,l,a):qe}function Lv(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,c=e.directiveStart,u=e.directiveEnd,l=i>>20,d=r?a:a+l,f=o?a+l:u;for(let h=d;h<f;h++){let v=s[h];if(h<c&&n===v||h>=c&&v.type===n)return h}if(o){let h=s[c];if(h&&vr(h)&&h.type===n)return c}return null}function lr(e,t,n,r){let o=e[n],i=t.data;if(Tv(o)){let s=o;s.resolving&&um(cm(i[n]));let a=qo(s.canSeeViewProviders);s.resolving=!0;let c,u=s.injectImpl?ge(s.injectImpl):null,l=mf(e,r,A.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&Mv(n,i[n],t)}finally{u!==null&&ge(u),qo(a),s.resolving=!1,wf()}}return o}function jv(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(er)?e[er]:void 0;return typeof t=="number"?t>=0?t&bf:Vv:t}function Jl(e,t,n){let r=1<<e;return!!(n[t+(e>>Mf)]&r)}function Xl(e,t){return!(e&A.Self)&&!(e&A.Host&&t)}var Ht=class{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Af(this._tNode,this._lView,t,ii(r),n)}};function Vv(){return new Ht(Ie(),U())}function fc(e){return pr(()=>{let t=e.prototype.constructor,n=t[Lo]||ha(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Lo]||ha(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function ha(e){return Ad(e)?()=>{let t=ha(Me(e));return t&&t()}:zt(e)}function $v(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[b]&2048&&!(s[b]&512);){let a=Nf(i,s,n,r|A.Self,qe);if(a!==qe)return a;let c=i.parent;if(!c){let u=s[tf];if(u){let l=u.get(n,qe,r);if(l!==qe)return l}c=Rf(s),s=s[mr]}i=c}return o}function Rf(e){let t=e[R],n=t.type;return n===2?t.declTNode:n===1?e[we]:null}function hc(e){return Fv(Ie(),e)}function ed(e,t=null,n=null,r){let o=Of(e,t,n,r);return o.resolveInjectorInitializers(),o}function Of(e,t=null,n=null,r,o=new Set){let i=[n||Pe,Vm(e)];return r=r||(typeof e=="object"?void 0:le(e)),new rr(i,t||ec(),r||null,o)}var Tt=(()=>{class e{static{this.THROW_IF_NOT_FOUND=tr}static{this.NULL=new $o}static create(n,r){if(Array.isArray(n))return ed({name:""},r,n,"");{let o=n.name??"";return ed({name:o},n.parent,n.providers,o)}}static{this.\u0275prov=D({token:e,providedIn:"any",factory:()=>w(Vd)})}static{this.__NG_ELEMENT_ID__=-1}}return e})();var Uv="ngOriginalError";function Gs(e){return e[Uv]}var Ze=class{constructor(){this._console=console}handleError(t){let n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Gs(t);for(;n&&Gs(n);)n=Gs(n);return n||null}},Pf=new C("",{providedIn:"root",factory:()=>p(Ze).handleError.bind(void 0)}),pc=(()=>{class e{static{this.__NG_ELEMENT_ID__=Bv}static{this.__NG_ENV_ID__=n=>n}}return e})(),pa=class extends pc{constructor(t){super(),this._lView=t}onDestroy(t){return df(this._lView,t),()=>uv(this._lView,t)}};function Bv(){return new pa(U())}function Hv(){return mi(Ie(),U())}function mi(e,t){return new Dr(_e(e,t))}var Dr=(()=>{class e{constructor(n){this.nativeElement=n}static{this.__NG_ELEMENT_ID__=Hv}}return e})();var ga=class extends Q{constructor(t=!1){super(),this.destroyRef=void 0,this.__isAsync=t,ef()&&(this.destroyRef=p(pc,{optional:!0})??void 0)}emit(t){let n=O(null);try{super.next(t)}finally{O(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let c=t;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=Ws(i),o&&(o=Ws(o)),s&&(s=Ws(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof Z&&t.add(a),a}};function Ws(e){return t=>{setTimeout(e,void 0,t)}}var Fe=ga;function Ff(e){return(e.flags&128)===128}var kf=new Map,zv=0;function qv(){return zv++}function Gv(e){kf.set(e[li],e)}function Wv(e){kf.delete(e[li])}var td="__ngContext__";function bt(e,t){Bt(t)?(e[td]=t[li],Gv(t)):e[td]=t}function Lf(e){return Vf(e[sr])}function jf(e){return Vf(e[ke])}function Vf(e){for(;e!==null&&!ut(e);)e=e[ke];return e}var ma;function $f(e){ma=e}function Zv(){if(ma!==void 0)return ma;if(typeof document<"u")return document;throw new y(210,!1)}var gc=new C("",{providedIn:"root",factory:()=>Yv}),Yv="ng",mc=new C(""),Ye=new C("",{providedIn:"platform",factory:()=>"unknown"});var vc=new C("",{providedIn:"root",factory:()=>Zv().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var Qv="h",Kv="b";var Jv=()=>null;function yc(e,t,n=!1){return Jv(e,t,n)}var Uf=!1,Xv=new C("",{providedIn:"root",factory:()=>Uf});var _o;function ey(){if(_o===void 0&&(_o=null,De.trustedTypes))try{_o=De.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return _o}function vi(e){return ey()?.createHTML(e)||e}var xo;function ty(){if(xo===void 0&&(xo=null,De.trustedTypes))try{xo=De.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return xo}function nd(e){return ty()?.createScriptURL(e)||e}var st=class{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Td})`}},va=class extends st{getTypeName(){return"HTML"}},ya=class extends st{getTypeName(){return"Style"}},Da=class extends st{getTypeName(){return"Script"}},wa=class extends st{getTypeName(){return"URL"}},Ia=class extends st{getTypeName(){return"ResourceURL"}};function Qe(e){return e instanceof st?e.changingThisBreaksApplicationSecurity:e}function _t(e,t){let n=ny(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Td})`)}return n===t}function ny(e){return e instanceof st&&e.getTypeName()||null}function Bf(e){return new va(e)}function Hf(e){return new ya(e)}function zf(e){return new Da(e)}function qf(e){return new wa(e)}function Gf(e){return new Ia(e)}function ry(e){let t=new Ea(e);return oy()?new Ca(t):t}var Ca=class{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(vi(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}},Ea=class{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){let n=this.inertDocument.createElement("template");return n.innerHTML=vi(t),n}};function oy(){try{return!!new window.DOMParser().parseFromString(vi(""),"text/html")}catch{return!1}}var iy=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function yi(e){return e=String(e),e.match(iy)?e:"unsafe:"+e}function lt(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function wr(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var Wf=lt("area,br,col,hr,img,wbr"),Zf=lt("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Yf=lt("rp,rt"),sy=wr(Yf,Zf),ay=wr(Zf,lt("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),cy=wr(Yf,lt("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),rd=wr(Wf,ay,cy,sy),Qf=lt("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),uy=lt("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),ly=lt("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),dy=wr(Qf,uy,ly),fy=lt("script,style,template"),ba=class{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,r=!0,o=[];for(;n;){if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild){o.push(n),n=gy(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=py(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=od(t).toLowerCase();if(!rd.hasOwnProperty(n))return this.sanitizedSomething=!0,!fy.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);let r=t.attributes;for(let o=0;o<r.length;o++){let i=r.item(o),s=i.name,a=s.toLowerCase();if(!dy.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;Qf[a]&&(c=yi(c)),this.buf.push(" ",s,'="',id(c),'"')}return this.buf.push(">"),!0}endElement(t){let n=od(t).toLowerCase();rd.hasOwnProperty(n)&&!Wf.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(id(t))}};function hy(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function py(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw Kf(t);return t}function gy(e){let t=e.firstChild;if(t&&hy(e,t))throw Kf(t);return t}function od(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function Kf(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var my=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,vy=/([^\#-~ |!])/g;function id(e){return e.replace(/&/g,"&").replace(my,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(vy,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var Ao;function Jf(e,t){let n=null;try{Ao=Ao||ry(e);let r=t?String(t):"";n=Ao.getInertBodyElement(r);let o=5,i=r;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=Ao.getInertBodyElement(r)}while(r!==i);let a=new ba().sanitizeChildren(sd(n)||n);return vi(a)}finally{if(n){let r=sd(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function sd(e){return"content"in e&&yy(e)?e.content:null}function yy(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var Ke=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}(Ke||{});function Dy(e){let t=eh();return t?t.sanitize(Ke.URL,e)||"":_t(e,"URL")?Qe(e):yi(oi(e))}function wy(e){let t=eh();if(t)return nd(t.sanitize(Ke.RESOURCE_URL,e)||"");if(_t(e,"ResourceURL"))return nd(Qe(e));throw new y(904,!1)}function Iy(e,t){return t==="src"&&(e==="embed"||e==="frame"||e==="iframe"||e==="media"||e==="script")||t==="href"&&(e==="base"||e==="link")?wy:Dy}function Xf(e,t,n){return Iy(t,n)(e)}function eh(){let e=U();return e&&e[je].sanitizer}var Cy=/^>|^->|<!--|-->|--!>|<!-$/g,Ey=/(<|>)/g,by="\u200B$1\u200B";function My(e){return e.replace(Cy,t=>t.replace(Ey,by))}function th(e){return e instanceof Function?e():e}function Sy(e){return(e??p(Tt)).get(Ye)==="browser"}var at=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(at||{}),Ty;function Dc(e,t){return Ty(e,t)}function vn(e,t,n,r,o){if(r!=null){let i,s=!1;ut(r)?i=r:Bt(r)&&(s=!0,r=r[ct]);let a=We(r);e===0&&n!==null?o==null?ah(t,n,a):Go(t,n,a,o||null,!0):e===1&&n!==null?Go(t,n,a,o||null,!0):e===2?Hy(t,a,s):e===3&&t.destroyNode(a),i!=null&&qy(t,e,i,n,o)}}function _y(e,t){return e.createText(t)}function xy(e,t,n){e.setValue(t,n)}function Ay(e,t){return e.createComment(My(t))}function nh(e,t,n){return e.createElement(t,n)}function Ny(e,t){rh(e,t),t[ct]=null,t[we]=null}function Ry(e,t,n,r,o,i){r[ct]=o,r[we]=t,wi(e,r,n,1,o,i)}function rh(e,t){t[je].changeDetectionScheduler?.notify(1),wi(e,t,t[J],2,null,null)}function Oy(e){let t=e[sr];if(!t)return Zs(e[R],e);for(;t;){let n=null;if(Bt(t))n=t[sr];else{let r=t[Se];r&&(n=r)}if(!n){for(;t&&!t[ke]&&t!==e;)Bt(t)&&Zs(t[R],t),t=t[se];t===null&&(t=e),Bt(t)&&Zs(t[R],t),n=t&&t[ke]}t=n}}function Py(e,t,n,r){let o=Se+r,i=n.length;r>0&&(n[o-1][ke]=t),r<i-Se?(t[ke]=n[o],jd(n,Se+r,t)):(n.push(t),t[ke]=null),t[se]=n;let s=t[ui];s!==null&&n!==s&&Fy(s,t);let a=t[En];a!==null&&a.insertView(e),la(t),t[b]|=128}function Fy(e,t){let n=e[Bo],o=t[se][se][Ve];t[Ve]!==o&&(e[b]|=tc.HasTransplantedViews),n===null?e[Bo]=[t]:n.push(t)}function oh(e,t){let n=e[Bo],r=n.indexOf(t);n.splice(r,1)}function Ma(e,t){if(e.length<=Se)return;let n=Se+t,r=e[n];if(r){let o=r[ui];o!==null&&o!==e&&oh(o,r),t>0&&(e[n-1][ke]=r[ke]);let i=Vo(e,Se+t);Ny(r[R],r);let s=i[En];s!==null&&s.detachView(i[R]),r[se]=null,r[ke]=null,r[b]&=-129}return r}function ih(e,t){if(!(t[b]&256)){let n=t[J];n.destroyNode&&wi(e,t,n,3,null,null),Oy(t)}}function Zs(e,t){if(t[b]&256)return;let n=O(null);try{t[b]&=-129,t[b]|=256,t[qt]&&al(t[qt]),Ly(e,t),ky(e,t),t[R].type===1&&t[J].destroy();let r=t[ui];if(r!==null&&ut(t[se])){r!==t[se]&&oh(r,t);let o=t[En];o!==null&&o.detachView(e)}Wv(t)}finally{O(n)}}function ky(e,t){let n=e.cleanup,r=t[ir];if(n!==null)for(let i=0;i<n.length-1;i+=2)if(typeof n[i]=="string"){let s=n[i+3];s>=0?r[s]():r[-s].unsubscribe(),i+=2}else{let s=r[n[i+1]];n[i].call(s)}r!==null&&(t[ir]=null);let o=t[Ct];if(o!==null){t[Ct]=null;for(let i=0;i<o.length;i++){let s=o[i];s()}}}function Ly(e,t){let n;if(e!=null&&(n=e.destroyHooks)!=null)for(let r=0;r<n.length;r+=2){let o=t[n[r]];if(!(o instanceof ur)){let i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],c=i[s+1];ze(4,a,c);try{c.call(a)}finally{ze(5,a,c)}}else{ze(4,o,i);try{i.call(o)}finally{ze(5,o,i)}}}}}function sh(e,t,n){return jy(e,t.parent,n)}function jy(e,t,n){let r=t;for(;r!==null&&r.type&40;)t=r,r=t.parent;if(r===null)return n[ct];{let{componentOffset:o}=r;if(o>-1){let{encapsulation:i}=e.data[r.directiveStart+o];if(i===Ge.None||i===Ge.Emulated)return null}return _e(r,n)}}function Go(e,t,n,r,o){e.insertBefore(t,n,r,o)}function ah(e,t,n){e.appendChild(t,n)}function ad(e,t,n,r,o){r!==null?Go(e,t,n,r,o):ah(e,t,n)}function Vy(e,t,n,r){e.removeChild(t,n,r)}function wc(e,t){return e.parentNode(t)}function $y(e,t){return e.nextSibling(t)}function ch(e,t,n){return By(e,t,n)}function Uy(e,t,n){return e.type&40?_e(e,n):null}var By=Uy,cd;function Di(e,t,n,r){let o=sh(e,r,t),i=t[J],s=r.parent||t[we],a=ch(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)ad(i,o,n[c],a,!1);else ad(i,o,n,a,!1);cd!==void 0&&cd(i,r,t,n,o)}function Fo(e,t){if(t!==null){let n=t.type;if(n&3)return _e(t,e);if(n&4)return Sa(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return Fo(e,r);{let o=e[t.index];return ut(o)?Sa(-1,o):We(o)}}else{if(n&32)return Dc(t,e)()||We(e[t.index]);{let r=uh(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=cr(e[Ve]);return Fo(o,r)}else return Fo(e,t.next)}}}return null}function uh(e,t){if(t!==null){let r=e[Ve][we],o=t.projection;return r.projection[o]}return null}function Sa(e,t){let n=Se+e+1;if(n<t.length){let r=t[n],o=r[R].firstChild;if(o!==null)return Fo(r,o)}return t[Gt]}function Hy(e,t,n){let r=wc(e,t);r&&Vy(e,r,t,n)}function Ic(e,t,n,r,o,i,s){for(;n!=null;){let a=r[n.index],c=n.type;if(s&&t===0&&(a&&bt(We(a),r),n.flags|=2),(n.flags&32)!==32)if(c&8)Ic(e,t,n.child,r,o,i,!1),vn(t,e,o,a,i);else if(c&32){let u=Dc(n,r),l;for(;l=u();)vn(t,e,o,l,i);vn(t,e,o,a,i)}else c&16?lh(e,t,r,n,o,i):vn(t,e,o,a,i);n=s?n.projectionNext:n.next}}function wi(e,t,n,r,o,i){Ic(n,r,e.firstChild,t,o,i,!1)}function zy(e,t,n){let r=t[J],o=sh(e,n,t),i=n.parent||t[we],s=ch(i,n,t);lh(r,0,t,n,o,s)}function lh(e,t,n,r,o,i){let s=n[Ve],c=s[we].projection[r.projection];if(Array.isArray(c))for(let u=0;u<c.length;u++){let l=c[u];vn(t,e,o,l,i)}else{let u=c,l=s[se];Ff(r)&&(u.flags|=128),Ic(e,t,u,l,o,i,!0)}}function qy(e,t,n,r,o){let i=n[Gt],s=We(n);i!==s&&vn(t,e,r,i,o);for(let a=Se;a<n.length;a++){let c=n[a];wi(c[R],c,e,t,r,i)}}function Gy(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:at.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=at.Important),e.setStyle(n,r,o,i))}}function Wy(e,t,n){e.setAttribute(t,"style",n)}function dh(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function fh(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&oa(e,t,r),o!==null&&dh(e,t,o),i!==null&&Wy(e,t,i)}var xt={};function Ir(e=1){hh(me(),U(),xn()+e,!1)}function hh(e,t,n,r){if(!r)if((t[b]&3)===3){let i=e.preOrderCheckHooks;i!==null&&Oo(t,i,n)}else{let i=e.preOrderHooks;i!==null&&Po(t,i,0,n)}Wt(n)}function te(e,t=A.Default){let n=U();if(n===null)return w(e,t);let r=Ie();return Af(r,n,Me(e),t)}function ph(){let e="invalid";throw new Error(e)}function gh(e,t,n,r,o,i){let s=O(null);try{let a=null;o&Le.SignalBased&&(a=t[r][rl]),a!==null&&a.transformFn!==void 0&&(i=a.transformFn(i)),o&Le.HasDecoratorInputTransform&&(i=e.inputTransforms[r].call(t,i)),e.setInput!==null?e.setInput(t,a,i,n,r):rf(t,a,r,i)}finally{O(s)}}function Zy(e,t){let n=e.hostBindingOpCodes;if(n!==null)try{for(let r=0;r<n.length;r++){let o=n[r];if(o<0)Wt(~o);else{let i=o,s=n[++r],a=n[++r];wv(s,i);let c=t[i];a(2,c)}}}finally{Wt(-1)}}function Ii(e,t,n,r,o,i,s,a,c,u,l){let d=t.blueprint.slice();return d[ct]=o,d[b]=r|4|128|8|64,(u!==null||e&&e[b]&2048)&&(d[b]|=2048),lf(d),d[se]=d[mr]=e,d[it]=n,d[je]=s||e&&e[je],d[J]=a||e&&e[J],d[Cn]=c||e&&e[Cn]||null,d[we]=i,d[li]=qv(),d[or]=l,d[tf]=u,d[Ve]=t.type==2?e[Ve]:d,d}function An(e,t,n,r,o){let i=e.data[t];if(i===null)i=Yy(e,t,n,r,o),Dv()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=gv();i.injectorIndex=s===null?-1:s.injectorIndex}return Jt(i,!0),i}function Yy(e,t,n,r,o){let i=pf(),s=ic(),a=s?i:i&&i.parent,c=e.data[t]=eD(e,a,n,t,r,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 mh(e,t,n,r){if(n===0)return-1;let o=t.length;for(let i=0;i<n;i++)t.push(r),e.blueprint.push(r),e.data.push(null);return o}function vh(e,t,n,r,o){let i=xn(),s=r&2;try{Wt(-1),s&&t.length>Te&&hh(e,t,Te,!1),ze(s?2:0,o),n(r,o)}finally{Wt(i),ze(s?3:1,o)}}function Cc(e,t,n){if(nc(t)){let r=O(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;s<i;s++){let a=e.data[s];if(a.contentQueries){let c=n[s];a.contentQueries(1,c,s)}}}finally{O(r)}}}function Ec(e,t,n){ff()&&(sD(e,t,n,_e(n,t)),(n.flags&64)===64&&Ih(e,t,n))}function bc(e,t,n=_e){let r=t.localNames;if(r!==null){let o=t.index+1;for(let i=0;i<r.length;i+=2){let s=r[i+1],a=s===-1?n(t,e):e[s];e[o++]=a}}}function yh(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=Mc(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Mc(e,t,n,r,o,i,s,a,c,u,l){let d=Te+r,f=d+o,h=Qy(d,f),v=typeof u=="function"?u():u;return h[R]={type:e,blueprint:h,template:n,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:v,incompleteFirstPass:!1,ssrId:l}}function Qy(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:xt);return n}function Ky(e,t,n,r){let i=r.get(Xv,Uf)||n===Ge.ShadowDom,s=e.selectRootElement(t,i);return Jy(s),s}function Jy(e){Xy(e)}var Xy=()=>null;function eD(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return hf()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs: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 ud(e,t,n,r,o){for(let i in t){if(!t.hasOwnProperty(i))continue;let s=t[i];if(s===void 0)continue;r??={};let a,c=Le.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?ld(r,n,u,a,c):ld(r,n,u,a)}return r}function ld(e,t,n,r,o){let i;e.hasOwnProperty(n)?(i=e[n]).push(t,r):i=e[n]=[t,r],o!==void 0&&i.push(o)}function tD(e,t,n){let r=t.directiveStart,o=t.directiveEnd,i=e.data,s=t.attrs,a=[],c=null,u=null;for(let l=r;l<o;l++){let d=i[l],f=n?n.get(d):null,h=f?f.inputs:null,v=f?f.outputs:null;c=ud(0,d.inputs,l,c,h),u=ud(1,d.outputs,l,u,v);let g=c!==null&&s!==null&&!Ka(t)?vD(c,l,s):null;a.push(g)}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 Dh(e,t,n,r,o,i,s,a){let c=_e(t,n),u=t.inputs,l;!a&&u!=null&&(l=u[r])?(Tc(e,n,l,r,o),di(t)&&rD(n,t.index)):t.type&3?(r=nD(r),o=s!=null?s(o,t.value||"",r):o,i.setProperty(c,r,o)):t.type&12}function rD(e,t){let n=St(t,e);n[b]&16||(n[b]|=64)}function Sc(e,t,n,r){if(ff()){let o=r===null?null:{"":-1},i=cD(e,n),s,a;i===null?s=a=null:[s,a]=i,s!==null&&wh(e,t,n,s,o,a),o&&uD(n,r,o)}n.mergedAttrs=Qa(n.mergedAttrs,n.attrs)}function wh(e,t,n,r,o,i){for(let u=0;u<r.length;u++)Pv(Sf(n,t),e,r[u].type);dD(n,e.data.length,r.length);for(let u=0;u<r.length;u++){let l=r[u];l.providersResolver&&l.providersResolver(l)}let s=!1,a=!1,c=mh(e,t,r.length,null);for(let u=0;u<r.length;u++){let l=r[u];n.mergedAttrs=Qa(n.mergedAttrs,l.hostAttrs),fD(e,n,t,c,l),lD(c,l,o),l.contentQueries!==null&&(n.flags|=4),(l.hostBindings!==null||l.hostAttrs!==null||l.hostVars!==0)&&(n.flags|=64);let d=l.type.prototype;!s&&(d.ngOnChanges||d.ngOnInit||d.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),s=!0),!a&&(d.ngOnChanges||d.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),a=!0),c++}tD(e,n,i)}function oD(e,t,n,r,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(n,r,i)}}function iD(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function sD(e,t,n,r){let o=n.directiveStart,i=n.directiveEnd;di(n)&&hD(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||Sf(n,t),bt(r,t);let s=n.initialInputs;for(let a=o;a<i;a++){let c=e.data[a],u=lr(t,e,a,n);if(bt(u,t),s!==null&&mD(t,a-o,u,c,n,s),vr(c)){let l=St(n.index,t);l[it]=lr(t,e,a,n)}}}function Ih(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=Iv();try{Wt(i);for(let a=r;a<o;a++){let c=e.data[a],u=t[a];da(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&aD(c,u)}}finally{Wt(-1),da(s)}}function aD(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function cD(e,t){let n=e.directiveRegistry,r=null,o=null;if(n)for(let i=0;i<n.length;i++){let s=n[i];if(zd(t,s.selectors,!1))if(r||(r=[]),vr(s))if(s.findHostDirectiveDefs!==null){let a=[];o=o||new Map,s.findHostDirectiveDefs(s,a,o),r.unshift(...a,s);let c=a.length;Ta(e,t,c)}else r.unshift(s),Ta(e,t,0);else o=o||new Map,s.findHostDirectiveDefs?.(s,r,o),r.push(s)}return r===null?null:[r,o]}function Ta(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function uD(e,t,n){if(t){let r=e.localNames=[];for(let o=0;o<t.length;o+=2){let i=n[t[o+1]];if(i==null)throw new y(-301,!1);r.push(t[o],i)}}}function lD(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;vr(t)&&(n[""]=e)}}function dD(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function fD(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=zt(o.type,!0)),s=new ur(i,vr(o),te);e.blueprint[r]=s,n[r]=s,oD(e,t,r,mh(e,n,o.hostVars,xt),o)}function hD(e,t,n){let r=_e(t,e),o=yh(n),i=e[je].rendererFactory,s=16;n.signals?s=4096:n.onPush&&(s=64);let a=Ci(e,Ii(e,o,null,s,r,t,null,i.createRenderer(r,n),null,null,null));e[t.index]=a}function pD(e,t,n,r,o,i){let s=_e(e,t);gD(t[J],s,i,e.value,n,r,o)}function gD(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?oi(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function mD(e,t,n,r,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++];gh(r,n,c,u,l,d)}}function vD(e,t,n){let r=null,o=0;for(;o<n.length;){let i=n[o];if(i===0){o+=4;continue}else if(i===5){o+=2;continue}if(typeof i=="number")break;if(e.hasOwnProperty(i)){r===null&&(r=[]);let s=e[i];for(let a=0;a<s.length;a+=3)if(s[a]===t){r.push(i,s[a+1],s[a+2],n[o+1]);break}}o+=2}return r}function Ch(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function Eh(e,t){let n=e.contentQueries;if(n!==null){let r=O(null);try{for(let o=0;o<n.length;o+=2){let i=n[o],s=n[o+1];if(s!==-1){let a=e.data[s];gf(i),a.contentQueries(2,t[s],s)}}}finally{O(r)}}}function Ci(e,t){return e[sr]?e[Yl][ke]=t:e[sr]=t,e[Yl]=t,t}function _a(e,t,n){gf(0);let r=O(null);try{t(e,n)}finally{O(r)}}function yD(e){return e[ir]||(e[ir]=[])}function DD(e){return e.cleanup||(e.cleanup=[])}function bh(e,t){let n=e[Cn],r=n?n.get(Ze,null):null;r&&r.handleError(t)}function Tc(e,t,n,r,o){for(let i=0;i<n.length;){let s=n[i++],a=n[i++],c=n[i++],u=t[s],l=e.data[s];gh(l,u,r,a,c,o)}}function wD(e,t,n){let r=cf(t,e);xy(e[J],r,n)}function ID(e,t){let n=St(t,e),r=n[R];CD(r,n);let o=n[ct];o!==null&&n[or]===null&&(n[or]=yc(o,n[Cn])),_c(r,n,n[it])}function CD(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function _c(e,t,n){cc(t);try{let r=e.viewQuery;r!==null&&_a(1,r,n);let o=e.template;o!==null&&vh(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[En]?.finishViewCreation(e),e.staticContentQueries&&Eh(e,t),e.staticViewQueries&&_a(2,e.viewQuery,n);let i=e.components;i!==null&&ED(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[b]&=-5,uc()}}function ED(e,t){for(let n=0;n<t.length;n++)ID(e,t[n])}function bD(e,t,n,r){let o=O(null);try{let i=t.tView,a=e[b]&4096?4096:16,c=Ii(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),u=e[t.index];c[ui]=u;let l=e[En];return l!==null&&(c[En]=l.createEmbeddedView(i)),_c(i,c,n),c}finally{O(o)}}function dd(e,t){return!t||t.firstChild===null||Ff(e)}function MD(e,t,n,r=!0){let o=t[R];if(Py(o,t,e,n),r){let s=Sa(n,e),a=t[J],c=wc(a,e[Gt]);c!==null&&Ry(o,e[we],a,t,c,s)}let i=t[or];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function Wo(e,t,n,r,o=!1){for(;n!==null;){let i=t[n.index];i!==null&&r.push(We(i)),ut(i)&&SD(i,r);let s=n.type;if(s&8)Wo(e,t,n.child,r);else if(s&32){let a=Dc(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=uh(t,n);if(Array.isArray(a))r.push(...a);else{let c=cr(t[Ve]);Wo(c[R],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function SD(e,t){for(let n=Se;n<e.length;n++){let r=e[n],o=r[R].firstChild;o!==null&&Wo(r[R],r,o,t)}e[Gt]!==e[ct]&&t.push(e[Gt])}var Mh=[];function TD(e){return e[qt]??_D(e)}function _D(e){let t=Mh.pop()??Object.create(AD);return t.lView=e,t}function xD(e){e.lView[qt]!==e&&(e.lView=null,Mh.push(e))}var AD=W(m({},ol),{consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{ar(e.lView)},consumerOnSignalRead(){this.lView[qt]=this}}),Sh=100;function Th(e,t=!0,n=0){let r=e[je],o=r.rendererFactory,i=!1;i||o.begin?.();try{ND(e,n)}catch(s){throw t&&bh(e,s),s}finally{i||(o.end?.(),r.inlineEffectRunner?.flush())}}function ND(e,t){xa(e,t);let n=0;for(;oc(e);){if(n===Sh)throw new y(103,!1);n++,xa(e,1)}}function RD(e,t,n,r){let o=t[b];if((o&256)===256)return;let i=!1;!i&&t[je].inlineEffectRunner?.flush(),cc(t);let s=null,a=null;!i&&OD(e)&&(a=TD(t),s=il(a));try{lf(t),vv(e.bindingStartIndex),n!==null&&vh(e,t,n,2,r);let c=(o&3)===3;if(!i)if(c){let d=e.preOrderCheckHooks;d!==null&&Oo(t,d,null)}else{let d=e.preOrderHooks;d!==null&&Po(t,d,0,null),zs(t,0)}if(PD(t),_h(t,0),e.contentQueries!==null&&Eh(e,t),!i)if(c){let d=e.contentCheckHooks;d!==null&&Oo(t,d)}else{let d=e.contentHooks;d!==null&&Po(t,d,1),zs(t,1)}Zy(e,t);let u=e.components;u!==null&&Ah(t,u,0);let l=e.viewQuery;if(l!==null&&_a(2,l,r),!i)if(c){let d=e.viewCheckHooks;d!==null&&Oo(t,d)}else{let d=e.viewHooks;d!==null&&Po(t,d,2),zs(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Hs]){for(let d of t[Hs])d();t[Hs]=null}i||(t[b]&=-73)}catch(c){throw ar(t),c}finally{a!==null&&(sl(a,s),xD(a)),uc()}}function OD(e){return e.type!==2}function _h(e,t){for(let n=Lf(e);n!==null;n=jf(n))for(let r=Se;r<n.length;r++){let o=n[r];xh(o,t)}}function PD(e){for(let t=Lf(e);t!==null;t=jf(t)){if(!(t[b]&tc.HasTransplantedViews))continue;let n=t[Bo];for(let r=0;r<n.length;r++){let o=n[r],i=o[se];cv(o)}}}function FD(e,t,n){let r=St(t,e);xh(r,n)}function xh(e,t){rc(e)&&xa(e,t)}function xa(e,t){let r=e[R],o=e[b],i=e[qt],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&Is(i)),i&&(i.dirty=!1),e[b]&=-9217,s)RD(r,e,r.template,e[it]);else if(o&8192){_h(e,1);let a=r.components;a!==null&&Ah(e,a,1)}}function Ah(e,t,n){for(let r=0;r<t.length;r++)FD(e,t[r],n)}function xc(e){for(e[je].changeDetectionScheduler?.notify();e;){e[b]|=64;let t=cr(e);if(Jm(e)&&!t)return e;e=t}return null}var Zt=class{get rootNodes(){let t=this._lView,n=t[R];return Wo(n,t,n.firstChild,[])}constructor(t,n,r=!0){this._lView=t,this._cdRefInjectingView=n,this.notifyErrorHandler=r,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[it]}set context(t){this._lView[it]=t}get destroyed(){return(this._lView[b]&256)===256}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[se];if(ut(t)){let n=t[Uo],r=n?n.indexOf(this):-1;r>-1&&(Ma(t,r),Vo(n,r))}this._attachedToViewContainer=!1}ih(this._lView[R],this._lView)}onDestroy(t){df(this._lView,t)}markForCheck(){xc(this._cdRefInjectingView||this._lView)}detach(){this._lView[b]&=-129}reattach(){la(this._lView),this._lView[b]|=128}detectChanges(){this._lView[b]|=1024,Th(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new y(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,rh(this._lView[R],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new y(902,!1);this._appRef=t,la(this._lView)}},Ei=(()=>{class e{static{this.__NG_ELEMENT_ID__=jD}}return e})(),kD=Ei,LD=class extends kD{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){let o=bD(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new Zt(o)}};function jD(){return VD(Ie(),U())}function VD(e,t){return e.type&4?new LD(t,e,mi(e,t)):null}var _A=new RegExp(`^(\\d+)*(${Kv}|${Qv})*(.*)`);var $D=()=>null;function fd(e,t){return $D(e,t)}var Zo=class{},Aa=class{},Yo=class{};function UD(e){let t=Error(`No component factory found for ${le(e)}.`);return t[BD]=e,t}var BD="ngComponent";var Na=class{resolveComponentFactory(t){throw UD(t)}},bi=(()=>{class e{static{this.NULL=new Na}}return e})(),dr=class{},Mi=(()=>{class e{constructor(){this.destroyNode=null}static{this.__NG_ELEMENT_ID__=()=>HD()}}return e})();function HD(){let e=U(),t=Ie(),n=St(t.index,e);return(Bt(n)?n:e)[J]}var zD=(()=>{class e{static{this.\u0275prov=D({token:e,providedIn:"root",factory:()=>null})}}return e})(),Ys={};var hd=new Set;function Si(e){hd.has(e)||(hd.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function pd(...e){}function qD(){let e=typeof De.requestAnimationFrame=="function",t=De[e?"requestAnimationFrame":"setTimeout"],n=De[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){let r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);let o=n[Zone.__symbol__("OriginalDelegate")];o&&(n=o)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}var q=class e{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Fe(!1),this.onMicrotaskEmpty=new Fe(!1),this.onStable=new Fe(!1),this.onError=new Fe(!1),typeof Zone>"u")throw new y(908,!1);Zone.assertZonePatched();let o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=qD().nativeRequestAnimationFrame,ZD(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new y(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new y(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,GD,pd,pd);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}},GD={};function Ac(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 WD(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,Ac(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Ra(e))}function ZD(e){let t=()=>{WD(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{if(YD(a))return n.invokeTask(o,i,s,a);try{return gd(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&i.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),md(e)}},onInvoke:(n,r,o,i,s,a,c)=>{try{return gd(e),n.invoke(o,i,s,a,c)}finally{e.shouldCoalesceRunChangeDetection&&t(),md(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&(i.change=="microTask"?(e._hasPendingMicrotasks=i.microTask,Ra(e),Ac(e)):i.change=="macroTask"&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.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 gd(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function md(e){e._nesting--,Ac(e)}function YD(e){return!Array.isArray(e)||e.length!==1?!1:e[0].data?.__ignore_ng_zone__===!0}var yn=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(yn||{}),QD={destroy(){}};function Ti(e,t){!t&&Qm(Ti);let n=t?.injector??p(Tt);if(!Sy(n))return QD;Si("NgAfterNextRender");let r=n.get(Nc),o=r.handler??=new Pa,i=t?.phase??yn.MixedReadWrite,s=()=>{o.unregister(c),a()},a=n.get(pc).onDestroy(s),c=$e(n,()=>new Oa(i,()=>{s(),e()}));return o.register(c),{destroy:s}}var Oa=class{constructor(t,n){this.phase=t,this.callbackFn=n,this.zone=p(q),this.errorHandler=p(Ze,{optional:!0}),p(Zo,{optional:!0})?.notify(1)}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(t){this.errorHandler?.handleError(t)}}},Pa=class{constructor(){this.executingCallbacks=!1,this.buckets={[yn.EarlyRead]:new Set,[yn.Write]:new Set,[yn.MixedReadWrite]:new Set,[yn.Read]:new Set},this.deferredCallbacks=new Set}register(t){(this.executingCallbacks?this.deferredCallbacks:this.buckets[t.phase]).add(t)}unregister(t){this.buckets[t.phase].delete(t),this.deferredCallbacks.delete(t)}execute(){this.executingCallbacks=!0;for(let t of Object.values(this.buckets))for(let n of t)n.invoke();this.executingCallbacks=!1;for(let t of this.deferredCallbacks)this.buckets[t.phase].add(t);this.deferredCallbacks.clear()}destroy(){for(let t of Object.values(this.buckets))t.clear();this.deferredCallbacks.clear()}},Nc=(()=>{class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){let n=[...this.internalCallbacks];this.internalCallbacks.length=0;for(let r of n)r()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static{this.\u0275prov=D({token:e,providedIn:"root",factory:()=>new e})}}return e})();function Qo(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s<t.length;s++){let a=t[s];if(typeof a=="number")i=a;else if(i==1)o=Vl(o,a);else if(i==2){let c=a,u=t[++s];r=Vl(r,c+": "+u+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}var Ko=class extends bi{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=Et(t);return new Mn(n,this.ngModule)}};function vd(e){let t=[];for(let n in e){if(!e.hasOwnProperty(n))continue;let r=e[n];r!==void 0&&t.push({propName:Array.isArray(r)?r[0]:r,templateName:n})}return t}function KD(e){let t=e.toLowerCase();return t==="svg"?nv:t==="math"?rv:null}var Fa=class{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=ii(r);let o=this.injector.get(t,Ys,r);return o!==Ys||n===Ys?o:this.parentInjector.get(t,n,r)}},Mn=class extends Yo{get inputs(){let t=this.componentDef,n=t.inputTransforms,r=vd(t.inputs);if(n!==null)for(let o of r)n.hasOwnProperty(o.propName)&&(o.transform=n[o.propName]);return r}get outputs(){return vd(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=Pm(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,o){let i=O(null);try{o=o||this.ngModule;let s=o instanceof ie?o:o?.injector;s&&this.componentDef.getStandaloneInjector!==null&&(s=this.componentDef.getStandaloneInjector(s)||s);let a=s?new Fa(t,s):t,c=a.get(dr,null);if(c===null)throw new y(407,!1);let u=a.get(zD,null),l=a.get(Nc,null),d=a.get(Zo,null),f={rendererFactory:c,sanitizer:u,inlineEffectRunner:null,afterRenderEventManager:l,changeDetectionScheduler:d},h=c.createRenderer(null,this.componentDef),v=this.componentDef.selectors[0][0]||"div",g=r?Ky(h,r,this.componentDef.encapsulation,a):nh(h,v,KD(v)),E=512;this.componentDef.signals?E|=4096:this.componentDef.onPush||(E|=16);let _=null;g!==null&&(_=yc(g,a,!0));let ae=Mc(0,null,null,1,0,null,null,null,null,null,null),V=Ii(null,ae,null,E,null,null,f,h,a,null,_);cc(V);let ve,mt;try{let ye=this.componentDef,rn,Ds=null;ye.findHostDirectiveDefs?(rn=[],Ds=new Map,ye.findHostDirectiveDefs(ye,rn,Ds),rn.push(ye)):rn=[ye];let mg=JD(V,g),vg=XD(mg,g,ye,rn,V,f,h);mt=uf(ae,Te),g&&nw(h,ye,g,r),n!==void 0&&rw(mt,this.ngContentSelectors,n),ve=tw(vg,ye,rn,Ds,V,[ow]),_c(ae,V,null)}finally{uc()}return new ka(this.componentType,ve,mi(mt,V),V,mt)}finally{O(i)}}},ka=class extends Aa{constructor(t,n,r,o,i){super(),this.location=r,this._rootLView=o,this._tNode=i,this.previousInputValues=null,this.instance=n,this.hostView=this.changeDetectorRef=new Zt(o,void 0,!1),this.componentType=t}setInput(t,n){let r=this._tNode.inputs,o;if(r!==null&&(o=r[t])){if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let i=this._rootLView;Tc(i[R],i,o,t,n),this.previousInputValues.set(t,n);let s=St(this._tNode.index,i);xc(s)}}get injector(){return new Ht(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function JD(e,t){let n=e[R],r=Te;return e[r]=t,An(n,r,2,"#host",null)}function XD(e,t,n,r,o,i,s){let a=o[R];ew(r,e,t,s);let c=null;t!==null&&(c=yc(t,o[Cn]));let u=i.rendererFactory.createRenderer(t,n),l=16;n.signals?l=4096:n.onPush&&(l=64);let d=Ii(o,yh(n),null,l,o[e.index],e,i,u,null,null,c);return a.firstCreatePass&&Ta(a,e,r.length-1),Ci(o,d),o[e.index]=d}function ew(e,t,n,r){for(let o of e)t.mergedAttrs=Qa(t.mergedAttrs,o.hostAttrs);t.mergedAttrs!==null&&(Qo(t,t.mergedAttrs,!0),n!==null&&fh(r,n,t))}function tw(e,t,n,r,o,i){let s=Ie(),a=o[R],c=_e(s,o);wh(a,o,s,n,null,r);for(let l=0;l<n.length;l++){let d=s.directiveStart+l,f=lr(o,a,d,s);bt(f,o)}Ih(a,o,s),c&&bt(c,o);let u=lr(o,a,s.directiveStart+s.componentOffset,s);if(e[it]=o[it]=u,i!==null)for(let l of i)l(u,t);return Cc(a,s,o),u}function nw(e,t,n,r){if(r)oa(e,n,["ng-version","17.3.12"]);else{let{attrs:o,classes:i}=Fm(t.selectors[0]);o&&oa(e,n,o),i&&i.length>0&&dh(e,n,i.join(" "))}}function rw(e,t,n){let r=e.projection=[];for(let o=0;o<t.length;o++){let i=n[o];r.push(i!=null?Array.from(i):null)}}function ow(){let e=Ie();gi(U()[R],e)}var Nn=(()=>{class e{static{this.__NG_ELEMENT_ID__=iw}}return e})();function iw(){let e=Ie();return aw(e,U())}var sw=Nn,Nh=class extends sw{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return mi(this._hostTNode,this._hostLView)}get injector(){return new Ht(this._hostTNode,this._hostLView)}get parentInjector(){let t=dc(this._hostTNode,this._hostLView);if(Ef(t)){let n=zo(t,this._hostLView),r=Ho(t),o=n[R].data[r+8];return new Ht(o,n)}else return new Ht(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=yd(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-Se}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=fd(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,dd(this._hostTNode,s)),a}createComponent(t,n,r,o,i){let s=t&&!Km(t),a;if(s)a=n;else{let v=n||{};a=v.index,r=v.injector,o=v.projectableNodes,i=v.environmentInjector||v.ngModuleRef}let c=s?t:new Mn(Et(t)),u=r||this.parentInjector;if(!i&&c.ngModule==null){let g=(s?u:this.parentInjector).get(ie,null);g&&(i=g)}let l=Et(c.componentType??{}),d=fd(this._lContainer,l?.id??null),f=d?.firstChild??null,h=c.create(u,o,f,i);return this.insertImpl(h.hostView,a,dd(this._hostTNode,d)),h}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(av(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[se],u=new Nh(c,c[we],c[se]);u.detach(u.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return MD(s,o,i,r),t.attachToViewContainerRef(),jd(Qs(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=yd(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=Ma(this._lContainer,n);r&&(Vo(Qs(this._lContainer),n),ih(r[R],r))}detach(t){let n=this._adjustIndex(t,-1),r=Ma(this._lContainer,n);return r&&Vo(Qs(this._lContainer),n)!=null?new Zt(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function yd(e){return e[Uo]}function Qs(e){return e[Uo]||(e[Uo]=[])}function aw(e,t){let n,r=t[e.index];return ut(r)?n=r:(n=Ch(r,t,null,e),t[e.index]=n,Ci(t,n)),uw(n,t,e,r),new Nh(n,e,t)}function cw(e,t){let n=e[J],r=n.createComment(""),o=_e(t,e),i=wc(n,o);return Go(n,i,r,$y(n,o),!1),r}var uw=fw,lw=()=>!1;function dw(e,t,n){return lw(e,t,n)}function fw(e,t,n,r){if(e[Gt])return;let o;n.type&8?o=We(r):o=cw(t,n),e[Gt]=o}function Rc(e){let t=e.inputConfig,n={};for(let r in t)if(t.hasOwnProperty(r)){let o=t[r];Array.isArray(o)&&o[3]&&(n[r]=o[3])}e.inputTransforms=n}var Mt=class{},fr=class{};var La=class extends Mt{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Ko(this);let o=Zd(t);this._bootstrapComponents=th(o.bootstrap),this._r3Injector=Of(t,n,[{provide:Mt,useValue:this},{provide:bi,useValue:this.componentFactoryResolver},...r],le(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(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},ja=class extends fr{constructor(t){super(),this.moduleType=t}create(t){return new La(this.moduleType,t,[])}};var Jo=class extends Mt{constructor(t){super(),this.componentFactoryResolver=new Ko(this),this.instance=null;let n=new rr([...t.providers,{provide:Mt,useValue:this},{provide:bi,useValue:this.componentFactoryResolver}],t.parent||ec(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function _i(e,t,n=null){return new Jo({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var Xt=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new re(!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)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function Rh(e){return pw(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function hw(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{let n=e[Symbol.iterator](),r;for(;!(r=n.next()).done;)t(r.value)}}function pw(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function gw(e,t,n){return e[t]=n}function Cr(e,t,n){let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function mw(e){return(e.flags&32)===32}function vw(e,t,n,r,o,i,s,a,c){let u=t.consts,l=An(t,e,4,s||null,bn(u,a));Sc(t,n,l,bn(u,c)),gi(t,l);let d=l.tView=Mc(2,l,r,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 Oc(e,t,n,r,o,i,s,a){let c=U(),u=me(),l=e+Te,d=u.firstCreatePass?vw(l,u,c,t,n,r,o,i,s):u.data[l];Jt(d,!1);let f=yw(u,c,d,e);hi()&&Di(u,c,f,d),bt(f,c);let h=Ch(f,c,f,d);return c[l]=h,Ci(c,h),dw(h,d,c),fi(d)&&Ec(u,c,d),s!=null&&bc(c,d,a),Oc}var yw=Dw;function Dw(e,t,n,r){return pi(!0),t[J].createComment("")}function Pc(e,t,n,r){let o=U(),i=ac();if(Cr(o,i,t)){let s=me(),a=lc();pD(a,o,e,t,n,r)}return Pc}function Oh(e,t,n,r){return Cr(e,ac(),n)?t+oi(n)+r:xt}function No(e,t){return e<<17|t<<2}function Yt(e){return e>>17&32767}function ww(e){return(e&2)==2}function Iw(e,t){return e&131071|t<<17}function Va(e){return e|2}function Sn(e){return(e&131068)>>2}function Ks(e,t){return e&-131069|t<<2}function Cw(e){return(e&1)===1}function $a(e){return e|1}function Ew(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=Yt(s),c=Sn(s);e[r]=n;let u=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||gr(d,l)>0)&&(u=!0)}else l=n;if(o)if(c!==0){let f=Yt(e[a+1]);e[r+1]=No(f,a),f!==0&&(e[f+1]=Ks(e[f+1],r)),e[a+1]=Iw(e[a+1],r)}else e[r+1]=No(a,0),a!==0&&(e[a+1]=Ks(e[a+1],r)),a=r;else e[r+1]=No(c,0),a===0?a=r:e[c+1]=Ks(e[c+1],r),c=r;u&&(e[r+1]=Va(e[r+1])),Dd(e,l,r,!0),Dd(e,l,r,!1),bw(t,l,e,r,i),s=No(a,c),i?t.classBindings=s:t.styleBindings=s}function bw(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&gr(i,t)>=0&&(n[r+1]=$a(n[r+1]))}function Dd(e,t,n,r){let o=e[n+1],i=t===null,s=r?Yt(o):Sn(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]=r?$a(u):Va(u)),s=r?Yt(u):Sn(u)}a&&(e[n+1]=r?Va(o):$a(o))}function Mw(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?gr(e,t)>=0:!1}function Fc(e,t,n){let r=U(),o=ac();if(Cr(r,o,t)){let i=me(),s=lc();Dh(i,s,r,e,t,r[J],n,!1)}return Fc}function wd(e,t,n,r,o){let i=t.inputs,s=o?"class":"style";Tc(e,n,i[s],s,r)}function Sw(e,t){return Tw(e,t,null,!0),Sw}function Tw(e,t,n,r){let o=U(),i=me(),s=yv(2);if(i.firstUpdatePass&&xw(i,e,s,r),t!==xt&&Cr(o,s,t)){let a=i.data[xn()];Pw(i,a,o,o[J],e,o[s+1]=Fw(t,n),r,s)}}function _w(e,t){return t>=e.expandoStartIndex}function xw(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[xn()],s=_w(e,n);kw(i,r)&&t===null&&!s&&(t=!1),t=Aw(o,i,t,r),Ew(o,i,t,n,s,r)}}function Aw(e,t,n,r){let o=Cv(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=Js(null,e,t,n,r),n=hr(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=Js(o,e,t,n,r),i===null){let c=Nw(e,t,r);c!==void 0&&Array.isArray(c)&&(c=Js(null,e,t,c[1],r),c=hr(c,t.attrs,r),Rw(e,t,r,c))}else i=Ow(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function Nw(e,t,n){let r=n?t.classBindings:t.styleBindings;if(Sn(r)!==0)return e[Yt(r)]}function Rw(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[Yt(o)]=r}function Ow(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=hr(r,s,n)}return hr(r,t.attrs,n)}function Js(e,t,n,r,o){let i=null,s=n.directiveEnd,a=n.directiveStylingLast;for(a===-1?a=n.directiveStart:a++;a<s&&(i=t[a],r=hr(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function hr(e,t,n){let r=n?1:2,o=-1;if(t!==null)for(let i=0;i<t.length;i++){let s=t[i];typeof s=="number"?o=s:o===r&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),Im(e,s,n?!0:t[++i]))}return e===void 0?null:e}function Pw(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,u=c[a+1],l=Cw(u)?Id(c,t,n,o,Sn(u),s):void 0;if(!Xo(l)){Xo(i)||ww(u)&&(i=Id(c,null,n,o,a,s));let d=cf(xn(),n);Gy(r,s,d,o,i)}}function Id(e,t,n,r,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=n[o+1];f===xt&&(f=d?Pe:void 0);let h=d?Us(f,r):l===r?f:void 0;if(u&&!Xo(h)&&(h=Us(c,r)),Xo(h)&&(a=h,s))return a;let v=e[o+1];o=s?Yt(v):Sn(v)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=Us(c,r))}return a}function Xo(e){return e!==void 0}function Fw(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=le(Qe(e)))),e}function kw(e,t){return(e.flags&(t?8:16))!==0}function Lw(e,t,n,r,o,i){let s=t.consts,a=bn(s,o),c=An(t,e,2,r,a);return Sc(t,n,c,bn(s,i)),c.attrs!==null&&Qo(c,c.attrs,!1),c.mergedAttrs!==null&&Qo(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}function Rn(e,t,n,r){let o=U(),i=me(),s=Te+e,a=o[J],c=i.firstCreatePass?Lw(s,i,o,t,n,r):i.data[s],u=jw(i,o,c,a,t,e);o[s]=u;let l=fi(c);return Jt(c,!0),fh(a,u,c),!mw(c)&&hi()&&Di(i,o,u,c),lv()===0&&bt(u,o),dv(),l&&(Ec(i,o,c),Cc(i,c,o)),r!==null&&bc(o,c),Rn}function On(){let e=Ie();ic()?sc():(e=e.parent,Jt(e,!1));let t=e;hv(t)&&pv(),fv();let n=me();return n.firstCreatePass&&(gi(n,e),nc(e)&&n.queries.elementEnd(e)),t.classesWithoutHost!=null&&_v(t)&&wd(n,t,U(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&xv(t)&&wd(n,t,U(),t.stylesWithoutHost,!1),On}function kc(e,t,n,r){return Rn(e,t,n,r),On(),kc}var jw=(e,t,n,r,o,i)=>(pi(!0),nh(r,o,bv()));function Vw(e,t,n,r,o){let i=t.consts,s=bn(i,r),a=An(t,e,8,"ng-container",s);s!==null&&Qo(a,s,!0);let c=bn(i,o);return Sc(t,n,a,c),t.queries!==null&&t.queries.elementStart(t,a),a}function $w(e,t,n){let r=U(),o=me(),i=e+Te,s=o.firstCreatePass?Vw(i,o,r,t,n):o.data[i];Jt(s,!0);let a=Bw(o,r,s,e);return r[i]=a,hi()&&Di(o,r,a,s),bt(a,r),fi(s)&&(Ec(o,r,s),Cc(o,s,r)),n!=null&&bc(r,s),$w}function Uw(){let e=Ie(),t=me();return ic()?sc():(e=e.parent,Jt(e,!1)),t.firstCreatePass&&(gi(t,e),nc(e)&&t.queries.elementEnd(e)),Uw}var Bw=(e,t,n,r)=>(pi(!0),Ay(t[J],""));var Ut=void 0;function Hw(e){let t=e,n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return n===1&&r===0?1:5}var zw=["en",[["a","p"],["AM","PM"],Ut],[["AM","PM"],Ut,Ut],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Ut,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Ut,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Ut,"{1} 'at' {0}",Ut],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",Hw],Xs={};function xe(e){let t=qw(e),n=Cd(t);if(n)return n;let r=t.split("-")[0];if(n=Cd(r),n)return n;if(r==="en")return zw;throw new y(701,!1)}function Cd(e){return e in Xs||(Xs[e]=De.ng&&De.ng.common&&De.ng.common.locales&&De.ng.common.locales[e]),Xs[e]}var Y=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(Y||{});function qw(e){return e.toLowerCase().replace(/_/g,"-")}var ei="en-US";var Gw=ei;function Ww(e){typeof e=="string"&&(Gw=e.toLowerCase().replace(/_/g,"-"))}function Lc(e,t,n,r){let o=U(),i=me(),s=Ie();return Yw(i,o,o[J],s,e,t,r),Lc}function Zw(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;i<o.length-1;i+=2){let s=o[i];if(s===n&&o[i+1]===r){let a=t[ir],c=o[i+2];return a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function Yw(e,t,n,r,o,i,s){let a=fi(r),u=e.firstCreatePass&&DD(e),l=t[it],d=yD(t),f=!0;if(r.type&3||s){let g=_e(r,t),E=s?s(g):g,_=d.length,ae=s?ve=>s(We(ve[r.index])):r.index,V=null;if(!s&&a&&(V=Zw(e,t,o,r.index)),V!==null){let ve=V.__ngLastListenerFn__||V;ve.__ngNextListenerFn__=i,V.__ngLastListenerFn__=i,f=!1}else{i=bd(r,t,l,i,!1);let ve=n.listen(E,o,i);d.push(i,ve),u&&u.push(o,ae,_,_+1)}}else i=bd(r,t,l,i,!1);let h=r.outputs,v;if(f&&h!==null&&(v=h[o])){let g=v.length;if(g)for(let E=0;E<g;E+=2){let _=v[E],ae=v[E+1],mt=t[_][ae].subscribe(i),ye=d.length;d.push(i,mt),u&&u.push(o,r.index,ye,-(ye+1))}}}function Ed(e,t,n,r){let o=O(null);try{return ze(6,t,n),n(r)!==!1}catch(i){return bh(e,i),!1}finally{ze(7,t,n),O(o)}}function bd(e,t,n,r,o){return function i(s){if(s===Function)return r;let a=e.componentOffset>-1?St(e.index,t):t;xc(a);let c=Ed(t,n,r,s),u=i.__ngNextListenerFn__;for(;u;)c=Ed(t,n,u,s)&&c,u=u.__ngNextListenerFn__;return o&&c===!1&&s.preventDefault(),c}}function Qw(e,t){let n=null,r=xm(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?zd(e,i,!0):Rm(r,i))return o}return n}function AA(e){let t=U()[Ve][we];if(!t.projection){let n=e?e.length:1,r=t.projection=Dm(n,null),o=r.slice(),i=t.child;for(;i!==null;){let s=e?Qw(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i),i=i.next}}}function NA(e,t=0,n){let r=U(),o=me(),i=An(o,Te+e,16,null,n||null);i.projection===null&&(i.projection=t),sc(),(!r[or]||hf())&&(i.flags&32)!==32&&zy(o,r,i)}function jc(e,t,n,r,o){let i=U(),s=Oh(i,t,n,r);if(s!==xt){let a=me(),c=lc();Dh(a,c,i,e,s,i[J],o,!1)}return jc}function Kw(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function Vc(e,t=""){let n=U(),r=me(),o=e+Te,i=r.firstCreatePass?An(r,o,1,t,null):r.data[o],s=Jw(r,n,i,t,e);n[o]=s,hi()&&Di(r,n,s,i),Jt(i,!1)}var Jw=(e,t,n,r,o)=>(pi(!0),_y(t[J],r));function $c(e){return xi("",e,""),$c}function xi(e,t,n){let r=U(),o=Oh(r,e,t,n);return o!==xt&&wD(r,xn(),o),xi}var Xw=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=Kd(!1,n.type),o=r.length>0?_i([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static{this.\u0275prov=D({token:e,providedIn:"environment",factory:()=>new e(w(ie))})}}return e})();function Ph(e){Si("NgStandalone"),e.getStandaloneInjector=t=>t.get(Xw).getOrCreateStandaloneInjector(e)}function eI(e,t){let n=e[t];return n===xt?void 0:n}function tI(e,t,n,r,o,i){let s=t+n;return Cr(e,s,o)?gw(e,s+1,i?r.call(i,o):r(o)):eI(e,s+1)}function Fh(e,t){let n=me(),r,o=e+Te;n.firstCreatePass?(r=nI(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];let i=r.factory||(r.factory=zt(r.type,!0)),s,a=ge(te);try{let c=qo(!1),u=i();return qo(c),Kw(n,U(),o,u),u}finally{ge(a)}}function nI(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function kh(e,t,n){let r=e+Te,o=U(),i=sv(o,r);return rI(o,r)?tI(o,mv(),t,i.transform,n,i):i.transform(n)}function rI(e,t){return e[R].data[t].pure}var Ai=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"platform"})}}return e})();var Lh=new C("");function Pn(e){return!!e&&typeof e.then=="function"}function Uc(e){return!!e&&typeof e.subscribe=="function"}var Ni=new C(""),jh=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=p(Ni,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=o();if(Pn(i))n.push(i);else if(Uc(i)){let s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});n.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),n.length===0&&r(),this.initialized=!0}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),Er=new C("");function oI(){cl(()=>{throw new y(600,!1)})}function iI(e){return e.isBoundToModule}function sI(e,t,n){try{let r=n();return Pn(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var Fn=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=p(Pf),this.afterRenderEffectManager=p(Nc),this.externalTestViews=new Set,this.beforeRender=new Q,this.afterTick=new Q,this.componentTypes=[],this.components=[],this.isStable=p(Xt).hasPendingTasks.pipe(T(n=>!n)),this._injector=p(ie)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){let o=n instanceof Yo;if(!this._injector.get(jh).done){let f=!o&&Wd(n),h=!1;throw new y(405,h)}let s;o?s=n:s=this._injector.get(bi).resolveComponentFactory(n),this.componentTypes.push(s.componentType);let a=iI(s)?void 0:this._injector.get(Mt),c=r||s.selector,u=s.create(Tt.NULL,[],c,a),l=u.location.nativeElement,d=u.injector.get(Lh,null);return d?.registerApplication(l),u.onDestroy(()=>{this.detachView(u.hostView),ea(this.components,u),d?.unregisterApplication(l)}),this._loadComponent(u),u}tick(){this._tick(!0)}_tick(n){if(this._runningTick)throw new y(101,!1);let r=O(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(n)}catch(o){this.internalErrorHandler(o)}finally{this.afterTick.next(),this._runningTick=!1,O(r)}}detectChangesInAttachedViews(n){let r=0,o=this.afterRenderEffectManager;for(;;){if(r===Sh)throw new y(103,!1);if(n){let i=r===0;this.beforeRender.next(i);for(let{_lView:s,notifyErrorHandler:a}of this._views)aI(s,i,a)}if(r++,o.executeInternalCallbacks(),![...this.externalTestViews.keys(),...this._views].some(({_lView:i})=>Ua(i))&&(o.execute(),![...this.externalTestViews.keys(),...this._views].some(({_lView:i})=>Ua(i))))break}}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){let r=n;ea(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);let r=this._injector.get(Er,[]);[...this._bootstrapListeners,...r].forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>ea(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new y(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function ea(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function aI(e,t,n){!t&&!Ua(e)||cI(e,n,t)}function Ua(e){return oc(e)}function cI(e,t,n){let r;n?(r=0,e[b]|=1024):e[b]&64?r=0:r=1,Th(e,t,r)}var Ba=class{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},Ri=(()=>{class e{compileModuleSync(n){return new ja(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=Zd(n),i=th(o.declarations).reduce((s,a)=>{let c=Et(a);return c&&s.push(new Mn(c)),s},[]);return new Ba(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var uI=(()=>{class e{constructor(){this.zone=p(q),this.applicationRef=p(Fn)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function lI(e){return[{provide:q,useFactory:e},{provide:In,multi:!0,useFactory:()=>{let t=p(uI,{optional:!0});return()=>t.initialize()}},{provide:In,multi:!0,useFactory:()=>{let t=p(pI);return()=>{t.initialize()}}},{provide:Pf,useFactory:dI}]}function dI(){let e=p(q),t=p(Ze);return n=>e.runOutsideAngular(()=>t.handleError(n))}function fI(e){let t=lI(()=>new q(hI(e)));return _n([[],t])}function hI(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var pI=(()=>{class e{constructor(){this.subscription=new Z,this.initialized=!1,this.zone=p(q),this.pendingTasks=p(Xt)}initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{q.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{q.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function gI(){return typeof $localize<"u"&&$localize.locale||ei}var Oi=new C("",{providedIn:"root",factory:()=>p(Oi,A.Optional|A.SkipSelf)||gI()});var Vh=new C("");var ko=null;function mI(e=[],t){return Tt.create({name:t,providers:[{provide:ci,useValue:"platform"},{provide:Vh,useValue:new Set([()=>ko=null])},...e]})}function vI(e=[]){if(ko)return ko;let t=mI(e);return ko=t,oI(),yI(t),t}function yI(e){e.get(mc,null)?.forEach(n=>n())}var kn=(()=>{class e{static{this.__NG_ELEMENT_ID__=DI}}return e})();function DI(e){return wI(Ie(),U(),(e&16)===16)}function wI(e,t,n){if(di(e)&&!n){let r=St(e.index,t);return new Zt(r,r)}else if(e.type&47){let r=t[Ve];return new Zt(r,t)}return null}var Ha=class{constructor(){}supports(t){return Rh(t)}create(t){return new za(t)}},II=(e,t)=>t,za=class{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||II}forEachItem(t){let n;for(n=this._itHead;n!==null;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){let s=!r||n&&n.currentIndex<Md(r,o,i)?n:r,a=Md(s,o,i),c=s.currentIndex;if(s===r)o--,r=r._nextRemoved;else if(n=n._next,s.previousIndex==null)o++;else{i||(i=[]);let u=a-o,l=c-o;if(u!=l){for(let f=0;f<u;f++){let h=f<i.length?i[f]:i[f]=0,v=h+f;l<=v&&v<u&&(i[f]=h+1)}let d=s.previousIndex;i[d]=l-u}}a!==c&&t(s,a,c)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;n!==null;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;n!==null;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;n!==null;n=n._nextIdentityChange)t(n)}diff(t){if(t==null&&(t=[]),!Rh(t))throw new y(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._itHead,r=!1,o,i,s;if(Array.isArray(t)){this.length=t.length;for(let a=0;a<this.length;a++)i=t[a],s=this._trackByFn(a,i),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,i,s,a),r=!0):(r&&(n=this._verifyReinsertion(n,i,s,a)),Object.is(n.item,i)||this._addIdentityChange(n,i)),n=n._next}else o=0,hw(t,a=>{s=this._trackByFn(o,a),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,a,s,o),r=!0):(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;t!==null;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;t!==null;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return t===null?i=this._itTail:(i=t._prev,this._remove(t)),t=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):(t=this._linkedRecords===null?null:this._linkedRecords.get(r,o),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new qa(n,r),i,o)),t}_verifyReinsertion(t,n,r,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return i!==null?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;t!==null;){let n=t._next;this._addToRemovals(this._unlink(t)),t=n}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(t);let o=t._prevRemoved,i=t._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail===null?this._additionsTail=this._additionsHead=t:this._additionsTail=this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){let o=n===null?this._itHead:n._next;return t._next=o,t._prev=n,o===null?this._itTail=t:o._prev=t,n===null?this._itHead=t:n._next=t,this._linkedRecords===null&&(this._linkedRecords=new ti),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){this._linkedRecords!==null&&this._linkedRecords.remove(t);let n=t._prev,r=t._next;return n===null?this._itHead=r:n._next=r,r===null?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail===null?this._movesTail=this._movesHead=t:this._movesTail=this._movesTail._nextMoved=t),t}_addToRemovals(t){return this._unlinkedRecords===null&&(this._unlinkedRecords=new ti),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=t:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=t,t}},qa=class{constructor(t,n){this.item=t,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}},Ga=class{constructor(){this._head=null,this._tail=null}add(t){this._head===null?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;r!==null;r=r._nextDup)if((n===null||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){let n=t._prevDup,r=t._nextDup;return n===null?this._head=r:n._nextDup=r,r===null?this._tail=n:r._prevDup=n,this._head===null}},ti=class{constructor(){this.map=new Map}put(t){let n=t.trackById,r=this.map.get(n);r||(r=new Ga,this.map.set(n,r)),r.add(t)}get(t,n){let r=t,o=this.map.get(r);return o?o.get(t,n):null}remove(t){let n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function Md(e,t,n){let r=e.previousIndex;if(r===null)return r;let o=0;return n&&r<n.length&&(o=n[r]),r+t+o}function Sd(){return new Bc([new Ha])}var Bc=(()=>{class e{static{this.\u0275prov=D({token:e,providedIn:"root",factory:Sd})}constructor(n){this.factories=n}static create(n,r){if(r!=null){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Sd()),deps:[[e,new Za,new si]]}}find(n){let r=this.factories.find(o=>o.supports(n));if(r!=null)return r;throw new y(901,!1)}}return e})();function $h(e){try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=vI(r),i=[fI(),...n||[]],a=new Jo({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1}).injector,c=a.get(q);return c.run(()=>{a.resolveInjectorInitializers();let u=a.get(Ze,null),l;c.runOutsideAngular(()=>{l=c.onError.subscribe({next:h=>{u.handleError(h)}})});let d=()=>a.destroy(),f=o.get(Vh);return f.add(d),a.onDestroy(()=>{l.unsubscribe(),f.delete(d)}),sI(u,c,()=>{let h=a.get(jh);return h.runInitializers(),h.donePromise.then(()=>{let v=a.get(Oi,ei);Ww(v||ei);let g=a.get(Fn);return t!==void 0&&g.bootstrap(t),g})})})}catch(t){return Promise.reject(t)}}function br(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function Hc(e){let t=O(null);try{return e()}finally{O(t)}}function Uh(e){let t=Et(e);if(!t)return null;let n=new Mn(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}var Zh=null;function Ln(){return Zh}function Yh(e){Zh??=e}var Bi=class{};var oe=new C(""),Xc=(()=>{class e{historyGo(n){throw new Error("")}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:()=>p(CI),providedIn:"platform"})}}return e})(),Qh=new C(""),CI=(()=>{class e extends Xc{constructor(){super(),this._doc=p(oe),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Ln().getBaseHref(this._doc)}onPopState(n){let r=Ln().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){let r=Ln().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(n){this._location.pathname=n}pushState(n,r,o){this._history.pushState(n,r,o)}replaceState(n,r,o){this._history.replaceState(n,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:()=>new e,providedIn:"platform"})}}return e})();function eu(e,t){if(e.length==0)return t;if(t.length==0)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,n==2?e+t.substring(1):n==1?e+t:e+"/"+t}function Bh(e){let t=e.match(/#|\?|$/),n=t&&t.index||e.length,r=n-(e[n-1]==="/"?1:0);return e.slice(0,r)+e.slice(n)}function ft(e){return e&&e[0]!=="?"?"?"+e:e}var pt=(()=>{class e{historyGo(n){throw new Error("")}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:()=>p(tu),providedIn:"root"})}}return e})(),Kh=new C(""),tu=(()=>{class e extends pt{constructor(n,r){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??p(oe).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 eu(this._baseHref,n)}path(n=!1){let r=this._platformLocation.pathname+ft(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+ft(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+ft(i));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static{this.\u0275fac=function(r){return new(r||e)(w(Xc),w(Kh,8))}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),Jh=(()=>{class e extends pt{constructor(n,r){super(),this._platformLocation=n,this._baseHref="",this._removeListenerFns=[],r!=null&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}path(n=!1){let r=this._platformLocation.hash??"#";return r.length>0?r.substring(1):r}prepareExternalUrl(n){let r=eu(this._baseHref,n);return r.length>0?"#"+r:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+ft(i));s.length==0&&(s=this._platformLocation.pathname),this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+ft(i));s.length==0&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static{this.\u0275fac=function(r){return new(r||e)(w(Xc),w(Kh,8))}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac})}}return e})(),Vn=(()=>{class e{constructor(n){this._subject=new Fe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=MI(Bh(Hh(r))),this._locationStrategy.onPopState(o=>{this._subject.emit({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+ft(r))}normalize(n){return e.stripTrailingSlash(bI(this._basePath,Hh(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",o=null){this._locationStrategy.pushState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+ft(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+ft(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(o=>o(n,r))}subscribe(n,r,o){return this._subject.subscribe({next:n,error:r,complete:o})}static{this.normalizeQueryParams=ft}static{this.joinWithSlash=eu}static{this.stripTrailingSlash=Bh}static{this.\u0275fac=function(r){return new(r||e)(w(pt))}}static{this.\u0275prov=D({token:e,factory:()=>EI(),providedIn:"root"})}}return e})();function EI(){return new Vn(w(pt))}function bI(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function Hh(e){return e.replace(/\/index.html$/,"")}function MI(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}var de=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}(de||{}),B=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}(B||{}),Ce=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}(Ce||{}),At={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function SI(e){return xe(e)[Y.LocaleId]}function TI(e,t,n){let r=xe(e),o=[r[Y.DayPeriodsFormat],r[Y.DayPeriodsStandalone]],i=Ae(o,t);return Ae(i,n)}function _I(e,t,n){let r=xe(e),o=[r[Y.DaysFormat],r[Y.DaysStandalone]],i=Ae(o,t);return Ae(i,n)}function xI(e,t,n){let r=xe(e),o=[r[Y.MonthsFormat],r[Y.MonthsStandalone]],i=Ae(o,t);return Ae(i,n)}function AI(e,t){let r=xe(e)[Y.Eras];return Ae(r,t)}function Pi(e,t){let n=xe(e);return Ae(n[Y.DateFormat],t)}function Fi(e,t){let n=xe(e);return Ae(n[Y.TimeFormat],t)}function ki(e,t){let r=xe(e)[Y.DateTimeFormat];return Ae(r,t)}function zi(e,t){let n=xe(e),r=n[Y.NumberSymbols][t];if(typeof r>"u"){if(t===At.CurrencyDecimal)return n[Y.NumberSymbols][At.Decimal];if(t===At.CurrencyGroup)return n[Y.NumberSymbols][At.Group]}return r}function Xh(e){if(!e[Y.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[Y.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function NI(e){let t=xe(e);return Xh(t),(t[Y.ExtraData][2]||[]).map(r=>typeof r=="string"?zc(r):[zc(r[0]),zc(r[1])])}function RI(e,t,n){let r=xe(e);Xh(r);let o=[r[Y.ExtraData][0],r[Y.ExtraData][1]],i=Ae(o,t)||[];return Ae(i,n)||[]}function Ae(e,t){for(let n=t;n>-1;n--)if(typeof e[n]<"u")return e[n];throw new Error("Locale data API: locale data undefined")}function zc(e){let[t,n]=e.split(":");return{hours:+t,minutes:+n}}var OI=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Li={},PI=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/,ht=function(e){return e[e.Short=0]="Short",e[e.ShortGMT=1]="ShortGMT",e[e.Long=2]="Long",e[e.Extended=3]="Extended",e}(ht||{}),L=function(e){return e[e.FullYear=0]="FullYear",e[e.Month=1]="Month",e[e.Date=2]="Date",e[e.Hours=3]="Hours",e[e.Minutes=4]="Minutes",e[e.Seconds=5]="Seconds",e[e.FractionalSeconds=6]="FractionalSeconds",e[e.Day=7]="Day",e}(L||{}),k=function(e){return e[e.DayPeriods=0]="DayPeriods",e[e.Days=1]="Days",e[e.Months=2]="Months",e[e.Eras=3]="Eras",e}(k||{});function FI(e,t,n,r){let o=zI(e);t=dt(n,t)||t;let s=[],a;for(;t;)if(a=PI.exec(t),a){s=s.concat(a.slice(1));let l=s.pop();if(!l)break;t=l}else{s.push(t);break}let c=o.getTimezoneOffset();r&&(c=tp(r,c),o=HI(o,r,!0));let u="";return s.forEach(l=>{let d=UI(l);u+=d?d(o,n,c):l==="''"?"'":l.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}function Hi(e,t,n){let r=new Date(0);return r.setFullYear(e,t,n),r.setHours(0,0,0),r}function dt(e,t){let n=SI(e);if(Li[n]??={},Li[n][t])return Li[n][t];let r="";switch(t){case"shortDate":r=Pi(e,Ce.Short);break;case"mediumDate":r=Pi(e,Ce.Medium);break;case"longDate":r=Pi(e,Ce.Long);break;case"fullDate":r=Pi(e,Ce.Full);break;case"shortTime":r=Fi(e,Ce.Short);break;case"mediumTime":r=Fi(e,Ce.Medium);break;case"longTime":r=Fi(e,Ce.Long);break;case"fullTime":r=Fi(e,Ce.Full);break;case"short":let o=dt(e,"shortTime"),i=dt(e,"shortDate");r=ji(ki(e,Ce.Short),[o,i]);break;case"medium":let s=dt(e,"mediumTime"),a=dt(e,"mediumDate");r=ji(ki(e,Ce.Medium),[s,a]);break;case"long":let c=dt(e,"longTime"),u=dt(e,"longDate");r=ji(ki(e,Ce.Long),[c,u]);break;case"full":let l=dt(e,"fullTime"),d=dt(e,"fullDate");r=ji(ki(e,Ce.Full),[l,d]);break}return r&&(Li[n][t]=r),r}function ji(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(n,r){return t!=null&&r in t?t[r]:n})),e}function Ue(e,t,n="-",r,o){let i="";(e<0||o&&e<=0)&&(o?e=-e+1:(e=-e,i=n));let s=String(e);for(;s.length<t;)s="0"+s;return r&&(s=s.slice(s.length-t)),i+s}function kI(e,t){return Ue(e,3).substring(0,t)}function X(e,t,n=0,r=!1,o=!1){return function(i,s){let a=LI(e,i);if((n>0||a>-n)&&(a+=n),e===L.Hours)a===0&&n===-12&&(a=12);else if(e===L.FractionalSeconds)return kI(a,t);let c=zi(s,At.MinusSign);return Ue(a,t,c,r,o)}}function LI(e,t){switch(e){case L.FullYear:return t.getFullYear();case L.Month:return t.getMonth();case L.Date:return t.getDate();case L.Hours:return t.getHours();case L.Minutes:return t.getMinutes();case L.Seconds:return t.getSeconds();case L.FractionalSeconds:return t.getMilliseconds();case L.Day:return t.getDay();default:throw new Error(`Unknown DateType value "${e}".`)}}function H(e,t,n=de.Format,r=!1){return function(o,i){return jI(o,i,e,t,n,r)}}function jI(e,t,n,r,o,i){switch(n){case k.Months:return xI(t,o,r)[e.getMonth()];case k.Days:return _I(t,o,r)[e.getDay()];case k.DayPeriods:let s=e.getHours(),a=e.getMinutes();if(i){let u=NI(t),l=RI(t,o,r),d=u.findIndex(f=>{if(Array.isArray(f)){let[h,v]=f,g=s>=h.hours&&a>=h.minutes,E=s<v.hours||s===v.hours&&a<v.minutes;if(h.hours<v.hours){if(g&&E)return!0}else if(g||E)return!0}else if(f.hours===s&&f.minutes===a)return!0;return!1});if(d!==-1)return l[d]}return TI(t,o,r)[s<12?0:1];case k.Eras:return AI(t,r)[e.getFullYear()<=0?0:1];default:let c=n;throw new Error(`unexpected translation type ${c}`)}}function Vi(e){return function(t,n,r){let o=-1*r,i=zi(n,At.MinusSign),s=o>0?Math.floor(o/60):Math.ceil(o/60);switch(e){case ht.Short:return(o>=0?"+":"")+Ue(s,2,i)+Ue(Math.abs(o%60),2,i);case ht.ShortGMT:return"GMT"+(o>=0?"+":"")+Ue(s,1,i);case ht.Long:return"GMT"+(o>=0?"+":"")+Ue(s,2,i)+":"+Ue(Math.abs(o%60),2,i);case ht.Extended:return r===0?"Z":(o>=0?"+":"")+Ue(s,2,i)+":"+Ue(Math.abs(o%60),2,i);default:throw new Error(`Unknown zone width "${e}"`)}}}var VI=0,Ui=4;function $I(e){let t=Hi(e,VI,1).getDay();return Hi(e,0,1+(t<=Ui?Ui:Ui+7)-t)}function ep(e){let t=e.getDay(),n=t===0?-3:Ui-t;return Hi(e.getFullYear(),e.getMonth(),e.getDate()+n)}function qc(e,t=!1){return function(n,r){let o;if(t){let i=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,s=n.getDate();o=1+Math.floor((s+i)/7)}else{let i=ep(n),s=$I(i.getFullYear()),a=i.getTime()-s.getTime();o=1+Math.round(a/6048e5)}return Ue(o,e,zi(r,At.MinusSign))}}function $i(e,t=!1){return function(n,r){let i=ep(n).getFullYear();return Ue(i,e,zi(r,At.MinusSign),t)}}var Gc={};function UI(e){if(Gc[e])return Gc[e];let t;switch(e){case"G":case"GG":case"GGG":t=H(k.Eras,B.Abbreviated);break;case"GGGG":t=H(k.Eras,B.Wide);break;case"GGGGG":t=H(k.Eras,B.Narrow);break;case"y":t=X(L.FullYear,1,0,!1,!0);break;case"yy":t=X(L.FullYear,2,0,!0,!0);break;case"yyy":t=X(L.FullYear,3,0,!1,!0);break;case"yyyy":t=X(L.FullYear,4,0,!1,!0);break;case"Y":t=$i(1);break;case"YY":t=$i(2,!0);break;case"YYY":t=$i(3);break;case"YYYY":t=$i(4);break;case"M":case"L":t=X(L.Month,1,1);break;case"MM":case"LL":t=X(L.Month,2,1);break;case"MMM":t=H(k.Months,B.Abbreviated);break;case"MMMM":t=H(k.Months,B.Wide);break;case"MMMMM":t=H(k.Months,B.Narrow);break;case"LLL":t=H(k.Months,B.Abbreviated,de.Standalone);break;case"LLLL":t=H(k.Months,B.Wide,de.Standalone);break;case"LLLLL":t=H(k.Months,B.Narrow,de.Standalone);break;case"w":t=qc(1);break;case"ww":t=qc(2);break;case"W":t=qc(1,!0);break;case"d":t=X(L.Date,1);break;case"dd":t=X(L.Date,2);break;case"c":case"cc":t=X(L.Day,1);break;case"ccc":t=H(k.Days,B.Abbreviated,de.Standalone);break;case"cccc":t=H(k.Days,B.Wide,de.Standalone);break;case"ccccc":t=H(k.Days,B.Narrow,de.Standalone);break;case"cccccc":t=H(k.Days,B.Short,de.Standalone);break;case"E":case"EE":case"EEE":t=H(k.Days,B.Abbreviated);break;case"EEEE":t=H(k.Days,B.Wide);break;case"EEEEE":t=H(k.Days,B.Narrow);break;case"EEEEEE":t=H(k.Days,B.Short);break;case"a":case"aa":case"aaa":t=H(k.DayPeriods,B.Abbreviated);break;case"aaaa":t=H(k.DayPeriods,B.Wide);break;case"aaaaa":t=H(k.DayPeriods,B.Narrow);break;case"b":case"bb":case"bbb":t=H(k.DayPeriods,B.Abbreviated,de.Standalone,!0);break;case"bbbb":t=H(k.DayPeriods,B.Wide,de.Standalone,!0);break;case"bbbbb":t=H(k.DayPeriods,B.Narrow,de.Standalone,!0);break;case"B":case"BB":case"BBB":t=H(k.DayPeriods,B.Abbreviated,de.Format,!0);break;case"BBBB":t=H(k.DayPeriods,B.Wide,de.Format,!0);break;case"BBBBB":t=H(k.DayPeriods,B.Narrow,de.Format,!0);break;case"h":t=X(L.Hours,1,-12);break;case"hh":t=X(L.Hours,2,-12);break;case"H":t=X(L.Hours,1);break;case"HH":t=X(L.Hours,2);break;case"m":t=X(L.Minutes,1);break;case"mm":t=X(L.Minutes,2);break;case"s":t=X(L.Seconds,1);break;case"ss":t=X(L.Seconds,2);break;case"S":t=X(L.FractionalSeconds,1);break;case"SS":t=X(L.FractionalSeconds,2);break;case"SSS":t=X(L.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":t=Vi(ht.Short);break;case"ZZZZZ":t=Vi(ht.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=Vi(ht.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":t=Vi(ht.Long);break;default:return null}return Gc[e]=t,t}function tp(e,t){e=e.replace(/:/g,"");let n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function BI(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function HI(e,t,n){let r=n?-1:1,o=e.getTimezoneOffset(),i=tp(t,o);return BI(e,r*(i-o))}function zI(e){if(zh(e))return e;if(typeof e=="number"&&!isNaN(e))return new Date(e);if(typeof e=="string"){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){let[o,i=1,s=1]=e.split("-").map(a=>+a);return Hi(o,i-1,s)}let n=parseFloat(e);if(!isNaN(e-n))return new Date(n);let r;if(r=e.match(OI))return qI(r)}let t=new Date(e);if(!zh(t))throw new Error(`Unable to convert "${e}" into a date`);return t}function qI(e){let t=new Date(0),n=0,r=0,o=e[8]?t.setUTCFullYear:t.setFullYear,i=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),r=Number(e[9]+e[11])),o.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));let s=Number(e[4]||0)-n,a=Number(e[5]||0)-r,c=Number(e[6]||0),u=Math.floor(parseFloat("0."+(e[7]||0))*1e3);return i.call(t,s,a,c,u),t}function zh(e){return e instanceof Date&&!isNaN(e.valueOf())}function qi(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let r=n.indexOf("="),[o,i]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}var Wc=class{constructor(t,n,r,o){this.$implicit=t,this.ngForOf=n,this.index=r,this.count=o}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},np=(()=>{class e{set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}constructor(n,r,o){this._viewContainer=n,this._template=r,this._differs=o,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let n=this._ngForOf;if(!this._differ&&n)if(0)try{}catch{}else this._differ=this._differs.find(n).create(this.ngForTrackBy)}if(this._differ){let n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){let r=this._viewContainer;n.forEachOperation((o,i,s)=>{if(o.previousIndex==null)r.createEmbeddedView(this._template,new Wc(o.item,this._ngForOf,-1,-1),s===null?void 0:s);else if(s==null)r.remove(i===null?void 0:i);else if(i!==null){let a=r.get(i);r.move(a,s),qh(a,o)}});for(let o=0,i=r.length;o<i;o++){let a=r.get(o).context;a.index=o,a.count=i,a.ngForOf=this._ngForOf}n.forEachIdentityChange(o=>{let i=r.get(o.currentIndex);qh(i,o)})}static ngTemplateContextGuard(n,r){return!0}static{this.\u0275fac=function(r){return new(r||e)(te(Nn),te(Ei),te(Bc))}}static{this.\u0275dir=Tn({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}}return e})();function qh(e,t){e.context.$implicit=t.item}var XA=(()=>{class e{constructor(n,r){this._viewContainer=n,this._context=new Zc,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}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,r){return!0}static{this.\u0275fac=function(r){return new(r||e)(te(Nn),te(Ei))}}static{this.\u0275dir=Tn({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}}return e})(),Zc=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 '${le(t)}'.`)}function rp(e,t){return new y(2100,!1)}var Yc=class{createSubscription(t,n){return Hc(()=>t.subscribe({next:n,error:r=>{throw r}}))}dispose(t){Hc(()=>t.unsubscribe())}},Qc=class{createSubscription(t,n){return t.then(n,r=>{throw r})}dispose(t){}},GI=new Qc,WI=new Yc,eN=(()=>{class e{constructor(n){this._latestValue=null,this.markForCheckOnValueUpdate=!0,this._subscription=null,this._obj=null,this._strategy=null,this._ref=n}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(n){if(!this._obj){if(n)try{this.markForCheckOnValueUpdate=!1,this._subscribe(n)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return n!==this._obj?(this._dispose(),this.transform(n)):this._latestValue}_subscribe(n){this._obj=n,this._strategy=this._selectStrategy(n),this._subscription=this._strategy.createSubscription(n,r=>this._updateLatestValue(n,r))}_selectStrategy(n){if(Pn(n))return GI;if(Uc(n))return WI;throw rp(e,n)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(n,r){n===this._obj&&(this._latestValue=r,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static{this.\u0275fac=function(r){return new(r||e)(te(kn,16))}}static{this.\u0275pipe=Ja({name:"async",type:e,pure:!1,standalone:!0})}}return e})();var ZI="mediumDate",YI=new C(""),QI=new C(""),op=(()=>{class e{constructor(n,r,o){this.locale=n,this.defaultTimezone=r,this.defaultOptions=o}transform(n,r,o,i){if(n==null||n===""||n!==n)return null;try{let s=r??this.defaultOptions?.dateFormat??ZI,a=o??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return FI(n,s,i||this.locale,a)}catch(s){throw rp(e,s.message)}}static{this.\u0275fac=function(r){return new(r||e)(te(Oi,16),te(YI,24),te(QI,24))}}static{this.\u0275pipe=Ja({name:"date",type:e,pure:!0,standalone:!0})}}return e})();var KI=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275mod=Kt({type:e})}static{this.\u0275inj=Qt({})}}return e})(),nu="browser",JI="server";function XI(e){return e===nu}function Gi(e){return e===JI}var ip=(()=>{class e{static{this.\u0275prov=D({token:e,providedIn:"root",factory:()=>XI(p(Ye))?new Kc(p(oe),window):new Jc})}}return e})(),Kc=class{constructor(t,n){this.document=t,this.window=n,this.offset=()=>[0,0]}setOffset(t){Array.isArray(t)?this.offset=()=>t:this.offset=t}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(t){this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){let n=eC(this.document,t);n&&(this.scrollToElement(n),n.focus())}setHistoryScrollRestoration(t){this.window.history.scrollRestoration=t}scrollToElement(t){let n=t.getBoundingClientRect(),r=n.left+this.window.pageXOffset,o=n.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(r-i[0],o-i[1])}};function eC(e,t){let n=e.getElementById(t)||e.getElementsByName(t)[0];if(n)return n;if(typeof e.createTreeWalker=="function"&&e.body&&typeof e.body.attachShadow=="function"){let r=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT),o=r.currentNode;for(;o;){let i=o.shadowRoot;if(i){let s=i.getElementById(t)||i.querySelector(`[name="${t}"]`);if(s)return s}o=r.nextNode()}}return null}var Jc=class{setOffset(t){}getScrollPosition(){return[0,0]}scrollToPosition(t){}scrollToAnchor(t){}setHistoryScrollRestoration(t){}},jn=class{};var Tr=class{},Zi=class{},en=class e{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?typeof t=="string"?this.lazyInit=()=>{this.headers=new Map,t.split(`
`).forEach(n=>{let r=n.indexOf(":");if(r>0){let o=n.slice(0,r),i=o.toLowerCase(),s=n.slice(r+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((n,r)=>{this.setHeaderEntries(r,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([n,r])=>{this.setHeaderEntries(n,r)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:"a"})}set(t,n){return this.clone({name:t,value:n,op:"s"})}delete(t,n){return this.clone({name:t,value:n,op:"d"})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(n=>{this.headers.set(n,t.headers.get(n)),this.normalizedNames.set(n,t.normalizedNames.get(n))})}clone(t){let n=new e;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){let n=t.name.toLowerCase();switch(t.op){case"a":case"s":let r=t.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(t.name,n);let o=(t.op==="a"?this.headers.get(n):void 0)||[];o.push(...r),this.headers.set(n,o);break;case"d":let i=t.value;if(!i)this.headers.delete(n),this.normalizedNames.delete(n);else{let s=this.headers.get(n);if(!s)return;s=s.filter(a=>i.indexOf(a)===-1),s.length===0?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}break}}setHeaderEntries(t,n){let r=(Array.isArray(n)?n:[n]).map(i=>i.toString()),o=t.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(t,o)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}};var iu=class{encodeKey(t){return sp(t)}encodeValue(t){return sp(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}};function rC(e,t){let n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(o=>{let i=o.indexOf("="),[s,a]=i==-1?[t.decodeKey(o),""]:[t.decodeKey(o.slice(0,i)),t.decodeValue(o.slice(i+1))],c=n.get(s)||[];c.push(a),n.set(s,c)}),n}var oC=/%(\d[a-f0-9])/gi,iC={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function sp(e){return encodeURIComponent(e).replace(oC,(t,n)=>iC[n]??t)}function Wi(e){return`${e}`}var Nt=class e{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new iu,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=rC(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(n=>{let r=t.fromObject[n],o=Array.isArray(r)?r.map(Wi):[Wi(r)];this.map.set(n,o)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();let n=this.map.get(t);return n?n[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,n){return this.clone({param:t,value:n,op:"a"})}appendAll(t){let n=[];return Object.keys(t).forEach(r=>{let o=t[r];Array.isArray(o)?o.forEach(i=>{n.push({param:r,value:i,op:"a"})}):n.push({param:r,value:o,op:"a"})}),this.clone(n)}set(t,n){return this.clone({param:t,value:n,op:"s"})}delete(t,n){return this.clone({param:t,value:n,op:"d"})}toString(){return this.init(),this.keys().map(t=>{let n=this.encoder.encodeKey(t);return this.map.get(t).map(r=>n+"="+this.encoder.encodeValue(r)).join("&")}).filter(t=>t!=="").join("&")}clone(t){let n=new e({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":let n=(t.op==="a"?this.map.get(t.param):void 0)||[];n.push(Wi(t.value)),this.map.set(t.param,n);break;case"d":if(t.value!==void 0){let r=this.map.get(t.param)||[],o=r.indexOf(Wi(t.value));o!==-1&&r.splice(o,1),r.length>0?this.map.set(t.param,r):this.map.delete(t.param)}else{this.map.delete(t.param);break}}}),this.cloneFrom=this.updates=null)}};var su=class{constructor(){this.map=new Map}set(t,n){return this.map.set(t,n),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}};function sC(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function ap(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function cp(e){return typeof Blob<"u"&&e instanceof Blob}function up(e){return typeof FormData<"u"&&e instanceof FormData}function aC(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var Sr=class e{constructor(t,n,r,o){this.url=n,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase();let i;if(sC(this.method)||o?(this.body=r!==void 0?r:null,i=o):i=r,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),this.transferCache=i.transferCache),this.headers??=new en,this.context??=new su,!this.params)this.params=new Nt,this.urlWithParams=n;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=n;else{let a=n.indexOf("?"),c=a===-1?"?":a<n.length-1?"&":"";this.urlWithParams=n+c+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||ap(this.body)||cp(this.body)||up(this.body)||aC(this.body)?this.body:this.body instanceof Nt?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||up(this.body)?null:cp(this.body)?this.body.type||null:ap(this.body)?null:typeof this.body=="string"?"text/plain":this.body instanceof Nt?"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 n=t.method||this.method,r=t.url||this.url,o=t.responseType||this.responseType,i=t.transferCache??this.transferCache,s=t.body!==void 0?t.body:this.body,a=t.withCredentials??this.withCredentials,c=t.reportProgress??this.reportProgress,u=t.headers||this.headers,l=t.params||this.params,d=t.context??this.context;return t.setHeaders!==void 0&&(u=Object.keys(t.setHeaders).reduce((f,h)=>f.set(h,t.setHeaders[h]),u)),t.setParams&&(l=Object.keys(t.setParams).reduce((f,h)=>f.set(h,t.setParams[h]),l)),new e(n,r,s,{params:l,headers:u,context:d,reportProgress:c,responseType:o,withCredentials:a,transferCache:i})}},$n=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}($n||{}),_r=class{constructor(t,n=Ki.Ok,r="OK"){this.headers=t.headers||new en,this.status=t.status!==void 0?t.status:n,this.statusText=t.statusText||r,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}},au=class e extends _r{constructor(t={}){super(t),this.type=$n.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})}},Yi=class e extends _r{constructor(t={}){super(t),this.type=$n.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})}},Qi=class extends _r{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}},Ki=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}(Ki||{});function ou(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 cC=(()=>{class e{constructor(n){this.handler=n}request(n,r,o={}){let i;if(n instanceof Sr)i=n;else{let c;o.headers instanceof en?c=o.headers:c=new en(o.headers);let u;o.params&&(o.params instanceof Nt?u=o.params:u=new Nt({fromObject:o.params})),i=new Sr(n,r,o.body!==void 0?o.body:null,{headers:c,context:o.context,params:u,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}let s=I(i).pipe(rt(c=>this.handler.handle(c)));if(n instanceof Sr||o.observe==="events")return s;let a=s.pipe(he(c=>c instanceof Yi));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(T(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return c.body}));case"blob":return a.pipe(T(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new Error("Response is not a Blob.");return c.body}));case"text":return a.pipe(T(c=>{if(c.body!==null&&typeof c.body!="string")throw new Error("Response is not a string.");return c.body}));case"json":default:return a.pipe(T(c=>c.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(n,r={}){return this.request("DELETE",n,r)}get(n,r={}){return this.request("GET",n,r)}head(n,r={}){return this.request("HEAD",n,r)}jsonp(n,r){return this.request("JSONP",n,{params:new Nt().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,r={}){return this.request("OPTIONS",n,r)}patch(n,r,o={}){return this.request("PATCH",n,ou(o,r))}post(n,r,o={}){return this.request("POST",n,ou(o,r))}put(n,r,o={}){return this.request("PUT",n,ou(o,r))}static{this.\u0275fac=function(r){return new(r||e)(w(Tr))}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac})}}return e})();function hp(e,t){return t(e)}function uC(e,t){return(n,r)=>t.intercept(n,{handle:o=>e(o,r)})}function lC(e,t,n){return(r,o)=>$e(n,()=>t(r,i=>e(i,o)))}var dC=new C(""),cu=new C(""),fC=new C(""),hC=new C("");function pC(){let e=null;return(t,n)=>{e===null&&(e=(p(dC,{optional:!0})??[]).reduceRight(uC,hp));let r=p(Xt),o=r.add();return e(t,n).pipe(wt(()=>r.remove(o)))}}var lp=(()=>{class e extends Tr{constructor(n,r){super(),this.backend=n,this.injector=r,this.chain=null,this.pendingTasks=p(Xt);let o=p(hC,{optional:!0});this.backend=o??n}handle(n){if(this.chain===null){let o=Array.from(new Set([...this.injector.get(cu),...this.injector.get(fC,[])]));this.chain=o.reduceRight((i,s)=>lC(i,s,this.injector),hp)}let r=this.pendingTasks.add();return this.chain(n,o=>this.backend.handle(o)).pipe(wt(()=>this.pendingTasks.remove(r)))}static{this.\u0275fac=function(r){return new(r||e)(w(Zi),w(ie))}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac})}}return e})();var gC=/^\)\]\}',?\n/;function mC(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}var dp=(()=>{class e{constructor(n){this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new y(-2800,!1);let r=this.xhrFactory;return(r.\u0275loadImpl?z(r.\u0275loadImpl()):I(null)).pipe(pe(()=>new P(i=>{let s=r.build();if(s.open(n.method,n.urlWithParams),n.withCredentials&&(s.withCredentials=!0),n.headers.forEach((g,E)=>s.setRequestHeader(g,E.join(","))),n.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){let g=n.detectContentTypeHeader();g!==null&&s.setRequestHeader("Content-Type",g)}if(n.responseType){let g=n.responseType.toLowerCase();s.responseType=g!=="json"?g:"text"}let a=n.serializeBody(),c=null,u=()=>{if(c!==null)return c;let g=s.statusText||"OK",E=new en(s.getAllResponseHeaders()),_=mC(s)||n.url;return c=new au({headers:E,status:s.status,statusText:g,url:_}),c},l=()=>{let{headers:g,status:E,statusText:_,url:ae}=u(),V=null;E!==Ki.NoContent&&(V=typeof s.response>"u"?s.responseText:s.response),E===0&&(E=V?Ki.Ok:0);let ve=E>=200&&E<300;if(n.responseType==="json"&&typeof V=="string"){let mt=V;V=V.replace(gC,"");try{V=V!==""?JSON.parse(V):null}catch(ye){V=mt,ve&&(ve=!1,V={error:ye,text:V})}}ve?(i.next(new Yi({body:V,headers:g,status:E,statusText:_,url:ae||void 0})),i.complete()):i.error(new Qi({error:V,headers:g,status:E,statusText:_,url:ae||void 0}))},d=g=>{let{url:E}=u(),_=new Qi({error:g,status:s.status||0,statusText:s.statusText||"Unknown Error",url:E||void 0});i.error(_)},f=!1,h=g=>{f||(i.next(u()),f=!0);let E={type:$n.DownloadProgress,loaded:g.loaded};g.lengthComputable&&(E.total=g.total),n.responseType==="text"&&s.responseText&&(E.partialText=s.responseText),i.next(E)},v=g=>{let E={type:$n.UploadProgress,loaded:g.loaded};g.lengthComputable&&(E.total=g.total),i.next(E)};return s.addEventListener("load",l),s.addEventListener("error",d),s.addEventListener("timeout",d),s.addEventListener("abort",d),n.reportProgress&&(s.addEventListener("progress",h),a!==null&&s.upload&&s.upload.addEventListener("progress",v)),s.send(a),i.next({type:$n.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",l),s.removeEventListener("timeout",d),n.reportProgress&&(s.removeEventListener("progress",h),a!==null&&s.upload&&s.upload.removeEventListener("progress",v)),s.readyState!==s.DONE&&s.abort()}})))}static{this.\u0275fac=function(r){return new(r||e)(w(jn))}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac})}}return e})(),pp=new C(""),vC="XSRF-TOKEN",yC=new C("",{providedIn:"root",factory:()=>vC}),DC="X-XSRF-TOKEN",wC=new C("",{providedIn:"root",factory:()=>DC}),Ji=class{},IC=(()=>{class e{constructor(n,r,o){this.doc=n,this.platform=r,this.cookieName=o,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=qi(n,this.cookieName),this.lastCookieString=n),this.lastToken}static{this.\u0275fac=function(r){return new(r||e)(w(oe),w(Ye),w(yC))}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac})}}return e})();function CC(e,t){let n=e.url.toLowerCase();if(!p(pp)||e.method==="GET"||e.method==="HEAD"||n.startsWith("http://")||n.startsWith("https://"))return t(e);let r=p(Ji).getToken(),o=p(wC);return r!=null&&!e.headers.has(o)&&(e=e.clone({headers:e.headers.set(o,r)})),t(e)}var gp=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}(gp||{});function EC(e,t){return{\u0275kind:e,\u0275providers:t}}function bC(...e){let t=[cC,dp,lp,{provide:Tr,useExisting:lp},{provide:Zi,useExisting:dp},{provide:cu,useValue:CC,multi:!0},{provide:pp,useValue:!0},{provide:Ji,useClass:IC}];for(let n of e)t.push(...n.\u0275providers);return _n(t)}var fp=new C("");function MC(){return EC(gp.LegacyInterceptors,[{provide:fp,useFactory:pC},{provide:cu,useExisting:fp,multi:!0}])}var hN=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275mod=Kt({type:e})}static{this.\u0275inj=Qt({providers:[bC(MC())]})}}return e})();var du=class extends Bi{constructor(){super(...arguments),this.supportsDOMEvents=!0}},fu=class e extends du{static makeCurrent(){Yh(new e)}onAndCancel(t,n,r){return t.addEventListener(n,r),()=>{t.removeEventListener(n,r)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,n){return n=n||this.getDefaultDocument(),n.createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return n==="window"?window:n==="document"?t:n==="body"?t.body:null}getBaseHref(t){let n=SC();return n==null?null:TC(n)}resetBaseElement(){xr=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return qi(document.cookie,t)}},xr=null;function SC(){return xr=xr||document.querySelector("base"),xr?xr.getAttribute("href"):null}function TC(e){return new URL(e,document.baseURI).pathname}var _C=(()=>{class e{build(){return new XMLHttpRequest}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac})}}return e})(),hu=new C(""),Dp=(()=>{class e{constructor(n,r){this._zone=r,this._eventNameToPlugin=new Map,n.forEach(o=>{o.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,r,o){return this._findPluginFor(r).addEventListener(n,r,o)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(i=>i.supports(n)),!r)throw new y(5101,!1);return this._eventNameToPlugin.set(n,r),r}static{this.\u0275fac=function(r){return new(r||e)(w(hu),w(q))}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac})}}return e})(),Xi=class{constructor(t){this._doc=t}},uu="ng-app-id",wp=(()=>{class e{constructor(n,r,o,i={}){this.doc=n,this.appId=r,this.nonce=o,this.platformId=i,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=Gi(i),this.resetHostNodes()}addStyles(n){for(let r of n)this.changeUsageCount(r,1)===1&&this.onStyleAdded(r)}removeStyles(n){for(let r of n)this.changeUsageCount(r,-1)<=0&&this.onStyleRemoved(r)}ngOnDestroy(){let n=this.styleNodesInDOM;n&&(n.forEach(r=>r.remove()),n.clear());for(let r of this.getAllStyles())this.onStyleRemoved(r);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(let r of this.getAllStyles())this.addStyleToHost(n,r)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(let r of this.hostNodes)this.addStyleToHost(r,n)}onStyleRemoved(n){let r=this.styleRef;r.get(n)?.elements?.forEach(o=>o.remove()),r.delete(n)}collectServerRenderedStyles(){let n=this.doc.head?.querySelectorAll(`style[${uu}="${this.appId}"]`);if(n?.length){let r=new Map;return n.forEach(o=>{o.textContent!=null&&r.set(o.textContent,o)}),r}return null}changeUsageCount(n,r){let o=this.styleRef;if(o.has(n)){let i=o.get(n);return i.usage+=r,i.usage}return o.set(n,{usage:r,elements:[]}),r}getStyleElement(n,r){let o=this.styleNodesInDOM,i=o?.get(r);if(i?.parentNode===n)return o.delete(r),i.removeAttribute(uu),i;{let s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=r,this.platformIsServer&&s.setAttribute(uu,this.appId),n.appendChild(s),s}}addStyleToHost(n,r){let o=this.getStyleElement(n,r),i=this.styleRef,s=i.get(r)?.elements;s?s.push(o):i.set(r,{elements:[o],usage:1})}resetHostNodes(){let n=this.hostNodes;n.clear(),n.add(this.doc.head)}static{this.\u0275fac=function(r){return new(r||e)(w(oe),w(gc),w(vc,8),w(Ye))}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac})}}return e})(),lu={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/"},gu=/%COMP%/g,Ip="%COMP%",xC=`_nghost-${Ip}`,AC=`_ngcontent-${Ip}`,NC=!0,RC=new C("",{providedIn:"root",factory:()=>NC});function OC(e){return AC.replace(gu,e)}function PC(e){return xC.replace(gu,e)}function Cp(e,t){return t.map(n=>n.replace(gu,e))}var mp=(()=>{class e{constructor(n,r,o,i,s,a,c,u=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.platformId=a,this.ngZone=c,this.nonce=u,this.rendererByCompId=new Map,this.platformIsServer=Gi(a),this.defaultRenderer=new Ar(n,s,c,this.platformIsServer)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===Ge.ShadowDom&&(r=W(m({},r),{encapsulation:Ge.Emulated}));let o=this.getOrCreateRenderer(n,r);return o instanceof es?o.applyToHost(n):o instanceof Nr&&o.applyStyles(),o}getOrCreateRenderer(n,r){let o=this.rendererByCompId,i=o.get(r.id);if(!i){let s=this.doc,a=this.ngZone,c=this.eventManager,u=this.sharedStylesHost,l=this.removeStylesOnCompDestroy,d=this.platformIsServer;switch(r.encapsulation){case Ge.Emulated:i=new es(c,u,r,this.appId,l,s,a,d);break;case Ge.ShadowDom:return new pu(c,u,n,r,s,a,this.nonce,d);default:i=new Nr(c,u,r,l,s,a,d);break}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}static{this.\u0275fac=function(r){return new(r||e)(w(Dp),w(wp),w(gc),w(RC),w(oe),w(Ye),w(q),w(vc))}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac})}}return e})(),Ar=class{constructor(t,n,r,o){this.eventManager=t,this.doc=n,this.ngZone=r,this.platformIsServer=o,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(t,n){return n?this.doc.createElementNS(lu[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(vp(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(vp(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){t&&t.removeChild(n)}selectRootElement(t,n){let r=typeof t=="string"?this.doc.querySelector(t):t;if(!r)throw new y(-5104,!1);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,o){if(o){n=o+":"+n;let i=lu[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){let o=lu[r];o?t.removeAttributeNS(o,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,o){o&(at.DashCase|at.Important)?t.style.setProperty(n,r,o&at.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&at.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){t!=null&&(t[n]=r)}setValue(t,n){t.nodeValue=n}listen(t,n,r){if(typeof t=="string"&&(t=Ln().getGlobalEventTarget(this.doc,t),!t))throw new Error(`Unsupported event target ${t} for event ${n}`);return this.eventManager.addEventListener(t,n,this.decoratePreventDefault(r))}decoratePreventDefault(t){return n=>{if(n==="__ngUnwrap__")return t;(this.platformIsServer?this.ngZone.runGuarded(()=>t(n)):t(n))===!1&&n.preventDefault()}}};function vp(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var pu=class extends Ar{constructor(t,n,r,o,i,s,a,c){super(t,i,s,c),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let u=Cp(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,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(this.nodeOrShadowRoot(t),n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Nr=class extends Ar{constructor(t,n,r,o,i,s,a,c){super(t,i,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o,this.styles=c?Cp(c,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},es=class extends Nr{constructor(t,n,r,o,i,s,a,c){let u=o+"-"+r.id;super(t,n,r,i,s,a,c,u),this.contentAttr=OC(u),this.hostAttr=PC(u)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){let r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}},FC=(()=>{class e extends Xi{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o){return n.addEventListener(r,o,!1),()=>this.removeEventListener(n,r,o)}removeEventListener(n,r,o){return n.removeEventListener(r,o)}static{this.\u0275fac=function(r){return new(r||e)(w(oe))}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac})}}return e})(),yp=["alt","control","meta","shift"],kC={"\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"},LC={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},jC=(()=>{class e extends Xi{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,r,o){let i=e.parseEventName(r),s=e.eventCallback(i.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Ln().onAndCancel(n,i.domEventName,s))}static parseEventName(n){let r=n.toLowerCase().split("."),o=r.shift();if(r.length===0||!(o==="keydown"||o==="keyup"))return null;let i=e._normalizeKey(r.pop()),s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),yp.forEach(u=>{let l=r.indexOf(u);l>-1&&(r.splice(l,1),s+=u+".")}),s+=i,r.length!=0||i.length===0)return null;let c={};return c.domEventName=o,c.fullKey=s,c}static matchEventFullKeyCode(n,r){let o=kC[n.key]||n.key,i="";return r.indexOf("code.")>-1&&(o=n.code,i="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),yp.forEach(s=>{if(s!==o){let a=LC[s];a(n)&&(i+=s+".")}}),i+=o,i===r)}static eventCallback(n,r,o){return i=>{e.matchEventFullKeyCode(i,n)&&o.runGuarded(()=>r(i))}}static _normalizeKey(n){return n==="esc"?"escape":n}static{this.\u0275fac=function(r){return new(r||e)(w(oe))}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac})}}return e})();function NN(e,t){return $h(m({rootComponent:e},VC(t)))}function VC(e){return{appProviders:[...zC,...e?.providers??[]],platformProviders:HC}}function $C(){fu.makeCurrent()}function UC(){return new Ze}function BC(){return $f(document),document}var HC=[{provide:Ye,useValue:nu},{provide:mc,useValue:$C,multi:!0},{provide:oe,useFactory:BC,deps:[]}];var zC=[{provide:ci,useValue:"root"},{provide:Ze,useFactory:UC,deps:[]},{provide:hu,useClass:FC,multi:!0,deps:[oe,q,Ye]},{provide:hu,useClass:jC,multi:!0,deps:[oe]},mp,wp,Dp,{provide:dr,useExisting:mp},{provide:jn,useClass:_C,deps:[]},[]];var Ep=(()=>{class e{constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}static{this.\u0275fac=function(r){return new(r||e)(w(oe))}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var qC=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=w(GC),o},providedIn:"root"})}}return e})(),GC=(()=>{class e extends qC{constructor(n){super(),this._doc=n}sanitize(n,r){if(r==null)return null;switch(n){case Ke.NONE:return r;case Ke.HTML:return _t(r,"HTML")?Qe(r):Jf(this._doc,String(r)).toString();case Ke.STYLE:return _t(r,"Style")?Qe(r):r;case Ke.SCRIPT:if(_t(r,"Script"))return Qe(r);throw new y(5200,!1);case Ke.URL:return _t(r,"URL")?Qe(r):yi(String(r));case Ke.RESOURCE_URL:if(_t(r,"ResourceURL"))return Qe(r);throw new y(5201,!1);default:throw new y(5202,!1)}}bypassSecurityTrustHtml(n){return Bf(n)}bypassSecurityTrustStyle(n){return Hf(n)}bypassSecurityTrustScript(n){return zf(n)}bypassSecurityTrustUrl(n){return qf(n)}bypassSecurityTrustResourceUrl(n){return Gf(n)}static{this.\u0275fac=function(r){return new(r||e)(w(oe))}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var S="primary",Wr=Symbol("RouteTitle"),wu=class{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){let n=this.params[t];return Array.isArray(n)?n[0]:n}return null}getAll(t){if(this.has(t)){let n=this.params[t];return Array.isArray(n)?n:[n]}return[]}get keys(){return Object.keys(this.params)}};function qn(e){return new wu(e)}function ZC(e,t,n){let r=n.path.split("/");if(r.length>e.length||n.pathMatch==="full"&&(t.hasChildren()||r.length<e.length))return null;let o={};for(let i=0;i<r.length;i++){let s=r[i],a=e[i];if(s.startsWith(":"))o[s.substring(1)]=a;else if(s!==a.path)return null}return{consumed:e.slice(0,r.length),posParams:o}}function YC(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;++n)if(!Je(e[n],t[n]))return!1;return!0}function Je(e,t){let n=e?Iu(e):void 0,r=t?Iu(t):void 0;if(!n||!r||n.length!=r.length)return!1;let o;for(let i=0;i<n.length;i++)if(o=n[i],!Rp(e[o],t[o]))return!1;return!0}function Iu(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 n=[...e].sort(),r=[...t].sort();return n.every((o,i)=>r[i]===o)}else return e===t}function Op(e){return e.length>0?e[e.length-1]:null}function kt(e){return Ps(e)?e:Pn(e)?z(Promise.resolve(e)):I(e)}var QC={exact:Fp,subset:kp},Pp={exact:KC,subset:JC,ignored:()=>!0};function bp(e,t,n){return QC[n.paths](e.root,t.root,n.matrixParams)&&Pp[n.queryParams](e.queryParams,t.queryParams)&&!(n.fragment==="exact"&&e.fragment!==t.fragment)}function KC(e,t){return Je(e,t)}function Fp(e,t,n){if(!nn(e.segments,t.segments)||!rs(e.segments,t.segments,n)||e.numberOfChildren!==t.numberOfChildren)return!1;for(let r in t.children)if(!e.children[r]||!Fp(e.children[r],t.children[r],n))return!1;return!0}function JC(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>Rp(e[n],t[n]))}function kp(e,t,n){return Lp(e,t,t.segments,n)}function Lp(e,t,n,r){if(e.segments.length>n.length){let o=e.segments.slice(0,n.length);return!(!nn(o,n)||t.hasChildren()||!rs(o,n,r))}else if(e.segments.length===n.length){if(!nn(e.segments,n)||!rs(e.segments,n,r))return!1;for(let o in t.children)if(!e.children[o]||!kp(e.children[o],t.children[o],r))return!1;return!0}else{let o=n.slice(0,e.segments.length),i=n.slice(e.segments.length);return!nn(e.segments,o)||!rs(e.segments,o,r)||!e.children[S]?!1:Lp(e.children[S],t,i,r)}}function rs(e,t,n){return t.every((r,o)=>Pp[n](e[o].parameters,r.parameters))}var Rt=class{constructor(t=new j([],{}),n={},r=null){this.root=t,this.queryParams=n,this.fragment=r}get queryParamMap(){return this._queryParamMap??=qn(this.queryParams),this._queryParamMap}toString(){return tE.serialize(this)}},j=class{constructor(t,n){this.segments=t,this.children=n,this.parent=null,Object.values(n).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return os(this)}},tn=class{constructor(t,n){this.path=t,this.parameters=n}get parameterMap(){return this._parameterMap??=qn(this.parameters),this._parameterMap}toString(){return Vp(this)}};function XC(e,t){return nn(e,t)&&e.every((n,r)=>Je(n.parameters,t[r].parameters))}function nn(e,t){return e.length!==t.length?!1:e.every((n,r)=>n.path===t[r].path)}function eE(e,t){let n=[];return Object.entries(e.children).forEach(([r,o])=>{r===S&&(n=n.concat(t(o,r)))}),Object.entries(e.children).forEach(([r,o])=>{r!==S&&(n=n.concat(t(o,r)))}),n}var Zr=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:()=>new jr,providedIn:"root"})}}return e})(),jr=class{parse(t){let n=new Eu(t);return new Rt(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(t){let n=`/${Rr(t.root,!0)}`,r=oE(t.queryParams),o=typeof t.fragment=="string"?`#${nE(t.fragment)}`:"";return`${n}${r}${o}`}},tE=new jr;function os(e){return e.segments.map(t=>Vp(t)).join("/")}function Rr(e,t){if(!e.hasChildren())return os(e);if(t){let n=e.children[S]?Rr(e.children[S],!1):"",r=[];return Object.entries(e.children).forEach(([o,i])=>{o!==S&&r.push(`${o}:${Rr(i,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}else{let n=eE(e,(r,o)=>o===S?[Rr(e.children[S],!1)]:[`${o}:${Rr(r,!1)}`]);return Object.keys(e.children).length===1&&e.children[S]!=null?`${os(e)}/${n[0]}`:`${os(e)}/(${n.join("//")})`}}function jp(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function ts(e){return jp(e).replace(/%3B/gi,";")}function nE(e){return encodeURI(e)}function Cu(e){return jp(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function is(e){return decodeURIComponent(e)}function Mp(e){return is(e.replace(/\+/g,"%20"))}function Vp(e){return`${Cu(e.path)}${rE(e.parameters)}`}function rE(e){return Object.entries(e).map(([t,n])=>`;${Cu(t)}=${Cu(n)}`).join("")}function oE(e){let t=Object.entries(e).map(([n,r])=>Array.isArray(r)?r.map(o=>`${ts(n)}=${ts(o)}`).join("&"):`${ts(n)}=${ts(r)}`).filter(n=>n);return t.length?`?${t.join("&")}`:""}var iE=/^[^\/()?;#]+/;function mu(e){let t=e.match(iE);return t?t[0]:""}var sE=/^[^\/()?;=#]+/;function aE(e){let t=e.match(sE);return t?t[0]:""}var cE=/^[^=?&#]+/;function uE(e){let t=e.match(cE);return t?t[0]:""}var lE=/^[^&#]+/;function dE(e){let t=e.match(lE);return t?t[0]:""}var Eu=class{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new j([],{}):new j([],this.parseChildren())}parseQueryParams(){let t={};if(this.consumeOptional("?"))do this.parseQueryParam(t);while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let n={};this.peekStartsWith("/(")&&(this.capture("/"),n=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(t.length>0||Object.keys(n).length>0)&&(r[S]=new j(t,n)),r}parseSegment(){let t=mu(this.remaining);if(t===""&&this.peekStartsWith(";"))throw new y(4009,!1);return this.capture(t),new tn(is(t),this.parseMatrixParams())}parseMatrixParams(){let t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){let n=aE(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let o=mu(this.remaining);o&&(r=o,this.capture(r))}t[is(n)]=is(r)}parseQueryParam(t){let n=uE(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let s=dE(this.remaining);s&&(r=s,this.capture(r))}let o=Mp(n),i=Mp(r);if(t.hasOwnProperty(o)){let s=t[o];Array.isArray(s)||(s=[s],t[o]=s),s.push(i)}else t[o]=i}parseParens(t){let n={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let r=mu(this.remaining),o=this.remaining[r.length];if(o!=="/"&&o!==")"&&o!==";")throw new y(4010,!1);let i;r.indexOf(":")>-1?(i=r.slice(0,r.indexOf(":")),this.capture(i),this.capture(":")):t&&(i=S);let s=this.parseChildren();n[i]=Object.keys(s).length===1?s[S]:new j([],s),this.consumeOptional("//")}return n}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return this.peekStartsWith(t)?(this.remaining=this.remaining.substring(t.length),!0):!1}capture(t){if(!this.consumeOptional(t))throw new y(4011,!1)}};function $p(e){return e.segments.length>0?new j([],{[S]:e}):e}function Up(e){let t={};for(let[r,o]of Object.entries(e.children)){let i=Up(o);if(r===S&&i.segments.length===0&&i.hasChildren())for(let[s,a]of Object.entries(i.children))t[s]=a;else(i.segments.length>0||i.hasChildren())&&(t[r]=i)}let n=new j(e.segments,t);return fE(n)}function fE(e){if(e.numberOfChildren===1&&e.children[S]){let t=e.children[S];return new j(e.segments.concat(t.segments),t.children)}return e}function Gn(e){return e instanceof Rt}function hE(e,t,n=null,r=null){let o=Bp(e);return Hp(o,t,n,r)}function Bp(e){let t;function n(i){let s={};for(let c of i.children){let u=n(c);s[c.outlet]=u}let a=new j(i.url,s);return i===e&&(t=a),a}let r=n(e.root),o=$p(r);return t??o}function Hp(e,t,n,r){let o=e;for(;o.parent;)o=o.parent;if(t.length===0)return vu(o,o,o,n,r);let i=pE(t);if(i.toRoot())return vu(o,o,new j([],{}),n,r);let s=gE(i,o,e),a=s.processChildren?Fr(s.segmentGroup,s.index,i.commands):qp(s.segmentGroup,s.index,i.commands);return vu(o,s.segmentGroup,a,n,r)}function ss(e){return typeof e=="object"&&e!=null&&!e.outlets&&!e.segmentPath}function Vr(e){return typeof e=="object"&&e!=null&&e.outlets}function vu(e,t,n,r,o){let i={};r&&Object.entries(r).forEach(([c,u])=>{i[c]=Array.isArray(u)?u.map(l=>`${l}`):`${u}`});let s;e===t?s=n:s=zp(e,t,n);let a=$p(Up(s));return new Rt(a,i,o)}function zp(e,t,n){let r={};return Object.entries(e.children).forEach(([o,i])=>{i===t?r[o]=n:r[o]=zp(i,t,n)}),new j(e.segments,r)}var as=class{constructor(t,n,r){if(this.isAbsolute=t,this.numberOfDoubleDots=n,this.commands=r,t&&r.length>0&&ss(r[0]))throw new y(4003,!1);let o=r.find(Vr);if(o&&o!==Op(r))throw new y(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function pE(e){if(typeof e[0]=="string"&&e.length===1&&e[0]==="/")return new as(!0,0,e);let t=0,n=!1,r=e.reduce((o,i,s)=>{if(typeof i=="object"&&i!=null){if(i.outlets){let a={};return Object.entries(i.outlets).forEach(([c,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===""?n=!0:a===".."?t++:a!=""&&o.push(a))}),o):[...o,i]},[]);return new as(n,t,r)}var Hn=class{constructor(t,n,r){this.segmentGroup=t,this.processChildren=n,this.index=r}};function gE(e,t,n){if(e.isAbsolute)return new Hn(t,!0,0);if(!n)return new Hn(t,!1,NaN);if(n.parent===null)return new Hn(n,!0,0);let r=ss(e.commands[0])?0:1,o=n.segments.length-1+r;return mE(n,o,e.numberOfDoubleDots)}function mE(e,t,n){let r=e,o=t,i=n;for(;i>o;){if(i-=o,r=r.parent,!r)throw new y(4005,!1);o=r.segments.length}return new Hn(r,!1,o-i)}function vE(e){return Vr(e[0])?e[0].outlets:{[S]:e}}function qp(e,t,n){if(e??=new j([],{}),e.segments.length===0&&e.hasChildren())return Fr(e,t,n);let r=yE(e,t,n),o=n.slice(r.commandIndex);if(r.match&&r.pathIndex<e.segments.length){let i=new j(e.segments.slice(0,r.pathIndex),{});return i.children[S]=new j(e.segments.slice(r.pathIndex),e.children),Fr(i,0,o)}else return r.match&&o.length===0?new j(e.segments,{}):r.match&&!e.hasChildren()?bu(e,t,n):r.match?Fr(e,0,o):bu(e,t,n)}function Fr(e,t,n){if(n.length===0)return new j(e.segments,{});{let r=vE(n),o={};if(Object.keys(r).some(i=>i!==S)&&e.children[S]&&e.numberOfChildren===1&&e.children[S].segments.length===0){let i=Fr(e.children[S],t,n);return new j(e.segments,i.children)}return Object.entries(r).forEach(([i,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(o[i]=qp(e.children[i],t,s))}),Object.entries(e.children).forEach(([i,s])=>{r[i]===void 0&&(o[i]=s)}),new j(e.segments,o)}}function yE(e,t,n){let r=0,o=t,i={match:!1,pathIndex:0,commandIndex:0};for(;o<e.segments.length;){if(r>=n.length)return i;let s=e.segments[o],a=n[r];if(Vr(a))break;let c=`${a}`,u=r<n.length-1?n[r+1]:null;if(o>0&&c===void 0)break;if(c&&u&&typeof u=="object"&&u.outlets===void 0){if(!Tp(c,u,s))return i;r+=2}else{if(!Tp(c,{},s))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}function bu(e,t,n){let r=e.segments.slice(0,t),o=0;for(;o<n.length;){let i=n[o];if(Vr(i)){let c=DE(i.outlets);return new j(r,c)}if(o===0&&ss(n[0])){let c=e.segments[t];r.push(new tn(c.path,Sp(n[0]))),o++;continue}let s=Vr(i)?i.outlets[S]:`${i}`,a=o<n.length-1?n[o+1]:null;s&&a&&ss(a)?(r.push(new tn(s,Sp(a))),o+=2):(r.push(new tn(s,{})),o++)}return new j(r,{})}function DE(e){let t={};return Object.entries(e).forEach(([n,r])=>{typeof r=="string"&&(r=[r]),r!==null&&(t[n]=bu(new j([],{}),0,r))}),t}function Sp(e){let t={};return Object.entries(e).forEach(([n,r])=>t[n]=`${r}`),t}function Tp(e,t,n){return e==n.path&&Je(t,n.parameters)}var kr="imperative",ne=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}(ne||{}),Ne=class{constructor(t,n){this.id=t,this.url=n}},Wn=class extends Ne{constructor(t,n,r="imperative",o=null){super(t,n),this.type=ne.NavigationStart,this.navigationTrigger=r,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},Xe=class extends Ne{constructor(t,n,r){super(t,n),this.urlAfterRedirects=r,this.type=ne.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},be=function(e){return e[e.Redirect=0]="Redirect",e[e.SupersededByNewNavigation=1]="SupersededByNewNavigation",e[e.NoDataFromResolver=2]="NoDataFromResolver",e[e.GuardRejected=3]="GuardRejected",e}(be||{}),cs=function(e){return e[e.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",e[e.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",e}(cs||{}),Ot=class extends Ne{constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o,this.type=ne.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},Pt=class extends Ne{constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o,this.type=ne.NavigationSkipped}},$r=class extends Ne{constructor(t,n,r,o){super(t,n),this.error=r,this.target=o,this.type=ne.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},us=class extends Ne{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=ne.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Mu=class extends Ne{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=ne.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Su=class extends Ne{constructor(t,n,r,o,i){super(t,n),this.urlAfterRedirects=r,this.state=o,this.shouldActivate=i,this.type=ne.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},Tu=class extends Ne{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=ne.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},_u=class extends Ne{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=ne.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},xu=class{constructor(t){this.route=t,this.type=ne.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Au=class{constructor(t){this.route=t,this.type=ne.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Nu=class{constructor(t){this.snapshot=t,this.type=ne.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Ru=class{constructor(t){this.snapshot=t,this.type=ne.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Ou=class{constructor(t){this.snapshot=t,this.type=ne.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Pu=class{constructor(t){this.snapshot=t,this.type=ne.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},ls=class{constructor(t,n,r){this.routerEvent=t,this.position=n,this.anchor=r,this.type=ne.Scroll}toString(){let t=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${t}')`}},Ur=class{},Br=class{constructor(t){this.url=t}};var Fu=class{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Yr,this.attachRef=null}},Yr=(()=>{class e{constructor(){this.contexts=new Map}onChildOutletCreated(n,r){let o=this.getOrCreateContext(n);o.outlet=r,this.contexts.set(n,o)}onChildOutletDestroyed(n){let r=this.getContext(n);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){let n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let r=this.getContext(n);return r||(r=new Fu,this.contexts.set(n,r)),r}getContext(n){return this.contexts.get(n)||null}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),ds=class{constructor(t){this._root=t}get root(){return this._root.value}parent(t){let n=this.pathFromRoot(t);return n.length>1?n[n.length-2]:null}children(t){let n=ku(t,this._root);return n?n.children.map(r=>r.value):[]}firstChild(t){let n=ku(t,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(t){let n=Lu(t,this._root);return n.length<2?[]:n[n.length-2].children.map(o=>o.value).filter(o=>o!==t)}pathFromRoot(t){return Lu(t,this._root).map(n=>n.value)}};function ku(e,t){if(e===t.value)return t;for(let n of t.children){let r=ku(e,n);if(r)return r}return null}function Lu(e,t){if(e===t.value)return[t];for(let n of t.children){let r=Lu(e,n);if(r.length)return r.unshift(t),r}return[]}var Ee=class{constructor(t,n){this.value=t,this.children=n}toString(){return`TreeNode(${this.value})`}};function Bn(e){let t={};return e&&e.children.forEach(n=>t[n.value.outlet]=n),t}var fs=class extends ds{constructor(t,n){super(t),this.snapshot=n,Wu(this,t)}toString(){return this.snapshot.toString()}};function Gp(e){let t=wE(e),n=new re([new tn("",{})]),r=new re({}),o=new re({}),i=new re({}),s=new re(""),a=new Ft(n,r,i,s,o,S,e,t.root);return a.snapshot=t.root,new fs(new Ee(a,[]),t)}function wE(e){let t={},n={},r={},o="",i=new Hr([],t,r,o,n,S,e,null,{});return new hs("",new Ee(i,[]))}var Ft=class{constructor(t,n,r,o,i,s,a,c){this.urlSubject=t,this.paramsSubject=n,this.queryParamsSubject=r,this.fragmentSubject=o,this.dataSubject=i,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(T(u=>u[Wr]))??I(void 0),this.url=t,this.params=n,this.queryParams=r,this.fragment=o,this.data=i}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(T(t=>qn(t))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(T(t=>qn(t))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Gu(e,t,n="emptyOnly"){let r,{routeConfig:o}=e;return t!==null&&(n==="always"||o?.path===""||!t.component&&!t.routeConfig?.loadComponent)?r={params:m(m({},t.params),e.params),data:m(m({},t.data),e.data),resolve:m(m(m(m({},e.data),t.data),o?.data),e._resolvedData)}:r={params:m({},e.params),data:m({},e.data),resolve:m(m({},e.data),e._resolvedData??{})},o&&Zp(o)&&(r.resolve[Wr]=o.title),r}var Hr=class{get title(){return this.data?.[Wr]}constructor(t,n,r,o,i,s,a,c,u){this.url=t,this.params=n,this.queryParams=r,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this.routeConfig=c,this._resolve=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??=qn(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=qn(this.queryParams),this._queryParamMap}toString(){let t=this.url.map(r=>r.toString()).join("/"),n=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${t}', path:'${n}')`}},hs=class extends ds{constructor(t,n){super(n),this.url=t,Wu(this,n)}toString(){return Wp(this._root)}};function Wu(e,t){t.value._routerState=e,t.children.forEach(n=>Wu(e,n))}function Wp(e){let t=e.children.length>0?` { ${e.children.map(Wp).join(", ")} } `:"";return`${e.value}${t}`}function yu(e){if(e.snapshot){let t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,Je(t.queryParams,n.queryParams)||e.queryParamsSubject.next(n.queryParams),t.fragment!==n.fragment&&e.fragmentSubject.next(n.fragment),Je(t.params,n.params)||e.paramsSubject.next(n.params),YC(t.url,n.url)||e.urlSubject.next(n.url),Je(t.data,n.data)||e.dataSubject.next(n.data)}else e.snapshot=e._futureSnapshot,e.dataSubject.next(e._futureSnapshot.data)}function ju(e,t){let n=Je(e.params,t.params)&&XC(e.url,t.url),r=!e.parent!=!t.parent;return n&&!r&&(!e.parent||ju(e.parent,t.parent))}function Zp(e){return typeof e.title=="string"||e.title===null}var IE=(()=>{class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=S,this.activateEvents=new Fe,this.deactivateEvents=new Fe,this.attachEvents=new Fe,this.detachEvents=new Fe,this.parentContexts=p(Yr),this.location=p(Nn),this.changeDetector=p(kn),this.environmentInjector=p(ie),this.inputBinder=p(vs,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(n){if(n.name){let{firstChange:r,previousValue:o}=n.name;if(r)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(n){return this.parentContexts.getContext(n)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let n=this.parentContexts.getContext(this.name);n?.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new y(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new y(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new y(4012,!1);this.location.detach();let n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,r){this.activated=n,this._activatedRoute=r,this.location.insert(n.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){let n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,r){if(this.isActivated)throw new y(4013,!1);this._activatedRoute=n;let o=this.location,s=n.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,c=new Vu(n,a,o.injector);this.activated=o.createComponent(s,{index:o.length,injector:c,environmentInjector:r??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275dir=Tn({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[yr]})}}return e})(),Vu=class e{__ngOutletInjector(t){return new e(this.route,this.childContexts,t)}constructor(t,n,r){this.route=t,this.childContexts=n,this.parent=r}get(t,n){return t===Ft?this.route:t===Yr?this.childContexts:this.parent.get(t,n)}},vs=new C(""),_p=(()=>{class e{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(n){this.unsubscribeFromRouteData(n),this.subscribeToRouteData(n)}unsubscribeFromRouteData(n){this.outletDataSubscriptions.get(n)?.unsubscribe(),this.outletDataSubscriptions.delete(n)}subscribeToRouteData(n){let{activatedRoute:r}=n,o=Xn([r.queryParams,r.params,r.data]).pipe(pe(([i,s,a],c)=>(a=m(m(m({},i),s),a),c===0?I(a):Promise.resolve(a)))).subscribe(i=>{if(!n.isActivated||!n.activatedComponentRef||n.activatedRoute!==r||r.component===null){this.unsubscribeFromRouteData(n);return}let s=Uh(r.component);if(!s){this.unsubscribeFromRouteData(n);return}for(let{templateName:a}of s.inputs)n.activatedComponentRef.setInput(a,i[a])});this.outletDataSubscriptions.set(n,o)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac})}}return e})();function CE(e,t,n){let r=zr(e,t._root,n?n._root:void 0);return new fs(r,t)}function zr(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){let r=n.value;r._futureSnapshot=t.value;let o=EE(e,t,n);return new Ee(r,o)}else{if(e.shouldAttach(t.value)){let i=e.retrieve(t.value);if(i!==null){let s=i.route;return s.value._futureSnapshot=t.value,s.children=t.children.map(a=>zr(e,a)),s}}let r=bE(t.value),o=t.children.map(i=>zr(e,i));return new Ee(r,o)}}function EE(e,t,n){return t.children.map(r=>{for(let o of n.children)if(e.shouldReuseRoute(r.value,o.value.snapshot))return zr(e,r,o);return zr(e,r)})}function bE(e){return new Ft(new re(e.url),new re(e.params),new re(e.queryParams),new re(e.fragment),new re(e.data),e.outlet,e.component,e)}var Yp="ngNavigationCancelingError";function Qp(e,t){let{redirectTo:n,navigationBehaviorOptions:r}=Gn(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,o=Kp(!1,be.Redirect);return o.url=n,o.navigationBehaviorOptions=r,o}function Kp(e,t){let n=new Error(`NavigationCancelingError: ${e||""}`);return n[Yp]=!0,n.cancellationCode=t,n}function ME(e){return Jp(e)&&Gn(e.url)}function Jp(e){return!!e&&e[Yp]}var SE=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275cmp=ai({type:e,selectors:[["ng-component"]],standalone:!0,features:[Ph],decls:1,vars:0,template:function(r,o){r&1&&kc(0,"router-outlet")},dependencies:[IE],encapsulation:2})}}return e})();function TE(e,t){return e.providers&&!e._injector&&(e._injector=_i(e.providers,t,`Route: ${e.path}`)),e._injector??t}function Zu(e){let t=e.children&&e.children.map(Zu),n=t?W(m({},e),{children:t}):m({},e);return!n.component&&!n.loadComponent&&(t||n.loadChildren)&&n.outlet&&n.outlet!==S&&(n.component=SE),n}function et(e){return e.outlet||S}function _E(e,t){let n=e.filter(r=>et(r)===t);return n.push(...e.filter(r=>et(r)!==t)),n}function Qr(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let t=e.parent;t;t=t.parent){let n=t.routeConfig;if(n?._loadedInjector)return n._loadedInjector;if(n?._injector)return n._injector}return null}var xE=(e,t,n,r)=>T(o=>(new $u(t,o.targetRouterState,o.currentRouterState,n,r).activate(e),o)),$u=class{constructor(t,n,r,o,i){this.routeReuseStrategy=t,this.futureState=n,this.currState=r,this.forwardEvent=o,this.inputBindingEnabled=i}activate(t){let n=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(n,r,t),yu(this.futureState.root),this.activateChildRoutes(n,r,t)}deactivateChildRoutes(t,n,r){let o=Bn(n);t.children.forEach(i=>{let s=i.value.outlet;this.deactivateRoutes(i,o[s],r),delete o[s]}),Object.values(o).forEach(i=>{this.deactivateRouteAndItsChildren(i,r)})}deactivateRoutes(t,n,r){let o=t.value,i=n?n.value:null;if(o===i)if(o.component){let s=r.getContext(o.outlet);s&&this.deactivateChildRoutes(t,n,s.children)}else this.deactivateChildRoutes(t,n,r);else i&&this.deactivateRouteAndItsChildren(n,r)}deactivateRouteAndItsChildren(t,n){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,n):this.deactivateRouteAndOutlet(t,n)}detachAndStoreRouteSubtree(t,n){let r=n.getContext(t.value.outlet),o=r&&t.value.component?r.children:n,i=Bn(t);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);if(r&&r.outlet){let s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:s,route:t,contexts:a})}}deactivateRouteAndOutlet(t,n){let r=n.getContext(t.value.outlet),o=r&&t.value.component?r.children:n,i=Bn(t);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(t,n,r){let o=Bn(n);t.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],r),this.forwardEvent(new Pu(i.value.snapshot))}),t.children.length&&this.forwardEvent(new Ru(t.value.snapshot))}activateRoutes(t,n,r){let o=t.value,i=n?n.value:null;if(yu(o),o===i)if(o.component){let s=r.getOrCreateContext(o.outlet);this.activateChildRoutes(t,n,s.children)}else this.activateChildRoutes(t,n,r);else if(o.component){let s=r.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){let a=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),yu(a.route.value),this.activateChildRoutes(t,null,s.children)}else{let a=Qr(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,r)}},ps=class{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}},zn=class{constructor(t,n){this.component=t,this.route=n}};function AE(e,t,n){let r=e._root,o=t?t._root:null;return Or(r,o,n,[r.value])}function NE(e){let t=e.routeConfig?e.routeConfig.canActivateChild:null;return!t||t.length===0?null:{node:e,guards:t}}function Yn(e,t){let n=Symbol(),r=t.get(e,n);return r===n?typeof e=="function"&&!Nd(e)?e:t.get(e):r}function Or(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=Bn(t);return e.children.forEach(s=>{RE(s,i[s.value.outlet],n,r.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>Lr(a,n.getContext(s),o)),o}function RE(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=e.value,s=t?t.value:null,a=n?n.getContext(e.value.outlet):null;if(s&&i.routeConfig===s.routeConfig){let c=OE(s,i,i.routeConfig.runGuardsAndResolvers);c?o.canActivateChecks.push(new ps(r)):(i.data=s.data,i._resolvedData=s._resolvedData),i.component?Or(e,t,a?a.children:null,r,o):Or(e,t,n,r,o),c&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new zn(a.outlet.component,s))}else s&&Lr(t,a,o),o.canActivateChecks.push(new ps(r)),i.component?Or(e,null,a?a.children:null,r,o):Or(e,null,n,r,o);return o}function OE(e,t,n){if(typeof n=="function")return n(e,t);switch(n){case"pathParamsChange":return!nn(e.url,t.url);case"pathParamsOrQueryParamsChange":return!nn(e.url,t.url)||!Je(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!ju(e,t)||!Je(e.queryParams,t.queryParams);case"paramsChange":default:return!ju(e,t)}}function Lr(e,t,n){let r=Bn(e),o=e.value;Object.entries(r).forEach(([i,s])=>{o.component?t?Lr(s,t.children.getContext(i),n):Lr(s,null,n):Lr(s,t,n)}),o.component?t&&t.outlet&&t.outlet.isActivated?n.canDeactivateChecks.push(new zn(t.outlet.component,o)):n.canDeactivateChecks.push(new zn(null,o)):n.canDeactivateChecks.push(new zn(null,o))}function Kr(e){return typeof e=="function"}function PE(e){return typeof e=="boolean"}function FE(e){return e&&Kr(e.canLoad)}function kE(e){return e&&Kr(e.canActivate)}function LE(e){return e&&Kr(e.canActivateChild)}function jE(e){return e&&Kr(e.canDeactivate)}function VE(e){return e&&Kr(e.canMatch)}function Xp(e){return e instanceof nt||e?.name==="EmptyError"}var ns=Symbol("INITIAL_VALUE");function Zn(){return pe(e=>Xn(e.map(t=>t.pipe(ot(1),Vs(ns)))).pipe(T(t=>{for(let n of t)if(n!==!0){if(n===ns)return ns;if(n===!1||n instanceof Rt)return n}return!0}),he(t=>t!==ns),ot(1)))}function $E(e,t){return K(n=>{let{targetSnapshot:r,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=n;return s.length===0&&i.length===0?I(W(m({},n),{guardsResult:!0})):UE(s,r,o,e).pipe(K(a=>a&&PE(a)?BE(r,i,e,t):I(a)),T(a=>W(m({},n),{guardsResult:a})))})}function UE(e,t,n,r){return z(e).pipe(K(o=>WE(o.component,o.route,n,t,r)),He(o=>o!==!0,!0))}function BE(e,t,n,r){return z(t).pipe(rt(o=>hn(zE(o.route.parent,r),HE(o.route,r),GE(e,o.path,n),qE(e,o.route,n))),He(o=>o!==!0,!0))}function HE(e,t){return e!==null&&t&&t(new Ou(e)),I(!0)}function zE(e,t){return e!==null&&t&&t(new Nu(e)),I(!0)}function qE(e,t,n){let r=t.routeConfig?t.routeConfig.canActivate:null;if(!r||r.length===0)return I(!0);let o=r.map(i=>Mo(()=>{let s=Qr(t)??n,a=Yn(i,s),c=kE(a)?a.canActivate(t,e):$e(s,()=>a(t,e));return kt(c).pipe(He())}));return I(o).pipe(Zn())}function GE(e,t,n){let r=t[t.length-1],i=t.slice(0,t.length-1).reverse().map(s=>NE(s)).filter(s=>s!==null).map(s=>Mo(()=>{let a=s.guards.map(c=>{let u=Qr(s.node)??n,l=Yn(c,u),d=LE(l)?l.canActivateChild(r,e):$e(u,()=>l(r,e));return kt(d).pipe(He())});return I(a).pipe(Zn())}));return I(i).pipe(Zn())}function WE(e,t,n,r,o){let i=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!i||i.length===0)return I(!0);let s=i.map(a=>{let c=Qr(t)??o,u=Yn(a,c),l=jE(u)?u.canDeactivate(e,t,n,r):$e(c,()=>u(e,t,n,r));return kt(l).pipe(He())});return I(s).pipe(Zn())}function ZE(e,t,n,r){let o=t.canLoad;if(o===void 0||o.length===0)return I(!0);let i=o.map(s=>{let a=Yn(s,e),c=FE(a)?a.canLoad(t,n):$e(e,()=>a(t,n));return kt(c)});return I(i).pipe(Zn(),eg(r))}function eg(e){return xs(ee(t=>{if(Gn(t))throw Qp(e,t)}),T(t=>t===!0))}function YE(e,t,n,r){let o=t.canMatch;if(!o||o.length===0)return I(!0);let i=o.map(s=>{let a=Yn(s,e),c=VE(a)?a.canMatch(t,n):$e(e,()=>a(t,n));return kt(c)});return I(i).pipe(Zn(),eg(r))}var qr=class{constructor(t){this.segmentGroup=t||null}},gs=class extends Error{constructor(t){super(),this.urlTree=t}};function Un(e){return fn(new qr(e))}function QE(e){return fn(new y(4e3,!1))}function KE(e){return fn(Kp(!1,be.GuardRejected))}var Uu=class{constructor(t,n){this.urlSerializer=t,this.urlTree=n}lineralizeSegments(t,n){let r=[],o=n.root;for(;;){if(r=r.concat(o.segments),o.numberOfChildren===0)return I(r);if(o.numberOfChildren>1||!o.children[S])return QE(t.redirectTo);o=o.children[S]}}applyRedirectCommands(t,n,r){let o=this.applyRedirectCreateUrlTree(n,this.urlSerializer.parse(n),t,r);if(n.startsWith("/"))throw new gs(o);return o}applyRedirectCreateUrlTree(t,n,r,o){let i=this.createSegmentGroup(t,n.root,r,o);return new Rt(i,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}createQueryParams(t,n){let r={};return Object.entries(t).forEach(([o,i])=>{if(typeof i=="string"&&i.startsWith(":")){let a=i.substring(1);r[o]=n[a]}else r[o]=i}),r}createSegmentGroup(t,n,r,o){let i=this.createSegments(t,n.segments,r,o),s={};return Object.entries(n.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(t,c,r,o)}),new j(i,s)}createSegments(t,n,r,o){return n.map(i=>i.path.startsWith(":")?this.findPosParam(t,i,o):this.findOrReturn(i,r))}findPosParam(t,n,r){let o=r[n.path.substring(1)];if(!o)throw new y(4001,!1);return o}findOrReturn(t,n){let r=0;for(let o of n){if(o.path===t.path)return n.splice(r),o;r++}return t}},Bu={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function JE(e,t,n,r,o){let i=Yu(e,t,n);return i.matched?(r=TE(t,r),YE(r,t,n,o).pipe(T(s=>s===!0?i:m({},Bu)))):I(i)}function Yu(e,t,n){if(t.path==="**")return XE(n);if(t.path==="")return t.pathMatch==="full"&&(e.hasChildren()||n.length>0)?m({},Bu):{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};let o=(t.matcher||ZC)(n,e,t);if(!o)return m({},Bu);let i={};Object.entries(o.posParams??{}).forEach(([a,c])=>{i[a]=c.path});let s=o.consumed.length>0?m(m({},i),o.consumed[o.consumed.length-1].parameters):i;return{matched:!0,consumedSegments:o.consumed,remainingSegments:n.slice(o.consumed.length),parameters:s,positionalParamSegments:o.posParams??{}}}function XE(e){return{matched:!0,parameters:e.length>0?Op(e).parameters:{},consumedSegments:e,remainingSegments:[],positionalParamSegments:{}}}function xp(e,t,n,r){return n.length>0&&nb(e,n,r)?{segmentGroup:new j(t,tb(r,new j(n,e.children))),slicedSegments:[]}:n.length===0&&rb(e,n,r)?{segmentGroup:new j(e.segments,eb(e,n,r,e.children)),slicedSegments:n}:{segmentGroup:new j(e.segments,e.children),slicedSegments:n}}function eb(e,t,n,r){let o={};for(let i of n)if(ys(e,t,i)&&!r[et(i)]){let s=new j([],{});o[et(i)]=s}return m(m({},r),o)}function tb(e,t){let n={};n[S]=t;for(let r of e)if(r.path===""&&et(r)!==S){let o=new j([],{});n[et(r)]=o}return n}function nb(e,t,n){return n.some(r=>ys(e,t,r)&&et(r)!==S)}function rb(e,t,n){return n.some(r=>ys(e,t,r))}function ys(e,t,n){return(e.hasChildren()||t.length>0)&&n.pathMatch==="full"?!1:n.path===""}function ob(e,t,n,r){return et(e)!==r&&(r===S||!ys(t,n,e))?!1:Yu(t,e,n).matched}function ib(e,t,n){return t.length===0&&!e.children[n]}var Hu=class{};function sb(e,t,n,r,o,i,s="emptyOnly"){return new zu(e,t,n,r,o,s,i).recognize()}var ab=31,zu=class{constructor(t,n,r,o,i,s,a){this.injector=t,this.configLoader=n,this.rootComponentType=r,this.config=o,this.urlTree=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new Uu(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(t){return new y(4002,`'${t.segmentGroup}'`)}recognize(){let t=xp(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(t).pipe(T(n=>{let r=new Hr([],Object.freeze({}),Object.freeze(m({},this.urlTree.queryParams)),this.urlTree.fragment,{},S,this.rootComponentType,null,{}),o=new Ee(r,n),i=new hs("",o),s=hE(r,[],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,S).pipe(yt(r=>{if(r instanceof gs)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof qr?this.noMatchError(r):r}))}inheritParamsAndData(t,n){let r=t.value,o=Gu(r,n,this.paramsInheritanceStrategy);r.params=Object.freeze(o.params),r.data=Object.freeze(o.data),t.children.forEach(i=>this.inheritParamsAndData(i,r))}processSegmentGroup(t,n,r,o){return r.segments.length===0&&r.hasChildren()?this.processChildren(t,n,r):this.processSegment(t,n,r,r.segments,o,!0).pipe(T(i=>i instanceof Ee?[i]:[]))}processChildren(t,n,r){let o=[];for(let i of Object.keys(r.children))i==="primary"?o.unshift(i):o.push(i);return z(o).pipe(rt(i=>{let s=r.children[i],a=_E(n,i);return this.processSegmentGroup(t,a,s,i)}),Ls((i,s)=>(i.push(...s),i)),Dt(null),ks(),K(i=>{if(i===null)return Un(r);let s=tg(i);return cb(s),I(s)}))}processSegment(t,n,r,o,i,s){return z(n).pipe(rt(a=>this.processSegmentAgainstRoute(a._injector??t,n,a,r,o,i,s).pipe(yt(c=>{if(c instanceof qr)return I(null);throw c}))),He(a=>!!a),yt(a=>{if(Xp(a))return ib(r,o,i)?I(new Hu):Un(r);throw a}))}processSegmentAgainstRoute(t,n,r,o,i,s,a){return ob(r,o,i,s)?r.redirectTo===void 0?this.matchSegmentAgainstRoute(t,o,r,i,s):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(t,o,n,r,i,s):Un(o):Un(o)}expandSegmentAgainstRouteUsingRedirect(t,n,r,o,i,s){let{matched:a,consumedSegments:c,positionalParamSegments:u,remainingSegments:l}=Yu(n,o,i);if(!a)return Un(n);o.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>ab&&(this.allowRedirects=!1));let d=this.applyRedirects.applyRedirectCommands(c,o.redirectTo,u);return this.applyRedirects.lineralizeSegments(o,d).pipe(K(f=>this.processSegment(t,r,n,f.concat(l),s,!1)))}matchSegmentAgainstRoute(t,n,r,o,i){let s=JE(n,r,o,t,this.urlSerializer);return r.path==="**"&&(n.children={}),s.pipe(pe(a=>a.matched?(t=r._injector??t,this.getChildConfig(t,r,o).pipe(pe(({routes:c})=>{let u=r._loadedInjector??t,{consumedSegments:l,remainingSegments:d,parameters:f}=a,h=new Hr(l,f,Object.freeze(m({},this.urlTree.queryParams)),this.urlTree.fragment,lb(r),et(r),r.component??r._loadedComponent??null,r,db(r)),{segmentGroup:v,slicedSegments:g}=xp(n,l,d,c);if(g.length===0&&v.hasChildren())return this.processChildren(u,c,v).pipe(T(_=>_===null?null:new Ee(h,_)));if(c.length===0&&g.length===0)return I(new Ee(h,[]));let E=et(r)===i;return this.processSegment(u,c,v,g,E?S:i,!0).pipe(T(_=>new Ee(h,_ instanceof Ee?[_]:[])))}))):Un(n)))}getChildConfig(t,n,r){return n.children?I({routes:n.children,injector:t}):n.loadChildren?n._loadedRoutes!==void 0?I({routes:n._loadedRoutes,injector:n._loadedInjector}):ZE(t,n,r,this.urlSerializer).pipe(K(o=>o?this.configLoader.loadChildren(t,n).pipe(ee(i=>{n._loadedRoutes=i.routes,n._loadedInjector=i.injector})):KE(n))):I({routes:[],injector:t})}};function cb(e){e.sort((t,n)=>t.value.outlet===S?-1:n.value.outlet===S?1:t.value.outlet.localeCompare(n.value.outlet))}function ub(e){let t=e.value.routeConfig;return t&&t.path===""}function tg(e){let t=[],n=new Set;for(let r of e){if(!ub(r)){t.push(r);continue}let o=t.find(i=>r.value.routeConfig===i.value.routeConfig);o!==void 0?(o.children.push(...r.children),n.add(o)):t.push(r)}for(let r of n){let o=tg(r.children);t.push(new Ee(r.value,o))}return t.filter(r=>!n.has(r))}function lb(e){return e.data||{}}function db(e){return e.resolve||{}}function fb(e,t,n,r,o,i){return K(s=>sb(e,t,n,r,s.extractedUrl,o,i).pipe(T(({state:a,tree:c})=>W(m({},s),{targetSnapshot:a,urlAfterRedirects:c}))))}function hb(e,t){return K(n=>{let{targetSnapshot:r,guards:{canActivateChecks:o}}=n;if(!o.length)return I(n);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 z(s).pipe(rt(c=>i.has(c)?pb(c,r,e,t):(c.data=Gu(c,c.parent,e).resolve,I(void 0))),ee(()=>a++),pn(1),K(c=>a===s.size?I(n):ue))})}function ng(e){let t=e.children.map(n=>ng(n)).flat();return[e,...t]}function pb(e,t,n,r){let o=e.routeConfig,i=e._resolve;return o?.title!==void 0&&!Zp(o)&&(i[Wr]=o.title),gb(i,e,t,r).pipe(T(s=>(e._resolvedData=s,e.data=Gu(e,e.parent,n).resolve,null)))}function gb(e,t,n,r){let o=Iu(e);if(o.length===0)return I({});let i={};return z(o).pipe(K(s=>mb(e[s],t,n,r).pipe(He(),ee(a=>{i[s]=a}))),pn(1),Fs(i),yt(s=>Xp(s)?ue:fn(s)))}function mb(e,t,n,r){let o=Qr(t)??r,i=Yn(e,o),s=i.resolve?i.resolve(t,n):$e(o,()=>i(t,n));return kt(s)}function Du(e){return pe(t=>{let n=e(t);return n?z(n).pipe(T(()=>t)):I(t)})}var rg=(()=>{class e{buildTitle(n){let r,o=n.root;for(;o!==void 0;)r=this.getResolvedTitleForRoute(o)??r,o=o.children.find(i=>i.outlet===S);return r}getResolvedTitleForRoute(n){return n.data[Wr]}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:()=>p(vb),providedIn:"root"})}}return e})(),vb=(()=>{class e extends rg{constructor(n){super(),this.title=n}updateTitle(n){let r=this.buildTitle(n);r!==void 0&&this.title.setTitle(r)}static{this.\u0275fac=function(r){return new(r||e)(w(Ep))}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),Jr=new C("",{providedIn:"root",factory:()=>({})}),Gr=new C(""),Qu=(()=>{class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=p(Ri)}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return I(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);let r=kt(n.loadComponent()).pipe(T(og),ee(i=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=i}),wt(()=>{this.componentLoaders.delete(n)})),o=new ln(r,()=>new Q).pipe(un());return this.componentLoaders.set(n,o),o}loadChildren(n,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return I({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let i=yb(r,this.compiler,n,this.onLoadEndListener).pipe(wt(()=>{this.childrenLoaders.delete(r)})),s=new ln(i,()=>new Q).pipe(un());return this.childrenLoaders.set(r,s),s}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function yb(e,t,n,r){return kt(e.loadChildren()).pipe(T(og),K(o=>o instanceof fr||Array.isArray(o)?I(o):z(t.compileModuleAsync(o))),T(o=>{r&&r(e);let i,s,a=!1;return Array.isArray(o)?(s=o,a=!0):(i=o.create(n).injector,s=i.get(Gr,[],{optional:!0,self:!0}).flat()),{routes:s.map(Zu),injector:i}}))}function Db(e){return e&&typeof e=="object"&&"default"in e}function og(e){return Db(e)?e.default:e}var Ku=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:()=>p(wb),providedIn:"root"})}}return e})(),wb=(()=>{class e{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,r){return n}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),ig=new C(""),sg=new C("");function Ib(e,t,n){let r=e.get(sg),o=e.get(oe);return e.get(q).runOutsideAngular(()=>{if(!o.startViewTransition||r.skipNextTransition)return r.skipNextTransition=!1,new Promise(u=>setTimeout(u));let i,s=new Promise(u=>{i=u}),a=o.startViewTransition(()=>(i(),Cb(e))),{onViewTransitionCreated:c}=r;return c&&$e(e,()=>c({transition:a,from:t,to:n})),s})}function Cb(e){return new Promise(t=>{Ti(t,{injector:e})})}var Ju=(()=>{class e{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new Q,this.transitionAbortSubject=new Q,this.configLoader=p(Qu),this.environmentInjector=p(ie),this.urlSerializer=p(Zr),this.rootContexts=p(Yr),this.location=p(Vn),this.inputBindingEnabled=p(vs,{optional:!0})!==null,this.titleStrategy=p(rg),this.options=p(Jr,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=p(Ku),this.createViewTransition=p(ig,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>I(void 0),this.rootComponentType=null;let n=o=>this.events.next(new xu(o)),r=o=>this.events.next(new Au(o));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=n}complete(){this.transitions?.complete()}handleNavigationRequest(n){let r=++this.navigationId;this.transitions?.next(W(m(m({},this.transitions.value),n),{id:r}))}setupNavigations(n,r,o){return this.transitions=new re({id:0,currentUrlTree:r,currentRawUrl:r,extractedUrl:this.urlHandlingStrategy.extract(r),urlAfterRedirects:this.urlHandlingStrategy.extract(r),rawUrl:r,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:kr,restoredState:null,currentSnapshot:o.snapshot,targetSnapshot:null,currentRouterState:o,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(he(i=>i.id!==0),T(i=>W(m({},i),{extractedUrl:this.urlHandlingStrategy.extract(i.rawUrl)})),pe(i=>{let s=!1,a=!1;return I(i).pipe(pe(c=>{if(this.navigationId>i.id)return this.cancelNavigationTransition(i,"",be.SupersededByNewNavigation),ue;this.currentTransition=i,this.currentNavigation={id:c.id,initialUrl:c.rawUrl,extractedUrl:c.extractedUrl,trigger:c.source,extras:c.extras,previousNavigation:this.lastSuccessfulNavigation?W(m({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let u=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),l=c.extras.onSameUrlNavigation??n.onSameUrlNavigation;if(!u&&l!=="reload"){let d="";return this.events.next(new Pt(c.id,this.urlSerializer.serialize(c.rawUrl),d,cs.IgnoredSameUrlNavigation)),c.resolve(null),ue}if(this.urlHandlingStrategy.shouldProcessUrl(c.rawUrl))return I(c).pipe(pe(d=>{let f=this.transitions?.getValue();return this.events.next(new Wn(d.id,this.urlSerializer.serialize(d.extractedUrl),d.source,d.restoredState)),f!==this.transitions?.getValue()?ue:Promise.resolve(d)}),fb(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),ee(d=>{i.targetSnapshot=d.targetSnapshot,i.urlAfterRedirects=d.urlAfterRedirects,this.currentNavigation=W(m({},this.currentNavigation),{finalUrl:d.urlAfterRedirects});let f=new us(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(f)}));if(u&&this.urlHandlingStrategy.shouldProcessUrl(c.currentRawUrl)){let{id:d,extractedUrl:f,source:h,restoredState:v,extras:g}=c,E=new Wn(d,this.urlSerializer.serialize(f),h,v);this.events.next(E);let _=Gp(this.rootComponentType).snapshot;return this.currentTransition=i=W(m({},c),{targetSnapshot:_,urlAfterRedirects:f,extras:W(m({},g),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=f,I(i)}else{let d="";return this.events.next(new Pt(c.id,this.urlSerializer.serialize(c.extractedUrl),d,cs.IgnoredByUrlHandlingStrategy)),c.resolve(null),ue}}),ee(c=>{let u=new Mu(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(u)}),T(c=>(this.currentTransition=i=W(m({},c),{guards:AE(c.targetSnapshot,c.currentSnapshot,this.rootContexts)}),i)),$E(this.environmentInjector,c=>this.events.next(c)),ee(c=>{if(i.guardsResult=c.guardsResult,Gn(c.guardsResult))throw Qp(this.urlSerializer,c.guardsResult);let u=new Su(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot,!!c.guardsResult);this.events.next(u)}),he(c=>c.guardsResult?!0:(this.cancelNavigationTransition(c,"",be.GuardRejected),!1)),Du(c=>{if(c.guards.canActivateChecks.length)return I(c).pipe(ee(u=>{let l=new Tu(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(l)}),pe(u=>{let l=!1;return I(u).pipe(hb(this.paramsInheritanceStrategy,this.environmentInjector),ee({next:()=>l=!0,complete:()=>{l||this.cancelNavigationTransition(u,"",be.NoDataFromResolver)}}))}),ee(u=>{let l=new _u(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(l)}))}),Du(c=>{let u=l=>{let d=[];l.routeConfig?.loadComponent&&!l.routeConfig._loadedComponent&&d.push(this.configLoader.loadComponent(l.routeConfig).pipe(ee(f=>{l.component=f}),T(()=>{})));for(let f of l.children)d.push(...u(f));return d};return Xn(u(c.targetSnapshot.root)).pipe(Dt(null),ot(1))}),Du(()=>this.afterPreactivation()),pe(()=>{let{currentSnapshot:c,targetSnapshot:u}=i,l=this.createViewTransition?.(this.environmentInjector,c.root,u.root);return l?z(l).pipe(T(()=>i)):I(i)}),T(c=>{let u=CE(n.routeReuseStrategy,c.targetSnapshot,c.currentRouterState);return this.currentTransition=i=W(m({},c),{targetRouterState:u}),this.currentNavigation.targetRouterState=u,i}),ee(()=>{this.events.next(new Ur)}),xE(this.rootContexts,n.routeReuseStrategy,c=>this.events.next(c),this.inputBindingEnabled),ot(1),ee({next:c=>{s=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Xe(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects))),this.titleStrategy?.updateTitle(c.targetRouterState.snapshot),c.resolve(!0)},complete:()=>{s=!0}}),$s(this.transitionAbortSubject.pipe(ee(c=>{throw c}))),wt(()=>{!s&&!a&&this.cancelNavigationTransition(i,"",be.SupersededByNewNavigation),this.currentTransition?.id===i.id&&(this.currentNavigation=null,this.currentTransition=null)}),yt(c=>{if(a=!0,Jp(c))this.events.next(new Ot(i.id,this.urlSerializer.serialize(i.extractedUrl),c.message,c.cancellationCode)),ME(c)?this.events.next(new Br(c.url)):i.resolve(!1);else{this.events.next(new $r(i.id,this.urlSerializer.serialize(i.extractedUrl),c,i.targetSnapshot??void 0));try{i.resolve(n.errorHandler(c))}catch(u){this.options.resolveNavigationPromiseOnError?i.resolve(!1):i.reject(u)}}return ue}))}))}cancelNavigationTransition(n,r,o){let i=new Ot(n.id,this.urlSerializer.serialize(n.extractedUrl),r,o);this.events.next(i),n.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function Eb(e){return e!==kr}var bb=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:()=>p(Mb),providedIn:"root"})}}return e})(),qu=class{shouldDetach(t){return!1}store(t,n){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,n){return t.routeConfig===n.routeConfig}},Mb=(()=>{class e extends qu{static{this.\u0275fac=(()=>{let n;return function(o){return(n||(n=fc(e)))(o||e)}})()}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),ag=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:()=>p(Sb),providedIn:"root"})}}return e})(),Sb=(()=>{class e extends ag{constructor(){super(...arguments),this.location=p(Vn),this.urlSerializer=p(Zr),this.options=p(Jr,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=p(Ku),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new Rt,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=Gp(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(n){return this.location.subscribe(r=>{r.type==="popstate"&&n(r.url,r.state)})}handleRouterEvent(n,r){if(n instanceof Wn)this.stateMemento=this.createStateMemento();else if(n instanceof Pt)this.rawUrlTree=r.initialUrl;else if(n instanceof us){if(this.urlUpdateStrategy==="eager"&&!r.extras.skipLocationChange){let o=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl);this.setBrowserUrl(o,r)}}else n instanceof Ur?(this.currentUrlTree=r.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl),this.routerState=r.targetRouterState,this.urlUpdateStrategy==="deferred"&&(r.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,r))):n instanceof Ot&&(n.code===be.GuardRejected||n.code===be.NoDataFromResolver)?this.restoreHistory(r):n instanceof $r?this.restoreHistory(r,!0):n instanceof Xe&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,r){let o=this.urlSerializer.serialize(n);if(this.location.isCurrentPathEqualTo(o)||r.extras.replaceUrl){let i=this.browserPageId,s=m(m({},r.extras.state),this.generateNgRouterState(r.id,i));this.location.replaceState(o,"",s)}else{let i=m(m({},r.extras.state),this.generateNgRouterState(r.id,this.browserPageId+1));this.location.go(o,"",i)}}restoreHistory(n,r=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,i=this.currentPageId-o;i!==0?this.location.historyGo(i):this.currentUrlTree===n.finalUrl&&i===0&&(this.resetState(n),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(r&&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,r){return this.canceledNavigationResolution==="computed"?{navigationId:n,\u0275routerPageId:r}:{navigationId:n}}static{this.\u0275fac=(()=>{let n;return function(o){return(n||(n=fc(e)))(o||e)}})()}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),Pr=function(e){return e[e.COMPLETE=0]="COMPLETE",e[e.FAILED=1]="FAILED",e[e.REDIRECTING=2]="REDIRECTING",e}(Pr||{});function cg(e,t){e.events.pipe(he(n=>n instanceof Xe||n instanceof Ot||n instanceof $r||n instanceof Pt),T(n=>n instanceof Xe||n instanceof Pt?Pr.COMPLETE:(n instanceof Ot?n.code===be.Redirect||n.code===be.SupersededByNewNavigation:!1)?Pr.REDIRECTING:Pr.FAILED),he(n=>n!==Pr.REDIRECTING),ot(1)).subscribe(()=>{t()})}function Tb(e){throw e}var _b={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},xb={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},gt=(()=>{class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=p(Ai),this.stateManager=p(ag),this.options=p(Jr,{optional:!0})||{},this.pendingTasks=p(Xt),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=p(Ju),this.urlSerializer=p(Zr),this.location=p(Vn),this.urlHandlingStrategy=p(Ku),this._events=new Q,this.errorHandler=this.options.errorHandler||Tb,this.navigated=!1,this.routeReuseStrategy=p(bb),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=p(Gr,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!p(vs,{optional:!0}),this.eventsSubscription=new Z,this.isNgZoneEnabled=p(q)instanceof q&&q.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(r=>{try{let o=this.navigationTransitions.currentTransition,i=this.navigationTransitions.currentNavigation;if(o!==null&&i!==null){if(this.stateManager.handleRouterEvent(r,i),r instanceof Ot&&r.code!==be.Redirect&&r.code!==be.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof Xe)this.navigated=!0;else if(r instanceof Br){let s=this.urlHandlingStrategy.merge(r.url,o.currentRawUrl),a={info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:this.urlUpdateStrategy==="eager"||Eb(o.source)};this.scheduleNavigation(s,kr,null,a,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}Nb(r)&&this._events.next(r)}catch(o){this.navigationTransitions.transitionAbortSubject.next(o)}});this.eventsSubscription.add(n)}resetRootComponentType(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),kr,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((n,r)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(n,"popstate",r)},0)})}navigateToSyncWithBrowser(n,r,o){let i={replaceUrl:!0},s=o?.navigationId?o:null;if(o){let c=m({},o);delete c.navigationId,delete c.\u0275routerPageId,Object.keys(c).length!==0&&(i.state=c)}let a=this.parseUrl(n);this.scheduleNavigation(a,r,s,i)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(Zu),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,r={}){let{relativeTo:o,queryParams:i,fragment:s,queryParamsHandling:a,preserveFragment:c}=r,u=c?this.currentUrlTree.fragment:s,l=null;switch(a){case"merge":l=m(m({},this.currentUrlTree.queryParams),i);break;case"preserve":l=this.currentUrlTree.queryParams;break;default:l=i||null}l!==null&&(l=this.removeEmptyProps(l));let d;try{let f=o?o.snapshot:this.routerState.snapshot.root;d=Bp(f)}catch{(typeof n[0]!="string"||!n[0].startsWith("/"))&&(n=[]),d=this.currentUrlTree.root}return Hp(d,n,l,u??null)}navigateByUrl(n,r={skipLocationChange:!1}){let o=Gn(n)?n:this.parseUrl(n),i=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(i,kr,null,r)}navigate(n,r={skipLocationChange:!1}){return Ab(n),this.navigateByUrl(this.createUrlTree(n,r),r)}serializeUrl(n){return this.urlSerializer.serialize(n)}parseUrl(n){try{return this.urlSerializer.parse(n)}catch{return this.urlSerializer.parse("/")}}isActive(n,r){let o;if(r===!0?o=m({},_b):r===!1?o=m({},xb):o=r,Gn(n))return bp(this.currentUrlTree,n,o);let i=this.parseUrl(n);return bp(this.currentUrlTree,i,o)}removeEmptyProps(n){return Object.entries(n).reduce((r,[o,i])=>(i!=null&&(r[o]=i),r),{})}scheduleNavigation(n,r,o,i,s){if(this.disposed)return Promise.resolve(!1);let a,c,u;s?(a=s.resolve,c=s.reject,u=s.promise):u=new Promise((d,f)=>{a=d,c=f});let l=this.pendingTasks.add();return cg(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(l))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:i,resolve:a,reject:c,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(d=>Promise.reject(d))}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function Ab(e){for(let t=0;t<e.length;t++)if(e[t]==null)throw new y(4008,!1)}function Nb(e){return!(e instanceof Ur)&&!(e instanceof Br)}var ug=(()=>{class e{constructor(n,r,o,i,s,a){this.router=n,this.route=r,this.tabIndexAttribute=o,this.renderer=i,this.el=s,this.locationStrategy=a,this.href=null,this.commands=null,this.onChanges=new Q,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;let c=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement=c==="a"||c==="area",this.isAnchorElement?this.subscription=n.events.subscribe(u=>{u instanceof Xe&&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,r,o,i,s){let a=this.urlTree;if(a===null||this.isAnchorElement&&(n!==0||r||o||i||s||typeof this.target=="string"&&this.target!="_self"))return!0;let c={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(a,c),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let n=this.urlTree;this.href=n!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(n)):null;let r=this.href===null?null:Xf(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",r)}applyAttributeValue(n,r){let o=this.renderer,i=this.el.nativeElement;r!==null?o.setAttribute(i,n,r):o.removeAttribute(i,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})}static{this.\u0275fac=function(r){return new(r||e)(te(gt),te(Ft),hc("tabindex"),te(Mi),te(Dr),te(pt))}}static{this.\u0275dir=Tn({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(r,o){r&1&&Lc("click",function(s){return o.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),r&2&&Pc("target",o.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[Le.HasDecoratorInputTransform,"preserveFragment","preserveFragment",br],skipLocationChange:[Le.HasDecoratorInputTransform,"skipLocationChange","skipLocationChange",br],replaceUrl:[Le.HasDecoratorInputTransform,"replaceUrl","replaceUrl",br],routerLink:"routerLink"},standalone:!0,features:[Rc,yr]})}}return e})();var ms=class{};var Rb=(()=>{class e{constructor(n,r,o,i,s){this.router=n,this.injector=o,this.preloadingStrategy=i,this.loader=s}setUpPreloading(){this.subscription=this.router.events.pipe(he(n=>n instanceof Xe),rt(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(n,r){let o=[];for(let i of r){i.providers&&!i._injector&&(i._injector=_i(i.providers,n,`Route: ${i.path}`));let s=i._injector??n,a=i._loadedInjector??s;(i.loadChildren&&!i._loadedRoutes&&i.canLoad===void 0||i.loadComponent&&!i._loadedComponent)&&o.push(this.preloadConfig(s,i)),(i.children||i._loadedRoutes)&&o.push(this.processRoutes(a,i.children??i._loadedRoutes))}return z(o).pipe(vt())}preloadConfig(n,r){return this.preloadingStrategy.preload(r,()=>{let o;r.loadChildren&&r.canLoad===void 0?o=this.loader.loadChildren(n,r):o=I(null);let i=o.pipe(K(s=>s===null?I(void 0):(r._loadedRoutes=s.routes,r._loadedInjector=s.injector,this.processRoutes(s.injector??n,s.routes))));if(r.loadComponent&&!r._loadedComponent){let s=this.loader.loadComponent(r);return z([i,s]).pipe(vt())}else return i})}static{this.\u0275fac=function(r){return new(r||e)(w(gt),w(Ri),w(ie),w(ms),w(Qu))}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),lg=new C(""),Ob=(()=>{class e{constructor(n,r,o,i,s={}){this.urlSerializer=n,this.transitions=r,this.viewportScroller=o,this.zone=i,this.options=s,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},this.environmentInjector=p(ie),s.scrollPositionRestoration||="disabled",s.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof Wn?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof Xe?(this.lastId=n.id,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.urlAfterRedirects).fragment)):n instanceof Pt&&n.code===cs.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof ls&&(n.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(n.position):n.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(n.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(n,r){this.zone.runOutsideAngular(()=>eo(this,null,function*(){yield new Promise(o=>{setTimeout(()=>{o()}),Ti(()=>{o()},{injector:this.environmentInjector})}),this.zone.run(()=>{this.transitions.events.next(new ls(n,this.lastSource==="popstate"?this.store[this.restoredId]:null,r))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static{this.\u0275fac=function(r){ph()}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac})}}return e})();function JN(e,...t){return _n([{provide:Gr,multi:!0,useValue:e},[],{provide:Ft,useFactory:dg,deps:[gt]},{provide:Er,multi:!0,useFactory:fg},t.map(n=>n.\u0275providers)])}function dg(e){return e.routerState.root}function Xr(e,t){return{\u0275kind:e,\u0275providers:t}}function fg(){let e=p(Tt);return t=>{let n=e.get(Fn);if(t!==n.components[0])return;let r=e.get(gt),o=e.get(hg);e.get(Xu)===1&&r.initialNavigation(),e.get(pg,null,A.Optional)?.setUpPreloading(),e.get(lg,null,A.Optional)?.init(),r.resetRootComponentType(n.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}var hg=new C("",{factory:()=>new Q}),Xu=new C("",{providedIn:"root",factory:()=>1});function Pb(){return Xr(2,[{provide:Xu,useValue:0},{provide:Ni,multi:!0,deps:[Tt],useFactory:t=>{let n=t.get(Qh,Promise.resolve());return()=>n.then(()=>new Promise(r=>{let o=t.get(gt),i=t.get(hg);cg(o,()=>{r(!0)}),t.get(Ju).afterPreactivation=()=>(r(!0),i.closed?I(void 0):i),o.initialNavigation()}))}}])}function Fb(){return Xr(3,[{provide:Ni,multi:!0,useFactory:()=>{let t=p(gt);return()=>{t.setUpLocationChangeListener()}}},{provide:Xu,useValue:2}])}var pg=new C("");function kb(e){return Xr(0,[{provide:pg,useExisting:Rb},{provide:ms,useExisting:e}])}function Lb(){return Xr(8,[_p,{provide:vs,useExisting:_p}])}function jb(e){let t=[{provide:ig,useValue:Ib},{provide:sg,useValue:m({skipNextTransition:!!e?.skipInitialTransition},e)}];return Xr(9,t)}var Ap=new C("ROUTER_FORROOT_GUARD"),Vb=[Vn,{provide:Zr,useClass:jr},gt,Yr,{provide:Ft,useFactory:dg,deps:[gt]},Qu,[]],XN=(()=>{class e{constructor(n){}static forRoot(n,r){return{ngModule:e,providers:[Vb,[],{provide:Gr,multi:!0,useValue:n},{provide:Ap,useFactory:Hb,deps:[[gt,new si,new Za]]},{provide:Jr,useValue:r||{}},r?.useHash?Ub():Bb(),$b(),r?.preloadingStrategy?kb(r.preloadingStrategy).\u0275providers:[],r?.initialNavigation?zb(r):[],r?.bindToComponentInputs?Lb().\u0275providers:[],r?.enableViewTransitions?jb().\u0275providers:[],qb()]}}static forChild(n){return{ngModule:e,providers:[{provide:Gr,multi:!0,useValue:n}]}}static{this.\u0275fac=function(r){return new(r||e)(w(Ap,8))}}static{this.\u0275mod=Kt({type:e})}static{this.\u0275inj=Qt({})}}return e})();function $b(){return{provide:lg,useFactory:()=>{let e=p(ip),t=p(q),n=p(Jr),r=p(Ju),o=p(Zr);return n.scrollOffset&&e.setOffset(n.scrollOffset),new Ob(o,r,e,t,n)}}}function Ub(){return{provide:pt,useClass:Jh}}function Bb(){return{provide:pt,useClass:tu}}function Hb(e){return"guarded"}function zb(e){return[e.initialNavigation==="disabled"?Fb().\u0275providers:[],e.initialNavigation==="enabledBlocking"?Pb().\u0275providers:[]]}var Np=new C("");function qb(){return[{provide:Np,useFactory:fg},{provide:Er,multi:!0,useExisting:Np}]}var gg=[{title:"Digital Trade Exports per Capita",date:new Date("2024-12-12")},{title:"Leetcode Strategies: Two Pointer",date:new Date("2024-06-05")},{title:"bld weepy",date:new Date("2024-05-24")},{title:"bld debby",date:new Date("2024-05-16")},{title:"Java Streams",date:new Date("2024-04-05")},{title:"Welcome to my Website",date:new Date("2024-03-31")},{title:"Dotfiles",date:new Date("2023-02-01")},{title:"Repatriation and the Rosetta Stone",date:new Date("2022-12-22")}];function Wb(e,t){if(e&1&&(Rn(0,"div",2)(1,"div",3)(2,"div",4)(3,"a",5),Vc(4),On()(),Rn(5,"div",6),Vc(6),Fh(7,"date"),On()()()),e&2){let n=t.$implicit;Ir(3),jc("routerLink","/blog/",n.slug,""),Ir(),$c(n.title),Ir(2),xi("Published on ",kh(7,4,n.date)," by Brady")}}var rR=(()=>{class e{constructor(){this.numOfBlogsToShow=3,this.entries=gg}slugify(n){return n.toString().toLowerCase().replace(/\s+/g,"-").replace(/[^\w\-]+/g,"").replace(/\-\-+/g,"-").replace(/^-+/,"").replace(/-+$/,"")}ngOnInit(){this.entries=this.entries.map(n=>W(m({},n),{slug:this.slugify(n.title)}))}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275cmp=ai({type:e,selectors:[["app-blog"]],inputs:{numOfBlogsToShow:"numOfBlogsToShow"},decls:2,vars:1,consts:[[1,"blog-list"],["class","blog-card",4,"ngFor","ngForOf"],[1,"blog-card"],[1,"card-content"],[1,"title"],[3,"routerLink"],[1,"published"]],template:function(r,o){r&1&&(Rn(0,"div",0),Oc(1,Wb,8,6,"div",1),On()),r&2&&(Ir(),Fc("ngForOf",o.entries))},dependencies:[np,ug,op],styles:[".card-content[_ngcontent-%COMP%]{padding:10px;margin:auto}.card-content[_ngcontent-%COMP%]:hover{translate:4rem;color:var(--yellow)}.title[_ngcontent-%COMP%]{font-size:1.3em}.published[_ngcontent-%COMP%]{font-size:.9em}"]})}}return e})();export{m as a,W as b,eo as c,Q as d,I as e,T as f,Zg as g,Yg as h,Fs as i,Qg as j,Xg as k,Vs as l,pe as m,$s as n,D as o,Qt as p,C as q,w as r,ai as s,Kt as t,yr as u,Dr as v,Fe as w,Ye as x,Ke as y,Dy as z,Ir as A,te as B,Nn as C,Oc as D,Fc as E,Sw as F,Rn as G,On as H,kc as I,$w as J,Uw as K,Lc as L,AA as M,NA as N,Vc as O,$c as P,Ph as Q,Fh as R,kh as S,np as T,XA as U,eN as V,KI as W,XI as X,cC as Y,hN as Z,NN as _,qC as $,Ft as aa,IE as ba,JN as ca,XN as da,rR as ea};