latex-editor-cli 1.0.4 → 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/assets/latex-editor/browser/{chunk-MHK6OXTT.js → chunk-V7HZIPSW.js} +1 -1
- package/build/assets/latex-editor/browser/{chunk-FOF4XKKI.js → chunk-W3F43F3O.js} +3 -3
- package/build/assets/latex-editor/browser/index.html +2 -2
- package/build/assets/latex-editor/browser/{main-IVR6MZHF.js → main-66DPGPRT.js} +494 -287
- package/build/assets/latex-editor/browser/{styles-6IHUHCSB.css → styles-QSPTKCPS.css} +1 -1
- package/build/index.js +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as W,b as G}from"./chunk-YF6DGJ2Q.js";var Ni;function Er(){return Ni}function
|
|
1
|
+
import{a as W,b as G}from"./chunk-YF6DGJ2Q.js";var Ni;function Er(){return Ni}function _e(e){let t=Ni;return Ni=e,t}var Wc=Symbol("NotFound");function Lt(e){return e===Wc||e?.name==="\u0275NotFound"}var Q=null,Ir=!1,Si=1,Th=null,B=Symbol("SIGNAL");function E(e){let t=Q;return Q=e,t}function wr(){return Q}var at={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 ct(e){if(Ir)throw new Error("");if(Q===null)return;Q.consumerOnSignalRead(e);let t=Q.producersTail;if(t!==void 0&&t.producer===e)return;let n,r=Q.recomputing;if(r&&(n=t!==void 0?t.nextProducer:Q.producers,n!==void 0&&n.producer===e)){Q.producersTail=n,n.lastReadVersion=e.version;return}let o=e.consumersTail;if(o!==void 0&&o.consumer===Q&&(!r||Nh(o,Q)))return;let i=Vt(Q),s={producer:e,consumer:Q,nextProducer:n,prevConsumer:o,lastReadVersion:e.version,nextConsumer:void 0};Q.producersTail=s,t!==void 0?t.nextProducer=s:Q.producers=s,i&&Zc(e,s)}function Gc(){Si++}function br(e){if(!(Vt(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===Si)){if(!e.producerMustRecompute(e)&&!jt(e)){_r(e);return}e.producerRecomputeValue(e),_r(e)}}function xi(e){if(e.consumers===void 0)return;let t=Ir;Ir=!0;try{for(let n=e.consumers;n!==void 0;n=n.nextConsumer){let r=n.consumer;r.dirty||Mh(r)}}finally{Ir=t}}function Ai(){return Q?.consumerAllowSignalWrites!==!1}function Mh(e){e.dirty=!0,xi(e),e.consumerMarkedDirty?.(e)}function _r(e){e.dirty=!1,e.lastCleanEpoch=Si}function lt(e){return e&&zc(e),E(e)}function zc(e){e.producersTail=void 0,e.recomputing=!0}function Ft(e,t){E(t),e&&Qc(e)}function Qc(e){e.recomputing=!1;let t=e.producersTail,n=t!==void 0?t.nextProducer:e.producers;if(n!==void 0){if(Vt(e))do n=Ri(n);while(n!==void 0);t!==void 0?t.nextProducer=void 0:e.producers=void 0}}function jt(e){for(let t=e.producers;t!==void 0;t=t.nextProducer){let n=t.producer,r=t.lastReadVersion;if(r!==n.version||(br(n),r!==n.version))return!0}return!1}function ut(e){if(Vt(e)){let t=e.producers;for(;t!==void 0;)t=Ri(t)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function Zc(e,t){let n=e.consumersTail,r=Vt(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)Zc(o.producer,o)}function Ri(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,!Vt(t)){let i=t.producers;for(;i!==void 0;)i=Ri(i)}return n}function Vt(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function Tr(e){Th?.(e)}function Nh(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 Mr(e,t){return Object.is(e,t)}function Cn(e,t){let n=Object.create(Sh);n.computation=e,t!==void 0&&(n.equal=t);let r=()=>{if(br(n),ct(n),n.value===Dn)throw n.error;return n.value};return r[B]=n,Tr(n),r}var Dr=Symbol("UNSET"),Cr=Symbol("COMPUTING"),Dn=Symbol("ERRORED"),Sh=G(W({},at),{value:Dr,dirty:!0,error:null,equal:Mr,kind:"computed",producerMustRecompute(e){return e.value===Dr||e.value===Cr},producerRecomputeValue(e){if(e.value===Cr)throw new Error("");let t=e.value;e.value=Cr;let n=lt(e),r,o=!1;try{r=e.computation(),E(null),o=t!==Dr&&t!==Dn&&r!==Dn&&e.equal(t,r)}catch(i){r=Dn,e.error=i}finally{Ft(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function xh(){throw new Error}var Yc=xh;function Kc(e){Yc(e)}function Oi(e){Yc=e}var Ah=null;function ki(e,t){let n=Object.create(Nr);n.value=e,t!==void 0&&(n.equal=t);let r=()=>Jc(n);return r[B]=n,Tr(n),[r,s=>dt(n,s),s=>Pi(n,s)]}function Jc(e){return ct(e),e.value}function dt(e,t){Ai()||Kc(e),e.equal(e.value,t)||(e.value=t,Rh(e))}function Pi(e,t){Ai()||Kc(e),dt(e,t(e.value))}var Nr=G(W({},at),{equal:Mr,value:void 0,kind:"signal"});function Rh(e){e.version++,Gc(),xi(e),Ah?.(e)}function v(e){return typeof e=="function"}function Ht(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 Sr=Ht(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:
|
|
2
2
|
${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
|
|
3
|
-
`)}`:"",this.name="UnsubscriptionError",this.errors=n});function dt(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var V=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(v(r))try{r()}catch(i){t=i instanceof Sr?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Xc(i)}catch(s){t=t??[],s instanceof Sr?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Sr(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Xc(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)&&dt(n,t)}remove(t){let{_finalizers:n}=this;n&&dt(n,t),t instanceof e&&t._removeParent(this)}};V.EMPTY=(()=>{let e=new V;return e.closed=!0,e})();var Li=V.EMPTY;function xr(e){return e instanceof V||e&&"closed"in e&&v(e.remove)&&v(e.add)&&v(e.unsubscribe)}function Xc(e){v(e)?e():e.unsubscribe()}var pe={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Bt={setTimeout(e,t,...n){let{delegate:r}=Bt;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=Bt;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Ar(e){Bt.setTimeout(()=>{let{onUnhandledError:t}=pe;if(t)t(e);else throw e})}function ft(){}var el=Fi("C",void 0,void 0);function tl(e){return Fi("E",void 0,e)}function nl(e){return Fi("N",e,void 0)}function Fi(e,t,n){return{kind:e,value:t,error:n}}var pt=null;function $t(e){if(pe.useDeprecatedSynchronousErrorHandling){let t=!pt;if(t&&(pt={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=pt;if(pt=null,n)throw r}}else e()}function rl(e){pe.useDeprecatedSynchronousErrorHandling&&pt&&(pt.errorThrown=!0,pt.error=e)}var ht=class extends V{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,xr(t)&&t.add(this)):this.destination=Ph}static create(t,n,r){return new Oe(t,n,r)}next(t){this.isStopped?Vi(nl(t),this):this._next(t)}error(t){this.isStopped?Vi(tl(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Vi(el,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()}}},Oh=Function.prototype.bind;function ji(e,t){return Oh.call(e,t)}var Hi=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)}}},Oe=class extends ht{constructor(t,n,r){super();let o;if(v(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&&ji(t.next,i),error:t.error&&ji(t.error,i),complete:t.complete&&ji(t.complete,i)}):o=t}this.destination=new Hi(o)}};function Rr(e){pe.useDeprecatedSynchronousErrorHandling?rl(e):Ar(e)}function kh(e){throw e}function Vi(e,t){let{onStoppedNotification:n}=pe;n&&Bt.setTimeout(()=>n(e,t))}var Ph={closed:!0,next:ft,error:kh,complete:ft};var Ut=typeof Symbol=="function"&&Symbol.observable||"@@observable";function Y(e){return e}function Lh(...e){return Bi(e)}function Bi(e){return e.length===0?Y:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var M=(()=>{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=jh(n)?n:new Oe(n,r,o);return $t(()=>{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=ol(r),new r((o,i)=>{let s=new Oe({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)}[Ut](){return this}pipe(...n){return Bi(n)(this)}toPromise(n){return n=ol(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 ol(e){var t;return(t=e??pe.Promise)!==null&&t!==void 0?t:Promise}function Fh(e){return e&&v(e.next)&&v(e.error)&&v(e.complete)}function jh(e){return e&&e instanceof ht||Fh(e)&&xr(e)}function $i(e){return v(e?.lift)}function w(e){return t=>{if($i(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 C(e,t,n,r,o){return new Ui(e,t,n,r,o)}var Ui=class extends ht{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(c){t.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){t.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};function qi(){return w((e,t)=>{let n=null;e._refCount++;let r=C(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){n=null;return}let o=e._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}var Wi=class extends M{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,$i(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){let t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new V;let n=this.getSubject();t.add(this.source.subscribe(C(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=V.EMPTY)}return t}refCount(){return qi()(this)}};var il=Ht(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var se=(()=>{class e extends M{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 il}next(n){$t(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){$t(()=>{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(){$t(()=>{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?Li:(this.currentObservers=null,i.push(n),new V(()=>{this.currentObservers=null,dt(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new M;return n.source=this,n}}return e.create=(t,n)=>new Or(t,n),e})(),Or=class extends se{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:Li}};var _n=class extends se{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 wn={now(){return(wn.delegate||Date).now()},delegate:void 0};var kr=class extends se{constructor(t=1/0,n=1/0,r=wn){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!t.closed;s+=r?1:2)t.next(i[s]);return this._checkFinalizedStatuses(t),n}_trimBuffer(){let{_bufferSize:t,_timestampProvider:n,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*t;if(t<1/0&&i<r.length&&r.splice(0,r.length-i),!o){let s=n.now(),a=0;for(let c=1;c<r.length&&r[c]<=s;c+=2)a=c;a&&r.splice(0,a+1)}}};var Pr=class extends V{constructor(t,n){super()}schedule(t,n=0){return this}};var bn={setInterval(e,t,...n){let{delegate:r}=bn;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=bn;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var Lr=class extends Pr{constructor(t,n){super(t,n),this.scheduler=t,this.work=n,this.pending=!1}schedule(t,n=0){var r;if(this.closed)return this;this.state=t;let o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,n)),this.pending=!0,this.delay=n,this.id=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(i,this.id,n),this}requestAsyncId(t,n,r=0){return bn.setInterval(t.flush.bind(t,this),r)}recycleAsyncId(t,n,r=0){if(r!=null&&this.delay===r&&this.pending===!1)return n;n!=null&&bn.clearInterval(n)}execute(t,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(t,n);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,n){let r=!1,o;try{this.work(t)}catch(i){r=!0,o=i||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){let{id:t,scheduler:n}=this,{actions:r}=n;this.work=this.state=this.scheduler=null,this.pending=!1,dt(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var qt=class e{constructor(t,n=e.now){this.schedulerActionCtor=t,this.now=n}schedule(t,n=0,r){return new this.schedulerActionCtor(this,t).schedule(r,n)}};qt.now=wn.now;var Fr=class extends qt{constructor(t,n=qt.now){super(t,n),this.actions=[],this._active=!1}flush(t){let{actions:n}=this;if(this._active){n.push(t);return}let r;this._active=!0;do if(r=t.execute(t.state,t.delay))break;while(t=n.shift());if(this._active=!1,r){for(;t=n.shift();)t.unsubscribe();throw r}}};var Tn=new Fr(Lr),sl=Tn;var Mn=new M(e=>e.complete());function jr(e){return e&&v(e.schedule)}function al(e){return e[e.length-1]}function Vr(e){return v(al(e))?e.pop():void 0}function Qe(e){return jr(al(e))?e.pop():void 0}function ll(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(u){try{l(r.next(u))}catch(d){s(d)}}function c(u){try{l(r.throw(u))}catch(d){s(d)}}function l(u){u.done?i(u.value):o(u.value).then(a,c)}l((r=r.apply(e,t||[])).next())})}function cl(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 gt(e){return this instanceof gt?(this.v=e,this):new gt(e)}function ul(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(y){return new Promise(function(N,_){i.push([f,y,N,_])>1||c(f,y)})},h&&(o[f]=h(o[f])))}function c(f,h){try{l(r[f](h))}catch(y){p(i[0][3],y)}}function l(f){f.value instanceof gt?Promise.resolve(f.value.v).then(u,d):p(i[0][2],f)}function u(f){c("next",f)}function d(f){c("throw",f)}function p(f,h){f(h),i.shift(),i.length&&c(i[0][0],i[0][1])}}function dl(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 cl=="function"?cl(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,c){s=e[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(l){i({value:l,done:a})},s)}}var Wt=e=>e&&typeof e.length=="number"&&typeof e!="function";function Hr(e){return v(e?.then)}function Br(e){return v(e[Ut])}function $r(e){return Symbol.asyncIterator&&v(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 Vh(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var qr=Vh();function Wr(e){return v(e?.[qr])}function Gr(e){return ul(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield gt(n.read());if(o)return yield gt(void 0);yield yield gt(r)}}finally{n.releaseLock()}})}function zr(e){return v(e?.getReader)}function O(e){if(e instanceof M)return e;if(e!=null){if(Br(e))return Hh(e);if(Wt(e))return Bh(e);if(Hr(e))return $h(e);if($r(e))return fl(e);if(Wr(e))return Uh(e);if(zr(e))return qh(e)}throw Ur(e)}function Hh(e){return new M(t=>{let n=e[Ut]();if(v(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Bh(e){return new M(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function $h(e){return new M(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Ar)})}function Uh(e){return new M(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function fl(e){return new M(t=>{Wh(e,t).catch(n=>t.error(n))})}function qh(e){return fl(Gr(e))}function Wh(e,t){var n,r,o,i;return ll(this,void 0,void 0,function*(){try{for(n=dl(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 re(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 Qr(e,t=0){return w((n,r)=>{n.subscribe(C(r,o=>re(r,e,()=>r.next(o),t),()=>re(r,e,()=>r.complete(),t),o=>re(r,e,()=>r.error(o),t)))})}function Zr(e,t=0){return w((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function pl(e,t){return O(e).pipe(Zr(t),Qr(t))}function hl(e,t){return O(e).pipe(Zr(t),Qr(t))}function gl(e,t){return new M(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function ml(e,t){return new M(n=>{let r;return re(n,t,()=>{r=e[qr](),re(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)}),()=>v(r?.return)&&r.return()})}function Yr(e,t){if(!e)throw new Error("Iterable cannot be null");return new M(n=>{re(n,t,()=>{let r=e[Symbol.asyncIterator]();re(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function yl(e,t){return Yr(Gr(e),t)}function vl(e,t){if(e!=null){if(Br(e))return pl(e,t);if(Wt(e))return gl(e,t);if(Hr(e))return hl(e,t);if($r(e))return Yr(e,t);if(Wr(e))return ml(e,t);if(zr(e))return yl(e,t)}throw Ur(e)}function Ze(e,t){return t?vl(e,t):O(e)}function Gh(...e){let t=Qe(e);return Ze(e,t)}function zh(e,t){let n=v(e)?e:()=>e,r=o=>o.error(n());return new M(t?o=>t.schedule(r,0,o):r)}function Qh(e){return!!e&&(e instanceof M||v(e.lift)&&v(e.subscribe))}var mt=Ht(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function El(e){return e instanceof Date&&!isNaN(e)}function Ye(e,t){return w((n,r)=>{let o=0;n.subscribe(C(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:Zh}=Array;function Yh(e,t){return Zh(t)?e(...t):e(t)}function Gt(e){return Ye(t=>Yh(e,t))}var{isArray:Kh}=Array,{getPrototypeOf:Jh,prototype:Xh,keys:eg}=Object;function Kr(e){if(e.length===1){let t=e[0];if(Kh(t))return{args:t,keys:null};if(tg(t)){let n=eg(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function tg(e){return e&&typeof e=="object"&&Jh(e)===Xh}function Jr(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function ng(...e){let t=Qe(e),n=Vr(e),{args:r,keys:o}=Kr(e);if(r.length===0)return Ze([],t);let i=new M(rg(r,t,o?s=>Jr(o,s):Y));return n?i.pipe(Gt(n)):i}function rg(e,t,n=Y){return r=>{Il(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)Il(t,()=>{let l=Ze(e[c],t),u=!1;l.subscribe(C(r,d=>{i[c]=d,u||(u=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Il(e,t,n){e?re(n,e,t):t()}function Dl(e,t,n,r,o,i,s,a){let c=[],l=0,u=0,d=!1,p=()=>{d&&!c.length&&!l&&t.complete()},f=y=>l<r?h(y):c.push(y),h=y=>{i&&t.next(y),l++;let N=!1;O(n(y,u++)).subscribe(C(t,_=>{o?.(_),i?f(_):t.next(_)},()=>{N=!0},void 0,()=>{if(N)try{for(l--;c.length&&l<r;){let _=c.shift();s?re(t,s,()=>h(_)):h(_)}p()}catch(_){t.error(_)}}))};return e.subscribe(C(t,f,()=>{d=!0,p()})),()=>{a?.()}}function ke(e,t,n=1/0){return v(t)?ke((r,o)=>Ye((i,s)=>t(r,i,o,s))(O(e(r,o))),n):(typeof t=="number"&&(n=t),w((r,o)=>Dl(r,o,e,n)))}function Gi(e=1/0){return ke(Y,e)}function Cl(){return Gi(1)}function Xr(...e){return Cl()(Ze(e,Qe(e)))}function og(e){return new M(t=>{O(e()).subscribe(t)})}function ig(...e){let t=Vr(e),{args:n,keys:r}=Kr(e),o=new M(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),c=s,l=s;for(let u=0;u<s;u++){let d=!1;O(n[u]).subscribe(C(i,p=>{d||(d=!0,l--),a[u]=p},()=>c--,void 0,()=>{(!c||!d)&&(l||i.next(r?Jr(r,a):a),i.complete())}))}});return t?o.pipe(Gt(t)):o}var sg=["addListener","removeListener"],ag=["addEventListener","removeEventListener"],cg=["on","off"];function zi(e,t,n,r){if(v(n)&&(r=n,n=void 0),r)return zi(e,t,n).pipe(Gt(r));let[o,i]=dg(e)?ag.map(s=>a=>e[s](t,a,n)):lg(e)?sg.map(_l(e,t)):ug(e)?cg.map(_l(e,t)):[];if(!o&&Wt(e))return ke(s=>zi(s,t,n))(O(e));if(!o)throw new TypeError("Invalid event target");return new M(s=>{let a=(...c)=>s.next(1<c.length?c:c[0]);return o(a),()=>i(a)})}function _l(e,t){return n=>r=>e[n](t,r)}function lg(e){return v(e.addListener)&&v(e.removeListener)}function ug(e){return v(e.on)&&v(e.off)}function dg(e){return v(e.addEventListener)&&v(e.removeEventListener)}function wl(e=0,t,n=sl){let r=-1;return t!=null&&(jr(t)?n=t:r=t),new M(o=>{let i=El(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 fg(e=0,t=Tn){return e<0&&(e=0),wl(e,e,t)}function Nn(e,t){return w((n,r)=>{let o=0;n.subscribe(C(r,i=>e.call(t,i,o++)&&r.next(i)))})}function Qi(e){return w((t,n)=>{let r=null,o=!1,i;r=t.subscribe(C(n,void 0,void 0,s=>{i=O(e(s,Qi(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function bl(e,t,n,r,o){return(i,s)=>{let a=n,c=t,l=0;i.subscribe(C(s,u=>{let d=l++;c=a?e(c,u,d):(a=!0,u),r&&s.next(c)},o&&(()=>{a&&s.next(c),s.complete()})))}}function pg(e,t){return v(t)?ke(e,t,1):ke(e,1)}function hg(e){return w((t,n)=>{let r=!1,o=null,i=null,s=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let a=o;o=null,n.next(a)}};t.subscribe(C(n,a=>{i?.unsubscribe(),r=!0,o=a,i=C(n,s,ft),O(e(a)).subscribe(i)},()=>{s(),n.complete()},void 0,()=>{o=i=null}))})}function gg(e,t=Tn){return w((n,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let l=i;i=null,r.next(l)}};function c(){let l=s+e,u=t.now();if(u<l){o=this.schedule(void 0,l-u),r.add(o);return}a()}n.subscribe(C(r,l=>{i=l,s=t.now(),o||(o=t.schedule(c,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function Sn(e){return w((t,n)=>{let r=!1;t.subscribe(C(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function Zi(e){return e<=0?()=>Mn:w((t,n)=>{let r=0;t.subscribe(C(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function mg(e,t=Y){return e=e??yg,w((n,r)=>{let o,i=!0;n.subscribe(C(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function yg(e,t){return e===t}function eo(e=vg){return w((t,n)=>{let r=!1;t.subscribe(C(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function vg(){return new mt}function Eg(e){return w((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function Ig(e,t){let n=arguments.length>=2;return r=>r.pipe(e?Nn((o,i)=>e(o,i,r)):Y,Zi(1),n?Sn(t):eo(()=>new mt))}function Yi(e){return e<=0?()=>Mn:w((t,n)=>{let r=[];t.subscribe(C(n,o=>{r.push(o),e<r.length&&r.shift()},()=>{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function Dg(e,t){let n=arguments.length>=2;return r=>r.pipe(e?Nn((o,i)=>e(o,i,r)):Y,Yi(1),n?Sn(t):eo(()=>new mt))}function Cg(e,t){return w(bl(e,t,arguments.length>=2,!0))}function Tl(e={}){let{connector:t=()=>new se,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,c,l=0,u=!1,d=!1,p=()=>{a?.unsubscribe(),a=void 0},f=()=>{p(),s=c=void 0,u=d=!1},h=()=>{let y=s;f(),y?.unsubscribe()};return w((y,N)=>{l++,!d&&!u&&p();let _=c=c??t();N.add(()=>{l--,l===0&&!d&&!u&&(a=Ki(h,o))}),_.subscribe(N),!s&&l>0&&(s=new Oe({next:De=>_.next(De),error:De=>{d=!0,p(),a=Ki(f,n,De),_.error(De)},complete:()=>{u=!0,p(),a=Ki(f,r),_.complete()}}),O(y).subscribe(s))})(i)}}function Ki(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new Oe({next:()=>{r.unsubscribe(),e()}});return O(t(...n)).subscribe(r)}function _g(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,Tl({connector:()=>new kr(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function wg(...e){let t=Qe(e);return w((n,r)=>{(t?Xr(e,n,t):Xr(e,n)).subscribe(r)})}function Ml(e,t){return w((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(C(r,c=>{o?.unsubscribe();let l=0,u=i++;O(e(c,u)).subscribe(o=C(r,d=>r.next(t?t(c,d,u,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function bg(e){return w((t,n)=>{O(e).subscribe(C(n,()=>n.complete(),ft)),!n.closed&&t.subscribe(n)})}function Nl(e,t,n){let r=v(e)||t||n?{next:e,error:t,complete:n}:e;return r?w((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(C(i,c=>{var l;(l=r.next)===null||l===void 0||l.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var l;a=!1,(l=r.error)===null||l===void 0||l.call(r,c),i.error(c)},()=>{var c,l;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(l=r.finalize)===null||l===void 0||l.call(r)}))}):Y}function Sl(e){let t=E(null);try{return e()}finally{E(t)}}var xl=G(W({},st),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"});function Al(e){if(e.dirty=!1,e.version>0&&!jt(e))return;e.version++;let t=ct(e);try{e.cleanup(),e.fn()}finally{Ft(e,t)}}var oo="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",b=class extends Error{code;constructor(t,n){super(kn(t,n)),this.code=t}};function Tg(e){return`NG0${Math.abs(e)}`}function kn(e,t){return`${Tg(e)}${t?": "+t:""}`}var Te=globalThis;function x(e){for(let t in e)if(e[t]===x)return t;throw Error("")}function kl(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Le(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(Le).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(`
|
|
4
|
-
`);return r>=0?n.slice(0,r):n}function io(e,t){return e?t?`${e} ${t}`:e:t||""}var Mg=x({__forward_ref__:x});function so(e){return e.__forward_ref__=so,e.toString=function(){return Le(this())},e}function $(e){return cs(e)?e():e}function cs(e){return typeof e=="function"&&e.hasOwnProperty(Mg)&&e.__forward_ref__===so}function H(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Pl(e){return{providers:e.providers||[],imports:e.imports||[]}}function Pn(e){return Sg(e,ao)}function Ng(e){return Pn(e)!==null}function Sg(e,t){return e.hasOwnProperty(t)&&e[t]||null}function xg(e){let t=e?.[ao]??null;return t||null}function Xi(e){return e&&e.hasOwnProperty(no)?e[no]:null}var ao=x({\u0275prov:x}),no=x({\u0275inj:x}),S=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=H({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function ls(e){return e&&!!e.\u0275providers}var us=x({\u0275cmp:x}),ds=x({\u0275dir:x}),fs=x({\u0275pipe:x}),ps=x({\u0275mod:x}),An=x({\u0275fac:x}),Dt=x({__NG_ELEMENT_ID__:x}),Rl=x({__NG_ENV_ID__:x});function Xe(e){return typeof e=="string"?e:e==null?"":String(e)}function Ll(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():Xe(e)}var Fl=x({ngErrorCode:x}),Ag=x({ngErrorMessage:x}),Rg=x({ngTokenPath:x});function hs(e,t){return jl("",-200,t)}function co(e,t){throw new b(-201,!1)}function jl(e,t,n){let r=new b(t,e);return r[Fl]=t,r[Ag]=e,n&&(r[Rg]=n),r}function Og(e){return e[Fl]}var es;function Vl(){return es}function K(e){let t=es;return es=e,t}function gs(e,t,n){let r=Pn(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;co(e,"Injector")}var kg={},yt=kg,Pg="__NG_DI_FLAG__",ts=class{injector;constructor(t){this.injector=t}retrieve(t,n){let r=vt(n)||0;try{return this.injector.get(t,r&8?null:yt,r)}catch(o){if(Lt(o))return o;throw o}}};function Lg(e,t=0){let n=Er();if(n===void 0)throw new b(-203,!1);if(n===null)return gs(e,void 0,t);{let r=Fg(t),o=n.retrieve(e,r);if(Lt(o)){if(r.optional)return null;throw o}return o}}function _e(e,t=0){return(Vl()||Lg)($(e),t)}function I(e,t){return _e(e,vt(t))}function vt(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Fg(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function ns(e){let t=[];for(let n=0;n<e.length;n++){let r=$(e[n]);if(Array.isArray(r)){if(r.length===0)throw new b(900,!1);let o,i=0;for(let s=0;s<r.length;s++){let a=r[s],c=jg(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(_e(o,i))}else t.push(_e(r))}return t}function jg(e){return e[Pg]}function Ke(e,t){let n=e.hasOwnProperty(An);return n?e[An]:null}function Hl(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let o=e[r],i=t[r];if(n&&(o=n(o),i=n(i)),i!==o)return!1}return!0}function Bl(e){return e.flat(Number.POSITIVE_INFINITY)}function lo(e,t){e.forEach(n=>Array.isArray(n)?lo(n,t):t(n))}function ms(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Ln(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function $l(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function Ul(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(o===1)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;){let i=o-2;e[o]=e[i],o--}e[t]=n,e[t+1]=r}}function Fn(e,t,n){let r=Qt(e,t);return r>=0?e[r|1]=n:(r=~r,Ul(e,r,t,n)),r}function uo(e,t){let n=Qt(e,t);if(n>=0)return e[n|1]}function Qt(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<<n];if(t===s)return i<<n;s>t?o=i:r=i+1}return~(o<<n)}var ge={},Z=[],Ct=new S(""),ys=new S("",-1),vs=new S(""),Rn=class{get(t,n=yt){if(n===yt){let o=jl("",-201);throw o.name="\u0275NotFound",o}return n}};function Es(e){return e[ps]||null}function Fe(e){return e[us]||null}function fo(e){return e[ds]||null}function ql(e){return e[fs]||null}function po(e){return{\u0275providers:e}}function Wl(...e){return{\u0275providers:Is(!0,e),\u0275fromNgModule:!0}}function Is(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return lo(t,s=>{let a=s;ro(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Gl(o,i),n}function Gl(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];Ds(o,i=>{t(i,r)})}}function ro(e,t,n,r){if(e=$(e),!e)return!1;let o=null,i=Xi(e),s=!i&&Fe(e);if(!i&&!s){let c=e.ngModule;if(i=Xi(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let l of c)ro(l,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;try{lo(i.imports,u=>{ro(u,t,n,r)&&(l||=[],l.push(u))})}finally{}l!==void 0&&Gl(l,t)}if(!a){let l=Ke(o)||(()=>new o);t({provide:o,useFactory:l,deps:Z},o),t({provide:vs,useValue:o,multi:!0},o),t({provide:Ct,useValue:()=>_e(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=e;Ds(c,u=>{t(u,l)})}}else return!1;return o!==e&&e.providers!==void 0}function Ds(e,t){for(let n of e)ls(n)&&(n=n.\u0275providers),Array.isArray(n)?Ds(n,t):t(n)}var Hg=x({provide:String,useValue:x});function zl(e){return e!==null&&typeof e=="object"&&Hg in e}function Bg(e){return!!(e&&e.useExisting)}function $g(e){return!!(e&&e.useFactory)}function Et(e){return typeof e=="function"}function Ql(e){return!!e.useClass}var Cs=new S(""),to={},Ol={},Ji;function jn(){return Ji===void 0&&(Ji=new Rn),Ji}var ae=class{},It=class extends ae{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,os(t,s=>this.processProvider(s)),this.records.set(ys,zt(void 0,this)),o.has("environment")&&this.records.set(ae,zt(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,Z,{self:!0}))}retrieve(t,n){let r=vt(n)||0;try{return this.get(t,yt,r)}catch(o){if(Lt(o))return o;throw o}}destroy(){xn(this),this._destroyed=!0;let t=E(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(),E(t)}}onDestroy(t){return xn(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){xn(this);let n=Ce(this),r=K(void 0),o;try{return t()}finally{Ce(n),K(r)}}get(t,n=yt,r){if(xn(this),t.hasOwnProperty(Rl))return t[Rl](this);let o=vt(r),i,s=Ce(this),a=K(void 0);try{if(!(o&4)){let l=this.records.get(t);if(l===void 0){let u=zg(t)&&Pn(t);u&&this.injectableDefInScope(u)?l=zt(rs(t),to):l=null,this.records.set(t,l)}if(l!=null)return this.hydrate(t,l,o)}let c=o&2?jn():this.parent;return n=o&8&&n===yt?null:n,c.get(t,n)}catch(c){let l=Og(c);throw l===-200||l===-201?new b(l,null):c}finally{K(a),Ce(s)}}resolveInjectorInitializers(){let t=E(null),n=Ce(this),r=K(void 0),o;try{let i=this.get(Ct,Z,{self:!0});for(let s of i)s()}finally{Ce(n),K(r),E(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(Le(r));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=$(t);let n=Et(t)?t:$(t&&t.provide),r=qg(t);if(!Et(t)&&t.multi===!0){let o=this.records.get(n);o||(o=zt(void 0,to,!0),o.factory=()=>ns(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n,r){let o=E(null);try{if(n.value===Ol)throw hs(Le(t));return n.value===to&&(n.value=Ol,n.value=n.factory(void 0,r)),typeof n.value=="object"&&n.value&&Gg(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{E(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=$(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 rs(e){let t=Pn(e),n=t!==null?t.factory:Ke(e);if(n!==null)return n;if(e instanceof S)throw new b(204,!1);if(e instanceof Function)return Ug(e);throw new b(204,!1)}function Ug(e){if(e.length>0)throw new b(204,!1);let n=xg(e);return n!==null?()=>n.factory(e):()=>new e}function qg(e){if(zl(e))return zt(void 0,e.useValue);{let t=_s(e);return zt(t,to)}}function _s(e,t,n){let r;if(Et(e)){let o=$(e);return Ke(o)||rs(o)}else if(zl(e))r=()=>$(e.useValue);else if($g(e))r=()=>e.useFactory(...ns(e.deps||[]));else if(Bg(e))r=(o,i)=>_e($(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=$(e&&(e.useClass||e.provide));if(Wg(e))r=()=>new o(...ns(e.deps));else return Ke(o)||rs(o)}return r}function xn(e){if(e.destroyed)throw new b(205,!1)}function zt(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Wg(e){return!!e.deps}function Gg(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 os(e,t){for(let n of e)Array.isArray(n)?os(n,t):n&&ls(n)?os(n.\u0275providers,t):t(n)}function ho(e,t){let n;e instanceof It?(xn(e),n=e):n=new ts(e);let r,o=Ce(n),i=K(void 0);try{return t()}finally{Ce(o),K(i)}}function Zl(){return Vl()!==void 0||Er()!=null}var me=0,m=1,D=2,U=3,ce=4,J=5,_t=6,Zt=7,F=8,X=9,Me=10,A=11,Yt=12,ws=13,wt=14,ee=15,je=16,bt=17,Ne=18,Vn=19,bs=20,Pe=21,go=22,Ve=23,ie=24,Tt=25,He=26,k=27,Yl=1,Ts=6,et=7,Hn=8,Mt=9,L=10;function Se(e){return Array.isArray(e)&&typeof e[Yl]=="object"}function ye(e){return Array.isArray(e)&&e[Yl]===!0}function Ms(e){return(e.flags&4)!==0}function Be(e){return e.componentOffset>-1}function Kt(e){return(e.flags&1)===1}function ve(e){return!!e.template}function Jt(e){return(e[D]&512)!==0}function Nt(e){return(e[D]&256)===256}var Ns="svg",Kl="math";function le(e){for(;Array.isArray(e);)e=e[me];return e}function Ss(e,t){return le(t[e])}function oe(e,t){return le(t[e.index])}function Bn(e,t){return e.data[t]}function mo(e,t){return e[t]}function xs(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function ue(e,t){let n=t[e];return Se(n)?n:n[me]}function Jl(e){return(e[D]&4)===4}function yo(e){return(e[D]&128)===128}function Xl(e){return ye(e[U])}function de(e,t){return t==null?null:e[t]}function As(e){e[bt]=0}function Rs(e){e[D]&1024||(e[D]|=1024,yo(e)&&tt(e))}function eu(e,t){for(;e>0;)t=t[wt],e--;return t}function $n(e){return!!(e[D]&9216||e[ie]?.dirty)}function vo(e){e[Me].changeDetectionScheduler?.notify(8),e[D]&64&&(e[D]|=1024),$n(e)&&tt(e)}function tt(e){e[Me].changeDetectionScheduler?.notify(0);let t=Je(e);for(;t!==null&&!(t[D]&8192||(t[D]|=8192,!yo(t)));)t=Je(t)}function Os(e,t){if(Nt(e))throw new b(911,!1);e[Pe]===null&&(e[Pe]=[]),e[Pe].push(t)}function tu(e,t){if(e[Pe]===null)return;let n=e[Pe].indexOf(t);n!==-1&&e[Pe].splice(n,1)}function Je(e){let t=e[U];return ye(t)?t[U]:t}function ks(e){return e[Zt]??=[]}function Ps(e){return e.cleanup??=[]}function nu(e,t,n,r){let o=ks(t);o.push(n),e.firstCreatePass&&Ps(e).push(r,o.length-1)}var T={lFrame:mu(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var is=!1;function ru(){return T.lFrame.elementDepthCount}function ou(){T.lFrame.elementDepthCount++}function Ls(){T.lFrame.elementDepthCount--}function Eo(){return T.bindingsEnabled}function Fs(){return T.skipHydrationRootTNode!==null}function js(e){return T.skipHydrationRootTNode===e}function Vs(){T.skipHydrationRootTNode=null}function g(){return T.lFrame.lView}function P(){return T.lFrame.tView}function iu(e){return T.lFrame.contextLView=e,e[F]}function su(e){return T.lFrame.contextLView=null,e}function j(){let e=Hs();for(;e!==null&&e.type===64;)e=e.parent;return e}function Hs(){return T.lFrame.currentTNode}function au(){let e=T.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Xt(e,t){let n=T.lFrame;n.currentTNode=e,n.isParent=t}function Bs(){return T.lFrame.isParent}function $s(){T.lFrame.isParent=!1}function cu(){return T.lFrame.contextLView}function Us(){return is}function en(e){let t=is;return is=e,t}function fe(){let e=T.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function lu(){return T.lFrame.bindingIndex}function uu(e){return T.lFrame.bindingIndex=e}function $e(){return T.lFrame.bindingIndex++}function Io(e){let t=T.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function du(){return T.lFrame.inI18n}function fu(e,t){let n=T.lFrame;n.bindingIndex=n.bindingRootIndex=e,Do(t)}function pu(){return T.lFrame.currentDirectiveIndex}function Do(e){T.lFrame.currentDirectiveIndex=e}function hu(e){let t=T.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function Co(){return T.lFrame.currentQueryIndex}function Un(e){T.lFrame.currentQueryIndex=e}function Qg(e){let t=e[m];return t.type===2?t.declTNode:t.type===1?e[J]:null}function qs(e,t,n){if(n&4){let o=t,i=e;for(;o=o.parent,o===null&&!(n&1);)if(o=Qg(i),o===null||(i=i[wt],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=T.lFrame=gu();return r.currentTNode=t,r.lView=e,!0}function _o(e){let t=gu(),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 gu(){let e=T.lFrame,t=e===null?null:e.child;return t===null?mu(e):t}function mu(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 yu(){let e=T.lFrame;return T.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Ws=yu;function wo(){let e=yu();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 vu(e){return(T.lFrame.contextLView=eu(e,T.lFrame.contextLView))[F]}function xe(){return T.lFrame.selectedIndex}function nt(e){T.lFrame.selectedIndex=e}function tn(){let e=T.lFrame;return Bn(e.tView,e.selectedIndex)}function Eu(){T.lFrame.currentNamespace=Ns}function Iu(){Zg()}function Zg(){T.lFrame.currentNamespace=null}function Du(){return T.lFrame.currentNamespace}var Cu=!0;function bo(){return Cu}function qn(e){Cu=e}function ss(e,t=null,n=null,r){let o=Gs(e,t,n,r);return o.resolveInjectorInitializers(),o}function Gs(e,t=null,n=null,r,o=new Set){let i=[n||Z,Wl(e)];return r=r||(typeof e=="object"?void 0:Le(e)),new It(i,t||jn(),r||null,o)}var we=class e{static THROW_IF_NOT_FOUND=yt;static NULL=new Rn;static create(t,n){if(Array.isArray(t))return ss({name:""},n,t,"");{let r=t.name??"";return ss({name:r},t.parent,t.providers,r)}}static \u0275prov=H({token:e,providedIn:"any",factory:()=>_e(ys)});static __NG_ELEMENT_ID__=-1},Yg=new S(""),rt=(()=>{class e{static __NG_ELEMENT_ID__=Kg;static __NG_ENV_ID__=n=>n}return e})(),On=class extends rt{_lView;constructor(t){super(),this._lView=t}get destroyed(){return Nt(this._lView)}onDestroy(t){let n=this._lView;return Os(n,t),()=>tu(n,t)}};function Kg(){return new On(g())}var be=class{_console=console;handleError(t){this._console.error("ERROR",t)}},Ue=new S("",{providedIn:"root",factory:()=>{let e=I(ae),t;return n=>{e.destroyed&&!t?setTimeout(()=>{throw n}):(t??=e.get(be),t.handleError(n))}}}),_u={provide:Ct,useValue:()=>void I(be),multi:!0};function zs(e){return typeof e=="function"&&e[B]!==void 0}function To(e,t){let[n,r,o]=ki(e,t?.equal),i=n,s=i[B];return i.set=r,i.update=o,i.asReadonly=Mo.bind(i),i}function Mo(){let e=this[B];if(e.readonlyFn===void 0){let t=()=>this();t[B]=e,e.readonlyFn=t}return e.readonlyFn}function Qs(e){return zs(e)&&typeof e.set=="function"}var nn=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=Jg}return e})();function Jg(){return new nn(g(),j())}var he=class{},Wn=new S("",{providedIn:"root",factory:()=>!1});var Zs=new S(""),Ys=new S(""),ot=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new _n(!1);get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new M(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),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(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=H({token:e,providedIn:"root",factory:()=>new e})}return e})(),Ks=(()=>{class e{internalPendingTasks=I(ot);scheduler=I(he);errorHandler=I(Ue);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=H({token:e,providedIn:"root",factory:()=>new e})}return e})();function St(...e){}var Gn=(()=>{class e{static \u0275prov=H({token:e,providedIn:"root",factory:()=>new as})}return e})(),as=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}};function rr(e){return{toString:e}.toString()}function sm(e){return typeof e=="function"}var Vo=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function fd(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var am=(()=>{let e=()=>pd;return e.ngInherit=!0,e})();function pd(e){return e.type.prototype.ngOnChanges&&(e.setInput=lm),cm}function cm(){let e=gd(this),t=e?.current;if(t){let n=e.previous;if(n===ge)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function lm(e,t,n,r,o){let i=this.declaredInputs[r],s=gd(e)||um(e,{previous:ge,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new Vo(l&&l.currentValue,n,c===ge),fd(e,t,o,n)}var hd="__ngSimpleChanges__";function gd(e){return e[hd]||null}function um(e,t){return e[hd]=t}var wu=[];var R=function(e,t=null,n){for(let r=0;r<wu.length;r++){let o=wu[r];o(e,t,n)}};function dm(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=pd(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}function md(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){let i=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:l,ngOnDestroy:u}=i;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),c&&(e.viewHooks??=[]).push(-n,c),l&&((e.viewHooks??=[]).push(n,l),(e.viewCheckHooks??=[]).push(n,l)),u!=null&&(e.destroyHooks??=[]).push(n,u)}}function Oo(e,t,n){yd(e,t,3,n)}function ko(e,t,n,r){(e[D]&3)===n&&yd(e,t,n,r)}function Js(e,t){let n=e[D];(n&3)===t&&(n&=16383,n+=1,e[D]=n)}function yd(e,t,n,r){let o=r!==void 0?e[bt]&65535:0,i=r??-1,s=t.length-1,a=0;for(let c=o;c<s;c++)if(typeof t[c+1]=="number"){if(a=t[c],r!=null&&a>=r)break}else t[c]<0&&(e[bt]+=65536),(a<i||i==-1)&&(fm(e,n,t,c),e[bt]=(e[bt]&4294901760)+c+2),c++}function bu(e,t){R(4,e,t);let n=E(null);try{t.call(e)}finally{E(n),R(5,e,t)}}function fm(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[D]>>14<e[bt]>>16&&(e[D]&3)===t&&(e[D]+=16384,bu(a,i)):bu(a,i)}var on=-1,Rt=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 pm(e){return(e.flags&8)!==0}function hm(e){return(e.flags&16)!==0}function gm(e,t,n){let r=0;for(;r<n.length;){let o=n[r];if(typeof o=="number"){if(o!==0)break;r++;let i=n[r++],s=n[r++],a=n[r++];e.setAttribute(t,s,a,i)}else{let i=o,s=n[++r];mm(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function vd(e){return e===3||e===4||e===6}function mm(e){return e.charCodeAt(0)===64}function cn(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){let o=t[r];typeof o=="number"?n=o:n===0||(n===-1||n===2?Tu(e,n,o,null,t[++r]):Tu(e,n,o,null,null))}}return e}function Tu(e,t,n,r,o){let i=0,s=e.length;if(t===-1)s=-1;else for(;i<e.length;){let a=e[i++];if(typeof a=="number"){if(a===t){s=-1;break}else if(a>t){s=i-1;break}}}for(;i<e.length;){let a=e[i];if(typeof a=="number")break;if(a===n){o!==null&&(e[i+1]=o);return}i++,o!==null&&i++}s!==-1&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),o!==null&&e.splice(i++,0,o)}function Ed(e){return e!==on}function Ho(e){return e&32767}function ym(e){return e>>16}function Bo(e,t){let n=ym(e),r=t;for(;n>0;)r=r[wt],n--;return r}var ua=!0;function $o(e){let t=ua;return ua=e,t}var vm=256,Id=vm-1,Dd=5,Em=0,Ae={};function Im(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Dt)&&(r=n[Dt]),r==null&&(r=n[Dt]=Em++);let o=r&Id,i=1<<o;t.data[e+(o>>Dd)]|=i}function Uo(e,t){let n=Cd(e,t);if(n!==-1)return n;let r=t[m];r.firstCreatePass&&(e.injectorIndex=t.length,Xs(r.data,e),Xs(t,null),Xs(r.blueprint,null));let o=Qa(e,t),i=e.injectorIndex;if(Ed(o)){let s=Ho(o),a=Bo(o,t),c=a[m].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|c[s+l]}return t[i+8]=o,i}function Xs(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Cd(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=Md(o),r===null)return on;if(n++,o=o[wt],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return on}function da(e,t,n){Im(e,t,n)}function Dm(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let n=e.attrs;if(n){let r=n.length,o=0;for(;o<r;){let i=n[o];if(vd(i))break;if(i===0)o=o+2;else if(typeof i=="number")for(o++;o<r&&typeof n[o]=="string";)o++;else{if(i===t)return n[o+1];o=o+2}}}return null}function _d(e,t,n){if(n&8||e!==void 0)return e;co(t,"NodeInjector")}function wd(e,t,n,r){if(n&8&&r===void 0&&(r=null),(n&3)===0){let o=e[X],i=K(void 0);try{return o?o.get(t,r,n&8):gs(t,r,n&8)}finally{K(i)}}return _d(r,t,n)}function bd(e,t,n,r=0,o){if(e!==null){if(t[D]&2048&&!(r&2)){let s=Tm(e,t,n,r,Ae);if(s!==Ae)return s}let i=Td(e,t,n,r,Ae);if(i!==Ae)return i}return wd(t,n,r,o)}function Td(e,t,n,r,o){let i=_m(n);if(typeof i=="function"){if(!qs(t,e,r))return r&1?_d(o,n,r):wd(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&8))co(n);else return s}finally{Ws()}}else if(typeof i=="number"){let s=null,a=Cd(e,t),c=on,l=r&1?t[ee][J]:null;for((a===-1||r&4)&&(c=a===-1?Qa(e,t):t[a+8],c===on||!Nu(r,!1)?a=-1:(s=t[m],a=Ho(c),t=Bo(c,t)));a!==-1;){let u=t[m];if(Mu(i,a,u.data)){let d=Cm(a,t,n,s,r,l);if(d!==Ae)return d}c=t[a+8],c!==on&&Nu(r,t[m].data[a+8]===l)&&Mu(i,a,t)?(s=u,a=Ho(c),t=Bo(c,t)):a=-1}}return o}function Cm(e,t,n,r,o,i){let s=t[m],a=s.data[e+8],c=r==null?Be(a)&&ua:r!=s&&(a.type&3)!==0,l=o&1&&i===a,u=Po(a,s,n,c,l);return u!==null?Zn(t,s,u,a,o):Ae}function Po(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,c=e.directiveStart,l=e.directiveEnd,u=i>>20,d=r?a:a+u,p=o?a+u:l;for(let f=d;f<p;f++){let h=s[f];if(f<c&&n===h||f>=c&&h.type===n)return f}if(o){let f=s[c];if(f&&ve(f)&&f.type===n)return c}return null}function Zn(e,t,n,r,o){let i=e[n],s=t.data;if(i instanceof Rt){let a=i;if(a.resolving){let f=Ll(s[n]);throw hs(f)}let c=$o(a.canSeeViewProviders);a.resolving=!0;let l=s[n].type||s[n],u,d=a.injectImpl?K(a.injectImpl):null,p=qs(e,r,0);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&dm(n,s[n],t)}finally{d!==null&&K(d),$o(c),a.resolving=!1,Ws()}}return i}function _m(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Dt)?e[Dt]:void 0;return typeof t=="number"?t>=0?t&Id:wm:t}function Mu(e,t,n){let r=1<<e;return!!(n[t+(e>>Dd)]&r)}function Nu(e,t){return!(e&2)&&!(e&1&&t)}var xt=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return bd(this._tNode,this._lView,t,vt(r),n)}};function wm(){return new xt(j(),g())}function bm(e){return rr(()=>{let t=e.prototype.constructor,n=t[An]||fa(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[An]||fa(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function fa(e){return cs(e)?()=>{let t=fa($(e));return t&&t()}:Ke(e)}function Tm(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[D]&2048&&!Jt(s);){let a=Td(i,s,n,r|2,Ae);if(a!==Ae)return a;let c=i.parent;if(!c){let l=s[bs];if(l){let u=l.get(n,Ae,r);if(u!==Ae)return u}c=Md(s),s=s[wt]}i=c}return o}function Md(e){let t=e[m],n=t.type;return n===2?t.declTNode:n===1?e[J]:null}function Nd(e){return Dm(j(),e)}function Mm(){return En(j(),g())}function En(e,t){return new or(oe(e,t))}var or=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=Mm}return e})();function Sd(e){return e instanceof or?e.nativeElement:e}function Nm(){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 se}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=Bl(t);(this._changesDetected=!Hl(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]=Nm};function xd(e){return(e.flags&128)===128}var Za=(function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e})(Za||{}),Ad=new Map,Sm=0;function xm(){return Sm++}function Am(e){Ad.set(e[Vn],e)}function pa(e){Ad.delete(e[Vn])}var Su="__ngContext__";function ln(e,t){Se(t)?(e[Su]=t[Vn],Am(t)):e[Su]=t}function Rd(e){return kd(e[Yt])}function Od(e){return kd(e[ce])}function kd(e){for(;e!==null&&!ye(e);)e=e[ce];return e}var ha;function Rm(e){ha=e}function Ya(){if(ha!==void 0)return ha;if(typeof document<"u")return document;throw new b(210,!1)}var Om=new S("",{providedIn:"root",factory:()=>km}),km="ng",Pd=new S(""),Pm=new S("",{providedIn:"platform",factory:()=>"unknown"});var Lm=new S(""),Fm=new S("",{providedIn:"root",factory:()=>Ya().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var jm="h",Vm="b";var Ld="r";var Fd="di";var jd=!1,Vd=new S("",{providedIn:"root",factory:()=>jd});var Hm=new S("");var Bm=(e,t,n,r)=>{};function $m(e,t,n,r){Bm(e,t,n,r)}function li(e){return(e.flags&32)===32}var Um=()=>null;function Hd(e,t,n=!1){return Um(e,t,n)}function Bd(e,t){let n=e.contentQueries;if(n!==null){let r=E(null);try{for(let o=0;o<n.length;o+=2){let i=n[o],s=n[o+1];if(s!==-1){let a=e.data[s];Un(i),a.contentQueries(2,t[s],s)}}}finally{E(r)}}}function ga(e,t,n){Un(0);let r=E(null);try{t(e,n)}finally{E(r)}}function Ka(e,t,n){if(Ms(t)){let r=E(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;s<i;s++){let a=e.data[s];if(a.contentQueries){let c=n[s];a.contentQueries(1,c,s)}}}finally{E(r)}}}var un=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e})(un||{});var No;function qm(){if(No===void 0&&(No=null,Te.trustedTypes))try{No=Te.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return No}function ui(e){return qm()?.createHTML(e)||e}var So;function $d(){if(So===void 0&&(So=null,Te.trustedTypes))try{So=Te.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return So}function xu(e){return $d()?.createHTML(e)||e}function Au(e){return $d()?.createScriptURL(e)||e}var We=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${oo})`}},ma=class extends We{getTypeName(){return"HTML"}},ya=class extends We{getTypeName(){return"Style"}},va=class extends We{getTypeName(){return"Script"}},Ea=class extends We{getTypeName(){return"URL"}},Ia=class extends We{getTypeName(){return"ResourceURL"}};function Pt(e){return e instanceof We?e.changingThisBreaksApplicationSecurity:e}function di(e,t){let n=Ud(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 Ud(e){return e instanceof We&&e.getTypeName()||null}function Wm(e){return new ma(e)}function Gm(e){return new ya(e)}function zm(e){return new va(e)}function Qm(e){return new Ea(e)}function Zm(e){return new Ia(e)}function Ym(e){let t=new Ca(e);return Km()?new Da(t):t}var Da=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(ui(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}},Ca=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=ui(t),n}};function Km(){try{return!!new window.DOMParser().parseFromString(ui(""),"text/html")}catch{return!1}}var Jm=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Ja(e){return e=String(e),e.match(Jm)?e:"unsafe:"+e}function Ge(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function ir(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var qd=Ge("area,br,col,hr,img,wbr"),Wd=Ge("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Gd=Ge("rp,rt"),Xm=ir(Gd,Wd),ey=ir(Wd,Ge("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")),ty=ir(Gd,Ge("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")),Ru=ir(qd,ey,ty,Xm),zd=Ge("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),ny=Ge("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"),ry=Ge("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"),oy=ir(zd,ny,ry),iy=Ge("script,style,template"),_a=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=cy(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=ay(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=Ou(t).toLowerCase();if(!Ru.hasOwnProperty(n))return this.sanitizedSomething=!0,!iy.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);let r=t.attributes;for(let o=0;o<r.length;o++){let i=r.item(o),s=i.name,a=s.toLowerCase();if(!oy.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;zd[a]&&(c=Ja(c)),this.buf.push(" ",s,'="',ku(c),'"')}return this.buf.push(">"),!0}endElement(t){let n=Ou(t).toLowerCase();Ru.hasOwnProperty(n)&&!qd.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(ku(t))}};function sy(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function ay(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw Qd(t);return t}function cy(e){let t=e.firstChild;if(t&&sy(e,t))throw Qd(t);return t}function Ou(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function Qd(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var ly=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,uy=/([^\#-~ |!])/g;function ku(e){return e.replace(/&/g,"&").replace(ly,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(uy,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var xo;function Zd(e,t){let n=null;try{xo=xo||Ym(e);let r=t?String(t):"";n=xo.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=xo.getInertBodyElement(r)}while(r!==i);let a=new _a().sanitizeChildren(Pu(n)||n);return ui(a)}finally{if(n){let r=Pu(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function Pu(e){return"content"in e&&dy(e)?e.content:null}function dy(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var fy=/^>|^->|<!--|-->|--!>|<!-$/g,py=/(<|>)/g,hy="\u200B$1\u200B";function gy(e){return e.replace(fy,t=>t.replace(py,hy))}function my(e,t){return e.createText(t)}function yy(e,t,n){e.setValue(t,n)}function vy(e,t){return e.createComment(gy(t))}function Yd(e,t,n){return e.createElement(t,n)}function Wo(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Kd(e,t,n){e.appendChild(t,n)}function Lu(e,t,n,r,o){r!==null?Wo(e,t,n,r,o):Kd(e,t,n)}function Jd(e,t,n,r){e.removeChild(null,t,n,r)}function Ey(e,t,n){e.setAttribute(t,"style",n)}function Iy(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Xd(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&gm(e,t,r),o!==null&&Iy(e,t,o),i!==null&&Ey(e,t,i)}var sr=(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})(sr||{});function Dy(e){let t=Xa();return t?xu(t.sanitize(sr.HTML,e)||""):di(e,"HTML")?xu(Pt(e)):Zd(Ya(),Xe(e))}function ef(e){let t=Xa();return t?t.sanitize(sr.URL,e)||"":di(e,"URL")?Pt(e):Ja(Xe(e))}function tf(e){let t=Xa();if(t)return Au(t.sanitize(sr.RESOURCE_URL,e)||"");if(di(e,"ResourceURL"))return Au(Pt(e));throw new b(904,!1)}function Cy(e,t){return t==="src"&&(e==="embed"||e==="frame"||e==="iframe"||e==="media"||e==="script")||t==="href"&&(e==="base"||e==="link")?tf:ef}function _y(e,t,n){return Cy(t,n)(e)}function Xa(){let e=g();return e&&e[Me].sanitizer}function wy(e){return e.ownerDocument.defaultView}function by(e){return e.ownerDocument}function nf(e){return e instanceof Function?e():e}function Ty(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 rf="ng-template";function My(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&Ty(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(ec(e))return!1;if(o=t.indexOf(1,o),o>-1){let i;for(;++o<t.length&&typeof(i=t[o])=="string";)if(i.toLowerCase()===n)return!0}return!1}function ec(e){return e.type===4&&e.value!==rf}function Ny(e,t,n){let r=e.type===4&&!n?rf:e.value;return t===r}function Sy(e,t,n){let r=4,o=e.attrs,i=o!==null?Ry(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!Ee(r)&&!Ee(c))return!1;if(s&&Ee(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!Ny(e,c,n)||c===""&&t.length===1){if(Ee(r))return!1;s=!0}}else if(r&8){if(o===null||!My(e,o,c,n)){if(Ee(r))return!1;s=!0}}else{let l=t[++a],u=xy(c,o,ec(e),n);if(u===-1){if(Ee(r))return!1;s=!0;continue}if(l!==""){let d;if(u>i?d="":d=o[u+1].toLowerCase(),r&2&&l!==d){if(Ee(r))return!1;s=!0}}}}return Ee(r)||s}function Ee(e){return(e&1)===0}function xy(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o<t.length;){let s=t[o];if(s===e)return o;if(s===3||s===6)i=!0;else if(s===1||s===2){let a=t[++o];for(;typeof a=="string";)a=t[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=i?1:2}return-1}else return Oy(t,e)}function of(e,t,n=!1){for(let r=0;r<t.length;r++)if(Sy(e,t[r],n))return!0;return!1}function Ay(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if((n&1)===0)return t[n+1]}return null}function Ry(e){for(let t=0;t<e.length;t++){let n=e[t];if(vd(n))return t}return e.length}function Oy(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){let r=e[n];if(typeof r=="number")return-1;if(r===t)return n;n++}return-1}function ky(e,t){e:for(let n=0;n<t.length;n++){let r=t[n];if(e.length===r.length){for(let o=0;o<e.length;o++)if(e[o]!==r[o])continue e;return!0}}return!1}function Fu(e,t){return e?":not("+t.trim()+")":t}function Py(e){let t=e[0],n=1,r=2,o="",i=!1;for(;n<e.length;){let s=e[n];if(typeof s=="string")if(r&2){let a=e[++n];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!Ee(s)&&(t+=Fu(i,o),o=""),r=s,i=i||!Ee(r);n++}return o!==""&&(t+=Fu(i,o)),t}function Ly(e){return e.map(Py).join(",")}function Fy(e){let t=[],n=[],r=1,o=2;for(;r<e.length;){let i=e[r];if(typeof i=="string")o===2?i!==""&&t.push(i,e[++r]):o===8&&n.push(i);else{if(!Ee(o))break;o=i}r++}return n.length&&t.push(1,...n),t}var ne={};function tc(e,t,n,r,o,i,s,a,c,l,u){let d=k+r,p=d+o,f=jy(d,p),h=typeof l=="function"?l():l;return f[m]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:p,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i=="function"?i():i,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:c,consts:h,incompleteFirstPass:!1,ssrId:u}}function jy(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:ne);return n}function Vy(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=tc(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function nc(e,t,n,r,o,i,s,a,c,l,u){let d=t.blueprint.slice();return d[me]=o,d[D]=r|4|128|8|64|1024,(l!==null||e&&e[D]&2048)&&(d[D]|=2048),As(d),d[U]=d[wt]=e,d[F]=n,d[Me]=s||e&&e[Me],d[A]=a||e&&e[A],d[X]=c||e&&e[X]||null,d[J]=i,d[Vn]=xm(),d[_t]=u,d[bs]=l,d[ee]=t.type==2?e[ee]:d,d}function Hy(e,t,n){let r=oe(t,e),o=Vy(n),i=e[Me].rendererFactory,s=rc(e,nc(e,o,null,sf(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function sf(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function af(e,t,n,r){if(n===0)return-1;let o=t.length;for(let i=0;i<n;i++)t.push(r),e.blueprint.push(r),e.data.push(null);return o}function rc(e,t){return e[Yt]?e[ws][ce]=t:e[Yt]=t,e[ws]=t,t}function By(e=1){cf(P(),g(),xe()+e,!1)}function cf(e,t,n,r){if(!r)if((t[D]&3)===3){let i=e.preOrderCheckHooks;i!==null&&Oo(t,i,n)}else{let i=e.preOrderHooks;i!==null&&ko(t,i,0,n)}nt(n)}var fi=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(fi||{});function wa(e,t,n,r){let o=E(null);try{let[i,s,a]=e.inputs[n],c=null;(s&fi.SignalBased)!==0&&(c=t[i][B]),c!==null&&c.transformFn!==void 0?r=c.transformFn(r):a!==null&&(r=a.call(t,r)),e.setInput!==null?e.setInput(t,c,r,n,i):fd(t,c,i,r)}finally{E(o)}}var Go=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})(Go||{}),$y;function oc(e,t){return $y(e,t)}function zo(e){if(!e)return 0;let t=e.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(e)*t}function sn(e,t){return e.getPropertyValue(t).split(",").map(r=>r.trim())}function Uy(e){let t=sn(e,"transition-property"),n=sn(e,"transition-duration"),r=sn(e,"transition-delay"),o={propertyName:"",duration:0,animationName:void 0};for(let i=0;i<t.length;i++){let s=zo(r[i])+zo(n[i]);s>o.duration&&(o.propertyName=t[i],o.duration=s)}return o}function qy(e){let t=sn(e,"animation-name"),n=sn(e,"animation-delay"),r=sn(e,"animation-duration"),o={animationName:"",propertyName:void 0,duration:0};for(let i=0;i<t.length;i++){let s=zo(n[i])+zo(r[i]);s>o.duration&&(o.animationName=t[i],o.duration=s)}return o}function lf(e,t){return e!==void 0&&e.duration>t.duration}function uf(e){return(e.animationName!=null||e.propertyName!=null)&&e.duration>0}function Wy(e,t){let n=getComputedStyle(e),r=qy(n),o=Uy(n),i=r.duration>o.duration?r:o;lf(t.get(e),i)||uf(i)&&t.set(e,i)}function df(e,t,n){if(!n)return;let r=e.getAnimations();return r.length===0?Wy(e,t):Gy(e,t,r)}function Gy(e,t,n){let r={animationName:void 0,propertyName:void 0,duration:0};for(let o of n){let i=o.effect?.getTiming(),s=typeof i?.duration=="number"?i.duration:0,a=(i?.delay??0)+s,c,l;o.animationName?l=o.animationName:c=o.transitionProperty,a>=r.duration&&(r={animationName:l,propertyName:c,duration:a})}lf(t.get(e),r)||uf(r)&&t.set(e,r)}var dn=new Set,pi=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(pi||{}),ar=new S(""),ju=new Set;function Re(e){ju.has(e)||(ju.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var ff=!1,ba=class extends se{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,Zl()&&(this.destroyRef=I(rt,{optional:!0})??void 0,this.pendingTasks=I(ot,{optional:!0})??void 0)}emit(t){let n=E(null);try{super.next(t)}finally{E(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 V&&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)}})}}},qe=ba;function pf(e){let t,n;function r(){e=St;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 Vu(e){return queueMicrotask(()=>e()),()=>{e=St}}var ic="isAngularZone",Qo=ic+"_ID",zy=0,z=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new qe(!1);onMicrotaskEmpty=new qe(!1);onStable=new qe(!1);onError=new qe(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=ff}=t;if(typeof Zone>"u")throw new b(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,Yy(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(ic)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new b(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new b(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,Qy,St,St);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)}},Qy={};function sc(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 Zy(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){pf(()=>{e.callbackScheduled=!1,Ta(e),e.isCheckStableRunning=!0,sc(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Ta(e)}function Yy(e){let t=()=>{Zy(e)},n=zy++;e._inner=e._inner.fork({name:"angular",properties:{[ic]:!0,[Qo]:n,[Qo+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(Ky(c))return r.invokeTask(i,s,a,c);try{return Hu(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Bu(e)}},onInvoke:(r,o,i,s,a,c,l)=>{try{return Hu(e),r.invoke(i,s,a,c,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!Jy(c)&&t(),Bu(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Ta(e),sc(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 Ta(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Hu(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Bu(e){e._nesting--,sc(e)}var Zo=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new qe;onMicrotaskEmpty=new qe;onStable=new qe;onError=new qe;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 Ky(e){return hf(e,"__ignore_ng_zone__")}function Jy(e){return hf(e,"__scheduler_tick__")}function hf(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var ac=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=H({token:e,providedIn:"root",factory:()=>new e})}return e})(),gf=[0,1,2,3],mf=(()=>{class e{ngZone=I(z);scheduler=I(he);errorHandler=I(be,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){I(ar,{optional:!0})}execute(){let n=this.sequences.size>0;n&&R(16),this.executing=!0;for(let r of gf)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&&R(17)}register(n){let{view:r}=n;r!==void 0?((r[Tt]??=[]).push(n),tt(r),r[D]|=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(pi.AFTER_NEXT_RENDER,n):n()}static \u0275prov=H({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?.[Tt];t&&(this.view[Tt]=t.filter(n=>n!==this))}};function yf(e,t){let n=t?.injector??I(we);return Re("NgAfterNextRender"),ev(e,n,t,!0)}function Xy(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function ev(e,t,n,r){let o=t.get(ac);o.impl??=t.get(mf);let i=t.get(ar,null,{optional:!0}),s=n?.manualCleanup!==!0?t.get(rt):null,a=t.get(nn,null,{optional:!0}),c=new Yo(o.impl,Xy(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var hi=new S("",{providedIn:"root",factory:()=>({queue:new Set,isScheduled:!1,scheduler:null})});function vf(e,t,n){let r=e.get(hi);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 tv(e,t){let n=e.get(hi);if(t.detachedLeaveAnimationFns){for(let r of t.detachedLeaveAnimationFns)n.queue.delete(r);t.detachedLeaveAnimationFns=void 0}}function nv(e){let t=e.get(hi);t.isScheduled||(yf(()=>{t.isScheduled=!1;for(let n of t.queue)n();t.queue.clear()},{injector:e}),t.isScheduled=!0)}function Ef(e){let t=e.get(hi);t.scheduler=nv,t.scheduler(e)}function If(e,t){for(let[n,r]of t)vf(e,r.animateFns)}function $u(e,t,n,r){let o=e?.[He]?.enter;t!==null&&o&&o.has(n.index)&&If(r,o)}function rn(e,t,n,r,o,i,s,a){if(o!=null){let c,l=!1;ye(o)?c=o:Se(o)&&(l=!0,o=o[me]);let u=le(o);e===0&&r!==null?($u(a,r,i,n),s==null?Kd(t,r,u):Wo(t,r,u,s||null,!0)):e===1&&r!==null?($u(a,r,i,n),Wo(t,r,u,s||null,!0)):e===2?Uu(a,i,n,d=>{Jd(t,u,l,d)}):e===3&&Uu(a,i,n,()=>{t.destroyNode(u)}),c!=null&&pv(t,e,n,c,i,r,s)}}function rv(e,t){Df(e,t),t[me]=null,t[J]=null}function ov(e,t,n,r,o,i){r[me]=o,r[J]=t,mi(e,r,n,1,o,i)}function Df(e,t){t[Me].changeDetectionScheduler?.notify(9),mi(e,t,t[A],2,null,null)}function iv(e){let t=e[Yt];if(!t)return ea(e[m],e);for(;t;){let n=null;if(Se(t))n=t[Yt];else{let r=t[L];r&&(n=r)}if(!n){for(;t&&!t[ce]&&t!==e;)Se(t)&&ea(t[m],t),t=t[U];t===null&&(t=e),Se(t)&&ea(t[m],t),n=t&&t[ce]}t=n}}function cc(e,t){let n=e[Mt],r=n.indexOf(t);n.splice(r,1)}function gi(e,t){if(Nt(t))return;let n=t[A];n.destroyNode&&mi(e,t,n,3,null,null),iv(t)}function ea(e,t){if(Nt(t))return;let n=E(null);try{t[D]&=-129,t[D]|=256,t[ie]&<(t[ie]),cv(e,t),av(e,t),t[m].type===1&&t[A].destroy();let r=t[je];if(r!==null&&ye(t[U])){r!==t[U]&&cc(r,t);let o=t[Ne];o!==null&&o.detachView(e)}pa(t)}finally{E(n)}}function Uu(e,t,n,r){let o=e?.[He];if(o==null||o.leave==null||!o.leave.has(t.index))return r(!1);e&&dn.add(e),vf(n,()=>{if(o.leave&&o.leave.has(t.index)){let s=o.leave.get(t.index),a=[];if(s){for(let c=0;c<s.animateFns.length;c++){let l=s.animateFns[c],{promise:u}=l();a.push(u)}o.detachedLeaveAnimationFns=void 0}o.running=Promise.allSettled(a),sv(e,r)}else e&&dn.delete(e),r(!1)},o)}function sv(e,t){let n=e[He]?.running;if(n){n.then(()=>{e[He].running=void 0,dn.delete(e),t(!0)});return}t(!1)}function av(e,t){let n=e.cleanup,r=t[Zt];if(n!==null)for(let s=0;s<n.length-1;s+=2)if(typeof n[s]=="string"){let a=n[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[n[s+1]];n[s].call(a)}r!==null&&(t[Zt]=null);let o=t[Pe];if(o!==null){t[Pe]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[Ve];if(i!==null){t[Ve]=null;for(let s of i)s.destroy()}}function cv(e,t){let n;if(e!=null&&(n=e.destroyHooks)!=null)for(let r=0;r<n.length;r+=2){let o=t[n[r]];if(!(o instanceof Rt)){let i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],c=i[s+1];R(4,a,c);try{c.call(a)}finally{R(5,a,c)}}else{R(4,o,i);try{i.call(o)}finally{R(5,o,i)}}}}}function Cf(e,t,n){return lv(e,t.parent,n)}function lv(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[me];if(Be(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===un.None||o===un.Emulated)return null}return oe(r,n)}function _f(e,t,n){return dv(e,t,n)}function uv(e,t,n){return e.type&40?oe(e,n):null}var dv=uv,qu;function lc(e,t,n,r){let o=Cf(e,r,t),i=t[A],s=r.parent||t[J],a=_f(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)Lu(i,o,n[c],a,!1);else Lu(i,o,n,a,!1);qu!==void 0&&qu(i,r,t,n,o)}function zn(e,t){if(t!==null){let n=t.type;if(n&3)return oe(t,e);if(n&4)return Ko(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return zn(e,r);{let o=e[t.index];return ye(o)?Ko(-1,o):le(o)}}else{if(n&128)return zn(e,t.next);if(n&32)return oc(t,e)()||le(e[t.index]);{let r=wf(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=Je(e[ee]);return zn(o,r)}else return zn(e,t.next)}}}return null}function wf(e,t){if(t!==null){let r=e[ee][J],o=t.projection;return r.projection[o]}return null}function Ko(e,t){let n=L+e+1;if(n<t.length){let r=t[n],o=r[m].firstChild;if(o!==null)return zn(r,o)}return t[et]}function uc(e,t,n,r,o,i,s){for(;n!=null;){let a=r[X];if(n.type===128){n=n.next;continue}let c=r[n.index],l=n.type;if(s&&t===0&&(c&&ln(le(c),r),n.flags|=2),!li(n))if(l&8)uc(e,t,n.child,r,o,i,!1),rn(t,e,a,o,c,n,i,r);else if(l&32){let u=oc(n,r),d;for(;d=u();)rn(t,e,a,o,d,n,i,r);rn(t,e,a,o,c,n,i,r)}else l&16?bf(e,t,r,n,o,i):rn(t,e,a,o,c,n,i,r);n=s?n.projectionNext:n.next}}function mi(e,t,n,r,o,i){uc(n,r,e.firstChild,t,o,i,!1)}function fv(e,t,n){let r=t[A],o=Cf(e,n,t),i=n.parent||t[J],s=_f(i,n,t);bf(r,0,t,n,o,s)}function bf(e,t,n,r,o,i){let s=n[ee],c=s[J].projection[r.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++){let u=c[l];rn(t,e,n[X],o,u,r,i,n)}else{let l=c,u=s[U];xd(r)&&(l.flags|=128),uc(e,t,l,u,o,i,!0)}}function pv(e,t,n,r,o,i,s){let a=r[et],c=le(r);a!==c&&rn(t,e,n,i,a,o,s);for(let l=L;l<r.length;l++){let u=r[l];mi(u[m],u,e,t,i,a)}}function hv(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:Go.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Go.Important),e.setStyle(n,r,o,i))}}function Tf(e,t,n,r,o){let i=xe(),s=r&2;try{nt(-1),s&&t.length>k&&cf(e,t,k,!1),R(s?2:0,o,n),n(r,o)}finally{nt(i),R(s?3:1,o,n)}}function yi(e,t,n){Ev(e,t,n),(n.flags&64)===64&&Iv(e,t,n)}function cr(e,t,n=oe){let r=t.localNames;if(r!==null){let o=t.index+1;for(let i=0;i<r.length;i+=2){let s=r[i+1],a=s===-1?n(t,e):e[s];e[o++]=a}}}function gv(e,t,n,r){let i=r.get(Vd,jd)||n===un.ShadowDom,s=e.selectRootElement(t,i);return mv(s),s}function mv(e){yv(e)}var yv=()=>null;function vv(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(vi(e,s,t,n,r)){Be(e)&&Sf(t,e.index);return}e.type&3&&(n=vv(n)),Nf(e,t,n,r,o,i)}function Nf(e,t,n,r,o,i){if(e.type&3){let s=oe(e,t);r=i!=null?i(r,e.value||"",n):r,o.setProperty(s,n,r)}else e.type&12}function Sf(e,t){let n=ue(t,e);n[D]&16||(n[D]|=64)}function Ev(e,t,n){let r=n.directiveStart,o=n.directiveEnd;Be(n)&&Hy(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||Uo(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=Zn(t,e,s,n);if(ln(c,t),i!==null&&_v(t,s-r,c,a,n,i),ve(a)){let l=ue(n.index,t);l[F]=Zn(t,e,s,n)}}}function Iv(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=pu();try{nt(i);for(let a=r;a<o;a++){let c=e.data[a],l=t[a];Do(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&Dv(c,l)}}finally{nt(-1),Do(s)}}function Dv(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function dc(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];of(t,i.selectors,!1)&&(r??=[],ve(i)?r.unshift(i):r.push(i))}return r}function Cv(e,t,n,r,o,i){let s=oe(e,t);xf(t[A],s,i,e.value,n,r,o)}function xf(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?Xe(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function _v(e,t,n,r,o,i){let s=i[t];if(s!==null)for(let a=0;a<s.length;a+=2){let c=s[a],l=s[a+1];wa(r,n,c,l)}}function fc(e,t,n,r,o){let i=k+n,s=t[m],a=o(s,t,e,r,n);t[i]=a,Xt(e,!0);let c=e.type===2;return c?(Xd(t[A],a,e),(ru()===0||Kt(e))&&ln(a,t),ou()):ln(a,t),bo()&&(!c||!li(e))&&lc(s,t,a,e),e}function pc(e){let t=e;return Bs()?$s():(t=t.parent,Xt(t,!1)),t}function wv(e,t){let n=e[X];if(!n)return;let r;try{r=n.get(Ue,null)}catch{r=null}r?.(t)}function vi(e,t,n,r,o){let i=e.inputs?.[r],s=e.hostDirectiveInputs?.[r],a=!1;if(s)for(let c=0;c<s.length;c+=2){let l=s[c],u=s[c+1],d=t.data[l];wa(d,n[l],u,o),a=!0}if(i)for(let c of i){let l=n[c],u=t.data[c];wa(u,l,r,o),a=!0}return a}function bv(e,t){let n=ue(t,e),r=n[m];Tv(r,n);let o=n[me];o!==null&&n[_t]===null&&(n[_t]=Hd(o,n[X])),R(18),hc(r,n,n[F]),R(19,n[F])}function Tv(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function hc(e,t,n){_o(t);try{let r=e.viewQuery;r!==null&&ga(1,r,n);let o=e.template;o!==null&&Tf(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[Ne]?.finishViewCreation(e),e.staticContentQueries&&Bd(e,t),e.staticViewQueries&&ga(2,e.viewQuery,n);let i=e.components;i!==null&&Mv(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[D]&=-5,wo()}}function Mv(e,t){for(let n=0;n<t.length;n++)bv(e,t[n])}function lr(e,t,n,r){let o=E(null);try{let i=t.tView,a=e[D]&4096?4096:16,c=nc(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),l=e[t.index];c[je]=l;let u=e[Ne];return u!==null&&(c[Ne]=u.createEmbeddedView(i)),hc(i,c,n),c}finally{E(o)}}function fn(e,t){return!t||t.firstChild===null||xd(e)}function Yn(e,t,n,r,o=!1){for(;n!==null;){if(n.type===128){n=o?n.projectionNext:n.next;continue}let i=t[n.index];i!==null&&r.push(le(i)),ye(i)&&Af(i,r);let s=n.type;if(s&8)Yn(e,t,n.child,r);else if(s&32){let a=oc(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=wf(t,n);if(Array.isArray(a))r.push(...a);else{let c=Je(t[ee]);Yn(c[m],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function Af(e,t){for(let n=L;n<e.length;n++){let r=e[n],o=r[m].firstChild;o!==null&&Yn(r[m],r,o,t)}e[et]!==e[me]&&t.push(e[et])}function Rf(e){if(e[Tt]!==null){for(let t of e[Tt])t.impl.addSequence(t);e[Tt].length=0}}var Of=[];function Nv(e){return e[ie]??Sv(e)}function Sv(e){let t=Of.pop()??Object.create(Av);return t.lView=e,t}function xv(e){e.lView[ie]!==e&&(e.lView=null,Of.push(e))}var Av=G(W({},st),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{tt(e.lView)},consumerOnSignalRead(){this.lView[ie]=this}});function Rv(e){let t=e[ie]??Object.create(Ov);return t.lView=e,t}var Ov=G(W({},st),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=Je(e.lView);for(;t&&!kf(t[m]);)t=Je(t);t&&Rs(t)},consumerOnSignalRead(){this.lView[ie]=this}});function kf(e){return e.type!==2}function Pf(e){if(e[Ve]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[Ve])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[D]&8192)}}var kv=100;function Lf(e,t=0){let r=e[Me].rendererFactory,o=!1;o||r.begin?.();try{Pv(e,t)}finally{o||r.end?.()}}function Pv(e,t){let n=Us();try{en(!0),Ma(e,t);let r=0;for(;$n(e);){if(r===kv)throw new b(103,!1);r++,Ma(e,1)}}finally{en(n)}}function Lv(e,t,n,r){if(Nt(t))return;let o=t[D],i=!1,s=!1;_o(t);let a=!0,c=null,l=null;i||(kf(e)?(l=Nv(t),c=ct(l)):wr()===null?(a=!1,l=Rv(t),c=ct(l)):t[ie]&&(lt(t[ie]),t[ie]=null));try{As(t),uu(e.bindingStartIndex),n!==null&&Tf(e,t,n,2,r);let u=(o&3)===3;if(!i)if(u){let f=e.preOrderCheckHooks;f!==null&&Oo(t,f,null)}else{let f=e.preOrderHooks;f!==null&&ko(t,f,0,null),Js(t,0)}if(s||Fv(t),Pf(t),Ff(t,0),e.contentQueries!==null&&Bd(e,t),!i)if(u){let f=e.contentCheckHooks;f!==null&&Oo(t,f)}else{let f=e.contentHooks;f!==null&&ko(t,f,1),Js(t,1)}Vv(e,t);let d=e.components;d!==null&&Vf(t,d,0);let p=e.viewQuery;if(p!==null&&ga(2,p,r),!i)if(u){let f=e.viewCheckHooks;f!==null&&Oo(t,f)}else{let f=e.viewHooks;f!==null&&ko(t,f,2),Js(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[go]){for(let f of t[go])f();t[go]=null}i||(Rf(t),t[D]&=-73)}catch(u){throw i||tt(t),u}finally{l!==null&&(Ft(l,c),a&&xv(l)),wo()}}function Ff(e,t){for(let n=Rd(e);n!==null;n=Od(n))for(let r=L;r<n.length;r++){let o=n[r];jf(o,t)}}function Fv(e){for(let t=Rd(e);t!==null;t=Od(t)){if(!(t[D]&2))continue;let n=t[Mt];for(let r=0;r<n.length;r++){let o=n[r];Rs(o)}}}function jv(e,t,n){R(18);let r=ue(t,e);jf(r,n),R(19,r[F])}function jf(e,t){yo(e)&&Ma(e,t)}function Ma(e,t){let r=e[m],o=e[D],i=e[ie],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&jt(i)),s||=!1,i&&(i.dirty=!1),e[D]&=-9217,s)Lv(r,e,r.template,e[F]);else if(o&8192){let a=E(null);try{Pf(e),Ff(e,1);let c=r.components;c!==null&&Vf(e,c,1),Rf(e)}finally{E(a)}}}function Vf(e,t,n){for(let r=0;r<t.length;r++)jv(e,t[r],n)}function Vv(e,t){let n=e.hostBindingOpCodes;if(n!==null)try{for(let r=0;r<n.length;r++){let o=n[r];if(o<0)nt(~o);else{let i=o,s=n[++r],a=n[++r];fu(s,i);let c=t[i];R(24,c),a(2,c),R(25,c)}}}finally{nt(-1)}}function gc(e,t){let n=Us()?64:1088;for(e[Me].changeDetectionScheduler?.notify(t);e;){e[D]|=n;let r=Je(e);if(Jt(e)&&!r)return e;e=r}return null}function Hf(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function Bf(e,t){let n=L+t;if(n<e.length)return e[n]}function ur(e,t,n,r=!0){let o=t[m];if(Hv(o,t,e,n),r){let s=Ko(n,e),a=t[A],c=a.parentNode(e[et]);c!==null&&ov(o,e[J],a,t,c,s)}let i=t[_t];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function $f(e,t){let n=Kn(e,t);return n!==void 0&&gi(n[m],n),n}function Kn(e,t){if(e.length<=L)return;let n=L+t,r=e[n];if(r){let o=r[je];o!==null&&o!==e&&cc(o,r),t>0&&(e[n-1][ce]=r[ce]);let i=Ln(e,L+t);rv(r[m],r);let s=i[Ne];s!==null&&s.detachView(i[m]),r[U]=null,r[ce]=null,r[D]&=-129}return r}function Hv(e,t,n,r){let o=L+r,i=n.length;r>0&&(n[o-1][ce]=t),r<i-L?(t[ce]=n[o],ms(n,L+r,t)):(n.push(t),t[ce]=null),t[U]=n;let s=t[je];s!==null&&n!==s&&Uf(s,t);let a=t[Ne];a!==null&&a.insertView(e),vo(t),t[D]|=128}function Uf(e,t){let n=e[Mt],r=t[U];if(Se(r))e[D]|=2;else{let o=r[U][ee];t[ee]!==o&&(e[D]|=2)}n===null?e[Mt]=[t]:n.push(t)}var it=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let t=this._lView,n=t[m];return Yn(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n}get context(){return this._lView[F]}set context(t){this._lView[F]=t}get destroyed(){return Nt(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[U];if(ye(t)){let n=t[Hn],r=n?n.indexOf(this):-1;r>-1&&(Kn(t,r),Ln(n,r))}this._attachedToViewContainer=!1}gi(this._lView[m],this._lView)}onDestroy(t){Os(this._lView,t)}markForCheck(){gc(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[D]&=-129}reattach(){vo(this._lView),this._lView[D]|=128}detectChanges(){this._lView[D]|=1024,Lf(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new b(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=Jt(this._lView),n=this._lView[je];n!==null&&!t&&cc(n,this._lView),Df(this._lView[m],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new b(902,!1);this._appRef=t;let n=Jt(this._lView),r=this._lView[je];r!==null&&!n&&Uf(r,this._lView),vo(this._lView)}};var Jn=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=Bv;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=lr(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:r,dehydratedView:o});return new it(i)}}return e})();function Bv(){return Ei(j(),g())}function Ei(e,t){return e.type&4?new Jn(t,e,En(e,t)):null}function In(e,t,n,r,o){let i=e.data[t];if(i===null)i=$v(e,t,n,r,o),du()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=au();i.injectorIndex=s===null?-1:s.injectorIndex}return Xt(i,!0),i}function $v(e,t,n,r,o){let i=Hs(),s=Bs(),a=s?i:i&&i.parent,c=e.data[t]=qv(e,a,n,t,r,o);return Uv(e,c,i,s),c}function Uv(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 qv(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return Fs()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs: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}}var Hx=new RegExp(`^(\\d+)*(${Vm}|${jm})*(.*)`);function Wv(e){let t=e[Ts]??[],r=e[U][A],o=[];for(let i of t)i.data[Fd]!==void 0?o.push(i):Gv(i,r);e[Ts]=o}function Gv(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[Ld];for(;n<o;){let i=r.nextSibling;Jd(t,r,!1),r=i,n++}}}var zv=()=>null,Qv=()=>null;function Jo(e,t){return zv(e,t)}function qf(e,t,n){return Qv(e,t,n)}var Wf=class{},Ii=class{},Na=class{resolveComponentFactory(t){throw new b(917,!1)}},dr=class{static NULL=new Na},Xn=class{},Zv=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>Yv()}return e})();function Yv(){let e=g(),t=j(),n=ue(t.index,e);return(Se(n)?n:e)[A]}var Gf=(()=>{class e{static \u0275prov=H({token:e,providedIn:"root",factory:()=>null})}return e})();var Lo={},Sa=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){let o=this.injector.get(t,Lo,r);return o!==Lo||n===Lo?o:this.parentInjector.get(t,n,r)}};function Xo(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s<t.length;s++){let a=t[s];if(typeof a=="number")i=a;else if(i==1)o=io(o,a);else if(i==2){let c=a,l=t[++s];r=io(r,c+": "+l+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function fr(e,t=0){let n=g();if(n===null)return _e(e,t);let r=j();return bd(r,n,$(e),t)}function Kv(){let e="invalid";throw new Error(e)}function zf(e,t,n,r,o){let i=r===null?null:{"":-1},s=o(e,n);if(s!==null){let a=s,c=null,l=null;for(let u of s)if(u.resolveHostDirectives!==null){[a,c,l]=u.resolveHostDirectives(s);break}eE(e,t,n,a,i,c,l)}i!==null&&r!==null&&Jv(n,r,i)}function Jv(e,t,n){let r=e.localNames=[];for(let o=0;o<t.length;o+=2){let i=n[t[o+1]];if(i==null)throw new b(-301,!1);r.push(t[o],i)}}function Xv(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function eE(e,t,n,r,o,i,s){let a=r.length,c=!1;for(let p=0;p<a;p++){let f=r[p];!c&&ve(f)&&(c=!0,Xv(e,n,p)),da(Uo(n,t),e,f.type)}sE(n,e.data.length,a);for(let p=0;p<a;p++){let f=r[p];f.providersResolver&&f.providersResolver(f)}let l=!1,u=!1,d=af(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let p=0;p<a;p++){let f=r[p];if(n.mergedAttrs=cn(n.mergedAttrs,f.hostAttrs),nE(e,n,t,d,f),iE(d,f,o),s!==null&&s.has(f)){let[y,N]=s.get(f);n.directiveToIndex.set(f.type,[d,y+n.directiveStart,N+n.directiveStart])}else(i===null||!i.has(f))&&n.directiveToIndex.set(f.type,d);f.contentQueries!==null&&(n.flags|=4),(f.hostBindings!==null||f.hostAttrs!==null||f.hostVars!==0)&&(n.flags|=64);let h=f.type.prototype;!l&&(h.ngOnChanges||h.ngOnInit||h.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),l=!0),!u&&(h.ngOnChanges||h.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),u=!0),d++}tE(e,n,i)}function tE(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let o=e.data[r];if(n===null||!n.has(o))Wu(0,t,o,r),Wu(1,t,o,r),zu(t,r,!1);else{let i=n.get(o);Gu(0,t,i,r),Gu(1,t,i,r),zu(t,r,!0)}}}function Wu(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s;e===0?s=t.inputs??={}:s=t.outputs??={},s[i]??=[],s[i].push(r),Qf(t,i)}}function Gu(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s=o[i],a;e===0?a=t.hostDirectiveInputs??={}:a=t.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,i),Qf(t,s)}}function Qf(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function zu(e,t,n){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!n&&o===null||n&&i===null||ec(e)){e.initialInputs??=[],e.initialInputs.push(null);return}let s=null,a=0;for(;a<r.length;){let c=r[a];if(c===0){a+=4;continue}else if(c===5){a+=2;continue}else if(typeof c=="number")break;if(!n&&o.hasOwnProperty(c)){let l=o[c];for(let u of l)if(u===t){s??=[],s.push(c,r[a+1]);break}}else if(n&&i.hasOwnProperty(c)){let l=i[c];for(let u=0;u<l.length;u+=2)if(l[u]===t){s??=[],s.push(l[u+1],r[a+1]);break}}a+=2}e.initialInputs??=[],e.initialInputs.push(s)}function nE(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=Ke(o.type,!0)),s=new Rt(i,ve(o),fr,null);e.blueprint[r]=s,n[r]=s,rE(e,t,r,af(e,n,o.hostVars,ne),o)}function rE(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;oE(s)!=a&&s.push(a),s.push(n,r,i)}}function oE(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function iE(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;ve(t)&&(n[""]=e)}}function sE(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function mc(e,t,n,r,o,i,s,a){let c=t[m],l=c.consts,u=de(l,s),d=In(c,e,n,r,u);return i&&zf(c,t,d,de(l,a),o),d.mergedAttrs=cn(d.mergedAttrs,d.attrs),d.attrs!==null&&Xo(d,d.attrs,!1),d.mergedAttrs!==null&&Xo(d,d.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,d),d}function yc(e,t){md(e,t),Ms(t)&&e.queries.elementEnd(t)}function aE(e,t,n,r,o,i){let s=t.consts,a=de(s,o),c=In(t,e,n,r,a);if(c.mergedAttrs=cn(c.mergedAttrs,c.attrs),i!=null){let l=de(s,i);c.localNames=[];for(let u=0;u<l.length;u+=2)c.localNames.push(l[u],-1)}return c.attrs!==null&&Xo(c,c.attrs,!1),c.mergedAttrs!==null&&Xo(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}function vc(e){return Di(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function Zf(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{let n=e[Symbol.iterator](),r;for(;!(r=n.next()).done;)t(r.value)}}function Di(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function ze(e,t,n){return e[t]=n}function pr(e,t){return e[t]}function te(e,t,n){if(n===ne)return!1;let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function pn(e,t,n,r){let o=te(e,t,n);return te(e,t+1,r)||o}function Yf(e,t,n,r,o){let i=pn(e,t,n,r);return te(e,t+2,o)||i}function hn(e,t,n,r,o,i){let s=pn(e,t,n,r);return pn(e,t+2,o,i)||s}function ta(e,t,n){return function r(o){let i=Be(e)?ue(e.index,t):t;gc(i,5);let s=t[F],a=Qu(t,s,n,o),c=r.__ngNextListenerFn__;for(;c;)a=Qu(t,s,c,o)&&a,c=c.__ngNextListenerFn__;return a}}function Qu(e,t,n,r){let o=E(null);try{return R(6,t,n),n(r)!==!1}catch(i){return wv(e,i),!1}finally{R(7,t,n),E(o)}}function cE(e,t,n,r,o,i,s,a){let c=Kt(e),l=!1,u=null;if(!r&&c&&(u=uE(t,n,i,e.index)),u!==null){let d=u.__ngLastListenerFn__||u;d.__ngNextListenerFn__=s,u.__ngLastListenerFn__=s,l=!0}else{let d=oe(e,n),p=r?r(d):d;$m(n,p,i,a);let f=o.listen(p,i,a);if(!lE(i)){let h=r?y=>r(le(y[e.index])):e.index;Kf(h,t,n,i,a,f,!1)}}return l}function lE(e){return e.startsWith("animation")||e.startsWith("transition")}function uE(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;i<o.length-1;i+=2){let s=o[i];if(s===n&&o[i+1]===r){let a=t[Zt],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function Kf(e,t,n,r,o,i,s){let a=t.firstCreatePass?Ps(t):null,c=ks(n),l=c.length;c.push(o,i),a&&a.push(r,e,l,(l+1)*(s?-1:1))}function Zu(e,t,n,r,o,i){let s=t[n],a=t[m],l=a.data[n].outputs[r],d=s[l].subscribe(i);Kf(e.index,a,t,o,i,d,!0)}var xa=Symbol("BINDING");var ei=class extends dr{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=Fe(t);return new Ot(n,this.ngModule)}};function dE(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&fi.SignalBased)!==0};return o&&(i.transform=o),i})}function fE(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function pE(e,t,n){let r=t instanceof ae?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new Sa(n,r):n}function hE(e){let t=e.get(Xn,null);if(t===null)throw new b(407,!1);let n=e.get(Gf,null),r=e.get(he,null);return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r,ngReflect:!1}}function gE(e,t){let n=Jf(e);return Yd(t,n,n==="svg"?Ns:n==="math"?Kl:null)}function Jf(e){return(e.selectors[0][0]||"div").toLowerCase()}var Ot=class extends Ii{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=dE(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=fE(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=Ly(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o,i,s){R(22);let a=E(null);try{let c=this.componentDef,l=mE(r,c,s,i),u=pE(c,o||this.ngModule,t),d=hE(u),p=d.rendererFactory.createRenderer(null,c),f=r?gv(p,r,c.encapsulation,u):gE(c,p),h=s?.some(Yu)||i?.some(_=>typeof _!="function"&&_.bindings.some(Yu)),y=nc(null,l,null,512|sf(c),null,null,d,p,u,null,Hd(f,u,!0));y[k]=f,_o(y);let N=null;try{let _=mc(k,y,2,"#host",()=>l.directiveRegistry,!0,0);Xd(p,f,_),ln(f,y),yi(l,y,_),Ka(l,_,y),yc(l,_),n!==void 0&&vE(_,this.ngContentSelectors,n),N=ue(_.index,y),y[F]=N[F],hc(l,y,null)}catch(_){throw N!==null&&pa(N),pa(y),_}finally{R(23),wo()}return new ti(this.componentType,y,!!h)}finally{E(a)}}};function mE(e,t,n,r){let o=e?["ng-version","20.3.15"]:Fy(t.selectors[0]),i=null,s=null,a=0;if(n)for(let u of n)a+=u[xa].requiredVars,u.create&&(u.targetIdx=0,(i??=[]).push(u)),u.update&&(u.targetIdx=0,(s??=[]).push(u));if(r)for(let u=0;u<r.length;u++){let d=r[u];if(typeof d!="function")for(let p of d.bindings){a+=p[xa].requiredVars;let f=u+1;p.create&&(p.targetIdx=f,(i??=[]).push(p)),p.update&&(p.targetIdx=f,(s??=[]).push(p))}}let c=[t];if(r)for(let u of r){let d=typeof u=="function"?u:u.type,p=fo(d);c.push(p)}return tc(0,null,yE(i,s),1,a,c,null,null,null,[o],null)}function yE(e,t){return!e&&!t?null:n=>{if(n&1&&e)for(let r of e)r.create();if(n&2&&t)for(let r of t)r.update()}}function Yu(e){let t=e[xa].kind;return t==="input"||t==="twoWay"}var ti=class extends Wf{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=Bn(n[m],k),this.location=En(this._tNode,n),this.instance=ue(this._tNode.index,n)[F],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=vi(r,o[m],o,t,n);this.previousInputValues.set(t,n);let s=ue(r.index,o);gc(s,1)}get injector(){return new xt(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function vE(e,t,n){let r=e.projection=[];for(let o=0;o<t.length;o++){let i=n[o];r.push(i!=null&&i.length?Array.from(i):null)}}var Ci=(()=>{class e{static __NG_ELEMENT_ID__=EE}return e})();function EE(){let e=j();return ep(e,g())}var IE=Ci,Xf=class extends IE{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return En(this._hostTNode,this._hostLView)}get injector(){return new xt(this._hostTNode,this._hostLView)}get parentInjector(){let t=Qa(this._hostTNode,this._hostLView);if(Ed(t)){let n=Bo(t,this._hostLView),r=Ho(t),o=n[m].data[r+8];return new xt(o,n)}else return new xt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=Ku(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-L}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=Jo(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,fn(this._hostTNode,s)),a}createComponent(t,n,r,o,i,s,a){let c=t&&!sm(t),l;if(c)l=n;else{let N=n||{};l=N.index,r=N.injector,o=N.projectableNodes,i=N.environmentInjector||N.ngModuleRef,s=N.directives,a=N.bindings}let u=c?t:new Ot(Fe(t)),d=r||this.parentInjector;if(!i&&u.ngModule==null){let _=(c?d:this.parentInjector).get(ae,null);_&&(i=_)}let p=Fe(u.componentType??{}),f=Jo(this._lContainer,p?.id??null),h=f?.firstChild??null,y=u.create(d,o,h,i,s,a);return this.insertImpl(y.hostView,l,fn(this._hostTNode,f)),y}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(Xl(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[U],l=new Xf(c,c[J],c[U]);l.detach(l.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return ur(s,o,i,r),t.attachToViewContainerRef(),ms(na(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Ku(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=Kn(this._lContainer,n);r&&(Ln(na(this._lContainer),n),gi(r[m],r))}detach(t){let n=this._adjustIndex(t,-1),r=Kn(this._lContainer,n);return r&&Ln(na(this._lContainer),n)!=null?new it(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Ku(e){return e[Hn]}function na(e){return e[Hn]||(e[Hn]=[])}function ep(e,t){let n,r=t[e.index];return ye(r)?n=r:(n=Hf(r,t,null,e),t[e.index]=n,rc(t,n)),CE(n,t,e,r),new Xf(n,e,t)}function DE(e,t){let n=e[A],r=n.createComment(""),o=oe(t,e),i=n.parentNode(o);return Wo(n,i,r,n.nextSibling(o),!1),r}var CE=bE,_E=()=>!1;function wE(e,t,n){return _E(e,t,n)}function bE(e,t,n,r){if(e[et])return;let o;n.type&8?o=le(r):o=DE(t,n),e[et]=o}var Aa=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},Ra=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;i<r;i++){let s=n.getByIndex(i),a=this.queries[s.indexInDeclarationView];o.push(a.clone())}return new e(o)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)Ic(t,n).matches!==null&&this.queries[n].setDirty()}},ni=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=AE(t):this.predicate=t}},Oa=class e{queries;constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){let o=n!==null?n.length:0,i=this.getByIndex(r).embeddedTView(t,o);i&&(i.indexInDeclarationView=r,n!==null?n.push(i):n=[i])}return n!==null?new e(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}},ka=class e{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(t,n=-1){this.metadata=t,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new e(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let n=this._declarationNodeIndex,r=t.parent;for(;r!==null&&r.type&8&&r.index!==n;)r=r.parent;return n===(r!==null?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){let r=this.metadata.predicate;if(Array.isArray(r))for(let o=0;o<r.length;o++){let i=r[o];this.matchTNodeWithReadOption(t,n,TE(n,i)),this.matchTNodeWithReadOption(t,n,Po(n,t,i,!1,!1))}else r===Jn?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Po(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===or||o===Ci||o===Jn&&n.type&4)this.addMatch(n.index,-2);else{let i=Po(n,t,o,!1,!1);i!==null&&this.addMatch(n.index,i)}else this.addMatch(n.index,r)}}addMatch(t,n){this.matches===null?this.matches=[t,n]:this.matches.push(t,n)}};function TE(e,t){let n=e.localNames;if(n!==null){for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1]}return null}function ME(e,t){return e.type&11?En(e,t):e.type&4?Ei(e,t):null}function NE(e,t,n,r){return n===-1?ME(t,e):n===-2?SE(e,t,r):Zn(e,e[m],n,t)}function SE(e,t,n){if(n===or)return En(t,e);if(n===Jn)return Ei(t,e);if(n===Ci)return ep(t,e)}function tp(e,t,n,r){let o=t[Ne].queries[r];if(o.matches===null){let i=e.data,s=n.matches,a=[];for(let c=0;s!==null&&c<s.length;c+=2){let l=s[c];if(l<0)a.push(null);else{let u=i[l];a.push(NE(t,u,s[c+1],n.metadata.read))}}o.matches=a}return o.matches}function Pa(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=tp(e,t,o,n);for(let a=0;a<i.length;a+=2){let c=i[a];if(c>0)r.push(s[a/2]);else{let l=i[a+1],u=t[-c];for(let d=L;d<u.length;d++){let p=u[d];p[je]===p[U]&&Pa(p[m],p,l,r)}if(u[Mt]!==null){let d=u[Mt];for(let p=0;p<d.length;p++){let f=d[p];Pa(f[m],f,l,r)}}}}}return r}function Ec(e,t){return e[Ne].queries[t].queryList}function np(e,t,n){let r=new qo((n&4)===4);return nu(e,t,r,r.destroy),(t[Ne]??=new Ra).queries.push(new Aa(r))-1}function xE(e,t,n){let r=P();return r.firstCreatePass&&(op(r,new ni(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),np(r,g(),t)}function rp(e,t,n,r){let o=P();if(o.firstCreatePass){let i=j();op(o,new ni(t,n,r),i.index),RE(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return np(o,g(),n)}function AE(e){return e.split(",").map(t=>t.trim())}function op(e,t,n){e.queries===null&&(e.queries=new Oa),e.queries.track(new ka(t,n))}function RE(e,t){let n=e.contentQueries||(e.contentQueries=[]),r=n.length?n[n.length-1]:-1;t!==r&&n.push(e.queries.length-1,t)}function Ic(e,t){return e.queries.getByIndex(t)}function ip(e,t){let n=e[m],r=Ic(n,t);return r.crossesNgTemplate?Pa(n,e,t,[]):tp(n,e,r,t)}function sp(e,t,n){let r,o=Cn(()=>{r._dirtyCounter();let i=kE(r,e);if(t&&i===void 0)throw new b(-951,!1);return i});return r=o[B],r._dirtyCounter=To(0),r._flatValue=void 0,o}function ap(e){return sp(!0,!1,e)}function cp(e){return sp(!0,!0,e)}function OE(e,t){let n=e[B];n._lView=g(),n._queryIndex=t,n._queryList=Ec(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function kE(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[D]&4)return t?void 0:Z;let o=Ec(n,r),i=ip(n,r);return o.reset(i,Sd),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}var gn=class{},lp=class{};var ri=class extends gn{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new ei(this);constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=Es(t);this._bootstrapComponents=nf(i.bootstrap),this._r3Injector=Gs(t,n,[{provide:gn,useValue:this},{provide:dr,useValue:this.componentFactoryResolver},...r],Le(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)}},oi=class extends lp{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new ri(this.moduleType,t,[])}};var er=class extends gn{injector;componentFactoryResolver=new ei(this);instance=null;constructor(t){super();let n=new It([...t.providers,{provide:gn,useValue:this},{provide:dr,useValue:this.componentFactoryResolver}],t.parent||jn(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function up(e,t,n=null){return new er({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var PE=(()=>{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=Is(!1,n.type),o=r.length>0?up([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=H({token:e,providedIn:"environment",factory:()=>new e(_e(ae))})}return e})();function LE(e){return rr(()=>{let t=dp(e),n=G(W({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Za.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(PE).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||un.Emulated,styles:e.styles||Z,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&Re("NgStandalone"),fp(n);let r=e.dependencies;return n.directiveDefs=Ju(r,FE),n.pipeDefs=Ju(r,ql),n.id=UE(n),n})}function FE(e){return Fe(e)||fo(e)}function jE(e){return rr(()=>({type:e.type,bootstrap:e.bootstrap||Z,declarations:e.declarations||Z,imports:e.imports||Z,exports:e.exports||Z,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function VE(e,t){if(e==null)return ge;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=fi.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function HE(e){if(e==null)return ge;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function BE(e){return rr(()=>{let t=dp(e);return fp(t),t})}function $E(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 dp(e){let t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputConfig:e.inputs||ge,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||Z,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,inputs:VE(e.inputs,t),outputs:HE(e.outputs),debugInfo:null}}function fp(e){e.features?.forEach(t=>t(e))}function Ju(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 UE(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 qE(e){return Object.getPrototypeOf(e.prototype).constructor}function pp(e){let t=qE(e.type),n=!0,r=[e];for(;t;){let o;if(ve(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new b(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&&ZE(e,a);let c=o.viewQuery,l=o.contentQueries;if(c&&zE(e,c),l&&QE(e,l),WE(e,o),kl(e.outputs,o.outputs),ve(o)&&o.data.animation){let u=e.data;u.animation=(u.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s<i.length;s++){let a=i[s];a&&a.ngInherit&&a(e),a===pp&&(n=!1)}}t=Object.getPrototypeOf(t)}GE(r)}function WE(e,t){for(let n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;let r=t.inputs[n];r!==void 0&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n])}}function GE(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){let o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=cn(o.hostAttrs,n=cn(n,o.hostAttrs))}}function ra(e){return e===ge?{}:e===Z?[]:e}function zE(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function QE(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function ZE(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function YE(e){let t=n=>{let r=Array.isArray(e);n.hostDirectives===null?(n.resolveHostDirectives=KE,n.hostDirectives=r?e.map(La):[e]):r?n.hostDirectives.unshift(...e.map(La)):n.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function KE(e){let t=[],n=!1,r=null,o=null;for(let i=0;i<e.length;i++){let s=e[i];if(s.hostDirectives!==null){let a=t.length;r??=new Map,o??=new Map,hp(s,t,r),o.set(s,[a,t.length-1])}i===0&&ve(s)&&(n=!0,t.push(s))}for(let i=n?1:0;i<e.length;i++)t.push(e[i]);return[t,r,o]}function hp(e,t,n){if(e.hostDirectives!==null)for(let r of e.hostDirectives)if(typeof r=="function"){let o=r();for(let i of o)Xu(La(i),t,n)}else Xu(r,t,n)}function Xu(e,t,n){let r=fo(e.directive);JE(r.declaredInputs,e.inputs),hp(r,t,n),n.set(r,e),t.push(r)}function La(e){return typeof e=="function"?{directive:$(e),inputs:ge,outputs:ge}:{directive:$(e.directive),inputs:ed(e.inputs),outputs:ed(e.outputs)}}function ed(e){if(e===void 0||e.length===0)return ge;let t={};for(let n=0;n<e.length;n+=2)t[e[n]]=e[n+1];return t}function JE(e,t){for(let n in t)if(t.hasOwnProperty(n)){let r=t[n],o=e[n];e[r]=o}}function gp(e,t,n,r,o,i,s,a){if(n.firstCreatePass){e.mergedAttrs=cn(e.mergedAttrs,e.attrs);let u=e.tView=tc(2,e,o,i,s,n.directiveRegistry,n.pipeRegistry,null,n.schemas,n.consts,null);n.queries!==null&&(n.queries.template(n,e),u.queries=n.queries.embeddedTView(e))}a&&(e.flags|=a),Xt(e,!1);let c=eI(n,t,e,r);bo()&&lc(n,t,c,e),ln(c,t);let l=Hf(c,t,c,e);t[r+k]=l,rc(t,l),wE(l,e,t)}function XE(e,t,n,r,o,i,s,a,c,l,u){let d=n+k,p;return t.firstCreatePass?(p=In(t,d,4,s||null,a||null),Eo()&&zf(t,e,p,de(t.consts,l),dc),md(t,p)):p=t.data[d],gp(p,e,t,n,r,o,i,c),Kt(p)&&yi(t,e,p),l!=null&&cr(e,p,u),p}function tr(e,t,n,r,o,i,s,a,c,l,u){let d=n+k,p;if(t.firstCreatePass){if(p=In(t,d,4,s||null,a||null),l!=null){let f=de(t.consts,l);p.localNames=[];for(let h=0;h<f.length;h+=2)p.localNames.push(f[h],-1)}}else p=t.data[d];return gp(p,e,t,n,r,o,i,c),l!=null&&cr(e,p,u),p}function mp(e,t,n,r,o,i,s,a){let c=g(),l=P(),u=de(l.consts,i);return XE(c,l,e,t,n,r,o,u,void 0,s,a),mp}var eI=tI;function tI(e,t,n,r){return qn(!0),t[A].createComment("")}var nI=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();var yp=new S("");function Dc(e){return!!e&&typeof e.then=="function"}function vp(e){return!!e&&typeof e.subscribe=="function"}var Cc=new S("");function rI(e){return po([{provide:Cc,multi:!0,useValue:e}])}var _c=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=I(Cc,{optional:!0})??[];injector=I(we);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=ho(this.injector,o);if(Dc(i))n.push(i);else if(vp(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=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Ep=new S("");function Ip(){Oi(()=>{let e="";throw new b(600,e)})}function Dp(e){return e.isBoundToModule}var oI=10;var hr=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=I(Ue);afterRenderManager=I(ac);zonelessEnabled=I(Wn);rootEffectScheduler=I(Gn);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new se;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(Ye(n=>!n))}constructor(){I(ar,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=I(ae);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=we.NULL){return this._injector.get(z).run(()=>{R(10);let s=n instanceof Ii;if(!this._injector.get(_c).done){let h="";throw new b(405,h)}let c;s?c=n:c=this._injector.get(dr).resolveComponentFactory(n),this.componentTypes.push(c.componentType);let l=Dp(c)?void 0:this._injector.get(gn),u=r||c.selector,d=c.create(o,[],u,l),p=d.location.nativeElement,f=d.injector.get(yp,null);return f?.registerApplication(p),d.onDestroy(()=>{this.detachView(d.hostView),Qn(this.components,d),f?.unregisterApplication(p)}),this._loadComponent(d),R(11,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){R(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(pi.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new b(101,!1);let n=E(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,E(n),this.afterTick.next(),R(13)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Xn,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<oI;)R(14),this.synchronizeOnce(),R(15)}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let n=!1;if(this.dirtyFlags&7){let r=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:o}of this.allViews){if(!r&&!$n(o))continue;let i=r&&!this.zonelessEnabled?0:1;Lf(o,i),n=!0}if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}n||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>$n(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;Qn(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(Ep,[]).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),()=>Qn(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new b(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=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Qn(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function iI(){let e,t;return{promise:new Promise((r,o)=>{e=r,t=o}),resolve:e,reject:t}}function Cp(e,t){let n=g(),r=$e();if(te(n,r,t)){let o=P(),i=tn();if(vi(i,o,n,e,t))Be(i)&&Sf(n,i.index);else{let a=oe(i,n);xf(n[A],a,null,i.value,e,t,null)}}return Cp}function _p(e,t,n,r){let o=g(),i=$e();if(te(o,i,t)){let s=P(),a=tn();Cv(a,o,e,t,n,r)}return _p}var wp=new S("",{providedIn:"root",factory:()=>!1});var sI=!1,gr=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";function bp(e){return e[X].get(wp,sI)}function aI(e,t,n){let r=mn.get(e);if(r){for(let o of t)r.classList.push(o);for(let o of n)r.cleanupFns.push(o)}else mn.set(e,{classList:t,cleanupFns:n})}function wc(e){let t=mn.get(e);if(t){for(let n of t.cleanupFns)n();mn.delete(e)}At.delete(e)}var mn=new WeakMap,At=new WeakMap,an=new WeakMap;function td(e,t){let n=an.get(e);if(n&&n.length>0){let r=n.findIndex(o=>o===t);r>-1&&n.splice(r,1)}n?.length===0&&an.delete(e)}function Tp(e,t){let n=an.get(e)?.shift(),r=t[je];if(r){let i=Ko(e.index,r)?.previousSibling;n&&i&&n===i&&n.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}}))}}function cI(e,t){an.has(e)?an.get(e)?.push(t):an.set(e,[t])}function nd(e){let t=e[He]??={};return t.enter??=new Map}function _i(e){let t=e[He]??={};return t.leave??=new Map}function Mp(e){let t=typeof e=="function"?e():e,n=Array.isArray(t)?t:null;return typeof t=="string"&&(n=t.trim().split(/\s+/).filter(r=>r)),n}function lI(e,t){if(!gr)return;let n=mn.get(e);if(n&&n.classList.length>0&&uI(e,n.classList))for(let r of n.classList)t.removeClass(e,r);wc(e)}function uI(e,t){for(let n of t)if(e.classList.contains(n))return!0;return!1}function Np(e,t){let n=At.get(t);return n===void 0?!0:t===e.target&&(n.animationName!==void 0&&e.animationName===n.animationName||n.propertyName!==void 0&&e.propertyName===n.propertyName)}function Sp(e,t,n){let r=e.get(t.index)??{animateFns:[]};r.animateFns.push(n),e.set(t.index,r)}function rd(e,t){if(e)for(let n of e)n();for(let n of t)n()}function od(e,t){let n=_i(e).get(t.index);n&&(n.resolvers=void 0)}function Fo(e){if(Re("NgAnimateEnter"),!gr)return Fo;let t=g();if(bp(t))return Fo;let n=j();return Tp(n,t),Sp(nd(t),n,()=>dI(t,n,e)),Ef(t[X]),If(t[X],nd(t)),Fo}function dI(e,t,n){let r=oe(t,e),o=e[A],i=e[X].get(z),s=Mp(n),a=[],c=u=>{if(u.target!==r)return;let d=u instanceof AnimationEvent?"animationend":"transitionend";i.runOutsideAngular(()=>{o.listen(r,d,l)})},l=u=>{u.target===r&&fI(u,r,o)};if(s&&s.length>0){i.runOutsideAngular(()=>{a.push(o.listen(r,"animationstart",c)),a.push(o.listen(r,"transitionstart",c))}),aI(r,s,a);for(let u of s)o.addClass(r,u);i.runOutsideAngular(()=>{requestAnimationFrame(()=>{if(df(r,At,gr),!At.has(r)){for(let u of s)o.removeClass(r,u);wc(r)}})})}}function fI(e,t,n){let r=mn.get(t);if(!(e.target!==t||!r)&&Np(e,t)){e.stopImmediatePropagation();for(let o of r.classList)n.removeClass(t,o);wc(t)}}function jo(e){if(Re("NgAnimateLeave"),!gr)return jo;let t=g();if(bp(t))return jo;let r=j();return Tp(r,t),Sp(_i(t),r,()=>pI(t,r,e)),Ef(t[X]),jo}function pI(e,t,n){let{promise:r,resolve:o}=iI(),i=oe(t,e),s=e[A],a=e[X].get(z);dn.add(e),(_i(e).get(t.index).resolvers??=[]).push(o);let c=Mp(n);return c&&c.length>0?hI(i,t,e,c,s,a):o(),{promise:r,resolve:o}}function hI(e,t,n,r,o,i){lI(e,o);let s=[],a=_i(n).get(t.index)?.resolvers,c=l=>{if(l.target===e&&(l instanceof CustomEvent||Np(l,e))){if(l.stopImmediatePropagation(),At.delete(e),td(t,e),Array.isArray(t.projection))for(let u of r)o.removeClass(e,u);rd(a,s),od(n,t)}};i.runOutsideAngular(()=>{s.push(o.listen(e,"animationend",c)),s.push(o.listen(e,"transitionend",c))}),cI(t,e);for(let l of r)o.addClass(e,l);i.runOutsideAngular(()=>{requestAnimationFrame(()=>{df(e,At,gr),At.has(e)||(td(t,e),rd(a,s),od(n,t))})})}var Fa=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 gI(e,t,n){let r,o,i=0,s=e.length-1,a=void 0;if(Array.isArray(t)){let c=t.length-1;for(;i<=s&&i<=c;){let l=e.at(i),u=t[i],d=oa(i,l,i,u,n);if(d!==0){d<0&&e.updateValue(i,u),i++;continue}let p=e.at(s),f=t[c],h=oa(s,p,c,f,n);if(h!==0){h<0&&e.updateValue(s,f),s--,c--;continue}let y=n(i,l),N=n(s,p),_=n(i,u);if(Object.is(_,N)){let De=n(c,f);Object.is(De,y)?(e.swap(i,s),e.updateValue(s,f),c--,s--):e.move(s,i),e.updateValue(i,u),i++;continue}if(r??=new ii,o??=sd(e,i,s,n),ja(e,r,i,_))e.updateValue(i,u),i++,s++;else if(o.has(_))r.set(y,e.detach(i)),s--;else{let De=e.create(i,t[i]);e.attach(i,De),i++,s++}}for(;i<=c;)id(e,r,n,i,t[i]),i++}else if(t!=null){let c=t[Symbol.iterator](),l=c.next();for(;!l.done&&i<=s;){let u=e.at(i),d=l.value,p=oa(i,u,i,d,n);if(p!==0)p<0&&e.updateValue(i,d),i++,l=c.next();else{r??=new ii,o??=sd(e,i,s,n);let f=n(i,d);if(ja(e,r,i,f))e.updateValue(i,d),i++,s++,l=c.next();else if(!o.has(f))e.attach(i,e.create(i,d)),i++,s++,l=c.next();else{let h=n(i,u);r.set(h,e.detach(i)),s--}}}for(;!l.done;)id(e,r,n,e.length,l.value),l=c.next()}for(;i<=s;)e.destroy(e.detach(s--));r?.forEach(c=>{e.destroy(c)})}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 id(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 sd(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 ii=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 mI(e,t,n,r,o,i,s,a){Re("NgControlFlow");let c=g(),l=P(),u=de(l.consts,i);return tr(c,l,e,t,n,r,o,u,256,s,a),bc}function bc(e,t,n,r,o,i,s,a){Re("NgControlFlow");let c=g(),l=P(),u=de(l.consts,i);return tr(c,l,e,t,n,r,o,u,512,s,a),bc}function yI(e,t){Re("NgControlFlow");let n=g(),r=$e(),o=n[r]!==ne?n[r]:-1,i=o!==-1?si(n,k+o):void 0,s=0;if(te(n,r,e)){let a=E(null);try{if(i!==void 0&&$f(i,s),e!==-1){let c=k+e,l=si(n,c),u=$a(n[m],c),d=qf(l,u,n),p=lr(n,u,t,{dehydratedView:d});ur(l,p,s,fn(u,d))}}finally{E(a)}}else if(i!==void 0){let a=Bf(i,s);a!==void 0&&(a[F]=t)}}var Va=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-L}};function vI(e,t){return t}var Ha=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function EI(e,t,n,r,o,i,s,a,c,l,u,d,p){Re("NgControlFlow");let f=g(),h=P(),y=c!==void 0,N=g(),_=a?s.bind(N[ee][F]):s,De=new Ha(y,_);N[k+e]=De,tr(f,h,e+1,t,n,r,o,de(h.consts,i),256),y&&tr(f,h,e+2,c,l,u,d,de(h.consts,p),512)}var Ba=class extends Fa{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-L}at(t){return this.getLView(t)[F].$implicit}attach(t,n){let r=n[_t];this.needsIndexUpdate||=t!==this.length,ur(this.lContainer,n,t,fn(this.templateTNode,r)),DI(this.lContainer,t)}detach(t){return this.needsIndexUpdate||=t!==this.length-1,CI(this.lContainer,t),_I(this.lContainer,t)}create(t,n){let r=Jo(this.lContainer,this.templateTNode.tView.ssrId),o=lr(this.hostLView,this.templateTNode,new Va(this.lContainer,n,t),{dehydratedView:r});return this.operationsCounter?.recordCreate(),o}destroy(t){gi(t[m],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[F].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[F].$index=t}getLView(t){return wI(this.lContainer,t)}};function II(e){let t=E(null),n=xe();try{let r=g(),o=r[m],i=r[n],s=n+1,a=si(r,s);if(i.liveCollection===void 0){let l=$a(o,s);i.liveCollection=new Ba(a,r,l)}else i.liveCollection.reset();let c=i.liveCollection;if(gI(c,e,i.trackByFn),c.updateIndexes(),i.hasEmptyBlock){let l=$e(),u=c.length===0;if(te(r,l,u)){let d=n+2,p=si(r,d);if(u){let f=$a(o,d),h=qf(p,f,r),y=lr(r,f,void 0,{dehydratedView:h});ur(p,y,0,fn(f,h))}else o.firstUpdatePass&&Wv(p),$f(p,0)}}}finally{E(t)}}function si(e,t){return e[t]}function DI(e,t){if(e.length<=L)return;let n=L+t,r=e[n],o=r?r[He]:void 0;if(r&&o&&o.detachedLeaveAnimationFns&&o.detachedLeaveAnimationFns.length>0){let i=r[X];tv(i,o),dn.delete(r),o.detachedLeaveAnimationFns=void 0}}function CI(e,t){if(e.length<=L)return;let n=L+t,r=e[n],o=r?r[He]:void 0;o&&o.leave&&o.leave.size>0&&(o.detachedLeaveAnimationFns=[])}function _I(e,t){return Kn(e,t)}function wI(e,t){return Bf(e,t)}function $a(e,t){return Bn(e,t)}function xp(e,t,n){let r=g(),o=$e();if(te(r,o,t)){let i=P(),s=tn();Mf(s,r,e,t,r[A],n)}return xp}function Ua(e,t,n,r,o){vi(t,e,n,o?"class":"style",r)}function Tc(e,t,n,r){let o=g(),i=o[m],s=e+k,a=i.firstCreatePass?mc(s,o,2,t,dc,Eo(),n,r):i.data[s];if(fc(a,o,e,t,Op),Kt(a)){let c=o[m];yi(c,o,a),Ka(c,a,o)}return r!=null&&cr(o,a),Tc}function Mc(){let e=P(),t=j(),n=pc(t);return e.firstCreatePass&&yc(e,n),js(n)&&Vs(),Ls(),n.classesWithoutHost!=null&&pm(n)&&Ua(e,n,g(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&hm(n)&&Ua(e,n,g(),n.stylesWithoutHost,!1),Mc}function Ap(e,t,n,r){return Tc(e,t,n,r),Mc(),Ap}function Nc(e,t,n,r){let o=g(),i=o[m],s=e+k,a=i.firstCreatePass?aE(s,i,2,t,n,r):i.data[s];return fc(a,o,e,t,Op),r!=null&&cr(o,a),Nc}function Sc(){let e=j(),t=pc(e);return js(t)&&Vs(),Ls(),Sc}function Rp(e,t,n,r){return Nc(e,t,n,r),Sc(),Rp}var Op=(e,t,n,r,o)=>(qn(!0),Yd(t[A],r,Du()));function xc(e,t,n){let r=g(),o=r[m],i=e+k,s=o.firstCreatePass?mc(i,r,8,"ng-container",dc,Eo(),t,n):o.data[i];if(fc(s,r,e,"ng-container",bI),Kt(s)){let a=r[m];yi(a,r,s),Ka(a,s,r)}return n!=null&&cr(r,s),xc}function Ac(){let e=P(),t=j(),n=pc(t);return e.firstCreatePass&&yc(e,n),Ac}function kp(e,t,n){return xc(e,t,n),Ac(),kp}var bI=(e,t,n,r,o)=>(qn(!0),vy(t[A],""));function TI(){return g()}function Pp(e,t,n){let r=g(),o=$e();if(te(r,o,t)){let i=P(),s=tn();Nf(s,r,e,t,r[A],n)}return Pp}var Ao=void 0;function MI(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var NI=["en",[["a","p"],["AM","PM"]],[["AM","PM"]],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Ao,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Ao,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Ao,"{1} 'at' {0}",Ao],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",MI],ia={};function SI(e){let t=xI(e),n=ad(t);if(n)return n;let r=t.split("-")[0];if(n=ad(r),n)return n;if(r==="en")return NI;throw new b(701,!1)}function ad(e){return e in ia||(ia[e]=Te.ng&&Te.ng.common&&Te.ng.common.locales&&Te.ng.common.locales[e]),ia[e]}var Lp=(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})(Lp||{});function xI(e){return e.toLowerCase().replace(/_/g,"-")}var mr="en-US";var AI=mr;function Fp(e){typeof e=="string"&&(AI=e.toLowerCase().replace(/_/g,"-"))}function jp(e,t,n){let r=g(),o=P(),i=j();return Vp(o,r,r[A],i,e,t,n),jp}function Vp(e,t,n,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=ta(r,t,i),cE(r,e,t,s,n,o,i,c)&&(a=!1)),a){let l=r.outputs?.[o],u=r.hostDirectiveOutputs?.[o];if(u&&u.length)for(let d=0;d<u.length;d+=2){let p=u[d],f=u[d+1];c??=ta(r,t,i),Zu(r,t,p,f,o,c)}if(l&&l.length)for(let d of l)c??=ta(r,t,i),Zu(r,t,d,o,o,c)}}function RI(e=1){return vu(e)}function OI(e,t){let n=null,r=Ay(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?of(e,i,!0):ky(r,i))return o}return n}function kI(e){let t=g()[ee][J];if(!t.projection){let n=e?e.length:1,r=t.projection=$l(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?OI(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function PI(e,t=0,n,r,o,i){let s=g(),a=P(),c=r?e+1:null;c!==null&&tr(s,a,c,r,o,i,null,n);let l=In(a,k+e,16,null,n||null);l.projection===null&&(l.projection=t),$s();let d=!s[_t]||Fs();s[ee][J].projection[l.projection]===null&&c!==null?LI(s,a,c):d&&!li(l)&&fv(a,s,l)}function LI(e,t,n){let r=k+n,o=t.data[r],i=e[r],s=Jo(i,o.tView.ssrId),a=lr(e,o,void 0,{dehydratedView:s});ur(i,a,0,fn(o,s))}function FI(e,t,n,r){rp(e,t,n,r)}function jI(e,t,n){xE(e,t,n)}function VI(e){let t=g(),n=P(),r=Co();Un(r+1);let o=Ic(n,r);if(e.dirty&&Jl(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=ip(t,r);e.reset(i,Sd),e.notifyOnChanges()}return!0}return!1}function HI(){return Ec(g(),Co())}function BI(e,t,n,r,o){OE(t,rp(e,n,r,o))}function $I(e=1){Un(Co()+e)}function UI(e){let t=cu();return mo(t,k+e)}function Ro(e,t){return e<<17|t<<2}function kt(e){return e>>17&32767}function qI(e){return(e&2)==2}function WI(e,t){return e&131071|t<<17}function qa(e){return e|2}function yn(e){return(e&131068)>>2}function sa(e,t){return e&-131069|t<<2}function GI(e){return(e&1)===1}function Wa(e){return e|1}function zI(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=kt(s),c=yn(s);e[r]=n;let l=!1,u;if(Array.isArray(n)){let d=n;u=d[1],(u===null||Qt(d,u)>0)&&(l=!0)}else u=n;if(o)if(c!==0){let p=kt(e[a+1]);e[r+1]=Ro(p,a),p!==0&&(e[p+1]=sa(e[p+1],r)),e[a+1]=WI(e[a+1],r)}else e[r+1]=Ro(a,0),a!==0&&(e[a+1]=sa(e[a+1],r)),a=r;else e[r+1]=Ro(c,0),a===0?a=r:e[c+1]=sa(e[c+1],r),c=r;l&&(e[r+1]=qa(e[r+1])),cd(e,u,r,!0),cd(e,u,r,!1),QI(t,u,e,r,i),s=Ro(a,c),i?t.classBindings=s:t.styleBindings=s}function QI(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&Qt(i,t)>=0&&(n[r+1]=Wa(n[r+1]))}function cd(e,t,n,r){let o=e[n+1],i=t===null,s=r?kt(o):yn(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],l=e[s+1];ZI(c,t)&&(a=!0,e[s+1]=r?Wa(l):qa(l)),s=r?kt(l):yn(l)}a&&(e[n+1]=r?qa(o):Wa(o))}function ZI(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Qt(e,t)>=0:!1}var q={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Hp(e){return e.substring(q.key,q.keyEnd)}function YI(e){return e.substring(q.value,q.valueEnd)}function KI(e){return Up(e),Bp(e,vn(e,0,q.textEnd))}function Bp(e,t){let n=q.textEnd;return n===t?-1:(t=q.keyEnd=XI(e,q.key=t,n),vn(e,t,n))}function JI(e){return Up(e),$p(e,vn(e,0,q.textEnd))}function $p(e,t){let n=q.textEnd,r=q.key=vn(e,t,n);return n===r?-1:(r=q.keyEnd=eD(e,r,n),r=ld(e,r,n,58),r=q.value=vn(e,r,n),r=q.valueEnd=tD(e,r,n),ld(e,r,n,59))}function Up(e){q.key=0,q.keyEnd=0,q.value=0,q.valueEnd=0,q.textEnd=e.length}function vn(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function XI(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function eD(e,t,n){let r;for(;t<n&&((r=e.charCodeAt(t))===45||r===95||(r&-33)>=65&&(r&-33)<=90||r>=48&&r<=57);)t++;return t}function ld(e,t,n,r){return t=vn(e,t,n),t<n&&t++,t}function tD(e,t,n){let r=-1,o=-1,i=-1,s=t,a=s;for(;s<n;){let c=e.charCodeAt(s++);if(c===59)return a;c===34||c===39?a=s=ud(e,c,s,n):t===s-4&&i===85&&o===82&&r===76&&c===40?a=s=ud(e,41,s,n):c>32&&(a=s),i=o,o=r,r=c&-33}return a}function ud(e,t,n,r){let o=-1,i=n;for(;i<r;){let s=e.charCodeAt(i++);if(s==t&&o!==92)return i;s==92&&o===92?o=0:o=s}throw new Error}function qp(e,t,n){return Gp(e,t,n,!1),qp}function Wp(e,t){return Gp(e,t,null,!0),Wp}function nD(e){zp(Yp,rD,e,!1)}function rD(e,t){for(let n=JI(t);n>=0;n=$p(t,n))Yp(e,Hp(t),YI(t))}function oD(e){zp(dD,iD,e,!0)}function iD(e,t){for(let n=KI(t);n>=0;n=Bp(t,n))Fn(e,Hp(t),!0)}function Gp(e,t,n,r){let o=g(),i=P(),s=Io(2);if(i.firstUpdatePass&&Zp(i,e,s,r),t!==ne&&te(o,s,t)){let a=i.data[xe()];Kp(i,a,o,o[A],e,o[s+1]=pD(t,n),r,s)}}function zp(e,t,n,r){let o=P(),i=Io(2);o.firstUpdatePass&&Zp(o,null,i,r);let s=g();if(n!==ne&&te(s,i,n)){let a=o.data[xe()];if(Jp(a,r)&&!Qp(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=io(c,n||"")),Ua(o,a,s,n,r)}else fD(o,a,s,s[A],s[i+1],s[i+1]=uD(e,t,n),r,i)}}function Qp(e,t){return t>=e.expandoStartIndex}function Zp(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[xe()],s=Qp(e,n);Jp(i,r)&&t===null&&!s&&(t=!1),t=sD(o,i,t,r),zI(o,i,t,n,s,r)}}function sD(e,t,n,r){let o=hu(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=aa(null,e,t,n,r),n=nr(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=aD(e,t,r);c!==void 0&&Array.isArray(c)&&(c=aa(null,e,t,c[1],r),c=nr(c,t.attrs,r),cD(e,t,r,c))}else i=lD(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function aD(e,t,n){let r=n?t.classBindings:t.styleBindings;if(yn(r)!==0)return e[kt(r)]}function cD(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[kt(o)]=r}function lD(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=nr(r,s,n)}return nr(r,t.attrs,n)}function aa(e,t,n,r,o){let i=null,s=n.directiveEnd,a=n.directiveStylingLast;for(a===-1?a=n.directiveStart:a++;a<s&&(i=t[a],r=nr(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function nr(e,t,n){let r=n?1:2,o=-1;if(t!==null)for(let i=0;i<t.length;i++){let s=t[i];typeof s=="number"?o=s:o===r&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),Fn(e,s,n?!0:t[++i]))}return e===void 0?null:e}function uD(e,t,n){if(n==null||n==="")return Z;let r=[],o=Pt(n);if(Array.isArray(o))for(let i=0;i<o.length;i++)e(r,o[i],!0);else if(typeof o=="object")for(let i in o)o.hasOwnProperty(i)&&e(r,i,o[i]);else typeof o=="string"&&t(r,o);return r}function Yp(e,t,n){Fn(e,t,Pt(n))}function dD(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&Fn(e,r,n)}function fD(e,t,n,r,o,i,s,a){o===ne&&(o=Z);let c=0,l=0,u=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;u!==null||d!==null;){let p=c<o.length?o[c+1]:void 0,f=l<i.length?i[l+1]:void 0,h=null,y;u===d?(c+=2,l+=2,p!==f&&(h=d,y=f)):d===null||u!==null&&u<d?(c+=2,h=u):(l+=2,h=d,y=f),h!==null&&Kp(e,t,n,r,h,y,s,a),u=c<o.length?o[c]:null,d=l<i.length?i[l]:null}}function Kp(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,l=c[a+1],u=GI(l)?dd(c,t,n,o,yn(l),s):void 0;if(!ai(u)){ai(i)||qI(l)&&(i=dd(c,null,n,o,a,s));let d=Ss(xe(),n);hv(r,s,d,o,i)}}function dd(e,t,n,r,o,i){let s=t===null,a;for(;o>0;){let c=e[o],l=Array.isArray(c),u=l?c[1]:c,d=u===null,p=n[o+1];p===ne&&(p=d?Z:void 0);let f=d?uo(p,r):u===r?p:void 0;if(l&&!ai(f)&&(f=uo(c,r)),ai(f)&&(a=f,s))return a;let h=e[o+1];o=s?kt(h):yn(h)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=uo(c,r))}return a}function ai(e){return e!==void 0}function pD(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=Le(Pt(e)))),e}function Jp(e,t){return(e.flags&(t?8:16))!==0}function hD(e,t=""){let n=g(),r=P(),o=e+k,i=r.firstCreatePass?In(r,o,1,t,null):r.data[o],s=gD(r,n,i,t,e);n[o]=s,bo()&&lc(r,n,s,i),Xt(i,!1)}var gD=(e,t,n,r,o)=>(qn(!0),my(t[A],r));function Xp(e,t,n,r=""){return te(e,$e(),n)?t+Xe(n)+r:ne}function mD(e,t,n,r,o,i=""){let s=lu(),a=pn(e,s,n,o);return Io(2),a?t+Xe(n)+r+Xe(o)+i:ne}function eh(e){return Rc("",e),eh}function Rc(e,t,n){let r=g(),o=Xp(r,e,t,n);return o!==ne&&nh(r,xe(),o),Rc}function th(e,t,n,r,o){let i=g(),s=mD(i,e,t,n,r,o);return s!==ne&&nh(i,xe(),s),th}function nh(e,t,n){let r=Ss(t,e);yy(e[A],r,n)}function rh(e,t,n){Qs(t)&&(t=t());let r=g(),o=$e();if(te(r,o,t)){let i=P(),s=tn();Mf(s,r,e,t,r[A],n)}return rh}function yD(e,t){let n=Qs(e);return n&&e.set(t),n}function oh(e,t){let n=g(),r=P(),o=j();return Vp(r,n,n[A],o,e,t),oh}function vD(e,t,n=""){return Xp(g(),e,t,n)}function ED(e,t,n){let r=P();if(r.firstCreatePass){let o=ve(e);Ga(n,r.data,r.blueprint,o,!0),Ga(t,r.data,r.blueprint,o,!1)}}function Ga(e,t,n,r,o){if(e=$(e),Array.isArray(e))for(let i=0;i<e.length;i++)Ga(e[i],t,n,r,o);else{let i=P(),s=g(),a=j(),c=Et(e)?e:$(e.provide),l=_s(e),u=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(Et(e)||!e.multi){let f=new Rt(l,o,fr,null),h=la(c,t,o?u:u+p,d);h===-1?(da(Uo(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=la(c,t,u+p,d),h=la(c,t,u,u+p),y=f>=0&&n[f],N=h>=0&&n[h];if(o&&!N||!o&&!y){da(Uo(a,s),i,c);let _=CD(o?DD:ID,n.length,o,r,l,e);!o&&N&&(n[h].providerFactory=_),ca(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(_),s.push(_)}else{let _=ih(n[o?h:f],l,!o&&r);ca(i,e,f>-1?f:h,_)}!o&&r&&N&&n[h].componentProviders++}}}function ca(e,t,n,r){let o=Et(t),i=Ql(t);if(o||i){let c=(i?$(t.useClass):t).prototype.ngOnDestroy;if(c){let l=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let u=l.indexOf(n);u===-1?l.push(n,[r,c]):l[u+1].push(r,c)}else l.push(n,c)}}}function ih(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function la(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function ID(e,t,n,r,o){return za(this.multi,[])}function DD(e,t,n,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=Zn(r,r[m],this.providerFactory.index,o);s=c.slice(0,a),za(i,s);for(let l=a;l<c.length;l++)s.push(c[l])}else s=[],za(i,s);return s}function za(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function CD(e,t,n,r,o,i){let s=new Rt(e,n,fr,null);return s.multi=[],s.index=t,s.componentProviders=0,ih(s,o,r&&!n),s}function _D(e,t=[]){return n=>{n.providersResolver=(r,o)=>ED(r,o?o(e):e,t)}}function wD(e,t,n){let r=fe()+e,o=g();return o[r]===ne?ze(o,r,n?t.call(n):t()):pr(o,r)}function bD(e,t,n,r){return sh(g(),fe(),e,t,n,r)}function TD(e,t,n,r,o){return ah(g(),fe(),e,t,n,r,o)}function MD(e,t,n,r,o,i){return OD(g(),fe(),e,t,n,r,o,i)}function ND(e,t,n,r,o,i,s){return kD(g(),fe(),e,t,n,r,o,i,s)}function SD(e,t,n,r,o,i,s,a){let c=fe()+e,l=g(),u=hn(l,c,n,r,o,i);return te(l,c+4,s)||u?ze(l,c+5,a?t.call(a,n,r,o,i,s):t(n,r,o,i,s)):pr(l,c+5)}function xD(e,t,n,r,o,i,s,a,c){let l=fe()+e,u=g(),d=hn(u,l,n,r,o,i);return pn(u,l+4,s,a)||d?ze(u,l+6,c?t.call(c,n,r,o,i,s,a):t(n,r,o,i,s,a)):pr(u,l+6)}function AD(e,t,n,r,o,i,s,a,c,l){let u=fe()+e,d=g(),p=hn(d,u,n,r,o,i);return Yf(d,u+4,s,a,c)||p?ze(d,u+7,l?t.call(l,n,r,o,i,s,a,c):t(n,r,o,i,s,a,c)):pr(d,u+7)}function RD(e,t,n,r,o,i,s,a,c,l,u){let d=fe()+e,p=g(),f=hn(p,d,n,r,o,i);return hn(p,d+4,s,a,c,l)||f?ze(p,d+8,u?t.call(u,n,r,o,i,s,a,c,l):t(n,r,o,i,s,a,c,l)):pr(p,d+8)}function wi(e,t){let n=e[t];return n===ne?void 0:n}function sh(e,t,n,r,o,i){let s=t+n;return te(e,s,o)?ze(e,s+1,i?r.call(i,o):r(o)):wi(e,s+1)}function ah(e,t,n,r,o,i,s){let a=t+n;return pn(e,a,o,i)?ze(e,a+2,s?r.call(s,o,i):r(o,i)):wi(e,a+2)}function OD(e,t,n,r,o,i,s,a){let c=t+n;return Yf(e,c,o,i,s)?ze(e,c+3,a?r.call(a,o,i,s):r(o,i,s)):wi(e,c+3)}function kD(e,t,n,r,o,i,s,a,c){let l=t+n;return hn(e,l,o,i,s,a)?ze(e,l+4,c?r.call(c,o,i,s,a):r(o,i,s,a)):wi(e,l+4)}function PD(e,t){let n=P(),r,o=e+k;n.firstCreatePass?(r=LD(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=Ke(r.type,!0)),s,a=K(fr);try{let c=$o(!1),l=i();return $o(c),xs(n,g(),o,l),l}finally{K(a)}}function LD(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function FD(e,t,n){let r=e+k,o=g(),i=mo(o,r);return ch(o,r)?sh(o,fe(),t,i.transform,n,i):i.transform(n)}function jD(e,t,n,r){let o=e+k,i=g(),s=mo(i,o);return ch(i,o)?ah(i,fe(),t,s.transform,n,r,s):s.transform(n,r)}function ch(e,t){return e[m].data[t].pure}function VD(e,t){return Ei(e,t)}var ci=class{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},HD=(()=>{class e{compileModuleSync(n){return new oi(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=Es(n),i=nf(o.declarations).reduce((s,a)=>{let c=Fe(a);return c&&s.push(new Ot(c)),s},[]);return new ci(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=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var BD=(()=>{class e{zone=I(z);changeDetectionScheduler=I(he);applicationRef=I(hr);applicationErrorHandler=I(Ue);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{try{this.applicationRef.dirtyFlags|=1,this.applicationRef._tick()}catch(n){this.applicationErrorHandler(n)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),lh=new S("",{factory:()=>!1});function Oc({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new z(G(W({},kc()),{scheduleInRootZone:n})),[{provide:z,useFactory:e},{provide:Ct,multi:!0,useFactory:()=>{let r=I(BD,{optional:!0});return()=>r.initialize()}},{provide:Ct,multi:!0,useFactory:()=>{let r=I(UD);return()=>{r.initialize()}}},t===!0?{provide:Zs,useValue:!0}:[],{provide:Ys,useValue:n??ff},{provide:Ue,useFactory:()=>{let r=I(z),o=I(ae),i;return s=>{r.runOutsideAngular(()=>{o.destroyed&&!i?setTimeout(()=>{throw s}):(i??=o.get(be),i.handleError(s))})}}}]}function $D(e){let t=e?.ignoreChangesOutsideZone,n=e?.scheduleInRootZone,r=Oc({ngZoneFactory:()=>{let o=kc(e);return o.scheduleInRootZone=n,o.shouldCoalesceEventChangeDetection&&Re("NgZone_CoalesceEvent"),new z(o)},ignoreChangesOutsideZone:t,scheduleInRootZone:n});return po([{provide:lh,useValue:!0},{provide:Wn,useValue:!1},r])}function kc(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var UD=(()=>{class e{subscription=new V;initialized=!1;zone=I(z);pendingTasks=I(ot);initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{z.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{z.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var uh=(()=>{class e{applicationErrorHandler=I(Ue);appRef=I(hr);taskService=I(ot);ngZone=I(z);zonelessEnabled=I(Wn);tracing=I(ar,{optional:!0});disableScheduling=I(Zs,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new V;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Qo):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(I(Ys,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Zo||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;let r=!1;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,r=!0;break}case 12:{this.appRef.dirtyFlags|=16,r=!0;break}case 13:{this.appRef.dirtyFlags|=2,r=!0;break}case 11:{r=!0;break}case 9:case 8:case 7:case 10:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(r))return;let o=this.useMicrotaskScheduler?Vu:pf;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>o(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>o(()=>this.tick()))}shouldScheduleTick(n){return!(this.disableScheduling&&!n||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Qo+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.taskService.remove(n),this.applicationErrorHandler(r)}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Vu(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}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=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function qD(){return typeof $localize<"u"&&$localize.locale||mr}var Pc=new S("",{providedIn:"root",factory:()=>I(Pc,{optional:!0,skipSelf:!0})||qD()});var yr=class{destroyed=!1;listeners=null;errorHandler=I(be,{optional:!0});destroyRef=I(rt);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new b(953,!1);return(this.listeners??=[]).push(t),{unsubscribe:()=>{let n=this.listeners?.indexOf(t);n!==void 0&&n!==-1&&this.listeners?.splice(n,1)}}}emit(t){if(this.destroyed){console.warn(kn(953,!1));return}if(this.listeners===null)return;let n=E(null);try{for(let r of this.listeners)try{r(t)}catch(o){this.errorHandler?.handleError(o)}}finally{E(n)}}};function WD(e){return Sl(e)}function GD(e,t){return Cn(e,t?.equal)}var Lc=class{[B];constructor(t){this[B]=t}destroy(){this[B].destroy()}};function zD(e,t){let n=t?.injector??I(we),r=t?.manualCleanup!==!0?n.get(rt):null,o,i=n.get(nn,null,{optional:!0}),s=n.get(he);return i!==null?(o=YD(i.view,s,e),r instanceof On&&r._lView===i.view&&(r=null)):o=KD(e,n.get(Gn),s),o.injector=n,r!==null&&(o.onDestroyFn=r.onDestroy(()=>o.destroy())),new Lc(o)}var dh=G(W({},xl),{cleanupFns:void 0,zone:null,onDestroyFn:St,run(){let e=en(!1);try{Al(this)}finally{en(e)}},cleanup(){if(!this.cleanupFns?.length)return;let e=E(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],E(e)}}}),QD=G(W({},dh),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){lt(this),this.onDestroyFn(),this.cleanup(),this.scheduler.remove(this)}}),ZD=G(W({},dh),{consumerMarkedDirty(){this.view[D]|=8192,tt(this.view),this.notifier.notify(13)},destroy(){lt(this),this.onDestroyFn(),this.cleanup(),this.view[Ve]?.delete(this)}});function YD(e,t,n){let r=Object.create(ZD);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=fh(r,n),e[Ve]??=new Set,e[Ve].add(r),r.consumerMarkedDirty(r),r}function KD(e,t,n){let r=Object.create(QD);return r.fn=fh(r,e),r.scheduler=t,r.notifier=n,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.add(r),r.notifier.notify(12),r}function fh(e,t){return()=>{t(n=>(e.cleanupFns??=[]).push(n))}}var Mi=Symbol("InputSignalNode#UNSET"),Dh=G(W({},Nr),{transformFn:void 0,applyValueToInputSignal(e,t){ut(e,t)}});function Ch(e,t){let n=Object.create(Dh);n.value=e,n.transformFn=t?.transform;function r(){if(at(n),n.value===Mi){let o=null;throw new b(-950,o)}return n.value}return r[B]=n,r}var ph=class{attributeName;constructor(t){this.attributeName=t}__NG_ELEMENT_ID__=()=>Nd(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}},XD=new S("");XD.__NG_ELEMENT_ID__=e=>{let t=j();if(t===null)throw new b(204,!1);if(t.type&2)return t.value;if(e&8)return null;throw new b(204,!1)};function FL(e){return new yr}function hh(e,t){return Ch(e,t)}function eC(e){return Ch(Mi,e)}var jL=(hh.required=eC,hh);function gh(e,t){return ap(t)}function tC(e,t){return cp(t)}var VL=(gh.required=tC,gh);function _h(e,t){let n=Object.create(Dh),r=new yr;n.value=e;function o(){return at(n),mh(n.value),n.value}return o[B]=n,o.asReadonly=Mo.bind(o),o.set=i=>{n.equal(n.value,i)||(ut(n,i),r.emit(i))},o.update=i=>{mh(n.value),o.set(i(n.value))},o.subscribe=r.subscribe.bind(r),o.destroyRef=r.destroyRef,o}function mh(e){if(e===Mi)throw new b(952,!1)}function yh(e,t){return _h(e,t)}function nC(e){return _h(Mi,e)}var HL=(yh.required=nC,yh);var Fc=new S(""),rC=new S("");function vr(e){return!e.moduleRef}function oC(e){let t=vr(e)?e.r3Injector:e.moduleRef.injector,n=t.get(z);return n.run(()=>{vr(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(Ue),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:r})}),vr(e)){let i=()=>t.destroy(),s=e.platformInjector.get(Fc);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(Fc);s.add(i),e.moduleRef.onDestroy(()=>{Qn(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return sC(r,n,()=>{let i=t.get(ot),s=i.add(),a=t.get(_c);return a.runInitializers(),a.donePromise.then(()=>{let c=t.get(Pc,mr);if(Fp(c||mr),!t.get(rC,!0))return vr(e)?t.get(hr):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(vr(e)){let u=t.get(hr);return e.rootComponent!==void 0&&u.bootstrap(e.rootComponent),u}else return iC?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>void i.remove(s))})})}var iC;function sC(e,t,n){try{let r=n();return Dc(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e(r)),r}}var bi=null;function aC(e=[],t){return we.create({name:t,providers:[{provide:Cs,useValue:"platform"},{provide:Fc,useValue:new Set([()=>bi=null])},...e]})}function cC(e=[]){if(bi)return bi;let t=aC(e);return bi=t,Ip(),lC(t),t}function lC(e){let t=e.get(Pd,null);ho(e,()=>{t?.forEach(n=>n())})}var BL=(()=>{class e{static __NG_ELEMENT_ID__=uC}return e})();function uC(e){return dC(j(),g(),(e&16)===16)}function dC(e,t,n){if(Be(e)&&!n){let r=ue(e.index,t);return new it(r,r)}else if(e.type&175){let r=t[ee];return new it(r,t)}return null}var jc=class{constructor(){}supports(t){return vc(t)}create(t){return new Vc(t)}},fC=(e,t)=>t,Vc=class{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(t){this._trackByFn=t||fC}forEachItem(t){let n;for(n=this._itHead;n!==null;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){let s=!r||n&&n.currentIndex<vh(r,o,i)?n:r,a=vh(s,o,i),c=s.currentIndex;if(s===r)o--,r=r._nextRemoved;else if(n=n._next,s.previousIndex==null)o++;else{i||(i=[]);let l=a-o,u=c-o;if(l!=u){for(let p=0;p<l;p++){let f=p<i.length?i[p]:i[p]=0,h=f+p;u<=h&&h<l&&(i[p]=f+1)}let d=s.previousIndex;i[d]=u-l}}a!==c&&t(s,a,c)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;n!==null;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;n!==null;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;n!==null;n=n._nextIdentityChange)t(n)}diff(t){if(t==null&&(t=[]),!vc(t))throw new b(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._itHead,r=!1,o,i,s;if(Array.isArray(t)){this.length=t.length;for(let a=0;a<this.length;a++)i=t[a],s=this._trackByFn(a,i),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,i,s,a),r=!0):(r&&(n=this._verifyReinsertion(n,i,s,a)),Object.is(n.item,i)||this._addIdentityChange(n,i)),n=n._next}else o=0,Zf(t,a=>{s=this._trackByFn(o,a),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,a,s,o),r=!0):(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;t!==null;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;t!==null;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return t===null?i=this._itTail:(i=t._prev,this._remove(t)),t=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):(t=this._linkedRecords===null?null:this._linkedRecords.get(r,o),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new Hc(n,r),i,o)),t}_verifyReinsertion(t,n,r,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return i!==null?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;t!==null;){let n=t._next;this._addToRemovals(this._unlink(t)),t=n}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(t);let o=t._prevRemoved,i=t._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail===null?this._additionsTail=this._additionsHead=t:this._additionsTail=this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){let o=n===null?this._itHead:n._next;return t._next=o,t._prev=n,o===null?this._itTail=t:o._prev=t,n===null?this._itHead=t:n._next=t,this._linkedRecords===null&&(this._linkedRecords=new Ti),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){this._linkedRecords!==null&&this._linkedRecords.remove(t);let n=t._prev,r=t._next;return n===null?this._itHead=r:n._next=r,r===null?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail===null?this._movesTail=this._movesHead=t:this._movesTail=this._movesTail._nextMoved=t),t}_addToRemovals(t){return this._unlinkedRecords===null&&(this._unlinkedRecords=new Ti),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=t:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=t,t}},Hc=class{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(t,n){this.item=t,this.trackById=n}},Bc=class{_head=null;_tail=null;add(t){this._head===null?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;r!==null;r=r._nextDup)if((n===null||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){let n=t._prevDup,r=t._nextDup;return n===null?this._head=r:n._nextDup=r,r===null?this._tail=n:r._prevDup=n,this._head===null}},Ti=class{map=new Map;put(t){let n=t.trackById,r=this.map.get(n);r||(r=new Bc,this.map.set(n,r)),r.add(t)}get(t,n){let r=t,o=this.map.get(r);return o?o.get(t,n):null}remove(t){let n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function vh(e,t,n){let r=e.previousIndex;if(r===null)return r;let o=0;return n&&r<n.length&&(o=n[r]),r+t+o}var $c=class{constructor(){}supports(t){return t instanceof Map||Di(t)}create(){return new Uc}},Uc=class{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;_removalsTail=null;get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(t){let n;for(n=this._mapHead;n!==null;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;n!==null;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;n!==null;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}diff(t){if(!t)t=new Map;else if(!(t instanceof Map||Di(t)))throw new b(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{let i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;r!==null;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){let r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){let o=this._records.get(t);this._maybeAddToChanges(o,n);let i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}let r=new qc(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;t!==null;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;t!=null;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){this._additionsHead===null?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){this._changesHead===null?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}},qc=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(t){this.key=t}};function Eh(){return new pC([new jc])}var pC=(()=>{class e{factories;static \u0275prov=H({token:e,providedIn:"root",factory:Eh});constructor(n){this.factories=n}static create(n,r){if(r!=null){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:()=>{let r=I(e,{optional:!0,skipSelf:!0});return e.create(n,r||Eh())}}}find(n){let r=this.factories.find(o=>o.supports(n));if(r!=null)return r;throw new b(901,!1)}}return e})();function Ih(){return new hC([new $c])}var hC=(()=>{class e{static \u0275prov=H({token:e,providedIn:"root",factory:Ih});factories;constructor(n){this.factories=n}static create(n,r){if(r){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:()=>{let r=I(e,{optional:!0,skipSelf:!0});return e.create(n,r||Ih())}}}find(n){let r=this.factories.find(o=>o.supports(n));if(r)return r;throw new b(901,!1)}}return e})();function $L(e){let{rootComponent:t,appProviders:n,platformProviders:r,platformRef:o}=e;R(8);try{let i=o?.injector??cC(r),s=[Oc({}),{provide:he,useExisting:uh},_u,...n||[]],a=new er({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1});return oC({r3Injector:a.injector,platformInjector:i,rootComponent:t})}catch(i){return Promise.reject(i)}finally{R(9)}}function UL(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function qL(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function WL(e){let t=Fe(e);if(!t)return null;let n=new Ot(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 Ie=(function(e){return e[e.State=0]="State",e[e.Transition=1]="Transition",e[e.Sequence=2]="Sequence",e[e.Group=3]="Group",e[e.Animate=4]="Animate",e[e.Keyframes=5]="Keyframes",e[e.Style=6]="Style",e[e.Trigger=7]="Trigger",e[e.Reference=8]="Reference",e[e.AnimateChild=9]="AnimateChild",e[e.AnimateRef=10]="AnimateRef",e[e.Query=11]="Query",e[e.Stagger=12]="Stagger",e})(Ie||{}),KL="*";function JL(e,t){return{type:Ie.Trigger,name:e,definitions:t,options:{}}}function XL(e,t=null){return{type:Ie.Animate,styles:t,timings:e}}function eF(e,t=null){return{type:Ie.Sequence,steps:e,options:t}}function tF(e){return{type:Ie.Style,styles:e,offset:null}}function nF(e,t,n){return{type:Ie.State,name:e,styles:t,options:n}}function rF(e,t,n=null){return{type:Ie.Transition,expr:e,animation:t,options:n}}function oF(e,t=null){return{type:Ie.Reference,animation:e,options:t}}function iF(e=null){return{type:Ie.AnimateChild,options:e}}function sF(e,t=null){return{type:Ie.AnimateRef,animation:e,options:t}}function aF(e,t,n=null){return{type:Ie.Query,selector:e,animation:t,options:n}}var wh=class{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(t=0,n=0){this.totalTime=t+n}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(t){this._position=this.totalTime?t*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(t){let n=t=="start"?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}},bh=class{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(t){this.players=t;let n=0,r=0,o=0,i=this.players.length;i==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++n==i&&this._onFinish()}),s.onDestroy(()=>{++r==i&&this._onDestroy()}),s.onStart(()=>{++o==i&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){let n=t*this.totalTime;this.players.forEach(r=>{let o=r.totalTime?Math.min(1,n/r.totalTime):1;r.setPosition(o)})}getPosition(){let t=this.players.reduce((n,r)=>n===null||r.totalTime>n.totalTime?r:n,null);return t!=null?t.getPosition():0}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){let n=t=="start"?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}},cF="!";export{V as a,Lh as b,M as c,qi as d,Wi as e,se as f,_n as g,Mn as h,Ze as i,Gh as j,zh as k,Qh as l,mt as m,Ye as n,ng as o,ke as p,Gi as q,Xr as r,og as s,ig as t,zi as u,fg as v,Nn as w,Qi as x,pg as y,hg as z,gg as A,Sn as B,Zi as C,mg as D,Eg as E,Ig as F,Yi as G,Dg as H,Cg as I,_g as J,wg as K,Ml as L,bg as M,Nl as N,b as O,kn as P,so as Q,H as R,Pl as S,Ng as T,S as U,_e as V,I as W,po as X,Cs as Y,ae as Z,ho as _,iu as $,su as aa,Eu as ba,Iu as ca,we as da,Yg as ea,rt as fa,be as ga,Ue as ha,To as ia,he as ja,ot as ka,Ks as la,am as ma,bm as na,Nd as oa,or as pa,Rm as qa,Om as ra,Pd as sa,Pm as ta,Lm as ua,Fm as va,Hm as wa,un as xa,Pt as ya,di as za,Wm as Aa,Gm as Ba,zm as Ca,Qm as Da,Zm as Ea,Ja as Fa,Zd as Ga,sr as Ha,Dy as Ia,ef as Ja,_y as Ka,wy as La,by as Ma,By as Na,Go as Oa,dn as Pa,ar as Qa,Re as Ra,qe as Sa,z as Ta,yf as Ua,Jn as Va,Xn as Wa,Zv as Xa,fr as Ya,Kv as Za,Ci as _a,lp as $a,up as ab,LE as bb,jE as cb,BE as db,$E as eb,pp as fb,YE as gb,mp as hb,nI as ib,Dc as jb,vp as kb,rI as lb,Ep as mb,hr as nb,Cp as ob,_p as pb,Fo as qb,jo as rb,mI as sb,yI as tb,vI as ub,EI as vb,II as wb,xp as xb,Tc as yb,Mc as zb,Ap as Ab,Nc as Bb,Sc as Cb,Rp as Db,xc as Eb,Ac as Fb,kp as Gb,TI as Hb,Pp as Ib,SI as Jb,Lp as Kb,jp as Lb,RI as Mb,kI as Nb,PI as Ob,FI as Pb,jI as Qb,VI as Rb,HI as Sb,BI as Tb,$I as Ub,UI as Vb,qp as Wb,Wp as Xb,nD as Yb,oD as Zb,hD as _b,eh as $b,Rc as ac,th as bc,rh as cc,yD as dc,oh as ec,vD as fc,_D as gc,wD as hc,bD as ic,TD as jc,MD as kc,ND as lc,SD as mc,xD as nc,AD as oc,RD as pc,PD as qc,FD as rc,jD as sc,VD as tc,HD as uc,$D as vc,Pc as wc,WD as xc,GD as yc,zD as zc,ph as Ac,FL as Bc,jL as Cc,VL as Dc,HL as Ec,BL as Fc,pC as Gc,hC as Hc,$L as Ic,UL as Jc,qL as Kc,WL as Lc,Ie as Mc,KL as Nc,JL as Oc,XL as Pc,eF as Qc,tF as Rc,nF as Sc,rF as Tc,oF as Uc,iF as Vc,sF as Wc,aF as Xc,wh as Yc,bh as Zc,cF as _c};
|
|
3
|
+
`)}`:"",this.name="UnsubscriptionError",this.errors=n});function ft(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var V=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(v(r))try{r()}catch(i){t=i instanceof Sr?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Xc(i)}catch(s){t=t??[],s instanceof Sr?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Sr(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Xc(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)&&ft(n,t)}remove(t){let{_finalizers:n}=this;n&&ft(n,t),t instanceof e&&t._removeParent(this)}};V.EMPTY=(()=>{let e=new V;return e.closed=!0,e})();var Li=V.EMPTY;function xr(e){return e instanceof V||e&&"closed"in e&&v(e.remove)&&v(e.add)&&v(e.unsubscribe)}function Xc(e){v(e)?e():e.unsubscribe()}var pe={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Bt={setTimeout(e,t,...n){let{delegate:r}=Bt;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=Bt;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Ar(e){Bt.setTimeout(()=>{let{onUnhandledError:t}=pe;if(t)t(e);else throw e})}function pt(){}var el=Fi("C",void 0,void 0);function tl(e){return Fi("E",void 0,e)}function nl(e){return Fi("N",e,void 0)}function Fi(e,t,n){return{kind:e,value:t,error:n}}var ht=null;function $t(e){if(pe.useDeprecatedSynchronousErrorHandling){let t=!ht;if(t&&(ht={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=ht;if(ht=null,n)throw r}}else e()}function rl(e){pe.useDeprecatedSynchronousErrorHandling&&ht&&(ht.errorThrown=!0,ht.error=e)}var gt=class extends V{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,xr(t)&&t.add(this)):this.destination=Ph}static create(t,n,r){return new he(t,n,r)}next(t){this.isStopped?Vi(nl(t),this):this._next(t)}error(t){this.isStopped?Vi(tl(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Vi(el,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()}}},Oh=Function.prototype.bind;function ji(e,t){return Oh.call(e,t)}var Hi=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)}}},he=class extends gt{constructor(t,n,r){super();let o;if(v(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&&ji(t.next,i),error:t.error&&ji(t.error,i),complete:t.complete&&ji(t.complete,i)}):o=t}this.destination=new Hi(o)}};function Rr(e){pe.useDeprecatedSynchronousErrorHandling?rl(e):Ar(e)}function kh(e){throw e}function Vi(e,t){let{onStoppedNotification:n}=pe;n&&Bt.setTimeout(()=>n(e,t))}var Ph={closed:!0,next:pt,error:kh,complete:pt};var Ut=typeof Symbol=="function"&&Symbol.observable||"@@observable";function Y(e){return e}function Lh(...e){return Bi(e)}function Bi(e){return e.length===0?Y:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var M=(()=>{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=jh(n)?n:new he(n,r,o);return $t(()=>{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=ol(r),new r((o,i)=>{let s=new he({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)}[Ut](){return this}pipe(...n){return Bi(n)(this)}toPromise(n){return n=ol(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 ol(e){var t;return(t=e??pe.Promise)!==null&&t!==void 0?t:Promise}function Fh(e){return e&&v(e.next)&&v(e.error)&&v(e.complete)}function jh(e){return e&&e instanceof gt||Fh(e)&&xr(e)}function $i(e){return v(e?.lift)}function w(e){return t=>{if($i(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 C(e,t,n,r,o){return new Ui(e,t,n,r,o)}var Ui=class extends gt{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(c){t.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){t.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};function qi(){return w((e,t)=>{let n=null;e._refCount++;let r=C(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){n=null;return}let o=e._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}var Wi=class extends M{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,$i(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){let t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new V;let n=this.getSubject();t.add(this.source.subscribe(C(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=V.EMPTY)}return t}refCount(){return qi()(this)}};var il=Ht(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var se=(()=>{class e extends M{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 il}next(n){$t(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){$t(()=>{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(){$t(()=>{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?Li:(this.currentObservers=null,i.push(n),new V(()=>{this.currentObservers=null,ft(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new M;return n.source=this,n}}return e.create=(t,n)=>new Or(t,n),e})(),Or=class extends se{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:Li}};var _n=class extends se{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 wn={now(){return(wn.delegate||Date).now()},delegate:void 0};var kr=class extends se{constructor(t=1/0,n=1/0,r=wn){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!t.closed;s+=r?1:2)t.next(i[s]);return this._checkFinalizedStatuses(t),n}_trimBuffer(){let{_bufferSize:t,_timestampProvider:n,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*t;if(t<1/0&&i<r.length&&r.splice(0,r.length-i),!o){let s=n.now(),a=0;for(let c=1;c<r.length&&r[c]<=s;c+=2)a=c;a&&r.splice(0,a+1)}}};var Pr=class extends V{constructor(t,n){super()}schedule(t,n=0){return this}};var bn={setInterval(e,t,...n){let{delegate:r}=bn;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=bn;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var Lr=class extends Pr{constructor(t,n){super(t,n),this.scheduler=t,this.work=n,this.pending=!1}schedule(t,n=0){var r;if(this.closed)return this;this.state=t;let o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,n)),this.pending=!0,this.delay=n,this.id=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(i,this.id,n),this}requestAsyncId(t,n,r=0){return bn.setInterval(t.flush.bind(t,this),r)}recycleAsyncId(t,n,r=0){if(r!=null&&this.delay===r&&this.pending===!1)return n;n!=null&&bn.clearInterval(n)}execute(t,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(t,n);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,n){let r=!1,o;try{this.work(t)}catch(i){r=!0,o=i||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){let{id:t,scheduler:n}=this,{actions:r}=n;this.work=this.state=this.scheduler=null,this.pending=!1,ft(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var qt=class e{constructor(t,n=e.now){this.schedulerActionCtor=t,this.now=n}schedule(t,n=0,r){return new this.schedulerActionCtor(this,t).schedule(r,n)}};qt.now=wn.now;var Fr=class extends qt{constructor(t,n=qt.now){super(t,n),this.actions=[],this._active=!1}flush(t){let{actions:n}=this;if(this._active){n.push(t);return}let r;this._active=!0;do if(r=t.execute(t.state,t.delay))break;while(t=n.shift());if(this._active=!1,r){for(;t=n.shift();)t.unsubscribe();throw r}}};var Tn=new Fr(Lr),sl=Tn;var Mn=new M(e=>e.complete());function jr(e){return e&&v(e.schedule)}function al(e){return e[e.length-1]}function Vr(e){return v(al(e))?e.pop():void 0}function Ze(e){return jr(al(e))?e.pop():void 0}function ll(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(u){try{l(r.next(u))}catch(d){s(d)}}function c(u){try{l(r.throw(u))}catch(d){s(d)}}function l(u){u.done?i(u.value):o(u.value).then(a,c)}l((r=r.apply(e,t||[])).next())})}function cl(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 mt(e){return this instanceof mt?(this.v=e,this):new mt(e)}function ul(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(y){return new Promise(function(N,_){i.push([f,y,N,_])>1||c(f,y)})},h&&(o[f]=h(o[f])))}function c(f,h){try{l(r[f](h))}catch(y){p(i[0][3],y)}}function l(f){f.value instanceof mt?Promise.resolve(f.value.v).then(u,d):p(i[0][2],f)}function u(f){c("next",f)}function d(f){c("throw",f)}function p(f,h){f(h),i.shift(),i.length&&c(i[0][0],i[0][1])}}function dl(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 cl=="function"?cl(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,c){s=e[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(l){i({value:l,done:a})},s)}}var Wt=e=>e&&typeof e.length=="number"&&typeof e!="function";function Hr(e){return v(e?.then)}function Br(e){return v(e[Ut])}function $r(e){return Symbol.asyncIterator&&v(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 Vh(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var qr=Vh();function Wr(e){return v(e?.[qr])}function Gr(e){return ul(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield mt(n.read());if(o)return yield mt(void 0);yield yield mt(r)}}finally{n.releaseLock()}})}function zr(e){return v(e?.getReader)}function O(e){if(e instanceof M)return e;if(e!=null){if(Br(e))return Hh(e);if(Wt(e))return Bh(e);if(Hr(e))return $h(e);if($r(e))return fl(e);if(Wr(e))return Uh(e);if(zr(e))return qh(e)}throw Ur(e)}function Hh(e){return new M(t=>{let n=e[Ut]();if(v(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Bh(e){return new M(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function $h(e){return new M(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Ar)})}function Uh(e){return new M(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function fl(e){return new M(t=>{Wh(e,t).catch(n=>t.error(n))})}function qh(e){return fl(Gr(e))}function Wh(e,t){var n,r,o,i;return ll(this,void 0,void 0,function*(){try{for(n=dl(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 re(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 Qr(e,t=0){return w((n,r)=>{n.subscribe(C(r,o=>re(r,e,()=>r.next(o),t),()=>re(r,e,()=>r.complete(),t),o=>re(r,e,()=>r.error(o),t)))})}function Zr(e,t=0){return w((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function pl(e,t){return O(e).pipe(Zr(t),Qr(t))}function hl(e,t){return O(e).pipe(Zr(t),Qr(t))}function gl(e,t){return new M(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function ml(e,t){return new M(n=>{let r;return re(n,t,()=>{r=e[qr](),re(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)}),()=>v(r?.return)&&r.return()})}function Yr(e,t){if(!e)throw new Error("Iterable cannot be null");return new M(n=>{re(n,t,()=>{let r=e[Symbol.asyncIterator]();re(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function yl(e,t){return Yr(Gr(e),t)}function vl(e,t){if(e!=null){if(Br(e))return pl(e,t);if(Wt(e))return gl(e,t);if(Hr(e))return hl(e,t);if($r(e))return Yr(e,t);if(Wr(e))return ml(e,t);if(zr(e))return yl(e,t)}throw Ur(e)}function Ye(e,t){return t?vl(e,t):O(e)}function Gh(...e){let t=Ze(e);return Ye(e,t)}function zh(e,t){let n=v(e)?e:()=>e,r=o=>o.error(n());return new M(t?o=>t.schedule(r,0,o):r)}function Qh(e){return!!e&&(e instanceof M||v(e.lift)&&v(e.subscribe))}var ke=Ht(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Zh(e,t){let n=typeof t=="object";return new Promise((r,o)=>{let i=new he({next:s=>{r(s),i.unsubscribe()},error:o,complete:()=>{n?r(t.defaultValue):o(new ke)}});e.subscribe(i)})}function El(e){return e instanceof Date&&!isNaN(e)}function Ke(e,t){return w((n,r)=>{let o=0;n.subscribe(C(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:Yh}=Array;function Kh(e,t){return Yh(t)?e(...t):e(t)}function Gt(e){return Ke(t=>Kh(e,t))}var{isArray:Jh}=Array,{getPrototypeOf:Xh,prototype:eg,keys:tg}=Object;function Kr(e){if(e.length===1){let t=e[0];if(Jh(t))return{args:t,keys:null};if(ng(t)){let n=tg(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function ng(e){return e&&typeof e=="object"&&Xh(e)===eg}function Jr(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function rg(...e){let t=Ze(e),n=Vr(e),{args:r,keys:o}=Kr(e);if(r.length===0)return Ye([],t);let i=new M(og(r,t,o?s=>Jr(o,s):Y));return n?i.pipe(Gt(n)):i}function og(e,t,n=Y){return r=>{Il(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)Il(t,()=>{let l=Ye(e[c],t),u=!1;l.subscribe(C(r,d=>{i[c]=d,u||(u=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Il(e,t,n){e?re(n,e,t):t()}function Dl(e,t,n,r,o,i,s,a){let c=[],l=0,u=0,d=!1,p=()=>{d&&!c.length&&!l&&t.complete()},f=y=>l<r?h(y):c.push(y),h=y=>{i&&t.next(y),l++;let N=!1;O(n(y,u++)).subscribe(C(t,_=>{o?.(_),i?f(_):t.next(_)},()=>{N=!0},void 0,()=>{if(N)try{for(l--;c.length&&l<r;){let _=c.shift();s?re(t,s,()=>h(_)):h(_)}p()}catch(_){t.error(_)}}))};return e.subscribe(C(t,f,()=>{d=!0,p()})),()=>{a?.()}}function Pe(e,t,n=1/0){return v(t)?Pe((r,o)=>Ke((i,s)=>t(r,i,o,s))(O(e(r,o))),n):(typeof t=="number"&&(n=t),w((r,o)=>Dl(r,o,e,n)))}function Gi(e=1/0){return Pe(Y,e)}function Cl(){return Gi(1)}function Xr(...e){return Cl()(Ye(e,Ze(e)))}function ig(e){return new M(t=>{O(e()).subscribe(t)})}function sg(...e){let t=Vr(e),{args:n,keys:r}=Kr(e),o=new M(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),c=s,l=s;for(let u=0;u<s;u++){let d=!1;O(n[u]).subscribe(C(i,p=>{d||(d=!0,l--),a[u]=p},()=>c--,void 0,()=>{(!c||!d)&&(l||i.next(r?Jr(r,a):a),i.complete())}))}});return t?o.pipe(Gt(t)):o}var ag=["addListener","removeListener"],cg=["addEventListener","removeEventListener"],lg=["on","off"];function zi(e,t,n,r){if(v(n)&&(r=n,n=void 0),r)return zi(e,t,n).pipe(Gt(r));let[o,i]=fg(e)?cg.map(s=>a=>e[s](t,a,n)):ug(e)?ag.map(_l(e,t)):dg(e)?lg.map(_l(e,t)):[];if(!o&&Wt(e))return Pe(s=>zi(s,t,n))(O(e));if(!o)throw new TypeError("Invalid event target");return new M(s=>{let a=(...c)=>s.next(1<c.length?c:c[0]);return o(a),()=>i(a)})}function _l(e,t){return n=>r=>e[n](t,r)}function ug(e){return v(e.addListener)&&v(e.removeListener)}function dg(e){return v(e.on)&&v(e.off)}function fg(e){return v(e.addEventListener)&&v(e.removeEventListener)}function wl(e=0,t,n=sl){let r=-1;return t!=null&&(jr(t)?n=t:r=t),new M(o=>{let i=El(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 pg(e=0,t=Tn){return e<0&&(e=0),wl(e,e,t)}function Nn(e,t){return w((n,r)=>{let o=0;n.subscribe(C(r,i=>e.call(t,i,o++)&&r.next(i)))})}function Qi(e){return w((t,n)=>{let r=null,o=!1,i;r=t.subscribe(C(n,void 0,void 0,s=>{i=O(e(s,Qi(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function bl(e,t,n,r,o){return(i,s)=>{let a=n,c=t,l=0;i.subscribe(C(s,u=>{let d=l++;c=a?e(c,u,d):(a=!0,u),r&&s.next(c)},o&&(()=>{a&&s.next(c),s.complete()})))}}function hg(e,t){return v(t)?Pe(e,t,1):Pe(e,1)}function gg(e){return w((t,n)=>{let r=!1,o=null,i=null,s=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let a=o;o=null,n.next(a)}};t.subscribe(C(n,a=>{i?.unsubscribe(),r=!0,o=a,i=C(n,s,pt),O(e(a)).subscribe(i)},()=>{s(),n.complete()},void 0,()=>{o=i=null}))})}function mg(e,t=Tn){return w((n,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let l=i;i=null,r.next(l)}};function c(){let l=s+e,u=t.now();if(u<l){o=this.schedule(void 0,l-u),r.add(o);return}a()}n.subscribe(C(r,l=>{i=l,s=t.now(),o||(o=t.schedule(c,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function Sn(e){return w((t,n)=>{let r=!1;t.subscribe(C(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function Zi(e){return e<=0?()=>Mn:w((t,n)=>{let r=0;t.subscribe(C(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function yg(e,t=Y){return e=e??vg,w((n,r)=>{let o,i=!0;n.subscribe(C(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function vg(e,t){return e===t}function eo(e=Eg){return w((t,n)=>{let r=!1;t.subscribe(C(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function Eg(){return new ke}function Ig(e){return w((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function Dg(e,t){let n=arguments.length>=2;return r=>r.pipe(e?Nn((o,i)=>e(o,i,r)):Y,Zi(1),n?Sn(t):eo(()=>new ke))}function Yi(e){return e<=0?()=>Mn:w((t,n)=>{let r=[];t.subscribe(C(n,o=>{r.push(o),e<r.length&&r.shift()},()=>{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function Cg(e,t){let n=arguments.length>=2;return r=>r.pipe(e?Nn((o,i)=>e(o,i,r)):Y,Yi(1),n?Sn(t):eo(()=>new ke))}function _g(e,t){return w(bl(e,t,arguments.length>=2,!0))}function Tl(e={}){let{connector:t=()=>new se,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,c,l=0,u=!1,d=!1,p=()=>{a?.unsubscribe(),a=void 0},f=()=>{p(),s=c=void 0,u=d=!1},h=()=>{let y=s;f(),y?.unsubscribe()};return w((y,N)=>{l++,!d&&!u&&p();let _=c=c??t();N.add(()=>{l--,l===0&&!d&&!u&&(a=Ki(h,o))}),_.subscribe(N),!s&&l>0&&(s=new he({next:Ce=>_.next(Ce),error:Ce=>{d=!0,p(),a=Ki(f,n,Ce),_.error(Ce)},complete:()=>{u=!0,p(),a=Ki(f,r),_.complete()}}),O(y).subscribe(s))})(i)}}function Ki(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new he({next:()=>{r.unsubscribe(),e()}});return O(t(...n)).subscribe(r)}function wg(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,Tl({connector:()=>new kr(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function bg(...e){let t=Ze(e);return w((n,r)=>{(t?Xr(e,n,t):Xr(e,n)).subscribe(r)})}function Ml(e,t){return w((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(C(r,c=>{o?.unsubscribe();let l=0,u=i++;O(e(c,u)).subscribe(o=C(r,d=>r.next(t?t(c,d,u,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Tg(e){return w((t,n)=>{O(e).subscribe(C(n,()=>n.complete(),pt)),!n.closed&&t.subscribe(n)})}function Nl(e,t,n){let r=v(e)||t||n?{next:e,error:t,complete:n}:e;return r?w((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(C(i,c=>{var l;(l=r.next)===null||l===void 0||l.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var l;a=!1,(l=r.error)===null||l===void 0||l.call(r,c),i.error(c)},()=>{var c,l;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(l=r.finalize)===null||l===void 0||l.call(r)}))}):Y}function Sl(e){let t=E(null);try{return e()}finally{E(t)}}var xl=G(W({},at),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"});function Al(e){if(e.dirty=!1,e.version>0&&!jt(e))return;e.version++;let t=lt(e);try{e.cleanup(),e.fn()}finally{Ft(e,t)}}var oo="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",b=class extends Error{code;constructor(t,n){super(kn(t,n)),this.code=t}};function Mg(e){return`NG0${Math.abs(e)}`}function kn(e,t){return`${Mg(e)}${t?": "+t:""}`}var Me=globalThis;function x(e){for(let t in e)if(e[t]===x)return t;throw Error("")}function kl(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Fe(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(Fe).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(`
|
|
4
|
+
`);return r>=0?n.slice(0,r):n}function io(e,t){return e?t?`${e} ${t}`:e:t||""}var Ng=x({__forward_ref__:x});function so(e){return e.__forward_ref__=so,e.toString=function(){return Fe(this())},e}function $(e){return cs(e)?e():e}function cs(e){return typeof e=="function"&&e.hasOwnProperty(Ng)&&e.__forward_ref__===so}function H(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Pl(e){return{providers:e.providers||[],imports:e.imports||[]}}function Pn(e){return xg(e,ao)}function Sg(e){return Pn(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 Xi(e){return e&&e.hasOwnProperty(no)?e[no]:null}var ao=x({\u0275prov:x}),no=x({\u0275inj:x}),S=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=H({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function ls(e){return e&&!!e.\u0275providers}var us=x({\u0275cmp:x}),ds=x({\u0275dir:x}),fs=x({\u0275pipe:x}),ps=x({\u0275mod:x}),An=x({\u0275fac:x}),Dt=x({__NG_ELEMENT_ID__:x}),Rl=x({__NG_ENV_ID__:x});function et(e){return typeof e=="string"?e:e==null?"":String(e)}function Ll(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():et(e)}var Fl=x({ngErrorCode:x}),Rg=x({ngErrorMessage:x}),Og=x({ngTokenPath:x});function hs(e,t){return jl("",-200,t)}function co(e,t){throw new b(-201,!1)}function jl(e,t,n){let r=new b(t,e);return r[Fl]=t,r[Rg]=e,n&&(r[Og]=n),r}function kg(e){return e[Fl]}var es;function Vl(){return es}function K(e){let t=es;return es=e,t}function gs(e,t,n){let r=Pn(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;co(e,"Injector")}var Pg={},yt=Pg,Lg="__NG_DI_FLAG__",ts=class{injector;constructor(t){this.injector=t}retrieve(t,n){let r=vt(n)||0;try{return this.injector.get(t,r&8?null:yt,r)}catch(o){if(Lt(o))return o;throw o}}};function Fg(e,t=0){let n=Er();if(n===void 0)throw new b(-203,!1);if(n===null)return gs(e,void 0,t);{let r=jg(t),o=n.retrieve(e,r);if(Lt(o)){if(r.optional)return null;throw o}return o}}function we(e,t=0){return(Vl()||Fg)($(e),t)}function I(e,t){return we(e,vt(t))}function vt(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 ns(e){let t=[];for(let n=0;n<e.length;n++){let r=$(e[n]);if(Array.isArray(r)){if(r.length===0)throw new b(900,!1);let o,i=0;for(let s=0;s<r.length;s++){let a=r[s],c=Vg(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(we(o,i))}else t.push(we(r))}return t}function Vg(e){return e[Lg]}function Je(e,t){let n=e.hasOwnProperty(An);return n?e[An]:null}function Hl(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let o=e[r],i=t[r];if(n&&(o=n(o),i=n(i)),i!==o)return!1}return!0}function Bl(e){return e.flat(Number.POSITIVE_INFINITY)}function lo(e,t){e.forEach(n=>Array.isArray(n)?lo(n,t):t(n))}function ms(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Ln(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function $l(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function Ul(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(o===1)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;){let i=o-2;e[o]=e[i],o--}e[t]=n,e[t+1]=r}}function Fn(e,t,n){let r=Qt(e,t);return r>=0?e[r|1]=n:(r=~r,Ul(e,r,t,n)),r}function uo(e,t){let n=Qt(e,t);if(n>=0)return e[n|1]}function Qt(e,t){return Hg(e,t,1)}function Hg(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=e[i<<n];if(t===s)return i<<n;s>t?o=i:r=i+1}return~(o<<n)}var me={},Z=[],Ct=new S(""),ys=new S("",-1),vs=new S(""),Rn=class{get(t,n=yt){if(n===yt){let o=jl("",-201);throw o.name="\u0275NotFound",o}return n}};function Es(e){return e[ps]||null}function je(e){return e[us]||null}function fo(e){return e[ds]||null}function ql(e){return e[fs]||null}function po(e){return{\u0275providers:e}}function Wl(...e){return{\u0275providers:Is(!0,e),\u0275fromNgModule:!0}}function Is(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return lo(t,s=>{let a=s;ro(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Gl(o,i),n}function Gl(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];Ds(o,i=>{t(i,r)})}}function ro(e,t,n,r){if(e=$(e),!e)return!1;let o=null,i=Xi(e),s=!i&&je(e);if(!i&&!s){let c=e.ngModule;if(i=Xi(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let l of c)ro(l,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;try{lo(i.imports,u=>{ro(u,t,n,r)&&(l||=[],l.push(u))})}finally{}l!==void 0&&Gl(l,t)}if(!a){let l=Je(o)||(()=>new o);t({provide:o,useFactory:l,deps:Z},o),t({provide:vs,useValue:o,multi:!0},o),t({provide:Ct,useValue:()=>we(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=e;Ds(c,u=>{t(u,l)})}}else return!1;return o!==e&&e.providers!==void 0}function Ds(e,t){for(let n of e)ls(n)&&(n=n.\u0275providers),Array.isArray(n)?Ds(n,t):t(n)}var Bg=x({provide:String,useValue:x});function zl(e){return e!==null&&typeof e=="object"&&Bg in e}function $g(e){return!!(e&&e.useExisting)}function Ug(e){return!!(e&&e.useFactory)}function Et(e){return typeof e=="function"}function Ql(e){return!!e.useClass}var Cs=new S(""),to={},Ol={},Ji;function jn(){return Ji===void 0&&(Ji=new Rn),Ji}var ae=class{},It=class extends ae{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,os(t,s=>this.processProvider(s)),this.records.set(ys,zt(void 0,this)),o.has("environment")&&this.records.set(ae,zt(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,Z,{self:!0}))}retrieve(t,n){let r=vt(n)||0;try{return this.get(t,yt,r)}catch(o){if(Lt(o))return o;throw o}}destroy(){xn(this),this._destroyed=!0;let t=E(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(),E(t)}}onDestroy(t){return xn(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){xn(this);let n=_e(this),r=K(void 0),o;try{return t()}finally{_e(n),K(r)}}get(t,n=yt,r){if(xn(this),t.hasOwnProperty(Rl))return t[Rl](this);let o=vt(r),i,s=_e(this),a=K(void 0);try{if(!(o&4)){let l=this.records.get(t);if(l===void 0){let u=Qg(t)&&Pn(t);u&&this.injectableDefInScope(u)?l=zt(rs(t),to):l=null,this.records.set(t,l)}if(l!=null)return this.hydrate(t,l,o)}let c=o&2?jn():this.parent;return n=o&8&&n===yt?null:n,c.get(t,n)}catch(c){let l=kg(c);throw l===-200||l===-201?new b(l,null):c}finally{K(a),_e(s)}}resolveInjectorInitializers(){let t=E(null),n=_e(this),r=K(void 0),o;try{let i=this.get(Ct,Z,{self:!0});for(let s of i)s()}finally{_e(n),K(r),E(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(Fe(r));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=$(t);let n=Et(t)?t:$(t&&t.provide),r=Wg(t);if(!Et(t)&&t.multi===!0){let o=this.records.get(n);o||(o=zt(void 0,to,!0),o.factory=()=>ns(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n,r){let o=E(null);try{if(n.value===Ol)throw hs(Fe(t));return n.value===to&&(n.value=Ol,n.value=n.factory(void 0,r)),typeof n.value=="object"&&n.value&&zg(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{E(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=$(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 rs(e){let t=Pn(e),n=t!==null?t.factory:Je(e);if(n!==null)return n;if(e instanceof S)throw new b(204,!1);if(e instanceof Function)return qg(e);throw new b(204,!1)}function qg(e){if(e.length>0)throw new b(204,!1);let n=Ag(e);return n!==null?()=>n.factory(e):()=>new e}function Wg(e){if(zl(e))return zt(void 0,e.useValue);{let t=_s(e);return zt(t,to)}}function _s(e,t,n){let r;if(Et(e)){let o=$(e);return Je(o)||rs(o)}else if(zl(e))r=()=>$(e.useValue);else if(Ug(e))r=()=>e.useFactory(...ns(e.deps||[]));else if($g(e))r=(o,i)=>we($(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=$(e&&(e.useClass||e.provide));if(Gg(e))r=()=>new o(...ns(e.deps));else return Je(o)||rs(o)}return r}function xn(e){if(e.destroyed)throw new b(205,!1)}function zt(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Gg(e){return!!e.deps}function zg(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Qg(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function os(e,t){for(let n of e)Array.isArray(n)?os(n,t):n&&ls(n)?os(n.\u0275providers,t):t(n)}function ho(e,t){let n;e instanceof It?(xn(e),n=e):n=new ts(e);let r,o=_e(n),i=K(void 0);try{return t()}finally{_e(o),K(i)}}function Zl(){return Vl()!==void 0||Er()!=null}var ye=0,m=1,D=2,U=3,ce=4,J=5,_t=6,Zt=7,F=8,X=9,Ne=10,A=11,Yt=12,ws=13,wt=14,ee=15,Ve=16,bt=17,Se=18,Vn=19,bs=20,Le=21,go=22,He=23,ie=24,Tt=25,Be=26,k=27,Yl=1,Ts=6,tt=7,Hn=8,Mt=9,L=10;function xe(e){return Array.isArray(e)&&typeof e[Yl]=="object"}function ve(e){return Array.isArray(e)&&e[Yl]===!0}function Ms(e){return(e.flags&4)!==0}function $e(e){return e.componentOffset>-1}function Kt(e){return(e.flags&1)===1}function Ee(e){return!!e.template}function Jt(e){return(e[D]&512)!==0}function Nt(e){return(e[D]&256)===256}var Ns="svg",Kl="math";function le(e){for(;Array.isArray(e);)e=e[ye];return e}function Ss(e,t){return le(t[e])}function oe(e,t){return le(t[e.index])}function Bn(e,t){return e.data[t]}function mo(e,t){return e[t]}function xs(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function ue(e,t){let n=t[e];return xe(n)?n:n[ye]}function Jl(e){return(e[D]&4)===4}function yo(e){return(e[D]&128)===128}function Xl(e){return ve(e[U])}function de(e,t){return t==null?null:e[t]}function As(e){e[bt]=0}function Rs(e){e[D]&1024||(e[D]|=1024,yo(e)&&nt(e))}function eu(e,t){for(;e>0;)t=t[wt],e--;return t}function $n(e){return!!(e[D]&9216||e[ie]?.dirty)}function vo(e){e[Ne].changeDetectionScheduler?.notify(8),e[D]&64&&(e[D]|=1024),$n(e)&&nt(e)}function nt(e){e[Ne].changeDetectionScheduler?.notify(0);let t=Xe(e);for(;t!==null&&!(t[D]&8192||(t[D]|=8192,!yo(t)));)t=Xe(t)}function Os(e,t){if(Nt(e))throw new b(911,!1);e[Le]===null&&(e[Le]=[]),e[Le].push(t)}function tu(e,t){if(e[Le]===null)return;let n=e[Le].indexOf(t);n!==-1&&e[Le].splice(n,1)}function Xe(e){let t=e[U];return ve(t)?t[U]:t}function ks(e){return e[Zt]??=[]}function Ps(e){return e.cleanup??=[]}function nu(e,t,n,r){let o=ks(t);o.push(n),e.firstCreatePass&&Ps(e).push(r,o.length-1)}var T={lFrame:mu(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var is=!1;function ru(){return T.lFrame.elementDepthCount}function ou(){T.lFrame.elementDepthCount++}function Ls(){T.lFrame.elementDepthCount--}function Eo(){return T.bindingsEnabled}function Fs(){return T.skipHydrationRootTNode!==null}function js(e){return T.skipHydrationRootTNode===e}function Vs(){T.skipHydrationRootTNode=null}function g(){return T.lFrame.lView}function P(){return T.lFrame.tView}function iu(e){return T.lFrame.contextLView=e,e[F]}function su(e){return T.lFrame.contextLView=null,e}function j(){let e=Hs();for(;e!==null&&e.type===64;)e=e.parent;return e}function Hs(){return T.lFrame.currentTNode}function au(){let e=T.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Xt(e,t){let n=T.lFrame;n.currentTNode=e,n.isParent=t}function Bs(){return T.lFrame.isParent}function $s(){T.lFrame.isParent=!1}function cu(){return T.lFrame.contextLView}function Us(){return is}function en(e){let t=is;return is=e,t}function fe(){let e=T.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function lu(){return T.lFrame.bindingIndex}function uu(e){return T.lFrame.bindingIndex=e}function Ue(){return T.lFrame.bindingIndex++}function Io(e){let t=T.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function du(){return T.lFrame.inI18n}function fu(e,t){let n=T.lFrame;n.bindingIndex=n.bindingRootIndex=e,Do(t)}function pu(){return T.lFrame.currentDirectiveIndex}function Do(e){T.lFrame.currentDirectiveIndex=e}function hu(e){let t=T.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function Co(){return T.lFrame.currentQueryIndex}function Un(e){T.lFrame.currentQueryIndex=e}function Zg(e){let t=e[m];return t.type===2?t.declTNode:t.type===1?e[J]:null}function qs(e,t,n){if(n&4){let o=t,i=e;for(;o=o.parent,o===null&&!(n&1);)if(o=Zg(i),o===null||(i=i[wt],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=T.lFrame=gu();return r.currentTNode=t,r.lView=e,!0}function _o(e){let t=gu(),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 gu(){let e=T.lFrame,t=e===null?null:e.child;return t===null?mu(e):t}function mu(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 yu(){let e=T.lFrame;return T.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Ws=yu;function wo(){let e=yu();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 vu(e){return(T.lFrame.contextLView=eu(e,T.lFrame.contextLView))[F]}function Ae(){return T.lFrame.selectedIndex}function rt(e){T.lFrame.selectedIndex=e}function tn(){let e=T.lFrame;return Bn(e.tView,e.selectedIndex)}function Eu(){T.lFrame.currentNamespace=Ns}function Iu(){Yg()}function Yg(){T.lFrame.currentNamespace=null}function Du(){return T.lFrame.currentNamespace}var Cu=!0;function bo(){return Cu}function qn(e){Cu=e}function ss(e,t=null,n=null,r){let o=Gs(e,t,n,r);return o.resolveInjectorInitializers(),o}function Gs(e,t=null,n=null,r,o=new Set){let i=[n||Z,Wl(e)];return r=r||(typeof e=="object"?void 0:Fe(e)),new It(i,t||jn(),r||null,o)}var be=class e{static THROW_IF_NOT_FOUND=yt;static NULL=new Rn;static create(t,n){if(Array.isArray(t))return ss({name:""},n,t,"");{let r=t.name??"";return ss({name:r},t.parent,t.providers,r)}}static \u0275prov=H({token:e,providedIn:"any",factory:()=>we(ys)});static __NG_ELEMENT_ID__=-1},Kg=new S(""),ot=(()=>{class e{static __NG_ELEMENT_ID__=Jg;static __NG_ENV_ID__=n=>n}return e})(),On=class extends ot{_lView;constructor(t){super(),this._lView=t}get destroyed(){return Nt(this._lView)}onDestroy(t){let n=this._lView;return Os(n,t),()=>tu(n,t)}};function Jg(){return new On(g())}var Te=class{_console=console;handleError(t){this._console.error("ERROR",t)}},qe=new S("",{providedIn:"root",factory:()=>{let e=I(ae),t;return n=>{e.destroyed&&!t?setTimeout(()=>{throw n}):(t??=e.get(Te),t.handleError(n))}}}),_u={provide:Ct,useValue:()=>void I(Te),multi:!0};function zs(e){return typeof e=="function"&&e[B]!==void 0}function To(e,t){let[n,r,o]=ki(e,t?.equal),i=n,s=i[B];return i.set=r,i.update=o,i.asReadonly=Mo.bind(i),i}function Mo(){let e=this[B];if(e.readonlyFn===void 0){let t=()=>this();t[B]=e,e.readonlyFn=t}return e.readonlyFn}function Qs(e){return zs(e)&&typeof e.set=="function"}var nn=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=Xg}return e})();function Xg(){return new nn(g(),j())}var ge=class{},Wn=new S("",{providedIn:"root",factory:()=>!1});var Zs=new S(""),Ys=new S(""),it=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new _n(!1);get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new M(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),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(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=H({token:e,providedIn:"root",factory:()=>new e})}return e})(),Ks=(()=>{class e{internalPendingTasks=I(it);scheduler=I(ge);errorHandler=I(qe);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=H({token:e,providedIn:"root",factory:()=>new e})}return e})();function St(...e){}var Gn=(()=>{class e{static \u0275prov=H({token:e,providedIn:"root",factory:()=>new as})}return e})(),as=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}};function rr(e){return{toString:e}.toString()}function am(e){return typeof e=="function"}var Vo=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function fd(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var cm=(()=>{let e=()=>pd;return e.ngInherit=!0,e})();function pd(e){return e.type.prototype.ngOnChanges&&(e.setInput=um),lm}function lm(){let e=gd(this),t=e?.current;if(t){let n=e.previous;if(n===me)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function um(e,t,n,r,o){let i=this.declaredInputs[r],s=gd(e)||dm(e,{previous:me,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new Vo(l&&l.currentValue,n,c===me),fd(e,t,o,n)}var hd="__ngSimpleChanges__";function gd(e){return e[hd]||null}function dm(e,t){return e[hd]=t}var wu=[];var R=function(e,t=null,n){for(let r=0;r<wu.length;r++){let o=wu[r];o(e,t,n)}};function fm(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=pd(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}function md(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){let i=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:l,ngOnDestroy:u}=i;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),c&&(e.viewHooks??=[]).push(-n,c),l&&((e.viewHooks??=[]).push(n,l),(e.viewCheckHooks??=[]).push(n,l)),u!=null&&(e.destroyHooks??=[]).push(n,u)}}function Oo(e,t,n){yd(e,t,3,n)}function ko(e,t,n,r){(e[D]&3)===n&&yd(e,t,n,r)}function Js(e,t){let n=e[D];(n&3)===t&&(n&=16383,n+=1,e[D]=n)}function yd(e,t,n,r){let o=r!==void 0?e[bt]&65535:0,i=r??-1,s=t.length-1,a=0;for(let c=o;c<s;c++)if(typeof t[c+1]=="number"){if(a=t[c],r!=null&&a>=r)break}else t[c]<0&&(e[bt]+=65536),(a<i||i==-1)&&(pm(e,n,t,c),e[bt]=(e[bt]&4294901760)+c+2),c++}function bu(e,t){R(4,e,t);let n=E(null);try{t.call(e)}finally{E(n),R(5,e,t)}}function pm(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[D]>>14<e[bt]>>16&&(e[D]&3)===t&&(e[D]+=16384,bu(a,i)):bu(a,i)}var on=-1,Rt=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 hm(e){return(e.flags&8)!==0}function gm(e){return(e.flags&16)!==0}function mm(e,t,n){let r=0;for(;r<n.length;){let o=n[r];if(typeof o=="number"){if(o!==0)break;r++;let i=n[r++],s=n[r++],a=n[r++];e.setAttribute(t,s,a,i)}else{let i=o,s=n[++r];ym(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function vd(e){return e===3||e===4||e===6}function ym(e){return e.charCodeAt(0)===64}function cn(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){let o=t[r];typeof o=="number"?n=o:n===0||(n===-1||n===2?Tu(e,n,o,null,t[++r]):Tu(e,n,o,null,null))}}return e}function Tu(e,t,n,r,o){let i=0,s=e.length;if(t===-1)s=-1;else for(;i<e.length;){let a=e[i++];if(typeof a=="number"){if(a===t){s=-1;break}else if(a>t){s=i-1;break}}}for(;i<e.length;){let a=e[i];if(typeof a=="number")break;if(a===n){o!==null&&(e[i+1]=o);return}i++,o!==null&&i++}s!==-1&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),o!==null&&e.splice(i++,0,o)}function Ed(e){return e!==on}function Ho(e){return e&32767}function vm(e){return e>>16}function Bo(e,t){let n=vm(e),r=t;for(;n>0;)r=r[wt],n--;return r}var ua=!0;function $o(e){let t=ua;return ua=e,t}var Em=256,Id=Em-1,Dd=5,Im=0,Re={};function Dm(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Dt)&&(r=n[Dt]),r==null&&(r=n[Dt]=Im++);let o=r&Id,i=1<<o;t.data[e+(o>>Dd)]|=i}function Uo(e,t){let n=Cd(e,t);if(n!==-1)return n;let r=t[m];r.firstCreatePass&&(e.injectorIndex=t.length,Xs(r.data,e),Xs(t,null),Xs(r.blueprint,null));let o=Qa(e,t),i=e.injectorIndex;if(Ed(o)){let s=Ho(o),a=Bo(o,t),c=a[m].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|c[s+l]}return t[i+8]=o,i}function Xs(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Cd(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=Md(o),r===null)return on;if(n++,o=o[wt],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return on}function da(e,t,n){Dm(e,t,n)}function Cm(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let n=e.attrs;if(n){let r=n.length,o=0;for(;o<r;){let i=n[o];if(vd(i))break;if(i===0)o=o+2;else if(typeof i=="number")for(o++;o<r&&typeof n[o]=="string";)o++;else{if(i===t)return n[o+1];o=o+2}}}return null}function _d(e,t,n){if(n&8||e!==void 0)return e;co(t,"NodeInjector")}function wd(e,t,n,r){if(n&8&&r===void 0&&(r=null),(n&3)===0){let o=e[X],i=K(void 0);try{return o?o.get(t,r,n&8):gs(t,r,n&8)}finally{K(i)}}return _d(r,t,n)}function bd(e,t,n,r=0,o){if(e!==null){if(t[D]&2048&&!(r&2)){let s=Mm(e,t,n,r,Re);if(s!==Re)return s}let i=Td(e,t,n,r,Re);if(i!==Re)return i}return wd(t,n,r,o)}function Td(e,t,n,r,o){let i=wm(n);if(typeof i=="function"){if(!qs(t,e,r))return r&1?_d(o,n,r):wd(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&8))co(n);else return s}finally{Ws()}}else if(typeof i=="number"){let s=null,a=Cd(e,t),c=on,l=r&1?t[ee][J]:null;for((a===-1||r&4)&&(c=a===-1?Qa(e,t):t[a+8],c===on||!Nu(r,!1)?a=-1:(s=t[m],a=Ho(c),t=Bo(c,t)));a!==-1;){let u=t[m];if(Mu(i,a,u.data)){let d=_m(a,t,n,s,r,l);if(d!==Re)return d}c=t[a+8],c!==on&&Nu(r,t[m].data[a+8]===l)&&Mu(i,a,t)?(s=u,a=Ho(c),t=Bo(c,t)):a=-1}}return o}function _m(e,t,n,r,o,i){let s=t[m],a=s.data[e+8],c=r==null?$e(a)&&ua:r!=s&&(a.type&3)!==0,l=o&1&&i===a,u=Po(a,s,n,c,l);return u!==null?Zn(t,s,u,a,o):Re}function Po(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,c=e.directiveStart,l=e.directiveEnd,u=i>>20,d=r?a:a+u,p=o?a+u:l;for(let f=d;f<p;f++){let h=s[f];if(f<c&&n===h||f>=c&&h.type===n)return f}if(o){let f=s[c];if(f&&Ee(f)&&f.type===n)return c}return null}function Zn(e,t,n,r,o){let i=e[n],s=t.data;if(i instanceof Rt){let a=i;if(a.resolving){let f=Ll(s[n]);throw hs(f)}let c=$o(a.canSeeViewProviders);a.resolving=!0;let l=s[n].type||s[n],u,d=a.injectImpl?K(a.injectImpl):null,p=qs(e,r,0);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&fm(n,s[n],t)}finally{d!==null&&K(d),$o(c),a.resolving=!1,Ws()}}return i}function wm(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Dt)?e[Dt]:void 0;return typeof t=="number"?t>=0?t&Id:bm:t}function Mu(e,t,n){let r=1<<e;return!!(n[t+(e>>Dd)]&r)}function Nu(e,t){return!(e&2)&&!(e&1&&t)}var xt=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return bd(this._tNode,this._lView,t,vt(r),n)}};function bm(){return new xt(j(),g())}function Tm(e){return rr(()=>{let t=e.prototype.constructor,n=t[An]||fa(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[An]||fa(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function fa(e){return cs(e)?()=>{let t=fa($(e));return t&&t()}:Je(e)}function Mm(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[D]&2048&&!Jt(s);){let a=Td(i,s,n,r|2,Re);if(a!==Re)return a;let c=i.parent;if(!c){let l=s[bs];if(l){let u=l.get(n,Re,r);if(u!==Re)return u}c=Md(s),s=s[wt]}i=c}return o}function Md(e){let t=e[m],n=t.type;return n===2?t.declTNode:n===1?e[J]:null}function Nd(e){return Cm(j(),e)}function Nm(){return En(j(),g())}function En(e,t){return new or(oe(e,t))}var or=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=Nm}return e})();function Sd(e){return e instanceof or?e.nativeElement:e}function Sm(){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 se}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=Bl(t);(this._changesDetected=!Hl(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]=Sm};function xd(e){return(e.flags&128)===128}var Za=(function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e})(Za||{}),Ad=new Map,xm=0;function Am(){return xm++}function Rm(e){Ad.set(e[Vn],e)}function pa(e){Ad.delete(e[Vn])}var Su="__ngContext__";function ln(e,t){xe(t)?(e[Su]=t[Vn],Rm(t)):e[Su]=t}function Rd(e){return kd(e[Yt])}function Od(e){return kd(e[ce])}function kd(e){for(;e!==null&&!ve(e);)e=e[ce];return e}var ha;function Om(e){ha=e}function Ya(){if(ha!==void 0)return ha;if(typeof document<"u")return document;throw new b(210,!1)}var km=new S("",{providedIn:"root",factory:()=>Pm}),Pm="ng",Pd=new S(""),Lm=new S("",{providedIn:"platform",factory:()=>"unknown"});var Fm=new S(""),jm=new S("",{providedIn:"root",factory:()=>Ya().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var Vm="h",Hm="b";var Ld="r";var Fd="di";var jd=!1,Vd=new S("",{providedIn:"root",factory:()=>jd});var Bm=new S("");var $m=(e,t,n,r)=>{};function Um(e,t,n,r){$m(e,t,n,r)}function li(e){return(e.flags&32)===32}var qm=()=>null;function Hd(e,t,n=!1){return qm(e,t,n)}function Bd(e,t){let n=e.contentQueries;if(n!==null){let r=E(null);try{for(let o=0;o<n.length;o+=2){let i=n[o],s=n[o+1];if(s!==-1){let a=e.data[s];Un(i),a.contentQueries(2,t[s],s)}}}finally{E(r)}}}function ga(e,t,n){Un(0);let r=E(null);try{t(e,n)}finally{E(r)}}function Ka(e,t,n){if(Ms(t)){let r=E(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;s<i;s++){let a=e.data[s];if(a.contentQueries){let c=n[s];a.contentQueries(1,c,s)}}}finally{E(r)}}}var un=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e})(un||{});var No;function Wm(){if(No===void 0&&(No=null,Me.trustedTypes))try{No=Me.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return No}function ui(e){return Wm()?.createHTML(e)||e}var So;function $d(){if(So===void 0&&(So=null,Me.trustedTypes))try{So=Me.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return So}function xu(e){return $d()?.createHTML(e)||e}function Au(e){return $d()?.createScriptURL(e)||e}var Ge=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${oo})`}},ma=class extends Ge{getTypeName(){return"HTML"}},ya=class extends Ge{getTypeName(){return"Style"}},va=class extends Ge{getTypeName(){return"Script"}},Ea=class extends Ge{getTypeName(){return"URL"}},Ia=class extends Ge{getTypeName(){return"ResourceURL"}};function Pt(e){return e instanceof Ge?e.changingThisBreaksApplicationSecurity:e}function di(e,t){let n=Ud(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 Ud(e){return e instanceof Ge&&e.getTypeName()||null}function Gm(e){return new ma(e)}function zm(e){return new ya(e)}function Qm(e){return new va(e)}function Zm(e){return new Ea(e)}function Ym(e){return new Ia(e)}function Km(e){let t=new Ca(e);return Jm()?new Da(t):t}var Da=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(ui(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}},Ca=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=ui(t),n}};function Jm(){try{return!!new window.DOMParser().parseFromString(ui(""),"text/html")}catch{return!1}}var Xm=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Ja(e){return e=String(e),e.match(Xm)?e:"unsafe:"+e}function ze(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function ir(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var qd=ze("area,br,col,hr,img,wbr"),Wd=ze("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Gd=ze("rp,rt"),ey=ir(Gd,Wd),ty=ir(Wd,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")),ny=ir(Gd,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")),Ru=ir(qd,ty,ny,ey),zd=ze("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),ry=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"),oy=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"),iy=ir(zd,ry,oy),sy=ze("script,style,template"),_a=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=ly(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=cy(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=Ou(t).toLowerCase();if(!Ru.hasOwnProperty(n))return this.sanitizedSomething=!0,!sy.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);let r=t.attributes;for(let o=0;o<r.length;o++){let i=r.item(o),s=i.name,a=s.toLowerCase();if(!iy.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;zd[a]&&(c=Ja(c)),this.buf.push(" ",s,'="',ku(c),'"')}return this.buf.push(">"),!0}endElement(t){let n=Ou(t).toLowerCase();Ru.hasOwnProperty(n)&&!qd.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(ku(t))}};function ay(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function cy(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw Qd(t);return t}function ly(e){let t=e.firstChild;if(t&&ay(e,t))throw Qd(t);return t}function Ou(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function Qd(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var uy=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,dy=/([^\#-~ |!])/g;function ku(e){return e.replace(/&/g,"&").replace(uy,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(dy,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var xo;function Zd(e,t){let n=null;try{xo=xo||Km(e);let r=t?String(t):"";n=xo.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=xo.getInertBodyElement(r)}while(r!==i);let a=new _a().sanitizeChildren(Pu(n)||n);return ui(a)}finally{if(n){let r=Pu(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function Pu(e){return"content"in e&&fy(e)?e.content:null}function fy(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var py=/^>|^->|<!--|-->|--!>|<!-$/g,hy=/(<|>)/g,gy="\u200B$1\u200B";function my(e){return e.replace(py,t=>t.replace(hy,gy))}function yy(e,t){return e.createText(t)}function vy(e,t,n){e.setValue(t,n)}function Ey(e,t){return e.createComment(my(t))}function Yd(e,t,n){return e.createElement(t,n)}function Wo(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Kd(e,t,n){e.appendChild(t,n)}function Lu(e,t,n,r,o){r!==null?Wo(e,t,n,r,o):Kd(e,t,n)}function Jd(e,t,n,r){e.removeChild(null,t,n,r)}function Iy(e,t,n){e.setAttribute(t,"style",n)}function Dy(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Xd(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&mm(e,t,r),o!==null&&Dy(e,t,o),i!==null&&Iy(e,t,i)}var sr=(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})(sr||{});function Cy(e){let t=Xa();return t?xu(t.sanitize(sr.HTML,e)||""):di(e,"HTML")?xu(Pt(e)):Zd(Ya(),et(e))}function ef(e){let t=Xa();return t?t.sanitize(sr.URL,e)||"":di(e,"URL")?Pt(e):Ja(et(e))}function tf(e){let t=Xa();if(t)return Au(t.sanitize(sr.RESOURCE_URL,e)||"");if(di(e,"ResourceURL"))return Au(Pt(e));throw new b(904,!1)}function _y(e,t){return t==="src"&&(e==="embed"||e==="frame"||e==="iframe"||e==="media"||e==="script")||t==="href"&&(e==="base"||e==="link")?tf:ef}function wy(e,t,n){return _y(t,n)(e)}function Xa(){let e=g();return e&&e[Ne].sanitizer}function by(e){return e.ownerDocument.defaultView}function Ty(e){return e.ownerDocument}function nf(e){return e instanceof Function?e():e}function My(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 rf="ng-template";function Ny(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&My(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(ec(e))return!1;if(o=t.indexOf(1,o),o>-1){let i;for(;++o<t.length&&typeof(i=t[o])=="string";)if(i.toLowerCase()===n)return!0}return!1}function ec(e){return e.type===4&&e.value!==rf}function Sy(e,t,n){let r=e.type===4&&!n?rf:e.value;return t===r}function xy(e,t,n){let r=4,o=e.attrs,i=o!==null?Oy(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!Ie(r)&&!Ie(c))return!1;if(s&&Ie(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!Sy(e,c,n)||c===""&&t.length===1){if(Ie(r))return!1;s=!0}}else if(r&8){if(o===null||!Ny(e,o,c,n)){if(Ie(r))return!1;s=!0}}else{let l=t[++a],u=Ay(c,o,ec(e),n);if(u===-1){if(Ie(r))return!1;s=!0;continue}if(l!==""){let d;if(u>i?d="":d=o[u+1].toLowerCase(),r&2&&l!==d){if(Ie(r))return!1;s=!0}}}}return Ie(r)||s}function Ie(e){return(e&1)===0}function Ay(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o<t.length;){let s=t[o];if(s===e)return o;if(s===3||s===6)i=!0;else if(s===1||s===2){let a=t[++o];for(;typeof a=="string";)a=t[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=i?1:2}return-1}else return ky(t,e)}function of(e,t,n=!1){for(let r=0;r<t.length;r++)if(xy(e,t[r],n))return!0;return!1}function Ry(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if((n&1)===0)return t[n+1]}return null}function Oy(e){for(let t=0;t<e.length;t++){let n=e[t];if(vd(n))return t}return e.length}function ky(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){let r=e[n];if(typeof r=="number")return-1;if(r===t)return n;n++}return-1}function Py(e,t){e:for(let n=0;n<t.length;n++){let r=t[n];if(e.length===r.length){for(let o=0;o<e.length;o++)if(e[o]!==r[o])continue e;return!0}}return!1}function Fu(e,t){return e?":not("+t.trim()+")":t}function Ly(e){let t=e[0],n=1,r=2,o="",i=!1;for(;n<e.length;){let s=e[n];if(typeof s=="string")if(r&2){let a=e[++n];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!Ie(s)&&(t+=Fu(i,o),o=""),r=s,i=i||!Ie(r);n++}return o!==""&&(t+=Fu(i,o)),t}function Fy(e){return e.map(Ly).join(",")}function jy(e){let t=[],n=[],r=1,o=2;for(;r<e.length;){let i=e[r];if(typeof i=="string")o===2?i!==""&&t.push(i,e[++r]):o===8&&n.push(i);else{if(!Ie(o))break;o=i}r++}return n.length&&t.push(1,...n),t}var ne={};function tc(e,t,n,r,o,i,s,a,c,l,u){let d=k+r,p=d+o,f=Vy(d,p),h=typeof l=="function"?l():l;return f[m]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:p,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i=="function"?i():i,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:c,consts:h,incompleteFirstPass:!1,ssrId:u}}function Vy(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:ne);return n}function Hy(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=tc(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function nc(e,t,n,r,o,i,s,a,c,l,u){let d=t.blueprint.slice();return d[ye]=o,d[D]=r|4|128|8|64|1024,(l!==null||e&&e[D]&2048)&&(d[D]|=2048),As(d),d[U]=d[wt]=e,d[F]=n,d[Ne]=s||e&&e[Ne],d[A]=a||e&&e[A],d[X]=c||e&&e[X]||null,d[J]=i,d[Vn]=Am(),d[_t]=u,d[bs]=l,d[ee]=t.type==2?e[ee]:d,d}function By(e,t,n){let r=oe(t,e),o=Hy(n),i=e[Ne].rendererFactory,s=rc(e,nc(e,o,null,sf(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function sf(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function af(e,t,n,r){if(n===0)return-1;let o=t.length;for(let i=0;i<n;i++)t.push(r),e.blueprint.push(r),e.data.push(null);return o}function rc(e,t){return e[Yt]?e[ws][ce]=t:e[Yt]=t,e[ws]=t,t}function $y(e=1){cf(P(),g(),Ae()+e,!1)}function cf(e,t,n,r){if(!r)if((t[D]&3)===3){let i=e.preOrderCheckHooks;i!==null&&Oo(t,i,n)}else{let i=e.preOrderHooks;i!==null&&ko(t,i,0,n)}rt(n)}var fi=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(fi||{});function wa(e,t,n,r){let o=E(null);try{let[i,s,a]=e.inputs[n],c=null;(s&fi.SignalBased)!==0&&(c=t[i][B]),c!==null&&c.transformFn!==void 0?r=c.transformFn(r):a!==null&&(r=a.call(t,r)),e.setInput!==null?e.setInput(t,c,r,n,i):fd(t,c,i,r)}finally{E(o)}}var Go=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})(Go||{}),Uy;function oc(e,t){return Uy(e,t)}function zo(e){if(!e)return 0;let t=e.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(e)*t}function sn(e,t){return e.getPropertyValue(t).split(",").map(r=>r.trim())}function qy(e){let t=sn(e,"transition-property"),n=sn(e,"transition-duration"),r=sn(e,"transition-delay"),o={propertyName:"",duration:0,animationName:void 0};for(let i=0;i<t.length;i++){let s=zo(r[i])+zo(n[i]);s>o.duration&&(o.propertyName=t[i],o.duration=s)}return o}function Wy(e){let t=sn(e,"animation-name"),n=sn(e,"animation-delay"),r=sn(e,"animation-duration"),o={animationName:"",propertyName:void 0,duration:0};for(let i=0;i<t.length;i++){let s=zo(n[i])+zo(r[i]);s>o.duration&&(o.animationName=t[i],o.duration=s)}return o}function lf(e,t){return e!==void 0&&e.duration>t.duration}function uf(e){return(e.animationName!=null||e.propertyName!=null)&&e.duration>0}function Gy(e,t){let n=getComputedStyle(e),r=Wy(n),o=qy(n),i=r.duration>o.duration?r:o;lf(t.get(e),i)||uf(i)&&t.set(e,i)}function df(e,t,n){if(!n)return;let r=e.getAnimations();return r.length===0?Gy(e,t):zy(e,t,r)}function zy(e,t,n){let r={animationName:void 0,propertyName:void 0,duration:0};for(let o of n){let i=o.effect?.getTiming(),s=typeof i?.duration=="number"?i.duration:0,a=(i?.delay??0)+s,c,l;o.animationName?l=o.animationName:c=o.transitionProperty,a>=r.duration&&(r={animationName:l,propertyName:c,duration:a})}lf(t.get(e),r)||uf(r)&&t.set(e,r)}var dn=new Set,pi=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(pi||{}),ar=new S(""),ju=new Set;function Oe(e){ju.has(e)||(ju.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var ff=!1,ba=class extends se{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,Zl()&&(this.destroyRef=I(ot,{optional:!0})??void 0,this.pendingTasks=I(it,{optional:!0})??void 0)}emit(t){let n=E(null);try{super.next(t)}finally{E(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 V&&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)}})}}},We=ba;function pf(e){let t,n;function r(){e=St;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 Vu(e){return queueMicrotask(()=>e()),()=>{e=St}}var ic="isAngularZone",Qo=ic+"_ID",Qy=0,z=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new We(!1);onMicrotaskEmpty=new We(!1);onStable=new We(!1);onError=new We(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=ff}=t;if(typeof Zone>"u")throw new b(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,Ky(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(ic)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new b(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new b(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,Zy,St,St);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)}},Zy={};function sc(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 Yy(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){pf(()=>{e.callbackScheduled=!1,Ta(e),e.isCheckStableRunning=!0,sc(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Ta(e)}function Ky(e){let t=()=>{Yy(e)},n=Qy++;e._inner=e._inner.fork({name:"angular",properties:{[ic]:!0,[Qo]:n,[Qo+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(Jy(c))return r.invokeTask(i,s,a,c);try{return Hu(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Bu(e)}},onInvoke:(r,o,i,s,a,c,l)=>{try{return Hu(e),r.invoke(i,s,a,c,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!Xy(c)&&t(),Bu(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Ta(e),sc(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 Ta(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Hu(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Bu(e){e._nesting--,sc(e)}var Zo=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new We;onMicrotaskEmpty=new We;onStable=new We;onError=new We;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 Jy(e){return hf(e,"__ignore_ng_zone__")}function Xy(e){return hf(e,"__scheduler_tick__")}function hf(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var ac=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=H({token:e,providedIn:"root",factory:()=>new e})}return e})(),gf=[0,1,2,3],mf=(()=>{class e{ngZone=I(z);scheduler=I(ge);errorHandler=I(Te,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){I(ar,{optional:!0})}execute(){let n=this.sequences.size>0;n&&R(16),this.executing=!0;for(let r of gf)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&&R(17)}register(n){let{view:r}=n;r!==void 0?((r[Tt]??=[]).push(n),nt(r),r[D]|=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(pi.AFTER_NEXT_RENDER,n):n()}static \u0275prov=H({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?.[Tt];t&&(this.view[Tt]=t.filter(n=>n!==this))}};function yf(e,t){let n=t?.injector??I(be);return Oe("NgAfterNextRender"),tv(e,n,t,!0)}function ev(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function tv(e,t,n,r){let o=t.get(ac);o.impl??=t.get(mf);let i=t.get(ar,null,{optional:!0}),s=n?.manualCleanup!==!0?t.get(ot):null,a=t.get(nn,null,{optional:!0}),c=new Yo(o.impl,ev(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var hi=new S("",{providedIn:"root",factory:()=>({queue:new Set,isScheduled:!1,scheduler:null})});function vf(e,t,n){let r=e.get(hi);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 nv(e,t){let n=e.get(hi);if(t.detachedLeaveAnimationFns){for(let r of t.detachedLeaveAnimationFns)n.queue.delete(r);t.detachedLeaveAnimationFns=void 0}}function rv(e){let t=e.get(hi);t.isScheduled||(yf(()=>{t.isScheduled=!1;for(let n of t.queue)n();t.queue.clear()},{injector:e}),t.isScheduled=!0)}function Ef(e){let t=e.get(hi);t.scheduler=rv,t.scheduler(e)}function If(e,t){for(let[n,r]of t)vf(e,r.animateFns)}function $u(e,t,n,r){let o=e?.[Be]?.enter;t!==null&&o&&o.has(n.index)&&If(r,o)}function rn(e,t,n,r,o,i,s,a){if(o!=null){let c,l=!1;ve(o)?c=o:xe(o)&&(l=!0,o=o[ye]);let u=le(o);e===0&&r!==null?($u(a,r,i,n),s==null?Kd(t,r,u):Wo(t,r,u,s||null,!0)):e===1&&r!==null?($u(a,r,i,n),Wo(t,r,u,s||null,!0)):e===2?Uu(a,i,n,d=>{Jd(t,u,l,d)}):e===3&&Uu(a,i,n,()=>{t.destroyNode(u)}),c!=null&&hv(t,e,n,c,i,r,s)}}function ov(e,t){Df(e,t),t[ye]=null,t[J]=null}function iv(e,t,n,r,o,i){r[ye]=o,r[J]=t,mi(e,r,n,1,o,i)}function Df(e,t){t[Ne].changeDetectionScheduler?.notify(9),mi(e,t,t[A],2,null,null)}function sv(e){let t=e[Yt];if(!t)return ea(e[m],e);for(;t;){let n=null;if(xe(t))n=t[Yt];else{let r=t[L];r&&(n=r)}if(!n){for(;t&&!t[ce]&&t!==e;)xe(t)&&ea(t[m],t),t=t[U];t===null&&(t=e),xe(t)&&ea(t[m],t),n=t&&t[ce]}t=n}}function cc(e,t){let n=e[Mt],r=n.indexOf(t);n.splice(r,1)}function gi(e,t){if(Nt(t))return;let n=t[A];n.destroyNode&&mi(e,t,n,3,null,null),sv(t)}function ea(e,t){if(Nt(t))return;let n=E(null);try{t[D]&=-129,t[D]|=256,t[ie]&&ut(t[ie]),lv(e,t),cv(e,t),t[m].type===1&&t[A].destroy();let r=t[Ve];if(r!==null&&ve(t[U])){r!==t[U]&&cc(r,t);let o=t[Se];o!==null&&o.detachView(e)}pa(t)}finally{E(n)}}function Uu(e,t,n,r){let o=e?.[Be];if(o==null||o.leave==null||!o.leave.has(t.index))return r(!1);e&&dn.add(e),vf(n,()=>{if(o.leave&&o.leave.has(t.index)){let s=o.leave.get(t.index),a=[];if(s){for(let c=0;c<s.animateFns.length;c++){let l=s.animateFns[c],{promise:u}=l();a.push(u)}o.detachedLeaveAnimationFns=void 0}o.running=Promise.allSettled(a),av(e,r)}else e&&dn.delete(e),r(!1)},o)}function av(e,t){let n=e[Be]?.running;if(n){n.then(()=>{e[Be].running=void 0,dn.delete(e),t(!0)});return}t(!1)}function cv(e,t){let n=e.cleanup,r=t[Zt];if(n!==null)for(let s=0;s<n.length-1;s+=2)if(typeof n[s]=="string"){let a=n[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[n[s+1]];n[s].call(a)}r!==null&&(t[Zt]=null);let o=t[Le];if(o!==null){t[Le]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[He];if(i!==null){t[He]=null;for(let s of i)s.destroy()}}function lv(e,t){let n;if(e!=null&&(n=e.destroyHooks)!=null)for(let r=0;r<n.length;r+=2){let o=t[n[r]];if(!(o instanceof Rt)){let i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],c=i[s+1];R(4,a,c);try{c.call(a)}finally{R(5,a,c)}}else{R(4,o,i);try{i.call(o)}finally{R(5,o,i)}}}}}function Cf(e,t,n){return uv(e,t.parent,n)}function uv(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[ye];if($e(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===un.None||o===un.Emulated)return null}return oe(r,n)}function _f(e,t,n){return fv(e,t,n)}function dv(e,t,n){return e.type&40?oe(e,n):null}var fv=dv,qu;function lc(e,t,n,r){let o=Cf(e,r,t),i=t[A],s=r.parent||t[J],a=_f(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)Lu(i,o,n[c],a,!1);else Lu(i,o,n,a,!1);qu!==void 0&&qu(i,r,t,n,o)}function zn(e,t){if(t!==null){let n=t.type;if(n&3)return oe(t,e);if(n&4)return Ko(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return zn(e,r);{let o=e[t.index];return ve(o)?Ko(-1,o):le(o)}}else{if(n&128)return zn(e,t.next);if(n&32)return oc(t,e)()||le(e[t.index]);{let r=wf(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=Xe(e[ee]);return zn(o,r)}else return zn(e,t.next)}}}return null}function wf(e,t){if(t!==null){let r=e[ee][J],o=t.projection;return r.projection[o]}return null}function Ko(e,t){let n=L+e+1;if(n<t.length){let r=t[n],o=r[m].firstChild;if(o!==null)return zn(r,o)}return t[tt]}function uc(e,t,n,r,o,i,s){for(;n!=null;){let a=r[X];if(n.type===128){n=n.next;continue}let c=r[n.index],l=n.type;if(s&&t===0&&(c&&ln(le(c),r),n.flags|=2),!li(n))if(l&8)uc(e,t,n.child,r,o,i,!1),rn(t,e,a,o,c,n,i,r);else if(l&32){let u=oc(n,r),d;for(;d=u();)rn(t,e,a,o,d,n,i,r);rn(t,e,a,o,c,n,i,r)}else l&16?bf(e,t,r,n,o,i):rn(t,e,a,o,c,n,i,r);n=s?n.projectionNext:n.next}}function mi(e,t,n,r,o,i){uc(n,r,e.firstChild,t,o,i,!1)}function pv(e,t,n){let r=t[A],o=Cf(e,n,t),i=n.parent||t[J],s=_f(i,n,t);bf(r,0,t,n,o,s)}function bf(e,t,n,r,o,i){let s=n[ee],c=s[J].projection[r.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++){let u=c[l];rn(t,e,n[X],o,u,r,i,n)}else{let l=c,u=s[U];xd(r)&&(l.flags|=128),uc(e,t,l,u,o,i,!0)}}function hv(e,t,n,r,o,i,s){let a=r[tt],c=le(r);a!==c&&rn(t,e,n,i,a,o,s);for(let l=L;l<r.length;l++){let u=r[l];mi(u[m],u,e,t,i,a)}}function gv(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:Go.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Go.Important),e.setStyle(n,r,o,i))}}function Tf(e,t,n,r,o){let i=Ae(),s=r&2;try{rt(-1),s&&t.length>k&&cf(e,t,k,!1),R(s?2:0,o,n),n(r,o)}finally{rt(i),R(s?3:1,o,n)}}function yi(e,t,n){Iv(e,t,n),(n.flags&64)===64&&Dv(e,t,n)}function cr(e,t,n=oe){let r=t.localNames;if(r!==null){let o=t.index+1;for(let i=0;i<r.length;i+=2){let s=r[i+1],a=s===-1?n(t,e):e[s];e[o++]=a}}}function mv(e,t,n,r){let i=r.get(Vd,jd)||n===un.ShadowDom,s=e.selectRootElement(t,i);return yv(s),s}function yv(e){vv(e)}var vv=()=>null;function Ev(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(vi(e,s,t,n,r)){$e(e)&&Sf(t,e.index);return}e.type&3&&(n=Ev(n)),Nf(e,t,n,r,o,i)}function Nf(e,t,n,r,o,i){if(e.type&3){let s=oe(e,t);r=i!=null?i(r,e.value||"",n):r,o.setProperty(s,n,r)}else e.type&12}function Sf(e,t){let n=ue(t,e);n[D]&16||(n[D]|=64)}function Iv(e,t,n){let r=n.directiveStart,o=n.directiveEnd;$e(n)&&By(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||Uo(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=Zn(t,e,s,n);if(ln(c,t),i!==null&&wv(t,s-r,c,a,n,i),Ee(a)){let l=ue(n.index,t);l[F]=Zn(t,e,s,n)}}}function Dv(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=pu();try{rt(i);for(let a=r;a<o;a++){let c=e.data[a],l=t[a];Do(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&Cv(c,l)}}finally{rt(-1),Do(s)}}function Cv(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function dc(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];of(t,i.selectors,!1)&&(r??=[],Ee(i)?r.unshift(i):r.push(i))}return r}function _v(e,t,n,r,o,i){let s=oe(e,t);xf(t[A],s,i,e.value,n,r,o)}function xf(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?et(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function wv(e,t,n,r,o,i){let s=i[t];if(s!==null)for(let a=0;a<s.length;a+=2){let c=s[a],l=s[a+1];wa(r,n,c,l)}}function fc(e,t,n,r,o){let i=k+n,s=t[m],a=o(s,t,e,r,n);t[i]=a,Xt(e,!0);let c=e.type===2;return c?(Xd(t[A],a,e),(ru()===0||Kt(e))&&ln(a,t),ou()):ln(a,t),bo()&&(!c||!li(e))&&lc(s,t,a,e),e}function pc(e){let t=e;return Bs()?$s():(t=t.parent,Xt(t,!1)),t}function bv(e,t){let n=e[X];if(!n)return;let r;try{r=n.get(qe,null)}catch{r=null}r?.(t)}function vi(e,t,n,r,o){let i=e.inputs?.[r],s=e.hostDirectiveInputs?.[r],a=!1;if(s)for(let c=0;c<s.length;c+=2){let l=s[c],u=s[c+1],d=t.data[l];wa(d,n[l],u,o),a=!0}if(i)for(let c of i){let l=n[c],u=t.data[c];wa(u,l,r,o),a=!0}return a}function Tv(e,t){let n=ue(t,e),r=n[m];Mv(r,n);let o=n[ye];o!==null&&n[_t]===null&&(n[_t]=Hd(o,n[X])),R(18),hc(r,n,n[F]),R(19,n[F])}function Mv(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function hc(e,t,n){_o(t);try{let r=e.viewQuery;r!==null&&ga(1,r,n);let o=e.template;o!==null&&Tf(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[Se]?.finishViewCreation(e),e.staticContentQueries&&Bd(e,t),e.staticViewQueries&&ga(2,e.viewQuery,n);let i=e.components;i!==null&&Nv(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[D]&=-5,wo()}}function Nv(e,t){for(let n=0;n<t.length;n++)Tv(e,t[n])}function lr(e,t,n,r){let o=E(null);try{let i=t.tView,a=e[D]&4096?4096:16,c=nc(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),l=e[t.index];c[Ve]=l;let u=e[Se];return u!==null&&(c[Se]=u.createEmbeddedView(i)),hc(i,c,n),c}finally{E(o)}}function fn(e,t){return!t||t.firstChild===null||xd(e)}function Yn(e,t,n,r,o=!1){for(;n!==null;){if(n.type===128){n=o?n.projectionNext:n.next;continue}let i=t[n.index];i!==null&&r.push(le(i)),ve(i)&&Af(i,r);let s=n.type;if(s&8)Yn(e,t,n.child,r);else if(s&32){let a=oc(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=wf(t,n);if(Array.isArray(a))r.push(...a);else{let c=Xe(t[ee]);Yn(c[m],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function Af(e,t){for(let n=L;n<e.length;n++){let r=e[n],o=r[m].firstChild;o!==null&&Yn(r[m],r,o,t)}e[tt]!==e[ye]&&t.push(e[tt])}function Rf(e){if(e[Tt]!==null){for(let t of e[Tt])t.impl.addSequence(t);e[Tt].length=0}}var Of=[];function Sv(e){return e[ie]??xv(e)}function xv(e){let t=Of.pop()??Object.create(Rv);return t.lView=e,t}function Av(e){e.lView[ie]!==e&&(e.lView=null,Of.push(e))}var Rv=G(W({},at),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{nt(e.lView)},consumerOnSignalRead(){this.lView[ie]=this}});function Ov(e){let t=e[ie]??Object.create(kv);return t.lView=e,t}var kv=G(W({},at),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=Xe(e.lView);for(;t&&!kf(t[m]);)t=Xe(t);t&&Rs(t)},consumerOnSignalRead(){this.lView[ie]=this}});function kf(e){return e.type!==2}function Pf(e){if(e[He]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[He])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[D]&8192)}}var Pv=100;function Lf(e,t=0){let r=e[Ne].rendererFactory,o=!1;o||r.begin?.();try{Lv(e,t)}finally{o||r.end?.()}}function Lv(e,t){let n=Us();try{en(!0),Ma(e,t);let r=0;for(;$n(e);){if(r===Pv)throw new b(103,!1);r++,Ma(e,1)}}finally{en(n)}}function Fv(e,t,n,r){if(Nt(t))return;let o=t[D],i=!1,s=!1;_o(t);let a=!0,c=null,l=null;i||(kf(e)?(l=Sv(t),c=lt(l)):wr()===null?(a=!1,l=Ov(t),c=lt(l)):t[ie]&&(ut(t[ie]),t[ie]=null));try{As(t),uu(e.bindingStartIndex),n!==null&&Tf(e,t,n,2,r);let u=(o&3)===3;if(!i)if(u){let f=e.preOrderCheckHooks;f!==null&&Oo(t,f,null)}else{let f=e.preOrderHooks;f!==null&&ko(t,f,0,null),Js(t,0)}if(s||jv(t),Pf(t),Ff(t,0),e.contentQueries!==null&&Bd(e,t),!i)if(u){let f=e.contentCheckHooks;f!==null&&Oo(t,f)}else{let f=e.contentHooks;f!==null&&ko(t,f,1),Js(t,1)}Hv(e,t);let d=e.components;d!==null&&Vf(t,d,0);let p=e.viewQuery;if(p!==null&&ga(2,p,r),!i)if(u){let f=e.viewCheckHooks;f!==null&&Oo(t,f)}else{let f=e.viewHooks;f!==null&&ko(t,f,2),Js(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[go]){for(let f of t[go])f();t[go]=null}i||(Rf(t),t[D]&=-73)}catch(u){throw i||nt(t),u}finally{l!==null&&(Ft(l,c),a&&Av(l)),wo()}}function Ff(e,t){for(let n=Rd(e);n!==null;n=Od(n))for(let r=L;r<n.length;r++){let o=n[r];jf(o,t)}}function jv(e){for(let t=Rd(e);t!==null;t=Od(t)){if(!(t[D]&2))continue;let n=t[Mt];for(let r=0;r<n.length;r++){let o=n[r];Rs(o)}}}function Vv(e,t,n){R(18);let r=ue(t,e);jf(r,n),R(19,r[F])}function jf(e,t){yo(e)&&Ma(e,t)}function Ma(e,t){let r=e[m],o=e[D],i=e[ie],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&jt(i)),s||=!1,i&&(i.dirty=!1),e[D]&=-9217,s)Fv(r,e,r.template,e[F]);else if(o&8192){let a=E(null);try{Pf(e),Ff(e,1);let c=r.components;c!==null&&Vf(e,c,1),Rf(e)}finally{E(a)}}}function Vf(e,t,n){for(let r=0;r<t.length;r++)Vv(e,t[r],n)}function Hv(e,t){let n=e.hostBindingOpCodes;if(n!==null)try{for(let r=0;r<n.length;r++){let o=n[r];if(o<0)rt(~o);else{let i=o,s=n[++r],a=n[++r];fu(s,i);let c=t[i];R(24,c),a(2,c),R(25,c)}}}finally{rt(-1)}}function gc(e,t){let n=Us()?64:1088;for(e[Ne].changeDetectionScheduler?.notify(t);e;){e[D]|=n;let r=Xe(e);if(Jt(e)&&!r)return e;e=r}return null}function Hf(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function Bf(e,t){let n=L+t;if(n<e.length)return e[n]}function ur(e,t,n,r=!0){let o=t[m];if(Bv(o,t,e,n),r){let s=Ko(n,e),a=t[A],c=a.parentNode(e[tt]);c!==null&&iv(o,e[J],a,t,c,s)}let i=t[_t];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function $f(e,t){let n=Kn(e,t);return n!==void 0&&gi(n[m],n),n}function Kn(e,t){if(e.length<=L)return;let n=L+t,r=e[n];if(r){let o=r[Ve];o!==null&&o!==e&&cc(o,r),t>0&&(e[n-1][ce]=r[ce]);let i=Ln(e,L+t);ov(r[m],r);let s=i[Se];s!==null&&s.detachView(i[m]),r[U]=null,r[ce]=null,r[D]&=-129}return r}function Bv(e,t,n,r){let o=L+r,i=n.length;r>0&&(n[o-1][ce]=t),r<i-L?(t[ce]=n[o],ms(n,L+r,t)):(n.push(t),t[ce]=null),t[U]=n;let s=t[Ve];s!==null&&n!==s&&Uf(s,t);let a=t[Se];a!==null&&a.insertView(e),vo(t),t[D]|=128}function Uf(e,t){let n=e[Mt],r=t[U];if(xe(r))e[D]|=2;else{let o=r[U][ee];t[ee]!==o&&(e[D]|=2)}n===null?e[Mt]=[t]:n.push(t)}var st=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let t=this._lView,n=t[m];return Yn(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n}get context(){return this._lView[F]}set context(t){this._lView[F]=t}get destroyed(){return Nt(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[U];if(ve(t)){let n=t[Hn],r=n?n.indexOf(this):-1;r>-1&&(Kn(t,r),Ln(n,r))}this._attachedToViewContainer=!1}gi(this._lView[m],this._lView)}onDestroy(t){Os(this._lView,t)}markForCheck(){gc(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[D]&=-129}reattach(){vo(this._lView),this._lView[D]|=128}detectChanges(){this._lView[D]|=1024,Lf(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new b(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=Jt(this._lView),n=this._lView[Ve];n!==null&&!t&&cc(n,this._lView),Df(this._lView[m],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new b(902,!1);this._appRef=t;let n=Jt(this._lView),r=this._lView[Ve];r!==null&&!n&&Uf(r,this._lView),vo(this._lView)}};var Jn=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=$v;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=lr(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:r,dehydratedView:o});return new st(i)}}return e})();function $v(){return Ei(j(),g())}function Ei(e,t){return e.type&4?new Jn(t,e,En(e,t)):null}function In(e,t,n,r,o){let i=e.data[t];if(i===null)i=Uv(e,t,n,r,o),du()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=au();i.injectorIndex=s===null?-1:s.injectorIndex}return Xt(i,!0),i}function Uv(e,t,n,r,o){let i=Hs(),s=Bs(),a=s?i:i&&i.parent,c=e.data[t]=Wv(e,a,n,t,r,o);return qv(e,c,i,s),c}function qv(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 Wv(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return Fs()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs: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}}var Wx=new RegExp(`^(\\d+)*(${Hm}|${Vm})*(.*)`);function Gv(e){let t=e[Ts]??[],r=e[U][A],o=[];for(let i of t)i.data[Fd]!==void 0?o.push(i):zv(i,r);e[Ts]=o}function zv(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[Ld];for(;n<o;){let i=r.nextSibling;Jd(t,r,!1),r=i,n++}}}var Qv=()=>null,Zv=()=>null;function Jo(e,t){return Qv(e,t)}function qf(e,t,n){return Zv(e,t,n)}var Wf=class{},Ii=class{},Na=class{resolveComponentFactory(t){throw new b(917,!1)}},dr=class{static NULL=new Na},Xn=class{},Yv=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>Kv()}return e})();function Kv(){let e=g(),t=j(),n=ue(t.index,e);return(xe(n)?n:e)[A]}var Gf=(()=>{class e{static \u0275prov=H({token:e,providedIn:"root",factory:()=>null})}return e})();var Lo={},Sa=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){let o=this.injector.get(t,Lo,r);return o!==Lo||n===Lo?o:this.parentInjector.get(t,n,r)}};function Xo(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s<t.length;s++){let a=t[s];if(typeof a=="number")i=a;else if(i==1)o=io(o,a);else if(i==2){let c=a,l=t[++s];r=io(r,c+": "+l+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function fr(e,t=0){let n=g();if(n===null)return we(e,t);let r=j();return bd(r,n,$(e),t)}function Jv(){let e="invalid";throw new Error(e)}function zf(e,t,n,r,o){let i=r===null?null:{"":-1},s=o(e,n);if(s!==null){let a=s,c=null,l=null;for(let u of s)if(u.resolveHostDirectives!==null){[a,c,l]=u.resolveHostDirectives(s);break}tE(e,t,n,a,i,c,l)}i!==null&&r!==null&&Xv(n,r,i)}function Xv(e,t,n){let r=e.localNames=[];for(let o=0;o<t.length;o+=2){let i=n[t[o+1]];if(i==null)throw new b(-301,!1);r.push(t[o],i)}}function eE(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function tE(e,t,n,r,o,i,s){let a=r.length,c=!1;for(let p=0;p<a;p++){let f=r[p];!c&&Ee(f)&&(c=!0,eE(e,n,p)),da(Uo(n,t),e,f.type)}aE(n,e.data.length,a);for(let p=0;p<a;p++){let f=r[p];f.providersResolver&&f.providersResolver(f)}let l=!1,u=!1,d=af(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let p=0;p<a;p++){let f=r[p];if(n.mergedAttrs=cn(n.mergedAttrs,f.hostAttrs),rE(e,n,t,d,f),sE(d,f,o),s!==null&&s.has(f)){let[y,N]=s.get(f);n.directiveToIndex.set(f.type,[d,y+n.directiveStart,N+n.directiveStart])}else(i===null||!i.has(f))&&n.directiveToIndex.set(f.type,d);f.contentQueries!==null&&(n.flags|=4),(f.hostBindings!==null||f.hostAttrs!==null||f.hostVars!==0)&&(n.flags|=64);let h=f.type.prototype;!l&&(h.ngOnChanges||h.ngOnInit||h.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),l=!0),!u&&(h.ngOnChanges||h.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),u=!0),d++}nE(e,n,i)}function nE(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let o=e.data[r];if(n===null||!n.has(o))Wu(0,t,o,r),Wu(1,t,o,r),zu(t,r,!1);else{let i=n.get(o);Gu(0,t,i,r),Gu(1,t,i,r),zu(t,r,!0)}}}function Wu(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s;e===0?s=t.inputs??={}:s=t.outputs??={},s[i]??=[],s[i].push(r),Qf(t,i)}}function Gu(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s=o[i],a;e===0?a=t.hostDirectiveInputs??={}:a=t.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,i),Qf(t,s)}}function Qf(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function zu(e,t,n){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!n&&o===null||n&&i===null||ec(e)){e.initialInputs??=[],e.initialInputs.push(null);return}let s=null,a=0;for(;a<r.length;){let c=r[a];if(c===0){a+=4;continue}else if(c===5){a+=2;continue}else if(typeof c=="number")break;if(!n&&o.hasOwnProperty(c)){let l=o[c];for(let u of l)if(u===t){s??=[],s.push(c,r[a+1]);break}}else if(n&&i.hasOwnProperty(c)){let l=i[c];for(let u=0;u<l.length;u+=2)if(l[u]===t){s??=[],s.push(l[u+1],r[a+1]);break}}a+=2}e.initialInputs??=[],e.initialInputs.push(s)}function rE(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=Je(o.type,!0)),s=new Rt(i,Ee(o),fr,null);e.blueprint[r]=s,n[r]=s,oE(e,t,r,af(e,n,o.hostVars,ne),o)}function oE(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;iE(s)!=a&&s.push(a),s.push(n,r,i)}}function iE(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function sE(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Ee(t)&&(n[""]=e)}}function aE(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function mc(e,t,n,r,o,i,s,a){let c=t[m],l=c.consts,u=de(l,s),d=In(c,e,n,r,u);return i&&zf(c,t,d,de(l,a),o),d.mergedAttrs=cn(d.mergedAttrs,d.attrs),d.attrs!==null&&Xo(d,d.attrs,!1),d.mergedAttrs!==null&&Xo(d,d.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,d),d}function yc(e,t){md(e,t),Ms(t)&&e.queries.elementEnd(t)}function cE(e,t,n,r,o,i){let s=t.consts,a=de(s,o),c=In(t,e,n,r,a);if(c.mergedAttrs=cn(c.mergedAttrs,c.attrs),i!=null){let l=de(s,i);c.localNames=[];for(let u=0;u<l.length;u+=2)c.localNames.push(l[u],-1)}return c.attrs!==null&&Xo(c,c.attrs,!1),c.mergedAttrs!==null&&Xo(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}function vc(e){return Di(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function Zf(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{let n=e[Symbol.iterator](),r;for(;!(r=n.next()).done;)t(r.value)}}function Di(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function Qe(e,t,n){return e[t]=n}function pr(e,t){return e[t]}function te(e,t,n){if(n===ne)return!1;let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function pn(e,t,n,r){let o=te(e,t,n);return te(e,t+1,r)||o}function Yf(e,t,n,r,o){let i=pn(e,t,n,r);return te(e,t+2,o)||i}function hn(e,t,n,r,o,i){let s=pn(e,t,n,r);return pn(e,t+2,o,i)||s}function ta(e,t,n){return function r(o){let i=$e(e)?ue(e.index,t):t;gc(i,5);let s=t[F],a=Qu(t,s,n,o),c=r.__ngNextListenerFn__;for(;c;)a=Qu(t,s,c,o)&&a,c=c.__ngNextListenerFn__;return a}}function Qu(e,t,n,r){let o=E(null);try{return R(6,t,n),n(r)!==!1}catch(i){return bv(e,i),!1}finally{R(7,t,n),E(o)}}function lE(e,t,n,r,o,i,s,a){let c=Kt(e),l=!1,u=null;if(!r&&c&&(u=dE(t,n,i,e.index)),u!==null){let d=u.__ngLastListenerFn__||u;d.__ngNextListenerFn__=s,u.__ngLastListenerFn__=s,l=!0}else{let d=oe(e,n),p=r?r(d):d;Um(n,p,i,a);let f=o.listen(p,i,a);if(!uE(i)){let h=r?y=>r(le(y[e.index])):e.index;Kf(h,t,n,i,a,f,!1)}}return l}function uE(e){return e.startsWith("animation")||e.startsWith("transition")}function dE(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;i<o.length-1;i+=2){let s=o[i];if(s===n&&o[i+1]===r){let a=t[Zt],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function Kf(e,t,n,r,o,i,s){let a=t.firstCreatePass?Ps(t):null,c=ks(n),l=c.length;c.push(o,i),a&&a.push(r,e,l,(l+1)*(s?-1:1))}function Zu(e,t,n,r,o,i){let s=t[n],a=t[m],l=a.data[n].outputs[r],d=s[l].subscribe(i);Kf(e.index,a,t,o,i,d,!0)}var xa=Symbol("BINDING");var ei=class extends dr{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=je(t);return new Ot(n,this.ngModule)}};function fE(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&fi.SignalBased)!==0};return o&&(i.transform=o),i})}function pE(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function hE(e,t,n){let r=t instanceof ae?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new Sa(n,r):n}function gE(e){let t=e.get(Xn,null);if(t===null)throw new b(407,!1);let n=e.get(Gf,null),r=e.get(ge,null);return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r,ngReflect:!1}}function mE(e,t){let n=Jf(e);return Yd(t,n,n==="svg"?Ns:n==="math"?Kl:null)}function Jf(e){return(e.selectors[0][0]||"div").toLowerCase()}var Ot=class extends Ii{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=fE(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=pE(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=Fy(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o,i,s){R(22);let a=E(null);try{let c=this.componentDef,l=yE(r,c,s,i),u=hE(c,o||this.ngModule,t),d=gE(u),p=d.rendererFactory.createRenderer(null,c),f=r?mv(p,r,c.encapsulation,u):mE(c,p),h=s?.some(Yu)||i?.some(_=>typeof _!="function"&&_.bindings.some(Yu)),y=nc(null,l,null,512|sf(c),null,null,d,p,u,null,Hd(f,u,!0));y[k]=f,_o(y);let N=null;try{let _=mc(k,y,2,"#host",()=>l.directiveRegistry,!0,0);Xd(p,f,_),ln(f,y),yi(l,y,_),Ka(l,_,y),yc(l,_),n!==void 0&&EE(_,this.ngContentSelectors,n),N=ue(_.index,y),y[F]=N[F],hc(l,y,null)}catch(_){throw N!==null&&pa(N),pa(y),_}finally{R(23),wo()}return new ti(this.componentType,y,!!h)}finally{E(a)}}};function yE(e,t,n,r){let o=e?["ng-version","20.3.15"]:jy(t.selectors[0]),i=null,s=null,a=0;if(n)for(let u of n)a+=u[xa].requiredVars,u.create&&(u.targetIdx=0,(i??=[]).push(u)),u.update&&(u.targetIdx=0,(s??=[]).push(u));if(r)for(let u=0;u<r.length;u++){let d=r[u];if(typeof d!="function")for(let p of d.bindings){a+=p[xa].requiredVars;let f=u+1;p.create&&(p.targetIdx=f,(i??=[]).push(p)),p.update&&(p.targetIdx=f,(s??=[]).push(p))}}let c=[t];if(r)for(let u of r){let d=typeof u=="function"?u:u.type,p=fo(d);c.push(p)}return tc(0,null,vE(i,s),1,a,c,null,null,null,[o],null)}function vE(e,t){return!e&&!t?null:n=>{if(n&1&&e)for(let r of e)r.create();if(n&2&&t)for(let r of t)r.update()}}function Yu(e){let t=e[xa].kind;return t==="input"||t==="twoWay"}var ti=class extends Wf{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=Bn(n[m],k),this.location=En(this._tNode,n),this.instance=ue(this._tNode.index,n)[F],this.hostView=this.changeDetectorRef=new st(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=vi(r,o[m],o,t,n);this.previousInputValues.set(t,n);let s=ue(r.index,o);gc(s,1)}get injector(){return new xt(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function EE(e,t,n){let r=e.projection=[];for(let o=0;o<t.length;o++){let i=n[o];r.push(i!=null&&i.length?Array.from(i):null)}}var Ci=(()=>{class e{static __NG_ELEMENT_ID__=IE}return e})();function IE(){let e=j();return ep(e,g())}var DE=Ci,Xf=class extends DE{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return En(this._hostTNode,this._hostLView)}get injector(){return new xt(this._hostTNode,this._hostLView)}get parentInjector(){let t=Qa(this._hostTNode,this._hostLView);if(Ed(t)){let n=Bo(t,this._hostLView),r=Ho(t),o=n[m].data[r+8];return new xt(o,n)}else return new xt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=Ku(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-L}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=Jo(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,fn(this._hostTNode,s)),a}createComponent(t,n,r,o,i,s,a){let c=t&&!am(t),l;if(c)l=n;else{let N=n||{};l=N.index,r=N.injector,o=N.projectableNodes,i=N.environmentInjector||N.ngModuleRef,s=N.directives,a=N.bindings}let u=c?t:new Ot(je(t)),d=r||this.parentInjector;if(!i&&u.ngModule==null){let _=(c?d:this.parentInjector).get(ae,null);_&&(i=_)}let p=je(u.componentType??{}),f=Jo(this._lContainer,p?.id??null),h=f?.firstChild??null,y=u.create(d,o,h,i,s,a);return this.insertImpl(y.hostView,l,fn(this._hostTNode,f)),y}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(Xl(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[U],l=new Xf(c,c[J],c[U]);l.detach(l.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return ur(s,o,i,r),t.attachToViewContainerRef(),ms(na(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Ku(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=Kn(this._lContainer,n);r&&(Ln(na(this._lContainer),n),gi(r[m],r))}detach(t){let n=this._adjustIndex(t,-1),r=Kn(this._lContainer,n);return r&&Ln(na(this._lContainer),n)!=null?new st(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Ku(e){return e[Hn]}function na(e){return e[Hn]||(e[Hn]=[])}function ep(e,t){let n,r=t[e.index];return ve(r)?n=r:(n=Hf(r,t,null,e),t[e.index]=n,rc(t,n)),_E(n,t,e,r),new Xf(n,e,t)}function CE(e,t){let n=e[A],r=n.createComment(""),o=oe(t,e),i=n.parentNode(o);return Wo(n,i,r,n.nextSibling(o),!1),r}var _E=TE,wE=()=>!1;function bE(e,t,n){return wE(e,t,n)}function TE(e,t,n,r){if(e[tt])return;let o;n.type&8?o=le(r):o=CE(t,n),e[tt]=o}var Aa=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},Ra=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;i<r;i++){let s=n.getByIndex(i),a=this.queries[s.indexInDeclarationView];o.push(a.clone())}return new e(o)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)Ic(t,n).matches!==null&&this.queries[n].setDirty()}},ni=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=RE(t):this.predicate=t}},Oa=class e{queries;constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){let o=n!==null?n.length:0,i=this.getByIndex(r).embeddedTView(t,o);i&&(i.indexInDeclarationView=r,n!==null?n.push(i):n=[i])}return n!==null?new e(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}},ka=class e{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(t,n=-1){this.metadata=t,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new e(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let n=this._declarationNodeIndex,r=t.parent;for(;r!==null&&r.type&8&&r.index!==n;)r=r.parent;return n===(r!==null?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){let r=this.metadata.predicate;if(Array.isArray(r))for(let o=0;o<r.length;o++){let i=r[o];this.matchTNodeWithReadOption(t,n,ME(n,i)),this.matchTNodeWithReadOption(t,n,Po(n,t,i,!1,!1))}else r===Jn?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Po(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===or||o===Ci||o===Jn&&n.type&4)this.addMatch(n.index,-2);else{let i=Po(n,t,o,!1,!1);i!==null&&this.addMatch(n.index,i)}else this.addMatch(n.index,r)}}addMatch(t,n){this.matches===null?this.matches=[t,n]:this.matches.push(t,n)}};function ME(e,t){let n=e.localNames;if(n!==null){for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1]}return null}function NE(e,t){return e.type&11?En(e,t):e.type&4?Ei(e,t):null}function SE(e,t,n,r){return n===-1?NE(t,e):n===-2?xE(e,t,r):Zn(e,e[m],n,t)}function xE(e,t,n){if(n===or)return En(t,e);if(n===Jn)return Ei(t,e);if(n===Ci)return ep(t,e)}function tp(e,t,n,r){let o=t[Se].queries[r];if(o.matches===null){let i=e.data,s=n.matches,a=[];for(let c=0;s!==null&&c<s.length;c+=2){let l=s[c];if(l<0)a.push(null);else{let u=i[l];a.push(SE(t,u,s[c+1],n.metadata.read))}}o.matches=a}return o.matches}function Pa(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=tp(e,t,o,n);for(let a=0;a<i.length;a+=2){let c=i[a];if(c>0)r.push(s[a/2]);else{let l=i[a+1],u=t[-c];for(let d=L;d<u.length;d++){let p=u[d];p[Ve]===p[U]&&Pa(p[m],p,l,r)}if(u[Mt]!==null){let d=u[Mt];for(let p=0;p<d.length;p++){let f=d[p];Pa(f[m],f,l,r)}}}}}return r}function Ec(e,t){return e[Se].queries[t].queryList}function np(e,t,n){let r=new qo((n&4)===4);return nu(e,t,r,r.destroy),(t[Se]??=new Ra).queries.push(new Aa(r))-1}function AE(e,t,n){let r=P();return r.firstCreatePass&&(op(r,new ni(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),np(r,g(),t)}function rp(e,t,n,r){let o=P();if(o.firstCreatePass){let i=j();op(o,new ni(t,n,r),i.index),OE(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return np(o,g(),n)}function RE(e){return e.split(",").map(t=>t.trim())}function op(e,t,n){e.queries===null&&(e.queries=new Oa),e.queries.track(new ka(t,n))}function OE(e,t){let n=e.contentQueries||(e.contentQueries=[]),r=n.length?n[n.length-1]:-1;t!==r&&n.push(e.queries.length-1,t)}function Ic(e,t){return e.queries.getByIndex(t)}function ip(e,t){let n=e[m],r=Ic(n,t);return r.crossesNgTemplate?Pa(n,e,t,[]):tp(n,e,r,t)}function sp(e,t,n){let r,o=Cn(()=>{r._dirtyCounter();let i=PE(r,e);if(t&&i===void 0)throw new b(-951,!1);return i});return r=o[B],r._dirtyCounter=To(0),r._flatValue=void 0,o}function ap(e){return sp(!0,!1,e)}function cp(e){return sp(!0,!0,e)}function kE(e,t){let n=e[B];n._lView=g(),n._queryIndex=t,n._queryList=Ec(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function PE(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[D]&4)return t?void 0:Z;let o=Ec(n,r),i=ip(n,r);return o.reset(i,Sd),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}var gn=class{},lp=class{};var ri=class extends gn{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new ei(this);constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=Es(t);this._bootstrapComponents=nf(i.bootstrap),this._r3Injector=Gs(t,n,[{provide:gn,useValue:this},{provide:dr,useValue:this.componentFactoryResolver},...r],Fe(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)}},oi=class extends lp{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new ri(this.moduleType,t,[])}};var er=class extends gn{injector;componentFactoryResolver=new ei(this);instance=null;constructor(t){super();let n=new It([...t.providers,{provide:gn,useValue:this},{provide:dr,useValue:this.componentFactoryResolver}],t.parent||jn(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function up(e,t,n=null){return new er({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var LE=(()=>{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=Is(!1,n.type),o=r.length>0?up([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=H({token:e,providedIn:"environment",factory:()=>new e(we(ae))})}return e})();function FE(e){return rr(()=>{let t=dp(e),n=G(W({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Za.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(LE).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||un.Emulated,styles:e.styles||Z,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&Oe("NgStandalone"),fp(n);let r=e.dependencies;return n.directiveDefs=Ju(r,jE),n.pipeDefs=Ju(r,ql),n.id=qE(n),n})}function jE(e){return je(e)||fo(e)}function VE(e){return rr(()=>({type:e.type,bootstrap:e.bootstrap||Z,declarations:e.declarations||Z,imports:e.imports||Z,exports:e.exports||Z,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function HE(e,t){if(e==null)return me;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=fi.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function BE(e){if(e==null)return me;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function $E(e){return rr(()=>{let t=dp(e);return fp(t),t})}function UE(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 dp(e){let t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputConfig:e.inputs||me,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||Z,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,inputs:HE(e.inputs,t),outputs:BE(e.outputs),debugInfo:null}}function fp(e){e.features?.forEach(t=>t(e))}function Ju(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 qE(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 WE(e){return Object.getPrototypeOf(e.prototype).constructor}function pp(e){let t=WE(e.type),n=!0,r=[e];for(;t;){let o;if(Ee(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new b(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&&YE(e,a);let c=o.viewQuery,l=o.contentQueries;if(c&&QE(e,c),l&&ZE(e,l),GE(e,o),kl(e.outputs,o.outputs),Ee(o)&&o.data.animation){let u=e.data;u.animation=(u.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s<i.length;s++){let a=i[s];a&&a.ngInherit&&a(e),a===pp&&(n=!1)}}t=Object.getPrototypeOf(t)}zE(r)}function GE(e,t){for(let n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;let r=t.inputs[n];r!==void 0&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n])}}function zE(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){let o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=cn(o.hostAttrs,n=cn(n,o.hostAttrs))}}function ra(e){return e===me?{}:e===Z?[]:e}function QE(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function ZE(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function YE(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function KE(e){let t=n=>{let r=Array.isArray(e);n.hostDirectives===null?(n.resolveHostDirectives=JE,n.hostDirectives=r?e.map(La):[e]):r?n.hostDirectives.unshift(...e.map(La)):n.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function JE(e){let t=[],n=!1,r=null,o=null;for(let i=0;i<e.length;i++){let s=e[i];if(s.hostDirectives!==null){let a=t.length;r??=new Map,o??=new Map,hp(s,t,r),o.set(s,[a,t.length-1])}i===0&&Ee(s)&&(n=!0,t.push(s))}for(let i=n?1:0;i<e.length;i++)t.push(e[i]);return[t,r,o]}function hp(e,t,n){if(e.hostDirectives!==null)for(let r of e.hostDirectives)if(typeof r=="function"){let o=r();for(let i of o)Xu(La(i),t,n)}else Xu(r,t,n)}function Xu(e,t,n){let r=fo(e.directive);XE(r.declaredInputs,e.inputs),hp(r,t,n),n.set(r,e),t.push(r)}function La(e){return typeof e=="function"?{directive:$(e),inputs:me,outputs:me}:{directive:$(e.directive),inputs:ed(e.inputs),outputs:ed(e.outputs)}}function ed(e){if(e===void 0||e.length===0)return me;let t={};for(let n=0;n<e.length;n+=2)t[e[n]]=e[n+1];return t}function XE(e,t){for(let n in t)if(t.hasOwnProperty(n)){let r=t[n],o=e[n];e[r]=o}}function gp(e,t,n,r,o,i,s,a){if(n.firstCreatePass){e.mergedAttrs=cn(e.mergedAttrs,e.attrs);let u=e.tView=tc(2,e,o,i,s,n.directiveRegistry,n.pipeRegistry,null,n.schemas,n.consts,null);n.queries!==null&&(n.queries.template(n,e),u.queries=n.queries.embeddedTView(e))}a&&(e.flags|=a),Xt(e,!1);let c=tI(n,t,e,r);bo()&&lc(n,t,c,e),ln(c,t);let l=Hf(c,t,c,e);t[r+k]=l,rc(t,l),bE(l,e,t)}function eI(e,t,n,r,o,i,s,a,c,l,u){let d=n+k,p;return t.firstCreatePass?(p=In(t,d,4,s||null,a||null),Eo()&&zf(t,e,p,de(t.consts,l),dc),md(t,p)):p=t.data[d],gp(p,e,t,n,r,o,i,c),Kt(p)&&yi(t,e,p),l!=null&&cr(e,p,u),p}function tr(e,t,n,r,o,i,s,a,c,l,u){let d=n+k,p;if(t.firstCreatePass){if(p=In(t,d,4,s||null,a||null),l!=null){let f=de(t.consts,l);p.localNames=[];for(let h=0;h<f.length;h+=2)p.localNames.push(f[h],-1)}}else p=t.data[d];return gp(p,e,t,n,r,o,i,c),l!=null&&cr(e,p,u),p}function mp(e,t,n,r,o,i,s,a){let c=g(),l=P(),u=de(l.consts,i);return eI(c,l,e,t,n,r,o,u,void 0,s,a),mp}var tI=nI;function nI(e,t,n,r){return qn(!0),t[A].createComment("")}var rI=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();var yp=new S("");function Dc(e){return!!e&&typeof e.then=="function"}function vp(e){return!!e&&typeof e.subscribe=="function"}var Cc=new S("");function oI(e){return po([{provide:Cc,multi:!0,useValue:e}])}var _c=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=I(Cc,{optional:!0})??[];injector=I(be);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=ho(this.injector,o);if(Dc(i))n.push(i);else if(vp(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=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Ep=new S("");function Ip(){Oi(()=>{let e="";throw new b(600,e)})}function Dp(e){return e.isBoundToModule}var iI=10;var hr=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=I(qe);afterRenderManager=I(ac);zonelessEnabled=I(Wn);rootEffectScheduler=I(Gn);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new se;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=I(it);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(Ke(n=>!n))}constructor(){I(ar,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=I(ae);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=be.NULL){return this._injector.get(z).run(()=>{R(10);let s=n instanceof Ii;if(!this._injector.get(_c).done){let h="";throw new b(405,h)}let c;s?c=n:c=this._injector.get(dr).resolveComponentFactory(n),this.componentTypes.push(c.componentType);let l=Dp(c)?void 0:this._injector.get(gn),u=r||c.selector,d=c.create(o,[],u,l),p=d.location.nativeElement,f=d.injector.get(yp,null);return f?.registerApplication(p),d.onDestroy(()=>{this.detachView(d.hostView),Qn(this.components,d),f?.unregisterApplication(p)}),this._loadComponent(d),R(11,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){R(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(pi.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new b(101,!1);let n=E(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,E(n),this.afterTick.next(),R(13)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Xn,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<iI;)R(14),this.synchronizeOnce(),R(15)}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let n=!1;if(this.dirtyFlags&7){let r=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:o}of this.allViews){if(!r&&!$n(o))continue;let i=r&&!this.zonelessEnabled?0:1;Lf(o,i),n=!0}if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}n||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>$n(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;Qn(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(Ep,[]).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),()=>Qn(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new b(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=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Qn(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function sI(){let e,t;return{promise:new Promise((r,o)=>{e=r,t=o}),resolve:e,reject:t}}function Cp(e,t){let n=g(),r=Ue();if(te(n,r,t)){let o=P(),i=tn();if(vi(i,o,n,e,t))$e(i)&&Sf(n,i.index);else{let a=oe(i,n);xf(n[A],a,null,i.value,e,t,null)}}return Cp}function _p(e,t,n,r){let o=g(),i=Ue();if(te(o,i,t)){let s=P(),a=tn();_v(a,o,e,t,n,r)}return _p}var wp=new S("",{providedIn:"root",factory:()=>!1});var aI=!1,gr=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";function bp(e){return e[X].get(wp,aI)}function cI(e,t,n){let r=mn.get(e);if(r){for(let o of t)r.classList.push(o);for(let o of n)r.cleanupFns.push(o)}else mn.set(e,{classList:t,cleanupFns:n})}function wc(e){let t=mn.get(e);if(t){for(let n of t.cleanupFns)n();mn.delete(e)}At.delete(e)}var mn=new WeakMap,At=new WeakMap,an=new WeakMap;function td(e,t){let n=an.get(e);if(n&&n.length>0){let r=n.findIndex(o=>o===t);r>-1&&n.splice(r,1)}n?.length===0&&an.delete(e)}function Tp(e,t){let n=an.get(e)?.shift(),r=t[Ve];if(r){let i=Ko(e.index,r)?.previousSibling;n&&i&&n===i&&n.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}}))}}function lI(e,t){an.has(e)?an.get(e)?.push(t):an.set(e,[t])}function nd(e){let t=e[Be]??={};return t.enter??=new Map}function _i(e){let t=e[Be]??={};return t.leave??=new Map}function Mp(e){let t=typeof e=="function"?e():e,n=Array.isArray(t)?t:null;return typeof t=="string"&&(n=t.trim().split(/\s+/).filter(r=>r)),n}function uI(e,t){if(!gr)return;let n=mn.get(e);if(n&&n.classList.length>0&&dI(e,n.classList))for(let r of n.classList)t.removeClass(e,r);wc(e)}function dI(e,t){for(let n of t)if(e.classList.contains(n))return!0;return!1}function Np(e,t){let n=At.get(t);return n===void 0?!0:t===e.target&&(n.animationName!==void 0&&e.animationName===n.animationName||n.propertyName!==void 0&&e.propertyName===n.propertyName)}function Sp(e,t,n){let r=e.get(t.index)??{animateFns:[]};r.animateFns.push(n),e.set(t.index,r)}function rd(e,t){if(e)for(let n of e)n();for(let n of t)n()}function od(e,t){let n=_i(e).get(t.index);n&&(n.resolvers=void 0)}function Fo(e){if(Oe("NgAnimateEnter"),!gr)return Fo;let t=g();if(bp(t))return Fo;let n=j();return Tp(n,t),Sp(nd(t),n,()=>fI(t,n,e)),Ef(t[X]),If(t[X],nd(t)),Fo}function fI(e,t,n){let r=oe(t,e),o=e[A],i=e[X].get(z),s=Mp(n),a=[],c=u=>{if(u.target!==r)return;let d=u instanceof AnimationEvent?"animationend":"transitionend";i.runOutsideAngular(()=>{o.listen(r,d,l)})},l=u=>{u.target===r&&pI(u,r,o)};if(s&&s.length>0){i.runOutsideAngular(()=>{a.push(o.listen(r,"animationstart",c)),a.push(o.listen(r,"transitionstart",c))}),cI(r,s,a);for(let u of s)o.addClass(r,u);i.runOutsideAngular(()=>{requestAnimationFrame(()=>{if(df(r,At,gr),!At.has(r)){for(let u of s)o.removeClass(r,u);wc(r)}})})}}function pI(e,t,n){let r=mn.get(t);if(!(e.target!==t||!r)&&Np(e,t)){e.stopImmediatePropagation();for(let o of r.classList)n.removeClass(t,o);wc(t)}}function jo(e){if(Oe("NgAnimateLeave"),!gr)return jo;let t=g();if(bp(t))return jo;let r=j();return Tp(r,t),Sp(_i(t),r,()=>hI(t,r,e)),Ef(t[X]),jo}function hI(e,t,n){let{promise:r,resolve:o}=sI(),i=oe(t,e),s=e[A],a=e[X].get(z);dn.add(e),(_i(e).get(t.index).resolvers??=[]).push(o);let c=Mp(n);return c&&c.length>0?gI(i,t,e,c,s,a):o(),{promise:r,resolve:o}}function gI(e,t,n,r,o,i){uI(e,o);let s=[],a=_i(n).get(t.index)?.resolvers,c=l=>{if(l.target===e&&(l instanceof CustomEvent||Np(l,e))){if(l.stopImmediatePropagation(),At.delete(e),td(t,e),Array.isArray(t.projection))for(let u of r)o.removeClass(e,u);rd(a,s),od(n,t)}};i.runOutsideAngular(()=>{s.push(o.listen(e,"animationend",c)),s.push(o.listen(e,"transitionend",c))}),lI(t,e);for(let l of r)o.addClass(e,l);i.runOutsideAngular(()=>{requestAnimationFrame(()=>{df(e,At,gr),At.has(e)||(td(t,e),rd(a,s),od(n,t))})})}var Fa=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 mI(e,t,n){let r,o,i=0,s=e.length-1,a=void 0;if(Array.isArray(t)){let c=t.length-1;for(;i<=s&&i<=c;){let l=e.at(i),u=t[i],d=oa(i,l,i,u,n);if(d!==0){d<0&&e.updateValue(i,u),i++;continue}let p=e.at(s),f=t[c],h=oa(s,p,c,f,n);if(h!==0){h<0&&e.updateValue(s,f),s--,c--;continue}let y=n(i,l),N=n(s,p),_=n(i,u);if(Object.is(_,N)){let Ce=n(c,f);Object.is(Ce,y)?(e.swap(i,s),e.updateValue(s,f),c--,s--):e.move(s,i),e.updateValue(i,u),i++;continue}if(r??=new ii,o??=sd(e,i,s,n),ja(e,r,i,_))e.updateValue(i,u),i++,s++;else if(o.has(_))r.set(y,e.detach(i)),s--;else{let Ce=e.create(i,t[i]);e.attach(i,Ce),i++,s++}}for(;i<=c;)id(e,r,n,i,t[i]),i++}else if(t!=null){let c=t[Symbol.iterator](),l=c.next();for(;!l.done&&i<=s;){let u=e.at(i),d=l.value,p=oa(i,u,i,d,n);if(p!==0)p<0&&e.updateValue(i,d),i++,l=c.next();else{r??=new ii,o??=sd(e,i,s,n);let f=n(i,d);if(ja(e,r,i,f))e.updateValue(i,d),i++,s++,l=c.next();else if(!o.has(f))e.attach(i,e.create(i,d)),i++,s++,l=c.next();else{let h=n(i,u);r.set(h,e.detach(i)),s--}}}for(;!l.done;)id(e,r,n,e.length,l.value),l=c.next()}for(;i<=s;)e.destroy(e.detach(s--));r?.forEach(c=>{e.destroy(c)})}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 id(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 sd(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 ii=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 yI(e,t,n,r,o,i,s,a){Oe("NgControlFlow");let c=g(),l=P(),u=de(l.consts,i);return tr(c,l,e,t,n,r,o,u,256,s,a),bc}function bc(e,t,n,r,o,i,s,a){Oe("NgControlFlow");let c=g(),l=P(),u=de(l.consts,i);return tr(c,l,e,t,n,r,o,u,512,s,a),bc}function vI(e,t){Oe("NgControlFlow");let n=g(),r=Ue(),o=n[r]!==ne?n[r]:-1,i=o!==-1?si(n,k+o):void 0,s=0;if(te(n,r,e)){let a=E(null);try{if(i!==void 0&&$f(i,s),e!==-1){let c=k+e,l=si(n,c),u=$a(n[m],c),d=qf(l,u,n),p=lr(n,u,t,{dehydratedView:d});ur(l,p,s,fn(u,d))}}finally{E(a)}}else if(i!==void 0){let a=Bf(i,s);a!==void 0&&(a[F]=t)}}var Va=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-L}};function EI(e,t){return t}var Ha=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function II(e,t,n,r,o,i,s,a,c,l,u,d,p){Oe("NgControlFlow");let f=g(),h=P(),y=c!==void 0,N=g(),_=a?s.bind(N[ee][F]):s,Ce=new Ha(y,_);N[k+e]=Ce,tr(f,h,e+1,t,n,r,o,de(h.consts,i),256),y&&tr(f,h,e+2,c,l,u,d,de(h.consts,p),512)}var Ba=class extends Fa{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-L}at(t){return this.getLView(t)[F].$implicit}attach(t,n){let r=n[_t];this.needsIndexUpdate||=t!==this.length,ur(this.lContainer,n,t,fn(this.templateTNode,r)),CI(this.lContainer,t)}detach(t){return this.needsIndexUpdate||=t!==this.length-1,_I(this.lContainer,t),wI(this.lContainer,t)}create(t,n){let r=Jo(this.lContainer,this.templateTNode.tView.ssrId),o=lr(this.hostLView,this.templateTNode,new Va(this.lContainer,n,t),{dehydratedView:r});return this.operationsCounter?.recordCreate(),o}destroy(t){gi(t[m],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[F].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[F].$index=t}getLView(t){return bI(this.lContainer,t)}};function DI(e){let t=E(null),n=Ae();try{let r=g(),o=r[m],i=r[n],s=n+1,a=si(r,s);if(i.liveCollection===void 0){let l=$a(o,s);i.liveCollection=new Ba(a,r,l)}else i.liveCollection.reset();let c=i.liveCollection;if(mI(c,e,i.trackByFn),c.updateIndexes(),i.hasEmptyBlock){let l=Ue(),u=c.length===0;if(te(r,l,u)){let d=n+2,p=si(r,d);if(u){let f=$a(o,d),h=qf(p,f,r),y=lr(r,f,void 0,{dehydratedView:h});ur(p,y,0,fn(f,h))}else o.firstUpdatePass&&Gv(p),$f(p,0)}}}finally{E(t)}}function si(e,t){return e[t]}function CI(e,t){if(e.length<=L)return;let n=L+t,r=e[n],o=r?r[Be]:void 0;if(r&&o&&o.detachedLeaveAnimationFns&&o.detachedLeaveAnimationFns.length>0){let i=r[X];nv(i,o),dn.delete(r),o.detachedLeaveAnimationFns=void 0}}function _I(e,t){if(e.length<=L)return;let n=L+t,r=e[n],o=r?r[Be]:void 0;o&&o.leave&&o.leave.size>0&&(o.detachedLeaveAnimationFns=[])}function wI(e,t){return Kn(e,t)}function bI(e,t){return Bf(e,t)}function $a(e,t){return Bn(e,t)}function xp(e,t,n){let r=g(),o=Ue();if(te(r,o,t)){let i=P(),s=tn();Mf(s,r,e,t,r[A],n)}return xp}function Ua(e,t,n,r,o){vi(t,e,n,o?"class":"style",r)}function Tc(e,t,n,r){let o=g(),i=o[m],s=e+k,a=i.firstCreatePass?mc(s,o,2,t,dc,Eo(),n,r):i.data[s];if(fc(a,o,e,t,Op),Kt(a)){let c=o[m];yi(c,o,a),Ka(c,a,o)}return r!=null&&cr(o,a),Tc}function Mc(){let e=P(),t=j(),n=pc(t);return e.firstCreatePass&&yc(e,n),js(n)&&Vs(),Ls(),n.classesWithoutHost!=null&&hm(n)&&Ua(e,n,g(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&gm(n)&&Ua(e,n,g(),n.stylesWithoutHost,!1),Mc}function Ap(e,t,n,r){return Tc(e,t,n,r),Mc(),Ap}function Nc(e,t,n,r){let o=g(),i=o[m],s=e+k,a=i.firstCreatePass?cE(s,i,2,t,n,r):i.data[s];return fc(a,o,e,t,Op),r!=null&&cr(o,a),Nc}function Sc(){let e=j(),t=pc(e);return js(t)&&Vs(),Ls(),Sc}function Rp(e,t,n,r){return Nc(e,t,n,r),Sc(),Rp}var Op=(e,t,n,r,o)=>(qn(!0),Yd(t[A],r,Du()));function xc(e,t,n){let r=g(),o=r[m],i=e+k,s=o.firstCreatePass?mc(i,r,8,"ng-container",dc,Eo(),t,n):o.data[i];if(fc(s,r,e,"ng-container",TI),Kt(s)){let a=r[m];yi(a,r,s),Ka(a,s,r)}return n!=null&&cr(r,s),xc}function Ac(){let e=P(),t=j(),n=pc(t);return e.firstCreatePass&&yc(e,n),Ac}function kp(e,t,n){return xc(e,t,n),Ac(),kp}var TI=(e,t,n,r,o)=>(qn(!0),Ey(t[A],""));function MI(){return g()}function Pp(e,t,n){let r=g(),o=Ue();if(te(r,o,t)){let i=P(),s=tn();Nf(s,r,e,t,r[A],n)}return Pp}var Ao=void 0;function NI(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var SI=["en",[["a","p"],["AM","PM"]],[["AM","PM"]],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Ao,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Ao,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Ao,"{1} 'at' {0}",Ao],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",NI],ia={};function xI(e){let t=AI(e),n=ad(t);if(n)return n;let r=t.split("-")[0];if(n=ad(r),n)return n;if(r==="en")return SI;throw new b(701,!1)}function ad(e){return e in ia||(ia[e]=Me.ng&&Me.ng.common&&Me.ng.common.locales&&Me.ng.common.locales[e]),ia[e]}var Lp=(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})(Lp||{});function AI(e){return e.toLowerCase().replace(/_/g,"-")}var mr="en-US";var RI=mr;function Fp(e){typeof e=="string"&&(RI=e.toLowerCase().replace(/_/g,"-"))}function jp(e,t,n){let r=g(),o=P(),i=j();return Vp(o,r,r[A],i,e,t,n),jp}function Vp(e,t,n,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=ta(r,t,i),lE(r,e,t,s,n,o,i,c)&&(a=!1)),a){let l=r.outputs?.[o],u=r.hostDirectiveOutputs?.[o];if(u&&u.length)for(let d=0;d<u.length;d+=2){let p=u[d],f=u[d+1];c??=ta(r,t,i),Zu(r,t,p,f,o,c)}if(l&&l.length)for(let d of l)c??=ta(r,t,i),Zu(r,t,d,o,o,c)}}function OI(e=1){return vu(e)}function kI(e,t){let n=null,r=Ry(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?of(e,i,!0):Py(r,i))return o}return n}function PI(e){let t=g()[ee][J];if(!t.projection){let n=e?e.length:1,r=t.projection=$l(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?kI(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function LI(e,t=0,n,r,o,i){let s=g(),a=P(),c=r?e+1:null;c!==null&&tr(s,a,c,r,o,i,null,n);let l=In(a,k+e,16,null,n||null);l.projection===null&&(l.projection=t),$s();let d=!s[_t]||Fs();s[ee][J].projection[l.projection]===null&&c!==null?FI(s,a,c):d&&!li(l)&&pv(a,s,l)}function FI(e,t,n){let r=k+n,o=t.data[r],i=e[r],s=Jo(i,o.tView.ssrId),a=lr(e,o,void 0,{dehydratedView:s});ur(i,a,0,fn(o,s))}function jI(e,t,n,r){rp(e,t,n,r)}function VI(e,t,n){AE(e,t,n)}function HI(e){let t=g(),n=P(),r=Co();Un(r+1);let o=Ic(n,r);if(e.dirty&&Jl(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=ip(t,r);e.reset(i,Sd),e.notifyOnChanges()}return!0}return!1}function BI(){return Ec(g(),Co())}function $I(e,t,n,r,o){kE(t,rp(e,n,r,o))}function UI(e=1){Un(Co()+e)}function qI(e){let t=cu();return mo(t,k+e)}function Ro(e,t){return e<<17|t<<2}function kt(e){return e>>17&32767}function WI(e){return(e&2)==2}function GI(e,t){return e&131071|t<<17}function qa(e){return e|2}function yn(e){return(e&131068)>>2}function sa(e,t){return e&-131069|t<<2}function zI(e){return(e&1)===1}function Wa(e){return e|1}function QI(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=kt(s),c=yn(s);e[r]=n;let l=!1,u;if(Array.isArray(n)){let d=n;u=d[1],(u===null||Qt(d,u)>0)&&(l=!0)}else u=n;if(o)if(c!==0){let p=kt(e[a+1]);e[r+1]=Ro(p,a),p!==0&&(e[p+1]=sa(e[p+1],r)),e[a+1]=GI(e[a+1],r)}else e[r+1]=Ro(a,0),a!==0&&(e[a+1]=sa(e[a+1],r)),a=r;else e[r+1]=Ro(c,0),a===0?a=r:e[c+1]=sa(e[c+1],r),c=r;l&&(e[r+1]=qa(e[r+1])),cd(e,u,r,!0),cd(e,u,r,!1),ZI(t,u,e,r,i),s=Ro(a,c),i?t.classBindings=s:t.styleBindings=s}function ZI(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&Qt(i,t)>=0&&(n[r+1]=Wa(n[r+1]))}function cd(e,t,n,r){let o=e[n+1],i=t===null,s=r?kt(o):yn(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],l=e[s+1];YI(c,t)&&(a=!0,e[s+1]=r?Wa(l):qa(l)),s=r?kt(l):yn(l)}a&&(e[n+1]=r?qa(o):Wa(o))}function YI(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Qt(e,t)>=0:!1}var q={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Hp(e){return e.substring(q.key,q.keyEnd)}function KI(e){return e.substring(q.value,q.valueEnd)}function JI(e){return Up(e),Bp(e,vn(e,0,q.textEnd))}function Bp(e,t){let n=q.textEnd;return n===t?-1:(t=q.keyEnd=eD(e,q.key=t,n),vn(e,t,n))}function XI(e){return Up(e),$p(e,vn(e,0,q.textEnd))}function $p(e,t){let n=q.textEnd,r=q.key=vn(e,t,n);return n===r?-1:(r=q.keyEnd=tD(e,r,n),r=ld(e,r,n,58),r=q.value=vn(e,r,n),r=q.valueEnd=nD(e,r,n),ld(e,r,n,59))}function Up(e){q.key=0,q.keyEnd=0,q.value=0,q.valueEnd=0,q.textEnd=e.length}function vn(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function eD(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function tD(e,t,n){let r;for(;t<n&&((r=e.charCodeAt(t))===45||r===95||(r&-33)>=65&&(r&-33)<=90||r>=48&&r<=57);)t++;return t}function ld(e,t,n,r){return t=vn(e,t,n),t<n&&t++,t}function nD(e,t,n){let r=-1,o=-1,i=-1,s=t,a=s;for(;s<n;){let c=e.charCodeAt(s++);if(c===59)return a;c===34||c===39?a=s=ud(e,c,s,n):t===s-4&&i===85&&o===82&&r===76&&c===40?a=s=ud(e,41,s,n):c>32&&(a=s),i=o,o=r,r=c&-33}return a}function ud(e,t,n,r){let o=-1,i=n;for(;i<r;){let s=e.charCodeAt(i++);if(s==t&&o!==92)return i;s==92&&o===92?o=0:o=s}throw new Error}function qp(e,t,n){return Gp(e,t,n,!1),qp}function Wp(e,t){return Gp(e,t,null,!0),Wp}function rD(e){zp(Yp,oD,e,!1)}function oD(e,t){for(let n=XI(t);n>=0;n=$p(t,n))Yp(e,Hp(t),KI(t))}function iD(e){zp(fD,sD,e,!0)}function sD(e,t){for(let n=JI(t);n>=0;n=Bp(t,n))Fn(e,Hp(t),!0)}function Gp(e,t,n,r){let o=g(),i=P(),s=Io(2);if(i.firstUpdatePass&&Zp(i,e,s,r),t!==ne&&te(o,s,t)){let a=i.data[Ae()];Kp(i,a,o,o[A],e,o[s+1]=hD(t,n),r,s)}}function zp(e,t,n,r){let o=P(),i=Io(2);o.firstUpdatePass&&Zp(o,null,i,r);let s=g();if(n!==ne&&te(s,i,n)){let a=o.data[Ae()];if(Jp(a,r)&&!Qp(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=io(c,n||"")),Ua(o,a,s,n,r)}else pD(o,a,s,s[A],s[i+1],s[i+1]=dD(e,t,n),r,i)}}function Qp(e,t){return t>=e.expandoStartIndex}function Zp(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[Ae()],s=Qp(e,n);Jp(i,r)&&t===null&&!s&&(t=!1),t=aD(o,i,t,r),QI(o,i,t,n,s,r)}}function aD(e,t,n,r){let o=hu(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=aa(null,e,t,n,r),n=nr(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=cD(e,t,r);c!==void 0&&Array.isArray(c)&&(c=aa(null,e,t,c[1],r),c=nr(c,t.attrs,r),lD(e,t,r,c))}else i=uD(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function cD(e,t,n){let r=n?t.classBindings:t.styleBindings;if(yn(r)!==0)return e[kt(r)]}function lD(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[kt(o)]=r}function uD(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=nr(r,s,n)}return nr(r,t.attrs,n)}function aa(e,t,n,r,o){let i=null,s=n.directiveEnd,a=n.directiveStylingLast;for(a===-1?a=n.directiveStart:a++;a<s&&(i=t[a],r=nr(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function nr(e,t,n){let r=n?1:2,o=-1;if(t!==null)for(let i=0;i<t.length;i++){let s=t[i];typeof s=="number"?o=s:o===r&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),Fn(e,s,n?!0:t[++i]))}return e===void 0?null:e}function dD(e,t,n){if(n==null||n==="")return Z;let r=[],o=Pt(n);if(Array.isArray(o))for(let i=0;i<o.length;i++)e(r,o[i],!0);else if(typeof o=="object")for(let i in o)o.hasOwnProperty(i)&&e(r,i,o[i]);else typeof o=="string"&&t(r,o);return r}function Yp(e,t,n){Fn(e,t,Pt(n))}function fD(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&Fn(e,r,n)}function pD(e,t,n,r,o,i,s,a){o===ne&&(o=Z);let c=0,l=0,u=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;u!==null||d!==null;){let p=c<o.length?o[c+1]:void 0,f=l<i.length?i[l+1]:void 0,h=null,y;u===d?(c+=2,l+=2,p!==f&&(h=d,y=f)):d===null||u!==null&&u<d?(c+=2,h=u):(l+=2,h=d,y=f),h!==null&&Kp(e,t,n,r,h,y,s,a),u=c<o.length?o[c]:null,d=l<i.length?i[l]:null}}function Kp(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,l=c[a+1],u=zI(l)?dd(c,t,n,o,yn(l),s):void 0;if(!ai(u)){ai(i)||WI(l)&&(i=dd(c,null,n,o,a,s));let d=Ss(Ae(),n);gv(r,s,d,o,i)}}function dd(e,t,n,r,o,i){let s=t===null,a;for(;o>0;){let c=e[o],l=Array.isArray(c),u=l?c[1]:c,d=u===null,p=n[o+1];p===ne&&(p=d?Z:void 0);let f=d?uo(p,r):u===r?p:void 0;if(l&&!ai(f)&&(f=uo(c,r)),ai(f)&&(a=f,s))return a;let h=e[o+1];o=s?kt(h):yn(h)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=uo(c,r))}return a}function ai(e){return e!==void 0}function hD(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=Fe(Pt(e)))),e}function Jp(e,t){return(e.flags&(t?8:16))!==0}function gD(e,t=""){let n=g(),r=P(),o=e+k,i=r.firstCreatePass?In(r,o,1,t,null):r.data[o],s=mD(r,n,i,t,e);n[o]=s,bo()&&lc(r,n,s,i),Xt(i,!1)}var mD=(e,t,n,r,o)=>(qn(!0),yy(t[A],r));function Xp(e,t,n,r=""){return te(e,Ue(),n)?t+et(n)+r:ne}function yD(e,t,n,r,o,i=""){let s=lu(),a=pn(e,s,n,o);return Io(2),a?t+et(n)+r+et(o)+i:ne}function eh(e){return Rc("",e),eh}function Rc(e,t,n){let r=g(),o=Xp(r,e,t,n);return o!==ne&&nh(r,Ae(),o),Rc}function th(e,t,n,r,o){let i=g(),s=yD(i,e,t,n,r,o);return s!==ne&&nh(i,Ae(),s),th}function nh(e,t,n){let r=Ss(t,e);vy(e[A],r,n)}function rh(e,t,n){Qs(t)&&(t=t());let r=g(),o=Ue();if(te(r,o,t)){let i=P(),s=tn();Mf(s,r,e,t,r[A],n)}return rh}function vD(e,t){let n=Qs(e);return n&&e.set(t),n}function oh(e,t){let n=g(),r=P(),o=j();return Vp(r,n,n[A],o,e,t),oh}function ED(e,t,n=""){return Xp(g(),e,t,n)}function ID(e,t,n){let r=P();if(r.firstCreatePass){let o=Ee(e);Ga(n,r.data,r.blueprint,o,!0),Ga(t,r.data,r.blueprint,o,!1)}}function Ga(e,t,n,r,o){if(e=$(e),Array.isArray(e))for(let i=0;i<e.length;i++)Ga(e[i],t,n,r,o);else{let i=P(),s=g(),a=j(),c=Et(e)?e:$(e.provide),l=_s(e),u=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(Et(e)||!e.multi){let f=new Rt(l,o,fr,null),h=la(c,t,o?u:u+p,d);h===-1?(da(Uo(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=la(c,t,u+p,d),h=la(c,t,u,u+p),y=f>=0&&n[f],N=h>=0&&n[h];if(o&&!N||!o&&!y){da(Uo(a,s),i,c);let _=_D(o?CD:DD,n.length,o,r,l,e);!o&&N&&(n[h].providerFactory=_),ca(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(_),s.push(_)}else{let _=ih(n[o?h:f],l,!o&&r);ca(i,e,f>-1?f:h,_)}!o&&r&&N&&n[h].componentProviders++}}}function ca(e,t,n,r){let o=Et(t),i=Ql(t);if(o||i){let c=(i?$(t.useClass):t).prototype.ngOnDestroy;if(c){let l=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let u=l.indexOf(n);u===-1?l.push(n,[r,c]):l[u+1].push(r,c)}else l.push(n,c)}}}function ih(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function la(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function DD(e,t,n,r,o){return za(this.multi,[])}function CD(e,t,n,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=Zn(r,r[m],this.providerFactory.index,o);s=c.slice(0,a),za(i,s);for(let l=a;l<c.length;l++)s.push(c[l])}else s=[],za(i,s);return s}function za(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function _D(e,t,n,r,o,i){let s=new Rt(e,n,fr,null);return s.multi=[],s.index=t,s.componentProviders=0,ih(s,o,r&&!n),s}function wD(e,t=[]){return n=>{n.providersResolver=(r,o)=>ID(r,o?o(e):e,t)}}function bD(e,t,n){let r=fe()+e,o=g();return o[r]===ne?Qe(o,r,n?t.call(n):t()):pr(o,r)}function TD(e,t,n,r){return sh(g(),fe(),e,t,n,r)}function MD(e,t,n,r,o){return ah(g(),fe(),e,t,n,r,o)}function ND(e,t,n,r,o,i){return kD(g(),fe(),e,t,n,r,o,i)}function SD(e,t,n,r,o,i,s){return PD(g(),fe(),e,t,n,r,o,i,s)}function xD(e,t,n,r,o,i,s,a){let c=fe()+e,l=g(),u=hn(l,c,n,r,o,i);return te(l,c+4,s)||u?Qe(l,c+5,a?t.call(a,n,r,o,i,s):t(n,r,o,i,s)):pr(l,c+5)}function AD(e,t,n,r,o,i,s,a,c){let l=fe()+e,u=g(),d=hn(u,l,n,r,o,i);return pn(u,l+4,s,a)||d?Qe(u,l+6,c?t.call(c,n,r,o,i,s,a):t(n,r,o,i,s,a)):pr(u,l+6)}function RD(e,t,n,r,o,i,s,a,c,l){let u=fe()+e,d=g(),p=hn(d,u,n,r,o,i);return Yf(d,u+4,s,a,c)||p?Qe(d,u+7,l?t.call(l,n,r,o,i,s,a,c):t(n,r,o,i,s,a,c)):pr(d,u+7)}function OD(e,t,n,r,o,i,s,a,c,l,u){let d=fe()+e,p=g(),f=hn(p,d,n,r,o,i);return hn(p,d+4,s,a,c,l)||f?Qe(p,d+8,u?t.call(u,n,r,o,i,s,a,c,l):t(n,r,o,i,s,a,c,l)):pr(p,d+8)}function wi(e,t){let n=e[t];return n===ne?void 0:n}function sh(e,t,n,r,o,i){let s=t+n;return te(e,s,o)?Qe(e,s+1,i?r.call(i,o):r(o)):wi(e,s+1)}function ah(e,t,n,r,o,i,s){let a=t+n;return pn(e,a,o,i)?Qe(e,a+2,s?r.call(s,o,i):r(o,i)):wi(e,a+2)}function kD(e,t,n,r,o,i,s,a){let c=t+n;return Yf(e,c,o,i,s)?Qe(e,c+3,a?r.call(a,o,i,s):r(o,i,s)):wi(e,c+3)}function PD(e,t,n,r,o,i,s,a,c){let l=t+n;return hn(e,l,o,i,s,a)?Qe(e,l+4,c?r.call(c,o,i,s,a):r(o,i,s,a)):wi(e,l+4)}function LD(e,t){let n=P(),r,o=e+k;n.firstCreatePass?(r=FD(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=Je(r.type,!0)),s,a=K(fr);try{let c=$o(!1),l=i();return $o(c),xs(n,g(),o,l),l}finally{K(a)}}function FD(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function jD(e,t,n){let r=e+k,o=g(),i=mo(o,r);return ch(o,r)?sh(o,fe(),t,i.transform,n,i):i.transform(n)}function VD(e,t,n,r){let o=e+k,i=g(),s=mo(i,o);return ch(i,o)?ah(i,fe(),t,s.transform,n,r,s):s.transform(n,r)}function ch(e,t){return e[m].data[t].pure}function HD(e,t){return Ei(e,t)}var ci=class{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},BD=(()=>{class e{compileModuleSync(n){return new oi(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=Es(n),i=nf(o.declarations).reduce((s,a)=>{let c=je(a);return c&&s.push(new Ot(c)),s},[]);return new ci(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=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var $D=(()=>{class e{zone=I(z);changeDetectionScheduler=I(ge);applicationRef=I(hr);applicationErrorHandler=I(qe);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{try{this.applicationRef.dirtyFlags|=1,this.applicationRef._tick()}catch(n){this.applicationErrorHandler(n)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),lh=new S("",{factory:()=>!1});function Oc({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new z(G(W({},kc()),{scheduleInRootZone:n})),[{provide:z,useFactory:e},{provide:Ct,multi:!0,useFactory:()=>{let r=I($D,{optional:!0});return()=>r.initialize()}},{provide:Ct,multi:!0,useFactory:()=>{let r=I(qD);return()=>{r.initialize()}}},t===!0?{provide:Zs,useValue:!0}:[],{provide:Ys,useValue:n??ff},{provide:qe,useFactory:()=>{let r=I(z),o=I(ae),i;return s=>{r.runOutsideAngular(()=>{o.destroyed&&!i?setTimeout(()=>{throw s}):(i??=o.get(Te),i.handleError(s))})}}}]}function UD(e){let t=e?.ignoreChangesOutsideZone,n=e?.scheduleInRootZone,r=Oc({ngZoneFactory:()=>{let o=kc(e);return o.scheduleInRootZone=n,o.shouldCoalesceEventChangeDetection&&Oe("NgZone_CoalesceEvent"),new z(o)},ignoreChangesOutsideZone:t,scheduleInRootZone:n});return po([{provide:lh,useValue:!0},{provide:Wn,useValue:!1},r])}function kc(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var qD=(()=>{class e{subscription=new V;initialized=!1;zone=I(z);pendingTasks=I(it);initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{z.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{z.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var uh=(()=>{class e{applicationErrorHandler=I(qe);appRef=I(hr);taskService=I(it);ngZone=I(z);zonelessEnabled=I(Wn);tracing=I(ar,{optional:!0});disableScheduling=I(Zs,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new V;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Qo):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(I(Ys,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Zo||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;let r=!1;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,r=!0;break}case 12:{this.appRef.dirtyFlags|=16,r=!0;break}case 13:{this.appRef.dirtyFlags|=2,r=!0;break}case 11:{r=!0;break}case 9:case 8:case 7:case 10:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(r))return;let o=this.useMicrotaskScheduler?Vu:pf;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>o(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>o(()=>this.tick()))}shouldScheduleTick(n){return!(this.disableScheduling&&!n||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Qo+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.taskService.remove(n),this.applicationErrorHandler(r)}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Vu(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}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=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function WD(){return typeof $localize<"u"&&$localize.locale||mr}var Pc=new S("",{providedIn:"root",factory:()=>I(Pc,{optional:!0,skipSelf:!0})||WD()});var yr=class{destroyed=!1;listeners=null;errorHandler=I(Te,{optional:!0});destroyRef=I(ot);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new b(953,!1);return(this.listeners??=[]).push(t),{unsubscribe:()=>{let n=this.listeners?.indexOf(t);n!==void 0&&n!==-1&&this.listeners?.splice(n,1)}}}emit(t){if(this.destroyed){console.warn(kn(953,!1));return}if(this.listeners===null)return;let n=E(null);try{for(let r of this.listeners)try{r(t)}catch(o){this.errorHandler?.handleError(o)}}finally{E(n)}}};function GD(e){return Sl(e)}function zD(e,t){return Cn(e,t?.equal)}var Lc=class{[B];constructor(t){this[B]=t}destroy(){this[B].destroy()}};function QD(e,t){let n=t?.injector??I(be),r=t?.manualCleanup!==!0?n.get(ot):null,o,i=n.get(nn,null,{optional:!0}),s=n.get(ge);return i!==null?(o=KD(i.view,s,e),r instanceof On&&r._lView===i.view&&(r=null)):o=JD(e,n.get(Gn),s),o.injector=n,r!==null&&(o.onDestroyFn=r.onDestroy(()=>o.destroy())),new Lc(o)}var dh=G(W({},xl),{cleanupFns:void 0,zone:null,onDestroyFn:St,run(){let e=en(!1);try{Al(this)}finally{en(e)}},cleanup(){if(!this.cleanupFns?.length)return;let e=E(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],E(e)}}}),ZD=G(W({},dh),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){ut(this),this.onDestroyFn(),this.cleanup(),this.scheduler.remove(this)}}),YD=G(W({},dh),{consumerMarkedDirty(){this.view[D]|=8192,nt(this.view),this.notifier.notify(13)},destroy(){ut(this),this.onDestroyFn(),this.cleanup(),this.view[He]?.delete(this)}});function KD(e,t,n){let r=Object.create(YD);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=fh(r,n),e[He]??=new Set,e[He].add(r),r.consumerMarkedDirty(r),r}function JD(e,t,n){let r=Object.create(ZD);return r.fn=fh(r,e),r.scheduler=t,r.notifier=n,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.add(r),r.notifier.notify(12),r}function fh(e,t){return()=>{t(n=>(e.cleanupFns??=[]).push(n))}}var Mi=Symbol("InputSignalNode#UNSET"),Dh=G(W({},Nr),{transformFn:void 0,applyValueToInputSignal(e,t){dt(e,t)}});function Ch(e,t){let n=Object.create(Dh);n.value=e,n.transformFn=t?.transform;function r(){if(ct(n),n.value===Mi){let o=null;throw new b(-950,o)}return n.value}return r[B]=n,r}var ph=class{attributeName;constructor(t){this.attributeName=t}__NG_ELEMENT_ID__=()=>Nd(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}},eC=new S("");eC.__NG_ELEMENT_ID__=e=>{let t=j();if(t===null)throw new b(204,!1);if(t.type&2)return t.value;if(e&8)return null;throw new b(204,!1)};function $L(e){return new yr}function hh(e,t){return Ch(e,t)}function tC(e){return Ch(Mi,e)}var UL=(hh.required=tC,hh);function gh(e,t){return ap(t)}function nC(e,t){return cp(t)}var qL=(gh.required=nC,gh);function _h(e,t){let n=Object.create(Dh),r=new yr;n.value=e;function o(){return ct(n),mh(n.value),n.value}return o[B]=n,o.asReadonly=Mo.bind(o),o.set=i=>{n.equal(n.value,i)||(dt(n,i),r.emit(i))},o.update=i=>{mh(n.value),o.set(i(n.value))},o.subscribe=r.subscribe.bind(r),o.destroyRef=r.destroyRef,o}function mh(e){if(e===Mi)throw new b(952,!1)}function yh(e,t){return _h(e,t)}function rC(e){return _h(Mi,e)}var WL=(yh.required=rC,yh);var Fc=new S(""),oC=new S("");function vr(e){return!e.moduleRef}function iC(e){let t=vr(e)?e.r3Injector:e.moduleRef.injector,n=t.get(z);return n.run(()=>{vr(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(qe),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:r})}),vr(e)){let i=()=>t.destroy(),s=e.platformInjector.get(Fc);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(Fc);s.add(i),e.moduleRef.onDestroy(()=>{Qn(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return aC(r,n,()=>{let i=t.get(it),s=i.add(),a=t.get(_c);return a.runInitializers(),a.donePromise.then(()=>{let c=t.get(Pc,mr);if(Fp(c||mr),!t.get(oC,!0))return vr(e)?t.get(hr):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(vr(e)){let u=t.get(hr);return e.rootComponent!==void 0&&u.bootstrap(e.rootComponent),u}else return sC?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>void i.remove(s))})})}var sC;function aC(e,t,n){try{let r=n();return Dc(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e(r)),r}}var bi=null;function cC(e=[],t){return be.create({name:t,providers:[{provide:Cs,useValue:"platform"},{provide:Fc,useValue:new Set([()=>bi=null])},...e]})}function lC(e=[]){if(bi)return bi;let t=cC(e);return bi=t,Ip(),uC(t),t}function uC(e){let t=e.get(Pd,null);ho(e,()=>{t?.forEach(n=>n())})}var GL=(()=>{class e{static __NG_ELEMENT_ID__=dC}return e})();function dC(e){return fC(j(),g(),(e&16)===16)}function fC(e,t,n){if($e(e)&&!n){let r=ue(e.index,t);return new st(r,r)}else if(e.type&175){let r=t[ee];return new st(r,t)}return null}var jc=class{constructor(){}supports(t){return vc(t)}create(t){return new Vc(t)}},pC=(e,t)=>t,Vc=class{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(t){this._trackByFn=t||pC}forEachItem(t){let n;for(n=this._itHead;n!==null;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){let s=!r||n&&n.currentIndex<vh(r,o,i)?n:r,a=vh(s,o,i),c=s.currentIndex;if(s===r)o--,r=r._nextRemoved;else if(n=n._next,s.previousIndex==null)o++;else{i||(i=[]);let l=a-o,u=c-o;if(l!=u){for(let p=0;p<l;p++){let f=p<i.length?i[p]:i[p]=0,h=f+p;u<=h&&h<l&&(i[p]=f+1)}let d=s.previousIndex;i[d]=u-l}}a!==c&&t(s,a,c)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;n!==null;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;n!==null;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;n!==null;n=n._nextIdentityChange)t(n)}diff(t){if(t==null&&(t=[]),!vc(t))throw new b(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._itHead,r=!1,o,i,s;if(Array.isArray(t)){this.length=t.length;for(let a=0;a<this.length;a++)i=t[a],s=this._trackByFn(a,i),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,i,s,a),r=!0):(r&&(n=this._verifyReinsertion(n,i,s,a)),Object.is(n.item,i)||this._addIdentityChange(n,i)),n=n._next}else o=0,Zf(t,a=>{s=this._trackByFn(o,a),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,a,s,o),r=!0):(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;t!==null;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;t!==null;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return t===null?i=this._itTail:(i=t._prev,this._remove(t)),t=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):(t=this._linkedRecords===null?null:this._linkedRecords.get(r,o),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new Hc(n,r),i,o)),t}_verifyReinsertion(t,n,r,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return i!==null?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;t!==null;){let n=t._next;this._addToRemovals(this._unlink(t)),t=n}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(t);let o=t._prevRemoved,i=t._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail===null?this._additionsTail=this._additionsHead=t:this._additionsTail=this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){let o=n===null?this._itHead:n._next;return t._next=o,t._prev=n,o===null?this._itTail=t:o._prev=t,n===null?this._itHead=t:n._next=t,this._linkedRecords===null&&(this._linkedRecords=new Ti),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){this._linkedRecords!==null&&this._linkedRecords.remove(t);let n=t._prev,r=t._next;return n===null?this._itHead=r:n._next=r,r===null?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail===null?this._movesTail=this._movesHead=t:this._movesTail=this._movesTail._nextMoved=t),t}_addToRemovals(t){return this._unlinkedRecords===null&&(this._unlinkedRecords=new Ti),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=t:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=t,t}},Hc=class{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(t,n){this.item=t,this.trackById=n}},Bc=class{_head=null;_tail=null;add(t){this._head===null?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;r!==null;r=r._nextDup)if((n===null||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){let n=t._prevDup,r=t._nextDup;return n===null?this._head=r:n._nextDup=r,r===null?this._tail=n:r._prevDup=n,this._head===null}},Ti=class{map=new Map;put(t){let n=t.trackById,r=this.map.get(n);r||(r=new Bc,this.map.set(n,r)),r.add(t)}get(t,n){let r=t,o=this.map.get(r);return o?o.get(t,n):null}remove(t){let n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function vh(e,t,n){let r=e.previousIndex;if(r===null)return r;let o=0;return n&&r<n.length&&(o=n[r]),r+t+o}var $c=class{constructor(){}supports(t){return t instanceof Map||Di(t)}create(){return new Uc}},Uc=class{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;_removalsTail=null;get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(t){let n;for(n=this._mapHead;n!==null;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;n!==null;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;n!==null;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}diff(t){if(!t)t=new Map;else if(!(t instanceof Map||Di(t)))throw new b(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{let i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;r!==null;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){let r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){let o=this._records.get(t);this._maybeAddToChanges(o,n);let i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}let r=new qc(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;t!==null;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;t!=null;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){this._additionsHead===null?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){this._changesHead===null?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}},qc=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(t){this.key=t}};function Eh(){return new hC([new jc])}var hC=(()=>{class e{factories;static \u0275prov=H({token:e,providedIn:"root",factory:Eh});constructor(n){this.factories=n}static create(n,r){if(r!=null){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:()=>{let r=I(e,{optional:!0,skipSelf:!0});return e.create(n,r||Eh())}}}find(n){let r=this.factories.find(o=>o.supports(n));if(r!=null)return r;throw new b(901,!1)}}return e})();function Ih(){return new gC([new $c])}var gC=(()=>{class e{static \u0275prov=H({token:e,providedIn:"root",factory:Ih});factories;constructor(n){this.factories=n}static create(n,r){if(r){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:()=>{let r=I(e,{optional:!0,skipSelf:!0});return e.create(n,r||Ih())}}}find(n){let r=this.factories.find(o=>o.supports(n));if(r)return r;throw new b(901,!1)}}return e})();function zL(e){let{rootComponent:t,appProviders:n,platformProviders:r,platformRef:o}=e;R(8);try{let i=o?.injector??lC(r),s=[Oc({}),{provide:ge,useExisting:uh},_u,...n||[]],a=new er({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1});return iC({r3Injector:a.injector,platformInjector:i,rootComponent:t})}catch(i){return Promise.reject(i)}finally{R(9)}}function QL(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function ZL(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function YL(e){let t=je(e);if(!t)return null;let n=new Ot(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 De=(function(e){return e[e.State=0]="State",e[e.Transition=1]="Transition",e[e.Sequence=2]="Sequence",e[e.Group=3]="Group",e[e.Animate=4]="Animate",e[e.Keyframes=5]="Keyframes",e[e.Style=6]="Style",e[e.Trigger=7]="Trigger",e[e.Reference=8]="Reference",e[e.AnimateChild=9]="AnimateChild",e[e.AnimateRef=10]="AnimateRef",e[e.Query=11]="Query",e[e.Stagger=12]="Stagger",e})(De||{}),nF="*";function rF(e,t){return{type:De.Trigger,name:e,definitions:t,options:{}}}function oF(e,t=null){return{type:De.Animate,styles:t,timings:e}}function iF(e,t=null){return{type:De.Sequence,steps:e,options:t}}function sF(e){return{type:De.Style,styles:e,offset:null}}function aF(e,t,n){return{type:De.State,name:e,styles:t,options:n}}function cF(e,t,n=null){return{type:De.Transition,expr:e,animation:t,options:n}}function lF(e,t=null){return{type:De.Reference,animation:e,options:t}}function uF(e=null){return{type:De.AnimateChild,options:e}}function dF(e,t=null){return{type:De.AnimateRef,animation:e,options:t}}function fF(e,t,n=null){return{type:De.Query,selector:e,animation:t,options:n}}var wh=class{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(t=0,n=0){this.totalTime=t+n}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(t){this._position=this.totalTime?t*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(t){let n=t=="start"?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}},bh=class{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(t){this.players=t;let n=0,r=0,o=0,i=this.players.length;i==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++n==i&&this._onFinish()}),s.onDestroy(()=>{++r==i&&this._onDestroy()}),s.onStart(()=>{++o==i&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){let n=t*this.totalTime;this.players.forEach(r=>{let o=r.totalTime?Math.min(1,n/r.totalTime):1;r.setPosition(o)})}getPosition(){let t=this.players.reduce((n,r)=>n===null||r.totalTime>n.totalTime?r:n,null);return t!=null?t.getPosition():0}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){let n=t=="start"?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}},pF="!";export{V as a,Lh as b,M as c,qi as d,Wi as e,se as f,_n as g,Mn as h,Ye as i,Gh as j,zh as k,Qh as l,ke as m,Zh as n,Ke as o,rg as p,Pe as q,Gi as r,Xr as s,ig as t,sg as u,zi as v,pg as w,Nn as x,Qi as y,hg as z,gg as A,mg as B,Sn as C,Zi as D,yg as E,Ig as F,Dg as G,Yi as H,Cg as I,_g as J,wg as K,bg as L,Ml as M,Tg as N,Nl as O,b as P,kn as Q,so as R,H as S,Pl as T,Sg as U,S as V,we as W,I as X,po as Y,Cs as Z,ae as _,ho as $,iu as aa,su as ba,Eu as ca,Iu as da,be as ea,Kg as fa,ot as ga,Te as ha,qe as ia,To as ja,ge as ka,it as la,Ks as ma,cm as na,Tm as oa,Nd as pa,or as qa,Om as ra,km as sa,Pd as ta,Lm as ua,Fm as va,jm as wa,Bm as xa,un as ya,Pt as za,di as Aa,Gm as Ba,zm as Ca,Qm as Da,Zm as Ea,Ym as Fa,Ja as Ga,Zd as Ha,sr as Ia,Cy as Ja,ef as Ka,wy as La,by as Ma,Ty as Na,$y as Oa,Go as Pa,dn as Qa,ar as Ra,Oe as Sa,We as Ta,z as Ua,yf as Va,Jn as Wa,Xn as Xa,Yv as Ya,fr as Za,Jv as _a,Ci as $a,lp as ab,up as bb,FE as cb,VE as db,$E as eb,UE as fb,pp as gb,KE as hb,mp as ib,rI as jb,Dc as kb,vp as lb,oI as mb,Ep as nb,hr as ob,Cp as pb,_p as qb,Fo as rb,jo as sb,yI as tb,vI as ub,EI as vb,II as wb,DI as xb,xp as yb,Tc as zb,Mc as Ab,Ap as Bb,Nc as Cb,Sc as Db,Rp as Eb,xc as Fb,Ac as Gb,kp as Hb,MI as Ib,Pp as Jb,xI as Kb,Lp as Lb,jp as Mb,OI as Nb,PI as Ob,LI as Pb,jI as Qb,VI as Rb,HI as Sb,BI as Tb,$I as Ub,UI as Vb,qI as Wb,qp as Xb,Wp as Yb,rD as Zb,iD as _b,gD as $b,eh as ac,Rc as bc,th as cc,rh as dc,vD as ec,oh as fc,ED as gc,wD as hc,bD as ic,TD as jc,MD as kc,ND as lc,SD as mc,xD as nc,AD as oc,RD as pc,OD as qc,LD as rc,jD as sc,VD as tc,HD as uc,BD as vc,UD as wc,Pc as xc,GD as yc,zD as zc,QD as Ac,ph as Bc,$L as Cc,UL as Dc,qL as Ec,WL as Fc,GL as Gc,hC as Hc,gC as Ic,zL as Jc,QL as Kc,ZL as Lc,YL as Mc,De as Nc,nF as Oc,rF as Pc,oF as Qc,iF as Rc,sF as Sc,aF as Tc,cF as Uc,lF as Vc,uF as Wc,dF as Xc,fF as Yc,wh as Zc,bh as _c,pF as $c};
|