@signalk/freeboard-sk 3.0.0 → 3.1.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/public/assets/features/chart-list-1.jpg +0 -0
- package/public/assets/features/chart-list-2.jpg +0 -0
- package/public/assets/features/chart-list-3.jpg +0 -0
- package/public/assets/features/cursor-eta-1.jpg +0 -0
- package/public/assets/features/follow-vessel-1.jpg +0 -0
- package/public/assets/features/follow-vessel-2.jpg +0 -0
- package/public/assets/features/radar-overlay-1.jpg +0 -0
- package/public/assets/features/route-planning-2.jpg +0 -0
- package/public/assets/features/unit-preferences-1.jpg +0 -0
- package/public/assets/features-corpus.json +1 -1
- package/public/assets/help/index.html +119 -43
- package/public/{chunk-WX7YZB5N.js → chunk-2BXQ52IR.js} +1 -1
- package/public/{chunk-3CRIFTHA.js → chunk-3QUJEXF6.js} +1 -1
- package/public/{chunk-4ORQORV3.js → chunk-3XWX2TLZ.js} +1 -1
- package/public/{chunk-ZTLTHAPK.js → chunk-4WI4C4IN.js} +1 -1
- package/public/chunk-544H55DG.js +4147 -0
- package/public/chunk-6234UKZR.js +181 -0
- package/public/{chunk-IYNTZMNB.js → chunk-66UI7RYU.js} +1 -1
- package/public/{chunk-GGSNNB7Z.js → chunk-A3CJKHA5.js} +1 -1
- package/public/chunk-A6XRZETP.js +1 -0
- package/public/{chunk-ZNBGUBXU.js → chunk-B3R34QHD.js} +1 -1
- package/public/{chunk-I3OUN6B4.js → chunk-DSS236J5.js} +1 -1
- package/public/{chunk-LXTM3LEN.js → chunk-EJ5G7BX7.js} +1 -1
- package/public/{chunk-XHEJEIFO.js → chunk-HYKTIWCS.js} +1 -1
- package/public/chunk-MQJQLOEZ.js +3 -0
- package/public/{chunk-4BSA3TDQ.js → chunk-P5GLUSCN.js} +16 -16
- package/public/{chunk-4BXCQ655.js → chunk-R7KV75Y6.js} +1 -1
- package/public/chunk-SABJ7SCZ.js +1 -0
- package/public/{chunk-IURS3QQO.js → chunk-SYVLSUHP.js} +1 -1
- package/public/chunk-TKJL2HJ5.js +1 -0
- package/public/chunk-VBEF2AKC.js +1 -0
- package/public/chunk-WXAH4SWA.js +1 -0
- package/public/{chunk-UF7LOYCE.js → chunk-XB3A3UP3.js} +1 -1
- package/public/{chunk-BUZHYJBN.js → chunk-XZDYMRQ4.js} +1 -1
- package/public/index.html +1 -1
- package/public/main-S4SGVPDE.js +466 -0
- package/public/chunk-BJM4SVXD.js +0 -3
- package/public/chunk-BT4IAQBW.js +0 -181
- package/public/chunk-BW2ETQQP.js +0 -1
- package/public/chunk-CATOWZ7J.js +0 -1
- package/public/chunk-HF67WER7.js +0 -1
- package/public/chunk-OTJKIGKW.js +0 -4147
- package/public/chunk-OXZNIUU4.js +0 -1
- package/public/chunk-ZUWZA665.js +0 -1
- package/public/main-GWT4XTZZ.js +0 -466
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import{a as E,b as U,f as vn}from"./chunk-EQVTEUXC.js";var Ne=null,
|
|
1
|
+
import{a as E,b as U,f as vn}from"./chunk-EQVTEUXC.js";var Ne=null,Ys=!1,iu=1,iC=null,he=Symbol("SIGNAL");function S(e){let n=Ne;return Ne=e,n}function Zs(){return Ne}var yn={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 _n(e){if(Ys)throw new Error("");if(Ne===null)return;Ne.consumerOnSignalRead(e);let n=Ne.producersTail;if(n!==void 0&&n.producer===e)return;let t,r=Ne.recomputing;if(r&&(t=n!==void 0?n.nextProducer:Ne.producers,t!==void 0&&t.producer===e)){Ne.producersTail=t,t.lastReadVersion=e.version;return}let o=e.consumersTail;if(o!==void 0&&o.consumer===Ne&&(!r||aC(o,Ne)))return;let i=Zr(Ne),s={producer:e,consumer:Ne,nextProducer:t,prevConsumer:o,lastReadVersion:e.version,nextConsumer:void 0};Ne.producersTail=s,n!==void 0?n.nextProducer=s:Ne.producers=s,i&&em(e,s)}function Xp(){iu++}function nr(e){if(!(Zr(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===iu)){if(!e.producerMustRecompute(e)&&!Yr(e)){qr(e);return}e.producerRecomputeValue(e),qr(e)}}function su(e){if(e.consumers===void 0)return;let n=Ys;Ys=!0;try{for(let t=e.consumers;t!==void 0;t=t.nextConsumer){let r=t.consumer;r.dirty||sC(r)}}finally{Ys=n}}function au(){return Ne?.consumerAllowSignalWrites!==!1}function sC(e){e.dirty=!0,su(e),e.consumerMarkedDirty?.(e)}function qr(e){e.dirty=!1,e.lastCleanEpoch=iu}function Yt(e){return e&&Qp(e),S(e)}function Qp(e){e.producersTail=void 0,e.recomputing=!0}function bn(e,n){S(n),e&&Jp(e)}function Jp(e){e.recomputing=!1;let n=e.producersTail,t=n!==void 0?n.nextProducer:e.producers;if(t!==void 0){if(Zr(e))do t=cu(t);while(t!==void 0);n!==void 0?n.nextProducer=void 0:e.producers=void 0}}function Yr(e){for(let n=e.producers;n!==void 0;n=n.nextProducer){let t=n.producer,r=n.lastReadVersion;if(r!==t.version||(nr(t),r!==t.version))return!0}return!1}function Dn(e){if(Zr(e)){let n=e.producers;for(;n!==void 0;)n=cu(n)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function em(e,n){let t=e.consumersTail,r=Zr(e);if(t!==void 0?(n.nextConsumer=t.nextConsumer,t.nextConsumer=n):(n.nextConsumer=void 0,e.consumers=n),n.prevConsumer=t,e.consumersTail=n,!r)for(let o=e.producers;o!==void 0;o=o.nextProducer)em(o.producer,o)}function cu(e){let n=e.producer,t=e.nextProducer,r=e.nextConsumer,o=e.prevConsumer;if(e.nextConsumer=void 0,e.prevConsumer=void 0,r!==void 0?r.prevConsumer=o:n.consumersTail=o,o!==void 0)o.nextConsumer=r;else if(n.consumers=r,!Zr(n)){let i=n.producers;for(;i!==void 0;)i=cu(i)}return t}function Zr(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function ai(e){iC?.(e)}function aC(e,n){let t=n.producersTail;if(t!==void 0){let r=n.producers;do{if(r===e)return!0;if(r===t)break;r=r.nextProducer}while(r!==void 0)}return!1}function ci(e,n){return Object.is(e,n)}function li(e,n){let t=Object.create(cC);t.computation=e,n!==void 0&&(t.equal=n);let r=()=>{if(nr(t),_n(t),t.value===Lt)throw t.error;return t.value};return r[he]=t,ai(t),r}var er=Symbol("UNSET"),tr=Symbol("COMPUTING"),Lt=Symbol("ERRORED"),cC=U(E({},yn),{value:er,dirty:!0,error:null,equal:ci,kind:"computed",producerMustRecompute(e){return e.value===er||e.value===tr},producerRecomputeValue(e){if(e.value===tr)throw new Error("");let n=e.value;e.value=tr;let t=Yt(e),r,o=!1;try{r=e.computation(),S(null),o=n!==er&&n!==Lt&&r!==Lt&&e.equal(n,r)}catch(i){r=Lt,e.error=i}finally{bn(e,t)}if(o){e.value=n;return}e.value=r,e.version++}});function lC(){throw new Error}var tm=lC;function nm(e){tm(e)}function lu(e){tm=e}var uC=null;function uu(e,n){let t=Object.create(ui);t.value=e,n!==void 0&&(t.equal=n);let r=()=>rm(t);return r[he]=t,ai(t),[r,s=>rr(t,s),s=>Ks(t,s)]}function rm(e){return _n(e),e.value}function rr(e,n){au()||nm(e),e.equal(e.value,n)||(e.value=n,dC(e))}function Ks(e,n){au()||nm(e),rr(e,n(e.value))}var ui=U(E({},yn),{equal:ci,value:void 0,kind:"signal"});function dC(e){e.version++,Xp(),su(e),uC?.(e)}var du=U(E({},yn),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"});function fu(e){if(e.dirty=!1,e.version>0&&!Yr(e))return;e.version++;let n=Yt(e);try{e.cleanup(),e.fn()}finally{bn(e,n)}}function F(e){return typeof e=="function"}function Kr(e){let t=e(r=>{Error.call(r),r.stack=new Error().stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}var Xs=Kr(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:
|
|
2
2
|
${t.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
|
|
3
|
-
`)}`:"",this.name="UnsubscriptionError",this.errors=t});function or(e,n){if(e){let t=e.indexOf(n);0<=t&&e.splice(t,1)}}var B=class e{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;let{_parentage:t}=this;if(t)if(this._parentage=null,Array.isArray(t))for(let i of t)i.remove(this);else t.remove(this);let{initialTeardown:r}=this;if(F(r))try{r()}catch(i){n=i instanceof Qs?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{sm(i)}catch(s){n=n??[],s instanceof Qs?n=[...n,...s.errors]:n.push(s)}}if(n)throw new Qs(n)}}add(n){var t;if(n&&n!==this)if(this.closed)sm(n);else{if(n instanceof e){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=(t=this._finalizers)!==null&&t!==void 0?t:[]).push(n)}}_hasParent(n){let{_parentage:t}=this;return t===n||Array.isArray(t)&&t.includes(n)}_addParent(n){let{_parentage:t}=this;this._parentage=Array.isArray(t)?(t.push(n),t):t?[t,n]:n}_removeParent(n){let{_parentage:t}=this;t===n?this._parentage=null:Array.isArray(t)&&or(t,n)}remove(n){let{_finalizers:t}=this;t&&or(t,n),n instanceof e&&n._removeParent(this)}};B.EMPTY=(()=>{let e=new B;return e.closed=!0,e})();var mu=B.EMPTY;function Js(e){return e instanceof B||e&&"closed"in e&&F(e.remove)&&F(e.add)&&F(e.unsubscribe)}function sm(e){F(e)?e():e.unsubscribe()}var _t={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Xr={setTimeout(e,n,...t){let{delegate:r}=Xr;return r?.setTimeout?r.setTimeout(e,n,...t):setTimeout(e,n,...t)},clearTimeout(e){let{delegate:n}=Xr;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function ea(e){Xr.setTimeout(()=>{let{onUnhandledError:n}=_t;if(n)n(e);else throw e})}function di(){}var am=gu("C",void 0,void 0);function cm(e){return gu("E",void 0,e)}function lm(e){return gu("N",e,void 0)}function gu(e,n,t){return{kind:e,value:n,error:t}}var ir=null;function Qr(e){if(_t.useDeprecatedSynchronousErrorHandling){let n=!ir;if(n&&(ir={errorThrown:!1,error:null}),e(),n){let{errorThrown:t,error:r}=ir;if(ir=null,t)throw r}}else e()}function um(e){_t.useDeprecatedSynchronousErrorHandling&&ir&&(ir.errorThrown=!0,ir.error=e)}var sr=class extends B{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,Js(n)&&n.add(this)):this.destination=_C}static create(n,t,r){return new bt(n,t,r)}next(n){this.isStopped?yu(lm(n),this):this._next(n)}error(n){this.isStopped?yu(cm(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?yu(am,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},vC=Function.prototype.bind;function vu(e,n){return vC.call(e,n)}var _u=class{constructor(n){this.partialObserver=n}next(n){let{partialObserver:t}=this;if(t.next)try{t.next(n)}catch(r){ta(r)}}error(n){let{partialObserver:t}=this;if(t.error)try{t.error(n)}catch(r){ta(r)}else ta(n)}complete(){let{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(t){ta(t)}}},bt=class extends sr{constructor(n,t,r){super();let o;if(F(n)||!n)o={next:n??void 0,error:t??void 0,complete:r??void 0};else{let i;this&&_t.useDeprecatedNextContext?(i=Object.create(n),i.unsubscribe=()=>this.unsubscribe(),o={next:n.next&&vu(n.next,i),error:n.error&&vu(n.error,i),complete:n.complete&&vu(n.complete,i)}):o=n}this.destination=new _u(o)}};function ta(e){_t.useDeprecatedSynchronousErrorHandling?um(e):ea(e)}function yC(e){throw e}function yu(e,n){let{onStoppedNotification:t}=_t;t&&Xr.setTimeout(()=>t(e,n))}var _C={closed:!0,next:di,error:yC,complete:di};var Jr=typeof Symbol=="function"&&Symbol.observable||"@@observable";function Dt(e){return e}function dm(e){return e.length===0?Dt:e.length===1?e[0]:function(t){return e.reduce((r,o)=>o(r),t)}}var R=(()=>{class e{constructor(t){t&&(this._subscribe=t)}lift(t){let r=new e;return r.source=this,r.operator=t,r}subscribe(t,r,o){let i=DC(t)?t:new bt(t,r,o);return Qr(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(t){try{return this._subscribe(t)}catch(r){t.error(r)}}forEach(t,r){return r=fm(r),new r((o,i)=>{let s=new bt({next:a=>{try{t(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(t){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(t)}[Jr](){return this}pipe(...t){return dm(t)(this)}toPromise(t){return t=fm(t),new t((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=n=>new e(n),e})();function fm(e){var n;return(n=e??_t.Promise)!==null&&n!==void 0?n:Promise}function bC(e){return e&&F(e.next)&&F(e.error)&&F(e.complete)}function DC(e){return e&&e instanceof sr||bC(e)&&Js(e)}function bu(e){return F(e?.lift)}function L(e){return n=>{if(bu(n))return n.lift(function(t){try{return e(t,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function P(e,n,t,r,o){return new fi(e,n,t,r,o)}var fi=class extends sr{constructor(n,t,r,o,i,s){super(n),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=t?function(a){try{t(a)}catch(c){n.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){n.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:t}=this;super.unsubscribe(),!t&&((n=this.onFinalize)===null||n===void 0||n.call(this))}}};function hm(){return L((e,n)=>{let t=null;e._refCount++;let r=P(n,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){t=null;return}let o=e._connection,i=t;t=null,o&&(!i||o===i)&&o.unsubscribe(),n.unsubscribe()});e.subscribe(r),r.closed||(t=e.connect())})}var hi=class extends R{constructor(n,t){super(),this.source=n,this.subjectFactory=t,this._subject=null,this._refCount=0,this._connection=null,bu(n)&&(this.lift=n.lift)}_subscribe(n){return this.getSubject().subscribe(n)}getSubject(){let n=this._subject;return(!n||n.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:n}=this;this._subject=this._connection=null,n?.unsubscribe()}connect(){let n=this._connection;if(!n){n=this._connection=new B;let t=this.getSubject();n.add(this.source.subscribe(P(t,void 0,()=>{this._teardown(),t.complete()},r=>{this._teardown(),t.error(r)},()=>this._teardown()))),n.closed&&(this._connection=null,n=B.EMPTY)}return n}refCount(){return hm()(this)}};var eo={schedule(e){let n=requestAnimationFrame,t=cancelAnimationFrame,{delegate:r}=eo;r&&(n=r.requestAnimationFrame,t=r.cancelAnimationFrame);let o=n(i=>{t=void 0,e(i)});return new B(()=>t?.(o))},requestAnimationFrame(...e){let{delegate:n}=eo;return(n?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){let{delegate:n}=eo;return(n?.cancelAnimationFrame||cancelAnimationFrame)(...e)},delegate:void 0};var pm=Kr(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var C=(()=>{class e extends R{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){let r=new na(this,this);return r.operator=t,r}_throwIfClosed(){if(this.closed)throw new pm}next(t){Qr(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(t)}})}error(t){Qr(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;let{observers:r}=this;for(;r.length;)r.shift().error(t)}})}complete(){Qr(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:t}=this;for(;t.length;)t.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var t;return((t=this.observers)===null||t===void 0?void 0:t.length)>0}_trySubscribe(t){return this._throwIfClosed(),super._trySubscribe(t)}_subscribe(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)}_innerSubscribe(t){let{hasError:r,isStopped:o,observers:i}=this;return r||o?mu:(this.currentObservers=null,i.push(t),new B(()=>{this.currentObservers=null,or(i,t)}))}_checkFinalizedStatuses(t){let{hasError:r,thrownError:o,isStopped:i}=this;r?t.error(o):i&&t.complete()}asObservable(){let t=new R;return t.source=this,t}}return e.create=(n,t)=>new na(n,t),e})(),na=class extends C{constructor(n,t){super(),this.destination=n,this.source=t}next(n){var t,r;(r=(t=this.destination)===null||t===void 0?void 0:t.next)===null||r===void 0||r.call(t,n)}error(n){var t,r;(r=(t=this.destination)===null||t===void 0?void 0:t.error)===null||r===void 0||r.call(t,n)}complete(){var n,t;(t=(n=this.destination)===null||n===void 0?void 0:n.complete)===null||t===void 0||t.call(n)}_subscribe(n){var t,r;return(r=(t=this.source)===null||t===void 0?void 0:t.subscribe(n))!==null&&r!==void 0?r:mu}};var ar=class extends C{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){let t=super._subscribe(n);return!t.closed&&n.next(this._value),t}getValue(){let{hasError:n,thrownError:t,_value:r}=this;if(n)throw t;return this._throwIfClosed(),r}next(n){super.next(this._value=n)}};var pi={now(){return(pi.delegate||Date).now()},delegate:void 0};var En=class extends C{constructor(n=1/0,t=1/0,r=pi){super(),this._bufferSize=n,this._windowTime=t,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=t===1/0,this._bufferSize=Math.max(1,n),this._windowTime=Math.max(1,t)}next(n){let{isStopped:t,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;t||(r.push(n),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(n)}_subscribe(n){this._throwIfClosed(),this._trimBuffer();let t=this._innerSubscribe(n),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!n.closed;s+=r?1:2)n.next(i[s]);return this._checkFinalizedStatuses(n),t}_trimBuffer(){let{_bufferSize:n,_timestampProvider:t,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*n;if(n<1/0&&i<r.length&&r.splice(0,r.length-i),!o){let s=t.now(),a=0;for(let c=1;c<r.length&&r[c]<=s;c+=2)a=c;a&&r.splice(0,a+1)}}};var Du=class extends C{constructor(){super(...arguments),this._value=null,this._hasValue=!1,this._isComplete=!1}_checkFinalizedStatuses(n){let{hasError:t,_hasValue:r,_value:o,thrownError:i,isStopped:s,_isComplete:a}=this;t?n.error(i):(s||a)&&(r&&n.next(o),n.complete())}next(n){this.isStopped||(this._value=n,this._hasValue=!0)}complete(){let{_hasValue:n,_value:t,_isComplete:r}=this;r||(this._isComplete=!0,n&&super.next(t),super.complete())}};var ra=class extends B{constructor(n,t){super()}schedule(n,t=0){return this}};var mi={setInterval(e,n,...t){let{delegate:r}=mi;return r?.setInterval?r.setInterval(e,n,...t):setInterval(e,n,...t)},clearInterval(e){let{delegate:n}=mi;return(n?.clearInterval||clearInterval)(e)},delegate:void 0};var Cn=class extends ra{constructor(n,t){super(n,t),this.scheduler=n,this.work=t,this.pending=!1}schedule(n,t=0){var r;if(this.closed)return this;this.state=n;let o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,t)),this.pending=!0,this.delay=t,this.id=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(i,this.id,t),this}requestAsyncId(n,t,r=0){return mi.setInterval(n.flush.bind(n,this),r)}recycleAsyncId(n,t,r=0){if(r!=null&&this.delay===r&&this.pending===!1)return t;t!=null&&mi.clearInterval(t)}execute(n,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(n,t);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(n,t){let r=!1,o;try{this.work(n)}catch(i){r=!0,o=i||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){let{id:n,scheduler:t}=this,{actions:r}=t;this.work=this.state=this.scheduler=null,this.pending=!1,or(r,this),n!=null&&(this.id=this.recycleAsyncId(t,n,null)),this.delay=null,super.unsubscribe()}}};var EC=1,Eu,Cu={};function mm(e){return e in Cu?(delete Cu[e],!0):!1}var gm={setImmediate(e){let n=EC++;return Cu[n]=!0,Eu||(Eu=Promise.resolve()),Eu.then(()=>mm(n)&&e()),n},clearImmediate(e){mm(e)}};var{setImmediate:CC,clearImmediate:wC}=gm,gi={setImmediate(...e){let{delegate:n}=gi;return(n?.setImmediate||CC)(...e)},clearImmediate(e){let{delegate:n}=gi;return(n?.clearImmediate||wC)(e)},delegate:void 0};var oa=class extends Cn{constructor(n,t){super(n,t),this.scheduler=n,this.work=t}requestAsyncId(n,t,r=0){return r!==null&&r>0?super.requestAsyncId(n,t,r):(n.actions.push(this),n._scheduled||(n._scheduled=gi.setImmediate(n.flush.bind(n,void 0))))}recycleAsyncId(n,t,r=0){var o;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(n,t,r);let{actions:i}=n;t!=null&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==t&&(gi.clearImmediate(t),n._scheduled===t&&(n._scheduled=void 0))}};var to=class e{constructor(n,t=e.now){this.schedulerActionCtor=n,this.now=t}schedule(n,t=0,r){return new this.schedulerActionCtor(this,n).schedule(r,t)}};to.now=pi.now;var wn=class extends to{constructor(n,t=to.now){super(n,t),this.actions=[],this._active=!1}flush(n){let{actions:t}=this;if(this._active){t.push(n);return}let r;this._active=!0;do if(r=n.execute(n.state,n.delay))break;while(n=t.shift());if(this._active=!1,r){for(;n=t.shift();)n.unsubscribe();throw r}}};var ia=class extends wn{flush(n){this._active=!0;let t=this._scheduled;this._scheduled=void 0;let{actions:r}=this,o;n=n||r.shift();do if(o=n.execute(n.state,n.delay))break;while((n=r[0])&&n.id===t&&r.shift());if(this._active=!1,o){for(;(n=r[0])&&n.id===t&&r.shift();)n.unsubscribe();throw o}}};var wu=new ia(oa);var cr=new wn(Cn),vm=cr;var sa=class extends Cn{constructor(n,t){super(n,t),this.scheduler=n,this.work=t}requestAsyncId(n,t,r=0){return r!==null&&r>0?super.requestAsyncId(n,t,r):(n.actions.push(this),n._scheduled||(n._scheduled=eo.requestAnimationFrame(()=>n.flush(void 0))))}recycleAsyncId(n,t,r=0){var o;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(n,t,r);let{actions:i}=n;t!=null&&t===n._scheduled&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==t&&(eo.cancelAnimationFrame(t),n._scheduled=void 0)}};var aa=class extends wn{flush(n){this._active=!0;let t;n?t=n.id:(t=this._scheduled,this._scheduled=void 0);let{actions:r}=this,o;n=n||r.shift();do if(o=n.execute(n.state,n.delay))break;while((n=r[0])&&n.id===t&&r.shift());if(this._active=!1,o){for(;(n=r[0])&&n.id===t&&r.shift();)n.unsubscribe();throw o}}};var Iu=new aa(sa);var vi=new R(e=>e.complete());function ca(e){return e&&F(e.schedule)}function Su(e){return e[e.length-1]}function la(e){return F(Su(e))?e.pop():void 0}function Vt(e){return ca(Su(e))?e.pop():void 0}function ym(e,n){return typeof Su(e)=="number"?e.pop():n}function bm(e,n,t,r){function o(i){return i instanceof t?i:new t(function(s){s(i)})}return new(t||(t=Promise))(function(i,s){function a(u){try{l(r.next(u))}catch(d){s(d)}}function c(u){try{l(r.throw(u))}catch(d){s(d)}}function l(u){u.done?i(u.value):o(u.value).then(a,c)}l((r=r.apply(e,n||[])).next())})}function _m(e){var n=typeof Symbol=="function"&&Symbol.iterator,t=n&&e[n],r=0;if(t)return t.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(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function lr(e){return this instanceof lr?(this.v=e,this):new lr(e)}function Dm(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=t.apply(e,n||[]),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(p){return function(m){return Promise.resolve(m).then(p,d)}}function a(p,m){r[p]&&(o[p]=function(v){return new Promise(function(_,D){i.push([p,v,_,D])>1||c(p,v)})},m&&(o[p]=m(o[p])))}function c(p,m){try{l(r[p](m))}catch(v){h(i[0][3],v)}}function l(p){p.value instanceof lr?Promise.resolve(p.value.v).then(u,d):h(i[0][2],p)}function u(p){c("next",p)}function d(p){c("throw",p)}function h(p,m){p(m),i.shift(),i.length&&c(i[0][0],i[0][1])}}function Em(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=e[Symbol.asyncIterator],t;return n?n.call(e):(e=typeof _m=="function"?_m(e):e[Symbol.iterator](),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(i){t[i]=e[i]&&function(s){return new Promise(function(a,c){s=e[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(l){i({value:l,done:a})},s)}}var ua=e=>e&&typeof e.length=="number"&&typeof e!="function";function da(e){return F(e?.then)}function fa(e){return F(e[Jr])}function ha(e){return Symbol.asyncIterator&&F(e?.[Symbol.asyncIterator])}function pa(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 IC(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var ma=IC();function ga(e){return F(e?.[ma])}function va(e){return Dm(this,arguments,function*(){let t=e.getReader();try{for(;;){let{value:r,done:o}=yield lr(t.read());if(o)return yield lr(void 0);yield yield lr(r)}}finally{t.releaseLock()}})}function ya(e){return F(e?.getReader)}function J(e){if(e instanceof R)return e;if(e!=null){if(fa(e))return SC(e);if(ua(e))return MC(e);if(da(e))return TC(e);if(ha(e))return Cm(e);if(ga(e))return AC(e);if(ya(e))return xC(e)}throw pa(e)}function SC(e){return new R(n=>{let t=e[Jr]();if(F(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function MC(e){return new R(n=>{for(let t=0;t<e.length&&!n.closed;t++)n.next(e[t]);n.complete()})}function TC(e){return new R(n=>{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,ea)})}function AC(e){return new R(n=>{for(let t of e)if(n.next(t),n.closed)return;n.complete()})}function Cm(e){return new R(n=>{NC(e,n).catch(t=>n.error(t))})}function xC(e){return Cm(va(e))}function NC(e,n){var t,r,o,i;return bm(this,void 0,void 0,function*(){try{for(t=Em(e);r=yield t.next(),!r.done;){let s=r.value;if(n.next(s),n.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=t.return)&&(yield i.call(t))}finally{if(o)throw o.error}}n.complete()})}function We(e,n,t,r=0,o=!1){let i=n.schedule(function(){t(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function _a(e,n=0){return L((t,r)=>{t.subscribe(P(r,o=>We(r,e,()=>r.next(o),n),()=>We(r,e,()=>r.complete(),n),o=>We(r,e,()=>r.error(o),n)))})}function ba(e,n=0){return L((t,r)=>{r.add(e.schedule(()=>t.subscribe(r),n))})}function wm(e,n){return J(e).pipe(ba(n),_a(n))}function Im(e,n){return J(e).pipe(ba(n),_a(n))}function Sm(e,n){return new R(t=>{let r=0;return n.schedule(function(){r===e.length?t.complete():(t.next(e[r++]),t.closed||this.schedule())})})}function Mm(e,n){return new R(t=>{let r;return We(t,n,()=>{r=e[ma](),We(t,n,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){t.error(s);return}i?t.complete():t.next(o)},0,!0)}),()=>F(r?.return)&&r.return()})}function Da(e,n){if(!e)throw new Error("Iterable cannot be null");return new R(t=>{We(t,n,()=>{let r=e[Symbol.asyncIterator]();We(t,n,()=>{r.next().then(o=>{o.done?t.complete():t.next(o.value)})},0,!0)})})}function Tm(e,n){return Da(va(e),n)}function Am(e,n){if(e!=null){if(fa(e))return wm(e,n);if(ua(e))return Sm(e,n);if(da(e))return Im(e,n);if(ha(e))return Da(e,n);if(ga(e))return Mm(e,n);if(ya(e))return Tm(e,n)}throw pa(e)}function at(e,n){return n?Am(e,n):J(e)}function pe(...e){let n=Vt(e);return at(e,n)}function Mu(e,n){let t=F(e)?e:()=>e,r=o=>o.error(t());return new R(n?o=>n.schedule(r,0,o):r)}function Zt(e){return!!e&&(e instanceof R||F(e.lift)&&F(e.subscribe))}var xm=Kr(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function RC(e,n){let t=typeof n=="object";return new Promise((r,o)=>{let i=new bt({next:s=>{r(s),i.unsubscribe()},error:o,complete:()=>{t?r(n.defaultValue):o(new xm)}});e.subscribe(i)})}function Nm(e){return e instanceof Date&&!isNaN(e)}function X(e,n){return L((t,r)=>{let o=0;t.subscribe(P(r,i=>{r.next(e.call(n,i,o++))}))})}var{isArray:OC}=Array;function kC(e,n){return OC(n)?e(...n):e(n)}function Ea(e){return X(n=>kC(e,n))}var{isArray:FC}=Array,{getPrototypeOf:PC,prototype:LC,keys:VC}=Object;function Ca(e){if(e.length===1){let n=e[0];if(FC(n))return{args:n,keys:null};if(jC(n)){let t=VC(n);return{args:t.map(r=>n[r]),keys:t}}}return{args:e,keys:null}}function jC(e){return e&&typeof e=="object"&&PC(e)===LC}function wa(e,n){return e.reduce((t,r,o)=>(t[r]=n[o],t),{})}function Tu(...e){let n=Vt(e),t=la(e),{args:r,keys:o}=Ca(e);if(r.length===0)return at([],n);let i=new R(BC(r,n,o?s=>wa(o,s):Dt));return t?i.pipe(Ea(t)):i}function BC(e,n,t=Dt){return r=>{Rm(n,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)Rm(n,()=>{let l=at(e[c],n),u=!1;l.subscribe(P(r,d=>{i[c]=d,u||(u=!0,a--),a||r.next(t(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Rm(e,n,t){e?We(t,e,n):n()}function Om(e,n,t,r,o,i,s,a){let c=[],l=0,u=0,d=!1,h=()=>{d&&!c.length&&!l&&n.complete()},p=v=>l<r?m(v):c.push(v),m=v=>{i&&n.next(v),l++;let _=!1;J(t(v,u++)).subscribe(P(n,D=>{o?.(D),i?p(D):n.next(D)},()=>{_=!0},void 0,()=>{if(_)try{for(l--;c.length&&l<r;){let D=c.shift();s?We(n,s,()=>m(D)):m(D)}h()}catch(D){n.error(D)}}))};return e.subscribe(P(n,p,()=>{d=!0,h()})),()=>{a?.()}}function no(e,n,t=1/0){return F(n)?no((r,o)=>X((i,s)=>n(r,i,o,s))(J(e(r,o))),t):(typeof n=="number"&&(t=n),L((r,o)=>Om(r,o,e,t)))}function Ia(e=1/0){return no(Dt,e)}function km(){return Ia(1)}function ro(...e){return km()(at(e,Vt(e)))}function yi(e){return new R(n=>{J(e()).subscribe(n)})}function _i(...e){let n=la(e),{args:t,keys:r}=Ca(e),o=new R(i=>{let{length:s}=t;if(!s){i.complete();return}let a=new Array(s),c=s,l=s;for(let u=0;u<s;u++){let d=!1;J(t[u]).subscribe(P(i,h=>{d||(d=!0,l--),a[u]=h},()=>c--,void 0,()=>{(!c||!d)&&(l||i.next(r?wa(r,a):a),i.complete())}))}});return n?o.pipe(Ea(n)):o}function bi(e=0,n,t=vm){let r=-1;return n!=null&&(ca(n)?t=n:r=n),new R(o=>{let i=Nm(e)?+e-t.now():e;i<0&&(i=0);let s=0;return t.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}function HC(e=0,n=cr){return e<0&&(e=0),bi(e,e,n)}function Au(...e){let n=Vt(e),t=ym(e,1/0),r=e;return r.length?r.length===1?J(r[0]):Ia(t)(at(r,n)):vi}function Ce(e,n){return L((t,r)=>{let o=0;t.subscribe(P(r,i=>e.call(n,i,o++)&&r.next(i)))})}function Fm(e){return L((n,t)=>{let r=!1,o=null,i=null,s=!1,a=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let l=o;o=null,t.next(l)}s&&t.complete()},c=()=>{i=null,s&&t.complete()};n.subscribe(P(t,l=>{r=!0,o=l,i||J(e(l)).subscribe(i=P(t,a,c))},()=>{s=!0,(!r||!i||i.closed)&&t.complete()}))})}function oo(e,n=cr){return Fm(()=>bi(e,n))}function Di(e){return L((n,t)=>{let r=null,o=!1,i;r=n.subscribe(P(t,void 0,void 0,s=>{i=J(e(s,Di(e)(n))),r?(r.unsubscribe(),r=null,i.subscribe(t)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(t))})}function Pm(e,n,t,r,o){return(i,s)=>{let a=t,c=n,l=0;i.subscribe(P(s,u=>{let d=l++;c=a?e(c,u,d):(a=!0,u),r&&s.next(c)},o&&(()=>{a&&s.next(c),s.complete()})))}}function UC(e,n){return L(Pm(e,n,arguments.length>=2,!1,!0))}function xu(e,n){return F(n)?no(e,n,1):no(e,1)}function In(e,n=cr){return L((t,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let l=i;i=null,r.next(l)}};function c(){let l=s+e,u=n.now();if(u<l){o=this.schedule(void 0,l-u),r.add(o);return}a()}t.subscribe(P(r,l=>{i=l,s=n.now(),o||(o=n.schedule(c,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function qe(e){return e<=0?()=>vi:L((n,t)=>{let r=0;n.subscribe(P(t,o=>{++r<=e&&(t.next(o),e<=r&&t.complete())}))})}function $C(e){return X(()=>e)}function ur(e,n=Dt){return e=e??zC,L((t,r)=>{let o,i=!0;t.subscribe(P(r,s=>{let a=n(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function zC(e,n){return e===n}function io(e){return L((n,t)=>{try{n.subscribe(t)}finally{t.add(e)}})}function GC(e,n,t,r){return L((o,i)=>{let s;!n||typeof n=="function"?s=n:{duration:t,element:s,connector:r}=n;let a=new Map,c=m=>{a.forEach(m),m(i)},l=m=>c(v=>v.error(m)),u=0,d=!1,h=new fi(i,m=>{try{let v=e(m),_=a.get(v);if(!_){a.set(v,_=r?r():new C);let D=p(v,_);if(i.next(D),t){let k=P(_,()=>{_.complete(),k?.unsubscribe()},void 0,void 0,()=>a.delete(v));h.add(J(t(D)).subscribe(k))}}_.next(s?s(m):m)}catch(v){l(v)}},()=>c(m=>m.complete()),l,()=>a.clear(),()=>(d=!0,u===0));o.subscribe(h);function p(m,v){let _=new R(D=>{u++;let k=v.subscribe(D);return()=>{k.unsubscribe(),--u===0&&d&&h.unsubscribe()}});return _.key=m,_}})}function Nu(){return L((e,n)=>{let t,r=!1;e.subscribe(P(n,o=>{let i=t;t=o,r&&n.next([i,o]),r=!0}))})}function Ei(e={}){let{connector:n=()=>new C,resetOnError:t=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,c,l=0,u=!1,d=!1,h=()=>{a?.unsubscribe(),a=void 0},p=()=>{h(),s=c=void 0,u=d=!1},m=()=>{let v=s;p(),v?.unsubscribe()};return L((v,_)=>{l++,!d&&!u&&h();let D=c=c??n();_.add(()=>{l--,l===0&&!d&&!u&&(a=Ru(m,o))}),D.subscribe(_),!s&&l>0&&(s=new bt({next:k=>D.next(k),error:k=>{d=!0,h(),a=Ru(p,t,k),D.error(k)},complete:()=>{u=!0,h(),a=Ru(p,r),D.complete()}}),J(v).subscribe(s))})(i)}}function Ru(e,n,...t){if(n===!0){e();return}if(n===!1)return;let r=new bt({next:()=>{r.unsubscribe(),e()}});return J(n(...t)).subscribe(r)}function Ou(e,n,t){let r,o=!1;return e&&typeof e=="object"?{bufferSize:r=1/0,windowTime:n=1/0,refCount:o=!1,scheduler:t}=e:r=e??1/0,Ei({connector:()=>new En(r,n,t),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function Ci(e){return Ce((n,t)=>e<=t)}function jt(...e){let n=Vt(e);return L((t,r)=>{(n?ro(e,t,n):ro(e,t)).subscribe(r)})}function so(e,n){return L((t,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();t.subscribe(P(r,c=>{o?.unsubscribe();let l=0,u=i++;J(e(c,u)).subscribe(o=P(r,d=>r.next(n?n(c,d,u,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Kt(e){return L((n,t)=>{J(e).subscribe(P(t,()=>t.complete(),di)),!t.closed&&n.subscribe(t)})}function ku(e,n=!1){return L((t,r)=>{let o=0;t.subscribe(P(r,i=>{let s=e(i,o++);(s||n)&&r.next(i),!s&&r.complete()}))})}function Sn(e,n,t){let r=F(e)||n||t?{next:e,error:n,complete:t}:e;return r?L((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(P(i,c=>{var l;(l=r.next)===null||l===void 0||l.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var l;a=!1,(l=r.error)===null||l===void 0||l.call(r,c),i.error(c)},()=>{var c,l;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(l=r.finalize)===null||l===void 0||l.call(r)}))}):Dt}var Fu;function Sa(){return Fu}function Bt(e){let n=Fu;return Fu=e,n}var Lm=Symbol("NotFound");function ao(e){return e===Lm||e?.name==="\u0275NotFound"}function Pu(e,n,t){let r=Object.create(WC);r.source=e,r.computation=n,t!=null&&(r.equal=t);let i=()=>{if(nr(r),_n(r),r.value===Lt)throw r.error;return r.value};return i[he]=r,ai(r),i}function Vm(e,n){nr(e),rr(e,n),qr(e)}function jm(e,n){if(nr(e),e.value===Lt)throw e.error;Xs(e,n),qr(e)}var WC=U(E({},yn),{value:er,dirty:!0,error:null,equal:ci,kind:"linkedSignal",producerMustRecompute(e){return e.value===er||e.value===tr},producerRecomputeValue(e){if(e.value===tr)throw new Error("");let n=e.value;e.value=tr;let t=Yt(e),r,o=!1;try{let i=e.source(),s=n!==er&&n!==Lt,a=s?{source:e.sourceValue,value:n}:void 0;r=e.computation(i,a),e.sourceValue=i,S(null),o=s&&r!==Lt&&e.equal(n,r)}catch(i){r=Lt,e.error=i}finally{bn(e,t)}if(o){e.value=n;return}e.value=r,e.version++}});function Bm(e){let n=S(null);try{return e()}finally{S(n)}}var Oa="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",b=class extends Error{code;constructor(n,t){super(xn(n,t)),this.code=n}};function qC(e){return`NG0${Math.abs(e)}`}function xn(e,n){return`${qC(e)}${n?": "+n:""}`}var ct=globalThis;function te(e){for(let n in e)if(e[n]===te)return n;throw Error("")}function Gm(e,n){for(let t in n)n.hasOwnProperty(t)&&!e.hasOwnProperty(t)&&(e[t]=n[t])}function ka(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(ka).join(", ")}]`;if(e==null)return""+e;let n=e.overriddenName||e.name;if(n)return`${n}`;let t=e.toString();if(t==null)return""+t;let r=t.indexOf(`
|
|
4
|
-
`);return r>=0?t.slice(0,r):t}function Fa(e,n){return e?n?`${e} ${n}`:e:n||""}var YC=te({__forward_ref__:te});function Te(e){return e.__forward_ref__=Te,e}function we(e){return Zu(e)?e():e}function Zu(e){return typeof e=="function"&&e.hasOwnProperty(YC)&&e.__forward_ref__===Te}function y(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function G(e){return{providers:e.providers||[],imports:e.imports||[]}}function Pa(e){return ZC(e,La)}function ZC(e,n){return e.hasOwnProperty(n)&&e[n]||null}function KC(e){let n=e?.[La]??null;return n||null}function Vu(e){return e&&e.hasOwnProperty(Ta)?e[Ta]:null}var La=te({\u0275prov:te}),Ta=te({\u0275inj:te}),g=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(n,t){this._desc=n,this.\u0275prov=void 0,typeof t=="number"?this.__NG_ELEMENT_ID__=t:t!==void 0&&(this.\u0275prov=y({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Ku(e){return e&&!!e.\u0275providers}var xi=te({\u0275cmp:te}),Ni=te({\u0275dir:te}),Xu=te({\u0275pipe:te});var Ii=te({\u0275fac:te}),mr=te({__NG_ELEMENT_ID__:te}),Hm=te({__NG_ENV_ID__:te});function Qt(e){return Ju(e,"@Component"),e[xi]||null}function Ri(e){return Ju(e,"@Directive"),e[Ni]||null}function Qu(e){return Ju(e,"@Pipe"),e[Xu]||null}function Ju(e,n){if(e==null)throw new b(-919,!1)}function gr(e){return typeof e=="string"?e:e==null?"":String(e)}var Wm=te({ngErrorCode:te}),XC=te({ngErrorMessage:te}),QC=te({ngTokenPath:te});function ed(e,n){return qm("",-200,n)}function Va(e,n){throw new b(-201,!1)}function qm(e,n,t){let r=new b(n,e);return r[Wm]=n,r[XC]=e,t&&(r[QC]=t),r}function JC(e){return e[Wm]}var ju;function Ym(){return ju}function Ve(e){let n=ju;return ju=e,n}function td(e,n,t){let r=Pa(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(t&8)return null;if(n!==void 0)return n;Va(e,"")}var ew={},dr=ew,tw="__NG_DI_FLAG__",Bu=class{injector;constructor(n){this.injector=n}retrieve(n,t){let r=fr(t)||0;try{return this.injector.get(n,r&8?null:dr,r)}catch(o){if(ao(o))return o;throw o}}};function nw(e,n=0){let t=Sa();if(t===void 0)throw new b(-203,!1);if(t===null)return td(e,void 0,n);{let r=rw(n),o=t.retrieve(e,r);if(ao(o)){if(r.optional)return null;throw o}return o}}function T(e,n=0){return(Ym()||nw)(we(e),n)}function f(e,n){return T(e,fr(n))}function fr(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function rw(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function Hu(e){let n=[];for(let t=0;t<e.length;t++){let r=we(e[t]);if(Array.isArray(r)){if(r.length===0)throw new b(900,!1);let o,i=0;for(let s=0;s<r.length;s++){let a=r[s],c=ow(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}n.push(T(o,i))}else n.push(T(r))}return n}function ow(e){return e[tw]}function Mn(e,n){let t=e.hasOwnProperty(Ii);return t?e[Ii]:null}function Zm(e,n,t){if(e.length!==n.length)return!1;for(let r=0;r<e.length;r++){let o=e[r],i=n[r];if(t&&(o=t(o),i=t(i)),i!==o)return!1}return!0}function Km(e){return e.flat(Number.POSITIVE_INFINITY)}function ja(e,n){e.forEach(t=>Array.isArray(t)?ja(t,n):n(t))}function nd(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function Oi(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function Xm(e,n){let t=[];for(let r=0;r<e;r++)t.push(n);return t}function Qm(e,n,t,r){let o=e.length;if(o==n)e.push(t,r);else if(o===1)e.push(r,e[0]),e[0]=t;else{for(o--,e.push(e[o-1],e[o]);o>n;){let i=o-2;e[o]=e[i],o--}e[n]=t,e[n+1]=r}}function ki(e,n,t){let r=lo(e,n);return r>=0?e[r|1]=t:(r=~r,Qm(e,r,n,t)),r}function Ba(e,n){let t=lo(e,n);if(t>=0)return e[t|1]}function lo(e,n){return iw(e,n,1)}function iw(e,n,t){let r=0,o=e.length>>t;for(;o!==r;){let i=r+(o-r>>1),s=e[i<<t];if(n===s)return i<<t;s>n?o=i:r=i+1}return~(o<<t)}var Ct={},Re=[],Nn=new g(""),rd=new g("",-1),od=new g(""),Si=class{get(n,t=dr){if(t===dr){let o=qm("",-201);throw o.name="\u0275NotFound",o}return t}};function uo(e){return{\u0275providers:e}}function Jm(...e){return{\u0275providers:Ha(!0,e),\u0275fromNgModule:!0}}function Ha(e,...n){let t=[],r=new Set,o,i=s=>{t.push(s)};return ja(n,s=>{let a=s;Aa(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&eg(o,i),t}function eg(e,n){for(let t=0;t<e.length;t++){let{ngModule:r,providers:o}=e[t];id(o,i=>{n(i,r)})}}function Aa(e,n,t,r){if(e=we(e),!e)return!1;let o=null,i=Vu(e),s=!i&&Qt(e);if(!i&&!s){let c=e.ngModule;if(i=Vu(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let l of c)Aa(l,n,t,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;ja(i.imports,u=>{Aa(u,n,t,r)&&(l||=[],l.push(u))}),l!==void 0&&eg(l,n)}if(!a){let l=Mn(o)||(()=>new o);n({provide:o,useFactory:l,deps:Re},o),n({provide:od,useValue:o,multi:!0},o),n({provide:Nn,useValue:()=>T(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=e;id(c,u=>{n(u,l)})}}else return!1;return o!==e&&e.providers!==void 0}function id(e,n){for(let t of e)Ku(t)&&(t=t.\u0275providers),Array.isArray(t)?id(t,n):n(t)}var sw=te({provide:String,useValue:te});function tg(e){return e!==null&&typeof e=="object"&&sw in e}function aw(e){return!!(e&&e.useExisting)}function cw(e){return!!(e&&e.useFactory)}function hr(e){return typeof e=="function"}function ng(e){return!!e.useClass}var Fi=new g(""),Ma={},Um={},Lu;function fo(){return Lu===void 0&&(Lu=new Si),Lu}var ue=class{},pr=class extends ue{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(n,t,r,o){super(),this.parent=t,this.source=r,this.scopes=o,$u(n,s=>this.processProvider(s)),this.records.set(rd,co(void 0,this)),o.has("environment")&&this.records.set(ue,co(void 0,this));let i=this.records.get(Fi);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(od,Re,{self:!0}))}retrieve(n,t){let r=fr(t)||0;try{return this.get(n,dr,r)}catch(o){if(ao(o))return o;throw o}}destroy(){wi(this),this._destroyed=!0;let n=S(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let t=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of t)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),S(n)}}onDestroy(n){return wi(this),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){wi(this);let t=Bt(this),r=Ve(void 0),o;try{return n()}finally{Bt(t),Ve(r)}}get(n,t=dr,r){if(wi(this),n.hasOwnProperty(Hm))return n[Hm](this);let o=fr(r),i,s=Bt(this),a=Ve(void 0);try{if(!(o&4)){let l=this.records.get(n);if(l===void 0){let u=hw(n)&&Pa(n);u&&this.injectableDefInScope(u)?l=co(Uu(n),Ma):l=null,this.records.set(n,l)}if(l!=null)return this.hydrate(n,l,o)}let c=o&2?fo():this.parent;return t=o&8&&t===dr?null:t,c.get(n,t)}catch(c){let l=JC(c);throw l===-200||l===-201?new b(l,null):c}finally{Ve(a),Bt(s)}}resolveInjectorInitializers(){let n=S(null),t=Bt(this),r=Ve(void 0),o;try{let i=this.get(Nn,Re,{self:!0});for(let s of i)s()}finally{Bt(t),Ve(r),S(n)}}toString(){return"R3Injector[...]"}processProvider(n){n=we(n);let t=hr(n)?n:we(n&&n.provide),r=uw(n);if(!hr(n)&&n.multi===!0){let o=this.records.get(t);o||(o=co(void 0,Ma,!0),o.factory=()=>Hu(o.multi),this.records.set(t,o)),t=n,o.multi.push(n)}this.records.set(t,r)}hydrate(n,t,r){let o=S(null);try{if(t.value===Um)throw ed("");return t.value===Ma&&(t.value=Um,t.value=t.factory(void 0,r)),typeof t.value=="object"&&t.value&&fw(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}finally{S(o)}}injectableDefInScope(n){if(!n.providedIn)return!1;let t=we(n.providedIn);return typeof t=="string"?t==="any"||this.scopes.has(t):this.injectorDefTypes.has(t)}removeOnDestroy(n){let t=this._onDestroyHooks.indexOf(n);t!==-1&&this._onDestroyHooks.splice(t,1)}};function Uu(e){let n=Pa(e),t=n!==null?n.factory:Mn(e);if(t!==null)return t;if(e instanceof g)throw new b(-204,!1);if(e instanceof Function)return lw(e);throw new b(-204,!1)}function lw(e){if(e.length>0)throw new b(-204,!1);let t=KC(e);return t!==null?()=>t.factory(e):()=>new e}function uw(e){if(tg(e))return co(void 0,e.useValue);{let n=sd(e);return co(n,Ma)}}function sd(e,n,t){let r;if(hr(e)){let o=we(e);return Mn(o)||Uu(o)}else if(tg(e))r=()=>we(e.useValue);else if(cw(e))r=()=>e.useFactory(...Hu(e.deps||[]));else if(aw(e))r=(o,i)=>T(we(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=we(e&&(e.useClass||e.provide));if(dw(e))r=()=>new o(...Hu(e.deps));else return Mn(o)||Uu(o)}return r}function wi(e){if(e.destroyed)throw new b(-205,!1)}function co(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function dw(e){return!!e.deps}function fw(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function hw(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function $u(e,n){for(let t of e)Array.isArray(t)?$u(t,n):t&&Ku(t)?$u(t.\u0275providers,n):n(t)}function ho(e,n){let t;e instanceof pr?(wi(e),t=e):t=new Bu(e);let r,o=Bt(t),i=Ve(void 0);try{return n()}finally{Bt(o),Ve(i)}}function rg(){return Ym()!==void 0||Sa()!=null}var wt=0,I=1,N=2,ye=3,lt=4,je=5,vr=6,po=7,me=8,Be=9,It=10,ee=11,mo=12,ad=13,yr=14,He=15,Rn=16,_r=17,Ht=18,Jt=19,cd=20,Xt=21,Ua=22,Tn=23,tt=24,br=25,On=26,K=27,og=1,kn=6,Fn=7,Pi=8,Dr=9,de=10;function en(e){return Array.isArray(e)&&typeof e[og]=="object"}function St(e){return Array.isArray(e)&&e[og]===!0}function ld(e){return(e.flags&4)!==0}function Ut(e){return e.componentOffset>-1}function go(e){return(e.flags&1)===1}function Mt(e){return!!e.template}function vo(e){return(e[N]&512)!==0}function Pn(e){return(e[N]&256)===256}var ud="svg",ig="math";function ut(e){for(;Array.isArray(e);)e=e[wt];return e}function dd(e,n){return ut(n[e])}function dt(e,n){return ut(n[e.index])}function yo(e,n){return e.data[n]}function _o(e,n){return e[n]}function Li(e,n,t,r){t>=e.data.length&&(e.data[t]=null,e.blueprint[t]=null),n[t]=r}function ft(e,n){let t=n[e];return en(t)?t:t[wt]}function sg(e){return(e[N]&4)===4}function $a(e){return(e[N]&128)===128}function ag(e){return St(e[ye])}function nt(e,n){return n==null?null:e[n]}function fd(e){e[_r]=0}function hd(e){e[N]&1024||(e[N]|=1024,$a(e)&&Er(e))}function cg(e,n){for(;e>0;)n=n[yr],e--;return n}function Vi(e){return!!(e[N]&9216||e[tt]?.dirty)}function za(e){e[It].changeDetectionScheduler?.notify(8),e[N]&64&&(e[N]|=1024),Vi(e)&&Er(e)}function Er(e){e[It].changeDetectionScheduler?.notify(0);let n=An(e);for(;n!==null&&!(n[N]&8192||(n[N]|=8192,!$a(n)));)n=An(n)}function Ga(e,n){if(Pn(e))throw new b(911,!1);e[Xt]===null&&(e[Xt]=[]),e[Xt].push(n)}function pd(e,n){if(e[Xt]===null)return;let t=e[Xt].indexOf(n);t!==-1&&e[Xt].splice(t,1)}function An(e){let n=e[ye];return St(n)?n[ye]:n}function md(e){return e[po]??=[]}function gd(e){return e.cleanup??=[]}function lg(e,n,t,r){let o=md(n);o.push(t),e.firstCreatePass&&gd(e).push(r,o.length-1)}var V={lFrame:Eg(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var zu=!1;function ug(){return V.lFrame.elementDepthCount}function dg(){V.lFrame.elementDepthCount++}function vd(){V.lFrame.elementDepthCount--}function Wa(){return V.bindingsEnabled}function yd(){return V.skipHydrationRootTNode!==null}function _d(e){return V.skipHydrationRootTNode===e}function bd(){V.skipHydrationRootTNode=null}function w(){return V.lFrame.lView}function Q(){return V.lFrame.tView}function fg(e){return V.lFrame.contextLView=e,e[me]}function hg(e){return V.lFrame.contextLView=null,e}function fe(){let e=Dd();for(;e!==null&&e.type===64;)e=e.parent;return e}function Dd(){return V.lFrame.currentTNode}function pg(){let e=V.lFrame,n=e.currentTNode;return e.isParent?n:n.parent}function Cr(e,n){let t=V.lFrame;t.currentTNode=e,t.isParent=n}function Ed(){return V.lFrame.isParent}function Cd(){V.lFrame.isParent=!1}function wd(){return V.lFrame.contextLView}function Id(){return zu}function Mi(e){let n=zu;return zu=e,n}function tn(){let e=V.lFrame,n=e.bindingRootIndex;return n===-1&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function mg(){return V.lFrame.bindingIndex}function gg(e){return V.lFrame.bindingIndex=e}function nn(){return V.lFrame.bindingIndex++}function qa(e){let n=V.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function vg(){return V.lFrame.inI18n}function yg(e,n){let t=V.lFrame;t.bindingIndex=t.bindingRootIndex=e,Ya(n)}function _g(){return V.lFrame.currentDirectiveIndex}function Ya(e){V.lFrame.currentDirectiveIndex=e}function bg(e){let n=V.lFrame.currentDirectiveIndex;return n===-1?null:e[n]}function Za(){return V.lFrame.currentQueryIndex}function ji(e){V.lFrame.currentQueryIndex=e}function pw(e){let n=e[I];return n.type===2?n.declTNode:n.type===1?e[je]:null}function Sd(e,n,t){if(t&4){let o=n,i=e;for(;o=o.parent,o===null&&!(t&1);)if(o=pw(i),o===null||(i=i[yr],o.type&10))break;if(o===null)return!1;n=o,e=i}let r=V.lFrame=Dg();return r.currentTNode=n,r.lView=e,!0}function Ka(e){let n=Dg(),t=e[I];V.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function Dg(){let e=V.lFrame,n=e===null?null:e.child;return n===null?Eg(e):n}function Eg(e){let n={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=n),n}function Cg(){let e=V.lFrame;return V.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Md=Cg;function Xa(){let e=Cg();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 wg(e){return(V.lFrame.contextLView=cg(e,V.lFrame.contextLView))[me]}function Tt(){return V.lFrame.selectedIndex}function Ln(e){V.lFrame.selectedIndex=e}function bo(){let e=V.lFrame;return yo(e.tView,e.selectedIndex)}function Ig(){V.lFrame.currentNamespace=ud}function Sg(){mw()}function mw(){V.lFrame.currentNamespace=null}function Td(){return V.lFrame.currentNamespace}var Mg=!0;function Qa(){return Mg}function Bi(e){Mg=e}function Gu(e,n=null,t=null,r){let o=Tg(e,n,t,r);return o.resolveInjectorInitializers(),o}function Tg(e,n=null,t=null,r,o=new Set){let i=[t||Re,Jm(e)],s;return new pr(i,n||fo(),s||null,o)}var O=class e{static THROW_IF_NOT_FOUND=dr;static NULL=new Si;static create(n,t){if(Array.isArray(n))return Gu({name:""},t,n,"");{let r=n.name??"";return Gu({name:r},n.parent,n.providers,r)}}static \u0275prov=y({token:e,providedIn:"any",factory:()=>T(rd)});static __NG_ELEMENT_ID__=-1},x=new g(""),Ye=(()=>{class e{static __NG_ELEMENT_ID__=gw;static __NG_ENV_ID__=t=>t}return e})(),xa=class extends Ye{_lView;constructor(n){super(),this._lView=n}get destroyed(){return Pn(this._lView)}onDestroy(n){let t=this._lView;return Ga(t,n),()=>pd(t,n)}};function gw(){return new xa(w())}var Ad=!1,Ag=new g(""),Vn=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new ar(!1);debugTaskTracker=f(Ag,{optional:!0});get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new R(t=>{t.next(!1),t.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let t=this.taskId++;return this.pendingTasks.add(t),this.debugTaskTracker?.add(t),t}has(t){return this.pendingTasks.has(t)}remove(t){this.pendingTasks.delete(t),this.debugTaskTracker?.remove(t),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=y({token:e,providedIn:"root",factory:()=>new e})}return e})(),Wu=class extends C{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(n=!1){super(),this.__isAsync=n,rg()&&(this.destroyRef=f(Ye,{optional:!0})??void 0,this.pendingTasks=f(Vn,{optional:!0})??void 0)}emit(n){let t=S(null);try{super.next(n)}finally{S(t)}}subscribe(n,t,r){let o=n,i=t||(()=>null),s=r;if(n&&typeof n=="object"){let c=n;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 n instanceof B&&n.add(a),a}wrapInTimeout(n){return t=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{n(t)}finally{r!==void 0&&this.pendingTasks?.remove(r)}})}}},$=Wu;function Na(...e){}function xd(e){let n,t;function r(){e=Na;try{t!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(t),n!==void 0&&clearTimeout(n)}catch(o){}}return n=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(t=requestAnimationFrame(()=>{e(),r()})),()=>r()}function xg(e){return queueMicrotask(()=>e()),()=>{e=Na}}var Nd="isAngularZone",Ti=Nd+"_ID",vw=0,M=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new $(!1);onMicrotaskEmpty=new $(!1);onStable=new $(!1);onError=new $(!1);constructor(n){let{enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=Ad}=n;if(typeof Zone>"u")throw new b(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,bw(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Nd)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new b(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new b(909,!1)}run(n,t,r){return this._inner.run(n,t,r)}runTask(n,t,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,n,yw,Na,Na);try{return i.runTask(s,t,r)}finally{i.cancelTask(s)}}runGuarded(n,t,r){return this._inner.runGuarded(n,t,r)}runOutsideAngular(n){return this._outer.run(n)}},yw={};function Rd(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 _w(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function n(){xd(()=>{e.callbackScheduled=!1,qu(e),e.isCheckStableRunning=!0,Rd(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{n()}):e._outer.run(()=>{n()}),qu(e)}function bw(e){let n=()=>{_w(e)},t=vw++;e._inner=e._inner.fork({name:"angular",properties:{[Nd]:!0,[Ti]:t,[Ti+t]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(Dw(c))return r.invokeTask(i,s,a,c);try{return $m(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&n(),zm(e)}},onInvoke:(r,o,i,s,a,c,l)=>{try{return $m(e),r.invoke(i,s,a,c,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!Ew(c)&&n(),zm(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,qu(e),Rd(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 qu(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function $m(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function zm(e){e._nesting--,Rd(e)}var Ai=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new $;onMicrotaskEmpty=new $;onStable=new $;onError=new $;run(n,t,r){return n.apply(t,r)}runGuarded(n,t,r){return n.apply(t,r)}runOutsideAngular(n){return n()}runTask(n,t,r,o){return n.apply(t,r)}};function Dw(e){return Ng(e,"__ignore_ng_zone__")}function Ew(e){return Ng(e,"__scheduler_tick__")}function Ng(e,n){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[n]===!0}var Oe=class{_console=console;handleError(n){this._console.error("ERROR",n)}},rn=new g("",{factory:()=>{let e=f(M),n=f(ue),t;return r=>{e.runOutsideAngular(()=>{n.destroyed&&!t?setTimeout(()=>{throw r}):(t??=n.get(Oe),t.handleError(r))})}}}),Rg={provide:Nn,useValue:()=>{let e=f(Oe,{optional:!0})},multi:!0};function se(e,n){let[t,r,o]=fu(e,n?.equal),i=t,s=i[he];return i.set=r,i.update=o,i.asReadonly=Hi.bind(i),i}function Hi(){let e=this[he];if(e.readonlyFn===void 0){let n=()=>this();n[he]=e,e.readonlyFn=n}return e.readonlyFn}var Do=(()=>{class e{view;node;constructor(t,r){this.view=t,this.node=r}static __NG_ELEMENT_ID__=Cw}return e})();function Cw(){return new Do(w(),fe())}var Et=class{},Eo=new g("",{factory:()=>!0});var Ja=new g(""),jn=(()=>{class e{internalPendingTasks=f(Vn);scheduler=f(Et);errorHandler=f(rn);add(){let t=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(t)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(t))}}run(t){let r=this.add();t().catch(this.errorHandler).finally(r)}static \u0275prov=y({token:e,providedIn:"root",factory:()=>new e})}return e})(),ec=(()=>{class e{static \u0275prov=y({token:e,providedIn:"root",factory:()=>new Yu})}return e})(),Yu=class{dirtyEffectCount=0;queues=new Map;add(n){this.enqueue(n),this.schedule(n)}schedule(n){n.dirty&&this.dirtyEffectCount++}remove(n){let t=n.zone,r=this.queues.get(t);r.has(n)&&(r.delete(n),n.dirty&&this.dirtyEffectCount--)}enqueue(n){let t=n.zone;this.queues.has(t)||this.queues.set(t,new Set);let r=this.queues.get(t);r.has(n)||r.add(n)}flush(){for(;this.dirtyEffectCount>0;){let n=!1;for(let[t,r]of this.queues)t===null?n||=this.flushQueue(r):n||=t.run(()=>this.flushQueue(r));n||(this.dirtyEffectCount=0)}}flushQueue(n){let t=!1;for(let r of n)r.dirty&&(this.dirtyEffectCount--,t=!0,r.run());return t}},Ra=class{[he];constructor(n){this[he]=n}destroy(){this[he].destroy()}};function wr(e,n){let t=n?.injector??f(O),r=n?.manualCleanup!==!0?t.get(Ye):null,o,i=t.get(Do,null,{optional:!0}),s=t.get(Et);return i!==null?(o=Sw(i.view,s,e),r instanceof xa&&r._lView===i.view&&(r=null)):o=Mw(e,t.get(ec),s),o.injector=t,r!==null&&(o.onDestroyFns=[r.onDestroy(()=>o.destroy())]),new Ra(o)}var Og=U(E({},hu),{cleanupFns:void 0,zone:null,onDestroyFns:null,run(){let e=Mi(!1);try{pu(this)}finally{Mi(e)}},cleanup(){if(!this.cleanupFns?.length)return;let e=S(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],S(e)}}}),ww=U(E({},Og),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){if(Dn(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.scheduler.remove(this)}}),Iw=U(E({},Og),{consumerMarkedDirty(){this.view[N]|=8192,Er(this.view),this.notifier.notify(13)},destroy(){if(Dn(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.view[Tn]?.delete(this)}});function Sw(e,n,t){let r=Object.create(Iw);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=n,r.fn=kg(r,t),e[Tn]??=new Set,e[Tn].add(r),r.consumerMarkedDirty(r),r}function Mw(e,n,t){let r=Object.create(ww);return r.fn=kg(r,e),r.scheduler=n,r.notifier=t,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.add(r),r.notifier.notify(12),r}function kg(e,n){return()=>{n(t=>(e.cleanupFns??=[]).push(t))}}function Qi(e){return{toString:e}.toString()}function Pw(e){return typeof e=="function"}function Iv(e,n,t,r){n!==null?n.applyValueToInputSignal(n,r):e[t]=r}var dc=class{previousValue;currentValue;firstChange;constructor(n,t,r){this.previousValue=n,this.currentValue=t,this.firstChange=r}isFirstChange(){return this.firstChange}},Ue=(()=>{let e=()=>Sv;return e.ngInherit=!0,e})();function Sv(e){return e.type.prototype.ngOnChanges&&(e.setInput=Vw),Lw}function Lw(){let e=Tv(this),n=e?.current;if(n){let t=e.previous;if(t===Ct)e.previous=n;else for(let r in n)t[r]=n[r];e.current=null,this.ngOnChanges(n)}}function Vw(e,n,t,r,o){let i=this.declaredInputs[r],s=Tv(e)||jw(e,{previous:Ct,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new dc(l&&l.currentValue,t,c===Ct),Iv(e,n,o,t)}var Mv="__ngSimpleChanges__";function Tv(e){return e[Mv]||null}function jw(e,n){return e[Mv]=n}var Fg=[];var Y=function(e,n=null,t){for(let r=0;r<Fg.length;r++){let o=Fg[r];o(e,n,t)}},z=(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})(z||{});function Bw(e,n,t){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=n.type.prototype;if(r){let s=Sv(n);(t.preOrderHooks??=[]).push(e,s),(t.preOrderCheckHooks??=[]).push(e,s)}o&&(t.preOrderHooks??=[]).push(0-e,o),i&&((t.preOrderHooks??=[]).push(e,i),(t.preOrderCheckHooks??=[]).push(e,i))}function Av(e,n){for(let t=n.directiveStart,r=n.directiveEnd;t<r;t++){let i=e.data[t].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:l,ngOnDestroy:u}=i;s&&(e.contentHooks??=[]).push(-t,s),a&&((e.contentHooks??=[]).push(t,a),(e.contentCheckHooks??=[]).push(t,a)),c&&(e.viewHooks??=[]).push(-t,c),l&&((e.viewHooks??=[]).push(t,l),(e.viewCheckHooks??=[]).push(t,l)),u!=null&&(e.destroyHooks??=[]).push(t,u)}}function ic(e,n,t){xv(e,n,3,t)}function sc(e,n,t,r){(e[N]&3)===t&&xv(e,n,t,r)}function Od(e,n){let t=e[N];(t&3)===n&&(t&=16383,t+=1,e[N]=t)}function xv(e,n,t,r){let o=r!==void 0?e[_r]&65535:0,i=r??-1,s=n.length-1,a=0;for(let c=o;c<s;c++)if(typeof n[c+1]=="number"){if(a=n[c],r!=null&&a>=r)break}else n[c]<0&&(e[_r]+=65536),(a<i||i==-1)&&(Hw(e,t,n,c),e[_r]=(e[_r]&4294901760)+c+2),c++}function Pg(e,n){Y(z.LifecycleHookStart,e,n);let t=S(null);try{n.call(e)}finally{S(t),Y(z.LifecycleHookEnd,e,n)}}function Hw(e,n,t,r){let o=t[r]<0,i=t[r+1],s=o?-t[r]:t[r],a=e[s];o?e[N]>>14<e[_r]>>16&&(e[N]&3)===n&&(e[N]+=16384,Pg(a,i)):Pg(a,i)}var wo=-1,Sr=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(n,t,r,o){this.factory=n,this.name=o,this.canSeeViewProviders=t,this.injectImpl=r}};function Uw(e){return(e.flags&8)!==0}function $w(e){return(e.flags&16)!==0}function zw(e,n,t){let r=0;for(;r<t.length;){let o=t[r];if(typeof o=="number"){if(o!==0)break;r++;let i=t[r++],s=t[r++],a=t[r++];e.setAttribute(n,s,a,i)}else{let i=o,s=t[++r];Gw(i)?e.setProperty(n,i,s):e.setAttribute(n,i,s),r++}}return r}function Nv(e){return e===3||e===4||e===6}function Gw(e){return e.charCodeAt(0)===64}function So(e,n){if(!(n===null||n.length===0))if(e===null||e.length===0)e=n.slice();else{let t=-1;for(let r=0;r<n.length;r++){let o=n[r];typeof o=="number"?t=o:t===0||(t===-1||t===2?Lg(e,t,o,null,n[++r]):Lg(e,t,o,null,null))}}return e}function Lg(e,n,t,r,o){let i=0,s=e.length;if(n===-1)s=-1;else for(;i<e.length;){let a=e[i++];if(typeof a=="number"){if(a===n){s=-1;break}else if(a>n){s=i-1;break}}}for(;i<e.length;){let a=e[i];if(typeof a=="number")break;if(a===t){o!==null&&(e[i+1]=o);return}i++,o!==null&&i++}s!==-1&&(e.splice(s,0,n),i=s+1),e.splice(i++,0,t),o!==null&&e.splice(i++,0,o)}function Rv(e){return e!==wo}function fc(e){return e&32767}function Ww(e){return e>>16}function hc(e,n){let t=Ww(e),r=n;for(;t>0;)r=r[yr],t--;return r}var Wd=!0;function pc(e){let n=Wd;return Wd=e,n}var qw=256,Ov=qw-1,kv=5,Yw=0,$t={};function Zw(e,n,t){let r;typeof t=="string"?r=t.charCodeAt(0)||0:t.hasOwnProperty(mr)&&(r=t[mr]),r==null&&(r=t[mr]=Yw++);let o=r&Ov,i=1<<o;n.data[e+(o>>kv)]|=i}function mc(e,n){let t=Fv(e,n);if(t!==-1)return t;let r=n[I];r.firstCreatePass&&(e.injectorIndex=n.length,kd(r.data,e),kd(n,null),kd(r.blueprint,null));let o=Nf(e,n),i=e.injectorIndex;if(Rv(o)){let s=fc(o),a=hc(o,n),c=a[I].data;for(let l=0;l<8;l++)n[i+l]=a[s+l]|c[s+l]}return n[i+8]=o,i}function kd(e,n){e.push(0,0,0,0,0,0,0,0,n)}function Fv(e,n){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||n[e.injectorIndex+8]===null?-1:e.injectorIndex}function Nf(e,n){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let t=0,r=null,o=n;for(;o!==null;){if(r=Bv(o),r===null)return wo;if(t++,o=o[yr],r.injectorIndex!==-1)return r.injectorIndex|t<<16}return wo}function qd(e,n,t){Zw(e,n,t)}function Kw(e,n){if(n==="class")return e.classes;if(n==="style")return e.styles;let t=e.attrs;if(t){let r=t.length,o=0;for(;o<r;){let i=t[o];if(Nv(i))break;if(i===0)o=o+2;else if(typeof i=="number")for(o++;o<r&&typeof t[o]=="string";)o++;else{if(i===n)return t[o+1];o=o+2}}}return null}function Pv(e,n,t){if(t&8||e!==void 0)return e;Va(n,"NodeInjector")}function Lv(e,n,t,r){if(t&8&&r===void 0&&(r=null),(t&3)===0){let o=e[Be],i=Ve(void 0);try{return o?o.get(n,r,t&8):td(n,r,t&8)}finally{Ve(i)}}return Pv(r,n,t)}function Vv(e,n,t,r=0,o){if(e!==null){if(n[N]&2048&&!(r&2)){let s=eI(e,n,t,r,$t);if(s!==$t)return s}let i=jv(e,n,t,r,$t);if(i!==$t)return i}return Lv(n,t,r,o)}function jv(e,n,t,r,o){let i=Qw(t);if(typeof i=="function"){if(!Sd(n,e,r))return r&1?Pv(o,t,r):Lv(n,t,r,o);try{let s;if(s=i(r),s==null&&!(r&8))Va(t);else return s}finally{Md()}}else if(typeof i=="number"){let s=null,a=Fv(e,n),c=wo,l=r&1?n[He][je]:null;for((a===-1||r&4)&&(c=a===-1?Nf(e,n):n[a+8],c===wo||!jg(r,!1)?a=-1:(s=n[I],a=fc(c),n=hc(c,n)));a!==-1;){let u=n[I];if(Vg(i,a,u.data)){let d=Xw(a,n,t,s,r,l);if(d!==$t)return d}c=n[a+8],c!==wo&&jg(r,n[I].data[a+8]===l)&&Vg(i,a,n)?(s=u,a=fc(c),n=hc(c,n)):a=-1}}return o}function Xw(e,n,t,r,o,i){let s=n[I],a=s.data[e+8],c=r==null?Ut(a)&&Wd:r!=s&&(a.type&3)!==0,l=o&1&&i===a,u=ac(a,s,t,c,l);return u!==null?Wi(n,s,u,a,o):$t}function ac(e,n,t,r,o){let i=e.providerIndexes,s=n.data,a=i&1048575,c=e.directiveStart,l=e.directiveEnd,u=i>>20,d=r?a:a+u,h=o?a+u:l;for(let p=d;p<h;p++){let m=s[p];if(p<c&&t===m||p>=c&&m.type===t)return p}if(o){let p=s[c];if(p&&Mt(p)&&p.type===t)return c}return null}function Wi(e,n,t,r,o){let i=e[t],s=n.data;if(i instanceof Sr){let a=i;if(a.resolving)throw ed("");let c=pc(a.canSeeViewProviders);a.resolving=!0;let l=s[t].type||s[t],u,d=a.injectImpl?Ve(a.injectImpl):null,h=Sd(e,r,0);try{i=e[t]=a.factory(void 0,o,s,e,r),n.firstCreatePass&&t>=r.directiveStart&&Bw(t,s[t],n)}finally{d!==null&&Ve(d),pc(c),a.resolving=!1,Md()}}return i}function Qw(e){if(typeof e=="string")return e.charCodeAt(0)||0;let n=e.hasOwnProperty(mr)?e[mr]:void 0;return typeof n=="number"?n>=0?n&Ov:Jw:n}function Vg(e,n,t){let r=1<<e;return!!(t[n+(e>>kv)]&r)}function jg(e,n){return!(e&2)&&!(e&1&&n)}var Ir=class{_tNode;_lView;constructor(n,t){this._tNode=n,this._lView=t}get(n,t,r){return Vv(this._tNode,this._lView,n,fr(r),t)}};function Jw(){return new Ir(fe(),w())}function Ae(e){return Qi(()=>{let n=e.prototype.constructor,t=n[Ii]||Yd(n),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Ii]||Yd(o);if(i&&i!==t)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Yd(e){return Zu(e)?()=>{let n=Yd(we(e));return n&&n()}:Mn(e)}function eI(e,n,t,r,o){let i=e,s=n;for(;i!==null&&s!==null&&s[N]&2048&&!vo(s);){let a=jv(i,s,t,r|2,$t);if(a!==$t)return a;let c=i.parent;if(!c){let l=s[cd];if(l){let u=l.get(t,$t,r&-5);if(u!==$t)return u}c=Bv(s),s=s[yr]}i=c}return o}function Bv(e){let n=e[I],t=n.type;return t===2?n.declTNode:t===1?e[je]:null}function Rf(e){return Kw(fe(),e)}function tI(){return Oo(fe(),w())}function Oo(e,n){return new H(dt(e,n))}var H=(()=>{class e{nativeElement;constructor(t){this.nativeElement=t}static __NG_ELEMENT_ID__=tI}return e})();function Hv(e){return e instanceof H?e.nativeElement:e}function nI(){return this._results[Symbol.iterator]()}var on=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 C}constructor(n=!1){this._emitDistinctChangesOnly=n}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,t){return this._results.reduce(n,t)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,t){this.dirty=!1;let r=Km(n);(this._changesDetected=!Zm(this._results,r,t))&&(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(n){this._onDirty=n}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=nI};function Uv(e){return(e.flags&128)===128}var Of=(function(e){return e[e.OnPush=0]="OnPush",e[e.Eager=1]="Eager",e[e.Default=1]="Default",e})(Of||{}),$v=new Map,rI=0;function oI(){return rI++}function iI(e){$v.set(e[Jt],e)}function Zd(e){$v.delete(e[Jt])}var Bg="__ngContext__";function Mo(e,n){en(n)?(e[Bg]=n[Jt],iI(n)):e[Bg]=n}function zv(e){return Wv(e[mo])}function Gv(e){return Wv(e[lt])}function Wv(e){for(;e!==null&&!St(e);)e=e[lt];return e}var Kd;function kf(e){Kd=e}function qv(){if(Kd!==void 0)return Kd;if(typeof document<"u")return document;throw new b(210,!1)}var $n=new g("",{factory:()=>sI}),sI="ng";var wc=new g(""),Nr=new g("",{providedIn:"platform",factory:()=>"unknown"}),Ji=new g(""),Rr=new g("",{factory:()=>f(x).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var Yv="r";var Ff="di",Pf="s";var Zv=!1,Kv=new g("",{factory:()=>Zv});var Xv=new g("");var Hg=new WeakMap;function aI(e,n){if(e==null||typeof e!="object")return;let t=Hg.get(e);t||(t=new WeakSet,Hg.set(e,t)),t.add(n)}var cI=(e,n,t,r)=>{};function lI(e,n,t,r){cI(e,n,t,r)}var Qv=new g("");function Ic(e){return(e.flags&32)===32}var uI=()=>null;function Jv(e,n,t=!1){return uI(e,n,t)}function Lf(e){return e.get(Xv,!1,{optional:!0})}function ey(e,n){let t=e.contentQueries;if(t!==null){let r=S(null);try{for(let o=0;o<t.length;o+=2){let i=t[o],s=t[o+1];if(s!==-1){let a=e.data[s];ji(i),a.contentQueries(2,n[s],s)}}}finally{S(r)}}}function Xd(e,n,t){ji(0);let r=S(null);try{n(e,t)}finally{S(r)}}function Vf(e,n,t){if(ld(n)){let r=S(null);try{let o=n.directiveStart,i=n.directiveEnd;for(let s=o;s<i;s++){let a=e.data[s];if(a.contentQueries){let c=t[s];a.contentQueries(1,c,s)}}}finally{S(r)}}}var xt=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e[e.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",e})(xt||{});var tc;function dI(){if(tc===void 0&&(tc=null,ct.trustedTypes))try{tc=ct.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return tc}function Sc(e){return dI()?.createHTML(e)||e}var nc;function ty(){if(nc===void 0&&(nc=null,ct.trustedTypes))try{nc=ct.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return nc}function Ug(e){return ty()?.createHTML(e)||e}function $g(e){return ty()?.createScriptURL(e)||e}var sn=class{changingThisBreaksApplicationSecurity;constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Oa})`}},Qd=class extends sn{getTypeName(){return"HTML"}},Jd=class extends sn{getTypeName(){return"Style"}},ef=class extends sn{getTypeName(){return"Script"}},tf=class extends sn{getTypeName(){return"URL"}},nf=class extends sn{getTypeName(){return"ResourceURL"}};function rt(e){return e instanceof sn?e.changingThisBreaksApplicationSecurity:e}function Gt(e,n){let t=ny(e);if(t!=null&&t!==n){if(t==="ResourceURL"&&n==="URL")return!0;throw new Error(`Required a safe ${n}, got a ${t} (see ${Oa})`)}return t===n}function ny(e){return e instanceof sn&&e.getTypeName()||null}function jf(e){return new Qd(e)}function Bf(e){return new Jd(e)}function Hf(e){return new ef(e)}function Uf(e){return new tf(e)}function $f(e){return new nf(e)}function fI(e){let n=new of(e);return hI()?new rf(n):n}var rf=class{inertDocumentHelper;constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n="<body><remove></remove>"+n;try{let t=new window.DOMParser().parseFromString(Sc(n),"text/html").body;return t===null?this.inertDocumentHelper.getInertBodyElement(n):(t.firstChild?.remove(),t)}catch(t){return null}}},of=class{defaultDoc;inertDocument;constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){let t=this.inertDocument.createElement("template");return t.innerHTML=Sc(n),t}};function hI(){try{return!!new window.DOMParser().parseFromString(Sc(""),"text/html")}catch(e){return!1}}var pI=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function es(e){return e=String(e),e.match(pI)?e:"unsafe:"+e}function an(e){let n={};for(let t of e.split(","))n[t]=!0;return n}function ts(...e){let n={};for(let t of e)for(let r in t)t.hasOwnProperty(r)&&(n[r]=!0);return n}var ry=an("area,br,col,hr,img,wbr"),oy=an("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),iy=an("rp,rt"),mI=ts(iy,oy),gI=ts(oy,an("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),vI=ts(iy,an("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),zg=ts(ry,gI,vI,mI),sy=an("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),yI=an("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),_I=an("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),bI=ts(sy,yI,_I),DI=an("script,style,template"),sf=class{sanitizedSomething=!1;buf=[];sanitizeChildren(n){let t=n.firstChild,r=!0,o=[];for(;t;){if(t.nodeType===Node.ELEMENT_NODE?r=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,r&&t.firstChild){o.push(t),t=wI(t);continue}for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let i=CI(t);if(i){t=i;break}t=o.pop()}}return this.buf.join("")}startElement(n){let t=Gg(n).toLowerCase();if(!zg.hasOwnProperty(t))return this.sanitizedSomething=!0,!DI.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);let r=n.attributes;for(let o=0;o<r.length;o++){let i=r.item(o),s=i.name,a=s.toLowerCase();if(!bI.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;sy[a]&&(c=es(c)),this.buf.push(" ",s,'="',Wg(c),'"')}return this.buf.push(">"),!0}endElement(n){let t=Gg(n).toLowerCase();zg.hasOwnProperty(t)&&!ry.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(n){this.buf.push(Wg(n))}};function EI(e,n){return(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function CI(e){let n=e.nextSibling;if(n&&e!==n.previousSibling)throw ay(n);return n}function wI(e){let n=e.firstChild;if(n&&EI(e,n))throw ay(n);return n}function Gg(e){let n=e.nodeName;return typeof n=="string"?n:"FORM"}function ay(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var II=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,SI=/([^\#-~ |!])/g;function Wg(e){return e.replace(/&/g,"&").replace(II,function(n){let t=n.charCodeAt(0),r=n.charCodeAt(1);return"&#"+((t-55296)*1024+(r-56320)+65536)+";"}).replace(SI,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var rc;function Mc(e,n){let t=null;try{rc=rc||fI(e);let r=n?String(n):"";t=rc.getInertBodyElement(r);let o=5,i=r;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=t.innerHTML,t=rc.getInertBodyElement(r)}while(r!==i);let a=new sf().sanitizeChildren(qg(t)||t);return Sc(a)}finally{if(t){let r=qg(t)||t;for(;r.firstChild;)r.firstChild.remove()}}}function qg(e){return"content"in e&&MI(e)?e.content:null}function MI(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var TI=/^>|^->|<!--|-->|--!>|<!-$/g,AI=/(<|>)/g,xI="\u200B$1\u200B";function NI(e){return e.replace(TI,n=>n.replace(AI,xI))}function RI(e,n){return e.createText(n)}function OI(e,n,t){e.setValue(n,t)}function kI(e,n){return e.createComment(NI(n))}function cy(e,n,t){return e.createElement(n,t)}function gc(e,n,t,r,o){e.insertBefore(n,t,r,o)}function ly(e,n,t){e.appendChild(n,t)}function Yg(e,n,t,r,o){r!==null?gc(e,n,t,r,o):ly(e,n,t)}function uy(e,n,t,r){e.removeChild(null,n,t,r)}function FI(e,n,t){e.setAttribute(n,"style",t)}function PI(e,n,t){t===""?e.removeAttribute(n,"class"):e.setAttribute(n,"class",t)}function dy(e,n,t){let{mergedAttrs:r,classes:o,styles:i}=t;r!==null&&zw(e,n,r),o!==null&&PI(e,n,o),i!==null&&FI(e,n,i)}var be=(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[e.ATTRIBUTE_NO_BINDING=6]="ATTRIBUTE_NO_BINDING",e})(be||{});function LI(e){let n=zf();return n?Ug(n.sanitize(be.HTML,e)||""):Gt(e,"HTML")?Ug(rt(e)):Mc(qv(),gr(e))}function VI(e){let n=zf();return n?n.sanitize(be.URL,e)||"":Gt(e,"URL")?rt(e):es(gr(e))}function jI(e){let n=zf();if(n)return $g(n.sanitize(be.RESOURCE_URL,e)||"");if(Gt(e,"ResourceURL"))return $g(rt(e));throw new b(904,!1)}function zf(){let e=w();return e&&e[It].sanitizer}function BI(e){return e.ownerDocument}function HI(e,n,t){let r=e.length;for(;;){let o=e.indexOf(n,t);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=n.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}t=o+1}}var fy="ng-template";function UI(e,n,t,r){let o=0;if(r){for(;o<n.length&&typeof n[o]=="string";o+=2)if(n[o]==="class"&&HI(n[o+1].toLowerCase(),t,0)!==-1)return!0}else if(Gf(e))return!1;if(o=n.indexOf(1,o),o>-1){let i;for(;++o<n.length&&typeof(i=n[o])=="string";)if(i.toLowerCase()===t)return!0}return!1}function Gf(e){return e.type===4&&e.value!==fy}function $I(e,n,t){let r=e.type===4&&!t?fy:e.value;return n===r}function zI(e,n,t){let r=4,o=e.attrs,i=o!==null?qI(o):0,s=!1;for(let a=0;a<n.length;a++){let c=n[a];if(typeof c=="number"){if(!s&&!At(r)&&!At(c))return!1;if(s&&At(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!$I(e,c,t)||c===""&&n.length===1){if(At(r))return!1;s=!0}}else if(r&8){if(o===null||!UI(e,o,c,t)){if(At(r))return!1;s=!0}}else{let l=n[++a],u=GI(c,o,Gf(e),t);if(u===-1){if(At(r))return!1;s=!0;continue}if(l!==""){let d;if(u>i?d="":d=o[u+1].toLowerCase(),r&2&&l!==d){if(At(r))return!1;s=!0}}}}return At(r)||s}function At(e){return(e&1)===0}function GI(e,n,t,r){if(n===null)return-1;let o=0;if(r||!t){let i=!1;for(;o<n.length;){let s=n[o];if(s===e)return o;if(s===3||s===6)i=!0;else if(s===1||s===2){let a=n[++o];for(;typeof a=="string";)a=n[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=i?1:2}return-1}else return YI(n,e)}function hy(e,n,t=!1){for(let r=0;r<n.length;r++)if(zI(e,n[r],t))return!0;return!1}function WI(e){let n=e.attrs;if(n!=null){let t=n.indexOf(5);if((t&1)===0)return n[t+1]}return null}function qI(e){for(let n=0;n<e.length;n++){let t=e[n];if(Nv(t))return n}return e.length}function YI(e,n){let t=e.indexOf(4);if(t>-1)for(t++;t<e.length;){let r=e[t];if(typeof r=="number")return-1;if(r===n)return t;t++}return-1}function ZI(e,n){e:for(let t=0;t<n.length;t++){let r=n[t];if(e.length===r.length){for(let o=0;o<e.length;o++)if(e[o]!==r[o])continue e;return!0}}return!1}function Zg(e,n){return e?":not("+n.trim()+")":n}function KI(e){let n=e[0],t=1,r=2,o="",i=!1;for(;t<e.length;){let s=e[t];if(typeof s=="string")if(r&2){let a=e[++t];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!At(s)&&(n+=Zg(i,o),o=""),r=s,i=i||!At(r);t++}return o!==""&&(n+=Zg(i,o)),n}function XI(e){return e.map(KI).join(",")}function QI(e){let n=[],t=[],r=1,o=2;for(;r<e.length;){let i=e[r];if(typeof i=="string")o===2?i!==""&&n.push(i,e[++r]):o===8&&t.push(i);else{if(!At(o))break;o=i}r++}return t.length&&n.push(1,...t),n}var $e={};function Wf(e,n,t,r,o,i,s,a,c,l,u){let d=K+r,h=d+o,p=JI(d,h),m=typeof l=="function"?l():l;return p[I]={type:e,blueprint:p,template:t,queries:null,viewQuery:a,declTNode:n,data:p.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:h,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:m,incompleteFirstPass:!1,ssrId:u}}function JI(e,n){let t=[];for(let r=0;r<n;r++)t.push(r<e?null:$e);return t}function eS(e){let n=e.tView;return n===null||n.incompleteFirstPass?e.tView=Wf(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):n}function qf(e,n,t,r,o,i,s,a,c,l,u){let d=n.blueprint.slice();return d[wt]=o,d[N]=r|4|128|8|64|1024,(l!==null||e&&e[N]&2048)&&(d[N]|=2048),fd(d),d[ye]=d[yr]=e,d[me]=t,d[It]=s||e&&e[It],d[ee]=a||e&&e[ee],d[Be]=c||e&&e[Be]||null,d[je]=i,d[Jt]=oI(),d[vr]=u,d[cd]=l,d[He]=n.type==2?e[He]:d,d}function tS(e,n,t){let r=dt(n,e),o=eS(t),i=e[It].rendererFactory,s=Yf(e,qf(e,o,null,py(t),r,n,null,i.createRenderer(r,t),null,null,null));return e[n.index]=s}function py(e){let n=16;return e.signals?n=4096:e.onPush&&(n=64),n}function my(e,n,t,r){if(t===0)return-1;let o=n.length;for(let i=0;i<t;i++)n.push(r),e.blueprint.push(r),e.data.push(null);return o}function Yf(e,n){return e[mo]?e[ad][lt]=n:e[mo]=n,e[ad]=n,n}function Zf(e=1){gy(Q(),w(),Tt()+e,!1)}function gy(e,n,t,r){if(!r)if((n[N]&3)===3){let i=e.preOrderCheckHooks;i!==null&&ic(n,i,t)}else{let i=e.preOrderHooks;i!==null&&sc(n,i,0,t)}Ln(t)}var Tc=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(Tc||{});function af(e,n,t,r){let o=S(null);try{let[i,s,a]=e.inputs[t],c=null;(s&Tc.SignalBased)!==0&&(c=n[i][he]),c!==null&&c.transformFn!==void 0?r=c.transformFn(r):a!==null&&(r=a.call(n,r)),e.setInput!==null?e.setInput(n,c,r,t,i):Iv(n,c,i,r)}finally{S(o)}}var zt=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})(zt||{}),nS;function Kf(e,n){return nS(e,n)}var KB=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";var cf=new WeakMap,$i=new WeakSet;function rS(e,n){let t=cf.get(e);if(!t||t.length===0)return;let r=n.parentNode,o=n.previousSibling;for(let i=t.length-1;i>=0;i--){let s=t[i],a=s.parentNode;s===n?(t.splice(i,1),$i.add(s),s.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}}))):(o&&s===o||a&&r&&a!==r)&&(t.splice(i,1),s.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}})),s.parentNode?.removeChild(s))}}function oS(e,n){let t=cf.get(e);t?t.includes(n)||t.push(n):cf.set(e,[n])}var Mr=new Set,Ac=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(Ac||{}),Nt=new g(""),Kg=new Set;function Wt(e){Kg.has(e)||(Kg.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var xc=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=y({token:e,providedIn:"root",factory:()=>new e})}return e})(),Xf=[0,1,2,3],Qf=(()=>{class e{ngZone=f(M);scheduler=f(Et);errorHandler=f(Oe,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){f(Nt,{optional:!0})}execute(){let t=this.sequences.size>0;t&&Y(z.AfterRenderHooksStart),this.executing=!0;for(let r of Xf)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(),t&&Y(z.AfterRenderHooksEnd)}register(t){let{view:r}=t;r!==void 0?((r[br]??=[]).push(t),Er(r),r[N]|=8192):this.executing?this.deferredRegistrations.add(t):this.addSequence(t)}addSequence(t){this.sequences.add(t),this.scheduler.notify(7)}unregister(t){this.executing&&this.sequences.has(t)?(t.erroredOrDestroyed=!0,t.pipelinedValue=void 0,t.once=!0):(this.sequences.delete(t),this.deferredRegistrations.delete(t))}maybeTrace(t,r){return r?r.run(Ac.AFTER_NEXT_RENDER,t):t()}static \u0275prov=y({token:e,providedIn:"root",factory:()=>new e})}return e})(),qi=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(n,t,r,o,i,s=null){this.impl=n,this.hooks=t,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 n=this.view?.[br];n&&(this.view[br]=n.filter(t=>t!==this))}};function Rt(e,n){let t=n?.injector??f(O);return Wt("NgAfterNextRender"),sS(e,t,n,!0)}function iS(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function sS(e,n,t,r){let o=n.get(xc);o.impl??=n.get(Qf);let i=n.get(Nt,null,{optional:!0}),s=t?.manualCleanup!==!0?n.get(Ye):null,a=n.get(Do,null,{optional:!0}),c=new qi(o.impl,iS(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var vy=new g("",{factory:()=>({queue:new Set,isScheduled:!1,scheduler:null,injector:f(ue)})});function yy(e,n,t){let r=e.get(vy);if(Array.isArray(n))for(let o of n)r.queue.add(o),t?.detachedLeaveAnimationFns?.push(o);else r.queue.add(n),t?.detachedLeaveAnimationFns?.push(n);r.scheduler&&r.scheduler(e)}function aS(e,n){let t=e.get(vy);if(n.detachedLeaveAnimationFns){for(let r of n.detachedLeaveAnimationFns)t.queue.delete(r);n.detachedLeaveAnimationFns=void 0}}function cS(e,n){for(let[t,r]of n)yy(e,r.animateFns)}function Xg(e,n,t,r){let o=e?.[On]?.enter;n!==null&&o&&o.has(t.index)&&cS(r,o)}function Co(e,n,t,r,o,i,s,a){if(o!=null){let c,l=!1;St(o)?c=o:en(o)&&(l=!0,o=o[wt]);let u=ut(o);e===0&&r!==null?(Xg(a,r,i,t),s==null?ly(n,r,u):gc(n,r,u,s||null,!0)):e===1&&r!==null?(Xg(a,r,i,t),gc(n,r,u,s||null,!0),rS(i,u)):e===2?(a?.[On]?.leave?.has(i.index)&&oS(i,u),$i.delete(u),Qg(a,i,t,d=>{if($i.has(u)){$i.delete(u);return}uy(n,u,l,d)})):e===3&&($i.delete(u),Qg(a,i,t,()=>{n.destroyNode(u)})),c!=null&&_S(n,e,t,c,i,r,s)}}function lS(e,n){_y(e,n),n[wt]=null,n[je]=null}function uS(e,n,t,r,o,i){r[wt]=o,r[je]=n,Rc(e,r,t,1,o,i)}function _y(e,n){n[It].changeDetectionScheduler?.notify(9),Rc(e,n,n[ee],2,null,null)}function dS(e){let n=e[mo];if(!n)return Fd(e[I],e);for(;n;){let t=null;if(en(n))t=n[mo];else{let r=n[de];r&&(t=r)}if(!t){for(;n&&!n[lt]&&n!==e;)en(n)&&Fd(n[I],n),n=n[ye];n===null&&(n=e),en(n)&&Fd(n[I],n),t=n&&n[lt]}n=t}}function Jf(e,n){let t=e[Dr],r=t.indexOf(n);t.splice(r,1)}function Nc(e,n){if(Pn(n))return;let t=n[ee];t.destroyNode&&Rc(e,n,t,3,null,null),dS(n)}function Fd(e,n){if(Pn(n))return;let t=S(null);try{n[N]&=-129,n[N]|=256,n[tt]&&Dn(n[tt]),pS(e,n),hS(e,n),n[I].type===1&&n[ee].destroy();let r=n[Rn];if(r!==null&&St(n[ye])){r!==n[ye]&&Jf(r,n);let o=n[Ht];o!==null&&o.detachView(e)}Zd(n)}finally{S(t)}}function Qg(e,n,t,r){let o=e?.[On];if(o==null||o.leave==null||!o.leave.has(n.index))return r(!1);e&&Mr.add(e[Jt]),yy(t,()=>{if(o.leave&&o.leave.has(n.index)){let s=o.leave.get(n.index),a=[];if(s){for(let c=0;c<s.animateFns.length;c++){let l=s.animateFns[c],{promise:u}=l();a.push(u)}o.detachedLeaveAnimationFns=void 0}o.running=Promise.allSettled(a),fS(e,r)}else e&&Mr.delete(e[Jt]),r(!1)},o)}function fS(e,n){let t=e[On]?.running;if(t){t.then(()=>{e[On].running=void 0,Mr.delete(e[Jt]),n(!0)});return}n(!1)}function hS(e,n){let t=e.cleanup,r=n[po];if(t!==null)for(let s=0;s<t.length-1;s+=2)if(typeof t[s]=="string"){let a=t[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[t[s+1]];t[s].call(a)}r!==null&&(n[po]=null);let o=n[Xt];if(o!==null){n[Xt]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=n[Tn];if(i!==null){n[Tn]=null;for(let s of i)s.destroy()}}function pS(e,n){let t;if(e!=null&&(t=e.destroyHooks)!=null)for(let r=0;r<t.length;r+=2){let o=n[t[r]];if(!(o instanceof Sr)){let i=t[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],c=i[s+1];Y(z.LifecycleHookStart,a,c);try{c.call(a)}finally{Y(z.LifecycleHookEnd,a,c)}}else{Y(z.LifecycleHookStart,o,i);try{i.call(o)}finally{Y(z.LifecycleHookEnd,o,i)}}}}}function by(e,n,t){return mS(e,n.parent,t)}function mS(e,n,t){let r=n;for(;r!==null&&r.type&168;)n=r,r=n.parent;if(r===null)return t[wt];if(Ut(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===xt.None||o===xt.Emulated)return null}return dt(r,t)}function Dy(e,n,t){return vS(e,n,t)}function gS(e,n,t){return e.type&40?dt(e,t):null}var vS=gS,Jg;function eh(e,n,t,r){let o=by(e,r,n),i=n[ee],s=r.parent||n[je],a=Dy(s,r,n);if(o!=null)if(Array.isArray(t))for(let c=0;c<t.length;c++)Yg(i,o,t[c],a,!1);else Yg(i,o,t,a,!1);Jg!==void 0&&Jg(i,r,n,t,o)}function zi(e,n){if(n!==null){let t=n.type;if(t&3)return dt(n,e);if(t&4)return lf(-1,e[n.index]);if(t&8){let r=n.child;if(r!==null)return zi(e,r);{let o=e[n.index];return St(o)?lf(-1,o):ut(o)}}else{if(t&128)return zi(e,n.next);if(t&32)return Kf(n,e)()||ut(e[n.index]);{let r=Ey(e,n);if(r!==null){if(Array.isArray(r))return r[0];let o=An(e[He]);return zi(o,r)}else return zi(e,n.next)}}}return null}function Ey(e,n){if(n!==null){let r=e[He][je],o=n.projection;return r.projection[o]}return null}function lf(e,n){let t=de+e+1;if(t<n.length){let r=n[t],o=r[I].firstChild;if(o!==null)return zi(r,o)}return n[Fn]}function th(e,n,t,r,o,i,s){for(;t!=null;){let a=r[Be];if(t.type===128){t=t.next;continue}let c=r[t.index],l=t.type;if(s&&n===0&&(c&&Mo(ut(c),r),t.flags|=2),!Ic(t))if(l&8)th(e,n,t.child,r,o,i,!1),Co(n,e,a,o,c,t,i,r);else if(l&32){let u=Kf(t,r),d;for(;d=u();)Co(n,e,a,o,d,t,i,r);Co(n,e,a,o,c,t,i,r)}else l&16?Cy(e,n,r,t,o,i):Co(n,e,a,o,c,t,i,r);t=s?t.projectionNext:t.next}}function Rc(e,n,t,r,o,i){th(t,r,e.firstChild,n,o,i,!1)}function yS(e,n,t){let r=n[ee],o=by(e,t,n),i=t.parent||n[je],s=Dy(i,t,n);Cy(r,0,n,t,o,s)}function Cy(e,n,t,r,o,i){let s=t[He],c=s[je].projection[r.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++){let u=c[l];Co(n,e,t[Be],o,u,r,i,t)}else{let l=c,u=s[ye];Uv(r)&&(l.flags|=128),th(e,n,l,u,o,i,!0)}}function _S(e,n,t,r,o,i,s){let a=r[Fn],c=ut(r);a!==c&&Co(n,e,t,i,a,o,s);for(let l=de;l<r.length;l++){let u=r[l];Rc(u[I],u,e,n,i,a)}}function bS(e,n,t,r,o){if(n)o?e.addClass(t,r):e.removeClass(t,r);else{let i=r.indexOf("-")===-1?void 0:zt.DashCase;o==null?e.removeStyle(t,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=zt.Important),e.setStyle(t,r,o,i))}}function wy(e,n,t,r,o){let i=Tt(),s=r&2;try{Ln(-1),s&&n.length>K&&gy(e,n,K,!1);let a=s?z.TemplateUpdateStart:z.TemplateCreateStart;Y(a,o,t),t(r,o)}finally{Ln(i);let a=s?z.TemplateUpdateEnd:z.TemplateCreateEnd;Y(a,o,t)}}function Oc(e,n,t){IS(e,n,t),(t.flags&64)===64&&SS(e,n,t)}function ns(e,n,t=dt){let r=n.localNames;if(r!==null){let o=n.index+1;for(let i=0;i<r.length;i+=2){let s=r[i+1],a=s===-1?t(n,e):e[s];e[o++]=a}}}function DS(e,n,t,r){let i=r.get(Kv,Zv)||t===xt.ShadowDom||t===xt.ExperimentalIsolatedShadowDom,s=e.selectRootElement(n,i);if(s.tagName.toLowerCase()==="script")throw new b(905,!1);return ES(s),s}function ES(e){CS(e)}var CS=()=>null;function wS(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function Iy(e,n,t,r,o,i){let s=n[I];if(kc(e,s,n,t,r)){Ut(e)&&My(n,e.index);return}e.type&3&&(t=wS(t)),Sy(e,n,t,r,o,i)}function Sy(e,n,t,r,o,i){if(e.type&3){let s=dt(e,n);r=i!=null?i(r,e.value||"",t):r,o.setProperty(s,t,r)}else e.type&12}function My(e,n){let t=ft(n,e);t[N]&16||(t[N]|=64)}function IS(e,n,t){let r=t.directiveStart,o=t.directiveEnd;Ut(t)&&tS(n,t,e.data[r+t.componentOffset]),e.firstCreatePass||mc(t,n);let i=t.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=Wi(n,e,s,t);if(Mo(c,n),i!==null&&AS(n,s-r,c,a,t,i),Mt(a)){let l=ft(t.index,n);l[me]=Wi(n,e,s,t)}}}function SS(e,n,t){let r=t.directiveStart,o=t.directiveEnd,i=t.index,s=_g();try{Ln(i);for(let a=r;a<o;a++){let c=e.data[a],l=n[a];Ya(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&MS(c,l)}}finally{Ln(-1),Ya(s)}}function MS(e,n){e.hostBindings!==null&&e.hostBindings(1,n)}function nh(e,n){let t=e.directiveRegistry,r=null;if(t)for(let o=0;o<t.length;o++){let i=t[o];hy(n,i.selectors,!1)&&(r??=[],Mt(i)?r.unshift(i):r.push(i))}return r}function TS(e,n,t,r,o,i){let s=dt(e,n);Ty(n[ee],s,i,e.value,t,r,o)}function Ty(e,n,t,r,o,i,s){if(i==null)e.removeAttribute(n,o,t);else{let a=s==null?gr(i):s(i,r||"",o);e.setAttribute(n,o,a,t)}}function AS(e,n,t,r,o,i){let s=i[n];if(s!==null)for(let a=0;a<s.length;a+=2){let c=s[a],l=s[a+1];af(r,t,c,l)}}function rh(e,n,t,r,o){let i=K+t,s=n[I],a=o(s,n,e,r,t);n[i]=a,Cr(e,!0);let c=e.type===2;return c?(dy(n[ee],a,e),(ug()===0||go(e))&&Mo(a,n),dg()):Mo(a,n),Qa()&&(!c||!Ic(e))&&eh(s,n,a,e),e}function oh(e){let n=e;return Ed()?Cd():(n=n.parent,Cr(n,!1)),n}function ih(e,n){let t=e[Be];if(!t)return;let r;try{r=t.get(rn,null)}catch(o){r=null}r?.(n)}function kc(e,n,t,r,o){let i=e.inputs?.[r],s=e.hostDirectiveInputs?.[r],a=!1;if(s)for(let c=0;c<s.length;c+=2){let l=s[c],u=s[c+1],d=n.data[l];af(d,t[l],u,o),a=!0}if(i)for(let c of i){let l=t[c],u=n.data[c];af(u,l,r,o),a=!0}return a}function xS(e,n){let t=ft(n,e),r=t[I];NS(r,t);let o=t[wt];o!==null&&t[vr]===null&&(t[vr]=Jv(o,t[Be])),Y(z.ComponentStart);try{sh(r,t,t[me])}finally{Y(z.ComponentEnd,t[me])}}function NS(e,n){for(let t=n.length;t<e.blueprint.length;t++)n.push(e.blueprint[t])}function sh(e,n,t){Ka(n);try{let r=e.viewQuery;r!==null&&Xd(1,r,t);let o=e.template;o!==null&&wy(e,n,o,1,t),e.firstCreatePass&&(e.firstCreatePass=!1),n[Ht]?.finishViewCreation(e),e.staticContentQueries&&ey(e,n),e.staticViewQueries&&Xd(2,e.viewQuery,t);let i=e.components;i!==null&&RS(n,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{n[N]&=-5,Xa()}}function RS(e,n){for(let t=0;t<n.length;t++)xS(e,n[t])}function ko(e,n,t,r){let o=S(null);try{let i=n.tView,a=e[N]&4096?4096:16,c=qf(e,i,t,a,null,n,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),l=e[n.index];c[Rn]=l;let u=e[Ht];return u!==null&&(c[Ht]=u.createEmbeddedView(i)),sh(i,c,t),c}finally{S(o)}}function Tr(e,n){return!n||n.firstChild===null||Uv(e)}function Yi(e,n,t,r,o=!1){for(;t!==null;){if(t.type===128){t=o?t.projectionNext:t.next;continue}let i=n[t.index];i!==null&&r.push(ut(i)),St(i)&&Ay(i,r);let s=t.type;if(s&8)Yi(e,n,t.child,r);else if(s&32){let a=Kf(t,n),c;for(;c=a();)r.push(c)}else if(s&16){let a=Ey(n,t);if(Array.isArray(a))r.push(...a);else{let c=An(n[He]);Yi(c[I],c,a,r,!0)}}t=o?t.projectionNext:t.next}return r}function Ay(e,n){for(let t=de;t<e.length;t++){let r=e[t],o=r[I].firstChild;o!==null&&Yi(r[I],r,o,n)}e[Fn]!==e[wt]&&n.push(e[Fn])}function xy(e){if(e[br]!==null){for(let n of e[br])n.impl.addSequence(n);e[br].length=0}}var Ny=[];function OS(e){return e[tt]??kS(e)}function kS(e){let n=Ny.pop()??Object.create(PS);return n.lView=e,n}function FS(e){e.lView[tt]!==e&&(e.lView=null,Ny.push(e))}var PS=U(E({},yn),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{Er(e.lView)},consumerOnSignalRead(){this.lView[tt]=this}});function LS(e){let n=e[tt]??Object.create(VS);return n.lView=e,n}var VS=U(E({},yn),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let n=An(e.lView);for(;n&&!Ry(n[I]);)n=An(n);n&&hd(n)},consumerOnSignalRead(){this.lView[tt]=this}});function Ry(e){return e.type!==2}function Oy(e){if(e[Tn]===null)return;let n=!0;for(;n;){let t=!1;for(let r of e[Tn])r.dirty&&(t=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));n=t&&!!(e[N]&8192)}}var jS=100;function ky(e,n=0){let r=e[It].rendererFactory,o=!1;o||r.begin?.();try{BS(e,n)}finally{o||r.end?.()}}function BS(e,n){let t=Id();try{Mi(!0),uf(e,n);let r=0;for(;Vi(e);){if(r===jS)throw new b(103,!1);r++,uf(e,1)}}finally{Mi(t)}}function HS(e,n,t,r){if(Pn(n))return;let o=n[N],i=!1,s=!1;Ka(n);let a=!0,c=null,l=null;i||(Ry(e)?(l=OS(n),c=Yt(l)):Ks()===null?(a=!1,l=LS(n),c=Yt(l)):n[tt]&&(Dn(n[tt]),n[tt]=null));try{fd(n),gg(e.bindingStartIndex),t!==null&&wy(e,n,t,2,r);let u=(o&3)===3;if(!i)if(u){let p=e.preOrderCheckHooks;p!==null&&ic(n,p,null)}else{let p=e.preOrderHooks;p!==null&&sc(n,p,0,null),Od(n,0)}if(s||US(n),Oy(n),Fy(n,0),e.contentQueries!==null&&ey(e,n),!i)if(u){let p=e.contentCheckHooks;p!==null&&ic(n,p)}else{let p=e.contentHooks;p!==null&&sc(n,p,1),Od(n,1)}zS(e,n);let d=e.components;d!==null&&Ly(n,d,0);let h=e.viewQuery;if(h!==null&&Xd(2,h,r),!i)if(u){let p=e.viewCheckHooks;p!==null&&ic(n,p)}else{let p=e.viewHooks;p!==null&&sc(n,p,2),Od(n,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),n[Ua]){for(let p of n[Ua])p();n[Ua]=null}i||(xy(n),n[N]&=-73)}catch(u){throw i||Er(n),u}finally{l!==null&&(bn(l,c),a&&FS(l)),Xa()}}function Fy(e,n){for(let t=zv(e);t!==null;t=Gv(t))for(let r=de;r<t.length;r++){let o=t[r];Py(o,n)}}function US(e){for(let n=zv(e);n!==null;n=Gv(n)){if(!(n[N]&2))continue;let t=n[Dr];for(let r=0;r<t.length;r++){let o=t[r];hd(o)}}}function $S(e,n,t){Y(z.ComponentStart);let r=ft(n,e);try{Py(r,t)}finally{Y(z.ComponentEnd,r[me])}}function Py(e,n){$a(e)&&uf(e,n)}function uf(e,n){let r=e[I],o=e[N],i=e[tt],s=!!(n===0&&o&16);if(s||=!!(o&64&&n===0),s||=!!(o&1024),s||=!!(i?.dirty&&Yr(i)),s||=!1,i&&(i.dirty=!1),e[N]&=-9217,s)HS(r,e,r.template,e[me]);else if(o&8192){let a=S(null);try{Oy(e),Fy(e,1);let c=r.components;c!==null&&Ly(e,c,1),xy(e)}finally{S(a)}}}function Ly(e,n,t){for(let r=0;r<n.length;r++)$S(e,n[r],t)}function zS(e,n){let t=e.hostBindingOpCodes;if(t!==null)try{for(let r=0;r<t.length;r++){let o=t[r];if(o<0)Ln(~o);else{let i=o,s=t[++r],a=t[++r];yg(s,i);let c=n[i];Y(z.HostBindingsUpdateStart,c);try{a(2,c)}finally{Y(z.HostBindingsUpdateEnd,c)}}}}finally{Ln(-1)}}function Fc(e,n){let t=Id()?64:1088;for(e[It].changeDetectionScheduler?.notify(n);e;){e[N]|=t;let r=An(e);if(vo(e)&&!r)return e;e=r}return null}function Vy(e,n,t,r){return[e,!0,0,n,null,r,null,t,null,null]}function jy(e,n){let t=de+n;if(t<e.length)return e[t]}function Fo(e,n,t,r=!0){let o=n[I];if(GS(o,n,e,t),r){let s=lf(t,e),a=n[ee],c=a.parentNode(e[Fn]);c!==null&&uS(o,e[je],a,n,c,s)}let i=n[vr];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function ah(e,n){let t=Zi(e,n);return t!==void 0&&Nc(t[I],t),t}function Zi(e,n){if(e.length<=de)return;let t=de+n,r=e[t];if(r){let o=r[Rn];o!==null&&o!==e&&Jf(o,r),n>0&&(e[t-1][lt]=r[lt]);let i=Oi(e,de+n);lS(r[I],r);let s=i[Ht];s!==null&&s.detachView(i[I]),r[ye]=null,r[lt]=null,r[N]&=-129}return r}function GS(e,n,t,r){let o=de+r,i=t.length;r>0&&(t[o-1][lt]=n),r<i-de?(n[lt]=t[o],nd(t,de+r,n)):(t.push(n),n[lt]=null),n[ye]=t;let s=n[Rn];s!==null&&t!==s&&By(s,n);let a=n[Ht];a!==null&&a.insertView(e),za(n),n[N]|=128}function By(e,n){let t=e[Dr],r=n[ye];if(en(r))e[N]|=2;else{let o=r[ye][He];n[He]!==o&&(e[N]|=2)}t===null?e[Dr]=[n]:t.push(n)}var Hn=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let n=this._lView,t=n[I];return Yi(t,n,t.firstChild,[])}constructor(n,t){this._lView=n,this._cdRefInjectingView=t}get context(){return this._lView[me]}set context(n){this._lView[me]=n}get destroyed(){return Pn(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let n=this._lView[ye];if(St(n)){let t=n[Pi],r=t?t.indexOf(this):-1;r>-1&&(Zi(n,r),Oi(t,r))}this._attachedToViewContainer=!1}Nc(this._lView[I],this._lView)}onDestroy(n){Ga(this._lView,n)}markForCheck(){Fc(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[N]&=-129}reattach(){za(this._lView),this._lView[N]|=128}detectChanges(){this._lView[N]|=1024,ky(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new b(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let n=vo(this._lView),t=this._lView[Rn];t!==null&&!n&&Jf(t,this._lView),_y(this._lView[I],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new b(902,!1);this._appRef=n;let t=vo(this._lView),r=this._lView[Rn];r!==null&&!t&&By(r,this._lView),za(this._lView)}};var ke=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=WS;constructor(t,r,o){this._declarationLView=t,this._declarationTContainer=r,this.elementRef=o}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,r){return this.createEmbeddedViewImpl(t,r)}createEmbeddedViewImpl(t,r,o){let i=ko(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:r,dehydratedView:o});return new Hn(i)}}return e})();function WS(){return Pc(fe(),w())}function Pc(e,n){return e.type&4?new ke(n,e,Oo(e,n)):null}function Or(e,n,t,r,o){let i=e.data[n];if(i===null)i=qS(e,n,t,r,o),vg()&&(i.flags|=32);else if(i.type&64){i.type=t,i.value=r,i.attrs=o;let s=pg();i.injectorIndex=s===null?-1:s.injectorIndex}return Cr(i,!0),i}function qS(e,n,t,r,o){let i=Dd(),s=Ed(),a=s?i:i&&i.parent,c=e.data[n]=ZS(e,a,t,n,r,o);return YS(e,c,i,s),c}function YS(e,n,t,r){e.firstChild===null&&(e.firstChild=n),t!==null&&(r?t.child==null&&n.parent!==null&&(t.child=n):t.next===null&&(t.next=n,n.prev=t))}function ZS(e,n,t,r,o,i){let s=n?n.injectorIndex:-1,a=0;return yd()&&(a|=128),{type:t,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,namespace:Td(),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:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function KS(e){let n=e[kn]??[],r=e[ye][ee],o=[];for(let i of n)i.data[Ff]!==void 0?o.push(i):XS(i,r);e[kn]=o}function XS(e,n){let t=0,r=e.firstChild;if(r){let o=e.data[Yv];for(;t<o;){let i=r.nextSibling;uy(n,r,!1),r=i,t++}}}var QS=()=>null,JS=()=>null;function vc(e,n){return QS(e,n)}function Hy(e,n,t){return JS(e,n,t)}var Uy=class{},Lc=class{},df=class{resolveComponentFactory(n){throw new b(917,!1)}},Vc=class{static NULL=new df},Se=class{},Xe=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>eM()}return e})();function eM(){let e=w(),n=fe(),t=ft(n.index,e);return(en(t)?t:e)[ee]}var $y=(()=>{class e{static \u0275prov=y({token:e,providedIn:"root",factory:()=>null})}return e})();var cc={},Io=class{injector;parentInjector;constructor(n,t){this.injector=n,this.parentInjector=t}get(n,t,r){let o=this.injector.get(n,cc,r);return o!==cc||t===cc?o:this.parentInjector.get(n,t,r)}};function yc(e,n,t){let r=t?e.styles:null,o=t?e.classes:null,i=0;if(n!==null)for(let s=0;s<n.length;s++){let a=n[s];if(typeof a=="number")i=a;else if(i==1)o=Fa(o,a);else if(i==2){let c=a,l=n[++s];r=Fa(r,c+": "+l+";")}}t?e.styles=r:e.stylesWithoutHost=r,t?e.classes=o:e.classesWithoutHost=o}function j(e,n=0){let t=w();if(t===null)return T(e,n);let r=fe();return Vv(r,t,we(e),n)}function tM(){let e="invalid";throw new Error(e)}function zy(e,n,t,r,o){let i=r===null?null:{"":-1},s=o(e,t);if(s!==null){let a=s,c=null,l=null;for(let u of s)if(u.resolveHostDirectives!==null){[a,c,l]=u.resolveHostDirectives(s);break}oM(e,n,t,a,i,c,l)}i!==null&&r!==null&&nM(t,r,i)}function nM(e,n,t){let r=e.localNames=[];for(let o=0;o<n.length;o+=2){let i=t[n[o+1]];if(i==null)throw new b(-301,!1);r.push(n[o],i)}}function rM(e,n,t){n.componentOffset=t,(e.components??=[]).push(n.index)}function oM(e,n,t,r,o,i,s){let a=r.length,c=null;for(let h=0;h<a;h++){let p=r[h];c===null&&Mt(p)&&(c=p,rM(e,t,h)),qd(mc(t,n),e,p.type)}uM(t,e.data.length,a),c?.viewProvidersResolver&&c.viewProvidersResolver(c);for(let h=0;h<a;h++){let p=r[h];p.providersResolver&&p.providersResolver(p)}let l=!1,u=!1,d=my(e,n,a,null);a>0&&(t.directiveToIndex=new Map);for(let h=0;h<a;h++){let p=r[h];if(t.mergedAttrs=So(t.mergedAttrs,p.hostAttrs),sM(e,t,n,d,p),lM(d,p,o),s!==null&&s.has(p)){let[v,_]=s.get(p);t.directiveToIndex.set(p.type,[d,v+t.directiveStart,_+t.directiveStart])}else(i===null||!i.has(p))&&t.directiveToIndex.set(p.type,d);p.contentQueries!==null&&(t.flags|=4),(p.hostBindings!==null||p.hostAttrs!==null||p.hostVars!==0)&&(t.flags|=64);let m=p.type.prototype;!l&&(m.ngOnChanges||m.ngOnInit||m.ngDoCheck)&&((e.preOrderHooks??=[]).push(t.index),l=!0),!u&&(m.ngOnChanges||m.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(t.index),u=!0),d++}iM(e,t,i)}function iM(e,n,t){for(let r=n.directiveStart;r<n.directiveEnd;r++){let o=e.data[r];if(t===null||!t.has(o))ev(0,n,o,r),ev(1,n,o,r),nv(n,r,!1);else{let i=t.get(o);tv(0,n,i,r),tv(1,n,i,r),nv(n,r,!0)}}}function ev(e,n,t,r){let o=e===0?t.inputs:t.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s;e===0?s=n.inputs??={}:s=n.outputs??={},s[i]??=[],s[i].push(r),Gy(n,i)}}function tv(e,n,t,r){let o=e===0?t.inputs:t.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s=o[i],a;e===0?a=n.hostDirectiveInputs??={}:a=n.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,i),Gy(n,s)}}function Gy(e,n){n==="class"?e.flags|=8:n==="style"&&(e.flags|=16)}function nv(e,n,t){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!t&&o===null||t&&i===null||Gf(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(!t&&o.hasOwnProperty(c)){let l=o[c];for(let u of l)if(u===n){s??=[],s.push(c,r[a+1]);break}}else if(t&&i.hasOwnProperty(c)){let l=i[c];for(let u=0;u<l.length;u+=2)if(l[u]===n){s??=[],s.push(l[u+1],r[a+1]);break}}a+=2}e.initialInputs??=[],e.initialInputs.push(s)}function sM(e,n,t,r,o){e.data[r]=o;let i=o.factory||(o.factory=Mn(o.type,!0)),s=new Sr(i,Mt(o),j,null);e.blueprint[r]=s,t[r]=s,aM(e,n,r,my(e,t,o.hostVars,$e),o)}function aM(e,n,t,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~n.index;cM(s)!=a&&s.push(a),s.push(t,r,i)}}function cM(e){let n=e.length;for(;n>0;){let t=e[--n];if(typeof t=="number"&&t<0)return t}return 0}function lM(e,n,t){if(t){if(n.exportAs)for(let r=0;r<n.exportAs.length;r++)t[n.exportAs[r]]=e;Mt(n)&&(t[""]=e)}}function uM(e,n,t){e.flags|=1,e.directiveStart=n,e.directiveEnd=n+t,e.providerIndexes=n}function ch(e,n,t,r,o,i,s,a){let c=n[I],l=c.consts,u=nt(l,s),d=Or(c,e,t,r,u);return i&&zy(c,n,d,nt(l,a),o),d.mergedAttrs=So(d.mergedAttrs,d.attrs),d.attrs!==null&&yc(d,d.attrs,!1),d.mergedAttrs!==null&&yc(d,d.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,d),d}function lh(e,n){Av(e,n),ld(n)&&e.queries.elementEnd(n)}function dM(e,n,t,r,o,i){let s=n.consts,a=nt(s,o),c=Or(n,e,t,r,a);if(c.mergedAttrs=So(c.mergedAttrs,c.attrs),i!=null){let l=nt(s,i);c.localNames=[];for(let u=0;u<l.length;u+=2)c.localNames.push(l[u],-1)}return c.attrs!==null&&yc(c,c.attrs,!1),c.mergedAttrs!==null&&yc(c,c.mergedAttrs,!0),n.queries!==null&&n.queries.elementStart(n,c),c}function uh(e){return qy(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function Wy(e,n){if(Array.isArray(e))for(let t=0;t<e.length;t++)n(e[t]);else{let t=e[Symbol.iterator](),r;for(;!(r=t.next()).done;)n(r.value)}}function qy(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function rs(e,n,t){return e[n]=t}function Yy(e,n){return e[n]}function Ke(e,n,t){if(t===$e)return!1;let r=e[n];return Object.is(r,t)?!1:(e[n]=t,!0)}function To(e,n,t,r){let o=Ke(e,n,t);return Ke(e,n+1,r)||o}function fM(e,n,t,r,o){let i=To(e,n,t,r);return Ke(e,n+2,o)||i}function hM(e,n,t,r,o,i){let s=To(e,n,t,r);return To(e,n+2,o,i)||s}function lc(e,n,t){return function r(o){let i=r.__ngNativeEl__;i!==void 0&&aI(o,i);let s=Ut(e)?ft(e.index,n):n;Fc(s,5);let a=n[me],c=rv(n,a,t,o),l=r.__ngNextListenerFn__;for(;l;)c=rv(n,a,l,o)&&c,l=l.__ngNextListenerFn__;return c}}function rv(e,n,t,r){let o=S(null);try{return Y(z.OutputStart,n,t),t(r)!==!1}catch(i){return ih(e,i),!1}finally{Y(z.OutputEnd,n,t),S(o)}}function Zy(e,n,t,r,o,i,s,a){let c=go(e),l=!1,u=null;if(!r&&c&&(u=mM(n,t,i,e.index)),u!==null){let d=u.__ngLastListenerFn__||u;d.__ngNextListenerFn__=s,u.__ngLastListenerFn__=s,l=!0}else{let d=dt(e,t),h=r?r(d):d;lI(t,h,i,a),r||(a.__ngNativeEl__=d);let p=o.listen(h,i,a);if(!pM(i)){let m=r?v=>r(ut(v[e.index])):e.index;Ky(m,n,t,i,a,p,!1)}}return l}function pM(e){return e.startsWith("animation")||e.startsWith("transition")}function mM(e,n,t,r){let o=e.cleanup;if(o!=null)for(let i=0;i<o.length-1;i+=2){let s=o[i];if(s===t&&o[i+1]===r){let a=n[po],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function Ky(e,n,t,r,o,i,s){let a=n.firstCreatePass?gd(n):null,c=md(t),l=c.length;c.push(o,i),a&&a.push(r,e,l,(l+1)*(s?-1:1))}function ov(e,n,t,r,o,i){let s=n[t],a=n[I],l=a.data[t].outputs[r],d=s[l].subscribe(i);Ky(e.index,a,n,o,i,d,!0)}var ff=Symbol("BINDING");function Xy(e){return e.debugInfo?.className||e.type.name||null}var hf=class extends Vc{ngModule;constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){let t=Qt(n);return new Ao(t,this.ngModule)}};function gM(e){return Object.keys(e).map(n=>{let[t,r,o]=e[n],i={propName:t,templateName:n,isSignal:(r&Tc.SignalBased)!==0};return o&&(i.transform=o),i})}function vM(e){return Object.keys(e).map(n=>({propName:e[n],templateName:n}))}function yM(e,n,t){let r=n instanceof ue?n:n?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new Io(t,r):t}function _M(e){let n=e.get(Se,null);if(n===null)throw new b(407,!1);let t=e.get($y,null),r=e.get(Et,null),o=e.get(Nt,null,{optional:!0});return{rendererFactory:n,sanitizer:t,changeDetectionScheduler:r,ngReflect:!1,tracingService:o}}function bM(e,n){let t=Qy(e);return cy(n,t,t==="svg"?ud:t==="math"?ig:null)}function Qy(e){return(e.selectors[0][0]||"div").toLowerCase()}var Ao=class extends Lc{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=gM(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=vM(this.componentDef.outputs),this.cachedOutputs}constructor(n,t){super(),this.componentDef=n,this.ngModule=t,this.componentType=n.type,this.selector=XI(n.selectors),this.ngContentSelectors=n.ngContentSelectors??[],this.isBoundToModule=!!t}create(n,t,r,o,i,s){Y(z.DynamicComponentStart);let a=S(null);try{let c=this.componentDef,l=yM(c,o||this.ngModule,n),u=_M(l),d=u.tracingService;return d&&d.componentCreate?d.componentCreate(Xy(c),()=>this.createComponentRef(u,l,t,r,i,s)):this.createComponentRef(u,l,t,r,i,s)}finally{S(a)}}createComponentRef(n,t,r,o,i,s){let a=this.componentDef,c=DM(o,a,s,i),l=n.rendererFactory.createRenderer(null,a),u=o?DS(l,o,a.encapsulation,t):bM(a,l),d=s?.some(iv)||i?.some(m=>typeof m!="function"&&m.bindings.some(iv)),h=qf(null,c,null,512|py(a),null,null,n,l,t,null,Jv(u,t,!0));h[K]=u,Ka(h);let p=null;try{let m=ch(K,h,2,"#host",()=>c.directiveRegistry,!0,0);dy(l,u,m),Mo(u,h),Oc(c,h,m),Vf(c,m,h),lh(c,m),r!==void 0&&CM(m,this.ngContentSelectors,r),p=ft(m.index,h),h[me]=p[me],sh(c,h,null)}catch(m){throw p!==null&&Zd(p),Zd(h),m}finally{Y(z.DynamicComponentEnd),Xa()}return new _c(this.componentType,h,!!d)}};function DM(e,n,t,r){let o=e?["ng-version","21.2.16"]:QI(n.selectors[0]),i=null,s=null,a=0;if(t)for(let u of t)a+=u[ff].requiredVars,u.create&&(u.targetIdx=0,(i??=[]).push(u)),u.update&&(u.targetIdx=0,(s??=[]).push(u));if(r)for(let u=0;u<r.length;u++){let d=r[u];if(typeof d!="function")for(let h of d.bindings){a+=h[ff].requiredVars;let p=u+1;h.create&&(h.targetIdx=p,(i??=[]).push(h)),h.update&&(h.targetIdx=p,(s??=[]).push(h))}}let c=[n];if(r)for(let u of r){let d=typeof u=="function"?u:u.type,h=Ri(d);c.push(h)}return Wf(0,null,EM(i,s),1,a,c,null,null,null,[o],null)}function EM(e,n){return!e&&!n?null:t=>{if(t&1&&e)for(let r of e)r.create();if(t&2&&n)for(let r of n)r.update()}}function iv(e){let n=e[ff].kind;return n==="input"||n==="twoWay"}var _c=class extends Uy{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(n,t,r){super(),this._rootLView=t,this._hasInputBindings=r,this._tNode=yo(t[I],K),this.location=Oo(this._tNode,t),this.instance=ft(this._tNode.index,t)[me],this.hostView=this.changeDetectorRef=new Hn(t,void 0),this.componentType=n}setInput(n,t){this._hasInputBindings;let r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(n)&&Object.is(this.previousInputValues.get(n),t))return;let o=this._rootLView,i=kc(r,o[I],o,n,t);this.previousInputValues.set(n,t);let s=ft(r.index,o);Fc(s,1)}get injector(){return new Ir(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}};function CM(e,n,t){let r=e.projection=[];for(let o=0;o<n.length;o++){let i=t[o];r.push(i!=null&&i.length?Array.from(i):null)}}var ze=(()=>{class e{static __NG_ELEMENT_ID__=wM}return e})();function wM(){let e=fe();return Jy(e,w())}var pf=class e extends ze{_lContainer;_hostTNode;_hostLView;constructor(n,t,r){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=r}get element(){return Oo(this._hostTNode,this._hostLView)}get injector(){return new Ir(this._hostTNode,this._hostLView)}get parentInjector(){let n=Nf(this._hostTNode,this._hostLView);if(Rv(n)){let t=hc(n,this._hostLView),r=fc(n),o=t[I].data[r+8];return new Ir(o,t)}else return new Ir(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){let t=sv(this._lContainer);return t!==null&&t[n]||null}get length(){return this._lContainer.length-de}createEmbeddedView(n,t,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=vc(this._lContainer,n.ssrId),a=n.createEmbeddedViewImpl(t||{},i,s);return this.insertImpl(a,o,Tr(this._hostTNode,s)),a}createComponent(n,t,r,o,i,s,a){let c=n&&!Pw(n),l;if(c)l=t;else{let _=t||{};l=_.index,r=_.injector,o=_.projectableNodes,i=_.environmentInjector||_.ngModuleRef,s=_.directives,a=_.bindings}let u=c?n:new Ao(Qt(n)),d=r||this.parentInjector;if(!i&&u.ngModule==null){let D=(c?d:this.parentInjector).get(ue,null);D&&(i=D)}let h=Qt(u.componentType??{}),p=vc(this._lContainer,h?.id??null),m=p?.firstChild??null,v=u.create(d,o,m,i,s,a);return this.insertImpl(v.hostView,l,Tr(this._hostTNode,p)),v}insert(n,t){return this.insertImpl(n,t,!0)}insertImpl(n,t,r){let o=n._lView;if(ag(o)){let a=this.indexOf(n);if(a!==-1)this.detach(a);else{let c=o[ye],l=new e(c,c[je],c[ye]);l.detach(l.indexOf(n))}}let i=this._adjustIndex(t),s=this._lContainer;return Fo(s,o,i,r),n.attachToViewContainerRef(),nd(Pd(s),i,n),n}move(n,t){return this.insert(n,t)}indexOf(n){let t=sv(this._lContainer);return t!==null?t.indexOf(n):-1}remove(n){let t=this._adjustIndex(n,-1),r=Zi(this._lContainer,t);r&&(Oi(Pd(this._lContainer),t),Nc(r[I],r))}detach(n){let t=this._adjustIndex(n,-1),r=Zi(this._lContainer,t);return r&&Oi(Pd(this._lContainer),t)!=null?new Hn(r):null}_adjustIndex(n,t=0){return n??this.length+t}};function sv(e){return e[Pi]}function Pd(e){return e[Pi]||(e[Pi]=[])}function Jy(e,n){let t,r=n[e.index];return St(r)?t=r:(t=Vy(r,n,null,e),n[e.index]=t,Yf(n,t)),SM(t,n,e,r),new pf(t,e,n)}function IM(e,n){let t=e[ee],r=t.createComment(""),o=dt(n,e),i=t.parentNode(o);return gc(t,i,r,t.nextSibling(o),!1),r}var SM=TM,MM=()=>!1;function e_(e,n,t){return MM(e,n,t)}function TM(e,n,t,r){if(e[Fn])return;let o;t.type&8?o=ut(r):o=IM(n,t),e[Fn]=o}var mf=class e{queryList;matches=null;constructor(n){this.queryList=n}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},gf=class e{queries;constructor(n=[]){this.queries=n}createEmbeddedView(n){let t=n.queries;if(t!==null){let r=n.contentQueries!==null?n.contentQueries[0]:t.length,o=[];for(let i=0;i<r;i++){let s=t.getByIndex(i),a=this.queries[s.indexInDeclarationView];o.push(a.clone())}return new e(o)}return null}insertView(n){this.dirtyQueriesWithMatches(n)}detachView(n){this.dirtyQueriesWithMatches(n)}finishViewCreation(n){this.dirtyQueriesWithMatches(n)}dirtyQueriesWithMatches(n){for(let t=0;t<this.queries.length;t++)fh(n,t).matches!==null&&this.queries[t].setDirty()}},bc=class{flags;read;predicate;constructor(n,t,r=null){this.flags=t,this.read=r,typeof n=="string"?this.predicate=OM(n):this.predicate=n}},vf=class e{queries;constructor(n=[]){this.queries=n}elementStart(n,t){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(n,t)}elementEnd(n){for(let t=0;t<this.queries.length;t++)this.queries[t].elementEnd(n)}embeddedTView(n){let t=null;for(let r=0;r<this.length;r++){let o=t!==null?t.length:0,i=this.getByIndex(r).embeddedTView(n,o);i&&(i.indexInDeclarationView=r,t!==null?t.push(i):t=[i])}return t!==null?new e(t):null}template(n,t){for(let r=0;r<this.queries.length;r++)this.queries[r].template(n,t)}getByIndex(n){return this.queries[n]}get length(){return this.queries.length}track(n){this.queries.push(n)}},yf=class e{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(n,t=-1){this.metadata=n,this._declarationNodeIndex=t}elementStart(n,t){this.isApplyingToNode(t)&&this.matchTNode(n,t)}elementEnd(n){this._declarationNodeIndex===n.index&&(this._appliesToNextNode=!1)}template(n,t){this.elementStart(n,t)}embeddedTView(n,t){return this.isApplyingToNode(n)?(this.crossesNgTemplate=!0,this.addMatch(-n.index,t),new e(this.metadata)):null}isApplyingToNode(n){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let t=this._declarationNodeIndex,r=n.parent;for(;r!==null&&r.type&8&&r.index!==t;)r=r.parent;return t===(r!==null?r.index:-1)}return this._appliesToNextNode}matchTNode(n,t){let r=this.metadata.predicate;if(Array.isArray(r))for(let o=0;o<r.length;o++){let i=r[o];this.matchTNodeWithReadOption(n,t,AM(t,i)),this.matchTNodeWithReadOption(n,t,ac(t,n,i,!1,!1))}else r===ke?t.type&4&&this.matchTNodeWithReadOption(n,t,-1):this.matchTNodeWithReadOption(n,t,ac(t,n,r,!1,!1))}matchTNodeWithReadOption(n,t,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===H||o===ze||o===ke&&t.type&4)this.addMatch(t.index,-2);else{let i=ac(t,n,o,!1,!1);i!==null&&this.addMatch(t.index,i)}else this.addMatch(t.index,r)}}addMatch(n,t){this.matches===null?this.matches=[n,t]:this.matches.push(n,t)}};function AM(e,n){let t=e.localNames;if(t!==null){for(let r=0;r<t.length;r+=2)if(t[r]===n)return t[r+1]}return null}function xM(e,n){return e.type&11?Oo(e,n):e.type&4?Pc(e,n):null}function NM(e,n,t,r){return t===-1?xM(n,e):t===-2?RM(e,n,r):Wi(e,e[I],t,n)}function RM(e,n,t){if(t===H)return Oo(n,e);if(t===ke)return Pc(n,e);if(t===ze)return Jy(n,e)}function t_(e,n,t,r){let o=n[Ht].queries[r];if(o.matches===null){let i=e.data,s=t.matches,a=[];for(let c=0;s!==null&&c<s.length;c+=2){let l=s[c];if(l<0)a.push(null);else{let u=i[l];a.push(NM(n,u,s[c+1],t.metadata.read))}}o.matches=a}return o.matches}function _f(e,n,t,r){let o=e.queries.getByIndex(t),i=o.matches;if(i!==null){let s=t_(e,n,o,t);for(let a=0;a<i.length;a+=2){let c=i[a];if(c>0)r.push(s[a/2]);else{let l=i[a+1],u=n[-c];for(let d=de;d<u.length;d++){let h=u[d];h[Rn]===h[ye]&&_f(h[I],h,l,r)}if(u[Dr]!==null){let d=u[Dr];for(let h=0;h<d.length;h++){let p=d[h];_f(p[I],p,l,r)}}}}}return r}function dh(e,n){return e[Ht].queries[n].queryList}function n_(e,n,t){let r=new on((t&4)===4);return lg(e,n,r,r.destroy),(n[Ht]??=new gf).queries.push(new mf(r))-1}function r_(e,n,t){let r=Q();return r.firstCreatePass&&(i_(r,new bc(e,n,t),-1),(n&2)===2&&(r.staticViewQueries=!0)),n_(r,w(),n)}function o_(e,n,t,r){let o=Q();if(o.firstCreatePass){let i=fe();i_(o,new bc(n,t,r),i.index),kM(o,e),(t&2)===2&&(o.staticContentQueries=!0)}return n_(o,w(),t)}function OM(e){return e.split(",").map(n=>n.trim())}function i_(e,n,t){e.queries===null&&(e.queries=new vf),e.queries.track(new yf(n,t))}function kM(e,n){let t=e.contentQueries||(e.contentQueries=[]),r=t.length?t[t.length-1]:-1;n!==r&&t.push(e.queries.length-1,n)}function fh(e,n){return e.queries.getByIndex(n)}function s_(e,n){let t=e[I],r=fh(t,n);return r.crossesNgTemplate?_f(t,e,n,[]):t_(t,e,r,n)}function hh(e,n,t){let r,o=li(()=>{r._dirtyCounter();let i=FM(r,e);if(n&&i===void 0)throw new b(-951,!1);return i});return r=o[he],r._dirtyCounter=se(0),r._flatValue=void 0,o}function ph(e){return hh(!0,!1,e)}function mh(e){return hh(!0,!0,e)}function gh(e){return hh(!1,!1,e)}function a_(e,n){let t=e[he];t._lView=w(),t._queryIndex=n,t._queryList=dh(t._lView,n),t._queryList.onDirty(()=>t._dirtyCounter.update(r=>r+1))}function FM(e,n){let t=e._lView,r=e._queryIndex;if(t===void 0||r===void 0||t[N]&4)return n?void 0:Re;let o=dh(t,r),i=s_(t,r);return o.reset(i,Hv),n?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}var Un=class{};var Ki=class extends Un{injector;componentFactoryResolver=new hf(this);instance=null;constructor(n){super();let t=new pr([...n.providers,{provide:Un,useValue:this},{provide:Vc,useValue:this.componentFactoryResolver}],n.parent||fo(),n.debugName,new Set(["environment"]));this.injector=t,n.runEnvironmentInitializers&&t.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}};function vh(e,n,t=null){return new Ki({providers:e,parent:n,debugName:t,runEnvironmentInitializers:!0}).injector}var PM=(()=>{class e{_injector;cachedInjectors=new Map;constructor(t){this._injector=t}getOrCreateStandaloneInjector(t){if(!t.standalone)return null;if(!this.cachedInjectors.has(t)){let r=Ha(!1,t.type),o=r.length>0?vh([r],this._injector,""):null;this.cachedInjectors.set(t,o)}return this.cachedInjectors.get(t)}ngOnDestroy(){try{for(let t of this.cachedInjectors.values())t!==null&&t.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=y({token:e,providedIn:"environment",factory:()=>new e(T(ue))})}return e})();function ae(e){return Qi(()=>{let n=c_(e),t=U(E({},n),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Of.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:n.standalone?o=>o.get(PM).getOrCreateStandaloneInjector(t):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||xt.Emulated,styles:e.styles||Re,_:null,schemas:e.schemas||null,tView:null,id:""});n.standalone&&Wt("NgStandalone"),l_(t);let r=e.dependencies;return t.directiveDefs=av(r,LM),t.pipeDefs=av(r,Qu),t.id=BM(t),t})}function LM(e){return Qt(e)||Ri(e)}function q(e){return Qi(()=>({type:e.type,bootstrap:e.bootstrap||Re,declarations:e.declarations||Re,imports:e.imports||Re,exports:e.exports||Re,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function VM(e,n){if(e==null)return Ct;let t={};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=Tc.None,c=null),t[i]=[r,a,c],n[i]=s}return t}function jM(e){if(e==null)return Ct;let n={};for(let t in e)e.hasOwnProperty(t)&&(n[e[t]]=t);return n}function A(e){return Qi(()=>{let n=c_(e);return l_(n),n})}function jc(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 c_(e){let n={};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:n,inputConfig:e.inputs||Ct,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||Re,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,controlDef:null,inputs:VM(e.inputs,n),outputs:jM(e.outputs),debugInfo:null}}function l_(e){e.features?.forEach(n=>n(e))}function av(e,n){return e?()=>{let t=typeof e=="function"?e():e,r=[];for(let o of t){let i=n(o);i!==null&&r.push(i)}return r}:null}function BM(e){let n=0,t=typeof e.consts=="function"?"":e.consts,r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,t,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("|"))n=Math.imul(31,n)+i.charCodeAt(0)<<0;return n+=2147483648,"c"+n}function yh(e){let n=t=>{let r=Array.isArray(e);t.hostDirectives===null?(t.resolveHostDirectives=HM,t.hostDirectives=r?e.map(bf):[e]):r?t.hostDirectives.unshift(...e.map(bf)):t.hostDirectives.unshift(e)};return n.ngInherit=!0,n}function HM(e){let n=[],t=!1,r=null,o=null;for(let i=0;i<e.length;i++){let s=e[i];if(s.hostDirectives!==null){let a=n.length;r??=new Map,o??=new Map,u_(s,n,r),o.set(s,[a,n.length-1])}i===0&&Mt(s)&&(t=!0,n.push(s))}for(let i=t?1:0;i<e.length;i++)n.push(e[i]);return[n,r,o]}function u_(e,n,t){if(e.hostDirectives!==null)for(let r of e.hostDirectives)if(typeof r=="function"){let o=r();for(let i of o)cv(bf(i),n,t)}else cv(r,n,t)}function cv(e,n,t){let r=Ri(e.directive);UM(r.declaredInputs,e.inputs),u_(r,n,t),t.set(r,e),n.push(r)}function bf(e){return typeof e=="function"?{directive:we(e),inputs:Ct,outputs:Ct}:{directive:we(e.directive),inputs:lv(e.inputs),outputs:lv(e.outputs)}}function lv(e){if(e===void 0||e.length===0)return Ct;let n={};for(let t=0;t<e.length;t+=2)n[e[t]]=e[t+1];return n}function UM(e,n){for(let t in n)if(n.hasOwnProperty(t)){let r=n[t],o=e[t];e[r]=o}}function $M(e){return Object.getPrototypeOf(e.prototype).constructor}function W(e){let n=$M(e.type),t=!0,r=[e];for(;n&&n!==Function.prototype&&n!==Object.prototype;){let o,i=Object.hasOwn(n,xi)?n[xi]:void 0,s=Object.hasOwn(n,Ni)?n[Ni]:void 0;if(Mt(e))o=i??s;else{if(i)throw new b(903,!1);o=s}if(o){if(t){r.push(o);let c=e;c.inputs=Ld(e.inputs),c.declaredInputs=Ld(e.declaredInputs),c.outputs=Ld(e.outputs);let l=o.hostBindings;l&&YM(e,l);let u=o.viewQuery,d=o.contentQueries;if(u&&WM(e,u),d&&qM(e,d),zM(e,o),Gm(e.outputs,o.outputs),Mt(o)&&o.data.animation){let h=e.data;h.animation=(h.animation||[]).concat(o.data.animation)}}let a=o.features;if(a)for(let c=0;c<a.length;c++){let l=a[c];l&&l.ngInherit&&l(e),l===W&&(t=!1)}}n=Object.getPrototypeOf(n)}GM(r)}function zM(e,n){for(let t in n.inputs){if(!n.inputs.hasOwnProperty(t)||e.inputs.hasOwnProperty(t))continue;let r=n.inputs[t];r!==void 0&&(e.inputs[t]=r,e.declaredInputs[t]=n.declaredInputs[t])}}function GM(e){let n=0,t=null;for(let r=e.length-1;r>=0;r--){let o=e[r];o.hostVars=n+=o.hostVars,o.hostAttrs=So(o.hostAttrs,t=So(t,o.hostAttrs))}}function Ld(e){return e===Ct?{}:e===Re?[]:e}function WM(e,n){let t=e.viewQuery;t?e.viewQuery=(r,o)=>{n(r,o),t(r,o)}:e.viewQuery=n}function qM(e,n){let t=e.contentQueries;t?e.contentQueries=(r,o,i)=>{n(r,o,i),t(r,o,i)}:e.contentQueries=n}function YM(e,n){let t=e.hostBindings;t?e.hostBindings=(r,o)=>{n(r,o),t(r,o)}:e.hostBindings=n}function d_(e,n,t,r,o,i,s,a){if(t.firstCreatePass){e.mergedAttrs=So(e.mergedAttrs,e.attrs);let u=e.tView=Wf(2,e,o,i,s,t.directiveRegistry,t.pipeRegistry,null,t.schemas,t.consts,null);t.queries!==null&&(t.queries.template(t,e),u.queries=t.queries.embeddedTView(e))}a&&(e.flags|=a),Cr(e,!1);let c=KM(t,n,e,r);Qa()&&eh(t,n,c,e),Mo(c,n);let l=Vy(c,n,c,e);n[r+K]=l,Yf(n,l),e_(l,e,n)}function ZM(e,n,t,r,o,i,s,a,c,l,u){let d=t+K,h;return n.firstCreatePass?(h=Or(n,d,4,s||null,a||null),Wa()&&zy(n,e,h,nt(n.consts,l),nh),Av(n,h)):h=n.data[d],d_(h,e,n,t,r,o,i,c),go(h)&&Oc(n,e,h),l!=null&&ns(e,h,u),h}function Ar(e,n,t,r,o,i,s,a,c,l,u){let d=t+K,h;if(n.firstCreatePass){if(h=Or(n,d,4,s||null,a||null),l!=null){let p=nt(n.consts,l);h.localNames=[];for(let m=0;m<p.length;m+=2)h.localNames.push(p[m],-1)}}else h=n.data[d];return d_(h,e,n,t,r,o,i,c),l!=null&&ns(e,h,u),h}function Po(e,n,t,r,o,i,s,a){let c=w(),l=Q(),u=nt(l.consts,i);return ZM(c,l,e,n,t,r,o,u,void 0,s,a),Po}function f_(e,n,t,r,o,i,s,a){let c=w(),l=Q(),u=nt(l.consts,i);return Ar(c,l,e,n,t,r,o,u,void 0,s,a),f_}var KM=XM;function XM(e,n,t,r){return Bi(!0),n[ee].createComment("")}var Ze=(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})(Ze||{}),uv=0,QM=1,_e=(function(e){return e[e.Placeholder=0]="Placeholder",e[e.Loading=1]="Loading",e[e.Complete=2]="Complete",e[e.Error=3]="Error",e})(_e||{}),h_=(function(e){return e[e.Initial=-1]="Initial",e})(h_||{}),JM=0,Bc=1;var eT=4,tT=5,nT=6,rT=7,Vd=8,oT=9,_h=(function(e){return e[e.Manual=0]="Manual",e[e.Playthrough=1]="Playthrough",e})(_h||{});function p_(e,n,t){let r=g_(e);n[r]===null&&(n[r]=[]),n[r].push(t)}function uc(e,n){let t=g_(e),r=n[t];if(r!==null){for(let o of r)o();n[t]=null}}function m_(e){uc(1,e),uc(0,e),uc(2,e)}function g_(e){let n=eT;return e===1?n=tT:e===2&&(n=oT),n}function Hc(e){return e+1}function Lo(e,n){let t=e[I],r=Hc(n.index);return e[r]}function iT(e,n,t){let r=e[I],o=Hc(n);e[o]=t}function Vo(e,n){let t=Hc(n.index);return e.data[t]}function sT(e,n,t){let r=Hc(n);e.data[r]=t}function aT(e,n,t){let r=n[I],o=Vo(r,t);switch(e){case _e.Complete:return o.primaryTmplIndex;case _e.Loading:return o.loadingTmplIndex;case _e.Error:return o.errorTmplIndex;case _e.Placeholder:return o.placeholderTmplIndex;default:return null}}function dv(e,n){return n===_e.Placeholder?e.placeholderBlockConfig?.[uv]??null:n===_e.Loading?e.loadingBlockConfig?.[uv]??null:null}function cT(e){return e.loadingBlockConfig?.[QM]??null}function fv(e,n){if(!e||e.length===0)return n;let t=new Set(e);for(let r of n)t.add(r);return e.length===t.size?e:Array.from(t)}function lT(e,n){let t=n.primaryTmplIndex+K;return yo(e,t)}function uT(e,n){let t=n.get(hT),r=()=>t.remove(e);return t.add(e),r}var dT=()=>typeof requestIdleCallback<"u"?requestIdleCallback:setTimeout,fT=()=>typeof requestIdleCallback<"u"?cancelIdleCallback:clearTimeout,hT=(()=>{class e{executingCallbacks=!1;idleId=null;current=new Set;deferred=new Set;ngZone=f(M);requestIdleCallbackFn=dT().bind(globalThis);cancelIdleCallbackFn=fT().bind(globalThis);add(t){(this.executingCallbacks?this.deferred:this.current).add(t),this.idleId===null&&this.scheduleIdleCallback()}remove(t){let{current:r,deferred:o}=this;r.delete(t),o.delete(t),r.size===0&&o.size===0&&this.cancelIdleCallback()}scheduleIdleCallback(){let t=()=>{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(t))}cancelIdleCallback(){this.idleId!==null&&(this.cancelIdleCallbackFn(this.idleId),this.idleId=null)}ngOnDestroy(){this.cancelIdleCallback(),this.current.clear(),this.deferred.clear()}static \u0275prov=y({token:e,providedIn:"root",factory:()=>new e})}return e})();var pT=(()=>{class e{cachedInjectors=new Map;getOrCreateInjector(t,r,o,i){if(!this.cachedInjectors.has(t)){let s=o.length>0?vh(o,r,i):null;this.cachedInjectors.set(t,s)}return this.cachedInjectors.get(t)}ngOnDestroy(){try{for(let t of this.cachedInjectors.values())t!==null&&t.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=y({token:e,providedIn:"environment",factory:()=>new e})}return e})();var v_=new g("");function jd(e,n,t){return e.get(pT).getOrCreateInjector(n,e,t,"")}function mT(e,n,t){if(e instanceof Io){let o=e.injector,i=e.parentInjector,s=jd(i,n,t);return new Io(o,s)}let r=e.get(ue);if(r!==e){let o=jd(r,n,t);return new Io(e,o)}return jd(e,n,t)}function Bn(e,n,t,r=!1){let o=t[ye],i=o[I];if(Pn(o))return;let s=Lo(o,n),a=s[Bc],c=s[rT];if(!(c!==null&&e<c)&&hv(a,e)&&hv(s[JM]??-1,e)){let l=Vo(i,n),d=!r&&!0&&(cT(l)!==null||dv(l,_e.Loading)!==null||dv(l,_e.Placeholder))?_T:vT;try{d(e,s,t,n,o)}catch(h){ih(o,h)}}}function gT(e,n){let t=e[kn]?.findIndex(o=>o.data[Pf]===n[Bc])??-1;return{dehydratedView:t>-1?e[kn][t]:null,dehydratedViewIx:t}}function vT(e,n,t,r,o){Y(z.DeferBlockStateStart);let i=aT(e,o,r);if(i!==null){n[Bc]=e;let s=o[I],a=i+K,c=yo(s,a),l=0;ah(t,l);let u;if(e===_e.Complete){let m=Vo(s,r),v=m.providers;v&&v.length>0&&(u=mT(o[Be],m,v))}let{dehydratedView:d,dehydratedViewIx:h}=gT(t,n),p=ko(o,c,null,{injector:u,dehydratedView:d});if(Fo(t,p,l,Tr(c,d)),Fc(p,2),h>-1&&t[kn]?.splice(h,1),(e===_e.Complete||e===_e.Error)&&Array.isArray(n[Vd])){for(let m of n[Vd])m();n[Vd]=null}}Y(z.DeferBlockStateEnd)}function hv(e,n){return e<n}function yT(e,n){let t=e[n.index];Bn(_e.Placeholder,n,t)}function pv(e,n,t){e.loadingPromise.then(()=>{e.loadingState===Ze.COMPLETE?Bn(_e.Complete,n,t):e.loadingState===Ze.FAILED&&Bn(_e.Error,n,t)})}var _T=null;function jo(e){return typeof e=="function"&&e[he]!==void 0}function bh(e){return jo(e)&&typeof e.set=="function"}var Dh=new g("");function Bo(e){return!!e&&typeof e.then=="function"}function Eh(e){return!!e&&typeof e.subscribe=="function"}var y_=new g("");var Ch=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((t,r)=>{this.resolve=t,this.reject=r});appInits=f(y_,{optional:!0})??[];injector=f(O);constructor(){}runInitializers(){if(this.initialized)return;let t=[];for(let o of this.appInits){let i=ho(this.injector,o);if(Bo(i))t.push(i);else if(Eh(i)){let s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});t.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(t).then(()=>{r()}).catch(o=>{this.reject(o)}),t.length===0&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),__=new g("");function b_(){du(()=>{let e="";throw new b(600,e)})}function D_(e){return e.isBoundToModule}var bT=10;var ot=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=f(rn);afterRenderManager=f(xc);zonelessEnabled=f(Eo);rootEffectScheduler=f(ec);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new C;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=f(Vn);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(X(t=>!t))}constructor(){f(Nt,{optional:!0})}whenStable(){let t;return new Promise(r=>{t=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{t.unsubscribe()})}_injector=f(ue);_rendererFactory=null;get injector(){return this._injector}bootstrap(t,r){return this.bootstrapImpl(t,r)}bootstrapImpl(t,r,o=O.NULL){return this._injector.get(M).run(()=>{Y(z.BootstrapComponentStart);let s=t instanceof Lc;if(!this._injector.get(Ch).done){let m="";throw new b(405,m)}let c;s?c=t:c=this._injector.get(Vc).resolveComponentFactory(t),this.componentTypes.push(c.componentType);let l=D_(c)?void 0:this._injector.get(Un),u=r||c.selector,d=c.create(o,[],u,l),h=d.location.nativeElement,p=d.injector.get(Dh,null);return p?.registerApplication(h),d.onDestroy(()=>{this.detachView(d.hostView),Gi(this.components,d),p?.unregisterApplication(h)}),this._loadComponent(d),Y(z.BootstrapComponentEnd,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){Y(z.ChangeDetectionStart),this.tracingSnapshot!==null?this.tracingSnapshot.run(Ac.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw Y(z.ChangeDetectionEnd),new b(101,!1);let t=S(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,S(t),this.afterTick.next(),Y(z.ChangeDetectionEnd)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Se,null,{optional:!0}));let t=0;for(;this.dirtyFlags!==0&&t++<bT;){Y(z.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{Y(z.ChangeDetectionSyncEnd)}}}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let t=!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&&!Vi(o))continue;let i=r&&!this.zonelessEnabled?0:1;ky(o,i),t=!0}if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}t||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:t})=>Vi(t))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(t){let r=t;this._views.push(r),r.attachToAppRef(this)}detachView(t){let r=t;Gi(this._views,r),r.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView);try{this.tick()}catch(o){this.internalErrorHandler(o)}this.components.push(t),this._injector.get(__,[]).forEach(o=>o(t))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(t=>t()),this._views.slice().forEach(t=>t.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(t){return this._destroyListeners.push(t),()=>Gi(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new b(406,!1);let t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Gi(e,n){let t=e.indexOf(n);t>-1&&e.splice(t,1)}function DT(e){let n=w(),t=fe();if(yT(n,t),!C_(0,n))return;let r=n[Be],o=Lo(n,t),i=e(()=>ET(0,n,t),r);p_(0,o,i)}function E_(e,n,t){let r=n[Be],o=n[I];if(e.loadingState!==Ze.NOT_STARTED)return e.loadingPromise??Promise.resolve();let i=Lo(n,t),s=lT(o,e);e.loadingState=Ze.IN_PROGRESS,uc(1,i);let a=e.dependencyResolverFn,c=r.get(jn).add();return a?(e.loadingPromise=Promise.allSettled(a()).then(l=>{let u=!1,d=null,h=[],p=[];for(let m=0;m<l.length;m++){let v=l[m];if(v.status==="fulfilled"){let _=v.value,D=Qt(_)||Ri(_);if(D)h.push(D);else{let k=Qu(_);k&&p.push(k)}}else{u=!0,d=v.reason instanceof Error?v.reason:new Error(String(v.reason));break}}if(u){if(e.loadingState=Ze.FAILED,e.errorTmplIndex===null){let v="",_=new b(-750,v);ih(n,_)}}else{e.loadingState=Ze.COMPLETE;let m=s.tView;if(h.length>0){m.directiveRegistry=fv(m.directiveRegistry,h);let v=h.map(D=>D.type),_=Ha(!1,...v);e.providers=_}p.length>0&&(m.pipeRegistry=fv(m.pipeRegistry,p))}}),e.loadingPromise.finally(()=>{e.loadingPromise=null,c()})):(e.loadingPromise=Promise.resolve().then(()=>{e.loadingPromise=null,e.loadingState=Ze.COMPLETE,c()}),e.loadingPromise)}function C_(e,n){return n[Be].get(v_,null,{optional:!0})?.behavior!==_h.Manual}function ET(e,n,t){let r=n[I],o=n[t.index];if(!C_(e,n))return;let i=Lo(n,t),s=Vo(r,t);switch(m_(i),s.loadingState){case Ze.NOT_STARTED:Bn(_e.Loading,t,o),E_(s,n,t),s.loadingState===Ze.IN_PROGRESS&&pv(s,t,o);break;case Ze.IN_PROGRESS:Bn(_e.Loading,t,o),pv(s,t,o);break;case Ze.COMPLETE:Bn(_e.Complete,t,o);break;case Ze.FAILED:Bn(_e.Error,t,o);break;default:}}function CT(e,n,t){return e===0?mv(n,t):e===2?!mv(n,t):!0}function wT(e){return e!=null&&(e&1)===1}function mv(e,n){let t=e[Be],r=Vo(e[I],n),o=Lf(t),i=wT(r.flags),a=Lo(e,n)[nT]!==null;return!(i&&a&&o)}function IT(e,n,t,r,o,i,s,a,c,l){let u=w(),d=Q(),h=e+K,p=Ar(u,d,e,null,0,0),m=u[Be],v=Lf(m);if(d.firstCreatePass){Wt("NgDefer");let yt={primaryTmplIndex:n,loadingTmplIndex:r??null,placeholderTmplIndex:o??null,errorTmplIndex:i??null,placeholderBlockConfig:null,loadingBlockConfig:null,dependencyResolverFn:t??null,loadingState:Ze.NOT_STARTED,loadingPromise:null,providers:null,hydrateTriggers:null,debug:null,flags:l??0};c?.(d,yt,a,s),sT(d,h,yt)}let _=u[h];e_(_,p,u);let D=null,k=null;if(_[kn]?.length>0){let yt=_[kn][0].data;k=yt[Ff]??null,D=yt[Pf]}let Me=[null,h_.Initial,null,null,null,null,k,D,null,null];iT(u,h,Me);let le=null;k!==null&&v&&(le=m.get(Qv),le.add(k,{lView:u,tNode:p,lContainer:_}));let gn=()=>{m_(Me),k!==null&&le?.cleanup([k])};p_(0,Me,()=>pd(u,gn)),Ga(u,gn)}function ST(){let e=w(),n=fe();CT(0,e,n)&&DT(uT)}function w_(e,n){let t=w(),r=nn();if(Ke(t,r,n)){let o=Q(),i=bo();if(kc(i,o,t,e,n))Ut(i)&&My(t,i.index);else{let a=dt(i,t);Ty(t[ee],a,null,i.value,e,n,null)}}return w_}function Fe(e,n,t,r){let o=w(),i=nn();if(Ke(o,i,n)){let s=Q(),a=bo();TS(a,o,e,n,t,r)}return Fe}var Df=class{destroy(n){}updateValue(n,t){}swap(n,t){let r=Math.min(n,t),o=Math.max(n,t),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(n,t){this.attach(t,this.detach(n))}};function Bd(e,n,t,r,o){return e===t&&Object.is(n,r)?1:Object.is(o(e,n),o(t,r))?-1:0}function MT(e,n,t,r){let o,i,s=0,a=e.length-1,c=void 0;if(Array.isArray(n)){S(r);let l=n.length-1;for(S(null);s<=a&&s<=l;){let u=e.at(s),d=n[s],h=Bd(s,u,s,d,t);if(h!==0){h<0&&e.updateValue(s,d),s++;continue}let p=e.at(a),m=n[l],v=Bd(a,p,l,m,t);if(v!==0){v<0&&e.updateValue(a,m),a--,l--;continue}let _=t(s,u),D=t(a,p),k=t(s,d);if(Object.is(k,D)){let Me=t(l,m);Object.is(Me,_)?(e.swap(s,a),e.updateValue(a,m),l--,a--):e.move(a,s),e.updateValue(s,d),s++;continue}if(o??=new Dc,i??=vv(e,s,a,t),Ef(e,o,s,k))e.updateValue(s,d),s++,a++;else if(i.has(k))o.set(_,e.detach(s)),a--;else{let Me=e.create(s,n[s]);e.attach(s,Me),s++,a++}}for(;s<=l;)gv(e,o,t,s,n[s]),s++}else if(n!=null){S(r);let l=n[Symbol.iterator]();S(null);let u=l.next();for(;!u.done&&s<=a;){let d=e.at(s),h=u.value,p=Bd(s,d,s,h,t);if(p!==0)p<0&&e.updateValue(s,h),s++,u=l.next();else{o??=new Dc,i??=vv(e,s,a,t);let m=t(s,h);if(Ef(e,o,s,m))e.updateValue(s,h),s++,a++,u=l.next();else if(!i.has(m))e.attach(s,e.create(s,h)),s++,a++,u=l.next();else{let v=t(s,d);o.set(v,e.detach(s)),a--}}}for(;!u.done;)gv(e,o,t,e.length,u.value),u=l.next()}for(;s<=a;)e.destroy(e.detach(a--));o?.forEach(l=>{e.destroy(l)})}function Ef(e,n,t,r){return n!==void 0&&n.has(r)?(e.attach(t,n.get(r)),n.delete(r),!0):!1}function gv(e,n,t,r,o){if(Ef(e,n,r,t(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function vv(e,n,t,r){let o=new Set;for(let i=n;i<=t;i++)o.add(r(i,e.at(i)));return o}var Dc=class{kvMap=new Map;_vMap=void 0;has(n){return this.kvMap.has(n)}delete(n){if(!this.has(n))return!1;let t=this.kvMap.get(n);return this._vMap!==void 0&&this._vMap.has(t)?(this.kvMap.set(n,this._vMap.get(t)),this._vMap.delete(t)):this.kvMap.delete(n),!0}get(n){return this.kvMap.get(n)}set(n,t){if(this.kvMap.has(n)){let r=this.kvMap.get(n);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,t)}else this.kvMap.set(n,t)}forEach(n){for(let[t,r]of this.kvMap)if(n(r,t),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),n(r,t)}}};function TT(e,n,t,r,o,i,s,a){Wt("NgControlFlow");let c=w(),l=Q(),u=nt(l.consts,i);return Ar(c,l,e,n,t,r,o,u,256,s,a),wh}function wh(e,n,t,r,o,i,s,a){Wt("NgControlFlow");let c=w(),l=Q(),u=nt(l.consts,i);return Ar(c,l,e,n,t,r,o,u,512,s,a),wh}function AT(e,n){Wt("NgControlFlow");let t=w(),r=nn(),o=t[r]!==$e?t[r]:-1,i=o!==-1?Ec(t,K+o):void 0,s=0;if(Ke(t,r,e)){let a=S(null);try{if(i!==void 0&&ah(i,s),e!==-1){let c=K+e,l=Ec(t,c),u=Sf(t[I],c),d=Hy(l,u,t),h=ko(t,u,n,{dehydratedView:d});Fo(l,h,s,Tr(u,d))}}finally{S(a)}}else if(i!==void 0){let a=jy(i,s);a!==void 0&&(a[me]=n)}}var Cf=class{lContainer;$implicit;$index;constructor(n,t,r){this.lContainer=n,this.$implicit=t,this.$index=r}get $count(){return this.lContainer.length-de}};function xT(e){return e}function NT(e,n){return n}var wf=class{hasEmptyBlock;trackByFn;liveCollection;constructor(n,t,r){this.hasEmptyBlock=n,this.trackByFn=t,this.liveCollection=r}};function RT(e,n,t,r,o,i,s,a,c,l,u,d,h){Wt("NgControlFlow");let p=w(),m=Q(),v=c!==void 0,_=w(),D=a?s.bind(_[He][me]):s,k=new wf(v,D);_[K+e]=k,Ar(p,m,e+1,n,t,r,o,nt(m.consts,i),256),v&&Ar(p,m,e+2,c,l,u,d,nt(m.consts,h),512)}var If=class extends Df{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(n,t,r){super(),this.lContainer=n,this.hostLView=t,this.templateTNode=r}get length(){return this.lContainer.length-de}at(n){return this.getLView(n)[me].$implicit}attach(n,t){let r=t[vr];this.needsIndexUpdate||=n!==this.length,Fo(this.lContainer,t,n,Tr(this.templateTNode,r)),kT(this.lContainer,n)}detach(n){return this.needsIndexUpdate||=n!==this.length-1,FT(this.lContainer,n),PT(this.lContainer,n)}create(n,t){let r=vc(this.lContainer,this.templateTNode.tView.ssrId);return ko(this.hostLView,this.templateTNode,new Cf(this.lContainer,t,n),{dehydratedView:r})}destroy(n){Nc(n[I],n)}updateValue(n,t){this.getLView(n)[me].$implicit=t}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let n=0;n<this.length;n++)this.getLView(n)[me].$index=n}getLView(n){return LT(this.lContainer,n)}};function OT(e){let n=S(null),t=Tt();try{let r=w(),o=r[I],i=r[t],s=t+1,a=Ec(r,s);if(i.liveCollection===void 0){let l=Sf(o,s);i.liveCollection=new If(a,r,l)}else i.liveCollection.reset();let c=i.liveCollection;if(MT(c,e,i.trackByFn,n),c.updateIndexes(),i.hasEmptyBlock){let l=nn(),u=c.length===0;if(Ke(r,l,u)){let d=t+2,h=Ec(r,d);if(u){let p=Sf(o,d),m=Hy(h,p,r),v=ko(r,p,void 0,{dehydratedView:m});Fo(h,v,0,Tr(p,m))}else o.firstUpdatePass&&KS(h),ah(h,0)}}}finally{S(n)}}function Ec(e,n){return e[n]}function kT(e,n){if(e.length<=de)return;let t=de+n,r=e[t],o=r?r[On]:void 0;if(r&&o&&o.detachedLeaveAnimationFns&&o.detachedLeaveAnimationFns.length>0){let i=r[Be];aS(i,o),Mr.delete(r[Jt]),o.detachedLeaveAnimationFns=void 0}}function FT(e,n){if(e.length<=de)return;let t=de+n,r=e[t],o=r?r[On]:void 0;o&&o.leave&&o.leave.size>0&&(o.detachedLeaveAnimationFns=[])}function PT(e,n){return Zi(e,n)}function LT(e,n){return jy(e,n)}function Sf(e,n){return yo(e,n)}function I_(e,n,t){let r=w(),o=nn();if(Ke(r,o,n)){let i=Q(),s=bo();Iy(s,r,e,n,r[ee],t)}return I_}function Mf(e,n,t,r,o){kc(n,e,t,o?"class":"style",r)}function xo(e,n,t,r){let o=w(),i=o[I],s=e+K,a=i.firstCreatePass?ch(s,o,2,n,nh,Wa(),t,r):i.data[s];if(Ut(a)){let c=o[It].tracingService;if(c&&c.componentCreate){let l=i.data[a.directiveStart+a.componentOffset];return c.componentCreate(Xy(l),()=>(yv(e,n,o,a,r),xo))}}return yv(e,n,o,a,r),xo}function yv(e,n,t,r,o){if(rh(r,t,e,n,M_),go(r)){let i=t[I];Oc(i,t,r),Vf(i,r,t)}o!=null&&ns(t,r)}function os(){let e=Q(),n=fe(),t=oh(n);return e.firstCreatePass&&lh(e,t),_d(t)&&bd(),vd(),t.classesWithoutHost!=null&&Uw(t)&&Mf(e,t,w(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&$w(t)&&Mf(e,t,w(),t.stylesWithoutHost,!1),os}function S_(e,n,t,r){return xo(e,n,t,r),os(),S_}function cn(e,n,t,r){let o=w(),i=o[I],s=e+K,a=i.firstCreatePass?dM(s,i,2,n,t,r):i.data[s];return rh(a,o,e,n,M_),r!=null&&ns(o,a),cn}function ln(){let e=fe(),n=oh(e);return _d(n)&&bd(),vd(),ln}function Qe(e,n,t,r){return cn(e,n,t,r),ln(),Qe}var M_=(e,n,t,r,o)=>(Bi(!0),cy(n[ee],r,Td()));function Ih(e,n,t){let r=w(),o=r[I],i=e+K,s=o.firstCreatePass?ch(i,r,8,"ng-container",nh,Wa(),n,t):o.data[i];if(rh(s,r,e,"ng-container",VT),go(s)){let a=r[I];Oc(a,r,s),Vf(a,s,r)}return t!=null&&ns(r,s),Ih}function Sh(){let e=Q(),n=fe(),t=oh(n);return e.firstCreatePass&&lh(e,t),Sh}function T_(e,n,t){return Ih(e,n,t),Sh(),T_}var VT=(e,n,t,r,o)=>(Bi(!0),kI(n[ee],""));function jT(){return w()}function is(e,n,t){let r=w(),o=nn();if(Ke(r,o,n)){let i=Q(),s=bo();Sy(s,r,e,n,r[ee],t)}return is}var Ui=void 0;function BT(e){let n=Math.floor(Math.abs(e)),t=e.toString().replace(/^[^.]*\.?/,"").length;return n===1&&t===0?1:5}var HT=["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"]],Ui,[["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"]],Ui,[["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}",Ui,Ui,Ui],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",BT],Hd=Object.create(null);function it(e){let n=UT(e),t=_v(n);if(t)return t;let r=n.split("-")[0];if(t=_v(r),t)return t;if(r==="en")return HT;throw new b(701,!1)}function _v(e){return e in Hd||(Hd[e]=ct.ng&&ct.ng.common&&ct.ng.common.locales&&ct.ng.common.locales[e]),Hd[e]}var ge=(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})(ge||{});function UT(e){return e.toLowerCase().replace(/_/g,"-")}var ss="en-US";var $T=ss;function A_(e){typeof e=="string"&&($T=e.toLowerCase().replace(/_/g,"-"))}function zn(e,n,t){let r=w(),o=Q(),i=fe();return N_(o,r,r[ee],i,e,n,t),zn}function x_(e,n,t){let r=w(),o=Q(),i=fe();return(i.type&3||t)&&Zy(i,o,r,t,r[ee],e,n,lc(i,r,n)),x_}function N_(e,n,t,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=lc(r,n,i),Zy(r,e,n,s,t,o,i,c)&&(a=!1)),a){let l=r.outputs?.[o],u=r.hostDirectiveOutputs?.[o];if(u&&u.length)for(let d=0;d<u.length;d+=2){let h=u[d],p=u[d+1];c??=lc(r,n,i),ov(r,n,h,p,o,c)}if(l&&l.length)for(let d of l)c??=lc(r,n,i),ov(r,n,d,o,o,c)}}function zT(e=1){return wg(e)}function GT(e,n){let t=null,r=WI(e);for(let o=0;o<n.length;o++){let i=n[o];if(i==="*"){t=o;continue}if(r===null?hy(e,i,!0):ZI(r,i))return o}return t}function Ot(e){let n=w()[He][je];if(!n.projection){let t=e?e.length:1,r=n.projection=Xm(t,null),o=r.slice(),i=n.child;for(;i!==null;){if(i.type!==128){let s=e?GT(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function xe(e,n=0,t,r,o,i){let s=w(),a=Q(),c=r?e+1:null;c!==null&&Ar(s,a,c,r,o,i,null,t);let l=Or(a,K+e,16,null,t||null);l.projection===null&&(l.projection=n),Cd();let d=!s[vr]||yd();s[He][je].projection[l.projection]===null&&c!==null?WT(s,a,c):d&&!Ic(l)&&yS(a,s,l)}function WT(e,n,t){let r=K+t,o=n.data[r],i=e[r],s=vc(i,o.tView.ssrId),a=ko(e,o,void 0,{dehydratedView:s});Fo(i,a,0,Tr(o,s))}function R_(e,n,t,r){return o_(e,n,t,r),R_}function Ho(e,n,t){return r_(e,n,t),Ho}function as(e){let n=w(),t=Q(),r=Za();ji(r+1);let o=fh(t,r);if(e.dirty&&sg(n)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=s_(n,r);e.reset(i,Hv),e.notifyOnChanges()}return!0}return!1}function cs(){return dh(w(),Za())}function O_(e,n,t,r,o){return a_(n,o_(e,t,r,o)),O_}function k_(e,n,t,r){return a_(e,r_(n,t,r)),k_}function qT(e=1){ji(Za()+e)}function YT(e){let n=wd();return _o(n,K+e)}function oc(e,n){return e<<17|n<<2}function xr(e){return e>>17&32767}function ZT(e){return(e&2)==2}function KT(e,n){return e&131071|n<<17}function Tf(e){return e|2}function No(e){return(e&131068)>>2}function Ud(e,n){return e&-131069|n<<2}function XT(e){return(e&1)===1}function Af(e){return e|1}function QT(e,n,t,r,o,i){let s=i?n.classBindings:n.styleBindings,a=xr(s),c=No(s);e[r]=t;let l=!1,u;if(Array.isArray(t)){let d=t;u=d[1],(u===null||lo(d,u)>0)&&(l=!0)}else u=t;if(o)if(c!==0){let h=xr(e[a+1]);e[r+1]=oc(h,a),h!==0&&(e[h+1]=Ud(e[h+1],r)),e[a+1]=KT(e[a+1],r)}else e[r+1]=oc(a,0),a!==0&&(e[a+1]=Ud(e[a+1],r)),a=r;else e[r+1]=oc(c,0),a===0?a=r:e[c+1]=Ud(e[c+1],r),c=r;l&&(e[r+1]=Tf(e[r+1])),bv(e,u,r,!0),bv(e,u,r,!1),JT(n,u,e,r,i),s=oc(a,c),i?n.classBindings=s:n.styleBindings=s}function JT(e,n,t,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof n=="string"&&lo(i,n)>=0&&(t[r+1]=Af(t[r+1]))}function bv(e,n,t,r){let o=e[t+1],i=n===null,s=r?xr(o):No(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],l=e[s+1];e0(c,n)&&(a=!0,e[s+1]=r?Af(l):Tf(l)),s=r?xr(l):No(l)}a&&(e[t+1]=r?Tf(o):Af(o))}function e0(e,n){return e===null||n==null||(Array.isArray(e)?e[1]:e)===n?!0:Array.isArray(e)&&typeof n=="string"?lo(e,n)>=0:!1}var Ie={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function F_(e){return e.substring(Ie.key,Ie.keyEnd)}function t0(e){return e.substring(Ie.value,Ie.valueEnd)}function n0(e){return V_(e),P_(e,Ro(e,0,Ie.textEnd))}function P_(e,n){let t=Ie.textEnd;return t===n?-1:(n=Ie.keyEnd=o0(e,Ie.key=n,t),Ro(e,n,t))}function r0(e){return V_(e),L_(e,Ro(e,0,Ie.textEnd))}function L_(e,n){let t=Ie.textEnd,r=Ie.key=Ro(e,n,t);return t===r?-1:(r=Ie.keyEnd=i0(e,r,t),r=Dv(e,r,t,58),r=Ie.value=Ro(e,r,t),r=Ie.valueEnd=s0(e,r,t),Dv(e,r,t,59))}function V_(e){Ie.key=0,Ie.keyEnd=0,Ie.value=0,Ie.valueEnd=0,Ie.textEnd=e.length}function Ro(e,n,t){for(;n<t&&e.charCodeAt(n)<=32;)n++;return n}function o0(e,n,t){for(;n<t&&e.charCodeAt(n)>32;)n++;return n}function i0(e,n,t){let r;for(;n<t&&((r=e.charCodeAt(n))===45||r===95||(r&-33)>=65&&(r&-33)<=90||r>=48&&r<=57);)n++;return n}function Dv(e,n,t,r){return n=Ro(e,n,t),n<t&&n++,n}function s0(e,n,t){let r=-1,o=-1,i=-1,s=n,a=s;for(;s<t;){let c=e.charCodeAt(s++);if(c===59)return a;c===34||c===39?a=s=Ev(e,c,s,t):n===s-4&&i===85&&o===82&&r===76&&c===40?a=s=Ev(e,41,s,t):c>32&&(a=s),i=o,o=r,r=c&-33}return a}function Ev(e,n,t,r){let o=-1,i=t;for(;i<r;){let s=e.charCodeAt(i++);if(s==n&&o!==92)return i;s==92&&o===92?o=0:o=s}throw new Error}function Uc(e,n,t){return j_(e,n,t,!1),Uc}function De(e,n){return j_(e,n,null,!0),De}function a0(e){B_($_,c0,e,!1)}function c0(e,n){for(let t=r0(n);t>=0;t=L_(n,t))$_(e,F_(n),t0(n))}function ls(e){B_(m0,l0,e,!0)}function l0(e,n){for(let t=n0(n);t>=0;t=P_(n,t))ki(e,F_(n),!0)}function j_(e,n,t,r){let o=w(),i=Q(),s=qa(2);if(i.firstUpdatePass&&U_(i,e,s,r),n!==$e&&Ke(o,s,n)){let a=i.data[Tt()];z_(i,a,o,o[ee],e,o[s+1]=v0(n,t),r,s)}}function B_(e,n,t,r){let o=Q(),i=qa(2);o.firstUpdatePass&&U_(o,null,i,r);let s=w();if(t!==$e&&Ke(s,i,t)){let a=o.data[Tt()];if(G_(a,r)&&!H_(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(t=Fa(c,t||"")),Mf(o,a,s,t,r)}else g0(o,a,s,s[ee],s[i+1],s[i+1]=p0(e,n,t),r,i)}}function H_(e,n){return n>=e.expandoStartIndex}function U_(e,n,t,r){let o=e.data;if(o[t+1]===null){let i=o[Tt()],s=H_(e,t);G_(i,r)&&n===null&&!s&&(n=!1),n=u0(o,i,n,r),QT(o,i,n,t,s,r)}}function u0(e,n,t,r){let o=bg(e),i=r?n.residualClasses:n.residualStyles;if(o===null)(r?n.classBindings:n.styleBindings)===0&&(t=$d(null,e,n,t,r),t=Xi(t,n.attrs,r),i=null);else{let s=n.directiveStylingLast;if(s===-1||e[s]!==o)if(t=$d(o,e,n,t,r),i===null){let c=d0(e,n,r);c!==void 0&&Array.isArray(c)&&(c=$d(null,e,n,c[1],r),c=Xi(c,n.attrs,r),f0(e,n,r,c))}else i=h0(e,n,r)}return i!==void 0&&(r?n.residualClasses=i:n.residualStyles=i),t}function d0(e,n,t){let r=t?n.classBindings:n.styleBindings;if(No(r)!==0)return e[xr(r)]}function f0(e,n,t,r){let o=t?n.classBindings:n.styleBindings;e[xr(o)]=r}function h0(e,n,t){let r,o=n.directiveEnd;for(let i=1+n.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=Xi(r,s,t)}return Xi(r,n.attrs,t)}function $d(e,n,t,r,o){let i=null,s=t.directiveEnd,a=t.directiveStylingLast;for(a===-1?a=t.directiveStart:a++;a<s&&(i=n[a],r=Xi(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(t.directiveStylingLast=a),r}function Xi(e,n,t){let r=t?1:2,o=-1;if(n!==null)for(let i=0;i<n.length;i++){let s=n[i];typeof s=="number"?o=s:o===r&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),ki(e,s,t?!0:n[++i]))}return e===void 0?null:e}function p0(e,n,t){if(t==null||t==="")return Re;let r=[],o=rt(t);if(Array.isArray(o))for(let i=0;i<o.length;i++)e(r,o[i],!0);else if(o instanceof Set)for(let i of o)e(r,i,!0);else if(typeof o=="object")for(let i in o)o.hasOwnProperty(i)&&e(r,i,o[i]);else typeof o=="string"&&n(r,o);return r}function $_(e,n,t){ki(e,n,rt(t))}function m0(e,n,t){let r=String(n);r!==""&&!r.includes(" ")&&ki(e,r,t)}function g0(e,n,t,r,o,i,s,a){o===$e&&(o=Re);let c=0,l=0,u=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;u!==null||d!==null;){let h=c<o.length?o[c+1]:void 0,p=l<i.length?i[l+1]:void 0,m=null,v;u===d?(c+=2,l+=2,h!==p&&(m=d,v=p)):d===null||u!==null&&u<d?(c+=2,m=u):(l+=2,m=d,v=p),m!==null&&z_(e,n,t,r,m,v,s,a),u=c<o.length?o[c]:null,d=l<i.length?i[l]:null}}function z_(e,n,t,r,o,i,s,a){if(!(n.type&3))return;let c=e.data,l=c[a+1],u=XT(l)?Cv(c,n,t,o,No(l),s):void 0;if(!Cc(u)){Cc(i)||ZT(l)&&(i=Cv(c,null,t,o,a,s));let d=dd(Tt(),t);bS(r,s,d,o,i)}}function Cv(e,n,t,r,o,i){let s=n===null,a;for(;o>0;){let c=e[o],l=Array.isArray(c),u=l?c[1]:c,d=u===null,h=t[o+1];h===$e&&(h=d?Re:void 0);let p=d?Ba(h,r):u===r?h:void 0;if(l&&!Cc(p)&&(p=Ba(c,r)),Cc(p)&&(a=p,s))return a;let m=e[o+1];o=s?xr(m):No(m)}if(n!==null){let c=i?n.residualClasses:n.residualStyles;c!=null&&(a=Ba(c,r))}return a}function Cc(e){return e!==void 0}function v0(e,n){return e==null||e===""||(typeof n=="string"?e=e+n:typeof e=="object"&&(e=ka(rt(e)))),e}function G_(e,n){return(e.flags&(n?8:16))!==0}function y0(e,n=""){let t=w(),r=Q(),o=e+K,i=r.firstCreatePass?Or(r,o,1,n,null):r.data[o],s=_0(r,t,i,n);t[o]=s,Qa()&&eh(r,t,s,i),Cr(i,!1)}var _0=(e,n,t,r)=>(Bi(!0),RI(n[ee],r));function W_(e,n,t,r=""){return Ke(e,nn(),t)?n+gr(t)+r:$e}function b0(e,n,t,r,o,i=""){let s=mg(),a=To(e,s,t,o);return qa(2),a?n+gr(t)+r+gr(o)+i:$e}function q_(e){return Mh("",e),q_}function Mh(e,n,t){let r=w(),o=W_(r,e,n,t);return o!==$e&&Z_(r,Tt(),o),Mh}function Y_(e,n,t,r,o){let i=w(),s=b0(i,e,n,t,r,o);return s!==$e&&Z_(i,Tt(),s),Y_}function Z_(e,n,t){let r=dd(n,e);OI(e[ee],r,t)}function K_(e,n,t){bh(n)&&(n=n());let r=w(),o=nn();if(Ke(r,o,n)){let i=Q(),s=bo();Iy(s,r,e,n,r[ee],t)}return K_}function D0(e,n){let t=bh(e);return t&&e.set(n),t}function X_(e,n){let t=w(),r=Q(),o=fe();return N_(r,t,t[ee],o,e,n),X_}var Q_={};function J_(e){Wt("NgLet");let n=Q(),t=w(),r=e+K,o=Or(n,r,128,null,null);return Cr(o,!1),Li(n,t,r,Q_),J_}function E0(e){let n=Q(),t=w(),r=Tt();return Li(n,t,r,e),e}function C0(e){let n=wd(),t=_o(n,K+e);if(t===Q_)throw new b(314,!1);return t}function w0(e,n,t=""){return W_(w(),e,n,t)}function wv(e,n,t){let r=Q();r.firstCreatePass&&eb(n,r.data,r.blueprint,Mt(e),t)}function eb(e,n,t,r,o){if(e=we(e),Array.isArray(e))for(let i=0;i<e.length;i++)eb(e[i],n,t,r,o);else{let i=Q(),s=w(),a=fe(),c=hr(e)?e:we(e.provide),l=sd(e),u=a.providerIndexes&1048575,d=a.directiveStart,h=a.providerIndexes>>20;if(hr(e)||!e.multi){let p=new Sr(l,o,j,null),m=Gd(c,n,o?u:u+h,d);m===-1?(qd(mc(a,s),i,c),zd(i,e,n.length),n.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),t.push(p),s.push(p)):(t[m]=p,s[m]=p)}else{let p=Gd(c,n,u+h,d),m=Gd(c,n,u,u+h),v=p>=0&&t[p],_=m>=0&&t[m];if(o&&!_||!o&&!v){qd(mc(a,s),i,c);let D=M0(o?S0:I0,t.length,o,r,l,e);!o&&_&&(t[m].providerFactory=D),zd(i,e,n.length,0),n.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),t.push(D),s.push(D)}else{let D=tb(t[o?m:p],l,!o&&r);zd(i,e,p>-1?p:m,D)}!o&&r&&_&&t[m].componentProviders++}}}function zd(e,n,t,r){let o=hr(n),i=ng(n);if(o||i){let c=(i?we(n.useClass):n).prototype.ngOnDestroy;if(c){let l=e.destroyHooks||(e.destroyHooks=[]);if(!o&&n.multi){let u=l.indexOf(t);u===-1?l.push(t,[r,c]):l[u+1].push(r,c)}else l.push(t,c)}}}function tb(e,n,t){return t&&e.componentProviders++,e.multi.push(n)-1}function Gd(e,n,t,r){for(let o=t;o<r;o++)if(n[o]===e)return o;return-1}function I0(e,n,t,r,o){return xf(this.multi,[])}function S0(e,n,t,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=Wi(r,r[I],this.providerFactory.index,o);s=c.slice(0,a),xf(i,s);for(let l=a;l<c.length;l++)s.push(c[l])}else s=[],xf(i,s);return s}function xf(e,n){for(let t=0;t<e.length;t++){let r=e[t];n.push(r())}return n}function M0(e,n,t,r,o,i){let s=new Sr(e,t,j,null);return s.multi=[],s.index=n,s.componentProviders=0,tb(s,o,r&&!t),s}function Pe(e,n){return t=>{t.providersResolver=(r,o)=>wv(r,o?o(e):e,!1),n&&(t.viewProvidersResolver=(r,o)=>wv(r,o?o(n):n,!0))}}function T0(e,n){let t=tn()+e,r=w();return r[t]===$e?rs(r,t,n()):Yy(r,t)}function A0(e,n,t){return nb(w(),tn(),e,n,t)}function x0(e,n,t,r){return rb(w(),tn(),e,n,t,r)}function N0(e,n,t,r,o){return ob(w(),tn(),e,n,t,r,o)}function R0(e,n,t,r,o,i,s,a){let c=tn()+e,l=w(),u=hM(l,c,t,r,o,i);return To(l,c+4,s,a)||u?rs(l,c+6,n(t,r,o,i,s,a)):Yy(l,c+6)}function Th(e,n){let t=e[n];return t===$e?void 0:t}function nb(e,n,t,r,o,i){let s=n+t;return Ke(e,s,o)?rs(e,s+1,i?r.call(i,o):r(o)):Th(e,s+1)}function rb(e,n,t,r,o,i,s){let a=n+t;return To(e,a,o,i)?rs(e,a+2,s?r.call(s,o,i):r(o,i)):Th(e,a+2)}function ob(e,n,t,r,o,i,s,a){let c=n+t;return fM(e,c,o,i,s)?rs(e,c+3,a?r.call(a,o,i,s):r(o,i,s)):Th(e,c+3)}function O0(e,n){let t=Q(),r,o=e+K;t.firstCreatePass?(r=k0(n,t.pipeRegistry),t.data[o]=r,r.onDestroy&&(t.destroyHooks??=[]).push(o,r.onDestroy)):r=t.data[o];let i=r.factory||(r.factory=Mn(r.type,!0)),s,a=Ve(j);try{let c=pc(!1),l=i();return pc(c),Li(t,w(),o,l),l}finally{Ve(a)}}function k0(e,n){if(n)for(let t=n.length-1;t>=0;t--){let r=n[t];if(e===r.name)return r}}function F0(e,n,t){let r=e+K,o=w(),i=_o(o,r);return Ah(o,r)?nb(o,tn(),n,i.transform,t,i):i.transform(t)}function P0(e,n,t,r){let o=e+K,i=w(),s=_o(i,o);return Ah(i,o)?rb(i,tn(),n,s.transform,t,r,s):s.transform(t,r)}function L0(e,n,t,r,o){let i=e+K,s=w(),a=_o(s,i);return Ah(s,i)?ob(s,tn(),n,a.transform,t,r,o,a):a.transform(t,r,o)}function Ah(e,n){return e[I].data[n].pure}function V0(e,n){return Pc(e,n)}var ib=(()=>{class e{applicationErrorHandler=f(rn);appRef=f(ot);taskService=f(Vn);ngZone=f(M);zonelessEnabled=f(Eo);tracing=f(Nt,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new B;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Ti):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(f(Ja,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{let t=this.taskService.add();if(!this.runningTick&&(this.cleanup(),!this.zonelessEnabled||this.appRef.includeAllTestViews)){this.taskService.remove(t);return}this.switchToMicrotaskScheduler(),this.taskService.remove(t)})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()}))}switchToMicrotaskScheduler(){this.ngZone.runOutsideAngular(()=>{let t=this.taskService.add();this.useMicrotaskScheduler=!0,queueMicrotask(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(t)})})}notify(t){if(!this.zonelessEnabled&&t===5)return;switch(t){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?xg:xd;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(Ti+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let t=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(t),this.cleanup()}}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let t=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(t)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function sb(){return[{provide:Et,useExisting:ib},{provide:M,useClass:Ai},{provide:Eo,useValue:!0}]}function j0(){return typeof $localize<"u"&&$localize.locale||ss}var us=new g("",{factory:()=>f(us,{optional:!0,skipSelf:!0})||j0()});var $c=class{destroyed=!1;listeners=null;errorHandler=f(Oe,{optional:!0});destroyRef=f(Ye);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(n){if(this.destroyed)throw new b(953,!1);return(this.listeners??=[]).push(n),{unsubscribe:()=>{let t=this.listeners?.indexOf(n);t!==void 0&&t!==-1&&this.listeners?.splice(t,1)}}}emit(n){if(this.destroyed){console.warn(xn(953,!1));return}if(this.listeners===null)return;let t=S(null);try{for(let r of this.listeners)try{r(n)}catch(o){this.errorHandler?.handleError(o)}}finally{S(t)}}};function ce(e){return Bm(e)}function Je(e,n){return li(e,n?.equal)}var B0=e=>e;function xh(e,n){if(typeof e=="function"){let t=Pu(e,B0,n?.equal);return ab(t,n?.debugName)}else{let t=Pu(e.source,e.computation,e.equal);return ab(t,e.debugName)}}function ab(e,n){let t=e[he],r=e;return r.set=o=>Vm(t,o),r.update=o=>jm(t,o),r.asReadonly=Hi.bind(e),r}function H0(e){let n=e.request,t=e.params??n??(()=>null);return new zc(t,$0(e),e.defaultValue,e.equal?U0(e.equal):void 0,e.debugName,e.injector??f(O))}var Nh=class{value;isLoading;constructor(n,t){this.value=n,this.value.set=this.set.bind(this),this.value.update=this.update.bind(this),this.value.asReadonly=Hi,this.isLoading=Je(()=>this.status()==="loading"||this.status()==="reloading",void 0)}isError=Je(()=>this.status()==="error");update(n){this.set(n(ce(this.value)))}isValueDefined=Je(()=>this.isError()?!1:this.value()!==void 0);_snapshot;get snapshot(){return this._snapshot??=Je(()=>{let n=this.status();return n==="error"?{status:"error",error:this.error()}:{status:n,value:this.value()}})}hasValue(){return this.isValueDefined()}asReadonly(){return this}},zc=class extends Nh{loaderFn;equal;debugName;pendingTasks;state;extRequest;effectRef;pendingController;resolvePendingTask=void 0;destroyed=!1;unregisterOnDestroy;status;error;constructor(n,t,r,o,i,s,a){super(Je(()=>{let c=this.state().stream?.();if(!c||this.state().status==="loading"&&this.error())return r;if(!Rh(c))throw new Gc(this.error());return c.value},{equal:o}),i),this.loaderFn=t,this.equal=o,this.debugName=i,this.extRequest=xh({source:n,computation:c=>({request:c,reload:0})}),this.state=xh({source:this.extRequest,computation:(c,l)=>{if(l){let u=c.request===void 0?"idle":"loading";return{extRequest:c,status:u,previousStatus:cb(l.value),stream:l.value.extRequest.request===c.request?l.value.stream:void 0}}else{let u=a?.(c.request);a=void 0;let d=c.request===void 0?"idle":u?"resolved":"loading";return{extRequest:c,status:d,previousStatus:"idle",stream:u}}}}),this.effectRef=wr(this.loadEffect.bind(this),{injector:s,manualCleanup:!0}),this.pendingTasks=s.get(jn),this.unregisterOnDestroy=s.get(Ye).onDestroy(()=>this.destroy()),this.status=Je(()=>cb(this.state()),void 0),this.error=Je(()=>{let c=this.state().stream?.();return c&&!Rh(c)?c.error:void 0},void 0)}set(n){if(this.destroyed)return;let t=ce(this.error),r=ce(this.state);if(!t){let o=ce(this.value);if(r.status==="local"&&(this.equal?this.equal(o,n):o===n))return}this.state.set({extRequest:r.extRequest,status:"local",previousStatus:"local",stream:se({value:n},void 0)}),this.abortInProgressLoad()}reload(){let{status:n}=ce(this.state);return n==="idle"||n==="loading"?!1:(this.extRequest.update(({request:t,reload:r})=>({request:t,reload:r+1})),!0)}destroy(){this.destroyed=!0,this.unregisterOnDestroy(),this.effectRef.destroy(),this.abortInProgressLoad(),this.state.set({extRequest:{request:void 0,reload:0},status:"idle",previousStatus:"idle",stream:void 0})}loadEffect(){return vn(this,null,function*(){let n=this.extRequest(),{status:t,previousStatus:r}=ce(this.state);if(n.request===void 0)return;if(t!=="loading")return;this.abortInProgressLoad();let o=this.resolvePendingTask=this.pendingTasks.add(),{signal:i}=this.pendingController=new AbortController;try{let s=yield ce(()=>this.loaderFn({params:n.request,abortSignal:i,previous:{status:r}}));if(i.aborted||ce(this.extRequest)!==n)return;this.state.set({extRequest:n,status:"resolved",previousStatus:"resolved",stream:s})}catch(s){if(i.aborted||ce(this.extRequest)!==n)return;this.state.set({extRequest:n,status:"resolved",previousStatus:"error",stream:se({error:kh(s)},void 0)})}finally{o?.(),o=void 0}})}abortInProgressLoad(){ce(()=>this.pendingController?.abort()),this.pendingController=void 0,this.resolvePendingTask?.(),this.resolvePendingTask=void 0}};function U0(e){return(n,t)=>n===void 0||t===void 0?n===t:e(n,t)}function $0(e){return z0(e)?e.stream:n=>vn(null,null,function*(){try{return se({value:yield e.loader(n)},void 0)}catch(t){return se({error:kh(t)},void 0)}})}function z0(e){return!!e.stream}function cb(e){switch(e.status){case"loading":return e.extRequest.reload===0?"loading":"reloading";case"resolved":return Rh(e.stream())?"resolved":"error";default:return e.status}}function Rh(e){return e.error===void 0}function kh(e){return G0(e)?e:new Oh(e)}function G0(e){return e instanceof Error||typeof e=="object"&&typeof e.name=="string"&&typeof e.message=="string"}var Gc=class extends Error{constructor(n){super(n.message,{cause:n})}},Oh=class extends Error{constructor(n){super(String(n),{cause:n})}};var mb=Symbol("InputSignalNode#UNSET"),rA=U(E({},ui),{transformFn:void 0,applyValueToInputSignal(e,n){rr(e,n)}});function gb(e,n){let t=Object.create(rA);t.value=e,t.transformFn=n?.transform;function r(){if(_n(t),t.value===mb){let o=null;throw new b(-950,o)}return t.value}return r[he]=t,r}var qc=class{attributeName;constructor(n){this.attributeName=n}__NG_ELEMENT_ID__=()=>Rf(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}},D8=(()=>{let e=new g("");return e.__NG_ELEMENT_ID__=n=>{let t=fe();if(t===null)throw new b(-204,!1);if(t.type&2)return t.value;if(n&8)return null;throw new b(-204,!1)},e})();function E8(e){return new $c}function lb(e,n){return gb(e,n)}function oA(e){return gb(mb,e)}var C8=(lb.required=oA,lb);function ub(e,n){return ph(n)}function iA(e,n){return mh(n)}var w8=(ub.required=iA,ub);function I8(e,n){return gh(n)}function db(e,n){return ph(n)}function sA(e,n){return mh(n)}var S8=(db.required=sA,db);function M8(e,n){return gh(n)}var aA=(()=>{class e{zone=f(M);changeDetectionScheduler=f(Et);applicationRef=f(ot);applicationErrorHandler=f(rn);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{try{this.applicationRef.dirtyFlags|=1,this.applicationRef._tick()}catch(t){this.applicationErrorHandler(t)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),cA=new g("",{factory:()=>!1});function lA({ngZoneFactory:e,scheduleInRootZone:n}){return e??=()=>new M(U(E({},vb()),{scheduleInRootZone:n})),[{provide:Eo,useValue:!1},{provide:M,useFactory:e},{provide:Nn,multi:!0,useFactory:()=>{let t=f(aA,{optional:!0});return()=>t.initialize()}},{provide:Nn,multi:!0,useFactory:()=>{let t=f(uA);return()=>{t.initialize()}}},{provide:Ja,useValue:n??Ad}]}function T8(e){let n=e?.scheduleInRootZone,t=lA({ngZoneFactory:()=>{let r=vb(e);return r.scheduleInRootZone=n,r.shouldCoalesceEventChangeDetection&&Wt("NgZone_CoalesceEvent"),new M(r)},scheduleInRootZone:n});return uo([{provide:cA,useValue:!0},t])}function vb(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var uA=(()=>{class e{subscription=new B;initialized=!1;zone=f(M);pendingTasks=f(Vn);initialize(){if(this.initialized)return;this.initialized=!0;let t=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(t=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{M.assertNotInAngularZone(),queueMicrotask(()=>{t!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(t),t=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{M.assertInAngularZone(),t??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Ph=new g(""),dA=new g("");function ds(e){return!e.moduleRef}function fA(e){let n=ds(e)?e.r3Injector:e.moduleRef.injector,t=n.get(M);return t.run(()=>{ds(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=n.get(rn),o;if(t.runOutsideAngular(()=>{o=t.onError.subscribe({next:r})}),ds(e)){let i=()=>n.destroy(),s=e.platformInjector.get(Ph);s.add(i),n.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(Ph);s.add(i),e.moduleRef.onDestroy(()=>{Gi(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return pA(r,t,()=>{let i=n.get(Vn),s=i.add(),a=n.get(Ch);return a.runInitializers(),a.donePromise.then(()=>{let c=n.get(us,ss);if(A_(c||ss),!n.get(dA,!0))return ds(e)?n.get(ot):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(ds(e)){let u=n.get(ot);return e.rootComponent!==void 0&&u.bootstrap(e.rootComponent),u}else return hA?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>{i.remove(s)})})})}var hA;function pA(e,n,t){try{let r=t();return Bo(r)?r.catch(o=>{throw n.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw n.runOutsideAngular(()=>e(r)),r}}var Wc=null;function mA(e=[],n){return O.create({name:n,providers:[{provide:Fi,useValue:"platform"},{provide:Ph,useValue:new Set([()=>Wc=null])},...e]})}function gA(e=[]){if(Wc)return Wc;let n=mA(e);return Wc=n,b_(),vA(n),n}function vA(e){let n=e.get(wc,null);ho(e,()=>{n?.forEach(t=>t())})}function A8(){return!1}var yA=1e4;var x8=yA-1e3;var kr=(()=>{class e{static __NG_ELEMENT_ID__=_A}return e})();function _A(e){return bA(fe(),w(),(e&16)===16)}function bA(e,n,t){if(Ut(e)&&!t){let r=ft(e.index,n);return new Hn(r,r)}else if(e.type&175){let r=n[He];return new Hn(r,n)}return null}var Lh=class{supports(n){return uh(n)}create(n){return new Vh(n)}},DA=(e,n)=>n,Vh=class{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(n){this._trackByFn=n||DA}forEachItem(n){let t;for(t=this._itHead;t!==null;t=t._next)n(t)}forEachOperation(n){let t=this._itHead,r=this._removalsHead,o=0,i=null;for(;t||r;){let s=!r||t&&t.currentIndex<fb(r,o,i)?t:r,a=fb(s,o,i),c=s.currentIndex;if(s===r)o--,r=r._nextRemoved;else if(t=t._next,s.previousIndex==null)o++;else{i||(i=[]);let l=a-o,u=c-o;if(l!=u){for(let h=0;h<l;h++){let p=h<i.length?i[h]:i[h]=0,m=p+h;u<=m&&m<l&&(i[h]=p+1)}let d=s.previousIndex;i[d]=u-l}}a!==c&&n(s,a,c)}}forEachPreviousItem(n){let t;for(t=this._previousItHead;t!==null;t=t._nextPrevious)n(t)}forEachAddedItem(n){let t;for(t=this._additionsHead;t!==null;t=t._nextAdded)n(t)}forEachMovedItem(n){let t;for(t=this._movesHead;t!==null;t=t._nextMoved)n(t)}forEachRemovedItem(n){let t;for(t=this._removalsHead;t!==null;t=t._nextRemoved)n(t)}forEachIdentityChange(n){let t;for(t=this._identityChangesHead;t!==null;t=t._nextIdentityChange)n(t)}diff(n){if(n==null&&(n=[]),!uh(n))throw new b(900,!1);return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let t=this._itHead,r=!1,o,i,s;if(Array.isArray(n)){this.length=n.length;for(let a=0;a<this.length;a++)i=n[a],s=this._trackByFn(a,i),t===null||!Object.is(t.trackById,s)?(t=this._mismatch(t,i,s,a),r=!0):(r&&(t=this._verifyReinsertion(t,i,s,a)),Object.is(t.item,i)||this._addIdentityChange(t,i)),t=t._next}else o=0,Wy(n,a=>{s=this._trackByFn(o,a),t===null||!Object.is(t.trackById,s)?(t=this._mismatch(t,a,s,o),r=!0):(r&&(t=this._verifyReinsertion(t,a,s,o)),Object.is(t.item,a)||this._addIdentityChange(t,a)),t=t._next,o++}),this.length=o;return this._truncate(t),this.collection=n,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;n!==null;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;n!==null;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;n!==null;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,t,r,o){let i;return n===null?i=this._itTail:(i=n._prev,this._remove(n)),n=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),n!==null?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._reinsertAfter(n,i,o)):(n=this._linkedRecords===null?null:this._linkedRecords.get(r,o),n!==null?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._moveAfter(n,i,o)):n=this._addAfter(new jh(t,r),i,o)),n}_verifyReinsertion(n,t,r,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return i!==null?n=this._reinsertAfter(i,n._prev,o):n.currentIndex!=o&&(n.currentIndex=o,this._addToMoves(n,o)),n}_truncate(n){for(;n!==null;){let t=n._next;this._addToRemovals(this._unlink(n)),n=t}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(n,t,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(n);let o=n._prevRemoved,i=n._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(n,t,r),this._addToMoves(n,r),n}_moveAfter(n,t,r){return this._unlink(n),this._insertAfter(n,t,r),this._addToMoves(n,r),n}_addAfter(n,t,r){return this._insertAfter(n,t,r),this._additionsTail===null?this._additionsTail=this._additionsHead=n:this._additionsTail=this._additionsTail._nextAdded=n,n}_insertAfter(n,t,r){let o=t===null?this._itHead:t._next;return n._next=o,n._prev=t,o===null?this._itTail=n:o._prev=n,t===null?this._itHead=n:t._next=n,this._linkedRecords===null&&(this._linkedRecords=new Yc),this._linkedRecords.put(n),n.currentIndex=r,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){this._linkedRecords!==null&&this._linkedRecords.remove(n);let t=n._prev,r=n._next;return t===null?this._itHead=r:t._next=r,r===null?this._itTail=t:r._prev=t,n}_addToMoves(n,t){return n.previousIndex===t||(this._movesTail===null?this._movesTail=this._movesHead=n:this._movesTail=this._movesTail._nextMoved=n),n}_addToRemovals(n){return this._unlinkedRecords===null&&(this._unlinkedRecords=new Yc),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,t){return n.item=t,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=n:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=n,n}},jh=class{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(n,t){this.item=n,this.trackById=t}},Bh=class{_head=null;_tail=null;add(n){this._head===null?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,t){let r;for(r=this._head;r!==null;r=r._nextDup)if((t===null||t<=r.currentIndex)&&Object.is(r.trackById,n))return r;return null}remove(n){let t=n._prevDup,r=n._nextDup;return t===null?this._head=r:t._nextDup=r,r===null?this._tail=t:r._prevDup=t,this._head===null}},Yc=class{map=new Map;put(n){let t=n.trackById,r=this.map.get(t);r||(r=new Bh,this.map.set(t,r)),r.add(n)}get(n,t){let r=n,o=this.map.get(r);return o?o.get(n,t):null}remove(n){let t=n.trackById;return this.map.get(t).remove(n)&&this.map.delete(t),n}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function fb(e,n,t){let r=e.previousIndex;if(r===null)return r;let o=0;return t&&r<t.length&&(o=t[r]),r+n+o}function hb(){return new fs([new Lh])}var fs=(()=>{class e{factories;static \u0275prov=y({token:e,providedIn:"root",factory:hb});constructor(t){this.factories=t}static create(t,r){if(r!=null){let o=r.factories.slice();t=t.concat(o)}return new e(t)}static extend(t){return{provide:e,useFactory:()=>{let r=f(e,{optional:!0,skipSelf:!0});return e.create(t,r||hb())}}}find(t){let r=this.factories.find(o=>o.supports(t));if(r!=null)return r;throw new b(901,!1)}}return e})();function yb(e){let{rootComponent:n,appProviders:t,platformProviders:r,platformRef:o}=e;Y(z.BootstrapApplicationStart);try{let i=o?.injector??gA(r),s=[sb(),Rg,...t||[]],a=new Ki({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1});return fA({r3Injector:a.injector,platformInjector:i,rootComponent:n})}catch(i){return Promise.reject(i)}finally{Y(z.BootstrapApplicationEnd)}}function re(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function _b(e,n=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):n}var Fh=Symbol("NOT_SET"),bb=new Set,EA=U(E({},ui),{kind:"afterRenderEffectPhase",consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:Fh,cleanup:null,consumerMarkedDirty(){if(this.sequence.impl.executing){if(this.sequence.lastPhase===null||this.sequence.lastPhase<this.phase)return;this.sequence.erroredOrDestroyed=!0}this.sequence.scheduler.notify(7)},phaseFn(e){if(this.sequence.lastPhase=this.phase,!this.dirty)return this.signal;if(this.dirty=!1,this.value!==Fh&&!Yr(this))return this.signal;try{for(let o of this.cleanup??bb)o()}finally{this.cleanup?.clear()}let n=[];e!==void 0&&n.push(e),n.push(this.registerCleanupFn);let t=Yt(this),r;try{r=this.userFn.apply(null,n)}finally{bn(this,t)}return(this.value===Fh||!this.equal(this.value,r))&&(this.value=r,this.version++),this.signal}}),Hh=class extends qi{scheduler;lastPhase=null;nodes=[void 0,void 0,void 0,void 0];onDestroyFns=null;constructor(n,t,r,o,i,s=null){super(n,[void 0,void 0,void 0,void 0],r,!1,i.get(Ye),s),this.scheduler=o;for(let a of Xf){let c=t[a];if(c===void 0)continue;let l=Object.create(EA);l.sequence=this,l.phase=a,l.userFn=c,l.dirty=!0,l.signal=()=>(_n(l),l.value),l.signal[he]=l,l.registerCleanupFn=u=>(l.cleanup??=new Set).add(u),this.nodes[a]=l,this.hooks[a]=u=>l.phaseFn(u)}}afterRun(){super.afterRun(),this.lastPhase=null}destroy(){if(this.onDestroyFns!==null)for(let n of this.onDestroyFns)n();super.destroy();for(let n of this.nodes)if(n)try{for(let t of n.cleanup??bb)t()}finally{Dn(n)}}};function N8(e,n){let t=n?.injector??f(O),r=t.get(Et),o=t.get(xc),i=t.get(Nt,null,{optional:!0});o.impl??=t.get(Qf);let s=e;typeof s=="function"&&(s={mixedReadWrite:e});let a=t.get(Do,null,{optional:!0}),c=new Hh(o.impl,[s.earlyRead,s.write,s.mixedReadWrite,s.read],a?.view,r,t,i?.snapshot(null));return o.impl.register(c),c}function Zc(e,n){let t=Qt(e),r=n.elementInjector||fo();return new Ao(t).create(r,n.projectableNodes,n.hostElement,n.environmentInjector,n.directives,n.bindings)}var Db=null;function ht(){return Db}function Uh(e){Db??=e}var hs=class{},Uo=(()=>{class e{historyGo(t){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:()=>f(Eb),providedIn:"platform"})}return e})();var Eb=(()=>{class e extends Uo{_location;_history;_doc=f(x);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return ht().getBaseHref(this._doc)}onPopState(t){let r=ht().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",t,!1),()=>r.removeEventListener("popstate",t)}onHashChange(t){let r=ht().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",t,!1),()=>r.removeEventListener("hashchange",t)}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(t){this._location.pathname=t}pushState(t,r,o){this._history.pushState(t,r,o)}replaceState(t,r,o){this._history.replaceState(t,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function Ib(e,n){return e?n?e.endsWith("/")?n.startsWith("/")?e+n.slice(1):e+n:n.startsWith("/")?e+n:`${e}/${n}`:e:n}function Cb(e){let n=e.search(/#|\?|$/);return e[n-1]==="/"?e.slice(0,n-1)+e.slice(n):e}function Gn(e){return e&&e[0]!=="?"?`?${e}`:e}var Kc=(()=>{class e{historyGo(t){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:()=>f(wA),providedIn:"root"})}return e})(),CA=new g(""),wA=(()=>{class e extends Kc{_platformLocation;_baseHref;_removeListenerFns=[];constructor(t,r){super(),this._platformLocation=t,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??f(x).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return Ib(this._baseHref,t)}path(t=!1){let r=this._platformLocation.pathname+Gn(this._platformLocation.search),o=this._platformLocation.hash;return o&&t?`${r}${o}`:r}pushState(t,r,o,i){let s=this.prepareExternalUrl(o+Gn(i));this._platformLocation.pushState(t,r,s)}replaceState(t,r,o,i){let s=this.prepareExternalUrl(o+Gn(i));this._platformLocation.replaceState(t,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static \u0275fac=function(r){return new(r||e)(T(Uo),T(CA,8))};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Xc=(()=>{class e{_subject=new C;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(t){this._locationStrategy=t;let r=this._locationStrategy.getBaseHref();this._basePath=MA(Cb(wb(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(t=!1){return this.normalize(this._locationStrategy.path(t))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(t,r=""){return this.path()==this.normalize(t+Gn(r))}normalize(t){return e.stripTrailingSlash(SA(this._basePath,wb(t)))}prepareExternalUrl(t){return t&&t[0]!=="/"&&(t="/"+t),this._locationStrategy.prepareExternalUrl(t)}go(t,r="",o=null){this._locationStrategy.pushState(o,"",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Gn(r)),o)}replaceState(t,r="",o=null){this._locationStrategy.replaceState(o,"",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Gn(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(t=0){this._locationStrategy.historyGo?.(t)}onUrlChange(t){return this._urlChangeListeners.push(t),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(t);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(t="",r){this._urlChangeListeners.forEach(o=>o(t,r))}subscribe(t,r,o){return this._subject.subscribe({next:t,error:r??void 0,complete:o??void 0})}static normalizeQueryParams=Gn;static joinWithSlash=Ib;static stripTrailingSlash=Cb;static \u0275fac=function(r){return new(r||e)(T(Kc))};static \u0275prov=y({token:e,factory:()=>IA(),providedIn:"root"})}return e})();function IA(){return new Xc(T(Kc))}function SA(e,n){if(!e||!n.startsWith(e))return n;let t=n.substring(e.length);return t===""||["/",";","?","#"].includes(t[0])?t:n}function wb(e){return e.replace(/\/index\.html$/,"")}function MA(e){if(new RegExp("^(https?:)?//").test(e)){let[,t]=e.split(/\/\/[^\/]+/);return t}return e}var Le=(function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e})(Le||{}),ne=(function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e})(ne||{}),et=(function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e})(et||{}),dn={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 xb(e){return it(e)[ge.LocaleId]}function Nb(e,n,t){let r=it(e),o=[r[ge.DayPeriodsFormat],r[ge.DayPeriodsStandalone]],i=pt(o,n);return pt(i,t)}function Rb(e,n,t){let r=it(e),o=[r[ge.DaysFormat],r[ge.DaysStandalone]],i=pt(o,n);return pt(i,t)}function Ob(e,n,t){let r=it(e),o=[r[ge.MonthsFormat],r[ge.MonthsStandalone]],i=pt(o,n);return pt(i,t)}function kb(e,n){let r=it(e)[ge.Eras];return pt(r,n)}function ps(e,n){let t=it(e);return pt(t[ge.DateFormat],n)}function ms(e,n){let t=it(e);return pt(t[ge.TimeFormat],n)}function gs(e,n){let r=it(e)[ge.DateTimeFormat];return pt(r,n)}function vs(e,n){let t=it(e),r=t[ge.NumberSymbols][n];if(typeof r>"u"){if(n===dn.CurrencyDecimal)return t[ge.NumberSymbols][dn.Decimal];if(n===dn.CurrencyGroup)return t[ge.NumberSymbols][dn.Group]}return r}function Fb(e){if(!e[ge.ExtraData])throw new b(2303,!1)}function Pb(e){let n=it(e);return Fb(n),(n[ge.ExtraData][2]||[]).map(r=>typeof r=="string"?$h(r):[$h(r[0]),$h(r[1])])}function Lb(e,n,t){let r=it(e);Fb(r);let o=[r[ge.ExtraData][0],r[ge.ExtraData][1]],i=pt(o,n)||[];return pt(i,t)||[]}function pt(e,n){for(let t=n;t>-1;t--)if(typeof e[t]<"u")return e[t];throw new b(2304,!1)}function $h(e){let[n,t]=e.split(":");return{hours:+n,minutes:+t}}var TA=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Qc={},AA=/((?:[^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 Vb(e,n,t,r){let o=VA(e);n=un(t,n)||n;let s=[],a;for(;n;)if(a=AA.exec(n),a){s=s.concat(a.slice(1));let u=s.pop();if(!u)break;n=u}else{s.push(n);break}let c=o.getTimezoneOffset();r&&(c=Bb(r,c),o=LA(o,r));let l="";return s.forEach(u=>{let d=FA(u);l+=d?d(o,t,c):u==="''"?"'":u.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),l}function rl(e,n,t){let r=new Date(0);return r.setFullYear(e,n,t),r.setHours(0,0,0),r}function un(e,n){let t=xb(e);if(Qc[t]??={},Qc[t][n])return Qc[t][n];let r="";switch(n){case"shortDate":r=ps(e,et.Short);break;case"mediumDate":r=ps(e,et.Medium);break;case"longDate":r=ps(e,et.Long);break;case"fullDate":r=ps(e,et.Full);break;case"shortTime":r=ms(e,et.Short);break;case"mediumTime":r=ms(e,et.Medium);break;case"longTime":r=ms(e,et.Long);break;case"fullTime":r=ms(e,et.Full);break;case"short":let o=un(e,"shortTime"),i=un(e,"shortDate");r=Jc(gs(e,et.Short),[o,i]);break;case"medium":let s=un(e,"mediumTime"),a=un(e,"mediumDate");r=Jc(gs(e,et.Medium),[s,a]);break;case"long":let c=un(e,"longTime"),l=un(e,"longDate");r=Jc(gs(e,et.Long),[c,l]);break;case"full":let u=un(e,"fullTime"),d=un(e,"fullDate");r=Jc(gs(e,et.Full),[u,d]);break}return r&&(Qc[t][n]=r),r}function Jc(e,n){return n&&(e=e.replace(/\{([^}]+)}/g,function(t,r){return n!=null&&r in n?n[r]:t})),e}function kt(e,n,t="-",r,o){let i="";(e<0||o&&e<=0)&&(o?e=-e+1:(e=-e,i=t));let s=String(e);for(;s.length<n;)s="0"+s;return r&&(s=s.slice(s.length-n)),i+s}function xA(e,n){return kt(e,3).substring(0,n)}function Ee(e,n,t=0,r=!1,o=!1){return function(i,s){let a=NA(e,i);if((t>0||a>-t)&&(a+=t),e===3)a===0&&t===-12&&(a=12);else if(e===6)return xA(a,n);let c=vs(s,dn.MinusSign);return kt(a,n,c,r,o)}}function NA(e,n){switch(e){case 0:return n.getFullYear();case 1:return n.getMonth();case 2:return n.getDate();case 3:return n.getHours();case 4:return n.getMinutes();case 5:return n.getSeconds();case 6:return n.getMilliseconds();case 7:return n.getDay();default:throw new b(2301,!1)}}function oe(e,n,t=Le.Format,r=!1){return function(o,i){return RA(o,i,e,n,t,r)}}function RA(e,n,t,r,o,i){switch(t){case 2:return Ob(n,o,r)[e.getMonth()];case 1:return Rb(n,o,r)[e.getDay()];case 0:let s=e.getHours(),a=e.getMinutes();if(i){let l=Pb(n),u=Lb(n,o,r),d=l.findIndex(h=>{if(Array.isArray(h)){let[p,m]=h,v=s>=p.hours&&a>=p.minutes,_=s<m.hours||s===m.hours&&a<m.minutes;if(p.hours<m.hours){if(v&&_)return!0}else if(v||_)return!0}else if(h.hours===s&&h.minutes===a)return!0;return!1});if(d!==-1)return u[d]}return Nb(n,o,r)[s<12?0:1];case 3:return kb(n,r)[e.getFullYear()<=0?0:1];default:let c=t;throw new b(2302,!1)}}function el(e){return function(n,t,r){let o=-1*r,i=vs(t,dn.MinusSign),s=o>0?Math.floor(o/60):Math.ceil(o/60);switch(e){case 0:return(o>=0?"+":"")+kt(s,2,i)+kt(Math.abs(o%60),2,i);case 1:return"GMT"+(o>=0?"+":"")+kt(s,1,i);case 2:return"GMT"+(o>=0?"+":"")+kt(s,2,i)+":"+kt(Math.abs(o%60),2,i);case 3:return r===0?"Z":(o>=0?"+":"")+kt(s,2,i)+":"+kt(Math.abs(o%60),2,i);default:throw new b(2310,!1)}}}var OA=0,nl=4;function kA(e){let n=rl(e,OA,1).getDay();return rl(e,0,1+(n<=nl?nl:nl+7)-n)}function jb(e){let n=e.getDay(),t=n===0?-3:nl-n;return rl(e.getFullYear(),e.getMonth(),e.getDate()+t)}function zh(e,n=!1){return function(t,r){let o;if(n){let i=new Date(t.getFullYear(),t.getMonth(),1).getDay()-1,s=t.getDate();o=1+Math.floor((s+i)/7)}else{let i=jb(t),s=kA(i.getFullYear()),a=i.getTime()-s.getTime();o=1+Math.round(a/6048e5)}return kt(o,e,vs(r,dn.MinusSign))}}function tl(e,n=!1){return function(t,r){let i=jb(t).getFullYear();return kt(i,e,vs(r,dn.MinusSign),n)}}var Gh={};function FA(e){if(Gh[e])return Gh[e];let n;switch(e){case"G":case"GG":case"GGG":n=oe(3,ne.Abbreviated);break;case"GGGG":n=oe(3,ne.Wide);break;case"GGGGG":n=oe(3,ne.Narrow);break;case"y":n=Ee(0,1,0,!1,!0);break;case"yy":n=Ee(0,2,0,!0,!0);break;case"yyy":n=Ee(0,3,0,!1,!0);break;case"yyyy":n=Ee(0,4,0,!1,!0);break;case"Y":n=tl(1);break;case"YY":n=tl(2,!0);break;case"YYY":n=tl(3);break;case"YYYY":n=tl(4);break;case"M":case"L":n=Ee(1,1,1);break;case"MM":case"LL":n=Ee(1,2,1);break;case"MMM":n=oe(2,ne.Abbreviated);break;case"MMMM":n=oe(2,ne.Wide);break;case"MMMMM":n=oe(2,ne.Narrow);break;case"LLL":n=oe(2,ne.Abbreviated,Le.Standalone);break;case"LLLL":n=oe(2,ne.Wide,Le.Standalone);break;case"LLLLL":n=oe(2,ne.Narrow,Le.Standalone);break;case"w":n=zh(1);break;case"ww":n=zh(2);break;case"W":n=zh(1,!0);break;case"d":n=Ee(2,1);break;case"dd":n=Ee(2,2);break;case"c":case"cc":n=Ee(7,1);break;case"ccc":n=oe(1,ne.Abbreviated,Le.Standalone);break;case"cccc":n=oe(1,ne.Wide,Le.Standalone);break;case"ccccc":n=oe(1,ne.Narrow,Le.Standalone);break;case"cccccc":n=oe(1,ne.Short,Le.Standalone);break;case"E":case"EE":case"EEE":n=oe(1,ne.Abbreviated);break;case"EEEE":n=oe(1,ne.Wide);break;case"EEEEE":n=oe(1,ne.Narrow);break;case"EEEEEE":n=oe(1,ne.Short);break;case"a":case"aa":case"aaa":n=oe(0,ne.Abbreviated);break;case"aaaa":n=oe(0,ne.Wide);break;case"aaaaa":n=oe(0,ne.Narrow);break;case"b":case"bb":case"bbb":n=oe(0,ne.Abbreviated,Le.Standalone,!0);break;case"bbbb":n=oe(0,ne.Wide,Le.Standalone,!0);break;case"bbbbb":n=oe(0,ne.Narrow,Le.Standalone,!0);break;case"B":case"BB":case"BBB":n=oe(0,ne.Abbreviated,Le.Format,!0);break;case"BBBB":n=oe(0,ne.Wide,Le.Format,!0);break;case"BBBBB":n=oe(0,ne.Narrow,Le.Format,!0);break;case"h":n=Ee(3,1,-12);break;case"hh":n=Ee(3,2,-12);break;case"H":n=Ee(3,1);break;case"HH":n=Ee(3,2);break;case"m":n=Ee(4,1);break;case"mm":n=Ee(4,2);break;case"s":n=Ee(5,1);break;case"ss":n=Ee(5,2);break;case"S":n=Ee(6,1);break;case"SS":n=Ee(6,2);break;case"SSS":n=Ee(6,3);break;case"Z":case"ZZ":case"ZZZ":n=el(0);break;case"ZZZZZ":n=el(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":n=el(1);break;case"OOOO":case"ZZZZ":case"zzzz":n=el(2);break;default:return null}return Gh[e]=n,n}function Bb(e,n){e=e.replace(/:/g,"");let t=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(t)?n:t}function PA(e,n){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+n),e}function LA(e,n,t){let o=e.getTimezoneOffset(),i=Bb(n,o);return PA(e,-1*(i-o))}function VA(e){if(Sb(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 rl(o,i-1,s)}let t=parseFloat(e);if(!isNaN(e-t))return new Date(t);let r;if(r=e.match(TA))return jA(r)}let n=new Date(e);if(!Sb(n))throw new b(2311,!1);return n}function jA(e){let n=new Date(0),t=0,r=0,o=e[8]?n.setUTCFullYear:n.setFullYear,i=e[8]?n.setUTCHours:n.setHours;e[9]&&(t=Number(e[9]+e[10]),r=Number(e[9]+e[11])),o.call(n,Number(e[1]),Number(e[2])-1,Number(e[3]));let s=Number(e[4]||0)-t,a=Number(e[5]||0)-r,c=Number(e[6]||0),l=Math.floor(parseFloat("0."+(e[7]||0))*1e3);return i.call(n,s,a,c,l),n}function Sb(e){return e instanceof Date&&!isNaN(e.valueOf())}var Wh=/\s+/,Mb=[],BA=(()=>{class e{_ngEl;_renderer;initialClasses=Mb;rawClass;stateMap=new Map;constructor(t,r){this._ngEl=t,this._renderer=r}set klass(t){this.initialClasses=t!=null?t.trim().split(Wh):Mb}set ngClass(t){this.rawClass=typeof t=="string"?t.trim().split(Wh):t}ngDoCheck(){for(let r of this.initialClasses)this._updateState(r,!0);let t=this.rawClass;if(Array.isArray(t)||t instanceof Set)for(let r of t)this._updateState(r,!0);else if(t!=null)for(let r of Object.keys(t))this._updateState(r,!!t[r]);this._applyStateDiff()}_updateState(t,r){let o=this.stateMap.get(t);o!==void 0?(o.enabled!==r&&(o.changed=!0,o.enabled=r),o.touched=!0):this.stateMap.set(t,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(let t of this.stateMap){let r=t[0],o=t[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(t,r){t=t.trim(),t.length>0&&t.split(Wh).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)(j(H),j(Xe))};static \u0275dir=A({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})();var ol=class{$implicit;ngForOf;index;count;constructor(n,t,r,o){this.$implicit=n,this.ngForOf=t,this.index=r,this.count=o}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},Hb=(()=>{class e{_viewContainer;_template;_differs;set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(t,r,o){this._viewContainer=t,this._template=r,this._differs=o}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let t=this._ngForOf;!this._differ&&t&&(this._differ=this._differs.find(t).create(this.ngForTrackBy))}if(this._differ){let t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){let r=this._viewContainer;t.forEachOperation((o,i,s)=>{if(o.previousIndex==null)r.createEmbeddedView(this._template,new ol(o.item,this._ngForOf,-1,-1),s===null?void 0:s);else if(s==null)r.remove(i===null?void 0:i);else if(i!==null){let a=r.get(i);r.move(a,s),Tb(a,o)}});for(let o=0,i=r.length;o<i;o++){let a=r.get(o).context;a.index=o,a.count=i,a.ngForOf=this._ngForOf}t.forEachIdentityChange(o=>{let i=r.get(o.currentIndex);Tb(i,o)})}static ngTemplateContextGuard(t,r){return!0}static \u0275fac=function(r){return new(r||e)(j(ze),j(ke),j(fs))};static \u0275dir=A({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return e})();function Tb(e,n){e.context.$implicit=n.item}var HA=(()=>{class e{_viewContainer;_context=new il;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(t,r){this._viewContainer=t,this._thenTemplateRef=r}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){Ab(t,!1),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){Ab(t,!1),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(t,r){return!0}static \u0275fac=function(r){return new(r||e)(j(ze),j(ke))};static \u0275dir=A({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return e})(),il=class{$implicit=null;ngIf=null};function Ab(e,n){if(e&&!e.createEmbeddedView)throw new b(2020,!1)}var UA=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;injector=f(O);constructor(t){this._viewContainerRef=t}ngOnChanges(t){if(this._shouldRecreateView(t)){let r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let o=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this._getInjector()})}}_getInjector(){return this.ngTemplateOutletInjector==="outlet"?this.injector:this.ngTemplateOutletInjector??void 0}_shouldRecreateView(t){return!!t.ngTemplateOutlet||!!t.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(t,r,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,r,o):!1,get:(t,r,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,o)}})}static \u0275fac=function(r){return new(r||e)(j(ze))};static \u0275dir=A({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[Ue]})}return e})();function $A(e,n){return new b(2100,!1)}var zA="mediumDate",Ub=new g(""),$b=new g(""),GA=(()=>{class e{locale;defaultTimezone;defaultOptions;constructor(t,r,o){this.locale=t,this.defaultTimezone=r,this.defaultOptions=o}transform(t,r,o,i){if(t==null||t===""||t!==t)return null;try{let s=r??this.defaultOptions?.dateFormat??zA,a=o??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return Vb(t,s,i||this.locale,a)}catch(s){throw $A(e,s.message)}}static \u0275fac=function(r){return new(r||e)(j(us,16),j(Ub,24),j($b,24))};static \u0275pipe=jc({name:"date",type:e,pure:!0})}return e})();var WA=(()=>{class e{transform(t){return JSON.stringify(t,null,2)}static \u0275fac=function(r){return new(r||e)};static \u0275pipe=jc({name:"json",type:e,pure:!1})}return e})();var zb=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=q({type:e});static \u0275inj=G({})}return e})();function ys(e,n){n=encodeURIComponent(n);for(let t of e.split(";")){let r=t.indexOf("="),[o,i]=r==-1?[t,""]:[t.slice(0,r),t.slice(r+1)];if(o.trim()===n)return decodeURIComponent(i)}return null}var Fr=class{};var qh="browser";function Gb(e){return e===qh}var _s=class{_doc;constructor(n){this._doc=n}manager},sl=(()=>{class e extends _s{constructor(t){super(t)}supports(t){return!0}addEventListener(t,r,o,i){return t.addEventListener(r,o,i),()=>this.removeEventListener(t,r,o,i)}removeEventListener(t,r,o,i){return t.removeEventListener(r,o,i)}static \u0275fac=function(r){return new(r||e)(T(x))};static \u0275prov=y({token:e,factory:e.\u0275fac})}return e})(),ll=new g(""),Xh=(()=>{class e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(t,r){this._zone=r,t.forEach(s=>{s.manager=this});let o=t.filter(s=>!(s instanceof sl));this._plugins=o.slice().reverse();let i=t.find(s=>s instanceof sl);i&&this._plugins.push(i)}addEventListener(t,r,o,i){return this._findPluginFor(r).addEventListener(t,r,o,i)}getZone(){return this._zone}_findPluginFor(t){let r=this._eventNameToPlugin.get(t);if(r)return r;if(r=this._plugins.find(i=>i.supports(t)),!r)throw new b(5101,!1);return this._eventNameToPlugin.set(t,r),r}static \u0275fac=function(r){return new(r||e)(T(ll),T(M))};static \u0275prov=y({token:e,factory:e.\u0275fac})}return e})(),Yh="ng-app-id";function Wb(e){for(let n of e)n.remove()}function qb(e,n){let t=n.createElement("style");return t.textContent=e,t}function qA(e,n,t,r){let o=e.head?.querySelectorAll(`style[${Yh}="${n}"],link[${Yh}="${n}"]`);if(o)for(let i of o)i.removeAttribute(Yh),i instanceof HTMLLinkElement?r.set(i.href.slice(i.href.lastIndexOf("/")+1),{usage:0,elements:[i]}):i.textContent&&t.set(i.textContent,{usage:0,elements:[i]})}function Kh(e,n){let t=n.createElement("link");return t.setAttribute("rel","stylesheet"),t.setAttribute("href",e),t}var Qh=(()=>{class e{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(t,r,o,i={}){this.doc=t,this.appId=r,this.nonce=o,qA(t,r,this.inline,this.external),this.hosts.add(t.head)}addStyles(t,r){for(let o of t)this.addUsage(o,this.inline,qb);r?.forEach(o=>this.addUsage(o,this.external,Kh))}removeStyles(t,r){for(let o of t)this.removeUsage(o,this.inline);r?.forEach(o=>this.removeUsage(o,this.external))}addUsage(t,r,o){let i=r.get(t);i?i.usage++:r.set(t,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,o(t,this.doc)))})}removeUsage(t,r){let o=r.get(t);o&&(o.usage--,o.usage<=0&&(Wb(o.elements),r.delete(t)))}ngOnDestroy(){for(let[,{elements:t}]of[...this.inline,...this.external])Wb(t);this.hosts.clear()}addHost(t){this.hosts.add(t);for(let[r,{elements:o}]of this.inline)o.push(this.addElement(t,qb(r,this.doc)));for(let[r,{elements:o}]of this.external)o.push(this.addElement(t,Kh(r,this.doc)))}removeHost(t){this.hosts.delete(t)}addElement(t,r){return this.nonce&&r.setAttribute("nonce",this.nonce),t.appendChild(r)}static \u0275fac=function(r){return new(r||e)(T(x),T($n),T(Rr,8),T(Nr))};static \u0275prov=y({token:e,factory:e.\u0275fac})}return e})(),Zh={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},Jh=/%COMP%/g;var Zb="%COMP%",YA=`_nghost-${Zb}`,ZA=`_ngcontent-${Zb}`,KA=!0,XA=new g("",{factory:()=>KA});function QA(e){return ZA.replace(Jh,e)}function JA(e){return YA.replace(Jh,e)}function Kb(e,n){return n.map(t=>t.replace(Jh,e))}var ep=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;constructor(t,r,o,i,s,a,c=null,l=null){this.eventManager=t,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.ngZone=a,this.nonce=c,this.tracingService=l,this.defaultRenderer=new bs(t,s,a,this.tracingService)}createRenderer(t,r){if(!t||!r)return this.defaultRenderer;let o=this.getOrCreateRenderer(t,r);return o instanceof cl?o.applyToHost(t):o instanceof Ds&&o.applyStyles(),o}getOrCreateRenderer(t,r){let o=this.rendererByCompId,i=o.get(r.id);if(!i){let s=this.doc,a=this.ngZone,c=this.eventManager,l=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,d=this.tracingService;switch(r.encapsulation){case xt.Emulated:i=new cl(c,l,r,this.appId,u,s,a,d);break;case xt.ShadowDom:return new al(c,t,r,s,a,this.nonce,d,l);case xt.ExperimentalIsolatedShadowDom:return new al(c,t,r,s,a,this.nonce,d);default:i=new Ds(c,l,r,u,s,a,d);break}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(t){this.rendererByCompId.delete(t)}static \u0275fac=function(r){return new(r||e)(T(Xh),T(Qh),T($n),T(XA),T(x),T(M),T(Rr),T(Nt,8))};static \u0275prov=y({token:e,factory:e.\u0275fac})}return e})(),bs=class{eventManager;doc;ngZone;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(n,t,r,o){this.eventManager=n,this.doc=t,this.ngZone=r,this.tracingService=o}destroy(){}destroyNode=null;createElement(n,t){return t?this.doc.createElementNS(Zh[t]||t,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,t){(Yb(n)?n.content:n).appendChild(t)}insertBefore(n,t,r){n&&(Yb(n)?n.content:n).insertBefore(t,r)}removeChild(n,t){t.remove()}selectRootElement(n,t){let r=typeof n=="string"?this.doc.querySelector(n):n;if(!r)throw new b(-5104,!1);return t||(r.textContent=""),r}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,t,r,o){if(o){t=o+":"+t;let i=Zh[o];i?n.setAttributeNS(i,t,r):n.setAttribute(t,r)}else n.setAttribute(t,r)}removeAttribute(n,t,r){if(r){let o=Zh[r];o?n.removeAttributeNS(o,t):n.removeAttribute(`${r}:${t}`)}else n.removeAttribute(t)}addClass(n,t){n.classList.add(t)}removeClass(n,t){n.classList.remove(t)}setStyle(n,t,r,o){o&(zt.DashCase|zt.Important)?n.style.setProperty(t,r,o&zt.Important?"important":""):n.style[t]=r}removeStyle(n,t,r){r&zt.DashCase?n.style.removeProperty(t):n.style[t]=""}setProperty(n,t,r){n!=null&&(n[t]=r)}setValue(n,t){n.nodeValue=t}listen(n,t,r,o){if(typeof n=="string"&&(n=ht().getGlobalEventTarget(this.doc,n),!n))throw new b(5102,!1);let i=this.decoratePreventDefault(r);return this.tracingService?.wrapEventListener&&(i=this.tracingService.wrapEventListener(n,t,i)),this.eventManager.addEventListener(n,t,i,o)}decoratePreventDefault(n){return t=>{if(t==="__ngUnwrap__")return n;n(t)===!1&&t.preventDefault()}}};function Yb(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var al=class extends bs{hostEl;sharedStylesHost;shadowRoot;constructor(n,t,r,o,i,s,a,c){super(n,o,i,a),this.hostEl=t,this.sharedStylesHost=c,this.shadowRoot=t.attachShadow({mode:"open"}),this.sharedStylesHost&&this.sharedStylesHost.addHost(this.shadowRoot);let l=r.styles;l=Kb(r.id,l);for(let d of l){let h=document.createElement("style");s&&h.setAttribute("nonce",s),h.textContent=d,this.shadowRoot.appendChild(h)}let u=r.getExternalStyles?.();if(u)for(let d of u){let h=Kh(d,o);s&&h.setAttribute("nonce",s),this.shadowRoot.appendChild(h)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,t){return super.appendChild(this.nodeOrShadowRoot(n),t)}insertBefore(n,t,r){return super.insertBefore(this.nodeOrShadowRoot(n),t,r)}removeChild(n,t){return super.removeChild(null,t)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost&&this.sharedStylesHost.removeHost(this.shadowRoot)}},Ds=class extends bs{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(n,t,r,o,i,s,a,c){super(n,i,s,a),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=o;let l=r.styles;this.styles=c?Kb(c,l):l,this.styleUrls=r.getExternalStyles?.(c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&Mr.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},cl=class extends Ds{contentAttr;hostAttr;constructor(n,t,r,o,i,s,a,c){let l=o+"-"+r.id;super(n,t,r,i,s,a,c,l),this.contentAttr=QA(l),this.hostAttr=JA(l)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,t){let r=super.createElement(n,t);return super.setAttribute(r,this.contentAttr,""),r}};var ul=class e extends hs{supportsDOMEvents=!0;static makeCurrent(){Uh(new e)}onAndCancel(n,t,r,o){return n.addEventListener(t,r,o),()=>{n.removeEventListener(t,r,o)}}dispatchEvent(n,t){n.dispatchEvent(t)}remove(n){n.remove()}createElement(n,t){return t=t||this.getDefaultDocument(),t.createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,t){return t==="window"?window:t==="document"?n:t==="body"?n.body:null}getBaseHref(n){let t=ex();return t==null?null:tx(t)}resetBaseElement(){Es=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return ys(document.cookie,n)}},Es=null;function ex(){return Es=Es||document.head.querySelector("base"),Es?Es.getAttribute("href"):null}function tx(e){return new URL(e,document.baseURI).pathname}var nx=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac})}return e})(),Xb=["alt","control","meta","shift"],rx={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},ox={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},Qb=(()=>{class e extends _s{constructor(t){super(t)}supports(t){return e.parseEventName(t)!=null}addEventListener(t,r,o,i){let s=e.parseEventName(r),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>ht().onAndCancel(t,s.domEventName,a,i))}static parseEventName(t){let r=t.toLowerCase().split("."),o=r.shift();if(r.length===0||!(o==="keydown"||o==="keyup"))return null;let i=e._normalizeKey(r.pop()),s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),Xb.forEach(l=>{let u=r.indexOf(l);u>-1&&(r.splice(u,1),s+=l+".")}),s+=i,r.length!=0||i.length===0)return null;let c={};return c.domEventName=o,c.fullKey=s,c}static matchEventFullKeyCode(t,r){let o=rx[t.key]||t.key,i="";return r.indexOf("code.")>-1&&(o=t.code,i="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),Xb.forEach(s=>{if(s!==o){let a=ox[s];a(t)&&(i+=s+".")}}),i+=o,i===r)}static eventCallback(t,r,o){return i=>{e.matchEventFullKeyCode(i,t)&&o.runGuarded(()=>r(i))}}static _normalizeKey(t){return t==="esc"?"escape":t}static \u0275fac=function(r){return new(r||e)(T(x))};static \u0275prov=y({token:e,factory:e.\u0275fac})}return e})();function ix(e,n,t){return vn(this,null,function*(){let r=E({rootComponent:e},sx(n,t));return yb(r)})}function sx(e,n){return{platformRef:n?.platformRef,appProviders:[...dx,...e?.providers??[]],platformProviders:ux}}function ax(){ul.makeCurrent()}function cx(){return new Oe}function lx(){return kf(document),document}var ux=[{provide:Nr,useValue:qh},{provide:wc,useValue:ax,multi:!0},{provide:x,useFactory:lx}];var dx=[{provide:Fi,useValue:"root"},{provide:Oe,useFactory:cx},{provide:ll,useClass:sl,multi:!0},{provide:ll,useClass:Qb,multi:!0},ep,Qh,Xh,{provide:Se,useExisting:ep},{provide:Fr,useClass:nx},[]];var Wn=class e{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(n){n?typeof n=="string"?this.lazyInit=()=>{this.headers=new Map,n.split(`
|
|
5
|
-
`).forEach(t=>{let r=t.indexOf(":");if(r>0){let o=t.slice(0,r),i=t.slice(r+1).trim();this.addHeaderEntry(o,i)}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEach((t,r)=>{this.addHeaderEntry(r,t)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([t,r])=>{this.setHeaderEntries(t,r)})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();let t=this.headers.get(n.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,t){return this.clone({name:n,value:t,op:"a"})}set(n,t){return this.clone({name:n,value:t,op:"s"})}delete(n,t){return this.clone({name:n,value:t,op:"d"})}maybeSetNormalizedName(n,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,n)}init(){this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(t=>{this.headers.set(t,n.headers.get(t)),this.normalizedNames.set(t,n.normalizedNames.get(t))})}clone(n){let t=new e;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([n]),t}applyUpdate(n){let t=n.name.toLowerCase();switch(n.op){case"a":case"s":let r=n.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(n.name,t);let o=(n.op==="a"?this.headers.get(t):void 0)||[];o.push(...r),this.headers.set(t,o);break;case"d":let i=n.value;if(!i)this.headers.delete(t),this.normalizedNames.delete(t);else{let s=this.headers.get(t);if(!s)return;s=s.filter(a=>i.indexOf(a)===-1),s.length===0?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,s)}break}}addHeaderEntry(n,t){let r=n.toLowerCase();this.maybeSetNormalizedName(n,r),this.headers.has(r)?this.headers.get(r).push(t):this.headers.set(r,[t])}setHeaderEntries(n,t){let r=(Array.isArray(t)?t:[t]).map(i=>i.toString()),o=n.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(n,o)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>n(this.normalizedNames.get(t),this.headers.get(t)))}};var fl=class{map=new Map;set(n,t){return this.map.set(n,t),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}},hl=class{encodeKey(n){return Jb(n)}encodeValue(n){return Jb(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}};function fx(e,n){let t=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(o=>{let i=o.indexOf("="),[s,a]=i==-1?[n.decodeKey(o),""]:[n.decodeKey(o.slice(0,i)),n.decodeValue(o.slice(i+1))],c=t.get(s)||[];c.push(a),t.set(s,c)}),t}var hx=/%(\d[a-f0-9])/gi,px={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Jb(e){return encodeURIComponent(e).replace(hx,(n,t)=>px[t]??n)}function dl(e){return`${e}`}var fn=class e{map;encoder;updates=null;cloneFrom=null;constructor(n={}){if(this.encoder=n.encoder||new hl,n.fromString){if(n.fromObject)throw new b(2805,!1);this.map=fx(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(t=>{let r=n.fromObject[t],o=Array.isArray(r)?r.map(dl):[dl(r)];this.map.set(t,o)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();let t=this.map.get(n);return t?t[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,t){return this.clone({param:n,value:t,op:"a"})}appendAll(n){let t=[];return Object.keys(n).forEach(r=>{let o=n[r];Array.isArray(o)?o.forEach(i=>{t.push({param:r,value:i,op:"a"})}):t.push({param:r,value:o,op:"a"})}),this.clone(t)}set(n,t){return this.clone({param:n,value:t,op:"s"})}delete(n,t){return this.clone({param:n,value:t,op:"d"})}toString(){return this.init(),this.keys().map(n=>{let t=this.encoder.encodeKey(n);return this.map.get(n).map(r=>t+"="+this.encoder.encodeValue(r)).join("&")}).filter(n=>n!=="").join("&")}clone(n){let t=new e({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat(n),t}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":let t=(n.op==="a"?this.map.get(n.param):void 0)||[];t.push(dl(n.value)),this.map.set(n.param,t);break;case"d":if(n.value!==void 0){let r=this.map.get(n.param)||[],o=r.indexOf(dl(n.value));o!==-1&&r.splice(o,1),r.length>0?this.map.set(n.param,r):this.map.delete(n.param)}else{this.map.delete(n.param);break}}}),this.cloneFrom=this.updates=null)}};function mx(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function eD(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function tD(e){return typeof Blob<"u"&&e instanceof Blob}function nD(e){return typeof FormData<"u"&&e instanceof FormData}function gx(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var rD="Content-Type",oD="Accept",sD="text/plain",aD="application/json",vx=`${aD}, ${sD}, */*`,$o=class e{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;referrerPolicy;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(n,t,r,o){this.url=t,this.method=n.toUpperCase();let i;if(mx(this.method)||o?(this.body=r!==void 0?r:null,i=o):i=r,i){if(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,this.keepalive=!!i.keepalive,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),i.priority&&(this.priority=i.priority),i.cache&&(this.cache=i.cache),i.credentials&&(this.credentials=i.credentials),typeof i.timeout=="number"){if(i.timeout<1||!Number.isInteger(i.timeout))throw new b(2822,"");this.timeout=i.timeout}i.mode&&(this.mode=i.mode),i.redirect&&(this.redirect=i.redirect),i.integrity&&(this.integrity=i.integrity),i.referrer&&(this.referrer=i.referrer),i.referrerPolicy&&(this.referrerPolicy=i.referrerPolicy),this.transferCache=i.transferCache}if(this.headers??=new Wn,this.context??=new fl,!this.params)this.params=new fn,this.urlWithParams=t;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=t;else{let a=t.indexOf("?"),c=a===-1?"?":a<t.length-1?"&":"";this.urlWithParams=t+c+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||eD(this.body)||tD(this.body)||nD(this.body)||gx(this.body)?this.body:this.body instanceof fn?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||nD(this.body)?null:tD(this.body)?this.body.type||null:eD(this.body)?null:typeof this.body=="string"?sD:this.body instanceof fn?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?aD:null}clone(n={}){let t=n.method||this.method,r=n.url||this.url,o=n.responseType||this.responseType,i=n.keepalive??this.keepalive,s=n.priority||this.priority,a=n.cache||this.cache,c=n.mode||this.mode,l=n.redirect||this.redirect,u=n.credentials||this.credentials,d=n.referrer||this.referrer,h=n.integrity||this.integrity,p=n.referrerPolicy||this.referrerPolicy,m=n.transferCache??this.transferCache,v=n.timeout??this.timeout,_=n.body!==void 0?n.body:this.body,D=n.withCredentials??this.withCredentials,k=n.reportProgress??this.reportProgress,Me=n.headers||this.headers,le=n.params||this.params,gn=n.context??this.context;return n.setHeaders!==void 0&&(Me=Object.keys(n.setHeaders).reduce((yt,Jn)=>yt.set(Jn,n.setHeaders[Jn]),Me)),n.setParams&&(le=Object.keys(n.setParams).reduce((yt,Jn)=>yt.set(Jn,n.setParams[Jn]),le)),new e(t,r,_,{params:le,headers:Me,context:gn,reportProgress:k,responseType:o,withCredentials:D,transferCache:m,keepalive:i,cache:a,priority:s,timeout:v,mode:c,redirect:l,credentials:u,referrer:d,integrity:h,referrerPolicy:p})}},Pr=(function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e})(Pr||{}),Go=class{headers;status;statusText;url;ok;type;redirected;responseType;constructor(n,t=200,r="OK"){this.headers=n.headers||new Wn,this.status=n.status!==void 0?n.status:t,this.statusText=n.statusText||r,this.url=n.url||null,this.redirected=n.redirected,this.responseType=n.responseType,this.ok=this.status>=200&&this.status<300}},pl=class e extends Go{constructor(n={}){super(n)}type=Pr.ResponseHeader;clone(n={}){return new e({headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}},Cs=class e extends Go{body;constructor(n={}){super(n),this.body=n.body!==void 0?n.body:null}type=Pr.Response;clone(n={}){return new e({body:n.body!==void 0?n.body:this.body,headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0,redirected:n.redirected??this.redirected,responseType:n.responseType??this.responseType})}},zo=class extends Go{name="HttpErrorResponse";message;error;ok=!1;constructor(n){super(n,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${n.url||"(unknown url)"}`:this.message=`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}},yx=200,_x=204;var bx=new g("");var Dx=/^\)\]\}',?\n/;var np=(()=>{class e{xhrFactory;tracingService=f(Nt,{optional:!0});constructor(t){this.xhrFactory=t}maybePropagateTrace(t){return this.tracingService?.propagate?this.tracingService.propagate(t):t}handle(t){if(t.method==="JSONP")throw new b(-2800,!1);let r=this.xhrFactory;return pe(null).pipe(so(()=>new R(i=>{let s=r.build();if(s.open(t.method,t.urlWithParams),t.withCredentials&&(s.withCredentials=!0),t.headers.forEach((_,D)=>s.setRequestHeader(_,D.join(","))),t.headers.has(oD)||s.setRequestHeader(oD,vx),!t.headers.has(rD)){let _=t.detectContentTypeHeader();_!==null&&s.setRequestHeader(rD,_)}if(t.timeout&&(s.timeout=t.timeout),t.responseType){let _=t.responseType.toLowerCase();s.responseType=_!=="json"?_:"text"}let a=t.serializeBody(),c=null,l=()=>{if(c!==null)return c;let _=s.statusText||"OK",D=new Wn(s.getAllResponseHeaders()),k=s.responseURL||t.url;return c=new pl({headers:D,status:s.status,statusText:_,url:k}),c},u=this.maybePropagateTrace(()=>{let{headers:_,status:D,statusText:k,url:Me}=l(),le=null;D!==_x&&(le=typeof s.response>"u"?s.responseText:s.response),D===0&&(D=le?yx:0);let gn=D>=200&&D<300;if(t.responseType==="json"&&typeof le=="string"){let yt=le;le=le.replace(Dx,"");try{le=le!==""?JSON.parse(le):null}catch(Jn){le=yt,gn&&(gn=!1,le={error:Jn,text:le})}}gn?(i.next(new Cs({body:le,headers:_,status:D,statusText:k,url:Me||void 0})),i.complete()):i.error(new zo({error:le,headers:_,status:D,statusText:k,url:Me||void 0}))}),d=this.maybePropagateTrace(_=>{let{url:D}=l(),k=new zo({error:_,status:s.status||0,statusText:s.statusText||"Unknown Error",url:D||void 0});i.error(k)}),h=d;t.timeout&&(h=this.maybePropagateTrace(_=>{let{url:D}=l(),k=new zo({error:new DOMException("Request timed out","TimeoutError"),status:s.status||0,statusText:s.statusText||"Request timeout",url:D||void 0});i.error(k)}));let p=!1,m=this.maybePropagateTrace(_=>{p||(i.next(l()),p=!0);let D={type:Pr.DownloadProgress,loaded:_.loaded};_.lengthComputable&&(D.total=_.total),t.responseType==="text"&&s.responseText&&(D.partialText=s.responseText),i.next(D)}),v=this.maybePropagateTrace(_=>{let D={type:Pr.UploadProgress,loaded:_.loaded};_.lengthComputable&&(D.total=_.total),i.next(D)});return s.addEventListener("load",u),s.addEventListener("error",d),s.addEventListener("timeout",h),s.addEventListener("abort",d),t.reportProgress&&(s.addEventListener("progress",m),a!==null&&s.upload&&s.upload.addEventListener("progress",v)),s.send(a),i.next({type:Pr.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",u),s.removeEventListener("timeout",h),t.reportProgress&&(s.removeEventListener("progress",m),a!==null&&s.upload&&s.upload.removeEventListener("progress",v)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(r){return new(r||e)(T(Fr))};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function cD(e,n){return n(e)}function Ex(e,n){return(t,r)=>n.intercept(t,{handle:o=>e(o,r)})}function Cx(e,n,t){return(r,o)=>ho(t,()=>n(r,i=>e(i,o)))}var lD=new g(""),rp=new g("",{factory:()=>[]}),uD=new g(""),op=new g("",{factory:()=>!0});function wx(){let e=null;return(n,t)=>{e===null&&(e=(f(lD,{optional:!0})??[]).reduceRight(Ex,cD));let r=f(jn);if(f(op)){let i=r.add();return e(n,t).pipe(io(i))}else return e(n,t)}}var ip=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=T(np),o},providedIn:"root"})}return e})();var ml=(()=>{class e{backend;injector;chain=null;pendingTasks=f(jn);contributeToStability=f(op);constructor(t,r){this.backend=t,this.injector=r}handle(t){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(rp),...this.injector.get(uD,[])]));this.chain=r.reduceRight((o,i)=>Cx(o,i,this.injector),cD)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(t,o=>this.backend.handle(o)).pipe(io(r))}else return this.chain(t,r=>this.backend.handle(r))}static \u0275fac=function(r){return new(r||e)(T(ip),T(ue))};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),sp=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=T(ml),o},providedIn:"root"})}return e})();function tp(e,n){return{body:n,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,credentials:e.credentials,transferCache:e.transferCache,timeout:e.timeout,keepalive:e.keepalive,priority:e.priority,cache:e.cache,mode:e.mode,redirect:e.redirect,integrity:e.integrity,referrer:e.referrer,referrerPolicy:e.referrerPolicy}}var gl=(()=>{class e{handler;constructor(t){this.handler=t}request(t,r,o={}){let i;if(t instanceof $o)i=t;else{let c;o.headers instanceof Wn?c=o.headers:c=new Wn(o.headers);let l;o.params&&(o.params instanceof fn?l=o.params:l=new fn({fromObject:o.params})),i=new $o(t,r,o.body!==void 0?o.body:null,{headers:c,context:o.context,params:l,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache,keepalive:o.keepalive,priority:o.priority,cache:o.cache,mode:o.mode,redirect:o.redirect,credentials:o.credentials,referrer:o.referrer,referrerPolicy:o.referrerPolicy,integrity:o.integrity,timeout:o.timeout})}let s=pe(i).pipe(xu(c=>this.handler.handle(c)));if(t instanceof $o||o.observe==="events")return s;let a=s.pipe(Ce(c=>c instanceof Cs));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(X(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new b(2806,!1);return c.body}));case"blob":return a.pipe(X(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new b(2807,!1);return c.body}));case"text":return a.pipe(X(c=>{if(c.body!==null&&typeof c.body!="string")throw new b(2808,!1);return c.body}));default:return a.pipe(X(c=>c.body))}case"response":return a;default:throw new b(2809,!1)}}delete(t,r={}){return this.request("DELETE",t,r)}get(t,r={}){return this.request("GET",t,r)}head(t,r={}){return this.request("HEAD",t,r)}jsonp(t,r){return this.request("JSONP",t,{params:new fn().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,r={}){return this.request("OPTIONS",t,r)}patch(t,r,o={}){return this.request("PATCH",t,tp(o,r))}post(t,r,o={}){return this.request("POST",t,tp(o,r))}put(t,r,o={}){return this.request("PUT",t,tp(o,r))}static \u0275fac=function(r){return new(r||e)(T(sp))};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Ix=new g("",{factory:()=>!0}),Sx="XSRF-TOKEN",Mx=new g("",{factory:()=>Sx}),Tx="X-XSRF-TOKEN",Ax=new g("",{factory:()=>Tx}),xx=(()=>{class e{cookieName=f(Mx);doc=f(x);lastCookieString="";lastToken=null;parseCount=0;getToken(){let t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=ys(t,this.cookieName),this.lastCookieString=t),this.lastToken}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),dD=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=T(xx),o},providedIn:"root"})}return e})();function Nx(e,n){if(!f(Ix)||e.method==="GET"||e.method==="HEAD")return n(e);try{let o=f(Uo).href,{origin:i}=new URL(o),{origin:s}=new URL(e.url,i);if(i!==s)return n(e)}catch(o){return n(e)}let t=f(dD).getToken(),r=f(Ax);return t!=null&&!e.headers.has(r)&&(e=e.clone({headers:e.headers.set(r,t)})),n(e)}var ap=(function(e){return e[e.Interceptors=0]="Interceptors",e[e.LegacyInterceptors=1]="LegacyInterceptors",e[e.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",e[e.NoXsrfProtection=3]="NoXsrfProtection",e[e.JsonpSupport=4]="JsonpSupport",e[e.RequestsMadeViaParent=5]="RequestsMadeViaParent",e[e.Fetch=6]="Fetch",e})(ap||{});function Rx(e,n){return{\u0275kind:e,\u0275providers:n}}function Ox(...e){let n=[gl,ml,{provide:sp,useExisting:ml},{provide:ip,useFactory:()=>f(bx,{optional:!0})??f(np)},{provide:rp,useValue:Nx,multi:!0}];for(let t of e)n.push(...t.\u0275providers);return uo(n)}var iD=new g("");function kx(){return Rx(ap.LegacyInterceptors,[{provide:iD,useFactory:wx},{provide:rp,useExisting:iD,multi:!0}])}var ws=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=T(Px),o},providedIn:"root"})}return e})(),Px=(()=>{class e extends ws{_doc;constructor(t){super(),this._doc=t}sanitize(t,r){if(r==null)return null;switch(t){case be.NONE:return r;case be.HTML:return Gt(r,"HTML")?rt(r):Mc(this._doc,String(r)).toString();case be.STYLE:return Gt(r,"Style")?rt(r):r;case be.SCRIPT:if(Gt(r,"Script"))return rt(r);throw new b(5200,!1);case be.URL:return Gt(r,"URL")?rt(r):es(String(r));case be.RESOURCE_URL:if(Gt(r,"ResourceURL"))return rt(r);throw new b(5201,!1);default:throw new b(5202,!1)}}bypassSecurityTrustHtml(t){return jf(t)}bypassSecurityTrustStyle(t){return Bf(t)}bypassSecurityTrustScript(t){return Hf(t)}bypassSecurityTrustUrl(t){return Uf(t)}bypassSecurityTrustResourceUrl(t){return $f(t)}static \u0275fac=function(r){return new(r||e)(T(x))};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Is(e){return e.buttons===0||e.detail===0}function Ss(e){let n=e.touches&&e.touches[0]||e.changedTouches&&e.changedTouches[0];return!!n&&n.identifier===-1&&(n.radiusX==null||n.radiusX===1)&&(n.radiusY==null||n.radiusY===1)}var cp;function fD(){if(cp==null){let e=typeof document<"u"?document.head:null;cp=!!(e&&(e.createShadowRoot||e.attachShadow))}return cp}function lp(e){if(fD()){let n=e.getRootNode?e.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&n instanceof ShadowRoot)return n}return null}function Lr(){let e=typeof document<"u"&&document?document.activeElement:null;for(;e&&e.shadowRoot;){let n=e.shadowRoot.activeElement;if(n===e)break;e=n}return e}function Ge(e){return e.composedPath?e.composedPath()[0]:e.target}var up;try{up=typeof Intl<"u"&&Intl.v8BreakIterator}catch(e){up=!1}var ie=(()=>{class e{_platformId=f(Nr);isBrowser=this._platformId?Gb(this._platformId):typeof document=="object"&&!!document;EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent);TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent);BLINK=this.isBrowser&&!!(window.chrome||up)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT;WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT;IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window);FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent);ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT;SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT;constructor(){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Ms;function hD(){if(Ms==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Ms=!0}))}finally{Ms=Ms||!1}return Ms}function Wo(e){return hD()?e:!!e.capture}function Ft(e,n=0){return pD(e)?Number(e):arguments.length===2?n:0}function pD(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}function mt(e){return e instanceof H?e.nativeElement:e}var mD=new g("cdk-input-modality-detector-options"),gD={ignoreKeys:[18,17,224,91,16]},vD=650,dp={passive:!0,capture:!0},yD=(()=>{class e{_platform=f(ie);_listenerCleanups;modalityDetected;modalityChanged;get mostRecentModality(){return this._modality.value}_mostRecentTarget=null;_modality=new ar(null);_options;_lastTouchMs=0;_onKeydown=t=>{this._options?.ignoreKeys?.some(r=>r===t.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Ge(t))};_onMousedown=t=>{Date.now()-this._lastTouchMs<vD||(this._modality.next(Is(t)?"keyboard":"mouse"),this._mostRecentTarget=Ge(t))};_onTouchstart=t=>{if(Ss(t)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Ge(t)};constructor(){let t=f(M),r=f(x),o=f(mD,{optional:!0});if(this._options=E(E({},gD),o),this.modalityDetected=this._modality.pipe(Ci(1)),this.modalityChanged=this.modalityDetected.pipe(ur()),this._platform.isBrowser){let i=f(Se).createRenderer(null,null);this._listenerCleanups=t.runOutsideAngular(()=>[i.listen(r,"keydown",this._onKeydown,dp),i.listen(r,"mousedown",this._onMousedown,dp),i.listen(r,"touchstart",this._onTouchstart,dp)])}}ngOnDestroy(){this._modality.complete(),this._listenerCleanups?.forEach(t=>t())}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Ts=(function(e){return e[e.IMMEDIATE=0]="IMMEDIATE",e[e.EVENTUAL=1]="EVENTUAL",e})(Ts||{}),_D=new g("cdk-focus-monitor-default-options"),vl=Wo({passive:!0,capture:!0}),qo=(()=>{class e{_ngZone=f(M);_platform=f(ie);_inputModalityDetector=f(yD);_origin=null;_lastFocusOrigin=null;_windowFocused=!1;_windowFocusTimeoutId;_originTimeoutId;_originFromTouchInteraction=!1;_elementInfo=new Map;_monitoredElementCount=0;_rootNodeFocusListenerCount=new Map;_detectionMode;_windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)};_document=f(x);_stopInputModalityDetector=new C;constructor(){let t=f(_D,{optional:!0});this._detectionMode=t?.detectionMode||Ts.IMMEDIATE}_rootNodeFocusAndBlurListener=t=>{let r=Ge(t);for(let o=r;o;o=o.parentElement)t.type==="focus"?this._onFocus(t,o):this._onBlur(t,o)};monitor(t,r=!1){let o=mt(t);if(!this._platform.isBrowser||o.nodeType!==1)return pe();let i=lp(o)||this._document,s=this._elementInfo.get(o);if(s)return r&&(s.checkChildren=!0),s.subject;let a={checkChildren:r,subject:new C,rootNode:i};return this._elementInfo.set(o,a),this._registerGlobalListeners(a),a.subject}stopMonitoring(t){let r=mt(t),o=this._elementInfo.get(r);o&&(o.subject.complete(),this._setClasses(r),this._elementInfo.delete(r),this._removeGlobalListeners(o))}focusVia(t,r,o){let i=mt(t),s=this._document.activeElement;i===s?this._getClosestElementsInfo(i).forEach(([a,c])=>this._originChanged(a,r,c)):(this._setOrigin(r),typeof i.focus=="function"&&i.focus(o))}ngOnDestroy(){this._elementInfo.forEach((t,r)=>this.stopMonitoring(r))}_getWindow(){return this._document.defaultView||window}_getFocusOrigin(t){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(t)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:t&&this._isLastInteractionFromInputLabel(t)?"mouse":"program"}_shouldBeAttributedToTouch(t){return this._detectionMode===Ts.EVENTUAL||!!t?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(t,r){t.classList.toggle("cdk-focused",!!r),t.classList.toggle("cdk-touch-focused",r==="touch"),t.classList.toggle("cdk-keyboard-focused",r==="keyboard"),t.classList.toggle("cdk-mouse-focused",r==="mouse"),t.classList.toggle("cdk-program-focused",r==="program")}_setOrigin(t,r=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=t,this._originFromTouchInteraction=t==="touch"&&r,this._detectionMode===Ts.IMMEDIATE){clearTimeout(this._originTimeoutId);let o=this._originFromTouchInteraction?vD:1;this._originTimeoutId=setTimeout(()=>this._origin=null,o)}})}_onFocus(t,r){let o=this._elementInfo.get(r),i=Ge(t);!o||!o.checkChildren&&r!==i||this._originChanged(r,this._getFocusOrigin(i),o)}_onBlur(t,r){let o=this._elementInfo.get(r);!o||o.checkChildren&&t.relatedTarget instanceof Node&&r.contains(t.relatedTarget)||(this._setClasses(r),this._emitOrigin(o,null))}_emitOrigin(t,r){t.subject.observers.length&&this._ngZone.run(()=>t.subject.next(r))}_registerGlobalListeners(t){if(!this._platform.isBrowser)return;let r=t.rootNode,o=this._rootNodeFocusListenerCount.get(r)||0;o||this._ngZone.runOutsideAngular(()=>{r.addEventListener("focus",this._rootNodeFocusAndBlurListener,vl),r.addEventListener("blur",this._rootNodeFocusAndBlurListener,vl)}),this._rootNodeFocusListenerCount.set(r,o+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(Kt(this._stopInputModalityDetector)).subscribe(i=>{this._setOrigin(i,!0)}))}_removeGlobalListeners(t){let r=t.rootNode;if(this._rootNodeFocusListenerCount.has(r)){let o=this._rootNodeFocusListenerCount.get(r);o>1?this._rootNodeFocusListenerCount.set(r,o-1):(r.removeEventListener("focus",this._rootNodeFocusAndBlurListener,vl),r.removeEventListener("blur",this._rootNodeFocusAndBlurListener,vl),this._rootNodeFocusListenerCount.delete(r))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(t,r,o){this._setClasses(t,r),this._emitOrigin(o,r),this._lastFocusOrigin=r}_getClosestElementsInfo(t){let r=[];return this._elementInfo.forEach((o,i)=>{(i===t||o.checkChildren&&i.contains(t))&&r.push([i,o])}),r}_isLastInteractionFromInputLabel(t){let{_mostRecentTarget:r,mostRecentModality:o}=this._inputModalityDetector;if(o!=="mouse"||!r||r===t||t.nodeName!=="INPUT"&&t.nodeName!=="TEXTAREA"||t.disabled)return!1;let i=t.labels;if(i){for(let s=0;s<i.length;s++)if(i[s].contains(r))return!0}return!1}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Vx=(()=>{class e{_elementRef=f(H);_focusMonitor=f(qo);_monitorSubscription;_focusOrigin=null;cdkFocusChange=new $;constructor(){}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){let t=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(t,t.nodeType===1&&t.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(r=>{this._focusOrigin=r,this.cdkFocusChange.emit(r)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275dir=A({type:e,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]})}return e})();var yl=new WeakMap,gt=(()=>{class e{_appRef;_injector=f(O);_environmentInjector=f(ue);load(t){let r=this._appRef=this._appRef||this._injector.get(ot),o=yl.get(r);o||(o={loaders:new Set,refs:[]},yl.set(r,o),r.onDestroy(()=>{yl.get(r)?.refs.forEach(i=>i.destroy()),yl.delete(r)})),o.loaders.has(t)||(o.loaders.add(t),o.refs.push(Zc(t,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var bl=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=ae({type:e,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(r,o){},styles:[`.cdk-visually-hidden {
|
|
3
|
+
`)}`:"",this.name="UnsubscriptionError",this.errors=t});function or(e,n){if(e){let t=e.indexOf(n);0<=t&&e.splice(t,1)}}var j=class e{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;let{_parentage:t}=this;if(t)if(this._parentage=null,Array.isArray(t))for(let i of t)i.remove(this);else t.remove(this);let{initialTeardown:r}=this;if(F(r))try{r()}catch(i){n=i instanceof Xs?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{om(i)}catch(s){n=n??[],s instanceof Xs?n=[...n,...s.errors]:n.push(s)}}if(n)throw new Xs(n)}}add(n){var t;if(n&&n!==this)if(this.closed)om(n);else{if(n instanceof e){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=(t=this._finalizers)!==null&&t!==void 0?t:[]).push(n)}}_hasParent(n){let{_parentage:t}=this;return t===n||Array.isArray(t)&&t.includes(n)}_addParent(n){let{_parentage:t}=this;this._parentage=Array.isArray(t)?(t.push(n),t):t?[t,n]:n}_removeParent(n){let{_parentage:t}=this;t===n?this._parentage=null:Array.isArray(t)&&or(t,n)}remove(n){let{_finalizers:t}=this;t&&or(t,n),n instanceof e&&n._removeParent(this)}};j.EMPTY=(()=>{let e=new j;return e.closed=!0,e})();var hu=j.EMPTY;function Qs(e){return e instanceof j||e&&"closed"in e&&F(e.remove)&&F(e.add)&&F(e.unsubscribe)}function om(e){F(e)?e():e.unsubscribe()}var _t={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Xr={setTimeout(e,n,...t){let{delegate:r}=Xr;return r?.setTimeout?r.setTimeout(e,n,...t):setTimeout(e,n,...t)},clearTimeout(e){let{delegate:n}=Xr;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Js(e){Xr.setTimeout(()=>{let{onUnhandledError:n}=_t;if(n)n(e);else throw e})}function di(){}var im=pu("C",void 0,void 0);function sm(e){return pu("E",void 0,e)}function am(e){return pu("N",e,void 0)}function pu(e,n,t){return{kind:e,value:n,error:t}}var ir=null;function Qr(e){if(_t.useDeprecatedSynchronousErrorHandling){let n=!ir;if(n&&(ir={errorThrown:!1,error:null}),e(),n){let{errorThrown:t,error:r}=ir;if(ir=null,t)throw r}}else e()}function cm(e){_t.useDeprecatedSynchronousErrorHandling&&ir&&(ir.errorThrown=!0,ir.error=e)}var sr=class extends j{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,Qs(n)&&n.add(this)):this.destination=pC}static create(n,t,r){return new bt(n,t,r)}next(n){this.isStopped?gu(am(n),this):this._next(n)}error(n){this.isStopped?gu(sm(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?gu(im,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},fC=Function.prototype.bind;function mu(e,n){return fC.call(e,n)}var vu=class{constructor(n){this.partialObserver=n}next(n){let{partialObserver:t}=this;if(t.next)try{t.next(n)}catch(r){ea(r)}}error(n){let{partialObserver:t}=this;if(t.error)try{t.error(n)}catch(r){ea(r)}else ea(n)}complete(){let{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(t){ea(t)}}},bt=class extends sr{constructor(n,t,r){super();let o;if(F(n)||!n)o={next:n??void 0,error:t??void 0,complete:r??void 0};else{let i;this&&_t.useDeprecatedNextContext?(i=Object.create(n),i.unsubscribe=()=>this.unsubscribe(),o={next:n.next&&mu(n.next,i),error:n.error&&mu(n.error,i),complete:n.complete&&mu(n.complete,i)}):o=n}this.destination=new vu(o)}};function ea(e){_t.useDeprecatedSynchronousErrorHandling?cm(e):Js(e)}function hC(e){throw e}function gu(e,n){let{onStoppedNotification:t}=_t;t&&Xr.setTimeout(()=>t(e,n))}var pC={closed:!0,next:di,error:hC,complete:di};var Jr=typeof Symbol=="function"&&Symbol.observable||"@@observable";function Dt(e){return e}function lm(e){return e.length===0?Dt:e.length===1?e[0]:function(t){return e.reduce((r,o)=>o(r),t)}}var R=(()=>{class e{constructor(t){t&&(this._subscribe=t)}lift(t){let r=new e;return r.source=this,r.operator=t,r}subscribe(t,r,o){let i=gC(t)?t:new bt(t,r,o);return Qr(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(t){try{return this._subscribe(t)}catch(r){t.error(r)}}forEach(t,r){return r=um(r),new r((o,i)=>{let s=new bt({next:a=>{try{t(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(t){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(t)}[Jr](){return this}pipe(...t){return lm(t)(this)}toPromise(t){return t=um(t),new t((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=n=>new e(n),e})();function um(e){var n;return(n=e??_t.Promise)!==null&&n!==void 0?n:Promise}function mC(e){return e&&F(e.next)&&F(e.error)&&F(e.complete)}function gC(e){return e&&e instanceof sr||mC(e)&&Qs(e)}function yu(e){return F(e?.lift)}function L(e){return n=>{if(yu(n))return n.lift(function(t){try{return e(t,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function P(e,n,t,r,o){return new fi(e,n,t,r,o)}var fi=class extends sr{constructor(n,t,r,o,i,s){super(n),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=t?function(a){try{t(a)}catch(c){n.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){n.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:t}=this;super.unsubscribe(),!t&&((n=this.onFinalize)===null||n===void 0||n.call(this))}}};function dm(){return L((e,n)=>{let t=null;e._refCount++;let r=P(n,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){t=null;return}let o=e._connection,i=t;t=null,o&&(!i||o===i)&&o.unsubscribe(),n.unsubscribe()});e.subscribe(r),r.closed||(t=e.connect())})}var hi=class extends R{constructor(n,t){super(),this.source=n,this.subjectFactory=t,this._subject=null,this._refCount=0,this._connection=null,yu(n)&&(this.lift=n.lift)}_subscribe(n){return this.getSubject().subscribe(n)}getSubject(){let n=this._subject;return(!n||n.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:n}=this;this._subject=this._connection=null,n?.unsubscribe()}connect(){let n=this._connection;if(!n){n=this._connection=new j;let t=this.getSubject();n.add(this.source.subscribe(P(t,void 0,()=>{this._teardown(),t.complete()},r=>{this._teardown(),t.error(r)},()=>this._teardown()))),n.closed&&(this._connection=null,n=j.EMPTY)}return n}refCount(){return dm()(this)}};var eo={schedule(e){let n=requestAnimationFrame,t=cancelAnimationFrame,{delegate:r}=eo;r&&(n=r.requestAnimationFrame,t=r.cancelAnimationFrame);let o=n(i=>{t=void 0,e(i)});return new j(()=>t?.(o))},requestAnimationFrame(...e){let{delegate:n}=eo;return(n?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){let{delegate:n}=eo;return(n?.cancelAnimationFrame||cancelAnimationFrame)(...e)},delegate:void 0};var fm=Kr(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var C=(()=>{class e extends R{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){let r=new ta(this,this);return r.operator=t,r}_throwIfClosed(){if(this.closed)throw new fm}next(t){Qr(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(t)}})}error(t){Qr(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;let{observers:r}=this;for(;r.length;)r.shift().error(t)}})}complete(){Qr(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:t}=this;for(;t.length;)t.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var t;return((t=this.observers)===null||t===void 0?void 0:t.length)>0}_trySubscribe(t){return this._throwIfClosed(),super._trySubscribe(t)}_subscribe(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)}_innerSubscribe(t){let{hasError:r,isStopped:o,observers:i}=this;return r||o?hu:(this.currentObservers=null,i.push(t),new j(()=>{this.currentObservers=null,or(i,t)}))}_checkFinalizedStatuses(t){let{hasError:r,thrownError:o,isStopped:i}=this;r?t.error(o):i&&t.complete()}asObservable(){let t=new R;return t.source=this,t}}return e.create=(n,t)=>new ta(n,t),e})(),ta=class extends C{constructor(n,t){super(),this.destination=n,this.source=t}next(n){var t,r;(r=(t=this.destination)===null||t===void 0?void 0:t.next)===null||r===void 0||r.call(t,n)}error(n){var t,r;(r=(t=this.destination)===null||t===void 0?void 0:t.error)===null||r===void 0||r.call(t,n)}complete(){var n,t;(t=(n=this.destination)===null||n===void 0?void 0:n.complete)===null||t===void 0||t.call(n)}_subscribe(n){var t,r;return(r=(t=this.source)===null||t===void 0?void 0:t.subscribe(n))!==null&&r!==void 0?r:hu}};var ar=class extends C{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){let t=super._subscribe(n);return!t.closed&&n.next(this._value),t}getValue(){let{hasError:n,thrownError:t,_value:r}=this;if(n)throw t;return this._throwIfClosed(),r}next(n){super.next(this._value=n)}};var pi={now(){return(pi.delegate||Date).now()},delegate:void 0};var En=class extends C{constructor(n=1/0,t=1/0,r=pi){super(),this._bufferSize=n,this._windowTime=t,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=t===1/0,this._bufferSize=Math.max(1,n),this._windowTime=Math.max(1,t)}next(n){let{isStopped:t,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;t||(r.push(n),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(n)}_subscribe(n){this._throwIfClosed(),this._trimBuffer();let t=this._innerSubscribe(n),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!n.closed;s+=r?1:2)n.next(i[s]);return this._checkFinalizedStatuses(n),t}_trimBuffer(){let{_bufferSize:n,_timestampProvider:t,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*n;if(n<1/0&&i<r.length&&r.splice(0,r.length-i),!o){let s=t.now(),a=0;for(let c=1;c<r.length&&r[c]<=s;c+=2)a=c;a&&r.splice(0,a+1)}}};var _u=class extends C{constructor(){super(...arguments),this._value=null,this._hasValue=!1,this._isComplete=!1}_checkFinalizedStatuses(n){let{hasError:t,_hasValue:r,_value:o,thrownError:i,isStopped:s,_isComplete:a}=this;t?n.error(i):(s||a)&&(r&&n.next(o),n.complete())}next(n){this.isStopped||(this._value=n,this._hasValue=!0)}complete(){let{_hasValue:n,_value:t,_isComplete:r}=this;r||(this._isComplete=!0,n&&super.next(t),super.complete())}};var na=class extends j{constructor(n,t){super()}schedule(n,t=0){return this}};var mi={setInterval(e,n,...t){let{delegate:r}=mi;return r?.setInterval?r.setInterval(e,n,...t):setInterval(e,n,...t)},clearInterval(e){let{delegate:n}=mi;return(n?.clearInterval||clearInterval)(e)},delegate:void 0};var Cn=class extends na{constructor(n,t){super(n,t),this.scheduler=n,this.work=t,this.pending=!1}schedule(n,t=0){var r;if(this.closed)return this;this.state=n;let o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,t)),this.pending=!0,this.delay=t,this.id=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(i,this.id,t),this}requestAsyncId(n,t,r=0){return mi.setInterval(n.flush.bind(n,this),r)}recycleAsyncId(n,t,r=0){if(r!=null&&this.delay===r&&this.pending===!1)return t;t!=null&&mi.clearInterval(t)}execute(n,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(n,t);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(n,t){let r=!1,o;try{this.work(n)}catch(i){r=!0,o=i||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){let{id:n,scheduler:t}=this,{actions:r}=t;this.work=this.state=this.scheduler=null,this.pending=!1,or(r,this),n!=null&&(this.id=this.recycleAsyncId(t,n,null)),this.delay=null,super.unsubscribe()}}};var vC=1,bu,Du={};function hm(e){return e in Du?(delete Du[e],!0):!1}var pm={setImmediate(e){let n=vC++;return Du[n]=!0,bu||(bu=Promise.resolve()),bu.then(()=>hm(n)&&e()),n},clearImmediate(e){hm(e)}};var{setImmediate:yC,clearImmediate:_C}=pm,gi={setImmediate(...e){let{delegate:n}=gi;return(n?.setImmediate||yC)(...e)},clearImmediate(e){let{delegate:n}=gi;return(n?.clearImmediate||_C)(e)},delegate:void 0};var ra=class extends Cn{constructor(n,t){super(n,t),this.scheduler=n,this.work=t}requestAsyncId(n,t,r=0){return r!==null&&r>0?super.requestAsyncId(n,t,r):(n.actions.push(this),n._scheduled||(n._scheduled=gi.setImmediate(n.flush.bind(n,void 0))))}recycleAsyncId(n,t,r=0){var o;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(n,t,r);let{actions:i}=n;t!=null&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==t&&(gi.clearImmediate(t),n._scheduled===t&&(n._scheduled=void 0))}};var to=class e{constructor(n,t=e.now){this.schedulerActionCtor=n,this.now=t}schedule(n,t=0,r){return new this.schedulerActionCtor(this,n).schedule(r,t)}};to.now=pi.now;var wn=class extends to{constructor(n,t=to.now){super(n,t),this.actions=[],this._active=!1}flush(n){let{actions:t}=this;if(this._active){t.push(n);return}let r;this._active=!0;do if(r=n.execute(n.state,n.delay))break;while(n=t.shift());if(this._active=!1,r){for(;n=t.shift();)n.unsubscribe();throw r}}};var oa=class extends wn{flush(n){this._active=!0;let t=this._scheduled;this._scheduled=void 0;let{actions:r}=this,o;n=n||r.shift();do if(o=n.execute(n.state,n.delay))break;while((n=r[0])&&n.id===t&&r.shift());if(this._active=!1,o){for(;(n=r[0])&&n.id===t&&r.shift();)n.unsubscribe();throw o}}};var Eu=new oa(ra);var cr=new wn(Cn),mm=cr;var ia=class extends Cn{constructor(n,t){super(n,t),this.scheduler=n,this.work=t}requestAsyncId(n,t,r=0){return r!==null&&r>0?super.requestAsyncId(n,t,r):(n.actions.push(this),n._scheduled||(n._scheduled=eo.requestAnimationFrame(()=>n.flush(void 0))))}recycleAsyncId(n,t,r=0){var o;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(n,t,r);let{actions:i}=n;t!=null&&t===n._scheduled&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==t&&(eo.cancelAnimationFrame(t),n._scheduled=void 0)}};var sa=class extends wn{flush(n){this._active=!0;let t;n?t=n.id:(t=this._scheduled,this._scheduled=void 0);let{actions:r}=this,o;n=n||r.shift();do if(o=n.execute(n.state,n.delay))break;while((n=r[0])&&n.id===t&&r.shift());if(this._active=!1,o){for(;(n=r[0])&&n.id===t&&r.shift();)n.unsubscribe();throw o}}};var Cu=new sa(ia);var vi=new R(e=>e.complete());function aa(e){return e&&F(e.schedule)}function wu(e){return e[e.length-1]}function ca(e){return F(wu(e))?e.pop():void 0}function Vt(e){return aa(wu(e))?e.pop():void 0}function gm(e,n){return typeof wu(e)=="number"?e.pop():n}function ym(e,n,t,r){function o(i){return i instanceof t?i:new t(function(s){s(i)})}return new(t||(t=Promise))(function(i,s){function a(u){try{l(r.next(u))}catch(d){s(d)}}function c(u){try{l(r.throw(u))}catch(d){s(d)}}function l(u){u.done?i(u.value):o(u.value).then(a,c)}l((r=r.apply(e,n||[])).next())})}function vm(e){var n=typeof Symbol=="function"&&Symbol.iterator,t=n&&e[n],r=0;if(t)return t.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(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function lr(e){return this instanceof lr?(this.v=e,this):new lr(e)}function _m(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=t.apply(e,n||[]),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(p){return function(m){return Promise.resolve(m).then(p,d)}}function a(p,m){r[p]&&(o[p]=function(v){return new Promise(function(_,D){i.push([p,v,_,D])>1||c(p,v)})},m&&(o[p]=m(o[p])))}function c(p,m){try{l(r[p](m))}catch(v){h(i[0][3],v)}}function l(p){p.value instanceof lr?Promise.resolve(p.value.v).then(u,d):h(i[0][2],p)}function u(p){c("next",p)}function d(p){c("throw",p)}function h(p,m){p(m),i.shift(),i.length&&c(i[0][0],i[0][1])}}function bm(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=e[Symbol.asyncIterator],t;return n?n.call(e):(e=typeof vm=="function"?vm(e):e[Symbol.iterator](),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(i){t[i]=e[i]&&function(s){return new Promise(function(a,c){s=e[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(l){i({value:l,done:a})},s)}}var la=e=>e&&typeof e.length=="number"&&typeof e!="function";function ua(e){return F(e?.then)}function da(e){return F(e[Jr])}function fa(e){return Symbol.asyncIterator&&F(e?.[Symbol.asyncIterator])}function ha(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 bC(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var pa=bC();function ma(e){return F(e?.[pa])}function ga(e){return _m(this,arguments,function*(){let t=e.getReader();try{for(;;){let{value:r,done:o}=yield lr(t.read());if(o)return yield lr(void 0);yield yield lr(r)}}finally{t.releaseLock()}})}function va(e){return F(e?.getReader)}function J(e){if(e instanceof R)return e;if(e!=null){if(da(e))return DC(e);if(la(e))return EC(e);if(ua(e))return CC(e);if(fa(e))return Dm(e);if(ma(e))return wC(e);if(va(e))return IC(e)}throw ha(e)}function DC(e){return new R(n=>{let t=e[Jr]();if(F(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function EC(e){return new R(n=>{for(let t=0;t<e.length&&!n.closed;t++)n.next(e[t]);n.complete()})}function CC(e){return new R(n=>{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,Js)})}function wC(e){return new R(n=>{for(let t of e)if(n.next(t),n.closed)return;n.complete()})}function Dm(e){return new R(n=>{SC(e,n).catch(t=>n.error(t))})}function IC(e){return Dm(ga(e))}function SC(e,n){var t,r,o,i;return ym(this,void 0,void 0,function*(){try{for(t=bm(e);r=yield t.next(),!r.done;){let s=r.value;if(n.next(s),n.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=t.return)&&(yield i.call(t))}finally{if(o)throw o.error}}n.complete()})}function ze(e,n,t,r=0,o=!1){let i=n.schedule(function(){t(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function ya(e,n=0){return L((t,r)=>{t.subscribe(P(r,o=>ze(r,e,()=>r.next(o),n),()=>ze(r,e,()=>r.complete(),n),o=>ze(r,e,()=>r.error(o),n)))})}function _a(e,n=0){return L((t,r)=>{r.add(e.schedule(()=>t.subscribe(r),n))})}function Em(e,n){return J(e).pipe(_a(n),ya(n))}function Cm(e,n){return J(e).pipe(_a(n),ya(n))}function wm(e,n){return new R(t=>{let r=0;return n.schedule(function(){r===e.length?t.complete():(t.next(e[r++]),t.closed||this.schedule())})})}function Im(e,n){return new R(t=>{let r;return ze(t,n,()=>{r=e[pa](),ze(t,n,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){t.error(s);return}i?t.complete():t.next(o)},0,!0)}),()=>F(r?.return)&&r.return()})}function ba(e,n){if(!e)throw new Error("Iterable cannot be null");return new R(t=>{ze(t,n,()=>{let r=e[Symbol.asyncIterator]();ze(t,n,()=>{r.next().then(o=>{o.done?t.complete():t.next(o.value)})},0,!0)})})}function Sm(e,n){return ba(ga(e),n)}function Mm(e,n){if(e!=null){if(da(e))return Em(e,n);if(la(e))return wm(e,n);if(ua(e))return Cm(e,n);if(fa(e))return ba(e,n);if(ma(e))return Im(e,n);if(va(e))return Sm(e,n)}throw ha(e)}function at(e,n){return n?Mm(e,n):J(e)}function pe(...e){let n=Vt(e);return at(e,n)}function Iu(e,n){let t=F(e)?e:()=>e,r=o=>o.error(t());return new R(n?o=>n.schedule(r,0,o):r)}function Zt(e){return!!e&&(e instanceof R||F(e.lift)&&F(e.subscribe))}var Tm=Kr(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function MC(e,n){let t=typeof n=="object";return new Promise((r,o)=>{let i=new bt({next:s=>{r(s),i.unsubscribe()},error:o,complete:()=>{t?r(n.defaultValue):o(new Tm)}});e.subscribe(i)})}function Am(e){return e instanceof Date&&!isNaN(e)}function X(e,n){return L((t,r)=>{let o=0;t.subscribe(P(r,i=>{r.next(e.call(n,i,o++))}))})}var{isArray:TC}=Array;function AC(e,n){return TC(n)?e(...n):e(n)}function Da(e){return X(n=>AC(e,n))}var{isArray:xC}=Array,{getPrototypeOf:NC,prototype:RC,keys:OC}=Object;function Ea(e){if(e.length===1){let n=e[0];if(xC(n))return{args:n,keys:null};if(kC(n)){let t=OC(n);return{args:t.map(r=>n[r]),keys:t}}}return{args:e,keys:null}}function kC(e){return e&&typeof e=="object"&&NC(e)===RC}function Ca(e,n){return e.reduce((t,r,o)=>(t[r]=n[o],t),{})}function Su(...e){let n=Vt(e),t=ca(e),{args:r,keys:o}=Ea(e);if(r.length===0)return at([],n);let i=new R(FC(r,n,o?s=>Ca(o,s):Dt));return t?i.pipe(Da(t)):i}function FC(e,n,t=Dt){return r=>{xm(n,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)xm(n,()=>{let l=at(e[c],n),u=!1;l.subscribe(P(r,d=>{i[c]=d,u||(u=!0,a--),a||r.next(t(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function xm(e,n,t){e?ze(t,e,n):n()}function Nm(e,n,t,r,o,i,s,a){let c=[],l=0,u=0,d=!1,h=()=>{d&&!c.length&&!l&&n.complete()},p=v=>l<r?m(v):c.push(v),m=v=>{i&&n.next(v),l++;let _=!1;J(t(v,u++)).subscribe(P(n,D=>{o?.(D),i?p(D):n.next(D)},()=>{_=!0},void 0,()=>{if(_)try{for(l--;c.length&&l<r;){let D=c.shift();s?ze(n,s,()=>m(D)):m(D)}h()}catch(D){n.error(D)}}))};return e.subscribe(P(n,p,()=>{d=!0,h()})),()=>{a?.()}}function no(e,n,t=1/0){return F(n)?no((r,o)=>X((i,s)=>n(r,i,o,s))(J(e(r,o))),t):(typeof n=="number"&&(t=n),L((r,o)=>Nm(r,o,e,t)))}function wa(e=1/0){return no(Dt,e)}function Rm(){return wa(1)}function ro(...e){return Rm()(at(e,Vt(e)))}function yi(e){return new R(n=>{J(e()).subscribe(n)})}function _i(...e){let n=ca(e),{args:t,keys:r}=Ea(e),o=new R(i=>{let{length:s}=t;if(!s){i.complete();return}let a=new Array(s),c=s,l=s;for(let u=0;u<s;u++){let d=!1;J(t[u]).subscribe(P(i,h=>{d||(d=!0,l--),a[u]=h},()=>c--,void 0,()=>{(!c||!d)&&(l||i.next(r?Ca(r,a):a),i.complete())}))}});return n?o.pipe(Da(n)):o}function bi(e=0,n,t=mm){let r=-1;return n!=null&&(aa(n)?t=n:r=n),new R(o=>{let i=Am(e)?+e-t.now():e;i<0&&(i=0);let s=0;return t.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}function PC(e=0,n=cr){return e<0&&(e=0),bi(e,e,n)}function Mu(...e){let n=Vt(e),t=gm(e,1/0),r=e;return r.length?r.length===1?J(r[0]):wa(t)(at(r,n)):vi}function Ce(e,n){return L((t,r)=>{let o=0;t.subscribe(P(r,i=>e.call(n,i,o++)&&r.next(i)))})}function Om(e){return L((n,t)=>{let r=!1,o=null,i=null,s=!1,a=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let l=o;o=null,t.next(l)}s&&t.complete()},c=()=>{i=null,s&&t.complete()};n.subscribe(P(t,l=>{r=!0,o=l,i||J(e(l)).subscribe(i=P(t,a,c))},()=>{s=!0,(!r||!i||i.closed)&&t.complete()}))})}function oo(e,n=cr){return Om(()=>bi(e,n))}function Di(e){return L((n,t)=>{let r=null,o=!1,i;r=n.subscribe(P(t,void 0,void 0,s=>{i=J(e(s,Di(e)(n))),r?(r.unsubscribe(),r=null,i.subscribe(t)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(t))})}function km(e,n,t,r,o){return(i,s)=>{let a=t,c=n,l=0;i.subscribe(P(s,u=>{let d=l++;c=a?e(c,u,d):(a=!0,u),r&&s.next(c)},o&&(()=>{a&&s.next(c),s.complete()})))}}function LC(e,n){return L(km(e,n,arguments.length>=2,!1,!0))}function Tu(e,n){return F(n)?no(e,n,1):no(e,1)}function In(e,n=cr){return L((t,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let l=i;i=null,r.next(l)}};function c(){let l=s+e,u=n.now();if(u<l){o=this.schedule(void 0,l-u),r.add(o);return}a()}t.subscribe(P(r,l=>{i=l,s=n.now(),o||(o=n.schedule(c,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function Ge(e){return e<=0?()=>vi:L((n,t)=>{let r=0;n.subscribe(P(t,o=>{++r<=e&&(t.next(o),e<=r&&t.complete())}))})}function VC(e){return X(()=>e)}function ur(e,n=Dt){return e=e??jC,L((t,r)=>{let o,i=!0;t.subscribe(P(r,s=>{let a=n(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function jC(e,n){return e===n}function io(e){return L((n,t)=>{try{n.subscribe(t)}finally{t.add(e)}})}function BC(e,n,t,r){return L((o,i)=>{let s;!n||typeof n=="function"?s=n:{duration:t,element:s,connector:r}=n;let a=new Map,c=m=>{a.forEach(m),m(i)},l=m=>c(v=>v.error(m)),u=0,d=!1,h=new fi(i,m=>{try{let v=e(m),_=a.get(v);if(!_){a.set(v,_=r?r():new C);let D=p(v,_);if(i.next(D),t){let k=P(_,()=>{_.complete(),k?.unsubscribe()},void 0,void 0,()=>a.delete(v));h.add(J(t(D)).subscribe(k))}}_.next(s?s(m):m)}catch(v){l(v)}},()=>c(m=>m.complete()),l,()=>a.clear(),()=>(d=!0,u===0));o.subscribe(h);function p(m,v){let _=new R(D=>{u++;let k=v.subscribe(D);return()=>{k.unsubscribe(),--u===0&&d&&h.unsubscribe()}});return _.key=m,_}})}function Au(){return L((e,n)=>{let t,r=!1;e.subscribe(P(n,o=>{let i=t;t=o,r&&n.next([i,o]),r=!0}))})}function Ei(e={}){let{connector:n=()=>new C,resetOnError:t=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,c,l=0,u=!1,d=!1,h=()=>{a?.unsubscribe(),a=void 0},p=()=>{h(),s=c=void 0,u=d=!1},m=()=>{let v=s;p(),v?.unsubscribe()};return L((v,_)=>{l++,!d&&!u&&h();let D=c=c??n();_.add(()=>{l--,l===0&&!d&&!u&&(a=xu(m,o))}),D.subscribe(_),!s&&l>0&&(s=new bt({next:k=>D.next(k),error:k=>{d=!0,h(),a=xu(p,t,k),D.error(k)},complete:()=>{u=!0,h(),a=xu(p,r),D.complete()}}),J(v).subscribe(s))})(i)}}function xu(e,n,...t){if(n===!0){e();return}if(n===!1)return;let r=new bt({next:()=>{r.unsubscribe(),e()}});return J(n(...t)).subscribe(r)}function Nu(e,n,t){let r,o=!1;return e&&typeof e=="object"?{bufferSize:r=1/0,windowTime:n=1/0,refCount:o=!1,scheduler:t}=e:r=e??1/0,Ei({connector:()=>new En(r,n,t),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function Ci(e){return Ce((n,t)=>e<=t)}function jt(...e){let n=Vt(e);return L((t,r)=>{(n?ro(e,t,n):ro(e,t)).subscribe(r)})}function so(e,n){return L((t,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();t.subscribe(P(r,c=>{o?.unsubscribe();let l=0,u=i++;J(e(c,u)).subscribe(o=P(r,d=>r.next(n?n(c,d,u,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Kt(e){return L((n,t)=>{J(e).subscribe(P(t,()=>t.complete(),di)),!t.closed&&n.subscribe(t)})}function Ru(e,n=!1){return L((t,r)=>{let o=0;t.subscribe(P(r,i=>{let s=e(i,o++);(s||n)&&r.next(i),!s&&r.complete()}))})}function Sn(e,n,t){let r=F(e)||n||t?{next:e,error:n,complete:t}:e;return r?L((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(P(i,c=>{var l;(l=r.next)===null||l===void 0||l.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var l;a=!1,(l=r.error)===null||l===void 0||l.call(r,c),i.error(c)},()=>{var c,l;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(l=r.finalize)===null||l===void 0||l.call(r)}))}):Dt}var Ou;function Ia(){return Ou}function Bt(e){let n=Ou;return Ou=e,n}var Fm=Symbol("NotFound");function ao(e){return e===Fm||e?.name==="\u0275NotFound"}function ku(e,n,t){let r=Object.create(HC);r.source=e,r.computation=n,t!=null&&(r.equal=t);let i=()=>{if(nr(r),_n(r),r.value===Lt)throw r.error;return r.value};return i[he]=r,ai(r),i}function Pm(e,n){nr(e),rr(e,n),qr(e)}function Lm(e,n){if(nr(e),e.value===Lt)throw e.error;Ks(e,n),qr(e)}var HC=U(E({},yn),{value:er,dirty:!0,error:null,equal:ci,kind:"linkedSignal",producerMustRecompute(e){return e.value===er||e.value===tr},producerRecomputeValue(e){if(e.value===tr)throw new Error("");let n=e.value;e.value=tr;let t=Yt(e),r,o=!1;try{let i=e.source(),s=n!==er&&n!==Lt,a=s?{source:e.sourceValue,value:n}:void 0;r=e.computation(i,a),e.sourceValue=i,S(null),o=s&&r!==Lt&&e.equal(n,r)}catch(i){r=Lt,e.error=i}finally{bn(e,t)}if(o){e.value=n;return}e.value=r,e.version++}});function Vm(e){let n=S(null);try{return e()}finally{S(n)}}var Ra="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",b=class extends Error{code;constructor(n,t){super(xn(n,t)),this.code=n}};function UC(e){return`NG0${Math.abs(e)}`}function xn(e,n){return`${UC(e)}${n?": "+n:""}`}var ct=globalThis;function te(e){for(let n in e)if(e[n]===te)return n;throw Error("")}function $m(e,n){for(let t in n)n.hasOwnProperty(t)&&!e.hasOwnProperty(t)&&(e[t]=n[t])}function Oa(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(Oa).join(", ")}]`;if(e==null)return""+e;let n=e.overriddenName||e.name;if(n)return`${n}`;let t=e.toString();if(t==null)return""+t;let r=t.indexOf(`
|
|
4
|
+
`);return r>=0?t.slice(0,r):t}function ka(e,n){return e?n?`${e} ${n}`:e:n||""}var $C=te({__forward_ref__:te});function Te(e){return e.__forward_ref__=Te,e}function we(e){return qu(e)?e():e}function qu(e){return typeof e=="function"&&e.hasOwnProperty($C)&&e.__forward_ref__===Te}function y(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function G(e){return{providers:e.providers||[],imports:e.imports||[]}}function Fa(e){return zC(e,Pa)}function zC(e,n){return e.hasOwnProperty(n)&&e[n]||null}function GC(e){let n=e?.[Pa]??null;return n||null}function Pu(e){return e&&e.hasOwnProperty(Ma)?e[Ma]:null}var Pa=te({\u0275prov:te}),Ma=te({\u0275inj:te}),g=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(n,t){this._desc=n,this.\u0275prov=void 0,typeof t=="number"?this.__NG_ELEMENT_ID__=t:t!==void 0&&(this.\u0275prov=y({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Yu(e){return e&&!!e.\u0275providers}var xi=te({\u0275cmp:te}),Ni=te({\u0275dir:te}),Zu=te({\u0275pipe:te});var Ii=te({\u0275fac:te}),mr=te({__NG_ELEMENT_ID__:te}),jm=te({__NG_ENV_ID__:te});function Qt(e){return Xu(e,"@Component"),e[xi]||null}function Ri(e){return Xu(e,"@Directive"),e[Ni]||null}function Ku(e){return Xu(e,"@Pipe"),e[Zu]||null}function Xu(e,n){if(e==null)throw new b(-919,!1)}function gr(e){return typeof e=="string"?e:e==null?"":String(e)}var zm=te({ngErrorCode:te}),WC=te({ngErrorMessage:te}),qC=te({ngTokenPath:te});function Qu(e,n){return Gm("",-200,n)}function La(e,n){throw new b(-201,!1)}function Gm(e,n,t){let r=new b(n,e);return r[zm]=n,r[WC]=e,t&&(r[qC]=t),r}function YC(e){return e[zm]}var Lu;function Wm(){return Lu}function Le(e){let n=Lu;return Lu=e,n}function Ju(e,n,t){let r=Fa(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(t&8)return null;if(n!==void 0)return n;La(e,"")}var ZC={},dr=ZC,KC="__NG_DI_FLAG__",Vu=class{injector;constructor(n){this.injector=n}retrieve(n,t){let r=fr(t)||0;try{return this.injector.get(n,r&8?null:dr,r)}catch(o){if(ao(o))return o;throw o}}};function XC(e,n=0){let t=Ia();if(t===void 0)throw new b(-203,!1);if(t===null)return Ju(e,void 0,n);{let r=QC(n),o=t.retrieve(e,r);if(ao(o)){if(r.optional)return null;throw o}return o}}function T(e,n=0){return(Wm()||XC)(we(e),n)}function f(e,n){return T(e,fr(n))}function fr(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function QC(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function ju(e){let n=[];for(let t=0;t<e.length;t++){let r=we(e[t]);if(Array.isArray(r)){if(r.length===0)throw new b(900,!1);let o,i=0;for(let s=0;s<r.length;s++){let a=r[s],c=JC(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}n.push(T(o,i))}else n.push(T(r))}return n}function JC(e){return e[KC]}function Mn(e,n){let t=e.hasOwnProperty(Ii);return t?e[Ii]:null}function qm(e,n,t){if(e.length!==n.length)return!1;for(let r=0;r<e.length;r++){let o=e[r],i=n[r];if(t&&(o=t(o),i=t(i)),i!==o)return!1}return!0}function Ym(e){return e.flat(Number.POSITIVE_INFINITY)}function Va(e,n){e.forEach(t=>Array.isArray(t)?Va(t,n):n(t))}function ed(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function Oi(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function Zm(e,n){let t=[];for(let r=0;r<e;r++)t.push(n);return t}function Km(e,n,t,r){let o=e.length;if(o==n)e.push(t,r);else if(o===1)e.push(r,e[0]),e[0]=t;else{for(o--,e.push(e[o-1],e[o]);o>n;){let i=o-2;e[o]=e[i],o--}e[n]=t,e[n+1]=r}}function ki(e,n,t){let r=lo(e,n);return r>=0?e[r|1]=t:(r=~r,Km(e,r,n,t)),r}function ja(e,n){let t=lo(e,n);if(t>=0)return e[t|1]}function lo(e,n){return ew(e,n,1)}function ew(e,n,t){let r=0,o=e.length>>t;for(;o!==r;){let i=r+(o-r>>1),s=e[i<<t];if(n===s)return i<<t;s>n?o=i:r=i+1}return~(o<<t)}var Ct={},Re=[],Nn=new g(""),td=new g("",-1),nd=new g(""),Si=class{get(n,t=dr){if(t===dr){let o=Gm("",-201);throw o.name="\u0275NotFound",o}return t}};function uo(e){return{\u0275providers:e}}function Xm(...e){return{\u0275providers:Ba(!0,e),\u0275fromNgModule:!0}}function Ba(e,...n){let t=[],r=new Set,o,i=s=>{t.push(s)};return Va(n,s=>{let a=s;Ta(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Qm(o,i),t}function Qm(e,n){for(let t=0;t<e.length;t++){let{ngModule:r,providers:o}=e[t];rd(o,i=>{n(i,r)})}}function Ta(e,n,t,r){if(e=we(e),!e)return!1;let o=null,i=Pu(e),s=!i&&Qt(e);if(!i&&!s){let c=e.ngModule;if(i=Pu(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let l of c)Ta(l,n,t,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;Va(i.imports,u=>{Ta(u,n,t,r)&&(l||=[],l.push(u))}),l!==void 0&&Qm(l,n)}if(!a){let l=Mn(o)||(()=>new o);n({provide:o,useFactory:l,deps:Re},o),n({provide:nd,useValue:o,multi:!0},o),n({provide:Nn,useValue:()=>T(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=e;rd(c,u=>{n(u,l)})}}else return!1;return o!==e&&e.providers!==void 0}function rd(e,n){for(let t of e)Yu(t)&&(t=t.\u0275providers),Array.isArray(t)?rd(t,n):n(t)}var tw=te({provide:String,useValue:te});function Jm(e){return e!==null&&typeof e=="object"&&tw in e}function nw(e){return!!(e&&e.useExisting)}function rw(e){return!!(e&&e.useFactory)}function hr(e){return typeof e=="function"}function eg(e){return!!e.useClass}var Fi=new g(""),Sa={},Bm={},Fu;function fo(){return Fu===void 0&&(Fu=new Si),Fu}var ue=class{},pr=class extends ue{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(n,t,r,o){super(),this.parent=t,this.source=r,this.scopes=o,Hu(n,s=>this.processProvider(s)),this.records.set(td,co(void 0,this)),o.has("environment")&&this.records.set(ue,co(void 0,this));let i=this.records.get(Fi);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(nd,Re,{self:!0}))}retrieve(n,t){let r=fr(t)||0;try{return this.get(n,dr,r)}catch(o){if(ao(o))return o;throw o}}destroy(){wi(this),this._destroyed=!0;let n=S(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let t=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of t)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),S(n)}}onDestroy(n){return wi(this),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){wi(this);let t=Bt(this),r=Le(void 0),o;try{return n()}finally{Bt(t),Le(r)}}get(n,t=dr,r){if(wi(this),n.hasOwnProperty(jm))return n[jm](this);let o=fr(r),i,s=Bt(this),a=Le(void 0);try{if(!(o&4)){let l=this.records.get(n);if(l===void 0){let u=cw(n)&&Fa(n);u&&this.injectableDefInScope(u)?l=co(Bu(n),Sa):l=null,this.records.set(n,l)}if(l!=null)return this.hydrate(n,l,o)}let c=o&2?fo():this.parent;return t=o&8&&t===dr?null:t,c.get(n,t)}catch(c){let l=YC(c);throw l===-200||l===-201?new b(l,null):c}finally{Le(a),Bt(s)}}resolveInjectorInitializers(){let n=S(null),t=Bt(this),r=Le(void 0),o;try{let i=this.get(Nn,Re,{self:!0});for(let s of i)s()}finally{Bt(t),Le(r),S(n)}}toString(){return"R3Injector[...]"}processProvider(n){n=we(n);let t=hr(n)?n:we(n&&n.provide),r=iw(n);if(!hr(n)&&n.multi===!0){let o=this.records.get(t);o||(o=co(void 0,Sa,!0),o.factory=()=>ju(o.multi),this.records.set(t,o)),t=n,o.multi.push(n)}this.records.set(t,r)}hydrate(n,t,r){let o=S(null);try{if(t.value===Bm)throw Qu("");return t.value===Sa&&(t.value=Bm,t.value=t.factory(void 0,r)),typeof t.value=="object"&&t.value&&aw(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}finally{S(o)}}injectableDefInScope(n){if(!n.providedIn)return!1;let t=we(n.providedIn);return typeof t=="string"?t==="any"||this.scopes.has(t):this.injectorDefTypes.has(t)}removeOnDestroy(n){let t=this._onDestroyHooks.indexOf(n);t!==-1&&this._onDestroyHooks.splice(t,1)}};function Bu(e){let n=Fa(e),t=n!==null?n.factory:Mn(e);if(t!==null)return t;if(e instanceof g)throw new b(-204,!1);if(e instanceof Function)return ow(e);throw new b(-204,!1)}function ow(e){if(e.length>0)throw new b(-204,!1);let t=GC(e);return t!==null?()=>t.factory(e):()=>new e}function iw(e){if(Jm(e))return co(void 0,e.useValue);{let n=od(e);return co(n,Sa)}}function od(e,n,t){let r;if(hr(e)){let o=we(e);return Mn(o)||Bu(o)}else if(Jm(e))r=()=>we(e.useValue);else if(rw(e))r=()=>e.useFactory(...ju(e.deps||[]));else if(nw(e))r=(o,i)=>T(we(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=we(e&&(e.useClass||e.provide));if(sw(e))r=()=>new o(...ju(e.deps));else return Mn(o)||Bu(o)}return r}function wi(e){if(e.destroyed)throw new b(-205,!1)}function co(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function sw(e){return!!e.deps}function aw(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function cw(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function Hu(e,n){for(let t of e)Array.isArray(t)?Hu(t,n):t&&Yu(t)?Hu(t.\u0275providers,n):n(t)}function ho(e,n){let t;e instanceof pr?(wi(e),t=e):t=new Vu(e);let r,o=Bt(t),i=Le(void 0);try{return n()}finally{Bt(o),Le(i)}}function tg(){return Wm()!==void 0||Ia()!=null}var wt=0,I=1,x=2,ye=3,lt=4,Ve=5,vr=6,po=7,me=8,je=9,It=10,ee=11,mo=12,id=13,yr=14,Be=15,Rn=16,_r=17,Ht=18,Jt=19,sd=20,Xt=21,Ha=22,Tn=23,et=24,br=25,On=26,K=27,ng=1,kn=6,Fn=7,Pi=8,Dr=9,de=10;function en(e){return Array.isArray(e)&&typeof e[ng]=="object"}function St(e){return Array.isArray(e)&&e[ng]===!0}function ad(e){return(e.flags&4)!==0}function Ut(e){return e.componentOffset>-1}function go(e){return(e.flags&1)===1}function Mt(e){return!!e.template}function vo(e){return(e[x]&512)!==0}function Pn(e){return(e[x]&256)===256}var cd="svg",rg="math";function ut(e){for(;Array.isArray(e);)e=e[wt];return e}function ld(e,n){return ut(n[e])}function dt(e,n){return ut(n[e.index])}function yo(e,n){return e.data[n]}function _o(e,n){return e[n]}function Li(e,n,t,r){t>=e.data.length&&(e.data[t]=null,e.blueprint[t]=null),n[t]=r}function ft(e,n){let t=n[e];return en(t)?t:t[wt]}function og(e){return(e[x]&4)===4}function Ua(e){return(e[x]&128)===128}function ig(e){return St(e[ye])}function tt(e,n){return n==null?null:e[n]}function ud(e){e[_r]=0}function dd(e){e[x]&1024||(e[x]|=1024,Ua(e)&&Er(e))}function sg(e,n){for(;e>0;)n=n[yr],e--;return n}function Vi(e){return!!(e[x]&9216||e[et]?.dirty)}function $a(e){e[It].changeDetectionScheduler?.notify(8),e[x]&64&&(e[x]|=1024),Vi(e)&&Er(e)}function Er(e){e[It].changeDetectionScheduler?.notify(0);let n=An(e);for(;n!==null&&!(n[x]&8192||(n[x]|=8192,!Ua(n)));)n=An(n)}function za(e,n){if(Pn(e))throw new b(911,!1);e[Xt]===null&&(e[Xt]=[]),e[Xt].push(n)}function fd(e,n){if(e[Xt]===null)return;let t=e[Xt].indexOf(n);t!==-1&&e[Xt].splice(t,1)}function An(e){let n=e[ye];return St(n)?n[ye]:n}function hd(e){return e[po]??=[]}function pd(e){return e.cleanup??=[]}function ag(e,n,t,r){let o=hd(n);o.push(t),e.firstCreatePass&&pd(e).push(r,o.length-1)}var V={lFrame:bg(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Uu=!1;function cg(){return V.lFrame.elementDepthCount}function lg(){V.lFrame.elementDepthCount++}function md(){V.lFrame.elementDepthCount--}function Ga(){return V.bindingsEnabled}function gd(){return V.skipHydrationRootTNode!==null}function vd(e){return V.skipHydrationRootTNode===e}function yd(){V.skipHydrationRootTNode=null}function w(){return V.lFrame.lView}function Q(){return V.lFrame.tView}function ug(e){return V.lFrame.contextLView=e,e[me]}function dg(e){return V.lFrame.contextLView=null,e}function fe(){let e=_d();for(;e!==null&&e.type===64;)e=e.parent;return e}function _d(){return V.lFrame.currentTNode}function fg(){let e=V.lFrame,n=e.currentTNode;return e.isParent?n:n.parent}function Cr(e,n){let t=V.lFrame;t.currentTNode=e,t.isParent=n}function bd(){return V.lFrame.isParent}function Dd(){V.lFrame.isParent=!1}function Ed(){return V.lFrame.contextLView}function Cd(){return Uu}function Mi(e){let n=Uu;return Uu=e,n}function tn(){let e=V.lFrame,n=e.bindingRootIndex;return n===-1&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function hg(){return V.lFrame.bindingIndex}function pg(e){return V.lFrame.bindingIndex=e}function nn(){return V.lFrame.bindingIndex++}function Wa(e){let n=V.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function mg(){return V.lFrame.inI18n}function gg(e,n){let t=V.lFrame;t.bindingIndex=t.bindingRootIndex=e,qa(n)}function vg(){return V.lFrame.currentDirectiveIndex}function qa(e){V.lFrame.currentDirectiveIndex=e}function yg(e){let n=V.lFrame.currentDirectiveIndex;return n===-1?null:e[n]}function Ya(){return V.lFrame.currentQueryIndex}function ji(e){V.lFrame.currentQueryIndex=e}function lw(e){let n=e[I];return n.type===2?n.declTNode:n.type===1?e[Ve]:null}function wd(e,n,t){if(t&4){let o=n,i=e;for(;o=o.parent,o===null&&!(t&1);)if(o=lw(i),o===null||(i=i[yr],o.type&10))break;if(o===null)return!1;n=o,e=i}let r=V.lFrame=_g();return r.currentTNode=n,r.lView=e,!0}function Za(e){let n=_g(),t=e[I];V.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function _g(){let e=V.lFrame,n=e===null?null:e.child;return n===null?bg(e):n}function bg(e){let n={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=n),n}function Dg(){let e=V.lFrame;return V.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Id=Dg;function Ka(){let e=Dg();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 Eg(e){return(V.lFrame.contextLView=sg(e,V.lFrame.contextLView))[me]}function Tt(){return V.lFrame.selectedIndex}function Ln(e){V.lFrame.selectedIndex=e}function bo(){let e=V.lFrame;return yo(e.tView,e.selectedIndex)}function Cg(){V.lFrame.currentNamespace=cd}function wg(){uw()}function uw(){V.lFrame.currentNamespace=null}function Sd(){return V.lFrame.currentNamespace}var Ig=!0;function Xa(){return Ig}function Bi(e){Ig=e}function $u(e,n=null,t=null,r){let o=Sg(e,n,t,r);return o.resolveInjectorInitializers(),o}function Sg(e,n=null,t=null,r,o=new Set){let i=[t||Re,Xm(e)],s;return new pr(i,n||fo(),s||null,o)}var O=class e{static THROW_IF_NOT_FOUND=dr;static NULL=new Si;static create(n,t){if(Array.isArray(n))return $u({name:""},t,n,"");{let r=n.name??"";return $u({name:r},n.parent,n.providers,r)}}static \u0275prov=y({token:e,providedIn:"any",factory:()=>T(td)});static __NG_ELEMENT_ID__=-1},A=new g(""),We=(()=>{class e{static __NG_ELEMENT_ID__=dw;static __NG_ENV_ID__=t=>t}return e})(),Aa=class extends We{_lView;constructor(n){super(),this._lView=n}get destroyed(){return Pn(this._lView)}onDestroy(n){let t=this._lView;return za(t,n),()=>fd(t,n)}};function dw(){return new Aa(w())}var Md=!1,Mg=new g(""),Vn=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new ar(!1);debugTaskTracker=f(Mg,{optional:!0});get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new R(t=>{t.next(!1),t.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let t=this.taskId++;return this.pendingTasks.add(t),this.debugTaskTracker?.add(t),t}has(t){return this.pendingTasks.has(t)}remove(t){this.pendingTasks.delete(t),this.debugTaskTracker?.remove(t),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=y({token:e,providedIn:"root",factory:()=>new e})}return e})(),zu=class extends C{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(n=!1){super(),this.__isAsync=n,tg()&&(this.destroyRef=f(We,{optional:!0})??void 0,this.pendingTasks=f(Vn,{optional:!0})??void 0)}emit(n){let t=S(null);try{super.next(n)}finally{S(t)}}subscribe(n,t,r){let o=n,i=t||(()=>null),s=r;if(n&&typeof n=="object"){let c=n;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 n instanceof j&&n.add(a),a}wrapInTimeout(n){return t=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{n(t)}finally{r!==void 0&&this.pendingTasks?.remove(r)}})}}},$=zu;function xa(...e){}function Td(e){let n,t;function r(){e=xa;try{t!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(t),n!==void 0&&clearTimeout(n)}catch(o){}}return n=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(t=requestAnimationFrame(()=>{e(),r()})),()=>r()}function Tg(e){return queueMicrotask(()=>e()),()=>{e=xa}}var Ad="isAngularZone",Ti=Ad+"_ID",fw=0,M=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new $(!1);onMicrotaskEmpty=new $(!1);onStable=new $(!1);onError=new $(!1);constructor(n){let{enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=Md}=n;if(typeof Zone>"u")throw new b(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,mw(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Ad)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new b(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new b(909,!1)}run(n,t,r){return this._inner.run(n,t,r)}runTask(n,t,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,n,hw,xa,xa);try{return i.runTask(s,t,r)}finally{i.cancelTask(s)}}runGuarded(n,t,r){return this._inner.runGuarded(n,t,r)}runOutsideAngular(n){return this._outer.run(n)}},hw={};function xd(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 pw(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function n(){Td(()=>{e.callbackScheduled=!1,Gu(e),e.isCheckStableRunning=!0,xd(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{n()}):e._outer.run(()=>{n()}),Gu(e)}function mw(e){let n=()=>{pw(e)},t=fw++;e._inner=e._inner.fork({name:"angular",properties:{[Ad]:!0,[Ti]:t,[Ti+t]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(gw(c))return r.invokeTask(i,s,a,c);try{return Hm(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&n(),Um(e)}},onInvoke:(r,o,i,s,a,c,l)=>{try{return Hm(e),r.invoke(i,s,a,c,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!vw(c)&&n(),Um(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Gu(e),xd(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 Gu(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Hm(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Um(e){e._nesting--,xd(e)}var Ai=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new $;onMicrotaskEmpty=new $;onStable=new $;onError=new $;run(n,t,r){return n.apply(t,r)}runGuarded(n,t,r){return n.apply(t,r)}runOutsideAngular(n){return n()}runTask(n,t,r,o){return n.apply(t,r)}};function gw(e){return Ag(e,"__ignore_ng_zone__")}function vw(e){return Ag(e,"__scheduler_tick__")}function Ag(e,n){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[n]===!0}var Oe=class{_console=console;handleError(n){this._console.error("ERROR",n)}},rn=new g("",{factory:()=>{let e=f(M),n=f(ue),t;return r=>{e.runOutsideAngular(()=>{n.destroyed&&!t?setTimeout(()=>{throw r}):(t??=n.get(Oe),t.handleError(r))})}}}),xg={provide:Nn,useValue:()=>{let e=f(Oe,{optional:!0})},multi:!0};function se(e,n){let[t,r,o]=uu(e,n?.equal),i=t,s=i[he];return i.set=r,i.update=o,i.asReadonly=Hi.bind(i),i}function Hi(){let e=this[he];if(e.readonlyFn===void 0){let n=()=>this();n[he]=e,e.readonlyFn=n}return e.readonlyFn}var Do=(()=>{class e{view;node;constructor(t,r){this.view=t,this.node=r}static __NG_ELEMENT_ID__=yw}return e})();function yw(){return new Do(w(),fe())}var Et=class{},Eo=new g("",{factory:()=>!0});var Qa=new g(""),jn=(()=>{class e{internalPendingTasks=f(Vn);scheduler=f(Et);errorHandler=f(rn);add(){let t=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(t)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(t))}}run(t){let r=this.add();t().catch(this.errorHandler).finally(r)}static \u0275prov=y({token:e,providedIn:"root",factory:()=>new e})}return e})(),Ja=(()=>{class e{static \u0275prov=y({token:e,providedIn:"root",factory:()=>new Wu})}return e})(),Wu=class{dirtyEffectCount=0;queues=new Map;add(n){this.enqueue(n),this.schedule(n)}schedule(n){n.dirty&&this.dirtyEffectCount++}remove(n){let t=n.zone,r=this.queues.get(t);r.has(n)&&(r.delete(n),n.dirty&&this.dirtyEffectCount--)}enqueue(n){let t=n.zone;this.queues.has(t)||this.queues.set(t,new Set);let r=this.queues.get(t);r.has(n)||r.add(n)}flush(){for(;this.dirtyEffectCount>0;){let n=!1;for(let[t,r]of this.queues)t===null?n||=this.flushQueue(r):n||=t.run(()=>this.flushQueue(r));n||(this.dirtyEffectCount=0)}}flushQueue(n){let t=!1;for(let r of n)r.dirty&&(this.dirtyEffectCount--,t=!0,r.run());return t}},Na=class{[he];constructor(n){this[he]=n}destroy(){this[he].destroy()}};function wr(e,n){let t=n?.injector??f(O),r=n?.manualCleanup!==!0?t.get(We):null,o,i=t.get(Do,null,{optional:!0}),s=t.get(Et);return i!==null?(o=Dw(i.view,s,e),r instanceof Aa&&r._lView===i.view&&(r=null)):o=Ew(e,t.get(Ja),s),o.injector=t,r!==null&&(o.onDestroyFns=[r.onDestroy(()=>o.destroy())]),new Na(o)}var Ng=U(E({},du),{cleanupFns:void 0,zone:null,onDestroyFns:null,run(){let e=Mi(!1);try{fu(this)}finally{Mi(e)}},cleanup(){if(!this.cleanupFns?.length)return;let e=S(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],S(e)}}}),_w=U(E({},Ng),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){if(Dn(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.scheduler.remove(this)}}),bw=U(E({},Ng),{consumerMarkedDirty(){this.view[x]|=8192,Er(this.view),this.notifier.notify(13)},destroy(){if(Dn(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.view[Tn]?.delete(this)}});function Dw(e,n,t){let r=Object.create(bw);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=n,r.fn=Rg(r,t),e[Tn]??=new Set,e[Tn].add(r),r.consumerMarkedDirty(r),r}function Ew(e,n,t){let r=Object.create(_w);return r.fn=Rg(r,e),r.scheduler=n,r.notifier=t,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.add(r),r.notifier.notify(12),r}function Rg(e,n){return()=>{n(t=>(e.cleanupFns??=[]).push(t))}}function Qi(e){return{toString:e}.toString()}function Nw(e){return typeof e=="function"}function Cv(e,n,t,r){n!==null?n.applyValueToInputSignal(n,r):e[t]=r}var uc=class{previousValue;currentValue;firstChange;constructor(n,t,r){this.previousValue=n,this.currentValue=t,this.firstChange=r}isFirstChange(){return this.firstChange}},He=(()=>{let e=()=>wv;return e.ngInherit=!0,e})();function wv(e){return e.type.prototype.ngOnChanges&&(e.setInput=Ow),Rw}function Rw(){let e=Sv(this),n=e?.current;if(n){let t=e.previous;if(t===Ct)e.previous=n;else for(let r in n)t[r]=n[r];e.current=null,this.ngOnChanges(n)}}function Ow(e,n,t,r,o){let i=this.declaredInputs[r],s=Sv(e)||kw(e,{previous:Ct,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new uc(l&&l.currentValue,t,c===Ct),Cv(e,n,o,t)}var Iv="__ngSimpleChanges__";function Sv(e){return e[Iv]||null}function kw(e,n){return e[Iv]=n}var Og=[];var Y=function(e,n=null,t){for(let r=0;r<Og.length;r++){let o=Og[r];o(e,n,t)}},z=(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})(z||{});function Fw(e,n,t){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=n.type.prototype;if(r){let s=wv(n);(t.preOrderHooks??=[]).push(e,s),(t.preOrderCheckHooks??=[]).push(e,s)}o&&(t.preOrderHooks??=[]).push(0-e,o),i&&((t.preOrderHooks??=[]).push(e,i),(t.preOrderCheckHooks??=[]).push(e,i))}function Mv(e,n){for(let t=n.directiveStart,r=n.directiveEnd;t<r;t++){let i=e.data[t].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:l,ngOnDestroy:u}=i;s&&(e.contentHooks??=[]).push(-t,s),a&&((e.contentHooks??=[]).push(t,a),(e.contentCheckHooks??=[]).push(t,a)),c&&(e.viewHooks??=[]).push(-t,c),l&&((e.viewHooks??=[]).push(t,l),(e.viewCheckHooks??=[]).push(t,l)),u!=null&&(e.destroyHooks??=[]).push(t,u)}}function oc(e,n,t){Tv(e,n,3,t)}function ic(e,n,t,r){(e[x]&3)===t&&Tv(e,n,t,r)}function Nd(e,n){let t=e[x];(t&3)===n&&(t&=16383,t+=1,e[x]=t)}function Tv(e,n,t,r){let o=r!==void 0?e[_r]&65535:0,i=r??-1,s=n.length-1,a=0;for(let c=o;c<s;c++)if(typeof n[c+1]=="number"){if(a=n[c],r!=null&&a>=r)break}else n[c]<0&&(e[_r]+=65536),(a<i||i==-1)&&(Pw(e,t,n,c),e[_r]=(e[_r]&4294901760)+c+2),c++}function kg(e,n){Y(z.LifecycleHookStart,e,n);let t=S(null);try{n.call(e)}finally{S(t),Y(z.LifecycleHookEnd,e,n)}}function Pw(e,n,t,r){let o=t[r]<0,i=t[r+1],s=o?-t[r]:t[r],a=e[s];o?e[x]>>14<e[_r]>>16&&(e[x]&3)===n&&(e[x]+=16384,kg(a,i)):kg(a,i)}var wo=-1,Sr=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(n,t,r,o){this.factory=n,this.name=o,this.canSeeViewProviders=t,this.injectImpl=r}};function Lw(e){return(e.flags&8)!==0}function Vw(e){return(e.flags&16)!==0}function jw(e,n,t){let r=0;for(;r<t.length;){let o=t[r];if(typeof o=="number"){if(o!==0)break;r++;let i=t[r++],s=t[r++],a=t[r++];e.setAttribute(n,s,a,i)}else{let i=o,s=t[++r];Bw(i)?e.setProperty(n,i,s):e.setAttribute(n,i,s),r++}}return r}function Av(e){return e===3||e===4||e===6}function Bw(e){return e.charCodeAt(0)===64}function So(e,n){if(!(n===null||n.length===0))if(e===null||e.length===0)e=n.slice();else{let t=-1;for(let r=0;r<n.length;r++){let o=n[r];typeof o=="number"?t=o:t===0||(t===-1||t===2?Fg(e,t,o,null,n[++r]):Fg(e,t,o,null,null))}}return e}function Fg(e,n,t,r,o){let i=0,s=e.length;if(n===-1)s=-1;else for(;i<e.length;){let a=e[i++];if(typeof a=="number"){if(a===n){s=-1;break}else if(a>n){s=i-1;break}}}for(;i<e.length;){let a=e[i];if(typeof a=="number")break;if(a===t){o!==null&&(e[i+1]=o);return}i++,o!==null&&i++}s!==-1&&(e.splice(s,0,n),i=s+1),e.splice(i++,0,t),o!==null&&e.splice(i++,0,o)}function xv(e){return e!==wo}function dc(e){return e&32767}function Hw(e){return e>>16}function fc(e,n){let t=Hw(e),r=n;for(;t>0;)r=r[yr],t--;return r}var zd=!0;function hc(e){let n=zd;return zd=e,n}var Uw=256,Nv=Uw-1,Rv=5,$w=0,$t={};function zw(e,n,t){let r;typeof t=="string"?r=t.charCodeAt(0)||0:t.hasOwnProperty(mr)&&(r=t[mr]),r==null&&(r=t[mr]=$w++);let o=r&Nv,i=1<<o;n.data[e+(o>>Rv)]|=i}function pc(e,n){let t=Ov(e,n);if(t!==-1)return t;let r=n[I];r.firstCreatePass&&(e.injectorIndex=n.length,Rd(r.data,e),Rd(n,null),Rd(r.blueprint,null));let o=Af(e,n),i=e.injectorIndex;if(xv(o)){let s=dc(o),a=fc(o,n),c=a[I].data;for(let l=0;l<8;l++)n[i+l]=a[s+l]|c[s+l]}return n[i+8]=o,i}function Rd(e,n){e.push(0,0,0,0,0,0,0,0,n)}function Ov(e,n){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||n[e.injectorIndex+8]===null?-1:e.injectorIndex}function Af(e,n){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let t=0,r=null,o=n;for(;o!==null;){if(r=Vv(o),r===null)return wo;if(t++,o=o[yr],r.injectorIndex!==-1)return r.injectorIndex|t<<16}return wo}function Gd(e,n,t){zw(e,n,t)}function Gw(e,n){if(n==="class")return e.classes;if(n==="style")return e.styles;let t=e.attrs;if(t){let r=t.length,o=0;for(;o<r;){let i=t[o];if(Av(i))break;if(i===0)o=o+2;else if(typeof i=="number")for(o++;o<r&&typeof t[o]=="string";)o++;else{if(i===n)return t[o+1];o=o+2}}}return null}function kv(e,n,t){if(t&8||e!==void 0)return e;La(n,"NodeInjector")}function Fv(e,n,t,r){if(t&8&&r===void 0&&(r=null),(t&3)===0){let o=e[je],i=Le(void 0);try{return o?o.get(n,r,t&8):Ju(n,r,t&8)}finally{Le(i)}}return kv(r,n,t)}function Pv(e,n,t,r=0,o){if(e!==null){if(n[x]&2048&&!(r&2)){let s=Zw(e,n,t,r,$t);if(s!==$t)return s}let i=Lv(e,n,t,r,$t);if(i!==$t)return i}return Fv(n,t,r,o)}function Lv(e,n,t,r,o){let i=qw(t);if(typeof i=="function"){if(!wd(n,e,r))return r&1?kv(o,t,r):Fv(n,t,r,o);try{let s;if(s=i(r),s==null&&!(r&8))La(t);else return s}finally{Id()}}else if(typeof i=="number"){let s=null,a=Ov(e,n),c=wo,l=r&1?n[Be][Ve]:null;for((a===-1||r&4)&&(c=a===-1?Af(e,n):n[a+8],c===wo||!Lg(r,!1)?a=-1:(s=n[I],a=dc(c),n=fc(c,n)));a!==-1;){let u=n[I];if(Pg(i,a,u.data)){let d=Ww(a,n,t,s,r,l);if(d!==$t)return d}c=n[a+8],c!==wo&&Lg(r,n[I].data[a+8]===l)&&Pg(i,a,n)?(s=u,a=dc(c),n=fc(c,n)):a=-1}}return o}function Ww(e,n,t,r,o,i){let s=n[I],a=s.data[e+8],c=r==null?Ut(a)&&zd:r!=s&&(a.type&3)!==0,l=o&1&&i===a,u=sc(a,s,t,c,l);return u!==null?Wi(n,s,u,a,o):$t}function sc(e,n,t,r,o){let i=e.providerIndexes,s=n.data,a=i&1048575,c=e.directiveStart,l=e.directiveEnd,u=i>>20,d=r?a:a+u,h=o?a+u:l;for(let p=d;p<h;p++){let m=s[p];if(p<c&&t===m||p>=c&&m.type===t)return p}if(o){let p=s[c];if(p&&Mt(p)&&p.type===t)return c}return null}function Wi(e,n,t,r,o){let i=e[t],s=n.data;if(i instanceof Sr){let a=i;if(a.resolving)throw Qu("");let c=hc(a.canSeeViewProviders);a.resolving=!0;let l=s[t].type||s[t],u,d=a.injectImpl?Le(a.injectImpl):null,h=wd(e,r,0);try{i=e[t]=a.factory(void 0,o,s,e,r),n.firstCreatePass&&t>=r.directiveStart&&Fw(t,s[t],n)}finally{d!==null&&Le(d),hc(c),a.resolving=!1,Id()}}return i}function qw(e){if(typeof e=="string")return e.charCodeAt(0)||0;let n=e.hasOwnProperty(mr)?e[mr]:void 0;return typeof n=="number"?n>=0?n&Nv:Yw:n}function Pg(e,n,t){let r=1<<e;return!!(t[n+(e>>Rv)]&r)}function Lg(e,n){return!(e&2)&&!(e&1&&n)}var Ir=class{_tNode;_lView;constructor(n,t){this._tNode=n,this._lView=t}get(n,t,r){return Pv(this._tNode,this._lView,n,fr(r),t)}};function Yw(){return new Ir(fe(),w())}function Ae(e){return Qi(()=>{let n=e.prototype.constructor,t=n[Ii]||Wd(n),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Ii]||Wd(o);if(i&&i!==t)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Wd(e){return qu(e)?()=>{let n=Wd(we(e));return n&&n()}:Mn(e)}function Zw(e,n,t,r,o){let i=e,s=n;for(;i!==null&&s!==null&&s[x]&2048&&!vo(s);){let a=Lv(i,s,t,r|2,$t);if(a!==$t)return a;let c=i.parent;if(!c){let l=s[sd];if(l){let u=l.get(t,$t,r&-5);if(u!==$t)return u}c=Vv(s),s=s[yr]}i=c}return o}function Vv(e){let n=e[I],t=n.type;return t===2?n.declTNode:t===1?e[Ve]:null}function xf(e){return Gw(fe(),e)}function Kw(){return Oo(fe(),w())}function Oo(e,n){return new B(dt(e,n))}var B=(()=>{class e{nativeElement;constructor(t){this.nativeElement=t}static __NG_ELEMENT_ID__=Kw}return e})();function jv(e){return e instanceof B?e.nativeElement:e}function Xw(){return this._results[Symbol.iterator]()}var on=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 C}constructor(n=!1){this._emitDistinctChangesOnly=n}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,t){return this._results.reduce(n,t)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,t){this.dirty=!1;let r=Ym(n);(this._changesDetected=!qm(this._results,r,t))&&(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(n){this._onDirty=n}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=Xw};function Bv(e){return(e.flags&128)===128}var Nf=(function(e){return e[e.OnPush=0]="OnPush",e[e.Eager=1]="Eager",e[e.Default=1]="Default",e})(Nf||{}),Hv=new Map,Qw=0;function Jw(){return Qw++}function eI(e){Hv.set(e[Jt],e)}function qd(e){Hv.delete(e[Jt])}var Vg="__ngContext__";function Mo(e,n){en(n)?(e[Vg]=n[Jt],eI(n)):e[Vg]=n}function Uv(e){return zv(e[mo])}function $v(e){return zv(e[lt])}function zv(e){for(;e!==null&&!St(e);)e=e[lt];return e}var Yd;function Rf(e){Yd=e}function Gv(){if(Yd!==void 0)return Yd;if(typeof document<"u")return document;throw new b(210,!1)}var $n=new g("",{factory:()=>tI}),tI="ng";var Cc=new g(""),Nr=new g("",{providedIn:"platform",factory:()=>"unknown"}),Ji=new g(""),Rr=new g("",{factory:()=>f(A).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var Wv="r";var Of="di",kf="s";var qv=!1,Yv=new g("",{factory:()=>qv});var Zv=new g("");var jg=new WeakMap;function nI(e,n){if(e==null||typeof e!="object")return;let t=jg.get(e);t||(t=new WeakSet,jg.set(e,t)),t.add(n)}var rI=(e,n,t,r)=>{};function oI(e,n,t,r){rI(e,n,t,r)}var Kv=new g("");function wc(e){return(e.flags&32)===32}var iI=()=>null;function Xv(e,n,t=!1){return iI(e,n,t)}function Ff(e){return e.get(Zv,!1,{optional:!0})}function Qv(e,n){let t=e.contentQueries;if(t!==null){let r=S(null);try{for(let o=0;o<t.length;o+=2){let i=t[o],s=t[o+1];if(s!==-1){let a=e.data[s];ji(i),a.contentQueries(2,n[s],s)}}}finally{S(r)}}}function Zd(e,n,t){ji(0);let r=S(null);try{n(e,t)}finally{S(r)}}function Pf(e,n,t){if(ad(n)){let r=S(null);try{let o=n.directiveStart,i=n.directiveEnd;for(let s=o;s<i;s++){let a=e.data[s];if(a.contentQueries){let c=t[s];a.contentQueries(1,c,s)}}}finally{S(r)}}}var xt=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e[e.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",e})(xt||{});var ec;function sI(){if(ec===void 0&&(ec=null,ct.trustedTypes))try{ec=ct.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return ec}function Ic(e){return sI()?.createHTML(e)||e}var tc;function Jv(){if(tc===void 0&&(tc=null,ct.trustedTypes))try{tc=ct.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return tc}function Bg(e){return Jv()?.createHTML(e)||e}function Hg(e){return Jv()?.createScriptURL(e)||e}var sn=class{changingThisBreaksApplicationSecurity;constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Ra})`}},Kd=class extends sn{getTypeName(){return"HTML"}},Xd=class extends sn{getTypeName(){return"Style"}},Qd=class extends sn{getTypeName(){return"Script"}},Jd=class extends sn{getTypeName(){return"URL"}},ef=class extends sn{getTypeName(){return"ResourceURL"}};function nt(e){return e instanceof sn?e.changingThisBreaksApplicationSecurity:e}function Gt(e,n){let t=ey(e);if(t!=null&&t!==n){if(t==="ResourceURL"&&n==="URL")return!0;throw new Error(`Required a safe ${n}, got a ${t} (see ${Ra})`)}return t===n}function ey(e){return e instanceof sn&&e.getTypeName()||null}function Lf(e){return new Kd(e)}function Vf(e){return new Xd(e)}function jf(e){return new Qd(e)}function Bf(e){return new Jd(e)}function Hf(e){return new ef(e)}function aI(e){let n=new nf(e);return cI()?new tf(n):n}var tf=class{inertDocumentHelper;constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n="<body><remove></remove>"+n;try{let t=new window.DOMParser().parseFromString(Ic(n),"text/html").body;return t===null?this.inertDocumentHelper.getInertBodyElement(n):(t.firstChild?.remove(),t)}catch(t){return null}}},nf=class{defaultDoc;inertDocument;constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){let t=this.inertDocument.createElement("template");return t.innerHTML=Ic(n),t}};function cI(){try{return!!new window.DOMParser().parseFromString(Ic(""),"text/html")}catch(e){return!1}}var lI=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function es(e){return e=String(e),e.match(lI)?e:"unsafe:"+e}function an(e){let n={};for(let t of e.split(","))n[t]=!0;return n}function ts(...e){let n={};for(let t of e)for(let r in t)t.hasOwnProperty(r)&&(n[r]=!0);return n}var ty=an("area,br,col,hr,img,wbr"),ny=an("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),ry=an("rp,rt"),uI=ts(ry,ny),dI=ts(ny,an("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),fI=ts(ry,an("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Ug=ts(ty,dI,fI,uI),oy=an("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),hI=an("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),pI=an("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),mI=ts(oy,hI,pI),gI=an("script,style,template"),rf=class{sanitizedSomething=!1;buf=[];sanitizeChildren(n){let t=n.firstChild,r=!0,o=[];for(;t;){if(t.nodeType===Node.ELEMENT_NODE?r=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,r&&t.firstChild){o.push(t),t=_I(t);continue}for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let i=yI(t);if(i){t=i;break}t=o.pop()}}return this.buf.join("")}startElement(n){let t=$g(n).toLowerCase();if(!Ug.hasOwnProperty(t))return this.sanitizedSomething=!0,!gI.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);let r=n.attributes;for(let o=0;o<r.length;o++){let i=r.item(o),s=i.name,a=s.toLowerCase();if(!mI.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;oy[a]&&(c=es(c)),this.buf.push(" ",s,'="',zg(c),'"')}return this.buf.push(">"),!0}endElement(n){let t=$g(n).toLowerCase();Ug.hasOwnProperty(t)&&!ty.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(n){this.buf.push(zg(n))}};function vI(e,n){return(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function yI(e){let n=e.nextSibling;if(n&&e!==n.previousSibling)throw iy(n);return n}function _I(e){let n=e.firstChild;if(n&&vI(e,n))throw iy(n);return n}function $g(e){let n=e.nodeName;return typeof n=="string"?n:"FORM"}function iy(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var bI=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,DI=/([^\#-~ |!])/g;function zg(e){return e.replace(/&/g,"&").replace(bI,function(n){let t=n.charCodeAt(0),r=n.charCodeAt(1);return"&#"+((t-55296)*1024+(r-56320)+65536)+";"}).replace(DI,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var nc;function Sc(e,n){let t=null;try{nc=nc||aI(e);let r=n?String(n):"";t=nc.getInertBodyElement(r);let o=5,i=r;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=t.innerHTML,t=nc.getInertBodyElement(r)}while(r!==i);let a=new rf().sanitizeChildren(Gg(t)||t);return Ic(a)}finally{if(t){let r=Gg(t)||t;for(;r.firstChild;)r.firstChild.remove()}}}function Gg(e){return"content"in e&&EI(e)?e.content:null}function EI(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var CI=/^>|^->|<!--|-->|--!>|<!-$/g,wI=/(<|>)/g,II="\u200B$1\u200B";function SI(e){return e.replace(CI,n=>n.replace(wI,II))}function MI(e,n){return e.createText(n)}function TI(e,n,t){e.setValue(n,t)}function AI(e,n){return e.createComment(SI(n))}function sy(e,n,t){return e.createElement(n,t)}function mc(e,n,t,r,o){e.insertBefore(n,t,r,o)}function ay(e,n,t){e.appendChild(n,t)}function Wg(e,n,t,r,o){r!==null?mc(e,n,t,r,o):ay(e,n,t)}function cy(e,n,t,r){e.removeChild(null,n,t,r)}function xI(e,n,t){e.setAttribute(n,"style",t)}function NI(e,n,t){t===""?e.removeAttribute(n,"class"):e.setAttribute(n,"class",t)}function ly(e,n,t){let{mergedAttrs:r,classes:o,styles:i}=t;r!==null&&jw(e,n,r),o!==null&&NI(e,n,o),i!==null&&xI(e,n,i)}var be=(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[e.ATTRIBUTE_NO_BINDING=6]="ATTRIBUTE_NO_BINDING",e})(be||{});function RI(e){let n=Uf();return n?Bg(n.sanitize(be.HTML,e)||""):Gt(e,"HTML")?Bg(nt(e)):Sc(Gv(),gr(e))}function OI(e){let n=Uf();return n?n.sanitize(be.URL,e)||"":Gt(e,"URL")?nt(e):es(gr(e))}function kI(e){let n=Uf();if(n)return Hg(n.sanitize(be.RESOURCE_URL,e)||"");if(Gt(e,"ResourceURL"))return Hg(nt(e));throw new b(904,!1)}function Uf(){let e=w();return e&&e[It].sanitizer}function FI(e){return e.ownerDocument}function PI(e,n,t){let r=e.length;for(;;){let o=e.indexOf(n,t);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=n.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}t=o+1}}var uy="ng-template";function LI(e,n,t,r){let o=0;if(r){for(;o<n.length&&typeof n[o]=="string";o+=2)if(n[o]==="class"&&PI(n[o+1].toLowerCase(),t,0)!==-1)return!0}else if($f(e))return!1;if(o=n.indexOf(1,o),o>-1){let i;for(;++o<n.length&&typeof(i=n[o])=="string";)if(i.toLowerCase()===t)return!0}return!1}function $f(e){return e.type===4&&e.value!==uy}function VI(e,n,t){let r=e.type===4&&!t?uy:e.value;return n===r}function jI(e,n,t){let r=4,o=e.attrs,i=o!==null?UI(o):0,s=!1;for(let a=0;a<n.length;a++){let c=n[a];if(typeof c=="number"){if(!s&&!At(r)&&!At(c))return!1;if(s&&At(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!VI(e,c,t)||c===""&&n.length===1){if(At(r))return!1;s=!0}}else if(r&8){if(o===null||!LI(e,o,c,t)){if(At(r))return!1;s=!0}}else{let l=n[++a],u=BI(c,o,$f(e),t);if(u===-1){if(At(r))return!1;s=!0;continue}if(l!==""){let d;if(u>i?d="":d=o[u+1].toLowerCase(),r&2&&l!==d){if(At(r))return!1;s=!0}}}}return At(r)||s}function At(e){return(e&1)===0}function BI(e,n,t,r){if(n===null)return-1;let o=0;if(r||!t){let i=!1;for(;o<n.length;){let s=n[o];if(s===e)return o;if(s===3||s===6)i=!0;else if(s===1||s===2){let a=n[++o];for(;typeof a=="string";)a=n[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=i?1:2}return-1}else return $I(n,e)}function dy(e,n,t=!1){for(let r=0;r<n.length;r++)if(jI(e,n[r],t))return!0;return!1}function HI(e){let n=e.attrs;if(n!=null){let t=n.indexOf(5);if((t&1)===0)return n[t+1]}return null}function UI(e){for(let n=0;n<e.length;n++){let t=e[n];if(Av(t))return n}return e.length}function $I(e,n){let t=e.indexOf(4);if(t>-1)for(t++;t<e.length;){let r=e[t];if(typeof r=="number")return-1;if(r===n)return t;t++}return-1}function zI(e,n){e:for(let t=0;t<n.length;t++){let r=n[t];if(e.length===r.length){for(let o=0;o<e.length;o++)if(e[o]!==r[o])continue e;return!0}}return!1}function qg(e,n){return e?":not("+n.trim()+")":n}function GI(e){let n=e[0],t=1,r=2,o="",i=!1;for(;t<e.length;){let s=e[t];if(typeof s=="string")if(r&2){let a=e[++t];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!At(s)&&(n+=qg(i,o),o=""),r=s,i=i||!At(r);t++}return o!==""&&(n+=qg(i,o)),n}function WI(e){return e.map(GI).join(",")}function qI(e){let n=[],t=[],r=1,o=2;for(;r<e.length;){let i=e[r];if(typeof i=="string")o===2?i!==""&&n.push(i,e[++r]):o===8&&t.push(i);else{if(!At(o))break;o=i}r++}return t.length&&n.push(1,...t),n}var Ue={};function zf(e,n,t,r,o,i,s,a,c,l,u){let d=K+r,h=d+o,p=YI(d,h),m=typeof l=="function"?l():l;return p[I]={type:e,blueprint:p,template:t,queries:null,viewQuery:a,declTNode:n,data:p.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:h,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:m,incompleteFirstPass:!1,ssrId:u}}function YI(e,n){let t=[];for(let r=0;r<n;r++)t.push(r<e?null:Ue);return t}function ZI(e){let n=e.tView;return n===null||n.incompleteFirstPass?e.tView=zf(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):n}function Gf(e,n,t,r,o,i,s,a,c,l,u){let d=n.blueprint.slice();return d[wt]=o,d[x]=r|4|128|8|64|1024,(l!==null||e&&e[x]&2048)&&(d[x]|=2048),ud(d),d[ye]=d[yr]=e,d[me]=t,d[It]=s||e&&e[It],d[ee]=a||e&&e[ee],d[je]=c||e&&e[je]||null,d[Ve]=i,d[Jt]=Jw(),d[vr]=u,d[sd]=l,d[Be]=n.type==2?e[Be]:d,d}function KI(e,n,t){let r=dt(n,e),o=ZI(t),i=e[It].rendererFactory,s=Wf(e,Gf(e,o,null,fy(t),r,n,null,i.createRenderer(r,t),null,null,null));return e[n.index]=s}function fy(e){let n=16;return e.signals?n=4096:e.onPush&&(n=64),n}function hy(e,n,t,r){if(t===0)return-1;let o=n.length;for(let i=0;i<t;i++)n.push(r),e.blueprint.push(r),e.data.push(null);return o}function Wf(e,n){return e[mo]?e[id][lt]=n:e[mo]=n,e[id]=n,n}function qf(e=1){py(Q(),w(),Tt()+e,!1)}function py(e,n,t,r){if(!r)if((n[x]&3)===3){let i=e.preOrderCheckHooks;i!==null&&oc(n,i,t)}else{let i=e.preOrderHooks;i!==null&&ic(n,i,0,t)}Ln(t)}var Mc=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(Mc||{});function of(e,n,t,r){let o=S(null);try{let[i,s,a]=e.inputs[t],c=null;(s&Mc.SignalBased)!==0&&(c=n[i][he]),c!==null&&c.transformFn!==void 0?r=c.transformFn(r):a!==null&&(r=a.call(n,r)),e.setInput!==null?e.setInput(n,c,r,t,i):Cv(n,c,i,r)}finally{S(o)}}var zt=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})(zt||{}),XI;function Yf(e,n){return XI(e,n)}var GB=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";var sf=new WeakMap,$i=new WeakSet;function QI(e,n){let t=sf.get(e);if(!t||t.length===0)return;let r=n.parentNode,o=n.previousSibling;for(let i=t.length-1;i>=0;i--){let s=t[i],a=s.parentNode;s===n?(t.splice(i,1),$i.add(s),s.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}}))):(o&&s===o||a&&r&&a!==r)&&(t.splice(i,1),s.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}})),s.parentNode?.removeChild(s))}}function JI(e,n){let t=sf.get(e);t?t.includes(n)||t.push(n):sf.set(e,[n])}var Mr=new Set,Tc=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(Tc||{}),Nt=new g(""),Yg=new Set;function Wt(e){Yg.has(e)||(Yg.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var Ac=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=y({token:e,providedIn:"root",factory:()=>new e})}return e})(),Zf=[0,1,2,3],Kf=(()=>{class e{ngZone=f(M);scheduler=f(Et);errorHandler=f(Oe,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){f(Nt,{optional:!0})}execute(){let t=this.sequences.size>0;t&&Y(z.AfterRenderHooksStart),this.executing=!0;for(let r of Zf)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(),t&&Y(z.AfterRenderHooksEnd)}register(t){let{view:r}=t;r!==void 0?((r[br]??=[]).push(t),Er(r),r[x]|=8192):this.executing?this.deferredRegistrations.add(t):this.addSequence(t)}addSequence(t){this.sequences.add(t),this.scheduler.notify(7)}unregister(t){this.executing&&this.sequences.has(t)?(t.erroredOrDestroyed=!0,t.pipelinedValue=void 0,t.once=!0):(this.sequences.delete(t),this.deferredRegistrations.delete(t))}maybeTrace(t,r){return r?r.run(Tc.AFTER_NEXT_RENDER,t):t()}static \u0275prov=y({token:e,providedIn:"root",factory:()=>new e})}return e})(),qi=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(n,t,r,o,i,s=null){this.impl=n,this.hooks=t,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 n=this.view?.[br];n&&(this.view[br]=n.filter(t=>t!==this))}};function Rt(e,n){let t=n?.injector??f(O);return Wt("NgAfterNextRender"),tS(e,t,n,!0)}function eS(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function tS(e,n,t,r){let o=n.get(Ac);o.impl??=n.get(Kf);let i=n.get(Nt,null,{optional:!0}),s=t?.manualCleanup!==!0?n.get(We):null,a=n.get(Do,null,{optional:!0}),c=new qi(o.impl,eS(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var my=new g("",{factory:()=>({queue:new Set,isScheduled:!1,scheduler:null,injector:f(ue)})});function gy(e,n,t){let r=e.get(my);if(Array.isArray(n))for(let o of n)r.queue.add(o),t?.detachedLeaveAnimationFns?.push(o);else r.queue.add(n),t?.detachedLeaveAnimationFns?.push(n);r.scheduler&&r.scheduler(e)}function nS(e,n){let t=e.get(my);if(n.detachedLeaveAnimationFns){for(let r of n.detachedLeaveAnimationFns)t.queue.delete(r);n.detachedLeaveAnimationFns=void 0}}function rS(e,n){for(let[t,r]of n)gy(e,r.animateFns)}function Zg(e,n,t,r){let o=e?.[On]?.enter;n!==null&&o&&o.has(t.index)&&rS(r,o)}function Co(e,n,t,r,o,i,s,a){if(o!=null){let c,l=!1;St(o)?c=o:en(o)&&(l=!0,o=o[wt]);let u=ut(o);e===0&&r!==null?(Zg(a,r,i,t),s==null?ay(n,r,u):mc(n,r,u,s||null,!0)):e===1&&r!==null?(Zg(a,r,i,t),mc(n,r,u,s||null,!0),QI(i,u)):e===2?(a?.[On]?.leave?.has(i.index)&&JI(i,u),$i.delete(u),Kg(a,i,t,d=>{if($i.has(u)){$i.delete(u);return}cy(n,u,l,d)})):e===3&&($i.delete(u),Kg(a,i,t,()=>{n.destroyNode(u)})),c!=null&&pS(n,e,t,c,i,r,s)}}function oS(e,n){vy(e,n),n[wt]=null,n[Ve]=null}function iS(e,n,t,r,o,i){r[wt]=o,r[Ve]=n,Nc(e,r,t,1,o,i)}function vy(e,n){n[It].changeDetectionScheduler?.notify(9),Nc(e,n,n[ee],2,null,null)}function sS(e){let n=e[mo];if(!n)return Od(e[I],e);for(;n;){let t=null;if(en(n))t=n[mo];else{let r=n[de];r&&(t=r)}if(!t){for(;n&&!n[lt]&&n!==e;)en(n)&&Od(n[I],n),n=n[ye];n===null&&(n=e),en(n)&&Od(n[I],n),t=n&&n[lt]}n=t}}function Xf(e,n){let t=e[Dr],r=t.indexOf(n);t.splice(r,1)}function xc(e,n){if(Pn(n))return;let t=n[ee];t.destroyNode&&Nc(e,n,t,3,null,null),sS(n)}function Od(e,n){if(Pn(n))return;let t=S(null);try{n[x]&=-129,n[x]|=256,n[et]&&Dn(n[et]),lS(e,n),cS(e,n),n[I].type===1&&n[ee].destroy();let r=n[Rn];if(r!==null&&St(n[ye])){r!==n[ye]&&Xf(r,n);let o=n[Ht];o!==null&&o.detachView(e)}qd(n)}finally{S(t)}}function Kg(e,n,t,r){let o=e?.[On];if(o==null||o.leave==null||!o.leave.has(n.index))return r(!1);e&&Mr.add(e[Jt]),gy(t,()=>{if(o.leave&&o.leave.has(n.index)){let s=o.leave.get(n.index),a=[];if(s){for(let c=0;c<s.animateFns.length;c++){let l=s.animateFns[c],{promise:u}=l();a.push(u)}o.detachedLeaveAnimationFns=void 0}o.running=Promise.allSettled(a),aS(e,r)}else e&&Mr.delete(e[Jt]),r(!1)},o)}function aS(e,n){let t=e[On]?.running;if(t){t.then(()=>{e[On].running=void 0,Mr.delete(e[Jt]),n(!0)});return}n(!1)}function cS(e,n){let t=e.cleanup,r=n[po];if(t!==null)for(let s=0;s<t.length-1;s+=2)if(typeof t[s]=="string"){let a=t[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[t[s+1]];t[s].call(a)}r!==null&&(n[po]=null);let o=n[Xt];if(o!==null){n[Xt]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=n[Tn];if(i!==null){n[Tn]=null;for(let s of i)s.destroy()}}function lS(e,n){let t;if(e!=null&&(t=e.destroyHooks)!=null)for(let r=0;r<t.length;r+=2){let o=n[t[r]];if(!(o instanceof Sr)){let i=t[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],c=i[s+1];Y(z.LifecycleHookStart,a,c);try{c.call(a)}finally{Y(z.LifecycleHookEnd,a,c)}}else{Y(z.LifecycleHookStart,o,i);try{i.call(o)}finally{Y(z.LifecycleHookEnd,o,i)}}}}}function yy(e,n,t){return uS(e,n.parent,t)}function uS(e,n,t){let r=n;for(;r!==null&&r.type&168;)n=r,r=n.parent;if(r===null)return t[wt];if(Ut(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===xt.None||o===xt.Emulated)return null}return dt(r,t)}function _y(e,n,t){return fS(e,n,t)}function dS(e,n,t){return e.type&40?dt(e,t):null}var fS=dS,Xg;function Qf(e,n,t,r){let o=yy(e,r,n),i=n[ee],s=r.parent||n[Ve],a=_y(s,r,n);if(o!=null)if(Array.isArray(t))for(let c=0;c<t.length;c++)Wg(i,o,t[c],a,!1);else Wg(i,o,t,a,!1);Xg!==void 0&&Xg(i,r,n,t,o)}function zi(e,n){if(n!==null){let t=n.type;if(t&3)return dt(n,e);if(t&4)return af(-1,e[n.index]);if(t&8){let r=n.child;if(r!==null)return zi(e,r);{let o=e[n.index];return St(o)?af(-1,o):ut(o)}}else{if(t&128)return zi(e,n.next);if(t&32)return Yf(n,e)()||ut(e[n.index]);{let r=by(e,n);if(r!==null){if(Array.isArray(r))return r[0];let o=An(e[Be]);return zi(o,r)}else return zi(e,n.next)}}}return null}function by(e,n){if(n!==null){let r=e[Be][Ve],o=n.projection;return r.projection[o]}return null}function af(e,n){let t=de+e+1;if(t<n.length){let r=n[t],o=r[I].firstChild;if(o!==null)return zi(r,o)}return n[Fn]}function Jf(e,n,t,r,o,i,s){for(;t!=null;){let a=r[je];if(t.type===128){t=t.next;continue}let c=r[t.index],l=t.type;if(s&&n===0&&(c&&Mo(ut(c),r),t.flags|=2),!wc(t))if(l&8)Jf(e,n,t.child,r,o,i,!1),Co(n,e,a,o,c,t,i,r);else if(l&32){let u=Yf(t,r),d;for(;d=u();)Co(n,e,a,o,d,t,i,r);Co(n,e,a,o,c,t,i,r)}else l&16?Dy(e,n,r,t,o,i):Co(n,e,a,o,c,t,i,r);t=s?t.projectionNext:t.next}}function Nc(e,n,t,r,o,i){Jf(t,r,e.firstChild,n,o,i,!1)}function hS(e,n,t){let r=n[ee],o=yy(e,t,n),i=t.parent||n[Ve],s=_y(i,t,n);Dy(r,0,n,t,o,s)}function Dy(e,n,t,r,o,i){let s=t[Be],c=s[Ve].projection[r.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++){let u=c[l];Co(n,e,t[je],o,u,r,i,t)}else{let l=c,u=s[ye];Bv(r)&&(l.flags|=128),Jf(e,n,l,u,o,i,!0)}}function pS(e,n,t,r,o,i,s){let a=r[Fn],c=ut(r);a!==c&&Co(n,e,t,i,a,o,s);for(let l=de;l<r.length;l++){let u=r[l];Nc(u[I],u,e,n,i,a)}}function mS(e,n,t,r,o){if(n)o?e.addClass(t,r):e.removeClass(t,r);else{let i=r.indexOf("-")===-1?void 0:zt.DashCase;o==null?e.removeStyle(t,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=zt.Important),e.setStyle(t,r,o,i))}}function Ey(e,n,t,r,o){let i=Tt(),s=r&2;try{Ln(-1),s&&n.length>K&&py(e,n,K,!1);let a=s?z.TemplateUpdateStart:z.TemplateCreateStart;Y(a,o,t),t(r,o)}finally{Ln(i);let a=s?z.TemplateUpdateEnd:z.TemplateCreateEnd;Y(a,o,t)}}function Rc(e,n,t){bS(e,n,t),(t.flags&64)===64&&DS(e,n,t)}function ns(e,n,t=dt){let r=n.localNames;if(r!==null){let o=n.index+1;for(let i=0;i<r.length;i+=2){let s=r[i+1],a=s===-1?t(n,e):e[s];e[o++]=a}}}function gS(e,n,t,r){let i=r.get(Yv,qv)||t===xt.ShadowDom||t===xt.ExperimentalIsolatedShadowDom,s=e.selectRootElement(n,i);if(s.tagName.toLowerCase()==="script")throw new b(905,!1);return vS(s),s}function vS(e){yS(e)}var yS=()=>null;function _S(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function Cy(e,n,t,r,o,i){let s=n[I];if(Oc(e,s,n,t,r)){Ut(e)&&Iy(n,e.index);return}e.type&3&&(t=_S(t)),wy(e,n,t,r,o,i)}function wy(e,n,t,r,o,i){if(e.type&3){let s=dt(e,n);r=i!=null?i(r,e.value||"",t):r,o.setProperty(s,t,r)}else e.type&12}function Iy(e,n){let t=ft(n,e);t[x]&16||(t[x]|=64)}function bS(e,n,t){let r=t.directiveStart,o=t.directiveEnd;Ut(t)&&KI(n,t,e.data[r+t.componentOffset]),e.firstCreatePass||pc(t,n);let i=t.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=Wi(n,e,s,t);if(Mo(c,n),i!==null&&wS(n,s-r,c,a,t,i),Mt(a)){let l=ft(t.index,n);l[me]=Wi(n,e,s,t)}}}function DS(e,n,t){let r=t.directiveStart,o=t.directiveEnd,i=t.index,s=vg();try{Ln(i);for(let a=r;a<o;a++){let c=e.data[a],l=n[a];qa(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&ES(c,l)}}finally{Ln(-1),qa(s)}}function ES(e,n){e.hostBindings!==null&&e.hostBindings(1,n)}function eh(e,n){let t=e.directiveRegistry,r=null;if(t)for(let o=0;o<t.length;o++){let i=t[o];dy(n,i.selectors,!1)&&(r??=[],Mt(i)?r.unshift(i):r.push(i))}return r}function CS(e,n,t,r,o,i){let s=dt(e,n);Sy(n[ee],s,i,e.value,t,r,o)}function Sy(e,n,t,r,o,i,s){if(i==null)e.removeAttribute(n,o,t);else{let a=s==null?gr(i):s(i,r||"",o);e.setAttribute(n,o,a,t)}}function wS(e,n,t,r,o,i){let s=i[n];if(s!==null)for(let a=0;a<s.length;a+=2){let c=s[a],l=s[a+1];of(r,t,c,l)}}function th(e,n,t,r,o){let i=K+t,s=n[I],a=o(s,n,e,r,t);n[i]=a,Cr(e,!0);let c=e.type===2;return c?(ly(n[ee],a,e),(cg()===0||go(e))&&Mo(a,n),lg()):Mo(a,n),Xa()&&(!c||!wc(e))&&Qf(s,n,a,e),e}function nh(e){let n=e;return bd()?Dd():(n=n.parent,Cr(n,!1)),n}function rh(e,n){let t=e[je];if(!t)return;let r;try{r=t.get(rn,null)}catch(o){r=null}r?.(n)}function Oc(e,n,t,r,o){let i=e.inputs?.[r],s=e.hostDirectiveInputs?.[r],a=!1;if(s)for(let c=0;c<s.length;c+=2){let l=s[c],u=s[c+1],d=n.data[l];of(d,t[l],u,o),a=!0}if(i)for(let c of i){let l=t[c],u=n.data[c];of(u,l,r,o),a=!0}return a}function IS(e,n){let t=ft(n,e),r=t[I];SS(r,t);let o=t[wt];o!==null&&t[vr]===null&&(t[vr]=Xv(o,t[je])),Y(z.ComponentStart);try{oh(r,t,t[me])}finally{Y(z.ComponentEnd,t[me])}}function SS(e,n){for(let t=n.length;t<e.blueprint.length;t++)n.push(e.blueprint[t])}function oh(e,n,t){Za(n);try{let r=e.viewQuery;r!==null&&Zd(1,r,t);let o=e.template;o!==null&&Ey(e,n,o,1,t),e.firstCreatePass&&(e.firstCreatePass=!1),n[Ht]?.finishViewCreation(e),e.staticContentQueries&&Qv(e,n),e.staticViewQueries&&Zd(2,e.viewQuery,t);let i=e.components;i!==null&&MS(n,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{n[x]&=-5,Ka()}}function MS(e,n){for(let t=0;t<n.length;t++)IS(e,n[t])}function ko(e,n,t,r){let o=S(null);try{let i=n.tView,a=e[x]&4096?4096:16,c=Gf(e,i,t,a,null,n,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),l=e[n.index];c[Rn]=l;let u=e[Ht];return u!==null&&(c[Ht]=u.createEmbeddedView(i)),oh(i,c,t),c}finally{S(o)}}function Tr(e,n){return!n||n.firstChild===null||Bv(e)}function Yi(e,n,t,r,o=!1){for(;t!==null;){if(t.type===128){t=o?t.projectionNext:t.next;continue}let i=n[t.index];i!==null&&r.push(ut(i)),St(i)&&My(i,r);let s=t.type;if(s&8)Yi(e,n,t.child,r);else if(s&32){let a=Yf(t,n),c;for(;c=a();)r.push(c)}else if(s&16){let a=by(n,t);if(Array.isArray(a))r.push(...a);else{let c=An(n[Be]);Yi(c[I],c,a,r,!0)}}t=o?t.projectionNext:t.next}return r}function My(e,n){for(let t=de;t<e.length;t++){let r=e[t],o=r[I].firstChild;o!==null&&Yi(r[I],r,o,n)}e[Fn]!==e[wt]&&n.push(e[Fn])}function Ty(e){if(e[br]!==null){for(let n of e[br])n.impl.addSequence(n);e[br].length=0}}var Ay=[];function TS(e){return e[et]??AS(e)}function AS(e){let n=Ay.pop()??Object.create(NS);return n.lView=e,n}function xS(e){e.lView[et]!==e&&(e.lView=null,Ay.push(e))}var NS=U(E({},yn),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{Er(e.lView)},consumerOnSignalRead(){this.lView[et]=this}});function RS(e){let n=e[et]??Object.create(OS);return n.lView=e,n}var OS=U(E({},yn),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let n=An(e.lView);for(;n&&!xy(n[I]);)n=An(n);n&&dd(n)},consumerOnSignalRead(){this.lView[et]=this}});function xy(e){return e.type!==2}function Ny(e){if(e[Tn]===null)return;let n=!0;for(;n;){let t=!1;for(let r of e[Tn])r.dirty&&(t=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));n=t&&!!(e[x]&8192)}}var kS=100;function Ry(e,n=0){let r=e[It].rendererFactory,o=!1;o||r.begin?.();try{FS(e,n)}finally{o||r.end?.()}}function FS(e,n){let t=Cd();try{Mi(!0),cf(e,n);let r=0;for(;Vi(e);){if(r===kS)throw new b(103,!1);r++,cf(e,1)}}finally{Mi(t)}}function PS(e,n,t,r){if(Pn(n))return;let o=n[x],i=!1,s=!1;Za(n);let a=!0,c=null,l=null;i||(xy(e)?(l=TS(n),c=Yt(l)):Zs()===null?(a=!1,l=RS(n),c=Yt(l)):n[et]&&(Dn(n[et]),n[et]=null));try{ud(n),pg(e.bindingStartIndex),t!==null&&Ey(e,n,t,2,r);let u=(o&3)===3;if(!i)if(u){let p=e.preOrderCheckHooks;p!==null&&oc(n,p,null)}else{let p=e.preOrderHooks;p!==null&&ic(n,p,0,null),Nd(n,0)}if(s||LS(n),Ny(n),Oy(n,0),e.contentQueries!==null&&Qv(e,n),!i)if(u){let p=e.contentCheckHooks;p!==null&&oc(n,p)}else{let p=e.contentHooks;p!==null&&ic(n,p,1),Nd(n,1)}jS(e,n);let d=e.components;d!==null&&Fy(n,d,0);let h=e.viewQuery;if(h!==null&&Zd(2,h,r),!i)if(u){let p=e.viewCheckHooks;p!==null&&oc(n,p)}else{let p=e.viewHooks;p!==null&&ic(n,p,2),Nd(n,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),n[Ha]){for(let p of n[Ha])p();n[Ha]=null}i||(Ty(n),n[x]&=-73)}catch(u){throw i||Er(n),u}finally{l!==null&&(bn(l,c),a&&xS(l)),Ka()}}function Oy(e,n){for(let t=Uv(e);t!==null;t=$v(t))for(let r=de;r<t.length;r++){let o=t[r];ky(o,n)}}function LS(e){for(let n=Uv(e);n!==null;n=$v(n)){if(!(n[x]&2))continue;let t=n[Dr];for(let r=0;r<t.length;r++){let o=t[r];dd(o)}}}function VS(e,n,t){Y(z.ComponentStart);let r=ft(n,e);try{ky(r,t)}finally{Y(z.ComponentEnd,r[me])}}function ky(e,n){Ua(e)&&cf(e,n)}function cf(e,n){let r=e[I],o=e[x],i=e[et],s=!!(n===0&&o&16);if(s||=!!(o&64&&n===0),s||=!!(o&1024),s||=!!(i?.dirty&&Yr(i)),s||=!1,i&&(i.dirty=!1),e[x]&=-9217,s)PS(r,e,r.template,e[me]);else if(o&8192){let a=S(null);try{Ny(e),Oy(e,1);let c=r.components;c!==null&&Fy(e,c,1),Ty(e)}finally{S(a)}}}function Fy(e,n,t){for(let r=0;r<n.length;r++)VS(e,n[r],t)}function jS(e,n){let t=e.hostBindingOpCodes;if(t!==null)try{for(let r=0;r<t.length;r++){let o=t[r];if(o<0)Ln(~o);else{let i=o,s=t[++r],a=t[++r];gg(s,i);let c=n[i];Y(z.HostBindingsUpdateStart,c);try{a(2,c)}finally{Y(z.HostBindingsUpdateEnd,c)}}}}finally{Ln(-1)}}function kc(e,n){let t=Cd()?64:1088;for(e[It].changeDetectionScheduler?.notify(n);e;){e[x]|=t;let r=An(e);if(vo(e)&&!r)return e;e=r}return null}function Py(e,n,t,r){return[e,!0,0,n,null,r,null,t,null,null]}function Ly(e,n){let t=de+n;if(t<e.length)return e[t]}function Fo(e,n,t,r=!0){let o=n[I];if(BS(o,n,e,t),r){let s=af(t,e),a=n[ee],c=a.parentNode(e[Fn]);c!==null&&iS(o,e[Ve],a,n,c,s)}let i=n[vr];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function ih(e,n){let t=Zi(e,n);return t!==void 0&&xc(t[I],t),t}function Zi(e,n){if(e.length<=de)return;let t=de+n,r=e[t];if(r){let o=r[Rn];o!==null&&o!==e&&Xf(o,r),n>0&&(e[t-1][lt]=r[lt]);let i=Oi(e,de+n);oS(r[I],r);let s=i[Ht];s!==null&&s.detachView(i[I]),r[ye]=null,r[lt]=null,r[x]&=-129}return r}function BS(e,n,t,r){let o=de+r,i=t.length;r>0&&(t[o-1][lt]=n),r<i-de?(n[lt]=t[o],ed(t,de+r,n)):(t.push(n),n[lt]=null),n[ye]=t;let s=n[Rn];s!==null&&t!==s&&Vy(s,n);let a=n[Ht];a!==null&&a.insertView(e),$a(n),n[x]|=128}function Vy(e,n){let t=e[Dr],r=n[ye];if(en(r))e[x]|=2;else{let o=r[ye][Be];n[Be]!==o&&(e[x]|=2)}t===null?e[Dr]=[n]:t.push(n)}var Hn=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let n=this._lView,t=n[I];return Yi(t,n,t.firstChild,[])}constructor(n,t){this._lView=n,this._cdRefInjectingView=t}get context(){return this._lView[me]}set context(n){this._lView[me]=n}get destroyed(){return Pn(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let n=this._lView[ye];if(St(n)){let t=n[Pi],r=t?t.indexOf(this):-1;r>-1&&(Zi(n,r),Oi(t,r))}this._attachedToViewContainer=!1}xc(this._lView[I],this._lView)}onDestroy(n){za(this._lView,n)}markForCheck(){kc(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[x]&=-129}reattach(){$a(this._lView),this._lView[x]|=128}detectChanges(){this._lView[x]|=1024,Ry(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new b(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let n=vo(this._lView),t=this._lView[Rn];t!==null&&!n&&Xf(t,this._lView),vy(this._lView[I],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new b(902,!1);this._appRef=n;let t=vo(this._lView),r=this._lView[Rn];r!==null&&!t&&Vy(r,this._lView),$a(this._lView)}};var Ye=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=HS;constructor(t,r,o){this._declarationLView=t,this._declarationTContainer=r,this.elementRef=o}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,r){return this.createEmbeddedViewImpl(t,r)}createEmbeddedViewImpl(t,r,o){let i=ko(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:r,dehydratedView:o});return new Hn(i)}}return e})();function HS(){return Fc(fe(),w())}function Fc(e,n){return e.type&4?new Ye(n,e,Oo(e,n)):null}function Or(e,n,t,r,o){let i=e.data[n];if(i===null)i=US(e,n,t,r,o),mg()&&(i.flags|=32);else if(i.type&64){i.type=t,i.value=r,i.attrs=o;let s=fg();i.injectorIndex=s===null?-1:s.injectorIndex}return Cr(i,!0),i}function US(e,n,t,r,o){let i=_d(),s=bd(),a=s?i:i&&i.parent,c=e.data[n]=zS(e,a,t,n,r,o);return $S(e,c,i,s),c}function $S(e,n,t,r){e.firstChild===null&&(e.firstChild=n),t!==null&&(r?t.child==null&&n.parent!==null&&(t.child=n):t.next===null&&(t.next=n,n.prev=t))}function zS(e,n,t,r,o,i){let s=n?n.injectorIndex:-1,a=0;return gd()&&(a|=128),{type:t,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,namespace:Sd(),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:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function GS(e){let n=e[kn]??[],r=e[ye][ee],o=[];for(let i of n)i.data[Of]!==void 0?o.push(i):WS(i,r);e[kn]=o}function WS(e,n){let t=0,r=e.firstChild;if(r){let o=e.data[Wv];for(;t<o;){let i=r.nextSibling;cy(n,r,!1),r=i,t++}}}var qS=()=>null,YS=()=>null;function gc(e,n){return qS(e,n)}function jy(e,n,t){return YS(e,n,t)}var By=class{},Pc=class{},lf=class{resolveComponentFactory(n){throw new b(917,!1)}},Lc=class{static NULL=new lf},Se=class{},Ke=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>ZS()}return e})();function ZS(){let e=w(),n=fe(),t=ft(n.index,e);return(en(t)?t:e)[ee]}var Hy=(()=>{class e{static \u0275prov=y({token:e,providedIn:"root",factory:()=>null})}return e})();var ac={},Io=class{injector;parentInjector;constructor(n,t){this.injector=n,this.parentInjector=t}get(n,t,r){let o=this.injector.get(n,ac,r);return o!==ac||t===ac?o:this.parentInjector.get(n,t,r)}};function vc(e,n,t){let r=t?e.styles:null,o=t?e.classes:null,i=0;if(n!==null)for(let s=0;s<n.length;s++){let a=n[s];if(typeof a=="number")i=a;else if(i==1)o=ka(o,a);else if(i==2){let c=a,l=n[++s];r=ka(r,c+": "+l+";")}}t?e.styles=r:e.stylesWithoutHost=r,t?e.classes=o:e.classesWithoutHost=o}function H(e,n=0){let t=w();if(t===null)return T(e,n);let r=fe();return Pv(r,t,we(e),n)}function KS(){let e="invalid";throw new Error(e)}function Uy(e,n,t,r,o){let i=r===null?null:{"":-1},s=o(e,t);if(s!==null){let a=s,c=null,l=null;for(let u of s)if(u.resolveHostDirectives!==null){[a,c,l]=u.resolveHostDirectives(s);break}JS(e,n,t,a,i,c,l)}i!==null&&r!==null&&XS(t,r,i)}function XS(e,n,t){let r=e.localNames=[];for(let o=0;o<n.length;o+=2){let i=t[n[o+1]];if(i==null)throw new b(-301,!1);r.push(n[o],i)}}function QS(e,n,t){n.componentOffset=t,(e.components??=[]).push(n.index)}function JS(e,n,t,r,o,i,s){let a=r.length,c=null;for(let h=0;h<a;h++){let p=r[h];c===null&&Mt(p)&&(c=p,QS(e,t,h)),Gd(pc(t,n),e,p.type)}iM(t,e.data.length,a),c?.viewProvidersResolver&&c.viewProvidersResolver(c);for(let h=0;h<a;h++){let p=r[h];p.providersResolver&&p.providersResolver(p)}let l=!1,u=!1,d=hy(e,n,a,null);a>0&&(t.directiveToIndex=new Map);for(let h=0;h<a;h++){let p=r[h];if(t.mergedAttrs=So(t.mergedAttrs,p.hostAttrs),tM(e,t,n,d,p),oM(d,p,o),s!==null&&s.has(p)){let[v,_]=s.get(p);t.directiveToIndex.set(p.type,[d,v+t.directiveStart,_+t.directiveStart])}else(i===null||!i.has(p))&&t.directiveToIndex.set(p.type,d);p.contentQueries!==null&&(t.flags|=4),(p.hostBindings!==null||p.hostAttrs!==null||p.hostVars!==0)&&(t.flags|=64);let m=p.type.prototype;!l&&(m.ngOnChanges||m.ngOnInit||m.ngDoCheck)&&((e.preOrderHooks??=[]).push(t.index),l=!0),!u&&(m.ngOnChanges||m.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(t.index),u=!0),d++}eM(e,t,i)}function eM(e,n,t){for(let r=n.directiveStart;r<n.directiveEnd;r++){let o=e.data[r];if(t===null||!t.has(o))Qg(0,n,o,r),Qg(1,n,o,r),ev(n,r,!1);else{let i=t.get(o);Jg(0,n,i,r),Jg(1,n,i,r),ev(n,r,!0)}}}function Qg(e,n,t,r){let o=e===0?t.inputs:t.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s;e===0?s=n.inputs??={}:s=n.outputs??={},s[i]??=[],s[i].push(r),$y(n,i)}}function Jg(e,n,t,r){let o=e===0?t.inputs:t.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s=o[i],a;e===0?a=n.hostDirectiveInputs??={}:a=n.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,i),$y(n,s)}}function $y(e,n){n==="class"?e.flags|=8:n==="style"&&(e.flags|=16)}function ev(e,n,t){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!t&&o===null||t&&i===null||$f(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(!t&&o.hasOwnProperty(c)){let l=o[c];for(let u of l)if(u===n){s??=[],s.push(c,r[a+1]);break}}else if(t&&i.hasOwnProperty(c)){let l=i[c];for(let u=0;u<l.length;u+=2)if(l[u]===n){s??=[],s.push(l[u+1],r[a+1]);break}}a+=2}e.initialInputs??=[],e.initialInputs.push(s)}function tM(e,n,t,r,o){e.data[r]=o;let i=o.factory||(o.factory=Mn(o.type,!0)),s=new Sr(i,Mt(o),H,null);e.blueprint[r]=s,t[r]=s,nM(e,n,r,hy(e,t,o.hostVars,Ue),o)}function nM(e,n,t,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~n.index;rM(s)!=a&&s.push(a),s.push(t,r,i)}}function rM(e){let n=e.length;for(;n>0;){let t=e[--n];if(typeof t=="number"&&t<0)return t}return 0}function oM(e,n,t){if(t){if(n.exportAs)for(let r=0;r<n.exportAs.length;r++)t[n.exportAs[r]]=e;Mt(n)&&(t[""]=e)}}function iM(e,n,t){e.flags|=1,e.directiveStart=n,e.directiveEnd=n+t,e.providerIndexes=n}function sh(e,n,t,r,o,i,s,a){let c=n[I],l=c.consts,u=tt(l,s),d=Or(c,e,t,r,u);return i&&Uy(c,n,d,tt(l,a),o),d.mergedAttrs=So(d.mergedAttrs,d.attrs),d.attrs!==null&&vc(d,d.attrs,!1),d.mergedAttrs!==null&&vc(d,d.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,d),d}function ah(e,n){Mv(e,n),ad(n)&&e.queries.elementEnd(n)}function sM(e,n,t,r,o,i){let s=n.consts,a=tt(s,o),c=Or(n,e,t,r,a);if(c.mergedAttrs=So(c.mergedAttrs,c.attrs),i!=null){let l=tt(s,i);c.localNames=[];for(let u=0;u<l.length;u+=2)c.localNames.push(l[u],-1)}return c.attrs!==null&&vc(c,c.attrs,!1),c.mergedAttrs!==null&&vc(c,c.mergedAttrs,!0),n.queries!==null&&n.queries.elementStart(n,c),c}function ch(e){return Gy(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function zy(e,n){if(Array.isArray(e))for(let t=0;t<e.length;t++)n(e[t]);else{let t=e[Symbol.iterator](),r;for(;!(r=t.next()).done;)n(r.value)}}function Gy(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function rs(e,n,t){return e[n]=t}function Wy(e,n){return e[n]}function Ze(e,n,t){if(t===Ue)return!1;let r=e[n];return Object.is(r,t)?!1:(e[n]=t,!0)}function To(e,n,t,r){let o=Ze(e,n,t);return Ze(e,n+1,r)||o}function aM(e,n,t,r,o){let i=To(e,n,t,r);return Ze(e,n+2,o)||i}function cM(e,n,t,r,o,i){let s=To(e,n,t,r);return To(e,n+2,o,i)||s}function cc(e,n,t){return function r(o){let i=r.__ngNativeEl__;i!==void 0&&nI(o,i);let s=Ut(e)?ft(e.index,n):n;kc(s,5);let a=n[me],c=tv(n,a,t,o),l=r.__ngNextListenerFn__;for(;l;)c=tv(n,a,l,o)&&c,l=l.__ngNextListenerFn__;return c}}function tv(e,n,t,r){let o=S(null);try{return Y(z.OutputStart,n,t),t(r)!==!1}catch(i){return rh(e,i),!1}finally{Y(z.OutputEnd,n,t),S(o)}}function qy(e,n,t,r,o,i,s,a){let c=go(e),l=!1,u=null;if(!r&&c&&(u=uM(n,t,i,e.index)),u!==null){let d=u.__ngLastListenerFn__||u;d.__ngNextListenerFn__=s,u.__ngLastListenerFn__=s,l=!0}else{let d=dt(e,t),h=r?r(d):d;oI(t,h,i,a),r||(a.__ngNativeEl__=d);let p=o.listen(h,i,a);if(!lM(i)){let m=r?v=>r(ut(v[e.index])):e.index;Yy(m,n,t,i,a,p,!1)}}return l}function lM(e){return e.startsWith("animation")||e.startsWith("transition")}function uM(e,n,t,r){let o=e.cleanup;if(o!=null)for(let i=0;i<o.length-1;i+=2){let s=o[i];if(s===t&&o[i+1]===r){let a=n[po],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function Yy(e,n,t,r,o,i,s){let a=n.firstCreatePass?pd(n):null,c=hd(t),l=c.length;c.push(o,i),a&&a.push(r,e,l,(l+1)*(s?-1:1))}function nv(e,n,t,r,o,i){let s=n[t],a=n[I],l=a.data[t].outputs[r],d=s[l].subscribe(i);Yy(e.index,a,n,o,i,d,!0)}var uf=Symbol("BINDING");function Zy(e){return e.debugInfo?.className||e.type.name||null}var df=class extends Lc{ngModule;constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){let t=Qt(n);return new Ao(t,this.ngModule)}};function dM(e){return Object.keys(e).map(n=>{let[t,r,o]=e[n],i={propName:t,templateName:n,isSignal:(r&Mc.SignalBased)!==0};return o&&(i.transform=o),i})}function fM(e){return Object.keys(e).map(n=>({propName:e[n],templateName:n}))}function hM(e,n,t){let r=n instanceof ue?n:n?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new Io(t,r):t}function pM(e){let n=e.get(Se,null);if(n===null)throw new b(407,!1);let t=e.get(Hy,null),r=e.get(Et,null),o=e.get(Nt,null,{optional:!0});return{rendererFactory:n,sanitizer:t,changeDetectionScheduler:r,ngReflect:!1,tracingService:o}}function mM(e,n){let t=Ky(e);return sy(n,t,t==="svg"?cd:t==="math"?rg:null)}function Ky(e){return(e.selectors[0][0]||"div").toLowerCase()}var Ao=class extends Pc{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=dM(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=fM(this.componentDef.outputs),this.cachedOutputs}constructor(n,t){super(),this.componentDef=n,this.ngModule=t,this.componentType=n.type,this.selector=WI(n.selectors),this.ngContentSelectors=n.ngContentSelectors??[],this.isBoundToModule=!!t}create(n,t,r,o,i,s){Y(z.DynamicComponentStart);let a=S(null);try{let c=this.componentDef,l=hM(c,o||this.ngModule,n),u=pM(l),d=u.tracingService;return d&&d.componentCreate?d.componentCreate(Zy(c),()=>this.createComponentRef(u,l,t,r,i,s)):this.createComponentRef(u,l,t,r,i,s)}finally{S(a)}}createComponentRef(n,t,r,o,i,s){let a=this.componentDef,c=gM(o,a,s,i),l=n.rendererFactory.createRenderer(null,a),u=o?gS(l,o,a.encapsulation,t):mM(a,l),d=s?.some(rv)||i?.some(m=>typeof m!="function"&&m.bindings.some(rv)),h=Gf(null,c,null,512|fy(a),null,null,n,l,t,null,Xv(u,t,!0));h[K]=u,Za(h);let p=null;try{let m=sh(K,h,2,"#host",()=>c.directiveRegistry,!0,0);ly(l,u,m),Mo(u,h),Rc(c,h,m),Pf(c,m,h),ah(c,m),r!==void 0&&yM(m,this.ngContentSelectors,r),p=ft(m.index,h),h[me]=p[me],oh(c,h,null)}catch(m){throw p!==null&&qd(p),qd(h),m}finally{Y(z.DynamicComponentEnd),Ka()}return new yc(this.componentType,h,!!d)}};function gM(e,n,t,r){let o=e?["ng-version","21.2.16"]:qI(n.selectors[0]),i=null,s=null,a=0;if(t)for(let u of t)a+=u[uf].requiredVars,u.create&&(u.targetIdx=0,(i??=[]).push(u)),u.update&&(u.targetIdx=0,(s??=[]).push(u));if(r)for(let u=0;u<r.length;u++){let d=r[u];if(typeof d!="function")for(let h of d.bindings){a+=h[uf].requiredVars;let p=u+1;h.create&&(h.targetIdx=p,(i??=[]).push(h)),h.update&&(h.targetIdx=p,(s??=[]).push(h))}}let c=[n];if(r)for(let u of r){let d=typeof u=="function"?u:u.type,h=Ri(d);c.push(h)}return zf(0,null,vM(i,s),1,a,c,null,null,null,[o],null)}function vM(e,n){return!e&&!n?null:t=>{if(t&1&&e)for(let r of e)r.create();if(t&2&&n)for(let r of n)r.update()}}function rv(e){let n=e[uf].kind;return n==="input"||n==="twoWay"}var yc=class extends By{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(n,t,r){super(),this._rootLView=t,this._hasInputBindings=r,this._tNode=yo(t[I],K),this.location=Oo(this._tNode,t),this.instance=ft(this._tNode.index,t)[me],this.hostView=this.changeDetectorRef=new Hn(t,void 0),this.componentType=n}setInput(n,t){this._hasInputBindings;let r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(n)&&Object.is(this.previousInputValues.get(n),t))return;let o=this._rootLView,i=Oc(r,o[I],o,n,t);this.previousInputValues.set(n,t);let s=ft(r.index,o);kc(s,1)}get injector(){return new Ir(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}};function yM(e,n,t){let r=e.projection=[];for(let o=0;o<n.length;o++){let i=t[o];r.push(i!=null&&i.length?Array.from(i):null)}}var rt=(()=>{class e{static __NG_ELEMENT_ID__=_M}return e})();function _M(){let e=fe();return Xy(e,w())}var ff=class e extends rt{_lContainer;_hostTNode;_hostLView;constructor(n,t,r){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=r}get element(){return Oo(this._hostTNode,this._hostLView)}get injector(){return new Ir(this._hostTNode,this._hostLView)}get parentInjector(){let n=Af(this._hostTNode,this._hostLView);if(xv(n)){let t=fc(n,this._hostLView),r=dc(n),o=t[I].data[r+8];return new Ir(o,t)}else return new Ir(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){let t=ov(this._lContainer);return t!==null&&t[n]||null}get length(){return this._lContainer.length-de}createEmbeddedView(n,t,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=gc(this._lContainer,n.ssrId),a=n.createEmbeddedViewImpl(t||{},i,s);return this.insertImpl(a,o,Tr(this._hostTNode,s)),a}createComponent(n,t,r,o,i,s,a){let c=n&&!Nw(n),l;if(c)l=t;else{let _=t||{};l=_.index,r=_.injector,o=_.projectableNodes,i=_.environmentInjector||_.ngModuleRef,s=_.directives,a=_.bindings}let u=c?n:new Ao(Qt(n)),d=r||this.parentInjector;if(!i&&u.ngModule==null){let D=(c?d:this.parentInjector).get(ue,null);D&&(i=D)}let h=Qt(u.componentType??{}),p=gc(this._lContainer,h?.id??null),m=p?.firstChild??null,v=u.create(d,o,m,i,s,a);return this.insertImpl(v.hostView,l,Tr(this._hostTNode,p)),v}insert(n,t){return this.insertImpl(n,t,!0)}insertImpl(n,t,r){let o=n._lView;if(ig(o)){let a=this.indexOf(n);if(a!==-1)this.detach(a);else{let c=o[ye],l=new e(c,c[Ve],c[ye]);l.detach(l.indexOf(n))}}let i=this._adjustIndex(t),s=this._lContainer;return Fo(s,o,i,r),n.attachToViewContainerRef(),ed(kd(s),i,n),n}move(n,t){return this.insert(n,t)}indexOf(n){let t=ov(this._lContainer);return t!==null?t.indexOf(n):-1}remove(n){let t=this._adjustIndex(n,-1),r=Zi(this._lContainer,t);r&&(Oi(kd(this._lContainer),t),xc(r[I],r))}detach(n){let t=this._adjustIndex(n,-1),r=Zi(this._lContainer,t);return r&&Oi(kd(this._lContainer),t)!=null?new Hn(r):null}_adjustIndex(n,t=0){return n??this.length+t}};function ov(e){return e[Pi]}function kd(e){return e[Pi]||(e[Pi]=[])}function Xy(e,n){let t,r=n[e.index];return St(r)?t=r:(t=Py(r,n,null,e),n[e.index]=t,Wf(n,t)),DM(t,n,e,r),new ff(t,e,n)}function bM(e,n){let t=e[ee],r=t.createComment(""),o=dt(n,e),i=t.parentNode(o);return mc(t,i,r,t.nextSibling(o),!1),r}var DM=CM,EM=()=>!1;function Qy(e,n,t){return EM(e,n,t)}function CM(e,n,t,r){if(e[Fn])return;let o;t.type&8?o=ut(r):o=bM(n,t),e[Fn]=o}var hf=class e{queryList;matches=null;constructor(n){this.queryList=n}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},pf=class e{queries;constructor(n=[]){this.queries=n}createEmbeddedView(n){let t=n.queries;if(t!==null){let r=n.contentQueries!==null?n.contentQueries[0]:t.length,o=[];for(let i=0;i<r;i++){let s=t.getByIndex(i),a=this.queries[s.indexInDeclarationView];o.push(a.clone())}return new e(o)}return null}insertView(n){this.dirtyQueriesWithMatches(n)}detachView(n){this.dirtyQueriesWithMatches(n)}finishViewCreation(n){this.dirtyQueriesWithMatches(n)}dirtyQueriesWithMatches(n){for(let t=0;t<this.queries.length;t++)uh(n,t).matches!==null&&this.queries[t].setDirty()}},_c=class{flags;read;predicate;constructor(n,t,r=null){this.flags=t,this.read=r,typeof n=="string"?this.predicate=TM(n):this.predicate=n}},mf=class e{queries;constructor(n=[]){this.queries=n}elementStart(n,t){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(n,t)}elementEnd(n){for(let t=0;t<this.queries.length;t++)this.queries[t].elementEnd(n)}embeddedTView(n){let t=null;for(let r=0;r<this.length;r++){let o=t!==null?t.length:0,i=this.getByIndex(r).embeddedTView(n,o);i&&(i.indexInDeclarationView=r,t!==null?t.push(i):t=[i])}return t!==null?new e(t):null}template(n,t){for(let r=0;r<this.queries.length;r++)this.queries[r].template(n,t)}getByIndex(n){return this.queries[n]}get length(){return this.queries.length}track(n){this.queries.push(n)}},gf=class e{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(n,t=-1){this.metadata=n,this._declarationNodeIndex=t}elementStart(n,t){this.isApplyingToNode(t)&&this.matchTNode(n,t)}elementEnd(n){this._declarationNodeIndex===n.index&&(this._appliesToNextNode=!1)}template(n,t){this.elementStart(n,t)}embeddedTView(n,t){return this.isApplyingToNode(n)?(this.crossesNgTemplate=!0,this.addMatch(-n.index,t),new e(this.metadata)):null}isApplyingToNode(n){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let t=this._declarationNodeIndex,r=n.parent;for(;r!==null&&r.type&8&&r.index!==t;)r=r.parent;return t===(r!==null?r.index:-1)}return this._appliesToNextNode}matchTNode(n,t){let r=this.metadata.predicate;if(Array.isArray(r))for(let o=0;o<r.length;o++){let i=r[o];this.matchTNodeWithReadOption(n,t,wM(t,i)),this.matchTNodeWithReadOption(n,t,sc(t,n,i,!1,!1))}else r===Ye?t.type&4&&this.matchTNodeWithReadOption(n,t,-1):this.matchTNodeWithReadOption(n,t,sc(t,n,r,!1,!1))}matchTNodeWithReadOption(n,t,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===B||o===rt||o===Ye&&t.type&4)this.addMatch(t.index,-2);else{let i=sc(t,n,o,!1,!1);i!==null&&this.addMatch(t.index,i)}else this.addMatch(t.index,r)}}addMatch(n,t){this.matches===null?this.matches=[n,t]:this.matches.push(n,t)}};function wM(e,n){let t=e.localNames;if(t!==null){for(let r=0;r<t.length;r+=2)if(t[r]===n)return t[r+1]}return null}function IM(e,n){return e.type&11?Oo(e,n):e.type&4?Fc(e,n):null}function SM(e,n,t,r){return t===-1?IM(n,e):t===-2?MM(e,n,r):Wi(e,e[I],t,n)}function MM(e,n,t){if(t===B)return Oo(n,e);if(t===Ye)return Fc(n,e);if(t===rt)return Xy(n,e)}function Jy(e,n,t,r){let o=n[Ht].queries[r];if(o.matches===null){let i=e.data,s=t.matches,a=[];for(let c=0;s!==null&&c<s.length;c+=2){let l=s[c];if(l<0)a.push(null);else{let u=i[l];a.push(SM(n,u,s[c+1],t.metadata.read))}}o.matches=a}return o.matches}function vf(e,n,t,r){let o=e.queries.getByIndex(t),i=o.matches;if(i!==null){let s=Jy(e,n,o,t);for(let a=0;a<i.length;a+=2){let c=i[a];if(c>0)r.push(s[a/2]);else{let l=i[a+1],u=n[-c];for(let d=de;d<u.length;d++){let h=u[d];h[Rn]===h[ye]&&vf(h[I],h,l,r)}if(u[Dr]!==null){let d=u[Dr];for(let h=0;h<d.length;h++){let p=d[h];vf(p[I],p,l,r)}}}}}return r}function lh(e,n){return e[Ht].queries[n].queryList}function e_(e,n,t){let r=new on((t&4)===4);return ag(e,n,r,r.destroy),(n[Ht]??=new pf).queries.push(new hf(r))-1}function t_(e,n,t){let r=Q();return r.firstCreatePass&&(r_(r,new _c(e,n,t),-1),(n&2)===2&&(r.staticViewQueries=!0)),e_(r,w(),n)}function n_(e,n,t,r){let o=Q();if(o.firstCreatePass){let i=fe();r_(o,new _c(n,t,r),i.index),AM(o,e),(t&2)===2&&(o.staticContentQueries=!0)}return e_(o,w(),t)}function TM(e){return e.split(",").map(n=>n.trim())}function r_(e,n,t){e.queries===null&&(e.queries=new mf),e.queries.track(new gf(n,t))}function AM(e,n){let t=e.contentQueries||(e.contentQueries=[]),r=t.length?t[t.length-1]:-1;n!==r&&t.push(e.queries.length-1,n)}function uh(e,n){return e.queries.getByIndex(n)}function o_(e,n){let t=e[I],r=uh(t,n);return r.crossesNgTemplate?vf(t,e,n,[]):Jy(t,e,r,n)}function dh(e,n,t){let r,o=li(()=>{r._dirtyCounter();let i=xM(r,e);if(n&&i===void 0)throw new b(-951,!1);return i});return r=o[he],r._dirtyCounter=se(0),r._flatValue=void 0,o}function fh(e){return dh(!0,!1,e)}function hh(e){return dh(!0,!0,e)}function ph(e){return dh(!1,!1,e)}function i_(e,n){let t=e[he];t._lView=w(),t._queryIndex=n,t._queryList=lh(t._lView,n),t._queryList.onDirty(()=>t._dirtyCounter.update(r=>r+1))}function xM(e,n){let t=e._lView,r=e._queryIndex;if(t===void 0||r===void 0||t[x]&4)return n?void 0:Re;let o=lh(t,r),i=o_(t,r);return o.reset(i,jv),n?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}var Un=class{};var Ki=class extends Un{injector;componentFactoryResolver=new df(this);instance=null;constructor(n){super();let t=new pr([...n.providers,{provide:Un,useValue:this},{provide:Lc,useValue:this.componentFactoryResolver}],n.parent||fo(),n.debugName,new Set(["environment"]));this.injector=t,n.runEnvironmentInitializers&&t.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}};function mh(e,n,t=null){return new Ki({providers:e,parent:n,debugName:t,runEnvironmentInitializers:!0}).injector}var NM=(()=>{class e{_injector;cachedInjectors=new Map;constructor(t){this._injector=t}getOrCreateStandaloneInjector(t){if(!t.standalone)return null;if(!this.cachedInjectors.has(t)){let r=Ba(!1,t.type),o=r.length>0?mh([r],this._injector,""):null;this.cachedInjectors.set(t,o)}return this.cachedInjectors.get(t)}ngOnDestroy(){try{for(let t of this.cachedInjectors.values())t!==null&&t.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=y({token:e,providedIn:"environment",factory:()=>new e(T(ue))})}return e})();function ae(e){return Qi(()=>{let n=s_(e),t=U(E({},n),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Nf.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:n.standalone?o=>o.get(NM).getOrCreateStandaloneInjector(t):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||xt.Emulated,styles:e.styles||Re,_:null,schemas:e.schemas||null,tView:null,id:""});n.standalone&&Wt("NgStandalone"),a_(t);let r=e.dependencies;return t.directiveDefs=iv(r,RM),t.pipeDefs=iv(r,Ku),t.id=FM(t),t})}function RM(e){return Qt(e)||Ri(e)}function q(e){return Qi(()=>({type:e.type,bootstrap:e.bootstrap||Re,declarations:e.declarations||Re,imports:e.imports||Re,exports:e.exports||Re,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function OM(e,n){if(e==null)return Ct;let t={};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=Mc.None,c=null),t[i]=[r,a,c],n[i]=s}return t}function kM(e){if(e==null)return Ct;let n={};for(let t in e)e.hasOwnProperty(t)&&(n[e[t]]=t);return n}function N(e){return Qi(()=>{let n=s_(e);return a_(n),n})}function Vc(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 s_(e){let n={};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:n,inputConfig:e.inputs||Ct,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||Re,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,controlDef:null,inputs:OM(e.inputs,n),outputs:kM(e.outputs),debugInfo:null}}function a_(e){e.features?.forEach(n=>n(e))}function iv(e,n){return e?()=>{let t=typeof e=="function"?e():e,r=[];for(let o of t){let i=n(o);i!==null&&r.push(i)}return r}:null}function FM(e){let n=0,t=typeof e.consts=="function"?"":e.consts,r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,t,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("|"))n=Math.imul(31,n)+i.charCodeAt(0)<<0;return n+=2147483648,"c"+n}function gh(e){let n=t=>{let r=Array.isArray(e);t.hostDirectives===null?(t.resolveHostDirectives=PM,t.hostDirectives=r?e.map(yf):[e]):r?t.hostDirectives.unshift(...e.map(yf)):t.hostDirectives.unshift(e)};return n.ngInherit=!0,n}function PM(e){let n=[],t=!1,r=null,o=null;for(let i=0;i<e.length;i++){let s=e[i];if(s.hostDirectives!==null){let a=n.length;r??=new Map,o??=new Map,c_(s,n,r),o.set(s,[a,n.length-1])}i===0&&Mt(s)&&(t=!0,n.push(s))}for(let i=t?1:0;i<e.length;i++)n.push(e[i]);return[n,r,o]}function c_(e,n,t){if(e.hostDirectives!==null)for(let r of e.hostDirectives)if(typeof r=="function"){let o=r();for(let i of o)sv(yf(i),n,t)}else sv(r,n,t)}function sv(e,n,t){let r=Ri(e.directive);LM(r.declaredInputs,e.inputs),c_(r,n,t),t.set(r,e),n.push(r)}function yf(e){return typeof e=="function"?{directive:we(e),inputs:Ct,outputs:Ct}:{directive:we(e.directive),inputs:av(e.inputs),outputs:av(e.outputs)}}function av(e){if(e===void 0||e.length===0)return Ct;let n={};for(let t=0;t<e.length;t+=2)n[e[t]]=e[t+1];return n}function LM(e,n){for(let t in n)if(n.hasOwnProperty(t)){let r=n[t],o=e[t];e[r]=o}}function VM(e){return Object.getPrototypeOf(e.prototype).constructor}function W(e){let n=VM(e.type),t=!0,r=[e];for(;n&&n!==Function.prototype&&n!==Object.prototype;){let o,i=Object.hasOwn(n,xi)?n[xi]:void 0,s=Object.hasOwn(n,Ni)?n[Ni]:void 0;if(Mt(e))o=i??s;else{if(i)throw new b(903,!1);o=s}if(o){if(t){r.push(o);let c=e;c.inputs=Fd(e.inputs),c.declaredInputs=Fd(e.declaredInputs),c.outputs=Fd(e.outputs);let l=o.hostBindings;l&&$M(e,l);let u=o.viewQuery,d=o.contentQueries;if(u&&HM(e,u),d&&UM(e,d),jM(e,o),$m(e.outputs,o.outputs),Mt(o)&&o.data.animation){let h=e.data;h.animation=(h.animation||[]).concat(o.data.animation)}}let a=o.features;if(a)for(let c=0;c<a.length;c++){let l=a[c];l&&l.ngInherit&&l(e),l===W&&(t=!1)}}n=Object.getPrototypeOf(n)}BM(r)}function jM(e,n){for(let t in n.inputs){if(!n.inputs.hasOwnProperty(t)||e.inputs.hasOwnProperty(t))continue;let r=n.inputs[t];r!==void 0&&(e.inputs[t]=r,e.declaredInputs[t]=n.declaredInputs[t])}}function BM(e){let n=0,t=null;for(let r=e.length-1;r>=0;r--){let o=e[r];o.hostVars=n+=o.hostVars,o.hostAttrs=So(o.hostAttrs,t=So(t,o.hostAttrs))}}function Fd(e){return e===Ct?{}:e===Re?[]:e}function HM(e,n){let t=e.viewQuery;t?e.viewQuery=(r,o)=>{n(r,o),t(r,o)}:e.viewQuery=n}function UM(e,n){let t=e.contentQueries;t?e.contentQueries=(r,o,i)=>{n(r,o,i),t(r,o,i)}:e.contentQueries=n}function $M(e,n){let t=e.hostBindings;t?e.hostBindings=(r,o)=>{n(r,o),t(r,o)}:e.hostBindings=n}function l_(e,n,t,r,o,i,s,a){if(t.firstCreatePass){e.mergedAttrs=So(e.mergedAttrs,e.attrs);let u=e.tView=zf(2,e,o,i,s,t.directiveRegistry,t.pipeRegistry,null,t.schemas,t.consts,null);t.queries!==null&&(t.queries.template(t,e),u.queries=t.queries.embeddedTView(e))}a&&(e.flags|=a),Cr(e,!1);let c=GM(t,n,e,r);Xa()&&Qf(t,n,c,e),Mo(c,n);let l=Py(c,n,c,e);n[r+K]=l,Wf(n,l),Qy(l,e,n)}function zM(e,n,t,r,o,i,s,a,c,l,u){let d=t+K,h;return n.firstCreatePass?(h=Or(n,d,4,s||null,a||null),Ga()&&Uy(n,e,h,tt(n.consts,l),eh),Mv(n,h)):h=n.data[d],l_(h,e,n,t,r,o,i,c),go(h)&&Rc(n,e,h),l!=null&&ns(e,h,u),h}function Ar(e,n,t,r,o,i,s,a,c,l,u){let d=t+K,h;if(n.firstCreatePass){if(h=Or(n,d,4,s||null,a||null),l!=null){let p=tt(n.consts,l);h.localNames=[];for(let m=0;m<p.length;m+=2)h.localNames.push(p[m],-1)}}else h=n.data[d];return l_(h,e,n,t,r,o,i,c),l!=null&&ns(e,h,u),h}function Po(e,n,t,r,o,i,s,a){let c=w(),l=Q(),u=tt(l.consts,i);return zM(c,l,e,n,t,r,o,u,void 0,s,a),Po}function u_(e,n,t,r,o,i,s,a){let c=w(),l=Q(),u=tt(l.consts,i);return Ar(c,l,e,n,t,r,o,u,void 0,s,a),u_}var GM=WM;function WM(e,n,t,r){return Bi(!0),n[ee].createComment("")}var qe=(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})(qe||{}),cv=0,qM=1,_e=(function(e){return e[e.Placeholder=0]="Placeholder",e[e.Loading=1]="Loading",e[e.Complete=2]="Complete",e[e.Error=3]="Error",e})(_e||{}),d_=(function(e){return e[e.Initial=-1]="Initial",e})(d_||{}),YM=0,jc=1;var ZM=4,KM=5,XM=6,QM=7,Pd=8,JM=9,vh=(function(e){return e[e.Manual=0]="Manual",e[e.Playthrough=1]="Playthrough",e})(vh||{});function f_(e,n,t){let r=p_(e);n[r]===null&&(n[r]=[]),n[r].push(t)}function lc(e,n){let t=p_(e),r=n[t];if(r!==null){for(let o of r)o();n[t]=null}}function h_(e){lc(1,e),lc(0,e),lc(2,e)}function p_(e){let n=ZM;return e===1?n=KM:e===2&&(n=JM),n}function Bc(e){return e+1}function Lo(e,n){let t=e[I],r=Bc(n.index);return e[r]}function eT(e,n,t){let r=e[I],o=Bc(n);e[o]=t}function Vo(e,n){let t=Bc(n.index);return e.data[t]}function tT(e,n,t){let r=Bc(n);e.data[r]=t}function nT(e,n,t){let r=n[I],o=Vo(r,t);switch(e){case _e.Complete:return o.primaryTmplIndex;case _e.Loading:return o.loadingTmplIndex;case _e.Error:return o.errorTmplIndex;case _e.Placeholder:return o.placeholderTmplIndex;default:return null}}function lv(e,n){return n===_e.Placeholder?e.placeholderBlockConfig?.[cv]??null:n===_e.Loading?e.loadingBlockConfig?.[cv]??null:null}function rT(e){return e.loadingBlockConfig?.[qM]??null}function uv(e,n){if(!e||e.length===0)return n;let t=new Set(e);for(let r of n)t.add(r);return e.length===t.size?e:Array.from(t)}function oT(e,n){let t=n.primaryTmplIndex+K;return yo(e,t)}function iT(e,n){let t=n.get(cT),r=()=>t.remove(e);return t.add(e),r}var sT=()=>typeof requestIdleCallback<"u"?requestIdleCallback:setTimeout,aT=()=>typeof requestIdleCallback<"u"?cancelIdleCallback:clearTimeout,cT=(()=>{class e{executingCallbacks=!1;idleId=null;current=new Set;deferred=new Set;ngZone=f(M);requestIdleCallbackFn=sT().bind(globalThis);cancelIdleCallbackFn=aT().bind(globalThis);add(t){(this.executingCallbacks?this.deferred:this.current).add(t),this.idleId===null&&this.scheduleIdleCallback()}remove(t){let{current:r,deferred:o}=this;r.delete(t),o.delete(t),r.size===0&&o.size===0&&this.cancelIdleCallback()}scheduleIdleCallback(){let t=()=>{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(t))}cancelIdleCallback(){this.idleId!==null&&(this.cancelIdleCallbackFn(this.idleId),this.idleId=null)}ngOnDestroy(){this.cancelIdleCallback(),this.current.clear(),this.deferred.clear()}static \u0275prov=y({token:e,providedIn:"root",factory:()=>new e})}return e})();var lT=(()=>{class e{cachedInjectors=new Map;getOrCreateInjector(t,r,o,i){if(!this.cachedInjectors.has(t)){let s=o.length>0?mh(o,r,i):null;this.cachedInjectors.set(t,s)}return this.cachedInjectors.get(t)}ngOnDestroy(){try{for(let t of this.cachedInjectors.values())t!==null&&t.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=y({token:e,providedIn:"environment",factory:()=>new e})}return e})();var m_=new g("");function Ld(e,n,t){return e.get(lT).getOrCreateInjector(n,e,t,"")}function uT(e,n,t){if(e instanceof Io){let o=e.injector,i=e.parentInjector,s=Ld(i,n,t);return new Io(o,s)}let r=e.get(ue);if(r!==e){let o=Ld(r,n,t);return new Io(e,o)}return Ld(e,n,t)}function Bn(e,n,t,r=!1){let o=t[ye],i=o[I];if(Pn(o))return;let s=Lo(o,n),a=s[jc],c=s[QM];if(!(c!==null&&e<c)&&dv(a,e)&&dv(s[YM]??-1,e)){let l=Vo(i,n),d=!r&&!0&&(rT(l)!==null||lv(l,_e.Loading)!==null||lv(l,_e.Placeholder))?pT:fT;try{d(e,s,t,n,o)}catch(h){rh(o,h)}}}function dT(e,n){let t=e[kn]?.findIndex(o=>o.data[kf]===n[jc])??-1;return{dehydratedView:t>-1?e[kn][t]:null,dehydratedViewIx:t}}function fT(e,n,t,r,o){Y(z.DeferBlockStateStart);let i=nT(e,o,r);if(i!==null){n[jc]=e;let s=o[I],a=i+K,c=yo(s,a),l=0;ih(t,l);let u;if(e===_e.Complete){let m=Vo(s,r),v=m.providers;v&&v.length>0&&(u=uT(o[je],m,v))}let{dehydratedView:d,dehydratedViewIx:h}=dT(t,n),p=ko(o,c,null,{injector:u,dehydratedView:d});if(Fo(t,p,l,Tr(c,d)),kc(p,2),h>-1&&t[kn]?.splice(h,1),(e===_e.Complete||e===_e.Error)&&Array.isArray(n[Pd])){for(let m of n[Pd])m();n[Pd]=null}}Y(z.DeferBlockStateEnd)}function dv(e,n){return e<n}function hT(e,n){let t=e[n.index];Bn(_e.Placeholder,n,t)}function fv(e,n,t){e.loadingPromise.then(()=>{e.loadingState===qe.COMPLETE?Bn(_e.Complete,n,t):e.loadingState===qe.FAILED&&Bn(_e.Error,n,t)})}var pT=null;function jo(e){return typeof e=="function"&&e[he]!==void 0}function yh(e){return jo(e)&&typeof e.set=="function"}var _h=new g("");function Bo(e){return!!e&&typeof e.then=="function"}function bh(e){return!!e&&typeof e.subscribe=="function"}var g_=new g("");var Dh=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((t,r)=>{this.resolve=t,this.reject=r});appInits=f(g_,{optional:!0})??[];injector=f(O);constructor(){}runInitializers(){if(this.initialized)return;let t=[];for(let o of this.appInits){let i=ho(this.injector,o);if(Bo(i))t.push(i);else if(bh(i)){let s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});t.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(t).then(()=>{r()}).catch(o=>{this.reject(o)}),t.length===0&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),v_=new g("");function y_(){lu(()=>{let e="";throw new b(600,e)})}function __(e){return e.isBoundToModule}var mT=10;var ot=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=f(rn);afterRenderManager=f(Ac);zonelessEnabled=f(Eo);rootEffectScheduler=f(Ja);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new C;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=f(Vn);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(X(t=>!t))}constructor(){f(Nt,{optional:!0})}whenStable(){let t;return new Promise(r=>{t=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{t.unsubscribe()})}_injector=f(ue);_rendererFactory=null;get injector(){return this._injector}bootstrap(t,r){return this.bootstrapImpl(t,r)}bootstrapImpl(t,r,o=O.NULL){return this._injector.get(M).run(()=>{Y(z.BootstrapComponentStart);let s=t instanceof Pc;if(!this._injector.get(Dh).done){let m="";throw new b(405,m)}let c;s?c=t:c=this._injector.get(Lc).resolveComponentFactory(t),this.componentTypes.push(c.componentType);let l=__(c)?void 0:this._injector.get(Un),u=r||c.selector,d=c.create(o,[],u,l),h=d.location.nativeElement,p=d.injector.get(_h,null);return p?.registerApplication(h),d.onDestroy(()=>{this.detachView(d.hostView),Gi(this.components,d),p?.unregisterApplication(h)}),this._loadComponent(d),Y(z.BootstrapComponentEnd,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){Y(z.ChangeDetectionStart),this.tracingSnapshot!==null?this.tracingSnapshot.run(Tc.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw Y(z.ChangeDetectionEnd),new b(101,!1);let t=S(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,S(t),this.afterTick.next(),Y(z.ChangeDetectionEnd)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Se,null,{optional:!0}));let t=0;for(;this.dirtyFlags!==0&&t++<mT;){Y(z.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{Y(z.ChangeDetectionSyncEnd)}}}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let t=!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&&!Vi(o))continue;let i=r&&!this.zonelessEnabled?0:1;Ry(o,i),t=!0}if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}t||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:t})=>Vi(t))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(t){let r=t;this._views.push(r),r.attachToAppRef(this)}detachView(t){let r=t;Gi(this._views,r),r.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView);try{this.tick()}catch(o){this.internalErrorHandler(o)}this.components.push(t),this._injector.get(v_,[]).forEach(o=>o(t))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(t=>t()),this._views.slice().forEach(t=>t.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(t){return this._destroyListeners.push(t),()=>Gi(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new b(406,!1);let t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Gi(e,n){let t=e.indexOf(n);t>-1&&e.splice(t,1)}function gT(e){let n=w(),t=fe();if(hT(n,t),!D_(0,n))return;let r=n[je],o=Lo(n,t),i=e(()=>vT(0,n,t),r);f_(0,o,i)}function b_(e,n,t){let r=n[je],o=n[I];if(e.loadingState!==qe.NOT_STARTED)return e.loadingPromise??Promise.resolve();let i=Lo(n,t),s=oT(o,e);e.loadingState=qe.IN_PROGRESS,lc(1,i);let a=e.dependencyResolverFn,c=r.get(jn).add();return a?(e.loadingPromise=Promise.allSettled(a()).then(l=>{let u=!1,d=null,h=[],p=[];for(let m=0;m<l.length;m++){let v=l[m];if(v.status==="fulfilled"){let _=v.value,D=Qt(_)||Ri(_);if(D)h.push(D);else{let k=Ku(_);k&&p.push(k)}}else{u=!0,d=v.reason instanceof Error?v.reason:new Error(String(v.reason));break}}if(u){if(e.loadingState=qe.FAILED,e.errorTmplIndex===null){let v="",_=new b(-750,v);rh(n,_)}}else{e.loadingState=qe.COMPLETE;let m=s.tView;if(h.length>0){m.directiveRegistry=uv(m.directiveRegistry,h);let v=h.map(D=>D.type),_=Ba(!1,...v);e.providers=_}p.length>0&&(m.pipeRegistry=uv(m.pipeRegistry,p))}}),e.loadingPromise.finally(()=>{e.loadingPromise=null,c()})):(e.loadingPromise=Promise.resolve().then(()=>{e.loadingPromise=null,e.loadingState=qe.COMPLETE,c()}),e.loadingPromise)}function D_(e,n){return n[je].get(m_,null,{optional:!0})?.behavior!==vh.Manual}function vT(e,n,t){let r=n[I],o=n[t.index];if(!D_(e,n))return;let i=Lo(n,t),s=Vo(r,t);switch(h_(i),s.loadingState){case qe.NOT_STARTED:Bn(_e.Loading,t,o),b_(s,n,t),s.loadingState===qe.IN_PROGRESS&&fv(s,t,o);break;case qe.IN_PROGRESS:Bn(_e.Loading,t,o),fv(s,t,o);break;case qe.COMPLETE:Bn(_e.Complete,t,o);break;case qe.FAILED:Bn(_e.Error,t,o);break;default:}}function yT(e,n,t){return e===0?hv(n,t):e===2?!hv(n,t):!0}function _T(e){return e!=null&&(e&1)===1}function hv(e,n){let t=e[je],r=Vo(e[I],n),o=Ff(t),i=_T(r.flags),a=Lo(e,n)[XM]!==null;return!(i&&a&&o)}function bT(e,n,t,r,o,i,s,a,c,l){let u=w(),d=Q(),h=e+K,p=Ar(u,d,e,null,0,0),m=u[je],v=Ff(m);if(d.firstCreatePass){Wt("NgDefer");let yt={primaryTmplIndex:n,loadingTmplIndex:r??null,placeholderTmplIndex:o??null,errorTmplIndex:i??null,placeholderBlockConfig:null,loadingBlockConfig:null,dependencyResolverFn:t??null,loadingState:qe.NOT_STARTED,loadingPromise:null,providers:null,hydrateTriggers:null,debug:null,flags:l??0};c?.(d,yt,a,s),tT(d,h,yt)}let _=u[h];Qy(_,p,u);let D=null,k=null;if(_[kn]?.length>0){let yt=_[kn][0].data;k=yt[Of]??null,D=yt[kf]}let Me=[null,d_.Initial,null,null,null,null,k,D,null,null];eT(u,h,Me);let le=null;k!==null&&v&&(le=m.get(Kv),le.add(k,{lView:u,tNode:p,lContainer:_}));let gn=()=>{h_(Me),k!==null&&le?.cleanup([k])};f_(0,Me,()=>fd(u,gn)),za(u,gn)}function DT(){let e=w(),n=fe();yT(0,e,n)&&gT(iT)}function E_(e,n){let t=w(),r=nn();if(Ze(t,r,n)){let o=Q(),i=bo();if(Oc(i,o,t,e,n))Ut(i)&&Iy(t,i.index);else{let a=dt(i,t);Sy(t[ee],a,null,i.value,e,n,null)}}return E_}function ke(e,n,t,r){let o=w(),i=nn();if(Ze(o,i,n)){let s=Q(),a=bo();CS(a,o,e,n,t,r)}return ke}var _f=class{destroy(n){}updateValue(n,t){}swap(n,t){let r=Math.min(n,t),o=Math.max(n,t),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(n,t){this.attach(t,this.detach(n))}};function Vd(e,n,t,r,o){return e===t&&Object.is(n,r)?1:Object.is(o(e,n),o(t,r))?-1:0}function ET(e,n,t,r){let o,i,s=0,a=e.length-1,c=void 0;if(Array.isArray(n)){S(r);let l=n.length-1;for(S(null);s<=a&&s<=l;){let u=e.at(s),d=n[s],h=Vd(s,u,s,d,t);if(h!==0){h<0&&e.updateValue(s,d),s++;continue}let p=e.at(a),m=n[l],v=Vd(a,p,l,m,t);if(v!==0){v<0&&e.updateValue(a,m),a--,l--;continue}let _=t(s,u),D=t(a,p),k=t(s,d);if(Object.is(k,D)){let Me=t(l,m);Object.is(Me,_)?(e.swap(s,a),e.updateValue(a,m),l--,a--):e.move(a,s),e.updateValue(s,d),s++;continue}if(o??=new bc,i??=mv(e,s,a,t),bf(e,o,s,k))e.updateValue(s,d),s++,a++;else if(i.has(k))o.set(_,e.detach(s)),a--;else{let Me=e.create(s,n[s]);e.attach(s,Me),s++,a++}}for(;s<=l;)pv(e,o,t,s,n[s]),s++}else if(n!=null){S(r);let l=n[Symbol.iterator]();S(null);let u=l.next();for(;!u.done&&s<=a;){let d=e.at(s),h=u.value,p=Vd(s,d,s,h,t);if(p!==0)p<0&&e.updateValue(s,h),s++,u=l.next();else{o??=new bc,i??=mv(e,s,a,t);let m=t(s,h);if(bf(e,o,s,m))e.updateValue(s,h),s++,a++,u=l.next();else if(!i.has(m))e.attach(s,e.create(s,h)),s++,a++,u=l.next();else{let v=t(s,d);o.set(v,e.detach(s)),a--}}}for(;!u.done;)pv(e,o,t,e.length,u.value),u=l.next()}for(;s<=a;)e.destroy(e.detach(a--));o?.forEach(l=>{e.destroy(l)})}function bf(e,n,t,r){return n!==void 0&&n.has(r)?(e.attach(t,n.get(r)),n.delete(r),!0):!1}function pv(e,n,t,r,o){if(bf(e,n,r,t(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function mv(e,n,t,r){let o=new Set;for(let i=n;i<=t;i++)o.add(r(i,e.at(i)));return o}var bc=class{kvMap=new Map;_vMap=void 0;has(n){return this.kvMap.has(n)}delete(n){if(!this.has(n))return!1;let t=this.kvMap.get(n);return this._vMap!==void 0&&this._vMap.has(t)?(this.kvMap.set(n,this._vMap.get(t)),this._vMap.delete(t)):this.kvMap.delete(n),!0}get(n){return this.kvMap.get(n)}set(n,t){if(this.kvMap.has(n)){let r=this.kvMap.get(n);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,t)}else this.kvMap.set(n,t)}forEach(n){for(let[t,r]of this.kvMap)if(n(r,t),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),n(r,t)}}};function CT(e,n,t,r,o,i,s,a){Wt("NgControlFlow");let c=w(),l=Q(),u=tt(l.consts,i);return Ar(c,l,e,n,t,r,o,u,256,s,a),Eh}function Eh(e,n,t,r,o,i,s,a){Wt("NgControlFlow");let c=w(),l=Q(),u=tt(l.consts,i);return Ar(c,l,e,n,t,r,o,u,512,s,a),Eh}function wT(e,n){Wt("NgControlFlow");let t=w(),r=nn(),o=t[r]!==Ue?t[r]:-1,i=o!==-1?Dc(t,K+o):void 0,s=0;if(Ze(t,r,e)){let a=S(null);try{if(i!==void 0&&ih(i,s),e!==-1){let c=K+e,l=Dc(t,c),u=wf(t[I],c),d=jy(l,u,t),h=ko(t,u,n,{dehydratedView:d});Fo(l,h,s,Tr(u,d))}}finally{S(a)}}else if(i!==void 0){let a=Ly(i,s);a!==void 0&&(a[me]=n)}}var Df=class{lContainer;$implicit;$index;constructor(n,t,r){this.lContainer=n,this.$implicit=t,this.$index=r}get $count(){return this.lContainer.length-de}};function IT(e){return e}function ST(e,n){return n}var Ef=class{hasEmptyBlock;trackByFn;liveCollection;constructor(n,t,r){this.hasEmptyBlock=n,this.trackByFn=t,this.liveCollection=r}};function MT(e,n,t,r,o,i,s,a,c,l,u,d,h){Wt("NgControlFlow");let p=w(),m=Q(),v=c!==void 0,_=w(),D=a?s.bind(_[Be][me]):s,k=new Ef(v,D);_[K+e]=k,Ar(p,m,e+1,n,t,r,o,tt(m.consts,i),256),v&&Ar(p,m,e+2,c,l,u,d,tt(m.consts,h),512)}var Cf=class extends _f{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(n,t,r){super(),this.lContainer=n,this.hostLView=t,this.templateTNode=r}get length(){return this.lContainer.length-de}at(n){return this.getLView(n)[me].$implicit}attach(n,t){let r=t[vr];this.needsIndexUpdate||=n!==this.length,Fo(this.lContainer,t,n,Tr(this.templateTNode,r)),AT(this.lContainer,n)}detach(n){return this.needsIndexUpdate||=n!==this.length-1,xT(this.lContainer,n),NT(this.lContainer,n)}create(n,t){let r=gc(this.lContainer,this.templateTNode.tView.ssrId);return ko(this.hostLView,this.templateTNode,new Df(this.lContainer,t,n),{dehydratedView:r})}destroy(n){xc(n[I],n)}updateValue(n,t){this.getLView(n)[me].$implicit=t}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let n=0;n<this.length;n++)this.getLView(n)[me].$index=n}getLView(n){return RT(this.lContainer,n)}};function TT(e){let n=S(null),t=Tt();try{let r=w(),o=r[I],i=r[t],s=t+1,a=Dc(r,s);if(i.liveCollection===void 0){let l=wf(o,s);i.liveCollection=new Cf(a,r,l)}else i.liveCollection.reset();let c=i.liveCollection;if(ET(c,e,i.trackByFn,n),c.updateIndexes(),i.hasEmptyBlock){let l=nn(),u=c.length===0;if(Ze(r,l,u)){let d=t+2,h=Dc(r,d);if(u){let p=wf(o,d),m=jy(h,p,r),v=ko(r,p,void 0,{dehydratedView:m});Fo(h,v,0,Tr(p,m))}else o.firstUpdatePass&&GS(h),ih(h,0)}}}finally{S(n)}}function Dc(e,n){return e[n]}function AT(e,n){if(e.length<=de)return;let t=de+n,r=e[t],o=r?r[On]:void 0;if(r&&o&&o.detachedLeaveAnimationFns&&o.detachedLeaveAnimationFns.length>0){let i=r[je];nS(i,o),Mr.delete(r[Jt]),o.detachedLeaveAnimationFns=void 0}}function xT(e,n){if(e.length<=de)return;let t=de+n,r=e[t],o=r?r[On]:void 0;o&&o.leave&&o.leave.size>0&&(o.detachedLeaveAnimationFns=[])}function NT(e,n){return Zi(e,n)}function RT(e,n){return Ly(e,n)}function wf(e,n){return yo(e,n)}function C_(e,n,t){let r=w(),o=nn();if(Ze(r,o,n)){let i=Q(),s=bo();Cy(s,r,e,n,r[ee],t)}return C_}function If(e,n,t,r,o){Oc(n,e,t,o?"class":"style",r)}function xo(e,n,t,r){let o=w(),i=o[I],s=e+K,a=i.firstCreatePass?sh(s,o,2,n,eh,Ga(),t,r):i.data[s];if(Ut(a)){let c=o[It].tracingService;if(c&&c.componentCreate){let l=i.data[a.directiveStart+a.componentOffset];return c.componentCreate(Zy(l),()=>(gv(e,n,o,a,r),xo))}}return gv(e,n,o,a,r),xo}function gv(e,n,t,r,o){if(th(r,t,e,n,I_),go(r)){let i=t[I];Rc(i,t,r),Pf(i,r,t)}o!=null&&ns(t,r)}function os(){let e=Q(),n=fe(),t=nh(n);return e.firstCreatePass&&ah(e,t),vd(t)&&yd(),md(),t.classesWithoutHost!=null&&Lw(t)&&If(e,t,w(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&Vw(t)&&If(e,t,w(),t.stylesWithoutHost,!1),os}function w_(e,n,t,r){return xo(e,n,t,r),os(),w_}function cn(e,n,t,r){let o=w(),i=o[I],s=e+K,a=i.firstCreatePass?sM(s,i,2,n,t,r):i.data[s];return th(a,o,e,n,I_),r!=null&&ns(o,a),cn}function ln(){let e=fe(),n=nh(e);return vd(n)&&yd(),md(),ln}function Xe(e,n,t,r){return cn(e,n,t,r),ln(),Xe}var I_=(e,n,t,r,o)=>(Bi(!0),sy(n[ee],r,Sd()));function Ch(e,n,t){let r=w(),o=r[I],i=e+K,s=o.firstCreatePass?sh(i,r,8,"ng-container",eh,Ga(),n,t):o.data[i];if(th(s,r,e,"ng-container",OT),go(s)){let a=r[I];Rc(a,r,s),Pf(a,s,r)}return t!=null&&ns(r,s),Ch}function wh(){let e=Q(),n=fe(),t=nh(n);return e.firstCreatePass&&ah(e,t),wh}function S_(e,n,t){return Ch(e,n,t),wh(),S_}var OT=(e,n,t,r,o)=>(Bi(!0),AI(n[ee],""));function kT(){return w()}function is(e,n,t){let r=w(),o=nn();if(Ze(r,o,n)){let i=Q(),s=bo();wy(s,r,e,n,r[ee],t)}return is}var Ui=void 0;function FT(e){let n=Math.floor(Math.abs(e)),t=e.toString().replace(/^[^.]*\.?/,"").length;return n===1&&t===0?1:5}var PT=["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"]],Ui,[["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"]],Ui,[["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}",Ui,Ui,Ui],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",FT],jd=Object.create(null);function it(e){let n=LT(e),t=vv(n);if(t)return t;let r=n.split("-")[0];if(t=vv(r),t)return t;if(r==="en")return PT;throw new b(701,!1)}function vv(e){return e in jd||(jd[e]=ct.ng&&ct.ng.common&&ct.ng.common.locales&&ct.ng.common.locales[e]),jd[e]}var ge=(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})(ge||{});function LT(e){return e.toLowerCase().replace(/_/g,"-")}var ss="en-US";var VT=ss;function M_(e){typeof e=="string"&&(VT=e.toLowerCase().replace(/_/g,"-"))}function zn(e,n,t){let r=w(),o=Q(),i=fe();return A_(o,r,r[ee],i,e,n,t),zn}function T_(e,n,t){let r=w(),o=Q(),i=fe();return(i.type&3||t)&&qy(i,o,r,t,r[ee],e,n,cc(i,r,n)),T_}function A_(e,n,t,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=cc(r,n,i),qy(r,e,n,s,t,o,i,c)&&(a=!1)),a){let l=r.outputs?.[o],u=r.hostDirectiveOutputs?.[o];if(u&&u.length)for(let d=0;d<u.length;d+=2){let h=u[d],p=u[d+1];c??=cc(r,n,i),nv(r,n,h,p,o,c)}if(l&&l.length)for(let d of l)c??=cc(r,n,i),nv(r,n,d,o,o,c)}}function jT(e=1){return Eg(e)}function BT(e,n){let t=null,r=HI(e);for(let o=0;o<n.length;o++){let i=n[o];if(i==="*"){t=o;continue}if(r===null?dy(e,i,!0):zI(r,i))return o}return t}function Ot(e){let n=w()[Be][Ve];if(!n.projection){let t=e?e.length:1,r=n.projection=Zm(t,null),o=r.slice(),i=n.child;for(;i!==null;){if(i.type!==128){let s=e?BT(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function xe(e,n=0,t,r,o,i){let s=w(),a=Q(),c=r?e+1:null;c!==null&&Ar(s,a,c,r,o,i,null,t);let l=Or(a,K+e,16,null,t||null);l.projection===null&&(l.projection=n),Dd();let d=!s[vr]||gd();s[Be][Ve].projection[l.projection]===null&&c!==null?HT(s,a,c):d&&!wc(l)&&hS(a,s,l)}function HT(e,n,t){let r=K+t,o=n.data[r],i=e[r],s=gc(i,o.tView.ssrId),a=ko(e,o,void 0,{dehydratedView:s});Fo(i,a,0,Tr(o,s))}function x_(e,n,t,r){return n_(e,n,t,r),x_}function Ho(e,n,t){return t_(e,n,t),Ho}function as(e){let n=w(),t=Q(),r=Ya();ji(r+1);let o=uh(t,r);if(e.dirty&&og(n)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=o_(n,r);e.reset(i,jv),e.notifyOnChanges()}return!0}return!1}function cs(){return lh(w(),Ya())}function N_(e,n,t,r,o){return i_(n,n_(e,t,r,o)),N_}function R_(e,n,t,r){return i_(e,t_(n,t,r)),R_}function UT(e=1){ji(Ya()+e)}function $T(e){let n=Ed();return _o(n,K+e)}function rc(e,n){return e<<17|n<<2}function xr(e){return e>>17&32767}function zT(e){return(e&2)==2}function GT(e,n){return e&131071|n<<17}function Sf(e){return e|2}function No(e){return(e&131068)>>2}function Bd(e,n){return e&-131069|n<<2}function WT(e){return(e&1)===1}function Mf(e){return e|1}function qT(e,n,t,r,o,i){let s=i?n.classBindings:n.styleBindings,a=xr(s),c=No(s);e[r]=t;let l=!1,u;if(Array.isArray(t)){let d=t;u=d[1],(u===null||lo(d,u)>0)&&(l=!0)}else u=t;if(o)if(c!==0){let h=xr(e[a+1]);e[r+1]=rc(h,a),h!==0&&(e[h+1]=Bd(e[h+1],r)),e[a+1]=GT(e[a+1],r)}else e[r+1]=rc(a,0),a!==0&&(e[a+1]=Bd(e[a+1],r)),a=r;else e[r+1]=rc(c,0),a===0?a=r:e[c+1]=Bd(e[c+1],r),c=r;l&&(e[r+1]=Sf(e[r+1])),yv(e,u,r,!0),yv(e,u,r,!1),YT(n,u,e,r,i),s=rc(a,c),i?n.classBindings=s:n.styleBindings=s}function YT(e,n,t,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof n=="string"&&lo(i,n)>=0&&(t[r+1]=Mf(t[r+1]))}function yv(e,n,t,r){let o=e[t+1],i=n===null,s=r?xr(o):No(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],l=e[s+1];ZT(c,n)&&(a=!0,e[s+1]=r?Mf(l):Sf(l)),s=r?xr(l):No(l)}a&&(e[t+1]=r?Sf(o):Mf(o))}function ZT(e,n){return e===null||n==null||(Array.isArray(e)?e[1]:e)===n?!0:Array.isArray(e)&&typeof n=="string"?lo(e,n)>=0:!1}var Ie={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function O_(e){return e.substring(Ie.key,Ie.keyEnd)}function KT(e){return e.substring(Ie.value,Ie.valueEnd)}function XT(e){return P_(e),k_(e,Ro(e,0,Ie.textEnd))}function k_(e,n){let t=Ie.textEnd;return t===n?-1:(n=Ie.keyEnd=JT(e,Ie.key=n,t),Ro(e,n,t))}function QT(e){return P_(e),F_(e,Ro(e,0,Ie.textEnd))}function F_(e,n){let t=Ie.textEnd,r=Ie.key=Ro(e,n,t);return t===r?-1:(r=Ie.keyEnd=e0(e,r,t),r=_v(e,r,t,58),r=Ie.value=Ro(e,r,t),r=Ie.valueEnd=t0(e,r,t),_v(e,r,t,59))}function P_(e){Ie.key=0,Ie.keyEnd=0,Ie.value=0,Ie.valueEnd=0,Ie.textEnd=e.length}function Ro(e,n,t){for(;n<t&&e.charCodeAt(n)<=32;)n++;return n}function JT(e,n,t){for(;n<t&&e.charCodeAt(n)>32;)n++;return n}function e0(e,n,t){let r;for(;n<t&&((r=e.charCodeAt(n))===45||r===95||(r&-33)>=65&&(r&-33)<=90||r>=48&&r<=57);)n++;return n}function _v(e,n,t,r){return n=Ro(e,n,t),n<t&&n++,n}function t0(e,n,t){let r=-1,o=-1,i=-1,s=n,a=s;for(;s<t;){let c=e.charCodeAt(s++);if(c===59)return a;c===34||c===39?a=s=bv(e,c,s,t):n===s-4&&i===85&&o===82&&r===76&&c===40?a=s=bv(e,41,s,t):c>32&&(a=s),i=o,o=r,r=c&-33}return a}function bv(e,n,t,r){let o=-1,i=t;for(;i<r;){let s=e.charCodeAt(i++);if(s==n&&o!==92)return i;s==92&&o===92?o=0:o=s}throw new Error}function Hc(e,n,t){return L_(e,n,t,!1),Hc}function De(e,n){return L_(e,n,null,!0),De}function n0(e){V_(H_,r0,e,!1)}function r0(e,n){for(let t=QT(n);t>=0;t=F_(n,t))H_(e,O_(n),KT(n))}function ls(e){V_(u0,o0,e,!0)}function o0(e,n){for(let t=XT(n);t>=0;t=k_(n,t))ki(e,O_(n),!0)}function L_(e,n,t,r){let o=w(),i=Q(),s=Wa(2);if(i.firstUpdatePass&&B_(i,e,s,r),n!==Ue&&Ze(o,s,n)){let a=i.data[Tt()];U_(i,a,o,o[ee],e,o[s+1]=f0(n,t),r,s)}}function V_(e,n,t,r){let o=Q(),i=Wa(2);o.firstUpdatePass&&B_(o,null,i,r);let s=w();if(t!==Ue&&Ze(s,i,t)){let a=o.data[Tt()];if($_(a,r)&&!j_(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(t=ka(c,t||"")),If(o,a,s,t,r)}else d0(o,a,s,s[ee],s[i+1],s[i+1]=l0(e,n,t),r,i)}}function j_(e,n){return n>=e.expandoStartIndex}function B_(e,n,t,r){let o=e.data;if(o[t+1]===null){let i=o[Tt()],s=j_(e,t);$_(i,r)&&n===null&&!s&&(n=!1),n=i0(o,i,n,r),qT(o,i,n,t,s,r)}}function i0(e,n,t,r){let o=yg(e),i=r?n.residualClasses:n.residualStyles;if(o===null)(r?n.classBindings:n.styleBindings)===0&&(t=Hd(null,e,n,t,r),t=Xi(t,n.attrs,r),i=null);else{let s=n.directiveStylingLast;if(s===-1||e[s]!==o)if(t=Hd(o,e,n,t,r),i===null){let c=s0(e,n,r);c!==void 0&&Array.isArray(c)&&(c=Hd(null,e,n,c[1],r),c=Xi(c,n.attrs,r),a0(e,n,r,c))}else i=c0(e,n,r)}return i!==void 0&&(r?n.residualClasses=i:n.residualStyles=i),t}function s0(e,n,t){let r=t?n.classBindings:n.styleBindings;if(No(r)!==0)return e[xr(r)]}function a0(e,n,t,r){let o=t?n.classBindings:n.styleBindings;e[xr(o)]=r}function c0(e,n,t){let r,o=n.directiveEnd;for(let i=1+n.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=Xi(r,s,t)}return Xi(r,n.attrs,t)}function Hd(e,n,t,r,o){let i=null,s=t.directiveEnd,a=t.directiveStylingLast;for(a===-1?a=t.directiveStart:a++;a<s&&(i=n[a],r=Xi(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(t.directiveStylingLast=a),r}function Xi(e,n,t){let r=t?1:2,o=-1;if(n!==null)for(let i=0;i<n.length;i++){let s=n[i];typeof s=="number"?o=s:o===r&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),ki(e,s,t?!0:n[++i]))}return e===void 0?null:e}function l0(e,n,t){if(t==null||t==="")return Re;let r=[],o=nt(t);if(Array.isArray(o))for(let i=0;i<o.length;i++)e(r,o[i],!0);else if(o instanceof Set)for(let i of o)e(r,i,!0);else if(typeof o=="object")for(let i in o)o.hasOwnProperty(i)&&e(r,i,o[i]);else typeof o=="string"&&n(r,o);return r}function H_(e,n,t){ki(e,n,nt(t))}function u0(e,n,t){let r=String(n);r!==""&&!r.includes(" ")&&ki(e,r,t)}function d0(e,n,t,r,o,i,s,a){o===Ue&&(o=Re);let c=0,l=0,u=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;u!==null||d!==null;){let h=c<o.length?o[c+1]:void 0,p=l<i.length?i[l+1]:void 0,m=null,v;u===d?(c+=2,l+=2,h!==p&&(m=d,v=p)):d===null||u!==null&&u<d?(c+=2,m=u):(l+=2,m=d,v=p),m!==null&&U_(e,n,t,r,m,v,s,a),u=c<o.length?o[c]:null,d=l<i.length?i[l]:null}}function U_(e,n,t,r,o,i,s,a){if(!(n.type&3))return;let c=e.data,l=c[a+1],u=WT(l)?Dv(c,n,t,o,No(l),s):void 0;if(!Ec(u)){Ec(i)||zT(l)&&(i=Dv(c,null,t,o,a,s));let d=ld(Tt(),t);mS(r,s,d,o,i)}}function Dv(e,n,t,r,o,i){let s=n===null,a;for(;o>0;){let c=e[o],l=Array.isArray(c),u=l?c[1]:c,d=u===null,h=t[o+1];h===Ue&&(h=d?Re:void 0);let p=d?ja(h,r):u===r?h:void 0;if(l&&!Ec(p)&&(p=ja(c,r)),Ec(p)&&(a=p,s))return a;let m=e[o+1];o=s?xr(m):No(m)}if(n!==null){let c=i?n.residualClasses:n.residualStyles;c!=null&&(a=ja(c,r))}return a}function Ec(e){return e!==void 0}function f0(e,n){return e==null||e===""||(typeof n=="string"?e=e+n:typeof e=="object"&&(e=Oa(nt(e)))),e}function $_(e,n){return(e.flags&(n?8:16))!==0}function h0(e,n=""){let t=w(),r=Q(),o=e+K,i=r.firstCreatePass?Or(r,o,1,n,null):r.data[o],s=p0(r,t,i,n);t[o]=s,Xa()&&Qf(r,t,s,i),Cr(i,!1)}var p0=(e,n,t,r)=>(Bi(!0),MI(n[ee],r));function z_(e,n,t,r=""){return Ze(e,nn(),t)?n+gr(t)+r:Ue}function m0(e,n,t,r,o,i=""){let s=hg(),a=To(e,s,t,o);return Wa(2),a?n+gr(t)+r+gr(o)+i:Ue}function G_(e){return Ih("",e),G_}function Ih(e,n,t){let r=w(),o=z_(r,e,n,t);return o!==Ue&&q_(r,Tt(),o),Ih}function W_(e,n,t,r,o){let i=w(),s=m0(i,e,n,t,r,o);return s!==Ue&&q_(i,Tt(),s),W_}function q_(e,n,t){let r=ld(n,e);TI(e[ee],r,t)}function Y_(e,n,t){yh(n)&&(n=n());let r=w(),o=nn();if(Ze(r,o,n)){let i=Q(),s=bo();Cy(s,r,e,n,r[ee],t)}return Y_}function g0(e,n){let t=yh(e);return t&&e.set(n),t}function Z_(e,n){let t=w(),r=Q(),o=fe();return A_(r,t,t[ee],o,e,n),Z_}var K_={};function X_(e){Wt("NgLet");let n=Q(),t=w(),r=e+K,o=Or(n,r,128,null,null);return Cr(o,!1),Li(n,t,r,K_),X_}function v0(e){let n=Q(),t=w(),r=Tt();return Li(n,t,r,e),e}function y0(e){let n=Ed(),t=_o(n,K+e);if(t===K_)throw new b(314,!1);return t}function _0(e,n,t=""){return z_(w(),e,n,t)}function Ev(e,n,t){let r=Q();r.firstCreatePass&&Q_(n,r.data,r.blueprint,Mt(e),t)}function Q_(e,n,t,r,o){if(e=we(e),Array.isArray(e))for(let i=0;i<e.length;i++)Q_(e[i],n,t,r,o);else{let i=Q(),s=w(),a=fe(),c=hr(e)?e:we(e.provide),l=od(e),u=a.providerIndexes&1048575,d=a.directiveStart,h=a.providerIndexes>>20;if(hr(e)||!e.multi){let p=new Sr(l,o,H,null),m=$d(c,n,o?u:u+h,d);m===-1?(Gd(pc(a,s),i,c),Ud(i,e,n.length),n.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),t.push(p),s.push(p)):(t[m]=p,s[m]=p)}else{let p=$d(c,n,u+h,d),m=$d(c,n,u,u+h),v=p>=0&&t[p],_=m>=0&&t[m];if(o&&!_||!o&&!v){Gd(pc(a,s),i,c);let D=E0(o?D0:b0,t.length,o,r,l,e);!o&&_&&(t[m].providerFactory=D),Ud(i,e,n.length,0),n.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),t.push(D),s.push(D)}else{let D=J_(t[o?m:p],l,!o&&r);Ud(i,e,p>-1?p:m,D)}!o&&r&&_&&t[m].componentProviders++}}}function Ud(e,n,t,r){let o=hr(n),i=eg(n);if(o||i){let c=(i?we(n.useClass):n).prototype.ngOnDestroy;if(c){let l=e.destroyHooks||(e.destroyHooks=[]);if(!o&&n.multi){let u=l.indexOf(t);u===-1?l.push(t,[r,c]):l[u+1].push(r,c)}else l.push(t,c)}}}function J_(e,n,t){return t&&e.componentProviders++,e.multi.push(n)-1}function $d(e,n,t,r){for(let o=t;o<r;o++)if(n[o]===e)return o;return-1}function b0(e,n,t,r,o){return Tf(this.multi,[])}function D0(e,n,t,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=Wi(r,r[I],this.providerFactory.index,o);s=c.slice(0,a),Tf(i,s);for(let l=a;l<c.length;l++)s.push(c[l])}else s=[],Tf(i,s);return s}function Tf(e,n){for(let t=0;t<e.length;t++){let r=e[t];n.push(r())}return n}function E0(e,n,t,r,o,i){let s=new Sr(e,t,H,null);return s.multi=[],s.index=n,s.componentProviders=0,J_(s,o,r&&!t),s}function Fe(e,n){return t=>{t.providersResolver=(r,o)=>Ev(r,o?o(e):e,!1),n&&(t.viewProvidersResolver=(r,o)=>Ev(r,o?o(n):n,!0))}}function C0(e,n){let t=tn()+e,r=w();return r[t]===Ue?rs(r,t,n()):Wy(r,t)}function w0(e,n,t){return eb(w(),tn(),e,n,t)}function I0(e,n,t,r){return tb(w(),tn(),e,n,t,r)}function S0(e,n,t,r,o){return nb(w(),tn(),e,n,t,r,o)}function M0(e,n,t,r,o,i,s,a){let c=tn()+e,l=w(),u=cM(l,c,t,r,o,i);return To(l,c+4,s,a)||u?rs(l,c+6,n(t,r,o,i,s,a)):Wy(l,c+6)}function Sh(e,n){let t=e[n];return t===Ue?void 0:t}function eb(e,n,t,r,o,i){let s=n+t;return Ze(e,s,o)?rs(e,s+1,i?r.call(i,o):r(o)):Sh(e,s+1)}function tb(e,n,t,r,o,i,s){let a=n+t;return To(e,a,o,i)?rs(e,a+2,s?r.call(s,o,i):r(o,i)):Sh(e,a+2)}function nb(e,n,t,r,o,i,s,a){let c=n+t;return aM(e,c,o,i,s)?rs(e,c+3,a?r.call(a,o,i,s):r(o,i,s)):Sh(e,c+3)}function T0(e,n){let t=Q(),r,o=e+K;t.firstCreatePass?(r=A0(n,t.pipeRegistry),t.data[o]=r,r.onDestroy&&(t.destroyHooks??=[]).push(o,r.onDestroy)):r=t.data[o];let i=r.factory||(r.factory=Mn(r.type,!0)),s,a=Le(H);try{let c=hc(!1),l=i();return hc(c),Li(t,w(),o,l),l}finally{Le(a)}}function A0(e,n){if(n)for(let t=n.length-1;t>=0;t--){let r=n[t];if(e===r.name)return r}}function x0(e,n,t){let r=e+K,o=w(),i=_o(o,r);return Mh(o,r)?eb(o,tn(),n,i.transform,t,i):i.transform(t)}function N0(e,n,t,r){let o=e+K,i=w(),s=_o(i,o);return Mh(i,o)?tb(i,tn(),n,s.transform,t,r,s):s.transform(t,r)}function R0(e,n,t,r,o){let i=e+K,s=w(),a=_o(s,i);return Mh(s,i)?nb(s,tn(),n,a.transform,t,r,o,a):a.transform(t,r,o)}function Mh(e,n){return e[I].data[n].pure}function O0(e,n){return Fc(e,n)}var rb=(()=>{class e{applicationErrorHandler=f(rn);appRef=f(ot);taskService=f(Vn);ngZone=f(M);zonelessEnabled=f(Eo);tracing=f(Nt,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new j;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Ti):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(f(Qa,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{let t=this.taskService.add();if(!this.runningTick&&(this.cleanup(),!this.zonelessEnabled||this.appRef.includeAllTestViews)){this.taskService.remove(t);return}this.switchToMicrotaskScheduler(),this.taskService.remove(t)})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()}))}switchToMicrotaskScheduler(){this.ngZone.runOutsideAngular(()=>{let t=this.taskService.add();this.useMicrotaskScheduler=!0,queueMicrotask(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(t)})})}notify(t){if(!this.zonelessEnabled&&t===5)return;switch(t){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?Tg:Td;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(Ti+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let t=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(t),this.cleanup()}}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let t=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(t)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function ob(){return[{provide:Et,useExisting:rb},{provide:M,useClass:Ai},{provide:Eo,useValue:!0}]}function k0(){return typeof $localize<"u"&&$localize.locale||ss}var us=new g("",{factory:()=>f(us,{optional:!0,skipSelf:!0})||k0()});var Uc=class{destroyed=!1;listeners=null;errorHandler=f(Oe,{optional:!0});destroyRef=f(We);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(n){if(this.destroyed)throw new b(953,!1);return(this.listeners??=[]).push(n),{unsubscribe:()=>{let t=this.listeners?.indexOf(n);t!==void 0&&t!==-1&&this.listeners?.splice(t,1)}}}emit(n){if(this.destroyed){console.warn(xn(953,!1));return}if(this.listeners===null)return;let t=S(null);try{for(let r of this.listeners)try{r(n)}catch(o){this.errorHandler?.handleError(o)}}finally{S(t)}}};function ce(e){return Vm(e)}function Qe(e,n){return li(e,n?.equal)}var F0=e=>e;function Th(e,n){if(typeof e=="function"){let t=ku(e,F0,n?.equal);return ib(t,n?.debugName)}else{let t=ku(e.source,e.computation,e.equal);return ib(t,e.debugName)}}function ib(e,n){let t=e[he],r=e;return r.set=o=>Pm(t,o),r.update=o=>Lm(t,o),r.asReadonly=Hi.bind(e),r}function P0(e){let n=e.request,t=e.params??n??(()=>null);return new $c(t,V0(e),e.defaultValue,e.equal?L0(e.equal):void 0,e.debugName,e.injector??f(O))}var Ah=class{value;isLoading;constructor(n,t){this.value=n,this.value.set=this.set.bind(this),this.value.update=this.update.bind(this),this.value.asReadonly=Hi,this.isLoading=Qe(()=>this.status()==="loading"||this.status()==="reloading",void 0)}isError=Qe(()=>this.status()==="error");update(n){this.set(n(ce(this.value)))}isValueDefined=Qe(()=>this.isError()?!1:this.value()!==void 0);_snapshot;get snapshot(){return this._snapshot??=Qe(()=>{let n=this.status();return n==="error"?{status:"error",error:this.error()}:{status:n,value:this.value()}})}hasValue(){return this.isValueDefined()}asReadonly(){return this}},$c=class extends Ah{loaderFn;equal;debugName;pendingTasks;state;extRequest;effectRef;pendingController;resolvePendingTask=void 0;destroyed=!1;unregisterOnDestroy;status;error;constructor(n,t,r,o,i,s,a){super(Qe(()=>{let c=this.state().stream?.();if(!c||this.state().status==="loading"&&this.error())return r;if(!xh(c))throw new zc(this.error());return c.value},{equal:o}),i),this.loaderFn=t,this.equal=o,this.debugName=i,this.extRequest=Th({source:n,computation:c=>({request:c,reload:0})}),this.state=Th({source:this.extRequest,computation:(c,l)=>{if(l){let u=c.request===void 0?"idle":"loading";return{extRequest:c,status:u,previousStatus:sb(l.value),stream:l.value.extRequest.request===c.request?l.value.stream:void 0}}else{let u=a?.(c.request);a=void 0;let d=c.request===void 0?"idle":u?"resolved":"loading";return{extRequest:c,status:d,previousStatus:"idle",stream:u}}}}),this.effectRef=wr(this.loadEffect.bind(this),{injector:s,manualCleanup:!0}),this.pendingTasks=s.get(jn),this.unregisterOnDestroy=s.get(We).onDestroy(()=>this.destroy()),this.status=Qe(()=>sb(this.state()),void 0),this.error=Qe(()=>{let c=this.state().stream?.();return c&&!xh(c)?c.error:void 0},void 0)}set(n){if(this.destroyed)return;let t=ce(this.error),r=ce(this.state);if(!t){let o=ce(this.value);if(r.status==="local"&&(this.equal?this.equal(o,n):o===n))return}this.state.set({extRequest:r.extRequest,status:"local",previousStatus:"local",stream:se({value:n},void 0)}),this.abortInProgressLoad()}reload(){let{status:n}=ce(this.state);return n==="idle"||n==="loading"?!1:(this.extRequest.update(({request:t,reload:r})=>({request:t,reload:r+1})),!0)}destroy(){this.destroyed=!0,this.unregisterOnDestroy(),this.effectRef.destroy(),this.abortInProgressLoad(),this.state.set({extRequest:{request:void 0,reload:0},status:"idle",previousStatus:"idle",stream:void 0})}loadEffect(){return vn(this,null,function*(){let n=this.extRequest(),{status:t,previousStatus:r}=ce(this.state);if(n.request===void 0)return;if(t!=="loading")return;this.abortInProgressLoad();let o=this.resolvePendingTask=this.pendingTasks.add(),{signal:i}=this.pendingController=new AbortController;try{let s=yield ce(()=>this.loaderFn({params:n.request,abortSignal:i,previous:{status:r}}));if(i.aborted||ce(this.extRequest)!==n)return;this.state.set({extRequest:n,status:"resolved",previousStatus:"resolved",stream:s})}catch(s){if(i.aborted||ce(this.extRequest)!==n)return;this.state.set({extRequest:n,status:"resolved",previousStatus:"error",stream:se({error:Rh(s)},void 0)})}finally{o?.(),o=void 0}})}abortInProgressLoad(){ce(()=>this.pendingController?.abort()),this.pendingController=void 0,this.resolvePendingTask?.(),this.resolvePendingTask=void 0}};function L0(e){return(n,t)=>n===void 0||t===void 0?n===t:e(n,t)}function V0(e){return j0(e)?e.stream:n=>vn(null,null,function*(){try{return se({value:yield e.loader(n)},void 0)}catch(t){return se({error:Rh(t)},void 0)}})}function j0(e){return!!e.stream}function sb(e){switch(e.status){case"loading":return e.extRequest.reload===0?"loading":"reloading";case"resolved":return xh(e.stream())?"resolved":"error";default:return e.status}}function xh(e){return e.error===void 0}function Rh(e){return B0(e)?e:new Nh(e)}function B0(e){return e instanceof Error||typeof e=="object"&&typeof e.name=="string"&&typeof e.message=="string"}var zc=class extends Error{constructor(n){super(n.message,{cause:n})}},Nh=class extends Error{constructor(n){super(String(n),{cause:n})}};var hb=Symbol("InputSignalNode#UNSET"),Q0=U(E({},ui),{transformFn:void 0,applyValueToInputSignal(e,n){rr(e,n)}});function pb(e,n){let t=Object.create(Q0);t.value=e,t.transformFn=n?.transform;function r(){if(_n(t),t.value===hb){let o=null;throw new b(-950,o)}return t.value}return r[he]=t,r}var Wc=class{attributeName;constructor(n){this.attributeName=n}__NG_ELEMENT_ID__=()=>xf(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}},g8=(()=>{let e=new g("");return e.__NG_ELEMENT_ID__=n=>{let t=fe();if(t===null)throw new b(-204,!1);if(t.type&2)return t.value;if(n&8)return null;throw new b(-204,!1)},e})();function v8(e){return new Uc}function ab(e,n){return pb(e,n)}function J0(e){return pb(hb,e)}var y8=(ab.required=J0,ab);function cb(e,n){return fh(n)}function eA(e,n){return hh(n)}var _8=(cb.required=eA,cb);function b8(e,n){return ph(n)}function lb(e,n){return fh(n)}function tA(e,n){return hh(n)}var D8=(lb.required=tA,lb);function E8(e,n){return ph(n)}var nA=(()=>{class e{zone=f(M);changeDetectionScheduler=f(Et);applicationRef=f(ot);applicationErrorHandler=f(rn);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{try{this.applicationRef.dirtyFlags|=1,this.applicationRef._tick()}catch(t){this.applicationErrorHandler(t)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),rA=new g("",{factory:()=>!1});function oA({ngZoneFactory:e,scheduleInRootZone:n}){return e??=()=>new M(U(E({},mb()),{scheduleInRootZone:n})),[{provide:Eo,useValue:!1},{provide:M,useFactory:e},{provide:Nn,multi:!0,useFactory:()=>{let t=f(nA,{optional:!0});return()=>t.initialize()}},{provide:Nn,multi:!0,useFactory:()=>{let t=f(iA);return()=>{t.initialize()}}},{provide:Qa,useValue:n??Md}]}function C8(e){let n=e?.scheduleInRootZone,t=oA({ngZoneFactory:()=>{let r=mb(e);return r.scheduleInRootZone=n,r.shouldCoalesceEventChangeDetection&&Wt("NgZone_CoalesceEvent"),new M(r)},scheduleInRootZone:n});return uo([{provide:rA,useValue:!0},t])}function mb(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var iA=(()=>{class e{subscription=new j;initialized=!1;zone=f(M);pendingTasks=f(Vn);initialize(){if(this.initialized)return;this.initialized=!0;let t=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(t=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{M.assertNotInAngularZone(),queueMicrotask(()=>{t!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(t),t=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{M.assertInAngularZone(),t??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var kh=new g(""),sA=new g("");function ds(e){return!e.moduleRef}function aA(e){let n=ds(e)?e.r3Injector:e.moduleRef.injector,t=n.get(M);return t.run(()=>{ds(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=n.get(rn),o;if(t.runOutsideAngular(()=>{o=t.onError.subscribe({next:r})}),ds(e)){let i=()=>n.destroy(),s=e.platformInjector.get(kh);s.add(i),n.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(kh);s.add(i),e.moduleRef.onDestroy(()=>{Gi(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return lA(r,t,()=>{let i=n.get(Vn),s=i.add(),a=n.get(Dh);return a.runInitializers(),a.donePromise.then(()=>{let c=n.get(us,ss);if(M_(c||ss),!n.get(sA,!0))return ds(e)?n.get(ot):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(ds(e)){let u=n.get(ot);return e.rootComponent!==void 0&&u.bootstrap(e.rootComponent),u}else return cA?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>{i.remove(s)})})})}var cA;function lA(e,n,t){try{let r=t();return Bo(r)?r.catch(o=>{throw n.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw n.runOutsideAngular(()=>e(r)),r}}var Gc=null;function uA(e=[],n){return O.create({name:n,providers:[{provide:Fi,useValue:"platform"},{provide:kh,useValue:new Set([()=>Gc=null])},...e]})}function dA(e=[]){if(Gc)return Gc;let n=uA(e);return Gc=n,y_(),fA(n),n}function fA(e){let n=e.get(Cc,null);ho(e,()=>{n?.forEach(t=>t())})}function w8(){return!1}var hA=1e4;var I8=hA-1e3;var kr=(()=>{class e{static __NG_ELEMENT_ID__=pA}return e})();function pA(e){return mA(fe(),w(),(e&16)===16)}function mA(e,n,t){if(Ut(e)&&!t){let r=ft(e.index,n);return new Hn(r,r)}else if(e.type&175){let r=n[Be];return new Hn(r,n)}return null}var Fh=class{supports(n){return ch(n)}create(n){return new Ph(n)}},gA=(e,n)=>n,Ph=class{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(n){this._trackByFn=n||gA}forEachItem(n){let t;for(t=this._itHead;t!==null;t=t._next)n(t)}forEachOperation(n){let t=this._itHead,r=this._removalsHead,o=0,i=null;for(;t||r;){let s=!r||t&&t.currentIndex<ub(r,o,i)?t:r,a=ub(s,o,i),c=s.currentIndex;if(s===r)o--,r=r._nextRemoved;else if(t=t._next,s.previousIndex==null)o++;else{i||(i=[]);let l=a-o,u=c-o;if(l!=u){for(let h=0;h<l;h++){let p=h<i.length?i[h]:i[h]=0,m=p+h;u<=m&&m<l&&(i[h]=p+1)}let d=s.previousIndex;i[d]=u-l}}a!==c&&n(s,a,c)}}forEachPreviousItem(n){let t;for(t=this._previousItHead;t!==null;t=t._nextPrevious)n(t)}forEachAddedItem(n){let t;for(t=this._additionsHead;t!==null;t=t._nextAdded)n(t)}forEachMovedItem(n){let t;for(t=this._movesHead;t!==null;t=t._nextMoved)n(t)}forEachRemovedItem(n){let t;for(t=this._removalsHead;t!==null;t=t._nextRemoved)n(t)}forEachIdentityChange(n){let t;for(t=this._identityChangesHead;t!==null;t=t._nextIdentityChange)n(t)}diff(n){if(n==null&&(n=[]),!ch(n))throw new b(900,!1);return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let t=this._itHead,r=!1,o,i,s;if(Array.isArray(n)){this.length=n.length;for(let a=0;a<this.length;a++)i=n[a],s=this._trackByFn(a,i),t===null||!Object.is(t.trackById,s)?(t=this._mismatch(t,i,s,a),r=!0):(r&&(t=this._verifyReinsertion(t,i,s,a)),Object.is(t.item,i)||this._addIdentityChange(t,i)),t=t._next}else o=0,zy(n,a=>{s=this._trackByFn(o,a),t===null||!Object.is(t.trackById,s)?(t=this._mismatch(t,a,s,o),r=!0):(r&&(t=this._verifyReinsertion(t,a,s,o)),Object.is(t.item,a)||this._addIdentityChange(t,a)),t=t._next,o++}),this.length=o;return this._truncate(t),this.collection=n,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;n!==null;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;n!==null;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;n!==null;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,t,r,o){let i;return n===null?i=this._itTail:(i=n._prev,this._remove(n)),n=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),n!==null?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._reinsertAfter(n,i,o)):(n=this._linkedRecords===null?null:this._linkedRecords.get(r,o),n!==null?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._moveAfter(n,i,o)):n=this._addAfter(new Lh(t,r),i,o)),n}_verifyReinsertion(n,t,r,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return i!==null?n=this._reinsertAfter(i,n._prev,o):n.currentIndex!=o&&(n.currentIndex=o,this._addToMoves(n,o)),n}_truncate(n){for(;n!==null;){let t=n._next;this._addToRemovals(this._unlink(n)),n=t}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(n,t,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(n);let o=n._prevRemoved,i=n._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(n,t,r),this._addToMoves(n,r),n}_moveAfter(n,t,r){return this._unlink(n),this._insertAfter(n,t,r),this._addToMoves(n,r),n}_addAfter(n,t,r){return this._insertAfter(n,t,r),this._additionsTail===null?this._additionsTail=this._additionsHead=n:this._additionsTail=this._additionsTail._nextAdded=n,n}_insertAfter(n,t,r){let o=t===null?this._itHead:t._next;return n._next=o,n._prev=t,o===null?this._itTail=n:o._prev=n,t===null?this._itHead=n:t._next=n,this._linkedRecords===null&&(this._linkedRecords=new qc),this._linkedRecords.put(n),n.currentIndex=r,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){this._linkedRecords!==null&&this._linkedRecords.remove(n);let t=n._prev,r=n._next;return t===null?this._itHead=r:t._next=r,r===null?this._itTail=t:r._prev=t,n}_addToMoves(n,t){return n.previousIndex===t||(this._movesTail===null?this._movesTail=this._movesHead=n:this._movesTail=this._movesTail._nextMoved=n),n}_addToRemovals(n){return this._unlinkedRecords===null&&(this._unlinkedRecords=new qc),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,t){return n.item=t,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=n:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=n,n}},Lh=class{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(n,t){this.item=n,this.trackById=t}},Vh=class{_head=null;_tail=null;add(n){this._head===null?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,t){let r;for(r=this._head;r!==null;r=r._nextDup)if((t===null||t<=r.currentIndex)&&Object.is(r.trackById,n))return r;return null}remove(n){let t=n._prevDup,r=n._nextDup;return t===null?this._head=r:t._nextDup=r,r===null?this._tail=t:r._prevDup=t,this._head===null}},qc=class{map=new Map;put(n){let t=n.trackById,r=this.map.get(t);r||(r=new Vh,this.map.set(t,r)),r.add(n)}get(n,t){let r=n,o=this.map.get(r);return o?o.get(n,t):null}remove(n){let t=n.trackById;return this.map.get(t).remove(n)&&this.map.delete(t),n}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function ub(e,n,t){let r=e.previousIndex;if(r===null)return r;let o=0;return t&&r<t.length&&(o=t[r]),r+n+o}function db(){return new Yc([new Fh])}var Yc=(()=>{class e{factories;static \u0275prov=y({token:e,providedIn:"root",factory:db});constructor(t){this.factories=t}static create(t,r){if(r!=null){let o=r.factories.slice();t=t.concat(o)}return new e(t)}static extend(t){return{provide:e,useFactory:()=>{let r=f(e,{optional:!0,skipSelf:!0});return e.create(t,r||db())}}}find(t){let r=this.factories.find(o=>o.supports(t));if(r!=null)return r;throw new b(901,!1)}}return e})();function gb(e){let{rootComponent:n,appProviders:t,platformProviders:r,platformRef:o}=e;Y(z.BootstrapApplicationStart);try{let i=o?.injector??dA(r),s=[ob(),xg,...t||[]],a=new Ki({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1});return aA({r3Injector:a.injector,platformInjector:i,rootComponent:n})}catch(i){return Promise.reject(i)}finally{Y(z.BootstrapApplicationEnd)}}function re(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function vb(e,n=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):n}var Oh=Symbol("NOT_SET"),yb=new Set,vA=U(E({},ui),{kind:"afterRenderEffectPhase",consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:Oh,cleanup:null,consumerMarkedDirty(){if(this.sequence.impl.executing){if(this.sequence.lastPhase===null||this.sequence.lastPhase<this.phase)return;this.sequence.erroredOrDestroyed=!0}this.sequence.scheduler.notify(7)},phaseFn(e){if(this.sequence.lastPhase=this.phase,!this.dirty)return this.signal;if(this.dirty=!1,this.value!==Oh&&!Yr(this))return this.signal;try{for(let o of this.cleanup??yb)o()}finally{this.cleanup?.clear()}let n=[];e!==void 0&&n.push(e),n.push(this.registerCleanupFn);let t=Yt(this),r;try{r=this.userFn.apply(null,n)}finally{bn(this,t)}return(this.value===Oh||!this.equal(this.value,r))&&(this.value=r,this.version++),this.signal}}),jh=class extends qi{scheduler;lastPhase=null;nodes=[void 0,void 0,void 0,void 0];onDestroyFns=null;constructor(n,t,r,o,i,s=null){super(n,[void 0,void 0,void 0,void 0],r,!1,i.get(We),s),this.scheduler=o;for(let a of Zf){let c=t[a];if(c===void 0)continue;let l=Object.create(vA);l.sequence=this,l.phase=a,l.userFn=c,l.dirty=!0,l.signal=()=>(_n(l),l.value),l.signal[he]=l,l.registerCleanupFn=u=>(l.cleanup??=new Set).add(u),this.nodes[a]=l,this.hooks[a]=u=>l.phaseFn(u)}}afterRun(){super.afterRun(),this.lastPhase=null}destroy(){if(this.onDestroyFns!==null)for(let n of this.onDestroyFns)n();super.destroy();for(let n of this.nodes)if(n)try{for(let t of n.cleanup??yb)t()}finally{Dn(n)}}};function S8(e,n){let t=n?.injector??f(O),r=t.get(Et),o=t.get(Ac),i=t.get(Nt,null,{optional:!0});o.impl??=t.get(Kf);let s=e;typeof s=="function"&&(s={mixedReadWrite:e});let a=t.get(Do,null,{optional:!0}),c=new jh(o.impl,[s.earlyRead,s.write,s.mixedReadWrite,s.read],a?.view,r,t,i?.snapshot(null));return o.impl.register(c),c}function Zc(e,n){let t=Qt(e),r=n.elementInjector||fo();return new Ao(t).create(r,n.projectableNodes,n.hostElement,n.environmentInjector,n.directives,n.bindings)}var _b=null;function ht(){return _b}function Bh(e){_b??=e}var fs=class{},Uo=(()=>{class e{historyGo(t){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:()=>f(bb),providedIn:"platform"})}return e})();var bb=(()=>{class e extends Uo{_location;_history;_doc=f(A);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return ht().getBaseHref(this._doc)}onPopState(t){let r=ht().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",t,!1),()=>r.removeEventListener("popstate",t)}onHashChange(t){let r=ht().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",t,!1),()=>r.removeEventListener("hashchange",t)}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(t){this._location.pathname=t}pushState(t,r,o){this._history.pushState(t,r,o)}replaceState(t,r,o){this._history.replaceState(t,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function Cb(e,n){return e?n?e.endsWith("/")?n.startsWith("/")?e+n.slice(1):e+n:n.startsWith("/")?e+n:`${e}/${n}`:e:n}function Db(e){let n=e.search(/#|\?|$/);return e[n-1]==="/"?e.slice(0,n-1)+e.slice(n):e}function Gn(e){return e&&e[0]!=="?"?`?${e}`:e}var Kc=(()=>{class e{historyGo(t){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:()=>f(_A),providedIn:"root"})}return e})(),yA=new g(""),_A=(()=>{class e extends Kc{_platformLocation;_baseHref;_removeListenerFns=[];constructor(t,r){super(),this._platformLocation=t,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??f(A).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return Cb(this._baseHref,t)}path(t=!1){let r=this._platformLocation.pathname+Gn(this._platformLocation.search),o=this._platformLocation.hash;return o&&t?`${r}${o}`:r}pushState(t,r,o,i){let s=this.prepareExternalUrl(o+Gn(i));this._platformLocation.pushState(t,r,s)}replaceState(t,r,o,i){let s=this.prepareExternalUrl(o+Gn(i));this._platformLocation.replaceState(t,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static \u0275fac=function(r){return new(r||e)(T(Uo),T(yA,8))};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Xc=(()=>{class e{_subject=new C;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(t){this._locationStrategy=t;let r=this._locationStrategy.getBaseHref();this._basePath=EA(Db(Eb(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(t=!1){return this.normalize(this._locationStrategy.path(t))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(t,r=""){return this.path()==this.normalize(t+Gn(r))}normalize(t){return e.stripTrailingSlash(DA(this._basePath,Eb(t)))}prepareExternalUrl(t){return t&&t[0]!=="/"&&(t="/"+t),this._locationStrategy.prepareExternalUrl(t)}go(t,r="",o=null){this._locationStrategy.pushState(o,"",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Gn(r)),o)}replaceState(t,r="",o=null){this._locationStrategy.replaceState(o,"",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Gn(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(t=0){this._locationStrategy.historyGo?.(t)}onUrlChange(t){return this._urlChangeListeners.push(t),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(t);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(t="",r){this._urlChangeListeners.forEach(o=>o(t,r))}subscribe(t,r,o){return this._subject.subscribe({next:t,error:r??void 0,complete:o??void 0})}static normalizeQueryParams=Gn;static joinWithSlash=Cb;static stripTrailingSlash=Db;static \u0275fac=function(r){return new(r||e)(T(Kc))};static \u0275prov=y({token:e,factory:()=>bA(),providedIn:"root"})}return e})();function bA(){return new Xc(T(Kc))}function DA(e,n){if(!e||!n.startsWith(e))return n;let t=n.substring(e.length);return t===""||["/",";","?","#"].includes(t[0])?t:n}function Eb(e){return e.replace(/\/index\.html$/,"")}function EA(e){if(new RegExp("^(https?:)?//").test(e)){let[,t]=e.split(/\/\/[^\/]+/);return t}return e}var Pe=(function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e})(Pe||{}),ne=(function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e})(ne||{}),Je=(function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e})(Je||{}),dn={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 Sb(e){return it(e)[ge.LocaleId]}function Mb(e,n,t){let r=it(e),o=[r[ge.DayPeriodsFormat],r[ge.DayPeriodsStandalone]],i=pt(o,n);return pt(i,t)}function Tb(e,n,t){let r=it(e),o=[r[ge.DaysFormat],r[ge.DaysStandalone]],i=pt(o,n);return pt(i,t)}function Ab(e,n,t){let r=it(e),o=[r[ge.MonthsFormat],r[ge.MonthsStandalone]],i=pt(o,n);return pt(i,t)}function xb(e,n){let r=it(e)[ge.Eras];return pt(r,n)}function hs(e,n){let t=it(e);return pt(t[ge.DateFormat],n)}function ps(e,n){let t=it(e);return pt(t[ge.TimeFormat],n)}function ms(e,n){let r=it(e)[ge.DateTimeFormat];return pt(r,n)}function gs(e,n){let t=it(e),r=t[ge.NumberSymbols][n];if(typeof r>"u"){if(n===dn.CurrencyDecimal)return t[ge.NumberSymbols][dn.Decimal];if(n===dn.CurrencyGroup)return t[ge.NumberSymbols][dn.Group]}return r}function Nb(e){if(!e[ge.ExtraData])throw new b(2303,!1)}function Rb(e){let n=it(e);return Nb(n),(n[ge.ExtraData][2]||[]).map(r=>typeof r=="string"?Hh(r):[Hh(r[0]),Hh(r[1])])}function Ob(e,n,t){let r=it(e);Nb(r);let o=[r[ge.ExtraData][0],r[ge.ExtraData][1]],i=pt(o,n)||[];return pt(i,t)||[]}function pt(e,n){for(let t=n;t>-1;t--)if(typeof e[t]<"u")return e[t];throw new b(2304,!1)}function Hh(e){let[n,t]=e.split(":");return{hours:+n,minutes:+t}}var CA=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Qc={},wA=/((?:[^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 kb(e,n,t,r){let o=OA(e);n=un(t,n)||n;let s=[],a;for(;n;)if(a=wA.exec(n),a){s=s.concat(a.slice(1));let u=s.pop();if(!u)break;n=u}else{s.push(n);break}let c=o.getTimezoneOffset();r&&(c=Pb(r,c),o=RA(o,r));let l="";return s.forEach(u=>{let d=xA(u);l+=d?d(o,t,c):u==="''"?"'":u.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),l}function rl(e,n,t){let r=new Date(0);return r.setFullYear(e,n,t),r.setHours(0,0,0),r}function un(e,n){let t=Sb(e);if(Qc[t]??={},Qc[t][n])return Qc[t][n];let r="";switch(n){case"shortDate":r=hs(e,Je.Short);break;case"mediumDate":r=hs(e,Je.Medium);break;case"longDate":r=hs(e,Je.Long);break;case"fullDate":r=hs(e,Je.Full);break;case"shortTime":r=ps(e,Je.Short);break;case"mediumTime":r=ps(e,Je.Medium);break;case"longTime":r=ps(e,Je.Long);break;case"fullTime":r=ps(e,Je.Full);break;case"short":let o=un(e,"shortTime"),i=un(e,"shortDate");r=Jc(ms(e,Je.Short),[o,i]);break;case"medium":let s=un(e,"mediumTime"),a=un(e,"mediumDate");r=Jc(ms(e,Je.Medium),[s,a]);break;case"long":let c=un(e,"longTime"),l=un(e,"longDate");r=Jc(ms(e,Je.Long),[c,l]);break;case"full":let u=un(e,"fullTime"),d=un(e,"fullDate");r=Jc(ms(e,Je.Full),[u,d]);break}return r&&(Qc[t][n]=r),r}function Jc(e,n){return n&&(e=e.replace(/\{([^}]+)}/g,function(t,r){return n!=null&&r in n?n[r]:t})),e}function kt(e,n,t="-",r,o){let i="";(e<0||o&&e<=0)&&(o?e=-e+1:(e=-e,i=t));let s=String(e);for(;s.length<n;)s="0"+s;return r&&(s=s.slice(s.length-n)),i+s}function IA(e,n){return kt(e,3).substring(0,n)}function Ee(e,n,t=0,r=!1,o=!1){return function(i,s){let a=SA(e,i);if((t>0||a>-t)&&(a+=t),e===3)a===0&&t===-12&&(a=12);else if(e===6)return IA(a,n);let c=gs(s,dn.MinusSign);return kt(a,n,c,r,o)}}function SA(e,n){switch(e){case 0:return n.getFullYear();case 1:return n.getMonth();case 2:return n.getDate();case 3:return n.getHours();case 4:return n.getMinutes();case 5:return n.getSeconds();case 6:return n.getMilliseconds();case 7:return n.getDay();default:throw new b(2301,!1)}}function oe(e,n,t=Pe.Format,r=!1){return function(o,i){return MA(o,i,e,n,t,r)}}function MA(e,n,t,r,o,i){switch(t){case 2:return Ab(n,o,r)[e.getMonth()];case 1:return Tb(n,o,r)[e.getDay()];case 0:let s=e.getHours(),a=e.getMinutes();if(i){let l=Rb(n),u=Ob(n,o,r),d=l.findIndex(h=>{if(Array.isArray(h)){let[p,m]=h,v=s>=p.hours&&a>=p.minutes,_=s<m.hours||s===m.hours&&a<m.minutes;if(p.hours<m.hours){if(v&&_)return!0}else if(v||_)return!0}else if(h.hours===s&&h.minutes===a)return!0;return!1});if(d!==-1)return u[d]}return Mb(n,o,r)[s<12?0:1];case 3:return xb(n,r)[e.getFullYear()<=0?0:1];default:let c=t;throw new b(2302,!1)}}function el(e){return function(n,t,r){let o=-1*r,i=gs(t,dn.MinusSign),s=o>0?Math.floor(o/60):Math.ceil(o/60);switch(e){case 0:return(o>=0?"+":"")+kt(s,2,i)+kt(Math.abs(o%60),2,i);case 1:return"GMT"+(o>=0?"+":"")+kt(s,1,i);case 2:return"GMT"+(o>=0?"+":"")+kt(s,2,i)+":"+kt(Math.abs(o%60),2,i);case 3:return r===0?"Z":(o>=0?"+":"")+kt(s,2,i)+":"+kt(Math.abs(o%60),2,i);default:throw new b(2310,!1)}}}var TA=0,nl=4;function AA(e){let n=rl(e,TA,1).getDay();return rl(e,0,1+(n<=nl?nl:nl+7)-n)}function Fb(e){let n=e.getDay(),t=n===0?-3:nl-n;return rl(e.getFullYear(),e.getMonth(),e.getDate()+t)}function Uh(e,n=!1){return function(t,r){let o;if(n){let i=new Date(t.getFullYear(),t.getMonth(),1).getDay()-1,s=t.getDate();o=1+Math.floor((s+i)/7)}else{let i=Fb(t),s=AA(i.getFullYear()),a=i.getTime()-s.getTime();o=1+Math.round(a/6048e5)}return kt(o,e,gs(r,dn.MinusSign))}}function tl(e,n=!1){return function(t,r){let i=Fb(t).getFullYear();return kt(i,e,gs(r,dn.MinusSign),n)}}var $h={};function xA(e){if($h[e])return $h[e];let n;switch(e){case"G":case"GG":case"GGG":n=oe(3,ne.Abbreviated);break;case"GGGG":n=oe(3,ne.Wide);break;case"GGGGG":n=oe(3,ne.Narrow);break;case"y":n=Ee(0,1,0,!1,!0);break;case"yy":n=Ee(0,2,0,!0,!0);break;case"yyy":n=Ee(0,3,0,!1,!0);break;case"yyyy":n=Ee(0,4,0,!1,!0);break;case"Y":n=tl(1);break;case"YY":n=tl(2,!0);break;case"YYY":n=tl(3);break;case"YYYY":n=tl(4);break;case"M":case"L":n=Ee(1,1,1);break;case"MM":case"LL":n=Ee(1,2,1);break;case"MMM":n=oe(2,ne.Abbreviated);break;case"MMMM":n=oe(2,ne.Wide);break;case"MMMMM":n=oe(2,ne.Narrow);break;case"LLL":n=oe(2,ne.Abbreviated,Pe.Standalone);break;case"LLLL":n=oe(2,ne.Wide,Pe.Standalone);break;case"LLLLL":n=oe(2,ne.Narrow,Pe.Standalone);break;case"w":n=Uh(1);break;case"ww":n=Uh(2);break;case"W":n=Uh(1,!0);break;case"d":n=Ee(2,1);break;case"dd":n=Ee(2,2);break;case"c":case"cc":n=Ee(7,1);break;case"ccc":n=oe(1,ne.Abbreviated,Pe.Standalone);break;case"cccc":n=oe(1,ne.Wide,Pe.Standalone);break;case"ccccc":n=oe(1,ne.Narrow,Pe.Standalone);break;case"cccccc":n=oe(1,ne.Short,Pe.Standalone);break;case"E":case"EE":case"EEE":n=oe(1,ne.Abbreviated);break;case"EEEE":n=oe(1,ne.Wide);break;case"EEEEE":n=oe(1,ne.Narrow);break;case"EEEEEE":n=oe(1,ne.Short);break;case"a":case"aa":case"aaa":n=oe(0,ne.Abbreviated);break;case"aaaa":n=oe(0,ne.Wide);break;case"aaaaa":n=oe(0,ne.Narrow);break;case"b":case"bb":case"bbb":n=oe(0,ne.Abbreviated,Pe.Standalone,!0);break;case"bbbb":n=oe(0,ne.Wide,Pe.Standalone,!0);break;case"bbbbb":n=oe(0,ne.Narrow,Pe.Standalone,!0);break;case"B":case"BB":case"BBB":n=oe(0,ne.Abbreviated,Pe.Format,!0);break;case"BBBB":n=oe(0,ne.Wide,Pe.Format,!0);break;case"BBBBB":n=oe(0,ne.Narrow,Pe.Format,!0);break;case"h":n=Ee(3,1,-12);break;case"hh":n=Ee(3,2,-12);break;case"H":n=Ee(3,1);break;case"HH":n=Ee(3,2);break;case"m":n=Ee(4,1);break;case"mm":n=Ee(4,2);break;case"s":n=Ee(5,1);break;case"ss":n=Ee(5,2);break;case"S":n=Ee(6,1);break;case"SS":n=Ee(6,2);break;case"SSS":n=Ee(6,3);break;case"Z":case"ZZ":case"ZZZ":n=el(0);break;case"ZZZZZ":n=el(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":n=el(1);break;case"OOOO":case"ZZZZ":case"zzzz":n=el(2);break;default:return null}return $h[e]=n,n}function Pb(e,n){e=e.replace(/:/g,"");let t=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(t)?n:t}function NA(e,n){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+n),e}function RA(e,n,t){let o=e.getTimezoneOffset(),i=Pb(n,o);return NA(e,-1*(i-o))}function OA(e){if(wb(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 rl(o,i-1,s)}let t=parseFloat(e);if(!isNaN(e-t))return new Date(t);let r;if(r=e.match(CA))return kA(r)}let n=new Date(e);if(!wb(n))throw new b(2311,!1);return n}function kA(e){let n=new Date(0),t=0,r=0,o=e[8]?n.setUTCFullYear:n.setFullYear,i=e[8]?n.setUTCHours:n.setHours;e[9]&&(t=Number(e[9]+e[10]),r=Number(e[9]+e[11])),o.call(n,Number(e[1]),Number(e[2])-1,Number(e[3]));let s=Number(e[4]||0)-t,a=Number(e[5]||0)-r,c=Number(e[6]||0),l=Math.floor(parseFloat("0."+(e[7]||0))*1e3);return i.call(n,s,a,c,l),n}function wb(e){return e instanceof Date&&!isNaN(e.valueOf())}var zh=/\s+/,Ib=[],FA=(()=>{class e{_ngEl;_renderer;initialClasses=Ib;rawClass;stateMap=new Map;constructor(t,r){this._ngEl=t,this._renderer=r}set klass(t){this.initialClasses=t!=null?t.trim().split(zh):Ib}set ngClass(t){this.rawClass=typeof t=="string"?t.trim().split(zh):t}ngDoCheck(){for(let r of this.initialClasses)this._updateState(r,!0);let t=this.rawClass;if(Array.isArray(t)||t instanceof Set)for(let r of t)this._updateState(r,!0);else if(t!=null)for(let r of Object.keys(t))this._updateState(r,!!t[r]);this._applyStateDiff()}_updateState(t,r){let o=this.stateMap.get(t);o!==void 0?(o.enabled!==r&&(o.changed=!0,o.enabled=r),o.touched=!0):this.stateMap.set(t,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(let t of this.stateMap){let r=t[0],o=t[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(t,r){t=t.trim(),t.length>0&&t.split(zh).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)(H(B),H(Ke))};static \u0275dir=N({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})();var PA=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;injector=f(O);constructor(t){this._viewContainerRef=t}ngOnChanges(t){if(this._shouldRecreateView(t)){let r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let o=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this._getInjector()})}}_getInjector(){return this.ngTemplateOutletInjector==="outlet"?this.injector:this.ngTemplateOutletInjector??void 0}_shouldRecreateView(t){return!!t.ngTemplateOutlet||!!t.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(t,r,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,r,o):!1,get:(t,r,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,o)}})}static \u0275fac=function(r){return new(r||e)(H(rt))};static \u0275dir=N({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[He]})}return e})();function LA(e,n){return new b(2100,!1)}var VA="mediumDate",Lb=new g(""),Vb=new g(""),jA=(()=>{class e{locale;defaultTimezone;defaultOptions;constructor(t,r,o){this.locale=t,this.defaultTimezone=r,this.defaultOptions=o}transform(t,r,o,i){if(t==null||t===""||t!==t)return null;try{let s=r??this.defaultOptions?.dateFormat??VA,a=o??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return kb(t,s,i||this.locale,a)}catch(s){throw LA(e,s.message)}}static \u0275fac=function(r){return new(r||e)(H(us,16),H(Lb,24),H(Vb,24))};static \u0275pipe=Vc({name:"date",type:e,pure:!0})}return e})();var BA=(()=>{class e{transform(t){return JSON.stringify(t,null,2)}static \u0275fac=function(r){return new(r||e)};static \u0275pipe=Vc({name:"json",type:e,pure:!1})}return e})();var jb=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=q({type:e});static \u0275inj=G({})}return e})();function vs(e,n){n=encodeURIComponent(n);for(let t of e.split(";")){let r=t.indexOf("="),[o,i]=r==-1?[t,""]:[t.slice(0,r),t.slice(r+1)];if(o.trim()===n)return decodeURIComponent(i)}return null}var Fr=class{};var Gh="browser";function Bb(e){return e===Gh}var ys=class{_doc;constructor(n){this._doc=n}manager},ol=(()=>{class e extends ys{constructor(t){super(t)}supports(t){return!0}addEventListener(t,r,o,i){return t.addEventListener(r,o,i),()=>this.removeEventListener(t,r,o,i)}removeEventListener(t,r,o,i){return t.removeEventListener(r,o,i)}static \u0275fac=function(r){return new(r||e)(T(A))};static \u0275prov=y({token:e,factory:e.\u0275fac})}return e})(),al=new g(""),Zh=(()=>{class e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(t,r){this._zone=r,t.forEach(s=>{s.manager=this});let o=t.filter(s=>!(s instanceof ol));this._plugins=o.slice().reverse();let i=t.find(s=>s instanceof ol);i&&this._plugins.push(i)}addEventListener(t,r,o,i){return this._findPluginFor(r).addEventListener(t,r,o,i)}getZone(){return this._zone}_findPluginFor(t){let r=this._eventNameToPlugin.get(t);if(r)return r;if(r=this._plugins.find(i=>i.supports(t)),!r)throw new b(5101,!1);return this._eventNameToPlugin.set(t,r),r}static \u0275fac=function(r){return new(r||e)(T(al),T(M))};static \u0275prov=y({token:e,factory:e.\u0275fac})}return e})(),Wh="ng-app-id";function Hb(e){for(let n of e)n.remove()}function Ub(e,n){let t=n.createElement("style");return t.textContent=e,t}function UA(e,n,t,r){let o=e.head?.querySelectorAll(`style[${Wh}="${n}"],link[${Wh}="${n}"]`);if(o)for(let i of o)i.removeAttribute(Wh),i instanceof HTMLLinkElement?r.set(i.href.slice(i.href.lastIndexOf("/")+1),{usage:0,elements:[i]}):i.textContent&&t.set(i.textContent,{usage:0,elements:[i]})}function Yh(e,n){let t=n.createElement("link");return t.setAttribute("rel","stylesheet"),t.setAttribute("href",e),t}var Kh=(()=>{class e{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(t,r,o,i={}){this.doc=t,this.appId=r,this.nonce=o,UA(t,r,this.inline,this.external),this.hosts.add(t.head)}addStyles(t,r){for(let o of t)this.addUsage(o,this.inline,Ub);r?.forEach(o=>this.addUsage(o,this.external,Yh))}removeStyles(t,r){for(let o of t)this.removeUsage(o,this.inline);r?.forEach(o=>this.removeUsage(o,this.external))}addUsage(t,r,o){let i=r.get(t);i?i.usage++:r.set(t,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,o(t,this.doc)))})}removeUsage(t,r){let o=r.get(t);o&&(o.usage--,o.usage<=0&&(Hb(o.elements),r.delete(t)))}ngOnDestroy(){for(let[,{elements:t}]of[...this.inline,...this.external])Hb(t);this.hosts.clear()}addHost(t){this.hosts.add(t);for(let[r,{elements:o}]of this.inline)o.push(this.addElement(t,Ub(r,this.doc)));for(let[r,{elements:o}]of this.external)o.push(this.addElement(t,Yh(r,this.doc)))}removeHost(t){this.hosts.delete(t)}addElement(t,r){return this.nonce&&r.setAttribute("nonce",this.nonce),t.appendChild(r)}static \u0275fac=function(r){return new(r||e)(T(A),T($n),T(Rr,8),T(Nr))};static \u0275prov=y({token:e,factory:e.\u0275fac})}return e})(),qh={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},Xh=/%COMP%/g;var zb="%COMP%",$A=`_nghost-${zb}`,zA=`_ngcontent-${zb}`,GA=!0,WA=new g("",{factory:()=>GA});function qA(e){return zA.replace(Xh,e)}function YA(e){return $A.replace(Xh,e)}function Gb(e,n){return n.map(t=>t.replace(Xh,e))}var Qh=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;constructor(t,r,o,i,s,a,c=null,l=null){this.eventManager=t,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.ngZone=a,this.nonce=c,this.tracingService=l,this.defaultRenderer=new _s(t,s,a,this.tracingService)}createRenderer(t,r){if(!t||!r)return this.defaultRenderer;let o=this.getOrCreateRenderer(t,r);return o instanceof sl?o.applyToHost(t):o instanceof bs&&o.applyStyles(),o}getOrCreateRenderer(t,r){let o=this.rendererByCompId,i=o.get(r.id);if(!i){let s=this.doc,a=this.ngZone,c=this.eventManager,l=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,d=this.tracingService;switch(r.encapsulation){case xt.Emulated:i=new sl(c,l,r,this.appId,u,s,a,d);break;case xt.ShadowDom:return new il(c,t,r,s,a,this.nonce,d,l);case xt.ExperimentalIsolatedShadowDom:return new il(c,t,r,s,a,this.nonce,d);default:i=new bs(c,l,r,u,s,a,d);break}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(t){this.rendererByCompId.delete(t)}static \u0275fac=function(r){return new(r||e)(T(Zh),T(Kh),T($n),T(WA),T(A),T(M),T(Rr),T(Nt,8))};static \u0275prov=y({token:e,factory:e.\u0275fac})}return e})(),_s=class{eventManager;doc;ngZone;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(n,t,r,o){this.eventManager=n,this.doc=t,this.ngZone=r,this.tracingService=o}destroy(){}destroyNode=null;createElement(n,t){return t?this.doc.createElementNS(qh[t]||t,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,t){($b(n)?n.content:n).appendChild(t)}insertBefore(n,t,r){n&&($b(n)?n.content:n).insertBefore(t,r)}removeChild(n,t){t.remove()}selectRootElement(n,t){let r=typeof n=="string"?this.doc.querySelector(n):n;if(!r)throw new b(-5104,!1);return t||(r.textContent=""),r}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,t,r,o){if(o){t=o+":"+t;let i=qh[o];i?n.setAttributeNS(i,t,r):n.setAttribute(t,r)}else n.setAttribute(t,r)}removeAttribute(n,t,r){if(r){let o=qh[r];o?n.removeAttributeNS(o,t):n.removeAttribute(`${r}:${t}`)}else n.removeAttribute(t)}addClass(n,t){n.classList.add(t)}removeClass(n,t){n.classList.remove(t)}setStyle(n,t,r,o){o&(zt.DashCase|zt.Important)?n.style.setProperty(t,r,o&zt.Important?"important":""):n.style[t]=r}removeStyle(n,t,r){r&zt.DashCase?n.style.removeProperty(t):n.style[t]=""}setProperty(n,t,r){n!=null&&(n[t]=r)}setValue(n,t){n.nodeValue=t}listen(n,t,r,o){if(typeof n=="string"&&(n=ht().getGlobalEventTarget(this.doc,n),!n))throw new b(5102,!1);let i=this.decoratePreventDefault(r);return this.tracingService?.wrapEventListener&&(i=this.tracingService.wrapEventListener(n,t,i)),this.eventManager.addEventListener(n,t,i,o)}decoratePreventDefault(n){return t=>{if(t==="__ngUnwrap__")return n;n(t)===!1&&t.preventDefault()}}};function $b(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var il=class extends _s{hostEl;sharedStylesHost;shadowRoot;constructor(n,t,r,o,i,s,a,c){super(n,o,i,a),this.hostEl=t,this.sharedStylesHost=c,this.shadowRoot=t.attachShadow({mode:"open"}),this.sharedStylesHost&&this.sharedStylesHost.addHost(this.shadowRoot);let l=r.styles;l=Gb(r.id,l);for(let d of l){let h=document.createElement("style");s&&h.setAttribute("nonce",s),h.textContent=d,this.shadowRoot.appendChild(h)}let u=r.getExternalStyles?.();if(u)for(let d of u){let h=Yh(d,o);s&&h.setAttribute("nonce",s),this.shadowRoot.appendChild(h)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,t){return super.appendChild(this.nodeOrShadowRoot(n),t)}insertBefore(n,t,r){return super.insertBefore(this.nodeOrShadowRoot(n),t,r)}removeChild(n,t){return super.removeChild(null,t)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost&&this.sharedStylesHost.removeHost(this.shadowRoot)}},bs=class extends _s{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(n,t,r,o,i,s,a,c){super(n,i,s,a),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=o;let l=r.styles;this.styles=c?Gb(c,l):l,this.styleUrls=r.getExternalStyles?.(c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&Mr.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},sl=class extends bs{contentAttr;hostAttr;constructor(n,t,r,o,i,s,a,c){let l=o+"-"+r.id;super(n,t,r,i,s,a,c,l),this.contentAttr=qA(l),this.hostAttr=YA(l)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,t){let r=super.createElement(n,t);return super.setAttribute(r,this.contentAttr,""),r}};var cl=class e extends fs{supportsDOMEvents=!0;static makeCurrent(){Bh(new e)}onAndCancel(n,t,r,o){return n.addEventListener(t,r,o),()=>{n.removeEventListener(t,r,o)}}dispatchEvent(n,t){n.dispatchEvent(t)}remove(n){n.remove()}createElement(n,t){return t=t||this.getDefaultDocument(),t.createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,t){return t==="window"?window:t==="document"?n:t==="body"?n.body:null}getBaseHref(n){let t=ZA();return t==null?null:KA(t)}resetBaseElement(){Ds=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return vs(document.cookie,n)}},Ds=null;function ZA(){return Ds=Ds||document.head.querySelector("base"),Ds?Ds.getAttribute("href"):null}function KA(e){return new URL(e,document.baseURI).pathname}var XA=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac})}return e})(),Wb=["alt","control","meta","shift"],QA={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},JA={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},qb=(()=>{class e extends ys{constructor(t){super(t)}supports(t){return e.parseEventName(t)!=null}addEventListener(t,r,o,i){let s=e.parseEventName(r),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>ht().onAndCancel(t,s.domEventName,a,i))}static parseEventName(t){let r=t.toLowerCase().split("."),o=r.shift();if(r.length===0||!(o==="keydown"||o==="keyup"))return null;let i=e._normalizeKey(r.pop()),s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),Wb.forEach(l=>{let u=r.indexOf(l);u>-1&&(r.splice(u,1),s+=l+".")}),s+=i,r.length!=0||i.length===0)return null;let c={};return c.domEventName=o,c.fullKey=s,c}static matchEventFullKeyCode(t,r){let o=QA[t.key]||t.key,i="";return r.indexOf("code.")>-1&&(o=t.code,i="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),Wb.forEach(s=>{if(s!==o){let a=JA[s];a(t)&&(i+=s+".")}}),i+=o,i===r)}static eventCallback(t,r,o){return i=>{e.matchEventFullKeyCode(i,t)&&o.runGuarded(()=>r(i))}}static _normalizeKey(t){return t==="esc"?"escape":t}static \u0275fac=function(r){return new(r||e)(T(A))};static \u0275prov=y({token:e,factory:e.\u0275fac})}return e})();function ex(e,n,t){return vn(this,null,function*(){let r=E({rootComponent:e},tx(n,t));return gb(r)})}function tx(e,n){return{platformRef:n?.platformRef,appProviders:[...sx,...e?.providers??[]],platformProviders:ix}}function nx(){cl.makeCurrent()}function rx(){return new Oe}function ox(){return Rf(document),document}var ix=[{provide:Nr,useValue:Gh},{provide:Cc,useValue:nx,multi:!0},{provide:A,useFactory:ox}];var sx=[{provide:Fi,useValue:"root"},{provide:Oe,useFactory:rx},{provide:al,useClass:ol,multi:!0},{provide:al,useClass:qb,multi:!0},Qh,Kh,Zh,{provide:Se,useExisting:Qh},{provide:Fr,useClass:XA},[]];var Wn=class e{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(n){n?typeof n=="string"?this.lazyInit=()=>{this.headers=new Map,n.split(`
|
|
5
|
+
`).forEach(t=>{let r=t.indexOf(":");if(r>0){let o=t.slice(0,r),i=t.slice(r+1).trim();this.addHeaderEntry(o,i)}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEach((t,r)=>{this.addHeaderEntry(r,t)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([t,r])=>{this.setHeaderEntries(t,r)})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();let t=this.headers.get(n.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,t){return this.clone({name:n,value:t,op:"a"})}set(n,t){return this.clone({name:n,value:t,op:"s"})}delete(n,t){return this.clone({name:n,value:t,op:"d"})}maybeSetNormalizedName(n,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,n)}init(){this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(t=>{this.headers.set(t,n.headers.get(t)),this.normalizedNames.set(t,n.normalizedNames.get(t))})}clone(n){let t=new e;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([n]),t}applyUpdate(n){let t=n.name.toLowerCase();switch(n.op){case"a":case"s":let r=n.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(n.name,t);let o=(n.op==="a"?this.headers.get(t):void 0)||[];o.push(...r),this.headers.set(t,o);break;case"d":let i=n.value;if(!i)this.headers.delete(t),this.normalizedNames.delete(t);else{let s=this.headers.get(t);if(!s)return;s=s.filter(a=>i.indexOf(a)===-1),s.length===0?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,s)}break}}addHeaderEntry(n,t){let r=n.toLowerCase();this.maybeSetNormalizedName(n,r),this.headers.has(r)?this.headers.get(r).push(t):this.headers.set(r,[t])}setHeaderEntries(n,t){let r=(Array.isArray(t)?t:[t]).map(i=>i.toString()),o=n.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(n,o)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>n(this.normalizedNames.get(t),this.headers.get(t)))}};var ul=class{map=new Map;set(n,t){return this.map.set(n,t),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}},dl=class{encodeKey(n){return Yb(n)}encodeValue(n){return Yb(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}};function ax(e,n){let t=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(o=>{let i=o.indexOf("="),[s,a]=i==-1?[n.decodeKey(o),""]:[n.decodeKey(o.slice(0,i)),n.decodeValue(o.slice(i+1))],c=t.get(s)||[];c.push(a),t.set(s,c)}),t}var cx=/%(\d[a-f0-9])/gi,lx={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Yb(e){return encodeURIComponent(e).replace(cx,(n,t)=>lx[t]??n)}function ll(e){return`${e}`}var fn=class e{map;encoder;updates=null;cloneFrom=null;constructor(n={}){if(this.encoder=n.encoder||new dl,n.fromString){if(n.fromObject)throw new b(2805,!1);this.map=ax(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(t=>{let r=n.fromObject[t],o=Array.isArray(r)?r.map(ll):[ll(r)];this.map.set(t,o)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();let t=this.map.get(n);return t?t[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,t){return this.clone({param:n,value:t,op:"a"})}appendAll(n){let t=[];return Object.keys(n).forEach(r=>{let o=n[r];Array.isArray(o)?o.forEach(i=>{t.push({param:r,value:i,op:"a"})}):t.push({param:r,value:o,op:"a"})}),this.clone(t)}set(n,t){return this.clone({param:n,value:t,op:"s"})}delete(n,t){return this.clone({param:n,value:t,op:"d"})}toString(){return this.init(),this.keys().map(n=>{let t=this.encoder.encodeKey(n);return this.map.get(n).map(r=>t+"="+this.encoder.encodeValue(r)).join("&")}).filter(n=>n!=="").join("&")}clone(n){let t=new e({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat(n),t}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":let t=(n.op==="a"?this.map.get(n.param):void 0)||[];t.push(ll(n.value)),this.map.set(n.param,t);break;case"d":if(n.value!==void 0){let r=this.map.get(n.param)||[],o=r.indexOf(ll(n.value));o!==-1&&r.splice(o,1),r.length>0?this.map.set(n.param,r):this.map.delete(n.param)}else{this.map.delete(n.param);break}}}),this.cloneFrom=this.updates=null)}};function ux(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Zb(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function Kb(e){return typeof Blob<"u"&&e instanceof Blob}function Xb(e){return typeof FormData<"u"&&e instanceof FormData}function dx(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var Qb="Content-Type",Jb="Accept",tD="text/plain",nD="application/json",fx=`${nD}, ${tD}, */*`,$o=class e{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;referrerPolicy;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(n,t,r,o){this.url=t,this.method=n.toUpperCase();let i;if(ux(this.method)||o?(this.body=r!==void 0?r:null,i=o):i=r,i){if(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,this.keepalive=!!i.keepalive,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),i.priority&&(this.priority=i.priority),i.cache&&(this.cache=i.cache),i.credentials&&(this.credentials=i.credentials),typeof i.timeout=="number"){if(i.timeout<1||!Number.isInteger(i.timeout))throw new b(2822,"");this.timeout=i.timeout}i.mode&&(this.mode=i.mode),i.redirect&&(this.redirect=i.redirect),i.integrity&&(this.integrity=i.integrity),i.referrer&&(this.referrer=i.referrer),i.referrerPolicy&&(this.referrerPolicy=i.referrerPolicy),this.transferCache=i.transferCache}if(this.headers??=new Wn,this.context??=new ul,!this.params)this.params=new fn,this.urlWithParams=t;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=t;else{let a=t.indexOf("?"),c=a===-1?"?":a<t.length-1?"&":"";this.urlWithParams=t+c+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||Zb(this.body)||Kb(this.body)||Xb(this.body)||dx(this.body)?this.body:this.body instanceof fn?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||Xb(this.body)?null:Kb(this.body)?this.body.type||null:Zb(this.body)?null:typeof this.body=="string"?tD:this.body instanceof fn?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?nD:null}clone(n={}){let t=n.method||this.method,r=n.url||this.url,o=n.responseType||this.responseType,i=n.keepalive??this.keepalive,s=n.priority||this.priority,a=n.cache||this.cache,c=n.mode||this.mode,l=n.redirect||this.redirect,u=n.credentials||this.credentials,d=n.referrer||this.referrer,h=n.integrity||this.integrity,p=n.referrerPolicy||this.referrerPolicy,m=n.transferCache??this.transferCache,v=n.timeout??this.timeout,_=n.body!==void 0?n.body:this.body,D=n.withCredentials??this.withCredentials,k=n.reportProgress??this.reportProgress,Me=n.headers||this.headers,le=n.params||this.params,gn=n.context??this.context;return n.setHeaders!==void 0&&(Me=Object.keys(n.setHeaders).reduce((yt,Jn)=>yt.set(Jn,n.setHeaders[Jn]),Me)),n.setParams&&(le=Object.keys(n.setParams).reduce((yt,Jn)=>yt.set(Jn,n.setParams[Jn]),le)),new e(t,r,_,{params:le,headers:Me,context:gn,reportProgress:k,responseType:o,withCredentials:D,transferCache:m,keepalive:i,cache:a,priority:s,timeout:v,mode:c,redirect:l,credentials:u,referrer:d,integrity:h,referrerPolicy:p})}},Pr=(function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e})(Pr||{}),Go=class{headers;status;statusText;url;ok;type;redirected;responseType;constructor(n,t=200,r="OK"){this.headers=n.headers||new Wn,this.status=n.status!==void 0?n.status:t,this.statusText=n.statusText||r,this.url=n.url||null,this.redirected=n.redirected,this.responseType=n.responseType,this.ok=this.status>=200&&this.status<300}},fl=class e extends Go{constructor(n={}){super(n)}type=Pr.ResponseHeader;clone(n={}){return new e({headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}},Es=class e extends Go{body;constructor(n={}){super(n),this.body=n.body!==void 0?n.body:null}type=Pr.Response;clone(n={}){return new e({body:n.body!==void 0?n.body:this.body,headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0,redirected:n.redirected??this.redirected,responseType:n.responseType??this.responseType})}},zo=class extends Go{name="HttpErrorResponse";message;error;ok=!1;constructor(n){super(n,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${n.url||"(unknown url)"}`:this.message=`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}},hx=200,px=204;var mx=new g("");var gx=/^\)\]\}',?\n/;var ep=(()=>{class e{xhrFactory;tracingService=f(Nt,{optional:!0});constructor(t){this.xhrFactory=t}maybePropagateTrace(t){return this.tracingService?.propagate?this.tracingService.propagate(t):t}handle(t){if(t.method==="JSONP")throw new b(-2800,!1);let r=this.xhrFactory;return pe(null).pipe(so(()=>new R(i=>{let s=r.build();if(s.open(t.method,t.urlWithParams),t.withCredentials&&(s.withCredentials=!0),t.headers.forEach((_,D)=>s.setRequestHeader(_,D.join(","))),t.headers.has(Jb)||s.setRequestHeader(Jb,fx),!t.headers.has(Qb)){let _=t.detectContentTypeHeader();_!==null&&s.setRequestHeader(Qb,_)}if(t.timeout&&(s.timeout=t.timeout),t.responseType){let _=t.responseType.toLowerCase();s.responseType=_!=="json"?_:"text"}let a=t.serializeBody(),c=null,l=()=>{if(c!==null)return c;let _=s.statusText||"OK",D=new Wn(s.getAllResponseHeaders()),k=s.responseURL||t.url;return c=new fl({headers:D,status:s.status,statusText:_,url:k}),c},u=this.maybePropagateTrace(()=>{let{headers:_,status:D,statusText:k,url:Me}=l(),le=null;D!==px&&(le=typeof s.response>"u"?s.responseText:s.response),D===0&&(D=le?hx:0);let gn=D>=200&&D<300;if(t.responseType==="json"&&typeof le=="string"){let yt=le;le=le.replace(gx,"");try{le=le!==""?JSON.parse(le):null}catch(Jn){le=yt,gn&&(gn=!1,le={error:Jn,text:le})}}gn?(i.next(new Es({body:le,headers:_,status:D,statusText:k,url:Me||void 0})),i.complete()):i.error(new zo({error:le,headers:_,status:D,statusText:k,url:Me||void 0}))}),d=this.maybePropagateTrace(_=>{let{url:D}=l(),k=new zo({error:_,status:s.status||0,statusText:s.statusText||"Unknown Error",url:D||void 0});i.error(k)}),h=d;t.timeout&&(h=this.maybePropagateTrace(_=>{let{url:D}=l(),k=new zo({error:new DOMException("Request timed out","TimeoutError"),status:s.status||0,statusText:s.statusText||"Request timeout",url:D||void 0});i.error(k)}));let p=!1,m=this.maybePropagateTrace(_=>{p||(i.next(l()),p=!0);let D={type:Pr.DownloadProgress,loaded:_.loaded};_.lengthComputable&&(D.total=_.total),t.responseType==="text"&&s.responseText&&(D.partialText=s.responseText),i.next(D)}),v=this.maybePropagateTrace(_=>{let D={type:Pr.UploadProgress,loaded:_.loaded};_.lengthComputable&&(D.total=_.total),i.next(D)});return s.addEventListener("load",u),s.addEventListener("error",d),s.addEventListener("timeout",h),s.addEventListener("abort",d),t.reportProgress&&(s.addEventListener("progress",m),a!==null&&s.upload&&s.upload.addEventListener("progress",v)),s.send(a),i.next({type:Pr.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",u),s.removeEventListener("timeout",h),t.reportProgress&&(s.removeEventListener("progress",m),a!==null&&s.upload&&s.upload.removeEventListener("progress",v)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(r){return new(r||e)(T(Fr))};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function rD(e,n){return n(e)}function vx(e,n){return(t,r)=>n.intercept(t,{handle:o=>e(o,r)})}function yx(e,n,t){return(r,o)=>ho(t,()=>n(r,i=>e(i,o)))}var oD=new g(""),tp=new g("",{factory:()=>[]}),iD=new g(""),np=new g("",{factory:()=>!0});function _x(){let e=null;return(n,t)=>{e===null&&(e=(f(oD,{optional:!0})??[]).reduceRight(vx,rD));let r=f(jn);if(f(np)){let i=r.add();return e(n,t).pipe(io(i))}else return e(n,t)}}var rp=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=T(ep),o},providedIn:"root"})}return e})();var hl=(()=>{class e{backend;injector;chain=null;pendingTasks=f(jn);contributeToStability=f(np);constructor(t,r){this.backend=t,this.injector=r}handle(t){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(tp),...this.injector.get(iD,[])]));this.chain=r.reduceRight((o,i)=>yx(o,i,this.injector),rD)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(t,o=>this.backend.handle(o)).pipe(io(r))}else return this.chain(t,r=>this.backend.handle(r))}static \u0275fac=function(r){return new(r||e)(T(rp),T(ue))};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),op=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=T(hl),o},providedIn:"root"})}return e})();function Jh(e,n){return{body:n,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,credentials:e.credentials,transferCache:e.transferCache,timeout:e.timeout,keepalive:e.keepalive,priority:e.priority,cache:e.cache,mode:e.mode,redirect:e.redirect,integrity:e.integrity,referrer:e.referrer,referrerPolicy:e.referrerPolicy}}var pl=(()=>{class e{handler;constructor(t){this.handler=t}request(t,r,o={}){let i;if(t instanceof $o)i=t;else{let c;o.headers instanceof Wn?c=o.headers:c=new Wn(o.headers);let l;o.params&&(o.params instanceof fn?l=o.params:l=new fn({fromObject:o.params})),i=new $o(t,r,o.body!==void 0?o.body:null,{headers:c,context:o.context,params:l,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache,keepalive:o.keepalive,priority:o.priority,cache:o.cache,mode:o.mode,redirect:o.redirect,credentials:o.credentials,referrer:o.referrer,referrerPolicy:o.referrerPolicy,integrity:o.integrity,timeout:o.timeout})}let s=pe(i).pipe(Tu(c=>this.handler.handle(c)));if(t instanceof $o||o.observe==="events")return s;let a=s.pipe(Ce(c=>c instanceof Es));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(X(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new b(2806,!1);return c.body}));case"blob":return a.pipe(X(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new b(2807,!1);return c.body}));case"text":return a.pipe(X(c=>{if(c.body!==null&&typeof c.body!="string")throw new b(2808,!1);return c.body}));default:return a.pipe(X(c=>c.body))}case"response":return a;default:throw new b(2809,!1)}}delete(t,r={}){return this.request("DELETE",t,r)}get(t,r={}){return this.request("GET",t,r)}head(t,r={}){return this.request("HEAD",t,r)}jsonp(t,r){return this.request("JSONP",t,{params:new fn().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,r={}){return this.request("OPTIONS",t,r)}patch(t,r,o={}){return this.request("PATCH",t,Jh(o,r))}post(t,r,o={}){return this.request("POST",t,Jh(o,r))}put(t,r,o={}){return this.request("PUT",t,Jh(o,r))}static \u0275fac=function(r){return new(r||e)(T(op))};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var bx=new g("",{factory:()=>!0}),Dx="XSRF-TOKEN",Ex=new g("",{factory:()=>Dx}),Cx="X-XSRF-TOKEN",wx=new g("",{factory:()=>Cx}),Ix=(()=>{class e{cookieName=f(Ex);doc=f(A);lastCookieString="";lastToken=null;parseCount=0;getToken(){let t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=vs(t,this.cookieName),this.lastCookieString=t),this.lastToken}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),sD=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=T(Ix),o},providedIn:"root"})}return e})();function Sx(e,n){if(!f(bx)||e.method==="GET"||e.method==="HEAD")return n(e);try{let o=f(Uo).href,{origin:i}=new URL(o),{origin:s}=new URL(e.url,i);if(i!==s)return n(e)}catch(o){return n(e)}let t=f(sD).getToken(),r=f(wx);return t!=null&&!e.headers.has(r)&&(e=e.clone({headers:e.headers.set(r,t)})),n(e)}var ip=(function(e){return e[e.Interceptors=0]="Interceptors",e[e.LegacyInterceptors=1]="LegacyInterceptors",e[e.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",e[e.NoXsrfProtection=3]="NoXsrfProtection",e[e.JsonpSupport=4]="JsonpSupport",e[e.RequestsMadeViaParent=5]="RequestsMadeViaParent",e[e.Fetch=6]="Fetch",e})(ip||{});function Mx(e,n){return{\u0275kind:e,\u0275providers:n}}function Tx(...e){let n=[pl,hl,{provide:op,useExisting:hl},{provide:rp,useFactory:()=>f(mx,{optional:!0})??f(ep)},{provide:tp,useValue:Sx,multi:!0}];for(let t of e)n.push(...t.\u0275providers);return uo(n)}var eD=new g("");function Ax(){return Mx(ip.LegacyInterceptors,[{provide:eD,useFactory:_x},{provide:tp,useExisting:eD,multi:!0}])}var Cs=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=T(Nx),o},providedIn:"root"})}return e})(),Nx=(()=>{class e extends Cs{_doc;constructor(t){super(),this._doc=t}sanitize(t,r){if(r==null)return null;switch(t){case be.NONE:return r;case be.HTML:return Gt(r,"HTML")?nt(r):Sc(this._doc,String(r)).toString();case be.STYLE:return Gt(r,"Style")?nt(r):r;case be.SCRIPT:if(Gt(r,"Script"))return nt(r);throw new b(5200,!1);case be.URL:return Gt(r,"URL")?nt(r):es(String(r));case be.RESOURCE_URL:if(Gt(r,"ResourceURL"))return nt(r);throw new b(5201,!1);default:throw new b(5202,!1)}}bypassSecurityTrustHtml(t){return Lf(t)}bypassSecurityTrustStyle(t){return Vf(t)}bypassSecurityTrustScript(t){return jf(t)}bypassSecurityTrustUrl(t){return Bf(t)}bypassSecurityTrustResourceUrl(t){return Hf(t)}static \u0275fac=function(r){return new(r||e)(T(A))};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function ws(e){return e.buttons===0||e.detail===0}function Is(e){let n=e.touches&&e.touches[0]||e.changedTouches&&e.changedTouches[0];return!!n&&n.identifier===-1&&(n.radiusX==null||n.radiusX===1)&&(n.radiusY==null||n.radiusY===1)}var sp;function aD(){if(sp==null){let e=typeof document<"u"?document.head:null;sp=!!(e&&(e.createShadowRoot||e.attachShadow))}return sp}function ap(e){if(aD()){let n=e.getRootNode?e.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&n instanceof ShadowRoot)return n}return null}function Lr(){let e=typeof document<"u"&&document?document.activeElement:null;for(;e&&e.shadowRoot;){let n=e.shadowRoot.activeElement;if(n===e)break;e=n}return e}function $e(e){return e.composedPath?e.composedPath()[0]:e.target}var cp;try{cp=typeof Intl<"u"&&Intl.v8BreakIterator}catch(e){cp=!1}var ie=(()=>{class e{_platformId=f(Nr);isBrowser=this._platformId?Bb(this._platformId):typeof document=="object"&&!!document;EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent);TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent);BLINK=this.isBrowser&&!!(window.chrome||cp)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT;WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT;IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window);FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent);ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT;SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT;constructor(){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Ss;function cD(){if(Ss==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Ss=!0}))}finally{Ss=Ss||!1}return Ss}function Wo(e){return cD()?e:!!e.capture}function Ft(e,n=0){return lD(e)?Number(e):arguments.length===2?n:0}function lD(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}function mt(e){return e instanceof B?e.nativeElement:e}var uD=new g("cdk-input-modality-detector-options"),dD={ignoreKeys:[18,17,224,91,16]},fD=650,lp={passive:!0,capture:!0},hD=(()=>{class e{_platform=f(ie);_listenerCleanups;modalityDetected;modalityChanged;get mostRecentModality(){return this._modality.value}_mostRecentTarget=null;_modality=new ar(null);_options;_lastTouchMs=0;_onKeydown=t=>{this._options?.ignoreKeys?.some(r=>r===t.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=$e(t))};_onMousedown=t=>{Date.now()-this._lastTouchMs<fD||(this._modality.next(ws(t)?"keyboard":"mouse"),this._mostRecentTarget=$e(t))};_onTouchstart=t=>{if(Is(t)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=$e(t)};constructor(){let t=f(M),r=f(A),o=f(uD,{optional:!0});if(this._options=E(E({},dD),o),this.modalityDetected=this._modality.pipe(Ci(1)),this.modalityChanged=this.modalityDetected.pipe(ur()),this._platform.isBrowser){let i=f(Se).createRenderer(null,null);this._listenerCleanups=t.runOutsideAngular(()=>[i.listen(r,"keydown",this._onKeydown,lp),i.listen(r,"mousedown",this._onMousedown,lp),i.listen(r,"touchstart",this._onTouchstart,lp)])}}ngOnDestroy(){this._modality.complete(),this._listenerCleanups?.forEach(t=>t())}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Ms=(function(e){return e[e.IMMEDIATE=0]="IMMEDIATE",e[e.EVENTUAL=1]="EVENTUAL",e})(Ms||{}),pD=new g("cdk-focus-monitor-default-options"),ml=Wo({passive:!0,capture:!0}),qo=(()=>{class e{_ngZone=f(M);_platform=f(ie);_inputModalityDetector=f(hD);_origin=null;_lastFocusOrigin=null;_windowFocused=!1;_windowFocusTimeoutId;_originTimeoutId;_originFromTouchInteraction=!1;_elementInfo=new Map;_monitoredElementCount=0;_rootNodeFocusListenerCount=new Map;_detectionMode;_windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)};_document=f(A);_stopInputModalityDetector=new C;constructor(){let t=f(pD,{optional:!0});this._detectionMode=t?.detectionMode||Ms.IMMEDIATE}_rootNodeFocusAndBlurListener=t=>{let r=$e(t);for(let o=r;o;o=o.parentElement)t.type==="focus"?this._onFocus(t,o):this._onBlur(t,o)};monitor(t,r=!1){let o=mt(t);if(!this._platform.isBrowser||o.nodeType!==1)return pe();let i=ap(o)||this._document,s=this._elementInfo.get(o);if(s)return r&&(s.checkChildren=!0),s.subject;let a={checkChildren:r,subject:new C,rootNode:i};return this._elementInfo.set(o,a),this._registerGlobalListeners(a),a.subject}stopMonitoring(t){let r=mt(t),o=this._elementInfo.get(r);o&&(o.subject.complete(),this._setClasses(r),this._elementInfo.delete(r),this._removeGlobalListeners(o))}focusVia(t,r,o){let i=mt(t),s=this._document.activeElement;i===s?this._getClosestElementsInfo(i).forEach(([a,c])=>this._originChanged(a,r,c)):(this._setOrigin(r),typeof i.focus=="function"&&i.focus(o))}ngOnDestroy(){this._elementInfo.forEach((t,r)=>this.stopMonitoring(r))}_getWindow(){return this._document.defaultView||window}_getFocusOrigin(t){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(t)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:t&&this._isLastInteractionFromInputLabel(t)?"mouse":"program"}_shouldBeAttributedToTouch(t){return this._detectionMode===Ms.EVENTUAL||!!t?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(t,r){t.classList.toggle("cdk-focused",!!r),t.classList.toggle("cdk-touch-focused",r==="touch"),t.classList.toggle("cdk-keyboard-focused",r==="keyboard"),t.classList.toggle("cdk-mouse-focused",r==="mouse"),t.classList.toggle("cdk-program-focused",r==="program")}_setOrigin(t,r=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=t,this._originFromTouchInteraction=t==="touch"&&r,this._detectionMode===Ms.IMMEDIATE){clearTimeout(this._originTimeoutId);let o=this._originFromTouchInteraction?fD:1;this._originTimeoutId=setTimeout(()=>this._origin=null,o)}})}_onFocus(t,r){let o=this._elementInfo.get(r),i=$e(t);!o||!o.checkChildren&&r!==i||this._originChanged(r,this._getFocusOrigin(i),o)}_onBlur(t,r){let o=this._elementInfo.get(r);!o||o.checkChildren&&t.relatedTarget instanceof Node&&r.contains(t.relatedTarget)||(this._setClasses(r),this._emitOrigin(o,null))}_emitOrigin(t,r){t.subject.observers.length&&this._ngZone.run(()=>t.subject.next(r))}_registerGlobalListeners(t){if(!this._platform.isBrowser)return;let r=t.rootNode,o=this._rootNodeFocusListenerCount.get(r)||0;o||this._ngZone.runOutsideAngular(()=>{r.addEventListener("focus",this._rootNodeFocusAndBlurListener,ml),r.addEventListener("blur",this._rootNodeFocusAndBlurListener,ml)}),this._rootNodeFocusListenerCount.set(r,o+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(Kt(this._stopInputModalityDetector)).subscribe(i=>{this._setOrigin(i,!0)}))}_removeGlobalListeners(t){let r=t.rootNode;if(this._rootNodeFocusListenerCount.has(r)){let o=this._rootNodeFocusListenerCount.get(r);o>1?this._rootNodeFocusListenerCount.set(r,o-1):(r.removeEventListener("focus",this._rootNodeFocusAndBlurListener,ml),r.removeEventListener("blur",this._rootNodeFocusAndBlurListener,ml),this._rootNodeFocusListenerCount.delete(r))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(t,r,o){this._setClasses(t,r),this._emitOrigin(o,r),this._lastFocusOrigin=r}_getClosestElementsInfo(t){let r=[];return this._elementInfo.forEach((o,i)=>{(i===t||o.checkChildren&&i.contains(t))&&r.push([i,o])}),r}_isLastInteractionFromInputLabel(t){let{_mostRecentTarget:r,mostRecentModality:o}=this._inputModalityDetector;if(o!=="mouse"||!r||r===t||t.nodeName!=="INPUT"&&t.nodeName!=="TEXTAREA"||t.disabled)return!1;let i=t.labels;if(i){for(let s=0;s<i.length;s++)if(i[s].contains(r))return!0}return!1}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Ox=(()=>{class e{_elementRef=f(B);_focusMonitor=f(qo);_monitorSubscription;_focusOrigin=null;cdkFocusChange=new $;constructor(){}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){let t=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(t,t.nodeType===1&&t.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(r=>{this._focusOrigin=r,this.cdkFocusChange.emit(r)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275dir=N({type:e,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]})}return e})();var gl=new WeakMap,gt=(()=>{class e{_appRef;_injector=f(O);_environmentInjector=f(ue);load(t){let r=this._appRef=this._appRef||this._injector.get(ot),o=gl.get(r);o||(o={loaders:new Set,refs:[]},gl.set(r,o),r.onDestroy(()=>{gl.get(r)?.refs.forEach(i=>i.destroy()),gl.delete(r)})),o.loaders.has(t)||(o.loaders.add(t),o.refs.push(Zc(t,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var yl=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=ae({type:e,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(r,o){},styles:[`.cdk-visually-hidden {
|
|
6
6
|
border: 0;
|
|
7
7
|
clip: rect(0 0 0 0);
|
|
8
8
|
height: 1px;
|
|
@@ -21,7 +21,7 @@ ${t.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
|
|
|
21
21
|
left: auto;
|
|
22
22
|
right: 0;
|
|
23
23
|
}
|
|
24
|
-
`],encapsulation:2,changeDetection:0})}return e})(),_l;function jx(){if(_l===void 0&&(_l=null,typeof window<"u")){let e=window;e.trustedTypes!==void 0&&(_l=e.trustedTypes.createPolicy("angular#components",{createHTML:n=>n}))}return _l}function Vr(e){return jx()?.createHTML(e)||e}function bD(e,n,t){let r=t.sanitize(be.HTML,n);e.innerHTML=Vr(r||"")}function Yo(e){return Array.isArray(e)?e:[e]}var DD=new Set,jr,Dl=(()=>{class e{_platform=f(ie);_nonce=f(Rr,{optional:!0});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Hx}matchMedia(t){return(this._platform.WEBKIT||this._platform.BLINK)&&Bx(t,this._nonce),this._matchMedia(t)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Bx(e,n){if(!DD.has(e))try{jr||(jr=document.createElement("style"),n&&jr.setAttribute("nonce",n),jr.setAttribute("type","text/css"),document.head.appendChild(jr)),jr.sheet&&(jr.sheet.insertRule(`@media ${e} {body{ }}`,0),DD.add(e))}catch(t){console.error(t)}}function Hx(e){return{matches:e==="all"||e==="",media:e,addListener:()=>{},removeListener:()=>{}}}var fp=(()=>{class e{_mediaMatcher=f(Dl);_zone=f(M);_queries=new Map;_destroySubject=new C;constructor(){}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(t){return ED(Yo(t)).some(o=>this._registerQuery(o).mql.matches)}observe(t){let o=ED(Yo(t)).map(s=>this._registerQuery(s).observable),i=Tu(o);return i=ro(i.pipe(qe(1)),i.pipe(Ci(1),In(0))),i.pipe(X(s=>{let a={matches:!1,breakpoints:{}};return s.forEach(({matches:c,query:l})=>{a.matches=a.matches||c,a.breakpoints[l]=c}),a}))}_registerQuery(t){if(this._queries.has(t))return this._queries.get(t);let r=this._mediaMatcher.matchMedia(t),i={observable:new R(s=>{let a=c=>this._zone.run(()=>s.next(c));return r.addListener(a),()=>{r.removeListener(a)}}).pipe(jt(r),X(({matches:s})=>({query:t,matches:s})),Kt(this._destroySubject)),mql:r};return this._queries.set(t,i),i}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function ED(e){return e.map(n=>n.split(",")).reduce((n,t)=>n.concat(t)).map(n=>n.trim())}function Ux(e){if(e.type==="characterData"&&e.target instanceof Comment)return!0;if(e.type==="childList"){for(let n=0;n<e.addedNodes.length;n++)if(!(e.addedNodes[n]instanceof Comment))return!1;for(let n=0;n<e.removedNodes.length;n++)if(!(e.removedNodes[n]instanceof Comment))return!1;return!0}return!1}var CD=(()=>{class e{create(t){return typeof MutationObserver>"u"?null:new MutationObserver(t)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),wD=(()=>{class e{_mutationObserverFactory=f(CD);_observedElements=new Map;_ngZone=f(M);constructor(){}ngOnDestroy(){this._observedElements.forEach((t,r)=>this._cleanupObserver(r))}observe(t){let r=mt(t);return new R(o=>{let s=this._observeElement(r).pipe(X(a=>a.filter(c=>!Ux(c))),Ce(a=>!!a.length)).subscribe(a=>{this._ngZone.run(()=>{o.next(a)})});return()=>{s.unsubscribe(),this._unobserveElement(r)}})}_observeElement(t){return this._ngZone.runOutsideAngular(()=>{if(this._observedElements.has(t))this._observedElements.get(t).count++;else{let r=new C,o=this._mutationObserverFactory.create(i=>r.next(i));o&&o.observe(t,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(t,{observer:o,stream:r,count:1})}return this._observedElements.get(t).stream})}_unobserveElement(t){this._observedElements.has(t)&&(this._observedElements.get(t).count--,this._observedElements.get(t).count||this._cleanupObserver(t))}_cleanupObserver(t){if(this._observedElements.has(t)){let{observer:r,stream:o}=this._observedElements.get(t);r&&r.disconnect(),o.complete(),this._observedElements.delete(t)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),l4=(()=>{class e{_contentObserver=f(wD);_elementRef=f(H);event=new $;get disabled(){return this._disabled}set disabled(t){this._disabled=t,this._disabled?this._unsubscribe():this._subscribe()}_disabled=!1;get debounce(){return this._debounce}set debounce(t){this._debounce=Ft(t),this._subscribe()}_debounce;_currentSubscription=null;constructor(){}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();let t=this._contentObserver.observe(this._elementRef);this._currentSubscription=(this.debounce?t.pipe(In(this.debounce)):t).subscribe(this.event)}_unsubscribe(){this._currentSubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275dir=A({type:e,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[2,"cdkObserveContentDisabled","disabled",re],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]})}return e})(),ID=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=q({type:e});static \u0275inj=G({providers:[CD]})}return e})();var Cl=(()=>{class e{_platform=f(ie);constructor(){}isDisabled(t){return t.hasAttribute("disabled")}isVisible(t){return zx(t)&&getComputedStyle(t).visibility==="visible"}isTabbable(t){if(!this._platform.isBrowser)return!1;let r=$x(Qx(t));if(r&&(SD(r)===-1||!this.isVisible(r)))return!1;let o=t.nodeName.toLowerCase(),i=SD(t);return t.hasAttribute("contenteditable")?i!==-1:o==="iframe"||o==="object"||this._platform.WEBKIT&&this._platform.IOS&&!Kx(t)?!1:o==="audio"?t.hasAttribute("controls")?i!==-1:!1:o==="video"?i===-1?!1:i!==null?!0:this._platform.FIREFOX||t.hasAttribute("controls"):t.tabIndex>=0}isFocusable(t,r){return Xx(t)&&!this.isDisabled(t)&&(r?.ignoreVisibility||this.isVisible(t))}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function $x(e){try{return e.frameElement}catch(n){return null}}function zx(e){return!!(e.offsetWidth||e.offsetHeight||typeof e.getClientRects=="function"&&e.getClientRects().length)}function Gx(e){let n=e.nodeName.toLowerCase();return n==="input"||n==="select"||n==="button"||n==="textarea"}function Wx(e){return Yx(e)&&e.type=="hidden"}function qx(e){return Zx(e)&&e.hasAttribute("href")}function Yx(e){return e.nodeName.toLowerCase()=="input"}function Zx(e){return e.nodeName.toLowerCase()=="a"}function AD(e){if(!e.hasAttribute("tabindex")||e.tabIndex===void 0)return!1;let n=e.getAttribute("tabindex");return!!(n&&!isNaN(parseInt(n,10)))}function SD(e){if(!AD(e))return null;let n=parseInt(e.getAttribute("tabindex")||"",10);return isNaN(n)?-1:n}function Kx(e){let n=e.nodeName.toLowerCase(),t=n==="input"&&e.type;return t==="text"||t==="password"||n==="select"||n==="textarea"}function Xx(e){return Wx(e)?!1:Gx(e)||qx(e)||e.hasAttribute("contenteditable")||AD(e)}function Qx(e){return e.ownerDocument&&e.ownerDocument.defaultView||window}var El=class{_element;_checker;_ngZone;_document;_injector;_startAnchor=null;_endAnchor=null;_hasAttached=!1;startAnchorListener=()=>this.focusLastTabbableElement();endAnchorListener=()=>this.focusFirstTabbableElement();get enabled(){return this._enabled}set enabled(n){this._enabled=n,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}_enabled=!0;constructor(n,t,r,o,i=!1,s){this._element=n,this._checker=t,this._ngZone=r,this._document=o,this._injector=s,i||this.attachAnchors()}destroy(){let n=this._startAnchor,t=this._endAnchor;n&&(n.removeEventListener("focus",this.startAnchorListener),n.remove()),t&&(t.removeEventListener("focus",this.endAnchorListener),t.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return this._hasAttached?!0:(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(n){return new Promise(t=>{this._executeOnStable(()=>t(this.focusInitialElement(n)))})}focusFirstTabbableElementWhenReady(n){return new Promise(t=>{this._executeOnStable(()=>t(this.focusFirstTabbableElement(n)))})}focusLastTabbableElementWhenReady(n){return new Promise(t=>{this._executeOnStable(()=>t(this.focusLastTabbableElement(n)))})}_getRegionBoundary(n){let t=this._element.querySelectorAll(`[cdk-focus-region-${n}], [cdkFocusRegion${n}], [cdk-focus-${n}]`);return n=="start"?t.length?t[0]:this._getFirstTabbableElement(this._element):t.length?t[t.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(n){let t=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(t){if(!this._checker.isFocusable(t)){let r=this._getFirstTabbableElement(t);return r?.focus(n),!!r}return t.focus(n),!0}return this.focusFirstTabbableElement(n)}focusFirstTabbableElement(n){let t=this._getRegionBoundary("start");return t&&t.focus(n),!!t}focusLastTabbableElement(n){let t=this._getRegionBoundary("end");return t&&t.focus(n),!!t}hasAttached(){return this._hasAttached}_getFirstTabbableElement(n){if(this._checker.isFocusable(n)&&this._checker.isTabbable(n))return n;let t=n.children;for(let r=0;r<t.length;r++){let o=t[r].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(t[r]):null;if(o)return o}return null}_getLastTabbableElement(n){if(this._checker.isFocusable(n)&&this._checker.isTabbable(n))return n;let t=n.children;for(let r=t.length-1;r>=0;r--){let o=t[r].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(t[r]):null;if(o)return o}return null}_createAnchor(){let n=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,n),n.classList.add("cdk-visually-hidden"),n.classList.add("cdk-focus-trap-anchor"),n.setAttribute("aria-hidden","true"),n}_toggleAnchorTabIndex(n,t){n?t.setAttribute("tabindex","0"):t.removeAttribute("tabindex")}toggleAnchors(n){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}_executeOnStable(n){this._injector?Rt(n,{injector:this._injector}):setTimeout(n)}},wl=(()=>{class e{_checker=f(Cl);_ngZone=f(M);_document=f(x);_injector=f(O);constructor(){f(gt).load(bl)}create(t,r=!1){return new El(t,this._checker,this._ngZone,this._document,r,this._injector)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Jx=(()=>{class e{_elementRef=f(H);_focusTrapFactory=f(wl);focusTrap=void 0;_previouslyFocusedElement=null;get enabled(){return this.focusTrap?.enabled||!1}set enabled(t){this.focusTrap&&(this.focusTrap.enabled=t)}autoCapture=!1;constructor(){f(ie).isBrowser&&(this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0))}ngOnDestroy(){this.focusTrap?.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap?.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap&&!this.focusTrap.hasAttached()&&this.focusTrap.attachAnchors()}ngOnChanges(t){let r=t.autoCapture;r&&!r.firstChange&&this.autoCapture&&this.focusTrap?.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=Lr(),this.focusTrap?.focusInitialElementWhenReady()}static \u0275fac=function(r){return new(r||e)};static \u0275dir=A({type:e,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:[2,"cdkTrapFocus","enabled",re],autoCapture:[2,"cdkTrapFocusAutoCapture","autoCapture",re]},exportAs:["cdkTrapFocus"],features:[Ue]})}return e})(),xD=new g("liveAnnouncerElement",{providedIn:"root",factory:()=>null}),ND=new g("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),eN=0,tN=(()=>{class e{_ngZone=f(M);_defaultOptions=f(ND,{optional:!0});_liveElement;_document=f(x);_sanitizer=f(ws);_previousTimeout;_currentPromise;_currentResolve;constructor(){let t=f(xD,{optional:!0});this._liveElement=t||this._createLiveElement()}announce(t,...r){let o=this._defaultOptions,i,s;return r.length===1&&typeof r[0]=="number"?s=r[0]:[i,s]=r,this.clear(),clearTimeout(this._previousTimeout),i||(i=o&&o.politeness?o.politeness:"polite"),s==null&&o&&(s=o.duration),this._liveElement.setAttribute("aria-live",i),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(a=>this._currentResolve=a)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{!t||typeof t=="string"?this._liveElement.textContent=t:bD(this._liveElement,t,this._sanitizer),typeof s=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),s)),this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){let t="cdk-live-announcer-element",r=this._document.getElementsByClassName(t),o=this._document.createElement("div");for(let i=0;i<r.length;i++)r[i].remove();return o.classList.add(t),o.classList.add("cdk-visually-hidden"),o.setAttribute("aria-atomic","true"),o.setAttribute("aria-live","polite"),o.id=`cdk-live-announcer-${eN++}`,this._document.body.appendChild(o),o}_exposeAnnouncerToModals(t){let r=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let o=0;o<r.length;o++){let i=r[o],s=i.getAttribute("aria-owns");s?s.indexOf(t)===-1&&i.setAttribute("aria-owns",s+" "+t):i.setAttribute("aria-owns",t)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var qn=(function(e){return e[e.NONE=0]="NONE",e[e.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",e[e.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",e})(qn||{}),MD="cdk-high-contrast-black-on-white",TD="cdk-high-contrast-white-on-black",hp="cdk-high-contrast-active",RD=(()=>{class e{_platform=f(ie);_hasCheckedHighContrastMode=!1;_document=f(x);_breakpointSubscription;constructor(){this._breakpointSubscription=f(fp).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return qn.NONE;let t=this._document.createElement("div");t.style.backgroundColor="rgb(1,2,3)",t.style.position="absolute",this._document.body.appendChild(t);let r=this._document.defaultView||window,o=r&&r.getComputedStyle?r.getComputedStyle(t):null,i=(o&&o.backgroundColor||"").replace(/ /g,"");switch(t.remove(),i){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return qn.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return qn.BLACK_ON_WHITE}return qn.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let t=this._document.body.classList;t.remove(hp,MD,TD),this._hasCheckedHighContrastMode=!0;let r=this.getHighContrastMode();r===qn.BLACK_ON_WHITE?t.add(hp,MD):r===qn.WHITE_ON_BLACK&&t.add(hp,TD)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),pp=(()=>{class e{constructor(){f(RD)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(r){return new(r||e)};static \u0275mod=q({type:e});static \u0275inj=G({imports:[ID]})}return e})();var nN=200,Zo=class{_letterKeyStream=new C;_items=[];_selectedItemIndex=-1;_pressedLetters=[];_skipPredicateFn;_selectedItem=new C;selectedItem=this._selectedItem;constructor(n,t){let r=typeof t?.debounceInterval=="number"?t.debounceInterval:nN;t?.skipPredicate&&(this._skipPredicateFn=t.skipPredicate),this.setItems(n),this._setupKeyHandler(r)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(n){this._selectedItemIndex=n}setItems(n){this._items=n}handleKey(n){let t=n.keyCode;n.key&&n.key.length===1?this._letterKeyStream.next(n.key.toLocaleUpperCase()):(t>=65&&t<=90||t>=48&&t<=57)&&this._letterKeyStream.next(String.fromCharCode(t))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(n){this._letterKeyStream.pipe(Sn(t=>this._pressedLetters.push(t)),In(n),Ce(()=>this._pressedLetters.length>0),X(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(t=>{for(let r=1;r<this._items.length+1;r++){let o=(this._selectedItemIndex+r)%this._items.length,i=this._items[o];if(!this._skipPredicateFn?.(i)&&i.getLabel?.().toLocaleUpperCase().trim().indexOf(t)===0){this._selectedItem.next(i);break}}this._pressedLetters=[]})}};function Yn(e,...n){return n.length?n.some(t=>e[t]):e.altKey||e.shiftKey||e.ctrlKey||e.metaKey}var Ko=class{_items;_activeItemIndex=se(-1);_activeItem=se(null);_wrap=!1;_typeaheadSubscription=B.EMPTY;_itemChangesSubscription;_vertical=!0;_horizontal=null;_allowedModifierKeys=[];_homeAndEnd=!1;_pageUpAndDown={enabled:!1,delta:10};_effectRef;_typeahead;_skipPredicateFn=n=>n.disabled;constructor(n,t){this._items=n,n instanceof on?this._itemChangesSubscription=n.changes.subscribe(r=>this._itemsChanged(r.toArray())):jo(n)&&(this._effectRef=wr(()=>this._itemsChanged(n()),{injector:t}))}tabOut=new C;change=new C;skipPredicate(n){return this._skipPredicateFn=n,this}withWrap(n=!0){return this._wrap=n,this}withVerticalOrientation(n=!0){return this._vertical=n,this}withHorizontalOrientation(n){return this._horizontal=n,this}withAllowedModifierKeys(n){return this._allowedModifierKeys=n,this}withTypeAhead(n=200){this._typeaheadSubscription.unsubscribe();let t=this._getItemsArray();return this._typeahead=new Zo(t,{debounceInterval:typeof n=="number"?n:void 0,skipPredicate:r=>this._skipPredicateFn(r)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(r=>{this.setActiveItem(r)}),this}cancelTypeahead(){return this._typeahead?.reset(),this}withHomeAndEnd(n=!0){return this._homeAndEnd=n,this}withPageUpDown(n=!0,t=10){return this._pageUpAndDown={enabled:n,delta:t},this}setActiveItem(n){let t=this._activeItem();this.updateActiveItem(n),this._activeItem()!==t&&this.change.next(this._activeItemIndex())}onKeydown(n){let t=n.keyCode,o=["altKey","ctrlKey","metaKey","shiftKey"].every(i=>!n[i]||this._allowedModifierKeys.indexOf(i)>-1);switch(t){case 9:this.tabOut.next();return;case 40:if(this._vertical&&o){this.setNextItemActive();break}else return;case 38:if(this._vertical&&o){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&o){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&o){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&o){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&o){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&o){let i=this._activeItemIndex()-this._pageUpAndDown.delta;this._setActiveItemByIndex(i>0?i:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&o){let i=this._activeItemIndex()+this._pageUpAndDown.delta,s=this._getItemsArray().length;this._setActiveItemByIndex(i<s?i:s-1,-1);break}else return;default:(o||Yn(n,"shiftKey"))&&this._typeahead?.handleKey(n);return}this._typeahead?.reset(),n.preventDefault()}get activeItemIndex(){return this._activeItemIndex()}get activeItem(){return this._activeItem()}isTyping(){return!!this._typeahead&&this._typeahead.isTyping()}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._getItemsArray().length-1,-1)}setNextItemActive(){this._activeItemIndex()<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex()<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(n){let t=this._getItemsArray(),r=typeof n=="number"?n:t.indexOf(n),o=t[r];this._activeItem.set(o??null),this._activeItemIndex.set(r),this._typeahead?.setCurrentSelectedItemIndex(r)}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._effectRef?.destroy(),this._typeahead?.destroy(),this.tabOut.complete(),this.change.complete()}_setActiveItemByDelta(n){this._wrap?this._setActiveInWrapMode(n):this._setActiveInDefaultMode(n)}_setActiveInWrapMode(n){let t=this._getItemsArray();for(let r=1;r<=t.length;r++){let o=(this._activeItemIndex()+n*r+t.length)%t.length,i=t[o];if(!this._skipPredicateFn(i)){this.setActiveItem(o);return}}}_setActiveInDefaultMode(n){this._setActiveItemByIndex(this._activeItemIndex()+n,n)}_setActiveItemByIndex(n,t){let r=this._getItemsArray();if(r[n]){for(;this._skipPredicateFn(r[n]);)if(n+=t,!r[n])return;this.setActiveItem(n)}}_getItemsArray(){return jo(this._items)?this._items():this._items instanceof on?this._items.toArray():this._items}_itemsChanged(n){this._typeahead?.setItems(n);let t=this._activeItem();if(t){let r=n.indexOf(t);r>-1&&r!==this._activeItemIndex()&&(this._activeItemIndex.set(r),this._typeahead?.setCurrentSelectedItemIndex(r))}}};var mp=class extends Ko{setActiveItem(n){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(n),this.activeItem&&this.activeItem.setActiveStyles()}};var gp=class extends Ko{_origin="program";setFocusOrigin(n){return this._origin=n,this}setActiveItem(n){super.setActiveItem(n),this.activeItem&&this.activeItem.focus(this._origin)}};function vp(e){return Zt(e)?e:pe(e)}var yp=class{_activeItemIndex=-1;_activeItem=null;_shouldActivationFollowFocus=!1;_horizontalOrientation="ltr";_skipPredicateFn=n=>!1;_trackByFn=n=>n;_items=[];_typeahead;_typeaheadSubscription=B.EMPTY;_hasInitialFocused=!1;_initializeFocus(){if(this._hasInitialFocused||this._items.length===0)return;let n=0;for(let r=0;r<this._items.length;r++)if(!this._skipPredicateFn(this._items[r])&&!this._isItemDisabled(this._items[r])){n=r;break}let t=this._items[n];t.makeFocusable?(this._activeItem?.unfocus(),this._activeItemIndex=n,this._activeItem=t,this._typeahead?.setCurrentSelectedItemIndex(n),t.makeFocusable()):this.focusItem(n),this._hasInitialFocused=!0}constructor(n,t){n instanceof on?(this._items=n.toArray(),n.changes.subscribe(r=>this._itemsChanged(r.toArray()))):Zt(n)?n.subscribe(r=>this._itemsChanged(r)):(this._items=n,this._initializeFocus()),typeof t.shouldActivationFollowFocus=="boolean"&&(this._shouldActivationFollowFocus=t.shouldActivationFollowFocus),t.horizontalOrientation&&(this._horizontalOrientation=t.horizontalOrientation),t.skipPredicate&&(this._skipPredicateFn=t.skipPredicate),t.trackBy&&(this._trackByFn=t.trackBy),typeof t.typeAheadDebounceInterval<"u"&&this._setTypeAhead(t.typeAheadDebounceInterval)}change=new C;destroy(){this._typeaheadSubscription.unsubscribe(),this._typeahead?.destroy(),this.change.complete()}onKeydown(n){switch(n.key){case"Tab":return;case"ArrowDown":this._focusNextItem();break;case"ArrowUp":this._focusPreviousItem();break;case"ArrowRight":this._horizontalOrientation==="rtl"?this._collapseCurrentItem():this._expandCurrentItem();break;case"ArrowLeft":this._horizontalOrientation==="rtl"?this._expandCurrentItem():this._collapseCurrentItem();break;case"Home":this._focusFirstItem();break;case"End":this._focusLastItem();break;case"Enter":case" ":this._activateCurrentItem();break;default:if(n.key==="*"){this._expandAllItemsAtCurrentItemLevel();break}this._typeahead?.handleKey(n);return}this._typeahead?.reset(),n.preventDefault()}getActiveItemIndex(){return this._activeItemIndex}getActiveItem(){return this._activeItem}_itemsChanged(n){this._hasInitialFocused&&this._activeItem&&!n.includes(this._activeItem)&&(this._activeItem=null,this._hasInitialFocused=!1),this._items=n,this._typeahead?.setItems(this._items),this._updateActiveItemIndex(this._items),this._initializeFocus()}_focusFirstItem(){this.focusItem(this._findNextAvailableItemIndex(-1))}_focusLastItem(){this.focusItem(this._findPreviousAvailableItemIndex(this._items.length))}_focusNextItem(){this.focusItem(this._findNextAvailableItemIndex(this._activeItemIndex))}_focusPreviousItem(){this.focusItem(this._findPreviousAvailableItemIndex(this._activeItemIndex))}focusItem(n,t={}){t.emitChangeEvent??=!0;let r=typeof n=="number"?n:this._items.findIndex(s=>this._trackByFn(s)===this._trackByFn(n));if(r<0||r>=this._items.length)return;let o=this._items[r];if(this._activeItem!==null&&this._trackByFn(o)===this._trackByFn(this._activeItem))return;let i=this._activeItem;this._activeItem=o??null,this._activeItemIndex=r,this._typeahead?.setCurrentSelectedItemIndex(r),this._activeItem?.focus(),i?.unfocus(),t.emitChangeEvent&&this.change.next(this._activeItem),this._shouldActivationFollowFocus&&this._activateCurrentItem()}_updateActiveItemIndex(n){let t=this._activeItem;if(!t)return;let r=n.findIndex(o=>this._trackByFn(o)===this._trackByFn(t));r>-1&&r!==this._activeItemIndex&&(this._activeItemIndex=r,this._typeahead?.setCurrentSelectedItemIndex(r))}_setTypeAhead(n){this._typeahead=new Zo(this._items,{debounceInterval:typeof n=="number"?n:void 0,skipPredicate:t=>this._skipPredicateFn(t)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(t=>{this.focusItem(t)})}_findNextAvailableItemIndex(n){for(let t=n+1;t<this._items.length;t++)if(!this._skipPredicateFn(this._items[t]))return t;return n}_findPreviousAvailableItemIndex(n){for(let t=n-1;t>=0;t--)if(!this._skipPredicateFn(this._items[t]))return t;return n}_collapseCurrentItem(){if(this._activeItem)if(this._isCurrentItemExpanded())this._activeItem.collapse();else{let n=this._activeItem.getParent();if(!n||this._skipPredicateFn(n))return;this.focusItem(n)}}_expandCurrentItem(){this._activeItem&&(this._isCurrentItemExpanded()?vp(this._activeItem.getChildren()).pipe(qe(1)).subscribe(n=>{let t=n.find(r=>!this._skipPredicateFn(r));t&&this.focusItem(t)}):this._activeItem.expand())}_isCurrentItemExpanded(){return this._activeItem?typeof this._activeItem.isExpanded=="boolean"?this._activeItem.isExpanded:this._activeItem.isExpanded():!1}_isItemDisabled(n){return typeof n.isDisabled=="boolean"?n.isDisabled:n.isDisabled?.()}_expandAllItemsAtCurrentItemLevel(){if(!this._activeItem)return;let n=this._activeItem.getParent(),t;n?t=vp(n.getChildren()):t=pe(this._items.filter(r=>r.getParent()===null)),t.pipe(qe(1)).subscribe(r=>{for(let o of r)o.expand()})}_activateCurrentItem(){this._activeItem?.activate()}},r5=new g("tree-key-manager",{providedIn:"root",factory:()=>(e,n)=>new yp(e,n)});var _p={},qt=class e{_appId=f($n);static _infix=`a${Math.floor(Math.random()*1e5).toString()}`;getId(n,t=!1){return this._appId!=="ng"&&(n+=this._appId),_p.hasOwnProperty(n)||(_p[n]=0),`${n}${t?e._infix+"-":""}${_p[n]++}`}static \u0275fac=function(t){return new(t||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})};var kD=" ";function rN(e,n,t){let r=Sl(e,n);t=t.trim(),!r.some(o=>o.trim()===t)&&(r.push(t),e.setAttribute(n,r.join(kD)))}function oN(e,n,t){let r=Sl(e,n);t=t.trim();let o=r.filter(i=>i!==t);o.length?e.setAttribute(n,o.join(kD)):e.removeAttribute(n)}function Sl(e,n){return e.getAttribute(n)?.match(/\S+/g)??[]}var FD="cdk-describedby-message",Il="cdk-describedby-host",Dp=0,g5=(()=>{class e{_platform=f(ie);_document=f(x);_messageRegistry=new Map;_messagesContainer=null;_id=`${Dp++}`;constructor(){f(gt).load(bl),this._id=f($n)+"-"+Dp++}describe(t,r,o){if(!this._canBeDescribed(t,r))return;let i=bp(r,o);typeof r!="string"?(OD(r,this._id),this._messageRegistry.set(i,{messageElement:r,referenceCount:0})):this._messageRegistry.has(i)||this._createMessageElement(r,o),this._isElementDescribedByMessage(t,i)||this._addMessageReference(t,i)}removeDescription(t,r,o){if(!r||!this._isElementNode(t))return;let i=bp(r,o);if(this._isElementDescribedByMessage(t,i)&&this._removeMessageReference(t,i),typeof r=="string"){let s=this._messageRegistry.get(i);s&&s.referenceCount===0&&this._deleteMessageElement(i)}this._messagesContainer?.childNodes.length===0&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){let t=this._document.querySelectorAll(`[${Il}="${this._id}"]`);for(let r=0;r<t.length;r++)this._removeCdkDescribedByReferenceIds(t[r]),t[r].removeAttribute(Il);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(t,r){let o=this._document.createElement("div");OD(o,this._id),o.textContent=t,r&&o.setAttribute("role",r),this._createMessagesContainer(),this._messagesContainer.appendChild(o),this._messageRegistry.set(bp(t,r),{messageElement:o,referenceCount:0})}_deleteMessageElement(t){this._messageRegistry.get(t)?.messageElement?.remove(),this._messageRegistry.delete(t)}_createMessagesContainer(){if(this._messagesContainer)return;let t="cdk-describedby-message-container",r=this._document.querySelectorAll(`.${t}[platform="server"]`);for(let i=0;i<r.length;i++)r[i].remove();let o=this._document.createElement("div");o.style.visibility="hidden",o.classList.add(t),o.classList.add("cdk-visually-hidden"),this._platform.isBrowser||o.setAttribute("platform","server"),this._document.body.appendChild(o),this._messagesContainer=o}_removeCdkDescribedByReferenceIds(t){let r=Sl(t,"aria-describedby").filter(o=>o.indexOf(FD)!=0);t.setAttribute("aria-describedby",r.join(" "))}_addMessageReference(t,r){let o=this._messageRegistry.get(r);rN(t,"aria-describedby",o.messageElement.id),t.setAttribute(Il,this._id),o.referenceCount++}_removeMessageReference(t,r){let o=this._messageRegistry.get(r);o.referenceCount--,oN(t,"aria-describedby",o.messageElement.id),t.removeAttribute(Il)}_isElementDescribedByMessage(t,r){let o=Sl(t,"aria-describedby"),i=this._messageRegistry.get(r),s=i&&i.messageElement.id;return!!s&&o.indexOf(s)!=-1}_canBeDescribed(t,r){if(!this._isElementNode(t))return!1;if(r&&typeof r=="object")return!0;let o=r==null?"":`${r}`.trim(),i=t.getAttribute("aria-label");return o?!i||i.trim()!==o:!1}_isElementNode(t){return t.nodeType===this._document.ELEMENT_NODE}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function bp(e,n){return typeof e=="string"?`${n||""}/${e}`:e}function OD(e,n){e.id||(e.id=`${FD}-${n}-${Dp++}`)}function Ep(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function ve(e){return e==null?"":typeof e=="string"?e:`${e}px`}var iN=new g("cdk-dir-doc",{providedIn:"root",factory:()=>f(x)}),sN=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function PD(e){let n=e?.toLowerCase()||"";return n==="auto"&&typeof navigator<"u"&&navigator?.language?sN.test(navigator.language)?"rtl":"ltr":n==="rtl"?"rtl":"ltr"}var hn=(()=>{class e{get value(){return this.valueSignal()}valueSignal=se("ltr");change=new $;constructor(){let t=f(iN,{optional:!0});if(t){let r=t.body?t.body.dir:null,o=t.documentElement?t.documentElement.dir:null;this.valueSignal.set(PD(r||o||"ltr"))}}ngOnDestroy(){this.change.complete()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Pt=(function(e){return e[e.NORMAL=0]="NORMAL",e[e.NEGATED=1]="NEGATED",e[e.INVERTED=2]="INVERTED",e})(Pt||{}),Ml,Br;function Tl(){if(Br==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return Br=!1,Br;if(document.documentElement?.style&&"scrollBehavior"in document.documentElement.style)Br=!0;else{let e=Element.prototype.scrollTo;e?Br=!/\{\s*\[native code\]\s*\}/.test(e.toString()):Br=!1}}return Br}function Xo(){if(typeof document!="object"||!document)return Pt.NORMAL;if(Ml==null){let e=document.createElement("div"),n=e.style;e.dir="rtl",n.width="1px",n.overflow="auto",n.visibility="hidden",n.pointerEvents="none",n.position="absolute";let t=document.createElement("div"),r=t.style;r.width="2px",r.height="1px",e.appendChild(t),document.body.appendChild(e),Ml=Pt.NORMAL,e.scrollLeft===0&&(e.scrollLeft=1,Ml=e.scrollLeft===0?Pt.NEGATED:Pt.INVERTED),e.remove()}return Ml}var Al=class{};function LD(e){return e&&typeof e.connect=="function"&&!(e instanceof hi)}var xl=class extends Al{_data;constructor(n){super(),this._data=n}connect(){return Zt(this._data)?this._data:pe(this._data)}disconnect(){}},As=(function(e){return e[e.REPLACED=0]="REPLACED",e[e.INSERTED=1]="INSERTED",e[e.MOVED=2]="MOVED",e[e.REMOVED=3]="REMOVED",e})(As||{}),Nl=class{viewCacheSize=20;_viewCache=[];applyChanges(n,t,r,o,i){n.forEachOperation((s,a,c)=>{let l,u;if(s.previousIndex==null){let d=()=>r(s,a,c);l=this._insertView(d,c,t,o(s)),u=l?As.INSERTED:As.REPLACED}else c==null?(this._detachAndCacheView(a,t),u=As.REMOVED):(l=this._moveView(a,c,t,o(s)),u=As.MOVED);i&&i({context:l?.context,operation:u,record:s})})}detach(){for(let n of this._viewCache)n.destroy();this._viewCache=[]}_insertView(n,t,r,o){let i=this._insertViewFromCache(t,r);if(i){i.context.$implicit=o;return}let s=n();return r.createEmbeddedView(s.templateRef,s.context,s.index)}_detachAndCacheView(n,t){let r=t.detach(n);this._maybeCacheView(r,t)}_moveView(n,t,r,o){let i=r.get(n);return r.move(i,t),i.context.$implicit=o,i}_maybeCacheView(n,t){if(this._viewCache.length<this.viewCacheSize)this._viewCache.push(n);else{let r=t.indexOf(n);r===-1?n.destroy():t.remove(r)}}_insertViewFromCache(n,t){let r=this._viewCache.pop();return r&&t.insert(r,n),r||null}};var st=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=q({type:e});static \u0275inj=G({})}return e})();var aN=["contentWrapper"],cN=["*"],BD=new g("VIRTUAL_SCROLL_STRATEGY"),Cp=class{_scrolledIndexChange=new C;scrolledIndexChange=this._scrolledIndexChange.pipe(ur());_viewport=null;_itemSize;_minBufferPx;_maxBufferPx;constructor(n,t,r){this._itemSize=n,this._minBufferPx=t,this._maxBufferPx=r}attach(n){this._viewport=n,this._updateTotalContentSize(),this._updateRenderedRange()}detach(){this._scrolledIndexChange.complete(),this._viewport=null}updateItemAndBufferSize(n,t,r){r<t,this._itemSize=n,this._minBufferPx=t,this._maxBufferPx=r,this._updateTotalContentSize(),this._updateRenderedRange()}onContentScrolled(){this._updateRenderedRange()}onDataLengthChanged(){this._updateTotalContentSize(),this._updateRenderedRange()}onContentRendered(){}onRenderedOffsetChanged(){}scrollToIndex(n,t){this._viewport&&this._viewport.scrollToOffset(n*this._itemSize,t)}_updateTotalContentSize(){this._viewport&&this._viewport.setTotalContentSize(this._viewport.getDataLength()*this._itemSize)}_updateRenderedRange(){if(!this._viewport)return;let n=this._viewport.getRenderedRange(),t={start:n.start,end:n.end},r=this._viewport.getViewportSize(),o=this._viewport.getDataLength(),i=this._viewport.measureScrollOffset(),s=this._itemSize>0?i/this._itemSize:0;if(t.end>o){let c=Math.ceil(r/this._itemSize),l=Math.max(0,Math.min(s,o-c));s!=l&&(s=l,i=l*this._itemSize,t.start=Math.floor(s)),t.end=Math.max(0,Math.min(o,t.start+c))}let a=i-t.start*this._itemSize;if(a<this._minBufferPx&&t.start!=0){let c=Math.ceil((this._maxBufferPx-a)/this._itemSize);t.start=Math.max(0,t.start-c),t.end=Math.min(o,Math.ceil(s+(r+this._minBufferPx)/this._itemSize))}else{let c=t.end*this._itemSize-(i+r);if(c<this._minBufferPx&&t.end!=o){let l=Math.ceil((this._maxBufferPx-c)/this._itemSize);l>0&&(t.end=Math.min(o,t.end+l),t.start=Math.max(0,Math.floor(s-this._minBufferPx/this._itemSize)))}}this._viewport.setRenderedRange(t),this._viewport.setRenderedContentOffset(Math.round(this._itemSize*t.start)),this._scrolledIndexChange.next(Math.floor(s))}};function lN(e){return e._scrollStrategy}var uN=(()=>{class e{get itemSize(){return this._itemSize}set itemSize(t){this._itemSize=Ft(t)}_itemSize=20;get minBufferPx(){return this._minBufferPx}set minBufferPx(t){this._minBufferPx=Ft(t)}_minBufferPx=100;get maxBufferPx(){return this._maxBufferPx}set maxBufferPx(t){this._maxBufferPx=Ft(t)}_maxBufferPx=200;_scrollStrategy=new Cp(this.itemSize,this.minBufferPx,this.maxBufferPx);ngOnChanges(){this._scrollStrategy.updateItemAndBufferSize(this.itemSize,this.minBufferPx,this.maxBufferPx)}static \u0275fac=function(r){return new(r||e)};static \u0275dir=A({type:e,selectors:[["cdk-virtual-scroll-viewport","itemSize",""]],inputs:{itemSize:"itemSize",minBufferPx:"minBufferPx",maxBufferPx:"maxBufferPx"},features:[Pe([{provide:BD,useFactory:lN,deps:[Te(()=>e)]}]),Ue]})}return e})(),dN=20,xs=(()=>{class e{_ngZone=f(M);_platform=f(ie);_renderer=f(Se).createRenderer(null,null);_cleanupGlobalListener;constructor(){}_scrolled=new C;_scrolledCount=0;scrollContainers=new Map;register(t){this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(()=>this._scrolled.next(t)))}deregister(t){let r=this.scrollContainers.get(t);r&&(r.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=dN){return this._platform.isBrowser?new R(r=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen("document","scroll",()=>this._scrolled.next())));let o=t>0?this._scrolled.pipe(oo(t)).subscribe(r):this._scrolled.subscribe(r);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||(this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0)}}):pe()}ngOnDestroy(){this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0,this.scrollContainers.forEach((t,r)=>this.deregister(r)),this._scrolled.complete()}ancestorScrolled(t,r){let o=this.getAncestorScrollContainers(t);return this.scrolled(r).pipe(Ce(i=>!i||o.indexOf(i)>-1))}getAncestorScrollContainers(t){let r=[];return this.scrollContainers.forEach((o,i)=>{this._scrollableContainsElement(i,t)&&r.push(i)}),r}_scrollableContainsElement(t,r){let o=mt(r),i=t.getElementRef().nativeElement;do if(o==i)return!0;while(o=o.parentElement);return!1}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Ns=(()=>{class e{elementRef=f(H);scrollDispatcher=f(xs);ngZone=f(M);dir=f(hn,{optional:!0});_scrollElement=this.elementRef.nativeElement;_destroyed=new C;_renderer=f(Xe);_cleanupScroll;_elementScrolled=new C;constructor(){}ngOnInit(){this._cleanupScroll=this.ngZone.runOutsideAngular(()=>this._renderer.listen(this._scrollElement,"scroll",t=>this._elementScrolled.next(t))),this.scrollDispatcher.register(this)}ngOnDestroy(){this._cleanupScroll?.(),this._elementScrolled.complete(),this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(t){let r=this.elementRef.nativeElement,o=this.dir&&this.dir.value=="rtl";t.left==null&&(t.left=o?t.end:t.start),t.right==null&&(t.right=o?t.start:t.end),t.bottom!=null&&(t.top=r.scrollHeight-r.clientHeight-t.bottom),o&&Xo()!=Pt.NORMAL?(t.left!=null&&(t.right=r.scrollWidth-r.clientWidth-t.left),Xo()==Pt.INVERTED?t.left=t.right:Xo()==Pt.NEGATED&&(t.left=t.right?-t.right:t.right)):t.right!=null&&(t.left=r.scrollWidth-r.clientWidth-t.right),this._applyScrollToOptions(t)}_applyScrollToOptions(t){let r=this.elementRef.nativeElement;Tl()?r.scrollTo(t):(t.top!=null&&(r.scrollTop=t.top),t.left!=null&&(r.scrollLeft=t.left))}measureScrollOffset(t){let r="left",o="right",i=this.elementRef.nativeElement;if(t=="top")return i.scrollTop;if(t=="bottom")return i.scrollHeight-i.clientHeight-i.scrollTop;let s=this.dir&&this.dir.value=="rtl";return t=="start"?t=s?o:r:t=="end"&&(t=s?r:o),s&&Xo()==Pt.INVERTED?t==r?i.scrollWidth-i.clientWidth-i.scrollLeft:i.scrollLeft:s&&Xo()==Pt.NEGATED?t==r?i.scrollLeft+i.scrollWidth-i.clientWidth:-i.scrollLeft:t==r?i.scrollLeft:i.scrollWidth-i.clientWidth-i.scrollLeft}static \u0275fac=function(r){return new(r||e)};static \u0275dir=A({type:e,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]})}return e})(),fN=20,Hr=(()=>{class e{_platform=f(ie);_listeners;_viewportSize=null;_change=new C;_document=f(x);constructor(){let t=f(M),r=f(Se).createRenderer(null,null);t.runOutsideAngular(()=>{if(this._platform.isBrowser){let o=i=>this._change.next(i);this._listeners=[r.listen("window","resize",o),r.listen("window","orientationchange",o)]}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){this._listeners?.forEach(t=>t()),this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}getViewportRect(){let t=this.getViewportScrollPosition(),{width:r,height:o}=this.getViewportSize();return{top:t.top,left:t.left,bottom:t.top+o,right:t.left+r,height:o,width:r}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let t=this._document,r=this._getWindow(),o=t.documentElement,i=o.getBoundingClientRect(),s=-i.top||t.body?.scrollTop||r.scrollY||o.scrollTop||0,a=-i.left||t.body?.scrollLeft||r.scrollX||o.scrollLeft||0;return{top:s,left:a}}change(t=fN){return t>0?this._change.pipe(oo(t)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),VD=new g("VIRTUAL_SCROLLABLE"),hN=(()=>{class e extends Ns{constructor(){super()}measureViewportSize(t){let r=this.elementRef.nativeElement;return t==="horizontal"?r.clientWidth:r.clientHeight}static \u0275fac=function(r){return new(r||e)};static \u0275dir=A({type:e,features:[W]})}return e})();function pN(e,n){return e.start==n.start&&e.end==n.end}var mN=typeof requestAnimationFrame<"u"?Iu:wu,HD=new g("CDK_VIRTUAL_SCROLL_VIEWPORT"),gN=(()=>{class e extends hN{elementRef=f(H);_changeDetectorRef=f(kr);_scrollStrategy=f(BD,{optional:!0});scrollable=f(VD,{optional:!0});_platform=f(ie);_detachedSubject=new C;_renderedRangeSubject=new C;_renderedContentOffsetSubject=new C;get orientation(){return this._orientation}set orientation(t){this._orientation!==t&&(this._orientation=t,this._calculateSpacerSize())}_orientation="vertical";appendOnly=!1;scrolledIndexChange=new R(t=>this._scrollStrategy.scrolledIndexChange.subscribe(r=>Promise.resolve().then(()=>this.ngZone.run(()=>t.next(r)))));_contentWrapper;renderedRangeStream=this._renderedRangeSubject;renderedContentOffset=this._renderedContentOffsetSubject.pipe(Ce(t=>t!==null),ur());_totalContentSize=0;_totalContentWidth=se("");_totalContentHeight=se("");_renderedContentTransform;_renderedRange={start:0,end:0};_dataLength=0;_viewportSize=0;_forOf=null;_renderedContentOffset=0;_renderedContentOffsetNeedsRewrite=!1;_changeDetectionNeeded=se(!1);_runAfterChangeDetection=[];_viewportChanges=B.EMPTY;_injector=f(O);_isDestroyed=!1;constructor(){super();let t=f(Hr);this._scrollStrategy,this._viewportChanges=t.change().subscribe(()=>{this.checkViewportSize()}),this.scrollable||(this.elementRef.nativeElement.classList.add("cdk-virtual-scrollable"),this.scrollable=this);let r=wr(()=>{this._changeDetectionNeeded()&&this._doChangeDetection()},{injector:f(ot).injector});f(Ye).onDestroy(()=>{r.destroy()})}ngOnInit(){this._platform.isBrowser&&(this.scrollable===this&&super.ngOnInit(),this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._measureViewportSize(),this._scrollStrategy.attach(this),this.scrollable.elementScrolled().pipe(jt(null),oo(0,mN),Kt(this._destroyed)).subscribe(()=>this._scrollStrategy.onContentScrolled()),this._markChangeDetectionNeeded()})))}ngOnDestroy(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),this._viewportChanges.unsubscribe(),this._isDestroyed=!0,super.ngOnDestroy()}attach(t){this._forOf,this.ngZone.runOutsideAngular(()=>{this._forOf=t,this._forOf.dataStream.pipe(Kt(this._detachedSubject)).subscribe(r=>{let o=r.length;o!==this._dataLength&&(this._dataLength=o,this._scrollStrategy.onDataLengthChanged()),this._doChangeDetection()})})}detach(){this._forOf=null,this._detachedSubject.next()}getDataLength(){return this._dataLength}getViewportSize(){return this._viewportSize}getRenderedRange(){return this._renderedRange}measureBoundingClientRectWithScrollOffset(t){return this.getElementRef().nativeElement.getBoundingClientRect()[t]}setTotalContentSize(t){this._totalContentSize!==t&&(this._totalContentSize=t,this._calculateSpacerSize(),this._markChangeDetectionNeeded())}setRenderedRange(t){pN(this._renderedRange,t)||(this.appendOnly&&(t={start:0,end:Math.max(this._renderedRange.end,t.end)}),this._renderedRangeSubject.next(this._renderedRange=t),this._markChangeDetectionNeeded(()=>this._scrollStrategy.onContentRendered()))}getOffsetToRenderedContentStart(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset}setRenderedContentOffset(t,r="to-start"){t=this.appendOnly&&r==="to-start"?0:t;let o=this.dir&&this.dir.value=="rtl",i=this.orientation=="horizontal",s=i?"X":"Y",c=`translate${s}(${Number((i&&o?-1:1)*t)}px)`;this._renderedContentOffset=t,r==="to-end"&&(c+=` translate${s}(-100%)`,this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=c&&(this._renderedContentTransform=c,this._markChangeDetectionNeeded(()=>{this._renderedContentOffsetNeedsRewrite?(this._renderedContentOffset-=this.measureRenderedContentSize(),this._renderedContentOffsetNeedsRewrite=!1,this.setRenderedContentOffset(this._renderedContentOffset)):this._scrollStrategy.onRenderedOffsetChanged()}))}scrollToOffset(t,r="auto"){let o={behavior:r};this.orientation==="horizontal"?o.start=t:o.top=t,this.scrollable.scrollTo(o)}scrollToIndex(t,r="auto"){this._scrollStrategy.scrollToIndex(t,r)}measureScrollOffset(t){let r;return this.scrollable==this?r=o=>super.measureScrollOffset(o):r=o=>this.scrollable.measureScrollOffset(o),Math.max(0,r(t??(this.orientation==="horizontal"?"start":"top"))-this.measureViewportOffset())}measureViewportOffset(t){let r,o="left",i="right",s=this.dir?.value=="rtl";t=="start"?r=s?i:o:t=="end"?r=s?o:i:t?r=t:r=this.orientation==="horizontal"?"left":"top";let a=this.scrollable.measureBoundingClientRectWithScrollOffset(r);return this.elementRef.nativeElement.getBoundingClientRect()[r]-a}measureRenderedContentSize(){let t=this._contentWrapper.nativeElement;return this.orientation==="horizontal"?t.offsetWidth:t.offsetHeight}measureRangeSize(t){return this._forOf?this._forOf.measureRangeSize(t,this.orientation):0}checkViewportSize(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()}_measureViewportSize(){this._viewportSize=this.scrollable.measureViewportSize(this.orientation)}_markChangeDetectionNeeded(t){t&&this._runAfterChangeDetection.push(t),!ce(this._changeDetectionNeeded)&&this.ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this.ngZone.run(()=>{this._changeDetectionNeeded.set(!0)})})})}_doChangeDetection(){this._isDestroyed||this.ngZone.run(()=>{this._changeDetectorRef.markForCheck(),this._contentWrapper.nativeElement.style.transform=this._renderedContentTransform,this._renderedContentOffsetSubject.next(this.getOffsetToRenderedContentStart()),Rt(()=>{this._changeDetectionNeeded.set(!1);let t=this._runAfterChangeDetection;this._runAfterChangeDetection=[];for(let r of t)r()},{injector:this._injector})})}_calculateSpacerSize(){this._totalContentHeight.set(this.orientation==="horizontal"?"":`${this._totalContentSize}px`),this._totalContentWidth.set(this.orientation==="horizontal"?`${this._totalContentSize}px`:"")}static \u0275fac=function(r){return new(r||e)};static \u0275cmp=ae({type:e,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(r,o){if(r&1&&Ho(aN,7),r&2){let i;as(i=cs())&&(o._contentWrapper=i.first)}},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(r,o){r&2&&De("cdk-virtual-scroll-orientation-horizontal",o.orientation==="horizontal")("cdk-virtual-scroll-orientation-vertical",o.orientation!=="horizontal")},inputs:{orientation:"orientation",appendOnly:[2,"appendOnly","appendOnly",re]},outputs:{scrolledIndexChange:"scrolledIndexChange"},features:[Pe([{provide:Ns,useFactory:()=>f(VD,{optional:!0})||f(e)},{provide:HD,useExisting:e}]),W],ngContentSelectors:cN,decls:4,vars:4,consts:[["contentWrapper",""],[1,"cdk-virtual-scroll-content-wrapper"],[1,"cdk-virtual-scroll-spacer"]],template:function(r,o){r&1&&(Ot(),cn(0,"div",1,0),xe(2),ln(),Qe(3,"div",2)),r&2&&(Zf(3),Uc("width",o._totalContentWidth())("height",o._totalContentHeight()))},styles:[`cdk-virtual-scroll-viewport {
|
|
24
|
+
`],encapsulation:2,changeDetection:0})}return e})(),vl;function kx(){if(vl===void 0&&(vl=null,typeof window<"u")){let e=window;e.trustedTypes!==void 0&&(vl=e.trustedTypes.createPolicy("angular#components",{createHTML:n=>n}))}return vl}function Vr(e){return kx()?.createHTML(e)||e}function mD(e,n,t){let r=t.sanitize(be.HTML,n);e.innerHTML=Vr(r||"")}function Yo(e){return Array.isArray(e)?e:[e]}var gD=new Set,jr,_l=(()=>{class e{_platform=f(ie);_nonce=f(Rr,{optional:!0});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Px}matchMedia(t){return(this._platform.WEBKIT||this._platform.BLINK)&&Fx(t,this._nonce),this._matchMedia(t)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Fx(e,n){if(!gD.has(e))try{jr||(jr=document.createElement("style"),n&&jr.setAttribute("nonce",n),jr.setAttribute("type","text/css"),document.head.appendChild(jr)),jr.sheet&&(jr.sheet.insertRule(`@media ${e} {body{ }}`,0),gD.add(e))}catch(t){console.error(t)}}function Px(e){return{matches:e==="all"||e==="",media:e,addListener:()=>{},removeListener:()=>{}}}var up=(()=>{class e{_mediaMatcher=f(_l);_zone=f(M);_queries=new Map;_destroySubject=new C;constructor(){}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(t){return vD(Yo(t)).some(o=>this._registerQuery(o).mql.matches)}observe(t){let o=vD(Yo(t)).map(s=>this._registerQuery(s).observable),i=Su(o);return i=ro(i.pipe(Ge(1)),i.pipe(Ci(1),In(0))),i.pipe(X(s=>{let a={matches:!1,breakpoints:{}};return s.forEach(({matches:c,query:l})=>{a.matches=a.matches||c,a.breakpoints[l]=c}),a}))}_registerQuery(t){if(this._queries.has(t))return this._queries.get(t);let r=this._mediaMatcher.matchMedia(t),i={observable:new R(s=>{let a=c=>this._zone.run(()=>s.next(c));return r.addListener(a),()=>{r.removeListener(a)}}).pipe(jt(r),X(({matches:s})=>({query:t,matches:s})),Kt(this._destroySubject)),mql:r};return this._queries.set(t,i),i}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function vD(e){return e.map(n=>n.split(",")).reduce((n,t)=>n.concat(t)).map(n=>n.trim())}function Lx(e){if(e.type==="characterData"&&e.target instanceof Comment)return!0;if(e.type==="childList"){for(let n=0;n<e.addedNodes.length;n++)if(!(e.addedNodes[n]instanceof Comment))return!1;for(let n=0;n<e.removedNodes.length;n++)if(!(e.removedNodes[n]instanceof Comment))return!1;return!0}return!1}var yD=(()=>{class e{create(t){return typeof MutationObserver>"u"?null:new MutationObserver(t)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),_D=(()=>{class e{_mutationObserverFactory=f(yD);_observedElements=new Map;_ngZone=f(M);constructor(){}ngOnDestroy(){this._observedElements.forEach((t,r)=>this._cleanupObserver(r))}observe(t){let r=mt(t);return new R(o=>{let s=this._observeElement(r).pipe(X(a=>a.filter(c=>!Lx(c))),Ce(a=>!!a.length)).subscribe(a=>{this._ngZone.run(()=>{o.next(a)})});return()=>{s.unsubscribe(),this._unobserveElement(r)}})}_observeElement(t){return this._ngZone.runOutsideAngular(()=>{if(this._observedElements.has(t))this._observedElements.get(t).count++;else{let r=new C,o=this._mutationObserverFactory.create(i=>r.next(i));o&&o.observe(t,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(t,{observer:o,stream:r,count:1})}return this._observedElements.get(t).stream})}_unobserveElement(t){this._observedElements.has(t)&&(this._observedElements.get(t).count--,this._observedElements.get(t).count||this._cleanupObserver(t))}_cleanupObserver(t){if(this._observedElements.has(t)){let{observer:r,stream:o}=this._observedElements.get(t);r&&r.disconnect(),o.complete(),this._observedElements.delete(t)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),a4=(()=>{class e{_contentObserver=f(_D);_elementRef=f(B);event=new $;get disabled(){return this._disabled}set disabled(t){this._disabled=t,this._disabled?this._unsubscribe():this._subscribe()}_disabled=!1;get debounce(){return this._debounce}set debounce(t){this._debounce=Ft(t),this._subscribe()}_debounce;_currentSubscription=null;constructor(){}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();let t=this._contentObserver.observe(this._elementRef);this._currentSubscription=(this.debounce?t.pipe(In(this.debounce)):t).subscribe(this.event)}_unsubscribe(){this._currentSubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275dir=N({type:e,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[2,"cdkObserveContentDisabled","disabled",re],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]})}return e})(),bD=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=q({type:e});static \u0275inj=G({providers:[yD]})}return e})();var Dl=(()=>{class e{_platform=f(ie);constructor(){}isDisabled(t){return t.hasAttribute("disabled")}isVisible(t){return jx(t)&&getComputedStyle(t).visibility==="visible"}isTabbable(t){if(!this._platform.isBrowser)return!1;let r=Vx(qx(t));if(r&&(DD(r)===-1||!this.isVisible(r)))return!1;let o=t.nodeName.toLowerCase(),i=DD(t);return t.hasAttribute("contenteditable")?i!==-1:o==="iframe"||o==="object"||this._platform.WEBKIT&&this._platform.IOS&&!Gx(t)?!1:o==="audio"?t.hasAttribute("controls")?i!==-1:!1:o==="video"?i===-1?!1:i!==null?!0:this._platform.FIREFOX||t.hasAttribute("controls"):t.tabIndex>=0}isFocusable(t,r){return Wx(t)&&!this.isDisabled(t)&&(r?.ignoreVisibility||this.isVisible(t))}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Vx(e){try{return e.frameElement}catch(n){return null}}function jx(e){return!!(e.offsetWidth||e.offsetHeight||typeof e.getClientRects=="function"&&e.getClientRects().length)}function Bx(e){let n=e.nodeName.toLowerCase();return n==="input"||n==="select"||n==="button"||n==="textarea"}function Hx(e){return $x(e)&&e.type=="hidden"}function Ux(e){return zx(e)&&e.hasAttribute("href")}function $x(e){return e.nodeName.toLowerCase()=="input"}function zx(e){return e.nodeName.toLowerCase()=="a"}function wD(e){if(!e.hasAttribute("tabindex")||e.tabIndex===void 0)return!1;let n=e.getAttribute("tabindex");return!!(n&&!isNaN(parseInt(n,10)))}function DD(e){if(!wD(e))return null;let n=parseInt(e.getAttribute("tabindex")||"",10);return isNaN(n)?-1:n}function Gx(e){let n=e.nodeName.toLowerCase(),t=n==="input"&&e.type;return t==="text"||t==="password"||n==="select"||n==="textarea"}function Wx(e){return Hx(e)?!1:Bx(e)||Ux(e)||e.hasAttribute("contenteditable")||wD(e)}function qx(e){return e.ownerDocument&&e.ownerDocument.defaultView||window}var bl=class{_element;_checker;_ngZone;_document;_injector;_startAnchor=null;_endAnchor=null;_hasAttached=!1;startAnchorListener=()=>this.focusLastTabbableElement();endAnchorListener=()=>this.focusFirstTabbableElement();get enabled(){return this._enabled}set enabled(n){this._enabled=n,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}_enabled=!0;constructor(n,t,r,o,i=!1,s){this._element=n,this._checker=t,this._ngZone=r,this._document=o,this._injector=s,i||this.attachAnchors()}destroy(){let n=this._startAnchor,t=this._endAnchor;n&&(n.removeEventListener("focus",this.startAnchorListener),n.remove()),t&&(t.removeEventListener("focus",this.endAnchorListener),t.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return this._hasAttached?!0:(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(n){return new Promise(t=>{this._executeOnStable(()=>t(this.focusInitialElement(n)))})}focusFirstTabbableElementWhenReady(n){return new Promise(t=>{this._executeOnStable(()=>t(this.focusFirstTabbableElement(n)))})}focusLastTabbableElementWhenReady(n){return new Promise(t=>{this._executeOnStable(()=>t(this.focusLastTabbableElement(n)))})}_getRegionBoundary(n){let t=this._element.querySelectorAll(`[cdk-focus-region-${n}], [cdkFocusRegion${n}], [cdk-focus-${n}]`);return n=="start"?t.length?t[0]:this._getFirstTabbableElement(this._element):t.length?t[t.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(n){let t=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(t){if(!this._checker.isFocusable(t)){let r=this._getFirstTabbableElement(t);return r?.focus(n),!!r}return t.focus(n),!0}return this.focusFirstTabbableElement(n)}focusFirstTabbableElement(n){let t=this._getRegionBoundary("start");return t&&t.focus(n),!!t}focusLastTabbableElement(n){let t=this._getRegionBoundary("end");return t&&t.focus(n),!!t}hasAttached(){return this._hasAttached}_getFirstTabbableElement(n){if(this._checker.isFocusable(n)&&this._checker.isTabbable(n))return n;let t=n.children;for(let r=0;r<t.length;r++){let o=t[r].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(t[r]):null;if(o)return o}return null}_getLastTabbableElement(n){if(this._checker.isFocusable(n)&&this._checker.isTabbable(n))return n;let t=n.children;for(let r=t.length-1;r>=0;r--){let o=t[r].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(t[r]):null;if(o)return o}return null}_createAnchor(){let n=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,n),n.classList.add("cdk-visually-hidden"),n.classList.add("cdk-focus-trap-anchor"),n.setAttribute("aria-hidden","true"),n}_toggleAnchorTabIndex(n,t){n?t.setAttribute("tabindex","0"):t.removeAttribute("tabindex")}toggleAnchors(n){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}_executeOnStable(n){this._injector?Rt(n,{injector:this._injector}):setTimeout(n)}},El=(()=>{class e{_checker=f(Dl);_ngZone=f(M);_document=f(A);_injector=f(O);constructor(){f(gt).load(yl)}create(t,r=!1){return new bl(t,this._checker,this._ngZone,this._document,r,this._injector)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Yx=(()=>{class e{_elementRef=f(B);_focusTrapFactory=f(El);focusTrap=void 0;_previouslyFocusedElement=null;get enabled(){return this.focusTrap?.enabled||!1}set enabled(t){this.focusTrap&&(this.focusTrap.enabled=t)}autoCapture=!1;constructor(){f(ie).isBrowser&&(this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0))}ngOnDestroy(){this.focusTrap?.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap?.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap&&!this.focusTrap.hasAttached()&&this.focusTrap.attachAnchors()}ngOnChanges(t){let r=t.autoCapture;r&&!r.firstChange&&this.autoCapture&&this.focusTrap?.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=Lr(),this.focusTrap?.focusInitialElementWhenReady()}static \u0275fac=function(r){return new(r||e)};static \u0275dir=N({type:e,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:[2,"cdkTrapFocus","enabled",re],autoCapture:[2,"cdkTrapFocusAutoCapture","autoCapture",re]},exportAs:["cdkTrapFocus"],features:[He]})}return e})(),ID=new g("liveAnnouncerElement",{providedIn:"root",factory:()=>null}),SD=new g("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),Zx=0,Kx=(()=>{class e{_ngZone=f(M);_defaultOptions=f(SD,{optional:!0});_liveElement;_document=f(A);_sanitizer=f(Cs);_previousTimeout;_currentPromise;_currentResolve;constructor(){let t=f(ID,{optional:!0});this._liveElement=t||this._createLiveElement()}announce(t,...r){let o=this._defaultOptions,i,s;return r.length===1&&typeof r[0]=="number"?s=r[0]:[i,s]=r,this.clear(),clearTimeout(this._previousTimeout),i||(i=o&&o.politeness?o.politeness:"polite"),s==null&&o&&(s=o.duration),this._liveElement.setAttribute("aria-live",i),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(a=>this._currentResolve=a)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{!t||typeof t=="string"?this._liveElement.textContent=t:mD(this._liveElement,t,this._sanitizer),typeof s=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),s)),this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){let t="cdk-live-announcer-element",r=this._document.getElementsByClassName(t),o=this._document.createElement("div");for(let i=0;i<r.length;i++)r[i].remove();return o.classList.add(t),o.classList.add("cdk-visually-hidden"),o.setAttribute("aria-atomic","true"),o.setAttribute("aria-live","polite"),o.id=`cdk-live-announcer-${Zx++}`,this._document.body.appendChild(o),o}_exposeAnnouncerToModals(t){let r=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let o=0;o<r.length;o++){let i=r[o],s=i.getAttribute("aria-owns");s?s.indexOf(t)===-1&&i.setAttribute("aria-owns",s+" "+t):i.setAttribute("aria-owns",t)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var qn=(function(e){return e[e.NONE=0]="NONE",e[e.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",e[e.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",e})(qn||{}),ED="cdk-high-contrast-black-on-white",CD="cdk-high-contrast-white-on-black",dp="cdk-high-contrast-active",MD=(()=>{class e{_platform=f(ie);_hasCheckedHighContrastMode=!1;_document=f(A);_breakpointSubscription;constructor(){this._breakpointSubscription=f(up).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return qn.NONE;let t=this._document.createElement("div");t.style.backgroundColor="rgb(1,2,3)",t.style.position="absolute",this._document.body.appendChild(t);let r=this._document.defaultView||window,o=r&&r.getComputedStyle?r.getComputedStyle(t):null,i=(o&&o.backgroundColor||"").replace(/ /g,"");switch(t.remove(),i){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return qn.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return qn.BLACK_ON_WHITE}return qn.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let t=this._document.body.classList;t.remove(dp,ED,CD),this._hasCheckedHighContrastMode=!0;let r=this.getHighContrastMode();r===qn.BLACK_ON_WHITE?t.add(dp,ED):r===qn.WHITE_ON_BLACK&&t.add(dp,CD)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),fp=(()=>{class e{constructor(){f(MD)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(r){return new(r||e)};static \u0275mod=q({type:e});static \u0275inj=G({imports:[bD]})}return e})();var Xx=200,Zo=class{_letterKeyStream=new C;_items=[];_selectedItemIndex=-1;_pressedLetters=[];_skipPredicateFn;_selectedItem=new C;selectedItem=this._selectedItem;constructor(n,t){let r=typeof t?.debounceInterval=="number"?t.debounceInterval:Xx;t?.skipPredicate&&(this._skipPredicateFn=t.skipPredicate),this.setItems(n),this._setupKeyHandler(r)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(n){this._selectedItemIndex=n}setItems(n){this._items=n}handleKey(n){let t=n.keyCode;n.key&&n.key.length===1?this._letterKeyStream.next(n.key.toLocaleUpperCase()):(t>=65&&t<=90||t>=48&&t<=57)&&this._letterKeyStream.next(String.fromCharCode(t))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(n){this._letterKeyStream.pipe(Sn(t=>this._pressedLetters.push(t)),In(n),Ce(()=>this._pressedLetters.length>0),X(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(t=>{for(let r=1;r<this._items.length+1;r++){let o=(this._selectedItemIndex+r)%this._items.length,i=this._items[o];if(!this._skipPredicateFn?.(i)&&i.getLabel?.().toLocaleUpperCase().trim().indexOf(t)===0){this._selectedItem.next(i);break}}this._pressedLetters=[]})}};function Yn(e,...n){return n.length?n.some(t=>e[t]):e.altKey||e.shiftKey||e.ctrlKey||e.metaKey}var Ko=class{_items;_activeItemIndex=se(-1);_activeItem=se(null);_wrap=!1;_typeaheadSubscription=j.EMPTY;_itemChangesSubscription;_vertical=!0;_horizontal=null;_allowedModifierKeys=[];_homeAndEnd=!1;_pageUpAndDown={enabled:!1,delta:10};_effectRef;_typeahead;_skipPredicateFn=n=>n.disabled;constructor(n,t){this._items=n,n instanceof on?this._itemChangesSubscription=n.changes.subscribe(r=>this._itemsChanged(r.toArray())):jo(n)&&(this._effectRef=wr(()=>this._itemsChanged(n()),{injector:t}))}tabOut=new C;change=new C;skipPredicate(n){return this._skipPredicateFn=n,this}withWrap(n=!0){return this._wrap=n,this}withVerticalOrientation(n=!0){return this._vertical=n,this}withHorizontalOrientation(n){return this._horizontal=n,this}withAllowedModifierKeys(n){return this._allowedModifierKeys=n,this}withTypeAhead(n=200){this._typeaheadSubscription.unsubscribe();let t=this._getItemsArray();return this._typeahead=new Zo(t,{debounceInterval:typeof n=="number"?n:void 0,skipPredicate:r=>this._skipPredicateFn(r)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(r=>{this.setActiveItem(r)}),this}cancelTypeahead(){return this._typeahead?.reset(),this}withHomeAndEnd(n=!0){return this._homeAndEnd=n,this}withPageUpDown(n=!0,t=10){return this._pageUpAndDown={enabled:n,delta:t},this}setActiveItem(n){let t=this._activeItem();this.updateActiveItem(n),this._activeItem()!==t&&this.change.next(this._activeItemIndex())}onKeydown(n){let t=n.keyCode,o=["altKey","ctrlKey","metaKey","shiftKey"].every(i=>!n[i]||this._allowedModifierKeys.indexOf(i)>-1);switch(t){case 9:this.tabOut.next();return;case 40:if(this._vertical&&o){this.setNextItemActive();break}else return;case 38:if(this._vertical&&o){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&o){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&o){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&o){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&o){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&o){let i=this._activeItemIndex()-this._pageUpAndDown.delta;this._setActiveItemByIndex(i>0?i:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&o){let i=this._activeItemIndex()+this._pageUpAndDown.delta,s=this._getItemsArray().length;this._setActiveItemByIndex(i<s?i:s-1,-1);break}else return;default:(o||Yn(n,"shiftKey"))&&this._typeahead?.handleKey(n);return}this._typeahead?.reset(),n.preventDefault()}get activeItemIndex(){return this._activeItemIndex()}get activeItem(){return this._activeItem()}isTyping(){return!!this._typeahead&&this._typeahead.isTyping()}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._getItemsArray().length-1,-1)}setNextItemActive(){this._activeItemIndex()<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex()<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(n){let t=this._getItemsArray(),r=typeof n=="number"?n:t.indexOf(n),o=t[r];this._activeItem.set(o??null),this._activeItemIndex.set(r),this._typeahead?.setCurrentSelectedItemIndex(r)}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._effectRef?.destroy(),this._typeahead?.destroy(),this.tabOut.complete(),this.change.complete()}_setActiveItemByDelta(n){this._wrap?this._setActiveInWrapMode(n):this._setActiveInDefaultMode(n)}_setActiveInWrapMode(n){let t=this._getItemsArray();for(let r=1;r<=t.length;r++){let o=(this._activeItemIndex()+n*r+t.length)%t.length,i=t[o];if(!this._skipPredicateFn(i)){this.setActiveItem(o);return}}}_setActiveInDefaultMode(n){this._setActiveItemByIndex(this._activeItemIndex()+n,n)}_setActiveItemByIndex(n,t){let r=this._getItemsArray();if(r[n]){for(;this._skipPredicateFn(r[n]);)if(n+=t,!r[n])return;this.setActiveItem(n)}}_getItemsArray(){return jo(this._items)?this._items():this._items instanceof on?this._items.toArray():this._items}_itemsChanged(n){this._typeahead?.setItems(n);let t=this._activeItem();if(t){let r=n.indexOf(t);r>-1&&r!==this._activeItemIndex()&&(this._activeItemIndex.set(r),this._typeahead?.setCurrentSelectedItemIndex(r))}}};var hp=class extends Ko{setActiveItem(n){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(n),this.activeItem&&this.activeItem.setActiveStyles()}};var pp=class extends Ko{_origin="program";setFocusOrigin(n){return this._origin=n,this}setActiveItem(n){super.setActiveItem(n),this.activeItem&&this.activeItem.focus(this._origin)}};function mp(e){return Zt(e)?e:pe(e)}var gp=class{_activeItemIndex=-1;_activeItem=null;_shouldActivationFollowFocus=!1;_horizontalOrientation="ltr";_skipPredicateFn=n=>!1;_trackByFn=n=>n;_items=[];_typeahead;_typeaheadSubscription=j.EMPTY;_hasInitialFocused=!1;_initializeFocus(){if(this._hasInitialFocused||this._items.length===0)return;let n=0;for(let r=0;r<this._items.length;r++)if(!this._skipPredicateFn(this._items[r])&&!this._isItemDisabled(this._items[r])){n=r;break}let t=this._items[n];t.makeFocusable?(this._activeItem?.unfocus(),this._activeItemIndex=n,this._activeItem=t,this._typeahead?.setCurrentSelectedItemIndex(n),t.makeFocusable()):this.focusItem(n),this._hasInitialFocused=!0}constructor(n,t){n instanceof on?(this._items=n.toArray(),n.changes.subscribe(r=>this._itemsChanged(r.toArray()))):Zt(n)?n.subscribe(r=>this._itemsChanged(r)):(this._items=n,this._initializeFocus()),typeof t.shouldActivationFollowFocus=="boolean"&&(this._shouldActivationFollowFocus=t.shouldActivationFollowFocus),t.horizontalOrientation&&(this._horizontalOrientation=t.horizontalOrientation),t.skipPredicate&&(this._skipPredicateFn=t.skipPredicate),t.trackBy&&(this._trackByFn=t.trackBy),typeof t.typeAheadDebounceInterval<"u"&&this._setTypeAhead(t.typeAheadDebounceInterval)}change=new C;destroy(){this._typeaheadSubscription.unsubscribe(),this._typeahead?.destroy(),this.change.complete()}onKeydown(n){switch(n.key){case"Tab":return;case"ArrowDown":this._focusNextItem();break;case"ArrowUp":this._focusPreviousItem();break;case"ArrowRight":this._horizontalOrientation==="rtl"?this._collapseCurrentItem():this._expandCurrentItem();break;case"ArrowLeft":this._horizontalOrientation==="rtl"?this._expandCurrentItem():this._collapseCurrentItem();break;case"Home":this._focusFirstItem();break;case"End":this._focusLastItem();break;case"Enter":case" ":this._activateCurrentItem();break;default:if(n.key==="*"){this._expandAllItemsAtCurrentItemLevel();break}this._typeahead?.handleKey(n);return}this._typeahead?.reset(),n.preventDefault()}getActiveItemIndex(){return this._activeItemIndex}getActiveItem(){return this._activeItem}_itemsChanged(n){this._hasInitialFocused&&this._activeItem&&!n.includes(this._activeItem)&&(this._activeItem=null,this._hasInitialFocused=!1),this._items=n,this._typeahead?.setItems(this._items),this._updateActiveItemIndex(this._items),this._initializeFocus()}_focusFirstItem(){this.focusItem(this._findNextAvailableItemIndex(-1))}_focusLastItem(){this.focusItem(this._findPreviousAvailableItemIndex(this._items.length))}_focusNextItem(){this.focusItem(this._findNextAvailableItemIndex(this._activeItemIndex))}_focusPreviousItem(){this.focusItem(this._findPreviousAvailableItemIndex(this._activeItemIndex))}focusItem(n,t={}){t.emitChangeEvent??=!0;let r=typeof n=="number"?n:this._items.findIndex(s=>this._trackByFn(s)===this._trackByFn(n));if(r<0||r>=this._items.length)return;let o=this._items[r];if(this._activeItem!==null&&this._trackByFn(o)===this._trackByFn(this._activeItem))return;let i=this._activeItem;this._activeItem=o??null,this._activeItemIndex=r,this._typeahead?.setCurrentSelectedItemIndex(r),this._activeItem?.focus(),i?.unfocus(),t.emitChangeEvent&&this.change.next(this._activeItem),this._shouldActivationFollowFocus&&this._activateCurrentItem()}_updateActiveItemIndex(n){let t=this._activeItem;if(!t)return;let r=n.findIndex(o=>this._trackByFn(o)===this._trackByFn(t));r>-1&&r!==this._activeItemIndex&&(this._activeItemIndex=r,this._typeahead?.setCurrentSelectedItemIndex(r))}_setTypeAhead(n){this._typeahead=new Zo(this._items,{debounceInterval:typeof n=="number"?n:void 0,skipPredicate:t=>this._skipPredicateFn(t)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(t=>{this.focusItem(t)})}_findNextAvailableItemIndex(n){for(let t=n+1;t<this._items.length;t++)if(!this._skipPredicateFn(this._items[t]))return t;return n}_findPreviousAvailableItemIndex(n){for(let t=n-1;t>=0;t--)if(!this._skipPredicateFn(this._items[t]))return t;return n}_collapseCurrentItem(){if(this._activeItem)if(this._isCurrentItemExpanded())this._activeItem.collapse();else{let n=this._activeItem.getParent();if(!n||this._skipPredicateFn(n))return;this.focusItem(n)}}_expandCurrentItem(){this._activeItem&&(this._isCurrentItemExpanded()?mp(this._activeItem.getChildren()).pipe(Ge(1)).subscribe(n=>{let t=n.find(r=>!this._skipPredicateFn(r));t&&this.focusItem(t)}):this._activeItem.expand())}_isCurrentItemExpanded(){return this._activeItem?typeof this._activeItem.isExpanded=="boolean"?this._activeItem.isExpanded:this._activeItem.isExpanded():!1}_isItemDisabled(n){return typeof n.isDisabled=="boolean"?n.isDisabled:n.isDisabled?.()}_expandAllItemsAtCurrentItemLevel(){if(!this._activeItem)return;let n=this._activeItem.getParent(),t;n?t=mp(n.getChildren()):t=pe(this._items.filter(r=>r.getParent()===null)),t.pipe(Ge(1)).subscribe(r=>{for(let o of r)o.expand()})}_activateCurrentItem(){this._activeItem?.activate()}},t5=new g("tree-key-manager",{providedIn:"root",factory:()=>(e,n)=>new gp(e,n)});var vp={},qt=class e{_appId=f($n);static _infix=`a${Math.floor(Math.random()*1e5).toString()}`;getId(n,t=!1){return this._appId!=="ng"&&(n+=this._appId),vp.hasOwnProperty(n)||(vp[n]=0),`${n}${t?e._infix+"-":""}${vp[n]++}`}static \u0275fac=function(t){return new(t||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})};var AD=" ";function Qx(e,n,t){let r=wl(e,n);t=t.trim(),!r.some(o=>o.trim()===t)&&(r.push(t),e.setAttribute(n,r.join(AD)))}function Jx(e,n,t){let r=wl(e,n);t=t.trim();let o=r.filter(i=>i!==t);o.length?e.setAttribute(n,o.join(AD)):e.removeAttribute(n)}function wl(e,n){return e.getAttribute(n)?.match(/\S+/g)??[]}var xD="cdk-describedby-message",Cl="cdk-describedby-host",_p=0,p5=(()=>{class e{_platform=f(ie);_document=f(A);_messageRegistry=new Map;_messagesContainer=null;_id=`${_p++}`;constructor(){f(gt).load(yl),this._id=f($n)+"-"+_p++}describe(t,r,o){if(!this._canBeDescribed(t,r))return;let i=yp(r,o);typeof r!="string"?(TD(r,this._id),this._messageRegistry.set(i,{messageElement:r,referenceCount:0})):this._messageRegistry.has(i)||this._createMessageElement(r,o),this._isElementDescribedByMessage(t,i)||this._addMessageReference(t,i)}removeDescription(t,r,o){if(!r||!this._isElementNode(t))return;let i=yp(r,o);if(this._isElementDescribedByMessage(t,i)&&this._removeMessageReference(t,i),typeof r=="string"){let s=this._messageRegistry.get(i);s&&s.referenceCount===0&&this._deleteMessageElement(i)}this._messagesContainer?.childNodes.length===0&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){let t=this._document.querySelectorAll(`[${Cl}="${this._id}"]`);for(let r=0;r<t.length;r++)this._removeCdkDescribedByReferenceIds(t[r]),t[r].removeAttribute(Cl);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(t,r){let o=this._document.createElement("div");TD(o,this._id),o.textContent=t,r&&o.setAttribute("role",r),this._createMessagesContainer(),this._messagesContainer.appendChild(o),this._messageRegistry.set(yp(t,r),{messageElement:o,referenceCount:0})}_deleteMessageElement(t){this._messageRegistry.get(t)?.messageElement?.remove(),this._messageRegistry.delete(t)}_createMessagesContainer(){if(this._messagesContainer)return;let t="cdk-describedby-message-container",r=this._document.querySelectorAll(`.${t}[platform="server"]`);for(let i=0;i<r.length;i++)r[i].remove();let o=this._document.createElement("div");o.style.visibility="hidden",o.classList.add(t),o.classList.add("cdk-visually-hidden"),this._platform.isBrowser||o.setAttribute("platform","server"),this._document.body.appendChild(o),this._messagesContainer=o}_removeCdkDescribedByReferenceIds(t){let r=wl(t,"aria-describedby").filter(o=>o.indexOf(xD)!=0);t.setAttribute("aria-describedby",r.join(" "))}_addMessageReference(t,r){let o=this._messageRegistry.get(r);Qx(t,"aria-describedby",o.messageElement.id),t.setAttribute(Cl,this._id),o.referenceCount++}_removeMessageReference(t,r){let o=this._messageRegistry.get(r);o.referenceCount--,Jx(t,"aria-describedby",o.messageElement.id),t.removeAttribute(Cl)}_isElementDescribedByMessage(t,r){let o=wl(t,"aria-describedby"),i=this._messageRegistry.get(r),s=i&&i.messageElement.id;return!!s&&o.indexOf(s)!=-1}_canBeDescribed(t,r){if(!this._isElementNode(t))return!1;if(r&&typeof r=="object")return!0;let o=r==null?"":`${r}`.trim(),i=t.getAttribute("aria-label");return o?!i||i.trim()!==o:!1}_isElementNode(t){return t.nodeType===this._document.ELEMENT_NODE}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function yp(e,n){return typeof e=="string"?`${n||""}/${e}`:e}function TD(e,n){e.id||(e.id=`${xD}-${n}-${_p++}`)}function bp(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function ve(e){return e==null?"":typeof e=="string"?e:`${e}px`}var eN=new g("cdk-dir-doc",{providedIn:"root",factory:()=>f(A)}),tN=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function ND(e){let n=e?.toLowerCase()||"";return n==="auto"&&typeof navigator<"u"&&navigator?.language?tN.test(navigator.language)?"rtl":"ltr":n==="rtl"?"rtl":"ltr"}var hn=(()=>{class e{get value(){return this.valueSignal()}valueSignal=se("ltr");change=new $;constructor(){let t=f(eN,{optional:!0});if(t){let r=t.body?t.body.dir:null,o=t.documentElement?t.documentElement.dir:null;this.valueSignal.set(ND(r||o||"ltr"))}}ngOnDestroy(){this.change.complete()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Pt=(function(e){return e[e.NORMAL=0]="NORMAL",e[e.NEGATED=1]="NEGATED",e[e.INVERTED=2]="INVERTED",e})(Pt||{}),Il,Br;function Sl(){if(Br==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return Br=!1,Br;if(document.documentElement?.style&&"scrollBehavior"in document.documentElement.style)Br=!0;else{let e=Element.prototype.scrollTo;e?Br=!/\{\s*\[native code\]\s*\}/.test(e.toString()):Br=!1}}return Br}function Xo(){if(typeof document!="object"||!document)return Pt.NORMAL;if(Il==null){let e=document.createElement("div"),n=e.style;e.dir="rtl",n.width="1px",n.overflow="auto",n.visibility="hidden",n.pointerEvents="none",n.position="absolute";let t=document.createElement("div"),r=t.style;r.width="2px",r.height="1px",e.appendChild(t),document.body.appendChild(e),Il=Pt.NORMAL,e.scrollLeft===0&&(e.scrollLeft=1,Il=e.scrollLeft===0?Pt.NEGATED:Pt.INVERTED),e.remove()}return Il}var Ml=class{};function RD(e){return e&&typeof e.connect=="function"&&!(e instanceof hi)}var Tl=class extends Ml{_data;constructor(n){super(),this._data=n}connect(){return Zt(this._data)?this._data:pe(this._data)}disconnect(){}},Ts=(function(e){return e[e.REPLACED=0]="REPLACED",e[e.INSERTED=1]="INSERTED",e[e.MOVED=2]="MOVED",e[e.REMOVED=3]="REMOVED",e})(Ts||{}),Al=class{viewCacheSize=20;_viewCache=[];applyChanges(n,t,r,o,i){n.forEachOperation((s,a,c)=>{let l,u;if(s.previousIndex==null){let d=()=>r(s,a,c);l=this._insertView(d,c,t,o(s)),u=l?Ts.INSERTED:Ts.REPLACED}else c==null?(this._detachAndCacheView(a,t),u=Ts.REMOVED):(l=this._moveView(a,c,t,o(s)),u=Ts.MOVED);i&&i({context:l?.context,operation:u,record:s})})}detach(){for(let n of this._viewCache)n.destroy();this._viewCache=[]}_insertView(n,t,r,o){let i=this._insertViewFromCache(t,r);if(i){i.context.$implicit=o;return}let s=n();return r.createEmbeddedView(s.templateRef,s.context,s.index)}_detachAndCacheView(n,t){let r=t.detach(n);this._maybeCacheView(r,t)}_moveView(n,t,r,o){let i=r.get(n);return r.move(i,t),i.context.$implicit=o,i}_maybeCacheView(n,t){if(this._viewCache.length<this.viewCacheSize)this._viewCache.push(n);else{let r=t.indexOf(n);r===-1?n.destroy():t.remove(r)}}_insertViewFromCache(n,t){let r=this._viewCache.pop();return r&&t.insert(r,n),r||null}};var st=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=q({type:e});static \u0275inj=G({})}return e})();var nN=["contentWrapper"],rN=["*"],FD=new g("VIRTUAL_SCROLL_STRATEGY"),Dp=class{_scrolledIndexChange=new C;scrolledIndexChange=this._scrolledIndexChange.pipe(ur());_viewport=null;_itemSize;_minBufferPx;_maxBufferPx;constructor(n,t,r){this._itemSize=n,this._minBufferPx=t,this._maxBufferPx=r}attach(n){this._viewport=n,this._updateTotalContentSize(),this._updateRenderedRange()}detach(){this._scrolledIndexChange.complete(),this._viewport=null}updateItemAndBufferSize(n,t,r){r<t,this._itemSize=n,this._minBufferPx=t,this._maxBufferPx=r,this._updateTotalContentSize(),this._updateRenderedRange()}onContentScrolled(){this._updateRenderedRange()}onDataLengthChanged(){this._updateTotalContentSize(),this._updateRenderedRange()}onContentRendered(){}onRenderedOffsetChanged(){}scrollToIndex(n,t){this._viewport&&this._viewport.scrollToOffset(n*this._itemSize,t)}_updateTotalContentSize(){this._viewport&&this._viewport.setTotalContentSize(this._viewport.getDataLength()*this._itemSize)}_updateRenderedRange(){if(!this._viewport)return;let n=this._viewport.getRenderedRange(),t={start:n.start,end:n.end},r=this._viewport.getViewportSize(),o=this._viewport.getDataLength(),i=this._viewport.measureScrollOffset(),s=this._itemSize>0?i/this._itemSize:0;if(t.end>o){let c=Math.ceil(r/this._itemSize),l=Math.max(0,Math.min(s,o-c));s!=l&&(s=l,i=l*this._itemSize,t.start=Math.floor(s)),t.end=Math.max(0,Math.min(o,t.start+c))}let a=i-t.start*this._itemSize;if(a<this._minBufferPx&&t.start!=0){let c=Math.ceil((this._maxBufferPx-a)/this._itemSize);t.start=Math.max(0,t.start-c),t.end=Math.min(o,Math.ceil(s+(r+this._minBufferPx)/this._itemSize))}else{let c=t.end*this._itemSize-(i+r);if(c<this._minBufferPx&&t.end!=o){let l=Math.ceil((this._maxBufferPx-c)/this._itemSize);l>0&&(t.end=Math.min(o,t.end+l),t.start=Math.max(0,Math.floor(s-this._minBufferPx/this._itemSize)))}}this._viewport.setRenderedRange(t),this._viewport.setRenderedContentOffset(Math.round(this._itemSize*t.start)),this._scrolledIndexChange.next(Math.floor(s))}};function oN(e){return e._scrollStrategy}var iN=(()=>{class e{get itemSize(){return this._itemSize}set itemSize(t){this._itemSize=Ft(t)}_itemSize=20;get minBufferPx(){return this._minBufferPx}set minBufferPx(t){this._minBufferPx=Ft(t)}_minBufferPx=100;get maxBufferPx(){return this._maxBufferPx}set maxBufferPx(t){this._maxBufferPx=Ft(t)}_maxBufferPx=200;_scrollStrategy=new Dp(this.itemSize,this.minBufferPx,this.maxBufferPx);ngOnChanges(){this._scrollStrategy.updateItemAndBufferSize(this.itemSize,this.minBufferPx,this.maxBufferPx)}static \u0275fac=function(r){return new(r||e)};static \u0275dir=N({type:e,selectors:[["cdk-virtual-scroll-viewport","itemSize",""]],inputs:{itemSize:"itemSize",minBufferPx:"minBufferPx",maxBufferPx:"maxBufferPx"},features:[Fe([{provide:FD,useFactory:oN,deps:[Te(()=>e)]}]),He]})}return e})(),sN=20,As=(()=>{class e{_ngZone=f(M);_platform=f(ie);_renderer=f(Se).createRenderer(null,null);_cleanupGlobalListener;constructor(){}_scrolled=new C;_scrolledCount=0;scrollContainers=new Map;register(t){this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(()=>this._scrolled.next(t)))}deregister(t){let r=this.scrollContainers.get(t);r&&(r.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=sN){return this._platform.isBrowser?new R(r=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen("document","scroll",()=>this._scrolled.next())));let o=t>0?this._scrolled.pipe(oo(t)).subscribe(r):this._scrolled.subscribe(r);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||(this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0)}}):pe()}ngOnDestroy(){this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0,this.scrollContainers.forEach((t,r)=>this.deregister(r)),this._scrolled.complete()}ancestorScrolled(t,r){let o=this.getAncestorScrollContainers(t);return this.scrolled(r).pipe(Ce(i=>!i||o.indexOf(i)>-1))}getAncestorScrollContainers(t){let r=[];return this.scrollContainers.forEach((o,i)=>{this._scrollableContainsElement(i,t)&&r.push(i)}),r}_scrollableContainsElement(t,r){let o=mt(r),i=t.getElementRef().nativeElement;do if(o==i)return!0;while(o=o.parentElement);return!1}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),xs=(()=>{class e{elementRef=f(B);scrollDispatcher=f(As);ngZone=f(M);dir=f(hn,{optional:!0});_scrollElement=this.elementRef.nativeElement;_destroyed=new C;_renderer=f(Ke);_cleanupScroll;_elementScrolled=new C;constructor(){}ngOnInit(){this._cleanupScroll=this.ngZone.runOutsideAngular(()=>this._renderer.listen(this._scrollElement,"scroll",t=>this._elementScrolled.next(t))),this.scrollDispatcher.register(this)}ngOnDestroy(){this._cleanupScroll?.(),this._elementScrolled.complete(),this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(t){let r=this.elementRef.nativeElement,o=this.dir&&this.dir.value=="rtl";t.left==null&&(t.left=o?t.end:t.start),t.right==null&&(t.right=o?t.start:t.end),t.bottom!=null&&(t.top=r.scrollHeight-r.clientHeight-t.bottom),o&&Xo()!=Pt.NORMAL?(t.left!=null&&(t.right=r.scrollWidth-r.clientWidth-t.left),Xo()==Pt.INVERTED?t.left=t.right:Xo()==Pt.NEGATED&&(t.left=t.right?-t.right:t.right)):t.right!=null&&(t.left=r.scrollWidth-r.clientWidth-t.right),this._applyScrollToOptions(t)}_applyScrollToOptions(t){let r=this.elementRef.nativeElement;Sl()?r.scrollTo(t):(t.top!=null&&(r.scrollTop=t.top),t.left!=null&&(r.scrollLeft=t.left))}measureScrollOffset(t){let r="left",o="right",i=this.elementRef.nativeElement;if(t=="top")return i.scrollTop;if(t=="bottom")return i.scrollHeight-i.clientHeight-i.scrollTop;let s=this.dir&&this.dir.value=="rtl";return t=="start"?t=s?o:r:t=="end"&&(t=s?r:o),s&&Xo()==Pt.INVERTED?t==r?i.scrollWidth-i.clientWidth-i.scrollLeft:i.scrollLeft:s&&Xo()==Pt.NEGATED?t==r?i.scrollLeft+i.scrollWidth-i.clientWidth:-i.scrollLeft:t==r?i.scrollLeft:i.scrollWidth-i.clientWidth-i.scrollLeft}static \u0275fac=function(r){return new(r||e)};static \u0275dir=N({type:e,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]})}return e})(),aN=20,Hr=(()=>{class e{_platform=f(ie);_listeners;_viewportSize=null;_change=new C;_document=f(A);constructor(){let t=f(M),r=f(Se).createRenderer(null,null);t.runOutsideAngular(()=>{if(this._platform.isBrowser){let o=i=>this._change.next(i);this._listeners=[r.listen("window","resize",o),r.listen("window","orientationchange",o)]}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){this._listeners?.forEach(t=>t()),this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}getViewportRect(){let t=this.getViewportScrollPosition(),{width:r,height:o}=this.getViewportSize();return{top:t.top,left:t.left,bottom:t.top+o,right:t.left+r,height:o,width:r}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let t=this._document,r=this._getWindow(),o=t.documentElement,i=o.getBoundingClientRect(),s=-i.top||t.body?.scrollTop||r.scrollY||o.scrollTop||0,a=-i.left||t.body?.scrollLeft||r.scrollX||o.scrollLeft||0;return{top:s,left:a}}change(t=aN){return t>0?this._change.pipe(oo(t)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),OD=new g("VIRTUAL_SCROLLABLE"),cN=(()=>{class e extends xs{constructor(){super()}measureViewportSize(t){let r=this.elementRef.nativeElement;return t==="horizontal"?r.clientWidth:r.clientHeight}static \u0275fac=function(r){return new(r||e)};static \u0275dir=N({type:e,features:[W]})}return e})();function lN(e,n){return e.start==n.start&&e.end==n.end}var uN=typeof requestAnimationFrame<"u"?Cu:Eu,PD=new g("CDK_VIRTUAL_SCROLL_VIEWPORT"),dN=(()=>{class e extends cN{elementRef=f(B);_changeDetectorRef=f(kr);_scrollStrategy=f(FD,{optional:!0});scrollable=f(OD,{optional:!0});_platform=f(ie);_detachedSubject=new C;_renderedRangeSubject=new C;_renderedContentOffsetSubject=new C;get orientation(){return this._orientation}set orientation(t){this._orientation!==t&&(this._orientation=t,this._calculateSpacerSize())}_orientation="vertical";appendOnly=!1;scrolledIndexChange=new R(t=>this._scrollStrategy.scrolledIndexChange.subscribe(r=>Promise.resolve().then(()=>this.ngZone.run(()=>t.next(r)))));_contentWrapper;renderedRangeStream=this._renderedRangeSubject;renderedContentOffset=this._renderedContentOffsetSubject.pipe(Ce(t=>t!==null),ur());_totalContentSize=0;_totalContentWidth=se("");_totalContentHeight=se("");_renderedContentTransform;_renderedRange={start:0,end:0};_dataLength=0;_viewportSize=0;_forOf=null;_renderedContentOffset=0;_renderedContentOffsetNeedsRewrite=!1;_changeDetectionNeeded=se(!1);_runAfterChangeDetection=[];_viewportChanges=j.EMPTY;_injector=f(O);_isDestroyed=!1;constructor(){super();let t=f(Hr);this._scrollStrategy,this._viewportChanges=t.change().subscribe(()=>{this.checkViewportSize()}),this.scrollable||(this.elementRef.nativeElement.classList.add("cdk-virtual-scrollable"),this.scrollable=this);let r=wr(()=>{this._changeDetectionNeeded()&&this._doChangeDetection()},{injector:f(ot).injector});f(We).onDestroy(()=>{r.destroy()})}ngOnInit(){this._platform.isBrowser&&(this.scrollable===this&&super.ngOnInit(),this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._measureViewportSize(),this._scrollStrategy.attach(this),this.scrollable.elementScrolled().pipe(jt(null),oo(0,uN),Kt(this._destroyed)).subscribe(()=>this._scrollStrategy.onContentScrolled()),this._markChangeDetectionNeeded()})))}ngOnDestroy(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),this._viewportChanges.unsubscribe(),this._isDestroyed=!0,super.ngOnDestroy()}attach(t){this._forOf,this.ngZone.runOutsideAngular(()=>{this._forOf=t,this._forOf.dataStream.pipe(Kt(this._detachedSubject)).subscribe(r=>{let o=r.length;o!==this._dataLength&&(this._dataLength=o,this._scrollStrategy.onDataLengthChanged()),this._doChangeDetection()})})}detach(){this._forOf=null,this._detachedSubject.next()}getDataLength(){return this._dataLength}getViewportSize(){return this._viewportSize}getRenderedRange(){return this._renderedRange}measureBoundingClientRectWithScrollOffset(t){return this.getElementRef().nativeElement.getBoundingClientRect()[t]}setTotalContentSize(t){this._totalContentSize!==t&&(this._totalContentSize=t,this._calculateSpacerSize(),this._markChangeDetectionNeeded())}setRenderedRange(t){lN(this._renderedRange,t)||(this.appendOnly&&(t={start:0,end:Math.max(this._renderedRange.end,t.end)}),this._renderedRangeSubject.next(this._renderedRange=t),this._markChangeDetectionNeeded(()=>this._scrollStrategy.onContentRendered()))}getOffsetToRenderedContentStart(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset}setRenderedContentOffset(t,r="to-start"){t=this.appendOnly&&r==="to-start"?0:t;let o=this.dir&&this.dir.value=="rtl",i=this.orientation=="horizontal",s=i?"X":"Y",c=`translate${s}(${Number((i&&o?-1:1)*t)}px)`;this._renderedContentOffset=t,r==="to-end"&&(c+=` translate${s}(-100%)`,this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=c&&(this._renderedContentTransform=c,this._markChangeDetectionNeeded(()=>{this._renderedContentOffsetNeedsRewrite?(this._renderedContentOffset-=this.measureRenderedContentSize(),this._renderedContentOffsetNeedsRewrite=!1,this.setRenderedContentOffset(this._renderedContentOffset)):this._scrollStrategy.onRenderedOffsetChanged()}))}scrollToOffset(t,r="auto"){let o={behavior:r};this.orientation==="horizontal"?o.start=t:o.top=t,this.scrollable.scrollTo(o)}scrollToIndex(t,r="auto"){this._scrollStrategy.scrollToIndex(t,r)}measureScrollOffset(t){let r;return this.scrollable==this?r=o=>super.measureScrollOffset(o):r=o=>this.scrollable.measureScrollOffset(o),Math.max(0,r(t??(this.orientation==="horizontal"?"start":"top"))-this.measureViewportOffset())}measureViewportOffset(t){let r,o="left",i="right",s=this.dir?.value=="rtl";t=="start"?r=s?i:o:t=="end"?r=s?o:i:t?r=t:r=this.orientation==="horizontal"?"left":"top";let a=this.scrollable.measureBoundingClientRectWithScrollOffset(r);return this.elementRef.nativeElement.getBoundingClientRect()[r]-a}measureRenderedContentSize(){let t=this._contentWrapper.nativeElement;return this.orientation==="horizontal"?t.offsetWidth:t.offsetHeight}measureRangeSize(t){return this._forOf?this._forOf.measureRangeSize(t,this.orientation):0}checkViewportSize(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()}_measureViewportSize(){this._viewportSize=this.scrollable.measureViewportSize(this.orientation)}_markChangeDetectionNeeded(t){t&&this._runAfterChangeDetection.push(t),!ce(this._changeDetectionNeeded)&&this.ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this.ngZone.run(()=>{this._changeDetectionNeeded.set(!0)})})})}_doChangeDetection(){this._isDestroyed||this.ngZone.run(()=>{this._changeDetectorRef.markForCheck(),this._contentWrapper.nativeElement.style.transform=this._renderedContentTransform,this._renderedContentOffsetSubject.next(this.getOffsetToRenderedContentStart()),Rt(()=>{this._changeDetectionNeeded.set(!1);let t=this._runAfterChangeDetection;this._runAfterChangeDetection=[];for(let r of t)r()},{injector:this._injector})})}_calculateSpacerSize(){this._totalContentHeight.set(this.orientation==="horizontal"?"":`${this._totalContentSize}px`),this._totalContentWidth.set(this.orientation==="horizontal"?`${this._totalContentSize}px`:"")}static \u0275fac=function(r){return new(r||e)};static \u0275cmp=ae({type:e,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(r,o){if(r&1&&Ho(nN,7),r&2){let i;as(i=cs())&&(o._contentWrapper=i.first)}},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(r,o){r&2&&De("cdk-virtual-scroll-orientation-horizontal",o.orientation==="horizontal")("cdk-virtual-scroll-orientation-vertical",o.orientation!=="horizontal")},inputs:{orientation:"orientation",appendOnly:[2,"appendOnly","appendOnly",re]},outputs:{scrolledIndexChange:"scrolledIndexChange"},features:[Fe([{provide:xs,useFactory:()=>f(OD,{optional:!0})||f(e)},{provide:PD,useExisting:e}]),W],ngContentSelectors:rN,decls:4,vars:4,consts:[["contentWrapper",""],[1,"cdk-virtual-scroll-content-wrapper"],[1,"cdk-virtual-scroll-spacer"]],template:function(r,o){r&1&&(Ot(),cn(0,"div",1,0),xe(2),ln(),Xe(3,"div",2)),r&2&&(qf(3),Hc("width",o._totalContentWidth())("height",o._totalContentHeight()))},styles:[`cdk-virtual-scroll-viewport {
|
|
25
25
|
display: block;
|
|
26
26
|
position: relative;
|
|
27
27
|
transform: translateZ(0);
|
|
@@ -78,7 +78,7 @@ ${t.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
|
|
|
78
78
|
[dir=rtl] .cdk-virtual-scroll-spacer {
|
|
79
79
|
transform-origin: 100% 0;
|
|
80
80
|
}
|
|
81
|
-
`],encapsulation:2,changeDetection:0})}return e})();function jD(e,n,t){let r=t;if(!r.getBoundingClientRect)return 0;let o=r.getBoundingClientRect();return e==="horizontal"?n==="start"?o.left:o.right:n==="start"?o.top:o.bottom}var vN=(()=>{class e{_viewContainerRef=f(ze);_template=f(ke);_differs=f(fs);_viewRepeater=new Nl;_viewport=f(HD,{skipSelf:!0});viewChange=new C;_dataSourceChanges=new C;get cdkVirtualForOf(){return this._cdkVirtualForOf}set cdkVirtualForOf(t){this._cdkVirtualForOf=t,LD(t)?this._dataSourceChanges.next(t):this._dataSourceChanges.next(new xl(Zt(t)?t:Array.from(t||[])))}_cdkVirtualForOf;get cdkVirtualForTrackBy(){return this._cdkVirtualForTrackBy}set cdkVirtualForTrackBy(t){this._needsUpdate=!0,this._cdkVirtualForTrackBy=t?(r,o)=>t(r+(this._renderedRange?this._renderedRange.start:0),o):void 0}_cdkVirtualForTrackBy;set cdkVirtualForTemplate(t){t&&(this._needsUpdate=!0,this._template=t)}get cdkVirtualForTemplateCacheSize(){return this._viewRepeater.viewCacheSize}set cdkVirtualForTemplateCacheSize(t){this._viewRepeater.viewCacheSize=Ft(t)}dataStream=this._dataSourceChanges.pipe(jt(null),Nu(),so(([t,r])=>this._changeDataSource(t,r)),Ou(1));_differ=null;_data=[];_renderedItems=[];_renderedRange={start:0,end:0};_needsUpdate=!1;_destroyed=new C;constructor(){let t=f(M);this.dataStream.subscribe(r=>{this._data=r,this._onRenderedDataChange()}),this._viewport.renderedRangeStream.pipe(Kt(this._destroyed)).subscribe(r=>{this._renderedRange=r,this.viewChange.observers.length&&t.run(()=>this.viewChange.next(this._renderedRange)),this._onRenderedDataChange()}),this._viewport.attach(this)}measureRangeSize(t,r){if(t.start>=t.end)return 0;t.start<this._renderedRange.start||t.end>this._renderedRange.end;let o=t.start-this._renderedRange.start,i=t.end-t.start,s,a;for(let c=0;c<i;c++){let l=this._viewContainerRef.get(c+o);if(l&&l.rootNodes.length){s=a=l.rootNodes[0];break}}for(let c=i-1;c>-1;c--){let l=this._viewContainerRef.get(c+o);if(l&&l.rootNodes.length){a=l.rootNodes[l.rootNodes.length-1];break}}return s&&a?jD(r,"end",a)-jD(r,"start",s):0}ngDoCheck(){if(this._differ&&this._needsUpdate){let t=this._differ.diff(this._renderedItems);t?this._applyChanges(t):this._updateContext(),this._needsUpdate=!1}}ngOnDestroy(){this._viewport.detach(),this._dataSourceChanges.next(void 0),this._dataSourceChanges.complete(),this.viewChange.complete(),this._destroyed.next(),this._destroyed.complete(),this._viewRepeater.detach()}_onRenderedDataChange(){this._renderedRange&&(this._renderedItems=this._data.slice(this._renderedRange.start,this._renderedRange.end),this._differ||(this._differ=this._differs.find(this._renderedItems).create((t,r)=>this.cdkVirtualForTrackBy?this.cdkVirtualForTrackBy(t,r):r)),this._needsUpdate=!0)}_changeDataSource(t,r){return t&&t.disconnect(this),this._needsUpdate=!0,r?r.connect(this):pe()}_updateContext(){let t=this._data.length,r=this._viewContainerRef.length;for(;r--;){let o=this._viewContainerRef.get(r);o.context.index=this._renderedRange.start+r,o.context.count=t,this._updateComputedContextProperties(o.context),o.detectChanges()}}_applyChanges(t){this._viewRepeater.applyChanges(t,this._viewContainerRef,(i,s,a)=>this._getEmbeddedViewArgs(i,a),i=>i.item),t.forEachIdentityChange(i=>{let s=this._viewContainerRef.get(i.currentIndex);s.context.$implicit=i.item});let r=this._data.length,o=this._viewContainerRef.length;for(;o--;){let i=this._viewContainerRef.get(o);i.context.index=this._renderedRange.start+o,i.context.count=r,this._updateComputedContextProperties(i.context)}}_updateComputedContextProperties(t){t.first=t.index===0,t.last=t.index===t.count-1,t.even=t.index%2===0,t.odd=!t.even}_getEmbeddedViewArgs(t,r){return{templateRef:this._template,context:{$implicit:t.item,cdkVirtualForOf:this._cdkVirtualForOf,index:-1,count:-1,first:!1,last:!1,odd:!1,even:!1},index:r}}static ngTemplateContextGuard(t,r){return!0}static \u0275fac=function(r){return new(r||e)};static \u0275dir=A({type:e,selectors:[["","cdkVirtualFor","","cdkVirtualForOf",""]],inputs:{cdkVirtualForOf:"cdkVirtualForOf",cdkVirtualForTrackBy:"cdkVirtualForTrackBy",cdkVirtualForTemplate:"cdkVirtualForTemplate",cdkVirtualForTemplateCacheSize:"cdkVirtualForTemplateCacheSize"}})}return e})();var wp=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=q({type:e});static \u0275inj=G({})}return e})(),Ip=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=q({type:e});static \u0275inj=G({imports:[st,wp,st,wp]})}return e})();var Rs=class{_attachedHost=null;attach(n){return this._attachedHost=n,n.attach(this)}detach(){let n=this._attachedHost;n!=null&&(this._attachedHost=null,n.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(n){this._attachedHost=n}},Qo=class extends Rs{component;viewContainerRef;injector;projectableNodes;bindings;constructor(n,t,r,o,i){super(),this.component=n,this.viewContainerRef=t,this.injector=r,this.projectableNodes=o,this.bindings=i||null}},Zn=class extends Rs{templateRef;viewContainerRef;context;injector;constructor(n,t,r,o){super(),this.templateRef=n,this.viewContainerRef=t,this.context=r,this.injector=o}get origin(){return this.templateRef.elementRef}attach(n,t=this.context){return this.context=t,super.attach(n)}detach(){return this.context=void 0,super.detach()}},Sp=class extends Rs{element;constructor(n){super(),this.element=n instanceof H?n.nativeElement:n}},Jo=class{_attachedPortal=null;_disposeFn=null;_isDisposed=!1;hasAttached(){return!!this._attachedPortal}attach(n){if(n instanceof Qo)return this._attachedPortal=n,this.attachComponentPortal(n);if(n instanceof Zn)return this._attachedPortal=n,this.attachTemplatePortal(n);if(this.attachDomPortal&&n instanceof Sp)return this._attachedPortal=n,this.attachDomPortal(n)}attachDomPortal=null;detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(n){this._disposeFn=n}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}},Rl=class extends Jo{outletElement;_appRef;_defaultInjector;constructor(n,t,r){super(),this.outletElement=n,this._appRef=t,this._defaultInjector=r}attachComponentPortal(n){let t;if(n.viewContainerRef){let r=n.injector||n.viewContainerRef.injector,o=r.get(Un,null,{optional:!0})||void 0;t=n.viewContainerRef.createComponent(n.component,{index:n.viewContainerRef.length,injector:r,ngModuleRef:o,projectableNodes:n.projectableNodes||void 0,bindings:n.bindings||void 0}),this.setDisposeFn(()=>t.destroy())}else{let r=this._appRef,o=n.injector||this._defaultInjector||O.NULL,i=o.get(ue,r.injector);t=Zc(n.component,{elementInjector:o,environmentInjector:i,projectableNodes:n.projectableNodes||void 0,bindings:n.bindings||void 0}),r.attachView(t.hostView),this.setDisposeFn(()=>{r.viewCount>0&&r.detachView(t.hostView),t.destroy()})}return this.outletElement.appendChild(this._getComponentRootNode(t)),this._attachedPortal=n,t}attachTemplatePortal(n){let t=n.viewContainerRef,r=t.createEmbeddedView(n.templateRef,n.context,{injector:n.injector});return r.rootNodes.forEach(o=>this.outletElement.appendChild(o)),r.detectChanges(),this.setDisposeFn(()=>{let o=t.indexOf(r);o!==-1&&t.remove(o)}),this._attachedPortal=n,r}attachDomPortal=n=>{let t=n.element;t.parentNode;let r=this.outletElement.ownerDocument.createComment("dom-portal");t.parentNode.insertBefore(r,t),this.outletElement.appendChild(t),this._attachedPortal=n,super.setDisposeFn(()=>{r.parentNode&&r.parentNode.replaceChild(t,r)})};dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(n){return n.hostView.rootNodes[0]}},aq=(()=>{class e extends Zn{constructor(){let t=f(ke),r=f(ze);super(t,r)}static \u0275fac=function(r){return new(r||e)};static \u0275dir=A({type:e,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[W]})}return e})(),Os=(()=>{class e extends Jo{_moduleRef=f(Un,{optional:!0});_document=f(x);_viewContainerRef=f(ze);_isInitialized=!1;_attachedRef=null;constructor(){super()}get portal(){return this._attachedPortal}set portal(t){this.hasAttached()&&!t&&!this._isInitialized||(this.hasAttached()&&super.detach(),t&&super.attach(t),this._attachedPortal=t||null)}attached=new $;get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(t){t.setAttachedHost(this);let r=t.viewContainerRef!=null?t.viewContainerRef:this._viewContainerRef,o=r.createComponent(t.component,{index:r.length,injector:t.injector||r.injector,projectableNodes:t.projectableNodes||void 0,ngModuleRef:this._moduleRef||void 0,bindings:t.bindings||void 0});return r!==this._viewContainerRef&&this._getRootNode().appendChild(o.hostView.rootNodes[0]),super.setDisposeFn(()=>o.destroy()),this._attachedPortal=t,this._attachedRef=o,this.attached.emit(o),o}attachTemplatePortal(t){t.setAttachedHost(this);let r=this._viewContainerRef.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=t,this._attachedRef=r,this.attached.emit(r),r}attachDomPortal=t=>{let r=t.element;r.parentNode;let o=this._document.createComment("dom-portal");t.setAttachedHost(this),r.parentNode.insertBefore(o,r),this._getRootNode().appendChild(r),this._attachedPortal=t,super.setDisposeFn(()=>{o.parentNode&&o.parentNode.replaceChild(r,o)})};_getRootNode(){let t=this._viewContainerRef.element.nativeElement;return t.nodeType===t.ELEMENT_NODE?t:t.parentNode}static \u0275fac=function(r){return new(r||e)};static \u0275dir=A({type:e,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[W]})}return e})(),Ur=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=q({type:e});static \u0275inj=G({})}return e})();var UD=Tl();function ti(e){return new Ol(e.get(Hr),e.get(x))}var Ol=class{_viewportRuler;_previousHTMLStyles={top:"",left:""};_previousScrollPosition;_isEnabled=!1;_document;constructor(n,t){this._viewportRuler=n,this._document=t}attach(){}enable(){if(this._canBeEnabled()){let n=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=n.style.left||"",this._previousHTMLStyles.top=n.style.top||"",n.style.left=ve(-this._previousScrollPosition.left),n.style.top=ve(-this._previousScrollPosition.top),n.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let n=this._document.documentElement,t=this._document.body,r=n.style,o=t.style,i=r.scrollBehavior||"",s=o.scrollBehavior||"";this._isEnabled=!1,r.left=this._previousHTMLStyles.left,r.top=this._previousHTMLStyles.top,n.classList.remove("cdk-global-scrollblock"),UD&&(r.scrollBehavior=o.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),UD&&(r.scrollBehavior=i,o.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let t=this._document.documentElement,r=this._viewportRuler.getViewportSize();return t.scrollHeight>r.height||t.scrollWidth>r.width}};function ZD(e,n){return new kl(e.get(xs),e.get(M),e.get(Hr),n)}var kl=class{_scrollDispatcher;_ngZone;_viewportRuler;_config;_scrollSubscription=null;_overlayRef;_initialScrollPosition;constructor(n,t,r,o){this._scrollDispatcher=n,this._ngZone=t,this._viewportRuler=r,this._config=o}attach(n){this._overlayRef,this._overlayRef=n}enable(){if(this._scrollSubscription)return;let n=this._scrollDispatcher.scrolled(0).pipe(Ce(t=>!t||!this._overlayRef.overlayElement.contains(t.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=n.subscribe(()=>{let t=this._viewportRuler.getViewportScrollPosition().top;Math.abs(t-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=n.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}_detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}};var ks=class{enable(){}disable(){}attach(){}};function Mp(e,n){return n.some(t=>{let r=e.bottom<t.top,o=e.top>t.bottom,i=e.right<t.left,s=e.left>t.right;return r||o||i||s})}function $D(e,n){return n.some(t=>{let r=e.top<t.top,o=e.bottom>t.bottom,i=e.left<t.left,s=e.right>t.right;return r||o||i||s})}function Np(e,n){return new Fl(e.get(xs),e.get(Hr),e.get(M),n)}var Fl=class{_scrollDispatcher;_viewportRuler;_ngZone;_config;_scrollSubscription=null;_overlayRef;constructor(n,t,r,o){this._scrollDispatcher=n,this._viewportRuler=t,this._ngZone=r,this._config=o}attach(n){this._overlayRef,this._overlayRef=n}enable(){if(!this._scrollSubscription){let n=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(n).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let t=this._overlayRef.overlayElement.getBoundingClientRect(),{width:r,height:o}=this._viewportRuler.getViewportSize();Mp(t,[{width:r,height:o,bottom:o,right:r,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}})}}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},KD=(()=>{class e{_injector=f(O);constructor(){}noop=()=>new ks;close=t=>ZD(this._injector,t);block=()=>ti(this._injector);reposition=t=>Np(this._injector,t);static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),zr=class{positionStrategy;scrollStrategy=new ks;panelClass="";hasBackdrop=!1;backdropClass="cdk-overlay-dark-backdrop";disableAnimations;width;height;minWidth;minHeight;maxWidth;maxHeight;direction;disposeOnNavigation=!1;usePopover;eventPredicate;constructor(n){if(n){let t=Object.keys(n);for(let r of t)n[r]!==void 0&&(this[r]=n[r])}}};var Pl=class{connectionPair;scrollableViewProperties;constructor(n,t){this.connectionPair=n,this.scrollableViewProperties=t}};var XD=(()=>{class e{_attachedOverlays=[];_document=f(x);_isAttached=!1;constructor(){}ngOnDestroy(){this.detach()}add(t){this.remove(t),this._attachedOverlays.push(t)}remove(t){let r=this._attachedOverlays.indexOf(t);r>-1&&this._attachedOverlays.splice(r,1),this._attachedOverlays.length===0&&this.detach()}canReceiveEvent(t,r,o){return o.observers.length<1?!1:t.eventPredicate?t.eventPredicate(r):!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),QD=(()=>{class e extends XD{_ngZone=f(M);_renderer=f(Se).createRenderer(null,null);_cleanupKeydown;add(t){super.add(t),this._isAttached||(this._ngZone.runOutsideAngular(()=>{this._cleanupKeydown=this._renderer.listen("body","keydown",this._keydownListener)}),this._isAttached=!0)}detach(){this._isAttached&&(this._cleanupKeydown?.(),this._isAttached=!1)}_keydownListener=t=>{let r=this._attachedOverlays;for(let o=r.length-1;o>-1;o--){let i=r[o];if(this.canReceiveEvent(i,t,i._keydownEvents)){this._ngZone.run(()=>i._keydownEvents.next(t));break}}};static \u0275fac=(()=>{let t;return function(o){return(t||(t=Ae(e)))(o||e)}})();static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),JD=(()=>{class e extends XD{_platform=f(ie);_ngZone=f(M);_renderer=f(Se).createRenderer(null,null);_cursorOriginalValue;_cursorStyleIsSet=!1;_pointerDownEventTarget=null;_cleanups;add(t){if(super.add(t),!this._isAttached){let r=this._document.body,o={capture:!0},i=this._renderer;this._cleanups=this._ngZone.runOutsideAngular(()=>[i.listen(r,"pointerdown",this._pointerDownListener,o),i.listen(r,"click",this._clickListener,o),i.listen(r,"auxclick",this._clickListener,o),i.listen(r,"contextmenu",this._clickListener,o)]),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=r.style.cursor,r.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){this._isAttached&&(this._cleanups?.forEach(t=>t()),this._cleanups=void 0,this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}_pointerDownListener=t=>{this._pointerDownEventTarget=Ge(t)};_clickListener=t=>{let r=Ge(t),o=t.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:r;this._pointerDownEventTarget=null;let i=this._attachedOverlays.slice();for(let s=i.length-1;s>-1;s--){let a=i[s],c=a._outsidePointerEvents;if(!(!a.hasAttached()||!this.canReceiveEvent(a,t,c))){if(zD(a.overlayElement,r)||zD(a.overlayElement,o))break;this._ngZone?this._ngZone.run(()=>c.next(t)):c.next(t)}}};static \u0275fac=(()=>{let t;return function(o){return(t||(t=Ae(e)))(o||e)}})();static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function zD(e,n){let t=typeof ShadowRoot<"u"&&ShadowRoot,r=n;for(;r;){if(r===e)return!0;r=t&&r instanceof ShadowRoot?r.host:r.parentNode}return!1}var eE=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=ae({type:e,selectors:[["ng-component"]],hostAttrs:["cdk-overlay-style-loader",""],decls:0,vars:0,template:function(r,o){},styles:[`.cdk-overlay-container, .cdk-global-overlay-wrapper {
|
|
81
|
+
`],encapsulation:2,changeDetection:0})}return e})();function kD(e,n,t){let r=t;if(!r.getBoundingClientRect)return 0;let o=r.getBoundingClientRect();return e==="horizontal"?n==="start"?o.left:o.right:n==="start"?o.top:o.bottom}var fN=(()=>{class e{_viewContainerRef=f(rt);_template=f(Ye);_differs=f(Yc);_viewRepeater=new Al;_viewport=f(PD,{skipSelf:!0});viewChange=new C;_dataSourceChanges=new C;get cdkVirtualForOf(){return this._cdkVirtualForOf}set cdkVirtualForOf(t){this._cdkVirtualForOf=t,RD(t)?this._dataSourceChanges.next(t):this._dataSourceChanges.next(new Tl(Zt(t)?t:Array.from(t||[])))}_cdkVirtualForOf;get cdkVirtualForTrackBy(){return this._cdkVirtualForTrackBy}set cdkVirtualForTrackBy(t){this._needsUpdate=!0,this._cdkVirtualForTrackBy=t?(r,o)=>t(r+(this._renderedRange?this._renderedRange.start:0),o):void 0}_cdkVirtualForTrackBy;set cdkVirtualForTemplate(t){t&&(this._needsUpdate=!0,this._template=t)}get cdkVirtualForTemplateCacheSize(){return this._viewRepeater.viewCacheSize}set cdkVirtualForTemplateCacheSize(t){this._viewRepeater.viewCacheSize=Ft(t)}dataStream=this._dataSourceChanges.pipe(jt(null),Au(),so(([t,r])=>this._changeDataSource(t,r)),Nu(1));_differ=null;_data=[];_renderedItems=[];_renderedRange={start:0,end:0};_needsUpdate=!1;_destroyed=new C;constructor(){let t=f(M);this.dataStream.subscribe(r=>{this._data=r,this._onRenderedDataChange()}),this._viewport.renderedRangeStream.pipe(Kt(this._destroyed)).subscribe(r=>{this._renderedRange=r,this.viewChange.observers.length&&t.run(()=>this.viewChange.next(this._renderedRange)),this._onRenderedDataChange()}),this._viewport.attach(this)}measureRangeSize(t,r){if(t.start>=t.end)return 0;t.start<this._renderedRange.start||t.end>this._renderedRange.end;let o=t.start-this._renderedRange.start,i=t.end-t.start,s,a;for(let c=0;c<i;c++){let l=this._viewContainerRef.get(c+o);if(l&&l.rootNodes.length){s=a=l.rootNodes[0];break}}for(let c=i-1;c>-1;c--){let l=this._viewContainerRef.get(c+o);if(l&&l.rootNodes.length){a=l.rootNodes[l.rootNodes.length-1];break}}return s&&a?kD(r,"end",a)-kD(r,"start",s):0}ngDoCheck(){if(this._differ&&this._needsUpdate){let t=this._differ.diff(this._renderedItems);t?this._applyChanges(t):this._updateContext(),this._needsUpdate=!1}}ngOnDestroy(){this._viewport.detach(),this._dataSourceChanges.next(void 0),this._dataSourceChanges.complete(),this.viewChange.complete(),this._destroyed.next(),this._destroyed.complete(),this._viewRepeater.detach()}_onRenderedDataChange(){this._renderedRange&&(this._renderedItems=this._data.slice(this._renderedRange.start,this._renderedRange.end),this._differ||(this._differ=this._differs.find(this._renderedItems).create((t,r)=>this.cdkVirtualForTrackBy?this.cdkVirtualForTrackBy(t,r):r)),this._needsUpdate=!0)}_changeDataSource(t,r){return t&&t.disconnect(this),this._needsUpdate=!0,r?r.connect(this):pe()}_updateContext(){let t=this._data.length,r=this._viewContainerRef.length;for(;r--;){let o=this._viewContainerRef.get(r);o.context.index=this._renderedRange.start+r,o.context.count=t,this._updateComputedContextProperties(o.context),o.detectChanges()}}_applyChanges(t){this._viewRepeater.applyChanges(t,this._viewContainerRef,(i,s,a)=>this._getEmbeddedViewArgs(i,a),i=>i.item),t.forEachIdentityChange(i=>{let s=this._viewContainerRef.get(i.currentIndex);s.context.$implicit=i.item});let r=this._data.length,o=this._viewContainerRef.length;for(;o--;){let i=this._viewContainerRef.get(o);i.context.index=this._renderedRange.start+o,i.context.count=r,this._updateComputedContextProperties(i.context)}}_updateComputedContextProperties(t){t.first=t.index===0,t.last=t.index===t.count-1,t.even=t.index%2===0,t.odd=!t.even}_getEmbeddedViewArgs(t,r){return{templateRef:this._template,context:{$implicit:t.item,cdkVirtualForOf:this._cdkVirtualForOf,index:-1,count:-1,first:!1,last:!1,odd:!1,even:!1},index:r}}static ngTemplateContextGuard(t,r){return!0}static \u0275fac=function(r){return new(r||e)};static \u0275dir=N({type:e,selectors:[["","cdkVirtualFor","","cdkVirtualForOf",""]],inputs:{cdkVirtualForOf:"cdkVirtualForOf",cdkVirtualForTrackBy:"cdkVirtualForTrackBy",cdkVirtualForTemplate:"cdkVirtualForTemplate",cdkVirtualForTemplateCacheSize:"cdkVirtualForTemplateCacheSize"}})}return e})();var Ep=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=q({type:e});static \u0275inj=G({})}return e})(),Cp=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=q({type:e});static \u0275inj=G({imports:[st,Ep,st,Ep]})}return e})();var Ns=class{_attachedHost=null;attach(n){return this._attachedHost=n,n.attach(this)}detach(){let n=this._attachedHost;n!=null&&(this._attachedHost=null,n.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(n){this._attachedHost=n}},Qo=class extends Ns{component;viewContainerRef;injector;projectableNodes;bindings;constructor(n,t,r,o,i){super(),this.component=n,this.viewContainerRef=t,this.injector=r,this.projectableNodes=o,this.bindings=i||null}},Zn=class extends Ns{templateRef;viewContainerRef;context;injector;constructor(n,t,r,o){super(),this.templateRef=n,this.viewContainerRef=t,this.context=r,this.injector=o}get origin(){return this.templateRef.elementRef}attach(n,t=this.context){return this.context=t,super.attach(n)}detach(){return this.context=void 0,super.detach()}},wp=class extends Ns{element;constructor(n){super(),this.element=n instanceof B?n.nativeElement:n}},Jo=class{_attachedPortal=null;_disposeFn=null;_isDisposed=!1;hasAttached(){return!!this._attachedPortal}attach(n){if(n instanceof Qo)return this._attachedPortal=n,this.attachComponentPortal(n);if(n instanceof Zn)return this._attachedPortal=n,this.attachTemplatePortal(n);if(this.attachDomPortal&&n instanceof wp)return this._attachedPortal=n,this.attachDomPortal(n)}attachDomPortal=null;detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(n){this._disposeFn=n}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}},xl=class extends Jo{outletElement;_appRef;_defaultInjector;constructor(n,t,r){super(),this.outletElement=n,this._appRef=t,this._defaultInjector=r}attachComponentPortal(n){let t;if(n.viewContainerRef){let r=n.injector||n.viewContainerRef.injector,o=r.get(Un,null,{optional:!0})||void 0;t=n.viewContainerRef.createComponent(n.component,{index:n.viewContainerRef.length,injector:r,ngModuleRef:o,projectableNodes:n.projectableNodes||void 0,bindings:n.bindings||void 0}),this.setDisposeFn(()=>t.destroy())}else{let r=this._appRef,o=n.injector||this._defaultInjector||O.NULL,i=o.get(ue,r.injector);t=Zc(n.component,{elementInjector:o,environmentInjector:i,projectableNodes:n.projectableNodes||void 0,bindings:n.bindings||void 0}),r.attachView(t.hostView),this.setDisposeFn(()=>{r.viewCount>0&&r.detachView(t.hostView),t.destroy()})}return this.outletElement.appendChild(this._getComponentRootNode(t)),this._attachedPortal=n,t}attachTemplatePortal(n){let t=n.viewContainerRef,r=t.createEmbeddedView(n.templateRef,n.context,{injector:n.injector});return r.rootNodes.forEach(o=>this.outletElement.appendChild(o)),r.detectChanges(),this.setDisposeFn(()=>{let o=t.indexOf(r);o!==-1&&t.remove(o)}),this._attachedPortal=n,r}attachDomPortal=n=>{let t=n.element;t.parentNode;let r=this.outletElement.ownerDocument.createComment("dom-portal");t.parentNode.insertBefore(r,t),this.outletElement.appendChild(t),this._attachedPortal=n,super.setDisposeFn(()=>{r.parentNode&&r.parentNode.replaceChild(t,r)})};dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(n){return n.hostView.rootNodes[0]}},iq=(()=>{class e extends Zn{constructor(){let t=f(Ye),r=f(rt);super(t,r)}static \u0275fac=function(r){return new(r||e)};static \u0275dir=N({type:e,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[W]})}return e})(),Rs=(()=>{class e extends Jo{_moduleRef=f(Un,{optional:!0});_document=f(A);_viewContainerRef=f(rt);_isInitialized=!1;_attachedRef=null;constructor(){super()}get portal(){return this._attachedPortal}set portal(t){this.hasAttached()&&!t&&!this._isInitialized||(this.hasAttached()&&super.detach(),t&&super.attach(t),this._attachedPortal=t||null)}attached=new $;get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(t){t.setAttachedHost(this);let r=t.viewContainerRef!=null?t.viewContainerRef:this._viewContainerRef,o=r.createComponent(t.component,{index:r.length,injector:t.injector||r.injector,projectableNodes:t.projectableNodes||void 0,ngModuleRef:this._moduleRef||void 0,bindings:t.bindings||void 0});return r!==this._viewContainerRef&&this._getRootNode().appendChild(o.hostView.rootNodes[0]),super.setDisposeFn(()=>o.destroy()),this._attachedPortal=t,this._attachedRef=o,this.attached.emit(o),o}attachTemplatePortal(t){t.setAttachedHost(this);let r=this._viewContainerRef.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=t,this._attachedRef=r,this.attached.emit(r),r}attachDomPortal=t=>{let r=t.element;r.parentNode;let o=this._document.createComment("dom-portal");t.setAttachedHost(this),r.parentNode.insertBefore(o,r),this._getRootNode().appendChild(r),this._attachedPortal=t,super.setDisposeFn(()=>{o.parentNode&&o.parentNode.replaceChild(r,o)})};_getRootNode(){let t=this._viewContainerRef.element.nativeElement;return t.nodeType===t.ELEMENT_NODE?t:t.parentNode}static \u0275fac=function(r){return new(r||e)};static \u0275dir=N({type:e,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[W]})}return e})(),Ur=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=q({type:e});static \u0275inj=G({})}return e})();var LD=Sl();function ti(e){return new Nl(e.get(Hr),e.get(A))}var Nl=class{_viewportRuler;_previousHTMLStyles={top:"",left:""};_previousScrollPosition;_isEnabled=!1;_document;constructor(n,t){this._viewportRuler=n,this._document=t}attach(){}enable(){if(this._canBeEnabled()){let n=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=n.style.left||"",this._previousHTMLStyles.top=n.style.top||"",n.style.left=ve(-this._previousScrollPosition.left),n.style.top=ve(-this._previousScrollPosition.top),n.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let n=this._document.documentElement,t=this._document.body,r=n.style,o=t.style,i=r.scrollBehavior||"",s=o.scrollBehavior||"";this._isEnabled=!1,r.left=this._previousHTMLStyles.left,r.top=this._previousHTMLStyles.top,n.classList.remove("cdk-global-scrollblock"),LD&&(r.scrollBehavior=o.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),LD&&(r.scrollBehavior=i,o.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let t=this._document.documentElement,r=this._viewportRuler.getViewportSize();return t.scrollHeight>r.height||t.scrollWidth>r.width}};function zD(e,n){return new Rl(e.get(As),e.get(M),e.get(Hr),n)}var Rl=class{_scrollDispatcher;_ngZone;_viewportRuler;_config;_scrollSubscription=null;_overlayRef;_initialScrollPosition;constructor(n,t,r,o){this._scrollDispatcher=n,this._ngZone=t,this._viewportRuler=r,this._config=o}attach(n){this._overlayRef,this._overlayRef=n}enable(){if(this._scrollSubscription)return;let n=this._scrollDispatcher.scrolled(0).pipe(Ce(t=>!t||!this._overlayRef.overlayElement.contains(t.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=n.subscribe(()=>{let t=this._viewportRuler.getViewportScrollPosition().top;Math.abs(t-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=n.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}_detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}};var Os=class{enable(){}disable(){}attach(){}};function Ip(e,n){return n.some(t=>{let r=e.bottom<t.top,o=e.top>t.bottom,i=e.right<t.left,s=e.left>t.right;return r||o||i||s})}function VD(e,n){return n.some(t=>{let r=e.top<t.top,o=e.bottom>t.bottom,i=e.left<t.left,s=e.right>t.right;return r||o||i||s})}function Ap(e,n){return new Ol(e.get(As),e.get(Hr),e.get(M),n)}var Ol=class{_scrollDispatcher;_viewportRuler;_ngZone;_config;_scrollSubscription=null;_overlayRef;constructor(n,t,r,o){this._scrollDispatcher=n,this._viewportRuler=t,this._ngZone=r,this._config=o}attach(n){this._overlayRef,this._overlayRef=n}enable(){if(!this._scrollSubscription){let n=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(n).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let t=this._overlayRef.overlayElement.getBoundingClientRect(),{width:r,height:o}=this._viewportRuler.getViewportSize();Ip(t,[{width:r,height:o,bottom:o,right:r,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}})}}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},GD=(()=>{class e{_injector=f(O);constructor(){}noop=()=>new Os;close=t=>zD(this._injector,t);block=()=>ti(this._injector);reposition=t=>Ap(this._injector,t);static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),zr=class{positionStrategy;scrollStrategy=new Os;panelClass="";hasBackdrop=!1;backdropClass="cdk-overlay-dark-backdrop";disableAnimations;width;height;minWidth;minHeight;maxWidth;maxHeight;direction;disposeOnNavigation=!1;usePopover;eventPredicate;constructor(n){if(n){let t=Object.keys(n);for(let r of t)n[r]!==void 0&&(this[r]=n[r])}}};var kl=class{connectionPair;scrollableViewProperties;constructor(n,t){this.connectionPair=n,this.scrollableViewProperties=t}};var WD=(()=>{class e{_attachedOverlays=[];_document=f(A);_isAttached=!1;constructor(){}ngOnDestroy(){this.detach()}add(t){this.remove(t),this._attachedOverlays.push(t)}remove(t){let r=this._attachedOverlays.indexOf(t);r>-1&&this._attachedOverlays.splice(r,1),this._attachedOverlays.length===0&&this.detach()}canReceiveEvent(t,r,o){return o.observers.length<1?!1:t.eventPredicate?t.eventPredicate(r):!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),qD=(()=>{class e extends WD{_ngZone=f(M);_renderer=f(Se).createRenderer(null,null);_cleanupKeydown;add(t){super.add(t),this._isAttached||(this._ngZone.runOutsideAngular(()=>{this._cleanupKeydown=this._renderer.listen("body","keydown",this._keydownListener)}),this._isAttached=!0)}detach(){this._isAttached&&(this._cleanupKeydown?.(),this._isAttached=!1)}_keydownListener=t=>{let r=this._attachedOverlays;for(let o=r.length-1;o>-1;o--){let i=r[o];if(this.canReceiveEvent(i,t,i._keydownEvents)){this._ngZone.run(()=>i._keydownEvents.next(t));break}}};static \u0275fac=(()=>{let t;return function(o){return(t||(t=Ae(e)))(o||e)}})();static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),YD=(()=>{class e extends WD{_platform=f(ie);_ngZone=f(M);_renderer=f(Se).createRenderer(null,null);_cursorOriginalValue;_cursorStyleIsSet=!1;_pointerDownEventTarget=null;_cleanups;add(t){if(super.add(t),!this._isAttached){let r=this._document.body,o={capture:!0},i=this._renderer;this._cleanups=this._ngZone.runOutsideAngular(()=>[i.listen(r,"pointerdown",this._pointerDownListener,o),i.listen(r,"click",this._clickListener,o),i.listen(r,"auxclick",this._clickListener,o),i.listen(r,"contextmenu",this._clickListener,o)]),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=r.style.cursor,r.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){this._isAttached&&(this._cleanups?.forEach(t=>t()),this._cleanups=void 0,this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}_pointerDownListener=t=>{this._pointerDownEventTarget=$e(t)};_clickListener=t=>{let r=$e(t),o=t.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:r;this._pointerDownEventTarget=null;let i=this._attachedOverlays.slice();for(let s=i.length-1;s>-1;s--){let a=i[s],c=a._outsidePointerEvents;if(!(!a.hasAttached()||!this.canReceiveEvent(a,t,c))){if(jD(a.overlayElement,r)||jD(a.overlayElement,o))break;this._ngZone?this._ngZone.run(()=>c.next(t)):c.next(t)}}};static \u0275fac=(()=>{let t;return function(o){return(t||(t=Ae(e)))(o||e)}})();static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function jD(e,n){let t=typeof ShadowRoot<"u"&&ShadowRoot,r=n;for(;r;){if(r===e)return!0;r=t&&r instanceof ShadowRoot?r.host:r.parentNode}return!1}var ZD=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=ae({type:e,selectors:[["ng-component"]],hostAttrs:["cdk-overlay-style-loader",""],decls:0,vars:0,template:function(r,o){},styles:[`.cdk-overlay-container, .cdk-global-overlay-wrapper {
|
|
82
82
|
pointer-events: none;
|
|
83
83
|
top: 0;
|
|
84
84
|
left: 0;
|
|
@@ -217,14 +217,14 @@ ${t.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
|
|
|
217
217
|
position: fixed;
|
|
218
218
|
z-index: auto;
|
|
219
219
|
}
|
|
220
|
-
`],encapsulation:2,changeDetection:0})}return e})(),Fs=(()=>{class e{_platform=f(ie);_containerElement;_document=f(x);_styleLoader=f(gt);constructor(){}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._loadStyles(),this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let t="cdk-overlay-container";if(this._platform.isBrowser||Ep()){let o=this._document.querySelectorAll(`.${t}[platform="server"], .${t}[platform="test"]`);for(let i=0;i<o.length;i++)o[i].remove()}let r=this._document.createElement("div");r.classList.add(t),Ep()?r.setAttribute("platform","test"):this._platform.isBrowser||r.setAttribute("platform","server"),this._document.body.appendChild(r),this._containerElement=r}_loadStyles(){this._styleLoader.load(eE)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Tp=class{_renderer;_ngZone;element;_cleanupClick;_cleanupTransitionEnd;_fallbackTimeout;constructor(n,t,r,o){this._renderer=t,this._ngZone=r,this.element=n.createElement("div"),this.element.classList.add("cdk-overlay-backdrop"),this._cleanupClick=t.listen(this.element,"click",o)}detach(){this._ngZone.runOutsideAngular(()=>{let n=this.element;clearTimeout(this._fallbackTimeout),this._cleanupTransitionEnd?.(),this._cleanupTransitionEnd=this._renderer.listen(n,"transitionend",this.dispose),this._fallbackTimeout=setTimeout(this.dispose,500),n.style.pointerEvents="none",n.classList.remove("cdk-overlay-backdrop-showing")})}dispose=()=>{clearTimeout(this._fallbackTimeout),this._cleanupClick?.(),this._cleanupTransitionEnd?.(),this._cleanupClick=this._cleanupTransitionEnd=this._fallbackTimeout=void 0,this.element.remove()}};function Rp(e){return e&&e.nodeType===1}var ei=class{_portalOutlet;_host;_pane;_config;_ngZone;_keyboardDispatcher;_document;_location;_outsideClickDispatcher;_animationsDisabled;_injector;_renderer;_backdropClick=new C;_attachments=new C;_detachments=new C;_positionStrategy;_scrollStrategy;_locationChanges=B.EMPTY;_backdropRef=null;_detachContentMutationObserver;_detachContentAfterRenderRef;_disposed=!1;_previousHostParent;_keydownEvents=new C;_outsidePointerEvents=new C;_afterNextRenderRef;constructor(n,t,r,o,i,s,a,c,l,u=!1,d,h){this._portalOutlet=n,this._host=t,this._pane=r,this._config=o,this._ngZone=i,this._keyboardDispatcher=s,this._document=a,this._location=c,this._outsideClickDispatcher=l,this._animationsDisabled=u,this._injector=d,this._renderer=h,o.scrollStrategy&&(this._scrollStrategy=o.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=o.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropRef?.element||null}get hostElement(){return this._host}get eventPredicate(){return this._config?.eventPredicate||null}attach(n){if(this._disposed)return null;this._attachHost();let t=this._portalOutlet.attach(n);return this._positionStrategy?.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=Rt(()=>{this.hasAttached()&&this.updatePosition()},{injector:this._injector}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._completeDetachContent(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),typeof t?.onDestroy=="function"&&t.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),t}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let n=this._portalOutlet.detach();return this._detachments.next(),this._completeDetachContent(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),n}dispose(){if(this._disposed)return;let n=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._backdropRef?.dispose(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._afterNextRenderRef?.destroy(),this._previousHostParent=this._pane=this._host=this._backdropRef=null,n&&this._detachments.next(),this._detachments.complete(),this._completeDetachContent(),this._disposed=!0}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(n){n!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=n,this.hasAttached()&&(n.attach(this),this.updatePosition()))}updateSize(n){this._config=E(E({},this._config),n),this._updateElementSize()}setDirection(n){this._config=U(E({},this._config),{direction:n}),this._updateElementDirection()}addPanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!0)}removePanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!1)}getDirection(){let n=this._config.direction;return n?typeof n=="string"?n:n.value:"ltr"}updateScrollStrategy(n){n!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=n,this.hasAttached()&&(n.attach(this),n.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let n=this._pane.style;n.width=ve(this._config.width),n.height=ve(this._config.height),n.minWidth=ve(this._config.minWidth),n.minHeight=ve(this._config.minHeight),n.maxWidth=ve(this._config.maxWidth),n.maxHeight=ve(this._config.maxHeight)}_togglePointerEvents(n){this._pane.style.pointerEvents=n?"":"none"}_attachHost(){if(!this._host.parentElement){let n=this._config.usePopover?this._positionStrategy?.getPopoverInsertionPoint?.():null;Rp(n)?n.after(this._host):n?.type==="parent"?n.element.appendChild(this._host):this._previousHostParent?.appendChild(this._host)}if(this._config.usePopover)try{this._host.showPopover()}catch(n){}}_attachBackdrop(){let n="cdk-overlay-backdrop-showing";this._backdropRef?.dispose(),this._backdropRef=new Tp(this._document,this._renderer,this._ngZone,t=>{this._backdropClick.next(t)}),this._animationsDisabled&&this._backdropRef.element.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropRef.element,this._config.backdropClass,!0),this._config.usePopover?this._host.prepend(this._backdropRef.element):this._host.parentElement.insertBefore(this._backdropRef.element,this._host),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._backdropRef?.element.classList.add(n))}):this._backdropRef.element.classList.add(n)}_updateStackingOrder(){!this._config.usePopover&&this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){this._animationsDisabled?(this._backdropRef?.dispose(),this._backdropRef=null):this._backdropRef?.detach()}_toggleClasses(n,t,r){let o=Yo(t||[]).filter(i=>!!i);o.length&&(r?n.classList.add(...o):n.classList.remove(...o))}_detachContentWhenEmpty(){let n=!1;try{this._detachContentAfterRenderRef=Rt(()=>{n=!0,this._detachContent()},{injector:this._injector})}catch(t){if(n)throw t;this._detachContent()}globalThis.MutationObserver&&this._pane&&(this._detachContentMutationObserver||=new globalThis.MutationObserver(()=>{this._detachContent()}),this._detachContentMutationObserver.observe(this._pane,{childList:!0}))}_detachContent(){(!this._pane||!this._host||this._pane.children.length===0)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),this._completeDetachContent())}_completeDetachContent(){this._detachContentAfterRenderRef?.destroy(),this._detachContentAfterRenderRef=void 0,this._detachContentMutationObserver?.disconnect()}_disposeScrollStrategy(){let n=this._scrollStrategy;n?.disable(),n?.detach?.()}},GD="cdk-overlay-connected-position-bounding-box",_N=/([A-Za-z%]+)$/;function Op(e,n){return new Ll(n,e.get(Hr),e.get(x),e.get(ie),e.get(Fs))}var Ll=class{_viewportRuler;_document;_platform;_overlayContainer;_overlayRef;_isInitialRender=!1;_lastBoundingBoxSize={width:0,height:0};_isPushed=!1;_canPush=!0;_growAfterOpen=!1;_hasFlexibleDimensions=!0;_positionLocked=!1;_originRect;_overlayRect;_viewportRect;_containerRect;_viewportMargin=0;_scrollables=[];_preferredPositions=[];_origin;_pane;_isDisposed=!1;_boundingBox=null;_lastPosition=null;_lastScrollVisibility=null;_positionChanges=new C;_resizeSubscription=B.EMPTY;_offsetX=0;_offsetY=0;_transformOriginSelector;_appliedPanelClasses=[];_previousPushAmount=null;_popoverLocation="global";positionChanges=this._positionChanges;get positions(){return this._preferredPositions}constructor(n,t,r,o,i){this._viewportRuler=t,this._document=r,this._platform=o,this._overlayContainer=i,this.setOrigin(n)}attach(n){this._overlayRef&&this._overlayRef,this._validatePositions(),n.hostElement.classList.add(GD),this._overlayRef=n,this._boundingBox=n.hostElement,this._pane=n.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition){this.reapplyLastPosition();return}this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._getContainerRect();let n=this._originRect,t=this._overlayRect,r=this._viewportRect,o=this._containerRect,i=[],s;for(let a of this._preferredPositions){let c=this._getOriginPoint(n,o,a),l=this._getOverlayPoint(c,t,a),u=this._getOverlayFit(l,t,r,a);if(u.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(a,c);return}if(this._canFitWithFlexibleDimensions(u,l,r)){i.push({position:a,origin:c,overlayRect:t,boundingBoxRect:this._calculateBoundingBoxRect(c,a)});continue}(!s||s.overlayFit.visibleArea<u.visibleArea)&&(s={overlayFit:u,overlayPoint:l,originPoint:c,position:a,overlayRect:t})}if(i.length){let a=null,c=-1;for(let l of i){let u=l.boundingBoxRect.width*l.boundingBoxRect.height*(l.position.weight||1);u>c&&(c=u,a=l)}this._isPushed=!1,this._applyPosition(a.position,a.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(s.position,s.originPoint);return}this._applyPosition(s.position,s.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&$r(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(GD),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let n=this._lastPosition;n?(this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._getContainerRect(),this._applyPosition(n,this._getOriginPoint(this._originRect,this._containerRect,n))):this.apply()}withScrollableContainers(n){return this._scrollables=n,this}withPositions(n){return this._preferredPositions=n,n.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(n){return this._viewportMargin=n,this}withFlexibleDimensions(n=!0){return this._hasFlexibleDimensions=n,this}withGrowAfterOpen(n=!0){return this._growAfterOpen=n,this}withPush(n=!0){return this._canPush=n,this}withLockedPosition(n=!0){return this._positionLocked=n,this}setOrigin(n){return this._origin=n,this}withDefaultOffsetX(n){return this._offsetX=n,this}withDefaultOffsetY(n){return this._offsetY=n,this}withTransformOriginOn(n){return this._transformOriginSelector=n,this}withPopoverLocation(n){return this._popoverLocation=n,this}getPopoverInsertionPoint(){return this._popoverLocation==="global"?null:this._popoverLocation!=="inline"?this._popoverLocation:this._origin instanceof H?this._origin.nativeElement:Rp(this._origin)?this._origin:null}_getOriginPoint(n,t,r){let o;if(r.originX=="center")o=n.left+n.width/2;else{let s=this._isRtl()?n.right:n.left,a=this._isRtl()?n.left:n.right;o=r.originX=="start"?s:a}t.left<0&&(o-=t.left);let i;return r.originY=="center"?i=n.top+n.height/2:i=r.originY=="top"?n.top:n.bottom,t.top<0&&(i-=t.top),{x:o,y:i}}_getOverlayPoint(n,t,r){let o;r.overlayX=="center"?o=-t.width/2:r.overlayX==="start"?o=this._isRtl()?-t.width:0:o=this._isRtl()?0:-t.width;let i;return r.overlayY=="center"?i=-t.height/2:i=r.overlayY=="top"?0:-t.height,{x:n.x+o,y:n.y+i}}_getOverlayFit(n,t,r,o){let i=qD(t),{x:s,y:a}=n,c=this._getOffset(o,"x"),l=this._getOffset(o,"y");c&&(s+=c),l&&(a+=l);let u=0-s,d=s+i.width-r.width,h=0-a,p=a+i.height-r.height,m=this._subtractOverflows(i.width,u,d),v=this._subtractOverflows(i.height,h,p),_=m*v;return{visibleArea:_,isCompletelyWithinViewport:i.width*i.height===_,fitsInViewportVertically:v===i.height,fitsInViewportHorizontally:m==i.width}}_canFitWithFlexibleDimensions(n,t,r){if(this._hasFlexibleDimensions){let o=r.bottom-t.y,i=r.right-t.x,s=WD(this._overlayRef.getConfig().minHeight),a=WD(this._overlayRef.getConfig().minWidth),c=n.fitsInViewportVertically||s!=null&&s<=o,l=n.fitsInViewportHorizontally||a!=null&&a<=i;return c&&l}return!1}_pushOverlayOnScreen(n,t,r){if(this._previousPushAmount&&this._positionLocked)return{x:n.x+this._previousPushAmount.x,y:n.y+this._previousPushAmount.y};let o=qD(t),i=this._viewportRect,s=Math.max(n.x+o.width-i.width,0),a=Math.max(n.y+o.height-i.height,0),c=Math.max(i.top-r.top-n.y,0),l=Math.max(i.left-r.left-n.x,0),u=0,d=0;return o.width<=i.width?u=l||-s:u=n.x<this._getViewportMarginStart()?i.left-r.left-n.x:0,o.height<=i.height?d=c||-a:d=n.y<this._getViewportMarginTop()?i.top-r.top-n.y:0,this._previousPushAmount={x:u,y:d},{x:n.x+u,y:n.y+d}}_applyPosition(n,t){if(this._setTransformOrigin(n),this._setOverlayElementStyles(t,n),this._setBoundingBoxStyles(t,n),n.panelClass&&this._addPanelClasses(n.panelClass),this._positionChanges.observers.length){let r=this._getScrollVisibility();if(n!==this._lastPosition||!this._lastScrollVisibility||!bN(this._lastScrollVisibility,r)){let o=new Pl(n,r);this._positionChanges.next(o)}this._lastScrollVisibility=r}this._lastPosition=n,this._isInitialRender=!1}_setTransformOrigin(n){if(!this._transformOriginSelector)return;let t=this._boundingBox.querySelectorAll(this._transformOriginSelector),r,o=n.overlayY;n.overlayX==="center"?r="center":this._isRtl()?r=n.overlayX==="start"?"right":"left":r=n.overlayX==="start"?"left":"right";for(let i=0;i<t.length;i++)t[i].style.transformOrigin=`${r} ${o}`}_calculateBoundingBoxRect(n,t){let r=this._viewportRect,o=this._isRtl(),i,s,a;if(t.overlayY==="top")s=n.y,i=r.height-s+this._getViewportMarginBottom();else if(t.overlayY==="bottom")a=r.height-n.y+this._getViewportMarginTop()+this._getViewportMarginBottom(),i=r.height-a+this._getViewportMarginTop();else{let p=Math.min(r.bottom-n.y+r.top,n.y),m=this._lastBoundingBoxSize.height;i=p*2,s=n.y-p,i>m&&!this._isInitialRender&&!this._growAfterOpen&&(s=n.y-m/2)}let c=t.overlayX==="start"&&!o||t.overlayX==="end"&&o,l=t.overlayX==="end"&&!o||t.overlayX==="start"&&o,u,d,h;if(l)h=r.width-n.x+this._getViewportMarginStart()+this._getViewportMarginEnd(),u=n.x-this._getViewportMarginStart();else if(c)d=n.x,u=r.right-n.x-this._getViewportMarginEnd();else{let p=Math.min(r.right-n.x+r.left,n.x),m=this._lastBoundingBoxSize.width;u=p*2,d=n.x-p,u>m&&!this._isInitialRender&&!this._growAfterOpen&&(d=n.x-m/2)}return{top:s,left:d,bottom:a,right:h,width:u,height:i}}_setBoundingBoxStyles(n,t){let r=this._calculateBoundingBoxRect(n,t);!this._isInitialRender&&!this._growAfterOpen&&(r.height=Math.min(r.height,this._lastBoundingBoxSize.height),r.width=Math.min(r.width,this._lastBoundingBoxSize.width));let o={};if(this._hasExactPosition())o.top=o.left="0",o.bottom=o.right="auto",o.maxHeight=o.maxWidth="",o.width=o.height="100%";else{let i=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;o.width=ve(r.width),o.height=ve(r.height),o.top=ve(r.top)||"auto",o.bottom=ve(r.bottom)||"auto",o.left=ve(r.left)||"auto",o.right=ve(r.right)||"auto",t.overlayX==="center"?o.alignItems="center":o.alignItems=t.overlayX==="end"?"flex-end":"flex-start",t.overlayY==="center"?o.justifyContent="center":o.justifyContent=t.overlayY==="bottom"?"flex-end":"flex-start",i&&(o.maxHeight=ve(i)),s&&(o.maxWidth=ve(s))}this._lastBoundingBoxSize=r,$r(this._boundingBox.style,o)}_resetBoundingBoxStyles(){$r(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){$r(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(n,t){let r={},o=this._hasExactPosition(),i=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(o){let u=this._viewportRuler.getViewportScrollPosition();$r(r,this._getExactOverlayY(t,n,u)),$r(r,this._getExactOverlayX(t,n,u))}else r.position="static";let a="",c=this._getOffset(t,"x"),l=this._getOffset(t,"y");c&&(a+=`translateX(${c}px) `),l&&(a+=`translateY(${l}px)`),r.transform=a.trim(),s.maxHeight&&(o?r.maxHeight=ve(s.maxHeight):i&&(r.maxHeight="")),s.maxWidth&&(o?r.maxWidth=ve(s.maxWidth):i&&(r.maxWidth="")),$r(this._pane.style,r)}_getExactOverlayY(n,t,r){let o={top:"",bottom:""},i=this._getOverlayPoint(t,this._overlayRect,n);if(this._isPushed&&(i=this._pushOverlayOnScreen(i,this._overlayRect,r)),n.overlayY==="bottom"){let s=this._document.documentElement.clientHeight;o.bottom=`${s-(i.y+this._overlayRect.height)}px`}else o.top=ve(i.y);return o}_getExactOverlayX(n,t,r){let o={left:"",right:""},i=this._getOverlayPoint(t,this._overlayRect,n);this._isPushed&&(i=this._pushOverlayOnScreen(i,this._overlayRect,r));let s;if(this._isRtl()?s=n.overlayX==="end"?"left":"right":s=n.overlayX==="end"?"right":"left",s==="right"){let a=this._document.documentElement.clientWidth;o.right=`${a-(i.x+this._overlayRect.width)}px`}else o.left=ve(i.x);return o}_getScrollVisibility(){let n=this._getOriginRect(),t=this._pane.getBoundingClientRect(),r=this._scrollables.map(o=>o.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:$D(n,r),isOriginOutsideView:Mp(n,r),isOverlayClipped:$D(t,r),isOverlayOutsideView:Mp(t,r)}}_subtractOverflows(n,...t){return t.reduce((r,o)=>r-Math.max(o,0),n)}_getNarrowedViewportRect(){let n=this._document.documentElement.clientWidth,t=this._document.documentElement.clientHeight,r=this._viewportRuler.getViewportScrollPosition();return{top:r.top+this._getViewportMarginTop(),left:r.left+this._getViewportMarginStart(),right:r.left+n-this._getViewportMarginEnd(),bottom:r.top+t-this._getViewportMarginBottom(),width:n-this._getViewportMarginStart()-this._getViewportMarginEnd(),height:t-this._getViewportMarginTop()-this._getViewportMarginBottom()}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(n,t){return t==="x"?n.offsetX==null?this._offsetX:n.offsetX:n.offsetY==null?this._offsetY:n.offsetY}_validatePositions(){}_addPanelClasses(n){this._pane&&Yo(n).forEach(t=>{t!==""&&this._appliedPanelClasses.indexOf(t)===-1&&(this._appliedPanelClasses.push(t),this._pane.classList.add(t))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(n=>{this._pane.classList.remove(n)}),this._appliedPanelClasses=[])}_getViewportMarginStart(){return typeof this._viewportMargin=="number"?this._viewportMargin:this._viewportMargin?.start??0}_getViewportMarginEnd(){return typeof this._viewportMargin=="number"?this._viewportMargin:this._viewportMargin?.end??0}_getViewportMarginTop(){return typeof this._viewportMargin=="number"?this._viewportMargin:this._viewportMargin?.top??0}_getViewportMarginBottom(){return typeof this._viewportMargin=="number"?this._viewportMargin:this._viewportMargin?.bottom??0}_getOriginRect(){let n=this._origin;if(n instanceof H)return n.nativeElement.getBoundingClientRect();if(n instanceof Element)return n.getBoundingClientRect();let t=n.width||0,r=n.height||0;return{top:n.y,bottom:n.y+r,left:n.x,right:n.x+t,height:r,width:t}}_getContainerRect(){let n=this._overlayRef.getConfig().usePopover&&this._popoverLocation!=="global",t=this._overlayContainer.getContainerElement();n&&(t.style.display="block");let r=t.getBoundingClientRect();return n&&(t.style.display=""),r}};function $r(e,n){for(let t in n)n.hasOwnProperty(t)&&(e[t]=n[t]);return e}function WD(e){if(typeof e!="number"&&e!=null){let[n,t]=e.split(_N);return!t||t==="px"?parseFloat(n):null}return e||null}function qD(e){return{top:Math.floor(e.top),right:Math.floor(e.right),bottom:Math.floor(e.bottom),left:Math.floor(e.left),width:Math.floor(e.width),height:Math.floor(e.height)}}function bN(e,n){return e===n?!0:e.isOriginClipped===n.isOriginClipped&&e.isOriginOutsideView===n.isOriginOutsideView&&e.isOverlayClipped===n.isOverlayClipped&&e.isOverlayOutsideView===n.isOverlayOutsideView}var YD="cdk-global-overlay-wrapper";function ni(e){return new Vl}var Vl=class{_overlayRef;_cssPosition="static";_topOffset="";_bottomOffset="";_alignItems="";_xPosition="";_xOffset="";_width="";_height="";_isDisposed=!1;attach(n){let t=n.getConfig();this._overlayRef=n,this._width&&!t.width&&n.updateSize({width:this._width}),this._height&&!t.height&&n.updateSize({height:this._height}),n.hostElement.classList.add(YD),this._isDisposed=!1}top(n=""){return this._bottomOffset="",this._topOffset=n,this._alignItems="flex-start",this}left(n=""){return this._xOffset=n,this._xPosition="left",this}bottom(n=""){return this._topOffset="",this._bottomOffset=n,this._alignItems="flex-end",this}right(n=""){return this._xOffset=n,this._xPosition="right",this}start(n=""){return this._xOffset=n,this._xPosition="start",this}end(n=""){return this._xOffset=n,this._xPosition="end",this}width(n=""){return this._overlayRef?this._overlayRef.updateSize({width:n}):this._width=n,this}height(n=""){return this._overlayRef?this._overlayRef.updateSize({height:n}):this._height=n,this}centerHorizontally(n=""){return this.left(n),this._xPosition="center",this}centerVertically(n=""){return this.top(n),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let n=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement.style,r=this._overlayRef.getConfig(),{width:o,height:i,maxWidth:s,maxHeight:a}=r,c=(o==="100%"||o==="100vw")&&(!s||s==="100%"||s==="100vw"),l=(i==="100%"||i==="100vh")&&(!a||a==="100%"||a==="100vh"),u=this._xPosition,d=this._xOffset,h=this._overlayRef.getConfig().direction==="rtl",p="",m="",v="";c?v="flex-start":u==="center"?(v="center",h?m=d:p=d):h?u==="left"||u==="end"?(v="flex-end",p=d):(u==="right"||u==="start")&&(v="flex-start",m=d):u==="left"||u==="start"?(v="flex-start",p=d):(u==="right"||u==="end")&&(v="flex-end",m=d),n.position=this._cssPosition,n.marginLeft=c?"0":p,n.marginTop=l?"0":this._topOffset,n.marginBottom=this._bottomOffset,n.marginRight=c?"0":m,t.justifyContent=v,t.alignItems=l?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let n=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement,r=t.style;t.classList.remove(YD),r.justifyContent=r.alignItems=n.marginTop=n.marginBottom=n.marginLeft=n.marginRight=n.position="",this._overlayRef=null,this._isDisposed=!0}},tE=(()=>{class e{_injector=f(O);constructor(){}global(){return ni()}flexibleConnectedTo(t){return Op(this._injector,t)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),kp=new g("OVERLAY_DEFAULT_CONFIG");function Ps(e,n){e.get(gt).load(eE);let t=e.get(Fs),r=e.get(x),o=e.get(qt),i=e.get(ot),s=e.get(hn),a=e.get(Xe,null,{optional:!0})||e.get(Se).createRenderer(null,null),c=new zr(n),l=e.get(kp,null,{optional:!0})?.usePopover??!0;c.direction=c.direction||s.value,"showPopover"in r.body?c.usePopover=n?.usePopover??l:c.usePopover=!1;let u=r.createElement("div"),d=r.createElement("div");u.id=o.getId("cdk-overlay-"),u.classList.add("cdk-overlay-pane"),d.appendChild(u),c.usePopover&&(d.setAttribute("popover","manual"),d.classList.add("cdk-overlay-popover"));let h=c.usePopover?c.positionStrategy?.getPopoverInsertionPoint?.():null;return Rp(h)?h.after(d):h?.type==="parent"?h.element.appendChild(d):t.getContainerElement().appendChild(d),new ei(new Rl(u,i,e),d,u,c,e.get(M),e.get(QD),r,e.get(Xc),e.get(JD),n?.disableAnimations??e.get(Ji,null,{optional:!0})==="NoopAnimations",e.get(ue),a)}var nE=(()=>{class e{scrollStrategies=f(KD);_positionBuilder=f(tE);_injector=f(O);constructor(){}create(t){return Ps(this._injector,t)}position(){return this._positionBuilder}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),DN=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],EN=new g("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let e=f(O);return()=>Np(e)}}),Ap=(()=>{class e{elementRef=f(H);constructor(){}static \u0275fac=function(r){return new(r||e)};static \u0275dir=A({type:e,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]})}return e})(),rE=new g("cdk-connected-overlay-default-config"),CN=(()=>{class e{_dir=f(hn,{optional:!0});_injector=f(O);_overlayRef;_templatePortal;_backdropSubscription=B.EMPTY;_attachSubscription=B.EMPTY;_detachSubscription=B.EMPTY;_positionSubscription=B.EMPTY;_offsetX;_offsetY;_position;_scrollStrategyFactory=f(EN);_ngZone=f(M);origin;positions;positionStrategy;get offsetX(){return this._offsetX}set offsetX(t){this._offsetX=t,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(t){this._offsetY=t,this._position&&this._updatePositionStrategy(this._position)}width;height;minWidth;minHeight;backdropClass;panelClass;viewportMargin=0;scrollStrategy;open=!1;disableClose=!1;transformOriginSelector;hasBackdrop=!1;lockPosition=!1;flexibleDimensions=!1;growAfterOpen=!1;push=!1;disposeOnNavigation=!1;usePopover;matchWidth=!1;set _config(t){typeof t!="string"&&this._assignConfig(t)}backdropClick=new $;positionChange=new $;attach=new $;detach=new $;overlayKeydown=new $;overlayOutsideClick=new $;constructor(){let t=f(ke),r=f(ze),o=f(rE,{optional:!0}),i=f(kp,{optional:!0});this.usePopover=i?.usePopover===!1?null:"global",this._templatePortal=new Zn(t,r),this.scrollStrategy=this._scrollStrategyFactory(),o&&this._assignConfig(o)}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef?.dispose()}ngOnChanges(t){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef?.updateSize({width:this._getWidth(),minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),t.origin&&this.open&&this._position.apply()),t.open&&(this.open?this.attachOverlay():this.detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=DN);let t=this._overlayRef=Ps(this._injector,this._buildConfig());this._attachSubscription=t.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=t.detachments().subscribe(()=>this.detach.emit()),t.keydownEvents().subscribe(r=>{this.overlayKeydown.next(r),r.keyCode===27&&!this.disableClose&&!Yn(r)&&(r.preventDefault(),this.detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(r=>{let o=this._getOriginElement(),i=Ge(r);(!o||o!==i&&!o.contains(i))&&this.overlayOutsideClick.next(r)})}_buildConfig(){let t=this._position=this.positionStrategy||this._createPositionStrategy(),r=new zr({direction:this._dir||"ltr",positionStrategy:t,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation,usePopover:!!this.usePopover});return(this.height||this.height===0)&&(r.height=this.height),(this.minWidth||this.minWidth===0)&&(r.minWidth=this.minWidth),(this.minHeight||this.minHeight===0)&&(r.minHeight=this.minHeight),this.backdropClass&&(r.backdropClass=this.backdropClass),this.panelClass&&(r.panelClass=this.panelClass),r}_updatePositionStrategy(t){let r=this.positions.map(o=>({originX:o.originX,originY:o.originY,overlayX:o.overlayX,overlayY:o.overlayY,offsetX:o.offsetX||this.offsetX,offsetY:o.offsetY||this.offsetY,panelClass:o.panelClass||void 0}));return t.setOrigin(this._getOrigin()).withPositions(r).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector).withPopoverLocation(this.usePopover===null?"global":this.usePopover)}_createPositionStrategy(){let t=Op(this._injector,this._getOrigin());return this._updatePositionStrategy(t),t}_getOrigin(){return this.origin instanceof Ap?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof Ap?this.origin.elementRef.nativeElement:this.origin instanceof H?this.origin.nativeElement:typeof Element<"u"&&this.origin instanceof Element?this.origin:null}_getWidth(){return this.width?this.width:this.matchWidth?this._getOriginElement()?.getBoundingClientRect?.().width:void 0}attachOverlay(){this._overlayRef||this._createOverlay();let t=this._overlayRef;t.getConfig().hasBackdrop=this.hasBackdrop,t.updateSize({width:this._getWidth()}),t.hasAttached()||t.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=t.backdropClick().subscribe(r=>this.backdropClick.emit(r)):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(ku(()=>this.positionChange.observers.length>0)).subscribe(r=>{this._ngZone.run(()=>this.positionChange.emit(r)),this.positionChange.observers.length===0&&this._positionSubscription.unsubscribe()})),this.open=!0}detachOverlay(){this._overlayRef?.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.open=!1}_assignConfig(t){this.origin=t.origin??this.origin,this.positions=t.positions??this.positions,this.positionStrategy=t.positionStrategy??this.positionStrategy,this.offsetX=t.offsetX??this.offsetX,this.offsetY=t.offsetY??this.offsetY,this.width=t.width??this.width,this.height=t.height??this.height,this.minWidth=t.minWidth??this.minWidth,this.minHeight=t.minHeight??this.minHeight,this.backdropClass=t.backdropClass??this.backdropClass,this.panelClass=t.panelClass??this.panelClass,this.viewportMargin=t.viewportMargin??this.viewportMargin,this.scrollStrategy=t.scrollStrategy??this.scrollStrategy,this.disableClose=t.disableClose??this.disableClose,this.transformOriginSelector=t.transformOriginSelector??this.transformOriginSelector,this.hasBackdrop=t.hasBackdrop??this.hasBackdrop,this.lockPosition=t.lockPosition??this.lockPosition,this.flexibleDimensions=t.flexibleDimensions??this.flexibleDimensions,this.growAfterOpen=t.growAfterOpen??this.growAfterOpen,this.push=t.push??this.push,this.disposeOnNavigation=t.disposeOnNavigation??this.disposeOnNavigation,this.usePopover=t.usePopover??this.usePopover,this.matchWidth=t.matchWidth??this.matchWidth}static \u0275fac=function(r){return new(r||e)};static \u0275dir=A({type:e,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[0,"cdkConnectedOverlayOrigin","origin"],positions:[0,"cdkConnectedOverlayPositions","positions"],positionStrategy:[0,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[0,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[0,"cdkConnectedOverlayOffsetY","offsetY"],width:[0,"cdkConnectedOverlayWidth","width"],height:[0,"cdkConnectedOverlayHeight","height"],minWidth:[0,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[0,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[0,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[0,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[0,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[0,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[0,"cdkConnectedOverlayOpen","open"],disableClose:[0,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[0,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[2,"cdkConnectedOverlayHasBackdrop","hasBackdrop",re],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",re],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",re],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",re],push:[2,"cdkConnectedOverlayPush","push",re],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",re],usePopover:[0,"cdkConnectedOverlayUsePopover","usePopover"],matchWidth:[2,"cdkConnectedOverlayMatchWidth","matchWidth",re],_config:[0,"cdkConnectedOverlay","_config"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[Ue]})}return e})(),Ls=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=q({type:e});static \u0275inj=G({providers:[nE],imports:[st,Ur,Ip,Ip]})}return e})();function wN(e,n){}var Kn=class{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;closePredicate;width="";height="";minWidth;minHeight;maxWidth;maxHeight;positionStrategy;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!1;autoFocus="first-tabbable";restoreFocus=!0;scrollStrategy;closeOnNavigation=!0;closeOnDestroy=!0;closeOnOverlayDetachments=!0;disableAnimations=!1;providers;container;templateContext};var Pp=(()=>{class e extends Jo{_elementRef=f(H);_focusTrapFactory=f(wl);_config;_interactivityChecker=f(Cl);_ngZone=f(M);_focusMonitor=f(qo);_renderer=f(Xe);_changeDetectorRef=f(kr);_injector=f(O);_platform=f(ie);_document=f(x);_portalOutlet;_focusTrapped=new C;_focusTrap=null;_elementFocusedBeforeDialogWasOpened=null;_closeInteractionType=null;_ariaLabelledByQueue=[];_isDestroyed=!1;constructor(){super(),this._config=f(Kn,{optional:!0})||new Kn,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(t){this._ariaLabelledByQueue.push(t),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(t){let r=this._ariaLabelledByQueue.indexOf(t);r>-1&&(this._ariaLabelledByQueue.splice(r,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._focusTrapped.complete(),this._isDestroyed=!0,this._restoreFocus()}attachComponentPortal(t){this._portalOutlet.hasAttached();let r=this._portalOutlet.attachComponentPortal(t);return this._contentAttached(),r}attachTemplatePortal(t){this._portalOutlet.hasAttached();let r=this._portalOutlet.attachTemplatePortal(t);return this._contentAttached(),r}attachDomPortal=t=>{this._portalOutlet.hasAttached();let r=this._portalOutlet.attachDomPortal(t);return this._contentAttached(),r};_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(t,r){this._interactivityChecker.isFocusable(t)||(t.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let o=()=>{i(),s(),t.removeAttribute("tabindex")},i=this._renderer.listen(t,"blur",o),s=this._renderer.listen(t,"mousedown",o)})),t.focus(r)}_focusByCssSelector(t,r){let o=this._elementRef.nativeElement.querySelector(t);o&&this._forceFocus(o,r)}_trapFocus(t){this._isDestroyed||Rt(()=>{let r=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||r.focus(t);break;case!0:case"first-tabbable":this._focusTrap?.focusInitialElement(t)||this._focusDialogContainer(t);break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]',t);break;default:this._focusByCssSelector(this._config.autoFocus,t);break}this._focusTrapped.next()},{injector:this._injector})}_restoreFocus(){let t=this._config.restoreFocus,r=null;if(typeof t=="string"?r=this._document.querySelector(t):typeof t=="boolean"?r=t?this._elementFocusedBeforeDialogWasOpened:null:t&&(r=t),this._config.restoreFocus&&r&&typeof r.focus=="function"){let o=Lr(),i=this._elementRef.nativeElement;(!o||o===this._document.body||o===i||i.contains(o))&&(this._focusMonitor?(this._focusMonitor.focusVia(r,this._closeInteractionType),this._closeInteractionType=null):r.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(t){this._elementRef.nativeElement.focus?.(t)}_containsFocus(){let t=this._elementRef.nativeElement,r=Lr();return t===r||t.contains(r)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=Lr()))}static \u0275fac=function(r){return new(r||e)};static \u0275cmp=ae({type:e,selectors:[["cdk-dialog-container"]],viewQuery:function(r,o){if(r&1&&Ho(Os,7),r&2){let i;as(i=cs())&&(o._portalOutlet=i.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(r,o){r&2&&Fe("id",o._config.id||null)("role",o._config.role)("aria-modal",o._config.ariaModal)("aria-labelledby",o._config.ariaLabel?null:o._ariaLabelledByQueue[0])("aria-label",o._config.ariaLabel)("aria-describedby",o._config.ariaDescribedBy||null)},features:[W],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(r,o){r&1&&Po(0,wN,0,0,"ng-template",0)},dependencies:[Os],styles:[`.cdk-dialog-container {
|
|
220
|
+
`],encapsulation:2,changeDetection:0})}return e})(),ks=(()=>{class e{_platform=f(ie);_containerElement;_document=f(A);_styleLoader=f(gt);constructor(){}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._loadStyles(),this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let t="cdk-overlay-container";if(this._platform.isBrowser||bp()){let o=this._document.querySelectorAll(`.${t}[platform="server"], .${t}[platform="test"]`);for(let i=0;i<o.length;i++)o[i].remove()}let r=this._document.createElement("div");r.classList.add(t),bp()?r.setAttribute("platform","test"):this._platform.isBrowser||r.setAttribute("platform","server"),this._document.body.appendChild(r),this._containerElement=r}_loadStyles(){this._styleLoader.load(ZD)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Sp=class{_renderer;_ngZone;element;_cleanupClick;_cleanupTransitionEnd;_fallbackTimeout;constructor(n,t,r,o){this._renderer=t,this._ngZone=r,this.element=n.createElement("div"),this.element.classList.add("cdk-overlay-backdrop"),this._cleanupClick=t.listen(this.element,"click",o)}detach(){this._ngZone.runOutsideAngular(()=>{let n=this.element;clearTimeout(this._fallbackTimeout),this._cleanupTransitionEnd?.(),this._cleanupTransitionEnd=this._renderer.listen(n,"transitionend",this.dispose),this._fallbackTimeout=setTimeout(this.dispose,500),n.style.pointerEvents="none",n.classList.remove("cdk-overlay-backdrop-showing")})}dispose=()=>{clearTimeout(this._fallbackTimeout),this._cleanupClick?.(),this._cleanupTransitionEnd?.(),this._cleanupClick=this._cleanupTransitionEnd=this._fallbackTimeout=void 0,this.element.remove()}};function xp(e){return e&&e.nodeType===1}var ei=class{_portalOutlet;_host;_pane;_config;_ngZone;_keyboardDispatcher;_document;_location;_outsideClickDispatcher;_animationsDisabled;_injector;_renderer;_backdropClick=new C;_attachments=new C;_detachments=new C;_positionStrategy;_scrollStrategy;_locationChanges=j.EMPTY;_backdropRef=null;_detachContentMutationObserver;_detachContentAfterRenderRef;_disposed=!1;_previousHostParent;_keydownEvents=new C;_outsidePointerEvents=new C;_afterNextRenderRef;constructor(n,t,r,o,i,s,a,c,l,u=!1,d,h){this._portalOutlet=n,this._host=t,this._pane=r,this._config=o,this._ngZone=i,this._keyboardDispatcher=s,this._document=a,this._location=c,this._outsideClickDispatcher=l,this._animationsDisabled=u,this._injector=d,this._renderer=h,o.scrollStrategy&&(this._scrollStrategy=o.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=o.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropRef?.element||null}get hostElement(){return this._host}get eventPredicate(){return this._config?.eventPredicate||null}attach(n){if(this._disposed)return null;this._attachHost();let t=this._portalOutlet.attach(n);return this._positionStrategy?.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=Rt(()=>{this.hasAttached()&&this.updatePosition()},{injector:this._injector}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._completeDetachContent(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),typeof t?.onDestroy=="function"&&t.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),t}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let n=this._portalOutlet.detach();return this._detachments.next(),this._completeDetachContent(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),n}dispose(){if(this._disposed)return;let n=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._backdropRef?.dispose(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._afterNextRenderRef?.destroy(),this._previousHostParent=this._pane=this._host=this._backdropRef=null,n&&this._detachments.next(),this._detachments.complete(),this._completeDetachContent(),this._disposed=!0}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(n){n!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=n,this.hasAttached()&&(n.attach(this),this.updatePosition()))}updateSize(n){this._config=E(E({},this._config),n),this._updateElementSize()}setDirection(n){this._config=U(E({},this._config),{direction:n}),this._updateElementDirection()}addPanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!0)}removePanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!1)}getDirection(){let n=this._config.direction;return n?typeof n=="string"?n:n.value:"ltr"}updateScrollStrategy(n){n!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=n,this.hasAttached()&&(n.attach(this),n.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let n=this._pane.style;n.width=ve(this._config.width),n.height=ve(this._config.height),n.minWidth=ve(this._config.minWidth),n.minHeight=ve(this._config.minHeight),n.maxWidth=ve(this._config.maxWidth),n.maxHeight=ve(this._config.maxHeight)}_togglePointerEvents(n){this._pane.style.pointerEvents=n?"":"none"}_attachHost(){if(!this._host.parentElement){let n=this._config.usePopover?this._positionStrategy?.getPopoverInsertionPoint?.():null;xp(n)?n.after(this._host):n?.type==="parent"?n.element.appendChild(this._host):this._previousHostParent?.appendChild(this._host)}if(this._config.usePopover)try{this._host.showPopover()}catch(n){}}_attachBackdrop(){let n="cdk-overlay-backdrop-showing";this._backdropRef?.dispose(),this._backdropRef=new Sp(this._document,this._renderer,this._ngZone,t=>{this._backdropClick.next(t)}),this._animationsDisabled&&this._backdropRef.element.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropRef.element,this._config.backdropClass,!0),this._config.usePopover?this._host.prepend(this._backdropRef.element):this._host.parentElement.insertBefore(this._backdropRef.element,this._host),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._backdropRef?.element.classList.add(n))}):this._backdropRef.element.classList.add(n)}_updateStackingOrder(){!this._config.usePopover&&this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){this._animationsDisabled?(this._backdropRef?.dispose(),this._backdropRef=null):this._backdropRef?.detach()}_toggleClasses(n,t,r){let o=Yo(t||[]).filter(i=>!!i);o.length&&(r?n.classList.add(...o):n.classList.remove(...o))}_detachContentWhenEmpty(){let n=!1;try{this._detachContentAfterRenderRef=Rt(()=>{n=!0,this._detachContent()},{injector:this._injector})}catch(t){if(n)throw t;this._detachContent()}globalThis.MutationObserver&&this._pane&&(this._detachContentMutationObserver||=new globalThis.MutationObserver(()=>{this._detachContent()}),this._detachContentMutationObserver.observe(this._pane,{childList:!0}))}_detachContent(){(!this._pane||!this._host||this._pane.children.length===0)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),this._completeDetachContent())}_completeDetachContent(){this._detachContentAfterRenderRef?.destroy(),this._detachContentAfterRenderRef=void 0,this._detachContentMutationObserver?.disconnect()}_disposeScrollStrategy(){let n=this._scrollStrategy;n?.disable(),n?.detach?.()}},BD="cdk-overlay-connected-position-bounding-box",pN=/([A-Za-z%]+)$/;function Np(e,n){return new Fl(n,e.get(Hr),e.get(A),e.get(ie),e.get(ks))}var Fl=class{_viewportRuler;_document;_platform;_overlayContainer;_overlayRef;_isInitialRender=!1;_lastBoundingBoxSize={width:0,height:0};_isPushed=!1;_canPush=!0;_growAfterOpen=!1;_hasFlexibleDimensions=!0;_positionLocked=!1;_originRect;_overlayRect;_viewportRect;_containerRect;_viewportMargin=0;_scrollables=[];_preferredPositions=[];_origin;_pane;_isDisposed=!1;_boundingBox=null;_lastPosition=null;_lastScrollVisibility=null;_positionChanges=new C;_resizeSubscription=j.EMPTY;_offsetX=0;_offsetY=0;_transformOriginSelector;_appliedPanelClasses=[];_previousPushAmount=null;_popoverLocation="global";positionChanges=this._positionChanges;get positions(){return this._preferredPositions}constructor(n,t,r,o,i){this._viewportRuler=t,this._document=r,this._platform=o,this._overlayContainer=i,this.setOrigin(n)}attach(n){this._overlayRef&&this._overlayRef,this._validatePositions(),n.hostElement.classList.add(BD),this._overlayRef=n,this._boundingBox=n.hostElement,this._pane=n.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition){this.reapplyLastPosition();return}this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._getContainerRect();let n=this._originRect,t=this._overlayRect,r=this._viewportRect,o=this._containerRect,i=[],s;for(let a of this._preferredPositions){let c=this._getOriginPoint(n,o,a),l=this._getOverlayPoint(c,t,a),u=this._getOverlayFit(l,t,r,a);if(u.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(a,c);return}if(this._canFitWithFlexibleDimensions(u,l,r)){i.push({position:a,origin:c,overlayRect:t,boundingBoxRect:this._calculateBoundingBoxRect(c,a)});continue}(!s||s.overlayFit.visibleArea<u.visibleArea)&&(s={overlayFit:u,overlayPoint:l,originPoint:c,position:a,overlayRect:t})}if(i.length){let a=null,c=-1;for(let l of i){let u=l.boundingBoxRect.width*l.boundingBoxRect.height*(l.position.weight||1);u>c&&(c=u,a=l)}this._isPushed=!1,this._applyPosition(a.position,a.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(s.position,s.originPoint);return}this._applyPosition(s.position,s.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&$r(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(BD),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let n=this._lastPosition;n?(this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._getContainerRect(),this._applyPosition(n,this._getOriginPoint(this._originRect,this._containerRect,n))):this.apply()}withScrollableContainers(n){return this._scrollables=n,this}withPositions(n){return this._preferredPositions=n,n.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(n){return this._viewportMargin=n,this}withFlexibleDimensions(n=!0){return this._hasFlexibleDimensions=n,this}withGrowAfterOpen(n=!0){return this._growAfterOpen=n,this}withPush(n=!0){return this._canPush=n,this}withLockedPosition(n=!0){return this._positionLocked=n,this}setOrigin(n){return this._origin=n,this}withDefaultOffsetX(n){return this._offsetX=n,this}withDefaultOffsetY(n){return this._offsetY=n,this}withTransformOriginOn(n){return this._transformOriginSelector=n,this}withPopoverLocation(n){return this._popoverLocation=n,this}getPopoverInsertionPoint(){return this._popoverLocation==="global"?null:this._popoverLocation!=="inline"?this._popoverLocation:this._origin instanceof B?this._origin.nativeElement:xp(this._origin)?this._origin:null}_getOriginPoint(n,t,r){let o;if(r.originX=="center")o=n.left+n.width/2;else{let s=this._isRtl()?n.right:n.left,a=this._isRtl()?n.left:n.right;o=r.originX=="start"?s:a}t.left<0&&(o-=t.left);let i;return r.originY=="center"?i=n.top+n.height/2:i=r.originY=="top"?n.top:n.bottom,t.top<0&&(i-=t.top),{x:o,y:i}}_getOverlayPoint(n,t,r){let o;r.overlayX=="center"?o=-t.width/2:r.overlayX==="start"?o=this._isRtl()?-t.width:0:o=this._isRtl()?0:-t.width;let i;return r.overlayY=="center"?i=-t.height/2:i=r.overlayY=="top"?0:-t.height,{x:n.x+o,y:n.y+i}}_getOverlayFit(n,t,r,o){let i=UD(t),{x:s,y:a}=n,c=this._getOffset(o,"x"),l=this._getOffset(o,"y");c&&(s+=c),l&&(a+=l);let u=0-s,d=s+i.width-r.width,h=0-a,p=a+i.height-r.height,m=this._subtractOverflows(i.width,u,d),v=this._subtractOverflows(i.height,h,p),_=m*v;return{visibleArea:_,isCompletelyWithinViewport:i.width*i.height===_,fitsInViewportVertically:v===i.height,fitsInViewportHorizontally:m==i.width}}_canFitWithFlexibleDimensions(n,t,r){if(this._hasFlexibleDimensions){let o=r.bottom-t.y,i=r.right-t.x,s=HD(this._overlayRef.getConfig().minHeight),a=HD(this._overlayRef.getConfig().minWidth),c=n.fitsInViewportVertically||s!=null&&s<=o,l=n.fitsInViewportHorizontally||a!=null&&a<=i;return c&&l}return!1}_pushOverlayOnScreen(n,t,r){if(this._previousPushAmount&&this._positionLocked)return{x:n.x+this._previousPushAmount.x,y:n.y+this._previousPushAmount.y};let o=UD(t),i=this._viewportRect,s=Math.max(n.x+o.width-i.width,0),a=Math.max(n.y+o.height-i.height,0),c=Math.max(i.top-r.top-n.y,0),l=Math.max(i.left-r.left-n.x,0),u=0,d=0;return o.width<=i.width?u=l||-s:u=n.x<this._getViewportMarginStart()?i.left-r.left-n.x:0,o.height<=i.height?d=c||-a:d=n.y<this._getViewportMarginTop()?i.top-r.top-n.y:0,this._previousPushAmount={x:u,y:d},{x:n.x+u,y:n.y+d}}_applyPosition(n,t){if(this._setTransformOrigin(n),this._setOverlayElementStyles(t,n),this._setBoundingBoxStyles(t,n),n.panelClass&&this._addPanelClasses(n.panelClass),this._positionChanges.observers.length){let r=this._getScrollVisibility();if(n!==this._lastPosition||!this._lastScrollVisibility||!mN(this._lastScrollVisibility,r)){let o=new kl(n,r);this._positionChanges.next(o)}this._lastScrollVisibility=r}this._lastPosition=n,this._isInitialRender=!1}_setTransformOrigin(n){if(!this._transformOriginSelector)return;let t=this._boundingBox.querySelectorAll(this._transformOriginSelector),r,o=n.overlayY;n.overlayX==="center"?r="center":this._isRtl()?r=n.overlayX==="start"?"right":"left":r=n.overlayX==="start"?"left":"right";for(let i=0;i<t.length;i++)t[i].style.transformOrigin=`${r} ${o}`}_calculateBoundingBoxRect(n,t){let r=this._viewportRect,o=this._isRtl(),i,s,a;if(t.overlayY==="top")s=n.y,i=r.height-s+this._getViewportMarginBottom();else if(t.overlayY==="bottom")a=r.height-n.y+this._getViewportMarginTop()+this._getViewportMarginBottom(),i=r.height-a+this._getViewportMarginTop();else{let p=Math.min(r.bottom-n.y+r.top,n.y),m=this._lastBoundingBoxSize.height;i=p*2,s=n.y-p,i>m&&!this._isInitialRender&&!this._growAfterOpen&&(s=n.y-m/2)}let c=t.overlayX==="start"&&!o||t.overlayX==="end"&&o,l=t.overlayX==="end"&&!o||t.overlayX==="start"&&o,u,d,h;if(l)h=r.width-n.x+this._getViewportMarginStart()+this._getViewportMarginEnd(),u=n.x-this._getViewportMarginStart();else if(c)d=n.x,u=r.right-n.x-this._getViewportMarginEnd();else{let p=Math.min(r.right-n.x+r.left,n.x),m=this._lastBoundingBoxSize.width;u=p*2,d=n.x-p,u>m&&!this._isInitialRender&&!this._growAfterOpen&&(d=n.x-m/2)}return{top:s,left:d,bottom:a,right:h,width:u,height:i}}_setBoundingBoxStyles(n,t){let r=this._calculateBoundingBoxRect(n,t);!this._isInitialRender&&!this._growAfterOpen&&(r.height=Math.min(r.height,this._lastBoundingBoxSize.height),r.width=Math.min(r.width,this._lastBoundingBoxSize.width));let o={};if(this._hasExactPosition())o.top=o.left="0",o.bottom=o.right="auto",o.maxHeight=o.maxWidth="",o.width=o.height="100%";else{let i=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;o.width=ve(r.width),o.height=ve(r.height),o.top=ve(r.top)||"auto",o.bottom=ve(r.bottom)||"auto",o.left=ve(r.left)||"auto",o.right=ve(r.right)||"auto",t.overlayX==="center"?o.alignItems="center":o.alignItems=t.overlayX==="end"?"flex-end":"flex-start",t.overlayY==="center"?o.justifyContent="center":o.justifyContent=t.overlayY==="bottom"?"flex-end":"flex-start",i&&(o.maxHeight=ve(i)),s&&(o.maxWidth=ve(s))}this._lastBoundingBoxSize=r,$r(this._boundingBox.style,o)}_resetBoundingBoxStyles(){$r(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){$r(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(n,t){let r={},o=this._hasExactPosition(),i=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(o){let u=this._viewportRuler.getViewportScrollPosition();$r(r,this._getExactOverlayY(t,n,u)),$r(r,this._getExactOverlayX(t,n,u))}else r.position="static";let a="",c=this._getOffset(t,"x"),l=this._getOffset(t,"y");c&&(a+=`translateX(${c}px) `),l&&(a+=`translateY(${l}px)`),r.transform=a.trim(),s.maxHeight&&(o?r.maxHeight=ve(s.maxHeight):i&&(r.maxHeight="")),s.maxWidth&&(o?r.maxWidth=ve(s.maxWidth):i&&(r.maxWidth="")),$r(this._pane.style,r)}_getExactOverlayY(n,t,r){let o={top:"",bottom:""},i=this._getOverlayPoint(t,this._overlayRect,n);if(this._isPushed&&(i=this._pushOverlayOnScreen(i,this._overlayRect,r)),n.overlayY==="bottom"){let s=this._document.documentElement.clientHeight;o.bottom=`${s-(i.y+this._overlayRect.height)}px`}else o.top=ve(i.y);return o}_getExactOverlayX(n,t,r){let o={left:"",right:""},i=this._getOverlayPoint(t,this._overlayRect,n);this._isPushed&&(i=this._pushOverlayOnScreen(i,this._overlayRect,r));let s;if(this._isRtl()?s=n.overlayX==="end"?"left":"right":s=n.overlayX==="end"?"right":"left",s==="right"){let a=this._document.documentElement.clientWidth;o.right=`${a-(i.x+this._overlayRect.width)}px`}else o.left=ve(i.x);return o}_getScrollVisibility(){let n=this._getOriginRect(),t=this._pane.getBoundingClientRect(),r=this._scrollables.map(o=>o.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:VD(n,r),isOriginOutsideView:Ip(n,r),isOverlayClipped:VD(t,r),isOverlayOutsideView:Ip(t,r)}}_subtractOverflows(n,...t){return t.reduce((r,o)=>r-Math.max(o,0),n)}_getNarrowedViewportRect(){let n=this._document.documentElement.clientWidth,t=this._document.documentElement.clientHeight,r=this._viewportRuler.getViewportScrollPosition();return{top:r.top+this._getViewportMarginTop(),left:r.left+this._getViewportMarginStart(),right:r.left+n-this._getViewportMarginEnd(),bottom:r.top+t-this._getViewportMarginBottom(),width:n-this._getViewportMarginStart()-this._getViewportMarginEnd(),height:t-this._getViewportMarginTop()-this._getViewportMarginBottom()}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(n,t){return t==="x"?n.offsetX==null?this._offsetX:n.offsetX:n.offsetY==null?this._offsetY:n.offsetY}_validatePositions(){}_addPanelClasses(n){this._pane&&Yo(n).forEach(t=>{t!==""&&this._appliedPanelClasses.indexOf(t)===-1&&(this._appliedPanelClasses.push(t),this._pane.classList.add(t))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(n=>{this._pane.classList.remove(n)}),this._appliedPanelClasses=[])}_getViewportMarginStart(){return typeof this._viewportMargin=="number"?this._viewportMargin:this._viewportMargin?.start??0}_getViewportMarginEnd(){return typeof this._viewportMargin=="number"?this._viewportMargin:this._viewportMargin?.end??0}_getViewportMarginTop(){return typeof this._viewportMargin=="number"?this._viewportMargin:this._viewportMargin?.top??0}_getViewportMarginBottom(){return typeof this._viewportMargin=="number"?this._viewportMargin:this._viewportMargin?.bottom??0}_getOriginRect(){let n=this._origin;if(n instanceof B)return n.nativeElement.getBoundingClientRect();if(n instanceof Element)return n.getBoundingClientRect();let t=n.width||0,r=n.height||0;return{top:n.y,bottom:n.y+r,left:n.x,right:n.x+t,height:r,width:t}}_getContainerRect(){let n=this._overlayRef.getConfig().usePopover&&this._popoverLocation!=="global",t=this._overlayContainer.getContainerElement();n&&(t.style.display="block");let r=t.getBoundingClientRect();return n&&(t.style.display=""),r}};function $r(e,n){for(let t in n)n.hasOwnProperty(t)&&(e[t]=n[t]);return e}function HD(e){if(typeof e!="number"&&e!=null){let[n,t]=e.split(pN);return!t||t==="px"?parseFloat(n):null}return e||null}function UD(e){return{top:Math.floor(e.top),right:Math.floor(e.right),bottom:Math.floor(e.bottom),left:Math.floor(e.left),width:Math.floor(e.width),height:Math.floor(e.height)}}function mN(e,n){return e===n?!0:e.isOriginClipped===n.isOriginClipped&&e.isOriginOutsideView===n.isOriginOutsideView&&e.isOverlayClipped===n.isOverlayClipped&&e.isOverlayOutsideView===n.isOverlayOutsideView}var $D="cdk-global-overlay-wrapper";function ni(e){return new Pl}var Pl=class{_overlayRef;_cssPosition="static";_topOffset="";_bottomOffset="";_alignItems="";_xPosition="";_xOffset="";_width="";_height="";_isDisposed=!1;attach(n){let t=n.getConfig();this._overlayRef=n,this._width&&!t.width&&n.updateSize({width:this._width}),this._height&&!t.height&&n.updateSize({height:this._height}),n.hostElement.classList.add($D),this._isDisposed=!1}top(n=""){return this._bottomOffset="",this._topOffset=n,this._alignItems="flex-start",this}left(n=""){return this._xOffset=n,this._xPosition="left",this}bottom(n=""){return this._topOffset="",this._bottomOffset=n,this._alignItems="flex-end",this}right(n=""){return this._xOffset=n,this._xPosition="right",this}start(n=""){return this._xOffset=n,this._xPosition="start",this}end(n=""){return this._xOffset=n,this._xPosition="end",this}width(n=""){return this._overlayRef?this._overlayRef.updateSize({width:n}):this._width=n,this}height(n=""){return this._overlayRef?this._overlayRef.updateSize({height:n}):this._height=n,this}centerHorizontally(n=""){return this.left(n),this._xPosition="center",this}centerVertically(n=""){return this.top(n),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let n=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement.style,r=this._overlayRef.getConfig(),{width:o,height:i,maxWidth:s,maxHeight:a}=r,c=(o==="100%"||o==="100vw")&&(!s||s==="100%"||s==="100vw"),l=(i==="100%"||i==="100vh")&&(!a||a==="100%"||a==="100vh"),u=this._xPosition,d=this._xOffset,h=this._overlayRef.getConfig().direction==="rtl",p="",m="",v="";c?v="flex-start":u==="center"?(v="center",h?m=d:p=d):h?u==="left"||u==="end"?(v="flex-end",p=d):(u==="right"||u==="start")&&(v="flex-start",m=d):u==="left"||u==="start"?(v="flex-start",p=d):(u==="right"||u==="end")&&(v="flex-end",m=d),n.position=this._cssPosition,n.marginLeft=c?"0":p,n.marginTop=l?"0":this._topOffset,n.marginBottom=this._bottomOffset,n.marginRight=c?"0":m,t.justifyContent=v,t.alignItems=l?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let n=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement,r=t.style;t.classList.remove($D),r.justifyContent=r.alignItems=n.marginTop=n.marginBottom=n.marginLeft=n.marginRight=n.position="",this._overlayRef=null,this._isDisposed=!0}},KD=(()=>{class e{_injector=f(O);constructor(){}global(){return ni()}flexibleConnectedTo(t){return Np(this._injector,t)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Rp=new g("OVERLAY_DEFAULT_CONFIG");function Fs(e,n){e.get(gt).load(ZD);let t=e.get(ks),r=e.get(A),o=e.get(qt),i=e.get(ot),s=e.get(hn),a=e.get(Ke,null,{optional:!0})||e.get(Se).createRenderer(null,null),c=new zr(n),l=e.get(Rp,null,{optional:!0})?.usePopover??!0;c.direction=c.direction||s.value,"showPopover"in r.body?c.usePopover=n?.usePopover??l:c.usePopover=!1;let u=r.createElement("div"),d=r.createElement("div");u.id=o.getId("cdk-overlay-"),u.classList.add("cdk-overlay-pane"),d.appendChild(u),c.usePopover&&(d.setAttribute("popover","manual"),d.classList.add("cdk-overlay-popover"));let h=c.usePopover?c.positionStrategy?.getPopoverInsertionPoint?.():null;return xp(h)?h.after(d):h?.type==="parent"?h.element.appendChild(d):t.getContainerElement().appendChild(d),new ei(new xl(u,i,e),d,u,c,e.get(M),e.get(qD),r,e.get(Xc),e.get(YD),n?.disableAnimations??e.get(Ji,null,{optional:!0})==="NoopAnimations",e.get(ue),a)}var XD=(()=>{class e{scrollStrategies=f(GD);_positionBuilder=f(KD);_injector=f(O);constructor(){}create(t){return Fs(this._injector,t)}position(){return this._positionBuilder}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),gN=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],vN=new g("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let e=f(O);return()=>Ap(e)}}),Mp=(()=>{class e{elementRef=f(B);constructor(){}static \u0275fac=function(r){return new(r||e)};static \u0275dir=N({type:e,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]})}return e})(),QD=new g("cdk-connected-overlay-default-config"),yN=(()=>{class e{_dir=f(hn,{optional:!0});_injector=f(O);_overlayRef;_templatePortal;_backdropSubscription=j.EMPTY;_attachSubscription=j.EMPTY;_detachSubscription=j.EMPTY;_positionSubscription=j.EMPTY;_offsetX;_offsetY;_position;_scrollStrategyFactory=f(vN);_ngZone=f(M);origin;positions;positionStrategy;get offsetX(){return this._offsetX}set offsetX(t){this._offsetX=t,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(t){this._offsetY=t,this._position&&this._updatePositionStrategy(this._position)}width;height;minWidth;minHeight;backdropClass;panelClass;viewportMargin=0;scrollStrategy;open=!1;disableClose=!1;transformOriginSelector;hasBackdrop=!1;lockPosition=!1;flexibleDimensions=!1;growAfterOpen=!1;push=!1;disposeOnNavigation=!1;usePopover;matchWidth=!1;set _config(t){typeof t!="string"&&this._assignConfig(t)}backdropClick=new $;positionChange=new $;attach=new $;detach=new $;overlayKeydown=new $;overlayOutsideClick=new $;constructor(){let t=f(Ye),r=f(rt),o=f(QD,{optional:!0}),i=f(Rp,{optional:!0});this.usePopover=i?.usePopover===!1?null:"global",this._templatePortal=new Zn(t,r),this.scrollStrategy=this._scrollStrategyFactory(),o&&this._assignConfig(o)}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef?.dispose()}ngOnChanges(t){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef?.updateSize({width:this._getWidth(),minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),t.origin&&this.open&&this._position.apply()),t.open&&(this.open?this.attachOverlay():this.detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=gN);let t=this._overlayRef=Fs(this._injector,this._buildConfig());this._attachSubscription=t.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=t.detachments().subscribe(()=>this.detach.emit()),t.keydownEvents().subscribe(r=>{this.overlayKeydown.next(r),r.keyCode===27&&!this.disableClose&&!Yn(r)&&(r.preventDefault(),this.detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(r=>{let o=this._getOriginElement(),i=$e(r);(!o||o!==i&&!o.contains(i))&&this.overlayOutsideClick.next(r)})}_buildConfig(){let t=this._position=this.positionStrategy||this._createPositionStrategy(),r=new zr({direction:this._dir||"ltr",positionStrategy:t,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation,usePopover:!!this.usePopover});return(this.height||this.height===0)&&(r.height=this.height),(this.minWidth||this.minWidth===0)&&(r.minWidth=this.minWidth),(this.minHeight||this.minHeight===0)&&(r.minHeight=this.minHeight),this.backdropClass&&(r.backdropClass=this.backdropClass),this.panelClass&&(r.panelClass=this.panelClass),r}_updatePositionStrategy(t){let r=this.positions.map(o=>({originX:o.originX,originY:o.originY,overlayX:o.overlayX,overlayY:o.overlayY,offsetX:o.offsetX||this.offsetX,offsetY:o.offsetY||this.offsetY,panelClass:o.panelClass||void 0}));return t.setOrigin(this._getOrigin()).withPositions(r).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector).withPopoverLocation(this.usePopover===null?"global":this.usePopover)}_createPositionStrategy(){let t=Np(this._injector,this._getOrigin());return this._updatePositionStrategy(t),t}_getOrigin(){return this.origin instanceof Mp?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof Mp?this.origin.elementRef.nativeElement:this.origin instanceof B?this.origin.nativeElement:typeof Element<"u"&&this.origin instanceof Element?this.origin:null}_getWidth(){return this.width?this.width:this.matchWidth?this._getOriginElement()?.getBoundingClientRect?.().width:void 0}attachOverlay(){this._overlayRef||this._createOverlay();let t=this._overlayRef;t.getConfig().hasBackdrop=this.hasBackdrop,t.updateSize({width:this._getWidth()}),t.hasAttached()||t.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=t.backdropClick().subscribe(r=>this.backdropClick.emit(r)):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(Ru(()=>this.positionChange.observers.length>0)).subscribe(r=>{this._ngZone.run(()=>this.positionChange.emit(r)),this.positionChange.observers.length===0&&this._positionSubscription.unsubscribe()})),this.open=!0}detachOverlay(){this._overlayRef?.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.open=!1}_assignConfig(t){this.origin=t.origin??this.origin,this.positions=t.positions??this.positions,this.positionStrategy=t.positionStrategy??this.positionStrategy,this.offsetX=t.offsetX??this.offsetX,this.offsetY=t.offsetY??this.offsetY,this.width=t.width??this.width,this.height=t.height??this.height,this.minWidth=t.minWidth??this.minWidth,this.minHeight=t.minHeight??this.minHeight,this.backdropClass=t.backdropClass??this.backdropClass,this.panelClass=t.panelClass??this.panelClass,this.viewportMargin=t.viewportMargin??this.viewportMargin,this.scrollStrategy=t.scrollStrategy??this.scrollStrategy,this.disableClose=t.disableClose??this.disableClose,this.transformOriginSelector=t.transformOriginSelector??this.transformOriginSelector,this.hasBackdrop=t.hasBackdrop??this.hasBackdrop,this.lockPosition=t.lockPosition??this.lockPosition,this.flexibleDimensions=t.flexibleDimensions??this.flexibleDimensions,this.growAfterOpen=t.growAfterOpen??this.growAfterOpen,this.push=t.push??this.push,this.disposeOnNavigation=t.disposeOnNavigation??this.disposeOnNavigation,this.usePopover=t.usePopover??this.usePopover,this.matchWidth=t.matchWidth??this.matchWidth}static \u0275fac=function(r){return new(r||e)};static \u0275dir=N({type:e,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[0,"cdkConnectedOverlayOrigin","origin"],positions:[0,"cdkConnectedOverlayPositions","positions"],positionStrategy:[0,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[0,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[0,"cdkConnectedOverlayOffsetY","offsetY"],width:[0,"cdkConnectedOverlayWidth","width"],height:[0,"cdkConnectedOverlayHeight","height"],minWidth:[0,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[0,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[0,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[0,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[0,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[0,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[0,"cdkConnectedOverlayOpen","open"],disableClose:[0,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[0,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[2,"cdkConnectedOverlayHasBackdrop","hasBackdrop",re],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",re],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",re],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",re],push:[2,"cdkConnectedOverlayPush","push",re],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",re],usePopover:[0,"cdkConnectedOverlayUsePopover","usePopover"],matchWidth:[2,"cdkConnectedOverlayMatchWidth","matchWidth",re],_config:[0,"cdkConnectedOverlay","_config"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[He]})}return e})(),Ps=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=q({type:e});static \u0275inj=G({providers:[XD],imports:[st,Ur,Cp,Cp]})}return e})();function _N(e,n){}var Kn=class{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;closePredicate;width="";height="";minWidth;minHeight;maxWidth;maxHeight;positionStrategy;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!1;autoFocus="first-tabbable";restoreFocus=!0;scrollStrategy;closeOnNavigation=!0;closeOnDestroy=!0;closeOnOverlayDetachments=!0;disableAnimations=!1;providers;container;templateContext};var kp=(()=>{class e extends Jo{_elementRef=f(B);_focusTrapFactory=f(El);_config;_interactivityChecker=f(Dl);_ngZone=f(M);_focusMonitor=f(qo);_renderer=f(Ke);_changeDetectorRef=f(kr);_injector=f(O);_platform=f(ie);_document=f(A);_portalOutlet;_focusTrapped=new C;_focusTrap=null;_elementFocusedBeforeDialogWasOpened=null;_closeInteractionType=null;_ariaLabelledByQueue=[];_isDestroyed=!1;constructor(){super(),this._config=f(Kn,{optional:!0})||new Kn,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(t){this._ariaLabelledByQueue.push(t),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(t){let r=this._ariaLabelledByQueue.indexOf(t);r>-1&&(this._ariaLabelledByQueue.splice(r,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._focusTrapped.complete(),this._isDestroyed=!0,this._restoreFocus()}attachComponentPortal(t){this._portalOutlet.hasAttached();let r=this._portalOutlet.attachComponentPortal(t);return this._contentAttached(),r}attachTemplatePortal(t){this._portalOutlet.hasAttached();let r=this._portalOutlet.attachTemplatePortal(t);return this._contentAttached(),r}attachDomPortal=t=>{this._portalOutlet.hasAttached();let r=this._portalOutlet.attachDomPortal(t);return this._contentAttached(),r};_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(t,r){this._interactivityChecker.isFocusable(t)||(t.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let o=()=>{i(),s(),t.removeAttribute("tabindex")},i=this._renderer.listen(t,"blur",o),s=this._renderer.listen(t,"mousedown",o)})),t.focus(r)}_focusByCssSelector(t,r){let o=this._elementRef.nativeElement.querySelector(t);o&&this._forceFocus(o,r)}_trapFocus(t){this._isDestroyed||Rt(()=>{let r=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||r.focus(t);break;case!0:case"first-tabbable":this._focusTrap?.focusInitialElement(t)||this._focusDialogContainer(t);break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]',t);break;default:this._focusByCssSelector(this._config.autoFocus,t);break}this._focusTrapped.next()},{injector:this._injector})}_restoreFocus(){let t=this._config.restoreFocus,r=null;if(typeof t=="string"?r=this._document.querySelector(t):typeof t=="boolean"?r=t?this._elementFocusedBeforeDialogWasOpened:null:t&&(r=t),this._config.restoreFocus&&r&&typeof r.focus=="function"){let o=Lr(),i=this._elementRef.nativeElement;(!o||o===this._document.body||o===i||i.contains(o))&&(this._focusMonitor?(this._focusMonitor.focusVia(r,this._closeInteractionType),this._closeInteractionType=null):r.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(t){this._elementRef.nativeElement.focus?.(t)}_containsFocus(){let t=this._elementRef.nativeElement,r=Lr();return t===r||t.contains(r)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=Lr()))}static \u0275fac=function(r){return new(r||e)};static \u0275cmp=ae({type:e,selectors:[["cdk-dialog-container"]],viewQuery:function(r,o){if(r&1&&Ho(Rs,7),r&2){let i;as(i=cs())&&(o._portalOutlet=i.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(r,o){r&2&&ke("id",o._config.id||null)("role",o._config.role)("aria-modal",o._config.ariaModal)("aria-labelledby",o._config.ariaLabel?null:o._ariaLabelledByQueue[0])("aria-label",o._config.ariaLabel)("aria-describedby",o._config.ariaDescribedBy||null)},features:[W],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(r,o){r&1&&Po(0,_N,0,0,"ng-template",0)},dependencies:[Rs],styles:[`.cdk-dialog-container {
|
|
221
221
|
display: block;
|
|
222
222
|
width: 100%;
|
|
223
223
|
height: 100%;
|
|
224
224
|
min-height: inherit;
|
|
225
225
|
max-height: inherit;
|
|
226
226
|
}
|
|
227
|
-
`],encapsulation:2})}return e})(),Vs=class{overlayRef;config;componentInstance=null;componentRef=null;containerInstance;disableClose;closed=new C;backdropClick;keydownEvents;outsidePointerEvents;id;_detachSubscription;constructor(n,t){this.overlayRef=n,this.config=t,this.disableClose=t.disableClose,this.backdropClick=n.backdropClick(),this.keydownEvents=n.keydownEvents(),this.outsidePointerEvents=n.outsidePointerEvents(),this.id=t.id,this.keydownEvents.subscribe(r=>{r.keyCode===27&&!this.disableClose&&!Yn(r)&&(r.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{!this.disableClose&&this._canClose()?this.close(void 0,{focusOrigin:"mouse"}):this.containerInstance._recaptureFocus?.()}),this._detachSubscription=n.detachments().subscribe(()=>{t.closeOnOverlayDetachments!==!1&&this.close()})}close(n,t){if(this._canClose(n)){let r=this.closed;this.containerInstance._closeInteractionType=t?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),r.next(n),r.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(n="",t=""){return this.overlayRef.updateSize({width:n,height:t}),this}addPanelClass(n){return this.overlayRef.addPanelClass(n),this}removePanelClass(n){return this.overlayRef.removePanelClass(n),this}_canClose(n){let t=this.config;return!!this.containerInstance&&(!t.closePredicate||t.closePredicate(n,t,this.componentInstance))}},IN=new g("DialogScrollStrategy",{providedIn:"root",factory:()=>{let e=f(O);return()=>ti(e)}}),SN=new g("DialogData"),MN=new g("DefaultDialogConfig");function TN(e){let n=se(e),t=new $;return{valueSignal:n,get value(){return n()},change:t,ngOnDestroy(){t.complete()}}}var Lp=(()=>{class e{_injector=f(O);_defaultOptions=f(MN,{optional:!0});_parentDialog=f(e,{optional:!0,skipSelf:!0});_overlayContainer=f(Fs);_idGenerator=f(qt);_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new C;_afterOpenedAtThisLevel=new C;_ariaHiddenElements=new Map;_scrollStrategy=f(IN);get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}afterAllClosed=yi(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(jt(void 0)));constructor(){}open(t,r){let o=this._defaultOptions||new Kn;r=E(E({},o),r),r.id=r.id||this._idGenerator.getId("cdk-dialog-"),r.id&&this.getDialogById(r.id);let i=this._getOverlayConfig(r),s=Ps(this._injector,i),a=new Vs(s,r),c=this._attachContainer(s,a,r);if(a.containerInstance=c,!this.openDialogs.length){let l=this._overlayContainer.getContainerElement();c._focusTrapped?c._focusTrapped.pipe(qe(1)).subscribe(()=>{this._hideNonDialogContentFromAssistiveTechnology(l)}):this._hideNonDialogContentFromAssistiveTechnology(l)}return this._attachDialogContent(t,a,c,r),this.openDialogs.push(a),a.closed.subscribe(()=>this._removeOpenDialog(a,!0)),this.afterOpened.next(a),a}closeAll(){Fp(this.openDialogs,t=>t.close())}getDialogById(t){return this.openDialogs.find(r=>r.id===t)}ngOnDestroy(){Fp(this._openDialogsAtThisLevel,t=>{t.config.closeOnDestroy===!1&&this._removeOpenDialog(t,!1)}),Fp(this._openDialogsAtThisLevel,t=>t.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(t){let r=new zr({positionStrategy:t.positionStrategy||ni().centerHorizontally().centerVertically(),scrollStrategy:t.scrollStrategy||this._scrollStrategy(),panelClass:t.panelClass,hasBackdrop:t.hasBackdrop,direction:t.direction,minWidth:t.minWidth,minHeight:t.minHeight,maxWidth:t.maxWidth,maxHeight:t.maxHeight,width:t.width,height:t.height,disposeOnNavigation:t.closeOnNavigation,disableAnimations:t.disableAnimations});return t.backdropClass&&(r.backdropClass=t.backdropClass),r}_attachContainer(t,r,o){let i=o.injector||o.viewContainerRef?.injector,s=[{provide:Kn,useValue:o},{provide:Vs,useValue:r},{provide:ei,useValue:t}],a;o.container?typeof o.container=="function"?a=o.container:(a=o.container.type,s.push(...o.container.providers(o))):a=Pp;let c=new Qo(a,o.viewContainerRef,O.create({parent:i||this._injector,providers:s}));return t.attach(c).instance}_attachDialogContent(t,r,o,i){if(t instanceof ke){let s=this._createInjector(i,r,o,void 0),a={$implicit:i.data,dialogRef:r};i.templateContext&&(a=E(E({},a),typeof i.templateContext=="function"?i.templateContext():i.templateContext)),o.attachTemplatePortal(new Zn(t,null,a,s))}else{let s=this._createInjector(i,r,o,this._injector),a=o.attachComponentPortal(new Qo(t,i.viewContainerRef,s));r.componentRef=a,r.componentInstance=a.instance}}_createInjector(t,r,o,i){let s=t.injector||t.viewContainerRef?.injector,a=[{provide:SN,useValue:t.data},{provide:Vs,useValue:r}];return t.providers&&(typeof t.providers=="function"?a.push(...t.providers(r,t,o)):a.push(...t.providers)),t.direction&&(!s||!s.get(hn,null,{optional:!0}))&&a.push({provide:hn,useValue:TN(t.direction)}),O.create({parent:s||i,providers:a})}_removeOpenDialog(t,r){let o=this.openDialogs.indexOf(t);o>-1&&(this.openDialogs.splice(o,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((i,s)=>{i?s.setAttribute("aria-hidden",i):s.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),r&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(t){if(t.parentElement){let r=t.parentElement.children;for(let o=r.length-1;o>-1;o--){let i=r[o];i!==t&&i.nodeName!=="SCRIPT"&&i.nodeName!=="STYLE"&&!i.hasAttribute("aria-live")&&!i.hasAttribute("popover")&&(this._ariaHiddenElements.set(i,i.getAttribute("aria-hidden")),i.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){let t=this._parentDialog;return t?t._getAfterAllClosed():this._afterAllClosedAtThisLevel}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Fp(e,n){let t=e.length;for(;t--;)n(e[t])}var oE=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=q({type:e});static \u0275inj=G({providers:[Lp],imports:[Ls,Ur,pp,Ur]})}return e})();function m6(e){return e!=null&&`${e}`!="false"}function g6(e,n=/\s+/){let t=[];if(e!=null){let r=Array.isArray(e)?e:`${e}`.split(n);for(let o of r){let i=`${o}`.trim();i&&t.push(i)}}return t}var _6={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"};var AN=new g("MATERIAL_ANIMATIONS"),iE=null;function xN(){return f(AN,{optional:!0})?.animationsDisabled||f(Ji,{optional:!0})==="NoopAnimations"?"di-disabled":(iE??=f(Dl).matchMedia("(prefers-reduced-motion)").matches,iE?"reduced-motion":"enabled")}function pn(){return xN()!=="enabled"}function NN(e,n){}var Bl=class{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;closePredicate;width="";height="";minWidth;minHeight;maxWidth;maxHeight;position;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!1;autoFocus="first-tabbable";restoreFocus=!0;delayFocusTrap=!0;scrollStrategy;closeOnNavigation=!0;enterAnimationDuration;exitAnimationDuration},Vp="mdc-dialog--open",sE="mdc-dialog--opening",aE="mdc-dialog--closing",RN=150,ON=75,kN=(()=>{class e extends Pp{_animationStateChanged=new $;_animationsEnabled=!pn();_actionSectionCount=0;_hostElement=this._elementRef.nativeElement;_enterAnimationDuration=this._animationsEnabled?lE(this._config.enterAnimationDuration)??RN:0;_exitAnimationDuration=this._animationsEnabled?lE(this._config.exitAnimationDuration)??ON:0;_animationTimer=null;_contentAttached(){super._contentAttached(),this._startOpenAnimation()}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(cE,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(sE,Vp)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(Vp),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(Vp),this._animationsEnabled?(this._hostElement.style.setProperty(cE,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(aE)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(t){this._actionSectionCount+=t,this._changeDetectorRef.markForCheck()}_finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)};_finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})};_clearAnimationClasses(){this._hostElement.classList.remove(sE,aE)}_waitForAnimationToComplete(t,r){this._animationTimer!==null&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(r,t)}_requestAnimationFrame(t){this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame=="function"?requestAnimationFrame(t):t()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(t){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:t})}ngOnDestroy(){super.ngOnDestroy(),this._animationTimer!==null&&clearTimeout(this._animationTimer)}attachComponentPortal(t){let r=super.attachComponentPortal(t);return r.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),r}static \u0275fac=(()=>{let t;return function(o){return(t||(t=Ae(e)))(o||e)}})();static \u0275cmp=ae({type:e,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(r,o){r&2&&(is("id",o._config.id),Fe("aria-modal",o._config.ariaModal)("role",o._config.role)("aria-labelledby",o._config.ariaLabel?null:o._ariaLabelledByQueue[0])("aria-label",o._config.ariaLabel)("aria-describedby",o._config.ariaDescribedBy||null),De("_mat-animation-noopable",!o._animationsEnabled)("mat-mdc-dialog-container-with-actions",o._actionSectionCount>0))},features:[W],decls:3,vars:0,consts:[[1,"mat-mdc-dialog-inner-container","mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(r,o){r&1&&(xo(0,"div",0)(1,"div",1),Po(2,NN,0,0,"ng-template",2),os()())},dependencies:[Os],styles:[`.mat-mdc-dialog-container {
|
|
227
|
+
`],encapsulation:2})}return e})(),Ls=class{overlayRef;config;componentInstance=null;componentRef=null;containerInstance;disableClose;closed=new C;backdropClick;keydownEvents;outsidePointerEvents;id;_detachSubscription;constructor(n,t){this.overlayRef=n,this.config=t,this.disableClose=t.disableClose,this.backdropClick=n.backdropClick(),this.keydownEvents=n.keydownEvents(),this.outsidePointerEvents=n.outsidePointerEvents(),this.id=t.id,this.keydownEvents.subscribe(r=>{r.keyCode===27&&!this.disableClose&&!Yn(r)&&(r.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{!this.disableClose&&this._canClose()?this.close(void 0,{focusOrigin:"mouse"}):this.containerInstance._recaptureFocus?.()}),this._detachSubscription=n.detachments().subscribe(()=>{t.closeOnOverlayDetachments!==!1&&this.close()})}close(n,t){if(this._canClose(n)){let r=this.closed;this.containerInstance._closeInteractionType=t?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),r.next(n),r.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(n="",t=""){return this.overlayRef.updateSize({width:n,height:t}),this}addPanelClass(n){return this.overlayRef.addPanelClass(n),this}removePanelClass(n){return this.overlayRef.removePanelClass(n),this}_canClose(n){let t=this.config;return!!this.containerInstance&&(!t.closePredicate||t.closePredicate(n,t,this.componentInstance))}},bN=new g("DialogScrollStrategy",{providedIn:"root",factory:()=>{let e=f(O);return()=>ti(e)}}),DN=new g("DialogData"),EN=new g("DefaultDialogConfig");function CN(e){let n=se(e),t=new $;return{valueSignal:n,get value(){return n()},change:t,ngOnDestroy(){t.complete()}}}var Fp=(()=>{class e{_injector=f(O);_defaultOptions=f(EN,{optional:!0});_parentDialog=f(e,{optional:!0,skipSelf:!0});_overlayContainer=f(ks);_idGenerator=f(qt);_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new C;_afterOpenedAtThisLevel=new C;_ariaHiddenElements=new Map;_scrollStrategy=f(bN);get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}afterAllClosed=yi(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(jt(void 0)));constructor(){}open(t,r){let o=this._defaultOptions||new Kn;r=E(E({},o),r),r.id=r.id||this._idGenerator.getId("cdk-dialog-"),r.id&&this.getDialogById(r.id);let i=this._getOverlayConfig(r),s=Fs(this._injector,i),a=new Ls(s,r),c=this._attachContainer(s,a,r);if(a.containerInstance=c,!this.openDialogs.length){let l=this._overlayContainer.getContainerElement();c._focusTrapped?c._focusTrapped.pipe(Ge(1)).subscribe(()=>{this._hideNonDialogContentFromAssistiveTechnology(l)}):this._hideNonDialogContentFromAssistiveTechnology(l)}return this._attachDialogContent(t,a,c,r),this.openDialogs.push(a),a.closed.subscribe(()=>this._removeOpenDialog(a,!0)),this.afterOpened.next(a),a}closeAll(){Op(this.openDialogs,t=>t.close())}getDialogById(t){return this.openDialogs.find(r=>r.id===t)}ngOnDestroy(){Op(this._openDialogsAtThisLevel,t=>{t.config.closeOnDestroy===!1&&this._removeOpenDialog(t,!1)}),Op(this._openDialogsAtThisLevel,t=>t.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(t){let r=new zr({positionStrategy:t.positionStrategy||ni().centerHorizontally().centerVertically(),scrollStrategy:t.scrollStrategy||this._scrollStrategy(),panelClass:t.panelClass,hasBackdrop:t.hasBackdrop,direction:t.direction,minWidth:t.minWidth,minHeight:t.minHeight,maxWidth:t.maxWidth,maxHeight:t.maxHeight,width:t.width,height:t.height,disposeOnNavigation:t.closeOnNavigation,disableAnimations:t.disableAnimations});return t.backdropClass&&(r.backdropClass=t.backdropClass),r}_attachContainer(t,r,o){let i=o.injector||o.viewContainerRef?.injector,s=[{provide:Kn,useValue:o},{provide:Ls,useValue:r},{provide:ei,useValue:t}],a;o.container?typeof o.container=="function"?a=o.container:(a=o.container.type,s.push(...o.container.providers(o))):a=kp;let c=new Qo(a,o.viewContainerRef,O.create({parent:i||this._injector,providers:s}));return t.attach(c).instance}_attachDialogContent(t,r,o,i){if(t instanceof Ye){let s=this._createInjector(i,r,o,void 0),a={$implicit:i.data,dialogRef:r};i.templateContext&&(a=E(E({},a),typeof i.templateContext=="function"?i.templateContext():i.templateContext)),o.attachTemplatePortal(new Zn(t,null,a,s))}else{let s=this._createInjector(i,r,o,this._injector),a=o.attachComponentPortal(new Qo(t,i.viewContainerRef,s));r.componentRef=a,r.componentInstance=a.instance}}_createInjector(t,r,o,i){let s=t.injector||t.viewContainerRef?.injector,a=[{provide:DN,useValue:t.data},{provide:Ls,useValue:r}];return t.providers&&(typeof t.providers=="function"?a.push(...t.providers(r,t,o)):a.push(...t.providers)),t.direction&&(!s||!s.get(hn,null,{optional:!0}))&&a.push({provide:hn,useValue:CN(t.direction)}),O.create({parent:s||i,providers:a})}_removeOpenDialog(t,r){let o=this.openDialogs.indexOf(t);o>-1&&(this.openDialogs.splice(o,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((i,s)=>{i?s.setAttribute("aria-hidden",i):s.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),r&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(t){if(t.parentElement){let r=t.parentElement.children;for(let o=r.length-1;o>-1;o--){let i=r[o];i!==t&&i.nodeName!=="SCRIPT"&&i.nodeName!=="STYLE"&&!i.hasAttribute("aria-live")&&!i.hasAttribute("popover")&&(this._ariaHiddenElements.set(i,i.getAttribute("aria-hidden")),i.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){let t=this._parentDialog;return t?t._getAfterAllClosed():this._afterAllClosedAtThisLevel}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Op(e,n){let t=e.length;for(;t--;)n(e[t])}var JD=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=q({type:e});static \u0275inj=G({providers:[Fp],imports:[Ps,Ur,fp,Ur]})}return e})();function h6(e){return e!=null&&`${e}`!="false"}function p6(e,n=/\s+/){let t=[];if(e!=null){let r=Array.isArray(e)?e:`${e}`.split(n);for(let o of r){let i=`${o}`.trim();i&&t.push(i)}}return t}var v6={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"};var wN=new g("MATERIAL_ANIMATIONS"),eE=null;function IN(){return f(wN,{optional:!0})?.animationsDisabled||f(Ji,{optional:!0})==="NoopAnimations"?"di-disabled":(eE??=f(_l).matchMedia("(prefers-reduced-motion)").matches,eE?"reduced-motion":"enabled")}function pn(){return IN()!=="enabled"}function SN(e,n){}var Vl=class{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;closePredicate;width="";height="";minWidth;minHeight;maxWidth;maxHeight;position;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!1;autoFocus="first-tabbable";restoreFocus=!0;delayFocusTrap=!0;scrollStrategy;closeOnNavigation=!0;enterAnimationDuration;exitAnimationDuration},Pp="mdc-dialog--open",tE="mdc-dialog--opening",nE="mdc-dialog--closing",MN=150,TN=75,AN=(()=>{class e extends kp{_animationStateChanged=new $;_animationsEnabled=!pn();_actionSectionCount=0;_hostElement=this._elementRef.nativeElement;_enterAnimationDuration=this._animationsEnabled?oE(this._config.enterAnimationDuration)??MN:0;_exitAnimationDuration=this._animationsEnabled?oE(this._config.exitAnimationDuration)??TN:0;_animationTimer=null;_contentAttached(){super._contentAttached(),this._startOpenAnimation()}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(rE,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(tE,Pp)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(Pp),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(Pp),this._animationsEnabled?(this._hostElement.style.setProperty(rE,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(nE)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(t){this._actionSectionCount+=t,this._changeDetectorRef.markForCheck()}_finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)};_finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})};_clearAnimationClasses(){this._hostElement.classList.remove(tE,nE)}_waitForAnimationToComplete(t,r){this._animationTimer!==null&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(r,t)}_requestAnimationFrame(t){this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame=="function"?requestAnimationFrame(t):t()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(t){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:t})}ngOnDestroy(){super.ngOnDestroy(),this._animationTimer!==null&&clearTimeout(this._animationTimer)}attachComponentPortal(t){let r=super.attachComponentPortal(t);return r.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),r}static \u0275fac=(()=>{let t;return function(o){return(t||(t=Ae(e)))(o||e)}})();static \u0275cmp=ae({type:e,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(r,o){r&2&&(is("id",o._config.id),ke("aria-modal",o._config.ariaModal)("role",o._config.role)("aria-labelledby",o._config.ariaLabel?null:o._ariaLabelledByQueue[0])("aria-label",o._config.ariaLabel)("aria-describedby",o._config.ariaDescribedBy||null),De("_mat-animation-noopable",!o._animationsEnabled)("mat-mdc-dialog-container-with-actions",o._actionSectionCount>0))},features:[W],decls:3,vars:0,consts:[[1,"mat-mdc-dialog-inner-container","mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(r,o){r&1&&(xo(0,"div",0)(1,"div",1),Po(2,SN,0,0,"ng-template",2),os()())},dependencies:[Rs],styles:[`.mat-mdc-dialog-container {
|
|
228
228
|
width: 100%;
|
|
229
229
|
height: 100%;
|
|
230
230
|
display: block;
|
|
@@ -413,7 +413,7 @@ ${t.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
|
|
|
413
413
|
.mat-mdc-dialog-component-host {
|
|
414
414
|
display: contents;
|
|
415
415
|
}
|
|
416
|
-
`],encapsulation:2})}return e})(),
|
|
416
|
+
`],encapsulation:2})}return e})(),rE="--mat-dialog-transition-duration";function oE(e){return e==null?null:typeof e=="number"?e:e.endsWith("ms")?Ft(e.substring(0,e.length-2)):e.endsWith("s")?Ft(e.substring(0,e.length-1))*1e3:e==="0"?0:null}var Ll=(function(e){return e[e.OPEN=0]="OPEN",e[e.CLOSING=1]="CLOSING",e[e.CLOSED=2]="CLOSED",e})(Ll||{}),jl=class{_ref;_config;_containerInstance;componentInstance;componentRef=null;disableClose;id;_afterOpened=new En(1);_beforeClosed=new En(1);_result;_closeFallbackTimeout;_state=Ll.OPEN;_closeInteractionType;constructor(n,t,r){this._ref=n,this._config=t,this._containerInstance=r,this.disableClose=t.disableClose,this.id=n.id,n.addPanelClass("mat-mdc-dialog-panel"),r._animationStateChanged.pipe(Ce(o=>o.state==="opened"),Ge(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),r._animationStateChanged.pipe(Ce(o=>o.state==="closed"),Ge(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),n.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),Mu(this.backdropClick(),this.keydownEvents().pipe(Ce(o=>o.keyCode===27&&!this.disableClose&&!Yn(o)))).subscribe(o=>{this.disableClose||(o.preventDefault(),xN(this,o.type==="keydown"?"keyboard":"mouse"))})}close(n){let t=this._config.closePredicate;t&&!t(n,this._config,this.componentInstance)||(this._result=n,this._containerInstance._animationStateChanged.pipe(Ce(r=>r.state==="closing"),Ge(1)).subscribe(r=>{this._beforeClosed.next(n),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),r.totalTime+100)}),this._state=Ll.CLOSING,this._containerInstance._startExitAnimation())}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(n){let t=this._ref.config.positionStrategy;return n&&(n.left||n.right)?n.left?t.left(n.left):t.right(n.right):t.centerHorizontally(),n&&(n.top||n.bottom)?n.top?t.top(n.top):t.bottom(n.bottom):t.centerVertically(),this._ref.updatePosition(),this}updateSize(n="",t=""){return this._ref.updateSize(n,t),this}addPanelClass(n){return this._ref.addPanelClass(n),this}removePanelClass(n){return this._ref.removePanelClass(n),this}getState(){return this._state}_finishDialogClose(){this._state=Ll.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}};function xN(e,n,t){return e._closeInteractionType=n,e.close(t)}var NN=new g("MatMdcDialogData"),RN=new g("mat-mdc-dialog-default-options"),ON=new g("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{let e=f(O);return()=>ti(e)}}),iE=(()=>{class e{_defaultOptions=f(RN,{optional:!0});_scrollStrategy=f(ON);_parentDialog=f(e,{optional:!0,skipSelf:!0});_idGenerator=f(qt);_injector=f(O);_dialog=f(Fp);_animationsDisabled=pn();_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new C;_afterOpenedAtThisLevel=new C;dialogConfigClass=Vl;_dialogRefConstructor;_dialogContainerType;_dialogDataToken;get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){let t=this._parentDialog;return t?t._getAfterAllClosed():this._afterAllClosedAtThisLevel}afterAllClosed=yi(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(jt(void 0)));constructor(){this._dialogRefConstructor=jl,this._dialogContainerType=AN,this._dialogDataToken=NN}open(t,r){let o;r=E(E({},this._defaultOptions||new Vl),r),r.id=r.id||this._idGenerator.getId("mat-mdc-dialog-"),r.scrollStrategy=r.scrollStrategy||this._scrollStrategy();let i=this._dialog.open(t,U(E({},r),{positionStrategy:ni(this._injector).centerHorizontally().centerVertically(),disableClose:!0,closePredicate:void 0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,disableAnimations:this._animationsDisabled||r.enterAnimationDuration?.toLocaleString()==="0"||r.exitAnimationDuration?.toString()==="0",container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:r},{provide:Kn,useValue:r}]},templateContext:()=>({dialogRef:o}),providers:(s,a,c)=>(o=new this._dialogRefConstructor(s,r,c),o.updatePosition(r?.position),[{provide:this._dialogContainerType,useValue:c},{provide:this._dialogDataToken,useValue:a.data},{provide:this._dialogRefConstructor,useValue:o}])}));return o.componentRef=i.componentRef,o.componentInstance=i.componentInstance,this.openDialogs.push(o),this.afterOpened.next(o),o.afterClosed().subscribe(()=>{let s=this.openDialogs.indexOf(o);s>-1&&(this.openDialogs.splice(s,1),this.openDialogs.length||this._getAfterAllClosed().next())}),o}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(t){return this.openDialogs.find(r=>r.id===t)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(t){let r=t.length;for(;r--;)t[r].close()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var sE=(()=>{class e{_dialogRef=f(jl,{optional:!0});_elementRef=f(B);_dialog=f(iE);constructor(){}ngOnInit(){this._dialogRef||(this._dialogRef=kN(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._onAdd()})}ngOnDestroy(){this._dialogRef?._containerInstance&&Promise.resolve().then(()=>{this._onRemove()})}static \u0275fac=function(r){return new(r||e)};static \u0275dir=N({type:e})}return e})(),H6=(()=>{class e extends sE{id=f(qt).getId("mat-mdc-dialog-title-");_onAdd(){this._dialogRef._containerInstance?._addAriaLabelledBy?.(this.id)}_onRemove(){this._dialogRef?._containerInstance?._removeAriaLabelledBy?.(this.id)}static \u0275fac=(()=>{let t;return function(o){return(t||(t=Ae(e)))(o||e)}})();static \u0275dir=N({type:e,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(r,o){r&2&&is("id",o.id)},inputs:{id:"id"},exportAs:["matDialogTitle"],features:[W]})}return e})(),U6=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275dir=N({type:e,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"],features:[gh([xs])]})}return e})(),$6=(()=>{class e extends sE{align;_onAdd(){this._dialogRef._containerInstance?._updateActionSectionCount?.(1)}_onRemove(){this._dialogRef._containerInstance?._updateActionSectionCount?.(-1)}static \u0275fac=(()=>{let t;return function(o){return(t||(t=Ae(e)))(o||e)}})();static \u0275dir=N({type:e,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:6,hostBindings:function(r,o){r&2&&De("mat-mdc-dialog-actions-align-start",o.align==="start")("mat-mdc-dialog-actions-align-center",o.align==="center")("mat-mdc-dialog-actions-align-end",o.align==="end")},inputs:{align:"align"},features:[W]})}return e})();function kN(e,n){let t=e.nativeElement.parentElement;for(;t&&!t.classList.contains("mat-mdc-dialog-container");)t=t.parentElement;return t?n.find(r=>r.id===t.id):null}var z6=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=q({type:e});static \u0275inj=G({providers:[iE],imports:[JD,Ps,Ur,st]})}return e})();var ri,aE=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function q6(){if(ri)return ri;if(typeof document!="object"||!document)return ri=new Set(aE),ri;let e=document.createElement("input");return ri=new Set(aE.filter(n=>(e.setAttribute("type",n),e.type===n))),ri}var vt=(function(e){return e[e.FADING_IN=0]="FADING_IN",e[e.VISIBLE=1]="VISIBLE",e[e.FADING_OUT=2]="FADING_OUT",e[e.HIDDEN=3]="HIDDEN",e})(vt||{}),Lp=class{_renderer;element;config;_animationForciblyDisabledThroughCss;state=vt.HIDDEN;constructor(n,t,r,o=!1){this._renderer=n,this.element=t,this.config=r,this._animationForciblyDisabledThroughCss=o}fadeOut(){this._renderer.fadeOutRipple(this)}},cE=Wo({passive:!0,capture:!0}),Vp=class{_events=new Map;addHandler(n,t,r,o){let i=this._events.get(t);if(i){let s=i.get(r);s?s.add(o):i.set(r,new Set([o]))}else this._events.set(t,new Map([[r,new Set([o])]])),n.runOutsideAngular(()=>{document.addEventListener(t,this._delegateEventHandler,cE)})}removeHandler(n,t,r){let o=this._events.get(n);if(!o)return;let i=o.get(t);i&&(i.delete(r),i.size===0&&o.delete(t),o.size===0&&(this._events.delete(n),document.removeEventListener(n,this._delegateEventHandler,cE)))}_delegateEventHandler=n=>{let t=$e(n);t&&this._events.get(n.type)?.forEach((r,o)=>{(o===t||o.contains(t))&&r.forEach(i=>i.handleEvent(n))})}},Vs={enterDuration:225,exitDuration:150},FN=800,lE=Wo({passive:!0,capture:!0}),uE=["mousedown","touchstart"],dE=["mouseup","mouseleave","touchend","touchcancel"],PN=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=ae({type:e,selectors:[["ng-component"]],hostAttrs:["mat-ripple-style-loader",""],decls:0,vars:0,template:function(r,o){},styles:[`.mat-ripple {
|
|
417
417
|
overflow: hidden;
|
|
418
418
|
position: relative;
|
|
419
419
|
}
|
|
@@ -441,7 +441,7 @@ ${t.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
|
|
|
441
441
|
.cdk-drag-preview .mat-ripple-element, .cdk-drag-placeholder .mat-ripple-element {
|
|
442
442
|
display: none;
|
|
443
443
|
}
|
|
444
|
-
`],encapsulation:2,changeDetection:0})}return e})(),
|
|
444
|
+
`],encapsulation:2,changeDetection:0})}return e})(),js=class e{_target;_ngZone;_platform;_containerElement;_triggerElement=null;_isPointerDown=!1;_activeRipples=new Map;_mostRecentTransientRipple=null;_lastTouchStartEvent;_pointerUpEventsRegistered=!1;_containerRect=null;static _eventManager=new Vp;constructor(n,t,r,o,i){this._target=n,this._ngZone=t,this._platform=o,o.isBrowser&&(this._containerElement=mt(r)),i&&i.get(gt).load(PN)}fadeInRipple(n,t,r={}){let o=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),i=E(E({},Vs),r.animation);r.centered&&(n=o.left+o.width/2,t=o.top+o.height/2);let s=r.radius||LN(n,t,o),a=n-o.left,c=t-o.top,l=i.enterDuration,u=document.createElement("div");u.classList.add("mat-ripple-element"),u.style.left=`${a-s}px`,u.style.top=`${c-s}px`,u.style.height=`${s*2}px`,u.style.width=`${s*2}px`,r.color!=null&&(u.style.backgroundColor=r.color),u.style.transitionDuration=`${l}ms`,this._containerElement.appendChild(u);let d=window.getComputedStyle(u),h=d.transitionProperty,p=d.transitionDuration,m=h==="none"||p==="0s"||p==="0s, 0s"||o.width===0&&o.height===0,v=new Lp(this,u,r,m);u.style.transform="scale3d(1, 1, 1)",v.state=vt.FADING_IN,r.persistent||(this._mostRecentTransientRipple=v);let _=null;return!m&&(l||i.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let D=()=>{_&&(_.fallbackTimer=null),clearTimeout(Me),this._finishRippleTransition(v)},k=()=>this._destroyRipple(v),Me=setTimeout(k,l+100);u.addEventListener("transitionend",D),u.addEventListener("transitioncancel",k),_={onTransitionEnd:D,onTransitionCancel:k,fallbackTimer:Me}}),this._activeRipples.set(v,_),(m||!l)&&this._finishRippleTransition(v),v}fadeOutRipple(n){if(n.state===vt.FADING_OUT||n.state===vt.HIDDEN)return;let t=n.element,r=E(E({},Vs),n.config.animation);t.style.transitionDuration=`${r.exitDuration}ms`,t.style.opacity="0",n.state=vt.FADING_OUT,(n._animationForciblyDisabledThroughCss||!r.exitDuration)&&this._finishRippleTransition(n)}fadeOutAll(){this._getActiveRipples().forEach(n=>n.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(n=>{n.config.persistent||n.fadeOut()})}setupTriggerEvents(n){let t=mt(n);!this._platform.isBrowser||!t||t===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=t,uE.forEach(r=>{e._eventManager.addHandler(this._ngZone,r,t,this)}))}handleEvent(n){n.type==="mousedown"?this._onMousedown(n):n.type==="touchstart"?this._onTouchStart(n):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{dE.forEach(t=>{this._triggerElement.addEventListener(t,this,lE)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(n){n.state===vt.FADING_IN?this._startFadeOutTransition(n):n.state===vt.FADING_OUT&&this._destroyRipple(n)}_startFadeOutTransition(n){let t=n===this._mostRecentTransientRipple,{persistent:r}=n.config;n.state=vt.VISIBLE,!r&&(!t||!this._isPointerDown)&&n.fadeOut()}_destroyRipple(n){let t=this._activeRipples.get(n)??null;this._activeRipples.delete(n),this._activeRipples.size||(this._containerRect=null),n===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),n.state=vt.HIDDEN,t!==null&&(n.element.removeEventListener("transitionend",t.onTransitionEnd),n.element.removeEventListener("transitioncancel",t.onTransitionCancel),t.fallbackTimer!==null&&clearTimeout(t.fallbackTimer)),n.element.remove()}_onMousedown(n){let t=ws(n),r=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+FN;!this._target.rippleDisabled&&!t&&!r&&(this._isPointerDown=!0,this.fadeInRipple(n.clientX,n.clientY,this._target.rippleConfig))}_onTouchStart(n){if(!this._target.rippleDisabled&&!Is(n)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;let t=n.changedTouches;if(t)for(let r=0;r<t.length;r++)this.fadeInRipple(t[r].clientX,t[r].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(n=>{let t=n.state===vt.VISIBLE||n.config.terminateOnPointerUp&&n.state===vt.FADING_IN;!n.config.persistent&&t&&n.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let n=this._triggerElement;n&&(uE.forEach(t=>e._eventManager.removeHandler(t,n,this)),this._pointerUpEventsRegistered&&(dE.forEach(t=>n.removeEventListener(t,this,lE)),this._pointerUpEventsRegistered=!1))}};function LN(e,n,t){let r=Math.max(Math.abs(e-t.left),Math.abs(e-t.right)),o=Math.max(Math.abs(n-t.top),Math.abs(n-t.bottom));return Math.sqrt(r*r+o*o)}var jp=new g("mat-ripple-global-options"),l9=(()=>{class e{_elementRef=f(B);_animationsDisabled=pn();color;unbounded=!1;centered=!1;radius=0;animation;get disabled(){return this._disabled}set disabled(t){t&&this.fadeOutAllNonPersistent(),this._disabled=t,this._setupTriggerEventsIfEnabled()}_disabled=!1;get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(t){this._trigger=t,this._setupTriggerEventsIfEnabled()}_trigger;_rippleRenderer;_globalOptions;_isInitialized=!1;constructor(){let t=f(M),r=f(ie),o=f(jp,{optional:!0}),i=f(O);this._globalOptions=o||{},this._rippleRenderer=new js(this,t,this._elementRef,r,i)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:E(E(E({},this._globalOptions.animation),this._animationsDisabled?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(t,r=0,o){return typeof t=="number"?this._rippleRenderer.fadeInRipple(t,r,E(E({},this.rippleConfig),o)):this._rippleRenderer.fadeInRipple(0,0,E(E({},this.rippleConfig),t))}static \u0275fac=function(r){return new(r||e)};static \u0275dir=N({type:e,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(r,o){r&2&&De("mat-ripple-unbounded",o.unbounded)},inputs:{color:[0,"matRippleColor","color"],unbounded:[0,"matRippleUnbounded","unbounded"],centered:[0,"matRippleCentered","centered"],radius:[0,"matRippleRadius","radius"],animation:[0,"matRippleAnimation","animation"],disabled:[0,"matRippleDisabled","disabled"],trigger:[0,"matRippleTrigger","trigger"]},exportAs:["matRipple"]})}return e})();var VN={capture:!0},jN=["focus","mousedown","mouseenter","touchstart"],Bp="mat-ripple-loader-uninitialized",Hp="mat-ripple-loader-class-name",fE="mat-ripple-loader-centered",Bl="mat-ripple-loader-disabled",hE=(()=>{class e{_document=f(A);_animationsDisabled=pn();_globalRippleOptions=f(jp,{optional:!0});_platform=f(ie);_ngZone=f(M);_injector=f(O);_eventCleanups;_hosts=new Map;constructor(){let t=f(Se).createRenderer(null,null);this._eventCleanups=this._ngZone.runOutsideAngular(()=>jN.map(r=>t.listen(this._document,r,this._onInteraction,VN)))}ngOnDestroy(){let t=this._hosts.keys();for(let r of t)this.destroyRipple(r);this._eventCleanups.forEach(r=>r())}configureRipple(t,r){t.setAttribute(Bp,this._globalRippleOptions?.namespace??""),(r.className||!t.hasAttribute(Hp))&&t.setAttribute(Hp,r.className||""),r.centered&&t.setAttribute(fE,""),r.disabled&&t.setAttribute(Bl,"")}setDisabled(t,r){let o=this._hosts.get(t);o?(o.target.rippleDisabled=r,!r&&!o.hasSetUpEvents&&(o.hasSetUpEvents=!0,o.renderer.setupTriggerEvents(t))):r?t.setAttribute(Bl,""):t.removeAttribute(Bl)}_onInteraction=t=>{let r=$e(t);if(r instanceof HTMLElement){let o=r.closest(`[${Bp}="${this._globalRippleOptions?.namespace??""}"]`);o&&this._createRipple(o)}};_createRipple(t){if(!this._document||this._hosts.has(t))return;t.querySelector(".mat-ripple")?.remove();let r=this._document.createElement("span");r.classList.add("mat-ripple",t.getAttribute(Hp)),t.append(r);let o=this._globalRippleOptions,i=this._animationsDisabled?0:o?.animation?.enterDuration??Vs.enterDuration,s=this._animationsDisabled?0:o?.animation?.exitDuration??Vs.exitDuration,a={rippleDisabled:this._animationsDisabled||o?.disabled||t.hasAttribute(Bl),rippleConfig:{centered:t.hasAttribute(fE),terminateOnPointerUp:o?.terminateOnPointerUp,animation:{enterDuration:i,exitDuration:s}}},c=new js(a,this._ngZone,r,this._platform,this._injector),l=!a.rippleDisabled;l&&c.setupTriggerEvents(t),this._hosts.set(t,{target:a,renderer:c,hasSetUpEvents:l}),t.removeAttribute(Bp)}destroyRipple(t){let r=this._hosts.get(t);r&&(r.renderer._removeTriggerEvents(),this._hosts.delete(t))}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var pE=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=ae({type:e,selectors:[["structural-styles"]],decls:0,vars:0,template:function(r,o){},styles:[`.mat-focus-indicator {
|
|
445
445
|
position: relative;
|
|
446
446
|
}
|
|
447
447
|
.mat-focus-indicator::before {
|
|
@@ -467,7 +467,7 @@ ${t.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
|
|
|
467
467
|
--mat-focus-indicator-display: block;
|
|
468
468
|
}
|
|
469
469
|
}
|
|
470
|
-
`],encapsulation:2,changeDetection:0})}return e})();var
|
|
470
|
+
`],encapsulation:2,changeDetection:0})}return e})();var BN=["mat-icon-button",""],HN=["*"],UN=new g("MAT_BUTTON_CONFIG");function mE(e){return e==null?void 0:vb(e)}var Bs=(()=>{class e{_elementRef=f(B);_ngZone=f(M);_animationsDisabled=pn();_config=f(UN,{optional:!0});_focusMonitor=f(qo);_cleanupClick;_renderer=f(Ke);_rippleLoader=f(hE);_isAnchor;_isFab=!1;color;get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=t,this._updateRippleDisabled()}_disableRipple=!1;get disabled(){return this._disabled}set disabled(t){this._disabled=t,this._updateRippleDisabled()}_disabled=!1;ariaDisabled;disabledInteractive;tabIndex;set _tabindex(t){this.tabIndex=t}constructor(){f(gt).load(pE);let t=this._elementRef.nativeElement;this._isAnchor=t.tagName==="A",this.disabledInteractive=this._config?.disabledInteractive??!1,this.color=this._config?.color??null,this._rippleLoader?.configureRipple(t,{className:"mat-mdc-button-ripple"})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0),this._isAnchor&&this._setupAsAnchor()}ngOnDestroy(){this._cleanupClick?.(),this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(t="program",r){t?this._focusMonitor.focusVia(this._elementRef.nativeElement,t,r):this._elementRef.nativeElement.focus(r)}_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this._isAnchor?this.disabled||null:this.disabled&&this.disabledInteractive?!0:null}_getDisabledAttribute(){return this.disabledInteractive||!this.disabled?null:!0}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}_getTabIndex(){return this._isAnchor?this.disabled&&!this.disabledInteractive?-1:this.tabIndex:this.tabIndex}_setupAsAnchor(){this._cleanupClick=this._ngZone.runOutsideAngular(()=>this._renderer.listen(this._elementRef.nativeElement,"click",t=>{this.disabled&&(t.preventDefault(),t.stopImmediatePropagation())}))}static \u0275fac=function(r){return new(r||e)};static \u0275dir=N({type:e,hostAttrs:[1,"mat-mdc-button-base"],hostVars:13,hostBindings:function(r,o){r&2&&(ke("disabled",o._getDisabledAttribute())("aria-disabled",o._getAriaDisabled())("tabindex",o._getTabIndex()),ls(o.color?"mat-"+o.color:""),De("mat-mdc-button-disabled",o.disabled)("mat-mdc-button-disabled-interactive",o.disabledInteractive)("mat-unthemed",!o.color)("_mat-animation-noopable",o._animationsDisabled))},inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",re],disabled:[2,"disabled","disabled",re],ariaDisabled:[2,"aria-disabled","ariaDisabled",re],disabledInteractive:[2,"disabledInteractive","disabledInteractive",re],tabIndex:[2,"tabIndex","tabIndex",mE],_tabindex:[2,"tabindex","_tabindex",mE]}})}return e})(),$N=(()=>{class e extends Bs{constructor(){super(),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static \u0275fac=function(r){return new(r||e)};static \u0275cmp=ae({type:e,selectors:[["button","mat-icon-button",""],["a","mat-icon-button",""],["button","matIconButton",""],["a","matIconButton",""]],hostAttrs:[1,"mdc-icon-button","mat-mdc-icon-button"],exportAs:["matButton","matAnchor"],features:[W],attrs:BN,ngContentSelectors:HN,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(r,o){r&1&&(Ot(),Xe(0,"span",0),xe(1),Xe(2,"span",1)(3,"span",2))},styles:[`.mat-mdc-icon-button {
|
|
471
471
|
-webkit-user-select: none;
|
|
472
472
|
user-select: none;
|
|
473
473
|
display: inline-block;
|
|
@@ -592,7 +592,7 @@ ${t.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
|
|
|
592
592
|
outline: solid 1px;
|
|
593
593
|
}
|
|
594
594
|
}
|
|
595
|
-
`],encapsulation:2,changeDetection:0})}return e})();var
|
|
595
|
+
`],encapsulation:2,changeDetection:0})}return e})();var gE=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=q({type:e});static \u0275inj=G({imports:[st]})}return e})();var zN=["matButton",""],Up=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],$p=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],GN=["mat-fab",""],WN=["mat-mini-fab",""],qN=`.mat-mdc-fab-base {
|
|
596
596
|
-webkit-user-select: none;
|
|
597
597
|
user-select: none;
|
|
598
598
|
position: relative;
|
|
@@ -859,7 +859,7 @@ ${t.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
|
|
|
859
859
|
.mat-mdc-extended-fab .mat-mdc-button-touch-target {
|
|
860
860
|
width: 100%;
|
|
861
861
|
}
|
|
862
|
-
`,
|
|
862
|
+
`,vE=new Map([["text",["mat-mdc-button"]],["filled",["mdc-button--unelevated","mat-mdc-unelevated-button"]],["elevated",["mdc-button--raised","mat-mdc-raised-button"]],["outlined",["mdc-button--outlined","mat-mdc-outlined-button"]],["tonal",["mat-tonal-button"]]]),U9=(()=>{class e extends Bs{get appearance(){return this._appearance}set appearance(t){this.setAppearance(t||this._config?.defaultAppearance||"text")}_appearance=null;constructor(){super();let t=YN(this._elementRef.nativeElement);t&&this.setAppearance(t)}setAppearance(t){if(t===this._appearance)return;let r=this._elementRef.nativeElement.classList,o=this._appearance?vE.get(this._appearance):null,i=vE.get(t);o&&r.remove(...o),r.add(...i),this._appearance=t}static \u0275fac=function(r){return new(r||e)};static \u0275cmp=ae({type:e,selectors:[["button","matButton",""],["a","matButton",""],["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""],["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostAttrs:[1,"mdc-button"],inputs:{appearance:[0,"matButton","appearance"]},exportAs:["matButton","matAnchor"],features:[W],attrs:zN,ngContentSelectors:$p,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(r,o){r&1&&(Ot(Up),Xe(0,"span",0),xe(1),cn(2,"span",1),xe(3,1),ln(),xe(4,2),Xe(5,"span",2)(6,"span",3)),r&2&&De("mdc-button__ripple",!o._isFab)("mdc-fab__ripple",o._isFab)},styles:[`.mat-mdc-button-base {
|
|
863
863
|
text-decoration: none;
|
|
864
864
|
}
|
|
865
865
|
.mat-mdc-button-base .mat-icon {
|
|
@@ -1403,7 +1403,7 @@ ${t.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
|
|
|
1403
1403
|
outline: solid 1px;
|
|
1404
1404
|
}
|
|
1405
1405
|
}
|
|
1406
|
-
`],encapsulation:2,changeDetection:0})}return e})();function
|
|
1406
|
+
`],encapsulation:2,changeDetection:0})}return e})();function YN(e){return e.hasAttribute("mat-raised-button")?"elevated":e.hasAttribute("mat-stroked-button")?"outlined":e.hasAttribute("mat-flat-button")?"filled":e.hasAttribute("mat-button")?"text":null}var yE=new g("mat-mdc-fab-default-options",{providedIn:"root",factory:()=>Hs}),Hs={color:"accent"},$9=(()=>{class e extends Bs{_options=f(yE,{optional:!0});_isFab=!0;extended=!1;constructor(){super(),this._options=this._options||Hs,this.color=this._options.color||Hs.color}static \u0275fac=function(r){return new(r||e)};static \u0275cmp=ae({type:e,selectors:[["button","mat-fab",""],["a","mat-fab",""],["button","matFab",""],["a","matFab",""]],hostAttrs:[1,"mdc-fab","mat-mdc-fab-base","mat-mdc-fab"],hostVars:4,hostBindings:function(r,o){r&2&&De("mdc-fab--extended",o.extended)("mat-mdc-extended-fab",o.extended)},inputs:{extended:[2,"extended","extended",re]},exportAs:["matButton","matAnchor"],features:[W],attrs:GN,ngContentSelectors:$p,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(r,o){r&1&&(Ot(Up),Xe(0,"span",0),xe(1),cn(2,"span",1),xe(3,1),ln(),xe(4,2),Xe(5,"span",2)(6,"span",3)),r&2&&De("mdc-button__ripple",!o._isFab)("mdc-fab__ripple",o._isFab)},styles:[`.mat-mdc-fab-base {
|
|
1407
1407
|
-webkit-user-select: none;
|
|
1408
1408
|
user-select: none;
|
|
1409
1409
|
position: relative;
|
|
@@ -1670,7 +1670,7 @@ ${t.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
|
|
|
1670
1670
|
.mat-mdc-extended-fab .mat-mdc-button-touch-target {
|
|
1671
1671
|
width: 100%;
|
|
1672
1672
|
}
|
|
1673
|
-
`],encapsulation:2,changeDetection:0})}return e})(),W9=(()=>{class e extends Hs{_options=f(CE,{optional:!0});_isFab=!0;constructor(){super(),this._options=this._options||Us,this.color=this._options.color||Us.color}static \u0275fac=function(r){return new(r||e)};static \u0275cmp=ae({type:e,selectors:[["button","mat-mini-fab",""],["a","mat-mini-fab",""],["button","matMiniFab",""],["a","matMiniFab",""]],hostAttrs:[1,"mdc-fab","mat-mdc-fab-base","mdc-fab--mini","mat-mdc-mini-fab"],exportAs:["matButton","matAnchor"],features:[W],attrs:XN,ngContentSelectors:Gp,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(r,o){r&1&&(Ot(zp),Qe(0,"span",0),xe(1),cn(2,"span",1),xe(3,1),ln(),xe(4,2),Qe(5,"span",2)(6,"span",3)),r&2&&De("mdc-button__ripple",!o._isFab)("mdc-fab__ripple",o._isFab)},styles:[QN],encapsulation:2,changeDetection:0})}return e})();var q9=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=q({type:e});static \u0275inj=G({imports:[DE,st]})}return e})();function wE(e){return Error(`Unable to find icon with the name "${e}"`)}function eR(){return Error("Could not find HttpClient for use with Angular Material icons. Please add provideHttpClient() to your providers.")}function IE(e){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${e}".`)}function SE(e){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${e}".`)}var mn=class{url;svgText;options;svgElement=null;constructor(n,t,r){this.url=n,this.svgText=t,this.options=r}},TE=(()=>{class e{_httpClient;_sanitizer;_errorHandler;_document;_svgIconConfigs=new Map;_iconSetConfigs=new Map;_cachedIconsByUrl=new Map;_inProgressUrlFetches=new Map;_fontCssClassesByAlias=new Map;_resolvers=[];_defaultFontSetClass=["material-icons","mat-ligature-font"];constructor(t,r,o,i){this._httpClient=t,this._sanitizer=r,this._errorHandler=i,this._document=o}addSvgIcon(t,r,o){return this.addSvgIconInNamespace("",t,r,o)}addSvgIconLiteral(t,r,o){return this.addSvgIconLiteralInNamespace("",t,r,o)}addSvgIconInNamespace(t,r,o,i){return this._addSvgIconConfig(t,r,new mn(o,null,i))}addSvgIconResolver(t){return this._resolvers.push(t),this}addSvgIconLiteralInNamespace(t,r,o,i){let s=this._sanitizer.sanitize(be.HTML,o);if(!s)throw SE(o);let a=Vr(s);return this._addSvgIconConfig(t,r,new mn("",a,i))}addSvgIconSet(t,r){return this.addSvgIconSetInNamespace("",t,r)}addSvgIconSetLiteral(t,r){return this.addSvgIconSetLiteralInNamespace("",t,r)}addSvgIconSetInNamespace(t,r,o){return this._addSvgIconSetConfig(t,new mn(r,null,o))}addSvgIconSetLiteralInNamespace(t,r,o){let i=this._sanitizer.sanitize(be.HTML,r);if(!i)throw SE(r);let s=Vr(i);return this._addSvgIconSetConfig(t,new mn("",s,o))}registerFontClassAlias(t,r=t){return this._fontCssClassesByAlias.set(t,r),this}classNameForFontAlias(t){return this._fontCssClassesByAlias.get(t)||t}setDefaultFontSetClass(...t){return this._defaultFontSetClass=t,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(t){let r=this._sanitizer.sanitize(be.RESOURCE_URL,t);if(!r)throw IE(t);let o=this._cachedIconsByUrl.get(r);return o?pe($l(o)):this._loadSvgIconFromConfig(new mn(t,null)).pipe(Sn(i=>this._cachedIconsByUrl.set(r,i)),X(i=>$l(i)))}getNamedSvgIcon(t,r=""){let o=ME(r,t),i=this._svgIconConfigs.get(o);if(i)return this._getSvgFromConfig(i);if(i=this._getIconConfigFromResolvers(r,t),i)return this._svgIconConfigs.set(o,i),this._getSvgFromConfig(i);let s=this._iconSetConfigs.get(r);return s?this._getSvgFromIconSetConfigs(t,s):Mu(wE(o))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(t){return t.svgText?pe($l(this._svgElementFromConfig(t))):this._loadSvgIconFromConfig(t).pipe(X(r=>$l(r)))}_getSvgFromIconSetConfigs(t,r){let o=this._extractIconWithNameFromAnySet(t,r);if(o)return pe(o);let i=r.filter(s=>!s.svgText).map(s=>this._loadSvgIconSetFromConfig(s).pipe(Di(a=>{let l=`Loading icon set URL: ${this._sanitizer.sanitize(be.RESOURCE_URL,s.url)} failed: ${a.message}`;return this._errorHandler.handleError(new Error(l)),pe(null)})));return _i(i).pipe(X(()=>{let s=this._extractIconWithNameFromAnySet(t,r);if(!s)throw wE(t);return s}))}_extractIconWithNameFromAnySet(t,r){for(let o=r.length-1;o>=0;o--){let i=r[o];if(i.svgText&&i.svgText.toString().indexOf(t)>-1){let s=this._svgElementFromConfig(i),a=this._extractSvgIconFromSet(s,t,i.options);if(a)return a}}return null}_loadSvgIconFromConfig(t){return this._fetchIcon(t).pipe(Sn(r=>t.svgText=r),X(()=>this._svgElementFromConfig(t)))}_loadSvgIconSetFromConfig(t){return t.svgText?pe(null):this._fetchIcon(t).pipe(Sn(r=>t.svgText=r))}_extractSvgIconFromSet(t,r,o){let i=t.querySelector(`[id="${r}"]`);if(!i)return null;let s=i.cloneNode(!0);if(s.removeAttribute("id"),s.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(s,o);if(s.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(s),o);let a=this._svgElementFromString(Vr("<svg></svg>"));return a.appendChild(s),this._setSvgAttributes(a,o)}_svgElementFromString(t){let r=this._document.createElement("DIV");r.innerHTML=t;let o=r.querySelector("svg");if(!o)throw Error("<svg> tag not found");return o}_toSvgElement(t){let r=this._svgElementFromString(Vr("<svg></svg>")),o=t.attributes;for(let i=0;i<o.length;i++){let{name:s,value:a}=o[i];s!=="id"&&r.setAttribute(s,a)}for(let i=0;i<t.childNodes.length;i++)t.childNodes[i].nodeType===this._document.ELEMENT_NODE&&r.appendChild(t.childNodes[i].cloneNode(!0));return r}_setSvgAttributes(t,r){return t.setAttribute("fit",""),t.setAttribute("height","100%"),t.setAttribute("width","100%"),t.setAttribute("preserveAspectRatio","xMidYMid meet"),t.setAttribute("focusable","false"),r&&r.viewBox&&t.setAttribute("viewBox",r.viewBox),t}_fetchIcon(t){let{url:r,options:o}=t,i=o?.withCredentials??!1;if(!this._httpClient)throw eR();if(r==null)throw Error(`Cannot fetch icon from URL "${r}".`);let s=this._sanitizer.sanitize(be.RESOURCE_URL,r);if(!s)throw IE(r);let a=this._inProgressUrlFetches.get(s);if(a)return a;let c=this._httpClient.get(s,{responseType:"text",withCredentials:i}).pipe(X(l=>Vr(l)),io(()=>this._inProgressUrlFetches.delete(s)),Ei());return this._inProgressUrlFetches.set(s,c),c}_addSvgIconConfig(t,r,o){return this._svgIconConfigs.set(ME(t,r),o),this}_addSvgIconSetConfig(t,r){let o=this._iconSetConfigs.get(t);return o?o.push(r):this._iconSetConfigs.set(t,[r]),this}_svgElementFromConfig(t){if(!t.svgElement){let r=this._svgElementFromString(t.svgText);this._setSvgAttributes(r,t.options),t.svgElement=r}return t.svgElement}_getIconConfigFromResolvers(t,r){for(let o=0;o<this._resolvers.length;o++){let i=this._resolvers[o](r,t);if(i)return tR(i)?new mn(i.url,null,i.options):new mn(i,null)}}static \u0275fac=function(r){return new(r||e)(T(gl,8),T(ws),T(x,8),T(Oe))};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function $l(e){return e.cloneNode(!0)}function ME(e,n){return e+":"+n}function tR(e){return!!(e.url&&e.options)}var nR=["*"],rR=new g("MAT_ICON_DEFAULT_OPTIONS"),oR=new g("mat-icon-location",{providedIn:"root",factory:()=>{let e=f(x),n=e?e.location:null;return{getPathname:()=>n?n.pathname+n.search:""}}}),AE=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],iR=AE.map(e=>`[${e}]`).join(", "),sR=/^url\(['"]?#(.*?)['"]?\)$/,hY=(()=>{class e{_elementRef=f(H);_iconRegistry=f(TE);_location=f(oR);_errorHandler=f(Oe);_defaultColor;get color(){return this._color||this._defaultColor}set color(t){this._color=t}_color;inline=!1;get svgIcon(){return this._svgIcon}set svgIcon(t){t!==this._svgIcon&&(t?this._updateSvgIcon(t):this._svgIcon&&this._clearSvgElement(),this._svgIcon=t)}_svgIcon;get fontSet(){return this._fontSet}set fontSet(t){let r=this._cleanupFontValue(t);r!==this._fontSet&&(this._fontSet=r,this._updateFontIconClasses())}_fontSet;get fontIcon(){return this._fontIcon}set fontIcon(t){let r=this._cleanupFontValue(t);r!==this._fontIcon&&(this._fontIcon=r,this._updateFontIconClasses())}_fontIcon;_previousFontSetClass=[];_previousFontIconClass;_svgName=null;_svgNamespace=null;_previousPath;_elementsWithExternalReferences;_currentIconFetch=B.EMPTY;constructor(){let t=f(new qc("aria-hidden"),{optional:!0}),r=f(rR,{optional:!0});r&&(r.color&&(this.color=this._defaultColor=r.color),r.fontSet&&(this.fontSet=r.fontSet)),t||this._elementRef.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(t){if(!t)return["",""];let r=t.split(":");switch(r.length){case 1:return["",r[0]];case 2:return r;default:throw Error(`Invalid icon name: "${t}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){let t=this._elementsWithExternalReferences;if(t&&t.size){let r=this._location.getPathname();r!==this._previousPath&&(this._previousPath=r,this._prependPathToReferences(r))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(t){this._clearSvgElement();let r=this._location.getPathname();this._previousPath=r,this._cacheChildrenWithExternalReferences(t),this._prependPathToReferences(r),this._elementRef.nativeElement.appendChild(t)}_clearSvgElement(){let t=this._elementRef.nativeElement,r=t.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();r--;){let o=t.childNodes[r];(o.nodeType!==1||o.nodeName.toLowerCase()==="svg")&&o.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let t=this._elementRef.nativeElement,r=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(o=>o.length>0);this._previousFontSetClass.forEach(o=>t.classList.remove(o)),r.forEach(o=>t.classList.add(o)),this._previousFontSetClass=r,this.fontIcon!==this._previousFontIconClass&&!r.includes("mat-ligature-font")&&(this._previousFontIconClass&&t.classList.remove(this._previousFontIconClass),this.fontIcon&&t.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(t){return typeof t=="string"?t.trim().split(" ")[0]:t}_prependPathToReferences(t){let r=this._elementsWithExternalReferences;r&&r.forEach((o,i)=>{o.forEach(s=>{i.setAttribute(s.name,`url('${t}#${s.value}')`)})})}_cacheChildrenWithExternalReferences(t){let r=t.querySelectorAll(iR),o=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let i=0;i<r.length;i++)AE.forEach(s=>{let a=r[i],c=a.getAttribute(s),l=c?c.match(sR):null;if(l){let u=o.get(a);u||(u=[],o.set(a,u)),u.push({name:s,value:l[1]})}})}_updateSvgIcon(t){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),t){let[r,o]=this._splitIconName(t);r&&(this._svgNamespace=r),o&&(this._svgName=o),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(o,r).pipe(qe(1)).subscribe(i=>this._setSvgElement(i),i=>{let s=`Error retrieving icon ${r}:${o}! ${i.message}`;this._errorHandler.handleError(new Error(s))})}}static \u0275fac=function(r){return new(r||e)};static \u0275cmp=ae({type:e,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(r,o){r&2&&(Fe("data-mat-icon-type",o._usingFontIcon()?"font":"svg")("data-mat-icon-name",o._svgName||o.fontIcon)("data-mat-icon-namespace",o._svgNamespace||o.fontSet)("fontIcon",o._usingFontIcon()?o.fontIcon:null),ls(o.color?"mat-"+o.color:""),De("mat-icon-inline",o.inline)("mat-icon-no-color",o.color!=="primary"&&o.color!=="accent"&&o.color!=="warn"))},inputs:{color:"color",inline:[2,"inline","inline",re],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],ngContentSelectors:nR,decls:1,vars:0,template:function(r,o){r&1&&(Ot(),xe(0))},styles:[`mat-icon, mat-icon.mat-primary, mat-icon.mat-accent, mat-icon.mat-warn {
|
|
1673
|
+
`],encapsulation:2,changeDetection:0})}return e})(),z9=(()=>{class e extends Bs{_options=f(yE,{optional:!0});_isFab=!0;constructor(){super(),this._options=this._options||Hs,this.color=this._options.color||Hs.color}static \u0275fac=function(r){return new(r||e)};static \u0275cmp=ae({type:e,selectors:[["button","mat-mini-fab",""],["a","mat-mini-fab",""],["button","matMiniFab",""],["a","matMiniFab",""]],hostAttrs:[1,"mdc-fab","mat-mdc-fab-base","mdc-fab--mini","mat-mdc-mini-fab"],exportAs:["matButton","matAnchor"],features:[W],attrs:WN,ngContentSelectors:$p,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(r,o){r&1&&(Ot(Up),Xe(0,"span",0),xe(1),cn(2,"span",1),xe(3,1),ln(),xe(4,2),Xe(5,"span",2)(6,"span",3)),r&2&&De("mdc-button__ripple",!o._isFab)("mdc-fab__ripple",o._isFab)},styles:[qN],encapsulation:2,changeDetection:0})}return e})();var G9=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=q({type:e});static \u0275inj=G({imports:[gE,st]})}return e})();function _E(e){return Error(`Unable to find icon with the name "${e}"`)}function ZN(){return Error("Could not find HttpClient for use with Angular Material icons. Please add provideHttpClient() to your providers.")}function bE(e){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${e}".`)}function DE(e){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${e}".`)}var mn=class{url;svgText;options;svgElement=null;constructor(n,t,r){this.url=n,this.svgText=t,this.options=r}},CE=(()=>{class e{_httpClient;_sanitizer;_errorHandler;_document;_svgIconConfigs=new Map;_iconSetConfigs=new Map;_cachedIconsByUrl=new Map;_inProgressUrlFetches=new Map;_fontCssClassesByAlias=new Map;_resolvers=[];_defaultFontSetClass=["material-icons","mat-ligature-font"];constructor(t,r,o,i){this._httpClient=t,this._sanitizer=r,this._errorHandler=i,this._document=o}addSvgIcon(t,r,o){return this.addSvgIconInNamespace("",t,r,o)}addSvgIconLiteral(t,r,o){return this.addSvgIconLiteralInNamespace("",t,r,o)}addSvgIconInNamespace(t,r,o,i){return this._addSvgIconConfig(t,r,new mn(o,null,i))}addSvgIconResolver(t){return this._resolvers.push(t),this}addSvgIconLiteralInNamespace(t,r,o,i){let s=this._sanitizer.sanitize(be.HTML,o);if(!s)throw DE(o);let a=Vr(s);return this._addSvgIconConfig(t,r,new mn("",a,i))}addSvgIconSet(t,r){return this.addSvgIconSetInNamespace("",t,r)}addSvgIconSetLiteral(t,r){return this.addSvgIconSetLiteralInNamespace("",t,r)}addSvgIconSetInNamespace(t,r,o){return this._addSvgIconSetConfig(t,new mn(r,null,o))}addSvgIconSetLiteralInNamespace(t,r,o){let i=this._sanitizer.sanitize(be.HTML,r);if(!i)throw DE(r);let s=Vr(i);return this._addSvgIconSetConfig(t,new mn("",s,o))}registerFontClassAlias(t,r=t){return this._fontCssClassesByAlias.set(t,r),this}classNameForFontAlias(t){return this._fontCssClassesByAlias.get(t)||t}setDefaultFontSetClass(...t){return this._defaultFontSetClass=t,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(t){let r=this._sanitizer.sanitize(be.RESOURCE_URL,t);if(!r)throw bE(t);let o=this._cachedIconsByUrl.get(r);return o?pe(Hl(o)):this._loadSvgIconFromConfig(new mn(t,null)).pipe(Sn(i=>this._cachedIconsByUrl.set(r,i)),X(i=>Hl(i)))}getNamedSvgIcon(t,r=""){let o=EE(r,t),i=this._svgIconConfigs.get(o);if(i)return this._getSvgFromConfig(i);if(i=this._getIconConfigFromResolvers(r,t),i)return this._svgIconConfigs.set(o,i),this._getSvgFromConfig(i);let s=this._iconSetConfigs.get(r);return s?this._getSvgFromIconSetConfigs(t,s):Iu(_E(o))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(t){return t.svgText?pe(Hl(this._svgElementFromConfig(t))):this._loadSvgIconFromConfig(t).pipe(X(r=>Hl(r)))}_getSvgFromIconSetConfigs(t,r){let o=this._extractIconWithNameFromAnySet(t,r);if(o)return pe(o);let i=r.filter(s=>!s.svgText).map(s=>this._loadSvgIconSetFromConfig(s).pipe(Di(a=>{let l=`Loading icon set URL: ${this._sanitizer.sanitize(be.RESOURCE_URL,s.url)} failed: ${a.message}`;return this._errorHandler.handleError(new Error(l)),pe(null)})));return _i(i).pipe(X(()=>{let s=this._extractIconWithNameFromAnySet(t,r);if(!s)throw _E(t);return s}))}_extractIconWithNameFromAnySet(t,r){for(let o=r.length-1;o>=0;o--){let i=r[o];if(i.svgText&&i.svgText.toString().indexOf(t)>-1){let s=this._svgElementFromConfig(i),a=this._extractSvgIconFromSet(s,t,i.options);if(a)return a}}return null}_loadSvgIconFromConfig(t){return this._fetchIcon(t).pipe(Sn(r=>t.svgText=r),X(()=>this._svgElementFromConfig(t)))}_loadSvgIconSetFromConfig(t){return t.svgText?pe(null):this._fetchIcon(t).pipe(Sn(r=>t.svgText=r))}_extractSvgIconFromSet(t,r,o){let i=t.querySelector(`[id="${r}"]`);if(!i)return null;let s=i.cloneNode(!0);if(s.removeAttribute("id"),s.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(s,o);if(s.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(s),o);let a=this._svgElementFromString(Vr("<svg></svg>"));return a.appendChild(s),this._setSvgAttributes(a,o)}_svgElementFromString(t){let r=this._document.createElement("DIV");r.innerHTML=t;let o=r.querySelector("svg");if(!o)throw Error("<svg> tag not found");return o}_toSvgElement(t){let r=this._svgElementFromString(Vr("<svg></svg>")),o=t.attributes;for(let i=0;i<o.length;i++){let{name:s,value:a}=o[i];s!=="id"&&r.setAttribute(s,a)}for(let i=0;i<t.childNodes.length;i++)t.childNodes[i].nodeType===this._document.ELEMENT_NODE&&r.appendChild(t.childNodes[i].cloneNode(!0));return r}_setSvgAttributes(t,r){return t.setAttribute("fit",""),t.setAttribute("height","100%"),t.setAttribute("width","100%"),t.setAttribute("preserveAspectRatio","xMidYMid meet"),t.setAttribute("focusable","false"),r&&r.viewBox&&t.setAttribute("viewBox",r.viewBox),t}_fetchIcon(t){let{url:r,options:o}=t,i=o?.withCredentials??!1;if(!this._httpClient)throw ZN();if(r==null)throw Error(`Cannot fetch icon from URL "${r}".`);let s=this._sanitizer.sanitize(be.RESOURCE_URL,r);if(!s)throw bE(r);let a=this._inProgressUrlFetches.get(s);if(a)return a;let c=this._httpClient.get(s,{responseType:"text",withCredentials:i}).pipe(X(l=>Vr(l)),io(()=>this._inProgressUrlFetches.delete(s)),Ei());return this._inProgressUrlFetches.set(s,c),c}_addSvgIconConfig(t,r,o){return this._svgIconConfigs.set(EE(t,r),o),this}_addSvgIconSetConfig(t,r){let o=this._iconSetConfigs.get(t);return o?o.push(r):this._iconSetConfigs.set(t,[r]),this}_svgElementFromConfig(t){if(!t.svgElement){let r=this._svgElementFromString(t.svgText);this._setSvgAttributes(r,t.options),t.svgElement=r}return t.svgElement}_getIconConfigFromResolvers(t,r){for(let o=0;o<this._resolvers.length;o++){let i=this._resolvers[o](r,t);if(i)return KN(i)?new mn(i.url,null,i.options):new mn(i,null)}}static \u0275fac=function(r){return new(r||e)(T(pl,8),T(Cs),T(A,8),T(Oe))};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Hl(e){return e.cloneNode(!0)}function EE(e,n){return e+":"+n}function KN(e){return!!(e.url&&e.options)}var XN=["*"],QN=new g("MAT_ICON_DEFAULT_OPTIONS"),JN=new g("mat-icon-location",{providedIn:"root",factory:()=>{let e=f(A),n=e?e.location:null;return{getPathname:()=>n?n.pathname+n.search:""}}}),wE=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],eR=wE.map(e=>`[${e}]`).join(", "),tR=/^url\(['"]?#(.*?)['"]?\)$/,dY=(()=>{class e{_elementRef=f(B);_iconRegistry=f(CE);_location=f(JN);_errorHandler=f(Oe);_defaultColor;get color(){return this._color||this._defaultColor}set color(t){this._color=t}_color;inline=!1;get svgIcon(){return this._svgIcon}set svgIcon(t){t!==this._svgIcon&&(t?this._updateSvgIcon(t):this._svgIcon&&this._clearSvgElement(),this._svgIcon=t)}_svgIcon;get fontSet(){return this._fontSet}set fontSet(t){let r=this._cleanupFontValue(t);r!==this._fontSet&&(this._fontSet=r,this._updateFontIconClasses())}_fontSet;get fontIcon(){return this._fontIcon}set fontIcon(t){let r=this._cleanupFontValue(t);r!==this._fontIcon&&(this._fontIcon=r,this._updateFontIconClasses())}_fontIcon;_previousFontSetClass=[];_previousFontIconClass;_svgName=null;_svgNamespace=null;_previousPath;_elementsWithExternalReferences;_currentIconFetch=j.EMPTY;constructor(){let t=f(new Wc("aria-hidden"),{optional:!0}),r=f(QN,{optional:!0});r&&(r.color&&(this.color=this._defaultColor=r.color),r.fontSet&&(this.fontSet=r.fontSet)),t||this._elementRef.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(t){if(!t)return["",""];let r=t.split(":");switch(r.length){case 1:return["",r[0]];case 2:return r;default:throw Error(`Invalid icon name: "${t}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){let t=this._elementsWithExternalReferences;if(t&&t.size){let r=this._location.getPathname();r!==this._previousPath&&(this._previousPath=r,this._prependPathToReferences(r))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(t){this._clearSvgElement();let r=this._location.getPathname();this._previousPath=r,this._cacheChildrenWithExternalReferences(t),this._prependPathToReferences(r),this._elementRef.nativeElement.appendChild(t)}_clearSvgElement(){let t=this._elementRef.nativeElement,r=t.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();r--;){let o=t.childNodes[r];(o.nodeType!==1||o.nodeName.toLowerCase()==="svg")&&o.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let t=this._elementRef.nativeElement,r=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(o=>o.length>0);this._previousFontSetClass.forEach(o=>t.classList.remove(o)),r.forEach(o=>t.classList.add(o)),this._previousFontSetClass=r,this.fontIcon!==this._previousFontIconClass&&!r.includes("mat-ligature-font")&&(this._previousFontIconClass&&t.classList.remove(this._previousFontIconClass),this.fontIcon&&t.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(t){return typeof t=="string"?t.trim().split(" ")[0]:t}_prependPathToReferences(t){let r=this._elementsWithExternalReferences;r&&r.forEach((o,i)=>{o.forEach(s=>{i.setAttribute(s.name,`url('${t}#${s.value}')`)})})}_cacheChildrenWithExternalReferences(t){let r=t.querySelectorAll(eR),o=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let i=0;i<r.length;i++)wE.forEach(s=>{let a=r[i],c=a.getAttribute(s),l=c?c.match(tR):null;if(l){let u=o.get(a);u||(u=[],o.set(a,u)),u.push({name:s,value:l[1]})}})}_updateSvgIcon(t){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),t){let[r,o]=this._splitIconName(t);r&&(this._svgNamespace=r),o&&(this._svgName=o),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(o,r).pipe(Ge(1)).subscribe(i=>this._setSvgElement(i),i=>{let s=`Error retrieving icon ${r}:${o}! ${i.message}`;this._errorHandler.handleError(new Error(s))})}}static \u0275fac=function(r){return new(r||e)};static \u0275cmp=ae({type:e,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(r,o){r&2&&(ke("data-mat-icon-type",o._usingFontIcon()?"font":"svg")("data-mat-icon-name",o._svgName||o.fontIcon)("data-mat-icon-namespace",o._svgNamespace||o.fontSet)("fontIcon",o._usingFontIcon()?o.fontIcon:null),ls(o.color?"mat-"+o.color:""),De("mat-icon-inline",o.inline)("mat-icon-no-color",o.color!=="primary"&&o.color!=="accent"&&o.color!=="warn"))},inputs:{color:"color",inline:[2,"inline","inline",re],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],ngContentSelectors:XN,decls:1,vars:0,template:function(r,o){r&1&&(Ot(),xe(0))},styles:[`mat-icon, mat-icon.mat-primary, mat-icon.mat-accent, mat-icon.mat-warn {
|
|
1674
1674
|
color: var(--mat-icon-color, inherit);
|
|
1675
1675
|
}
|
|
1676
1676
|
|
|
@@ -1706,4 +1706,4 @@ ${t.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
|
|
|
1706
1706
|
.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon {
|
|
1707
1707
|
margin: auto;
|
|
1708
1708
|
}
|
|
1709
|
-
`],encapsulation:2,changeDetection:0})}return e})(),pY=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=q({type:e});static \u0275inj=G({imports:[st]})}return e})();var LE=(()=>{class e{_renderer;_elementRef;onChange=t=>{};onTouched=()=>{};constructor(t,r){this._renderer=t,this._elementRef=r}setProperty(t,r){this._renderer.setProperty(this._elementRef.nativeElement,t,r)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}static \u0275fac=function(r){return new(r||e)(j(Xe),j(H))};static \u0275dir=A({type:e})}return e})(),VE=(()=>{class e extends LE{static \u0275fac=(()=>{let t;return function(o){return(t||(t=Ae(e)))(o||e)}})();static \u0275dir=A({type:e,features:[W]})}return e})(),nu=new g("");var aR={provide:nu,useExisting:Te(()=>jE),multi:!0};function cR(){let e=ht()?ht().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}var lR=new g(""),jE=(()=>{class e extends LE{_compositionMode;_composing=!1;constructor(t,r,o){super(t,r),this._compositionMode=o,this._compositionMode==null&&(this._compositionMode=!cR())}writeValue(t){let r=t??"";this.setProperty("value",r)}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}static \u0275fac=function(r){return new(r||e)(j(Xe),j(H),j(lR,8))};static \u0275dir=A({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&&zn("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:[Pe([aR]),W]})}return e})();function Yp(e){return e==null||Zp(e)===0}function Zp(e){return e==null?null:Array.isArray(e)||typeof e=="string"?e.length:e instanceof Set?e.size:null}var Qn=new g(""),ru=new g(""),uR=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,xE=class{static min(n){return BE(n)}static max(n){return HE(n)}static required(n){return UE(n)}static requiredTrue(n){return dR(n)}static email(n){return fR(n)}static minLength(n){return hR(n)}static maxLength(n){return pR(n)}static pattern(n){return $E(n)}static nullValidator(n){return Gl()}static compose(n){return ZE(n)}static composeAsync(n){return KE(n)}};function BE(e){return n=>{if(n.value==null||e==null)return null;let t=parseFloat(n.value);return!isNaN(t)&&t<e?{min:{min:e,actual:n.value}}:null}}function HE(e){return n=>{if(n.value==null||e==null)return null;let t=parseFloat(n.value);return!isNaN(t)&&t>e?{max:{max:e,actual:n.value}}:null}}function UE(e){return Yp(e.value)?{required:!0}:null}function dR(e){return e.value===!0?null:{required:!0}}function fR(e){return Yp(e.value)||uR.test(e.value)?null:{email:!0}}function hR(e){return n=>{let t=n.value?.length??Zp(n.value);return t===null||t===0?null:t<e?{minlength:{requiredLength:e,actualLength:t}}:null}}function pR(e){return n=>{let t=n.value?.length??Zp(n.value);return t!==null&&t>e?{maxlength:{requiredLength:e,actualLength:t}}:null}}function $E(e){if(!e)return Gl;let n,t;return typeof e=="string"?(t="",e.charAt(0)!=="^"&&(t+="^"),t+=e,e.charAt(e.length-1)!=="$"&&(t+="$"),n=new RegExp(t)):(t=e.toString(),n=e),r=>{if(Yp(r.value))return null;let o=r.value;return n.test(o)?null:{pattern:{requiredPattern:t,actualValue:o}}}}function Gl(e){return null}function zE(e){return e!=null}function GE(e){return Bo(e)?at(e):e}function WE(e){let n={};return e.forEach(t=>{n=t!=null?E(E({},n),t):n}),Object.keys(n).length===0?null:n}function qE(e,n){return n.map(t=>t(e))}function mR(e){return!e.validate}function YE(e){return e.map(n=>mR(n)?n:t=>n.validate(t))}function ZE(e){if(!e)return null;let n=e.filter(zE);return n.length==0?null:function(t){return WE(qE(t,n))}}function Kp(e){return e!=null?ZE(YE(e)):null}function KE(e){if(!e)return null;let n=e.filter(zE);return n.length==0?null:function(t){let r=qE(t,n).map(GE);return _i(r).pipe(X(WE))}}function Xp(e){return e!=null?KE(YE(e)):null}function NE(e,n){return e===null?[n]:Array.isArray(e)?[...e,n]:[e,n]}function XE(e){return e._rawValidators}function QE(e){return e._rawAsyncValidators}function Wp(e){return e?Array.isArray(e)?e:[e]:[]}function Wl(e,n){return Array.isArray(e)?e.includes(n):e===n}function RE(e,n){let t=Wp(n);return Wp(e).forEach(o=>{Wl(t,o)||t.push(o)}),t}function OE(e,n){return Wp(n).filter(t=>!Wl(e,t))}var ql=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(n){this._rawValidators=n||[],this._composedValidatorFn=Kp(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=Xp(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n=void 0){this.control?.reset(n)}hasError(n,t){return this.control?this.control.hasError(n,t):!1}getError(n,t){return this.control?this.control.getError(n,t):null}},Gr=class extends ql{name;get formDirective(){return null}get path(){return null}},Wr=class extends ql{_parent=null;name=null;valueAccessor=null},qp=class{_cd;constructor(n){this._cd=n}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 NY=(()=>{class e extends qp{constructor(t){super(t)}static \u0275fac=function(r){return new(r||e)(j(Wr,2))};static \u0275dir=A({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,o){r&2&&De("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:[W]})}return e})();var $s="VALID",zl="INVALID",oi="PENDING",zs="DISABLED",Xn=class{},Yl=class extends Xn{value;source;constructor(n,t){super(),this.value=n,this.source=t}},Ws=class extends Xn{pristine;source;constructor(n,t){super(),this.pristine=n,this.source=t}},qs=class extends Xn{touched;source;constructor(n,t){super(),this.touched=n,this.source=t}},ii=class extends Xn{status;source;constructor(n,t){super(),this.status=n,this.source=t}},Zl=class extends Xn{source;constructor(n){super(),this.source=n}},Kl=class extends Xn{source;constructor(n){super(),this.source=n}};function JE(e){return(ou(e)?e.validators:e)||null}function gR(e){return Array.isArray(e)?Kp(e):e||null}function eC(e,n){return(ou(n)?n.asyncValidators:e)||null}function vR(e){return Array.isArray(e)?Xp(e):e||null}function ou(e){return e!=null&&!Array.isArray(e)&&typeof e=="object"}function yR(e,n,t){let r=e.controls;if(!(n?Object.keys(r):r).length)throw new b(1e3,"");if(!r[t])throw new b(1001,"")}function _R(e,n,t){e._forEachChild((r,o)=>{if(t[o]===void 0)throw new b(-1002,"")})}var Xl=class{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(n,t){this._assignValidators(n),this._assignAsyncValidators(t)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get status(){return ce(this.statusReactive)}set status(n){ce(()=>this.statusReactive.set(n))}_status=Je(()=>this.statusReactive());statusReactive=se(void 0);get valid(){return this.status===$s}get invalid(){return this.status===zl}get pending(){return this.status===oi}get disabled(){return this.status===zs}get enabled(){return this.status!==zs}errors;get pristine(){return ce(this.pristineReactive)}set pristine(n){ce(()=>this.pristineReactive.set(n))}_pristine=Je(()=>this.pristineReactive());pristineReactive=se(!0);get dirty(){return!this.pristine}get touched(){return ce(this.touchedReactive)}set touched(n){ce(()=>this.touchedReactive.set(n))}_touched=Je(()=>this.touchedReactive());touchedReactive=se(!1);get untouched(){return!this.touched}_events=new C;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(RE(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(RE(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(OE(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(OE(n,this._rawAsyncValidators))}hasValidator(n){return Wl(this._rawValidators,n)}hasAsyncValidator(n){return Wl(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){let t=this.touched===!1;this.touched=!0;let r=n.sourceControl??this;n.onlySelf||this._parent?.markAsTouched(U(E({},n),{sourceControl:r})),t&&n.emitEvent!==!1&&this._events.next(new qs(!0,r))}markAllAsDirty(n={}){this.markAsDirty({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:this}),this._forEachChild(t=>t.markAllAsDirty(n))}markAllAsTouched(n={}){this.markAsTouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:this}),this._forEachChild(t=>t.markAllAsTouched(n))}markAsUntouched(n={}){let t=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let r=n.sourceControl??this;this._forEachChild(o=>{o.markAsUntouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:r})}),n.onlySelf||this._parent?._updateTouched(n,r),t&&n.emitEvent!==!1&&this._events.next(new qs(!1,r))}markAsDirty(n={}){let t=this.pristine===!0;this.pristine=!1;let r=n.sourceControl??this;n.onlySelf||this._parent?.markAsDirty(U(E({},n),{sourceControl:r})),t&&n.emitEvent!==!1&&this._events.next(new Ws(!1,r))}markAsPristine(n={}){let t=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let r=n.sourceControl??this;this._forEachChild(o=>{o.markAsPristine({onlySelf:!0,emitEvent:n.emitEvent})}),n.onlySelf||this._parent?._updatePristine(n,r),t&&n.emitEvent!==!1&&this._events.next(new Ws(!0,r))}markAsPending(n={}){this.status=oi;let t=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new ii(this.status,t)),this.statusChanges.emit(this.status)),n.onlySelf||this._parent?.markAsPending(U(E({},n),{sourceControl:t}))}disable(n={}){let t=this._parentMarkedDirty(n.onlySelf);this.status=zs,this.errors=null,this._forEachChild(o=>{o.disable(U(E({},n),{onlySelf:!0}))}),this._updateValue();let r=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new Yl(this.value,r)),this._events.next(new ii(this.status,r)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(U(E({},n),{skipPristineCheck:t}),this),this._onDisabledChange.forEach(o=>o(!0))}enable(n={}){let t=this._parentMarkedDirty(n.onlySelf);this.status=$s,this._forEachChild(r=>{r.enable(U(E({},n),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors(U(E({},n),{skipPristineCheck:t}),this),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(n,t){n.onlySelf||(this._parent?.updateValueAndValidity(n),n.skipPristineCheck||this._parent?._updatePristine({},t),this._parent?._updateTouched({},t))}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let r=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===$s||this.status===oi)&&this._runAsyncValidator(r,n.emitEvent)}let t=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new Yl(this.value,t)),this._events.next(new ii(this.status,t)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),n.onlySelf||this._parent?.updateValueAndValidity(U(E({},n),{sourceControl:t}))}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?zs:$s}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n,t){if(this.asyncValidator){this.status=oi,this._hasOwnPendingAsyncValidator={emitEvent:t!==!1,shouldHaveEmitted:n!==!1};let r=GE(this.asyncValidator(this));this._asyncValidationSubscription=r.subscribe(o=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(o,{emitEvent:t,shouldHaveEmitted:n})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let n=(this._hasOwnPendingAsyncValidator?.emitEvent||this._hasOwnPendingAsyncValidator?.shouldHaveEmitted)??!1;return this._hasOwnPendingAsyncValidator=null,n}return!1}setErrors(n,t={}){this.errors=n,this._updateControlsErrors(t.emitEvent!==!1,this,t.shouldHaveEmitted)}get(n){let t=n;return t==null||(Array.isArray(t)||(t=t.split(".")),t.length===0)?null:t.reduce((r,o)=>r&&r._find(o),this)}getError(n,t){let r=t?this.get(t):this;return r?.errors?r.errors[n]:null}hasError(n,t){return!!this.getError(n,t)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n,t,r){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),(n||r)&&this._events.next(new ii(this.status,t)),this._parent&&this._parent._updateControlsErrors(n,t,r)}_initObservables(){this.valueChanges=new $,this.statusChanges=new $}_calculateStatus(){return this._allControlsDisabled()?zs:this.errors?zl:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(oi)?oi:this._anyControlsHaveStatus(zl)?zl:$s}_anyControlsHaveStatus(n){return this._anyControls(t=>t.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n,t){let r=!this._anyControlsDirty(),o=this.pristine!==r;this.pristine=r,n.onlySelf||this._parent?._updatePristine(n,t),o&&this._events.next(new Ws(this.pristine,t))}_updateTouched(n={},t){this.touched=this._anyControlsTouched(),this._events.next(new qs(this.touched,t)),n.onlySelf||this._parent?._updateTouched(n,t)}_onDisabledChange=[];_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){ou(n)&&n.updateOn!=null&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){return!n&&!!this._parent?.dirty&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=gR(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=vR(this._rawAsyncValidators)}},Ql=class extends Xl{constructor(n,t,r){super(JE(t),eC(r,t)),this.controls=n,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(n,t){return this.controls[n]?this.controls[n]:(this.controls[n]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(n,t,r={}){this.registerControl(n,t),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}removeControl(n,t={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}setControl(n,t,r={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],t&&this.registerControl(n,t),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,t={}){_R(this,!0,n),Object.keys(n).forEach(r=>{yR(this,!0,r),this.controls[r].setValue(n[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(n,t={}){n!=null&&(Object.keys(n).forEach(r=>{let o=this.controls[r];o&&o.patchValue(n[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(n={},t={}){this._forEachChild((r,o)=>{r.reset(n?n[o]:null,U(E({},t),{onlySelf:!0}))}),this._updatePristine(t,this),this._updateTouched(t,this),this.updateValueAndValidity(t),t?.emitEvent!==!1&&this._events.next(new Kl(this))}getRawValue(){return this._reduceChildren({},(n,t,r)=>(n[r]=t.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(t,r)=>r._syncPendingControls()?!0:t);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(t=>{let r=this.controls[t];r&&n(r,t)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(let[t,r]of Object.entries(this.controls))if(this.contains(t)&&n(r))return!0;return!1}_reduceValue(){let n={};return this._reduceChildren(n,(t,r,o)=>((r.enabled||this.disabled)&&(t[o]=r.value),t))}_reduceChildren(n,t){let r=n;return this._forEachChild((o,i)=>{r=t(r,o,i)}),r}_allControlsDisabled(){for(let n of Object.keys(this.controls))if(this.controls[n].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(n){return this.controls.hasOwnProperty(n)?this.controls[n]:null}};var si=new g("",{factory:()=>iu}),iu="always";function bR(e,n){return[...n.path,e]}function Ys(e,n,t=iu){Qp(e,n),n.valueAccessor.writeValue(e.value),(e.disabled||t==="always")&&n.valueAccessor.setDisabledState?.(e.disabled),ER(e,n),wR(e,n),CR(e,n),DR(e,n)}function Jl(e,n,t=!0){let r=()=>{};n?.valueAccessor?.registerOnChange(r),n?.valueAccessor?.registerOnTouched(r),tu(e,n),e&&(n._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(()=>{}))}function eu(e,n){e.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(n)})}function DR(e,n){if(n.valueAccessor.setDisabledState){let t=r=>{n.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(t),n._registerOnDestroy(()=>{e._unregisterOnDisabledChange(t)})}}function Qp(e,n){let t=XE(e);n.validator!==null?e.setValidators(NE(t,n.validator)):typeof t=="function"&&e.setValidators([t]);let r=QE(e);n.asyncValidator!==null?e.setAsyncValidators(NE(r,n.asyncValidator)):typeof r=="function"&&e.setAsyncValidators([r]);let o=()=>e.updateValueAndValidity();eu(n._rawValidators,o),eu(n._rawAsyncValidators,o)}function tu(e,n){let t=!1;if(e!==null){if(n.validator!==null){let o=XE(e);if(Array.isArray(o)&&o.length>0){let i=o.filter(s=>s!==n.validator);i.length!==o.length&&(t=!0,e.setValidators(i))}}if(n.asyncValidator!==null){let o=QE(e);if(Array.isArray(o)&&o.length>0){let i=o.filter(s=>s!==n.asyncValidator);i.length!==o.length&&(t=!0,e.setAsyncValidators(i))}}}let r=()=>{};return eu(n._rawValidators,r),eu(n._rawAsyncValidators,r),t}function ER(e,n){n.valueAccessor.registerOnChange(t=>{e._pendingValue=t,e._pendingChange=!0,e._pendingDirty=!0,e.updateOn==="change"&&tC(e,n)})}function CR(e,n){n.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,e.updateOn==="blur"&&e._pendingChange&&tC(e,n),e.updateOn!=="submit"&&e.markAsTouched()})}function tC(e,n){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function wR(e,n){let t=(r,o)=>{n.valueAccessor.writeValue(r),o&&n.viewToModelUpdate(r)};e.registerOnChange(t),n._registerOnDestroy(()=>{e._unregisterOnChange(t)})}function nC(e,n){e==null,Qp(e,n)}function IR(e,n){return tu(e,n)}function rC(e,n){if(!e.hasOwnProperty("model"))return!1;let t=e.model;return t.isFirstChange()?!0:!Object.is(n,t.currentValue)}function SR(e){return Object.getPrototypeOf(e.constructor)===VE}function oC(e,n){e._syncPendingControls(),n.forEach(t=>{let r=t.control;r.updateOn==="submit"&&r._pendingChange&&(t.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}function iC(e,n){if(!n)return null;Array.isArray(n);let t,r,o;return n.forEach(i=>{i.constructor===jE?t=i:SR(i)?r=i:o=i}),o||r||t||null}function MR(e,n){let t=e.indexOf(n);t>-1&&e.splice(t,1)}var TR={provide:Gr,useExisting:Te(()=>AR)},Gs=Promise.resolve(),AR=(()=>{class e extends Gr{callSetDisabledState;get submitted(){return ce(this.submittedReactive)}_submitted=Je(()=>this.submittedReactive());submittedReactive=se(!1);_directives=new Set;form;ngSubmit=new $;options;constructor(t,r,o){super(),this.callSetDisabledState=o,this.form=new Ql({},Kp(t),Xp(r))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){Gs.then(()=>{let r=this._findContainer(t.path);t.control=r.registerControl(t.name,t.control),Ys(t.control,t,this.callSetDisabledState),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){Gs.then(()=>{this._findContainer(t.path)?.removeControl(t.name),this._directives.delete(t)})}addFormGroup(t){Gs.then(()=>{let r=this._findContainer(t.path),o=new Ql({});nC(o,t),r.registerControl(t.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){Gs.then(()=>{this._findContainer(t.path)?.removeControl?.(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,r){Gs.then(()=>{this.form.get(t.path).setValue(r)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submittedReactive.set(!0),oC(this.form,this._directives),this.ngSubmit.emit(t),this.form._events.next(new Zl(this.control)),t?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}static \u0275fac=function(r){return new(r||e)(j(Qn,10),j(ru,10),j(si,8))};static \u0275dir=A({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup","",3,"formArray",""],["ng-form"],["","ngForm",""]],hostBindings:function(r,o){r&1&&zn("submit",function(s){return o.onSubmit(s)})("reset",function(){return o.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[Pe([TR]),W]})}return e})();function kE(e,n){let t=e.indexOf(n);t>-1&&e.splice(t,1)}function FE(e){return typeof e=="object"&&e!==null&&Object.keys(e).length===2&&"value"in e&&"disabled"in e}var sC=class extends Xl{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(n=null,t,r){super(JE(t),eC(r,t)),this._applyFormState(n),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),ou(t)&&(t.nonNullable||t.initialValueIsDefault)&&(FE(n)?this.defaultValue=n.value:this.defaultValue=n)}setValue(n,t={}){this.value=this._pendingValue=n,this._onChange.length&&t.emitModelToViewChange!==!1&&this._onChange.forEach(r=>r(this.value,t.emitViewToModelChange!==!1)),this.updateValueAndValidity(t)}patchValue(n,t={}){this.setValue(n,t)}reset(n=this.defaultValue,t={}){this._applyFormState(n),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),t.overwriteDefaultValue&&(this.defaultValue=this.value),this._pendingChange=!1,t?.emitEvent!==!1&&this._events.next(new Kl(this))}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){kE(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){kE(this._onDisabledChange,n)}_forEachChild(n){}_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(n){FE(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}};var xR=e=>e instanceof sC;var NR={provide:Wr,useExisting:Te(()=>RR)},PE=Promise.resolve(),RR=(()=>{class e extends Wr{_changeDetectorRef;callSetDisabledState;control=new sC;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new $;constructor(t,r,o,i,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this._parent=t,this._setValidators(r),this._setAsyncValidators(o),this.valueAccessor=iC(this,i)}ngOnChanges(t){if(this._checkForErrors(),!this._registered||"name"in t){if(this._registered&&(this._checkName(),this.formDirective)){let r=t.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in t&&this._updateDisabled(t),rC(t,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(t){this.viewModel=t,this.update.emit(t)}_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(){Ys(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(t){PE.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(t){let r=t.isDisabled.currentValue,o=r!==0&&re(r);PE.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(t){return this._parent?bR(t,this._parent):[t]}static \u0275fac=function(r){return new(r||e)(j(Gr,9),j(Qn,10),j(ru,10),j(nu,10),j(kr,8),j(si,8))};static \u0275dir=A({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:[Pe([NR]),W,Ue]})}return e})();var OR={provide:nu,useExisting:Te(()=>kR),multi:!0},kR=(()=>{class e extends VE{writeValue(t){let r=t??"";this.setProperty("value",r)}registerOnChange(t){this.onChange=r=>{t(r==""?null:parseFloat(r))}}static \u0275fac=(()=>{let t;return function(o){return(t||(t=Ae(e)))(o||e)}})();static \u0275dir=A({type:e,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(r,o){r&1&&zn("input",function(s){return o.onChange(s.target.value)})("blur",function(){return o.onTouched()})},standalone:!1,features:[Pe([OR]),W]})}return e})();var FR=(()=>{class e extends Gr{callSetDisabledState;get submitted(){return ce(this._submittedReactive)}set submitted(t){this._submittedReactive.set(t)}_submitted=Je(()=>this._submittedReactive());_submittedReactive=se(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];constructor(t,r,o){super(),this.callSetDisabledState=o,this._setValidators(t),this._setAsyncValidators(r)}ngOnChanges(t){this.onChanges(t)}ngOnDestroy(){this.onDestroy()}onChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}onDestroy(){this.form&&(tu(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get path(){return[]}addControl(t){let r=this.form.get(t.path);return Ys(r,t,this.callSetDisabledState),r.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),r}getControl(t){return this.form.get(t.path)}removeControl(t){Jl(t.control||null,t,!1),MR(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}getFormArray(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}updateModel(t,r){this.form.get(t.path).setValue(r)}onReset(){this.resetForm()}resetForm(t=void 0,r={}){this.form.reset(t,r),this._submittedReactive.set(!1)}onSubmit(t){return this.submitted=!0,oC(this.form,this.directives),this.ngSubmit.emit(t),this.form._events.next(new Zl(this.control)),t?.target?.method==="dialog"}_updateDomValue(){this.directives.forEach(t=>{let r=t.control,o=this.form.get(t.path);r!==o&&(Jl(r||null,t),xR(o)&&(Ys(o,t,this.callSetDisabledState),t.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){let r=this.form.get(t.path);nC(r,t),r.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){let r=this.form?.get(t.path);r&&IR(r,t)&&r.updateValueAndValidity({emitEvent:!1})}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm?._registerOnCollectionChange(()=>{})}_updateValidators(){Qp(this.form,this),this._oldForm&&tu(this._oldForm,this)}_checkFormPresent(){this.form}static \u0275fac=function(r){return new(r||e)(j(Qn,10),j(ru,10),j(si,8))};static \u0275dir=A({type:e,features:[W,Ue]})}return e})();var aC=new g(""),PR={provide:Wr,useExisting:Te(()=>LR)},LR=(()=>{class e extends Wr{_ngModelWarningConfig;callSetDisabledState;viewModel;form;set isDisabled(t){}model;update=new $;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(t,r,o,i,s){super(),this._ngModelWarningConfig=i,this.callSetDisabledState=s,this._setValidators(t),this._setAsyncValidators(r),this.valueAccessor=iC(this,o)}ngOnChanges(t){if(this._isControlChanged(t)){let r=t.form.previousValue;r&&Jl(r,this,!1),Ys(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}rC(t,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Jl(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_isControlChanged(t){return t.hasOwnProperty("form")}static \u0275fac=function(r){return new(r||e)(j(Qn,10),j(ru,10),j(nu,10),j(aC,8),j(si,8))};static \u0275dir=A({type:e,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],standalone:!1,features:[Pe([PR]),W,Ue]})}return e})();var VR={provide:Gr,useExisting:Te(()=>jR)},jR=(()=>{class e extends FR{form=null;ngSubmit=new $;get control(){return this.form}static \u0275fac=(()=>{let t;return function(o){return(t||(t=Ae(e)))(o||e)}})();static \u0275dir=A({type:e,selectors:[["","formGroup",""]],hostBindings:function(r,o){r&1&&zn("submit",function(s){return o.onSubmit(s)})("reset",function(){return o.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[Pe([VR]),W]})}return e})();function cC(e){return typeof e=="number"?e:parseFloat(e)}var su=(()=>{class e{_validator=Gl;_onChange;_enabled;ngOnChanges(t){if(this.inputName in t){let r=this.normalizeInput(t[this.inputName].currentValue);this._enabled=this.enabled(r),this._validator=this._enabled?this.createValidator(r):Gl,this._onChange?.()}}validate(t){return this._validator(t)}registerOnValidatorChange(t){this._onChange=t}enabled(t){return t!=null}static \u0275fac=function(r){return new(r||e)};static \u0275dir=A({type:e,features:[Ue]})}return e})(),BR={provide:Qn,useExisting:Te(()=>HR),multi:!0},HR=(()=>{class e extends su{max;inputName="max";normalizeInput=t=>cC(t);createValidator=t=>HE(t);static \u0275fac=(()=>{let t;return function(o){return(t||(t=Ae(e)))(o||e)}})();static \u0275dir=A({type:e,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(r,o){r&2&&Fe("max",o._enabled?o.max:null)},inputs:{max:"max"},standalone:!1,features:[Pe([BR]),W]})}return e})(),UR={provide:Qn,useExisting:Te(()=>$R),multi:!0},$R=(()=>{class e extends su{min;inputName="min";normalizeInput=t=>cC(t);createValidator=t=>BE(t);static \u0275fac=(()=>{let t;return function(o){return(t||(t=Ae(e)))(o||e)}})();static \u0275dir=A({type:e,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(r,o){r&2&&Fe("min",o._enabled?o.min:null)},inputs:{min:"min"},standalone:!1,features:[Pe([UR]),W]})}return e})(),zR={provide:Qn,useExisting:Te(()=>GR),multi:!0};var GR=(()=>{class e extends su{required;inputName="required";normalizeInput=re;createValidator=t=>UE;enabled(t){return t}static \u0275fac=(()=>{let t;return function(o){return(t||(t=Ae(e)))(o||e)}})();static \u0275dir=A({type:e,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(r,o){r&2&&Fe("required",o._enabled?"":null)},inputs:{required:"required"},standalone:!1,features:[Pe([zR]),W]})}return e})();var WR={provide:Qn,useExisting:Te(()=>qR),multi:!0},qR=(()=>{class e extends su{pattern;inputName="pattern";normalizeInput=t=>t;createValidator=t=>$E(t);static \u0275fac=(()=>{let t;return function(o){return(t||(t=Ae(e)))(o||e)}})();static \u0275dir=A({type:e,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(r,o){r&2&&Fe("pattern",o._enabled?o.pattern:null)},inputs:{pattern:"pattern"},standalone:!1,features:[Pe([WR]),W]})}return e})();var lC=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=q({type:e});static \u0275inj=G({})}return e})();var OY=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:si,useValue:t.callSetDisabledState??iu}]}}static \u0275fac=function(r){return new(r||e)};static \u0275mod=q({type:e});static \u0275inj=G({imports:[lC]})}return e})(),kY=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:aC,useValue:t.warnOnNgModelWithFormControl??"always"},{provide:si,useValue:t.callSetDisabledState??iu}]}}static \u0275fac=function(r){return new(r||e)};static \u0275mod=q({type:e});static \u0275inj=G({imports:[lC]})}return e})();export{B as a,R as b,C as c,ar as d,Du as e,wu as f,Iu as g,vi as h,pe as i,Zt as j,RC as k,X as l,Tu as m,ro as n,yi as o,_i as p,bi as q,HC as r,Au as s,Ce as t,oo as u,Di as v,UC as w,xu as x,In as y,qe as z,$C as A,ur as B,GC as C,Nu as D,Ou as E,Ci as F,jt as G,so as H,Kt as I,Sn as J,Te as K,y as L,G as M,g as N,T as O,f as P,fg as Q,hg as R,Ig as S,Sg as T,O as U,x as V,Ye as W,$ as X,M as Y,se as Z,wr as _,Ue as $,Ae as aa,Rf as ba,H as ca,on as da,be as ea,LI as fa,VI as ga,jI as ha,BI as ia,Zf as ja,Rt as ka,ke as la,Se as ma,Xe as na,j as oa,tM as pa,ze as qa,ae as ra,q as sa,A as ta,jc as ua,W as va,Po as wa,f_ as xa,jo as ya,ot as za,IT as Aa,ST as Ba,w_ as Ca,Fe as Da,TT as Ea,AT as Fa,xT as Ga,NT as Ha,RT as Ia,OT as Ja,I_ as Ka,xo as La,os as Ma,S_ as Na,cn as Oa,ln as Pa,Qe as Qa,Ih as Ra,Sh as Sa,T_ as Ta,jT as Ua,is as Va,zn as Wa,x_ as Xa,zT as Ya,Ot as Za,xe as _a,R_ as $a,Ho as ab,as as bb,cs as cb,O_ as db,k_ as eb,qT as fb,YT as gb,Uc as hb,De as ib,a0 as jb,ls as kb,y0 as lb,q_ as mb,Mh as nb,Y_ as ob,K_ as pb,D0 as qb,X_ as rb,J_ as sb,E0 as tb,C0 as ub,w0 as vb,Pe as wb,T0 as xb,A0 as yb,x0 as zb,N0 as Ab,R0 as Bb,O0 as Cb,F0 as Db,P0 as Eb,L0 as Fb,V0 as Gb,us as Hb,Je as Ib,xh as Jb,H0 as Kb,qc as Lb,D8 as Mb,E8 as Nb,C8 as Ob,w8 as Pb,I8 as Qb,S8 as Rb,M8 as Sb,T8 as Tb,A8 as Ub,kr as Vb,fs as Wb,re as Xb,_b as Yb,N8 as Zb,BA as _b,Hb as $b,HA as ac,UA as bc,GA as cc,WA as dc,zb as ec,ix as fc,Wn as gc,gl as hc,Ox as ic,kx as jc,ws as kc,ie as lc,lp as mc,Lr as nc,Ge as oc,gt as pc,Yo as qc,Ft as rc,mt as sc,hn as tc,LD as uc,As as vc,Nl as wc,st as xc,uN as yc,xs as zc,Ns as Ac,Hr as Bc,HD as Cc,gN as Dc,vN as Ec,wp as Fc,Ip as Gc,qt as Hc,Qo as Ic,Zn as Jc,Jo as Kc,Rl as Lc,aq as Mc,Os as Nc,Ur as Oc,Yn as Pc,ti as Qc,Np as Rc,zr as Sc,Fs as Tc,Op as Uc,Ll as Vc,ni as Wc,kp as Xc,Ps as Yc,Ap as Zc,CN as _c,Ls as $c,Is as ad,Ss as bd,qo as cd,Vx as dd,bl as ed,Dl as fd,fp as gd,l4 as hd,ID as id,Cl as jd,wl as kd,Jx as ld,tN as md,pp as nd,Pp as od,Lp as pd,oE as qd,m6 as rd,g6 as sd,_6 as td,xN as ud,pn as vd,mp as wd,gp as xd,vp as yd,r5 as zd,rN as Ad,oN as Bd,g5 as Cd,Hl as Dd,PN as Ed,uE as Fd,$6 as Gd,z6 as Hd,G6 as Id,W6 as Jd,Z6 as Kd,vt as Ld,Bs as Md,Hp as Nd,d9 as Od,yE as Pd,_E as Qd,YN as Rd,DE as Sd,z9 as Td,G9 as Ud,W9 as Vd,q9 as Wd,TE as Xd,hY as Yd,pY as Zd,nu as _d,jE as $d,Qn as ae,xE as be,Gr as ce,Wr as de,NY as ee,AR as fe,sC as ge,RR as he,kR as ie,LR as je,jR as ke,HR as le,$R as me,GR as ne,qR as oe,OY as pe,kY as qe};
|
|
1709
|
+
`],encapsulation:2,changeDetection:0})}return e})(),fY=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=q({type:e});static \u0275inj=G({imports:[st]})}return e})();var RE=(()=>{class e{_renderer;_elementRef;onChange=t=>{};onTouched=()=>{};constructor(t,r){this._renderer=t,this._elementRef=r}setProperty(t,r){this._renderer.setProperty(this._elementRef.nativeElement,t,r)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}static \u0275fac=function(r){return new(r||e)(H(Ke),H(B))};static \u0275dir=N({type:e})}return e})(),OE=(()=>{class e extends RE{static \u0275fac=(()=>{let t;return function(o){return(t||(t=Ae(e)))(o||e)}})();static \u0275dir=N({type:e,features:[W]})}return e})(),eu=new g("");var nR={provide:eu,useExisting:Te(()=>kE),multi:!0};function rR(){let e=ht()?ht().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}var oR=new g(""),kE=(()=>{class e extends RE{_compositionMode;_composing=!1;constructor(t,r,o){super(t,r),this._compositionMode=o,this._compositionMode==null&&(this._compositionMode=!rR())}writeValue(t){let r=t??"";this.setProperty("value",r)}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}static \u0275fac=function(r){return new(r||e)(H(Ke),H(B),H(oR,8))};static \u0275dir=N({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&&zn("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:[Fe([nR]),W]})}return e})();function Wp(e){return e==null||qp(e)===0}function qp(e){return e==null?null:Array.isArray(e)||typeof e=="string"?e.length:e instanceof Set?e.size:null}var Qn=new g(""),tu=new g(""),iR=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,IE=class{static min(n){return FE(n)}static max(n){return PE(n)}static required(n){return LE(n)}static requiredTrue(n){return sR(n)}static email(n){return aR(n)}static minLength(n){return cR(n)}static maxLength(n){return lR(n)}static pattern(n){return VE(n)}static nullValidator(n){return $l()}static compose(n){return zE(n)}static composeAsync(n){return GE(n)}};function FE(e){return n=>{if(n.value==null||e==null)return null;let t=parseFloat(n.value);return!isNaN(t)&&t<e?{min:{min:e,actual:n.value}}:null}}function PE(e){return n=>{if(n.value==null||e==null)return null;let t=parseFloat(n.value);return!isNaN(t)&&t>e?{max:{max:e,actual:n.value}}:null}}function LE(e){return Wp(e.value)?{required:!0}:null}function sR(e){return e.value===!0?null:{required:!0}}function aR(e){return Wp(e.value)||iR.test(e.value)?null:{email:!0}}function cR(e){return n=>{let t=n.value?.length??qp(n.value);return t===null||t===0?null:t<e?{minlength:{requiredLength:e,actualLength:t}}:null}}function lR(e){return n=>{let t=n.value?.length??qp(n.value);return t!==null&&t>e?{maxlength:{requiredLength:e,actualLength:t}}:null}}function VE(e){if(!e)return $l;let n,t;return typeof e=="string"?(t="",e.charAt(0)!=="^"&&(t+="^"),t+=e,e.charAt(e.length-1)!=="$"&&(t+="$"),n=new RegExp(t)):(t=e.toString(),n=e),r=>{if(Wp(r.value))return null;let o=r.value;return n.test(o)?null:{pattern:{requiredPattern:t,actualValue:o}}}}function $l(e){return null}function jE(e){return e!=null}function BE(e){return Bo(e)?at(e):e}function HE(e){let n={};return e.forEach(t=>{n=t!=null?E(E({},n),t):n}),Object.keys(n).length===0?null:n}function UE(e,n){return n.map(t=>t(e))}function uR(e){return!e.validate}function $E(e){return e.map(n=>uR(n)?n:t=>n.validate(t))}function zE(e){if(!e)return null;let n=e.filter(jE);return n.length==0?null:function(t){return HE(UE(t,n))}}function Yp(e){return e!=null?zE($E(e)):null}function GE(e){if(!e)return null;let n=e.filter(jE);return n.length==0?null:function(t){let r=UE(t,n).map(BE);return _i(r).pipe(X(HE))}}function Zp(e){return e!=null?GE($E(e)):null}function SE(e,n){return e===null?[n]:Array.isArray(e)?[...e,n]:[e,n]}function WE(e){return e._rawValidators}function qE(e){return e._rawAsyncValidators}function zp(e){return e?Array.isArray(e)?e:[e]:[]}function zl(e,n){return Array.isArray(e)?e.includes(n):e===n}function ME(e,n){let t=zp(n);return zp(e).forEach(o=>{zl(t,o)||t.push(o)}),t}function TE(e,n){return zp(n).filter(t=>!zl(e,t))}var Gl=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(n){this._rawValidators=n||[],this._composedValidatorFn=Yp(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=Zp(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n=void 0){this.control?.reset(n)}hasError(n,t){return this.control?this.control.hasError(n,t):!1}getError(n,t){return this.control?this.control.getError(n,t):null}},Gr=class extends Gl{name;get formDirective(){return null}get path(){return null}},Wr=class extends Gl{_parent=null;name=null;valueAccessor=null},Gp=class{_cd;constructor(n){this._cd=n}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 AY=(()=>{class e extends Gp{constructor(t){super(t)}static \u0275fac=function(r){return new(r||e)(H(Wr,2))};static \u0275dir=N({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,o){r&2&&De("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:[W]})}return e})();var Us="VALID",Ul="INVALID",oi="PENDING",$s="DISABLED",Xn=class{},Wl=class extends Xn{value;source;constructor(n,t){super(),this.value=n,this.source=t}},Gs=class extends Xn{pristine;source;constructor(n,t){super(),this.pristine=n,this.source=t}},Ws=class extends Xn{touched;source;constructor(n,t){super(),this.touched=n,this.source=t}},ii=class extends Xn{status;source;constructor(n,t){super(),this.status=n,this.source=t}},ql=class extends Xn{source;constructor(n){super(),this.source=n}},Yl=class extends Xn{source;constructor(n){super(),this.source=n}};function YE(e){return(nu(e)?e.validators:e)||null}function dR(e){return Array.isArray(e)?Yp(e):e||null}function ZE(e,n){return(nu(n)?n.asyncValidators:e)||null}function fR(e){return Array.isArray(e)?Zp(e):e||null}function nu(e){return e!=null&&!Array.isArray(e)&&typeof e=="object"}function hR(e,n,t){let r=e.controls;if(!(n?Object.keys(r):r).length)throw new b(1e3,"");if(!r[t])throw new b(1001,"")}function pR(e,n,t){e._forEachChild((r,o)=>{if(t[o]===void 0)throw new b(-1002,"")})}var Zl=class{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(n,t){this._assignValidators(n),this._assignAsyncValidators(t)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get status(){return ce(this.statusReactive)}set status(n){ce(()=>this.statusReactive.set(n))}_status=Qe(()=>this.statusReactive());statusReactive=se(void 0);get valid(){return this.status===Us}get invalid(){return this.status===Ul}get pending(){return this.status===oi}get disabled(){return this.status===$s}get enabled(){return this.status!==$s}errors;get pristine(){return ce(this.pristineReactive)}set pristine(n){ce(()=>this.pristineReactive.set(n))}_pristine=Qe(()=>this.pristineReactive());pristineReactive=se(!0);get dirty(){return!this.pristine}get touched(){return ce(this.touchedReactive)}set touched(n){ce(()=>this.touchedReactive.set(n))}_touched=Qe(()=>this.touchedReactive());touchedReactive=se(!1);get untouched(){return!this.touched}_events=new C;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(ME(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(ME(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(TE(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(TE(n,this._rawAsyncValidators))}hasValidator(n){return zl(this._rawValidators,n)}hasAsyncValidator(n){return zl(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){let t=this.touched===!1;this.touched=!0;let r=n.sourceControl??this;n.onlySelf||this._parent?.markAsTouched(U(E({},n),{sourceControl:r})),t&&n.emitEvent!==!1&&this._events.next(new Ws(!0,r))}markAllAsDirty(n={}){this.markAsDirty({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:this}),this._forEachChild(t=>t.markAllAsDirty(n))}markAllAsTouched(n={}){this.markAsTouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:this}),this._forEachChild(t=>t.markAllAsTouched(n))}markAsUntouched(n={}){let t=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let r=n.sourceControl??this;this._forEachChild(o=>{o.markAsUntouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:r})}),n.onlySelf||this._parent?._updateTouched(n,r),t&&n.emitEvent!==!1&&this._events.next(new Ws(!1,r))}markAsDirty(n={}){let t=this.pristine===!0;this.pristine=!1;let r=n.sourceControl??this;n.onlySelf||this._parent?.markAsDirty(U(E({},n),{sourceControl:r})),t&&n.emitEvent!==!1&&this._events.next(new Gs(!1,r))}markAsPristine(n={}){let t=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let r=n.sourceControl??this;this._forEachChild(o=>{o.markAsPristine({onlySelf:!0,emitEvent:n.emitEvent})}),n.onlySelf||this._parent?._updatePristine(n,r),t&&n.emitEvent!==!1&&this._events.next(new Gs(!0,r))}markAsPending(n={}){this.status=oi;let t=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new ii(this.status,t)),this.statusChanges.emit(this.status)),n.onlySelf||this._parent?.markAsPending(U(E({},n),{sourceControl:t}))}disable(n={}){let t=this._parentMarkedDirty(n.onlySelf);this.status=$s,this.errors=null,this._forEachChild(o=>{o.disable(U(E({},n),{onlySelf:!0}))}),this._updateValue();let r=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new Wl(this.value,r)),this._events.next(new ii(this.status,r)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(U(E({},n),{skipPristineCheck:t}),this),this._onDisabledChange.forEach(o=>o(!0))}enable(n={}){let t=this._parentMarkedDirty(n.onlySelf);this.status=Us,this._forEachChild(r=>{r.enable(U(E({},n),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors(U(E({},n),{skipPristineCheck:t}),this),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(n,t){n.onlySelf||(this._parent?.updateValueAndValidity(n),n.skipPristineCheck||this._parent?._updatePristine({},t),this._parent?._updateTouched({},t))}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let r=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Us||this.status===oi)&&this._runAsyncValidator(r,n.emitEvent)}let t=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new Wl(this.value,t)),this._events.next(new ii(this.status,t)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),n.onlySelf||this._parent?.updateValueAndValidity(U(E({},n),{sourceControl:t}))}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?$s:Us}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n,t){if(this.asyncValidator){this.status=oi,this._hasOwnPendingAsyncValidator={emitEvent:t!==!1,shouldHaveEmitted:n!==!1};let r=BE(this.asyncValidator(this));this._asyncValidationSubscription=r.subscribe(o=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(o,{emitEvent:t,shouldHaveEmitted:n})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let n=(this._hasOwnPendingAsyncValidator?.emitEvent||this._hasOwnPendingAsyncValidator?.shouldHaveEmitted)??!1;return this._hasOwnPendingAsyncValidator=null,n}return!1}setErrors(n,t={}){this.errors=n,this._updateControlsErrors(t.emitEvent!==!1,this,t.shouldHaveEmitted)}get(n){let t=n;return t==null||(Array.isArray(t)||(t=t.split(".")),t.length===0)?null:t.reduce((r,o)=>r&&r._find(o),this)}getError(n,t){let r=t?this.get(t):this;return r?.errors?r.errors[n]:null}hasError(n,t){return!!this.getError(n,t)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n,t,r){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),(n||r)&&this._events.next(new ii(this.status,t)),this._parent&&this._parent._updateControlsErrors(n,t,r)}_initObservables(){this.valueChanges=new $,this.statusChanges=new $}_calculateStatus(){return this._allControlsDisabled()?$s:this.errors?Ul:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(oi)?oi:this._anyControlsHaveStatus(Ul)?Ul:Us}_anyControlsHaveStatus(n){return this._anyControls(t=>t.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n,t){let r=!this._anyControlsDirty(),o=this.pristine!==r;this.pristine=r,n.onlySelf||this._parent?._updatePristine(n,t),o&&this._events.next(new Gs(this.pristine,t))}_updateTouched(n={},t){this.touched=this._anyControlsTouched(),this._events.next(new Ws(this.touched,t)),n.onlySelf||this._parent?._updateTouched(n,t)}_onDisabledChange=[];_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){nu(n)&&n.updateOn!=null&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){return!n&&!!this._parent?.dirty&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=dR(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=fR(this._rawAsyncValidators)}},Kl=class extends Zl{constructor(n,t,r){super(YE(t),ZE(r,t)),this.controls=n,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(n,t){return this.controls[n]?this.controls[n]:(this.controls[n]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(n,t,r={}){this.registerControl(n,t),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}removeControl(n,t={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}setControl(n,t,r={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],t&&this.registerControl(n,t),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,t={}){pR(this,!0,n),Object.keys(n).forEach(r=>{hR(this,!0,r),this.controls[r].setValue(n[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(n,t={}){n!=null&&(Object.keys(n).forEach(r=>{let o=this.controls[r];o&&o.patchValue(n[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(n={},t={}){this._forEachChild((r,o)=>{r.reset(n?n[o]:null,U(E({},t),{onlySelf:!0}))}),this._updatePristine(t,this),this._updateTouched(t,this),this.updateValueAndValidity(t),t?.emitEvent!==!1&&this._events.next(new Yl(this))}getRawValue(){return this._reduceChildren({},(n,t,r)=>(n[r]=t.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(t,r)=>r._syncPendingControls()?!0:t);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(t=>{let r=this.controls[t];r&&n(r,t)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(let[t,r]of Object.entries(this.controls))if(this.contains(t)&&n(r))return!0;return!1}_reduceValue(){let n={};return this._reduceChildren(n,(t,r,o)=>((r.enabled||this.disabled)&&(t[o]=r.value),t))}_reduceChildren(n,t){let r=n;return this._forEachChild((o,i)=>{r=t(r,o,i)}),r}_allControlsDisabled(){for(let n of Object.keys(this.controls))if(this.controls[n].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(n){return this.controls.hasOwnProperty(n)?this.controls[n]:null}};var si=new g("",{factory:()=>ru}),ru="always";function mR(e,n){return[...n.path,e]}function qs(e,n,t=ru){Kp(e,n),n.valueAccessor.writeValue(e.value),(e.disabled||t==="always")&&n.valueAccessor.setDisabledState?.(e.disabled),vR(e,n),_R(e,n),yR(e,n),gR(e,n)}function Xl(e,n,t=!0){let r=()=>{};n?.valueAccessor?.registerOnChange(r),n?.valueAccessor?.registerOnTouched(r),Jl(e,n),e&&(n._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(()=>{}))}function Ql(e,n){e.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(n)})}function gR(e,n){if(n.valueAccessor.setDisabledState){let t=r=>{n.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(t),n._registerOnDestroy(()=>{e._unregisterOnDisabledChange(t)})}}function Kp(e,n){let t=WE(e);n.validator!==null?e.setValidators(SE(t,n.validator)):typeof t=="function"&&e.setValidators([t]);let r=qE(e);n.asyncValidator!==null?e.setAsyncValidators(SE(r,n.asyncValidator)):typeof r=="function"&&e.setAsyncValidators([r]);let o=()=>e.updateValueAndValidity();Ql(n._rawValidators,o),Ql(n._rawAsyncValidators,o)}function Jl(e,n){let t=!1;if(e!==null){if(n.validator!==null){let o=WE(e);if(Array.isArray(o)&&o.length>0){let i=o.filter(s=>s!==n.validator);i.length!==o.length&&(t=!0,e.setValidators(i))}}if(n.asyncValidator!==null){let o=qE(e);if(Array.isArray(o)&&o.length>0){let i=o.filter(s=>s!==n.asyncValidator);i.length!==o.length&&(t=!0,e.setAsyncValidators(i))}}}let r=()=>{};return Ql(n._rawValidators,r),Ql(n._rawAsyncValidators,r),t}function vR(e,n){n.valueAccessor.registerOnChange(t=>{e._pendingValue=t,e._pendingChange=!0,e._pendingDirty=!0,e.updateOn==="change"&&KE(e,n)})}function yR(e,n){n.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,e.updateOn==="blur"&&e._pendingChange&&KE(e,n),e.updateOn!=="submit"&&e.markAsTouched()})}function KE(e,n){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function _R(e,n){let t=(r,o)=>{n.valueAccessor.writeValue(r),o&&n.viewToModelUpdate(r)};e.registerOnChange(t),n._registerOnDestroy(()=>{e._unregisterOnChange(t)})}function XE(e,n){e==null,Kp(e,n)}function bR(e,n){return Jl(e,n)}function QE(e,n){if(!e.hasOwnProperty("model"))return!1;let t=e.model;return t.isFirstChange()?!0:!Object.is(n,t.currentValue)}function DR(e){return Object.getPrototypeOf(e.constructor)===OE}function JE(e,n){e._syncPendingControls(),n.forEach(t=>{let r=t.control;r.updateOn==="submit"&&r._pendingChange&&(t.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}function eC(e,n){if(!n)return null;Array.isArray(n);let t,r,o;return n.forEach(i=>{i.constructor===kE?t=i:DR(i)?r=i:o=i}),o||r||t||null}function ER(e,n){let t=e.indexOf(n);t>-1&&e.splice(t,1)}var CR={provide:Gr,useExisting:Te(()=>wR)},zs=Promise.resolve(),wR=(()=>{class e extends Gr{callSetDisabledState;get submitted(){return ce(this.submittedReactive)}_submitted=Qe(()=>this.submittedReactive());submittedReactive=se(!1);_directives=new Set;form;ngSubmit=new $;options;constructor(t,r,o){super(),this.callSetDisabledState=o,this.form=new Kl({},Yp(t),Zp(r))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){zs.then(()=>{let r=this._findContainer(t.path);t.control=r.registerControl(t.name,t.control),qs(t.control,t,this.callSetDisabledState),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){zs.then(()=>{this._findContainer(t.path)?.removeControl(t.name),this._directives.delete(t)})}addFormGroup(t){zs.then(()=>{let r=this._findContainer(t.path),o=new Kl({});XE(o,t),r.registerControl(t.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){zs.then(()=>{this._findContainer(t.path)?.removeControl?.(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,r){zs.then(()=>{this.form.get(t.path).setValue(r)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submittedReactive.set(!0),JE(this.form,this._directives),this.ngSubmit.emit(t),this.form._events.next(new ql(this.control)),t?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}static \u0275fac=function(r){return new(r||e)(H(Qn,10),H(tu,10),H(si,8))};static \u0275dir=N({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup","",3,"formArray",""],["ng-form"],["","ngForm",""]],hostBindings:function(r,o){r&1&&zn("submit",function(s){return o.onSubmit(s)})("reset",function(){return o.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[Fe([CR]),W]})}return e})();function AE(e,n){let t=e.indexOf(n);t>-1&&e.splice(t,1)}function xE(e){return typeof e=="object"&&e!==null&&Object.keys(e).length===2&&"value"in e&&"disabled"in e}var tC=class extends Zl{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(n=null,t,r){super(YE(t),ZE(r,t)),this._applyFormState(n),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),nu(t)&&(t.nonNullable||t.initialValueIsDefault)&&(xE(n)?this.defaultValue=n.value:this.defaultValue=n)}setValue(n,t={}){this.value=this._pendingValue=n,this._onChange.length&&t.emitModelToViewChange!==!1&&this._onChange.forEach(r=>r(this.value,t.emitViewToModelChange!==!1)),this.updateValueAndValidity(t)}patchValue(n,t={}){this.setValue(n,t)}reset(n=this.defaultValue,t={}){this._applyFormState(n),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),t.overwriteDefaultValue&&(this.defaultValue=this.value),this._pendingChange=!1,t?.emitEvent!==!1&&this._events.next(new Yl(this))}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){AE(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){AE(this._onDisabledChange,n)}_forEachChild(n){}_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(n){xE(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}};var IR=e=>e instanceof tC;var SR={provide:Wr,useExisting:Te(()=>MR)},NE=Promise.resolve(),MR=(()=>{class e extends Wr{_changeDetectorRef;callSetDisabledState;control=new tC;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new $;constructor(t,r,o,i,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this._parent=t,this._setValidators(r),this._setAsyncValidators(o),this.valueAccessor=eC(this,i)}ngOnChanges(t){if(this._checkForErrors(),!this._registered||"name"in t){if(this._registered&&(this._checkName(),this.formDirective)){let r=t.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in t&&this._updateDisabled(t),QE(t,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(t){this.viewModel=t,this.update.emit(t)}_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(){qs(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(t){NE.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(t){let r=t.isDisabled.currentValue,o=r!==0&&re(r);NE.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(t){return this._parent?mR(t,this._parent):[t]}static \u0275fac=function(r){return new(r||e)(H(Gr,9),H(Qn,10),H(tu,10),H(eu,10),H(kr,8),H(si,8))};static \u0275dir=N({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:[Fe([SR]),W,He]})}return e})();var TR={provide:eu,useExisting:Te(()=>AR),multi:!0},AR=(()=>{class e extends OE{writeValue(t){let r=t??"";this.setProperty("value",r)}registerOnChange(t){this.onChange=r=>{t(r==""?null:parseFloat(r))}}static \u0275fac=(()=>{let t;return function(o){return(t||(t=Ae(e)))(o||e)}})();static \u0275dir=N({type:e,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(r,o){r&1&&zn("input",function(s){return o.onChange(s.target.value)})("blur",function(){return o.onTouched()})},standalone:!1,features:[Fe([TR]),W]})}return e})();var xR=(()=>{class e extends Gr{callSetDisabledState;get submitted(){return ce(this._submittedReactive)}set submitted(t){this._submittedReactive.set(t)}_submitted=Qe(()=>this._submittedReactive());_submittedReactive=se(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];constructor(t,r,o){super(),this.callSetDisabledState=o,this._setValidators(t),this._setAsyncValidators(r)}ngOnChanges(t){this.onChanges(t)}ngOnDestroy(){this.onDestroy()}onChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}onDestroy(){this.form&&(Jl(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get path(){return[]}addControl(t){let r=this.form.get(t.path);return qs(r,t,this.callSetDisabledState),r.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),r}getControl(t){return this.form.get(t.path)}removeControl(t){Xl(t.control||null,t,!1),ER(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}getFormArray(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}updateModel(t,r){this.form.get(t.path).setValue(r)}onReset(){this.resetForm()}resetForm(t=void 0,r={}){this.form.reset(t,r),this._submittedReactive.set(!1)}onSubmit(t){return this.submitted=!0,JE(this.form,this.directives),this.ngSubmit.emit(t),this.form._events.next(new ql(this.control)),t?.target?.method==="dialog"}_updateDomValue(){this.directives.forEach(t=>{let r=t.control,o=this.form.get(t.path);r!==o&&(Xl(r||null,t),IR(o)&&(qs(o,t,this.callSetDisabledState),t.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){let r=this.form.get(t.path);XE(r,t),r.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){let r=this.form?.get(t.path);r&&bR(r,t)&&r.updateValueAndValidity({emitEvent:!1})}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm?._registerOnCollectionChange(()=>{})}_updateValidators(){Kp(this.form,this),this._oldForm&&Jl(this._oldForm,this)}_checkFormPresent(){this.form}static \u0275fac=function(r){return new(r||e)(H(Qn,10),H(tu,10),H(si,8))};static \u0275dir=N({type:e,features:[W,He]})}return e})();var nC=new g(""),NR={provide:Wr,useExisting:Te(()=>RR)},RR=(()=>{class e extends Wr{_ngModelWarningConfig;callSetDisabledState;viewModel;form;set isDisabled(t){}model;update=new $;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(t,r,o,i,s){super(),this._ngModelWarningConfig=i,this.callSetDisabledState=s,this._setValidators(t),this._setAsyncValidators(r),this.valueAccessor=eC(this,o)}ngOnChanges(t){if(this._isControlChanged(t)){let r=t.form.previousValue;r&&Xl(r,this,!1),qs(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}QE(t,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Xl(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_isControlChanged(t){return t.hasOwnProperty("form")}static \u0275fac=function(r){return new(r||e)(H(Qn,10),H(tu,10),H(eu,10),H(nC,8),H(si,8))};static \u0275dir=N({type:e,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],standalone:!1,features:[Fe([NR]),W,He]})}return e})();var OR={provide:Gr,useExisting:Te(()=>kR)},kR=(()=>{class e extends xR{form=null;ngSubmit=new $;get control(){return this.form}static \u0275fac=(()=>{let t;return function(o){return(t||(t=Ae(e)))(o||e)}})();static \u0275dir=N({type:e,selectors:[["","formGroup",""]],hostBindings:function(r,o){r&1&&zn("submit",function(s){return o.onSubmit(s)})("reset",function(){return o.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[Fe([OR]),W]})}return e})();function rC(e){return typeof e=="number"?e:parseFloat(e)}var ou=(()=>{class e{_validator=$l;_onChange;_enabled;ngOnChanges(t){if(this.inputName in t){let r=this.normalizeInput(t[this.inputName].currentValue);this._enabled=this.enabled(r),this._validator=this._enabled?this.createValidator(r):$l,this._onChange?.()}}validate(t){return this._validator(t)}registerOnValidatorChange(t){this._onChange=t}enabled(t){return t!=null}static \u0275fac=function(r){return new(r||e)};static \u0275dir=N({type:e,features:[He]})}return e})(),FR={provide:Qn,useExisting:Te(()=>PR),multi:!0},PR=(()=>{class e extends ou{max;inputName="max";normalizeInput=t=>rC(t);createValidator=t=>PE(t);static \u0275fac=(()=>{let t;return function(o){return(t||(t=Ae(e)))(o||e)}})();static \u0275dir=N({type:e,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(r,o){r&2&&ke("max",o._enabled?o.max:null)},inputs:{max:"max"},standalone:!1,features:[Fe([FR]),W]})}return e})(),LR={provide:Qn,useExisting:Te(()=>VR),multi:!0},VR=(()=>{class e extends ou{min;inputName="min";normalizeInput=t=>rC(t);createValidator=t=>FE(t);static \u0275fac=(()=>{let t;return function(o){return(t||(t=Ae(e)))(o||e)}})();static \u0275dir=N({type:e,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(r,o){r&2&&ke("min",o._enabled?o.min:null)},inputs:{min:"min"},standalone:!1,features:[Fe([LR]),W]})}return e})(),jR={provide:Qn,useExisting:Te(()=>BR),multi:!0};var BR=(()=>{class e extends ou{required;inputName="required";normalizeInput=re;createValidator=t=>LE;enabled(t){return t}static \u0275fac=(()=>{let t;return function(o){return(t||(t=Ae(e)))(o||e)}})();static \u0275dir=N({type:e,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(r,o){r&2&&ke("required",o._enabled?"":null)},inputs:{required:"required"},standalone:!1,features:[Fe([jR]),W]})}return e})();var HR={provide:Qn,useExisting:Te(()=>UR),multi:!0},UR=(()=>{class e extends ou{pattern;inputName="pattern";normalizeInput=t=>t;createValidator=t=>VE(t);static \u0275fac=(()=>{let t;return function(o){return(t||(t=Ae(e)))(o||e)}})();static \u0275dir=N({type:e,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(r,o){r&2&&ke("pattern",o._enabled?o.pattern:null)},inputs:{pattern:"pattern"},standalone:!1,features:[Fe([HR]),W]})}return e})();var oC=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=q({type:e});static \u0275inj=G({})}return e})();var NY=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:si,useValue:t.callSetDisabledState??ru}]}}static \u0275fac=function(r){return new(r||e)};static \u0275mod=q({type:e});static \u0275inj=G({imports:[oC]})}return e})(),RY=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:nC,useValue:t.warnOnNgModelWithFormControl??"always"},{provide:si,useValue:t.callSetDisabledState??ru}]}}static \u0275fac=function(r){return new(r||e)};static \u0275mod=q({type:e});static \u0275inj=G({imports:[oC]})}return e})();export{j as a,R as b,C as c,ar as d,_u as e,Eu as f,Cu as g,vi as h,pe as i,Zt as j,MC as k,X as l,Su as m,ro as n,yi as o,_i as p,bi as q,PC as r,Mu as s,Ce as t,oo as u,Di as v,LC as w,Tu as x,In as y,Ge as z,VC as A,ur as B,BC as C,Au as D,Nu as E,Ci as F,jt as G,so as H,Kt as I,Sn as J,Te as K,y as L,G as M,g as N,T as O,f as P,ug as Q,dg as R,Cg as S,wg as T,O as U,A as V,We as W,$ as X,M as Y,se as Z,wr as _,He as $,Ae as aa,xf as ba,B as ca,on as da,be as ea,RI as fa,OI as ga,kI as ha,FI as ia,qf as ja,Rt as ka,Ye as la,Se as ma,Ke as na,H as oa,KS as pa,rt as qa,ae as ra,q as sa,N as ta,Vc as ua,W as va,Po as wa,u_ as xa,jo as ya,ot as za,bT as Aa,DT as Ba,E_ as Ca,ke as Da,CT as Ea,wT as Fa,IT as Ga,ST as Ha,MT as Ia,TT as Ja,C_ as Ka,xo as La,os as Ma,w_ as Na,cn as Oa,ln as Pa,Xe as Qa,Ch as Ra,wh as Sa,S_ as Ta,kT as Ua,is as Va,zn as Wa,T_ as Xa,jT as Ya,Ot as Za,xe as _a,x_ as $a,Ho as ab,as as bb,cs as cb,N_ as db,R_ as eb,UT as fb,$T as gb,Hc as hb,De as ib,n0 as jb,ls as kb,h0 as lb,G_ as mb,Ih as nb,W_ as ob,Y_ as pb,g0 as qb,Z_ as rb,X_ as sb,v0 as tb,y0 as ub,_0 as vb,Fe as wb,C0 as xb,w0 as yb,I0 as zb,S0 as Ab,M0 as Bb,T0 as Cb,x0 as Db,N0 as Eb,R0 as Fb,O0 as Gb,us as Hb,ce as Ib,Qe as Jb,Th as Kb,P0 as Lb,Wc as Mb,g8 as Nb,v8 as Ob,y8 as Pb,_8 as Qb,b8 as Rb,D8 as Sb,E8 as Tb,C8 as Ub,w8 as Vb,kr as Wb,Yc as Xb,re as Yb,vb as Zb,S8 as _b,FA as $b,PA as ac,jA as bc,BA as cc,jb as dc,ex as ec,Wn as fc,Es as gc,pl as hc,Tx as ic,Ax as jc,Cs as kc,ie as lc,ap as mc,Lr as nc,$e as oc,gt as pc,Yo as qc,Ft as rc,mt as sc,hn as tc,RD as uc,Ts as vc,Al as wc,st as xc,iN as yc,As as zc,xs as Ac,Hr as Bc,PD as Cc,dN as Dc,fN as Ec,Ep as Fc,Cp as Gc,qt as Hc,Qo as Ic,Zn as Jc,Jo as Kc,xl as Lc,iq as Mc,Rs as Nc,Ur as Oc,Yn as Pc,ti as Qc,Ap as Rc,zr as Sc,ks as Tc,Np as Uc,Fl as Vc,ni as Wc,Rp as Xc,Fs as Yc,Mp as Zc,yN as _c,Ps as $c,ws as ad,Is as bd,qo as cd,Ox as dd,yl as ed,_l as fd,up as gd,a4 as hd,bD as id,Dl as jd,El as kd,Yx as ld,Kx as md,fp as nd,kp as od,Fp as pd,JD as qd,h6 as rd,p6 as sd,v6 as td,IN as ud,pn as vd,hp as wd,pp as xd,mp as yd,t5 as zd,Qx as Ad,Jx as Bd,p5 as Cd,jl as Dd,NN as Ed,iE as Fd,H6 as Gd,U6 as Hd,$6 as Id,z6 as Jd,q6 as Kd,vt as Ld,js as Md,jp as Nd,l9 as Od,hE as Pd,pE as Qd,$N as Rd,gE as Sd,U9 as Td,$9 as Ud,z9 as Vd,G9 as Wd,CE as Xd,dY as Yd,fY as Zd,eu as _d,kE as $d,Qn as ae,IE as be,Gr as ce,Wr as de,AY as ee,wR as fe,tC as ge,MR as he,AR as ie,RR as je,kR as ke,PR as le,VR as me,BR as ne,UR as oe,NY as pe,RY as qe};
|