@letscooee/web-sdk 11.0.0-rc.2 → 11.0.0-rc.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-PXCLPSZY.js → chunk-4VKHDOSF.js} +1 -1
- package/dist/chunk-KFBNKCMH.js +4 -0
- package/dist/{chunk-F3EO6KIB.js → chunk-XPDW2VTU.js} +16 -16
- package/dist/{debugger.component-MZTHJ77P.js → debugger.component-TIORXN2C.js} +1 -1
- package/dist/main.min.js +20 -20
- package/dist/video-detail-dialog.component-FPCQEUTC.js +3 -0
- package/dist/widget.min.js +12 -12
- package/package.json +20 -20
- package/dist/chunk-LSQP3FNO.js +0 -4
- package/dist/video-detail-dialog.component-2KJR4UXP.js +0 -3
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@letscooee/web-sdk",
|
|
3
3
|
"description": "Engage uniquely and boost conversions with AI-powered customer journeys driven by real-time intent",
|
|
4
|
-
"version": "11.0.0-rc.
|
|
4
|
+
"version": "11.0.0-rc.3",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"lint": "ng lint",
|
|
7
7
|
"integrity": "./scripts/validate-integrity.sh",
|
|
@@ -36,20 +36,20 @@
|
|
|
36
36
|
},
|
|
37
37
|
"homepage": "https://github.com/letscooee/cooee-web-sdk#readme",
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@angular-eslint/builder": "20.
|
|
40
|
-
"@angular-eslint/eslint-plugin": "20.
|
|
41
|
-
"@angular-eslint/eslint-plugin-template": "20.
|
|
42
|
-
"@angular-eslint/schematics": "20.
|
|
43
|
-
"@angular-eslint/template-parser": "20.
|
|
44
|
-
"@angular/build": "^20.1
|
|
45
|
-
"@angular/cli": "^20.1
|
|
46
|
-
"@angular/compiler-cli": "^20.
|
|
39
|
+
"@angular-eslint/builder": "20.2.0",
|
|
40
|
+
"@angular-eslint/eslint-plugin": "20.2.0",
|
|
41
|
+
"@angular-eslint/eslint-plugin-template": "20.2.0",
|
|
42
|
+
"@angular-eslint/schematics": "20.2.0",
|
|
43
|
+
"@angular-eslint/template-parser": "20.2.0",
|
|
44
|
+
"@angular/build": "^20.2.1",
|
|
45
|
+
"@angular/cli": "^20.2.1",
|
|
46
|
+
"@angular/compiler-cli": "^20.2.3",
|
|
47
47
|
"@release-it/conventional-changelog": "^10.0.1",
|
|
48
48
|
"@types/canvas-confetti": "^1.9.0",
|
|
49
49
|
"@types/jasmine": "~5.1.0",
|
|
50
50
|
"@typescript-eslint/eslint-plugin": "7.18.0",
|
|
51
51
|
"@typescript-eslint/parser": "7.18.0",
|
|
52
|
-
"angular-eslint": "^
|
|
52
|
+
"angular-eslint": "^20.2.0",
|
|
53
53
|
"esbuild": "^0.25.0",
|
|
54
54
|
"eslint": "8.57.0",
|
|
55
55
|
"eslint-config-google": "^0.14.0",
|
|
@@ -67,16 +67,16 @@
|
|
|
67
67
|
"typescript": "5.8.3"
|
|
68
68
|
},
|
|
69
69
|
"dependencies": {
|
|
70
|
-
"@angular/animations": "^20.
|
|
71
|
-
"@angular/cdk": "^20.1
|
|
72
|
-
"@angular/common": "^20.
|
|
73
|
-
"@angular/compiler": "^20.
|
|
74
|
-
"@angular/core": "^20.
|
|
75
|
-
"@angular/elements": "^20.
|
|
76
|
-
"@angular/forms": "^20.
|
|
77
|
-
"@angular/platform-browser": "^20.
|
|
78
|
-
"@angular/platform-browser-dynamic": "^20.
|
|
79
|
-
"@angular/router": "^20.
|
|
70
|
+
"@angular/animations": "^20.2.3",
|
|
71
|
+
"@angular/cdk": "^20.2.1",
|
|
72
|
+
"@angular/common": "^20.2.3",
|
|
73
|
+
"@angular/compiler": "^20.2.3",
|
|
74
|
+
"@angular/core": "^20.2.3",
|
|
75
|
+
"@angular/elements": "^20.2.3",
|
|
76
|
+
"@angular/forms": "^20.2.3",
|
|
77
|
+
"@angular/platform-browser": "^20.2.3",
|
|
78
|
+
"@angular/platform-browser-dynamic": "^20.2.3",
|
|
79
|
+
"@angular/router": "^20.2.3",
|
|
80
80
|
"@letscooee/ts-common": "1.2.4",
|
|
81
81
|
"@letscooee/url-builder": "^0.0.5",
|
|
82
82
|
"@preact/signals": "^1.2.3",
|
package/dist/chunk-LSQP3FNO.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import{a as Y,b as J}from"./chunk-V7UGKYBN.js";var Xi;function zr(){return Xi}function je(e){let t=Xi;return Xi=e,t}var Lu=Symbol("NotFound");function tn(e){return e===Lu||e?.name==="\u0275NotFound"}function rs(e,t){return Object.is(e,t)}var X=null,Gr=!1,os=1,Ig=null,Q=Symbol("SIGNAL");function I(e){let t=X;return X=e,t}function qr(){return X}var It={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(Gr)throw new Error("");if(X===null)return;X.consumerOnSignalRead(e);let t=X.producersTail;if(t!==void 0&&t.producer===e)return;let n,r=X.recomputing;if(r&&(n=t!==void 0?t.nextProducer:X.producers,n!==void 0&&n.producer===e)){X.producersTail=n,n.lastReadVersion=e.version;return}let o=e.consumersTail;if(o!==void 0&&o.consumer===X&&(!r||wg(o,X)))return;let i=sn(X),s={producer:e,consumer:X,nextProducer:n,prevConsumer:o,lastReadVersion:e.version,nextConsumer:void 0};X.producersTail=s,t!==void 0?t.nextProducer=s:X.producers=s,i&&Vu(e,s)}function ju(){os++}function is(e){if(!(sn(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===os)){if(!e.producerMustRecompute(e)&&!on(e)){ns(e);return}e.producerRecomputeValue(e),ns(e)}}function ss(e){if(e.consumers===void 0)return;let t=Gr;Gr=!0;try{for(let n=e.consumers;n!==void 0;n=n.nextConsumer){let r=n.consumer;r.dirty||Cg(r)}}finally{Gr=t}}function as(){return X?.consumerAllowSignalWrites!==!1}function Cg(e){e.dirty=!0,ss(e),e.consumerMarkedDirty?.(e)}function ns(e){e.dirty=!1,e.lastCleanEpoch=os}function Ct(e){return e&&(e.producersTail=void 0,e.recomputing=!0),I(e)}function rn(e,t){if(I(t),!e)return;e.recomputing=!1;let n=e.producersTail,r=n!==void 0?n.nextProducer:e.producers;if(r!==void 0){if(sn(e))do r=cs(r);while(r!==void 0);n!==void 0?n.nextProducer=void 0:e.producers=void 0}}function on(e){for(let t=e.producers;t!==void 0;t=t.nextProducer){let n=t.producer,r=t.lastReadVersion;if(r!==n.version||(is(n),r!==n.version))return!0}return!1}function wt(e){if(sn(e)){let t=e.producers;for(;t!==void 0;)t=cs(t)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function Vu(e,t){let n=e.consumersTail,r=sn(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)Vu(o.producer,o)}function cs(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,!sn(t)){let i=t.producers;for(;i!==void 0;)i=cs(i)}return n}function sn(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function us(e){Ig?.(e)}function wg(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 $n(e,t){let n=Object.create(_g);n.computation=e,t!==void 0&&(n.equal=t);let r=()=>{if(is(n),nn(n),n.value===Wr)throw n.error;return n.value};return r[Q]=n,us(n),r}var es=Symbol("UNSET"),ts=Symbol("COMPUTING"),Wr=Symbol("ERRORED"),_g=J(Y({},It),{value:es,dirty:!0,error:null,equal:rs,kind:"computed",producerMustRecompute(e){return e.value===es||e.value===ts},producerRecomputeValue(e){if(e.value===ts)throw new Error("");let t=e.value;e.value=ts;let n=Ct(e),r,o=!1;try{r=e.computation(),I(null),o=t!==es&&t!==Wr&&r!==Wr&&e.equal(t,r)}catch(i){r=Wr,e.error=i}finally{rn(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function bg(){throw new Error}var Bu=bg;function Hu(e){Bu(e)}function ls(e){Bu=e}var Sg=null;function ds(e,t){let n=Object.create(Zr);n.value=e,t!==void 0&&(n.equal=t);let r=()=>$u(n);return r[Q]=n,us(n),[r,s=>an(n,s),s=>Uu(n,s)]}function $u(e){return nn(e),e.value}function an(e,t){as()||Hu(e),e.equal(e.value,t)||(e.value=t,Tg(e))}function Uu(e,t){as()||Hu(e),an(e,t(e.value))}var Zr=J(Y({},It),{equal:rs,value:void 0,kind:"signal"});function Tg(e){e.version++,ju(),ss(e),Sg?.(e)}function T(e){return typeof e=="function"}function Yr(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 Qr=Yr(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 _t(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var $=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 Qr?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{zu(i)}catch(s){t=t??[],s instanceof Qr?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Qr(t)}}add(t){var n;if(t&&t!==this)if(this.closed)zu(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)&&_t(n,t)}remove(t){let{_finalizers:n}=this;n&&_t(n,t),t instanceof e&&t._removeParent(this)}};$.EMPTY=(()=>{let e=new $;return e.closed=!0,e})();var fs=$.EMPTY;function Kr(e){return e instanceof $||e&&"closed"in e&&T(e.remove)&&T(e.add)&&T(e.unsubscribe)}function zu(e){T(e)?e():e.unsubscribe()}var Ce={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 Jr(e){cn.setTimeout(()=>{let{onUnhandledError:t}=Ce;if(t)t(e);else throw e})}function Un(){}var Gu=ps("C",void 0,void 0);function Wu(e){return ps("E",void 0,e)}function qu(e){return ps("N",e,void 0)}function ps(e,t,n){return{kind:e,value:t,error:n}}var bt=null;function un(e){if(Ce.useDeprecatedSynchronousErrorHandling){let t=!bt;if(t&&(bt={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=bt;if(bt=null,n)throw r}}else e()}function Zu(e){Ce.useDeprecatedSynchronousErrorHandling&&bt&&(bt.errorThrown=!0,bt.error=e)}var St=class extends ${constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Kr(t)&&t.add(this)):this.destination=xg}static create(t,n,r){return new ln(t,n,r)}next(t){this.isStopped?gs(qu(t),this):this._next(t)}error(t){this.isStopped?gs(Wu(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?gs(Gu,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()}}},Mg=Function.prototype.bind;function hs(e,t){return Mg.call(e,t)}var ms=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Xr(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Xr(r)}else Xr(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Xr(n)}}},ln=class extends St{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&&Ce.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&hs(t.next,i),error:t.error&&hs(t.error,i),complete:t.complete&&hs(t.complete,i)}):o=t}this.destination=new ms(o)}};function Xr(e){Ce.useDeprecatedSynchronousErrorHandling?Zu(e):Jr(e)}function Ng(e){throw e}function gs(e,t){let{onStoppedNotification:n}=Ce;n&&cn.setTimeout(()=>n(e,t))}var xg={closed:!0,next:Un,error:Ng,complete:Un};var dn=typeof Symbol=="function"&&Symbol.observable||"@@observable";function it(e){return e}function Yu(e){return e.length===0?it:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var F=(()=>{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=Ag(n)?n:new ln(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=Qu(r),new r((o,i)=>{let s=new ln({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)}[dn](){return this}pipe(...n){return Yu(n)(this)}toPromise(n){return n=Qu(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 Qu(e){var t;return(t=e??Ce.Promise)!==null&&t!==void 0?t:Promise}function Rg(e){return e&&T(e.next)&&T(e.error)&&T(e.complete)}function Ag(e){return e&&e instanceof St||Rg(e)&&Kr(e)}function Og(e){return T(e?.lift)}function L(e){return t=>{if(Og(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 j(e,t,n,r,o){return new ys(e,t,n,r,o)}var ys=class extends St{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(c){t.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){t.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};var fn={schedule(e){let t=requestAnimationFrame,n=cancelAnimationFrame,{delegate:r}=fn;r&&(t=r.requestAnimationFrame,n=r.cancelAnimationFrame);let o=t(i=>{n=void 0,e(i)});return new $(()=>n?.(o))},requestAnimationFrame(...e){let{delegate:t}=fn;return(t?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){let{delegate:t}=fn;return(t?.cancelAnimationFrame||cancelAnimationFrame)(...e)},delegate:void 0};var Ku=Yr(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var ae=(()=>{class e extends F{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new eo(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Ku}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?fs:(this.currentObservers=null,i.push(n),new $(()=>{this.currentObservers=null,_t(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new F;return n.source=this,n}}return e.create=(t,n)=>new eo(t,n),e})(),eo=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:fs}};var zn=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 Gn={now(){return(Gn.delegate||Date).now()},delegate:void 0};var vs=class extends ae{constructor(t=1/0,n=1/0,r=Gn){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 to=class extends ${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 pn=class extends to{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,_t(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var hn=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)}};hn.now=Gn.now;var gn=class extends hn{constructor(t,n=hn.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 qn=new gn(pn),Ju=qn;var no=class extends pn{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=fn.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&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==n&&(fn.cancelAnimationFrame(n),t._scheduled=void 0)}};var ro=class extends gn{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 Xu=new ro(no);var oo=new F(e=>e.complete());function io(e){return e&&T(e.schedule)}function el(e){return e[e.length-1]}function st(e){return io(el(e))?e.pop():void 0}function tl(e,t){return typeof el(e)=="number"?e.pop():t}function rl(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 nl(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 Tt(e){return this instanceof Tt?(this.v=e,this):new Tt(e)}function ol(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(E){return new Promise(function(M,S){i.push([f,E,M,S])>1||c(f,E)})},h&&(o[f]=h(o[f])))}function c(f,h){try{u(r[f](h))}catch(E){p(i[0][3],E)}}function u(f){f.value instanceof Tt?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 il(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 nl=="function"?nl(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 so=e=>e&&typeof e.length=="number"&&typeof e!="function";function ao(e){return T(e?.then)}function co(e){return T(e[dn])}function uo(e){return Symbol.asyncIterator&&T(e?.[Symbol.asyncIterator])}function lo(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 Fg(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var fo=Fg();function po(e){return T(e?.[fo])}function ho(e){return ol(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield Tt(n.read());if(o)return yield Tt(void 0);yield yield Tt(r)}}finally{n.releaseLock()}})}function go(e){return T(e?.getReader)}function U(e){if(e instanceof F)return e;if(e!=null){if(co(e))return kg(e);if(so(e))return Pg(e);if(ao(e))return Lg(e);if(uo(e))return sl(e);if(po(e))return jg(e);if(go(e))return Vg(e)}throw lo(e)}function kg(e){return new F(t=>{let n=e[dn]();if(T(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Pg(e){return new F(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function Lg(e){return new F(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Jr)})}function jg(e){return new F(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function sl(e){return new F(t=>{Bg(e,t).catch(n=>t.error(n))})}function Vg(e){return sl(ho(e))}function Bg(e,t){var n,r,o,i;return rl(this,void 0,void 0,function*(){try{for(n=il(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 ge(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 mo(e,t=0){return L((n,r)=>{n.subscribe(j(r,o=>ge(r,e,()=>r.next(o),t),()=>ge(r,e,()=>r.complete(),t),o=>ge(r,e,()=>r.error(o),t)))})}function yo(e,t=0){return L((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function al(e,t){return U(e).pipe(yo(t),mo(t))}function cl(e,t){return U(e).pipe(yo(t),mo(t))}function ul(e,t){return new F(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function ll(e,t){return new F(n=>{let r;return ge(n,t,()=>{r=e[fo](),ge(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 vo(e,t){if(!e)throw new Error("Iterable cannot be null");return new F(n=>{ge(n,t,()=>{let r=e[Symbol.asyncIterator]();ge(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function dl(e,t){return vo(ho(e),t)}function fl(e,t){if(e!=null){if(co(e))return al(e,t);if(so(e))return ul(e,t);if(ao(e))return cl(e,t);if(uo(e))return vo(e,t);if(po(e))return ll(e,t);if(go(e))return dl(e,t)}throw lo(e)}function mn(e,t){return t?fl(e,t):U(e)}function pl(...e){let t=st(e);return mn(e,t)}function hl(e){return e instanceof Date&&!isNaN(e)}function Zn(e,t){return L((n,r)=>{let o=0;n.subscribe(j(r,i=>{r.next(e.call(t,i,o++))}))})}function gl(e,t,n,r,o,i,s,a){let c=[],u=0,l=0,d=!1,p=()=>{d&&!c.length&&!u&&t.complete()},f=E=>u<r?h(E):c.push(E),h=E=>{i&&t.next(E),u++;let M=!1;U(n(E,l++)).subscribe(j(t,S=>{o?.(S),i?f(S):t.next(S)},()=>{M=!0},void 0,()=>{if(M)try{for(u--;c.length&&u<r;){let S=c.shift();s?ge(t,s,()=>h(S)):h(S)}p()}catch(S){t.error(S)}}))};return e.subscribe(j(t,f,()=>{d=!0,p()})),()=>{a?.()}}function Ds(e,t,n=1/0){return T(t)?Ds((r,o)=>Zn((i,s)=>t(r,i,o,s))(U(e(r,o))),n):(typeof t=="number"&&(n=t),L((r,o)=>gl(r,o,e,n)))}function Do(e=1/0){return Ds(it,e)}function ml(){return Do(1)}function Es(...e){return ml()(mn(e,st(e)))}function Hg(e){return new F(t=>{U(e()).subscribe(t)})}function Eo(e=0,t,n=Ju){let r=-1;return t!=null&&(io(t)?n=t:r=t),new F(o=>{let i=hl(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 $g(e=0,t=qn){return e<0&&(e=0),Eo(e,e,t)}function Ug(...e){let t=st(e),n=tl(e,1/0),r=e;return r.length?r.length===1?U(r[0]):Do(n)(mn(r,t)):oo}function Is(e,t){return L((n,r)=>{let o=0;n.subscribe(j(r,i=>e.call(t,i,o++)&&r.next(i)))})}function yl(e){return L((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(j(n,u=>{r=!0,o=u,i||U(e(u)).subscribe(i=j(n,a,c))},()=>{s=!0,(!r||!i||i.closed)&&n.complete()}))})}function Cs(e,t=qn){return yl(()=>Eo(e,t))}function zg(e){return e<=0?()=>oo:L((t,n)=>{let r=0;t.subscribe(j(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function vl(e,t=it){return e=e??Gg,L((n,r)=>{let o,i=!0;n.subscribe(j(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function Gg(e,t){return e===t}function Wg(e){return Is((t,n)=>e<=n)}function Dl(...e){let t=st(e);return L((n,r)=>{(t?Es(e,n,t):Es(e,n)).subscribe(r)})}function El(e,t){return L((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(j(r,c=>{o?.unsubscribe();let u=0,l=i++;U(e(c,l)).subscribe(o=j(r,d=>r.next(t?t(c,d,l,u++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Il(e){return L((t,n)=>{U(e).subscribe(j(n,()=>n.complete(),Un)),!n.closed&&t.subscribe(n)})}function qg(e,t,n){let r=T(e)||t||n?{next:e,error:t,complete:n}:e;return r?L((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(j(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)}))}):it}var bo="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",m=class extends Error{code;constructor(t,n){super(lt(t,n)),this.code=t}};function Zg(e){return`NG0${Math.abs(e)}`}function lt(e,t){return`${Zg(e)}${t?": "+t:""}`}var me=globalThis;function x(e){for(let t in e)if(e[t]===x)return t;throw Error("")}function _l(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function at(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(at).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 So(e,t){return e?t?`${e} ${t}`:e:t||""}var Yg=x({__forward_ref__:x});function er(e){return e.__forward_ref__=er,e.toString=function(){return at(this())},e}function W(e){return Fs(e)?e():e}function Fs(e){return typeof e=="function"&&e.hasOwnProperty(Yg)&&e.__forward_ref__===er}function bl(e,t){e==null&&ks(t,e,null,"!=")}function ks(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(r==null?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}function C(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function At(e){return{providers:e.providers||[],imports:e.imports||[]}}function To(e){return Qg(e,Mo)}function Qg(e,t){return e.hasOwnProperty(t)&&e[t]||null}function Kg(e){let t=e?.[Mo]??null;return t||null}function _s(e){return e&&e.hasOwnProperty(Co)?e[Co]:null}var Mo=x({\u0275prov:x}),Co=x({\u0275inj:x}),w=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=C({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Ps(e){return e&&!!e.\u0275providers}var Ls=x({\u0275cmp:x}),js=x({\u0275dir:x}),Vs=x({\u0275pipe:x});var Kn=x({\u0275fac:x}),Ot=x({__NG_ELEMENT_ID__:x}),Cl=x({__NG_ENV_ID__:x});function Ft(e){return typeof e=="string"?e:e==null?"":String(e)}function wo(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():Ft(e)}var Bs=x({ngErrorCode:x}),Sl=x({ngErrorMessage:x}),Qn=x({ngTokenPath:x});function Hs(e,t){return Tl("",-200,t)}function No(e,t){throw new m(-201,!1)}function Jg(e,t){e[Qn]??=[];let n=e[Qn],r;typeof t=="object"&&"multi"in t&&t?.multi===!0?(bl(t.provide,"Token with multi: true should have a provide property"),r=wo(t.provide)):r=wo(t),n[0]!==r&&e[Qn].unshift(r)}function Xg(e,t){let n=e[Qn],r=e[Bs],o=e[Sl]||e.message;return e.message=tm(o,r,n,t),e}function Tl(e,t,n){let r=new m(t,e);return r[Bs]=t,r[Sl]=e,n&&(r[Qn]=n),r}function em(e){return e[Bs]}function tm(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 Ml(){return bs}function ne(e){let t=bs;return bs=e,t}function $s(e,t,n){let r=To(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;No(e,"Injector")}var nm={},Mt=nm,Ss="__NG_DI_FLAG__",Ts=class{injector;constructor(t){this.injector=t}retrieve(t,n){let r=Nt(n)||0;try{return this.injector.get(t,r&8?null:Mt,r)}catch(o){if(tn(o))return o;throw o}}};function rm(e,t=0){let n=zr();if(n===void 0)throw new m(-203,!1);if(n===null)return $s(e,void 0,t);{let r=om(t),o=n.retrieve(e,r);if(tn(o)){if(r.optional)return null;throw o}return o}}function b(e,t=0){return(Ml()||rm)(W(e),t)}function g(e,t){return b(e,Nt(t))}function Nt(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function om(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function Ms(e){let t=[];for(let n=0;n<e.length;n++){let r=W(e[n]);if(Array.isArray(r)){if(r.length===0)throw new m(900,!1);let o,i=0;for(let s=0;s<r.length;s++){let a=r[s],c=im(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(b(o,i))}else t.push(b(r))}return t}function Us(e,t){return e[Ss]=t,e.prototype[Ss]=t,e}function im(e){return e[Ss]}function ct(e,t){let n=e.hasOwnProperty(Kn);return n?e[Kn]:null}function Nl(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 xl(e){return e.flat(Number.POSITIVE_INFINITY)}function xo(e,t){e.forEach(n=>Array.isArray(n)?xo(n,t):t(n))}function zs(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function tr(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Rl(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function Al(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 Ro(e,t,n){let r=vn(e,t);return r>=0?e[r|1]=n:(r=~r,Al(e,r,t,n)),r}function Ao(e,t){let n=vn(e,t);if(n>=0)return e[n|1]}function vn(e,t){return sm(e,t,1)}function sm(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 _e={},ee=[],dt=new w(""),Gs=new w("",-1),Ws=new w(""),Jn=class{get(t,n=Mt){if(n===Mt){let o=Tl("",-201);throw o.name="\u0275NotFound",o}return n}};function ft(e){return e[Ls]||null}function Oo(e){return e[js]||null}function Ol(e){return e[Vs]||null}function Fo(e){return{\u0275providers:e}}function Fl(...e){return{\u0275providers:qs(!0,e),\u0275fromNgModule:!0}}function qs(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return xo(t,s=>{let a=s;_o(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&kl(o,i),n}function kl(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];Zs(o,i=>{t(i,r)})}}function _o(e,t,n,r){if(e=W(e),!e)return!1;let o=null,i=_s(e),s=!i&&ft(e);if(!i&&!s){let c=e.ngModule;if(i=_s(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)_o(u,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let u;try{xo(i.imports,l=>{_o(l,t,n,r)&&(u||=[],u.push(l))})}finally{}u!==void 0&&kl(u,t)}if(!a){let u=ct(o)||(()=>new o);t({provide:o,useFactory:u,deps:ee},o),t({provide:Ws,useValue:o,multi:!0},o),t({provide:dt,useValue:()=>b(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let u=e;Zs(c,l=>{t(l,u)})}}else return!1;return o!==e&&e.providers!==void 0}function Zs(e,t){for(let n of e)Ps(n)&&(n=n.\u0275providers),Array.isArray(n)?Zs(n,t):t(n)}var am=x({provide:String,useValue:x});function Pl(e){return e!==null&&typeof e=="object"&&am in e}function cm(e){return!!(e&&e.useExisting)}function um(e){return!!(e&&e.useFactory)}function xt(e){return typeof e=="function"}function Ll(e){return!!e.useClass}var nr=new w(""),Io={},wl={},ws;function Dn(){return ws===void 0&&(ws=new Jn),ws}var ce=class{},Rt=class extends ce{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,xs(t,s=>this.processProvider(s)),this.records.set(Gs,yn(void 0,this)),o.has("environment")&&this.records.set(ce,yn(void 0,this));let i=this.records.get(nr);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Ws,ee,{self:!0}))}retrieve(t,n){let r=Nt(n)||0;try{return this.get(t,Mt,r)}catch(o){if(tn(o))return o;throw o}}destroy(){Yn(this),this._destroyed=!0;let t=I(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(),I(t)}}onDestroy(t){return Yn(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){Yn(this);let n=je(this),r=ne(void 0),o;try{return t()}finally{je(n),ne(r)}}get(t,n=Mt,r){if(Yn(this),t.hasOwnProperty(Cl))return t[Cl](this);let o=Nt(r),i,s=je(this),a=ne(void 0);try{if(!(o&4)){let u=this.records.get(t);if(u===void 0){let l=hm(t)&&To(t);l&&this.injectableDefInScope(l)?u=yn(Ns(t),Io):u=null,this.records.set(t,u)}if(u!=null)return this.hydrate(t,u,o)}let c=o&2?Dn():this.parent;return n=o&8&&n===Mt?null:n,c.get(t,n)}catch(c){let u=em(c);throw u===-200||u===-201?new m(u,null):c}finally{ne(a),je(s)}}resolveInjectorInitializers(){let t=I(null),n=je(this),r=ne(void 0),o;try{let i=this.get(dt,ee,{self:!0});for(let s of i)s()}finally{je(n),ne(r),I(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(at(r));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=W(t);let n=xt(t)?t:W(t&&t.provide),r=dm(t);if(!xt(t)&&t.multi===!0){let o=this.records.get(n);o||(o=yn(void 0,Io,!0),o.factory=()=>Ms(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n,r){let o=I(null);try{if(n.value===wl)throw Hs(at(t));return n.value===Io&&(n.value=wl,n.value=n.factory(void 0,r)),typeof n.value=="object"&&n.value&&pm(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{I(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=W(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function Ns(e){let t=To(e),n=t!==null?t.factory:ct(e);if(n!==null)return n;if(e instanceof w)throw new m(204,!1);if(e instanceof Function)return lm(e);throw new m(204,!1)}function lm(e){if(e.length>0)throw new m(204,!1);let n=Kg(e);return n!==null?()=>n.factory(e):()=>new e}function dm(e){if(Pl(e))return yn(void 0,e.useValue);{let t=Ys(e);return yn(t,Io)}}function Ys(e,t,n){let r;if(xt(e)){let o=W(e);return ct(o)||Ns(o)}else if(Pl(e))r=()=>W(e.useValue);else if(um(e))r=()=>e.useFactory(...Ms(e.deps||[]));else if(cm(e))r=(o,i)=>b(W(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=W(e&&(e.useClass||e.provide));if(fm(e))r=()=>new o(...Ms(e.deps));else return ct(o)||Ns(o)}return r}function Yn(e){if(e.destroyed)throw new m(205,!1)}function yn(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function fm(e){return!!e.deps}function pm(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function hm(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function xs(e,t){for(let n of e)Array.isArray(n)?xs(n,t):n&&Ps(n)?xs(n.\u0275providers,t):t(n)}function ko(e,t){let n;e instanceof Rt?(Yn(e),n=e):n=new Ts(e);let r,o=je(n),i=ne(void 0);try{return t()}finally{je(o),ne(i)}}function jl(){return Ml()!==void 0||zr()!=null}var be=0,y=1,D=2,q=3,ye=4,oe=5,kt=6,En=7,B=8,Pt=9,Ve=10,R=11,In=12,Qs=13,Lt=14,ie=15,pt=16,jt=17,Be=18,rr=19,Ks=20,ze=21,Po=22,Ge=23,de=24,Vt=25,A=26,Vl=1,Js=6,ht=7,or=8,Bt=9,K=10;function He(e){return Array.isArray(e)&&typeof e[Vl]=="object"}function Se(e){return Array.isArray(e)&&e[Vl]===!0}function Xs(e){return(e.flags&4)!==0}function gt(e){return e.componentOffset>-1}function Cn(e){return(e.flags&1)===1}function Te(e){return!!e.template}function wn(e){return(e[D]&512)!==0}function Ht(e){return(e[D]&256)===256}var ea="svg",Bl="math";function ve(e){for(;Array.isArray(e);)e=e[be];return e}function ta(e,t){return ve(t[e])}function Me(e,t){return ve(t[e.index])}function ir(e,t){return e.data[t]}function sr(e,t){return e[t]}function ar(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function De(e,t){let n=t[e];return He(n)?n:n[be]}function Hl(e){return(e[D]&4)===4}function Lo(e){return(e[D]&128)===128}function $l(e){return Se(e[q])}function Ee(e,t){return t==null?null:e[t]}function na(e){e[jt]=0}function jo(e){e[D]&1024||(e[D]|=1024,Lo(e)&&mt(e))}function Ul(e,t){for(;e>0;)t=t[Lt],e--;return t}function _n(e){return!!(e[D]&9216||e[de]?.dirty)}function Vo(e){e[Ve].changeDetectionScheduler?.notify(8),e[D]&64&&(e[D]|=1024),_n(e)&&mt(e)}function mt(e){e[Ve].changeDetectionScheduler?.notify(0);let t=ut(e);for(;t!==null&&!(t[D]&8192||(t[D]|=8192,!Lo(t)));)t=ut(t)}function ra(e,t){if(Ht(e))throw new m(911,!1);e[ze]===null&&(e[ze]=[]),e[ze].push(t)}function zl(e,t){if(e[ze]===null)return;let n=e[ze].indexOf(t);n!==-1&&e[ze].splice(n,1)}function ut(e){let t=e[q];return Se(t)?t[q]:t}function oa(e){return e[En]??=[]}function ia(e){return e.cleanup??=[]}function Gl(e,t,n,r){let o=oa(t);o.push(n),e.firstCreatePass&&ia(e).push(r,o.length-1)}var _={lFrame:rd(null),bindingsEnabled:!0,skipHydrationRootTNode:null},cr=function(e){return e[e.Off=0]="Off",e[e.Exhaustive=1]="Exhaustive",e[e.OnlyDirtyViews=2]="OnlyDirtyViews",e}(cr||{}),gm=0,Rs=!1;function Wl(){return _.lFrame.elementDepthCount}function ql(){_.lFrame.elementDepthCount++}function sa(){_.lFrame.elementDepthCount--}function Bo(){return _.bindingsEnabled}function aa(){return _.skipHydrationRootTNode!==null}function ca(e){return _.skipHydrationRootTNode===e}function ua(){_.skipHydrationRootTNode=null}function v(){return _.lFrame.lView}function k(){return _.lFrame.tView}function Zl(e){return _.lFrame.contextLView=e,e[B]}function Yl(e){return _.lFrame.contextLView=null,e}function Z(){let e=la();for(;e!==null&&e.type===64;)e=e.parent;return e}function la(){return _.lFrame.currentTNode}function Ql(){let e=_.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function $t(e,t){let n=_.lFrame;n.currentTNode=e,n.isParent=t}function da(){return _.lFrame.isParent}function fa(){_.lFrame.isParent=!1}function pa(){return _.lFrame.contextLView}function ha(e){ks("Must never be called in production mode"),gm=e}function ga(){return Rs}function bn(e){let t=Rs;return Rs=e,t}function ur(){let e=_.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Kl(e){return _.lFrame.bindingIndex=e}function We(){return _.lFrame.bindingIndex++}function ma(e){let t=_.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Jl(){return _.lFrame.inI18n}function Xl(e,t){let n=_.lFrame;n.bindingIndex=n.bindingRootIndex=e,Ho(t)}function ed(){return _.lFrame.currentDirectiveIndex}function Ho(e){_.lFrame.currentDirectiveIndex=e}function td(e){let t=_.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function $o(){return _.lFrame.currentQueryIndex}function lr(e){_.lFrame.currentQueryIndex=e}function mm(e){let t=e[y];return t.type===2?t.declTNode:t.type===1?e[oe]:null}function ya(e,t,n){if(n&4){let o=t,i=e;for(;o=o.parent,o===null&&!(n&1);)if(o=mm(i),o===null||(i=i[Lt],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=_.lFrame=nd();return r.currentTNode=t,r.lView=e,!0}function Uo(e){let t=nd(),n=e[y];_.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function nd(){let e=_.lFrame,t=e===null?null:e.child;return t===null?rd(e):t}function rd(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 od(){let e=_.lFrame;return _.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var va=od;function zo(){let e=od();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 id(e){return(_.lFrame.contextLView=Ul(e,_.lFrame.contextLView))[B]}function $e(){return _.lFrame.selectedIndex}function yt(e){_.lFrame.selectedIndex=e}function dr(){let e=_.lFrame;return ir(e.tView,e.selectedIndex)}function sd(){_.lFrame.currentNamespace=ea}function ad(){ym()}function ym(){_.lFrame.currentNamespace=null}function cd(){return _.lFrame.currentNamespace}var ud=!0;function Go(){return ud}function fr(e){ud=e}function As(e,t=null,n=null,r){let o=ld(e,t,n,r);return o.resolveInjectorInitializers(),o}function ld(e,t=null,n=null,r,o=new Set){let i=[n||ee,Fl(e)];return r=r||(typeof e=="object"?void 0:at(e)),new Rt(i,t||Dn(),r||null,o)}var re=class e{static THROW_IF_NOT_FOUND=Mt;static NULL=new Jn;static create(t,n){if(Array.isArray(t))return As({name:""},n,t,"");{let r=t.name??"";return As({name:r},t.parent,t.providers,r)}}static \u0275prov=C({token:e,providedIn:"any",factory:()=>b(Gs)});static __NG_ELEMENT_ID__=-1},z=new w(""),qe=(()=>{class e{static __NG_ELEMENT_ID__=vm;static __NG_ENV_ID__=n=>n}return e})(),Xn=class extends qe{_lView;constructor(t){super(),this._lView=t}get destroyed(){return Ht(this._lView)}onDestroy(t){let n=this._lView;return ra(n,t),()=>zl(n,t)}};function vm(){return new Xn(v())}var le=class{_console=console;handleError(t){this._console.error("ERROR",t)}},Ze=new w("",{providedIn:"root",factory:()=>{let e=g(ce),t;return n=>{e.destroyed&&!t?setTimeout(()=>{throw n}):(t??=e.get(le),t.handleError(n))}}}),dd={provide:dt,useValue:()=>void g(le),multi:!0};function Da(e){return typeof e=="function"&&e[Q]!==void 0}function Ut(e,t){let[n,r,o]=ds(e,t?.equal),i=n,s=i[Q];return i.set=r,i.update=o,i.asReadonly=Wo.bind(i),i}function Wo(){let e=this[Q];if(e.readonlyFn===void 0){let t=()=>this();t[Q]=e,e.readonlyFn=t}return e.readonlyFn}function Ea(e){return Da(e)&&typeof e.set=="function"}var we=class{},Sn=new w("",{providedIn:"root",factory:()=>!1});var Ia=new w(""),qo=new w("");var Tn=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=Dm}return e})();function Dm(){return new Tn(v(),Z())}var zt=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new zn(!1);get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new F(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=C({token:e,providedIn:"root",factory:()=>new e})}return e})();function Gt(...e){}var pr=(()=>{class e{static \u0275prov=C({token:e,providedIn:"root",factory:()=>new Os})}return e})(),Os=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 kn(e){return{toString:e}.toString()}var Zo="__parameters__";function Tm(e){return function(...n){if(e){let r=e(...n);for(let o in r)this[o]=r[o]}}}function qd(e,t,n){return kn(()=>{let r=Tm(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(Zo)?c[Zo]:Object.defineProperty(c,Zo,{value:[]})[Zo];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 Di=Us(qd("Optional"),8);var Zd=Us(qd("SkipSelf"),4);function Mm(e){return typeof e=="function"}var oi=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function Yd(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var Ei=(()=>{let e=()=>Qd;return e.ngInherit=!0,e})();function Qd(e){return e.type.prototype.ngOnChanges&&(e.setInput=xm),Nm}function Nm(){let e=Jd(this),t=e?.current;if(t){let n=e.previous;if(n===_e)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function xm(e,t,n,r,o){let i=this.declaredInputs[r],s=Jd(e)||Rm(e,{previous:_e,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[i];a[i]=new oi(u&&u.currentValue,n,c===_e),Yd(e,t,o,n)}var Kd="__ngSimpleChanges__";function Jd(e){return e[Kd]||null}function Rm(e,t){return e[Kd]=t}var fd=[];var N=function(e,t=null,n){for(let r=0;r<fd.length;r++){let o=fd[r];o(e,t,n)}};function Am(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=Qd(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 Xd(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 Xo(e,t,n){ef(e,t,3,n)}function ei(e,t,n,r){(e[D]&3)===n&&ef(e,t,n,r)}function Ca(e,t){let n=e[D];(n&3)===t&&(n&=16383,n+=1,e[D]=n)}function ef(e,t,n,r){let o=r!==void 0?e[jt]&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[jt]+=65536),(a<i||i==-1)&&(Om(e,n,t,c),e[jt]=(e[jt]&4294901760)+c+2),c++}function pd(e,t){N(4,e,t);let n=I(null);try{t.call(e)}finally{I(n),N(5,e,t)}}function Om(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[D]>>14<e[jt]>>16&&(e[D]&3)===t&&(e[D]+=16384,pd(a,i)):pd(a,i)}var Nn=-1,Zt=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 Fm(e){return(e.flags&8)!==0}function km(e){return(e.flags&16)!==0}function Pm(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];jm(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function Lm(e){return e===3||e===4||e===6}function jm(e){return e.charCodeAt(0)===64}function xn(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?hd(e,n,o,null,t[++r]):hd(e,n,o,null,null))}}return e}function hd(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 tf(e){return e!==Nn}function ii(e){return e&32767}function Vm(e){return e>>16}function si(e,t){let n=Vm(e),r=t;for(;n>0;)r=r[Lt],n--;return r}var Oa=!0;function ai(e){let t=Oa;return Oa=e,t}var Bm=256,nf=Bm-1,rf=5,Hm=0,Ue={};function $m(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Ot)&&(r=n[Ot]),r==null&&(r=n[Ot]=Hm++);let o=r&nf,i=1<<o;t.data[e+(o>>rf)]|=i}function ci(e,t){let n=of(e,t);if(n!==-1)return n;let r=t[y];r.firstCreatePass&&(e.injectorIndex=t.length,wa(r.data,e),wa(t,null),wa(r.blueprint,null));let o=Ec(e,t),i=e.injectorIndex;if(tf(o)){let s=ii(o),a=si(o,t),c=a[y].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 of(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Ec(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=lf(o),r===null)return Nn;if(n++,o=o[Lt],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Nn}function Fa(e,t,n){$m(e,t,n)}function sf(e,t,n){if(n&8||e!==void 0)return e;No(t,"NodeInjector")}function af(e,t,n,r){if(n&8&&r===void 0&&(r=null),(n&3)===0){let o=e[Pt],i=ne(void 0);try{return o?o.get(t,r,n&8):$s(t,r,n&8)}finally{ne(i)}}return sf(r,t,n)}function cf(e,t,n,r=0,o){if(e!==null){if(t[D]&2048&&!(r&2)){let s=qm(e,t,n,r,Ue);if(s!==Ue)return s}let i=uf(e,t,n,r,Ue);if(i!==Ue)return i}return af(t,n,r,o)}function uf(e,t,n,r,o){let i=zm(n);if(typeof i=="function"){if(!ya(t,e,r))return r&1?sf(o,n,r):af(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&8))No(n);else return s}finally{va()}}else if(typeof i=="number"){let s=null,a=of(e,t),c=Nn,u=r&1?t[ie][oe]:null;for((a===-1||r&4)&&(c=a===-1?Ec(e,t):t[a+8],c===Nn||!md(r,!1)?a=-1:(s=t[y],a=ii(c),t=si(c,t)));a!==-1;){let l=t[y];if(gd(i,a,l.data)){let d=Um(a,t,n,s,r,u);if(d!==Ue)return d}c=t[a+8],c!==Nn&&md(r,t[y].data[a+8]===u)&&gd(i,a,t)?(s=l,a=ii(c),t=si(c,t)):a=-1}}return o}function Um(e,t,n,r,o,i){let s=t[y],a=s.data[e+8],c=r==null?gt(a)&&Oa:r!=s&&(a.type&3)!==0,u=o&1&&i===a,l=ti(a,s,n,c,u);return l!==null?mr(t,s,l,a,o):Ue}function ti(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&&Te(f)&&f.type===n)return c}return null}function mr(e,t,n,r,o){let i=e[n],s=t.data;if(i instanceof Zt){let a=i;if(a.resolving){let f=wo(s[n]);throw Hs(f)}let c=ai(a.canSeeViewProviders);a.resolving=!0;let u=s[n].type||s[n],l,d=a.injectImpl?ne(a.injectImpl):null,p=ya(e,r,0);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&Am(n,s[n],t)}finally{d!==null&&ne(d),ai(c),a.resolving=!1,va()}}return i}function zm(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Ot)?e[Ot]:void 0;return typeof t=="number"?t>=0?t&nf:Gm:t}function gd(e,t,n){let r=1<<e;return!!(n[t+(e>>rf)]&r)}function md(e,t){return!(e&2)&&!(e&1&&t)}var qt=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return cf(this._tNode,this._lView,t,Nt(r),n)}};function Gm(){return new qt(Z(),v())}function Wm(e){return kn(()=>{let t=e.prototype.constructor,n=t[Kn]||ka(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Kn]||ka(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function ka(e){return Fs(e)?()=>{let t=ka(W(e));return t&&t()}:ct(e)}function qm(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[D]&2048&&!wn(s);){let a=uf(i,s,n,r|2,Ue);if(a!==Ue)return a;let c=i.parent;if(!c){let u=s[Ks];if(u){let l=u.get(n,Ue,r);if(l!==Ue)return l}c=lf(s),s=s[Lt]}i=c}return o}function lf(e){let t=e[y],n=t.type;return n===2?t.declTNode:n===1?e[oe]:null}function Zm(){return Pn(Z(),v())}function Pn(e,t){return new Oe(Me(e,t))}var Oe=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=Zm}return e})();function df(e){return e instanceof Oe?e.nativeElement:e}function Ym(){return this._results[Symbol.iterator]()}var ui=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=xl(t);(this._changesDetected=!Nl(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]=Ym};function ff(e){return(e.flags&128)===128}var Ic=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Ic||{}),pf=new Map,Qm=0;function Km(){return Qm++}function Jm(e){pf.set(e[rr],e)}function Pa(e){pf.delete(e[rr])}var yd="__ngContext__";function Rn(e,t){He(t)?(e[yd]=t[rr],Jm(t)):e[yd]=t}function hf(e){return mf(e[In])}function gf(e){return mf(e[ye])}function mf(e){for(;e!==null&&!Se(e);)e=e[ye];return e}var La;function Cc(e){La=e}function wc(){if(La!==void 0)return La;if(typeof document<"u")return document;throw new m(210,!1)}var Ln=new w("",{providedIn:"root",factory:()=>Xm}),Xm="ng",Ii=new w(""),Dt=new w("",{providedIn:"platform",factory:()=>"unknown"});var ey=new w(""),Ci=new w("",{providedIn:"root",factory:()=>wc().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var ty="h",ny="b";var yf="r";var vf="di";var Df=!1,Ef=new w("",{providedIn:"root",factory:()=>Df});var ry=(e,t,n,r)=>{};function oy(e,t,n,r){ry(e,t,n,r)}function wi(e){return(e.flags&32)===32}var iy=()=>null;function If(e,t,n=!1){return iy(e,t,n)}function Cf(e,t){let n=e.contentQueries;if(n!==null){let r=I(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];lr(i),a.contentQueries(2,t[s],s)}}}finally{I(r)}}}function ja(e,t,n){lr(0);let r=I(null);try{t(e,n)}finally{I(r)}}function _c(e,t,n){if(Xs(t)){let r=I(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{I(r)}}}var Ye=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Ye||{}),Yo;function sy(){if(Yo===void 0&&(Yo=null,me.trustedTypes))try{Yo=me.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Yo}function _i(e){return sy()?.createHTML(e)||e}var Qo;function ay(){if(Qo===void 0&&(Qo=null,me.trustedTypes))try{Qo=me.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Qo}function vd(e){return ay()?.createHTML(e)||e}var Qe=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${bo})`}},Va=class extends Qe{getTypeName(){return"HTML"}},Ba=class extends Qe{getTypeName(){return"Style"}},Ha=class extends Qe{getTypeName(){return"Script"}},$a=class extends Qe{getTypeName(){return"URL"}},Ua=class extends Qe{getTypeName(){return"ResourceURL"}};function Fe(e){return e instanceof Qe?e.changingThisBreaksApplicationSecurity:e}function Je(e,t){let n=wf(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${bo})`)}return n===t}function wf(e){return e instanceof Qe&&e.getTypeName()||null}function bc(e){return new Va(e)}function Sc(e){return new Ba(e)}function Tc(e){return new Ha(e)}function Mc(e){return new $a(e)}function Nc(e){return new Ua(e)}function cy(e){let t=new Ga(e);return uy()?new za(t):t}var za=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(_i(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}},Ga=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=_i(t),n}};function uy(){try{return!!new window.DOMParser().parseFromString(_i(""),"text/html")}catch{return!1}}var ly=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function _r(e){return e=String(e),e.match(ly)?e:"unsafe:"+e}function Xe(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function br(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var _f=Xe("area,br,col,hr,img,wbr"),bf=Xe("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Sf=Xe("rp,rt"),dy=br(Sf,bf),fy=br(bf,Xe("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")),py=br(Sf,Xe("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")),Dd=br(_f,fy,py,dy),Tf=Xe("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),hy=Xe("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=Xe("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"),my=br(Tf,hy,gy),yy=Xe("script,style,template"),Wa=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=Ey(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=Dy(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=Ed(t).toLowerCase();if(!Dd.hasOwnProperty(n))return this.sanitizedSomething=!0,!yy.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(!my.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;Tf[a]&&(c=_r(c)),this.buf.push(" ",s,'="',Id(c),'"')}return this.buf.push(">"),!0}endElement(t){let n=Ed(t).toLowerCase();Dd.hasOwnProperty(n)&&!_f.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Id(t))}};function vy(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function Dy(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw Mf(t);return t}function Ey(e){let t=e.firstChild;if(t&&vy(e,t))throw Mf(t);return t}function Ed(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function Mf(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var Iy=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Cy=/([^\#-~ |!])/g;function Id(e){return e.replace(/&/g,"&").replace(Iy,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(Cy,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var Ko;function bi(e,t){let n=null;try{Ko=Ko||cy(e);let r=t?String(t):"";n=Ko.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=Ko.getInertBodyElement(r)}while(r!==i);let a=new Wa().sanitizeChildren(Cd(n)||n);return _i(a)}finally{if(n){let r=Cd(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function Cd(e){return"content"in e&&wy(e)?e.content:null}function wy(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var ke=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}(ke||{});function _y(e){let t=Nf();return t?vd(t.sanitize(ke.HTML,e)||""):Je(e,"HTML")?vd(Fe(e)):bi(wc(),Ft(e))}function by(e){let t=Nf();return t?t.sanitize(ke.URL,e)||"":Je(e,"URL")?Fe(e):_r(Ft(e))}function Nf(){let e=v();return e&&e[Ve].sanitizer}var Sy=/^>|^->|<!--|-->|--!>|<!-$/g,Ty=/(<|>)/g,My="\u200B$1\u200B";function Ny(e){return e.replace(Sy,t=>t.replace(Ty,My))}function xy(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 xf="ng-template";function Ry(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&xy(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(xc(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 xc(e){return e.type===4&&e.value!==xf}function Ay(e,t,n){let r=e.type===4&&!n?xf:e.value;return t===r}function Oy(e,t,n){let r=4,o=e.attrs,i=o!==null?Py(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!Ne(r)&&!Ne(c))return!1;if(s&&Ne(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!Ay(e,c,n)||c===""&&t.length===1){if(Ne(r))return!1;s=!0}}else if(r&8){if(o===null||!Ry(e,o,c,n)){if(Ne(r))return!1;s=!0}}else{let u=t[++a],l=Fy(c,o,xc(e),n);if(l===-1){if(Ne(r))return!1;s=!0;continue}if(u!==""){let d;if(l>i?d="":d=o[l+1].toLowerCase(),r&2&&u!==d){if(Ne(r))return!1;s=!0}}}}return Ne(r)||s}function Ne(e){return(e&1)===0}function Fy(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 Ly(t,e)}function Rf(e,t,n=!1){for(let r=0;r<t.length;r++)if(Oy(e,t[r],n))return!0;return!1}function ky(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if((n&1)===0)return t[n+1]}return null}function Py(e){for(let t=0;t<e.length;t++){let n=e[t];if(Lm(n))return t}return e.length}function Ly(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 jy(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 wd(e,t){return e?":not("+t.trim()+")":t}function Vy(e){let t=e[0],n=1,r=2,o="",i=!1;for(;n<e.length;){let s=e[n];if(typeof s=="string")if(r&2){let a=e[++n];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!Ne(s)&&(t+=wd(i,o),o=""),r=s,i=i||!Ne(r);n++}return o!==""&&(t+=wd(i,o)),t}function By(e){return e.map(Vy).join(",")}function Hy(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(!Ne(o))break;o=i}r++}return n.length&&t.push(1,...n),t}var pe={};function $y(e,t){return e.createText(t)}function Uy(e,t,n){e.setValue(t,n)}function zy(e,t){return e.createComment(Ny(t))}function Af(e,t,n){return e.createElement(t,n)}function li(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Of(e,t,n){e.appendChild(t,n)}function _d(e,t,n,r,o){r!==null?li(e,t,n,r,o):Of(e,t,n)}function Ff(e,t,n){e.removeChild(null,t,n)}function Gy(e,t,n){e.setAttribute(t,"style",n)}function Wy(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function kf(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&Pm(e,t,r),o!==null&&Wy(e,t,o),i!==null&&Gy(e,t,i)}function Rc(e,t,n,r,o,i,s,a,c,u,l){let d=A+r,p=d+o,f=qy(d,p),h=typeof u=="function"?u():u;return f[y]={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 qy(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:pe);return n}function Zy(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=Rc(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Ac(e,t,n,r,o,i,s,a,c,u,l){let d=t.blueprint.slice();return d[be]=o,d[D]=r|4|128|8|64|1024,(u!==null||e&&e[D]&2048)&&(d[D]|=2048),na(d),d[q]=d[Lt]=e,d[B]=n,d[Ve]=s||e&&e[Ve],d[R]=a||e&&e[R],d[Pt]=c||e&&e[Pt]||null,d[oe]=i,d[rr]=Km(),d[kt]=l,d[Ks]=u,d[ie]=t.type==2?e[ie]:d,d}function Yy(e,t,n){let r=Me(t,e),o=Zy(n),i=e[Ve].rendererFactory,s=Oc(e,Ac(e,o,null,Pf(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function Pf(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Lf(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 Oc(e,t){return e[In]?e[Qs][ye]=t:e[In]=t,e[Qs]=t,t}function jf(e=1){Vf(k(),v(),$e()+e,!1)}function Vf(e,t,n,r){if(!r)if((t[D]&3)===3){let i=e.preOrderCheckHooks;i!==null&&Xo(t,i,n)}else{let i=e.preOrderHooks;i!==null&&ei(t,i,0,n)}yt(n)}var Si=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Si||{});function qa(e,t,n,r){let o=I(null);try{let[i,s,a]=e.inputs[n],c=null;(s&Si.SignalBased)!==0&&(c=t[i][Q]),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):Yd(t,c,i,r)}finally{I(o)}}var Ae=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Ae||{}),Qy;function Fc(e,t){return Qy(e,t)}function Mn(e,t,n,r,o){if(r!=null){let i,s=!1;Se(r)?i=r:He(r)&&(s=!0,r=r[be]);let a=ve(r);e===0&&n!==null?o==null?Of(t,n,a):li(t,n,a,o||null,!0):e===1&&n!==null?li(t,n,a,o||null,!0):e===2?Ff(t,a,s):e===3&&t.destroyNode(a),i!=null&&sv(t,e,i,n,o)}}function Ky(e,t){Bf(e,t),t[be]=null,t[oe]=null}function Jy(e,t,n,r,o,i){r[be]=o,r[oe]=t,Mi(e,r,n,1,o,i)}function Bf(e,t){t[Ve].changeDetectionScheduler?.notify(9),Mi(e,t,t[R],2,null,null)}function Xy(e){let t=e[In];if(!t)return _a(e[y],e);for(;t;){let n=null;if(He(t))n=t[In];else{let r=t[K];r&&(n=r)}if(!n){for(;t&&!t[ye]&&t!==e;)He(t)&&_a(t[y],t),t=t[q];t===null&&(t=e),He(t)&&_a(t[y],t),n=t&&t[ye]}t=n}}function kc(e,t){let n=e[Bt],r=n.indexOf(t);n.splice(r,1)}function Ti(e,t){if(Ht(t))return;let n=t[R];n.destroyNode&&Mi(e,t,n,3,null,null),Xy(t)}function _a(e,t){if(Ht(t))return;let n=I(null);try{t[D]&=-129,t[D]|=256,t[de]&&wt(t[de]),tv(e,t),ev(e,t),t[y].type===1&&t[R].destroy();let r=t[pt];if(r!==null&&Se(t[q])){r!==t[q]&&kc(r,t);let o=t[Be];o!==null&&o.detachView(e)}Pa(t)}finally{I(n)}}function ev(e,t){let n=e.cleanup,r=t[En];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[En]=null);let o=t[ze];if(o!==null){t[ze]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[Ge];if(i!==null){t[Ge]=null;for(let s of i)s.destroy()}}function tv(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 Zt)){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];N(4,a,c);try{c.call(a)}finally{N(5,a,c)}}else{N(4,o,i);try{i.call(o)}finally{N(5,o,i)}}}}}function Hf(e,t,n){return nv(e,t.parent,n)}function nv(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[be];if(gt(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===Ye.None||o===Ye.Emulated)return null}return Me(r,n)}function $f(e,t,n){return ov(e,t,n)}function rv(e,t,n){return e.type&40?Me(e,n):null}var ov=rv,bd;function Pc(e,t,n,r){let o=Hf(e,r,t),i=t[R],s=r.parent||t[oe],a=$f(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)_d(i,o,n[c],a,!1);else _d(i,o,n,a,!1);bd!==void 0&&bd(i,r,t,n,o)}function hr(e,t){if(t!==null){let n=t.type;if(n&3)return Me(t,e);if(n&4)return Za(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return hr(e,r);{let o=e[t.index];return Se(o)?Za(-1,o):ve(o)}}else{if(n&128)return hr(e,t.next);if(n&32)return Fc(t,e)()||ve(e[t.index]);{let r=Uf(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=ut(e[ie]);return hr(o,r)}else return hr(e,t.next)}}}return null}function Uf(e,t){if(t!==null){let r=e[ie][oe],o=t.projection;return r.projection[o]}return null}function Za(e,t){let n=K+e+1;if(n<t.length){let r=t[n],o=r[y].firstChild;if(o!==null)return hr(r,o)}return t[ht]}function Lc(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&&Rn(ve(a),r),n.flags|=2),!wi(n))if(c&8)Lc(e,t,n.child,r,o,i,!1),Mn(t,e,o,a,i);else if(c&32){let u=Fc(n,r),l;for(;l=u();)Mn(t,e,o,l,i);Mn(t,e,o,a,i)}else c&16?zf(e,t,r,n,o,i):Mn(t,e,o,a,i);n=s?n.projectionNext:n.next}}function Mi(e,t,n,r,o,i){Lc(n,r,e.firstChild,t,o,i,!1)}function iv(e,t,n){let r=t[R],o=Hf(e,n,t),i=n.parent||t[oe],s=$f(i,n,t);zf(r,0,t,n,o,s)}function zf(e,t,n,r,o,i){let s=n[ie],c=s[oe].projection[r.projection];if(Array.isArray(c))for(let u=0;u<c.length;u++){let l=c[u];Mn(t,e,o,l,i)}else{let u=c,l=s[q];ff(r)&&(u.flags|=128),Lc(e,t,u,l,o,i,!0)}}function sv(e,t,n,r,o){let i=n[ht],s=ve(n);i!==s&&Mn(t,e,r,i,o);for(let a=K;a<n.length;a++){let c=n[a];Mi(c[y],c,e,t,r,i)}}function av(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:Ae.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Ae.Important),e.setStyle(n,r,o,i))}}function Gf(e,t,n,r,o){let i=$e(),s=r&2;try{yt(-1),s&&t.length>A&&Vf(e,t,A,!1),N(s?2:0,o,n),n(r,o)}finally{yt(i),N(s?3:1,o,n)}}function Ni(e,t,n){pv(e,t,n),(n.flags&64)===64&&hv(e,t,n)}function jn(e,t,n=Me){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 cv(e,t,n,r){let i=r.get(Ef,Df)||n===Ye.ShadowDom,s=e.selectRootElement(t,i);return uv(s),s}function uv(e){lv(e)}var lv=()=>null;function dv(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function Wf(e,t,n,r,o,i){let s=t[y];if(Vc(e,s,t,n,r)){gt(e)&&fv(t,e.index);return}e.type&3&&(n=dv(n)),qf(e,t,n,r,o,i)}function qf(e,t,n,r,o,i){if(e.type&3){let s=Me(e,t);r=i!=null?i(r,e.value||"",n):r,o.setProperty(s,n,r)}else e.type&12}function fv(e,t){let n=De(t,e);n[D]&16||(n[D]|=64)}function pv(e,t,n){let r=n.directiveStart,o=n.directiveEnd;gt(n)&&Yy(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||ci(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=mr(t,e,s,n);if(Rn(c,t),i!==null&&vv(t,s-r,c,a,n,i),Te(a)){let u=De(n.index,t);u[B]=mr(t,e,s,n)}}}function hv(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=ed();try{yt(i);for(let a=r;a<o;a++){let c=e.data[a],u=t[a];Ho(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&gv(c,u)}}finally{yt(-1),Ho(s)}}function gv(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function jc(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];Rf(t,i.selectors,!1)&&(r??=[],Te(i)?r.unshift(i):r.push(i))}return r}function mv(e,t,n,r,o,i){let s=Me(e,t);yv(t[R],s,i,e.value,n,r,o)}function yv(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?Ft(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function vv(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];qa(r,n,c,u)}}function xi(e,t,n,r,o){let i=A+n,s=t[y],a=o(s,t,e,r,n);t[i]=a,$t(e,!0);let c=e.type===2;return c?(kf(t[R],a,e),(Wl()===0||Cn(e))&&Rn(a,t),ql()):Rn(a,t),Go()&&(!c||!wi(e))&&Pc(s,t,a,e),e}function Ri(e){let t=e;return da()?fa():(t=t.parent,$t(t,!1)),t}function Dv(e,t){let n=e[Pt];if(!n)return;n.get(Ze,null)?.(t)}function Vc(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];qa(d,n[u],l,o),a=!0}if(i)for(let c of i){let u=n[c],l=t.data[c];qa(l,u,r,o),a=!0}return a}function Ev(e,t){let n=De(t,e),r=n[y];Iv(r,n);let o=n[be];o!==null&&n[kt]===null&&(n[kt]=If(o,n[Pt])),N(18),Bc(r,n,n[B]),N(19,n[B])}function Iv(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function Bc(e,t,n){Uo(t);try{let r=e.viewQuery;r!==null&&ja(1,r,n);let o=e.template;o!==null&&Gf(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[Be]?.finishViewCreation(e),e.staticContentQueries&&Cf(e,t),e.staticViewQueries&&ja(2,e.viewQuery,n);let i=e.components;i!==null&&Cv(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[D]&=-5,zo()}}function Cv(e,t){for(let n=0;n<t.length;n++)Ev(e,t[n])}function Sr(e,t,n,r){let o=I(null);try{let i=t.tView,a=e[D]&4096?4096:16,c=Ac(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[Be];return l!==null&&(c[Be]=l.createEmbeddedView(i)),Bc(i,c,n),c}finally{I(o)}}function An(e,t){return!t||t.firstChild===null||ff(e)}var Sd=!1,wv=new w("");function yr(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(ve(i)),Se(i)&&Zf(i,r);let s=n.type;if(s&8)yr(e,t,n.child,r);else if(s&32){let a=Fc(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=Uf(t,n);if(Array.isArray(a))r.push(...a);else{let c=ut(t[ie]);yr(c[y],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function Zf(e,t){for(let n=K;n<e.length;n++){let r=e[n],o=r[y].firstChild;o!==null&&yr(r[y],r,o,t)}e[ht]!==e[be]&&t.push(e[ht])}function Yf(e){if(e[Vt]!==null){for(let t of e[Vt])t.impl.addSequence(t);e[Vt].length=0}}var Qf=[];function _v(e){return e[de]??bv(e)}function bv(e){let t=Qf.pop()??Object.create(Tv);return t.lView=e,t}function Sv(e){e.lView[de]!==e&&(e.lView=null,Qf.push(e))}var Tv=J(Y({},It),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{mt(e.lView)},consumerOnSignalRead(){this.lView[de]=this}});function Mv(e){let t=e[de]??Object.create(Nv);return t.lView=e,t}var Nv=J(Y({},It),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=ut(e.lView);for(;t&&!Kf(t[y]);)t=ut(t);t&&jo(t)},consumerOnSignalRead(){this.lView[de]=this}});function Kf(e){return e.type!==2}function Jf(e){if(e[Ge]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[Ge])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[D]&8192)}}var xv=100;function Hc(e,t=0){let r=e[Ve].rendererFactory,o=!1;o||r.begin?.();try{Rv(e,t)}finally{o||r.end?.()}}function Rv(e,t){let n=ga();try{bn(!0),Ya(e,t);let r=0;for(;_n(e);){if(r===xv)throw new m(103,!1);r++,Ya(e,1)}}finally{bn(n)}}function Xf(e,t){ha(t?cr.Exhaustive:cr.OnlyDirtyViews);try{Hc(e)}finally{ha(cr.Off)}}function Av(e,t,n,r){if(Ht(t))return;let o=t[D],i=!1,s=!1;Uo(t);let a=!0,c=null,u=null;i||(Kf(e)?(u=_v(t),c=Ct(u)):qr()===null?(a=!1,u=Mv(t),c=Ct(u)):t[de]&&(wt(t[de]),t[de]=null));try{na(t),Kl(e.bindingStartIndex),n!==null&&Gf(e,t,n,2,r);let l=(o&3)===3;if(!i)if(l){let f=e.preOrderCheckHooks;f!==null&&Xo(t,f,null)}else{let f=e.preOrderHooks;f!==null&&ei(t,f,0,null),Ca(t,0)}if(s||Ov(t),Jf(t),ep(t,0),e.contentQueries!==null&&Cf(e,t),!i)if(l){let f=e.contentCheckHooks;f!==null&&Xo(t,f)}else{let f=e.contentHooks;f!==null&&ei(t,f,1),Ca(t,1)}kv(e,t);let d=e.components;d!==null&&np(t,d,0);let p=e.viewQuery;if(p!==null&&ja(2,p,r),!i)if(l){let f=e.viewCheckHooks;f!==null&&Xo(t,f)}else{let f=e.viewHooks;f!==null&&ei(t,f,2),Ca(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Po]){for(let f of t[Po])f();t[Po]=null}i||(Yf(t),t[D]&=-73)}catch(l){throw i||mt(t),l}finally{u!==null&&(rn(u,c),a&&Sv(u)),zo()}}function ep(e,t){for(let n=hf(e);n!==null;n=gf(n))for(let r=K;r<n.length;r++){let o=n[r];tp(o,t)}}function Ov(e){for(let t=hf(e);t!==null;t=gf(t)){if(!(t[D]&2))continue;let n=t[Bt];for(let r=0;r<n.length;r++){let o=n[r];jo(o)}}}function Fv(e,t,n){N(18);let r=De(t,e);tp(r,n),N(19,r[B])}function tp(e,t){Lo(e)&&Ya(e,t)}function Ya(e,t){let r=e[y],o=e[D],i=e[de],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&on(i)),s||=!1,i&&(i.dirty=!1),e[D]&=-9217,s)Av(r,e,r.template,e[B]);else if(o&8192){let a=I(null);try{Jf(e),ep(e,1);let c=r.components;c!==null&&np(e,c,1),Yf(e)}finally{I(a)}}}function np(e,t,n){for(let r=0;r<t.length;r++)Fv(e,t[r],n)}function kv(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)yt(~o);else{let i=o,s=n[++r],a=n[++r];Xl(s,i);let c=t[i];N(24,c),a(2,c),N(25,c)}}}finally{yt(-1)}}function $c(e,t){let n=ga()?64:1088;for(e[Ve].changeDetectionScheduler?.notify(t);e;){e[D]|=n;let r=ut(e);if(wn(e)&&!r)return e;e=r}return null}function rp(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function op(e,t){let n=K+t;if(n<e.length)return e[n]}function Tr(e,t,n,r=!0){let o=t[y];if(Pv(o,t,e,n),r){let s=Za(n,e),a=t[R],c=a.parentNode(e[ht]);c!==null&&Jy(o,e[oe],a,t,c,s)}let i=t[kt];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function ip(e,t){let n=vr(e,t);return n!==void 0&&Ti(n[y],n),n}function vr(e,t){if(e.length<=K)return;let n=K+t,r=e[n];if(r){let o=r[pt];o!==null&&o!==e&&kc(o,r),t>0&&(e[n-1][ye]=r[ye]);let i=tr(e,K+t);Ky(r[y],r);let s=i[Be];s!==null&&s.detachView(i[y]),r[q]=null,r[ye]=null,r[D]&=-129}return r}function Pv(e,t,n,r){let o=K+r,i=n.length;r>0&&(n[o-1][ye]=t),r<i-K?(t[ye]=n[o],zs(n,K+r,t)):(n.push(t),t[ye]=null),t[q]=n;let s=t[pt];s!==null&&n!==s&&sp(s,t);let a=t[Be];a!==null&&a.insertView(e),Vo(t),t[D]|=128}function sp(e,t){let n=e[Bt],r=t[q];if(He(r))e[D]|=2;else{let o=r[q][ie];t[ie]!==o&&(e[D]|=2)}n===null?e[Bt]=[t]:n.push(t)}var vt=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let t=this._lView,n=t[y];return yr(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n}get context(){return this._lView[B]}set context(t){this._lView[B]=t}get destroyed(){return Ht(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[q];if(Se(t)){let n=t[or],r=n?n.indexOf(this):-1;r>-1&&(vr(t,r),tr(n,r))}this._attachedToViewContainer=!1}Ti(this._lView[y],this._lView)}onDestroy(t){ra(this._lView,t)}markForCheck(){$c(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[D]&=-129}reattach(){Vo(this._lView),this._lView[D]|=128}detectChanges(){this._lView[D]|=1024,Hc(this._lView)}checkNoChanges(){return;try{this.exhaustive??=this._lView[Pt].get(wv,Sd)}catch{this.exhaustive=Sd}}attachToViewContainerRef(){if(this._appRef)throw new m(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=wn(this._lView),n=this._lView[pt];n!==null&&!t&&kc(n,this._lView),Bf(this._lView[y],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new m(902,!1);this._appRef=t;let n=wn(this._lView),r=this._lView[pt];r!==null&&!n&&sp(r,this._lView),Vo(this._lView)}};function Lv(e){return _n(e._lView)||!!(e._lView[D]&64)}function jv(e){jo(e._lView)}var Yt=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=Vv;constructor(n,r,o){this._declarationLView=n,this._declarationTContainer=r,this.elementRef=o}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,r){return this.createEmbeddedViewImpl(n,r)}createEmbeddedViewImpl(n,r,o){let i=Sr(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:r,dehydratedView:o});return new vt(i)}}return e})();function Vv(){return Ai(Z(),v())}function Ai(e,t){return e.type&4?new Yt(t,e,Pn(e,t)):null}function Kt(e,t,n,r,o){let i=e.data[t];if(i===null)i=Bv(e,t,n,r,o),Jl()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=Ql();i.injectorIndex=s===null?-1:s.injectorIndex}return $t(i,!0),i}function Bv(e,t,n,r,o){let i=la(),s=da(),a=s?i:i&&i.parent,c=e.data[t]=$v(e,a,n,t,r,o);return Hv(e,c,i,s),c}function Hv(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 $v(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return aa()&&(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 uN=new RegExp(`^(\\d+)*(${ny}|${ty})*(.*)`);function Uv(e){let t=e[Js]??[],r=e[q][R],o=[];for(let i of t)i.data[vf]!==void 0?o.push(i):zv(i,r);e[Js]=o}function zv(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[yf];for(;n<o;){let i=r.nextSibling;Ff(t,r,!1),r=i,n++}}}var Gv=()=>null,Wv=()=>null;function di(e,t){return Gv(e,t)}function ap(e,t,n){return Wv(e,t,n)}var cp=class{},Oi=class{},Qa=class{resolveComponentFactory(t){throw new m(917,!1)}},Fi=class{static NULL=new Qa},Ke=class{},Mr=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>qv()}return e})();function qv(){let e=v(),t=Z(),n=De(t.index,e);return(He(n)?n:e)[R]}var up=(()=>{class e{static \u0275prov=C({token:e,providedIn:"root",factory:()=>null})}return e})();var ni={},Ka=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){let o=this.injector.get(t,ni,r);return o!==ni||n===ni?o:this.parentInjector.get(t,n,r)}};function fi(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=So(o,a);else if(i==2){let c=a,u=t[++s];r=So(r,c+": "+u+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function se(e,t=0){let n=v();if(n===null)return b(e,t);let r=Z();return cf(r,n,W(e),t)}function lp(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}Qv(e,t,n,a,i,c,u)}i!==null&&r!==null&&Zv(n,r,i)}function Zv(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 m(-301,!1);r.push(t[o],i)}}function Yv(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function Qv(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&&Te(f)&&(c=!0,Yv(e,n,p)),Fa(ci(n,t),e,f.type)}nD(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=Lf(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let p=0;p<a;p++){let f=r[p];if(n.mergedAttrs=xn(n.mergedAttrs,f.hostAttrs),Jv(e,n,t,d,f),tD(d,f,o),s!==null&&s.has(f)){let[E,M]=s.get(f);n.directiveToIndex.set(f.type,[d,E+n.directiveStart,M+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++}Kv(e,n,i)}function Kv(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let o=e.data[r];if(n===null||!n.has(o))Td(0,t,o,r),Td(1,t,o,r),Nd(t,r,!1);else{let i=n.get(o);Md(0,t,i,r),Md(1,t,i,r),Nd(t,r,!0)}}}function Td(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),dp(t,i)}}function Md(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),dp(t,s)}}function dp(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function Nd(e,t,n){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!n&&o===null||n&&i===null||xc(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 Jv(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=ct(o.type,!0)),s=new Zt(i,Te(o),se,null);e.blueprint[r]=s,n[r]=s,Xv(e,t,r,Lf(e,n,o.hostVars,pe),o)}function Xv(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;eD(s)!=a&&s.push(a),s.push(n,r,i)}}function eD(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function tD(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Te(t)&&(n[""]=e)}}function nD(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Uc(e,t,n,r,o,i,s,a){let c=t[y],u=c.consts,l=Ee(u,s),d=Kt(c,e,n,r,l);return i&&lp(c,t,d,Ee(u,a),o),d.mergedAttrs=xn(d.mergedAttrs,d.attrs),d.attrs!==null&&fi(d,d.attrs,!1),d.mergedAttrs!==null&&fi(d,d.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,d),d}function zc(e,t){Xd(e,t),Xs(t)&&e.queries.elementEnd(t)}function fp(e,t,n,r,o,i){let s=t.consts,a=Ee(s,o),c=Kt(t,e,n,r,a);if(c.mergedAttrs=xn(c.mergedAttrs,c.attrs),i!=null){let u=Ee(s,i);c.localNames=[];for(let l=0;l<u.length;l+=2)c.localNames.push(u[l],-1)}return c.attrs!==null&&fi(c,c.attrs,!1),c.mergedAttrs!==null&&fi(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}function Gc(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function pp(e,t,n){return e[t]=n}function fe(e,t,n){if(n===pe)return!1;let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function rD(e,t,n,r){let o=fe(e,t,n);return fe(e,t+1,r)||o}function ri(e,t,n){return function r(o){let i=gt(e)?De(e.index,t):t;$c(i,5);let s=t[B],a=xd(t,s,n,o),c=r.__ngNextListenerFn__;for(;c;)a=xd(t,s,c,o)&&a,c=c.__ngNextListenerFn__;return a}}function xd(e,t,n,r){let o=I(null);try{return N(6,t,n),n(r)!==!1}catch(i){return Dv(e,i),!1}finally{N(7,t,n),I(o)}}function hp(e,t,n,r,o,i,s,a){let c=Cn(e),u=!1,l=null;if(!r&&c&&(l=oD(t,n,i,e.index)),l!==null){let d=l.__ngLastListenerFn__||l;d.__ngNextListenerFn__=s,l.__ngLastListenerFn__=s,u=!0}else{let d=Me(e,n),p=r?r(d):d;oy(n,p,i,a);let f=o.listen(p,i,a),h=r?E=>r(ve(E[e.index])):e.index;gp(h,t,n,i,a,f,!1)}return u}function oD(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[En],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function gp(e,t,n,r,o,i,s){let a=t.firstCreatePass?ia(t):null,c=oa(n),u=c.length;c.push(o,i),a&&a.push(r,e,u,(u+1)*(s?-1:1))}function Rd(e,t,n,r,o,i){let s=t[n],a=t[y],u=a.data[n].outputs[r],d=s[u].subscribe(i);gp(e.index,a,t,o,i,d,!0)}var Ja=Symbol("BINDING");var Xa=class extends Fi{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=ft(t);return new On(n,this.ngModule)}};function iD(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&Si.SignalBased)!==0};return o&&(i.transform=o),i})}function sD(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function aD(e,t,n){let r=t instanceof ce?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new Ka(n,r):n}function cD(e){let t=e.get(Ke,null);if(t===null)throw new m(407,!1);let n=e.get(up,null),r=e.get(we,null);return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r,ngReflect:!1}}function uD(e,t){let n=(e.selectors[0][0]||"div").toLowerCase();return Af(t,n,n==="svg"?ea:n==="math"?Bl:null)}var On=class extends Oi{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=iD(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=sD(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=By(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o,i,s){N(22);let a=I(null);try{let c=this.componentDef,u=lD(r,c,s,i),l=aD(c,o||this.ngModule,t),d=cD(l),p=d.rendererFactory.createRenderer(null,c),f=r?cv(p,r,c.encapsulation,l):uD(c,p),h=s?.some(Ad)||i?.some(S=>typeof S!="function"&&S.bindings.some(Ad)),E=Ac(null,u,null,512|Pf(c),null,null,d,p,l,null,If(f,l,!0));E[A]=f,Uo(E);let M=null;try{let S=Uc(A,E,2,"#host",()=>u.directiveRegistry,!0,0);f&&(kf(p,f,S),Rn(f,E)),Ni(u,E,S),_c(u,S,E),zc(u,S),n!==void 0&&fD(S,this.ngContentSelectors,n),M=De(S.index,E),E[B]=M[B],Bc(u,E,null)}catch(S){throw M!==null&&Pa(M),Pa(E),S}finally{N(23),zo()}return new pi(this.componentType,E,!!h)}finally{I(a)}}};function lD(e,t,n,r){let o=e?["ng-version","20.1.7"]:Hy(t.selectors[0]),i=null,s=null,a=0;if(n)for(let l of n)a+=l[Ja].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[Ja].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=Oo(d);c.push(p)}return Rc(0,null,dD(i,s),1,a,c,null,null,null,[o],null)}function dD(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 Ad(e){let t=e[Ja].kind;return t==="input"||t==="twoWay"}var pi=class extends cp{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=ir(n[y],A),this.location=Pn(this._tNode,n),this.instance=De(this._tNode.index,n)[B],this.hostView=this.changeDetectorRef=new vt(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=Vc(r,o[y],o,t,n);this.previousInputValues.set(t,n);let s=De(r.index,o);$c(s,1)}get injector(){return new qt(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function fD(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 Jt=(()=>{class e{static __NG_ELEMENT_ID__=pD}return e})();function pD(){let e=Z();return yp(e,v())}var hD=Jt,mp=class extends hD{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Pn(this._hostTNode,this._hostLView)}get injector(){return new qt(this._hostTNode,this._hostLView)}get parentInjector(){let t=Ec(this._hostTNode,this._hostLView);if(tf(t)){let n=si(t,this._hostLView),r=ii(t),o=n[y].data[r+8];return new qt(o,n)}else return new qt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=Od(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-K}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=di(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,An(this._hostTNode,s)),a}createComponent(t,n,r,o,i,s,a){let c=t&&!Mm(t),u;if(c)u=n;else{let M=n||{};u=M.index,r=M.injector,o=M.projectableNodes,i=M.environmentInjector||M.ngModuleRef,s=M.directives,a=M.bindings}let l=c?t:new On(ft(t)),d=r||this.parentInjector;if(!i&&l.ngModule==null){let S=(c?d:this.parentInjector).get(ce,null);S&&(i=S)}let p=ft(l.componentType??{}),f=di(this._lContainer,p?.id??null),h=f?.firstChild??null,E=l.create(d,o,h,i,s,a);return this.insertImpl(E.hostView,u,An(this._hostTNode,f)),E}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if($l(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[q],u=new mp(c,c[oe],c[q]);u.detach(u.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return Tr(s,o,i,r),t.attachToViewContainerRef(),zs(ba(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Od(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=vr(this._lContainer,n);r&&(tr(ba(this._lContainer),n),Ti(r[y],r))}detach(t){let n=this._adjustIndex(t,-1),r=vr(this._lContainer,n);return r&&tr(ba(this._lContainer),n)!=null?new vt(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Od(e){return e[or]}function ba(e){return e[or]||(e[or]=[])}function yp(e,t){let n,r=t[e.index];return Se(r)?n=r:(n=rp(r,t,null,e),t[e.index]=n,Oc(t,n)),mD(n,t,e,r),new mp(n,e,t)}function gD(e,t){let n=e[R],r=n.createComment(""),o=Me(t,e),i=n.parentNode(o);return li(n,i,r,n.nextSibling(o),!1),r}var mD=DD,yD=()=>!1;function vD(e,t,n){return yD(e,t,n)}function DD(e,t,n,r){if(e[ht])return;let o;n.type&8?o=ve(r):o=gD(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()}},tc=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++)qc(t,n).matches!==null&&this.queries[n].setDirty()}},nc=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=bD(t):this.predicate=t}},rc=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)}},oc=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,ED(n,i)),this.matchTNodeWithReadOption(t,n,ti(n,t,i,!1,!1))}else r===Yt?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,ti(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===Oe||o===Jt||o===Yt&&n.type&4)this.addMatch(n.index,-2);else{let i=ti(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 ED(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 ID(e,t){return e.type&11?Pn(e,t):e.type&4?Ai(e,t):null}function CD(e,t,n,r){return n===-1?ID(t,e):n===-2?wD(e,t,r):mr(e,e[y],n,t)}function wD(e,t,n){if(n===Oe)return Pn(t,e);if(n===Yt)return Ai(t,e);if(n===Jt)return yp(t,e)}function vp(e,t,n,r){let o=t[Be].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(CD(t,l,s[c+1],n.metadata.read))}}o.matches=a}return o.matches}function ic(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=vp(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=K;d<l.length;d++){let p=l[d];p[pt]===p[q]&&ic(p[y],p,u,r)}if(l[Bt]!==null){let d=l[Bt];for(let p=0;p<d.length;p++){let f=d[p];ic(f[y],f,u,r)}}}}}return r}function Wc(e,t){return e[Be].queries[t].queryList}function _D(e,t,n){let r=new ui((n&4)===4);return Gl(e,t,r,r.destroy),(t[Be]??=new tc).queries.push(new ec(r))-1}function Dp(e,t,n){let r=k();return r.firstCreatePass&&(SD(r,new nc(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),_D(r,v(),t)}function bD(e){return e.split(",").map(t=>t.trim())}function SD(e,t,n){e.queries===null&&(e.queries=new rc),e.queries.track(new oc(t,n))}function qc(e,t){return e.queries.getByIndex(t)}function Ep(e,t){let n=e[y],r=qc(n,t);return r.crossesNgTemplate?ic(n,e,t,[]):vp(n,e,r,t)}function Ip(e,t,n){let r,o=$n(()=>{r._dirtyCounter();let i=MD(r,e);if(t&&i===void 0)throw new m(-951,!1);return i});return r=o[Q],r._dirtyCounter=Ut(0),r._flatValue=void 0,o}function Cp(e){return Ip(!0,!1,e)}function wp(e){return Ip(!0,!0,e)}function TD(e,t){let n=e[Q];n._lView=v(),n._queryIndex=t,n._queryList=Wc(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function MD(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[D]&4)return t?void 0:ee;let o=Wc(n,r),i=Ep(n,r);return o.reset(i,df),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}var Fd=new Set;function et(e){Fd.has(e)||(Fd.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var Dr=class{};var Er=class extends Dr{injector;componentFactoryResolver=new Xa(this);instance=null;constructor(t){super();let n=new Rt([...t.providers,{provide:Dr,useValue:this},{provide:Fi,useValue:this.componentFactoryResolver}],t.parent||Dn(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function _p(e,t,n=null){return new Er({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var ND=(()=>{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=qs(!1,n.type),o=r.length>0?_p([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=C({token:e,providedIn:"environment",factory:()=>new e(b(ce))})}return e})();function bp(e){return kn(()=>{let t=Sp(e),n=J(Y({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Ic.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(ND).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Ye.Emulated,styles:e.styles||ee,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&et("NgStandalone"),Tp(n);let r=e.dependencies;return n.directiveDefs=kd(r,xD),n.pipeDefs=kd(r,Ol),n.id=OD(n),n})}function xD(e){return ft(e)||Oo(e)}function Vn(e){return kn(()=>({type:e.type,bootstrap:e.bootstrap||ee,declarations:e.declarations||ee,imports:e.imports||ee,exports:e.exports||ee,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function RD(e,t){if(e==null)return _e;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=Si.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function AD(e){if(e==null)return _e;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function Bn(e){return kn(()=>{let t=Sp(e);return Tp(t),t})}function Nr(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 Sp(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||_e,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||ee,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,inputs:RD(e.inputs,t),outputs:AD(e.outputs),debugInfo:null}}function Tp(e){e.features?.forEach(t=>t(e))}function kd(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 OD(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 FD(e){return Object.getPrototypeOf(e.prototype).constructor}function Zc(e){let t=FD(e.type),n=!0,r=[e];for(;t;){let o;if(Te(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new m(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=Sa(e.inputs),s.declaredInputs=Sa(e.declaredInputs),s.outputs=Sa(e.outputs);let a=o.hostBindings;a&&VD(e,a);let c=o.viewQuery,u=o.contentQueries;if(c&&LD(e,c),u&&jD(e,u),kD(e,o),_l(e.outputs,o.outputs),Te(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===Zc&&(n=!1)}}t=Object.getPrototypeOf(t)}PD(r)}function kD(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 PD(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=xn(o.hostAttrs,n=xn(n,o.hostAttrs))}}function Sa(e){return e===_e?{}:e===ee?[]:e}function LD(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function jD(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function VD(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function BD(e){let t=n=>{let r=Array.isArray(e);n.hostDirectives===null?(n.resolveHostDirectives=HD,n.hostDirectives=r?e.map(sc):[e]):r?n.hostDirectives.unshift(...e.map(sc)):n.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function HD(e){let t=[],n=!1,r=null,o=null;for(let i=0;i<e.length;i++){let s=e[i];if(s.hostDirectives!==null){let a=t.length;r??=new Map,o??=new Map,Mp(s,t,r),o.set(s,[a,t.length-1])}i===0&&Te(s)&&(n=!0,t.push(s))}for(let i=n?1:0;i<e.length;i++)t.push(e[i]);return[t,r,o]}function Mp(e,t,n){if(e.hostDirectives!==null)for(let r of e.hostDirectives)if(typeof r=="function"){let o=r();for(let i of o)Pd(sc(i),t,n)}else Pd(r,t,n)}function Pd(e,t,n){let r=Oo(e.directive);$D(r.declaredInputs,e.inputs),Mp(r,t,n),n.set(r,e),t.push(r)}function sc(e){return typeof e=="function"?{directive:W(e),inputs:_e,outputs:_e}:{directive:W(e.directive),inputs:Ld(e.inputs),outputs:Ld(e.outputs)}}function Ld(e){if(e===void 0||e.length===0)return _e;let t={};for(let n=0;n<e.length;n+=2)t[e[n]]=e[n+1];return t}function $D(e,t){for(let n in t)if(t.hasOwnProperty(n)){let r=t[n],o=e[n];e[r]=o}}function Np(e,t,n,r,o,i,s,a){if(n.firstCreatePass){e.mergedAttrs=xn(e.mergedAttrs,e.attrs);let l=e.tView=Rc(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),$t(e,!1);let c=zD(n,t,e,r);Go()&&Pc(n,t,c,e),Rn(c,t);let u=rp(c,t,c,e);t[r+A]=u,Oc(t,u),vD(u,e,t)}function UD(e,t,n,r,o,i,s,a,c,u,l){let d=n+A,p;return t.firstCreatePass?(p=Kt(t,d,4,s||null,a||null),Bo()&&lp(t,e,p,Ee(t.consts,u),jc),Xd(t,p)):p=t.data[d],Np(p,e,t,n,r,o,i,c),Cn(p)&&Ni(t,e,p),u!=null&&jn(e,p,l),p}function Ir(e,t,n,r,o,i,s,a,c,u,l){let d=n+A,p;if(t.firstCreatePass){if(p=Kt(t,d,4,s||null,a||null),u!=null){let f=Ee(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 Np(p,e,t,n,r,o,i,c),u!=null&&jn(e,p,l),p}function xp(e,t,n,r,o,i,s,a){let c=v(),u=k(),l=Ee(u.consts,i);return UD(c,u,e,t,n,r,o,l,void 0,s,a),xp}var zD=GD;function GD(e,t,n,r){return fr(!0),t[R].createComment("")}var ki=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(ki||{}),Xt=new w(""),Rp=!1,ac=class extends ae{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,jl()&&(this.destroyRef=g(qe,{optional:!0})??void 0,this.pendingTasks=g(zt,{optional:!0})??void 0)}emit(t){let n=I(null);try{super.next(t)}finally{I(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 $&&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)}})}}},Re=ac;function Ap(e){let t,n;function r(){e=Gt;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 jd(e){return queueMicrotask(()=>e()),()=>{e=Gt}}var Yc="isAngularZone",hi=Yc+"_ID",WD=0,V=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Re(!1);onMicrotaskEmpty=new Re(!1);onStable=new Re(!1);onError=new Re(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=Rp}=t;if(typeof Zone>"u")throw new m(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,YD(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Yc)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new m(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new m(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,qD,Gt,Gt);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)}},qD={};function Qc(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 ZD(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){Ap(()=>{e.callbackScheduled=!1,cc(e),e.isCheckStableRunning=!0,Qc(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),cc(e)}function YD(e){let t=()=>{ZD(e)},n=WD++;e._inner=e._inner.fork({name:"angular",properties:{[Yc]:!0,[hi]:n,[hi+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(QD(c))return r.invokeTask(i,s,a,c);try{return Vd(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Bd(e)}},onInvoke:(r,o,i,s,a,c,u)=>{try{return Vd(e),r.invoke(i,s,a,c,u)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!KD(c)&&t(),Bd(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,cc(e),Qc(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 cc(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Vd(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Bd(e){e._nesting--,Qc(e)}var Cr=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Re;onMicrotaskEmpty=new Re;onStable=new Re;onError=new Re;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 QD(e){return Op(e,"__ignore_ng_zone__")}function KD(e){return Op(e,"__scheduler_tick__")}function Op(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var Kc=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=C({token:e,providedIn:"root",factory:()=>new e})}return e})(),Fp=[0,1,2,3],kp=(()=>{class e{ngZone=g(V);scheduler=g(we);errorHandler=g(le,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){g(Xt,{optional:!0})}execute(){let n=this.sequences.size>0;n&&N(16),this.executing=!0;for(let r of Fp)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&&N(17)}register(n){let{view:r}=n;r!==void 0?((r[Vt]??=[]).push(n),mt(r),r[D]|=8192):this.executing?this.deferredRegistrations.add(n):this.addSequence(n)}addSequence(n){this.sequences.add(n),this.scheduler.notify(7)}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}maybeTrace(n,r){return r?r.run(ki.AFTER_NEXT_RENDER,n):n()}static \u0275prov=C({token:e,providedIn:"root",factory:()=>new e})}return e})(),gi=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?.[Vt];t&&(this.view[Vt]=t.filter(n=>n!==this))}};function Pp(e,t){let n=t?.injector??g(re);return et("NgAfterNextRender"),XD(e,n,t,!0)}function JD(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function XD(e,t,n,r){let o=t.get(Kc);o.impl??=t.get(kp);let i=t.get(Xt,null,{optional:!0}),s=n?.manualCleanup!==!0?t.get(qe):null,a=t.get(Tn,null,{optional:!0}),c=new gi(o.impl,JD(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var Jc=new w("");function Pi(e){return!!e&&typeof e.then=="function"}function Xc(e){return!!e&&typeof e.subscribe=="function"}var Lp=new w("");var eu=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=g(Lp,{optional:!0})??[];injector=g(re);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=ko(this.injector,o);if(Pi(i))n.push(i);else if(Xc(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=C({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),jp=new w("");function Vp(){ls(()=>{let e="";throw new m(600,e)})}function Bp(e){return e.isBoundToModule}var eE=10;var tt=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=g(Ze);afterRenderManager=g(Kc);zonelessEnabled=g(Sn);rootEffectScheduler=g(pr);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=g(zt);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(Zn(n=>!n))}constructor(){g(Xt,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=g(ce);_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(V).run(()=>{N(10);let s=n instanceof Oi;if(!this._injector.get(eu).done){let h="";throw new m(405,h)}let c;s?c=n:c=this._injector.get(Fi).resolveComponentFactory(n),this.componentTypes.push(c.componentType);let u=Bp(c)?void 0:this._injector.get(Dr),l=r||c.selector,d=c.create(o,[],l,u),p=d.location.nativeElement,f=d.injector.get(Jc,null);return f?.registerApplication(p),d.onDestroy(()=>{this.detachView(d.hostView),gr(this.components,d),f?.unregisterApplication(p)}),this._loadComponent(d),N(11,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){N(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(ki.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new m(101,!1);let n=I(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,I(n),this.afterTick.next(),N(13)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Ke,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<eE;)N(14),this.synchronizeOnce(),N(15)}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let n=!1;if(this.dirtyFlags&7){let r=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:o}of this.allViews){if(!r&&!_n(o))continue;let i=r&&!this.zonelessEnabled?0:1;Hc(o,i),n=!0}if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}n||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>_n(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){let r=n;gr(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(jp,[]).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),()=>gr(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new m(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=C({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function gr(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function Hp(e,t,n,r){let o=v(),i=We();if(fe(o,i,t)){let s=k(),a=dr();mv(a,o,e,t,n,r)}return Hp}var uc=class{destroy(t){}updateValue(t,n){}swap(t,n){let r=Math.min(t,n),o=Math.max(t,n),i=this.detach(o);if(o-r>1){let s=this.detach(r);this.attach(r,i),this.attach(o,s)}else this.attach(r,i)}move(t,n){this.attach(n,this.detach(t))}};function Ta(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function tE(e,t,n){let r,o,i=0,s=e.length-1,a=void 0;if(Array.isArray(t)){let c=t.length-1;for(;i<=s&&i<=c;){let u=e.at(i),l=t[i],d=Ta(i,u,i,l,n);if(d!==0){d<0&&e.updateValue(i,l),i++;continue}let p=e.at(s),f=t[c],h=Ta(s,p,c,f,n);if(h!==0){h<0&&e.updateValue(s,f),s--,c--;continue}let E=n(i,u),M=n(s,p),S=n(i,l);if(Object.is(S,M)){let Hn=n(c,f);Object.is(Hn,E)?(e.swap(i,s),e.updateValue(s,f),c--,s--):e.move(s,i),e.updateValue(i,l),i++;continue}if(r??=new mi,o??=$d(e,i,s,n),lc(e,r,i,S))e.updateValue(i,l),i++,s++;else if(o.has(S))r.set(E,e.detach(i)),s--;else{let Hn=e.create(i,t[i]);e.attach(i,Hn),i++,s++}}for(;i<=c;)Hd(e,r,n,i,t[i]),i++}else if(t!=null){let c=t[Symbol.iterator](),u=c.next();for(;!u.done&&i<=s;){let l=e.at(i),d=u.value,p=Ta(i,l,i,d,n);if(p!==0)p<0&&e.updateValue(i,d),i++,u=c.next();else{r??=new mi,o??=$d(e,i,s,n);let f=n(i,d);if(lc(e,r,i,f))e.updateValue(i,d),i++,s++,u=c.next();else if(!o.has(f))e.attach(i,e.create(i,d)),i++,s++,u=c.next();else{let h=n(i,l);r.set(h,e.detach(i)),s--}}}for(;!u.done;)Hd(e,r,n,e.length,u.value),u=c.next()}for(;i<=s;)e.destroy(e.detach(s--));r?.forEach(c=>{e.destroy(c)})}function lc(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function Hd(e,t,n,r,o){if(lc(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function $d(e,t,n,r){let o=new Set;for(let i=t;i<=n;i++)o.add(r(i,e.at(i)));return o}var mi=class{kvMap=new Map;_vMap=void 0;has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let n=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),t(r,n)}}};function nE(e,t,n,r,o,i,s,a){et("NgControlFlow");let c=v(),u=k(),l=Ee(u.consts,i);return Ir(c,u,e,t,n,r,o,l,256,s,a),tu}function tu(e,t,n,r,o,i,s,a){et("NgControlFlow");let c=v(),u=k(),l=Ee(u.consts,i);return Ir(c,u,e,t,n,r,o,l,512,s,a),tu}function rE(e,t){et("NgControlFlow");let n=v(),r=We(),o=n[r]!==pe?n[r]:-1,i=o!==-1?yi(n,A+o):void 0,s=0;if(fe(n,r,e)){let a=I(null);try{if(i!==void 0&&ip(i,s),e!==-1){let c=A+e,u=yi(n,c),l=hc(n[y],c),d=ap(u,l,n),p=Sr(n,l,t,{dehydratedView:d});Tr(u,p,s,An(l,d))}}finally{I(a)}}else if(i!==void 0){let a=op(i,s);a!==void 0&&(a[B]=t)}}var dc=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-K}};function oE(e,t){return t}var fc=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function iE(e,t,n,r,o,i,s,a,c,u,l,d,p){et("NgControlFlow");let f=v(),h=k(),E=c!==void 0,M=v(),S=a?s.bind(M[ie][B]):s,Hn=new fc(E,S);M[A+e]=Hn,Ir(f,h,e+1,t,n,r,o,Ee(h.consts,i),256),E&&Ir(f,h,e+2,c,u,l,d,Ee(h.consts,p),512)}var pc=class extends uc{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r}get length(){return this.lContainer.length-K}at(t){return this.getLView(t)[B].$implicit}attach(t,n){let r=n[kt];this.needsIndexUpdate||=t!==this.length,Tr(this.lContainer,n,t,An(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,aE(this.lContainer,t)}create(t,n){let r=di(this.lContainer,this.templateTNode.tView.ssrId),o=Sr(this.hostLView,this.templateTNode,new dc(this.lContainer,n,t),{dehydratedView:r});return this.operationsCounter?.recordCreate(),o}destroy(t){Ti(t[y],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[B].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[B].$index=t}getLView(t){return cE(this.lContainer,t)}};function sE(e){let t=I(null),n=$e();try{let r=v(),o=r[y],i=r[n],s=n+1,a=yi(r,s);if(i.liveCollection===void 0){let u=hc(o,s);i.liveCollection=new pc(a,r,u)}else i.liveCollection.reset();let c=i.liveCollection;if(tE(c,e,i.trackByFn),c.updateIndexes(),i.hasEmptyBlock){let u=We(),l=c.length===0;if(fe(r,u,l)){let d=n+2,p=yi(r,d);if(l){let f=hc(o,d),h=ap(p,f,r),E=Sr(r,f,void 0,{dehydratedView:h});Tr(p,E,0,An(f,h))}else o.firstUpdatePass&&Uv(p),ip(p,0)}}}finally{I(t)}}function yi(e,t){return e[t]}function aE(e,t){return vr(e,t)}function cE(e,t){return op(e,t)}function hc(e,t){return ir(e,t)}function $p(e,t,n){let r=v(),o=We();if(fe(r,o,t)){let i=k(),s=dr();Wf(s,r,e,t,r[R],n)}return $p}function gc(e,t,n,r,o){Vc(t,e,n,o?"class":"style",r)}function nu(e,t,n,r){let o=v(),i=o[y],s=e+A,a=i.firstCreatePass?Uc(s,o,2,t,jc,Bo(),n,r):i.data[s];if(xi(a,o,e,t,zp),Cn(a)){let c=o[y];Ni(c,o,a),_c(c,a,o)}return r!=null&&jn(o,a),nu}function ru(){let e=k(),t=Z(),n=Ri(t);return e.firstCreatePass&&zc(e,n),ca(n)&&ua(),sa(),n.classesWithoutHost!=null&&Fm(n)&&gc(e,n,v(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&km(n)&&gc(e,n,v(),n.stylesWithoutHost,!1),ru}function Up(e,t,n,r){return nu(e,t,n,r),ru(),Up}function Li(e,t,n,r){let o=v(),i=o[y],s=e+A,a=i.firstCreatePass?fp(s,i,2,t,n,r):i.data[s];return xi(a,o,e,t,zp),r!=null&&jn(o,a),Li}function ji(){let e=Z(),t=Ri(e);return ca(t)&&ua(),sa(),ji}function ou(e,t,n,r){return Li(e,t,n,r),ji(),ou}var zp=(e,t,n,r,o)=>(fr(!0),Af(t[R],r,cd()));function iu(e,t,n){let r=v(),o=r[y],i=e+A,s=o.firstCreatePass?Uc(i,r,8,"ng-container",jc,Bo(),t,n):o.data[i];if(xi(s,r,e,"ng-container",Zp),Cn(s)){let a=r[y];Ni(a,r,s),_c(a,s,r)}return n!=null&&jn(r,s),iu}function Vi(){let e=k(),t=Z(),n=Ri(t);return e.firstCreatePass&&zc(e,n),Vi}function Gp(e,t,n){return iu(e,t,n),Vi(),Gp}function su(e,t,n){let r=v(),o=r[y],i=e+A,s=o.firstCreatePass?fp(i,o,8,"ng-container",t,n):o.data[i];return xi(s,r,e,"ng-container",Zp),n!=null&&jn(r,s),su}function Wp(){let e=Z(),t=Ri(e);return Vi}function qp(e,t,n){return su(e,t,n),Wp(),qp}var Zp=(e,t,n,r,o)=>(fr(!0),zy(t[R],""));function uE(){return v()}function Yp(e,t,n){let r=v(),o=We();if(fe(r,o,t)){let i=k(),s=dr();qf(s,r,e,t,r[R],n)}return Yp}var Wt=void 0;function lE(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var dE=["en",[["a","p"],["AM","PM"],Wt],[["AM","PM"],Wt,Wt],[["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"]],Wt,[["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"]],Wt,[["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}",Wt,"{1} 'at' {0}",Wt],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",lE],Ma={};function he(e){let t=fE(e),n=Ud(t);if(n)return n;let r=t.split("-")[0];if(n=Ud(r),n)return n;if(r==="en")return dE;throw new m(701,!1)}function Ud(e){return e in Ma||(Ma[e]=me.ng&&me.ng.common&&me.ng.common.locales&&me.ng.common.locales[e]),Ma[e]}var H=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}(H||{});function fE(e){return e.toLowerCase().replace(/_/g,"-")}var xr="en-US";var pE=xr;function Qp(e){typeof e=="string"&&(pE=e.toLowerCase().replace(/_/g,"-"))}function Kp(e,t,n){let r=v(),o=k(),i=Z();return Xp(o,r,r[R],i,e,t,n),Kp}function Jp(e,t,n){let r=v(),o=k(),i=Z();return(i.type&3||n)&&hp(i,o,r,n,r[R],e,t,ri(i,r,t)),Jp}function Xp(e,t,n,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=ri(r,t,i),hp(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??=ri(r,t,i),Rd(r,t,p,f,o,c)}if(u&&u.length)for(let d of u)c??=ri(r,t,i),Rd(r,t,d,o,o,c)}}function hE(e=1){return id(e)}function gE(e,t){let n=null,r=ky(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?Rf(e,i,!0):jy(r,i))return o}return n}function eh(e){let t=v()[ie][oe];if(!t.projection){let n=e?e.length:1,r=t.projection=Rl(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?gE(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function th(e,t=0,n,r,o,i){let s=v(),a=k(),c=r?e+1:null;c!==null&&Ir(s,a,c,r,o,i,null,n);let u=Kt(a,A+e,16,null,n||null);u.projection===null&&(u.projection=t),fa();let d=!s[kt]||aa();s[ie][oe].projection[u.projection]===null&&c!==null?mE(s,a,c):d&&!wi(u)&&iv(a,s,u)}function mE(e,t,n){let r=A+n,o=t.data[r],i=e[r],s=di(i,o.tView.ssrId),a=Sr(e,o,void 0,{dehydratedView:s});Tr(i,a,0,An(o,s))}function nh(e,t,n){Dp(e,t,n)}function rh(e){let t=v(),n=k(),r=$o();lr(r+1);let o=qc(n,r);if(e.dirty&&Hl(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=Ep(t,r);e.reset(i,df),e.notifyOnChanges()}return!0}return!1}function oh(){return Wc(v(),$o())}function yE(e,t,n,r){TD(e,Dp(t,n,r))}function vE(e=1){lr($o()+e)}function DE(e){let t=pa();return sr(t,A+e)}function Jo(e,t){return e<<17|t<<2}function Qt(e){return e>>17&32767}function EE(e){return(e&2)==2}function IE(e,t){return e&131071|t<<17}function mc(e){return e|2}function Fn(e){return(e&131068)>>2}function Na(e,t){return e&-131069|t<<2}function CE(e){return(e&1)===1}function yc(e){return e|1}function wE(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=Qt(s),c=Fn(s);e[r]=n;let u=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||vn(d,l)>0)&&(u=!0)}else l=n;if(o)if(c!==0){let p=Qt(e[a+1]);e[r+1]=Jo(p,a),p!==0&&(e[p+1]=Na(e[p+1],r)),e[a+1]=IE(e[a+1],r)}else e[r+1]=Jo(a,0),a!==0&&(e[a+1]=Na(e[a+1],r)),a=r;else e[r+1]=Jo(c,0),a===0?a=r:e[c+1]=Na(e[c+1],r),c=r;u&&(e[r+1]=mc(e[r+1])),zd(e,l,r,!0),zd(e,l,r,!1),_E(t,l,e,r,i),s=Jo(a,c),i?t.classBindings=s:t.styleBindings=s}function _E(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&vn(i,t)>=0&&(n[r+1]=yc(n[r+1]))}function zd(e,t,n,r){let o=e[n+1],i=t===null,s=r?Qt(o):Fn(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],u=e[s+1];bE(c,t)&&(a=!0,e[s+1]=r?yc(u):mc(u)),s=r?Qt(u):Fn(u)}a&&(e[n+1]=r?mc(o):yc(o))}function bE(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?vn(e,t)>=0:!1}var xe={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function SE(e){return e.substring(xe.key,xe.keyEnd)}function TE(e){return ME(e),ih(e,sh(e,0,xe.textEnd))}function ih(e,t){let n=xe.textEnd;return n===t?-1:(t=xe.keyEnd=NE(e,xe.key=t,n),sh(e,t,n))}function ME(e){xe.key=0,xe.keyEnd=0,xe.value=0,xe.valueEnd=0,xe.textEnd=e.length}function sh(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function NE(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function au(e,t,n){return ah(e,t,n,!1),au}function cu(e,t){return ah(e,t,null,!0),cu}function xE(e){AE(jE,RE,e,!0)}function RE(e,t){for(let n=TE(t);n>=0;n=ih(t,n))Ro(e,SE(t),!0)}function ah(e,t,n,r){let o=v(),i=k(),s=ma(2);if(i.firstUpdatePass&&uh(i,e,s,r),t!==pe&&fe(o,s,t)){let a=i.data[$e()];lh(i,a,o,o[R],e,o[s+1]=BE(t,n),r,s)}}function AE(e,t,n,r){let o=k(),i=ma(2);o.firstUpdatePass&&uh(o,null,i,r);let s=v();if(n!==pe&&fe(s,i,n)){let a=o.data[$e()];if(dh(a,r)&&!ch(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=So(c,n||"")),gc(o,a,s,n,r)}else VE(o,a,s,s[R],s[i+1],s[i+1]=LE(e,t,n),r,i)}}function ch(e,t){return t>=e.expandoStartIndex}function uh(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[$e()],s=ch(e,n);dh(i,r)&&t===null&&!s&&(t=!1),t=OE(o,i,t,r),wE(o,i,t,n,s,r)}}function OE(e,t,n,r){let o=td(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=xa(null,e,t,n,r),n=wr(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=FE(e,t,r);c!==void 0&&Array.isArray(c)&&(c=xa(null,e,t,c[1],r),c=wr(c,t.attrs,r),kE(e,t,r,c))}else i=PE(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function FE(e,t,n){let r=n?t.classBindings:t.styleBindings;if(Fn(r)!==0)return e[Qt(r)]}function kE(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[Qt(o)]=r}function PE(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=wr(r,s,n)}return wr(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=wr(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function wr(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]),Ro(e,s,n?!0:t[++i]))}return e===void 0?null:e}function LE(e,t,n){if(n==null||n==="")return ee;let r=[],o=Fe(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 jE(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&Ro(e,r,n)}function VE(e,t,n,r,o,i,s,a){o===pe&&(o=ee);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,E;l===d?(c+=2,u+=2,p!==f&&(h=d,E=f)):d===null||l!==null&&l<d?(c+=2,h=l):(u+=2,h=d,E=f),h!==null&&lh(e,t,n,r,h,E,s,a),l=c<o.length?o[c]:null,d=u<i.length?i[u]:null}}function lh(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,u=c[a+1],l=CE(u)?Gd(c,t,n,o,Fn(u),s):void 0;if(!vi(l)){vi(i)||EE(u)&&(i=Gd(c,null,n,o,a,s));let d=ta($e(),n);av(r,s,d,o,i)}}function Gd(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===pe&&(p=d?ee:void 0);let f=d?Ao(p,r):l===r?p:void 0;if(u&&!vi(f)&&(f=Ao(c,r)),vi(f)&&(a=f,s))return a;let h=e[o+1];o=s?Qt(h):Fn(h)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=Ao(c,r))}return a}function vi(e){return e!==void 0}function BE(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=at(Fe(e)))),e}function dh(e,t){return(e.flags&(t?8:16))!==0}function HE(e,t=""){let n=v(),r=k(),o=e+A,i=r.firstCreatePass?Kt(r,o,1,t,null):r.data[o],s=$E(r,n,i,t,e);n[o]=s,Go()&&Pc(r,n,s,i),$t(i,!1)}var $E=(e,t,n,r,o)=>(fr(!0),$y(t[R],r));function fh(e,t,n,r=""){return fe(e,We(),n)?t+Ft(n)+r:pe}function ph(e){return uu("",e),ph}function uu(e,t,n){let r=v(),o=fh(r,e,t,n);return o!==pe&&UE(r,$e(),o),uu}function UE(e,t,n){let r=ta(t,e);Uy(e[R],r,n)}function hh(e,t,n){Ea(t)&&(t=t());let r=v(),o=We();if(fe(r,o,t)){let i=k(),s=dr();Wf(s,r,e,t,r[R],n)}return hh}function zE(e,t){let n=Ea(e);return n&&e.set(t),n}function gh(e,t){let n=v(),r=k(),o=Z();return Xp(r,n,n[R],o,e,t),gh}var mh={};function yh(e){let t=k(),n=v(),r=e+A,o=Kt(t,r,128,null,null);return $t(o,!1),ar(t,n,r,mh),yh}function GE(e){et("NgLet");let t=k(),n=v(),r=$e();return ar(t,n,r,e),e}function WE(e){let t=pa(),n=sr(t,A+e);if(n===mh)throw new m(314,!1);return n}function qE(e){return fe(v(),We(),e)?Ft(e):pe}function ZE(e,t,n=""){return fh(v(),e,t,n)}function YE(e,t,n){let r=k();if(r.firstCreatePass){let o=Te(e);vc(n,r.data,r.blueprint,o,!0),vc(t,r.data,r.blueprint,o,!1)}}function vc(e,t,n,r,o){if(e=W(e),Array.isArray(e))for(let i=0;i<e.length;i++)vc(e[i],t,n,r,o);else{let i=k(),s=v(),a=Z(),c=xt(e)?e:W(e.provide),u=Ys(e),l=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(xt(e)||!e.multi){let f=new Zt(u,o,se,null),h=Aa(c,t,o?l:l+p,d);h===-1?(Fa(ci(a,s),i,c),Ra(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=Aa(c,t,l+p,d),h=Aa(c,t,l,l+p),E=f>=0&&n[f],M=h>=0&&n[h];if(o&&!M||!o&&!E){Fa(ci(a,s),i,c);let S=JE(o?KE:QE,n.length,o,r,u,e);!o&&M&&(n[h].providerFactory=S),Ra(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(S),s.push(S)}else{let S=vh(n[o?h:f],u,!o&&r);Ra(i,e,f>-1?f:h,S)}!o&&r&&M&&n[h].componentProviders++}}}function Ra(e,t,n,r){let o=xt(t),i=Ll(t);if(o||i){let c=(i?W(t.useClass):t).prototype.ngOnDestroy;if(c){let u=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let l=u.indexOf(n);l===-1?u.push(n,[r,c]):u[l+1].push(r,c)}else u.push(n,c)}}}function vh(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Aa(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function QE(e,t,n,r,o){return Dc(this.multi,[])}function KE(e,t,n,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=mr(r,r[y],this.providerFactory.index,o);s=c.slice(0,a),Dc(i,s);for(let u=a;u<c.length;u++)s.push(c[u])}else s=[],Dc(i,s);return s}function Dc(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function JE(e,t,n,r,o,i){let s=new Zt(e,n,se,null);return s.multi=[],s.index=t,s.componentProviders=0,vh(s,o,r&&!n),s}function Dh(e,t=[]){return n=>{n.providersResolver=(r,o)=>YE(r,o?o(e):e,t)}}function XE(e,t,n,r){return Ih(v(),ur(),e,t,n,r)}function eI(e,t,n,r,o){return Ch(v(),ur(),e,t,n,r,o)}function Eh(e,t){let n=e[t];return n===pe?void 0:n}function Ih(e,t,n,r,o,i){let s=t+n;return fe(e,s,o)?pp(e,s+1,i?r.call(i,o):r(o)):Eh(e,s+1)}function Ch(e,t,n,r,o,i,s){let a=t+n;return rD(e,a,o,i)?pp(e,a+2,s?r.call(s,o,i):r(o,i)):Eh(e,a+2)}function tI(e,t){let n=k(),r,o=e+A;n.firstCreatePass?(r=nI(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=ct(r.type,!0)),s,a=ne(se);try{let c=ai(!1),u=i();return ai(c),ar(n,v(),o,u),u}finally{ne(a)}}function nI(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function rI(e,t,n){let r=e+A,o=v(),i=sr(o,r);return wh(o,r)?Ih(o,ur(),t,i.transform,n,i):i.transform(n)}function oI(e,t,n,r){let o=e+A,i=v(),s=sr(i,o);return wh(i,o)?Ch(i,ur(),t,s.transform,n,r,s):s.transform(n,r)}function wh(e,t){return e[y].data[t].pure}function iI(e,t){return Ai(e,t)}var sI=(()=>{class e{zone=g(V);changeDetectionScheduler=g(we);applicationRef=g(tt);applicationErrorHandler=g(Ze);_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=C({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function _h({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new V(J(Y({},bh()),{scheduleInRootZone:n})),[{provide:V,useFactory:e},{provide:dt,multi:!0,useFactory:()=>{let r=g(sI,{optional:!0});return()=>r.initialize()}},{provide:dt,multi:!0,useFactory:()=>{let r=g(aI);return()=>{r.initialize()}}},t===!0?{provide:Ia,useValue:!0}:[],{provide:qo,useValue:n??Rp},{provide:Ze,useFactory:()=>{let r=g(V),o=g(ce),i;return s=>{r.runOutsideAngular(()=>{o.destroyed&&!i?setTimeout(()=>{throw s}):(i??=o.get(le),i.handleError(s))})}}}]}function bh(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var aI=(()=>{class e{subscription=new $;initialized=!1;zone=g(V);pendingTasks=g(zt);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(()=>{V.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{V.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var lu=(()=>{class e{applicationErrorHandler=g(Ze);appRef=g(tt);taskService=g(zt);ngZone=g(V);zonelessEnabled=g(Sn);tracing=g(Xt,{optional:!0});disableScheduling=g(Ia,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new $;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(hi):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(g(qo,{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 Cr||!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?jd:Ap;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(hi+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,jd(()=>{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=C({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function cI(){return et("NgZoneless"),Fo([{provide:we,useExisting:lu},{provide:V,useClass:Cr},{provide:Sn,useValue:!0},{provide:qo,useValue:!1},[]])}function uI(){return typeof $localize<"u"&&$localize.locale||xr}var Rr=new w("",{providedIn:"root",factory:()=>g(Rr,{optional:!0,skipSelf:!0})||uI()});var Ar=class{destroyed=!1;listeners=null;errorHandler=g(le,{optional:!0});destroyRef=g(qe);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new m(953,!1);return(this.listeners??=[]).push(t),{unsubscribe:()=>{let n=this.listeners?.indexOf(t);n!==void 0&&n!==-1&&this.listeners?.splice(n,1)}}}emit(t){if(this.destroyed){console.warn(lt(953,!1));return}if(this.listeners===null)return;let n=I(null);try{for(let r of this.listeners)try{r(t)}catch(o){this.errorHandler?.handleError(o)}}finally{I(n)}}};function lI(e,t){return $n(e,t?.equal)}var du=class{[Q];constructor(t){this[Q]=t}destroy(){this[Q].destroy()}};function Sh(e,t){let n=t?.injector??g(re),r=t?.manualCleanup!==!0?n.get(qe):null,o,i=n.get(Tn,null,{optional:!0}),s=n.get(we);return i!==null?(o=pI(i.view,s,e),r instanceof Xn&&r._lView===i.view&&(r=null)):o=hI(e,n.get(pr),s),o.injector=n,r!==null&&(o.onDestroyFn=r.onDestroy(()=>o.destroy())),new du(o)}var Th=J(Y({},It),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,kind:"effect",onDestroyFn:Gt,run(){if(this.dirty=!1,this.hasRun&&!on(this))return;this.hasRun=!0;let e=r=>(this.cleanupFns??=[]).push(r),t=Ct(this),n=bn(!1);try{this.maybeCleanup(),this.fn(e)}finally{bn(n),rn(this,t)}},maybeCleanup(){if(!this.cleanupFns?.length)return;let e=I(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],I(e)}}}),dI=J(Y({},Th),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){wt(this),this.onDestroyFn(),this.maybeCleanup(),this.scheduler.remove(this)}}),fI=J(Y({},Th),{consumerMarkedDirty(){this.view[D]|=8192,mt(this.view),this.notifier.notify(13)},destroy(){wt(this),this.onDestroyFn(),this.maybeCleanup(),this.view[Ge]?.delete(this)}});function pI(e,t,n){let r=Object.create(fI);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=n,e[Ge]??=new Set,e[Ge].add(r),r.consumerMarkedDirty(r),r}function hI(e,t,n){let r=Object.create(dI);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 Hi=Symbol("InputSignalNode#UNSET"),Fh=J(Y({},Zr),{transformFn:void 0,applyValueToInputSignal(e,t){an(e,t)}});function kh(e,t){let n=Object.create(Fh);n.value=e,n.transformFn=t?.transform;function r(){if(nn(n),n.value===Hi){let o=null;throw new m(-950,o)}return n.value}return r[Q]=n,r}var TI=new w("");TI.__NG_ELEMENT_ID__=e=>{let t=Z();if(t===null)throw new m(204,!1);if(t.type&2)return t.value;if(e&8)return null;throw new m(204,!1)};function JO(e){return new Ar}function Mh(e,t){return kh(e,t)}function MI(e){return kh(Hi,e)}var XO=(Mh.required=MI,Mh);function Nh(e,t){return Cp(t)}function NI(e,t){return wp(t)}var eF=(Nh.required=NI,Nh);function Ph(e,t){let n=Object.create(Fh),r=new Ar;n.value=e;function o(){return nn(n),xh(n.value),n.value}return o[Q]=n,o.asReadonly=Wo.bind(o),o.set=i=>{n.equal(n.value,i)||(an(n,i),r.emit(i))},o.update=i=>{xh(n.value),o.set(i(n.value))},o.subscribe=r.subscribe.bind(r),o.destroyRef=r.destroyRef,o}function xh(e){if(e===Hi)throw new m(952,!1)}function Rh(e,t){return Ph(e,t)}function xI(e){return Ph(Hi,e)}var tF=(Rh.required=xI,Rh);var fu=new w(""),RI=new w("");function Or(e){return!e.moduleRef}function AI(e){let t=Or(e)?e.r3Injector:e.moduleRef.injector,n=t.get(V);return n.run(()=>{Or(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(Ze),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:r})}),Or(e)){let i=()=>t.destroy(),s=e.platformInjector.get(fu);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(fu);s.add(i),e.moduleRef.onDestroy(()=>{gr(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return FI(r,n,()=>{let i=t.get(zt),s=i.add(),a=t.get(eu);return a.runInitializers(),a.donePromise.then(()=>{let c=t.get(Rr,xr);if(Qp(c||xr),!t.get(RI,!0))return Or(e)?t.get(tt):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Or(e)){let l=t.get(tt);return e.rootComponent!==void 0&&l.bootstrap(e.rootComponent),l}else return OI?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>void i.remove(s))})})}var OI;function FI(e,t,n){try{let r=n();return Pi(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e(r)),r}}var Bi=null;function kI(e=[],t){return re.create({name:t,providers:[{provide:nr,useValue:"platform"},{provide:fu,useValue:new Set([()=>Bi=null])},...e]})}function PI(e=[]){if(Bi)return Bi;let t=kI(e);return Bi=t,Vp(),LI(t),t}function LI(e){let t=e.get(Ii,null);ko(e,()=>{t?.forEach(n=>n())})}var Lh=(()=>{class e{static __NG_ELEMENT_ID__=jI}return e})();function jI(e){return VI(Z(),v(),(e&16)===16)}function VI(e,t,n){if(gt(e)&&!n){let r=De(e.index,t);return new vt(r,r)}else if(e.type&175){let r=t[ie];return new vt(r,t)}return null}var pu=class{constructor(){}supports(t){return t instanceof Map||Gc(t)}create(){return new hu}},hu=class{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;_removalsTail=null;get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(t){let n;for(n=this._mapHead;n!==null;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;n!==null;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;n!==null;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}diff(t){if(!t)t=new Map;else if(!(t instanceof Map||Gc(t)))throw new m(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{let i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;r!==null;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){let r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){let o=this._records.get(t);this._maybeAddToChanges(o,n);let i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}let r=new gu(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;t!==null;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;t!=null;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){this._additionsHead===null?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){this._changesHead===null?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}},gu=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(t){this.key=t}};function Ah(){return new mu([new pu])}var mu=(()=>{class e{static \u0275prov=C({token:e,providedIn:"root",factory:Ah});factories;constructor(n){this.factories=n}static create(n,r){if(r){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Ah()),deps:[[e,new Zd,new Di]]}}find(n){let r=this.factories.find(o=>o.supports(n));if(r)return r;throw new m(901,!1)}}return e})();function jh(e){N(8);try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=PI(r),i=[_h({}),{provide:we,useExisting:lu},dd,...n||[]],s=new Er({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1});return AI({r3Injector:s.injector,platformInjector:o,rootComponent:t})}catch(t){return Promise.reject(t)}finally{N(9)}}function BI(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function nF(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function Vh(e,t){let n=ft(e),r=t.elementInjector||Dn();return new On(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector,t.directives,t.bindings)}var $h=null;function nt(){return $h}function yu(e){$h??=e}var Fr=class{},vu=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:()=>g(Uh),providedIn:"platform"})}return e})();var Uh=(()=>{class e extends vu{_location;_history;_doc=g(z);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return nt().getBaseHref(this._doc)}onPopState(n){let r=nt().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){let r=nt().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=C({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function zh(e,t){return e?t?e.endsWith("/")?t.startsWith("/")?e+t.slice(1):e+t:t.startsWith("/")?e+t:`${e}/${t}`:e:t}function Bh(e){let t=e.search(/#|\?|$/);return e[t-1]==="/"?e.slice(0,t-1)+e.slice(t):e}function Et(e){return e&&e[0]!=="?"?`?${e}`:e}var $i=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:()=>g(Wh),providedIn:"root"})}return e})(),Gh=new w(""),Wh=(()=>{class e extends $i{_platformLocation;_baseHref;_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??g(z).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return zh(this._baseHref,n)}path(n=!1){let r=this._platformLocation.pathname+Et(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+Et(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+Et(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)(b(vu),b(Gh,8))};static \u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),qh=(()=>{class e{_subject=new ae;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(n){this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=UI(Bh(Hh(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+Et(r))}normalize(n){return e.stripTrailingSlash($I(this._basePath,Hh(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+Et(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Et(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=Et;static joinWithSlash=zh;static stripTrailingSlash=Bh;static \u0275fac=function(r){return new(r||e)(b($i))};static \u0275prov=C({token:e,factory:()=>HI(),providedIn:"root"})}return e})();function HI(){return new qh(b($i))}function $I(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function Hh(e){return e.replace(/\/index.html$/,"")}function UI(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||{}),ue=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}(ue||{}),ot={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 Qh(e){return he(e)[H.LocaleId]}function Kh(e,t,n){let r=he(e),o=[r[H.DayPeriodsFormat],r[H.DayPeriodsStandalone]],i=Ie(o,t);return Ie(i,n)}function Jh(e,t,n){let r=he(e),o=[r[H.DaysFormat],r[H.DaysStandalone]],i=Ie(o,t);return Ie(i,n)}function Xh(e,t,n){let r=he(e),o=[r[H.MonthsFormat],r[H.MonthsStandalone]],i=Ie(o,t);return Ie(i,n)}function eg(e,t){let r=he(e)[H.Eras];return Ie(r,t)}function kr(e,t){let n=he(e);return Ie(n[H.DateFormat],t)}function Pr(e,t){let n=he(e);return Ie(n[H.TimeFormat],t)}function Lr(e,t){let r=he(e)[H.DateTimeFormat];return Ie(r,t)}function jr(e,t){let n=he(e),r=n[H.NumberSymbols][t];if(typeof r>"u"){if(t===ot.CurrencyDecimal)return n[H.NumberSymbols][ot.Decimal];if(t===ot.CurrencyGroup)return n[H.NumberSymbols][ot.Group]}return r}function tg(e){if(!e[H.ExtraData])throw new m(2303,!1)}function ng(e){let t=he(e);return tg(t),(t[H.ExtraData][2]||[]).map(r=>typeof r=="string"?Du(r):[Du(r[0]),Du(r[1])])}function rg(e,t,n){let r=he(e);tg(r);let o=[r[H.ExtraData][0],r[H.ExtraData][1]],i=Ie(o,t)||[];return Ie(i,n)||[]}function Ie(e,t){for(let n=t;n>-1;n--)if(typeof e[n]<"u")return e[n];throw new m(2304,!1)}function Du(e){let[t,n]=e.split(":");return{hours:+t,minutes:+n}}var GI=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Ui={},WI=/((?:[^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 og(e,t,n,r){let o=tC(e);t=rt(n,t)||t;let s=[],a;for(;t;)if(a=WI.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=sg(r,c),o=eC(o,r));let u="";return s.forEach(l=>{let d=JI(l);u+=d?d(o,n,c):l==="''"?"'":l.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}function Zi(e,t,n){let r=new Date(0);return r.setFullYear(e,t,n),r.setHours(0,0,0),r}function rt(e,t){let n=Qh(e);if(Ui[n]??={},Ui[n][t])return Ui[n][t];let r="";switch(t){case"shortDate":r=kr(e,ue.Short);break;case"mediumDate":r=kr(e,ue.Medium);break;case"longDate":r=kr(e,ue.Long);break;case"fullDate":r=kr(e,ue.Full);break;case"shortTime":r=Pr(e,ue.Short);break;case"mediumTime":r=Pr(e,ue.Medium);break;case"longTime":r=Pr(e,ue.Long);break;case"fullTime":r=Pr(e,ue.Full);break;case"short":let o=rt(e,"shortTime"),i=rt(e,"shortDate");r=zi(Lr(e,ue.Short),[o,i]);break;case"medium":let s=rt(e,"mediumTime"),a=rt(e,"mediumDate");r=zi(Lr(e,ue.Medium),[s,a]);break;case"long":let c=rt(e,"longTime"),u=rt(e,"longDate");r=zi(Lr(e,ue.Long),[c,u]);break;case"full":let l=rt(e,"fullTime"),d=rt(e,"fullDate");r=zi(Lr(e,ue.Full),[l,d]);break}return r&&(Ui[n][t]=r),r}function zi(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(n,r){return t!=null&&r in t?t[r]:n})),e}function Le(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 qI(e,t){return Le(e,3).substring(0,t)}function G(e,t,n=0,r=!1,o=!1){return function(i,s){let a=ZI(e,i);if((n>0||a>-n)&&(a+=n),e===3)a===0&&n===-12&&(a=12);else if(e===6)return qI(a,t);let c=jr(s,ot.MinusSign);return Le(a,t,c,r,o)}}function ZI(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 m(2301,!1)}}function P(e,t,n=te.Format,r=!1){return function(o,i){return YI(o,i,e,t,n,r)}}function YI(e,t,n,r,o,i){switch(n){case 2:return Xh(t,o,r)[e.getMonth()];case 1:return Jh(t,o,r)[e.getDay()];case 0:let s=e.getHours(),a=e.getMinutes();if(i){let u=ng(t),l=rg(t,o,r),d=u.findIndex(p=>{if(Array.isArray(p)){let[f,h]=p,E=s>=f.hours&&a>=f.minutes,M=s<h.hours||s===h.hours&&a<h.minutes;if(f.hours<h.hours){if(E&&M)return!0}else if(E||M)return!0}else if(p.hours===s&&p.minutes===a)return!0;return!1});if(d!==-1)return l[d]}return Kh(t,o,r)[s<12?0:1];case 3:return eg(t,r)[e.getFullYear()<=0?0:1];default:let c=n;throw new m(2302,!1)}}function Gi(e){return function(t,n,r){let o=-1*r,i=jr(n,ot.MinusSign),s=o>0?Math.floor(o/60):Math.ceil(o/60);switch(e){case 0:return(o>=0?"+":"")+Le(s,2,i)+Le(Math.abs(o%60),2,i);case 1:return"GMT"+(o>=0?"+":"")+Le(s,1,i);case 2:return"GMT"+(o>=0?"+":"")+Le(s,2,i)+":"+Le(Math.abs(o%60),2,i);case 3:return r===0?"Z":(o>=0?"+":"")+Le(s,2,i)+":"+Le(Math.abs(o%60),2,i);default:throw new m(2302,!1)}}}var QI=0,qi=4;function KI(e){let t=Zi(e,QI,1).getDay();return Zi(e,0,1+(t<=qi?qi:qi+7)-t)}function ig(e){let t=e.getDay(),n=t===0?-3:qi-t;return Zi(e.getFullYear(),e.getMonth(),e.getDate()+n)}function Eu(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=ig(n),s=KI(i.getFullYear()),a=i.getTime()-s.getTime();o=1+Math.round(a/6048e5)}return Le(o,e,jr(r,ot.MinusSign))}}function Wi(e,t=!1){return function(n,r){let i=ig(n).getFullYear();return Le(i,e,jr(r,ot.MinusSign),t)}}var Iu={};function JI(e){if(Iu[e])return Iu[e];let t;switch(e){case"G":case"GG":case"GGG":t=P(3,O.Abbreviated);break;case"GGGG":t=P(3,O.Wide);break;case"GGGGG":t=P(3,O.Narrow);break;case"y":t=G(0,1,0,!1,!0);break;case"yy":t=G(0,2,0,!0,!0);break;case"yyy":t=G(0,3,0,!1,!0);break;case"yyyy":t=G(0,4,0,!1,!0);break;case"Y":t=Wi(1);break;case"YY":t=Wi(2,!0);break;case"YYY":t=Wi(3);break;case"YYYY":t=Wi(4);break;case"M":case"L":t=G(1,1,1);break;case"MM":case"LL":t=G(1,2,1);break;case"MMM":t=P(2,O.Abbreviated);break;case"MMMM":t=P(2,O.Wide);break;case"MMMMM":t=P(2,O.Narrow);break;case"LLL":t=P(2,O.Abbreviated,te.Standalone);break;case"LLLL":t=P(2,O.Wide,te.Standalone);break;case"LLLLL":t=P(2,O.Narrow,te.Standalone);break;case"w":t=Eu(1);break;case"ww":t=Eu(2);break;case"W":t=Eu(1,!0);break;case"d":t=G(2,1);break;case"dd":t=G(2,2);break;case"c":case"cc":t=G(7,1);break;case"ccc":t=P(1,O.Abbreviated,te.Standalone);break;case"cccc":t=P(1,O.Wide,te.Standalone);break;case"ccccc":t=P(1,O.Narrow,te.Standalone);break;case"cccccc":t=P(1,O.Short,te.Standalone);break;case"E":case"EE":case"EEE":t=P(1,O.Abbreviated);break;case"EEEE":t=P(1,O.Wide);break;case"EEEEE":t=P(1,O.Narrow);break;case"EEEEEE":t=P(1,O.Short);break;case"a":case"aa":case"aaa":t=P(0,O.Abbreviated);break;case"aaaa":t=P(0,O.Wide);break;case"aaaaa":t=P(0,O.Narrow);break;case"b":case"bb":case"bbb":t=P(0,O.Abbreviated,te.Standalone,!0);break;case"bbbb":t=P(0,O.Wide,te.Standalone,!0);break;case"bbbbb":t=P(0,O.Narrow,te.Standalone,!0);break;case"B":case"BB":case"BBB":t=P(0,O.Abbreviated,te.Format,!0);break;case"BBBB":t=P(0,O.Wide,te.Format,!0);break;case"BBBBB":t=P(0,O.Narrow,te.Format,!0);break;case"h":t=G(3,1,-12);break;case"hh":t=G(3,2,-12);break;case"H":t=G(3,1);break;case"HH":t=G(3,2);break;case"m":t=G(4,1);break;case"mm":t=G(4,2);break;case"s":t=G(5,1);break;case"ss":t=G(5,2);break;case"S":t=G(6,1);break;case"SS":t=G(6,2);break;case"SSS":t=G(6,3);break;case"Z":case"ZZ":case"ZZZ":t=Gi(0);break;case"ZZZZZ":t=Gi(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=Gi(1);break;case"OOOO":case"ZZZZ":case"zzzz":t=Gi(2);break;default:return null}return Iu[e]=t,t}function sg(e,t){e=e.replace(/:/g,"");let n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function XI(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function eC(e,t,n){let o=e.getTimezoneOffset(),i=sg(t,o);return XI(e,-1*(i-o))}function tC(e){if(Zh(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 Zi(o,i-1,s)}let n=parseFloat(e);if(!isNaN(e-n))return new Date(n);let r;if(r=e.match(GI))return nC(r)}let t=new Date(e);if(!Zh(t))throw new m(2302,!1);return t}function nC(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 Zh(e){return e instanceof Date&&!isNaN(e.valueOf())}var Cu=/\s+/,Yh=[],rC=(()=>{class e{_ngEl;_renderer;initialClasses=Yh;rawClass;stateMap=new Map;constructor(n,r){this._ngEl=n,this._renderer=r}set klass(n){this.initialClasses=n!=null?n.trim().split(Cu):Yh}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(Cu):n}ngDoCheck(){for(let r of this.initialClasses)this._updateState(r,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let r of n)this._updateState(r,!0);else if(n!=null)for(let r of Object.keys(n))this._updateState(r,!!n[r]);this._applyStateDiff()}_updateState(n,r){let o=this.stateMap.get(n);o!==void 0?(o.enabled!==r&&(o.changed=!0,o.enabled=r),o.touched=!0):this.stateMap.set(n,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let r=n[0],o=n[1];o.changed?(this._toggleClass(r,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),o.touched=!1}}_toggleClass(n,r){n=n.trim(),n.length>0&&n.split(Cu).forEach(o=>{r?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}static \u0275fac=function(r){return new(r||e)(se(Oe),se(Mr))};static \u0275dir=Bn({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})();var oC=(()=>{class e{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(n,r,o){this._ngEl=n,this._differs=r,this._renderer=o}set ngStyle(n){this._ngStyle=n,!this._differ&&n&&(this._differ=this._differs.find(n).create())}ngDoCheck(){if(this._differ){let n=this._differ.diff(this._ngStyle);n&&this._applyChanges(n)}}_setStyle(n,r){let[o,i]=n.split("."),s=o.indexOf("-")===-1?void 0:Ae.DashCase;r!=null?this._renderer.setStyle(this._ngEl.nativeElement,o,i?`${r}${i}`:r,s):this._renderer.removeStyle(this._ngEl.nativeElement,o,s)}_applyChanges(n){n.forEachRemovedItem(r=>this._setStyle(r.key,null)),n.forEachAddedItem(r=>this._setStyle(r.key,r.currentValue)),n.forEachChangedItem(r=>this._setStyle(r.key,r.currentValue))}static \u0275fac=function(r){return new(r||e)(se(Oe),se(mu),se(Mr))};static \u0275dir=Bn({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return e})(),iC=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(n){this._viewContainerRef=n}ngOnChanges(n){if(this._shouldRecreateView(n)){let r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let o=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,r,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,r,o):!1,get:(n,r,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,o)}})}static \u0275fac=function(r){return new(r||e)(se(Jt))};static \u0275dir=Bn({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[Ei]})}return e})();function sC(e,t){return new m(2100,!1)}var aC="mediumDate",ag=new w(""),cg=new w(""),cC=(()=>{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??aC,a=o??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return og(n,s,i||this.locale,a)}catch(s){throw sC(e,s.message)}}static \u0275fac=function(r){return new(r||e)(se(Rr,16),se(ag,24),se(cg,24))};static \u0275pipe=Nr({name:"date",type:e,pure:!0})}return e})();var ug=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Vn({type:e});static \u0275inj=At({})}return e})();function wu(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 Vr=class{};var _u="browser";function lg(e){return e===_u}var Qi=new w(""),Nu=(()=>{class e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(n,r){this._zone=r,n.forEach(o=>{o.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,r,o,i){return this._findPluginFor(r).addEventListener(n,r,o,i)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(i=>i.supports(n)),!r)throw new m(5101,!1);return this._eventNameToPlugin.set(n,r),r}static \u0275fac=function(r){return new(r||e)(b(Qi),b(V))};static \u0275prov=C({token:e,factory:e.\u0275fac})}return e})(),Br=class{_doc;constructor(t){this._doc=t}manager},bu="ng-app-id";function dg(e){for(let t of e)t.remove()}function fg(e,t){let n=t.createElement("style");return n.textContent=e,n}function lC(e,t,n,r){let o=e.head?.querySelectorAll(`style[${bu}="${t}"],link[${bu}="${t}"]`);if(o)for(let i of o)i.removeAttribute(bu),i instanceof HTMLLinkElement?r.set(i.href.slice(i.href.lastIndexOf("/")+1),{usage:0,elements:[i]}):i.textContent&&n.set(i.textContent,{usage:0,elements:[i]})}function Tu(e,t){let n=t.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",e),n}var xu=(()=>{class e{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(n,r,o,i={}){this.doc=n,this.appId=r,this.nonce=o,lC(n,r,this.inline,this.external),this.hosts.add(n.head)}addStyles(n,r){for(let o of n)this.addUsage(o,this.inline,fg);r?.forEach(o=>this.addUsage(o,this.external,Tu))}removeStyles(n,r){for(let o of n)this.removeUsage(o,this.inline);r?.forEach(o=>this.removeUsage(o,this.external))}addUsage(n,r,o){let i=r.get(n);i?i.usage++:r.set(n,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,o(n,this.doc)))})}removeUsage(n,r){let o=r.get(n);o&&(o.usage--,o.usage<=0&&(dg(o.elements),r.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])dg(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(let[r,{elements:o}]of this.inline)o.push(this.addElement(n,fg(r,this.doc)));for(let[r,{elements:o}]of this.external)o.push(this.addElement(n,Tu(r,this.doc)))}removeHost(n){this.hosts.delete(n)}addElement(n,r){return this.nonce&&r.setAttribute("nonce",this.nonce),n.appendChild(r)}static \u0275fac=function(r){return new(r||e)(b(z),b(Ln),b(Ci,8),b(Dt))};static \u0275prov=C({token:e,factory:e.\u0275fac})}return e})(),Su={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},Ru=/%COMP%/g;var hg="%COMP%",dC=`_nghost-${hg}`,fC=`_ngcontent-${hg}`,pC=!0,hC=new w("",{providedIn:"root",factory:()=>pC});function gC(e){return fC.replace(Ru,e)}function mC(e){return dC.replace(Ru,e)}function gg(e,t){return t.map(n=>n.replace(Ru,e))}var Au=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(n,r,o,i,s,a,c,u=null,l=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.platformId=a,this.ngZone=c,this.nonce=u,this.tracingService=l,this.platformIsServer=!1,this.defaultRenderer=new Hr(n,s,c,this.platformIsServer,this.tracingService)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;let o=this.getOrCreateRenderer(n,r);return o instanceof Yi?o.applyToHost(n):o instanceof $r&&o.applyStyles(),o}getOrCreateRenderer(n,r){let o=this.rendererByCompId,i=o.get(r.id);if(!i){let s=this.doc,a=this.ngZone,c=this.eventManager,u=this.sharedStylesHost,l=this.removeStylesOnCompDestroy,d=this.platformIsServer,p=this.tracingService;switch(r.encapsulation){case Ye.Emulated:i=new Yi(c,u,r,this.appId,l,s,a,d,p);break;case Ye.ShadowDom:return new Mu(c,u,n,r,s,a,this.nonce,d,p);default:i=new $r(c,u,r,l,s,a,d,p);break}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(n){this.rendererByCompId.delete(n)}static \u0275fac=function(r){return new(r||e)(b(Nu),b(xu),b(Ln),b(hC),b(z),b(Dt),b(V),b(Ci),b(Xt,8))};static \u0275prov=C({token:e,factory:e.\u0275fac})}return e})(),Hr=class{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(t,n,r,o,i){this.eventManager=t,this.doc=n,this.ngZone=r,this.platformIsServer=o,this.tracingService=i}destroy(){}destroyNode=null;createElement(t,n){return n?this.doc.createElementNS(Su[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(pg(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(pg(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){n.remove()}selectRootElement(t,n){let r=typeof t=="string"?this.doc.querySelector(t):t;if(!r)throw new m(-5104,!1);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,o){if(o){n=o+":"+n;let i=Su[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){let o=Su[r];o?t.removeAttributeNS(o,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,o){o&(Ae.DashCase|Ae.Important)?t.style.setProperty(n,r,o&Ae.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&Ae.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){t!=null&&(t[n]=r)}setValue(t,n){t.nodeValue=n}listen(t,n,r,o){if(typeof t=="string"&&(t=nt().getGlobalEventTarget(this.doc,t),!t))throw new m(5102,!1);let i=this.decoratePreventDefault(r);return this.tracingService?.wrapEventListener&&(i=this.tracingService.wrapEventListener(t,n,i)),this.eventManager.addEventListener(t,n,i,o)}decoratePreventDefault(t){return n=>{if(n==="__ngUnwrap__")return t;t(n)===!1&&n.preventDefault()}}};function pg(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var Mu=class extends Hr{sharedStylesHost;hostEl;shadowRoot;constructor(t,n,r,o,i,s,a,c,u){super(t,i,s,c,u),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let l=o.styles;l=gg(o.id,l);for(let p of l){let f=document.createElement("style");a&&f.setAttribute("nonce",a),f.textContent=p,this.shadowRoot.appendChild(f)}let d=o.getExternalStyles?.();if(d)for(let p of d){let f=Tu(p,i);a&&f.setAttribute("nonce",a),this.shadowRoot.appendChild(f)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(null,n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},$r=class extends Hr{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(t,n,r,o,i,s,a,c,u){super(t,i,s,a,c),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o;let l=r.styles;this.styles=u?gg(u,l):l,this.styleUrls=r.getExternalStyles?.(u)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},Yi=class extends $r{contentAttr;hostAttr;constructor(t,n,r,o,i,s,a,c,u){let l=o+"-"+r.id;super(t,n,r,i,s,a,c,u,l),this.contentAttr=gC(l),this.hostAttr=mC(l)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){let r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}};var Ki=class e extends Fr{supportsDOMEvents=!0;static makeCurrent(){yu(new e)}onAndCancel(t,n,r,o){return t.addEventListener(n,r,o),()=>{t.removeEventListener(n,r,o)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.remove()}createElement(t,n){return n=n||this.getDefaultDocument(),n.createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return n==="window"?window:n==="document"?t:n==="body"?t.body:null}getBaseHref(t){let n=yC();return n==null?null:vC(n)}resetBaseElement(){Ur=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return wu(document.cookie,t)}},Ur=null;function yC(){return Ur=Ur||document.head.querySelector("base"),Ur?Ur.getAttribute("href"):null}function vC(e){return new URL(e,document.baseURI).pathname}var DC=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:e.\u0275fac})}return e})(),yg=(()=>{class e extends Br{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o,i){return n.addEventListener(r,o,i),()=>this.removeEventListener(n,r,o,i)}removeEventListener(n,r,o,i){return n.removeEventListener(r,o,i)}static \u0275fac=function(r){return new(r||e)(b(z))};static \u0275prov=C({token:e,factory:e.\u0275fac})}return e})(),mg=["alt","control","meta","shift"],EC={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},IC={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},vg=(()=>{class e extends Br{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,r,o,i){let s=e.parseEventName(r),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>nt().onAndCancel(n,s.domEventName,a,i))}static parseEventName(n){let r=n.toLowerCase().split("."),o=r.shift();if(r.length===0||!(o==="keydown"||o==="keyup"))return null;let i=e._normalizeKey(r.pop()),s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),mg.forEach(u=>{let l=r.indexOf(u);l>-1&&(r.splice(l,1),s+=u+".")}),s+=i,r.length!=0||i.length===0)return null;let c={};return c.domEventName=o,c.fullKey=s,c}static matchEventFullKeyCode(n,r){let o=EC[n.key]||n.key,i="";return r.indexOf("code.")>-1&&(o=n.code,i="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),mg.forEach(s=>{if(s!==o){let a=IC[s];a(n)&&(i+=s+".")}}),i+=o,i===r)}static eventCallback(n,r,o){return i=>{e.matchEventFullKeyCode(i,n)&&o.runGuarded(()=>r(i))}}static _normalizeKey(n){return n==="esc"?"escape":n}static \u0275fac=function(r){return new(r||e)(b(z))};static \u0275prov=C({token:e,factory:e.\u0275fac})}return e})();function CC(e){return jh(wC(e))}function wC(e){return{appProviders:[...MC,...e?.providers??[]],platformProviders:TC}}function _C(){Ki.makeCurrent()}function bC(){return new le}function SC(){return Cc(document),document}var TC=[{provide:Dt,useValue:_u},{provide:Ii,useValue:_C,multi:!0},{provide:z,useFactory:SC}];var MC=[{provide:nr,useValue:"root"},{provide:le,useFactory:bC},{provide:Qi,useClass:yg,multi:!0,deps:[z]},{provide:Qi,useClass:vg,multi:!0,deps:[z]},Au,xu,Nu,{provide:Ke,useExisting:Au},{provide:Vr,useClass:DC},[]];var Ou=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=b(NC),o},providedIn:"root"})}return e})(),NC=(()=>{class e extends Ou{_doc;constructor(n){super(),this._doc=n}sanitize(n,r){if(r==null)return null;switch(n){case ke.NONE:return r;case ke.HTML:return Je(r,"HTML")?Fe(r):bi(this._doc,String(r)).toString();case ke.STYLE:return Je(r,"Style")?Fe(r):r;case ke.SCRIPT:if(Je(r,"Script"))return Fe(r);throw new m(5200,!1);case ke.URL:return Je(r,"URL")?Fe(r):_r(String(r));case ke.RESOURCE_URL:if(Je(r,"ResourceURL"))return Fe(r);throw new m(5201,!1);default:throw new m(5202,!1)}}bypassSecurityTrustHtml(n){return bc(n)}bypassSecurityTrustStyle(n){return Sc(n)}bypassSecurityTrustScript(n){return Tc(n)}bypassSecurityTrustUrl(n){return Mc(n)}bypassSecurityTrustResourceUrl(n){return Nc(n)}static \u0275fac=function(r){return new(r||e)(b(z))};static \u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Dg=class e{sanitizer=g(Ou);transform(t){return t?this.sanitizer.bypassSecurityTrustHtml(t):""}static \u0275fac=function(n){return new(n||e)};static \u0275pipe=Nr({name:"safeHtml",type:e,pure:!0})};function lP(e){return e.buttons===0||e.detail===0}function dP(e){let t=e.touches&&e.touches[0]||e.changedTouches&&e.changedTouches[0];return!!t&&t.identifier===-1&&(t.radiusX==null||t.radiusX===1)&&(t.radiusY==null||t.radiusY===1)}var Fu;function xC(){if(Fu==null){let e=typeof document<"u"?document.head:null;Fu=!!(e&&(e.createShadowRoot||e.attachShadow))}return Fu}function pP(e){if(xC()){let t=e.getRootNode?e.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}function hP(){let e=typeof document<"u"&&document?document.activeElement:null;for(;e&&e.shadowRoot;){let t=e.shadowRoot.activeElement;if(t===e)break;e=t}return e}function gP(e){return e.composedPath?e.composedPath()[0]:e.target}var ku;try{ku=typeof Intl<"u"&&Intl.v8BreakIterator}catch{ku=!1}var Eg=(()=>{class e{_platformId=g(Dt);isBrowser=this._platformId?lg(this._platformId):typeof document=="object"&&!!document;EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent);TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent);BLINK=this.isBrowser&&!!(window.chrome||ku)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT;WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT;IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window);FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent);ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT;SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT;constructor(){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function CP(e,t=0){return RC(e)?Number(e):arguments.length===2?t:0}function RC(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}function wP(e){return e instanceof Oe?e.nativeElement:e}var Ji=new WeakMap,TP=(()=>{class e{_appRef;_injector=g(re);_environmentInjector=g(ce);load(n){let r=this._appRef=this._appRef||this._injector.get(tt),o=Ji.get(r);o||(o={loaders:new Set,refs:[]},Ji.set(r,o),r.onDestroy(()=>{Ji.get(r)?.refs.forEach(i=>i.destroy()),Ji.delete(r)})),o.loaders.has(n)||(o.loaders.add(n),o.refs.push(Vh(n,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function NP(e){return Array.isArray(e)?e:[e]}var AC=new w("cdk-dir-doc",{providedIn:"root",factory:OC});function OC(){return g(z)}var FC=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function kC(e){let t=e?.toLowerCase()||"";return t==="auto"&&typeof navigator<"u"&&navigator?.language?FC.test(navigator.language)?"rtl":"ltr":t==="rtl"?"rtl":"ltr"}var OP=(()=>{class e{get value(){return this.valueSignal()}valueSignal=Ut("ltr");change=new Re;constructor(){let n=g(AC,{optional:!0});if(n){let r=n.body?n.body.dir:null,o=n.documentElement?n.documentElement.dir:null;this.valueSignal.set(kC(r||o||"ltr"))}}ngOnDestroy(){this.change.complete()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var en;function kP(){if(en==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return en=!1,en;if("scrollBehavior"in document.documentElement.style)en=!0;else{let e=Element.prototype.scrollTo;e?en=!/\{\s*\[native code\]\s*\}/.test(e.toString()):en=!1}}return en}var PC=20,eL=(()=>{class e{_platform=g(Eg);_listeners;_viewportSize;_change=new ae;_document=g(z);constructor(){let n=g(V),r=g(Ke).createRenderer(null,null);n.runOutsideAngular(()=>{if(this._platform.isBrowser){let o=i=>this._change.next(i);this._listeners=[r.listen("window","resize",o),r.listen("window","orientationchange",o)]}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){this._listeners?.forEach(n=>n()),this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let n={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),n}getViewportRect(){let n=this.getViewportScrollPosition(),{width:r,height:o}=this.getViewportSize();return{top:n.top,left:n.left,bottom:n.top+o,right:n.left+r,height:o,width:r}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let n=this._document,r=this._getWindow(),o=n.documentElement,i=o.getBoundingClientRect(),s=-i.top||n.body.scrollTop||r.scrollY||o.scrollTop||0,a=-i.left||n.body.scrollLeft||r.scrollX||o.scrollLeft||0;return{top:s,left:a}}change(n=PC){return n>0?this._change.pipe(Cs(n)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let n=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:n.innerWidth,height:n.innerHeight}:{width:0,height:0}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Pu={},oL=(()=>{class e{_appId=g(Ln);getId(n){return this._appId!=="ng"&&(n+=this._appId),Pu.hasOwnProperty(n)||(Pu[n]=0),`${n}${Pu[n]++}`}static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();export{$ as a,F as b,ae as c,zn as d,vs as e,Xu as f,pl as g,Zn as h,Hg as i,$g as j,Ug as k,zg as l,vl as m,Wg as n,Dl as o,El as p,Il as q,qg as r,C as s,At as t,w as u,g as v,ce as w,Zl as x,Yl as y,sd as z,ad as A,re as B,z as C,qe as D,Ut as E,we as F,Ei as G,Wm as H,Oe as I,ey as J,_y as K,by as L,jf as M,Lv as N,jv as O,Yt as P,Fi as Q,Ke as R,Mr as S,Jt as T,Dr as U,bp as V,Vn as W,Bn as X,Nr as Y,Zc as Z,BD as _,xp as $,Re as aa,V as ba,Pp as ca,tt as da,Hp as ea,nE as fa,rE as ga,oE as ha,iE as ia,sE as ja,$p as ka,nu as la,ru as ma,Up as na,Li as oa,ji as pa,ou as qa,iu as ra,Vi as sa,Gp as ta,su as ua,Wp as va,qp as wa,uE as xa,Yp as ya,Kp as za,Jp as Aa,hE as Ba,eh as Ca,th as Da,nh as Ea,rh as Fa,oh as Ga,yE as Ha,vE as Ia,DE as Ja,au as Ka,cu as La,xE as Ma,HE as Na,ph as Oa,uu as Pa,hh as Qa,zE as Ra,gh as Sa,yh as Ta,GE as Ua,WE as Va,qE as Wa,ZE as Xa,Dh as Ya,XE as Za,eI as _a,tI as $a,rI as ab,oI as bb,iI as cb,cI as db,lI as eb,Sh as fb,JO as gb,XO as hb,eF as ib,tF as jb,Lh as kb,BI as lb,nF as mb,Vh as nb,qh as ob,rC as pb,oC as qb,iC as rb,cC as sb,ug as tb,CC as ub,Ou as vb,Dg as wb,lP as xb,dP as yb,pP as zb,hP as Ab,gP as Bb,Eg as Cb,CP as Db,wP as Eb,TP as Fb,NP as Gb,OP as Hb,kP as Ib,eL as Jb,oL as Kb};
|