Files
htop-web/backend/src/main/resources/static/main-UXAGE5MB.js
T
2026-10-27 22:04:28 +01:00

6 lines
264 KiB
JavaScript

var uy=Object.defineProperty,dy=Object.defineProperties;var fy=Object.getOwnPropertyDescriptors;var Md=Object.getOwnPropertySymbols;var py=Object.prototype.hasOwnProperty,hy=Object.prototype.propertyIsEnumerable;var Nd=(e,t,n)=>t in e?uy(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,m=(e,t)=>{for(var n in t||={})py.call(t,n)&&Nd(e,n,t[n]);if(Md)for(var n of Md(t))hy.call(t,n)&&Nd(e,n,t[n]);return e},G=(e,t)=>dy(e,fy(t));var xr=[null],si=[!1],Zt=1,gy=null,Se=Symbol("SIGNAL");function b(e){let t=xr[0];return xr[0]=e,t}function ci(){return xr[0]}var Ar={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Un(e){if(si[0])throw new Error("");let t=xr[0];if(t===null)return;t.consumerOnSignalRead(e);let n=t.producersTail;if(n!==void 0&&n.producer===e)return;let r,o=t.recomputing;if(o&&(r=n!==void 0?n.nextProducer:t.producers,r!==void 0&&r.producer===e)){t.producersTail=r,r.lastReadVersion=e.version,r.knownValidAtEpoch=Zt;return}let i=e.consumersTail;if(i!==void 0&&i.consumer===t&&(!o||i.knownValidAtEpoch===Zt))return;let s=Bn(t),a={producer:e,consumer:t,nextProducer:r,prevConsumer:void 0,knownValidAtEpoch:Zt,lastReadVersion:e.version,nextConsumer:void 0};t.producersTail=a,n!==void 0?n.nextProducer=a:t.producers=a,s&&Od(e,a)}function Rd(){Zt++}function li(e){if(!(Bn(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===Zt)){if(!e.producerMustRecompute(e)&&!di(e)){ai(e);return}e.producerRecomputeValue(e),ai(e)}}function Ya(e){if(e.consumers===void 0)return;let t=si[0];si[0]=!0;try{for(let n=e.consumers;n!==void 0;n=n.nextConsumer){let r=n.consumer;r.dirty||my(r)}}finally{si[0]=t}}function Qa(){return xr[0]?.consumerAllowSignalWrites!==!1}function my(e){e.dirty=!0,Ya(e),e.consumerMarkedDirty?.(e)}function ai(e){e.dirty=!1,e.lastCleanEpoch=Zt}function Or(e){return e&&xd(e),b(e)}function xd(e){if(e.producersTail?.knownValidAtEpoch===Zt){let t=e.producers;for(;t!==void 0;)t.knownValidAtEpoch=null,t=t.nextProducer}e.producersTail=void 0,e.recomputing=!0}function ui(e,t){b(t),e&&Ad(e)}function Ad(e){e.recomputing=!1;let t=e.producersTail,n=t!==void 0?t.nextProducer:e.producers;if(n!==void 0){if(Bn(e))do n=Ka(n);while(n!==void 0);t!==void 0?t.nextProducer=void 0:e.producers=void 0}}function di(e){for(let t=e.producers;t!==void 0;t=t.nextProducer){let n=t.producer,r=t.lastReadVersion;if(r!==n.version||(li(n),r!==n.version))return!0}return!1}function Pr(e){if(Bn(e)){let t=e.producers;for(;t!==void 0;)t=Ka(t)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function Od(e,t){let n=e.consumersTail,r=Bn(e);if(n!==void 0?(t.nextConsumer=n.nextConsumer,n.nextConsumer=t):(t.nextConsumer=void 0,e.consumers=t),t.prevConsumer=n,e.consumersTail=t,!r)for(let o=e.producers;o!==void 0;o=o.nextProducer)Od(o.producer,o)}function Ka(e){let t=e.producer,n=e.nextProducer,r=e.nextConsumer,o=e.prevConsumer;if(e.nextConsumer=void 0,e.prevConsumer=void 0,r!==void 0?r.prevConsumer=o:t.consumersTail=o,o!==void 0)o.nextConsumer=r;else if(t.consumers=r,!Bn(t)){let i=t.producers;for(;i!==void 0;)i=Ka(i)}return n}function Bn(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function Xa(e){gy?.(e)}function Ja(e,t){return Object.is(e,t)}function yy(){throw new Error}var Pd=yy;function kd(e){Pd(e)}function ec(e){Pd=e}var vy=null;function tc(e,t){let n=Object.create(kr);n.value=e,t!==void 0&&(n.equal=t);let r=()=>Ld(n);return r[Se]=n,Xa(n),[r,s=>Yt(n,s),s=>nc(n,s)]}function Ld(e){return Un(e),e.value}function Yt(e,t){Qa()||kd(e),e.equal(e.value,t)||(e.value=t,Dy(e))}function nc(e,t){Qa()||kd(e),Yt(e,t(e.value))}var kr=G(m({},Ar),{equal:Ja,value:void 0,kind:"signal"});function Dy(e){e.version++,Rd(),Ya(e),vy?.(e)}var rc=[void 0];function fi(){return rc[0]}function Xe(e){let t=rc[0];return rc[0]=e,t}var Fd=Symbol("NotFound");function Vn(e){return e===Fd||e?.name==="\u0275NotFound"}function Ud(e){let t=b(null);try{return e()}finally{b(t)}}function x(e){return typeof e=="function"}function Hn(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 pi=Hn(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 Qt(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var ie=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(x(r))try{r()}catch(i){t=i instanceof pi?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Bd(i)}catch(s){t=t??[],s instanceof pi?t=[...t,...s.errors]:t.push(s)}}if(t)throw new pi(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Bd(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)&&Qt(n,t)}remove(t){let{_finalizers:n}=this;n&&Qt(n,t),t instanceof e&&t._removeParent(this)}};ie.EMPTY=(()=>{let e=new ie;return e.closed=!0,e})();var oc=ie.EMPTY;function hi(e){return e instanceof ie||e&&"closed"in e&&x(e.remove)&&x(e.add)&&x(e.unsubscribe)}function Bd(e){x(e)?e():e.unsubscribe()}var Be={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var $n={setTimeout(e,t,...n){let{delegate:r}=$n;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=$n;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function gi(e){$n.setTimeout(()=>{let{onUnhandledError:t}=Be;if(t)t(e);else throw e})}function Lr(){}var Vd=ic("C",void 0,void 0);function Hd(e){return ic("E",void 0,e)}function $d(e){return ic("N",e,void 0)}function ic(e,t,n){return{kind:e,value:t,error:n}}var Kt=null;function zn(e){if(Be.useDeprecatedSynchronousErrorHandling){let t=!Kt;if(t&&(Kt={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=Kt;if(Kt=null,n)throw r}}else e()}function zd(e){Be.useDeprecatedSynchronousErrorHandling&&Kt&&(Kt.errorThrown=!0,Kt.error=e)}var Xt=class extends ie{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,hi(t)&&t.add(this)):this.destination=Sy}static create(t,n,r){return new ut(t,n,r)}next(t){this.isStopped?ac($d(t),this):this._next(t)}error(t){this.isStopped?ac(Hd(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?ac(Vd,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()}}},Iy=Function.prototype.bind;function sc(e,t){return Iy.call(e,t)}var cc=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){mi(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){mi(r)}else mi(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){mi(n)}}},ut=class extends Xt{constructor(t,n,r){super();let o;if(x(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&Be.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&sc(t.next,i),error:t.error&&sc(t.error,i),complete:t.complete&&sc(t.complete,i)}):o=t}this.destination=new cc(o)}};function mi(e){Be.useDeprecatedSynchronousErrorHandling?zd(e):gi(e)}function by(e){throw e}function ac(e,t){let{onStoppedNotification:n}=Be;n&&$n.setTimeout(()=>n(e,t))}var Sy={closed:!0,next:Lr,error:by,complete:Lr};var Gn=typeof Symbol=="function"&&Symbol.observable||"@@observable";function Ve(e){return e}function yi(...e){return lc(e)}function lc(e){return e.length===0?Ve:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var P=class e{constructor(t){t&&(this._subscribe=t)}lift(t){let n=new e;return n.source=this,n.operator=t,n}subscribe(t,n,r){let o=_y(t)?t:new ut(t,n,r);return zn(()=>{let{operator:i,source:s}=this;o.add(i?i.call(o,s):s?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(t){try{return this._subscribe(t)}catch(n){t.error(n)}}forEach(t,n){return n=Gd(n),new n((r,o)=>{let i=new ut({next:s=>{try{t(s)}catch(a){o(a),i.unsubscribe()}},error:o,complete:r});this.subscribe(i)})}_subscribe(t){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(t)}[Gn](){return this}pipe(...t){return lc(t)(this)}toPromise(t){return t=Gd(t),new t((n,r)=>{let o;this.subscribe(i=>o=i,i=>r(i),()=>n(o))})}};P.create=e=>new P(e);function Gd(e){var t;return(t=e??Be.Promise)!==null&&t!==void 0?t:Promise}function Ty(e){return e&&x(e.next)&&x(e.error)&&x(e.complete)}function _y(e){return e&&e instanceof Xt||Ty(e)&&hi(e)}function My(e){return x(e?.lift)}function j(e){return t=>{if(My(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 H(e,t,n,r,o){return new uc(e,t,n,r,o)}var uc=class extends Xt{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))}}};var qd=Hn(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var q=class extends P{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){let n=new vi(this,this);return n.operator=t,n}_throwIfClosed(){if(this.closed)throw new qd}next(t){zn(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let n of this.currentObservers)n.next(t)}})}error(t){zn(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;let{observers:n}=this;for(;n.length;)n.shift().error(t)}})}complete(){zn(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:t}=this;for(;t.length;)t.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var t;return((t=this.observers)===null||t===void 0?void 0:t.length)>0}_trySubscribe(t){return this._throwIfClosed(),super._trySubscribe(t)}_subscribe(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)}_innerSubscribe(t){let{hasError:n,isStopped:r,observers:o}=this;return n||r?oc:(this.currentObservers=null,o.push(t),new ie(()=>{this.currentObservers=null,Qt(o,t)}))}_checkFinalizedStatuses(t){let{hasError:n,thrownError:r,isStopped:o}=this;n?t.error(r):o&&t.complete()}asObservable(){let t=new P;return t.source=this,t}};q.create=(e,t)=>new vi(e,t);var vi=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:oc}};var le=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 Fr={now(){return(Fr.delegate||Date).now()},delegate:void 0};var Di=class extends q{constructor(t=1/0,n=1/0,r=Fr){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 Ei=class extends ie{constructor(t,n){super()}schedule(t,n=0){return this}};var jr={setInterval(e,t,...n){let{delegate:r}=jr;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=jr;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var Ci=class extends Ei{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 jr.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&&jr.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,Qt(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var qn=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)}};qn.now=Fr.now;var wi=class extends qn{constructor(t,n=qn.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 Ny=new wi(Ci),Wd=Ny;var ue=new P(e=>e.complete());function Ii(e){return e&&x(e.schedule)}function Zd(e){return e[e.length-1]}function Yd(e){return x(Zd(e))?e.pop():void 0}function Tt(e){return Ii(Zd(e))?e.pop():void 0}function Kd(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(u){try{l(r.next(u))}catch(d){s(d)}}function c(u){try{l(r.throw(u))}catch(d){s(d)}}function l(u){u.done?i(u.value):o(u.value).then(a,c)}l((r=r.apply(e,t||[])).next())})}function Qd(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 Jt(e){return this instanceof Jt?(this.v=e,this):new Jt(e)}function Xd(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(f){return function(g){return Promise.resolve(g).then(f,d)}}function a(f,g){r[f]&&(o[f]=function(D){return new Promise(function(v,_){i.push([f,D,v,_])>1||c(f,D)})},g&&(o[f]=g(o[f])))}function c(f,g){try{l(r[f](g))}catch(D){p(i[0][3],D)}}function l(f){f.value instanceof Jt?Promise.resolve(f.value.v).then(u,d):p(i[0][2],f)}function u(f){c("next",f)}function d(f){c("throw",f)}function p(f,g){f(g),i.shift(),i.length&&c(i[0][0],i[0][1])}}function Jd(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 Qd=="function"?Qd(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,c){s=e[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(l){i({value:l,done:a})},s)}}var bi=(e=>e&&typeof e.length=="number"&&typeof e!="function");function Si(e){return x(e?.then)}function Ti(e){return x(e[Gn])}function _i(e){return Symbol.asyncIterator&&x(e?.[Symbol.asyncIterator])}function Mi(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 Ry(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Ni=Ry();function Ri(e){return x(e?.[Ni])}function xi(e){return Xd(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield Jt(n.read());if(o)return yield Jt(void 0);yield yield Jt(r)}}finally{n.releaseLock()}})}function Ai(e){return x(e?.getReader)}function Q(e){if(e instanceof P)return e;if(e!=null){if(Ti(e))return xy(e);if(bi(e))return Ay(e);if(Si(e))return Oy(e);if(_i(e))return ef(e);if(Ri(e))return Py(e);if(Ai(e))return ky(e)}throw Mi(e)}function xy(e){return new P(t=>{let n=e[Gn]();if(x(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Ay(e){return new P(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function Oy(e){return new P(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,gi)})}function Py(e){return new P(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function ef(e){return new P(t=>{Ly(e,t).catch(n=>t.error(n))})}function ky(e){return ef(xi(e))}function Ly(e,t){var n,r,o,i;return Kd(this,void 0,void 0,function*(){try{for(n=Jd(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 Ce(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 Oi(e,t=0){return j((n,r)=>{n.subscribe(H(r,o=>Ce(r,e,()=>r.next(o),t),()=>Ce(r,e,()=>r.complete(),t),o=>Ce(r,e,()=>r.error(o),t)))})}function Pi(e,t=0){return j((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function tf(e,t){return Q(e).pipe(Pi(t),Oi(t))}function nf(e,t){return Q(e).pipe(Pi(t),Oi(t))}function rf(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 of(e,t){return new P(n=>{let r;return Ce(n,t,()=>{r=e[Ni](),Ce(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)}),()=>x(r?.return)&&r.return()})}function ki(e,t){if(!e)throw new Error("Iterable cannot be null");return new P(n=>{Ce(n,t,()=>{let r=e[Symbol.asyncIterator]();Ce(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function sf(e,t){return ki(xi(e),t)}function af(e,t){if(e!=null){if(Ti(e))return tf(e,t);if(bi(e))return rf(e,t);if(Si(e))return nf(e,t);if(_i(e))return ki(e,t);if(Ri(e))return of(e,t);if(Ai(e))return sf(e,t)}throw Mi(e)}function ne(e,t){return t?af(e,t):Q(e)}function A(...e){let t=Tt(e);return ne(e,t)}function dc(e,t){let n=x(e)?e:()=>e,r=o=>o.error(n());return new P(t?o=>t.schedule(r,0,o):r)}function Li(e){return!!e&&(e instanceof P||x(e.lift)&&x(e.subscribe))}var en=Hn(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function cf(e){return e instanceof Date&&!isNaN(e)}function z(e,t){return j((n,r)=>{let o=0;n.subscribe(H(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:Fy}=Array;function jy(e,t){return Fy(t)?e(...t):e(t)}function lf(e){return z(t=>jy(e,t))}var{isArray:Uy}=Array,{getPrototypeOf:By,prototype:Vy,keys:Hy}=Object;function uf(e){if(e.length===1){let t=e[0];if(Uy(t))return{args:t,keys:null};if($y(t)){let n=Hy(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function $y(e){return e&&typeof e=="object"&&By(e)===Vy}function df(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function fc(...e){let t=Tt(e),n=Yd(e),{args:r,keys:o}=uf(e);if(r.length===0)return ne([],t);let i=new P(zy(r,t,o?s=>df(o,s):Ve));return n?i.pipe(lf(n)):i}function zy(e,t,n=Ve){return r=>{ff(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)ff(t,()=>{let l=ne(e[c],t),u=!1;l.subscribe(H(r,d=>{i[c]=d,u||(u=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function ff(e,t,n){e?Ce(n,e,t):t()}function pf(e,t,n,r,o,i,s,a){let c=[],l=0,u=0,d=!1,p=()=>{d&&!c.length&&!l&&t.complete()},f=D=>l<r?g(D):c.push(D),g=D=>{i&&t.next(D),l++;let v=!1;Q(n(D,u++)).subscribe(H(t,_=>{o?.(_),i?f(_):t.next(_)},()=>{v=!0},void 0,()=>{if(v)try{for(l--;c.length&&l<r;){let _=c.shift();s?Ce(t,s,()=>g(_)):g(_)}p()}catch(_){t.error(_)}}))};return e.subscribe(H(t,f,()=>{d=!0,p()})),()=>{a?.()}}function ye(e,t,n=1/0){return x(t)?ye((r,o)=>z((i,s)=>t(r,i,o,s))(Q(e(r,o))),n):(typeof t=="number"&&(n=t),j((r,o)=>pf(r,o,e,n)))}function hf(e=1/0){return ye(Ve,e)}function gf(){return hf(1)}function Wn(...e){return gf()(ne(e,Tt(e)))}function Ur(e){return new P(t=>{Q(e()).subscribe(t)})}function Fi(e=0,t,n=Wd){let r=-1;return t!=null&&(Ii(t)?n=t:r=t),new P(o=>{let i=cf(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 He(e,t){return j((n,r)=>{let o=0;n.subscribe(H(r,i=>e.call(t,i,o++)&&r.next(i)))})}function _t(e){return j((t,n)=>{let r=null,o=!1,i;r=t.subscribe(H(n,void 0,void 0,s=>{i=Q(e(s,_t(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function Zn(e,t){return x(t)?ye(e,t,1):ye(e,1)}function mf(e){return j((t,n)=>{let r=!1;t.subscribe(H(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function Mt(e){return e<=0?()=>ue:j((t,n)=>{let r=0;t.subscribe(H(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function yf(e=Gy){return j((t,n)=>{let r=!1;t.subscribe(H(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function Gy(){return new en}function Br(e){return j((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function dt(e,t){let n=arguments.length>=2;return r=>r.pipe(e?He((o,i)=>e(o,i,r)):Ve,Mt(1),n?mf(t):yf(()=>new en))}function ji(e){return e<=0?()=>ue:j((t,n)=>{let r=[];t.subscribe(H(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 vf(e={}){let{connector:t=()=>new q,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,c,l=0,u=!1,d=!1,p=()=>{a?.unsubscribe(),a=void 0},f=()=>{p(),s=c=void 0,u=d=!1},g=()=>{let D=s;f(),D?.unsubscribe()};return j((D,v)=>{l++,!d&&!u&&p();let _=c=c??t();v.add(()=>{l--,l===0&&!d&&!u&&(a=pc(g,o))}),_.subscribe(v),!s&&l>0&&(s=new ut({next:S=>_.next(S),error:S=>{d=!0,p(),a=pc(f,n,S),_.error(S)},complete:()=>{u=!0,p(),a=pc(f,r),_.complete()}}),Q(D).subscribe(s))})(i)}}function pc(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new ut({next:()=>{r.unsubscribe(),e()}});return Q(t(...n)).subscribe(r)}function Ui(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,vf({connector:()=>new Di(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function hc(...e){let t=Tt(e);return j((n,r)=>{(t?Wn(e,n,t):Wn(e,n)).subscribe(r)})}function ae(e,t){return j((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(H(r,c=>{o?.unsubscribe();let l=0,u=i++;Q(e(c,u)).subscribe(o=H(r,d=>r.next(t?t(c,d,u,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Vr(e){return j((t,n)=>{Q(e).subscribe(H(n,()=>n.complete(),Lr)),!n.closed&&t.subscribe(n)})}function Ae(e,t,n){let r=x(e)||t||n?{next:e,error:t,complete:n}:e;return r?j((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(H(i,c=>{var l;(l=r.next)===null||l===void 0||l.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var l;a=!1,(l=r.error)===null||l===void 0||l.call(r,c),i.error(c)},()=>{var c,l;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(l=r.finalize)===null||l===void 0||l.call(r)}))}):Ve}var xc="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",y=class extends Error{code;constructor(t,n){super(an(t,n)),this.code=t}};function qy(e){return`NG0${Math.abs(e)}`}function an(e,t){return`${qy(e)}${t?": "+t:""}`}function V(e){for(let t in e)if(e[t]===V)return t;throw Error("")}function Gr(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(Gr).join(", ")}]`;if(e==null)return""+e;let t=e.overriddenName||e.name;if(t)return`${t}`;let n=e.toString();if(n==null)return""+n;let r=n.indexOf(`
`);return r>=0?n.slice(0,r):n}function Ac(e,t){return e?t?`${e} ${t}`:e:t||""}var Wy=V({__forward_ref__:V});function Gi(e){return e.__forward_ref__=Gi,e}function Te(e){return If(e)?e():e}function If(e){return typeof e=="function"&&Object.hasOwn(e,Wy)&&e.__forward_ref__===Gi}function k(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function qr(e){return Zy(e,qi)}function Oc(e){return qr(e)!==null}function Zy(e,t){return Object.hasOwn(e,t)&&e[t]||null}function Yy(e){let t=e?.[qi]??null;return t||null}function mc(e){return e&&Object.hasOwn(e,Vi)?e[Vi]:null}var qi=V({\u0275prov:V}),Vi=V({\u0275inj:V}),E=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,n){this._desc=t,this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=k({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Pc(e){return e&&!!e.\u0275providers}var kc=V({\u0275cmp:V}),Lc=V({\u0275dir:V}),Fc=V({\u0275pipe:V}),jc=V({\u0275mod:V}),yc=V({\u0275fac:V}),cn=V({__NG_ELEMENT_ID__:V}),Df=V({__NG_ENV_ID__:V});function bf(e){return Zi(e,"@NgModule"),e[jc]||null}function ln(e){return Zi(e,"@Component"),e[kc]||null}function Wi(e){return Zi(e,"@Directive"),e[Lc]||null}function Sf(e){return Zi(e,"@Pipe"),e[Fc]||null}function Zi(e,t){if(e==null)throw new y(-919,!1)}function Kn(e){return typeof e=="string"?e:e==null?"":String(e)}var Tf=V({ngErrorCode:V}),Qy=V({ngErrorMessage:V}),Ky=V({ngTokenPath:V});function Uc(e,t){return _f("",-200,t)}function Yi(e,t){throw new y(-201,!1)}function _f(e,t,n){let r=new y(t,e);return r[Tf]=t,r[Qy]=e,n&&(r[Ky]=n),r}function Xy(e){return e[Tf]}var vc;function Mf(){return vc}function ve(e){let t=vc;return vc=e,t}function Bc(e,t,n){let r=qr(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&8)return null;if(t!==void 0)return t;Yi(e,"")}var un=globalThis;var Jy={},tn=Jy,ev="__NG_DI_FLAG__",Dc=class{injector;constructor(t){this.injector=t}retrieve(t,n){let r=nn(n)||0;try{return this.injector.get(t,r&8?null:tn,r)}catch(o){if(Vn(o))return o;throw o}}};function tv(e,t=0){let n=fi();if(n===void 0)throw new y(-203,!1);if(n===null)return Bc(e,void 0,t);{let r=nv(t),o=n.retrieve(e,r);if(Vn(o)){if(r.optional)return null;throw o}return o}}function T(e,t=0){return(Mf()||tv)(Te(e),t)}function h(e,t){return T(e,nn(t))}function nn(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function nv(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function Ec(e){let t=[];for(let n=0;n<e.length;n++){let r=Te(e[n]);if(Array.isArray(r)){if(r.length===0)throw new y(900,!1);let o,i=0;for(let s=0;s<r.length;s++){let a=r[s],c=rv(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(T(o,i))}else t.push(T(r))}return t}function rv(e){return e[ev]}function rn(e,t){let n=Object.hasOwn(e,yc);return n?e[yc]:null}function Qi(e,t){e.forEach(n=>Array.isArray(n)?Qi(n,t):t(n))}function Vc(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Wr(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Nf(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 Rf(e,t,n){let r=Xn(e,t);return r>=0?e[r|1]=n:(r=~r,Nf(e,r,t,n)),r}function Ki(e,t){let n=Xn(e,t);if(n>=0)return e[n|1]}function Xn(e,t){return ov(e,t,1)}function ov(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 dn={},Nt=[],Jn=new E(""),Hc=new E("",-1),$c=new E(""),Qn=class{get(t,n=tn){if(n===tn){let o=_f("",-201);throw o.name="\u0275NotFound",o}return n}};function gt(e){return{\u0275providers:e}}function xf(e){return gt([{provide:Jn,multi:!0,useValue:e}])}function Af(...e){return{\u0275providers:zc(!0,e),\u0275fromNgModule:!0}}function zc(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return Qi(t,s=>{let a=s;Hi(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Of(o,i),n}function Of(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];Gc(o,i=>{t(i,r)})}}function Hi(e,t,n,r){if(e=Te(e),!e)return!1;let o=null,i=mc(e),s=!i&&ln(e);if(!i&&!s){let c=e.ngModule;if(i=mc(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let l of c)Hi(l,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;Qi(i.imports,u=>{Hi(u,t,n,r)&&(l||=[],l.push(u))}),l!==void 0&&Of(l,t)}if(!a){let l=rn(o)||(()=>new o);t({provide:o,useFactory:l,deps:Nt},o),t({provide:$c,useValue:o,multi:!0},o),t({provide:Jn,useValue:()=>T(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=e;Gc(c,u=>{t(u,l)})}}else return!1;return o!==e&&e.providers!==void 0}function Gc(e,t){for(let n of e)Pc(n)&&(n=n.\u0275providers),Array.isArray(n)?Gc(n,t):t(n)}var iv=V({provide:String,useValue:V});function Pf(e){return e!==null&&typeof e=="object"&&iv in e}function sv(e){return!!(e&&e.useExisting)}function av(e){return!!(e&&e.useFactory)}function $i(e){return typeof e=="function"}var Zr=new E(""),Bi={},Ef={},gc;function Yr(){return gc===void 0&&(gc=new Qn),gc}var K=class{},on=class extends K{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,wc(t,s=>this.processProvider(s)),this.records.set(Hc,Yn(void 0,this)),o.has("environment")&&this.records.set(K,Yn(void 0,this));let i=this.records.get(Zr);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get($c,Nt,{self:!0}))}retrieve(t,n){let r=nn(n)||0;try{return this.get(t,tn,r)}catch(o){if(Vn(o))return o;throw o}}destroy(){Hr(this),this._destroyed=!0;let t=b(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(),b(t)}}onDestroy(t){return Hr(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){Hr(this);let n=Xe(this),r=ve(void 0),o;try{return t()}finally{Xe(n),ve(r)}}get(t,n=tn,r){if(Hr(this),Object.hasOwn(t,Df))return t[Df](this);let o=nn(r),i,s=Xe(this),a=ve(void 0);try{if(!(o&4)){let l=this.records.get(t);if(l===void 0){let u=fv(t)&&qr(t);u&&this.injectableDefInScope(u)?l=Yn(Cc(t),Bi):l=null,this.records.set(t,l)}if(l!=null)return this.hydrate(t,l,o)}let c=o&2?Yr():this.parent;return n=o&8&&n===tn?null:n,c.get(t,n)}catch(c){let l=Xy(c);throw l===-200||l===-201?new y(l,null):c}finally{ve(a),Xe(s)}}resolveInjectorInitializers(){let t=b(null),n=Xe(this),r=ve(void 0),o;try{let i=this.get(Jn,Nt,{self:!0});for(let s of i)s()}finally{Xe(n),ve(r),b(t)}}toString(){return"R3Injector[...]"}processProvider(t){t=Te(t);let n=$i(t)?t:Te(t&&t.provide),r=lv(t);if(!$i(t)&&t.multi===!0){let o=this.records.get(n);o||(o=Yn(void 0,Bi,!0),o.factory=()=>Ec(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n,r){let o=b(null);try{if(n.value===Ef)throw Uc("");return n.value===Bi&&(n.value=Ef,n.value=n.factory(void 0,r)),typeof n.value=="object"&&n.value&&dv(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{b(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=Te(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 Cc(e){let t=qr(e),n=t!==null?t.factory:rn(e);if(n!==null)return n;if(e instanceof E)throw new y(-204,!1);if(e instanceof Function)return cv(e);throw new y(-204,!1)}function cv(e){if(e.length>0)throw new y(-204,!1);let n=Yy(e);return n!==null?()=>n.factory(e):()=>new e}function lv(e){if(Pf(e))return Yn(void 0,e.useValue);{let t=kf(e);return Yn(t,Bi)}}function kf(e,t,n){let r;if($i(e)){let o=Te(e);return rn(o)||Cc(o)}else if(Pf(e))r=()=>Te(e.useValue);else if(av(e))r=()=>e.useFactory(...Ec(e.deps||[]));else if(sv(e))r=(o,i)=>T(Te(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=Te(e&&(e.useClass||e.provide));if(uv(e))r=()=>new o(...Ec(e.deps));else return rn(o)||Cc(o)}return r}function Hr(e){if(e.destroyed)throw new y(-205,!1)}function Yn(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function uv(e){return!!e.deps}function dv(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function fv(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function wc(e,t){for(let n of e)Array.isArray(n)?wc(n,t):n&&Pc(n)?wc(n.\u0275providers,t):t(n)}function se(e,t){let n;e instanceof on?(Hr(e),n=e):n=new Dc(e);let r,o=Xe(n),i=ve(void 0);try{return t()}finally{Xe(o),ve(i)}}function Lf(){return Mf()!==void 0||fi()!=null}var $e=0,M=1,N=2,re=3,Pe=4,we=5,er=6,tr=7,W=8,mt=9,ze=10,X=11,nr=12,qc=13,Rt=14,Ie=15,fn=16,pn=17,hn=18,Qr=19,Wc=20,ft=21,Xi=22,rr=23,_e=24,Ji=25,Ff=26,Kr=27,J=28,jf=1,Zc=6,gn=7,Xr=8,Jr=9,ee=10;function xt(e){return Array.isArray(e)&&typeof e[jf]=="object"}function ke(e){return Array.isArray(e)&&e[jf]===!0}function Yc(e){return(e.flags&4)!==0}function yt(e){return e.componentOffset>-1}function es(e){return(e.flags&1)===1}function mn(e){return!!e.template}function or(e){return(e[N]&512)!==0}function yn(e){return(e[N]&256)===256}var ts=(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[e.ATTRIBUTE_NO_BINDING=6]="ATTRIBUTE_NO_BINDING",e})(ts||{});var Qc="svg",Uf="math";function de(e){for(;Array.isArray(e);)e=e[$e];return e}function Kc(e,t){return de(t[e])}function Ge(e,t){return de(t[e.index])}function ns(e,t){return e.data[t]}function rs(e,t){return e[t]}function Xc(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function qe(e,t){let n=t[e];return xt(n)?n:n[$e]}function os(e){return(e[N]&128)===128}function Bf(e){return ke(e[re])}function et(e,t){return t==null?null:e[t]}function Jc(e){e[pn]=0}function el(e){e[N]&1024||(e[N]|=1024,os(e)&&to(e))}function Vf(e,t){for(;e>0;)t=t[Rt],e--;return t}function eo(e){return!!(e[N]&9216||e[_e]?.dirty)}function is(e){e[ze].changeDetectionScheduler?.notify(8),e[N]&64&&(e[N]|=1024),eo(e)&&to(e)}function to(e){e[ze].changeDetectionScheduler?.notify(0);let t=pt(e);for(;t!==null&&!(t[N]&8192||(t[N]|=8192,!os(t)));)t=pt(t)}function ss(e,t){if(yn(e))throw new y(911,!1);e[ft]===null&&(e[ft]=[]),e[ft].push(t)}function Hf(e,t){if(e[ft]===null)return;let n=e[ft].indexOf(t);n!==-1&&e[ft].splice(n,1)}function pt(e){let t=e[re];return ke(t)?t[re]:t}function $f(e){return e[tr]??=[]}function zf(e){return e.cleanup??=[]}var O={lFrame:ip(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Ic=!1;function Gf(){return O.lFrame.elementDepthCount}function qf(){O.lFrame.elementDepthCount++}function tl(){O.lFrame.elementDepthCount--}function Wf(){return O.bindingsEnabled}function Zf(){return O.skipHydrationRootTNode!==null}function nl(e){return O.skipHydrationRootTNode===e}function rl(){O.skipHydrationRootTNode=null}function F(){return O.lFrame.lView}function Me(){return O.lFrame.tView}function At(e){return O.lFrame.contextLView=e,e[W]}function Ot(e){return O.lFrame.contextLView=null,e}function tt(){let e=ol();for(;e!==null&&e.type===64;)e=e.parent;return e}function ol(){return O.lFrame.currentTNode}function Yf(){let e=O.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function ir(e,t){let n=O.lFrame;n.currentTNode=e,n.isParent=t}function il(){return O.lFrame.isParent}function Qf(){O.lFrame.isParent=!1}function Kf(){return O.lFrame.contextLView}function sl(){return Ic}function al(e){let t=Ic;return Ic=e,t}function no(){let e=O.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Xf(){return O.lFrame.bindingIndex}function Jf(e){return O.lFrame.bindingIndex=e}function vn(){return O.lFrame.bindingIndex++}function cl(e){let t=O.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function ep(){return O.lFrame.inI18n}function tp(e,t){let n=O.lFrame;n.bindingIndex=n.bindingRootIndex=e,as(t)}function np(){return O.lFrame.currentDirectiveIndex}function as(e){O.lFrame.currentDirectiveIndex=e}function rp(e){let t=O.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function ll(e){O.lFrame.currentQueryIndex=e}function pv(e){let t=e[M];return t.type===2?t.declTNode:t.type===1?e[we]:null}function ul(e,t,n){if(n&4){let o=t,i=e;for(;o=o.parent,o===null&&!(n&1);)if(o=pv(i),o===null||(i=i[Rt],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=O.lFrame=op();return r.currentTNode=t,r.lView=e,!0}function cs(e){let t=op(),n=e[M];O.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function op(){let e=O.lFrame,t=e===null?null:e.child;return t===null?ip(e):t}function ip(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 sp(){let e=O.lFrame;return O.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var dl=sp;function ls(){let e=sp();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 ap(e){return(O.lFrame.contextLView=Vf(e,O.lFrame.contextLView))[W]}function vt(){return O.lFrame.selectedIndex}function Pt(e){O.lFrame.selectedIndex=e}function us(){let e=O.lFrame;return ns(e.tView,e.selectedIndex)}function kt(){O.lFrame.currentNamespace=Qc}function Dn(){hv()}function hv(){O.lFrame.currentNamespace=null}function fl(){return O.lFrame.currentNamespace}var cp=!0;function ds(){return cp}function fs(e){cp=e}function bc(e,t=null,n=null,r){let o=pl(e,t,n,r);return o.resolveInjectorInitializers(),o}function pl(e,t=null,n=null,r,o=new Set){let i=[n||Nt,Af(e)],s;return new on(i,t||Yr(),s||null,o)}var Je=class e{static THROW_IF_NOT_FOUND=tn;static NULL=new Qn;static create(t,n){if(Array.isArray(t))return bc({name:""},n,t,"");{let r=t.name??"";return bc({name:r},t.parent,t.providers,r)}}static \u0275prov=k({token:e,providedIn:"any",factory:()=>T(Hc)});static __NG_ELEMENT_ID__=-1},Z=new E(""),Oe=class{static __NG_ELEMENT_ID__=gv;static __NG_ENV_ID__=t=>t},Sc=class extends Oe{_lView;constructor(t){super(),this._lView=t}get destroyed(){return yn(this._lView)}onDestroy(t){let n=this._lView;return ss(n,t),()=>Hf(n,t)}};function gv(){return new Sc(F())}var lp=!1,up=new E(""),Dt=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new le(!1);debugTaskTracker=h(up,{optional:!0});get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new P(n=>{n.next(!1),n.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),this.debugTaskTracker?.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.debugTaskTracker?.remove(n),this.pendingTasks.size===0&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=k({token:e,providedIn:"root",factory:()=>new e})}return e})(),Tc=class extends q{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,Lf()&&(this.destroyRef=h(Oe,{optional:!0})??void 0,this.pendingTasks=h(Dt,{optional:!0})??void 0)}emit(t){let n=b(null);try{super.next(t)}finally{b(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let c=t;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof ie&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{t(n)}finally{r!==void 0&&this.pendingTasks?.remove(r)}})}}},De=Tc;function zi(...e){}function hl(e){let t,n;function r(){e=zi;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function dp(e){return queueMicrotask(()=>e()),()=>{e=zi}}var gl="isAngularZone",$r=gl+"_ID",mv=0,pe=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new De(!1);onMicrotaskEmpty=new De(!1);onStable=new De(!1);onError=new De(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=lp}=t;if(typeof Zone>"u")throw new y(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,Dv(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(gl)===!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,yv,zi,zi);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)}},yv={};function ml(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 vv(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){hl(()=>{e.callbackScheduled=!1,_c(e),e.isCheckStableRunning=!0,ml(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),_c(e)}function Dv(e){let t=()=>{vv(e)},n=mv++;e._inner=e._inner.fork({name:"angular",properties:{[gl]:!0,[$r]:n,[$r+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(Ev(c))return r.invokeTask(i,s,a,c);try{return Cf(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),wf(e)}},onInvoke:(r,o,i,s,a,c,l)=>{try{return Cf(e),r.invoke(i,s,a,c,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!Cv(c)&&t(),wf(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,_c(e),ml(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,o,i,s)=>(r.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function _c(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Cf(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function wf(e){e._nesting--,ml(e)}var zr=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new De;onMicrotaskEmpty=new De;onStable=new De;onError=new De;run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}};function Ev(e){return fp(e,"__ignore_ng_zone__")}function Cv(e){return fp(e,"__scheduler_tick__")}function fp(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var ht=class{_console=console;handleError(t){this._console.error("ERROR",t)}};function pp(e){return wv(e)?e:new Mc(e)}function wv(e){return e instanceof Error||typeof e=="object"&&e!==null&&typeof e.name=="string"&&typeof e.message=="string"}var Mc=class extends Error{constructor(t){super(String(t),{cause:t}),this.name="ErrorBoundaryWrappedError"}},Ne=new E("",{factory:()=>{let e=h(pe),t=h(K),n;return r=>{e.runOutsideAngular(()=>{t.destroyed&&!n?setTimeout(()=>{throw r}):(n??=t.get(ht),n.handleError(r))})}}}),hp={provide:Jn,useValue:()=>{let e=h(ht,{optional:!0})},multi:!0},Iv=new E("",{factory:()=>{let e=h(Z).defaultView;if(!e)return;let t=h(Ne),n=i=>{t(i.reason),i.preventDefault()},r=i=>{i.error?t(i.error):t(new Error(i.message,{cause:i})),i.preventDefault()},o=()=>{e.addEventListener("unhandledrejection",n),e.addEventListener("error",r)};typeof Zone<"u"?Zone.root.run(o):o(),h(Oe).onDestroy(()=>{e.removeEventListener("error",r),e.removeEventListener("unhandledrejection",n)})}});function yl(){return gt([xf(()=>{h(Iv)})])}function Lt(e,t){let[n,r,o]=tc(e,t?.equal),i=n,s=i[Se];return i.set=r,i.update=o,i.asReadonly=gp.bind(i),i}function gp(){let e=this[Se];if(e.readonlyFn===void 0){let t=()=>this();t[Se]=e,e.readonlyFn=t}return e.readonlyFn}var ro=new E("",{factory:()=>bv}),bv="ng";var ps=new E(""),oo=new E("",{providedIn:"platform",factory:()=>"unknown"});var io=new E("",{factory:()=>h(Z).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var sn=class{},so=new E("",{factory:()=>!0});var vl=new E(""),Dl=(()=>{class e{static \u0275prov=k({token:e,providedIn:"root",factory:()=>new Nc})}return e})(),Nc=class{dirtyEffectCount=0;queues=new Map;add(t){this.enqueue(t),this.schedule(t)}schedule(t){t.dirty&&this.dirtyEffectCount++}remove(t){let n=t.zone,r=this.queues.get(n);r.has(t)&&(r.delete(t),t.dirty&&this.dirtyEffectCount--)}enqueue(t){let n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||r.add(t)}flush(){for(;this.dirtyEffectCount>0;){let t=!1;for(let[n,r]of this.queues)n===null?t||=this.flushQueue(r):t||=n.run(()=>this.flushQueue(r));t||(this.dirtyEffectCount=0)}}flushQueue(t){let n=!1;for(let r of t)r.dirty&&(this.dirtyEffectCount--,n=!0,r.run());return n}},Rc=class{[Se];constructor(t){this[Se]=t}destroy(){this[Se].destroy()}};var hs=(()=>{class e{internalPendingTasks=h(Dt);scheduler=h(sn);errorHandler=h(Ne);add(){let n=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(n)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(n))}}run(n){let r=this.add();try{n().catch(this.errorHandler).finally(r)}catch(o){this.errorHandler(o),r()}}static \u0275prov=k({token:e,providedIn:"root",factory:()=>new e})}return e})();var Ql=Symbol("InputSignalNode#UNSET"),Wp=G(m({},kr),{transformFn:void 0,applyValueToInputSignal(e,t){Yt(e,t)}});function Kl(e){return{toString:e}.toString()}var U=(function(e){return e[e.TemplateCreateStart=0]="TemplateCreateStart",e[e.TemplateCreateEnd=1]="TemplateCreateEnd",e[e.TemplateUpdateStart=2]="TemplateUpdateStart",e[e.TemplateUpdateEnd=3]="TemplateUpdateEnd",e[e.LifecycleHookStart=4]="LifecycleHookStart",e[e.LifecycleHookEnd=5]="LifecycleHookEnd",e[e.OutputStart=6]="OutputStart",e[e.OutputEnd=7]="OutputEnd",e[e.BootstrapApplicationStart=8]="BootstrapApplicationStart",e[e.BootstrapApplicationEnd=9]="BootstrapApplicationEnd",e[e.BootstrapComponentStart=10]="BootstrapComponentStart",e[e.BootstrapComponentEnd=11]="BootstrapComponentEnd",e[e.ChangeDetectionStart=12]="ChangeDetectionStart",e[e.ChangeDetectionEnd=13]="ChangeDetectionEnd",e[e.ChangeDetectionSyncStart=14]="ChangeDetectionSyncStart",e[e.ChangeDetectionSyncEnd=15]="ChangeDetectionSyncEnd",e[e.AfterRenderHooksStart=16]="AfterRenderHooksStart",e[e.AfterRenderHooksEnd=17]="AfterRenderHooksEnd",e[e.ComponentStart=18]="ComponentStart",e[e.ComponentEnd=19]="ComponentEnd",e[e.DeferBlockStateStart=20]="DeferBlockStateStart",e[e.DeferBlockStateEnd=21]="DeferBlockStateEnd",e[e.DynamicComponentStart=22]="DynamicComponentStart",e[e.DynamicComponentEnd=23]="DynamicComponentEnd",e[e.HostBindingsUpdateStart=24]="HostBindingsUpdateStart",e[e.HostBindingsUpdateEnd=25]="HostBindingsUpdateEnd",e})(U||{}),Ds=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function Zp(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var Yp=null,Ps=(()=>{Yp=mp;let e=()=>mp;return e.ngInherit=!0,e})();function Lv(){return Yp}function mp(e){return e.type.prototype.ngOnChanges&&(e.setInput=jv),Fv}function Fv(){let e=Qp(this),t=e?.current;if(t){let n=e.previous;if(n===dn)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function jv(e,t,n,r,o){let i=this.declaredInputs[r],s=Qp(e)||Uv(e,{previous:dn,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new Ds(l&&l.currentValue,n,c===dn),Zp(e,t,o,n)}var Ml="__ngSimpleChanges__";function Qp(e){return Object.hasOwn(e,Ml)&&e[Ml]||null}function Uv(e,t){return e[Ml]=t}var yp=[];var $=function(e,t=null,n){for(let r=0;r<yp.length;r++){let o=yp[r];o(e,t,n)}};function Bv(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=Lv()(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 Vv(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){let i=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:l,ngOnDestroy:u}=i;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),c&&(e.viewHooks??=[]).push(-n,c),l&&((e.viewHooks??=[]).push(n,l),(e.viewCheckHooks??=[]).push(n,l)),u!=null&&(e.destroyHooks??=[]).push(n,u)}}function ms(e,t,n){Kp(e,t,3,n)}function ys(e,t,n,r){(e[N]&3)===n&&Kp(e,t,n,r)}function El(e,t){let n=e[N];(n&3)===t&&(n&=16383,n+=1,e[N]=n)}function Kp(e,t,n,r){let o=r!==void 0?e[pn]&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[pn]+=65536),(a<i||i==-1)&&(Hv(e,n,t,c),e[pn]=(e[pn]&4294901760)+c+2),c++}function vp(e,t){$(U.LifecycleHookStart,e,t);let n=b(null);try{t.call(e)}finally{b(n),$(U.LifecycleHookEnd,e,t)}}function Hv(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[N]>>14<e[pn]>>16&&(e[N]&3)===t&&(e[N]+=16384,vp(a,i)):vp(a,i)}var cr=-1,uo=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r,o){this.factory=t,this.name=o,this.canSeeViewProviders=n,this.injectImpl=r}};function $v(e){return(e.flags&8)!==0}function zv(e){return(e.flags&16)!==0}function Gv(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];Wv(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function qv(e){return e===3||e===4||e===6}function Wv(e){return e.charCodeAt(0)===64}function ks(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?Dp(e,n,o,null,t[++r]):Dp(e,n,o,null,null))}}return e}function Dp(e,t,n,r,o){let i=0,s=e.length;if(t===-1)s=-1;else for(;i<e.length;){let a=e[i++];if(typeof a=="number"){if(a===t){s=-1;break}else if(a>t){s=i-1;break}}}for(;i<e.length;){let a=e[i];if(typeof a=="number")break;if(a===n){o!==null&&(e[i+1]=o);return}i++,o!==null&&i++}s!==-1&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),o!==null&&e.splice(i++,0,o)}function Xp(e){return e!==cr}function Es(e){return e&32767}function Zv(e){return e>>16}function Cs(e,t){let n=Zv(e),r=t;for(;n>0;)r=r[Rt],n--;return r}var Nl=!0;function ws(e){let t=Nl;return Nl=e,t}var Yv=256,Jp=Yv-1,eh=5,Qv=0,nt={};function Kv(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:Object.hasOwn(n,cn)&&(r=n[cn]),r==null&&(r=n[cn]=Qv++);let o=r&Jp,i=1<<o;t.data[e+(o>>eh)]|=i}function th(e,t){let n=nh(e,t);if(n!==-1)return n;let r=t[M];r.firstCreatePass&&(e.injectorIndex=t.length,Cl(r.data,e),Cl(t,null),Cl(r.blueprint,null));let o=Xl(e,t),i=e.injectorIndex;if(Xp(o)){let s=Es(o),a=Cs(o,t),c=a[M].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|c[s+l]}return t[i+8]=o,i}function Cl(e,t){e.push(0,0,0,0,0,0,0,0,t)}function nh(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Xl(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=ah(o),r===null)return cr;if(n++,o=o[Rt],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return cr}function Xv(e,t,n){Kv(e,t,n)}function rh(e,t,n){if(n&8||e!==void 0)return e;Yi(t,"NodeInjector")}function oh(e,t,n,r){if(n&8&&r===void 0&&(r=null),(n&3)===0){let o=e[mt],i=ve(void 0);try{return o?o.get(t,r,n&8):Bc(t,r,n&8)}finally{ve(i)}}return rh(r,t,n)}function ih(e,t,n,r=0,o){if(e!==null){if(t[N]&2048&&!(r&2)){let s=rD(e,t,n,r,nt);if(s!==nt)return s}let i=sh(e,t,n,r,nt);if(i!==nt)return i}return oh(t,n,r,o)}function sh(e,t,n,r,o){let i=tD(n);if(typeof i=="function"){if(!ul(t,e,r))return r&1?rh(o,n,r):oh(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&8))Yi(n);else return s}finally{dl()}}else if(typeof i=="number"){let s=null,a=nh(e,t),c=cr,l=r&1?t[Ie][we]:null;for((a===-1||r&4)&&(c=a===-1?Xl(e,t):t[a+8],c===cr||!Cp(r,!1)?a=-1:(s=t[M],a=Es(c),t=Cs(c,t)));a!==-1;){let u=t[M];if(Ep(i,a,u.data)){let d=Jv(a,t,n,s,r,l);if(d!==nt)return d}c=t[a+8],c!==cr&&Cp(r,t[M].data[a+8]===l)&&Ep(i,a,t)?(s=u,a=Es(c),t=Cs(c,t)):a=-1}}return o}function Jv(e,t,n,r,o,i){let s=t[M],a=s.data[e+8],c=r==null?yt(a)&&Nl:r!=s&&(a.type&3)!==0,l=o&1&&i===a,u=eD(a,s,n,c,l);return u!==null?Rl(t,s,u,a,o):nt}function eD(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,c=e.directiveStart,l=e.directiveEnd,u=i>>20,d=r?a:a+u,p=o?a+u:l;for(let f=d;f<p;f++){let g=s[f];if(f<c&&n===g||f>=c&&g.type===n)return f}if(o){let f=s[c];if(f&&mn(f)&&f.type===n)return c}return null}function Rl(e,t,n,r,o){let i=e[n],s=t.data;if(i instanceof uo){let a=i;if(a.resolving)throw Uc("");let c=ws(a.canSeeViewProviders);a.resolving=!0;let l=s[n].type||s[n],u,d=a.injectImpl?ve(a.injectImpl):null,p=ul(e,r,0);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&Bv(n,s[n],t)}finally{d!==null&&ve(d),ws(c),a.resolving=!1,dl()}}return i}function tD(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=Object.hasOwn(e,cn)?e[cn]:void 0;return typeof t=="number"?t>=0?t&Jp:nD:t}function Ep(e,t,n){let r=1<<e;return!!(n[t+(e>>eh)]&r)}function Cp(e,t){return!(e&2)&&!(e&1&&t)}var Ft=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return ih(this._tNode,this._lView,t,nn(r),n)}};function nD(){return new Ft(tt(),F())}function rD(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[N]&2048&&!or(s);){let a=sh(i,s,n,r|2,nt);if(a!==nt)return a;r&=-5;let c=i.parent;if(!c){let l=s[Wc];if(l){let u=l.get(n,nt,r);if(u!==nt)return u}c=ah(s),s=s[Rt]}i=c}return o}function ah(e){let t=e[M],n=t.type;return n===2?t.declTNode:n===1?e[we]:null}function Y(e){return{token:e.token,providedIn:e.autoProvided===!1?null:"root",factory:e.factory,value:void 0}}function oD(){return Jl(tt(),F())}function Jl(e,t){return new eu(Ge(e,t))}var eu=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=oD}return e})();function ch(e){return(e.flags&128)===128}var tu=(function(e){return e[e.OnPush=0]="OnPush",e[e.Eager=1]="Eager",e[e.Default=1]="Default",e})(tu||{}),lh=new Map,iD=0;function sD(){return iD++}function aD(e){lh.set(e[Qr],e)}function xl(e){lh.delete(e[Qr])}var wp="__ngContext__";function lr(e,t){xt(t)?(e[wp]=t[Qr],aD(t)):e[wp]=t}function uh(e){return fh(e[nr])}function dh(e){return fh(e[Pe])}function fh(e){for(;e!==null&&!ke(e);)e=e[Pe];return e}var Al;function nu(e){Al=e}function ph(){if(Al!==void 0)return Al;if(typeof document<"u")return document;throw new y(210,!1)}var hh="r";var gh="di";var mh=!1,yh=new E("",{factory:()=>mh});var Ip=new WeakMap;function cD(e,t){if(e==null||typeof e!="object")return;let n=Ip.get(e);n||(n=new WeakSet,Ip.set(e,n)),n.add(t)}var lD=(e,t,n,r)=>{};function uD(e,t,n,r){lD(e,t,n,r)}function ru(e){return(e.flags&32)===32}var dD=()=>null;function vh(e,t,n=!1){return dD(e,t,n)}function Dh(e,t){let n=e.contentQueries;if(n!==null){let r=b(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];ll(i),a.contentQueries(2,t[s],s)}}}finally{b(r)}}}function Ol(e,t,n){ll(0);let r=b(null);try{t(e,n)}finally{b(r)}}function Eh(e,t,n){if(Yc(t)){let r=b(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{b(r)}}}var Ze=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e[e.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",e})(Ze||{}),Is=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity}`}};function fo(e){return e instanceof Is?e.changingThisBreaksApplicationSecurity:e}function Ch(e,t){let n=wh(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${xc})`)}return n===t}function wh(e){return e instanceof Is&&e.getTypeName()||null}var fD=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Ih(e){return e=String(e),e.match(fD)?e:"unsafe:"+e}function pD(e,t){return e.createText(t)}function hD(e,t,n){e.setValue(t,n)}function bh(e,t,n){return e.createElement(t,n)}function En(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Sh(e,t,n){e.appendChild(t,n)}function bp(e,t,n,r,o){r!==null?En(e,t,n,r,o):Sh(e,t,n)}function Th(e,t,n,r){e.removeChild(null,t,n,r)}function gD(e,t,n){e.setAttribute(t,"style",n)}function mD(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function _h(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&Gv(e,t,r),o!==null&&mD(e,t,o),i!==null&&gD(e,t,i)}function ou(e){let t=yD();return t?t.sanitize(ts.URL,e)||"":Ch(e,"URL")?fo(e):Ih(Kn(e))}function yD(){let e=F();return e&&e[ze].sanitizer}function vD(e){return e instanceof Function?e():e}function DD(e,t,n){let r=e.length;for(;;){let o=e.indexOf(t,n);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}var Mh="ng-template";function ED(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&DD(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(iu(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 iu(e){return e.type===4&&e.value!==Mh}function CD(e,t,n){let r=e.type===4&&!n?Mh:e.value;return t===r}function wD(e,t,n){let r=4,o=e.attrs,i=o!==null?SD(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!We(r)&&!We(c))return!1;if(s&&We(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!CD(e,c,n)||c===""&&t.length===1){if(We(r))return!1;s=!0}}else if(r&8){if(o===null||!ED(e,o,c,n)){if(We(r))return!1;s=!0}}else{let l=t[++a],u=ID(c,o,iu(e),n);if(u===-1){if(We(r))return!1;s=!0;continue}if(l!==""){let d;if(u>i?d="":d=o[u+1].toLowerCase(),r&2&&l!==d){if(We(r))return!1;s=!0}}}}return We(r)||s}function We(e){return(e&1)===0}function ID(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 TD(t,e)}function bD(e,t,n=!1){for(let r=0;r<t.length;r++)if(wD(e,t[r],n))return!0;return!1}function SD(e){for(let t=0;t<e.length;t++){let n=e[t];if(qv(n))return t}return e.length}function TD(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 Sp(e,t){return e?":not("+t.trim()+")":t}function _D(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!==""&&!We(s)&&(t+=Sp(i,o),o=""),r=s,i=i||!We(r);n++}return o!==""&&(t+=Sp(i,o)),t}function MD(e){return e.map(_D).join(",")}function ND(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(!We(o))break;o=i}r++}return n.length&&t.push(1,...n),t}var Re={},rt=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})(rt||{}),RD;function su(e,t){return RD(e,t)}var au=new Set;var Ex=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";var Pl=new WeakMap;function Nh(e){return e?e[Rt]??e:null}var sr=new WeakSet;function xD(e,t,n){let r=Pl.get(e);if(!r||r.length===0)return;let o=t.parentNode,i=t.previousSibling,s=Nh(n);for(let a=r.length-1;a>=0;a--){let{el:c,declarationView:l}=r[a],u=c.parentNode;c===t?(r.splice(a,1),sr.add(c),c.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}}))):i&&c===i?(r.splice(a,1),c.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}})),c.parentNode?.removeChild(c)):u&&o&&u!==o&&(s===null||l===null||s===l)&&(r.splice(a,1),c.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}})),c.parentNode?.removeChild(c))}}function AD(e,t,n){let r=Nh(n),o=Pl.get(e);o?o.some(i=>i.el===t)||o.push({el:t,declarationView:r}):Pl.set(e,[{el:t,declarationView:r}])}var cu=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(cu||{}),jt=new E(""),Tp=new Set;function Sn(e){Tp.has(e)||(Tp.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var Rh=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=k({token:e,providedIn:"root",factory:()=>new e})}return e})();var kl=null,xh=null;function _p(e,t,n,r){kl?.maybeQueueEnterAnimation(e,t,n,r)}function Mp(e,t,n,r){kl===null?r(!1):kl.runLeaveAnimationsWithCallback(e,t,n,r)}function OD(e){xh?.initViewDetachAnimations(e)}function PD(e){xh?.clearViewDetachAnimations(e)}function ar(e,t,n,r,o,i,s,a){if(o!=null){let c,l=!1;ke(o)?c=o:xt(o)&&(l=!0,o=o[$e]);let u=de(o);e===0&&r!==null?(_p(a,r,i,n),s==null?Sh(t,r,u):En(t,r,u,s||null,!0)):e===1&&r!==null?(En(t,r,u,s||null,!0),xD(i,u,a),sr.has(u)||_p(a,r,i,n)):e===2?(a?.[Ff]?.leave?.has(i.index)&&AD(i,u,a),sr.delete(u),Mp(a,i,n,d=>{if(sr.has(u)){sr.delete(u);return}Th(t,u,l,d)})):e===3&&(sr.delete(u),Mp(a,i,n,()=>{t.destroyNode(u)})),c!=null&&WD(t,e,n,c,i,r,s)}}function kD(e,t){Ah(e,t),t[$e]=null,t[we]=null}function LD(e,t,n,r,o,i){r[$e]=o,r[we]=t,Fs(e,r,n,1,o,i)}function Ah(e,t){t[ze].changeDetectionScheduler?.notify(9),Fs(e,t,t[X],2,null,null)}function FD(e){let t=e[nr];if(!t)return wl(e[M],e);for(;t;){let n=null;if(xt(t))n=t[nr];else{let r=t[ee];r&&(n=r)}if(!n){for(;t&&!t[Pe]&&t!==e;)xt(t)&&wl(t[M],t),t=t[re];t===null&&(t=e),xt(t)&&wl(t[M],t),n=t&&t[Pe]}t=n}}function lu(e,t){let n=e[Jr],r=n.indexOf(t);n.splice(r,1)}function Ls(e,t){if(yn(t))return;let n=t[X];n.destroyNode&&Fs(e,t,n,3,null,null),FD(t)}function wl(e,t){if(yn(t))return;let n=b(null);try{t[N]&=-129,t[N]|=256,t[_e]&&Pr(t[_e]),UD(e,t),jD(e,t),t[M].type===1&&t[X].destroy();let r=t[fn];if(r!==null&&ke(t[re])){r!==t[re]&&lu(r,t);let o=t[hn];o!==null&&o.detachView(e)}xl(t)}finally{b(n)}}function jD(e,t){let n=e.cleanup,r=t[tr];if(n!==null)for(let s=0;s<n.length-1;s+=2)if(typeof n[s]=="string"){let a=n[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[n[s+1]];n[s].call(a)}r!==null&&(t[tr]=null);let o=t[ft];if(o!==null){t[ft]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[rr];if(i!==null){t[rr]=null;for(let s of i)s.destroy()}}function UD(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 uo)){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];$(U.LifecycleHookStart,a,c);try{c.call(a)}finally{$(U.LifecycleHookEnd,a,c)}}else{$(U.LifecycleHookStart,o,i);try{i.call(o)}finally{$(U.LifecycleHookEnd,o,i)}}}}}function BD(e,t,n){if(t===null)throw new y(510,!1);return VD(e,t.parent,n)}function VD(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[$e];if(yt(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===Ze.None||o===Ze.Emulated)return null}return Ge(r,n)}function HD(e,t,n){return zD(e,t,n)}function $D(e,t,n){return e.type&40?Ge(e,n):null}var zD=$D,Np;function uu(e,t,n,r){let o=BD(e,r,t),i=t[X],s=r.parent||t[we],a=HD(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)bp(i,o,n[c],a,!1);else bp(i,o,n,a,!1);Np!==void 0&&Np(i,r,t,n,o)}function co(e,t){if(t!==null){let n=t.type;if(n&3)return Ge(t,e);if(n&4)return Ll(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return co(e,r);{let o=e[t.index];return ke(o)?Ll(-1,o):de(o)}}else{if(n&128)return co(e,t.next);if(n&32)return su(t,e)()||de(e[t.index]);{let r=Oh(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=pt(e[Ie]);return co(o,r)}else return co(e,t.next)}}}return null}function Oh(e,t){if(t!==null){let r=e[Ie][we],o=t.projection;return r.projection[o]}return null}function Ll(e,t){let n=ee+e+1;if(n<t.length){let r=t[n],o=r[M].firstChild;if(o!==null)return co(r,o)}return t[gn]}function du(e,t,n,r,o,i,s){for(;n!=null;){let a=r[mt];if(n.type===128){n=n.next;continue}let c=r[n.index],l=n.type;if(s&&t===0&&(c&&lr(de(c),r),n.flags|=2),!ru(n))if(l&8)du(e,t,n.child,r,o,i,!1),ar(t,e,a,o,c,n,i,r);else if(l&32){let u=su(n,r),d;for(;d=u();)ar(t,e,a,o,d,n,i,r);ar(t,e,a,o,c,n,i,r)}else l&16?qD(e,t,r,n,o,i):ar(t,e,a,o,c,n,i,r);n=s?n.projectionNext:n.next}}function Fs(e,t,n,r,o,i){e.type===3?GD(n,r,t,o,i):du(n,r,e.firstChild,t,o,i,!1)}function GD(e,t,n,r,o){let s=n[M].firstChild,a=s.next,c=de(n[s.index]),l=de(n[a.index]),u=a.index+1,d=n[u];if(t===1||t===0)r!==null&&(d&&d.hasChildNodes()?En(e,r,d,o,!0):(En(e,r,c,o,!0),En(e,r,l,o,!0)));else if(t===2){if(d||(d=document.createDocumentFragment(),n[u]=d),c&&c.parentNode===d)return;let p=c;for(;p!==null;){let f=p.nextSibling;if(d.appendChild(p),p===l)break;p=f}}}function qD(e,t,n,r,o,i){let s=n[Ie],c=s[we].projection[r.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++){let u=c[l];ar(t,e,n[mt],o,u,r,i,n)}else{let l=c,u=s[re];ch(r)&&(l.flags|=128),du(e,t,l,u,o,i,!0)}}function WD(e,t,n,r,o,i,s){let a=r[gn],c=de(r);if(a!==c&&ar(t,e,n,i,a,o,s),(r[N]&4)===0)for(let l=ee;l<r.length;l++){let u=r[l];Fs(u[M],u,e,t,i,a)}}function ZD(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:rt.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=rt.Important),e.setStyle(n,r,o,i))}}function fu(e,t,n,r,o,i,s,a,c,l,u){let d=J+r,p=d+o,f=YD(d,p),g=typeof l=="function"?l():l;return f[M]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:p,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i=="function"?i():i,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:c,consts:g,incompleteFirstPass:!1,ssrId:u}}function YD(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:Re);return n}function QD(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=fu(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function pu(e,t,n,r,o,i,s,a,c,l,u){let d=t.blueprint.slice();return d[$e]=o,d[N]=r|4|128|8|64|1024,(l!==null||e&&e[N]&2048)&&(d[N]|=2048),Jc(d),d[re]=d[Rt]=e,d[W]=n,d[ze]=s||e&&e[ze],d[X]=a||e&&e[X],d[mt]=c||e&&e[mt]||null,d[we]=i,d[Qr]=sD(),d[er]=u,d[Wc]=l,d[Ie]=t.type==2?e[Ie]:d,d}function KD(e,t,n){let r=Ge(t,e),o=QD(n),i=e[ze].rendererFactory,s=hu(e,pu(e,o,null,Ph(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function Ph(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function kh(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 hu(e,t){return e[nr]?e[qc][Pe]=t:e[nr]=t,e[qc]=t,t}function L(e=1){Lh(Me(),F(),vt()+e,!1)}function Lh(e,t,n,r){if(!r)if((t[N]&3)===3){let i=e.preOrderCheckHooks;i!==null&&ms(t,i,n)}else{let i=e.preOrderHooks;i!==null&&ys(t,i,0,n)}Pt(n)}var js=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(js||{});function Fl(e,t,n,r){let o=b(null);try{let[i,s,a]=e.inputs[n],c=null;(s&js.SignalBased)!==0&&(c=t[i][Se]),c!==null&&c.transformFn!==void 0?r=c.transformFn(r):a!==null&&(r=a.call(t,r)),e.setInput!==null?e.setInput(t,c,r,n,i):Zp(t,c,i,r)}finally{b(o)}}function Fh(e,t,n,r,o){let i=vt(),s=r&2;try{Pt(-1),s&&t.length>J&&Lh(e,t,J,!1);let a=s?U.TemplateUpdateStart:U.TemplateCreateStart;$(a,o,n),n(r,o)}finally{Pt(i);let a=s?U.TemplateUpdateEnd:U.TemplateCreateEnd;$(a,o,n)}}function jh(e,t,n){oE(e,t,n),(n.flags&64)===64&&iE(e,t,n)}function gu(e,t,n=Ge){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 XD(e,t,n,r){let i=r.get(yh,mh)||n===Ze.ShadowDom||n===Ze.ExperimentalIsolatedShadowDom,s=e.selectRootElement(t,i);return JD(s),s}function JD(e){eE(e)}var eE=()=>null;function tE(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function nE(e,t,n,r,o,i){let s=t[M];if(mu(e,s,t,n,r)){yt(e)&&rE(t,e.index);return}e.type&3&&(n=tE(n)),Uh(e,t,n,r,o,i)}function Uh(e,t,n,r,o,i){if(e.type&3){let s=Ge(e,t);r=i!=null?i(r,e.value||"",n):r,r=Bh(n,s,r),o.setProperty(s,n,r)}else e.type&12}function Bh(e,t,n){return e==="src"&&(t.tagName==="IMG"||t.tagName==="VIDEO")?n==null?"":fo(n):n}function rE(e,t){let n=qe(t,e);n[N]&16||(n[N]|=64)}function oE(e,t,n){let r=n.directiveStart,o=n.directiveEnd;yt(n)&&KD(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||th(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=Rl(t,e,s,n);if(lr(c,t),i!==null&&uE(t,s-r,c,a,n,i),mn(a)){let l=qe(n.index,t);l[W]=Rl(t,e,s,n)}}}function iE(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=np();try{Pt(i);for(let a=r;a<o;a++){let c=e.data[a],l=t[a];as(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&sE(c,l)}}finally{Pt(-1),as(s)}}function sE(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function aE(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];bD(t,i.selectors,!1)&&(r??=[],mn(i)?r.unshift(i):r.push(i))}return r}function cE(e,t,n,r,o,i){let s=Ge(e,t);r=Bh(n,s,r),lE(t[X],s,i,e.value,n,r,o)}function lE(e,t,n,r,o,i,s){if(i==null)s?.(i,r||"",o),e.removeAttribute(t,o,n);else{let a=s==null?Kn(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function uE(e,t,n,r,o,i){let s=i[t];if(s!==null)for(let a=0;a<s.length;a+=2){let c=s[a],l=s[a+1];Fl(r,n,c,l)}}function Vh(e,t,n,r,o){let i=J+n,s=t[M],a=o(s,t,e,r,n);t[i]=a,ir(e,!0);let c=e.type===2;return c?(_h(t[X],a,e),(Gf()===0||es(e))&&lr(a,t),qf()):lr(a,t),ds()&&(!c||!ru(e))&&uu(s,t,a,e),e}function Hh(e){let t=e;return il()?Qf():(t=t.parent,ir(t,!1)),t}function dE(e,t){let n=e[mt];if(!n)return;let r;try{r=n.get(Ne,null)}catch{r=null}r?.(t)}function mu(e,t,n,r,o){let i=e.inputs?.[r],s=e.hostDirectiveInputs?.[r],a=!1;if(s)for(let c=0;c<s.length;c+=2){let l=s[c],u=s[c+1],d=t.data[l];Fl(d,n[l],u,o),a=!0}if(i)for(let c of i){let l=n[c],u=t.data[c];Fl(u,l,r,o),a=!0}return a}function fE(e,t){let n=qe(t,e),r=n[M];pE(r,n);let o=n[$e];o!==null&&n[er]===null&&(n[er]=vh(o,n[mt])),$(U.ComponentStart);try{yu(r,n,n[W])}finally{$(U.ComponentEnd,n[W])}}function pE(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function yu(e,t,n){cs(t);try{let r=e.viewQuery;r!==null&&Ol(1,r,n);let o=e.template;o!==null&&Fh(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[hn]?.finishViewCreation(e),e.staticContentQueries&&Dh(e,t),e.staticViewQueries&&Ol(2,e.viewQuery,n);let i=e.components;i!==null&&hE(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[N]&=-5,ls()}}function hE(e,t){for(let n=0;n<t.length;n++)fE(e,t[n])}function vu(e,t,n,r){let o=b(null);try{let i=t.tView,a=e[N]&4096?4096:16,c=pu(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),l=e[t.index];c[fn]=l;let u=e[hn];return u!==null&&(c[hn]=u.createEmbeddedView(i)),yu(i,c,n),c}finally{b(o)}}function po(e,t){return!t||t.firstChild===null||ch(e)}function ho(e,t,n,r,o=!1){if(e.type===3){let i=e.firstChild,s=i.next,a=de(t[i.index]),c=de(t[s.index]),l=a;for(;l!==null&&(r.push(l),l!==c);)l=l.nextSibling;return r}for(;n!==null;){if(n.type===128){n=o?n.projectionNext:n.next;continue}let i=t[n.index];if(i!==null)if(ke(i)){let a=i[gn];a!==i[$e]&&r.push(de(i)),i[N]&4||$h(i,r),r.push(a)}else r.push(de(i));let s=n.type;if(s&8)ho(e,t,n.child,r);else if(s&32){let a=su(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=Oh(t,n);if(Array.isArray(a))r.push(...a);else{let c=pt(t[Ie]);ho(c[M],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function $h(e,t){for(let n=ee;n<e.length;n++){let r=e[n],o=r[M].firstChild;o!==null&&ho(r[M],r,o,t)}}function zh(e){if(e[Ji]!==null){for(let t of e[Ji])t.impl.addSequence(t);e[Ji].length=0}}var Gh=[];function gE(e){return e[_e]??mE(e)}function mE(e){let t=Gh.pop()??Object.create(vE);return t.lView=e,t}function yE(e){e.lView[_e]!==e&&(e.lView=null,Gh.push(e))}var vE=G(m({},Ar),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{to(e.lView)},consumerOnSignalRead(){this.lView[_e]=this}});function DE(e){let t=e[_e]??Object.create(EE);return t.lView=e,t}var EE=G(m({},Ar),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=pt(e.lView);for(;t&&!qh(t[M]);)t=pt(t);t&&el(t)},consumerOnSignalRead(){this.lView[_e]=this}});function qh(e){return e.type!==2}function Wh(e){if(e[rr]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[rr])if(r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()),e[rr]===null))return;t=n&&!!(e[N]&8192)}}var CE=100;function Zh(e,t=0){let r=e[ze].rendererFactory,o=!1;o||r.begin?.();try{wE(e,t)}finally{o||r.end?.()}}function wE(e,t){let n=sl();try{al(!0),jl(e,t);let r=0;for(;eo(e);){if(r===CE)throw new y(103,!1);r++,jl(e,1)}}finally{al(n)}}function IE(e,t,n,r){if(yn(t))return;let o=t[N],i=!1,s=!1;cs(t);let a=!0,c=null,l=null;i||(qh(e)?(l=gE(t),c=Or(l)):ci()===null?(a=!1,l=DE(t),c=Or(l)):t[_e]&&(Pr(t[_e]),t[_e]=null));try{Jc(t),Jf(e.bindingStartIndex),n!==null&&Fh(e,t,n,2,r);let u=(o&3)===3;if(!i)if(u){let f=e.preOrderCheckHooks;f!==null&&ms(t,f,null)}else{let f=e.preOrderHooks;f!==null&&ys(t,f,0,null),El(t,0)}if(s||bE(t),Wh(t),Yh(t,0),e.contentQueries!==null&&Dh(e,t),!i)if(u){let f=e.contentCheckHooks;f!==null&&ms(t,f)}else{let f=e.contentHooks;f!==null&&ys(t,f,1),El(t,1)}TE(e,t);let d=e.components;d!==null&&Kh(t,d,0);let p=e.viewQuery;if(p!==null&&Ol(2,p,r),!i)if(u){let f=e.viewCheckHooks;f!==null&&ms(t,f)}else{let f=e.viewHooks;f!==null&&ys(t,f,2),El(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Xi]){for(let f of t[Xi])f();t[Xi]=null}i||(zh(t),t[N]&=-73)}catch(u){let d=!1,p=u,f=t;for(;f!==null;){if(ke(f)){f=f[re];continue}let g=f[Kr];if(g)try{let D=t[Ie][W],v=D?.constructor,_={declarationInstance:D,declarationType:v,caughtBy:g},S=b(null);try{g(pp(p),_)}finally{b(S)}d=!0;break}catch(D){p=D}f=f[re]}if(!d)throw i||to(t),p}finally{l!==null&&(ui(l,c),a&&yE(l)),ls()}}function Yh(e,t){for(let n=uh(e);n!==null;n=dh(n))for(let r=ee;r<n.length;r++){let o=n[r];Qh(o,t)}}function bE(e){for(let t=uh(e);t!==null;t=dh(t)){if(!(t[N]&2))continue;let n=t[Jr];for(let r=0;r<n.length;r++){let o=n[r];el(o)}}}function SE(e,t,n){$(U.ComponentStart);let r=qe(t,e);try{Qh(r,n)}finally{$(U.ComponentEnd,r[W])}}function Qh(e,t){os(e)&&jl(e,t)}function jl(e,t){let r=e[M],o=e[N],i=e[_e],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&di(i)),s||=!1,i&&(i.dirty=!1),e[N]&=-9217,s)IE(r,e,r.template,e[W]);else if(o&8192){let a=b(null);try{Wh(e),Yh(e,1);let c=r.components;c!==null&&Kh(e,c,1),zh(e)}finally{b(a)}}}function Kh(e,t,n){for(let r=0;r<t.length;r++)SE(e,t[r],n)}function TE(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)Pt(~o);else{let i=o,s=n[++r],a=n[++r];tp(s,i);let c=t[i];$(U.HostBindingsUpdateStart,c);try{a(2,c)}finally{$(U.HostBindingsUpdateEnd,c)}}}}finally{Pt(-1)}}function Du(e,t){let n=sl()?64:1088;for(e[ze].changeDetectionScheduler?.notify(t);e;){e[N]|=n;let r=pt(e);if(or(e)&&!r)return e;e=r}return null}function Xh(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function Jh(e,t){let n=ee+t;if(n<e.length)return e[n]}function Us(e,t,n,r=!0){let o=t[M];if(_E(o,t,e,n),r){let s=Ll(n,e),a=t[X],c=a.parentNode(e[gn]);c!==null&&LD(o,e[we],a,t,c,s)}let i=t[er];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function eg(e,t){let n=go(e,t);return n!==void 0&&Ls(n[M],n),n}function go(e,t){if(e.length<=ee)return;let n=ee+t,r=e[n];if(r){let o=r[fn];o!==null&&o!==e&&lu(o,r),t>0&&(e[n-1][Pe]=r[Pe]);let i=Wr(e,ee+t);kD(r[M],r);let s=i[hn];s!==null&&s.detachView(i[M]),r[re]=null,r[Pe]=null,r[N]&=-129}return r}function _E(e,t,n,r){let o=ee+r,i=n.length;r>0&&(n[o-1][Pe]=t),r<i-ee?(t[Pe]=n[o],Vc(n,ee+r,t)):(n.push(t),t[Pe]=null),t[re]=n;let s=t[fn];s!==null&&n!==s&&tg(s,t);let a=t[hn];a!==null&&a.insertView(e),is(t),t[N]|=128}function tg(e,t){let n=e[Jr],r=t[re];if(xt(r))e[N]|=2;else{let o=r[re][Ie];t[Ie]!==o&&(e[N]|=2)}n===null?e[Jr]=[t]:n.push(t)}var Cn=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let t=this._lView,n=t[M];return ho(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n}get context(){return this._lView[W]}set context(t){this._lView[W]=t}get destroyed(){return yn(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[re];if(ke(t)){let n=t[Xr],r=n?n.indexOf(this):-1;r>-1&&(go(t,r),Wr(n,r))}this._attachedToViewContainer=!1}Ls(this._lView[M],this._lView)}onDestroy(t){ss(this._lView,t)}markForCheck(){Du(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[N]&=-129}reattach(){is(this._lView),this._lView[N]|=128}detectChanges(){this._lView[N]|=1024,Zh(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new y(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=or(this._lView),n=this._lView[fn];n!==null&&!t&&lu(n,this._lView),Ah(this._lView[M],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new y(902,!1);this._appRef=t;let n=or(this._lView),r=this._lView[fn];r!==null&&!n&&tg(r,this._lView),is(this._lView)}};function Bs(e,t,n,r,o){let i=e.data[t];if(i===null)i=ME(e,t,n,r,o),ep()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=Yf();i.injectorIndex=s===null?-1:s.injectorIndex}return ir(i,!0),i}function ME(e,t,n,r,o){let i=ol(),s=il(),a=s?i:i&&i.parent,c=e.data[t]=RE(e,a,n,t,r,o);return NE(e,c,i,s),c}function NE(e,t,n,r){e.firstChild===null&&(e.firstChild=t),n!==null&&(r?n.child==null&&t.parent!==null&&(n.child=t):n.next===null&&(n.next=t,t.prev=n))}function RE(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return Zf()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,controlDirectiveIndex:-1,customControlIndex:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,namespace:fl(),attrs:i,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function xE(e){let t=e[Zc]??[],r=e[re][X],o=[];for(let i of t)i.data[gh]!==void 0?o.push(i):AE(i,r);e[Zc]=o}function AE(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[hh];for(;n<o;){let i=r.nextSibling;Th(t,r,!1),r=i,n++}}}var OE=()=>null,PE=()=>null;function Ul(e,t){return OE(e,t)}function ng(e,t,n){return PE(e,t,n)}var rg=class{},wn=class{};var og=(()=>{class e{static \u0275prov=k({token:e,providedIn:"root",factory:()=>null})}return e})();function ig(e){return e.debugInfo?.className||e.type.name||null}var vs={},bs=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){let o=this.injector.get(t,vs,r);return o!==vs||n===vs?o:this.parentInjector.get(t,n,r)}};function Vs(e,t,n){return e[t]=n}function sg(e,t){return e[t]}function ot(e,t,n){if(n===Re)return!1;let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function mo(e,t,n,r){let o=ot(e,t,n);return ot(e,t+1,r)||o}function kE(e,t,n,r,o,i){let s=mo(e,t,n,r);return mo(e,t+2,o,i)||s}function LE(e,t,n){return function r(o){let i=r.__ngNativeEl__;i!==void 0&&cD(o,i);let s=yt(e)?qe(e.index,t):t;Du(s,5);let a=t[W],c=Rp(t,a,n,o),l=r.__ngNextListenerFn__;for(;l;)c=Rp(t,a,l,o)&&c,l=l.__ngNextListenerFn__;return c}}function Rp(e,t,n,r){let o=b(null);try{return $(U.OutputStart,t,n),n(r)!==!1}catch(i){return dE(e,i),!1}finally{$(U.OutputEnd,t,n),b(o)}}function FE(e,t,n,r,o,i,s,a){let c=es(e),l=!1,u=null;if(!r&&c&&(u=UE(t,n,i,e.index)),u!==null){let d=u.__ngLastListenerFn__||u;d.__ngNextListenerFn__=s,u.__ngLastListenerFn__=s,l=!0}else{let d=Ge(e,n),p=r?r(d):d;uD(n,p,i,a),r||(a.__ngNativeEl__=d);let f=o.listen(p,i,a);if(!jE(i)){let g=r?D=>r(de(D[e.index])):e.index;BE(g,t,n,i,a,f,!1)}}return l}function jE(e){return e.startsWith("animation")||e.startsWith("transition")}function UE(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[tr],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function BE(e,t,n,r,o,i,s){let a=t.firstCreatePass?zf(t):null,c=$f(n),l=c.length;c.push(o,i),a&&a.push(r,e,l,(l+1)*(s?-1:1))}var Bl=Symbol("BINDING");var Tn=new E("");function Ss(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=Ac(o,a);else if(i==2){let c=a,l=t[++s];r=Ac(r,c+": "+l+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function dr(e,t=0){let n=F();if(n===null)return T(e,t);let r=tt();return ih(r,n,Te(e),t)}function VE(e,t,n,r,o){let i=r===null?null:{"":-1},s=o(e,n);if(s!==null){let a=s,c=null,l=null;for(let u of s)if(u.resolveHostDirectives!==null){[a,c,l]=u.resolveHostDirectives(s);break}zE(e,t,n,a,i,c,l)}i!==null&&r!==null&&HE(n,r,i)}function HE(e,t,n){let r=e.localNames=[];for(let o=0;o<t.length;o+=2){let i=n[t[o+1]];if(i==null)throw new y(-301,!1);r.push(t[o],i)}}function $E(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function zE(e,t,n,r,o,i,s){let a=r.length,c=null;for(let p=0;p<a;p++){let f=r[p];c===null&&mn(f)&&(c=f,$E(e,n,p)),Xv(th(n,t),e,f.type)}QE(n,e.data.length,a),c?.viewProvidersResolver&&c.viewProvidersResolver(c);for(let p=0;p<a;p++){let f=r[p];f.providersResolver&&f.providersResolver(f)}let l=!1,u=!1,d=kh(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let p=0;p<a;p++){let f=r[p];if(n.mergedAttrs=ks(n.mergedAttrs,f.hostAttrs),qE(e,n,t,d,f),YE(d,f,o),s!==null&&s.has(f)){let[D,v]=s.get(f);n.directiveToIndex.set(f.type,[d,D+n.directiveStart,v+n.directiveStart])}else(i===null||!i.has(f))&&n.directiveToIndex.set(f.type,d);f.contentQueries!==null&&(n.flags|=4),(f.hostBindings!==null||f.hostAttrs!==null||f.hostVars!==0)&&(n.flags|=64);let g=f.type.prototype;!l&&(g.ngOnChanges||g.ngOnInit||g.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),l=!0),!u&&(g.ngOnChanges||g.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),u=!0),d++}GE(e,n,i)}function GE(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let o=e.data[r];if(n===null||!n.has(o))xp(0,t,o,r),xp(1,t,o,r),Op(t,r,!1);else{let i=n.get(o);Ap(0,t,i,r),Ap(1,t,i,r),Op(t,r,!0)}}}function xp(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(Object.hasOwn(o,i)){let s;e===0?s=t.inputs??={}:s=t.outputs??={},s[i]??=[],s[i].push(r),ag(t,i)}}function Ap(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(Object.hasOwn(o,i)){let s=o[i],a;e===0?a=t.hostDirectiveInputs??={}:a=t.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,i),ag(t,s)}}function ag(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function Op(e,t,n){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!n&&o===null||n&&i===null||iu(e)){e.initialInputs??=[],e.initialInputs.push(null);return}let s=null,a=0;for(;a<r.length;){let c=r[a];if(c===0){a+=4;continue}else if(c===5){a+=2;continue}else if(typeof c=="number")break;if(!n&&Object.hasOwn(o,c)){let l=o[c];for(let u of l)if(u===t){s??=[],s.push(c,r[a+1]);break}}else if(n&&Object.hasOwn(i,c)){let l=i[c];for(let u=0;u<l.length;u+=2)if(l[u]===t){s??=[],s.push(l[u+1],r[a+1]);break}}a+=2}e.initialInputs??=[],e.initialInputs.push(s)}function qE(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=rn(o.type,!0)),s=new uo(i,mn(o),dr,null);e.blueprint[r]=s,n[r]=s,WE(e,t,r,kh(e,n,o.hostVars,Re),o)}function WE(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;ZE(s)!=a&&s.push(a),s.push(n,r,i)}}function ZE(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function YE(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;mn(t)&&(n[""]=e)}}function QE(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function cg(e,t,n,r,o,i,s,a){let c=t[M],l=c.consts,u=et(l,s),d=Bs(c,e,n,r,u);return i&&VE(c,t,d,et(l,a),o),d.mergedAttrs=ks(d.mergedAttrs,d.attrs),d.attrs!==null&&Ss(d,d.attrs,!1),d.mergedAttrs!==null&&Ss(d,d.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,d),d}function lg(e,t){Vv(e,t),Yc(t)&&e.queries.elementEnd(t)}function KE(e,t,n,r,o,i){let s=t.consts,a=et(s,o),c=Bs(t,e,n,r,a);if(c.mergedAttrs=ks(c.mergedAttrs,c.attrs),i!=null){let l=et(s,i);c.localNames=[];for(let u=0;u<l.length;u+=2)c.localNames.push(l[u],-1)}return c.attrs!==null&&Ss(c,c.attrs,!1),c.mergedAttrs!==null&&Ss(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}var ug=typeof ShadowRoot<"u",XE=typeof Document<"u";function JE(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&js.SignalBased)!==0};return o&&(i.transform=o),i})}function eC(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function tC(e,t,n){let r=t instanceof K?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new bs(n,r):n}function nC(e){let t=e.get(wn,null);if(t===null)throw new y(407,!1);let n=e.get(og,null),r=e.get(sn,null),o=e.get(jt,null,{optional:!0});return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r,ngReflect:!1,tracingService:o}}function rC(e,t,n){let r=dg(e);return bh(t,r,r==="svg"?Qc:r==="math"?Uf:n)}function oC(e){if((e&&"localName"in e&&typeof e.localName=="string"?e.localName:e?.tagName)?.toLowerCase()==="script")throw new y(905,!1)}function dg(e){return(e.selectors[0][0]||"div").toLowerCase()}var yo=class{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=JE(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=eC(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=MD(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o,i,s,a,c){$(U.DynamicComponentStart);let l=b(null);try{let u=this.componentDef,d=tC(u,o||this.ngModule,t),p=nC(d),f=p.tracingService;return f&&f.componentCreate?f.componentCreate(ig(u),()=>this.createComponentRef(p,d,n,r,i,s,a,c)):this.createComponentRef(p,d,n,r,i,s,a,c)}finally{b(l)}}createComponentRef(t,n,r,o,i,s,a,c){let l=this.componentDef,u=iC(o,l,s,i,c),d=t.rendererFactory.createRenderer(null,l),p=o?XD(d,o,l.encapsulation,n):rC(l,d,a??null);oC(p);let f=n.get(Tn,null),g=sC(p,()=>n.get(Z,null)??ph());f&&f.addHost(g);let D=s?.some(Pp)||i?.some(S=>typeof S!="function"&&S.bindings.some(Pp)),v=pu(null,u,null,512|Ph(l),null,null,t,d,n,null,vh(p,n,!0));f&&ug&&g instanceof ShadowRoot&&ss(v,()=>{f.removeHost(g)}),v[J]=p,cs(v);let _=null;try{let S=cg(J,v,2,"#host",()=>u.directiveRegistry,!0,0);_h(d,p,S),lr(p,v),jh(u,v,S),Eh(u,S,v),lg(u,S),r!==void 0&&cC(S,this.ngContentSelectors,r),_=qe(S.index,v),v[W]=_[W],yu(u,v,null)}catch(S){throw _!==null&&xl(_),xl(v),S}finally{$(U.DynamicComponentEnd),ls()}return new Ts(this.componentType,v,!!D)}};function iC(e,t,n,r,o){let i=e?["ng-version","22.2.3"]:ND(t.selectors[0]),s=null,a=null,c=0;if(n)for(let d of n)c+=d[Bl].requiredVars,d.create&&(d.targetIdx=0,(s??=[]).push(d)),d.update&&(d.targetIdx=0,(a??=[]).push(d));if(r)for(let d=0;d<r.length;d++){let p=r[d];if(typeof p!="function")for(let f of p.bindings){c+=f[Bl].requiredVars;let g=d+1;f.create&&(f.targetIdx=g,(s??=[]).push(f)),f.update&&(f.targetIdx=g,(a??=[]).push(f))}}let l=[t];if(r)for(let d of r){let p=typeof d=="function"?d:d.type,f=Wi(p);l.push(f)}return fu(0,null,aC(s,a),1,c,l,null,null,null,[i],null)}function sC(e,t){let n=e.getRootNode?.();return XE&&n instanceof Document?n.head:n&&ug&&n instanceof ShadowRoot?n:t().head}function aC(e,t){return!e&&!t?null:n=>{if(n&1&&e)for(let r of e)r.create();if(n&2&&t)for(let r of t)r.update()}}function Pp(e){let t=e[Bl].kind;return t==="input"||t==="twoWay"}var Ts=class extends rg{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=ns(n[M],J),this.location=Jl(this._tNode,n),this.instance=qe(this._tNode.index,n)[W],this.hostView=this.changeDetectorRef=new Cn(n,void 0),this.componentType=t}setInput(t,n){this._hasInputBindings;let r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let o=this._rootLView,i=mu(r,o[M],o,t,n);this.previousInputValues.set(t,n);let s=qe(r.index,o);Du(s,1)}get injector(){return new Ft(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function cC(e,t,n){let r=e.projection=[];for(let o=0;o<t.length;o++){let i=n[o];r.push(i!=null&&i.length?Array.from(i):null)}}var Eo=(()=>{class e{static __NG_ELEMENT_ID__=lC}return e})();function lC(){let e=tt();return uC(e,F())}var Vl=class e extends Eo{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Jl(this._hostTNode,this._hostLView)}get injector(){return new Ft(this._hostTNode,this._hostLView)}get parentInjector(){let t=Xl(this._hostTNode,this._hostLView);if(Xp(t)){let n=Cs(t,this._hostLView),r=Es(t),o=n[M].data[r+8];return new Ft(o,n)}else return new Ft(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=kp(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-ee}createEmbeddedView(t,n,r){let o,i,s;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector,s=r.onError);let a=Ul(this._lContainer,t.ssrId),c=t.createEmbeddedViewImpl(n||{},i,a);return s&&(c._lView[Kr]=s),this.insertImpl(c,o,po(this._hostTNode,a)),c}createComponent(t,n,r,o,i,s,a){let c,l,u=n||{};c=u.index,r=u.injector,o=u.projectableNodes,i=u.environmentInjector||u.ngModuleRef,s=u.directives,a=u.bindings,l=u.onError;let d=new yo(ln(t)),p=r||this.parentInjector;if(!i&&d.ngModule==null){let S=this.parentInjector.get(K,null);S&&(i=S)}let f=ln(d.componentType??{}),g=Ul(this._lContainer,f?.id??null),D=g?.firstChild??null,v=d.create(p,o,D,i,s,a,this._getHostElementNamespace());return l&&(v.hostView._lView[Kr]=l),this.insertImpl(v.hostView,c,po(this._hostTNode,g)),v}_getHostElementNamespace(){if(this._hostTNode.type&2){let t=this._hostTNode.parent??this._hostLView[we];return t!==null&&t.type&2&&typeof t.value=="string"&&t.value.toLowerCase()==="foreignobject"?null:t?.namespace??null}return this._hostTNode.namespace}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(Bf(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[re],l=new e(c,c[we],c[re]);l.detach(l.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return Us(s,o,i,r),t.attachToViewContainerRef(),Vc(Il(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=kp(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=go(this._lContainer,n);r&&(Wr(Il(this._lContainer),n),Ls(r[M],r))}detach(t){let n=this._adjustIndex(t,-1),r=go(this._lContainer,n);return r&&Wr(Il(this._lContainer),n)!=null?new Cn(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function kp(e){return e[Xr]}function Il(e){return e[Xr]||(e[Xr]=[])}function uC(e,t){let n,r=t[e.index];return ke(r)?n=r:(n=Xh(r,t,null,e),t[e.index]=n,hu(t,n)),fC(n,t,e,r),new Vl(n,e,t)}function dC(e,t){let n=e[X],r=n.createComment(""),o=Ge(t,e),i=n.parentNode(o);return En(n,i,r,n.nextSibling(o),!1),r}var fC=gC,pC=()=>!1;function hC(e,t,n){return pC(e,t,n)}function gC(e,t,n,r){if(e[gn])return;let o;n.type&8?o=de(r):o=dC(t,n),e[gn]=o}function _n(e){return!!e&&typeof e.then=="function"}function Hs(e){return!!e&&typeof e.subscribe=="function"}var In=class{},$s=class{};var _s=class extends In{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=bf(t);this._bootstrapComponents=vD(i.bootstrap),this._r3Injector=pl(t,n,[{provide:In,useValue:this},...r],Gr(t),new Set(["environment"])),o&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},Ms=class extends $s{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new _s(this.moduleType,t,[])}};var vo=class extends In{injector;instance=null;constructor(t){super();let n=new on([...t.providers,{provide:In,useValue:this}],t.parent||Yr(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Co(e,t,n=null){return new vo({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var mC=(()=>{class e{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=zc(!1,n.type),o=r.length>0?Co([r],this._injector,""):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=k({token:e,providedIn:"environment",factory:()=>new e(T(K))})}return e})();function Mn(e){return Kl(()=>{let t=fg(e),n=G(m({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection!==tu.Eager,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(mC).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Ze.Emulated,styles:e.styles||Nt,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&Sn("NgStandalone"),pg(n);let r=e.dependencies;return n.directiveDefs=Lp(r,yC),n.pipeDefs=Lp(r,Sf),n.id=EC(n),n})}function yC(e){return ln(e)||Wi(e)}function vC(e,t){if(e==null)return dn;let n={};for(let r in e)if(Object.hasOwn(e,r)){let o=e[r],i,s,a,c;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i,c=o[3]||null):(i=o,s=o,a=js.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function DC(e){if(e==null)return dn;let t={};for(let n in e)Object.hasOwn(e,n)&&(t[e[n]]=n);return t}function zs(e){return Kl(()=>{let t=fg(e);return pg(t),t})}function Gs(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 fg(e){let t={};return{type:e.type,providersResolver:null,viewProvidersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputConfig:e.inputs||dn,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||Nt,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,controlDef:null,signalFormsInputPresence:null,inputs:vC(e.inputs,t),outputs:DC(e.outputs),debugInfo:null}}function pg(e){e.features?.forEach(t=>t(e))}function Lp(e,t){return e?()=>{let n=typeof e=="function"?e():e,r=[];for(let o of n){let i=t(o);i!==null&&r.push(i)}return r}:null}function EC(e){let t=0,n=typeof e.consts=="function"?"":e.consts,r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,n,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(let i of r.join("|"))t=Math.imul(31,t)+i.charCodeAt(0)<<0;return t+=2147483648,"c"+t}var hg=new E("");var Eu=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=h(hg,{optional:!0})??[];injector=h(Je);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=se(this.injector,o);if(_n(i))n.push(i);else if(Hs(i)){let s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});n.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),n.length===0&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=Y({token:e,factory:e.\u0275fac})}return e})();function CC(e,t,n,r,o,i,s,a){if(n.firstCreatePass){e.mergedAttrs=ks(e.mergedAttrs,e.attrs);let u=e.tView=fu(2,e,o,i,s,n.directiveRegistry,n.pipeRegistry,null,n.schemas,n.consts,null);n.queries!==null&&(n.queries.template(n,e),u.queries=n.queries.embeddedTView(e))}a&&(e.flags|=a),ir(e,!1);let c=wC(n,t,e,r);ds()&&uu(n,t,c,e),lr(c,t);let l=Xh(c,t,c,e);t[r+J]=l,hu(t,l),hC(l,e,t)}function Ns(e,t,n,r,o,i,s,a,c,l,u){let d=n+J,p;if(t.firstCreatePass){if(p=Bs(t,d,4,s||null,a||null),l!=null){let f=et(t.consts,l);p.localNames=[];for(let g=0;g<f.length;g+=2)p.localNames.push(f[g],-1)}}else p=t.data[d];return CC(p,e,t,n,r,o,i,c),l!=null&&gu(e,p,u),p}var wC=IC;function IC(e,t,n,r){return fs(!0),t[X].createComment("")}var Cu=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=k({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();var wu=new E("");var qs=new E("");function gg(){ec(e=>{let t="";throw new y(-600,t)})}var bC=10;var fr=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=h(Ne);afterRenderManager=h(Rh);zonelessEnabled=h(so);rootEffectScheduler=h(Dl);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new q;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=h(Dt);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(z(n=>!n))}constructor(){h(jt,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=h(K);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=Je.NULL){return this._injector.get(pe).run(()=>{if($(U.BootstrapComponentStart),!this._injector.get(Eu).done){let _="";throw new y(405,_)}let a=ln(n),c=this._injector.get(In),l=new yo(a,c);this.componentTypes.push(n);let{hostElement:u,directives:d,bindings:p}=SC(r),f=u||l.selector,g=l.create(o,[],f,c.injector,d,p),D=g.location.nativeElement,v=g.injector.get(wu,null);return v?.registerApplication(D),g.onDestroy(()=>{this.detachView(g.hostView),lo(this.components,g),v?.unregisterApplication(D)}),this._loadComponent(g),$(U.BootstrapComponentEnd,g),g})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){$(U.ChangeDetectionStart),this.tracingSnapshot!==null?this.tracingSnapshot.run(cu.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw $(U.ChangeDetectionEnd),new y(101,!1);let n=b(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,b(n),this.afterTick.next(),$(U.ChangeDetectionEnd)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(wn,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<bC;){$(U.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{$(U.ChangeDetectionSyncEnd)}}}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let n=!1;if(this.dirtyFlags&7){let r=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:o}of this.allViews){if(!r&&!eo(o))continue;let i=r&&!this.zonelessEnabled?0:1;Zh(o,i),n=!0}if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}n||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>eo(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){let r=n;lo(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView);try{this.tick()}catch(o){this.internalErrorHandler(o)}this.components.push(n),this._injector.get(qs,[]).forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>lo(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}static \u0275fac=function(r){return new(r||e)};static \u0275prov=Y({token:e,factory:e.\u0275fac})}return e})();function SC(e){return e===void 0||typeof e=="string"||e instanceof Element?{hostElement:e}:e}function lo(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function wo(e,t,n,r){let o=F(),i=vn();if(ot(o,i,t)){let s=Me(),a=us();cE(a,o,e,t,n,r)}return wo}var Hl=class{destroy(t){}updateValue(t,n){}swap(t,n){let r=Math.min(t,n),o=Math.max(t,n),i=this.detach(o);if(o-r>1){let s=this.detach(r);this.attach(r,i),this.attach(o,s)}else this.attach(r,i)}move(t,n){this.attach(n,this.detach(t))}};function bl(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function TC(e,t,n,r){let o,i,s=0,a=e.length-1,c=void 0;if(Array.isArray(t)){b(r);let l=t.length-1;for(b(null);s<=a&&s<=l;){let u=e.at(s),d=t[s],p=bl(s,u,s,d,n);if(p!==0){p<0&&e.updateValue(s,d),s++;continue}let f=e.at(a),g=t[l],D=bl(a,f,l,g,n);if(D!==0){D<0&&e.updateValue(a,g),a--,l--;continue}let v=n(s,u),_=n(a,f),S=n(s,d);if(Object.is(S,_)){let oe=n(l,g);Object.is(oe,v)?(e.swap(s,a),e.updateValue(a,g),l--,a--):e.move(a,s),e.updateValue(s,d),s++;continue}if(o??=new Rs,i??=jp(e,s,a,n),$l(e,o,s,S))e.updateValue(s,d),s++,a++;else if(i.has(S))o.set(v,e.detach(s)),a--;else{let oe=e.create(s,t[s]);e.attach(s,oe),s++,a++}}for(;s<=l;)Fp(e,o,n,s,t[s]),s++}else if(t!=null){b(r);let l=t[Symbol.iterator]();b(null);let u=l.next();for(;!u.done&&s<=a;){let d=e.at(s),p=u.value,f=bl(s,d,s,p,n);if(f!==0)f<0&&e.updateValue(s,p),s++,u=l.next();else{o??=new Rs,i??=jp(e,s,a,n);let g=n(s,p);if($l(e,o,s,g))e.updateValue(s,p),s++,a++,u=l.next();else if(!i.has(g))e.attach(s,e.create(s,p)),s++,a++,u=l.next();else{let D=n(s,d);o.set(D,e.detach(s)),a--}}}for(;!u.done;)Fp(e,o,n,e.length,u.value),u=l.next()}for(;s<=a;)e.destroy(e.detach(a--));o?.forEach(l=>{e.destroy(l)})}function $l(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function Fp(e,t,n,r,o){if($l(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function jp(e,t,n,r){let o=new Set;for(let i=t;i<=n;i++)o.add(r(i,e.at(i)));return o}var Rs=class{kvMap=new Map;_vMap=void 0;has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let n=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),t(r,n)}}};function Io(e,t,n,r,o,i,s,a){Sn("NgControlFlow");let c=F(),l=Me(),u=et(l.consts,i);return Ns(c,l,e,t,n,r,o,u,256,s,a),pr}function pr(e,t,n,r,o,i,s,a){return Sn("NgControlFlow"),_C(e,t,n,r,o,i,s,a),pr}function _C(e,t,n,r,o,i,s,a){let c=F(),l=Me(),u=et(l.consts,i);Ns(c,l,e,t,n,r,o,u,512,s,a)}function bo(e,t){Sn("NgControlFlow");let n=F(),r=vn(),o=n[r]!==Re?n[r]:-1,i=o!==-1?xs(n,J+o):void 0,s=0;if(ot(n,r,e)){let a=b(null);try{if(i!==void 0&&eg(i,s),e!==-1){let c=J+e,l=xs(n,c),u=Wl(n[M],c),d=ng(l,u,n),p=vu(n,u,t,{dehydratedView:d});Us(l,p,s,po(u,d))}}finally{b(a)}}else if(i!==void 0){let a=Jh(i,s);a!==void 0&&(a[W]=t)}}var zl=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-ee}};var Gl=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function So(e,t,n,r,o,i,s,a,c,l,u,d,p){Sn("NgControlFlow");let f=F(),g=Me(),D=c!==void 0,v=F(),_=a?s.bind(v[Ie][W]):s,S=new Gl(D,_);v[J+e]=S,Ns(f,g,e+1,t,n,r,o,et(g.consts,i),256),D&&Ns(f,g,e+2,c,l,u,d,et(g.consts,p),512)}var ql=class extends Hl{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r}get length(){return this.lContainer.length-ee}at(t){return this.getLView(t)[W].$implicit}attach(t,n){let r=n[er];this.needsIndexUpdate||=t!==this.length,Us(this.lContainer,n,t,po(this.templateTNode,r)),MC(this.lContainer,t)}detach(t){return this.needsIndexUpdate||=t!==this.length-1,NC(this.lContainer,t),RC(this.lContainer,t)}create(t,n){let r=Ul(this.lContainer,this.templateTNode.tView.ssrId);return vu(this.hostLView,this.templateTNode,new zl(this.lContainer,n,t),{dehydratedView:r})}destroy(t){Ls(t[M],t)}updateValue(t,n){this.getLView(t)[W].$implicit=n}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[W].$index=t}getLView(t){return xC(this.lContainer,t)}};function To(e){let t=b(null),n=vt();try{let r=F(),o=r[M],i=r[n],s=n+1,a=xs(r,s);if(i.liveCollection===void 0){let l=Wl(o,s);i.liveCollection=new ql(a,r,l)}else i.liveCollection.reset();let c=i.liveCollection;if(TC(c,e,i.trackByFn,t),c.updateIndexes(),i.hasEmptyBlock){let l=vn(),u=c.length===0;if(ot(r,l,u)){let d=n+2,p=xs(r,d);if(u){let f=Wl(o,d),g=ng(p,f,r),D=vu(r,f,void 0,{dehydratedView:g});Us(p,D,0,po(f,g))}else o.firstUpdatePass&&xE(p),eg(p,0)}}}finally{b(t)}}function xs(e,t){return e[t]}function MC(e,t){if(e.length<=ee)return;let n=ee+t,r=e[n];r&&PD(r)}function NC(e,t){if(e.length<=ee)return;let n=ee+t,r=e[n];r&&OD(r)}function RC(e,t){return go(e,t)}function xC(e,t){return Jh(e,t)}function Wl(e,t){return ns(e,t)}function Ws(e,t,n){let r=F(),o=vn();if(ot(r,o,t)){let i=Me(),s=us();nE(s,r,e,t,r[X],n)}return Ws}function Up(e,t,n,r,o){mu(t,e,n,o?"class":"style",r)}function te(e,t,n,r){let o=F(),i=o[M],s=e+J,a=i.firstCreatePass?cg(s,o,2,t,aE,Wf(),n,r):i.data[s];if(yt(a)){let c=o[ze].tracingService;if(c&&c.componentCreate){let l=i.data[a.directiveStart+a.componentOffset];return c.componentCreate(ig(l),()=>(Bp(e,t,o,a,r),te))}}return Bp(e,t,o,a,r),te}function Bp(e,t,n,r,o){if(Vh(r,n,e,t,mg),es(r)){let i=n[M];jh(i,n,r),Eh(i,r,n)}o!=null&&gu(n,r)}function he(){let e=Me(),t=tt(),n=Hh(t);return e.firstCreatePass&&lg(e,n),nl(n)&&rl(),tl(),n.classesWithoutHost!=null&&$v(n)&&Up(e,n,F(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&zv(n)&&Up(e,n,F(),n.stylesWithoutHost,!1),he}function ge(e,t,n,r){return te(e,t,n,r),he(),ge}function C(e,t,n,r){let o=F(),i=o[M],s=e+J,a=i.firstCreatePass?KE(s,i,2,t,n,r):i.data[s];return Vh(a,o,e,t,mg),r!=null&&gu(o,a),C}function w(){let e=tt(),t=Hh(e);return nl(t)&&rl(),tl(),w}function Ut(e,t,n,r){return C(e,t,n,r),w(),Ut}var mg=(e,t,n,r,o)=>(fs(!0),bh(t[X],r,fl()));function Zs(){return F()}function Ys(e,t,n){let r=F(),o=vn();if(ot(r,o,t)){let i=Me(),s=us();Uh(s,r,e,t,r[X],n)}return Ys}var ao=void 0;function AC(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var OC=["en",[["a","p"],["AM","PM"]],[["AM","PM"]],[["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"]],ao,[["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"]],ao,[["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\u202Fa","h:mm:ss\u202Fa","h:mm:ss\u202Fa z","h:mm:ss\u202Fa zzzz"],["{1}, {0}",ao,ao,ao],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",AC],Sl=Object.create(null);function Qs(e){let t=PC(e),n=Vp(t);if(n)return n;let r=t.split("-")[0];if(n=Vp(r),n)return n;if(r==="en")return OC;throw new y(701,!1)}function Vp(e){if(!(e in Sl)){let t=un.ng&&un.ng.common&&un.ng.common.locales&&un.ng.common.locales[e];return t!==void 0&&(Sl[e]=t),t}return Sl[e]}var hr={LocaleId:0,DayPeriodsFormat:1,DayPeriodsStandalone:2,DaysFormat:3,DaysStandalone:4,MonthsFormat:5,MonthsStandalone:6,Eras:7,FirstDayOfWeek:8,WeekendRange:9,DateFormat:10,TimeFormat:11,DateTimeFormat:12,NumberSymbols:13,NumberFormats:14,CurrencyCode:15,CurrencySymbol:16,CurrencyName:17,Currencies:18,Directionality:19,PluralCase:20,ExtraData:21};function PC(e){return e.toLowerCase().replace(/_/g,"-")}var _o="en-US";var kC=_o;function yg(e){typeof e=="string"&&(kC=e.toLowerCase().replace(/_/g,"-"))}function Bt(e,t,n){let r=F(),o=Me(),i=tt();return(i.type&3||n)&&FE(i,o,r,n,r[X],e,t,LE(i,r,t)),Bt}function it(e=1){return ap(e)}function Iu(e){let t=Kf();return rs(t,J+e)}function gs(e,t){return e<<17|t<<2}function bn(e){return e>>17&32767}function LC(e){return(e&2)==2}function FC(e,t){return e&131071|t<<17}function Zl(e){return e|2}function ur(e){return(e&131068)>>2}function Tl(e,t){return e&-131069|t<<2}function jC(e){return(e&1)===1}function Yl(e){return e|1}function UC(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=bn(s),c=ur(s);e[r]=n;let l=!1,u;if(Array.isArray(n)){let d=n;u=d[1],(u===null||Xn(d,u)>0)&&(l=!0)}else u=n;if(o)if(c!==0){let p=bn(e[a+1]);e[r+1]=gs(p,a),p!==0&&(e[p+1]=Tl(e[p+1],r)),e[a+1]=FC(e[a+1],r)}else e[r+1]=gs(a,0),a!==0&&(e[a+1]=Tl(e[a+1],r)),a=r;else e[r+1]=gs(c,0),a===0?a=r:e[c+1]=Tl(e[c+1],r),c=r;l&&(e[r+1]=Zl(e[r+1])),Hp(e,u,r,!0),Hp(e,u,r,!1),BC(t,u,e,r,i),s=gs(a,c),i?t.classBindings=s:t.styleBindings=s}function BC(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&Xn(i,t)>=0&&(n[r+1]=Yl(n[r+1]))}function Hp(e,t,n,r){let o=e[n+1],i=t===null,s=r?bn(o):ur(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],l=e[s+1];VC(c,t)&&(a=!0,e[s+1]=r?Yl(l):Zl(l)),s=r?bn(l):ur(l)}a&&(e[n+1]=r?Zl(o):Yl(o))}function VC(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Xn(e,t)>=0:!1}function gr(e,t,n){return vg(e,t,n,!1),gr}function Ks(e,t){return vg(e,t,null,!0),Ks}function vg(e,t,n,r){let o=F(),i=Me(),s=cl(2);if(i.firstUpdatePass&&$C(i,e,s,r),t!==Re&&ot(o,s,t)){let a=i.data[vt()];ZC(i,a,o,o[X],e,o[s+1]=YC(t,n),r,s)}}function HC(e,t){return t>=e.expandoStartIndex}function $C(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[vt()],s=HC(e,n);QC(i,r)&&t===null&&!s&&(t=!1),t=zC(o,i,t,r),UC(o,i,t,n,s,r)}}function zC(e,t,n,r){let o=rp(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=_l(null,e,t,n,r),n=Do(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=_l(o,e,t,n,r),i===null){let c=GC(e,t,r);c!==void 0&&Array.isArray(c)&&(c=_l(null,e,t,c[1],r),c=Do(c,t.attrs,r),qC(e,t,r,c))}else i=WC(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function GC(e,t,n){let r=n?t.classBindings:t.styleBindings;if(ur(r)!==0)return e[bn(r)]}function qC(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[bn(o)]=r}function WC(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=Do(r,s,n)}return Do(r,t.attrs,n)}function _l(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=Do(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function Do(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]),Rf(e,s,n?!0:t[++i]))}return e===void 0?null:e}function ZC(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,l=c[a+1],u=jC(l)?$p(c,t,n,o,ur(l),s):void 0;if(!As(u)){As(i)||LC(l)&&(i=$p(c,null,n,o,a,s));let d=Kc(vt(),n);ZD(r,s,d,o,i)}}function $p(e,t,n,r,o,i){let s=t===null,a;for(;o>0;){let c=e[o],l=Array.isArray(c),u=l?c[1]:c,d=u===null,p=n[o+1];p===Re&&(p=d?Nt:void 0);let f=d?Ki(p,r):u===r?p:void 0;if(l&&!As(f)&&(f=Ki(c,r)),As(f)&&(a=f,s))return a;let g=e[o+1];o=s?bn(g):ur(g)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=Ki(c,r))}return a}function As(e){return e!==void 0}function YC(e,t){return e==null||e===""||(typeof t=="string"?e=fo(e)+t:typeof e=="object"&&(e=Gr(fo(e)))),e}function QC(e,t){return(e.flags&(t?8:16))!==0}function I(e,t=""){let n=F(),r=Me(),o=e+J,i=r.firstCreatePass?Bs(r,o,1,t,null):r.data[o],s=KC(r,n,i,t);n[o]=s,ds()&&uu(r,n,s,i),ir(i,!1)}var KC=(e,t,n,r)=>(fs(!0),pD(t[X],r));function XC(e,t,n,r=""){return ot(e,vn(),n)?t+Kn(n)+r:Re}function JC(e,t,n,r,o,i=""){let s=Xf(),a=mo(e,s,n,o);return cl(2),a?t+Kn(n)+r+Kn(o)+i:Re}function Le(e){return me("",e),Le}function me(e,t,n){let r=F(),o=XC(r,e,t,n);return o!==Re&&Dg(r,vt(),o),me}function Xs(e,t,n,r,o){let i=F(),s=JC(i,e,t,n,r,o);return s!==Re&&Dg(i,vt(),s),Xs}function Dg(e,t,n){let r=Kc(t,e);hD(e[X],r,n)}function Vt(e,t){let n=no()+e,r=F();return r[n]===Re?Vs(r,n,t()):sg(r,n)}function bu(e,t,n,r,o,i,s,a){let c=no()+e,l=F(),u=kE(l,c,n,r,o,i);return mo(l,c+4,s,a)||u?Vs(l,c+6,t(n,r,o,i,s,a)):sg(l,c+6)}function Eg(e,t){let n=e[t];return n===Re?void 0:n}function ew(e,t,n,r,o,i){let s=t+n;return ot(e,s,o)?Vs(e,s+1,i?r.call(i,o):r(o)):Eg(e,s+1)}function tw(e,t,n,r,o,i,s){let a=t+n;return mo(e,a,o,i)?Vs(e,a+2,s?r.call(s,o,i):r(o,i)):Eg(e,a+2)}function Ht(e,t){let n=Me(),r,o=e+J;n.firstCreatePass?(r=nw(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=rn(r.type,!0)),s,a=ve(dr);try{let c=ws(!1),l=i();return ws(c),Xc(n,F(),o,l),l}finally{ve(a)}}function nw(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function Mo(e,t,n){let r=e+J,o=F(),i=rs(o,r);return Cg(o,r)?ew(o,no(),t,i.transform,n,i):i.transform(n)}function No(e,t,n,r){let o=e+J,i=F(),s=rs(i,o);return Cg(i,o)?tw(i,no(),t,s.transform,n,r,s):s.transform(n,r)}function Cg(e,t){return e[M].data[t].pure}var wg=(()=>{class e{applicationErrorHandler=h(Ne);appRef=h(fr);taskService=h(Dt);ngZone=h(pe);zonelessEnabled=h(so);tracing=h(jt,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new ie;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get($r):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(h(vl,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{let n=this.taskService.add();if(!this.runningTick&&(this.cleanup(),!this.zonelessEnabled||this.appRef.includeAllTestViews)){this.taskService.remove(n);return}this.switchToMicrotaskScheduler(),this.taskService.remove(n)})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()}))}switchToMicrotaskScheduler(){this.ngZone.runOutsideAngular(()=>{let n=this.taskService.add();this.useMicrotaskScheduler=!0,queueMicrotask(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})})}notify(n){if(!this.zonelessEnabled&&n===5)return;switch(n){case 0:case 2:{this.appRef.dirtyFlags|=2;break}case 3:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2;break}case 12:{this.appRef.dirtyFlags|=16;break}case 13:{this.appRef.dirtyFlags|=2;break}case 11:break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick())return;let r=this.useMicrotaskScheduler?dp:hl;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>r(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(){return!(this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get($r+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){this.applicationErrorHandler(r)}finally{this.taskService.remove(n),this.cleanup()}}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=Y({token:e,factory:e.\u0275fac})}return e})();function Ig(){return[{provide:sn,useExisting:wg},{provide:pe,useClass:zr},{provide:so,useValue:!0}]}var Su=(()=>{class e{compileModuleSync(n){return new Ms(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=Y({token:e,factory:e.\u0275fac})}return e})();function rw(){return typeof $localize<"u"&&$localize.locale||_o}var Ro=new E("",{factory:()=>h(Ro,{optional:!0,skipSelf:!0})||rw()});function be(e){return Ud(e)}var bg=class e extends Error{_brand;constructor(t){super(t)}static IDLE=new e("IDLE");static LOADING=new e("LOADING")};function Ng(e,t){let n=Object.create(Wp);n.value=e,n.transformFn=t?.transform;function r(){if(Un(n),n.value===Ql){let o=null;throw new y(-950,o)}return n.value}return r[Se]=n,r}function Mu(e){return Tw(e)?e.default:e}function Tw(e){return e&&typeof e=="object"&&"default"in e}function Sg(e,t){return Ng(e,t)}function _w(e){return Ng(Ql,e)}var Nu=(Sg.required=_w,Sg);var Mw=1e4;var lF=Mw-1e3;var ea=(()=>{class e{static __NG_ELEMENT_ID__=Nw}return e})();function Nw(e){return Rw(tt(),F(),(e&16)===16)}function Rw(e,t,n){if(yt(e)&&!n){let r=qe(e.index,t);return new Cn(r,r)}else if(e.type&175){let r=t[Ie];return new Cn(r,t)}return null}var Tu=new E(""),xw=new E("");function xo(e){return!e.moduleRef}function Aw(e){let t=xo(e)?e.r3Injector:e.moduleRef.injector,n=t.get(pe);return n.run(()=>{xo(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(Ne),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:r})}),xo(e)){let i=()=>t.destroy(),s=e.platformInjector.get(Tu);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(Tu);s.add(i),e.moduleRef.onDestroy(()=>{lo(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return Pw(r,n,()=>{let i=t.get(Dt),s=i.add(),a=t.get(Eu);return a.runInitializers(),a.donePromise.then(()=>{let c=t.get(Ro,_o);if(yg(c||_o),!t.get(xw,!0))return xo(e)?t.get(fr):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(xo(e)){let u=t.get(fr);return e.rootComponent!==void 0&&u.bootstrap(e.rootComponent),u}else return Ow?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>{i.remove(s)})})})}var Ow;function Pw(e,t,n){try{let r=n();return _n(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e(r)),r}}var Js=null;function kw(e=[],t){return Je.create({name:t,providers:[{provide:Zr,useValue:"platform"},{provide:Tu,useValue:new Set([()=>Js=null])},...e]})}function Lw(e=[]){if(Js)return Js;let t=kw(e);return Js=t,gg(),Fw(t),t}function Fw(e){let t=e.get(ps,null);se(e,()=>{t?.forEach(n=>n())})}function Rg(e){let{rootComponent:t,appProviders:n,platformProviders:r,platformRef:o}=e;$(U.BootstrapApplicationStart);try{let i=o?.injector??Lw(r),s=[Ig(),hp,...n||[]],a=new vo({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1});return Aw({r3Injector:a.injector,platformInjector:i,rootComponent:t})}catch(i){return Promise.reject(i)}finally{$(U.BootstrapApplicationEnd)}}var xg=null;function Et(){return xg}function Ru(e){xg??=e}var Ao=class{},mr=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=k({token:e,factory:()=>h(Ag),providedIn:"platform"})}return e})();var Ag=(()=>{class e extends mr{_location;_history;_doc=h(Z);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Et().getBaseHref(this._doc)}onPopState(n){let r=Et().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){let r=Et().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(n){this._location.pathname=n}pushState(n,r,o){this._history.pushState(n,r,o)}replaceState(n,r,o){this._history.replaceState(n,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}static \u0275fac=function(r){return new(r||e)};static \u0275prov=k({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function kg(e,t){return e?t?e.endsWith("/")?t.startsWith("/")?e+t.slice(1):e+t:t.startsWith("/")?e+t:`${e}/${t}`:e:t}function Og(e){let t=e.search(/#|\?|$/);return e[t-1]==="/"?e.slice(0,t-1)+e.slice(t):e}function zt(e){return e&&e[0]!=="?"?`?${e}`:e}var ta=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=k({token:e,factory:()=>h(Uw),providedIn:"root"})}return e})(),jw=new E(""),Uw=(()=>{class e extends ta{_platformLocation;_baseHref;_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??h(Z).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return kg(this._baseHref,n)}path(n=!1){let r=this._platformLocation.pathname+zt(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+zt(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+zt(i));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static \u0275fac=function(r){return new(r||e)(T(mr),T(jw,8))};static \u0275prov=k({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var yr=(()=>{class e{_subject=new q;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(n){this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=Hw(Og(Pg(r))),this._locationStrategy.onPopState(o=>{let i={url:this.path(!0),pop:!0,state:o.state,type:o.type};o.hasUAVisualTransition&&(i.hasUAVisualTransition=!0),this._subject.next(i)})}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+zt(r))}normalize(n){return e.stripTrailingSlash(Vw(this._basePath,Pg(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+zt(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+zt(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(o=>o(n,r))}subscribe(n,r,o){return this._subject.subscribe({next:n,error:r??void 0,complete:o??void 0})}static normalizeQueryParams=zt;static joinWithSlash=kg;static stripTrailingSlash=Og;static \u0275fac=function(r){return new(r||e)(T(ta))};static \u0275prov=k({token:e,factory:()=>Bw(),providedIn:"root"})}return e})();function Bw(){return new yr(T(ta))}function Vw(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function Pg(e){return e.replace(/\/index\.html$/,"")}function Hw(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}var ku=(function(e){return e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific",e})(ku||{});var Qe={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 vr(e,t){let n=Qs(e),r=n[hr.NumberSymbols][t];if(typeof r>"u"){if(t===Qe.CurrencyDecimal)return n[hr.NumberSymbols][Qe.Decimal];if(t===Qe.CurrencyGroup)return n[hr.NumberSymbols][Qe.Group]}return r}function Fg(e,t){return Qs(e)[hr.NumberFormats][t]}var $w=/^(\d+)?\.((\d+)(-(\d+))?)?$/,Lg=22,na=".",Oo="0",zw=";",Gw=",",xu="#";function qw(e,t,n,r,o,i,s=!1){let a="",c=!1;if(!isFinite(e))a=vr(n,Number.isNaN(e)?Qe.NaN:Qe.Infinity);else{let l=Yw(e);s&&(l=Zw(l));let u=t.minInt,d=t.minFrac,p=t.maxFrac;if(i){let S=i.match($w);if(S===null)throw new y(2306,!1);let oe=S[1],ct=S[3],Ue=S[5];oe!=null&&(u=Au(oe)),ct!=null&&(d=Au(ct)),Ue!=null?p=Au(Ue):ct!=null&&d>p&&(p=d);let lt=100;if(u>lt||d>lt||p>lt)throw new y(2306,!1)}Qw(l,d,p);let f=l.digits,g=l.integerLen,D=l.exponent,v=[];for(c=f.every(S=>!S);g<u;g++)f.unshift(0);for(;g<0;g++)f.unshift(0);g>0?v=f.splice(g,f.length):(v=f,f=[0]);let _=[];for(f.length>=t.lgSize&&_.unshift(f.splice(-t.lgSize,f.length).join(""));f.length>t.gSize;)_.unshift(f.splice(-t.gSize,f.length).join(""));f.length&&_.unshift(f.join("")),a=_.join(vr(n,r)),v.length&&(a+=vr(n,o)+v.join("")),D&&(a+=vr(n,Qe.Exponential)+"+"+D)}return e<0&&!c?a=t.negPre+a+t.negSuf:a=t.posPre+a+t.posSuf,a}function jg(e,t,n){let r=Fg(t,ku.Decimal),o=Ww(r,vr(t,Qe.MinusSign));return qw(e,o,t,Qe.Group,Qe.Decimal,n)}function Ww(e,t="-"){let n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=e.split(zw),o=r[0],i=r[1],s=o.indexOf(na)!==-1?o.split(na):[o.substring(0,o.lastIndexOf(Oo)+1),o.substring(o.lastIndexOf(Oo)+1)],a=s[0],c=s[1]||"";n.posPre=a.substring(0,a.indexOf(xu));for(let u=0;u<c.length;u++){let d=c.charAt(u);d===Oo?n.minFrac=n.maxFrac=u+1:d===xu?n.maxFrac=u+1:n.posSuf+=d}let l=a.split(Gw);if(n.gSize=l[1]?l[1].length:0,n.lgSize=l[2]||l[1]?(l[2]||l[1]).length:0,i){let u=o.length-n.posPre.length-n.posSuf.length,d=i.indexOf(xu);n.negPre=i.substring(0,d).replace(/'/g,""),n.negSuf=i.slice(d+u).replace(/'/g,"")}else n.negPre=t+n.posPre,n.negSuf=n.posSuf;return n}function Zw(e){if(e.digits[0]===0)return e;let t=e.digits.length-e.integerLen;return e.exponent?e.exponent+=2:(t===0?e.digits.push(0,0):t===1&&e.digits.push(0),e.integerLen+=2),e}function Yw(e){let t=Math.abs(e)+"",n=0,r,o,i,s,a;for((o=t.indexOf(na))>-1&&(t=t.replace(na,"")),(i=t.search(/e/i))>0?(o<0&&(o=i),o+=+t.slice(i+1),t=t.substring(0,i)):o<0&&(o=t.length),i=0;t.charAt(i)===Oo;i++);if(i===(a=t.length))r=[0],o=1;else{for(a--;t.charAt(a)===Oo;)a--;for(o-=i,r=[],s=0;i<=a;i++,s++)r[s]=Number(t.charAt(i))}return o>Lg&&(r=r.splice(0,Lg-1),n=o-1,o=1),{digits:r,exponent:n,integerLen:o}}function Qw(e,t,n){if(t>n)throw new y(2307,!1);let r=e.digits,o=r.length-e.integerLen,i=Math.min(Math.max(t,o),n),s=i+e.integerLen,a=r[s];if(s>0){r.splice(Math.max(e.integerLen,s));for(let d=s;d<r.length;d++)r[d]=0}else{o=Math.max(0,o),e.integerLen=1,r.length=Math.max(1,s=i+1),r[0]=0;for(let d=1;d<s;d++)r[d]=0}if(a>=5)if(s-1<0){for(let d=0;d>s;d--)r.unshift(0),e.integerLen++;r.unshift(1),e.integerLen++}else r[s-1]++;for(;o<Math.max(0,i);o++)r.push(0);let c=i!==0,l=t+e.integerLen,u=r.reduceRight(function(d,p,f,g){return p=p+d,g[f]=p<10?p:p-10,c&&(g[f]===0&&f>=l?g.pop():c=!1),p>=10?1:0},0);u&&(r.unshift(u),e.integerLen++)}function Au(e){let t=parseInt(e);if(isNaN(t))throw new y(2305,!1);return t}function Ug(e,t){return new y(2100,!1)}var Ou=class{createSubscription(t,n,r){return be(()=>t.subscribe({next:n,error:r}))}dispose(t){be(()=>t.unsubscribe())}},Pu=class{createSubscription(t,n,r){return t.then(o=>n?.(o),o=>r?.(o)),{unsubscribe:()=>{n=null,r=null}}}dispose(t){t.unsubscribe()}},Kw=new Pu,Xw=new Ou,Lu=(()=>{class e{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;applicationErrorHandler=h(Ne);constructor(n){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),r=>this.applicationErrorHandler(r))}_selectStrategy(n){if(_n(n))return Kw;if(Hs(n))return Xw;throw Ug(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 \u0275fac=function(r){return new(r||e)(dr(ea,16))};static \u0275pipe=Gs({name:"async",type:e,pure:!1})}return e})();var Fu=(()=>{class e{_locale;constructor(n){this._locale=n}transform(n,r,o){if(!Jw(n))return null;o||=this._locale;try{let i=eI(n);return jg(i,o,r)}catch(i){throw Ug(e,i.message)}}static \u0275fac=function(r){return new(r||e)(dr(Ro,16))};static \u0275pipe=Gs({name:"number",type:e,pure:!0})}return e})();function Jw(e){return!(e==null||e===""||e!==e)}function eI(e){if(typeof e=="string"&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if(typeof e!="number")throw new y(2309,!1);return e}function Po(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)continue;let s=i;try{s=decodeURIComponent(i)}catch{}return s.length>1&&s[0]==='"'&&s[s.length-1]==='"'&&(s=s.slice(1,-1)),s}return null}var Bg="browser";var ko=class{_doc;constructor(t){this._doc=t}manager},ra=(()=>{class e extends ko{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o,i){return n.addEventListener(r,o,i),()=>this.removeEventListener(n,r,o,i)}removeEventListener(n,r,o,i){return n.removeEventListener(r,o,i)}static \u0275fac=function(r){return new(r||e)(T(Z))};static \u0275prov=k({token:e,factory:e.\u0275fac})}return e})(),sa=new E(""),Vu=(()=>{class e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(n,r){this._zone=r,n.forEach(s=>{s.manager=this});let o=n.filter(s=>!(s instanceof ra));this._plugins=o.slice().reverse();let i=n.find(s=>s instanceof ra);i&&this._plugins.push(i)}addEventListener(n,r,o,i){return this._findPluginFor(r).addEventListener(n,r,o,i)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(i=>i.supports(n)),!r)throw new y(-5101,!1);return this._eventNameToPlugin.set(n,r),r}static \u0275fac=function(r){return new(r||e)(T(sa),T(pe))};static \u0275prov=k({token:e,factory:e.\u0275fac})}return e})(),ju="ng-app-id";function Vg(e){for(let t of e)t.remove()}function Hg(e,t){let n=t.createElement("style");return n.textContent=e,n}function oI(e,t,n,r){let o=e.head?.querySelectorAll(`style[${ju}="${t}"],link[${ju}="${t}"]`);if(!o||o.length===0)return!1;for(let i of o)i.removeAttribute(ju),i instanceof HTMLLinkElement?r.set(i.href.slice(i.href.lastIndexOf("/")+1),{usage:0,elements:[i]}):i.textContent&&n.set(i.textContent,{usage:0,elements:[i]});return!0}function Bu(e,t){let n=t.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",e),n}var Hu=(()=>{class e{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(n,r,o,i={}){this.doc=n,this.appId=r,this.nonce=o,oI(n,r,this.inline,this.external)&&this.hosts.add(n.head)}addStyles(n,r){for(let o of n)this.addUsage(o,this.inline,Hg);r?.forEach(o=>this.addUsage(o,this.external,Bu))}removeStyles(n,r){for(let o of n)this.removeUsage(o,this.inline);r?.forEach(o=>this.removeUsage(o,this.external))}addUsage(n,r,o){let i=r.get(n);i?i.usage++:r.set(n,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,o(n,this.doc)))})}removeUsage(n,r){let o=r.get(n);o&&(o.usage--,o.usage<=0&&(Vg(o.elements),r.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])Vg(n);this.hosts.clear()}addHost(n){if(!this.hosts.has(n)){this.hosts.add(n);for(let[r,{elements:o}]of this.inline)o.push(this.addElement(n,Hg(r,this.doc)));for(let[r,{elements:o}]of this.external)o.push(this.addElement(n,Bu(r,this.doc)))}}removeHost(n){this.hosts.delete(n);for(let r of[...this.inline.values(),...this.external.values()]){let o=[];for(let i of r.elements)i.parentNode===n?i.remove():o.push(i);r.elements=o}}addElement(n,r){return this.nonce&&r.setAttribute("nonce",this.nonce),n.appendChild(r)}static \u0275fac=function(r){return new(r||e)(T(Z),T(ro),T(io,8),T(oo))};static \u0275prov=k({token:e,factory:e.\u0275fac})}return e})(),Uu={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},$u=/%COMP%/g;var zg="%COMP%",iI=`_nghost-${zg}`,sI=`_ngcontent-${zg}`,aI=!0,cI=new E("",{factory:()=>aI}),lI=new E("");function uI(e){return sI.replace($u,e)}function dI(e){return iI.replace($u,e)}function Gg(e,t){return t.map(n=>n.replace($u,e))}var zu=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;cssVarNamespace;constructor(n,r,o,i,s,a,c=null,l=null,u=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.ngZone=a,this.nonce=c,this.tracingService=l,this.cssVarNamespace=u??"",this.defaultRenderer=new Lo(n,s,a,this.tracingService,this.cssVarNamespace)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;let o=this.getOrCreateRenderer(n,r);return o instanceof ia?o.applyToHost(n):o instanceof Fo&&o.applyStyles(),o}getOrCreateRenderer(n,r){let o=this.rendererByCompId,i=o.get(r.id);if(!i){let s=this.doc,a=this.ngZone,c=this.eventManager,l=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,d=this.tracingService;switch(r.encapsulation){case Ze.Emulated:i=new ia(c,l,r,this.appId,u,s,a,d,this.cssVarNamespace);break;case Ze.ShadowDom:return new oa(c,n,r,s,a,this.nonce,d,this.cssVarNamespace,l);case Ze.ExperimentalIsolatedShadowDom:return new oa(c,n,r,s,a,this.nonce,d,this.cssVarNamespace);default:i=new Fo(c,l,r,u,s,a,d,this.cssVarNamespace);break}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(n){this.rendererByCompId.delete(n)}static \u0275fac=function(r){return new(r||e)(T(Vu),T(Tn),T(ro),T(cI),T(Z),T(pe),T(io),T(jt,8),T(lI,8))};static \u0275prov=k({token:e,factory:e.\u0275fac})}return e})(),Lo=class{eventManager;doc;ngZone;tracingService;cssVarNamespace;data=Object.create(null);throwOnSyntheticProps=!0;constructor(t,n,r,o,i=""){this.eventManager=t,this.doc=n,this.ngZone=r,this.tracingService=o,this.cssVarNamespace=i}destroy(){}destroyNode=null;createElement(t,n){return n?this.doc.createElementNS(Uu[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){($g(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){if(t){let o=$g(t)?t.content:t;if(r!=null&&r.parentNode!==o)throw new y(-5106,!1);o.insertBefore(n,r)}}removeChild(t,n){n.remove()}selectRootElement(t,n){let r=typeof t=="string"?this.doc.querySelector(t):t;if(!r)throw new 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=Uu[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){let o=Uu[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){let i=n.startsWith("--");i&&(n=n.replace("%NS%",this.cssVarNamespace)),i||o&(rt.DashCase|rt.Important)?t.style.setProperty(n,r,o&rt.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){let o=n.startsWith("--");o&&(n=n.replace("%NS%",this.cssVarNamespace)),o||r&rt.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){t!=null&&(t[n]=r)}setValue(t,n){t.nodeValue=n}listen(t,n,r,o){if(typeof t=="string"&&(t=Et().getGlobalEventTarget(this.doc,t),!t))throw new y(-5102,!1);let i=this.decoratePreventDefault(r);return this.tracingService?.wrapEventListener&&(i=this.tracingService.wrapEventListener(t,n,i)),this.eventManager.addEventListener(t,n,i,o)}decoratePreventDefault(t){return n=>{if(n==="__ngUnwrap__")return t;t(n)===!1&&n.preventDefault()}}};function $g(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var oa=class extends Lo{hostEl;sharedStylesHost;shadowRoot;constructor(t,n,r,o,i,s,a,c,l){super(t,o,i,a,c),this.hostEl=n,this.sharedStylesHost=l,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost&&this.sharedStylesHost.addHost(this.shadowRoot);let u=r.styles;u=Gg(r.id,u).map(p=>p.replace(/%NS%/g,c));for(let p of u){let f=document.createElement("style");s&&f.setAttribute("nonce",s),f.textContent=p,this.shadowRoot.appendChild(f)}let d=r.getExternalStyles?.();if(d)for(let p of d){let f=Bu(p,o);s&&f.setAttribute("nonce",s),this.shadowRoot.appendChild(f)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(null,n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost&&this.sharedStylesHost.removeHost(this.shadowRoot)}},Fo=class extends Lo{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(t,n,r,o,i,s,a,c,l){super(t,i,s,a,c),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o;let u=r.styles,d=l?Gg(l,u):u;this.styles=d.map(p=>p.replace(/%NS%/g,c)),this.styleUrls=r.getExternalStyles?.(l)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&au.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},ia=class extends Fo{contentAttr;hostAttr;constructor(t,n,r,o,i,s,a,c,l){let u=o+"-"+r.id;super(t,n,r,i,s,a,c,l,u),this.contentAttr=uI(u),this.hostAttr=dI(u)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){let r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}};var aa=class e extends Ao{supportsDOMEvents=!0;static makeCurrent(){Ru(new e)}onAndCancel(t,n,r,o){return t.addEventListener(n,r,o),()=>{t.removeEventListener(n,r,o)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.remove()}createElement(t,n){return n=n||this.getDefaultDocument(),n.createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return n==="window"?window:n==="document"?t:n==="body"?t.body:null}getBaseHref(t){let n=fI();return n==null?null:pI(n)}resetBaseElement(){jo=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return Po(document.cookie,t)}},jo=null;function fI(){return jo=jo||document.head.querySelector("base"),jo?jo.getAttribute("href"):null}function pI(e){return new URL(e,document.baseURI).pathname}var qg=["alt","control","meta","shift"],hI={"\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"},gI={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},Wg=(()=>{class e extends ko{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,r,o,i){let s=e.parseEventName(r),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Et().onAndCancel(n,s.domEventName,a,i))}static parseEventName(n){let r=n.toLowerCase().split("."),o=r.shift();if(r.length===0||!(o==="keydown"||o==="keyup"))return null;let i=e._normalizeKey(r.pop()),s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),qg.forEach(l=>{let u=r.indexOf(l);u>-1&&(r.splice(u,1),s+=l+".")}),s+=i,r.length!=0||i.length===0)return null;let c={};return c.domEventName=o,c.fullKey=s,c}static matchEventFullKeyCode(n,r){let o=hI[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"),qg.forEach(s=>{if(s!==o){let a=gI[s];a(n)&&(i+=s+".")}}),i+=o,i===r)}static eventCallback(n,r,o){return i=>{e.matchEventFullKeyCode(i,n)&&o.runGuarded(()=>r(i))}}static _normalizeKey(n){return n==="esc"?"escape":n}static \u0275fac=function(r){return new(r||e)(T(Z))};static \u0275prov=k({token:e,factory:e.\u0275fac})}return e})();async function Gu(e,t,n){let r=m({rootComponent:e},mI(t,n));return Rg(r)}function mI(e,t){return{platformRef:t?.platformRef,appProviders:[...CI,...e?.providers??[]],platformProviders:EI}}function yI(){aa.makeCurrent()}function vI(){return new ht}function DI(){return nu(document),document}var EI=[{provide:oo,useValue:Bg},{provide:ps,useValue:yI,multi:!0},{provide:Z,useFactory:DI}];var CI=[{provide:Zr,useValue:"root"},{provide:ht,useFactory:vI},{provide:sa,useClass:ra,multi:!0},{provide:sa,useClass:Wg,multi:!0},zu,{provide:Tn,useClass:Hu},{provide:Hu,useExisting:Tn},Vu,{provide:wn,useExisting:zu},[]];var wt=class e{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(t){t?typeof t=="string"?this.lazyInit=()=>{this.headers=new Map,t.split(`
`).forEach(n=>{let r=n.indexOf(":");if(r>0){let o=n.slice(0,r),i=n.slice(r+1).trim();this.addHeaderEntry(o,i)}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((n,r)=>{this.addHeaderEntry(r,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([n,r])=>{this.setHeaderEntries(n,r)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:"a"})}set(t,n){return this.clone({name:t,value:n,op:"s"})}delete(t,n){return this.clone({name:t,value:n,op:"d"})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init();for(let[n,r]of t.headers.entries())this.headers.set(n,r),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)||[]).slice():[];o.push(...r),this.headers.set(n,o);break;case"d":let i=t.value;if(i===void 0)this.headers.delete(n),this.normalizedNames.delete(n);else{let s=Array.isArray(i)?i:[i],a=this.headers.get(n);if(!a)return;a=a.filter(c=>s.indexOf(c)===-1),a.length===0?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,a)}break}}addHeaderEntry(t,n){let r=t.toLowerCase();this.maybeSetNormalizedName(t,r),this.headers.has(r)?this.headers.get(r).push(n):this.headers.set(r,[n])}setHeaderEntries(t,n){let r=(Array.isArray(n)?n:[n]).map(i=>i.toString()),o=t.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(t,o)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}};var la=class{map=new Map;set(t,n){return this.map.set(t,n),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}},ua=class{encodeKey(t){return Zg(t)}encodeValue(t){return Zg(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}};function wI(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 II=/[&+#]/g;function Zg(e){return encodeURI(e).replace(II,encodeURIComponent)}function ca(e){return`${e}`}var Ct=class e{map;encoder;updates=null;cloneFrom=null;constructor(t={}){if(this.encoder=t.encoder||new ua,t.fromString){if(t.fromObject)throw new y(2805,!1);this.map=wI(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(ca):[ca(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(){if(this.map===null&&(this.map=new Map),this.cloneFrom!==null){this.cloneFrom.init();for(let[t,n]of this.cloneFrom.map.entries())this.map.set(t,n);this.updates.forEach(t=>{switch(t.op){case"a":case"s":let n=t.op==="a"?(this.map.get(t.param)||[]).slice():[];n.push(ca(t.value)),this.map.set(t.param,n);break;case"d":if(t.value!==void 0){let r=(this.map.get(t.param)||[]).slice(),o=r.indexOf(ca(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}}};function bI(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Yg(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function Qg(e){return typeof Blob<"u"&&e instanceof Blob}function Kg(e){return typeof FormData<"u"&&e instanceof FormData}function SI(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var qu="Content-Type",Xg="Accept",tm="text/plain",nm="application/json",TI=`${nm}, ${tm}, */*`,Dr=class e{url;body=null;headers;context;reportProgress=!1;reportUploadProgress=!1;reportDownloadProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;referrerPolicy;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(t,n,r,o){this.url=n,this.method=t.toUpperCase();let i;if(bI(this.method)||o?(this.body=r!==void 0?r:null,i=o):i=r,i){if(this.reportProgress=!!i.reportProgress,this.reportUploadProgress=!!i.reportUploadProgress,this.reportDownloadProgress=!!i.reportDownloadProgress,this.withCredentials=!!i.withCredentials,this.keepalive=!!i.keepalive,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),i.priority&&(this.priority=i.priority),i.cache&&(this.cache=i.cache),i.credentials&&(this.credentials=i.credentials),typeof i.timeout=="number"){if(i.timeout<1||!Number.isInteger(i.timeout))throw new y(2822,"");this.timeout=i.timeout}i.mode&&(this.mode=i.mode),i.redirect&&(this.redirect=i.redirect),i.integrity&&(this.integrity=i.integrity),i.referrer!==void 0&&(this.referrer=i.referrer),i.referrerPolicy&&(this.referrerPolicy=i.referrerPolicy),this.transferCache=i.transferCache}if(this.headers??=new wt,this.context??=new la,!this.params)this.params=new Ct,this.urlWithParams=n;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=n;else{let a=n,c="",l=n.indexOf("#");l!==-1&&(c=n.substring(l),a=n.substring(0,l));let u=a.indexOf("?"),d=u===-1?"?":u<a.length-1?"&":"";this.urlWithParams=a+d+s+c}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||Yg(this.body)||Qg(this.body)||Kg(this.body)||SI(this.body)?this.body:this.body instanceof Ct?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||Kg(this.body)?null:Qg(this.body)?this.body.type||null:Yg(this.body)?null:typeof this.body=="string"?tm:this.body instanceof Ct?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?nm:null}clone(t={}){let n=t.method||this.method,r=t.url||this.url,o=t.responseType||this.responseType,i=t.keepalive??this.keepalive,s=t.priority||this.priority,a=t.cache||this.cache,c=t.mode||this.mode,l=t.redirect||this.redirect,u=t.credentials||this.credentials,d=t.referrer??this.referrer,p=t.integrity||this.integrity,f=t.referrerPolicy||this.referrerPolicy,g=t.transferCache??this.transferCache,D=t.timeout??this.timeout,v=t.body!==void 0?t.body:this.body,_=t.withCredentials??this.withCredentials,S=t.reportProgress??this.reportProgress,oe=t.reportUploadProgress??this.reportUploadProgress,ct=t.reportDownloadProgress??this.reportDownloadProgress,Ue=t.headers||this.headers,lt=t.params||this.params,Rr=t.context??this.context;return t.setHeaders!==void 0&&(Ue=Object.keys(t.setHeaders).reduce((jn,St)=>jn.set(St,t.setHeaders[St]),Ue)),t.setParams&&(lt=Object.keys(t.setParams).reduce((jn,St)=>jn.set(St,t.setParams[St]),lt)),new e(n,r,v,{params:lt,headers:Ue,context:Rr,reportProgress:S,reportUploadProgress:oe,reportDownloadProgress:ct,responseType:o,withCredentials:_,transferCache:g,keepalive:i,cache:a,priority:s,timeout:D,mode:c,redirect:l,credentials:u,referrer:d,integrity:p,referrerPolicy:f})}},Rn=(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})(Rn||{}),Er=class{headers;status;statusText;url;ok;type;redirected;responseType;constructor(t,n=200,r="OK"){this.headers=t.headers||new wt,this.status=t.status!==void 0?t.status:n,this.statusText=t.statusText||r,this.url=t.url||null,this.redirected=t.redirected,this.responseType=t.responseType,this.ok=this.status>=200&&this.status<300}},da=class e extends Er{constructor(t={}){super(t)}type=Rn.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})}},Uo=class e extends Er{body;constructor(t={}){super(t),this.body=t.body!==void 0?t.body:null}type=Rn.Response;clone(t={}){return new e({body:t.body!==void 0?t.body:this.body,headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0,redirected:t.redirected??this.redirected,responseType:t.responseType??this.responseType})}},Nn=class extends Er{name="HttpErrorResponse";message;error;ok=!1;constructor(t){super(t,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${t.url||"(unknown url)"}`:this.message=`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}},_I=200;var MI=/^\)\]\}',?\n/,S3=1024*1024,rm=new E("",{factory:()=>null}),fa=(()=>{class e{fetchImpl=h(Zu,{optional:!0})?.fetch??((...n)=>globalThis.fetch(...n));ngZone=h(pe);destroyRef=h(Oe);maxResponseSize=h(rm);handle(n){return new P(r=>{let o=new AbortController,i=!1,s={next:c=>{c.type===Rn.Response&&(i=!0),r.next(c)},error:c=>{i=!0,r.error(c)},complete:()=>{i=!0,r.complete()}};this.doRequest(n,o.signal,s).then(Yu,c=>s.error(new Nn({error:c})));let a;return n.timeout&&(a=this.ngZone.runOutsideAngular(()=>setTimeout(()=>{o.signal.aborted||o.abort(new DOMException("signal timed out","TimeoutError"))},n.timeout))),()=>{a!==void 0&&clearTimeout(a),!i&&!o.signal.aborted&&o.abort()}})}async doRequest(n,r,o){let i=this.createRequestInit(n),s;try{let v=this.ngZone.runOutsideAngular(()=>this.fetchImpl(n.urlWithParams,m({signal:r},i)));NI(v),o.next({type:Rn.Sent}),s=await v}catch(v){o.error(new Nn({error:v,status:v.status??0,statusText:v.statusText,url:n.urlWithParams,headers:v.headers}));return}let a=new wt(s.headers),c=s.statusText,l=s.url||n.urlWithParams,u=s.status,d=null,p=n.reportProgress||n.reportDownloadProgress;if(p&&o.next(new da({headers:a,status:u,statusText:c,url:l})),s.body){let v=s.headers.get(qu)??"",_=s.headers.get("content-length"),S=_!==null?Number(_):NaN;this.maxResponseSize!==null&&Number.isFinite(S)&&S>this.maxResponseSize&&(await s.body.cancel(),Jg(this.maxResponseSize));let oe=[],ct=s.body.getReader(),Ue=0,lt,Rr,jn=typeof Zone<"u"&&Zone.current,St=!1;if(await this.ngZone.runOutsideAngular(async()=>{for(;;){if(this.destroyRef.destroyed){await ct.cancel(),St=!0;break}let{done:Wa,value:Za}=await ct.read();if(Wa)break;if(oe.push(Za),Ue+=Za.length,this.maxResponseSize!==null&&Ue>this.maxResponseSize&&(await ct.cancel(),Jg(this.maxResponseSize)),p){Rr=n.responseType==="text"?(Rr??"")+(lt??=em(v)).decode(Za,{stream:!0}):void 0;let _d=()=>o.next({type:Rn.DownloadProgress,total:Number.isFinite(S)?S:void 0,loaded:Ue,partialText:Rr});jn?jn.run(_d):_d()}}}),St){o.complete();return}let ly=this.concatChunks(oe,Ue);try{d=this.parseBody(n,ly,v,u)}catch(Wa){o.error(new Nn({error:Wa,headers:new wt(s.headers),status:s.status,statusText:s.statusText,url:s.url||n.urlWithParams}));return}}u===0&&(u=d?_I:0);let f=u>=200&&u<300,g=s.redirected,D=s.type;f?(o.next(new Uo({body:d,headers:a,status:u,statusText:c,url:l,redirected:g,responseType:D})),o.complete()):o.error(new Nn({error:d,headers:a,status:u,statusText:c,url:l,redirected:g,responseType:D}))}parseBody(n,r,o,i){switch(n.responseType){case"json":let s=new TextDecoder().decode(r).replace(MI,"");if(s==="")return null;try{return JSON.parse(s)}catch(a){if(i<200||i>=300)return s;throw a}case"text":return em(o).decode(r);case"blob":return new Blob([r],{type:o});case"arraybuffer":return r.buffer}}createRequestInit(n){if(n.reportUploadProgress)throw new y(2824,!1);let r={},o;if(o=n.credentials,n.withCredentials&&(o="include"),n.headers.forEach((i,s)=>r[i]=s.join(",")),n.headers.has(Xg)||(r[Xg]=TI),!n.headers.has(qu)){let i=n.detectContentTypeHeader();i!==null&&(r[qu]=i)}return{body:n.serializeBody(),method:n.method,headers:r,credentials:o,keepalive:n.keepalive,cache:n.cache,priority:n.priority,mode:n.mode,redirect:n.redirect,referrer:n.referrer,integrity:n.integrity,referrerPolicy:n.referrerPolicy}}concatChunks(n,r){let o=new Uint8Array(r),i=0;for(let s of n)o.set(s,i),i+=s.length;return o}static \u0275fac=function(r){return new(r||e)};static \u0275prov=Y({token:e,factory:e.\u0275fac})}return e})(),Zu=class{};function Yu(){}function NI(e){e.then(Yu,Yu)}function Jg(e){throw new y(-2825,!1)}var RI=/charset=\s*["']?([^;"'\s]+)["']?/i;function em(e){let t=e.match(RI);if(t!==null)try{return new TextDecoder(t[1])}catch{}return new TextDecoder}var xI=new E("",{factory:()=>!0}),AI="XSRF-TOKEN",OI=new E("",{factory:()=>AI}),PI="X-XSRF-TOKEN",kI=new E("",{factory:()=>PI}),LI=(()=>{class e{cookieName=h(OI);doc=h(Z);lastCookieString="";lastToken=null;parseCount=0;getToken(){let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=Po(n,this.cookieName),this.lastCookieString=n),this.lastToken}static \u0275fac=function(r){return new(r||e)};static \u0275prov=Y({token:e,factory:e.\u0275fac})}return e})(),om=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=k({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=T(LI),o},providedIn:"root"})}return e})();function im(e,t){if(!h(xI)||e.method==="GET"||e.method==="HEAD")return t(e);try{let o=h(mr).href,{origin:i}=new URL(o),{origin:s}=new URL(e.url,i);if(i!==s)return t(e)}catch{return t(e)}let n=h(om).getToken(),r=h(kI);return n!=null&&!e.headers.has(r)&&(e=e.clone({headers:e.headers.set(r,n)})),t(e)}function FI(e,t){return t(e)}function jI(e,t,n){return(r,o)=>se(n,()=>t(r,i=>e(i,o)))}var sm=new E("",{factory:()=>[im]}),am=new E(""),cm=new E("",{factory:()=>!0});var Qu=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=k({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=T(fa),o},providedIn:"root"})}return e})();var pa=(()=>{class e{backend;injector;chain=null;pendingTasks=h(hs);contributeToStability=h(cm);constructor(n,r){this.backend=n,this.injector=r}handle(n){if(this.chain===null){let o=this.injector.get(ha,null,{skipSelf:!0}),i=o!==null&&this.backend===o,s=this.injector.get(am,[],i?{self:!0}:void 0),a=Array.from(new Set([...this.injector.get(sm),...s]));this.chain=a.reduceRight((c,l)=>jI(c,l,this.injector),FI)}let r=this.chain;if(this.contributeToStability){let o=this.pendingTasks.add();return be(()=>r(n,i=>this.backend.handle(i))).pipe(Br(o))}else return be(()=>r(n,o=>this.backend.handle(o)))}static \u0275fac=function(r){return new(r||e)(T(Qu),T(K))};static \u0275prov=k({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),ha=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=k({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=T(pa),o},providedIn:"root"})}return e})();function Wu(e,t){return m({body:t},e)}var ga=(()=>{class e{handler;constructor(n){this.handler=n}request(n,r,o={}){let i;if(n instanceof Dr)i=n;else{let c;o.headers instanceof wt?c=o.headers:c=new wt(o.headers);let l;o.params&&(o.params instanceof Ct?l=o.params:l=new Ct({fromObject:o.params})),i=new Dr(n,r,o.body!==void 0?o.body:null,{headers:c,context:o.context,params:l,reportProgress:o.reportProgress,reportUploadProgress:o.reportUploadProgress,reportDownloadProgress:o.reportDownloadProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache,keepalive:o.keepalive,priority:o.priority,cache:o.cache,mode:o.mode,redirect:o.redirect,credentials:o.credentials,referrer:o.referrer,referrerPolicy:o.referrerPolicy,integrity:o.integrity,timeout:o.timeout})}let s=A(i).pipe(Zn(c=>this.handler.handle(c)));if(n instanceof Dr||o.observe==="events")return s;let a=s.pipe(He(c=>c instanceof Uo));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(z(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new y(2806,!1);return c.body}));case"blob":return a.pipe(z(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new y(2807,!1);return c.body}));case"text":return a.pipe(z(c=>{if(c.body!==null&&typeof c.body!="string")throw new y(2808,!1);return c.body}));default:return a.pipe(z(c=>c.body))}case"response":return a;default:throw new y(2809,!1)}}delete(n,r={}){return this.request("DELETE",n,r)}get(n,r={}){return this.request("GET",n,r)}head(n,r={}){return this.request("HEAD",n,r)}jsonp(n,r){return this.request("JSONP",n,{params:new Ct().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,r={}){return this.request("OPTIONS",n,r)}patch(n,r,o={}){return this.request("PATCH",n,Wu(o,r))}post(n,r,o={}){return this.request("POST",n,Wu(o,r))}put(n,r,o={}){return this.request("PUT",n,Wu(o,r))}static \u0275fac=function(r){return new(r||e)(T(ha))};static \u0275prov=k({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Ku(...e){let t=[ga,fa,pa,{provide:ha,useExisting:pa},{provide:Qu,useFactory:()=>h(fa)},{provide:sm,useValue:im,multi:!0}];for(let n of e)t.push(...n.\u0275providers);return gt(t)}var lm=(()=>{class e{_doc;constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}static \u0275fac=function(r){return new(r||e)(T(Z))};static \u0275prov=k({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var R="primary",ei=Symbol("RouteTitle"),rd=class{params;constructor(t){this.params=t||{}}has(t){return Object.hasOwn(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 An(e){return new rd(e)}function Xu(e,t,n){for(let r=0;r<e.length;r++){let o=e[r],i=t[r];if(o[0]===":")n[o.substring(1)]=i;else if(o!==i.path)return!1}return!0}function ym(e,t,n){let r=n.path.split("/"),o=r.indexOf("**");if(o===-1){if(r.length>e.length||n.pathMatch==="full"&&(t.hasChildren()||r.length<e.length))return null;let c={},l=e.slice(0,r.length);return Xu(r,l,c)?{consumed:l,posParams:c}:null}if(o!==r.lastIndexOf("**"))return null;let i=r.slice(0,o),s=r.slice(o+1);if(i.length+s.length>e.length||n.pathMatch==="full"&&t.hasChildren()&&n.path!=="**")return null;let a={};return!Xu(i,e.slice(0,i.length),a)||!Xu(s,e.slice(e.length-s.length),a)?null:{consumed:e,posParams:a}}function Ca(e){return new Promise((t,n)=>{e.pipe(dt()).subscribe({next:r=>t(r),error:r=>n(r)})})}function VI(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;++n)if(!at(e[n],t[n]))return!1;return!0}function at(e,t){let n=e?od(e):void 0,r=t?od(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],!vm(e[o],t[o]))return!1;return!0}function od(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}function vm(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 HI(e){return e.length>0?e[e.length-1]:null}function Fn(e){return Li(e)?e:_n(e)?ne(Promise.resolve(e)):A(e)}function Dm(e){return Li(e)?Ca(e):Promise.resolve(e)}var $I={exact:wm,subset:Im},Em={exact:zI,subset:GI,ignored:()=>!0},Cm={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},wa={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function id(e,t,n){let r=m(m({},wa),n||{});return $I[r.paths](e.root,t.root,r.matrixParams)&&Em[r.queryParams](e.queryParams,t.queryParams)&&!(r.fragment==="exact"&&e.fragment!==t.fragment)}function zI(e,t){return at(e,t)}function wm(e,t,n){if(!xn(e.segments,t.segments)||!va(e.segments,t.segments,n)||e.numberOfChildren!==t.numberOfChildren)return!1;for(let r in t.children)if(!e.children[r]||!wm(e.children[r],t.children[r],n))return!1;return!0}function GI(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>vm(e[n],t[n]))}function Im(e,t,n){return bm(e,t,t.segments,n)}function bm(e,t,n,r){if(e.segments.length>n.length){let o=e.segments.slice(0,n.length);return!(!xn(o,n)||t.hasChildren()||!va(o,n,r))}else if(e.segments.length===n.length){if(!xn(e.segments,n)||!va(e.segments,n,r))return!1;for(let o in t.children)if(!e.children[o]||!Im(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!xn(e.segments,o)||!va(e.segments,o,r)||!e.children[R]?!1:bm(e.children[R],t,i,r)}}function va(e,t,n){return t.every((r,o)=>Em[n](e[o].parameters,r.parameters))}var je=class{root;queryParams;fragment;_queryParamMap;constructor(t=new B([],{}),n={},r=null){this.root=t,this.queryParams=n,this.fragment=r}get queryParamMap(){return this._queryParamMap??=An(this.queryParams),this._queryParamMap}toString(){return YI.serialize(this)}},B=class{segments;children;parent=null;constructor(t,n){this.segments=t,this.children=n,Object.values(n).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Da(this)}},Gt=class{path;parameters;_parameterMap;constructor(t,n){this.path=t,this.parameters=n}get parameterMap(){return this._parameterMap??=An(this.parameters),this._parameterMap}toString(){return Tm(this)}};function qI(e,t){return xn(e,t)&&e.every((n,r)=>at(n.parameters,t[r].parameters))}function xn(e,t){return e.length!==t.length?!1:e.every((n,r)=>n.path===t[r].path)}function WI(e,t){let n=[];return Object.entries(e.children).forEach(([r,o])=>{r===R&&(n=n.concat(t(o,r)))}),Object.entries(e.children).forEach(([r,o])=>{r!==R&&(n=n.concat(t(o,r)))}),n}var ti=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=Y({token:e,factory:()=>new qt})}return e})(),qt=class{parse(t){let n=new ad(t);return new je(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(t){let n=`/${Bo(t.root,!0)}`;ZI(n)&&(n="/");let r=XI(t.queryParams),o=typeof t.fragment=="string"?`#${QI(t.fragment)}`:"";return`${n}${r}${o}`}},um="http://fake";function ZI(e){try{let t=new URL(e,um);return t.origin!==um||t.pathname.startsWith("//")}catch{return!0}}var YI=new qt;function Da(e){return e.segments.map(t=>Tm(t)).join("/")}function Bo(e,t){if(!e.hasChildren())return Da(e);if(t){let n=e.children[R]?Bo(e.children[R],!1):"",r=[];return Object.entries(e.children).forEach(([o,i])=>{o!==R&&r.push(`${o}:${Bo(i,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}else{let n=WI(e,(r,o)=>o===R?[Bo(e.children[R],!1)]:[`${o}:${Bo(r,!1)}`]);return Object.keys(e.children).length===1&&e.children[R]!=null?`${Da(e)}/${n[0]}`:`${Da(e)}/(${n.join("//")})`}}function Sm(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function ma(e){return Sm(e).replace(/%3B/gi,";")}function QI(e){return encodeURI(e)}function sd(e){return Sm(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ea(e){return decodeURIComponent(e)}function dm(e){return Ea(e.replace(/\+/g,"%20"))}function Tm(e){return`${sd(e.path)}${KI(e.parameters)}`}function KI(e){return Object.entries(e).map(([t,n])=>`;${sd(t)}=${sd(n)}`).join("")}function XI(e){let t=Object.entries(e).map(([n,r])=>Array.isArray(r)?r.map(o=>`${ma(n)}=${ma(o)}`).join("&"):`${ma(n)}=${ma(r)}`).filter(n=>n);return t.length?`?${t.join("&")}`:""}var Ju=1073741824;function Ia(e,t,n){Number(t)>=32&&!Object.hasOwn(e,Ju)&&(e[Ju]=n,delete e[Ju]),e[t]=n}var JI=/^[^\/()?;#]+/;function ed(e){let t=e.match(JI);return t?t[0]:""}var eb=/^[^\/()?;=#]+/;function tb(e){let t=e.match(eb);return t?t[0]:""}var nb=/^[^=?&#]+/;function rb(e){let t=e.match(nb);return t?t[0]:""}var ob=/^[^&#]+/;function ib(e){let t=e.match(ob);return t?t[0]:""}var ad=class{url;remaining;constructor(t){this.url=t,this.remaining=t}parseRootSegment(){for(;this.consumeOptional("/"););return this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new B([],{}):new B([],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(t=0){if(t>50)throw new y(4010,!1);if(this.remaining==="")return{};this.consumeOptional("/");let n=[];for(this.peekStartsWith("(")||n.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),n.push(this.parseSegment());let r={};this.peekStartsWith("/(")&&(this.capture("/"),r=this.parseParens(!0,t));let o={};return this.peekStartsWith("(")&&(o=this.parseParens(!1,t)),(n.length>0||Object.keys(r).length>0)&&(o[R]=new B(n,r)),o}parseSegment(){let t=ed(this.remaining);if(t===""&&this.peekStartsWith(";"))throw new y(4009,!1);return this.capture(t),new Gt(Ea(t),this.parseMatrixParams())}parseMatrixParams(){let t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){let n=tb(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let o=ed(this.remaining);o&&(r=o,this.capture(r))}Ia(t,Ea(n),Ea(r))}parseQueryParam(t){let n=rb(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let s=ib(this.remaining);s&&(r=s,this.capture(r))}let o=dm(n),i=dm(r);if(Object.hasOwn(t,o)){let s=t[o];Array.isArray(s)||(s=[s],t[o]=s),s.push(i)}else t[o]=i}parseParens(t,n){let r=Object.create(null);for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let o=ed(this.remaining),i=this.remaining[o.length];if(i!=="/"&&i!==")"&&i!==";")throw new y(4010,!1);let s;o.indexOf(":")>-1?(s=o.slice(0,o.indexOf(":")),this.capture(s),this.capture(":")):t&&(s=R);let a=this.parseChildren(n+1),c=Object.keys(a).length===1&&a[R]?a[R]:new B([],a);Ia(r,s??R,c),this.consumeOptional("//")}return r}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return this.peekStartsWith(t)?(this.remaining=this.remaining.substring(t.length),!0):!1}capture(t){if(!this.consumeOptional(t))throw new y(4011,!1)}};function _m(e){return e.segments.length>0?new B([],{[R]:e}):e}function Mm(e){let t=Object.create(null);for(let[r,o]of Object.entries(e.children)){let i=Mm(o);if(r===R&&i.segments.length===0&&i.hasChildren())for(let[s,a]of Object.entries(i.children))Ia(t,s,a);else(i.segments.length>0||i.hasChildren())&&Ia(t,r,i)}let n=new B(e.segments,t);return sb(n)}function sb(e){if(e.numberOfChildren===1&&e.children[R]){let t=e.children[R];return new B(e.segments.concat(t.segments),t.children)}return e}function br(e){return e instanceof je}function Nm(e,t,n=null,r=null,o=new qt){let i=Rm(e);return xm(i,t,n,r,o)}function Rm(e){let t;function n(i){let s={};for(let c of i.children){let l=n(c);s[c.outlet]=l}let a=new B(i.url,s);return i===e&&(t=a),a}let r=n(e.root),o=_m(r);return t??o}function xm(e,t,n,r,o){let i=e;for(;i.parent;)i=i.parent;if(t.length===0)return td(i,i,i,n,r,o);let s=ab(t);if(s.toRoot())return td(i,i,new B([],{}),n,r,o);let a=cb(s,i,e),c=a.processChildren?Ho(a.segmentGroup,a.index,s.commands):Om(a.segmentGroup,a.index,s.commands);return td(i,a.segmentGroup,c,n,r,o)}function ba(e){return typeof e=="object"&&e!=null&&!e.outlets&&!e.segmentPath}function qo(e){return typeof e=="object"&&e!=null&&e.outlets}function fm(e,t,n){e||="\u0275";let r=new je;return r.queryParams={[e]:t},n.parse(n.serialize(r)).queryParams[e]}function td(e,t,n,r,o,i){let s={};for(let[l,u]of Object.entries(r??{}))s[l]=Array.isArray(u)?u.map(d=>fm(l,d,i)):fm(l,u,i);let a;e===t?a=n:a=Am(e,t,n);let c=_m(Mm(a));return new je(c,s,o)}function Am(e,t,n){let r=Object.create(null);return Object.entries(e.children).forEach(([o,i])=>{i===t?r[o]=n:r[o]=Am(i,t,n)}),new B(e.segments,r)}var Sa=class{isAbsolute;numberOfDoubleDots;commands;constructor(t,n,r){if(this.isAbsolute=t,this.numberOfDoubleDots=n,this.commands=r,t&&r.length>0&&ba(r[0]))throw new y(4003,!1);let o=r.find(qo);if(o&&o!==HI(r))throw new y(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function ab(e){if(typeof e[0]=="string"&&e.length===1&&e[0]==="/")return new Sa(!0,0,e);let t=0,n=!1,r=e.reduce((o,i,s)=>{if(typeof i=="object"&&i!=null){if(i.outlets){let a={};return Object.entries(i.outlets).forEach(([c,l])=>{a[c]=typeof l=="string"?l.split("/"):l}),[...o,{outlets:a}]}if(i.segmentPath)return[...o,i.segmentPath]}return typeof i!="string"?[...o,i]:s===0?(i.split("/").forEach((a,c)=>{c==0&&a==="."||(c==0&&a===""?n=!0:a===".."?t++:a!=""&&o.push(a))}),o):[...o,i]},[]);return new Sa(n,t,r)}var wr=class{segmentGroup;processChildren;index;constructor(t,n,r){this.segmentGroup=t,this.processChildren=n,this.index=r}};function cb(e,t,n){if(e.isAbsolute)return new wr(t,!0,0);if(!n)return new wr(t,!1,NaN);if(n.parent===null)return new wr(n,!0,0);let r=ba(e.commands[0])?0:1,o=n.segments.length-1+r;return lb(n,o,e.numberOfDoubleDots)}function lb(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 wr(r,!1,o-i)}function ub(e){return qo(e[0])?e[0].outlets:{[R]:e}}function Om(e,t,n){if(e??=new B([],{}),e.segments.length===0&&e.hasChildren())return Ho(e,t,n);let r=db(e,t,n),o=n.slice(r.commandIndex);if(r.match&&r.pathIndex<e.segments.length){let i=new B(e.segments.slice(0,r.pathIndex),{});return i.children[R]=new B(e.segments.slice(r.pathIndex),e.children),Ho(i,0,o)}else return r.match&&o.length===0?new B(e.segments,{}):r.match&&!e.hasChildren()?cd(e,t,n):r.match?Ho(e,0,o):cd(e,t,n)}function Ho(e,t,n){if(n.length===0)return new B(e.segments,{});{let r=ub(n),o=Object.create(null);if(Object.keys(r).some(i=>i!==R)&&e.children[R]&&e.numberOfChildren===1&&e.children[R].segments.length===0){let i=Ho(e.children[R],t,n);return new B(e.segments,i.children)}return Object.entries(r).forEach(([i,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(o[i]=Om(e.children[i],t,s))}),Object.entries(e.children).forEach(([i,s])=>{r[i]===void 0&&(o[i]=s)}),new B(e.segments,o)}}function db(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(qo(a))break;let c=`${a}`,l=r<n.length-1?n[r+1]:null;if(o>0&&c===void 0)break;if(c&&l&&typeof l=="object"&&l.outlets===void 0){if(!hm(c,l,s))return i;r+=2}else{if(!hm(c,{},s))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}function cd(e,t,n){let r=e.segments.slice(0,t),o=0;for(;o<n.length;){let i=n[o];if(qo(i)){let c=fb(i.outlets);return new B(r,c)}if(o===0&&ba(n[0])){let c=e.segments[t];r.push(new Gt(c.path,pm(n[0]))),o++;continue}let s=qo(i)?i.outlets[R]:`${i}`,a=o<n.length-1?n[o+1]:null;s&&a&&ba(a)?(r.push(new Gt(s,pm(a))),o+=2):(r.push(new Gt(s,{})),o++)}return new B(r,{})}function fb(e){let t={};return Object.entries(e).forEach(([n,r])=>{typeof r=="string"&&(r=[r]),r!==null&&(t[n]=cd(new B([],{}),0,r))}),t}function pm(e){let t={};return Object.entries(e).forEach(([n,r])=>t[n]=`${r}`),t}function hm(e,t,n){return e==n.path&&at(t,n.parameters)}var Ta=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return this.route?.snapshot._environmentInjector??this.rootInjector}constructor(t){this.rootInjector=t,this.children=new On(this.rootInjector)}resetChildren(){this.children=new On(this.rootInjector)}},On=(()=>{class e{rootInjector;contexts=new Map;constructor(n){this.rootInjector=n}onChildOutletCreated(n,r){let o=this.getOrCreateContext(n);o.outlet=r,this.contexts.set(n,o)}onChildOutletDestroyed(n){let r=this.getContext(n);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){let n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let r=this.getContext(n);return r||(r=new Ta(this.rootInjector),this.contexts.set(n,r)),r}getContext(n){return this.contexts.get(n)||null}static \u0275fac=function(r){return new(r||e)(T(K))};static \u0275prov=k({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),_a=class{_root;constructor(t){this._root=t}get root(){return this._root.value}parent(t){let n=this.pathFromRoot(t);return n.length>1?n[n.length-2]:null}children(t){let n=ld(t,this._root);return n?n.children.map(r=>r.value):[]}firstChild(t){let n=ld(t,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(t){let n=ud(t,this._root);return n.length<2?[]:n[n.length-2].children.map(o=>o.value).filter(o=>o!==t)}pathFromRoot(t){return ud(t,this._root).map(n=>n.value)}};function ld(e,t){if(e===t.value)return t;for(let n of t.children){let r=ld(e,n);if(r)return r}return null}function ud(e,t){if(e===t.value)return[t];for(let n of t.children){let r=ud(e,n);if(r.length)return r.unshift(t),r}return[]}var Ee=class{value;children;constructor(t,n){this.value=t,this.children=n}toString(){return`TreeNode(${this.value})`}};function Cr(e){let t={};return e&&e.children.forEach(n=>t[n.value.outlet]=n),t}var Wo=class extends _a{snapshot;constructor(t,n){super(t),this.snapshot=n,Ed(this,t)}toString(){return this.snapshot.toString()}};function Pm(e,t){let n=pb(e,t),r=new le([new Gt("",{})]),o=new le({}),i=new le({}),s=new le({}),a=new le(""),c=new Wt(r,o,s,a,i,R,e,n.root);return c.snapshot=n.root,new Wo(new Ee(c,[]),n)}function pb(e,t){let n={},r={},o={},s=new Sr([],n,o,"",r,R,e,null,{},t);return new Zo("",new Ee(s,[]))}var Wt=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;resources;_localInjector;pending;paramsSignal;queryParamsSignal;paramMapSignal;queryParamMapSignal;fragmentSignal;dataSignal;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(z(l=>l[ei]))??A(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(z(t=>An(t))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(z(t=>An(t))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}_setPending(t){this._futureSnapshot=t,this.pending?.set(!0)}},hb="always";function Dd(e,t,n){let r,{routeConfig:o}=e;return t!==null&&(n==="always"||o?.path===""||!t.component&&!t.routeConfig?.loadComponent)?r={params:Object.keys(e.params).length===0?t.params:Object.freeze(m(m({},t.params),e.params)),data:Object.freeze(m(m({},t.data),e.data)),resolve:m(m(m(m({},e.data),t.data),o?.data),e._resolvedData)}:r={params:Object.freeze(m({},e.params)),data:Object.freeze(m({},e.data)),resolve:m(m({},e.data),e._resolvedData??{})},o&&Lm(o)&&(r.resolve[ei]=o.title),r}var Sr=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;_environmentInjector;resources;get title(){return this.data?.[ei]}constructor(t,n,r,o,i,s,a,c,l,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=l,this._environmentInjector=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??=An(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=An(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}')`}},Zo=class extends _a{url;constructor(t,n){super(n),this.url=t,Ed(this,n)}toString(){return km(this._root)}};function Ed(e,t){t.value._routerState=e,t.children.forEach(n=>Ed(e,n))}function km(e){let t=e.children.length>0?` { ${e.children.map(km).join(", ")} } `:"";return`${e.value}${t}`}function nd(e){if(e.snapshot){let t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,at(t.queryParams,n.queryParams)||e.queryParamsSubject.next(n.queryParams),t.fragment!==n.fragment&&e.fragmentSubject.next(n.fragment),at(t.params,n.params)||e.paramsSubject.next(n.params),VI(t.url,n.url)||e.urlSubject.next(n.url),at(t.data,n.data)||e.dataSubject.next(n.data)}else e.snapshot=e._futureSnapshot,e.dataSubject.next(e._futureSnapshot.data)}function dd(e,t){let n=at(e.params,t.params)&&qI(e.url,t.url),r=!e.parent!=!t.parent;return n&&!r&&(!e.parent||dd(e.parent,t.parent))}function Lm(e){return typeof e.title=="string"||e.title===null}var Fm=new E(""),ni=(()=>{class e{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=R;activateEvents=new De;deactivateEvents=new De;attachEvents=new De;detachEvents=new De;routerOutletData=Nu();parentContexts=h(On);location=h(Eo);changeDetector=h(ea);inputBinder=h(Ba,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(n){if(n.name){let{firstChange:r,previousValue:o}=n.name;if(r)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(n){return this.parentContexts.getContext(n)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let n=this.parentContexts.getContext(this.name);n?.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new 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.location.injector),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 fd(n,a,o.injector,this.routerOutletData);this.activated=o.createComponent(s,{index:o.length,injector:c,environmentInjector:r}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this,this.location.injector),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(r){return new(r||e)};static \u0275dir=zs({type:e,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[Ps]})}return e})(),fd=class{route;childContexts;parent;outletData;constructor(t,n,r,o){this.route=t,this.childContexts=n,this.parent=r,this.outletData=o}get(t,n){return t===Wt?this.route:t===On?this.childContexts:t===Fm?this.outletData:this.parent.get(t,n)}},Ba=new E("");var Cd=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=Mn({type:e,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(r,o){r&1&&ge(0,"router-outlet")},dependencies:[ni],encapsulation:2,changeDetection:1})}return e})();function wd(e){let t=e.children&&e.children.map(wd),n=t?G(m({},e),{children:t}):m({},e);return!n.component&&!n.loadComponent&&(t||n.loadChildren)&&n.outlet&&n.outlet!==R&&(n.component=Cd),n}var $o="imperative",ce=(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})(ce||{}),xe=class{id;url;constructor(t,n){this.id=t,this.url=n}},Pn=class extends xe{type=ce.NavigationStart;navigationTrigger;restoredState;constructor(t,n,r="imperative",o=null){super(t,n),this.navigationTrigger=r,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},It=class extends xe{urlAfterRedirects;type=ce.NavigationEnd;constructor(t,n,r){super(t,n),this.urlAfterRedirects=r}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},fe=(function(e){return e[e.Redirect=0]="Redirect",e[e.SupersededByNewNavigation=1]="SupersededByNewNavigation",e[e.NoDataFromResolver=2]="NoDataFromResolver",e[e.GuardRejected=3]="GuardRejected",e[e.Aborted=4]="Aborted",e})(fe||{}),Yo=(function(e){return e[e.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",e[e.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",e})(Yo||{}),Fe=class extends xe{reason;code;type=ce.NavigationCancel;constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}};function jm(e){return e instanceof Fe&&(e.code===fe.Redirect||e.code===fe.SupersededByNewNavigation)}var bt=class extends xe{reason;code;type=ce.NavigationSkipped;constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o}},kn=class extends xe{error;target;type=ce.NavigationError;constructor(t,n,r,o){super(t,n),this.error=r,this.target=o}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Qo=class extends xe{urlAfterRedirects;state;type=ce.RoutesRecognized;constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ma=class extends xe{urlAfterRedirects;state;type=ce.GuardsCheckStart;constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Na=class extends xe{urlAfterRedirects;state;shouldActivate;type=ce.GuardsCheckEnd;constructor(t,n,r,o,i){super(t,n),this.urlAfterRedirects=r,this.state=o,this.shouldActivate=i}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},Ra=class extends xe{urlAfterRedirects;state;type=ce.ResolveStart;constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},xa=class extends xe{urlAfterRedirects;state;type=ce.ResolveEnd;constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Aa=class{route;type=ce.RouteConfigLoadStart;constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Oa=class{route;type=ce.RouteConfigLoadEnd;constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Pa=class{snapshot;type=ce.ChildActivationStart;constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},ka=class{snapshot;type=ce.ChildActivationEnd;constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},La=class{snapshot;type=ce.ActivationStart;constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Fa=class{snapshot;type=ce.ActivationEnd;constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}};var Tr=class{},Ko=class{},_r=class{url;navigationBehaviorOptions;constructor(t,n){this.url=t,this.navigationBehaviorOptions=n}};function gb(e){return!(e instanceof Tr)&&!(e instanceof _r)&&!(e instanceof Ko)}function mb(e,t,n){let r=new Set,o=Xo(e,t._root,n?n._root:void 0,r);return{newlyCreatedRoutes:r,state:new Wo(o,t)}}function Xo(e,t,n,r){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){let o=n.value;o._setPending(t.value);let i=yb(e,t,n,r);return new Ee(o,i)}else{if(e.shouldAttach(t.value)){let s=e.retrieve(t.value);if(s!==null){let a=s.route;return a.value._setPending(t.value),a.children=t.children.map(c=>Xo(e,c,void 0,r)),a}}let o=vb(t.value);o._setPending(t.value),r.add(o);let i=t.children.map(s=>Xo(e,s,void 0,r));return new Ee(o,i)}}function yb(e,t,n,r){return t.children.map(o=>{for(let i of n.children)if(e.shouldReuseRoute(o.value,i.value.snapshot))return Xo(e,o,i,r);return Xo(e,o,void 0,r)})}function vb(e){return new Wt(new le(e.url),new le(e.params),new le(e.queryParams),new le(e.fragment),new le(e.data),e.outlet,e.component,e)}var Ln=class e extends Error{redirectTo;navigationBehaviorOptions;constructor(t,n){super(),this.redirectTo=t,this.navigationBehaviorOptions=n,Object.setPrototypeOf(this,e.prototype)}},Um="ngNavigationCancelingError";function zo(e,t){let{redirectTo:n,navigationBehaviorOptions:r}=br(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,o=Bm(!1,fe.Redirect);return o.url=n,o.navigationBehaviorOptions=r,o}function Bm(e,t){let n=new Error(`NavigationCancelingError: ${e||""}`);return n[Um]=!0,n.cancellationCode=t,n}function Db(e){return Vm(e)&&br(e.url)}function Vm(e){return!!e&&e[Um]}var pd=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(t,n,r,o,i){this.routeReuseStrategy=t,this.futureState=n,this.currState=r,this.forwardEvent=o,this.inputBindingEnabled=i}activate(t){let n=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(n,r,t),nd(this.futureState.root),this.activateChildRoutes(n,r,t)}deactivateChildRoutes(t,n,r){let o=Cr(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=Cr(t);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);if(r&&r.outlet){let s=r.outlet.detach(),a=r.children.contexts;r.resetChildren(),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=Cr(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),t.value._localInjector?.destroy()}activateChildRoutes(t,n,r){let o=Cr(n);t.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],r),this.forwardEvent(new Fa(i.value.snapshot))}),t.children.length&&this.forwardEvent(new ka(t.value.snapshot))}activateRoutes(t,n,r){let o=t.value,i=n?n.value:null;if(nd(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),nd(a.route.value),this.activateChildRoutes(t,null,s.children)}else s.attachRef=null,s.route=o,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(t,null,s.children)}else this.activateChildRoutes(t,null,r)}},ja=class{path;route;constructor(t){this.path=t,this.route=this.path[this.path.length-1]}},Ir=class{component;route;constructor(t,n){this.component=t,this.route=n}};function Eb(e,t,n){let r=e._root,o=t?t._root:null;return Vo(r,o,n,[r.value])}function Cb(e){let t=e.routeConfig?e.routeConfig.canActivateChild:null;return!t||t.length===0?null:{node:e,guards:t}}function Nr(e,t){let n=Symbol(),r=t.get(e,n);return r===n?typeof e=="function"&&!Oc(e)?e:t.get(e):r}function Vo(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=Cr(t);return e.children.forEach(s=>{wb(s,i[s.value.outlet],n,r.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>Go(a,n.getContext(s),n,o)),o}function wb(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=Ib(s,i,i.routeConfig.runGuardsAndResolvers);c?o.canActivateChecks.push(new ja(r)):(i.data=s.data,i._resolvedData=s._resolvedData),i.component?Vo(e,t,a?a.children:null,r,o):Vo(e,t,n,r,o),c&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new Ir(a.outlet.component,s))}else s&&Go(t,a,n,o),o.canActivateChecks.push(new ja(r)),i.component?Vo(e,null,a?a.children:null,r,o):Vo(e,null,n,r,o);return o}function Ib(e,t,n){if(typeof n=="function")return se(t._environmentInjector,()=>n(e,t));switch(n){case"pathParamsChange":return!xn(e.url,t.url);case"pathParamsOrQueryParamsChange":return!xn(e.url,t.url)||!at(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!dd(e,t)||!at(e.queryParams,t.queryParams);default:return!dd(e,t)}}function Go(e,t,n,r){let o=Cr(e),i=e.value;Object.entries(o).forEach(([s,a])=>{i.component?t?Go(a,t.children.getContext(s),t.children,r):Go(a,null,null,r):Go(a,n?n.getContext(s):null,n,r)}),i.component?t&&t.outlet&&t.outlet.isActivated?r.canDeactivateChecks.push(new Ir(t.outlet.component,i)):r.canDeactivateChecks.push(new Ir(null,i)):r.canDeactivateChecks.push(new Ir(null,i))}function ri(e){return typeof e=="function"}function bb(e){return typeof e=="boolean"}function Sb(e){return e&&ri(e.canLoad)}function Tb(e){return e&&ri(e.canActivate)}function _b(e){return e&&ri(e.canActivateChild)}function Mb(e){return e&&ri(e.canDeactivate)}function Nb(e){return e&&ri(e.canMatch)}function Hm(e){return e instanceof en||e?.name==="EmptyError"}var ya=Symbol("INITIAL_VALUE");function Mr(){return ae(e=>fc(e.map(t=>t.pipe(Mt(1),hc(ya)))).pipe(z(t=>{for(let n of t)if(n!==!0){if(n===ya)return ya;if(n===!1||Rb(n))return n}return!0}),He(t=>t!==ya),Mt(1)))}function Rb(e){return br(e)||e instanceof Ln}function $m(e){return new P(t=>{if(e.aborted){t.next(),t.complete();return}let n=()=>{t.next(),t.complete()};return e.addEventListener("abort",n),()=>e.removeEventListener("abort",n)})}function zm(e){return Vr($m(e))}function xb(e){return ye(t=>{let{targetSnapshot:n,currentSnapshot:r,guards:{canActivateChecks:o,canDeactivateChecks:i}}=t;return i.length===0&&o.length===0?A(G(m({},t),{guardsResult:!0})):Ab(i,n,r).pipe(ye(s=>s&&bb(s)?Ob(n,o,e):A(s)),z(s=>G(m({},t),{guardsResult:s})))})}function Ab(e,t,n){return ne(e).pipe(ye(r=>jb(r.component,r.route,n,t)),dt(r=>r!==!0,!0))}function Ob(e,t,n){return ne(t).pipe(Zn(r=>Wn(kb(r.route.parent,n),Pb(r.route,n),Fb(e,r.path),Lb(e,r.route))),dt(r=>r!==!0,!0))}function Pb(e,t){return e!==null&&t&&t(new La(e)),A(!0)}function kb(e,t){return e!==null&&t&&t(new Pa(e)),A(!0)}function Lb(e,t){let n=t.routeConfig?t.routeConfig.canActivate:null;if(!n||n.length===0)return A(!0);let r=n.map(o=>Ur(()=>{let i=t._environmentInjector,s=Nr(o,i),a=Tb(s)?s.canActivate(t,e):se(i,()=>s(t,e));return Fn(a).pipe(dt())}));return A(r).pipe(Mr())}function Fb(e,t){let n=t[t.length-1],o=t.slice(0,t.length-1).reverse().map(i=>Cb(i)).filter(i=>i!==null).map(i=>Ur(()=>{let s=i.guards.map(a=>{let c=i.node._environmentInjector,l=Nr(a,c),u=_b(l)?l.canActivateChild(n,e):se(c,()=>l(n,e));return Fn(u).pipe(dt())});return A(s).pipe(Mr())}));return A(o).pipe(Mr())}function jb(e,t,n,r){let o=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!o||o.length===0)return A(!0);let i=o.map(s=>{let a=t._environmentInjector,c=Nr(s,a),l=Mb(c)?c.canDeactivate(e,t,n,r):se(a,()=>c(e,t,n,r));return Fn(l).pipe(dt())});return A(i).pipe(Mr())}function Ub(e,t,n,r,o){let i=t.canLoad;if(i===void 0||i.length===0)return A(!0);let s=i.map(a=>{let c=Nr(a,e),l=Sb(c)?c.canLoad(t,n):se(e,()=>c(t,n)),u=Fn(l);return o?u.pipe(zm(o)):u});return A(s).pipe(Mr(),Gm(r))}function Gm(e){return yi(Ae(t=>{if(typeof t!="boolean")throw zo(e,t)}),z(t=>t===!0))}function Bb(e,t,n,r,o,i){let s=t.canMatch;if(!s||s.length===0)return A(!0);let a=s.map(c=>{let l=Nr(c,e),u=Nb(l)?l.canMatch(t,n,o):se(e,()=>l(t,n,o));return Fn(u).pipe(zm(i))});return A(a).pipe(Mr(),Gm(r))}var st=class e extends Error{name="NoMatch";segmentGroup;constructor(t){super(),this.segmentGroup=t||null,Object.setPrototypeOf(this,e.prototype)}},Jo=class e extends Error{urlTree;name="AbsoluteRedirect";constructor(t){super(),this.urlTree=t,Object.setPrototypeOf(this,e.prototype)}};function Vb(e){throw new y(4e3,!1)}function Hb(e){throw Bm(!1,fe.GuardRejected)}var hd=class{urlSerializer;urlTree;constructor(t,n){this.urlSerializer=t,this.urlTree=n}async lineralizeSegments(t,n){let r=[],o=n.root;for(;;){if(r=r.concat(o.segments),o.numberOfChildren===0)return r;if(o.numberOfChildren>1||!o.children[R])throw Vb(`${t.redirectTo}`);o=o.children[R]}}async applyRedirectCommands(t,n,r,o,i){let s=await $b(n,o,i);if(s instanceof je)throw new Jo(s);let a=this.applyRedirectCreateUrlTree(s,this.urlSerializer.parse(s),t,r);if(s[0]==="/")throw new Jo(a);return a}applyRedirectCreateUrlTree(t,n,r,o){let i=this.createSegmentGroup(t,n.root,r,o);return new je(i,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}createQueryParams(t,n){let r={};return Object.entries(t).forEach(([o,i])=>{if(typeof i=="string"&&i[0]===":"){let a=i.substring(1);r[o]=n[a]}else r[o]=i}),r}createSegmentGroup(t,n,r,o){let i=this.createSegments(t,n.segments,r,o),s=Object.create(null);return Object.entries(n.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(t,c,r,o)}),new B(i,s)}createSegments(t,n,r,o){return n.map(i=>i.path[0]===":"?this.findPosParam(t,i,o):this.findOrReturn(i,r))}findPosParam(t,n,r){let o=r[n.path.substring(1)];if(!o)throw new 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}};function $b(e,t,n){if(typeof e=="string")return Promise.resolve(e);let r=e;return Ca(Fn(se(n,()=>r(t))))}function zb(e,t){return e.providers&&!e._injector&&(e._injector=Co(e.providers,t,`Route: ${e.path}`)),e._injector??t}function Ke(e){return e.outlet||R}function Gb(e,t){let n=e.filter(r=>Ke(r)===t);return n.push(...e.filter(r=>Ke(r)!==t)),n}var gd={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function qm(e){return{routeConfig:e.routeConfig,url:e.url,params:e.params,queryParams:e.queryParams,fragment:e.fragment,data:e.data,outlet:e.outlet,title:e.title,paramMap:e.paramMap,queryParamMap:e.queryParamMap}}function qb(e,t,n,r,o,i,s){let a=Wm(e,t,n);if(!a.matched)return A(a);let c=qm(i(a));return r=zb(t,r),Bb(r,t,n,o,c,s).pipe(z(l=>l===!0?a:m({},gd)))}function Wm(e,t,n){if(t.path==="")return t.pathMatch==="full"&&(e.hasChildren()||n.length>0)?m({},gd):{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};let o=(t.matcher||ym)(n,e,t);if(!o)return m({},gd);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 gm(e,t,n,r,o){return n.length>0&&Yb(e,n,r,o)?{segmentGroup:new B(t,Zb(r,new B(n,e.children))),slicedSegments:[]}:n.length===0&&Qb(e,n,r)?{segmentGroup:new B(e.segments,Wb(e,n,r,e.children)),slicedSegments:n}:{segmentGroup:new B(e.segments,e.children),slicedSegments:n}}function Wb(e,t,n,r){let o={};for(let i of n)if(Va(e,t,i)&&!r[Ke(i)]){let s=new B([],{});o[Ke(i)]=s}return m(m({},r),o)}function Zb(e,t){let n={};n[R]=t;for(let r of e)if(r.path===""&&Ke(r)!==R){let o=new B([],{});n[Ke(r)]=o}return n}function Yb(e,t,n,r){return n.some(o=>!Va(e,t,o)||!(Ke(o)!==R)?!1:!(r!==void 0&&Ke(o)===r))}function Qb(e,t,n){return n.some(r=>Va(e,t,r))}function Va(e,t,n){return(e.hasChildren()||t.length>0)&&n.pathMatch==="full"?!1:n.path===""}function Kb(e,t,n){return t.length===0&&!e.hasChildren()}var md=class{};async function Xb(e,t,n,r,o,i,s,a){return new yd(e,t,n,r,o,s,i,a).recognize()}var Jb=31,yd=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;abortSignal;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;queryParams;constructor(t,n,r,o,i,s,a,c){this.injector=t,this.configLoader=n,this.rootComponentType=r,this.config=o,this.urlTree=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.abortSignal=c,this.applyRedirects=new hd(this.urlSerializer,this.urlTree),this.queryParams=Object.freeze(m({},this.urlTree.queryParams))}noMatchError(t){return new y(4002,`'${t.segmentGroup}'`)}async recognize(){let t=gm(this.urlTree.root,[],[],this.config).segmentGroup,{children:n,rootSnapshot:r}=await this.match(t),o=new Ee(r,n),i=new Zo("",o),s=Nm(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,i.url=this.urlSerializer.serialize(s),{state:i,tree:s}}async match(t){let n=new Sr([],Object.freeze({}),this.queryParams,this.urlTree.fragment,Object.freeze({}),R,this.rootComponentType,null,{},this.injector);try{return{children:await this.processSegmentGroup(this.injector,this.config,t,R,n),rootSnapshot:n}}catch(r){if(r instanceof Jo)return this.absoluteRedirectCount++,this.absoluteRedirectCount>Jb&&(this.allowRedirects=!1),this.urlTree=r.urlTree,this.queryParams=Object.freeze(m({},this.urlTree.queryParams)),this.match(r.urlTree.root);throw r instanceof st?this.noMatchError(r):r}}async processSegmentGroup(t,n,r,o,i){if(r.segments.length===0&&r.hasChildren())return this.processChildren(t,n,r,i);let s=await this.processSegment(t,n,r,r.segments,o,!0,i);return s instanceof Ee?[s]:[]}async processChildren(t,n,r,o){let i=[];for(let c of Object.keys(r.children))c==="primary"?i.unshift(c):i.push(c);let s=[];for(let c of i){let l=r.children[c],u=Gb(n,c),d=await this.processSegment(t,u,l,l.segments,c,!0,o);d instanceof Ee&&s.push(d)}let a=Zm(s);return e0(a),a}async processSegment(t,n,r,o,i,s,a){for(let c of n)try{return await this.processSegmentAgainstRoute(c._injector??t,n,c,r,o,i,s,a)}catch(l){if(l instanceof st||Hm(l))continue;throw l}if(Kb(r,o))return new md;throw new st(r)}async processSegmentAgainstRoute(t,n,r,o,i,s,a,c){if(Ke(r)!==s&&(s===R||!Va(o,i,r)||!r.children?.length&&!r.loadChildren||i.length===0&&!o.hasChildren()))throw new st(o);if(r.redirectTo===void 0)return this.matchSegmentAgainstRoute(t,o,r,i,s,c);if(this.allowRedirects&&a)return this.expandSegmentAgainstRouteUsingRedirect(t,o,n,r,i,s,c);throw new st(o)}async expandSegmentAgainstRouteUsingRedirect(t,n,r,o,i,s,a){let{matched:c,parameters:l,consumedSegments:u,positionalParamSegments:d,remainingSegments:p}=Wm(n,o,i);if(!c)throw new st(n);let f=this.createSnapshot(t,o,i,l,a);if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let g=await this.applyRedirects.applyRedirectCommands(u,o.redirectTo,d,qm(f),t),D=await this.applyRedirects.lineralizeSegments(o,g);return this.processSegment(t,r,n,D.concat(p),s,!1,a)}createSnapshot(t,n,r,o,i){let s=new Sr(r,o,this.queryParams,this.urlTree.fragment,r0(n),Ke(n),n.component??n._loadedComponent??null,n,o0(n),t),a=Dd(s,i,this.paramsInheritanceStrategy);return s.params=a.params,s.data=a.data,s}async matchSegmentAgainstRoute(t,n,r,o,i,s){if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let a=oe=>this.createSnapshot(t,r,oe.consumedSegments,oe.parameters,s),c=await Ca(qb(n,r,o,t,this.urlSerializer,a,this.abortSignal));if(r.path==="**"&&(n.children={}),!c?.matched)throw new st(n);t=r._injector??t;let{routes:l}=await this.getChildConfig(t,r,o),u=r._loadedInjector??t,{parameters:d,consumedSegments:p,remainingSegments:f}=c,g=this.createSnapshot(t,r,p,d,s),{segmentGroup:D,slicedSegments:v}=gm(n,p,f,l,i),_=Ke(r)===i;if(_&&v.length===0&&D.hasChildren()){let oe=await this.processChildren(u,l,D,g);return new Ee(g,oe)}if(_&&l.length===0&&v.length===0)return new Ee(g,[]);let S=await this.processSegment(u,l,D,v,_?R:i,!0,g);if(!_&&!(S instanceof Ee))throw new st(n);return new Ee(g,S instanceof Ee?[S]:[])}async getChildConfig(t,n,r){if(n.children)return{routes:n.children,injector:t};if(n.loadChildren){if(n._loadedRoutes!==void 0){let i=n._loadedNgModuleFactory;return i&&!n._loadedInjector&&(n._loadedInjector=i.create(t).injector),{routes:n._loadedRoutes,injector:n._loadedInjector}}if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);if(await Ca(Ub(t,n,r,this.urlSerializer,this.abortSignal))){let i=await this.configLoader.loadChildren(t,n);return n._loadedRoutes=i.routes,n._loadedInjector=i.injector,n._loadedNgModuleFactory=i.factory,i}throw Hb(n)}return{routes:[],injector:t}}};function e0(e){e.sort((t,n)=>t.value.outlet===R?-1:n.value.outlet===R?1:t.value.outlet.localeCompare(n.value.outlet))}function t0(e){let t=e.value.routeConfig;return t&&t.path===""}function Zm(e){let t=[],n=new Set;for(let o of e){if(!t0(o)){t.push(o);continue}let i=t.find(s=>o.value.routeConfig===s.value.routeConfig);i!==void 0?(i.children.push(...o.children),n.add(i)):t.push(o)}for(let o of n){let i=Zm(o.children);t.push(new Ee(o.value,i))}let r=t.filter(o=>!n.has(o));return n0(r),r}function n0(e){let t=Object.create(null);e.forEach(n=>{let r=t[n.value.outlet];if(r){let o=r.url.map(s=>s.toString()).join("/"),i=n.value.url.map(s=>s.toString()).join("/");throw new y(4006,!1)}t[n.value.outlet]=n.value})}function r0(e){return e.data||{}}function o0(e){return e.resolve||{}}function i0(e,t,n,r,o,i,s){return ye(async a=>{let{state:c,tree:l}=await Xb(e,t,n,r,a.extractedUrl,o,i,s);return G(m({},a),{targetSnapshot:c,urlAfterRedirects:l})})}function s0(e){return ye(t=>{let{targetSnapshot:n,guards:{canActivateChecks:r}}=t;if(!r.length)return A(t);let o=new Set(r.map(a=>a.route)),i=new Set;for(let a of o)if(!i.has(a))for(let c of Ym(a))i.add(c);let s=0;return ne(i).pipe(Zn(a=>o.has(a)?a0(a,n,e):(a.data=Dd(a,a.parent,e).resolve,A(void 0))),Ae(()=>s++),ji(1),ye(a=>s===i.size?A(t):ue))})}function Ym(e){let t=e.children.map(n=>Ym(n)).flat();return[e,...t]}function a0(e,t,n){let r=e.routeConfig,o=e._resolve;return r?.title!==void 0&&!Lm(r)&&(o[ei]=r.title),Ur(()=>(e.data=Dd(e,e.parent,n).resolve,c0(o,e,t).pipe(z(i=>(e._resolvedData=i,e.data=m(m({},e.data),i),null)))))}function c0(e,t,n){let r=od(e);if(r.length===0)return A({});let o={};return ne(r).pipe(ye(i=>l0(e[i],t,n).pipe(dt(),Ae(s=>{if(s instanceof Ln)throw zo(new qt,s);o[i]=s}))),ji(1),z(()=>o),_t(i=>Hm(i)?ue:dc(i)))}function l0(e,t,n){let r=t._environmentInjector,o=Nr(e,r),i=o.resolve?o.resolve(t,n):se(r,()=>o(t,n));return Fn(i)}var Qm=new E("");function vd(e){return ae(t=>{let n=e(t);return n?ne(n).pipe(z(()=>t)):A(t)})}var Id=(()=>{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===R);return r}getResolvedTitleForRoute(n){return n.data[ei]}static \u0275fac=function(r){return new(r||e)};static \u0275prov=Y({token:e,factory:()=>h(Km)})}return e})(),Km=(()=>{class e extends Id{title;constructor(n){super(),this.title=n}updateTitle(n){let r=this.buildTitle(n);r!==void 0&&this.title.setTitle(r)}static \u0275fac=function(r){return new(r||e)(T(lm))};static \u0275prov=k({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),oi=new E("",{factory:()=>({})}),ii=new E(""),Xm=(()=>{class e{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=h(Su);async loadComponent(n,r){if(this.componentLoaders.get(r))return this.componentLoaders.get(r);if(r._loadedComponent)return Promise.resolve(r._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(r);let o=(async()=>{try{let i=await Dm(se(n,()=>r.loadComponent())),s=await ey(Mu(i));return this.onLoadEndListener&&this.onLoadEndListener(r),r._loadedComponent=s,s}finally{this.componentLoaders.delete(r)}})();return this.componentLoaders.set(r,o),o}loadChildren(n,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return Promise.resolve({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let o=(async()=>{try{let i=await Jm(r,this.compiler,n,this.onLoadEndListener);return r._loadedRoutes=i.routes,r._loadedInjector=i.injector,r._loadedNgModuleFactory=i.factory,i}finally{this.childrenLoaders.delete(r)}})();return this.childrenLoaders.set(r,o),o}static \u0275fac=function(r){return new(r||e)};static \u0275prov=Y({token:e,factory:e.\u0275fac})}return e})();async function Jm(e,t,n,r){let o=await Dm(se(n,()=>e.loadChildren())),i=await ey(Mu(o)),s;i instanceof $s||Array.isArray(i)?s=i:s=await t.compileModuleAsync(i),r&&r(e);let a,c,l=!1,u;return Array.isArray(s)?(c=s,l=!0):(a=s.create(n).injector,u=s,c=a.get(ii,[],{optional:!0,self:!0}).flat()),{routes:c.map(wd),injector:a,factory:u}}async function ey(e){return e}var Ha=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=Y({token:e,factory:()=>h(u0)})}return e})(),u0=(()=>{class e{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,r){return n}static \u0275fac=function(r){return new(r||e)};static \u0275prov=Y({token:e,factory:e.\u0275fac})}return e})(),ty=new E("");var d0=()=>{},ny=new E(""),ry=(()=>{class e{currentNavigation=Lt(null,{equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=Lt(null);events=new q;transitionAbortWithErrorSubject=new q;configLoader=h(Xm);environmentInjector=h(K);destroyRef=h(Oe);urlSerializer=h(ti);rootContexts=h(On);location=h(yr);inputBindingEnabled=h(Ba,{optional:!0})!==null;titleStrategy=h(Id);options=h(oi,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||hb;urlHandlingStrategy=h(Ha);createViewTransition=h(ty,{optional:!0});navigationErrorHandler=h(ny,{optional:!0});routerResourcesFeature=h(Qm,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>A(void 0);rootComponentType=null;destroyed=!1;constructor(){let n=o=>this.events.next(new Aa(o)),r=o=>this.events.next(new Oa(o));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=n,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(n){let r=++this.navigationId;be(()=>{this.transitions?.next(G(m({},n),{extractedUrl:this.urlHandlingStrategy.extract(n.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,id:r,routesRecognizeHandler:{},beforeActivateHandler:{}}))})}setupNavigations(n){return this.transitions=new le(null),this.transitions.pipe(He(r=>r!==null),ae(r=>{let o=!0,i=!1,s=new AbortController,a=()=>!i&&this.currentTransition?.id===r.id;return A(r).pipe(ae(c=>{if(this.navigationId>r.id)return this.cancelNavigationTransition(r,"",fe.SupersededByNewNavigation),ue;this.currentTransition=r;let l=this.lastSuccessfulNavigation();this.currentNavigation.set({id:c.id,initialUrl:c.rawUrl,extractedUrl:c.extractedUrl,targetBrowserUrl:typeof c.extras.browserUrl=="string"?this.urlSerializer.parse(c.extras.browserUrl):c.extras.browserUrl,trigger:c.source,extras:c.extras,previousNavigation:l?G(m({},l),{previousNavigation:null}):null,abort:()=>s.abort(),routesRecognizeHandler:c.routesRecognizeHandler,beforeActivateHandler:c.beforeActivateHandler});let u=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),d=c.extras.onSameUrlNavigation??n.onSameUrlNavigation;if(!u&&d!=="reload")return this.events.next(new bt(c.id,this.urlSerializer.serialize(c.rawUrl),"",Yo.IgnoredSameUrlNavigation)),c.resolve(!1),ue;if(this.urlHandlingStrategy.shouldProcessUrl(c.rawUrl))return A(c).pipe(ae(p=>(this.events.next(new Pn(p.id,this.urlSerializer.serialize(p.extractedUrl),p.source,p.restoredState)),p.id!==this.navigationId?ue:Promise.resolve(p))),i0(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy,s.signal),Ae(p=>{r.targetSnapshot=p.targetSnapshot,r.urlAfterRedirects=p.urlAfterRedirects,this.currentNavigation.update(f=>(f.finalUrl=p.urlAfterRedirects,f)),this.events.next(new Ko)}),ae(p=>ne(r.routesRecognizeHandler.deferredHandle??A(void 0)).pipe(z(()=>p))),Ae(()=>{let p=new Qo(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(p)}));if(u&&this.urlHandlingStrategy.shouldProcessUrl(c.currentRawUrl)){let{id:p,extractedUrl:f,source:g,restoredState:D,extras:v}=c,_=new Pn(p,this.urlSerializer.serialize(f),g,D);this.events.next(_);let S=Pm(this.rootComponentType,this.environmentInjector).snapshot;return this.currentTransition=r=G(m({},c),{targetSnapshot:S,urlAfterRedirects:f,extras:G(m({},v),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.update(oe=>(oe.finalUrl=f,oe)),A(r)}else return this.events.next(new bt(c.id,this.urlSerializer.serialize(c.extractedUrl),"",Yo.IgnoredByUrlHandlingStrategy)),c.resolve(!1),ue}),z(c=>{let l=new Ma(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);return this.events.next(l),this.currentTransition=r=G(m({},c),{guards:Eb(c.targetSnapshot,c.currentSnapshot,this.rootContexts)}),r}),xb(c=>this.events.next(c)),ae(c=>{if(r.guardsResult=c.guardsResult,c.guardsResult&&typeof c.guardsResult!="boolean")throw zo(this.urlSerializer,c.guardsResult);let l=new Na(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot,!!c.guardsResult);if(this.events.next(l),!a())return ue;if(!c.guardsResult)return this.cancelNavigationTransition(c,"",fe.GuardRejected),ue;if(c.guards.canActivateChecks.length===0)return A(c);let u=new Ra(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);if(this.events.next(u),!a())return ue;let d=!1;return A(c).pipe(s0(this.paramsInheritanceStrategy),Ae({next:()=>{d=!0;let p=new xa(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(p)},complete:()=>{d||this.cancelNavigationTransition(c,"",fe.NoDataFromResolver)}}))}),vd(c=>{let l=d=>{let p=[];if(d.routeConfig?._loadedComponent)d.component=d.routeConfig?._loadedComponent;else if(d.routeConfig?.loadComponent){let f=d._environmentInjector;p.push(this.configLoader.loadComponent(f,d.routeConfig).then(g=>{d.component=g}))}for(let f of d.children)p.push(...l(f));return p},u=l(c.targetSnapshot.root);return u.length===0?A(c):ne(Promise.all(u).then(()=>c))}),ae(c=>{let{newlyCreatedRoutes:l,state:u}=mb(n.routeReuseStrategy,c.targetSnapshot,c.currentRouterState);return this.currentTransition=r=c=G(m({},c),{targetRouterState:u,newlyCreatedRoutes:l}),this.currentNavigation.update(d=>(d.targetRouterState=u,d)),A(c)}),this.routerResourcesFeature?.setupAndRunResources(s.signal)??(c=>c),vd(()=>this.afterPreactivation()),ae(()=>{let{currentSnapshot:c,targetSnapshot:l}=r,u=this.createViewTransition?.(this.environmentInjector,c.root,l.root,r.hasUAVisualTransition);return u?ne(u).pipe(z(()=>r)):A(r)}),Mt(1),ae(c=>{o=!1,this.events.next(new Tr);let l=r.beforeActivateHandler.deferredHandle;return l?ne(l.then(()=>c)):A(c)}),Ae(c=>{new pd(n.routeReuseStrategy,r.targetRouterState,r.currentRouterState,l=>this.events.next(l),this.inputBindingEnabled).activate(this.rootContexts),c.newlyCreatedRoutes?.clear(),a()&&(oy(c.targetRouterState),i=!0,this.currentNavigation.update(l=>(l.abort=d0,l)),this.lastSuccessfulNavigation.set(be(this.currentNavigation)),this.events.next(new It(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects))),this.titleStrategy?.updateTitle(c.targetRouterState.snapshot),c.resolve(!0))}),Vr($m(s.signal).pipe(He(()=>!i&&o),Ae(()=>{this.cancelNavigationTransition(r,s.signal.reason+"",fe.Aborted)}))),Ae({complete:()=>{i=!0}}),Vr(this.transitionAbortWithErrorSubject.pipe(Ae(c=>{throw c}))),Br(()=>{s.abort(),i||this.cancelNavigationTransition(r,"",fe.SupersededByNewNavigation),this.currentTransition?.id===r.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),_t(c=>{if(i=!0,mm(r),this.destroyed)return r.resolve(!1),ue;if(c instanceof Ln&&(c=zo(this.urlSerializer,c)),Vm(c))this.events.next(new Fe(r.id,this.urlSerializer.serialize(r.extractedUrl),c.message,c.cancellationCode)),Db(c)?this.events.next(new _r(c.url,c.navigationBehaviorOptions)):r.resolve(!1);else{let l=new kn(r.id,this.urlSerializer.serialize(r.extractedUrl),c,r.targetSnapshot??void 0);try{let u=se(this.environmentInjector,()=>this.navigationErrorHandler?.(l));if(u instanceof Ln){let{message:d,cancellationCode:p}=zo(this.urlSerializer,u);this.events.next(new Fe(r.id,this.urlSerializer.serialize(r.extractedUrl),d,p)),this.events.next(new _r(u.redirectTo,u.navigationBehaviorOptions))}else throw this.events.next(l),c}catch(u){this.options.resolveNavigationPromiseOnError?r.resolve(!1):r.reject(u)}}return ue}))}))}cancelNavigationTransition(n,r,o){mm(n);let i=new Fe(n.id,this.urlSerializer.serialize(n.extractedUrl),r,o);this.events.next(i),n.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let n=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),r=be(this.currentNavigation),o=r?.targetBrowserUrl??r?.extractedUrl;return n.toString()!==o?.toString()&&!r?.extras.skipLocationChange}static \u0275fac=function(r){return new(r||e)};static \u0275prov=Y({token:e,factory:e.\u0275fac})}return e})();function f0(e){return e!==$o}function mm(e){for(let t of e.newlyCreatedRoutes??[])t._localInjector?.destroy(),t._localInjector=void 0;oy(e.targetRouterState)}function oy(e){if(!e)return;let t=n=>{n.value.pending?.set(!1),n.children.forEach(t)};t(e._root)}var iy=new E("");var sy=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=Y({token:e,factory:()=>h(p0)})}return e})(),Ua=class{shouldDetach(t){return!1}store(t,n){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,n){return t.routeConfig===n.routeConfig}shouldDestroyInjector(t){return!0}},p0=(()=>{class e extends Ua{static \u0275fac=function(r){return new(r||e)};static \u0275prov=Y({token:e,factory:e.\u0275fac})}return e})(),bd=(()=>{class e{urlSerializer=h(ti);options=h(oi,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=h(yr);urlHandlingStrategy=h(Ha);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new je;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:n,initialUrl:r,targetBrowserUrl:o}){let i=n!==void 0?this.urlHandlingStrategy.merge(n,r):r,s=o??i;return s instanceof je?this.urlSerializer.serialize(s):s}routerUrlState(n){return n?.targetBrowserUrl===void 0||n?.finalUrl===void 0?{}:{\u0275routerUrl:this.urlSerializer.serialize(n.finalUrl)}}commitTransition({targetRouterState:n,finalUrl:r,initialUrl:o}){r&&n?(this.currentUrlTree=r,this.rawUrlTree=this.urlHandlingStrategy.merge(r,o),this.routerState=n):this.rawUrlTree=o}routerState=Pm(null,h(K));getRouterState(){return this.routerState}_stateMemento=this.createStateMemento();get stateMemento(){return this._stateMemento}updateStateMemento(){this._stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}restoredState(){return this.location.getState()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=Y({token:e,factory:()=>h(h0)})}return e})(),h0=(()=>{class e extends bd{currentPageId=0;lastSuccessfulId=-1;get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(n){return this.location.subscribe(r=>{r.type==="popstate"&&setTimeout(()=>{n(r.url,r.state,"popstate",{replaceUrl:!0},r.hasUAVisualTransition)})})}handleRouterEvent(n,r){n instanceof Pn?this.updateStateMemento():n instanceof bt?this.commitTransition(r):n instanceof Qo?this.urlUpdateStrategy==="eager"&&(r.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(r),r)):n instanceof Tr?(this.commitTransition(r),this.urlUpdateStrategy==="deferred"&&!r.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(r),r)):n instanceof Fe?jm(n)?n.code===fe.Redirect&&this.routerState===r.targetRouterState&&this.resetInternalState(r):this.restoreHistory(r):n instanceof kn?this.restoreHistory(r,!0):n instanceof It&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,r){let{extras:o,id:i}=r,{replaceUrl:s,state:a}=o;if(this.location.isCurrentPathEqualTo(n)||s){let c=this.browserPageId,l=m(m({},a),this.generateNgRouterState(i,c,r));this.location.replaceState(n,"",l)}else{let c=m(m({},a),this.generateNgRouterState(i,this.browserPageId+1,r));this.location.go(n,"",c)}}restoreHistory(n,r=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,i=this.currentPageId-o;i!==0?this.location.historyGo(i):this.getCurrentUrlTree()===n.finalUrl&&i===0&&(this.resetInternalState(n),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(r&&this.resetInternalState(n),this.resetUrlToCurrentUrlTree())}resetInternalState({finalUrl:n}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,r,o){return this.canceledNavigationResolution==="computed"?m({navigationId:n,\u0275routerPageId:r},this.routerUrlState(o)):m({navigationId:n},this.routerUrlState(o))}static \u0275fac=function(r){return new(r||e)};static \u0275prov=Y({token:e,factory:e.\u0275fac})}return e})();function Sd(e,t){e.events.pipe(He(n=>n instanceof It||n instanceof Fe||n instanceof kn||n instanceof bt),z(n=>n instanceof It||n instanceof bt?0:(n instanceof Fe?n.code===fe.Redirect||n.code===fe.SupersededByNewNavigation:!1)?2:1),He(n=>n!==2),Mt(1)).subscribe(()=>{t()})}var $a=(()=>{class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=h(Cu);stateManager=h(bd);options=h(oi,{optional:!0})||{};pendingTasks=h(Dt);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=h(ry);urlSerializer=h(ti);location=h(yr);urlHandlingStrategy=h(Ha);injector=h(K);_events=new q;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=h(sy);injectorCleanup=h(iy,{optional:!0});onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=h(ii,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!h(Ba,{optional:!0});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:n=>{}}),this.subscribeToNavigationEvents()}eventsSubscription=new ie;subscribeToNavigationEvents(){let n=this.navigationTransitions.events.subscribe(r=>{try{let o=this.navigationTransitions.currentTransition,i=be(this.navigationTransitions.currentNavigation);if(o!==null&&i!==null){if(this.stateManager.handleRouterEvent(r,i),r instanceof Fe&&r.code!==fe.Redirect&&r.code!==fe.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof It)this.navigated=!0,this.injectorCleanup?.(this.routeReuseStrategy,this.routerState,this.config);else if(r instanceof _r){let s=r.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(r.url,o.currentRawUrl),c=m({scroll:o.extras.scroll,browserUrl:o.extras.browserUrl,info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:o.extras.replaceUrl||this.urlUpdateStrategy==="eager"||f0(o.source)},s);this.scheduleNavigation(a,$o,null,c,o.hasUAVisualTransition,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}gb(r)&&this._events.next(r)}catch(o){this.navigationTransitions.transitionAbortWithErrorSubject.next(o)}});this.eventsSubscription.add(n)}resetRootComponentType(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),$o,this.stateManager.restoredState(),{replaceUrl:!0})}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((n,r,o,i,s)=>{this.navigateToSyncWithBrowser(n,o,r,i,s)})}navigateToSyncWithBrowser(n,r,o,i,s){let a=o?.navigationId?o:null,c=o?.\u0275routerUrl??n;if(o?.\u0275routerUrl&&(i=G(m({},i),{browserUrl:n})),o){let u=m({},o);delete u.navigationId,delete u.\u0275routerPageId,delete u.\u0275routerUrl,Object.keys(u).length!==0&&(i.state=u)}let l=this.parseUrl(c);this.scheduleNavigation(l,r,a,i,s).catch(u=>{this.disposed||this.injector.get(Ne)(u)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return be(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(wd),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription?.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0,this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(n,r={}){let{relativeTo:o,queryParams:i,fragment:s,queryParamsHandling:a,preserveFragment:c}=r,l=c?this.currentUrlTree.fragment:s,u=null;switch(a??this.options.defaultQueryParamsHandling){case"merge":u=m(m({},this.currentUrlTree.queryParams),i);break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=i||null}u!==null&&(u=this.removeEmptyProps(u));let d;try{let p=o?o.snapshot:this.routerState.snapshot.root;d=Rm(p)}catch{(typeof n[0]!="string"||n[0][0]!=="/")&&(n=[]),d=this.currentUrlTree.root}return xm(d,n,u,l??null,this.urlSerializer)}navigateByUrl(n,r={skipLocationChange:!1}){let o=br(n)?n:this.parseUrl(n),i=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(i,$o,null,r)}navigate(n,r={skipLocationChange:!1}){return g0(n),this.navigateByUrl(this.createUrlTree(n,r),r)}serializeUrl(n){return this.urlSerializer.serialize(n)}parseUrl(n){try{return this.urlSerializer.parse(n)}catch{return this.console.warn(an(4018,!1)),this.urlSerializer.parse("/")}}isActive(n,r){let o;if(r===!0?o=m({},Cm):r===!1?o=m({},wa):o=m(m({},wa),r),br(n))return id(this.currentUrlTree,n,o);let i=this.parseUrl(n);return id(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,a){if(this.disposed)return Promise.resolve(!1);let c,l,u;a?(c=a.resolve,l=a.reject,u=a.promise):u=new Promise((p,f)=>{c=p,l=f});let d=this.pendingTasks.add();return Sd(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(d))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:i,hasUAVisualTransition:s,resolve:c,reject:l,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(Promise.reject.bind(Promise))}static \u0275fac=function(r){return new(r||e)};static \u0275prov=Y({token:e,factory:e.\u0275fac})}return e})();function g0(e){for(let t=0;t<e.length;t++)if(e[t]==null)throw new y(4008,!1)}var v0=new E("");function Td(e,...t){return gt([{provide:ii,multi:!0,useValue:e},{provide:Wt,useFactory:D0},{provide:qs,multi:!0,useFactory:E0},t.map(n=>n.\u0275providers)])}function D0(){return h($a).routerState.root}function E0(){let e=h(Je);return t=>{let n=e.get(fr);if(t!==n.components[0])return;let r=e.get($a),o=e.get(C0);e.get(w0)===1&&r.initialNavigation(),e.get(I0,null,{optional:!0})?.setUpPreloading(),e.get(v0,null,{optional:!0})?.init(),r.resetRootComponentType(n.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}var C0=new E("",{factory:()=>new q}),w0=new E("",{factory:()=>1});var I0=new E("");var ay=[];var cy={providers:[Ku(),yl(),Td(ay)]};var za=class e{http=h(ga);metrics$=Fi(0,1e3).pipe(ae(()=>this.http.get("/api/system/metrics")),Ui({bufferSize:1,refCount:!0}));processes$=Fi(0,1e3).pipe(ae(()=>this.http.get("/api/system/processes").pipe(_t(t=>(console.error("Failed to load system processes",t),A([]))))),ae(t=>A(Array.isArray(t)?t:t.value)),Ui({bufferSize:1,refCount:!0}));static \u0275fac=function(n){return new(n||e)};static \u0275prov=k({token:e,factory:e.\u0275fac,providedIn:"root"})};var S0=(e,t)=>t.pid;function T0(e,t){if(e&1&&(C(0,"section",14)(1,"div")(2,"span",15),I(3,"HOSTNAME"),w(),C(4,"strong"),I(5),w()(),C(6,"div")(7,"span",15),I(8,"OPERATING SYSTEM"),w(),C(9,"strong"),I(10),w()(),C(11,"div")(12,"span",15),I(13,"PROCESSOR"),w(),C(14,"strong"),I(15),w(),C(16,"span",8),I(17),w()()(),C(18,"section",16)(19,"article",17)(20,"div",18)(21,"span",19),I(22,"CPU"),w(),C(23,"span",8),I(24,"Processor load"),w()(),C(25,"div",20),I(26),Ht(27,"number"),C(28,"span"),I(29,"%"),w()(),C(30,"div",21),Ut(31,"div",22),w(),C(32,"p",23),I(33,"Total CPU utilization"),w()(),C(34,"article",17)(35,"div",18)(36,"span",24),I(37,"RAM"),w(),C(38,"span",8),I(39,"Physical memory"),w()(),C(40,"div",20),I(41),Ht(42,"number"),C(43,"span"),I(44,"%"),w()(),C(45,"div",25),Ut(46,"div",26),w(),C(47,"div",27)(48,"span"),I(49),w(),C(50,"span"),I(51),w()(),C(52,"p",23),I(53),w()()()),e&2){let n=t,r=it();L(5),Le(n.hostname),L(5),Xs("",n.operatingSystem," ",n.osVersion),L(5),Le(n.processor),L(2),me(" ",n.logicalProcessors," logical processors "),L(9),me(" ",No(27,16,n.cpuUsagePercent,"1.1-1")),L(4),wo("aria-valuenow",n.cpuUsagePercent),L(),gr("width",n.cpuUsagePercent,"%"),L(10),me(" ",No(42,19,n.memoryUsagePercent,"1.1-1")),L(4),wo("aria-valuenow",n.memoryUsagePercent),L(),gr("width",n.memoryUsagePercent,"%"),L(3),me(" Used: ",r.formatBytes(n.usedMemoryBytes)," "),L(2),me(" Total: ",r.formatBytes(n.totalMemoryBytes)," "),L(2),me(" Available: ",r.formatBytes(n.availableMemoryBytes)," ")}}function _0(e,t){e&1&&(C(0,"section",5),Ut(1,"div",28),C(2,"p"),I(3,"Connecting to system metrics..."),w()())}function M0(e,t){if(e&1&&(C(0,"span",9),I(1),w()),e&2){let n=it();L(),me("",n.getSortedProcesses(t).length," processes")}}function N0(e,t){if(e&1&&(C(0,"tr")(1,"td",32),I(2),w(),C(3,"td",33),I(4),w(),C(5,"td")(6,"span",34),I(7),w()(),C(8,"td",31)(9,"span",35),I(10),Ht(11,"number"),w(),C(12,"div",36),Ut(13,"div",37),w()(),C(14,"td",31),I(15),w(),C(16,"td",31),I(17),w(),C(18,"td",31),I(19),w(),C(20,"td"),I(21),w()()),e&2){let n=t.$implicit,r=it(2);L(2),Le(n.pid),L(2),Le(n.name),L(3),Le(n.state),L(2),Ks("cpu-high",n.cpuUsagePercent>=80),L(),me(" ",No(11,12,n.cpuUsagePercent,"1.1-1"),"% "),L(3),gr("width",r.clampPercent(n.cpuUsagePercent),"%"),L(2),me(" ",r.formatBytes(n.residentMemoryBytes)," "),L(2),me(" ",r.formatBytes(n.virtualMemoryBytes)," "),L(2),Le(n.threadCount),L(2),Le(r.formatUptime(n.uptimeSeconds))}}function R0(e,t){e&1&&(C(0,"tr")(1,"td",38),I(2," No matching processes found. "),w()())}function x0(e,t){if(e&1){let n=Zs();C(0,"div",12)(1,"table",29)(2,"thead")(3,"tr")(4,"th")(5,"button",30),Bt("click",function(){At(n);let o=it();return Ot(o.sortBy("pid"))}),I(6,"PID"),w()(),C(7,"th")(8,"button",30),Bt("click",function(){At(n);let o=it();return Ot(o.sortBy("name"))}),I(9,"Process"),w()(),C(10,"th"),I(11,"State"),w(),C(12,"th",31)(13,"button",30),Bt("click",function(){At(n);let o=it();return Ot(o.sortBy("cpu"))}),I(14,"CPU %"),w()(),C(15,"th",31)(16,"button",30),Bt("click",function(){At(n);let o=it();return Ot(o.sortBy("memory"))}),I(17,"Memory"),w()(),C(18,"th",31),I(19,"Virtual memory"),w(),C(20,"th",31),I(21,"Threads"),w(),C(22,"th"),I(23,"Uptime"),w()()(),C(24,"tbody"),So(25,N0,22,15,"tr",null,S0,!1,R0,3,0,"tr"),w()()()}if(e&2){let n=it();L(25),To(n.getSortedProcesses(t))}}function A0(e,t){e&1&&(C(0,"div",5)(1,"p"),I(2,"Loading processes..."),w()())}var Ga=class e{_systemMetricsService=h(za);metrics$=this._systemMetricsService.metrics$;processes$=this._systemMetricsService.processes$;processFilter="";processSort="cpu";sortDescending=!0;getSortedProcesses(t){let n=this.processFilter.trim().toLowerCase();return[...t.filter(o=>o.name.toLowerCase().includes(n)||String(o.pid).includes(n))].sort((o,i)=>{let s;switch(this.processSort){case"cpu":s=o.cpuUsagePercent-i.cpuUsagePercent;break;case"memory":s=o.residentMemoryBytes-i.residentMemoryBytes;break;case"name":s=o.name.localeCompare(i.name);break;case"pid":s=o.pid-i.pid;break}return this.sortDescending?-s:s})}sortBy(t){if(this.processSort===t){this.sortDescending=!this.sortDescending;return}this.processSort=t,this.sortDescending=!0}formatBytes(t){if(t<=0)return"0 B";let n=["B","KiB","MiB","GiB","TiB"],r=Math.min(Math.floor(Math.log(t)/Math.log(1024)),n.length-1);return`${(t/Math.pow(1024,r)).toFixed(2)} ${n[r]}`}formatUptime(t){let n=Math.max(0,Math.floor(t)),r=Math.floor(n/86400),o=Math.floor(n%86400/3600),i=Math.floor(n%3600/60);return r>0?`${r}d ${o}h`:o>0?`${o}h ${i}m`:`${i}m`}clampPercent(t){return Math.max(0,Math.min(100,t))}static \u0275fac=function(n){return new(n||e)};static \u0275cmp=Mn({type:e,selectors:[["app-dashboard"]],decls:35,vars:10,consts:[["processSearch",""],[1,"dashboard"],[1,"page-header"],[1,"live-indicator"],[1,"live-dot"],[1,"loading"],[1,"processes-section"],[1,"processes-header"],[1,"muted"],[1,"process-count"],[1,"process-search"],["type","search","placeholder","Process name or PID...",3,"input","value"],[1,"table-scroll"],[1,"dashboard-footer"],[1,"system-info"],[1,"label"],[1,"metrics-grid"],[1,"metric-card"],[1,"card-heading"],[1,"metric-icon","cpu-icon"],[1,"metric-value"],["role","progressbar","aria-label","CPU usage","aria-valuemin","0","aria-valuemax","100",1,"progress-track"],[1,"progress-fill","cpu-fill"],[1,"card-footer"],[1,"metric-icon","memory-icon"],["role","progressbar","aria-label","Memory usage","aria-valuemin","0","aria-valuemax","100",1,"progress-track"],[1,"progress-fill","memory-fill"],[1,"memory-details"],[1,"spinner"],[1,"process-table"],["type","button",3,"click"],[1,"numeric"],[1,"pid-cell"],[1,"process-name"],[1,"process-state"],[1,"cpu-value"],[1,"mini-progress"],[1,"mini-progress-fill"],["colspan","8",1,"empty-processes"]],template:function(n,r){if(n&1){let o=Zs();C(0,"main",1)(1,"header",2)(2,"div")(3,"h1"),I(4,"htop-web"),w(),C(5,"p"),I(6,"System monitoring dashboard"),w()(),C(7,"span",3),Ut(8,"span",4),I(9," Live monitoring "),w()(),Io(10,T0,54,22),Ht(11,"async"),pr(12,_0,4,0,"section",5),C(13,"section",6)(14,"header",7)(15,"div")(16,"h2"),I(17,"Processes"),w(),C(18,"p",8),I(19,"Live Windows process monitor"),w()(),Io(20,M0,2,1,"span",9),Ht(21,"async"),w(),C(22,"label",10)(23,"span"),I(24,"Search"),w(),C(25,"input",11,0),Bt("input",function(){At(o);let s=Iu(26);return Ot(r.processFilter=s.value)}),w()(),Io(27,x0,28,1,"div",12),Ht(28,"async"),pr(29,A0,3,0,"div",5),w(),C(30,"footer",13)(31,"span"),I(32,"htop-web"),w(),C(33,"span"),I(34,"Refresh interval: 2 seconds"),w()()()}if(n&2){let o,i,s;L(10),bo((o=Mo(11,4,r.metrics$))?10:12,o),L(10),bo((i=Mo(21,6,r.processes$))?20:-1,i),L(5),Ys("value",r.processFilter),L(2),bo((s=Mo(28,8,r.processes$))?27:29,s)}},dependencies:[Lu,Fu],styles:["[_nghost-%COMP%]{display:block;min-height:100vh;background:#0b1120;color:#e5e7eb;font-family:Inter,Segoe UI,sans-serif}.dashboard[_ngcontent-%COMP%]{max-width:1440px;margin:0 auto;padding:32px}.page-header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px}.page-header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:0;font-size:30px;font-weight:700;letter-spacing:-1px}.page-header[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:8px 0 0;color:#94a3b8}.live-indicator[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:9px;padding:9px 13px;border:1px solid #23483c;border-radius:20px;background:#10271f;color:#86efac;font-size:13px}.live-dot[_ngcontent-%COMP%]{width:8px;height:8px;border-radius:50%;background:#4ade80;box-shadow:0 0 10px #4ade8080}.system-info[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:20px}.system-info[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:8px;min-width:0;padding:20px;border:1px solid #263449;border-radius:12px;background:#111c2e}.system-info[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{overflow-wrap:anywhere;font-size:14px;font-weight:600}.label[_ngcontent-%COMP%]{color:#8292aa;font-size:11px;font-weight:700;letter-spacing:1px}.muted[_ngcontent-%COMP%]{color:#94a3b8;font-size:13px}.metrics-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.metric-card[_ngcontent-%COMP%]{padding:24px;border:1px solid #263449;border-radius:14px;background:#111c2e}.card-heading[_ngcontent-%COMP%]{display:flex;align-items:center;gap:12px}.metric-icon[_ngcontent-%COMP%]{display:grid;place-items:center;width:42px;height:42px;border-radius:10px;font-size:12px;font-weight:800}.cpu-icon[_ngcontent-%COMP%]{background:#172e4d;color:#60a5fa}.memory-icon[_ngcontent-%COMP%]{background:#40251e;color:#fb923c}.metric-value[_ngcontent-%COMP%]{margin:24px 0 18px;font-size:clamp(36px,5vw,52px);font-weight:700;letter-spacing:-2px}.metric-value[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin-left:4px;color:#94a3b8;font-size:24px}.progress-track[_ngcontent-%COMP%]{height:8px;overflow:hidden;border-radius:8px;background:#263449}.progress-fill[_ngcontent-%COMP%]{height:100%;border-radius:inherit;transition:width .4s ease}.cpu-fill[_ngcontent-%COMP%]{background:#60a5fa}.memory-fill[_ngcontent-%COMP%]{background:#fb923c}.memory-details[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;margin-top:18px;color:#cbd5e1;font-size:12px}.card-footer[_ngcontent-%COMP%]{margin:18px 0 0;color:#8292aa;font-size:12px}.loading[_ngcontent-%COMP%]{display:grid;justify-items:center;gap:16px;padding:80px 20px;color:#94a3b8}.spinner[_ngcontent-%COMP%]{width:32px;height:32px;border:3px solid #263449;border-top-color:#60a5fa;border-radius:50%;animation:_ngcontent-%COMP%_spin .8s linear infinite}.dashboard-footer[_ngcontent-%COMP%]{display:flex;justify-content:space-between;gap:12px;margin-top:28px;padding-top:18px;border-top:1px solid #263449;color:#8292aa;font-size:12px}@keyframes _ngcontent-%COMP%_spin{to{transform:rotate(360deg)}}@media(max-width:760px){.dashboard[_ngcontent-%COMP%]{padding:20px 14px}.system-info[_ngcontent-%COMP%], .metrics-grid[_ngcontent-%COMP%]{grid-template-columns:1fr}.page-header[_ngcontent-%COMP%]{align-items:flex-start}.live-indicator[_ngcontent-%COMP%]{font-size:11px}}.processes-section[_ngcontent-%COMP%]{margin-top:28px;padding:24px;border:1px solid #29313d;border-radius:12px;background:#151a22;color:#e5e7eb}.processes-header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.processes-header[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{margin:0 0 6px;font-size:20px}.processes-header[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0}.process-count[_ngcontent-%COMP%]{padding:6px 10px;border:1px solid #374151;border-radius:6px;color:#a5b4fc;font-size:12px;white-space:nowrap}.process-search[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:8px;max-width:380px;margin-bottom:18px;color:#9ca3af;font-size:12px}.process-search[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{width:100%;box-sizing:border-box;padding:11px 12px;border:1px solid #374151;border-radius:7px;outline:none;background:#0d1117;color:#e5e7eb;font:inherit;font-size:14px}.process-search[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:focus{border-color:#6366f1}.table-scroll[_ngcontent-%COMP%]{overflow-x:auto}.process-table[_ngcontent-%COMP%]{width:100%;border-collapse:collapse;font-size:13px;white-space:nowrap}.process-table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], .process-table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:12px 14px;border-bottom:1px solid #252d38;text-align:left}.process-table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background:#1b222d;color:#9ca3af;font-size:11px;font-weight:600;text-transform:uppercase}.process-table[_ngcontent-%COMP%] th[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{padding:0;border:0;background:transparent;color:inherit;font:inherit;cursor:pointer;text-transform:inherit}.process-table[_ngcontent-%COMP%] th[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover{color:#c7d2fe}.process-table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:hover{background:#1d2531}.process-table[_ngcontent-%COMP%] .numeric[_ngcontent-%COMP%]{text-align:right;font-variant-numeric:tabular-nums}.process-table[_ngcontent-%COMP%] .pid-cell[_ngcontent-%COMP%]{color:#9ca3af;font-variant-numeric:tabular-nums}.process-table[_ngcontent-%COMP%] .process-name[_ngcontent-%COMP%]{max-width:240px;overflow:hidden;text-overflow:ellipsis;font-weight:600}.process-state[_ngcontent-%COMP%]{display:inline-block;padding:3px 7px;border-radius:4px;background:#163629;color:#86efac;font-size:11px}.cpu-value[_ngcontent-%COMP%]{display:inline-block;min-width:60px}.cpu-high[_ngcontent-%COMP%]{color:#fca5a5}.mini-progress[_ngcontent-%COMP%]{width:60px;height:3px;margin:5px 0 0 auto;overflow:hidden;border-radius:3px;background:#303846}.mini-progress-fill[_ngcontent-%COMP%]{height:100%;border-radius:inherit;background:#818cf8;transition:width .2s ease}.empty-processes[_ngcontent-%COMP%]{padding:30px!important;color:#9ca3af;text-align:center!important}@media(max-width:768px){.processes-section[_ngcontent-%COMP%]{padding:14px}.processes-header[_ngcontent-%COMP%]{align-items:flex-start}.process-table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], .process-table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:10px}}"]})};var O0=()=>({title:"Explore the Docs",link:"https://angular.dev"}),P0=()=>({title:"Learn with Tutorials",link:"https://angular.dev/tutorials"}),k0=()=>({title:"Prompt and best practices for AI",link:"https://angular.dev/ai/develop-with-ai"}),L0=()=>({title:"CLI Docs",link:"https://angular.dev/tools/cli"}),F0=()=>({title:"Angular Language Service",link:"https://angular.dev/tools/language-service"}),j0=()=>({title:"Angular DevTools",link:"https://angular.dev/tools/devtools"}),U0=(e,t,n,r,o,i)=>[e,t,n,r,o,i],B0=(e,t)=>t.title;function V0(e,t){if(e&1&&(te(0,"a",21)(1,"span"),I(2),he(),kt(),te(3,"svg",32),ge(4,"path",33),he()()),e&2){let n=t.$implicit;Ws("href",n.link,ou),L(2),Le(n.title)}}var qa=class e{title=Lt("frontend");static \u0275fac=function(n){return new(n||e)};static \u0275cmp=Mn({type:e,selectors:[["app-root"]],decls:40,vars:14,consts:[[1,"main"],[1,"content"],[1,"left-side"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 982 239","fill","none",1,"angular-logo"],["clip-path","url(#a)"],["fill","url(#b)","d","M388.676 191.625h30.849L363.31 31.828h-35.758l-56.215 159.797h30.848l13.174-39.356h60.061l13.256 39.356Zm-65.461-62.675 21.602-64.311h1.227l21.602 64.311h-44.431Zm126.831-7.527v70.202h-28.23V71.839h27.002v20.374h1.392c2.782-6.71 7.2-12.028 13.255-15.956 6.056-3.927 13.584-5.89 22.503-5.89 8.264 0 15.465 1.8 21.684 5.318 6.137 3.518 10.964 8.673 14.319 15.382 3.437 6.71 5.074 14.81 4.992 24.383v76.175h-28.23v-71.92c0-8.019-2.046-14.237-6.219-18.819-4.173-4.5-9.819-6.791-17.102-6.791-4.91 0-9.328 1.063-13.174 3.272-3.846 2.128-6.792 5.237-9.001 9.328-2.046 4.009-3.191 8.918-3.191 14.728ZM589.233 239c-10.147 0-18.82-1.391-26.103-4.091-7.282-2.7-13.092-6.382-17.511-10.964-4.418-4.582-7.528-9.655-9.164-15.219l25.448-6.136c1.145 2.372 2.782 4.663 4.991 6.954 2.209 2.291 5.155 4.255 8.837 5.81 3.683 1.554 8.428 2.291 14.074 2.291 8.019 0 14.647-1.964 19.884-5.81 5.237-3.845 7.856-10.227 7.856-19.064v-22.665h-1.391c-1.473 2.946-3.601 5.892-6.383 9.001-2.782 3.109-6.464 5.645-10.965 7.691-4.582 2.046-10.228 3.109-17.101 3.109-9.165 0-17.511-2.209-25.039-6.545-7.446-4.337-13.42-10.883-17.757-19.474-4.418-8.673-6.628-19.473-6.628-32.565 0-13.091 2.21-24.301 6.628-33.383 4.419-9.082 10.311-15.955 17.839-20.7 7.528-4.746 15.874-7.037 25.039-7.037 7.037 0 12.846 1.145 17.347 3.518 4.582 2.373 8.182 5.236 10.883 8.51 2.7 3.272 4.746 6.382 6.137 9.327h1.554v-19.8h27.821v121.749c0 10.228-2.454 18.737-7.364 25.447-4.91 6.709-11.538 11.7-20.048 15.055-8.509 3.355-18.165 4.991-28.884 4.991Zm.245-71.266c5.974 0 11.047-1.473 15.302-4.337 4.173-2.945 7.446-7.118 9.573-12.519 2.21-5.482 3.274-12.027 3.274-19.637 0-7.609-1.064-14.155-3.274-19.8-2.127-5.646-5.318-10.064-9.491-13.255-4.174-3.11-9.329-4.746-15.384-4.746s-11.537 1.636-15.792 4.91c-4.173 3.272-7.365 7.772-9.492 13.418-2.128 5.727-3.191 12.191-3.191 19.392 0 7.2 1.063 13.745 3.273 19.228 2.127 5.482 5.318 9.736 9.573 12.764 4.174 3.027 9.41 4.582 15.629 4.582Zm141.56-26.51V71.839h28.23v119.786h-27.412v-21.273h-1.227c-2.7 6.709-7.119 12.191-13.338 16.446-6.137 4.255-13.747 6.382-22.748 6.382-7.855 0-14.81-1.718-20.783-5.237-5.974-3.518-10.72-8.591-14.075-15.382-3.355-6.709-5.073-14.891-5.073-24.464V71.839h28.312v71.921c0 7.609 2.046 13.664 6.219 18.083 4.173 4.5 9.655 6.709 16.365 6.709 4.173 0 8.183-.982 12.111-3.028 3.927-2.045 7.118-5.072 9.655-9.082 2.537-4.091 3.764-9.164 3.764-15.218Zm65.707-109.395v159.796h-28.23V31.828h28.23Zm44.841 162.169c-7.61 0-14.402-1.391-20.457-4.091-6.055-2.7-10.883-6.791-14.32-12.109-3.518-5.319-5.237-11.946-5.237-19.801 0-6.791 1.228-12.355 3.765-16.773 2.536-4.419 5.891-7.937 10.228-10.637 4.337-2.618 9.164-4.664 14.647-6.055 5.4-1.391 11.046-2.373 16.856-3.027 7.037-.737 12.683-1.391 17.102-1.964 4.337-.573 7.528-1.555 9.574-2.782 1.963-1.309 3.027-3.273 3.027-5.973v-.491c0-5.891-1.718-10.391-5.237-13.664-3.518-3.191-8.51-4.828-15.056-4.828-6.955 0-12.356 1.473-16.447 4.5-4.009 3.028-6.71 6.546-8.183 10.719l-26.348-3.764c2.046-7.282 5.483-13.336 10.31-18.328 4.746-4.909 10.638-8.59 17.511-11.045 6.955-2.455 14.565-3.682 22.912-3.682 5.809 0 11.537.654 17.265 2.045s10.965 3.6 15.711 6.71c4.746 3.109 8.51 7.282 11.455 12.6 2.864 5.318 4.337 11.946 4.337 19.883v80.184h-27.166v-16.446h-.9c-1.719 3.355-4.092 6.464-7.201 9.328-3.109 2.864-6.955 5.237-11.619 6.955-4.828 1.718-10.229 2.536-16.529 2.536Zm7.364-20.701c5.646 0 10.556-1.145 14.729-3.354 4.173-2.291 7.364-5.237 9.655-9.001 2.292-3.763 3.355-7.854 3.355-12.273v-14.155c-.9.737-2.373 1.391-4.5 2.046-2.128.654-4.419 1.145-7.037 1.636-2.619.491-5.155.9-7.692 1.227-2.537.328-4.746.655-6.628.901-4.173.572-8.019 1.472-11.292 2.781-3.355 1.31-5.973 3.11-7.855 5.401-1.964 2.291-2.864 5.318-2.864 8.918 0 5.237 1.882 9.164 5.728 11.782 3.682 2.782 8.51 4.091 14.401 4.091Zm64.643 18.328V71.839h27.412v19.965h1.227c2.21-6.955 5.974-12.274 11.292-16.038 5.319-3.763 11.456-5.645 18.329-5.645 1.555 0 3.355.082 5.237.163 1.964.164 3.601.328 4.91.573v25.938c-1.227-.41-3.109-.819-5.646-1.146a58.814 58.814 0 0 0-7.446-.49c-5.155 0-9.738 1.145-13.829 3.354-4.091 2.209-7.282 5.236-9.655 9.164-2.373 3.927-3.519 8.427-3.519 13.5v70.448h-28.312ZM222.077 39.192l-8.019 125.923L137.387 0l84.69 39.192Zm-53.105 162.825-57.933 33.056-57.934-33.056 11.783-28.556h92.301l11.783 28.556ZM111.039 62.675l30.357 73.803H80.681l30.358-73.803ZM7.937 165.115 0 39.192 84.69 0 7.937 165.115Z"],["fill","url(#c)","d","M388.676 191.625h30.849L363.31 31.828h-35.758l-56.215 159.797h30.848l13.174-39.356h60.061l13.256 39.356Zm-65.461-62.675 21.602-64.311h1.227l21.602 64.311h-44.431Zm126.831-7.527v70.202h-28.23V71.839h27.002v20.374h1.392c2.782-6.71 7.2-12.028 13.255-15.956 6.056-3.927 13.584-5.89 22.503-5.89 8.264 0 15.465 1.8 21.684 5.318 6.137 3.518 10.964 8.673 14.319 15.382 3.437 6.71 5.074 14.81 4.992 24.383v76.175h-28.23v-71.92c0-8.019-2.046-14.237-6.219-18.819-4.173-4.5-9.819-6.791-17.102-6.791-4.91 0-9.328 1.063-13.174 3.272-3.846 2.128-6.792 5.237-9.001 9.328-2.046 4.009-3.191 8.918-3.191 14.728ZM589.233 239c-10.147 0-18.82-1.391-26.103-4.091-7.282-2.7-13.092-6.382-17.511-10.964-4.418-4.582-7.528-9.655-9.164-15.219l25.448-6.136c1.145 2.372 2.782 4.663 4.991 6.954 2.209 2.291 5.155 4.255 8.837 5.81 3.683 1.554 8.428 2.291 14.074 2.291 8.019 0 14.647-1.964 19.884-5.81 5.237-3.845 7.856-10.227 7.856-19.064v-22.665h-1.391c-1.473 2.946-3.601 5.892-6.383 9.001-2.782 3.109-6.464 5.645-10.965 7.691-4.582 2.046-10.228 3.109-17.101 3.109-9.165 0-17.511-2.209-25.039-6.545-7.446-4.337-13.42-10.883-17.757-19.474-4.418-8.673-6.628-19.473-6.628-32.565 0-13.091 2.21-24.301 6.628-33.383 4.419-9.082 10.311-15.955 17.839-20.7 7.528-4.746 15.874-7.037 25.039-7.037 7.037 0 12.846 1.145 17.347 3.518 4.582 2.373 8.182 5.236 10.883 8.51 2.7 3.272 4.746 6.382 6.137 9.327h1.554v-19.8h27.821v121.749c0 10.228-2.454 18.737-7.364 25.447-4.91 6.709-11.538 11.7-20.048 15.055-8.509 3.355-18.165 4.991-28.884 4.991Zm.245-71.266c5.974 0 11.047-1.473 15.302-4.337 4.173-2.945 7.446-7.118 9.573-12.519 2.21-5.482 3.274-12.027 3.274-19.637 0-7.609-1.064-14.155-3.274-19.8-2.127-5.646-5.318-10.064-9.491-13.255-4.174-3.11-9.329-4.746-15.384-4.746s-11.537 1.636-15.792 4.91c-4.173 3.272-7.365 7.772-9.492 13.418-2.128 5.727-3.191 12.191-3.191 19.392 0 7.2 1.063 13.745 3.273 19.228 2.127 5.482 5.318 9.736 9.573 12.764 4.174 3.027 9.41 4.582 15.629 4.582Zm141.56-26.51V71.839h28.23v119.786h-27.412v-21.273h-1.227c-2.7 6.709-7.119 12.191-13.338 16.446-6.137 4.255-13.747 6.382-22.748 6.382-7.855 0-14.81-1.718-20.783-5.237-5.974-3.518-10.72-8.591-14.075-15.382-3.355-6.709-5.073-14.891-5.073-24.464V71.839h28.312v71.921c0 7.609 2.046 13.664 6.219 18.083 4.173 4.5 9.655 6.709 16.365 6.709 4.173 0 8.183-.982 12.111-3.028 3.927-2.045 7.118-5.072 9.655-9.082 2.537-4.091 3.764-9.164 3.764-15.218Zm65.707-109.395v159.796h-28.23V31.828h28.23Zm44.841 162.169c-7.61 0-14.402-1.391-20.457-4.091-6.055-2.7-10.883-6.791-14.32-12.109-3.518-5.319-5.237-11.946-5.237-19.801 0-6.791 1.228-12.355 3.765-16.773 2.536-4.419 5.891-7.937 10.228-10.637 4.337-2.618 9.164-4.664 14.647-6.055 5.4-1.391 11.046-2.373 16.856-3.027 7.037-.737 12.683-1.391 17.102-1.964 4.337-.573 7.528-1.555 9.574-2.782 1.963-1.309 3.027-3.273 3.027-5.973v-.491c0-5.891-1.718-10.391-5.237-13.664-3.518-3.191-8.51-4.828-15.056-4.828-6.955 0-12.356 1.473-16.447 4.5-4.009 3.028-6.71 6.546-8.183 10.719l-26.348-3.764c2.046-7.282 5.483-13.336 10.31-18.328 4.746-4.909 10.638-8.59 17.511-11.045 6.955-2.455 14.565-3.682 22.912-3.682 5.809 0 11.537.654 17.265 2.045s10.965 3.6 15.711 6.71c4.746 3.109 8.51 7.282 11.455 12.6 2.864 5.318 4.337 11.946 4.337 19.883v80.184h-27.166v-16.446h-.9c-1.719 3.355-4.092 6.464-7.201 9.328-3.109 2.864-6.955 5.237-11.619 6.955-4.828 1.718-10.229 2.536-16.529 2.536Zm7.364-20.701c5.646 0 10.556-1.145 14.729-3.354 4.173-2.291 7.364-5.237 9.655-9.001 2.292-3.763 3.355-7.854 3.355-12.273v-14.155c-.9.737-2.373 1.391-4.5 2.046-2.128.654-4.419 1.145-7.037 1.636-2.619.491-5.155.9-7.692 1.227-2.537.328-4.746.655-6.628.901-4.173.572-8.019 1.472-11.292 2.781-3.355 1.31-5.973 3.11-7.855 5.401-1.964 2.291-2.864 5.318-2.864 8.918 0 5.237 1.882 9.164 5.728 11.782 3.682 2.782 8.51 4.091 14.401 4.091Zm64.643 18.328V71.839h27.412v19.965h1.227c2.21-6.955 5.974-12.274 11.292-16.038 5.319-3.763 11.456-5.645 18.329-5.645 1.555 0 3.355.082 5.237.163 1.964.164 3.601.328 4.91.573v25.938c-1.227-.41-3.109-.819-5.646-1.146a58.814 58.814 0 0 0-7.446-.49c-5.155 0-9.738 1.145-13.829 3.354-4.091 2.209-7.282 5.236-9.655 9.164-2.373 3.927-3.519 8.427-3.519 13.5v70.448h-28.312ZM222.077 39.192l-8.019 125.923L137.387 0l84.69 39.192Zm-53.105 162.825-57.933 33.056-57.934-33.056 11.783-28.556h92.301l11.783 28.556ZM111.039 62.675l30.357 73.803H80.681l30.358-73.803ZM7.937 165.115 0 39.192 84.69 0 7.937 165.115Z"],["id","c","cx","0","cy","0","r","1","gradientTransform","rotate(118.122 171.182 60.81) scale(205.794)","gradientUnits","userSpaceOnUse"],["stop-color","#FF41F8"],["offset",".707","stop-color","#FF41F8","stop-opacity",".5"],["offset","1","stop-color","#FF41F8","stop-opacity","0"],["id","b","x1","0","x2","982","y1","192","y2","192","gradientUnits","userSpaceOnUse"],["stop-color","#F0060B"],["offset","0","stop-color","#F0070C"],["offset",".526","stop-color","#CC26D5"],["offset","1","stop-color","#7702FF"],["id","a"],["fill","#fff","d","M0 0h982v239H0z"],["role","separator","aria-label","Divider",1,"divider"],[1,"right-side"],[1,"pill-group"],["target","_blank","rel","noopener",1,"pill",3,"href"],[1,"social-links"],["href","https://github.com/angular/angular","aria-label","Github","target","_blank","rel","noopener"],["width","25","height","24","viewBox","0 0 25 24","fill","none","xmlns","http://www.w3.org/2000/svg","alt","Github"],["d","M12.3047 0C5.50634 0 0 5.50942 0 12.3047C0 17.7423 3.52529 22.3535 8.41332 23.9787C9.02856 24.0946 9.25414 23.7142 9.25414 23.3871C9.25414 23.0949 9.24389 22.3207 9.23876 21.2953C5.81601 22.0377 5.09414 19.6444 5.09414 19.6444C4.53427 18.2243 3.72524 17.8449 3.72524 17.8449C2.61064 17.082 3.81137 17.0973 3.81137 17.0973C5.04697 17.1835 5.69604 18.3647 5.69604 18.3647C6.79321 20.2463 8.57636 19.7029 9.27978 19.3881C9.39052 18.5924 9.70736 18.0499 10.0591 17.7423C7.32641 17.4347 4.45429 16.3765 4.45429 11.6618C4.45429 10.3185 4.9311 9.22133 5.72065 8.36C5.58222 8.04931 5.16694 6.79833 5.82831 5.10337C5.82831 5.10337 6.85883 4.77319 9.2121 6.36459C10.1965 6.09082 11.2424 5.95546 12.2883 5.94931C13.3342 5.95546 14.3801 6.09082 15.3644 6.36459C17.7023 4.77319 18.7328 5.10337 18.7328 5.10337C19.3942 6.79833 18.9789 8.04931 18.8559 8.36C19.6403 9.22133 20.1171 10.3185 20.1171 11.6618C20.1171 16.3888 17.2409 17.4296 14.5031 17.7321C14.9338 18.1012 15.3337 18.8559 15.3337 20.0084C15.3337 21.6552 15.3183 22.978 15.3183 23.3779C15.3183 23.7009 15.5336 24.0854 16.1642 23.9623C21.0871 22.3484 24.6094 17.7341 24.6094 12.3047C24.6094 5.50942 19.0999 0 12.3047 0Z"],["href","https://x.com/angular","aria-label","X","target","_blank","rel","noopener"],["width","24","height","24","viewBox","0 0 24 24","fill","none","xmlns","http://www.w3.org/2000/svg","alt","X"],["d","M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"],["href","https://www.youtube.com/channel/UCbn1OgGei-DV7aSRo_HaAiw","aria-label","Youtube","target","_blank","rel","noopener"],["width","29","height","20","viewBox","0 0 29 20","fill","none","xmlns","http://www.w3.org/2000/svg","alt","Youtube"],["fill-rule","evenodd","clip-rule","evenodd","d","M27.4896 1.52422C27.9301 1.96749 28.2463 2.51866 28.4068 3.12258C29.0004 5.35161 29.0004 10 29.0004 10C29.0004 10 29.0004 14.6484 28.4068 16.8774C28.2463 17.4813 27.9301 18.0325 27.4896 18.4758C27.0492 18.9191 26.5 19.2389 25.8972 19.4032C23.6778 20 14.8068 20 14.8068 20C14.8068 20 5.93586 20 3.71651 19.4032C3.11363 19.2389 2.56449 18.9191 2.12405 18.4758C1.68361 18.0325 1.36732 17.4813 1.20683 16.8774C0.613281 14.6484 0.613281 10 0.613281 10C0.613281 10 0.613281 5.35161 1.20683 3.12258C1.36732 2.51866 1.68361 1.96749 2.12405 1.52422C2.56449 1.08095 3.11363 0.76113 3.71651 0.596774C5.93586 0 14.8068 0 14.8068 0C14.8068 0 23.6778 0 25.8972 0.596774C26.5 0.76113 27.0492 1.08095 27.4896 1.52422ZM19.3229 10L11.9036 5.77905V14.221L19.3229 10Z"],["xmlns","http://www.w3.org/2000/svg","height","14","viewBox","0 -960 960 960","width","14","fill","currentColor"],["d","M200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h280v80H200v560h560v-280h80v280q0 33-23.5 56.5T760-120H200Zm188-212-56-56 372-372H560v-80h280v280h-80v-144L388-332Z"]],template:function(n,r){n&1&&(ge(0,"app-dashboard"),te(1,"main",0)(2,"div",1)(3,"div",2),kt(),te(4,"svg",3)(5,"g",4),ge(6,"path",5)(7,"path",6),he(),te(8,"defs")(9,"radialGradient",7),ge(10,"stop",8)(11,"stop",9)(12,"stop",10),he(),te(13,"linearGradient",11),ge(14,"stop",12)(15,"stop",13)(16,"stop",14)(17,"stop",15),he(),te(18,"clipPath",16),ge(19,"path",17),he()()(),Dn(),te(20,"h1"),I(21),he(),te(22,"p"),I(23,"Congratulations! Your app is running. \u{1F389}"),he()(),ge(24,"div",18),te(25,"div",19)(26,"div",20),So(27,V0,5,2,"a",21,B0),he(),te(29,"div",22)(30,"a",23),kt(),te(31,"svg",24),ge(32,"path",25),he()(),Dn(),te(33,"a",26),kt(),te(34,"svg",27),ge(35,"path",28),he()(),Dn(),te(36,"a",29),kt(),te(37,"svg",30),ge(38,"path",31),he()()()()()(),Dn(),ge(39,"router-outlet")),n&2&&(L(21),me("Hello, ",r.title()),L(6),To(bu(7,U0,Vt(1,O0),Vt(2,P0),Vt(3,k0),Vt(4,L0),Vt(5,F0),Vt(6,j0))))},dependencies:[ni,Ga],styles:['[_nghost-%COMP%]{--%NS%bright-blue: oklch(51.01% .274 263.83);--%NS%electric-violet: oklch(53.18% .28 296.97);--%NS%french-violet: oklch(47.66% .246 305.88);--%NS%vivid-pink: oklch(69.02% .277 332.77);--%NS%hot-red: oklch(61.42% .238 15.34);--%NS%orange-red: oklch(63.32% .24 31.68);--%NS%gray-900: oklch(19.37% .006 300.98);--%NS%gray-700: oklch(36.98% .014 302.71);--%NS%gray-400: oklch(70.9% .015 304.04);--%NS%red-to-pink-to-purple-vertical-gradient: linear-gradient( 180deg, var(--%NS%orange-red) 0%, var(--%NS%vivid-pink) 50%, var(--%NS%electric-violet) 100% );--%NS%red-to-pink-to-purple-horizontal-gradient: linear-gradient( 90deg, var(--%NS%orange-red) 0%, var(--%NS%vivid-pink) 50%, var(--%NS%electric-violet) 100% );--%NS%pill-accent: var(--%NS%bright-blue);font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;box-sizing:border-box;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:block;height:100dvh}h1[_ngcontent-%COMP%]{font-size:3.125rem;color:var(--%NS%gray-900);font-weight:500;line-height:100%;letter-spacing:-.125rem;margin:0;font-family:Inter Tight,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol}p[_ngcontent-%COMP%]{margin:0;color:var(--%NS%gray-700)}main[_ngcontent-%COMP%]{width:100%;min-height:100%;display:flex;justify-content:center;align-items:center;padding:1rem;box-sizing:inherit;position:relative}.angular-logo[_ngcontent-%COMP%]{max-width:9.2rem}.content[_ngcontent-%COMP%]{display:flex;justify-content:space-around;width:100%;max-width:700px;margin-bottom:3rem}.content[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin-top:1.75rem}.content[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-top:1.5rem}.divider[_ngcontent-%COMP%]{width:1px;background:var(--%NS%red-to-pink-to-purple-vertical-gradient);margin-inline:.5rem}.pill-group[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:start;flex-wrap:wrap;gap:1.25rem}.pill[_ngcontent-%COMP%]{display:flex;align-items:center;--%NS%pill-accent: var(--%NS%bright-blue);background:color-mix(in srgb,var(--%NS%pill-accent) 5%,transparent);color:var(--%NS%pill-accent);padding-inline:.75rem;padding-block:.375rem;border-radius:2.75rem;border:0;transition:background .3s ease;font-family:var(--%NS%inter-font);font-size:.875rem;font-style:normal;font-weight:500;line-height:1.4rem;letter-spacing:-.00875rem;text-decoration:none;white-space:nowrap}.pill[_ngcontent-%COMP%]:hover{background:color-mix(in srgb,var(--%NS%pill-accent) 15%,transparent)}.pill-group[_ngcontent-%COMP%] .pill[_ngcontent-%COMP%]:nth-child(6n+1){--%NS%pill-accent: var(--%NS%bright-blue)}.pill-group[_ngcontent-%COMP%] .pill[_ngcontent-%COMP%]:nth-child(6n+2){--%NS%pill-accent: var(--%NS%electric-violet)}.pill-group[_ngcontent-%COMP%] .pill[_ngcontent-%COMP%]:nth-child(6n+3){--%NS%pill-accent: var(--%NS%french-violet)}.pill-group[_ngcontent-%COMP%] .pill[_ngcontent-%COMP%]:nth-child(6n+4), .pill-group[_ngcontent-%COMP%] .pill[_ngcontent-%COMP%]:nth-child(6n+5), .pill-group[_ngcontent-%COMP%] .pill[_ngcontent-%COMP%]:nth-child(6n+6){--%NS%pill-accent: var(--%NS%hot-red)}.pill-group[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{margin-inline-start:.25rem}.social-links[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.73rem;margin-top:1.5rem}.social-links[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{transition:fill .3s ease;fill:var(--%NS%gray-400)}.social-links[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover svg[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{fill:var(--%NS%gray-900)}@media screen and (max-width:650px){.content[_ngcontent-%COMP%]{flex-direction:column;width:max-content}.divider[_ngcontent-%COMP%]{height:1px;width:100%;background:var(--%NS%red-to-pink-to-purple-horizontal-gradient);margin-block:1.5rem}}']})};Gu(qa,cy).catch(e=>console.error(e));