@rero/rero-ils-ui
Version:
User interface for RERO integrated library system (RERO ILS).
8 lines • 253 kB
JavaScript
var tm=Object.create;var as=Object.defineProperty,nm=Object.defineProperties,rm=Object.getOwnPropertyDescriptor,om=Object.getOwnPropertyDescriptors,im=Object.getOwnPropertyNames,Hr=Object.getOwnPropertySymbols,sm=Object.getPrototypeOf,ls=Object.prototype.hasOwnProperty,Qc=Object.prototype.propertyIsEnumerable;var Gc=(t,e,n)=>e in t?as(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,G=(t,e)=>{for(var n in e||={})ls.call(e,n)&&Gc(t,n,e[n]);if(Hr)for(var n of Hr(e))Qc.call(e,n)&&Gc(t,n,e[n]);return t},pe=(t,e)=>nm(t,om(e));var IT=(t=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(t,{get:(e,n)=>(typeof require<"u"?require:e)[n]}):t)(function(t){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+t+'" is not supported')});var _T=t=>typeof t=="symbol"?t:t+"",Kc=(t,e)=>{var n={};for(var r in t)ls.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&Hr)for(var r of Hr(t))e.indexOf(r)<0&&Qc.call(t,r)&&(n[r]=t[r]);return n};var wT=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var am=(t,e,n,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of im(e))!ls.call(t,o)&&o!==n&&as(t,o,{get:()=>e[o],enumerable:!(r=rm(e,o))||r.enumerable});return t};var bT=(t,e,n)=>(n=t!=null?tm(sm(t)):{},am(e||!t||!t.__esModule?as(n,"default",{value:t,enumerable:!0}):n,t));var Zc=(t,e,n)=>new Promise((r,o)=>{var i=l=>{try{a(n.next(l))}catch(c){o(c)}},s=l=>{try{a(n.throw(l))}catch(c){o(c)}},a=l=>l.done?r(l.value):Promise.resolve(l.value).then(i,s);a((n=n.apply(t,e)).next())});function fs(t,e){return Object.is(t,e)}var Z=null,Br=!1,ps=1,ae=Symbol("SIGNAL");function S(t){let e=Z;return Z=t,e}function hs(){return Z}var en={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function tn(t){if(Br)throw new Error("");if(Z===null)return;Z.consumerOnSignalRead(t);let e=Z.nextProducerIndex++;if(Wr(Z),e<Z.producerNode.length&&Z.producerNode[e]!==t&&qn(Z)){let n=Z.producerNode[e];zr(n,Z.producerIndexOfThis[e])}Z.producerNode[e]!==t&&(Z.producerNode[e]=t,Z.producerIndexOfThis[e]=qn(Z)?Jc(t,Z,e):0),Z.producerLastReadVersion[e]=t.version}function Yc(){ps++}function gs(t){if(!(qn(t)&&!t.dirty)&&!(!t.dirty&&t.lastCleanEpoch===ps)){if(!t.producerMustRecompute(t)&&!qr(t)){ds(t);return}t.producerRecomputeValue(t),ds(t)}}function ms(t){if(t.liveConsumerNode===void 0)return;let e=Br;Br=!0;try{for(let n of t.liveConsumerNode)n.dirty||lm(n)}finally{Br=e}}function ys(){return Z?.consumerAllowSignalWrites!==!1}function lm(t){t.dirty=!0,ms(t),t.consumerMarkedDirty?.(t)}function ds(t){t.dirty=!1,t.lastCleanEpoch=ps}function zn(t){return t&&(t.nextProducerIndex=0),S(t)}function Ur(t,e){if(S(e),!(!t||t.producerNode===void 0||t.producerIndexOfThis===void 0||t.producerLastReadVersion===void 0)){if(qn(t))for(let n=t.nextProducerIndex;n<t.producerNode.length;n++)zr(t.producerNode[n],t.producerIndexOfThis[n]);for(;t.producerNode.length>t.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function qr(t){Wr(t);for(let e=0;e<t.producerNode.length;e++){let n=t.producerNode[e],r=t.producerLastReadVersion[e];if(r!==n.version||(gs(n),r!==n.version))return!0}return!1}function Wn(t){if(Wr(t),qn(t))for(let e=0;e<t.producerNode.length;e++)zr(t.producerNode[e],t.producerIndexOfThis[e]);t.producerNode.length=t.producerLastReadVersion.length=t.producerIndexOfThis.length=0,t.liveConsumerNode&&(t.liveConsumerNode.length=t.liveConsumerIndexOfThis.length=0)}function Jc(t,e,n){if(Xc(t),t.liveConsumerNode.length===0&&eu(t))for(let r=0;r<t.producerNode.length;r++)t.producerIndexOfThis[r]=Jc(t.producerNode[r],t,r);return t.liveConsumerIndexOfThis.push(n),t.liveConsumerNode.push(e)-1}function zr(t,e){if(Xc(t),t.liveConsumerNode.length===1&&eu(t))for(let r=0;r<t.producerNode.length;r++)zr(t.producerNode[r],t.producerIndexOfThis[r]);let n=t.liveConsumerNode.length-1;if(t.liveConsumerNode[e]=t.liveConsumerNode[n],t.liveConsumerIndexOfThis[e]=t.liveConsumerIndexOfThis[n],t.liveConsumerNode.length--,t.liveConsumerIndexOfThis.length--,e<t.liveConsumerNode.length){let r=t.liveConsumerIndexOfThis[e],o=t.liveConsumerNode[e];Wr(o),o.producerIndexOfThis[r]=e}}function qn(t){return t.consumerIsAlwaysLive||(t?.liveConsumerNode?.length??0)>0}function Wr(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function Xc(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function eu(t){return t.producerNode!==void 0}function Gr(t,e){let n=Object.create(cm);n.computation=t,e!==void 0&&(n.equal=e);let r=()=>{if(gs(n),tn(n),n.value===$r)throw n.error;return n.value};return r[ae]=n,r}var cs=Symbol("UNSET"),us=Symbol("COMPUTING"),$r=Symbol("ERRORED"),cm=pe(G({},en),{value:cs,dirty:!0,error:null,equal:fs,kind:"computed",producerMustRecompute(t){return t.value===cs||t.value===us},producerRecomputeValue(t){if(t.value===us)throw new Error("Detected cycle in computations.");let e=t.value;t.value=us;let n=zn(t),r,o=!1;try{r=t.computation(),S(null),o=e!==cs&&e!==$r&&r!==$r&&t.equal(e,r)}catch(i){r=$r,t.error=i}finally{Ur(t,n)}if(o){t.value=e;return}t.value=r,t.version++}});function um(){throw new Error}var tu=um;function nu(t){tu(t)}function vs(t){tu=t}var dm=null;function Es(t,e){let n=Object.create(Qr);n.value=t,e!==void 0&&(n.equal=e);let r=()=>(tn(n),n.value);return r[ae]=n,r}function nn(t,e){ys()||nu(t),t.equal(t.value,e)||(t.value=e,fm(t))}function Is(t,e){ys()||nu(t),nn(t,e(t.value))}var Qr=pe(G({},en),{equal:fs,value:void 0,kind:"signal"});function fm(t){t.version++,Yc(),ms(t),dm?.()}function _s(t){let e=S(null);try{return t()}finally{S(e)}}var ws;function Gn(){return ws}function Ke(t){let e=ws;return ws=t,e}var Kr=Symbol("NotFound");function N(t){return typeof t=="function"}function rn(t){let n=t(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var Zr=rn(t=>function(n){t(this),this.message=n?`${n.length} errors occurred during unsubscription:
${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
`)}`:"",this.name="UnsubscriptionError",this.errors=n});function bt(t,e){if(t){let n=t.indexOf(e);0<=n&&t.splice(n,1)}}var z=class t{constructor(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let e;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(N(r))try{r()}catch(i){e=i instanceof Zr?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{ru(i)}catch(s){e=e??[],s instanceof Zr?e=[...e,...s.errors]:e.push(s)}}if(e)throw new Zr(e)}}add(e){var n;if(e&&e!==this)if(this.closed)ru(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(e)}}_hasParent(e){let{_parentage:n}=this;return n===e||Array.isArray(n)&&n.includes(e)}_addParent(e){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(e),n):n?[n,e]:e}_removeParent(e){let{_parentage:n}=this;n===e?this._parentage=null:Array.isArray(n)&&bt(n,e)}remove(e){let{_finalizers:n}=this;n&&bt(n,e),e instanceof t&&e._removeParent(this)}};z.EMPTY=(()=>{let t=new z;return t.closed=!0,t})();var bs=z.EMPTY;function Yr(t){return t instanceof z||t&&"closed"in t&&N(t.remove)&&N(t.add)&&N(t.unsubscribe)}function ru(t){N(t)?t():t.unsubscribe()}var Ne={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var on={setTimeout(t,e,...n){let{delegate:r}=on;return r?.setTimeout?r.setTimeout(t,e,...n):setTimeout(t,e,...n)},clearTimeout(t){let{delegate:e}=on;return(e?.clearTimeout||clearTimeout)(t)},delegate:void 0};function Jr(t){on.setTimeout(()=>{let{onUnhandledError:e}=Ne;if(e)e(t);else throw t})}function Dt(){}var ou=Ds("C",void 0,void 0);function iu(t){return Ds("E",void 0,t)}function su(t){return Ds("N",t,void 0)}function Ds(t,e,n){return{kind:t,value:e,error:n}}var Tt=null;function sn(t){if(Ne.useDeprecatedSynchronousErrorHandling){let e=!Tt;if(e&&(Tt={errorThrown:!1,error:null}),t(),e){let{errorThrown:n,error:r}=Tt;if(Tt=null,n)throw r}}else t()}function au(t){Ne.useDeprecatedSynchronousErrorHandling&&Tt&&(Tt.errorThrown=!0,Tt.error=t)}var Mt=class extends z{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,Yr(e)&&e.add(this)):this.destination=vm}static create(e,n,r){return new Ze(e,n,r)}next(e){this.isStopped?Ms(su(e),this):this._next(e)}error(e){this.isStopped?Ms(iu(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?Ms(ou,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(e){this.destination.next(e)}_error(e){try{this.destination.error(e)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},mm=Function.prototype.bind;function Ts(t,e){return mm.call(t,e)}var Ss=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:n}=this;if(n.next)try{n.next(e)}catch(r){Xr(r)}}error(e){let{partialObserver:n}=this;if(n.error)try{n.error(e)}catch(r){Xr(r)}else Xr(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(n){Xr(n)}}},Ze=class extends Mt{constructor(e,n,r){super();let o;if(N(e)||!e)o={next:e??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&Ne.useDeprecatedNextContext?(i=Object.create(e),i.unsubscribe=()=>this.unsubscribe(),o={next:e.next&&Ts(e.next,i),error:e.error&&Ts(e.error,i),complete:e.complete&&Ts(e.complete,i)}):o=e}this.destination=new Ss(o)}};function Xr(t){Ne.useDeprecatedSynchronousErrorHandling?au(t):Jr(t)}function ym(t){throw t}function Ms(t,e){let{onStoppedNotification:n}=Ne;n&&on.setTimeout(()=>n(t,e))}var vm={closed:!0,next:Dt,error:ym,complete:Dt};var an=typeof Symbol=="function"&&Symbol.observable||"@@observable";function le(t){return t}function Em(...t){return Cs(t)}function Cs(t){return t.length===0?le:t.length===1?t[0]:function(n){return t.reduce((r,o)=>o(r),n)}}var P=(()=>{class t{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new t;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=_m(n)?n:new Ze(n,r,o);return sn(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return r=lu(r),new r((o,i)=>{let s=new Ze({next:a=>{try{n(a)}catch(l){i(l),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)}[an](){return this}pipe(...n){return Cs(n)(this)}toPromise(n){return n=lu(n),new n((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return t.create=e=>new t(e),t})();function lu(t){var e;return(e=t??Ne.Promise)!==null&&e!==void 0?e:Promise}function Im(t){return t&&N(t.next)&&N(t.error)&&N(t.complete)}function _m(t){return t&&t instanceof Mt||Im(t)&&Yr(t)}function Ns(t){return N(t?.lift)}function C(t){return e=>{if(Ns(e))return e.lift(function(n){try{return t(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function M(t,e,n,r,o){return new xs(t,e,n,r,o)}var xs=class extends Mt{constructor(e,n,r,o,i,s){super(e),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(l){e.error(l)}}:super._next,this._error=o?function(a){try{o(a)}catch(l){e.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){e.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((e=this.onFinalize)===null||e===void 0||e.call(this))}}};function As(){return C((t,e)=>{let n=null;t._refCount++;let r=M(e,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount){n=null;return}let o=t._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),e.unsubscribe()});t.subscribe(r),r.closed||(n=t.connect())})}var ks=class extends P{constructor(e,n){super(),this.source=e,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,Ns(e)&&(this.lift=e.lift)}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){let e=this._subject;return(!e||e.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:e}=this;this._subject=this._connection=null,e?.unsubscribe()}connect(){let e=this._connection;if(!e){e=this._connection=new z;let n=this.getSubject();e.add(this.source.subscribe(M(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),e.closed&&(this._connection=null,e=z.EMPTY)}return e}refCount(){return As()(this)}};var ln={schedule(t){let e=requestAnimationFrame,n=cancelAnimationFrame,{delegate:r}=ln;r&&(e=r.requestAnimationFrame,n=r.cancelAnimationFrame);let o=e(i=>{n=void 0,t(i)});return new z(()=>n?.(o))},requestAnimationFrame(...t){let{delegate:e}=ln;return(e?.requestAnimationFrame||requestAnimationFrame)(...t)},cancelAnimationFrame(...t){let{delegate:e}=ln;return(e?.cancelAnimationFrame||cancelAnimationFrame)(...t)},delegate:void 0};var cu=rn(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var Me=(()=>{class t extends P{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new eo(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new cu}next(n){sn(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){sn(()=>{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(){sn(()=>{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?bs:(this.currentObservers=null,i.push(n),new z(()=>{this.currentObservers=null,bt(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new P;return n.source=this,n}}return t.create=(e,n)=>new eo(e,n),t})(),eo=class extends Me{constructor(e,n){super(),this.destination=e,this.source=n}next(e){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,e)}error(e){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,e)}complete(){var e,n;(n=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||n===void 0||n.call(e)}_subscribe(e){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(e))!==null&&r!==void 0?r:bs}};var Qn=class extends Me{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){let n=super._subscribe(e);return!n.closed&&e.next(this._value),n}getValue(){let{hasError:e,thrownError:n,_value:r}=this;if(e)throw n;return this._throwIfClosed(),r}next(e){super.next(this._value=e)}};var Kn={now(){return(Kn.delegate||Date).now()},delegate:void 0};var Zn=class extends Me{constructor(e=1/0,n=1/0,r=Kn){super(),this._bufferSize=e,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,e),this._windowTime=Math.max(1,n)}next(e){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(e),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(e)}_subscribe(e){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(e),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!e.closed;s+=r?1:2)e.next(i[s]);return this._checkFinalizedStatuses(e),n}_trimBuffer(){let{_bufferSize:e,_timestampProvider:n,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*e;if(e<1/0&&i<r.length&&r.splice(0,r.length-i),!o){let s=n.now(),a=0;for(let l=1;l<r.length&&r[l]<=s;l+=2)a=l;a&&r.splice(0,a+1)}}};var to=class extends z{constructor(e,n){super()}schedule(e,n=0){return this}};var Yn={setInterval(t,e,...n){let{delegate:r}=Yn;return r?.setInterval?r.setInterval(t,e,...n):setInterval(t,e,...n)},clearInterval(t){let{delegate:e}=Yn;return(e?.clearInterval||clearInterval)(t)},delegate:void 0};var cn=class extends to{constructor(e,n){super(e,n),this.scheduler=e,this.work=n,this.pending=!1}schedule(e,n=0){var r;if(this.closed)return this;this.state=e;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(e,n,r=0){return Yn.setInterval(e.flush.bind(e,this),r)}recycleAsyncId(e,n,r=0){if(r!=null&&this.delay===r&&this.pending===!1)return n;n!=null&&Yn.clearInterval(n)}execute(e,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(e,n);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,n){let r=!1,o;try{this.work(e)}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:e,scheduler:n}=this,{actions:r}=n;this.work=this.state=this.scheduler=null,this.pending=!1,bt(r,this),e!=null&&(this.id=this.recycleAsyncId(n,e,null)),this.delay=null,super.unsubscribe()}}};var un=class t{constructor(e,n=t.now){this.schedulerActionCtor=e,this.now=n}schedule(e,n=0,r){return new this.schedulerActionCtor(this,e).schedule(r,n)}};un.now=Kn.now;var dn=class extends un{constructor(e,n=un.now){super(e,n),this.actions=[],this._active=!1}flush(e){let{actions:n}=this;if(this._active){n.push(e);return}let r;this._active=!0;do if(r=e.execute(e.state,e.delay))break;while(e=n.shift());if(this._active=!1,r){for(;e=n.shift();)e.unsubscribe();throw r}}};var St=new dn(cn),uu=St;var no=class extends cn{constructor(e,n){super(e,n),this.scheduler=e,this.work=n}requestAsyncId(e,n,r=0){return r!==null&&r>0?super.requestAsyncId(e,n,r):(e.actions.push(this),e._scheduled||(e._scheduled=ln.requestAnimationFrame(()=>e.flush(void 0))))}recycleAsyncId(e,n,r=0){var o;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(e,n,r);let{actions:i}=e;n!=null&&n===e._scheduled&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==n&&(ln.cancelAnimationFrame(n),e._scheduled=void 0)}};var ro=class extends dn{flush(e){this._active=!0;let n;e?n=e.id:(n=this._scheduled,this._scheduled=void 0);let{actions:r}=this,o;e=e||r.shift();do if(o=e.execute(e.state,e.delay))break;while((e=r[0])&&e.id===n&&r.shift());if(this._active=!1,o){for(;(e=r[0])&&e.id===n&&r.shift();)e.unsubscribe();throw o}}};var wm=new ro(no);var Ct=new P(t=>t.complete());function oo(t){return t&&N(t.schedule)}function Rs(t){return t[t.length-1]}function io(t){return N(Rs(t))?t.pop():void 0}function je(t){return oo(Rs(t))?t.pop():void 0}function du(t,e){return typeof Rs(t)=="number"?t.pop():e}function pu(t,e,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{c(r.next(u))}catch(d){s(d)}}function l(u){try{c(r.throw(u))}catch(d){s(d)}}function c(u){u.done?i(u.value):o(u.value).then(a,l)}c((r=r.apply(t,e||[])).next())})}function fu(t){var e=typeof Symbol=="function"&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function Nt(t){return this instanceof Nt?(this.v=t,this):new Nt(t)}function hu(t,e,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(t,e||[]),o,i=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(f){return function(h){return Promise.resolve(h).then(f,d)}}function a(f,h){r[f]&&(o[f]=function(g){return new Promise(function(E,v){i.push([f,g,E,v])>1||l(f,g)})},h&&(o[f]=h(o[f])))}function l(f,h){try{c(r[f](h))}catch(g){p(i[0][3],g)}}function c(f){f.value instanceof Nt?Promise.resolve(f.value.v).then(u,d):p(i[0][2],f)}function u(f){l("next",f)}function d(f){l("throw",f)}function p(f,h){f(h),i.shift(),i.length&&l(i[0][0],i[0][1])}}function gu(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],n;return e?e.call(t):(t=typeof fu=="function"?fu(t):t[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=t[i]&&function(s){return new Promise(function(a,l){s=t[i](s),o(a,l,s.done,s.value)})}}function o(i,s,a,l){Promise.resolve(l).then(function(c){i({value:c,done:a})},s)}}var so=t=>t&&typeof t.length=="number"&&typeof t!="function";function ao(t){return N(t?.then)}function lo(t){return N(t[an])}function co(t){return Symbol.asyncIterator&&N(t?.[Symbol.asyncIterator])}function uo(t){return new TypeError(`You provided ${t!==null&&typeof t=="object"?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function bm(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var fo=bm();function po(t){return N(t?.[fo])}function ho(t){return hu(this,arguments,function*(){let n=t.getReader();try{for(;;){let{value:r,done:o}=yield Nt(n.read());if(o)return yield Nt(void 0);yield yield Nt(r)}}finally{n.releaseLock()}})}function go(t){return N(t?.getReader)}function L(t){if(t instanceof P)return t;if(t!=null){if(lo(t))return Dm(t);if(so(t))return Tm(t);if(ao(t))return Mm(t);if(co(t))return mu(t);if(po(t))return Sm(t);if(go(t))return Cm(t)}throw uo(t)}function Dm(t){return new P(e=>{let n=t[an]();if(N(n.subscribe))return n.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Tm(t){return new P(e=>{for(let n=0;n<t.length&&!e.closed;n++)e.next(t[n]);e.complete()})}function Mm(t){return new P(e=>{t.then(n=>{e.closed||(e.next(n),e.complete())},n=>e.error(n)).then(null,Jr)})}function Sm(t){return new P(e=>{for(let n of t)if(e.next(n),e.closed)return;e.complete()})}function mu(t){return new P(e=>{Nm(t,e).catch(n=>e.error(n))})}function Cm(t){return mu(ho(t))}function Nm(t,e){var n,r,o,i;return pu(this,void 0,void 0,function*(){try{for(n=gu(t);r=yield n.next(),!r.done;){let s=r.value;if(e.next(s),e.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}}e.complete()})}function he(t,e,n,r=0,o=!1){let i=e.schedule(function(){n(),o?t.add(this.schedule(null,r)):this.unsubscribe()},r);if(t.add(i),!o)return i}function mo(t,e=0){return C((n,r)=>{n.subscribe(M(r,o=>he(r,t,()=>r.next(o),e),()=>he(r,t,()=>r.complete(),e),o=>he(r,t,()=>r.error(o),e)))})}function yo(t,e=0){return C((n,r)=>{r.add(t.schedule(()=>n.subscribe(r),e))})}function yu(t,e){return L(t).pipe(yo(e),mo(e))}function vu(t,e){return L(t).pipe(yo(e),mo(e))}function Eu(t,e){return new P(n=>{let r=0;return e.schedule(function(){r===t.length?n.complete():(n.next(t[r++]),n.closed||this.schedule())})})}function Iu(t,e){return new P(n=>{let r;return he(n,e,()=>{r=t[fo](),he(n,e,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>N(r?.return)&&r.return()})}function vo(t,e){if(!t)throw new Error("Iterable cannot be null");return new P(n=>{he(n,e,()=>{let r=t[Symbol.asyncIterator]();he(n,e,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function _u(t,e){return vo(ho(t),e)}function wu(t,e){if(t!=null){if(lo(t))return yu(t,e);if(so(t))return Eu(t,e);if(ao(t))return vu(t,e);if(co(t))return vo(t,e);if(po(t))return Iu(t,e);if(go(t))return _u(t,e)}throw uo(t)}function He(t,e){return e?wu(t,e):L(t)}function xm(...t){let e=je(t);return He(t,e)}function Am(t,e){let n=N(t)?t:()=>t,r=o=>o.error(n());return new P(e?o=>e.schedule(r,0,o):r)}function km(t){return!!t&&(t instanceof P||N(t.lift)&&N(t.subscribe))}var xt=rn(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});function bu(t){return t instanceof Date&&!isNaN(t)}function ut(t,e){return C((n,r)=>{let o=0;n.subscribe(M(r,i=>{r.next(t.call(e,i,o++))}))})}var{isArray:Rm}=Array;function Om(t,e){return Rm(e)?t(...e):t(e)}function Eo(t){return ut(e=>Om(t,e))}var{isArray:Pm}=Array,{getPrototypeOf:Fm,prototype:Lm,keys:Vm}=Object;function Io(t){if(t.length===1){let e=t[0];if(Pm(e))return{args:e,keys:null};if(jm(e)){let n=Vm(e);return{args:n.map(r=>e[r]),keys:n}}}return{args:t,keys:null}}function jm(t){return t&&typeof t=="object"&&Fm(t)===Lm}function _o(t,e){return t.reduce((n,r,o)=>(n[r]=e[o],n),{})}function Hm(...t){let e=je(t),n=io(t),{args:r,keys:o}=Io(t);if(r.length===0)return He([],e);let i=new P(Bm(r,e,o?s=>_o(o,s):le));return n?i.pipe(Eo(n)):i}function Bm(t,e,n=le){return r=>{Du(e,()=>{let{length:o}=t,i=new Array(o),s=o,a=o;for(let l=0;l<o;l++)Du(e,()=>{let c=He(t[l],e),u=!1;c.subscribe(M(r,d=>{i[l]=d,u||(u=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Du(t,e,n){t?he(n,t,e):e()}function Tu(t,e,n,r,o,i,s,a){let l=[],c=0,u=0,d=!1,p=()=>{d&&!l.length&&!c&&e.complete()},f=g=>c<r?h(g):l.push(g),h=g=>{i&&e.next(g),c++;let E=!1;L(n(g,u++)).subscribe(M(e,v=>{o?.(v),i?f(v):e.next(v)},()=>{E=!0},void 0,()=>{if(E)try{for(c--;l.length&&c<r;){let v=l.shift();s?he(e,s,()=>h(v)):h(v)}p()}catch(v){e.error(v)}}))};return t.subscribe(M(e,f,()=>{d=!0,p()})),()=>{a?.()}}function At(t,e,n=1/0){return N(e)?At((r,o)=>ut((i,s)=>e(r,i,o,s))(L(t(r,o))),n):(typeof e=="number"&&(n=e),C((r,o)=>Tu(r,o,t,n)))}function Jn(t=1/0){return At(le,t)}function Mu(){return Jn(1)}function wo(...t){return Mu()(He(t,je(t)))}function $m(t){return new P(e=>{L(t()).subscribe(e)})}function Um(...t){let e=io(t),{args:n,keys:r}=Io(t),o=new P(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),l=s,c=s;for(let u=0;u<s;u++){let d=!1;L(n[u]).subscribe(M(i,p=>{d||(d=!0,c--),a[u]=p},()=>l--,void 0,()=>{(!l||!d)&&(c||i.next(r?_o(r,a):a),i.complete())}))}});return e?o.pipe(Eo(e)):o}function Xn(t=0,e,n=uu){let r=-1;return e!=null&&(oo(e)?n=e:r=e),new P(o=>{let i=bu(t)?+t-n.now():t;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 qm(t=0,e=St){return t<0&&(t=0),Xn(t,t,e)}function zm(...t){let e=je(t),n=du(t,1/0),r=t;return r.length?r.length===1?L(r[0]):Jn(n)(He(r,e)):Ct}function kt(t,e){return C((n,r)=>{let o=0;n.subscribe(M(r,i=>t.call(e,i,o++)&&r.next(i)))})}function Su(t){return C((e,n)=>{let r=!1,o=null,i=null,s=!1,a=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let c=o;o=null,n.next(c)}s&&n.complete()},l=()=>{i=null,s&&n.complete()};e.subscribe(M(n,c=>{r=!0,o=c,i||L(t(c)).subscribe(i=M(n,a,l))},()=>{s=!0,(!r||!i||i.closed)&&n.complete()}))})}function Wm(t,e=St){return Su(()=>Xn(t,e))}function Os(t){return C((e,n)=>{let r=null,o=!1,i;r=e.subscribe(M(n,void 0,void 0,s=>{i=L(t(s,Os(t)(e))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function Cu(t,e,n,r,o){return(i,s)=>{let a=n,l=e,c=0;i.subscribe(M(s,u=>{let d=c++;l=a?t(l,u,d):(a=!0,u),r&&s.next(l)},o&&(()=>{a&&s.next(l),s.complete()})))}}function Gm(t,e){return N(e)?At(t,e,1):At(t,1)}function Qm(t){return C((e,n)=>{let r=!1,o=null,i=null,s=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let a=o;o=null,n.next(a)}};e.subscribe(M(n,a=>{i?.unsubscribe(),r=!0,o=a,i=M(n,s,Dt),L(t(a)).subscribe(i)},()=>{s(),n.complete()},void 0,()=>{o=i=null}))})}function Km(t,e=St){return C((n,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let c=i;i=null,r.next(c)}};function l(){let c=s+t,u=e.now();if(u<c){o=this.schedule(void 0,c-u),r.add(o);return}a()}n.subscribe(M(r,c=>{i=c,s=e.now(),o||(o=e.schedule(l,t),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function er(t){return C((e,n)=>{let r=!1;e.subscribe(M(n,o=>{r=!0,n.next(o)},()=>{r||n.next(t),n.complete()}))})}function Ps(t){return t<=0?()=>Ct:C((e,n)=>{let r=0;e.subscribe(M(n,o=>{++r<=t&&(n.next(o),t<=r&&n.complete())}))})}function Zm(t,e=le){return t=t??Ym,C((n,r)=>{let o,i=!0;n.subscribe(M(r,s=>{let a=e(s);(i||!t(o,a))&&(i=!1,o=a,r.next(s))}))})}function Ym(t,e){return t===e}function bo(t=Jm){return C((e,n)=>{let r=!1;e.subscribe(M(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(t())))})}function Jm(){return new xt}function Xm(t){return C((e,n)=>{try{e.subscribe(n)}finally{n.add(t)}})}function ey(t,e){let n=arguments.length>=2;return r=>r.pipe(t?kt((o,i)=>t(o,i,r)):le,Ps(1),n?er(e):bo(()=>new xt))}function Fs(t){return t<=0?()=>Ct:C((e,n)=>{let r=[];e.subscribe(M(n,o=>{r.push(o),t<r.length&&r.shift()},()=>{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function ty(t,e){let n=arguments.length>=2;return r=>r.pipe(t?kt((o,i)=>t(o,i,r)):le,Fs(1),n?er(e):bo(()=>new xt))}function ny(t,e){return C(Cu(t,e,arguments.length>=2,!0))}function Nu(t={}){let{connector:e=()=>new Me,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=t;return i=>{let s,a,l,c=0,u=!1,d=!1,p=()=>{a?.unsubscribe(),a=void 0},f=()=>{p(),s=l=void 0,u=d=!1},h=()=>{let g=s;f(),g?.unsubscribe()};return C((g,E)=>{c++,!d&&!u&&p();let v=l=l??e();E.add(()=>{c--,c===0&&!d&&!u&&(a=Ls(h,o))}),v.subscribe(E),!s&&c>0&&(s=new Ze({next:R=>v.next(R),error:R=>{d=!0,p(),a=Ls(f,n,R),v.error(R)},complete:()=>{u=!0,p(),a=Ls(f,r),v.complete()}}),L(g).subscribe(s))})(i)}}function Ls(t,e,...n){if(e===!0){t();return}if(e===!1)return;let r=new Ze({next:()=>{r.unsubscribe(),t()}});return L(e(...n)).subscribe(r)}function ry(t,e,n){let r,o=!1;return t&&typeof t=="object"?{bufferSize:r=1/0,windowTime:e=1/0,refCount:o=!1,scheduler:n}=t:r=t??1/0,Nu({connector:()=>new Zn(r,e,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function oy(t){return kt((e,n)=>t<=n)}function iy(...t){let e=je(t);return C((n,r)=>{(e?wo(t,n,e):wo(t,n)).subscribe(r)})}function xu(t,e){return C((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(M(r,l=>{o?.unsubscribe();let c=0,u=i++;L(t(l,u)).subscribe(o=M(r,d=>r.next(e?e(l,d,u,c++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function sy(t){return C((e,n)=>{L(t).subscribe(M(n,()=>n.complete(),Dt)),!n.closed&&e.subscribe(n)})}function Au(t,e,n){let r=N(t)||e||n?{next:t,error:e,complete:n}:t;return r?C((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(M(i,l=>{var c;(c=r.next)===null||c===void 0||c.call(r,l),i.next(l)},()=>{var l;a=!1,(l=r.complete)===null||l===void 0||l.call(r),i.complete()},l=>{var c;a=!1,(c=r.error)===null||c===void 0||c.call(r,l),i.error(l)},()=>{var l,c;a&&((l=r.unsubscribe)===null||l===void 0||l.call(r)),(c=r.finalize)===null||c===void 0||c.call(r)}))}):le}var Ld="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",m=class extends Error{code;constructor(e,n){super(Vd(e,n)),this.code=e}};function ay(t){return`NG0${Math.abs(t)}`}function Vd(t,e){return`${ay(t)}${e?": "+e:""}`}var mi=Symbol("InputSignalNode#UNSET"),jd=pe(G({},Qr),{transformFn:void 0,applyValueToInputSignal(t,e){nn(t,e)}});function Hd(t,e){let n=Object.create(jd);n.value=t,n.transformFn=e?.transform;function r(){if(tn(n),n.value===mi){let o=null;throw new m(-950,o)}return n.value}return r[ae]=n,r}function Ir(t){return{toString:t}.toString()}var Do="__parameters__";function ly(t){return function(...n){if(t){let r=t(...n);for(let o in r)this[o]=r[o]}}}function Bd(t,e,n){return Ir(()=>{let r=ly(e);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(l,c,u){let d=l.hasOwnProperty(Do)?l[Do]:Object.defineProperty(l,Do,{value:[]})[Do];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),l}}return o.prototype.ngMetadataName=t,o.annotationCls=o,o})}var Ye=globalThis;function H(t){for(let e in t)if(t[e]===H)return e;throw Error("Could not find renamed property on target object.")}function cy(t,e){for(let n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function ye(t){if(typeof t=="string")return t;if(Array.isArray(t))return`[${t.map(ye).join(", ")}]`;if(t==null)return""+t;let e=t.overriddenName||t.name;if(e)return`${e}`;let n=t.toString();if(n==null)return""+n;let r=n.indexOf(`
`);return r>=0?n.slice(0,r):n}function ea(t,e){return t?e?`${t} ${e}`:t:e||""}var uy=H({__forward_ref__:H});function $d(t){return t.__forward_ref__=$d,t.toString=function(){return ye(this())},t}function ee(t){return Ud(t)?t():t}function Ud(t){return typeof t=="function"&&t.hasOwnProperty(uy)&&t.__forward_ref__===$d}function U(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function dy(t){return{providers:t.providers||[],imports:t.imports||[]}}function yi(t){return ku(t,qd)||ku(t,zd)}function oR(t){return yi(t)!==null}function ku(t,e){return t.hasOwnProperty(e)?t[e]:null}function fy(t){let e=t&&(t[qd]||t[zd]);return e||null}function Ru(t){return t&&(t.hasOwnProperty(Ou)||t.hasOwnProperty(py))?t[Ou]:null}var qd=H({\u0275prov:H}),Ou=H({\u0275inj:H}),zd=H({ngInjectableDef:H}),py=H({ngInjectorDef:H}),F=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(e,n){this._desc=e,this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=U({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Wd(t){return t&&!!t.\u0275providers}var hy=H({\u0275cmp:H}),gy=H({\u0275dir:H}),my=H({\u0275pipe:H}),yy=H({\u0275mod:H}),Fo=H({\u0275fac:H}),or=H({__NG_ELEMENT_ID__:H}),Pu=H({__NG_ENV_ID__:H});function Lt(t){return typeof t=="string"?t:t==null?"":String(t)}function vy(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():Lt(t)}function Gd(t,e){throw new m(-200,t)}function dl(t,e){throw new m(-201,!1)}var k=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}(k||{}),ta;function Qd(){return ta}function ge(t){let e=ta;return ta=t,e}function Kd(t,e,n){let r=yi(t);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&k.Optional)return null;if(e!==void 0)return e;dl(t,"Injector")}var Ey={},Pt=Ey,na="__NG_DI_FLAG__",Lo=class{injector;constructor(e){this.injector=e}retrieve(e,n){let r=n;return this.injector.get(e,r.optional?Kr:Pt,r)}},Vo="ngTempTokenPath",Iy="ngTokenPath",_y=/\n/gm,wy="\u0275",Fu="__source";function by(t,e=k.Default){if(Gn()===void 0)throw new m(-203,!1);if(Gn()===null)return Kd(t,void 0,e);{let n=Gn(),r;return n instanceof Lo?r=n.injector:r=n,r.get(t,e&k.Optional?null:void 0,e)}}function we(t,e=k.Default){return(Qd()||by)(ee(t),e)}function A(t,e=k.Default){return we(t,vi(e))}function vi(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function ra(t){let e=[];for(let n=0;n<t.length;n++){let r=ee(t[n]);if(Array.isArray(r)){if(r.length===0)throw new m(900,!1);let o,i=k.Default;for(let s=0;s<r.length;s++){let a=r[s],l=Dy(a);typeof l=="number"?l===-1?o=a.token:i|=l:o=a}e.push(we(o,i))}else e.push(we(r))}return e}function Zd(t,e){return t[na]=e,t.prototype[na]=e,t}function Dy(t){return t[na]}function Ty(t,e,n,r){let o=t[Vo];throw e[Fu]&&o.unshift(e[Fu]),t.message=My(`
`+t.message,o,n,r),t[Iy]=o,t[Vo]=null,t}function My(t,e,n,r=null){t=t&&t.charAt(0)===`
`&&t.charAt(1)==wy?t.slice(2):t;let o=ye(e);if(Array.isArray(e))o=e.map(ye).join(" -> ");else if(typeof e=="object"){let i=[];for(let s in e)if(e.hasOwnProperty(s)){let a=e[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):ye(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${t.replace(_y,`
`)}`}var Yd=Zd(Bd("Optional"),8);var Jd=Zd(Bd("SkipSelf"),4);function Vt(t,e){let n=t.hasOwnProperty(Fo);return n?t[Fo]:null}function Sy(t,e,n){if(t.length!==e.length)return!1;for(let r=0;r<t.length;r++){let o=t[r],i=e[r];if(n&&(o=n(o),i=n(i)),i!==o)return!1}return!0}function Cy(t){return t.flat(Number.POSITIVE_INFINITY)}function fl(t,e){t.forEach(n=>Array.isArray(n)?fl(n,e):e(n))}function Xd(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function jo(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function Ny(t,e){let n=[];for(let r=0;r<t;r++)n.push(e);return n}function xy(t,e,n,r){let o=t.length;if(o==e)t.push(n,r);else if(o===1)t.push(r,t[0]),t[0]=n;else{for(o--,t.push(t[o-1],t[o]);o>e;){let i=o-2;t[o]=t[i],o--}t[e]=n,t[e+1]=r}}function _r(t,e,n){let r=wr(t,e);return r>=0?t[r|1]=n:(r=~r,xy(t,r,e,n)),r}function Vs(t,e){let n=wr(t,e);if(n>=0)return t[n|1]}function wr(t,e){return Ay(t,e,1)}function Ay(t,e,n){let r=0,o=t.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=t[i<<n];if(e===s)return i<<n;s>e?o=i:r=i+1}return~(o<<n)}var $e={},ce=[],Ho=new F(""),ef=new F("",-1),tf=new F(""),Bo=class{get(e,n=Pt){if(n===Pt){let r=new Error(`NullInjectorError: No provider for ${ye(e)}!`);throw r.name="NullInjectorError",r}return n}};function nf(t,e){let n=t[yy]||null;if(!n&&e===!0)throw new Error(`Type ${ye(t)} does not have '\u0275mod' property.`);return n}function Je(t){return t[hy]||null}function pl(t){return t[gy]||null}function rf(t){return t[my]||null}function ky(t){return{\u0275providers:t}}function Ry(...t){return{\u0275providers:hl(!0,t),\u0275fromNgModule:!0}}function hl(t,...e){let n=[],r=new Set,o,i=s=>{n.push(s)};return fl(e,s=>{let a=s;oa(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&of(o,i),n}function of(t,e){for(let n=0;n<t.length;n++){let{ngModule:r,providers:o}=t[n];gl(o,i=>{e(i,r)})}}function oa(t,e,n,r){if(t=ee(t),!t)return!1;let o=null,i=Ru(t),s=!i&&Je(t);if(!i&&!s){let l=t.ngModule;if(i=Ru(l),i)o=l;else return!1}else{if(s&&!s.standalone)return!1;o=t}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let l=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of l)oa(c,e,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let c;try{fl(i.imports,u=>{oa(u,e,n,r)&&(c||=[],c.push(u))})}finally{}c!==void 0&&of(c,e)}if(!a){let c=Vt(o)||(()=>new o);e({provide:o,useFactory:c,deps:ce},o),e({provide:tf,useValue:o,multi:!0},o),e({provide:Ho,useValue:()=>we(o),multi:!0},o)}let l=i.providers;if(l!=null&&!a){let c=t;gl(l,u=>{e(u,c)})}}else return!1;return o!==t&&t.providers!==void 0}function gl(t,e){for(let n of t)Wd(n)&&(n=n.\u0275providers),Array.isArray(n)?gl(n,e):e(n)}var Oy=H({provide:String,useValue:H});function sf(t){return t!==null&&typeof t=="object"&&Oy in t}function Py(t){return!!(t&&t.useExisting)}function Fy(t){return!!(t&&t.useFactory)}function En(t){return typeof t=="function"}function Ly(t){return!!t.useClass}var af=new F(""),xo={},Lu={},js;function Ei(){return js===void 0&&(js=new Bo),js}var Xe=class{},ar=class extends Xe{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(e,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,sa(e,s=>this.processProvider(s)),this.records.set(ef,fn(void 0,this)),o.has("environment")&&this.records.set(Xe,fn(void 0,this));let i=this.records.get(af);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(tf,ce,k.Self))}retrieve(e,n){let r=n;return this.get(e,r.optional?Kr:Pt,r)}destroy(){nr(this),this._destroyed=!0;let e=S(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(),S(e)}}onDestroy(e){return nr(this),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){nr(this);let n=Ke(this),r=ge(void 0),o;try{return e()}finally{Ke(n),ge(r)}}get(e,n=Pt,r=k.Default){if(nr(this),e.hasOwnProperty(Pu))return e[Pu](this);r=vi(r);let o,i=Ke(this),s=ge(void 0);try{if(!(r&k.SkipSelf)){let l=this.records.get(e);if(l===void 0){let c=$y(e)&&yi(e);c&&this.injectableDefInScope(c)?l=fn(ia(e),xo):l=null,this.records.set(e,l)}if(l!=null)return this.hydrate(e,l,r)}let a=r&k.Self?Ei():this.parent;return n=r&k.Optional&&n===Pt?null:n,a.get(e,n)}catch(a){if(a.name==="NullInjectorError"){if((a[Vo]=a[Vo]||[]).unshift(ye(e)),i)throw a;return Ty(a,e,"R3InjectorError",this.source)}else throw a}finally{ge(s),Ke(i)}}resolveInjectorInitializers(){let e=S(null),n=Ke(this),r=ge(void 0),o;try{let i=this.get(Ho,ce,k.Self);for(let s of i)s()}finally{Ke(n),ge(r),S(e)}}toString(){let e=[],n=this.records;for(let r of n.keys())e.push(ye(r));return`R3Injector[${e.join(", ")}]`}processProvider(e){e=ee(e);let n=En(e)?e:ee(e&&e.provide),r=jy(e);if(!En(e)&&e.multi===!0){let o=this.records.get(n);o||(o=fn(void 0,xo,!0),o.factory=()=>ra(o.multi),this.records.set(n,o)),n=e,o.multi.push(e)}this.records.set(n,r)}hydrate(e,n,r){let o=S(null);try{return n.value===Lu?Gd(ye(e)):n.value===xo&&(n.value=Lu,n.value=n.factory(void 0,r)),typeof n.value=="object"&&n.value&&By(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{S(o)}}injectableDefInScope(e){if(!e.providedIn)return!1;let n=ee(e.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(e){let n=this._onDestroyHooks.indexOf(e);n!==-1&&this._onDestroyHooks.splice(n,1)}};function ia(t){let e=yi(t),n=e!==null?e.factory:Vt(t);if(n!==null)return n;if(t instanceof F)throw new m(204,!1);if(t instanceof Function)return Vy(t);throw new m(204,!1)}function Vy(t){if(t.length>0)throw new m(204,!1);let n=fy(t);return n!==null?()=>n.factory(t):()=>new t}function jy(t){if(sf(t))return fn(void 0,t.useValue);{let e=lf(t);return fn(e,xo)}}function lf(t,e,n){let r;if(En(t)){let o=ee(t);return Vt(o)||ia(o)}else if(sf(t))r=()=>ee(t.useValue);else if(Fy(t))r=()=>t.useFactory(...ra(t.deps||[]));else if(Py(t))r=(o,i)=>we(ee(t.useExisting),i!==void 0&&i&k.Optional?k.Optional:void 0);else{let o=ee(t&&(t.useClass||t.provide));if(Hy(t))r=()=>new o(...ra(t.deps));else return Vt(o)||ia(o)}return r}function nr(t){if(t.destroyed)throw new m(205,!1)}function fn(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function Hy(t){return!!t.deps}function By(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function $y(t){return typeof t=="function"||typeof t=="object"&&t instanceof F}function sa(t,e){for(let n of t)Array.isArray(n)?sa(n,e):n&&Wd(n)?sa(n.\u0275providers,e):e(n)}function cf(t,e){let n;t instanceof ar?(nr(t),n=t):n=new Lo(t);let r,o=Ke(n),i=ge(void 0);try{return e()}finally{Ke(o),ge(i)}}function ml(){return Qd()!==void 0||Gn()!=null}function uf(t){if(!ml())throw new m(-203,!1)}function Uy(t){let e=Ye.ng;if(e&&e.\u0275compilerFacade)return e.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}var iR=Function;function qy(t){return typeof t=="function"}var ot=0,w=1,D=2,te=3,Ae=4,ve=5,In=6,$o=7,J=8,ke=9,et=10,$=11,lr=12,Vu=13,Sn=14,be=15,jt=16,pn=17,tt=18,Ii=19,df=20,ft=21,Hs=22,Ht=23,Se=24,mn=25,B=26,ff=1,cr=6,Bt=7,Uo=8,_n=9,re=10;function pt(t){return Array.isArray(t)&&typeof t[ff]=="object"}function it(t){return Array.isArray(t)&&t[ff]===!0}function yl(t){return(t.flags&4)!==0}function Cn(t){return t.componentOffset>-1}function _i(t){return(t.flags&1)===1}function Ue(t){return!!t.template}function qo(t){return(t[D]&512)!==0}function Qt(t){return(t[D]&256)===256}var aa=class{previousValue;currentValue;firstChange;constructor(e,n,r){this.previousValue=e,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function pf(t,e,n,r){e!==null?e.applyValueToInputSignal(e,r):t[n]=r}var sR=(()=>{let t=()=>hf;return t.ngInherit=!0,t})();function hf(t){return t.type.prototype.ngOnChanges&&(t.setInput=Wy),zy}function zy(){let t=mf(this),e=t?.current;if(e){let n=t.previous;if(n===$e)t.previous=e;else for(let r in e)n[r]=e[r];t.current=null,this.ngOnChanges(e)}}function Wy(t,e,n,r,o){let i=this.declaredInputs[r],s=mf(t)||Gy(t,{previous:$e,current:null}),a=s.current||(s.current={}),l=s.previous,c=l[i];a[i]=new aa(c&&c.currentValue,n,l===$e),pf(t,e,o,n)}var gf="__ngSimpleChanges__";function mf(t){return t[gf]||null}function Gy(t,e){return t[gf]=e}var ju=null;var V=function(t,e=null,n){ju?.(t,e,n)},yf="svg",Qy="math";function qe(t){for(;Array.isArray(t);)t=t[ot];return t}function vf(t,e){return qe(e[t])}function We(t,e){return qe(e[t.index])}function br(t,e){return t.data[e]}function Nn(t,e){return t[e]}function vl(t,e,n,r){n>=t.data.length&&(t.data[n]=null,t.blueprint[n]=null),e[n]=r}function ze(t,e){let n=e[t];return pt(n)?n:n[ot]}function Ky(t){return(t[D]&4)===4}function El(t){return(t[D]&128)===128}function Zy(t){return it(t[te])}function ht(t,e){return e==null?null:t[e]}function Ef(t){t[pn]=0}function Il(t){t[D]&1024||(t[D]|=1024,El(t)&&xn(t))}function Yy(t,e){for(;t>0;)e=e[Sn],t--;return e}function Dr(t){return!!(t[D]&9216||t[Se]?.dirty)}function la(t){t[et].changeDetectionScheduler?.notify(8),t[D]&64&&(t[D]|=1024),Dr(t)&&xn(t)}function xn(t){t[et].changeDetectionScheduler?.notify(0);let e=$t(t);for(;e!==null&&!(e[D]&8192||(e[D]|=8192,!El(e)));)e=$t(e)}function _l(t,e){if(Qt(t))throw new m(911,!1);t[ft]===null&&(t[ft]=[]),t[ft].push(e)}function If(t,e){if(t[ft]===null)return;let n=t[ft].indexOf(e);n!==-1&&t[ft].splice(n,1)}function $t(t){let e=t[te];return it(e)?e[te]:e}function wl(t){return t[$o]??=[]}function bl(t){return t.cleanup??=[]}function Jy(t,e,n,r){let o=wl(e);o.push(n),t.firstCreatePass&&bl(t).push(r,o.length-1)}var x={lFrame:Sf(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var ca=!1;function Xy(){return x.lFrame.elementDepthCount}function ev(){x.lFrame.elementDepthCount++}function tv(){x.lFrame.elementDepthCount--}function Dl(){return x.bindingsEnabled}function _f(){return x.skipHydrationRootTNode!==null}function nv(t){return x.skipHydrationRootTNode===t}function rv(){x.skipHydrationRootTNode=null}function I(){return x.lFrame.lView}function j(){return x.lFrame.tView}function aR(t){return x.lFrame.contextLView=t,t[J]}function lR(t){return x.lFrame.contextLView=null,t}function ie(){let t=wf();for(;t!==null&&t.type===64;)t=t.parent;return t}function wf(){return x.lFrame.currentTNode}function ov(){let t=x.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function yt(t,e){let n=x.lFrame;n.currentTNode=t,n.isParent=e}function Tl(){return x.lFrame.isParent}function Ml(){x.lFrame.isParent=!1}function bf(){return x.lFrame.contextLView}function Df(){return ca}function zo(t){let e=ca;return ca=t,e}function Re(){let t=x.lFrame,e=t.bindingRootIndex;return e===-1&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function iv(){return x.lFrame.bindingIndex}function sv(t){return x.lFrame.bindingIndex=t}function vt(){return x.lFrame.bindingIndex++}function Sl(t){let e=x.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function av(){return x.lFrame.inI18n}function lv(t,e){let n=x.lFrame;n.bindingIndex=n.bindingRootIndex=t,ua(e)}function cv(){return x.lFrame.currentDirectiveIndex}function ua(t){x.lFrame.currentDirectiveIndex=t}function uv(t){let e=x.lFrame.currentDirectiveIndex;return e===-1?null:t[e]}function Cl(){return x.lFrame.currentQueryIndex}function wi(t){x.lFrame.currentQueryIndex=t}function dv(t){let e=t[w];return e.type===2?e.declTNode:e.type===1?t[ve]:null}function Tf(t,e,n){if(n&k.SkipSelf){let o=e,i=t;for(;o=o.parent,o===null&&!(n&k.Host);)if(o=dv(i),o===null||(i=i[Sn],o.type&10))break;if(o===null)return!1;e=o,t=i}let r=x.lFrame=Mf();return r.currentTNode=e,r.lView=t,!0}function Nl(t){let e=Mf(),n=t[w];x.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function Mf(){let t=x.lFrame,e=t===null?null:t.child;return e===null?Sf(t):e}function Sf(t){let e={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:t,child:null,inI18n:!1};return t!==null&&(t.child=e),e}function Cf(){let t=x.lFrame;return x.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var Nf=Cf;function xl(){let t=Cf();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function fv(t){return(x.lFrame.contextLView=Yy(t,x.lFrame.contextLView))[J]}function Ge(){return x.lFrame.selectedIndex}function Ut(t){x.lFrame.selectedIndex=t}function Kt(){let t=x.lFrame;return br(t.tView,t.selectedIndex)}function cR(){x.lFrame.currentNamespace=yf}function pv(){return x.lFrame.currentNamespace}var xf=!0;function bi(){return xf}function Di(t){xf=t}function hv(t,e,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=e.type.prototype;if(r){let s=hf(e);(n.preOrderHooks??=[]).push(t,s),(n.preOrderCheckHooks??=[]).push(t,s)}o&&(n.preOrderHooks??=[]).push(0-t,o),i&&((n.preOrderHooks??=[]).push(t,i),(n.preOrderCheckHooks??=[]).push(t,i))}function Al(t,e){for(let n=e.directiveStart,r=e.directiveEnd;n<r;n++){let i=t.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:l,ngAfterViewChecked:c,ngOnDestroy:u}=i;s&&(t.contentHooks??=[]).push(-n,s),a&&((t.contentHooks??=[]).push(n,a),(t.contentCheckHooks??=[]).push(n,a)),l&&(t.viewHooks??=[]).push(-n,l),c&&((t.viewHooks??=[]).push(n,c),(t.viewCheckHooks??=[]).push(n,c)),u!=null&&(t.destroyHooks??=[]).push(n,u)}}function Ao(t,e,n){Af(t,e,3,n)}function ko(t,e,n,r){(t[D]&3)===n&&Af(t,e,n,r)}function Bs(t,e){let n=t[D];(n&3)===e&&(n&=16383,n+=1,t[D]=n)}function Af(t,e,n,r){let o=r!==void 0?t[pn]&65535:0,i=r??-1,s=e.length-1,a=0;for(let l=o;l<s;l++)if(typeof e[l+1]=="number"){if(a=e[l],r!=null&&a>=r)break}else e[l]<0&&(t[pn]+=65536),(a<i||i==-1)&&(gv(t,n,e,l),t[pn]=(t[pn]&4294901760)+l+2),l++}function Hu(t,e){V(4,t,e);let n=S(null);try{e.call(t)}finally{S(n),V(5,t,e)}}function gv(t,e,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=t[s];o?t[D]>>14<t[pn]>>16&&(t[D]&3)===e&&(t[D]+=16384,Hu(a,i)):Hu(a,i)}var yn=-1,qt=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(e,n,r){this.factory=e,this.canSeeViewProviders=n,this.injectImpl=r}};function mv(t){return(t.flags&8)!==0}function yv(t){return(t.flags&16)!==0}function vv(t,e,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++];t.setAttribute(e,s,a,i)}else{let i=o,s=n[++r];Ev(i)?t.setProperty(e,i,s):t.setAttribute(e,i,s),r++}}return r}function kf(t){return t===3||t===4||t===6}function Ev(t){return t.charCodeAt(0)===64}function wn(t,e){if(!(e===null||e.length===0))if(t===null||t.length===0)t=e.slice();else{let n=-1;for(let r=0;r<e.length;r++){let o=e[r];typeof o=="number"?n=o:n===0||(n===-1||n===2?Bu(t,n,o,null,e[++r]):Bu(t,n,o,null,null))}}return t}function Bu(t,e,n,r,o){let i=0,s=t.length;if(e===-1)s=-1;else for(;i<t.length;){let a=t[i++];if(typeof a=="number"){if(a===e){s=-1;break}else if(a>e){s=i-1;break}}}for(;i<t.length;){let a=t[i];if(typeof a=="number")break;if(a===n){o!==null&&(t[i+1]=o);return}i++,o!==null&&i++}s!==-1&&(t.splice(s,0,e),i=s+1),t.splice(i++,0,n),o!==null&&t.splice(i++,0,o)}function Rf(t){return t!==yn}function Wo(t){return t&32767}function Iv(t){return t>>16}function Go(t,e){let n=Iv(t),r=e;for(;n>0;)r=r[Sn],n--;return r}var da=!0;function Qo(t){let e=da;return da=t,e}var _v=256,Of=_v-1,Pf=5,wv=0,Be={};function bv(t,e,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(or)&&(r=n[or]),r==null&&(r=n[or]=wv++);let o=r&Of,i=1<<o;e.data[t+(o>>Pf)]|=i}function Ko(t,e){let n=Ff(t,e);if(n!==-1)return n;let r=e[w];r.firstCreatePass&&(t.injectorIndex=e.length,$s(r.data,t),$s(e,null),$s(r.blueprint,null));let o=kl(t,e),i=t.injectorIndex;if(Rf(o)){let s=Wo(o),a=Go(o,e),l=a[w].data;for(let c=0;c<8;c++)e[i+c]=a[s+c]|l[s+c]}return e[i+8]=o,i}function $s(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Ff(t,e){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||e[t.injectorIndex+8]===null?-1:t.injectorIndex}function kl(t,e){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let n=0,r=null,o=e;for(;o!==null;){if(r=Bf(o),r===null)return yn;if(n++,o=o[Sn],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return yn}function fa(t,e,n){bv(t,e,n)}function Dv(t,e){if(e==="class")return t.classes;if(e==="style")return t.styles;let n=t.attrs;if(n){let r=n.length,o=0;for(;o<r;){let i=n[o];if(kf(i))break;if(i===0)o=o+2;else if(typeof i=="number")for(o++;o<r&&typeof n[o]=="string";)o++;else{if(i===e)return n[o+1];o=o+2}}}return null}function Lf(t,e,n){if(n&k.Optional||t!==void 0)return t;dl(e,"NodeInjector")}function Vf(t,e,n,r){if(n&k.Optional&&r===void 0&&(r=null),(n&(k.Self|k.Host))===0){let o=t[ke],i=ge(void 0);try{return o?o.get(e,r,n&k.Optional):Kd(e,r,n&k.Optional)}finally{ge(i)}}return Lf(r,e,n)}function jf(t,e,n,r=k.Default,o){if(t!==null){if(e[D]&2048&&!(r&k.Self)){let s=Cv(t,e,n,r,Be);if(s!==Be)return s}let i=Hf(t,e,n,r,Be);if(i!==Be)return i}return Vf(e,n,r,o)}function Hf(t,e,n,r,o){let i=Mv(n);if(typeof i=="function"){if(!Tf(e,t,r))return r&k.Host?Lf(o,n,r):Vf(e,n,r,o);try{let s;if(s=i(r),s==null&&!(r&k.Optional))dl(n);else return s}finally{Nf()}}else if(typeof i=="number"){let s=null,a=Ff(t,e),l=yn,c=r&k.Host?e[be][ve]:null;for((a===-1||r&k.SkipSelf)&&(l=a===-1?kl(t,e):e[a+8],l===yn||!Uu(r,!1)?a=-1:(s=e[w],a=Wo(l),e=Go(l,e)));a!==-1;){let u=e[w];if($u(i,a,u.data)){let d=Tv(a,e,n,s,r,c);if(d!==Be)return d}l=e[a+8],l!==yn&&Uu(r,e[w].data[a+8]===c)&&$u(i,a,e)?(s=u,a=Wo(l),e=Go(l,e)):a=-1}}return o}function Tv(t,e,n,r,o,i){let s=e[w],a=s.data[t+8],l=r==null?Cn(a)&&da:r!=s&&(a.type&3)!==0,c=o&k.Host&&i===a,u=Ro(a,s,n,l,c);return u!==null?ur(e,s,u,a,o):Be}function Ro(t,e,n,r,o){let i=t.providerIndexes,s=e.data,a=i&1048575,l=t.directiveStart,c=t.directiveEnd,u=i>>20,d=r?a:a+u,p=o?a+u:c;for(let f=d;f<p;f++){let h=s[f];if(f<l&&n===h||f>=l&&h.type===n)return f}if(o){let f=s[l];if(f&&Ue(f)&&f.type===n)return l}return null}function ur(t,e,n,r,o){let i=t[n],s=e.data;if(i instanceof qt){let a=i;a.resolving&&Gd(vy(s[n]));let l=Qo(a.canSeeViewProviders);a.resolving=!0;let c,u=a.injectImpl?ge(a.injectImpl):null,d=Tf(t,r,k.Default);try{i=t[n]=a.factory(void 0,o,s,t,r),e.firstCreatePass&&n>=r.directiveStart&&hv(n,s[n],e)}finally{u!==null&&ge(u),Qo(l),a.resolving=!1,Nf()}}return i}function Mv(t){if(typeof t=="string")return t.charCodeAt(0)||0;let e=t.hasOwnProperty(or)?t[or]:void 0;return typeof e=="number"?e>=0?e&Of:Sv:e}function $u(t,e,n){let r=1<<t;return!!(n[e+(t>>Pf)]&r)}function Uu(t,e){return!(t&k.Self)&&!(t&k.Host&&e)}var Ft=class{_tNode;_lView;constructor(e,n){this._tNode=e,this._lView=n}get(e,n,r){return jf(this._tNode,this._lView,e,vi(r),n)}};function Sv(){return new Ft(ie(),I())}function uR(t){return Ir(()=>{let e=t.prototype.constructor,n=e[Fo]||pa(e),r=Object.prototype,o=Object.getPrototypeOf(t.prototype).constructor;for(;o&&o!==r;){let i=o[Fo]||pa(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function pa(t){return Ud(t)?()=>{let e=pa(ee(t));return e&&e()}:Vt(t)}function Cv(t,e,n,r,o){let i=t,s=e;for(;i!==null&&s!==null&&s[D]&2048&&!qo(s);){let a=Hf(i,s,n,r|k.Self,Be);if(a!==Be)return a;let l=i.parent;if(!l){let c=s[df];if(c){let u=c.get(n,Be,r);if(u!==Be)return u}l=Bf(s),s=s[Sn]}i=l}return o}function Bf(t){let e=t[w],n=e.type;return n===2?e.declTNode:n===1?t[ve]:null}function dR(t){return Dv(ie(),t)}function qu(t,e=null,n=null,r){let o=$f(t,e,n,r);return o.resolveInjectorInitializers(),o}function $f(t,e=null,n=null,r,o=new Set){let i=[n||ce,Ry(t)];return r=r||(typeof t=="object"?void 0:ye(t)),new ar(i,e||Ei(),r||null,o)}var nt=class t{static THROW_IF_NOT_FOUND=Pt;static NULL=new Bo;static create(e,n){if(Array.isArray(e))return qu({name:""},n,e,"");{let r=e.name??"";return qu({name:r},e.parent,e.providers,r)}}static \u0275prov=U({token:t,providedIn:"any",factory:()=>we(ef)});static __NG_ELEMENT_ID__=-1};var Nv=new F("");Nv.__NG_ELEMENT_ID__=t=>{let e=ie();if(e===null)throw new m(204,!1);if(e.type&2)return e.value;if(t&k.Optional)return null;throw new m(204,!1)};var Uf=!1,An=(()=>{class t{static __NG_ELEMENT_ID__=xv;static __NG_ENV_ID__=n=>n}return t})(),Zo=class extends An{_lView;constructor(e){super(),this._lView=e}onDestroy(e){let n=this._lView;return Qt(n)?(e(),()=>{}):(_l(n,e),()=>If(n,e))}};function xv(){return new Zo(I())}var gt=class{},qf=new F("",{providedIn:"root",factory:()=>!1});var zf=new F(""),Wf=new F(""),Tr=(()=>{class t{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new Qn(!1);add(){this._hasPendingTasks||this.hasPendingTasks.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.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static \u0275prov=U({token:t,providedIn:"root",factory:()=>new t})}return t})(),Av=(()=>{class t{internalPendingTasks=A(Tr);scheduler=A(gt);add(){let n=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(n)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(n))}}run(n){return Zc(this,null,function*(){let r=this.add();try{return yield n()}finally{r()}})}static \u0275prov=U({token:t,providedIn:"root",factory:()=>new t})}return t})(),ha=class extends Me{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(e=!1){super(),this.__isAsync=e,ml()&&(this.destroyRef=A(An,{optional:!0})??void 0,this.pendingTasks=A(Tr,{optional:!0})??void 0)}emit(e){let n=S(null);try{super.next(e)}finally{S(n)}}subscribe(e,n,r){let o=e,i=n||(()=>null),s=r;if(e&&typeof e=="object"){let l=e;o=l.next?.bind(l),i=l.error?.bind(l),s=l.complete?.bind(l)}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 e instanceof z&&e.add(a),a}wrapInTimeout(e){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{e(n)}finally{r!==void 0&&this.pendingTasks?.remove(r)}})}}},dt=ha;function dr(...t){}function Gf(t){let e,n;function r(){t=dr;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),e!==void 0&&clearTimeout(e)}catch{}}return e=setTimeout(()=>{t(),r()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{t(),r()})),()=>r()}function zu(t){return queueMicrotask(()=>t()),()=>{t=dr}}var Rl="isAngularZone",Yo=Rl+"_ID",kv=0,ue=class t{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new dt(!1);onMicrotaskEmpty=new dt(!1);onStable=new dt(!1);onError=new dt(!1);constructor(e){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=Uf}=e;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,Pv(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Rl)===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new m(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new m(909,!1)}run(e,n,r){return this._inner.run(e,n,r)}runTask(e,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,e,Rv,dr,dr);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(e,n,r){return this._inner.runGuarded(e,n,r)}runOutsideAngular(e){return this._outer.run(e)}},Rv={};function Ol(t){if(t._nesting==0&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function Ov(t){if(t.isCheckStableRunning||t.callbackScheduled)return;t.callbackScheduled=!0;function e(){Gf(()=>{t.callbackScheduled=!1,ga(t),t.isCheckStableRunning=!0,Ol(t),t.isCheckStableRunning=!1})}t.scheduleInRootZone?Zone.root.run(()=>{e()}):t._outer.run(()=>{e()}),ga(t)}function Pv(t){let e=()=>{Ov(t)},n=kv++;t._inner=t._inner.fork({name:"angular",properties:{[Rl]:!0,[Yo]:n,[Yo+n]:!0},onInvokeTask:(r,o,i,s,a,l)=>{if(Fv(l))return r.invokeTask(i,s,a,l);try{return Wu(t),r.invokeTask(i,s,a,l)}finally{(t.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&e(),Gu(t)}},onInvoke:(r,o,i,s,a,l,c)=>{try{return Wu(t),r.invoke(i,s,a,l,c)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!Lv(l)&&e(),Gu(t)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(t._hasPendingMicrotasks=s.microTask,ga(t),Ol(t)):s.change=="macroTask"&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,o,i,s)=>(r.handleError(i,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}function ga(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.callbackScheduled===!0?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function Wu(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Gu(t){t._nesting--,Ol(t)}var Jo=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new dt;onMicrotaskEmpty=new dt;onStable=new dt;onError=new dt;run(e,n,r){return e.apply(n,r)}runGuarded(e,n,r){return e.apply(n,r)}runOutsideAngular(e){return e()}runTask(e,n,r,o){return e.apply(n,r)}};function Fv(t){return Qf(t,"__ignore_ng_zone__")}function Lv(t){return Qf(t,"__scheduler_tick__")}function Qf(t,e){return!Array.isArray(t)||t.length!==1?!1:t[0]?.data?.[e]===!0}function Vv(t="zone.js",e){return t==="noop"?new Jo:t==="zone.js"?new ue(e):t}var mt=class{_console=console;handleError(e){this._console.error("ERROR",e)}},jv=new F("",{providedIn:"root",factory:()=>{let t=A(ue),e=A(mt);return n=>t.runOutsideAngular(()=>e.handleError(n))}}),Xo=class{destroyed=!1;listeners=null;errorHandler=A(mt,{optional:!0});destroyRef=A(An);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(e){if(this.destroyed)throw new m(953,!1);return(this.listeners??=[]).push(e),{unsubscribe:()=>{let n=this.listeners?.indexOf(e);n!==void 0&&n!==-1&&this.listeners?.splice(n,1)}}}emit(e){if(this.destroyed){console.warn(Vd(953,!1));return}if(this.listeners===null)return;let n=S(null);try{for(let r of this.listeners)try{r(e)}catch(o){this.errorHandler?.handleError(o)}}finally{S(n)}}};function fR(t){return new Xo}function Qu(t,e){return Hd(t,e)}function Hv(t){return Hd(mi,t)}var pR=(Qu.required=Hv,Qu);function Bv(){return kn(ie(),I())}function kn(t,e){return new Ti(We(t,e))}var Ti=(()=>{class t{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=Bv}return t})();function Kf(t){return t instanceof Ti?t.nativeElement:t}function $v(t){return typeof t=="function"&&t[ae]!==void 0}function Uv(t,e){let n=Es(t,e?.equal),r=n[ae];return n.set=o=>nn(r,o),n.update=o=>Is(r,o),n.asReadonly=Zf.bind(n),n}function Zf(){let t=this[ae];if(t.readonlyFn===void 0){let e=()=>this();e[ae]=t,t.readonlyFn=e}return t.readonlyFn}function Yf(t){return $v(t)&&typeof t.set=="function"}function qv(){return this._results[Symbol.iterator]()}var ma=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 Me}constructor(e=!1){this._emitDistinctChangesOnly=e}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,n){return this._results.reduce(e,n)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,n){this.dirty=!1;let r=Cy(e);(this._changesDetected=!Sy(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(e){this._onDirty=e}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=qv};function Jf(t){return(t.flags&128)===128}var Xf=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(Xf||{}),ep=new Map,zv=0;function Wv(){return zv++}function Gv(t){ep.set(t[Ii],t)}function ya(t){ep.delete(t[Ii])}var Ku="__ngContext__";function Rn(t,e){pt(e)?(t[Ku]=e[Ii],Gv(e)):t[Ku]=e}function tp(t){return rp(t[lr])}function np(t){return rp(t[Ae])}function rp(t){for(;t!==null&&!it(t);)t=t[Ae];return t}var va;function hR(t){va=t}function op(){if(va!==void 0)return va;if(typeof document<"u")return document;throw new m(210,!1)}var gR=new F("",{providedIn:"root",factory:()=>Qv}),Qv="ng",Kv=new F(""),mR=new F("",{providedIn:"platform",factory:()=>"unknown"});var yR=new F(""),vR=new F("",{providedIn:"root",factory:()=>op().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var Zv="h",Yv="b";var Jv="di",ip="s";var sp=!1,Xv=new F("",{providedIn:"root",factory:()=>sp});var eE=new F("");var Pl=function(t){return t[t.CHANGE_DETECTION=0]="CHANGE_DETECTION",t[t.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",t}(Pl||{}),Mi=new F(""),Zu=new Set;function On(t){Zu.has(t)||(Zu.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}var Fl=(()=>{class t{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=tE}return t})();function tE(){return new Fl(I(),ie())}var hn=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(hn||{}),ap=(()=>{class t{impl=null;execute(){this.impl?.execute()}static \u0275prov=U({token:t,providedIn:"root",factory:()=>new t})}return t})(),nE=[hn.EarlyRead,hn.Write,hn.MixedReadWrite,hn.Read],rE=(()=>{class t{ngZone=A(ue);scheduler=A(gt);errorHandler=A(mt,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){A(Mi,{optional:!0})}execute(){let n=this.sequences.size>0;n&&V(16),this.executing=!0;for(let r of nE)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&&V(17)}register(n){let{view:r}=n;r!==void 0?((r[mn]??=[]).push(n),xn(r),r[D]|=8192):this.executing?this.deferredRegistrations.add(n):this.addSequence(n)}addSequence(n){this.sequences.add(n),this.scheduler.notify(7)}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}maybeTrace(n,r){return r?r.run(Pl.AFTER_NEXT_RENDER,n):n()}static \u0275prov=U({token:t,providedIn:"root",factory:()=>new t})}return t})(),Ea=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(e,n,r,o,i,s=null){this.impl=e,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 e=this.view?.[mn];e&&(this.view[mn]=e.filter(n=>n!==this))}};function oE(t,e){!e?.injector&&uf(oE);let n=e?.injector??A(nt);return On("NgAfterNextRender"),sE(t,n,e,!0)}function iE(t,e){if(t instanceof Function){let n=[void 0,void 0,void 0,void 0];return n[e]=t,n}else return[t.earlyRead,t.write,t.mixedReadWrite,t.read]}function sE(t,e,n,r){let o=e.get(ap);o.impl??=e.get(rE);let i=e.get(Mi,null,{optional:!0}),s=n?.phase??hn.MixedReadWrite,a=n?.manualCleanup!==!0?e.get(An):null,l=e.get(Fl,null,{optional:!0}),c=new Ea(o.impl,iE(t,s),l?.view,r,a,i?.snapshot(null));return o.impl.register(c),c}var me=function(t){return t[t.NOT_STARTED=0]="NOT_STARTED",t[t.IN_PROGRESS=1]="IN_PROGRESS",t[t.COMPLETE=2]="COMPLETE",t[t.FAILED=3]="FAILED",t}(me||{}),Yu=0,aE=1,Q=function(t){return t[t.Placeholder=0]="Placeholder",t[t.Loading=1]="Loading",t[t.Complete=2]="Complete",t[t.Error=3]="Error",t}(Q||{}),ei=function(t){return t[t.Initial=-1]="Initial",t}(ei||{}),lE=0,Si=1;var cE=4,uE=5,dE=6,fE=7,Us=8,pE=9,lp=function(t){return t[t.Manual=0]="Manual",t[t.Playthrough=1]="Playthrough",t}(lp||{});function hE(t,e,n){let r=up(t);e[r]===null&&(e[r]=[]),e[r].push(n)}function Oo(t,e){let n=up(t),r=e[n];if(r!==null){for(let o of r)o();e[n]=null}}function cp(t){Oo(1,t),Oo(0,t),Oo(2,t)}function up(t){let e=cE;return t===1?e=uE:t===2&&(e=pE),e}function Ci(t){return t+1}function Mr(t,e){let n=t[w],r=Ci(e.index);return t[r]}function gE(t,e,n){let r=t[w],o=Ci(e);t[o]=n}function Sr(t,e){let n=Ci(e.index);return t.data[n]}function mE(t,e,n){let r=Ci(e);t.data[r]=n}function yE(t,e,n){let r=e[w],o=Sr(r,n);switch(t){case Q.Complete:return o.primaryTmplIndex;case Q.Loading:return o.loadingTmplIndex;case Q.Error:return o.errorTmplIndex;case Q.Placeholder:return o.placeholderTmplIndex;default:return null}}function Ju(t,e){return e===Q.Placeholder?t.placeholderBlockConfig?.[Yu]??null:e===Q.Loading?t.loadingBlockConfig?.[Yu]??null:null}function vE(t){return t.loadingBlockConfig?.[aE]??null}function Xu(t,e){if(!t||t.length===0)return e;let n=new Set(t);for(let r of e)n.add(r);return t.length===n.size?t:Array.from(n)}function EE(t,e){let n=e.primaryTmplIndex+B;return br(t,n)}var IE=(t,e,n,r)=>{};function _E(t,e,n,r){IE(t,e,n,r)}var wE=new F("");var bE=()=>null;function dp(t,e,n=!1){return bE(t,e,n)}function DE(t){return t.get(eE,!1,{optional:!0})}function fp(t,e){let n=t.contentQueries;if(n!==null){let r=S(null);try{for(let o=0;o<n.length;o+=2){let i=n[o],s=n[o+1];if(s!==-1){let a=t.data[s];wi(i),a.contentQueries(2,e[s],s)}}}finally{S(r)}}}function Ia(t,e,n){wi(0);let r=S(null);try{e(t,n)}finally{S(r)}}function Ll(t,e,n){if(yl(e)){let r=S(null);try{let o=e.directiveStart,i=e.directiveEnd;for(let s=o;s<i;s++){let a=t.data[s];if(a.contentQueries){let l=n[s];a.contentQueries(1,l,s)}}}finally{S(r)}}}var fr=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(fr||{}),To;function TE(){if(To===void 0&&(To=null,Ye.trustedTypes))try{To=Ye.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return To}function Ni(t){return TE()?.createHTML(t)||t}var Mo;function pp(){if(Mo===void 0&&(Mo=null,Ye.trustedTypes))try{Mo=Ye.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Mo}function ed(t){return pp()?.createHTML(t)||t}function td(t){return pp()?.createScriptURL(t)||t}var rt=class{changingThisBreaksApplicationSecurity;constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Ld})`}},_a=class extends rt{getTypeName(){return"HTML"}},wa=class extends rt{getTypeName(){return"Style"}},ba=class extends rt{getTypeName(){return"Script"}},Da=class extends rt{getTypeName(){return"URL"}},Ta=class extends rt{getTypeName(){return"ResourceURL"}};function Pn(t){return t instanceof rt?t.changingThisBreaksApplicationSecurity:t}function Vl(t,e){let n=ME(t);if(n!=null&&n!==e){if(n==="ResourceURL"&&e==="URL")return!0;throw new Error(`Required a safe ${e}, got a ${n} (see ${Ld})`)}return n===e}function ME(t){return t instanceof rt&&t.getTypeName()||null}function ER(t){return new _a(t)}function IR(t){return new wa(t)}function _R(t){return new ba(t)}function wR(t){return new Da(t)}function bR(t){return new Ta(t)}function SE(t){let e=new Sa(t);return CE()?new Ma(e):e}var Ma=class{inertDocumentHelper;constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){e="<body><remove></remove>"+e;try{let n=new window.DOMParser().parseFromString(Ni(e),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(e):(n.firstChild?.remove(),n)}catch{return null}}},Sa=class{defaultDoc;inertDocument;constructor(e){this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(e){let n=this.inertDocument.createElement("template");return n.innerHTML=Ni(e),n}};function CE(){try{return!!new window.DOMParser().parseFromString(Ni(""),"text/html")}catch{return!1}}var NE=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function hp(t){return t=String(t),t.match(NE)?t:"unsafe:"+t}function st(t){let e={};for(let n of t.split(","))e[n]=!0;return e}function Cr(...t){let e={};for(let n of t)for(let r in n)n.hasOwnProperty(r)&&(e[r]=!0);return e}var gp=st("area,br,col,hr,img,wbr"),mp=st("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),yp=st("rp,rt"),xE=Cr(yp,mp),AE=Cr(mp,st("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")),kE=Cr(yp,st("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")),nd=Cr(gp,AE,kE,xE),vp=st("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),RE=st("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"),OE=st("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"),PE=Cr(vp,RE,OE),FE=st("script,style,template"),Ca=class{sanitizedSomething=!1;buf=[];sanitizeChildren(e){let n=e.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=jE(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=VE(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(e){let n=rd(e).toLowerCase();if(!nd.hasOwnProperty(n))return this.sanitizedSomething=!0,!FE.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);let r=e.attributes;for(let o=0;o<r.length;o++){let i=r.item(o),s=i.name,a=s.toLowerCase();if(!PE.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let l=i.value;vp[a]&&(l=hp(l)),this.buf.push(" ",s,'="',od(l),'"')}return this.buf.push(">"),!0}endElement(e){let n=rd(e).toLowerCase();nd.hasOwnProperty(n)&&!gp.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(e){this.buf.push(od(e))}};function LE(t,e){return(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function VE(t){let e=t.nextSibling;if(e&&t!==e.previousSibling)throw Ep(e);return e}function jE(t){let e=t.firstChild;if(e&&LE(t,e))throw Ep(e);return e}function rd(t){let e=t.nodeName;return typeof e=="string"?e:"FORM"}function Ep(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}var HE=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,BE=/([^\#-~ |!])/g;function od(t){return t.replace(/&/g,"&").replace(HE,function(e){let n=e.charCodeAt(0),r=e.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(BE,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var So;function $E(t,e){let n=null;try{So=So||SE(t);let r=e?String(e):"";n=So.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=So.getInertBodyElement(r)}while(r!==i);let a=new Ca().sanitizeChildren(id(n)||n);return Ni(a)}finally{if(n){let r=id(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function id(t){return"content"in t&&UE(t)?t.content:null}function UE(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE"}var xi=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}(xi||{});function DR(t){let e=jl();return e?ed(e.sanitize(xi.HTML,t)||""):Vl(t,"HTML")?ed(Pn(t)):$E(op(),Lt(t))}function qE(t){let e=jl();return e?e.sanitize(xi.URL,t)||"":Vl(t,"URL")?Pn(t):hp(Lt(t))}function zE(t){let e=jl();if(e)return td(e.sanitize(xi.RESOURCE_URL,t)||"");if(Vl(t,"ResourceURL"))return td(Pn(t));throw new m(904,!1)}function WE(t,e){return e==="src"&&(t==="embed"||t==="frame"||t==="iframe"||t==="media"||t==="script")||e==="href"&&(t==="base"||t==="link")?zE:qE}function TR(t,e,n){return WE(e,n)(t)}function jl(){let t=I();return t&&t[et].sanitizer}var GE=/^>|^->|<!--|-->|--!>|<!-$/g,QE=/(<|>)/g,KE="\u200B$1\u200B";function ZE(t){return t.replace(GE,e=>e.replace(QE,KE))}function MR(t){return t.ownerDocument.defaultView}function Ip(t){return t instanceof Function?t():t}function YE(t,e,n){let r=t.length;for(;;){let o=t.indexOf(e,n);if(o===-1)return o;if(o===0||t.charCodeAt(o-1)<=32){let i=e.length;if(o+i===r||t.charCodeAt(o+i)<=32)return o}n=o+1}}var _p="ng-template";function JE(t,e,n,r){let o=0;if(r){for(;o<e.length&&typeof e[o]=="string";o+=2)if(e[o]==="class"&&YE(e[o+1].toLowerCase(),n,0)!==-1)return!0}else if(Hl(t))return!1;if(o=e.indexOf(1,o),o>-1){let i;for(;++o<e.length&&typeof(i=e[o])=="string";)if(i.toLowerCase()===n)return!0}return!1}function Hl(t){return t.type===4&&t.value!==_p}function XE(t,e,n){let r=t.type===4&&!n?_p:t.value;return e===r}function eI(t,e,n){let r=4,o=t.attrs,i=o!==null?rI(o):0,s=!1;for(let a=0;a<e.length;a++){let l=e[a];if(typeof l=="number"){if(!s&&!xe(r)&&!xe(l))return!1;if(s&&xe(l))continue;s=!1,r=l|r&1;continue}if(!s)if(r&4){if(r=2|r&1,l!==""&&!XE(t,l,n)||l===""&&e.length===1){if(xe(r))return!1;s=!0}}else if(r&8){if(o===null||!JE(t,o,l,n)){if(xe(r))return!1;s=!0}}else{let c=e[++a],u=tI(l,o,Hl(t),n);if(u===-1){if(xe(r))return!1;s=!0;continue}if(c!==""){let d;if(u>i?d="":d=o[u+1].toLowerCase(),r&2&&c!==d){if(xe(r))return!1;s=!0}}}}return xe(r)||s}function xe(t){return(t&1)===0}function tI(t,e,n,r){if(e===null)return-1;let o=0;if(r||!n){let i=!1;for(;o<e.length;){let s=e[o];if(s===t)return o;if(s===3||s===6)i=!0;else if(s===1||s===2){let a=e[++o];for(;typeof a=="string";)a=e[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=i?1:2}return-1}else return oI(e,t)}function wp(t,e,n=!1){for(let r=0;r<e.length;r++)if(eI(t,e[r],n))return!0;return!1}function nI(t){let e=t.attrs;if(e!=null){let n=e.indexOf(5);if((n&1)===0)return e[n+1]}return null}function rI(t){for(let e=0;e<t.length;e++){let n=t[e];if(kf(n))return e}return t.length}function oI(t,e){let n=t.indexOf(4);if(n>-1)for(n++;n<t.length;){let r=t[n];if(typeof r=="number")return-1;if(r===e)return n;n++}return-1}function iI(t,e){e:for(let n=0;n<e.length;n++){let r=e[n];if(t.length===r.length){for(let o=0;o<t.length;o++)if(t[o]!==r[o])continue e;return!0}}return!1}function sd(t,e){return t?":not("+e.trim()+")":e}function sI(t){let e=t[0],n=1,r=2,o="",i=!1;for(;n<t.length;){let s=t[n];if(typeof s=="string")if(r&2){let a=t[++n];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!xe(s)&&(e+=sd(i,o),o=""),r=s,i=i||!xe(r);n++}return o!==""&&(e+=sd(i,o)),e}function aI(t){return t.map(sI).join(",")}function lI(t){let e=[],n=[],r=1,o=2;for(;r<t.length;){let i=t[r];if(typeof i=="string")o===2?i!==""&&e.push(i,t[++r]):o===8&&n.push(i);else{if(!xe(o))break;o=i}r++}return n.length&&e.push(1,...n),e}var de={};function cI(t,e){return t.createText(e)}function uI(t,e,n){t.setValue(e,n)}function dI(t,e){return t.createComment(ZE(e))}function bp(t,e,n){return t.createElement(e,n)}function ti(t,e,n,r,o){t.insertBefore(e,n,r,o)}function Dp(t,e,n){t.appendChild(e,n)}function ad(t,e,n,r,o){r!==null?ti(t,e,n,r,o):Dp(t,e,n)}function fI(t,e,n){t.removeChild(null,e,n)}function pI(t,e,n){t.setAttribute(e,"style",n)}function hI(t,e,n){n===""?t.removeAttribute(e,"class"):t.setAttribute(e,"class",n)}function Tp(t,e,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&vv(t,e,r),o!==null&&hI(t,e,o),i!==null&&pI(t,e,i)}function Bl(t,e,n,r,o,i,s,a,l,c,u){let d=B+r,p=d+o,f=gI(d,p),h=typeof c=="function"?c():c;return f[w]={type:t,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:e,data:f.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:p,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i=="function"?i():i,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:l,consts:h,incompleteFirstPass:!1,ssrId:u}}function gI(t,e){let n=[];for(let r=0;r<e;r++)n.push(r<t?null:de);return n}function mI(t){let e=t.tView;return e===null||e.incompleteFirstPass?t.tView=Bl(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts,t.id):e}function $l(t,e,n,r,o,i,s,a,l,c,u){let d=e.blueprint.slice();return d[ot]=o,d[D]=r|4|128|8|64|1024,(c!==null||t&&t[D]&2048)&&(d[D]|=2048),Ef(d),d[te]=d[Sn]=t,d[J]=n,d[et]=s||t&&t[et],d[$]=a||t&&t[$],d[ke]=l||t&&t[ke]||null,d[ve]=i,d[Ii]=Wv(),d[In]=u,d[df]=c,d[be]=e.type==2?t[be]:d,d}function yI(t,e,n){let r=We(e,t),o=mI(n),i=t[et].rendererFactory,s=Ul(t,$l(t,o,null,Mp(n),r,e,null,i.createRenderer(r,n),null,null,null));return t[e.index]=s}function Mp(t){let e=16;return t.signals?e=4096:t.onPush&&(e=64),e}function Sp(t,e,n,r){if(n===0)return-1;let o=e.length;for(let i=0;i<n;i++)e.push(r),t.blueprint.push(r),t.data.push(null);return o}function Ul(t,e){return t[lr]?t[Vu][Ae]=e:t[lr]=e,t[Vu]=e,e}function SR(t=1){Cp(j(),I(),Ge()+t,!1)}function Cp(t,e,n,r){if(!r)if((e[D]&3)===3){let i=t.preOrderCheckHooks;i!==null&&Ao(e,i,n)}else{let i=t.preOrderHooks;i!==null&&ko(e,i,0,n)}Ut(n)}var Ai=function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t}(Ai||{});function Na(t,e,n,r){let o=S(null);try{let[i,s,a]=t.inputs[n],l=null;(s&Ai.SignalBased)!==0&&(l=e[i][ae]),l!==null&&l.transformFn!==void 0?r=l.transformFn(r):a!==null&&(r=a.call(e,r)),t.setInput!==null?t.setInput(e,l,r,n,i):pf(e,l,i,r)}finally{S(o)}}function Np(t,e,n,r,o){let i=Ge(),s=r&2;try{Ut(-1),s&&e.length>B&&Cp(t,e,B,!1),V(s?2:0,o),n(r,o)}finally{Ut(i),V(s?3:1,o)}}function ki(t,e,n){bI(t,e,n),(n.flags&64)===64&&DI(t,e,n)}function ql(t,e,n=We){let r=e.localNames;if(r!==null){let o=e.index+1;for(let i=0;i<r.length;i+=2){let s=r[i+1],a=s===-1?n(e,t):t[s];t[o++]=a}}}function vI(t,e,n,r){let i=r.get(Xv,sp)||n===fr.ShadowDom,s=t.selectRootElement(e,i);return EI(s),s}function EI(t){II(t)}var II=()=>null;function _I(t){return t==="class"?"className":t==="for"?"htmlFor":t==="formaction"?"formAction":t==="innerHtml"?"innerHTML":t==="readonly"?"readOnly":t==="tabindex"?"tabIndex":t}function Nr(t,e,n,r,o,i,s,a){if(!a&&Gl(e,t,n,r,o)){Cn(e)&&wI(n,e.index);return}if(e.type&3){let l=We(e,n);r=_I(r),o=s!=null?s(o,e.value||"",r):o,i.setProperty(l,r,o)}else e.type&12}function wI(t,e){let n=ze(e,t);n[D]&16||(n[D]|=64)}function bI(t,e,n){let r=n.directiveStart,o=n.directiveEnd;Cn(n)&&yI(e,n,t.data[r+n.componentOffset]),t.firstCreatePass||Ko(n,e);let i=n.initialInputs;for(let s=r;s<o;s++){let a=t.data[s],l=ur(e,t,s,n);if(Rn(l,e),i!==null&&CI(e,s-r,l,a,n,i),Ue(a)){let c=ze(n.index,e);c[J]=ur(e,t,s,n)}}}function DI(t,e,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=cv();try{Ut(i);for(let a=r;a<o;a++){let l=t.data[a],c=e[a];ua(a),(l.hostBindings!==null||l.hostVars!==0||l.hostAttrs!==null)&&TI(l,c)}}finally{Ut(-1),ua(s)}}function TI(t,e){t.hostBindings!==null&&t.hostBindings(1,e)}function zl(t,e){let n=t.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];wp(e,i.selectors,!1)&&(r??=[],Ue(i)?r.unshift(i):r.push(i))}return r}function MI(t,e,n,r,o,i){let s=We(t,e);SI(e[$],s,i,t.value,n,r,o)}function SI(t,e,n,r,o,i,s){if(i==null)t.removeAttribute(e,o,n);else{let a=s==null?Lt(i):s(i,r||"",o);t.setAttribute(e,o,a,n)}}function CI(t,e,n,r,o,i){let s=i[e];if(s!==null)for(let a=0;a<s.length;a+=2){let l=s[a],c=s[a+1];Na(r,n,l,c)}}function Wl(t,e){let n=t[ke],r=n?n.get(mt,null):null;r&&r.handleError(e)}function Gl(t,e,n,r,o){let i=t.inputs?.[r],s=t.hostDirectiveInputs?.[r],a=!1;if(s)for(let l=0;l<s.length;l+=2){let c=s[l],u=s[l+1],d=e.data[c];Na(d,n[c],u,o),a=!0}if(i)for(let l of i){let c=n[l],u=e.data[l];Na(u,c,r,o),a=!0}return a}function NI(t,e){let n=ze(e,t),r=n[w];xI(r,n);let o=n[ot];o!==null&&n[In]===null&&(n[In]=dp(o,n[ke])),V(18),Ql(r,n,n[J]),V(19,n[J])}function xI(t,e){for(let n=e.length;n<t.blueprint.length;n++)e.push(t.blueprint[n])}function Ql(t,e,n){Nl(e);try{let r=t.viewQuery;r!==null&&Ia(1,r,n);let o=t.template;o!==null&&Np(t,e,o,1,n),t.firstCreatePass&&(t.firstCreatePass=!1),e[tt]?.finishViewCreation(t),t.staticContentQueries&&fp(t,e),t.staticViewQueries&&Ia(2,t.viewQuery,n);let i=t.components;i!==null&&AI(e,i)}catch(r){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),r}finally{e[D]&=-5,xl()}}function AI(t,e){for(let n=0;n<e.length;n++)NI(t,e[n])}function Fn(t,e,n,r){let o=S(null);try{let i=e.tView,a=t[D]&4096?4096:16,l=$l(t,i,n,a,null,e,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),c=t[e.index];l[jt]=c;let u=t[tt];return u!==null&&(l[tt]=u.createEmbeddedView(i)),Ql(i,l,n),l}finally{S(o)}}function zt(t,e){return!e||e.firstChild===null||Jf(t)}var kI;function Kl(t,e){return kI(t,e)}var xa=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(xa||{});function Zl(t){return(t.flags&32)===32}function gn(t,e,n,r,o){if(r!=null){let i,s=!1;it(r)?i=r:pt(r)&&(s=!0,r=r[ot]);let a=qe(r);t===0&&n!==null?o==null?Dp(e,n,a):ti(e,n,a,o||null,!0):t===1&&n!==null?ti(e,n,a,o||null,!0):t===2?fI(e,a,s):t===3&&e.destroyNode(a),i!=null&&$I(e,t,i,n,o)}}function RI(t,e){xp(t,e),e[ot]=null,e[ve]=null}function OI(t,e,n,r,o,i){r[ot]=o,r[ve]=e,Pi(t,r,n,1,o,i)}function xp(t,e){e[et].changeDetectionScheduler?.notify(9),Pi(t,e,e[$],2,null,null)}function PI(t){let e=t[lr];if(!e)return qs(t[w],t);for(;e;){let n=null;if(pt(e))n=e[lr];else{let r=e[re];r&&(n=r)}if(!n){for(;e&&!e[Ae]&&e!==t;)pt(e)&&qs(e[w],e),e=e[te];e===null&&(e=t),pt(e)&&qs(e[w],e),n=e&&e[Ae]}e=n}}function Yl(t,e){let n=t[_n],r=n.indexOf(e);n.splice(r,1)}function Ri(t,e){if(Qt(e))return;let n=e[$];n.destroyNode&&Pi(t,e,n,3,null,null),PI(e)}function qs(t,e){if(Qt(e))return;let n=S(null);try{e[D]&=-129,e[D]|=256,e[Se]&&Wn(e[Se]),LI(t,e),FI(t,e),e[w].type===1&&e[$].destroy();let r=e[jt];if(r!==null&&it(e[te])){r!==e[te]&&Yl(r,e);let o=e[tt];o!==null&&o.detachView(t)}ya(e)}finally{S(n)}}function FI(t,e){let n=t.cleanup,r=e[$o];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&&(e[$o]=null);let o=e[ft];if(o!==null){e[ft]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=e[Ht];if(i!==null){e[Ht]=null;for(let s of i)s.destroy()}}function LI(t,e){let n;if(t!=null&&(n=t.destroyHooks)!=null)for(let r=0;r<n.length;r+=2){let o=e[n[r]];if(!(o instanceof qt)){let i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],l=i[s+1];V(4,a,l);try{l.call(a)}finally{V(5,a,l)}}else{V(4,o,i);try{i.call(o)}finally{V(5,o,i)}}}}}function Ap(t,e,n){return VI(t,e.parent,n)}function VI(t,e,n){let r=e;for(;r!==null&&r.type&168;)e=r,r=e.parent;if(r===null)return n[ot];if(Cn(r)){let{encapsulation:o}=t.data[r.directiveStart+r.componentOffset];if(o===fr.None||o===fr.Emulated)return null}return We(r,n)}function kp(t,e,n){return HI(t,e,n)}function jI(t,e,n){return t.type&40?We(t,n):null}var HI=jI,ld;function Oi(t,e,n,r){let o=Ap(t,r,e),i=e[$],s=r.parent||e[ve],a=kp(s,r,e);if(o!=null)if(Array.isArray(n))for(let l=0;l<n.length;l++)ad(i,o,n[l],a,!1);else ad(i,o,n,a,!1);ld!==void 0&&ld(i,r,e,n,o)}function rr(t,e){if(e!==null){let n=e.type;if(n&3)return We(e,t);if(n&4)return Aa(-1,t[e.index]);if(n&8){let r=e.child;if(r!==null)return rr(t,r);{let o=t[e.index];return it(o)?Aa(-1,o):qe(o)}}else{if(n&128)return rr(t,e.next);if(n&32)return Kl(e,t)()||qe(t[e.index]);{let r=Rp(t,e);if(r!==null){if(Array.isArray(r))return r[0];let o=$t(t[be]);return rr(o,r)}else return rr(t,e.next)}}}return null}function Rp(t,e){if(e!==null){let r=t[be][ve],o=e.projection;return r.projection[o]}return null}function Aa(t,e){let n=re+t+1;if(n<e.length){let r=e[n],o=r[w].firstChild;if(o!==null)return rr(r,o)}return e[Bt]}function Jl(t,e,n,r,o,i,s){for(;n!=null;){if(n.type===128){n=n.next;continue}let a=r[n.index],l=n.type;if(s&&e===0&&(a&&Rn(qe(a),r),n.flags|=2),!Zl(n))if(l&8)Jl(t,e,n.child,r,o,i,!1),gn(e,t,o,a,i);else if(l&32){let c=Kl(n,r),u;for(;u=c();)gn(e,t,o,u,i);gn(e,t,o,a,i)}else l&16?Op(t,e,r,n,o,i):gn(e,t,o,a,i);n=s?n.projectionNext:n.next}}function Pi(t,e,n,r,o,i){Jl(n,r,t.firstChild,e,o,i,!1)}function BI(t,e,n){let r=e[$],o=Ap(t,n,e),i=n.parent||e[ve],s=kp(i,n,e);Op(r,0,e,n,o,s)}function Op(t,e,n,r,o,i){let s=n[be],l=s[ve].projection[r.projection];if(Array.isArray(l))for(let c=0;c<l.length;c++){let u=l[c];gn(e,t,o,u,i)}else{let c=l,u=s[te];Jf(r)&&(c.flags|=128),Jl(t,e,c,u,o,i,!0)}}function $I(t,e,n,r,o){let i=n[Bt],s=qe(n);i!==s&&gn(e,t,r,i,o);for(let a=re;a<n.length;a++){let l=n[a];Pi(l[w],l,t,e,r,i)}}function UI(t,e,n,r,o){if(e)o?t.addClass(n,r):t.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:xa.DashCase;o==null?t.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=xa.Important),t.setStyle(n,r,o,i))}}function ni(t,e,n,r,o=!1){for(;n!==null;){if(n.type===128){n=o?n.projectionNext:n.next;continue}let i=e[n.index];i!==null&&r.push(qe(i)),it(i)&&qI(i,r);let s=n.type;if(s&8)ni(t,e,n.child,r);else if(s&32){let a=Kl(n,e),l;for(;l=a();)r.push(l)}else if(s&16){let a=Rp(e,n);if(Array.isArray(a))r.push(...a);else{let l=$t(e[be]);ni(l[w],l,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function qI(t,e){for(let n=re;n<t.length;n++){let r=t[n],o=r[w].firstChild;o!==null&&ni(r[w],r,o,e)}t[Bt]!==t[ot]&&e.push(t[Bt])}function Pp(t){if(t[mn]!==null){for(let e of t[mn])e.impl.addSequence(e);t[mn].length=0}}var Fp=[];function zI(t){return t[Se]??WI(t)}function WI(t){let e=Fp.pop()??Object.create(QI);return e.lView=t,e}function GI(t){t.lView[Se]!==t&&(t.lView=null,Fp.push(t))}var QI=pe(G({},en),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:t=>{xn(t.lView)},consumerOnSignalRead(){this.lView[Se]=this}});function KI(t){let e=t[Se]??Object.create(ZI);return e.lView=t,e}var ZI=pe(G({},en),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:t=>{let e=$t(t.lView);for(;e&&!Lp(e[w]);)e=$t(e);e&&Il(e)},consumerOnSignalRead(){this.lView[Se]=this}});function Lp(t){return t.type!==2}function Vp(t){if(t[Ht]===null)return;let e=!0;for(;e;){let n=!1;for(let r of t[Ht])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));e=n&&!!(t[D]&8192)}}var YI=100;function jp(t,e=!0,n=0){let o=t[et].rendererFactory,i=!1;i||o.begin?.();try{JI(t,n)}catch(s){throw e&&Wl(t,s),s}finally{i||o.end?.()}}function JI(t,e){let n=Df();try{zo(!0),ka(t,e);let r=0;for(;Dr(t);){if(r===YI)throw new m(103,!1);r++,ka(t,1)}}finally{zo(n)}}function XI(t,e,n,r){if(Qt(e))return;let o=e[D],i=!1,s=!1;Nl(e);let a=!0,l=null,c=null;i||(Lp(t)?(c=zI(e),l=zn(c)):hs()===null?(a=!1,c=KI(e),l=zn(c)):e[Se]&&(Wn(e[Se]),e[Se]=null));try{Ef(e),sv(t.bindingStartIndex),n!==null&&Np(t,e,n,2,r);let u=(o&3)===3;if(!i)if(u){let f=t.preOrderCheckHooks;f!==null&&Ao(e,f,null)}else{let f=t.preOrderHooks;f!==null&&ko(e,f,0,null),Bs(e,0)}if(s||e_(e),Vp(e),Hp(e,0),t.contentQueries!==null&&fp(t,e),!i)if(u){let f=t.contentCheckHooks;f!==null&&Ao(e,f)}else{let f=t.contentHooks;f!==null&&ko(e,f,1),Bs(e,1)}n_(t,e);let d=t.components;d!==null&&$p(e,d,0);let p=t.viewQuery;if(p!==null&&Ia(2,p,r),!i)if(u){let f=t.viewCheckHooks;f!==null&&Ao(e,f)}else{let f=t.viewHooks;f!==null&&ko(e,f,2),Bs(e,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),e[Hs]){for(let f of e[Hs])f();e[Hs]=null}i||(Pp(e),e[D]&=-73)}catch(u){throw i||xn(e),u}finally{c!==null&&(Ur(c,l),a&&GI(c)),xl()}}function Hp(t,e){for(let n=tp(t);n!==null;n=np(n))for(let r=re;r<n.length;r++){let o=n[r];Bp(o,e)}}function e_(t){for(let e=tp(t);e!==null;e=np(e)){if(!(e[D]&2))continue;let n=e[_n];for(let r=0;r<n.length;r++){let o=n[r];Il(o)}}}function t_(t,e,n){V(18);let r=ze(e,t);Bp(r,n),V(19,r[J])}function Bp(t,e){El(t)&&ka(t,e)}function ka(t,e){let r=t[w],o=t[D],i=t[Se],s=!!(e===0&&o&16);if(s||=!!(o&64&&e===0),s||=!!(o&1024),s||=!!(i?.dirty&&qr(i)),s||=!1,i&&(i.dirty=!1),t[D]&=-9217,s)XI(r,t,r.template,t[J]);else if(o&8192){Vp(t),Hp(t,1);let a=r.components;a!==null&&$p(t,a,1),Pp(t)}}function $p(t,e,n){for(let r=0;r<e.length;r++)t_(t,e[r],n)}function n_(t,e){let n=t.hostBindingOpCodes;if(n!==null)try{for(let r=0;r<n.length;r++){let o=n[r];if(o<0)Ut(~o);else{let i=o,s=n[++r],a=n[++r];lv(s,i);let l=e[i];V(24,l),a(2,l),V(25,l)}}}finally{Ut(-1)}}function Fi(t,e){let n=Df()?64:1088;for(t[et].changeDetectionScheduler?.notify(e);t;){t[D]|=n;let r=$t(t);if(qo(t)&&!r)return t;t=r}return null}function Up(t,e,n,r){return[t,!0,0,e,null,r,null,n,null,null]}function qp(t,e){let n=re+e;if(n<t.length)return t[n]}function Ln(t,e,n,r=!0){let o=e[w];if(r_(o,e,t,n),r){let s=Aa(n,t),a=e[$],l=a.parentNode(t[Bt]);l!==null&&OI(o,t[ve],a,e,l,s)}let i=e[In];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function Xl(t,e){let n=pr(t,e);return n!==void 0&&Ri(n[w],n),n}function pr(t,e){if(t.length<=re)return;let n=re+e,r=t[n];if(r){let o=r[jt];o!==null&&o!==t&&Yl(o,r),e>0&&(t[n-1][Ae]=r[Ae]);let i=jo(t,re+e);RI(r[w],r);let s=i[tt];s!==null&&s.detachView(i[w]),r[te]=null,r[Ae]=null,r[D]&=-129}return r}function r_(t,e,n,r){let o=re+r,i=n.length;r>0&&(n[o-1][Ae]=e),r<i-re?(e[Ae]=n[o],Xd(n,re+r,e)):(n.push(e),e[Ae]=null),e[te]=n;let s=e[jt];s!==null&&n!==s&&zp(s,e);let a=e[tt];a!==null&&a.insertView(t),la(e),e[D]|=128}function zp(t,e){let n=t[_n],r=e[te];if(pt(r))t[D]|=2;else{let o=r[te][be];e[be]!==o&&(t[D]|=2)}n===null?t[_n]=[e]:n.push(e)}var hr=class{_lView;_cdRefInjectingView;notifyErrorHandler;_appRef=null;_attachedToViewContainer=!1;get rootNodes(){let e=this._lView,n=e[w];return ni(n,e,n.firstChild,[])}constructor(e,n,r=!0){this._lView=e,this._cdRefInjectingView=n,this.notifyErrorHandler=r}get context(){return this._lView[J]}set context(e){this._lView[J]=e}get destroyed(){return Qt(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let e=this._lView[te];if(it(e)){let n=e[Uo],r=n?n.indexOf(this):-1;r>-1&&(pr(e,r),jo(n,r))}this._attachedToViewContainer=!1}Ri(this._lView[w],this._lView)}onDestroy(e){_l(this._lView,e)}markForCheck(){Fi(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[D]&=-129}reattach(){la(this._lView),this._lView[D]|=128}detectChanges(){this._lView[D]|=1024,jp(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new m(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let e=qo(this._lView),n=this._lView[jt];n!==null&&!e&&Yl(n,this._lView),xp(this._lView[w],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new m(902,!1);this._appRef=e;let n=qo(this._lView),r=this._lView[jt];r!==null&&!n&&zp(r,this._lView),la(this._lView)}};function NR(t){return Dr(t._lView)||!!(t._lView[D]&64)}function xR(t){Il(t._cdRefInjectingView||t._lView)}var ri=(()=>{class t{static __NG_ELEMENT_ID__=s_}return t})(),o_=ri,i_=class extends o_{_declarationLView;_declarationTContainer;elementRef;constructor(e,n,r){super(),this._declarationLView=e,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,n){return this.createEmbeddedViewImpl(e,n)}createEmbeddedViewImpl(e,n,r){let o=Fn(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:n,dehydratedView:r});return new hr(o)}};function s_(){return Li(ie(),I())}function Li(t,e){return t.type&4?new i_(e,t,kn(t,e)):null}function Vn(t,e,n,r,o){let i=t.data[e];if(i===null)i=a_(t,e,n,r,o),av()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=ov();i.injectorIndex=s===null?-1:s.injectorIndex}return yt(i,!0),i}function a_(t,e,n,r,o){let i=wf(),s=Tl(),a=s?i:i&&i.parent,l=t.data[e]=c_(t,a,n,e,r,o);return l_(t,l,i,s),l}function l_(t,e,n,r){t.firstChild===null&&(t.firstChild=e),n!==null&&(r?n.child==null&&e.parent!==null&&(n.child=e):n.next===null&&(n.next=e,e.prev=n))}function c_(t,e,n,r,o,i){let s=e?e.injectorIndex:-1,a=0;return _f()&&(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:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}var kR=new RegExp(`^(\\d+)*(${Yv}|${Zv})*(.*)`);var u_=()=>null;function bn(t,e){return u_(t,e)}var d_=class{},Wp=class{},Ra=class{resolveComponentFactory(e){throw Error(`No component factory found for ${ye(e)}.`)}},Vi=class{static NULL=new Ra},oi=class{},FR=(()=>{class t{destroyNode=null;static __NG_ELEMENT_ID__=()=>f_()}return t})();function f_(){let t=I(),e=ie(),n=ze(e.index,t);return(pt(n)?n:t)[$]}var p_=(()=>{class t{static \u0275prov=U({token:t,providedIn:"root",factory:()=>null})}return t})();var zs={},vn=class{injector;parentInjector;constructor(e,n){this.injector=e,this.parentInjector=n}get(e,n,r){r=vi(r);let o=this.injector.get(e,zs,r);return o!==zs||n===zs?o:this.parentInjector.get(e,n,r)}};function Oa(t,e,n){let r=n?t.styles:null,o=n?t.classes:null,i=0;if(e!==null)for(let s=0;s<e.length;s++){let a=e[s];if(typeof a=="number")i=a;else if(i==1)o=ea(o,a);else if(i==2){let l=a,c=e[++s];r=ea(r,l+": "+c+";")}}n?t.styles=r:t.stylesWithoutHost=r,n?t.classes=o:t.classesWithoutHost=o}function ji(t,e=k.Default){let n=I();if(n===null)return we(t,e);let r=ie();return jf(r,n,ee(t),e)}function LR(){let t="invalid";throw new Error(t)}function ec(t,e,n,r,o){let i=r===null?null:{"":-1},s=o(t,n);if(s!==null){let a,l=null,c=null,u=g_(s);u===null?a=s:[a,l,c]=u,v_(t,e,n,a,i,l,c)}i!==null&&r!==null&&h_(n,r,i)}function h_(t,e,n){let r=t.localNames=[];for(let o=0;o<e.length;o+=2){let i=n[e[o+1]];if(i==null)throw new m(-301,!1);r.push(e[o],i)}}function g_(t){let e=null,n=!1;for(let s=0;s<t.length;s++){let a=t[s];if(s===0&&Ue(a)&&(e=a),a.findHostDirectiveDefs!==null){n=!0;break}}if(!n)return null;let r=null,o=null,i=null;for(let s of t)s.findHostDirectiveDefs!==null&&(r??=[],o??=new Map,i??=new Map,m_(s,r,i,o)),s===e&&(r??=[],r.push(s));return r!==null?(r.push(...e===null?t:t.slice(1)),[r,o,i]):null}function m_(t,e,n,r){let o=e.length;t.findHostDirectiveDefs(t,e,r),n.set(t,[o,e.length-1])}function y_(t,e,n){e.componentOffset=n,(t.components??=[]).push(e.index)}function v_(t,e,n,r,o,i,s){let a=r.length,l=!1;for(let p=0;p<a;p++){let f=r[p];!l&&Ue(f)&&(l=!0,y_(t,n,p)),fa(Ko(n,e),t,f.type)}D_(n,t.data.length,a);for(let p=0;p<a;p++){let f=r[p];f.providersResolver&&f.providersResolver(f)}let c=!1,u=!1,d=Sp(t,e,a,null);a>0&&(n.directiveToIndex=new Map);for(let p=0;p<a;p++){let f=r[p];if(n.mergedAttrs=wn(n.mergedAttrs,f.hostAttrs),I_(t,n,e,d,f),b_(d,f,o),s!==null&&s.has(f)){let[g,E]=s.get(f);n.directiveToIndex.set(f.type,[d,g+n.directiveStart,E+n.directiveStart])}else(i===null||!i.has(f))&&n.directiveToIndex.set(f.type,d);f.contentQueries!==null&&(n.flags|=4),(f.hostBindings!==null||f.hostAttrs!==null||f.hostVars!==0)&&(n.flags|=64);let h=f.type.prototype;!c&&(h.ngOnChanges||h.ngOnInit||h.ngDoCheck)&&((t.preOrderHooks??=[]).push(n.index),c=!0),!u&&(h.ngOnChanges||h.ngDoCheck)&&((t.preOrderCheckHooks??=[]).push(n.index),u=!0),d++}E_(t,n,i)}function E_(t,e,n){for(let r=e.directiveStart;r<e.directiveEnd;r++){let o=t.data[r];if(n===null||!n.has(o))cd(0,e,o,r),cd(1,e,o,r),dd(e,r,!1);else{let i=n.get(o);ud(0,e,i,r),ud(1,e,i,r),dd(e,r,!0)}}}function cd(t,e,n,r){let o=t===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s;t===0?s=e.inputs??={}:s=e.outputs??={},s[i]??=[],s[i].push(r),Gp(e,i)}}function ud(t,e,n,r){let o=t===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s=o[i],a;t===0?a=e.hostDirectiveInputs??={}:a=e.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,i),Gp(e,s)}}function Gp(t,e){e==="class"?t.flags|=8:e==="style"&&(t.flags|=16)}function dd(t,e,n){let{attrs:r,inputs:o,hostDirectiveInputs:i}=t;if(r===null||!n&&o===null||n&&i===null||Hl(t)){t.initialInputs??=[],t.initialInputs.push(null);return}let s=null,a=0;for(;a<r.length;){let l=r[a];if(l===0){a+=4;continue}else if(l===5){a+=2;continue}else if(typeof l=="number")break;if(!n&&o.hasOwnProperty(l)){let c=o[l];for(let u of c)if(u===e){s??=[],s.push(l,r[a+1]);break}}else if(n&&i.hasOwnProperty(l)){let c=i[l];for(let u=0;u<c.length;u+=2)if(c[u]===e){s??=[],s.push(c[u+1],r[a+1]);break}}a+=2}t.initialInputs??=[],t.initialInputs.push(s)}function I_(t,e,n,r,o){t.data[r]=o;let i=o.factory||(o.factory=Vt(o.type,!0)),s=new qt(i,Ue(o),ji);t.blueprint[r]=s,n[r]=s,__(t,e,r,Sp(t,n,o.hostVars,de),o)}function __(t,e,n,r,o){let i=o.hostBindings;if(i){let s=t.hostBindingOpCodes;s===null&&(s=t.hostBindingOpCodes=[]);let a=~e.index;w_(s)!=a&&s.push(a),s.push(n,r,i)}}function w_(t){let e=t.length;for(;e>0;){let n=t[--e];if(typeof n=="number"&&n<0)return n}return 0}function b_(t,e,n){if(n){if(e.exportAs)for(let r=0;r<e.exportAs.length;r++)n[e.exportAs[r]]=t;Ue(e)&&(n[""]=t)}}function D_(t,e,n){t.flags|=1,t.directiveStart=e,t.directiveEnd=e+n,t.providerIndexes=e}function Qp(t,e,n,r,o,i,s,a){let l=e.consts,c=ht(l,s),u=Vn(e,t,2,r,c);return i&&ec(e,n,u,ht(l,a),o),u.mergedAttrs=wn(u.mergedAttrs,u.attrs),u.attrs!==null&&Oa(u,u.attrs,!1),u.mergedAttrs!==null&&Oa(u,u.mergedAttrs,!0),e.queries!==null&&e.queries.elementStart(e,u),u}function Kp(t,e){Al(t,e),yl(e)&&t.queries.elementEnd(e)}var ii=class extends Vi{ngModule;constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){let n=Je(e);return new Wt(n,this.ngModule)}};function T_(t){return Object.keys(t).map(e=>{let[n,r,o]=t[e],i={propName:n,templateName:e,isSignal:(r&Ai.SignalBased)!==0};return o&&(i.transform=o),i})}function M_(t){return Object.keys(t).map(e=>({propName:t[e],templateName:e}))}function S_(t,e,n){let r=e instanceof Xe?e:e?.injector;return r&&t.getStandaloneInjector!==null&&(r=t.getStandaloneInjector(r)||r),r?new vn(n,r):n}function C_(t){let e=t.get(oi,null);if(e===null)throw new m(407,!1);let n=t.get(p_,null),r=t.get(gt,null);return{rendererFactory:e,sanitizer:n,changeDetectionScheduler:r}}function N_(t,e){let n=(t.selectors[0][0]||"div").toLowerCase();return bp(e,n,n==="svg"?yf:n==="math"?Qy:null)}var Wt=class extends Wp{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=T_(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=M_(this.componentDef.outputs),this.cachedOutputs}constructor(e,n){super(),this.componentDef=e,this.ngModule=n,this.componentType=e.type,this.selector=aI(e.selectors),this.ngContentSelectors=e.ngContentSelectors??[],this.isBoundToModule=!!n}create(e,n,r,o){V(22);let i=S(null);try{let s=this.componentDef,a=r?["ng-version","19.2.14"]:lI(this.componentDef.selectors[0]),l=Bl(0,null,null,1,0,null,null,null,null,[a],null),c=S_(s,o||this.ngModule,e),u=C_(c),d=u.rendererFactory.createRenderer(null,s),p=r?vI(d,r,s.encapsulation,c):N_(s,d),f=$l(null,l,null,512|Mp(s),null,null,u,d,c,null,dp(p,c,!0));f[B]=p,Nl(f);let h=null;try{let g=Qp(B,l,f,"#host",()=>[this.componentDef],!0,0);p&&(Tp(d,p,g),Rn(p,f)),ki(l,f,g),Ll(l,g,f),Kp(l,g),n!==void 0&&x_(g,this.ngContentSelectors,n),h=ze(g.index,f),f[J]=h[J],Ql(l,f,null)}catch(g){throw h!==null&&ya(h),ya(f),g}finally{V(23),xl()}return new Pa(this.componentType,f)}finally{S(i)}}},Pa=class extends d_{_rootLView;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(e,n){super(),this._rootLView=n,this._tNode=br(n[w],B),this.location=kn(this._tNode,n),this.instance=ze(this._tNode.index,n)[J],this.hostView=this.changeDetectorRef=new hr(n,void 0,!1),this.componentType=e}setInput(e,n){let r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(e)&&Object.is(this.previousInputValues.get(e),n))return;let o=this._rootLView,i=Gl(r,o[w],o,e,n);this.previousInputValues.set(e,n);let s=ze(r.index,o);Fi(s,1)}get injector(){return new Ft(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(e){this.hostView.onDestroy(e)}};function x_(t,e,n){let r=t.projection=[];for(let o=0;o<e.length;o++){let i=n[o];r.push(i!=null&&i.length?Array.from(i):null)}}var tc=(()=>{class t{static __NG_ELEMENT_ID__=A_}return t})();function A_(){let t=ie();return Yp(t,I())}var k_=tc,Zp=class extends k_{_lContainer;_hostTNode;_hostLView;constructor(e,n,r){super(),this._lContainer=e,this._hostTNode=n,this._hostLView=r}get element(){return kn(this._hostTNode,this._hostLView)}get injector(){return new Ft(this._hostTNode,this._hostLView)}get parentInjector(){let e=kl(this._hostTNode,this._hostLView);if(Rf(e)){let n=Go(e,this._hostLView),r=Wo(e),o=n[w].data[r+8];return new Ft(o,n)}else return new Ft(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){let n=fd(this._lContainer);return n!==null&&n[e]||null}get length(){return this._lContainer.length-re}createEmbeddedView(e,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=bn(this._lContainer,e.ssrId),a=e.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,zt(this._hostTNode,s)),a}createComponent(e,n,r,o,i){let s=e&&!qy(e),a;if(s)a=n;else{let h=n||{};a=h.index,r=h.injector,o=h.projectableNodes,i=h.environmentInjector||h.ngModuleRef}let l=s?e:new Wt(Je(e)),c=r||this.parentInjector;if(!i&&l.ngModule==null){let g=(s?c:this.parentInjector).get(Xe,null);g&&(i=g)}let u=Je(l.componentType??{}),d=bn(this._lContainer,u?.id??null),p=d?.firstChild??null,f=l.create(c,o,p,i);return this.insertImpl(f.hostView,a,zt(this._hostTNode,d)),f}insert(e,n){return this.insertImpl(e,n,!0)}insertImpl(e,n,r){let o=e._lView;if(Zy(o)){let a=this.indexOf(e);if(a!==-1)this.detach(a);else{let l=o[te],c=new Zp(l,l[ve],l[te]);c.detach(c.indexOf(e))}}let i=this._adjustIndex(n),s=this._lContainer;return Ln(s,o,i,r),e.attachToViewContainerRef(),Xd(Ws(s),i,e),e}move(e,n){return this.insert(e,n)}indexOf(e){let n=fd(this._lContainer);return n!==null?n.indexOf(e):-1}remove(e){let n=this._adjustIndex(e,-1),r=pr(this._lContainer,n);r&&(jo(Ws(this._lContainer),n),Ri(r[w],r))}detach(e){let n=this._adjustIndex(e,-1),r=pr(this._lContainer,n);return r&&jo(Ws(this._lContainer),n)!=null?new hr(r):null}_adjustIndex(e,n=0){return e??this.length+n}};function fd(t){return t[Uo]}function Ws(t){return t[Uo]||(t[Uo]=[])}function Yp(t,e){let n,r=e[t.index];return it(r)?n=r:(n=Up(r,e,null,t),e[t.index]=n,Ul(e,n)),O_(n,e,t,r),new Zp(n,t,e)}function R_(t,e){let n=t[$],r=n.createComment(""),o=We(e,t),i=n.parentNode(o);return ti(n,i,r,n.nextSibling(o),!1),r}var O_=F_,P_=()=>!1;function Jp(t,e,n){return P_(t,e,n)}function F_(t,e,n,r){if(t[Bt])return;let o;n.type&8?o=qe(r):o=R_(e,n),t[Bt]=o}var Fa=class t{queryList;matches=null;constructor(e){this.queryList=e}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},La=class t{queries;constructor(e=[]){this.queries=e}createEmbeddedView(e){let n=e.queries;if(n!==null){let r=e.contentQueries!==null?e.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 t(o)}return null}insertView(e){this.dirtyQueriesWithMatches(e)}detachView(e){this.dirtyQueriesWithMatches(e)}finishViewCreation(e){this.dirtyQueriesWithMatches(e)}dirtyQueriesWithMatches(e){for(let n=0;n<this.queries.length;n++)rc(e,n).matches!==null&&this.queries[n].setDirty()}},si=class{flags;read;predicate;constructor(e,n,r=null){this.flags=n,this.read=r,typeof e=="string"?this.predicate=B_(e):this.predicate=e}},Va=class t{queries;constructor(e=[]){this.queries=e}elementStart(e,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(e,n)}elementEnd(e){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(e)}embeddedTView(e){let n=null;for(let r=0;r<this.length;r++){let o=n!==null?n.length:0,i=this.getByIndex(r).embeddedTView(e,o);i&&(i.indexInDeclarationView=r,n!==null?n.push(i):n=[i])}return n!==null?new t(n):null}template(e,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(e,n)}getByIndex(e){return this.queries[e]}get length(){return this.queries.length}track(e){this.queries.push(e)}},ja=class t{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(e,n=-1){this.metadata=e,this._declarationNodeIndex=n}elementStart(e,n){this.isApplyingToNode(n)&&this.matchTNode(e,n)}elementEnd(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)}template(e,n){this.elementStart(e,n)}embeddedTView(e,n){return this.isApplyingToNode(e)?(this.crossesNgTemplate=!0,this.addMatch(-e.index,n),new t(this.metadata)):null}isApplyingToNode(e){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let n=this._declarationNodeIndex,r=e.parent;for(;r!==null&&r.type&8&&r.index!==n;)r=r.parent;return n===(r!==null?r.index:-1)}return this._appliesToNextNode}matchTNode(e,n){let r=this.metadata.predicate;if(Array.isArray(r))for(let o=0;o<r.length;o++){let i=r[o];this.matchTNodeWithReadOption(e,n,L_(n,i)),this.matchTNodeWithReadOption(e,n,Ro(n,e,i,!1,!1))}else r===ri?n.type&4&&this.matchTNodeWithReadOption(e,n,-1):this.matchTNodeWithReadOption(e,n,Ro(n,e,r,!1,!1))}matchTNodeWithReadOption(e,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===Ti||o===tc||o===ri&&n.type&4)this.addMatch(n.index,-2);else{let i=Ro(n,e,o,!1,!1);i!==null&&this.addMatch(n.index,i)}else this.addMatch(n.index,r)}}addMatch(e,n){this.matches===null?this.matches=[e,n]:this.matches.push(e,n)}};function L_(t,e){let n=t.localNames;if(n!==null){for(let r=0;r<n.length;r+=2)if(n[r]===e)return n[r+1]}return null}function V_(t,e){return t.type&11?kn(t,e):t.type&4?Li(t,e):null}function j_(t,e,n,r){return n===-1?V_(e,t):n===-2?H_(t,e,r):ur(t,t[w],n,e)}function H_(t,e,n){if(n===Ti)return kn(e,t);if(n===ri)return Li(e,t);if(n===tc)return Yp(e,t)}function Xp(t,e,n,r){let o=e[tt].queries[r];if(o.matches===null){let i=t.data,s=n.matches,a=[];for(let l=0;s!==null&&l<s.length;l+=2){let c=s[l];if(c<0)a.push(null);else{let u=i[c];a.push(j_(e,u,s[l+1],n.metadata.read))}}o.matches=a}return o.matches}function Ha(t,e,n,r){let o=t.queries.getByIndex(n),i=o.matches;if(i!==null){let s=Xp(t,e,o,n);for(let a=0;a<i.length;a+=2){let l=i[a];if(l>0)r.push(s[a/2]);else{let c=i[a+1],u=e[-l];for(let d=re;d<u.length;d++){let p=u[d];p[jt]===p[te]&&Ha(p[w],p,c,r)}if(u[_n]!==null){let d=u[_n];for(let p=0;p<d.length;p++){let f=d[p];Ha(f[w],f,c,r)}}}}}return r}function nc(t,e){return t[tt].queries[e].queryList}function eh(t,e,n){let r=new ma((n&4)===4);return Jy(t,e,r,r.destroy),(e[tt]??=new La).queries.push(new Fa(r))-1}function th(t,e,n){let r=j();return r.firstCreatePass&&(rh(r,new si(t,e,n),-1),(e&2)===2&&(r.staticViewQueries=!0)),eh(r,I(),e)}function nh(t,e,n,r){let o=j();if(o.firstCreatePass){let i=ie();rh(o,new si(e,n,r),i.index),$_(o,t),(n&2)===2&&(o.staticContentQueries=!0)}return eh(o,I(),n)}function B_(t){return t.split(",").map(e=>e.trim())}function rh(t,e,n){t.queries===null&&(t.queries=new Va),t.queries.track(new ja(e,n))}function $_(t,e){let n=t.contentQueries||(t.contentQueries=[]),r=n.length?n[n.length-1]:-1;e!==r&&n.push(t.queries.length-1,e)}function rc(t,e){return t.queries.getByIndex(e)}function oh(t,e){let n=t[w],r=rc(n,e);return r.crossesNgTemplate?Ha(n,t,e,[]):Xp(n,t,r,e)}function ih(t,e,n){let r,o=Gr(()=>{r._dirtyCounter();let i=U_(r,t);if(e&&i===void 0)throw new m(-951,!1);return i});return r=o[ae],r._dirtyCounter=Uv(0),r._flatValue=void 0,o}function sh(t){return ih(!0,!1,t)}function ah(t){return ih(!0,!0,t)}function lh(t,e){let n=t[ae];n._lView=I(),n._queryIndex=e,n._queryList=nc(n._lView,e),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function U_(t,e){let n=t._lView,r=t._queryIndex;if(n===void 0||r===void 0||n[D]&4)return e?void 0:ce;let o=nc(n,r),i=oh(n,r);return o.reset(i,Kf),e?o.first:o._changesDetected||t._flatValue===void 0?t._flatValue=o.toArray():t._flatValue}function pd(t,e){return sh(e)}function q_(t,e){return ah(e)}var jR=(pd.required=q_,pd);function hd(t,e){return sh(e)}function z_(t,e){return ah(e)}var HR=(hd.required=z_,hd);function ch(t,e){let n=Object.create(jd),r=new Xo;n.value=t;function o(){return tn(n),gd(n.value),n.value}return o[ae]=n,o.asReadonly=Zf.bind(o),o.set=i=>{n.equal(n.value,i)||(nn(n,i),r.emit(i))},o.update=i=>{gd(n.value),o.set(i(n.value))},o.subscribe=r.subscribe.bind(r),o.destroyRef=r.destroyRef,o}function gd(t){if(t===mi)throw new m(952,!1)}function md(t,e){return ch(t,e)}function W_(t){return ch(mi,t)}var BR=(md.required=W_,md);function G_(t){let e=[],n=new Map;function r(o){let i=n.get(o);if(!i){let s=t(o);n.set(o,i=s.then(Y_))}return i}return ai.forEach((o,i)=>{let s=[];o.templateUrl&&s.push(r(o.templateUrl).then(c=>{o.template=c}));let a=typeof o.styles=="string"?[o.styles]:o.styles||[];if(o.styles=a,o.styleUrl&&o.styleUrls?.length)throw new Error("@Component cannot define both `styleUrl` and `styleUrls`. Use `styleUrl` if the component has one stylesheet, or `styleUrls` if it has multiple");if(o.styleUrls?.length){let c=o.styles.length,u=o.styleUrls;o.styleUrls.forEach((d,p)=>{a.push(""),s.push(r(d).then(f=>{a[c+p]=f,u.splice(u.indexOf(d),1),u.length==0&&(o.styleUrls=void 0)}))})}else o.styleUrl&&s.push(r(o.styleUrl).then(c=>{a.push(c),o.styleUrl=void 0}));let l=Promise.all(s).then(()=>J_(i));e.push(l)}),K_(),Promise.all(e).then(()=>{})}var ai=new Map,Q_=new Set;function K_(){let t=ai;return ai=new Map,t}function Z_(){return ai.size===0}function Y_(t){return typeof t=="string"?t:t.text()}function J_(t){Q_.delete(t)}var gr=class{},X_=class{};function qR(t,e){return new mr(t,e??null,[])}var mr=class extends gr{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new ii(this);constructor(e,n,r,o=!0){super(),this.ngModuleType=e,this._parent=n;let i=nf(e);this._bootstrapComponents=Ip(i.bootstrap),this._r3Injector=$f(e,n,[{provide:gr,useValue:this},{provide:Vi,useValue:this.componentFactoryResolver},...r],ye(e),new Set(["environment"])),o&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}},li=class extends X_{moduleType;constructor(e){super(),this.moduleType=e}create(e){return new mr(this.moduleType,e,[])}};function ew(t,e,n){return new mr(t,e,n,!1)}var Ba=class extends gr{injector;componentFactoryResolver=new ii(this);instance=null;constructor(e){super();let n=new ar([...e.providers,{provide:gr,useValue:this},{provide:Vi,useValue:this.componentFactoryResolver}],e.parent||Ei(),e.debugName,new Set(["environment"]));this.injector=n,e.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}};function uh(t,e,n=null){return new Ba({providers:t,parent:e,debugName:n,runEnvironmentInitializers:!0}).injector}var tw=(()=>{class t{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=hl(!1,n.type),o=r.length>0?uh([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=U({token:t,providedIn:"environment",factory:()=>new t(we(Xe))})}return t})();function zR(t){return Ir(()=>{let e=dh(t),n=pe(G({},e),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===Xf.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:e.standalone?o=>o.get(tw).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||fr.Emulated,styles:t.styles||ce,_:null,schemas:t.schemas||null,tView:null,id:""});e.standalone&&On("NgStandalone"),fh(n);let r=t.dependencies;return n.directiveDefs=yd(r,!1),n.pipeDefs=yd(r,!0),n.id=aw(n),n})}function nw(t){return Je(t)||pl(t)}function rw(t){return t!==null}function ow(t){return Ir(()=>({type:t.type,bootstrap:t.bootstrap||ce,declarations:t.declarations||ce,imports:t.imports||ce,exports:t.exports||ce,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function iw(t,e){if(t==null)return $e;let n={};for(let r in t)if(t.hasOwnProperty(r)){let o=t[r],i,s,a,l;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i,l=o[3]||null):(i=o,s=o,a=Ai.None,l=null),n[i]=[r,a,l],e[i]=s}return n}function sw(t){if(t==null)return $e;let e={};for(let n in t)t.hasOwnProperty(n)&&(e[t[n]]=n);return e}function WR(t){return Ir(()=>{let e=dh(t);return fh(e),e})}function GR(t){return{type:t.type,name:t.name,factory:null,pure:t.pure!==!1,standalone:t.standalone??!0,onDestroy:t.type.prototype.ngOnDestroy||null}}function dh(t){let e={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputConfig:t.inputs||$e,exportAs:t.exportAs||null,standalone:t.standalone??!0,signals:t.signals===!0,selectors:t.selectors||ce,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:iw(t.inputs,e),outputs:sw(t.outputs),debugInfo:null}}function fh(t){t.features?.forEach(e=>e(t))}function yd(t,e){if(!t)return null;let n=e?rf:nw;return()=>(typeof t=="function"?t():t).map(r=>n(r)).filter(rw)}function aw(t){let e=0,n=typeof t.consts=="function"?"":t.consts,r=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,n,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery];for(let i of r.join("|"))e=Math.imul(31,e)+i.charCodeAt(0)<<0;return e+=2147483648,"c"+e}function lw(t){return Object.getPrototypeOf(t.prototype).constructor}function cw(t){let e=lw(t.type),n=!0,r=[t];for(;e;){let o;if(Ue(t))o=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new m(903,!1);o=e.\u0275dir}if(o){if(n){r.push(o);let s=t;s.inputs=Gs(t.inputs),s.declaredInputs=Gs(t.declaredInputs),s.outputs=Gs(t.outputs);let a=o.hostBindings;a&&hw(t,a);let l=o.viewQuery,c=o.contentQueries;if(l&&fw(t,l),c&&pw(t,c),uw(t,o),cy(t.outputs,o.outputs),Ue(o)&&o.data.animation){let u=t.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(t),a===cw&&(n=!1)}}e=Object.getPrototypeOf(e)}dw(r)}function uw(t,e){for(let n in e.inputs){if(!e.inputs.hasOwnProperty(n)||t.inputs.hasOwnProperty(n))continue;let r=e.inputs[n];r!==void 0&&(t.inputs[n]=r,t.declaredInputs[n]=e.declaredInputs[n])}}function dw(t){let e=0,n=null;for(let r=t.length-1;r>=0;r--){let o=t[r];o.hostVars=e+=o.hostVars,o.hostAttrs=wn(o.hostAttrs,n=wn(n,o.hostAttrs))}}function Gs(t){return t===$e?{}:t===ce?[]:t}function fw(t,e){let n=t.viewQuery;n?t.viewQuery=(r,o)=>{e(r,o),n(r,o)}:t.viewQuery=e}function pw(t,e){let n=t.contentQueries;n?t.contentQueries=(r,o,i)=>{e(r,o,i),n(r,o,i)}:t.contentQueries=e}function hw(t,e){let n=t.hostBindings;n?t.hostBindings=(r,o)=>{e(r,o),n(r,o)}:t.hostBindings=e}function QR(t){let e=n=>{let r=Array.isArray(t);n.hostDirectives===null?(n.findHostDirectiveDefs=ph,n.hostDirectives=r?t.map($a):[t]):r?n.hostDirectives.unshift(...t.map($a)):n.hostDirectives.unshift(t)};return e.ngInherit=!0,e}function ph(t,e,n){if(t.hostDirectives!==null)for(let r of t.hostDirectives)if(typeof r=="function"){let o=r();for(let i of o)vd($a(i),e,n)}else vd(r,e,n)}function vd(t,e,n){let r=pl(t.directive);gw(r.declaredInputs,t.inputs),ph(r,e,n),n.set(r,t),e.push(r)}function $a(t){return typeof t=="function"?{directive:ee(t),inputs:$e,outputs:$e}:{directive:ee(t.directive),inputs:Ed(t.inputs),outputs:Ed(t.outputs)}}function Ed(t){if(t===void 0||t.length===0)return $e;let e={};for(let n=0;n<t.length;n+=2)e[t[n]]=t[n+1];return e}function gw(t,e){for(let n in e)if(e.hasOwnProperty(n)){let r=e[n],o=t[n];t[r]=o}}function hh(t){return oc(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function mw(t,e){if(Array.isArray(t))for(let n=0;n<t.length;n++)e(t[n]);else{let n=t[Symbol.iterator](),r;for(;!(r=n.next()).done;)e(r.value)}}function oc(t){return t!==null&&(typeof t=="function"||typeof t=="object")}function Zt(t,e,n){return t[e]=n}function gh(t,e){return t[e]}function oe(t,e,n){let r=t[e];return Object.is(r,n)?!1:(t[e]=n,!0)}function yr(t,e,n,r){let o=oe(t,e,n);return oe(t,e+1,r)||o}function yw(t,e,n,r,o){let i=yr(t,e,n,r);return oe(t,e+2,o)||i}function mh(t,e,n,r,o,i){let s=yr(t,e,n,r);return yr(t,e+2,o,i)||s}function vw(t,e,n,r,o,i,s,a,l){let c=e.consts,u=Vn(e,t,4,s||null,a||null);Dl()&&ec(e,n,u,ht(c,l),zl),u.mergedAttrs=wn(u.mergedAttrs,u.attrs),Al(e,u);let d=u.tView=Bl(2,u,r,o,i,e.directiveRegistry,e.pipeRegistry,null,e.schemas,c,null);return e.queries!==null&&(e.queries.template(e,u),d.queries=e.queries.embeddedTView(u)),u}function vr(t,e,n,r,o,i,s,a,l,c){let u=n+B,d=e.firstCreatePass?vw(u,e,t,r,o,i,s,a,l):e.data[u];yt(d,!1);let p=Iw(e,t,d,n);bi()&&Oi(e,t,p,d),Rn(p,t);let f=Up(p,t,p,d);return t[u]=f,Ul(t,f),Jp(f,d,t),_i(d)&&ki(e,t,d),l!=null&&ql(t,d,c),d}function Ew(t,e,n,r,o,i,s,a){let l=I(),c=j(),u=ht(c.consts,i);return vr(l,c,t,e,n,r,o,u,s,a),Ew}var Iw=_w;function _w(t,e,n,r){return Di(!0),e[$].createComment("")}var ww=(()=>{class t{cachedInjectors=new Map;getOrCreateInjector(n,r,o,i){if(!this.cachedInjectors.has(n)){let s=o.length>0?uh(o,r,i):null;this.cachedInjectors.set(n,s)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=U({token:t,providedIn:"environment",factory:()=>new t})}return t})();var bw=new F("");function Qs(t,e,n){return t.get(ww).getOrCreateInjector(e,t,n,"")}function Dw(t,e,n){if(t instanceof vn){let o=t.injector,i=t.parentInjector,s=Qs(i,e,n);return new vn(o,s)}let r=t.get(Xe);if(r!==t){let o=Qs(r,e,n);return new vn(t,o)}return Qs(t,e,n)}function Ot(t,e,n,r=!1){let o=n[te],i=o[w];if(Qt(o))return;let s=Mr(o,e),a=s[Si],l=s[fE];if(!(l!==null&&t<l)&&Id(a,t)&&Id(s[lE]??-1,t)){let c=Sr(i,e),d=!r&&!0&&(vE(c)!==null||Ju(c,Q.Loading)!==null||Ju(c,Q.Placeholder))?Cw:Mw;try{d(t,s,n,e,o)}catch(p){Wl(o,p)}}}function Tw(t,e){let n=t[cr]?.findIndex(o=>o.data[ip]===e[Si])??-1;return{dehydratedView:n>-1?t[cr][n]:null,dehydratedViewIx:n}}function Mw(t,e,n,r,o){V(20);let i=yE(t,o,r);if(i!==null){e[Si]=t;let s=o[w],a=i+B,l=br(s,a),c=0;Xl(n,c);let u;if(t===Q.Complete){let h=Sr(s,r),g=h.providers;g&&g.length>0&&(u=Dw(o[ke],h,g))}let{dehydratedView:d,dehydratedViewIx:p}=Tw(n,e),f=Fn(o,l,null,{injector:u,dehydratedView:d});if(Ln(n,f,c,zt(l,d)),Fi(f,2),p>-1&&n[cr]?.splice(p,1),(t===Q.Complete||t===Q.Error)&&Array.isArray(e[Us])){for(let h of e[Us])h();e[Us]=null}}V(21)}function Id(t,e){return t<e}function Sw(t,e){let n=t[e.index];Ot(Q.Placeholder,e,n)}function _d(t,e,n){t.loadingPromise.then(()=>{t.loadingState===me.COMPLETE?Ot(Q.Complete,e,n):t.loadingState===me.FAILED&&Ot(Q.Error,e,n)})}var Cw=null;var KR=(()=>{class t{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=U({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();var Nw=new F(""),xw=new F(""),ZR=(()=>{class t{_ngZone;registry;_isZoneStable=!0;_callbacks=[];_taskTrackingZone=null;_destroyRef;constructor(n,r,o){this._ngZone=n,this.registry=r,ml()&&(this._destroyRef=A(An,{optional:!0})??void 0),ic||(kw(o),o.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this._taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){let n=this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),r=this._ngZone.runOutsideAngular(()=>this._ngZone.onStable.subscribe({next:()=>{ue.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}}));this._destroyRef?.onDestroy(()=>{n.unsubscribe(),r.unsubscribe()})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>r.updateCb&&r.updateCb(n)?(clearTimeout(r.timeoutId),!1):!0)}}getPendingTasks(){return this._taskTrackingZone?this._taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==i),n()},r)),this._callbacks.push({doneCb:n,timeoutId:i,updateCb:o})}whenStable(n,r,o){if(o&&!this._taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,o),this._runCallbacksIfReady()}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,o){return[]}static \u0275fac=function(r){return new(r||t)(we(ue),we(Aw),we(xw))};static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})(),Aw=(()=>{class t{_applications=new Map;registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return ic?.findTestabilityInTree(this,n,r)??null}static \u0275fac=function(r){return new(r||t)};static \u0275prov=U({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();function kw(t){ic=t}var ic,yh=(()=>{class t{static \u0275prov=U({token:t,providedIn:"root",factory:()=>new Ua})}return t})(),Ua=class{queuedEffectCount=0;queues=new Map;schedule(e){this.enqueue(e)}remove(e){let n=e.zone,r=this.queues.get(n);r.has(e)&&(r.delete(e),this.queuedEffectCount--)}enqueue(e){let n=e.zone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(e)||(this.queuedEffectCount++,r.add(e))}flush(){for(;this.queuedEffectCount>0;)for(let[e,n]of this.queues)e===null?this.flushQueue(n):e.run(()=>this.flushQueue(n))}flushQueue(e){for(let n of e)e.delete(n),this.queuedEffectCount--,n.run()}};function vh(t){return!!t&&typeof t.then=="function"}function Rw(t){return!!t&&typeof t.subscribe=="function"}var Eh=new F("");function YR(t){return ky([{provide:Eh,multi:!0,useValue:t}])}var Ih=(()=>{class t{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=A(Eh,{optional:!0})??[];injector=A(nt);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=cf(this.injector,o);if(vh(i))n.push(i);else if(Rw(i)){let s=new Promise((a,l)=>{i.subscribe({complete:a,error:l})});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||t)};static \u0275prov=U({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Ow=new F("");function Pw(){vs(()=>{throw new m(600,!1)})}function Fw(t){return t.isBoundToModule}var Lw=10;function _h(t,e){return Array.isArray(e)?e.reduce(_h,t):G(G({},t),e)}var Dn=(()=>{class t{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=A(jv);afterRenderManager=A(ap);zonelessEnabled=A(qf);rootEffectScheduler=A(yh);dirtyFlags=0;tracingSnapshot=null;externalTestViews=new Set;afterTick=new Me;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=A(Tr).hasPendingTasks.pipe(ut(n=>!n));constructor(){A(Mi,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=A(Xe);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=nt.NULL){V(10);let i=n instanceof Wp;if(!this._injector.get(Ih).done){let f="";throw new m(405,f)}let a;i?a=n:a=this._injector.get(Vi).resolveComponentFactory(n),this.componentTypes.push(a.componentType);let l=Fw(a)?void 0:this._injector.get(gr),c=r||a.selector,u=a.create(o,[],c,l),d=u.location.nativeElement,p=u.injector.get(Nw,null);return p?.registerApplication(d),u.onDestroy(()=>{this.detachView(u.hostView),Po(this.components,u),p?.unregisterApplication(d)}),this._loadComponent(u),V(11,u),u}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){V(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(Pl.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new m(101,!1);let n=S(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,S(n),this.afterTick.next(),V(13)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(oi,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<Lw;)V(14),this.synchronizeOnce(),V(15)}synchronizeOnce(){if(this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush()),this.dirtyFlags&7){let n=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:r,notifyErrorHandler:o}of this.allViews)Vw(r,o,n,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}else this._rendererFactory?.begin?.(),this._rendererFactory?.end?.();this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>Dr(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;Po(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(Ow,[]).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),()=>Po(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||t)};static \u0275prov=U({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Po(t,e){let n=t.indexOf(e);n>-1&&t.splice(n,1)}function Vw(t,e,n,r){if(!n&&!Dr(t))return;jp(t,e,n&&!r?0:1)}function jw(t,e,n){let r=e[ke],o=e[w];if(t.loadingState!==me.NOT_STARTED)return t.loadingPromise??Promise.resolve();let i=Mr(e,n),s=EE(o,t);t.loadingState=me.IN_PROGRESS,Oo(1,i);let a=t.dependencyResolverFn,l=r.get(Av).add();return a?(t.loadingPromise=Promise.allSettled(a()).then(c=>{let u=!1,d=[],p=[];for(let f of c)if(f.status==="fulfilled"){let h=f.value,g=Je(h)||pl(h);if(g)d.push(g);else{let E=rf(h);E&&p.push(E)}}else{u=!0;break}if(u){if(t.loadingState=me.FAILED,t.errorTmplIndex===null){let f="",h=new m(-750,!1);Wl(e,h)}}else{t.loadingState=me.COMPLETE;let f=s.tView;if(d.length>0){f.directiveRegistry=Xu(f.directiveRegistry,d);let h=d.map(E=>E.type),g=hl(!1,...h);t.providers=g}p.length>0&&(f.pipeRegistry=Xu(f.pipeRegistry,p))}}),t.loadingPromise.finally(()=>{t.loadingPromise=null,l()})):(t.loadingPromise=Promise.resolve().then(()=>{t.loadingPromise=null,t.loadingState=me.COMPLETE,l()}),t.loadingPromise)}function Hw(t,e){return e[ke].get(bw,null,{optional:!0})?.behavior!==lp.Manual}function Bw(t,e,n){let r=e[w],o=e[n.index];if(!Hw(t,e))return;let i=Mr(e,n),s=Sr(r,n);switch(cp(i),s.loadingState){case me.NOT_STARTED:Ot(Q.Loading,n,o),jw(s,e,n),s.loadingState===me.IN_PROGRESS&&_d(s,n,o);break;case me.IN_PROGRESS:Ot(Q.Loading,n,o),_d(s,n,o);break;case me.COMPLETE:Ot(Q.Complete,n,o);break;case me.FAILED:Ot(Q.Error,n,o);break;default:}}function $w(t,e,n){return t===0?wd(e,n):t===2?!wd(e,n):!0}function wd(t,e){let n=t[ke],r=Sr(t[w],e),o=DE(n),i=r.flags!==null&&(r.flags&1)===1,a=Mr(t,e)[dE]!==null;return!(i&&a&&o)}function JR(t,e,n,r,o,i,s,a,l,c){let u=I(),d=j(),p=t+B,f=vr(u,d,t,null,0,0),h=u[ke];if(d.firstCreatePass){On("NgDefer");let De={primaryTmplIndex:e,loadingTmplIndex:r??null,placeholderTmplIndex:o??null,errorTmplIndex:i??null,placeholderBlockConfig:null,loadingBlockConfig:null,dependencyResolverFn:n??null,loadingState:me.NOT_STARTED,loadingPromise:null,providers:null,hydrateTriggers:null,debug:null,flags:c??0};l?.(d,De,a,s),mE(d,p,De)}let g=u[p];Jp(g,f,u);let E=null,v=null;if(g[cr]?.length>0){let De=g[cr][0].data;v=De[Jv]??null,E=De[ip]}let R=[null,ei.Initial,null,null,null,null,v,E,null,null];gE(u,p,R);let K=null;v!==null&&(K=h.get(wE),K.add(v,{lView:u,tNode:f,lContainer:g}));let W=()=>{cp(R),v!==null&&K?.cleanup([v])};hE(0,R,()=>If(u,W)),_l(u,W)}function XR(t){let e=I(),n=Kt();if(!$w(0,e,n))return;let r=vt();if(oe(e,r,t)){let o=S(null);try{let i=!!t,a=Mr(e,n)[Si];i===!1&&a===ei.Initial?Sw(e,n):i===!0&&(a===ei.Initial||a===Q.Placeholder)&&Bw(0,e,n)}finally{S(o)}}}function Uw(t,e,n,r){let o=I(),i=vt();if(oe(o,i,e)){let s=j(),a=Kt();MI(a,o,t,e,n,r)}return Uw}function sc(t,e,n,r){return oe(t,vt(),n)?e+Lt(n)+r:de}function wh(t,e,n,r,o,i){let s=iv(),a=yr(t,s,n,o);return Sl(2),a?e+Lt(n)+r+Lt(o)+i:de}function Co(t,e){return t<<17|e<<2}function Gt(t){return t>>17&32767}function qw(t){return(t&2)==2}function zw(t,e){return t&131071|e<<17}function qa(t){return t|2}function Tn(t){return(t&131068)>>2}function Ks(t,e){return t&-131069|e<<2}function Ww(t){return(t&1)===1}function za(t){return t|1}function Gw(t,e,n,r,o,i){let s=i?e.classBindings:e.styleBindings,a=Gt(s),l=Tn(s);t[r]=n;let c=!1,u;if(Array.isArray(n)){let d=n;u=d[1],(u===null||wr(d,u)>0)&&(c=!0)}else u=n;if(o)if(l!==0){let p=Gt(t[a+1]);t[r+1]=Co(p,a),p!==0&&(t[p+1]=Ks(t[p+1],r)),t[a+1]=zw(t[a+1],r)}else t[r+1]=Co(a,0),a!==0&&(t[a+1]=Ks(t[a+1],r)),a=r;else t[r+1]=Co(l,0),a===0?a=r:t[l+1]=Ks(t[l+1],r),l=r;c&&(t[r+1]=qa(t[r+1])),bd(t,u,r,!0),bd(t,u,r,!1),Qw(e,u,t,r,i),s=Co(a,l),i?e.classBindings=s:e.styleBindings=s}function Qw(t,e,n,r,o){let i=o?t.residualClasses:t.residualStyles;i!=null&&typeof e=="string"&&wr(i,e)>=0&&(n[r+1]=za(n[r+1]))}function bd(t,e,n,r){let o=t[n+1],i=e===null,s=r?Gt(o):Tn(o),a=!1;for(;s!==0&&(a===!1||i);){let l=t[s],c=t[s+1];Kw(l,e)&&(a=!0,t[s+1]=r?za(c):qa(c)),s=r?Gt(c):Tn(c)}a&&(t[n+1]=r?qa(o):za(o))}function Kw(t,e){return t===null||e==null||(Array.isArray(t)?t[1]:t)===e?!0:Array.isArray(t)&&typeof e=="string"?wr(t,e)>=0:!1}var Y={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function bh(t){return t.substring(Y.key,Y.keyEnd)}function Zw(t){return t.substring(Y.value,Y.valueEnd)}function Yw(t){return Mh(t),Dh(t,Mn(t,0,Y.textEnd))}function Dh(t,e){let n=Y.textEnd;return n===e?-1:(e=Y.keyEnd=Xw(t,Y.key=e,n),Mn(t,e,n))}function Jw(t){return Mh(t),Th(t,Mn(t,0,Y.textEnd))}function Th(t,e){let n=Y.textEnd,r=Y.key=Mn(t,e,n);return n===r?-1:(r=Y.keyEnd=eb(t,r,n),r=Dd(t,r,n,58),r=Y.value=Mn(t,r,n),r=Y.valueEnd=tb(t,r,n),Dd(t,r,n,59))}function Mh(t){Y.key=0,Y.keyEnd=0,Y.value=0,Y.valueEnd=0,Y.textEnd=t.length}function Mn(t,e,n){for(;e<n&&t.charCodeAt(e)<=32;)e++;return e}function Xw(t,e,n){for(;e<n&&t.charCodeAt(e)>32;)e++;return e}function eb(t,e,n){let r;for(;e<n&&((r=t.charCodeAt(e))===45||r===95||(r&-33)>=65&&(r&-33)<=90||r>=48&&r<=57);)e++;return e}function Dd(t,e,n,r){return e=Mn(t,e,n),e<n&&e++,e}function tb(t,e,n){let r=-1,o=-1,i=-1,s=e,a=s;for(;s<n;){let l=t.charCodeAt(s++);if(l===59)return a;l===34||l===39?a=s=Td(t,l,s,n):e===s-4&&i===85&&o===82&&r===76&&l===40?a=s=Td(t,41,s,n):l>32&&(a=s),i=o,o=r,r=l&-33}return a}function Td(t,e,n,r){let o=-1,i=n;for(;i<r;){let s=t.charCodeAt(i++);if(s==e&&o!==92)return i;s==92&&o===92?o=0:o=s}throw new Error}function nb(t,e,n){let r=I(),o=vt();if(oe(r,o,e)){let i=j(),s=Kt();Nr(i,s,r,t,e,r[$],n,!1)}return nb}function Wa(t,e,n,r,o){Gl(e,t,n,o?"class":"style",r)}function rb(t,e,n){return Ch(t,e,n,!1),rb}function ob(t,e){return Ch(t,e,null,!0),ob}function eO(t){ac(Ah,ib,t,!1)}function ib(t,e){for(let n=Jw(e);n>=0;n=Th(e,n))Ah(t,bh(e),Zw(e))}function tO(t){ac(db,Sh,t,!0)}function Sh(t,e){for(let n=Yw(e);n>=0;n=Dh(e,n))_r(t,bh(e),!0)}function Ch(t,e,n,r){let o=I(),i=j(),s=Sl(2);if(i.firstUpdatePass&&xh(i,t,s,r),e!==de&&oe(o,s,e)){let a=i.data[Ge()];kh(i,a,o,o[$],t,o[s+1]=pb(e,n),r,s)}}function ac(t,e,n,r){let o=j(),i=Sl(2);o.firstUpdatePass&&xh(o,null,i,r);let s=I();if(n!==de&&oe(s,i,n)){let a=o.data[Ge()];if(Rh(a,r)&&!Nh(o,i)){let l=r?a.classesWithoutHost:a.stylesWithoutHost;l!==null&&(n=ea(l,n||"")),Wa(o,a,s,n,r)}else fb(o,a,s,s[$],s[i+1],s[i+1]=ub(t,e,n),r,i)}}function Nh(t,e){return e>=t.expandoStartIndex}function xh(t,e,n,r){let o=t.data;if(o[n+1]===null){let i=o[Ge()],s=Nh(t,n);Rh(i,r)&&e===null&&!s&&(e=!1),e=sb(o,i,e,r),Gw(o,i,e,n,s,r)}}function sb(t,e,n,r){let o=uv(t),i=r?e.residualClasses:e.residualStyles;if(o===null)(r?e.classBindings:e.styleBindings)===0&&(n=Zs(null,t,e,n,r),n=Er(n,e.attrs,r),i=null);else{let s=e.directiveStylingLast;if(s===-1||t[s]!==o)if(n=Zs(o,t,e,n,r),i===null){let l=ab(t,e,r);l!==void 0&&Array.isArray(l)&&(l=Zs(null,t,e,l[1],r),l=Er(l,e.attrs,r),lb(t,e,r,l))}else i=cb(t,e,r)}return i!==void 0&&(r?e.residualClasses=i:e.residualStyles=i),n}function ab(t,e,n){let r=n?e.classBindings:e.styleBindings;if(Tn(r)!==0)return t[Gt(r)]}function lb(t,e,n,r){let o=n?e.classBindings:e.styleBindings;t[Gt(o)]=r}function cb(t,e,n){let r,o=e.directiveEnd;for(let i=1+e.directiveStylingLast;i<o;i++){let s=t[i].hostAttrs;r=Er(r,s,n)}return Er(r,e.attrs,n)}function Zs(t,e,n,r,o){let i=null,s=n.directiveEnd,a=n.directiveStylingLast;for(a===-1?a=n.directiveStart:a++;a<s&&(i=e[a],r=Er(r,i.hostAttrs,o),i!==t);)a++;return t!==null&&(n.directiveStylingLast=a),r}function Er(t,e,n){let r=n?1:2,o=-1;if(e!==null)for(let i=0;i<e.length;i++){let s=e[i];typeof s=="number"?o=s:o===r&&(Array.isArray(t)||(t=t===void 0?[]:["",t]),_r(t,s,n?!0:e[++i]))}return t===void 0?null:t}function ub(t,e,n){if(n==null||n==="")return ce;let r=[],o=Pn(n);if(Array.isArray(o))for(let i=0;i<o.length;i++)t(r,o[i],!0);else if(typeof o=="object")for(let i in o)o.hasOwnProperty(i)&&t(r,i,o[i]);else typeof o=="string"&&e(r,o);return r}function Ah(t,e,n){_r(t,e,Pn(n))}function db(t,e,n){let r=String(e);r!==""&&!r.includes(" ")&&_r(t,r,n)}function fb(t,e,n,r,o,i,s,a){o===de&&(o=ce);let l=0,c=0,u=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;u!==null||d!==null;){let p=l<o.length?o[l+1]:void 0,f=c<i.length?i[c+1]:void 0,h=null,g;u===d?(l+=2,c+=2,p!==f&&(h=d,g=f)):d===null||u!==null&&u<d?(l+=2,h=u):(c+=2,h=d,g=f),h!==null&&kh(t,e,n,r,h,g,s,a),u=l<o.length?o[l]:null,d=c<i.length?i[c]:null}}function kh(t,e,n,r,o,i,s,a){if(!(e.type&3))return;let l=t.data,c=l[a+1],u=Ww(c)?Md(l,e,n,o,Tn(c),s):void 0;if(!ci(u)){ci(i)||qw(c)&&(i=Md(l,null,n,o,a,s));let d=vf(Ge(),n);UI(r,s,d,o,i)}}function Md(t,e,n,r,o,i){let s=e===null,a;for(;o>0;){let l=t[o],c=Array.isArray(l),u=c?l[1]:l,d=u===null,p=n[o+1];p===de&&(p=d?ce:void 0);let f=d?Vs(p,r):u===r?p:void 0;if(c&&!ci(f)&&(f=Vs(l,r)),ci(f)&&(a=f,s))return a;let h=t[o+1];o=s?Gt(h):Tn(h)}if(e!==null){let l=i?e.residualClasses:e.residualStyles;l!=null&&(a=Vs(l,r))}return a}function ci(t){return t!==void 0}function pb(t,e){return t==null||t===""||(typeof e=="string"?t=t+e:typeof t=="object"&&(t=ye(Pn(t)))),t}function Rh(t,e){return(t.flags&(e?8:16))!==0}function nO(t,e,n){let r=I(),o=sc(r,t,e,n);ac(_r,Sh,o,!0)}var Ga=class{destroy(e){}updateValue(e,n){}swap(e,n){let r=Math.min(e,n),o=Math.max(e,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(e,n){this.attach(n,this.detach(e))}};function Ys(t,e,n,r,o){return t===n&&Object.is(e,r)?1:Object.is(o(t,e),o(n,r))?-1:0}function hb(t,e,n){let r,o,i=0,s=t.length-1,a=void 0;if(Array.isArray(e)){let l=e.length-1;for(;i<=s&&i<=l;){let c=t.at(i),u=e[i],d=Ys(i,c,i,u,n);if(d!==0){d<0&&t.updateValue(i,u),i++;continue}let p=t.at(s),f=e[l],h=Ys(s,p,l,f,n);if(h!==0){h<0&&t.updateValue(s,f),s--,l--;continue}let g=n(i,c),E=n(s,p),v=n(i,u);if(Object.is(v,E)){let R=n(l,f);Object.is(R,g)?(t.swap(i,s),t.updateValue(s,f),l--,s--):t.move(s,i),t.updateValue(i,u),i++;continue}if(r??=new ui,o??=Cd(t,i,s,n),Qa(t,r,i,v))t.updateValue(i,u),i++,s++;else if(o.has(v))r.set(g,t.detach(i)),s--;else{let R=t.create(i,e[i]);t.attach(i,R),i++,s++}}for(;i<=l;)Sd(t,r,n,i,e[i]),i++}else if(e!=null){let l=e[Symbol.iterator](),c=l.next();for(;!c.done&&i<=s;){let u=t.at(i),d=c.value,p=Ys(i,u,i,d,n);if(p!==0)p<0&&t.updateValue(i,d),i++,c=l.next();else{r??=new ui,o??=Cd(t,i,s,n);let f=n(i,d);if(Qa(t,r,i,f))t.updateValue(i,d),i++,s++,c=l.next();else if(!o.has(f))t.attach(i,t.create(i,d)),i++,s++,c=l.next();else{let h=n(i,u);r.set(h,t.detach(i)),s--}}}for(;!c.done;)Sd(t,r,n,t.length,c.value),c=l.next()}for(;i<=s;)t.destroy(t.detach(s--));r?.forEach(l=>{t.destroy(l)})}function Qa(t,e,n,r){return e!==void 0&&e.has(r)?(t.attach(n,e.get(r)),e.delete(r),!0):!1}function Sd(t,e,n,r,o){if(Qa(t,e,r,n(r,o)))t.updateValue(r,o);else{let i=t.create(r,o);t.attach(r,i)}}function Cd(t,e,n,r){let o=new Set;for(let i=e;i<=n;i++)o.add(r(i,t.at(i)));return o}var ui=class{kvMap=new Map;_vMap=void 0;has(e){return this.kvMap.has(e)}delete(e){if(!this.has(e))return!1;let n=this.kvMap.get(e);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(e,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(e),!0}get(e){return this.kvMap.get(e)}set(e,n){if(this.kvMap.has(e)){let r=this.kvMap.get(e);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(e,n)}forEach(e){for(let[n,r]of this.kvMap)if(e(r,n),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),e(r,n)}}};function rO(t,e){On("NgControlFlow");let n=I(),r=vt(),o=n[r]!==de?n[r]:-1,i=o!==-1?di(n,B+o):void 0,s=0;if(oe(n,r,t)){let a=S(null);try{if(i!==void 0&&Xl(i,s),t!==-1){let l=B+t,c=di(n,l),u=Ja(n[w],l),d=bn(c,u.tView.ssrId),p=Fn(n,u,e,{dehydratedView:d});Ln(c,p,s,zt(u,d))}}finally{S(a)}}else if(i!==void 0){let a=qp(i,s);a!==void 0&&(a[J]=e)}}var Ka=class{lContainer;$implicit;$index;constructor(e,n,r){this.lContainer=e,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-re}};function oO(t){return t}function iO(t,e){return e}var Za=class{hasEmptyBlock;trackByFn;liveCollection;constructor(e,n,r){this.hasEmptyBlock=e,this.trackByFn=n,this.liveCollection=r}};function sO(t,e,n,r,o,i,s,a,l,c,u,d,p){On("NgControlFlow");let f=I(),h=j(),g=l!==void 0,E=I(),v=a?s.bind(E[be][J]):s,R=new Za(g,v);E[B+t]=R,vr(f,h,t+1,e,n,r,o,ht(h.consts,i)),g&&vr(f,h,t+2,l,c,u,d,ht(h.consts,p))}var Ya=class extends Ga{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(e,n,r){super(),this.lContainer=e,this.hostLView=n,this.templateTNode=r}get length(){return this.lContainer.length-re}at(e){return this.getLView(e)[J].$implicit}attach(e,n){let r=n[In];this.needsIndexUpdate||=e!==this.length,Ln(this.lContainer,n,e,zt(this.templateTNode,r))}detach(e){return this.needsIndexUpdate||=e!==this.length-1,gb(this.lContainer,e)}create(e,n){let r=bn(this.lContainer,this.templateTNode.tView.ssrId),o=Fn(this.hostLView,this.templateTNode,new Ka(this.lContainer,n,e),{dehydratedView:r});return this.operationsCounter?.recordCreate(),o}destroy(e){Ri(e[w],e),this.operationsCounter?.recordDestroy()}updateValue(e,n){this.getLView(e)[J].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let e=0;e<this.length;e++)this.getLView(e)[J].$index=e}getLView(e){return mb(this.lContainer,e)}};function aO(t){let e=S(null),n=Ge();try{let r=I(),o=r[w],i=r[n],s=n+1,a=di(r,s);if(i.liveCollection===void 0){let c=Ja(o,s);i.liveCollection=new Ya(a,r,c)}else i.liveCollection.reset();let l=i.liveCollection;if(hb(l,t,i.trackByFn),l.updateIndexes(),i.hasEmptyBlock){let c=vt(),u=l.length===0;if(oe(r,c,u)){let d=n+2,p=di(r,d);if(u){let f=Ja(o,d),h=bn(p,f.tView.ssrId),g=Fn(r,f,void 0,{dehydratedView:h});Ln(p,g,0,zt(f,h))}else Xl(p,0)}}}finally{S(e)}}function di(t,e){return t[e]}function gb(t,e){return pr(t,e)}function mb(t,e){return qp(t,e)}function Ja(t,e){return br(t,e)}function Oh(t,e,n,r){let o=I(),i=j(),s=B+t,a=o[$],l=i.firstCreatePass?Qp(s,i,o,e,zl,Dl(),n,r):i.data[s],c=vb(i,o,l,a,e,t);o[s]=c;let u=_i(l);return yt(l,!0),Tp(a,c,l),!Zl(l)&&bi()&&Oi(i,o,c,l),(Xy()===0||u)&&Rn(c,o),ev(),u&&(ki(i,o,l),Ll(i,l,o)),r!==null&&ql(o,l),Oh}function Ph(){let t=ie();Tl()?Ml():(t=t.parent,yt(t,!1));let e=t;nv(e)&&rv(),tv();let n=j();return n.firstCreatePass&&Kp(n,e),e.classesWithoutHost!=null&&mv(e)&&Wa(n,e,I(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&yv(e)&&Wa(n,e,I(),e.stylesWithoutHost,!1),Ph}function yb(t,e,n,r){return Oh(t,e,n,r),Ph(),yb}var vb=(t,e,n,r,o,i)=>(Di(!0),bp(r,o,pv()));function Eb(t,e,n,r,o){let i=e.consts,s=ht(i,r),a=Vn(e,t,8,"ng-container",s);s!==null&&Oa(a,s,!0);let l=ht(i,o);return Dl()&&ec(e,n,a,l,zl),a.mergedAttrs=wn(a.mergedAttrs,a.attrs),e.queries!==null&&e.queries.elementStart(e,a),a}function Fh(t,e,n){let r=I(),o=j(),i=t+B,s=o.firstCreatePass?Eb(i,o,r,e,n):o.data[i];yt(s,!0);let a=_b(o,r,s,t);return r[i]=a,bi()&&Oi(o,r,a,s),Rn(a,r),_i(s)&&(ki(o,r,s),Ll(o,s,r)),n!=null&&ql(r,s),Fh}function Lh(){let t=ie(),e=j();return Tl()?Ml():(t=t.parent,yt(t,!1)),e.firstCreatePass&&(Al(e,t),yl(t)&&e.queries.elementEnd(t)),Lh}function Ib(t,e,n){return Fh(t,e,n),Lh(),Ib}var _b=(t,e,n,r)=>(Di(!0),dI(e[$],""));function lO(){return I()}function wb(t,e,n){let r=I(),o=vt();if(oe(r,o,e)){let i=j(),s=Kt();Nr(i,s,r,t,e,r[$],n,!0)}return wb}var Rt=void 0;function bb(t){let e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return e===1&&n===0?1:5}var Db=["en",[["a","p"],["AM","PM"],Rt],[["AM","PM"],Rt,Rt],[["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"]],Rt,[["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"]],Rt,[["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}",Rt,"{1} 'at' {0}",Rt],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",bb],ir={};function cO(t,e,n){typeof e!="string"&&(n=e,e=t[fi.LocaleId]),e=e.toLowerCase().replace(/_/g,"-"),ir[e]=t,n&&(ir[e][fi.ExtraData]=n)}function Tb(t){let e=Mb(t),n=Nd(e);if(n)return n;let r=e.split("-")[0];if(n=Nd(r),n)return n;if(r==="en")return Db;throw new m(701,!1)}function uO(t){return Tb(t)[fi.PluralCase]}function Nd(t){return t in ir||(ir[t]=Ye.ng&&Ye.ng.common&&Ye.ng.common.locales&&Ye.ng.common.locales[t]),ir[t]}var fi=function(t){return t[t.LocaleId=0]="LocaleId",t[t.DayPeriodsFormat=1]="DayPeriodsFormat",t[t.DayPeriodsStandalone=2]="DayPeriodsStandalone",t[t.DaysFormat=3]="DaysFormat",t[t.DaysStandalone=4]="DaysStandalone",t[t.MonthsFormat=5]="MonthsFormat",t[t.MonthsStandalone=6]="MonthsStandalone",t[t.Eras=7]="Eras",t[t.FirstDayOfWeek=8]="FirstDayOfWeek",t[t.WeekendRange=9]="WeekendRange",t[t.DateFormat=10]="DateFormat",t[t.TimeFormat=11]="TimeFormat",t[t.DateTimeFormat=12]="DateTimeFormat",t[t.NumberSymbols=13]="NumberSymbols",t[t.NumberFormats=14]="NumberFormats",t[t.CurrencyCode=15]="CurrencyCode",t[t.CurrencySymbol=16]="CurrencySymbol",t[t.CurrencyName=17]="CurrencyName",t[t.Currencies=18]="Currencies",t[t.Directionality=19]="Directionality",t[t.PluralCase=20]="PluralCase",t[t.ExtraData=21]="ExtraData",t}(fi||{});function Mb(t){return t.toLowerCase().replace(/_/g,"-")}var pi="en-US";var Sb=pi;function Cb(t){typeof t=="string"&&(Sb=t.toLowerCase().replace(/_/g,"-"))}function xd(t,e,n){return function r(o){if(o===Function)return n;let i=Cn(t)?ze(t.index,e):e;Fi(i,5);let s=e[J],a=Ad(e,s,n,o),l=r.__ngNextListenerFn__;for(;l;)a=Ad(e,s,l,o)&&a,l=l.__ngNextListenerFn__;return a}}function Ad(t,e,n,r){let o=S(null);try{return V(6,e,n),n(r)!==!1}catch(i){return Nb(t,i),!1}finally{V(7,e,n),S(o)}}function Nb(t,e){let n=t[ke],r=n?n.get(mt,null):null;r&&r.handleError(e)}function kd(t,e,n,r,o,i){let s=e[n],a=e[w],c=a.data[n].outputs[r],u=s[c],d=a.firstCreatePass?bl(a):null,p=wl(e),f=u.subscribe(i),h=p.length;p.push(i,f),d&&d.push(o,t.index,h,-(h+1))}function xb(t,e,n,r){let o=I(),i=j(),s=ie();return Vh(i,o,o[$],s,t,e,r),xb}function Ab(t,e,n,r){let o=t.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=e[$o],l=o[i+2];return a.length>l?a[l]:null}typeof s=="string"&&(i+=2)}return null}function Vh(t,e,n,r,o,i,s){let a=_i(r),c=t.firstCreatePass?bl(t):null,u=wl(e),d=!0;if(r.type&3||s){let p=We(r,e),f=s?s(p):p,h=u.length,g=s?v=>s(qe(v[r.index])):r.index,E=null;if(!s&&a&&(E=Ab(t,e,o,r.index)),E!==null){let v=E.__ngLastListenerFn__||E;v.__ngNextListenerFn__=i,E.__ngLastListenerFn__=i,d=!1}else{i=xd(r,e,i),_E(e,f,o,i);let v=n.listen(f,o,i);u.push(i,v),c&&c.push(o,g,h,h+1)}}else i=xd(r,e,i);if(d){let p=r.outputs?.[o],f=r.hostDirectiveOutputs?.[o];if(f&&f.length)for(let h=0;h<f.length;h+=2){let g=f[h],E=f[h+1];kd(r,e,g,E,o,i)}if(p&&p.length)for(let h of p)kd(r,e,h,o,o,i)}}function dO(t=1){return fv(t)}function kb(t,e){let n=null,r=nI(t);for(let o=0;o<e.length;o++){let i=e[o];if(i==="*"){n=o;continue}if(r===null?wp(t,i,!0):iI(r,i))return o}return n}function fO(t){let e=I()[be][ve];if(!e.projection){let n=t?t.length:1,r=e.projection=Ny(n,null),o=r.slice(),i=e.child;for(;i!==null;){if(i.type!==128){let s=t?kb(i,t):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function pO(t,e=0,n,r,o,i){let s=I(),a=j(),l=r?t+1:null;l!==null&&vr(s,a,l,r,o,i,null,n);let c=Vn(a,B+t,16,null,n||null);c.projection===null&&(c.projection=e),Ml();let d=!s[In]||_f();s[be][ve].projection[c.projection]===null&&l!==null?Rb(s,a,l):d&&!Zl(c)&&BI(a,s,c)}function Rb(t,e,n){let r=B+n,o=e.data[r],i=t[r],s=bn(i,o.tView.ssrId),a=Fn(t,o,void 0,{dehydratedView:s});Ln(i,a,0,zt(o,s))}function Ob(t,e,n){return jh(t,"",e,"",n),Ob}function jh(t,e,n,r,o){let i=I(),s=sc(i,e,n,r);if(s!==de){let a=j(),l=Kt();Nr(a,l,i,t,s,i[$],o,!1)}return jh}function Pb(t,e,n,r,o,i,s){let a=I(),l=wh(a,e,n,r,o,i);if(l!==de){let c=j(),u=Kt();Nr(c,u,a,t,l,a[$],s,!1)}return Pb}function hO(t,e,n,r){nh(t,e,n,r)}function gO(t,e,n){th(t,e,n)}function mO(t){let e=I(),n=j(),r=Cl();wi(r+1);let o=rc(n,r);if(t.dirty&&Ky(e)===((o.metadata.flags&2)===2)){if(o.matches===null)t.reset([]);else{let i=oh(e,r);t.reset(i,Kf),t.notifyOnChanges()}return!0}return!1}function yO(){return nc(I(),Cl())}function vO(t,e,n,r,o){lh(e,nh(t,n,r,o))}function EO(t,e,n,r){lh(t,th(e,n,r))}function IO(t=1){wi(Cl()+t)}function _O(t){let e=bf();return Nn(e,B+t)}function wO(t,e=""){let n=I(),r=j(),o=t+B,i=r.firstCreatePass?Vn(r,o,1,e,null):r.data[o],s=Fb(r,n,i,e,t);n[o]=s,bi()&&Oi(r,n,s,i),yt(i,!1)}var Fb=(t,e,n,r,o)=>(Di(!0),cI(e[$],r));function Lb(t){return Hh("",t,""),Lb}function Hh(t,e,n){let r=I(),o=sc(r,t,e,n);return o!==de&&Bh(r,Ge(),o),Hh}function Vb(t,e,n,r,o){let i=I(),s=wh(i,t,e,n,r,o);return s!==de&&Bh(i,Ge(),s),Vb}function Bh(t,e,n){let r=vf(e,t);uI(t[$],r,n)}function jb(t,e,n){Yf(e)&&(e=e());let r=I(),o=vt();if(oe(r,o,e)){let i=j(),s=Kt();Nr(i,s,r,t,e,r[$],n,!1)}return jb}function bO(t,e){let n=Yf(t);return n&&t.set(e),n}function Hb(t,e){let n=I(),r=j(),o=ie();return Vh(r,n,n[$],o,t,e),Hb}var $h={};function Bb(t){let e=j(),n=I(),r=t+B,o=Vn(e,r,128,null,null);return yt(o,!1),vl(e,n,r,$h),Bb}function DO(t){On("NgLet");let e=j(),n=I(),r=Ge();return vl(e,n,r,t),t}function TO(t){let e=bf(),n=Nn(e,B+t);if(n===$h)throw new m(314,!1);return n}function $b(t,e,n){let r=j();if(r.firstCreatePass){let o=Ue(t);Xa(n,r.data,r.blueprint,o,!0),Xa(e,r.data,r.blueprint,o,!1)}}function Xa(t,e,n,r,o){if(t=ee(t),Array.isArray(t))for(let i=0;i<t.length;i++)Xa(t[i],e,n,r,o);else{let i=j(),s=I(),a=ie(),l=En(t)?t:ee(t.provide),c=lf(t),u=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(En(t)||!t.multi){let f=new qt(c,o,ji),h=Xs(l,e,o?u:u+p,d);h===-1?(fa(Ko(a,s),i,l),Js(i,t,e.length),e.push(l),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[h]=f,s[h]=f)}else{let f=Xs(l,e,u+p,d),h=Xs(l,e,u,u+p),g=f>=0&&n[f],E=h>=0&&n[h];if(o&&!E||!o&&!g){fa(Ko(a,s),i,l);let v=zb(o?qb:Ub,n.length,o,r,c);!o&&E&&(n[h].providerFactory=v),Js(i,t,e.length,0),e.push(l),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(v),s.push(v)}else{let v=Uh(n[o?h:f],c,!o&&r);Js(i,t,f>-1?f:h,v)}!o&&r&&E&&n[h].componentProviders++}}}function Js(t,e,n,r){let o=En(e),i=Ly(e);if(o||i){let l=(i?ee(e.useClass):e).prototype.ngOnDestroy;if(l){let c=t.destroyHooks||(t.destroyHooks=[]);if(!o&&e.multi){let u=c.indexOf(n);u===-1?c.push(n,[r,l]):c[u+1].push(r,l)}else c.push(n,l)}}}function Uh(t,e,n){return n&&t.componentProviders++,t.multi.push(e)-1}function Xs(t,e,n,r){for(let o=n;o<r;o++)if(e[o]===t)return o;return-1}function Ub(t,e,n,r,o){return el(this.multi,[])}function qb(t,e,n,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,l=ur(r,r[w],this.providerFactory.index,o);s=l.slice(0,a),el(i,s);for(let c=a;c<l.length;c++)s.push(l[c])}else s=[],el(i,s);return s}function el(t,e){for(let n=0;n<t.length;n++){let r=t[n];e.push(r())}return e}function zb(t,e,n,r,o){let i=new qt(t,n,ji);return i.multi=[],i.index=e,i.componentProviders=0,Uh(i,o,r&&!n),i}function MO(t,e=[]){return n=>{n.providersResolver=(r,o)=>$b(r,o?o(t):t,e)}}function SO(t,e,n){let r=Re()+t,o=I();return o[r]===de?Zt(o,r,n?e.call(n):e()):gh(o,r)}function CO(t,e,n,r){return qh(I(),Re(),t,e,n,r)}function NO(t,e,n,r,o){return zh(I(),Re(),t,e,n,r,o)}function xO(t,e,n,r,o,i){return Wh(I(),Re(),t,e,n,r,o,i)}function AO(t,e,n,r,o,i,s){return Gh(I(),Re(),t,e,n,r,o,i,s)}function kO(t,e,n,r,o,i,s,a){let l=Re()+t,c=I(),u=mh(c,l,n,r,o,i);return oe(c,l+4,s)||u?Zt(c,l+5,a?e.call(a,n,r,o,i,s):e(n,r,o,i,s)):gh(c,l+5)}function RO(t,e,n,r){return Wb(I(),Re(),t,e,n,r)}function xr(t,e){let n=t[e];return n===de?void 0:n}function qh(t,e,n,r,o,i){let s=e+n;return oe(t,s,o)?Zt(t,s+1,i?r.call(i,o):r(o)):xr(t,s+1)}function zh(t,e,n,r,o,i,s){let a=e+n;return yr(t,a,o,i)?Zt(t,a+2,s?r.call(s,o,i):r(o,i)):xr(t,a+2)}function Wh(t,e,n,r,o,i,s,a){let l=e+n;return yw(t,l,o,i,s)?Zt(t,l+3,a?r.call(a,o,i,s):r(o,i,s)):xr(t,l+3)}function Gh(t,e,n,r,o,i,s,a,l){let c=e+n;return mh(t,c,o,i,s,a)?Zt(t,c+4,l?r.call(l,o,i,s,a):r(o,i,s,a)):xr(t,c+4)}function Wb(t,e,n,r,o,i){let s=e+n,a=!1;for(let l=0;l<o.length;l++)oe(t,s++,o[l])&&(a=!0);return a?Zt(t,s,r.apply(i,o)):xr(t,s)}function OO(t,e){let n=j(),r,o=t+B;n.firstCreatePass?(r=Gb(e,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];let i=r.factory||(r.factory=Vt(r.type,!0)),s,a=ge(ji);try{let l=Qo(!1),c=i();return Qo(l),vl(n,I(),o,c),c}finally{ge(a)}}function Gb(t,e){if(e)for(let n=e.length-1;n>=0;n--){let r=e[n];if(t===r.name)return r}}function PO(t,e,n){let r=t+B,o=I(),i=Nn(o,r);return Hi(o,r)?qh(o,Re(),e,i.transform,n,i):i.transform(n)}function FO(t,e,n,r){let o=t+B,i=I(),s=Nn(i,o);return Hi(i,o)?zh(i,Re(),e,s.transform,n,r,s):s.transform(n,r)}function LO(t,e,n,r,o){let i=t+B,s=I(),a=Nn(s,i);return Hi(s,i)?Wh(s,Re(),e,a.transform,n,r,o,a):a.transform(n,r,o)}function VO(t,e,n,r,o,i){let s=t+B,a=I(),l=Nn(a,s);return Hi(a,s)?Gh(a,Re(),e,l.transform,n,r,o,i,l):l.transform(n,r,o,i)}function Hi(t,e){return t[w].data[e].pure}function jO(t,e){return Li(t,e)}var No=null;function Qb(t){No!==null&&(t.defaultEncapsulation!==No.defaultEncapsulation||t.preserveWhitespaces!==No.preserveWhitespaces)||(No=t)}var tl=class{full;major;minor;patch;constructor(e){this.full=e;let n=e.split(".");this.major=n[0],this.minor=n[1],this.patch=n.slice(2).join(".")}},HO=new tl("19.2.14"),nl=class{ngModuleFactory;componentFactories;constructor(e,n){this.ngModuleFactory=e,this.componentFactories=n}},BO=(()=>{class t{compileModuleSync(n){return new li(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=nf(n),i=Ip(o.declarations).reduce((s,a)=>{let l=Je(a);return l&&s.push(new Wt(l)),s},[]);return new nl(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static \u0275fac=function(r){return new(r||t)};static \u0275prov=U({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Kb=new F("");function Zb(t,e,n){let r=new li(n);return Promise.resolve(r)}function Rd(t){for(let e=t.length-1;e>=0;e--)if(t[e]!==void 0)return t[e]}var Yb=(()=>{class t{zone=A(ue);changeDetectionScheduler=A(gt);applicationRef=A(Dn);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||t)};static \u0275prov=U({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Jb({ngZoneFactory:t,ignoreChangesOutsideZone:e,scheduleInRootZone:n}){return t??=()=>new ue(pe(G({},Qh()),{scheduleInRootZone:n})),[{provide:ue,useFactory:t},{provide:Ho,multi:!0,useFactory:()=>{let r=A(Yb,{optional:!0});return()=>r.initialize()}},{provide:Ho,multi:!0,useFactory:()=>{let r=A(Xb);return()=>{r.initialize()}}},e===!0?{provide:zf,useValue:!0}:[],{provide:Wf,useValue:n??Uf}]}function Qh(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var Xb=(()=>{class t{subscription=new z;initialized=!1;zone=A(ue);pendingTasks=A(Tr);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(()=>{ue.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{ue.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||t)};static \u0275prov=U({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var eD=(()=>{class t{appRef=A(Dn);taskService=A(Tr);ngZone=A(ue);zonelessEnabled=A(qf);tracing=A(Mi,{optional:!0});disableScheduling=A(zf,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new z;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Yo):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(A(Wf,{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 Jo||!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?zu:Gf;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(Yo+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){throw this.taskService.remove(n),r}finally{this.cleanup()}this.useMicrotaskScheduler=!0,zu(()=>{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||t)};static \u0275prov=U({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function tD(){return typeof $localize<"u"&&$localize.locale||pi}var Kh=new F("",{providedIn:"root",factory:()=>A(Kh,k.Optional|k.SkipSelf)||tD()});var hi=new F(""),nD=new F("");function tr(t){return!t.moduleRef}function rD(t){let e=tr(t)?t.r3Injector:t.moduleRef.injector,n=e.get(ue);return n.run(()=>{tr(t)?t.r3Injector.resolveInjectorInitializers():t.moduleRef.resolveInjectorInitializers();let r=e.get(mt,null),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:i=>{r.handleError(i)}})}),tr(t)){let i=()=>e.destroy(),s=t.platformInjector.get(hi);s.add(i),e.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>t.moduleRef.destroy(),s=t.platformInjector.get(hi);s.add(i),t.moduleRef.onDestroy(()=>{Po(t.allPlatformModules,t.moduleRef),o.unsubscribe(),s.delete(i)})}return iD(r,n,()=>{let i=e.get(Ih);return i.runInitializers(),i.donePromise.then(()=>{let s=e.get(Kh,pi);if(Cb(s||pi),!e.get(nD,!0))return tr(t)?e.get(Dn):(t.allPlatformModules.push(t.moduleRef),t.moduleRef);if(tr(t)){let l=e.get(Dn);return t.rootComponent!==void 0&&l.bootstrap(t.rootComponent),l}else return oD(t.moduleRef,t.allPlatformModules),t.moduleRef})})})}function oD(t,e){let n=t.injector.get(Dn);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(r=>n.bootstrap(r));else if(t.instance.ngDoBootstrap)t.instance.ngDoBootstrap(n);else throw new m(-403,!1);e.push(t)}function iD(t,e,n){try{let r=n();return vh(r)?r.catch(o=>{throw e.runOutsideAngular(()=>t.handleError(o)),o}):r}catch(r){throw e.runOutsideAngular(()=>t.handleError(r)),r}}var Zh=(()=>{class t{_injector;_modules=[];_destroyListeners=[];_destroyed=!1;constructor(n){this._injector=n}bootstrapModuleFactory(n,r){let o=r?.scheduleInRootZone,i=()=>Vv(r?.ngZone,pe(G({},Qh({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing})),{scheduleInRootZone:o})),s=r?.ignoreChangesOutsideZone,a=[Jb({ngZoneFactory:i,ignoreChangesOutsideZone:s}),{provide:gt,useExisting:eD}],l=ew(n.moduleType,this.injector,a);return rD({moduleRef:l,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(n,r=[]){let o=_h({},r);return Zb(this.injector,o,n).then(i=>this.bootstrapModuleFactory(i,o))}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new m(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());let n=this._injector.get(hi,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static \u0275fac=function(r){return new(r||t)(we(nt))};static \u0275prov=U({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})(),sr=null,Yh=new F("");function sD(t){if(sr&&!sr.get(Yh,!1))throw new m(400,!1);Pw(),sr=t;let e=t.get(Zh);return uD(t),e}function aD(t,e,n=[]){let r=`Platform: ${e}`,o=new F(r);return(i=[])=>{let s=Jh();if(!s||s.injector.get(Yh,!1)){let a=[...n,...i,{provide:o,useValue:!0}];t?t(a):sD(lD(a,r))}return cD(o)}}function lD(t=[],e){return nt.create({name:e,providers:[{provide:af,useValue:"platform"},{provide:hi,useValue:new Set([()=>sr=null])},...t]})}function cD(t){let e=Jh();if(!e)throw new m(401,!1);return e}function Jh(){return sr?.get(Zh)??null}function uD(t){let e=t.get(Kv,null);cf(t,()=>{e?.forEach(n=>n())})}var $O=(()=>{class t{static __NG_ELEMENT_ID__=dD}return t})();function dD(t){return fD(ie(),I(),(t&16)===16)}function fD(t,e,n){if(Cn(t)&&!n){let r=ze(t.index,e);return new hr(r,r)}else if(t.type&175){let r=e[be];return new hr(r,e)}return null}var rl=class{constructor(){}supports(e){return hh(e)}create(e){return new ol(e)}},pD=(t,e)=>e,ol=class{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(e){this._trackByFn=e||pD}forEachItem(e){let n;for(n=this._itHead;n!==null;n=n._next)e(n)}forEachOperation(e){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){let s=!r||n&&n.currentIndex<Od(r,o,i)?n:r,a=Od(s,o,i),l=s.currentIndex;if(s===r)o--,r=r._nextRemoved;else if(n=n._next,s.previousIndex==null)o++;else{i||(i=[]);let c=a-o,u=l-o;if(c!=u){for(let p=0;p<c;p++){let f=p<i.length?i[p]:i[p]=0,h=f+p;u<=h&&h<c&&(i[p]=f+1)}let d=s.previousIndex;i[d]=u-c}}a!==l&&e(s,a,l)}}forEachPreviousItem(e){let n;for(n=this._previousItHead;n!==null;n=n._nextPrevious)e(n)}forEachAddedItem(e){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)e(n)}forEachMovedItem(e){let n;for(n=this._movesHead;n!==null;n=n._nextMoved)e(n)}forEachRemovedItem(e){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)e(n)}forEachIdentityChange(e){let n;for(n=this._identityChangesHead;n!==null;n=n._nextIdentityChange)e(n)}diff(e){if(e==null&&(e=[]),!hh(e))throw new m(900,!1);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let n=this._itHead,r=!1,o,i,s;if(Array.isArray(e)){this.length=e.length;for(let a=0;a<this.length;a++)i=e[a],s=this._trackByFn(a,i),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,i,s,a),r=!0):(r&&(n=this._verifyReinsertion(n,i,s,a)),Object.is(n.item,i)||this._addIdentityChange(n,i)),n=n._next}else o=0,mw(e,a=>{s=this._trackByFn(o,a),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,a,s,o),r=!0):(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=e,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;e!==null;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;e!==null;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,n,r,o){let i;return e===null?i=this._itTail:(i=e._prev,this._remove(e)),e=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),e!==null?(Object.is(e.item,n)||this._addIdentityChange(e,n),this._reinsertAfter(e,i,o)):(e=this._linkedRecords===null?null:this._linkedRecords.get(r,o),e!==null?(Object.is(e.item,n)||this._addIdentityChange(e,n),this._moveAfter(e,i,o)):e=this._addAfter(new il(n,r),i,o)),e}_verifyReinsertion(e,n,r,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return i!==null?e=this._reinsertAfter(i,e._prev,o):e.currentIndex!=o&&(e.currentIndex=o,this._addToMoves(e,o)),e}_truncate(e){for(;e!==null;){let n=e._next;this._addToRemovals(this._unlink(e)),e=n}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,n,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(e);let o=e._prevRemoved,i=e._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(e,n,r),this._addToMoves(e,r),e}_moveAfter(e,n,r){return this._unlink(e),this._insertAfter(e,n,r),this._addToMoves(e,r),e}_addAfter(e,n,r){return this._insertAfter(e,n,r),this._additionsTail===null?this._additionsTail=this._additionsHead=e:this._additionsTail=this._additionsTail._nextAdded=e,e}_insertAfter(e,n,r){let o=n===null?this._itHead:n._next;return e._next=o,e._prev=n,o===null?this._itTail=e:o._prev=e,n===null?this._itHead=e:n._next=e,this._linkedRecords===null&&(this._linkedRecords=new gi),this._linkedRecords.put(e),e.currentIndex=r,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){this._linkedRecords!==null&&this._linkedRecords.remove(e);let n=e._prev,r=e._next;return n===null?this._itHead=r:n._next=r,r===null?this._itTail=n:r._prev=n,e}_addToMoves(e,n){return e.previousIndex===n||(this._movesTail===null?this._movesTail=this._movesHead=e:this._movesTail=this._movesTail._nextMoved=e),e}_addToRemovals(e){return this._unlinkedRecords===null&&(this._unlinkedRecords=new gi),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,n){return e.item=n,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=e:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=e,e}},il=class{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(e,n){this.item=e,this.trackById=n}},sl=class{_head=null;_tail=null;add(e){this._head===null?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,n){let r;for(r=this._head;r!==null;r=r._nextDup)if((n===null||n<=r.currentIndex)&&Object.is(r.trackById,e))return r;return null}remove(e){let n=e._prevDup,r=e._nextDup;return n===null?this._head=r:n._nextDup=r,r===null?this._tail=n:r._prevDup=n,this._head===null}},gi=class{map=new Map;put(e){let n=e.trackById,r=this.map.get(n);r||(r=new sl,this.map.set(n,r)),r.add(e)}get(e,n){let r=e,o=this.map.get(r);return o?o.get(e,n):null}remove(e){let n=e.trackById;return this.map.get(n).remove(e)&&this.map.delete(n),e}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function Od(t,e,n){let r=t.previousIndex;if(r===null)return r;let o=0;return n&&r<n.length&&(o=n[r]),r+e+o}var al=class{constructor(){}supports(e){return e instanceof Map||oc(e)}create(){return new ll}},ll=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(e){let n;for(n=this._mapHead;n!==null;n=n._next)e(n)}forEachPreviousItem(e){let n;for(n=this._previousMapHead;n!==null;n=n._nextPrevious)e(n)}forEachChangedItem(e){let n;for(n=this._changesHead;n!==null;n=n._nextChanged)e(n)}forEachAddedItem(e){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)e(n)}forEachRemovedItem(e){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)e(n)}diff(e){if(!e)e=new Map;else if(!(e instanceof Map||oc(e)))throw new m(900,!1);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(e,(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(e,n){if(e){let r=e._prev;return n._next=e,n._prev=r,e._prev=n,r&&(r._next=n),e===this._mapHead&&(this._mapHead=n),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(e,n){if(this._records.has(e)){let o=this._records.get(e);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 cl(e);return this._records.set(e,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;e!==null;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;e!=null;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,n){Object.is(n,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=n,this._addToChanges(e))}_addToAdditions(e){this._additionsHead===null?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){this._changesHead===null?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,n){e instanceof Map?e.forEach(n):Object.keys(e).forEach(r=>n(e[r],r))}},cl=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(e){this.key=e}};function Pd(){return new hD([new rl])}var hD=(()=>{class t{factories;static \u0275prov=U({token:t,providedIn:"root",factory:Pd});constructor(n){this.factories=n}static create(n,r){if(r!=null){let o=r.factories.slice();n=n.concat(o)}return new t(n)}static extend(n){return{provide:t,useFactory:r=>t.create(n,r||Pd()),deps:[[t,new Jd,new Yd]]}}find(n){let r=this.factories.find(o=>o.supports(n));if(r!=null)return r;throw new m(901,!1)}}return t})();function Fd(){return new gD([new al])}var gD=(()=>{class t{static \u0275prov=U({token:t,providedIn:"root",factory:Fd});factories;constructor(n){this.factories=n}static create(n,r){if(r){let o=r.factories.slice();n=n.concat(o)}return new t(n)}static extend(n){return{provide:t,useFactory:r=>t.create(n,r||Fd()),deps:[[t,new Jd,new Yd]]}}find(n){let r=this.factories.find(o=>o.supports(n));if(r)return r;throw new m(901,!1)}}return t})();var UO=aD(null,"core",[]),qO=(()=>{class t{constructor(n){}static \u0275fac=function(r){return new(r||t)(we(Dn))};static \u0275mod=ow({type:t});static \u0275inj=dy({})}return t})();function zO(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function WO(t,e=NaN){return!isNaN(parseFloat(t))&&!isNaN(Number(t))?Number(t):e}function GO(t){return _s(t)}function QO(t,e){return Gr(t,e?.equal)}var ul=class{[ae];constructor(e){this[ae]=e}destroy(){this[ae].destroy()}};function mD(t,e){!e?.injector&&uf(mD);let n=e?.injector??A(nt),r=e?.manualCleanup!==!0?n.get(An):null,o,i=n.get(Fl,null,{optional:!0}),s=n.get(gt);return i!==null&&!e?.forceRoot?(o=ED(i.view,s,t),r instanceof Zo&&r._lView===i.view&&(r=null)):o=ID(t,n.get(yh),s),o.injector=n,r!==null&&(o.onDestroyFn=r.onDestroy(()=>o.destroy())),new ul(o)}var Xh=pe(G({},en),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,kind:"effect",onDestroyFn:dr,run(){if(this.dirty=!1,this.hasRun&&!qr(this))return;this.hasRun=!0;let t=r=>(this.cleanupFns??=[]).push(r),e=zn(this),n=zo(!1);try{this.maybeCleanup(),this.fn(t)}finally{zo(n),Ur(this,e)}},maybeCleanup(){if(this.cleanupFns?.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}}),yD=pe(G({},Xh),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){Wn(this),this.onDestroyFn(),this.maybeCleanup(),this.scheduler.remove(this)}}),vD=pe(G({},Xh),{consumerMarkedDirty(){this.view[D]|=8192,xn(this.view),this.notifier.notify(13)},destroy(){Wn(this),this.onDestroyFn(),this.maybeCleanup(),this.view[Ht]?.delete(this)}});function ED(t,e,n){let r=Object.create(vD);return r.view=t,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=e,r.fn=n,t[Ht]??=new Set,t[Ht].add(r),r.consumerMarkedDirty(r),r}function ID(t,e,n){let r=Object.create(yD);return r.fn=t,r.scheduler=e,r.notifier=n,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.schedule(r),r.notifier.notify(12),r}function KO(t,e){let n=Je(t),r=e.elementInjector||Ei();return new Wt(n).create(r,e.projectableNodes,e.hostElement,e.environmentInjector)}function ZO(t){let e=Je(t);if(!e)return null;let n=new Wt(e);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return e.standalone},get isSignal(){return e.signals}}}var T=function(t){return t[t.State=0]="State",t[t.Transition=1]="Transition",t[t.Sequence=2]="Sequence",t[t.Group=3]="Group",t[t.Animate=4]="Animate",t[t.Keyframes=5]="Keyframes",t[t.Style=6]="Style",t[t.Trigger=7]="Trigger",t[t.Reference=8]="Reference",t[t.AnimateChild=9]="AnimateChild",t[t.AnimateRef=10]="AnimateRef",t[t.Query=11]="Query",t[t.Stagger=12]="Stagger",t}(T||{}),Oe="*";function JO(t,e){return{type:T.Trigger,name:t,definitions:e,options:{}}}function XO(t,e=null){return{type:T.Animate,styles:e,timings:t}}function eg(t,e=null){return{type:T.Sequence,steps:t,options:e}}function lc(t){return{type:T.Style,styles:t,offset:null}}function eP(t,e,n){return{type:T.State,name:t,styles:e,options:n}}function tP(t,e,n=null){return{type:T.Transition,expr:t,animation:e,options:n}}function nP(t,e=null){return{type:T.Reference,animation:t,options:e}}function rP(t=null){return{type:T.AnimateChild,options:t}}function oP(t,e=null){return{type:T.AnimateRef,animation:t,options:e}}function iP(t,e,n=null){return{type:T.Query,selector:t,animation:e,options:n}}var at=class{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(e=0,n=0){this.totalTime=e+n}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(e){this._position=this.totalTime?e*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(e){let n=e=="start"?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}},jn=class{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(e){this.players=e;let n=0,r=0,o=0,i=this.players.length;i==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++n==i&&this._onFinish()}),s.onDestroy(()=>{++r==i&&this._onDestroy()}),s.onStart(()=>{++o==i&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){let n=e*this.totalTime;this.players.forEach(r=>{let o=r.totalTime?Math.min(1,n/r.totalTime):1;r.setPosition(o)})}getPosition(){let e=this.players.reduce((n,r)=>n===null||r.totalTime>n.totalTime?r:n,null);return e!=null?e.getPosition():0}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){let n=e=="start"?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}},Ar="!";function tg(t){return new m(3e3,!1)}function wD(){return new m(3100,!1)}function bD(){return new m(3101,!1)}function DD(t){return new m(3001,!1)}function TD(t){return new m(3003,!1)}function MD(t){return new m(3004,!1)}function rg(t,e){return new m(3005,!1)}function og(){return new m(3006,!1)}function ig(){return new m(3007,!1)}function sg(t,e){return new m(3008,!1)}function ag(t){return new m(3002,!1)}function lg(t,e,n,r,o){return new m(3010,!1)}function cg(){return new m(3011,!1)}function ug(){return new m(3012,!1)}function dg(){return new m(3200,!1)}function fg(){return new m(3202,!1)}function pg(){return new m(3013,!1)}function hg(t){return new m(3014,!1)}function gg(t){return new m(3015,!1)}function mg(t){return new m(3016,!1)}function yg(t){return new m(3500,!1)}function vg(t){return new m(3501,!1)}function Eg(t,e){return new m(3404,!1)}function SD(t){return new m(3502,!1)}function Ig(t){return new m(3503,!1)}function _g(){return new m(3300,!1)}function wg(t){return new m(3504,!1)}function bg(t){return new m(3301,!1)}function Dg(t,e){return new m(3302,!1)}function Tg(t){return new m(3303,!1)}function Mg(t,e){return new m(3400,!1)}function Sg(t){return new m(3401,!1)}function Cg(t){return new m(3402,!1)}function Ng(t,e){return new m(3505,!1)}var CD=new Set(["-moz-outline-radius","-moz-outline-radius-bottomleft","-moz-outline-radius-bottomright","-moz-outline-radius-topleft","-moz-outline-radius-topright","-ms-grid-columns","-ms-grid-rows","-webkit-line-clamp","-webkit-text-fill-color","-webkit-text-stroke","-webkit-text-stroke-color","accent-color","all","backdrop-filter","background","background-color","background-position","background-size","block-size","border","border-block-end","border-block-end-color","border-block-end-width","border-block-start","border-block-start-color","border-block-start-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-width","border-color","border-end-end-radius","border-end-start-radius","border-image-outset","border-image-slice","border-image-width","border-inline-end","border-inline-end-color","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-width","border-left","border-left-color","border-left-width","border-radius","border-right","border-right-color","border-right-width","border-start-end-radius","border-start-start-radius","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-width","border-width","bottom","box-shadow","caret-color","clip","clip-path","color","column-count","column-gap","column-rule","column-rule-color","column-rule-width","column-width","columns","filter","flex","flex-basis","flex-grow","flex-shrink","font","font-size","font-size-adjust","font-stretch","font-variation-settings","font-weight","gap","grid-column-gap","grid-gap","grid-row-gap","grid-template-columns","grid-template-rows","height","inline-size","input-security","inset","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","left","letter-spacing","line-clamp","line-height","margin","margin-block-end","margin-block-start","margin-bottom","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","mask","mask-border","mask-position","mask-size","max-block-size","max-height","max-inline-size","max-lines","max-width","min-block-size","min-height","min-inline-size","min-width","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","outline","outline-color","outline-offset","outline-width","padding","padding-block-end","padding-block-start","padding-bottom","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","perspective","perspective-origin","right","rotate","row-gap","scale","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-coordinate","scroll-snap-destination","scrollbar-color","shape-image-threshold","shape-margin","shape-outside","tab-size","text-decoration","text-decoration-color","text-decoration-thickness","text-emphasis","text-emphasis-color","text-indent","text-shadow","text-underline-offset","top","transform","transform-origin","translate","vertical-align","visibility","width","word-spacing","z-index","zoom"]);function lt(t){switch(t.length){case 0:return new at;case 1:return t[0];default:return new jn(t)}}function fc(t,e,n=new Map,r=new Map){let o=[],i=[],s=-1,a=null;if(e.forEach(l=>{let c=l.get("offset"),u=c==s,d=u&&a||new Map;l.forEach((p,f)=>{let h=f,g=p;if(f!=="offset")switch(h=t.normalizePropertyName(h,o),g){case Ar:g=n.get(f);break;case Oe:g=r.get(f);break;default:g=t.normalizeStyleValue(f,h,g,o);break}d.set(h,g)}),u||i.push(d),a=d,s=c}),o.length)throw SD(o);return i}function Bi(t,e,n,r){switch(e){case"start":t.onStart(()=>r(n&&cc(n,"start",t)));break;case"done":t.onDone(()=>r(n&&cc(n,"done",t)));break;case"destroy":t.onDestroy(()=>r(n&&cc(n,"destroy",t)));break}}function cc(t,e,n){let r=n.totalTime,o=!!n.disabled,i=$i(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,r??t.totalTime,o),s=t._data;return s!=null&&(i._data=s),i}function $i(t,e,n,r,o="",i=0,s){return{element:t,triggerName:e,fromState:n,toState:r,phaseName:o,totalTime:i,disabled:!!s}}function Ee(t,e,n){let r=t.get(e);return r||t.set(e,r=n),r}function pc(t){let e=t.indexOf(":"),n=t.substring(1,e),r=t.slice(e+1);return[n,r]}var ND=typeof document>"u"?null:document.documentElement;function Ui(t){let e=t.parentNode||t.host||null;return e===ND?null:e}function xD(t){return t.substring(1,6)=="ebkit"}var Yt=null,ng=!1;function xg(t){Yt||(Yt=kD()||{},ng=Yt.style?"WebkitAppearance"in Yt.style:!1);let e=!0;return Yt.style&&!xD(t)&&(e=t in Yt.style,!e&&ng&&(e="Webkit"+t.charAt(0).toUpperCase()+t.slice(1)in Yt.style)),e}function AD(t){return CD.has(t)}function kD(){return typeof document<"u"?document.body:null}function hc(t,e){for(;e;){if(e===t)return!0;e=Ui(e)}return!1}function gc(t,e,n){if(n)return Array.from(t.querySelectorAll(e));let r=t.querySelector(e);return r?[r]:[]}var RD=1e3,mc="{{",OD="}}",qi="ng-enter",kr="ng-leave",Rr="ng-trigger",Or=".ng-trigger",yc="ng-animating",zi=".ng-animating";function Qe(t){if(typeof t=="number")return t;let e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:uc(parseFloat(e[1]),e[2])}function uc(t,e){switch(e){case"s":return t*RD;default:return t}}function Pr(t,e,n){return t.hasOwnProperty("duration")?t:PD(t,e,n)}function PD(t,e,n){let r=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,o,i=0,s="";if(typeof t=="string"){let a=t.match(r);if(a===null)return e.push(tg(t)),{duration:0,delay:0,easing:""};o=uc(parseFloat(a[1]),a[2]);let l=a[3];l!=null&&(i=uc(parseFloat(l),a[4]));let c=a[5];c&&(s=c)}else o=t;if(!n){let a=!1,l=e.length;o<0&&(e.push(wD()),a=!0),i<0&&(e.push(bD()),a=!0),a&&e.splice(l,0,tg(t))}return{duration:o,delay:i,easing:s}}function Ag(t){return t.length?t[0]instanceof Map?t:t.map(e=>new Map(Object.entries(e))):[]}function vc(t){return Array.isArray(t)?new Map(...t):new Map(t)}function Pe(t,e,n){e.forEach((r,o)=>{let i=Wi(o);n&&!n.has(o)&&n.set(o,t.style[i]),t.style[i]=r})}function Et(t,e){e.forEach((n,r)=>{let o=Wi(r);t.style[o]=""})}function Hn(t){return Array.isArray(t)?t.length==1?t[0]:eg(t):t}function kg(t,e,n){let r=e.params||{},o=Ec(t);o.length&&o.forEach(i=>{r.hasOwnProperty(i)||n.push(DD(i))})}var dc=new RegExp(`${mc}\\s*(.+?)\\s*${OD}`,"g");function Ec(t){let e=[];if(typeof t=="string"){let n;for(;n=dc.exec(t);)e.push(n[1]);dc.lastIndex=0}return e}function Bn(t,e,n){let r=`${t}`,o=r.replace(dc,(i,s)=>{let a=e[s];return a==null&&(n.push(TD(s)),a=""),a.toString()});return o==r?t:o}var FD=/-+([a-z0-9])/g;function Wi(t){return t.replace(FD,(...e)=>e[1].toUpperCase())}function LD(t){return t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Rg(t,e){return t===0||e===0}function Og(t,e,n){if(n.size&&e.length){let r=e[0],o=[];if(n.forEach((i,s)=>{r.has(s)||o.push(s),r.set(s,i)}),o.length)for(let i=1;i<e.length;i++){let s=e[i];o.forEach(a=>s.set(a,Gi(t,a)))}}return e}function Ie(t,e,n){switch(e.type){case T.Trigger:return t.visitTrigger(e,n);case T.State:return t.visitState(e,n);case T.Transition:return t.visitTransition(e,n);case T.Sequence:return t.visitSequence(e,n);case T.Group:return t.visitGroup(e,n);case T.Animate:return t.visitAnimate(e,n);case T.Keyframes:return t.visitKeyframes(e,n);case T.Style:return t.visitStyle(e,n);case T.Reference:return t.visitReference(e,n);case T.AnimateChild:return t.visitAnimateChild(e,n);case T.AnimateRef:return t.visitAnimateRef(e,n);case T.Query:return t.visitQuery(e,n);case T.Stagger:return t.visitStagger(e,n);default:throw MD(e.type)}}function Gi(t,e){return window.getComputedStyle(t)[e]}var Qg=(()=>{class t{validateStyleProperty(n){return xg(n)}containsElement(n,r){return hc(n,r)}getParentElement(n){return Ui(n)}query(n,r,o){return gc(n,r,o)}computeStyle(n,r,o){return o||""}animate(n,r,o,i,s,a=[],l){return new at(o,i)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=U({token:t,factory:t.\u0275fac})}return t})(),Pg=class{static NOOP=new Qg},Tc=class{},Mc=class{normalizePropertyName(e,n){return e}normalizeStyleValue(e,n,r,o){return r}},VD=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]),Sc=class extends Tc{normalizePropertyName(e,n){return Wi(e)}normalizeStyleValue(e,n,r,o){let i="",s=r.toString().trim();if(VD.has(n)&&r!==0&&r!=="0")if(typeof r=="number")i="px";else{let a=r.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&a[1].length==0&&o.push(rg(e,r))}return s+i}};var Ji="*";function jD(t,e){let n=[];return typeof t=="string"?t.split(/\s*,\s*/).forEach(r=>HD(r,n,e)):n.push(t),n}function HD(t,e,n){if(t[0]==":"){let l=BD(t,n);if(typeof l=="function"){e.push(l);return}t=l}let r=t.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(r==null||r.length<4)return n.push(gg(t)),e;let o=r[1],i=r[2],s=r[3];e.push(Fg(o,s));let a=o==Ji&&s==Ji;i[0]=="<"&&!a&&e.push(Fg(s,o))}function BD(t,e){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(n,r)=>parseFloat(r)>parseFloat(n);case":decrement":return(n,r)=>parseFloat(r)<parseFloat(n);default:return e.push(mg(t)),"* => *"}}var Qi=new Set(["true","1"]),Ki=new Set(["false","0"]);function Fg(t,e){let n=Qi.has(t)||Ki.has(t),r=Qi.has(e)||Ki.has(e);return(o,i)=>{let s=t==Ji||t==o,a=e==Ji||e==i;return!s&&n&&typeof o=="boolean"&&(s=o?Qi.has(t):Ki.has(t)),!a&&r&&typeof i=="boolean"&&(a=i?Qi.has(e):Ki.has(e)),s&&a}}var Kg=":self",$D=new RegExp(`s*${Kg}s*,?`,"g");function Hc(t,e,n,r){return new Cc(t).build(e,n,r)}var Lg="",Cc=class{_driver;constructor(e){this._driver=e}build(e,n,r){let o=new Nc(n);return this._resetContextStyleTimingState(o),Ie(this,Hn(e),o)}_resetContextStyleTimingState(e){e.currentQuerySelector=Lg,e.collectedStyles=new Map,e.collectedStyles.set(Lg,new Map),e.currentTime=0}visitTrigger(e,n){let r=n.queryCount=0,o=n.depCount=0,i=[],s=[];return e.name.charAt(0)=="@"&&n.errors.push(og()),e.definitions.forEach(a=>{if(this._resetContextStyleTimingState(n),a.type==T.State){let l=a,c=l.name;c.toString().split(/\s*,\s*/).forEach(u=>{l.name=u,i.push(this.visitState(l,n))}),l.name=c}else if(a.type==T.Transition){let l=this.visitTransition(a,n);r+=l.queryCount,o+=l.depCount,s.push(l)}else n.errors.push(ig())}),{type:T.Trigger,name:e.name,states:i,transitions:s,queryCount:r,depCount:o,options:null}}visitState(e,n){let r=this.visitStyle(e.styles,n),o=e.options&&e.options.params||null;if(r.containsDynamicStyles){let i=new Set,s=o||{};r.styles.forEach(a=>{a instanceof Map&&a.forEach(l=>{Ec(l).forEach(c=>{s.hasOwnProperty(c)||i.add(c)})})}),i.size&&n.errors.push(sg(e.name,[...i.values()]))}return{type:T.State,name:e.name,style:r,options:o?{params:o}:null}}visitTransition(e,n){n.queryCount=0,n.depCount=0;let r=Ie(this,Hn(e.animation),n),o=jD(e.expr,n.errors);return{type:T.Transition,matchers:o,animation:r,queryCount:n.queryCount,depCount:n.depCount,options:Jt(e.options)}}visitSequence(e,n){return{type:T.Sequence,steps:e.steps.map(r=>Ie(this,r,n)),options:Jt(e.options)}}visitGroup(e,n){let r=n.currentTime,o=0,i=e.steps.map(s=>{n.currentTime=r;let a=Ie(this,s,n);return o=Math.max(o,n.currentTime),a});return n.currentTime=o,{type:T.Group,steps:i,options:Jt(e.options)}}visitAnimate(e,n){let r=WD(e.timings,n.errors);n.currentAnimateTimings=r;let o,i=e.styles?e.styles:lc({});if(i.type==T.Keyframes)o=this.visitKeyframes(i,n);else{let s=e.styles,a=!1;if(!s){a=!0;let c={};r.easing&&(c.easing=r.easing),s=lc(c)}n.currentTime+=r.duration+r.delay;let l=this.visitStyle(s,n);l.isEmptyStep=a,o=l}return n.currentAnimateTimings=null,{type:T.Animate,timings:r,style:o,options:null}}visitStyle(e,n){let r=this._makeStyleAst(e,n);return this._validateStyleAst(r,n),r}_makeStyleAst(e,n){let r=[],o=Array.isArray(e.styles)?e.styles:[e.styles];for(let a of o)typeof a=="string"?a===Oe?r.push(a):n.errors.push(ag(a)):r.push(new Map(Object.entries(a)));let i=!1,s=null;return r.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(s=a.get("easing"),a.delete("easing")),!i)){for(let l of a.values())if(l.toString().indexOf(mc)>=0){i=!0;break}}}),{type:T.Style,styles:r,easing:s,offset:e.offset,containsDynamicStyles:i,options:null}}_validateStyleAst(e,n){let r=n.currentAnimateTimings,o=n.currentTime,i=n.currentTime;r&&i>0&&(i-=r.duration+r.delay),e.styles.forEach(s=>{typeof s!="string"&&s.forEach((a,l)=>{let c=n.collectedStyles.get(n.currentQuerySelector),u=c.get(l),d=!0;u&&(i!=o&&i>=u.startTime&&o<=u.endTime&&(n.errors.push(lg(l,u.startTime,u.endTime,i,o)),d=!1),i=u.startTime),d&&c.set(l,{startTime:i,endTime:o}),n.options&&kg(a,n.options,n.errors)})})}visitKeyframes(e,n){let r={type:T.Keyframes,styles:[],options:null};if(!n.currentAnimateTimings)return n.errors.push(cg()),r;let o=1,i=0,s=[],a=!1,l=!1,c=0,u=e.steps.map(v=>{let R=this._makeStyleAst(v,n),K=R.offset!=null?R.offset:zD(R.styles),W=0;return K!=null&&(i++,W=R.offset=K),l=l||W<0||W>1,a=a||W<c,c=W,s.push(W),R});l&&n.errors.push(ug()),a&&n.errors.push(dg());let d=e.steps.length,p=0;i>0&&i<d?n.errors.push(fg()):i==0&&(p=o/(d-1));let f=d-1,h=n.currentTime,g=n.currentAnimateTimings,E=g.duration;return u.forEach((v,R)=>{let K=p>0?R==f?1:p*R:s[R],W=K*E;n.currentTime=h+g.delay+W,g.duration=W,this._validateStyleAst(v,n),v.offset=K,r.styles.push(v)}),r}visitReference(e,n){return{type:T.Reference,animation:Ie(this,Hn(e.animation),n),options:Jt(e.options)}}visitAnimateChild(e,n){return n.depCount++,{type:T.AnimateChild,options:Jt(e.options)}}visitAnimateRef(e,n){return{type:T.AnimateRef,animation:this.visitReference(e.animation,n),options:Jt(e.options)}}visitQuery(e,n){let r=n.currentQuerySelector,o=e.options||{};n.queryCount++,n.currentQuery=e;let[i,s]=UD(e.selector);n.currentQuerySelector=r.length?r+" "+i:i,Ee(n.collectedStyles,n.currentQuerySelector,new Map);let a=Ie(this,Hn(e.animation),n);return n.currentQuery=null,n.currentQuerySelector=r,{type:T.Query,selector:i,limit:o.limit||0,optional:!!o.optional,includeSelf:s,animation:a,originalSelector:e.selector,options:Jt(e.options)}}visitStagger(e,n){n.currentQuery||n.errors.push(pg());let r=e.timings==="full"?{duration:0,delay:0,easing:"full"}:Pr(e.timings,n.errors,!0);return{type:T.Stagger,animation:Ie(this,Hn(e.animation),n),timings:r,options:null}}};function UD(t){let e=!!t.split(/\s*,\s*/).find(n=>n==Kg);return e&&(t=t.replace($D,"")),t=t.replace(/@\*/g,Or).replace(/@\w+/g,n=>Or+"-"+n.slice(1)).replace(/:animating/g,zi),[t,e]}function qD(t){return t?G({},t):null}var Nc=class{errors;queryCount=0;depCount=0;currentTransition=null;currentQuery=null;currentQuerySelector=null;currentAnimateTimings=null;currentTime=0;collectedStyles=new Map;options=null;unsupportedCSSPropertiesFound=new Set;constructor(e){this.errors=e}};function zD(t){if(typeof t=="string")return null;let e=null;if(Array.isArray(t))t.forEach(n=>{if(n instanceof Map&&n.has("offset")){let r=n;e=parseFloat(r.get("offset")),r.delete("offset")}});else if(t instanceof Map&&t.has("offset")){let n=t;e=parseFloat(n.get("offset")),n.delete("offset")}return e}function WD(t,e){if(t.hasOwnProperty("duration"))return t;if(typeof t=="number"){let i=Pr(t,e).duration;return Ic(i,0,"")}let n=t;if(n.split(/\s+/).some(i=>i.charAt(0)=="{"&&i.charAt(1)=="{")){let i=Ic(0,0,"");return i.dynamic=!0,i.strValue=n,i}let o=Pr(n,e);return Ic(o.duration,o.delay,o.easing)}function Jt(t){return t?(t=G({},t),t.params&&(t.params=qD(t.params))):t={},t}function Ic(t,e,n){return{duration:t,delay:e,easing:n}}function Bc(t,e,n,r,o,i,s=null,a=!1){return{type:1,element:t,keyframes:e,preStyleProps:n,postStyleProps:r,duration:o,delay:i,totalTime:o+i,easing:s,subTimeline:a}}var Un=class{_map=new Map;get(e){return this._map.get(e)||[]}append(e,n){let r=this._map.get(e);r||this._map.set(e,r=[]),r.push(...n)}has(e){return this._map.has(e)}clear(){this._map.clear()}},GD=1,QD=":enter",KD=new RegExp(QD,"g"),ZD=":leave",YD=new RegExp(ZD,"g");function $c(t,e,n,r,o,i=new Map,s=new Map,a,l,c=[]){return new xc().buildKeyframes(t,e,n,r,o,i,s,a,l,c)}var xc=class{buildKeyframes(e,n,r,o,i,s,a,l,c,u=[]){c=c||new Un;let d=new Ac(e,n,c,o,i,u,[]);d.options=l;let p=l.delay?Qe(l.delay):0;d.currentTimeline.delayNextStep(p),d.currentTimeline.setStyles([s],null,d.errors,l),Ie(this,r,d);let f=d.timelines.filter(h=>h.containsAnimation());if(f.length&&a.size){let h;for(let g=f.length-1;g>=0;g--){let E=f[g];if(E.element===n){h=E;break}}h&&!h.allowOnlyTimelineStyles()&&h.setStyles([a],null,d.errors,l)}return f.length?f.map(h=>h.buildKeyframes()):[Bc(n,[],[],[],0,p,"",!1)]}visitTrigger(e,n){}visitState(e,n){}visitTransition(e,n){}visitAnimateChild(e,n){let r=n.subInstructions.get(n.element);if(r){let o=n.createSubContext(e.options),i=n.currentTimeline.currentTime,s=this._visitSubInstructions(r,o,o.options);i!=s&&n.transformIntoNewTimeline(s)}n.previousNode=e}visitAnimateRef(e,n){let r=n.createSubContext(e.options);r.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],n,r),this.visitReference(e.animation,r),n.transformIntoNewTimeline(r.currentTimeline.currentTime),n.previousNode=e}_applyAnimationRefDelays(e,n,r){for(let o of e){let i=o?.delay;if(i){let s=typeof i=="number"?i:Qe(Bn(i,o?.params??{},n.errors));r.delayNextStep(s)}}}_visitSubInstructions(e,n,r){let i=n.currentTimeline.currentTime,s=r.duration!=null?Qe(r.duration):null,a=r.delay!=null?Qe(r.delay):null;return s!==0&&e.forEach(l=>{let c=n.appendInstructionToTimeline(l,s,a);i=Math.max(i,c.duration+c.delay)}),i}visitReference(e,n){n.updateOptions(e.options,!0),Ie(this,e.animation,n),n.previousNode=e}visitSequence(e,n){let r=n.subContextCount,o=n,i=e.options;if(i&&(i.params||i.delay)&&(o=n.createSubContext(i),o.transformIntoNewTimeline(),i.delay!=null)){o.previousNode.type==T.Style&&(o.currentTimeline.snapshotCurrentStyles(),o.previousNode=Xi);let s=Qe(i.delay);o.delayNextStep(s)}e.steps.length&&(e.steps.forEach(s=>Ie(this,s,o)),o.currentTimeline.applyStylesToKeyframe(),o.subContextCount>r&&o.transformIntoNewTimeline()),n.previousNode=e}visitGroup(e,n){let r=[],o=n.currentTimeline.currentTime,i=e.options&&e.options.delay?Qe(e.options.delay):0;e.steps.forEach(s=>{let a=n.createSubContext(e.options);i&&a.delayNextStep(i),Ie(this,s,a),o=Math.max(o,a.currentTimeline.currentTime),r.push(a.currentTimeline)}),r.forEach(s=>n.currentTimeline.mergeTimelineCollectedStyles(s)),n.transformIntoNewTimeline(o),n.previousNode=e}_visitTiming(e,n){if(e.dynamic){let r=e.strValue,o=n.params?Bn(r,n.params,n.errors):r;return Pr(o,n.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,n){let r=n.currentAnimateTimings=this._visitTiming(e.timings,n),o=n.currentTimeline;r.delay&&(n.incrementTime(r.delay),o.snapshotCurrentStyles());let i=e.style;i.type==T.Keyframes?this.visitKeyframes(i,n):(n.incrementTime(r.duration),this.visitStyle(i,n),o.applyStylesToKeyframe()),n.currentAnimateTimings=null,n.previousNode=e}visitStyle(e,n){let r=n.currentTimeline,o=n.currentAnimateTimings;!o&&r.hasCurrentStyleProperties()&&r.forwardFrame();let i=o&&o.easing||e.easing;e.isEmptyStep?r.applyEmptyStep(i):r.setStyles(e.styles,i,n.errors,n.options),n.previousNode=e}visitKeyframes(e,n){let r=n.currentAnimateTimings,o=n.currentTimeline.duration,i=r.duration,a=n.createSubContext().currentTimeline;a.easing=r.easing,e.styles.forEach(l=>{let c=l.offset||0;a.forwardTime(c*i),a.setStyles(l.styles,l.easing,n.errors,n.options),a.applyStylesToKeyframe()}),n.currentTimeline.mergeTimelineCollectedStyles(a),n.transformIntoNewTimeline(o+i),n.previousNode=e}visitQuery(e,n){let r=n.currentTimeline.currentTime,o=e.options||{},i=o.delay?Qe(o.delay):0;i&&(n.previousNode.type===T.Style||r==0&&n.currentTimeline.hasCurrentStyleProperties())&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=Xi);let s=r,a=n.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!o.optional,n.errors);n.currentQueryTotal=a.length;let l=null;a.forEach((c,u)=>{n.currentQueryIndex=u;let d=n.createSubContext(e.options,c);i&&d.delayNextStep(i),c===n.element&&(l=d.currentTimeline),Ie(this,e.animation,d),d.currentTimeline.applyStylesToKeyframe();let p=d.currentTimeline.currentTime;s=Math.max(s,p)}),n.currentQueryIndex=0,n.currentQueryTotal=0,n.transformIntoNewTimeline(s),l&&(n.currentTimeline.mergeTimelineCollectedStyles(l),n.currentTimeline.snapshotCurrentStyles()),n.previousNode=e}visitStagger(e,n){let r=n.parentContext,o=n.currentTimeline,i=e.timings,s=Math.abs(i.duration),a=s*(n.currentQueryTotal-1),l=s*n.currentQueryIndex;switch(i.duration<0?"reverse":i.easing){case"reverse":l=a-l;break;case"full":l=r.currentStaggerTime;break}let u=n.currentTimeline;l&&u.delayNextStep(l);let d=u.currentTime;Ie(this,e.animation,n),n.previousNode=e,r.currentStaggerTime=o.currentTime-d+(o.startTime-r.currentTimeline.startTime)}},Xi={},Ac=class t{_driver;element;subInstructions;_enterClassName;_leaveClassName;errors;timelines;parentContext=null;currentTimeline;currentAnimateTimings=null;previousNode=Xi;subContextCount=0;options={};currentQueryIndex=0;currentQueryTotal=0;currentStaggerTime=0;constructor(e,n,r,o,i,s,a,l){this._driver=e,this.element=n,this.subInstructions=r,this._enterClassName=o,this._leaveClassName=i,this.errors=s,this.timelines=a,this.currentTimeline=l||new es(this._driver,n,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,n){if(!e)return;let r=e,o=this.options;r.duration!=null&&(o.duration=Qe(r.duration)),r.delay!=null&&(o.delay=Qe(r.delay));let i=r.params;if(i){let s=o.params;s||(s=this.options.params={}),Object.keys(i).forEach(a=>{(!n||!s.hasOwnProperty(a))&&(s[a]=Bn(i[a],s,this.errors))})}}_copyOptions(){let e={};if(this.options){let n=this.options.params;if(n){let r=e.params={};Object.keys(n).forEach(o=>{r[o]=n[o]})}}return e}createSubContext(e=null,n,r){let o=n||this.element,i=new t(this._driver,o,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(o,r||0));return i.previousNode=this.previousNode,i.currentAnimateTimings=this.currentAnimateTimings,i.options=this._copyOptions(),i.updateOptions(e),i.currentQueryIndex=this.currentQueryIndex,i.currentQueryTotal=this.currentQueryTotal,i.parentContext=this,this.subContextCount++,i}transformIntoNewTimeline(e){return this.previousNode=Xi,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,n,r){let o={duration:n??e.duration,delay:this.currentTimeline.currentTime+(r??0)+e.delay,easing:""},i=new kc(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,o,e.stretchStartingKeyframe);return this.timelines.push(i),o}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,n,r,o,i,s){let a=[];if(o&&a.push(this.element),e.length>0){e=e.replace(KD,"."+this._enterClassName),e=e.replace(YD,"."+this._leaveClassName);let l=r!=1,c=this._driver.query(this.element,e,l);r!==0&&(c=r<0?c.slice(c.length+r,c.length):c.slice(0,r)),a.push(...c)}return!i&&a.length==0&&s.push(hg(n)),a}},es=class t{_driver;element;startTime;_elementTimelineStylesLookup;duration=0;easing=null;_previousKeyframe=new Map;_currentKeyframe=new Map;_keyframes=new Map;_styleSummary=new Map;_localTimelineStyles=new Map;_globalTimelineStyles;_pendingStyles=new Map;_backFill=new Map;_currentEmptyStepKeyframe=null;constructor(e,n,r,o){this._driver=e,this.element=n,this.startTime=r,this._elementTimelineStylesLookup=o,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(n),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(n,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(e){let n=this._keyframes.size===1&&this._pendingStyles.size;this.duration||n?(this.forwardTime(this.currentTime+e),n&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,n){return this.applyStylesToKeyframe(),new t(this._driver,e,n||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=GD,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,n){this._localTimelineStyles.set(e,n),this._globalTimelineStyles.set(e,n),this._styleSummary.set(e,{time:this.currentTime,value:n})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&this._previousKeyframe.set("easing",e);for(let[n,r]of this._globalTimelineStyles)this._backFill.set(n,r||Oe),this._currentKeyframe.set(n,Oe);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,n,r,o){n&&this._previousKeyframe.set("easing",n);let i=o&&o.params||{},s=JD(e,this._globalTimelineStyles);for(let[a,l]of s){let c=Bn(l,i,r);this._pendingStyles.set(a,c),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??Oe),this._updateStyle(a,c)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((e,n)=>{this._currentKeyframe.set(n,e)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((e,n)=>{this._currentKeyframe.has(n)||this._currentKeyframe.set(n,e)}))}snapshotCurrentStyles(){for(let[e,n]of this._localTimelineStyles)this._pendingStyles.set(e,n),this._updateStyle(e,n)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let e=[];for(let n in this._currentKeyframe)e.push(n);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((n,r)=>{let o=this._styleSummary.get(r);(!o||n.time>o.time)&&this._updateStyle(r,n.value)})}buildKeyframes(){this.applyStylesToKeyframe();let e=new Set,n=new Set,r=this._keyframes.size===1&&this.duration===0,o=[];this._keyframes.forEach((a,l)=>{let c=new Map([...this._backFill,...a]);c.forEach((u,d)=>{u===Ar?e.add(d):u===Oe&&n.add(d)}),r||c.set("offset",l/this.duration),o.push(c)});let i=[...e.values()],s=[...n.values()];if(r){let a=o[0],l=new Map(a);a.set("offset",0),l.set("offset",1),o=[a,l]}return Bc(this.element,o,i,s,this.duration,this.startTime,this.easing,!1)}},kc=class extends es{keyframes;preStyleProps;postStyleProps;_stretchStartingKeyframe;timings;constructor(e,n,r,o,i,s,a=!1){super(e,n,s.delay),this.keyframes=r,this.preStyleProps=o,this.postStyleProps=i,this._stretchStartingKeyframe=a,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:n,duration:r,easing:o}=this.timings;if(this._stretchStartingKeyframe&&n){let i=[],s=r+n,a=n/s,l=new Map(e[0]);l.set("offset",0),i.push(l);let c=new Map(e[0]);c.set("offset",Vg(a)),i.push(c);let u=e.length-1;for(let d=1;d<=u;d++){let p=new Map(e[d]),f=p.get("offset"),h=n+f*r;p.set("offset",Vg(h/s)),i.push(p)}r=s,n=0,o="",e=i}return Bc(this.element,e,this.preStyleProps,this.postStyleProps,r,n,o,!0)}};function Vg(t,e=3){let n=Math.pow(10,e-1);return Math.round(t*n)/n}function JD(t,e){let n=new Map,r;return t.forEach(o=>{if(o==="*"){r??=e.keys();for(let i of r)n.set(i,Oe)}else for(let[i,s]of o)n.set(i,s)}),n}function jg(t,e,n,r,o,i,s,a,l,c,u,d,p){return{type:0,element:t,triggerName:e,isRemovalTransition:o,fromState:n,fromStyles:i,toState:r,toStyles:s,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:u,totalTime:d,errors:p}}var _c={},ts=class{_triggerName;ast;_stateStyles;constructor(e,n,r){this._triggerName=e,this.ast=n,this._stateStyles=r}match(e,n,r,o){return XD(this.ast.matchers,e,n,r,o)}buildStyles(e,n,r){let o=this._stateStyles.get("*");return e!==void 0&&(o=this._stateStyles.get(e?.toString())||o),o?o.buildStyles(n,r):new Map}build(e,n,r,o,i,s,a,l,c,u){let d=[],p=this.ast.options&&this.ast.options.params||_c,f=a&&a.params||_c,h=this.buildStyles(r,f,d),g=l&&l.params||_c,E=this.buildStyles(o,g,d),v=new Set,R=new Map,K=new Map,W=o==="void",De={params:Zg(g,p),delay:this.ast.options?.delay},Le=u?[]:$c(e,n,this.ast.animation,i,s,h,E,De,c,d),se=0;return Le.forEach(fe=>{se=Math.max(fe.duration+fe.delay,se)}),d.length?jg(n,this._triggerName,r,o,W,h,E,[],[],R,K,se,d):(Le.forEach(fe=>{let It=fe.element,Xt=Ee(R,It,new Set);fe.preStyleProps.forEach(_t=>Xt.add(_t));let Uc=Ee(K,It,new Set);fe.postStyleProps.forEach(_t=>Uc.add(_t)),It!==n&&v.add(It)}),jg(n,this._triggerName,r,o,W,h,E,Le,[...v.values()],R,K,se))}};function XD(t,e,n,r,o){return t.some(i=>i(e,n,r,o))}function Zg(t,e){let n=G({},e);return Object.entries(t).forEach(([r,o])=>{o!=null&&(n[r]=o)}),n}var Rc=class{styles;defaultParams;normalizer;constructor(e,n,r){this.styles=e,this.defaultParams=n,this.normalizer=r}buildStyles(e,n){let r=new Map,o=Zg(e,this.defaultParams);return this.styles.styles.forEach(i=>{typeof i!="string"&&i.forEach((s,a)=>{s&&(s=Bn(s,o,n));let l=this.normalizer.normalizePropertyName(a,n);s=this.normalizer.normalizeStyleValue(a,l,s,n),r.set(a,s)})}),r}};function eT(t,e,n){return new Oc(t,e,n)}var Oc=class{name;ast;_normalizer;transitionFactories=[];fallbackTransition;states=new Map;constructor(e,n,r){this.name=e,this.ast=n,this._normalizer=r,n.states.forEach(o=>{let i=o.options&&o.options.params||{};this.states.set(o.name,new Rc(o.style,i,r))}),Hg(this.states,"true","1"),Hg(this.states,"false","0"),n.transitions.forEach(o=>{this.transitionFactories.push(new ts(e,o,this.states))}),this.fallbackTransition=tT(e,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,n,r,o){return this.transitionFactories.find(s=>s.match(e,n,r,o))||null}matchStyles(e,n,r){return this.fallbackTransition.buildStyles(e,n,r)}};function tT(t,e,n){let r=[(s,a)=>!0],o={type:T.Sequence,steps:[],options:null},i={type:T.Transition,animation:o,matchers:r,options:null,queryCount:0,depCount:0};return new ts(t,i,e)}function Hg(t,e,n){t.has(e)?t.has(n)||t.set(n,t.get(e)):t.has(n)&&t.set(e,t.get(n))}var nT=new Un,Pc=class{bodyNode;_driver;_normalizer;_animations=new Map;_playersById=new Map;players=[];constructor(e,n,r){this.bodyNode=e,this._driver=n,this._normalizer=r}register(e,n){let r=[],o=[],i=Hc(this._driver,n,r,o);if(r.length)throw Ig(r);this._animations.set(e,i)}_buildPlayer(e,n,r){let o=e.element,i=fc(this._normalizer,e.keyframes,n,r);return this._driver.animate(o,i,e.duration,e.delay,e.easing,[],!0)}create(e,n,r={}){let o=[],i=this._animations.get(e),s,a=new Map;if(i?(s=$c(this._driver,n,i,qi,kr,new Map,new Map,r,nT,o),s.forEach(u=>{let d=Ee(a,u.element,new Map);u.postStyleProps.forEach(p=>d.set(p,null))})):(o.push(_g()),s=[]),o.length)throw wg(o);a.forEach((u,d)=>{u.forEach((p,f)=>{u.set(f,this._driver.computeStyle(d,f,Oe))})});let l=s.map(u=>{let d=a.get(u.element);return this._buildPlayer(u,new Map,d)}),c=lt(l);return this._playersById.set(e,c),c.onDestroy(()=>this.destroy(e)),this.players.push(c),c}destroy(e){let n=this._getPlayer(e);n.destroy(),this._playersById.delete(e);let r=this.players.indexOf(n);r>=0&&this.players.splice(r,1)}_getPlayer(e){let n=this._playersById.get(e);if(!n)throw bg(e);return n}listen(e,n,r,o){let i=$i(n,"","","");return Bi(this._getPlayer(e),r,i,o),()=>{}}command(e,n,r,o){if(r=="register"){this.register(e,o[0]);return}if(r=="create"){let s=o[0]||{};this.create(e,n,s);return}let i=this._getPlayer(e);switch(r){case"play":i.play();break;case"pause":i.pause();break;case"reset":i.reset();break;case"restart":i.restart();break;case"finish":i.finish();break;case"init":i.init();break;case"setPosition":i.setPosition(parseFloat(o[0]));break;case"destroy":this.destroy(e);break}}},Bg="ng-animate-queued",rT=".ng-animate-queued",wc="ng-animate-disabled",oT=".ng-animate-disabled",iT="ng-star-inserted",sT=".ng-star-inserted",aT=[],Yg={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},lT={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Fe="__ng_removed",Lr=class{namespaceId;value;options;get params(){return this.options.params}constructor(e,n=""){this.namespaceId=n;let r=e&&e.hasOwnProperty("value"),o=r?e.value:e;if(this.value=uT(o),r){let i=e,{value:s}=i,a=Kc(i,["value"]);this.options=a}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){let n=e.params;if(n){let r=this.options.params;Object.keys(n).forEach(o=>{r[o]==null&&(r[o]=n[o])})}}},Fr="void",bc=new Lr(Fr),Fc=class{id;hostElement;_engine;players=[];_triggers=new Map;_queue=[];_elementListeners=new Map;_hostClassName;constructor(e,n,r){this.id=e,this.hostElement=n,this._engine=r,this._hostClassName="ng-tns-"+e,Ce(n,this._hostClassName)}listen(e,n,r,o){if(!this._triggers.has(n))throw Dg(r,n);if(r==null||r.length==0)throw Tg(n);if(!dT(r))throw Mg(r,n);let i=Ee(this._elementListeners,e,[]),s={name:n,phase:r,callback:o};i.push(s);let a=Ee(this._engine.statesByElement,e,new Map);return a.has(n)||(Ce(e,Rr),Ce(e,Rr+"-"+n),a.set(n,bc)),()=>{this._engine.afterFlush(()=>{let l=i.indexOf(s);l>=0&&i.splice(l,1),this._triggers.has(n)||a.delete(n)})}}register(e,n){return this._triggers.has(e)?!1:(this._triggers.set(e,n),!0)}_getTrigger(e){let n=this._triggers.get(e);if(!n)throw Sg(e);return n}trigger(e,n,r,o=!0){let i=this._getTrigger(n),s=new Vr(this.id,n,e),a=this._engine.statesByElement.get(e);a||(Ce(e,Rr),Ce(e,Rr+"-"+n),this._engine.statesByElement.set(e,a=new Map));let l=a.get(n),c=new Lr(r,this.id);if(!(r&&r.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a.set(n,c),l||(l=bc),!(c.value===Fr)&&l.value===c.value){if(!hT(l.params,c.params)){let g=[],E=i.matchStyles(l.value,l.params,g),v=i.matchStyles(c.value,c.params,g);g.length?this._engine.reportError(g):this._engine.afterFlush(()=>{Et(e,E),Pe(e,v)})}return}let p=Ee(this._engine.playersByElement,e,[]);p.forEach(g=>{g.namespaceId==this.id&&g.triggerName==n&&g.queued&&g.destroy()});let f=i.matchTransition(l.value,c.value,e,c.params),h=!1;if(!f){if(!o)return;f=i.fallbackTransition,h=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:n,transition:f,fromState:l,toState:c,player:s,isFallbackTransition:h}),h||(Ce(e,Bg),s.onStart(()=>{$n(e,Bg)})),s.onDone(()=>{let g=this.players.indexOf(s);g>=0&&this.players.splice(g,1);let E=this._engine.playersByElement.get(e);if(E){let v=E.indexOf(s);v>=0&&E.splice(v,1)}}),this.players.push(s),p.push(s),s}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(n=>n.delete(e)),this._elementListeners.forEach((n,r)=>{this._elementListeners.set(r,n.filter(o=>o.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);let n=this._engine.playersByElement.get(e);n&&(n.forEach(r=>r.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,n){let r=this._engine.driver.query(e,Or,!0);r.forEach(o=>{if(o[Fe])return;let i=this._engine.fetchNamespacesByElement(o);i.size?i.forEach(s=>s.triggerLeaveAnimation(o,n,!1,!0)):this.clearElementCache(o)}),this._engine.afterFlushAnimationsDone(()=>r.forEach(o=>this.clearElementCache(o)))}triggerLeaveAnimation(e,n,r,o){let i=this._engine.statesByElement.get(e),s=new Map;if(i){let a=[];if(i.forEach((l,c)=>{if(s.set(c,l.value),this._triggers.has(c)){let u=this.trigger(e,c,Fr,o);u&&a.push(u)}}),a.length)return this._engine.markElementAsRemoved(this.id,e,!0,n,s),r&<(a).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let n=this._elementListeners.get(e),r=this._engine.statesByElement.get(e);if(n&&r){let o=new Set;n.forEach(i=>{let s=i.name;if(o.has(s))return;o.add(s);let l=this._triggers.get(s).fallbackTransition,c=r.get(s)||bc,u=new Lr(Fr),d=new Vr(this.id,s,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:s,transition:l,fromState:c,toState:u,player:d,isFallbackTransition:!0})})}}removeNode(e,n){let r=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,n),this.triggerLeaveAnimation(e,n,!0))return;let o=!1;if(r.totalAnimations){let i=r.players.length?r.playersByQueriedElement.get(e):[];if(i&&i.length)o=!0;else{let s=e;for(;s=s.parentNode;)if(r.statesByElement.get(s)){o=!0;break}}}if(this.prepareLeaveAnimationListeners(e),o)r.markElementAsRemoved(this.id,e,!1,n);else{let i=e[Fe];(!i||i===Yg)&&(r.afterFlush(()=>this.clearElementCache(e)),r.destroyInnerAnimations(e),r._onRemovalComplete(e,n))}}insertNode(e,n){Ce(e,this._hostClassName)}drainQueuedTransitions(e){let n=[];return this._queue.forEach(r=>{let o=r.player;if(o.destroyed)return;let i=r.element,s=this._elementListeners.get(i);s&&s.forEach(a=>{if(a.name==r.triggerName){let l=$i(i,r.triggerName,r.fromState.value,r.toState.value);l._data=e,Bi(r.player,a.phase,l,a.callback)}}),o.markedForDestroy?this._engine.afterFlush(()=>{o.destroy()}):n.push(r)}),this._queue=[],n.sort((r,o)=>{let i=r.transition.ast.depCount,s=o.transition.ast.depCount;return i==0||s==0?i-s:this._engine.driver.containsElement(r.element,o.element)?1:-1})}destroy(e){this.players.forEach(n=>n.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},Lc=class{bodyNode;driver;_normalizer;players=[];newHostElements=new Map;playersByElement=new Map;playersByQueriedElement=new Map;statesByElement=new Map;disabledNodes=new Set;totalAnimations=0;totalQueuedPlayers=0;_namespaceLookup={};_namespaceList=[];_flushFns=[];_whenQuietFns=[];namespacesByHostElement=new Map;collectedEnterElements=[];collectedLeaveElements=[];onRemovalComplete=(e,n)=>{};_onRemovalComplete(e,n){this.onRemovalComplete(e,n)}constructor(e,n,r){this.bodyNode=e,this.driver=n,this._normalizer=r}get queuedPlayers(){let e=[];return this._namespaceList.forEach(n=>{n.players.forEach(r=>{r.queued&&e.push(r)})}),e}createNamespace(e,n){let r=new Fc(e,n,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,n)?this._balanceNamespaceList(r,n):(this.newHostElements.set(n,r),this.collectEnterElement(n)),this._namespaceLookup[e]=r}_balanceNamespaceList(e,n){let r=this._namespaceList,o=this.namespacesByHostElement;if(r.length-1>=0){let s=!1,a=this.driver.getParentElement(n);for(;a;){let l=o.get(a);if(l){let c=r.indexOf(l);r.splice(c+1,0,e),s=!0;break}a=this.driver.getParentElement(a)}s||r.unshift(e)}else r.push(e);return o.set(n,e),e}register(e,n){let r=this._namespaceLookup[e];return r||(r=this.createNamespace(e,n)),r}registerTrigger(e,n,r){let o=this._namespaceLookup[e];o&&o.register(n,r)&&this.totalAnimations++}destroy(e,n){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let r=this._fetchNamespace(e);this.namespacesByHostElement.delete(r.hostElement);let o=this._namespaceList.indexOf(r);o>=0&&this._namespaceList.splice(o,1),r.destroy(n),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let n=new Set,r=this.statesByElement.get(e);if(r){for(let o of r.values())if(o.namespaceId){let i=this._fetchNamespace(o.namespaceId);i&&n.add(i)}}return n}trigger(e,n,r,o){if(Zi(n)){let i=this._fetchNamespace(e);if(i)return i.trigger(n,r,o),!0}return!1}insertNode(e,n,r,o){if(!Zi(n))return;let i=n[Fe];if(i&&i.setForRemoval){i.setForRemoval=!1,i.setForMove=!0;let s=this.collectedLeaveElements.indexOf(n);s>=0&&this.collectedLeaveElements.splice(s,1)}if(e){let s=this._fetchNamespace(e);s&&s.insertNode(n,r)}o&&this.collectEnterElement(n)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,n){n?this.disabledNodes.has(e)||(this.disabledNodes.add(e),Ce(e,wc)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),$n(e,wc))}removeNode(e,n,r){if(Zi(n)){let o=e?this._fetchNamespace(e):null;o?o.removeNode(n,r):this.markElementAsRemoved(e,n,!1,r);let i=this.namespacesByHostElement.get(n);i&&i.id!==e&&i.removeNode(n,r)}else this._onRemovalComplete(n,r)}markElementAsRemoved(e,n,r,o,i){this.collectedLeaveElements.push(n),n[Fe]={namespaceId:e,setForRemoval:o,hasAnimation:r,removedBeforeQueried:!1,previousTriggersValues:i}}listen(e,n,r,o,i){return Zi(n)?this._fetchNamespace(e).listen(n,r,o,i):()=>{}}_buildInstruction(e,n,r,o,i){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,r,o,e.fromState.options,e.toState.options,n,i)}destroyInnerAnimations(e){let n=this.driver.query(e,Or,!0);n.forEach(r=>this.destroyActiveAnimationsForElement(r)),this.playersByQueriedElement.size!=0&&(n=this.driver.query(e,zi,!0),n.forEach(r=>this.finishActiveQueriedAnimationOnElement(r)))}destroyActiveAnimationsForElement(e){let n=this.playersByElement.get(e);n&&n.forEach(r=>{r.queued?r.markedForDestroy=!0:r.destroy()})}finishActiveQueriedAnimationOnElement(e){let n=this.playersByQueriedElement.get(e);n&&n.forEach(r=>r.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return lt(this.players).onDone(()=>e());e()})}processLeaveNode(e){let n=e[Fe];if(n&&n.setForRemoval){if(e[Fe]=Yg,n.namespaceId){this.destroyInnerAnimations(e);let r=this._fetchNamespace(n.namespaceId);r&&r.clearElementCache(e)}this._onRemovalComplete(e,n.setForRemoval)}e.classList?.contains(wc)&&this.markElementAsDisabled(e,!1),this.driver.query(e,oT,!0).forEach(r=>{this.markElementAsDisabled(r,!1)})}flush(e=-1){let n=[];if(this.newHostElements.size&&(this.newHostElements.forEach((r,o)=>this._balanceNamespaceList(r,o)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let r=0;r<this.collectedEnterElements.length;r++){let o=this.collectedEnterElements[r];Ce(o,iT)}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){let r=[];try{n=this._flushAnimations(r,e)}finally{for(let o=0;o<r.length;o++)r[o]()}}else for(let r=0;r<this.collectedLeaveElements.length;r++){let o=this.collectedLeaveElements[r];this.processLeaveNode(o)}if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(r=>r()),this._flushFns=[],this._whenQuietFns.length){let r=this._whenQuietFns;this._whenQuietFns=[],n.length?lt(n).onDone(()=>{r.forEach(o=>o())}):r.forEach(o=>o())}}reportError(e){throw Cg(e)}_flushAnimations(e,n){let r=new Un,o=[],i=new Map,s=[],a=new Map,l=new Map,c=new Map,u=new Set;this.disabledNodes.forEach(y=>{u.add(y);let _=this.driver.query(y,rT,!0);for(let b=0;b<_.length;b++)u.add(_[b])});let d=this.bodyNode,p=Array.from(this.statesByElement.keys()),f=qg(p,this.collectedEnterElements),h=new Map,g=0;f.forEach((y,_)=>{let b=qi+g++;h.set(_,b),y.forEach(O=>Ce(O,b))});let E=[],v=new Set,R=new Set;for(let y=0;y<this.collectedLeaveElements.length;y++){let _=this.collectedLeaveElements[y],b=_[Fe];b&&b.setForRemoval&&(E.push(_),v.add(_),b.hasAnimation?this.driver.query(_,sT,!0).forEach(O=>v.add(O)):R.add(_))}let K=new Map,W=qg(p,Array.from(v));W.forEach((y,_)=>{let b=kr+g++;K.set(_,b),y.forEach(O=>Ce(O,b))}),e.push(()=>{f.forEach((y,_)=>{let b=h.get(_);y.forEach(O=>$n(O,b))}),W.forEach((y,_)=>{let b=K.get(_);y.forEach(O=>$n(O,b))}),E.forEach(y=>{this.processLeaveNode(y)})});let De=[],Le=[];for(let y=this._namespaceList.length-1;y>=0;y--)this._namespaceList[y].drainQueuedTransitions(n).forEach(b=>{let O=b.player,X=b.element;if(De.push(O),this.collectedEnterElements.length){let ne=X[Fe];if(ne&&ne.setForMove){if(ne.previousTriggersValues&&ne.previousTriggersValues.has(b.triggerName)){let wt=ne.previousTriggersValues.get(b.triggerName),Te=this.statesByElement.get(b.element);if(Te&&Te.has(b.triggerName)){let jr=Te.get(b.triggerName);jr.value=wt,Te.set(b.triggerName,jr)}}O.destroy();return}}let Ve=!d||!this.driver.containsElement(d,X),_e=K.get(X),ct=h.get(X),q=this._buildInstruction(b,r,ct,_e,Ve);if(q.errors&&q.errors.length){Le.push(q);return}if(Ve){O.onStart(()=>Et(X,q.fromStyles)),O.onDestroy(()=>Pe(X,q.toStyles)),o.push(O);return}if(b.isFallbackTransition){O.onStart(()=>Et(X,q.fromStyles)),O.onDestroy(()=>Pe(X,q.toStyles)),o.push(O);return}let Wc=[];q.timelines.forEach(ne=>{ne.stretchStartingKeyframe=!0,this.disabledNodes.has(ne.element)||Wc.push(ne)}),q.timelines=Wc,r.append(X,q.timelines);let em={instruction:q,player:O,element:X};s.push(em),q.queriedElements.forEach(ne=>Ee(a,ne,[]).push(O)),q.preStyleProps.forEach((ne,wt)=>{if(ne.size){let Te=l.get(wt);Te||l.set(wt,Te=new Set),ne.forEach((jr,ss)=>Te.add(ss))}}),q.postStyleProps.forEach((ne,wt)=>{let Te=c.get(wt);Te||c.set(wt,Te=new Set),ne.forEach((jr,ss)=>Te.add(ss))})});if(Le.length){let y=[];Le.forEach(_=>{y.push(Ng(_.triggerName,_.errors))}),De.forEach(_=>_.destroy()),this.reportError(y)}let se=new Map,fe=new Map;s.forEach(y=>{let _=y.element;r.has(_)&&(fe.set(_,_),this._beforeAnimationBuild(y.player.namespaceId,y.instruction,se))}),o.forEach(y=>{let _=y.element;this._getPreviousPlayers(_,!1,y.namespaceId,y.triggerName,null).forEach(O=>{Ee(se,_,[]).push(O),O.destroy()})});let It=E.filter(y=>zg(y,l,c)),Xt=new Map;Ug(Xt,this.driver,R,c,Oe).forEach(y=>{zg(y,l,c)&&It.push(y)});let _t=new Map;f.forEach((y,_)=>{Ug(_t,this.driver,new Set(y),l,Ar)}),It.forEach(y=>{let _=Xt.get(y),b=_t.get(y);Xt.set(y,new Map([..._?.entries()??[],...b?.entries()??[]]))});let is=[],qc=[],zc={};s.forEach(y=>{let{element:_,player:b,instruction:O}=y;if(r.has(_)){if(u.has(_)){b.onDestroy(()=>Pe(_,O.toStyles)),b.disabled=!0,b.overrideTotalTime(O.totalTime),o.push(b);return}let X=zc;if(fe.size>1){let _e=_,ct=[];for(;_e=_e.parentNode;){let q=fe.get(_e);if(q){X=q;break}ct.push(_e)}ct.forEach(q=>fe.set(q,X))}let Ve=this._buildAnimation(b.namespaceId,O,se,i,_t,Xt);if(b.setRealPlayer(Ve),X===zc)is.push(b);else{let _e=this.playersByElement.get(X);_e&&_e.length&&(b.parentPlayer=lt(_e)),o.push(b)}}else Et(_,O.fromStyles),b.onDestroy(()=>Pe(_,O.toStyles)),qc.push(b),u.has(_)&&o.push(b)}),qc.forEach(y=>{let _=i.get(y.element);if(_&&_.length){let b=lt(_);y.setRealPlayer(b)}}),o.forEach(y=>{y.parentPlayer?y.syncPlayerEvents(y.parentPlayer):y.destroy()});for(let y=0;y<E.length;y++){let _=E[y],b=_[Fe];if($n(_,kr),b&&b.hasAnimation)continue;let O=[];if(a.size){let Ve=a.get(_);Ve&&Ve.length&&O.push(...Ve);let _e=this.driver.query(_,zi,!0);for(let ct=0;ct<_e.length;ct++){let q=a.get(_e[ct]);q&&q.length&&O.push(...q)}}let X=O.filter(Ve=>!Ve.destroyed);X.length?fT(this,_,X):this.processLeaveNode(_)}return E.length=0,is.forEach(y=>{this.players.push(y),y.onDone(()=>{y.destroy();let _=this.players.indexOf(y);this.players.splice(_,1)}),y.play()}),is}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,n,r,o,i){let s=[];if(n){let a=this.playersByQueriedElement.get(e);a&&(s=a)}else{let a=this.playersByElement.get(e);if(a){let l=!i||i==Fr;a.forEach(c=>{c.queued||!l&&c.triggerName!=o||s.push(c)})}}return(r||o)&&(s=s.filter(a=>!(r&&r!=a.namespaceId||o&&o!=a.triggerName))),s}_beforeAnimationBuild(e,n,r){let o=n.triggerName,i=n.element,s=n.isRemovalTransition?void 0:e,a=n.isRemovalTransition?void 0:o;for(let l of n.timelines){let c=l.element,u=c!==i,d=Ee(r,c,[]);this._getPreviousPlayers(c,u,s,a,n.toState).forEach(f=>{let h=f.getRealPlayer();h.beforeDestroy&&h.beforeDestroy(),f.destroy(),d.push(f)})}Et(i,n.fromStyles)}_buildAnimation(e,n,r,o,i,s){let a=n.triggerName,l=n.element,c=[],u=new Set,d=new Set,p=n.timelines.map(h=>{let g=h.element;u.add(g);let E=g[Fe];if(E&&E.removedBeforeQueried)return new at(h.duration,h.delay);let v=g!==l,R=pT((r.get(g)||aT).map(se=>se.getRealPlayer())).filter(se=>{let fe=se;return fe.element?fe.element===g:!1}),K=i.get(g),W=s.get(g),De=fc(this._normalizer,h.keyframes,K,W),Le=this._buildPlayer(h,De,R);if(h.subTimeline&&o&&d.add(g),v){let se=new Vr(e,a,g);se.setRealPlayer(Le),c.push(se)}return Le});c.forEach(h=>{Ee(this.playersByQueriedElement,h.element,[]).push(h),h.onDone(()=>cT(this.playersByQueriedElement,h.element,h))}),u.forEach(h=>Ce(h,yc));let f=lt(p);return f.onDestroy(()=>{u.forEach(h=>$n(h,yc)),Pe(l,n.toStyles)}),d.forEach(h=>{Ee(o,h,[]).push(f)}),f}_buildPlayer(e,n,r){return n.length>0?this.driver.animate(e.element,n,e.duration,e.delay,e.easing,r):new at(e.duration,e.delay)}},Vr=class{namespaceId;triggerName;element;_player=new at;_containsRealPlayer=!1;_queuedCallbacks=new Map;destroyed=!1;parentPlayer=null;markedForDestroy=!1;disabled=!1;queued=!0;totalTime=0;constructor(e,n,r){this.namespaceId=e,this.triggerName=n,this.element=r}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((n,r)=>{n.forEach(o=>Bi(e,r,void 0,o))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){let n=this._player;n.triggerCallback&&e.onStart(()=>n.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,n){Ee(this._queuedCallbacks,e,[]).push(n)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return this.queued?!1:this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){let n=this._player;n.triggerCallback&&n.triggerCallback(e)}};function cT(t,e,n){let r=t.get(e);if(r){if(r.length){let o=r.indexOf(n);r.splice(o,1)}r.length==0&&t.delete(e)}return r}function uT(t){return t??null}function Zi(t){return t&&t.nodeType===1}function dT(t){return t=="start"||t=="done"}function $g(t,e){let n=t.style.display;return t.style.display=e??"none",n}function Ug(t,e,n,r,o){let i=[];n.forEach(l=>i.push($g(l)));let s=[];r.forEach((l,c)=>{let u=new Map;l.forEach(d=>{let p=e.computeStyle(c,d,o);u.set(d,p),(!p||p.length==0)&&(c[Fe]=lT,s.push(c))}),t.set(c,u)});let a=0;return n.forEach(l=>$g(l,i[a++])),s}function qg(t,e){let n=new Map;if(t.forEach(a=>n.set(a,[])),e.length==0)return n;let r=1,o=new Set(e),i=new Map;function s(a){if(!a)return r;let l=i.get(a);if(l)return l;let c=a.parentNode;return n.has(c)?l=c:o.has(c)?l=r:l=s(c),i.set(a,l),l}return e.forEach(a=>{let l=s(a);l!==r&&n.get(l).push(a)}),n}function Ce(t,e){t.classList?.add(e)}function $n(t,e){t.classList?.remove(e)}function fT(t,e,n){lt(n).onDone(()=>t.processLeaveNode(e))}function pT(t){let e=[];return Jg(t,e),e}function Jg(t,e){for(let n=0;n<t.length;n++){let r=t[n];r instanceof jn?Jg(r.players,e):e.push(r)}}function hT(t,e){let n=Object.keys(t),r=Object.keys(e);if(n.length!=r.length)return!1;for(let o=0;o<n.length;o++){let i=n[o];if(!e.hasOwnProperty(i)||t[i]!==e[i])return!1}return!0}function zg(t,e,n){let r=n.get(t);if(!r)return!1;let o=e.get(t);return o?r.forEach(i=>o.add(i)):e.set(t,r),n.delete(t),!0}var ns=class{_driver;_normalizer;_transitionEngine;_timelineEngine;_triggerCache={};onRemovalComplete=(e,n)=>{};constructor(e,n,r){this._driver=n,this._normalizer=r,this._transitionEngine=new Lc(e.body,n,r),this._timelineEngine=new Pc(e.body,n,r),this._transitionEngine.onRemovalComplete=(o,i)=>this.onRemovalComplete(o,i)}registerTrigger(e,n,r,o,i){let s=e+"-"+o,a=this._triggerCache[s];if(!a){let l=[],c=[],u=Hc(this._driver,i,l,c);if(l.length)throw Eg(o,l);a=eT(o,u,this._normalizer),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(n,o,a)}register(e,n){this._transitionEngine.register(e,n)}destroy(e,n){this._transitionEngine.destroy(e,n)}onInsert(e,n,r,o){this._transitionEngine.insertNode(e,n,r,o)}onRemove(e,n,r){this._transitionEngine.removeNode(e,n,r)}disableAnimations(e,n){this._transitionEngine.markElementAsDisabled(e,n)}process(e,n,r,o){if(r.charAt(0)=="@"){let[i,s]=pc(r),a=o;this._timelineEngine.command(i,n,s,a)}else this._transitionEngine.trigger(e,n,r,o)}listen(e,n,r,o,i){if(r.charAt(0)=="@"){let[s,a]=pc(r);return this._timelineEngine.listen(s,n,a,i)}return this._transitionEngine.listen(e,n,r,o,i)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(e){this._transitionEngine.afterFlushAnimationsDone(e)}};function gT(t,e){let n=null,r=null;return Array.isArray(e)&&e.length?(n=Dc(e[0]),e.length>1&&(r=Dc(e[e.length-1]))):e instanceof Map&&(n=Dc(e)),n||r?new mT(t,n,r):null}var mT=(()=>{class t{_element;_startStyles;_endStyles;static initialStylesByElement=new WeakMap;_state=0;_initialStyles;constructor(n,r,o){this._element=n,this._startStyles=r,this._endStyles=o;let i=t.initialStylesByElement.get(n);i||t.initialStylesByElement.set(n,i=new Map),this._initialStyles=i}start(){this._state<1&&(this._startStyles&&Pe(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Pe(this._element,this._initialStyles),this._endStyles&&(Pe(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(Et(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Et(this._element,this._endStyles),this._endStyles=null),Pe(this._element,this._initialStyles),this._state=3)}}return t})();function Dc(t){let e=null;return t.forEach((n,r)=>{yT(r)&&(e=e||new Map,e.set(r,n))}),e}function yT(t){return t==="display"||t==="position"}var rs=class{element;keyframes;options;_specialStyles;_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_duration;_delay;_initialized=!1;_finished=!1;_started=!1;_destroyed=!1;_finalKeyframe;_originalOnDoneFns=[];_originalOnStartFns=[];domPlayer;time=0;parentPlayer=null;currentSnapshot=new Map;constructor(e,n,r,o){this.element=e,this.keyframes=n,this.options=r,this._specialStyles=o,this._duration=r.duration,this._delay=r.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;let e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:new Map;let n=()=>this._onFinish();this.domPlayer.addEventListener("finish",n),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",n)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(e){let n=[];return e.forEach(r=>{n.push(Object.fromEntries(r))}),n}_triggerWebAnimation(e,n,r){return e.animate(this._convertKeyframesToObject(n),r)}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((r,o)=>{o!=="offset"&&e.set(o,this._finished?r:Gi(this.element,o))}),this.currentSnapshot=e}triggerCallback(e){let n=e==="start"?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}},Vc=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}containsElement(e,n){return hc(e,n)}getParentElement(e){return Ui(e)}query(e,n,r){return gc(e,n,r)}computeStyle(e,n,r){return Gi(e,n)}animate(e,n,r,o,i,s=[]){let a=o==0?"both":"forwards",l={duration:r,delay:o,fill:a};i&&(l.easing=i);let c=new Map,u=s.filter(f=>f instanceof rs);Rg(r,o)&&u.forEach(f=>{f.currentSnapshot.forEach((h,g)=>c.set(g,h))});let d=Ag(n).map(f=>new Map(f));d=Og(e,d,c);let p=gT(e,d);return new rs(e,d,l,p)}};function fP(t,e){return t==="noop"?new ns(e,new Qg,new Mc):new ns(e,new Vc,new Sc)}var Wg=class{_driver;_animationAst;constructor(e,n){this._driver=e;let r=[],i=Hc(e,n,r,[]);if(r.length)throw yg(r);this._animationAst=i}buildTimelines(e,n,r,o,i){let s=Array.isArray(n)?vc(n):n,a=Array.isArray(r)?vc(r):r,l=[];i=i||new Un;let c=$c(this._driver,e,this._animationAst,qi,kr,s,a,o,i,l);if(l.length)throw vg(l);return c}},Yi="@",Xg="@.disabled",os=class{namespaceId;delegate;engine;_onDestroy;\u0275type=0;constructor(e,n,r,o){this.namespaceId=e,this.delegate=n,this.engine=r,this._onDestroy=o}get data(){return this.delegate.data}destroyNode(e){this.delegate.destroyNode?.(e)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(e,n){return this.delegate.createElement(e,n)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,n){this.delegate.appendChild(e,n),this.engine.onInsert(this.namespaceId,n,e,!1)}insertBefore(e,n,r,o=!0){this.delegate.insertBefore(e,n,r),this.engine.onInsert(this.namespaceId,n,e,o)}removeChild(e,n,r){this.parentNode(n)&&this.engine.onRemove(this.namespaceId,n,this.delegate)}selectRootElement(e,n){return this.delegate.selectRootElement(e,n)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,n,r,o){this.delegate.setAttribute(e,n,r,o)}removeAttribute(e,n,r){this.delegate.removeAttribute(e,n,r)}addClass(e,n){this.delegate.addClass(e,n)}removeClass(e,n){this.delegate.removeClass(e,n)}setStyle(e,n,r,o){this.delegate.setStyle(e,n,r,o)}removeStyle(e,n,r){this.delegate.removeStyle(e,n,r)}setProperty(e,n,r){n.charAt(0)==Yi&&n==Xg?this.disableAnimations(e,!!r):this.delegate.setProperty(e,n,r)}setValue(e,n){this.delegate.setValue(e,n)}listen(e,n,r,o){return this.delegate.listen(e,n,r,o)}disableAnimations(e,n){this.engine.disableAnimations(e,n)}},jc=class extends os{factory;constructor(e,n,r,o,i){super(n,r,o,i),this.factory=e,this.namespaceId=n}setProperty(e,n,r){n.charAt(0)==Yi?n.charAt(1)=="."&&n==Xg?(r=r===void 0?!0:!!r,this.disableAnimations(e,r)):this.engine.process(this.namespaceId,e,n.slice(1),r):this.delegate.setProperty(e,n,r)}listen(e,n,r,o){if(n.charAt(0)==Yi){let i=vT(e),s=n.slice(1),a="";return s.charAt(0)!=Yi&&([s,a]=ET(s)),this.engine.listen(this.namespaceId,i,s,a,l=>{let c=l._data||-1;this.factory.scheduleListenerCallback(c,r,l)})}return this.delegate.listen(e,n,r,o)}};function vT(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}function ET(t){let e=t.indexOf("."),n=t.substring(0,e),r=t.slice(e+1);return[n,r]}var Gg=class{delegate;engine;_zone;_currentId=0;_microtaskId=1;_animationCallbacksBuffer=[];_rendererCache=new Map;_cdRecurDepth=0;constructor(e,n,r){this.delegate=e,this.engine=n,this._zone=r,n.onRemovalComplete=(o,i)=>{i?.removeChild(null,o)}}createRenderer(e,n){let r="",o=this.delegate.createRenderer(e,n);if(!e||!n?.data?.animation){let c=this._rendererCache,u=c.get(o);if(!u){let d=()=>c.delete(o);u=new os(r,o,this.engine,d),c.set(o,u)}return u}let i=n.id,s=n.id+"-"+this._currentId;this._currentId++,this.engine.register(s,e);let a=c=>{Array.isArray(c)?c.forEach(a):this.engine.registerTrigger(i,s,e,c.name,c)};return n.data.animation.forEach(a),new jc(this,s,o,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,n,r){if(e>=0&&e<this._microtaskId){this._zone.run(()=>n(r));return}let o=this._animationCallbacksBuffer;o.length==0&&queueMicrotask(()=>{this._zone.run(()=>{o.forEach(i=>{let[s,a]=i;s(a)}),this._animationCallbacksBuffer=[]})}),o.push([n,r])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}componentReplaced(e){this.engine.flush(),this.delegate.componentReplaced?.(e)}};export{G as a,pe as b,IT as c,_T as d,Kc as e,wT as f,bT as g,z as h,Em as i,P as j,As as k,ks as l,Me as m,Qn as n,Zn as o,wm as p,Ct as q,He as r,xm as s,Am as t,km as u,xt as v,ut as w,Hm as x,At as y,Jn as z,wo as A,$m as B,Um as C,Xn as D,qm as E,zm as F,kt as G,Wm as H,Os as I,Gm as J,Qm as K,Km as L,er as M,Ps as N,Zm as O,Xm as P,ey as Q,Fs as R,ty as S,ny as T,ry as U,oy as V,iy as W,xu as X,sy as Y,Au as Z,m as _,Ye as $,$d as aa,U as ba,dy as ca,oR as da,F as ea,k as fa,we as ga,A as ha,ky as ia,af as ja,Xe as ka,cf as la,uf as ma,iR as na,sR as oa,aR as pa,lR as qa,cR as ra,uR as sa,dR as ta,nt as ua,An as va,gt as wa,Tr as xa,dt as ya,ue as za,Jo as Aa,mt as Ba,fR as Ca,pR as Da,Ti as Ea,Uv as Fa,hR as Ga,gR as Ha,Kv as Ia,mR as Ja,yR as Ka,vR as La,Mi as Ma,On as Na,oE as Oa,fr as Pa,Pn as Qa,Vl as Ra,ER as Sa,IR as Ta,_R as Ua,wR as Va,bR as Wa,hp as Xa,$E as Ya,xi as Za,DR as _a,qE as $a,zE as ab,TR as bb,MR as cb,SR as db,xa as eb,NR as fb,xR as gb,ri as hb,d_ as ib,Vi as jb,oi as kb,FR as lb,ji as mb,LR as nb,tc as ob,jR as pb,HR as qb,BR as rb,gr as sb,X_ as tb,qR as ub,uh as vb,zR as wb,ow as xb,WR as yb,GR as zb,cw as Ab,QR as Bb,Ew as Cb,KR as Db,Nw as Eb,xw as Fb,ZR as Gb,Aw as Hb,vh as Ib,Rw as Jb,YR as Kb,Ow as Lb,Dn as Mb,JR as Nb,XR as Ob,Uw as Pb,nb as Qb,rb as Rb,ob as Sb,eO as Tb,tO as Ub,nO as Vb,rO as Wb,oO as Xb,iO as Yb,sO as Zb,aO as _b,Oh as $b,Ph as ac,yb as bc,Fh as cc,Lh as dc,Ib as ec,lO as fc,wb as gc,cO as hc,Tb as ic,uO as jc,fi as kc,xb as lc,dO as mc,fO as nc,pO as oc,Ob as pc,jh as qc,Pb as rc,hO as sc,gO as tc,mO as uc,yO as vc,vO as wc,EO as xc,IO as yc,_O as zc,wO as Ac,Lb as Bc,Hh as Cc,Vb as Dc,jb as Ec,bO as Fc,Hb as Gc,Bb as Hc,DO as Ic,TO as Jc,MO as Kc,SO as Lc,CO as Mc,NO as Nc,xO as Oc,AO as Pc,kO as Qc,RO as Rc,OO as Sc,PO as Tc,FO as Uc,LO as Vc,VO as Wc,jO as Xc,HO as Yc,BO as Zc,Kh as _c,aD as $c,$O as ad,hD as bd,gD as cd,UO as dd,qO as ed,zO as fd,WO as gd,GO as hd,QO as id,mD as jd,KO as kd,ZO as ld,JO as md,XO as nd,lc as od,eP as pd,tP as qd,nP as rd,rP as sd,oP as td,iP as ud,Ui as vd,xg as wd,AD as xd,hc as yd,gc as zd,qi as Ad,kr as Bd,Ag as Cd,LD as Dd,Rg as Ed,Qg as Fd,Pg as Gd,Tc as Hd,Mc as Id,Sc as Jd,Vr as Kd,ns as Ld,rs as Md,Vc as Nd,fP as Od,Wg as Pd,os as Qd,jc as Rd,Gg as Sd};