var gh=Object.defineProperty,mh=Object.defineProperties;var yh=Object.getOwnPropertyDescriptors;var $c=Object.getOwnPropertySymbols;var Dh=Object.prototype.hasOwnProperty,vh=Object.prototype.propertyIsEnumerable;var Uc=(e,t,n)=>t in e?gh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,U=(e,t)=>{for(var n in t||={})Dh.call(t,n)&&Uc(e,n,t[n]);if($c)for(var n of $c(t))vh.call(t,n)&&Uc(e,n,t[n]);return e},Z=(e,t)=>mh(e,yh(t));var Y=null,br=!1,Ti=1,Eh=null,H=Symbol("SIGNAL");function D(e){let t=Y;return Y=e,t}function _r(){return Y}var ct={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 ut(e){if(br)throw new Error("");if(Y===null)return;Y.consumerOnSignalRead(e);let t=Y.producersTail;if(t!==void 0&&t.producer===e)return;let n,r=Y.recomputing;if(r&&(n=t!==void 0?t.nextProducer:Y.producers,n!==void 0&&n.producer===e)){Y.producersTail=n,n.lastReadVersion=e.version;return}let o=e.consumersTail;if(o!==void 0&&o.consumer===Y&&(!r||Ch(o,Y)))return;let i=zt(Y),s={producer:e,consumer:Y,nextProducer:n,prevConsumer:o,lastReadVersion:e.version,nextConsumer:void 0};Y.producersTail=s,t!==void 0?t.nextProducer=s:Y.producers=s,i&&qc(e,s)}function Gc(){Ti++}function lt(e){if(!(zt(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===Ti)){if(!e.producerMustRecompute(e)&&!Tr(e)){Ut(e);return}e.producerRecomputeValue(e),Ut(e)}}function Si(e){if(e.consumers===void 0)return;let t=br;br=!0;try{for(let n=e.consumers;n!==void 0;n=n.nextConsumer){let r=n.consumer;r.dirty||Ih(r)}}finally{br=t}}function Mi(){return Y?.consumerAllowSignalWrites!==!1}function Ih(e){e.dirty=!0,Si(e),e.consumerMarkedDirty?.(e)}function Ut(e){e.dirty=!1,e.lastCleanEpoch=Ti}function dt(e){return e&&zc(e),D(e)}function zc(e){e.producersTail=void 0,e.recomputing=!0}function Gt(e,t){D(t),e&&Wc(e)}function Wc(e){e.recomputing=!1;let t=e.producersTail,n=t!==void 0?t.nextProducer:e.producers;if(n!==void 0){if(zt(e))do n=Ni(n);while(n!==void 0);t!==void 0?t.nextProducer=void 0:e.producers=void 0}}function Tr(e){for(let t=e.producers;t!==void 0;t=t.nextProducer){let n=t.producer,r=t.lastReadVersion;if(r!==n.version||(lt(n),r!==n.version))return!0}return!1}function bn(e){if(zt(e)){let t=e.producers;for(;t!==void 0;)t=Ni(t)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function qc(e,t){let n=e.consumersTail,r=zt(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)qc(o.producer,o)}function Ni(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,!zt(t)){let i=t.producers;for(;i!==void 0;)i=Ni(i)}return n}function zt(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function _n(e){Eh?.(e)}function Ch(e,t){let n=t.producersTail;if(n!==void 0){let r=t.producers;do{if(r===e)return!0;if(r===n)break;r=r.nextProducer}while(r!==void 0)}return!1}function Tn(e,t){return Object.is(e,t)}function Sn(e,t){let n=Object.create(wh);n.computation=e,t!==void 0&&(n.equal=t);let r=()=>{if(lt(n),ut(n),n.value===we)throw n.error;return n.value};return r[H]=n,_n(n),r}var Ye=Symbol("UNSET"),at=Symbol("COMPUTING"),we=Symbol("ERRORED"),wh=Z(U({},ct),{value:Ye,dirty:!0,error:null,equal:Tn,kind:"computed",producerMustRecompute(e){return e.value===Ye||e.value===at},producerRecomputeValue(e){if(e.value===at)throw new Error("");let t=e.value;e.value=at;let n=dt(e),r,o=!1;try{r=e.computation(),D(null),o=t!==Ye&&t!==we&&r!==we&&e.equal(t,r)}catch(i){r=we,e.error=i}finally{Gt(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function bh(){throw new Error}var Zc=bh;function Yc(e){Zc(e)}function xi(e){Zc=e}var _h=null;function Ai(e,t){let n=Object.create(Mr);n.value=e,t!==void 0&&(n.equal=t);let r=()=>Qc(n);return r[H]=n,_n(n),[r,s=>ft(n,s),s=>Sr(n,s)]}function Qc(e){return ut(e),e.value}function ft(e,t){Mi()||Yc(e),e.equal(e.value,t)||(e.value=t,Th(e))}function Sr(e,t){Mi()||Yc(e),ft(e,t(e.value))}var Mr=Z(U({},ct),{equal:Tn,value:void 0,kind:"signal"});function Th(e){e.version++,Gc(),Si(e),_h?.(e)}function y(e){return typeof e=="function"}function Wt(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 Nr=Wt(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 pt(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var z=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(y(r))try{r()}catch(i){t=i instanceof Nr?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Kc(i)}catch(s){t=t??[],s instanceof Nr?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Nr(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Kc(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)&&pt(n,t)}remove(t){let{_finalizers:n}=this;n&&pt(n,t),t instanceof e&&t._removeParent(this)}};z.EMPTY=(()=>{let e=new z;return e.closed=!0,e})();var Ri=z.EMPTY;function xr(e){return e instanceof z||e&&"closed"in e&&y(e.remove)&&y(e.add)&&y(e.unsubscribe)}function Kc(e){y(e)?e():e.unsubscribe()}var pe={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var qt={setTimeout(e,t,...n){let{delegate:r}=qt;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=qt;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Ar(e){qt.setTimeout(()=>{let{onUnhandledError:t}=pe;if(t)t(e);else throw e})}function ht(){}var Jc=Oi("C",void 0,void 0);function Xc(e){return Oi("E",void 0,e)}function eu(e){return Oi("N",e,void 0)}function Oi(e,t,n){return{kind:e,value:t,error:n}}var gt=null;function Zt(e){if(pe.useDeprecatedSynchronousErrorHandling){let t=!gt;if(t&&(gt={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=gt;if(gt=null,n)throw r}}else e()}function tu(e){pe.useDeprecatedSynchronousErrorHandling&>&&(gt.errorThrown=!0,gt.error=e)}var mt=class extends z{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,xr(t)&&t.add(this)):this.destination=Nh}static create(t,n,r){return new Be(t,n,r)}next(t){this.isStopped?ki(eu(t),this):this._next(t)}error(t){this.isStopped?ki(Xc(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?ki(Jc,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()}}},Sh=Function.prototype.bind;function Fi(e,t){return Sh.call(e,t)}var Li=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Rr(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Rr(r)}else Rr(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Rr(n)}}},Be=class extends mt{constructor(t,n,r){super();let o;if(y(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&pe.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Fi(t.next,i),error:t.error&&Fi(t.error,i),complete:t.complete&&Fi(t.complete,i)}):o=t}this.destination=new Li(o)}};function Rr(e){pe.useDeprecatedSynchronousErrorHandling?tu(e):Ar(e)}function Mh(e){throw e}function ki(e,t){let{onStoppedNotification:n}=pe;n&&qt.setTimeout(()=>n(e,t))}var Nh={closed:!0,next:ht,error:Mh,complete:ht};var Yt=typeof Symbol=="function"&&Symbol.observable||"@@observable";function oe(e){return e}function xh(...e){return Pi(e)}function Pi(e){return e.length===0?oe:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var N=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=Rh(n)?n:new Be(n,r,o);return Zt(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return r=nu(r),new r((o,i)=>{let s=new Be({next:a=>{try{n(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[Yt](){return this}pipe(...n){return Pi(n)(this)}toPromise(n){return n=nu(n),new n((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function nu(e){var t;return(t=e??pe.Promise)!==null&&t!==void 0?t:Promise}function Ah(e){return e&&y(e.next)&&y(e.error)&&y(e.complete)}function Rh(e){return e&&e instanceof mt||Ah(e)&&xr(e)}function Oh(e){return y(e?.lift)}function b(e){return t=>{if(Oh(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 _(e,t,n,r,o){return new ji(e,t,n,r,o)}var ji=class extends mt{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 ru=Wt(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var J=(()=>{class e extends N{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new Or(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new ru}next(n){Zt(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){Zt(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){Zt(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){let{hasError:r,isStopped:o,observers:i}=this;return r||o?Ri:(this.currentObservers=null,i.push(n),new z(()=>{this.currentObservers=null,pt(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new N;return n.source=this,n}}return e.create=(t,n)=>new Or(t,n),e})(),Or=class extends J{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:Ri}};var Mn=class extends J{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 Nn={now(){return(Nn.delegate||Date).now()},delegate:void 0};var Fr=class extends J{constructor(t=1/0,n=1/0,r=Nn){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;se.complete());function jr(e){return e&&y(e.schedule)}function Bi(e){return e[e.length-1]}function Br(e){return y(Bi(e))?e.pop():void 0}function be(e){return jr(Bi(e))?e.pop():void 0}function iu(e,t){return typeof Bi(e)=="number"?e.pop():t}function au(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(l){try{u(r.next(l))}catch(d){s(d)}}function c(l){try{u(r.throw(l))}catch(d){s(d)}}function u(l){l.done?i(l.value):o(l.value).then(a,c)}u((r=r.apply(e,t||[])).next())})}function su(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 yt(e){return this instanceof yt?(this.v=e,this):new yt(e)}function cu(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(h){return Promise.resolve(h).then(f,d)}}function a(f,h){r[f]&&(o[f]=function(g){return new Promise(function(S,w){i.push([f,g,S,w])>1||c(f,g)})},h&&(o[f]=h(o[f])))}function c(f,h){try{u(r[f](h))}catch(g){p(i[0][3],g)}}function u(f){f.value instanceof yt?Promise.resolve(f.value.v).then(l,d):p(i[0][2],f)}function l(f){c("next",f)}function d(f){c("throw",f)}function p(f,h){f(h),i.shift(),i.length&&c(i[0][0],i[0][1])}}function uu(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 su=="function"?su(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,c){s=e[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(u){i({value:u,done:a})},s)}}var Kt=e=>e&&typeof e.length=="number"&&typeof e!="function";function Vr(e){return y(e?.then)}function Hr(e){return y(e[Yt])}function $r(e){return Symbol.asyncIterator&&y(e?.[Symbol.asyncIterator])}function Ur(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 Fh(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Gr=Fh();function zr(e){return y(e?.[Gr])}function Wr(e){return cu(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield yt(n.read());if(o)return yield yt(void 0);yield yield yt(r)}}finally{n.releaseLock()}})}function qr(e){return y(e?.getReader)}function x(e){if(e instanceof N)return e;if(e!=null){if(Hr(e))return kh(e);if(Kt(e))return Lh(e);if(Vr(e))return Ph(e);if($r(e))return lu(e);if(zr(e))return jh(e);if(qr(e))return Bh(e)}throw Ur(e)}function kh(e){return new N(t=>{let n=e[Yt]();if(y(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Lh(e){return new N(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Ar)})}function jh(e){return new N(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function lu(e){return new N(t=>{Vh(e,t).catch(n=>t.error(n))})}function Bh(e){return lu(Wr(e))}function Vh(e,t){var n,r,o,i;return au(this,void 0,void 0,function*(){try{for(n=uu(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 ne(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 Zr(e,t=0){return b((n,r)=>{n.subscribe(_(r,o=>ne(r,e,()=>r.next(o),t),()=>ne(r,e,()=>r.complete(),t),o=>ne(r,e,()=>r.error(o),t)))})}function Yr(e,t=0){return b((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function du(e,t){return x(e).pipe(Yr(t),Zr(t))}function fu(e,t){return x(e).pipe(Yr(t),Zr(t))}function pu(e,t){return new N(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function hu(e,t){return new N(n=>{let r;return ne(n,t,()=>{r=e[Gr](),ne(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)}),()=>y(r?.return)&&r.return()})}function Qr(e,t){if(!e)throw new Error("Iterable cannot be null");return new N(n=>{ne(n,t,()=>{let r=e[Symbol.asyncIterator]();ne(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function gu(e,t){return Qr(Wr(e),t)}function mu(e,t){if(e!=null){if(Hr(e))return du(e,t);if(Kt(e))return pu(e,t);if(Vr(e))return fu(e,t);if($r(e))return Qr(e,t);if(zr(e))return hu(e,t);if(qr(e))return gu(e,t)}throw Ur(e)}function _e(e,t){return t?mu(e,t):x(e)}function Hh(...e){let t=be(e);return _e(e,t)}function $h(e,t){let n=y(e)?e:()=>e,r=o=>o.error(n());return new N(t?o=>t.schedule(r,0,o):r)}function Uh(e){return!!e&&(e instanceof N||y(e.lift)&&y(e.subscribe))}var Rn=Wt(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function yu(e){return e instanceof Date&&!isNaN(e)}function he(e,t){return b((n,r)=>{let o=0;n.subscribe(_(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:Gh}=Array;function zh(e,t){return Gh(t)?e(...t):e(t)}function Jt(e){return he(t=>zh(e,t))}var{isArray:Wh}=Array,{getPrototypeOf:qh,prototype:Zh,keys:Yh}=Object;function Kr(e){if(e.length===1){let t=e[0];if(Wh(t))return{args:t,keys:null};if(Qh(t)){let n=Yh(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function Qh(e){return e&&typeof e=="object"&&qh(e)===Zh}function Jr(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function Kh(...e){let t=be(e),n=Br(e),{args:r,keys:o}=Kr(e);if(r.length===0)return _e([],t);let i=new N(Jh(r,t,o?s=>Jr(o,s):oe));return n?i.pipe(Jt(n)):i}function Jh(e,t,n=oe){return r=>{Du(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c{let u=_e(e[c],t),l=!1;u.subscribe(_(r,d=>{i[c]=d,l||(l=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Du(e,t,n){e?ne(n,e,t):t()}function vu(e,t,n,r,o,i,s,a){let c=[],u=0,l=0,d=!1,p=()=>{d&&!c.length&&!u&&t.complete()},f=g=>u{i&&t.next(g),u++;let S=!1;x(n(g,l++)).subscribe(_(t,w=>{o?.(w),i?f(w):t.next(w)},()=>{S=!0},void 0,()=>{if(S)try{for(u--;c.length&&uh(w)):h(w)}p()}catch(w){t.error(w)}}))};return e.subscribe(_(t,f,()=>{d=!0,p()})),()=>{a?.()}}function ge(e,t,n=1/0){return y(t)?ge((r,o)=>he((i,s)=>t(r,i,o,s))(x(e(r,o))),n):(typeof t=="number"&&(n=t),b((r,o)=>vu(r,o,e,n)))}function On(e=1/0){return ge(oe,e)}function Eu(){return On(1)}function Xt(...e){return Eu()(_e(e,be(e)))}function Xh(e){return new N(t=>{x(e()).subscribe(t)})}function eg(...e){let t=Br(e),{args:n,keys:r}=Kr(e),o=new N(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),c=s,u=s;for(let l=0;l{d||(d=!0,u--),a[l]=p},()=>c--,void 0,()=>{(!c||!d)&&(u||i.next(r?Jr(r,a):a),i.complete())}))}});return t?o.pipe(Jt(t)):o}var tg=["addListener","removeListener"],ng=["addEventListener","removeEventListener"],rg=["on","off"];function Vi(e,t,n,r){if(y(n)&&(r=n,n=void 0),r)return Vi(e,t,n).pipe(Jt(r));let[o,i]=sg(e)?ng.map(s=>a=>e[s](t,a,n)):og(e)?tg.map(Iu(e,t)):ig(e)?rg.map(Iu(e,t)):[];if(!o&&Kt(e))return ge(s=>Vi(s,t,n))(x(e));if(!o)throw new TypeError("Invalid event target");return new N(s=>{let a=(...c)=>s.next(1i(a)})}function Iu(e,t){return n=>r=>e[n](t,r)}function og(e){return y(e.addListener)&&y(e.removeListener)}function ig(e){return y(e.on)&&y(e.off)}function sg(e){return y(e.addEventListener)&&y(e.removeEventListener)}function Dt(e=0,t,n=ou){let r=-1;return t!=null&&(jr(t)?n=t:r=t),new N(o=>{let i=yu(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 ag(e=0,t=An){return e<0&&(e=0),Dt(e,e,t)}function cg(...e){let t=be(e),n=iu(e,1/0),r=e;return r.length?r.length===1?x(r[0]):On(n)(_e(r,t)):Ve}function Hi(e,t){return b((n,r)=>{let o=0;n.subscribe(_(r,i=>e.call(t,i,o++)&&r.next(i)))})}function Cu(e){return b((t,n)=>{let r=null,o=!1,i;r=t.subscribe(_(n,void 0,void 0,s=>{i=x(e(s,Cu(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function ug(e,t){return y(t)?ge(e,t,1):ge(e,1)}function wu(e){return b((t,n)=>{let r=!1;t.subscribe(_(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function en(e){return e<=0?()=>Ve:b((t,n)=>{let r=0;t.subscribe(_(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function bu(){return b((e,t)=>{e.subscribe(_(t,ht))})}function $i(e){return he(()=>e)}function Ui(e,t){return t?n=>Xt(t.pipe(en(1),bu()),n.pipe(Ui(e))):ge((n,r)=>x(e(n,r)).pipe(en(1),$i(n)))}function lg(e,t=An){let n=Dt(e,t);return Ui(()=>n)}function dg(e,t=oe){return e=e??fg,b((n,r)=>{let o,i=!0;n.subscribe(_(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function fg(e,t){return e===t}function _u(e=pg){return b((t,n)=>{let r=!1;t.subscribe(_(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function pg(){return new Rn}function Tu(e,t){return t?n=>n.pipe(Tu((r,o)=>x(e(r,o)).pipe(he((i,s)=>t(r,i,o,s))))):b((n,r)=>{let o=0,i=null,s=!1;n.subscribe(_(r,a=>{i||(i=_(r,void 0,()=>{i=null,s&&r.complete()}),x(e(a,o++)).subscribe(i))},()=>{s=!0,!i&&r.complete()}))})}function hg(e){return b((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function gg(e,t){let n=arguments.length>=2;return r=>r.pipe(e?Hi((o,i)=>e(o,i,r)):oe,en(1),n?wu(t):_u(()=>new Rn))}function mg(e){return e<=0?()=>Ve:b((t,n)=>{let r=[];t.subscribe(_(n,o=>{r.push(o),e{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function yg(){return b((e,t)=>{let n,r=!1;e.subscribe(_(t,o=>{let i=n;n=o,r&&t.next([i,o]),r=!0}))})}function Dg(e){let t=1/0,n;return e!=null&&(typeof e=="object"?{count:t=1/0,delay:n}=e:t=e),t<=0?()=>Ve:b((r,o)=>{let i=0,s,a=()=>{if(s?.unsubscribe(),s=null,n!=null){let u=typeof n=="number"?Dt(n):x(n(i)),l=_(o,()=>{l.unsubscribe(),c()});u.subscribe(l)}else c()},c=()=>{let u=!1;s=r.subscribe(_(o,void 0,()=>{++inew J,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,c,u=0,l=!1,d=!1,p=()=>{a?.unsubscribe(),a=void 0},f=()=>{p(),s=c=void 0,l=d=!1},h=()=>{let g=s;f(),g?.unsubscribe()};return b((g,S)=>{u++,!d&&!l&&p();let w=c=c??t();S.add(()=>{u--,u===0&&!d&&!l&&(a=Gi(h,o))}),w.subscribe(S),!s&&u>0&&(s=new Be({next:G=>w.next(G),error:G=>{d=!0,p(),a=Gi(f,n,G),w.error(G)},complete:()=>{l=!0,p(),a=Gi(f,r),w.complete()}}),x(g).subscribe(s))})(i)}}function Gi(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new Be({next:()=>{r.unsubscribe(),e()}});return x(t(...n)).subscribe(r)}function vg(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,Su({connector:()=>new Fr(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function Eg(...e){let t=be(e);return b((n,r)=>{(t?Xt(e,n,t):Xt(e,n)).subscribe(r)})}function Ig(e,t){return b((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(_(r,c=>{o?.unsubscribe();let u=0,l=i++;x(e(c,l)).subscribe(o=_(r,d=>r.next(t?t(c,d,l,u++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Cg(e){return b((t,n)=>{x(e).subscribe(_(n,()=>n.complete(),ht)),!n.closed&&t.subscribe(n)})}function wg(e,t,n){let r=y(e)||t||n?{next:e,error:t,complete:n}:e;return r?b((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(_(i,c=>{var u;(u=r.next)===null||u===void 0||u.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var u;a=!1,(u=r.error)===null||u===void 0||u.call(r,c),i.error(c)},()=>{var c,u;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(u=r.finalize)===null||u===void 0||u.call(r)}))}):oe}var zi;function Xr(){return zi}function Te(e){let t=zi;return zi=e,t}var Mu=Symbol("NotFound");function tn(e){return e===Mu||e?.name==="\u0275NotFound"}function Wi(e,t,n){let r=Object.create(bg);r.source=e,r.computation=t,n!=null&&(r.equal=n);let i=()=>{if(lt(r),ut(r),r.value===we)throw r.error;return r.value};return i[H]=r,_n(r),i}function Nu(e,t){lt(e),ft(e,t),Ut(e)}function xu(e,t){if(lt(e),e.value===we)throw e.error;Sr(e,t),Ut(e)}var bg=Z(U({},ct),{value:Ye,dirty:!0,error:null,equal:Tn,kind:"linkedSignal",producerMustRecompute(e){return e.value===Ye||e.value===at},producerRecomputeValue(e){if(e.value===at)throw new Error("");let t=e.value;e.value=at;let n=dt(e),r;try{let o=e.source(),i=t===Ye||t===we?void 0:{source:e.sourceValue,value:t};r=e.computation(o,i),e.sourceValue=o}catch(o){r=we,e.error=o}finally{Gt(e,n)}if(t!==Ye&&r!==we&&e.equal(t,r)){e.value=t;return}e.value=r,e.version++}});function Au(e){let t=D(null);try{return e()}finally{D(t)}}var oo="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",E=class extends Error{code;constructor(t,n){super(wt(t,n)),this.code=t}};function Sg(e){return`NG0${Math.abs(e)}`}function wt(e,t){return`${Sg(e)}${t?": "+t:""}`}var me=globalThis;function R(e){for(let t in e)if(e[t]===R)return t;throw Error("")}function Lu(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Bn(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(Bn).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 io(e,t){return e?t?`${e} ${t}`:e:t||""}var Mg=R({__forward_ref__:R});function so(e){return e.__forward_ref__=so,e}function W(e){return as(e)?e():e}function as(e){return typeof e=="function"&&e.hasOwnProperty(Mg)&&e.__forward_ref__===so}function O(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Vn(e){return{providers:e.providers||[],imports:e.imports||[]}}function Hn(e){return xg(e,ao)}function Ng(e){return Hn(e)!==null}function xg(e,t){return e.hasOwnProperty(t)&&e[t]||null}function Ag(e){let t=e?.[ao]??null;return t||null}function Zi(e){return e&&e.hasOwnProperty(to)?e[to]:null}var ao=R({\u0275prov:R}),to=R({\u0275inj:R}),M=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=O({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function cs(e){return e&&!!e.\u0275providers}var us=R({\u0275cmp:R}),ls=R({\u0275dir:R}),ds=R({\u0275pipe:R}),fs=R({\u0275mod:R}),kn=R({\u0275fac:R}),bt=R({__NG_ELEMENT_ID__:R}),Ru=R({__NG_ENV_ID__:R});function ps(e){return co(e,"@NgModule"),e[fs]||null}function Ue(e){return co(e,"@Component"),e[us]||null}function hs(e){return co(e,"@Directive"),e[ls]||null}function Pu(e){return co(e,"@Pipe"),e[ds]||null}function co(e,t){if(e==null)throw new E(-919,!1)}function rn(e){return typeof e=="string"?e:e==null?"":String(e)}var ju=R({ngErrorCode:R}),Rg=R({ngErrorMessage:R}),Og=R({ngTokenPath:R});function gs(e,t){return Bu("",-200,t)}function uo(e,t){throw new E(-201,!1)}function Bu(e,t,n){let r=new E(t,e);return r[ju]=t,r[Rg]=e,n&&(r[Og]=n),r}function Fg(e){return e[ju]}var Yi;function Vu(){return Yi}function X(e){let t=Yi;return Yi=e,t}function ms(e,t,n){let r=Hn(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;uo(e,"")}var kg={},vt=kg,Lg="__NG_DI_FLAG__",Qi=class{injector;constructor(t){this.injector=t}retrieve(t,n){let r=Et(n)||0;try{return this.injector.get(t,r&8?null:vt,r)}catch(o){if(tn(o))return o;throw o}}};function Pg(e,t=0){let n=Xr();if(n===void 0)throw new E(-203,!1);if(n===null)return ms(e,void 0,t);{let r=jg(t),o=n.retrieve(e,r);if(tn(o)){if(r.optional)return null;throw o}return o}}function L(e,t=0){return(Vu()||Pg)(W(e),t)}function I(e,t){return L(e,Et(t))}function Et(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function jg(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function Ki(e){let t=[];for(let n=0;nArray.isArray(n)?lo(n,t):t(n))}function ys(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function $n(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Uu(e,t){let n=[];for(let r=0;rt;){let i=o-2;e[o]=e[i],o--}e[t]=n,e[t+1]=r}}function Ds(e,t,n){let r=on(e,t);return r>=0?e[r|1]=n:(r=~r,Gu(e,r,t,n)),r}function fo(e,t){let n=on(e,t);if(n>=0)return e[n|1]}function on(e,t){return Vg(e,t,1)}function Vg(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=e[i<t?o=i:r=i+1}return~(o<{n.push(s)};return lo(t,s=>{let a=s;no(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Wu(o,i),n}function Wu(e,t){for(let n=0;n{t(i,r)})}}function no(e,t,n,r){if(e=W(e),!e)return!1;let o=null,i=Zi(e),s=!i&&Ue(e);if(!i&&!s){let c=e.ngModule;if(i=Zi(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let u of c)no(u,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let u;lo(i.imports,l=>{no(l,t,n,r)&&(u||=[],u.push(l))}),u!==void 0&&Wu(u,t)}if(!a){let u=Qe(o)||(()=>new o);t({provide:o,useFactory:u,deps:Q},o),t({provide:vs,useValue:o,multi:!0},o),t({provide:Un,useValue:()=>L(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let u=e;Is(c,l=>{t(l,u)})}}else return!1;return o!==e&&e.providers!==void 0}function Is(e,t){for(let n of e)cs(n)&&(n=n.\u0275providers),Array.isArray(n)?Is(n,t):t(n)}var Hg=R({provide:String,useValue:R});function qu(e){return e!==null&&typeof e=="object"&&Hg in e}function $g(e){return!!(e&&e.useExisting)}function Ug(e){return!!(e&&e.useFactory)}function It(e){return typeof e=="function"}function Zu(e){return!!e.useClass}var Cs=new M(""),eo={},Ou={},qi;function zn(){return qi===void 0&&(qi=new Ln),qi}var ce=class{},Ct=class extends ce{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,Xi(t,s=>this.processProvider(s)),this.records.set(Gn,nn(void 0,this)),o.has("environment")&&this.records.set(ce,nn(void 0,this));let i=this.records.get(Cs);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(vs,Q,{self:!0}))}retrieve(t,n){let r=Et(n)||0;try{return this.get(t,vt,r)}catch(o){if(tn(o))return o;throw o}}destroy(){Fn(this),this._destroyed=!0;let t=D(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(),D(t)}}onDestroy(t){return Fn(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){Fn(this);let n=Te(this),r=X(void 0),o;try{return t()}finally{Te(n),X(r)}}get(t,n=vt,r){if(Fn(this),t.hasOwnProperty(Ru))return t[Ru](this);let o=Et(r),i,s=Te(this),a=X(void 0);try{if(!(o&4)){let u=this.records.get(t);if(u===void 0){let l=Zg(t)&&Hn(t);l&&this.injectableDefInScope(l)?u=nn(Ji(t),eo):u=null,this.records.set(t,u)}if(u!=null)return this.hydrate(t,u,o)}let c=o&2?zn():this.parent;return n=o&8&&n===vt?null:n,c.get(t,n)}catch(c){let u=Fg(c);throw u===-200||u===-201?new E(u,null):c}finally{X(a),Te(s)}}resolveInjectorInitializers(){let t=D(null),n=Te(this),r=X(void 0),o;try{let i=this.get(Un,Q,{self:!0});for(let s of i)s()}finally{Te(n),X(r),D(t)}}toString(){return"R3Injector[...]"}processProvider(t){t=W(t);let n=It(t)?t:W(t&&t.provide),r=zg(t);if(!It(t)&&t.multi===!0){let o=this.records.get(n);o||(o=nn(void 0,eo,!0),o.factory=()=>Ki(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n,r){let o=D(null);try{if(n.value===Ou)throw gs("");return n.value===eo&&(n.value=Ou,n.value=n.factory(void 0,r)),typeof n.value=="object"&&n.value&&qg(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{D(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=W(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 Ji(e){let t=Hn(e),n=t!==null?t.factory:Qe(e);if(n!==null)return n;if(e instanceof M)throw new E(-204,!1);if(e instanceof Function)return Gg(e);throw new E(-204,!1)}function Gg(e){if(e.length>0)throw new E(-204,!1);let n=Ag(e);return n!==null?()=>n.factory(e):()=>new e}function zg(e){if(qu(e))return nn(void 0,e.useValue);{let t=ws(e);return nn(t,eo)}}function ws(e,t,n){let r;if(It(e)){let o=W(e);return Qe(o)||Ji(o)}else if(qu(e))r=()=>W(e.useValue);else if(Ug(e))r=()=>e.useFactory(...Ki(e.deps||[]));else if($g(e))r=(o,i)=>L(W(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=W(e&&(e.useClass||e.provide));if(Wg(e))r=()=>new o(...Ki(e.deps));else return Qe(o)||Ji(o)}return r}function Fn(e){if(e.destroyed)throw new E(-205,!1)}function nn(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Wg(e){return!!e.deps}function qg(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Zg(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function Xi(e,t){for(let n of e)Array.isArray(n)?Xi(n,t):n&&cs(n)?Xi(n.\u0275providers,t):t(n)}function ho(e,t){let n;e instanceof Ct?(Fn(e),n=e):n=new Qi(e);let r,o=Te(n),i=X(void 0);try{return t()}finally{Te(o),X(i)}}function bs(){return Vu()!==void 0||Xr()!=null}var ye=0,m=1,C=2,$=3,le=4,ee=5,_t=6,sn=7,V=8,Ge=9,Se=10,k=11,an=12,_s=13,Tt=14,K=15,tt=16,St=17,Me=18,Ne=19,Ts=20,$e=21,go=22,Wn=23,se=24,Mt=25,xe=26,P=27,Yu=1,Ss=6,nt=7,qn=8,Nt=9,j=10;function Ae(e){return Array.isArray(e)&&typeof e[Yu]=="object"}function de(e){return Array.isArray(e)&&e[Yu]===!0}function Ms(e){return(e.flags&4)!==0}function ze(e){return e.componentOffset>-1}function mo(e){return(e.flags&1)===1}function Re(e){return!!e.template}function cn(e){return(e[C]&512)!==0}function xt(e){return(e[C]&256)===256}var Qu="svg",Ku="math";function fe(e){for(;Array.isArray(e);)e=e[ye];return e}function Ns(e,t){return fe(t[e])}function De(e,t){return fe(t[e.index])}function Zn(e,t){return e.data[t]}function yo(e,t){return e[t]}function Yn(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function ae(e,t){let n=t[e];return Ae(n)?n:n[ye]}function Ju(e){return(e[C]&4)===4}function Do(e){return(e[C]&128)===128}function Xu(e){return de(e[$])}function Oe(e,t){return t==null?null:e[t]}function xs(e){e[St]=0}function As(e){e[C]&1024||(e[C]|=1024,Do(e)&&un(e))}function el(e,t){for(;e>0;)t=t[Tt],e--;return t}function Qn(e){return!!(e[C]&9216||e[se]?.dirty)}function vo(e){e[Se].changeDetectionScheduler?.notify(8),e[C]&64&&(e[C]|=1024),Qn(e)&&un(e)}function un(e){e[Se].changeDetectionScheduler?.notify(0);let t=Ke(e);for(;t!==null&&!(t[C]&8192||(t[C]|=8192,!Do(t)));)t=Ke(t)}function Rs(e,t){if(xt(e))throw new E(911,!1);e[$e]===null&&(e[$e]=[]),e[$e].push(t)}function tl(e,t){if(e[$e]===null)return;let n=e[$e].indexOf(t);n!==-1&&e[$e].splice(n,1)}function Ke(e){let t=e[$];return de(t)?t[$]:t}function Os(e){return e[sn]??=[]}function Fs(e){return e.cleanup??=[]}function nl(e,t,n,r){let o=Os(t);o.push(n),e.firstCreatePass&&Fs(e).push(r,o.length-1)}var T={lFrame:yl(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var es=!1;function rl(){return T.lFrame.elementDepthCount}function ol(){T.lFrame.elementDepthCount++}function ks(){T.lFrame.elementDepthCount--}function il(){return T.bindingsEnabled}function Ls(){return T.skipHydrationRootTNode!==null}function Ps(e){return T.skipHydrationRootTNode===e}function js(){T.skipHydrationRootTNode=null}function v(){return T.lFrame.lView}function B(){return T.lFrame.tView}function sl(e){return T.lFrame.contextLView=e,e[V]}function al(e){return T.lFrame.contextLView=null,e}function q(){let e=Bs();for(;e!==null&&e.type===64;)e=e.parent;return e}function Bs(){return T.lFrame.currentTNode}function cl(){let e=T.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function At(e,t){let n=T.lFrame;n.currentTNode=e,n.isParent=t}function Vs(){return T.lFrame.isParent}function Hs(){T.lFrame.isParent=!1}function ul(){return T.lFrame.contextLView}function $s(){return es}function Us(e){let t=es;return es=e,t}function Eo(){let e=T.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function ll(){return T.lFrame.bindingIndex}function dl(e){return T.lFrame.bindingIndex=e}function Rt(){return T.lFrame.bindingIndex++}function Io(e){let t=T.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function fl(){return T.lFrame.inI18n}function pl(e,t){let n=T.lFrame;n.bindingIndex=n.bindingRootIndex=e,Co(t)}function hl(){return T.lFrame.currentDirectiveIndex}function Co(e){T.lFrame.currentDirectiveIndex=e}function gl(e){let t=T.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function wo(){return T.lFrame.currentQueryIndex}function Kn(e){T.lFrame.currentQueryIndex=e}function Yg(e){let t=e[m];return t.type===2?t.declTNode:t.type===1?e[ee]:null}function Gs(e,t,n){if(n&4){let o=t,i=e;for(;o=o.parent,o===null&&!(n&1);)if(o=Yg(i),o===null||(i=i[Tt],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=T.lFrame=ml();return r.currentTNode=t,r.lView=e,!0}function bo(e){let t=ml(),n=e[m];T.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function ml(){let e=T.lFrame,t=e===null?null:e.child;return t===null?yl(e):t}function yl(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 Dl(){let e=T.lFrame;return T.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var zs=Dl;function _o(){let e=Dl();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 vl(e){return(T.lFrame.contextLView=el(e,T.lFrame.contextLView))[V]}function ve(){return T.lFrame.selectedIndex}function rt(e){T.lFrame.selectedIndex=e}function To(){let e=T.lFrame;return Zn(e.tView,e.selectedIndex)}function El(){return T.lFrame.currentNamespace}var Il=!0;function So(){return Il}function Mo(e){Il=e}function ts(e,t=null,n=null,r){let o=Ws(e,t,n,r);return o.resolveInjectorInitializers(),o}function Ws(e,t=null,n=null,r,o=new Set){let i=[n||Q,zu(e)],s;return new Ct(i,t||zn(),s||null,o)}var ie=class e{static THROW_IF_NOT_FOUND=vt;static NULL=new Ln;static create(t,n){if(Array.isArray(t))return ts({name:""},n,t,"");{let r=t.name??"";return ts({name:r},t.parent,t.providers,r)}}static \u0275prov=O({token:e,providedIn:"any",factory:()=>L(Gn)});static __NG_ELEMENT_ID__=-1},Fe=new M(""),ot=(()=>{class e{static __NG_ELEMENT_ID__=Qg;static __NG_ENV_ID__=n=>n}return e})(),ns=class extends ot{_lView;constructor(t){super(),this._lView=t}get destroyed(){return xt(this._lView)}onDestroy(t){let n=this._lView;return Rs(n,t),()=>tl(n,t)}};function Qg(){return new ns(v())}var Cl=!1,wl=new M(""),Ot=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new Mn(!1);debugTaskTracker=I(wl,{optional:!0});get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new N(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=O({token:e,providedIn:"root",factory:()=>new e})}return e})(),rs=class extends J{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,bs()&&(this.destroyRef=I(ot,{optional:!0})??void 0,this.pendingTasks=I(Ot,{optional:!0})??void 0)}emit(t){let n=D(null);try{super.next(t)}finally{D(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 z&&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)}})}}},He=rs;function ro(...e){}function qs(e){let t,n;function r(){e=ro;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 bl(e){return queueMicrotask(()=>e()),()=>{e=ro}}var Zs="isAngularZone",Pn=Zs+"_ID",Kg=0,ue=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new He(!1);onMicrotaskEmpty=new He(!1);onStable=new He(!1);onError=new He(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=Cl}=t;if(typeof Zone>"u")throw new E(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,em(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Zs)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new E(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new E(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,Jg,ro,ro);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)}},Jg={};function Ys(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 Xg(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){qs(()=>{e.callbackScheduled=!1,os(e),e.isCheckStableRunning=!0,Ys(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),os(e)}function em(e){let t=()=>{Xg(e)},n=Kg++;e._inner=e._inner.fork({name:"angular",properties:{[Zs]:!0,[Pn]:n,[Pn+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(tm(c))return r.invokeTask(i,s,a,c);try{return Fu(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),ku(e)}},onInvoke:(r,o,i,s,a,c,u)=>{try{return Fu(e),r.invoke(i,s,a,c,u)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!nm(c)&&t(),ku(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,os(e),Ys(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 os(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Fu(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function ku(e){e._nesting--,Ys(e)}var jn=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new He;onMicrotaskEmpty=new He;onStable=new He;onError=new He;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 tm(e){return _l(e,"__ignore_ng_zone__")}function nm(e){return _l(e,"__scheduler_tick__")}function _l(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var Je=class{_console=console;handleError(t){this._console.error("ERROR",t)}},We=new M("",{factory:()=>{let e=I(ue),t=I(ce),n;return r=>{e.runOutsideAngular(()=>{t.destroyed&&!n?setTimeout(()=>{throw r}):(n??=t.get(Je),n.handleError(r))})}}}),Tl={provide:Un,useValue:()=>{let e=I(Je,{optional:!0})},multi:!0};function No(e,t){let[n,r,o]=Ai(e,t?.equal),i=n,s=i[H];return i.set=r,i.update=o,i.asReadonly=xo.bind(i),i}function xo(){let e=this[H];if(e.readonlyFn===void 0){let t=()=>this();t[H]=e,e.readonlyFn=t}return e.readonlyFn}var Ao=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=rm}return e})();function rm(){return new Ao(v(),q())}var Xe=class{},Jn=new M("",{factory:()=>!0});var Qs=new M(""),Ks=(()=>{class e{internalPendingTasks=I(Ot);scheduler=I(Xe);errorHandler=I(We);add(){let n=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(n)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(n))}}run(n){let r=this.add();n().catch(this.errorHandler).finally(r)}static \u0275prov=O({token:e,providedIn:"root",factory:()=>new e})}return e})(),Js=(()=>{class e{static \u0275prov=O({token:e,providedIn:"root",factory:()=>new is})}return e})(),is=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}},ss=class{[H];constructor(t){this[H]=t}destroy(){this[H].destroy()}};function dr(e){return{toString:e}.toString()}function ad(e){let t=me.ng;if(t&&t.\u0275compilerFacade)return t.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}function fm(e){return typeof e=="function"}function cd(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var $o=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}},ud=(()=>{let e=()=>ld;return e.ngInherit=!0,e})();function ld(e){return e.type.prototype.ngOnChanges&&(e.setInput=hm),pm}function pm(){let e=fd(this),t=e?.current;if(t){let n=e.previous;if(n===et)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function hm(e,t,n,r,o){let i=this.declaredInputs[r],s=fd(e)||gm(e,{previous:et,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[i];a[i]=new $o(u&&u.currentValue,n,c===et),cd(e,t,o,n)}var dd="__ngSimpleChanges__";function fd(e){return e[dd]||null}function gm(e,t){return e[dd]=t}var Sl=[];var F=function(e,t=null,n){for(let r=0;r=r)break}else t[c]<0&&(e[St]+=65536),(a>14>16&&(e[C]&3)===t&&(e[C]+=16384,Ml(a,i)):Ml(a,i)}var dn=-1,kt=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 vm(e){return(e.flags&8)!==0}function Em(e){return(e.flags&16)!==0}function Im(e,t,n){let r=0;for(;rt){s=i-1;break}}}for(;i>16}function Go(e,t){let n=wm(e),r=t;for(;n>0;)r=r[Tt],n--;return r}var la=!0;function zo(e){let t=la;return la=e,t}var bm=256,md=bm-1,yd=5,_m=0,ke={};function Tm(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(bt)&&(r=n[bt]),r==null&&(r=n[bt]=_m++);let o=r&md,i=1<>yd)]|=i}function Wo(e,t){let n=Dd(e,t);if(n!==-1)return n;let r=t[m];r.firstCreatePass&&(e.injectorIndex=t.length,ea(r.data,e),ea(t,null),ea(r.blueprint,null));let o=qa(e,t),i=e.injectorIndex;if(gd(o)){let s=Uo(o),a=Go(o,t),c=a[m].data;for(let u=0;u<8;u++)t[i+u]=a[s+u]|c[s+u]}return t[i+8]=o,i}function ea(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Dd(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function qa(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=bd(o),r===null)return dn;if(n++,o=o[Tt],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return dn}function da(e,t,n){Tm(e,t,n)}function Sm(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let n=e.attrs;if(n){let r=n.length,o=0;for(;o>20,d=r?a:a+l,p=o?a+l:u;for(let f=d;f=c&&h.type===n)return f}if(o){let f=s[c];if(f&&Re(f)&&f.type===n)return c}return null}function nr(e,t,n,r,o){let i=e[n],s=t.data;if(i instanceof kt){let a=i;if(a.resolving)throw gs("");let c=zo(a.canSeeViewProviders);a.resolving=!0;let u=s[n].type||s[n],l,d=a.injectImpl?X(a.injectImpl):null,p=Gs(e,r,0);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&mm(n,s[n],t)}finally{d!==null&&X(d),zo(c),a.resolving=!1,zs()}}return i}function Nm(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(bt)?e[bt]:void 0;return typeof t=="number"?t>=0?t&md:xm:t}function xl(e,t,n){let r=1<>yd)]&r)}function Al(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 Id(this._tNode,this._lView,t,Et(r),n)}};function xm(){return new Ft(q(),v())}function wd(e){return dr(()=>{let t=e.prototype.constructor,n=t[kn]||fa(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[kn]||fa(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function fa(e){return as(e)?()=>{let t=fa(W(e));return t&&t()}:Qe(e)}function Am(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[C]&2048&&!cn(s);){let a=Cd(i,s,n,r|2,ke);if(a!==ke)return a;let c=i.parent;if(!c){let u=s[Ts];if(u){let l=u.get(n,ke,r&-5);if(l!==ke)return l}c=bd(s),s=s[Tt]}i=c}return o}function bd(e){let t=e[m],n=t.type;return n===2?t.declTNode:n===1?e[ee]:null}function Za(e){return Sm(q(),e)}function Rm(){return Dn(q(),v())}function Dn(e,t){return new st(De(e,t))}var st=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=Rm}return e})();function _d(e){return e instanceof st?e.nativeElement:e}function Om(){return this._results[Symbol.iterator]()}var qo=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new J}constructor(t=!1){this._emitDistinctChangesOnly=t}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;let r=$u(t);(this._changesDetected=!Hu(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=Om};function Td(e){return(e.flags&128)===128}var Ya=(function(e){return e[e.OnPush=0]="OnPush",e[e.Eager=1]="Eager",e[e.Default=1]="Default",e})(Ya||{}),Sd=new Map,Fm=0;function km(){return Fm++}function Lm(e){Sd.set(e[Ne],e)}function pa(e){Sd.delete(e[Ne])}var Rl="__ngContext__";function pn(e,t){Ae(t)?(e[Rl]=t[Ne],Lm(t)):e[Rl]=t}function Md(e){return xd(e[an])}function Nd(e){return xd(e[le])}function xd(e){for(;e!==null&&!de(e);)e=e[le];return e}var Pm;function jm(e){Pm=e}var Bm=new M("",{factory:()=>Vm}),Vm="ng";var Ad=new M(""),Hm=new M("",{providedIn:"platform",factory:()=>"unknown"});var $m=new M("",{factory:()=>I(Fe).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var Rd="r";var Od="di";var Fd=!1,kd=new M("",{factory:()=>Fd});var Um=new M("");var Gm=(e,t,n,r)=>{};function zm(e,t,n,r){Gm(e,t,n,r)}function si(e){return(e.flags&32)===32}var Wm=()=>null;function Ld(e,t,n=!1){return Wm(e,t,n)}function Pd(e,t){let n=e.contentQueries;if(n!==null){let r=D(null);try{for(let o=0;oe,createScript:e=>e,createScriptURL:e=>e})}catch{}return Ro}function ai(e){return qm()?.createHTML(e)||e}var Oo;function Zm(){if(Oo===void 0&&(Oo=null,me.trustedTypes))try{Oo=me.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Oo}function Ol(e){return Zm()?.createScriptURL(e)||e}var qe=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${oo})`}},ga=class extends qe{getTypeName(){return"HTML"}},ma=class extends qe{getTypeName(){return"Style"}},ya=class extends qe{getTypeName(){return"Script"}},Da=class extends qe{getTypeName(){return"URL"}},va=class extends qe{getTypeName(){return"ResourceURL"}};function Vt(e){return e instanceof qe?e.changingThisBreaksApplicationSecurity:e}function Qa(e,t){let n=Bd(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${oo})`)}return n===t}function Bd(e){return e instanceof qe&&e.getTypeName()||null}function Ym(e){return new ga(e)}function Qm(e){return new ma(e)}function Km(e){return new ya(e)}function Jm(e){return new Da(e)}function Xm(e){return new va(e)}function ey(e){let t=new Ia(e);return ty()?new Ea(t):t}var Ea=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{let n=new window.DOMParser().parseFromString(ai(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}},Ia=class{defaultDoc;inertDocument;constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){let n=this.inertDocument.createElement("template");return n.innerHTML=ai(t),n}};function ty(){try{return!!new window.DOMParser().parseFromString(ai(""),"text/html")}catch{return!1}}var ny=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Ka(e){return e=String(e),e.match(ny)?e:"unsafe:"+e}function Ze(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function fr(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var Vd=Ze("area,br,col,hr,img,wbr"),Hd=Ze("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),$d=Ze("rp,rt"),ry=fr($d,Hd),oy=fr(Hd,Ze("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),iy=fr($d,Ze("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Fl=fr(Vd,oy,iy,ry),Ud=Ze("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),sy=Ze("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),ay=Ze("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),cy=fr(Ud,sy,ay),uy=Ze("script,style,template"),Ca=class{sanitizedSomething=!1;buf=[];sanitizeChildren(t){let n=t.firstChild,r=!0,o=[];for(;n;){if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild){o.push(n),n=fy(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=dy(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=kl(t).toLowerCase();if(!Fl.hasOwnProperty(n))return this.sanitizedSomething=!0,!uy.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);let r=t.attributes;for(let o=0;o"),!0}endElement(t){let n=kl(t).toLowerCase();Fl.hasOwnProperty(n)&&!Vd.hasOwnProperty(n)&&(this.buf.push(""))}chars(t){this.buf.push(Ll(t))}};function ly(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function dy(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw Gd(t);return t}function fy(e){let t=e.firstChild;if(t&&ly(e,t))throw Gd(t);return t}function kl(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function Gd(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var py=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,hy=/([^\#-~ |!])/g;function Ll(e){return e.replace(/&/g,"&").replace(py,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(hy,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}var Fo;function gy(e,t){let n=null;try{Fo=Fo||ey(e);let r=t?String(t):"";n=Fo.getInertBodyElement(r);let o=5,i=r;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=Fo.getInertBodyElement(r)}while(r!==i);let a=new Ca().sanitizeChildren(Pl(n)||n);return ai(a)}finally{if(n){let r=Pl(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function Pl(e){return"content"in e&&my(e)?e.content:null}function my(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}function yy(e,t){return e.createText(t)}function Dy(e,t,n){e.setValue(t,n)}function zd(e,t,n){return e.createElement(t,n)}function Zo(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Wd(e,t,n){e.appendChild(t,n)}function jl(e,t,n,r,o){r!==null?Zo(e,t,n,r,o):Wd(e,t,n)}function qd(e,t,n,r){e.removeChild(null,t,n,r)}function vy(e,t,n){e.setAttribute(t,"style",n)}function Ey(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Zd(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&Im(e,t,r),o!==null&&Ey(e,t,o),i!==null&&vy(e,t,i)}var ci=(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})(ci||{});function Yd(e){let t=Kd();return t?t.sanitize(ci.URL,e)||"":Qa(e,"URL")?Vt(e):Ka(rn(e))}function Qd(e){let t=Kd();if(t)return Ol(t.sanitize(ci.RESOURCE_URL,e)||"");if(Qa(e,"ResourceURL"))return Ol(Vt(e));throw new E(904,!1)}var Iy=new Set(["embed","frame","iframe","media","script"]),Cy=new Set(["base","link","script"]);function wy(e,t){return t==="src"&&Iy.has(e)||t==="href"&&Cy.has(e)||t==="xlink:href"&&e==="script"?Qd:Yd}function by(e,t,n){return wy(t,n)(e)}function Kd(){let e=v();return e&&e[Se].sanitizer}function Jd(e){return e instanceof Function?e():e}function _y(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 Xd="ng-template";function Ty(e,t,n,r){let o=0;if(r){for(;o-1){let i;for(;++oi?d="":d=o[l+1].toLowerCase(),r&2&&u!==d){if(Ee(r))return!1;s=!0}}}}return Ee(r)||s}function Ee(e){return(e&1)===0}function Ny(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!Ee(s)&&(t+=Bl(i,o),o=""),r=s,i=i||!Ee(r);n++}return o!==""&&(t+=Bl(i,o)),t}function ky(e){return e.map(Fy).join(",")}function Ly(e){let t=[],n=[],r=1,o=2;for(;r=0;i--){let s=n[i],a=s.parentNode;(o&&s===o||a&&r&&a!==r)&&(n.splice(i,1),s.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}})),s.parentNode?.removeChild(s))}}function Uy(e,t){let n=ba.get(e);n?n.includes(t)||n.push(t):ba.set(e,[t])}var hn=new Set,li=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(li||{}),pr=new M(""),Vl=new Set;function Le(e){Vl.has(e)||(Vl.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var rc=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=O({token:e,providedIn:"root",factory:()=>new e})}return e})(),of=[0,1,2,3],sf=(()=>{class e{ngZone=I(ue);scheduler=I(Xe);errorHandler=I(Je,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){I(pr,{optional:!0})}execute(){let n=this.sequences.size>0;n&&F(A.AfterRenderHooksStart),this.executing=!0;for(let r of of)for(let o of this.sequences)if(!(o.erroredOrDestroyed||!o.hooks[r]))try{o.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let i=o.hooks[r];return i(o.pipelinedValue)},o.snapshot))}catch(i){o.erroredOrDestroyed=!0,this.errorHandler?.handleError(i)}this.executing=!1;for(let r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(let r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),n&&F(A.AfterRenderHooksEnd)}register(n){let{view:r}=n;r!==void 0?((r[Mt]??=[]).push(n),un(r),r[C]|=8192):this.executing?this.deferredRegistrations.add(n):this.addSequence(n)}addSequence(n){this.sequences.add(n),this.scheduler.notify(7)}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}maybeTrace(n,r){return r?r.run(li.AFTER_NEXT_RENDER,n):n()}static \u0275prov=O({token:e,providedIn:"root",factory:()=>new e})}return e})(),Yo=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(t,n,r,o,i,s=null){this.impl=t,this.hooks=n,this.view=r,this.once=o,this.snapshot=s,this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let t=this.view?.[Mt];t&&(this.view[Mt]=t.filter(n=>n!==this))}};function Gy(e,t){let n=t?.injector??I(ie);return Le("NgAfterNextRender"),Wy(e,n,t,!0)}function zy(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function Wy(e,t,n,r){let o=t.get(rc);o.impl??=t.get(sf);let i=t.get(pr,null,{optional:!0}),s=n?.manualCleanup!==!0?t.get(ot):null,a=t.get(Ao,null,{optional:!0}),c=new Yo(o.impl,zy(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var af=new M("",{factory:()=>{let e=I(ce),t=new Set;return e.onDestroy(()=>t.clear()),{queue:t,isScheduled:!1,scheduler:null,injector:e}}});function cf(e,t,n){let r=e.get(af);if(Array.isArray(t))for(let o of t)r.queue.add(o),n?.detachedLeaveAnimationFns?.push(o);else r.queue.add(t),n?.detachedLeaveAnimationFns?.push(t);r.scheduler&&r.scheduler(e)}function qy(e,t){let n=e.get(af);if(t.detachedLeaveAnimationFns){for(let r of t.detachedLeaveAnimationFns)n.queue.delete(r);t.detachedLeaveAnimationFns=void 0}}function Zy(e,t){for(let[n,r]of t)cf(e,r.animateFns)}function Hl(e,t,n,r){let o=e?.[xe]?.enter;t!==null&&o&&o.has(n.index)&&Zy(r,o)}function $l(e,t,n,r){try{n.get(Gn)}catch{return r(!1)}let o=e?.[xe],i=Yy(e,t,o);if(i.size===0){let s=!1;if(e){let a=[];di(e,t,a),s=a.length>0}if(!s)return r(!1)}e&&hn.add(e[Ne]),cf(n,()=>Qy(e,t,o||void 0,i,r),o||void 0)}function Yy(e,t,n){let r=new Map,o=n?.leave;if(o&&o.has(t.index)&&r.set(t.index,o.get(t.index)),e&&o)for(let[i,s]of o){if(r.has(i))continue;let c=e[m].data[i].parent;for(;c;){if(c===t){r.set(i,s);break}c=c.parent}}return r}function Qy(e,t,n,r,o){let i=[];if(n&&n.leave)for(let[s]of r){if(!n.leave.has(s))continue;let a=n.leave.get(s);for(let c of a.animateFns){let{promise:u}=c();i.push(u)}n.detachedLeaveAnimationFns=void 0}if(e&&di(e,t,i),i.length>0){let s=n||e?.[xe];if(s){let a=s.running;a&&i.push(a),s.running=Promise.allSettled(i),Ky(e,s.running,o)}else Promise.allSettled(i).then(()=>{e&&hn.delete(e[Ne]),o(!0)})}else e&&hn.delete(e[Ne]),o(!1)}function di(e,t,n){if(ze(t)){let o=ae(t.index,e);Ul(o,n)}else if(t.type&12){let o=e[t.index];if(de(o))for(let i=j;i{e[xe]?.running===t&&(e[xe].running=void 0,hn.delete(e[Ne])),n(!0)})}function ln(e,t,n,r,o,i,s,a){if(o!=null){let c,u=!1;de(o)?c=o:Ae(o)&&(u=!0,o=o[ye]);let l=fe(o);e===0&&r!==null?(Hl(a,r,i,n),s==null?Wd(t,r,l):Zo(t,r,l,s||null,!0)):e===1&&r!==null?(Hl(a,r,i,n),Zo(t,r,l,s||null,!0),$y(i,l)):e===2?(a?.[xe]?.leave?.has(i.index)&&Uy(i,l),$l(a,i,n,d=>{qd(t,l,u,d)})):e===3&&$l(a,i,n,()=>{t.destroyNode(l)}),c!=null&&aD(t,e,n,c,i,r,s)}}function Jy(e,t){uf(e,t),t[ye]=null,t[ee]=null}function Xy(e,t,n,r,o,i){r[ye]=o,r[ee]=t,pi(e,r,n,1,o,i)}function uf(e,t){t[Se].changeDetectionScheduler?.notify(9),pi(e,t,t[k],2,null,null)}function eD(e){let t=e[an];if(!t)return ta(e[m],e);for(;t;){let n=null;if(Ae(t))n=t[an];else{let r=t[j];r&&(n=r)}if(!n){for(;t&&!t[le]&&t!==e;)Ae(t)&&ta(t[m],t),t=t[$];t===null&&(t=e),Ae(t)&&ta(t[m],t),n=t&&t[le]}t=n}}function oc(e,t){let n=e[Nt],r=n.indexOf(t);n.splice(r,1)}function fi(e,t){if(xt(t))return;let n=t[k];n.destroyNode&&pi(e,t,n,3,null,null),eD(t)}function ta(e,t){if(xt(t))return;let n=D(null);try{t[C]&=-129,t[C]|=256,t[se]&&bn(t[se]),nD(e,t),tD(e,t),t[m].type===1&&t[k].destroy();let r=t[tt];if(r!==null&&de(t[$])){r!==t[$]&&oc(r,t);let o=t[Me];o!==null&&o.detachView(e)}pa(t)}finally{D(n)}}function tD(e,t){let n=e.cleanup,r=t[sn];if(n!==null)for(let s=0;s=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[n[s+1]];n[s].call(a)}r!==null&&(t[sn]=null);let o=t[$e];if(o!==null){t[$e]=null;for(let s=0;sP&&rf(e,t,P,!1);let a=s?A.TemplateUpdateStart:A.TemplateCreateStart;F(a,o,n),n(r,o)}finally{rt(i);let a=s?A.TemplateUpdateEnd:A.TemplateCreateEnd;F(a,o,n)}}function gf(e,t,n){gD(e,t,n),(n.flags&64)===64&&mD(e,t,n)}function ac(e,t,n=De){let r=t.localNames;if(r!==null){let o=t.index+1;for(let i=0;inull;function fD(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function mf(e,t,n,r,o,i){let s=t[m];if(cc(e,s,t,n,r)){ze(e)&&hD(t,e.index);return}e.type&3&&(n=fD(n)),pD(e,t,n,r,o,i)}function pD(e,t,n,r,o,i){if(e.type&3){let s=De(e,t);r=i!=null?i(r,e.value||"",n):r,o.setProperty(s,n,r)}else e.type&12}function hD(e,t){let n=ae(t,e);n[C]&16||(n[C]|=64)}function gD(e,t,n){let r=n.directiveStart,o=n.directiveEnd;ze(n)&&By(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||Wo(n,t);let i=n.initialInputs;for(let s=r;s{un(e.lView)},consumerOnSignalRead(){this.lView[se]=this}});function xD(e){let t=e[se]??Object.create(AD);return t.lView=e,t}var AD=Z(U({},ct),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=Ke(e.lView);for(;t&&!Cf(t[m]);)t=Ke(t);t&&As(t)},consumerOnSignalRead(){this.lView[se]=this}});function Cf(e){return e.type!==2}function wf(e){if(e[Wn]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[Wn])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[C]&8192)}}var RD=100;function bf(e,t=0){let r=e[Se].rendererFactory,o=!1;o||r.begin?.();try{OD(e,t)}finally{o||r.end?.()}}function OD(e,t){let n=$s();try{Us(!0),Ta(e,t);let r=0;for(;Qn(e);){if(r===RD)throw new E(103,!1);r++,Ta(e,1)}}finally{Us(n)}}function FD(e,t,n,r){if(xt(t))return;let o=t[C],i=!1,s=!1;bo(t);let a=!0,c=null,u=null;i||(Cf(e)?(u=TD(t),c=dt(u)):_r()===null?(a=!1,u=xD(t),c=dt(u)):t[se]&&(bn(t[se]),t[se]=null));try{xs(t),dl(e.bindingStartIndex),n!==null&&hf(e,t,n,2,r);let l=(o&3)===3;if(!i)if(l){let f=e.preOrderCheckHooks;f!==null&&Po(t,f,null)}else{let f=e.preOrderHooks;f!==null&&jo(t,f,0,null),Xs(t,0)}if(s||kD(t),wf(t),_f(t,0),e.contentQueries!==null&&Pd(e,t),!i)if(l){let f=e.contentCheckHooks;f!==null&&Po(t,f)}else{let f=e.contentHooks;f!==null&&jo(t,f,1),Xs(t,1)}PD(e,t);let d=e.components;d!==null&&Sf(t,d,0);let p=e.viewQuery;if(p!==null&&ha(2,p,r),!i)if(l){let f=e.viewCheckHooks;f!==null&&Po(t,f)}else{let f=e.viewHooks;f!==null&&jo(t,f,2),Xs(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[go]){for(let f of t[go])f();t[go]=null}i||(Ef(t),t[C]&=-73)}catch(l){throw i||un(t),l}finally{u!==null&&(Gt(u,c),a&&MD(u)),_o()}}function _f(e,t){for(let n=Md(e);n!==null;n=Nd(n))for(let r=j;r0&&(e[n-1][le]=r[le]);let i=$n(e,j+t);Jy(r[m],r);let s=i[Me];s!==null&&s.detachView(i[m]),r[$]=null,r[le]=null,r[C]&=-129}return r}function jD(e,t,n,r){let o=j+r,i=n.length;r>0&&(n[o-1][le]=t),r-1&&(ir(t,r),$n(n,r))}this._attachedToViewContainer=!1}fi(this._lView[m],this._lView)}onDestroy(t){Rs(this._lView,t)}markForCheck(){lc(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[C]&=-129}reattach(){vo(this._lView),this._lView[C]|=128}detectChanges(){this._lView[C]|=1024,bf(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new E(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=cn(this._lView),n=this._lView[tt];n!==null&&!t&&oc(n,this._lView),uf(this._lView[m],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new E(902,!1);this._appRef=t;let n=cn(this._lView),r=this._lView[tt];r!==null&&!n&&Af(r,this._lView),vo(this._lView)}};var mn=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=BD;constructor(n,r,o){this._declarationLView=n,this._declarationTContainer=r,this.elementRef=o}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,r){return this.createEmbeddedViewImpl(n,r)}createEmbeddedViewImpl(n,r,o){let i=hr(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:r,dehydratedView:o});return new it(i)}}return e})();function BD(){return dc(q(),v())}function dc(e,t){return e.type&4?new mn(t,e,Dn(e,t)):null}function vn(e,t,n,r,o){let i=e.data[t];if(i===null)i=VD(e,t,n,r,o),fl()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=cl();i.injectorIndex=s===null?-1:s.injectorIndex}return At(i,!0),i}function VD(e,t,n,r,o){let i=Bs(),s=Vs(),a=s?i:i&&i.parent,c=e.data[t]=$D(e,a,n,t,r,o);return HD(e,c,i,s),c}function HD(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 $D(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return Ls()&&(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,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 UD(e){let t=e[Ss]??[],r=e[$][k],o=[];for(let i of t)i.data[Od]!==void 0?o.push(i):GD(i,r);e[Ss]=o}function GD(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[Rd];for(;nnull,WD=()=>null;function Qo(e,t){return zD(e,t)}function Rf(e,t,n){return WD(e,t,n)}var Of=class{},hi=class{},Sa=class{resolveComponentFactory(t){throw new E(917,!1)}},mr=class{static NULL=new Sa},sr=class{},gi=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>qD()}return e})();function qD(){let e=v(),t=q(),n=ae(t.index,e);return(Ae(n)?n:e)[k]}var Ff=(()=>{class e{static \u0275prov=O({token:e,providedIn:"root",factory:()=>null})}return e})();var Vo={},Ma=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){let o=this.injector.get(t,Vo,r);return o!==Vo||n===Vo?o:this.parentInjector.get(t,n,r)}};function Ko(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s0&&(n.directiveToIndex=new Map);for(let p=0;p0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function rv(e,t,n){if(n){if(t.exportAs)for(let r=0;rr(fe(g[e.index])):e.index;Hf(h,t,n,i,a,f,!1)}}return u}function sv(e){return e.startsWith("animation")||e.startsWith("transition")}function av(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;ic?a[c]:null}typeof s=="string"&&(i+=2)}return null}function Hf(e,t,n,r,o,i,s){let a=t.firstCreatePass?Fs(t):null,c=Os(n),u=c.length;c.push(o,i),a&&a.push(r,e,u,(u+1)*(s?-1:1))}function Yl(e,t,n,r,o,i){let s=t[n],a=t[m],u=a.data[n].outputs[r],d=s[u].subscribe(i);Hf(e.index,a,t,o,i,d,!0)}var Na=Symbol("BINDING");var Jo=class extends mr{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=Ue(t);return new Pt(n,this.ngModule)}};function cv(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&ui.SignalBased)!==0};return o&&(i.transform=o),i})}function uv(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function lv(e,t,n){let r=t instanceof ce?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new Ma(n,r):n}function dv(e){let t=e.get(sr,null);if(t===null)throw new E(407,!1);let n=e.get(Ff,null),r=e.get(Xe,null);return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r,ngReflect:!1}}function fv(e,t){let n=$f(e);return zd(t,n,n==="svg"?Qu:n==="math"?Ku:null)}function $f(e){return(e.selectors[0][0]||"div").toLowerCase()}var Pt=class extends hi{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=cv(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=uv(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=ky(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o,i,s){F(A.DynamicComponentStart);let a=D(null);try{let c=this.componentDef,u=pv(r,c,s,i),l=lv(c,o||this.ngModule,t),d=dv(l),p=d.rendererFactory.createRenderer(null,c),f=r?uD(p,r,c.encapsulation,l):fv(c,p),h=s?.some(Ql)||i?.some(w=>typeof w!="function"&&w.bindings.some(Ql)),g=ec(null,u,null,512|tf(c),null,null,d,p,l,null,Ld(f,l,!0));g[P]=f,bo(g);let S=null;try{let w=Lf(P,g,2,"#host",()=>u.directiveRegistry,!0,0);Zd(p,f,w),pn(f,g),gf(u,g,w),jd(u,w,g),Pf(u,w),n!==void 0&&gv(w,this.ngContentSelectors,n),S=ae(w.index,g),g[V]=S[V],uc(u,g,null)}catch(w){throw S!==null&&pa(S),pa(g),w}finally{F(A.DynamicComponentEnd),_o()}return new Xo(this.componentType,g,!!h)}finally{D(a)}}};function pv(e,t,n,r){let o=e?["ng-version","21.2.0"]:Ly(t.selectors[0]),i=null,s=null,a=0;if(n)for(let l of n)a+=l[Na].requiredVars,l.create&&(l.targetIdx=0,(i??=[]).push(l)),l.update&&(l.targetIdx=0,(s??=[]).push(l));if(r)for(let l=0;l{if(n&1&&e)for(let r of e)r.create();if(n&2&&t)for(let r of t)r.update()}}function Ql(e){let t=e[Na].kind;return t==="input"||t==="twoWay"}var Xo=class extends Of{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=Zn(n[m],P),this.location=Dn(this._tNode,n),this.instance=ae(this._tNode.index,n)[V],this.hostView=this.changeDetectorRef=new it(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=cc(r,o[m],o,t,n);this.previousInputValues.set(t,n);let s=ae(r.index,o);lc(s,1)}get injector(){return new Ft(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function gv(e,t,n){let r=e.projection=[];for(let o=0;o{class e{static __NG_ELEMENT_ID__=mv}return e})();function mv(){let e=q();return Gf(e,v())}var yv=yr,Uf=class extends yv{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Dn(this._hostTNode,this._hostLView)}get injector(){return new Ft(this._hostTNode,this._hostLView)}get parentInjector(){let t=qa(this._hostTNode,this._hostLView);if(gd(t)){let n=Go(t,this._hostLView),r=Uo(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=Kl(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-j}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=Qo(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,gn(this._hostTNode,s)),a}createComponent(t,n,r,o,i,s,a){let c=t&&!fm(t),u;if(c)u=n;else{let S=n||{};u=S.index,r=S.injector,o=S.projectableNodes,i=S.environmentInjector||S.ngModuleRef,s=S.directives,a=S.bindings}let l=c?t:new Pt(Ue(t)),d=r||this.parentInjector;if(!i&&l.ngModule==null){let w=(c?d:this.parentInjector).get(ce,null);w&&(i=w)}let p=Ue(l.componentType??{}),f=Qo(this._lContainer,p?.id??null),h=f?.firstChild??null,g=l.create(d,o,h,i,s,a);return this.insertImpl(g.hostView,u,gn(this._hostTNode,f)),g}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(Xu(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[$],u=new Uf(c,c[ee],c[$]);u.detach(u.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return gr(s,o,i,r),t.attachToViewContainerRef(),ys(na(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Kl(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=ir(this._lContainer,n);r&&($n(na(this._lContainer),n),fi(r[m],r))}detach(t){let n=this._adjustIndex(t,-1),r=ir(this._lContainer,n);return r&&$n(na(this._lContainer),n)!=null?new it(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Kl(e){return e[qn]}function na(e){return e[qn]||(e[qn]=[])}function Gf(e,t){let n,r=t[e.index];return de(r)?n=r:(n=Mf(r,t,null,e),t[e.index]=n,tc(t,n)),vv(n,t,e,r),new Uf(n,e,t)}function Dv(e,t){let n=e[k],r=n.createComment(""),o=De(t,e),i=n.parentNode(o);return Zo(n,i,r,n.nextSibling(o),!1),r}var vv=Cv,Ev=()=>!1;function Iv(e,t,n){return Ev(e,t,n)}function Cv(e,t,n,r){if(e[nt])return;let o;n.type&8?o=fe(r):o=Dv(t,n),e[nt]=o}var xa=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},Aa=class e{queries;constructor(t=[]){this.queries=t}createEmbeddedView(t){let n=t.queries;if(n!==null){let r=t.contentQueries!==null?t.contentQueries[0]:n.length,o=[];for(let i=0;i0)r.push(s[a/2]);else{let u=i[a+1],l=t[-c];for(let d=j;dt.trim())}function Nv(e,t,n){e.queries===null&&(e.queries=new Oa),e.queries.track(new Fa(t,n))}function pc(e,t){return e.queries.getByIndex(t)}function qf(e,t){let n=e[m],r=pc(n,t);return r.crossesNgTemplate?ka(n,e,t,[]):zf(n,e,r,t)}function Zf(e,t,n){let r,o=Sn(()=>{r._dirtyCounter();let i=Av(r,e);if(t&&i===void 0)throw new E(-951,!1);return i});return r=o[H],r._dirtyCounter=No(0),r._flatValue=void 0,o}function Yf(e){return Zf(!0,!1,e)}function Qf(e){return Zf(!0,!0,e)}function xv(e,t){let n=e[H];n._lView=v(),n._queryIndex=t,n._queryList=fc(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function Av(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[C]&4)return t?void 0:Q;let o=fc(n,r),i=qf(n,r);return o.reset(i,_d),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}var La=new Map,Rv=new Set;async function Kf(e){let t=La;La=new Map;let n=new Map;function r(i){let s=n.get(i);if(s)return s;let a=e(i).then(c=>Ov(i,c));return n.set(i,a),a}let o=Array.from(t).map(async([i,s])=>{if(s.styleUrl&&s.styleUrls?.length)throw new Error("@Component cannot define both `styleUrl` and `styleUrls`. Use `styleUrl` if the component has one stylesheet, or `styleUrls` if it has multiple");let a=[];s.templateUrl&&a.push(r(s.templateUrl).then(d=>{s.template=d}));let c=typeof s.styles=="string"?[s.styles]:s.styles??[];s.styles=c;let{styleUrl:u,styleUrls:l}=s;if(u&&(l=[u],s.styleUrl=void 0),l?.length){let d=Promise.all(l.map(p=>r(p))).then(p=>{c.push(...p),s.styleUrls=void 0});a.push(d)}await Promise.all(a),Rv.delete(i)});await Promise.all(o)}function Jf(){return La.size===0}async function Ov(e,t){if(typeof t=="string")return t;if(t.status!==void 0&&t.status!==200)throw new E(918,!1);return t.text()}var jt=class{},Xf=class{};var ar=class extends jt{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new Jo(this);constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=ps(t);this._bootstrapComponents=Jd(i.bootstrap),this._r3Injector=Ws(t,n,[{provide:jt,useValue:this},{provide:mr,useValue:this.componentFactoryResolver},...r],Bn(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)}},cr=class extends Xf{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new ar(this.moduleType,t,[])}};function ep(e,t,n){return new ar(e,t,n,!1)}var ei=class extends jt{injector;componentFactoryResolver=new Jo(this);instance=null;constructor(t){super();let n=new Ct([...t.providers,{provide:jt,useValue:this},{provide:mr,useValue:this.componentFactoryResolver}],t.parent||zn(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function tp(e,t,n=null){return new ei({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var Fv=(()=>{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=Es(!1,n.type),o=r.length>0?tp([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=O({token:e,providedIn:"environment",factory:()=>new e(L(ce))})}return e})();function kv(e){return dr(()=>{let t=np(e),n=Z(U({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Ya.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(Fv).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Lt.Emulated,styles:e.styles||Q,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&Le("NgStandalone"),rp(n);let r=e.dependencies;return n.directiveDefs=Jl(r,Lv),n.pipeDefs=Jl(r,Pu),n.id=Bv(n),n})}function Lv(e){return Ue(e)||hs(e)}function mi(e){return dr(()=>({type:e.type,bootstrap:e.bootstrap||Q,declarations:e.declarations||Q,imports:e.imports||Q,exports:e.exports||Q,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Pv(e,t){if(e==null)return et;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a,c;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i,c=o[3]||null):(i=o,s=o,a=ui.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function jv(e){if(e==null)return et;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function hc(e){return dr(()=>{let t=np(e);return rp(t),t})}function Dr(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 np(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||et,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||Q,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,controlDef:null,inputs:Pv(e.inputs,t),outputs:jv(e.outputs),debugInfo:null}}function rp(e){e.features?.forEach(t=>t(e))}function Jl(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 Bv(e){let t=0,n=typeof e.consts=="function"?"":e.consts,r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,n,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(let i of r.join("|"))t=Math.imul(31,t)+i.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function Vv(e){return Object.getPrototypeOf(e.prototype).constructor}function op(e){let t=Vv(e.type),n=!0,r=[e];for(;t;){let o;if(Re(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new E(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=ra(e.inputs),s.declaredInputs=ra(e.declaredInputs),s.outputs=ra(e.outputs);let a=o.hostBindings;a&&zv(e,a);let c=o.viewQuery,u=o.contentQueries;if(c&&Uv(e,c),u&&Gv(e,u),Hv(e,o),Lu(e.outputs,o.outputs),Re(o)&&o.data.animation){let l=e.data;l.animation=(l.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s=0;r--){let o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=fn(o.hostAttrs,n=fn(n,o.hostAttrs))}}function ra(e){return e===et?{}:e===Q?[]:e}function Uv(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function Gv(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function zv(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function Wv(e,t,n,r,o,i,s,a){if(n.firstCreatePass){e.mergedAttrs=fn(e.mergedAttrs,e.attrs);let l=e.tView=Xa(2,e,o,i,s,n.directiveRegistry,n.pipeRegistry,null,n.schemas,n.consts,null);n.queries!==null&&(n.queries.template(n,e),l.queries=n.queries.embeddedTView(e))}a&&(e.flags|=a),At(e,!1);let c=qv(n,t,e,r);So()&&ic(n,t,c,e),pn(c,t);let u=Mf(c,t,c,e);t[r+P]=u,tc(t,u),Iv(u,e,t)}function ur(e,t,n,r,o,i,s,a,c,u,l){let d=n+P,p;if(t.firstCreatePass){if(p=vn(t,d,4,s||null,a||null),u!=null){let f=Oe(t.consts,u);p.localNames=[];for(let h=0;h{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function gc(e){return typeof e=="function"&&e[H]!==void 0}function mc(e){return gc(e)&&typeof e.set=="function"}var ip=new M(""),sp=new M(""),Qv=(()=>{class e{_ngZone;registry;_isZoneStable=!0;_callbacks=[];_taskTrackingZone=null;_destroyRef;constructor(n,r,o){this._ngZone=n,this.registry=r,bs()&&(this._destroyRef=I(ot,{optional:!0})??void 0),yc||(cp(o),o.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this._taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){let n=this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),r=this._ngZone.runOutsideAngular(()=>this._ngZone.onStable.subscribe({next:()=>{ue.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}}));this._destroyRef?.onDestroy(()=>{n.unsubscribe(),r.unsubscribe()})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>r.updateCb&&r.updateCb(n)?(clearTimeout(r.timeoutId),!1):!0)}}getPendingTasks(){return this._taskTrackingZone?this._taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==i),n()},r)),this._callbacks.push({doneCb:n,timeoutId:i,updateCb:o})}whenStable(n,r,o){if(o&&!this._taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,o),this._runCallbacksIfReady()}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,o){return[]}static \u0275fac=function(r){return new(r||e)(L(ue),L(ap),L(sp))};static \u0275prov=O({token:e,factory:e.\u0275fac})}return e})(),ap=(()=>{class e{_applications=new Map;registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return yc?.findTestabilityInTree(this,n,r)??null}static \u0275fac=function(r){return new(r||e)};static \u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function cp(e){yc=e}var yc;function vr(e){return!!e&&typeof e.then=="function"}function yi(e){return!!e&&typeof e.subscribe=="function"}var Dc=new M("");function Kv(e){return po([{provide:Dc,multi:!0,useValue:e}])}var vc=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=I(Dc,{optional:!0})??[];injector=I(ie);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=ho(this.injector,o);if(vr(i))n.push(i);else if(yi(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=O({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),up=new M("");function lp(){xi(()=>{let e="";throw new E(600,e)})}function dp(e){return e.isBoundToModule}var Jv=10;function Ec(e,t){return Array.isArray(t)?t.reduce(Ec,e):U(U({},e),t)}var En=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=I(We);afterRenderManager=I(rc);zonelessEnabled=I(Jn);rootEffectScheduler=I(Js);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new J;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=I(Ot);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(he(n=>!n))}constructor(){I(pr,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=I(ce);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=ie.NULL){return this._injector.get(ue).run(()=>{F(A.BootstrapComponentStart);let s=n instanceof hi;if(!this._injector.get(vc).done){let h="";throw new E(405,h)}let c;s?c=n:c=this._injector.get(mr).resolveComponentFactory(n),this.componentTypes.push(c.componentType);let u=dp(c)?void 0:this._injector.get(jt),l=r||c.selector,d=c.create(o,[],l,u),p=d.location.nativeElement,f=d.injector.get(ip,null);return f?.registerApplication(p),d.onDestroy(()=>{this.detachView(d.hostView),tr(this.components,d),f?.unregisterApplication(p)}),this._loadComponent(d),F(A.BootstrapComponentEnd,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){F(A.ChangeDetectionStart),this.tracingSnapshot!==null?this.tracingSnapshot.run(li.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw F(A.ChangeDetectionEnd),new E(101,!1);let n=D(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,D(n),this.afterTick.next(),F(A.ChangeDetectionEnd)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(sr,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++Qn(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;tr(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(up,[]).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),()=>tr(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new E(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function tr(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function fp(e,t,n,r){let o=v(),i=Rt();if(Ie(o,i,t)){let s=B(),a=To();vD(a,o,e,t,n,r)}return fp}function Xv(){return v()[K][V]}var Pa=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 oa(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function eE(e,t,n,r){let o,i,s=0,a=e.length-1,c=void 0;if(Array.isArray(t)){D(r);let u=t.length-1;for(D(null);s<=a&&s<=u;){let l=e.at(s),d=t[s],p=oa(s,l,s,d,n);if(p!==0){p<0&&e.updateValue(s,d),s++;continue}let f=e.at(a),h=t[u],g=oa(a,f,u,h,n);if(g!==0){g<0&&e.updateValue(a,h),a--,u--;continue}let S=n(s,l),w=n(a,f),G=n(s,d);if(Object.is(G,w)){let $t=n(u,h);Object.is($t,S)?(e.swap(s,a),e.updateValue(a,h),u--,a--):e.move(a,s),e.updateValue(s,d),s++;continue}if(o??=new ti,i??=ed(e,s,a,n),ja(e,o,s,G))e.updateValue(s,d),s++,a++;else if(i.has(G))o.set(S,e.detach(s)),a--;else{let $t=e.create(s,t[s]);e.attach(s,$t),s++,a++}}for(;s<=u;)Xl(e,o,n,s,t[s]),s++}else if(t!=null){D(r);let u=t[Symbol.iterator]();D(null);let l=u.next();for(;!l.done&&s<=a;){let d=e.at(s),p=l.value,f=oa(s,d,s,p,n);if(f!==0)f<0&&e.updateValue(s,p),s++,l=u.next();else{o??=new ti,i??=ed(e,s,a,n);let h=n(s,p);if(ja(e,o,s,h))e.updateValue(s,p),s++,a++,l=u.next();else if(!i.has(h))e.attach(s,e.create(s,p)),s++,a++,l=u.next();else{let g=n(s,d);o.set(g,e.detach(s)),a--}}}for(;!l.done;)Xl(e,o,n,e.length,l.value),l=u.next()}for(;s<=a;)e.destroy(e.detach(a--));o?.forEach(u=>{e.destroy(u)})}function ja(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function Xl(e,t,n,r,o){if(ja(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function ed(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 ti=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 tE(e,t,n,r,o,i,s,a){Le("NgControlFlow");let c=v(),u=B(),l=Oe(u.consts,i);return ur(c,u,e,t,n,r,o,l,256,s,a),Ic}function Ic(e,t,n,r,o,i,s,a){Le("NgControlFlow");let c=v(),u=B(),l=Oe(u.consts,i);return ur(c,u,e,t,n,r,o,l,512,s,a),Ic}function nE(e,t){Le("NgControlFlow");let n=v(),r=Rt(),o=n[r]!==re?n[r]:-1,i=o!==-1?ni(n,P+o):void 0,s=0;if(Ie(n,r,e)){let a=D(null);try{if(i!==void 0&&xf(i,s),e!==-1){let c=P+e,u=ni(n,c),l=$a(n[m],c),d=Rf(u,l,n),p=hr(n,l,t,{dehydratedView:d});gr(u,p,s,gn(l,d))}}finally{D(a)}}else if(i!==void 0){let a=Nf(i,s);a!==void 0&&(a[V]=t)}}var Ba=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-j}};function rE(e,t){return t}var Va=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function oE(e,t,n,r,o,i,s,a,c,u,l,d,p){Le("NgControlFlow");let f=v(),h=B(),g=c!==void 0,S=v(),w=a?s.bind(S[K][V]):s,G=new Va(g,w);S[P+e]=G,ur(f,h,e+1,t,n,r,o,Oe(h.consts,i),256),g&&ur(f,h,e+2,c,u,l,d,Oe(h.consts,p),512)}var Ha=class extends Pa{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-j}at(t){return this.getLView(t)[V].$implicit}attach(t,n){let r=n[_t];this.needsIndexUpdate||=t!==this.length,gr(this.lContainer,n,t,gn(this.templateTNode,r)),sE(this.lContainer,t)}detach(t){return this.needsIndexUpdate||=t!==this.length-1,aE(this.lContainer,t),cE(this.lContainer,t)}create(t,n){let r=Qo(this.lContainer,this.templateTNode.tView.ssrId);return hr(this.hostLView,this.templateTNode,new Ba(this.lContainer,n,t),{dehydratedView:r})}destroy(t){fi(t[m],t)}updateValue(t,n){this.getLView(t)[V].$implicit=n}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t0){let i=r[Ge];qy(i,o),hn.delete(r[Ne]),o.detachedLeaveAnimationFns=void 0}}function aE(e,t){if(e.length<=j)return;let n=j+t,r=e[n],o=r?r[xe]:void 0;o&&o.leave&&o.leave.size>0&&(o.detachedLeaveAnimationFns=[])}function cE(e,t){return ir(e,t)}function uE(e,t){return Nf(e,t)}function $a(e,t){return Zn(e,t)}function pp(e,t,n){let r=v(),o=Rt();if(Ie(r,o,t)){let i=B(),s=To();mf(s,r,e,t,r[k],n)}return pp}function Ua(e,t,n,r,o){cc(t,e,n,o?"class":"style",r)}function Cc(e,t,n,r){let o=v(),i=o[m],s=e+P,a=i.firstCreatePass?Lf(s,o,2,t,DD,il(),n,r):i.data[s];if(yf(a,o,e,t,mp),mo(a)){let c=o[m];gf(c,o,a),jd(c,a,o)}return r!=null&&ac(o,a),Cc}function wc(){let e=B(),t=q(),n=Df(t);return e.firstCreatePass&&Pf(e,n),Ps(n)&&js(),ks(),n.classesWithoutHost!=null&&vm(n)&&Ua(e,n,v(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&Em(n)&&Ua(e,n,v(),n.stylesWithoutHost,!1),wc}function hp(e,t,n,r){return Cc(e,t,n,r),wc(),hp}function bc(e,t,n,r){let o=v(),i=o[m],s=e+P,a=i.firstCreatePass?iv(s,i,2,t,n,r):i.data[s];return yf(a,o,e,t,mp),r!=null&&ac(o,a),bc}function _c(){let e=q(),t=Df(e);return Ps(t)&&js(),ks(),_c}function gp(e,t,n,r){return bc(e,t,n,r),_c(),gp}var mp=(e,t,n,r,o)=>(Mo(!0),zd(t[k],r,El()));function lE(){return v()}var Xn=void 0;function dE(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var fE=["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"]],Xn,[["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"]],Xn,[["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}",Xn,Xn,Xn],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",dE],ia={};function Di(e){let t=pE(e),n=td(t);if(n)return n;let r=t.split("-")[0];if(n=td(r),n)return n;if(r==="en")return fE;throw new E(701,!1)}function td(e){return e in ia||(ia[e]=me.ng&&me.ng.common&&me.ng.common.locales&&me.ng.common.locales[e]),ia[e]}var Ht=(function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e})(Ht||{});function pE(e){return e.toLowerCase().replace(/_/g,"-")}var Er="en-US";var hE=Er;function yp(e){typeof e=="string"&&(hE=e.toLowerCase().replace(/_/g,"-"))}function Dp(e,t,n){let r=v(),o=B(),i=q();return Ep(o,r,r[k],i,e,t,n),Dp}function vp(e,t,n){let r=v(),o=B(),i=q();return(i.type&3||n)&&Vf(i,o,r,n,r[k],e,t,Ho(i,r,t)),vp}function Ep(e,t,n,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=Ho(r,t,i),Vf(r,e,t,s,n,o,i,c)&&(a=!1)),a){let u=r.outputs?.[o],l=r.hostDirectiveOutputs?.[o];if(l&&l.length)for(let d=0;d>17&32767}function wE(e){return(e&2)==2}function bE(e,t){return e&131071|t<<17}function Ga(e){return e|2}function yn(e){return(e&131068)>>2}function sa(e,t){return e&-131069|t<<2}function _E(e){return(e&1)===1}function za(e){return e|1}function TE(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=Bt(s),c=yn(s);e[r]=n;let u=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||on(d,l)>0)&&(u=!0)}else l=n;if(o)if(c!==0){let p=Bt(e[a+1]);e[r+1]=ko(p,a),p!==0&&(e[p+1]=sa(e[p+1],r)),e[a+1]=bE(e[a+1],r)}else e[r+1]=ko(a,0),a!==0&&(e[a+1]=sa(e[a+1],r)),a=r;else e[r+1]=ko(c,0),a===0?a=r:e[c+1]=sa(e[c+1],r),c=r;u&&(e[r+1]=Ga(e[r+1])),nd(e,l,r,!0),nd(e,l,r,!1),SE(t,l,e,r,i),s=ko(a,c),i?t.classBindings=s:t.styleBindings=s}function SE(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&on(i,t)>=0&&(n[r+1]=za(n[r+1]))}function nd(e,t,n,r){let o=e[n+1],i=t===null,s=r?Bt(o):yn(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],u=e[s+1];ME(c,t)&&(a=!0,e[s+1]=r?za(u):Ga(u)),s=r?Bt(u):yn(u)}a&&(e[n+1]=r?Ga(o):za(o))}function ME(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?on(e,t)>=0:!1}var te={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function NE(e){return e.substring(te.key,te.keyEnd)}function xE(e){return e.substring(te.value,te.valueEnd)}function AE(e){return RE(e),wp(e,ri(e,0,te.textEnd))}function wp(e,t){let n=te.textEnd,r=te.key=ri(e,t,n);return n===r?-1:(r=te.keyEnd=OE(e,r,n),r=rd(e,r,n,58),r=te.value=ri(e,r,n),r=te.valueEnd=FE(e,r,n),rd(e,r,n,59))}function RE(e){te.key=0,te.keyEnd=0,te.value=0,te.valueEnd=0,te.textEnd=e.length}function ri(e,t,n){for(;t=65&&(r&-33)<=90||r>=48&&r<=57);)t++;return t}function rd(e,t,n,r){return t=ri(e,t,n),t32&&(a=s),i=o,o=r,r=c&-33}return a}function od(e,t,n,r){let o=-1,i=n;for(;i=0;n=wp(t,n))Np(e,NE(t),xE(t))}function Tp(e,t,n,r){let o=v(),i=B(),s=Io(2);if(i.firstUpdatePass&&Mp(i,e,s,r),t!==re&&Ie(o,s,t)){let a=i.data[ve()];xp(i,a,o,o[k],e,o[s+1]=GE(t,n),r,s)}}function PE(e,t,n,r){let o=B(),i=Io(2);o.firstUpdatePass&&Mp(o,null,i,r);let s=v();if(n!==re&&Ie(s,i,n)){let a=o.data[ve()];if(Ap(a,r)&&!Sp(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=io(c,n||"")),Ua(o,a,s,n,r)}else UE(o,a,s,s[k],s[i+1],s[i+1]=$E(e,t,n),r,i)}}function Sp(e,t){return t>=e.expandoStartIndex}function Mp(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[ve()],s=Sp(e,n);Ap(i,r)&&t===null&&!s&&(t=!1),t=jE(o,i,t,r),TE(o,i,t,n,s,r)}}function jE(e,t,n,r){let o=gl(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=aa(null,e,t,n,r),n=lr(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=aa(o,e,t,n,r),i===null){let c=BE(e,t,r);c!==void 0&&Array.isArray(c)&&(c=aa(null,e,t,c[1],r),c=lr(c,t.attrs,r),VE(e,t,r,c))}else i=HE(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function BE(e,t,n){let r=n?t.classBindings:t.styleBindings;if(yn(r)!==0)return e[Bt(r)]}function VE(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[Bt(o)]=r}function HE(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i0;){let c=e[o],u=Array.isArray(c),l=u?c[1]:c,d=l===null,p=n[o+1];p===re&&(p=d?Q:void 0);let f=d?fo(p,r):l===r?p:void 0;if(u&&!oi(f)&&(f=fo(c,r)),oi(f)&&(a=f,s))return a;let h=e[o+1];o=s?Bt(h):yn(h)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=fo(c,r))}return a}function oi(e){return e!==void 0}function GE(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=Bn(Vt(e)))),e}function Ap(e,t){return(e.flags&(t?8:16))!==0}function zE(e,t=""){let n=v(),r=B(),o=e+P,i=r.firstCreatePass?vn(r,o,1,t,null):r.data[o],s=WE(r,n,i,t);n[o]=s,So()&&ic(r,n,s,i),At(i,!1)}var WE=(e,t,n,r)=>(Mo(!0),yy(t[k],r));function qE(e,t,n,r=""){return Ie(e,Rt(),n)?t+rn(n)+r:re}function ZE(e,t,n,r,o,i=""){let s=ll(),a=Bf(e,s,n,o);return Io(2),a?t+rn(n)+r+rn(o)+i:re}function Rp(e){return Tc("",e),Rp}function Tc(e,t,n){let r=v(),o=qE(r,e,t,n);return o!==re&&Fp(r,ve(),o),Tc}function Op(e,t,n,r,o){let i=v(),s=ZE(i,e,t,n,r,o);return s!==re&&Fp(i,ve(),s),Op}function Fp(e,t,n){let r=Ns(t,e);Dy(e[k],r,n)}function kp(e,t,n){mc(t)&&(t=t());let r=v(),o=Rt();if(Ie(r,o,t)){let i=B(),s=To();mf(s,r,e,t,r[k],n)}return kp}function YE(e,t){let n=mc(e);return n&&e.set(t),n}function Lp(e,t){let n=v(),r=B(),o=q();return Ep(r,n,n[k],o,e,t),Lp}var Pp={};function jp(e){Le("NgLet");let t=B(),n=v(),r=e+P,o=vn(t,r,128,null,null);return At(o,!1),Yn(t,n,r,Pp),jp}function QE(e){let t=B(),n=v(),r=ve();return Yn(t,n,r,e),e}function KE(e){let t=ul(),n=yo(t,P+e);if(n===Pp)throw new E(314,!1);return n}function sd(e,t,n){let r=B();r.firstCreatePass&&Bp(t,r.data,r.blueprint,Re(e),n)}function Bp(e,t,n,r,o){if(e=W(e),Array.isArray(e))for(let i=0;i>20;if(It(e)||!e.multi){let f=new kt(u,o,Pe,null),h=ua(c,t,o?l:l+p,d);h===-1?(da(Wo(a,s),i,c),ca(i,e,t.length),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[h]=f,s[h]=f)}else{let f=ua(c,t,l+p,d),h=ua(c,t,l,l+p),g=f>=0&&n[f],S=h>=0&&n[h];if(o&&!S||!o&&!g){da(Wo(a,s),i,c);let w=eI(o?XE:JE,n.length,o,r,u,e);!o&&S&&(n[h].providerFactory=w),ca(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(w),s.push(w)}else{let w=Vp(n[o?h:f],u,!o&&r);ca(i,e,f>-1?f:h,w)}!o&&r&&S&&n[h].componentProviders++}}}function ca(e,t,n,r){let o=It(t),i=Zu(t);if(o||i){let c=(i?W(t.useClass):t).prototype.ngOnDestroy;if(c){let u=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let l=u.indexOf(n);l===-1?u.push(n,[r,c]):u[l+1].push(r,c)}else u.push(n,c)}}}function Vp(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function ua(e,t,n,r){for(let o=n;o{n.providersResolver=(r,o)=>sd(r,o?o(e):e,!1),t&&(n.viewProvidersResolver=(r,o)=>sd(r,o?o(t):t,!0))}}function nI(e,t,n){return $p(v(),Eo(),e,t,n)}function Hp(e,t){let n=e[t];return n===re?void 0:n}function $p(e,t,n,r,o,i){let s=t+n;return Ie(e,s,o)?jf(e,s+1,i?r.call(i,o):r(o)):Hp(e,s+1)}function rI(e,t,n,r,o,i,s){let a=t+n;return Bf(e,a,o,i)?jf(e,a+2,s?r.call(s,o,i):r(o,i)):Hp(e,a+2)}function oI(e,t){let n=B(),r,o=e+P;n.firstCreatePass?(r=iI(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=Qe(r.type,!0)),s,a=X(Pe);try{let c=zo(!1),u=i();return zo(c),Yn(n,v(),o,u),u}finally{X(a)}}function iI(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function sI(e,t,n){let r=e+P,o=v(),i=yo(o,r);return Up(o,r)?$p(o,Eo(),t,i.transform,n,i):i.transform(n)}function aI(e,t,n,r){let o=e+P,i=v(),s=yo(i,o);return Up(i,o)?rI(i,Eo(),t,s.transform,n,r,s):s.transform(n,r)}function Up(e,t){return e[m].data[t].pure}var Lo=null;function Gp(e){Lo!==null&&(e.defaultEncapsulation!==Lo.defaultEncapsulation||e.preserveWhitespaces!==Lo.preserveWhitespaces)||(Lo=e)}var ii=class{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},cI=(()=>{class e{compileModuleSync(n){return new cr(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=ps(n),i=Jd(o.declarations).reduce((s,a)=>{let c=Ue(a);return c&&s.push(new Pt(c)),s},[]);return new ii(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),zp=new M("");var Wp=(()=>{class e{applicationErrorHandler=I(We);appRef=I(En);taskService=I(Ot);ngZone=I(ue);zonelessEnabled=I(Jn);tracing=I(pr,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new z;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Pn):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(I(Qs,{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:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2;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?bl:qs;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(Pn+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=O({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function uI(){return Le("NgZoneless"),po([...Sc(),[]])}function Sc(){return[{provide:Xe,useExisting:Wp},{provide:ue,useClass:jn},{provide:Jn,useValue:!0}]}function lI(){return typeof $localize<"u"&&$localize.locale||Er}var Ir=new M("",{factory:()=>I(Ir,{optional:!0,skipSelf:!0})||lI()});function vi(e){return Au(e)}function fI(e,t){return Sn(e,t?.equal)}var pI=e=>e;function hI(e,t){if(typeof e=="function"){let n=Wi(e,pI,t?.equal);return qp(n,t?.debugName)}else{let n=Wi(e.source,e.computation,e.equal);return qp(n,e.debugName)}}function qp(e,t){let n=e[H],r=e;return r.set=o=>Nu(n,o),r.update=o=>xu(n,o),r.asReadonly=xo.bind(e),r}var eh=Symbol("InputSignalNode#UNSET"),wI=Z(U({},Mr),{transformFn:void 0,applyValueToInputSignal(e,t){ft(e,t)}});function th(e,t){let n=Object.create(wI);n.value=e,n.transformFn=t?.transform;function r(){if(ut(n),n.value===eh){let o=null;throw new E(-950,o)}return n.value}return r[H]=n,r}var Zp=class{attributeName;constructor(t){this.attributeName=t}__NG_ELEMENT_ID__=()=>Za(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}};function Yp(e,t){return th(e,t)}function bI(e){return th(eh,e)}var Gk=(Yp.required=bI,Yp);function Qp(e,t){return Yf(t)}function _I(e,t){return Qf(t)}var zk=(Qp.required=_I,Qp);function TI(e,t,n){let r=new cr(n);return Promise.resolve(r)}function Kp(e){for(let t=e.length-1;t>=0;t--)if(e[t]!==void 0)return e[t]}var Ei=new M(""),SI=new M("");function Cr(e){return!e.moduleRef}function MI(e){let t=Cr(e)?e.r3Injector:e.moduleRef.injector,n=t.get(ue);return n.run(()=>{Cr(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(We),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:r})}),Cr(e)){let i=()=>t.destroy(),s=e.platformInjector.get(Ei);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(Ei);s.add(i),e.moduleRef.onDestroy(()=>{tr(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return xI(r,n,()=>{let i=t.get(Ot),s=i.add(),a=t.get(vc);return a.runInitializers(),a.donePromise.then(()=>{let c=t.get(Ir,Er);if(yp(c||Er),!t.get(SI,!0))return Cr(e)?t.get(En):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Cr(e)){let l=t.get(En);return e.rootComponent!==void 0&&l.bootstrap(e.rootComponent),l}else return nh?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>{i.remove(s)})})})}var nh;function Jp(){nh=NI}function NI(e,t){let n=e.injector.get(En);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(n);else throw new E(-403,!1);t.push(e)}function xI(e,t,n){try{let r=n();return vr(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e(r)),r}}var rh=(()=>{class e{_injector;_modules=[];_destroyListeners=[];_destroyed=!1;constructor(n){this._injector=n}bootstrapModuleFactory(n,r){let o=[Sc(),...r?.applicationProviders??[],Tl],i=ep(n.moduleType,this.injector,o);return Jp(),MI({moduleRef:i,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(n,r=[]){let o=Ec({},r);return Jp(),TI(this.injector,o,n).then(i=>this.bootstrapModuleFactory(i,o))}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new E(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());let n=this._injector.get(Ei,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static \u0275fac=function(r){return new(r||e)(L(ie))};static \u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),Mc=null;function AI(e){if(Nc())throw new E(400,!1);lp(),Mc=e;let t=e.get(rh);return kI(e),t}function RI(e,t,n=[]){let r=`Platform: ${t}`,o=new M(r);return(i=[])=>{let s=Nc();if(!s){let a=[...n,...i,{provide:o,useValue:!0}];s=e?.(a)??AI(OI(a,r))}return FI(o)}}function OI(e=[],t){return ie.create({name:t,providers:[{provide:Cs,useValue:"platform"},{provide:Ei,useValue:new Set([()=>Mc=null])},...e]})}function FI(e){let t=Nc();if(!t)throw new E(-401,!1);return t}function Nc(){return Mc?.get(rh)??null}function kI(e){let t=e.get(Ad,null);ho(e,()=>{t?.forEach(n=>n())})}var LI=1e4;var Wk=LI-1e3;var xc=(()=>{class e{static __NG_ELEMENT_ID__=PI}return e})();function PI(e){return jI(q(),v(),(e&16)===16)}function jI(e,t,n){if(ze(e)&&!n){let r=ae(e.index,t);return new it(r,r)}else if(e.type&175){let r=t[K];return new it(r,t)}return null}var qk=RI(null,"core",[]),Zk=(()=>{class e{constructor(n){}static \u0275fac=function(r){return new(r||e)(L(En))};static \u0275mod=mi({type:e});static \u0275inj=Vn({})}return e})();function BI(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function Yk(e){let t=Ue(e);if(!t)return null;let n=new Pt(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}var oh=null;function Ii(){return oh}function VI(e){oh??=e}var Rc=class{},In=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=O({token:e,factory:()=>I(ih),providedIn:"platform"})}return e})(),HI=new M(""),ih=(()=>{class e extends In{_location;_history;_doc=I(Fe);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Ii().getBaseHref(this._doc)}onPopState(n){let r=Ii().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){let r=Ii().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=O({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function Ci(e,t){return e?t?e.endsWith("/")?t.startsWith("/")?e+t.slice(1):e+t:t.startsWith("/")?e+t:`${e}/${t}`:e:t}function sh(e){let t=e.search(/#|\?|$/);return e[t-1]==="/"?e.slice(0,t-1)+e.slice(t):e}function Ce(e){return e&&e[0]!=="?"?`?${e}`:e}var Cn=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=O({token:e,factory:()=>I(ch),providedIn:"root"})}return e})(),wi=new M(""),ch=(()=>{class e extends Cn{_platformLocation;_baseHref;_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??I(Fe).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 Ci(this._baseHref,n)}path(n=!1){let r=this._platformLocation.pathname+Ce(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+Ce(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+Ce(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)(L(In),L(wi,8))};static \u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var uh=(()=>{class e{_subject=new J;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(n){this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=GI(sh(ah(r))),this._locationStrategy.onPopState(o=>{this._subject.next({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+Ce(r))}normalize(n){return e.stripTrailingSlash(UI(this._basePath,ah(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+Ce(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Ce(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=Ce;static joinWithSlash=Ci;static stripTrailingSlash=sh;static \u0275fac=function(r){return new(r||e)(L(Cn))};static \u0275prov=O({token:e,factory:()=>$I(),providedIn:"root"})}return e})();function $I(){return new uh(L(Cn))}function UI(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function ah(e){return e.replace(/\/index.html$/,"")}function GI(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}var zI=(()=>{class e extends Cn{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,r!=null&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}path(n=!1){let r=this._platformLocation.hash??"#";return r.length>0?r.substring(1):r}prepareExternalUrl(n){let r=Ci(this._baseHref,n);return r.length>0?"#"+r:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+Ce(i))||this._platformLocation.pathname;this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+Ce(i))||this._platformLocation.pathname;this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static \u0275fac=function(r){return new(r||e)(L(In),L(wi,8))};static \u0275prov=O({token:e,factory:e.\u0275fac})}return e})();var jc=(function(e){return e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific",e})(jc||{});var je={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function wn(e,t){let n=Di(e),r=n[Ht.NumberSymbols][t];if(typeof r>"u"){if(t===je.CurrencyDecimal)return n[Ht.NumberSymbols][je.Decimal];if(t===je.CurrencyGroup)return n[Ht.NumberSymbols][je.Group]}return r}function fh(e,t){return Di(e)[Ht.NumberFormats][t]}var WI=/^(\d+)?\.((\d+)(-(\d+))?)?$/,lh=22,bi=".",wr="0",qI=";",ZI=",",Oc="#";function YI(e,t,n,r,o,i,s=!1){let a="",c=!1;if(!isFinite(e))a=wn(n,je.Infinity);else{let u=JI(e);s&&(u=KI(u));let l=t.minInt,d=t.minFrac,p=t.maxFrac;if(i){let G=i.match(WI);if(G===null)throw new E(2306,!1);let $t=G[1],_i=G[3],Hc=G[5];$t!=null&&(l=Fc($t)),_i!=null&&(d=Fc(_i)),Hc!=null?p=Fc(Hc):_i!=null&&d>p&&(p=d)}XI(u,d,p);let f=u.digits,h=u.integerLen,g=u.exponent,S=[];for(c=f.every(G=>!G);h0?S=f.splice(h,f.length):(S=f,f=[0]);let w=[];for(f.length>=t.lgSize&&w.unshift(f.splice(-t.lgSize,f.length).join(""));f.length>t.gSize;)w.unshift(f.splice(-t.gSize,f.length).join(""));f.length&&w.unshift(f.join("")),a=w.join(wn(n,r)),S.length&&(a+=wn(n,o)+S.join("")),g&&(a+=wn(n,je.Exponential)+"+"+g)}return e<0&&!c?a=t.negPre+a+t.negSuf:a=t.posPre+a+t.posSuf,a}function ph(e,t,n){let r=fh(t,jc.Decimal),o=QI(r,wn(t,je.MinusSign));return YI(e,o,t,je.Group,je.Decimal,n)}function QI(e,t="-"){let n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=e.split(qI),o=r[0],i=r[1],s=o.indexOf(bi)!==-1?o.split(bi):[o.substring(0,o.lastIndexOf(wr)+1),o.substring(o.lastIndexOf(wr)+1)],a=s[0],c=s[1]||"";n.posPre=a.substring(0,a.indexOf(Oc));for(let l=0;l-1&&(t=t.replace(bi,"")),(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)===wr;i++);if(i===(a=t.length))r=[0],o=1;else{for(a--;t.charAt(a)===wr;)a--;for(o-=i,r=[],s=0;i<=a;i++,s++)r[s]=Number(t.charAt(i))}return o>lh&&(r=r.splice(0,lh-1),n=o-1,o=1),{digits:r,exponent:n,integerLen:o}}function XI(e,t,n){if(t>n)throw new E(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=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=u?h.pop():c=!1),p>=10?1:0},0);l&&(r.unshift(l),e.integerLen++)}function Fc(e){let t=parseInt(e);if(isNaN(t))throw new E(2305,!1);return t}var kc=/\s+/,dh=[],eC=(()=>{class e{_ngEl;_renderer;initialClasses=dh;rawClass;stateMap=new Map;constructor(n,r){this._ngEl=n,this._renderer=r}set klass(n){this.initialClasses=n!=null?n.trim().split(kc):dh}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(kc):n}ngDoCheck(){for(let r of this.initialClasses)this._updateState(r,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let r of n)this._updateState(r,!0);else if(n!=null)for(let r of Object.keys(n))this._updateState(r,!!n[r]);this._applyStateDiff()}_updateState(n,r){let o=this.stateMap.get(n);o!==void 0?(o.enabled!==r&&(o.changed=!0,o.enabled=r),o.touched=!0):this.stateMap.set(n,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let r=n[0],o=n[1];o.changed?(this._toggleClass(r,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),o.touched=!1}}_toggleClass(n,r){n=n.trim(),n.length>0&&n.split(kc).forEach(o=>{r?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}static \u0275fac=function(r){return new(r||e)(Pe(st),Pe(gi))};static \u0275dir=hc({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})();function hh(e,t){return new E(2100,!1)}var Lc=class{createSubscription(t,n,r){return vi(()=>t.subscribe({next:n,error:r}))}dispose(t){vi(()=>t.unsubscribe())}},Pc=class{createSubscription(t,n,r){return t.then(o=>n?.(o),o=>r?.(o)),{unsubscribe:()=>{n=null,r=null}}}dispose(t){t.unsubscribe()}},tC=new Pc,nC=new Lc,rC=(()=>{class e{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;applicationErrorHandler=I(We);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(vr(n))return tC;if(yi(n))return nC;throw hh(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)(Pe(xc,16))};static \u0275pipe=Dr({name:"async",type:e,pure:!1})}return e})();var oC=(()=>{class e{transform(n){return JSON.stringify(n,null,2)}static \u0275fac=function(r){return new(r||e)};static \u0275pipe=Dr({name:"json",type:e,pure:!1})}return e})();var iC=(()=>{class e{_locale;constructor(n){this._locale=n}transform(n,r,o){if(!sC(n))return null;o||=this._locale;try{let i=aC(n);return ph(i,o,r)}catch(i){throw hh(e,i.message)}}static \u0275fac=function(r){return new(r||e)(Pe(Ir,16))};static \u0275pipe=Dr({name:"number",type:e,pure:!0})}return e})();function sC(e){return!(e==null||e===""||e!==e)}function aC(e){if(typeof e=="string"&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if(typeof e!="number")throw new E(2309,!1);return e}var cC=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=mi({type:e});static \u0275inj=Vn({})}return e})();function uC(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let r=n.indexOf("="),[o,i]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}var Bc=class{};var dC="browser";function kP(e){return e===dC}var LP=(()=>{class e{static \u0275prov=O({token:e,providedIn:"root",factory:()=>new Vc(I(Fe),window)})}return e})(),Vc=class{document;window;offset=()=>[0,0];constructor(t,n){this.document=t,this.window=n}setOffset(t){Array.isArray(t)?this.offset=()=>t:this.offset=t}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(t,n){this.window.scrollTo(Z(U({},n),{left:t[0],top:t[1]}))}scrollToAnchor(t,n){let r=fC(this.document,t);r&&(this.scrollToElement(r,n),r.focus())}setHistoryScrollRestoration(t){try{this.window.history.scrollRestoration=t}catch{console.warn(wt(2400,!1))}}scrollToElement(t,n){let r=t.getBoundingClientRect(),o=r.left+this.window.pageXOffset,i=r.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(Z(U({},n),{left:o-s[0],top:i-s[1]}))}};function fC(e,t){let n=e.getElementById(t)||e.getElementsByName(t)[0];if(n)return n;if(typeof e.createTreeWalker=="function"&&e.body&&typeof e.body.attachShadow=="function"){let r=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT),o=r.currentNode;for(;o;){let i=o.shadowRoot;if(i){let s=i.getElementById(t)||i.querySelector(`[name="${t}"]`);if(s)return s}o=r.nextNode()}}return null}export{U as a,Z as b,z as c,xh as d,N as e,J as f,Mn as g,Ve as h,_e as i,Hh as j,$h as k,Uh as l,Rn as m,he as n,Kh as o,ge as p,On as q,Xt as r,Xh as s,eg as t,Vi as u,Dt as v,ag as w,cg as x,Hi as y,Cu as z,ug as A,en as B,$i as C,lg as D,dg as E,Tu as F,hg as G,gg as H,mg as I,yg as J,Dg as K,vg as L,Eg as M,Ig as N,Cg as O,wg as P,E as Q,wt as R,me as S,so as T,O as U,Vn as V,Ng as W,M as X,L as Y,I as Z,po as _,Cs as $,ce as aa,ho as ba,sl as ca,al as da,ie as ea,Fe as fa,ot as ga,Ot as ha,He as ia,ue as ja,Je as ka,We as la,No as ma,Ks as na,ud as oa,wd as pa,Za as qa,st as ra,jm as sa,Bm as ta,Ad as ua,Hm as va,$m as wa,Um as xa,Lt as ya,Vt as za,Qa as Aa,Ym as Ba,Qm as Ca,Km as Da,Jm as Ea,Xm as Fa,Ka as Ga,gy as Ha,ci as Ia,Yd as Ja,Qd as Ka,by as La,Vy as Ma,rr as Na,hn as Oa,pr as Pa,Le as Qa,Gy as Ra,sr as Sa,gi as Ta,Pe as Ua,ZD as Va,yr as Wa,Xf as Xa,tp as Ya,kv as Za,mi as _a,hc as $a,op as ab,Yv as bb,ip as cb,sp as db,Qv as eb,vr as fb,Kv as gb,up as hb,En as ib,fp as jb,Xv as kb,tE as lb,nE as mb,rE as nb,oE as ob,iE as pb,pp as qb,Cc as rb,wc as sb,hp as tb,bc as ub,_c as vb,gp as wb,lE as xb,Dp as yb,vp as zb,gE as Ab,yE as Bb,DE as Cb,Ip as Db,EE as Eb,IE as Fb,Cp as Gb,CE as Hb,bp as Ib,_p as Jb,kE as Kb,zE as Lb,Rp as Mb,Tc as Nb,Op as Ob,kp as Pb,YE as Qb,Lp as Rb,jp as Sb,QE as Tb,KE as Ub,tI as Vb,nI as Wb,oI as Xb,sI as Yb,aI as Zb,cI as _b,uI as $b,vi as ac,fI as bc,hI as cc,Zp as dc,Gk as ec,zk as fc,RI as gc,xc as hc,qk as ic,Zk as jc,BI as kc,Yk as lc,Ii as mc,VI as nc,Rc as oc,In as pc,HI as qc,Cn as rc,ch as sc,uh as tc,zI as uc,eC as vc,rC as wc,oC as xc,iC as yc,cC as zc,uC as Ac,Bc,dC as Cc,kP as Dc,LP as Ec};