@letscooee/web-sdk 10.1.0 → 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.
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
var Em=Object.create;var Cs=Object.defineProperty,wm=Object.defineProperties,Im=Object.getOwnPropertyDescriptor,Cm=Object.getOwnPropertyDescriptors,bm=Object.getOwnPropertyNames,eo=Object.getOwnPropertySymbols,Sm=Object.getPrototypeOf,bs=Object.prototype.hasOwnProperty,Cu=Object.prototype.propertyIsEnumerable;var Is=(e,t,n)=>t in e?Cs(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Y=(e,t)=>{for(var n in t||={})bs.call(t,n)&&Is(e,n,t[n]);if(eo)for(var n of eo(t))Cu.call(t,n)&&Is(e,n,t[n]);return e},X=(e,t)=>wm(e,Cm(t));var dC=(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 fC=(e,t)=>{var n={};for(var r in e)bs.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&eo)for(var r of eo(e))t.indexOf(r)<0&&Cu.call(e,r)&&(n[r]=e[r]);return n};var hC=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Tm=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of bm(t))!bs.call(e,o)&&o!==n&&Cs(e,o,{get:()=>t[o],enumerable:!(r=Im(t,o))||r.enumerable});return e};var pC=(e,t,n)=>(n=e!=null?Em(Sm(e)):{},Tm(t||!e||!e.__esModule?Cs(n,"default",{value:e,enumerable:!0}):n,e));var gC=(e,t,n)=>Is(e,typeof t!="symbol"?t+"":t,n);var Ss;function to(){return Ss}function He(e){let t=Ss;return Ss=e,t}var bu=Symbol("NotFound");function cn(e){return e===bu||e?.name==="\u0275NotFound"}function Ns(e,t){return Object.is(e,t)}var ne=null,no=!1,Rs=1,Mm=null,ee=Symbol("SIGNAL");function I(e){let t=ne;return ne=e,t}function oo(){return ne}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(no)throw new Error("");if(ne===null)return;ne.consumerOnSignalRead(e);let t=ne.producersTail;if(t!==void 0&&t.producer===e)return;let n,r=ne.recomputing;if(r&&(n=t!==void 0?t.nextProducer:ne.producers,n!==void 0&&n.producer===e)){ne.producersTail=n,n.lastReadVersion=e.version;return}let o=e.consumersTail;if(o!==void 0&&o.consumer===ne&&(!r||Nm(o,ne)))return;let i=fn(ne),s={producer:e,consumer:ne,nextProducer:n,prevConsumer:o,lastReadVersion:e.version,nextConsumer:void 0};ne.producersTail=s,t!==void 0?t.nextProducer=s:ne.producers=s,i&&Tu(e,s)}function Su(){Rs++}function As(e){if(!(fn(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===Rs)){if(!e.producerMustRecompute(e)&&!dn(e)){xs(e);return}e.producerRecomputeValue(e),xs(e)}}function Os(e){if(e.consumers===void 0)return;let t=no;no=!0;try{for(let n=e.consumers;n!==void 0;n=n.nextConsumer){let r=n.consumer;r.dirty||xm(r)}}finally{no=t}}function Ps(){return ne?.consumerAllowSignalWrites!==!1}function xm(e){e.dirty=!0,Os(e),e.consumerMarkedDirty?.(e)}function xs(e){e.dirty=!1,e.lastCleanEpoch=Rs}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=ks(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||(As(n),r!==n.version))return!0}return!1}function Ot(e){if(fn(e)){let t=e.producers;for(;t!==void 0;)t=ks(t)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function Tu(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)Tu(o.producer,o)}function ks(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=ks(i)}return n}function fn(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function Fs(e){Mm?.(e)}function Nm(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 Qn(e,t){let n=Object.create(Rm);n.computation=e,t!==void 0&&(n.equal=t);let r=()=>{if(As(n),ln(n),n.value===ro)throw n.error;return n.value};return r[ee]=n,Fs(n),r}var Ts=Symbol("UNSET"),Ms=Symbol("COMPUTING"),ro=Symbol("ERRORED"),Rm=X(Y({},Rt),{value:Ts,dirty:!0,error:null,equal:Ns,kind:"computed",producerMustRecompute(e){return e.value===Ts||e.value===Ms},producerRecomputeValue(e){if(e.value===Ms)throw new Error("");let t=e.value;e.value=Ms;let n=At(e),r,o=!1;try{r=e.computation(),I(null),o=t!==Ts&&t!==ro&&r!==ro&&e.equal(t,r)}catch(i){r=ro,e.error=i}finally{un(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function Am(){throw new Error}var Mu=Am;function xu(e){Mu(e)}function Ls(e){Mu=e}var Om=null;function js(e,t){let n=Object.create(io);n.value=e,t!==void 0&&(n.equal=t);let r=()=>Nu(n);return r[ee]=n,Fs(n),[r,s=>hn(n,s),s=>Ru(n,s)]}function Nu(e){return ln(e),e.value}function hn(e,t){Ps()||xu(e),e.equal(e.value,t)||(e.value=t,Pm(e))}function Ru(e,t){Ps()||xu(e),hn(e,t(e.value))}var io=X(Y({},Rt),{equal:Ns,value:void 0,kind:"signal"});function Pm(e){e.version++,Su(),Os(e),Om?.(e)}function b(e){return typeof e=="function"}function so(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 ao=so(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 ao?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Au(i)}catch(s){t=t??[],s instanceof ao?t=[...t,...s.errors]:t.push(s)}}if(t)throw new ao(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Au(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 Vs=P.EMPTY;function co(e){return e instanceof P||e&&"closed"in e&&b(e.remove)&&b(e.add)&&b(e.unsubscribe)}function Au(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 lo(e){pn.setTimeout(()=>{let{onUnhandledError:t}=Me;if(t)t(e);else throw e})}function Kn(){}var Ou=Bs("C",void 0,void 0);function Pu(e){return Bs("E",void 0,e)}function ku(e){return Bs("N",e,void 0)}function Bs(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 Fu(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,co(t)&&t.add(this)):this.destination=Lm}static create(t,n,r){return new mn(t,n,r)}next(t){this.isStopped?$s(ku(t),this):this._next(t)}error(t){this.isStopped?$s(Pu(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?$s(Ou,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()}}},km=Function.prototype.bind;function Hs(e,t){return km.call(e,t)}var Us=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){uo(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){uo(r)}else uo(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){uo(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&&Hs(t.next,i),error:t.error&&Hs(t.error,i),complete:t.complete&&Hs(t.complete,i)}):o=t}this.destination=new Us(o)}};function uo(e){Me.useDeprecatedSynchronousErrorHandling?Fu(e):lo(e)}function Fm(e){throw e}function $s(e,t){let{onStoppedNotification:n}=Me;n&&pn.setTimeout(()=>n(e,t))}var Lm={closed:!0,next:Kn,error:Fm,complete:Kn};var yn=typeof Symbol=="function"&&Symbol.observable||"@@observable";function dt(e){return e}function Lu(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=Vm(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=ju(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 Lu(n)(this)}toPromise(n){return n=ju(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 ju(e){var t;return(t=e??Me.Promise)!==null&&t!==void 0?t:Promise}function jm(e){return e&&b(e.next)&&b(e.error)&&b(e.complete)}function Vm(e){return e&&e instanceof Ft||jm(e)&&co(e)}function Bm(e){return b(e?.lift)}function V(e){return t=>{if(Bm(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 zs(e,t,n,r,o)}var zs=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 Vu=so(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 fo(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Vu}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?Vs:(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 fo(t,n),e})(),fo=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:Vs}};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 Jn={now(){return(Jn.delegate||Date).now()},delegate:void 0};var Gs=class extends x{constructor(t=1/0,n=1/0,r=Jn){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 ho=class extends P{constructor(t,n){super()}schedule(t,n=0){return this}};var Xn={setInterval(e,t,...n){let{delegate:r}=Xn;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=Xn;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var Dn=class extends ho{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 Xn.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&&Xn.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=Jn.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 er=new En(Dn),Bu=er;var po=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 go=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 mo=new go(po);var yo=new N(e=>e.complete());function vo(e){return e&&b(e.schedule)}function Hu(e){return e[e.length-1]}function ft(e){return vo(Hu(e))?e.pop():void 0}function $u(e,t){return typeof Hu(e)=="number"?e.pop():t}function zu(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 Uu(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 Gu(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 Wu(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 Uu=="function"?Uu(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 Do(e){return b(e?.then)}function _o(e){return b(e[yn])}function Eo(e){return Symbol.asyncIterator&&b(e?.[Symbol.asyncIterator])}function wo(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 Hm(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Io=Hm();function Co(e){return b(e?.[Io])}function bo(e){return Gu(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 So(e){return b(e?.getReader)}function U(e){if(e instanceof N)return e;if(e!=null){if(_o(e))return $m(e);if(wn(e))return Um(e);if(Do(e))return zm(e);if(Eo(e))return qu(e);if(Co(e))return Gm(e);if(So(e))return Wm(e)}throw wo(e)}function $m(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 Um(e){return new N(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function zm(e){return new N(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,lo)})}function Gm(e){return new N(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function qu(e){return new N(t=>{qm(e,t).catch(n=>t.error(n))})}function Wm(e){return qu(bo(e))}function qm(e,t){var n,r,o,i;return zu(this,void 0,void 0,function*(){try{for(n=Wu(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 To(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 Mo(e,t=0){return V((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Zu(e,t){return U(e).pipe(Mo(t),To(t))}function Yu(e,t){return U(e).pipe(Mo(t),To(t))}function Qu(e,t){return new N(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function Ku(e,t){return new N(n=>{let r;return me(n,t,()=>{r=e[Io](),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 xo(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 Ju(e,t){return xo(bo(e),t)}function Xu(e,t){if(e!=null){if(_o(e))return Zu(e,t);if(wn(e))return Qu(e,t);if(Do(e))return Yu(e,t);if(Eo(e))return xo(e,t);if(Co(e))return Ku(e,t);if(So(e))return Ju(e,t)}throw wo(e)}function In(e,t){return t?Xu(e,t):U(e)}function ed(...e){let t=ft(e);return In(e,t)}function td(e){return e instanceof Date&&!isNaN(e)}function Ze(e,t){return V((n,r)=>{let o=0;n.subscribe(B(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:Zm}=Array;function Ym(e,t){return Zm(t)?e(...t):e(t)}function nd(e){return Ze(t=>Ym(e,t))}function rd(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 tr(e,t,n=1/0){return b(t)?tr((r,o)=>Ze((i,s)=>t(r,i,o,s))(U(e(r,o))),n):(typeof t=="number"&&(n=t),V((r,o)=>rd(r,o,e,n)))}function No(e=1/0){return tr(dt,e)}function od(){return No(1)}function Ws(...e){return od()(In(e,ft(e)))}function Qm(e){return new N(t=>{U(e()).subscribe(t)})}var Km=["addListener","removeListener"],Jm=["addEventListener","removeEventListener"],Xm=["on","off"];function qs(e,t,n,r){if(b(n)&&(r=n,n=void 0),r)return qs(e,t,n).pipe(nd(r));let[o,i]=ny(e)?Jm.map(s=>a=>e[s](t,a,n)):ey(e)?Km.map(id(e,t)):ty(e)?Xm.map(id(e,t)):[];if(!o&&wn(e))return tr(s=>qs(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 id(e,t){return n=>r=>e[n](t,r)}function ey(e){return b(e.addListener)&&b(e.removeListener)}function ty(e){return b(e.on)&&b(e.off)}function ny(e){return b(e.addEventListener)&&b(e.removeEventListener)}function Ro(e=0,t,n=Bu){let r=-1;return t!=null&&(vo(t)?n=t:r=t),new N(o=>{let i=td(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 Zs(e=0,t=er){return e<0&&(e=0),Ro(e,e,t)}function Ao(...e){let t=ft(e),n=$u(e,1/0),r=e;return r.length?r.length===1?U(r[0]):No(n)(In(r,t)):yo}function Ys(e,t){return V((n,r)=>{let o=0;n.subscribe(B(r,i=>e.call(t,i,o++)&&r.next(i)))})}function sd(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 Qs(e,t=er){return sd(()=>Ro(e,t))}function Ks(e){return e<=0?()=>yo:V((t,n)=>{let r=0;t.subscribe(B(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function ad(e,t=dt){return e=e??ry,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 ry(e,t){return e===t}function oy(e){return Ys((t,n)=>e<=n)}function Oo(...e){let t=ft(e);return V((n,r)=>{(t?Ws(e,n,t):Ws(e,n)).subscribe(r)})}function Po(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(),Kn)),!n.closed&&t.subscribe(n)})}function Js(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 Vo="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 iy(e){return`NG0${Math.abs(e)}`}function mt(e,t){return`${iy(e)}${t?": "+t:""}`}var ye=globalThis;function A(e){for(let t in e)if(e[t]===A)return t;throw Error("")}function ud(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 Bo(e,t){return e?t?`${e} ${t}`:e:t||""}var sy=A({__forward_ref__:A});function ar(e){return e.__forward_ref__=ar,e.toString=function(){return ht(this())},e}function q(e){return ua(e)?e():e}function ua(e){return typeof e=="function"&&e.hasOwnProperty(sy)&&e.__forward_ref__===ar}function dd(e,t){e==null&&da(t,e,null,"!=")}function da(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 Ho(e){return ay(e,$o)}function ay(e,t){return e.hasOwnProperty(t)&&e[t]||null}function cy(e){let t=e?.[$o]??null;return t||null}function ea(e){return e&&e.hasOwnProperty(Fo)?e[Fo]:null}var $o=A({\u0275prov:A}),Fo=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 fa(e){return e&&!!e.\u0275providers}var ha=A({\u0275cmp:A}),pa=A({\u0275dir:A}),ga=A({\u0275pipe:A});var or=A({\u0275fac:A}),Ut=A({__NG_ELEMENT_ID__:A}),cd=A({__NG_ENV_ID__:A});function zt(e){return typeof e=="string"?e:e==null?"":String(e)}function Lo(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 ma=A({ngErrorCode:A}),fd=A({ngErrorMessage:A}),rr=A({ngTokenPath:A});function ya(e,t){return hd("",-200,t)}function Uo(e,t){throw new m(-201,!1)}function ly(e,t){e[rr]??=[];let n=e[rr],r;typeof t=="object"&&"multi"in t&&t?.multi===!0?(dd(t.provide,"Token with multi: true should have a provide property"),r=Lo(t.provide)):r=Lo(t),n[0]!==r&&e[rr].unshift(r)}function uy(e,t){let n=e[rr],r=e[ma],o=e[fd]||e.message;return e.message=fy(o,r,n,t),e}function hd(e,t,n){let r=new m(t,e);return r[ma]=t,r[fd]=e,n&&(r[rr]=n),r}function dy(e){return e[ma]}function fy(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 ta;function pd(){return ta}function ie(e){let t=ta;return ta=e,t}function va(e,t,n){let r=Ho(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;Uo(e,"Injector")}var hy={},Vt=hy,na="__NG_DI_FLAG__",ra=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 py(e,t=0){let n=to();if(n===void 0)throw new m(-203,!1);if(n===null)return va(e,void 0,t);{let r=gy(t),o=n.retrieve(e,r);if(cn(o)){if(r.optional)return null;throw o}return o}}function M(e,t=0){return(pd()||py)(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 gy(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function oa(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=my(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 Da(e,t){return e[na]=t,e.prototype[na]=t,e}function my(e){return e[na]}function pt(e,t){let n=e.hasOwnProperty(or);return n?e[or]:null}function gd(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 md(e){return e.flat(Number.POSITIVE_INFINITY)}function zo(e,t){e.forEach(n=>Array.isArray(n)?zo(n,t):t(n))}function _a(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function cr(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function yd(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 Go(e,t,n){let r=Sn(e,t);return r>=0?e[r|1]=n:(r=~r,yd(e,r,t,n)),r}function Wo(e,t){let n=Sn(e,t);if(n>=0)return e[n|1]}function Sn(e,t){return yy(e,t,1)}function yy(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={},re=[],vt=new E(""),Ea=new E("",-1),wa=new E(""),ir=class{get(t,n=Vt){if(n===Vt){let o=hd("",-201);throw o.name="\u0275NotFound",o}return n}};function Dt(e){return e[ha]||null}function qo(e){return e[pa]||null}function vd(e){return e[ga]||null}function Zo(e){return{\u0275providers:e}}function Dd(...e){return{\u0275providers:Ia(!0,e),\u0275fromNgModule:!0}}function Ia(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return zo(t,s=>{let a=s;jo(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&_d(o,i),n}function _d(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];Ca(o,i=>{t(i,r)})}}function jo(e,t,n,r){if(e=q(e),!e)return!1;let o=null,i=ea(e),s=!i&&Dt(e);if(!i&&!s){let c=e.ngModule;if(i=ea(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)jo(l,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;try{zo(i.imports,u=>{jo(u,t,n,r)&&(l||=[],l.push(u))})}finally{}l!==void 0&&_d(l,t)}if(!a){let l=pt(o)||(()=>new o);t({provide:o,useFactory:l,deps:re},o),t({provide:wa,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;Ca(c,u=>{t(u,l)})}}else return!1;return o!==e&&e.providers!==void 0}function Ca(e,t){for(let n of e)fa(n)&&(n=n.\u0275providers),Array.isArray(n)?Ca(n,t):t(n)}var vy=A({provide:String,useValue:A});function Ed(e){return e!==null&&typeof e=="object"&&vy in e}function Dy(e){return!!(e&&e.useExisting)}function _y(e){return!!(e&&e.useFactory)}function Ht(e){return typeof e=="function"}function wd(e){return!!e.useClass}var lr=new E(""),ko={},ld={},Xs;function Tn(){return Xs===void 0&&(Xs=new ir),Xs}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,sa(t,s=>this.processProvider(s)),this.records.set(Ea,bn(void 0,this)),o.has("environment")&&this.records.set(ce,bn(void 0,this));let i=this.records.get(lr);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(wa,re,{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(){nr(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 nr(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){nr(this);let n=He(this),r=ie(void 0),o;try{return t()}finally{He(n),ie(r)}}get(t,n=Vt,r){if(nr(this),t.hasOwnProperty(cd))return t[cd](this);let o=Bt(r),i,s=He(this),a=ie(void 0);try{if(!(o&4)){let l=this.records.get(t);if(l===void 0){let u=by(t)&&Ho(t);u&&this.injectableDefInScope(u)?l=bn(ia(t),ko):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=dy(c);throw l===-200||l===-201?new m(l,null):c}finally{ie(a),He(s)}}resolveInjectorInitializers(){let t=I(null),n=He(this),r=ie(void 0),o;try{let i=this.get(vt,re,{self:!0});for(let s of i)s()}finally{He(n),ie(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=wy(t);if(!Ht(t)&&t.multi===!0){let o=this.records.get(n);o||(o=bn(void 0,ko,!0),o.factory=()=>oa(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===ld)throw ya(ht(t));return n.value===ko&&(n.value=ld,n.value=n.factory(void 0,r)),typeof n.value=="object"&&n.value&&Cy(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 ia(e){let t=Ho(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 Ey(e);throw new m(204,!1)}function Ey(e){if(e.length>0)throw new m(204,!1);let n=cy(e);return n!==null?()=>n.factory(e):()=>new e}function wy(e){if(Ed(e))return bn(void 0,e.useValue);{let t=ba(e);return bn(t,ko)}}function ba(e,t,n){let r;if(Ht(e)){let o=q(e);return pt(o)||ia(o)}else if(Ed(e))r=()=>q(e.useValue);else if(_y(e))r=()=>e.useFactory(...oa(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(Iy(e))r=()=>new o(...oa(e.deps));else return pt(o)||ia(o)}return r}function nr(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 Iy(e){return!!e.deps}function Cy(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function by(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function sa(e,t){for(let n of e)Array.isArray(n)?sa(n,t):n&&fa(n)?sa(n.\u0275providers,t):t(n)}function Yo(e,t){let n;e instanceof $t?(nr(e),n=e):n=new ra(e);let r,o=He(n),i=ie(void 0);try{return t()}finally{He(o),ie(i)}}function Id(){return pd()!==void 0||to()!=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,Sa=13,Wt=14,de=15,_t=16,qt=17,Ue=18,ur=19,Ta=20,Ye=21,Qo=22,Qe=23,fe=24,Zt=25,k=26,Cd=1,Ma=6,Et=7,dr=8,Yt=9,Q=10;function ze(e){return Array.isArray(e)&&typeof e[Cd]=="object"}function Ae(e){return Array.isArray(e)&&e[Cd]===!0}function xa(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 Na="svg",bd="math";function _e(e){for(;Array.isArray(e);)e=e[Re];return e}function Ra(e,t){return _e(t[e])}function Pe(e,t){return _e(t[e.index])}function fr(e,t){return e.data[t]}function hr(e,t){return e[t]}function pr(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 Sd(e){return(e[_]&4)===4}function Ko(e){return(e[_]&128)===128}function Td(e){return Ae(e[Z])}function we(e,t){return t==null?null:e[t]}function Aa(e){e[qt]=0}function Jo(e){e[_]&1024||(e[_]|=1024,Ko(e)&&It(e))}function Md(e,t){for(;e>0;)t=t[Wt],e--;return t}function On(e){return!!(e[_]&9216||e[fe]?.dirty)}function Xo(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,!Ko(t)));)t=gt(t)}function Oa(e,t){if(Qt(e))throw new m(911,!1);e[Ye]===null&&(e[Ye]=[]),e[Ye].push(t)}function xd(e,t){if(e[Ye]===null)return;let n=e[Ye].indexOf(t);n!==-1&&e[Ye].splice(n,1)}function gt(e){let t=e[Z];return Ae(t)?t[Z]:t}function Pa(e){return e[xn]??=[]}function ka(e){return e.cleanup??=[]}function Nd(e,t,n,r){let o=Pa(t);o.push(n),e.firstCreatePass&&ka(e).push(r,o.length-1)}var S={lFrame:zd(null),bindingsEnabled:!0,skipHydrationRootTNode:null},gr=function(e){return e[e.Off=0]="Off",e[e.Exhaustive=1]="Exhaustive",e[e.OnlyDirtyViews=2]="OnlyDirtyViews",e}(gr||{}),Sy=0,aa=!1;function Rd(){return S.lFrame.elementDepthCount}function Ad(){S.lFrame.elementDepthCount++}function Fa(){S.lFrame.elementDepthCount--}function ei(){return S.bindingsEnabled}function Od(){return S.skipHydrationRootTNode!==null}function La(e){return S.skipHydrationRootTNode===e}function ja(){S.skipHydrationRootTNode=null}function D(){return S.lFrame.lView}function H(){return S.lFrame.tView}function Pd(e){return S.lFrame.contextLView=e,e[z]}function kd(e){return S.lFrame.contextLView=null,e}function K(){let e=Va();for(;e!==null&&e.type===64;)e=e.parent;return e}function Va(){return S.lFrame.currentTNode}function Fd(){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 Ba(){return S.lFrame.isParent}function Ld(){S.lFrame.isParent=!1}function Ha(){return S.lFrame.contextLView}function $a(e){da("Must never be called in production mode"),Sy=e}function Ua(){return aa}function Pn(e){let t=aa;return aa=e,t}function mr(){let e=S.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function jd(e){return S.lFrame.bindingIndex=e}function Ct(){return S.lFrame.bindingIndex++}function za(e){let t=S.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Vd(){return S.lFrame.inI18n}function Bd(e,t){let n=S.lFrame;n.bindingIndex=n.bindingRootIndex=e,ti(t)}function Hd(){return S.lFrame.currentDirectiveIndex}function ti(e){S.lFrame.currentDirectiveIndex=e}function $d(e){let t=S.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function ni(){return S.lFrame.currentQueryIndex}function yr(e){S.lFrame.currentQueryIndex=e}function Ty(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=Ty(i),o===null||(i=i[Wt],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=S.lFrame=Ud();return r.currentTNode=t,r.lView=e,!0}function ri(e){let t=Ud(),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 Ud(){let e=S.lFrame,t=e===null?null:e.child;return t===null?zd(e):t}function zd(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 Gd(){let e=S.lFrame;return S.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Wa=Gd;function oi(){let e=Gd();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 Wd(e){return(S.lFrame.contextLView=Md(e,S.lFrame.contextLView))[z]}function Ge(){return S.lFrame.selectedIndex}function bt(e){S.lFrame.selectedIndex=e}function ii(){let e=S.lFrame;return fr(e.tView,e.selectedIndex)}function qd(){S.lFrame.currentNamespace=Na}function Zd(){My()}function My(){S.lFrame.currentNamespace=null}function Yd(){return S.lFrame.currentNamespace}var Qd=!0;function si(){return Qd}function vr(e){Qd=e}function ca(e,t=null,n=null,r){let o=Kd(e,t,n,r);return o.resolveInjectorInitializers(),o}function Kd(e,t=null,n=null,r,o=new Set){let i=[n||re,Dd(e)];return r=r||(typeof e=="object"?void 0:ht(e)),new $t(i,t||Tn(),r||null,o)}var te=class e{static THROW_IF_NOT_FOUND=Vt;static NULL=new ir;static create(t,n){if(Array.isArray(t))return ca({name:""},n,t,"");{let r=t.name??"";return ca({name:r},t.parent,t.providers,r)}}static \u0275prov=w({token:e,providedIn:"any",factory:()=>M(Ea)});static __NG_ELEMENT_ID__=-1},$=new E(""),Ke=(()=>{class e{static __NG_ELEMENT_ID__=xy;static __NG_ENV_ID__=n=>n}return e})(),sr=class extends Ke{_lView;constructor(t){super(),this._lView=t}get destroyed(){return Qt(this._lView)}onDestroy(t){let n=this._lView;return Oa(n,t),()=>xd(n,t)}};function xy(){return new sr(D())}var ue=class{_console=console;handleError(t){this._console.error("ERROR",t)}},Je=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))}}}),Jd={provide:vt,useValue:()=>void p(ue),multi:!0};function We(e,t){let[n,r,o]=js(e,t?.equal),i=n,s=i[ee];return i.set=r,i.update=o,i.asReadonly=ai.bind(i),i}function ai(){let e=this[ee];if(e.readonlyFn===void 0){let t=()=>this();t[ee]=e,e.readonlyFn=t}return e.readonlyFn}var xe=class{},kn=new E("",{providedIn:"root",factory:()=>!1});var qa=new E(""),ci=new E("");var Fn=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=Ny}return e})();function Ny(){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 Dr=(()=>{class e{static \u0275prov=w({token:e,providedIn:"root",factory:()=>new la})}return e})(),la=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 li="__parameters__";function Vy(e){return function(...n){if(e){let r=e(...n);for(let o in r)this[o]=r[o]}}}function kf(e,t,n){return Un(()=>{let r=Vy(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(li)?c[li]:Object.defineProperty(c,li,{value:[]})[li];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 Pi=Da(kf("Optional"),8);var Ff=Da(kf("SkipSelf"),4);function By(e){return typeof e=="function"}var Di=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function Lf(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var zn=(()=>{let e=()=>jf;return e.ngInherit=!0,e})();function jf(e){return e.type.prototype.ngOnChanges&&(e.setInput=$y),Hy}function Hy(){let e=Bf(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 $y(e,t,n,r,o){let i=this.declaredInputs[r],s=Bf(e)||Uy(e,{previous:Ne,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new Di(l&&l.currentValue,n,c===Ne),Lf(e,t,o,n)}var Vf="__ngSimpleChanges__";function Bf(e){return e[Vf]||null}function Uy(e,t){return e[Vf]=t}var Xd=[];var R=function(e,t=null,n){for(let r=0;r<Xd.length;r++){let o=Xd[r];o(e,t,n)}};function zy(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=jf(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 Hf(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 pi(e,t,n){$f(e,t,3,n)}function gi(e,t,n,r){(e[_]&3)===n&&$f(e,t,n,r)}function Za(e,t){let n=e[_];(n&3)===t&&(n&=16383,n+=1,e[_]=n)}function $f(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)&&(Gy(e,n,t,c),e[qt]=(e[qt]&4294901760)+c+2),c++}function ef(e,t){R(4,e,t);let n=I(null);try{t.call(e)}finally{I(n),R(5,e,t)}}function Gy(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,ef(a,i)):ef(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 Wy(e){return(e.flags&8)!==0}function qy(e){return(e.flags&16)!==0}function Zy(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];Qy(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function Yy(e){return e===3||e===4||e===6}function Qy(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?tf(e,n,o,null,t[++r]):tf(e,n,o,null,null))}}return e}function tf(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 Uf(e){return e!==jn}function _i(e){return e&32767}function Ky(e){return e>>16}function Ei(e,t){let n=Ky(e),r=t;for(;n>0;)r=r[Wt],n--;return r}var ic=!0;function wi(e){let t=ic;return ic=e,t}var Jy=256,zf=Jy-1,Gf=5,Xy=0,qe={};function ev(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Ut)&&(r=n[Ut]),r==null&&(r=n[Ut]=Xy++);let o=r&zf,i=1<<o;t.data[e+(o>>Gf)]|=i}function Ii(e,t){let n=Wf(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(Uf(o)){let s=_i(o),a=Ei(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 Wf(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=Kf(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){ev(e,t,n)}function qf(e,t,n){if(n&8||e!==void 0)return e;Uo(t,"NodeInjector")}function Zf(e,t,n,r){if(n&8&&r===void 0&&(r=null),(n&3)===0){let o=e[Gt],i=ie(void 0);try{return o?o.get(t,r,n&8):va(t,r,n&8)}finally{ie(i)}}return qf(r,t,n)}function Yf(e,t,n,r=0,o){if(e!==null){if(t[_]&2048&&!(r&2)){let s=iv(e,t,n,r,qe);if(s!==qe)return s}let i=Qf(e,t,n,r,qe);if(i!==qe)return i}return Zf(t,n,r,o)}function Qf(e,t,n,r,o){let i=nv(n);if(typeof i=="function"){if(!Ga(t,e,r))return r&1?qf(o,n,r):Zf(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&8))Uo(n);else return s}finally{Wa()}}else if(typeof i=="number"){let s=null,a=Wf(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||!rf(r,!1)?a=-1:(s=t[y],a=_i(c),t=Ei(c,t)));a!==-1;){let u=t[y];if(nf(i,a,u.data)){let d=tv(a,t,n,s,r,l);if(d!==qe)return d}c=t[a+8],c!==jn&&rf(r,t[y].data[a+8]===l)&&nf(i,a,t)?(s=u,a=_i(c),t=Ei(c,t)):a=-1}}return o}function tv(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=mi(a,s,n,c,l);return u!==null?wr(t,s,u,a,o):qe}function mi(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 wr(e,t,n,r,o){let i=e[n],s=t.data;if(i instanceof nn){let a=i;if(a.resolving){let f=Lo(s[n]);throw ya(f)}let c=wi(a.canSeeViewProviders);a.resolving=!0;let l=s[n].type||s[n],u,d=a.injectImpl?ie(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&&zy(n,s[n],t)}finally{d!==null&&ie(d),wi(c),a.resolving=!1,Wa()}}return i}function nv(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&zf:rv:t}function nf(e,t,n){let r=1<<e;return!!(n[t+(e>>Gf)]&r)}function rf(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 Yf(this._tNode,this._lView,t,Bt(r),n)}};function rv(){return new tn(K(),D())}function ov(e){return Un(()=>{let t=e.prototype.constructor,n=t[or]||ac(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[or]||ac(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function ac(e){return ua(e)?()=>{let t=ac(q(e));return t&&t()}:pt(e)}function iv(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[_]&2048&&!An(s);){let a=Qf(i,s,n,r|2,qe);if(a!==qe)return a;let c=i.parent;if(!c){let l=s[Ta];if(l){let u=l.get(n,qe,r);if(u!==qe)return u}c=Kf(s),s=s[Wt]}i=c}return o}function Kf(e){let t=e[y],n=t.type;return n===2?t.declTNode:n===1?e[De]:null}function sv(){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__=sv}return e})();function Jf(e){return e instanceof he?e.nativeElement:e}function av(){return this._results[Symbol.iterator]()}var Ci=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=md(t);(this._changesDetected=!gd(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]=av};function Xf(e){return(e.flags&128)===128}var Zc=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Zc||{}),eh=new Map,cv=0;function lv(){return cv++}function uv(e){eh.set(e[ur],e)}function cc(e){eh.delete(e[ur])}var of="__ngContext__";function Bn(e,t){ze(t)?(e[of]=t[ur],uv(t)):e[of]=t}function th(e){return rh(e[Nn])}function nh(e){return rh(e[ve])}function rh(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:()=>dv}),dv="ng",ki=new E(""),Mt=new E("",{providedIn:"platform",factory:()=>"unknown"});var fv=new E(""),Fi=new E("",{providedIn:"root",factory:()=>Qc().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var hv="h",pv="b";var oh="r";var ih="di";var sh=!1,ah=new E("",{providedIn:"root",factory:()=>sh});var gv=(e,t,n,r)=>{};function mv(e,t,n,r){gv(e,t,n,r)}function Kc(e){return(e.flags&32)===32}var yv=()=>null;function ch(e,t,n=!1){return yv(e,t,n)}function lh(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];yr(i),a.contentQueries(2,t[s],s)}}}finally{I(r)}}}function uc(e,t,n){yr(0);let r=I(null);try{t(e,n)}finally{I(r)}}function Jc(e,t,n){if(xa(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||{}),ui;function vv(){if(ui===void 0&&(ui=null,ye.trustedTypes))try{ui=ye.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ui}function Li(e){return vv()?.createHTML(e)||e}var di;function Dv(){if(di===void 0&&(di=null,ye.trustedTypes))try{di=ye.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return di}function sf(e){return Dv()?.createHTML(e)||e}var et=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Vo})`}},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=uh(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Vo})`)}return n===t}function uh(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 _v(e){let t=new yc(e);return Ev()?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(Li(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=Li(t),n}};function Ev(){try{return!!new window.DOMParser().parseFromString(Li(""),"text/html")}catch{return!1}}var wv=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Nr(e){return e=String(e),e.match(wv)?e:"unsafe:"+e}function nt(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function Rr(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var dh=nt("area,br,col,hr,img,wbr"),fh=nt("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),hh=nt("rp,rt"),Iv=Rr(hh,fh),Cv=Rr(fh,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")),bv=Rr(hh,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")),af=Rr(dh,Cv,bv,Iv),ph=nt("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Sv=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"),Tv=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"),Mv=Rr(ph,Sv,Tv),xv=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=Av(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=Rv(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=cf(t).toLowerCase();if(!af.hasOwnProperty(n))return this.sanitizedSomething=!0,!xv.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(!Mv.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;ph[a]&&(c=Nr(c)),this.buf.push(" ",s,'="',lf(c),'"')}return this.buf.push(">"),!0}endElement(t){let n=cf(t).toLowerCase();af.hasOwnProperty(n)&&!dh.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(lf(t))}};function Nv(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function Rv(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw gh(t);return t}function Av(e){let t=e.firstChild;if(t&&Nv(e,t))throw gh(t);return t}function cf(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function gh(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var Ov=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Pv=/([^\#-~ |!])/g;function lf(e){return e.replace(/&/g,"&").replace(Ov,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(Pv,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var fi;function ji(e,t){let n=null;try{fi=fi||_v(e);let r=t?String(t):"";n=fi.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=fi.getInertBodyElement(r)}while(r!==i);let a=new vc().sanitizeChildren(uf(n)||n);return Li(a)}finally{if(n){let r=uf(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function uf(e){return"content"in e&&kv(e)?e.content:null}function kv(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 Fv(e){let t=mh();return t?sf(t.sanitize(Ve.HTML,e)||""):tt(e,"HTML")?sf(je(e)):ji(Qc(),zt(e))}function Lv(e){let t=mh();return t?t.sanitize(Ve.URL,e)||"":tt(e,"URL")?je(e):Nr(zt(e))}function mh(){let e=D();return e&&e[$e].sanitizer}var jv=/^>|^->|<!--|-->|--!>|<!-$/g,Vv=/(<|>)/g,Bv="\u200B$1\u200B";function Hv(e){return e.replace(jv,t=>t.replace(Vv,Bv))}function $v(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 yh="ng-template";function Uv(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&$v(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!==yh}function zv(e,t,n){let r=e.type===4&&!n?yh:e.value;return t===r}function Gv(e,t,n){let r=4,o=e.attrs,i=o!==null?Zv(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!==""&&!zv(e,c,n)||c===""&&t.length===1){if(ke(r))return!1;s=!0}}else if(r&8){if(o===null||!Uv(e,o,c,n)){if(ke(r))return!1;s=!0}}else{let l=t[++a],u=Wv(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 Wv(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 Yv(t,e)}function qv(e,t,n=!1){for(let r=0;r<t.length;r++)if(Gv(e,t[r],n))return!0;return!1}function Zv(e){for(let t=0;t<e.length;t++){let n=e[t];if(Yy(n))return t}return e.length}function Yv(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 df(e,t){return e?":not("+t.trim()+")":t}function Qv(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+=df(i,o),o=""),r=s,i=i||!ke(r);n++}return o!==""&&(t+=df(i,o)),t}function Kv(e){return e.map(Qv).join(",")}function Jv(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 Xv(e,t){return e.createText(t)}function eD(e,t,n){e.setValue(t,n)}function tD(e,t){return e.createComment(Hv(t))}function vh(e,t,n){return e.createElement(t,n)}function bi(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Dh(e,t,n){e.appendChild(t,n)}function ff(e,t,n,r,o){r!==null?bi(e,t,n,r,o):Dh(e,t,n)}function _h(e,t,n){e.removeChild(null,t,n)}function nD(e,t,n){e.setAttribute(t,"style",n)}function rD(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Eh(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&Zy(e,t,r),o!==null&&rD(e,t,o),i!==null&&nD(e,t,i)}function il(e,t,n,r,o,i,s,a,c,l,u){let d=k+r,h=d+o,f=oD(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 oD(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:pe);return n}function iD(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),Aa(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[ur]=lv(),d[Mn]=u,d[Ta]=l,d[de]=t.type==2?e[de]:d,d}function sD(e,t,n){let r=Pe(t,e),o=iD(n),i=e[$e].rendererFactory,s=al(e,sl(e,o,null,wh(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function wh(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Ih(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[Sa][ve]=t:e[Nn]=t,e[Sa]=t,t}function Ch(e=1){bh(H(),D(),Ge()+e,!1)}function bh(e,t,n,r){if(!r)if((t[_]&3)===3){let i=e.preOrderCheckHooks;i!==null&&pi(t,i,n)}else{let i=e.preOrderHooks;i!==null&&gi(t,i,0,n)}bt(n)}var Vi=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Vi||{});function Dc(e,t,n,r){let o=I(null);try{let[i,s,a]=e.inputs[n],c=null;(s&Vi.SignalBased)!==0&&(c=t[i][ee]),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):Lf(t,c,i,r)}finally{I(o)}}var Le=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Le||{}),aD;function cl(e,t){return aD(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?Dh(t,n,a):bi(t,n,a,o||null,!0):e===1&&n!==null?bi(t,n,a,o||null,!0):e===2?_h(t,a,s):e===3&&t.destroyNode(a),i!=null&&DD(t,e,i,n,o)}}function cD(e,t){Sh(e,t),t[Re]=null,t[De]=null}function lD(e,t,n,r,o,i){r[Re]=o,r[De]=t,Hi(e,r,n,1,o,i)}function Sh(e,t){t[$e].changeDetectionScheduler?.notify(9),Hi(e,t,t[j],2,null,null)}function uD(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 Bi(e,t){if(Qt(t))return;let n=t[j];n.destroyNode&&Hi(e,t,n,3,null,null),uD(t)}function Qa(e,t){if(Qt(t))return;let n=I(null);try{t[_]&=-129,t[_]|=256,t[fe]&&Ot(t[fe]),fD(e,t),dD(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 dD(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[Ye];if(o!==null){t[Ye]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[Qe];if(i!==null){t[Qe]=null;for(let s of i)s.destroy()}}function fD(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 hD(e,t,n){return pD(e,t.parent,n)}function pD(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 gD(e,t,n){return yD(e,t,n)}function mD(e,t,n){return e.type&40?Pe(e,n):null}var yD=mD,hf;function ul(e,t,n,r){let o=hD(e,r,t),i=t[j],s=r.parent||t[De],a=gD(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)ff(i,o,n[c],a,!1);else ff(i,o,n,a,!1);hf!==void 0&&hf(i,r,t,n,o)}function _r(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 _r(e,r);{let o=e[t.index];return Ae(o)?_c(-1,o):_e(o)}}else{if(n&128)return _r(e,t.next);if(n&32)return cl(t,e)()||_e(e[t.index]);{let r=Th(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=gt(e[de]);return _r(o,r)}else return _r(e,t.next)}}}return null}function Th(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 _r(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?vD(e,t,r,n,o,i):Ln(t,e,o,a,i);n=s?n.projectionNext:n.next}}function Hi(e,t,n,r,o,i){dl(n,r,e.firstChild,t,o,i,!1)}function vD(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];Xf(r)&&(l.flags|=128),dl(e,t,l,u,o,i,!0)}}function DD(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];Hi(c[y],c,e,t,r,i)}}function _D(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 Mh(e,t,n,r,o){let i=Ge(),s=r&2;try{bt(-1),s&&t.length>k&&bh(e,t,k,!1),R(s?2:0,o,n),n(r,o)}finally{bt(i),R(s?3:1,o,n)}}function $i(e,t,n){TD(e,t,n),(n.flags&64)===64&&MD(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 ED(e,t,n,r){let i=r.get(ah,sh)||n===Xe.ShadowDom,s=e.selectRootElement(t,i);return wD(s),s}function wD(e){ID(e)}var ID=()=>null;function CD(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function bD(e,t,n,r,o,i){let s=t[y];if(hl(e,s,t,n,r)){wt(e)&&SD(t,e.index);return}e.type&3&&(n=CD(n)),xh(e,t,n,r,o,i)}function xh(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 SD(e,t){let n=Ee(t,e);n[_]&16||(n[_]|=64)}function TD(e,t,n){let r=n.directiveStart,o=n.directiveEnd;wt(n)&&sD(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||Ii(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=wr(t,e,s,n);if(Bn(c,t),i!==null&&AD(t,s-r,c,a,n,i),Oe(a)){let l=Ee(n.index,t);l[z]=wr(t,e,s,n)}}}function MD(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=Hd();try{bt(i);for(let a=r;a<o;a++){let c=e.data[a],l=t[a];ti(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&xD(c,l)}}finally{bt(-1),ti(s)}}function xD(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];qv(t,i.selectors,!1)&&(r??=[],Oe(i)?r.unshift(i):r.push(i))}return r}function ND(e,t,n,r,o,i){let s=Pe(e,t);RD(t[j],s,i,e.value,n,r,o)}function RD(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 AD(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 Ui(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?(Eh(t[j],a,e),(Rd()===0||Rn(e))&&Bn(a,t),Ad()):Bn(a,t),si()&&(!c||!Kc(e))&&ul(s,t,a,e),e}function zi(e){let t=e;return Ba()?Ld():(t=t.parent,Kt(t,!1)),t}function OD(e,t){let n=e[Gt];if(!n)return;n.get(Je,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 PD(e,t){let n=Ee(t,e),r=n[y];kD(r,n);let o=n[Re];o!==null&&n[Mn]===null&&(n[Mn]=ch(o,n[Gt])),R(18),pl(r,n,n[z]),R(19,n[z])}function kD(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function pl(e,t,n){ri(t);try{let r=e.viewQuery;r!==null&&uc(1,r,n);let o=e.template;o!==null&&Mh(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[Ue]?.finishViewCreation(e),e.staticContentQueries&&lh(e,t),e.staticViewQueries&&uc(2,e.viewQuery,n);let i=e.components;i!==null&&FD(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[_]&=-5,oi()}}function FD(e,t){for(let n=0;n<t.length;n++)PD(e,t[n])}function Gi(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 Ir(e,t){return!t||t.firstChild===null||Xf(e)}var pf=!1,LD=new E("");function Cr(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)&&Nh(i,r);let s=n.type;if(s&8)Cr(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=Th(t,n);if(Array.isArray(a))r.push(...a);else{let c=gt(t[de]);Cr(c[y],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function Nh(e,t){for(let n=Q;n<e.length;n++){let r=e[n],o=r[y].firstChild;o!==null&&Cr(r[y],r,o,t)}e[Et]!==e[Re]&&t.push(e[Et])}function Rh(e){if(e[Zt]!==null){for(let t of e[Zt])t.impl.addSequence(t);e[Zt].length=0}}var Ah=[];function jD(e){return e[fe]??VD(e)}function VD(e){let t=Ah.pop()??Object.create(HD);return t.lView=e,t}function BD(e){e.lView[fe]!==e&&(e.lView=null,Ah.push(e))}var HD=X(Y({},Rt),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{It(e.lView)},consumerOnSignalRead(){this.lView[fe]=this}});function $D(e){let t=e[fe]??Object.create(UD);return t.lView=e,t}var UD=X(Y({},Rt),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=gt(e.lView);for(;t&&!Oh(t[y]);)t=gt(t);t&&Jo(t)},consumerOnSignalRead(){this.lView[fe]=this}});function Oh(e){return e.type!==2}function Ph(e){if(e[Qe]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[Qe])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[_]&8192)}}var zD=100;function gl(e,t=0){let r=e[$e].rendererFactory,o=!1;o||r.begin?.();try{GD(e,t)}finally{o||r.end?.()}}function GD(e,t){let n=Ua();try{Pn(!0),Ec(e,t);let r=0;for(;On(e);){if(r===zD)throw new m(103,!1);r++,Ec(e,1)}}finally{Pn(n)}}function kh(e,t){$a(t?gr.Exhaustive:gr.OnlyDirtyViews);try{gl(e)}finally{$a(gr.Off)}}function WD(e,t,n,r){if(Qt(t))return;let o=t[_],i=!1,s=!1;ri(t);let a=!0,c=null,l=null;i||(Oh(e)?(l=jD(t),c=At(l)):oo()===null?(a=!1,l=$D(t),c=At(l)):t[fe]&&(Ot(t[fe]),t[fe]=null));try{Aa(t),jd(e.bindingStartIndex),n!==null&&Mh(e,t,n,2,r);let u=(o&3)===3;if(!i)if(u){let f=e.preOrderCheckHooks;f!==null&&pi(t,f,null)}else{let f=e.preOrderHooks;f!==null&&gi(t,f,0,null),Za(t,0)}if(s||qD(t),Ph(t),Fh(t,0),e.contentQueries!==null&&lh(e,t),!i)if(u){let f=e.contentCheckHooks;f!==null&&pi(t,f)}else{let f=e.contentHooks;f!==null&&gi(t,f,1),Za(t,1)}YD(e,t);let d=e.components;d!==null&&jh(t,d,0);let h=e.viewQuery;if(h!==null&&uc(2,h,r),!i)if(u){let f=e.viewCheckHooks;f!==null&&pi(t,f)}else{let f=e.viewHooks;f!==null&&gi(t,f,2),Za(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Qo]){for(let f of t[Qo])f();t[Qo]=null}i||(Rh(t),t[_]&=-73)}catch(u){throw i||It(t),u}finally{l!==null&&(un(l,c),a&&BD(l)),oi()}}function Fh(e,t){for(let n=th(e);n!==null;n=nh(n))for(let r=Q;r<n.length;r++){let o=n[r];Lh(o,t)}}function qD(e){for(let t=th(e);t!==null;t=nh(t)){if(!(t[_]&2))continue;let n=t[Yt];for(let r=0;r<n.length;r++){let o=n[r];Jo(o)}}}function ZD(e,t,n){R(18);let r=Ee(t,e);Lh(r,n),R(19,r[z])}function Lh(e,t){Ko(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)WD(r,e,r.template,e[z]);else if(o&8192){let a=I(null);try{Ph(e),Fh(e,1);let c=r.components;c!==null&&jh(e,c,1),Rh(e)}finally{I(a)}}}function jh(e,t,n){for(let r=0;r<t.length;r++)ZD(e,t[r],n)}function YD(e,t){let n=e.hostBindingOpCodes;if(n!==null)try{for(let r=0;r<n.length;r++){let o=n[r];if(o<0)bt(~o);else{let i=o,s=n[++r],a=n[++r];Bd(s,i);let c=t[i];R(24,c),a(2,c),R(25,c)}}}finally{bt(-1)}}function ml(e,t){let n=Ua()?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 Vh(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function Bh(e,t){let n=Q+t;if(n<e.length)return e[n]}function Wi(e,t,n,r=!0){let o=t[y];if(QD(o,t,e,n),r){let s=_c(n,e),a=t[j],c=a.parentNode(e[Et]);c!==null&&lD(o,e[De],a,t,c,s)}let i=t[Mn];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function Hh(e,t){let n=br(e,t);return n!==void 0&&Bi(n[y],n),n}function br(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=cr(e,Q+t);cD(r[y],r);let s=i[Ue];s!==null&&s.detachView(i[y]),r[Z]=null,r[ve]=null,r[_]&=-129}return r}function QD(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],_a(n,Q+r,t)):(n.push(t),t[ve]=null),t[Z]=n;let s=t[_t];s!==null&&n!==s&&$h(s,t);let a=t[Ue];a!==null&&a.insertView(e),Xo(t),t[_]|=128}function $h(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 Cr(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[dr],r=n?n.indexOf(this):-1;r>-1&&(br(t,r),cr(n,r))}this._attachedToViewContainer=!1}Bi(this._lView[y],this._lView)}onDestroy(t){Oa(this._lView,t)}markForCheck(){ml(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[_]&=-129}reattach(){Xo(this._lView),this._lView[_]|=128}detectChanges(){this._lView[_]|=1024,gl(this._lView)}checkNoChanges(){return;try{this.exhaustive??=this._lView[Gt].get(LD,pf)}catch{this.exhaustive=pf}}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),Sh(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&&$h(r,this._lView),Xo(this._lView)}};function KD(e){return On(e._lView)||!!(e._lView[_]&64)}function JD(e){Jo(e._lView)}var Tt=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=XD;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=Gi(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:r,dehydratedView:o});return new St(i)}}return e})();function XD(){return qi(K(),D())}function qi(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=e_(e,t,n,r,o),Vd()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=Fd();i.injectorIndex=s===null?-1:s.injectorIndex}return Kt(i,!0),i}function e_(e,t,n,r,o){let i=Va(),s=Ba(),a=s?i:i&&i.parent,c=e.data[t]=n_(e,a,n,t,r,o);return t_(e,c,i,s),c}function t_(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 n_(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return Od()&&(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 tN=new RegExp(`^(\\d+)*(${pv}|${hv})*(.*)`);function r_(e){let t=e[Ma]??[],r=e[Z][j],o=[];for(let i of t)i.data[ih]!==void 0?o.push(i):o_(i,r);e[Ma]=o}function o_(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[oh];for(;n<o;){let i=r.nextSibling;_h(t,r,!1),r=i,n++}}}var i_=()=>null,s_=()=>null;function wc(e,t){return i_(e,t)}function Uh(e,t,n){return s_(e,t,n)}var zh=class{},Zi=class{},Ic=class{resolveComponentFactory(t){throw new m(917,!1)}},Yi=class{static NULL=new Ic},Ie=class{},Ar=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>a_()}return e})();function a_(){let e=D(),t=K(),n=Ee(t.index,e);return(ze(n)?n:e)[j]}var Gh=(()=>{class e{static \u0275prov=w({token:e,providedIn:"root",factory:()=>null})}return e})();var yi={},Cc=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){let o=this.injector.get(t,yi,r);return o!==yi||n===yi?o:this.parentInjector.get(t,n,r)}};function Si(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=Bo(o,a);else if(i==2){let c=a,l=t[++s];r=Bo(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 Yf(r,n,q(e),t)}function Wh(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}u_(e,t,n,a,i,c,l)}i!==null&&r!==null&&c_(n,r,i)}function c_(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 l_(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function u_(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,l_(e,n,h)),sc(Ii(n,t),e,f.type)}m_(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=Ih(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),f_(e,n,t,d,f),g_(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++}d_(e,n,i)}function d_(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let o=e.data[r];if(n===null||!n.has(o))gf(0,t,o,r),gf(1,t,o,r),yf(t,r,!1);else{let i=n.get(o);mf(0,t,i,r),mf(1,t,i,r),yf(t,r,!0)}}}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;e===0?s=t.inputs??={}:s=t.outputs??={},s[i]??=[],s[i].push(r),qh(t,i)}}function mf(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),qh(t,s)}}function qh(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function yf(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 f_(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,h_(e,t,r,Ih(e,n,o.hostVars,pe),o)}function h_(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;p_(s)!=a&&s.push(a),s.push(n,r,i)}}function p_(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function g_(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 m_(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&&Wh(c,t,d,we(l,a),o),d.mergedAttrs=Vn(d.mergedAttrs,d.attrs),d.attrs!==null&&Si(d,d.attrs,!1),d.mergedAttrs!==null&&Si(d,d.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,d),d}function vl(e,t){Hf(e,t),xa(t)&&e.queries.elementEnd(t)}function Zh(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&&Si(c,c.attrs,!1),c.mergedAttrs!==null&&Si(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 Yh(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 y_(e,t,n,r){let o=Ce(e,t,n);return Ce(e,t+1,r)||o}function vi(e,t,n){return function r(o){let i=wt(e)?Ee(e.index,t):t;ml(i,5);let s=t[z],a=vf(t,s,n,o),c=r.__ngNextListenerFn__;for(;c;)a=vf(t,s,c,o)&&a,c=c.__ngNextListenerFn__;return a}}function vf(e,t,n,r){let o=I(null);try{return R(6,t,n),n(r)!==!1}catch(i){return OD(e,i),!1}finally{R(7,t,n),I(o)}}function Qh(e,t,n,r,o,i,s,a){let c=Rn(e),l=!1,u=null;if(!r&&c&&(u=v_(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;mv(n,h,i,a);let f=o.listen(h,i,a),g=r?v=>r(_e(v[e.index])):e.index;Kh(g,t,n,i,a,f,!1)}return l}function v_(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 Kh(e,t,n,r,o,i,s){let a=t.firstCreatePass?ka(t):null,c=Pa(n),l=c.length;c.push(o,i),a&&a.push(r,e,l,(l+1)*(s?-1:1))}function Df(e,t,n,r,o,i){let s=t[n],a=t[y],l=a.data[n].outputs[r],d=s[l].subscribe(i);Kh(e.index,a,t,o,i,d,!0)}var bc=Symbol("BINDING");var Sc=class extends Yi{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=Dt(t);return new Hn(n,this.ngModule)}};function D_(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&Vi.SignalBased)!==0};return o&&(i.transform=o),i})}function __(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function E_(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 w_(e){let t=e.get(Ie,null);if(t===null)throw new m(407,!1);let n=e.get(Gh,null),r=e.get(xe,null);return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r,ngReflect:!1}}function I_(e,t){let n=(e.selectors[0][0]||"div").toLowerCase();return vh(t,n,n==="svg"?Na:n==="math"?bd:null)}var Hn=class extends Zi{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=D_(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=__(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=Kv(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=C_(r,c,s,i),u=E_(c,o||this.ngModule,t),d=w_(u),h=d.rendererFactory.createRenderer(null,c),f=r?ED(h,r,c.encapsulation,u):I_(c,h),g=s?.some(_f)||i?.some(T=>typeof T!="function"&&T.bindings.some(_f)),v=sl(null,l,null,512|wh(c),null,null,d,h,u,null,ch(f,u,!0));v[k]=f,ri(v);let C=null;try{let T=yl(k,v,2,"#host",()=>l.directiveRegistry,!0,0);f&&(Eh(h,f,T),Bn(f,v)),$i(l,v,T),Jc(l,T,v),vl(l,T),n!==void 0&&S_(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),oi()}return new Ti(this.componentType,v,!!g)}finally{I(a)}}};function C_(e,t,n,r){let o=e?["ng-version","20.1.7"]:Jv(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=qo(d);c.push(h)}return il(0,null,b_(i,s),1,a,c,null,null,null,[o],null)}function b_(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 _f(e){let t=e[bc].kind;return t==="input"||t==="twoWay"}var Ti=class extends zh{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=fr(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 S_(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__=T_}return e})();function T_(){let e=K();return Xh(e,D())}var M_=rt,Jh=class extends M_{_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(Uf(t)){let n=Ei(t,this._hostLView),r=_i(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=Ef(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,Ir(this._hostTNode,s)),a}createComponent(t,n,r,o,i,s,a){let c=t&&!By(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,Ir(this._hostTNode,f)),v}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(Td(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[Z],l=new Jh(c,c[De],c[Z]);l.detach(l.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return Wi(s,o,i,r),t.attachToViewContainerRef(),_a(Ka(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Ef(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=br(this._lContainer,n);r&&(cr(Ka(this._lContainer),n),Bi(r[y],r))}detach(t){let n=this._adjustIndex(t,-1),r=br(this._lContainer,n);return r&&cr(Ka(this._lContainer),n)!=null?new St(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Ef(e){return e[dr]}function Ka(e){return e[dr]||(e[dr]=[])}function Xh(e,t){let n,r=t[e.index];return Ae(r)?n=r:(n=Vh(r,t,null,e),t[e.index]=n,al(t,n)),N_(n,t,e,r),new Jh(n,e,t)}function x_(e,t){let n=e[j],r=n.createComment(""),o=Pe(t,e),i=n.parentNode(o);return bi(n,i,r,n.nextSibling(o),!1),r}var N_=O_,R_=()=>!1;function A_(e,t,n){return R_(e,t,n)}function O_(e,t,n,r){if(e[Et])return;let o;n.type&8?o=_e(r):o=x_(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++)El(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=V_(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,P_(n,i)),this.matchTNodeWithReadOption(t,n,mi(n,t,i,!1,!1))}else r===Tt?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,mi(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=mi(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 P_(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 k_(e,t){return e.type&11?Gn(e,t):e.type&4?qi(e,t):null}function F_(e,t,n,r){return n===-1?k_(t,e):n===-2?L_(e,t,r):wr(e,e[y],n,t)}function L_(e,t,n){if(n===he)return Gn(t,e);if(n===Tt)return qi(t,e);if(n===rt)return Xh(t,e)}function ep(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(F_(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=ep(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 _l(e,t){return e[Ue].queries[t].queryList}function j_(e,t,n){let r=new Ci((n&4)===4);return Nd(e,t,r,r.destroy),(t[Ue]??=new Mc).queries.push(new Tc(r))-1}function tp(e,t,n){let r=H();return r.firstCreatePass&&(B_(r,new xc(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),j_(r,D(),t)}function V_(e){return e.split(",").map(t=>t.trim())}function B_(e,t,n){e.queries===null&&(e.queries=new Nc),e.queries.track(new Rc(t,n))}function El(e,t){return e.queries.getByIndex(t)}function np(e,t){let n=e[y],r=El(n,t);return r.crossesNgTemplate?Ac(n,e,t,[]):ep(n,e,r,t)}function rp(e,t,n){let r,o=Qn(()=>{r._dirtyCounter();let i=$_(r,e);if(t&&i===void 0)throw new m(-951,!1);return i});return r=o[ee],r._dirtyCounter=We(0),r._flatValue=void 0,o}function op(e){return rp(!0,!1,e)}function ip(e){return rp(!0,!0,e)}function H_(e,t){let n=e[ee];n._lView=D(),n._queryIndex=t,n._queryList=_l(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function $_(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[_]&4)return t?void 0:re;let o=_l(n,r),i=np(n,r);return o.reset(i,Jf),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}var wf=new Set;function ot(e){wf.has(e)||(wf.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var Sr=class{};var Tr=class extends Sr{injector;componentFactoryResolver=new Sc(this);instance=null;constructor(t){super();let n=new $t([...t.providers,{provide:Sr,useValue:this},{provide:Yi,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 sp(e,t,n=null){return new Tr({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var U_=(()=>{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=Ia(!1,n.type),o=r.length>0?sp([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 Qi(e){return Un(()=>{let t=ap(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(U_).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Xe.Emulated,styles:e.styles||re,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&ot("NgStandalone"),cp(n);let r=e.dependencies;return n.directiveDefs=If(r,z_),n.pipeDefs=If(r,vd),n.id=q_(n),n})}function z_(e){return Dt(e)||qo(e)}function on(e){return Un(()=>({type:e.type,bootstrap:e.bootstrap||re,declarations:e.declarations||re,imports:e.imports||re,exports:e.exports||re,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function G_(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=Vi.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function W_(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=ap(e);return cp(t),t})}function Or(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 ap(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||re,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,inputs:G_(e.inputs,t),outputs:W_(e.outputs),debugInfo:null}}function cp(e){e.features?.forEach(t=>t(e))}function If(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 q_(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 Z_(e){return Object.getPrototypeOf(e.prototype).constructor}function wl(e){let t=Z_(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&&X_(e,a);let c=o.viewQuery,l=o.contentQueries;if(c&&K_(e,c),l&&J_(e,l),Y_(e,o),ud(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===wl&&(n=!1)}}t=Object.getPrototypeOf(t)}Q_(r)}function Y_(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 Q_(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===re?[]:e}function K_(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function J_(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function X_(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function eE(e){let t=n=>{let r=Array.isArray(e);n.hostDirectives===null?(n.resolveHostDirectives=tE,n.hostDirectives=r?e.map(Oc):[e]):r?n.hostDirectives.unshift(...e.map(Oc)):n.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function tE(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,lp(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 lp(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)Cf(Oc(i),t,n)}else Cf(r,t,n)}function Cf(e,t,n){let r=qo(e.directive);nE(r.declaredInputs,e.inputs),lp(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:bf(e.inputs),outputs:bf(e.outputs)}}function bf(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 nE(e,t){for(let n in t)if(t.hasOwnProperty(n)){let r=t[n],o=e[n];e[r]=o}}function up(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=oE(n,t,e,r);si()&&ul(n,t,c,e),Bn(c,t);let l=Vh(c,t,c,e);t[r+k]=l,al(t,l),A_(l,e,t)}function rE(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),ei()&&Wh(t,e,h,we(t.consts,l),fl),Hf(t,h)):h=t.data[d],up(h,e,t,n,r,o,i,c),Rn(h)&&$i(t,e,h),l!=null&&qn(e,h,u),h}function Mi(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 up(h,e,t,n,r,o,i,c),l!=null&&qn(e,h,u),h}function dp(e,t,n,r,o,i,s,a){let c=D(),l=H(),u=we(l.consts,i);return rE(c,l,e,t,n,r,o,u,void 0,s,a),dp}var oE=iE;function iE(e,t,n,r){return vr(!0),t[j].createComment("")}var Ki=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(Ki||{}),sn=new E(""),fp=!1,Pc=class extends x{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,Id()&&(this.destroyRef=p(Ke,{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 hp(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 Sf(e){return queueMicrotask(()=>e()),()=>{e=Xt}}var Il="isAngularZone",xi=Il+"_ID",sE=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=fp}=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,lE(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Il)===!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,aE,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)}},aE={};function Cl(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 cE(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){hp(()=>{e.callbackScheduled=!1,kc(e),e.isCheckStableRunning=!0,Cl(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),kc(e)}function lE(e){let t=()=>{cE(e)},n=sE++;e._inner=e._inner.fork({name:"angular",properties:{[Il]:!0,[xi]:n,[xi+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(uE(c))return r.invokeTask(i,s,a,c);try{return Tf(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Mf(e)}},onInvoke:(r,o,i,s,a,c,l)=>{try{return Tf(e),r.invoke(i,s,a,c,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!dE(c)&&t(),Mf(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,kc(e),Cl(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 Tf(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Mf(e){e._nesting--,Cl(e)}var Mr=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 uE(e){return pp(e,"__ignore_ng_zone__")}function dE(e){return pp(e,"__scheduler_tick__")}function pp(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var bl=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=w({token:e,providedIn:"root",factory:()=>new e})}return e})(),gp=[0,1,2,3],mp=(()=>{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 gp)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(Ki.AFTER_NEXT_RENDER,n):n()}static \u0275prov=w({token:e,providedIn:"root",factory:()=>new e})}return e})(),Ni=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(t,n,r,o,i,s=null){this.impl=t,this.hooks=n,this.view=r,this.once=o,this.snapshot=s,this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let t=this.view?.[Zt];t&&(this.view[Zt]=t.filter(n=>n!==this))}};function Ji(e,t){let n=t?.injector??p(te);return ot("NgAfterNextRender"),hE(e,n,t,!0)}function fE(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function hE(e,t,n,r){let o=t.get(bl);o.impl??=t.get(mp);let i=t.get(sn,null,{optional:!0}),s=n?.manualCleanup!==!0?t.get(Ke):null,a=t.get(Fn,null,{optional:!0}),c=new Ni(o.impl,fE(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var Sl=new E("");function Xi(e){return!!e&&typeof e.then=="function"}function Tl(e){return!!e&&typeof e.subscribe=="function"}var yp=new E("");var Ml=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=p(yp,{optional:!0})??[];injector=p(te);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=Yo(this.injector,o);if(Xi(i))n.push(i);else if(Tl(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})(),vp=new E("");function Dp(){Ls(()=>{let e="";throw new m(600,e)})}function _p(e){return e.isBoundToModule}var pE=10;var it=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=p(Je);afterRenderManager=p(bl);zonelessEnabled=p(kn);rootEffectScheduler=p(Dr);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(Ze(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=te.NULL){return this._injector.get(F).run(()=>{R(10);let s=n instanceof Zi;if(!this._injector.get(Ml).done){let g="";throw new m(405,g)}let c;s?c=n:c=this._injector.get(Yi).resolveComponentFactory(n),this.componentTypes.push(c.componentType);let l=_p(c)?void 0:this._injector.get(Sr),u=r||c.selector,d=c.create(o,[],u,l),h=d.location.nativeElement,f=d.injector.get(Sl,null);return f?.registerApplication(h),d.onDestroy(()=>{this.detachView(d.hostView),Er(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(Ki.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new m(101,!1);let n=I(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,I(n),this.afterTick.next(),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++<pE;)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;Er(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView);try{this.tick()}catch(o){this.internalErrorHandler(o)}this.components.push(n),this._injector.get(vp,[]).forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Er(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 Er(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function xl(e,t,n,r){let o=D(),i=Ct();if(Ce(o,i,t)){let s=H(),a=ii();ND(a,o,e,t,n,r)}return xl}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 gE(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 Ri,o??=Nf(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;)xf(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 Ri,o??=Nf(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;)xf(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 xf(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 Nf(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 Ri=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 mE(e,t,n,r,o,i,s,a){ot("NgControlFlow");let c=D(),l=H(),u=we(l.consts,i);return Mi(c,l,e,t,n,r,o,u,256,s,a),Nl}function Nl(e,t,n,r,o,i,s,a){ot("NgControlFlow");let c=D(),l=H(),u=we(l.consts,i);return Mi(c,l,e,t,n,r,o,u,512,s,a),Nl}function yE(e,t){ot("NgControlFlow");let n=D(),r=Ct(),o=n[r]!==pe?n[r]:-1,i=o!==-1?Ai(n,k+o):void 0,s=0;if(Ce(n,r,e)){let a=I(null);try{if(i!==void 0&&Hh(i,s),e!==-1){let c=k+e,l=Ai(n,c),u=Hc(n[y],c),d=Uh(l,u,n),h=Gi(n,u,t,{dehydratedView:d});Wi(l,h,s,Ir(u,d))}}finally{I(a)}}else if(i!==void 0){let a=Bh(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 vE(e,t){return t}var Vc=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function DE(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,Mi(f,g,e+1,t,n,r,o,we(g.consts,i),256),v&&Mi(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,Wi(this.lContainer,n,t,Ir(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,EE(this.lContainer,t)}create(t,n){let r=wc(this.lContainer,this.templateTNode.tView.ssrId),o=Gi(this.hostLView,this.templateTNode,new jc(this.lContainer,n,t),{dehydratedView:r});return this.operationsCounter?.recordCreate(),o}destroy(t){Bi(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 wE(this.lContainer,t)}};function _E(e){let t=I(null),n=Ge();try{let r=D(),o=r[y],i=r[n],s=n+1,a=Ai(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(gE(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=Ai(r,d);if(u){let f=Hc(o,d),g=Uh(h,f,r),v=Gi(r,f,void 0,{dehydratedView:g});Wi(h,v,0,Ir(f,g))}else o.firstUpdatePass&&r_(h),Hh(h,0)}}}finally{I(t)}}function Ai(e,t){return e[t]}function EE(e,t){return br(e,t)}function wE(e,t){return Bh(e,t)}function Hc(e,t){return fr(e,t)}function Ep(e,t,n){let r=D(),o=Ct();if(Ce(r,o,t)){let i=H(),s=ii();bD(s,r,e,t,r[j],n)}return Ep}function $c(e,t,n,r,o){hl(t,e,n,o?"class":"style",r)}function Rl(e,t,n,r){let o=D(),i=o[y],s=e+k,a=i.firstCreatePass?yl(s,o,2,t,fl,ei(),n,r):i.data[s];if(Ui(a,o,e,t,Ip),Rn(a)){let c=o[y];$i(c,o,a),Jc(c,a,o)}return r!=null&&qn(o,a),Rl}function Al(){let e=H(),t=K(),n=zi(t);return e.firstCreatePass&&vl(e,n),La(n)&&ja(),Fa(),n.classesWithoutHost!=null&&Wy(n)&&$c(e,n,D(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&qy(n)&&$c(e,n,D(),n.stylesWithoutHost,!1),Al}function wp(e,t,n,r){return Rl(e,t,n,r),Al(),wp}function es(e,t,n,r){let o=D(),i=o[y],s=e+k,a=i.firstCreatePass?Zh(s,i,2,t,n,r):i.data[s];return Ui(a,o,e,t,Ip),r!=null&&qn(o,a),es}function ts(){let e=K(),t=zi(e);return La(t)&&ja(),Fa(),ts}function Ol(e,t,n,r){return es(e,t,n,r),ts(),Ol}var Ip=(e,t,n,r,o)=>(vr(!0),vh(t[j],r,Yd()));function Pl(e,t,n){let r=D(),o=r[y],i=e+k,s=o.firstCreatePass?yl(i,r,8,"ng-container",fl,ei(),t,n):o.data[i];if(Ui(s,r,e,"ng-container",Tp),Rn(s)){let a=r[y];$i(a,r,s),Jc(a,s,r)}return n!=null&&qn(r,s),Pl}function ns(){let e=H(),t=K(),n=zi(t);return e.firstCreatePass&&vl(e,n),ns}function Cp(e,t,n){return Pl(e,t,n),ns(),Cp}function kl(e,t,n){let r=D(),o=r[y],i=e+k,s=o.firstCreatePass?Zh(i,o,8,"ng-container",t,n):o.data[i];return Ui(s,r,e,"ng-container",Tp),n!=null&&qn(r,s),kl}function bp(){let e=K(),t=zi(e);return ns}function Sp(e,t,n){return kl(e,t,n),bp(),Sp}var Tp=(e,t,n,r,o)=>(vr(!0),tD(t[j],""));function IE(){return D()}function Mp(e,t,n){let r=D(),o=Ct();if(Ce(r,o,t)){let i=H(),s=ii();xh(s,r,e,t,r[j],n)}return Mp}var en=void 0;function CE(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var bE=["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",CE],ec={};function ge(e){let t=SE(e),n=Rf(t);if(n)return n;let r=t.split("-")[0];if(n=Rf(r),n)return n;if(r==="en")return bE;throw new m(701,!1)}function Rf(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 SE(e){return e.toLowerCase().replace(/_/g,"-")}var Pr="en-US";var TE=Pr;function xp(e){typeof e=="string"&&(TE=e.toLowerCase().replace(/_/g,"-"))}function Np(e,t,n){let r=D(),o=H(),i=K();return ME(o,r,r[j],i,e,t,n),Np}function Rp(e,t,n){let r=D(),o=H(),i=K();return(i.type&3||n)&&Qh(i,o,r,n,r[j],e,t,vi(i,r,t)),Rp}function ME(e,t,n,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=vi(r,t,i),Qh(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??=vi(r,t,i),Df(r,t,h,f,o,c)}if(l&&l.length)for(let d of l)c??=vi(r,t,i),Df(r,t,d,o,o,c)}}function xE(e=1){return Wd(e)}function Ap(e,t,n){tp(e,t,n)}function Op(e){let t=D(),n=H(),r=ni();yr(r+1);let o=El(n,r);if(e.dirty&&Sd(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=np(t,r);e.reset(i,Jf),e.notifyOnChanges()}return!0}return!1}function Pp(){return _l(D(),ni())}function NE(e,t,n,r){H_(e,tp(t,n,r))}function RE(e=1){yr(ni()+e)}function AE(e){let t=Ha();return hr(t,k+e)}function hi(e,t){return e<<17|t<<2}function rn(e){return e>>17&32767}function OE(e){return(e&2)==2}function PE(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 kE(e){return(e&1)===1}function zc(e){return e|1}function FE(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]=hi(h,a),h!==0&&(e[h+1]=tc(e[h+1],r)),e[a+1]=PE(e[a+1],r)}else e[r+1]=hi(a,0),a!==0&&(e[a+1]=tc(e[a+1],r)),a=r;else e[r+1]=hi(c,0),a===0?a=r:e[c+1]=tc(e[c+1],r),c=r;l&&(e[r+1]=Uc(e[r+1])),Af(e,u,r,!0),Af(e,u,r,!1),LE(t,u,e,r,i),s=hi(a,c),i?t.classBindings=s:t.styleBindings=s}function LE(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 Af(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];jE(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 jE(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 VE(e){return e.substring(Fe.key,Fe.keyEnd)}function BE(e){return HE(e),kp(e,Fp(e,0,Fe.textEnd))}function kp(e,t){let n=Fe.textEnd;return n===t?-1:(t=Fe.keyEnd=$E(e,Fe.key=t,n),Fp(e,t,n))}function HE(e){Fe.key=0,Fe.keyEnd=0,Fe.value=0,Fe.valueEnd=0,Fe.textEnd=e.length}function Fp(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function $E(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function Fl(e,t,n){return Lp(e,t,n,!1),Fl}function kr(e,t){return Lp(e,t,null,!0),kr}function UE(e){GE(KE,zE,e,!0)}function zE(e,t){for(let n=BE(t);n>=0;n=kp(t,n))Go(e,VE(t),!0)}function Lp(e,t,n,r){let o=D(),i=H(),s=za(2);if(i.firstUpdatePass&&Vp(i,e,s,r),t!==pe&&Ce(o,s,t)){let a=i.data[Ge()];Bp(i,a,o,o[j],e,o[s+1]=XE(t,n),r,s)}}function GE(e,t,n,r){let o=H(),i=za(2);o.firstUpdatePass&&Vp(o,null,i,r);let s=D();if(n!==pe&&Ce(s,i,n)){let a=o.data[Ge()];if(Hp(a,r)&&!jp(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=Bo(c,n||"")),$c(o,a,s,n,r)}else JE(o,a,s,s[j],s[i+1],s[i+1]=QE(e,t,n),r,i)}}function jp(e,t){return t>=e.expandoStartIndex}function Vp(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[Ge()],s=jp(e,n);Hp(i,r)&&t===null&&!s&&(t=!1),t=WE(o,i,t,r),FE(o,i,t,n,s,r)}}function WE(e,t,n,r){let o=$d(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=nc(null,e,t,n,r),n=xr(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=qE(e,t,r);c!==void 0&&Array.isArray(c)&&(c=nc(null,e,t,c[1],r),c=xr(c,t.attrs,r),ZE(e,t,r,c))}else i=YE(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function qE(e,t,n){let r=n?t.classBindings:t.styleBindings;if($n(r)!==0)return e[rn(r)]}function ZE(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[rn(o)]=r}function YE(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=xr(r,s,n)}return xr(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=xr(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function xr(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]),Go(e,s,n?!0:t[++i]))}return e===void 0?null:e}function QE(e,t,n){if(n==null||n==="")return re;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 KE(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&Go(e,r,n)}function JE(e,t,n,r,o,i,s,a){o===pe&&(o=re);let c=0,l=0,u=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;u!==null||d!==null;){let h=c<o.length?o[c+1]:void 0,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&&Bp(e,t,n,r,g,v,s,a),u=c<o.length?o[c]:null,d=l<i.length?i[l]:null}}function Bp(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,l=c[a+1],u=kE(l)?Of(c,t,n,o,$n(l),s):void 0;if(!Oi(u)){Oi(i)||OE(l)&&(i=Of(c,null,n,o,a,s));let d=Ra(Ge(),n);_D(r,s,d,o,i)}}function Of(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?re:void 0);let f=d?Wo(h,r):u===r?h:void 0;if(l&&!Oi(f)&&(f=Wo(c,r)),Oi(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=Wo(c,r))}return a}function Oi(e){return e!==void 0}function XE(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=ht(je(e)))),e}function Hp(e,t){return(e.flags&(t?8:16))!==0}function ew(e,t=""){let n=D(),r=H(),o=e+k,i=r.firstCreatePass?Zn(r,o,1,t,null):r.data[o],s=tw(r,n,i,t,e);n[o]=s,si()&&ul(r,n,s,i),Kt(i,!1)}var tw=(e,t,n,r,o)=>(vr(!0),Xv(t[j],r));function $p(e,t,n,r=""){return Ce(e,Ct(),n)?t+zt(n)+r:pe}function Up(e){return Ll("",e),Up}function Ll(e,t,n){let r=D(),o=$p(r,e,t,n);return o!==pe&&nw(r,Ge(),o),Ll}function nw(e,t,n){let r=Ra(t,e);eD(e[j],r,n)}var zp={};function Gp(e){let t=H(),n=D(),r=e+k,o=Zn(t,r,128,null,null);return Kt(o,!1),pr(t,n,r,zp),Gp}function rw(e){ot("NgLet");let t=H(),n=D(),r=Ge();return pr(t,n,r,e),e}function ow(e){let t=Ha(),n=hr(t,k+e);if(n===zp)throw new m(314,!1);return n}function iw(e){return Ce(D(),Ct(),e)?zt(e):pe}function sw(e,t,n=""){return $p(D(),e,t,n)}function aw(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=ba(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(Ii(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(Ii(a,s),i,c);let T=uw(o?lw:cw,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=Wp(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=wd(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 Wp(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 cw(e,t,n,r,o){return Wc(this.multi,[])}function lw(e,t,n,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=wr(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 uw(e,t,n,r,o,i){let s=new nn(e,n,se,null);return s.multi=[],s.index=t,s.componentProviders=0,Wp(s,o,r&&!n),s}function rs(e,t=[]){return n=>{n.providersResolver=(r,o)=>aw(r,o?o(e):e,t)}}function dw(e,t,n,r){return Zp(D(),mr(),e,t,n,r)}function fw(e,t,n,r,o){return Yp(D(),mr(),e,t,n,r,o)}function qp(e,t){let n=e[t];return n===pe?void 0:n}function Zp(e,t,n,r,o,i){let s=t+n;return Ce(e,s,o)?Yh(e,s+1,i?r.call(i,o):r(o)):qp(e,s+1)}function Yp(e,t,n,r,o,i,s){let a=t+n;return y_(e,a,o,i)?Yh(e,a+2,s?r.call(s,o,i):r(o,i)):qp(e,a+2)}function hw(e,t){let n=H(),r,o=e+k;n.firstCreatePass?(r=pw(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=ie(se);try{let c=wi(!1),l=i();return wi(c),pr(n,D(),o,l),l}finally{ie(a)}}function pw(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function gw(e,t,n){let r=e+k,o=D(),i=hr(o,r);return Qp(o,r)?Zp(o,mr(),t,i.transform,n,i):i.transform(n)}function mw(e,t,n,r){let o=e+k,i=D(),s=hr(i,o);return Qp(i,o)?Yp(i,mr(),t,s.transform,n,r,s):s.transform(n,r)}function Qp(e,t){return e[y].data[t].pure}function yw(e,t){return qi(e,t)}var vw=(()=>{class e{zone=p(F);changeDetectionScheduler=p(xe);applicationRef=p(it);applicationErrorHandler=p(Je);_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 Kp({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new F(X(Y({},Jp()),{scheduleInRootZone:n})),[{provide:F,useFactory:e},{provide:vt,multi:!0,useFactory:()=>{let r=p(vw,{optional:!0});return()=>r.initialize()}},{provide:vt,multi:!0,useFactory:()=>{let r=p(Dw);return()=>{r.initialize()}}},t===!0?{provide:qa,useValue:!0}:[],{provide:ci,useValue:n??fp},{provide:Je,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 Jp(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 jl=(()=>{class e{applicationErrorHandler=p(Je);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(xi):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(p(ci,{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 Mr||!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?Sf:hp;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(xi+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,Sf(()=>{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 _w(){return ot("NgZoneless"),Zo([{provide:xe,useExisting:jl},{provide:F,useClass:Mr},{provide:kn,useValue:!0},{provide:ci,useValue:!1},[]])}function Ew(){return typeof $localize<"u"&&$localize.locale||Pr}var Fr=new E("",{providedIn:"root",factory:()=>p(Fr,{optional:!0,skipSelf:!0})||Ew()});var Lr=class{destroyed=!1;listeners=null;errorHandler=p(ue,{optional:!0});destroyRef=p(Ke);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 ww(e,t){return Qn(e,t?.equal)}var Vl=class{[ee];constructor(t){this[ee]=t}destroy(){this[ee].destroy()}};function Xp(e,t){let n=t?.injector??p(te),r=t?.manualCleanup!==!0?n.get(Ke):null,o,i=n.get(Fn,null,{optional:!0}),s=n.get(xe);return i!==null?(o=bw(i.view,s,e),r instanceof sr&&r._lView===i.view&&(r=null)):o=Sw(e,n.get(Dr),s),o.injector=n,r!==null&&(o.onDestroyFn=r.onDestroy(()=>o.destroy())),new Vl(o)}var eg=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)}}}),Iw=X(Y({},eg),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){Ot(this),this.onDestroyFn(),this.maybeCleanup(),this.scheduler.remove(this)}}),Cw=X(Y({},eg),{consumerMarkedDirty(){this.view[_]|=8192,It(this.view),this.notifier.notify(13)},destroy(){Ot(this),this.onDestroyFn(),this.maybeCleanup(),this.view[Qe]?.delete(this)}});function bw(e,t,n){let r=Object.create(Cw);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=n,e[Qe]??=new Set,e[Qe].add(r),r.consumerMarkedDirty(r),r}function Sw(e,t,n){let r=Object.create(Iw);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 is=Symbol("InputSignalNode#UNSET"),ag=X(Y({},io),{transformFn:void 0,applyValueToInputSignal(e,t){hn(e,t)}});function cg(e,t){let n=Object.create(ag);n.value=e,n.transformFn=t?.transform;function r(){if(ln(n),n.value===is){let o=null;throw new m(-950,o)}return n.value}return r[ee]=n,r}var Hw=new E("");Hw.__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 qk(e){return new Lr}function tg(e,t){return cg(e,t)}function $w(e){return cg(is,e)}var Zk=(tg.required=$w,tg);function ng(e,t){return op(t)}function Uw(e,t){return ip(t)}var Yk=(ng.required=Uw,ng);function lg(e,t){let n=Object.create(ag),r=new Lr;n.value=e;function o(){return ln(n),rg(n.value),n.value}return o[ee]=n,o.asReadonly=ai.bind(o),o.set=i=>{n.equal(n.value,i)||(hn(n,i),r.emit(i))},o.update=i=>{rg(n.value),o.set(i(n.value))},o.subscribe=r.subscribe.bind(r),o.destroyRef=r.destroyRef,o}function rg(e){if(e===is)throw new m(952,!1)}function og(e,t){return lg(e,t)}function zw(e){return lg(is,e)}var Qk=(og.required=zw,og);var Bl=new E(""),Gw=new E("");function jr(e){return!e.moduleRef}function Ww(e){let t=jr(e)?e.r3Injector:e.moduleRef.injector,n=t.get(F);return n.run(()=>{jr(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(Je),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:r})}),jr(e)){let i=()=>t.destroy(),s=e.platformInjector.get(Bl);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(Bl);s.add(i),e.moduleRef.onDestroy(()=>{Er(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return Zw(r,n,()=>{let i=t.get(Jt),s=i.add(),a=t.get(Ml);return a.runInitializers(),a.donePromise.then(()=>{let c=t.get(Fr,Pr);if(xp(c||Pr),!t.get(Gw,!0))return jr(e)?t.get(it):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(jr(e)){let u=t.get(it);return e.rootComponent!==void 0&&u.bootstrap(e.rootComponent),u}else return qw?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>void i.remove(s))})})}var qw;function Zw(e,t,n){try{let r=n();return Xi(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e(r)),r}}var os=null;function Yw(e=[],t){return te.create({name:t,providers:[{provide:lr,useValue:"platform"},{provide:Bl,useValue:new Set([()=>os=null])},...e]})}function Qw(e=[]){if(os)return os;let t=Yw(e);return os=t,Dp(),Kw(t),t}function Kw(e){let t=e.get(ki,null);Yo(e,()=>{t?.forEach(n=>n())})}var ss=(()=>{class e{static __NG_ELEMENT_ID__=Jw}return e})();function Jw(e){return Xw(K(),D(),(e&16)===16)}function Xw(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 Hl=class{constructor(){}supports(t){return t instanceof Map||Dl(t)}create(){return new $l}},$l=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 Ul(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))}},Ul=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(t){this.key=t}};function ig(){return new zl([new Hl])}var zl=(()=>{class e{static \u0275prov=w({token:e,providedIn:"root",factory:ig});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||ig()),deps:[[e,new Ff,new Pi]]}}find(n){let r=this.factories.find(o=>o.supports(n));if(r)return r;throw new m(901,!1)}}return e})();function ug(e){R(8);try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=Qw(r),i=[Kp({}),{provide:xe,useExisting:jl},Jd,...n||[]],s=new Tr({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1});return Ww({r3Injector:s.injector,platformInjector:o,rootComponent:t})}catch(t){return Promise.reject(t)}finally{R(9)}}function Gl(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function dg(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function fg(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 gg=null;function st(){return gg}function Wl(e){gg??=e}var Vr=class{},ql=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:()=>p(mg),providedIn:"platform"})}return e})();var mg=(()=>{class e extends ql{_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 yg(e,t){return e?t?e.endsWith("/")?t.startsWith("/")?e+t.slice(1):e+t:t.startsWith("/")?e+t:`${e}/${t}`:e:t}function hg(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 as=(()=>{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})(),vg=new E(""),Dg=(()=>{class e extends as{_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 yg(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(ql),M(vg,8))};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),_g=(()=>{class e{_subject=new x;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(n){this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=nI(hg(pg(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(tI(this._basePath,pg(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=yg;static stripTrailingSlash=hg;static \u0275fac=function(r){return new(r||e)(M(as))};static \u0275prov=w({token:e,factory:()=>eI(),providedIn:"root"})}return e})();function eI(){return new _g(M(as))}function tI(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function pg(e){return e.replace(/\/index.html$/,"")}function nI(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}var oe=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}(oe||{}),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 Ig(e){return ge(e)[G.LocaleId]}function Cg(e,t,n){let r=ge(e),o=[r[G.DayPeriodsFormat],r[G.DayPeriodsStandalone]],i=Se(o,t);return Se(i,n)}function bg(e,t,n){let r=ge(e),o=[r[G.DaysFormat],r[G.DaysStandalone]],i=Se(o,t);return Se(i,n)}function Sg(e,t,n){let r=ge(e),o=[r[G.MonthsFormat],r[G.MonthsStandalone]],i=Se(o,t);return Se(i,n)}function Tg(e,t){let r=ge(e)[G.Eras];return Se(r,t)}function Br(e,t){let n=ge(e);return Se(n[G.DateFormat],t)}function Hr(e,t){let n=ge(e);return Se(n[G.TimeFormat],t)}function $r(e,t){let r=ge(e)[G.DateTimeFormat];return Se(r,t)}function Ur(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 Mg(e){if(!e[G.ExtraData])throw new m(2303,!1)}function xg(e){let t=ge(e);return Mg(t),(t[G.ExtraData][2]||[]).map(r=>typeof r=="string"?Zl(r):[Zl(r[0]),Zl(r[1])])}function Ng(e,t,n){let r=ge(e);Mg(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 Zl(e){let[t,n]=e.split(":");return{hours:+t,minutes:+n}}var oI=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,cs={},iI=/((?:[^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 Rg(e,t,n,r){let o=pI(e);t=at(n,t)||t;let s=[],a;for(;t;)if(a=iI.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=Og(r,c),o=hI(o,r));let l="";return s.forEach(u=>{let d=dI(u);l+=d?d(o,n,c):u==="''"?"'":u.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),l}function hs(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=Ig(e);if(cs[n]??={},cs[n][t])return cs[n][t];let r="";switch(t){case"shortDate":r=Br(e,le.Short);break;case"mediumDate":r=Br(e,le.Medium);break;case"longDate":r=Br(e,le.Long);break;case"fullDate":r=Br(e,le.Full);break;case"shortTime":r=Hr(e,le.Short);break;case"mediumTime":r=Hr(e,le.Medium);break;case"longTime":r=Hr(e,le.Long);break;case"fullTime":r=Hr(e,le.Full);break;case"short":let o=at(e,"shortTime"),i=at(e,"shortDate");r=ls($r(e,le.Short),[o,i]);break;case"medium":let s=at(e,"mediumTime"),a=at(e,"mediumDate");r=ls($r(e,le.Medium),[s,a]);break;case"long":let c=at(e,"longTime"),l=at(e,"longDate");r=ls($r(e,le.Long),[c,l]);break;case"full":let u=at(e,"fullTime"),d=at(e,"fullDate");r=ls($r(e,le.Full),[u,d]);break}return r&&(cs[n][t]=r),r}function ls(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 sI(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=aI(e,i);if((n>0||a>-n)&&(a+=n),e===3)a===0&&n===-12&&(a=12);else if(e===6)return sI(a,t);let c=Ur(s,ct.MinusSign);return Be(a,t,c,r,o)}}function aI(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=oe.Format,r=!1){return function(o,i){return cI(o,i,e,t,n,r)}}function cI(e,t,n,r,o,i){switch(n){case 2:return Sg(t,o,r)[e.getMonth()];case 1:return bg(t,o,r)[e.getDay()];case 0:let s=e.getHours(),a=e.getMinutes();if(i){let l=xg(t),u=Ng(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 Cg(t,o,r)[s<12?0:1];case 3:return Tg(t,r)[e.getFullYear()<=0?0:1];default:let c=n;throw new m(2302,!1)}}function us(e){return function(t,n,r){let o=-1*r,i=Ur(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 lI=0,fs=4;function uI(e){let t=hs(e,lI,1).getDay();return hs(e,0,1+(t<=fs?fs:fs+7)-t)}function Ag(e){let t=e.getDay(),n=t===0?-3:fs-t;return hs(e.getFullYear(),e.getMonth(),e.getDate()+n)}function Yl(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=Ag(n),s=uI(i.getFullYear()),a=i.getTime()-s.getTime();o=1+Math.round(a/6048e5)}return Be(o,e,Ur(r,ct.MinusSign))}}function ds(e,t=!1){return function(n,r){let i=Ag(n).getFullYear();return Be(i,e,Ur(r,ct.MinusSign),t)}}var Ql={};function dI(e){if(Ql[e])return Ql[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=ds(1);break;case"YY":t=ds(2,!0);break;case"YYY":t=ds(3);break;case"YYYY":t=ds(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,oe.Standalone);break;case"LLLL":t=L(2,O.Wide,oe.Standalone);break;case"LLLLL":t=L(2,O.Narrow,oe.Standalone);break;case"w":t=Yl(1);break;case"ww":t=Yl(2);break;case"W":t=Yl(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,oe.Standalone);break;case"cccc":t=L(1,O.Wide,oe.Standalone);break;case"ccccc":t=L(1,O.Narrow,oe.Standalone);break;case"cccccc":t=L(1,O.Short,oe.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,oe.Standalone,!0);break;case"bbbb":t=L(0,O.Wide,oe.Standalone,!0);break;case"bbbbb":t=L(0,O.Narrow,oe.Standalone,!0);break;case"B":case"BB":case"BBB":t=L(0,O.Abbreviated,oe.Format,!0);break;case"BBBB":t=L(0,O.Wide,oe.Format,!0);break;case"BBBBB":t=L(0,O.Narrow,oe.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=us(0);break;case"ZZZZZ":t=us(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=us(1);break;case"OOOO":case"ZZZZ":case"zzzz":t=us(2);break;default:return null}return Ql[e]=t,t}function Og(e,t){e=e.replace(/:/g,"");let n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function fI(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function hI(e,t,n){let o=e.getTimezoneOffset(),i=Og(t,o);return fI(e,-1*(i-o))}function pI(e){if(Eg(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 hs(o,i-1,s)}let n=parseFloat(e);if(!isNaN(e-n))return new Date(n);let r;if(r=e.match(oI))return gI(r)}let t=new Date(e);if(!Eg(t))throw new m(2302,!1);return t}function gI(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 Eg(e){return e instanceof Date&&!isNaN(e.valueOf())}var Kl=/\s+/,wg=[],mI=(()=>{class e{_ngEl;_renderer;initialClasses=wg;rawClass;stateMap=new Map;constructor(n,r){this._ngEl=n,this._renderer=r}set klass(n){this.initialClasses=n!=null?n.trim().split(Kl):wg}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(Kl):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(Kl).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(Ar))};static \u0275dir=xt({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})();var yI=(()=>{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(zl),se(Ar))};static \u0275dir=xt({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return e})(),vI=(()=>{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 DI(e,t){return new m(2100,!1)}var _I="mediumDate",Pg=new E(""),kg=new E(""),EI=(()=>{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??_I,a=o??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return Rg(n,s,i||this.locale,a)}catch(s){throw DI(e,s.message)}}static \u0275fac=function(r){return new(r||e)(se(Fr,16),se(Pg,24),se(kg,24))};static \u0275pipe=Or({name:"date",type:e,pure:!0})}return e})();var Fg=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=on({type:e});static \u0275inj=yt({})}return e})();function Jl(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 zr=class{};var Xl="browser";function Lg(e){return e===Xl}var gs=new E(""),ou=(()=>{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(gs),M(F))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})(),Gr=class{_doc;constructor(t){this._doc=t}manager},eu="ng-app-id";function jg(e){for(let t of e)t.remove()}function Vg(e,t){let n=t.createElement("style");return n.textContent=e,n}function II(e,t,n,r){let o=e.head?.querySelectorAll(`style[${eu}="${t}"],link[${eu}="${t}"]`);if(o)for(let i of o)i.removeAttribute(eu),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 nu(e,t){let n=t.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",e),n}var iu=(()=>{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,II(n,r,this.inline,this.external),this.hosts.add(n.head)}addStyles(n,r){for(let o of n)this.addUsage(o,this.inline,Vg);r?.forEach(o=>this.addUsage(o,this.external,nu))}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&&(jg(o.elements),r.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])jg(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(let[r,{elements:o}]of this.inline)o.push(this.addElement(n,Vg(r,this.doc)));for(let[r,{elements:o}]of this.external)o.push(this.addElement(n,nu(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(Fi,8),M(Mt))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})(),tu={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"},su=/%COMP%/g;var Hg="%COMP%",CI=`_nghost-${Hg}`,bI=`_ngcontent-${Hg}`,SI=!0,TI=new E("",{providedIn:"root",factory:()=>SI});function MI(e){return bI.replace(su,e)}function xI(e){return CI.replace(su,e)}function $g(e,t){return t.map(n=>n.replace(su,e))}var au=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(n,r,o,i,s,a,c,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 Wr(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 ps?o.applyToHost(n):o instanceof qr&&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 ps(c,l,r,this.appId,u,s,a,d,h);break;case Xe.ShadowDom:return new ru(c,l,n,r,s,a,this.nonce,d,h);default:i=new qr(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(ou),M(iu),M(Wn),M(TI),M($),M(Mt),M(F),M(Fi),M(sn,8))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})(),Wr=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(tu[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(Bg(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(Bg(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=tu[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){let o=tu[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 Bg(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var ru=class extends Wr{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=$g(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=nu(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)}},qr=class extends Wr{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?$g(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)}},ps=class extends qr{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=MI(u),this.hostAttr=xI(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 ms=class e extends Vr{supportsDOMEvents=!0;static makeCurrent(){Wl(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=NI();return n==null?null:RI(n)}resetBaseElement(){Zr=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return Jl(document.cookie,t)}},Zr=null;function NI(){return Zr=Zr||document.head.querySelector("base"),Zr?Zr.getAttribute("href"):null}function RI(e){return new URL(e,document.baseURI).pathname}var AI=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})(),zg=(()=>{class e extends Gr{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})(),Ug=["alt","control","meta","shift"],OI={"\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"},PI={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},Gg=(()=>{class e extends Gr{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."),Ug.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=OI[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"),Ug.forEach(s=>{if(s!==o){let a=PI[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 kI(e){return ug(FI(e))}function FI(e){return{appProviders:[...HI,...e?.providers??[]],platformProviders:BI}}function LI(){ms.makeCurrent()}function jI(){return new ue}function VI(){return Yc(document),document}var BI=[{provide:Mt,useValue:Xl},{provide:ki,useValue:LI,multi:!0},{provide:$,useFactory:VI}];var HI=[{provide:lr,useValue:"root"},{provide:ue,useFactory:jI},{provide:gs,useClass:zg,multi:!0,deps:[$]},{provide:gs,useClass:Gg,multi:!0,deps:[$]},au,iu,ou,{provide:Ie,useExisting:au},{provide:zr,useClass:AI},[]];var cu=(()=>{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($I),o},providedIn:"root"})}return e})(),$I=(()=>{class e extends cu{_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):ji(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):Nr(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 Wg=class e{sanitizer=p(cu);transform(t){return t?this.sanitizer.bypassSecurityTrustHtml(t):""}static \u0275fac=function(n){return new(n||e)};static \u0275pipe=Or({name:"safeHtml",type:e,pure:!0})};var lu;function UI(){if(lu==null){let e=typeof document<"u"?document.head:null;lu=!!(e&&(e.createShadowRoot||e.attachShadow))}return lu}function ys(e){if(UI()){let t=e.getRootNode?e.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}function o1(){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 Yr(e){return e.composedPath?e.composedPath()[0]:e.target}function qg(e){return e.buttons===0||e.detail===0}function Zg(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 Yg(e,t=0){return zI(e)?Number(e):arguments.length===2?t:0}function zI(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}function lt(e){return e instanceof he?e.nativeElement:e}var vs=new WeakMap,Qg=(()=>{class e{_appRef;_injector=p(te);_environmentInjector=p(ce);load(n){let r=this._appRef=this._appRef||this._injector.get(it),o=vs.get(r);o||(o={loaders:new Set,refs:[]},vs.set(r,o),r.onDestroy(()=>{vs.get(r)?.refs.forEach(i=>i.destroy()),vs.delete(r)})),o.loaders.has(n)||(o.loaders.add(n),o.refs.push(fg(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 uu;try{uu=typeof Intl<"u"&&Intl.v8BreakIterator}catch{uu=!1}var Kg=(()=>{class e{_platformId=p(Mt);isBrowser=this._platformId?Lg(this._platformId):typeof document=="object"&&!!document;EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent);TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent);BLINK=this.isBrowser&&!!(window.chrome||uu)&&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 GI=new E("cdk-dir-doc",{providedIn:"root",factory:WI});function WI(){return p($)}var qI=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function ZI(e){let t=e?.toLowerCase()||"";return t==="auto"&&typeof navigator<"u"&&navigator?.language?qI.test(navigator.language)?"rtl":"ltr":t==="rtl"?"rtl":"ltr"}var Jg=(()=>{class e{get value(){return this.valueSignal()}valueSignal=We("ltr");change=new J;constructor(){let n=p(GI,{optional:!0});if(n){let r=n.body?n.body.dir:null,o=n.documentElement?n.documentElement.dir:null;this.valueSignal.set(ZI(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 D1(){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 YI=20,Xg=(()=>{class e{_platform=p(Kg);_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=YI){return n>0?this._change.pipe(Qs(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 du={},H1=(()=>{class e{_appId=p(Wn);getId(n){return this._appId!=="ng"&&(n+=this._appId),du.hasOwnProperty(n)||(du[n]=0),`${n}${du[n]++}`}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function U1(e){return Array.isArray(e)?e:[e]}function pu(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"?nm(e,t):(r==="input"||r==="select"||r==="textarea")&&tm(e,t),em("canvas",e,t,nm),em("input, textarea, select",e,t,tm),t}function em(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 QI=0;function tm(e,t){t.type!=="file"&&(t.value=e.value),t.type==="radio"&&t.name&&(t.name=`mat-clone-${t.name}-${QI++}`)}function nm(e,t){let n=t.getContext("2d");if(n)try{n.drawImage(e,0,0)}catch{}}function _u(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 gu(e,t,n){let{top:r,bottom:o,left:i,right:s}=e;return n>=r&&n<=o&&t>=i&&t<=s}function KI(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 Jr(e,t,n){e.top+=t,e.bottom=e.top+e.height,e.left+=n,e.right=e.left+e.width}function rm(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 Ds=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:_u(n)})})}handleScroll(t){let n=Yr(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)&&Jr(l.clientRect,a,c)}),o.top=i,o.left=s,{top:a,left:c}}getViewportScrollPosition(){return{top:window.scrollY,left:window.scrollX}}};function gm(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 Eu(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";Eu(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 om(e,t,n){Eu(e.style,{position:t?"":"fixed",top:t?"":"0",opacity:t?"":"0",left:t?"":"-999em"},n)}function _s(e,t){return t&&t!="none"?e+" "+t:e}function im(e,t){e.style.width=`${t.width}px`,e.style.height=`${t.height}px`,e.style.transform=Xr(t.left,t.top)}function Xr(e,t){return`translate3d(${Math.round(e)}px, ${Math.round(t)}px, 0)`}function sm(e){let t=e.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(e)*t}function JI(e){let t=getComputedStyle(e),n=fu(t,"transition-property"),r=n.find(a=>a==="transform"||a==="all");if(!r)return 0;let o=n.indexOf(r),i=fu(t,"transition-duration"),s=fu(t,"transition-delay");return sm(i[o])+sm(s[o])}function fu(e,t){return e.getPropertyValue(t).split(",").map(r=>r.trim())}var XI=new Set(["position"]),mu=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),am(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 JI(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=gm(s,this._document),this._previewEmbeddedView=s,t.matchSize?im(o,i):o.style.transform=Xr(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else o=pu(this._rootElement),im(o,this._initialDomRect),this._initialTransform&&(o.style.transform=this._initialTransform);return Eu(o.style,{"pointer-events":"none",margin:am(o)?"0 auto 0 0":"0",position:"fixed",top:"0",left:"0","z-index":this._zIndex+""},XI),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 am(e){return"showPopover"in e}var eC={passive:!0},cm={passive:!1},tC={passive:!1,capture:!0},nC=800,lm="cdk-drag-placeholder",um=new Set(["position"]),yu=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=We(!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 Ds(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,cm),r.listen(n,"touchstart",this._pointerDown,eC),r.listen(n,"dragstart",this._nativeDragStart,cm)]),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&&KI(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=Xr(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){Qr(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",rC,tC)}),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 mu(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)),om(o,!1,um),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=Qr(n),i=!o&&n.button!==0,s=this._rootElement,a=Yr(n),c=!o&&this._lastTouchEventTime&&this._lastTouchEventTime+nC>Date.now(),l=o?Zg(n):qg(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=_u(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){om(this._rootElement,!0,um),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&&Yr(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=gm(this._placeholderRef,this._document)):r=pu(this._rootElement),r.style.pointerEvents="none",r.classList.add(lm),r}_getPointerPositionInElement(t,n,r){let o=n===this._rootElement?null:n,i=o?o.getBoundingClientRect():t,s=Qr(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=Qr(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=dm(r,h,f),o=dm(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=Xr(t*r,n*r),i=this._rootElement.style;this._initialTransform==null&&(this._initialTransform=i.transform&&i.transform!="none"?i.transform:""),i.transform=_s(o,this._initialTransform)}_applyPreviewTransform(t,n){let r=this._previewTemplate?.template?void 0:this._initialTransform,o=Xr(t,n);this._preview.setTransform(_s(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:Qr(t)?n.touch:n?n.mouse:0}_updateOnScroll(t){let n=this._parentPositions.handleScroll(t);if(n){let r=Yr(t);this._boundaryRect&&r!==this._boundaryElement&&r.contains(this._boundaryElement)&&Jr(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=ys(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??=pu(this._placeholder);o.classList.remove(lm),o.classList.add("cdk-drag-anchor"),o.style.transform="",r?r.before(o):lt(n.element).appendChild(o)}}};function dm(e,t,n){return Math.max(t,Math.min(n,e))}function Qr(e){return e.type[0]==="t"}function rC(e){e.preventDefault()}function mm(e,t,n){let r=fm(t,e.length-1),o=fm(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 fm(e,t){return Math.max(0,Math.min(t,e))}var Es=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 mm(i,c,s),i.forEach((C,T)=>{if(v[T]===C)return;let ut=C.drag===t,ws=ut?f:g,wu=ut?t.getPlaceholderElement():C.drag.getRootElement();C.offset+=ws;let Iu=Math.round(C.offset*(1/C.drag.scale));a?(wu.style.transform=_s(`translate3d(${Iu}px, 0, 0)`,C.initialTransform),Jr(C.clientRect,0,ws)):(wu.style.transform=_s(`translate3d(0, ${Iu}px, 0)`,C.initialTransform),Jr(C.clientRect,ws,0))}),this._previousSwap.overlaps=gu(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})=>{Jr(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:_u(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}},vu=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),mm(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=ys(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}},hm=.05,ym=.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||{}),Du=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 Ds(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 Es&&(this._sortStrategy.direction=t),this}connectedTo(t){return this._siblings=t.slice(),this}withOrientation(t){if(t==="mixed")this._sortStrategy=new vu(this._document,this._dragDropRegistry);else{let n=new Es(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||!rm(this._domRect,hm,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||rm(s.clientRect,hm,t,n)&&([o,i]=oC(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=vm(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(),Zs(0,mo).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&&gu(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||!gu(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=ys(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 vm(e,t){let{top:n,bottom:r,height:o}=e,i=o*ym;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*ym;return t>=n-i&&t<=n+i?ae.LEFT:t>=r-i&&t<=r+i?ae.RIGHT:ae.NONE}function oC(e,t,n,r,o){let i=vm(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 Kr={capture:!0},hu={passive:!1,capture:!0},iC=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=Qi({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})(),_m=(()=>{class e{_ngZone=p(F);_document=p($);_styleLoader=p(Qg);_renderer=p(Ie).createRenderer(null,null);_cleanupDocumentTouchmove;_scroll=new x;_dropInstances=new Set;_dragInstances=new Set;_activeDragInstances=We([]);_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,hu)})}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(iC),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),Kr],["selectstart",this._preventDefaultWhileDragging,hu]];o?s.push(["touchend",i,Kr],["touchcancel",i,Kr]):s.push(["mouseup",i,Kr]),o||s.push(["mousemove",a=>this.pointerMove.next(a),hu]),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)},Kr);return()=>{i()}}))),Ao(...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})(),sC={dragStartThreshold:5,pointerDirectionChangeThreshold:5},aC=(()=>{class e{_document=p($);_ngZone=p(F);_viewportRuler=p(Xg);_dragDropRegistry=p(_m);_renderer=p(Ie).createRenderer(null,null);constructor(){}createDrag(n,r=sC){return new yu(n,r,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry,this._renderer)}createDropList(n){return new Du(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})(),pm=new E("CDK_DRAG_PARENT");var cC=new E("CdkDragHandle");var lC=new E("CDK_DRAG_CONFIG"),uC=new E("CdkDropList"),uj=(()=>{class e{element=p(he);dropContainer=p(uC,{optional:!0,skipSelf:!0});_ngZone=p(F);_viewContainerRef=p(rt);_dir=p(Jg,{optional:!0});_changeDetectorRef=p(ss);_selfHandle=p(cC,{optional:!0,self:!0});_parentDrag=p(pm,{optional:!0,skipSelf:!0});_dragDropRegistry=p(_m);_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(Ze(o=>({source:this,pointerPosition:o.pointerPosition,event:o.event,delta:o.delta,distance:o.distance}))).subscribe(n);return()=>{r.unsubscribe()}});_injector=p(te);constructor(){let n=this.dropContainer,r=p(lC,{optional:!0}),o=p(aC);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(){Ji(()=>{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:Yg(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(Ks(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(Js(n=>{let r=n.map(o=>o.element);this._selfHandle&&this.rootElementSelector&&r.push(this.element),this._dragRef.withHandles(r)}),Po(n=>Ao(...n.map(r=>r._stateChanges.pipe(Oo(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&&kr("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",Gl],constrainPosition:[0,"cdkDragConstrainPosition","constrainPosition"],previewClass:[0,"cdkDragPreviewClass","previewClass"],previewContainer:[0,"cdkDragPreviewContainer","previewContainer"],scale:[2,"cdkDragScale","scale",dg]},outputs:{started:"cdkDragStarted",released:"cdkDragReleased",ended:"cdkDragEnded",entered:"cdkDragEntered",exited:"cdkDragExited",dropped:"cdkDragDropped",moved:"cdkDragMoved"},exportAs:["cdkDrag"],features:[rs([{provide:pm,useExisting:e}]),zn]})}return e})();export{Y as a,X as b,dC as c,fC as d,hC as e,pC as f,gC as g,P as h,N as i,x as j,Lt as k,Gs as l,ed as m,Qm as n,qs as o,Ao as p,Ks as q,ad as r,oy as s,Oo as t,Po as u,Cn as v,w,yt as x,E as y,p as z,ce as A,Pd as B,kd as C,qd as D,Zd as E,te as F,$ as G,Ke as H,We as I,xe as J,ov as K,he as L,fv as M,Fv as N,Lv as O,Ch as P,KD as Q,JD as R,Tt as S,Yi as T,Ie as U,Ar as V,rt as W,Sr as X,Qi as Y,on as Z,xt as _,Or as $,wl as aa,eE as ba,dp as ca,J as da,F as ea,Ji as fa,it as ga,xl as ha,mE as ia,yE as ja,vE as ka,DE as la,_E as ma,Ep as na,Rl as oa,Al as pa,wp as qa,es as ra,ts as sa,Ol as ta,Cp as ua,Sp as va,IE as wa,Mp as xa,Np as ya,Rp as za,xE as Aa,Ap as Ba,Op as Ca,Pp as Da,NE as Ea,RE as Fa,AE as Ga,Fl as Ha,kr as Ia,UE as Ja,ew as Ka,Up as La,Ll as Ma,Gp as Na,rw as Oa,ow as Pa,iw as Qa,sw as Ra,dw as Sa,fw as Ta,hw as Ua,gw as Va,mw as Wa,yw as Xa,_w as Ya,ww as Za,Xp as _a,qk as $a,Zk as ab,Yk as bb,Qk as cb,ss as db,fg as eb,_g as fb,mI as gb,yI as hb,vI as ib,EI as jb,Fg as kb,kI as lb,Wg as mb,qg as nb,Zg as ob,ys as pb,o1 as qb,Yr as rb,Kg as sb,lt as tb,Qg as ub,U1 as vb,Jg as wb,D1 as xb,Xg as yb,H1 as zb,uj as Ab};
|