codecharta-visualization 0.0.0-staging-0432828 → 0.0.0-staging-60c8c75
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/dist/bundler/browser/chunk-V7L54AYT.js +4 -0
- package/dist/bundler/browser/{chunk-VA6AKGFG.js → chunk-WMFYH7OS.js} +1 -1
- package/dist/bundler/browser/index.html +1 -1
- package/dist/bundler/browser/{main-MSLC74JL.js → main-HI3N6OC3.js} +86 -86
- package/dist/bundler/browser/package.json +1 -1
- package/package.json +2 -2
- package/dist/bundler/browser/chunk-XV6HHSS2.js +0 -4
|
@@ -117,7 +117,7 @@
|
|
|
117
117
|
"@types/expect-puppeteer": "^5.0.2",
|
|
118
118
|
"@types/jest": "^30.0.0",
|
|
119
119
|
"@types/jest-environment-puppeteer": "^5.0.6",
|
|
120
|
-
"@types/node": "^
|
|
120
|
+
"@types/node": "^22.0.0",
|
|
121
121
|
"@types/three": "^0.168.0",
|
|
122
122
|
"bestzip": "^2.2.0",
|
|
123
123
|
"fast-xml-parser": "^4.4.0",
|
package/package.json
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"url": "https://github.com/MaibornWolff/codecharta.git"
|
|
11
11
|
},
|
|
12
12
|
"name": "codecharta-visualization",
|
|
13
|
-
"version": "0.0.0-staging-
|
|
13
|
+
"version": "0.0.0-staging-60c8c75",
|
|
14
14
|
"engines": {
|
|
15
15
|
"node": ">=20"
|
|
16
16
|
},
|
|
@@ -117,7 +117,7 @@
|
|
|
117
117
|
"@types/expect-puppeteer": "^5.0.2",
|
|
118
118
|
"@types/jest": "^30.0.0",
|
|
119
119
|
"@types/jest-environment-puppeteer": "^5.0.6",
|
|
120
|
-
"@types/node": "^
|
|
120
|
+
"@types/node": "^22.0.0",
|
|
121
121
|
"@types/three": "^0.168.0",
|
|
122
122
|
"bestzip": "^2.2.0",
|
|
123
123
|
"fast-xml-parser": "^4.4.0",
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
var eh=Object.create;var pi=Object.defineProperty,th=Object.defineProperties,nh=Object.getOwnPropertyDescriptor,rh=Object.getOwnPropertyDescriptors,oh=Object.getOwnPropertyNames,dr=Object.getOwnPropertySymbols,Nc=Object.getPrototypeOf,hi=Object.prototype.hasOwnProperty,xc=Object.prototype.propertyIsEnumerable,ih=Reflect.get;var sh=(e,t)=>(t=Symbol[e])?t:Symbol.for("Symbol."+e);var Mc=(e,t,n)=>t in e?pi(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,U=(e,t)=>{for(var n in t||={})hi.call(t,n)&&Mc(e,n,t[n]);if(dr)for(var n of dr(t))xc.call(t,n)&&Mc(e,n,t[n]);return e},q=(e,t)=>th(e,rh(t));var LD=(e,t)=>{var n={};for(var r in e)hi.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&dr)for(var r of dr(e))t.indexOf(r)<0&&xc.call(e,r)&&(n[r]=e[r]);return n};var FD=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var ah=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of oh(t))!hi.call(e,o)&&o!==n&&pi(e,o,{get:()=>t[o],enumerable:!(r=nh(t,o))||r.enumerable});return e};var jD=(e,t,n)=>(n=e!=null?eh(Nc(e)):{},ah(t||!e||!e.__esModule?pi(n,"default",{value:e,enumerable:!0}):n,e));var VD=(e,t,n)=>ih(Nc(e),n,t);var Sc=(e,t,n)=>new Promise((r,o)=>{var i=c=>{try{a(n.next(c))}catch(l){o(l)}},s=c=>{try{a(n.throw(c))}catch(l){o(l)}},a=c=>c.done?r(c.value):Promise.resolve(c.value).then(i,s);a((n=n.apply(e,t)).next())}),ch=function(e,t){this[0]=e,this[1]=t},HD=(e,t,n)=>{var r=(s,a,c,l)=>{try{var u=n[s](a),d=(a=u.value)instanceof ch,p=u.done;Promise.resolve(d?a[0]:a).then(f=>d?r(s==="return"?s:"next",a[1]?{done:f.done,value:f.value}:f,c,l):c({value:f,done:p})).catch(f=>r("throw",f,c,l))}catch(f){l(f)}},o=s=>i[s]=a=>new Promise((c,l)=>r(s,a,c,l)),i={};return n=n.apply(e,t),i[sh("asyncIterator")]=()=>i,o("next"),o("throw"),o("return"),i};var gi;function fr(){return gi}function be(e){let t=gi;return gi=e,t}var Ac=Symbol("NotFound");function Pt(e){return e===Ac||e?.name==="\u0275NotFound"}var Z=null,pr=!1,mi=1,lh=null,V=Symbol("SIGNAL");function D(e){let t=Z;return Z=e,t}function yr(){return Z}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(pr)throw new Error("");if(Z===null)return;Z.consumerOnSignalRead(e);let t=Z.producersTail;if(t!==void 0&&t.producer===e)return;let n,r=Z.recomputing;if(r&&(n=t!==void 0?t.nextProducer:Z.producers,n!==void 0&&n.producer===e)){Z.producersTail=n,n.lastReadVersion=e.version;return}let o=e.consumersTail;if(o!==void 0&&o.consumer===Z&&(!r||dh(o,Z)))return;let i=Lt(Z),s={producer:e,consumer:Z,nextProducer:n,prevConsumer:o,lastReadVersion:e.version,nextConsumer:void 0};Z.producersTail=s,t!==void 0?t.nextProducer=s:Z.producers=s,i&&Pc(e,s)}function Rc(){mi++}function vr(e){if(!(Lt(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===mi)){if(!e.producerMustRecompute(e)&&!ut(e)){mr(e);return}e.producerRecomputeValue(e),mr(e)}}function yi(e){if(e.consumers===void 0)return;let t=pr;pr=!0;try{for(let n=e.consumers;n!==void 0;n=n.nextConsumer){let r=n.consumer;r.dirty||uh(r)}}finally{pr=t}}function vi(){return Z?.consumerAllowSignalWrites!==!1}function uh(e){e.dirty=!0,yi(e),e.consumerMarkedDirty?.(e)}function mr(e){e.dirty=!1,e.lastCleanEpoch=mi}function qe(e){return e&&Oc(e),D(e)}function Oc(e){e.producersTail=void 0,e.recomputing=!0}function lt(e,t){D(t),e&&kc(e)}function kc(e){e.recomputing=!1;let t=e.producersTail,n=t!==void 0?t.nextProducer:e.producers;if(n!==void 0){if(Lt(e))do n=Ei(n);while(n!==void 0);t!==void 0?t.nextProducer=void 0:e.producers=void 0}}function ut(e){for(let t=e.producers;t!==void 0;t=t.nextProducer){let n=t.producer,r=t.lastReadVersion;if(r!==n.version||(vr(n),r!==n.version))return!0}return!1}function We(e){if(Lt(e)){let t=e.producers;for(;t!==void 0;)t=Ei(t)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function Pc(e,t){let n=e.consumersTail,r=Lt(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)Pc(o.producer,o)}function Ei(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,!Lt(t)){let i=t.producers;for(;i!==void 0;)i=Ei(i)}return n}function Lt(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function Er(e){lh?.(e)}function dh(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 Ir(e,t){return Object.is(e,t)}function Cn(e,t){let n=Object.create(fh);n.computation=e,t!==void 0&&(n.equal=t);let r=()=>{if(vr(n),ct(n),n.value===Dn)throw n.error;return n.value};return r[V]=n,Er(n),r}var hr=Symbol("UNSET"),gr=Symbol("COMPUTING"),Dn=Symbol("ERRORED"),fh=q(U({},at),{value:hr,dirty:!0,error:null,equal:Ir,kind:"computed",producerMustRecompute(e){return e.value===hr||e.value===gr},producerRecomputeValue(e){if(e.value===gr)throw new Error("");let t=e.value;e.value=gr;let n=qe(e),r,o=!1;try{r=e.computation(),D(null),o=t!==hr&&t!==Dn&&r!==Dn&&e.equal(t,r)}catch(i){r=Dn,e.error=i}finally{lt(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function ph(){throw new Error}var Lc=ph;function Fc(e){Lc(e)}function Ii(e){Lc=e}var hh=null;function Di(e,t){let n=Object.create(wn);n.value=e,t!==void 0&&(n.equal=t);let r=()=>jc(n);return r[V]=n,Er(n),[r,s=>Ft(n,s),s=>Ci(n,s)]}function jc(e){return ct(e),e.value}function Ft(e,t){vi()||Fc(e),e.equal(e.value,t)||(e.value=t,gh(e))}function Ci(e,t){vi()||Fc(e),Ft(e,t(e.value))}var wn=q(U({},at),{equal:Ir,value:void 0,kind:"signal"});function gh(e){e.version++,Rc(),yi(e),hh?.(e)}function I(e){return typeof e=="function"}function jt(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 Dr=jt(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:
|
|
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 z=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(I(r))try{r()}catch(i){t=i instanceof Dr?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Vc(i)}catch(s){t=t??[],s instanceof Dr?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Dr(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Vc(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)}};z.EMPTY=(()=>{let e=new z;return e.closed=!0,e})();var wi=z.EMPTY;function Cr(e){return e instanceof z||e&&"closed"in e&&I(e.remove)&&I(e.add)&&I(e.unsubscribe)}function Vc(e){I(e)?e():e.unsubscribe()}var he={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Vt={setTimeout(e,t,...n){let{delegate:r}=Vt;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=Vt;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function wr(e){Vt.setTimeout(()=>{let{onUnhandledError:t}=he;if(t)t(e);else throw e})}function ge(){}var Hc=Ti("C",void 0,void 0);function Bc(e){return Ti("E",void 0,e)}function $c(e){return Ti("N",e,void 0)}function Ti(e,t,n){return{kind:e,value:t,error:n}}var ft=null;function Ht(e){if(he.useDeprecatedSynchronousErrorHandling){let t=!ft;if(t&&(ft={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=ft;if(ft=null,n)throw r}}else e()}function Uc(e){he.useDeprecatedSynchronousErrorHandling&&ft&&(ft.errorThrown=!0,ft.error=e)}var pt=class extends z{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Cr(t)&&t.add(this)):this.destination=vh}static create(t,n,r){return new me(t,n,r)}next(t){this.isStopped?_i($c(t),this):this._next(t)}error(t){this.isStopped?_i(Bc(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?_i(Hc,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()}}},mh=Function.prototype.bind;function bi(e,t){return mh.call(e,t)}var Mi=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Tr(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Tr(r)}else Tr(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Tr(n)}}},me=class extends pt{constructor(t,n,r){super();let o;if(I(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&he.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&bi(t.next,i),error:t.error&&bi(t.error,i),complete:t.complete&&bi(t.complete,i)}):o=t}this.destination=new Mi(o)}};function Tr(e){he.useDeprecatedSynchronousErrorHandling?Uc(e):wr(e)}function yh(e){throw e}function _i(e,t){let{onStoppedNotification:n}=he;n&&Vt.setTimeout(()=>n(e,t))}var vh={closed:!0,next:ge,error:yh,complete:ge};var Bt=typeof Symbol=="function"&&Symbol.observable||"@@observable";function J(e){return e}function qc(e){return e.length===0?J:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var x=(()=>{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=Ih(n)?n:new me(n,r,o);return Ht(()=>{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=Wc(r),new r((o,i)=>{let s=new me({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)}[Bt](){return this}pipe(...n){return qc(n)(this)}toPromise(n){return n=Wc(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 Wc(e){var t;return(t=e??he.Promise)!==null&&t!==void 0?t:Promise}function Eh(e){return e&&I(e.next)&&I(e.error)&&I(e.complete)}function Ih(e){return e&&e instanceof pt||Eh(e)&&Cr(e)}function Dh(e){return I(e?.lift)}function y(e){return t=>{if(Dh(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 g(e,t,n,r,o){return new Tn(e,t,n,r,o)}var Tn=class extends pt{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(c){t.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){t.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};var Gc=jt(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var te=(()=>{class e extends x{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new br(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Gc}next(n){Ht(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){Ht(()=>{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(){Ht(()=>{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?wi:(this.currentObservers=null,i.push(n),new z(()=>{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 x;return n.source=this,n}}return e.create=(t,n)=>new br(t,n),e})(),br=class extends te{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:wi}};var bn=class extends te{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 _n={now(){return(_n.delegate||Date).now()},delegate:void 0};var _r=class extends te{constructor(t=1/0,n=1/0,r=_n){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 Mr=class extends z{constructor(t,n){super()}schedule(t,n=0){return this}};var Mn={setInterval(e,t,...n){let{delegate:r}=Mn;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=Mn;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var $t=class extends Mr{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 Mn.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&&Mn.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 Ut=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)}};Ut.now=_n.now;var qt=class extends Ut{constructor(t,n=Ut.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 Ge=new qt($t),Ni=Ge;var Nr=class extends $t{constructor(t,n){super(t,n),this.scheduler=t,this.work=n}schedule(t,n=0){return n>0?super.schedule(t,n):(this.delay=n,this.state=t,this.scheduler.flush(this),this)}execute(t,n){return n>0||this.closed?super.execute(t,n):this._execute(t,n)}requestAsyncId(t,n,r=0){return r!=null&&r>0||r==null&&this.delay>0?super.requestAsyncId(t,n,r):(t.flush(this),0)}};var xr=class extends qt{};var Ch=new xr(Nr);var ht=new x(e=>e.complete());function Sr(e){return e&&I(e.schedule)}function xi(e){return e[e.length-1]}function Wt(e){return I(xi(e))?e.pop():void 0}function _e(e){return Sr(xi(e))?e.pop():void 0}function zc(e,t){return typeof xi(e)=="number"?e.pop():t}function Zc(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 Qc(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 Yc(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(m){return new Promise(function(_,T){i.push([f,m,_,T])>1||c(f,m)})},h&&(o[f]=h(o[f])))}function c(f,h){try{l(r[f](h))}catch(m){p(i[0][3],m)}}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 Kc(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 Qc=="function"?Qc(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 Gt=e=>e&&typeof e.length=="number"&&typeof e!="function";function Ar(e){return I(e?.then)}function Rr(e){return I(e[Bt])}function Or(e){return Symbol.asyncIterator&&I(e?.[Symbol.asyncIterator])}function kr(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 wh(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Pr=wh();function Lr(e){return I(e?.[Pr])}function Fr(e){return Yc(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 jr(e){return I(e?.getReader)}function b(e){if(e instanceof x)return e;if(e!=null){if(Rr(e))return Th(e);if(Gt(e))return bh(e);if(Ar(e))return _h(e);if(Or(e))return Jc(e);if(Lr(e))return Mh(e);if(jr(e))return Nh(e)}throw kr(e)}function Th(e){return new x(t=>{let n=e[Bt]();if(I(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function bh(e){return new x(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function _h(e){return new x(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,wr)})}function Mh(e){return new x(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function Jc(e){return new x(t=>{xh(e,t).catch(n=>t.error(n))})}function Nh(e){return Jc(Fr(e))}function xh(e,t){var n,r,o,i;return Zc(this,void 0,void 0,function*(){try{for(n=Kc(e);r=yield n.next(),!r.done;){let s=r.value;if(t.next(s),t.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})}function ne(e,t,n,r=0,o=!1){let i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function Nn(e,t=0){return y((n,r)=>{n.subscribe(g(r,o=>ne(r,e,()=>r.next(o),t),()=>ne(r,e,()=>r.complete(),t),o=>ne(r,e,()=>r.error(o),t)))})}function Vr(e,t=0){return y((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Xc(e,t){return b(e).pipe(Vr(t),Nn(t))}function el(e,t){return b(e).pipe(Vr(t),Nn(t))}function tl(e,t){return new x(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function nl(e,t){return new x(n=>{let r;return ne(n,t,()=>{r=e[Pr](),ne(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>I(r?.return)&&r.return()})}function Hr(e,t){if(!e)throw new Error("Iterable cannot be null");return new x(n=>{ne(n,t,()=>{let r=e[Symbol.asyncIterator]();ne(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function rl(e,t){return Hr(Fr(e),t)}function ol(e,t){if(e!=null){if(Rr(e))return Xc(e,t);if(Gt(e))return tl(e,t);if(Ar(e))return el(e,t);if(Or(e))return Hr(e,t);if(Lr(e))return nl(e,t);if(jr(e))return rl(e,t)}throw kr(e)}function Me(e,t){return t?ol(e,t):b(e)}function Si(...e){let t=_e(e);return Me(e,t)}function il(e,t){let n=I(e)?e:()=>e,r=o=>o.error(n());return new x(t?o=>t.schedule(r,0,o):r)}var ze=class e{constructor(t,n,r){this.kind=t,this.value=n,this.error=r,this.hasValue=t==="N"}observe(t){return Ai(this,t)}do(t,n,r){let{kind:o,value:i,error:s}=this;return o==="N"?t?.(i):o==="E"?n?.(s):r?.()}accept(t,n,r){var o;return I((o=t)===null||o===void 0?void 0:o.next)?this.observe(t):this.do(t,n,r)}toObservable(){let{kind:t,value:n,error:r}=this,o=t==="N"?Si(n):t==="E"?il(()=>r):t==="C"?ht:0;if(!o)throw new TypeError(`Unexpected notification kind ${t}`);return o}static createNext(t){return new e("N",t)}static createError(t){return new e("E",void 0,t)}static createComplete(){return e.completeNotification}};ze.completeNotification=new ze("C");function Ai(e,t){var n,r,o;let{kind:i,value:s,error:a}=e;if(typeof i!="string")throw new TypeError('Invalid notification, missing "kind"');i==="N"?(n=t.next)===null||n===void 0||n.call(t,s):i==="E"?(r=t.error)===null||r===void 0||r.call(t,a):(o=t.complete)===null||o===void 0||o.call(t)}var zt=jt(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Sh(e,t){let n=typeof t=="object";return new Promise((r,o)=>{let i=new me({next:s=>{r(s),i.unsubscribe()},error:o,complete:()=>{n?r(t.defaultValue):o(new zt)}});e.subscribe(i)})}function sl(e){return e instanceof Date&&!isNaN(e)}function re(e,t){return y((n,r)=>{let o=0;n.subscribe(g(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:Ah}=Array;function Rh(e,t){return Ah(t)?e(...t):e(t)}function Qt(e){return re(t=>Rh(e,t))}var{isArray:Oh}=Array,{getPrototypeOf:kh,prototype:Ph,keys:Lh}=Object;function Br(e){if(e.length===1){let t=e[0];if(Oh(t))return{args:t,keys:null};if(Fh(t)){let n=Lh(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function Fh(e){return e&&typeof e=="object"&&kh(e)===Ph}function $r(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function jh(...e){let t=_e(e),n=Wt(e),{args:r,keys:o}=Br(e);if(r.length===0)return Me([],t);let i=new x(Vh(r,t,o?s=>$r(o,s):J));return n?i.pipe(Qt(n)):i}function Vh(e,t,n=J){return r=>{al(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)al(t,()=>{let l=Me(e[c],t),u=!1;l.subscribe(g(r,d=>{i[c]=d,u||(u=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function al(e,t,n){e?ne(n,e,t):t()}function cl(e,t,n,r,o,i,s,a){let c=[],l=0,u=0,d=!1,p=()=>{d&&!c.length&&!l&&t.complete()},f=m=>l<r?h(m):c.push(m),h=m=>{i&&t.next(m),l++;let _=!1;b(n(m,u++)).subscribe(g(t,T=>{o?.(T),i?f(T):t.next(T)},()=>{_=!0},void 0,()=>{if(_)try{for(l--;c.length&&l<r;){let T=c.shift();s?ne(t,s,()=>h(T)):h(T)}p()}catch(T){t.error(T)}}))};return e.subscribe(g(t,f,()=>{d=!0,p()})),()=>{a?.()}}function Ne(e,t,n=1/0){return I(t)?Ne((r,o)=>re((i,s)=>t(r,i,o,s))(b(e(r,o))),n):(typeof t=="number"&&(n=t),y((r,o)=>cl(r,o,e,n)))}function xn(e=1/0){return Ne(J,e)}function ll(){return xn(1)}function Ri(...e){return ll()(Me(e,_e(e)))}function Hh(e){return new x(t=>{b(e()).subscribe(t)})}function Bh(...e){let t=Wt(e),{args:n,keys:r}=Br(e),o=new x(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;b(n[u]).subscribe(g(i,p=>{d||(d=!0,l--),a[u]=p},()=>c--,void 0,()=>{(!c||!d)&&(l||i.next(r?$r(r,a):a),i.complete())}))}});return t?o.pipe(Qt(t)):o}var $h=["addListener","removeListener"],Uh=["addEventListener","removeEventListener"],qh=["on","off"];function Oi(e,t,n,r){if(I(n)&&(r=n,n=void 0),r)return Oi(e,t,n).pipe(Qt(r));let[o,i]=zh(e)?Uh.map(s=>a=>e[s](t,a,n)):Wh(e)?$h.map(ul(e,t)):Gh(e)?qh.map(ul(e,t)):[];if(!o&&Gt(e))return Ne(s=>Oi(s,t,n))(b(e));if(!o)throw new TypeError("Invalid event target");return new x(s=>{let a=(...c)=>s.next(1<c.length?c:c[0]);return o(a),()=>i(a)})}function ul(e,t){return n=>r=>e[n](t,r)}function Wh(e){return I(e.addListener)&&I(e.removeListener)}function Gh(e){return I(e.on)&&I(e.off)}function zh(e){return I(e.addEventListener)&&I(e.removeEventListener)}function Ur(e=0,t,n=Ni){let r=-1;return t!=null&&(Sr(t)?n=t:r=t),new x(o=>{let i=sl(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 Qh(...e){let t=_e(e),n=zc(e,1/0),r=e;return r.length?r.length===1?b(r[0]):xn(n)(Me(r,t)):ht}function dl(e,t){return(n,r)=>!e.call(t,n,r)}function Le(e,t){return y((n,r)=>{let o=0;n.subscribe(g(r,i=>e.call(t,i,o++)&&r.next(i)))})}function Zh(e,t,n){return[Le(t,n)(b(e)),Le(dl(t,n))(b(e))]}function fl(e){return y((t,n)=>{let r=!1,o=null,i=null,s=!1,a=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let l=o;o=null,n.next(l)}s&&n.complete()},c=()=>{i=null,s&&n.complete()};t.subscribe(g(n,l=>{r=!0,o=l,i||b(e(l)).subscribe(i=g(n,a,c))},()=>{s=!0,(!r||!i||i.closed)&&n.complete()}))})}function Yh(e,t=Ge){return fl(()=>Ur(e,t))}function pl(e){return y((t,n)=>{let r=null,o=!1,i;r=t.subscribe(g(n,void 0,void 0,s=>{i=b(e(s,pl(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function hl(e,t,n,r,o){return(i,s)=>{let a=n,c=t,l=0;i.subscribe(g(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 Kh(e,t){return I(t)?Ne(e,t,1):Ne(e,1)}function gl(e,t=Ge){return y((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(g(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 ml(e){return y((t,n)=>{let r=!1;t.subscribe(g(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function qr(e){return e<=0?()=>ht:y((t,n)=>{let r=0;t.subscribe(g(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function Jh(){return y((e,t)=>{e.subscribe(g(t,ge))})}function Xh(e){return re(()=>e)}function eg(){return y((e,t)=>{e.subscribe(g(t,n=>Ai(n,t)))})}function tg(e,t){return y((n,r)=>{let o=new Set;n.subscribe(g(r,i=>{let s=e?e(i):i;o.has(s)||(o.add(s),r.next(i))})),t&&b(t).subscribe(g(r,()=>o.clear(),ge))})}function yl(e,t=J){return e=e??ng,y((n,r)=>{let o,i=!0;n.subscribe(g(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function ng(e,t){return e===t}function vl(e=rg){return y((t,n)=>{let r=!1;t.subscribe(g(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function rg(){return new zt}function El(e,t){return t?n=>n.pipe(El((r,o)=>b(e(r,o)).pipe(re((i,s)=>t(r,i,o,s))))):y((n,r)=>{let o=0,i=null,s=!1;n.subscribe(g(r,a=>{i||(i=g(r,void 0,()=>{i=null,s&&r.complete()}),b(e(a,o++)).subscribe(i))},()=>{s=!0,!i&&r.complete()}))})}function og(e){return y((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function ig(e,t){let n=arguments.length>=2;return r=>r.pipe(e?Le((o,i)=>e(o,i,r)):J,qr(1),n?ml(t):vl(()=>new zt))}function sg(e,t,n,r){return y((o,i)=>{let s;!t||typeof t=="function"?s=t:{duration:n,element:s,connector:r}=t;let a=new Map,c=h=>{a.forEach(h),h(i)},l=h=>c(m=>m.error(h)),u=0,d=!1,p=new Tn(i,h=>{try{let m=e(h),_=a.get(m);if(!_){a.set(m,_=r?r():new te);let T=f(m,_);if(i.next(T),n){let G=g(_,()=>{_.complete(),G?.unsubscribe()},void 0,void 0,()=>a.delete(m));p.add(b(n(T)).subscribe(G))}}_.next(s?s(h):h)}catch(m){l(m)}},()=>c(h=>h.complete()),l,()=>a.clear(),()=>(d=!0,u===0));o.subscribe(p);function f(h,m){let _=new x(T=>{u++;let G=m.subscribe(T);return()=>{G.unsubscribe(),--u===0&&d&&p.unsubscribe()}});return _.key=h,_}})}function ag(){return y((e,t)=>{e.subscribe(g(t,n=>{t.next(ze.createNext(n))},()=>{t.next(ze.createComplete()),t.complete()},n=>{t.next(ze.createError(n)),t.complete()}))})}function Il(){return y((e,t)=>{let n,r=!1;e.subscribe(g(t,o=>{let i=n;n=o,r&&t.next([i,o]),r=!0}))})}function cg(...e){let t=e.length;if(t===0)throw new Error("list of properties cannot be empty.");return re(n=>{let r=n;for(let o=0;o<t;o++){let i=r?.[e[o]];if(typeof i<"u")r=i;else return}return r})}function lg(e,t){return y(hl(e,t,arguments.length>=2,!0))}function Pi(e={}){let{connector:t=()=>new te,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 m=s;f(),m?.unsubscribe()};return y((m,_)=>{l++,!d&&!u&&p();let T=c=c??t();_.add(()=>{l--,l===0&&!d&&!u&&(a=ki(h,o))}),T.subscribe(_),!s&&l>0&&(s=new me({next:G=>T.next(G),error:G=>{d=!0,p(),a=ki(f,n,G),T.error(G)},complete:()=>{u=!0,p(),a=ki(f,r),T.complete()}}),b(m).subscribe(s))})(i)}}function ki(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new me({next:()=>{r.unsubscribe(),e()}});return b(t(...n)).subscribe(r)}function ug(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,Pi({connector:()=>new _r(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function Dl(e){return Le((t,n)=>e<=n)}function dg(e){return y((t,n)=>{let r=!1,o=0;t.subscribe(g(n,i=>(r||(r=!e(i,o++)))&&n.next(i)))})}function fg(...e){let t=_e(e);return y((n,r)=>{(t?Ri(e,n,t):Ri(e,n)).subscribe(r)})}function Cl(e,t){return y((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(g(r,c=>{o?.unsubscribe();let l=0,u=i++;b(e(c,u)).subscribe(o=g(r,d=>r.next(t?t(c,d,u,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function pg(e){return y((t,n)=>{b(e).subscribe(g(n,()=>n.complete(),ge)),!n.closed&&t.subscribe(n)})}function hg(e,t=!1){return y((n,r)=>{let o=0;n.subscribe(g(r,i=>{let s=e(i,o++);(s||t)&&r.next(i),!s&&r.complete()}))})}function wl(e,t,n){let r=I(e)||t||n?{next:e,error:t,complete:n}:e;return r?y((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(g(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)}))}):J}function Tl(e,t){return y((n,r)=>{let{leading:o=!0,trailing:i=!1}=t??{},s=!1,a=null,c=null,l=!1,u=()=>{c?.unsubscribe(),c=null,i&&(f(),l&&r.complete())},d=()=>{c=null,l&&r.complete()},p=h=>c=b(e(h)).subscribe(g(r,u,d)),f=()=>{if(s){s=!1;let h=a;a=null,r.next(h),!l&&p(h)}};n.subscribe(g(r,h=>{s=!0,a=h,!(c&&!c.closed)&&(o?f():p(h))},()=>{l=!0,!(i&&s&&c&&!c.closed)&&r.complete()}))})}function gg(e,t=Ge,n){let r=Ur(e,t);return Tl(()=>r,n)}function bl(...e){let t=Wt(e);return y((n,r)=>{let o=e.length,i=new Array(o),s=e.map(()=>!1),a=!1;for(let c=0;c<o;c++)b(e[c]).subscribe(g(r,l=>{i[c]=l,!a&&!s[c]&&(s[c]=!0,(a=s.every(J))&&(s=null))},ge));n.subscribe(g(r,c=>{if(a){let l=[c,...i];r.next(t?t(...l):l)}}))})}function _l(e){let t=D(null);try{return e()}finally{D(t)}}var Ml=q(U({},at),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"});function Nl(e){if(e.dirty=!1,e.version>0&&!ut(e))return;e.version++;let t=qe(e);try{e.cleanup(),e.fn()}finally{lt(e,t)}}var Qr="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",N=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 Ae=globalThis;function R(e){for(let t in e)if(e[t]===R)return t;throw Error("")}function Al(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Qe(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(Qe).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 Zr(e,t){return e?t?`${e} ${t}`:e:t||""}var yg=R({__forward_ref__:R});function Yr(e){return e.__forward_ref__=Yr,e.toString=function(){return Qe(this())},e}function H(e){return zi(e)?e():e}function zi(e){return typeof e=="function"&&e.hasOwnProperty(yg)&&e.__forward_ref__===Yr}function Q(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Rl(e){return{providers:e.providers||[],imports:e.imports||[]}}function Kr(e){return vg(e,Jr)}function vg(e,t){return e.hasOwnProperty(t)&&e[t]||null}function Eg(e){let t=e?.[Jr]??null;return t||null}function Fi(e){return e&&e.hasOwnProperty(Gr)?e[Gr]:null}var Jr=R({\u0275prov:R}),Gr=R({\u0275inj:R}),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=Q({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Qi(e){return e&&!!e.\u0275providers}var Zi=R({\u0275cmp:R}),Yi=R({\u0275dir:R}),Ki=R({\u0275pipe:R});var An=R({\u0275fac:R}),It=R({__NG_ELEMENT_ID__:R}),xl=R({__NG_ENV_ID__:R});function ie(e){return typeof e=="string"?e:e==null?"":String(e)}function Ol(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():ie(e)}var kl=R({ngErrorCode:R}),Ig=R({ngErrorMessage:R}),Dg=R({ngTokenPath:R});function Ji(e,t){return Pl("",-200,t)}function Xr(e,t){throw new N(-201,!1)}function Pl(e,t,n){let r=new N(t,e);return r[kl]=t,r[Ig]=e,n&&(r[Dg]=n),r}function Cg(e){return e[kl]}var ji;function Ll(){return ji}function X(e){let t=ji;return ji=e,t}function Xi(e,t,n){let r=Kr(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;Xr(e,"Injector")}var wg={},mt=wg,Vi="__NG_DI_FLAG__",Hi=class{injector;constructor(t){this.injector=t}retrieve(t,n){let r=yt(n)||0;try{return this.injector.get(t,r&8?null:mt,r)}catch(o){if(Pt(o))return o;throw o}}};function Tg(e,t=0){let n=fr();if(n===void 0)throw new N(-203,!1);if(n===null)return Xi(e,void 0,t);{let r=bg(t),o=n.retrieve(e,r);if(Pt(o)){if(r.optional)return null;throw o}return o}}function xe(e,t=0){return(Ll()||Tg)(H(e),t)}function C(e,t){return xe(e,yt(t))}function yt(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function bg(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function Bi(e){let t=[];for(let n=0;n<e.length;n++){let r=H(e[n]);if(Array.isArray(r)){if(r.length===0)throw new N(900,!1);let o,i=0;for(let s=0;s<r.length;s++){let a=r[s],c=_g(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(xe(o,i))}else t.push(xe(r))}return t}function eo(e,t){return e[Vi]=t,e.prototype[Vi]=t,e}function _g(e){return e[Vi]}function Ze(e,t){let n=e.hasOwnProperty(An);return n?e[An]:null}function Fl(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 jl(e){return e.flat(Number.POSITIVE_INFINITY)}function to(e,t){e.forEach(n=>Array.isArray(n)?to(n,t):t(n))}function es(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Pn(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Vl(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function Hl(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 Ln(e,t,n){let r=Yt(e,t);return r>=0?e[r|1]=n:(r=~r,Hl(e,r,t,n)),r}function no(e,t){let n=Yt(e,t);if(n>=0)return e[n|1]}function Yt(e,t){return Mg(e,t,1)}function Mg(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 ve={},Y=[],Ke=new S(""),ts=new S("",-1),ns=new S(""),Rn=class{get(t,n=mt){if(n===mt){let o=Pl("",-201);throw o.name="\u0275NotFound",o}return n}};function Je(e){return e[Zi]||null}function ro(e){return e[Yi]||null}function Bl(e){return e[Ki]||null}function rs(e){return{\u0275providers:e}}function Ng(e){return rs([{provide:Ke,multi:!0,useValue:e}])}function $l(...e){return{\u0275providers:os(!0,e),\u0275fromNgModule:!0}}function os(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return to(t,s=>{let a=s;zr(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Ul(o,i),n}function Ul(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];is(o,i=>{t(i,r)})}}function zr(e,t,n,r){if(e=H(e),!e)return!1;let o=null,i=Fi(e),s=!i&&Je(e);if(!i&&!s){let c=e.ngModule;if(i=Fi(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)zr(l,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;try{to(i.imports,u=>{zr(u,t,n,r)&&(l||=[],l.push(u))})}finally{}l!==void 0&&Ul(l,t)}if(!a){let l=Ze(o)||(()=>new o);t({provide:o,useFactory:l,deps:Y},o),t({provide:ns,useValue:o,multi:!0},o),t({provide:Ke,useValue:()=>xe(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=e;is(c,u=>{t(u,l)})}}else return!1;return o!==e&&e.providers!==void 0}function is(e,t){for(let n of e)Qi(n)&&(n=n.\u0275providers),Array.isArray(n)?is(n,t):t(n)}var xg=R({provide:String,useValue:R});function ql(e){return e!==null&&typeof e=="object"&&xg in e}function Sg(e){return!!(e&&e.useExisting)}function Ag(e){return!!(e&&e.useFactory)}function vt(e){return typeof e=="function"}function Wl(e){return!!e.useClass}var ss=new S(""),Wr={},Sl={},Li;function Kt(){return Li===void 0&&(Li=new Rn),Li}var le=class{},Et=class extends le{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,Ui(t,s=>this.processProvider(s)),this.records.set(ts,Zt(void 0,this)),o.has("environment")&&this.records.set(le,Zt(void 0,this));let i=this.records.get(ss);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(ns,Y,{self:!0}))}retrieve(t,n){let r=yt(n)||0;try{return this.get(t,mt,r)}catch(o){if(Pt(o))return o;throw o}}destroy(){Sn(this),this._destroyed=!0;let t=D(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),D(t)}}onDestroy(t){return Sn(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){Sn(this);let n=be(this),r=X(void 0),o;try{return t()}finally{be(n),X(r)}}get(t,n=mt,r){if(Sn(this),t.hasOwnProperty(xl))return t[xl](this);let o=yt(r),i,s=be(this),a=X(void 0);try{if(!(o&4)){let l=this.records.get(t);if(l===void 0){let u=Lg(t)&&Kr(t);u&&this.injectableDefInScope(u)?l=Zt($i(t),Wr):l=null,this.records.set(t,l)}if(l!=null)return this.hydrate(t,l,o)}let c=o&2?Kt():this.parent;return n=o&8&&n===mt?null:n,c.get(t,n)}catch(c){let l=Cg(c);throw l===-200||l===-201?new N(l,null):c}finally{X(a),be(s)}}resolveInjectorInitializers(){let t=D(null),n=be(this),r=X(void 0),o;try{let i=this.get(Ke,Y,{self:!0});for(let s of i)s()}finally{be(n),X(r),D(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(Qe(r));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=H(t);let n=vt(t)?t:H(t&&t.provide),r=Og(t);if(!vt(t)&&t.multi===!0){let o=this.records.get(n);o||(o=Zt(void 0,Wr,!0),o.factory=()=>Bi(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n,r){let o=D(null);try{if(n.value===Sl)throw Ji(Qe(t));return n.value===Wr&&(n.value=Sl,n.value=n.factory(void 0,r)),typeof n.value=="object"&&n.value&&Pg(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{D(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=H(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 $i(e){let t=Kr(e),n=t!==null?t.factory:Ze(e);if(n!==null)return n;if(e instanceof S)throw new N(204,!1);if(e instanceof Function)return Rg(e);throw new N(204,!1)}function Rg(e){if(e.length>0)throw new N(204,!1);let n=Eg(e);return n!==null?()=>n.factory(e):()=>new e}function Og(e){if(ql(e))return Zt(void 0,e.useValue);{let t=as(e);return Zt(t,Wr)}}function as(e,t,n){let r;if(vt(e)){let o=H(e);return Ze(o)||$i(o)}else if(ql(e))r=()=>H(e.useValue);else if(Ag(e))r=()=>e.useFactory(...Bi(e.deps||[]));else if(Sg(e))r=(o,i)=>xe(H(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=H(e&&(e.useClass||e.provide));if(kg(e))r=()=>new o(...Bi(e.deps));else return Ze(o)||$i(o)}return r}function Sn(e){if(e.destroyed)throw new N(205,!1)}function Zt(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function kg(e){return!!e.deps}function Pg(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Lg(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function Ui(e,t){for(let n of e)Array.isArray(n)?Ui(n,t):n&&Qi(n)?Ui(n.\u0275providers,t):t(n)}function oo(e,t){let n;e instanceof Et?(Sn(e),n=e):n=new Hi(e);let r,o=be(n),i=X(void 0);try{return t()}finally{be(o),X(i)}}function Gl(){return Ll()!==void 0||fr()!=null}var Ee=0,E=1,w=2,B=3,de=4,ee=5,Dt=6,Jt=7,L=8,Xe=9,Re=10,O=11,Xt=12,cs=13,Ct=14,K=15,et=16,wt=17,Oe=18,Fn=19,ls=20,Fe=21,io=22,je=23,se=24,Tt=25,bt=26,k=27,zl=1,us=6,tt=7,jn=8,_t=9,j=10;function ke(e){return Array.isArray(e)&&typeof e[zl]=="object"}function Ie(e){return Array.isArray(e)&&e[zl]===!0}function ds(e){return(e.flags&4)!==0}function nt(e){return e.componentOffset>-1}function en(e){return(e.flags&1)===1}function De(e){return!!e.template}function tn(e){return(e[w]&512)!==0}function Mt(e){return(e[w]&256)===256}var fs="svg",Ql="math";function fe(e){for(;Array.isArray(e);)e=e[Ee];return e}function ps(e,t){return fe(t[e])}function Ce(e,t){return fe(t[e.index])}function Vn(e,t){return e.data[t]}function Hn(e,t){return e[t]}function hs(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function pe(e,t){let n=t[e];return ke(n)?n:n[Ee]}function Zl(e){return(e[w]&4)===4}function so(e){return(e[w]&128)===128}function Yl(e){return Ie(e[B])}function ae(e,t){return t==null?null:e[t]}function gs(e){e[wt]=0}function ms(e){e[w]&1024||(e[w]|=1024,so(e)&&rt(e))}function Kl(e,t){for(;e>0;)t=t[Ct],e--;return t}function Bn(e){return!!(e[w]&9216||e[se]?.dirty)}function ao(e){e[Re].changeDetectionScheduler?.notify(8),e[w]&64&&(e[w]|=1024),Bn(e)&&rt(e)}function rt(e){e[Re].changeDetectionScheduler?.notify(0);let t=Ye(e);for(;t!==null&&!(t[w]&8192||(t[w]|=8192,!so(t)));)t=Ye(t)}function ys(e,t){if(Mt(e))throw new N(911,!1);e[Fe]===null&&(e[Fe]=[]),e[Fe].push(t)}function Jl(e,t){if(e[Fe]===null)return;let n=e[Fe].indexOf(t);n!==-1&&e[Fe].splice(n,1)}function Ye(e){let t=e[B];return Ie(t)?t[B]:t}function vs(e){return e[Jt]??=[]}function Es(e){return e.cleanup??=[]}function Xl(e,t,n,r){let o=vs(t);o.push(n),e.firstCreatePass&&Es(e).push(r,o.length-1)}var M={lFrame:fu(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var qi=!1;function eu(){return M.lFrame.elementDepthCount}function tu(){M.lFrame.elementDepthCount++}function Is(){M.lFrame.elementDepthCount--}function co(){return M.bindingsEnabled}function Ds(){return M.skipHydrationRootTNode!==null}function Cs(e){return M.skipHydrationRootTNode===e}function ws(){M.skipHydrationRootTNode=null}function v(){return M.lFrame.lView}function P(){return M.lFrame.tView}function nu(e){return M.lFrame.contextLView=e,e[L]}function ru(e){return M.lFrame.contextLView=null,e}function F(){let e=Ts();for(;e!==null&&e.type===64;)e=e.parent;return e}function Ts(){return M.lFrame.currentTNode}function ou(){let e=M.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function nn(e,t){let n=M.lFrame;n.currentTNode=e,n.isParent=t}function bs(){return M.lFrame.isParent}function _s(){M.lFrame.isParent=!1}function iu(){return M.lFrame.contextLView}function Ms(){return qi}function rn(e){let t=qi;return qi=e,t}function Nt(){let e=M.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Ns(){return M.lFrame.bindingIndex}function su(e){return M.lFrame.bindingIndex=e}function Ve(){return M.lFrame.bindingIndex++}function $n(e){let t=M.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function au(){return M.lFrame.inI18n}function cu(e,t){let n=M.lFrame;n.bindingIndex=n.bindingRootIndex=e,lo(t)}function lu(){return M.lFrame.currentDirectiveIndex}function lo(e){M.lFrame.currentDirectiveIndex=e}function uu(e){let t=M.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function uo(){return M.lFrame.currentQueryIndex}function Un(e){M.lFrame.currentQueryIndex=e}function Fg(e){let t=e[E];return t.type===2?t.declTNode:t.type===1?e[ee]:null}function xs(e,t,n){if(n&4){let o=t,i=e;for(;o=o.parent,o===null&&!(n&1);)if(o=Fg(i),o===null||(i=i[Ct],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=M.lFrame=du();return r.currentTNode=t,r.lView=e,!0}function fo(e){let t=du(),n=e[E];M.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function du(){let e=M.lFrame,t=e===null?null:e.child;return t===null?fu(e):t}function fu(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 pu(){let e=M.lFrame;return M.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Ss=pu;function po(){let e=pu();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 hu(e){return(M.lFrame.contextLView=Kl(e,M.lFrame.contextLView))[L]}function we(){return M.lFrame.selectedIndex}function ot(e){M.lFrame.selectedIndex=e}function qn(){let e=M.lFrame;return Vn(e.tView,e.selectedIndex)}function gu(){M.lFrame.currentNamespace=fs}function mu(){jg()}function jg(){M.lFrame.currentNamespace=null}function yu(){return M.lFrame.currentNamespace}var vu=!0;function ho(){return vu}function Wn(e){vu=e}function Wi(e,t=null,n=null,r){let o=Eu(e,t,n,r);return o.resolveInjectorInitializers(),o}function Eu(e,t=null,n=null,r,o=new Set){let i=[n||Y,$l(e)];return r=r||(typeof e=="object"?void 0:Qe(e)),new Et(i,t||Kt(),r||null,o)}var ye=class e{static THROW_IF_NOT_FOUND=mt;static NULL=new Rn;static create(t,n){if(Array.isArray(t))return Wi({name:""},n,t,"");{let r=t.name??"";return Wi({name:r},t.parent,t.providers,r)}}static \u0275prov=Q({token:e,providedIn:"any",factory:()=>xe(ts)});static __NG_ELEMENT_ID__=-1},Vg=new S(""),He=(()=>{class e{static __NG_ELEMENT_ID__=Hg;static __NG_ENV_ID__=n=>n}return e})(),On=class extends He{_lView;constructor(t){super(),this._lView=t}get destroyed(){return Mt(this._lView)}onDestroy(t){let n=this._lView;return ys(n,t),()=>Jl(n,t)}};function Hg(){return new On(v())}var Se=class{_console=console;handleError(t){this._console.error("ERROR",t)}},Be=new S("",{providedIn:"root",factory:()=>{let e=C(le),t;return n=>{e.destroyed&&!t?setTimeout(()=>{throw n}):(t??=e.get(Se),t.handleError(n))}}}),Iu={provide:Ke,useValue:()=>void C(Se),multi:!0};function As(e){return typeof e=="function"&&e[V]!==void 0}function go(e,t){let[n,r,o]=Di(e,t?.equal),i=n,s=i[V];return i.set=r,i.update=o,i.asReadonly=Rs.bind(i),i}function Rs(){let e=this[V];if(e.readonlyFn===void 0){let t=()=>this();t[V]=e,e.readonlyFn=t}return e.readonlyFn}function Os(e){return As(e)&&typeof e.set=="function"}var ue=class{},mo=new S("",{providedIn:"root",factory:()=>!1});var ks=new S(""),Ps=new S("");var xt=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=Bg}return e})();function Bg(){return new xt(v(),F())}var it=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new bn(!1);get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new x(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=Q({token:e,providedIn:"root",factory:()=>new e})}return e})(),Ls=(()=>{class e{internalPendingTasks=C(it);scheduler=C(ue);errorHandler=C(Be);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=Q({token:e,providedIn:"root",factory:()=>new e})}return e})();function St(...e){}var Gn=(()=>{class e{static \u0275prov=Q({token:e,providedIn:"root",factory:()=>new Gi})}return e})(),Gi=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 gn(e){return{toString:e}.toString()}var yo="__parameters__";function Zg(e){return function(...n){if(e){let r=e(...n);for(let o in r)this[o]=r[o]}}}function xa(e,t,n){return gn(()=>{let r=Zg(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;let s=new o(...i);return a.annotation=s,a;function a(c,l,u){let d=c.hasOwnProperty(yo)?c[yo]:Object.defineProperty(c,yo,{value:[]})[yo];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),c}}return o.prototype.ngMetadataName=e,o.annotationCls=o,o})}var Yg=eo(xa("Inject",e=>({token:e})),-1),Kg=eo(xa("Optional"),8);var Jg=eo(xa("SkipSelf"),4);function Xg(e){return typeof e=="function"}var No=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function od(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var em=(()=>{let e=()=>id;return e.ngInherit=!0,e})();function id(e){return e.type.prototype.ngOnChanges&&(e.setInput=nm),tm}function tm(){let e=ad(this),t=e?.current;if(t){let n=e.previous;if(n===ve)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function nm(e,t,n,r,o){let i=this.declaredInputs[r],s=ad(e)||rm(e,{previous:ve,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new No(l&&l.currentValue,n,c===ve),od(e,t,o,n)}var sd="__ngSimpleChanges__";function ad(e){return e[sd]||null}function rm(e,t){return e[sd]=t}var Du=[];var A=function(e,t=null,n){for(let r=0;r<Du.length;r++){let o=Du[r];o(e,t,n)}};function om(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=id(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 cd(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 wo(e,t,n){ld(e,t,3,n)}function To(e,t,n,r){(e[w]&3)===n&&ld(e,t,n,r)}function Fs(e,t){let n=e[w];(n&3)===t&&(n&=16383,n+=1,e[w]=n)}function ld(e,t,n,r){let o=r!==void 0?e[wt]&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[wt]+=65536),(a<i||i==-1)&&(im(e,n,t,c),e[wt]=(e[wt]&4294901760)+c+2),c++}function Cu(e,t){A(4,e,t);let n=D(null);try{t.call(e)}finally{D(n),A(5,e,t)}}function im(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[w]>>14<e[wt]>>16&&(e[w]&3)===t&&(e[w]+=16384,Cu(a,i)):Cu(a,i)}var sn=-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 sm(e){return(e.flags&8)!==0}function am(e){return(e.flags&16)!==0}function cm(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];lm(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function ud(e){return e===3||e===4||e===6}function lm(e){return e.charCodeAt(0)===64}function an(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?wu(e,n,o,null,t[++r]):wu(e,n,o,null,null))}}return e}function wu(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 dd(e){return e!==sn}function xo(e){return e&32767}function um(e){return e>>16}function So(e,t){let n=um(e),r=t;for(;n>0;)r=r[Ct],n--;return r}var Qs=!0;function Ao(e){let t=Qs;return Qs=e,t}var dm=256,fd=dm-1,pd=5,fm=0,Pe={};function pm(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(It)&&(r=n[It]),r==null&&(r=n[It]=fm++);let o=r&fd,i=1<<o;t.data[e+(o>>pd)]|=i}function Ro(e,t){let n=hd(e,t);if(n!==-1)return n;let r=t[E];r.firstCreatePass&&(e.injectorIndex=t.length,js(r.data,e),js(t,null),js(r.blueprint,null));let o=Sa(e,t),i=e.injectorIndex;if(dd(o)){let s=xo(o),a=So(o,t),c=a[E].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|c[s+l]}return t[i+8]=o,i}function js(e,t){e.push(0,0,0,0,0,0,0,0,t)}function hd(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Sa(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=Ed(o),r===null)return sn;if(n++,o=o[Ct],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return sn}function Zs(e,t,n){pm(e,t,n)}function hm(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(ud(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 gd(e,t,n){if(n&8||e!==void 0)return e;Xr(t,"NodeInjector")}function md(e,t,n,r){if(n&8&&r===void 0&&(r=null),(n&3)===0){let o=e[Xe],i=X(void 0);try{return o?o.get(t,r,n&8):Xi(t,r,n&8)}finally{X(i)}}return gd(r,t,n)}function yd(e,t,n,r=0,o){if(e!==null){if(t[w]&2048&&!(r&2)){let s=Em(e,t,n,r,Pe);if(s!==Pe)return s}let i=vd(e,t,n,r,Pe);if(i!==Pe)return i}return md(t,n,r,o)}function vd(e,t,n,r,o){let i=mm(n);if(typeof i=="function"){if(!xs(t,e,r))return r&1?gd(o,n,r):md(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&8))Xr(n);else return s}finally{Ss()}}else if(typeof i=="number"){let s=null,a=hd(e,t),c=sn,l=r&1?t[K][ee]:null;for((a===-1||r&4)&&(c=a===-1?Sa(e,t):t[a+8],c===sn||!bu(r,!1)?a=-1:(s=t[E],a=xo(c),t=So(c,t)));a!==-1;){let u=t[E];if(Tu(i,a,u.data)){let d=gm(a,t,n,s,r,l);if(d!==Pe)return d}c=t[a+8],c!==sn&&bu(r,t[E].data[a+8]===l)&&Tu(i,a,t)?(s=u,a=xo(c),t=So(c,t)):a=-1}}return o}function gm(e,t,n,r,o,i){let s=t[E],a=s.data[e+8],c=r==null?nt(a)&&Qs:r!=s&&(a.type&3)!==0,l=o&1&&i===a,u=bo(a,s,n,c,l);return u!==null?Zn(t,s,u,a,o):Pe}function bo(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&&De(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=Ol(s[n]);throw Ji(f)}let c=Ao(a.canSeeViewProviders);a.resolving=!0;let l=s[n].type||s[n],u,d=a.injectImpl?X(a.injectImpl):null,p=xs(e,r,0);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&om(n,s[n],t)}finally{d!==null&&X(d),Ao(c),a.resolving=!1,Ss()}}return i}function mm(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(It)?e[It]:void 0;return typeof t=="number"?t>=0?t&fd:ym:t}function Tu(e,t,n){let r=1<<e;return!!(n[t+(e>>pd)]&r)}function bu(e,t){return!(e&2)&&!(e&1&&t)}var At=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return yd(this._tNode,this._lView,t,yt(r),n)}};function ym(){return new At(F(),v())}function vm(e){return gn(()=>{let t=e.prototype.constructor,n=t[An]||Ys(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[An]||Ys(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Ys(e){return zi(e)?()=>{let t=Ys(H(e));return t&&t()}:Ze(e)}function Em(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[w]&2048&&!tn(s);){let a=vd(i,s,n,r|2,Pe);if(a!==Pe)return a;let c=i.parent;if(!c){let l=s[ls];if(l){let u=l.get(n,Pe,r);if(u!==Pe)return u}c=Ed(s),s=s[Ct]}i=c}return o}function Ed(e){let t=e[E],n=t.type;return n===2?t.declTNode:n===1?e[ee]:null}function Id(e){return hm(F(),e)}function Im(){return mn(F(),v())}function mn(e,t){return new rr(Ce(e,t))}var rr=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=Im}return e})();function Dd(e){return e instanceof rr?e.nativeElement:e}function Dm(){return this._results[Symbol.iterator]()}var Oo=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 te}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=jl(t);(this._changesDetected=!Fl(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]=Dm};function Cd(e){return(e.flags&128)===128}var Aa=(function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e})(Aa||{}),wd=new Map,Cm=0;function wm(){return Cm++}function Tm(e){wd.set(e[Fn],e)}function Ks(e){wd.delete(e[Fn])}var _u="__ngContext__";function cn(e,t){ke(t)?(e[_u]=t[Fn],Tm(t)):e[_u]=t}function Td(e){return _d(e[Xt])}function bd(e){return _d(e[de])}function _d(e){for(;e!==null&&!Ie(e);)e=e[de];return e}var Js;function bm(e){Js=e}function Ra(){if(Js!==void 0)return Js;if(typeof document<"u")return document;throw new N(210,!1)}var _m=new S("",{providedIn:"root",factory:()=>Mm}),Mm="ng",Md=new S(""),Nm=new S("",{providedIn:"platform",factory:()=>"unknown"});var xm=new S(""),Sm=new S("",{providedIn:"root",factory:()=>Ra().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),Nd={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},Am=new S("",{providedIn:"root",factory:()=>Nd});var Rm="h",Om="b";var xd="r";var Sd="di";var Ad=!1,Rd=new S("",{providedIn:"root",factory:()=>Ad});var km=(e,t,n,r)=>{};function Pm(e,t,n,r){km(e,t,n,r)}function Qo(e){return(e.flags&32)===32}var Lm=()=>null;function Od(e,t,n=!1){return Lm(e,t,n)}function kd(e,t){let n=e.contentQueries;if(n!==null){let r=D(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{D(r)}}}function Xs(e,t,n){Un(0);let r=D(null);try{t(e,n)}finally{D(r)}}function Oa(e,t,n){if(ds(t)){let r=D(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{D(r)}}}var ln=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e})(ln||{}),vo;function Fm(){if(vo===void 0&&(vo=null,Ae.trustedTypes))try{vo=Ae.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return vo}function Zo(e){return Fm()?.createHTML(e)||e}var Eo;function jm(){if(Eo===void 0&&(Eo=null,Ae.trustedTypes))try{Eo=Ae.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Eo}function Mu(e){return jm()?.createHTML(e)||e}var ko=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Qr})`}};function yn(e){return e instanceof ko?e.changingThisBreaksApplicationSecurity:e}function ka(e,t){let n=Pd(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Qr})`)}return n===t}function Pd(e){return e instanceof ko&&e.getTypeName()||null}function Vm(e){let t=new ta(e);return Hm()?new ea(t):t}var ea=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(Zo(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}},ta=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=Zo(t),n}};function Hm(){try{return!!new window.DOMParser().parseFromString(Zo(""),"text/html")}catch{return!1}}var Bm=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Pa(e){return e=String(e),e.match(Bm)?e:"unsafe:"+e}function Ue(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function or(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var Ld=Ue("area,br,col,hr,img,wbr"),Fd=Ue("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),jd=Ue("rp,rt"),$m=or(jd,Fd),Um=or(Fd,Ue("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")),qm=or(jd,Ue("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")),Nu=or(Ld,Um,qm,$m),Vd=Ue("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Wm=Ue("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"),Gm=Ue("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"),zm=or(Vd,Wm,Gm),Qm=Ue("script,style,template"),na=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=Km(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=Ym(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=xu(t).toLowerCase();if(!Nu.hasOwnProperty(n))return this.sanitizedSomething=!0,!Qm.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(!zm.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;Vd[a]&&(c=Pa(c)),this.buf.push(" ",s,'="',Su(c),'"')}return this.buf.push(">"),!0}endElement(t){let n=xu(t).toLowerCase();Nu.hasOwnProperty(n)&&!Ld.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Su(t))}};function Zm(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function Ym(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw Hd(t);return t}function Km(e){let t=e.firstChild;if(t&&Zm(e,t))throw Hd(t);return t}function xu(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function Hd(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var Jm=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Xm=/([^\#-~ |!])/g;function Su(e){return e.replace(/&/g,"&").replace(Jm,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(Xm,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var Io;function Bd(e,t){let n=null;try{Io=Io||Vm(e);let r=t?String(t):"";n=Io.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=Io.getInertBodyElement(r)}while(r!==i);let a=new na().sanitizeChildren(Au(n)||n);return Zo(a)}finally{if(n){let r=Au(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function Au(e){return"content"in e&&ey(e)?e.content:null}function ey(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var Yo=(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})(Yo||{});function ty(e){let t=$d();return t?Mu(t.sanitize(Yo.HTML,e)||""):ka(e,"HTML")?Mu(yn(e)):Bd(Ra(),ie(e))}function ny(e){let t=$d();return t?t.sanitize(Yo.URL,e)||"":ka(e,"URL")?yn(e):Pa(ie(e))}function $d(){let e=v();return e&&e[Re].sanitizer}var ry=/^>|^->|<!--|-->|--!>|<!-$/g,oy=/(<|>)/g,iy="\u200B$1\u200B";function sy(e){return e.replace(ry,t=>t.replace(oy,iy))}function ay(e){return e.ownerDocument.defaultView}function cy(e){return e.ownerDocument}function ly(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 Ud="ng-template";function uy(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&ly(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(La(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 La(e){return e.type===4&&e.value!==Ud}function dy(e,t,n){let r=e.type===4&&!n?Ud:e.value;return t===r}function fy(e,t,n){let r=4,o=e.attrs,i=o!==null?gy(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!Te(r)&&!Te(c))return!1;if(s&&Te(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!dy(e,c,n)||c===""&&t.length===1){if(Te(r))return!1;s=!0}}else if(r&8){if(o===null||!uy(e,o,c,n)){if(Te(r))return!1;s=!0}}else{let l=t[++a],u=py(c,o,La(e),n);if(u===-1){if(Te(r))return!1;s=!0;continue}if(l!==""){let d;if(u>i?d="":d=o[u+1].toLowerCase(),r&2&&l!==d){if(Te(r))return!1;s=!0}}}}return Te(r)||s}function Te(e){return(e&1)===0}function py(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 my(t,e)}function qd(e,t,n=!1){for(let r=0;r<t.length;r++)if(fy(e,t[r],n))return!0;return!1}function hy(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if((n&1)===0)return t[n+1]}return null}function gy(e){for(let t=0;t<e.length;t++){let n=e[t];if(ud(n))return t}return e.length}function my(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 yy(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 Ru(e,t){return e?":not("+t.trim()+")":t}function vy(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!==""&&!Te(s)&&(t+=Ru(i,o),o=""),r=s,i=i||!Te(r);n++}return o!==""&&(t+=Ru(i,o)),t}function Ey(e){return e.map(vy).join(",")}function Iy(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(!Te(o))break;o=i}r++}return n.length&&t.push(1,...n),t}var W={};function Dy(e,t){return e.createText(t)}function Cy(e,t,n){e.setValue(t,n)}function wy(e,t){return e.createComment(sy(t))}function Wd(e,t,n){return e.createElement(t,n)}function Po(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Gd(e,t,n){e.appendChild(t,n)}function Ou(e,t,n,r,o){r!==null?Po(e,t,n,r,o):Gd(e,t,n)}function zd(e,t,n,r){e.removeChild(null,t,n,r)}function Ty(e,t,n){e.setAttribute(t,"style",n)}function by(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Qd(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&cm(e,t,r),o!==null&&by(e,t,o),i!==null&&Ty(e,t,i)}function Fa(e,t,n,r,o,i,s,a,c,l,u){let d=k+r,p=d+o,f=_y(d,p),h=typeof l=="function"?l():l;return f[E]={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 _y(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:W);return n}function My(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=Fa(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function ja(e,t,n,r,o,i,s,a,c,l,u){let d=t.blueprint.slice();return d[Ee]=o,d[w]=r|4|128|8|64|1024,(l!==null||e&&e[w]&2048)&&(d[w]|=2048),gs(d),d[B]=d[Ct]=e,d[L]=n,d[Re]=s||e&&e[Re],d[O]=a||e&&e[O],d[Xe]=c||e&&e[Xe]||null,d[ee]=i,d[Fn]=wm(),d[Dt]=u,d[ls]=l,d[K]=t.type==2?e[K]:d,d}function Ny(e,t,n){let r=Ce(t,e),o=My(n),i=e[Re].rendererFactory,s=Va(e,ja(e,o,null,Zd(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function Zd(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Yd(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 Va(e,t){return e[Xt]?e[cs][de]=t:e[Xt]=t,e[cs]=t,t}function xy(e=1){Kd(P(),v(),we()+e,!1)}function Kd(e,t,n,r){if(!r)if((t[w]&3)===3){let i=e.preOrderCheckHooks;i!==null&&wo(t,i,n)}else{let i=e.preOrderHooks;i!==null&&To(t,i,0,n)}ot(n)}var Ko=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(Ko||{});function ra(e,t,n,r){let o=D(null);try{let[i,s,a]=e.inputs[n],c=null;(s&Ko.SignalBased)!==0&&(c=t[i][V]),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):od(t,c,i,r)}finally{D(o)}}var Lo=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})(Lo||{}),Sy;function Ha(e,t){return Sy(e,t)}var Ba=new Set;var Jd=new S("",{providedIn:"root",factory:()=>({queue:new Set,isScheduled:!1})});function ku(e,t,n,r){let o=e?.[bt]?.enter;if(t!==null&&o&&o.has(n.index)){let i=r.get(Jd);for(let s of o.get(n.index).animateFns)i.queue.add(s)}}function on(e,t,n,r,o,i,s,a){if(o!=null){let c,l=!1;Ie(o)?c=o:ke(o)&&(l=!0,o=o[Ee]);let u=fe(o);e===0&&r!==null?(ku(a,r,i,n),s==null?Gd(t,r,u):Po(t,r,u,s||null,!0)):e===1&&r!==null?(ku(a,r,i,n),Po(t,r,u,s||null,!0)):e===2?Pu(a,i,n,d=>{zd(t,u,l,d)}):e===3&&Pu(a,i,n,()=>{t.destroyNode(u)}),c!=null&&$y(t,e,n,c,i,r,s)}}function Ay(e,t){let n=e.get(Jd);if(Array.isArray(t))for(let r of t)n.queue.add(r);else n.queue.add(t)}function Ry(e,t){Xd(e,t),t[Ee]=null,t[ee]=null}function Oy(e,t,n,r,o,i){r[Ee]=o,r[ee]=t,Xo(e,r,n,1,o,i)}function Xd(e,t){t[Re].changeDetectionScheduler?.notify(9),Xo(e,t,t[O],2,null,null)}function ky(e){let t=e[Xt];if(!t)return Vs(e[E],e);for(;t;){let n=null;if(ke(t))n=t[Xt];else{let r=t[j];r&&(n=r)}if(!n){for(;t&&!t[de]&&t!==e;)ke(t)&&Vs(t[E],t),t=t[B];t===null&&(t=e),ke(t)&&Vs(t[E],t),n=t&&t[de]}t=n}}function $a(e,t){let n=e[_t],r=n.indexOf(t);n.splice(r,1)}function Jo(e,t){if(Mt(t))return;let n=t[O];n.destroyNode&&Xo(e,t,n,3,null,null),ky(t)}function Vs(e,t){if(Mt(t))return;let n=D(null);try{t[w]&=-129,t[w]|=256,t[se]&&We(t[se]),Fy(e,t),Ly(e,t),t[E].type===1&&t[O].destroy();let r=t[et];if(r!==null&&Ie(t[B])){r!==t[B]&&$a(r,t);let o=t[Oe];o!==null&&o.detachView(e)}Ks(t)}finally{D(n)}}function Pu(e,t,n,r){let o=e?.[bt];if(o==null||o.leave==null||!o.leave.has(t.index))return r(!1);if(o.skipLeaveAnimations)return o.skipLeaveAnimations=!1,r(!1);Ay(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.running=Promise.allSettled(a),Py(e,r)}else e&&Ba.delete(e),r(!1)})}function Py(e,t){let n=e[bt]?.running;if(n){n.then(()=>{e[bt].running=void 0,Ba.delete(e),t(!0)});return}t(!1)}function Ly(e,t){let n=e.cleanup,r=t[Jt];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[Jt]=null);let o=t[Fe];if(o!==null){t[Fe]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[je];if(i!==null){t[je]=null;for(let s of i)s.destroy()}}function Fy(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];A(4,a,c);try{c.call(a)}finally{A(5,a,c)}}else{A(4,o,i);try{i.call(o)}finally{A(5,o,i)}}}}}function ef(e,t,n){return jy(e,t.parent,n)}function jy(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[Ee];if(nt(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===ln.None||o===ln.Emulated)return null}return Ce(r,n)}function tf(e,t,n){return Hy(e,t,n)}function Vy(e,t,n){return e.type&40?Ce(e,n):null}var Hy=Vy,Lu;function Ua(e,t,n,r){let o=ef(e,r,t),i=t[O],s=r.parent||t[ee],a=tf(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)Ou(i,o,n[c],a,!1);else Ou(i,o,n,a,!1);Lu!==void 0&&Lu(i,r,t,n,o)}function zn(e,t){if(t!==null){let n=t.type;if(n&3)return Ce(t,e);if(n&4)return oa(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return zn(e,r);{let o=e[t.index];return Ie(o)?oa(-1,o):fe(o)}}else{if(n&128)return zn(e,t.next);if(n&32)return Ha(t,e)()||fe(e[t.index]);{let r=nf(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=Ye(e[K]);return zn(o,r)}else return zn(e,t.next)}}}return null}function nf(e,t){if(t!==null){let r=e[K][ee],o=t.projection;return r.projection[o]}return null}function oa(e,t){let n=j+e+1;if(n<t.length){let r=t[n],o=r[E].firstChild;if(o!==null)return zn(r,o)}return t[tt]}function qa(e,t,n,r,o,i,s){for(;n!=null;){let a=r[Xe];if(n.type===128){n=n.next;continue}let c=r[n.index],l=n.type;if(s&&t===0&&(c&&cn(fe(c),r),n.flags|=2),!Qo(n))if(l&8)qa(e,t,n.child,r,o,i,!1),on(t,e,a,o,c,n,i,r);else if(l&32){let u=Ha(n,r),d;for(;d=u();)on(t,e,a,o,d,n,i,r);on(t,e,a,o,c,n,i,r)}else l&16?rf(e,t,r,n,o,i):on(t,e,a,o,c,n,i,r);n=s?n.projectionNext:n.next}}function Xo(e,t,n,r,o,i){qa(n,r,e.firstChild,t,o,i,!1)}function By(e,t,n){let r=t[O],o=ef(e,n,t),i=n.parent||t[ee],s=tf(i,n,t);rf(r,0,t,n,o,s)}function rf(e,t,n,r,o,i){let s=n[K],c=s[ee].projection[r.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++){let u=c[l];on(t,e,n[Xe],o,u,r,i,n)}else{let l=c,u=s[B];Cd(r)&&(l.flags|=128),qa(e,t,l,u,o,i,!0)}}function $y(e,t,n,r,o,i,s){let a=r[tt],c=fe(r);a!==c&&on(t,e,n,i,a,o,s);for(let l=j;l<r.length;l++){let u=r[l];Xo(u[E],u,e,t,i,a)}}function Uy(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:Lo.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Lo.Important),e.setStyle(n,r,o,i))}}function of(e,t,n,r,o){let i=we(),s=r&2;try{ot(-1),s&&t.length>k&&Kd(e,t,k,!1),A(s?2:0,o,n),n(r,o)}finally{ot(i),A(s?3:1,o,n)}}function ei(e,t,n){Zy(e,t,n),(n.flags&64)===64&&Yy(e,t,n)}function vn(e,t,n=Ce){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 qy(e,t,n,r){let i=r.get(Rd,Ad)||n===ln.ShadowDom,s=e.selectRootElement(t,i);return Wy(s),s}function Wy(e){Gy(e)}var Gy=()=>null;function zy(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function sf(e,t,n,r,o,i){let s=t[E];if(Ga(e,s,t,n,r)){nt(e)&&Qy(t,e.index);return}e.type&3&&(n=zy(n)),af(e,t,n,r,o,i)}function af(e,t,n,r,o,i){if(e.type&3){let s=Ce(e,t);r=i!=null?i(r,e.value||"",n):r,o.setProperty(s,n,r)}else e.type&12}function Qy(e,t){let n=pe(t,e);n[w]&16||(n[w]|=64)}function Zy(e,t,n){let r=n.directiveStart,o=n.directiveEnd;nt(n)&&Ny(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||Ro(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(cn(c,t),i!==null&&ev(t,s-r,c,a,n,i),De(a)){let l=pe(n.index,t);l[L]=Zn(t,e,s,n)}}}function Yy(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=lu();try{ot(i);for(let a=r;a<o;a++){let c=e.data[a],l=t[a];lo(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&Ky(c,l)}}finally{ot(-1),lo(s)}}function Ky(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function Wa(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];qd(t,i.selectors,!1)&&(r??=[],De(i)?r.unshift(i):r.push(i))}return r}function Jy(e,t,n,r,o,i){let s=Ce(e,t);Xy(t[O],s,i,e.value,n,r,o)}function Xy(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?ie(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function ev(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];ra(r,n,c,l)}}function ti(e,t,n,r,o){let i=k+n,s=t[E],a=o(s,t,e,r,n);t[i]=a,nn(e,!0);let c=e.type===2;return c?(Qd(t[O],a,e),(eu()===0||en(e))&&cn(a,t),tu()):cn(a,t),ho()&&(!c||!Qo(e))&&Ua(s,t,a,e),e}function ni(e){let t=e;return bs()?_s():(t=t.parent,nn(t,!1)),t}function tv(e,t){let n=e[Xe];if(!n)return;let r;try{r=n.get(Be,null)}catch{r=null}r?.(t)}function Ga(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];ra(d,n[l],u,o),a=!0}if(i)for(let c of i){let l=n[c],u=t.data[c];ra(u,l,r,o),a=!0}return a}function nv(e,t){let n=pe(t,e),r=n[E];rv(r,n);let o=n[Ee];o!==null&&n[Dt]===null&&(n[Dt]=Od(o,n[Xe])),A(18),za(r,n,n[L]),A(19,n[L])}function rv(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function za(e,t,n){fo(t);try{let r=e.viewQuery;r!==null&&Xs(1,r,n);let o=e.template;o!==null&&of(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[Oe]?.finishViewCreation(e),e.staticContentQueries&&kd(e,t),e.staticViewQueries&&Xs(2,e.viewQuery,n);let i=e.components;i!==null&&ov(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[w]&=-5,po()}}function ov(e,t){for(let n=0;n<t.length;n++)nv(e,t[n])}function ir(e,t,n,r){let o=D(null);try{let i=t.tView,a=e[w]&4096?4096:16,c=ja(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),l=e[t.index];c[et]=l;let u=e[Oe];return u!==null&&(c[Oe]=u.createEmbeddedView(i)),za(i,c,n),c}finally{D(o)}}function un(e,t){return!t||t.firstChild===null||Cd(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(fe(i)),Ie(i)&&cf(i,r);let s=n.type;if(s&8)Yn(e,t,n.child,r);else if(s&32){let a=Ha(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=nf(t,n);if(Array.isArray(a))r.push(...a);else{let c=Ye(t[K]);Yn(c[E],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function cf(e,t){for(let n=j;n<e.length;n++){let r=e[n],o=r[E].firstChild;o!==null&&Yn(r[E],r,o,t)}e[tt]!==e[Ee]&&t.push(e[tt])}function lf(e){if(e[Tt]!==null){for(let t of e[Tt])t.impl.addSequence(t);e[Tt].length=0}}var uf=[];function iv(e){return e[se]??sv(e)}function sv(e){let t=uf.pop()??Object.create(cv);return t.lView=e,t}function av(e){e.lView[se]!==e&&(e.lView=null,uf.push(e))}var cv=q(U({},at),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{rt(e.lView)},consumerOnSignalRead(){this.lView[se]=this}});function lv(e){let t=e[se]??Object.create(uv);return t.lView=e,t}var uv=q(U({},at),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=Ye(e.lView);for(;t&&!df(t[E]);)t=Ye(t);t&&ms(t)},consumerOnSignalRead(){this.lView[se]=this}});function df(e){return e.type!==2}function ff(e){if(e[je]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[je])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[w]&8192)}}var dv=100;function pf(e,t=0){let r=e[Re].rendererFactory,o=!1;o||r.begin?.();try{fv(e,t)}finally{o||r.end?.()}}function fv(e,t){let n=Ms();try{rn(!0),ia(e,t);let r=0;for(;Bn(e);){if(r===dv)throw new N(103,!1);r++,ia(e,1)}}finally{rn(n)}}function pv(e,t,n,r){if(Mt(t))return;let o=t[w],i=!1,s=!1;fo(t);let a=!0,c=null,l=null;i||(df(e)?(l=iv(t),c=qe(l)):yr()===null?(a=!1,l=lv(t),c=qe(l)):t[se]&&(We(t[se]),t[se]=null));try{gs(t),su(e.bindingStartIndex),n!==null&&of(e,t,n,2,r);let u=(o&3)===3;if(!i)if(u){let f=e.preOrderCheckHooks;f!==null&&wo(t,f,null)}else{let f=e.preOrderHooks;f!==null&&To(t,f,0,null),Fs(t,0)}if(s||hv(t),ff(t),hf(t,0),e.contentQueries!==null&&kd(e,t),!i)if(u){let f=e.contentCheckHooks;f!==null&&wo(t,f)}else{let f=e.contentHooks;f!==null&&To(t,f,1),Fs(t,1)}mv(e,t);let d=e.components;d!==null&&mf(t,d,0);let p=e.viewQuery;if(p!==null&&Xs(2,p,r),!i)if(u){let f=e.viewCheckHooks;f!==null&&wo(t,f)}else{let f=e.viewHooks;f!==null&&To(t,f,2),Fs(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[io]){for(let f of t[io])f();t[io]=null}i||(lf(t),t[w]&=-73)}catch(u){throw i||rt(t),u}finally{l!==null&&(lt(l,c),a&&av(l)),po()}}function hf(e,t){for(let n=Td(e);n!==null;n=bd(n))for(let r=j;r<n.length;r++){let o=n[r];gf(o,t)}}function hv(e){for(let t=Td(e);t!==null;t=bd(t)){if(!(t[w]&2))continue;let n=t[_t];for(let r=0;r<n.length;r++){let o=n[r];ms(o)}}}function gv(e,t,n){A(18);let r=pe(t,e);gf(r,n),A(19,r[L])}function gf(e,t){so(e)&&ia(e,t)}function ia(e,t){let r=e[E],o=e[w],i=e[se],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&ut(i)),s||=!1,i&&(i.dirty=!1),e[w]&=-9217,s)pv(r,e,r.template,e[L]);else if(o&8192){let a=D(null);try{ff(e),hf(e,1);let c=r.components;c!==null&&mf(e,c,1),lf(e)}finally{D(a)}}}function mf(e,t,n){for(let r=0;r<t.length;r++)gv(e,t[r],n)}function mv(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)ot(~o);else{let i=o,s=n[++r],a=n[++r];cu(s,i);let c=t[i];A(24,c),a(2,c),A(25,c)}}}finally{ot(-1)}}function Qa(e,t){let n=Ms()?64:1088;for(e[Re].changeDetectionScheduler?.notify(t);e;){e[w]|=n;let r=Ye(e);if(tn(e)&&!r)return e;e=r}return null}function yf(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function vf(e,t){let n=j+t;if(n<e.length)return e[n]}function sr(e,t,n,r=!0){let o=t[E];if(yv(o,t,e,n),r){let s=oa(n,e),a=t[O],c=a.parentNode(e[tt]);c!==null&&Oy(o,e[ee],a,t,c,s)}let i=t[Dt];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function Ef(e,t){let n=Kn(e,t);return n!==void 0&&Jo(n[E],n),n}function Kn(e,t){if(e.length<=j)return;let n=j+t,r=e[n];if(r){let o=r[et];o!==null&&o!==e&&$a(o,r),t>0&&(e[n-1][de]=r[de]);let i=Pn(e,j+t);Ry(r[E],r);let s=i[Oe];s!==null&&s.detachView(i[E]),r[B]=null,r[de]=null,r[w]&=-129}return r}function yv(e,t,n,r){let o=j+r,i=n.length;r>0&&(n[o-1][de]=t),r<i-j?(t[de]=n[o],es(n,j+r,t)):(n.push(t),t[de]=null),t[B]=n;let s=t[et];s!==null&&n!==s&&If(s,t);let a=t[Oe];a!==null&&a.insertView(e),ao(t),t[w]|=128}function If(e,t){let n=e[_t],r=t[B];if(ke(r))e[w]|=2;else{let o=r[B][K];t[K]!==o&&(e[w]|=2)}n===null?e[_t]=[t]:n.push(t)}var st=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let t=this._lView,n=t[E];return Yn(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n}get context(){return this._lView[L]}set context(t){this._lView[L]=t}get destroyed(){return Mt(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[B];if(Ie(t)){let n=t[jn],r=n?n.indexOf(this):-1;r>-1&&(Kn(t,r),Pn(n,r))}this._attachedToViewContainer=!1}Jo(this._lView[E],this._lView)}onDestroy(t){ys(this._lView,t)}markForCheck(){Qa(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[w]&=-129}reattach(){ao(this._lView),this._lView[w]|=128}detectChanges(){this._lView[w]|=1024,pf(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new N(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=tn(this._lView),n=this._lView[et];n!==null&&!t&&$a(n,this._lView),Xd(this._lView[E],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new N(902,!1);this._appRef=t;let n=tn(this._lView),r=this._lView[et];r!==null&&!n&&If(r,this._lView),ao(this._lView)}};var Jn=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=vv;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=ir(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:r,dehydratedView:o});return new st(i)}}return e})();function vv(){return ri(F(),v())}function ri(e,t){return e.type&4?new Jn(t,e,mn(e,t)):null}function En(e,t,n,r,o){let i=e.data[t];if(i===null)i=Ev(e,t,n,r,o),au()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=ou();i.injectorIndex=s===null?-1:s.injectorIndex}return nn(i,!0),i}function Ev(e,t,n,r,o){let i=Ts(),s=bs(),a=s?i:i&&i.parent,c=e.data[t]=Dv(e,a,n,t,r,o);return Iv(e,c,i,s),c}function Iv(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 Dv(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return Ds()&&(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 jA=new RegExp(`^(\\d+)*(${Om}|${Rm})*(.*)`);function Cv(e){let t=e[us]??[],r=e[B][O],o=[];for(let i of t)i.data[Sd]!==void 0?o.push(i):wv(i,r);e[us]=o}function wv(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[xd];for(;n<o;){let i=r.nextSibling;zd(t,r,!1),r=i,n++}}}var Tv=()=>null,bv=()=>null;function Fo(e,t){return Tv(e,t)}function Df(e,t,n){return bv(e,t,n)}var Cf=class{},oi=class{},sa=class{resolveComponentFactory(t){throw new N(917,!1)}},ii=class{static NULL=new sa},Xn=class{},_v=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>Mv()}return e})();function Mv(){let e=v(),t=F(),n=pe(t.index,e);return(ke(n)?n:e)[O]}var wf=(()=>{class e{static \u0275prov=Q({token:e,providedIn:"root",factory:()=>null})}return e})();var _o={},aa=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){let o=this.injector.get(t,_o,r);return o!==_o||n===_o?o:this.parentInjector.get(t,n,r)}};function jo(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=Zr(o,a);else if(i==2){let c=a,l=t[++s];r=Zr(r,c+": "+l+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function ar(e,t=0){let n=v();if(n===null)return xe(e,t);let r=F();return yd(r,n,H(e),t)}function Nv(){let e="invalid";throw new Error(e)}function Tf(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}Av(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 N(-301,!1);r.push(t[o],i)}}function Sv(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function Av(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&&De(f)&&(c=!0,Sv(e,n,p)),Zs(Ro(n,t),e,f.type)}Fv(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=Yd(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let p=0;p<a;p++){let f=r[p];if(n.mergedAttrs=an(n.mergedAttrs,f.hostAttrs),Ov(e,n,t,d,f),Lv(d,f,o),s!==null&&s.has(f)){let[m,_]=s.get(f);n.directiveToIndex.set(f.type,[d,m+n.directiveStart,_+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++}Rv(e,n,i)}function Rv(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let o=e.data[r];if(n===null||!n.has(o))Fu(0,t,o,r),Fu(1,t,o,r),Vu(t,r,!1);else{let i=n.get(o);ju(0,t,i,r),ju(1,t,i,r),Vu(t,r,!0)}}}function Fu(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),bf(t,i)}}function ju(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),bf(t,s)}}function bf(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function Vu(e,t,n){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!n&&o===null||n&&i===null||La(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 Ov(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=Ze(o.type,!0)),s=new Rt(i,De(o),ar,null);e.blueprint[r]=s,n[r]=s,kv(e,t,r,Yd(e,n,o.hostVars,W),o)}function kv(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;Pv(s)!=a&&s.push(a),s.push(n,r,i)}}function Pv(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function Lv(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;De(t)&&(n[""]=e)}}function Fv(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Za(e,t,n,r,o,i,s,a){let c=t[E],l=c.consts,u=ae(l,s),d=En(c,e,n,r,u);return i&&Tf(c,t,d,ae(l,a),o),d.mergedAttrs=an(d.mergedAttrs,d.attrs),d.attrs!==null&&jo(d,d.attrs,!1),d.mergedAttrs!==null&&jo(d,d.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,d),d}function Ya(e,t){cd(e,t),ds(t)&&e.queries.elementEnd(t)}function _f(e,t,n,r,o,i){let s=t.consts,a=ae(s,o),c=En(t,e,n,r,a);if(c.mergedAttrs=an(c.mergedAttrs,c.attrs),i!=null){let l=ae(s,i);c.localNames=[];for(let u=0;u<l.length;u+=2)c.localNames.push(l[u],-1)}return c.attrs!==null&&jo(c,c.attrs,!1),c.mergedAttrs!==null&&jo(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}function Ka(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function si(e,t,n){return e[t]=n}function jv(e,t){return e[t]}function ce(e,t,n){if(n===W)return!1;let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function Vo(e,t,n,r){let o=ce(e,t,n);return ce(e,t+1,r)||o}function Mf(e,t,n,r,o,i){let s=Vo(e,t,n,r);return Vo(e,t+2,o,i)||s}function Mo(e,t,n){return function r(o){let i=nt(e)?pe(e.index,t):t;Qa(i,5);let s=t[L],a=Hu(t,s,n,o),c=r.__ngNextListenerFn__;for(;c;)a=Hu(t,s,c,o)&&a,c=c.__ngNextListenerFn__;return a}}function Hu(e,t,n,r){let o=D(null);try{return A(6,t,n),n(r)!==!1}catch(i){return tv(e,i),!1}finally{A(7,t,n),D(o)}}function Nf(e,t,n,r,o,i,s,a){let c=en(e),l=!1,u=null;if(!r&&c&&(u=Hv(t,n,i,e.index)),u!==null){let d=u.__ngLastListenerFn__||u;d.__ngNextListenerFn__=s,u.__ngLastListenerFn__=s,l=!0}else{let d=Ce(e,n),p=r?r(d):d;Pm(n,p,i,a);let f=o.listen(p,i,a);if(!Vv(i)){let h=r?m=>r(fe(m[e.index])):e.index;xf(h,t,n,i,a,f,!1)}}return l}function Vv(e){return e.startsWith("animation")||e.startsWith("transition")}function Hv(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[Jt],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function xf(e,t,n,r,o,i,s){let a=t.firstCreatePass?Es(t):null,c=vs(n),l=c.length;c.push(o,i),a&&a.push(r,e,l,(l+1)*(s?-1:1))}function Bu(e,t,n,r,o,i){let s=t[n],a=t[E],l=a.data[n].outputs[r],d=s[l].subscribe(i);xf(e.index,a,t,o,i,d,!0)}var ca=Symbol("BINDING");var la=class extends ii{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=Je(t);return new dn(n,this.ngModule)}};function Bv(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&Ko.SignalBased)!==0};return o&&(i.transform=o),i})}function $v(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function Uv(e,t,n){let r=t instanceof le?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new aa(n,r):n}function qv(e){let t=e.get(Xn,null);if(t===null)throw new N(407,!1);let n=e.get(wf,null),r=e.get(ue,null);return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r,ngReflect:!1}}function Wv(e,t){let n=Sf(e);return Wd(t,n,n==="svg"?fs:n==="math"?Ql:null)}function Sf(e){return(e.selectors[0][0]||"div").toLowerCase()}var dn=class extends oi{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=Bv(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=$v(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=Ey(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o,i,s){A(22);let a=D(null);try{let c=this.componentDef,l=Gv(r,c,s,i),u=Uv(c,o||this.ngModule,t),d=qv(u),p=d.rendererFactory.createRenderer(null,c),f=r?qy(p,r,c.encapsulation,u):Wv(c,p),h=s?.some($u)||i?.some(T=>typeof T!="function"&&T.bindings.some($u)),m=ja(null,l,null,512|Zd(c),null,null,d,p,u,null,Od(f,u,!0));m[k]=f,fo(m);let _=null;try{let T=Za(k,m,2,"#host",()=>l.directiveRegistry,!0,0);Qd(p,f,T),cn(f,m),ei(l,m,T),Oa(l,T,m),Ya(l,T),n!==void 0&&Qv(T,this.ngContentSelectors,n),_=pe(T.index,m),m[L]=_[L],za(l,m,null)}catch(T){throw _!==null&&Ks(_),Ks(m),T}finally{A(23),po()}return new Ho(this.componentType,m,!!h)}finally{D(a)}}};function Gv(e,t,n,r){let o=e?["ng-version","20.3.4"]:Iy(t.selectors[0]),i=null,s=null,a=0;if(n)for(let u of n)a+=u[ca].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[ca].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=ro(d);c.push(p)}return Fa(0,null,zv(i,s),1,a,c,null,null,null,[o],null)}function zv(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 $u(e){let t=e[ca].kind;return t==="input"||t==="twoWay"}var Ho=class extends Cf{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=Vn(n[E],k),this.location=mn(this._tNode,n),this.instance=pe(this._tNode.index,n)[L],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=Ga(r,o[E],o,t,n);this.previousInputValues.set(t,n);let s=pe(r.index,o);Qa(s,1)}get injector(){return new At(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function Qv(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 ai=(()=>{class e{static __NG_ELEMENT_ID__=Zv}return e})();function Zv(){let e=F();return Rf(e,v())}var Yv=ai,Af=class extends Yv{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return mn(this._hostTNode,this._hostLView)}get injector(){return new At(this._hostTNode,this._hostLView)}get parentInjector(){let t=Sa(this._hostTNode,this._hostLView);if(dd(t)){let n=So(t,this._hostLView),r=xo(t),o=n[E].data[r+8];return new At(o,n)}else return new At(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=Uu(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-j}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=Fo(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,un(this._hostTNode,s)),a}createComponent(t,n,r,o,i,s,a){let c=t&&!Xg(t),l;if(c)l=n;else{let _=n||{};l=_.index,r=_.injector,o=_.projectableNodes,i=_.environmentInjector||_.ngModuleRef,s=_.directives,a=_.bindings}let u=c?t:new dn(Je(t)),d=r||this.parentInjector;if(!i&&u.ngModule==null){let T=(c?d:this.parentInjector).get(le,null);T&&(i=T)}let p=Je(u.componentType??{}),f=Fo(this._lContainer,p?.id??null),h=f?.firstChild??null,m=u.create(d,o,h,i,s,a);return this.insertImpl(m.hostView,l,un(this._hostTNode,f)),m}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(Yl(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[B],l=new Af(c,c[ee],c[B]);l.detach(l.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return sr(s,o,i,r),t.attachToViewContainerRef(),es(Hs(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Uu(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=Kn(this._lContainer,n);r&&(Pn(Hs(this._lContainer),n),Jo(r[E],r))}detach(t){let n=this._adjustIndex(t,-1),r=Kn(this._lContainer,n);return r&&Pn(Hs(this._lContainer),n)!=null?new st(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Uu(e){return e[jn]}function Hs(e){return e[jn]||(e[jn]=[])}function Rf(e,t){let n,r=t[e.index];return Ie(r)?n=r:(n=yf(r,t,null,e),t[e.index]=n,Va(t,n)),Jv(n,t,e,r),new Af(n,e,t)}function Kv(e,t){let n=e[O],r=n.createComment(""),o=Ce(t,e),i=n.parentNode(o);return Po(n,i,r,n.nextSibling(o),!1),r}var Jv=tE,Xv=()=>!1;function eE(e,t,n){return Xv(e,t,n)}function tE(e,t,n,r){if(e[tt])return;let o;n.type&8?o=fe(r):o=Kv(t,n),e[tt]=o}var ua=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},da=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++)Xa(t,n).matches!==null&&this.queries[n].setDirty()}},Bo=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=sE(t):this.predicate=t}},fa=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)}},pa=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,nE(n,i)),this.matchTNodeWithReadOption(t,n,bo(n,t,i,!1,!1))}else r===Jn?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,bo(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===rr||o===ai||o===Jn&&n.type&4)this.addMatch(n.index,-2);else{let i=bo(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 nE(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 rE(e,t){return e.type&11?mn(e,t):e.type&4?ri(e,t):null}function oE(e,t,n,r){return n===-1?rE(t,e):n===-2?iE(e,t,r):Zn(e,e[E],n,t)}function iE(e,t,n){if(n===rr)return mn(t,e);if(n===Jn)return ri(t,e);if(n===ai)return Rf(t,e)}function Of(e,t,n,r){let o=t[Oe].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(oE(t,u,s[c+1],n.metadata.read))}}o.matches=a}return o.matches}function ha(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=Of(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=j;d<u.length;d++){let p=u[d];p[et]===p[B]&&ha(p[E],p,l,r)}if(u[_t]!==null){let d=u[_t];for(let p=0;p<d.length;p++){let f=d[p];ha(f[E],f,l,r)}}}}}return r}function Ja(e,t){return e[Oe].queries[t].queryList}function kf(e,t,n){let r=new Oo((n&4)===4);return Xl(e,t,r,r.destroy),(t[Oe]??=new da).queries.push(new ua(r))-1}function Pf(e,t,n){let r=P();return r.firstCreatePass&&(Ff(r,new Bo(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),kf(r,v(),t)}function Lf(e,t,n,r){let o=P();if(o.firstCreatePass){let i=F();Ff(o,new Bo(t,n,r),i.index),aE(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return kf(o,v(),n)}function sE(e){return e.split(",").map(t=>t.trim())}function Ff(e,t,n){e.queries===null&&(e.queries=new fa),e.queries.track(new pa(t,n))}function aE(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 Xa(e,t){return e.queries.getByIndex(t)}function jf(e,t){let n=e[E],r=Xa(n,t);return r.crossesNgTemplate?ha(n,e,t,[]):Of(n,e,r,t)}function Vf(e,t,n){let r,o=Cn(()=>{r._dirtyCounter();let i=cE(r,e);if(t&&i===void 0)throw new N(-951,!1);return i});return r=o[V],r._dirtyCounter=go(0),r._flatValue=void 0,o}function ec(e){return Vf(!0,!1,e)}function tc(e){return Vf(!0,!0,e)}function Hf(e,t){let n=e[V];n._lView=v(),n._queryIndex=t,n._queryList=Ja(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function cE(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[w]&4)return t?void 0:Y;let o=Ja(n,r),i=jf(n,r);return o.reset(i,Dd),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}var qu=new Set;function kt(e){qu.has(e)||(qu.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var $o=class{};var er=class extends $o{injector;componentFactoryResolver=new la(this);instance=null;constructor(t){super();let n=new Et([...t.providers,{provide:$o,useValue:this},{provide:ii,useValue:this.componentFactoryResolver}],t.parent||Kt(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Bf(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=os(!1,n.type),o=r.length>0?Bf([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=Q({token:e,providedIn:"environment",factory:()=>new e(xe(le))})}return e})();function uE(e){return gn(()=>{let t=$f(e),n=q(U({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Aa.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||ln.Emulated,styles:e.styles||Y,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&kt("NgStandalone"),Uf(n);let r=e.dependencies;return n.directiveDefs=Wu(r,dE),n.pipeDefs=Wu(r,Bl),n.id=yE(n),n})}function dE(e){return Je(e)||ro(e)}function fE(e){return gn(()=>({type:e.type,bootstrap:e.bootstrap||Y,declarations:e.declarations||Y,imports:e.imports||Y,exports:e.exports||Y,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function pE(e,t){if(e==null)return ve;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=Ko.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function hE(e){if(e==null)return ve;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function gE(e){return gn(()=>{let t=$f(e);return Uf(t),t})}function mE(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 $f(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||ve,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||Y,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,inputs:pE(e.inputs,t),outputs:hE(e.outputs),debugInfo:null}}function Uf(e){e.features?.forEach(t=>t(e))}function Wu(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 yE(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 vE(e){return Object.getPrototypeOf(e.prototype).constructor}function qf(e){let t=vE(e.type),n=!0,r=[e];for(;t;){let o;if(De(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new N(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=Bs(e.inputs),s.declaredInputs=Bs(e.declaredInputs),s.outputs=Bs(e.outputs);let a=o.hostBindings;a&&wE(e,a);let c=o.viewQuery,l=o.contentQueries;if(c&&DE(e,c),l&&CE(e,l),EE(e,o),Al(e.outputs,o.outputs),De(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===qf&&(n=!1)}}t=Object.getPrototypeOf(t)}IE(r)}function EE(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 IE(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=an(o.hostAttrs,n=an(n,o.hostAttrs))}}function Bs(e){return e===ve?{}:e===Y?[]:e}function DE(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function CE(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function wE(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function TE(e){let t=n=>{let r=Array.isArray(e);n.hostDirectives===null?(n.resolveHostDirectives=bE,n.hostDirectives=r?e.map(ga):[e]):r?n.hostDirectives.unshift(...e.map(ga)):n.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function bE(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,Wf(s,t,r),o.set(s,[a,t.length-1])}i===0&&De(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 Wf(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)Gu(ga(i),t,n)}else Gu(r,t,n)}function Gu(e,t,n){let r=ro(e.directive);_E(r.declaredInputs,e.inputs),Wf(r,t,n),n.set(r,e),t.push(r)}function ga(e){return typeof e=="function"?{directive:H(e),inputs:ve,outputs:ve}:{directive:H(e.directive),inputs:zu(e.inputs),outputs:zu(e.outputs)}}function zu(e){if(e===void 0||e.length===0)return ve;let t={};for(let n=0;n<e.length;n+=2)t[e[n]]=e[n+1];return t}function _E(e,t){for(let n in t)if(t.hasOwnProperty(n)){let r=t[n],o=e[n];e[r]=o}}function Gf(e,t,n,r,o,i,s,a){if(n.firstCreatePass){e.mergedAttrs=an(e.mergedAttrs,e.attrs);let u=e.tView=Fa(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),nn(e,!1);let c=NE(n,t,e,r);ho()&&Ua(n,t,c,e),cn(c,t);let l=yf(c,t,c,e);t[r+k]=l,Va(t,l),eE(l,e,t)}function ME(e,t,n,r,o,i,s,a,c,l,u){let d=n+k,p;return t.firstCreatePass?(p=En(t,d,4,s||null,a||null),co()&&Tf(t,e,p,ae(t.consts,l),Wa),cd(t,p)):p=t.data[d],Gf(p,e,t,n,r,o,i,c),en(p)&&ei(t,e,p),l!=null&&vn(e,p,u),p}function fn(e,t,n,r,o,i,s,a,c,l,u){let d=n+k,p;if(t.firstCreatePass){if(p=En(t,d,4,s||null,a||null),l!=null){let f=ae(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 Gf(p,e,t,n,r,o,i,c),l!=null&&vn(e,p,u),p}function zf(e,t,n,r,o,i,s,a){let c=v(),l=P(),u=ae(l.consts,i);return ME(c,l,e,t,n,r,o,u,void 0,s,a),zf}function Qf(e,t,n,r,o,i,s,a){let c=v(),l=P(),u=ae(l.consts,i);return fn(c,l,e,t,n,r,o,u,void 0,s,a),Qf}var NE=xE;function xE(e,t,n,r){return Wn(!0),t[O].createComment("")}var ci=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(ci||{}),In=new S(""),Zf=!1,ma=class extends te{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,Gl()&&(this.destroyRef=C(He,{optional:!0})??void 0,this.pendingTasks=C(it,{optional:!0})??void 0)}emit(t){let n=D(null);try{super.next(t)}finally{D(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let c=t;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof z&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{t(n)}finally{r!==void 0&&this.pendingTasks?.remove(r)}})}}},$e=ma;function Yf(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 Qu(e){return queueMicrotask(()=>e()),()=>{e=St}}var nc="isAngularZone",Uo=nc+"_ID",SE=0,oe=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new $e(!1);onMicrotaskEmpty=new $e(!1);onStable=new $e(!1);onError=new $e(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=Zf}=t;if(typeof Zone>"u")throw new N(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,OE(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(nc)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new N(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new N(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,AE,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)}},AE={};function rc(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 RE(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){Yf(()=>{e.callbackScheduled=!1,ya(e),e.isCheckStableRunning=!0,rc(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),ya(e)}function OE(e){let t=()=>{RE(e)},n=SE++;e._inner=e._inner.fork({name:"angular",properties:{[nc]:!0,[Uo]:n,[Uo+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(kE(c))return r.invokeTask(i,s,a,c);try{return Zu(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Yu(e)}},onInvoke:(r,o,i,s,a,c,l)=>{try{return Zu(e),r.invoke(i,s,a,c,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!PE(c)&&t(),Yu(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,ya(e),rc(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 ya(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Zu(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Yu(e){e._nesting--,rc(e)}var qo=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new $e;onMicrotaskEmpty=new $e;onStable=new $e;onError=new $e;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 kE(e){return Kf(e,"__ignore_ng_zone__")}function PE(e){return Kf(e,"__scheduler_tick__")}function Kf(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var li=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=Q({token:e,providedIn:"root",factory:()=>new e})}return e})(),oc=[0,1,2,3],ic=(()=>{class e{ngZone=C(oe);scheduler=C(ue);errorHandler=C(Se,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){C(In,{optional:!0})}execute(){let n=this.sequences.size>0;n&&A(16),this.executing=!0;for(let r of oc)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&&A(17)}register(n){let{view:r}=n;r!==void 0?((r[Tt]??=[]).push(n),rt(r),r[w]|=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(ci.AFTER_NEXT_RENDER,n):n()}static \u0275prov=Q({token:e,providedIn:"root",factory:()=>new e})}return e})(),tr=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 LE(e,t){let n=t?.injector??C(ye);return kt("NgAfterNextRender"),jE(e,n,t,!0)}function FE(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function jE(e,t,n,r){let o=t.get(li);o.impl??=t.get(ic);let i=t.get(In,null,{optional:!0}),s=n?.manualCleanup!==!0?t.get(He):null,a=t.get(xt,null,{optional:!0}),c=new tr(o.impl,FE(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var Jf=new S("");function sc(e){return!!e&&typeof e.then=="function"}function Xf(e){return!!e&&typeof e.subscribe=="function"}var ep=new S("");var ac=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=C(ep,{optional:!0})??[];injector=C(ye);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=oo(this.injector,o);if(sc(i))n.push(i);else if(Xf(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=Q({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),tp=new S("");function np(){Ii(()=>{let e="";throw new N(600,e)})}function rp(e){return e.isBoundToModule}var VE=10;var cr=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=C(Be);afterRenderManager=C(li);zonelessEnabled=C(mo);rootEffectScheduler=C(Gn);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new te;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=C(it);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(re(n=>!n))}constructor(){C(In,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=C(le);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=ye.NULL){return this._injector.get(oe).run(()=>{A(10);let s=n instanceof oi;if(!this._injector.get(ac).done){let h="";throw new N(405,h)}let c;s?c=n:c=this._injector.get(ii).resolveComponentFactory(n),this.componentTypes.push(c.componentType);let l=rp(c)?void 0:this._injector.get($o),u=r||c.selector,d=c.create(o,[],u,l),p=d.location.nativeElement,f=d.injector.get(Jf,null);return f?.registerApplication(p),d.onDestroy(()=>{this.detachView(d.hostView),Qn(this.components,d),f?.unregisterApplication(p)}),this._loadComponent(d),A(11,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){A(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(ci.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new N(101,!1);let n=D(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,D(n),this.afterTick.next(),A(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++<VE;)A(14),this.synchronizeOnce(),A(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&&!Bn(o))continue;let i=r&&!this.zonelessEnabled?0:1;pf(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})=>Bn(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(tp,[]).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 N(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=Q({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 op(e,t,n,r){let o=v(),i=Ve();if(ce(o,i,t)){let s=P(),a=qn();Jy(a,o,e,t,n,r)}return op}var qA=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";function HE(){return v()[K][L]}var va=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,!0))}};function $s(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function BE(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=$s(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=$s(s,p,c,f,n);if(h!==0){h<0&&e.updateValue(s,f),s--,c--;continue}let m=n(i,l),_=n(s,p),T=n(i,u);if(Object.is(T,_)){let G=n(c,f);Object.is(G,m)?(e.swap(i,s),e.updateValue(s,f),c--,s--):e.move(s,i),e.updateValue(i,u),i++;continue}if(r??=new Wo,o??=Ju(e,i,s,n),Ea(e,r,i,T))e.updateValue(i,u),i++,s++;else if(o.has(T))r.set(m,e.detach(i)),s--;else{let G=e.create(i,t[i]);e.attach(i,G),i++,s++}}for(;i<=c;)Ku(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=$s(i,u,i,d,n);if(p!==0)p<0&&e.updateValue(i,d),i++,l=c.next();else{r??=new Wo,o??=Ju(e,i,s,n);let f=n(i,d);if(Ea(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;)Ku(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 Ea(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function Ku(e,t,n,r,o){if(Ea(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function Ju(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 Wo=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 $E(e,t,n,r,o,i,s,a){kt("NgControlFlow");let c=v(),l=P(),u=ae(l.consts,i);return fn(c,l,e,t,n,r,o,u,256,s,a),cc}function cc(e,t,n,r,o,i,s,a){kt("NgControlFlow");let c=v(),l=P(),u=ae(l.consts,i);return fn(c,l,e,t,n,r,o,u,512,s,a),cc}function UE(e,t){kt("NgControlFlow");let n=v(),r=Ve(),o=n[r]!==W?n[r]:-1,i=o!==-1?Go(n,k+o):void 0,s=0;if(ce(n,r,e)){let a=D(null);try{if(i!==void 0&&Ef(i,s),e!==-1){let c=k+e,l=Go(n,c),u=wa(n[E],c),d=Df(l,u,n),p=ir(n,u,t,{dehydratedView:d});sr(l,p,s,un(u,d))}}finally{D(a)}}else if(i!==void 0){let a=vf(i,s);a!==void 0&&(a[L]=t)}}var Ia=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-j}};function qE(e){return e}function WE(e,t){return t}var Da=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function GE(e,t,n,r,o,i,s,a,c,l,u,d,p){kt("NgControlFlow");let f=v(),h=P(),m=c!==void 0,_=v(),T=a?s.bind(_[K][L]):s,G=new Da(m,T);_[k+e]=G,fn(f,h,e+1,t,n,r,o,ae(h.consts,i),256),m&&fn(f,h,e+2,c,l,u,d,ae(h.consts,p),512)}var Ca=class extends va{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r}get length(){return this.lContainer.length-j}at(t){return this.getLView(t)[L].$implicit}attach(t,n){let r=n[Dt];this.needsIndexUpdate||=t!==this.length,sr(this.lContainer,n,t,un(this.templateTNode,r))}detach(t,n){return this.needsIndexUpdate||=t!==this.length-1,n&&QE(this.lContainer,t),ZE(this.lContainer,t)}create(t,n){let r=Fo(this.lContainer,this.templateTNode.tView.ssrId),o=ir(this.hostLView,this.templateTNode,new Ia(this.lContainer,n,t),{dehydratedView:r});return this.operationsCounter?.recordCreate(),o}destroy(t){Jo(t[E],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[L].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[L].$index=t}getLView(t){return YE(this.lContainer,t)}};function zE(e){let t=D(null),n=we();try{let r=v(),o=r[E],i=r[n],s=n+1,a=Go(r,s);if(i.liveCollection===void 0){let l=wa(o,s);i.liveCollection=new Ca(a,r,l)}else i.liveCollection.reset();let c=i.liveCollection;if(BE(c,e,i.trackByFn),c.updateIndexes(),i.hasEmptyBlock){let l=Ve(),u=c.length===0;if(ce(r,l,u)){let d=n+2,p=Go(r,d);if(u){let f=wa(o,d),h=Df(p,f,r),m=ir(r,f,void 0,{dehydratedView:h});sr(p,m,0,un(f,h))}else o.firstUpdatePass&&Cv(p),Ef(p,0)}}}finally{D(t)}}function Go(e,t){return e[t]}function QE(e,t){if(e.length<=j)return;let n=j+t,r=e[n];r&&r[bt]&&(r[bt].skipLeaveAnimations=!0)}function ZE(e,t){return Kn(e,t)}function YE(e,t){return vf(e,t)}function wa(e,t){return Vn(e,t)}function ip(e,t,n){let r=v(),o=Ve();if(ce(r,o,t)){let i=P(),s=qn();sf(s,r,e,t,r[O],n)}return ip}function Ta(e,t,n,r,o){Ga(t,e,n,o?"class":"style",r)}function lc(e,t,n,r){let o=v(),i=o[E],s=e+k,a=i.firstCreatePass?Za(s,o,2,t,Wa,co(),n,r):i.data[s];if(ti(a,o,e,t,cp),en(a)){let c=o[E];ei(c,o,a),Oa(c,a,o)}return r!=null&&vn(o,a),lc}function uc(){let e=P(),t=F(),n=ni(t);return e.firstCreatePass&&Ya(e,n),Cs(n)&&ws(),Is(),n.classesWithoutHost!=null&&sm(n)&&Ta(e,n,v(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&am(n)&&Ta(e,n,v(),n.stylesWithoutHost,!1),uc}function sp(e,t,n,r){return lc(e,t,n,r),uc(),sp}function dc(e,t,n,r){let o=v(),i=o[E],s=e+k,a=i.firstCreatePass?_f(s,i,2,t,n,r):i.data[s];return ti(a,o,e,t,cp),r!=null&&vn(o,a),dc}function fc(){let e=F(),t=ni(e);return Cs(t)&&ws(),Is(),fc}function ap(e,t,n,r){return dc(e,t,n,r),fc(),ap}var cp=(e,t,n,r,o)=>(Wn(!0),Wd(t[O],r,yu()));function pc(e,t,n){let r=v(),o=r[E],i=e+k,s=o.firstCreatePass?Za(i,r,8,"ng-container",Wa,co(),t,n):o.data[i];if(ti(s,r,e,"ng-container",dp),en(s)){let a=r[E];ei(a,r,s),Oa(a,s,r)}return n!=null&&vn(r,s),pc}function ui(){let e=P(),t=F(),n=ni(t);return e.firstCreatePass&&Ya(e,n),ui}function lp(e,t,n){return pc(e,t,n),ui(),lp}function up(e,t,n){let r=v(),o=r[E],i=e+k,s=o.firstCreatePass?_f(i,o,8,"ng-container",t,n):o.data[i];return ti(s,r,e,"ng-container",dp),n!=null&&vn(r,s),up}function KE(){let e=F(),t=ni(e);return ui}var dp=(e,t,n,r,o)=>(Wn(!0),wy(t[O],""));function JE(){return v()}function fp(e,t,n){let r=v(),o=Ve();if(ce(r,o,t)){let i=P(),s=qn();af(s,r,e,t,r[O],n)}return fp}var Do=void 0;function XE(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var eI=["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"]],Do,[["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"]],Do,[["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}",Do,"{1} 'at' {0}",Do],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",XE],Us={};function pp(e){let t=nI(e),n=Xu(t);if(n)return n;let r=t.split("-")[0];if(n=Xu(r),n)return n;if(r==="en")return eI;throw new N(701,!1)}function tI(e){return pp(e)[hc.PluralCase]}function Xu(e){return e in Us||(Us[e]=Ae.ng&&Ae.ng.common&&Ae.ng.common.locales&&Ae.ng.common.locales[e]),Us[e]}var hc=(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})(hc||{});function nI(e){return e.toLowerCase().replace(/_/g,"-")}var lr="en-US";var rI=lr;function hp(e){typeof e=="string"&&(rI=e.toLowerCase().replace(/_/g,"-"))}function gp(e,t,n){let r=v(),o=P(),i=F();return yp(o,r,r[O],i,e,t,n),gp}function mp(e,t,n){let r=v(),o=P(),i=F();return(i.type&3||n)&&Nf(i,o,r,n,r[O],e,t,Mo(i,r,t)),mp}function yp(e,t,n,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=Mo(r,t,i),Nf(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??=Mo(r,t,i),Bu(r,t,p,f,o,c)}if(l&&l.length)for(let d of l)c??=Mo(r,t,i),Bu(r,t,d,o,o,c)}}function oI(e=1){return hu(e)}function iI(e,t){let n=null,r=hy(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?qd(e,i,!0):yy(r,i))return o}return n}function sI(e){let t=v()[K][ee];if(!t.projection){let n=e?e.length:1,r=t.projection=Vl(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?iI(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function aI(e,t=0,n,r,o,i){let s=v(),a=P(),c=r?e+1:null;c!==null&&fn(s,a,c,r,o,i,null,n);let l=En(a,k+e,16,null,n||null);l.projection===null&&(l.projection=t),_s();let d=!s[Dt]||Ds();s[K][ee].projection[l.projection]===null&&c!==null?cI(s,a,c):d&&!Qo(l)&&By(a,s,l)}function cI(e,t,n){let r=k+n,o=t.data[r],i=e[r],s=Fo(i,o.tView.ssrId),a=ir(e,o,void 0,{dehydratedView:s});sr(i,a,0,un(o,s))}function lI(e,t,n,r){Lf(e,t,n,r)}function uI(e,t,n){Pf(e,t,n)}function dI(e){let t=v(),n=P(),r=uo();Un(r+1);let o=Xa(n,r);if(e.dirty&&Zl(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=jf(t,r);e.reset(i,Dd),e.notifyOnChanges()}return!0}return!1}function fI(){return Ja(v(),uo())}function pI(e,t,n,r,o){Hf(t,Lf(e,n,r,o))}function hI(e,t,n,r){Hf(e,Pf(t,n,r))}function gI(e=1){Un(uo()+e)}function mI(e){let t=iu();return Hn(t,k+e)}function Co(e,t){return e<<17|t<<2}function Ot(e){return e>>17&32767}function yI(e){return(e&2)==2}function vI(e,t){return e&131071|t<<17}function ba(e){return e|2}function pn(e){return(e&131068)>>2}function qs(e,t){return e&-131069|t<<2}function EI(e){return(e&1)===1}function _a(e){return e|1}function II(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=Ot(s),c=pn(s);e[r]=n;let l=!1,u;if(Array.isArray(n)){let d=n;u=d[1],(u===null||Yt(d,u)>0)&&(l=!0)}else u=n;if(o)if(c!==0){let p=Ot(e[a+1]);e[r+1]=Co(p,a),p!==0&&(e[p+1]=qs(e[p+1],r)),e[a+1]=vI(e[a+1],r)}else e[r+1]=Co(a,0),a!==0&&(e[a+1]=qs(e[a+1],r)),a=r;else e[r+1]=Co(c,0),a===0?a=r:e[c+1]=qs(e[c+1],r),c=r;l&&(e[r+1]=ba(e[r+1])),ed(e,u,r,!0),ed(e,u,r,!1),DI(t,u,e,r,i),s=Co(a,c),i?t.classBindings=s:t.styleBindings=s}function DI(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&Yt(i,t)>=0&&(n[r+1]=_a(n[r+1]))}function ed(e,t,n,r){let o=e[n+1],i=t===null,s=r?Ot(o):pn(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],l=e[s+1];CI(c,t)&&(a=!0,e[s+1]=r?_a(l):ba(l)),s=r?Ot(l):pn(l)}a&&(e[n+1]=r?ba(o):_a(o))}function CI(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Yt(e,t)>=0:!1}var $={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function vp(e){return e.substring($.key,$.keyEnd)}function wI(e){return e.substring($.value,$.valueEnd)}function TI(e){return Dp(e),Ep(e,hn(e,0,$.textEnd))}function Ep(e,t){let n=$.textEnd;return n===t?-1:(t=$.keyEnd=_I(e,$.key=t,n),hn(e,t,n))}function bI(e){return Dp(e),Ip(e,hn(e,0,$.textEnd))}function Ip(e,t){let n=$.textEnd,r=$.key=hn(e,t,n);return n===r?-1:(r=$.keyEnd=MI(e,r,n),r=td(e,r,n,58),r=$.value=hn(e,r,n),r=$.valueEnd=NI(e,r,n),td(e,r,n,59))}function Dp(e){$.key=0,$.keyEnd=0,$.value=0,$.valueEnd=0,$.textEnd=e.length}function hn(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function _I(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function MI(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 td(e,t,n,r){return t=hn(e,t,n),t<n&&t++,t}function NI(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=nd(e,c,s,n):t===s-4&&i===85&&o===82&&r===76&&c===40?a=s=nd(e,41,s,n):c>32&&(a=s),i=o,o=r,r=c&-33}return a}function nd(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 Cp(e,t,n){return Tp(e,t,n,!1),Cp}function wp(e,t){return Tp(e,t,null,!0),wp}function xI(e){bp(Np,SI,e,!1)}function SI(e,t){for(let n=bI(t);n>=0;n=Ip(t,n))Np(e,vp(t),wI(t))}function AI(e){bp(jI,RI,e,!0)}function RI(e,t){for(let n=TI(t);n>=0;n=Ep(t,n))Ln(e,vp(t),!0)}function Tp(e,t,n,r){let o=v(),i=P(),s=$n(2);if(i.firstUpdatePass&&Mp(i,e,s,r),t!==W&&ce(o,s,t)){let a=i.data[we()];xp(i,a,o,o[O],e,o[s+1]=HI(t,n),r,s)}}function bp(e,t,n,r){let o=P(),i=$n(2);o.firstUpdatePass&&Mp(o,null,i,r);let s=v();if(n!==W&&ce(s,i,n)){let a=o.data[we()];if(Sp(a,r)&&!_p(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=Zr(c,n||"")),Ta(o,a,s,n,r)}else VI(o,a,s,s[O],s[i+1],s[i+1]=FI(e,t,n),r,i)}}function _p(e,t){return t>=e.expandoStartIndex}function Mp(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[we()],s=_p(e,n);Sp(i,r)&&t===null&&!s&&(t=!1),t=OI(o,i,t,r),II(o,i,t,n,s,r)}}function OI(e,t,n,r){let o=uu(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=Ws(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=Ws(o,e,t,n,r),i===null){let c=kI(e,t,r);c!==void 0&&Array.isArray(c)&&(c=Ws(null,e,t,c[1],r),c=nr(c,t.attrs,r),PI(e,t,r,c))}else i=LI(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function kI(e,t,n){let r=n?t.classBindings:t.styleBindings;if(pn(r)!==0)return e[Ot(r)]}function PI(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[Ot(o)]=r}function LI(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 Ws(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]),Ln(e,s,n?!0:t[++i]))}return e===void 0?null:e}function FI(e,t,n){if(n==null||n==="")return Y;let r=[],o=yn(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 Np(e,t,n){Ln(e,t,yn(n))}function jI(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&Ln(e,r,n)}function VI(e,t,n,r,o,i,s,a){o===W&&(o=Y);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,m;u===d?(c+=2,l+=2,p!==f&&(h=d,m=f)):d===null||u!==null&&u<d?(c+=2,h=u):(l+=2,h=d,m=f),h!==null&&xp(e,t,n,r,h,m,s,a),u=c<o.length?o[c]:null,d=l<i.length?i[l]:null}}function xp(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,l=c[a+1],u=EI(l)?rd(c,t,n,o,pn(l),s):void 0;if(!zo(u)){zo(i)||yI(l)&&(i=rd(c,null,n,o,a,s));let d=ps(we(),n);Uy(r,s,d,o,i)}}function rd(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===W&&(p=d?Y:void 0);let f=d?no(p,r):u===r?p:void 0;if(l&&!zo(f)&&(f=no(c,r)),zo(f)&&(a=f,s))return a;let h=e[o+1];o=s?Ot(h):pn(h)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=no(c,r))}return a}function zo(e){return e!==void 0}function HI(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=Qe(yn(e)))),e}function Sp(e,t){return(e.flags&(t?8:16))!==0}function BI(e,t=""){let n=v(),r=P(),o=e+k,i=r.firstCreatePass?En(r,o,1,t,null):r.data[o],s=$I(r,n,i,t,e);n[o]=s,ho()&&Ua(r,n,s,i),nn(i,!1)}var $I=(e,t,n,r,o)=>(Wn(!0),Dy(t[O],r));function Ap(e,t,n,r=""){return ce(e,Ve(),n)?t+ie(n)+r:W}function Rp(e,t,n,r,o,i=""){let s=Ns(),a=Vo(e,s,n,o);return $n(2),a?t+ie(n)+r+ie(o)+i:W}function UI(e,t,n,r,o,i,s,a,c,l=""){let u=Ns(),d=Mf(e,u,n,o,s,c);return $n(4),d?t+ie(n)+r+ie(o)+i+ie(s)+a+ie(c)+l:W}function Op(e){return gc("",e),Op}function gc(e,t,n){let r=v(),o=Ap(r,e,t,n);return o!==W&&mc(r,we(),o),gc}function kp(e,t,n,r,o){let i=v(),s=Rp(i,e,t,n,r,o);return s!==W&&mc(i,we(),s),kp}function Pp(e,t,n,r,o,i,s,a,c){let l=v(),u=UI(l,e,t,n,r,o,i,s,a,c);return u!==W&&mc(l,we(),u),Pp}function mc(e,t,n){let r=ps(t,e);Cy(e[O],r,n)}function Lp(e,t,n){Os(t)&&(t=t());let r=v(),o=Ve();if(ce(r,o,t)){let i=P(),s=qn();sf(s,r,e,t,r[O],n)}return Lp}function qI(e,t){let n=Os(e);return n&&e.set(t),n}function Fp(e,t){let n=v(),r=P(),o=F();return yp(r,n,n[O],o,e,t),Fp}function WI(e){return ce(v(),Ve(),e)?ie(e):W}function GI(e,t,n=""){return Ap(v(),e,t,n)}function zI(e,t,n,r,o=""){return Rp(v(),e,t,n,r,o)}function QI(e,t,n){let r=P();if(r.firstCreatePass){let o=De(e);Ma(n,r.data,r.blueprint,o,!0),Ma(t,r.data,r.blueprint,o,!1)}}function Ma(e,t,n,r,o){if(e=H(e),Array.isArray(e))for(let i=0;i<e.length;i++)Ma(e[i],t,n,r,o);else{let i=P(),s=v(),a=F(),c=vt(e)?e:H(e.provide),l=as(e),u=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(vt(e)||!e.multi){let f=new Rt(l,o,ar,null),h=zs(c,t,o?u:u+p,d);h===-1?(Zs(Ro(a,s),i,c),Gs(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=zs(c,t,u+p,d),h=zs(c,t,u,u+p),m=f>=0&&n[f],_=h>=0&&n[h];if(o&&!_||!o&&!m){Zs(Ro(a,s),i,c);let T=KI(o?YI:ZI,n.length,o,r,l,e);!o&&_&&(n[h].providerFactory=T),Gs(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(T),s.push(T)}else{let T=jp(n[o?h:f],l,!o&&r);Gs(i,e,f>-1?f:h,T)}!o&&r&&_&&n[h].componentProviders++}}}function Gs(e,t,n,r){let o=vt(t),i=Wl(t);if(o||i){let c=(i?H(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 jp(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function zs(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function ZI(e,t,n,r,o){return Na(this.multi,[])}function YI(e,t,n,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=Zn(r,r[E],this.providerFactory.index,o);s=c.slice(0,a),Na(i,s);for(let l=a;l<c.length;l++)s.push(c[l])}else s=[],Na(i,s);return s}function Na(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function KI(e,t,n,r,o,i){let s=new Rt(e,n,ar,null);return s.multi=[],s.index=t,s.componentProviders=0,jp(s,o,r&&!n),s}function JI(e,t=[]){return n=>{n.providersResolver=(r,o)=>QI(r,o?o(e):e,t)}}function XI(e,t,n){let r=Nt()+e,o=v();return o[r]===W?si(o,r,n?t.call(n):t()):jv(o,r)}function eD(e,t,n,r){return Vp(v(),Nt(),e,t,n,r)}function tD(e,t,n,r,o){return Hp(v(),Nt(),e,t,n,r,o)}function yc(e,t){let n=e[t];return n===W?void 0:n}function Vp(e,t,n,r,o,i){let s=t+n;return ce(e,s,o)?si(e,s+1,i?r.call(i,o):r(o)):yc(e,s+1)}function Hp(e,t,n,r,o,i,s){let a=t+n;return Vo(e,a,o,i)?si(e,a+2,s?r.call(s,o,i):r(o,i)):yc(e,a+2)}function nD(e,t,n,r,o,i,s,a,c){let l=t+n;return Mf(e,l,o,i,s,a)?si(e,l+4,c?r.call(c,o,i,s,a):r(o,i,s,a)):yc(e,l+4)}function rD(e,t){let n=P(),r,o=e+k;n.firstCreatePass?(r=oD(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=Ze(r.type,!0)),s,a=X(ar);try{let c=Ao(!1),l=i();return Ao(c),hs(n,v(),o,l),l}finally{X(a)}}function oD(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function iD(e,t,n){let r=e+k,o=v(),i=Hn(o,r);return vc(o,r)?Vp(o,Nt(),t,i.transform,n,i):i.transform(n)}function sD(e,t,n,r){let o=e+k,i=v(),s=Hn(i,o);return vc(i,o)?Hp(i,Nt(),t,s.transform,n,r,s):s.transform(n,r)}function aD(e,t,n,r,o,i){let s=e+k,a=v(),c=Hn(a,s);return vc(a,s)?nD(a,Nt(),t,c.transform,n,r,o,i,c):c.transform(n,r,o,i)}function vc(e,t){return e[E].data[t].pure}function cD(e,t){return ri(e,t)}var lD=(()=>{class e{zone=C(oe);changeDetectionScheduler=C(ue);applicationRef=C(cr);applicationErrorHandler=C(Be);_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=Q({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Bp({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new oe(q(U({},$p()),{scheduleInRootZone:n})),[{provide:oe,useFactory:e},{provide:Ke,multi:!0,useFactory:()=>{let r=C(lD,{optional:!0});return()=>r.initialize()}},{provide:Ke,multi:!0,useFactory:()=>{let r=C(uD);return()=>{r.initialize()}}},t===!0?{provide:ks,useValue:!0}:[],{provide:Ps,useValue:n??Zf},{provide:Be,useFactory:()=>{let r=C(oe),o=C(le),i;return s=>{r.runOutsideAngular(()=>{o.destroyed&&!i?setTimeout(()=>{throw s}):(i??=o.get(Se),i.handleError(s))})}}}]}function $p(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var uD=(()=>{class e{subscription=new z;initialized=!1;zone=C(oe);pendingTasks=C(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(()=>{oe.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{oe.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=Q({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Up=(()=>{class e{applicationErrorHandler=C(Be);appRef=C(cr);taskService=C(it);ngZone=C(oe);zonelessEnabled=C(mo);tracing=C(In,{optional:!0});disableScheduling=C(ks,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new z;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Uo):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(C(Ps,{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 qo||!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?Qu:Yf;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(Uo+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,Qu(()=>{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=Q({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function dD(){return typeof $localize<"u"&&$localize.locale||lr}var Ec=new S("",{providedIn:"root",factory:()=>C(Ec,{optional:!0,skipSelf:!0})||dD()});var di=class{destroyed=!1;listeners=null;errorHandler=C(Se,{optional:!0});destroyRef=C(He);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new N(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=D(null);try{for(let r of this.listeners)try{r(t)}catch(o){this.errorHandler?.handleError(o)}}finally{D(n)}}};function fD(e){return _l(e)}function pD(e,t){return Cn(e,t?.equal)}var Ic=class{[V];constructor(t){this[V]=t}destroy(){this[V].destroy()}};function hD(e,t){let n=t?.injector??C(ye),r=t?.manualCleanup!==!0?n.get(He):null,o,i=n.get(xt,null,{optional:!0}),s=n.get(ue);return i!==null?(o=yD(i.view,s,e),r instanceof On&&r._lView===i.view&&(r=null)):o=vD(e,n.get(Gn),s),o.injector=n,r!==null&&(o.onDestroyFn=r.onDestroy(()=>o.destroy())),new Ic(o)}var qp=q(U({},Ml),{cleanupFns:void 0,zone:null,onDestroyFn:St,run(){let e=rn(!1);try{Nl(this)}finally{rn(e)}},cleanup(){if(!this.cleanupFns?.length)return;let e=D(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],D(e)}}}),gD=q(U({},qp),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){We(this),this.onDestroyFn(),this.cleanup(),this.scheduler.remove(this)}}),mD=q(U({},qp),{consumerMarkedDirty(){this.view[w]|=8192,rt(this.view),this.notifier.notify(13)},destroy(){We(this),this.onDestroyFn(),this.cleanup(),this.view[je]?.delete(this)}});function yD(e,t,n){let r=Object.create(mD);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=Wp(r,n),e[je]??=new Set,e[je].add(r),r.consumerMarkedDirty(r),r}function vD(e,t,n){let r=Object.create(gD);return r.fn=Wp(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 Wp(e,t){return()=>{t(n=>(e.cleanupFns??=[]).push(n))}}var Kp=Symbol("InputSignalNode#UNSET"),ID=q(U({},wn),{transformFn:void 0,applyValueToInputSignal(e,t){Ft(e,t)}});function Jp(e,t){let n=Object.create(ID);n.value=e,n.transformFn=t?.transform;function r(){if(ct(n),n.value===Kp){let o=null;throw new N(-950,o)}return n.value}return r[V]=n,r}var Gp=class{attributeName;constructor(t){this.attributeName=t}__NG_ELEMENT_ID__=()=>Id(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}},DD=new S("");DD.__NG_ELEMENT_ID__=e=>{let t=F();if(t===null)throw new N(204,!1);if(t.type&2)return t.value;if(e&8)return null;throw new N(204,!1)};function GF(e){return new di}function zp(e,t){return Jp(e,t)}function CD(e){return Jp(Kp,e)}var zF=(zp.required=CD,zp);function Qp(e,t){return ec(t)}function wD(e,t){return tc(t)}var QF=(Qp.required=wD,Qp);function Zp(e,t){return ec(t)}function TD(e,t){return tc(t)}var ZF=(Zp.required=TD,Zp);var Cc=new S(""),bD=new S("");function ur(e){return!e.moduleRef}function _D(e){let t=ur(e)?e.r3Injector:e.moduleRef.injector,n=t.get(oe);return n.run(()=>{ur(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(Be),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:r})}),ur(e)){let i=()=>t.destroy(),s=e.platformInjector.get(Cc);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(Cc);s.add(i),e.moduleRef.onDestroy(()=>{Qn(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return ND(r,n,()=>{let i=t.get(it),s=i.add(),a=t.get(ac);return a.runInitializers(),a.donePromise.then(()=>{let c=t.get(Ec,lr);if(hp(c||lr),!t.get(bD,!0))return ur(e)?t.get(cr):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(ur(e)){let u=t.get(cr);return e.rootComponent!==void 0&&u.bootstrap(e.rootComponent),u}else return MD?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>void i.remove(s))})})}var MD;function ND(e,t,n){try{let r=n();return sc(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e(r)),r}}var fi=null;function xD(e=[],t){return ye.create({name:t,providers:[{provide:ss,useValue:"platform"},{provide:Cc,useValue:new Set([()=>fi=null])},...e]})}function SD(e=[]){if(fi)return fi;let t=xD(e);return fi=t,np(),AD(t),t}function AD(e){let t=e.get(Md,null);oo(e,()=>{t?.forEach(n=>n())})}function YF(){return!1}var KF=(()=>{class e{static __NG_ELEMENT_ID__=RD}return e})();function RD(e){return OD(F(),v(),(e&16)===16)}function OD(e,t,n){if(nt(e)&&!n){let r=pe(e.index,t);return new st(r,r)}else if(e.type&175){let r=t[K];return new st(r,t)}return null}var wc=class{constructor(){}supports(t){return t instanceof Map||Ka(t)}create(){return new Tc}},Tc=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||Ka(t)))throw new N(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 bc(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))}},bc=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(t){this.key=t}};function Yp(){return new kD([new wc])}var kD=(()=>{class e{static \u0275prov=Q({token:e,providedIn:"root",factory:Yp});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=C(e,{optional:!0,skipSelf:!0});return e.create(n,r||Yp())}}}find(n){let r=this.factories.find(o=>o.supports(n));if(r)return r;throw new N(901,!1)}}return e})();function JF(e){let{rootComponent:t,appProviders:n,platformProviders:r,platformRef:o}=e;A(8);try{let i=o?.injector??SD(r),s=[Bp({}),{provide:ue,useExisting:Up},Iu,...n||[]],a=new er({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1});return _D({r3Injector:a.injector,platformInjector:i,rootComponent:t})}catch(i){return Promise.reject(i)}finally{A(9)}}function XF(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function e0(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}var Dc=Symbol("NOT_SET"),Xp=new Set,PD=q(U({},wn),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:Dc,cleanup:null,consumerMarkedDirty(){if(this.sequence.impl.executing){if(this.sequence.lastPhase===null||this.sequence.lastPhase<this.phase)return;this.sequence.erroredOrDestroyed=!0}this.sequence.scheduler.notify(7)},phaseFn(e){if(this.sequence.lastPhase=this.phase,!this.dirty)return this.signal;if(this.dirty=!1,this.value!==Dc&&!ut(this))return this.signal;try{for(let o of this.cleanup??Xp)o()}finally{this.cleanup?.clear()}let t=[];e!==void 0&&t.push(e),t.push(this.registerCleanupFn);let n=qe(this),r;try{r=this.userFn.apply(null,t)}finally{lt(this,n)}return(this.value===Dc||!this.equal(this.value,r))&&(this.value=r,this.version++),this.signal}}),_c=class extends tr{scheduler;lastPhase=null;nodes=[void 0,void 0,void 0,void 0];constructor(t,n,r,o,i,s=null){super(t,[void 0,void 0,void 0,void 0],r,!1,i.get(He),s),this.scheduler=o;for(let a of oc){let c=n[a];if(c===void 0)continue;let l=Object.create(PD);l.sequence=this,l.phase=a,l.userFn=c,l.dirty=!0,l.signal=()=>(ct(l),l.value),l.signal[V]=l,l.registerCleanupFn=u=>(l.cleanup??=new Set).add(u),this.nodes[a]=l,this.hooks[a]=u=>l.phaseFn(u)}}afterRun(){super.afterRun(),this.lastPhase=null}destroy(){super.destroy();for(let t of this.nodes)if(t)try{for(let n of t.cleanup??Xp)n()}finally{We(t)}}};function t0(e,t){let n=t?.injector??C(ye),r=n.get(ue),o=n.get(li),i=n.get(In,null,{optional:!0});o.impl??=n.get(ic);let s=e;typeof s=="function"&&(s={mixedReadWrite:e});let a=n.get(xt,null,{optional:!0}),c=new _c(o.impl,[s.earlyRead,s.write,s.mixedReadWrite,s.read],a?.view,r,n,i?.snapshot(null));return o.impl.register(c),c}function n0(e,t){let n=Je(e),r=t.elementInjector||Kt();return new dn(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector,t.directives,t.bindings)}export{U as a,q as b,LD as c,FD as d,jD as e,VD as f,Sc as g,ch as h,HD as i,z as j,x as k,te as l,bn as m,Ge as n,Ch as o,ht as p,Nn as q,Me as r,Si as s,Sh as t,re as u,jh as v,Ne as w,xn as x,Hh as y,Bh as z,Oi as A,Qh as B,Le as C,Zh as D,Yh as E,pl as F,Kh as G,gl as H,qr as I,Jh as J,Xh as K,eg as L,tg as M,yl as N,El as O,og as P,ig as Q,sg as R,ag as S,Il as T,cg as U,lg as V,Pi as W,ug as X,Dl as Y,dg as Z,fg as _,Cl as $,pg as aa,hg as ba,wl as ca,gg as da,bl as ea,N as fa,Yr as ga,Q as ha,Rl as ia,S as ja,xe as ka,C as la,rs as ma,Ng as na,ss as oa,le as pa,oo as qa,nu as ra,ru as sa,gu as ta,mu as ua,ye as va,Vg as wa,He as xa,Se as ya,Be as za,As as Aa,go as Ba,ue as Ca,Ls as Da,Yg as Ea,Kg as Fa,Jg as Ga,em as Ha,vm as Ia,Id as Ja,rr as Ka,Oo as La,bm as Ma,_m as Na,Md as Oa,Nm as Pa,xm as Qa,Sm as Ra,Nd as Sa,Am as Ta,ln as Ua,yn as Va,ty as Wa,ny as Xa,ay as Ya,cy as Za,xy as _a,Lo as $a,Ba as ab,Jn as bb,Xn as cb,_v as db,ar as eb,Nv as fb,ai as gb,kt as hb,$o as ib,uE as jb,fE as kb,gE as lb,mE as mb,qf as nb,TE as ob,zf as pb,Qf as qb,In as rb,$e as sb,oe as tb,LE as ub,sc as vb,Xf as wb,ep as xb,cr as yb,op as zb,HE as Ab,$E as Bb,cc as Cb,UE as Db,qE as Eb,WE as Fb,GE as Gb,zE as Hb,ip as Ib,lc as Jb,uc as Kb,sp as Lb,dc as Mb,fc as Nb,ap as Ob,lp as Pb,up as Qb,KE as Rb,JE as Sb,fp as Tb,pp as Ub,tI as Vb,hc as Wb,gp as Xb,mp as Yb,oI as Zb,sI as _b,aI as $b,lI as ac,uI as bc,dI as cc,fI as dc,pI as ec,hI as fc,gI as gc,mI as hc,Cp as ic,wp as jc,xI as kc,AI as lc,BI as mc,Op as nc,gc as oc,kp as pc,Pp as qc,Lp as rc,qI as sc,Fp as tc,WI as uc,GI as vc,zI as wc,JI as xc,XI as yc,eD as zc,tD as Ac,rD as Bc,iD as Cc,sD as Dc,aD as Ec,cD as Fc,Ec as Gc,fD as Hc,pD as Ic,hD as Jc,Gp as Kc,GF as Lc,zF as Mc,QF as Nc,ZF as Oc,YF as Pc,KF as Qc,kD as Rc,JF as Sc,XF as Tc,e0 as Uc,t0 as Vc,n0 as Wc};
|