git-history-ui 4.0.0 → 5.0.0
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/CHANGELOG.md +25 -0
- package/CODE_OF_CONDUCT.md +53 -0
- package/CONTRIBUTING.md +132 -0
- package/LICENSE +21 -0
- package/README.md +75 -15
- package/SECURITY.md +51 -0
- package/build/frontend/{chunk-CFCRPNUQ.js → chunk-3E3FVV4X.js} +1 -1
- package/build/frontend/chunk-465Y7ZAS.js +2 -0
- package/build/frontend/{chunk-I4VBIHH2.js → chunk-7VJNS7EY.js} +1 -1
- package/build/frontend/{chunk-UIWFTWLF.js → chunk-GBKH4M7W.js} +1 -1
- package/build/frontend/{chunk-UHWTLUOW.js → chunk-GJRIJIZY.js} +1 -1
- package/build/frontend/chunk-LRN4ELHN.js +9 -0
- package/build/frontend/chunk-PJETIVS4.js +1 -0
- package/build/frontend/chunk-QH2BEUIU.js +5 -0
- package/build/frontend/{chunk-3KK6F5JX.js → chunk-SJJTMQGL.js} +1 -1
- package/build/frontend/chunk-TI46NMVL.js +1 -0
- package/build/frontend/chunk-V6G3DEZ6.js +1 -0
- package/build/frontend/{chunk-UNROVCUZ.js → chunk-WPYI663L.js} +1 -1
- package/build/frontend/chunk-Y6GOUMAT.js +1 -0
- package/build/frontend/index.html +1 -1
- package/build/frontend/main-735KK4CH.js +1 -0
- package/dist/backend/aggregations.d.ts +1 -0
- package/dist/backend/aggregations.d.ts.map +1 -0
- package/dist/backend/annotations.d.ts +1 -0
- package/dist/backend/annotations.d.ts.map +1 -0
- package/dist/backend/cache/sqliteIndex.d.ts +1 -0
- package/dist/backend/cache/sqliteIndex.d.ts.map +1 -0
- package/dist/backend/dev-server.d.ts +1 -0
- package/dist/backend/dev-server.d.ts.map +1 -0
- package/dist/backend/gitService.d.ts +1 -0
- package/dist/backend/gitService.d.ts.map +1 -0
- package/dist/backend/grouping/prGrouping.d.ts +1 -0
- package/dist/backend/grouping/prGrouping.d.ts.map +1 -0
- package/dist/backend/impact.d.ts +1 -0
- package/dist/backend/impact.d.ts.map +1 -0
- package/dist/backend/insights.d.ts +1 -0
- package/dist/backend/insights.d.ts.map +1 -0
- package/dist/backend/llm/anthropicProvider.d.ts +2 -0
- package/dist/backend/llm/anthropicProvider.d.ts.map +1 -0
- package/dist/backend/llm/anthropicProvider.js +10 -4
- package/dist/backend/llm/anthropicProvider.js.map +1 -1
- package/dist/backend/llm/heuristicProvider.d.ts +2 -0
- package/dist/backend/llm/heuristicProvider.d.ts.map +1 -0
- package/dist/backend/llm/heuristicProvider.js +54 -4
- package/dist/backend/llm/heuristicProvider.js.map +1 -1
- package/dist/backend/llm/index.d.ts +7 -0
- package/dist/backend/llm/index.d.ts.map +1 -0
- package/dist/backend/llm/index.js +15 -5
- package/dist/backend/llm/index.js.map +1 -1
- package/dist/backend/llm/openaiProvider.d.ts +2 -0
- package/dist/backend/llm/openaiProvider.d.ts.map +1 -0
- package/dist/backend/llm/openaiProvider.js +8 -3
- package/dist/backend/llm/openaiProvider.js.map +1 -1
- package/dist/backend/llm/types.d.ts +3 -1
- package/dist/backend/llm/types.d.ts.map +1 -0
- package/dist/backend/presets.d.ts +1 -0
- package/dist/backend/presets.d.ts.map +1 -0
- package/dist/backend/search/datePhrase.d.ts +1 -0
- package/dist/backend/search/datePhrase.d.ts.map +1 -0
- package/dist/backend/search/nlSearch.d.ts +1 -0
- package/dist/backend/search/nlSearch.d.ts.map +1 -0
- package/dist/backend/server.d.ts +1 -0
- package/dist/backend/server.d.ts.map +1 -0
- package/dist/backend/server.js +47 -18
- package/dist/backend/server.js.map +1 -1
- package/dist/backend/snapshot.d.ts +1 -0
- package/dist/backend/snapshot.d.ts.map +1 -0
- package/dist/cli.d.ts +1 -0
- package/dist/cli.d.ts.map +1 -0
- package/docs/API.md +70 -0
- package/docs/architecture.md +85 -0
- package/docs/configuration.md +54 -0
- package/docs/troubleshooting.md +85 -0
- package/package.json +44 -8
- package/build/frontend/chunk-6VRZZB3T.js +0 -1
- package/build/frontend/chunk-AWMYL3YU.js +0 -1
- package/build/frontend/chunk-EZUFC4CQ.js +0 -1
- package/build/frontend/chunk-GRG6HTLW.js +0 -9
- package/build/frontend/chunk-L4LXF744.js +0 -2
- package/build/frontend/chunk-OBPR2XVH.js +0 -5
- package/build/frontend/chunk-VHEMN3MU.js +0 -1
- package/build/frontend/main-6PSVVDXD.js +0 -1
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
var hg=Object.create;var ls=Object.defineProperty,gg=Object.defineProperties,mg=Object.getOwnPropertyDescriptor,yg=Object.getOwnPropertyDescriptors,vg=Object.getOwnPropertyNames,Hu=Object.getOwnPropertySymbols,Dg=Object.getPrototypeOf,Uu=Object.prototype.hasOwnProperty,Eg=Object.prototype.propertyIsEnumerable;var $u=(e,t,n)=>t in e?ls(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,H=(e,t)=>{for(var n in t||={})Uu.call(t,n)&&$u(e,n,t[n]);if(Hu)for(var n of Hu(t))Eg.call(t,n)&&$u(e,n,t[n]);return e},Z=(e,t)=>gg(e,yg(t));var cC=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Ig=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of vg(t))!Uu.call(e,o)&&o!==n&&ls(e,o,{get:()=>t[o],enumerable:!(r=mg(t,o))||r.enumerable});return e};var uC=(e,t,n)=>(n=e!=null?hg(Dg(e)):{},Ig(t||!e||!e.__esModule?ls(n,"default",{value:e,enumerable:!0}):n,e));var en=(e,t,n)=>new Promise((r,o)=>{var i=c=>{try{a(n.next(c))}catch(u){o(u)}},s=c=>{try{a(n.throw(c))}catch(u){o(u)}},a=c=>c.done?r(c.value):Promise.resolve(c.value).then(i,s);a((n=n.apply(e,t)).next())});var ds;function $r(){return ds}function Ae(e){let t=ds;return ds=e,t}var zu=Symbol("NotFound");function tn(e){return e===zu||e?.name==="\u0275NotFound"}function qr(e,t){return Object.is(e,t)}var K=null,Ur=!1,fs=1,wg=null,J=Symbol("SIGNAL");function _(e){let t=K;return K=e,t}function Zr(){return K}var rt={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 nn(e){if(Ur)throw new Error("");if(K===null)return;K.consumerOnSignalRead(e);let t=K.producersTail;if(t!==void 0&&t.producer===e)return;let n,r=K.recomputing;if(r&&(n=t!==void 0?t.nextProducer:K.producers,n!==void 0&&n.producer===e)){K.producersTail=n,n.lastReadVersion=e.version;return}let o=e.consumersTail;if(o!==void 0&&o.consumer===K&&(!r||bg(o,K)))return;let i=on(K),s={producer:e,consumer:K,nextProducer:n,prevConsumer:o,lastReadVersion:e.version,nextConsumer:void 0};K.producersTail=s,t!==void 0?t.nextProducer=s:K.producers=s,i&&Wu(e,s)}function Gu(){fs++}function Yr(e){if(!(on(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===fs)){if(!e.producerMustRecompute(e)&&!rn(e)){Wr(e);return}e.producerRecomputeValue(e),Wr(e)}}function ps(e){if(e.consumers===void 0)return;let t=Ur;Ur=!0;try{for(let n=e.consumers;n!==void 0;n=n.nextConsumer){let r=n.consumer;r.dirty||Cg(r)}}finally{Ur=t}}function hs(){return K?.consumerAllowSignalWrites!==!1}function Cg(e){e.dirty=!0,ps(e),e.consumerMarkedDirty?.(e)}function Wr(e){e.dirty=!1,e.lastCleanEpoch=fs}function ot(e){return e&&(e.producersTail=void 0,e.recomputing=!0),_(e)}function bt(e,t){if(_(t),!e)return;e.recomputing=!1;let n=e.producersTail,r=n!==void 0?n.nextProducer:e.producers;if(r!==void 0){if(on(e))do r=gs(r);while(r!==void 0);n!==void 0?n.nextProducer=void 0:e.producers=void 0}}function rn(e){for(let t=e.producers;t!==void 0;t=t.nextProducer){let n=t.producer,r=t.lastReadVersion;if(r!==n.version||(Yr(n),r!==n.version))return!0}return!1}function _t(e){if(on(e)){let t=e.producers;for(;t!==void 0;)t=gs(t)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function Wu(e,t){let n=e.consumersTail,r=on(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)Wu(o.producer,o)}function gs(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,!on(t)){let i=t.producers;for(;i!==void 0;)i=gs(i)}return n}function on(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function Qr(e){wg?.(e)}function bg(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 Kr(e,t){let n=Object.create(_g);n.computation=e,t!==void 0&&(n.equal=t);let r=()=>{if(Yr(n),nn(n),n.value===Hn)throw n.error;return n.value};return r[J]=n,Qr(n),r}var zr=Symbol("UNSET"),Gr=Symbol("COMPUTING"),Hn=Symbol("ERRORED"),_g=Z(H({},rt),{value:zr,dirty:!0,error:null,equal:qr,kind:"computed",producerMustRecompute(e){return e.value===zr||e.value===Gr},producerRecomputeValue(e){if(e.value===Gr)throw new Error("");let t=e.value;e.value=Gr;let n=ot(e),r,o=!1;try{r=e.computation(),_(null),o=t!==zr&&t!==Hn&&r!==Hn&&e.equal(t,r)}catch(i){r=Hn,e.error=i}finally{bt(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function Tg(){throw new Error}var qu=Tg;function Zu(e){qu(e)}function ms(e){qu=e}var Mg=null;function ys(e,t){let n=Object.create(Jr);n.value=e,t!==void 0&&(n.equal=t);let r=()=>Yu(n);return r[J]=n,Qr(n),[r,s=>sn(n,s),s=>vs(n,s)]}function Yu(e){return nn(e),e.value}function sn(e,t){hs()||Zu(e),e.equal(e.value,t)||(e.value=t,Ng(e))}function vs(e,t){hs()||Zu(e),sn(e,t(e.value))}var Jr=Z(H({},rt),{equal:qr,value:void 0,kind:"signal"});function Ng(e){e.version++,Gu(),ps(e),Mg?.(e)}function T(e){return typeof e=="function"}function an(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 Xr=an(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 Tt(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var j=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(T(r))try{r()}catch(i){t=i instanceof Xr?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Qu(i)}catch(s){t=t??[],s instanceof Xr?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Xr(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Qu(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)&&Tt(n,t)}remove(t){let{_finalizers:n}=this;n&&Tt(n,t),t instanceof e&&t._removeParent(this)}};j.EMPTY=(()=>{let e=new j;return e.closed=!0,e})();var Ds=j.EMPTY;function eo(e){return e instanceof j||e&&"closed"in e&&T(e.remove)&&T(e.add)&&T(e.unsubscribe)}function Qu(e){T(e)?e():e.unsubscribe()}var Ee={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var cn={setTimeout(e,t,...n){let{delegate:r}=cn;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=cn;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function to(e){cn.setTimeout(()=>{let{onUnhandledError:t}=Ee;if(t)t(e);else throw e})}function $n(){}var Ku=Es("C",void 0,void 0);function Ju(e){return Es("E",void 0,e)}function Xu(e){return Es("N",e,void 0)}function Es(e,t,n){return{kind:e,value:t,error:n}}var Mt=null;function un(e){if(Ee.useDeprecatedSynchronousErrorHandling){let t=!Mt;if(t&&(Mt={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=Mt;if(Mt=null,n)throw r}}else e()}function el(e){Ee.useDeprecatedSynchronousErrorHandling&&Mt&&(Mt.errorThrown=!0,Mt.error=e)}var Nt=class extends j{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,eo(t)&&t.add(this)):this.destination=Ag}static create(t,n,r){return new ze(t,n,r)}next(t){this.isStopped?ws(Xu(t),this):this._next(t)}error(t){this.isStopped?ws(Ju(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?ws(Ku,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()}}},Sg=Function.prototype.bind;function Is(e,t){return Sg.call(e,t)}var Cs=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){no(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){no(r)}else no(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){no(n)}}},ze=class extends Nt{constructor(t,n,r){super();let o;if(T(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&Ee.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Is(t.next,i),error:t.error&&Is(t.error,i),complete:t.complete&&Is(t.complete,i)}):o=t}this.destination=new Cs(o)}};function no(e){Ee.useDeprecatedSynchronousErrorHandling?el(e):to(e)}function xg(e){throw e}function ws(e,t){let{onStoppedNotification:n}=Ee;n&&cn.setTimeout(()=>n(e,t))}var Ag={closed:!0,next:$n,error:xg,complete:$n};var ln=typeof Symbol=="function"&&Symbol.observable||"@@observable";function ne(e){return e}function Rg(...e){return bs(e)}function bs(e){return e.length===0?ne:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var S=(()=>{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=Fg(n)?n:new ze(n,r,o);return un(()=>{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=tl(r),new r((o,i)=>{let s=new ze({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)}[ln](){return this}pipe(...n){return bs(n)(this)}toPromise(n){return n=tl(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 tl(e){var t;return(t=e??Ee.Promise)!==null&&t!==void 0?t:Promise}function Og(e){return e&&T(e.next)&&T(e.error)&&T(e.complete)}function Fg(e){return e&&e instanceof Nt||Og(e)&&eo(e)}function _s(e){return T(e?.lift)}function C(e){return t=>{if(_s(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 w(e,t,n,r,o){return new Ts(e,t,n,r,o)}var Ts=class extends Nt{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(c){t.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){t.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};function Ms(){return C((e,t)=>{let n=null;e._refCount++;let r=w(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){n=null;return}let o=e._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}var Ns=class extends S{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,_s(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){let t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new j;let n=this.getSubject();t.add(this.source.subscribe(w(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=j.EMPTY)}return t}refCount(){return Ms()(this)}};var dn={schedule(e){let t=requestAnimationFrame,n=cancelAnimationFrame,{delegate:r}=dn;r&&(t=r.requestAnimationFrame,n=r.cancelAnimationFrame);let o=t(i=>{n=void 0,e(i)});return new j(()=>n?.(o))},requestAnimationFrame(...e){let{delegate:t}=dn;return(t?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){let{delegate:t}=dn;return(t?.cancelAnimationFrame||cancelAnimationFrame)(...e)},delegate:void 0};var nl=an(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var ae=(()=>{class e extends S{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new ro(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new nl}next(n){un(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){un(()=>{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(){un(()=>{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?Ds:(this.currentObservers=null,i.push(n),new j(()=>{this.currentObservers=null,Tt(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new S;return n.source=this,n}}return e.create=(t,n)=>new ro(t,n),e})(),ro=class extends ae{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:Ds}};var Un=class extends ae{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 zn={now(){return(zn.delegate||Date).now()},delegate:void 0};var Gn=class extends ae{constructor(t=1/0,n=1/0,r=zn){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 oo=class extends j{constructor(t,n){super()}schedule(t,n=0){return this}};var Wn={setInterval(e,t,...n){let{delegate:r}=Wn;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=Wn;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var it=class extends oo{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 Wn.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&&Wn.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,Tt(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var kg=1,Ss,xs={};function rl(e){return e in xs?(delete xs[e],!0):!1}var ol={setImmediate(e){let t=kg++;return xs[t]=!0,Ss||(Ss=Promise.resolve()),Ss.then(()=>rl(t)&&e()),t},clearImmediate(e){rl(e)}};var{setImmediate:Pg,clearImmediate:Lg}=ol,qn={setImmediate(...e){let{delegate:t}=qn;return(t?.setImmediate||Pg)(...e)},clearImmediate(e){let{delegate:t}=qn;return(t?.clearImmediate||Lg)(e)},delegate:void 0};var io=class extends it{constructor(t,n){super(t,n),this.scheduler=t,this.work=n}requestAsyncId(t,n,r=0){return r!==null&&r>0?super.requestAsyncId(t,n,r):(t.actions.push(this),t._scheduled||(t._scheduled=qn.setImmediate(t.flush.bind(t,void 0))))}recycleAsyncId(t,n,r=0){var o;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(t,n,r);let{actions:i}=t;n!=null&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==n&&(qn.clearImmediate(n),t._scheduled===n&&(t._scheduled=void 0))}};var fn=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)}};fn.now=zn.now;var st=class extends fn{constructor(t,n=fn.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 so=class extends st{flush(t){this._active=!0;let n=this._scheduled;this._scheduled=void 0;let{actions:r}=this,o;t=t||r.shift();do if(o=t.execute(t.state,t.delay))break;while((t=r[0])&&t.id===n&&r.shift());if(this._active=!1,o){for(;(t=r[0])&&t.id===n&&r.shift();)t.unsubscribe();throw o}}};var jg=new so(io);var Zn=new st(it),il=Zn;var ao=class extends it{constructor(t,n){super(t,n),this.scheduler=t,this.work=n}requestAsyncId(t,n,r=0){return r!==null&&r>0?super.requestAsyncId(t,n,r):(t.actions.push(this),t._scheduled||(t._scheduled=dn.requestAnimationFrame(()=>t.flush(void 0))))}recycleAsyncId(t,n,r=0){var o;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(t,n,r);let{actions:i}=t;n!=null&&n===t._scheduled&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==n&&(dn.cancelAnimationFrame(n),t._scheduled=void 0)}};var co=class extends st{flush(t){this._active=!0;let n;t?n=t.id:(n=this._scheduled,this._scheduled=void 0);let{actions:r}=this,o;t=t||r.shift();do if(o=t.execute(t.state,t.delay))break;while((t=r[0])&&t.id===n&&r.shift());if(this._active=!1,o){for(;(t=r[0])&&t.id===n&&r.shift();)t.unsubscribe();throw o}}};var Vg=new co(ao);var Yn=new S(e=>e.complete());function uo(e){return e&&T(e.schedule)}function sl(e){return e[e.length-1]}function lo(e){return T(sl(e))?e.pop():void 0}function at(e){return uo(sl(e))?e.pop():void 0}function cl(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(l){try{u(r.next(l))}catch(d){s(d)}}function c(l){try{u(r.throw(l))}catch(d){s(d)}}function u(l){l.done?i(l.value):o(l.value).then(a,c)}u((r=r.apply(e,t||[])).next())})}function al(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 St(e){return this instanceof St?(this.v=e,this):new St(e)}function ul(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(f){return function(h){return Promise.resolve(h).then(f,d)}}function a(f,h){r[f]&&(o[f]=function(v){return new Promise(function(y,g){i.push([f,v,y,g])>1||c(f,v)})},h&&(o[f]=h(o[f])))}function c(f,h){try{u(r[f](h))}catch(v){p(i[0][3],v)}}function u(f){f.value instanceof St?Promise.resolve(f.value.v).then(l,d):p(i[0][2],f)}function l(f){c("next",f)}function d(f){c("throw",f)}function p(f,h){f(h),i.shift(),i.length&&c(i[0][0],i[0][1])}}function ll(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 al=="function"?al(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,c){s=e[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(u){i({value:u,done:a})},s)}}var fo=e=>e&&typeof e.length=="number"&&typeof e!="function";function po(e){return T(e?.then)}function ho(e){return T(e[ln])}function go(e){return Symbol.asyncIterator&&T(e?.[Symbol.asyncIterator])}function mo(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 Bg(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var yo=Bg();function vo(e){return T(e?.[yo])}function Do(e){return ul(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield St(n.read());if(o)return yield St(void 0);yield yield St(r)}}finally{n.releaseLock()}})}function Eo(e){return T(e?.getReader)}function k(e){if(e instanceof S)return e;if(e!=null){if(ho(e))return Hg(e);if(fo(e))return $g(e);if(po(e))return Ug(e);if(go(e))return dl(e);if(vo(e))return zg(e);if(Eo(e))return Gg(e)}throw mo(e)}function Hg(e){return new S(t=>{let n=e[ln]();if(T(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function $g(e){return new S(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function Ug(e){return new S(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,to)})}function zg(e){return new S(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function dl(e){return new S(t=>{Wg(e,t).catch(n=>t.error(n))})}function Gg(e){return dl(Do(e))}function Wg(e,t){var n,r,o,i;return cl(this,void 0,void 0,function*(){try{for(n=ll(e);r=yield n.next(),!r.done;){let s=r.value;if(t.next(s),t.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})}function ce(e,t,n,r=0,o=!1){let i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function Io(e,t=0){return C((n,r)=>{n.subscribe(w(r,o=>ce(r,e,()=>r.next(o),t),()=>ce(r,e,()=>r.complete(),t),o=>ce(r,e,()=>r.error(o),t)))})}function wo(e,t=0){return C((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function fl(e,t){return k(e).pipe(wo(t),Io(t))}function pl(e,t){return k(e).pipe(wo(t),Io(t))}function hl(e,t){return new S(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function gl(e,t){return new S(n=>{let r;return ce(n,t,()=>{r=e[yo](),ce(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>T(r?.return)&&r.return()})}function Co(e,t){if(!e)throw new Error("Iterable cannot be null");return new S(n=>{ce(n,t,()=>{let r=e[Symbol.asyncIterator]();ce(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function ml(e,t){return Co(Do(e),t)}function yl(e,t){if(e!=null){if(ho(e))return fl(e,t);if(fo(e))return hl(e,t);if(po(e))return pl(e,t);if(go(e))return Co(e,t);if(vo(e))return gl(e,t);if(Eo(e))return ml(e,t)}throw mo(e)}function ct(e,t){return t?yl(e,t):k(e)}function bo(...e){let t=at(e);return ct(e,t)}function qg(e,t){let n=T(e)?e:()=>e,r=o=>o.error(n());return new S(t?o=>t.schedule(r,0,o):r)}function Zg(e){return!!e&&(e instanceof S||T(e.lift)&&T(e.subscribe))}var xt=an(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function vl(e){return e instanceof Date&&!isNaN(e)}function ge(e,t){return C((n,r)=>{let o=0;n.subscribe(w(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:Yg}=Array;function Qg(e,t){return Yg(t)?e(...t):e(t)}function _o(e){return ge(t=>Qg(e,t))}var{isArray:Kg}=Array,{getPrototypeOf:Jg,prototype:Xg,keys:em}=Object;function To(e){if(e.length===1){let t=e[0];if(Kg(t))return{args:t,keys:null};if(tm(t)){let n=em(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function tm(e){return e&&typeof e=="object"&&Jg(e)===Xg}function Mo(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function nm(...e){let t=at(e),n=lo(e),{args:r,keys:o}=To(e);if(r.length===0)return ct([],t);let i=new S(rm(r,t,o?s=>Mo(o,s):ne));return n?i.pipe(_o(n)):i}function rm(e,t,n=ne){return r=>{Dl(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)Dl(t,()=>{let u=ct(e[c],t),l=!1;u.subscribe(w(r,d=>{i[c]=d,l||(l=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Dl(e,t,n){e?ce(n,e,t):t()}function El(e,t,n,r,o,i,s,a){let c=[],u=0,l=0,d=!1,p=()=>{d&&!c.length&&!u&&t.complete()},f=v=>u<r?h(v):c.push(v),h=v=>{i&&t.next(v),u++;let y=!1;k(n(v,l++)).subscribe(w(t,g=>{o?.(g),i?f(g):t.next(g)},()=>{y=!0},void 0,()=>{if(y)try{for(u--;c.length&&u<r;){let g=c.shift();s?ce(t,s,()=>h(g)):h(g)}p()}catch(g){t.error(g)}}))};return e.subscribe(w(t,f,()=>{d=!0,p()})),()=>{a?.()}}function At(e,t,n=1/0){return T(t)?At((r,o)=>ge((i,s)=>t(r,i,o,s))(k(e(r,o))),n):(typeof t=="number"&&(n=t),C((r,o)=>El(r,o,e,n)))}function As(e=1/0){return At(ne,e)}function Il(){return As(1)}function No(...e){return Il()(ct(e,at(e)))}function om(e){return new S(t=>{k(e()).subscribe(t)})}function im(...e){let t=lo(e),{args:n,keys:r}=To(e),o=new S(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),c=s,u=s;for(let l=0;l<s;l++){let d=!1;k(n[l]).subscribe(w(i,p=>{d||(d=!0,u--),a[l]=p},()=>c--,void 0,()=>{(!c||!d)&&(u||i.next(r?Mo(r,a):a),i.complete())}))}});return t?o.pipe(_o(t)):o}function wl(e=0,t,n=il){let r=-1;return t!=null&&(uo(t)?n=t:r=t),new S(o=>{let i=vl(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 Rt(e,t){return C((n,r)=>{let o=0;n.subscribe(w(r,i=>e.call(t,i,o++)&&r.next(i)))})}function Cl(e){return C((t,n)=>{let r=!1,o=null,i=null,s=!1,a=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let u=o;o=null,n.next(u)}s&&n.complete()},c=()=>{i=null,s&&n.complete()};t.subscribe(w(n,u=>{r=!0,o=u,i||k(e(u)).subscribe(i=w(n,a,c))},()=>{s=!0,(!r||!i||i.closed)&&n.complete()}))})}function sm(e,t=Zn){return Cl(()=>wl(e,t))}function Rs(e){return C((t,n)=>{let r=null,o=!1,i;r=t.subscribe(w(n,void 0,void 0,s=>{i=k(e(s,Rs(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function bl(e,t,n,r,o){return(i,s)=>{let a=n,c=t,u=0;i.subscribe(w(s,l=>{let d=u++;c=a?e(c,l,d):(a=!0,l),r&&s.next(c)},o&&(()=>{a&&s.next(c),s.complete()})))}}function Os(e,t){return T(t)?At(e,t,1):At(e,1)}function am(e,t=Zn){return C((n,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let u=i;i=null,r.next(u)}};function c(){let u=s+e,l=t.now();if(l<u){o=this.schedule(void 0,u-l),r.add(o);return}a()}n.subscribe(w(r,u=>{i=u,s=t.now(),o||(o=t.schedule(c,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function Qn(e){return C((t,n)=>{let r=!1;t.subscribe(w(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function Fs(e){return e<=0?()=>Yn:C((t,n)=>{let r=0;t.subscribe(w(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function cm(e,t=ne){return e=e??um,C((n,r)=>{let o,i=!0;n.subscribe(w(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function um(e,t){return e===t}function So(e=lm){return C((t,n)=>{let r=!1;t.subscribe(w(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function lm(){return new xt}function ks(e){return C((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function dm(e,t){let n=arguments.length>=2;return r=>r.pipe(e?Rt((o,i)=>e(o,i,r)):ne,Fs(1),n?Qn(t):So(()=>new xt))}function Ps(e){return e<=0?()=>Yn:C((t,n)=>{let r=[];t.subscribe(w(n,o=>{r.push(o),e<r.length&&r.shift()},()=>{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function fm(e,t){let n=arguments.length>=2;return r=>r.pipe(e?Rt((o,i)=>e(o,i,r)):ne,Ps(1),n?Qn(t):So(()=>new xt))}function pm(){return C((e,t)=>{let n,r=!1;e.subscribe(w(t,o=>{let i=n;n=o,r&&t.next([i,o]),r=!0}))})}function hm(e,t){return C(bl(e,t,arguments.length>=2,!0))}function _l(e={}){let{connector:t=()=>new ae,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,c,u=0,l=!1,d=!1,p=()=>{a?.unsubscribe(),a=void 0},f=()=>{p(),s=c=void 0,l=d=!1},h=()=>{let v=s;f(),v?.unsubscribe()};return C((v,y)=>{u++,!d&&!l&&p();let g=c=c??t();y.add(()=>{u--,u===0&&!d&&!l&&(a=Ls(h,o))}),g.subscribe(y),!s&&u>0&&(s=new ze({next:z=>g.next(z),error:z=>{d=!0,p(),a=Ls(f,n,z),g.error(z)},complete:()=>{l=!0,p(),a=Ls(f,r),g.complete()}}),k(v).subscribe(s))})(i)}}function Ls(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new ze({next:()=>{r.unsubscribe(),e()}});return k(t(...n)).subscribe(r)}function gm(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,_l({connector:()=>new Gn(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function mm(...e){let t=at(e);return C((n,r)=>{(t?No(e,n,t):No(e,n)).subscribe(r)})}function xo(e,t){return C((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(w(r,c=>{o?.unsubscribe();let u=0,l=i++;k(e(c,l)).subscribe(o=w(r,d=>r.next(t?t(c,d,l,u++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function ym(e){return C((t,n)=>{k(e).subscribe(w(n,()=>n.complete(),$n)),!n.closed&&t.subscribe(n)})}function vm(e,t,n){let r=T(e)||t||n?{next:e,error:t,complete:n}:e;return r?C((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(w(i,c=>{var u;(u=r.next)===null||u===void 0||u.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var u;a=!1,(u=r.error)===null||u===void 0||u.call(r,c),i.error(c)},()=>{var c,u;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(u=r.finalize)===null||u===void 0||u.call(r)}))}):ne}function Tl(e){let t=_(null);try{return e()}finally{_(t)}}var ko="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",D=class extends Error{code;constructor(t,n){super(Lt(t,n)),this.code=t}};function Dm(e){return`NG0${Math.abs(e)}`}function Lt(e,t){return`${Dm(e)}${t?": "+t:""}`}var Oe=globalThis;function A(e){for(let t in e)if(e[t]===A)return t;throw Error("")}function Sl(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function We(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(We).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 Po(e,t){return e?t?`${e} ${t}`:e:t||""}var Em=A({__forward_ref__:A});function Lo(e){return e.__forward_ref__=Lo,e.toString=function(){return We(this())},e}function Y(e){return Ys(e)?e():e}function Ys(e){return typeof e=="function"&&e.hasOwnProperty(Em)&&e.__forward_ref__===Lo}function xl(e,t){e==null&&Qs(t,e,null,"!=")}function Qs(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(r==null?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}function x(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function nr(e){return{providers:e.providers||[],imports:e.imports||[]}}function rr(e){return wm(e,jo)}function Im(e){return rr(e)!==null}function wm(e,t){return e.hasOwnProperty(t)&&e[t]||null}function Cm(e){let t=e?.[jo]??null;return t||null}function Vs(e){return e&&e.hasOwnProperty(Ro)?e[Ro]:null}var jo=A({\u0275prov:A}),Ro=A({\u0275inj:A}),b=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=x({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Ks(e){return e&&!!e.\u0275providers}var Js=A({\u0275cmp:A}),Xs=A({\u0275dir:A}),ea=A({\u0275pipe:A}),ta=A({\u0275mod:A}),Xn=A({\u0275fac:A}),jt=A({__NG_ELEMENT_ID__:A}),Ml=A({__NG_ENV_ID__:A});function we(e){return typeof e=="string"?e:e==null?"":String(e)}function Oo(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():we(e)}var na=A({ngErrorCode:A}),Al=A({ngErrorMessage:A}),Jn=A({ngTokenPath:A});function ra(e,t){return Rl("",-200,t)}function Vo(e,t){throw new D(-201,!1)}function bm(e,t){e[Jn]??=[];let n=e[Jn],r;typeof t=="object"&&"multi"in t&&t?.multi===!0?(xl(t.provide,"Token with multi: true should have a provide property"),r=Oo(t.provide)):r=Oo(t),n[0]!==r&&e[Jn].unshift(r)}function _m(e,t){let n=e[Jn],r=e[na],o=e[Al]||e.message;return e.message=Mm(o,r,n,t),e}function Rl(e,t,n){let r=new D(t,e);return r[na]=t,r[Al]=e,n&&(r[Jn]=n),r}function Tm(e){return e[na]}function Mm(e,t,n=[],r=null){let o="";n&&n.length>1&&(o=` Path: ${n.join(" -> ")}.`);let i=r?` Source: ${r}.`:"";return Lt(t,`${e}${i}${o}`)}var Bs;function Ol(){return Bs}function re(e){let t=Bs;return Bs=e,t}function oa(e,t,n){let r=rr(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;Vo(e,"Injector")}var Nm={},Ot=Nm,Hs="__NG_DI_FLAG__",$s=class{injector;constructor(t){this.injector=t}retrieve(t,n){let r=Ft(n)||0;try{return this.injector.get(t,r&8?null:Ot,r)}catch(o){if(tn(o))return o;throw o}}};function Sm(e,t=0){let n=$r();if(n===void 0)throw new D(-203,!1);if(n===null)return oa(e,void 0,t);{let r=xm(t),o=n.retrieve(e,r);if(tn(o)){if(r.optional)return null;throw o}return o}}function L(e,t=0){return(Ol()||Sm)(Y(e),t)}function m(e,t){return L(e,Ft(t))}function Ft(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function xm(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function Us(e){let t=[];for(let n=0;n<e.length;n++){let r=Y(e[n]);if(Array.isArray(r)){if(r.length===0)throw new D(900,!1);let o,i=0;for(let s=0;s<r.length;s++){let a=r[s],c=Am(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(L(o,i))}else t.push(L(r))}return t}function Bo(e,t){return e[Hs]=t,e.prototype[Hs]=t,e}function Am(e){return e[Hs]}function ut(e,t){let n=e.hasOwnProperty(Xn);return n?e[Xn]: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 kl(e){return e.flat(Number.POSITIVE_INFINITY)}function Ho(e,t){e.forEach(n=>Array.isArray(n)?Ho(n,t):t(n))}function ia(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function or(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Pl(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function Ll(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 $o(e,t,n){let r=hn(e,t);return r>=0?e[r|1]=n:(r=~r,Ll(e,r,t,n)),r}function Uo(e,t){let n=hn(e,t);if(n>=0)return e[n|1]}function hn(e,t){return Rm(e,t,1)}function Rm(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 dt={},oe=[],Vt=new b(""),sa=new b("",-1),aa=new b(""),er=class{get(t,n=Ot){if(n===Ot){let o=Rl("",-201);throw o.name="\u0275NotFound",o}return n}};function ca(e){return e[ta]||null}function ft(e){return e[Js]||null}function ua(e){return e[Xs]||null}function jl(e){return e[ea]||null}function ir(e){return{\u0275providers:e}}function Vl(...e){return{\u0275providers:la(!0,e),\u0275fromNgModule:!0}}function la(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return Ho(t,s=>{let a=s;Fo(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Bl(o,i),n}function Bl(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];da(o,i=>{t(i,r)})}}function Fo(e,t,n,r){if(e=Y(e),!e)return!1;let o=null,i=Vs(e),s=!i&&ft(e);if(!i&&!s){let c=e.ngModule;if(i=Vs(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let u of c)Fo(u,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let u;try{Ho(i.imports,l=>{Fo(l,t,n,r)&&(u||=[],u.push(l))})}finally{}u!==void 0&&Bl(u,t)}if(!a){let u=ut(o)||(()=>new o);t({provide:o,useFactory:u,deps:oe},o),t({provide:aa,useValue:o,multi:!0},o),t({provide:Vt,useValue:()=>L(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let u=e;da(c,l=>{t(l,u)})}}else return!1;return o!==e&&e.providers!==void 0}function da(e,t){for(let n of e)Ks(n)&&(n=n.\u0275providers),Array.isArray(n)?da(n,t):t(n)}var Om=A({provide:String,useValue:A});function Hl(e){return e!==null&&typeof e=="object"&&Om in e}function Fm(e){return!!(e&&e.useExisting)}function km(e){return!!(e&&e.useFactory)}function kt(e){return typeof e=="function"}function $l(e){return!!e.useClass}var fa=new b(""),Ao={},Nl={},js;function sr(){return js===void 0&&(js=new er),js}var ue=class{},Pt=class extends ue{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,Gs(t,s=>this.processProvider(s)),this.records.set(sa,pn(void 0,this)),o.has("environment")&&this.records.set(ue,pn(void 0,this));let i=this.records.get(fa);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(aa,oe,{self:!0}))}retrieve(t,n){let r=Ft(n)||0;try{return this.get(t,Ot,r)}catch(o){if(tn(o))return o;throw o}}destroy(){Kn(this),this._destroyed=!0;let t=_(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(),_(t)}}onDestroy(t){return Kn(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){Kn(this);let n=Ae(this),r=re(void 0),o;try{return t()}finally{Ae(n),re(r)}}get(t,n=Ot,r){if(Kn(this),t.hasOwnProperty(Ml))return t[Ml](this);let o=Ft(r),i,s=Ae(this),a=re(void 0);try{if(!(o&4)){let u=this.records.get(t);if(u===void 0){let l=Bm(t)&&rr(t);l&&this.injectableDefInScope(l)?u=pn(zs(t),Ao):u=null,this.records.set(t,u)}if(u!=null)return this.hydrate(t,u,o)}let c=o&2?sr():this.parent;return n=o&8&&n===Ot?null:n,c.get(t,n)}catch(c){let u=Tm(c);throw u===-200||u===-201?new D(u,null):c}finally{re(a),Ae(s)}}resolveInjectorInitializers(){let t=_(null),n=Ae(this),r=re(void 0),o;try{let i=this.get(Vt,oe,{self:!0});for(let s of i)s()}finally{Ae(n),re(r),_(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(We(r));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=Y(t);let n=kt(t)?t:Y(t&&t.provide),r=Lm(t);if(!kt(t)&&t.multi===!0){let o=this.records.get(n);o||(o=pn(void 0,Ao,!0),o.factory=()=>Us(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n,r){let o=_(null);try{if(n.value===Nl)throw ra(We(t));return n.value===Ao&&(n.value=Nl,n.value=n.factory(void 0,r)),typeof n.value=="object"&&n.value&&Vm(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{_(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=Y(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 zs(e){let t=rr(e),n=t!==null?t.factory:ut(e);if(n!==null)return n;if(e instanceof b)throw new D(204,!1);if(e instanceof Function)return Pm(e);throw new D(204,!1)}function Pm(e){if(e.length>0)throw new D(204,!1);let n=Cm(e);return n!==null?()=>n.factory(e):()=>new e}function Lm(e){if(Hl(e))return pn(void 0,e.useValue);{let t=pa(e);return pn(t,Ao)}}function pa(e,t,n){let r;if(kt(e)){let o=Y(e);return ut(o)||zs(o)}else if(Hl(e))r=()=>Y(e.useValue);else if(km(e))r=()=>e.useFactory(...Us(e.deps||[]));else if(Fm(e))r=(o,i)=>L(Y(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=Y(e&&(e.useClass||e.provide));if(jm(e))r=()=>new o(...Us(e.deps));else return ut(o)||zs(o)}return r}function Kn(e){if(e.destroyed)throw new D(205,!1)}function pn(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function jm(e){return!!e.deps}function Vm(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Bm(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function Gs(e,t){for(let n of e)Array.isArray(n)?Gs(n,t):n&&Ks(n)?Gs(n.\u0275providers,t):t(n)}function gn(e,t){let n;e instanceof Pt?(Kn(e),n=e):n=new $s(e);let r,o=Ae(n),i=re(void 0);try{return t()}finally{Ae(o),re(i)}}function Ul(){return Ol()!==void 0||$r()!=null}var Ce=0,E=1,I=2,q=3,me=4,ie=5,mn=6,yn=7,X=8,Bt=9,Fe=10,P=11,vn=12,ha=13,Ht=14,le=15,pt=16,$t=17,ke=18,ar=19,ga=20,Ge=21,zo=22,Ze=23,pe=24,Ut=25,V=26,zl=1;var ht=7,cr=8,zt=9,se=10;function Pe(e){return Array.isArray(e)&&typeof e[zl]=="object"}function be(e){return Array.isArray(e)&&e[zl]===!0}function ma(e){return(e.flags&4)!==0}function gt(e){return e.componentOffset>-1}function Dn(e){return(e.flags&1)===1}function Le(e){return!!e.template}function En(e){return(e[I]&512)!==0}function Gt(e){return(e[I]&256)===256}var ya="svg",Gl="math";function ye(e){for(;Array.isArray(e);)e=e[Ce];return e}function va(e,t){return ye(t[e])}function _e(e,t){return ye(t[e.index])}function Go(e,t){return e.data[t]}function Wo(e,t){return e[t]}function Da(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function ve(e,t){let n=t[e];return Pe(n)?n:n[Ce]}function Wl(e){return(e[I]&4)===4}function qo(e){return(e[I]&128)===128}function ql(e){return be(e[q])}function mt(e,t){return t==null?null:e[t]}function Ea(e){e[$t]=0}function Ia(e){e[I]&1024||(e[I]|=1024,qo(e)&&yt(e))}function Zl(e,t){for(;e>0;)t=t[Ht],e--;return t}function ur(e){return!!(e[I]&9216||e[pe]?.dirty)}function Zo(e){e[Fe].changeDetectionScheduler?.notify(8),e[I]&64&&(e[I]|=1024),ur(e)&&yt(e)}function yt(e){e[Fe].changeDetectionScheduler?.notify(0);let t=lt(e);for(;t!==null&&!(t[I]&8192||(t[I]|=8192,!qo(t)));)t=lt(t)}function wa(e,t){if(Gt(e))throw new D(911,!1);e[Ge]===null&&(e[Ge]=[]),e[Ge].push(t)}function Yl(e,t){if(e[Ge]===null)return;let n=e[Ge].indexOf(t);n!==-1&&e[Ge].splice(n,1)}function lt(e){let t=e[q];return be(t)?t[q]:t}function Ca(e){return e[yn]??=[]}function ba(e){return e.cleanup??=[]}function Ql(e,t,n,r){let o=Ca(t);o.push(n),e.firstCreatePass&&ba(e).push(r,o.length-1)}var N={lFrame:ud(null),bindingsEnabled:!0,skipHydrationRootTNode:null},lr=(function(e){return e[e.Off=0]="Off",e[e.Exhaustive=1]="Exhaustive",e[e.OnlyDirtyViews=2]="OnlyDirtyViews",e})(lr||{}),Hm=0,Ws=!1;function Kl(){return N.lFrame.elementDepthCount}function Jl(){N.lFrame.elementDepthCount++}function _a(){N.lFrame.elementDepthCount--}function Yo(){return N.bindingsEnabled}function Ta(){return N.skipHydrationRootTNode!==null}function Ma(e){return N.skipHydrationRootTNode===e}function Na(){N.skipHydrationRootTNode=null}function M(){return N.lFrame.lView}function $(){return N.lFrame.tView}function Xl(e){return N.lFrame.contextLView=e,e[X]}function ed(e){return N.lFrame.contextLView=null,e}function W(){let e=Sa();for(;e!==null&&e.type===64;)e=e.parent;return e}function Sa(){return N.lFrame.currentTNode}function td(){let e=N.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function In(e,t){let n=N.lFrame;n.currentTNode=e,n.isParent=t}function xa(){return N.lFrame.isParent}function Aa(){N.lFrame.isParent=!1}function nd(){return N.lFrame.contextLView}function Ra(e){Qs("Must never be called in production mode"),Hm=e}function Oa(){return Ws}function wn(e){let t=Ws;return Ws=e,t}function Qo(){let e=N.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Fa(){return N.lFrame.bindingIndex}function rd(e){return N.lFrame.bindingIndex=e}function dr(){return N.lFrame.bindingIndex++}function fr(e){let t=N.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function od(){return N.lFrame.inI18n}function id(e,t){let n=N.lFrame;n.bindingIndex=n.bindingRootIndex=e,Ko(t)}function sd(){return N.lFrame.currentDirectiveIndex}function Ko(e){N.lFrame.currentDirectiveIndex=e}function ad(e){let t=N.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function ka(){return N.lFrame.currentQueryIndex}function Jo(e){N.lFrame.currentQueryIndex=e}function $m(e){let t=e[E];return t.type===2?t.declTNode:t.type===1?e[ie]:null}function Pa(e,t,n){if(n&4){let o=t,i=e;for(;o=o.parent,o===null&&!(n&1);)if(o=$m(i),o===null||(i=i[Ht],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=N.lFrame=cd();return r.currentTNode=t,r.lView=e,!0}function Xo(e){let t=cd(),n=e[E];N.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function cd(){let e=N.lFrame,t=e===null?null:e.child;return t===null?ud(e):t}function ud(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 ld(){let e=N.lFrame;return N.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var La=ld;function ei(){let e=ld();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 dd(e){return(N.lFrame.contextLView=Zl(e,N.lFrame.contextLView))[X]}function je(){return N.lFrame.selectedIndex}function vt(e){N.lFrame.selectedIndex=e}function ti(){let e=N.lFrame;return Go(e.tView,e.selectedIndex)}function fd(){N.lFrame.currentNamespace=ya}function pd(){Um()}function Um(){N.lFrame.currentNamespace=null}function hd(){return N.lFrame.currentNamespace}var gd=!0;function ni(){return gd}function pr(e){gd=e}var zm={elements:void 0};function md(){return zm}function qs(e,t=null,n=null,r){let o=ja(e,t,n,r);return o.resolveInjectorInitializers(),o}function ja(e,t=null,n=null,r,o=new Set){let i=[n||oe,Vl(e)];return r=r||(typeof e=="object"?void 0:We(e)),new Pt(i,t||sr(),r||null,o)}var Re=class e{static THROW_IF_NOT_FOUND=Ot;static NULL=new er;static create(t,n){if(Array.isArray(t))return qs({name:""},n,t,"");{let r=t.name??"";return qs({name:r},t.parent,t.providers,r)}}static \u0275prov=x({token:e,providedIn:"any",factory:()=>L(sa)});static __NG_ELEMENT_ID__=-1},Wt=new b(""),Ye=(()=>{class e{static __NG_ELEMENT_ID__=Gm;static __NG_ENV_ID__=n=>n}return e})(),tr=class extends Ye{_lView;constructor(t){super(),this._lView=t}get destroyed(){return Gt(this._lView)}onDestroy(t){let n=this._lView;return wa(n,t),()=>Yl(n,t)}};function Gm(){return new tr(M())}var qe=class{_console=console;handleError(t){this._console.error("ERROR",t)}},Ve=new b("",{providedIn:"root",factory:()=>{let e=m(ue),t;return n=>{e.destroyed&&!t?setTimeout(()=>{throw n}):(t??=e.get(qe),t.handleError(n))}}}),yd={provide:Vt,useValue:()=>void m(qe),multi:!0};function Va(e){return typeof e=="function"&&e[J]!==void 0}function Ba(e,t){let[n,r,o]=ys(e,t?.equal),i=n,s=i[J];return i.set=r,i.update=o,i.asReadonly=Ha.bind(i),i}function Ha(){let e=this[J];if(e.readonlyFn===void 0){let t=()=>this();t[J]=e,e.readonlyFn=t}return e.readonlyFn}function $a(e){return Va(e)&&typeof e.set=="function"}var Ie=class{},hr=new b("",{providedIn:"root",factory:()=>!1});var Ua=new b(""),za=new b("");var Cn=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=Wm}return e})();function Wm(){return new Cn(M(),W())}var Dt=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new Un(!1);get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new S(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=x({token:e,providedIn:"root",factory:()=>new e})}return e})(),gr=(()=>{class e{internalPendingTasks=m(Dt);scheduler=m(Ie);errorHandler=m(Ve);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=x({token:e,providedIn:"root",factory:()=>new e})}return e})();function qt(...e){}var mr=(()=>{class e{static \u0275prov=x({token:e,providedIn:"root",factory:()=>new Zs})}return e})(),Zs=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 An(e){return{toString:e}.toString()}var ri="__parameters__";function Xm(e){return function(...n){if(e){let r=e(...n);for(let o in r)this[o]=r[o]}}}function Rc(e,t,n){return An(()=>{let r=Xm(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;let s=new o(...i);return a.annotation=s,a;function a(c,u,l){let d=c.hasOwnProperty(ri)?c[ri]:Object.defineProperty(c,ri,{value:[]})[ri];for(;d.length<=l;)d.push(null);return(d[l]=d[l]||[]).push(s),c}}return o.prototype.ngMetadataName=e,o.annotationCls=o,o})}var ey=Bo(Rc("Inject",e=>({token:e})),-1),Yd=Bo(Rc("Optional"),8);var Qd=Bo(Rc("SkipSelf"),4);function ty(e){return typeof e=="function"}var fi=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function Kd(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var Jd=(()=>{let e=()=>Xd;return e.ngInherit=!0,e})();function Xd(e){return e.type.prototype.ngOnChanges&&(e.setInput=ry),ny}function ny(){let e=tf(this),t=e?.current;if(t){let n=e.previous;if(n===dt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function ry(e,t,n,r,o){let i=this.declaredInputs[r],s=tf(e)||oy(e,{previous:dt,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[i];a[i]=new fi(u&&u.currentValue,n,c===dt),Kd(e,t,o,n)}var ef="__ngSimpleChanges__";function tf(e){return e[ef]||null}function oy(e,t){return e[ef]=t}var vd=[];var R=function(e,t=null,n){for(let r=0;r<vd.length;r++){let o=vd[r];o(e,t,n)}};function iy(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=Xd(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 nf(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){let i=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:u,ngOnDestroy:l}=i;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),c&&(e.viewHooks??=[]).push(-n,c),u&&((e.viewHooks??=[]).push(n,u),(e.viewCheckHooks??=[]).push(n,u)),l!=null&&(e.destroyHooks??=[]).push(n,l)}}function ci(e,t,n){rf(e,t,3,n)}function ui(e,t,n,r){(e[I]&3)===n&&rf(e,t,n,r)}function Ga(e,t){let n=e[I];(n&3)===t&&(n&=16383,n+=1,e[I]=n)}function rf(e,t,n,r){let o=r!==void 0?e[$t]&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[$t]+=65536),(a<i||i==-1)&&(sy(e,n,t,c),e[$t]=(e[$t]&4294901760)+c+2),c++}function Dd(e,t){R(4,e,t);let n=_(null);try{t.call(e)}finally{_(n),R(5,e,t)}}function sy(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[I]>>14<e[$t]>>16&&(e[I]&3)===t&&(e[I]+=16384,Dd(a,i)):Dd(a,i)}var _n=-1,Qt=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 ay(e){return(e.flags&8)!==0}function cy(e){return(e.flags&16)!==0}function uy(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];ly(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function of(e){return e===3||e===4||e===6}function ly(e){return e.charCodeAt(0)===64}function Tn(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?Ed(e,n,o,null,t[++r]):Ed(e,n,o,null,null))}}return e}function Ed(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 sf(e){return e!==_n}function pi(e){return e&32767}function dy(e){return e>>16}function hi(e,t){let n=dy(e),r=t;for(;n>0;)r=r[Ht],n--;return r}var nc=!0;function gi(e){let t=nc;return nc=e,t}var fy=256,af=fy-1,cf=5,py=0,Be={};function hy(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(jt)&&(r=n[jt]),r==null&&(r=n[jt]=py++);let o=r&af,i=1<<o;t.data[e+(o>>cf)]|=i}function mi(e,t){let n=uf(e,t);if(n!==-1)return n;let r=t[E];r.firstCreatePass&&(e.injectorIndex=t.length,Wa(r.data,e),Wa(t,null),Wa(r.blueprint,null));let o=Oc(e,t),i=e.injectorIndex;if(sf(o)){let s=pi(o),a=hi(o,t),c=a[E].data;for(let u=0;u<8;u++)t[i+u]=a[s+u]|c[s+u]}return t[i+8]=o,i}function Wa(e,t){e.push(0,0,0,0,0,0,0,0,t)}function uf(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Oc(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=hf(o),r===null)return _n;if(n++,o=o[Ht],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return _n}function rc(e,t,n){hy(e,t,n)}function gy(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(of(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 lf(e,t,n){if(n&8||e!==void 0)return e;Vo(t,"NodeInjector")}function df(e,t,n,r){if(n&8&&r===void 0&&(r=null),(n&3)===0){let o=e[Bt],i=re(void 0);try{return o?o.get(t,r,n&8):oa(t,r,n&8)}finally{re(i)}}return lf(r,t,n)}function ff(e,t,n,r=0,o){if(e!==null){if(t[I]&2048&&!(r&2)){let s=Ey(e,t,n,r,Be);if(s!==Be)return s}let i=pf(e,t,n,r,Be);if(i!==Be)return i}return df(t,n,r,o)}function pf(e,t,n,r,o){let i=yy(n);if(typeof i=="function"){if(!Pa(t,e,r))return r&1?lf(o,n,r):df(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&8))Vo(n);else return s}finally{La()}}else if(typeof i=="number"){let s=null,a=uf(e,t),c=_n,u=r&1?t[le][ie]:null;for((a===-1||r&4)&&(c=a===-1?Oc(e,t):t[a+8],c===_n||!wd(r,!1)?a=-1:(s=t[E],a=pi(c),t=hi(c,t)));a!==-1;){let l=t[E];if(Id(i,a,l.data)){let d=my(a,t,n,s,r,u);if(d!==Be)return d}c=t[a+8],c!==_n&&wd(r,t[E].data[a+8]===u)&&Id(i,a,t)?(s=l,a=pi(c),t=hi(c,t)):a=-1}}return o}function my(e,t,n,r,o,i){let s=t[E],a=s.data[e+8],c=r==null?gt(a)&&nc:r!=s&&(a.type&3)!==0,u=o&1&&i===a,l=li(a,s,n,c,u);return l!==null?Dr(t,s,l,a,o):Be}function li(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,c=e.directiveStart,u=e.directiveEnd,l=i>>20,d=r?a:a+l,p=o?a+l:u;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&&Le(f)&&f.type===n)return c}return null}function Dr(e,t,n,r,o){let i=e[n],s=t.data;if(i instanceof Qt){let a=i;if(a.resolving){let f=Oo(s[n]);throw ra(f)}let c=gi(a.canSeeViewProviders);a.resolving=!0;let u=s[n].type||s[n],l,d=a.injectImpl?re(a.injectImpl):null,p=Pa(e,r,0);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&iy(n,s[n],t)}finally{d!==null&&re(d),gi(c),a.resolving=!1,La()}}return i}function yy(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(jt)?e[jt]:void 0;return typeof t=="number"?t>=0?t&af:vy:t}function Id(e,t,n){let r=1<<e;return!!(n[t+(e>>cf)]&r)}function wd(e,t){return!(e&2)&&!(e&1&&t)}var Yt=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return ff(this._tNode,this._lView,t,Ft(r),n)}};function vy(){return new Yt(W(),M())}function Dy(e){return An(()=>{let t=e.prototype.constructor,n=t[Xn]||oc(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Xn]||oc(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function oc(e){return Ys(e)?()=>{let t=oc(Y(e));return t&&t()}:ut(e)}function Ey(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[I]&2048&&!En(s);){let a=pf(i,s,n,r|2,Be);if(a!==Be)return a;let c=i.parent;if(!c){let u=s[ga];if(u){let l=u.get(n,Be,r);if(l!==Be)return l}c=hf(s),s=s[Ht]}i=c}return o}function hf(e){let t=e[E],n=t.type;return n===2?t.declTNode:n===1?e[ie]:null}function Fc(e){return gy(W(),e)}function Iy(){return Rn(W(),M())}function Rn(e,t){return new On(_e(e,t))}var On=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=Iy}return e})();function wy(e){return e instanceof On?e.nativeElement:e}function Cy(){return this._results[Symbol.iterator]()}var yi=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 ae}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=kl(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]=Cy};function gf(e){return(e.flags&128)===128}var kc=(function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e})(kc||{}),mf=new Map,by=0;function _y(){return by++}function Ty(e){mf.set(e[ar],e)}function ic(e){mf.delete(e[ar])}var Cd="__ngContext__";function Mn(e,t){Pe(t)?(e[Cd]=t[ar],Ty(t)):e[Cd]=t}function yf(e){return Df(e[vn])}function vf(e){return Df(e[me])}function Df(e){for(;e!==null&&!be(e);)e=e[me];return e}var sc;function My(e){sc=e}function Pc(){if(sc!==void 0)return sc;if(typeof document<"u")return document;throw new D(210,!1)}var Ny=new b("",{providedIn:"root",factory:()=>Sy}),Sy="ng",Ef=new b(""),xy=new b("",{providedIn:"platform",factory:()=>"unknown"});var Ay=new b("",{providedIn:"root",factory:()=>Pc().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var Ry="h",Oy="b";var If=!1,wf=new b("",{providedIn:"root",factory:()=>If});var Fy=(e,t,n,r)=>{};function ky(e,t,n,r){Fy(e,t,n,r)}function Ai(e){return(e.flags&32)===32}var Py=()=>null;function Cf(e,t,n=!1){return Py(e,t,n)}function bf(e,t){let n=e.contentQueries;if(n!==null){let r=_(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];Jo(i),a.contentQueries(2,t[s],s)}}}finally{_(r)}}}function ac(e,t,n){Jo(0);let r=_(null);try{t(e,n)}finally{_(r)}}function Lc(e,t,n){if(ma(t)){let r=_(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{_(r)}}}var Nn=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e})(Nn||{}),oi;function Ly(){if(oi===void 0&&(oi=null,Oe.trustedTypes))try{oi=Oe.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return oi}function Ri(e){return Ly()?.createHTML(e)||e}var ii;function _f(){if(ii===void 0&&(ii=null,Oe.trustedTypes))try{ii=Oe.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ii}function bd(e){return _f()?.createHTML(e)||e}function _d(e){return _f()?.createScriptURL(e)||e}var vi=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${ko})`}};function Fn(e){return e instanceof vi?e.changingThisBreaksApplicationSecurity:e}function Oi(e,t){let n=Tf(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${ko})`)}return n===t}function Tf(e){return e instanceof vi&&e.getTypeName()||null}function jy(e){let t=new uc(e);return Vy()?new cc(t):t}var cc=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(Ri(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}},uc=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=Ri(t),n}};function Vy(){try{return!!new window.DOMParser().parseFromString(Ri(""),"text/html")}catch{return!1}}var By=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function jc(e){return e=String(e),e.match(By)?e:"unsafe:"+e}function Je(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function _r(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var Mf=Je("area,br,col,hr,img,wbr"),Nf=Je("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Sf=Je("rp,rt"),Hy=_r(Sf,Nf),$y=_r(Nf,Je("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")),Uy=_r(Sf,Je("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")),Td=_r(Mf,$y,Uy,Hy),xf=Je("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),zy=Je("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"),Gy=Je("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"),Wy=_r(xf,zy,Gy),qy=Je("script,style,template"),lc=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=Qy(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=Yy(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=Md(t).toLowerCase();if(!Td.hasOwnProperty(n))return this.sanitizedSomething=!0,!qy.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(!Wy.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;xf[a]&&(c=jc(c)),this.buf.push(" ",s,'="',Nd(c),'"')}return this.buf.push(">"),!0}endElement(t){let n=Md(t).toLowerCase();Td.hasOwnProperty(n)&&!Mf.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Nd(t))}};function Zy(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function Yy(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw Af(t);return t}function Qy(e){let t=e.firstChild;if(t&&Zy(e,t))throw Af(t);return t}function Md(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function Af(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var Ky=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Jy=/([^\#-~ |!])/g;function Nd(e){return e.replace(/&/g,"&").replace(Ky,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(Jy,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var si;function Rf(e,t){let n=null;try{si=si||jy(e);let r=t?String(t):"";n=si.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=si.getInertBodyElement(r)}while(r!==i);let a=new lc().sanitizeChildren(Sd(n)||n);return Ri(a)}finally{if(n){let r=Sd(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function Sd(e){return"content"in e&&Xy(e)?e.content:null}function Xy(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var Tr=(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})(Tr||{});function ev(e){let t=Vc();return t?bd(t.sanitize(Tr.HTML,e)||""):Oi(e,"HTML")?bd(Fn(e)):Rf(Pc(),we(e))}function Of(e){let t=Vc();return t?t.sanitize(Tr.URL,e)||"":Oi(e,"URL")?Fn(e):jc(we(e))}function Ff(e){let t=Vc();if(t)return _d(t.sanitize(Tr.RESOURCE_URL,e)||"");if(Oi(e,"ResourceURL"))return _d(Fn(e));throw new D(904,!1)}function tv(e,t){return t==="src"&&(e==="embed"||e==="frame"||e==="iframe"||e==="media"||e==="script")||t==="href"&&(e==="base"||e==="link")?Ff:Of}function nv(e,t,n){return tv(t,n)(e)}function Vc(){let e=M();return e&&e[Fe].sanitizer}var rv=/^>|^->|<!--|-->|--!>|<!-$/g,ov=/(<|>)/g,iv="\u200B$1\u200B";function sv(e){return e.replace(rv,t=>t.replace(ov,iv))}function av(e){return e.ownerDocument.defaultView}function cv(e){return e.ownerDocument}function kf(e){return e instanceof Function?e():e}function uv(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 Pf="ng-template";function lv(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&uv(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(Bc(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 Bc(e){return e.type===4&&e.value!==Pf}function dv(e,t,n){let r=e.type===4&&!n?Pf:e.value;return t===r}function fv(e,t,n){let r=4,o=e.attrs,i=o!==null?gv(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!==""&&!dv(e,c,n)||c===""&&t.length===1){if(Te(r))return!1;s=!0}}else if(r&8){if(o===null||!lv(e,o,c,n)){if(Te(r))return!1;s=!0}}else{let u=t[++a],l=pv(c,o,Bc(e),n);if(l===-1){if(Te(r))return!1;s=!0;continue}if(u!==""){let d;if(l>i?d="":d=o[l+1].toLowerCase(),r&2&&u!==d){if(Te(r))return!1;s=!0}}}}return Te(r)||s}function Te(e){return(e&1)===0}function pv(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 mv(t,e)}function Lf(e,t,n=!1){for(let r=0;r<t.length;r++)if(fv(e,t[r],n))return!0;return!1}function hv(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if((n&1)===0)return t[n+1]}return null}function gv(e){for(let t=0;t<e.length;t++){let n=e[t];if(of(n))return t}return e.length}function mv(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 yv(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 xd(e,t){return e?":not("+t.trim()+")":t}function vv(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+=xd(i,o),o=""),r=s,i=i||!Te(r);n++}return o!==""&&(t+=xd(i,o)),t}function Dv(e){return e.map(vv).join(",")}function Ev(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 ee={};function Iv(e,t){return e.createText(t)}function wv(e,t,n){e.setValue(t,n)}function Cv(e,t){return e.createComment(sv(t))}function jf(e,t,n){return e.createElement(t,n)}function Di(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Vf(e,t,n){e.appendChild(t,n)}function Ad(e,t,n,r,o){r!==null?Di(e,t,n,r,o):Vf(e,t,n)}function bv(e,t,n){e.removeChild(null,t,n)}function _v(e,t,n){e.setAttribute(t,"style",n)}function Tv(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Bf(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&uy(e,t,r),o!==null&&Tv(e,t,o),i!==null&&_v(e,t,i)}function Hc(e,t,n,r,o,i,s,a,c,u,l){let d=V+r,p=d+o,f=Mv(d,p),h=typeof u=="function"?u():u;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:l}}function Mv(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:ee);return n}function Nv(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=Hc(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function $c(e,t,n,r,o,i,s,a,c,u,l){let d=t.blueprint.slice();return d[Ce]=o,d[I]=r|4|128|8|64|1024,(u!==null||e&&e[I]&2048)&&(d[I]|=2048),Ea(d),d[q]=d[Ht]=e,d[X]=n,d[Fe]=s||e&&e[Fe],d[P]=a||e&&e[P],d[Bt]=c||e&&e[Bt]||null,d[ie]=i,d[ar]=_y(),d[mn]=l,d[ga]=u,d[le]=t.type==2?e[le]:d,d}function Sv(e,t,n){let r=_e(t,e),o=Nv(n),i=e[Fe].rendererFactory,s=Uc(e,$c(e,o,null,Hf(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function Hf(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function $f(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 Uc(e,t){return e[vn]?e[ha][me]=t:e[vn]=t,e[ha]=t,t}function xv(e=1){Uf($(),M(),je()+e,!1)}function Uf(e,t,n,r){if(!r)if((t[I]&3)===3){let i=e.preOrderCheckHooks;i!==null&&ci(t,i,n)}else{let i=e.preOrderHooks;i!==null&&ui(t,i,0,n)}vt(n)}var Fi=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(Fi||{});function dc(e,t,n,r){let o=_(null);try{let[i,s,a]=e.inputs[n],c=null;(s&Fi.SignalBased)!==0&&(c=t[i][J]),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):Kd(t,c,i,r)}finally{_(o)}}var Er=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})(Er||{}),Av;function zc(e,t){return Av(e,t)}function bn(e,t,n,r,o){if(r!=null){let i,s=!1;be(r)?i=r:Pe(r)&&(s=!0,r=r[Ce]);let a=ye(r);e===0&&n!==null?o==null?Vf(t,n,a):Di(t,n,a,o||null,!0):e===1&&n!==null?Di(t,n,a,o||null,!0):e===2?bv(t,a,s):e===3&&t.destroyNode(a),i!=null&&Hv(t,e,i,n,o)}}function Rv(e,t){zf(e,t),t[Ce]=null,t[ie]=null}function Ov(e,t,n,r,o,i){r[Ce]=o,r[ie]=t,ki(e,r,n,1,o,i)}function zf(e,t){t[Fe].changeDetectionScheduler?.notify(9),ki(e,t,t[P],2,null,null)}function Fv(e){let t=e[vn];if(!t)return qa(e[E],e);for(;t;){let n=null;if(Pe(t))n=t[vn];else{let r=t[se];r&&(n=r)}if(!n){for(;t&&!t[me]&&t!==e;)Pe(t)&&qa(t[E],t),t=t[q];t===null&&(t=e),Pe(t)&&qa(t[E],t),n=t&&t[me]}t=n}}function Gc(e,t){let n=e[zt],r=n.indexOf(t);n.splice(r,1)}function Gf(e,t){if(Gt(t))return;let n=t[P];n.destroyNode&&ki(e,t,n,3,null,null),Fv(t)}function qa(e,t){if(Gt(t))return;let n=_(null);try{t[I]&=-129,t[I]|=256,t[pe]&&_t(t[pe]),Pv(e,t),kv(e,t),t[E].type===1&&t[P].destroy();let r=t[pt];if(r!==null&&be(t[q])){r!==t[q]&&Gc(r,t);let o=t[ke];o!==null&&o.detachView(e)}ic(t)}finally{_(n)}}function kv(e,t){let n=e.cleanup,r=t[yn];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[yn]=null);let o=t[Ge];if(o!==null){t[Ge]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[Ze];if(i!==null){t[Ze]=null;for(let s of i)s.destroy()}}function Pv(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 Qt)){let i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],c=i[s+1];R(4,a,c);try{c.call(a)}finally{R(5,a,c)}}else{R(4,o,i);try{i.call(o)}finally{R(5,o,i)}}}}}function Wf(e,t,n){return Lv(e,t.parent,n)}function Lv(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[Ce];if(gt(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===Nn.None||o===Nn.Emulated)return null}return _e(r,n)}function qf(e,t,n){return Vv(e,t,n)}function jv(e,t,n){return e.type&40?_e(e,n):null}var Vv=jv,Rd;function Wc(e,t,n,r){let o=Wf(e,r,t),i=t[P],s=r.parent||t[ie],a=qf(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)Ad(i,o,n[c],a,!1);else Ad(i,o,n,a,!1);Rd!==void 0&&Rd(i,r,t,n,o)}function yr(e,t){if(t!==null){let n=t.type;if(n&3)return _e(t,e);if(n&4)return fc(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return yr(e,r);{let o=e[t.index];return be(o)?fc(-1,o):ye(o)}}else{if(n&128)return yr(e,t.next);if(n&32)return zc(t,e)()||ye(e[t.index]);{let r=Zf(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=lt(e[le]);return yr(o,r)}else return yr(e,t.next)}}}return null}function Zf(e,t){if(t!==null){let r=e[le][ie],o=t.projection;return r.projection[o]}return null}function fc(e,t){let n=se+e+1;if(n<t.length){let r=t[n],o=r[E].firstChild;if(o!==null)return yr(r,o)}return t[ht]}function qc(e,t,n,r,o,i,s){for(;n!=null;){if(n.type===128){n=n.next;continue}let a=r[n.index],c=n.type;if(s&&t===0&&(a&&Mn(ye(a),r),n.flags|=2),!Ai(n))if(c&8)qc(e,t,n.child,r,o,i,!1),bn(t,e,o,a,i);else if(c&32){let u=zc(n,r),l;for(;l=u();)bn(t,e,o,l,i);bn(t,e,o,a,i)}else c&16?Yf(e,t,r,n,o,i):bn(t,e,o,a,i);n=s?n.projectionNext:n.next}}function ki(e,t,n,r,o,i){qc(n,r,e.firstChild,t,o,i,!1)}function Bv(e,t,n){let r=t[P],o=Wf(e,n,t),i=n.parent||t[ie],s=qf(i,n,t);Yf(r,0,t,n,o,s)}function Yf(e,t,n,r,o,i){let s=n[le],c=s[ie].projection[r.projection];if(Array.isArray(c))for(let u=0;u<c.length;u++){let l=c[u];bn(t,e,o,l,i)}else{let u=c,l=s[q];gf(r)&&(u.flags|=128),qc(e,t,u,l,o,i,!0)}}function Hv(e,t,n,r,o){let i=n[ht],s=ye(n);i!==s&&bn(t,e,r,i,o);for(let a=se;a<n.length;a++){let c=n[a];ki(c[E],c,e,t,r,i)}}function $v(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:Er.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Er.Important),e.setStyle(n,r,o,i))}}function Qf(e,t,n,r,o){let i=je(),s=r&2;try{vt(-1),s&&t.length>V&&Uf(e,t,V,!1),R(s?2:0,o,n),n(r,o)}finally{vt(i),R(s?3:1,o,n)}}function Pi(e,t,n){Yv(e,t,n),(n.flags&64)===64&&Qv(e,t,n)}function Mr(e,t,n=_e){let r=t.localNames;if(r!==null){let o=t.index+1;for(let i=0;i<r.length;i+=2){let s=r[i+1],a=s===-1?n(t,e):e[s];e[o++]=a}}}function Uv(e,t,n,r){let i=r.get(wf,If)||n===Nn.ShadowDom,s=e.selectRootElement(t,i);return zv(s),s}function zv(e){Gv(e)}var Gv=()=>null;function Wv(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function Kf(e,t,n,r,o,i){let s=t[E];if(Kc(e,s,t,n,r)){gt(e)&&Zv(t,e.index);return}e.type&3&&(n=Wv(n)),qv(e,t,n,r,o,i)}function qv(e,t,n,r,o,i){if(e.type&3){let s=_e(e,t);r=i!=null?i(r,e.value||"",n):r,o.setProperty(s,n,r)}else e.type&12}function Zv(e,t){let n=ve(t,e);n[I]&16||(n[I]|=64)}function Yv(e,t,n){let r=n.directiveStart,o=n.directiveEnd;gt(n)&&Sv(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||mi(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=Dr(t,e,s,n);if(Mn(c,t),i!==null&&eD(t,s-r,c,a,n,i),Le(a)){let u=ve(n.index,t);u[X]=Dr(t,e,s,n)}}}function Qv(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=sd();try{vt(i);for(let a=r;a<o;a++){let c=e.data[a],u=t[a];Ko(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&Kv(c,u)}}finally{vt(-1),Ko(s)}}function Kv(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function Zc(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];Lf(t,i.selectors,!1)&&(r??=[],Le(i)?r.unshift(i):r.push(i))}return r}function Jv(e,t,n,r,o,i){let s=_e(e,t);Xv(t[P],s,i,e.value,n,r,o)}function Xv(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?we(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function eD(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],u=s[a+1];dc(r,n,c,u)}}function Yc(e,t,n,r,o){let i=V+n,s=t[E],a=o(s,t,e,r,n);t[i]=a,In(e,!0);let c=e.type===2;return c?(Bf(t[P],a,e),(Kl()===0||Dn(e))&&Mn(a,t),Jl()):Mn(a,t),ni()&&(!c||!Ai(e))&&Wc(s,t,a,e),e}function Qc(e){let t=e;return xa()?Aa():(t=t.parent,In(t,!1)),t}function tD(e,t){let n=e[Bt];if(!n)return;n.get(Ve,null)?.(t)}function Kc(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 u=s[c],l=s[c+1],d=t.data[u];dc(d,n[u],l,o),a=!0}if(i)for(let c of i){let u=n[c],l=t.data[c];dc(l,u,r,o),a=!0}return a}function nD(e,t){let n=ve(t,e),r=n[E];rD(r,n);let o=n[Ce];o!==null&&n[mn]===null&&(n[mn]=Cf(o,n[Bt])),R(18),Jc(r,n,n[X]),R(19,n[X])}function rD(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function Jc(e,t,n){Xo(t);try{let r=e.viewQuery;r!==null&&ac(1,r,n);let o=e.template;o!==null&&Qf(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[ke]?.finishViewCreation(e),e.staticContentQueries&&bf(e,t),e.staticViewQueries&&ac(2,e.viewQuery,n);let i=e.components;i!==null&&oD(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[I]&=-5,ei()}}function oD(e,t){for(let n=0;n<t.length;n++)nD(e,t[n])}function Jf(e,t,n,r){let o=_(null);try{let i=t.tView,a=e[I]&4096?4096:16,c=$c(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),u=e[t.index];c[pt]=u;let l=e[ke];return l!==null&&(c[ke]=l.createEmbeddedView(i)),Jc(i,c,n),c}finally{_(o)}}function pc(e,t){return!t||t.firstChild===null||gf(e)}var Od=!1,iD=new b("");function Ir(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(ye(i)),be(i)&&Xf(i,r);let s=n.type;if(s&8)Ir(e,t,n.child,r);else if(s&32){let a=zc(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=Zf(t,n);if(Array.isArray(a))r.push(...a);else{let c=lt(t[le]);Ir(c[E],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function Xf(e,t){for(let n=se;n<e.length;n++){let r=e[n],o=r[E].firstChild;o!==null&&Ir(r[E],r,o,t)}e[ht]!==e[Ce]&&t.push(e[ht])}function ep(e){if(e[Ut]!==null){for(let t of e[Ut])t.impl.addSequence(t);e[Ut].length=0}}var tp=[];function sD(e){return e[pe]??aD(e)}function aD(e){let t=tp.pop()??Object.create(uD);return t.lView=e,t}function cD(e){e.lView[pe]!==e&&(e.lView=null,tp.push(e))}var uD=Z(H({},rt),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{yt(e.lView)},consumerOnSignalRead(){this.lView[pe]=this}});function lD(e){let t=e[pe]??Object.create(dD);return t.lView=e,t}var dD=Z(H({},rt),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=lt(e.lView);for(;t&&!np(t[E]);)t=lt(t);t&&Ia(t)},consumerOnSignalRead(){this.lView[pe]=this}});function np(e){return e.type!==2}function rp(e){if(e[Ze]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[Ze])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[I]&8192)}}var fD=100;function Xc(e,t=0){let r=e[Fe].rendererFactory,o=!1;o||r.begin?.();try{pD(e,t)}finally{o||r.end?.()}}function pD(e,t){let n=Oa();try{wn(!0),hc(e,t);let r=0;for(;ur(e);){if(r===fD)throw new D(103,!1);r++,hc(e,1)}}finally{wn(n)}}function op(e,t){Ra(t?lr.Exhaustive:lr.OnlyDirtyViews);try{Xc(e)}finally{Ra(lr.Off)}}function hD(e,t,n,r){if(Gt(t))return;let o=t[I],i=!1,s=!1;Xo(t);let a=!0,c=null,u=null;i||(np(e)?(u=sD(t),c=ot(u)):Zr()===null?(a=!1,u=lD(t),c=ot(u)):t[pe]&&(_t(t[pe]),t[pe]=null));try{Ea(t),rd(e.bindingStartIndex),n!==null&&Qf(e,t,n,2,r);let l=(o&3)===3;if(!i)if(l){let f=e.preOrderCheckHooks;f!==null&&ci(t,f,null)}else{let f=e.preOrderHooks;f!==null&&ui(t,f,0,null),Ga(t,0)}if(s||gD(t),rp(t),ip(t,0),e.contentQueries!==null&&bf(e,t),!i)if(l){let f=e.contentCheckHooks;f!==null&&ci(t,f)}else{let f=e.contentHooks;f!==null&&ui(t,f,1),Ga(t,1)}yD(e,t);let d=e.components;d!==null&&ap(t,d,0);let p=e.viewQuery;if(p!==null&&ac(2,p,r),!i)if(l){let f=e.viewCheckHooks;f!==null&&ci(t,f)}else{let f=e.viewHooks;f!==null&&ui(t,f,2),Ga(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[zo]){for(let f of t[zo])f();t[zo]=null}i||(ep(t),t[I]&=-73)}catch(l){throw i||yt(t),l}finally{u!==null&&(bt(u,c),a&&cD(u)),ei()}}function ip(e,t){for(let n=yf(e);n!==null;n=vf(n))for(let r=se;r<n.length;r++){let o=n[r];sp(o,t)}}function gD(e){for(let t=yf(e);t!==null;t=vf(t)){if(!(t[I]&2))continue;let n=t[zt];for(let r=0;r<n.length;r++){let o=n[r];Ia(o)}}}function mD(e,t,n){R(18);let r=ve(t,e);sp(r,n),R(19,r[X])}function sp(e,t){qo(e)&&hc(e,t)}function hc(e,t){let r=e[E],o=e[I],i=e[pe],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&rn(i)),s||=!1,i&&(i.dirty=!1),e[I]&=-9217,s)hD(r,e,r.template,e[X]);else if(o&8192){let a=_(null);try{rp(e),ip(e,1);let c=r.components;c!==null&&ap(e,c,1),ep(e)}finally{_(a)}}}function ap(e,t,n){for(let r=0;r<t.length;r++)mD(e,t[r],n)}function yD(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)vt(~o);else{let i=o,s=n[++r],a=n[++r];id(s,i);let c=t[i];R(24,c),a(2,c),R(25,c)}}}finally{vt(-1)}}function eu(e,t){let n=Oa()?64:1088;for(e[Fe].changeDetectionScheduler?.notify(t);e;){e[I]|=n;let r=lt(e);if(En(e)&&!r)return e;e=r}return null}function cp(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function up(e,t,n,r=!0){let o=t[E];if(vD(o,t,e,n),r){let s=fc(n,e),a=t[P],c=a.parentNode(e[ht]);c!==null&&Ov(o,e[ie],a,t,c,s)}let i=t[mn];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function gc(e,t){if(e.length<=se)return;let n=se+t,r=e[n];if(r){let o=r[pt];o!==null&&o!==e&&Gc(o,r),t>0&&(e[n-1][me]=r[me]);let i=or(e,se+t);Rv(r[E],r);let s=i[ke];s!==null&&s.detachView(i[E]),r[q]=null,r[me]=null,r[I]&=-129}return r}function vD(e,t,n,r){let o=se+r,i=n.length;r>0&&(n[o-1][me]=t),r<i-se?(t[me]=n[o],ia(n,se+r,t)):(n.push(t),t[me]=null),t[q]=n;let s=t[pt];s!==null&&n!==s&&lp(s,t);let a=t[ke];a!==null&&a.insertView(e),Zo(t),t[I]|=128}function lp(e,t){let n=e[zt],r=t[q];if(Pe(r))e[I]|=2;else{let o=r[q][le];t[le]!==o&&(e[I]|=2)}n===null?e[zt]=[t]:n.push(t)}var Et=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let t=this._lView,n=t[E];return Ir(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n}get context(){return this._lView[X]}set context(t){this._lView[X]=t}get destroyed(){return Gt(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[q];if(be(t)){let n=t[cr],r=n?n.indexOf(this):-1;r>-1&&(gc(t,r),or(n,r))}this._attachedToViewContainer=!1}Gf(this._lView[E],this._lView)}onDestroy(t){wa(this._lView,t)}markForCheck(){eu(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[I]&=-129}reattach(){Zo(this._lView),this._lView[I]|=128}detectChanges(){this._lView[I]|=1024,Xc(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new D(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=En(this._lView),n=this._lView[pt];n!==null&&!t&&Gc(n,this._lView),zf(this._lView[E],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new D(902,!1);this._appRef=t;let n=En(this._lView),r=this._lView[pt];r!==null&&!n&&lp(r,this._lView),Zo(this._lView)}};var It=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=DD;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=Jf(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:r,dehydratedView:o});return new Et(i)}}return e})();function DD(){return Li(W(),M())}function Li(e,t){return e.type&4?new It(t,e,Rn(e,t)):null}function kn(e,t,n,r,o){let i=e.data[t];if(i===null)i=ED(e,t,n,r,o),od()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=td();i.injectorIndex=s===null?-1:s.injectorIndex}return In(i,!0),i}function ED(e,t,n,r,o){let i=Sa(),s=xa(),a=s?i:i&&i.parent,c=e.data[t]=wD(e,a,n,t,r,o);return ID(e,c,i,s),c}function ID(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 wD(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return Ta()&&(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 Jx=new RegExp(`^(\\d+)*(${Oy}|${Ry})*(.*)`);var CD=()=>null;function mc(e,t){return CD(e,t)}var dp=class{},ji=class{},yc=class{resolveComponentFactory(t){throw new D(917,!1)}},Nr=class{static NULL=new yc},wr=class{},fp=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>bD()}return e})();function bD(){let e=M(),t=W(),n=ve(t.index,e);return(Pe(n)?n:e)[P]}var pp=(()=>{class e{static \u0275prov=x({token:e,providedIn:"root",factory:()=>null})}return e})();var di={},vc=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){let o=this.injector.get(t,di,r);return o!==di||n===di?o:this.parentInjector.get(t,n,r)}};function Ei(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=Po(o,a);else if(i==2){let c=a,u=t[++s];r=Po(r,c+": "+u+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function de(e,t=0){let n=M();if(n===null)return L(e,t);let r=W();return ff(r,n,Y(e),t)}function hp(e,t,n,r,o){let i=r===null?null:{"":-1},s=o(e,n);if(s!==null){let a=s,c=null,u=null;for(let l of s)if(l.resolveHostDirectives!==null){[a,c,u]=l.resolveHostDirectives(s);break}MD(e,t,n,a,i,c,u)}i!==null&&r!==null&&_D(n,r,i)}function _D(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 D(-301,!1);r.push(t[o],i)}}function TD(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function MD(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&&Le(f)&&(c=!0,TD(e,n,p)),rc(mi(n,t),e,f.type)}OD(n,e.data.length,a);for(let p=0;p<a;p++){let f=r[p];f.providersResolver&&f.providersResolver(f)}let u=!1,l=!1,d=$f(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let p=0;p<a;p++){let f=r[p];if(n.mergedAttrs=Tn(n.mergedAttrs,f.hostAttrs),SD(e,n,t,d,f),RD(d,f,o),s!==null&&s.has(f)){let[v,y]=s.get(f);n.directiveToIndex.set(f.type,[d,v+n.directiveStart,y+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;!u&&(h.ngOnChanges||h.ngOnInit||h.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),u=!0),!l&&(h.ngOnChanges||h.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),l=!0),d++}ND(e,n,i)}function ND(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let o=e.data[r];if(n===null||!n.has(o))Fd(0,t,o,r),Fd(1,t,o,r),Pd(t,r,!1);else{let i=n.get(o);kd(0,t,i,r),kd(1,t,i,r),Pd(t,r,!0)}}}function Fd(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),gp(t,i)}}function kd(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),gp(t,s)}}function gp(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function Pd(e,t,n){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!n&&o===null||n&&i===null||Bc(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 u=o[c];for(let l of u)if(l===t){s??=[],s.push(c,r[a+1]);break}}else if(n&&i.hasOwnProperty(c)){let u=i[c];for(let l=0;l<u.length;l+=2)if(u[l]===t){s??=[],s.push(u[l+1],r[a+1]);break}}a+=2}e.initialInputs??=[],e.initialInputs.push(s)}function SD(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=ut(o.type,!0)),s=new Qt(i,Le(o),de,null);e.blueprint[r]=s,n[r]=s,xD(e,t,r,$f(e,n,o.hostVars,ee),o)}function xD(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;AD(s)!=a&&s.push(a),s.push(n,r,i)}}function AD(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function RD(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Le(t)&&(n[""]=e)}}function OD(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function tu(e,t,n,r,o,i,s,a){let c=t[E],u=c.consts,l=mt(u,s),d=kn(c,e,n,r,l);return i&&hp(c,t,d,mt(u,a),o),d.mergedAttrs=Tn(d.mergedAttrs,d.attrs),d.attrs!==null&&Ei(d,d.attrs,!1),d.mergedAttrs!==null&&Ei(d,d.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,d),d}function nu(e,t){nf(e,t),ma(t)&&e.queries.elementEnd(t)}function FD(e,t,n,r,o,i){let s=t.consts,a=mt(s,o),c=kn(t,e,n,r,a);if(c.mergedAttrs=Tn(c.mergedAttrs,c.attrs),i!=null){let u=mt(s,i);c.localNames=[];for(let l=0;l<u.length;l+=2)c.localNames.push(u[l],-1)}return c.attrs!==null&&Ei(c,c.attrs,!1),c.mergedAttrs!==null&&Ei(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}function ru(e){return yp(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function mp(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{let n=e[Symbol.iterator](),r;for(;!(r=n.next()).done;)t(r.value)}}function yp(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function ou(e,t,n){return e[t]=n}function kD(e,t){return e[t]}function Ke(e,t,n){if(n===ee)return!1;let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function iu(e,t,n,r){let o=Ke(e,t,n);return Ke(e,t+1,r)||o}function vp(e,t,n,r,o){let i=iu(e,t,n,r);return Ke(e,t+2,o)||i}function Za(e,t,n){return function r(o){let i=gt(e)?ve(e.index,t):t;eu(i,5);let s=t[X],a=Ld(t,s,n,o),c=r.__ngNextListenerFn__;for(;c;)a=Ld(t,s,c,o)&&a,c=c.__ngNextListenerFn__;return a}}function Ld(e,t,n,r){let o=_(null);try{return R(6,t,n),n(r)!==!1}catch(i){return tD(e,i),!1}finally{R(7,t,n),_(o)}}function PD(e,t,n,r,o,i,s,a){let c=Dn(e),u=!1,l=null;if(!r&&c&&(l=LD(t,n,i,e.index)),l!==null){let d=l.__ngLastListenerFn__||l;d.__ngNextListenerFn__=s,l.__ngLastListenerFn__=s,u=!0}else{let d=_e(e,n),p=r?r(d):d;ky(n,p,i,a);let f=o.listen(p,i,a),h=r?v=>r(ye(v[e.index])):e.index;Dp(h,t,n,i,a,f,!1)}return u}function LD(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[yn],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function Dp(e,t,n,r,o,i,s){let a=t.firstCreatePass?ba(t):null,c=Ca(n),u=c.length;c.push(o,i),a&&a.push(r,e,u,(u+1)*(s?-1:1))}function jd(e,t,n,r,o,i){let s=t[n],a=t[E],u=a.data[n].outputs[r],d=s[u].subscribe(i);Dp(e.index,a,t,o,i,d,!0)}var Dc=Symbol("BINDING");var Ii=class extends Nr{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=ft(t);return new Sn(n,this.ngModule)}};function jD(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&Fi.SignalBased)!==0};return o&&(i.transform=o),i})}function VD(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function BD(e,t,n){let r=t instanceof ue?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new vc(n,r):n}function HD(e){let t=e.get(wr,null);if(t===null)throw new D(407,!1);let n=e.get(pp,null),r=e.get(Ie,null);return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r,ngReflect:!1}}function $D(e,t){let n=Ep(e);return jf(t,n,n==="svg"?ya:n==="math"?Gl:null)}function Ep(e){return(e.selectors[0][0]||"div").toLowerCase()}var Sn=class extends ji{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=jD(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=VD(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=Dv(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o,i,s){R(22);let a=_(null);try{let c=this.componentDef,u=UD(r,c,s,i),l=BD(c,o||this.ngModule,t),d=HD(l),p=d.rendererFactory.createRenderer(null,c),f=r?Uv(p,r,c.encapsulation,l):$D(c,p),h=s?.some(Vd)||i?.some(g=>typeof g!="function"&&g.bindings.some(Vd)),v=$c(null,u,null,512|Hf(c),null,null,d,p,l,null,Cf(f,l,!0));v[V]=f,Xo(v);let y=null;try{let g=tu(V,v,2,"#host",()=>u.directiveRegistry,!0,0);f&&(Bf(p,f,g),Mn(f,v)),Pi(u,v,g),Lc(u,g,v),nu(u,g),n!==void 0&&GD(g,this.ngContentSelectors,n),y=ve(g.index,v),v[X]=y[X],Jc(u,v,null)}catch(g){throw y!==null&&ic(y),ic(v),g}finally{R(23),ei()}return new wi(this.componentType,v,!!h)}finally{_(a)}}};function UD(e,t,n,r){let o=e?["ng-version","20.2.1"]:Ev(t.selectors[0]),i=null,s=null,a=0;if(n)for(let l of n)a+=l[Dc].requiredVars,l.create&&(l.targetIdx=0,(i??=[]).push(l)),l.update&&(l.targetIdx=0,(s??=[]).push(l));if(r)for(let l=0;l<r.length;l++){let d=r[l];if(typeof d!="function")for(let p of d.bindings){a+=p[Dc].requiredVars;let f=l+1;p.create&&(p.targetIdx=f,(i??=[]).push(p)),p.update&&(p.targetIdx=f,(s??=[]).push(p))}}let c=[t];if(r)for(let l of r){let d=typeof l=="function"?l:l.type,p=ua(d);c.push(p)}return Hc(0,null,zD(i,s),1,a,c,null,null,null,[o],null)}function zD(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 Vd(e){let t=e[Dc].kind;return t==="input"||t==="twoWay"}var wi=class extends dp{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=Go(n[E],V),this.location=Rn(this._tNode,n),this.instance=ve(this._tNode.index,n)[X],this.hostView=this.changeDetectorRef=new Et(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=Kc(r,o[E],o,t,n);this.previousInputValues.set(t,n);let s=ve(r.index,o);eu(s,1)}get injector(){return new Yt(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function GD(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 Xt=(()=>{class e{static __NG_ELEMENT_ID__=WD}return e})();function WD(){let e=W();return wp(e,M())}var qD=Xt,Ip=class extends qD{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Rn(this._hostTNode,this._hostLView)}get injector(){return new Yt(this._hostTNode,this._hostLView)}get parentInjector(){let t=Oc(this._hostTNode,this._hostLView);if(sf(t)){let n=hi(t,this._hostLView),r=pi(t),o=n[E].data[r+8];return new Yt(o,n)}else return new Yt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=Bd(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-se}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=mc(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,pc(this._hostTNode,s)),a}createComponent(t,n,r,o,i,s,a){let c=t&&!ty(t),u;if(c)u=n;else{let y=n||{};u=y.index,r=y.injector,o=y.projectableNodes,i=y.environmentInjector||y.ngModuleRef,s=y.directives,a=y.bindings}let l=c?t:new Sn(ft(t)),d=r||this.parentInjector;if(!i&&l.ngModule==null){let g=(c?d:this.parentInjector).get(ue,null);g&&(i=g)}let p=ft(l.componentType??{}),f=mc(this._lContainer,p?.id??null),h=f?.firstChild??null,v=l.create(d,o,h,i,s,a);return this.insertImpl(v.hostView,u,pc(this._hostTNode,f)),v}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(ql(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[q],u=new Ip(c,c[ie],c[q]);u.detach(u.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return up(s,o,i,r),t.attachToViewContainerRef(),ia(Ya(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Bd(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=gc(this._lContainer,n);r&&(or(Ya(this._lContainer),n),Gf(r[E],r))}detach(t){let n=this._adjustIndex(t,-1),r=gc(this._lContainer,n);return r&&or(Ya(this._lContainer),n)!=null?new Et(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Bd(e){return e[cr]}function Ya(e){return e[cr]||(e[cr]=[])}function wp(e,t){let n,r=t[e.index];return be(r)?n=r:(n=cp(r,t,null,e),t[e.index]=n,Uc(t,n)),YD(n,t,e,r),new Ip(n,e,t)}function ZD(e,t){let n=e[P],r=n.createComment(""),o=_e(t,e),i=n.parentNode(o);return Di(n,i,r,n.nextSibling(o),!1),r}var YD=JD,QD=()=>!1;function KD(e,t,n){return QD(e,t,n)}function JD(e,t,n,r){if(e[ht])return;let o;n.type&8?o=ye(r):o=ZD(t,n),e[ht]=o}var Ec=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},Ic=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++)su(t,n).matches!==null&&this.queries[n].setDirty()}},Ci=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}},wc=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)}},Cc=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,XD(n,i)),this.matchTNodeWithReadOption(t,n,li(n,t,i,!1,!1))}else r===It?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,li(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===On||o===Xt||o===It&&n.type&4)this.addMatch(n.index,-2);else{let i=li(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 XD(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 eE(e,t){return e.type&11?Rn(e,t):e.type&4?Li(e,t):null}function tE(e,t,n,r){return n===-1?eE(t,e):n===-2?nE(e,t,r):Dr(e,e[E],n,t)}function nE(e,t,n){if(n===On)return Rn(t,e);if(n===It)return Li(t,e);if(n===Xt)return wp(t,e)}function Cp(e,t,n,r){let o=t[ke].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 u=s[c];if(u<0)a.push(null);else{let l=i[u];a.push(tE(t,l,s[c+1],n.metadata.read))}}o.matches=a}return o.matches}function bc(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=Cp(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 u=i[a+1],l=t[-c];for(let d=se;d<l.length;d++){let p=l[d];p[pt]===p[q]&&bc(p[E],p,u,r)}if(l[zt]!==null){let d=l[zt];for(let p=0;p<d.length;p++){let f=d[p];bc(f[E],f,u,r)}}}}}return r}function rE(e,t){return e[ke].queries[t].queryList}function bp(e,t,n){let r=new yi((n&4)===4);return Ql(e,t,r,r.destroy),(t[ke]??=new Ic).queries.push(new Ec(r))-1}function oE(e,t,n){let r=$();return r.firstCreatePass&&(_p(r,new Ci(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),bp(r,M(),t)}function iE(e,t,n,r){let o=$();if(o.firstCreatePass){let i=W();_p(o,new Ci(t,n,r),i.index),aE(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return bp(o,M(),n)}function sE(e){return e.split(",").map(t=>t.trim())}function _p(e,t,n){e.queries===null&&(e.queries=new wc),e.queries.track(new Cc(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 su(e,t){return e.queries.getByIndex(t)}function cE(e,t){let n=e[E],r=su(n,t);return r.crossesNgTemplate?bc(n,e,t,[]):Cp(n,e,r,t)}var Hd=new Set;function Vi(e){Hd.has(e)||(Hd.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var Kt=class{},Tp=class{};var bi=class extends Kt{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new Ii(this);constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=ca(t);this._bootstrapComponents=kf(i.bootstrap),this._r3Injector=ja(t,n,[{provide:Kt,useValue:this},{provide:Nr,useValue:this.componentFactoryResolver},...r],We(t),new Set(["environment"])),o&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},_i=class extends Tp{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new bi(this.moduleType,t,[])}};var Cr=class extends Kt{injector;componentFactoryResolver=new Ii(this);instance=null;constructor(t){super();let n=new Pt([...t.providers,{provide:Kt,useValue:this},{provide:Nr,useValue:this.componentFactoryResolver}],t.parent||sr(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Mp(e,t,n=null){return new Cr({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var uE=(()=>{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=la(!1,n.type),o=r.length>0?Mp([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=x({token:e,providedIn:"environment",factory:()=>new e(L(ue))})}return e})();function lE(e){return An(()=>{let t=Np(e),n=Z(H({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===kc.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(uE).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Nn.Emulated,styles:e.styles||oe,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&Vi("NgStandalone"),Sp(n);let r=e.dependencies;return n.directiveDefs=$d(r,dE),n.pipeDefs=$d(r,jl),n.id=hE(n),n})}function dE(e){return ft(e)||ua(e)}function Bi(e){return An(()=>({type:e.type,bootstrap:e.bootstrap||oe,declarations:e.declarations||oe,imports:e.imports||oe,exports:e.exports||oe,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function fE(e,t){if(e==null)return dt;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a,c;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i,c=o[3]||null):(i=o,s=o,a=Fi.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function pE(e){if(e==null)return dt;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function Hi(e){return An(()=>{let t=Np(e);return Sp(t),t})}function $i(e){return{type:e.type,name:e.name,factory:null,pure:e.pure!==!1,standalone:e.standalone??!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function Np(e){let t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputConfig:e.inputs||dt,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||oe,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,inputs:fE(e.inputs,t),outputs:pE(e.outputs),debugInfo:null}}function Sp(e){e.features?.forEach(t=>t(e))}function $d(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 hE(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 gE(e){return Object.getPrototypeOf(e.prototype).constructor}function xp(e){let t=gE(e.type),n=!0,r=[e];for(;t;){let o;if(Le(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new D(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=Qa(e.inputs),s.declaredInputs=Qa(e.declaredInputs),s.outputs=Qa(e.outputs);let a=o.hostBindings;a&&EE(e,a);let c=o.viewQuery,u=o.contentQueries;if(c&&vE(e,c),u&&DE(e,u),mE(e,o),Sl(e.outputs,o.outputs),Le(o)&&o.data.animation){let l=e.data;l.animation=(l.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s<i.length;s++){let a=i[s];a&&a.ngInherit&&a(e),a===xp&&(n=!1)}}t=Object.getPrototypeOf(t)}yE(r)}function mE(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 yE(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=Tn(o.hostAttrs,n=Tn(n,o.hostAttrs))}}function Qa(e){return e===dt?{}:e===oe?[]:e}function vE(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function DE(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function EE(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function Ap(e,t,n,r,o,i,s,a){if(n.firstCreatePass){e.mergedAttrs=Tn(e.mergedAttrs,e.attrs);let l=e.tView=Hc(2,e,o,i,s,n.directiveRegistry,n.pipeRegistry,null,n.schemas,n.consts,null);n.queries!==null&&(n.queries.template(n,e),l.queries=n.queries.embeddedTView(e))}a&&(e.flags|=a),In(e,!1);let c=CE(n,t,e,r);ni()&&Wc(n,t,c,e),Mn(c,t);let u=cp(c,t,c,e);t[r+V]=u,Uc(t,u),KD(u,e,t)}function IE(e,t,n,r,o,i,s,a,c,u,l){let d=n+V,p;return t.firstCreatePass?(p=kn(t,d,4,s||null,a||null),Yo()&&hp(t,e,p,mt(t.consts,u),Zc),nf(t,p)):p=t.data[d],Ap(p,e,t,n,r,o,i,c),Dn(p)&&Pi(t,e,p),u!=null&&Mr(e,p,l),p}function wE(e,t,n,r,o,i,s,a,c,u,l){let d=n+V,p;if(t.firstCreatePass){if(p=kn(t,d,4,s||null,a||null),u!=null){let f=mt(t.consts,u);p.localNames=[];for(let h=0;h<f.length;h+=2)p.localNames.push(f[h],-1)}}else p=t.data[d];return Ap(p,e,t,n,r,o,i,c),u!=null&&Mr(e,p,l),p}function Rp(e,t,n,r,o,i,s,a){let c=M(),u=$(),l=mt(u.consts,i);return IE(c,u,e,t,n,r,o,l,void 0,s,a),Rp}var CE=bE;function bE(e,t,n,r){return pr(!0),t[P].createComment("")}var Ui=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(Ui||{}),Sr=new b(""),Op=!1,_c=class extends ae{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,Ul()&&(this.destroyRef=m(Ye,{optional:!0})??void 0,this.pendingTasks=m(Dt,{optional:!0})??void 0)}emit(t){let n=_(null);try{super.next(t)}finally{_(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 j&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{t(n)}finally{r!==void 0&&this.pendingTasks?.remove(r)}})}}},Qe=_c;function Fp(e){let t,n;function r(){e=qt;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 Ud(e){return queueMicrotask(()=>e()),()=>{e=qt}}var au="isAngularZone",Ti=au+"_ID",_E=0,Q=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Qe(!1);onMicrotaskEmpty=new Qe(!1);onStable=new Qe(!1);onError=new Qe(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=Op}=t;if(typeof Zone>"u")throw new D(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,NE(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(au)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new D(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new D(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,TE,qt,qt);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)}},TE={};function cu(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 ME(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){Fp(()=>{e.callbackScheduled=!1,Tc(e),e.isCheckStableRunning=!0,cu(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Tc(e)}function NE(e){let t=()=>{ME(e)},n=_E++;e._inner=e._inner.fork({name:"angular",properties:{[au]:!0,[Ti]:n,[Ti+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(SE(c))return r.invokeTask(i,s,a,c);try{return zd(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Gd(e)}},onInvoke:(r,o,i,s,a,c,u)=>{try{return zd(e),r.invoke(i,s,a,c,u)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!xE(c)&&t(),Gd(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Tc(e),cu(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 Tc(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function zd(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Gd(e){e._nesting--,cu(e)}var Mi=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Qe;onMicrotaskEmpty=new Qe;onStable=new Qe;onError=new Qe;run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}};function SE(e){return kp(e,"__ignore_ng_zone__")}function xE(e){return kp(e,"__scheduler_tick__")}function kp(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var uu=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=x({token:e,providedIn:"root",factory:()=>new e})}return e})(),Pp=[0,1,2,3],Lp=(()=>{class e{ngZone=m(Q);scheduler=m(Ie);errorHandler=m(qe,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){m(Sr,{optional:!0})}execute(){let n=this.sequences.size>0;n&&R(16),this.executing=!0;for(let r of Pp)for(let o of this.sequences)if(!(o.erroredOrDestroyed||!o.hooks[r]))try{o.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let i=o.hooks[r];return i(o.pipelinedValue)},o.snapshot))}catch(i){o.erroredOrDestroyed=!0,this.errorHandler?.handleError(i)}this.executing=!1;for(let r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(let r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),n&&R(17)}register(n){let{view:r}=n;r!==void 0?((r[Ut]??=[]).push(n),yt(r),r[I]|=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(Ui.AFTER_NEXT_RENDER,n):n()}static \u0275prov=x({token:e,providedIn:"root",factory:()=>new e})}return e})(),Ni=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?.[Ut];t&&(this.view[Ut]=t.filter(n=>n!==this))}};function AE(e,t){let n=t?.injector??m(Re);return Vi("NgAfterNextRender"),OE(e,n,t,!0)}function RE(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function OE(e,t,n,r){let o=t.get(uu);o.impl??=t.get(Lp);let i=t.get(Sr,null,{optional:!0}),s=n?.manualCleanup!==!0?t.get(Ye):null,a=t.get(Cn,null,{optional:!0}),c=new Ni(o.impl,RE(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var FE=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();var jp=new b("");function zi(e){return!!e&&typeof e.then=="function"}function lu(e){return!!e&&typeof e.subscribe=="function"}var Vp=new b("");var du=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=m(Vp,{optional:!0})??[];injector=m(Re);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=gn(this.injector,o);if(zi(i))n.push(i);else if(lu(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=x({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Bp=new b("");function Hp(){ms(()=>{let e="";throw new D(600,e)})}function $p(e){return e.isBoundToModule}var kE=10;var xr=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=m(Ve);afterRenderManager=m(uu);zonelessEnabled=m(hr);rootEffectScheduler=m(mr);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new ae;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=m(Dt);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(ge(n=>!n))}constructor(){m(Sr,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=m(ue);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=Re.NULL){return this._injector.get(Q).run(()=>{R(10);let s=n instanceof ji;if(!this._injector.get(du).done){let h="";throw new D(405,h)}let c;s?c=n:c=this._injector.get(Nr).resolveComponentFactory(n),this.componentTypes.push(c.componentType);let u=$p(c)?void 0:this._injector.get(Kt),l=r||c.selector,d=c.create(o,[],l,u),p=d.location.nativeElement,f=d.injector.get(jp,null);return f?.registerApplication(p),d.onDestroy(()=>{this.detachView(d.hostView),vr(this.components,d),f?.unregisterApplication(p)}),this._loadComponent(d),R(11,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){R(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(Ui.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new D(101,!1);let n=_(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,_(n),this.afterTick.next(),R(13)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(wr,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<kE;)R(14),this.synchronizeOnce(),R(15)}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let n=!1;if(this.dirtyFlags&7){let r=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:o}of this.allViews){if(!r&&!ur(o))continue;let i=r&&!this.zonelessEnabled?0:1;Xc(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})=>ur(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;vr(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(Bp,[]).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),()=>vr(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new D(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=x({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function vr(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function Up(e,t,n,r){let o=M(),i=dr();if(Ke(o,i,t)){let s=$(),a=ti();Jv(a,o,e,t,n,r)}return Up}var PE=new b("",{providedIn:"root",factory:()=>!1}),LE=new b("",{providedIn:"root",factory:()=>jE}),jE=4e3;var iA=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";function zp(e,t,n){let r=M(),o=dr();if(Ke(r,o,t)){let i=$(),s=ti();Kf(s,r,e,t,r[P],n)}return zp}function Mc(e,t,n,r,o){Kc(t,e,n,o?"class":"style",r)}function fu(e,t,n,r){let o=M(),i=o[E],s=e+V,a=i.firstCreatePass?tu(s,o,2,t,Zc,Yo(),n,r):i.data[s];if(Yc(a,o,e,t,qp),Dn(a)){let c=o[E];Pi(c,o,a),Lc(c,a,o)}return r!=null&&Mr(o,a),fu}function pu(){let e=$(),t=W(),n=Qc(t);return e.firstCreatePass&&nu(e,n),Ma(n)&&Na(),_a(),n.classesWithoutHost!=null&&ay(n)&&Mc(e,n,M(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&cy(n)&&Mc(e,n,M(),n.stylesWithoutHost,!1),pu}function Gp(e,t,n,r){return fu(e,t,n,r),pu(),Gp}function hu(e,t,n,r){let o=M(),i=o[E],s=e+V,a=i.firstCreatePass?FD(s,i,2,t,n,r):i.data[s];return Yc(a,o,e,t,qp),r!=null&&Mr(o,a),hu}function gu(){let e=W(),t=Qc(e);return Ma(t)&&Na(),_a(),gu}function Wp(e,t,n,r){return hu(e,t,n,r),gu(),Wp}var qp=(e,t,n,r,o)=>(pr(!0),jf(t[P],r,hd()));function Zp(e,t,n){let r=M(),o=r[E],i=e+V,s=o.firstCreatePass?tu(i,r,8,"ng-container",Zc,Yo(),t,n):o.data[i];if(Yc(s,r,e,"ng-container",VE),Dn(s)){let a=r[E];Pi(a,r,s),Lc(a,s,r)}return n!=null&&Mr(r,s),Zp}function Yp(){let e=$(),t=W(),n=Qc(t);return e.firstCreatePass&&nu(e,n),Yp}var VE=(e,t,n,r,o)=>(pr(!0),Cv(t[P],""));function BE(){return M()}var Zt=void 0;function HE(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var $E=["en",[["a","p"],["AM","PM"],Zt],[["AM","PM"],Zt,Zt],[["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"]],Zt,[["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"]],Zt,[["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}",Zt,"{1} 'at' {0}",Zt],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",HE],Ka={};function he(e){let t=UE(e),n=Wd(t);if(n)return n;let r=t.split("-")[0];if(n=Wd(r),n)return n;if(r==="en")return $E;throw new D(701,!1)}function Wd(e){return e in Ka||(Ka[e]=Oe.ng&&Oe.ng.common&&Oe.ng.common.locales&&Oe.ng.common.locales[e]),Ka[e]}var B=(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})(B||{});function UE(e){return e.toLowerCase().replace(/_/g,"-")}var Ar="en-US";var zE=Ar;function Qp(e){typeof e=="string"&&(zE=e.toLowerCase().replace(/_/g,"-"))}function Kp(e,t,n){let r=M(),o=$(),i=W();return Jp(o,r,r[P],i,e,t,n),Kp}function Jp(e,t,n,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=Za(r,t,i),PD(r,e,t,s,n,o,i,c)&&(a=!1)),a){let u=r.outputs?.[o],l=r.hostDirectiveOutputs?.[o];if(l&&l.length)for(let d=0;d<l.length;d+=2){let p=l[d],f=l[d+1];c??=Za(r,t,i),jd(r,t,p,f,o,c)}if(u&&u.length)for(let d of u)c??=Za(r,t,i),jd(r,t,d,o,o,c)}}function GE(e=1){return dd(e)}function WE(e,t){let n=null,r=hv(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?Lf(e,i,!0):yv(r,i))return o}return n}function qE(e){let t=M()[le][ie];if(!t.projection){let n=e?e.length:1,r=t.projection=Pl(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?WE(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function ZE(e,t=0,n,r,o,i){let s=M(),a=$(),c=r?e+1:null;c!==null&&wE(s,a,c,r,o,i,null,n);let u=kn(a,V+e,16,null,n||null);u.projection===null&&(u.projection=t),Aa();let d=!s[mn]||Ta();s[le][ie].projection[u.projection]===null&&c!==null?YE(s,a,c):d&&!Ai(u)&&Bv(a,s,u)}function YE(e,t,n){let r=V+n,o=t.data[r],i=e[r],s=mc(i,o.tView.ssrId),a=Jf(e,o,void 0,{dehydratedView:s});up(i,a,0,pc(o,s))}function QE(e,t,n,r){iE(e,t,n,r)}function KE(e,t,n){oE(e,t,n)}function JE(e){let t=M(),n=$(),r=ka();Jo(r+1);let o=su(n,r);if(e.dirty&&Wl(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=cE(t,r);e.reset(i,wy),e.notifyOnChanges()}return!0}return!1}function XE(){return rE(M(),ka())}function eI(e){let t=nd();return Wo(t,V+e)}function ai(e,t){return e<<17|t<<2}function Jt(e){return e>>17&32767}function tI(e){return(e&2)==2}function nI(e,t){return e&131071|t<<17}function Nc(e){return e|2}function xn(e){return(e&131068)>>2}function Ja(e,t){return e&-131069|t<<2}function rI(e){return(e&1)===1}function Sc(e){return e|1}function oI(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=Jt(s),c=xn(s);e[r]=n;let u=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||hn(d,l)>0)&&(u=!0)}else l=n;if(o)if(c!==0){let p=Jt(e[a+1]);e[r+1]=ai(p,a),p!==0&&(e[p+1]=Ja(e[p+1],r)),e[a+1]=nI(e[a+1],r)}else e[r+1]=ai(a,0),a!==0&&(e[a+1]=Ja(e[a+1],r)),a=r;else e[r+1]=ai(c,0),a===0?a=r:e[c+1]=Ja(e[c+1],r),c=r;u&&(e[r+1]=Nc(e[r+1])),qd(e,l,r,!0),qd(e,l,r,!1),iI(t,l,e,r,i),s=ai(a,c),i?t.classBindings=s:t.styleBindings=s}function iI(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&hn(i,t)>=0&&(n[r+1]=Sc(n[r+1]))}function qd(e,t,n,r){let o=e[n+1],i=t===null,s=r?Jt(o):xn(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],u=e[s+1];sI(c,t)&&(a=!0,e[s+1]=r?Sc(u):Nc(u)),s=r?Jt(u):xn(u)}a&&(e[n+1]=r?Nc(o):Sc(o))}function sI(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?hn(e,t)>=0:!1}var Me={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function aI(e){return e.substring(Me.key,Me.keyEnd)}function cI(e){return uI(e),Xp(e,eh(e,0,Me.textEnd))}function Xp(e,t){let n=Me.textEnd;return n===t?-1:(t=Me.keyEnd=lI(e,Me.key=t,n),eh(e,t,n))}function uI(e){Me.key=0,Me.keyEnd=0,Me.value=0,Me.valueEnd=0,Me.textEnd=e.length}function eh(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function lI(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function th(e,t,n){return rh(e,t,n,!1),th}function nh(e,t){return rh(e,t,null,!0),nh}function dI(e){pI(DI,fI,e,!0)}function fI(e,t){for(let n=cI(t);n>=0;n=Xp(t,n))$o(e,aI(t),!0)}function rh(e,t,n,r){let o=M(),i=$(),s=fr(2);if(i.firstUpdatePass&&ih(i,e,s,r),t!==ee&&Ke(o,s,t)){let a=i.data[je()];sh(i,a,o,o[P],e,o[s+1]=II(t,n),r,s)}}function pI(e,t,n,r){let o=$(),i=fr(2);o.firstUpdatePass&&ih(o,null,i,r);let s=M();if(n!==ee&&Ke(s,i,n)){let a=o.data[je()];if(ah(a,r)&&!oh(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=Po(c,n||"")),Mc(o,a,s,n,r)}else EI(o,a,s,s[P],s[i+1],s[i+1]=vI(e,t,n),r,i)}}function oh(e,t){return t>=e.expandoStartIndex}function ih(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[je()],s=oh(e,n);ah(i,r)&&t===null&&!s&&(t=!1),t=hI(o,i,t,r),oI(o,i,t,n,s,r)}}function hI(e,t,n,r){let o=ad(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=Xa(null,e,t,n,r),n=br(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=Xa(o,e,t,n,r),i===null){let c=gI(e,t,r);c!==void 0&&Array.isArray(c)&&(c=Xa(null,e,t,c[1],r),c=br(c,t.attrs,r),mI(e,t,r,c))}else i=yI(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function gI(e,t,n){let r=n?t.classBindings:t.styleBindings;if(xn(r)!==0)return e[Jt(r)]}function mI(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[Jt(o)]=r}function yI(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=br(r,s,n)}return br(r,t.attrs,n)}function Xa(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=br(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function br(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]),$o(e,s,n?!0:t[++i]))}return e===void 0?null:e}function vI(e,t,n){if(n==null||n==="")return oe;let r=[],o=Fn(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 DI(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&$o(e,r,n)}function EI(e,t,n,r,o,i,s,a){o===ee&&(o=oe);let c=0,u=0,l=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;l!==null||d!==null;){let p=c<o.length?o[c+1]:void 0,f=u<i.length?i[u+1]:void 0,h=null,v;l===d?(c+=2,u+=2,p!==f&&(h=d,v=f)):d===null||l!==null&&l<d?(c+=2,h=l):(u+=2,h=d,v=f),h!==null&&sh(e,t,n,r,h,v,s,a),l=c<o.length?o[c]:null,d=u<i.length?i[u]:null}}function sh(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,u=c[a+1],l=rI(u)?Zd(c,t,n,o,xn(u),s):void 0;if(!Si(l)){Si(i)||tI(u)&&(i=Zd(c,null,n,o,a,s));let d=va(je(),n);$v(r,s,d,o,i)}}function Zd(e,t,n,r,o,i){let s=t===null,a;for(;o>0;){let c=e[o],u=Array.isArray(c),l=u?c[1]:c,d=l===null,p=n[o+1];p===ee&&(p=d?oe:void 0);let f=d?Uo(p,r):l===r?p:void 0;if(u&&!Si(f)&&(f=Uo(c,r)),Si(f)&&(a=f,s))return a;let h=e[o+1];o=s?Jt(h):xn(h)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=Uo(c,r))}return a}function Si(e){return e!==void 0}function II(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=We(Fn(e)))),e}function ah(e,t){return(e.flags&(t?8:16))!==0}function wI(e,t=""){let n=M(),r=$(),o=e+V,i=r.firstCreatePass?kn(r,o,1,t,null):r.data[o],s=CI(r,n,i,t,e);n[o]=s,ni()&&Wc(r,n,s,i),In(i,!1)}var CI=(e,t,n,r,o)=>(pr(!0),Iv(t[P],r));function ch(e,t,n,r=""){return Ke(e,dr(),n)?t+we(n)+r:ee}function bI(e,t,n,r,o,i=""){let s=Fa(),a=iu(e,s,n,o);return fr(2),a?t+we(n)+r+we(o)+i:ee}function _I(e,t,n,r,o,i,s,a=""){let c=Fa(),u=vp(e,c,n,o,s);return fr(3),u?t+we(n)+r+we(o)+i+we(s)+a:ee}function uh(e){return mu("",e),uh}function mu(e,t,n){let r=M(),o=ch(r,e,t,n);return o!==ee&&yu(r,je(),o),mu}function lh(e,t,n,r,o){let i=M(),s=bI(i,e,t,n,r,o);return s!==ee&&yu(i,je(),s),lh}function dh(e,t,n,r,o,i,s){let a=M(),c=_I(a,e,t,n,r,o,i,s);return c!==ee&&yu(a,je(),c),dh}function yu(e,t,n){let r=va(t,e);wv(e[P],r,n)}function fh(e,t,n){$a(t)&&(t=t());let r=M(),o=dr();if(Ke(r,o,t)){let i=$(),s=ti();Kf(s,r,e,t,r[P],n)}return fh}function TI(e,t){let n=$a(e);return n&&e.set(t),n}function ph(e,t){let n=M(),r=$(),o=W();return Jp(r,n,n[P],o,e,t),ph}function MI(e,t,n=""){return ch(M(),e,t,n)}function NI(e,t,n){let r=$();if(r.firstCreatePass){let o=Le(e);xc(n,r.data,r.blueprint,o,!0),xc(t,r.data,r.blueprint,o,!1)}}function xc(e,t,n,r,o){if(e=Y(e),Array.isArray(e))for(let i=0;i<e.length;i++)xc(e[i],t,n,r,o);else{let i=$(),s=M(),a=W(),c=kt(e)?e:Y(e.provide),u=pa(e),l=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(kt(e)||!e.multi){let f=new Qt(u,o,de,null),h=tc(c,t,o?l:l+p,d);h===-1?(rc(mi(a,s),i,c),ec(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=tc(c,t,l+p,d),h=tc(c,t,l,l+p),v=f>=0&&n[f],y=h>=0&&n[h];if(o&&!y||!o&&!v){rc(mi(a,s),i,c);let g=AI(o?xI:SI,n.length,o,r,u,e);!o&&y&&(n[h].providerFactory=g),ec(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(g),s.push(g)}else{let g=hh(n[o?h:f],u,!o&&r);ec(i,e,f>-1?f:h,g)}!o&&r&&y&&n[h].componentProviders++}}}function ec(e,t,n,r){let o=kt(t),i=$l(t);if(o||i){let c=(i?Y(t.useClass):t).prototype.ngOnDestroy;if(c){let u=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let l=u.indexOf(n);l===-1?u.push(n,[r,c]):u[l+1].push(r,c)}else u.push(n,c)}}}function hh(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function tc(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function SI(e,t,n,r,o){return Ac(this.multi,[])}function xI(e,t,n,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=Dr(r,r[E],this.providerFactory.index,o);s=c.slice(0,a),Ac(i,s);for(let u=a;u<c.length;u++)s.push(c[u])}else s=[],Ac(i,s);return s}function Ac(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function AI(e,t,n,r,o,i){let s=new Qt(e,n,de,null);return s.multi=[],s.index=t,s.componentProviders=0,hh(s,o,r&&!n),s}function RI(e,t=[]){return n=>{n.providersResolver=(r,o)=>NI(r,o?o(e):e,t)}}function OI(e,t,n){let r=Qo()+e,o=M();return o[r]===ee?ou(o,r,n?t.call(n):t()):kD(o,r)}function gh(e,t){let n=e[t];return n===ee?void 0:n}function FI(e,t,n,r,o,i,s){let a=t+n;return iu(e,a,o,i)?ou(e,a+2,s?r.call(s,o,i):r(o,i)):gh(e,a+2)}function kI(e,t,n,r,o,i,s,a){let c=t+n;return vp(e,c,o,i,s)?ou(e,c+3,a?r.call(a,o,i,s):r(o,i,s)):gh(e,c+3)}function PI(e,t){let n=$(),r,o=e+V;n.firstCreatePass?(r=LI(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=ut(r.type,!0)),s,a=re(de);try{let c=gi(!1),u=i();return gi(c),Da(n,M(),o,u),u}finally{re(a)}}function LI(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function jI(e,t,n,r){let o=e+V,i=M(),s=Wo(i,o);return mh(i,o)?FI(i,Qo(),t,s.transform,n,r,s):s.transform(n,r)}function VI(e,t,n,r,o){let i=e+V,s=M(),a=Wo(s,i);return mh(s,i)?kI(s,Qo(),t,a.transform,n,r,o,a):a.transform(n,r,o)}function mh(e,t){return e[E].data[t].pure}function BI(e,t){return Li(e,t)}var xi=class{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},HI=(()=>{class e{compileModuleSync(n){return new _i(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=ca(n),i=kf(o.declarations).reduce((s,a)=>{let c=ft(a);return c&&s.push(new Sn(c)),s},[]);return new xi(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var $I=(()=>{class e{zone=m(Q);changeDetectionScheduler=m(Ie);applicationRef=m(xr);applicationErrorHandler=m(Ve);_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=x({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),yh=new b("",{factory:()=>!1});function vu({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new Q(Z(H({},Du()),{scheduleInRootZone:n})),[{provide:Q,useFactory:e},{provide:Vt,multi:!0,useFactory:()=>{let r=m($I,{optional:!0});return()=>r.initialize()}},{provide:Vt,multi:!0,useFactory:()=>{let r=m(zI);return()=>{r.initialize()}}},t===!0?{provide:Ua,useValue:!0}:[],{provide:za,useValue:n??Op},{provide:Ve,useFactory:()=>{let r=m(Q),o=m(ue),i;return s=>{r.runOutsideAngular(()=>{o.destroyed&&!i?setTimeout(()=>{throw s}):(i??=o.get(qe),i.handleError(s))})}}}]}function UI(e){let t=e?.ignoreChangesOutsideZone,n=e?.scheduleInRootZone,r=vu({ngZoneFactory:()=>{let o=Du(e);return o.scheduleInRootZone=n,o.shouldCoalesceEventChangeDetection&&Vi("NgZone_CoalesceEvent"),new Q(o)},ignoreChangesOutsideZone:t,scheduleInRootZone:n});return ir([{provide:yh,useValue:!0},{provide:hr,useValue:!1},r])}function Du(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var zI=(()=>{class e{subscription=new j;initialized=!1;zone=m(Q);pendingTasks=m(Dt);initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{Q.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Q.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var vh=(()=>{class e{applicationErrorHandler=m(Ve);appRef=m(xr);taskService=m(Dt);ngZone=m(Q);zonelessEnabled=m(hr);tracing=m(Sr,{optional:!0});disableScheduling=m(Ua,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new j;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Ti):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(m(za,{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 Mi||!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?Ud:Fp;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(Ti+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,Ud(()=>{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=x({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function GI(){return typeof $localize<"u"&&$localize.locale||Ar}var Rr=new b("",{providedIn:"root",factory:()=>m(Rr,{optional:!0,skipSelf:!0})||GI()});function Dh(e){return Tl(e)}function WI(e,t){return Kr(e,t?.equal)}var Eu=class{[J];constructor(t){this[J]=t}destroy(){this[J].destroy()}};function qI(e,t){let n=t?.injector??m(Re),r=t?.manualCleanup!==!0?n.get(Ye):null,o,i=n.get(Cn,null,{optional:!0}),s=n.get(Ie);return i!==null?(o=QI(i.view,s,e),r instanceof tr&&r._lView===i.view&&(r=null)):o=KI(e,n.get(mr),s),o.injector=n,r!==null&&(o.onDestroyFn=r.onDestroy(()=>o.destroy())),new Eu(o)}var Eh=Z(H({},rt),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,kind:"effect",onDestroyFn:qt,run(){if(this.dirty=!1,this.hasRun&&!rn(this))return;this.hasRun=!0;let e=r=>(this.cleanupFns??=[]).push(r),t=ot(this),n=wn(!1);try{this.maybeCleanup(),this.fn(e)}finally{wn(n),bt(this,t)}},maybeCleanup(){if(!this.cleanupFns?.length)return;let e=_(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],_(e)}}}),ZI=Z(H({},Eh),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){_t(this),this.onDestroyFn(),this.maybeCleanup(),this.scheduler.remove(this)}}),YI=Z(H({},Eh),{consumerMarkedDirty(){this.view[I]|=8192,yt(this.view),this.notifier.notify(13)},destroy(){_t(this),this.onDestroyFn(),this.maybeCleanup(),this.view[Ze]?.delete(this)}});function QI(e,t,n){let r=Object.create(YI);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=n,e[Ze]??=new Set,e[Ze].add(r),r.consumerMarkedDirty(r),r}function KI(e,t,n){let r=Object.create(ZI);return r.fn=e,r.scheduler=t,r.notifier=n,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.add(r),r.notifier.notify(12),r}var _h=Symbol("InputSignalNode#UNSET"),ow=Z(H({},Jr),{transformFn:void 0,applyValueToInputSignal(e,t){sn(e,t)}});function Th(e,t){let n=Object.create(ow);n.value=e,n.transformFn=t?.transform;function r(){if(nn(n),n.value===_h){let o=null;throw new D(-950,o)}return n.value}return r[J]=n,r}var Ih=class{attributeName;constructor(t){this.attributeName=t}__NG_ELEMENT_ID__=()=>Fc(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}},iw=new b("");iw.__NG_ELEMENT_ID__=e=>{let t=W();if(t===null)throw new D(204,!1);if(t.type&2)return t.value;if(e&8)return null;throw new D(204,!1)};function wh(e,t){return Th(e,t)}function sw(e){return Th(_h,e)}var DL=(wh.required=sw,wh);var Iu=new b(""),aw=new b("");function Or(e){return!e.moduleRef}function cw(e){let t=Or(e)?e.r3Injector:e.moduleRef.injector,n=t.get(Q);return n.run(()=>{Or(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(Ve),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:r})}),Or(e)){let i=()=>t.destroy(),s=e.platformInjector.get(Iu);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(Iu);s.add(i),e.moduleRef.onDestroy(()=>{vr(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return lw(r,n,()=>{let i=t.get(Dt),s=i.add(),a=t.get(du);return a.runInitializers(),a.donePromise.then(()=>{let c=t.get(Rr,Ar);if(Qp(c||Ar),!t.get(aw,!0))return Or(e)?t.get(xr):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Or(e)){let l=t.get(xr);return e.rootComponent!==void 0&&l.bootstrap(e.rootComponent),l}else return uw?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>void i.remove(s))})})}var uw;function lw(e,t,n){try{let r=n();return zi(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e(r)),r}}var Gi=null;function dw(e=[],t){return Re.create({name:t,providers:[{provide:fa,useValue:"platform"},{provide:Iu,useValue:new Set([()=>Gi=null])},...e]})}function fw(e=[]){if(Gi)return Gi;let t=dw(e);return Gi=t,Hp(),pw(t),t}function pw(e){let t=e.get(Ef,null);gn(e,()=>{t?.forEach(n=>n())})}var hw=(()=>{class e{static __NG_ELEMENT_ID__=gw}return e})();function gw(e){return mw(W(),M(),(e&16)===16)}function mw(e,t,n){if(gt(e)&&!n){let r=ve(e.index,t);return new Et(r,r)}else if(e.type&175){let r=t[le];return new Et(r,t)}return null}var wu=class{constructor(){}supports(t){return ru(t)}create(t){return new Cu(t)}},yw=(e,t)=>t,Cu=class{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(t){this._trackByFn=t||yw}forEachItem(t){let n;for(n=this._itHead;n!==null;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){let s=!r||n&&n.currentIndex<Ch(r,o,i)?n:r,a=Ch(s,o,i),c=s.currentIndex;if(s===r)o--,r=r._nextRemoved;else if(n=n._next,s.previousIndex==null)o++;else{i||(i=[]);let u=a-o,l=c-o;if(u!=l){for(let p=0;p<u;p++){let f=p<i.length?i[p]:i[p]=0,h=f+p;l<=h&&h<u&&(i[p]=f+1)}let d=s.previousIndex;i[d]=l-u}}a!==c&&t(s,a,c)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;n!==null;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;n!==null;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;n!==null;n=n._nextIdentityChange)t(n)}diff(t){if(t==null&&(t=[]),!ru(t))throw new D(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._itHead,r=!1,o,i,s;if(Array.isArray(t)){this.length=t.length;for(let a=0;a<this.length;a++)i=t[a],s=this._trackByFn(a,i),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,i,s,a),r=!0):(r&&(n=this._verifyReinsertion(n,i,s,a)),Object.is(n.item,i)||this._addIdentityChange(n,i)),n=n._next}else o=0,mp(t,a=>{s=this._trackByFn(o,a),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,a,s,o),r=!0):(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;t!==null;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;t!==null;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return t===null?i=this._itTail:(i=t._prev,this._remove(t)),t=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):(t=this._linkedRecords===null?null:this._linkedRecords.get(r,o),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new bu(n,r),i,o)),t}_verifyReinsertion(t,n,r,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return i!==null?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;t!==null;){let n=t._next;this._addToRemovals(this._unlink(t)),t=n}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(t);let o=t._prevRemoved,i=t._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail===null?this._additionsTail=this._additionsHead=t:this._additionsTail=this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){let o=n===null?this._itHead:n._next;return t._next=o,t._prev=n,o===null?this._itTail=t:o._prev=t,n===null?this._itHead=t:n._next=t,this._linkedRecords===null&&(this._linkedRecords=new Wi),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){this._linkedRecords!==null&&this._linkedRecords.remove(t);let n=t._prev,r=t._next;return n===null?this._itHead=r:n._next=r,r===null?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail===null?this._movesTail=this._movesHead=t:this._movesTail=this._movesTail._nextMoved=t),t}_addToRemovals(t){return this._unlinkedRecords===null&&(this._unlinkedRecords=new Wi),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=t:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=t,t}},bu=class{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(t,n){this.item=t,this.trackById=n}},_u=class{_head=null;_tail=null;add(t){this._head===null?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;r!==null;r=r._nextDup)if((n===null||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){let n=t._prevDup,r=t._nextDup;return n===null?this._head=r:n._nextDup=r,r===null?this._tail=n:r._prevDup=n,this._head===null}},Wi=class{map=new Map;put(t){let n=t.trackById,r=this.map.get(n);r||(r=new _u,this.map.set(n,r)),r.add(t)}get(t,n){let r=t,o=this.map.get(r);return o?o.get(t,n):null}remove(t){let n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function Ch(e,t,n){let r=e.previousIndex;if(r===null)return r;let o=0;return n&&r<n.length&&(o=n[r]),r+t+o}function bh(){return new Tu([new wu])}var Tu=(()=>{class e{factories;static \u0275prov=x({token:e,providedIn:"root",factory:bh});constructor(n){this.factories=n}static create(n,r){if(r!=null){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||bh()),deps:[[e,new Qd,new Yd]]}}find(n){let r=this.factories.find(o=>o.supports(n));if(r!=null)return r;throw new D(901,!1)}}return e})();function EL(e){R(8);try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=fw(r),i=[vu({}),{provide:Ie,useExisting:vh},yd,...n||[]],s=new Cr({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1});return cw({r3Injector:s.injector,platformInjector:o,rootComponent:t})}catch(t){return Promise.reject(t)}finally{R(9)}}function IL(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}var Sh=null;function qi(){return Sh}function vw(e){Sh??=e}var Nu=class{},Su=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=x({token:e,factory:()=>m(xh),providedIn:"platform"})}return e})();var xh=(()=>{class e extends Su{_location;_history;_doc=m(Wt);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return qi().getBaseHref(this._doc)}onPopState(n){let r=qi().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){let r=qi().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(n){this._location.pathname=n}pushState(n,r,o){this._history.pushState(n,r,o)}replaceState(n,r,o){this._history.replaceState(n,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}static \u0275fac=function(r){return new(r||e)};static \u0275prov=x({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function Ah(e,t){return e?t?e.endsWith("/")?t.startsWith("/")?e+t.slice(1):e+t:t.startsWith("/")?e+t:`${e}/${t}`:e:t}function Mh(e){let t=e.search(/#|\?|$/);return e[t-1]==="/"?e.slice(0,t-1)+e.slice(t):e}function wt(e){return e&&e[0]!=="?"?`?${e}`:e}var Zi=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=x({token:e,factory:()=>m(Oh),providedIn:"root"})}return e})(),Rh=new b(""),Oh=(()=>{class e extends Zi{_platformLocation;_baseHref;_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??m(Wt).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return Ah(this._baseHref,n)}path(n=!1){let r=this._platformLocation.pathname+wt(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+wt(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+wt(i));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static \u0275fac=function(r){return new(r||e)(L(Su),L(Rh,8))};static \u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Fh=(()=>{class e{_subject=new ae;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(n){this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=Iw(Mh(Nh(r))),this._locationStrategy.onPopState(o=>{this._subject.next({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+wt(r))}normalize(n){return e.stripTrailingSlash(Ew(this._basePath,Nh(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",o=null){this._locationStrategy.pushState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+wt(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+wt(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(o=>o(n,r))}subscribe(n,r,o){return this._subject.subscribe({next:n,error:r??void 0,complete:o??void 0})}static normalizeQueryParams=wt;static joinWithSlash=Ah;static stripTrailingSlash=Mh;static \u0275fac=function(r){return new(r||e)(L(Zi))};static \u0275prov=x({token:e,factory:()=>Dw(),providedIn:"root"})}return e})();function Dw(){return new Fh(L(Zi))}function Ew(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function Nh(e){return e.replace(/\/index.html$/,"")}function Iw(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}var te=(function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e})(te||{}),O=(function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e})(O||{}),fe=(function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e})(fe||{}),et={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function jh(e){return he(e)[B.LocaleId]}function Vh(e,t,n){let r=he(e),o=[r[B.DayPeriodsFormat],r[B.DayPeriodsStandalone]],i=De(o,t);return De(i,n)}function Bh(e,t,n){let r=he(e),o=[r[B.DaysFormat],r[B.DaysStandalone]],i=De(o,t);return De(i,n)}function Hh(e,t,n){let r=he(e),o=[r[B.MonthsFormat],r[B.MonthsStandalone]],i=De(o,t);return De(i,n)}function $h(e,t){let r=he(e)[B.Eras];return De(r,t)}function Fr(e,t){let n=he(e);return De(n[B.DateFormat],t)}function kr(e,t){let n=he(e);return De(n[B.TimeFormat],t)}function Pr(e,t){let r=he(e)[B.DateTimeFormat];return De(r,t)}function Lr(e,t){let n=he(e),r=n[B.NumberSymbols][t];if(typeof r>"u"){if(t===et.CurrencyDecimal)return n[B.NumberSymbols][et.Decimal];if(t===et.CurrencyGroup)return n[B.NumberSymbols][et.Group]}return r}function Uh(e){if(!e[B.ExtraData])throw new D(2303,!1)}function zh(e){let t=he(e);return Uh(t),(t[B.ExtraData][2]||[]).map(r=>typeof r=="string"?xu(r):[xu(r[0]),xu(r[1])])}function Gh(e,t,n){let r=he(e);Uh(r);let o=[r[B.ExtraData][0],r[B.ExtraData][1]],i=De(o,t)||[];return De(i,n)||[]}function De(e,t){for(let n=t;n>-1;n--)if(typeof e[n]<"u")return e[n];throw new D(2304,!1)}function xu(e){let[t,n]=e.split(":");return{hours:+t,minutes:+n}}var ww=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Yi={},Cw=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;function Wh(e,t,n,r){let o=Rw(e);t=Xe(n,t)||t;let s=[],a;for(;t;)if(a=Cw.exec(t),a){s=s.concat(a.slice(1));let l=s.pop();if(!l)break;t=l}else{s.push(t);break}let c=o.getTimezoneOffset();r&&(c=Zh(r,c),o=Aw(o,r));let u="";return s.forEach(l=>{let d=Sw(l);u+=d?d(o,n,c):l==="''"?"'":l.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}function es(e,t,n){let r=new Date(0);return r.setFullYear(e,t,n),r.setHours(0,0,0),r}function Xe(e,t){let n=jh(e);if(Yi[n]??={},Yi[n][t])return Yi[n][t];let r="";switch(t){case"shortDate":r=Fr(e,fe.Short);break;case"mediumDate":r=Fr(e,fe.Medium);break;case"longDate":r=Fr(e,fe.Long);break;case"fullDate":r=Fr(e,fe.Full);break;case"shortTime":r=kr(e,fe.Short);break;case"mediumTime":r=kr(e,fe.Medium);break;case"longTime":r=kr(e,fe.Long);break;case"fullTime":r=kr(e,fe.Full);break;case"short":let o=Xe(e,"shortTime"),i=Xe(e,"shortDate");r=Qi(Pr(e,fe.Short),[o,i]);break;case"medium":let s=Xe(e,"mediumTime"),a=Xe(e,"mediumDate");r=Qi(Pr(e,fe.Medium),[s,a]);break;case"long":let c=Xe(e,"longTime"),u=Xe(e,"longDate");r=Qi(Pr(e,fe.Long),[c,u]);break;case"full":let l=Xe(e,"fullTime"),d=Xe(e,"fullDate");r=Qi(Pr(e,fe.Full),[l,d]);break}return r&&(Yi[n][t]=r),r}function Qi(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(n,r){return t!=null&&r in t?t[r]:n})),e}function Ne(e,t,n="-",r,o){let i="";(e<0||o&&e<=0)&&(o?e=-e+1:(e=-e,i=n));let s=String(e);for(;s.length<t;)s="0"+s;return r&&(s=s.slice(s.length-t)),i+s}function bw(e,t){return Ne(e,3).substring(0,t)}function U(e,t,n=0,r=!1,o=!1){return function(i,s){let a=_w(e,i);if((n>0||a>-n)&&(a+=n),e===3)a===0&&n===-12&&(a=12);else if(e===6)return bw(a,t);let c=Lr(s,et.MinusSign);return Ne(a,t,c,r,o)}}function _w(e,t){switch(e){case 0:return t.getFullYear();case 1:return t.getMonth();case 2:return t.getDate();case 3:return t.getHours();case 4:return t.getMinutes();case 5:return t.getSeconds();case 6:return t.getMilliseconds();case 7:return t.getDay();default:throw new D(2301,!1)}}function F(e,t,n=te.Format,r=!1){return function(o,i){return Tw(o,i,e,t,n,r)}}function Tw(e,t,n,r,o,i){switch(n){case 2:return Hh(t,o,r)[e.getMonth()];case 1:return Bh(t,o,r)[e.getDay()];case 0:let s=e.getHours(),a=e.getMinutes();if(i){let u=zh(t),l=Gh(t,o,r),d=u.findIndex(p=>{if(Array.isArray(p)){let[f,h]=p,v=s>=f.hours&&a>=f.minutes,y=s<h.hours||s===h.hours&&a<h.minutes;if(f.hours<h.hours){if(v&&y)return!0}else if(v||y)return!0}else if(p.hours===s&&p.minutes===a)return!0;return!1});if(d!==-1)return l[d]}return Vh(t,o,r)[s<12?0:1];case 3:return $h(t,r)[e.getFullYear()<=0?0:1];default:let c=n;throw new D(2302,!1)}}function Ki(e){return function(t,n,r){let o=-1*r,i=Lr(n,et.MinusSign),s=o>0?Math.floor(o/60):Math.ceil(o/60);switch(e){case 0:return(o>=0?"+":"")+Ne(s,2,i)+Ne(Math.abs(o%60),2,i);case 1:return"GMT"+(o>=0?"+":"")+Ne(s,1,i);case 2:return"GMT"+(o>=0?"+":"")+Ne(s,2,i)+":"+Ne(Math.abs(o%60),2,i);case 3:return r===0?"Z":(o>=0?"+":"")+Ne(s,2,i)+":"+Ne(Math.abs(o%60),2,i);default:throw new D(2302,!1)}}}var Mw=0,Xi=4;function Nw(e){let t=es(e,Mw,1).getDay();return es(e,0,1+(t<=Xi?Xi:Xi+7)-t)}function qh(e){let t=e.getDay(),n=t===0?-3:Xi-t;return es(e.getFullYear(),e.getMonth(),e.getDate()+n)}function Au(e,t=!1){return function(n,r){let o;if(t){let i=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,s=n.getDate();o=1+Math.floor((s+i)/7)}else{let i=qh(n),s=Nw(i.getFullYear()),a=i.getTime()-s.getTime();o=1+Math.round(a/6048e5)}return Ne(o,e,Lr(r,et.MinusSign))}}function Ji(e,t=!1){return function(n,r){let i=qh(n).getFullYear();return Ne(i,e,Lr(r,et.MinusSign),t)}}var Ru={};function Sw(e){if(Ru[e])return Ru[e];let t;switch(e){case"G":case"GG":case"GGG":t=F(3,O.Abbreviated);break;case"GGGG":t=F(3,O.Wide);break;case"GGGGG":t=F(3,O.Narrow);break;case"y":t=U(0,1,0,!1,!0);break;case"yy":t=U(0,2,0,!0,!0);break;case"yyy":t=U(0,3,0,!1,!0);break;case"yyyy":t=U(0,4,0,!1,!0);break;case"Y":t=Ji(1);break;case"YY":t=Ji(2,!0);break;case"YYY":t=Ji(3);break;case"YYYY":t=Ji(4);break;case"M":case"L":t=U(1,1,1);break;case"MM":case"LL":t=U(1,2,1);break;case"MMM":t=F(2,O.Abbreviated);break;case"MMMM":t=F(2,O.Wide);break;case"MMMMM":t=F(2,O.Narrow);break;case"LLL":t=F(2,O.Abbreviated,te.Standalone);break;case"LLLL":t=F(2,O.Wide,te.Standalone);break;case"LLLLL":t=F(2,O.Narrow,te.Standalone);break;case"w":t=Au(1);break;case"ww":t=Au(2);break;case"W":t=Au(1,!0);break;case"d":t=U(2,1);break;case"dd":t=U(2,2);break;case"c":case"cc":t=U(7,1);break;case"ccc":t=F(1,O.Abbreviated,te.Standalone);break;case"cccc":t=F(1,O.Wide,te.Standalone);break;case"ccccc":t=F(1,O.Narrow,te.Standalone);break;case"cccccc":t=F(1,O.Short,te.Standalone);break;case"E":case"EE":case"EEE":t=F(1,O.Abbreviated);break;case"EEEE":t=F(1,O.Wide);break;case"EEEEE":t=F(1,O.Narrow);break;case"EEEEEE":t=F(1,O.Short);break;case"a":case"aa":case"aaa":t=F(0,O.Abbreviated);break;case"aaaa":t=F(0,O.Wide);break;case"aaaaa":t=F(0,O.Narrow);break;case"b":case"bb":case"bbb":t=F(0,O.Abbreviated,te.Standalone,!0);break;case"bbbb":t=F(0,O.Wide,te.Standalone,!0);break;case"bbbbb":t=F(0,O.Narrow,te.Standalone,!0);break;case"B":case"BB":case"BBB":t=F(0,O.Abbreviated,te.Format,!0);break;case"BBBB":t=F(0,O.Wide,te.Format,!0);break;case"BBBBB":t=F(0,O.Narrow,te.Format,!0);break;case"h":t=U(3,1,-12);break;case"hh":t=U(3,2,-12);break;case"H":t=U(3,1);break;case"HH":t=U(3,2);break;case"m":t=U(4,1);break;case"mm":t=U(4,2);break;case"s":t=U(5,1);break;case"ss":t=U(5,2);break;case"S":t=U(6,1);break;case"SS":t=U(6,2);break;case"SSS":t=U(6,3);break;case"Z":case"ZZ":case"ZZZ":t=Ki(0);break;case"ZZZZZ":t=Ki(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=Ki(1);break;case"OOOO":case"ZZZZ":case"zzzz":t=Ki(2);break;default:return null}return Ru[e]=t,t}function Zh(e,t){e=e.replace(/:/g,"");let n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function xw(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function Aw(e,t,n){let o=e.getTimezoneOffset(),i=Zh(t,o);return xw(e,-1*(i-o))}function Rw(e){if(kh(e))return e;if(typeof e=="number"&&!isNaN(e))return new Date(e);if(typeof e=="string"){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){let[o,i=1,s=1]=e.split("-").map(a=>+a);return es(o,i-1,s)}let n=parseFloat(e);if(!isNaN(e-n))return new Date(n);let r;if(r=e.match(ww))return Ow(r)}let t=new Date(e);if(!kh(t))throw new D(2302,!1);return t}function Ow(e){let t=new Date(0),n=0,r=0,o=e[8]?t.setUTCFullYear:t.setFullYear,i=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),r=Number(e[9]+e[11])),o.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));let s=Number(e[4]||0)-n,a=Number(e[5]||0)-r,c=Number(e[6]||0),u=Math.floor(parseFloat("0."+(e[7]||0))*1e3);return i.call(t,s,a,c,u),t}function kh(e){return e instanceof Date&&!isNaN(e.valueOf())}var ts=class{$implicit;ngForOf;index;count;constructor(t,n,r,o){this.$implicit=t,this.ngForOf=n,this.index=r,this.count=o}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},Yh=(()=>{class e{_viewContainer;_template;_differs;set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(n,r,o){this._viewContainer=n,this._template=r,this._differs=o}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let n=this._ngForOf;!this._differ&&n&&(this._differ=this._differs.find(n).create(this.ngForTrackBy))}if(this._differ){let n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){let r=this._viewContainer;n.forEachOperation((o,i,s)=>{if(o.previousIndex==null)r.createEmbeddedView(this._template,new ts(o.item,this._ngForOf,-1,-1),s===null?void 0:s);else if(s==null)r.remove(i===null?void 0:i);else if(i!==null){let a=r.get(i);r.move(a,s),Ph(a,o)}});for(let o=0,i=r.length;o<i;o++){let a=r.get(o).context;a.index=o,a.count=i,a.ngForOf=this._ngForOf}n.forEachIdentityChange(o=>{let i=r.get(o.currentIndex);Ph(i,o)})}static ngTemplateContextGuard(n,r){return!0}static \u0275fac=function(r){return new(r||e)(de(Xt),de(It),de(Tu))};static \u0275dir=Hi({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return e})();function Ph(e,t){e.context.$implicit=t.item}var Fw=(()=>{class e{_viewContainer;_context=new ns;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(n,r){this._viewContainer=n,this._thenTemplateRef=r}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){Lh(n,!1),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){Lh(n,!1),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(n,r){return!0}static \u0275fac=function(r){return new(r||e)(de(Xt),de(It))};static \u0275dir=Hi({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return e})(),ns=class{$implicit=null;ngIf=null};function Lh(e,t){if(e&&!e.createEmbeddedView)throw new D(2020,!1)}function Qh(e,t){return new D(2100,!1)}var kw="mediumDate",Kh=new b(""),Jh=new b(""),Pw=(()=>{class e{locale;defaultTimezone;defaultOptions;constructor(n,r,o){this.locale=n,this.defaultTimezone=r,this.defaultOptions=o}transform(n,r,o,i){if(n==null||n===""||n!==n)return null;try{let s=r??this.defaultOptions?.dateFormat??kw,a=o??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return Wh(n,s,i||this.locale,a)}catch(s){throw Qh(e,s.message)}}static \u0275fac=function(r){return new(r||e)(de(Rr,16),de(Kh,24),de(Jh,24))};static \u0275pipe=$i({name:"date",type:e,pure:!0})}return e})();var Lw=(()=>{class e{transform(n,r,o){if(n==null)return null;if(!(typeof n=="string"||Array.isArray(n)))throw Qh(e,n);return n.slice(r,o)}static \u0275fac=function(r){return new(r||e)};static \u0275pipe=$i({name:"slice",type:e,pure:!1})}return e})();var jw=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Bi({type:e});static \u0275inj=nr({})}return e})();function Ou(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let r=n.indexOf("="),[o,i]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}var jr=class{};var Vw="browser";function R1(e){return e===Vw}var Ln=class{},jn=class{},$e=class e{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(t){t?typeof t=="string"?this.lazyInit=()=>{this.headers=new Map,t.split(`
|
|
5
|
-
`).forEach(n=>{let r=n.indexOf(":");if(r>0){let o=n.slice(0,r),i=n.slice(r+1).trim();this.addHeaderEntry(o,i)}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((n,r)=>{this.addHeaderEntry(r,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([n,r])=>{this.setHeaderEntries(n,r)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:"a"})}set(t,n){return this.clone({name:t,value:n,op:"s"})}delete(t,n){return this.clone({name:t,value:n,op:"d"})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(n=>{this.headers.set(n,t.headers.get(n)),this.normalizedNames.set(n,t.normalizedNames.get(n))})}clone(t){let n=new e;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){let n=t.name.toLowerCase();switch(t.op){case"a":case"s":let r=t.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(t.name,n);let o=(t.op==="a"?this.headers.get(n):void 0)||[];o.push(...r),this.headers.set(n,o);break;case"d":let i=t.value;if(!i)this.headers.delete(n),this.normalizedNames.delete(n);else{let s=this.headers.get(n);if(!s)return;s=s.filter(a=>i.indexOf(a)===-1),s.length===0?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}break}}addHeaderEntry(t,n){let r=t.toLowerCase();this.maybeSetNormalizedName(t,r),this.headers.has(r)?this.headers.get(r).push(n):this.headers.set(r,[n])}setHeaderEntries(t,n){let r=(Array.isArray(n)?n:[n]).map(i=>i.toString()),o=t.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(t,o)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}};var is=class{encodeKey(t){return Xh(t)}encodeValue(t){return Xh(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}};function Bw(e,t){let n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(o=>{let i=o.indexOf("="),[s,a]=i==-1?[t.decodeKey(o),""]:[t.decodeKey(o.slice(0,i)),t.decodeValue(o.slice(i+1))],c=n.get(s)||[];c.push(a),n.set(s,c)}),n}var Hw=/%(\d[a-f0-9])/gi,$w={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Xh(e){return encodeURIComponent(e).replace(Hw,(t,n)=>$w[n]??t)}function rs(e){return`${e}`}var tt=class e{map;encoder;updates=null;cloneFrom=null;constructor(t={}){if(this.encoder=t.encoder||new is,t.fromString){if(t.fromObject)throw new D(2805,!1);this.map=Bw(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(n=>{let r=t.fromObject[n],o=Array.isArray(r)?r.map(rs):[rs(r)];this.map.set(n,o)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();let n=this.map.get(t);return n?n[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,n){return this.clone({param:t,value:n,op:"a"})}appendAll(t){let n=[];return Object.keys(t).forEach(r=>{let o=t[r];Array.isArray(o)?o.forEach(i=>{n.push({param:r,value:i,op:"a"})}):n.push({param:r,value:o,op:"a"})}),this.clone(n)}set(t,n){return this.clone({param:t,value:n,op:"s"})}delete(t,n){return this.clone({param:t,value:n,op:"d"})}toString(){return this.init(),this.keys().map(t=>{let n=this.encoder.encodeKey(t);return this.map.get(t).map(r=>n+"="+this.encoder.encodeValue(r)).join("&")}).filter(t=>t!=="").join("&")}clone(t){let n=new e({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":let n=(t.op==="a"?this.map.get(t.param):void 0)||[];n.push(rs(t.value)),this.map.set(t.param,n);break;case"d":if(t.value!==void 0){let r=this.map.get(t.param)||[],o=r.indexOf(rs(t.value));o!==-1&&r.splice(o,1),r.length>0?this.map.set(t.param,r):this.map.delete(t.param)}else{this.map.delete(t.param);break}}}),this.cloneFrom=this.updates=null)}};var ss=class{map=new Map;set(t,n){return this.map.set(t,n),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}};function Uw(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function eg(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function tg(e){return typeof Blob<"u"&&e instanceof Blob}function ng(e){return typeof FormData<"u"&&e instanceof FormData}function zw(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var Vr="Content-Type",as="Accept",ju="X-Request-URL",og="text/plain",ig="application/json",sg=`${ig}, ${og}, */*`,Pn=class e{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(t,n,r,o){this.url=n,this.method=t.toUpperCase();let i;if(Uw(this.method)||o?(this.body=r!==void 0?r:null,i=o):i=r,i){if(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,this.keepalive=!!i.keepalive,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),i.priority&&(this.priority=i.priority),i.cache&&(this.cache=i.cache),i.credentials&&(this.credentials=i.credentials),typeof i.timeout=="number"){if(i.timeout<1||!Number.isInteger(i.timeout))throw new D(2822,"");this.timeout=i.timeout}i.mode&&(this.mode=i.mode),i.redirect&&(this.redirect=i.redirect),i.integrity&&(this.integrity=i.integrity),i.referrer&&(this.referrer=i.referrer),this.transferCache=i.transferCache}if(this.headers??=new $e,this.context??=new ss,!this.params)this.params=new tt,this.urlWithParams=n;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=n;else{let a=n.indexOf("?"),c=a===-1?"?":a<n.length-1?"&":"";this.urlWithParams=n+c+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||eg(this.body)||tg(this.body)||ng(this.body)||zw(this.body)?this.body:this.body instanceof tt?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||ng(this.body)?null:tg(this.body)?this.body.type||null:eg(this.body)?null:typeof this.body=="string"?og:this.body instanceof tt?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?ig:null}clone(t={}){let n=t.method||this.method,r=t.url||this.url,o=t.responseType||this.responseType,i=t.keepalive??this.keepalive,s=t.priority||this.priority,a=t.cache||this.cache,c=t.mode||this.mode,u=t.redirect||this.redirect,l=t.credentials||this.credentials,d=t.referrer||this.referrer,p=t.integrity||this.integrity,f=t.transferCache??this.transferCache,h=t.timeout??this.timeout,v=t.body!==void 0?t.body:this.body,y=t.withCredentials??this.withCredentials,g=t.reportProgress??this.reportProgress,z=t.headers||this.headers,Se=t.params||this.params,G=t.context??this.context;return t.setHeaders!==void 0&&(z=Object.keys(t.setHeaders).reduce((xe,Ue)=>xe.set(Ue,t.setHeaders[Ue]),z)),t.setParams&&(Se=Object.keys(t.setParams).reduce((xe,Ue)=>xe.set(Ue,t.setParams[Ue]),Se)),new e(n,r,v,{params:Se,headers:z,context:G,reportProgress:g,responseType:o,withCredentials:y,transferCache:f,keepalive:i,cache:a,priority:s,timeout:h,mode:c,redirect:u,credentials:l,referrer:d,integrity:p})}},nt=(function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e})(nt||{}),Vn=class{headers;status;statusText;url;ok;type;redirected;constructor(t,n=200,r="OK"){this.headers=t.headers||new $e,this.status=t.status!==void 0?t.status:n,this.statusText=t.statusText||r,this.url=t.url||null,this.redirected=t.redirected,this.ok=this.status>=200&&this.status<300}},Br=class e extends Vn{constructor(t={}){super(t)}type=nt.ResponseHeader;clone(t={}){return new e({headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}},Bn=class e extends Vn{body;constructor(t={}){super(t),this.body=t.body!==void 0?t.body:null}type=nt.Response;clone(t={}){return new e({body:t.body!==void 0?t.body:this.body,headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0,redirected:t.redirected??this.redirected})}},He=class extends Vn{name="HttpErrorResponse";message;error;ok=!1;constructor(t){super(t,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${t.url||"(unknown url)"}`:this.message=`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}},ag=200,Gw=204;function Fu(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,credentials:e.credentials,transferCache:e.transferCache,timeout:e.timeout,keepalive:e.keepalive,priority:e.priority,cache:e.cache,mode:e.mode,redirect:e.redirect,integrity:e.integrity,referrer:e.referrer}}var cg=(()=>{class e{handler;constructor(n){this.handler=n}request(n,r,o={}){let i;if(n instanceof Pn)i=n;else{let c;o.headers instanceof $e?c=o.headers:c=new $e(o.headers);let u;o.params&&(o.params instanceof tt?u=o.params:u=new tt({fromObject:o.params})),i=new Pn(n,r,o.body!==void 0?o.body:null,{headers:c,context:o.context,params:u,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache,keepalive:o.keepalive,priority:o.priority,cache:o.cache,mode:o.mode,redirect:o.redirect,credentials:o.credentials,referrer:o.referrer,integrity:o.integrity,timeout:o.timeout})}let s=bo(i).pipe(Os(c=>this.handler.handle(c)));if(n instanceof Pn||o.observe==="events")return s;let a=s.pipe(Rt(c=>c instanceof Bn));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(ge(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new D(2806,!1);return c.body}));case"blob":return a.pipe(ge(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new D(2807,!1);return c.body}));case"text":return a.pipe(ge(c=>{if(c.body!==null&&typeof c.body!="string")throw new D(2808,!1);return c.body}));case"json":default:return a.pipe(ge(c=>c.body))}case"response":return a;default:throw new D(2809,!1)}}delete(n,r={}){return this.request("DELETE",n,r)}get(n,r={}){return this.request("GET",n,r)}head(n,r={}){return this.request("HEAD",n,r)}jsonp(n,r){return this.request("JSONP",n,{params:new tt().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,r={}){return this.request("OPTIONS",n,r)}patch(n,r,o={}){return this.request("PATCH",n,Fu(o,r))}post(n,r,o={}){return this.request("POST",n,Fu(o,r))}put(n,r,o={}){return this.request("PUT",n,Fu(o,r))}static \u0275fac=function(r){return new(r||e)(L(Ln))};static \u0275prov=x({token:e,factory:e.\u0275fac})}return e})(),Ww=/^\)\]\}',?\n/;function rg(e){if(e.url)return e.url;let t=ju.toLocaleLowerCase();return e.headers.get(t)}var ug=new b(""),os=(()=>{class e{fetchImpl=m(ku,{optional:!0})?.fetch??((...n)=>globalThis.fetch(...n));ngZone=m(Q);destroyRef=m(Ye);destroyed=!1;constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0})}handle(n){return new S(r=>{let o=new AbortController;this.doRequest(n,o.signal,r).then(Pu,s=>r.error(new He({error:s})));let i;return n.timeout&&(i=this.ngZone.runOutsideAngular(()=>setTimeout(()=>{o.signal.aborted||o.abort(new DOMException("signal timed out","TimeoutError"))},n.timeout))),()=>{i!==void 0&&clearTimeout(i),o.abort()}})}doRequest(n,r,o){return en(this,null,function*(){let i=this.createRequestInit(n),s;try{let h=this.ngZone.runOutsideAngular(()=>this.fetchImpl(n.urlWithParams,H({signal:r},i)));qw(h),o.next({type:nt.Sent}),s=yield h}catch(h){o.error(new He({error:h,status:h.status??0,statusText:h.statusText,url:n.urlWithParams,headers:h.headers}));return}let a=new $e(s.headers),c=s.statusText,u=rg(s)??n.urlWithParams,l=s.status,d=null;if(n.reportProgress&&o.next(new Br({headers:a,status:l,statusText:c,url:u})),s.body){let h=s.headers.get("content-length"),v=[],y=s.body.getReader(),g=0,z,Se,G=typeof Zone<"u"&&Zone.current,xe=!1;if(yield this.ngZone.runOutsideAngular(()=>en(this,null,function*(){for(;;){if(this.destroyed){yield y.cancel(),xe=!0;break}let{done:Ct,value:us}=yield y.read();if(Ct)break;if(v.push(us),g+=us.length,n.reportProgress){Se=n.responseType==="text"?(Se??"")+(z??=new TextDecoder).decode(us,{stream:!0}):void 0;let Bu=()=>o.next({type:nt.DownloadProgress,total:h?+h:void 0,loaded:g,partialText:Se});G?G.run(Bu):Bu()}}})),xe){o.complete();return}let Ue=this.concatChunks(v,g);try{let Ct=s.headers.get(Vr)??"";d=this.parseBody(n,Ue,Ct,l)}catch(Ct){o.error(new He({error:Ct,headers:new $e(s.headers),status:s.status,statusText:s.statusText,url:rg(s)??n.urlWithParams}));return}}l===0&&(l=d?ag:0);let p=l>=200&&l<300,f=s.redirected;p?(o.next(new Bn({body:d,headers:a,status:l,statusText:c,url:u,redirected:f})),o.complete()):o.error(new He({error:d,headers:a,status:l,statusText:c,url:u,redirected:f}))})}parseBody(n,r,o,i){switch(n.responseType){case"json":let s=new TextDecoder().decode(r).replace(Ww,"");if(s==="")return null;try{return JSON.parse(s)}catch(a){if(i<200||i>=300)return s;throw a}case"text":return new TextDecoder().decode(r);case"blob":return new Blob([r],{type:o});case"arraybuffer":return r.buffer}}createRequestInit(n){let r={},o;if(o=n.credentials,n.withCredentials&&(o="include"),n.headers.forEach((i,s)=>r[i]=s.join(",")),n.headers.has(as)||(r[as]=sg),!n.headers.has(Vr)){let i=n.detectContentTypeHeader();i!==null&&(r[Vr]=i)}return{body:n.serializeBody(),method:n.method,headers:r,credentials:o,keepalive:n.keepalive,cache:n.cache,priority:n.priority,mode:n.mode,redirect:n.redirect,referrer:n.referrer,integrity:n.integrity}}concatChunks(n,r){let o=new Uint8Array(r),i=0;for(let s of n)o.set(s,i),i+=s.length;return o}static \u0275fac=function(r){return new(r||e)};static \u0275prov=x({token:e,factory:e.\u0275fac})}return e})(),ku=class{};function Pu(){}function qw(e){e.then(Pu,Pu)}function Zw(e,t){return t(e)}function Yw(e,t,n){return(r,o)=>gn(n,()=>t(r,i=>e(i,o)))}var lg=new b(""),dg=new b(""),fg=new b("",{providedIn:"root",factory:()=>!0});var cs=(()=>{class e extends Ln{backend;injector;chain=null;pendingTasks=m(gr);contributeToStability=m(fg);constructor(n,r){super(),this.backend=n,this.injector=r}handle(n){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(lg),...this.injector.get(dg,[])]));this.chain=r.reduceRight((o,i)=>Yw(o,i,this.injector),Zw)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(n,o=>this.backend.handle(o)).pipe(ks(r))}else return this.chain(n,r=>this.backend.handle(r))}static \u0275fac=function(r){return new(r||e)(L(jn),L(ue))};static \u0275prov=x({token:e,factory:e.\u0275fac})}return e})();var Qw=/^\)\]\}',?\n/,Kw=RegExp(`^${ju}:`,"m");function Jw(e){return"responseURL"in e&&e.responseURL?e.responseURL:Kw.test(e.getAllResponseHeaders())?e.getResponseHeader(ju):null}var Lu=(()=>{class e{xhrFactory;constructor(n){this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new D(-2800,!1);let r=this.xhrFactory;return bo(null).pipe(xo(()=>new S(i=>{let s=r.build();if(s.open(n.method,n.urlWithParams),n.withCredentials&&(s.withCredentials=!0),n.headers.forEach((y,g)=>s.setRequestHeader(y,g.join(","))),n.headers.has(as)||s.setRequestHeader(as,sg),!n.headers.has(Vr)){let y=n.detectContentTypeHeader();y!==null&&s.setRequestHeader(Vr,y)}if(n.timeout&&(s.timeout=n.timeout),n.responseType){let y=n.responseType.toLowerCase();s.responseType=y!=="json"?y:"text"}let a=n.serializeBody(),c=null,u=()=>{if(c!==null)return c;let y=s.statusText||"OK",g=new $e(s.getAllResponseHeaders()),z=Jw(s)||n.url;return c=new Br({headers:g,status:s.status,statusText:y,url:z}),c},l=()=>{let{headers:y,status:g,statusText:z,url:Se}=u(),G=null;g!==Gw&&(G=typeof s.response>"u"?s.responseText:s.response),g===0&&(g=G?ag:0);let xe=g>=200&&g<300;if(n.responseType==="json"&&typeof G=="string"){let Ue=G;G=G.replace(Qw,"");try{G=G!==""?JSON.parse(G):null}catch(Ct){G=Ue,xe&&(xe=!1,G={error:Ct,text:G})}}xe?(i.next(new Bn({body:G,headers:y,status:g,statusText:z,url:Se||void 0})),i.complete()):i.error(new He({error:G,headers:y,status:g,statusText:z,url:Se||void 0}))},d=y=>{let{url:g}=u(),z=new He({error:y,status:s.status||0,statusText:s.statusText||"Unknown Error",url:g||void 0});i.error(z)},p=d;n.timeout&&(p=y=>{let{url:g}=u(),z=new He({error:new DOMException("Request timed out","TimeoutError"),status:s.status||0,statusText:s.statusText||"Request timeout",url:g||void 0});i.error(z)});let f=!1,h=y=>{f||(i.next(u()),f=!0);let g={type:nt.DownloadProgress,loaded:y.loaded};y.lengthComputable&&(g.total=y.total),n.responseType==="text"&&s.responseText&&(g.partialText=s.responseText),i.next(g)},v=y=>{let g={type:nt.UploadProgress,loaded:y.loaded};y.lengthComputable&&(g.total=y.total),i.next(g)};return s.addEventListener("load",l),s.addEventListener("error",d),s.addEventListener("timeout",p),s.addEventListener("abort",d),n.reportProgress&&(s.addEventListener("progress",h),a!==null&&s.upload&&s.upload.addEventListener("progress",v)),s.send(a),i.next({type:nt.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",l),s.removeEventListener("timeout",p),n.reportProgress&&(s.removeEventListener("progress",h),a!==null&&s.upload&&s.upload.removeEventListener("progress",v)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(r){return new(r||e)(L(jr))};static \u0275prov=x({token:e,factory:e.\u0275fac})}return e})(),pg=new b(""),Xw="XSRF-TOKEN",eC=new b("",{providedIn:"root",factory:()=>Xw}),tC="X-XSRF-TOKEN",nC=new b("",{providedIn:"root",factory:()=>tC}),Hr=class{},rC=(()=>{class e{doc;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(n,r){this.doc=n,this.cookieName=r}getToken(){let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=Ou(n,this.cookieName),this.lastCookieString=n),this.lastToken}static \u0275fac=function(r){return new(r||e)(L(Wt),L(eC))};static \u0275prov=x({token:e,factory:e.\u0275fac})}return e})();function oC(e,t){let n=e.url.toLowerCase();if(!m(pg)||e.method==="GET"||e.method==="HEAD"||n.startsWith("http://")||n.startsWith("https://"))return t(e);let r=m(Hr).getToken(),o=m(nC);return r!=null&&!e.headers.has(o)&&(e=e.clone({headers:e.headers.set(o,r)})),t(e)}var Vu=(function(e){return e[e.Interceptors=0]="Interceptors",e[e.LegacyInterceptors=1]="LegacyInterceptors",e[e.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",e[e.NoXsrfProtection=3]="NoXsrfProtection",e[e.JsonpSupport=4]="JsonpSupport",e[e.RequestsMadeViaParent=5]="RequestsMadeViaParent",e[e.Fetch=6]="Fetch",e})(Vu||{});function iC(e,t){return{\u0275kind:e,\u0275providers:t}}function sC(...e){let t=[cg,Lu,cs,{provide:Ln,useExisting:cs},{provide:jn,useFactory:()=>m(ug,{optional:!0})??m(Lu)},{provide:lg,useValue:oC,multi:!0},{provide:pg,useValue:!0},{provide:Hr,useClass:rC}];for(let n of e)t.push(...n.\u0275providers);return ir(t)}function aC(){return iC(Vu.Fetch,[os,{provide:ug,useExisting:os},{provide:jn,useExisting:os}])}export{H as a,Z as b,cC as c,uC as d,j as e,Rg as f,S as g,Ms as h,Ns as i,ae as j,Un as k,Gn as l,jg as m,Vg as n,Yn as o,ct as p,bo as q,qg as r,Zg as s,xt as t,ge as u,nm as v,At as w,As as x,No as y,om as z,im as A,Rt as B,sm as C,Rs as D,Os as E,am as F,Qn as G,Fs as H,cm as I,ks as J,dm as K,Ps as L,fm as M,pm as N,hm as O,gm as P,mm as Q,xo as R,ym as S,vm as T,D as U,Lo as V,x as W,nr as X,Im as Y,b as Z,L as _,m as $,ir as aa,fa as ba,ue as ca,gn as da,Xl as ea,ed as fa,fd as ga,pd as ha,md as ia,Re as ja,Wt as ka,Ye as la,qe as ma,Ve as na,Ba as oa,Dt as pa,ey as qa,Yd as ra,Jd as sa,Dy as ta,Fc as ua,On as va,My as wa,Ny as xa,Ef as ya,xy as za,Ay as Aa,Nn as Ba,ev as Ca,nv as Da,av as Ea,cv as Fa,xv as Ga,Er as Ha,It as Ia,wr as Ja,fp as Ka,de as La,Xt as Ma,Tp as Na,Mp as Oa,lE as Pa,Bi as Qa,Hi as Ra,xp as Sa,Rp as Ta,Sr as Ua,Qe as Va,Q as Wa,AE as Xa,FE as Ya,zi as Za,Bp as _a,xr as $a,Up as ab,PE as bb,LE as cb,zp as db,fu as eb,pu as fb,Gp as gb,hu as hb,gu as ib,Wp as jb,Zp as kb,Yp as lb,BE as mb,Kp as nb,GE as ob,qE as pb,ZE as qb,QE as rb,KE as sb,JE as tb,XE as ub,eI as vb,th as wb,nh as xb,dI as yb,wI as zb,uh as Ab,mu as Bb,lh as Cb,dh as Db,fh as Eb,TI as Fb,ph as Gb,MI as Hb,RI as Ib,OI as Jb,PI as Kb,jI as Lb,VI as Mb,BI as Nb,HI as Ob,UI as Pb,Dh as Qb,WI as Rb,qI as Sb,Ih as Tb,DL as Ub,hw as Vb,Tu as Wb,EL as Xb,IL as Yb,qi as Zb,vw as _b,Nu as $b,Zi as ac,Fh as bc,Yh as cc,Fw as dc,Pw as ec,Lw as fc,jw as gc,Ou as hc,jr as ic,Vw as jc,R1 as kc,tt as lc,cg as mc,sC as nc,aC as oc};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as J}from"./chunk-UNROVCUZ.js";import{a as V,b as B,c as U,d as Y,h as q}from"./chunk-UHWTLUOW.js";import{a as G}from"./chunk-I4VBIHH2.js";import"./chunk-UIWFTWLF.js";import{$ as v,Ab as d,Bb as y,Cb as A,Ga as a,Hb as j,Pa as F,Rb as h,Sb as O,Ta as m,W as D,cc as R,db as l,dc as L,ea as E,eb as r,fa as S,fb as o,gb as _,gc as $,lc as w,mb as N,mc as H,nb as C,oa as g,ob as p,wb as k,xb as M,yb as z,zb as s}from"./chunk-OBPR2XVH.js";var x=class i{http=v(H);base="/api";snapshot(t){let e=new w().set("at",t);return this.http.get(`${this.base}/snapshot`,{params:e})}rangeDiff(t,e){let n=new w().set("from",t).set("to",e);return this.http.get(`${this.base}/diff`,{params:n})}static \u0275fac=function(e){return new(e||i)};static \u0275prov=D({token:i,factory:i.\u0275fac,providedIn:"root"})};function X(i,t){if(i&1&&(r(0,"span",19),s(1,"|"),o()),i&2){let e=t.$implicit,n=t.index,c=p();M("active",n===c.tickIndex()),l("title",e.label)}}function Z(i,t){if(i&1&&(r(0,"li")(1,"span",28),s(2),o(),r(3,"code",29),s(4),o()()),i&2){let e=t.$implicit;a(2),d(e.name),a(2),d(e.hash.slice(0,7))}}function ee(i,t){if(i&1&&(r(0,"div",25)(1,"span",22),s(2),o(),r(3,"ul",26),m(4,Z,5,2,"li",27),o()()),i&2){let e=p().ngIf,n=p();a(2),y("Branches (",n.branchEntries(e).length,")"),a(2),l("ngForOf",n.branchEntries(e).slice(0,8))}}function te(i,t){if(i&1&&(r(0,"li")(1,"span",28),s(2),o(),r(3,"code",29),s(4),o()()),i&2){let e=t.$implicit;a(2),d(e.name),a(2),d(e.hash.slice(0,7))}}function ne(i,t){if(i&1&&(r(0,"div",25)(1,"span",22),s(2),o(),r(3,"ul",26),m(4,te,5,2,"li",27),o()()),i&2){let e=p().ngIf,n=p();a(2),y("Tags (",n.tagEntries(e).length,")"),a(2),l("ngForOf",n.tagEntries(e).slice(0,8))}}function ie(i,t){if(i&1&&(r(0,"section",20)(1,"div",21)(2,"span",22),s(3,"HEAD at this moment"),o(),r(4,"code",23),s(5),o()(),m(6,ee,5,2,"div",24)(7,ne,5,2,"div",24),o()),i&2){let e=t.ngIf,n=p();a(5),d(e.ref??"(no commits yet)"),a(),l("ngIf",n.branchEntries(e).length),a(),l("ngIf",n.tagEntries(e).length)}}function ae(i,t){i&1&&(r(0,"span",30),s(1,"Computing diff\u2026"),o())}function oe(i,t){if(i&1&&(r(0,"span",30),s(1),o()),i&2){let e=t.ngIf;a(),d(e)}}function re(i,t){i&1&&(r(0,"span",31),s(1," No differences (you're already at HEAD). "),o())}function se(i,t){if(i&1){let e=N();r(0,"div",34),C("click",function(){let c=E(e).$implicit,f=p(2);return S(f.selectedFile.set(c))}),r(1,"span"),s(2),o(),r(3,"span",35),s(4),o(),r(5,"span",36),s(6),o()()}if(i&2){let e=t.$implicit,n=p(2);M("selected",e===n.selectedFile()),a(),z(j("status status-",e.status)),a(),d(n.statusLabel(e.status)),a(2),d(e.file),a(2),A("+",e.additions," \u2212",e.deletions)}}function le(i,t){if(i&1&&(r(0,"div",32),m(1,se,7,9,"div",33),o()),i&2){let e=p();a(),l("ngForOf",e.diff())}}function de(i,t){if(i&1&&(r(0,"div",37),_(1,"app-diff-viewer",38),o()),i&2){let e=t.ngIf;a(),l("fileInput",e)}}var K=class i{state=v(G);timelineApi=v(x);snapshot=g(null);diff=g(null);loadingDiff=g(!1);diffError=g(null);selectedFile=g(null);tickIndex=g(0);ticks=h(()=>ce(this.state.commits()));atDisplay=h(()=>{let t=this.ticks()[this.tickIndex()];return t?t.label:""});firstTickLabel=h(()=>this.ticks()[0]?.label??"");lastTickLabel=h(()=>this.ticks()[this.ticks().length-1]?.label??"");tickPct=h(()=>{let t=Math.max(1,this.ticks().length-1);return Math.round(this.tickIndex()/t*100)});constructor(){O(()=>{let t=this.ticks();t.length!==0&&this.tickIndex()>=t.length&&this.tickIndex.set(t.length-1)}),O(()=>{let t=this.ticks()[this.tickIndex()];t&&this.timelineApi.snapshot(t.iso).subscribe({next:e=>{this.snapshot.set(e),this.loadDiff(e)},error:()=>this.snapshot.set(null)})})}onTickChange(t){this.tickIndex.set(Math.max(0,Math.min(this.ticks().length-1,Number(t))))}branchEntries(t){return Object.entries(t.branches).map(([e,n])=>({name:e,hash:n}))}tagEntries(t){return Object.entries(t.tags).map(([e,n])=>({name:e,hash:n}))}statusLabel(t){return t==="modified"?"mod":t.slice(0,3)}loadDiff(t){if(!t.ref){this.diff.set([]),this.selectedFile.set(null);return}let e=this.state.commits()[0]?.hash;if(!e||e===t.ref){this.diff.set([]),this.selectedFile.set(null);return}this.loadingDiff.set(!0),this.diffError.set(null),this.timelineApi.rangeDiff(t.ref,e).subscribe({next:n=>{this.diff.set(n),this.selectedFile.set(n[0]??null),this.loadingDiff.set(!1)},error:n=>{this.diffError.set(n?.error?.error??"Failed to compute diff"),this.loadingDiff.set(!1)}})}static \u0275fac=function(e){return new(e||i)};static \u0275cmp=F({type:i,selectors:[["app-timeline"]],decls:31,vars:16,consts:[[1,"page"],[1,"head"],[1,"sub"],[1,"now"],[1,"slider-wrap"],[1,"rail"],[1,"rail-fill"],[1,"rail-knob"],["type","range","min","0",1,"slider",3,"ngModelChange","max","ngModel"],[1,"ticks"],["class","tick",3,"active","title",4,"ngFor","ngForOf"],[1,"tick-labels"],["class","snapshot",4,"ngIf"],[1,"diff-panel"],[1,"diff-head"],["class","diff-status",4,"ngIf"],["class","diff-status muted",4,"ngIf"],["class","files",4,"ngIf"],["class","diff-body",4,"ngIf"],[1,"tick",3,"title"],[1,"snapshot"],[1,"snap-card"],[1,"snap-label"],[1,"snap-hash"],["class","snap-card branches",4,"ngIf"],[1,"snap-card","branches"],[1,"ref-list"],[4,"ngFor","ngForOf"],[1,"ref-name"],[1,"ref-hash"],[1,"diff-status"],[1,"diff-status","muted"],[1,"files"],["class","file",3,"selected","click",4,"ngFor","ngForOf"],[1,"file",3,"click"],[1,"path"],[1,"changes"],[1,"diff-body"],[3,"fileInput"]],template:function(e,n){if(e&1&&(r(0,"div",0)(1,"header",1)(2,"div")(3,"h2"),s(4,"Time travel"),o(),r(5,"p",2),s(6,"Drag the slider to see repo state at any point. Diff is computed against current HEAD."),o()(),r(7,"div",3),s(8),o()(),r(9,"div",4)(10,"div",5),_(11,"div",6)(12,"div",7),o(),r(13,"input",8),C("ngModelChange",function(f){return n.onTickChange(f)}),o(),r(14,"div",9),m(15,X,2,3,"span",10),o(),r(16,"div",11)(17,"span"),s(18),o(),r(19,"span"),s(20),o()()(),m(21,ie,8,3,"section",12),r(22,"section",13)(23,"div",14)(24,"h3"),s(25,"Diff vs HEAD"),o(),m(26,ae,2,0,"span",15)(27,oe,2,1,"span",15)(28,re,2,0,"span",16),o(),m(29,le,2,1,"div",17)(30,de,2,1,"div",18),o()()),e&2){let c,f;a(8),d(n.atDisplay()),a(3),k("width",n.tickPct(),"%"),a(),k("left",n.tickPct(),"%"),a(),l("max",n.ticks().length-1)("ngModel",n.tickIndex()),a(2),l("ngForOf",n.ticks()),a(3),d(n.firstTickLabel()),a(2),d(n.lastTickLabel()),a(),l("ngIf",n.snapshot()),a(5),l("ngIf",n.loadingDiff()),a(),l("ngIf",n.diffError()),a(),l("ngIf",!n.loadingDiff()&&!n.diffError()&&((c=n.diff())==null?null:c.length)===0),a(),l("ngIf",(((f=n.diff())==null?null:f.length)??0)>0),a(),l("ngIf",n.selectedFile())}},dependencies:[$,R,L,q,V,Y,B,U,J],styles:["[_nghost-%COMP%]{display:block;flex:1;min-height:0;overflow-y:auto}.page[_ngcontent-%COMP%]{padding:1.1rem 1.25rem 1.4rem;max-width:1240px;margin:0 auto}.head[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:flex-end;gap:1rem;margin-bottom:1rem}.head[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{margin:0;font-size:clamp(20px,2vw,28px);letter-spacing:-.03em}.head[_ngcontent-%COMP%] .sub[_ngcontent-%COMP%]{margin:.2rem 0 0;color:var(--fg-muted);font-size:13px}.now[_ngcontent-%COMP%]{font-family:var(--font-mono, monospace);font-size:13px;padding:.4rem .7rem;background:var(--bg-panel);border:1px solid var(--border-soft);border-radius:999px;box-shadow:var(--shadow-sm)}.slider-wrap[_ngcontent-%COMP%]{position:relative;background:radial-gradient(circle at 20% 0%,color-mix(in oklab,var(--accent) 14%,transparent),transparent 42%),var(--bg-panel);border:1px solid var(--border-soft);border-radius:var(--radius-lg);padding:1rem 1.25rem;margin-bottom:1rem;box-shadow:var(--shadow-sm)}.rail[_ngcontent-%COMP%]{position:relative;height:10px;margin:.25rem 0 .85rem;border-radius:999px;background:var(--bg-surface-2);overflow:visible}.rail-fill[_ngcontent-%COMP%]{height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--accent),#06b6d4);transition:width .12s ease}.rail-knob[_ngcontent-%COMP%]{position:absolute;top:50%;width:18px;height:18px;border-radius:50%;background:var(--bg-surface);border:3px solid var(--accent);box-shadow:var(--shadow-md);transform:translate(-50%,-50%);pointer-events:none}.slider[_ngcontent-%COMP%]{width:100%;accent-color:var(--accent);opacity:.01;position:absolute;left:1.25rem;right:1.25rem;top:.95rem;width:calc(100% - 2.5rem);height:34px;cursor:ew-resize}.ticks[_ngcontent-%COMP%]{display:flex;justify-content:space-between;margin-top:.4rem;color:var(--fg-subtle);font-size:10px}.tick.active[_ngcontent-%COMP%]{color:var(--accent);font-weight:700}.tick-labels[_ngcontent-%COMP%]{display:flex;justify-content:space-between;margin-top:.5rem;font-size:11px;color:var(--fg-muted)}.snapshot[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:.75rem;margin-bottom:1rem}.snap-card[_ngcontent-%COMP%]{background:linear-gradient(180deg,color-mix(in oklab,var(--bg-panel) 96%,white 4%),var(--bg-panel));border:1px solid var(--border-soft);border-radius:var(--radius-lg);padding:.75rem 1rem;box-shadow:var(--shadow-sm);transition:border-color .12s,box-shadow .12s,transform .12s}.snap-card[_ngcontent-%COMP%]:hover{border-color:color-mix(in oklab,var(--accent) 28%,var(--border-soft));box-shadow:var(--shadow-md);transform:translateY(-1px)}.snap-label[_ngcontent-%COMP%]{display:block;font-size:11px;color:var(--fg-muted);text-transform:uppercase;letter-spacing:.04em;margin-bottom:.4rem}.snap-hash[_ngcontent-%COMP%]{font-family:var(--font-mono, monospace);font-size:13px;color:var(--accent);word-break:break-all}.ref-list[_ngcontent-%COMP%]{list-style:none;margin:0;padding:0;font-size:12px}.ref-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{display:flex;justify-content:space-between;padding:2px 0;gap:1rem}.ref-name[_ngcontent-%COMP%]{color:var(--fg-secondary)}.ref-hash[_ngcontent-%COMP%]{font-family:var(--font-mono, monospace);color:var(--fg-muted);font-size:11px}.diff-panel[_ngcontent-%COMP%]{background:var(--bg-panel);border:1px solid var(--border-soft);border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow-sm)}.diff-head[_ngcontent-%COMP%]{padding:.75rem 1rem;border-bottom:1px solid var(--border-soft);display:flex;align-items:baseline;gap:1rem}.diff-head[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:0;font-size:14px}.diff-status[_ngcontent-%COMP%]{font-size:12px;color:var(--fg-muted)}.diff-status.muted[_ngcontent-%COMP%]{font-style:italic}.files[_ngcontent-%COMP%]{display:flex;gap:.4rem;padding:.65rem;max-height:170px;overflow:auto;flex-wrap:wrap;background:color-mix(in oklab,var(--bg-surface-2) 56%,transparent)}.file[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.6rem;padding:.38rem .65rem;cursor:pointer;font-size:12px;border:1px solid var(--border-soft);border-radius:999px;background:var(--bg-surface);max-width:100%}.file[_ngcontent-%COMP%]:hover{background:var(--bg-hover)}.file.selected[_ngcontent-%COMP%]{background:color-mix(in oklab,var(--accent) 18%,transparent);border-color:color-mix(in oklab,var(--accent) 40%,var(--border-soft))}.status[_ngcontent-%COMP%]{font-size:10px;padding:1px 6px;border-radius:999px;background:var(--bg-surface-2);color:var(--fg-muted);text-transform:uppercase}.status-added[_ngcontent-%COMP%]{background:#10b9812e;color:#10b981}.status-deleted[_ngcontent-%COMP%]{background:#ef44442e;color:#ef4444}.status-modified[_ngcontent-%COMP%]{background:#6366f12e;color:var(--accent)}.path[_ngcontent-%COMP%]{flex:1;font-family:var(--font-mono, monospace);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.changes[_ngcontent-%COMP%]{font-size:11px;color:var(--fg-muted)}.diff-body[_ngcontent-%COMP%]{border-top:1px solid var(--border-soft);padding:.5rem 0}"],changeDetection:0})};function ce(i){if(i.length===0)return[];let t=[...i].sort((u,b)=>u.date.localeCompare(b.date)),e=t[0].date,n=t[t.length-1].date,c=new Date(e),P=new Date(n).getTime()-c.getTime(),I=Math.max(12,Math.min(24,Math.floor(P/(1e3*60*60*24*7))+1)),Q=P/Math.max(1,I-1),T=[];for(let u=0;u<I;u++){let b=new Date(c.getTime()+u*Q);T.push({iso:b.toISOString(),label:b.toISOString().slice(0,10)})}return T}export{K as TimelineComponent};
|