copilot-usage-studio 0.2.0 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +30 -2
- package/README.md +46 -13
- package/data/github-copilot-pricing.json +34 -6
- package/dist/copilot-usage-studio/browser/chunk-23NLHIOR.js +1 -0
- package/dist/copilot-usage-studio/browser/chunk-5JYQJM5G.js +1 -0
- package/dist/copilot-usage-studio/browser/chunk-7I2HDBC6.js +1 -0
- package/dist/copilot-usage-studio/browser/{chunk-TVSYR63W.js → chunk-OS2XPCVW.js} +2 -2
- package/dist/copilot-usage-studio/browser/{chunk-J47KKACI.js → chunk-QMNOUQ2X.js} +1 -1
- package/dist/copilot-usage-studio/browser/{chunk-NXH37FKU.js → chunk-RTOXDOOI.js} +1 -1
- package/dist/copilot-usage-studio/browser/chunk-TICIZRSM.js +1 -0
- package/dist/copilot-usage-studio/browser/chunk-WOIYAEKB.js +4 -0
- package/dist/copilot-usage-studio/browser/{chunk-QQOFM3HF.js → chunk-WWU6QMJC.js} +1 -1
- package/dist/copilot-usage-studio/browser/chunk-XMVGLQQH.js +1 -0
- package/dist/copilot-usage-studio/browser/index.html +2 -2
- package/dist/copilot-usage-studio/browser/main-XFPP45VE.js +1 -0
- package/dist/copilot-usage-studio/browser/styles-7RDDQXQV.css +1 -0
- package/docs/local-deployment.md +92 -17
- package/docs/pricing.md +5 -3
- package/docs/scanner-api.md +40 -0
- package/lib/cli.mjs +15 -1
- package/lib/local-runtime.mjs +499 -19
- package/lib/scanner-worker.mjs +25 -0
- package/package.json +20 -2
- package/scripts/pricing-utils.mjs +5 -0
- package/scripts/scan-vscode-sessions.mjs +387 -1475
- package/scripts/scanner-customization-evidence.mjs +613 -0
- package/scripts/scanner-customization-inventory.mjs +1022 -0
- package/scripts/scanner-memory.mjs +229 -0
- package/scripts/scanner-session-parser.mjs +1237 -0
- package/scripts/scanner-traversal.mjs +203 -0
- package/scripts/scanner-workspace.mjs +237 -0
- package/dist/copilot-usage-studio/browser/chunk-CUKTUQ6W.js +0 -1
- package/dist/copilot-usage-studio/browser/chunk-EYAHOEVS.js +0 -1
- package/dist/copilot-usage-studio/browser/chunk-FXNLFSUB.js +0 -1
- package/dist/copilot-usage-studio/browser/chunk-HJNYITFH.js +0 -1
- package/dist/copilot-usage-studio/browser/chunk-KDAJN6DF.js +0 -4
- package/dist/copilot-usage-studio/browser/main-TL27ZSEQ.js +0 -1
- package/dist/copilot-usage-studio/browser/styles-GZOQ5QIH.css +0 -1
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
var Ph=Object.defineProperty,Lh=Object.defineProperties;var Vh=Object.getOwnPropertyDescriptors;var _u=Object.getOwnPropertySymbols;var jh=Object.prototype.hasOwnProperty,Bh=Object.prototype.propertyIsEnumerable;var Iu=(e,t,n)=>t in e?Ph(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,O=(e,t)=>{for(var n in t||={})jh.call(t,n)&&Iu(e,n,t[n]);if(_u)for(var n of _u(t))Bh.call(t,n)&&Iu(e,n,t[n]);return e},L=(e,t)=>Lh(e,Vh(t));var X=null,Zr=!1,ls=1,Hh=null,te=Symbol("SIGNAL");function v(e){let t=X;return X=e,t}function Jr(){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 Kt(e){if(Zr)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||Uh(o,X)))return;let i=Xt(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&&Su(e,s)}function bu(){ls++}function Xr(e){if(!(Xt(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===ls)){if(!e.producerMustRecompute(e)&&!zn(e)){Kr(e);return}e.producerRecomputeValue(e),Kr(e)}}function ds(e){if(e.consumers===void 0)return;let t=Zr;Zr=!0;try{for(let n=e.consumers;n!==void 0;n=n.nextConsumer){let r=n.consumer;r.dirty||$h(r)}}finally{Zr=t}}function fs(){return X?.consumerAllowSignalWrites!==!1}function $h(e){e.dirty=!0,ds(e),e.consumerMarkedDirty?.(e)}function Kr(e){e.dirty=!1,e.lastCleanEpoch=ls}function bt(e){return e&&wu(e),v(e)}function wu(e){e.producersTail=void 0,e.recomputing=!0}function Jt(e,t){v(t),e&&Mu(e)}function Mu(e){e.recomputing=!1;let t=e.producersTail,n=t!==void 0?t.nextProducer:e.producers;if(n!==void 0){if(Xt(e))do n=ps(n);while(n!==void 0);t!==void 0?t.nextProducer=void 0:e.producers=void 0}}function zn(e){for(let t=e.producers;t!==void 0;t=t.nextProducer){let n=t.producer,r=t.lastReadVersion;if(r!==n.version||(Xr(n),r!==n.version))return!0}return!1}function wt(e){if(Xt(e)){let t=e.producers;for(;t!==void 0;)t=ps(t)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function Su(e,t){let n=e.consumersTail,r=Xt(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)Su(o.producer,o)}function ps(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,!Xt(t)){let i=t.producers;for(;i!==void 0;)i=ps(i)}return n}function Xt(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function eo(e){Hh?.(e)}function Uh(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 to(e,t){return Object.is(e,t)}function no(e,t){let n=Object.create(Gh);n.computation=e,t!==void 0&&(n.equal=t);let r=()=>{if(Xr(n),Kt(n),n.value===Wn)throw n.error;return n.value};return r[te]=n,eo(n),r}var Yr=Symbol("UNSET"),Qr=Symbol("COMPUTING"),Wn=Symbol("ERRORED"),Gh=L(O({},It),{value:Yr,dirty:!0,error:null,equal:to,kind:"computed",producerMustRecompute(e){return e.value===Yr||e.value===Qr},producerRecomputeValue(e){if(e.value===Qr)throw new Error("");let t=e.value;e.value=Qr;let n=bt(e),r,o=!1;try{r=e.computation(),v(null),o=t!==Yr&&t!==Wn&&r!==Wn&&e.equal(t,r)}catch(i){r=Wn,e.error=i}finally{Jt(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function Wh(){throw new Error}var Tu=Wh;function Nu(e){Tu(e)}function hs(e){Tu=e}var zh=null;function gs(e,t){let n=Object.create(ro);n.value=e,t!==void 0&&(n.equal=t);let r=()=>Au(n);return r[te]=n,eo(n),[r,s=>en(n,s),s=>ms(n,s)]}function Au(e){return Kt(e),e.value}function en(e,t){fs()||Nu(e),e.equal(e.value,t)||(e.value=t,qh(e))}function ms(e,t){fs()||Nu(e),en(e,t(e.value))}var ro=L(O({},It),{equal:to,value:void 0,kind:"signal"});function qh(e){e.version++,bu(),ds(e),zh?.(e)}var ys=L(O({},It),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"});function vs(e){if(e.dirty=!1,e.version>0&&!zn(e))return;e.version++;let t=bt(e);try{e.cleanup(),e.fn()}finally{Jt(e,t)}}function I(e){return typeof e=="function"}function tn(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 oo=tn(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 qn(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var ne=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(I(r))try{r()}catch(i){t=i instanceof oo?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{xu(i)}catch(s){t=t??[],s instanceof oo?t=[...t,...s.errors]:t.push(s)}}if(t)throw new oo(t)}}add(t){var n;if(t&&t!==this)if(this.closed)xu(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)&&qn(n,t)}remove(t){let{_finalizers:n}=this;n&&qn(n,t),t instanceof e&&t._removeParent(this)}};ne.EMPTY=(()=>{let e=new ne;return e.closed=!0,e})();var Ds=ne.EMPTY;function io(e){return e instanceof ne||e&&"closed"in e&&I(e.remove)&&I(e.add)&&I(e.unsubscribe)}function xu(e){I(e)?e():e.unsubscribe()}var be={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var nn={setTimeout(e,t,...n){let{delegate:r}=nn;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=nn;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function so(e){nn.setTimeout(()=>{let{onUnhandledError:t}=be;if(t)t(e);else throw e})}function Zn(){}var Fu=Es("C",void 0,void 0);function Ru(e){return Es("E",void 0,e)}function Ou(e){return Es("N",e,void 0)}function Es(e,t,n){return{kind:e,value:t,error:n}}var Mt=null;function rn(e){if(be.useDeprecatedSynchronousErrorHandling){let t=!Mt;if(t&&(Mt={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=Mt;if(Mt=null,n)throw r}}else e()}function ku(e){be.useDeprecatedSynchronousErrorHandling&&Mt&&(Mt.errorThrown=!0,Mt.error=e)}var St=class extends ne{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,io(t)&&t.add(this)):this.destination=Qh}static create(t,n,r){return new on(t,n,r)}next(t){this.isStopped?_s(Ou(t),this):this._next(t)}error(t){this.isStopped?_s(Ru(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?_s(Fu,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()}}},Zh=Function.prototype.bind;function Cs(e,t){return Zh.call(e,t)}var Is=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){ao(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){ao(r)}else ao(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){ao(n)}}},on=class extends St{constructor(t,n,r){super();let o;if(I(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&be.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Cs(t.next,i),error:t.error&&Cs(t.error,i),complete:t.complete&&Cs(t.complete,i)}):o=t}this.destination=new Is(o)}};function ao(e){be.useDeprecatedSynchronousErrorHandling?ku(e):so(e)}function Yh(e){throw e}function _s(e,t){let{onStoppedNotification:n}=be;n&&nn.setTimeout(()=>n(e,t))}var Qh={closed:!0,next:Zn,error:Yh,complete:Zn};var sn=typeof Symbol=="function"&&Symbol.observable||"@@observable";function we(e){return e}function Kh(...e){return bs(e)}function bs(e){return e.length===0?we:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var N=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=Xh(n)?n:new on(n,r,o);return rn(()=>{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=Pu(r),new r((o,i)=>{let s=new on({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)}[sn](){return this}pipe(...n){return bs(n)(this)}toPromise(n){return n=Pu(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 Pu(e){var t;return(t=e??be.Promise)!==null&&t!==void 0?t:Promise}function Jh(e){return e&&I(e.next)&&I(e.error)&&I(e.complete)}function Xh(e){return e&&e instanceof St||Jh(e)&&io(e)}function eg(e){return I(e?.lift)}function x(e){return t=>{if(eg(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 F(e,t,n,r,o){return new ws(e,t,n,r,o)}var ws=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 Lu=tn(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var fe=(()=>{class e extends N{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new co(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Lu}next(n){rn(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){rn(()=>{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(){rn(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){let{hasError:r,isStopped:o,observers:i}=this;return r||o?Ds:(this.currentObservers=null,i.push(n),new ne(()=>{this.currentObservers=null,qn(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new N;return n.source=this,n}}return e.create=(t,n)=>new co(t,n),e})(),co=class extends fe{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,t)}error(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,t)}complete(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t)}_subscribe(t){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&r!==void 0?r:Ds}};var Yn=class extends fe{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 Qn=new N(e=>e.complete());function Vu(e){return e&&I(e.schedule)}function ju(e){return e[e.length-1]}function uo(e){return I(ju(e))?e.pop():void 0}function it(e){return Vu(ju(e))?e.pop():void 0}function Hu(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 Bu(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 $u(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(f){return function(h){return Promise.resolve(h).then(f,d)}}function a(f,h){r[f]&&(o[f]=function(y){return new Promise(function(D,M){i.push([f,y,D,M])>1||c(f,y)})},h&&(o[f]=h(o[f])))}function c(f,h){try{u(r[f](h))}catch(y){p(i[0][3],y)}}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 Uu(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof Bu=="function"?Bu(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 lo=e=>e&&typeof e.length=="number"&&typeof e!="function";function fo(e){return I(e?.then)}function po(e){return I(e[sn])}function ho(e){return Symbol.asyncIterator&&I(e?.[Symbol.asyncIterator])}function go(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 tg(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var mo=tg();function yo(e){return I(e?.[mo])}function vo(e){return $u(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 Do(e){return I(e?.getReader)}function W(e){if(e instanceof N)return e;if(e!=null){if(po(e))return ng(e);if(lo(e))return rg(e);if(fo(e))return og(e);if(ho(e))return Gu(e);if(yo(e))return ig(e);if(Do(e))return sg(e)}throw go(e)}function ng(e){return new N(t=>{let n=e[sn]();if(I(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function rg(e){return new N(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function og(e){return new N(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,so)})}function ig(e){return new N(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function Gu(e){return new N(t=>{ag(e,t).catch(n=>t.error(n))})}function sg(e){return Gu(vo(e))}function ag(e,t){var n,r,o,i;return Hu(this,void 0,void 0,function*(){try{for(n=Uu(e);r=yield n.next(),!r.done;){let s=r.value;if(t.next(s),t.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})}function ie(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 Eo(e,t=0){return x((n,r)=>{n.subscribe(F(r,o=>ie(r,e,()=>r.next(o),t),()=>ie(r,e,()=>r.complete(),t),o=>ie(r,e,()=>r.error(o),t)))})}function Co(e,t=0){return x((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Wu(e,t){return W(e).pipe(Co(t),Eo(t))}function zu(e,t){return W(e).pipe(Co(t),Eo(t))}function qu(e,t){return new N(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function Zu(e,t){return new N(n=>{let r;return ie(n,t,()=>{r=e[mo](),ie(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>I(r?.return)&&r.return()})}function _o(e,t){if(!e)throw new Error("Iterable cannot be null");return new N(n=>{ie(n,t,()=>{let r=e[Symbol.asyncIterator]();ie(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Yu(e,t){return _o(vo(e),t)}function Qu(e,t){if(e!=null){if(po(e))return Wu(e,t);if(lo(e))return qu(e,t);if(fo(e))return zu(e,t);if(ho(e))return _o(e,t);if(yo(e))return Zu(e,t);if(Do(e))return Yu(e,t)}throw go(e)}function Le(e,t){return t?Qu(e,t):W(e)}function cg(...e){let t=it(e);return Le(e,t)}function ug(e,t){let n=I(e)?e:()=>e,r=o=>o.error(n());return new N(t?o=>t.schedule(r,0,o):r)}function lg(e){return!!e&&(e instanceof N||I(e.lift)&&I(e.subscribe))}var Kn=tn(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Ge(e,t){return x((n,r)=>{let o=0;n.subscribe(F(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:dg}=Array;function fg(e,t){return dg(t)?e(...t):e(t)}function Io(e){return Ge(t=>fg(e,t))}var{isArray:pg}=Array,{getPrototypeOf:hg,prototype:gg,keys:mg}=Object;function bo(e){if(e.length===1){let t=e[0];if(pg(t))return{args:t,keys:null};if(yg(t)){let n=mg(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function yg(e){return e&&typeof e=="object"&&hg(e)===gg}function wo(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function vg(...e){let t=it(e),n=uo(e),{args:r,keys:o}=bo(e);if(r.length===0)return Le([],t);let i=new N(Dg(r,t,o?s=>wo(o,s):we));return n?i.pipe(Io(n)):i}function Dg(e,t,n=we){return r=>{Ku(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)Ku(t,()=>{let u=Le(e[c],t),l=!1;u.subscribe(F(r,d=>{i[c]=d,l||(l=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Ku(e,t,n){e?ie(n,e,t):t()}function Ju(e,t,n,r,o,i,s,a){let c=[],u=0,l=0,d=!1,p=()=>{d&&!c.length&&!u&&t.complete()},f=y=>u<r?h(y):c.push(y),h=y=>{i&&t.next(y),u++;let D=!1;W(n(y,l++)).subscribe(F(t,M=>{o?.(M),i?f(M):t.next(M)},()=>{D=!0},void 0,()=>{if(D)try{for(u--;c.length&&u<r;){let M=c.shift();s?ie(t,s,()=>h(M)):h(M)}p()}catch(M){t.error(M)}}))};return e.subscribe(F(t,f,()=>{d=!0,p()})),()=>{a?.()}}function Nt(e,t,n=1/0){return I(t)?Nt((r,o)=>Ge((i,s)=>t(r,i,o,s))(W(e(r,o))),n):(typeof t=="number"&&(n=t),x((r,o)=>Ju(r,o,e,n)))}function Xu(e=1/0){return Nt(we,e)}function el(){return Xu(1)}function Mo(...e){return el()(Le(e,it(e)))}function Eg(e){return new N(t=>{W(e()).subscribe(t)})}function Ms(...e){let t=uo(e),{args:n,keys:r}=bo(e),o=new N(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),c=s,u=s;for(let l=0;l<s;l++){let d=!1;W(n[l]).subscribe(F(i,p=>{d||(d=!0,u--),a[l]=p},()=>c--,void 0,()=>{(!c||!d)&&(u||i.next(r?wo(r,a):a),i.complete())}))}});return t?o.pipe(Io(t)):o}function Ss(e,t){return x((n,r)=>{let o=0;n.subscribe(F(r,i=>e.call(t,i,o++)&&r.next(i)))})}function tl(e){return x((t,n)=>{let r=null,o=!1,i;r=t.subscribe(F(n,void 0,void 0,s=>{i=W(e(s,tl(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function Cg(e,t){return I(t)?Nt(e,t,1):Nt(e,1)}function nl(e){return x((t,n)=>{let r=!1;t.subscribe(F(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function Ts(e){return e<=0?()=>Qn:x((t,n)=>{let r=0;t.subscribe(F(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function rl(e=_g){return x((t,n)=>{let r=!1;t.subscribe(F(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function _g(){return new Kn}function Ig(e){return x((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function bg(e,t){let n=arguments.length>=2;return r=>r.pipe(e?Ss((o,i)=>e(o,i,r)):we,Ts(1),n?nl(t):rl(()=>new Kn))}function wg(e){return e<=0?()=>Qn:x((t,n)=>{let r=[];t.subscribe(F(n,o=>{r.push(o),e<r.length&&r.shift()},()=>{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function Mg(...e){let t=it(e);return x((n,r)=>{(t?Mo(e,n,t):Mo(e,n)).subscribe(r)})}function Sg(e,t){return x((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(F(r,c=>{o?.unsubscribe();let u=0,l=i++;W(e(c,l)).subscribe(o=F(r,d=>r.next(t?t(c,d,l,u++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Tg(e){return x((t,n)=>{W(e).subscribe(F(n,()=>n.complete(),Zn)),!n.closed&&t.subscribe(n)})}function Ng(e,t,n){let r=I(e)||t||n?{next:e,error:t,complete:n}:e;return r?x((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(F(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)}))}):we}var Ns;function So(){return Ns}function Ve(e){let t=Ns;return Ns=e,t}var ol=Symbol("NotFound");function an(e){return e===ol||e?.name==="\u0275NotFound"}function il(e){let t=v(null);try{return e()}finally{v(t)}}var Oo="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",C=class extends Error{code;constructor(t,n){super(ko(t,n)),this.code=t}};function Ag(e){return`NG0${Math.abs(e)}`}function ko(e,t){return`${Ag(e)}${t?": "+t:""}`}var un=globalThis;function R(e){for(let t in e)if(e[t]===R)return t;throw Error("")}function ll(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function or(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(or).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 $s(e,t){return e?t?`${e} ${t}`:e:t||""}var xg=R({__forward_ref__:R});function qe(e){return e.__forward_ref__=qe,e}function Q(e){return Us(e)?e():e}function Us(e){return typeof e=="function"&&e.hasOwnProperty(xg)&&e.__forward_ref__===qe}function P(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function ln(e){return{providers:e.providers||[],imports:e.imports||[]}}function ir(e){return Rg(e,Po)}function Fg(e){return ir(e)!==null}function Rg(e,t){return e.hasOwnProperty(t)&&e[t]||null}function Og(e){let t=e?.[Po]??null;return t||null}function xs(e){return e&&e.hasOwnProperty(No)?e[No]:null}var Po=R({\u0275prov:R}),No=R({\u0275inj:R}),b=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,n){this._desc=t,this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=P({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Gs(e){return e&&!!e.\u0275providers}var Ws=R({\u0275cmp:R}),zs=R({\u0275dir:R}),qs=R({\u0275pipe:R}),Zs=R({\u0275mod:R}),Xn=R({\u0275fac:R}),kt=R({__NG_ELEMENT_ID__:R}),sl=R({__NG_ENV_ID__:R});function Ys(e){return Vo(e,"@NgModule"),e[Zs]||null}function Ze(e){return Vo(e,"@Component"),e[Ws]||null}function Lo(e){return Vo(e,"@Directive"),e[zs]||null}function Qs(e){return Vo(e,"@Pipe"),e[qs]||null}function Vo(e,t){if(e==null)throw new C(-919,!1)}function Ye(e){return typeof e=="string"?e:e==null?"":String(e)}var dl=R({ngErrorCode:R}),kg=R({ngErrorMessage:R}),Pg=R({ngTokenPath:R});function Ks(e,t){return fl("",-200,t)}function jo(e,t){throw new C(-201,!1)}function fl(e,t,n){let r=new C(t,e);return r[dl]=t,r[kg]=e,n&&(r[Pg]=n),r}function Lg(e){return e[dl]}var Fs;function pl(){return Fs}function re(e){let t=Fs;return Fs=e,t}function Js(e,t,n){let r=ir(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;jo(e,"")}var Vg={},At=Vg,jg="__NG_DI_FLAG__",Rs=class{injector;constructor(t){this.injector=t}retrieve(t,n){let r=xt(n)||0;try{return this.injector.get(t,r&8?null:At,r)}catch(o){if(an(o))return o;throw o}}};function Bg(e,t=0){let n=So();if(n===void 0)throw new C(-203,!1);if(n===null)return Js(e,void 0,t);{let r=Hg(t),o=n.retrieve(e,r);if(an(o)){if(r.optional)return null;throw o}return o}}function K(e,t=0){return(pl()||Bg)(Q(e),t)}function m(e,t){return K(e,xt(t))}function xt(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Hg(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function Os(e){let t=[];for(let n=0;n<e.length;n++){let r=Q(e[n]);if(Array.isArray(r)){if(r.length===0)throw new C(900,!1);let o,i=0;for(let s=0;s<r.length;s++){let a=r[s],c=$g(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(K(o,i))}else t.push(K(r))}return t}function $g(e){return e[jg]}function st(e,t){let n=e.hasOwnProperty(Xn);return n?e[Xn]:null}function hl(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let o=e[r],i=t[r];if(n&&(o=n(o),i=n(i)),i!==o)return!1}return!0}function gl(e){return e.flat(Number.POSITIVE_INFINITY)}function Bo(e,t){e.forEach(n=>Array.isArray(n)?Bo(n,t):t(n))}function Xs(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function sr(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function ml(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 yl(e,t,n){let r=dn(e,t);return r>=0?e[r|1]=n:(r=~r,ml(e,r,t,n)),r}function Ho(e,t){let n=dn(e,t);if(n>=0)return e[n|1]}function dn(e,t){return Ug(e,t,1)}function Ug(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 ut={},he=[],fn=new b(""),ea=new b("",-1),ta=new b(""),er=class{get(t,n=At){if(n===At){let o=fl("",-201);throw o.name="\u0275NotFound",o}return n}};function $o(e){return{\u0275providers:e}}function vl(e){return $o([{provide:fn,multi:!0,useValue:e}])}function Dl(...e){return{\u0275providers:Uo(!0,e),\u0275fromNgModule:!0}}function Uo(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return Bo(t,s=>{let a=s;Ao(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&El(o,i),n}function El(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];na(o,i=>{t(i,r)})}}function Ao(e,t,n,r){if(e=Q(e),!e)return!1;let o=null,i=xs(e),s=!i&&Ze(e);if(!i&&!s){let c=e.ngModule;if(i=xs(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)Ao(u,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let u;Bo(i.imports,l=>{Ao(l,t,n,r)&&(u||=[],u.push(l))}),u!==void 0&&El(u,t)}if(!a){let u=st(o)||(()=>new o);t({provide:o,useFactory:u,deps:he},o),t({provide:ta,useValue:o,multi:!0},o),t({provide:fn,useValue:()=>K(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let u=e;na(c,l=>{t(l,u)})}}else return!1;return o!==e&&e.providers!==void 0}function na(e,t){for(let n of e)Gs(n)&&(n=n.\u0275providers),Array.isArray(n)?na(n,t):t(n)}var Gg=R({provide:String,useValue:R});function Cl(e){return e!==null&&typeof e=="object"&&Gg in e}function Wg(e){return!!(e&&e.useExisting)}function zg(e){return!!(e&&e.useFactory)}function Ft(e){return typeof e=="function"}function _l(e){return!!e.useClass}var ra=new b(""),To={},al={},As;function ar(){return As===void 0&&(As=new er),As}var ge=class{},Rt=class extends ge{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,Ps(t,s=>this.processProvider(s)),this.records.set(ea,cn(void 0,this)),o.has("environment")&&this.records.set(ge,cn(void 0,this));let i=this.records.get(ra);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(ta,he,{self:!0}))}retrieve(t,n){let r=xt(n)||0;try{return this.get(t,At,r)}catch(o){if(an(o))return o;throw o}}destroy(){Jn(this),this._destroyed=!0;let t=v(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(),v(t)}}onDestroy(t){return Jn(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){Jn(this);let n=Ve(this),r=re(void 0),o;try{return t()}finally{Ve(n),re(r)}}get(t,n=At,r){if(Jn(this),t.hasOwnProperty(sl))return t[sl](this);let o=xt(r),i,s=Ve(this),a=re(void 0);try{if(!(o&4)){let u=this.records.get(t);if(u===void 0){let l=Kg(t)&&ir(t);l&&this.injectableDefInScope(l)?u=cn(ks(t),To):u=null,this.records.set(t,u)}if(u!=null)return this.hydrate(t,u,o)}let c=o&2?ar():this.parent;return n=o&8&&n===At?null:n,c.get(t,n)}catch(c){let u=Lg(c);throw u===-200||u===-201?new C(u,null):c}finally{re(a),Ve(s)}}resolveInjectorInitializers(){let t=v(null),n=Ve(this),r=re(void 0),o;try{let i=this.get(fn,he,{self:!0});for(let s of i)s()}finally{Ve(n),re(r),v(t)}}toString(){return"R3Injector[...]"}processProvider(t){t=Q(t);let n=Ft(t)?t:Q(t&&t.provide),r=Zg(t);if(!Ft(t)&&t.multi===!0){let o=this.records.get(n);o||(o=cn(void 0,To,!0),o.factory=()=>Os(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n,r){let o=v(null);try{if(n.value===al)throw Ks("");return n.value===To&&(n.value=al,n.value=n.factory(void 0,r)),typeof n.value=="object"&&n.value&&Qg(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{v(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=Q(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 ks(e){let t=ir(e),n=t!==null?t.factory:st(e);if(n!==null)return n;if(e instanceof b)throw new C(-204,!1);if(e instanceof Function)return qg(e);throw new C(-204,!1)}function qg(e){if(e.length>0)throw new C(-204,!1);let n=Og(e);return n!==null?()=>n.factory(e):()=>new e}function Zg(e){if(Cl(e))return cn(void 0,e.useValue);{let t=oa(e);return cn(t,To)}}function oa(e,t,n){let r;if(Ft(e)){let o=Q(e);return st(o)||ks(o)}else if(Cl(e))r=()=>Q(e.useValue);else if(zg(e))r=()=>e.useFactory(...Os(e.deps||[]));else if(Wg(e))r=(o,i)=>K(Q(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=Q(e&&(e.useClass||e.provide));if(Yg(e))r=()=>new o(...Os(e.deps));else return st(o)||ks(o)}return r}function Jn(e){if(e.destroyed)throw new C(-205,!1)}function cn(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Yg(e){return!!e.deps}function Qg(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Kg(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function Ps(e,t){for(let n of e)Array.isArray(n)?Ps(n,t):n&&Gs(n)?Ps(n.\u0275providers,t):t(n)}function Go(e,t){let n;e instanceof Rt?(Jn(e),n=e):n=new Rs(e);let r,o=Ve(n),i=re(void 0);try{return t()}finally{Ve(o),re(i)}}function Il(){return pl()!==void 0||So()!=null}var Te=0,g=1,E=2,z=3,De=4,Ee=5,pn=6,hn=7,G=8,oe=9,Ne=10,B=11,gn=12,ia=13,Pt=14,me=15,lt=16,Lt=17,je=18,Qe=19,sa=20,We=21,Wo=22,at=23,ye=24,Vt=25,dt=26,H=27,bl=1,ft=6,pt=7,cr=8,jt=9,$=10;function Ke(e){return Array.isArray(e)&&typeof e[bl]=="object"}function Ae(e){return Array.isArray(e)&&e[bl]===!0}function aa(e){return(e.flags&4)!==0}function Je(e){return e.componentOffset>-1}function zo(e){return(e.flags&1)===1}function Be(e){return!!e.template}function mn(e){return(e[E]&512)!==0}function ht(e){return(e[E]&256)===256}var wl="svg",Ml="math";function Ce(e){for(;Array.isArray(e);)e=e[Te];return e}function ca(e,t){return Ce(t[e])}function xe(e,t){return Ce(t[e.index])}function yn(e,t){return e.data[t]}function ua(e,t){return e[t]}function la(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function _e(e,t){let n=t[e];return Ke(n)?n:n[Te]}function Sl(e){return(e[E]&4)===4}function qo(e){return(e[E]&128)===128}function Tl(e){return Ae(e[z])}function Fe(e,t){return t==null?null:e[t]}function da(e){e[Lt]=0}function fa(e){e[E]&1024||(e[E]|=1024,qo(e)&&Bt(e))}function Nl(e,t){for(;e>0;)t=t[Pt],e--;return t}function ur(e){return!!(e[E]&9216||e[ye]?.dirty)}function Zo(e){e[Ne].changeDetectionScheduler?.notify(8),e[E]&64&&(e[E]|=1024),ur(e)&&Bt(e)}function Bt(e){e[Ne].changeDetectionScheduler?.notify(0);let t=ct(e);for(;t!==null&&!(t[E]&8192||(t[E]|=8192,!qo(t)));)t=ct(t)}function Yo(e,t){if(ht(e))throw new C(911,!1);e[We]===null&&(e[We]=[]),e[We].push(t)}function pa(e,t){if(e[We]===null)return;let n=e[We].indexOf(t);n!==-1&&e[We].splice(n,1)}function ct(e){let t=e[z];return Ae(t)?t[z]:t}function ha(e){return e[hn]??=[]}function ga(e){return e.cleanup??=[]}function Al(e,t,n,r){let o=ha(t);o.push(n),e.firstCreatePass&&ga(e).push(r,o.length-1)}var w={lFrame:Ul(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Ls=!1;function xl(){return w.lFrame.elementDepthCount}function Fl(){w.lFrame.elementDepthCount++}function ma(){w.lFrame.elementDepthCount--}function Rl(){return w.bindingsEnabled}function Ol(){return w.skipHydrationRootTNode!==null}function ya(e){return w.skipHydrationRootTNode===e}function va(){w.skipHydrationRootTNode=null}function _(){return w.lFrame.lView}function q(){return w.lFrame.tView}function Qo(e){return w.lFrame.contextLView=e,e[G]}function Ko(e){return w.lFrame.contextLView=null,e}function J(){let e=Da();for(;e!==null&&e.type===64;)e=e.parent;return e}function Da(){return w.lFrame.currentTNode}function kl(){let e=w.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function vn(e,t){let n=w.lFrame;n.currentTNode=e,n.isParent=t}function Ea(){return w.lFrame.isParent}function Pl(){w.lFrame.isParent=!1}function Ca(){return Ls}function tr(e){let t=Ls;return Ls=e,t}function _a(){let e=w.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Ia(){return w.lFrame.bindingIndex}function Ll(e){return w.lFrame.bindingIndex=e}function Ht(){return w.lFrame.bindingIndex++}function Jo(e){let t=w.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Vl(){return w.lFrame.inI18n}function jl(e,t){let n=w.lFrame;n.bindingIndex=n.bindingRootIndex=e,Xo(t)}function Bl(){return w.lFrame.currentDirectiveIndex}function Xo(e){w.lFrame.currentDirectiveIndex=e}function Hl(e){let t=w.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function ba(){return w.lFrame.currentQueryIndex}function ei(e){w.lFrame.currentQueryIndex=e}function Jg(e){let t=e[g];return t.type===2?t.declTNode:t.type===1?e[Ee]:null}function wa(e,t,n){if(n&4){let o=t,i=e;for(;o=o.parent,o===null&&!(n&1);)if(o=Jg(i),o===null||(i=i[Pt],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=w.lFrame=$l();return r.currentTNode=t,r.lView=e,!0}function ti(e){let t=$l(),n=e[g];w.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function $l(){let e=w.lFrame,t=e===null?null:e.child;return t===null?Ul(e):t}function Ul(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 Gl(){let e=w.lFrame;return w.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Ma=Gl;function ni(){let e=Gl();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 Wl(e){return(w.lFrame.contextLView=Nl(e,w.lFrame.contextLView))[G]}function He(){return w.lFrame.selectedIndex}function gt(e){w.lFrame.selectedIndex=e}function ri(){let e=w.lFrame;return yn(e.tView,e.selectedIndex)}function zl(){return w.lFrame.currentNamespace}var ql=!0;function oi(){return ql}function ii(e){ql=e}function Vs(e,t=null,n=null,r){let o=Sa(e,t,n,r);return o.resolveInjectorInitializers(),o}function Sa(e,t=null,n=null,r,o=new Set){let i=[n||he,Dl(e)],s;return new Rt(i,t||ar(),s||null,o)}var Me=class e{static THROW_IF_NOT_FOUND=At;static NULL=new er;static create(t,n){if(Array.isArray(t))return Vs({name:""},n,t,"");{let r=t.name??"";return Vs({name:r},t.parent,t.providers,r)}}static \u0275prov=P({token:e,providedIn:"any",factory:()=>K(ea)});static __NG_ELEMENT_ID__=-1},Xe=new b(""),et=(()=>{class e{static __NG_ELEMENT_ID__=Xg;static __NG_ENV_ID__=n=>n}return e})(),xo=class extends et{_lView;constructor(t){super(),this._lView=t}get destroyed(){return ht(this._lView)}onDestroy(t){let n=this._lView;return Yo(n,t),()=>pa(n,t)}};function Xg(){return new xo(_())}var Zl=!1,Yl=new b(""),$t=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new Yn(!1);debugTaskTracker=m(Yl,{optional:!0});get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new N(n=>{n.next(!1),n.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),this.debugTaskTracker?.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.debugTaskTracker?.remove(n),this.pendingTasks.size===0&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=P({token:e,providedIn:"root",factory:()=>new e})}return e})(),js=class extends fe{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,Il()&&(this.destroyRef=m(et,{optional:!0})??void 0,this.pendingTasks=m($t,{optional:!0})??void 0)}emit(t){let n=v(null);try{super.next(t)}finally{v(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 ne&&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)}})}}},pe=js;function Fo(...e){}function Ta(e){let t,n;function r(){e=Fo;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 Ql(e){return queueMicrotask(()=>e()),()=>{e=Fo}}var Na="isAngularZone",nr=Na+"_ID",em=0,Se=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new pe(!1);onMicrotaskEmpty=new pe(!1);onStable=new pe(!1);onError=new pe(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=Zl}=t;if(typeof Zone>"u")throw new C(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,rm(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Na)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new C(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new C(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,tm,Fo,Fo);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)}},tm={};function Aa(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 nm(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){Ta(()=>{e.callbackScheduled=!1,Bs(e),e.isCheckStableRunning=!0,Aa(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Bs(e)}function rm(e){let t=()=>{nm(e)},n=em++;e._inner=e._inner.fork({name:"angular",properties:{[Na]:!0,[nr]:n,[nr+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(om(c))return r.invokeTask(i,s,a,c);try{return cl(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),ul(e)}},onInvoke:(r,o,i,s,a,c,u)=>{try{return cl(e),r.invoke(i,s,a,c,u)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!im(c)&&t(),ul(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Bs(e),Aa(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 Bs(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function cl(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function ul(e){e._nesting--,Aa(e)}var rr=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new pe;onMicrotaskEmpty=new pe;onStable=new pe;onError=new pe;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 om(e){return Kl(e,"__ignore_ng_zone__")}function im(e){return Kl(e,"__scheduler_tick__")}function Kl(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var Ot=class{_console=console;handleError(t){this._console.error("ERROR",t)}},tt=new b("",{factory:()=>{let e=m(Se),t=m(ge),n;return r=>{e.runOutsideAngular(()=>{t.destroyed&&!n?setTimeout(()=>{throw r}):(n??=t.get(Ot),n.handleError(r))})}}}),Jl={provide:fn,useValue:()=>{let e=m(Ot,{optional:!0})},multi:!0},sm=new b("",{factory:()=>{let e=m(Xe).defaultView;if(!e)return;let t=m(tt),n=i=>{t(i.reason),i.preventDefault()},r=i=>{i.error?t(i.error):t(new Error(i.message,{cause:i})),i.preventDefault()},o=()=>{e.addEventListener("unhandledrejection",n),e.addEventListener("error",r)};typeof Zone<"u"?Zone.root.run(o):o(),m(et).onDestroy(()=>{e.removeEventListener("error",r),e.removeEventListener("unhandledrejection",n)})}});function am(){return $o([vl(()=>{m(sm)})])}function Dn(e,t){let[n,r,o]=gs(e,t?.equal),i=n,s=i[te];return i.set=r,i.update=o,i.asReadonly=Xl.bind(i),i}function Xl(){let e=this[te];if(e.readonlyFn===void 0){let t=()=>this();t[te]=e,e.readonlyFn=t}return e.readonlyFn}var lr=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=cm}return e})();function cm(){return new lr(_(),J())}var ze=class{},dr=new b("",{factory:()=>!0});var xa=new b(""),Fa=(()=>{class e{internalPendingTasks=m($t);scheduler=m(ze);errorHandler=m(tt);add(){let n=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(n)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(n))}}run(n){let r=this.add();n().catch(this.errorHandler).finally(r)}static \u0275prov=P({token:e,providedIn:"root",factory:()=>new e})}return e})(),si=(()=>{class e{static \u0275prov=P({token:e,providedIn:"root",factory:()=>new Hs})}return e})(),Hs=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}},Ro=class{[te];constructor(t){this[te]=t}destroy(){this[te].destroy()}};function um(e,t){let n=t?.injector??m(Me),r=t?.manualCleanup!==!0?n.get(et):null,o,i=n.get(lr,null,{optional:!0}),s=n.get(ze);return i!==null?(o=fm(i.view,s,e),r instanceof xo&&r._lView===i.view&&(r=null)):o=pm(e,n.get(si),s),o.injector=n,r!==null&&(o.onDestroyFns=[r.onDestroy(()=>o.destroy())]),new Ro(o)}var ed=L(O({},ys),{cleanupFns:void 0,zone:null,onDestroyFns:null,run(){let e=tr(!1);try{vs(this)}finally{tr(e)}},cleanup(){if(!this.cleanupFns?.length)return;let e=v(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],v(e)}}}),lm=L(O({},ed),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){if(wt(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.scheduler.remove(this)}}),dm=L(O({},ed),{consumerMarkedDirty(){this.view[E]|=8192,Bt(this.view),this.notifier.notify(13)},destroy(){if(wt(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.view[at]?.delete(this)}});function fm(e,t,n){let r=Object.create(dm);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=td(r,n),e[at]??=new Set,e[at].add(r),r.consumerMarkedDirty(r),r}function pm(e,t,n){let r=Object.create(lm);return r.fn=td(r,e),r.scheduler=t,r.notifier=n,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.add(r),r.notifier.notify(12),r}function td(e,t){return()=>{t(n=>(e.cleanupFns??=[]).push(n))}}function br(e){return{toString:e}.toString()}function Im(e){return typeof e=="function"}function Ld(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var hi=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}},Ri=(()=>{let e=()=>Vd;return e.ngInherit=!0,e})();function Vd(e){return e.type.prototype.ngOnChanges&&(e.setInput=wm),bm}function bm(){let e=Bd(this),t=e?.current;if(t){let n=e.previous;if(n===ut)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function wm(e,t,n,r,o){let i=this.declaredInputs[r],s=Bd(e)||Mm(e,{previous:ut,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[i];a[i]=new hi(u&&u.currentValue,n,c===ut),Ld(e,t,o,n)}var jd="__ngSimpleChanges__";function Bd(e){return e[jd]||null}function Mm(e,t){return e[jd]=t}var nd=[];var T=function(e,t=null,n){for(let r=0;r<nd.length;r++){let o=nd[r];o(e,t,n)}},S=(function(e){return e[e.TemplateCreateStart=0]="TemplateCreateStart",e[e.TemplateCreateEnd=1]="TemplateCreateEnd",e[e.TemplateUpdateStart=2]="TemplateUpdateStart",e[e.TemplateUpdateEnd=3]="TemplateUpdateEnd",e[e.LifecycleHookStart=4]="LifecycleHookStart",e[e.LifecycleHookEnd=5]="LifecycleHookEnd",e[e.OutputStart=6]="OutputStart",e[e.OutputEnd=7]="OutputEnd",e[e.BootstrapApplicationStart=8]="BootstrapApplicationStart",e[e.BootstrapApplicationEnd=9]="BootstrapApplicationEnd",e[e.BootstrapComponentStart=10]="BootstrapComponentStart",e[e.BootstrapComponentEnd=11]="BootstrapComponentEnd",e[e.ChangeDetectionStart=12]="ChangeDetectionStart",e[e.ChangeDetectionEnd=13]="ChangeDetectionEnd",e[e.ChangeDetectionSyncStart=14]="ChangeDetectionSyncStart",e[e.ChangeDetectionSyncEnd=15]="ChangeDetectionSyncEnd",e[e.AfterRenderHooksStart=16]="AfterRenderHooksStart",e[e.AfterRenderHooksEnd=17]="AfterRenderHooksEnd",e[e.ComponentStart=18]="ComponentStart",e[e.ComponentEnd=19]="ComponentEnd",e[e.DeferBlockStateStart=20]="DeferBlockStateStart",e[e.DeferBlockStateEnd=21]="DeferBlockStateEnd",e[e.DynamicComponentStart=22]="DynamicComponentStart",e[e.DynamicComponentEnd=23]="DynamicComponentEnd",e[e.HostBindingsUpdateStart=24]="HostBindingsUpdateStart",e[e.HostBindingsUpdateEnd=25]="HostBindingsUpdateEnd",e})(S||{});function Sm(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=Vd(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 Tm(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){let i=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:u,ngOnDestroy:l}=i;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),c&&(e.viewHooks??=[]).push(-n,c),u&&((e.viewHooks??=[]).push(n,u),(e.viewCheckHooks??=[]).push(n,u)),l!=null&&(e.destroyHooks??=[]).push(n,l)}}function ci(e,t,n){Hd(e,t,3,n)}function ui(e,t,n,r){(e[E]&3)===n&&Hd(e,t,n,r)}function Ra(e,t){let n=e[E];(n&3)===t&&(n&=16383,n+=1,e[E]=n)}function Hd(e,t,n,r){let o=r!==void 0?e[Lt]&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[Lt]+=65536),(a<i||i==-1)&&(Nm(e,n,t,c),e[Lt]=(e[Lt]&4294901760)+c+2),c++}function rd(e,t){T(S.LifecycleHookStart,e,t);let n=v(null);try{t.call(e)}finally{v(n),T(S.LifecycleHookEnd,e,t)}}function Nm(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[E]>>14<e[Lt]>>16&&(e[E]&3)===t&&(e[E]+=16384,rd(a,i)):rd(a,i)}var Cn=-1,Gt=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 Am(e){return(e.flags&8)!==0}function xm(e){return(e.flags&16)!==0}function Fm(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];Om(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function Rm(e){return e===3||e===4||e===6}function Om(e){return e.charCodeAt(0)===64}function In(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?od(e,n,o,null,t[++r]):od(e,n,o,null,null))}}return e}function od(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 $d(e){return e!==Cn}function gi(e){return e&32767}function km(e){return e>>16}function mi(e,t){let n=km(e),r=t;for(;n>0;)r=r[Pt],n--;return r}var za=!0;function yi(e){let t=za;return za=e,t}var Pm=256,Ud=Pm-1,Gd=5,Lm=0,$e={};function Vm(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(kt)&&(r=n[kt]),r==null&&(r=n[kt]=Lm++);let o=r&Ud,i=1<<o;t.data[e+(o>>Gd)]|=i}function vi(e,t){let n=Wd(e,t);if(n!==-1)return n;let r=t[g];r.firstCreatePass&&(e.injectorIndex=t.length,Oa(r.data,e),Oa(t,null),Oa(r.blueprint,null));let o=Ec(e,t),i=e.injectorIndex;if($d(o)){let s=gi(o),a=mi(o,t),c=a[g].data;for(let u=0;u<8;u++)t[i+u]=a[s+u]|c[s+u]}return t[i+8]=o,i}function Oa(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Wd(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=Qd(o),r===null)return Cn;if(n++,o=o[Pt],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Cn}function qa(e,t,n){Vm(e,t,n)}function zd(e,t,n){if(n&8||e!==void 0)return e;jo(t,"NodeInjector")}function qd(e,t,n,r){if(n&8&&r===void 0&&(r=null),(n&3)===0){let o=e[oe],i=re(void 0);try{return o?o.get(t,r,n&8):Js(t,r,n&8)}finally{re(i)}}return zd(r,t,n)}function Zd(e,t,n,r=0,o){if(e!==null){if(t[E]&2048&&!(r&2)){let s=$m(e,t,n,r,$e);if(s!==$e)return s}let i=Yd(e,t,n,r,$e);if(i!==$e)return i}return qd(t,n,r,o)}function Yd(e,t,n,r,o){let i=Bm(n);if(typeof i=="function"){if(!wa(t,e,r))return r&1?zd(o,n,r):qd(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&8))jo(n);else return s}finally{Ma()}}else if(typeof i=="number"){let s=null,a=Wd(e,t),c=Cn,u=r&1?t[me][Ee]:null;for((a===-1||r&4)&&(c=a===-1?Ec(e,t):t[a+8],c===Cn||!sd(r,!1)?a=-1:(s=t[g],a=gi(c),t=mi(c,t)));a!==-1;){let l=t[g];if(id(i,a,l.data)){let d=jm(a,t,n,s,r,u);if(d!==$e)return d}c=t[a+8],c!==Cn&&sd(r,t[g].data[a+8]===u)&&id(i,a,t)?(s=l,a=gi(c),t=mi(c,t)):a=-1}}return o}function jm(e,t,n,r,o,i){let s=t[g],a=s.data[e+8],c=r==null?Je(a)&&za:r!=s&&(a.type&3)!==0,u=o&1&&i===a,l=li(a,s,n,c,u);return l!==null?mr(t,s,l,a,o):$e}function li(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,c=e.directiveStart,u=e.directiveEnd,l=i>>20,d=r?a:a+l,p=o?a+l:u;for(let f=d;f<p;f++){let h=s[f];if(f<c&&n===h||f>=c&&h.type===n)return f}if(o){let f=s[c];if(f&&Be(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 Gt){let a=i;if(a.resolving)throw Ks("");let c=yi(a.canSeeViewProviders);a.resolving=!0;let u=s[n].type||s[n],l,d=a.injectImpl?re(a.injectImpl):null,p=wa(e,r,0);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&Sm(n,s[n],t)}finally{d!==null&&re(d),yi(c),a.resolving=!1,Ma()}}return i}function Bm(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(kt)?e[kt]:void 0;return typeof t=="number"?t>=0?t&Ud:Hm:t}function id(e,t,n){let r=1<<e;return!!(n[t+(e>>Gd)]&r)}function sd(e,t){return!(e&2)&&!(e&1&&t)}var Ut=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Zd(this._tNode,this._lView,t,xt(r),n)}};function Hm(){return new Ut(J(),_())}function An(e){return br(()=>{let t=e.prototype.constructor,n=t[Xn]||Za(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Xn]||Za(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Za(e){return Us(e)?()=>{let t=Za(Q(e));return t&&t()}:st(e)}function $m(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[E]&2048&&!mn(s);){let a=Yd(i,s,n,r|2,$e);if(a!==$e)return a;let c=i.parent;if(!c){let u=s[sa];if(u){let l=u.get(n,$e,r&-5);if(l!==$e)return l}c=Qd(s),s=s[Pt]}i=c}return o}function Qd(e){let t=e[g],n=t.type;return n===2?t.declTNode:n===1?e[Ee]:null}function Um(){return xn(J(),_())}function xn(e,t){return new ae(xe(e,t))}var ae=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=Um}return e})();function Gm(e){return e instanceof ae?e.nativeElement:e}function Wm(){return this._results[Symbol.iterator]()}var Di=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 fe}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=gl(t);(this._changesDetected=!hl(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=Wm};function Kd(e){return(e.flags&128)===128}var Cc=(function(e){return e[e.OnPush=0]="OnPush",e[e.Eager=1]="Eager",e[e.Default=1]="Default",e})(Cc||{}),Jd=new Map,zm=0;function qm(){return zm++}function Zm(e){Jd.set(e[Qe],e)}function Ya(e){Jd.delete(e[Qe])}var ad="__ngContext__";function bn(e,t){Ke(t)?(e[ad]=t[Qe],Zm(t)):e[ad]=t}function Xd(e){return tf(e[gn])}function ef(e){return tf(e[De])}function tf(e){for(;e!==null&&!Ae(e);)e=e[De];return e}var Ym;function Qm(e){Ym=e}var Km=new b("",{factory:()=>Jm}),Jm="ng";var nf=new b(""),Xm=new b("",{providedIn:"platform",factory:()=>"unknown"});var ey=new b("",{factory:()=>m(Xe).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var rf="r";var _c="di",Ic="s";var of=!1,sf=new b("",{factory:()=>of});var af=new b("");var cd=new WeakMap;function ty(e,t){if(e==null||typeof e!="object")return;let n=cd.get(e);n||(n=new WeakSet,cd.set(e,n)),n.add(t)}var ny=(e,t,n,r)=>{};function ry(e,t,n,r){ny(e,t,n,r)}var cf=new b("");function bc(e){return(e.flags&32)===32}var oy=()=>null;function uf(e,t,n=!1){return oy(e,t,n)}function wc(e){return e.get(af,!1,{optional:!0})}function lf(e,t){let n=e.contentQueries;if(n!==null){let r=v(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];ei(i),a.contentQueries(2,t[s],s)}}}finally{v(r)}}}function Qa(e,t,n){ei(0);let r=v(null);try{t(e,n)}finally{v(r)}}function df(e,t,n){if(aa(t)){let r=v(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{v(r)}}}var Wt=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e[e.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",e})(Wt||{});var Ei=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Oo})`}};function Mc(e){return e instanceof Ei?e.changingThisBreaksApplicationSecurity:e}function ff(e,t){let n=pf(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Oo})`)}return n===t}function pf(e){return e instanceof Ei&&e.getTypeName()||null}var iy=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function hf(e){return e=String(e),e.match(iy)?e:"unsafe:"+e}function sy(e,t){return e.createText(t)}function ay(e,t,n){e.setValue(t,n)}function gf(e,t,n){return e.createElement(t,n)}function Ci(e,t,n,r,o){e.insertBefore(t,n,r,o)}function mf(e,t,n){e.appendChild(t,n)}function ud(e,t,n,r,o){r!==null?Ci(e,t,n,r,o):mf(e,t,n)}function yf(e,t,n,r){e.removeChild(null,t,n,r)}function cy(e,t,n){e.setAttribute(t,"style",n)}function uy(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function vf(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&Fm(e,t,r),o!==null&&uy(e,t,o),i!==null&&cy(e,t,i)}var Sc=(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})(Sc||{});function ly(e){let t=dy();return t?t.sanitize(Sc.URL,e)||"":ff(e,"URL")?Mc(e):hf(Ye(e))}function dy(){let e=_();return e&&e[Ne].sanitizer}function Df(e){return e instanceof Function?e():e}function fy(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 Ef="ng-template";function py(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&fy(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(Tc(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 Tc(e){return e.type===4&&e.value!==Ef}function hy(e,t,n){let r=e.type===4&&!n?Ef:e.value;return t===r}function gy(e,t,n){let r=4,o=e.attrs,i=o!==null?vy(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!Re(r)&&!Re(c))return!1;if(s&&Re(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!hy(e,c,n)||c===""&&t.length===1){if(Re(r))return!1;s=!0}}else if(r&8){if(o===null||!py(e,o,c,n)){if(Re(r))return!1;s=!0}}else{let u=t[++a],l=my(c,o,Tc(e),n);if(l===-1){if(Re(r))return!1;s=!0;continue}if(u!==""){let d;if(l>i?d="":d=o[l+1].toLowerCase(),r&2&&u!==d){if(Re(r))return!1;s=!0}}}}return Re(r)||s}function Re(e){return(e&1)===0}function my(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 Dy(t,e)}function yy(e,t,n=!1){for(let r=0;r<t.length;r++)if(gy(e,t[r],n))return!0;return!1}function vy(e){for(let t=0;t<e.length;t++){let n=e[t];if(Rm(n))return t}return e.length}function Dy(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 ld(e,t){return e?":not("+t.trim()+")":t}function Ey(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!==""&&!Re(s)&&(t+=ld(i,o),o=""),r=s,i=i||!Re(r);n++}return o!==""&&(t+=ld(i,o)),t}function Cy(e){return e.map(Ey).join(",")}function _y(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(!Re(o))break;o=i}r++}return n.length&&t.push(1,...n),t}var ce={};function Nc(e,t,n,r,o,i,s,a,c,u,l){let d=H+r,p=d+o,f=Iy(d,p),h=typeof u=="function"?u():u;return f[g]={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 Iy(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:ce);return n}function by(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=Nc(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[Te]=o,d[E]=r|4|128|8|64|1024,(u!==null||e&&e[E]&2048)&&(d[E]|=2048),da(d),d[z]=d[Pt]=e,d[G]=n,d[Ne]=s||e&&e[Ne],d[B]=a||e&&e[B],d[oe]=c||e&&e[oe]||null,d[Ee]=i,d[Qe]=qm(),d[pn]=l,d[sa]=u,d[me]=t.type==2?e[me]:d,d}function wy(e,t,n){let r=xe(t,e),o=by(n),i=e[Ne].rendererFactory,s=xc(e,Ac(e,o,null,Cf(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function Cf(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function _f(e,t,n,r){if(n===0)return-1;let o=t.length;for(let i=0;i<n;i++)t.push(r),e.blueprint.push(r),e.data.push(null);return o}function xc(e,t){return e[gn]?e[ia][De]=t:e[gn]=t,e[ia]=t,t}function wr(e=1){If(q(),_(),He()+e,!1)}function If(e,t,n,r){if(!r)if((t[E]&3)===3){let i=e.preOrderCheckHooks;i!==null&&ci(t,i,n)}else{let i=e.preOrderHooks;i!==null&&ui(t,i,0,n)}gt(n)}var Oi=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(Oi||{});function Ka(e,t,n,r){let o=v(null);try{let[i,s,a]=e.inputs[n],c=null;(s&Oi.SignalBased)!==0&&(c=t[i][te]),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):Ld(t,c,i,r)}finally{v(o)}}var yr=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})(yr||{}),My;function Fc(e,t){return My(e,t)}var _0=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";var Ja=new WeakMap,pr=new WeakSet;function Sy(e,t){let n=Ja.get(e);if(!n||n.length===0)return;let r=t.parentNode,o=t.previousSibling;for(let i=n.length-1;i>=0;i--){let s=n[i],a=s.parentNode;s===t?(n.splice(i,1),pr.add(s),s.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}}))):(o&&s===o||a&&r&&a!==r)&&(n.splice(i,1),s.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}})),s.parentNode?.removeChild(s))}}function Ty(e,t){let n=Ja.get(e);n?n.includes(t)||n.push(t):Ja.set(e,[t])}var vr=new Set,ki=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(ki||{}),Fn=new b(""),dd=new Set;function vt(e){dd.has(e)||(dd.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var Rc=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=P({token:e,providedIn:"root",factory:()=>new e})}return e})(),bf=[0,1,2,3],wf=(()=>{class e{ngZone=m(Se);scheduler=m(ze);errorHandler=m(Ot,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){m(Fn,{optional:!0})}execute(){let n=this.sequences.size>0;n&&T(S.AfterRenderHooksStart),this.executing=!0;for(let r of bf)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&&T(S.AfterRenderHooksEnd)}register(n){let{view:r}=n;r!==void 0?((r[Vt]??=[]).push(n),Bt(r),r[E]|=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=P({token:e,providedIn:"root",factory:()=>new e})}return e})(),_i=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 Oc(e,t){let n=t?.injector??m(Me);return vt("NgAfterNextRender"),Ay(e,n,t,!0)}function Ny(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function Ay(e,t,n,r){let o=t.get(Rc);o.impl??=t.get(wf);let i=t.get(Fn,null,{optional:!0}),s=n?.manualCleanup!==!0?t.get(et):null,a=t.get(lr,null,{optional:!0}),c=new _i(o.impl,Ny(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var Mf=new b("",{factory:()=>({queue:new Set,isScheduled:!1,scheduler:null,injector:m(ge)})});function Sf(e,t,n){let r=e.get(Mf);if(Array.isArray(t))for(let o of t)r.queue.add(o),n?.detachedLeaveAnimationFns?.push(o);else r.queue.add(t),n?.detachedLeaveAnimationFns?.push(t);r.scheduler&&r.scheduler(e)}function xy(e,t){let n=e.get(Mf);if(t.detachedLeaveAnimationFns){for(let r of t.detachedLeaveAnimationFns)n.queue.delete(r);t.detachedLeaveAnimationFns=void 0}}function Fy(e,t){for(let[n,r]of t)Sf(e,r.animateFns)}function fd(e,t,n,r){let o=e?.[dt]?.enter;t!==null&&o&&o.has(n.index)&&Fy(r,o)}function En(e,t,n,r,o,i,s,a){if(o!=null){let c,u=!1;Ae(o)?c=o:Ke(o)&&(u=!0,o=o[Te]);let l=Ce(o);e===0&&r!==null?(fd(a,r,i,n),s==null?mf(t,r,l):Ci(t,r,l,s||null,!0)):e===1&&r!==null?(fd(a,r,i,n),Ci(t,r,l,s||null,!0),Sy(i,l)):e===2?(a?.[dt]?.leave?.has(i.index)&&Ty(i,l),pr.delete(l),pd(a,i,n,d=>{if(pr.has(l)){pr.delete(l);return}yf(t,l,u,d)})):e===3&&(pr.delete(l),pd(a,i,n,()=>{t.destroyNode(l)})),c!=null&&Wy(t,e,n,c,i,r,s)}}function Ry(e,t){Tf(e,t),t[Te]=null,t[Ee]=null}function Oy(e,t,n,r,o,i){r[Te]=o,r[Ee]=t,Li(e,r,n,1,o,i)}function Tf(e,t){t[Ne].changeDetectionScheduler?.notify(9),Li(e,t,t[B],2,null,null)}function ky(e){let t=e[gn];if(!t)return ka(e[g],e);for(;t;){let n=null;if(Ke(t))n=t[gn];else{let r=t[$];r&&(n=r)}if(!n){for(;t&&!t[De]&&t!==e;)Ke(t)&&ka(t[g],t),t=t[z];t===null&&(t=e),Ke(t)&&ka(t[g],t),n=t&&t[De]}t=n}}function kc(e,t){let n=e[jt],r=n.indexOf(t);n.splice(r,1)}function Pi(e,t){if(ht(t))return;let n=t[B];n.destroyNode&&Li(e,t,n,3,null,null),ky(t)}function ka(e,t){if(ht(t))return;let n=v(null);try{t[E]&=-129,t[E]|=256,t[ye]&&wt(t[ye]),Vy(e,t),Ly(e,t),t[g].type===1&&t[B].destroy();let r=t[lt];if(r!==null&&Ae(t[z])){r!==t[z]&&kc(r,t);let o=t[je];o!==null&&o.detachView(e)}Ya(t)}finally{v(n)}}function pd(e,t,n,r){let o=e?.[dt];if(o==null||o.leave==null||!o.leave.has(t.index))return r(!1);e&&vr.add(e[Qe]),Sf(n,()=>{if(o.leave&&o.leave.has(t.index)){let s=o.leave.get(t.index),a=[];if(s){for(let c=0;c<s.animateFns.length;c++){let u=s.animateFns[c],{promise:l}=u();a.push(l)}o.detachedLeaveAnimationFns=void 0}o.running=Promise.allSettled(a),Py(e,r)}else e&&vr.delete(e[Qe]),r(!1)},o)}function Py(e,t){let n=e[dt]?.running;if(n){n.then(()=>{e[dt].running=void 0,vr.delete(e[Qe]),t(!0)});return}t(!1)}function Ly(e,t){let n=e.cleanup,r=t[hn];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[hn]=null);let o=t[We];if(o!==null){t[We]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[at];if(i!==null){t[at]=null;for(let s of i)s.destroy()}}function Vy(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 Gt)){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];T(S.LifecycleHookStart,a,c);try{c.call(a)}finally{T(S.LifecycleHookEnd,a,c)}}else{T(S.LifecycleHookStart,o,i);try{i.call(o)}finally{T(S.LifecycleHookEnd,o,i)}}}}}function jy(e,t,n){return By(e,t.parent,n)}function By(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[Te];if(Je(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===Wt.None||o===Wt.Emulated)return null}return xe(r,n)}function Hy(e,t,n){return Uy(e,t,n)}function $y(e,t,n){return e.type&40?xe(e,n):null}var Uy=$y,hd;function Pc(e,t,n,r){let o=jy(e,r,t),i=t[B],s=r.parent||t[Ee],a=Hy(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)ud(i,o,n[c],a,!1);else ud(i,o,n,a,!1);hd!==void 0&&hd(i,r,t,n,o)}function hr(e,t){if(t!==null){let n=t.type;if(n&3)return xe(t,e);if(n&4)return Xa(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return hr(e,r);{let o=e[t.index];return Ae(o)?Xa(-1,o):Ce(o)}}else{if(n&128)return hr(e,t.next);if(n&32)return Fc(t,e)()||Ce(e[t.index]);{let r=Nf(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=ct(e[me]);return hr(o,r)}else return hr(e,t.next)}}}return null}function Nf(e,t){if(t!==null){let r=e[me][Ee],o=t.projection;return r.projection[o]}return null}function Xa(e,t){let n=$+e+1;if(n<t.length){let r=t[n],o=r[g].firstChild;if(o!==null)return hr(r,o)}return t[pt]}function Lc(e,t,n,r,o,i,s){for(;n!=null;){let a=r[oe];if(n.type===128){n=n.next;continue}let c=r[n.index],u=n.type;if(s&&t===0&&(c&&bn(Ce(c),r),n.flags|=2),!bc(n))if(u&8)Lc(e,t,n.child,r,o,i,!1),En(t,e,a,o,c,n,i,r);else if(u&32){let l=Fc(n,r),d;for(;d=l();)En(t,e,a,o,d,n,i,r);En(t,e,a,o,c,n,i,r)}else u&16?Gy(e,t,r,n,o,i):En(t,e,a,o,c,n,i,r);n=s?n.projectionNext:n.next}}function Li(e,t,n,r,o,i){Lc(n,r,e.firstChild,t,o,i,!1)}function Gy(e,t,n,r,o,i){let s=n[me],c=s[Ee].projection[r.projection];if(Array.isArray(c))for(let u=0;u<c.length;u++){let l=c[u];En(t,e,n[oe],o,l,r,i,n)}else{let u=c,l=s[z];Kd(r)&&(u.flags|=128),Lc(e,t,u,l,o,i,!0)}}function Wy(e,t,n,r,o,i,s){let a=r[pt],c=Ce(r);a!==c&&En(t,e,n,i,a,o,s);for(let u=$;u<r.length;u++){let l=r[u];Li(l[g],l,e,t,i,a)}}function zy(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:yr.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=yr.Important),e.setStyle(n,r,o,i))}}function Af(e,t,n,r,o){let i=He(),s=r&2;try{gt(-1),s&&t.length>H&&If(e,t,H,!1);let a=s?S.TemplateUpdateStart:S.TemplateCreateStart;T(a,o,n),n(r,o)}finally{gt(i);let a=s?S.TemplateUpdateEnd:S.TemplateCreateEnd;T(a,o,n)}}function xf(e,t,n){Xy(e,t,n),(n.flags&64)===64&&ev(e,t,n)}function Vc(e,t,n=xe){let r=t.localNames;if(r!==null){let o=t.index+1;for(let i=0;i<r.length;i+=2){let s=r[i+1],a=s===-1?n(t,e):e[s];e[o++]=a}}}function qy(e,t,n,r){let i=r.get(sf,of)||n===Wt.ShadowDom||n===Wt.ExperimentalIsolatedShadowDom,s=e.selectRootElement(t,i);return Zy(s),s}function Zy(e){Yy(e)}var Yy=()=>null;function Qy(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function Ky(e,t,n,r,o,i){let s=t[g];if(Bc(e,s,t,n,r)){Je(e)&&Jy(t,e.index);return}e.type&3&&(n=Qy(n)),Ff(e,t,n,r,o,i)}function Ff(e,t,n,r,o,i){if(e.type&3){let s=xe(e,t);r=i!=null?i(r,e.value||"",n):r,o.setProperty(s,n,r)}else e.type&12}function Jy(e,t){let n=_e(t,e);n[E]&16||(n[E]|=64)}function Xy(e,t,n){let r=n.directiveStart,o=n.directiveEnd;Je(n)&&wy(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||vi(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(bn(c,t),i!==null&&iv(t,s-r,c,a,n,i),Be(a)){let u=_e(n.index,t);u[G]=mr(t,e,s,n)}}}function ev(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=Bl();try{gt(i);for(let a=r;a<o;a++){let c=e.data[a],u=t[a];Xo(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&tv(c,u)}}finally{gt(-1),Xo(s)}}function tv(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function nv(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];yy(t,i.selectors,!1)&&(r??=[],Be(i)?r.unshift(i):r.push(i))}return r}function rv(e,t,n,r,o,i){let s=xe(e,t);ov(t[B],s,i,e.value,n,r,o)}function ov(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?Ye(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function iv(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];Ka(r,n,c,u)}}function Rf(e,t,n,r,o){let i=H+n,s=t[g],a=o(s,t,e,r,n);t[i]=a,vn(e,!0);let c=e.type===2;return c?(vf(t[B],a,e),(xl()===0||zo(e))&&bn(a,t),Fl()):bn(a,t),oi()&&(!c||!bc(e))&&Pc(s,t,a,e),e}function Of(e){let t=e;return Ea()?Pl():(t=t.parent,vn(t,!1)),t}function jc(e,t){let n=e[oe];if(!n)return;let r;try{r=n.get(tt,null)}catch{r=null}r?.(t)}function Bc(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];Ka(d,n[u],l,o),a=!0}if(i)for(let c of i){let u=n[c],l=t.data[c];Ka(l,u,r,o),a=!0}return a}function sv(e,t){let n=_e(t,e),r=n[g];av(r,n);let o=n[Te];o!==null&&n[pn]===null&&(n[pn]=uf(o,n[oe])),T(S.ComponentStart);try{Hc(r,n,n[G])}finally{T(S.ComponentEnd,n[G])}}function av(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function Hc(e,t,n){ti(t);try{let r=e.viewQuery;r!==null&&Qa(1,r,n);let o=e.template;o!==null&&Af(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[je]?.finishViewCreation(e),e.staticContentQueries&&lf(e,t),e.staticViewQueries&&Qa(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[E]&=-5,ni()}}function cv(e,t){for(let n=0;n<t.length;n++)sv(e,t[n])}function Mr(e,t,n,r){let o=v(null);try{let i=t.tView,a=e[E]&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[lt]=u;let l=e[je];return l!==null&&(c[je]=l.createEmbeddedView(i)),Hc(i,c,n),c}finally{v(o)}}function wn(e,t){return!t||t.firstChild===null||Kd(e)}function Dr(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(Ce(i)),Ae(i)&&kf(i,r);let s=n.type;if(s&8)Dr(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=Nf(t,n);if(Array.isArray(a))r.push(...a);else{let c=ct(t[me]);Dr(c[g],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function kf(e,t){for(let n=$;n<e.length;n++){let r=e[n],o=r[g].firstChild;o!==null&&Dr(r[g],r,o,t)}e[pt]!==e[Te]&&t.push(e[pt])}function Pf(e){if(e[Vt]!==null){for(let t of e[Vt])t.impl.addSequence(t);e[Vt].length=0}}var Lf=[];function uv(e){return e[ye]??lv(e)}function lv(e){let t=Lf.pop()??Object.create(fv);return t.lView=e,t}function dv(e){e.lView[ye]!==e&&(e.lView=null,Lf.push(e))}var fv=L(O({},It),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{Bt(e.lView)},consumerOnSignalRead(){this.lView[ye]=this}});function pv(e){let t=e[ye]??Object.create(hv);return t.lView=e,t}var hv=L(O({},It),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=ct(e.lView);for(;t&&!Vf(t[g]);)t=ct(t);t&&fa(t)},consumerOnSignalRead(){this.lView[ye]=this}});function Vf(e){return e.type!==2}function jf(e){if(e[at]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[at])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[E]&8192)}}var gv=100;function Bf(e,t=0){let r=e[Ne].rendererFactory,o=!1;o||r.begin?.();try{mv(e,t)}finally{o||r.end?.()}}function mv(e,t){let n=Ca();try{tr(!0),ec(e,t);let r=0;for(;ur(e);){if(r===gv)throw new C(103,!1);r++,ec(e,1)}}finally{tr(n)}}function yv(e,t,n,r){if(ht(t))return;let o=t[E],i=!1,s=!1;ti(t);let a=!0,c=null,u=null;i||(Vf(e)?(u=uv(t),c=bt(u)):Jr()===null?(a=!1,u=pv(t),c=bt(u)):t[ye]&&(wt(t[ye]),t[ye]=null));try{da(t),Ll(e.bindingStartIndex),n!==null&&Af(e,t,n,2,r);let l=(o&3)===3;if(!i)if(l){let f=e.preOrderCheckHooks;f!==null&&ci(t,f,null)}else{let f=e.preOrderHooks;f!==null&&ui(t,f,0,null),Ra(t,0)}if(s||vv(t),jf(t),Hf(t,0),e.contentQueries!==null&&lf(e,t),!i)if(l){let f=e.contentCheckHooks;f!==null&&ci(t,f)}else{let f=e.contentHooks;f!==null&&ui(t,f,1),Ra(t,1)}Ev(e,t);let d=e.components;d!==null&&Uf(t,d,0);let p=e.viewQuery;if(p!==null&&Qa(2,p,r),!i)if(l){let f=e.viewCheckHooks;f!==null&&ci(t,f)}else{let f=e.viewHooks;f!==null&&ui(t,f,2),Ra(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Wo]){for(let f of t[Wo])f();t[Wo]=null}i||(Pf(t),t[E]&=-73)}catch(l){throw i||Bt(t),l}finally{u!==null&&(Jt(u,c),a&&dv(u)),ni()}}function Hf(e,t){for(let n=Xd(e);n!==null;n=ef(n))for(let r=$;r<n.length;r++){let o=n[r];$f(o,t)}}function vv(e){for(let t=Xd(e);t!==null;t=ef(t)){if(!(t[E]&2))continue;let n=t[jt];for(let r=0;r<n.length;r++){let o=n[r];fa(o)}}}function Dv(e,t,n){T(S.ComponentStart);let r=_e(t,e);try{$f(r,n)}finally{T(S.ComponentEnd,r[G])}}function $f(e,t){qo(e)&&ec(e,t)}function ec(e,t){let r=e[g],o=e[E],i=e[ye],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&zn(i)),s||=!1,i&&(i.dirty=!1),e[E]&=-9217,s)yv(r,e,r.template,e[G]);else if(o&8192){let a=v(null);try{jf(e),Hf(e,1);let c=r.components;c!==null&&Uf(e,c,1),Pf(e)}finally{v(a)}}}function Uf(e,t,n){for(let r=0;r<t.length;r++)Dv(e,t[r],n)}function Ev(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)gt(~o);else{let i=o,s=n[++r],a=n[++r];jl(s,i);let c=t[i];T(S.HostBindingsUpdateStart,c);try{a(2,c)}finally{T(S.HostBindingsUpdateEnd,c)}}}}finally{gt(-1)}}function Vi(e,t){let n=Ca()?64:1088;for(e[Ne].changeDetectionScheduler?.notify(t);e;){e[E]|=n;let r=ct(e);if(mn(e)&&!r)return e;e=r}return null}function Gf(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function Wf(e,t){let n=$+t;if(n<e.length)return e[n]}function Sr(e,t,n,r=!0){let o=t[g];if(Cv(o,t,e,n),r){let s=Xa(n,e),a=t[B],c=a.parentNode(e[pt]);c!==null&&Oy(o,e[Ee],a,t,c,s)}let i=t[pn];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function $c(e,t){let n=Er(e,t);return n!==void 0&&Pi(n[g],n),n}function Er(e,t){if(e.length<=$)return;let n=$+t,r=e[n];if(r){let o=r[lt];o!==null&&o!==e&&kc(o,r),t>0&&(e[n-1][De]=r[De]);let i=sr(e,$+t);Ry(r[g],r);let s=i[je];s!==null&&s.detachView(i[g]),r[z]=null,r[De]=null,r[E]&=-129}return r}function Cv(e,t,n,r){let o=$+r,i=n.length;r>0&&(n[o-1][De]=t),r<i-$?(t[De]=n[o],Xs(n,$+r,t)):(n.push(t),t[De]=null),t[z]=n;let s=t[lt];s!==null&&n!==s&&zf(s,t);let a=t[je];a!==null&&a.insertView(e),Zo(t),t[E]|=128}function zf(e,t){let n=e[jt],r=t[z];if(Ke(r))e[E]|=2;else{let o=r[z][me];t[me]!==o&&(e[E]|=2)}n===null?e[jt]=[t]:n.push(t)}var yt=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let t=this._lView,n=t[g];return Dr(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n}get context(){return this._lView[G]}set context(t){this._lView[G]=t}get destroyed(){return ht(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[z];if(Ae(t)){let n=t[cr],r=n?n.indexOf(this):-1;r>-1&&(Er(t,r),sr(n,r))}this._attachedToViewContainer=!1}Pi(this._lView[g],this._lView)}onDestroy(t){Yo(this._lView,t)}markForCheck(){Vi(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[E]&=-129}reattach(){Zo(this._lView),this._lView[E]|=128}detectChanges(){this._lView[E]|=1024,Bf(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new C(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=mn(this._lView),n=this._lView[lt];n!==null&&!t&&kc(n,this._lView),Tf(this._lView[g],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new C(902,!1);this._appRef=t;let n=mn(this._lView),r=this._lView[lt];r!==null&&!n&&zf(r,this._lView),Zo(this._lView)}};var Mn=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=_v;constructor(n,r,o){this._declarationLView=n,this._declarationTContainer=r,this.elementRef=o}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,r){return this.createEmbeddedViewImpl(n,r)}createEmbeddedViewImpl(n,r,o){let i=Mr(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:r,dehydratedView:o});return new yt(i)}}return e})();function _v(){return Uc(J(),_())}function Uc(e,t){return e.type&4?new Mn(t,e,xn(e,t)):null}function ji(e,t,n,r,o){let i=e.data[t];if(i===null)i=Iv(e,t,n,r,o),Vl()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=kl();i.injectorIndex=s===null?-1:s.injectorIndex}return vn(i,!0),i}function Iv(e,t,n,r,o){let i=Da(),s=Ea(),a=s?i:i&&i.parent,c=e.data[t]=wv(e,a,n,t,r,o);return bv(e,c,i,s),c}function bv(e,t,n,r){e.firstChild===null&&(e.firstChild=t),n!==null&&(r?n.child==null&&t.parent!==null&&(n.child=t):n.next===null&&(n.next=t,t.prev=n))}function wv(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return Ol()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,controlDirectiveIndex:-1,customControlIndex:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function Mv(e){let t=e[ft]??[],r=e[z][B],o=[];for(let i of t)i.data[_c]!==void 0?o.push(i):Sv(i,r);e[ft]=o}function Sv(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[rf];for(;n<o;){let i=r.nextSibling;yf(t,r,!1),r=i,n++}}}var Tv=()=>null,Nv=()=>null;function tc(e,t){return Tv(e,t)}function qf(e,t,n){return Nv(e,t,n)}var Zf=class{},Bi=class{},nc=class{resolveComponentFactory(t){throw new C(917,!1)}},Tr=class{static NULL=new nc},Cr=class{},Dt=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>Av()}return e})();function Av(){let e=_(),t=J(),n=_e(t.index,e);return(Ke(n)?n:e)[B]}var Yf=(()=>{class e{static \u0275prov=P({token:e,providedIn:"root",factory:()=>null})}return e})();var di={},_n=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){let o=this.injector.get(t,di,r);return o!==di||n===di?o:this.parentInjector.get(t,n,r)}};function Ii(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=$s(o,a);else if(i==2){let c=a,u=t[++s];r=$s(r,c+": "+u+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function A(e,t=0){let n=_();if(n===null)return K(e,t);let r=J();return Zd(r,n,Q(e),t)}function xv(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}Ov(e,t,n,a,i,c,u)}i!==null&&r!==null&&Fv(n,r,i)}function Fv(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 C(-301,!1);r.push(t[o],i)}}function Rv(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function Ov(e,t,n,r,o,i,s){let a=r.length,c=null;for(let p=0;p<a;p++){let f=r[p];c===null&&Be(f)&&(c=f,Rv(e,n,p)),qa(vi(n,t),e,f.type)}Bv(n,e.data.length,a),c?.viewProvidersResolver&&c.viewProvidersResolver(c);for(let p=0;p<a;p++){let f=r[p];f.providersResolver&&f.providersResolver(f)}let u=!1,l=!1,d=_f(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let p=0;p<a;p++){let f=r[p];if(n.mergedAttrs=In(n.mergedAttrs,f.hostAttrs),Pv(e,n,t,d,f),jv(d,f,o),s!==null&&s.has(f)){let[y,D]=s.get(f);n.directiveToIndex.set(f.type,[d,y+n.directiveStart,D+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))gd(0,t,o,r),gd(1,t,o,r),yd(t,r,!1);else{let i=n.get(o);md(0,t,i,r),md(1,t,i,r),yd(t,r,!0)}}}function gd(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s;e===0?s=t.inputs??={}:s=t.outputs??={},s[i]??=[],s[i].push(r),Qf(t,i)}}function 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),Qf(t,s)}}function Qf(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function yd(e,t,n){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!n&&o===null||n&&i===null||Tc(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 Pv(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=st(o.type,!0)),s=new Gt(i,Be(o),A,null);e.blueprint[r]=s,n[r]=s,Lv(e,t,r,_f(e,n,o.hostVars,ce),o)}function Lv(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;Vv(s)!=a&&s.push(a),s.push(n,r,i)}}function Vv(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function jv(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Be(t)&&(n[""]=e)}}function Bv(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Kf(e,t,n,r,o,i,s,a){let c=t[g],u=c.consts,l=Fe(u,s),d=ji(c,e,n,r,l);return i&&xv(c,t,d,Fe(u,a),o),d.mergedAttrs=In(d.mergedAttrs,d.attrs),d.attrs!==null&&Ii(d,d.attrs,!1),d.mergedAttrs!==null&&Ii(d,d.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,d),d}function Jf(e,t){Tm(e,t),aa(t)&&e.queries.elementEnd(t)}function Hv(e,t,n,r,o,i){let s=t.consts,a=Fe(s,o),c=ji(t,e,n,r,a);if(c.mergedAttrs=In(c.mergedAttrs,c.attrs),i!=null){let u=Fe(s,i);c.localNames=[];for(let l=0;l<u.length;l+=2)c.localNames.push(u[l],-1)}return c.attrs!==null&&Ii(c,c.attrs,!1),c.mergedAttrs!==null&&Ii(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}function Xf(e,t,n){return e[t]=n}function Oe(e,t,n){if(n===ce)return!1;let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function Gc(e,t,n,r){let o=Oe(e,t,n);return Oe(e,t+1,r)||o}function $v(e,t,n,r,o){let i=Gc(e,t,n,r);return Oe(e,t+2,o)||i}function fi(e,t,n){return function r(o){let i=r.__ngNativeEl__;i!==void 0&&ty(o,i);let s=Je(e)?_e(e.index,t):t;Vi(s,5);let a=t[G],c=vd(t,a,n,o),u=r.__ngNextListenerFn__;for(;u;)c=vd(t,a,u,o)&&c,u=u.__ngNextListenerFn__;return c}}function vd(e,t,n,r){let o=v(null);try{return T(S.OutputStart,t,n),n(r)!==!1}catch(i){return jc(e,i),!1}finally{T(S.OutputEnd,t,n),v(o)}}function ep(e,t,n,r,o,i,s,a){let c=zo(e),u=!1,l=null;if(!r&&c&&(l=Gv(t,n,i,e.index)),l!==null){let d=l.__ngLastListenerFn__||l;d.__ngNextListenerFn__=s,l.__ngLastListenerFn__=s,u=!0}else{let d=xe(e,n),p=r?r(d):d;ry(n,p,i,a),r||(a.__ngNativeEl__=d);let f=o.listen(p,i,a);if(!Uv(i)){let h=r?y=>r(Ce(y[e.index])):e.index;tp(h,t,n,i,a,f,!1)}}return u}function Uv(e){return e.startsWith("animation")||e.startsWith("transition")}function Gv(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[hn],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function tp(e,t,n,r,o,i,s){let a=t.firstCreatePass?ga(t):null,c=ha(n),u=c.length;c.push(o,i),a&&a.push(r,e,u,(u+1)*(s?-1:1))}function Dd(e,t,n,r,o,i){let s=t[n],a=t[g],u=a.data[n].outputs[r],d=s[u].subscribe(i);tp(e.index,a,t,o,i,d,!0)}var rc=Symbol("BINDING");function np(e){return e.debugInfo?.className||e.type.name||null}var bi=class extends Tr{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=Ze(t);return new Sn(n,this.ngModule)}};function Wv(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&Oi.SignalBased)!==0};return o&&(i.transform=o),i})}function zv(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function qv(e,t,n){let r=t instanceof ge?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new _n(n,r):n}function Zv(e){let t=e.get(Cr,null);if(t===null)throw new C(407,!1);let n=e.get(Yf,null),r=e.get(ze,null),o=e.get(Fn,null,{optional:!0});return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r,ngReflect:!1,tracingService:o}}function Yv(e,t){let n=rp(e);return gf(t,n,n==="svg"?wl:n==="math"?Ml:null)}function rp(e){return(e.selectors[0][0]||"div").toLowerCase()}var Sn=class extends Bi{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=Wv(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=zv(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=Cy(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o,i,s){T(S.DynamicComponentStart);let a=v(null);try{let c=this.componentDef,u=qv(c,o||this.ngModule,t),l=Zv(u),d=l.tracingService;return d&&d.componentCreate?d.componentCreate(np(c),()=>this.createComponentRef(l,u,n,r,i,s)):this.createComponentRef(l,u,n,r,i,s)}finally{v(a)}}createComponentRef(t,n,r,o,i,s){let a=this.componentDef,c=Qv(o,a,s,i),u=t.rendererFactory.createRenderer(null,a),l=o?qy(u,o,a.encapsulation,n):Yv(a,u),d=s?.some(Ed)||i?.some(h=>typeof h!="function"&&h.bindings.some(Ed)),p=Ac(null,c,null,512|Cf(a),null,null,t,u,n,null,uf(l,n,!0));p[H]=l,ti(p);let f=null;try{let h=Kf(H,p,2,"#host",()=>c.directiveRegistry,!0,0);vf(u,l,h),bn(l,p),xf(c,p,h),df(c,h,p),Jf(c,h),r!==void 0&&Jv(h,this.ngContentSelectors,r),f=_e(h.index,p),p[G]=f[G],Hc(c,p,null)}catch(h){throw f!==null&&Ya(f),Ya(p),h}finally{T(S.DynamicComponentEnd),ni()}return new wi(this.componentType,p,!!d)}};function Qv(e,t,n,r){let o=e?["ng-version","21.2.11"]:_y(t.selectors[0]),i=null,s=null,a=0;if(n)for(let l of n)a+=l[rc].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[rc].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=Lo(d);c.push(p)}return Nc(0,null,Kv(i,s),1,a,c,null,null,null,[o],null)}function Kv(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 Ed(e){let t=e[rc].kind;return t==="input"||t==="twoWay"}var wi=class extends Zf{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=yn(n[g],H),this.location=xn(this._tNode,n),this.instance=_e(this._tNode.index,n)[G],this.hostView=this.changeDetectorRef=new yt(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=Bc(r,o[g],o,t,n);this.previousInputValues.set(t,n);let s=_e(r.index,o);Vi(s,1)}get injector(){return new Ut(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function Jv(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 Nr=(()=>{class e{static __NG_ELEMENT_ID__=Xv}return e})();function Xv(){let e=J();return op(e,_())}var oc=class e extends Nr{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return xn(this._hostTNode,this._hostLView)}get injector(){return new Ut(this._hostTNode,this._hostLView)}get parentInjector(){let t=Ec(this._hostTNode,this._hostLView);if($d(t)){let n=mi(t,this._hostLView),r=gi(t),o=n[g].data[r+8];return new Ut(o,n)}else return new Ut(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=Cd(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-$}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=tc(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,wn(this._hostTNode,s)),a}createComponent(t,n,r,o,i,s,a){let c=t&&!Im(t),u;if(c)u=n;else{let D=n||{};u=D.index,r=D.injector,o=D.projectableNodes,i=D.environmentInjector||D.ngModuleRef,s=D.directives,a=D.bindings}let l=c?t:new Sn(Ze(t)),d=r||this.parentInjector;if(!i&&l.ngModule==null){let M=(c?d:this.parentInjector).get(ge,null);M&&(i=M)}let p=Ze(l.componentType??{}),f=tc(this._lContainer,p?.id??null),h=f?.firstChild??null,y=l.create(d,o,h,i,s,a);return this.insertImpl(y.hostView,u,wn(this._hostTNode,f)),y}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(Tl(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[z],u=new e(c,c[Ee],c[z]);u.detach(u.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return Sr(s,o,i,r),t.attachToViewContainerRef(),Xs(Pa(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Cd(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=Er(this._lContainer,n);r&&(sr(Pa(this._lContainer),n),Pi(r[g],r))}detach(t){let n=this._adjustIndex(t,-1),r=Er(this._lContainer,n);return r&&sr(Pa(this._lContainer),n)!=null?new yt(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Cd(e){return e[cr]}function Pa(e){return e[cr]||(e[cr]=[])}function op(e,t){let n,r=t[e.index];return Ae(r)?n=r:(n=Gf(r,t,null,e),t[e.index]=n,xc(t,n)),tD(n,t,e,r),new oc(n,e,t)}function eD(e,t){let n=e[B],r=n.createComment(""),o=xe(t,e),i=n.parentNode(o);return Ci(n,i,r,n.nextSibling(o),!1),r}var tD=rD,nD=()=>!1;function ip(e,t,n){return nD(e,t,n)}function rD(e,t,n,r){if(e[pt])return;let o;n.type&8?o=Ce(r):o=eD(t,n),e[pt]=o}var ic=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},sc=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++)Wc(t,n).matches!==null&&this.queries[n].setDirty()}},ac=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=dD(t):this.predicate=t}},cc=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)}},uc=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,oD(n,i)),this.matchTNodeWithReadOption(t,n,li(n,t,i,!1,!1))}else r===Mn?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,li(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===ae||o===Nr||o===Mn&&n.type&4)this.addMatch(n.index,-2);else{let i=li(n,t,o,!1,!1);i!==null&&this.addMatch(n.index,i)}else this.addMatch(n.index,r)}}addMatch(t,n){this.matches===null?this.matches=[t,n]:this.matches.push(t,n)}};function oD(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?xn(e,t):e.type&4?Uc(e,t):null}function sD(e,t,n,r){return n===-1?iD(t,e):n===-2?aD(e,t,r):mr(e,e[g],n,t)}function aD(e,t,n){if(n===ae)return xn(t,e);if(n===Mn)return Uc(t,e);if(n===Nr)return op(t,e)}function sp(e,t,n,r){let o=t[je].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(sD(t,l,s[c+1],n.metadata.read))}}o.matches=a}return o.matches}function lc(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=sp(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=$;d<l.length;d++){let p=l[d];p[lt]===p[z]&&lc(p[g],p,u,r)}if(l[jt]!==null){let d=l[jt];for(let p=0;p<d.length;p++){let f=d[p];lc(f[g],f,u,r)}}}}}return r}function cD(e,t){return e[je].queries[t].queryList}function uD(e,t,n){let r=new Di((n&4)===4);return Al(e,t,r,r.destroy),(t[je]??=new sc).queries.push(new ic(r))-1}function lD(e,t,n){let r=q();return r.firstCreatePass&&(fD(r,new ac(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),uD(r,_(),t)}function dD(e){return e.split(",").map(t=>t.trim())}function fD(e,t,n){e.queries===null&&(e.queries=new cc),e.queries.track(new uc(t,n))}function Wc(e,t){return e.queries.getByIndex(t)}function pD(e,t){let n=e[g],r=Wc(n,t);return r.crossesNgTemplate?lc(n,e,t,[]):sp(n,e,r,t)}var zt=class{},ap=class{};var Mi=class extends zt{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new bi(this);constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=Ys(t);this._bootstrapComponents=Df(i.bootstrap),this._r3Injector=Sa(t,n,[{provide:zt,useValue:this},{provide:Tr,useValue:this.componentFactoryResolver},...r],or(t),new Set(["environment"])),o&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},Si=class extends ap{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new Mi(this.moduleType,t,[])}};var _r=class extends zt{injector;componentFactoryResolver=new bi(this);instance=null;constructor(t){super();let n=new Rt([...t.providers,{provide:zt,useValue:this},{provide:Tr,useValue:this.componentFactoryResolver}],t.parent||ar(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function zc(e,t,n=null){return new _r({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var hD=(()=>{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=Uo(!1,n.type),o=r.length>0?zc([r],this._injector,""):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=P({token:e,providedIn:"environment",factory:()=>new e(K(ge))})}return e})();function qc(e){return br(()=>{let t=cp(e),n=L(O({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Cc.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(hD).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Wt.Emulated,styles:e.styles||he,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&vt("NgStandalone"),up(n);let r=e.dependencies;return n.directiveDefs=_d(r,gD),n.pipeDefs=_d(r,Qs),n.id=vD(n),n})}function gD(e){return Ze(e)||Lo(e)}function Ar(e){return br(()=>({type:e.type,bootstrap:e.bootstrap||he,declarations:e.declarations||he,imports:e.imports||he,exports:e.exports||he,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function mD(e,t){if(e==null)return ut;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=Oi.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function yD(e){if(e==null)return ut;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function ve(e){return br(()=>{let t=cp(e);return up(t),t})}function Hi(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 cp(e){let t={};return{type:e.type,providersResolver:null,viewProvidersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputConfig:e.inputs||ut,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||he,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,controlDef:null,inputs:mD(e.inputs,t),outputs:yD(e.outputs),debugInfo:null}}function up(e){e.features?.forEach(t=>t(e))}function _d(e,t){return e?()=>{let n=typeof e=="function"?e():e,r=[];for(let o of n){let i=t(o);i!==null&&r.push(i)}return r}:null}function vD(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 DD(e){return Object.getPrototypeOf(e.prototype).constructor}function nt(e){let t=DD(e.type),n=!0,r=[e];for(;t;){let o;if(Be(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new C(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=La(e.inputs),s.declaredInputs=La(e.declaredInputs),s.outputs=La(e.outputs);let a=o.hostBindings;a&&bD(e,a);let c=o.viewQuery,u=o.contentQueries;if(c&&_D(e,c),u&&ID(e,u),ED(e,o),ll(e.outputs,o.outputs),Be(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===nt&&(n=!1)}}t=Object.getPrototypeOf(t)}CD(r)}function ED(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 CD(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=In(o.hostAttrs,n=In(n,o.hostAttrs))}}function La(e){return e===ut?{}:e===he?[]:e}function _D(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function ID(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function bD(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function wD(e,t,n,r,o,i,s,a){if(n.firstCreatePass){e.mergedAttrs=In(e.mergedAttrs,e.attrs);let l=e.tView=Nc(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),vn(e,!1);let c=MD(n,t,e,r);oi()&&Pc(n,t,c,e),bn(c,t);let u=Gf(c,t,c,e);t[r+H]=u,xc(t,u),ip(u,e,t)}function Tn(e,t,n,r,o,i,s,a,c,u,l){let d=n+H,p;if(t.firstCreatePass){if(p=ji(t,d,4,s||null,a||null),u!=null){let f=Fe(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 wD(p,e,t,n,r,o,i,c),u!=null&&Vc(e,p,l),p}function lp(e,t,n,r,o,i,s,a){let c=_(),u=q(),l=Fe(u.consts,i);return Tn(c,u,e,t,n,r,o,l,void 0,s,a),lp}var MD=SD;function SD(e,t,n,r){return ii(!0),t[B].createComment("")}var se=(function(e){return e[e.NOT_STARTED=0]="NOT_STARTED",e[e.IN_PROGRESS=1]="IN_PROGRESS",e[e.COMPLETE=2]="COMPLETE",e[e.FAILED=3]="FAILED",e})(se||{}),Id=0,TD=1,Z=(function(e){return e[e.Placeholder=0]="Placeholder",e[e.Loading=1]="Loading",e[e.Complete=2]="Complete",e[e.Error=3]="Error",e})(Z||{}),dp=(function(e){return e[e.Initial=-1]="Initial",e})(dp||{}),ND=0,$i=1;var AD=4,xD=5,FD=6,RD=7,Va=8,OD=9,Zc=(function(e){return e[e.Manual=0]="Manual",e[e.Playthrough=1]="Playthrough",e})(Zc||{});function fp(e,t,n){let r=hp(e);t[r]===null&&(t[r]=[]),t[r].push(n)}function pi(e,t){let n=hp(e),r=t[n];if(r!==null){for(let o of r)o();t[n]=null}}function pp(e){pi(1,e),pi(0,e),pi(2,e)}function hp(e){let t=AD;return e===1?t=xD:e===2&&(t=OD),t}function Ui(e){return e+1}function Rn(e,t){let n=e[g],r=Ui(t.index);return e[r]}function kD(e,t,n){let r=e[g],o=Ui(t);e[o]=n}function On(e,t){let n=Ui(t.index);return e.data[n]}function PD(e,t,n){let r=Ui(t);e.data[r]=n}function LD(e,t,n){let r=t[g],o=On(r,n);switch(e){case Z.Complete:return o.primaryTmplIndex;case Z.Loading:return o.loadingTmplIndex;case Z.Error:return o.errorTmplIndex;case Z.Placeholder:return o.placeholderTmplIndex;default:return null}}function bd(e,t){return t===Z.Placeholder?e.placeholderBlockConfig?.[Id]??null:t===Z.Loading?e.loadingBlockConfig?.[Id]??null:null}function VD(e){return e.loadingBlockConfig?.[TD]??null}function wd(e,t){if(!e||e.length===0)return t;let n=new Set(e);for(let r of t)n.add(r);return e.length===n.size?e:Array.from(n)}function jD(e,t){let n=t.primaryTmplIndex+H;return yn(e,n)}function BD(e,t){let n=t.get(UD),r=()=>n.remove(e);return n.add(e),r}var HD=()=>typeof requestIdleCallback<"u"?requestIdleCallback:setTimeout,$D=()=>typeof requestIdleCallback<"u"?cancelIdleCallback:clearTimeout,UD=(()=>{class e{executingCallbacks=!1;idleId=null;current=new Set;deferred=new Set;ngZone=m(Se);requestIdleCallbackFn=HD().bind(globalThis);cancelIdleCallbackFn=$D().bind(globalThis);add(n){(this.executingCallbacks?this.deferred:this.current).add(n),this.idleId===null&&this.scheduleIdleCallback()}remove(n){let{current:r,deferred:o}=this;r.delete(n),o.delete(n),r.size===0&&o.size===0&&this.cancelIdleCallback()}scheduleIdleCallback(){let n=()=>{this.cancelIdleCallback(),this.executingCallbacks=!0;for(let r of this.current)r();if(this.current.clear(),this.executingCallbacks=!1,this.deferred.size>0){for(let r of this.deferred)this.current.add(r);this.deferred.clear(),this.scheduleIdleCallback()}};this.idleId=this.requestIdleCallbackFn(()=>this.ngZone.run(n))}cancelIdleCallback(){this.idleId!==null&&(this.cancelIdleCallbackFn(this.idleId),this.idleId=null)}ngOnDestroy(){this.cancelIdleCallback(),this.current.clear(),this.deferred.clear()}static \u0275prov=P({token:e,providedIn:"root",factory:()=>new e})}return e})();var GD=(()=>{class e{cachedInjectors=new Map;getOrCreateInjector(n,r,o,i){if(!this.cachedInjectors.has(n)){let s=o.length>0?zc(o,r,i):null;this.cachedInjectors.set(n,s)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=P({token:e,providedIn:"environment",factory:()=>new e})}return e})();var gp=new b("");function ja(e,t,n){return e.get(GD).getOrCreateInjector(t,e,n,"")}function WD(e,t,n){if(e instanceof _n){let o=e.injector,i=e.parentInjector,s=ja(i,t,n);return new _n(o,s)}let r=e.get(ge);if(r!==e){let o=ja(r,t,n);return new _n(e,o)}return ja(e,t,n)}function mt(e,t,n,r=!1){let o=n[z],i=o[g];if(ht(o))return;let s=Rn(o,t),a=s[$i],c=s[RD];if(!(c!==null&&e<c)&&Md(a,e)&&Md(s[ND]??-1,e)){let u=On(i,t),d=!r&&!0&&(VD(u)!==null||bd(u,Z.Loading)!==null||bd(u,Z.Placeholder))?YD:qD;try{d(e,s,n,t,o)}catch(p){jc(o,p)}}}function zD(e,t){let n=e[ft]?.findIndex(o=>o.data[Ic]===t[$i])??-1;return{dehydratedView:n>-1?e[ft][n]:null,dehydratedViewIx:n}}function qD(e,t,n,r,o){T(S.DeferBlockStateStart);let i=LD(e,o,r);if(i!==null){t[$i]=e;let s=o[g],a=i+H,c=yn(s,a),u=0;$c(n,u);let l;if(e===Z.Complete){let h=On(s,r),y=h.providers;y&&y.length>0&&(l=WD(o[oe],h,y))}let{dehydratedView:d,dehydratedViewIx:p}=zD(n,t),f=Mr(o,c,null,{injector:l,dehydratedView:d});if(Sr(n,f,u,wn(c,d)),Vi(f,2),p>-1&&n[ft]?.splice(p,1),(e===Z.Complete||e===Z.Error)&&Array.isArray(t[Va])){for(let h of t[Va])h();t[Va]=null}}T(S.DeferBlockStateEnd)}function Md(e,t){return e<t}function ZD(e,t){let n=e[t.index];mt(Z.Placeholder,t,n)}function Sd(e,t,n){e.loadingPromise.then(()=>{e.loadingState===se.COMPLETE?mt(Z.Complete,t,n):e.loadingState===se.FAILED&&mt(Z.Error,t,n)})}var YD=null;var QD=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();var mp=new b("");function kn(e){return!!e&&typeof e.then=="function"}function Yc(e){return!!e&&typeof e.subscribe=="function"}var yp=new b("");var Qc=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=m(yp,{optional:!0})??[];injector=m(Me);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=Go(this.injector,o);if(kn(i))n.push(i);else if(Yc(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=P({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),vp=new b("");function Dp(){hs(()=>{let e="";throw new C(600,e)})}function Ep(e){return e.isBoundToModule}var KD=10;var Pn=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=m(tt);afterRenderManager=m(Rc);zonelessEnabled=m(dr);rootEffectScheduler=m(si);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new fe;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=m($t);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(Ge(n=>!n))}constructor(){m(Fn,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=m(ge);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=Me.NULL){return this._injector.get(Se).run(()=>{T(S.BootstrapComponentStart);let s=n instanceof Bi;if(!this._injector.get(Qc).done){let h="";throw new C(405,h)}let c;s?c=n:c=this._injector.get(Tr).resolveComponentFactory(n),this.componentTypes.push(c.componentType);let u=Ep(c)?void 0:this._injector.get(zt),l=r||c.selector,d=c.create(o,[],l,u),p=d.location.nativeElement,f=d.injector.get(mp,null);return f?.registerApplication(p),d.onDestroy(()=>{this.detachView(d.hostView),gr(this.components,d),f?.unregisterApplication(p)}),this._loadComponent(d),T(S.BootstrapComponentEnd,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){T(S.ChangeDetectionStart),this.tracingSnapshot!==null?this.tracingSnapshot.run(ki.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw T(S.ChangeDetectionEnd),new C(101,!1);let n=v(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,v(n),this.afterTick.next(),T(S.ChangeDetectionEnd)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Cr,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<KD;){T(S.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{T(S.ChangeDetectionSyncEnd)}}}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let n=!1;if(this.dirtyFlags&7){let r=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:o}of this.allViews){if(!r&&!ur(o))continue;let i=r&&!this.zonelessEnabled?0:1;Bf(o,i),n=!0}if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}n||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>ur(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){let r=n;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(vp,[]).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 C(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=P({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 JD(e){let t=_(),n=J();if(ZD(t,n),!_p(0,t))return;let r=t[oe],o=Rn(t,n),i=e(()=>XD(0,t,n),r);fp(0,o,i)}function Cp(e,t,n){let r=t[oe],o=t[g];if(e.loadingState!==se.NOT_STARTED)return e.loadingPromise??Promise.resolve();let i=Rn(t,n),s=jD(o,e);e.loadingState=se.IN_PROGRESS,pi(1,i);let a=e.dependencyResolverFn,c=r.get(Fa).add();return a?(e.loadingPromise=Promise.allSettled(a()).then(u=>{let l=!1,d=null,p=[],f=[];for(let h=0;h<u.length;h++){let y=u[h];if(y.status==="fulfilled"){let D=y.value,M=Ze(D)||Lo(D);if(M)p.push(M);else{let j=Qs(D);j&&f.push(j)}}else{l=!0,d=y.reason instanceof Error?y.reason:new Error(String(y.reason));break}}if(l){if(e.loadingState=se.FAILED,e.errorTmplIndex===null){let y="",D=new C(-750,y);jc(t,D)}}else{e.loadingState=se.COMPLETE;let h=s.tView;if(p.length>0){h.directiveRegistry=wd(h.directiveRegistry,p);let y=p.map(M=>M.type),D=Uo(!1,...y);e.providers=D}f.length>0&&(h.pipeRegistry=wd(h.pipeRegistry,f))}}),e.loadingPromise.finally(()=>{e.loadingPromise=null,c()})):(e.loadingPromise=Promise.resolve().then(()=>{e.loadingPromise=null,e.loadingState=se.COMPLETE,c()}),e.loadingPromise)}function _p(e,t){return t[oe].get(gp,null,{optional:!0})?.behavior!==Zc.Manual}function XD(e,t,n){let r=t[g],o=t[n.index];if(!_p(e,t))return;let i=Rn(t,n),s=On(r,n);switch(pp(i),s.loadingState){case se.NOT_STARTED:mt(Z.Loading,n,o),Cp(s,t,n),s.loadingState===se.IN_PROGRESS&&Sd(s,n,o);break;case se.IN_PROGRESS:mt(Z.Loading,n,o),Sd(s,n,o);break;case se.COMPLETE:mt(Z.Complete,n,o);break;case se.FAILED:mt(Z.Error,n,o);break;default:}}function eE(e,t,n){return e===0?Td(t,n):e===2?!Td(t,n):!0}function tE(e){return e!=null&&(e&1)===1}function Td(e,t){let n=e[oe],r=On(e[g],t),o=wc(n),i=tE(r.flags),a=Rn(e,t)[FD]!==null;return!(i&&a&&o)}function nE(e,t,n,r,o,i,s,a,c,u){let l=_(),d=q(),p=e+H,f=Tn(l,d,e,null,0,0),h=l[oe],y=wc(h);if(d.firstCreatePass){vt("NgDefer");let Gn={primaryTmplIndex:t,loadingTmplIndex:r??null,placeholderTmplIndex:o??null,errorTmplIndex:i??null,placeholderBlockConfig:null,loadingBlockConfig:null,dependencyResolverFn:n??null,loadingState:se.NOT_STARTED,loadingPromise:null,providers:null,hydrateTriggers:null,debug:null,flags:u??0};c?.(d,Gn,a,s),PD(d,p,Gn)}let D=l[p];ip(D,f,l);let M=null,j=null;if(D[ft]?.length>0){let Gn=D[ft][0].data;j=Gn[_c]??null,M=Gn[Ic]}let Pe=[null,dp.Initial,null,null,null,null,j,M,null,null];kD(l,p,Pe);let _t=null;j!==null&&y&&(_t=h.get(cf),_t.add(j,{lView:l,tNode:f,lContainer:D}));let Un=()=>{pp(Pe),j!==null&&_t?.cleanup([j])};fp(0,Pe,()=>pa(l,Un)),Yo(l,Un)}function rE(){let e=_(),t=J();eE(0,e,t)&&JD(BD)}function xr(e,t,n,r){let o=_(),i=Ht();if(Oe(o,i,t)){let s=q(),a=ri();rv(a,o,e,t,n,r)}return xr}var dc=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 Ba(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function oE(e,t,n,r){let o,i,s=0,a=e.length-1,c=void 0;if(Array.isArray(t)){v(r);let u=t.length-1;for(v(null);s<=a&&s<=u;){let l=e.at(s),d=t[s],p=Ba(s,l,s,d,n);if(p!==0){p<0&&e.updateValue(s,d),s++;continue}let f=e.at(a),h=t[u],y=Ba(a,f,u,h,n);if(y!==0){y<0&&e.updateValue(a,h),a--,u--;continue}let D=n(s,l),M=n(a,f),j=n(s,d);if(Object.is(j,M)){let Pe=n(u,h);Object.is(Pe,D)?(e.swap(s,a),e.updateValue(a,h),u--,a--):e.move(a,s),e.updateValue(s,d),s++;continue}if(o??=new Ti,i??=Ad(e,s,a,n),fc(e,o,s,j))e.updateValue(s,d),s++,a++;else if(i.has(j))o.set(D,e.detach(s)),a--;else{let Pe=e.create(s,t[s]);e.attach(s,Pe),s++,a++}}for(;s<=u;)Nd(e,o,n,s,t[s]),s++}else if(t!=null){v(r);let u=t[Symbol.iterator]();v(null);let l=u.next();for(;!l.done&&s<=a;){let d=e.at(s),p=l.value,f=Ba(s,d,s,p,n);if(f!==0)f<0&&e.updateValue(s,p),s++,l=u.next();else{o??=new Ti,i??=Ad(e,s,a,n);let h=n(s,p);if(fc(e,o,s,h))e.updateValue(s,p),s++,a++,l=u.next();else if(!i.has(h))e.attach(s,e.create(s,p)),s++,a++,l=u.next();else{let y=n(s,d);o.set(y,e.detach(s)),a--}}}for(;!l.done;)Nd(e,o,n,e.length,l.value),l=u.next()}for(;s<=a;)e.destroy(e.detach(a--));o?.forEach(u=>{e.destroy(u)})}function fc(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function Nd(e,t,n,r,o){if(fc(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function Ad(e,t,n,r){let o=new Set;for(let i=t;i<=n;i++)o.add(r(i,e.at(i)));return o}var Ti=class{kvMap=new Map;_vMap=void 0;has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let n=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),t(r,n)}}};function Kc(e,t,n,r,o,i,s,a){vt("NgControlFlow");let c=_(),u=q(),l=Fe(u.consts,i);return Tn(c,u,e,t,n,r,o,l,256,s,a),Jc}function Jc(e,t,n,r,o,i,s,a){vt("NgControlFlow");let c=_(),u=q(),l=Fe(u.consts,i);return Tn(c,u,e,t,n,r,o,l,512,s,a),Jc}function Xc(e,t){vt("NgControlFlow");let n=_(),r=Ht(),o=n[r]!==ce?n[r]:-1,i=o!==-1?Ni(n,H+o):void 0,s=0;if(Oe(n,r,e)){let a=v(null);try{if(i!==void 0&&$c(i,s),e!==-1){let c=H+e,u=Ni(n,c),l=mc(n[g],c),d=qf(u,l,n),p=Mr(n,l,t,{dehydratedView:d});Sr(u,p,s,wn(l,d))}}finally{v(a)}}else if(i!==void 0){let a=Wf(i,s);a!==void 0&&(a[G]=t)}}var pc=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-$}};function iE(e,t){return t}var hc=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function sE(e,t,n,r,o,i,s,a,c,u,l,d,p){vt("NgControlFlow");let f=_(),h=q(),y=c!==void 0,D=_(),M=a?s.bind(D[me][G]):s,j=new hc(y,M);D[H+e]=j,Tn(f,h,e+1,t,n,r,o,Fe(h.consts,i),256),y&&Tn(f,h,e+2,c,u,l,d,Fe(h.consts,p),512)}var gc=class extends dc{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-$}at(t){return this.getLView(t)[G].$implicit}attach(t,n){let r=n[pn];this.needsIndexUpdate||=t!==this.length,Sr(this.lContainer,n,t,wn(this.templateTNode,r)),cE(this.lContainer,t)}detach(t){return this.needsIndexUpdate||=t!==this.length-1,uE(this.lContainer,t),lE(this.lContainer,t)}create(t,n){let r=tc(this.lContainer,this.templateTNode.tView.ssrId);return Mr(this.hostLView,this.templateTNode,new pc(this.lContainer,n,t),{dehydratedView:r})}destroy(t){Pi(t[g],t)}updateValue(t,n){this.getLView(t)[G].$implicit=n}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[G].$index=t}getLView(t){return dE(this.lContainer,t)}};function aE(e){let t=v(null),n=He();try{let r=_(),o=r[g],i=r[n],s=n+1,a=Ni(r,s);if(i.liveCollection===void 0){let u=mc(o,s);i.liveCollection=new gc(a,r,u)}else i.liveCollection.reset();let c=i.liveCollection;if(oE(c,e,i.trackByFn,t),c.updateIndexes(),i.hasEmptyBlock){let u=Ht(),l=c.length===0;if(Oe(r,u,l)){let d=n+2,p=Ni(r,d);if(l){let f=mc(o,d),h=qf(p,f,r),y=Mr(r,f,void 0,{dehydratedView:h});Sr(p,y,0,wn(f,h))}else o.firstUpdatePass&&Mv(p),$c(p,0)}}}finally{v(t)}}function Ni(e,t){return e[t]}function cE(e,t){if(e.length<=$)return;let n=$+t,r=e[n],o=r?r[dt]:void 0;if(r&&o&&o.detachedLeaveAnimationFns&&o.detachedLeaveAnimationFns.length>0){let i=r[oe];xy(i,o),vr.delete(r[Qe]),o.detachedLeaveAnimationFns=void 0}}function uE(e,t){if(e.length<=$)return;let n=$+t,r=e[n],o=r?r[dt]:void 0;o&&o.leave&&o.leave.size>0&&(o.detachedLeaveAnimationFns=[])}function lE(e,t){return Er(e,t)}function dE(e,t){return Wf(e,t)}function mc(e,t){return yn(e,t)}function Ip(e,t,n){let r=_(),o=Ht();if(Oe(r,o,t)){let i=q(),s=ri();Ky(s,r,e,t,r[B],n)}return Ip}function xd(e,t,n,r,o){Bc(t,e,n,o?"class":"style",r)}function Ai(e,t,n,r){let o=_(),i=o[g],s=e+H,a=i.firstCreatePass?Kf(s,o,2,t,nv,Rl(),n,r):i.data[s];if(Je(a)){let c=o[Ne].tracingService;if(c&&c.componentCreate){let u=i.data[a.directiveStart+a.componentOffset];return c.componentCreate(np(u),()=>(Fd(e,t,o,a,r),Ai))}}return Fd(e,t,o,a,r),Ai}function Fd(e,t,n,r,o){if(Rf(r,n,e,t,wp),zo(r)){let i=n[g];xf(i,n,r),df(i,r,n)}o!=null&&Vc(n,r)}function eu(){let e=q(),t=J(),n=Of(t);return e.firstCreatePass&&Jf(e,n),ya(n)&&va(),ma(),n.classesWithoutHost!=null&&Am(n)&&xd(e,n,_(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&xm(n)&&xd(e,n,_(),n.stylesWithoutHost,!1),eu}function bp(e,t,n,r){return Ai(e,t,n,r),eu(),bp}function Et(e,t,n,r){let o=_(),i=o[g],s=e+H,a=i.firstCreatePass?Hv(s,i,2,t,n,r):i.data[s];return Rf(a,o,e,t,wp),r!=null&&Vc(o,a),Et}function Ln(){let e=J(),t=Of(e);return ya(t)&&va(),ma(),Ln}var wp=(e,t,n,r,o)=>(ii(!0),gf(t[B],r,zl()));function tu(){return _()}function Mp(e,t,n){let r=_(),o=Ht();if(Oe(r,o,t)){let i=q(),s=ri();Ff(s,r,e,t,r[B],n)}return Mp}var fr=void 0;function fE(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var pE=["en",[["a","p"],["AM","PM"]],[["AM","PM"]],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],fr,[["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"]],fr,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm\u202Fa","h:mm:ss\u202Fa","h:mm:ss\u202Fa z","h:mm:ss\u202Fa zzzz"],["{1}, {0}",fr,fr,fr],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",fE],Ha={};function ue(e){let t=hE(e),n=Rd(t);if(n)return n;let r=t.split("-")[0];if(n=Rd(r),n)return n;if(r==="en")return pE;throw new C(701,!1)}function Rd(e){return e in Ha||(Ha[e]=un.ng&&un.ng.common&&un.ng.common.locales&&un.ng.common.locales[e]),Ha[e]}var U=(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})(U||{});function hE(e){return e.toLowerCase().replace(/_/g,"-")}var Fr="en-US";var gE=Fr;function Sp(e){typeof e=="string"&&(gE=e.toLowerCase().replace(/_/g,"-"))}function Vn(e,t,n){let r=_(),o=q(),i=J();return mE(o,r,r[B],i,e,t,n),Vn}function Rr(e,t,n){let r=_(),o=q(),i=J();return(i.type&3||n)&&ep(i,o,r,n,r[B],e,t,fi(i,r,t)),Rr}function mE(e,t,n,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=fi(r,t,i),ep(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??=fi(r,t,i),Dd(r,t,p,f,o,c)}if(u&&u.length)for(let d of u)c??=fi(r,t,i),Dd(r,t,d,o,o,c)}}function Gi(e=1){return Wl(e)}function Wi(e,t,n){return lD(e,t,n),Wi}function nu(e){let t=_(),n=q(),r=ba();ei(r+1);let o=Wc(n,r);if(e.dirty&&Sl(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=pD(t,r);e.reset(i,Gm),e.notifyOnChanges()}return!0}return!1}function ru(){return cD(_(),ba())}function ai(e,t){return e<<17|t<<2}function qt(e){return e>>17&32767}function yE(e){return(e&2)==2}function vE(e,t){return e&131071|t<<17}function yc(e){return e|2}function Nn(e){return(e&131068)>>2}function $a(e,t){return e&-131069|t<<2}function DE(e){return(e&1)===1}function vc(e){return e|1}function EE(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=qt(s),c=Nn(s);e[r]=n;let u=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||dn(d,l)>0)&&(u=!0)}else l=n;if(o)if(c!==0){let p=qt(e[a+1]);e[r+1]=ai(p,a),p!==0&&(e[p+1]=$a(e[p+1],r)),e[a+1]=vE(e[a+1],r)}else e[r+1]=ai(a,0),a!==0&&(e[a+1]=$a(e[a+1],r)),a=r;else e[r+1]=ai(c,0),a===0?a=r:e[c+1]=$a(e[c+1],r),c=r;u&&(e[r+1]=yc(e[r+1])),Od(e,l,r,!0),Od(e,l,r,!1),CE(t,l,e,r,i),s=ai(a,c),i?t.classBindings=s:t.styleBindings=s}function CE(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&dn(i,t)>=0&&(n[r+1]=vc(n[r+1]))}function Od(e,t,n,r){let o=e[n+1],i=t===null,s=r?qt(o):Nn(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],u=e[s+1];_E(c,t)&&(a=!0,e[s+1]=r?vc(u):yc(u)),s=r?qt(u):Nn(u)}a&&(e[n+1]=r?yc(o):vc(o))}function _E(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?dn(e,t)>=0:!1}function zi(e,t,n){return Tp(e,t,n,!1),zi}function Zt(e,t){return Tp(e,t,null,!0),Zt}function Tp(e,t,n,r){let o=_(),i=q(),s=Jo(2);if(i.firstUpdatePass&&bE(i,e,s,r),t!==ce&&Oe(o,s,t)){let a=i.data[He()];NE(i,a,o,o[B],e,o[s+1]=AE(t,n),r,s)}}function IE(e,t){return t>=e.expandoStartIndex}function bE(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[He()],s=IE(e,n);xE(i,r)&&t===null&&!s&&(t=!1),t=wE(o,i,t,r),EE(o,i,t,n,s,r)}}function wE(e,t,n,r){let o=Hl(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=Ua(null,e,t,n,r),n=Ir(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=Ua(o,e,t,n,r),i===null){let c=ME(e,t,r);c!==void 0&&Array.isArray(c)&&(c=Ua(null,e,t,c[1],r),c=Ir(c,t.attrs,r),SE(e,t,r,c))}else i=TE(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function ME(e,t,n){let r=n?t.classBindings:t.styleBindings;if(Nn(r)!==0)return e[qt(r)]}function SE(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[qt(o)]=r}function TE(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=Ir(r,s,n)}return Ir(r,t.attrs,n)}function Ua(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=Ir(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function Ir(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]),yl(e,s,n?!0:t[++i]))}return e===void 0?null:e}function NE(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,u=c[a+1],l=DE(u)?kd(c,t,n,o,Nn(u),s):void 0;if(!xi(l)){xi(i)||yE(u)&&(i=kd(c,null,n,o,a,s));let d=ca(He(),n);zy(r,s,d,o,i)}}function kd(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===ce&&(p=d?he:void 0);let f=d?Ho(p,r):l===r?p:void 0;if(u&&!xi(f)&&(f=Ho(c,r)),xi(f)&&(a=f,s))return a;let h=e[o+1];o=s?qt(h):Nn(h)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=Ho(c,r))}return a}function xi(e){return e!==void 0}function AE(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=or(Mc(e)))),e}function xE(e,t){return(e.flags&(t?8:16))!==0}function Or(e,t=""){let n=_(),r=q(),o=e+H,i=r.firstCreatePass?ji(r,o,1,t,null):r.data[o],s=FE(r,n,i,t);n[o]=s,oi()&&Pc(r,n,s,i),vn(i,!1)}var FE=(e,t,n,r)=>(ii(!0),sy(t[B],r));function RE(e,t,n,r=""){return Oe(e,Ht(),n)?t+Ye(n)+r:ce}function OE(e,t,n,r,o,i=""){let s=Ia(),a=Gc(e,s,n,o);return Jo(2),a?t+Ye(n)+r+Ye(o)+i:ce}function kE(e,t,n,r,o,i,s,a=""){let c=Ia(),u=$v(e,c,n,o,s);return Jo(3),u?t+Ye(n)+r+Ye(o)+i+Ye(s)+a:ce}function Np(e){return kr("",e),Np}function kr(e,t,n){let r=_(),o=RE(r,e,t,n);return o!==ce&&ou(r,He(),o),kr}function Ap(e,t,n,r,o){let i=_(),s=OE(i,e,t,n,r,o);return s!==ce&&ou(i,He(),s),Ap}function xp(e,t,n,r,o,i,s){let a=_(),c=kE(a,e,t,n,r,o,i,s);return c!==ce&&ou(a,He(),c),xp}function ou(e,t,n){let r=ca(t,e);ay(e[B],r,n)}function Pd(e,t,n){let r=q();r.firstCreatePass&&Fp(t,r.data,r.blueprint,Be(e),n)}function Fp(e,t,n,r,o){if(e=Q(e),Array.isArray(e))for(let i=0;i<e.length;i++)Fp(e[i],t,n,r,o);else{let i=q(),s=_(),a=J(),c=Ft(e)?e:Q(e.provide),u=oa(e),l=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(Ft(e)||!e.multi){let f=new Gt(u,o,A,null),h=Wa(c,t,o?l:l+p,d);h===-1?(qa(vi(a,s),i,c),Ga(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=Wa(c,t,l+p,d),h=Wa(c,t,l,l+p),y=f>=0&&n[f],D=h>=0&&n[h];if(o&&!D||!o&&!y){qa(vi(a,s),i,c);let M=VE(o?LE:PE,n.length,o,r,u,e);!o&&D&&(n[h].providerFactory=M),Ga(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(M),s.push(M)}else{let M=Rp(n[o?h:f],u,!o&&r);Ga(i,e,f>-1?f:h,M)}!o&&r&&D&&n[h].componentProviders++}}}function Ga(e,t,n,r){let o=Ft(t),i=_l(t);if(o||i){let c=(i?Q(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 Rp(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Wa(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function PE(e,t,n,r,o){return Dc(this.multi,[])}function LE(e,t,n,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=mr(r,r[g],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 VE(e,t,n,r,o,i){let s=new Gt(e,n,A,null);return s.multi=[],s.index=t,s.componentProviders=0,Rp(s,o,r&&!n),s}function jn(e,t){return n=>{n.providersResolver=(r,o)=>Pd(r,o?o(e):e,!1),t&&(n.viewProvidersResolver=(r,o)=>Pd(r,o?o(t):t,!0))}}function Op(e,t){let n=e[t];return n===ce?void 0:n}function jE(e,t,n,r,o,i){let s=t+n;return Oe(e,s,o)?Xf(e,s+1,i?r.call(i,o):r(o)):Op(e,s+1)}function BE(e,t,n,r,o,i,s){let a=t+n;return Gc(e,a,o,i)?Xf(e,a+2,s?r.call(s,o,i):r(o,i)):Op(e,a+2)}function HE(e,t){let n=q(),r,o=e+H;n.firstCreatePass?(r=$E(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=st(r.type,!0)),s,a=re(A);try{let c=yi(!1),u=i();return yi(c),la(n,_(),o,u),u}finally{re(a)}}function $E(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function UE(e,t,n){let r=e+H,o=_(),i=ua(o,r);return kp(o,r)?jE(o,_a(),t,i.transform,n,i):i.transform(n)}function GE(e,t,n,r){let o=e+H,i=_(),s=ua(i,o);return kp(i,o)?BE(i,_a(),t,s.transform,n,r,s):s.transform(n,r)}function kp(e,t){return e[g].data[t].pure}var Fi=class{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},WE=(()=>{class e{compileModuleSync(n){return new Si(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=Ys(n),i=Df(o.declarations).reduce((s,a)=>{let c=Ze(a);return c&&s.push(new Sn(c)),s},[]);return new Fi(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Pp=(()=>{class e{applicationErrorHandler=m(tt);appRef=m(Pn);taskService=m($t);ngZone=m(Se);zonelessEnabled=m(dr);tracing=m(Fn,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new ne;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(nr):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(m(xa,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{let n=this.taskService.add();if(!this.runningTick&&(this.cleanup(),!this.zonelessEnabled||this.appRef.includeAllTestViews)){this.taskService.remove(n);return}this.switchToMicrotaskScheduler(),this.taskService.remove(n)})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()}))}switchToMicrotaskScheduler(){this.ngZone.runOutsideAngular(()=>{let n=this.taskService.add();this.useMicrotaskScheduler=!0,queueMicrotask(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})})}notify(n){if(!this.zonelessEnabled&&n===5)return;switch(n){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2;break}case 12:{this.appRef.dirtyFlags|=16;break}case 13:{this.appRef.dirtyFlags|=2;break}case 11:break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick())return;let r=this.useMicrotaskScheduler?Ql:Ta;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>r(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(){return!(this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(nr+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){this.applicationErrorHandler(r)}finally{this.taskService.remove(n),this.cleanup()}}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Lp(){return[{provide:ze,useExisting:Pp},{provide:Se,useClass:rr},{provide:dr,useValue:!0}]}function zE(){return typeof $localize<"u"&&$localize.locale||Fr}var Bn=new b("",{factory:()=>m(Bn,{optional:!0,skipSelf:!0})||zE()});function rt(e){return il(e)}function Pr(e,t){return no(e,t?.equal)}var jp=Symbol("InputSignalNode#UNSET"),nC=L(O({},ro),{transformFn:void 0,applyValueToInputSignal(e,t){en(e,t)}});function Bp(e,t){let n=Object.create(nC);n.value=e,n.transformFn=t?.transform;function r(){if(Kt(n),n.value===jp){let o=null;throw new C(-950,o)}return n.value}return r[te]=n,r}function Vp(e,t){return Bp(e,t)}function rC(e){return Bp(jp,e)}var GO=(Vp.required=rC,Vp);var iu=new b(""),oC=new b("");function Lr(e){return!e.moduleRef}function iC(e){let t=Lr(e)?e.r3Injector:e.moduleRef.injector,n=t.get(Se);return n.run(()=>{Lr(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(tt),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:r})}),Lr(e)){let i=()=>t.destroy(),s=e.platformInjector.get(iu);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(iu);s.add(i),e.moduleRef.onDestroy(()=>{gr(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return aC(r,n,()=>{let i=t.get($t),s=i.add(),a=t.get(Qc);return a.runInitializers(),a.donePromise.then(()=>{let c=t.get(Bn,Fr);if(Sp(c||Fr),!t.get(oC,!0))return Lr(e)?t.get(Pn):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Lr(e)){let l=t.get(Pn);return e.rootComponent!==void 0&&l.bootstrap(e.rootComponent),l}else return sC?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>{i.remove(s)})})})}var sC;function aC(e,t,n){try{let r=n();return kn(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e(r)),r}}var qi=null;function cC(e=[],t){return Me.create({name:t,providers:[{provide:ra,useValue:"platform"},{provide:iu,useValue:new Set([()=>qi=null])},...e]})}function uC(e=[]){if(qi)return qi;let t=cC(e);return qi=t,Dp(),lC(t),t}function lC(e){let t=e.get(nf,null);Go(e,()=>{t?.forEach(n=>n())})}var dC=1e4;var WO=dC-1e3;var Zi=(()=>{class e{static __NG_ELEMENT_ID__=fC}return e})();function fC(e){return pC(J(),_(),(e&16)===16)}function pC(e,t,n){if(Je(e)&&!n){let r=_e(e.index,t);return new yt(r,r)}else if(e.type&175){let r=t[me];return new yt(r,t)}return null}function zO(e){let{rootComponent:t,appProviders:n,platformProviders:r,platformRef:o}=e;T(S.BootstrapApplicationStart);try{let i=o?.injector??uC(r),s=[Lp(),Jl,...n||[]],a=new _r({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1});return iC({r3Injector:a.injector,platformInjector:i,rootComponent:t})}catch(i){return Promise.reject(i)}finally{T(S.BootstrapApplicationEnd)}}function Hp(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}var $p=null;function Yt(){return $p}function hC(e){$p??=e}var su=class{},Yi=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=P({token:e,factory:()=>m(Up),providedIn:"platform"})}return e})();var Up=(()=>{class e extends Yi{_location;_history;_doc=m(Xe);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Yt().getBaseHref(this._doc)}onPopState(n){let r=Yt().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){let r=Yt().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=P({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function zp(e,t){return e?t?e.endsWith("/")?t.startsWith("/")?e+t.slice(1):e+t:t.startsWith("/")?e+t:`${e}/${t}`:e:t}function Gp(e){let t=e.search(/#|\?|$/);return e[t-1]==="/"?e.slice(0,t-1)+e.slice(t):e}function Ct(e){return e&&e[0]!=="?"?`?${e}`:e}var Qi=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=P({token:e,factory:()=>m(mC),providedIn:"root"})}return e})(),gC=new b(""),mC=(()=>{class e extends Qi{_platformLocation;_baseHref;_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??m(Xe).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 zp(this._baseHref,n)}path(n=!1){let r=this._platformLocation.pathname+Ct(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+Ct(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+Ct(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)(K(Yi),K(gC,8))};static \u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var qp=(()=>{class e{_subject=new fe;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(n){this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=DC(Gp(Wp(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+Ct(r))}normalize(n){return e.stripTrailingSlash(vC(this._basePath,Wp(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+Ct(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Ct(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=Ct;static joinWithSlash=zp;static stripTrailingSlash=Gp;static \u0275fac=function(r){return new(r||e)(K(Qi))};static \u0275prov=P({token:e,factory:()=>yC(),providedIn:"root"})}return e})();function yC(){return new qp(K(Qi))}function vC(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function Wp(e){return e.replace(/\/index.html$/,"")}function DC(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}var pu=(function(e){return e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific",e})(pu||{});var ee=(function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e})(ee||{}),k=(function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e})(k||{}),le=(function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e})(le||{}),de={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 Kp(e){return ue(e)[U.LocaleId]}function Jp(e,t,n){let r=ue(e),o=[r[U.DayPeriodsFormat],r[U.DayPeriodsStandalone]],i=Ie(o,t);return Ie(i,n)}function Xp(e,t,n){let r=ue(e),o=[r[U.DaysFormat],r[U.DaysStandalone]],i=Ie(o,t);return Ie(i,n)}function eh(e,t,n){let r=ue(e),o=[r[U.MonthsFormat],r[U.MonthsStandalone]],i=Ie(o,t);return Ie(i,n)}function th(e,t){let r=ue(e)[U.Eras];return Ie(r,t)}function jr(e,t){let n=ue(e);return Ie(n[U.DateFormat],t)}function Br(e,t){let n=ue(e);return Ie(n[U.TimeFormat],t)}function Hr(e,t){let r=ue(e)[U.DateTimeFormat];return Ie(r,t)}function Ue(e,t){let n=ue(e),r=n[U.NumberSymbols][t];if(typeof r>"u"){if(t===de.CurrencyDecimal)return n[U.NumberSymbols][de.Decimal];if(t===de.CurrencyGroup)return n[U.NumberSymbols][de.Group]}return r}function nh(e,t){return ue(e)[U.NumberFormats][t]}function rh(e){if(!e[U.ExtraData])throw new C(2303,!1)}function oh(e){let t=ue(e);return rh(t),(t[U.ExtraData][2]||[]).map(r=>typeof r=="string"?au(r):[au(r[0]),au(r[1])])}function ih(e,t,n){let r=ue(e);rh(r);let o=[r[U.ExtraData][0],r[U.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 C(2304,!1)}function au(e){let[t,n]=e.split(":");return{hours:+t,minutes:+n}}var EC=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Ki={},CC=/((?:[^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 sh(e,t,n,r){let o=AC(e);t=ot(n,t)||t;let s=[],a;for(;t;)if(a=CC.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=ch(r,c),o=NC(o,r));let u="";return s.forEach(l=>{let d=SC(l);u+=d?d(o,n,c):l==="''"?"'":l.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}function ns(e,t,n){let r=new Date(0);return r.setFullYear(e,t,n),r.setHours(0,0,0),r}function ot(e,t){let n=Kp(e);if(Ki[n]??={},Ki[n][t])return Ki[n][t];let r="";switch(t){case"shortDate":r=jr(e,le.Short);break;case"mediumDate":r=jr(e,le.Medium);break;case"longDate":r=jr(e,le.Long);break;case"fullDate":r=jr(e,le.Full);break;case"shortTime":r=Br(e,le.Short);break;case"mediumTime":r=Br(e,le.Medium);break;case"longTime":r=Br(e,le.Long);break;case"fullTime":r=Br(e,le.Full);break;case"short":let o=ot(e,"shortTime"),i=ot(e,"shortDate");r=Ji(Hr(e,le.Short),[o,i]);break;case"medium":let s=ot(e,"mediumTime"),a=ot(e,"mediumDate");r=Ji(Hr(e,le.Medium),[s,a]);break;case"long":let c=ot(e,"longTime"),u=ot(e,"longDate");r=Ji(Hr(e,le.Long),[c,u]);break;case"full":let l=ot(e,"fullTime"),d=ot(e,"fullDate");r=Ji(Hr(e,le.Full),[l,d]);break}return r&&(Ki[n][t]=r),r}function Ji(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(n,r){return t!=null&&r in t?t[r]:n})),e}function ke(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 _C(e,t){return ke(e,3).substring(0,t)}function Y(e,t,n=0,r=!1,o=!1){return function(i,s){let a=IC(e,i);if((n>0||a>-n)&&(a+=n),e===3)a===0&&n===-12&&(a=12);else if(e===6)return _C(a,t);let c=Ue(s,de.MinusSign);return ke(a,t,c,r,o)}}function IC(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 C(2301,!1)}}function V(e,t,n=ee.Format,r=!1){return function(o,i){return bC(o,i,e,t,n,r)}}function bC(e,t,n,r,o,i){switch(n){case 2:return eh(t,o,r)[e.getMonth()];case 1:return Xp(t,o,r)[e.getDay()];case 0:let s=e.getHours(),a=e.getMinutes();if(i){let u=oh(t),l=ih(t,o,r),d=u.findIndex(p=>{if(Array.isArray(p)){let[f,h]=p,y=s>=f.hours&&a>=f.minutes,D=s<h.hours||s===h.hours&&a<h.minutes;if(f.hours<h.hours){if(y&&D)return!0}else if(y||D)return!0}else if(p.hours===s&&p.minutes===a)return!0;return!1});if(d!==-1)return l[d]}return Jp(t,o,r)[s<12?0:1];case 3:return th(t,r)[e.getFullYear()<=0?0:1];default:let c=n;throw new C(2302,!1)}}function Xi(e){return function(t,n,r){let o=-1*r,i=Ue(n,de.MinusSign),s=o>0?Math.floor(o/60):Math.ceil(o/60);switch(e){case 0:return(o>=0?"+":"")+ke(s,2,i)+ke(Math.abs(o%60),2,i);case 1:return"GMT"+(o>=0?"+":"")+ke(s,1,i);case 2:return"GMT"+(o>=0?"+":"")+ke(s,2,i)+":"+ke(Math.abs(o%60),2,i);case 3:return r===0?"Z":(o>=0?"+":"")+ke(s,2,i)+":"+ke(Math.abs(o%60),2,i);default:throw new C(2310,!1)}}}var wC=0,ts=4;function MC(e){let t=ns(e,wC,1).getDay();return ns(e,0,1+(t<=ts?ts:ts+7)-t)}function ah(e){let t=e.getDay(),n=t===0?-3:ts-t;return ns(e.getFullYear(),e.getMonth(),e.getDate()+n)}function cu(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=ah(n),s=MC(i.getFullYear()),a=i.getTime()-s.getTime();o=1+Math.round(a/6048e5)}return ke(o,e,Ue(r,de.MinusSign))}}function es(e,t=!1){return function(n,r){let i=ah(n).getFullYear();return ke(i,e,Ue(r,de.MinusSign),t)}}var uu={};function SC(e){if(uu[e])return uu[e];let t;switch(e){case"G":case"GG":case"GGG":t=V(3,k.Abbreviated);break;case"GGGG":t=V(3,k.Wide);break;case"GGGGG":t=V(3,k.Narrow);break;case"y":t=Y(0,1,0,!1,!0);break;case"yy":t=Y(0,2,0,!0,!0);break;case"yyy":t=Y(0,3,0,!1,!0);break;case"yyyy":t=Y(0,4,0,!1,!0);break;case"Y":t=es(1);break;case"YY":t=es(2,!0);break;case"YYY":t=es(3);break;case"YYYY":t=es(4);break;case"M":case"L":t=Y(1,1,1);break;case"MM":case"LL":t=Y(1,2,1);break;case"MMM":t=V(2,k.Abbreviated);break;case"MMMM":t=V(2,k.Wide);break;case"MMMMM":t=V(2,k.Narrow);break;case"LLL":t=V(2,k.Abbreviated,ee.Standalone);break;case"LLLL":t=V(2,k.Wide,ee.Standalone);break;case"LLLLL":t=V(2,k.Narrow,ee.Standalone);break;case"w":t=cu(1);break;case"ww":t=cu(2);break;case"W":t=cu(1,!0);break;case"d":t=Y(2,1);break;case"dd":t=Y(2,2);break;case"c":case"cc":t=Y(7,1);break;case"ccc":t=V(1,k.Abbreviated,ee.Standalone);break;case"cccc":t=V(1,k.Wide,ee.Standalone);break;case"ccccc":t=V(1,k.Narrow,ee.Standalone);break;case"cccccc":t=V(1,k.Short,ee.Standalone);break;case"E":case"EE":case"EEE":t=V(1,k.Abbreviated);break;case"EEEE":t=V(1,k.Wide);break;case"EEEEE":t=V(1,k.Narrow);break;case"EEEEEE":t=V(1,k.Short);break;case"a":case"aa":case"aaa":t=V(0,k.Abbreviated);break;case"aaaa":t=V(0,k.Wide);break;case"aaaaa":t=V(0,k.Narrow);break;case"b":case"bb":case"bbb":t=V(0,k.Abbreviated,ee.Standalone,!0);break;case"bbbb":t=V(0,k.Wide,ee.Standalone,!0);break;case"bbbbb":t=V(0,k.Narrow,ee.Standalone,!0);break;case"B":case"BB":case"BBB":t=V(0,k.Abbreviated,ee.Format,!0);break;case"BBBB":t=V(0,k.Wide,ee.Format,!0);break;case"BBBBB":t=V(0,k.Narrow,ee.Format,!0);break;case"h":t=Y(3,1,-12);break;case"hh":t=Y(3,2,-12);break;case"H":t=Y(3,1);break;case"HH":t=Y(3,2);break;case"m":t=Y(4,1);break;case"mm":t=Y(4,2);break;case"s":t=Y(5,1);break;case"ss":t=Y(5,2);break;case"S":t=Y(6,1);break;case"SS":t=Y(6,2);break;case"SSS":t=Y(6,3);break;case"Z":case"ZZ":case"ZZZ":t=Xi(0);break;case"ZZZZZ":t=Xi(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=Xi(1);break;case"OOOO":case"ZZZZ":case"zzzz":t=Xi(2);break;default:return null}return uu[e]=t,t}function ch(e,t){e=e.replace(/:/g,"");let n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function TC(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function NC(e,t,n){let o=e.getTimezoneOffset(),i=ch(t,o);return TC(e,-1*(i-o))}function AC(e){if(Zp(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 ns(o,i-1,s)}let n=parseFloat(e);if(!isNaN(e-n))return new Date(n);let r;if(r=e.match(EC))return xC(r)}let t=new Date(e);if(!Zp(t))throw new C(2311,!1);return t}function xC(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 Zp(e){return e instanceof Date&&!isNaN(e.valueOf())}var FC=/^(\d+)?\.((\d+)(-(\d+))?)?$/,Yp=22,rs=".",$r="0",RC=";",OC=",",lu="#";function kC(e,t,n,r,o,i,s=!1){let a="",c=!1;if(!isFinite(e))a=Ue(n,de.Infinity);else{let u=VC(e);s&&(u=LC(u));let l=t.minInt,d=t.minFrac,p=t.maxFrac;if(i){let j=i.match(FC);if(j===null)throw new C(2306,!1);let Pe=j[1],_t=j[3],Un=j[5];Pe!=null&&(l=du(Pe)),_t!=null&&(d=du(_t)),Un!=null?p=du(Un):_t!=null&&d>p&&(p=d)}jC(u,d,p);let f=u.digits,h=u.integerLen,y=u.exponent,D=[];for(c=f.every(j=>!j);h<l;h++)f.unshift(0);for(;h<0;h++)f.unshift(0);h>0?D=f.splice(h,f.length):(D=f,f=[0]);let M=[];for(f.length>=t.lgSize&&M.unshift(f.splice(-t.lgSize,f.length).join(""));f.length>t.gSize;)M.unshift(f.splice(-t.gSize,f.length).join(""));f.length&&M.unshift(f.join("")),a=M.join(Ue(n,r)),D.length&&(a+=Ue(n,o)+D.join("")),y&&(a+=Ue(n,de.Exponential)+"+"+y)}return e<0&&!c?a=t.negPre+a+t.negSuf:a=t.posPre+a+t.posSuf,a}function uh(e,t,n){let r=nh(t,pu.Decimal),o=PC(r,Ue(t,de.MinusSign));return kC(e,o,t,de.Group,de.Decimal,n)}function PC(e,t="-"){let n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=e.split(RC),o=r[0],i=r[1],s=o.indexOf(rs)!==-1?o.split(rs):[o.substring(0,o.lastIndexOf($r)+1),o.substring(o.lastIndexOf($r)+1)],a=s[0],c=s[1]||"";n.posPre=a.substring(0,a.indexOf(lu));for(let l=0;l<c.length;l++){let d=c.charAt(l);d===$r?n.minFrac=n.maxFrac=l+1:d===lu?n.maxFrac=l+1:n.posSuf+=d}let u=a.split(OC);if(n.gSize=u[1]?u[1].length:0,n.lgSize=u[2]||u[1]?(u[2]||u[1]).length:0,i){let l=o.length-n.posPre.length-n.posSuf.length,d=i.indexOf(lu);n.negPre=i.substring(0,d).replace(/'/g,""),n.negSuf=i.slice(d+l).replace(/'/g,"")}else n.negPre=t+n.posPre,n.negSuf=n.posSuf;return n}function LC(e){if(e.digits[0]===0)return e;let t=e.digits.length-e.integerLen;return e.exponent?e.exponent+=2:(t===0?e.digits.push(0,0):t===1&&e.digits.push(0),e.integerLen+=2),e}function VC(e){let t=Math.abs(e)+"",n=0,r,o,i,s,a;for((o=t.indexOf(rs))>-1&&(t=t.replace(rs,"")),(i=t.search(/e/i))>0?(o<0&&(o=i),o+=+t.slice(i+1),t=t.substring(0,i)):o<0&&(o=t.length),i=0;t.charAt(i)===$r;i++);if(i===(a=t.length))r=[0],o=1;else{for(a--;t.charAt(a)===$r;)a--;for(o-=i,r=[],s=0;i<=a;i++,s++)r[s]=Number(t.charAt(i))}return o>Yp&&(r=r.splice(0,Yp-1),n=o-1,o=1),{digits:r,exponent:n,integerLen:o}}function jC(e,t,n){if(t>n)throw new C(2307,!1);let r=e.digits,o=r.length-e.integerLen,i=Math.min(Math.max(t,o),n),s=i+e.integerLen,a=r[s];if(s>0){r.splice(Math.max(e.integerLen,s));for(let d=s;d<r.length;d++)r[d]=0}else{o=Math.max(0,o),e.integerLen=1,r.length=Math.max(1,s=i+1),r[0]=0;for(let d=1;d<s;d++)r[d]=0}if(a>=5)if(s-1<0){for(let d=0;d>s;d--)r.unshift(0),e.integerLen++;r.unshift(1),e.integerLen++}else r[s-1]++;for(;o<Math.max(0,i);o++)r.push(0);let c=i!==0,u=t+e.integerLen,l=r.reduceRight(function(d,p,f,h){return p=p+d,h[f]=p<10?p:p-10,c&&(h[f]===0&&f>=u?h.pop():c=!1),p>=10?1:0},0);l&&(r.unshift(l),e.integerLen++)}function du(e){let t=parseInt(e);if(isNaN(t))throw new C(2305,!1);return t}var fu=/\s+/,Qp=[],BC=(()=>{class e{_ngEl;_renderer;initialClasses=Qp;rawClass;stateMap=new Map;constructor(n,r){this._ngEl=n,this._renderer=r}set klass(n){this.initialClasses=n!=null?n.trim().split(fu):Qp}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(fu):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(fu).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)(A(ae),A(Dt))};static \u0275dir=ve({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})();function lh(e,t){return new C(2100,!1)}var HC="mediumDate",dh=new b(""),fh=new b(""),$C=(()=>{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??HC,a=o??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return sh(n,s,i||this.locale,a)}catch(s){throw lh(e,s.message)}}static \u0275fac=function(r){return new(r||e)(A(Bn,16),A(dh,24),A(fh,24))};static \u0275pipe=Hi({name:"date",type:e,pure:!0})}return e})();var UC=(()=>{class e{_locale;constructor(n){this._locale=n}transform(n,r,o){if(!GC(n))return null;o||=this._locale;try{let i=WC(n);return uh(i,o,r)}catch(i){throw lh(e,i.message)}}static \u0275fac=function(r){return new(r||e)(A(Bn,16))};static \u0275pipe=Hi({name:"number",type:e,pure:!0})}return e})();function GC(e){return!(e==null||e===""||e!==e)}function WC(e){if(typeof e=="string"&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if(typeof e!="number")throw new C(2309,!1);return e}function zC(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 hu=class{};var uP="browser";var ZC=["panel"];function YC(e,t){if(e&1){let n=tu();Et(0,"button",5),Rr("click",function(){Qo(n);let o=Gi();return Ko(o.openPanel())}),Et(1,"span",6),Or(2,"?"),Ln()()}if(e&2){let n=Gi();xr("aria-label",n.label)}}function QC(e,t){e&1&&(Et(0,"span",3)(1,"span"),Or(2,"?"),Ln()())}var ph=class e{host=m(ae);panel;text;label="More information";interactive=!0;panelLeft=0;panelTop=0;panelWidth=320;arrowLeft=160;placement="below";open=!1;openPanel(){this.positionPanel(),this.open=!0}closePanel(){this.open=!1}positionPanel(){if(typeof window>"u")return;let t=12,n=window.innerWidth,r=window.innerHeight,o=Math.min(340,n-t*2),i=Math.min(220,o),s=this.host.nativeElement.getBoundingClientRect(),a=Math.min(o,Math.max(i,this.text.length*4.8)),c=Math.min(o,a),u=s.left+s.width/2-c/2,l=this.estimatedPanelHeight(c),d=s.bottom+10,p=s.top-l-10,h=d+l<=r-t||p<t?d:p;this.panelWidth=c,this.panelLeft=Math.min(n-t-c,Math.max(t,u)),this.panelTop=Math.min(r-t-l,Math.max(t,h)),this.arrowLeft=Math.min(c-18,Math.max(18,s.left+s.width/2-this.panelLeft)),this.placement=this.panelTop<s.top?"above":"below"}estimatedPanelHeight(t){let n=Math.max(26,Math.floor(t/6.5)),r=Math.ceil(this.text.length/n);return Math.min(190,Math.max(54,r*18+28))}static \u0275fac=function(n){return new(n||e)};static \u0275cmp=qc({type:e,selectors:[["app-help-popover"]],viewQuery:function(n,r){if(n&1&&Wi(ZC,5),n&2){let o;nu(o=ru())&&(r.panel=o.first)}},inputs:{text:"text",label:"label",interactive:"interactive"},decls:6,vars:14,consts:[["panel",""],[1,"help-popover",3,"mouseenter","mouseleave","focusin","focusout"],["type","button"],["aria-hidden","true",1,"help-trigger"],["role","tooltip",1,"help-panel"],["type","button",3,"click"],["aria-hidden","true"]],template:function(n,r){n&1&&(Et(0,"span",1),Rr("mouseenter",function(){return r.openPanel()})("mouseleave",function(){return r.closePanel()})("focusin",function(){return r.openPanel()})("focusout",function(){return r.closePanel()}),Kc(1,YC,3,1,"button",2)(2,QC,3,0,"span",3),Et(3,"span",4,0),Or(5),Ln()()),n&2&&(Zt("open",r.open),wr(),Xc(r.interactive?1:2),wr(2),zi("left",r.panelLeft,"px")("top",r.panelTop,"px")("width",r.panelWidth,"px")("--arrow-left",r.arrowLeft,"px"),Zt("above",r.placement==="above"),wr(2),kr(" ",r.text," "))},styles:['[_nghost-%COMP%]{display:inline-flex;align-items:center;justify-content:center;position:relative;width:15px;height:15px;vertical-align:middle;text-transform:none!important}.help-popover[_ngcontent-%COMP%]{position:relative;display:inline-flex;align-items:center;justify-content:center;width:15px;height:15px;text-transform:none!important}button[_ngcontent-%COMP%], .help-trigger[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:15px;height:15px;border:1px solid rgba(39,214,176,.3);border-radius:50%;padding:0;background:linear-gradient(135deg,#7c5cff29,#1fd1a51f),#ffffff09;color:var(--accent-2);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:9px;font-weight:850;line-height:1;cursor:help;box-shadow:inset 0 0 0 1px #ffffff09;text-transform:none!important}button[_ngcontent-%COMP%] span[_ngcontent-%COMP%], .help-trigger[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;width:100%;height:100%;line-height:1;transform:translateY(-.35px);text-transform:none!important}button[_ngcontent-%COMP%]:hover, .help-popover[_ngcontent-%COMP%]:hover .help-trigger[_ngcontent-%COMP%]{border-color:#6f5cff8f;color:var(--text-strong);background:linear-gradient(135deg,#7c5cff47,#1fd1a533),#ffffff0d}button[_ngcontent-%COMP%]:focus-visible{outline:2px solid var(--accent-2);outline-offset:2px}.help-panel[_ngcontent-%COMP%]{position:fixed;z-index:1000;max-width:calc(100vw - 24px);border:1px solid rgba(39,214,176,.26);border-radius:12px;padding:11px 12px 11px 13px;background:radial-gradient(circle at 0% 0%,rgba(124,92,255,.22),transparent 44%),linear-gradient(135deg,#1fd1a521,#7c5cff14),var(--surface-raised, #0d1520);color:var(--text);box-shadow:0 18px 46px #0000005c,0 0 0 1px #ffffff09;font-size:12px;font-weight:520;line-height:1.45;overflow-wrap:anywhere;opacity:0;pointer-events:none;transform:translateY(-3px);transition:opacity .12s ease,transform .12s ease;text-transform:none;text-align:left;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.help-panel[_ngcontent-%COMP%]:before{content:"";position:absolute;left:var(--arrow-left, 18px);top:-6px;width:10px;height:10px;border-left:1px solid rgba(39,214,176,.26);border-top:1px solid rgba(39,214,176,.26);background:linear-gradient(135deg,#1fd1a529,#7c5cff24),var(--surface-raised, #0d1520);transform:translate(-50%) rotate(45deg)}.help-panel.above[_ngcontent-%COMP%]:before{top:auto;bottom:-6px;border:0;border-right:1px solid rgba(39,214,176,.26);border-bottom:1px solid rgba(39,214,176,.26)}.help-popover.open[_ngcontent-%COMP%] .help-panel[_ngcontent-%COMP%]{opacity:1;pointer-events:auto;transform:translateY(0)}.theme-light[_nghost-%COMP%] button[_ngcontent-%COMP%], .theme-light [_nghost-%COMP%] button[_ngcontent-%COMP%], .theme-light[_nghost-%COMP%] .help-trigger[_ngcontent-%COMP%], .theme-light [_nghost-%COMP%] .help-trigger[_ngcontent-%COMP%]{border-color:#0c9f8338;background:linear-gradient(135deg,#6f5cff1f,#0c9f831a),#ffffffc2;color:#0c8f76}.theme-light[_nghost-%COMP%] .help-panel[_ngcontent-%COMP%], .theme-light [_nghost-%COMP%] .help-panel[_ngcontent-%COMP%]{border-color:#0c9f8333;background:radial-gradient(circle at 0% 0%,rgba(111,92,255,.12),transparent 44%),linear-gradient(135deg,#0c9f8314,#6f5cff0b),#fffffff5;color:var(--text);box-shadow:0 18px 42px #1f2d4029;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.theme-light[_nghost-%COMP%] .help-panel[_ngcontent-%COMP%]:before, .theme-light [_nghost-%COMP%] .help-panel[_ngcontent-%COMP%]:before{border-color:#0c9f8333;background:linear-gradient(135deg,#0c9f8317,#6f5cff0f),#fffffff5}']})};var _h=(()=>{class e{_renderer;_elementRef;onChange=n=>{};onTouched=()=>{};constructor(n,r){this._renderer=n,this._elementRef=r}setProperty(n,r){this._renderer.setProperty(this._elementRef.nativeElement,n,r)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}static \u0275fac=function(r){return new(r||e)(A(Dt),A(ae))};static \u0275dir=ve({type:e})}return e})(),Eu=(()=>{class e extends _h{static \u0275fac=(()=>{let n;return function(o){return(n||(n=An(e)))(o||e)}})();static \u0275dir=ve({type:e,features:[nt]})}return e})(),cs=new b("");var KC={provide:cs,useExisting:qe(()=>Ih),multi:!0};function JC(){let e=Yt()?Yt().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}var XC=new b(""),Ih=(()=>{class e extends _h{_compositionMode;_composing=!1;constructor(n,r,o){super(n,r),this._compositionMode=o,this._compositionMode==null&&(this._compositionMode=!JC())}writeValue(n){let r=n??"";this.setProperty("value",r)}_handleInput(n){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(n)}_compositionStart(){this._composing=!0}_compositionEnd(n){this._composing=!1,this._compositionMode&&this.onChange(n)}static \u0275fac=function(r){return new(r||e)(A(Dt),A(ae),A(XC,8))};static \u0275dir=ve({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(r,o){r&1&&Vn("input",function(s){return o._handleInput(s.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(s){return o._compositionEnd(s.target.value)})},standalone:!1,features:[jn([KC]),nt]})}return e})();var e_=new b(""),t_=new b("");function bh(e){return e!=null}function wh(e){return kn(e)?Le(e):e}function Mh(e){let t={};return e.forEach(n=>{t=n!=null?O(O({},t),n):t}),Object.keys(t).length===0?null:t}function Sh(e,t){return t.map(n=>n(e))}function n_(e){return!e.validate}function Th(e){return e.map(t=>n_(t)?t:n=>t.validate(n))}function r_(e){if(!e)return null;let t=e.filter(bh);return t.length==0?null:function(n){return Mh(Sh(n,t))}}function Nh(e){return e!=null?r_(Th(e)):null}function o_(e){if(!e)return null;let t=e.filter(bh);return t.length==0?null:function(n){let r=Sh(n,t).map(wh);return Ms(r).pipe(Ge(Mh))}}function Ah(e){return e!=null?o_(Th(e)):null}function hh(e,t){return e===null?[t]:Array.isArray(e)?[...e,t]:[e,t]}function i_(e){return e._rawValidators}function s_(e){return e._rawAsyncValidators}function gu(e){return e?Array.isArray(e)?e:[e]:[]}function is(e,t){return Array.isArray(e)?e.includes(t):e===t}function gh(e,t){let n=gu(t);return gu(e).forEach(o=>{is(n,o)||n.push(o)}),n}function mh(e,t){return gu(t).filter(n=>!is(e,n))}var ss=class{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=Nh(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=Ah(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t=void 0){this.control?.reset(t)}hasError(t,n){return this.control?this.control.hasError(t,n):!1}getError(t,n){return this.control?this.control.getError(t,n):null}},mu=class extends ss{name;get formDirective(){return null}get path(){return null}},qr=class extends ss{_parent=null;name=null;valueAccessor=null},yu=class{_cd;constructor(t){this._cd=t}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}};var PP=(()=>{class e extends yu{constructor(n){super(n)}static \u0275fac=function(r){return new(r||e)(A(qr,2))};static \u0275dir=ve({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,o){r&2&&Zt("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},standalone:!1,features:[nt]})}return e})();var Ur="VALID",os="INVALID",Hn="PENDING",Gr="DISABLED",Qt=class{},as=class extends Qt{value;source;constructor(t,n){super(),this.value=t,this.source=n}},Wr=class extends Qt{pristine;source;constructor(t,n){super(),this.pristine=t,this.source=n}},zr=class extends Qt{touched;source;constructor(t,n){super(),this.touched=t,this.source=n}},$n=class extends Qt{status;source;constructor(t,n){super(),this.status=t,this.source=n}};var vu=class extends Qt{source;constructor(t){super(),this.source=t}};function a_(e){return(us(e)?e.validators:e)||null}function c_(e){return Array.isArray(e)?Nh(e):e||null}function u_(e,t){return(us(t)?t.asyncValidators:e)||null}function l_(e){return Array.isArray(e)?Ah(e):e||null}function us(e){return e!=null&&!Array.isArray(e)&&typeof e=="object"}var Du=class{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(t,n){this._assignValidators(t),this._assignAsyncValidators(n)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get status(){return rt(this.statusReactive)}set status(t){rt(()=>this.statusReactive.set(t))}_status=Pr(()=>this.statusReactive());statusReactive=Dn(void 0);get valid(){return this.status===Ur}get invalid(){return this.status===os}get pending(){return this.status===Hn}get disabled(){return this.status===Gr}get enabled(){return this.status!==Gr}errors;get pristine(){return rt(this.pristineReactive)}set pristine(t){rt(()=>this.pristineReactive.set(t))}_pristine=Pr(()=>this.pristineReactive());pristineReactive=Dn(!0);get dirty(){return!this.pristine}get touched(){return rt(this.touchedReactive)}set touched(t){rt(()=>this.touchedReactive.set(t))}_touched=Pr(()=>this.touchedReactive());touchedReactive=Dn(!1);get untouched(){return!this.touched}_events=new fe;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._assignValidators(t)}setAsyncValidators(t){this._assignAsyncValidators(t)}addValidators(t){this.setValidators(gh(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(gh(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(mh(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(mh(t,this._rawAsyncValidators))}hasValidator(t){return is(this._rawValidators,t)}hasAsyncValidator(t){return is(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){let n=this.touched===!1;this.touched=!0;let r=t.sourceControl??this;t.onlySelf||this._parent?.markAsTouched(L(O({},t),{sourceControl:r})),n&&t.emitEvent!==!1&&this._events.next(new zr(!0,r))}markAllAsDirty(t={}){this.markAsDirty({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:this}),this._forEachChild(n=>n.markAllAsDirty(t))}markAllAsTouched(t={}){this.markAsTouched({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:this}),this._forEachChild(n=>n.markAllAsTouched(t))}markAsUntouched(t={}){let n=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let r=t.sourceControl??this;this._forEachChild(o=>{o.markAsUntouched({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:r})}),t.onlySelf||this._parent?._updateTouched(t,r),n&&t.emitEvent!==!1&&this._events.next(new zr(!1,r))}markAsDirty(t={}){let n=this.pristine===!0;this.pristine=!1;let r=t.sourceControl??this;t.onlySelf||this._parent?.markAsDirty(L(O({},t),{sourceControl:r})),n&&t.emitEvent!==!1&&this._events.next(new Wr(!1,r))}markAsPristine(t={}){let n=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let r=t.sourceControl??this;this._forEachChild(o=>{o.markAsPristine({onlySelf:!0,emitEvent:t.emitEvent})}),t.onlySelf||this._parent?._updatePristine(t,r),n&&t.emitEvent!==!1&&this._events.next(new Wr(!0,r))}markAsPending(t={}){this.status=Hn;let n=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new $n(this.status,n)),this.statusChanges.emit(this.status)),t.onlySelf||this._parent?.markAsPending(L(O({},t),{sourceControl:n}))}disable(t={}){let n=this._parentMarkedDirty(t.onlySelf);this.status=Gr,this.errors=null,this._forEachChild(o=>{o.disable(L(O({},t),{onlySelf:!0}))}),this._updateValue();let r=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new as(this.value,r)),this._events.next(new $n(this.status,r)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(L(O({},t),{skipPristineCheck:n}),this),this._onDisabledChange.forEach(o=>o(!0))}enable(t={}){let n=this._parentMarkedDirty(t.onlySelf);this.status=Ur,this._forEachChild(r=>{r.enable(L(O({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(L(O({},t),{skipPristineCheck:n}),this),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(t,n){t.onlySelf||(this._parent?.updateValueAndValidity(t),t.skipPristineCheck||this._parent?._updatePristine({},n),this._parent?._updateTouched({},n))}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let r=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Ur||this.status===Hn)&&this._runAsyncValidator(r,t.emitEvent)}let n=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new as(this.value,n)),this._events.next(new $n(this.status,n)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),t.onlySelf||this._parent?.updateValueAndValidity(L(O({},t),{sourceControl:n}))}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(n=>n._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Gr:Ur}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t,n){if(this.asyncValidator){this.status=Hn,this._hasOwnPendingAsyncValidator={emitEvent:n!==!1,shouldHaveEmitted:t!==!1};let r=wh(this.asyncValidator(this));this._asyncValidationSubscription=r.subscribe(o=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(o,{emitEvent:n,shouldHaveEmitted:t})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let t=(this._hasOwnPendingAsyncValidator?.emitEvent||this._hasOwnPendingAsyncValidator?.shouldHaveEmitted)??!1;return this._hasOwnPendingAsyncValidator=null,t}return!1}setErrors(t,n={}){this.errors=t,this._updateControlsErrors(n.emitEvent!==!1,this,n.shouldHaveEmitted)}get(t){let n=t;return n==null||(Array.isArray(n)||(n=n.split(".")),n.length===0)?null:n.reduce((r,o)=>r&&r._find(o),this)}getError(t,n){let r=n?this.get(n):this;return r?.errors?r.errors[t]:null}hasError(t,n){return!!this.getError(t,n)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t,n,r){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),(t||r)&&this._events.next(new $n(this.status,n)),this._parent&&this._parent._updateControlsErrors(t,n,r)}_initObservables(){this.valueChanges=new pe,this.statusChanges=new pe}_calculateStatus(){return this._allControlsDisabled()?Gr:this.errors?os:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Hn)?Hn:this._anyControlsHaveStatus(os)?os:Ur}_anyControlsHaveStatus(t){return this._anyControls(n=>n.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t,n){let r=!this._anyControlsDirty(),o=this.pristine!==r;this.pristine=r,t.onlySelf||this._parent?._updatePristine(t,n),o&&this._events.next(new Wr(this.pristine,n))}_updateTouched(t={},n){this.touched=this._anyControlsTouched(),this._events.next(new zr(this.touched,n)),t.onlySelf||this._parent?._updateTouched(t,n)}_onDisabledChange=[];_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){us(t)&&t.updateOn!=null&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!!this._parent?.dirty&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=c_(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=l_(this._rawAsyncValidators)}};var xh=new b("",{factory:()=>Cu}),Cu="always";function d_(e,t){return[...t.path,e]}function f_(e,t,n=Cu){h_(e,t),t.valueAccessor.writeValue(e.value),(e.disabled||n==="always")&&t.valueAccessor.setDisabledState?.(e.disabled),g_(e,t),y_(e,t),m_(e,t),p_(e,t)}function yh(e,t){e.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(t)})}function p_(e,t){if(t.valueAccessor.setDisabledState){let n=r=>{t.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(n),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(n)})}}function h_(e,t){let n=i_(e);t.validator!==null?e.setValidators(hh(n,t.validator)):typeof n=="function"&&e.setValidators([n]);let r=s_(e);t.asyncValidator!==null?e.setAsyncValidators(hh(r,t.asyncValidator)):typeof r=="function"&&e.setAsyncValidators([r]);let o=()=>e.updateValueAndValidity();yh(t._rawValidators,o),yh(t._rawAsyncValidators,o)}function g_(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,e.updateOn==="change"&&Fh(e,t)})}function m_(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,e.updateOn==="blur"&&e._pendingChange&&Fh(e,t),e.updateOn!=="submit"&&e.markAsTouched()})}function Fh(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function y_(e,t){let n=(r,o)=>{t.valueAccessor.writeValue(r),o&&t.viewToModelUpdate(r)};e.registerOnChange(n),t._registerOnDestroy(()=>{e._unregisterOnChange(n)})}function v_(e,t){if(!e.hasOwnProperty("model"))return!1;let n=e.model;return n.isFirstChange()?!0:!Object.is(t,n.currentValue)}function D_(e){return Object.getPrototypeOf(e.constructor)===Eu}function E_(e,t){if(!t)return null;Array.isArray(t);let n,r,o;return t.forEach(i=>{i.constructor===Ih?n=i:D_(i)?r=i:o=i}),o||r||n||null}function vh(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function Dh(e){return typeof e=="object"&&e!==null&&Object.keys(e).length===2&&"value"in e&&"disabled"in e}var C_=class extends Du{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(t=null,n,r){super(a_(n),u_(r,n)),this._applyFormState(t),this._setUpdateStrategy(n),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),us(n)&&(n.nonNullable||n.initialValueIsDefault)&&(Dh(t)?this.defaultValue=t.value:this.defaultValue=t)}setValue(t,n={}){this.value=this._pendingValue=t,this._onChange.length&&n.emitModelToViewChange!==!1&&this._onChange.forEach(r=>r(this.value,n.emitViewToModelChange!==!1)),this.updateValueAndValidity(n)}patchValue(t,n={}){this.setValue(t,n)}reset(t=this.defaultValue,n={}){this._applyFormState(t),this.markAsPristine(n),this.markAsUntouched(n),this.setValue(this.value,n),n.overwriteDefaultValue&&(this.defaultValue=this.value),this._pendingChange=!1,n?.emitEvent!==!1&&this._events.next(new vu(this))}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){vh(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){vh(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(t){Dh(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}};var __={provide:qr,useExisting:qe(()=>I_)},Eh=Promise.resolve(),I_=(()=>{class e extends qr{_changeDetectorRef;callSetDisabledState;control=new C_;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new pe;constructor(n,r,o,i,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this._parent=n,this._setValidators(r),this._setAsyncValidators(o),this.valueAccessor=E_(this,i)}ngOnChanges(n){if(this._checkForErrors(),!this._registered||"name"in n){if(this._registered&&(this._checkName(),this.formDirective)){let r=n.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in n&&this._updateDisabled(n),v_(n,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective?.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(n){this.viewModel=n,this.update.emit(n)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){f_(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._checkName()}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(n){Eh.then(()=>{this.control.setValue(n,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(n){let r=n.isDisabled.currentValue,o=r!==0&&Hp(r);Eh.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(n){return this._parent?d_(n,this._parent):[n]}static \u0275fac=function(r){return new(r||e)(A(mu,9),A(e_,10),A(t_,10),A(cs,10),A(Zi,8),A(xh,8))};static \u0275dir=ve({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],standalone:!1,features:[jn([__]),nt,Ri]})}return e})();var b_={provide:cs,useExisting:qe(()=>Oh),multi:!0};function Rh(e,t){return e==null?`${t}`:(t&&typeof t=="object"&&(t="Object"),`${e}: ${t}`.slice(0,50))}function w_(e){return e.split(":")[0]}var Oh=(()=>{class e extends Eu{value;_optionMap=new Map;_idCounter=0;set compareWith(n){this._compareWith=n}_compareWith=Object.is;appRefInjector=m(Pn).injector;destroyRef=m(et);cdr=m(Zi);_queuedWrite=!1;_writeValueAfterRender(){this._queuedWrite||this.appRefInjector.destroyed||(this._queuedWrite=!0,Oc({write:()=>{this.destroyRef.destroyed||(this._queuedWrite=!1,this.writeValue(this.value))}},{injector:this.appRefInjector}))}writeValue(n){this.cdr.markForCheck(),this.value=n;let r=this._getOptionId(n),o=Rh(r,n);this.setProperty("value",o)}registerOnChange(n){this.onChange=r=>{this.value=this._getOptionValue(r),n(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(n){for(let r of this._optionMap.keys())if(this._compareWith(this._optionMap.get(r),n))return r;return null}_getOptionValue(n){let r=w_(n);return this._optionMap.has(r)?this._optionMap.get(r):n}static \u0275fac=(()=>{let n;return function(o){return(n||(n=An(e)))(o||e)}})();static \u0275dir=ve({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(r,o){r&1&&Vn("change",function(s){return o.onChange(s.target.value)})("blur",function(){return o.onTouched()})},inputs:{compareWith:"compareWith"},standalone:!1,features:[jn([b_]),nt]})}return e})(),VP=(()=>{class e{_element;_renderer;_select;id;constructor(n,r,o){this._element=n,this._renderer=r,this._select=o,this._select&&(this.id=this._select._registerOption())}set ngValue(n){this._select!=null&&(this._select._optionMap.set(this.id,n),this._setElementValue(Rh(this.id,n)),this._select._writeValueAfterRender())}set value(n){this._setElementValue(n),this._select?._writeValueAfterRender()}_setElementValue(n){this._renderer.setProperty(this._element.nativeElement,"value",n)}ngOnDestroy(){this._select?._optionMap.delete(this.id),this._select?._writeValueAfterRender()}static \u0275fac=function(r){return new(r||e)(A(ae),A(Dt),A(Oh,9))};static \u0275dir=ve({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"},standalone:!1})}return e})(),M_={provide:cs,useExisting:qe(()=>kh),multi:!0};function Ch(e,t){return e==null?`${t}`:(typeof t=="string"&&(t=`'${t}'`),t&&typeof t=="object"&&(t="Object"),`${e}: ${t}`.slice(0,50))}function S_(e){return e.split(":")[0]}var kh=(()=>{class e extends Eu{value;_optionMap=new Map;_idCounter=0;set compareWith(n){this._compareWith=n}_compareWith=Object.is;writeValue(n){this.value=n;let r;if(Array.isArray(n)){let o=n.map(i=>this._getOptionId(i));r=(i,s)=>{i._setSelected(o.indexOf(s.toString())>-1)}}else r=(o,i)=>{o._setSelected(!1)};this._optionMap.forEach(r)}registerOnChange(n){this.onChange=r=>{let o=[],i=r.selectedOptions;if(i!==void 0){let s=i;for(let a=0;a<s.length;a++){let c=s[a],u=this._getOptionValue(c.value);o.push(u)}}else{let s=r.options;for(let a=0;a<s.length;a++){let c=s[a];if(c.selected){let u=this._getOptionValue(c.value);o.push(u)}}}this.value=o,n(o)}}_registerOption(n){let r=(this._idCounter++).toString();return this._optionMap.set(r,n),r}_getOptionId(n){for(let r of this._optionMap.keys())if(this._compareWith(this._optionMap.get(r)._value,n))return r;return null}_getOptionValue(n){let r=S_(n);return this._optionMap.has(r)?this._optionMap.get(r)._value:n}static \u0275fac=(()=>{let n;return function(o){return(n||(n=An(e)))(o||e)}})();static \u0275dir=ve({type:e,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(r,o){r&1&&Vn("change",function(s){return o.onChange(s.target)})("blur",function(){return o.onTouched()})},inputs:{compareWith:"compareWith"},standalone:!1,features:[jn([M_]),nt]})}return e})(),jP=(()=>{class e{_element;_renderer;_select;id;_value;constructor(n,r,o){this._element=n,this._renderer=r,this._select=o,this._select&&(this.id=this._select._registerOption(this))}set ngValue(n){this._select!=null&&(this._value=n,this._setElementValue(Ch(this.id,n)),this._select.writeValue(this._select.value))}set value(n){this._select?(this._value=n,this._setElementValue(Ch(this.id,n)),this._select.writeValue(this._select.value)):this._setElementValue(n)}_setElementValue(n){this._renderer.setProperty(this._element.nativeElement,"value",n)}_setSelected(n){this._renderer.setProperty(this._element.nativeElement,"selected",n)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static \u0275fac=function(r){return new(r||e)(A(ae),A(Dt),A(kh,9))};static \u0275dir=ve({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"},standalone:!1})}return e})();var T_=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Ar({type:e});static \u0275inj=ln({})}return e})();var BP=(()=>{class e{static withConfig(n){return{ngModule:e,providers:[{provide:xh,useValue:n.callSetDisabledState??Cu}]}}static \u0275fac=function(r){return new(r||e)};static \u0275mod=Ar({type:e});static \u0275inj=ln({imports:[T_]})}return e})();export{O as a,L as b,ne as c,Kh as d,N as e,fe as f,Yn as g,Qn as h,Le as i,cg as j,ug as k,lg as l,Kn as m,Ge as n,vg as o,Nt as p,Mo as q,Eg as r,Ss as s,tl as t,Cg as u,Ts as v,Ig as w,bg as x,wg as y,Mg as z,Sg as A,Tg as B,Ng as C,C as D,ko as E,P as F,Fg as G,b as H,K as I,m as J,$o as K,ra as L,ge as M,Go as N,Qo as O,Ko as P,Me as Q,Xe as R,et as S,$t as T,pe as U,Se as V,Ot as W,tt as X,am as Y,Dn as Z,Fa as _,um as $,Ri as aa,An as ba,ae as ca,Qm as da,Km as ea,nf as fa,Xm as ga,ey as ha,Wt as ia,ly as ja,wr as ka,yr as la,vr as ma,Fn as na,Cr as oa,Nr as pa,ap as qa,zc as ra,qc as sa,ve as ta,lp as ua,QD as va,kn as wa,vp as xa,Pn as ya,nE as za,rE as Aa,xr as Ba,Kc as Ca,Xc as Da,iE as Ea,sE as Fa,aE as Ga,Ip as Ha,Ai as Ia,eu as Ja,bp as Ka,Et as La,Ln as Ma,tu as Na,Mp as Oa,Vn as Pa,Rr as Qa,Gi as Ra,zi as Sa,Zt as Ta,Or as Ua,Np as Va,kr as Wa,Ap as Xa,xp as Ya,HE as Za,UE as _a,GE as $a,WE as ab,rt as bb,Pr as cb,GO as db,Zi as eb,zO as fb,Yt as gb,hC as hb,su as ib,Yi as jb,qp as kb,BC as lb,$C as mb,UC as nb,zC as ob,hu as pb,uP as qb,ph as rb,Ih as sb,PP as tb,I_ as ub,Oh as vb,VP as wb,jP as xb,BP as yb};
|