@letscooee/web-sdk 10.0.5 → 10.2.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/dist/chunk-EZUOM3MU.js
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
var hm=Object.create;var Is=Object.defineProperty,pm=Object.defineProperties,gm=Object.getOwnPropertyDescriptor,mm=Object.getOwnPropertyDescriptors,ym=Object.getOwnPropertyNames,Jr=Object.getOwnPropertySymbols,vm=Object.getPrototypeOf,Cs=Object.prototype.hasOwnProperty,Iu=Object.prototype.propertyIsEnumerable;var ws=(e,t,n)=>t in e?Is(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Y=(e,t)=>{for(var n in t||={})Cs.call(t,n)&&ws(e,n,t[n]);if(Jr)for(var n of Jr(t))Iu.call(t,n)&&ws(e,n,t[n]);return e},X=(e,t)=>pm(e,mm(t));var nC=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,n)=>(typeof require<"u"?require:t)[n]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var rC=(e,t)=>{var n={};for(var r in e)Cs.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Jr)for(var r of Jr(e))t.indexOf(r)<0&&Iu.call(e,r)&&(n[r]=e[r]);return n};var oC=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Dm=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of ym(t))!Cs.call(e,o)&&o!==n&&Is(e,o,{get:()=>t[o],enumerable:!(r=gm(t,o))||r.enumerable});return e};var iC=(e,t,n)=>(n=e!=null?hm(vm(e)):{},Dm(t||!e||!e.__esModule?Is(n,"default",{value:e,enumerable:!0}):n,e));var sC=(e,t,n)=>ws(e,typeof t!="symbol"?t+"":t,n);var bs;function Xr(){return bs}function He(e){let t=bs;return bs=e,t}var Cu=Symbol("NotFound");function cn(e){return e===Cu||e?.name==="\u0275NotFound"}function xs(e,t){return Object.is(e,t)}var te=null,eo=!1,Ns=1,_m=null,re=Symbol("SIGNAL");function I(e){let t=te;return te=e,t}function no(){return te}var Rt={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function ln(e){if(eo)throw new Error("");if(te===null)return;te.consumerOnSignalRead(e);let t=te.producersTail;if(t!==void 0&&t.producer===e)return;let n,r=te.recomputing;if(r&&(n=t!==void 0?t.nextProducer:te.producers,n!==void 0&&n.producer===e)){te.producersTail=n,n.lastReadVersion=e.version;return}let o=e.consumersTail;if(o!==void 0&&o.consumer===te&&(!r||wm(o,te)))return;let i=fn(te),s={producer:e,consumer:te,nextProducer:n,prevConsumer:o,lastReadVersion:e.version,nextConsumer:void 0};te.producersTail=s,t!==void 0?t.nextProducer=s:te.producers=s,i&&Su(e,s)}function bu(){Ns++}function Rs(e){if(!(fn(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===Ns)){if(!e.producerMustRecompute(e)&&!dn(e)){Ms(e);return}e.producerRecomputeValue(e),Ms(e)}}function As(e){if(e.consumers===void 0)return;let t=eo;eo=!0;try{for(let n=e.consumers;n!==void 0;n=n.nextConsumer){let r=n.consumer;r.dirty||Em(r)}}finally{eo=t}}function Os(){return te?.consumerAllowSignalWrites!==!1}function Em(e){e.dirty=!0,As(e),e.consumerMarkedDirty?.(e)}function Ms(e){e.dirty=!1,e.lastCleanEpoch=Ns}function At(e){return e&&(e.producersTail=void 0,e.recomputing=!0),I(e)}function un(e,t){if(I(t),!e)return;e.recomputing=!1;let n=e.producersTail,r=n!==void 0?n.nextProducer:e.producers;if(r!==void 0){if(fn(e))do r=Ps(r);while(r!==void 0);n!==void 0?n.nextProducer=void 0:e.producers=void 0}}function dn(e){for(let t=e.producers;t!==void 0;t=t.nextProducer){let n=t.producer,r=t.lastReadVersion;if(r!==n.version||(Rs(n),r!==n.version))return!0}return!1}function Ot(e){if(fn(e)){let t=e.producers;for(;t!==void 0;)t=Ps(t)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function Su(e,t){let n=e.consumersTail,r=fn(e);if(n!==void 0?(t.nextConsumer=n.nextConsumer,n.nextConsumer=t):(t.nextConsumer=void 0,e.consumers=t),t.prevConsumer=n,e.consumersTail=t,!r)for(let o=e.producers;o!==void 0;o=o.nextProducer)Su(o.producer,o)}function Ps(e){let t=e.producer,n=e.nextProducer,r=e.nextConsumer,o=e.prevConsumer;if(e.nextConsumer=void 0,e.prevConsumer=void 0,r!==void 0?r.prevConsumer=o:t.consumersTail=o,o!==void 0)o.nextConsumer=r;else if(t.consumers=r,!fn(t)){let i=t.producers;for(;i!==void 0;)i=Ps(i)}return n}function fn(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function ks(e){_m?.(e)}function wm(e,t){let n=t.producersTail;if(n!==void 0){let r=t.producers;do{if(r===e)return!0;if(r===n)break;r=r.nextProducer}while(r!==void 0)}return!1}function ro(e,t){let n=Object.create(Im);n.computation=e,t!==void 0&&(n.equal=t);let r=()=>{if(Rs(n),ln(n),n.value===to)throw n.error;return n.value};return r[re]=n,ks(n),r}var Ss=Symbol("UNSET"),Ts=Symbol("COMPUTING"),to=Symbol("ERRORED"),Im=X(Y({},Rt),{value:Ss,dirty:!0,error:null,equal:xs,kind:"computed",producerMustRecompute(e){return e.value===Ss||e.value===Ts},producerRecomputeValue(e){if(e.value===Ts)throw new Error("");let t=e.value;e.value=Ts;let n=At(e),r,o=!1;try{r=e.computation(),I(null),o=t!==Ss&&t!==to&&r!==to&&e.equal(t,r)}catch(i){r=to,e.error=i}finally{un(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function Cm(){throw new Error}var Tu=Cm;function Mu(e){Tu(e)}function Fs(e){Tu=e}var bm=null;function Ls(e,t){let n=Object.create(oo);n.value=e,t!==void 0&&(n.equal=t);let r=()=>xu(n);return r[re]=n,ks(n),[r,s=>hn(n,s),s=>Nu(n,s)]}function xu(e){return ln(e),e.value}function hn(e,t){Os()||Mu(e),e.equal(e.value,t)||(e.value=t,Sm(e))}function Nu(e,t){Os()||Mu(e),hn(e,t(e.value))}var oo=X(Y({},Rt),{equal:xs,value:void 0,kind:"signal"});function Sm(e){e.version++,bu(),As(e),bm?.(e)}function b(e){return typeof e=="function"}function io(e){let n=e(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var so=io(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:
|
|
2
|
-
${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
|
|
3
|
-
`)}`:"",this.name="UnsubscriptionError",this.errors=n});function Pt(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var P=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(b(r))try{r()}catch(i){t=i instanceof so?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Ru(i)}catch(s){t=t??[],s instanceof so?t=[...t,...s.errors]:t.push(s)}}if(t)throw new so(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Ru(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}}_hasParent(t){let{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){let{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&Pt(n,t)}remove(t){let{_finalizers:n}=this;n&&Pt(n,t),t instanceof e&&t._removeParent(this)}};P.EMPTY=(()=>{let e=new P;return e.closed=!0,e})();var js=P.EMPTY;function ao(e){return e instanceof P||e&&"closed"in e&&b(e.remove)&&b(e.add)&&b(e.unsubscribe)}function Ru(e){b(e)?e():e.unsubscribe()}var Me={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var pn={setTimeout(e,t,...n){let{delegate:r}=pn;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=pn;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function co(e){pn.setTimeout(()=>{let{onUnhandledError:t}=Me;if(t)t(e);else throw e})}function Qn(){}var Au=Vs("C",void 0,void 0);function Ou(e){return Vs("E",void 0,e)}function Pu(e){return Vs("N",e,void 0)}function Vs(e,t,n){return{kind:e,value:t,error:n}}var kt=null;function gn(e){if(Me.useDeprecatedSynchronousErrorHandling){let t=!kt;if(t&&(kt={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=kt;if(kt=null,n)throw r}}else e()}function ku(e){Me.useDeprecatedSynchronousErrorHandling&&kt&&(kt.errorThrown=!0,kt.error=e)}var Ft=class extends P{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,ao(t)&&t.add(this)):this.destination=xm}static create(t,n,r){return new mn(t,n,r)}next(t){this.isStopped?Hs(Pu(t),this):this._next(t)}error(t){this.isStopped?Hs(Ou(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Hs(Au,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},Tm=Function.prototype.bind;function Bs(e,t){return Tm.call(e,t)}var $s=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){lo(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){lo(r)}else lo(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){lo(n)}}},mn=class extends Ft{constructor(t,n,r){super();let o;if(b(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&Me.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Bs(t.next,i),error:t.error&&Bs(t.error,i),complete:t.complete&&Bs(t.complete,i)}):o=t}this.destination=new $s(o)}};function lo(e){Me.useDeprecatedSynchronousErrorHandling?ku(e):co(e)}function Mm(e){throw e}function Hs(e,t){let{onStoppedNotification:n}=Me;n&&pn.setTimeout(()=>n(e,t))}var xm={closed:!0,next:Qn,error:Mm,complete:Qn};var yn=typeof Symbol=="function"&&Symbol.observable||"@@observable";function dt(e){return e}function Fu(e){return e.length===0?dt:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var N=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=Rm(n)?n:new mn(n,r,o);return gn(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return r=Lu(r),new r((o,i)=>{let s=new mn({next:a=>{try{n(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[yn](){return this}pipe(...n){return Fu(n)(this)}toPromise(n){return n=Lu(n),new n((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function Lu(e){var t;return(t=e??Me.Promise)!==null&&t!==void 0?t:Promise}function Nm(e){return e&&b(e.next)&&b(e.error)&&b(e.complete)}function Rm(e){return e&&e instanceof Ft||Nm(e)&&ao(e)}function Am(e){return b(e?.lift)}function V(e){return t=>{if(Am(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function B(e,t,n,r,o){return new Us(e,t,n,r,o)}var Us=class extends Ft{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(c){t.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){t.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};var vn={schedule(e){let t=requestAnimationFrame,n=cancelAnimationFrame,{delegate:r}=vn;r&&(t=r.requestAnimationFrame,n=r.cancelAnimationFrame);let o=t(i=>{n=void 0,e(i)});return new P(()=>n?.(o))},requestAnimationFrame(...e){let{delegate:t}=vn;return(t?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){let{delegate:t}=vn;return(t?.cancelAnimationFrame||cancelAnimationFrame)(...e)},delegate:void 0};var ju=io(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var x=(()=>{class e extends N{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new uo(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new ju}next(n){gn(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){gn(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){gn(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){let{hasError:r,isStopped:o,observers:i}=this;return r||o?js:(this.currentObservers=null,i.push(n),new P(()=>{this.currentObservers=null,Pt(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new N;return n.source=this,n}}return e.create=(t,n)=>new uo(t,n),e})(),uo=class extends x{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,t)}error(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,t)}complete(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t)}_subscribe(t){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&r!==void 0?r:js}};var Lt=class extends x{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}};var Kn={now(){return(Kn.delegate||Date).now()},delegate:void 0};var zs=class extends x{constructor(t=1/0,n=1/0,r=Kn){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!t.closed;s+=r?1:2)t.next(i[s]);return this._checkFinalizedStatuses(t),n}_trimBuffer(){let{_bufferSize:t,_timestampProvider:n,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*t;if(t<1/0&&i<r.length&&r.splice(0,r.length-i),!o){let s=n.now(),a=0;for(let c=1;c<r.length&&r[c]<=s;c+=2)a=c;a&&r.splice(0,a+1)}}};var fo=class extends P{constructor(t,n){super()}schedule(t,n=0){return this}};var Jn={setInterval(e,t,...n){let{delegate:r}=Jn;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=Jn;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var Dn=class extends fo{constructor(t,n){super(t,n),this.scheduler=t,this.work=n,this.pending=!1}schedule(t,n=0){var r;if(this.closed)return this;this.state=t;let o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,n)),this.pending=!0,this.delay=n,this.id=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(i,this.id,n),this}requestAsyncId(t,n,r=0){return Jn.setInterval(t.flush.bind(t,this),r)}recycleAsyncId(t,n,r=0){if(r!=null&&this.delay===r&&this.pending===!1)return n;n!=null&&Jn.clearInterval(n)}execute(t,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(t,n);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,n){let r=!1,o;try{this.work(t)}catch(i){r=!0,o=i||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){let{id:t,scheduler:n}=this,{actions:r}=n;this.work=this.state=this.scheduler=null,this.pending=!1,Pt(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var _n=class e{constructor(t,n=e.now){this.schedulerActionCtor=t,this.now=n}schedule(t,n=0,r){return new this.schedulerActionCtor(this,t).schedule(r,n)}};_n.now=Kn.now;var En=class extends _n{constructor(t,n=_n.now){super(t,n),this.actions=[],this._active=!1}flush(t){let{actions:n}=this;if(this._active){n.push(t);return}let r;this._active=!0;do if(r=t.execute(t.state,t.delay))break;while(t=n.shift());if(this._active=!1,r){for(;t=n.shift();)t.unsubscribe();throw r}}};var Xn=new En(Dn),Vu=Xn;var ho=class extends Dn{constructor(t,n){super(t,n),this.scheduler=t,this.work=n}requestAsyncId(t,n,r=0){return r!==null&&r>0?super.requestAsyncId(t,n,r):(t.actions.push(this),t._scheduled||(t._scheduled=vn.requestAnimationFrame(()=>t.flush(void 0))))}recycleAsyncId(t,n,r=0){var o;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(t,n,r);let{actions:i}=t;n!=null&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==n&&(vn.cancelAnimationFrame(n),t._scheduled=void 0)}};var po=class extends En{flush(t){this._active=!0;let n=this._scheduled;this._scheduled=void 0;let{actions:r}=this,o;t=t||r.shift();do if(o=t.execute(t.state,t.delay))break;while((t=r[0])&&t.id===n&&r.shift());if(this._active=!1,o){for(;(t=r[0])&&t.id===n&&r.shift();)t.unsubscribe();throw o}}};var go=new po(ho);var mo=new N(e=>e.complete());function yo(e){return e&&b(e.schedule)}function Bu(e){return e[e.length-1]}function ft(e){return yo(Bu(e))?e.pop():void 0}function Hu(e,t){return typeof Bu(e)=="number"?e.pop():t}function Uu(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(u){try{l(r.next(u))}catch(d){s(d)}}function c(u){try{l(r.throw(u))}catch(d){s(d)}}function l(u){u.done?i(u.value):o(u.value).then(a,c)}l((r=r.apply(e,t||[])).next())})}function $u(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function jt(e){return this instanceof jt?(this.v=e,this):new jt(e)}function zu(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(f){return function(g){return Promise.resolve(g).then(f,d)}}function a(f,g){r[f]&&(o[f]=function(v){return new Promise(function(C,T){i.push([f,v,C,T])>1||c(f,v)})},g&&(o[f]=g(o[f])))}function c(f,g){try{l(r[f](g))}catch(v){h(i[0][3],v)}}function l(f){f.value instanceof jt?Promise.resolve(f.value.v).then(u,d):h(i[0][2],f)}function u(f){c("next",f)}function d(f){c("throw",f)}function h(f,g){f(g),i.shift(),i.length&&c(i[0][0],i[0][1])}}function Gu(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof $u=="function"?$u(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,c){s=e[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(l){i({value:l,done:a})},s)}}var wn=e=>e&&typeof e.length=="number"&&typeof e!="function";function vo(e){return b(e?.then)}function Do(e){return b(e[yn])}function _o(e){return Symbol.asyncIterator&&b(e?.[Symbol.asyncIterator])}function Eo(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 Om(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var wo=Om();function Io(e){return b(e?.[wo])}function Co(e){return zu(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield jt(n.read());if(o)return yield jt(void 0);yield yield jt(r)}}finally{n.releaseLock()}})}function bo(e){return b(e?.getReader)}function U(e){if(e instanceof N)return e;if(e!=null){if(Do(e))return Pm(e);if(wn(e))return km(e);if(vo(e))return Fm(e);if(_o(e))return Wu(e);if(Io(e))return Lm(e);if(bo(e))return jm(e)}throw Eo(e)}function Pm(e){return new N(t=>{let n=e[yn]();if(b(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function km(e){return new N(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function Fm(e){return new N(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,co)})}function Lm(e){return new N(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function Wu(e){return new N(t=>{Vm(e,t).catch(n=>t.error(n))})}function jm(e){return Wu(Co(e))}function Vm(e,t){var n,r,o,i;return Uu(this,void 0,void 0,function*(){try{for(n=Gu(e);r=yield n.next(),!r.done;){let s=r.value;if(t.next(s),t.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})}function me(e,t,n,r=0,o=!1){let i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function So(e,t=0){return V((n,r)=>{n.subscribe(B(r,o=>me(r,e,()=>r.next(o),t),()=>me(r,e,()=>r.complete(),t),o=>me(r,e,()=>r.error(o),t)))})}function To(e,t=0){return V((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function qu(e,t){return U(e).pipe(To(t),So(t))}function Zu(e,t){return U(e).pipe(To(t),So(t))}function Yu(e,t){return new N(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function Qu(e,t){return new N(n=>{let r;return me(n,t,()=>{r=e[wo](),me(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>b(r?.return)&&r.return()})}function Mo(e,t){if(!e)throw new Error("Iterable cannot be null");return new N(n=>{me(n,t,()=>{let r=e[Symbol.asyncIterator]();me(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Ku(e,t){return Mo(Co(e),t)}function Ju(e,t){if(e!=null){if(Do(e))return qu(e,t);if(wn(e))return Yu(e,t);if(vo(e))return Zu(e,t);if(_o(e))return Mo(e,t);if(Io(e))return Qu(e,t);if(bo(e))return Ku(e,t)}throw Eo(e)}function In(e,t){return t?Ju(e,t):U(e)}function Xu(...e){let t=ft(e);return In(e,t)}function ed(e){return e instanceof Date&&!isNaN(e)}function qe(e,t){return V((n,r)=>{let o=0;n.subscribe(B(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:Bm}=Array;function Hm(e,t){return Bm(t)?e(...t):e(t)}function td(e){return qe(t=>Hm(e,t))}function nd(e,t,n,r,o,i,s,a){let c=[],l=0,u=0,d=!1,h=()=>{d&&!c.length&&!l&&t.complete()},f=v=>l<r?g(v):c.push(v),g=v=>{i&&t.next(v),l++;let C=!1;U(n(v,u++)).subscribe(B(t,T=>{o?.(T),i?f(T):t.next(T)},()=>{C=!0},void 0,()=>{if(C)try{for(l--;c.length&&l<r;){let T=c.shift();s?me(t,s,()=>g(T)):g(T)}h()}catch(T){t.error(T)}}))};return e.subscribe(B(t,f,()=>{d=!0,h()})),()=>{a?.()}}function er(e,t,n=1/0){return b(t)?er((r,o)=>qe((i,s)=>t(r,i,o,s))(U(e(r,o))),n):(typeof t=="number"&&(n=t),V((r,o)=>nd(r,o,e,n)))}function xo(e=1/0){return er(dt,e)}function rd(){return xo(1)}function Gs(...e){return rd()(In(e,ft(e)))}function $m(e){return new N(t=>{U(e()).subscribe(t)})}var Um=["addListener","removeListener"],zm=["addEventListener","removeEventListener"],Gm=["on","off"];function Ws(e,t,n,r){if(b(n)&&(r=n,n=void 0),r)return Ws(e,t,n).pipe(td(r));let[o,i]=Zm(e)?zm.map(s=>a=>e[s](t,a,n)):Wm(e)?Um.map(od(e,t)):qm(e)?Gm.map(od(e,t)):[];if(!o&&wn(e))return er(s=>Ws(s,t,n))(U(e));if(!o)throw new TypeError("Invalid event target");return new N(s=>{let a=(...c)=>s.next(1<c.length?c:c[0]);return o(a),()=>i(a)})}function od(e,t){return n=>r=>e[n](t,r)}function Wm(e){return b(e.addListener)&&b(e.removeListener)}function qm(e){return b(e.on)&&b(e.off)}function Zm(e){return b(e.addEventListener)&&b(e.removeEventListener)}function No(e=0,t,n=Vu){let r=-1;return t!=null&&(yo(t)?n=t:r=t),new N(o=>{let i=ed(e)?+e-n.now():e;i<0&&(i=0);let s=0;return n.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}function qs(e=0,t=Xn){return e<0&&(e=0),No(e,e,t)}function Ro(...e){let t=ft(e),n=Hu(e,1/0),r=e;return r.length?r.length===1?U(r[0]):xo(n)(In(r,t)):mo}function Zs(e,t){return V((n,r)=>{let o=0;n.subscribe(B(r,i=>e.call(t,i,o++)&&r.next(i)))})}function id(e){return V((t,n)=>{let r=!1,o=null,i=null,s=!1,a=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let l=o;o=null,n.next(l)}s&&n.complete()},c=()=>{i=null,s&&n.complete()};t.subscribe(B(n,l=>{r=!0,o=l,i||U(e(l)).subscribe(i=B(n,a,c))},()=>{s=!0,(!r||!i||i.closed)&&n.complete()}))})}function Ys(e,t=Xn){return id(()=>No(e,t))}function Qs(e){return e<=0?()=>mo:V((t,n)=>{let r=0;t.subscribe(B(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function sd(e,t=dt){return e=e??Ym,V((n,r)=>{let o,i=!0;n.subscribe(B(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function Ym(e,t){return e===t}function Qm(e){return Zs((t,n)=>e<=n)}function Ao(...e){let t=ft(e);return V((n,r)=>{(t?Gs(e,n,t):Gs(e,n)).subscribe(r)})}function Oo(e,t){return V((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(B(r,c=>{o?.unsubscribe();let l=0,u=i++;U(e(c,u)).subscribe(o=B(r,d=>r.next(t?t(c,d,u,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Cn(e){return V((t,n)=>{U(e).subscribe(B(n,()=>n.complete(),Qn)),!n.closed&&t.subscribe(n)})}function Ks(e,t,n){let r=b(e)||t||n?{next:e,error:t,complete:n}:e;return r?V((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(B(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 jo="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",m=class extends Error{code;constructor(t,n){super(mt(t,n)),this.code=t}};function Km(e){return`NG0${Math.abs(e)}`}function mt(e,t){return`${Km(e)}${t?": "+t:""}`}var ye=globalThis;function A(e){for(let t in e)if(e[t]===A)return t;throw Error("")}function ld(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function ht(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(ht).join(", ")}]`;if(e==null)return""+e;let t=e.overriddenName||e.name;if(t)return`${t}`;let n=e.toString();if(n==null)return""+n;let r=n.indexOf(`
|
|
4
|
-
`);return r>=0?n.slice(0,r):n}function Vo(e,t){return e?t?`${e} ${t}`:e:t||""}var Jm=A({__forward_ref__:A});function sr(e){return e.__forward_ref__=sr,e.toString=function(){return ht(this())},e}function q(e){return la(e)?e():e}function la(e){return typeof e=="function"&&e.hasOwnProperty(Jm)&&e.__forward_ref__===sr}function ud(e,t){e==null&&ua(t,e,null,"!=")}function ua(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(r==null?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}function w(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function yt(e){return{providers:e.providers||[],imports:e.imports||[]}}function Bo(e){return Xm(e,Ho)}function Xm(e,t){return e.hasOwnProperty(t)&&e[t]||null}function ey(e){let t=e?.[Ho]??null;return t||null}function Xs(e){return e&&e.hasOwnProperty(ko)?e[ko]:null}var Ho=A({\u0275prov:A}),ko=A({\u0275inj:A}),E=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,n){this._desc=t,this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=w({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function da(e){return e&&!!e.\u0275providers}var fa=A({\u0275cmp:A}),ha=A({\u0275dir:A}),pa=A({\u0275pipe:A});var rr=A({\u0275fac:A}),Ut=A({__NG_ELEMENT_ID__:A}),ad=A({__NG_ENV_ID__:A});function zt(e){return typeof e=="string"?e:e==null?"":String(e)}function Fo(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():zt(e)}var ga=A({ngErrorCode:A}),dd=A({ngErrorMessage:A}),nr=A({ngTokenPath:A});function ma(e,t){return fd("",-200,t)}function $o(e,t){throw new m(-201,!1)}function ty(e,t){e[nr]??=[];let n=e[nr],r;typeof t=="object"&&"multi"in t&&t?.multi===!0?(ud(t.provide,"Token with multi: true should have a provide property"),r=Fo(t.provide)):r=Fo(t),n[0]!==r&&e[nr].unshift(r)}function ny(e,t){let n=e[nr],r=e[ga],o=e[dd]||e.message;return e.message=oy(o,r,n,t),e}function fd(e,t,n){let r=new m(t,e);return r[ga]=t,r[dd]=e,n&&(r[nr]=n),r}function ry(e){return e[ga]}function oy(e,t,n=[],r=null){let o="";n&&n.length>1&&(o=` Path: ${n.join(" -> ")}.`);let i=r?` Source: ${r}.`:"";return mt(t,`${e}${i}${o}`)}var ea;function hd(){return ea}function oe(e){let t=ea;return ea=e,t}function ya(e,t,n){let r=Bo(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&8)return null;if(t!==void 0)return t;$o(e,"Injector")}var iy={},Vt=iy,ta="__NG_DI_FLAG__",na=class{injector;constructor(t){this.injector=t}retrieve(t,n){let r=Bt(n)||0;try{return this.injector.get(t,r&8?null:Vt,r)}catch(o){if(cn(o))return o;throw o}}};function sy(e,t=0){let n=Xr();if(n===void 0)throw new m(-203,!1);if(n===null)return ya(e,void 0,t);{let r=ay(t),o=n.retrieve(e,r);if(cn(o)){if(r.optional)return null;throw o}return o}}function M(e,t=0){return(hd()||sy)(q(e),t)}function p(e,t){return M(e,Bt(t))}function Bt(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function ay(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function ra(e){let t=[];for(let n=0;n<e.length;n++){let r=q(e[n]);if(Array.isArray(r)){if(r.length===0)throw new m(900,!1);let o,i=0;for(let s=0;s<r.length;s++){let a=r[s],c=cy(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(M(o,i))}else t.push(M(r))}return t}function va(e,t){return e[ta]=t,e.prototype[ta]=t,e}function cy(e){return e[ta]}function pt(e,t){let n=e.hasOwnProperty(rr);return n?e[rr]:null}function pd(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let o=e[r],i=t[r];if(n&&(o=n(o),i=n(i)),i!==o)return!1}return!0}function gd(e){return e.flat(Number.POSITIVE_INFINITY)}function Uo(e,t){e.forEach(n=>Array.isArray(n)?Uo(n,t):t(n))}function Da(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function ar(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function md(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(o===1)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;){let i=o-2;e[o]=e[i],o--}e[t]=n,e[t+1]=r}}function zo(e,t,n){let r=Sn(e,t);return r>=0?e[r|1]=n:(r=~r,md(e,r,t,n)),r}function Go(e,t){let n=Sn(e,t);if(n>=0)return e[n|1]}function Sn(e,t){return ly(e,t,1)}function ly(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=e[i<<n];if(t===s)return i<<n;s>t?o=i:r=i+1}return~(o<<n)}var Ne={},ie=[],vt=new E(""),_a=new E("",-1),Ea=new E(""),or=class{get(t,n=Vt){if(n===Vt){let o=fd("",-201);throw o.name="\u0275NotFound",o}return n}};function Dt(e){return e[fa]||null}function Wo(e){return e[ha]||null}function yd(e){return e[pa]||null}function qo(e){return{\u0275providers:e}}function vd(...e){return{\u0275providers:wa(!0,e),\u0275fromNgModule:!0}}function wa(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return Uo(t,s=>{let a=s;Lo(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Dd(o,i),n}function Dd(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];Ia(o,i=>{t(i,r)})}}function Lo(e,t,n,r){if(e=q(e),!e)return!1;let o=null,i=Xs(e),s=!i&&Dt(e);if(!i&&!s){let c=e.ngModule;if(i=Xs(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let l of c)Lo(l,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;try{Uo(i.imports,u=>{Lo(u,t,n,r)&&(l||=[],l.push(u))})}finally{}l!==void 0&&Dd(l,t)}if(!a){let l=pt(o)||(()=>new o);t({provide:o,useFactory:l,deps:ie},o),t({provide:Ea,useValue:o,multi:!0},o),t({provide:vt,useValue:()=>M(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=e;Ia(c,u=>{t(u,l)})}}else return!1;return o!==e&&e.providers!==void 0}function Ia(e,t){for(let n of e)da(n)&&(n=n.\u0275providers),Array.isArray(n)?Ia(n,t):t(n)}var uy=A({provide:String,useValue:A});function _d(e){return e!==null&&typeof e=="object"&&uy in e}function dy(e){return!!(e&&e.useExisting)}function fy(e){return!!(e&&e.useFactory)}function Ht(e){return typeof e=="function"}function Ed(e){return!!e.useClass}var cr=new E(""),Po={},cd={},Js;function Tn(){return Js===void 0&&(Js=new or),Js}var ce=class{},$t=class extends ce{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,ia(t,s=>this.processProvider(s)),this.records.set(_a,bn(void 0,this)),o.has("environment")&&this.records.set(ce,bn(void 0,this));let i=this.records.get(cr);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Ea,ie,{self:!0}))}retrieve(t,n){let r=Bt(n)||0;try{return this.get(t,Vt,r)}catch(o){if(cn(o))return o;throw o}}destroy(){tr(this),this._destroyed=!0;let t=I(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),I(t)}}onDestroy(t){return tr(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){tr(this);let n=He(this),r=oe(void 0),o;try{return t()}finally{He(n),oe(r)}}get(t,n=Vt,r){if(tr(this),t.hasOwnProperty(ad))return t[ad](this);let o=Bt(r),i,s=He(this),a=oe(void 0);try{if(!(o&4)){let l=this.records.get(t);if(l===void 0){let u=yy(t)&&Bo(t);u&&this.injectableDefInScope(u)?l=bn(oa(t),Po):l=null,this.records.set(t,l)}if(l!=null)return this.hydrate(t,l,o)}let c=o&2?Tn():this.parent;return n=o&8&&n===Vt?null:n,c.get(t,n)}catch(c){let l=ry(c);throw l===-200||l===-201?new m(l,null):c}finally{oe(a),He(s)}}resolveInjectorInitializers(){let t=I(null),n=He(this),r=oe(void 0),o;try{let i=this.get(vt,ie,{self:!0});for(let s of i)s()}finally{He(n),oe(r),I(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(ht(r));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=q(t);let n=Ht(t)?t:q(t&&t.provide),r=py(t);if(!Ht(t)&&t.multi===!0){let o=this.records.get(n);o||(o=bn(void 0,Po,!0),o.factory=()=>ra(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n,r){let o=I(null);try{if(n.value===cd)throw ma(ht(t));return n.value===Po&&(n.value=cd,n.value=n.factory(void 0,r)),typeof n.value=="object"&&n.value&&my(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{I(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=q(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function oa(e){let t=Bo(e),n=t!==null?t.factory:pt(e);if(n!==null)return n;if(e instanceof E)throw new m(204,!1);if(e instanceof Function)return hy(e);throw new m(204,!1)}function hy(e){if(e.length>0)throw new m(204,!1);let n=ey(e);return n!==null?()=>n.factory(e):()=>new e}function py(e){if(_d(e))return bn(void 0,e.useValue);{let t=Ca(e);return bn(t,Po)}}function Ca(e,t,n){let r;if(Ht(e)){let o=q(e);return pt(o)||oa(o)}else if(_d(e))r=()=>q(e.useValue);else if(fy(e))r=()=>e.useFactory(...ra(e.deps||[]));else if(dy(e))r=(o,i)=>M(q(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=q(e&&(e.useClass||e.provide));if(gy(e))r=()=>new o(...ra(e.deps));else return pt(o)||oa(o)}return r}function tr(e){if(e.destroyed)throw new m(205,!1)}function bn(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function gy(e){return!!e.deps}function my(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function yy(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function ia(e,t){for(let n of e)Array.isArray(n)?ia(n,t):n&&da(n)?ia(n.\u0275providers,t):t(n)}function Zo(e,t){let n;e instanceof $t?(tr(e),n=e):n=new na(e);let r,o=He(n),i=oe(void 0);try{return t()}finally{He(o),oe(i)}}function wd(){return hd()!==void 0||Xr()!=null}var Re=0,y=1,_=2,Z=3,ve=4,De=5,Mn=6,xn=7,z=8,Gt=9,$e=10,j=11,Nn=12,ba=13,Wt=14,de=15,_t=16,qt=17,Ue=18,lr=19,Sa=20,Ze=21,Yo=22,Ye=23,fe=24,Zt=25,k=26,Id=1,Ta=6,Et=7,ur=8,Yt=9,Q=10;function ze(e){return Array.isArray(e)&&typeof e[Id]=="object"}function Ae(e){return Array.isArray(e)&&e[Id]===!0}function Ma(e){return(e.flags&4)!==0}function wt(e){return e.componentOffset>-1}function Rn(e){return(e.flags&1)===1}function Oe(e){return!!e.template}function An(e){return(e[_]&512)!==0}function Qt(e){return(e[_]&256)===256}var xa="svg",Cd="math";function _e(e){for(;Array.isArray(e);)e=e[Re];return e}function Na(e,t){return _e(t[e])}function Pe(e,t){return _e(t[e.index])}function dr(e,t){return e.data[t]}function fr(e,t){return e[t]}function hr(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function Ee(e,t){let n=t[e];return ze(n)?n:n[Re]}function bd(e){return(e[_]&4)===4}function Qo(e){return(e[_]&128)===128}function Sd(e){return Ae(e[Z])}function we(e,t){return t==null?null:e[t]}function Ra(e){e[qt]=0}function Ko(e){e[_]&1024||(e[_]|=1024,Qo(e)&&It(e))}function Td(e,t){for(;e>0;)t=t[Wt],e--;return t}function On(e){return!!(e[_]&9216||e[fe]?.dirty)}function Jo(e){e[$e].changeDetectionScheduler?.notify(8),e[_]&64&&(e[_]|=1024),On(e)&&It(e)}function It(e){e[$e].changeDetectionScheduler?.notify(0);let t=gt(e);for(;t!==null&&!(t[_]&8192||(t[_]|=8192,!Qo(t)));)t=gt(t)}function Aa(e,t){if(Qt(e))throw new m(911,!1);e[Ze]===null&&(e[Ze]=[]),e[Ze].push(t)}function Md(e,t){if(e[Ze]===null)return;let n=e[Ze].indexOf(t);n!==-1&&e[Ze].splice(n,1)}function gt(e){let t=e[Z];return Ae(t)?t[Z]:t}function Oa(e){return e[xn]??=[]}function Pa(e){return e.cleanup??=[]}function xd(e,t,n,r){let o=Oa(t);o.push(n),e.firstCreatePass&&Pa(e).push(r,o.length-1)}var S={lFrame:Ud(null),bindingsEnabled:!0,skipHydrationRootTNode:null},pr=function(e){return e[e.Off=0]="Off",e[e.Exhaustive=1]="Exhaustive",e[e.OnlyDirtyViews=2]="OnlyDirtyViews",e}(pr||{}),vy=0,sa=!1;function Nd(){return S.lFrame.elementDepthCount}function Rd(){S.lFrame.elementDepthCount++}function ka(){S.lFrame.elementDepthCount--}function Xo(){return S.bindingsEnabled}function Ad(){return S.skipHydrationRootTNode!==null}function Fa(e){return S.skipHydrationRootTNode===e}function La(){S.skipHydrationRootTNode=null}function D(){return S.lFrame.lView}function H(){return S.lFrame.tView}function Od(e){return S.lFrame.contextLView=e,e[z]}function Pd(e){return S.lFrame.contextLView=null,e}function K(){let e=ja();for(;e!==null&&e.type===64;)e=e.parent;return e}function ja(){return S.lFrame.currentTNode}function kd(){let e=S.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Kt(e,t){let n=S.lFrame;n.currentTNode=e,n.isParent=t}function Va(){return S.lFrame.isParent}function Fd(){S.lFrame.isParent=!1}function Ba(){return S.lFrame.contextLView}function Ha(e){ua("Must never be called in production mode"),vy=e}function $a(){return sa}function Pn(e){let t=sa;return sa=e,t}function gr(){let e=S.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Ld(e){return S.lFrame.bindingIndex=e}function Ct(){return S.lFrame.bindingIndex++}function Ua(e){let t=S.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function jd(){return S.lFrame.inI18n}function Vd(e,t){let n=S.lFrame;n.bindingIndex=n.bindingRootIndex=e,ei(t)}function Bd(){return S.lFrame.currentDirectiveIndex}function ei(e){S.lFrame.currentDirectiveIndex=e}function Hd(e){let t=S.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function za(){return S.lFrame.currentQueryIndex}function ti(e){S.lFrame.currentQueryIndex=e}function Dy(e){let t=e[y];return t.type===2?t.declTNode:t.type===1?e[De]:null}function Ga(e,t,n){if(n&4){let o=t,i=e;for(;o=o.parent,o===null&&!(n&1);)if(o=Dy(i),o===null||(i=i[Wt],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=S.lFrame=$d();return r.currentTNode=t,r.lView=e,!0}function ni(e){let t=$d(),n=e[y];S.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function $d(){let e=S.lFrame,t=e===null?null:e.child;return t===null?Ud(e):t}function Ud(e){let t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return e!==null&&(e.child=t),t}function zd(){let e=S.lFrame;return S.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Wa=zd;function ri(){let e=zd();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 Gd(e){return(S.lFrame.contextLView=Td(e,S.lFrame.contextLView))[z]}function Ge(){return S.lFrame.selectedIndex}function bt(e){S.lFrame.selectedIndex=e}function oi(){let e=S.lFrame;return dr(e.tView,e.selectedIndex)}function Wd(){S.lFrame.currentNamespace=xa}function qd(){_y()}function _y(){S.lFrame.currentNamespace=null}function Zd(){return S.lFrame.currentNamespace}var Yd=!0;function ii(){return Yd}function mr(e){Yd=e}function aa(e,t=null,n=null,r){let o=Qd(e,t,n,r);return o.resolveInjectorInitializers(),o}function Qd(e,t=null,n=null,r,o=new Set){let i=[n||ie,vd(e)];return r=r||(typeof e=="object"?void 0:ht(e)),new $t(i,t||Tn(),r||null,o)}var ee=class e{static THROW_IF_NOT_FOUND=Vt;static NULL=new or;static create(t,n){if(Array.isArray(t))return aa({name:""},n,t,"");{let r=t.name??"";return aa({name:r},t.parent,t.providers,r)}}static \u0275prov=w({token:e,providedIn:"any",factory:()=>M(_a)});static __NG_ELEMENT_ID__=-1},$=new E(""),Qe=(()=>{class e{static __NG_ELEMENT_ID__=Ey;static __NG_ENV_ID__=n=>n}return e})(),ir=class extends Qe{_lView;constructor(t){super(),this._lView=t}get destroyed(){return Qt(this._lView)}onDestroy(t){let n=this._lView;return Aa(n,t),()=>Md(n,t)}};function Ey(){return new ir(D())}var ue=class{_console=console;handleError(t){this._console.error("ERROR",t)}},Ke=new E("",{providedIn:"root",factory:()=>{let e=p(ce),t;return n=>{e.destroyed&&!t?setTimeout(()=>{throw n}):(t??=e.get(ue),t.handleError(n))}}}),Kd={provide:vt,useValue:()=>void p(ue),multi:!0};function Je(e,t){let[n,r,o]=Ls(e,t?.equal),i=n,s=i[re];return i.set=r,i.update=o,i.asReadonly=si.bind(i),i}function si(){let e=this[re];if(e.readonlyFn===void 0){let t=()=>this();t[re]=e,e.readonlyFn=t}return e.readonlyFn}var xe=class{},kn=new E("",{providedIn:"root",factory:()=>!1});var qa=new E(""),ai=new E("");var Fn=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=wy}return e})();function wy(){return new Fn(D(),K())}var Jt=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new Lt(!1);get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new N(n=>{n.next(!1),n.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=w({token:e,providedIn:"root",factory:()=>new e})}return e})();function Xt(...e){}var yr=(()=>{class e{static \u0275prov=w({token:e,providedIn:"root",factory:()=>new ca})}return e})(),ca=class{dirtyEffectCount=0;queues=new Map;add(t){this.enqueue(t),this.schedule(t)}schedule(t){t.dirty&&this.dirtyEffectCount++}remove(t){let n=t.zone,r=this.queues.get(n);r.has(t)&&(r.delete(t),t.dirty&&this.dirtyEffectCount--)}enqueue(t){let n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||r.add(t)}flush(){for(;this.dirtyEffectCount>0;){let t=!1;for(let[n,r]of this.queues)n===null?t||=this.flushQueue(r):t||=n.run(()=>this.flushQueue(r));t||(this.dirtyEffectCount=0)}}flushQueue(t){let n=!1;for(let r of t)r.dirty&&(this.dirtyEffectCount--,n=!0,r.run());return n}};function Un(e){return{toString:e}.toString()}var ci="__parameters__";function Ry(e){return function(...n){if(e){let r=e(...n);for(let o in r)this[o]=r[o]}}}function Pf(e,t,n){return Un(()=>{let r=Ry(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;let s=new o(...i);return a.annotation=s,a;function a(c,l,u){let d=c.hasOwnProperty(ci)?c[ci]:Object.defineProperty(c,ci,{value:[]})[ci];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),c}}return o.prototype.ngMetadataName=e,o.annotationCls=o,o})}var Oi=va(Pf("Optional"),8);var kf=va(Pf("SkipSelf"),4);function Ay(e){return typeof e=="function"}var vi=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function Ff(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var zn=(()=>{let e=()=>Lf;return e.ngInherit=!0,e})();function Lf(e){return e.type.prototype.ngOnChanges&&(e.setInput=Py),Oy}function Oy(){let e=Vf(this),t=e?.current;if(t){let n=e.previous;if(n===Ne)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Py(e,t,n,r,o){let i=this.declaredInputs[r],s=Vf(e)||ky(e,{previous:Ne,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new vi(l&&l.currentValue,n,c===Ne),Ff(e,t,o,n)}var jf="__ngSimpleChanges__";function Vf(e){return e[jf]||null}function ky(e,t){return e[jf]=t}var Jd=[];var R=function(e,t=null,n){for(let r=0;r<Jd.length;r++){let o=Jd[r];o(e,t,n)}};function Fy(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=Lf(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}function Bf(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){let i=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:l,ngOnDestroy:u}=i;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),c&&(e.viewHooks??=[]).push(-n,c),l&&((e.viewHooks??=[]).push(n,l),(e.viewCheckHooks??=[]).push(n,l)),u!=null&&(e.destroyHooks??=[]).push(n,u)}}function hi(e,t,n){Hf(e,t,3,n)}function pi(e,t,n,r){(e[_]&3)===n&&Hf(e,t,n,r)}function Za(e,t){let n=e[_];(n&3)===t&&(n&=16383,n+=1,e[_]=n)}function Hf(e,t,n,r){let o=r!==void 0?e[qt]&65535:0,i=r??-1,s=t.length-1,a=0;for(let c=o;c<s;c++)if(typeof t[c+1]=="number"){if(a=t[c],r!=null&&a>=r)break}else t[c]<0&&(e[qt]+=65536),(a<i||i==-1)&&(Ly(e,n,t,c),e[qt]=(e[qt]&4294901760)+c+2),c++}function Xd(e,t){R(4,e,t);let n=I(null);try{t.call(e)}finally{I(n),R(5,e,t)}}function Ly(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[_]>>14<e[qt]>>16&&(e[_]&3)===t&&(e[_]+=16384,Xd(a,i)):Xd(a,i)}var jn=-1,nn=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r,o){this.factory=t,this.name=o,this.canSeeViewProviders=n,this.injectImpl=r}};function jy(e){return(e.flags&8)!==0}function Vy(e){return(e.flags&16)!==0}function By(e,t,n){let r=0;for(;r<n.length;){let o=n[r];if(typeof o=="number"){if(o!==0)break;r++;let i=n[r++],s=n[r++],a=n[r++];e.setAttribute(t,s,a,i)}else{let i=o,s=n[++r];$y(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function Hy(e){return e===3||e===4||e===6}function $y(e){return e.charCodeAt(0)===64}function Vn(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){let o=t[r];typeof o=="number"?n=o:n===0||(n===-1||n===2?ef(e,n,o,null,t[++r]):ef(e,n,o,null,null))}}return e}function ef(e,t,n,r,o){let i=0,s=e.length;if(t===-1)s=-1;else for(;i<e.length;){let a=e[i++];if(typeof a=="number"){if(a===t){s=-1;break}else if(a>t){s=i-1;break}}}for(;i<e.length;){let a=e[i];if(typeof a=="number")break;if(a===n){o!==null&&(e[i+1]=o);return}i++,o!==null&&i++}s!==-1&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),o!==null&&e.splice(i++,0,o)}function $f(e){return e!==jn}function Di(e){return e&32767}function Uy(e){return e>>16}function _i(e,t){let n=Uy(e),r=t;for(;n>0;)r=r[Wt],n--;return r}var ic=!0;function Ei(e){let t=ic;return ic=e,t}var zy=256,Uf=zy-1,zf=5,Gy=0,We={};function Wy(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Ut)&&(r=n[Ut]),r==null&&(r=n[Ut]=Gy++);let o=r&Uf,i=1<<o;t.data[e+(o>>zf)]|=i}function wi(e,t){let n=Gf(e,t);if(n!==-1)return n;let r=t[y];r.firstCreatePass&&(e.injectorIndex=t.length,Ya(r.data,e),Ya(t,null),Ya(r.blueprint,null));let o=qc(e,t),i=e.injectorIndex;if($f(o)){let s=Di(o),a=_i(o,t),c=a[y].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|c[s+l]}return t[i+8]=o,i}function Ya(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Gf(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function qc(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;o!==null;){if(r=Qf(o),r===null)return jn;if(n++,o=o[Wt],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return jn}function sc(e,t,n){Wy(e,t,n)}function Wf(e,t,n){if(n&8||e!==void 0)return e;$o(t,"NodeInjector")}function qf(e,t,n,r){if(n&8&&r===void 0&&(r=null),(n&3)===0){let o=e[Gt],i=oe(void 0);try{return o?o.get(t,r,n&8):ya(t,r,n&8)}finally{oe(i)}}return Wf(r,t,n)}function Zf(e,t,n,r=0,o){if(e!==null){if(t[_]&2048&&!(r&2)){let s=Ky(e,t,n,r,We);if(s!==We)return s}let i=Yf(e,t,n,r,We);if(i!==We)return i}return qf(t,n,r,o)}function Yf(e,t,n,r,o){let i=Zy(n);if(typeof i=="function"){if(!Ga(t,e,r))return r&1?Wf(o,n,r):qf(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&8))$o(n);else return s}finally{Wa()}}else if(typeof i=="number"){let s=null,a=Gf(e,t),c=jn,l=r&1?t[de][De]:null;for((a===-1||r&4)&&(c=a===-1?qc(e,t):t[a+8],c===jn||!nf(r,!1)?a=-1:(s=t[y],a=Di(c),t=_i(c,t)));a!==-1;){let u=t[y];if(tf(i,a,u.data)){let d=qy(a,t,n,s,r,l);if(d!==We)return d}c=t[a+8],c!==jn&&nf(r,t[y].data[a+8]===l)&&tf(i,a,t)?(s=u,a=Di(c),t=_i(c,t)):a=-1}}return o}function qy(e,t,n,r,o,i){let s=t[y],a=s.data[e+8],c=r==null?wt(a)&&ic:r!=s&&(a.type&3)!==0,l=o&1&&i===a,u=gi(a,s,n,c,l);return u!==null?_r(t,s,u,a,o):We}function gi(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,c=e.directiveStart,l=e.directiveEnd,u=i>>20,d=r?a:a+u,h=o?a+u:l;for(let f=d;f<h;f++){let g=s[f];if(f<c&&n===g||f>=c&&g.type===n)return f}if(o){let f=s[c];if(f&&Oe(f)&&f.type===n)return c}return null}function _r(e,t,n,r,o){let i=e[n],s=t.data;if(i instanceof nn){let a=i;if(a.resolving){let f=Fo(s[n]);throw ma(f)}let c=Ei(a.canSeeViewProviders);a.resolving=!0;let l=s[n].type||s[n],u,d=a.injectImpl?oe(a.injectImpl):null,h=Ga(e,r,0);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&Fy(n,s[n],t)}finally{d!==null&&oe(d),Ei(c),a.resolving=!1,Wa()}}return i}function Zy(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Ut)?e[Ut]:void 0;return typeof t=="number"?t>=0?t&Uf:Yy:t}function tf(e,t,n){let r=1<<e;return!!(n[t+(e>>zf)]&r)}function nf(e,t){return!(e&2)&&!(e&1&&t)}var tn=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Zf(this._tNode,this._lView,t,Bt(r),n)}};function Yy(){return new tn(K(),D())}function Qy(e){return Un(()=>{let t=e.prototype.constructor,n=t[rr]||ac(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[rr]||ac(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function ac(e){return la(e)?()=>{let t=ac(q(e));return t&&t()}:pt(e)}function Ky(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[_]&2048&&!An(s);){let a=Yf(i,s,n,r|2,We);if(a!==We)return a;let c=i.parent;if(!c){let l=s[Sa];if(l){let u=l.get(n,We,r);if(u!==We)return u}c=Qf(s),s=s[Wt]}i=c}return o}function Qf(e){let t=e[y],n=t.type;return n===2?t.declTNode:n===1?e[De]:null}function Jy(){return Gn(K(),D())}function Gn(e,t){return new he(Pe(e,t))}var he=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=Jy}return e})();function Xy(e){return e instanceof he?e.nativeElement:e}function ev(){return this._results[Symbol.iterator]()}var Ii=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 x}constructor(t=!1){this._emitDistinctChangesOnly=t}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;let r=gd(t);(this._changesDetected=!pd(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=ev};function Kf(e){return(e.flags&128)===128}var Zc=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Zc||{}),Jf=new Map,tv=0;function nv(){return tv++}function rv(e){Jf.set(e[lr],e)}function cc(e){Jf.delete(e[lr])}var rf="__ngContext__";function Bn(e,t){ze(t)?(e[rf]=t[lr],rv(t)):e[rf]=t}function Xf(e){return th(e[Nn])}function eh(e){return th(e[ve])}function th(e){for(;e!==null&&!Ae(e);)e=e[ve];return e}var lc;function Yc(e){lc=e}function Qc(){if(lc!==void 0)return lc;if(typeof document<"u")return document;throw new m(210,!1)}var Wn=new E("",{providedIn:"root",factory:()=>ov}),ov="ng",Pi=new E(""),Mt=new E("",{providedIn:"platform",factory:()=>"unknown"});var iv=new E(""),ki=new E("",{providedIn:"root",factory:()=>Qc().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var sv="h",av="b";var nh="r";var rh="di";var oh=!1,ih=new E("",{providedIn:"root",factory:()=>oh});var cv=(e,t,n,r)=>{};function lv(e,t,n,r){cv(e,t,n,r)}function Kc(e){return(e.flags&32)===32}var uv=()=>null;function sh(e,t,n=!1){return uv(e,t,n)}function ah(e,t){let n=e.contentQueries;if(n!==null){let r=I(null);try{for(let o=0;o<n.length;o+=2){let i=n[o],s=n[o+1];if(s!==-1){let a=e.data[s];ti(i),a.contentQueries(2,t[s],s)}}}finally{I(r)}}}function uc(e,t,n){ti(0);let r=I(null);try{t(e,n)}finally{I(r)}}function Jc(e,t,n){if(Ma(t)){let r=I(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;s<i;s++){let a=e.data[s];if(a.contentQueries){let c=n[s];a.contentQueries(1,c,s)}}}finally{I(r)}}}var Xe=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Xe||{}),li;function dv(){if(li===void 0&&(li=null,ye.trustedTypes))try{li=ye.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return li}function Fi(e){return dv()?.createHTML(e)||e}var ui;function fv(){if(ui===void 0&&(ui=null,ye.trustedTypes))try{ui=ye.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ui}function of(e){return fv()?.createHTML(e)||e}var et=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${jo})`}},dc=class extends et{getTypeName(){return"HTML"}},fc=class extends et{getTypeName(){return"Style"}},hc=class extends et{getTypeName(){return"Script"}},pc=class extends et{getTypeName(){return"URL"}},gc=class extends et{getTypeName(){return"ResourceURL"}};function je(e){return e instanceof et?e.changingThisBreaksApplicationSecurity:e}function tt(e,t){let n=ch(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${jo})`)}return n===t}function ch(e){return e instanceof et&&e.getTypeName()||null}function Xc(e){return new dc(e)}function el(e){return new fc(e)}function tl(e){return new hc(e)}function nl(e){return new pc(e)}function rl(e){return new gc(e)}function hv(e){let t=new yc(e);return pv()?new mc(t):t}var mc=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(Fi(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}},yc=class{defaultDoc;inertDocument;constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){let n=this.inertDocument.createElement("template");return n.innerHTML=Fi(t),n}};function pv(){try{return!!new window.DOMParser().parseFromString(Fi(""),"text/html")}catch{return!1}}var gv=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Mr(e){return e=String(e),e.match(gv)?e:"unsafe:"+e}function nt(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function xr(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var lh=nt("area,br,col,hr,img,wbr"),uh=nt("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),dh=nt("rp,rt"),mv=xr(dh,uh),yv=xr(uh,nt("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")),vv=xr(dh,nt("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")),sf=xr(lh,yv,vv,mv),fh=nt("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Dv=nt("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"),_v=nt("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"),Ev=xr(fh,Dv,_v),wv=nt("script,style,template"),vc=class{sanitizedSomething=!1;buf=[];sanitizeChildren(t){let n=t.firstChild,r=!0,o=[];for(;n;){if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild){o.push(n),n=bv(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=Cv(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=af(t).toLowerCase();if(!sf.hasOwnProperty(n))return this.sanitizedSomething=!0,!wv.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);let r=t.attributes;for(let o=0;o<r.length;o++){let i=r.item(o),s=i.name,a=s.toLowerCase();if(!Ev.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;fh[a]&&(c=Mr(c)),this.buf.push(" ",s,'="',cf(c),'"')}return this.buf.push(">"),!0}endElement(t){let n=af(t).toLowerCase();sf.hasOwnProperty(n)&&!lh.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(cf(t))}};function Iv(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function Cv(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw hh(t);return t}function bv(e){let t=e.firstChild;if(t&&Iv(e,t))throw hh(t);return t}function af(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function hh(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var Sv=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Tv=/([^\#-~ |!])/g;function cf(e){return e.replace(/&/g,"&").replace(Sv,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(Tv,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var di;function Li(e,t){let n=null;try{di=di||hv(e);let r=t?String(t):"";n=di.getInertBodyElement(r);let o=5,i=r;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=di.getInertBodyElement(r)}while(r!==i);let a=new vc().sanitizeChildren(lf(n)||n);return Fi(a)}finally{if(n){let r=lf(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function lf(e){return"content"in e&&Mv(e)?e.content:null}function Mv(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var Ve=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}(Ve||{});function xv(e){let t=ph();return t?of(t.sanitize(Ve.HTML,e)||""):tt(e,"HTML")?of(je(e)):Li(Qc(),zt(e))}function Nv(e){let t=ph();return t?t.sanitize(Ve.URL,e)||"":tt(e,"URL")?je(e):Mr(zt(e))}function ph(){let e=D();return e&&e[$e].sanitizer}var Rv=/^>|^->|<!--|-->|--!>|<!-$/g,Av=/(<|>)/g,Ov="\u200B$1\u200B";function Pv(e){return e.replace(Rv,t=>t.replace(Av,Ov))}function kv(e,t,n){let r=e.length;for(;;){let o=e.indexOf(t,n);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}var gh="ng-template";function Fv(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&kv(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(ol(e))return!1;if(o=t.indexOf(1,o),o>-1){let i;for(;++o<t.length&&typeof(i=t[o])=="string";)if(i.toLowerCase()===n)return!0}return!1}function ol(e){return e.type===4&&e.value!==gh}function Lv(e,t,n){let r=e.type===4&&!n?gh:e.value;return t===r}function jv(e,t,n){let r=4,o=e.attrs,i=o!==null?Hv(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!ke(r)&&!ke(c))return!1;if(s&&ke(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!Lv(e,c,n)||c===""&&t.length===1){if(ke(r))return!1;s=!0}}else if(r&8){if(o===null||!Fv(e,o,c,n)){if(ke(r))return!1;s=!0}}else{let l=t[++a],u=Vv(c,o,ol(e),n);if(u===-1){if(ke(r))return!1;s=!0;continue}if(l!==""){let d;if(u>i?d="":d=o[u+1].toLowerCase(),r&2&&l!==d){if(ke(r))return!1;s=!0}}}}return ke(r)||s}function ke(e){return(e&1)===0}function Vv(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o<t.length;){let s=t[o];if(s===e)return o;if(s===3||s===6)i=!0;else if(s===1||s===2){let a=t[++o];for(;typeof a=="string";)a=t[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=i?1:2}return-1}else return $v(t,e)}function Bv(e,t,n=!1){for(let r=0;r<t.length;r++)if(jv(e,t[r],n))return!0;return!1}function Hv(e){for(let t=0;t<e.length;t++){let n=e[t];if(Hy(n))return t}return e.length}function $v(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){let r=e[n];if(typeof r=="number")return-1;if(r===t)return n;n++}return-1}function uf(e,t){return e?":not("+t.trim()+")":t}function Uv(e){let t=e[0],n=1,r=2,o="",i=!1;for(;n<e.length;){let s=e[n];if(typeof s=="string")if(r&2){let a=e[++n];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!ke(s)&&(t+=uf(i,o),o=""),r=s,i=i||!ke(r);n++}return o!==""&&(t+=uf(i,o)),t}function zv(e){return e.map(Uv).join(",")}function Gv(e){let t=[],n=[],r=1,o=2;for(;r<e.length;){let i=e[r];if(typeof i=="string")o===2?i!==""&&t.push(i,e[++r]):o===8&&n.push(i);else{if(!ke(o))break;o=i}r++}return n.length&&t.push(1,...n),t}var pe={};function Wv(e,t){return e.createText(t)}function qv(e,t,n){e.setValue(t,n)}function Zv(e,t){return e.createComment(Pv(t))}function mh(e,t,n){return e.createElement(t,n)}function Ci(e,t,n,r,o){e.insertBefore(t,n,r,o)}function yh(e,t,n){e.appendChild(t,n)}function df(e,t,n,r,o){r!==null?Ci(e,t,n,r,o):yh(e,t,n)}function vh(e,t,n){e.removeChild(null,t,n)}function Yv(e,t,n){e.setAttribute(t,"style",n)}function Qv(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Dh(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&By(e,t,r),o!==null&&Qv(e,t,o),i!==null&&Yv(e,t,i)}function il(e,t,n,r,o,i,s,a,c,l,u){let d=k+r,h=d+o,f=Kv(d,h),g=typeof l=="function"?l():l;return f[y]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.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:g,incompleteFirstPass:!1,ssrId:u}}function Kv(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:pe);return n}function Jv(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=il(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function sl(e,t,n,r,o,i,s,a,c,l,u){let d=t.blueprint.slice();return d[Re]=o,d[_]=r|4|128|8|64|1024,(l!==null||e&&e[_]&2048)&&(d[_]|=2048),Ra(d),d[Z]=d[Wt]=e,d[z]=n,d[$e]=s||e&&e[$e],d[j]=a||e&&e[j],d[Gt]=c||e&&e[Gt]||null,d[De]=i,d[lr]=nv(),d[Mn]=u,d[Sa]=l,d[de]=t.type==2?e[de]:d,d}function Xv(e,t,n){let r=Pe(t,e),o=Jv(n),i=e[$e].rendererFactory,s=al(e,sl(e,o,null,_h(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function _h(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Eh(e,t,n,r){if(n===0)return-1;let o=t.length;for(let i=0;i<n;i++)t.push(r),e.blueprint.push(r),e.data.push(null);return o}function al(e,t){return e[Nn]?e[ba][ve]=t:e[Nn]=t,e[ba]=t,t}function wh(e=1){Ih(H(),D(),Ge()+e,!1)}function Ih(e,t,n,r){if(!r)if((t[_]&3)===3){let i=e.preOrderCheckHooks;i!==null&&hi(t,i,n)}else{let i=e.preOrderHooks;i!==null&&pi(t,i,0,n)}bt(n)}var ji=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(ji||{});function Dc(e,t,n,r){let o=I(null);try{let[i,s,a]=e.inputs[n],c=null;(s&ji.SignalBased)!==0&&(c=t[i][re]),c!==null&&c.transformFn!==void 0?r=c.transformFn(r):a!==null&&(r=a.call(t,r)),e.setInput!==null?e.setInput(t,c,r,n,i):Ff(t,c,i,r)}finally{I(o)}}var Le=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Le||{}),eD;function cl(e,t){return eD(e,t)}function Ln(e,t,n,r,o){if(r!=null){let i,s=!1;Ae(r)?i=r:ze(r)&&(s=!0,r=r[Re]);let a=_e(r);e===0&&n!==null?o==null?yh(t,n,a):Ci(t,n,a,o||null,!0):e===1&&n!==null?Ci(t,n,a,o||null,!0):e===2?vh(t,a,s):e===3&&t.destroyNode(a),i!=null&&fD(t,e,i,n,o)}}function tD(e,t){Ch(e,t),t[Re]=null,t[De]=null}function nD(e,t,n,r,o,i){r[Re]=o,r[De]=t,Bi(e,r,n,1,o,i)}function Ch(e,t){t[$e].changeDetectionScheduler?.notify(9),Bi(e,t,t[j],2,null,null)}function rD(e){let t=e[Nn];if(!t)return Qa(e[y],e);for(;t;){let n=null;if(ze(t))n=t[Nn];else{let r=t[Q];r&&(n=r)}if(!n){for(;t&&!t[ve]&&t!==e;)ze(t)&&Qa(t[y],t),t=t[Z];t===null&&(t=e),ze(t)&&Qa(t[y],t),n=t&&t[ve]}t=n}}function ll(e,t){let n=e[Yt],r=n.indexOf(t);n.splice(r,1)}function Vi(e,t){if(Qt(t))return;let n=t[j];n.destroyNode&&Bi(e,t,n,3,null,null),rD(t)}function Qa(e,t){if(Qt(t))return;let n=I(null);try{t[_]&=-129,t[_]|=256,t[fe]&&Ot(t[fe]),iD(e,t),oD(e,t),t[y].type===1&&t[j].destroy();let r=t[_t];if(r!==null&&Ae(t[Z])){r!==t[Z]&&ll(r,t);let o=t[Ue];o!==null&&o.detachView(e)}cc(t)}finally{I(n)}}function oD(e,t){let n=e.cleanup,r=t[xn];if(n!==null)for(let s=0;s<n.length-1;s+=2)if(typeof n[s]=="string"){let a=n[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[n[s+1]];n[s].call(a)}r!==null&&(t[xn]=null);let o=t[Ze];if(o!==null){t[Ze]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[Ye];if(i!==null){t[Ye]=null;for(let s of i)s.destroy()}}function iD(e,t){let n;if(e!=null&&(n=e.destroyHooks)!=null)for(let r=0;r<n.length;r+=2){let o=t[n[r]];if(!(o instanceof nn)){let i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],c=i[s+1];R(4,a,c);try{c.call(a)}finally{R(5,a,c)}}else{R(4,o,i);try{i.call(o)}finally{R(5,o,i)}}}}}function sD(e,t,n){return aD(e,t.parent,n)}function aD(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[Re];if(wt(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===Xe.None||o===Xe.Emulated)return null}return Pe(r,n)}function cD(e,t,n){return uD(e,t,n)}function lD(e,t,n){return e.type&40?Pe(e,n):null}var uD=lD,ff;function ul(e,t,n,r){let o=sD(e,r,t),i=t[j],s=r.parent||t[De],a=cD(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)df(i,o,n[c],a,!1);else df(i,o,n,a,!1);ff!==void 0&&ff(i,r,t,n,o)}function vr(e,t){if(t!==null){let n=t.type;if(n&3)return Pe(t,e);if(n&4)return _c(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return vr(e,r);{let o=e[t.index];return Ae(o)?_c(-1,o):_e(o)}}else{if(n&128)return vr(e,t.next);if(n&32)return cl(t,e)()||_e(e[t.index]);{let r=bh(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=gt(e[de]);return vr(o,r)}else return vr(e,t.next)}}}return null}function bh(e,t){if(t!==null){let r=e[de][De],o=t.projection;return r.projection[o]}return null}function _c(e,t){let n=Q+e+1;if(n<t.length){let r=t[n],o=r[y].firstChild;if(o!==null)return vr(r,o)}return t[Et]}function dl(e,t,n,r,o,i,s){for(;n!=null;){if(n.type===128){n=n.next;continue}let a=r[n.index],c=n.type;if(s&&t===0&&(a&&Bn(_e(a),r),n.flags|=2),!Kc(n))if(c&8)dl(e,t,n.child,r,o,i,!1),Ln(t,e,o,a,i);else if(c&32){let l=cl(n,r),u;for(;u=l();)Ln(t,e,o,u,i);Ln(t,e,o,a,i)}else c&16?dD(e,t,r,n,o,i):Ln(t,e,o,a,i);n=s?n.projectionNext:n.next}}function Bi(e,t,n,r,o,i){dl(n,r,e.firstChild,t,o,i,!1)}function dD(e,t,n,r,o,i){let s=n[de],c=s[De].projection[r.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++){let u=c[l];Ln(t,e,o,u,i)}else{let l=c,u=s[Z];Kf(r)&&(l.flags|=128),dl(e,t,l,u,o,i,!0)}}function fD(e,t,n,r,o){let i=n[Et],s=_e(n);i!==s&&Ln(t,e,r,i,o);for(let a=Q;a<n.length;a++){let c=n[a];Bi(c[y],c,e,t,r,i)}}function hD(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:Le.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Le.Important),e.setStyle(n,r,o,i))}}function Sh(e,t,n,r,o){let i=Ge(),s=r&2;try{bt(-1),s&&t.length>k&&Ih(e,t,k,!1),R(s?2:0,o,n),n(r,o)}finally{bt(i),R(s?3:1,o,n)}}function Hi(e,t,n){_D(e,t,n),(n.flags&64)===64&&ED(e,t,n)}function qn(e,t,n=Pe){let r=t.localNames;if(r!==null){let o=t.index+1;for(let i=0;i<r.length;i+=2){let s=r[i+1],a=s===-1?n(t,e):e[s];e[o++]=a}}}function pD(e,t,n,r){let i=r.get(ih,oh)||n===Xe.ShadowDom,s=e.selectRootElement(t,i);return gD(s),s}function gD(e){mD(e)}var mD=()=>null;function yD(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function vD(e,t,n,r,o,i){let s=t[y];if(hl(e,s,t,n,r)){wt(e)&&DD(t,e.index);return}e.type&3&&(n=yD(n)),Th(e,t,n,r,o,i)}function Th(e,t,n,r,o,i){if(e.type&3){let s=Pe(e,t);r=i!=null?i(r,e.value||"",n):r,o.setProperty(s,n,r)}else e.type&12}function DD(e,t){let n=Ee(t,e);n[_]&16||(n[_]|=64)}function _D(e,t,n){let r=n.directiveStart,o=n.directiveEnd;wt(n)&&Xv(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||wi(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=_r(t,e,s,n);if(Bn(c,t),i!==null&&bD(t,s-r,c,a,n,i),Oe(a)){let l=Ee(n.index,t);l[z]=_r(t,e,s,n)}}}function ED(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=Bd();try{bt(i);for(let a=r;a<o;a++){let c=e.data[a],l=t[a];ei(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&wD(c,l)}}finally{bt(-1),ei(s)}}function wD(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function fl(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];Bv(t,i.selectors,!1)&&(r??=[],Oe(i)?r.unshift(i):r.push(i))}return r}function ID(e,t,n,r,o,i){let s=Pe(e,t);CD(t[j],s,i,e.value,n,r,o)}function CD(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?zt(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function bD(e,t,n,r,o,i){let s=i[t];if(s!==null)for(let a=0;a<s.length;a+=2){let c=s[a],l=s[a+1];Dc(r,n,c,l)}}function $i(e,t,n,r,o){let i=k+n,s=t[y],a=o(s,t,e,r,n);t[i]=a,Kt(e,!0);let c=e.type===2;return c?(Dh(t[j],a,e),(Nd()===0||Rn(e))&&Bn(a,t),Rd()):Bn(a,t),ii()&&(!c||!Kc(e))&&ul(s,t,a,e),e}function Ui(e){let t=e;return Va()?Fd():(t=t.parent,Kt(t,!1)),t}function SD(e,t){let n=e[Gt];if(!n)return;n.get(Ke,null)?.(t)}function hl(e,t,n,r,o){let i=e.inputs?.[r],s=e.hostDirectiveInputs?.[r],a=!1;if(s)for(let c=0;c<s.length;c+=2){let l=s[c],u=s[c+1],d=t.data[l];Dc(d,n[l],u,o),a=!0}if(i)for(let c of i){let l=n[c],u=t.data[c];Dc(u,l,r,o),a=!0}return a}function TD(e,t){let n=Ee(t,e),r=n[y];MD(r,n);let o=n[Re];o!==null&&n[Mn]===null&&(n[Mn]=sh(o,n[Gt])),R(18),pl(r,n,n[z]),R(19,n[z])}function MD(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function pl(e,t,n){ni(t);try{let r=e.viewQuery;r!==null&&uc(1,r,n);let o=e.template;o!==null&&Sh(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[Ue]?.finishViewCreation(e),e.staticContentQueries&&ah(e,t),e.staticViewQueries&&uc(2,e.viewQuery,n);let i=e.components;i!==null&&xD(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[_]&=-5,ri()}}function xD(e,t){for(let n=0;n<t.length;n++)TD(e,t[n])}function zi(e,t,n,r){let o=I(null);try{let i=t.tView,a=e[_]&4096?4096:16,c=sl(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),l=e[t.index];c[_t]=l;let u=e[Ue];return u!==null&&(c[Ue]=u.createEmbeddedView(i)),pl(i,c,n),c}finally{I(o)}}function Er(e,t){return!t||t.firstChild===null||Kf(e)}var hf=!1,ND=new E("");function wr(e,t,n,r,o=!1){for(;n!==null;){if(n.type===128){n=o?n.projectionNext:n.next;continue}let i=t[n.index];i!==null&&r.push(_e(i)),Ae(i)&&Mh(i,r);let s=n.type;if(s&8)wr(e,t,n.child,r);else if(s&32){let a=cl(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=bh(t,n);if(Array.isArray(a))r.push(...a);else{let c=gt(t[de]);wr(c[y],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function Mh(e,t){for(let n=Q;n<e.length;n++){let r=e[n],o=r[y].firstChild;o!==null&&wr(r[y],r,o,t)}e[Et]!==e[Re]&&t.push(e[Et])}function xh(e){if(e[Zt]!==null){for(let t of e[Zt])t.impl.addSequence(t);e[Zt].length=0}}var Nh=[];function RD(e){return e[fe]??AD(e)}function AD(e){let t=Nh.pop()??Object.create(PD);return t.lView=e,t}function OD(e){e.lView[fe]!==e&&(e.lView=null,Nh.push(e))}var PD=X(Y({},Rt),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{It(e.lView)},consumerOnSignalRead(){this.lView[fe]=this}});function kD(e){let t=e[fe]??Object.create(FD);return t.lView=e,t}var FD=X(Y({},Rt),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=gt(e.lView);for(;t&&!Rh(t[y]);)t=gt(t);t&&Ko(t)},consumerOnSignalRead(){this.lView[fe]=this}});function Rh(e){return e.type!==2}function Ah(e){if(e[Ye]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[Ye])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[_]&8192)}}var LD=100;function gl(e,t=0){let r=e[$e].rendererFactory,o=!1;o||r.begin?.();try{jD(e,t)}finally{o||r.end?.()}}function jD(e,t){let n=$a();try{Pn(!0),Ec(e,t);let r=0;for(;On(e);){if(r===LD)throw new m(103,!1);r++,Ec(e,1)}}finally{Pn(n)}}function Oh(e,t){Ha(t?pr.Exhaustive:pr.OnlyDirtyViews);try{gl(e)}finally{Ha(pr.Off)}}function VD(e,t,n,r){if(Qt(t))return;let o=t[_],i=!1,s=!1;ni(t);let a=!0,c=null,l=null;i||(Rh(e)?(l=RD(t),c=At(l)):no()===null?(a=!1,l=kD(t),c=At(l)):t[fe]&&(Ot(t[fe]),t[fe]=null));try{Ra(t),Ld(e.bindingStartIndex),n!==null&&Sh(e,t,n,2,r);let u=(o&3)===3;if(!i)if(u){let f=e.preOrderCheckHooks;f!==null&&hi(t,f,null)}else{let f=e.preOrderHooks;f!==null&&pi(t,f,0,null),Za(t,0)}if(s||BD(t),Ah(t),Ph(t,0),e.contentQueries!==null&&ah(e,t),!i)if(u){let f=e.contentCheckHooks;f!==null&&hi(t,f)}else{let f=e.contentHooks;f!==null&&pi(t,f,1),Za(t,1)}$D(e,t);let d=e.components;d!==null&&Fh(t,d,0);let h=e.viewQuery;if(h!==null&&uc(2,h,r),!i)if(u){let f=e.viewCheckHooks;f!==null&&hi(t,f)}else{let f=e.viewHooks;f!==null&&pi(t,f,2),Za(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Yo]){for(let f of t[Yo])f();t[Yo]=null}i||(xh(t),t[_]&=-73)}catch(u){throw i||It(t),u}finally{l!==null&&(un(l,c),a&&OD(l)),ri()}}function Ph(e,t){for(let n=Xf(e);n!==null;n=eh(n))for(let r=Q;r<n.length;r++){let o=n[r];kh(o,t)}}function BD(e){for(let t=Xf(e);t!==null;t=eh(t)){if(!(t[_]&2))continue;let n=t[Yt];for(let r=0;r<n.length;r++){let o=n[r];Ko(o)}}}function HD(e,t,n){R(18);let r=Ee(t,e);kh(r,n),R(19,r[z])}function kh(e,t){Qo(e)&&Ec(e,t)}function Ec(e,t){let r=e[y],o=e[_],i=e[fe],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&dn(i)),s||=!1,i&&(i.dirty=!1),e[_]&=-9217,s)VD(r,e,r.template,e[z]);else if(o&8192){let a=I(null);try{Ah(e),Ph(e,1);let c=r.components;c!==null&&Fh(e,c,1),xh(e)}finally{I(a)}}}function Fh(e,t,n){for(let r=0;r<t.length;r++)HD(e,t[r],n)}function $D(e,t){let n=e.hostBindingOpCodes;if(n!==null)try{for(let r=0;r<n.length;r++){let o=n[r];if(o<0)bt(~o);else{let i=o,s=n[++r],a=n[++r];Vd(s,i);let c=t[i];R(24,c),a(2,c),R(25,c)}}}finally{bt(-1)}}function ml(e,t){let n=$a()?64:1088;for(e[$e].changeDetectionScheduler?.notify(t);e;){e[_]|=n;let r=gt(e);if(An(e)&&!r)return e;e=r}return null}function Lh(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function jh(e,t){let n=Q+t;if(n<e.length)return e[n]}function Gi(e,t,n,r=!0){let o=t[y];if(UD(o,t,e,n),r){let s=_c(n,e),a=t[j],c=a.parentNode(e[Et]);c!==null&&nD(o,e[De],a,t,c,s)}let i=t[Mn];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function Vh(e,t){let n=Ir(e,t);return n!==void 0&&Vi(n[y],n),n}function Ir(e,t){if(e.length<=Q)return;let n=Q+t,r=e[n];if(r){let o=r[_t];o!==null&&o!==e&&ll(o,r),t>0&&(e[n-1][ve]=r[ve]);let i=ar(e,Q+t);tD(r[y],r);let s=i[Ue];s!==null&&s.detachView(i[y]),r[Z]=null,r[ve]=null,r[_]&=-129}return r}function UD(e,t,n,r){let o=Q+r,i=n.length;r>0&&(n[o-1][ve]=t),r<i-Q?(t[ve]=n[o],Da(n,Q+r,t)):(n.push(t),t[ve]=null),t[Z]=n;let s=t[_t];s!==null&&n!==s&&Bh(s,t);let a=t[Ue];a!==null&&a.insertView(e),Jo(t),t[_]|=128}function Bh(e,t){let n=e[Yt],r=t[Z];if(ze(r))e[_]|=2;else{let o=r[Z][de];t[de]!==o&&(e[_]|=2)}n===null?e[Yt]=[t]:n.push(t)}var St=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let t=this._lView,n=t[y];return wr(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n}get context(){return this._lView[z]}set context(t){this._lView[z]=t}get destroyed(){return Qt(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[Z];if(Ae(t)){let n=t[ur],r=n?n.indexOf(this):-1;r>-1&&(Ir(t,r),ar(n,r))}this._attachedToViewContainer=!1}Vi(this._lView[y],this._lView)}onDestroy(t){Aa(this._lView,t)}markForCheck(){ml(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[_]&=-129}reattach(){Jo(this._lView),this._lView[_]|=128}detectChanges(){this._lView[_]|=1024,gl(this._lView)}checkNoChanges(){return;try{this.exhaustive??=this._lView[Gt].get(ND,hf)}catch{this.exhaustive=hf}}attachToViewContainerRef(){if(this._appRef)throw new m(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=An(this._lView),n=this._lView[_t];n!==null&&!t&&ll(n,this._lView),Ch(this._lView[y],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new m(902,!1);this._appRef=t;let n=An(this._lView),r=this._lView[_t];r!==null&&!n&&Bh(r,this._lView),Jo(this._lView)}};function zD(e){return On(e._lView)||!!(e._lView[_]&64)}function GD(e){Ko(e._lView)}var Tt=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=WD;constructor(n,r,o){this._declarationLView=n,this._declarationTContainer=r,this.elementRef=o}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,r){return this.createEmbeddedViewImpl(n,r)}createEmbeddedViewImpl(n,r,o){let i=zi(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:r,dehydratedView:o});return new St(i)}}return e})();function WD(){return Wi(K(),D())}function Wi(e,t){return e.type&4?new Tt(t,e,Gn(e,t)):null}function Zn(e,t,n,r,o){let i=e.data[t];if(i===null)i=qD(e,t,n,r,o),jd()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=kd();i.injectorIndex=s===null?-1:s.injectorIndex}return Kt(i,!0),i}function qD(e,t,n,r,o){let i=ja(),s=Va(),a=s?i:i&&i.parent,c=e.data[t]=YD(e,a,n,t,r,o);return ZD(e,c,i,s),c}function ZD(e,t,n,r){e.firstChild===null&&(e.firstChild=t),n!==null&&(r?n.child==null&&t.parent!==null&&(n.child=t):n.next===null&&(n.next=t,t.prev=n))}function YD(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return Ad()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}var Wx=new RegExp(`^(\\d+)*(${av}|${sv})*(.*)`);function QD(e){let t=e[Ta]??[],r=e[Z][j],o=[];for(let i of t)i.data[rh]!==void 0?o.push(i):KD(i,r);e[Ta]=o}function KD(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[nh];for(;n<o;){let i=r.nextSibling;vh(t,r,!1),r=i,n++}}}var JD=()=>null,XD=()=>null;function wc(e,t){return JD(e,t)}function Hh(e,t,n){return XD(e,t,n)}var $h=class{},qi=class{},Ic=class{resolveComponentFactory(t){throw new m(917,!1)}},Zi=class{static NULL=new Ic},Ie=class{},Nr=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>e_()}return e})();function e_(){let e=D(),t=K(),n=Ee(t.index,e);return(ze(n)?n:e)[j]}var Uh=(()=>{class e{static \u0275prov=w({token:e,providedIn:"root",factory:()=>null})}return e})();var mi={},Cc=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){let o=this.injector.get(t,mi,r);return o!==mi||n===mi?o:this.parentInjector.get(t,n,r)}};function bi(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s<t.length;s++){let a=t[s];if(typeof a=="number")i=a;else if(i==1)o=Vo(o,a);else if(i==2){let c=a,l=t[++s];r=Vo(r,c+": "+l+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function se(e,t=0){let n=D();if(n===null)return M(e,t);let r=K();return Zf(r,n,q(e),t)}function zh(e,t,n,r,o){let i=r===null?null:{"":-1},s=o(e,n);if(s!==null){let a=s,c=null,l=null;for(let u of s)if(u.resolveHostDirectives!==null){[a,c,l]=u.resolveHostDirectives(s);break}r_(e,t,n,a,i,c,l)}i!==null&&r!==null&&t_(n,r,i)}function t_(e,t,n){let r=e.localNames=[];for(let o=0;o<t.length;o+=2){let i=n[t[o+1]];if(i==null)throw new m(-301,!1);r.push(t[o],i)}}function n_(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function r_(e,t,n,r,o,i,s){let a=r.length,c=!1;for(let h=0;h<a;h++){let f=r[h];!c&&Oe(f)&&(c=!0,n_(e,n,h)),sc(wi(n,t),e,f.type)}l_(n,e.data.length,a);for(let h=0;h<a;h++){let f=r[h];f.providersResolver&&f.providersResolver(f)}let l=!1,u=!1,d=Eh(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let h=0;h<a;h++){let f=r[h];if(n.mergedAttrs=Vn(n.mergedAttrs,f.hostAttrs),i_(e,n,t,d,f),c_(d,f,o),s!==null&&s.has(f)){let[v,C]=s.get(f);n.directiveToIndex.set(f.type,[d,v+n.directiveStart,C+n.directiveStart])}else(i===null||!i.has(f))&&n.directiveToIndex.set(f.type,d);f.contentQueries!==null&&(n.flags|=4),(f.hostBindings!==null||f.hostAttrs!==null||f.hostVars!==0)&&(n.flags|=64);let g=f.type.prototype;!l&&(g.ngOnChanges||g.ngOnInit||g.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),l=!0),!u&&(g.ngOnChanges||g.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),u=!0),d++}o_(e,n,i)}function o_(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let o=e.data[r];if(n===null||!n.has(o))pf(0,t,o,r),pf(1,t,o,r),mf(t,r,!1);else{let i=n.get(o);gf(0,t,i,r),gf(1,t,i,r),mf(t,r,!0)}}}function pf(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s;e===0?s=t.inputs??={}:s=t.outputs??={},s[i]??=[],s[i].push(r),Gh(t,i)}}function gf(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s=o[i],a;e===0?a=t.hostDirectiveInputs??={}:a=t.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,i),Gh(t,s)}}function Gh(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function mf(e,t,n){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!n&&o===null||n&&i===null||ol(e)){e.initialInputs??=[],e.initialInputs.push(null);return}let s=null,a=0;for(;a<r.length;){let c=r[a];if(c===0){a+=4;continue}else if(c===5){a+=2;continue}else if(typeof c=="number")break;if(!n&&o.hasOwnProperty(c)){let l=o[c];for(let u of l)if(u===t){s??=[],s.push(c,r[a+1]);break}}else if(n&&i.hasOwnProperty(c)){let l=i[c];for(let u=0;u<l.length;u+=2)if(l[u]===t){s??=[],s.push(l[u+1],r[a+1]);break}}a+=2}e.initialInputs??=[],e.initialInputs.push(s)}function i_(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=pt(o.type,!0)),s=new nn(i,Oe(o),se,null);e.blueprint[r]=s,n[r]=s,s_(e,t,r,Eh(e,n,o.hostVars,pe),o)}function s_(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;a_(s)!=a&&s.push(a),s.push(n,r,i)}}function a_(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function c_(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Oe(t)&&(n[""]=e)}}function l_(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function yl(e,t,n,r,o,i,s,a){let c=t[y],l=c.consts,u=we(l,s),d=Zn(c,e,n,r,u);return i&&zh(c,t,d,we(l,a),o),d.mergedAttrs=Vn(d.mergedAttrs,d.attrs),d.attrs!==null&&bi(d,d.attrs,!1),d.mergedAttrs!==null&&bi(d,d.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,d),d}function vl(e,t){Bf(e,t),Ma(t)&&e.queries.elementEnd(t)}function Wh(e,t,n,r,o,i){let s=t.consts,a=we(s,o),c=Zn(t,e,n,r,a);if(c.mergedAttrs=Vn(c.mergedAttrs,c.attrs),i!=null){let l=we(s,i);c.localNames=[];for(let u=0;u<l.length;u+=2)c.localNames.push(l[u],-1)}return c.attrs!==null&&bi(c,c.attrs,!1),c.mergedAttrs!==null&&bi(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}function Dl(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function qh(e,t,n){return e[t]=n}function Ce(e,t,n){if(n===pe)return!1;let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function u_(e,t,n,r){let o=Ce(e,t,n);return Ce(e,t+1,r)||o}function yi(e,t,n){return function r(o){let i=wt(e)?Ee(e.index,t):t;ml(i,5);let s=t[z],a=yf(t,s,n,o),c=r.__ngNextListenerFn__;for(;c;)a=yf(t,s,c,o)&&a,c=c.__ngNextListenerFn__;return a}}function yf(e,t,n,r){let o=I(null);try{return R(6,t,n),n(r)!==!1}catch(i){return SD(e,i),!1}finally{R(7,t,n),I(o)}}function Zh(e,t,n,r,o,i,s,a){let c=Rn(e),l=!1,u=null;if(!r&&c&&(u=d_(t,n,i,e.index)),u!==null){let d=u.__ngLastListenerFn__||u;d.__ngNextListenerFn__=s,u.__ngLastListenerFn__=s,l=!0}else{let d=Pe(e,n),h=r?r(d):d;lv(n,h,i,a);let f=o.listen(h,i,a),g=r?v=>r(_e(v[e.index])):e.index;Yh(g,t,n,i,a,f,!1)}return l}function d_(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;i<o.length-1;i+=2){let s=o[i];if(s===n&&o[i+1]===r){let a=t[xn],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function Yh(e,t,n,r,o,i,s){let a=t.firstCreatePass?Pa(t):null,c=Oa(n),l=c.length;c.push(o,i),a&&a.push(r,e,l,(l+1)*(s?-1:1))}function vf(e,t,n,r,o,i){let s=t[n],a=t[y],l=a.data[n].outputs[r],d=s[l].subscribe(i);Yh(e.index,a,t,o,i,d,!0)}var bc=Symbol("BINDING");var Sc=class extends Zi{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=Dt(t);return new Hn(n,this.ngModule)}};function f_(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&ji.SignalBased)!==0};return o&&(i.transform=o),i})}function h_(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function p_(e,t,n){let r=t instanceof ce?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new Cc(n,r):n}function g_(e){let t=e.get(Ie,null);if(t===null)throw new m(407,!1);let n=e.get(Uh,null),r=e.get(xe,null);return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r,ngReflect:!1}}function m_(e,t){let n=(e.selectors[0][0]||"div").toLowerCase();return mh(t,n,n==="svg"?xa:n==="math"?Cd:null)}var Hn=class extends qi{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=f_(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=h_(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=zv(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o,i,s){R(22);let a=I(null);try{let c=this.componentDef,l=y_(r,c,s,i),u=p_(c,o||this.ngModule,t),d=g_(u),h=d.rendererFactory.createRenderer(null,c),f=r?pD(h,r,c.encapsulation,u):m_(c,h),g=s?.some(Df)||i?.some(T=>typeof T!="function"&&T.bindings.some(Df)),v=sl(null,l,null,512|_h(c),null,null,d,h,u,null,sh(f,u,!0));v[k]=f,ni(v);let C=null;try{let T=yl(k,v,2,"#host",()=>l.directiveRegistry,!0,0);f&&(Dh(h,f,T),Bn(f,v)),Hi(l,v,T),Jc(l,T,v),vl(l,T),n!==void 0&&D_(T,this.ngContentSelectors,n),C=Ee(T.index,v),v[z]=C[z],pl(l,v,null)}catch(T){throw C!==null&&cc(C),cc(v),T}finally{R(23),ri()}return new Si(this.componentType,v,!!g)}finally{I(a)}}};function y_(e,t,n,r){let o=e?["ng-version","20.1.7"]:Gv(t.selectors[0]),i=null,s=null,a=0;if(n)for(let u of n)a+=u[bc].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[bc].requiredVars;let f=u+1;h.create&&(h.targetIdx=f,(i??=[]).push(h)),h.update&&(h.targetIdx=f,(s??=[]).push(h))}}let c=[t];if(r)for(let u of r){let d=typeof u=="function"?u:u.type,h=Wo(d);c.push(h)}return il(0,null,v_(i,s),1,a,c,null,null,null,[o],null)}function v_(e,t){return!e&&!t?null:n=>{if(n&1&&e)for(let r of e)r.create();if(n&2&&t)for(let r of t)r.update()}}function Df(e){let t=e[bc].kind;return t==="input"||t==="twoWay"}var Si=class extends $h{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=dr(n[y],k),this.location=Gn(this._tNode,n),this.instance=Ee(this._tNode.index,n)[z],this.hostView=this.changeDetectorRef=new St(n,void 0),this.componentType=t}setInput(t,n){this._hasInputBindings;let r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let o=this._rootLView,i=hl(r,o[y],o,t,n);this.previousInputValues.set(t,n);let s=Ee(r.index,o);ml(s,1)}get injector(){return new tn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function D_(e,t,n){let r=e.projection=[];for(let o=0;o<t.length;o++){let i=n[o];r.push(i!=null&&i.length?Array.from(i):null)}}var rt=(()=>{class e{static __NG_ELEMENT_ID__=__}return e})();function __(){let e=K();return Kh(e,D())}var E_=rt,Qh=class extends E_{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Gn(this._hostTNode,this._hostLView)}get injector(){return new tn(this._hostTNode,this._hostLView)}get parentInjector(){let t=qc(this._hostTNode,this._hostLView);if($f(t)){let n=_i(t,this._hostLView),r=Di(t),o=n[y].data[r+8];return new tn(o,n)}else return new tn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=_f(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-Q}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=wc(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,Er(this._hostTNode,s)),a}createComponent(t,n,r,o,i,s,a){let c=t&&!Ay(t),l;if(c)l=n;else{let C=n||{};l=C.index,r=C.injector,o=C.projectableNodes,i=C.environmentInjector||C.ngModuleRef,s=C.directives,a=C.bindings}let u=c?t:new Hn(Dt(t)),d=r||this.parentInjector;if(!i&&u.ngModule==null){let T=(c?d:this.parentInjector).get(ce,null);T&&(i=T)}let h=Dt(u.componentType??{}),f=wc(this._lContainer,h?.id??null),g=f?.firstChild??null,v=u.create(d,o,g,i,s,a);return this.insertImpl(v.hostView,l,Er(this._hostTNode,f)),v}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(Sd(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[Z],l=new Qh(c,c[De],c[Z]);l.detach(l.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return Gi(s,o,i,r),t.attachToViewContainerRef(),Da(Ka(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=_f(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=Ir(this._lContainer,n);r&&(ar(Ka(this._lContainer),n),Vi(r[y],r))}detach(t){let n=this._adjustIndex(t,-1),r=Ir(this._lContainer,n);return r&&ar(Ka(this._lContainer),n)!=null?new St(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function _f(e){return e[ur]}function Ka(e){return e[ur]||(e[ur]=[])}function Kh(e,t){let n,r=t[e.index];return Ae(r)?n=r:(n=Lh(r,t,null,e),t[e.index]=n,al(t,n)),I_(n,t,e,r),new Qh(n,e,t)}function w_(e,t){let n=e[j],r=n.createComment(""),o=Pe(t,e),i=n.parentNode(o);return Ci(n,i,r,n.nextSibling(o),!1),r}var I_=S_,C_=()=>!1;function b_(e,t,n){return C_(e,t,n)}function S_(e,t,n,r){if(e[Et])return;let o;n.type&8?o=_e(r):o=w_(t,n),e[Et]=o}var Tc=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},Mc=class e{queries;constructor(t=[]){this.queries=t}createEmbeddedView(t){let n=t.queries;if(n!==null){let r=t.contentQueries!==null?t.contentQueries[0]:n.length,o=[];for(let i=0;i<r;i++){let s=n.getByIndex(i),a=this.queries[s.indexInDeclarationView];o.push(a.clone())}return new e(o)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)_l(t,n).matches!==null&&this.queries[n].setDirty()}},xc=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=P_(t):this.predicate=t}},Nc=class e{queries;constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){let o=n!==null?n.length:0,i=this.getByIndex(r).embeddedTView(t,o);i&&(i.indexInDeclarationView=r,n!==null?n.push(i):n=[i])}return n!==null?new e(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}},Rc=class e{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(t,n=-1){this.metadata=t,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new e(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let n=this._declarationNodeIndex,r=t.parent;for(;r!==null&&r.type&8&&r.index!==n;)r=r.parent;return n===(r!==null?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){let r=this.metadata.predicate;if(Array.isArray(r))for(let o=0;o<r.length;o++){let i=r[o];this.matchTNodeWithReadOption(t,n,T_(n,i)),this.matchTNodeWithReadOption(t,n,gi(n,t,i,!1,!1))}else r===Tt?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,gi(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===he||o===rt||o===Tt&&n.type&4)this.addMatch(n.index,-2);else{let i=gi(n,t,o,!1,!1);i!==null&&this.addMatch(n.index,i)}else this.addMatch(n.index,r)}}addMatch(t,n){this.matches===null?this.matches=[t,n]:this.matches.push(t,n)}};function T_(e,t){let n=e.localNames;if(n!==null){for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1]}return null}function M_(e,t){return e.type&11?Gn(e,t):e.type&4?Wi(e,t):null}function x_(e,t,n,r){return n===-1?M_(t,e):n===-2?N_(e,t,r):_r(e,e[y],n,t)}function N_(e,t,n){if(n===he)return Gn(t,e);if(n===Tt)return Wi(t,e);if(n===rt)return Kh(t,e)}function Jh(e,t,n,r){let o=t[Ue].queries[r];if(o.matches===null){let i=e.data,s=n.matches,a=[];for(let c=0;s!==null&&c<s.length;c+=2){let l=s[c];if(l<0)a.push(null);else{let u=i[l];a.push(x_(t,u,s[c+1],n.metadata.read))}}o.matches=a}return o.matches}function Ac(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=Jh(e,t,o,n);for(let a=0;a<i.length;a+=2){let c=i[a];if(c>0)r.push(s[a/2]);else{let l=i[a+1],u=t[-c];for(let d=Q;d<u.length;d++){let h=u[d];h[_t]===h[Z]&&Ac(h[y],h,l,r)}if(u[Yt]!==null){let d=u[Yt];for(let h=0;h<d.length;h++){let f=d[h];Ac(f[y],f,l,r)}}}}}return r}function R_(e,t){return e[Ue].queries[t].queryList}function A_(e,t,n){let r=new Ii((n&4)===4);return xd(e,t,r,r.destroy),(t[Ue]??=new Mc).queries.push(new Tc(r))-1}function O_(e,t,n){let r=H();return r.firstCreatePass&&(k_(r,new xc(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),A_(r,D(),t)}function P_(e){return e.split(",").map(t=>t.trim())}function k_(e,t,n){e.queries===null&&(e.queries=new Nc),e.queries.track(new Rc(t,n))}function _l(e,t){return e.queries.getByIndex(t)}function F_(e,t){let n=e[y],r=_l(n,t);return r.crossesNgTemplate?Ac(n,e,t,[]):Jh(n,e,r,t)}var Ef=new Set;function ot(e){Ef.has(e)||(Ef.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var Cr=class{};var br=class extends Cr{injector;componentFactoryResolver=new Sc(this);instance=null;constructor(t){super();let n=new $t([...t.providers,{provide:Cr,useValue:this},{provide:Zi,useValue:this.componentFactoryResolver}],t.parent||Tn(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Xh(e,t,n=null){return new br({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var L_=(()=>{class e{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=wa(!1,n.type),o=r.length>0?Xh([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=w({token:e,providedIn:"environment",factory:()=>new e(M(ce))})}return e})();function Yi(e){return Un(()=>{let t=ep(e),n=X(Y({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Zc.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(L_).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Xe.Emulated,styles:e.styles||ie,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&ot("NgStandalone"),tp(n);let r=e.dependencies;return n.directiveDefs=wf(r,j_),n.pipeDefs=wf(r,yd),n.id=H_(n),n})}function j_(e){return Dt(e)||Wo(e)}function on(e){return Un(()=>({type:e.type,bootstrap:e.bootstrap||ie,declarations:e.declarations||ie,imports:e.imports||ie,exports:e.exports||ie,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function V_(e,t){if(e==null)return Ne;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a,c;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i,c=o[3]||null):(i=o,s=o,a=ji.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function B_(e){if(e==null)return Ne;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function xt(e){return Un(()=>{let t=ep(e);return tp(t),t})}function Rr(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 ep(e){let t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputConfig:e.inputs||Ne,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||ie,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,inputs:V_(e.inputs,t),outputs:B_(e.outputs),debugInfo:null}}function tp(e){e.features?.forEach(t=>t(e))}function wf(e,t){return e?()=>{let n=typeof e=="function"?e():e,r=[];for(let o of n){let i=t(o);i!==null&&r.push(i)}return r}:null}function H_(e){let t=0,n=typeof e.consts=="function"?"":e.consts,r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,n,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(let i of r.join("|"))t=Math.imul(31,t)+i.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function $_(e){return Object.getPrototypeOf(e.prototype).constructor}function El(e){let t=$_(e.type),n=!0,r=[e];for(;t;){let o;if(Oe(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new m(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=Ja(e.inputs),s.declaredInputs=Ja(e.declaredInputs),s.outputs=Ja(e.outputs);let a=o.hostBindings;a&&q_(e,a);let c=o.viewQuery,l=o.contentQueries;if(c&&G_(e,c),l&&W_(e,l),U_(e,o),ld(e.outputs,o.outputs),Oe(o)&&o.data.animation){let u=e.data;u.animation=(u.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s<i.length;s++){let a=i[s];a&&a.ngInherit&&a(e),a===El&&(n=!1)}}t=Object.getPrototypeOf(t)}z_(r)}function U_(e,t){for(let n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;let r=t.inputs[n];r!==void 0&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n])}}function z_(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){let o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=Vn(o.hostAttrs,n=Vn(n,o.hostAttrs))}}function Ja(e){return e===Ne?{}:e===ie?[]:e}function G_(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function W_(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function q_(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function Z_(e){let t=n=>{let r=Array.isArray(e);n.hostDirectives===null?(n.resolveHostDirectives=Y_,n.hostDirectives=r?e.map(Oc):[e]):r?n.hostDirectives.unshift(...e.map(Oc)):n.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function Y_(e){let t=[],n=!1,r=null,o=null;for(let i=0;i<e.length;i++){let s=e[i];if(s.hostDirectives!==null){let a=t.length;r??=new Map,o??=new Map,np(s,t,r),o.set(s,[a,t.length-1])}i===0&&Oe(s)&&(n=!0,t.push(s))}for(let i=n?1:0;i<e.length;i++)t.push(e[i]);return[t,r,o]}function np(e,t,n){if(e.hostDirectives!==null)for(let r of e.hostDirectives)if(typeof r=="function"){let o=r();for(let i of o)If(Oc(i),t,n)}else If(r,t,n)}function If(e,t,n){let r=Wo(e.directive);Q_(r.declaredInputs,e.inputs),np(r,t,n),n.set(r,e),t.push(r)}function Oc(e){return typeof e=="function"?{directive:q(e),inputs:Ne,outputs:Ne}:{directive:q(e.directive),inputs:Cf(e.inputs),outputs:Cf(e.outputs)}}function Cf(e){if(e===void 0||e.length===0)return Ne;let t={};for(let n=0;n<e.length;n+=2)t[e[n]]=e[n+1];return t}function Q_(e,t){for(let n in t)if(t.hasOwnProperty(n)){let r=t[n],o=e[n];e[r]=o}}function rp(e,t,n,r,o,i,s,a){if(n.firstCreatePass){e.mergedAttrs=Vn(e.mergedAttrs,e.attrs);let u=e.tView=il(2,e,o,i,s,n.directiveRegistry,n.pipeRegistry,null,n.schemas,n.consts,null);n.queries!==null&&(n.queries.template(n,e),u.queries=n.queries.embeddedTView(e))}a&&(e.flags|=a),Kt(e,!1);let c=J_(n,t,e,r);ii()&&ul(n,t,c,e),Bn(c,t);let l=Lh(c,t,c,e);t[r+k]=l,al(t,l),b_(l,e,t)}function K_(e,t,n,r,o,i,s,a,c,l,u){let d=n+k,h;return t.firstCreatePass?(h=Zn(t,d,4,s||null,a||null),Xo()&&zh(t,e,h,we(t.consts,l),fl),Bf(t,h)):h=t.data[d],rp(h,e,t,n,r,o,i,c),Rn(h)&&Hi(t,e,h),l!=null&&qn(e,h,u),h}function Ti(e,t,n,r,o,i,s,a,c,l,u){let d=n+k,h;if(t.firstCreatePass){if(h=Zn(t,d,4,s||null,a||null),l!=null){let f=we(t.consts,l);h.localNames=[];for(let g=0;g<f.length;g+=2)h.localNames.push(f[g],-1)}}else h=t.data[d];return rp(h,e,t,n,r,o,i,c),l!=null&&qn(e,h,u),h}function op(e,t,n,r,o,i,s,a){let c=D(),l=H(),u=we(l.consts,i);return K_(c,l,e,t,n,r,o,u,void 0,s,a),op}var J_=X_;function X_(e,t,n,r){return mr(!0),t[j].createComment("")}var Qi=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(Qi||{}),sn=new E(""),ip=!1,Pc=class extends x{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,wd()&&(this.destroyRef=p(Qe,{optional:!0})??void 0,this.pendingTasks=p(Jt,{optional:!0})??void 0)}emit(t){let n=I(null);try{super.next(t)}finally{I(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let c=t;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof P&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{t(n)}finally{r!==void 0&&this.pendingTasks?.remove(r)}})}}},J=Pc;function sp(e){let t,n;function r(){e=Xt;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function bf(e){return queueMicrotask(()=>e()),()=>{e=Xt}}var wl="isAngularZone",Mi=wl+"_ID",eE=0,F=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new J(!1);onMicrotaskEmpty=new J(!1);onStable=new J(!1);onError=new J(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=ip}=t;if(typeof Zone>"u")throw new m(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,rE(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(wl)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new m(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new m(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,tE,Xt,Xt);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}},tE={};function Il(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 nE(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){sp(()=>{e.callbackScheduled=!1,kc(e),e.isCheckStableRunning=!0,Il(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),kc(e)}function rE(e){let t=()=>{nE(e)},n=eE++;e._inner=e._inner.fork({name:"angular",properties:{[wl]:!0,[Mi]:n,[Mi+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(oE(c))return r.invokeTask(i,s,a,c);try{return Sf(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Tf(e)}},onInvoke:(r,o,i,s,a,c,l)=>{try{return Sf(e),r.invoke(i,s,a,c,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!iE(c)&&t(),Tf(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,kc(e),Il(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 kc(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Sf(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Tf(e){e._nesting--,Il(e)}var Sr=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new J;onMicrotaskEmpty=new J;onStable=new J;onError=new J;run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}};function oE(e){return ap(e,"__ignore_ng_zone__")}function iE(e){return ap(e,"__scheduler_tick__")}function ap(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var Cl=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=w({token:e,providedIn:"root",factory:()=>new e})}return e})(),cp=[0,1,2,3],lp=(()=>{class e{ngZone=p(F);scheduler=p(xe);errorHandler=p(ue,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){p(sn,{optional:!0})}execute(){let n=this.sequences.size>0;n&&R(16),this.executing=!0;for(let r of cp)for(let o of this.sequences)if(!(o.erroredOrDestroyed||!o.hooks[r]))try{o.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let i=o.hooks[r];return i(o.pipelinedValue)},o.snapshot))}catch(i){o.erroredOrDestroyed=!0,this.errorHandler?.handleError(i)}this.executing=!1;for(let r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(let r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),n&&R(17)}register(n){let{view:r}=n;r!==void 0?((r[Zt]??=[]).push(n),It(r),r[_]|=8192):this.executing?this.deferredRegistrations.add(n):this.addSequence(n)}addSequence(n){this.sequences.add(n),this.scheduler.notify(7)}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}maybeTrace(n,r){return r?r.run(Qi.AFTER_NEXT_RENDER,n):n()}static \u0275prov=w({token:e,providedIn:"root",factory:()=>new e})}return e})(),xi=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(t,n,r,o,i,s=null){this.impl=t,this.hooks=n,this.view=r,this.once=o,this.snapshot=s,this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let t=this.view?.[Zt];t&&(this.view[Zt]=t.filter(n=>n!==this))}};function Ki(e,t){let n=t?.injector??p(ee);return ot("NgAfterNextRender"),aE(e,n,t,!0)}function sE(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function aE(e,t,n,r){let o=t.get(Cl);o.impl??=t.get(lp);let i=t.get(sn,null,{optional:!0}),s=n?.manualCleanup!==!0?t.get(Qe):null,a=t.get(Fn,null,{optional:!0}),c=new xi(o.impl,sE(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var bl=new E("");function Ji(e){return!!e&&typeof e.then=="function"}function Sl(e){return!!e&&typeof e.subscribe=="function"}var up=new E("");var Tl=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=p(up,{optional:!0})??[];injector=p(ee);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=Zo(this.injector,o);if(Ji(i))n.push(i);else if(Sl(i)){let s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});n.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),n.length===0&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),dp=new E("");function fp(){Fs(()=>{let e="";throw new m(600,e)})}function hp(e){return e.isBoundToModule}var cE=10;var it=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=p(Ke);afterRenderManager=p(Cl);zonelessEnabled=p(kn);rootEffectScheduler=p(yr);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new x;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=p(Jt);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(qe(n=>!n))}constructor(){p(sn,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=p(ce);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=ee.NULL){return this._injector.get(F).run(()=>{R(10);let s=n instanceof qi;if(!this._injector.get(Tl).done){let g="";throw new m(405,g)}let c;s?c=n:c=this._injector.get(Zi).resolveComponentFactory(n),this.componentTypes.push(c.componentType);let l=hp(c)?void 0:this._injector.get(Cr),u=r||c.selector,d=c.create(o,[],u,l),h=d.location.nativeElement,f=d.injector.get(bl,null);return f?.registerApplication(h),d.onDestroy(()=>{this.detachView(d.hostView),Dr(this.components,d),f?.unregisterApplication(h)}),this._loadComponent(d),R(11,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){R(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(Qi.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new m(101,!1);let n=I(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,I(n),this.afterTick.next(),R(13)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Ie,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<cE;)R(14),this.synchronizeOnce(),R(15)}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let n=!1;if(this.dirtyFlags&7){let r=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:o}of this.allViews){if(!r&&!On(o))continue;let i=r&&!this.zonelessEnabled?0:1;gl(o,i),n=!0}if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}n||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>On(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){let r=n;Dr(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView);try{this.tick()}catch(o){this.internalErrorHandler(o)}this.components.push(n),this._injector.get(dp,[]).forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Dr(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new m(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Dr(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function Ml(e,t,n,r){let o=D(),i=Ct();if(Ce(o,i,t)){let s=H(),a=oi();ID(a,o,e,t,n,r)}return Ml}var Fc=class{destroy(t){}updateValue(t,n){}swap(t,n){let r=Math.min(t,n),o=Math.max(t,n),i=this.detach(o);if(o-r>1){let s=this.detach(r);this.attach(r,i),this.attach(o,s)}else this.attach(r,i)}move(t,n){this.attach(n,this.detach(t))}};function Xa(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function lE(e,t,n){let r,o,i=0,s=e.length-1,a=void 0;if(Array.isArray(t)){let c=t.length-1;for(;i<=s&&i<=c;){let l=e.at(i),u=t[i],d=Xa(i,l,i,u,n);if(d!==0){d<0&&e.updateValue(i,u),i++;continue}let h=e.at(s),f=t[c],g=Xa(s,h,c,f,n);if(g!==0){g<0&&e.updateValue(s,f),s--,c--;continue}let v=n(i,l),C=n(s,h),T=n(i,u);if(Object.is(T,C)){let ut=n(c,f);Object.is(ut,v)?(e.swap(i,s),e.updateValue(s,f),c--,s--):e.move(s,i),e.updateValue(i,u),i++;continue}if(r??=new Ni,o??=xf(e,i,s,n),Lc(e,r,i,T))e.updateValue(i,u),i++,s++;else if(o.has(T))r.set(v,e.detach(i)),s--;else{let ut=e.create(i,t[i]);e.attach(i,ut),i++,s++}}for(;i<=c;)Mf(e,r,n,i,t[i]),i++}else if(t!=null){let c=t[Symbol.iterator](),l=c.next();for(;!l.done&&i<=s;){let u=e.at(i),d=l.value,h=Xa(i,u,i,d,n);if(h!==0)h<0&&e.updateValue(i,d),i++,l=c.next();else{r??=new Ni,o??=xf(e,i,s,n);let f=n(i,d);if(Lc(e,r,i,f))e.updateValue(i,d),i++,s++,l=c.next();else if(!o.has(f))e.attach(i,e.create(i,d)),i++,s++,l=c.next();else{let g=n(i,u);r.set(g,e.detach(i)),s--}}}for(;!l.done;)Mf(e,r,n,e.length,l.value),l=c.next()}for(;i<=s;)e.destroy(e.detach(s--));r?.forEach(c=>{e.destroy(c)})}function Lc(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function Mf(e,t,n,r,o){if(Lc(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function xf(e,t,n,r){let o=new Set;for(let i=t;i<=n;i++)o.add(r(i,e.at(i)));return o}var Ni=class{kvMap=new Map;_vMap=void 0;has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let n=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),t(r,n)}}};function uE(e,t,n,r,o,i,s,a){ot("NgControlFlow");let c=D(),l=H(),u=we(l.consts,i);return Ti(c,l,e,t,n,r,o,u,256,s,a),xl}function xl(e,t,n,r,o,i,s,a){ot("NgControlFlow");let c=D(),l=H(),u=we(l.consts,i);return Ti(c,l,e,t,n,r,o,u,512,s,a),xl}function dE(e,t){ot("NgControlFlow");let n=D(),r=Ct(),o=n[r]!==pe?n[r]:-1,i=o!==-1?Ri(n,k+o):void 0,s=0;if(Ce(n,r,e)){let a=I(null);try{if(i!==void 0&&Vh(i,s),e!==-1){let c=k+e,l=Ri(n,c),u=Hc(n[y],c),d=Hh(l,u,n),h=zi(n,u,t,{dehydratedView:d});Gi(l,h,s,Er(u,d))}}finally{I(a)}}else if(i!==void 0){let a=jh(i,s);a!==void 0&&(a[z]=t)}}var jc=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-Q}};function fE(e,t){return t}var Vc=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function hE(e,t,n,r,o,i,s,a,c,l,u,d,h){ot("NgControlFlow");let f=D(),g=H(),v=c!==void 0,C=D(),T=a?s.bind(C[de][z]):s,ut=new Vc(v,T);C[k+e]=ut,Ti(f,g,e+1,t,n,r,o,we(g.consts,i),256),v&&Ti(f,g,e+2,c,l,u,d,we(g.consts,h),512)}var Bc=class extends Fc{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r}get length(){return this.lContainer.length-Q}at(t){return this.getLView(t)[z].$implicit}attach(t,n){let r=n[Mn];this.needsIndexUpdate||=t!==this.length,Gi(this.lContainer,n,t,Er(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,gE(this.lContainer,t)}create(t,n){let r=wc(this.lContainer,this.templateTNode.tView.ssrId),o=zi(this.hostLView,this.templateTNode,new jc(this.lContainer,n,t),{dehydratedView:r});return this.operationsCounter?.recordCreate(),o}destroy(t){Vi(t[y],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[z].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[z].$index=t}getLView(t){return mE(this.lContainer,t)}};function pE(e){let t=I(null),n=Ge();try{let r=D(),o=r[y],i=r[n],s=n+1,a=Ri(r,s);if(i.liveCollection===void 0){let l=Hc(o,s);i.liveCollection=new Bc(a,r,l)}else i.liveCollection.reset();let c=i.liveCollection;if(lE(c,e,i.trackByFn),c.updateIndexes(),i.hasEmptyBlock){let l=Ct(),u=c.length===0;if(Ce(r,l,u)){let d=n+2,h=Ri(r,d);if(u){let f=Hc(o,d),g=Hh(h,f,r),v=zi(r,f,void 0,{dehydratedView:g});Gi(h,v,0,Er(f,g))}else o.firstUpdatePass&&QD(h),Vh(h,0)}}}finally{I(t)}}function Ri(e,t){return e[t]}function gE(e,t){return Ir(e,t)}function mE(e,t){return jh(e,t)}function Hc(e,t){return dr(e,t)}function pp(e,t,n){let r=D(),o=Ct();if(Ce(r,o,t)){let i=H(),s=oi();vD(s,r,e,t,r[j],n)}return pp}function $c(e,t,n,r,o){hl(t,e,n,o?"class":"style",r)}function Nl(e,t,n,r){let o=D(),i=o[y],s=e+k,a=i.firstCreatePass?yl(s,o,2,t,fl,Xo(),n,r):i.data[s];if($i(a,o,e,t,mp),Rn(a)){let c=o[y];Hi(c,o,a),Jc(c,a,o)}return r!=null&&qn(o,a),Nl}function Rl(){let e=H(),t=K(),n=Ui(t);return e.firstCreatePass&&vl(e,n),Fa(n)&&La(),ka(),n.classesWithoutHost!=null&&jy(n)&&$c(e,n,D(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&Vy(n)&&$c(e,n,D(),n.stylesWithoutHost,!1),Rl}function gp(e,t,n,r){return Nl(e,t,n,r),Rl(),gp}function Xi(e,t,n,r){let o=D(),i=o[y],s=e+k,a=i.firstCreatePass?Wh(s,i,2,t,n,r):i.data[s];return $i(a,o,e,t,mp),r!=null&&qn(o,a),Xi}function es(){let e=K(),t=Ui(e);return Fa(t)&&La(),ka(),es}function Al(e,t,n,r){return Xi(e,t,n,r),es(),Al}var mp=(e,t,n,r,o)=>(mr(!0),mh(t[j],r,Zd()));function Ol(e,t,n){let r=D(),o=r[y],i=e+k,s=o.firstCreatePass?yl(i,r,8,"ng-container",fl,Xo(),t,n):o.data[i];if($i(s,r,e,"ng-container",_p),Rn(s)){let a=r[y];Hi(a,r,s),Jc(a,s,r)}return n!=null&&qn(r,s),Ol}function ts(){let e=H(),t=K(),n=Ui(t);return e.firstCreatePass&&vl(e,n),ts}function yp(e,t,n){return Ol(e,t,n),ts(),yp}function Pl(e,t,n){let r=D(),o=r[y],i=e+k,s=o.firstCreatePass?Wh(i,o,8,"ng-container",t,n):o.data[i];return $i(s,r,e,"ng-container",_p),n!=null&&qn(r,s),Pl}function vp(){let e=K(),t=Ui(e);return ts}function Dp(e,t,n){return Pl(e,t,n),vp(),Dp}var _p=(e,t,n,r,o)=>(mr(!0),Zv(t[j],""));function yE(){return D()}function Ep(e,t,n){let r=D(),o=Ct();if(Ce(r,o,t)){let i=H(),s=oi();Th(s,r,e,t,r[j],n)}return Ep}var en=void 0;function vE(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var DE=["en",[["a","p"],["AM","PM"],en],[["AM","PM"],en,en],[["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"]],en,[["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"]],en,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",en,"{1} 'at' {0}",en],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",vE],ec={};function ge(e){let t=_E(e),n=Nf(t);if(n)return n;let r=t.split("-")[0];if(n=Nf(r),n)return n;if(r==="en")return DE;throw new m(701,!1)}function Nf(e){return e in ec||(ec[e]=ye.ng&&ye.ng.common&&ye.ng.common.locales&&ye.ng.common.locales[e]),ec[e]}var G=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}(G||{});function _E(e){return e.toLowerCase().replace(/_/g,"-")}var Ar="en-US";var EE=Ar;function wp(e){typeof e=="string"&&(EE=e.toLowerCase().replace(/_/g,"-"))}function Ip(e,t,n){let r=D(),o=H(),i=K();return wE(o,r,r[j],i,e,t,n),Ip}function Cp(e,t,n){let r=D(),o=H(),i=K();return(i.type&3||n)&&Zh(i,o,r,n,r[j],e,t,yi(i,r,t)),Cp}function wE(e,t,n,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=yi(r,t,i),Zh(r,e,t,s,n,o,i,c)&&(a=!1)),a){let l=r.outputs?.[o],u=r.hostDirectiveOutputs?.[o];if(u&&u.length)for(let d=0;d<u.length;d+=2){let h=u[d],f=u[d+1];c??=yi(r,t,i),vf(r,t,h,f,o,c)}if(l&&l.length)for(let d of l)c??=yi(r,t,i),vf(r,t,d,o,o,c)}}function IE(e=1){return Gd(e)}function bp(e,t,n){O_(e,t,n)}function Sp(e){let t=D(),n=H(),r=za();ti(r+1);let o=_l(n,r);if(e.dirty&&bd(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=F_(t,r);e.reset(i,Xy),e.notifyOnChanges()}return!0}return!1}function Tp(){return R_(D(),za())}function CE(e){let t=Ba();return fr(t,k+e)}function fi(e,t){return e<<17|t<<2}function rn(e){return e>>17&32767}function bE(e){return(e&2)==2}function SE(e,t){return e&131071|t<<17}function Uc(e){return e|2}function $n(e){return(e&131068)>>2}function tc(e,t){return e&-131069|t<<2}function TE(e){return(e&1)===1}function zc(e){return e|1}function ME(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=rn(s),c=$n(s);e[r]=n;let l=!1,u;if(Array.isArray(n)){let d=n;u=d[1],(u===null||Sn(d,u)>0)&&(l=!0)}else u=n;if(o)if(c!==0){let h=rn(e[a+1]);e[r+1]=fi(h,a),h!==0&&(e[h+1]=tc(e[h+1],r)),e[a+1]=SE(e[a+1],r)}else e[r+1]=fi(a,0),a!==0&&(e[a+1]=tc(e[a+1],r)),a=r;else e[r+1]=fi(c,0),a===0?a=r:e[c+1]=tc(e[c+1],r),c=r;l&&(e[r+1]=Uc(e[r+1])),Rf(e,u,r,!0),Rf(e,u,r,!1),xE(t,u,e,r,i),s=fi(a,c),i?t.classBindings=s:t.styleBindings=s}function xE(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&Sn(i,t)>=0&&(n[r+1]=zc(n[r+1]))}function Rf(e,t,n,r){let o=e[n+1],i=t===null,s=r?rn(o):$n(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],l=e[s+1];NE(c,t)&&(a=!0,e[s+1]=r?zc(l):Uc(l)),s=r?rn(l):$n(l)}a&&(e[n+1]=r?Uc(o):zc(o))}function NE(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Sn(e,t)>=0:!1}var Fe={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function RE(e){return e.substring(Fe.key,Fe.keyEnd)}function AE(e){return OE(e),Mp(e,xp(e,0,Fe.textEnd))}function Mp(e,t){let n=Fe.textEnd;return n===t?-1:(t=Fe.keyEnd=PE(e,Fe.key=t,n),xp(e,t,n))}function OE(e){Fe.key=0,Fe.keyEnd=0,Fe.value=0,Fe.valueEnd=0,Fe.textEnd=e.length}function xp(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function PE(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function kl(e,t,n){return Np(e,t,n,!1),kl}function Or(e,t){return Np(e,t,null,!0),Or}function kE(e){LE(UE,FE,e,!0)}function FE(e,t){for(let n=AE(t);n>=0;n=Mp(t,n))zo(e,RE(t),!0)}function Np(e,t,n,r){let o=D(),i=H(),s=Ua(2);if(i.firstUpdatePass&&Ap(i,e,s,r),t!==pe&&Ce(o,s,t)){let a=i.data[Ge()];Op(i,a,o,o[j],e,o[s+1]=GE(t,n),r,s)}}function LE(e,t,n,r){let o=H(),i=Ua(2);o.firstUpdatePass&&Ap(o,null,i,r);let s=D();if(n!==pe&&Ce(s,i,n)){let a=o.data[Ge()];if(Pp(a,r)&&!Rp(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=Vo(c,n||"")),$c(o,a,s,n,r)}else zE(o,a,s,s[j],s[i+1],s[i+1]=$E(e,t,n),r,i)}}function Rp(e,t){return t>=e.expandoStartIndex}function Ap(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[Ge()],s=Rp(e,n);Pp(i,r)&&t===null&&!s&&(t=!1),t=jE(o,i,t,r),ME(o,i,t,n,s,r)}}function jE(e,t,n,r){let o=Hd(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=nc(null,e,t,n,r),n=Tr(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=nc(o,e,t,n,r),i===null){let c=VE(e,t,r);c!==void 0&&Array.isArray(c)&&(c=nc(null,e,t,c[1],r),c=Tr(c,t.attrs,r),BE(e,t,r,c))}else i=HE(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function VE(e,t,n){let r=n?t.classBindings:t.styleBindings;if($n(r)!==0)return e[rn(r)]}function BE(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[rn(o)]=r}function HE(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=Tr(r,s,n)}return Tr(r,t.attrs,n)}function nc(e,t,n,r,o){let i=null,s=n.directiveEnd,a=n.directiveStylingLast;for(a===-1?a=n.directiveStart:a++;a<s&&(i=t[a],r=Tr(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function Tr(e,t,n){let r=n?1:2,o=-1;if(t!==null)for(let i=0;i<t.length;i++){let s=t[i];typeof s=="number"?o=s:o===r&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),zo(e,s,n?!0:t[++i]))}return e===void 0?null:e}function $E(e,t,n){if(n==null||n==="")return ie;let r=[],o=je(n);if(Array.isArray(o))for(let i=0;i<o.length;i++)e(r,o[i],!0);else if(typeof o=="object")for(let i in o)o.hasOwnProperty(i)&&e(r,i,o[i]);else typeof o=="string"&&t(r,o);return r}function UE(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&zo(e,r,n)}function zE(e,t,n,r,o,i,s,a){o===pe&&(o=ie);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,f=l<i.length?i[l+1]:void 0,g=null,v;u===d?(c+=2,l+=2,h!==f&&(g=d,v=f)):d===null||u!==null&&u<d?(c+=2,g=u):(l+=2,g=d,v=f),g!==null&&Op(e,t,n,r,g,v,s,a),u=c<o.length?o[c]:null,d=l<i.length?i[l]:null}}function Op(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,l=c[a+1],u=TE(l)?Af(c,t,n,o,$n(l),s):void 0;if(!Ai(u)){Ai(i)||bE(l)&&(i=Af(c,null,n,o,a,s));let d=Na(Ge(),n);hD(r,s,d,o,i)}}function Af(e,t,n,r,o,i){let s=t===null,a;for(;o>0;){let c=e[o],l=Array.isArray(c),u=l?c[1]:c,d=u===null,h=n[o+1];h===pe&&(h=d?ie:void 0);let f=d?Go(h,r):u===r?h:void 0;if(l&&!Ai(f)&&(f=Go(c,r)),Ai(f)&&(a=f,s))return a;let g=e[o+1];o=s?rn(g):$n(g)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=Go(c,r))}return a}function Ai(e){return e!==void 0}function GE(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=ht(je(e)))),e}function Pp(e,t){return(e.flags&(t?8:16))!==0}function WE(e,t=""){let n=D(),r=H(),o=e+k,i=r.firstCreatePass?Zn(r,o,1,t,null):r.data[o],s=qE(r,n,i,t,e);n[o]=s,ii()&&ul(r,n,s,i),Kt(i,!1)}var qE=(e,t,n,r,o)=>(mr(!0),Wv(t[j],r));function kp(e,t,n,r=""){return Ce(e,Ct(),n)?t+zt(n)+r:pe}function Fp(e){return Fl("",e),Fp}function Fl(e,t,n){let r=D(),o=kp(r,e,t,n);return o!==pe&&ZE(r,Ge(),o),Fl}function ZE(e,t,n){let r=Na(t,e);qv(e[j],r,n)}var Lp={};function jp(e){let t=H(),n=D(),r=e+k,o=Zn(t,r,128,null,null);return Kt(o,!1),hr(t,n,r,Lp),jp}function YE(e){ot("NgLet");let t=H(),n=D(),r=Ge();return hr(t,n,r,e),e}function QE(e){let t=Ba(),n=fr(t,k+e);if(n===Lp)throw new m(314,!1);return n}function KE(e){return Ce(D(),Ct(),e)?zt(e):pe}function JE(e,t,n=""){return kp(D(),e,t,n)}function XE(e,t,n){let r=H();if(r.firstCreatePass){let o=Oe(e);Gc(n,r.data,r.blueprint,o,!0),Gc(t,r.data,r.blueprint,o,!1)}}function Gc(e,t,n,r,o){if(e=q(e),Array.isArray(e))for(let i=0;i<e.length;i++)Gc(e[i],t,n,r,o);else{let i=H(),s=D(),a=K(),c=Ht(e)?e:q(e.provide),l=Ca(e),u=a.providerIndexes&1048575,d=a.directiveStart,h=a.providerIndexes>>20;if(Ht(e)||!e.multi){let f=new nn(l,o,se,null),g=oc(c,t,o?u:u+h,d);g===-1?(sc(wi(a,s),i,c),rc(i,e,t.length),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[g]=f,s[g]=f)}else{let f=oc(c,t,u+h,d),g=oc(c,t,u,u+h),v=f>=0&&n[f],C=g>=0&&n[g];if(o&&!C||!o&&!v){sc(wi(a,s),i,c);let T=nw(o?tw:ew,n.length,o,r,l,e);!o&&C&&(n[g].providerFactory=T),rc(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(T),s.push(T)}else{let T=Vp(n[o?g:f],l,!o&&r);rc(i,e,f>-1?f:g,T)}!o&&r&&C&&n[g].componentProviders++}}}function rc(e,t,n,r){let o=Ht(t),i=Ed(t);if(o||i){let c=(i?q(t.useClass):t).prototype.ngOnDestroy;if(c){let l=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let u=l.indexOf(n);u===-1?l.push(n,[r,c]):l[u+1].push(r,c)}else l.push(n,c)}}}function Vp(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function oc(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function ew(e,t,n,r,o){return Wc(this.multi,[])}function tw(e,t,n,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=_r(r,r[y],this.providerFactory.index,o);s=c.slice(0,a),Wc(i,s);for(let l=a;l<c.length;l++)s.push(c[l])}else s=[],Wc(i,s);return s}function Wc(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function nw(e,t,n,r,o,i){let s=new nn(e,n,se,null);return s.multi=[],s.index=t,s.componentProviders=0,Vp(s,o,r&&!n),s}function ns(e,t=[]){return n=>{n.providersResolver=(r,o)=>XE(r,o?o(e):e,t)}}function rw(e,t,n,r){return Hp(D(),gr(),e,t,n,r)}function ow(e,t,n,r,o){return $p(D(),gr(),e,t,n,r,o)}function Bp(e,t){let n=e[t];return n===pe?void 0:n}function Hp(e,t,n,r,o,i){let s=t+n;return Ce(e,s,o)?qh(e,s+1,i?r.call(i,o):r(o)):Bp(e,s+1)}function $p(e,t,n,r,o,i,s){let a=t+n;return u_(e,a,o,i)?qh(e,a+2,s?r.call(s,o,i):r(o,i)):Bp(e,a+2)}function iw(e,t){let n=H(),r,o=e+k;n.firstCreatePass?(r=sw(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];let i=r.factory||(r.factory=pt(r.type,!0)),s,a=oe(se);try{let c=Ei(!1),l=i();return Ei(c),hr(n,D(),o,l),l}finally{oe(a)}}function sw(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function aw(e,t,n){let r=e+k,o=D(),i=fr(o,r);return Up(o,r)?Hp(o,gr(),t,i.transform,n,i):i.transform(n)}function cw(e,t,n,r){let o=e+k,i=D(),s=fr(i,o);return Up(i,o)?$p(i,gr(),t,s.transform,n,r,s):s.transform(n,r)}function Up(e,t){return e[y].data[t].pure}function lw(e,t){return Wi(e,t)}var uw=(()=>{class e{zone=p(F);changeDetectionScheduler=p(xe);applicationRef=p(it);applicationErrorHandler=p(Ke);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{try{this.applicationRef.dirtyFlags|=1,this.applicationRef._tick()}catch(n){this.applicationErrorHandler(n)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function zp({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new F(X(Y({},Gp()),{scheduleInRootZone:n})),[{provide:F,useFactory:e},{provide:vt,multi:!0,useFactory:()=>{let r=p(uw,{optional:!0});return()=>r.initialize()}},{provide:vt,multi:!0,useFactory:()=>{let r=p(dw);return()=>{r.initialize()}}},t===!0?{provide:qa,useValue:!0}:[],{provide:ai,useValue:n??ip},{provide:Ke,useFactory:()=>{let r=p(F),o=p(ce),i;return s=>{r.runOutsideAngular(()=>{o.destroyed&&!i?setTimeout(()=>{throw s}):(i??=o.get(ue),i.handleError(s))})}}}]}function Gp(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var dw=(()=>{class e{subscription=new P;initialized=!1;zone=p(F);pendingTasks=p(Jt);initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{F.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{F.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Ll=(()=>{class e{applicationErrorHandler=p(Ke);appRef=p(it);taskService=p(Jt);ngZone=p(F);zonelessEnabled=p(kn);tracing=p(sn,{optional:!0});disableScheduling=p(qa,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new P;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Mi):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(p(ai,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Sr||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;let r=!1;switch(n){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2,r=!0;break}case 12:{this.appRef.dirtyFlags|=16,r=!0;break}case 13:{this.appRef.dirtyFlags|=2,r=!0;break}case 11:{r=!0;break}case 9:case 8:case 7:case 10:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(r))return;let o=this.useMicrotaskScheduler?bf:sp;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>o(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>o(()=>this.tick()))}shouldScheduleTick(n){return!(this.disableScheduling&&!n||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Mi+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){this.taskService.remove(n),this.applicationErrorHandler(r)}finally{this.cleanup()}this.useMicrotaskScheduler=!0,bf(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function fw(){return ot("NgZoneless"),qo([{provide:xe,useExisting:Ll},{provide:F,useClass:Sr},{provide:kn,useValue:!0},{provide:ai,useValue:!1},[]])}function hw(){return typeof $localize<"u"&&$localize.locale||Ar}var Pr=new E("",{providedIn:"root",factory:()=>p(Pr,{optional:!0,skipSelf:!0})||hw()});var kr=class{destroyed=!1;listeners=null;errorHandler=p(ue,{optional:!0});destroyRef=p(Qe);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new m(953,!1);return(this.listeners??=[]).push(t),{unsubscribe:()=>{let n=this.listeners?.indexOf(t);n!==void 0&&n!==-1&&this.listeners?.splice(n,1)}}}emit(t){if(this.destroyed){console.warn(mt(953,!1));return}if(this.listeners===null)return;let n=I(null);try{for(let r of this.listeners)try{r(t)}catch(o){this.errorHandler?.handleError(o)}}finally{I(n)}}};function pw(e,t){return ro(e,t?.equal)}var jl=class{[re];constructor(t){this[re]=t}destroy(){this[re].destroy()}};function Wp(e,t){let n=t?.injector??p(ee),r=t?.manualCleanup!==!0?n.get(Qe):null,o,i=n.get(Fn,null,{optional:!0}),s=n.get(xe);return i!==null?(o=yw(i.view,s,e),r instanceof ir&&r._lView===i.view&&(r=null)):o=vw(e,n.get(yr),s),o.injector=n,r!==null&&(o.onDestroyFn=r.onDestroy(()=>o.destroy())),new jl(o)}var qp=X(Y({},Rt),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,kind:"effect",onDestroyFn:Xt,run(){if(this.dirty=!1,this.hasRun&&!dn(this))return;this.hasRun=!0;let e=r=>(this.cleanupFns??=[]).push(r),t=At(this),n=Pn(!1);try{this.maybeCleanup(),this.fn(e)}finally{Pn(n),un(this,t)}},maybeCleanup(){if(!this.cleanupFns?.length)return;let e=I(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],I(e)}}}),gw=X(Y({},qp),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){Ot(this),this.onDestroyFn(),this.maybeCleanup(),this.scheduler.remove(this)}}),mw=X(Y({},qp),{consumerMarkedDirty(){this.view[_]|=8192,It(this.view),this.notifier.notify(13)},destroy(){Ot(this),this.onDestroyFn(),this.maybeCleanup(),this.view[Ye]?.delete(this)}});function yw(e,t,n){let r=Object.create(mw);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=n,e[Ye]??=new Set,e[Ye].add(r),r.consumerMarkedDirty(r),r}function vw(e,t,n){let r=Object.create(gw);return r.fn=e,r.scheduler=t,r.notifier=n,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.add(r),r.notifier.notify(12),r}var os=Symbol("InputSignalNode#UNSET"),Xp=X(Y({},oo),{transformFn:void 0,applyValueToInputSignal(e,t){hn(e,t)}});function eg(e,t){let n=Object.create(Xp);n.value=e,n.transformFn=t?.transform;function r(){if(ln(n),n.value===os){let o=null;throw new m(-950,o)}return n.value}return r[re]=n,r}var Ow=new E("");Ow.__NG_ELEMENT_ID__=e=>{let t=K();if(t===null)throw new m(204,!1);if(t.type&2)return t.value;if(e&8)return null;throw new m(204,!1)};function $k(e){return new kr}function Zp(e,t){return eg(e,t)}function Pw(e){return eg(os,e)}var Uk=(Zp.required=Pw,Zp);function tg(e,t){let n=Object.create(Xp),r=new kr;n.value=e;function o(){return ln(n),Yp(n.value),n.value}return o[re]=n,o.asReadonly=si.bind(o),o.set=i=>{n.equal(n.value,i)||(hn(n,i),r.emit(i))},o.update=i=>{Yp(n.value),o.set(i(n.value))},o.subscribe=r.subscribe.bind(r),o.destroyRef=r.destroyRef,o}function Yp(e){if(e===os)throw new m(952,!1)}function Qp(e,t){return tg(e,t)}function kw(e){return tg(os,e)}var zk=(Qp.required=kw,Qp);var Vl=new E(""),Fw=new E("");function Fr(e){return!e.moduleRef}function Lw(e){let t=Fr(e)?e.r3Injector:e.moduleRef.injector,n=t.get(F);return n.run(()=>{Fr(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(Ke),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:r})}),Fr(e)){let i=()=>t.destroy(),s=e.platformInjector.get(Vl);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(Vl);s.add(i),e.moduleRef.onDestroy(()=>{Dr(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return Vw(r,n,()=>{let i=t.get(Jt),s=i.add(),a=t.get(Tl);return a.runInitializers(),a.donePromise.then(()=>{let c=t.get(Pr,Ar);if(wp(c||Ar),!t.get(Fw,!0))return Fr(e)?t.get(it):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Fr(e)){let u=t.get(it);return e.rootComponent!==void 0&&u.bootstrap(e.rootComponent),u}else return jw?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>void i.remove(s))})})}var jw;function Vw(e,t,n){try{let r=n();return Ji(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e(r)),r}}var rs=null;function Bw(e=[],t){return ee.create({name:t,providers:[{provide:cr,useValue:"platform"},{provide:Vl,useValue:new Set([()=>rs=null])},...e]})}function Hw(e=[]){if(rs)return rs;let t=Bw(e);return rs=t,fp(),$w(t),t}function $w(e){let t=e.get(Pi,null);Zo(e,()=>{t?.forEach(n=>n())})}var is=(()=>{class e{static __NG_ELEMENT_ID__=Uw}return e})();function Uw(e){return zw(K(),D(),(e&16)===16)}function zw(e,t,n){if(wt(e)&&!n){let r=Ee(e.index,t);return new St(r,r)}else if(e.type&175){let r=t[de];return new St(r,t)}return null}var Bl=class{constructor(){}supports(t){return t instanceof Map||Dl(t)}create(){return new Hl}},Hl=class{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;_removalsTail=null;get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(t){let n;for(n=this._mapHead;n!==null;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;n!==null;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;n!==null;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}diff(t){if(!t)t=new Map;else if(!(t instanceof Map||Dl(t)))throw new m(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{let i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;r!==null;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){let r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){let o=this._records.get(t);this._maybeAddToChanges(o,n);let i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}let r=new $l(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;t!==null;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;t!=null;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){this._additionsHead===null?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){this._changesHead===null?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}},$l=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(t){this.key=t}};function Kp(){return new Ul([new Bl])}var Ul=(()=>{class e{static \u0275prov=w({token:e,providedIn:"root",factory:Kp});factories;constructor(n){this.factories=n}static create(n,r){if(r){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Kp()),deps:[[e,new kf,new Oi]]}}find(n){let r=this.factories.find(o=>o.supports(n));if(r)return r;throw new m(901,!1)}}return e})();function ng(e){R(8);try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=Hw(r),i=[zp({}),{provide:xe,useExisting:Ll},Kd,...n||[]],s=new br({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1});return Lw({r3Injector:s.injector,platformInjector:o,rootComponent:t})}catch(t){return Promise.reject(t)}finally{R(9)}}function zl(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function rg(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function og(e,t){let n=Dt(e),r=t.elementInjector||Tn();return new Hn(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector,t.directives,t.bindings)}var ag=null;function st(){return ag}function Gl(e){ag??=e}var Lr=class{},Wl=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:()=>p(cg),providedIn:"platform"})}return e})();var cg=(()=>{class e extends Wl{_location;_history;_doc=p($);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return st().getBaseHref(this._doc)}onPopState(n){let r=st().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){let r=st().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(n){this._location.pathname=n}pushState(n,r,o){this._history.pushState(n,r,o)}replaceState(n,r,o){this._history.replaceState(n,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function lg(e,t){return e?t?e.endsWith("/")?t.startsWith("/")?e+t.slice(1):e+t:t.startsWith("/")?e+t:`${e}/${t}`:e:t}function ig(e){let t=e.search(/#|\?|$/);return e[t-1]==="/"?e.slice(0,t-1)+e.slice(t):e}function Nt(e){return e&&e[0]!=="?"?`?${e}`:e}var ss=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:()=>p(dg),providedIn:"root"})}return e})(),ug=new E(""),dg=(()=>{class e extends ss{_platformLocation;_baseHref;_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??p($).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return lg(this._baseHref,n)}path(n=!1){let r=this._platformLocation.pathname+Nt(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+Nt(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+Nt(i));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static \u0275fac=function(r){return new(r||e)(M(Wl),M(ug,8))};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),fg=(()=>{class e{_subject=new x;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(n){this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=qw(ig(sg(r))),this._locationStrategy.onPopState(o=>{this._subject.next({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+Nt(r))}normalize(n){return e.stripTrailingSlash(Ww(this._basePath,sg(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",o=null){this._locationStrategy.pushState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Nt(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Nt(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(o=>o(n,r))}subscribe(n,r,o){return this._subject.subscribe({next:n,error:r??void 0,complete:o??void 0})}static normalizeQueryParams=Nt;static joinWithSlash=lg;static stripTrailingSlash=ig;static \u0275fac=function(r){return new(r||e)(M(ss))};static \u0275prov=w({token:e,factory:()=>Gw(),providedIn:"root"})}return e})();function Gw(){return new fg(M(ss))}function Ww(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function sg(e){return e.replace(/\/index.html$/,"")}function qw(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}var ne=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}(ne||{}),O=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}(O||{}),le=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}(le||{}),ct={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 gg(e){return ge(e)[G.LocaleId]}function mg(e,t,n){let r=ge(e),o=[r[G.DayPeriodsFormat],r[G.DayPeriodsStandalone]],i=Se(o,t);return Se(i,n)}function yg(e,t,n){let r=ge(e),o=[r[G.DaysFormat],r[G.DaysStandalone]],i=Se(o,t);return Se(i,n)}function vg(e,t,n){let r=ge(e),o=[r[G.MonthsFormat],r[G.MonthsStandalone]],i=Se(o,t);return Se(i,n)}function Dg(e,t){let r=ge(e)[G.Eras];return Se(r,t)}function jr(e,t){let n=ge(e);return Se(n[G.DateFormat],t)}function Vr(e,t){let n=ge(e);return Se(n[G.TimeFormat],t)}function Br(e,t){let r=ge(e)[G.DateTimeFormat];return Se(r,t)}function Hr(e,t){let n=ge(e),r=n[G.NumberSymbols][t];if(typeof r>"u"){if(t===ct.CurrencyDecimal)return n[G.NumberSymbols][ct.Decimal];if(t===ct.CurrencyGroup)return n[G.NumberSymbols][ct.Group]}return r}function _g(e){if(!e[G.ExtraData])throw new m(2303,!1)}function Eg(e){let t=ge(e);return _g(t),(t[G.ExtraData][2]||[]).map(r=>typeof r=="string"?ql(r):[ql(r[0]),ql(r[1])])}function wg(e,t,n){let r=ge(e);_g(r);let o=[r[G.ExtraData][0],r[G.ExtraData][1]],i=Se(o,t)||[];return Se(i,n)||[]}function Se(e,t){for(let n=t;n>-1;n--)if(typeof e[n]<"u")return e[n];throw new m(2304,!1)}function ql(e){let[t,n]=e.split(":");return{hours:+t,minutes:+n}}var Yw=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,as={},Qw=/((?:[^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 Ig(e,t,n,r){let o=iI(e);t=at(n,t)||t;let s=[],a;for(;t;)if(a=Qw.exec(t),a){s=s.concat(a.slice(1));let u=s.pop();if(!u)break;t=u}else{s.push(t);break}let c=o.getTimezoneOffset();r&&(c=bg(r,c),o=oI(o,r));let l="";return s.forEach(u=>{let d=nI(u);l+=d?d(o,n,c):u==="''"?"'":u.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),l}function fs(e,t,n){let r=new Date(0);return r.setFullYear(e,t,n),r.setHours(0,0,0),r}function at(e,t){let n=gg(e);if(as[n]??={},as[n][t])return as[n][t];let r="";switch(t){case"shortDate":r=jr(e,le.Short);break;case"mediumDate":r=jr(e,le.Medium);break;case"longDate":r=jr(e,le.Long);break;case"fullDate":r=jr(e,le.Full);break;case"shortTime":r=Vr(e,le.Short);break;case"mediumTime":r=Vr(e,le.Medium);break;case"longTime":r=Vr(e,le.Long);break;case"fullTime":r=Vr(e,le.Full);break;case"short":let o=at(e,"shortTime"),i=at(e,"shortDate");r=cs(Br(e,le.Short),[o,i]);break;case"medium":let s=at(e,"mediumTime"),a=at(e,"mediumDate");r=cs(Br(e,le.Medium),[s,a]);break;case"long":let c=at(e,"longTime"),l=at(e,"longDate");r=cs(Br(e,le.Long),[c,l]);break;case"full":let u=at(e,"fullTime"),d=at(e,"fullDate");r=cs(Br(e,le.Full),[u,d]);break}return r&&(as[n][t]=r),r}function cs(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(n,r){return t!=null&&r in t?t[r]:n})),e}function Be(e,t,n="-",r,o){let i="";(e<0||o&&e<=0)&&(o?e=-e+1:(e=-e,i=n));let s=String(e);for(;s.length<t;)s="0"+s;return r&&(s=s.slice(s.length-t)),i+s}function Kw(e,t){return Be(e,3).substring(0,t)}function W(e,t,n=0,r=!1,o=!1){return function(i,s){let a=Jw(e,i);if((n>0||a>-n)&&(a+=n),e===3)a===0&&n===-12&&(a=12);else if(e===6)return Kw(a,t);let c=Hr(s,ct.MinusSign);return Be(a,t,c,r,o)}}function Jw(e,t){switch(e){case 0:return t.getFullYear();case 1:return t.getMonth();case 2:return t.getDate();case 3:return t.getHours();case 4:return t.getMinutes();case 5:return t.getSeconds();case 6:return t.getMilliseconds();case 7:return t.getDay();default:throw new m(2301,!1)}}function L(e,t,n=ne.Format,r=!1){return function(o,i){return Xw(o,i,e,t,n,r)}}function Xw(e,t,n,r,o,i){switch(n){case 2:return vg(t,o,r)[e.getMonth()];case 1:return yg(t,o,r)[e.getDay()];case 0:let s=e.getHours(),a=e.getMinutes();if(i){let l=Eg(t),u=wg(t,o,r),d=l.findIndex(h=>{if(Array.isArray(h)){let[f,g]=h,v=s>=f.hours&&a>=f.minutes,C=s<g.hours||s===g.hours&&a<g.minutes;if(f.hours<g.hours){if(v&&C)return!0}else if(v||C)return!0}else if(h.hours===s&&h.minutes===a)return!0;return!1});if(d!==-1)return u[d]}return mg(t,o,r)[s<12?0:1];case 3:return Dg(t,r)[e.getFullYear()<=0?0:1];default:let c=n;throw new m(2302,!1)}}function ls(e){return function(t,n,r){let o=-1*r,i=Hr(n,ct.MinusSign),s=o>0?Math.floor(o/60):Math.ceil(o/60);switch(e){case 0:return(o>=0?"+":"")+Be(s,2,i)+Be(Math.abs(o%60),2,i);case 1:return"GMT"+(o>=0?"+":"")+Be(s,1,i);case 2:return"GMT"+(o>=0?"+":"")+Be(s,2,i)+":"+Be(Math.abs(o%60),2,i);case 3:return r===0?"Z":(o>=0?"+":"")+Be(s,2,i)+":"+Be(Math.abs(o%60),2,i);default:throw new m(2302,!1)}}}var eI=0,ds=4;function tI(e){let t=fs(e,eI,1).getDay();return fs(e,0,1+(t<=ds?ds:ds+7)-t)}function Cg(e){let t=e.getDay(),n=t===0?-3:ds-t;return fs(e.getFullYear(),e.getMonth(),e.getDate()+n)}function Zl(e,t=!1){return function(n,r){let o;if(t){let i=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,s=n.getDate();o=1+Math.floor((s+i)/7)}else{let i=Cg(n),s=tI(i.getFullYear()),a=i.getTime()-s.getTime();o=1+Math.round(a/6048e5)}return Be(o,e,Hr(r,ct.MinusSign))}}function us(e,t=!1){return function(n,r){let i=Cg(n).getFullYear();return Be(i,e,Hr(r,ct.MinusSign),t)}}var Yl={};function nI(e){if(Yl[e])return Yl[e];let t;switch(e){case"G":case"GG":case"GGG":t=L(3,O.Abbreviated);break;case"GGGG":t=L(3,O.Wide);break;case"GGGGG":t=L(3,O.Narrow);break;case"y":t=W(0,1,0,!1,!0);break;case"yy":t=W(0,2,0,!0,!0);break;case"yyy":t=W(0,3,0,!1,!0);break;case"yyyy":t=W(0,4,0,!1,!0);break;case"Y":t=us(1);break;case"YY":t=us(2,!0);break;case"YYY":t=us(3);break;case"YYYY":t=us(4);break;case"M":case"L":t=W(1,1,1);break;case"MM":case"LL":t=W(1,2,1);break;case"MMM":t=L(2,O.Abbreviated);break;case"MMMM":t=L(2,O.Wide);break;case"MMMMM":t=L(2,O.Narrow);break;case"LLL":t=L(2,O.Abbreviated,ne.Standalone);break;case"LLLL":t=L(2,O.Wide,ne.Standalone);break;case"LLLLL":t=L(2,O.Narrow,ne.Standalone);break;case"w":t=Zl(1);break;case"ww":t=Zl(2);break;case"W":t=Zl(1,!0);break;case"d":t=W(2,1);break;case"dd":t=W(2,2);break;case"c":case"cc":t=W(7,1);break;case"ccc":t=L(1,O.Abbreviated,ne.Standalone);break;case"cccc":t=L(1,O.Wide,ne.Standalone);break;case"ccccc":t=L(1,O.Narrow,ne.Standalone);break;case"cccccc":t=L(1,O.Short,ne.Standalone);break;case"E":case"EE":case"EEE":t=L(1,O.Abbreviated);break;case"EEEE":t=L(1,O.Wide);break;case"EEEEE":t=L(1,O.Narrow);break;case"EEEEEE":t=L(1,O.Short);break;case"a":case"aa":case"aaa":t=L(0,O.Abbreviated);break;case"aaaa":t=L(0,O.Wide);break;case"aaaaa":t=L(0,O.Narrow);break;case"b":case"bb":case"bbb":t=L(0,O.Abbreviated,ne.Standalone,!0);break;case"bbbb":t=L(0,O.Wide,ne.Standalone,!0);break;case"bbbbb":t=L(0,O.Narrow,ne.Standalone,!0);break;case"B":case"BB":case"BBB":t=L(0,O.Abbreviated,ne.Format,!0);break;case"BBBB":t=L(0,O.Wide,ne.Format,!0);break;case"BBBBB":t=L(0,O.Narrow,ne.Format,!0);break;case"h":t=W(3,1,-12);break;case"hh":t=W(3,2,-12);break;case"H":t=W(3,1);break;case"HH":t=W(3,2);break;case"m":t=W(4,1);break;case"mm":t=W(4,2);break;case"s":t=W(5,1);break;case"ss":t=W(5,2);break;case"S":t=W(6,1);break;case"SS":t=W(6,2);break;case"SSS":t=W(6,3);break;case"Z":case"ZZ":case"ZZZ":t=ls(0);break;case"ZZZZZ":t=ls(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=ls(1);break;case"OOOO":case"ZZZZ":case"zzzz":t=ls(2);break;default:return null}return Yl[e]=t,t}function bg(e,t){e=e.replace(/:/g,"");let n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function rI(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function oI(e,t,n){let o=e.getTimezoneOffset(),i=bg(t,o);return rI(e,-1*(i-o))}function iI(e){if(hg(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 fs(o,i-1,s)}let n=parseFloat(e);if(!isNaN(e-n))return new Date(n);let r;if(r=e.match(Yw))return sI(r)}let t=new Date(e);if(!hg(t))throw new m(2302,!1);return t}function sI(e){let t=new Date(0),n=0,r=0,o=e[8]?t.setUTCFullYear:t.setFullYear,i=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),r=Number(e[9]+e[11])),o.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));let s=Number(e[4]||0)-n,a=Number(e[5]||0)-r,c=Number(e[6]||0),l=Math.floor(parseFloat("0."+(e[7]||0))*1e3);return i.call(t,s,a,c,l),t}function hg(e){return e instanceof Date&&!isNaN(e.valueOf())}var Ql=/\s+/,pg=[],aI=(()=>{class e{_ngEl;_renderer;initialClasses=pg;rawClass;stateMap=new Map;constructor(n,r){this._ngEl=n,this._renderer=r}set klass(n){this.initialClasses=n!=null?n.trim().split(Ql):pg}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(Ql):n}ngDoCheck(){for(let r of this.initialClasses)this._updateState(r,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let r of n)this._updateState(r,!0);else if(n!=null)for(let r of Object.keys(n))this._updateState(r,!!n[r]);this._applyStateDiff()}_updateState(n,r){let o=this.stateMap.get(n);o!==void 0?(o.enabled!==r&&(o.changed=!0,o.enabled=r),o.touched=!0):this.stateMap.set(n,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let r=n[0],o=n[1];o.changed?(this._toggleClass(r,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),o.touched=!1}}_toggleClass(n,r){n=n.trim(),n.length>0&&n.split(Ql).forEach(o=>{r?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}static \u0275fac=function(r){return new(r||e)(se(he),se(Nr))};static \u0275dir=xt({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})();var cI=(()=>{class e{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(n,r,o){this._ngEl=n,this._differs=r,this._renderer=o}set ngStyle(n){this._ngStyle=n,!this._differ&&n&&(this._differ=this._differs.find(n).create())}ngDoCheck(){if(this._differ){let n=this._differ.diff(this._ngStyle);n&&this._applyChanges(n)}}_setStyle(n,r){let[o,i]=n.split("."),s=o.indexOf("-")===-1?void 0:Le.DashCase;r!=null?this._renderer.setStyle(this._ngEl.nativeElement,o,i?`${r}${i}`:r,s):this._renderer.removeStyle(this._ngEl.nativeElement,o,s)}_applyChanges(n){n.forEachRemovedItem(r=>this._setStyle(r.key,null)),n.forEachAddedItem(r=>this._setStyle(r.key,r.currentValue)),n.forEachChangedItem(r=>this._setStyle(r.key,r.currentValue))}static \u0275fac=function(r){return new(r||e)(se(he),se(Ul),se(Nr))};static \u0275dir=xt({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return e})(),lI=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(n){this._viewContainerRef=n}ngOnChanges(n){if(this._shouldRecreateView(n)){let r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let o=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,r,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,r,o):!1,get:(n,r,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,o)}})}static \u0275fac=function(r){return new(r||e)(se(rt))};static \u0275dir=xt({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[zn]})}return e})();function uI(e,t){return new m(2100,!1)}var dI="mediumDate",Sg=new E(""),Tg=new E(""),fI=(()=>{class e{locale;defaultTimezone;defaultOptions;constructor(n,r,o){this.locale=n,this.defaultTimezone=r,this.defaultOptions=o}transform(n,r,o,i){if(n==null||n===""||n!==n)return null;try{let s=r??this.defaultOptions?.dateFormat??dI,a=o??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return Ig(n,s,i||this.locale,a)}catch(s){throw uI(e,s.message)}}static \u0275fac=function(r){return new(r||e)(se(Pr,16),se(Sg,24),se(Tg,24))};static \u0275pipe=Rr({name:"date",type:e,pure:!0})}return e})();var Mg=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=on({type:e});static \u0275inj=yt({})}return e})();function Kl(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let r=n.indexOf("="),[o,i]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}var $r=class{};var Jl="browser";function xg(e){return e===Jl}var ps=new E(""),ru=(()=>{class e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(n,r){this._zone=r,n.forEach(o=>{o.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,r,o,i){return this._findPluginFor(r).addEventListener(n,r,o,i)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(i=>i.supports(n)),!r)throw new m(5101,!1);return this._eventNameToPlugin.set(n,r),r}static \u0275fac=function(r){return new(r||e)(M(ps),M(F))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})(),Ur=class{_doc;constructor(t){this._doc=t}manager},Xl="ng-app-id";function Ng(e){for(let t of e)t.remove()}function Rg(e,t){let n=t.createElement("style");return n.textContent=e,n}function pI(e,t,n,r){let o=e.head?.querySelectorAll(`style[${Xl}="${t}"],link[${Xl}="${t}"]`);if(o)for(let i of o)i.removeAttribute(Xl),i instanceof HTMLLinkElement?r.set(i.href.slice(i.href.lastIndexOf("/")+1),{usage:0,elements:[i]}):i.textContent&&n.set(i.textContent,{usage:0,elements:[i]})}function tu(e,t){let n=t.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",e),n}var ou=(()=>{class e{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(n,r,o,i={}){this.doc=n,this.appId=r,this.nonce=o,pI(n,r,this.inline,this.external),this.hosts.add(n.head)}addStyles(n,r){for(let o of n)this.addUsage(o,this.inline,Rg);r?.forEach(o=>this.addUsage(o,this.external,tu))}removeStyles(n,r){for(let o of n)this.removeUsage(o,this.inline);r?.forEach(o=>this.removeUsage(o,this.external))}addUsage(n,r,o){let i=r.get(n);i?i.usage++:r.set(n,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,o(n,this.doc)))})}removeUsage(n,r){let o=r.get(n);o&&(o.usage--,o.usage<=0&&(Ng(o.elements),r.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])Ng(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(let[r,{elements:o}]of this.inline)o.push(this.addElement(n,Rg(r,this.doc)));for(let[r,{elements:o}]of this.external)o.push(this.addElement(n,tu(r,this.doc)))}removeHost(n){this.hosts.delete(n)}addElement(n,r){return this.nonce&&r.setAttribute("nonce",this.nonce),n.appendChild(r)}static \u0275fac=function(r){return new(r||e)(M($),M(Wn),M(ki,8),M(Mt))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})(),eu={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"},iu=/%COMP%/g;var Og="%COMP%",gI=`_nghost-${Og}`,mI=`_ngcontent-${Og}`,yI=!0,vI=new E("",{providedIn:"root",factory:()=>yI});function DI(e){return mI.replace(iu,e)}function _I(e){return gI.replace(iu,e)}function Pg(e,t){return t.map(n=>n.replace(iu,e))}var su=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(n,r,o,i,s,a,c,l=null,u=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.platformId=a,this.ngZone=c,this.nonce=l,this.tracingService=u,this.platformIsServer=!1,this.defaultRenderer=new zr(n,s,c,this.platformIsServer,this.tracingService)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;let o=this.getOrCreateRenderer(n,r);return o instanceof hs?o.applyToHost(n):o instanceof Gr&&o.applyStyles(),o}getOrCreateRenderer(n,r){let o=this.rendererByCompId,i=o.get(r.id);if(!i){let s=this.doc,a=this.ngZone,c=this.eventManager,l=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,d=this.platformIsServer,h=this.tracingService;switch(r.encapsulation){case Xe.Emulated:i=new hs(c,l,r,this.appId,u,s,a,d,h);break;case Xe.ShadowDom:return new nu(c,l,n,r,s,a,this.nonce,d,h);default:i=new Gr(c,l,r,u,s,a,d,h);break}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(n){this.rendererByCompId.delete(n)}static \u0275fac=function(r){return new(r||e)(M(ru),M(ou),M(Wn),M(vI),M($),M(Mt),M(F),M(ki),M(sn,8))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})(),zr=class{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(t,n,r,o,i){this.eventManager=t,this.doc=n,this.ngZone=r,this.platformIsServer=o,this.tracingService=i}destroy(){}destroyNode=null;createElement(t,n){return n?this.doc.createElementNS(eu[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(Ag(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(Ag(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){n.remove()}selectRootElement(t,n){let r=typeof t=="string"?this.doc.querySelector(t):t;if(!r)throw new m(-5104,!1);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,o){if(o){n=o+":"+n;let i=eu[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){let o=eu[r];o?t.removeAttributeNS(o,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,o){o&(Le.DashCase|Le.Important)?t.style.setProperty(n,r,o&Le.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&Le.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){t!=null&&(t[n]=r)}setValue(t,n){t.nodeValue=n}listen(t,n,r,o){if(typeof t=="string"&&(t=st().getGlobalEventTarget(this.doc,t),!t))throw new m(5102,!1);let i=this.decoratePreventDefault(r);return this.tracingService?.wrapEventListener&&(i=this.tracingService.wrapEventListener(t,n,i)),this.eventManager.addEventListener(t,n,i,o)}decoratePreventDefault(t){return n=>{if(n==="__ngUnwrap__")return t;t(n)===!1&&n.preventDefault()}}};function Ag(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var nu=class extends zr{sharedStylesHost;hostEl;shadowRoot;constructor(t,n,r,o,i,s,a,c,l){super(t,i,s,c,l),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let u=o.styles;u=Pg(o.id,u);for(let h of u){let f=document.createElement("style");a&&f.setAttribute("nonce",a),f.textContent=h,this.shadowRoot.appendChild(f)}let d=o.getExternalStyles?.();if(d)for(let h of d){let f=tu(h,i);a&&f.setAttribute("nonce",a),this.shadowRoot.appendChild(f)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(null,n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Gr=class extends zr{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(t,n,r,o,i,s,a,c,l){super(t,i,s,a,c),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o;let u=r.styles;this.styles=l?Pg(l,u):u,this.styleUrls=r.getExternalStyles?.(l)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},hs=class extends Gr{contentAttr;hostAttr;constructor(t,n,r,o,i,s,a,c,l){let u=o+"-"+r.id;super(t,n,r,i,s,a,c,l,u),this.contentAttr=DI(u),this.hostAttr=_I(u)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){let r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}};var gs=class e extends Lr{supportsDOMEvents=!0;static makeCurrent(){Gl(new e)}onAndCancel(t,n,r,o){return t.addEventListener(n,r,o),()=>{t.removeEventListener(n,r,o)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.remove()}createElement(t,n){return n=n||this.getDefaultDocument(),n.createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return n==="window"?window:n==="document"?t:n==="body"?t.body:null}getBaseHref(t){let n=EI();return n==null?null:wI(n)}resetBaseElement(){Wr=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return Kl(document.cookie,t)}},Wr=null;function EI(){return Wr=Wr||document.head.querySelector("base"),Wr?Wr.getAttribute("href"):null}function wI(e){return new URL(e,document.baseURI).pathname}var II=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})(),Fg=(()=>{class e extends Ur{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o,i){return n.addEventListener(r,o,i),()=>this.removeEventListener(n,r,o,i)}removeEventListener(n,r,o,i){return n.removeEventListener(r,o,i)}static \u0275fac=function(r){return new(r||e)(M($))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})(),kg=["alt","control","meta","shift"],CI={"\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"},bI={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},Lg=(()=>{class e extends Ur{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,r,o,i){let s=e.parseEventName(r),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>st().onAndCancel(n,s.domEventName,a,i))}static parseEventName(n){let r=n.toLowerCase().split("."),o=r.shift();if(r.length===0||!(o==="keydown"||o==="keyup"))return null;let i=e._normalizeKey(r.pop()),s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),kg.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(n,r){let o=CI[n.key]||n.key,i="";return r.indexOf("code.")>-1&&(o=n.code,i="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),kg.forEach(s=>{if(s!==o){let a=bI[s];a(n)&&(i+=s+".")}}),i+=o,i===r)}static eventCallback(n,r,o){return i=>{e.matchEventFullKeyCode(i,n)&&o.runGuarded(()=>r(i))}}static _normalizeKey(n){return n==="esc"?"escape":n}static \u0275fac=function(r){return new(r||e)(M($))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})();function SI(e){return ng(TI(e))}function TI(e){return{appProviders:[...AI,...e?.providers??[]],platformProviders:RI}}function MI(){gs.makeCurrent()}function xI(){return new ue}function NI(){return Yc(document),document}var RI=[{provide:Mt,useValue:Jl},{provide:Pi,useValue:MI,multi:!0},{provide:$,useFactory:NI}];var AI=[{provide:cr,useValue:"root"},{provide:ue,useFactory:xI},{provide:ps,useClass:Fg,multi:!0,deps:[$]},{provide:ps,useClass:Lg,multi:!0,deps:[$]},su,ou,ru,{provide:Ie,useExisting:su},{provide:$r,useClass:II},[]];var au=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=M(OI),o},providedIn:"root"})}return e})(),OI=(()=>{class e extends au{_doc;constructor(n){super(),this._doc=n}sanitize(n,r){if(r==null)return null;switch(n){case Ve.NONE:return r;case Ve.HTML:return tt(r,"HTML")?je(r):Li(this._doc,String(r)).toString();case Ve.STYLE:return tt(r,"Style")?je(r):r;case Ve.SCRIPT:if(tt(r,"Script"))return je(r);throw new m(5200,!1);case Ve.URL:return tt(r,"URL")?je(r):Mr(String(r));case Ve.RESOURCE_URL:if(tt(r,"ResourceURL"))return je(r);throw new m(5201,!1);default:throw new m(5202,!1)}}bypassSecurityTrustHtml(n){return Xc(n)}bypassSecurityTrustStyle(n){return el(n)}bypassSecurityTrustScript(n){return tl(n)}bypassSecurityTrustUrl(n){return nl(n)}bypassSecurityTrustResourceUrl(n){return rl(n)}static \u0275fac=function(r){return new(r||e)(M($))};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var jg=class e{sanitizer=p(au);transform(t){return t?this.sanitizer.bypassSecurityTrustHtml(t):""}static \u0275fac=function(n){return new(n||e)};static \u0275pipe=Rr({name:"safeHtml",type:e,pure:!0})};var cu;function PI(){if(cu==null){let e=typeof document<"u"?document.head:null;cu=!!(e&&(e.createShadowRoot||e.attachShadow))}return cu}function ms(e){if(PI()){let t=e.getRootNode?e.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}function JL(){let e=typeof document<"u"&&document?document.activeElement:null;for(;e&&e.shadowRoot;){let t=e.shadowRoot.activeElement;if(t===e)break;e=t}return e}function qr(e){return e.composedPath?e.composedPath()[0]:e.target}function Vg(e){return e.buttons===0||e.detail===0}function Bg(e){let t=e.touches&&e.touches[0]||e.changedTouches&&e.changedTouches[0];return!!t&&t.identifier===-1&&(t.radiusX==null||t.radiusX===1)&&(t.radiusY==null||t.radiusY===1)}function Hg(e,t=0){return kI(e)?Number(e):arguments.length===2?t:0}function kI(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}function lt(e){return e instanceof he?e.nativeElement:e}var ys=new WeakMap,$g=(()=>{class e{_appRef;_injector=p(ee);_environmentInjector=p(ce);load(n){let r=this._appRef=this._appRef||this._injector.get(it),o=ys.get(r);o||(o={loaders:new Set,refs:[]},ys.set(r,o),r.onDestroy(()=>{ys.get(r)?.refs.forEach(i=>i.destroy()),ys.delete(r)})),o.loaders.has(n)||(o.loaders.add(n),o.refs.push(og(n,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var lu;try{lu=typeof Intl<"u"&&Intl.v8BreakIterator}catch{lu=!1}var Ug=(()=>{class e{_platformId=p(Mt);isBrowser=this._platformId?xg(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||lu)&&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=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var FI=new E("cdk-dir-doc",{providedIn:"root",factory:LI});function LI(){return p($)}var jI=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function VI(e){let t=e?.toLowerCase()||"";return t==="auto"&&typeof navigator<"u"&&navigator?.language?jI.test(navigator.language)?"rtl":"ltr":t==="rtl"?"rtl":"ltr"}var zg=(()=>{class e{get value(){return this.valueSignal()}valueSignal=Je("ltr");change=new J;constructor(){let n=p(FI,{optional:!0});if(n){let r=n.body?n.body.dir:null,o=n.documentElement?n.documentElement.dir:null;this.valueSignal.set(VI(r||o||"ltr"))}}ngOnDestroy(){this.change.complete()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var an;function h1(){if(an==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return an=!1,an;if("scrollBehavior"in document.documentElement.style)an=!0;else{let e=Element.prototype.scrollTo;e?an=!/\{\s*\[native code\]\s*\}/.test(e.toString()):an=!1}}return an}var BI=20,Gg=(()=>{class e{_platform=p(Ug);_listeners;_viewportSize;_change=new x;_document=p($);constructor(){let n=p(F),r=p(Ie).createRenderer(null,null);n.runOutsideAngular(()=>{if(this._platform.isBrowser){let o=i=>this._change.next(i);this._listeners=[r.listen("window","resize",o),r.listen("window","orientationchange",o)]}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){this._listeners?.forEach(n=>n()),this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let n={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),n}getViewportRect(){let n=this.getViewportScrollPosition(),{width:r,height:o}=this.getViewportSize();return{top:n.top,left:n.left,bottom:n.top+o,right:n.left+r,height:o,width:r}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let n=this._document,r=this._getWindow(),o=n.documentElement,i=o.getBoundingClientRect(),s=-i.top||n.body.scrollTop||r.scrollY||o.scrollTop||0,a=-i.left||n.body.scrollLeft||r.scrollX||o.scrollLeft||0;return{top:s,left:a}}change(n=BI){return n>0?this._change.pipe(Ys(n)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let n=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:n.innerWidth,height:n.innerHeight}:{width:0,height:0}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var uu={},k1=(()=>{class e{_appId=p(Wn);getId(n){return this._appId!=="ng"&&(n+=this._appId),uu.hasOwnProperty(n)||(uu[n]=0),`${n}${uu[n]++}`}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function L1(e){return Array.isArray(e)?e:[e]}function hu(e){let t=e.cloneNode(!0),n=t.querySelectorAll("[id]"),r=e.nodeName.toLowerCase();t.removeAttribute("id");for(let o=0;o<n.length;o++)n[o].removeAttribute("id");return r==="canvas"?Zg(e,t):(r==="input"||r==="select"||r==="textarea")&&qg(e,t),Wg("canvas",e,t,Zg),Wg("input, textarea, select",e,t,qg),t}function Wg(e,t,n,r){let o=t.querySelectorAll(e);if(o.length){let i=n.querySelectorAll(e);for(let s=0;s<o.length;s++)r(o[s],i[s])}}var HI=0;function qg(e,t){t.type!=="file"&&(t.value=e.value),t.type==="radio"&&t.name&&(t.name=`mat-clone-${t.name}-${HI++}`)}function Zg(e,t){let n=t.getContext("2d");if(n)try{n.drawImage(e,0,0)}catch{}}function Du(e){let t=e.getBoundingClientRect();return{top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.width,height:t.height,x:t.x,y:t.y}}function pu(e,t,n){let{top:r,bottom:o,left:i,right:s}=e;return n>=r&&n<=o&&t>=i&&t<=s}function $I(e,t){let n=t.left<e.left,r=t.left+t.width>e.right,o=t.top<e.top,i=t.top+t.height>e.bottom;return n||r||o||i}function Qr(e,t,n){e.top+=t,e.bottom=e.top+e.height,e.left+=n,e.right=e.left+e.width}function Yg(e,t,n,r){let{top:o,right:i,bottom:s,left:a,width:c,height:l}=e,u=c*t,d=l*t;return r>o-d&&r<s+d&&n>a-u&&n<i+u}var vs=class{_document;positions=new Map;constructor(t){this._document=t}clear(){this.positions.clear()}cache(t){this.clear(),this.positions.set(this._document,{scrollPosition:this.getViewportScrollPosition()}),t.forEach(n=>{this.positions.set(n,{scrollPosition:{top:n.scrollTop,left:n.scrollLeft},clientRect:Du(n)})})}handleScroll(t){let n=qr(t),r=this.positions.get(n);if(!r)return null;let o=r.scrollPosition,i,s;if(n===this._document){let l=this.getViewportScrollPosition();i=l.top,s=l.left}else i=n.scrollTop,s=n.scrollLeft;let a=o.top-i,c=o.left-s;return this.positions.forEach((l,u)=>{l.clientRect&&n!==u&&n.contains(u)&&Qr(l.clientRect,a,c)}),o.top=i,o.left=s,{top:a,left:c}}getViewportScrollPosition(){return{top:window.scrollY,left:window.scrollX}}};function am(e,t){let n=e.rootNodes;if(n.length===1&&n[0].nodeType===t.ELEMENT_NODE)return n[0];let r=t.createElement("div");return n.forEach(o=>r.appendChild(o)),r}function _u(e,t,n){for(let r in t)if(t.hasOwnProperty(r)){let o=t[r];o?e.setProperty(r,o,n?.has(r)?"important":""):e.removeProperty(r)}return e}function Yn(e,t){let n=t?"":"none";_u(e.style,{"touch-action":t?"":"none","-webkit-user-drag":t?"":"none","-webkit-tap-highlight-color":t?"":"transparent","user-select":n,"-ms-user-select":n,"-webkit-user-select":n,"-moz-user-select":n})}function Qg(e,t,n){_u(e.style,{position:t?"":"fixed",top:t?"":"0",opacity:t?"":"0",left:t?"":"-999em"},n)}function Ds(e,t){return t&&t!="none"?e+" "+t:e}function Kg(e,t){e.style.width=`${t.width}px`,e.style.height=`${t.height}px`,e.style.transform=Kr(t.left,t.top)}function Kr(e,t){return`translate3d(${Math.round(e)}px, ${Math.round(t)}px, 0)`}function Jg(e){let t=e.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(e)*t}function UI(e){let t=getComputedStyle(e),n=du(t,"transition-property"),r=n.find(a=>a==="transform"||a==="all");if(!r)return 0;let o=n.indexOf(r),i=du(t,"transition-duration"),s=du(t,"transition-delay");return Jg(i[o])+Jg(s[o])}function du(e,t){return e.getPropertyValue(t).split(",").map(r=>r.trim())}var zI=new Set(["position"]),gu=class{_document;_rootElement;_direction;_initialDomRect;_previewTemplate;_previewClass;_pickupPositionOnPage;_initialTransform;_zIndex;_renderer;_previewEmbeddedView;_preview;get element(){return this._preview}constructor(t,n,r,o,i,s,a,c,l,u){this._document=t,this._rootElement=n,this._direction=r,this._initialDomRect=o,this._previewTemplate=i,this._previewClass=s,this._pickupPositionOnPage=a,this._initialTransform=c,this._zIndex=l,this._renderer=u}attach(t){this._preview=this._createPreview(),t.appendChild(this._preview),Xg(this._preview)&&this._preview.showPopover()}destroy(){this._preview.remove(),this._previewEmbeddedView?.destroy(),this._preview=this._previewEmbeddedView=null}setTransform(t){this._preview.style.transform=t}getBoundingClientRect(){return this._preview.getBoundingClientRect()}addClass(t){this._preview.classList.add(t)}getTransitionDuration(){return UI(this._preview)}addEventListener(t,n){return this._renderer.listen(this._preview,t,n)}_createPreview(){let t=this._previewTemplate,n=this._previewClass,r=t?t.template:null,o;if(r&&t){let i=t.matchSize?this._initialDomRect:null,s=t.viewContainer.createEmbeddedView(r,t.context);s.detectChanges(),o=am(s,this._document),this._previewEmbeddedView=s,t.matchSize?Kg(o,i):o.style.transform=Kr(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else o=hu(this._rootElement),Kg(o,this._initialDomRect),this._initialTransform&&(o.style.transform=this._initialTransform);return _u(o.style,{"pointer-events":"none",margin:Xg(o)?"0 auto 0 0":"0",position:"fixed",top:"0",left:"0","z-index":this._zIndex+""},zI),Yn(o,!1),o.classList.add("cdk-drag-preview"),o.setAttribute("popover","manual"),o.setAttribute("dir",this._direction),n&&(Array.isArray(n)?n.forEach(i=>o.classList.add(i)):o.classList.add(n)),o}};function Xg(e){return"showPopover"in e}var GI={passive:!0},em={passive:!1},WI={passive:!1,capture:!0},qI=800,tm="cdk-drag-placeholder",nm=new Set(["position"]),mu=class{_config;_document;_ngZone;_viewportRuler;_dragDropRegistry;_renderer;_rootElementCleanups;_cleanupShadowRootSelectStart;_preview;_previewContainer;_placeholderRef;_placeholder;_pickupPositionInElement;_pickupPositionOnPage;_marker;_anchor=null;_passiveTransform={x:0,y:0};_activeTransform={x:0,y:0};_initialTransform;_hasStartedDragging=Je(!1);_hasMoved;_initialContainer;_initialIndex;_parentPositions;_moveEvents=new x;_pointerDirectionDelta;_pointerPositionAtLastDirectionChange;_lastKnownPointerPosition;_rootElement;_ownerSVGElement;_rootElementTapHighlight;_pointerMoveSubscription=P.EMPTY;_pointerUpSubscription=P.EMPTY;_scrollSubscription=P.EMPTY;_resizeSubscription=P.EMPTY;_lastTouchEventTime;_dragStartTime;_boundaryElement=null;_nativeInteractionsEnabled=!0;_initialDomRect;_previewRect;_boundaryRect;_previewTemplate;_placeholderTemplate;_handles=[];_disabledHandles=new Set;_dropContainer;_direction="ltr";_parentDragRef;_cachedShadowRoot;lockAxis;dragStartDelay=0;previewClass;scale=1;get disabled(){return this._disabled||!!(this._dropContainer&&this._dropContainer.disabled)}set disabled(t){t!==this._disabled&&(this._disabled=t,this._toggleNativeDragInteractions(),this._handles.forEach(n=>Yn(n,t)))}_disabled=!1;beforeStarted=new x;started=new x;released=new x;ended=new x;entered=new x;exited=new x;dropped=new x;moved=this._moveEvents;data;constrainPosition;constructor(t,n,r,o,i,s,a){this._config=n,this._document=r,this._ngZone=o,this._viewportRuler=i,this._dragDropRegistry=s,this._renderer=a,this.withRootElement(t).withParent(n.parentDragRef||null),this._parentPositions=new vs(r),s.registerDragItem(this)}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(t){this._handles=t.map(r=>lt(r)),this._handles.forEach(r=>Yn(r,this.disabled)),this._toggleNativeDragInteractions();let n=new Set;return this._disabledHandles.forEach(r=>{this._handles.indexOf(r)>-1&&n.add(r)}),this._disabledHandles=n,this}withPreviewTemplate(t){return this._previewTemplate=t,this}withPlaceholderTemplate(t){return this._placeholderTemplate=t,this}withRootElement(t){let n=lt(t);if(n!==this._rootElement){this._removeRootElementListeners();let r=this._renderer;this._rootElementCleanups=this._ngZone.runOutsideAngular(()=>[r.listen(n,"mousedown",this._pointerDown,em),r.listen(n,"touchstart",this._pointerDown,GI),r.listen(n,"dragstart",this._nativeDragStart,em)]),this._initialTransform=void 0,this._rootElement=n}return typeof SVGElement<"u"&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(t){return this._boundaryElement=t?lt(t):null,this._resizeSubscription.unsubscribe(),t&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}withParent(t){return this._parentDragRef=t,this}dispose(){this._removeRootElementListeners(),this.isDragging()&&this._rootElement?.remove(),this._marker?.remove(),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeListeners(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=void 0,this._resizeSubscription.unsubscribe(),this._parentPositions.clear(),this._boundaryElement=this._rootElement=this._ownerSVGElement=this._placeholderTemplate=this._previewTemplate=this._marker=this._parentDragRef=null}isDragging(){return this._hasStartedDragging()&&this._dragDropRegistry.isDragging(this)}reset(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}}resetToBoundary(){if(this._boundaryElement&&this._rootElement&&$I(this._boundaryElement.getBoundingClientRect(),this._rootElement.getBoundingClientRect())){let t=this._boundaryElement.getBoundingClientRect(),n=this._rootElement.getBoundingClientRect(),r=0,o=0;n.left<t.left?r=t.left-n.left:n.right>t.right&&(r=t.right-n.right),n.top<t.top?o=t.top-n.top:n.bottom>t.bottom&&(o=t.bottom-n.bottom);let i=this._activeTransform.x,s=this._activeTransform.y,a=i+r,c=s+o;this._rootElement.style.transform=Kr(a,c),this._activeTransform={x:a,y:c},this._passiveTransform={x:a,y:c}}}disableHandle(t){!this._disabledHandles.has(t)&&this._handles.indexOf(t)>-1&&(this._disabledHandles.add(t),Yn(t,!0))}enableHandle(t){this._disabledHandles.has(t)&&(this._disabledHandles.delete(t),Yn(t,this.disabled))}withDirection(t){return this._direction=t,this}_withDropContainer(t){this._dropContainer=t}getFreeDragPosition(){let t=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:t.x,y:t.y}}setFreeDragPosition(t){return this._activeTransform={x:0,y:0},this._passiveTransform.x=t.x,this._passiveTransform.y=t.y,this._dropContainer||this._applyRootElementTransform(t.x,t.y),this}withPreviewContainer(t){return this._previewContainer=t,this}_sortFromLastPointerPosition(){let t=this._lastKnownPointerPosition;t&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(t),t)}_removeListeners(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe(),this._cleanupShadowRootSelectStart?.(),this._cleanupShadowRootSelectStart=void 0}_destroyPreview(){this._preview?.destroy(),this._preview=null}_destroyPlaceholder(){this._anchor?.remove(),this._placeholder?.remove(),this._placeholderRef?.destroy(),this._placeholder=this._anchor=this._placeholderRef=null}_pointerDown=t=>{if(this.beforeStarted.next(),this._handles.length){let n=this._getTargetHandle(t);n&&!this._disabledHandles.has(n)&&!this.disabled&&this._initializeDragSequence(n,t)}else this.disabled||this._initializeDragSequence(this._rootElement,t)};_pointerMove=t=>{let n=this._getPointerPositionOnPage(t);if(!this._hasStartedDragging()){let o=Math.abs(n.x-this._pickupPositionOnPage.x),i=Math.abs(n.y-this._pickupPositionOnPage.y);if(o+i>=this._config.dragStartThreshold){let a=Date.now()>=this._dragStartTime+this._getDragStartDelay(t),c=this._dropContainer;if(!a){this._endDragSequence(t);return}(!c||!c.isDragging()&&!c.isReceiving())&&(t.cancelable&&t.preventDefault(),this._hasStartedDragging.set(!0),this._ngZone.run(()=>this._startDragSequence(t)))}return}t.cancelable&&t.preventDefault();let r=this._getConstrainedPointerPosition(n);if(this._hasMoved=!0,this._lastKnownPointerPosition=n,this._updatePointerDirectionDelta(r),this._dropContainer)this._updateActiveDropContainer(r,n);else{let o=this.constrainPosition?this._initialDomRect:this._pickupPositionOnPage,i=this._activeTransform;i.x=r.x-o.x+this._passiveTransform.x,i.y=r.y-o.y+this._passiveTransform.y,this._applyRootElementTransform(i.x,i.y)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:r,event:t,distance:this._getDragDistance(r),delta:this._pointerDirectionDelta})})};_pointerUp=t=>{this._endDragSequence(t)};_endDragSequence(t){if(this._dragDropRegistry.isDragging(this)&&(this._removeListeners(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),!!this._hasStartedDragging()))if(this.released.next({source:this,event:t}),this._dropContainer)this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(()=>{this._cleanupDragArtifacts(t),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)});else{this._passiveTransform.x=this._activeTransform.x;let n=this._getPointerPositionOnPage(t);this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(()=>{this.ended.next({source:this,distance:this._getDragDistance(n),dropPoint:n,event:t})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)}}_startDragSequence(t){Zr(t)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();let n=this._getShadowRoot(),r=this._dropContainer;if(n&&this._ngZone.runOutsideAngular(()=>{this._cleanupShadowRootSelectStart=this._renderer.listen(n,"selectstart",ZI,WI)}),r){let o=this._rootElement,i=o.parentNode,s=this._placeholder=this._createPlaceholderElement(),a=this._marker=this._marker||this._document.createComment("");i.insertBefore(a,o),this._initialTransform=o.style.transform||"",this._preview=new gu(this._document,this._rootElement,this._direction,this._initialDomRect,this._previewTemplate||null,this.previewClass||null,this._pickupPositionOnPage,this._initialTransform,this._config.zIndex||1e3,this._renderer),this._preview.attach(this._getPreviewInsertionPoint(i,n)),Qg(o,!1,nm),this._document.body.appendChild(i.replaceChild(s,o)),this.started.next({source:this,event:t}),r.start(),this._initialContainer=r,this._initialIndex=r.getItemIndex(this)}else this.started.next({source:this,event:t}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(r?r.getScrollableParents():[])}_initializeDragSequence(t,n){this._parentDragRef&&n.stopPropagation();let r=this.isDragging(),o=Zr(n),i=!o&&n.button!==0,s=this._rootElement,a=qr(n),c=!o&&this._lastTouchEventTime&&this._lastTouchEventTime+qI>Date.now(),l=o?Bg(n):Vg(n);if(a&&a.draggable&&n.type==="mousedown"&&n.preventDefault(),r||i||c||l)return;if(this._handles.length){let h=s.style;this._rootElementTapHighlight=h.webkitTapHighlightColor||"",h.webkitTapHighlightColor="transparent"}this._hasMoved=!1,this._hasStartedDragging.set(this._hasMoved),this._removeListeners(),this._initialDomRect=this._rootElement.getBoundingClientRect(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(h=>this._updateOnScroll(h)),this._boundaryElement&&(this._boundaryRect=Du(this._boundaryElement));let u=this._previewTemplate;this._pickupPositionInElement=u&&u.template&&!u.matchSize?{x:0,y:0}:this._getPointerPositionInElement(this._initialDomRect,t,n);let d=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(n);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:d.x,y:d.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,n)}_cleanupDragArtifacts(t){Qg(this._rootElement,!0,nm),this._marker.parentNode.replaceChild(this._rootElement,this._marker),this._destroyPreview(),this._destroyPlaceholder(),this._initialDomRect=this._boundaryRect=this._previewRect=this._initialTransform=void 0,this._ngZone.run(()=>{let n=this._dropContainer,r=n.getItemIndex(this),o=this._getPointerPositionOnPage(t),i=this._getDragDistance(o),s=n._isOverContainer(o.x,o.y);this.ended.next({source:this,distance:i,dropPoint:o,event:t}),this.dropped.next({item:this,currentIndex:r,previousIndex:this._initialIndex,container:n,previousContainer:this._initialContainer,isPointerOverContainer:s,distance:i,dropPoint:o,event:t}),n.drop(this,r,this._initialIndex,this._initialContainer,s,i,o,t),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:t,y:n},{x:r,y:o}){let i=this._initialContainer._getSiblingContainerFromPosition(this,t,n);!i&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(t,n)&&(i=this._initialContainer),i&&i!==this._dropContainer&&this._ngZone.run(()=>{let s=this._dropContainer.getItemIndex(this),a=this._dropContainer.getItemAtIndex(s+1)?.getVisibleElement()||null;this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._conditionallyInsertAnchor(i,this._dropContainer,a),this._dropContainer=i,this._dropContainer.enter(this,t,n,i===this._initialContainer&&i.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:i,currentIndex:i.getItemIndex(this)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(r,o),this._dropContainer._sortItem(this,t,n,this._pointerDirectionDelta),this.constrainPosition?this._applyPreviewTransform(t,n):this._applyPreviewTransform(t-this._pickupPositionInElement.x,n-this._pickupPositionInElement.y))}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();let t=this._placeholder.getBoundingClientRect();this._preview.addClass("cdk-drag-animating"),this._applyPreviewTransform(t.left,t.top);let n=this._preview.getTransitionDuration();return n===0?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(r=>{let o=a=>{(!a||this._preview&&qr(a)===this._preview.element&&a.propertyName==="transform")&&(s(),r(),clearTimeout(i))},i=setTimeout(o,n*1.5),s=this._preview.addEventListener("transitionend",o)}))}_createPlaceholderElement(){let t=this._placeholderTemplate,n=t?t.template:null,r;return n?(this._placeholderRef=t.viewContainer.createEmbeddedView(n,t.context),this._placeholderRef.detectChanges(),r=am(this._placeholderRef,this._document)):r=hu(this._rootElement),r.style.pointerEvents="none",r.classList.add(tm),r}_getPointerPositionInElement(t,n,r){let o=n===this._rootElement?null:n,i=o?o.getBoundingClientRect():t,s=Zr(r)?r.targetTouches[0]:r,a=this._getViewportScrollPosition(),c=s.pageX-i.left-a.left,l=s.pageY-i.top-a.top;return{x:i.left-t.left+c,y:i.top-t.top+l}}_getPointerPositionOnPage(t){let n=this._getViewportScrollPosition(),r=Zr(t)?t.touches[0]||t.changedTouches[0]||{pageX:0,pageY:0}:t,o=r.pageX-n.left,i=r.pageY-n.top;if(this._ownerSVGElement){let s=this._ownerSVGElement.getScreenCTM();if(s){let a=this._ownerSVGElement.createSVGPoint();return a.x=o,a.y=i,a.matrixTransform(s.inverse())}}return{x:o,y:i}}_getConstrainedPointerPosition(t){let n=this._dropContainer?this._dropContainer.lockAxis:null,{x:r,y:o}=this.constrainPosition?this.constrainPosition(t,this,this._initialDomRect,this._pickupPositionInElement):t;if(this.lockAxis==="x"||n==="x"?o=this._pickupPositionOnPage.y-(this.constrainPosition?this._pickupPositionInElement.y:0):(this.lockAxis==="y"||n==="y")&&(r=this._pickupPositionOnPage.x-(this.constrainPosition?this._pickupPositionInElement.x:0)),this._boundaryRect){let{x:i,y:s}=this.constrainPosition?{x:0,y:0}:this._pickupPositionInElement,a=this._boundaryRect,{width:c,height:l}=this._getPreviewRect(),u=a.top+s,d=a.bottom-(l-s),h=a.left+i,f=a.right-(c-i);r=rm(r,h,f),o=rm(o,u,d)}return{x:r,y:o}}_updatePointerDirectionDelta(t){let{x:n,y:r}=t,o=this._pointerDirectionDelta,i=this._pointerPositionAtLastDirectionChange,s=Math.abs(n-i.x),a=Math.abs(r-i.y);return s>this._config.pointerDirectionChangeThreshold&&(o.x=n>i.x?1:-1,i.x=n),a>this._config.pointerDirectionChangeThreshold&&(o.y=r>i.y?1:-1,i.y=r),o}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;let t=this._handles.length>0||!this.isDragging();t!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=t,Yn(this._rootElement,t))}_removeRootElementListeners(){this._rootElementCleanups?.forEach(t=>t()),this._rootElementCleanups=void 0}_applyRootElementTransform(t,n){let r=1/this.scale,o=Kr(t*r,n*r),i=this._rootElement.style;this._initialTransform==null&&(this._initialTransform=i.transform&&i.transform!="none"?i.transform:""),i.transform=Ds(o,this._initialTransform)}_applyPreviewTransform(t,n){let r=this._previewTemplate?.template?void 0:this._initialTransform,o=Kr(t,n);this._preview.setTransform(Ds(o,r))}_getDragDistance(t){let n=this._pickupPositionOnPage;return n?{x:t.x-n.x,y:t.y-n.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:t,y:n}=this._passiveTransform;if(t===0&&n===0||this.isDragging()||!this._boundaryElement)return;let r=this._rootElement.getBoundingClientRect(),o=this._boundaryElement.getBoundingClientRect();if(o.width===0&&o.height===0||r.width===0&&r.height===0)return;let i=o.left-r.left,s=r.right-o.right,a=o.top-r.top,c=r.bottom-o.bottom;o.width>r.width?(i>0&&(t+=i),s>0&&(t-=s)):t=0,o.height>r.height?(a>0&&(n+=a),c>0&&(n-=c)):n=0,(t!==this._passiveTransform.x||n!==this._passiveTransform.y)&&this.setFreeDragPosition({y:n,x:t})}_getDragStartDelay(t){let n=this.dragStartDelay;return typeof n=="number"?n:Zr(t)?n.touch:n?n.mouse:0}_updateOnScroll(t){let n=this._parentPositions.handleScroll(t);if(n){let r=qr(t);this._boundaryRect&&r!==this._boundaryElement&&r.contains(this._boundaryElement)&&Qr(this._boundaryRect,n.top,n.left),this._pickupPositionOnPage.x+=n.left,this._pickupPositionOnPage.y+=n.top,this._dropContainer||(this._activeTransform.x-=n.left,this._activeTransform.y-=n.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}_getViewportScrollPosition(){return this._parentPositions.positions.get(this._document)?.scrollPosition||this._parentPositions.getViewportScrollPosition()}_getShadowRoot(){return this._cachedShadowRoot===void 0&&(this._cachedShadowRoot=ms(this._rootElement)),this._cachedShadowRoot}_getPreviewInsertionPoint(t,n){let r=this._previewContainer||"global";if(r==="parent")return t;if(r==="global"){let o=this._document;return n||o.fullscreenElement||o.webkitFullscreenElement||o.mozFullScreenElement||o.msFullscreenElement||o.body}return lt(r)}_getPreviewRect(){return(!this._previewRect||!this._previewRect.width&&!this._previewRect.height)&&(this._previewRect=this._preview?this._preview.getBoundingClientRect():this._initialDomRect),this._previewRect}_nativeDragStart=t=>{if(this._handles.length){let n=this._getTargetHandle(t);n&&!this._disabledHandles.has(n)&&!this.disabled&&t.preventDefault()}else this.disabled||t.preventDefault()};_getTargetHandle(t){return this._handles.find(n=>t.target&&(t.target===n||n.contains(t.target)))}_conditionallyInsertAnchor(t,n,r){if(t===this._initialContainer)this._anchor?.remove(),this._anchor=null;else if(n===this._initialContainer&&n.hasAnchor){let o=this._anchor??=hu(this._placeholder);o.classList.remove(tm),o.classList.add("cdk-drag-anchor"),o.style.transform="",r?r.before(o):lt(n.element).appendChild(o)}}};function rm(e,t,n){return Math.max(t,Math.min(n,e))}function Zr(e){return e.type[0]==="t"}function ZI(e){e.preventDefault()}function cm(e,t,n){let r=om(t,e.length-1),o=om(n,e.length-1);if(r===o)return;let i=e[r],s=o<r?-1:1;for(let a=r;a!==o;a+=s)e[a]=e[a+s];e[o]=i}function om(e,t){return Math.max(0,Math.min(t,e))}var _s=class{_dragDropRegistry;_element;_sortPredicate;_itemPositions=[];_activeDraggables;orientation="vertical";direction;constructor(t){this._dragDropRegistry=t}_previousSwap={drag:null,delta:0,overlaps:!1};start(t){this.withItems(t)}sort(t,n,r,o){let i=this._itemPositions,s=this._getItemIndexFromPointerPosition(t,n,r,o);if(s===-1&&i.length>0)return null;let a=this.orientation==="horizontal",c=i.findIndex(C=>C.drag===t),l=i[s],u=i[c].clientRect,d=l.clientRect,h=c>s?1:-1,f=this._getItemOffsetPx(u,d,h),g=this._getSiblingOffsetPx(c,i,h),v=i.slice();return cm(i,c,s),i.forEach((C,T)=>{if(v[T]===C)return;let ut=C.drag===t,Es=ut?f:g,Eu=ut?t.getPlaceholderElement():C.drag.getRootElement();C.offset+=Es;let wu=Math.round(C.offset*(1/C.drag.scale));a?(Eu.style.transform=Ds(`translate3d(${wu}px, 0, 0)`,C.initialTransform),Qr(C.clientRect,0,Es)):(Eu.style.transform=Ds(`translate3d(0, ${wu}px, 0)`,C.initialTransform),Qr(C.clientRect,Es,0))}),this._previousSwap.overlaps=pu(d,n,r),this._previousSwap.drag=l.drag,this._previousSwap.delta=a?o.x:o.y,{previousIndex:c,currentIndex:s}}enter(t,n,r,o){let i=o==null||o<0?this._getItemIndexFromPointerPosition(t,n,r):o,s=this._activeDraggables,a=s.indexOf(t),c=t.getPlaceholderElement(),l=s[i];if(l===t&&(l=s[i+1]),!l&&(i==null||i===-1||i<s.length-1)&&this._shouldEnterAsFirstChild(n,r)&&(l=s[0]),a>-1&&s.splice(a,1),l&&!this._dragDropRegistry.isDragging(l)){let u=l.getRootElement();u.parentElement.insertBefore(c,u),s.splice(i,0,t)}else this._element.appendChild(c),s.push(t);c.style.transform="",this._cacheItemPositions()}withItems(t){this._activeDraggables=t.slice(),this._cacheItemPositions()}withSortPredicate(t){this._sortPredicate=t}reset(){this._activeDraggables?.forEach(t=>{let n=t.getRootElement();if(n){let r=this._itemPositions.find(o=>o.drag===t)?.initialTransform;n.style.transform=r||""}}),this._itemPositions=[],this._activeDraggables=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._previousSwap.overlaps=!1}getActiveItemsSnapshot(){return this._activeDraggables}getItemIndex(t){return this._getVisualItemPositions().findIndex(n=>n.drag===t)}getItemAtIndex(t){return this._getVisualItemPositions()[t]?.drag||null}updateOnScroll(t,n){this._itemPositions.forEach(({clientRect:r})=>{Qr(r,t,n)}),this._itemPositions.forEach(({drag:r})=>{this._dragDropRegistry.isDragging(r)&&r._sortFromLastPointerPosition()})}withElementContainer(t){this._element=t}_cacheItemPositions(){let t=this.orientation==="horizontal";this._itemPositions=this._activeDraggables.map(n=>{let r=n.getVisibleElement();return{drag:n,offset:0,initialTransform:r.style.transform||"",clientRect:Du(r)}}).sort((n,r)=>t?n.clientRect.left-r.clientRect.left:n.clientRect.top-r.clientRect.top)}_getVisualItemPositions(){return this.orientation==="horizontal"&&this.direction==="rtl"?this._itemPositions.slice().reverse():this._itemPositions}_getItemOffsetPx(t,n,r){let o=this.orientation==="horizontal",i=o?n.left-t.left:n.top-t.top;return r===-1&&(i+=o?n.width-t.width:n.height-t.height),i}_getSiblingOffsetPx(t,n,r){let o=this.orientation==="horizontal",i=n[t].clientRect,s=n[t+r*-1],a=i[o?"width":"height"]*r;if(s){let c=o?"left":"top",l=o?"right":"bottom";r===-1?a-=s.clientRect[c]-i[l]:a+=i[c]-s.clientRect[l]}return a}_shouldEnterAsFirstChild(t,n){if(!this._activeDraggables.length)return!1;let r=this._itemPositions,o=this.orientation==="horizontal";if(r[0].drag!==this._activeDraggables[0]){let s=r[r.length-1].clientRect;return o?t>=s.right:n>=s.bottom}else{let s=r[0].clientRect;return o?t<=s.left:n<=s.top}}_getItemIndexFromPointerPosition(t,n,r,o){let i=this.orientation==="horizontal",s=this._itemPositions.findIndex(({drag:a,clientRect:c})=>{if(a===t)return!1;if(o){let l=i?o.x:o.y;if(a===this._previousSwap.drag&&this._previousSwap.overlaps&&l===this._previousSwap.delta)return!1}return i?n>=Math.floor(c.left)&&n<Math.floor(c.right):r>=Math.floor(c.top)&&r<Math.floor(c.bottom)});return s===-1||!this._sortPredicate(s,t)?-1:s}},yu=class{_document;_dragDropRegistry;_element;_sortPredicate;_rootNode;_activeItems;_previousSwap={drag:null,deltaX:0,deltaY:0,overlaps:!1};_relatedNodes=[];constructor(t,n){this._document=t,this._dragDropRegistry=n}start(t){let n=this._element.childNodes;this._relatedNodes=[];for(let r=0;r<n.length;r++){let o=n[r];this._relatedNodes.push([o,o.nextSibling])}this.withItems(t)}sort(t,n,r,o){let i=this._getItemIndexFromPointerPosition(t,n,r),s=this._previousSwap;if(i===-1||this._activeItems[i]===t)return null;let a=this._activeItems[i];if(s.drag===a&&s.overlaps&&s.deltaX===o.x&&s.deltaY===o.y)return null;let c=this.getItemIndex(t),l=t.getPlaceholderElement(),u=a.getRootElement();i>c?u.after(l):u.before(l),cm(this._activeItems,c,i);let d=this._getRootNode().elementFromPoint(n,r);return s.deltaX=o.x,s.deltaY=o.y,s.drag=a,s.overlaps=u===d||u.contains(d),{previousIndex:c,currentIndex:i}}enter(t,n,r,o){let i=this._activeItems.indexOf(t);i>-1&&this._activeItems.splice(i,1);let s=o==null||o<0?this._getItemIndexFromPointerPosition(t,n,r):o;s===-1&&(s=this._getClosestItemIndexToPointer(t,n,r));let a=this._activeItems[s];a&&!this._dragDropRegistry.isDragging(a)?(this._activeItems.splice(s,0,t),a.getRootElement().before(t.getPlaceholderElement())):(this._activeItems.push(t),this._element.appendChild(t.getPlaceholderElement()))}withItems(t){this._activeItems=t.slice()}withSortPredicate(t){this._sortPredicate=t}reset(){let t=this._element,n=this._previousSwap;for(let r=this._relatedNodes.length-1;r>-1;r--){let[o,i]=this._relatedNodes[r];o.parentNode===t&&o.nextSibling!==i&&(i===null?t.appendChild(o):i.parentNode===t&&t.insertBefore(o,i))}this._relatedNodes=[],this._activeItems=[],n.drag=null,n.deltaX=n.deltaY=0,n.overlaps=!1}getActiveItemsSnapshot(){return this._activeItems}getItemIndex(t){return this._activeItems.indexOf(t)}getItemAtIndex(t){return this._activeItems[t]||null}updateOnScroll(){this._activeItems.forEach(t=>{this._dragDropRegistry.isDragging(t)&&t._sortFromLastPointerPosition()})}withElementContainer(t){t!==this._element&&(this._element=t,this._rootNode=void 0)}_getItemIndexFromPointerPosition(t,n,r){let o=this._getRootNode().elementFromPoint(Math.floor(n),Math.floor(r)),i=o?this._activeItems.findIndex(s=>{let a=s.getRootElement();return o===a||a.contains(o)}):-1;return i===-1||!this._sortPredicate(i,t)?-1:i}_getRootNode(){return this._rootNode||(this._rootNode=ms(this._element)||this._document),this._rootNode}_getClosestItemIndexToPointer(t,n,r){if(this._activeItems.length===0)return-1;if(this._activeItems.length===1)return 0;let o=1/0,i=-1;for(let s=0;s<this._activeItems.length;s++){let a=this._activeItems[s];if(a!==t){let{x:c,y:l}=a.getRootElement().getBoundingClientRect(),u=Math.hypot(n-c,r-l);u<o&&(o=u,i=s)}}return i}},im=.05,lm=.05,Te=function(e){return e[e.NONE=0]="NONE",e[e.UP=1]="UP",e[e.DOWN=2]="DOWN",e}(Te||{}),ae=function(e){return e[e.NONE=0]="NONE",e[e.LEFT=1]="LEFT",e[e.RIGHT=2]="RIGHT",e}(ae||{}),vu=class{_dragDropRegistry;_ngZone;_viewportRuler;element;disabled=!1;sortingDisabled=!1;lockAxis;autoScrollDisabled=!1;autoScrollStep=2;hasAnchor=!1;enterPredicate=()=>!0;sortPredicate=()=>!0;beforeStarted=new x;entered=new x;exited=new x;dropped=new x;sorted=new x;receivingStarted=new x;receivingStopped=new x;data;_container;_isDragging=!1;_parentPositions;_sortStrategy;_domRect;_draggables=[];_siblings=[];_activeSiblings=new Set;_viewportScrollSubscription=P.EMPTY;_verticalScrollDirection=Te.NONE;_horizontalScrollDirection=ae.NONE;_scrollNode;_stopScrollTimers=new x;_cachedShadowRoot=null;_document;_scrollableElements=[];_initialScrollSnap;_direction="ltr";constructor(t,n,r,o,i){this._dragDropRegistry=n,this._ngZone=o,this._viewportRuler=i;let s=this.element=lt(t);this._document=r,this.withOrientation("vertical").withElementContainer(s),n.registerDropContainer(this),this._parentPositions=new vs(r)}dispose(){this._stopScrolling(),this._stopScrollTimers.complete(),this._viewportScrollSubscription.unsubscribe(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this.receivingStarted.complete(),this.receivingStopped.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._parentPositions.clear(),this._dragDropRegistry.removeDropContainer(this)}isDragging(){return this._isDragging}start(){this._draggingStarted(),this._notifyReceivingSiblings()}enter(t,n,r,o){this._draggingStarted(),o==null&&this.sortingDisabled&&(o=this._draggables.indexOf(t)),this._sortStrategy.enter(t,n,r,o),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:t,container:this,currentIndex:this.getItemIndex(t)})}exit(t){this._reset(),this.exited.next({item:t,container:this})}drop(t,n,r,o,i,s,a,c={}){this._reset(),this.dropped.next({item:t,currentIndex:n,previousIndex:r,container:this,previousContainer:o,isPointerOverContainer:i,distance:s,dropPoint:a,event:c})}withItems(t){let n=this._draggables;return this._draggables=t,t.forEach(r=>r._withDropContainer(this)),this.isDragging()&&(n.filter(o=>o.isDragging()).every(o=>t.indexOf(o)===-1)?this._reset():this._sortStrategy.withItems(this._draggables)),this}withDirection(t){return this._direction=t,this._sortStrategy instanceof _s&&(this._sortStrategy.direction=t),this}connectedTo(t){return this._siblings=t.slice(),this}withOrientation(t){if(t==="mixed")this._sortStrategy=new yu(this._document,this._dragDropRegistry);else{let n=new _s(this._dragDropRegistry);n.direction=this._direction,n.orientation=t,this._sortStrategy=n}return this._sortStrategy.withElementContainer(this._container),this._sortStrategy.withSortPredicate((n,r)=>this.sortPredicate(n,r,this)),this}withScrollableParents(t){let n=this._container;return this._scrollableElements=t.indexOf(n)===-1?[n,...t]:t.slice(),this}withElementContainer(t){if(t===this._container)return this;let n=lt(this.element),r=this._scrollableElements.indexOf(this._container),o=this._scrollableElements.indexOf(t);return r>-1&&this._scrollableElements.splice(r,1),o>-1&&this._scrollableElements.splice(o,1),this._sortStrategy&&this._sortStrategy.withElementContainer(t),this._cachedShadowRoot=null,this._scrollableElements.unshift(t),this._container=t,this}getScrollableParents(){return this._scrollableElements}getItemIndex(t){return this._isDragging?this._sortStrategy.getItemIndex(t):this._draggables.indexOf(t)}getItemAtIndex(t){return this._isDragging?this._sortStrategy.getItemAtIndex(t):this._draggables[t]||null}isReceiving(){return this._activeSiblings.size>0}_sortItem(t,n,r,o){if(this.sortingDisabled||!this._domRect||!Yg(this._domRect,im,n,r))return;let i=this._sortStrategy.sort(t,n,r,o);i&&this.sorted.next({previousIndex:i.previousIndex,currentIndex:i.currentIndex,container:this,item:t})}_startScrollingIfNecessary(t,n){if(this.autoScrollDisabled)return;let r,o=Te.NONE,i=ae.NONE;if(this._parentPositions.positions.forEach((s,a)=>{a===this._document||!s.clientRect||r||Yg(s.clientRect,im,t,n)&&([o,i]=YI(a,s.clientRect,this._direction,t,n),(o||i)&&(r=a))}),!o&&!i){let{width:s,height:a}=this._viewportRuler.getViewportSize(),c={width:s,height:a,top:0,right:s,bottom:a,left:0};o=um(c,n),i=dm(c,t),r=window}r&&(o!==this._verticalScrollDirection||i!==this._horizontalScrollDirection||r!==this._scrollNode)&&(this._verticalScrollDirection=o,this._horizontalScrollDirection=i,this._scrollNode=r,(o||i)&&r?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){let t=this._container.style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=t.msScrollSnapType||t.scrollSnapType||"",t.scrollSnapType=t.msScrollSnapType="none",this._sortStrategy.start(this._draggables),this._cacheParentPositions(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}_cacheParentPositions(){this._parentPositions.cache(this._scrollableElements),this._domRect=this._parentPositions.positions.get(this._container).clientRect}_reset(){this._isDragging=!1;let t=this._container.style;t.scrollSnapType=t.msScrollSnapType=this._initialScrollSnap,this._siblings.forEach(n=>n._stopReceiving(this)),this._sortStrategy.reset(),this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}_startScrollInterval=()=>{this._stopScrolling(),qs(0,go).pipe(Cn(this._stopScrollTimers)).subscribe(()=>{let t=this._scrollNode,n=this.autoScrollStep;this._verticalScrollDirection===Te.UP?t.scrollBy(0,-n):this._verticalScrollDirection===Te.DOWN&&t.scrollBy(0,n),this._horizontalScrollDirection===ae.LEFT?t.scrollBy(-n,0):this._horizontalScrollDirection===ae.RIGHT&&t.scrollBy(n,0)})};_isOverContainer(t,n){return this._domRect!=null&&pu(this._domRect,t,n)}_getSiblingContainerFromPosition(t,n,r){return this._siblings.find(o=>o._canReceive(t,n,r))}_canReceive(t,n,r){if(!this._domRect||!pu(this._domRect,n,r)||!this.enterPredicate(t,this))return!1;let o=this._getShadowRoot().elementFromPoint(n,r);return o?o===this._container||this._container.contains(o):!1}_startReceiving(t,n){let r=this._activeSiblings;!r.has(t)&&n.every(o=>this.enterPredicate(o,this)||this._draggables.indexOf(o)>-1)&&(r.add(t),this._cacheParentPositions(),this._listenToScrollEvents(),this.receivingStarted.next({initiator:t,receiver:this,items:n}))}_stopReceiving(t){this._activeSiblings.delete(t),this._viewportScrollSubscription.unsubscribe(),this.receivingStopped.next({initiator:t,receiver:this})}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(t=>{if(this.isDragging()){let n=this._parentPositions.handleScroll(t);n&&this._sortStrategy.updateOnScroll(n.top,n.left)}else this.isReceiving()&&this._cacheParentPositions()})}_getShadowRoot(){if(!this._cachedShadowRoot){let t=ms(this._container);this._cachedShadowRoot=t||this._document}return this._cachedShadowRoot}_notifyReceivingSiblings(){let t=this._sortStrategy.getActiveItemsSnapshot().filter(n=>n.isDragging());this._siblings.forEach(n=>n._startReceiving(this,t))}};function um(e,t){let{top:n,bottom:r,height:o}=e,i=o*lm;return t>=n-i&&t<=n+i?Te.UP:t>=r-i&&t<=r+i?Te.DOWN:Te.NONE}function dm(e,t){let{left:n,right:r,width:o}=e,i=o*lm;return t>=n-i&&t<=n+i?ae.LEFT:t>=r-i&&t<=r+i?ae.RIGHT:ae.NONE}function YI(e,t,n,r,o){let i=um(t,o),s=dm(t,r),a=Te.NONE,c=ae.NONE;if(i){let l=e.scrollTop;i===Te.UP?l>0&&(a=Te.UP):e.scrollHeight-l>e.clientHeight&&(a=Te.DOWN)}if(s){let l=e.scrollLeft;n==="rtl"?s===ae.RIGHT?l<0&&(c=ae.RIGHT):e.scrollWidth+l>e.clientWidth&&(c=ae.LEFT):s===ae.LEFT?l>0&&(c=ae.LEFT):e.scrollWidth-l>e.clientWidth&&(c=ae.RIGHT)}return[a,c]}var Yr={capture:!0},fu={passive:!1,capture:!0},QI=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=Yi({type:e,selectors:[["ng-component"]],hostAttrs:["cdk-drag-resets-container",""],decls:0,vars:0,template:function(r,o){},styles:[`@layer cdk-resets{.cdk-drag-preview{background:none;border:none;padding:0;color:inherit;inset:auto}}.cdk-drag-placeholder *,.cdk-drag-preview *{pointer-events:none !important}
|
|
5
|
-
`],encapsulation:2,changeDetection:0})}return e})(),fm=(()=>{class e{_ngZone=p(F);_document=p($);_styleLoader=p($g);_renderer=p(Ie).createRenderer(null,null);_cleanupDocumentTouchmove;_scroll=new x;_dropInstances=new Set;_dragInstances=new Set;_activeDragInstances=Je([]);_globalListeners;_draggingPredicate=n=>n.isDragging();_domNodesToDirectives=null;pointerMove=new x;pointerUp=new x;constructor(){}registerDropContainer(n){this._dropInstances.has(n)||this._dropInstances.add(n)}registerDragItem(n){this._dragInstances.add(n),this._dragInstances.size===1&&this._ngZone.runOutsideAngular(()=>{this._cleanupDocumentTouchmove?.(),this._cleanupDocumentTouchmove=this._renderer.listen(this._document,"touchmove",this._persistentTouchmoveListener,fu)})}removeDropContainer(n){this._dropInstances.delete(n)}removeDragItem(n){this._dragInstances.delete(n),this.stopDragging(n),this._dragInstances.size===0&&this._cleanupDocumentTouchmove?.()}startDragging(n,r){if(!(this._activeDragInstances().indexOf(n)>-1)&&(this._styleLoader.load(QI),this._activeDragInstances.update(o=>[...o,n]),this._activeDragInstances().length===1)){let o=r.type.startsWith("touch"),i=a=>this.pointerUp.next(a),s=[["scroll",a=>this._scroll.next(a),Yr],["selectstart",this._preventDefaultWhileDragging,fu]];o?s.push(["touchend",i,Yr],["touchcancel",i,Yr]):s.push(["mouseup",i,Yr]),o||s.push(["mousemove",a=>this.pointerMove.next(a),fu]),this._ngZone.runOutsideAngular(()=>{this._globalListeners=s.map(([a,c,l])=>this._renderer.listen(this._document,a,c,l))})}}stopDragging(n){this._activeDragInstances.update(r=>{let o=r.indexOf(n);return o>-1?(r.splice(o,1),[...r]):r}),this._activeDragInstances().length===0&&this._clearGlobalListeners()}isDragging(n){return this._activeDragInstances().indexOf(n)>-1}scrolled(n){let r=[this._scroll];return n&&n!==this._document&&r.push(new N(o=>this._ngZone.runOutsideAngular(()=>{let i=this._renderer.listen(n,"scroll",s=>{this._activeDragInstances().length&&o.next(s)},Yr);return()=>{i()}}))),Ro(...r)}registerDirectiveNode(n,r){this._domNodesToDirectives??=new WeakMap,this._domNodesToDirectives.set(n,r)}removeDirectiveNode(n){this._domNodesToDirectives?.delete(n)}getDragDirectiveForNode(n){return this._domNodesToDirectives?.get(n)||null}ngOnDestroy(){this._dragInstances.forEach(n=>this.removeDragItem(n)),this._dropInstances.forEach(n=>this.removeDropContainer(n)),this._domNodesToDirectives=null,this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}_preventDefaultWhileDragging=n=>{this._activeDragInstances().length>0&&n.preventDefault()};_persistentTouchmoveListener=n=>{this._activeDragInstances().length>0&&(this._activeDragInstances().some(this._draggingPredicate)&&n.preventDefault(),this.pointerMove.next(n))};_clearGlobalListeners(){this._globalListeners?.forEach(n=>n()),this._globalListeners=void 0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),KI={dragStartThreshold:5,pointerDirectionChangeThreshold:5},JI=(()=>{class e{_document=p($);_ngZone=p(F);_viewportRuler=p(Gg);_dragDropRegistry=p(fm);_renderer=p(Ie).createRenderer(null,null);constructor(){}createDrag(n,r=KI){return new mu(n,r,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry,this._renderer)}createDropList(n){return new vu(n,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),sm=new E("CDK_DRAG_PARENT");var XI=new E("CdkDragHandle");var eC=new E("CDK_DRAG_CONFIG"),tC=new E("CdkDropList"),oj=(()=>{class e{element=p(he);dropContainer=p(tC,{optional:!0,skipSelf:!0});_ngZone=p(F);_viewContainerRef=p(rt);_dir=p(zg,{optional:!0});_changeDetectorRef=p(is);_selfHandle=p(XI,{optional:!0,self:!0});_parentDrag=p(sm,{optional:!0,skipSelf:!0});_dragDropRegistry=p(fm);_destroyed=new x;_handles=new Lt([]);_previewTemplate;_placeholderTemplate;_dragRef;data;lockAxis;rootElementSelector;boundaryElement;dragStartDelay;freeDragPosition;get disabled(){return this._disabled||!!(this.dropContainer&&this.dropContainer.disabled)}set disabled(n){this._disabled=n,this._dragRef.disabled=this._disabled}_disabled;constrainPosition;previewClass;previewContainer;scale=1;started=new J;released=new J;ended=new J;entered=new J;exited=new J;dropped=new J;moved=new N(n=>{let r=this._dragRef.moved.pipe(qe(o=>({source:this,pointerPosition:o.pointerPosition,event:o.event,delta:o.delta,distance:o.distance}))).subscribe(n);return()=>{r.unsubscribe()}});_injector=p(ee);constructor(){let n=this.dropContainer,r=p(eC,{optional:!0}),o=p(JI);this._dragRef=o.createDrag(this.element,{dragStartThreshold:r&&r.dragStartThreshold!=null?r.dragStartThreshold:5,pointerDirectionChangeThreshold:r&&r.pointerDirectionChangeThreshold!=null?r.pointerDirectionChangeThreshold:5,zIndex:r?.zIndex}),this._dragRef.data=this,this._dragDropRegistry.registerDirectiveNode(this.element.nativeElement,this),r&&this._assignDefaults(r),n&&(n.addItem(this),n._dropListRef.beforeStarted.pipe(Cn(this._destroyed)).subscribe(()=>{this._dragRef.scale=this.scale})),this._syncInputs(this._dragRef),this._handleEvents(this._dragRef)}getPlaceholderElement(){return this._dragRef.getPlaceholderElement()}getRootElement(){return this._dragRef.getRootElement()}reset(){this._dragRef.reset()}resetToBoundary(){this._dragRef.resetToBoundary()}getFreeDragPosition(){return this._dragRef.getFreeDragPosition()}setFreeDragPosition(n){this._dragRef.setFreeDragPosition(n)}ngAfterViewInit(){Ki(()=>{this._updateRootElement(),this._setupHandlesListener(),this._dragRef.scale=this.scale,this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)},{injector:this._injector})}ngOnChanges(n){let r=n.rootElementSelector,o=n.freeDragPosition;r&&!r.firstChange&&this._updateRootElement(),this._dragRef.scale=this.scale,o&&!o.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)}ngOnDestroy(){this.dropContainer&&this.dropContainer.removeItem(this),this._dragDropRegistry.removeDirectiveNode(this.element.nativeElement),this._ngZone.runOutsideAngular(()=>{this._handles.complete(),this._destroyed.next(),this._destroyed.complete(),this._dragRef.dispose()})}_addHandle(n){let r=this._handles.getValue();r.push(n),this._handles.next(r)}_removeHandle(n){let r=this._handles.getValue(),o=r.indexOf(n);o>-1&&(r.splice(o,1),this._handles.next(r))}_setPreviewTemplate(n){this._previewTemplate=n}_resetPreviewTemplate(n){n===this._previewTemplate&&(this._previewTemplate=null)}_setPlaceholderTemplate(n){this._placeholderTemplate=n}_resetPlaceholderTemplate(n){n===this._placeholderTemplate&&(this._placeholderTemplate=null)}_updateRootElement(){let n=this.element.nativeElement,r=n;this.rootElementSelector&&(r=n.closest!==void 0?n.closest(this.rootElementSelector):n.parentElement?.closest(this.rootElementSelector)),this._dragRef.withRootElement(r||n)}_getBoundaryElement(){let n=this.boundaryElement;return n?typeof n=="string"?this.element.nativeElement.closest(n):lt(n):null}_syncInputs(n){n.beforeStarted.subscribe(()=>{if(!n.isDragging()){let r=this._dir,o=this.dragStartDelay,i=this._placeholderTemplate?{template:this._placeholderTemplate.templateRef,context:this._placeholderTemplate.data,viewContainer:this._viewContainerRef}:null,s=this._previewTemplate?{template:this._previewTemplate.templateRef,context:this._previewTemplate.data,matchSize:this._previewTemplate.matchSize,viewContainer:this._viewContainerRef}:null;n.disabled=this.disabled,n.lockAxis=this.lockAxis,n.scale=this.scale,n.dragStartDelay=typeof o=="object"&&o?o:Hg(o),n.constrainPosition=this.constrainPosition,n.previewClass=this.previewClass,n.withBoundaryElement(this._getBoundaryElement()).withPlaceholderTemplate(i).withPreviewTemplate(s).withPreviewContainer(this.previewContainer||"global"),r&&n.withDirection(r.value)}}),n.beforeStarted.pipe(Qs(1)).subscribe(()=>{if(this._parentDrag){n.withParent(this._parentDrag._dragRef);return}let r=this.element.nativeElement.parentElement;for(;r;){let o=this._dragDropRegistry.getDragDirectiveForNode(r);if(o){n.withParent(o._dragRef);break}r=r.parentElement}})}_handleEvents(n){n.started.subscribe(r=>{this.started.emit({source:this,event:r.event}),this._changeDetectorRef.markForCheck()}),n.released.subscribe(r=>{this.released.emit({source:this,event:r.event})}),n.ended.subscribe(r=>{this.ended.emit({source:this,distance:r.distance,dropPoint:r.dropPoint,event:r.event}),this._changeDetectorRef.markForCheck()}),n.entered.subscribe(r=>{this.entered.emit({container:r.container.data,item:this,currentIndex:r.currentIndex})}),n.exited.subscribe(r=>{this.exited.emit({container:r.container.data,item:this})}),n.dropped.subscribe(r=>{this.dropped.emit({previousIndex:r.previousIndex,currentIndex:r.currentIndex,previousContainer:r.previousContainer.data,container:r.container.data,isPointerOverContainer:r.isPointerOverContainer,item:this,distance:r.distance,dropPoint:r.dropPoint,event:r.event})})}_assignDefaults(n){let{lockAxis:r,dragStartDelay:o,constrainPosition:i,previewClass:s,boundaryElement:a,draggingDisabled:c,rootElementSelector:l,previewContainer:u}=n;this.disabled=c??!1,this.dragStartDelay=o||0,r&&(this.lockAxis=r),i&&(this.constrainPosition=i),s&&(this.previewClass=s),a&&(this.boundaryElement=a),l&&(this.rootElementSelector=l),u&&(this.previewContainer=u)}_setupHandlesListener(){this._handles.pipe(Ks(n=>{let r=n.map(o=>o.element);this._selfHandle&&this.rootElementSelector&&r.push(this.element),this._dragRef.withHandles(r)}),Oo(n=>Ro(...n.map(r=>r._stateChanges.pipe(Ao(r))))),Cn(this._destroyed)).subscribe(n=>{let r=this._dragRef,o=n.element.nativeElement;n.disabled?r.disableHandle(o):r.enableHandle(o)})}static \u0275fac=function(r){return new(r||e)};static \u0275dir=xt({type:e,selectors:[["","cdkDrag",""]],hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(r,o){r&2&&Or("cdk-drag-disabled",o.disabled)("cdk-drag-dragging",o._dragRef.isDragging())},inputs:{data:[0,"cdkDragData","data"],lockAxis:[0,"cdkDragLockAxis","lockAxis"],rootElementSelector:[0,"cdkDragRootElement","rootElementSelector"],boundaryElement:[0,"cdkDragBoundary","boundaryElement"],dragStartDelay:[0,"cdkDragStartDelay","dragStartDelay"],freeDragPosition:[0,"cdkDragFreeDragPosition","freeDragPosition"],disabled:[2,"cdkDragDisabled","disabled",zl],constrainPosition:[0,"cdkDragConstrainPosition","constrainPosition"],previewClass:[0,"cdkDragPreviewClass","previewClass"],previewContainer:[0,"cdkDragPreviewContainer","previewContainer"],scale:[2,"cdkDragScale","scale",rg]},outputs:{started:"cdkDragStarted",released:"cdkDragReleased",ended:"cdkDragEnded",entered:"cdkDragEntered",exited:"cdkDragExited",dropped:"cdkDragDropped",moved:"cdkDragMoved"},exportAs:["cdkDrag"],features:[ns([{provide:sm,useExisting:e}]),zn]})}return e})();export{Y as a,X as b,nC as c,rC as d,oC as e,iC as f,sC as g,P as h,N as i,x as j,Lt as k,zs as l,Xu as m,$m as n,Ws as o,Ro as p,Qs as q,sd as r,Qm as s,Ao as t,Oo as u,Cn as v,w,yt as x,E as y,p as z,ce as A,Od as B,Pd as C,Wd as D,qd as E,ee as F,$ as G,Qe as H,Je as I,xe as J,Qy as K,he as L,iv as M,xv as N,Nv as O,wh as P,zD as Q,GD as R,Tt as S,Zi as T,Ie as U,Nr as V,rt as W,Cr as X,Yi as Y,on as Z,xt as _,Rr as $,El as aa,Z_ as ba,op as ca,J as da,F as ea,Ki as fa,it as ga,Ml as ha,uE as ia,dE as ja,fE as ka,hE as la,pE as ma,pp as na,Nl as oa,Rl as pa,gp as qa,Xi as ra,es as sa,Al as ta,yp as ua,Dp as va,yE as wa,Ep as xa,Ip as ya,Cp as za,IE as Aa,bp as Ba,Sp as Ca,Tp as Da,CE as Ea,kl as Fa,Or as Ga,kE as Ha,WE as Ia,Fp as Ja,Fl as Ka,jp as La,YE as Ma,QE as Na,KE as Oa,JE as Pa,rw as Qa,ow as Ra,iw as Sa,aw as Ta,cw as Ua,lw as Va,fw as Wa,pw as Xa,Wp as Ya,$k as Za,Uk as _a,zk as $a,is as ab,og as bb,fg as cb,aI as db,cI as eb,lI as fb,fI as gb,Mg as hb,SI as ib,jg as jb,Vg as kb,Bg as lb,ms as mb,JL as nb,qr as ob,Ug as pb,lt as qb,$g as rb,L1 as sb,zg as tb,h1 as ub,Gg as vb,k1 as wb,oj as xb};
|