@everymatrix/prod-dm-input-text 1.0.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,7 @@
1
+ var Hl=Object.create;var Br=Object.defineProperty,$l=Object.defineProperties,Ul=Object.getOwnPropertyDescriptor,zl=Object.getOwnPropertyDescriptors,Gl=Object.getOwnPropertyNames,an=Object.getOwnPropertySymbols,ql=Object.getPrototypeOf,Hr=Object.prototype.hasOwnProperty,fs=Object.prototype.propertyIsEnumerable;var ds=(e,t,n)=>t in e?Br(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,k=(e,t)=>{for(var n in t||={})Hr.call(t,n)&&ds(e,n,t[n]);if(an)for(var n of an(t))fs.call(t,n)&&ds(e,n,t[n]);return e},V=(e,t)=>$l(e,zl(t));var Xy=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,n)=>(typeof require<"u"?require:t)[n]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var ev=(e,t)=>{var n={};for(var r in e)Hr.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&an)for(var r of an(e))t.indexOf(r)<0&&fs.call(e,r)&&(n[r]=e[r]);return n};var tv=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Wl=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Gl(t))!Hr.call(e,o)&&o!==n&&Br(e,o,{get:()=>t[o],enumerable:!(r=Ul(t,o))||r.enumerable});return e};var nv=(e,t,n)=>(n=e!=null?Hl(ql(e)):{},Wl(t||!e||!e.__esModule?Br(n,"default",{value:e,enumerable:!0}):n,e));function qr(e,t){return Object.is(e,t)}var R=null,At=!1,Wr=1,G=Symbol("SIGNAL");function E(e){let t=R;return R=e,t}function ps(){return R}function Zl(){return At}var ke={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,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function cn(e){if(At)throw new Error("");if(R===null)return;R.consumerOnSignalRead(e);let t=R.nextProducerIndex++;if(dn(R),t<R.producerNode.length&&R.producerNode[t]!==e&&Rt(R)){let n=R.producerNode[t];ln(n,R.producerIndexOfThis[t])}R.producerNode[t]!==e&&(R.producerNode[t]=e,R.producerIndexOfThis[t]=Rt(R)?ys(e,R,t):0),R.producerLastReadVersion[t]=e.version}function Ql(){Wr++}function Zr(e){if(!(Rt(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===Wr)){if(!e.producerMustRecompute(e)&&!Ft(e)){zr(e);return}e.producerRecomputeValue(e),zr(e)}}function hs(e){if(e.liveConsumerNode===void 0)return;let t=At;At=!0;try{for(let n of e.liveConsumerNode)n.dirty||ms(n)}finally{At=t}}function gs(){return R?.consumerAllowSignalWrites!==!1}function ms(e){e.dirty=!0,hs(e),e.consumerMarkedDirty?.(e)}function zr(e){e.dirty=!1,e.lastCleanEpoch=Wr}function ot(e){return e&&(e.nextProducerIndex=0),E(e)}function Ot(e,t){if(E(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(Rt(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)ln(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Ft(e){dn(e);for(let t=0;t<e.producerNode.length;t++){let n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(Zr(n),r!==n.version))return!0}return!1}function it(e){if(dn(e),Rt(e))for(let t=0;t<e.producerNode.length;t++)ln(e.producerNode[t],e.producerIndexOfThis[t]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function ys(e,t,n){if(vs(e),e.liveConsumerNode.length===0&&Ds(e))for(let r=0;r<e.producerNode.length;r++)e.producerIndexOfThis[r]=ys(e.producerNode[r],e,r);return e.liveConsumerIndexOfThis.push(n),e.liveConsumerNode.push(t)-1}function ln(e,t){if(vs(e),e.liveConsumerNode.length===1&&Ds(e))for(let r=0;r<e.producerNode.length;r++)ln(e.producerNode[r],e.producerIndexOfThis[r]);let n=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[n],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[n],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){let r=e.liveConsumerIndexOfThis[t],o=e.liveConsumerNode[t];dn(o),o.producerIndexOfThis[r]=t}}function Rt(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function dn(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function vs(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function Ds(e){return e.producerNode!==void 0}function Es(e){let t=Object.create(Yl);t.computation=e;let n=()=>{if(Zr(t),cn(t),t.value===un)throw t.error;return t.value};return n[G]=t,n}var $r=Symbol("UNSET"),Ur=Symbol("COMPUTING"),un=Symbol("ERRORED"),Yl=V(k({},ke),{value:$r,dirty:!0,error:null,equal:qr,producerMustRecompute(e){return e.value===$r||e.value===Ur},producerRecomputeValue(e){if(e.value===Ur)throw new Error("Detected cycle in computations.");let t=e.value;e.value=Ur;let n=ot(e),r;try{r=e.computation()}catch(o){r=un,e.error=o}finally{Ot(e,n)}if(t!==$r&&t!==un&&r!==un&&e.equal(t,r)){e.value=t;return}e.value=r,e.version++}});function Kl(){throw new Error}var Is=Kl;function ws(){Is()}function Cs(e){Is=e}var Jl=null;function _s(e){let t=Object.create(Qr);t.value=e;let n=()=>(cn(t),t.value);return n[G]=t,n}function fn(e,t){gs()||ws(),e.equal(e.value,t)||(e.value=t,Xl(e))}function bs(e,t){gs()||ws(),fn(e,t(e.value))}var Qr=V(k({},ke),{equal:qr,value:void 0});function Xl(e){e.version++,Ql(),hs(e),Jl?.()}function Ms(e,t,n){let r=Object.create(ed);n&&(r.consumerAllowSignalWrites=!0),r.fn=e,r.schedule=t;let o=u=>{r.cleanupFn=u};function i(u){return u.fn===null&&u.schedule===null}function s(u){i(u)||(it(u),u.cleanupFn(),u.fn=null,u.schedule=null,u.cleanupFn=Gr)}let a=()=>{if(r.fn===null)return;if(Zl())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(r.dirty=!1,r.hasRun&&!Ft(r))return;r.hasRun=!0;let u=ot(r);try{r.cleanupFn(),r.cleanupFn=Gr,r.fn(o)}finally{Ot(r,u)}};return r.ref={notify:()=>ms(r),run:a,cleanup:()=>r.cleanupFn(),destroy:()=>s(r),[G]:r},r.ref}var Gr=()=>{},ed=V(k({},ke),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule!==null&&e.schedule(e.ref)},hasRun:!1,cleanupFn:Gr});function w(e){return typeof e=="function"}function pn(e){let n=e(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var hn=pn(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:
2
+ ${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
3
+ `)}`:"",this.name="UnsubscriptionError",this.errors=n});function kt(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var B=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(w(r))try{r()}catch(i){t=i instanceof hn?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Ts(i)}catch(s){t=t??[],s instanceof hn?t=[...t,...s.errors]:t.push(s)}}if(t)throw new hn(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Ts(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}}_hasParent(t){let{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){let{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&kt(n,t)}remove(t){let{_finalizers:n}=this;n&&kt(n,t),t instanceof e&&t._removeParent(this)}};B.EMPTY=(()=>{let e=new B;return e.closed=!0,e})();var Yr=B.EMPTY;function gn(e){return e instanceof B||e&&"closed"in e&&w(e.remove)&&w(e.add)&&w(e.unsubscribe)}function Ts(e){w(e)?e():e.unsubscribe()}var ue={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var st={setTimeout(e,t,...n){let{delegate:r}=st;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=st;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function mn(e){st.setTimeout(()=>{let{onUnhandledError:t}=ue;if(t)t(e);else throw e})}function Kr(){}var Ss=Jr("C",void 0,void 0);function Ns(e){return Jr("E",void 0,e)}function xs(e){return Jr("N",e,void 0)}function Jr(e,t,n){return{kind:e,value:t,error:n}}var Pe=null;function at(e){if(ue.useDeprecatedSynchronousErrorHandling){let t=!Pe;if(t&&(Pe={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=Pe;if(Pe=null,n)throw r}}else e()}function As(e){ue.useDeprecatedSynchronousErrorHandling&&Pe&&(Pe.errorThrown=!0,Pe.error=e)}var Le=class extends B{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,gn(t)&&t.add(this)):this.destination=rd}static create(t,n,r){return new ut(t,n,r)}next(t){this.isStopped?eo(xs(t),this):this._next(t)}error(t){this.isStopped?eo(Ns(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?eo(Ss,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},td=Function.prototype.bind;function Xr(e,t){return td.call(e,t)}var to=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){yn(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){yn(r)}else yn(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){yn(n)}}},ut=class extends Le{constructor(t,n,r){super();let o;if(w(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&ue.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Xr(t.next,i),error:t.error&&Xr(t.error,i),complete:t.complete&&Xr(t.complete,i)}):o=t}this.destination=new to(o)}};function yn(e){ue.useDeprecatedSynchronousErrorHandling?As(e):mn(e)}function nd(e){throw e}function eo(e,t){let{onStoppedNotification:n}=ue;n&&st.setTimeout(()=>n(e,t))}var rd={closed:!0,next:Kr,error:nd,complete:Kr};var ct=typeof Symbol=="function"&&Symbol.observable||"@@observable";function vn(e){return e}function Rs(e){return e.length===0?vn:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var N=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=id(n)?n:new ut(n,r,o);return at(()=>{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=Os(r),new r((o,i)=>{let s=new ut({next:a=>{try{n(a)}catch(u){i(u),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)}[ct](){return this}pipe(...n){return Rs(n)(this)}toPromise(n){return n=Os(n),new n((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function Os(e){var t;return(t=e??ue.Promise)!==null&&t!==void 0?t:Promise}function od(e){return e&&w(e.next)&&w(e.error)&&w(e.complete)}function id(e){return e&&e instanceof Le||od(e)&&gn(e)}function sd(e){return w(e?.lift)}function fe(e){return t=>{if(sd(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function ee(e,t,n,r,o){return new no(e,t,n,r,o)}var no=class extends Le{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(u){t.error(u)}}:super._next,this._error=o?function(a){try{o(a)}catch(u){t.error(u)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};var Fs=pn(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var pe=(()=>{class e extends N{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new Dn(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Fs}next(n){at(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){at(()=>{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(){at(()=>{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?Yr:(this.currentObservers=null,i.push(n),new B(()=>{this.currentObservers=null,kt(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new N;return n.source=this,n}}return e.create=(t,n)=>new Dn(t,n),e})(),Dn=class extends pe{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,t)}error(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,t)}complete(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t)}_subscribe(t){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&r!==void 0?r:Yr}};var Pt=class extends pe{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}};var ro={now(){return(ro.delegate||Date).now()},delegate:void 0};var oo=class extends pe{constructor(t=1/0,n=1/0,r=ro){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!t.closed;s+=r?1:2)t.next(i[s]);return this._checkFinalizedStatuses(t),n}_trimBuffer(){let{_bufferSize:t,_timestampProvider:n,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*t;if(t<1/0&&i<r.length&&r.splice(0,r.length-i),!o){let s=n.now(),a=0;for(let u=1;u<r.length&&r[u]<=s;u+=2)a=u;a&&r.splice(0,a+1)}}};var ks=new N(e=>e.complete());function Ps(e){return e&&w(e.schedule)}function io(e){return e[e.length-1]}function Ls(e){return w(io(e))?e.pop():void 0}function js(e){return Ps(io(e))?e.pop():void 0}function Vs(e,t){return typeof io(e)=="number"?e.pop():t}function Hs(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(l){try{c(r.next(l))}catch(d){s(d)}}function u(l){try{c(r.throw(l))}catch(d){s(d)}}function c(l){l.done?i(l.value):o(l.value).then(a,u)}c((r=r.apply(e,t||[])).next())})}function Bs(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function je(e){return this instanceof je?(this.v=e,this):new je(e)}function $s(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(f){return function(h){return Promise.resolve(h).then(f,d)}}function a(f,h){r[f]&&(o[f]=function(_){return new Promise(function(F,T){i.push([f,_,F,T])>1||u(f,_)})},h&&(o[f]=h(o[f])))}function u(f,h){try{c(r[f](h))}catch(_){p(i[0][3],_)}}function c(f){f.value instanceof je?Promise.resolve(f.value.v).then(l,d):p(i[0][2],f)}function l(f){u("next",f)}function d(f){u("throw",f)}function p(f,h){f(h),i.shift(),i.length&&u(i[0][0],i[0][1])}}function Us(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof Bs=="function"?Bs(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,u){s=e[i](s),o(a,u,s.done,s.value)})}}function o(i,s,a,u){Promise.resolve(u).then(function(c){i({value:c,done:a})},s)}}var En=e=>e&&typeof e.length=="number"&&typeof e!="function";function In(e){return w(e?.then)}function wn(e){return w(e[ct])}function Cn(e){return Symbol.asyncIterator&&w(e?.[Symbol.asyncIterator])}function _n(e){return new TypeError(`You provided ${e!==null&&typeof e=="object"?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function ad(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var bn=ad();function Mn(e){return w(e?.[bn])}function Tn(e){return $s(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield je(n.read());if(o)return yield je(void 0);yield yield je(r)}}finally{n.releaseLock()}})}function Sn(e){return w(e?.getReader)}function L(e){if(e instanceof N)return e;if(e!=null){if(wn(e))return ud(e);if(En(e))return cd(e);if(In(e))return ld(e);if(Cn(e))return zs(e);if(Mn(e))return dd(e);if(Sn(e))return fd(e)}throw _n(e)}function ud(e){return new N(t=>{let n=e[ct]();if(w(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function cd(e){return new N(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function ld(e){return new N(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,mn)})}function dd(e){return new N(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function zs(e){return new N(t=>{pd(e,t).catch(n=>t.error(n))})}function fd(e){return zs(Tn(e))}function pd(e,t){var n,r,o,i;return Hs(this,void 0,void 0,function*(){try{for(n=Us(e);r=yield n.next(),!r.done;){let s=r.value;if(t.next(s),t.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})}function te(e,t,n,r=0,o=!1){let i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function Nn(e,t=0){return fe((n,r)=>{n.subscribe(ee(r,o=>te(r,e,()=>r.next(o),t),()=>te(r,e,()=>r.complete(),t),o=>te(r,e,()=>r.error(o),t)))})}function xn(e,t=0){return fe((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Gs(e,t){return L(e).pipe(xn(t),Nn(t))}function qs(e,t){return L(e).pipe(xn(t),Nn(t))}function Ws(e,t){return new N(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function Zs(e,t){return new N(n=>{let r;return te(n,t,()=>{r=e[bn](),te(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>w(r?.return)&&r.return()})}function An(e,t){if(!e)throw new Error("Iterable cannot be null");return new N(n=>{te(n,t,()=>{let r=e[Symbol.asyncIterator]();te(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Qs(e,t){return An(Tn(e),t)}function Ys(e,t){if(e!=null){if(wn(e))return Gs(e,t);if(En(e))return Ws(e,t);if(In(e))return qs(e,t);if(Cn(e))return An(e,t);if(Mn(e))return Zs(e,t);if(Sn(e))return Qs(e,t)}throw _n(e)}function so(e,t){return t?Ys(e,t):L(e)}function Ve(e,t){return fe((n,r)=>{let o=0;n.subscribe(ee(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:hd}=Array;function gd(e,t){return hd(t)?e(...t):e(t)}function Ks(e){return Ve(t=>gd(e,t))}var{isArray:md}=Array,{getPrototypeOf:yd,prototype:vd,keys:Dd}=Object;function Js(e){if(e.length===1){let t=e[0];if(md(t))return{args:t,keys:null};if(Ed(t)){let n=Dd(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function Ed(e){return e&&typeof e=="object"&&yd(e)===vd}function Xs(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function ea(e,t,n,r,o,i,s,a){let u=[],c=0,l=0,d=!1,p=()=>{d&&!u.length&&!c&&t.complete()},f=_=>c<r?h(_):u.push(_),h=_=>{i&&t.next(_),c++;let F=!1;L(n(_,l++)).subscribe(ee(t,T=>{o?.(T),i?f(T):t.next(T)},()=>{F=!0},void 0,()=>{if(F)try{for(c--;u.length&&c<r;){let T=u.shift();s?te(t,s,()=>h(T)):h(T)}p()}catch(T){t.error(T)}}))};return e.subscribe(ee(t,f,()=>{d=!0,p()})),()=>{a?.()}}function ao(e,t,n=1/0){return w(t)?ao((r,o)=>Ve((i,s)=>t(r,i,o,s))(L(e(r,o))),n):(typeof t=="number"&&(n=t),fe((r,o)=>ea(r,o,e,n)))}function ta(e=1/0){return ao(vn,e)}function Id(...e){let t=Ls(e),{args:n,keys:r}=Js(e),o=new N(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),u=s,c=s;for(let l=0;l<s;l++){let d=!1;L(n[l]).subscribe(ee(i,p=>{d||(d=!0,c--),a[l]=p},()=>u--,void 0,()=>{(!u||!d)&&(c||i.next(r?Xs(r,a):a),i.complete())}))}});return t?o.pipe(Ks(t)):o}function wd(...e){let t=js(e),n=Vs(e,1/0),r=e;return r.length?r.length===1?L(r[0]):ta(n)(so(r,t)):ks}function Cd(e,t){return fe((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(ee(r,u=>{o?.unsubscribe();let c=0,l=i++;L(e(u,l)).subscribe(o=ee(r,d=>r.next(t?t(u,d,l,c++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}var Ha="https://g.co/ng/security#xss",y=class extends Error{code;constructor(t,n){super($a(t,n)),this.code=t}};function $a(e,t){return`${`NG0${Math.abs(e)}`}${t?": "+t:""}`}var Ua=Symbol("InputSignalNode#UNSET"),bd=V(k({},Qr),{transformFn:void 0,applyValueToInputSignal(e,t){fn(e,t)}});function za(e,t){let n=Object.create(bd);n.value=e,n.transformFn=t?.transform;function r(){if(cn(n),n.value===Ua)throw new y(-950,!1);return n.value}return r[G]=n,r}function Kt(e){return{toString:e}.toString()}var Rn="__parameters__";function Md(e){return function(...n){if(e){let r=e(...n);for(let o in r)this[o]=r[o]}}}function Ga(e,t,n){return Kt(()=>{let r=Md(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;let s=new o(...i);return a.annotation=s,a;function a(u,c,l){let d=u.hasOwnProperty(Rn)?u[Rn]:Object.defineProperty(u,Rn,{value:[]})[Rn];for(;d.length<=l;)d.push(null);return(d[l]=d[l]||[]).push(s),u}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}var Td=globalThis;function M(e){for(let t in e)if(e[t]===M)return t;throw Error("Could not find renamed property on target object.")}function Sd(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function $(e){if(typeof e=="string")return e;if(Array.isArray(e))return"["+e.map($).join(", ")+"]";if(e==null)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;let t=e.toString();if(t==null)return""+t;let n=t.indexOf(`
4
+ `);return n===-1?t:t.substring(0,n)}function Eo(e,t){return e==null||e===""?t===null?"":t:t==null||t===""?e:e+" "+t}var Nd=M({__forward_ref__:M});function qa(e){return e.__forward_ref__=qa,e.toString=function(){return $(this())},e}function H(e){return Wa(e)?e():e}function Wa(e){return typeof e=="function"&&e.hasOwnProperty(Nd)&&e.__forward_ref__===qa}function x(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function vi(e){return{providers:e.providers||[],imports:e.imports||[]}}function Di(e){return na(e,Za)||na(e,Qa)}function na(e,t){return e.hasOwnProperty(t)?e[t]:null}function xd(e){let t=e&&(e[Za]||e[Qa]);return t||null}function ra(e){return e&&(e.hasOwnProperty(oa)||e.hasOwnProperty(Ad))?e[oa]:null}var Za=M({\u0275prov:M}),oa=M({\u0275inj:M}),Qa=M({ngInjectableDef:M}),Ad=M({ngInjectorDef:M}),b=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,n){this._desc=t,this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=x({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Ya(e){return e&&!!e.\u0275providers}var Rd=M({\u0275cmp:M}),Od=M({\u0275dir:M}),Fd=M({\u0275pipe:M}),kd=M({\u0275mod:M}),$n=M({\u0275fac:M}),Bt=M({__NG_ELEMENT_ID__:M}),ia=M({__NG_ENV_ID__:M});function wr(e){return typeof e=="string"?e:e==null?"":String(e)}function Pd(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():wr(e)}function Ld(e,t){let n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new y(-200,e)}function Ei(e,t){throw new y(-201,!1)}var I=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(I||{}),Io;function Ka(){return Io}function ne(e){let t=Io;return Io=e,t}function Ja(e,t,n){let r=Di(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&I.Optional)return null;if(t!==void 0)return t;Ei(e,"Injector")}var jd={},$t=jd,wo="__NG_DI_FLAG__",Un="ngTempTokenPath",Vd="ngTokenPath",Bd=/\n/gm,Hd="\u0275",sa="__source",pt;function $d(){return pt}function Ce(e){let t=pt;return pt=e,t}function Ud(e,t=I.Default){if(pt===void 0)throw new y(-203,!1);return pt===null?Ja(e,void 0,t):pt.get(e,t&I.Optional?null:void 0,t)}function U(e,t=I.Default){return(Ka()||Ud)(H(e),t)}function C(e,t=I.Default){return U(e,Cr(t))}function Cr(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Co(e){let t=[];for(let n=0;n<e.length;n++){let r=H(e[n]);if(Array.isArray(r)){if(r.length===0)throw new y(900,!1);let o,i=I.Default;for(let s=0;s<r.length;s++){let a=r[s],u=zd(a);typeof u=="number"?u===-1?o=a.token:i|=u:o=a}t.push(U(o,i))}else t.push(U(r))}return t}function Xa(e,t){return e[wo]=t,e.prototype[wo]=t,e}function zd(e){return e[wo]}function Gd(e,t,n,r){let o=e[Un];throw t[sa]&&o.unshift(t[sa]),e.message=qd(`
5
+ `+e.message,o,n,r),e[Vd]=o,e[Un]=null,e}function qd(e,t,n,r=null){e=e&&e.charAt(0)===`
6
+ `&&e.charAt(1)==Hd?e.slice(2):e;let o=$(t);if(Array.isArray(t))o=t.map($).join(" -> ");else if(typeof t=="object"){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):$(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(Bd,`
7
+ `)}`}var eu=Xa(Ga("Optional"),8);var tu=Xa(Ga("SkipSelf"),4);function gt(e,t){let n=e.hasOwnProperty($n);return n?e[$n]:null}function Wd(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let o=e[r],i=t[r];if(n&&(o=n(o),i=n(i)),i!==o)return!1}return!0}function Zd(e){return e.flat(Number.POSITIVE_INFINITY)}function Ii(e,t){e.forEach(n=>Array.isArray(n)?Ii(n,t):t(n))}function nu(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function zn(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Qd(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function Yd(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(o===1)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;){let i=o-2;e[o]=e[i],o--}e[t]=n,e[t+1]=r}}function _r(e,t,n){let r=Jt(e,t);return r>=0?e[r|1]=n:(r=~r,Yd(e,r,t,n)),r}function uo(e,t){let n=Jt(e,t);if(n>=0)return e[n|1]}function Jt(e,t){return Kd(e,t,1)}function Kd(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=e[i<<n];if(t===s)return i<<n;s>t?o=i:r=i+1}return~(o<<n)}var mt={},q=[],Gn=new b(""),ru=new b("",-1),ou=new b(""),qn=class{get(t,n=$t){if(n===$t){let r=new Error(`NullInjectorError: No provider for ${$(t)}!`);throw r.name="NullInjectorError",r}return n}};function Jd(e,t){let n=e[kd]||null;if(!n&&t===!0)throw new Error(`Type ${$(e)} does not have '\u0275mod' property.`);return n}function yt(e){return e[Rd]||null}function iu(e){return e[Od]||null}function su(e){return e[Fd]||null}function Xd(e){let t=yt(e)||iu(e)||su(e);return t!==null&&t.standalone}function ef(e){return{\u0275providers:e}}function tf(...e){return{\u0275providers:au(!0,e),\u0275fromNgModule:!0}}function au(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return Ii(t,s=>{let a=s;_o(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&uu(o,i),n}function uu(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];wi(o,i=>{t(i,r)})}}function _o(e,t,n,r){if(e=H(e),!e)return!1;let o=null,i=ra(e),s=!i&&yt(e);if(!i&&!s){let u=e.ngModule;if(i=ra(u),i)o=u;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let u=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of u)_o(c,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let c;try{Ii(i.imports,l=>{_o(l,t,n,r)&&(c||=[],c.push(l))})}finally{}c!==void 0&&uu(c,t)}if(!a){let c=gt(o)||(()=>new o);t({provide:o,useFactory:c,deps:q},o),t({provide:ou,useValue:o,multi:!0},o),t({provide:Gn,useValue:()=>U(o),multi:!0},o)}let u=i.providers;if(u!=null&&!a){let c=e;wi(u,l=>{t(l,c)})}}else return!1;return o!==e&&e.providers!==void 0}function wi(e,t){for(let n of e)Ya(n)&&(n=n.\u0275providers),Array.isArray(n)?wi(n,t):t(n)}var nf=M({provide:String,useValue:M});function cu(e){return e!==null&&typeof e=="object"&&nf in e}function rf(e){return!!(e&&e.useExisting)}function of(e){return!!(e&&e.useFactory)}function vt(e){return typeof e=="function"}function sf(e){return!!e.useClass}var lu=new b(""),Pn={},af={},co;function Ci(){return co===void 0&&(co=new qn),co}var Te=class{},Ut=class extends Te{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,Mo(t,s=>this.processProvider(s)),this.records.set(ru,lt(void 0,this)),o.has("environment")&&this.records.set(Te,lt(void 0,this));let i=this.records.get(lu);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(ou,q,I.Self))}destroy(){jt(this),this._destroyed=!0;let t=E(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(),E(t)}}onDestroy(t){return jt(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){jt(this);let n=Ce(this),r=ne(void 0),o;try{return t()}finally{Ce(n),ne(r)}}get(t,n=$t,r=I.Default){if(jt(this),t.hasOwnProperty(ia))return t[ia](this);r=Cr(r);let o,i=Ce(this),s=ne(void 0);try{if(!(r&I.SkipSelf)){let u=this.records.get(t);if(u===void 0){let c=ff(t)&&Di(t);c&&this.injectableDefInScope(c)?u=lt(bo(t),Pn):u=null,this.records.set(t,u)}if(u!=null)return this.hydrate(t,u)}let a=r&I.Self?Ci():this.parent;return n=r&I.Optional&&n===$t?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[Un]=a[Un]||[]).unshift($(t)),i)throw a;return Gd(a,t,"R3InjectorError",this.source)}else throw a}finally{ne(s),Ce(i)}}resolveInjectorInitializers(){let t=E(null),n=Ce(this),r=ne(void 0),o;try{let i=this.get(Gn,q,I.Self);for(let s of i)s()}finally{Ce(n),ne(r),E(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push($(r));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=H(t);let n=vt(t)?t:H(t&&t.provide),r=cf(t);if(!vt(t)&&t.multi===!0){let o=this.records.get(n);o||(o=lt(void 0,Pn,!0),o.factory=()=>Co(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){let r=E(null);try{return n.value===Pn&&(n.value=af,n.value=n.factory()),typeof n.value=="object"&&n.value&&df(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{E(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=H(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function bo(e){let t=Di(e),n=t!==null?t.factory:gt(e);if(n!==null)return n;if(e instanceof b)throw new y(204,!1);if(e instanceof Function)return uf(e);throw new y(204,!1)}function uf(e){if(e.length>0)throw new y(204,!1);let n=xd(e);return n!==null?()=>n.factory(e):()=>new e}function cf(e){if(cu(e))return lt(void 0,e.useValue);{let t=du(e);return lt(t,Pn)}}function du(e,t,n){let r;if(vt(e)){let o=H(e);return gt(o)||bo(o)}else if(cu(e))r=()=>H(e.useValue);else if(of(e))r=()=>e.useFactory(...Co(e.deps||[]));else if(rf(e))r=()=>U(H(e.useExisting));else{let o=H(e&&(e.useClass||e.provide));if(lf(e))r=()=>new o(...Co(e.deps));else return gt(o)||bo(o)}return r}function jt(e){if(e.destroyed)throw new y(205,!1)}function lt(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function lf(e){return!!e.deps}function df(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function ff(e){return typeof e=="function"||typeof e=="object"&&e instanceof b}function Mo(e,t){for(let n of e)Array.isArray(n)?Mo(n,t):n&&Ya(n)?Mo(n.\u0275providers,t):t(n)}function fu(e,t){e instanceof Ut&&jt(e);let n,r=Ce(e),o=ne(void 0);try{return t()}finally{Ce(r),ne(o)}}function pu(){return Ka()!==void 0||$d()!=null}function hu(e){if(!pu())throw new y(-203,!1)}function pf(e){let t=Td.ng;if(t&&t.\u0275compilerFacade)return t.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}function hf(e){return typeof e=="function"}var Ie=0,m=1,g=2,j=3,le=4,Y=5,zt=6,Wn=7,re=8,Dt=9,De=10,S=11,Gt=12,aa=13,Tt=14,oe=15,He=16,dt=17,Ee=18,br=19,gu=20,be=21,Ln=22,$e=23,J=24,Q=25,mu=1;var Ue=7,Zn=8,Et=9,W=10,Qn=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(Qn||{});function Me(e){return Array.isArray(e)&&typeof e[mu]=="object"}function we(e){return Array.isArray(e)&&e[mu]===!0}function _i(e){return(e.flags&4)!==0}function Mr(e){return e.componentOffset>-1}function Tr(e){return(e.flags&1)===1}function Se(e){return!!e.template}function To(e){return(e[g]&512)!==0}var So=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function yu(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var vu=(()=>{let e=()=>Du;return e.ngInherit=!0,e})();function Du(e){return e.type.prototype.ngOnChanges&&(e.setInput=mf),gf}function gf(){let e=Iu(this),t=e?.current;if(t){let n=e.previous;if(n===mt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function mf(e,t,n,r,o){let i=this.declaredInputs[r],s=Iu(e)||yf(e,{previous:mt,current:null}),a=s.current||(s.current={}),u=s.previous,c=u[i];a[i]=new So(c&&c.currentValue,n,u===mt),yu(e,t,o,n)}var Eu="__ngSimpleChanges__";function Iu(e){return e[Eu]||null}function yf(e,t){return e[Eu]=t}var ua=null;var he=function(e,t,n){ua?.(e,t,n)},wu="svg",vf="math";function me(e){for(;Array.isArray(e);)e=e[Ie];return e}function Cu(e,t){return me(t[e])}function se(e,t){return me(t[e.index])}function bi(e,t){return e.data[t]}function Df(e,t){return e[t]}function Re(e,t){let n=t[e];return Me(n)?n:n[Ie]}function Ef(e){return(e[g]&4)===4}function Mi(e){return(e[g]&128)===128}function If(e){return we(e[j])}function It(e,t){return t==null?null:e[t]}function _u(e){e[dt]=0}function Ti(e){e[g]&1024||(e[g]|=1024,Mi(e)&&Xt(e))}function wf(e,t){for(;e>0;)t=t[Tt],e--;return t}function Sr(e){return!!(e[g]&9216||e[J]?.dirty)}function No(e){e[De].changeDetectionScheduler?.notify(9),e[g]&64&&(e[g]|=1024),Sr(e)&&Xt(e)}function Xt(e){e[De].changeDetectionScheduler?.notify(0);let t=ze(e);for(;t!==null&&!(t[g]&8192||(t[g]|=8192,!Mi(t)));)t=ze(t)}function bu(e,t){if((e[g]&256)===256)throw new y(911,!1);e[be]===null&&(e[be]=[]),e[be].push(t)}function Cf(e,t){if(e[be]===null)return;let n=e[be].indexOf(t);n!==-1&&e[be].splice(n,1)}function ze(e){let t=e[j];return we(t)?t[j]:t}var v={lFrame:Fu(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var xo=!1;function _f(){return v.lFrame.elementDepthCount}function bf(){v.lFrame.elementDepthCount++}function Mf(){v.lFrame.elementDepthCount--}function Mu(){return v.bindingsEnabled}function Tu(){return v.skipHydrationRootTNode!==null}function Tf(e){return v.skipHydrationRootTNode===e}function Sf(){v.skipHydrationRootTNode=null}function D(){return v.lFrame.lView}function A(){return v.lFrame.tView}function jI(e){return v.lFrame.contextLView=e,e[re]}function VI(e){return v.lFrame.contextLView=null,e}function P(){let e=Su();for(;e!==null&&e.type===64;)e=e.parent;return e}function Su(){return v.lFrame.currentTNode}function Nf(){let e=v.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Je(e,t){let n=v.lFrame;n.currentTNode=e,n.isParent=t}function Si(){return v.lFrame.isParent}function Ni(){v.lFrame.isParent=!1}function xf(){return v.lFrame.contextLView}function Nu(){return xo}function Yn(e){let t=xo;return xo=e,t}function en(){let e=v.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Af(e){return v.lFrame.bindingIndex=e}function tn(){return v.lFrame.bindingIndex++}function xu(e){let t=v.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Rf(){return v.lFrame.inI18n}function Of(e,t){let n=v.lFrame;n.bindingIndex=n.bindingRootIndex=e,Ao(t)}function Ff(){return v.lFrame.currentDirectiveIndex}function Ao(e){v.lFrame.currentDirectiveIndex=e}function kf(e){let t=v.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function Au(){return v.lFrame.currentQueryIndex}function xi(e){v.lFrame.currentQueryIndex=e}function Pf(e){let t=e[m];return t.type===2?t.declTNode:t.type===1?e[Y]:null}function Ru(e,t,n){if(n&I.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&I.Host);)if(o=Pf(i),o===null||(i=i[Tt],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=v.lFrame=Ou();return r.currentTNode=t,r.lView=e,!0}function Ai(e){let t=Ou(),n=e[m];v.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Ou(){let e=v.lFrame,t=e===null?null:e.child;return t===null?Fu(e):t}function Fu(e){let t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return e!==null&&(e.child=t),t}function ku(){let e=v.lFrame;return v.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Pu=ku;function Ri(){let e=ku();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Lf(e){return(v.lFrame.contextLView=wf(e,v.lFrame.contextLView))[re]}function Xe(){return v.lFrame.selectedIndex}function Ge(e){v.lFrame.selectedIndex=e}function Oi(){let e=v.lFrame;return bi(e.tView,e.selectedIndex)}function BI(){v.lFrame.currentNamespace=wu}function jf(){return v.lFrame.currentNamespace}var Lu=!0;function Nr(){return Lu}function xr(e){Lu=e}function Vf(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=Du(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}function Ar(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){let i=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:u,ngAfterViewChecked:c,ngOnDestroy:l}=i;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),u&&(e.viewHooks??=[]).push(-n,u),c&&((e.viewHooks??=[]).push(n,c),(e.viewCheckHooks??=[]).push(n,c)),l!=null&&(e.destroyHooks??=[]).push(n,l)}}function jn(e,t,n){ju(e,t,3,n)}function Vn(e,t,n,r){(e[g]&3)===n&&ju(e,t,n,r)}function lo(e,t){let n=e[g];(n&3)===t&&(n&=16383,n+=1,e[g]=n)}function ju(e,t,n,r){let o=r!==void 0?e[dt]&65535:0,i=r??-1,s=t.length-1,a=0;for(let u=o;u<s;u++)if(typeof t[u+1]=="number"){if(a=t[u],r!=null&&a>=r)break}else t[u]<0&&(e[dt]+=65536),(a<i||i==-1)&&(Bf(e,n,t,u),e[dt]=(e[dt]&4294901760)+u+2),u++}function ca(e,t){he(4,e,t);let n=E(null);try{t.call(e)}finally{E(n),he(5,e,t)}}function Bf(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[g]>>14<e[dt]>>16&&(e[g]&3)===t&&(e[g]+=16384,ca(a,i)):ca(a,i)}var ht=-1,qe=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r){this.factory=t,this.canSeeViewProviders=n,this.injectImpl=r}};function Hf(e){return e instanceof qe}function $f(e){return(e.flags&8)!==0}function Uf(e){return(e.flags&16)!==0}function Ro(e,t,n){let r=0;for(;r<n.length;){let o=n[r];if(typeof o=="number"){if(o!==0)break;r++;let i=n[r++],s=n[r++],a=n[r++];e.setAttribute(t,s,a,i)}else{let i=o,s=n[++r];Gf(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function zf(e){return e===3||e===4||e===6}function Gf(e){return e.charCodeAt(0)===64}function qt(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){let o=t[r];typeof o=="number"?n=o:n===0||(n===-1||n===2?la(e,n,o,null,t[++r]):la(e,n,o,null,null))}}return e}function la(e,t,n,r,o){let i=0,s=e.length;if(t===-1)s=-1;else for(;i<e.length;){let a=e[i++];if(typeof a=="number"){if(a===t){s=-1;break}else if(a>t){s=i-1;break}}}for(;i<e.length;){let a=e[i];if(typeof a=="number")break;if(a===n){if(r===null){o!==null&&(e[i+1]=o);return}else if(r===e[i+1]){e[i+2]=o;return}}i++,r!==null&&i++,o!==null&&i++}s!==-1&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),r!==null&&e.splice(i++,0,r),o!==null&&e.splice(i++,0,o)}var fo={},Oo=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=Cr(r);let o=this.injector.get(t,fo,r);return o!==fo||n===fo?o:this.parentInjector.get(t,n,r)}};function Vu(e){return e!==ht}function Kn(e){return e&32767}function qf(e){return e>>16}function Jn(e,t){let n=qf(e),r=t;for(;n>0;)r=r[Tt],n--;return r}var Fo=!0;function da(e){let t=Fo;return Fo=e,t}var Wf=256,Bu=Wf-1,Hu=5,Zf=0,ge={};function Qf(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Bt)&&(r=n[Bt]),r==null&&(r=n[Bt]=Zf++);let o=r&Bu,i=1<<o;t.data[e+(o>>Hu)]|=i}function Xn(e,t){let n=$u(e,t);if(n!==-1)return n;let r=t[m];r.firstCreatePass&&(e.injectorIndex=t.length,po(r.data,e),po(t,null),po(r.blueprint,null));let o=Fi(e,t),i=e.injectorIndex;if(Vu(o)){let s=Kn(o),a=Jn(o,t),u=a[m].data;for(let c=0;c<8;c++)t[i+c]=a[s+c]|u[s+c]}return t[i+8]=o,i}function po(e,t){e.push(0,0,0,0,0,0,0,0,t)}function $u(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Fi(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;o!==null;){if(r=Wu(o),r===null)return ht;if(n++,o=o[Tt],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return ht}function ko(e,t,n){Qf(e,t,n)}function Uu(e,t,n){if(n&I.Optional||e!==void 0)return e;Ei(t,"NodeInjector")}function zu(e,t,n,r){if(n&I.Optional&&r===void 0&&(r=null),(n&(I.Self|I.Host))===0){let o=e[Dt],i=ne(void 0);try{return o?o.get(t,r,n&I.Optional):Ja(t,r,n&I.Optional)}finally{ne(i)}}return Uu(r,t,n)}function Gu(e,t,n,r=I.Default,o){if(e!==null){if(t[g]&2048&&!(r&I.Self)){let s=Xf(e,t,n,r,ge);if(s!==ge)return s}let i=qu(e,t,n,r,ge);if(i!==ge)return i}return zu(t,n,r,o)}function qu(e,t,n,r,o){let i=Kf(n);if(typeof i=="function"){if(!Ru(t,e,r))return r&I.Host?Uu(o,n,r):zu(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&I.Optional))Ei(n);else return s}finally{Pu()}}else if(typeof i=="number"){let s=null,a=$u(e,t),u=ht,c=r&I.Host?t[oe][Y]:null;for((a===-1||r&I.SkipSelf)&&(u=a===-1?Fi(e,t):t[a+8],u===ht||!pa(r,!1)?a=-1:(s=t[m],a=Kn(u),t=Jn(u,t)));a!==-1;){let l=t[m];if(fa(i,a,l.data)){let d=Yf(a,t,n,s,r,c);if(d!==ge)return d}u=t[a+8],u!==ht&&pa(r,t[m].data[a+8]===c)&&fa(i,a,t)?(s=l,a=Kn(u),t=Jn(u,t)):a=-1}}return o}function Yf(e,t,n,r,o,i){let s=t[m],a=s.data[e+8],u=r==null?Mr(a)&&Fo:r!=s&&(a.type&3)!==0,c=o&I.Host&&i===a,l=Bn(a,s,n,u,c);return l!==null?We(t,s,l,a):ge}function Bn(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,u=e.directiveStart,c=e.directiveEnd,l=i>>20,d=r?a:a+l,p=o?a+l:c;for(let f=d;f<p;f++){let h=s[f];if(f<u&&n===h||f>=u&&h.type===n)return f}if(o){let f=s[u];if(f&&Se(f)&&f.type===n)return u}return null}function We(e,t,n,r){let o=e[n],i=t.data;if(Hf(o)){let s=o;s.resolving&&Ld(Pd(i[n]));let a=da(s.canSeeViewProviders);s.resolving=!0;let u,c=s.injectImpl?ne(s.injectImpl):null,l=Ru(e,r,I.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&Vf(n,i[n],t)}finally{c!==null&&ne(c),da(a),s.resolving=!1,Pu()}}return o}function Kf(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Bt)?e[Bt]:void 0;return typeof t=="number"?t>=0?t&Bu:Jf:t}function fa(e,t,n){let r=1<<e;return!!(n[t+(e>>Hu)]&r)}function pa(e,t){return!(e&I.Self)&&!(e&I.Host&&t)}var Be=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Gu(this._tNode,this._lView,t,Cr(r),n)}};function Jf(){return new Be(P(),D())}function HI(e){return Kt(()=>{let t=e.prototype.constructor,n=t[$n]||Po(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[$n]||Po(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Po(e){return Wa(e)?()=>{let t=Po(H(e));return t&&t()}:gt(e)}function Xf(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[g]&2048&&!(s[g]&512);){let a=qu(i,s,n,r|I.Self,ge);if(a!==ge)return a;let u=i.parent;if(!u){let c=s[gu];if(c){let l=c.get(n,ge,r);if(l!==ge)return l}u=Wu(s),s=s[Tt]}i=u}return o}function Wu(e){let t=e[m],n=t.type;return n===2?t.declTNode:n===1?e[Y]:null}function ha(e,t=null,n=null,r){let o=Zu(e,t,n,r);return o.resolveInjectorInitializers(),o}function Zu(e,t=null,n=null,r,o=new Set){let i=[n||q,tf(e)];return r=r||(typeof e=="object"?void 0:$(e)),new Ut(i,t||Ci(),r||null,o)}var ye=class e{static THROW_IF_NOT_FOUND=$t;static NULL=new qn;static create(t,n){if(Array.isArray(t))return ha({name:""},n,t,"");{let r=t.name??"";return ha({name:r},t.parent,t.providers,r)}}static \u0275prov=x({token:e,providedIn:"any",factory:()=>U(ru)});static __NG_ELEMENT_ID__=-1};var ep=new b("");ep.__NG_ELEMENT_ID__=e=>{let t=P();if(t===null)throw new y(204,!1);if(t.type&2)return t.value;if(e&I.Optional)return null;throw new y(204,!1)};var Qu=!1,nn=(()=>{class e{static __NG_ELEMENT_ID__=tp;static __NG_ENV_ID__=n=>n}return e})(),er=class extends nn{_lView;constructor(t){super(),this._lView=t}onDestroy(t){return bu(this._lView,t),()=>Cf(this._lView,t)}};function tp(){return new er(D())}var wt=class{},Yu=new b("",{providedIn:"root",factory:()=>!1});var Ku=new b(""),Ju=new b(""),rn=(()=>{class e{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new Pt(!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=x({token:e,providedIn:"root",factory:()=>new e})}return e})();var Lo=class extends pe{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,pu()&&(this.destroyRef=C(nn,{optional:!0})??void 0,this.pendingTasks=C(rn,{optional:!0})??void 0)}emit(t){let n=E(null);try{super.next(t)}finally{E(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let u=t;o=u.next?.bind(u),i=u.error?.bind(u),s=u.complete?.bind(u)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof B&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{t(n),r!==void 0&&this.pendingTasks?.remove(r)})}}},_e=Lo;function Wt(...e){}function Xu(e){let t,n;function r(){e=Wt;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function ga(e){return queueMicrotask(()=>e()),()=>{e=Wt}}var ki="isAngularZone",tr=ki+"_ID",np=0,Z=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new _e(!1);onMicrotaskEmpty=new _e(!1);onStable=new _e(!1);onError=new _e(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=Qu}=t;if(typeof Zone>"u")throw new y(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,ip(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(ki)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new y(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new y(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,rp,Wt,Wt);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}},rp={};function Pi(e){if(e._nesting==0&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function op(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){Xu(()=>{e.callbackScheduled=!1,jo(e),e.isCheckStableRunning=!0,Pi(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),jo(e)}function ip(e){let t=()=>{op(e)},n=np++;e._inner=e._inner.fork({name:"angular",properties:{[ki]:!0,[tr]:n,[tr+n]:!0},onInvokeTask:(r,o,i,s,a,u)=>{if(sp(u))return r.invokeTask(i,s,a,u);try{return ma(e),r.invokeTask(i,s,a,u)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),ya(e)}},onInvoke:(r,o,i,s,a,u,c)=>{try{return ma(e),r.invoke(i,s,a,u,c)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!ap(u)&&t(),ya(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,jo(e),Pi(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,o,i,s)=>(r.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function jo(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function ma(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function ya(e){e._nesting--,Pi(e)}var nr=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new _e;onMicrotaskEmpty=new _e;onStable=new _e;onError=new _e;run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}};function sp(e){return ec(e,"__ignore_ng_zone__")}function ap(e){return ec(e,"__scheduler_tick__")}function ec(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}function up(e="zone.js",t){return e==="noop"?new nr:e==="zone.js"?new Z(t):e}var Ze=class{_console=console;handleError(t){this._console.error("ERROR",t)}},cp=new b("",{providedIn:"root",factory:()=>{let e=C(Z),t=C(Ze);return n=>e.runOutsideAngular(()=>t.handleError(n))}}),Vo=class{destroyed=!1;listeners=null;errorHandler=C(Ze,{optional:!0});destroyRef=C(nn);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new y(953,!1);return(this.listeners??=[]).push(t),{unsubscribe:()=>{let n=this.listeners?.indexOf(t);n!==void 0&&n!==-1&&this.listeners?.splice(n,1)}}}emit(t){if(this.destroyed)throw new y(953,!1);if(this.listeners===null)return;let n=E(null);try{for(let r of this.listeners)try{r(t)}catch(o){this.errorHandler?.handleError(o)}}finally{E(n)}}};function $I(e){return new Vo}function va(e,t){return za(e,t)}function lp(e){return za(Ua,e)}var UI=(va.required=lp,va);function dp(){return St(P(),D())}function St(e,t){return new Oe(se(e,t))}var Oe=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=dp}return e})();function fp(e){return e instanceof Oe?e.nativeElement:e}function pp(){return this._results[Symbol.iterator]()}var Bo=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 pe}constructor(t=!1){this._emitDistinctChangesOnly=t}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;let r=Zd(t);(this._changesDetected=!Wd(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=pp};function tc(e){return(e.flags&128)===128}var nc=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(nc||{}),rc=new Map,hp=0;function gp(){return hp++}function mp(e){rc.set(e[br],e)}function Ho(e){rc.delete(e[br])}var Da="__ngContext__";function Ne(e,t){Me(t)?(e[Da]=t[br],mp(t)):e[Da]=t}function oc(e){return sc(e[Gt])}function ic(e){return sc(e[le])}function sc(e){for(;e!==null&&!we(e);)e=e[le];return e}var $o;function zI(e){$o=e}function yp(){if($o!==void 0)return $o;if(typeof document<"u")return document;throw new y(210,!1)}var GI=new b("",{providedIn:"root",factory:()=>vp}),vp="ng",Dp=new b(""),Ep=new b("",{providedIn:"platform",factory:()=>"unknown"});var qI=new b(""),WI=new b("",{providedIn:"root",factory:()=>yp().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var Ip="h",wp="b";var ac=!1,Cp=new b("",{providedIn:"root",factory:()=>ac});var uc=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(uc||{}),cc=new b(""),Ea=new Set;function et(e){Ea.has(e)||(Ea.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var _p=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=x({token:e,providedIn:"root",factory:()=>new e})}return e})();var bp=()=>null;function Li(e,t,n=!1){return bp(e,t,n)}var Zt=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Zt||{});var rr=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Ha})`}};function on(e){return e instanceof rr?e.changingThisBreaksApplicationSecurity:e}function Mp(e,t){let n=Tp(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Ha})`)}return n===t}function Tp(e){return e instanceof rr&&e.getTypeName()||null}var Sp=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Np(e){return e=String(e),e.match(Sp)?e:"unsafe:"+e}var lc=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(lc||{});function ZI(e){let t=xp();return t?t.sanitize(lc.URL,e)||"":Mp(e,"URL")?on(e):Np(wr(e))}function xp(){let e=D();return e&&e[De].sanitizer}var Ap=/^>|^->|<!--|-->|--!>|<!-$/g,Rp=/(<|>)/g,Op="\u200B$1\u200B";function Fp(e){return e.replace(Ap,t=>t.replace(Rp,Op))}function kp(e){return e instanceof Function?e():e}var xe=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(xe||{}),Qt=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Qt||{}),Pp;function ji(e,t){return Pp(e,t)}function ft(e,t,n,r,o){if(r!=null){let i,s=!1;we(r)?i=r:Me(r)&&(s=!0,r=r[Ie]);let a=me(r);e===0&&n!==null?o==null?gc(t,n,a):ir(t,n,a,o||null,!0):e===1&&n!==null?ir(t,n,a,o||null,!0):e===2?Yp(t,a,s):e===3&&t.destroyNode(a),i!=null&&Jp(t,e,i,n,o)}}function Lp(e,t){return e.createText(t)}function jp(e,t,n){e.setValue(t,n)}function Vp(e,t){return e.createComment(Fp(t))}function dc(e,t,n){return e.createElement(t,n)}function Bp(e,t){fc(e,t),t[Ie]=null,t[Y]=null}function Hp(e,t,n,r,o,i){r[Ie]=o,r[Y]=t,Or(e,r,n,1,o,i)}function fc(e,t){t[De].changeDetectionScheduler?.notify(10),Or(e,t,t[S],2,null,null)}function $p(e){let t=e[Gt];if(!t)return ho(e[m],e);for(;t;){let n=null;if(Me(t))n=t[Gt];else{let r=t[W];r&&(n=r)}if(!n){for(;t&&!t[le]&&t!==e;)Me(t)&&ho(t[m],t),t=t[j];t===null&&(t=e),Me(t)&&ho(t[m],t),n=t&&t[le]}t=n}}function Up(e,t,n,r){let o=W+r,i=n.length;r>0&&(n[o-1][le]=t),r<i-W?(t[le]=n[o],nu(n,W+r,t)):(n.push(t),t[le]=null),t[j]=n;let s=t[He];s!==null&&n!==s&&pc(s,t);let a=t[Ee];a!==null&&a.insertView(e),No(t),t[g]|=128}function pc(e,t){let n=e[Et],r=t[j];if(Me(r))e[g]|=Qn.HasTransplantedViews;else{let o=r[j][oe];t[oe]!==o&&(e[g]|=Qn.HasTransplantedViews)}n===null?e[Et]=[t]:n.push(t)}function Vi(e,t){let n=e[Et],r=n.indexOf(t);n.splice(r,1)}function or(e,t){if(e.length<=W)return;let n=W+t,r=e[n];if(r){let o=r[He];o!==null&&o!==e&&Vi(o,r),t>0&&(e[n-1][le]=r[le]);let i=zn(e,W+t);Bp(r[m],r);let s=i[Ee];s!==null&&s.detachView(i[m]),r[j]=null,r[le]=null,r[g]&=-129}return r}function Bi(e,t){if(!(t[g]&256)){let n=t[S];n.destroyNode&&Or(e,t,n,3,null,null),$p(t)}}function ho(e,t){if(t[g]&256)return;let n=E(null);try{t[g]&=-129,t[g]|=256,t[J]&&it(t[J]),Gp(e,t),zp(e,t),t[m].type===1&&t[S].destroy();let r=t[He];if(r!==null&&we(t[j])){r!==t[j]&&Vi(r,t);let o=t[Ee];o!==null&&o.detachView(e)}Ho(t)}finally{E(n)}}function zp(e,t){let n=e.cleanup,r=t[Wn];if(n!==null)for(let s=0;s<n.length-1;s+=2)if(typeof n[s]=="string"){let a=n[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[n[s+1]];n[s].call(a)}r!==null&&(t[Wn]=null);let o=t[be];if(o!==null){t[be]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[$e];if(i!==null){t[$e]=null;for(let s of i)s.destroy()}}function Gp(e,t){let n;if(e!=null&&(n=e.destroyHooks)!=null)for(let r=0;r<n.length;r+=2){let o=t[n[r]];if(!(o instanceof qe)){let i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],u=i[s+1];he(4,a,u);try{u.call(a)}finally{he(5,a,u)}}else{he(4,o,i);try{i.call(o)}finally{he(5,o,i)}}}}}function hc(e,t,n){return qp(e,t.parent,n)}function qp(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[Ie];{let{componentOffset:o}=r;if(o>-1){let{encapsulation:i}=e.data[r.directiveStart+o];if(i===Zt.None||i===Zt.Emulated)return null}return se(r,n)}}function ir(e,t,n,r,o){e.insertBefore(t,n,r,o)}function gc(e,t,n){e.appendChild(t,n)}function Ia(e,t,n,r,o){r!==null?ir(e,t,n,r,o):gc(e,t,n)}function mc(e,t){return e.parentNode(t)}function Wp(e,t){return e.nextSibling(t)}function yc(e,t,n){return Qp(e,t,n)}function Zp(e,t,n){return e.type&40?se(e,n):null}var Qp=Zp,wa;function Rr(e,t,n,r){let o=hc(e,r,t),i=t[S],s=r.parent||t[Y],a=yc(s,r,t);if(o!=null)if(Array.isArray(n))for(let u=0;u<n.length;u++)Ia(i,o,n[u],a,!1);else Ia(i,o,n,a,!1);wa!==void 0&&wa(i,r,t,n,o)}function Vt(e,t){if(t!==null){let n=t.type;if(n&3)return se(t,e);if(n&4)return Uo(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return Vt(e,r);{let o=e[t.index];return we(o)?Uo(-1,o):me(o)}}else{if(n&128)return Vt(e,t.next);if(n&32)return ji(t,e)()||me(e[t.index]);{let r=vc(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=ze(e[oe]);return Vt(o,r)}else return Vt(e,t.next)}}}return null}function vc(e,t){if(t!==null){let r=e[oe][Y],o=t.projection;return r.projection[o]}return null}function Uo(e,t){let n=W+e+1;if(n<t.length){let r=t[n],o=r[m].firstChild;if(o!==null)return Vt(r,o)}return t[Ue]}function Yp(e,t,n){e.removeChild(null,t,n)}function Hi(e,t,n,r,o,i,s){for(;n!=null;){if(n.type===128){n=n.next;continue}let a=r[n.index],u=n.type;if(s&&t===0&&(a&&Ne(me(a),r),n.flags|=2),(n.flags&32)!==32)if(u&8)Hi(e,t,n.child,r,o,i,!1),ft(t,e,o,a,i);else if(u&32){let c=ji(n,r),l;for(;l=c();)ft(t,e,o,l,i);ft(t,e,o,a,i)}else u&16?Dc(e,t,r,n,o,i):ft(t,e,o,a,i);n=s?n.projectionNext:n.next}}function Or(e,t,n,r,o,i){Hi(n,r,e.firstChild,t,o,i,!1)}function Kp(e,t,n){let r=t[S],o=hc(e,n,t),i=n.parent||t[Y],s=yc(i,n,t);Dc(r,0,t,n,o,s)}function Dc(e,t,n,r,o,i){let s=n[oe],u=s[Y].projection[r.projection];if(Array.isArray(u))for(let c=0;c<u.length;c++){let l=u[c];ft(t,e,o,l,i)}else{let c=u,l=s[j];tc(r)&&(c.flags|=128),Hi(e,t,c,l,o,i,!0)}}function Jp(e,t,n,r,o){let i=n[Ue],s=me(n);i!==s&&ft(t,e,r,i,o);for(let a=W;a<n.length;a++){let u=n[a];Or(u[m],u,e,t,r,i)}}function Xp(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:Qt.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Qt.Important),e.setStyle(n,r,o,i))}}function eh(e,t,n){e.setAttribute(t,"style",n)}function Ec(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Ic(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&Ro(e,t,r),o!==null&&Ec(e,t,o),i!==null&&eh(e,t,i)}function th(e,t,n){let r=e.length;for(;;){let o=e.indexOf(t,n);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}var wc="ng-template";function nh(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&th(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if($i(e))return!1;if(o=t.indexOf(1,o),o>-1){let i;for(;++o<t.length&&typeof(i=t[o])=="string";)if(i.toLowerCase()===n)return!0}return!1}function $i(e){return e.type===4&&e.value!==wc}function rh(e,t,n){let r=e.type===4&&!n?wc:e.value;return t===r}function oh(e,t,n){let r=4,o=e.attrs,i=o!==null?ah(o):0,s=!1;for(let a=0;a<t.length;a++){let u=t[a];if(typeof u=="number"){if(!s&&!ce(r)&&!ce(u))return!1;if(s&&ce(u))continue;s=!1,r=u|r&1;continue}if(!s)if(r&4){if(r=2|r&1,u!==""&&!rh(e,u,n)||u===""&&t.length===1){if(ce(r))return!1;s=!0}}else if(r&8){if(o===null||!nh(e,o,u,n)){if(ce(r))return!1;s=!0}}else{let c=t[++a],l=ih(u,o,$i(e),n);if(l===-1){if(ce(r))return!1;s=!0;continue}if(c!==""){let d;if(l>i?d="":d=o[l+1].toLowerCase(),r&2&&c!==d){if(ce(r))return!1;s=!0}}}}return ce(r)||s}function ce(e){return(e&1)===0}function ih(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o<t.length;){let s=t[o];if(s===e)return o;if(s===3||s===6)i=!0;else if(s===1||s===2){let a=t[++o];for(;typeof a=="string";)a=t[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=i?1:2}return-1}else return uh(t,e)}function Cc(e,t,n=!1){for(let r=0;r<t.length;r++)if(oh(e,t[r],n))return!0;return!1}function sh(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if((n&1)===0)return t[n+1]}return null}function ah(e){for(let t=0;t<e.length;t++){let n=e[t];if(zf(n))return t}return e.length}function uh(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){let r=e[n];if(typeof r=="number")return-1;if(r===t)return n;n++}return-1}function ch(e,t){e:for(let n=0;n<t.length;n++){let r=t[n];if(e.length===r.length){for(let o=0;o<e.length;o++)if(e[o]!==r[o])continue e;return!0}}return!1}function Ca(e,t){return e?":not("+t.trim()+")":t}function lh(e){let t=e[0],n=1,r=2,o="",i=!1;for(;n<e.length;){let s=e[n];if(typeof s=="string")if(r&2){let a=e[++n];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!ce(s)&&(t+=Ca(i,o),o=""),r=s,i=i||!ce(r);n++}return o!==""&&(t+=Ca(i,o)),t}function dh(e){return e.map(lh).join(",")}function fh(e){let t=[],n=[],r=1,o=2;for(;r<e.length;){let i=e[r];if(typeof i=="string")o===2?i!==""&&t.push(i,e[++r]):o===8&&n.push(i);else{if(!ce(o))break;o=i}r++}return{attrs:t,classes:n}}var de={};function QI(e=1){_c(A(),D(),Xe()+e,!1)}function _c(e,t,n,r){if(!r)if((t[g]&3)===3){let i=e.preOrderCheckHooks;i!==null&&jn(t,i,n)}else{let i=e.preOrderHooks;i!==null&&Vn(t,i,0,n)}Ge(n)}function z(e,t=I.Default){let n=D();if(n===null)return U(e,t);let r=P();return Gu(r,n,H(e),t)}function YI(){let e="invalid";throw new Error(e)}function bc(e,t,n,r,o,i){let s=E(null);try{let a=null;(o&xe.SignalBased)!==0&&(a=t[r][G]),a!==null&&a.transformFn!==void 0&&(i=a.transformFn(i)),(o&xe.HasDecoratorInputTransform)!==0&&(i=e.inputTransforms[r].call(t,i)),e.setInput!==null?e.setInput(t,a,i,n,r):yu(t,a,r,i)}finally{E(s)}}function ph(e,t){let n=e.hostBindingOpCodes;if(n!==null)try{for(let r=0;r<n.length;r++){let o=n[r];if(o<0)Ge(~o);else{let i=o,s=n[++r],a=n[++r];Of(s,i);let u=t[i];a(2,u)}}}finally{Ge(-1)}}function Fr(e,t,n,r,o,i,s,a,u,c,l){let d=t.blueprint.slice();return d[Ie]=o,d[g]=r|4|128|8|64|1024,(c!==null||e&&e[g]&2048)&&(d[g]|=2048),_u(d),d[j]=d[Tt]=e,d[re]=n,d[De]=s||e&&e[De],d[S]=a||e&&e[S],d[Dt]=u||e&&e[Dt]||null,d[Y]=i,d[br]=gp(),d[zt]=l,d[gu]=c,d[oe]=t.type==2?e[oe]:d,d}function Nt(e,t,n,r,o){let i=e.data[t];if(i===null)i=hh(e,t,n,r,o),Rf()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=Nf();i.injectorIndex=s===null?-1:s.injectorIndex}return Je(i,!0),i}function hh(e,t,n,r,o){let i=Su(),s=Si(),a=s?i:i&&i.parent,u=e.data[t]=Eh(e,a,n,t,r,o);return e.firstChild===null&&(e.firstChild=u),i!==null&&(s?i.child==null&&u.parent!==null&&(i.child=u):i.next===null&&(i.next=u,u.prev=i)),u}function Mc(e,t,n,r){if(n===0)return-1;let o=t.length;for(let i=0;i<n;i++)t.push(r),e.blueprint.push(r),e.data.push(null);return o}function Tc(e,t,n,r,o){let i=Xe(),s=r&2;try{Ge(-1),s&&t.length>Q&&_c(e,t,Q,!1),he(s?2:0,o),n(r,o)}finally{Ge(i),he(s?3:1,o)}}function Ui(e,t,n){if(_i(t)){let r=E(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;s<i;s++){let a=e.data[s];if(a.contentQueries){let u=n[s];a.contentQueries(1,u,s)}}}finally{E(r)}}}function zi(e,t,n){Mu()&&(Mh(e,t,n,se(n,t)),(n.flags&64)===64&&Ac(e,t,n))}function Gi(e,t,n=se){let r=t.localNames;if(r!==null){let o=t.index+1;for(let i=0;i<r.length;i+=2){let s=r[i+1],a=s===-1?n(t,e):e[s];e[o++]=a}}}function Sc(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=qi(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function qi(e,t,n,r,o,i,s,a,u,c,l){let d=Q+r,p=d+o,f=gh(d,p),h=typeof c=="function"?c():c;return f[m]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:p,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i=="function"?i():i,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:u,consts:h,incompleteFirstPass:!1,ssrId:l}}function gh(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:de);return n}function mh(e,t,n,r){let i=r.get(Cp,ac)||n===Zt.ShadowDom,s=e.selectRootElement(t,i);return yh(s),s}function yh(e){vh(e)}var vh=()=>null;function Dh(e,t,n,r){let o=kc(t);o.push(n),e.firstCreatePass&&Pc(e).push(r,o.length-1)}function Eh(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return Tu()&&(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:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function _a(e,t,n,r,o){for(let i in t){if(!t.hasOwnProperty(i))continue;let s=t[i];if(s===void 0)continue;r??={};let a,u=xe.None;Array.isArray(s)?(a=s[0],u=s[1]):a=s;let c=i;if(o!==null){if(!o.hasOwnProperty(i))continue;c=o[i]}e===0?ba(r,n,c,a,u):ba(r,n,c,a)}return r}function ba(e,t,n,r,o){let i;e.hasOwnProperty(n)?(i=e[n]).push(t,r):i=e[n]=[t,r],o!==void 0&&i.push(o)}function Ih(e,t,n){let r=t.directiveStart,o=t.directiveEnd,i=e.data,s=t.attrs,a=[],u=null,c=null;for(let l=r;l<o;l++){let d=i[l],p=n?n.get(d):null,f=p?p.inputs:null,h=p?p.outputs:null;u=_a(0,d.inputs,l,u,f),c=_a(1,d.outputs,l,c,h);let _=u!==null&&s!==null&&!$i(t)?Lh(u,l,s):null;a.push(_)}u!==null&&(u.hasOwnProperty("class")&&(t.flags|=8),u.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=a,t.inputs=u,t.outputs=c}function wh(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function Nc(e,t,n,r,o,i,s,a){let u=se(t,n),c=t.inputs,l;!a&&c!=null&&(l=c[r])?(Zi(e,n,l,r,o),Mr(t)&&Ch(n,t.index)):t.type&3?(r=wh(r),o=s!=null?s(o,t.value||"",r):o,i.setProperty(u,r,o)):t.type&12}function Ch(e,t){let n=Re(t,e);n[g]&16||(n[g]|=64)}function Wi(e,t,n,r){if(Mu()){let o=r===null?null:{"":-1},i=Sh(e,n),s,a;i===null?s=a=null:[s,a]=i,s!==null&&xc(e,t,n,s,o,a),o&&Nh(n,r,o)}n.mergedAttrs=qt(n.mergedAttrs,n.attrs)}function xc(e,t,n,r,o,i){for(let c=0;c<r.length;c++)ko(Xn(n,t),e,r[c].type);Ah(n,e.data.length,r.length);for(let c=0;c<r.length;c++){let l=r[c];l.providersResolver&&l.providersResolver(l)}let s=!1,a=!1,u=Mc(e,t,r.length,null);for(let c=0;c<r.length;c++){let l=r[c];n.mergedAttrs=qt(n.mergedAttrs,l.hostAttrs),Rh(e,n,t,u,l),xh(u,l,o),l.contentQueries!==null&&(n.flags|=4),(l.hostBindings!==null||l.hostAttrs!==null||l.hostVars!==0)&&(n.flags|=64);let d=l.type.prototype;!s&&(d.ngOnChanges||d.ngOnInit||d.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),s=!0),!a&&(d.ngOnChanges||d.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),a=!0),u++}Ih(e,n,i)}function _h(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;bh(s)!=a&&s.push(a),s.push(n,r,i)}}function bh(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function Mh(e,t,n,r){let o=n.directiveStart,i=n.directiveEnd;Mr(n)&&Oh(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||Xn(n,t),Ne(r,t);let s=n.initialInputs;for(let a=o;a<i;a++){let u=e.data[a],c=We(t,e,a,n);if(Ne(c,t),s!==null&&Ph(t,a-o,c,u,n,s),Se(u)){let l=Re(n.index,t);l[re]=We(t,e,a,n)}}}function Ac(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=Ff();try{Ge(i);for(let a=r;a<o;a++){let u=e.data[a],c=t[a];Ao(a),(u.hostBindings!==null||u.hostVars!==0||u.hostAttrs!==null)&&Th(u,c)}}finally{Ge(-1),Ao(s)}}function Th(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function Sh(e,t){let n=e.directiveRegistry,r=null,o=null;if(n)for(let i=0;i<n.length;i++){let s=n[i];if(Cc(t,s.selectors,!1))if(r||(r=[]),Se(s))if(s.findHostDirectiveDefs!==null){let a=[];o=o||new Map,s.findHostDirectiveDefs(s,a,o),r.unshift(...a,s);let u=a.length;zo(e,t,u)}else r.unshift(s),zo(e,t,0);else o=o||new Map,s.findHostDirectiveDefs?.(s,r,o),r.push(s)}return r===null?null:[r,o]}function zo(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function Nh(e,t,n){if(t){let r=e.localNames=[];for(let o=0;o<t.length;o+=2){let i=n[t[o+1]];if(i==null)throw new y(-301,!1);r.push(t[o],i)}}}function xh(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Se(t)&&(n[""]=e)}}function Ah(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Rh(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=gt(o.type,!0)),s=new qe(i,Se(o),z);e.blueprint[r]=s,n[r]=s,_h(e,t,r,Mc(e,n,o.hostVars,de),o)}function Rc(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Oh(e,t,n){let r=se(t,e),o=Sc(n),i=e[De].rendererFactory,s=kr(e,Fr(e,o,null,Rc(n),r,t,null,i.createRenderer(r,n),null,null,null));e[t.index]=s}function Fh(e,t,n,r,o,i){let s=se(e,t);kh(t[S],s,i,e.value,n,r,o)}function kh(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?wr(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function Ph(e,t,n,r,o,i){let s=i[t];if(s!==null)for(let a=0;a<s.length;){let u=s[a++],c=s[a++],l=s[a++],d=s[a++];bc(r,n,u,c,l,d)}}function Lh(e,t,n){let r=null,o=0;for(;o<n.length;){let i=n[o];if(i===0){o+=4;continue}else if(i===5){o+=2;continue}if(typeof i=="number")break;if(e.hasOwnProperty(i)){r===null&&(r=[]);let s=e[i];for(let a=0;a<s.length;a+=3)if(s[a]===t){r.push(i,s[a+1],s[a+2],n[o+1]);break}}o+=2}return r}function Oc(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function Fc(e,t){let n=e.contentQueries;if(n!==null){let r=E(null);try{for(let o=0;o<n.length;o+=2){let i=n[o],s=n[o+1];if(s!==-1){let a=e.data[s];xi(i),a.contentQueries(2,t[s],s)}}}finally{E(r)}}}function kr(e,t){return e[Gt]?e[aa][le]=t:e[Gt]=t,e[aa]=t,t}function Go(e,t,n){xi(0);let r=E(null);try{t(e,n)}finally{E(r)}}function kc(e){return e[Wn]??=[]}function Pc(e){return e.cleanup??=[]}function Lc(e,t){let n=e[Dt],r=n?n.get(Ze,null):null;r&&r.handleError(t)}function Zi(e,t,n,r,o){for(let i=0;i<n.length;){let s=n[i++],a=n[i++],u=n[i++],c=t[s],l=e.data[s];bc(l,c,r,a,u,o)}}function jh(e,t,n){let r=Cu(t,e);jp(e[S],r,n)}function Vh(e,t){let n=Re(t,e),r=n[m];Bh(r,n);let o=n[Ie];o!==null&&n[zt]===null&&(n[zt]=Li(o,n[Dt])),Qi(r,n,n[re])}function Bh(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function Qi(e,t,n){Ai(t);try{let r=e.viewQuery;r!==null&&Go(1,r,n);let o=e.template;o!==null&&Tc(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[Ee]?.finishViewCreation(e),e.staticContentQueries&&Fc(e,t),e.staticViewQueries&&Go(2,e.viewQuery,n);let i=e.components;i!==null&&Hh(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[g]&=-5,Ri()}}function Hh(e,t){for(let n=0;n<t.length;n++)Vh(e,t[n])}function Yi(e,t,n,r){let o=E(null);try{let i=t.tView,a=e[g]&4096?4096:16,u=Fr(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),c=e[t.index];u[He]=c;let l=e[Ee];return l!==null&&(u[Ee]=l.createEmbeddedView(i)),Qi(i,u,n),u}finally{E(o)}}function $h(e,t){let n=W+t;if(n<e.length)return e[n]}function sr(e,t){return!t||t.firstChild===null||tc(e)}function Ki(e,t,n,r=!0){let o=t[m];if(Up(o,t,e,n),r){let s=Uo(n,e),a=t[S],u=mc(a,e[Ue]);u!==null&&Hp(o,e[Y],a,t,u,s)}let i=t[zt];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function Uh(e,t){let n=or(e,t);return n!==void 0&&Bi(n[m],n),n}function ar(e,t,n,r,o=!1){for(;n!==null;){if(n.type===128){n=o?n.projectionNext:n.next;continue}let i=t[n.index];i!==null&&r.push(me(i)),we(i)&&zh(i,r);let s=n.type;if(s&8)ar(e,t,n.child,r);else if(s&32){let a=ji(n,t),u;for(;u=a();)r.push(u)}else if(s&16){let a=vc(t,n);if(Array.isArray(a))r.push(...a);else{let u=ze(t[oe]);ar(u[m],u,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function zh(e,t){for(let n=W;n<e.length;n++){let r=e[n],o=r[m].firstChild;o!==null&&ar(r[m],r,o,t)}e[Ue]!==e[Ie]&&t.push(e[Ue])}var jc=[];function Gh(e){return e[J]??qh(e)}function qh(e){let t=jc.pop()??Object.create(Zh);return t.lView=e,t}function Wh(e){e.lView[J]!==e&&(e.lView=null,jc.push(e))}var Zh=V(k({},ke),{consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{Xt(e.lView)},consumerOnSignalRead(){this.lView[J]=this}});function Qh(e){let t=e[J]??Object.create(Yh);return t.lView=e,t}var Yh=V(k({},ke),{consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let t=ze(e.lView);for(;t&&!Vc(t[m]);)t=ze(t);t&&Ti(t)},consumerOnSignalRead(){this.lView[J]=this}});function Vc(e){return e.type!==2}function Bc(e){if(e[$e]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[$e])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[g]&8192)}}var Kh=100;function Hc(e,t=!0,n=0){let o=e[De].rendererFactory,i=!1;i||o.begin?.();try{Jh(e,n)}catch(s){throw t&&Lc(e,s),s}finally{i||o.end?.()}}function Jh(e,t){let n=Nu();try{Yn(!0),qo(e,t);let r=0;for(;Sr(e);){if(r===Kh)throw new y(103,!1);r++,qo(e,1)}}finally{Yn(n)}}function Xh(e,t,n,r){let o=t[g];if((o&256)===256)return;let i=!1,s=!1;Ai(t);let a=!0,u=null,c=null;i||(Vc(e)?(c=Gh(t),u=ot(c)):ps()===null?(a=!1,c=Qh(t),u=ot(c)):t[J]&&(it(t[J]),t[J]=null));try{_u(t),Af(e.bindingStartIndex),n!==null&&Tc(e,t,n,2,r);let l=(o&3)===3;if(!i)if(l){let f=e.preOrderCheckHooks;f!==null&&jn(t,f,null)}else{let f=e.preOrderHooks;f!==null&&Vn(t,f,0,null),lo(t,0)}if(s||eg(t),Bc(t),$c(t,0),e.contentQueries!==null&&Fc(e,t),!i)if(l){let f=e.contentCheckHooks;f!==null&&jn(t,f)}else{let f=e.contentHooks;f!==null&&Vn(t,f,1),lo(t,1)}ph(e,t);let d=e.components;d!==null&&zc(t,d,0);let p=e.viewQuery;if(p!==null&&Go(2,p,r),!i)if(l){let f=e.viewCheckHooks;f!==null&&jn(t,f)}else{let f=e.viewHooks;f!==null&&Vn(t,f,2),lo(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Ln]){for(let f of t[Ln])f();t[Ln]=null}i||(t[g]&=-73)}catch(l){throw i||Xt(t),l}finally{c!==null&&(Ot(c,u),a&&Wh(c)),Ri()}}function $c(e,t){for(let n=oc(e);n!==null;n=ic(n))for(let r=W;r<n.length;r++){let o=n[r];Uc(o,t)}}function eg(e){for(let t=oc(e);t!==null;t=ic(t)){if(!(t[g]&Qn.HasTransplantedViews))continue;let n=t[Et];for(let r=0;r<n.length;r++){let o=n[r];Ti(o)}}}function tg(e,t,n){let r=Re(t,e);Uc(r,n)}function Uc(e,t){Mi(e)&&qo(e,t)}function qo(e,t){let r=e[m],o=e[g],i=e[J],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&Ft(i)),s||=!1,i&&(i.dirty=!1),e[g]&=-9217,s)Xh(r,e,r.template,e[re]);else if(o&8192){Bc(e),$c(e,1);let a=r.components;a!==null&&zc(e,a,1)}}function zc(e,t,n){for(let r=0;r<t.length;r++)tg(e,t[r],n)}function Ji(e,t){let n=Nu()?64:1088;for(e[De].changeDetectionScheduler?.notify(t);e;){e[g]|=n;let r=ze(e);if(To(e)&&!r)return e;e=r}return null}var Qe=class{_lView;_cdRefInjectingView;notifyErrorHandler;_appRef=null;_attachedToViewContainer=!1;get rootNodes(){let t=this._lView,n=t[m];return ar(n,t,n.firstChild,[])}constructor(t,n,r=!0){this._lView=t,this._cdRefInjectingView=n,this.notifyErrorHandler=r}get context(){return this._lView[re]}get dirty(){return!!(this._lView[g]&9280)||!!this._lView[J]?.dirty}set context(t){this._lView[re]=t}get destroyed(){return(this._lView[g]&256)===256}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[j];if(we(t)){let n=t[Zn],r=n?n.indexOf(this):-1;r>-1&&(or(t,r),zn(n,r))}this._attachedToViewContainer=!1}Bi(this._lView[m],this._lView)}onDestroy(t){bu(this._lView,t)}markForCheck(){Ji(this._cdRefInjectingView||this._lView,4)}markForRefresh(){Ti(this._cdRefInjectingView||this._lView)}detach(){this._lView[g]&=-129}reattach(){No(this._lView),this._lView[g]|=128}detectChanges(){this._lView[g]|=1024,Hc(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new y(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=To(this._lView),n=this._lView[He];n!==null&&!t&&Vi(n,this._lView),fc(this._lView[m],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new y(902,!1);this._appRef=t;let n=To(this._lView),r=this._lView[He];r!==null&&!n&&pc(r,this._lView),No(this._lView)}},Ye=(()=>{class e{static __NG_ELEMENT_ID__=og}return e})(),ng=Ye,rg=class extends ng{_declarationLView;_declarationTContainer;elementRef;constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){let o=Yi(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new Qe(o)}};function og(){return Pr(P(),D())}function Pr(e,t){return e.type&4?new rg(t,e,St(e,t)):null}var JI=new RegExp(`^(\\d+)*(${wp}|${Ip})*(.*)`);var ig=()=>null;function ur(e,t){return ig(e,t)}var Wo=class{},cr=class{},Zo=class{resolveComponentFactory(t){throw Error(`No component factory found for ${$(t)}.`)}},Ct=class{static NULL=new Zo},lr=class{},Lr=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>sg()}return e})();function sg(){let e=D(),t=P(),n=Re(t.index,e);return(Me(n)?n:e)[S]}var ag=(()=>{class e{static \u0275prov=x({token:e,providedIn:"root",factory:()=>null})}return e})();function dr(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s<t.length;s++){let a=t[s];if(typeof a=="number")i=a;else if(i==1)o=Eo(o,a);else if(i==2){let u=a,c=t[++s];r=Eo(r,u+": "+c+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}var fr=class extends Ct{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=yt(t);return new pr(n,this.ngModule)}};function Ma(e,t){let n=[];for(let r in e){if(!e.hasOwnProperty(r))continue;let o=e[r];if(o===void 0)continue;let i=Array.isArray(o),s=i?o[0]:o,a=i?o[1]:xe.None;t?n.push({propName:s,templateName:r,isSignal:(a&xe.SignalBased)!==0}):n.push({propName:s,templateName:r})}return n}function ug(e){let t=e.toLowerCase();return t==="svg"?wu:t==="math"?vf:null}var pr=class extends cr{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;get inputs(){let t=this.componentDef,n=t.inputTransforms,r=Ma(t.inputs,!0);if(n!==null)for(let o of r)n.hasOwnProperty(o.propName)&&(o.transform=n[o.propName]);return r}get outputs(){return Ma(this.componentDef.outputs,!1)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=dh(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,o){let i=E(null);try{o=o||this.ngModule;let s=o instanceof Te?o:o?.injector;s&&this.componentDef.getStandaloneInjector!==null&&(s=this.componentDef.getStandaloneInjector(s)||s);let a=s?new Oo(t,s):t,u=a.get(lr,null);if(u===null)throw new y(407,!1);let c=a.get(ag,null),l=a.get(wt,null),d={rendererFactory:u,sanitizer:c,changeDetectionScheduler:l},p=u.createRenderer(null,this.componentDef),f=this.componentDef.selectors[0][0]||"div",h=r?mh(p,r,this.componentDef.encapsulation,a):dc(p,f,ug(f)),_=512;this.componentDef.signals?_|=4096:this.componentDef.onPush||(_|=16);let F=null;h!==null&&(F=Li(h,a,!0));let T=qi(0,null,null,1,0,null,null,null,null,null,null),X=Fr(null,T,null,_,null,null,d,p,a,null,F);Ai(X);let ve,ae,nt=null;try{let K=this.componentDef,rt,Vr=null;K.findHostDirectiveDefs?(rt=[],Vr=new Map,K.findHostDirectiveDefs(K,rt,Vr),rt.push(K)):rt=[K];let Bl=cg(X,h);nt=lg(Bl,h,K,rt,X,d,p),ae=bi(T,Q),h&&pg(p,K,h,r),n!==void 0&&hg(ae,this.ngContentSelectors,n),ve=fg(nt,K,rt,Vr,X,[gg]),Qi(T,X,null)}catch(K){throw nt!==null&&Ho(nt),Ho(X),K}finally{Ri()}return new Qo(this.componentType,ve,St(ae,X),X,ae)}finally{E(i)}}},Qo=class extends Wo{location;_rootLView;_tNode;instance;hostView;changeDetectorRef;componentType;previousInputValues=null;constructor(t,n,r,o,i){super(),this.location=r,this._rootLView=o,this._tNode=i,this.instance=n,this.hostView=this.changeDetectorRef=new Qe(o,void 0,!1),this.componentType=t}setInput(t,n){let r=this._tNode.inputs,o;if(r!==null&&(o=r[t])){if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let i=this._rootLView;Zi(i[m],i,o,t,n),this.previousInputValues.set(t,n);let s=Re(this._tNode.index,i);Ji(s,1)}}get injector(){return new Be(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function cg(e,t){let n=e[m],r=Q;return e[r]=t,Nt(n,r,2,"#host",null)}function lg(e,t,n,r,o,i,s){let a=o[m];dg(r,e,t,s);let u=null;t!==null&&(u=Li(t,o[Dt]));let c=i.rendererFactory.createRenderer(t,n),l=Fr(o,Sc(n),null,Rc(n),o[e.index],e,i,c,null,null,u);return a.firstCreatePass&&zo(a,e,r.length-1),kr(o,l),o[e.index]=l}function dg(e,t,n,r){for(let o of e)t.mergedAttrs=qt(t.mergedAttrs,o.hostAttrs);t.mergedAttrs!==null&&(dr(t,t.mergedAttrs,!0),n!==null&&Ic(r,n,t))}function fg(e,t,n,r,o,i){let s=P(),a=o[m],u=se(s,o);xc(a,o,s,n,null,r);for(let l=0;l<n.length;l++){let d=s.directiveStart+l,p=We(o,a,d,s);Ne(p,o)}Ac(a,o,s),u&&Ne(u,o);let c=We(o,a,s.directiveStart+s.componentOffset,s);if(e[re]=o[re]=c,i!==null)for(let l of i)l(c,t);return Ui(a,s,o),c}function pg(e,t,n,r){if(r)Ro(e,n,["ng-version","19.0.7"]);else{let{attrs:o,classes:i}=fh(t.selectors[0]);o&&Ro(e,n,o),i&&i.length>0&&Ec(e,n,i.join(" "))}}function hg(e,t,n){let r=e.projection=[];for(let o=0;o<t.length;o++){let i=n[o];r.push(i!=null&&i.length?Array.from(i):null)}}function gg(){let e=P();Ar(D()[m],e)}var tt=(()=>{class e{static __NG_ELEMENT_ID__=mg}return e})();function mg(){let e=P();return qc(e,D())}var yg=tt,Gc=class extends yg{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return St(this._hostTNode,this._hostLView)}get injector(){return new Be(this._hostTNode,this._hostLView)}get parentInjector(){let t=Fi(this._hostTNode,this._hostLView);if(Vu(t)){let n=Jn(t,this._hostLView),r=Kn(t),o=n[m].data[r+8];return new Be(o,n)}else return new Be(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=Ta(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-W}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=ur(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,sr(this._hostTNode,s)),a}createComponent(t,n,r,o,i){let s=t&&!hf(t),a;if(s)a=n;else{let h=n||{};a=h.index,r=h.injector,o=h.projectableNodes,i=h.environmentInjector||h.ngModuleRef}let u=s?t:new pr(yt(t)),c=r||this.parentInjector;if(!i&&u.ngModule==null){let _=(s?c:this.parentInjector).get(Te,null);_&&(i=_)}let l=yt(u.componentType??{}),d=ur(this._lContainer,l?.id??null),p=d?.firstChild??null,f=u.create(c,o,p,i);return this.insertImpl(f.hostView,a,sr(this._hostTNode,d)),f}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(If(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let u=o[j],c=new Gc(u,u[Y],u[j]);c.detach(c.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return Ki(s,o,i,r),t.attachToViewContainerRef(),nu(go(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Ta(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=or(this._lContainer,n);r&&(zn(go(this._lContainer),n),Bi(r[m],r))}detach(t){let n=this._adjustIndex(t,-1),r=or(this._lContainer,n);return r&&zn(go(this._lContainer),n)!=null?new Qe(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Ta(e){return e[Zn]}function go(e){return e[Zn]||(e[Zn]=[])}function qc(e,t){let n,r=t[e.index];return we(r)?n=r:(n=Oc(r,t,null,e),t[e.index]=n,kr(t,n)),Dg(n,t,e,r),new Gc(n,e,t)}function vg(e,t){let n=e[S],r=n.createComment(""),o=se(t,e),i=mc(n,o);return ir(n,i,r,Wp(n,o),!1),r}var Dg=wg,Eg=()=>!1;function Ig(e,t,n){return Eg(e,t,n)}function wg(e,t,n,r){if(e[Ue])return;let o;n.type&8?o=me(r):o=vg(t,n),e[Ue]=o}var Yo=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},Ko=class e{queries;constructor(t=[]){this.queries=t}createEmbeddedView(t){let n=t.queries;if(n!==null){let r=t.contentQueries!==null?t.contentQueries[0]:n.length,o=[];for(let i=0;i<r;i++){let s=n.getByIndex(i),a=this.queries[s.indexInDeclarationView];o.push(a.clone())}return new e(o)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)Xi(t,n).matches!==null&&this.queries[n].setDirty()}},hr=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=xg(t):this.predicate=t}},Jo=class e{queries;constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){let o=n!==null?n.length:0,i=this.getByIndex(r).embeddedTView(t,o);i&&(i.indexInDeclarationView=r,n!==null?n.push(i):n=[i])}return n!==null?new e(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}},Xo=class e{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(t,n=-1){this.metadata=t,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new e(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let n=this._declarationNodeIndex,r=t.parent;for(;r!==null&&r.type&8&&r.index!==n;)r=r.parent;return n===(r!==null?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){let r=this.metadata.predicate;if(Array.isArray(r))for(let o=0;o<r.length;o++){let i=r[o];this.matchTNodeWithReadOption(t,n,Cg(n,i)),this.matchTNodeWithReadOption(t,n,Bn(n,t,i,!1,!1))}else r===Ye?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Bn(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===Oe||o===tt||o===Ye&&n.type&4)this.addMatch(n.index,-2);else{let i=Bn(n,t,o,!1,!1);i!==null&&this.addMatch(n.index,i)}else this.addMatch(n.index,r)}}addMatch(t,n){this.matches===null?this.matches=[t,n]:this.matches.push(t,n)}};function Cg(e,t){let n=e.localNames;if(n!==null){for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1]}return null}function _g(e,t){return e.type&11?St(e,t):e.type&4?Pr(e,t):null}function bg(e,t,n,r){return n===-1?_g(t,e):n===-2?Mg(e,t,r):We(e,e[m],n,t)}function Mg(e,t,n){if(n===Oe)return St(t,e);if(n===Ye)return Pr(t,e);if(n===tt)return qc(t,e)}function Wc(e,t,n,r){let o=t[Ee].queries[r];if(o.matches===null){let i=e.data,s=n.matches,a=[];for(let u=0;s!==null&&u<s.length;u+=2){let c=s[u];if(c<0)a.push(null);else{let l=i[c];a.push(bg(t,l,s[u+1],n.metadata.read))}}o.matches=a}return o.matches}function ei(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=Wc(e,t,o,n);for(let a=0;a<i.length;a+=2){let u=i[a];if(u>0)r.push(s[a/2]);else{let c=i[a+1],l=t[-u];for(let d=W;d<l.length;d++){let p=l[d];p[He]===p[j]&&ei(p[m],p,c,r)}if(l[Et]!==null){let d=l[Et];for(let p=0;p<d.length;p++){let f=d[p];ei(f[m],f,c,r)}}}}}return r}function Tg(e,t){return e[Ee].queries[t].queryList}function Zc(e,t,n){let r=new Bo((n&4)===4);return Dh(e,t,r,r.destroy),(t[Ee]??=new Ko).queries.push(new Yo(r))-1}function Sg(e,t,n){let r=A();return r.firstCreatePass&&(Qc(r,new hr(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),Zc(r,D(),t)}function Ng(e,t,n,r){let o=A();if(o.firstCreatePass){let i=P();Qc(o,new hr(t,n,r),i.index),Ag(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return Zc(o,D(),n)}function xg(e){return e.split(",").map(t=>t.trim())}function Qc(e,t,n){e.queries===null&&(e.queries=new Jo),e.queries.track(new Xo(t,n))}function Ag(e,t){let n=e.contentQueries||(e.contentQueries=[]),r=n.length?n[n.length-1]:-1;t!==r&&n.push(e.queries.length-1,t)}function Xi(e,t){return e.queries.getByIndex(t)}function Rg(e,t){let n=e[m],r=Xi(n,t);return r.crossesNgTemplate?ei(n,e,t,[]):Wc(n,e,r,t)}function Og(e){return typeof e=="function"&&e[G]!==void 0}function ew(e,t){et("NgSignals");let n=_s(e),r=n[G];return t?.equal&&(r.equal=t.equal),n.set=o=>fn(r,o),n.update=o=>bs(r,o),n.asReadonly=Fg.bind(n),n}function Fg(){let e=this[G];if(e.readonlyFn===void 0){let t=()=>this();t[G]=e,e.readonlyFn=t}return e.readonlyFn}function Yc(e){return Og(e)&&typeof e.set=="function"}function kg(e){let t=[],n=new Map;function r(o){let i=n.get(o);if(!i){let s=e(o);n.set(o,i=s.then(Vg))}return i}return gr.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,l=o.styleUrls;o.styleUrls.forEach((d,p)=>{a.push(""),s.push(r(d).then(f=>{a[c+p]=f,l.splice(l.indexOf(d),1),l.length==0&&(o.styleUrls=void 0)}))})}else o.styleUrl&&s.push(r(o.styleUrl).then(c=>{a.push(c),o.styleUrl=void 0}));let u=Promise.all(s).then(()=>Bg(i));t.push(u)}),Lg(),Promise.all(t).then(()=>{})}var gr=new Map,Pg=new Set;function Lg(){let e=gr;return gr=new Map,e}function jg(){return gr.size===0}function Vg(e){return typeof e=="string"?e:e.text()}function Bg(e){Pg.delete(e)}var Ae=class{},ti=class{};var mr=class extends Ae{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new fr(this);constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=Jd(t);this._bootstrapComponents=kp(i.bootstrap),this._r3Injector=Zu(t,n,[{provide:Ae,useValue:this},{provide:Ct,useValue:this.componentFactoryResolver},...r],$(t),new Set(["environment"])),o&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},ni=class extends ti{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new mr(this.moduleType,t,[])}};function Hg(e,t,n){return new mr(e,t,n,!1)}var ri=class extends Ae{injector;componentFactoryResolver=new fr(this);instance=null;constructor(t){super();let n=new Ut([...t.providers,{provide:Ae,useValue:this},{provide:Ct,useValue:this.componentFactoryResolver}],t.parent||Ci(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function $g(e,t,n=null){return new ri({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var Ug=(()=>{class e{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=au(!1,n.type),o=r.length>0?$g([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=x({token:e,providedIn:"environment",factory:()=>new e(U(Te))})}return e})();function tw(e){return Kt(()=>{let t=Kc(e),n=V(k({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===nc.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(Ug).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Zt.Emulated,styles:e.styles||q,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&et("NgStandalone"),Jc(n);let r=e.dependencies;return n.directiveDefs=Na(r,!1),n.pipeDefs=Na(r,!0),n.id=qg(n),n})}function zg(e){return yt(e)||iu(e)}function Gg(e){return e!==null}function es(e){return Kt(()=>({type:e.type,bootstrap:e.bootstrap||q,declarations:e.declarations||q,imports:e.imports||q,exports:e.exports||q,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Sa(e,t){if(e==null)return mt;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a=xe.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),t?(n[i]=a!==xe.None?[r,a]:r,t[i]=s):n[i]=r}return n}function xt(e){return Kt(()=>{let t=Kc(e);return Jc(t),t})}function Kc(e){let t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||mt,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||q,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Sa(e.inputs,t),outputs:Sa(e.outputs),debugInfo:null}}function Jc(e){e.features?.forEach(t=>t(e))}function Na(e,t){if(!e)return null;let n=t?su:zg;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(Gg)}function qg(e){let t=0,n=typeof e.consts=="function"?"":e.consts,r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,n,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(let i of r.join("|"))t=Math.imul(31,t)+i.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function Wg(e){return Object.getPrototypeOf(e.prototype).constructor}function Zg(e){let t=Wg(e.type),n=!0,r=[e];for(;t;){let o;if(Se(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new y(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=On(e.inputs),s.inputTransforms=On(e.inputTransforms),s.declaredInputs=On(e.declaredInputs),s.outputs=On(e.outputs);let a=o.hostBindings;a&&Xg(e,a);let u=o.viewQuery,c=o.contentQueries;if(u&&Kg(e,u),c&&Jg(e,c),Qg(e,o),Sd(e.outputs,o.outputs),Se(o)&&o.data.animation){let l=e.data;l.animation=(l.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s<i.length;s++){let a=i[s];a&&a.ngInherit&&a(e),a===Zg&&(n=!1)}}t=Object.getPrototypeOf(t)}Yg(r)}function Qg(e,t){for(let n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;let r=t.inputs[n];if(r!==void 0&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n],t.inputTransforms!==null)){let o=Array.isArray(r)?r[0]:r;if(!t.inputTransforms.hasOwnProperty(o))continue;e.inputTransforms??={},e.inputTransforms[o]=t.inputTransforms[o]}}}function Yg(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){let o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=qt(o.hostAttrs,n=qt(n,o.hostAttrs))}}function On(e){return e===mt?{}:e===q?[]:e}function Kg(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function Jg(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function Xg(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function em(e){let t=e.inputConfig,n={};for(let r in t)if(t.hasOwnProperty(r)){let o=t[r];Array.isArray(o)&&o[3]&&(n[r]=o[3])}e.inputTransforms=n}function Xc(e){return ts(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function tm(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{let n=e[Symbol.iterator](),r;for(;!(r=n.next()).done;)t(r.value)}}function ts(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function sn(e,t,n){return e[t]=n}function nm(e,t){return e[t]}function ie(e,t,n){let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function el(e,t,n,r){let o=ie(e,t,n);return ie(e,t+1,r)||o}function rm(e,t,n,r,o){let i=el(e,t,n,r);return ie(e,t+2,o)||i}function om(e){return(e.flags&32)===32}function im(e,t,n,r,o,i,s,a,u){let c=t.consts,l=Nt(t,e,4,s||null,a||null);Wi(t,n,l,It(c,u)),Ar(t,l);let d=l.tView=qi(2,l,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,c,null);return t.queries!==null&&(t.queries.template(t,l),d.queries=t.queries.embeddedTView(l)),l}function tl(e,t,n,r,o,i,s,a,u,c){let l=n+Q,d=t.firstCreatePass?im(l,t,e,r,o,i,s,a,u):t.data[l];Je(d,!1);let p=am(t,e,d,n);Nr()&&Rr(t,e,p,d),Ne(p,e);let f=Oc(p,e,p,d);return e[l]=f,kr(e,f),Ig(f,d,e),Tr(d)&&zi(t,e,d),u!=null&&Gi(e,d,c),d}function sm(e,t,n,r,o,i,s,a){let u=D(),c=A(),l=It(c.consts,i);return tl(u,c,e,t,n,r,o,l,s,a),sm}var am=um;function um(e,t,n,r){return xr(!0),t[S].createComment("")}var cm=new b(""),lm=new b(""),nw=(()=>{class e{_ngZone;registry;_isZoneStable=!0;_callbacks=[];taskTrackingZone=null;constructor(n,r,o){this._ngZone=n,this.registry=r,ns||(fm(o),o.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Z.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}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||e)(U(Z),U(dm),U(lm))};static \u0275prov=x({token:e,factory:e.\u0275fac})}return e})(),dm=(()=>{class e{_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 ns?.findTestabilityInTree(this,n,r)??null}static \u0275fac=function(r){return new(r||e)};static \u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function fm(e){ns=e}var ns;function rs(e){return!!e&&typeof e.then=="function"}function nl(e){return!!e&&typeof e.subscribe=="function"}var rl=new b("");function rw(e){return ef([{provide:rl,multi:!0,useValue:e}])}var ol=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=C(rl,{optional:!0})??[];injector=C(ye);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=fu(this.injector,o);if(rs(i))n.push(i);else if(nl(i)){let s=new Promise((a,u)=>{i.subscribe({complete:a,error:u})});n.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),n.length===0&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),il=(()=>{class e{static \u0275prov=x({token:e,providedIn:"root",factory:()=>new yr})}return e})(),yr=class{queuedEffectCount=0;queues=new Map;schedule(t){this.enqueue(t)}remove(t){let n=t.zone,r=this.queues.get(n);r.has(t)&&(r.delete(t),this.queuedEffectCount--)}enqueue(t){let n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||(this.queuedEffectCount++,r.add(t))}flush(){for(;this.queuedEffectCount>0;)for(let[t,n]of this.queues)t===null?this.flushQueue(n):t.run(()=>this.flushQueue(n))}flushQueue(t){for(let n of t)t.delete(n),this.queuedEffectCount--,n.run()}},pm=new b("");function hm(){Cs(()=>{throw new y(600,!1)})}function gm(e){return e.isBoundToModule}var mm=10;function ym(e,t,n){try{let r=n();return rs(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}function sl(e,t){return Array.isArray(t)?t.reduce(sl,e):k(k({},e),t)}var _t=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=C(cp);afterRenderManager=C(_p);zonelessEnabled=C(Yu);rootEffectScheduler=C(il);dirtyFlags=0;deferredDirtyFlags=0;tracingSnapshot=null;externalTestViews=new Set;afterTick=new pe;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=C(rn).hasPendingTasks.pipe(Ve(n=>!n));constructor(){C(cc,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=C(Te);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){let o=n instanceof cr;if(!this._injector.get(ol).done){let p=!o&&Xd(n),f=!1;throw new y(405,f)}let s;o?s=n:s=this._injector.get(Ct).resolveComponentFactory(n),this.componentTypes.push(s.componentType);let a=gm(s)?void 0:this._injector.get(Ae),u=r||s.selector,c=s.create(ye.NULL,[],u,a),l=c.location.nativeElement,d=c.injector.get(cm,null);return d?.registerApplication(l),c.onDestroy(()=>{this.detachView(c.hostView),Hn(this.components,c),d?.unregisterApplication(l)}),this._loadComponent(c),c}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick=()=>{if(this.tracingSnapshot!==null){let r=this.tracingSnapshot;this.tracingSnapshot=null,r.run(uc.CHANGE_DETECTION,this._tick),r.dispose();return}if(this._runningTick)throw new y(101,!1);let n=E(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,E(n),this.afterTick.next()}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(lr,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let n=0;for(;this.dirtyFlags!==0&&n++<mm;)this.synchronizeOnce()}synchronizeOnce(){if(this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0,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)vm(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})=>Sr(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;Hn(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(pm,[]).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),()=>Hn(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new y(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Hn(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function vm(e,t,n,r){if(!n&&!Sr(e))return;Hc(e,t,n&&!r?0:1)}function Dm(e,t,n,r){let o=D(),i=tn();if(ie(o,i,t)){let s=A(),a=Oi();Fh(a,o,e,t,n,r)}return Dm}function Em(e,t,n,r){return ie(e,tn(),n)?t+wr(n)+r:de}function Fn(e,t){return e<<17|t<<2}function Ke(e){return e>>17&32767}function Im(e){return(e&2)==2}function wm(e,t){return e&131071|t<<17}function oi(e){return e|2}function bt(e){return(e&131068)>>2}function mo(e,t){return e&-131069|t<<2}function Cm(e){return(e&1)===1}function ii(e){return e|1}function _m(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=Ke(s),u=bt(s);e[r]=n;let c=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||Jt(d,l)>0)&&(c=!0)}else l=n;if(o)if(u!==0){let p=Ke(e[a+1]);e[r+1]=Fn(p,a),p!==0&&(e[p+1]=mo(e[p+1],r)),e[a+1]=wm(e[a+1],r)}else e[r+1]=Fn(a,0),a!==0&&(e[a+1]=mo(e[a+1],r)),a=r;else e[r+1]=Fn(u,0),a===0?a=r:e[u+1]=mo(e[u+1],r),u=r;c&&(e[r+1]=oi(e[r+1])),xa(e,l,r,!0),xa(e,l,r,!1),bm(t,l,e,r,i),s=Fn(a,u),i?t.classBindings=s:t.styleBindings=s}function bm(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&Jt(i,t)>=0&&(n[r+1]=ii(n[r+1]))}function xa(e,t,n,r){let o=e[n+1],i=t===null,s=r?Ke(o):bt(o),a=!1;for(;s!==0&&(a===!1||i);){let u=e[s],c=e[s+1];Mm(u,t)&&(a=!0,e[s+1]=r?ii(c):oi(c)),s=r?Ke(c):bt(c)}a&&(e[n+1]=r?oi(o):ii(o))}function Mm(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Jt(e,t)>=0:!1}var O={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function al(e){return e.substring(O.key,O.keyEnd)}function Tm(e){return e.substring(O.value,O.valueEnd)}function Sm(e){return ll(e),ul(e,Mt(e,0,O.textEnd))}function ul(e,t){let n=O.textEnd;return n===t?-1:(t=O.keyEnd=xm(e,O.key=t,n),Mt(e,t,n))}function Nm(e){return ll(e),cl(e,Mt(e,0,O.textEnd))}function cl(e,t){let n=O.textEnd,r=O.key=Mt(e,t,n);return n===r?-1:(r=O.keyEnd=Am(e,r,n),r=Aa(e,r,n,58),r=O.value=Mt(e,r,n),r=O.valueEnd=Rm(e,r,n),Aa(e,r,n,59))}function ll(e){O.key=0,O.keyEnd=0,O.value=0,O.valueEnd=0,O.textEnd=e.length}function Mt(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function xm(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function Am(e,t,n){let r;for(;t<n&&((r=e.charCodeAt(t))===45||r===95||(r&-33)>=65&&(r&-33)<=90||r>=48&&r<=57);)t++;return t}function Aa(e,t,n,r){return t=Mt(e,t,n),t<n&&t++,t}function Rm(e,t,n){let r=-1,o=-1,i=-1,s=t,a=s;for(;s<n;){let u=e.charCodeAt(s++);if(u===59)return a;u===34||u===39?a=s=Ra(e,u,s,n):t===s-4&&i===85&&o===82&&r===76&&u===40?a=s=Ra(e,41,s,n):u>32&&(a=s),i=o,o=r,r=u&-33}return a}function Ra(e,t,n,r){let o=-1,i=n;for(;i<r;){let s=e.charCodeAt(i++);if(s==t&&o!==92)return i;s==92&&o===92?o=0:o=s}throw new Error}function Om(e,t,n){let r=D(),o=tn();if(ie(r,o,t)){let i=A(),s=Oi();Nc(i,s,r,e,t,r[S],n,!1)}return Om}function si(e,t,n,r,o){let i=t.inputs,s=o?"class":"style";Zi(e,n,i[s],s,r)}function dl(e,t,n){return fl(e,t,n,!1),dl}function Fm(e,t){return fl(e,t,null,!0),Fm}function ow(e){pl(ml,km,e,!1)}function km(e,t){for(let n=Nm(t);n>=0;n=cl(t,n))ml(e,al(t),Tm(t))}function iw(e){pl($m,Pm,e,!0)}function Pm(e,t){for(let n=Sm(t);n>=0;n=ul(t,n))_r(e,al(t),!0)}function fl(e,t,n,r){let o=D(),i=A(),s=xu(2);if(i.firstUpdatePass&&gl(i,e,s,r),t!==de&&ie(o,s,t)){let a=i.data[Xe()];yl(i,a,o,o[S],e,o[s+1]=zm(t,n),r,s)}}function pl(e,t,n,r){let o=A(),i=xu(2);o.firstUpdatePass&&gl(o,null,i,r);let s=D();if(n!==de&&ie(s,i,n)){let a=o.data[Xe()];if(vl(a,r)&&!hl(o,i)){let u=r?a.classesWithoutHost:a.stylesWithoutHost;u!==null&&(n=Eo(u,n||"")),si(o,a,s,n,r)}else Um(o,a,s,s[S],s[i+1],s[i+1]=Hm(e,t,n),r,i)}}function hl(e,t){return t>=e.expandoStartIndex}function gl(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[Xe()],s=hl(e,n);vl(i,r)&&t===null&&!s&&(t=!1),t=Lm(o,i,t,r),_m(o,i,t,n,s,r)}}function Lm(e,t,n,r){let o=kf(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=yo(null,e,t,n,r),n=Yt(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=yo(o,e,t,n,r),i===null){let u=jm(e,t,r);u!==void 0&&Array.isArray(u)&&(u=yo(null,e,t,u[1],r),u=Yt(u,t.attrs,r),Vm(e,t,r,u))}else i=Bm(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function jm(e,t,n){let r=n?t.classBindings:t.styleBindings;if(bt(r)!==0)return e[Ke(r)]}function Vm(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[Ke(o)]=r}function Bm(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=Yt(r,s,n)}return Yt(r,t.attrs,n)}function yo(e,t,n,r,o){let i=null,s=n.directiveEnd,a=n.directiveStylingLast;for(a===-1?a=n.directiveStart:a++;a<s&&(i=t[a],r=Yt(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function Yt(e,t,n){let r=n?1:2,o=-1;if(t!==null)for(let i=0;i<t.length;i++){let s=t[i];typeof s=="number"?o=s:o===r&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),_r(e,s,n?!0:t[++i]))}return e===void 0?null:e}function Hm(e,t,n){if(n==null||n==="")return q;let r=[],o=on(n);if(Array.isArray(o))for(let i=0;i<o.length;i++)e(r,o[i],!0);else if(typeof o=="object")for(let i in o)o.hasOwnProperty(i)&&e(r,i,o[i]);else typeof o=="string"&&t(r,o);return r}function ml(e,t,n){_r(e,t,on(n))}function $m(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&_r(e,r,n)}function Um(e,t,n,r,o,i,s,a){o===de&&(o=q);let u=0,c=0,l=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;l!==null||d!==null;){let p=u<o.length?o[u+1]:void 0,f=c<i.length?i[c+1]:void 0,h=null,_;l===d?(u+=2,c+=2,p!==f&&(h=d,_=f)):d===null||l!==null&&l<d?(u+=2,h=l):(c+=2,h=d,_=f),h!==null&&yl(e,t,n,r,h,_,s,a),l=u<o.length?o[u]:null,d=c<i.length?i[c]:null}}function yl(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let u=e.data,c=u[a+1],l=Cm(c)?Oa(u,t,n,o,bt(c),s):void 0;if(!vr(l)){vr(i)||Im(c)&&(i=Oa(u,null,n,o,a,s));let d=Cu(Xe(),n);Xp(r,s,d,o,i)}}function Oa(e,t,n,r,o,i){let s=t===null,a;for(;o>0;){let u=e[o],c=Array.isArray(u),l=c?u[1]:u,d=l===null,p=n[o+1];p===de&&(p=d?q:void 0);let f=d?uo(p,r):l===r?p:void 0;if(c&&!vr(f)&&(f=uo(u,r)),vr(f)&&(a=f,s))return a;let h=e[o+1];o=s?Ke(h):bt(h)}if(t!==null){let u=i?t.residualClasses:t.residualStyles;u!=null&&(a=uo(u,r))}return a}function vr(e){return e!==void 0}function zm(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=$(on(e)))),e}function vl(e,t){return(e.flags&(t?8:16))!==0}function sw(e,t){et("NgControlFlow");let n=D(),r=tn(),o=n[r]!==de?n[r]:-1,i=o!==-1?Fa(n,Q+o):void 0,s=0;if(ie(n,r,e)){let a=E(null);try{if(i!==void 0&&Uh(i,s),e!==-1){let u=Q+e,c=Fa(n,u),l=Gm(n[m],u),d=ur(c,l.tView.ssrId),p=Yi(n,l,t,{dehydratedView:d});Ki(c,p,s,sr(l,d))}}finally{E(a)}}else if(i!==void 0){let a=$h(i,s);a!==void 0&&(a[re]=t)}}function Fa(e,t){return e[t]}function Gm(e,t){return bi(e,t)}function qm(e,t,n,r,o,i){let s=t.consts,a=It(s,o),u=Nt(t,e,2,r,a);return Wi(t,n,u,It(s,i)),u.attrs!==null&&dr(u,u.attrs,!1),u.mergedAttrs!==null&&dr(u,u.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,u),u}function Dl(e,t,n,r){let o=D(),i=A(),s=Q+e,a=o[S],u=i.firstCreatePass?qm(s,i,o,t,n,r):i.data[s],c=Zm(i,o,u,a,t,e);o[s]=c;let l=Tr(u);return Je(u,!0),Ic(a,c,u),!om(u)&&Nr()&&Rr(i,o,c,u),_f()===0&&Ne(c,o),bf(),l&&(zi(i,o,u),Ui(i,u,o)),r!==null&&Gi(o,u),Dl}function El(){let e=P();Si()?Ni():(e=e.parent,Je(e,!1));let t=e;Tf(t)&&Sf(),Mf();let n=A();return n.firstCreatePass&&(Ar(n,e),_i(e)&&n.queries.elementEnd(e)),t.classesWithoutHost!=null&&$f(t)&&si(n,t,D(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&Uf(t)&&si(n,t,D(),t.stylesWithoutHost,!1),El}function Wm(e,t,n,r){return Dl(e,t,n,r),El(),Wm}var Zm=(e,t,n,r,o,i)=>(xr(!0),dc(r,o,jf()));function Qm(e,t,n,r,o){let i=t.consts,s=It(i,r),a=Nt(t,e,8,"ng-container",s);s!==null&&dr(a,s,!0);let u=It(i,o);return Wi(t,n,a,u),t.queries!==null&&t.queries.elementStart(t,a),a}function Il(e,t,n){let r=D(),o=A(),i=e+Q,s=o.firstCreatePass?Qm(i,o,r,t,n):o.data[i];Je(s,!0);let a=Km(o,r,s,e);return r[i]=a,Nr()&&Rr(o,r,a,s),Ne(a,r),Tr(s)&&(zi(o,r,s),Ui(o,s,r)),n!=null&&Gi(r,s),Il}function wl(){let e=P(),t=A();return Si()?Ni():(e=e.parent,Je(e,!1)),t.firstCreatePass&&(Ar(t,e),_i(e)&&t.queries.elementEnd(e)),wl}function Ym(e,t,n){return Il(e,t,n),wl(),Ym}var Km=(e,t,n,r)=>(xr(!0),Vp(t[S],""));function aw(){return D()}var Dr="en-US";var Jm=Dr;function Xm(e){typeof e=="string"&&(Jm=e.toLowerCase().replace(/_/g,"-"))}var ey=(e,t,n)=>{};function ty(e,t,n,r){let o=D(),i=A(),s=P();return Cl(i,o,o[S],s,e,t,r),ty}function ny(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;i<o.length-1;i+=2){let s=o[i];if(s===n&&o[i+1]===r){let a=t[Wn],u=o[i+2];return a.length>u?a[u]:null}typeof s=="string"&&(i+=2)}return null}function Cl(e,t,n,r,o,i,s){let a=Tr(r),c=e.firstCreatePass&&Pc(e),l=t[re],d=kc(t),p=!0;if(r.type&3||s){let _=se(r,t),F=s?s(_):_,T=d.length,X=s?ae=>s(me(ae[r.index])):r.index,ve=null;if(!s&&a&&(ve=ny(e,t,o,r.index)),ve!==null){let ae=ve.__ngLastListenerFn__||ve;ae.__ngNextListenerFn__=i,ve.__ngLastListenerFn__=i,p=!1}else{i=Pa(r,t,l,i),ey(_,o,i);let ae=n.listen(F,o,i);d.push(i,ae),c&&c.push(o,X,T,T+1)}}else i=Pa(r,t,l,i);let f=r.outputs,h;if(p&&f!==null&&(h=f[o])){let _=h.length;if(_)for(let F=0;F<_;F+=2){let T=h[F],X=h[F+1],nt=t[T][X].subscribe(i),K=d.length;d.push(i,nt),c&&c.push(o,r.index,K,-(K+1))}}}function ka(e,t,n,r){let o=E(null);try{return he(6,t,n),n(r)!==!1}catch(i){return Lc(e,i),!1}finally{he(7,t,n),E(o)}}function Pa(e,t,n,r){return function o(i){if(i===Function)return r;let s=e.componentOffset>-1?Re(e.index,t):t;Ji(s,5);let a=ka(t,n,r,i),u=o.__ngNextListenerFn__;for(;u;)a=ka(t,n,u,i)&&a,u=u.__ngNextListenerFn__;return a}}function uw(e=1){return Lf(e)}function ry(e,t){let n=null,r=sh(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?Cc(e,i,!0):ch(r,i))return o}return n}function cw(e){let t=D()[oe][Y];if(!t.projection){let n=e?e.length:1,r=t.projection=Qd(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?ry(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function lw(e,t=0,n,r,o,i){let s=D(),a=A(),u=r?e+1:null;u!==null&&tl(s,a,u,r,o,i,null,n);let c=Nt(a,Q+e,16,null,n||null);c.projection===null&&(c.projection=t),Ni();let d=!s[zt]||Tu();s[oe][Y].projection[c.projection]===null&&u!==null?oy(s,a,u):d&&(c.flags&32)!==32&&Kp(a,s,c)}function oy(e,t,n){let r=Q+n,o=t.data[r],i=e[r],s=ur(i,o.tView.ssrId),a=Yi(e,o,void 0,{dehydratedView:s});Ki(i,a,0,sr(o,s))}function dw(e,t,n,r){Ng(e,t,n,r)}function fw(e,t,n){Sg(e,t,n)}function pw(e){let t=D(),n=A(),r=Au();xi(r+1);let o=Xi(n,r);if(e.dirty&&Ef(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=Rg(t,r);e.reset(i,fp),e.notifyOnChanges()}return!0}return!1}function hw(){return Tg(D(),Au())}function gw(e){let t=xf();return Df(t,Q+e)}function mw(e,t=""){let n=D(),r=A(),o=e+Q,i=r.firstCreatePass?Nt(r,o,1,t,null):r.data[o],s=iy(r,n,i,t,e);n[o]=s,Nr()&&Rr(r,n,s,i),Je(i,!1)}var iy=(e,t,n,r,o)=>(xr(!0),Lp(t[S],r));function sy(e){return _l("",e,""),sy}function _l(e,t,n){let r=D(),o=Em(r,e,t,n);return o!==de&&jh(r,Xe(),o),_l}function ay(e,t,n){Yc(t)&&(t=t());let r=D(),o=tn();if(ie(r,o,t)){let i=A(),s=Oi();Nc(i,s,r,e,t,r[S],n,!1)}return ay}function yw(e,t){let n=Yc(e);return n&&e.set(t),n}function uy(e,t){let n=D(),r=A(),o=P();return Cl(r,n,n[S],o,e,t),uy}function cy(e,t,n){let r=A();if(r.firstCreatePass){let o=Se(e);ai(n,r.data,r.blueprint,o,!0),ai(t,r.data,r.blueprint,o,!1)}}function ai(e,t,n,r,o){if(e=H(e),Array.isArray(e))for(let i=0;i<e.length;i++)ai(e[i],t,n,r,o);else{let i=A(),s=D(),a=P(),u=vt(e)?e:H(e.provide),c=du(e),l=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(vt(e)||!e.multi){let f=new qe(c,o,z),h=Do(u,t,o?l:l+p,d);h===-1?(ko(Xn(a,s),i,u),vo(i,e,t.length),t.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[h]=f,s[h]=f)}else{let f=Do(u,t,l+p,d),h=Do(u,t,l,l+p),_=f>=0&&n[f],F=h>=0&&n[h];if(o&&!F||!o&&!_){ko(Xn(a,s),i,u);let T=fy(o?dy:ly,n.length,o,r,c);!o&&F&&(n[h].providerFactory=T),vo(i,e,t.length,0),t.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(T),s.push(T)}else{let T=bl(n[o?h:f],c,!o&&r);vo(i,e,f>-1?f:h,T)}!o&&r&&F&&n[h].componentProviders++}}}function vo(e,t,n,r){let o=vt(t),i=sf(t);if(o||i){let u=(i?H(t.useClass):t).prototype.ngOnDestroy;if(u){let c=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let l=c.indexOf(n);l===-1?c.push(n,[r,u]):c[l+1].push(r,u)}else c.push(n,u)}}}function bl(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Do(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function ly(e,t,n,r){return ui(this.multi,[])}function dy(e,t,n,r){let o=this.multi,i;if(this.providerFactory){let s=this.providerFactory.componentProviders,a=We(n,n[m],this.providerFactory.index,r);i=a.slice(0,s),ui(o,i);for(let u=s;u<a.length;u++)i.push(a[u])}else i=[],ui(o,i);return i}function ui(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function fy(e,t,n,r,o){let i=new qe(e,n,z);return i.multi=[],i.index=t,i.componentProviders=0,bl(i,o,r&&!n),i}function vw(e,t=[]){return n=>{n.providersResolver=(r,o)=>cy(r,o?o(e):e,t)}}function Dw(e,t,n){let r=en()+e,o=D();return o[r]===de?sn(o,r,n?t.call(n):t()):nm(o,r)}function Ew(e,t,n,r){return py(D(),en(),e,t,n,r)}function Iw(e,t,n,r,o){return hy(D(),en(),e,t,n,r,o)}function ww(e,t,n,r,o,i){return gy(D(),en(),e,t,n,r,o,i)}function Cw(e,t,n,r){return my(D(),en(),e,t,n,r)}function jr(e,t){let n=e[t];return n===de?void 0:n}function py(e,t,n,r,o,i){let s=t+n;return ie(e,s,o)?sn(e,s+1,i?r.call(i,o):r(o)):jr(e,s+1)}function hy(e,t,n,r,o,i,s){let a=t+n;return el(e,a,o,i)?sn(e,a+2,s?r.call(s,o,i):r(o,i)):jr(e,a+2)}function gy(e,t,n,r,o,i,s,a){let u=t+n;return rm(e,u,o,i,s)?sn(e,u+3,a?r.call(a,o,i,s):r(o,i,s)):jr(e,u+3)}function my(e,t,n,r,o,i){let s=t+n,a=!1;for(let u=0;u<o.length;u++)ie(e,s++,o[u])&&(a=!0);return a?sn(e,s,r.apply(i,o)):jr(e,s)}function _w(e,t){return Pr(e,t)}var kn=null;function yy(e){kn!==null&&(e.defaultEncapsulation!==kn.defaultEncapsulation||e.preserveWhitespaces!==kn.preserveWhitespaces)||(kn=e)}var vy=new b("");function Dy(e,t,n){let r=new ni(n);return Promise.resolve(r)}function La(e){for(let t=e.length-1;t>=0;t--)if(e[t]!==void 0)return e[t]}var Ey=(()=>{class e{zone=C(Z);changeDetectionScheduler=C(wt);applicationRef=C(_t);_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||e)};static \u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Iy({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new Z(V(k({},Ml()),{scheduleInRootZone:n})),[{provide:Z,useFactory:e},{provide:Gn,multi:!0,useFactory:()=>{let r=C(Ey,{optional:!0});return()=>r.initialize()}},{provide:Gn,multi:!0,useFactory:()=>{let r=C(wy);return()=>{r.initialize()}}},t===!0?{provide:Ku,useValue:!0}:[],{provide:Ju,useValue:n??Qu}]}function Ml(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var wy=(()=>{class e{subscription=new B;initialized=!1;zone=C(Z);pendingTasks=C(rn);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(()=>{Z.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Z.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Cy=(()=>{class e{appRef=C(_t);taskService=C(rn);ngZone=C(Z);zonelessEnabled=C(Yu);tracing=C(cc,{optional:!0});disableScheduling=C(Ku,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new B;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(tr):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(C(Ju,{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 nr||!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 8:{this.appRef.deferredDirtyFlags|=8;break}case 6:{this.appRef.dirtyFlags|=2,r=!0;break}case 13:{this.appRef.dirtyFlags|=16,r=!0;break}case 14:{this.appRef.dirtyFlags|=2,r=!0;break}case 12:{r=!0;break}case 10:case 9:case 7:case 11:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(r))return;let o=this.useMicrotaskScheduler?ga:Xu;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(tr+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,ga(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function _y(){return typeof $localize<"u"&&$localize.locale||Dr}var os=new b("",{providedIn:"root",factory:()=>C(os,I.Optional|I.SkipSelf)||_y()});var Er=new b(""),by=new b("");function Lt(e){return!e.moduleRef}function My(e){let t=Lt(e)?e.r3Injector:e.moduleRef.injector,n=t.get(Z);return n.run(()=>{Lt(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(Ze,null),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:i=>{r.handleError(i)}})}),Lt(e)){let i=()=>t.destroy(),s=e.platformInjector.get(Er);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(Er);s.add(i),e.moduleRef.onDestroy(()=>{Hn(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return ym(r,n,()=>{let i=t.get(ol);return i.runInitializers(),i.donePromise.then(()=>{let s=t.get(os,Dr);if(Xm(s||Dr),!t.get(by,!0))return Lt(e)?t.get(_t):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Lt(e)){let u=t.get(_t);return e.rootComponent!==void 0&&u.bootstrap(e.rootComponent),u}else return Ty(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function Ty(e,t){let n=e.injector.get(_t);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(n);else throw new y(-403,!1);t.push(e)}var Tl=(()=>{class e{_injector;_modules=[];_destroyListeners=[];_destroyed=!1;constructor(n){this._injector=n}bootstrapModuleFactory(n,r){let o=r?.scheduleInRootZone,i=()=>up(r?.ngZone,V(k({},Ml({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing})),{scheduleInRootZone:o})),s=r?.ignoreChangesOutsideZone,a=[Iy({ngZoneFactory:i,ignoreChangesOutsideZone:s}),{provide:wt,useExisting:Cy}],u=Hg(n.moduleType,this.injector,a);return My({moduleRef:u,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(n,r=[]){let o=sl({},r);return Dy(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 y(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());let n=this._injector.get(Er,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static \u0275fac=function(r){return new(r||e)(U(ye))};static \u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),Ht=null,Sl=new b("");function Sy(e){if(Ht&&!Ht.get(Sl,!1))throw new y(400,!1);hm(),Ht=e;let t=e.get(Tl);return Ry(e),t}function Ny(e,t,n=[]){let r=`Platform: ${t}`,o=new b(r);return(i=[])=>{let s=Nl();if(!s||s.injector.get(Sl,!1)){let a=[...n,...i,{provide:o,useValue:!0}];e?e(a):Sy(xy(a,r))}return Ay(o)}}function xy(e=[],t){return ye.create({name:t,providers:[{provide:lu,useValue:"platform"},{provide:Er,useValue:new Set([()=>Ht=null])},...e]})}function Ay(e){let t=Nl();if(!t)throw new y(401,!1);return t}function Nl(){return Ht?.get(Tl)??null}function Ry(e){let t=e.get(Dp,null);fu(e,()=>{t?.forEach(n=>n())})}var is=(()=>{class e{static __NG_ELEMENT_ID__=Oy}return e})();function Oy(e){return Fy(P(),D(),(e&16)===16)}function Fy(e,t,n){if(Mr(e)&&!n){let r=Re(e.index,t);return new Qe(r,r)}else if(e.type&175){let r=t[oe];return new Qe(r,t)}return null}var ci=class{constructor(){}supports(t){return Xc(t)}create(t){return new li(t)}},ky=(e,t)=>t,li=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(t){this._trackByFn=t||ky}forEachItem(t){let n;for(n=this._itHead;n!==null;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){let s=!r||n&&n.currentIndex<ja(r,o,i)?n:r,a=ja(s,o,i),u=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,l=u-o;if(c!=l){for(let p=0;p<c;p++){let f=p<i.length?i[p]:i[p]=0,h=f+p;l<=h&&h<c&&(i[p]=f+1)}let d=s.previousIndex;i[d]=l-c}}a!==u&&t(s,a,u)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;n!==null;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;n!==null;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;n!==null;n=n._nextIdentityChange)t(n)}diff(t){if(t==null&&(t=[]),!Xc(t))throw new y(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._itHead,r=!1,o,i,s;if(Array.isArray(t)){this.length=t.length;for(let a=0;a<this.length;a++)i=t[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,tm(t,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=t,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;t!==null;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;t!==null;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return t===null?i=this._itTail:(i=t._prev,this._remove(t)),t=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):(t=this._linkedRecords===null?null:this._linkedRecords.get(r,o),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new di(n,r),i,o)),t}_verifyReinsertion(t,n,r,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return i!==null?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;t!==null;){let n=t._next;this._addToRemovals(this._unlink(t)),t=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(t,n,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(t);let o=t._prevRemoved,i=t._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail===null?this._additionsTail=this._additionsHead=t:this._additionsTail=this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){let o=n===null?this._itHead:n._next;return t._next=o,t._prev=n,o===null?this._itTail=t:o._prev=t,n===null?this._itHead=t:n._next=t,this._linkedRecords===null&&(this._linkedRecords=new Ir),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){this._linkedRecords!==null&&this._linkedRecords.remove(t);let n=t._prev,r=t._next;return n===null?this._itHead=r:n._next=r,r===null?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail===null?this._movesTail=this._movesHead=t:this._movesTail=this._movesTail._nextMoved=t),t}_addToRemovals(t){return this._unlinkedRecords===null&&(this._unlinkedRecords=new Ir),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=t:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=t,t}},di=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(t,n){this.item=t,this.trackById=n}},fi=class{_head=null;_tail=null;add(t){this._head===null?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;r!==null;r=r._nextDup)if((n===null||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){let n=t._prevDup,r=t._nextDup;return n===null?this._head=r:n._nextDup=r,r===null?this._tail=n:r._prevDup=n,this._head===null}},Ir=class{map=new Map;put(t){let n=t.trackById,r=this.map.get(n);r||(r=new fi,this.map.set(n,r)),r.add(t)}get(t,n){let r=t,o=this.map.get(r);return o?o.get(t,n):null}remove(t){let n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function ja(e,t,n){let r=e.previousIndex;if(r===null)return r;let o=0;return n&&r<n.length&&(o=n[r]),r+t+o}var pi=class{constructor(){}supports(t){return t instanceof Map||ts(t)}create(){return new hi}},hi=class{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;_removalsTail=null;get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(t){let n;for(n=this._mapHead;n!==null;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;n!==null;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;n!==null;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}diff(t){if(!t)t=new Map;else if(!(t instanceof Map||ts(t)))throw new y(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{let i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;r!==null;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){let r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){let o=this._records.get(t);this._maybeAddToChanges(o,n);let i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}let r=new gi(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;t!==null;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;t!=null;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){this._additionsHead===null?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){this._changesHead===null?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}},gi=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(t){this.key=t}};function Va(){return new ss([new ci])}var ss=(()=>{class e{factories;static \u0275prov=x({token:e,providedIn:"root",factory:Va});constructor(n){this.factories=n}static create(n,r){if(r!=null){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Va()),deps:[[e,new tu,new eu]]}}find(n){let r=this.factories.find(o=>o.supports(n));if(r!=null)return r;throw new y(901,!1)}}return e})();function Ba(){return new as([new pi])}var as=(()=>{class e{static \u0275prov=x({token:e,providedIn:"root",factory:Ba});factories;constructor(n){this.factories=n}static create(n,r){if(r){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Ba()),deps:[[e,new tu,new eu]]}}find(n){let r=this.factories.find(o=>o.supports(n));if(r)return r;throw new y(901,!1)}}return e})();var bw=Ny(null,"core",[]),Mw=(()=>{class e{constructor(n){}static \u0275fac=function(r){return new(r||e)(U(_t))};static \u0275mod=es({type:e});static \u0275inj=vi({})}return e})();function Py(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function Ly(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function Tw(e,t){et("NgSignals");let n=Es(e);return t?.equal&&(n[G].equal=t.equal),n}function jy(e){let t=E(null);try{return e()}finally{E(t)}}var xl=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=Vy}return e})();function Vy(){return new xl(D(),P())}var By=!1,Hy=(()=>{class e extends yr{pendingTasks=C(rn);taskId=null;schedule(n){super.schedule(n),this.taskId===null&&(this.taskId=this.pendingTasks.add(),queueMicrotask(()=>this.flush()))}flush(){try{super.flush()}finally{this.taskId!==null&&(this.pendingTasks.remove(this.taskId),this.taskId=null)}}static \u0275prov=x({token:e,providedIn:"root",factory:()=>new e})}return e})(),mi=class{scheduler;effectFn;zone;injector;unregisterOnDestroy;watcher;constructor(t,n,r,o,i,s){this.scheduler=t,this.effectFn=n,this.zone=r,this.injector=i,this.watcher=Ms(a=>this.runEffect(a),()=>this.schedule(),s),this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}runEffect(t){try{this.effectFn(t)}catch(n){this.injector.get(Ze,null,{optional:!0})?.handleError(n)}}run(){this.watcher.run()}schedule(){this.scheduler.schedule(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}};function $y(){}function Uy(e,t){et("NgSignals"),!t?.injector&&hu($y);let n=t?.injector??C(ye),r=t?.manualCleanup!==!0?n.get(nn):null,o=new mi(n.get(Hy),e,typeof Zone>"u"?null:Zone.current,r,n,t?.allowSignalWrites??!1),i=n.get(is,null,{optional:!0});return!i||!(i._lView[g]&8)?o.watcher.notify():(i._lView[Ln]??=[]).push(o.watcher.notify),o}var zy=By;var yi=class{[G];constructor(t){this[G]=t}destroy(){this[G].destroy()}};function Gy(e,t){if(zy)return Uy(e,t);et("NgSignals"),!t?.injector&&hu(Gy);let n=t?.injector??C(ye),r=t?.manualCleanup!==!0?n.get(nn):null,o,i=n.get(xl,null,{optional:!0}),s=n.get(wt);return i!==null&&!t?.forceRoot?(o=Zy(i.view,s,e),r instanceof er&&r._lView===i.view&&(r=null)):o=Qy(e,n.get(il),s),o.injector=n,r!==null&&(o.onDestroyFn=r.onDestroy(()=>o.destroy())),new yi(o)}var Al=V(k({},ke),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,onDestroyFn:Wt,run(){if(this.dirty=!1,this.hasRun&&!Ft(this))return;this.hasRun=!0;let e=r=>(this.cleanupFns??=[]).push(r),t=ot(this),n=Yn(!1);try{this.maybeCleanup(),this.fn(e)}finally{Yn(n),Ot(this,t)}},maybeCleanup(){if(this.cleanupFns?.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}}),qy=V(k({},Al),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(13)},destroy(){it(this),this.onDestroyFn(),this.maybeCleanup(),this.scheduler.remove(this)}}),Wy=V(k({},Al),{consumerMarkedDirty(){this.view[g]|=8192,Xt(this.view),this.notifier.notify(14)},destroy(){it(this),this.onDestroyFn(),this.maybeCleanup(),this.view[$e]?.delete(this)}});function Zy(e,t,n){let r=Object.create(Wy);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=n,e[$e]??=new Set,e[$e].add(r),r.consumerMarkedDirty(r),r}function Qy(e,t,n){let r=Object.create(qy);return r.fn=e,r.scheduler=t,r.notifier=n,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.schedule(r),r.notifier.notify(13),r}var Ll=null;function eC(){return Ll}function tC(e){Ll??=e}var Rl=class{};var nC=new b("");function rC(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let r=n.indexOf("="),[o,i]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}var us=/\s+/,Ol=[],oC=(()=>{class e{_ngEl;_renderer;initialClasses=Ol;rawClass;stateMap=new Map;constructor(n,r){this._ngEl=n,this._renderer=r}set klass(n){this.initialClasses=n!=null?n.trim().split(us):Ol}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(us):n}ngDoCheck(){for(let r of this.initialClasses)this._updateState(r,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let r of n)this._updateState(r,!0);else if(n!=null)for(let r of Object.keys(n))this._updateState(r,!!n[r]);this._applyStateDiff()}_updateState(n,r){let o=this.stateMap.get(n);o!==void 0?(o.enabled!==r&&(o.changed=!0,o.enabled=r),o.touched=!0):this.stateMap.set(n,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let r=n[0],o=n[1];o.changed?(this._toggleClass(r,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),o.touched=!1}}_toggleClass(n,r){n=n.trim(),n.length>0&&n.split(us).forEach(o=>{r?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}static \u0275fac=function(r){return new(r||e)(z(Oe),z(Lr))};static \u0275dir=xt({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})();var cs=class{$implicit;ngForOf;index;count;constructor(t,n,r,o){this.$implicit=t,this.ngForOf=n,this.index=r,this.count=o}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},iC=(()=>{class e{_viewContainer;_template;_differs;set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(n,r,o){this._viewContainer=n,this._template=r,this._differs=o}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let n=this._ngForOf;!this._differ&&n&&(this._differ=this._differs.find(n).create(this.ngForTrackBy))}if(this._differ){let n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){let r=this._viewContainer;n.forEachOperation((o,i,s)=>{if(o.previousIndex==null)r.createEmbeddedView(this._template,new cs(o.item,this._ngForOf,-1,-1),s===null?void 0:s);else if(s==null)r.remove(i===null?void 0:i);else if(i!==null){let a=r.get(i);r.move(a,s),Fl(a,o)}});for(let o=0,i=r.length;o<i;o++){let a=r.get(o).context;a.index=o,a.count=i,a.ngForOf=this._ngForOf}n.forEachIdentityChange(o=>{let i=r.get(o.currentIndex);Fl(i,o)})}static ngTemplateContextGuard(n,r){return!0}static \u0275fac=function(r){return new(r||e)(z(tt),z(Ye),z(ss))};static \u0275dir=xt({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return e})();function Fl(e,t){e.context.$implicit=t.item}var sC=(()=>{class e{_viewContainer;_context=new ls;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(n,r){this._viewContainer=n,this._thenTemplateRef=r}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){kl("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){kl("ngIfElse",n),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(n,r){return!0}static \u0275fac=function(r){return new(r||e)(z(tt),z(Ye))};static \u0275dir=xt({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return e})(),ls=class{$implicit=null;ngIf=null};function kl(e,t){if(!!!(!t||t.createEmbeddedView))throw new Error(`${e} must be a TemplateRef, but received '${$(t)}'.`)}var aC=(()=>{class e{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(n,r,o){this._ngEl=n,this._differs=r,this._renderer=o}set ngStyle(n){this._ngStyle=n,!this._differ&&n&&(this._differ=this._differs.find(n).create())}ngDoCheck(){if(this._differ){let n=this._differ.diff(this._ngStyle);n&&this._applyChanges(n)}}_setStyle(n,r){let[o,i]=n.split("."),s=o.indexOf("-")===-1?void 0:Qt.DashCase;r!=null?this._renderer.setStyle(this._ngEl.nativeElement,o,i?`${r}${i}`:r,s):this._renderer.removeStyle(this._ngEl.nativeElement,o,s)}_applyChanges(n){n.forEachRemovedItem(r=>this._setStyle(r.key,null)),n.forEachAddedItem(r=>this._setStyle(r.key,r.currentValue)),n.forEachChangedItem(r=>this._setStyle(r.key,r.currentValue))}static \u0275fac=function(r){return new(r||e)(z(Oe),z(as),z(Lr))};static \u0275dir=xt({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return e})(),uC=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(n){this._viewContainerRef=n}ngOnChanges(n){if(this._shouldRecreateView(n)){let r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let o=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,r,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,r,o):!1,get:(n,r,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,o)}})}static \u0275fac=function(r){return new(r||e)(z(tt))};static \u0275dir=xt({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[vu]})}return e})();var cC=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=es({type:e});static \u0275inj=vi({})}return e})(),Ky="browser",Jy="server";function lC(e){return e===Ky}function dC(e){return e===Jy}var Pl=class{};var Fe=function(e){return e[e.State=0]="State",e[e.Transition=1]="Transition",e[e.Sequence=2]="Sequence",e[e.Group=3]="Group",e[e.Animate=4]="Animate",e[e.Keyframes=5]="Keyframes",e[e.Style=6]="Style",e[e.Trigger=7]="Trigger",e[e.Reference=8]="Reference",e[e.AnimateChild=9]="AnimateChild",e[e.AnimateRef=10]="AnimateRef",e[e.Query=11]="Query",e[e.Stagger=12]="Stagger",e}(Fe||{}),hC="*";function gC(e,t){return{type:Fe.Trigger,name:e,definitions:t,options:{}}}function mC(e,t=null){return{type:Fe.Animate,styles:t,timings:e}}function yC(e,t=null){return{type:Fe.Sequence,steps:e,options:t}}function vC(e){return{type:Fe.Style,styles:e,offset:null}}function DC(e,t,n=null){return{type:Fe.Transition,expr:e,animation:t,options:n}}function EC(e,t=null){return{type:Fe.Reference,animation:e,options:t}}function IC(e,t=null){return{type:Fe.AnimateRef,animation:e,options:t}}var jl=class{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(t=0,n=0){this.totalTime=t+n}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(t){this._position=this.totalTime?t*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(t){let n=t=="start"?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}},Vl=class{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(t){this.players=t;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(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){let n=t*this.totalTime;this.players.forEach(r=>{let o=r.totalTime?Math.min(1,n/r.totalTime):1;r.setPosition(o)})}getPosition(){let t=this.players.reduce((n,r)=>n===null||r.totalTime>n.totalTime?r:n,null);return t!=null?t.getPosition():0}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){let n=t=="start"?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}},wC="!";export{k as a,V as b,Xy as c,ev as d,tv as e,nv as f,N as g,pe as h,oo as i,so as j,Ve as k,Id as l,wd as m,Cd as n,y as o,Td as p,qa as q,x as r,vi as s,b as t,U as u,C as v,ef as w,lu as x,hu as y,vu as z,jI as A,VI as B,BI as C,HI as D,ye as E,nn as F,wt as G,_e as H,Z as I,Ze as J,$I as K,UI as L,Oe as M,zI as N,GI as O,Dp as P,Ep as Q,qI as R,WI as S,et as T,Zt as U,ZI as V,Qt as W,QI as X,z as Y,YI as Z,Ye as _,Ct as $,lr as aa,Lr as ba,ew as ca,tw as da,es as ea,xt as fa,Zg as ga,em as ha,sm as ia,cm as ja,lm as ka,nw as la,dm as ma,rs as na,rw as oa,_t as pa,Dm as qa,Om as ra,dl as sa,Fm as ta,ow as ua,iw as va,sw as wa,Dl as xa,El as ya,Wm as za,Il as Aa,wl as Ba,Ym as Ca,aw as Da,ty as Ea,uw as Fa,cw as Ga,lw as Ha,dw as Ia,fw as Ja,pw as Ka,hw as La,gw as Ma,mw as Na,sy as Oa,_l as Pa,ay as Qa,yw as Ra,uy as Sa,vw as Ta,Dw as Ua,Ew as Va,Iw as Wa,ww as Xa,Cw as Ya,_w as Za,Ny as _a,is as $a,bw as ab,Mw as bb,Py as cb,Ly as db,Tw as eb,jy as fb,Gy as gb,eC as hb,tC as ib,Rl as jb,nC as kb,rC as lb,oC as mb,iC as nb,sC as ob,aC as pb,uC as qb,cC as rb,Ky as sb,lC as tb,dC as ub,Pl as vb,Fe as wb,hC as xb,gC as yb,mC as zb,yC as Ab,vC as Bb,DC as Cb,EC as Db,IC as Eb,jl as Fb,Vl as Gb,wC as Hb};
@@ -0,0 +1 @@
1
+ import{Ab as mt,Bb as Ne,Fb as x,Gb as Me,Hb as ue,a as le,d as ft,o as S,r as dt,wb as E,xb as B}from"./chunk-KRWUV5CE.js";function pt(i){return new S(3e3,!1)}function jt(){return new S(3100,!1)}function Wt(){return new S(3101,!1)}function Gt(i){return new S(3001,!1)}function Ht(i){return new S(3003,!1)}function Yt(i){return new S(3004,!1)}function Xt(i,e){return new S(3005,!1)}function Zt(){return new S(3006,!1)}function Jt(){return new S(3007,!1)}function xt(i,e){return new S(3008,!1)}function es(i){return new S(3002,!1)}function ts(i,e,t,s,n){return new S(3010,!1)}function ss(){return new S(3011,!1)}function ns(){return new S(3012,!1)}function is(){return new S(3200,!1)}function rs(){return new S(3202,!1)}function as(){return new S(3013,!1)}function os(i){return new S(3014,!1)}function ls(i){return new S(3015,!1)}function us(i){return new S(3016,!1)}function cs(i){return new S(3500,!1)}function hs(i){return new S(3501,!1)}function fs(i,e){return new S(3404,!1)}function ds(i){return new S(3502,!1)}function ms(i){return new S(3503,!1)}function ps(){return new S(3300,!1)}function gs(i){return new S(3504,!1)}function ys(i){return new S(3301,!1)}function _s(i,e){return new S(3302,!1)}function Ss(i){return new S(3303,!1)}function Es(i,e){return new S(3400,!1)}function Ts(i){return new S(3401,!1)}function vs(i){return new S(3402,!1)}function ws(i,e){return new S(3505,!1)}var bs=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 U(i){switch(i.length){case 0:return new x;case 1:return i[0];default:return new Me(i)}}function Ot(i,e,t=new Map,s=new Map){let n=[],r=[],a=-1,o=null;if(e.forEach(l=>{let u=l.get("offset"),h=u==a,c=h&&o||new Map;l.forEach((_,y)=>{let d=y,g=_;if(y!=="offset")switch(d=i.normalizePropertyName(d,n),g){case ue:g=t.get(y);break;case B:g=s.get(y);break;default:g=i.normalizeStyleValue(y,d,g,n);break}c.set(d,g)}),h||r.push(c),o=c,a=u}),n.length)throw ds(n);return r}function xe(i,e,t,s){switch(e){case"start":i.onStart(()=>s(t&&Ce(t,"start",i)));break;case"done":i.onDone(()=>s(t&&Ce(t,"done",i)));break;case"destroy":i.onDestroy(()=>s(t&&Ce(t,"destroy",i)));break}}function Ce(i,e,t){let s=t.totalTime,n=!!t.disabled,r=et(i.element,i.triggerName,i.fromState,i.toState,e||i.phaseName,s??i.totalTime,n),a=i._data;return a!=null&&(r._data=a),r}function et(i,e,t,s,n="",r=0,a){return{element:i,triggerName:e,fromState:t,toState:s,phaseName:n,totalTime:r,disabled:!!a}}function L(i,e,t){let s=i.get(e);return s||i.set(e,s=t),s}function gt(i){let e=i.indexOf(":"),t=i.substring(1,e),s=i.slice(e+1);return[t,s]}var As=typeof document>"u"?null:document.documentElement;function tt(i){let e=i.parentNode||i.host||null;return e===As?null:e}function Ps(i){return i.substring(1,6)=="ebkit"}var H=null,yt=!1;function Ns(i){H||(H=Ms()||{},yt=H.style?"WebkitAppearance"in H.style:!1);let e=!0;return H.style&&!Ps(i)&&(e=i in H.style,!e&&yt&&(e="Webkit"+i.charAt(0).toUpperCase()+i.slice(1)in H.style)),e}function bn(i){return bs.has(i)}function Ms(){return typeof document<"u"?document.body:null}function Lt(i,e){for(;e;){if(e===i)return!0;e=tt(e)}return!1}function Ft(i,e,t){if(t)return Array.from(i.querySelectorAll(e));let s=i.querySelector(e);return s?[s]:[]}var It=(()=>{class i{validateStyleProperty(t){return Ns(t)}containsElement(t,s){return Lt(t,s)}getParentElement(t){return tt(t)}query(t,s,n){return Ft(t,s,n)}computeStyle(t,s,n){return n||""}animate(t,s,n,r,a,o=[],l){return new x(n,r)}static \u0275fac=function(s){return new(s||i)};static \u0275prov=dt({token:i,factory:i.\u0275fac})}return i})(),_t=class{static NOOP=new It},Fe=class{},Ie=class{normalizePropertyName(e,t){return e}normalizeStyleValue(e,t,s,n){return s}},Cs=1e3,zt="{{",ks="}}",st="ng-enter",pe="ng-leave",ce="ng-trigger",ge=".ng-trigger",St="ng-animating",ze=".ng-animating";function $(i){if(typeof i=="number")return i;let e=i.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:Ke(parseFloat(e[1]),e[2])}function Ke(i,e){switch(e){case"s":return i*Cs;default:return i}}function ye(i,e,t){return i.hasOwnProperty("duration")?i:Ds(i,e,t)}function Ds(i,e,t){let s=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,n,r=0,a="";if(typeof i=="string"){let o=i.match(s);if(o===null)return e.push(pt(i)),{duration:0,delay:0,easing:""};n=Ke(parseFloat(o[1]),o[2]);let l=o[3];l!=null&&(r=Ke(parseFloat(l),o[4]));let u=o[5];u&&(a=u)}else n=i;if(!t){let o=!1,l=e.length;n<0&&(e.push(jt()),o=!0),r<0&&(e.push(Wt()),o=!0),o&&e.splice(l,0,pt(i))}return{duration:n,delay:r,easing:a}}function Rs(i){return i.length?i[0]instanceof Map?i:i.map(e=>new Map(Object.entries(e))):[]}function Et(i){return Array.isArray(i)?new Map(...i):new Map(i)}function Q(i,e,t){e.forEach((s,n)=>{let r=nt(n);t&&!t.has(n)&&t.set(n,i.style[r]),i.style[r]=s})}function X(i,e){e.forEach((t,s)=>{let n=nt(s);i.style[n]=""})}function se(i){return Array.isArray(i)?i.length==1?i[0]:mt(i):i}function Os(i,e,t){let s=e.params||{},n=Kt(i);n.length&&n.forEach(r=>{s.hasOwnProperty(r)||t.push(Gt(r))})}var qe=new RegExp(`${zt}\\s*(.+?)\\s*${ks}`,"g");function Kt(i){let e=[];if(typeof i=="string"){let t;for(;t=qe.exec(i);)e.push(t[1]);qe.lastIndex=0}return e}function ie(i,e,t){let s=`${i}`,n=s.replace(qe,(r,a)=>{let o=e[a];return o==null&&(t.push(Ht(a)),o=""),o.toString()});return n==s?i:n}var Ls=/-+([a-z0-9])/g;function nt(i){return i.replace(Ls,(...e)=>e[1].toUpperCase())}function An(i){return i.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Fs(i,e){return i===0||e===0}function Is(i,e,t){if(t.size&&e.length){let s=e[0],n=[];if(t.forEach((r,a)=>{s.has(a)||n.push(a),s.set(a,r)}),n.length)for(let r=1;r<e.length;r++){let a=e[r];n.forEach(o=>a.set(o,it(i,o)))}}return e}function O(i,e,t){switch(e.type){case E.Trigger:return i.visitTrigger(e,t);case E.State:return i.visitState(e,t);case E.Transition:return i.visitTransition(e,t);case E.Sequence:return i.visitSequence(e,t);case E.Group:return i.visitGroup(e,t);case E.Animate:return i.visitAnimate(e,t);case E.Keyframes:return i.visitKeyframes(e,t);case E.Style:return i.visitStyle(e,t);case E.Reference:return i.visitReference(e,t);case E.AnimateChild:return i.visitAnimateChild(e,t);case E.AnimateRef:return i.visitAnimateRef(e,t);case E.Query:return i.visitQuery(e,t);case E.Stagger:return i.visitStagger(e,t);default:throw Yt(e.type)}}function it(i,e){return window.getComputedStyle(i)[e]}var zs=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"]),Be=class extends Fe{normalizePropertyName(e,t){return nt(e)}normalizeStyleValue(e,t,s,n){let r="",a=s.toString().trim();if(zs.has(t)&&s!==0&&s!=="0")if(typeof s=="number")r="px";else{let o=s.match(/^[+-]?[\d\.]+([a-z]*)$/);o&&o[1].length==0&&n.push(Xt(e,s))}return a+r}};var _e="*";function Ks(i,e){let t=[];return typeof i=="string"?i.split(/\s*,\s*/).forEach(s=>qs(s,t,e)):t.push(i),t}function qs(i,e,t){if(i[0]==":"){let l=Bs(i,t);if(typeof l=="function"){e.push(l);return}i=l}let s=i.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(s==null||s.length<4)return t.push(ls(i)),e;let n=s[1],r=s[2],a=s[3];e.push(Tt(n,a));let o=n==_e&&a==_e;r[0]=="<"&&!o&&e.push(Tt(a,n))}function Bs(i,e){switch(i){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,s)=>parseFloat(s)>parseFloat(t);case":decrement":return(t,s)=>parseFloat(s)<parseFloat(t);default:return e.push(us(i)),"* => *"}}var he=new Set(["true","1"]),fe=new Set(["false","0"]);function Tt(i,e){let t=he.has(i)||fe.has(i),s=he.has(e)||fe.has(e);return(n,r)=>{let a=i==_e||i==n,o=e==_e||e==r;return!a&&t&&typeof n=="boolean"&&(a=n?he.has(i):fe.has(i)),!o&&s&&typeof r=="boolean"&&(o=r?he.has(e):fe.has(e)),a&&o}}var qt=":self",Qs=new RegExp(`s*${qt}s*,?`,"g");function rt(i,e,t,s){return new Qe(i).build(e,t,s)}var vt="",Qe=class{_driver;constructor(e){this._driver=e}build(e,t,s){let n=new $e(t);return this._resetContextStyleTimingState(n),O(this,se(e),n)}_resetContextStyleTimingState(e){e.currentQuerySelector=vt,e.collectedStyles=new Map,e.collectedStyles.set(vt,new Map),e.currentTime=0}visitTrigger(e,t){let s=t.queryCount=0,n=t.depCount=0,r=[],a=[];return e.name.charAt(0)=="@"&&t.errors.push(Zt()),e.definitions.forEach(o=>{if(this._resetContextStyleTimingState(t),o.type==E.State){let l=o,u=l.name;u.toString().split(/\s*,\s*/).forEach(h=>{l.name=h,r.push(this.visitState(l,t))}),l.name=u}else if(o.type==E.Transition){let l=this.visitTransition(o,t);s+=l.queryCount,n+=l.depCount,a.push(l)}else t.errors.push(Jt())}),{type:E.Trigger,name:e.name,states:r,transitions:a,queryCount:s,depCount:n,options:null}}visitState(e,t){let s=this.visitStyle(e.styles,t),n=e.options&&e.options.params||null;if(s.containsDynamicStyles){let r=new Set,a=n||{};s.styles.forEach(o=>{o instanceof Map&&o.forEach(l=>{Kt(l).forEach(u=>{a.hasOwnProperty(u)||r.add(u)})})}),r.size&&t.errors.push(xt(e.name,[...r.values()]))}return{type:E.State,name:e.name,style:s,options:n?{params:n}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;let s=O(this,se(e.animation),t),n=Ks(e.expr,t.errors);return{type:E.Transition,matchers:n,animation:s,queryCount:t.queryCount,depCount:t.depCount,options:Y(e.options)}}visitSequence(e,t){return{type:E.Sequence,steps:e.steps.map(s=>O(this,s,t)),options:Y(e.options)}}visitGroup(e,t){let s=t.currentTime,n=0,r=e.steps.map(a=>{t.currentTime=s;let o=O(this,a,t);return n=Math.max(n,t.currentTime),o});return t.currentTime=n,{type:E.Group,steps:r,options:Y(e.options)}}visitAnimate(e,t){let s=js(e.timings,t.errors);t.currentAnimateTimings=s;let n,r=e.styles?e.styles:Ne({});if(r.type==E.Keyframes)n=this.visitKeyframes(r,t);else{let a=e.styles,o=!1;if(!a){o=!0;let u={};s.easing&&(u.easing=s.easing),a=Ne(u)}t.currentTime+=s.duration+s.delay;let l=this.visitStyle(a,t);l.isEmptyStep=o,n=l}return t.currentAnimateTimings=null,{type:E.Animate,timings:s,style:n,options:null}}visitStyle(e,t){let s=this._makeStyleAst(e,t);return this._validateStyleAst(s,t),s}_makeStyleAst(e,t){let s=[],n=Array.isArray(e.styles)?e.styles:[e.styles];for(let o of n)typeof o=="string"?o===B?s.push(o):t.errors.push(es(o)):s.push(new Map(Object.entries(o)));let r=!1,a=null;return s.forEach(o=>{if(o instanceof Map&&(o.has("easing")&&(a=o.get("easing"),o.delete("easing")),!r)){for(let l of o.values())if(l.toString().indexOf(zt)>=0){r=!0;break}}}),{type:E.Style,styles:s,easing:a,offset:e.offset,containsDynamicStyles:r,options:null}}_validateStyleAst(e,t){let s=t.currentAnimateTimings,n=t.currentTime,r=t.currentTime;s&&r>0&&(r-=s.duration+s.delay),e.styles.forEach(a=>{typeof a!="string"&&a.forEach((o,l)=>{let u=t.collectedStyles.get(t.currentQuerySelector),h=u.get(l),c=!0;h&&(r!=n&&r>=h.startTime&&n<=h.endTime&&(t.errors.push(ts(l,h.startTime,h.endTime,r,n)),c=!1),r=h.startTime),c&&u.set(l,{startTime:r,endTime:n}),t.options&&Os(o,t.options,t.errors)})})}visitKeyframes(e,t){let s={type:E.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(ss()),s;let n=1,r=0,a=[],o=!1,l=!1,u=0,h=e.steps.map(b=>{let A=this._makeStyleAst(b,t),C=A.offset!=null?A.offset:Us(A.styles),N=0;return C!=null&&(r++,N=A.offset=C),l=l||N<0||N>1,o=o||N<u,u=N,a.push(N),A});l&&t.errors.push(ns()),o&&t.errors.push(is());let c=e.steps.length,_=0;r>0&&r<c?t.errors.push(rs()):r==0&&(_=n/(c-1));let y=c-1,d=t.currentTime,g=t.currentAnimateTimings,v=g.duration;return h.forEach((b,A)=>{let C=_>0?A==y?1:_*A:a[A],N=C*v;t.currentTime=d+g.delay+N,g.duration=N,this._validateStyleAst(b,t),b.offset=C,s.styles.push(b)}),s}visitReference(e,t){return{type:E.Reference,animation:O(this,se(e.animation),t),options:Y(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:E.AnimateChild,options:Y(e.options)}}visitAnimateRef(e,t){return{type:E.AnimateRef,animation:this.visitReference(e.animation,t),options:Y(e.options)}}visitQuery(e,t){let s=t.currentQuerySelector,n=e.options||{};t.queryCount++,t.currentQuery=e;let[r,a]=$s(e.selector);t.currentQuerySelector=s.length?s+" "+r:r,L(t.collectedStyles,t.currentQuerySelector,new Map);let o=O(this,se(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=s,{type:E.Query,selector:r,limit:n.limit||0,optional:!!n.optional,includeSelf:a,animation:o,originalSelector:e.selector,options:Y(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push(as());let s=e.timings==="full"?{duration:0,delay:0,easing:"full"}:ye(e.timings,t.errors,!0);return{type:E.Stagger,animation:O(this,se(e.animation),t),timings:s,options:null}}};function $s(i){let e=!!i.split(/\s*,\s*/).find(t=>t==qt);return e&&(i=i.replace(Qs,"")),i=i.replace(/@\*/g,ge).replace(/@\w+/g,t=>ge+"-"+t.slice(1)).replace(/:animating/g,ze),[i,e]}function Vs(i){return i?le({},i):null}var $e=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 Us(i){if(typeof i=="string")return null;let e=null;if(Array.isArray(i))i.forEach(t=>{if(t instanceof Map&&t.has("offset")){let s=t;e=parseFloat(s.get("offset")),s.delete("offset")}});else if(i instanceof Map&&i.has("offset")){let t=i;e=parseFloat(t.get("offset")),t.delete("offset")}return e}function js(i,e){if(i.hasOwnProperty("duration"))return i;if(typeof i=="number"){let r=ye(i,e).duration;return ke(r,0,"")}let t=i;if(t.split(/\s+/).some(r=>r.charAt(0)=="{"&&r.charAt(1)=="{")){let r=ke(0,0,"");return r.dynamic=!0,r.strValue=t,r}let n=ye(t,e);return ke(n.duration,n.delay,n.easing)}function Y(i){return i?(i=le({},i),i.params&&(i.params=Vs(i.params))):i={},i}function ke(i,e,t){return{duration:i,delay:e,easing:t}}function at(i,e,t,s,n,r,a=null,o=!1){return{type:1,element:i,keyframes:e,preStyleProps:t,postStyleProps:s,duration:n,delay:r,totalTime:n+r,easing:a,subTimeline:o}}var te=class{_map=new Map;get(e){return this._map.get(e)||[]}append(e,t){let s=this._map.get(e);s||this._map.set(e,s=[]),s.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}},Ws=1,Gs=":enter",Hs=new RegExp(Gs,"g"),Ys=":leave",Xs=new RegExp(Ys,"g");function ot(i,e,t,s,n,r=new Map,a=new Map,o,l,u=[]){return new Ve().buildKeyframes(i,e,t,s,n,r,a,o,l,u)}var Ve=class{buildKeyframes(e,t,s,n,r,a,o,l,u,h=[]){u=u||new te;let c=new Ue(e,t,u,n,r,h,[]);c.options=l;let _=l.delay?$(l.delay):0;c.currentTimeline.delayNextStep(_),c.currentTimeline.setStyles([a],null,c.errors,l),O(this,s,c);let y=c.timelines.filter(d=>d.containsAnimation());if(y.length&&o.size){let d;for(let g=y.length-1;g>=0;g--){let v=y[g];if(v.element===t){d=v;break}}d&&!d.allowOnlyTimelineStyles()&&d.setStyles([o],null,c.errors,l)}return y.length?y.map(d=>d.buildKeyframes()):[at(t,[],[],[],0,_,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){let s=t.subInstructions.get(t.element);if(s){let n=t.createSubContext(e.options),r=t.currentTimeline.currentTime,a=this._visitSubInstructions(s,n,n.options);r!=a&&t.transformIntoNewTimeline(a)}t.previousNode=e}visitAnimateRef(e,t){let s=t.createSubContext(e.options);s.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],t,s),this.visitReference(e.animation,s),t.transformIntoNewTimeline(s.currentTimeline.currentTime),t.previousNode=e}_applyAnimationRefDelays(e,t,s){for(let n of e){let r=n?.delay;if(r){let a=typeof r=="number"?r:$(ie(r,n?.params??{},t.errors));s.delayNextStep(a)}}}_visitSubInstructions(e,t,s){let r=t.currentTimeline.currentTime,a=s.duration!=null?$(s.duration):null,o=s.delay!=null?$(s.delay):null;return a!==0&&e.forEach(l=>{let u=t.appendInstructionToTimeline(l,a,o);r=Math.max(r,u.duration+u.delay)}),r}visitReference(e,t){t.updateOptions(e.options,!0),O(this,e.animation,t),t.previousNode=e}visitSequence(e,t){let s=t.subContextCount,n=t,r=e.options;if(r&&(r.params||r.delay)&&(n=t.createSubContext(r),n.transformIntoNewTimeline(),r.delay!=null)){n.previousNode.type==E.Style&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=Se);let a=$(r.delay);n.delayNextStep(a)}e.steps.length&&(e.steps.forEach(a=>O(this,a,n)),n.currentTimeline.applyStylesToKeyframe(),n.subContextCount>s&&n.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){let s=[],n=t.currentTimeline.currentTime,r=e.options&&e.options.delay?$(e.options.delay):0;e.steps.forEach(a=>{let o=t.createSubContext(e.options);r&&o.delayNextStep(r),O(this,a,o),n=Math.max(n,o.currentTimeline.currentTime),s.push(o.currentTimeline)}),s.forEach(a=>t.currentTimeline.mergeTimelineCollectedStyles(a)),t.transformIntoNewTimeline(n),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){let s=e.strValue,n=t.params?ie(s,t.params,t.errors):s;return ye(n,t.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){let s=t.currentAnimateTimings=this._visitTiming(e.timings,t),n=t.currentTimeline;s.delay&&(t.incrementTime(s.delay),n.snapshotCurrentStyles());let r=e.style;r.type==E.Keyframes?this.visitKeyframes(r,t):(t.incrementTime(s.duration),this.visitStyle(r,t),n.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){let s=t.currentTimeline,n=t.currentAnimateTimings;!n&&s.hasCurrentStyleProperties()&&s.forwardFrame();let r=n&&n.easing||e.easing;e.isEmptyStep?s.applyEmptyStep(r):s.setStyles(e.styles,r,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){let s=t.currentAnimateTimings,n=t.currentTimeline.duration,r=s.duration,o=t.createSubContext().currentTimeline;o.easing=s.easing,e.styles.forEach(l=>{let u=l.offset||0;o.forwardTime(u*r),o.setStyles(l.styles,l.easing,t.errors,t.options),o.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(o),t.transformIntoNewTimeline(n+r),t.previousNode=e}visitQuery(e,t){let s=t.currentTimeline.currentTime,n=e.options||{},r=n.delay?$(n.delay):0;r&&(t.previousNode.type===E.Style||s==0&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=Se);let a=s,o=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!n.optional,t.errors);t.currentQueryTotal=o.length;let l=null;o.forEach((u,h)=>{t.currentQueryIndex=h;let c=t.createSubContext(e.options,u);r&&c.delayNextStep(r),u===t.element&&(l=c.currentTimeline),O(this,e.animation,c),c.currentTimeline.applyStylesToKeyframe();let _=c.currentTimeline.currentTime;a=Math.max(a,_)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(a),l&&(t.currentTimeline.mergeTimelineCollectedStyles(l),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){let s=t.parentContext,n=t.currentTimeline,r=e.timings,a=Math.abs(r.duration),o=a*(t.currentQueryTotal-1),l=a*t.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":l=o-l;break;case"full":l=s.currentStaggerTime;break}let h=t.currentTimeline;l&&h.delayNextStep(l);let c=h.currentTime;O(this,e.animation,t),t.previousNode=e,s.currentStaggerTime=n.currentTime-c+(n.startTime-s.currentTimeline.startTime)}},Se={},Ue=class i{_driver;element;subInstructions;_enterClassName;_leaveClassName;errors;timelines;parentContext=null;currentTimeline;currentAnimateTimings=null;previousNode=Se;subContextCount=0;options={};currentQueryIndex=0;currentQueryTotal=0;currentStaggerTime=0;constructor(e,t,s,n,r,a,o,l){this._driver=e,this.element=t,this.subInstructions=s,this._enterClassName=n,this._leaveClassName=r,this.errors=a,this.timelines=o,this.currentTimeline=l||new Ee(this._driver,t,0),o.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,t){if(!e)return;let s=e,n=this.options;s.duration!=null&&(n.duration=$(s.duration)),s.delay!=null&&(n.delay=$(s.delay));let r=s.params;if(r){let a=n.params;a||(a=this.options.params={}),Object.keys(r).forEach(o=>{(!t||!a.hasOwnProperty(o))&&(a[o]=ie(r[o],a,this.errors))})}}_copyOptions(){let e={};if(this.options){let t=this.options.params;if(t){let s=e.params={};Object.keys(t).forEach(n=>{s[n]=t[n]})}}return e}createSubContext(e=null,t,s){let n=t||this.element,r=new i(this._driver,n,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(n,s||0));return r.previousNode=this.previousNode,r.currentAnimateTimings=this.currentAnimateTimings,r.options=this._copyOptions(),r.updateOptions(e),r.currentQueryIndex=this.currentQueryIndex,r.currentQueryTotal=this.currentQueryTotal,r.parentContext=this,this.subContextCount++,r}transformIntoNewTimeline(e){return this.previousNode=Se,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,t,s){let n={duration:t??e.duration,delay:this.currentTimeline.currentTime+(s??0)+e.delay,easing:""},r=new je(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,n,e.stretchStartingKeyframe);return this.timelines.push(r),n}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,t,s,n,r,a){let o=[];if(n&&o.push(this.element),e.length>0){e=e.replace(Hs,"."+this._enterClassName),e=e.replace(Xs,"."+this._leaveClassName);let l=s!=1,u=this._driver.query(this.element,e,l);s!==0&&(u=s<0?u.slice(u.length+s,u.length):u.slice(0,s)),o.push(...u)}return!r&&o.length==0&&a.push(os(t)),o}},Ee=class i{_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,t,s,n){this._driver=e,this.element=t,this.startTime=s,this._elementTimelineStylesLookup=n,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,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 t=this._keyframes.size===1&&this._pendingStyles.size;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,t){return this.applyStylesToKeyframe(),new i(this._driver,e,t||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+=Ws,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,t){this._localTimelineStyles.set(e,t),this._globalTimelineStyles.set(e,t),this._styleSummary.set(e,{time:this.currentTime,value:t})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&this._previousKeyframe.set("easing",e);for(let[t,s]of this._globalTimelineStyles)this._backFill.set(t,s||B),this._currentKeyframe.set(t,B);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,t,s,n){t&&this._previousKeyframe.set("easing",t);let r=n&&n.params||{},a=Zs(e,this._globalTimelineStyles);for(let[o,l]of a){let u=ie(l,r,s);this._pendingStyles.set(o,u),this._localTimelineStyles.has(o)||this._backFill.set(o,this._globalTimelineStyles.get(o)??B),this._updateStyle(o,u)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((e,t)=>{this._currentKeyframe.set(t,e)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((e,t)=>{this._currentKeyframe.has(t)||this._currentKeyframe.set(t,e)}))}snapshotCurrentStyles(){for(let[e,t]of this._localTimelineStyles)this._pendingStyles.set(e,t),this._updateStyle(e,t)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let e=[];for(let t in this._currentKeyframe)e.push(t);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((t,s)=>{let n=this._styleSummary.get(s);(!n||t.time>n.time)&&this._updateStyle(s,t.value)})}buildKeyframes(){this.applyStylesToKeyframe();let e=new Set,t=new Set,s=this._keyframes.size===1&&this.duration===0,n=[];this._keyframes.forEach((o,l)=>{let u=new Map([...this._backFill,...o]);u.forEach((h,c)=>{h===ue?e.add(c):h===B&&t.add(c)}),s||u.set("offset",l/this.duration),n.push(u)});let r=[...e.values()],a=[...t.values()];if(s){let o=n[0],l=new Map(o);o.set("offset",0),l.set("offset",1),n=[o,l]}return at(this.element,n,r,a,this.duration,this.startTime,this.easing,!1)}},je=class extends Ee{keyframes;preStyleProps;postStyleProps;_stretchStartingKeyframe;timings;constructor(e,t,s,n,r,a,o=!1){super(e,t,a.delay),this.keyframes=s,this.preStyleProps=n,this.postStyleProps=r,this._stretchStartingKeyframe=o,this.timings={duration:a.duration,delay:a.delay,easing:a.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:t,duration:s,easing:n}=this.timings;if(this._stretchStartingKeyframe&&t){let r=[],a=s+t,o=t/a,l=new Map(e[0]);l.set("offset",0),r.push(l);let u=new Map(e[0]);u.set("offset",wt(o)),r.push(u);let h=e.length-1;for(let c=1;c<=h;c++){let _=new Map(e[c]),y=_.get("offset"),d=t+y*s;_.set("offset",wt(d/a)),r.push(_)}s=a,t=0,n="",e=r}return at(this.element,e,this.preStyleProps,this.postStyleProps,s,t,n,!0)}};function wt(i,e=3){let t=Math.pow(10,e-1);return Math.round(i*t)/t}function Zs(i,e){let t=new Map,s;return i.forEach(n=>{if(n==="*"){s??=e.keys();for(let r of s)t.set(r,B)}else for(let[r,a]of n)t.set(r,a)}),t}function bt(i,e,t,s,n,r,a,o,l,u,h,c,_){return{type:0,element:i,triggerName:e,isRemovalTransition:n,fromState:t,fromStyles:r,toState:s,toStyles:a,timelines:o,queriedElements:l,preStyleProps:u,postStyleProps:h,totalTime:c,errors:_}}var De={},Te=class{_triggerName;ast;_stateStyles;constructor(e,t,s){this._triggerName=e,this.ast=t,this._stateStyles=s}match(e,t,s,n){return Js(this.ast.matchers,e,t,s,n)}buildStyles(e,t,s){let n=this._stateStyles.get("*");return e!==void 0&&(n=this._stateStyles.get(e?.toString())||n),n?n.buildStyles(t,s):new Map}build(e,t,s,n,r,a,o,l,u,h){let c=[],_=this.ast.options&&this.ast.options.params||De,y=o&&o.params||De,d=this.buildStyles(s,y,c),g=l&&l.params||De,v=this.buildStyles(n,g,c),b=new Set,A=new Map,C=new Map,N=n==="void",Z={params:Bt(g,_),delay:this.ast.options?.delay},K=h?[]:ot(e,t,this.ast.animation,r,a,d,v,Z,u,c),k=0;return K.forEach(D=>{k=Math.max(D.duration+D.delay,k)}),c.length?bt(t,this._triggerName,s,n,N,d,v,[],[],A,C,k,c):(K.forEach(D=>{let j=D.element,J=L(A,j,new Set);D.preStyleProps.forEach(W=>J.add(W));let lt=L(C,j,new Set);D.postStyleProps.forEach(W=>lt.add(W)),j!==t&&b.add(j)}),bt(t,this._triggerName,s,n,N,d,v,K,[...b.values()],A,C,k))}};function Js(i,e,t,s,n){return i.some(r=>r(e,t,s,n))}function Bt(i,e){let t=le({},e);return Object.entries(i).forEach(([s,n])=>{n!=null&&(t[s]=n)}),t}var We=class{styles;defaultParams;normalizer;constructor(e,t,s){this.styles=e,this.defaultParams=t,this.normalizer=s}buildStyles(e,t){let s=new Map,n=Bt(e,this.defaultParams);return this.styles.styles.forEach(r=>{typeof r!="string"&&r.forEach((a,o)=>{a&&(a=ie(a,n,t));let l=this.normalizer.normalizePropertyName(o,t);a=this.normalizer.normalizeStyleValue(o,l,a,t),s.set(o,a)})}),s}};function xs(i,e,t){return new Ge(i,e,t)}var Ge=class{name;ast;_normalizer;transitionFactories=[];fallbackTransition;states=new Map;constructor(e,t,s){this.name=e,this.ast=t,this._normalizer=s,t.states.forEach(n=>{let r=n.options&&n.options.params||{};this.states.set(n.name,new We(n.style,r,s))}),At(this.states,"true","1"),At(this.states,"false","0"),t.transitions.forEach(n=>{this.transitionFactories.push(new Te(e,n,this.states))}),this.fallbackTransition=en(e,this.states,this._normalizer)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,s,n){return this.transitionFactories.find(a=>a.match(e,t,s,n))||null}matchStyles(e,t,s){return this.fallbackTransition.buildStyles(e,t,s)}};function en(i,e,t){let s=[(a,o)=>!0],n={type:E.Sequence,steps:[],options:null},r={type:E.Transition,animation:n,matchers:s,options:null,queryCount:0,depCount:0};return new Te(i,r,e)}function At(i,e,t){i.has(e)?i.has(t)||i.set(t,i.get(e)):i.has(t)&&i.set(e,i.get(t))}var tn=new te,He=class{bodyNode;_driver;_normalizer;_animations=new Map;_playersById=new Map;players=[];constructor(e,t,s){this.bodyNode=e,this._driver=t,this._normalizer=s}register(e,t){let s=[],n=[],r=rt(this._driver,t,s,n);if(s.length)throw ms(s);this._animations.set(e,r)}_buildPlayer(e,t,s){let n=e.element,r=Ot(this._normalizer,e.keyframes,t,s);return this._driver.animate(n,r,e.duration,e.delay,e.easing,[],!0)}create(e,t,s={}){let n=[],r=this._animations.get(e),a,o=new Map;if(r?(a=ot(this._driver,t,r,st,pe,new Map,new Map,s,tn,n),a.forEach(h=>{let c=L(o,h.element,new Map);h.postStyleProps.forEach(_=>c.set(_,null))})):(n.push(ps()),a=[]),n.length)throw gs(n);o.forEach((h,c)=>{h.forEach((_,y)=>{h.set(y,this._driver.computeStyle(c,y,B))})});let l=a.map(h=>{let c=o.get(h.element);return this._buildPlayer(h,new Map,c)}),u=U(l);return this._playersById.set(e,u),u.onDestroy(()=>this.destroy(e)),this.players.push(u),u}destroy(e){let t=this._getPlayer(e);t.destroy(),this._playersById.delete(e);let s=this.players.indexOf(t);s>=0&&this.players.splice(s,1)}_getPlayer(e){let t=this._playersById.get(e);if(!t)throw ys(e);return t}listen(e,t,s,n){let r=et(t,"","","");return xe(this._getPlayer(e),s,r,n),()=>{}}command(e,t,s,n){if(s=="register"){this.register(e,n[0]);return}if(s=="create"){let a=n[0]||{};this.create(e,t,a);return}let r=this._getPlayer(e);switch(s){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(n[0]));break;case"destroy":this.destroy(e);break}}},Pt="ng-animate-queued",sn=".ng-animate-queued",Re="ng-animate-disabled",nn=".ng-animate-disabled",rn="ng-star-inserted",an=".ng-star-inserted",on=[],Qt={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},ln={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},z="__ng_removed",re=class{namespaceId;value;options;get params(){return this.options.params}constructor(e,t=""){this.namespaceId=t;let s=e&&e.hasOwnProperty("value"),n=s?e.value:e;if(this.value=cn(n),s){let r=e,{value:a}=r,o=ft(r,["value"]);this.options=o}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){let t=e.params;if(t){let s=this.options.params;Object.keys(t).forEach(n=>{s[n]==null&&(s[n]=t[n])})}}},ne="void",Oe=new re(ne),Ye=class{id;hostElement;_engine;players=[];_triggers=new Map;_queue=[];_elementListeners=new Map;_hostClassName;constructor(e,t,s){this.id=e,this.hostElement=t,this._engine=s,this._hostClassName="ng-tns-"+e,I(t,this._hostClassName)}listen(e,t,s,n){if(!this._triggers.has(t))throw _s(s,t);if(s==null||s.length==0)throw Ss(t);if(!hn(s))throw Es(s,t);let r=L(this._elementListeners,e,[]),a={name:t,phase:s,callback:n};r.push(a);let o=L(this._engine.statesByElement,e,new Map);return o.has(t)||(I(e,ce),I(e,ce+"-"+t),o.set(t,Oe)),()=>{this._engine.afterFlush(()=>{let l=r.indexOf(a);l>=0&&r.splice(l,1),this._triggers.has(t)||o.delete(t)})}}register(e,t){return this._triggers.has(e)?!1:(this._triggers.set(e,t),!0)}_getTrigger(e){let t=this._triggers.get(e);if(!t)throw Ts(e);return t}trigger(e,t,s,n=!0){let r=this._getTrigger(t),a=new ae(this.id,t,e),o=this._engine.statesByElement.get(e);o||(I(e,ce),I(e,ce+"-"+t),this._engine.statesByElement.set(e,o=new Map));let l=o.get(t),u=new re(s,this.id);if(!(s&&s.hasOwnProperty("value"))&&l&&u.absorbOptions(l.options),o.set(t,u),l||(l=Oe),!(u.value===ne)&&l.value===u.value){if(!mn(l.params,u.params)){let g=[],v=r.matchStyles(l.value,l.params,g),b=r.matchStyles(u.value,u.params,g);g.length?this._engine.reportError(g):this._engine.afterFlush(()=>{X(e,v),Q(e,b)})}return}let _=L(this._engine.playersByElement,e,[]);_.forEach(g=>{g.namespaceId==this.id&&g.triggerName==t&&g.queued&&g.destroy()});let y=r.matchTransition(l.value,u.value,e,u.params),d=!1;if(!y){if(!n)return;y=r.fallbackTransition,d=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:y,fromState:l,toState:u,player:a,isFallbackTransition:d}),d||(I(e,Pt),a.onStart(()=>{ee(e,Pt)})),a.onDone(()=>{let g=this.players.indexOf(a);g>=0&&this.players.splice(g,1);let v=this._engine.playersByElement.get(e);if(v){let b=v.indexOf(a);b>=0&&v.splice(b,1)}}),this.players.push(a),_.push(a),a}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(t=>t.delete(e)),this._elementListeners.forEach((t,s)=>{this._elementListeners.set(s,t.filter(n=>n.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);let t=this._engine.playersByElement.get(e);t&&(t.forEach(s=>s.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){let s=this._engine.driver.query(e,ge,!0);s.forEach(n=>{if(n[z])return;let r=this._engine.fetchNamespacesByElement(n);r.size?r.forEach(a=>a.triggerLeaveAnimation(n,t,!1,!0)):this.clearElementCache(n)}),this._engine.afterFlushAnimationsDone(()=>s.forEach(n=>this.clearElementCache(n)))}triggerLeaveAnimation(e,t,s,n){let r=this._engine.statesByElement.get(e),a=new Map;if(r){let o=[];if(r.forEach((l,u)=>{if(a.set(u,l.value),this._triggers.has(u)){let h=this.trigger(e,u,ne,n);h&&o.push(h)}}),o.length)return this._engine.markElementAsRemoved(this.id,e,!0,t,a),s&&U(o).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let t=this._elementListeners.get(e),s=this._engine.statesByElement.get(e);if(t&&s){let n=new Set;t.forEach(r=>{let a=r.name;if(n.has(a))return;n.add(a);let l=this._triggers.get(a).fallbackTransition,u=s.get(a)||Oe,h=new re(ne),c=new ae(this.id,a,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:a,transition:l,fromState:u,toState:h,player:c,isFallbackTransition:!0})})}}removeNode(e,t){let s=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let n=!1;if(s.totalAnimations){let r=s.players.length?s.playersByQueriedElement.get(e):[];if(r&&r.length)n=!0;else{let a=e;for(;a=a.parentNode;)if(s.statesByElement.get(a)){n=!0;break}}}if(this.prepareLeaveAnimationListeners(e),n)s.markElementAsRemoved(this.id,e,!1,t);else{let r=e[z];(!r||r===Qt)&&(s.afterFlush(()=>this.clearElementCache(e)),s.destroyInnerAnimations(e),s._onRemovalComplete(e,t))}}insertNode(e,t){I(e,this._hostClassName)}drainQueuedTransitions(e){let t=[];return this._queue.forEach(s=>{let n=s.player;if(n.destroyed)return;let r=s.element,a=this._elementListeners.get(r);a&&a.forEach(o=>{if(o.name==s.triggerName){let l=et(r,s.triggerName,s.fromState.value,s.toState.value);l._data=e,xe(s.player,o.phase,l,o.callback)}}),n.markedForDestroy?this._engine.afterFlush(()=>{n.destroy()}):t.push(s)}),this._queue=[],t.sort((s,n)=>{let r=s.transition.ast.depCount,a=n.transition.ast.depCount;return r==0||a==0?r-a:this._engine.driver.containsElement(s.element,n.element)?1:-1})}destroy(e){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},Xe=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,t)=>{};_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}constructor(e,t,s){this.bodyNode=e,this.driver=t,this._normalizer=s}get queuedPlayers(){let e=[];return this._namespaceList.forEach(t=>{t.players.forEach(s=>{s.queued&&e.push(s)})}),e}createNamespace(e,t){let s=new Ye(e,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(s,t):(this.newHostElements.set(t,s),this.collectEnterElement(t)),this._namespaceLookup[e]=s}_balanceNamespaceList(e,t){let s=this._namespaceList,n=this.namespacesByHostElement;if(s.length-1>=0){let a=!1,o=this.driver.getParentElement(t);for(;o;){let l=n.get(o);if(l){let u=s.indexOf(l);s.splice(u+1,0,e),a=!0;break}o=this.driver.getParentElement(o)}a||s.unshift(e)}else s.push(e);return n.set(t,e),e}register(e,t){let s=this._namespaceLookup[e];return s||(s=this.createNamespace(e,t)),s}registerTrigger(e,t,s){let n=this._namespaceLookup[e];n&&n.register(t,s)&&this.totalAnimations++}destroy(e,t){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let s=this._fetchNamespace(e);this.namespacesByHostElement.delete(s.hostElement);let n=this._namespaceList.indexOf(s);n>=0&&this._namespaceList.splice(n,1),s.destroy(t),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let t=new Set,s=this.statesByElement.get(e);if(s){for(let n of s.values())if(n.namespaceId){let r=this._fetchNamespace(n.namespaceId);r&&t.add(r)}}return t}trigger(e,t,s,n){if(de(t)){let r=this._fetchNamespace(e);if(r)return r.trigger(t,s,n),!0}return!1}insertNode(e,t,s,n){if(!de(t))return;let r=t[z];if(r&&r.setForRemoval){r.setForRemoval=!1,r.setForMove=!0;let a=this.collectedLeaveElements.indexOf(t);a>=0&&this.collectedLeaveElements.splice(a,1)}if(e){let a=this._fetchNamespace(e);a&&a.insertNode(t,s)}n&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),I(e,Re)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),ee(e,Re))}removeNode(e,t,s){if(de(t)){let n=e?this._fetchNamespace(e):null;n?n.removeNode(t,s):this.markElementAsRemoved(e,t,!1,s);let r=this.namespacesByHostElement.get(t);r&&r.id!==e&&r.removeNode(t,s)}else this._onRemovalComplete(t,s)}markElementAsRemoved(e,t,s,n,r){this.collectedLeaveElements.push(t),t[z]={namespaceId:e,setForRemoval:n,hasAnimation:s,removedBeforeQueried:!1,previousTriggersValues:r}}listen(e,t,s,n,r){return de(t)?this._fetchNamespace(e).listen(t,s,n,r):()=>{}}_buildInstruction(e,t,s,n,r){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,s,n,e.fromState.options,e.toState.options,t,r)}destroyInnerAnimations(e){let t=this.driver.query(e,ge,!0);t.forEach(s=>this.destroyActiveAnimationsForElement(s)),this.playersByQueriedElement.size!=0&&(t=this.driver.query(e,ze,!0),t.forEach(s=>this.finishActiveQueriedAnimationOnElement(s)))}destroyActiveAnimationsForElement(e){let t=this.playersByElement.get(e);t&&t.forEach(s=>{s.queued?s.markedForDestroy=!0:s.destroy()})}finishActiveQueriedAnimationOnElement(e){let t=this.playersByQueriedElement.get(e);t&&t.forEach(s=>s.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return U(this.players).onDone(()=>e());e()})}processLeaveNode(e){let t=e[z];if(t&&t.setForRemoval){if(e[z]=Qt,t.namespaceId){this.destroyInnerAnimations(e);let s=this._fetchNamespace(t.namespaceId);s&&s.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}e.classList?.contains(Re)&&this.markElementAsDisabled(e,!1),this.driver.query(e,nn,!0).forEach(s=>{this.markElementAsDisabled(s,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((s,n)=>this._balanceNamespaceList(s,n)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let s=0;s<this.collectedEnterElements.length;s++){let n=this.collectedEnterElements[s];I(n,rn)}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){let s=[];try{t=this._flushAnimations(s,e)}finally{for(let n=0;n<s.length;n++)s[n]()}}else for(let s=0;s<this.collectedLeaveElements.length;s++){let n=this.collectedLeaveElements[s];this.processLeaveNode(n)}if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(s=>s()),this._flushFns=[],this._whenQuietFns.length){let s=this._whenQuietFns;this._whenQuietFns=[],t.length?U(t).onDone(()=>{s.forEach(n=>n())}):s.forEach(n=>n())}}reportError(e){throw vs(e)}_flushAnimations(e,t){let s=new te,n=[],r=new Map,a=[],o=new Map,l=new Map,u=new Map,h=new Set;this.disabledNodes.forEach(f=>{h.add(f);let m=this.driver.query(f,sn,!0);for(let p=0;p<m.length;p++)h.add(m[p])});let c=this.bodyNode,_=Array.from(this.statesByElement.keys()),y=Ct(_,this.collectedEnterElements),d=new Map,g=0;y.forEach((f,m)=>{let p=st+g++;d.set(m,p),f.forEach(T=>I(T,p))});let v=[],b=new Set,A=new Set;for(let f=0;f<this.collectedLeaveElements.length;f++){let m=this.collectedLeaveElements[f],p=m[z];p&&p.setForRemoval&&(v.push(m),b.add(m),p.hasAnimation?this.driver.query(m,an,!0).forEach(T=>b.add(T)):A.add(m))}let C=new Map,N=Ct(_,Array.from(b));N.forEach((f,m)=>{let p=pe+g++;C.set(m,p),f.forEach(T=>I(T,p))}),e.push(()=>{y.forEach((f,m)=>{let p=d.get(m);f.forEach(T=>ee(T,p))}),N.forEach((f,m)=>{let p=C.get(m);f.forEach(T=>ee(T,p))}),v.forEach(f=>{this.processLeaveNode(f)})});let Z=[],K=[];for(let f=this._namespaceList.length-1;f>=0;f--)this._namespaceList[f].drainQueuedTransitions(t).forEach(p=>{let T=p.player,P=p.element;if(Z.push(T),this.collectedEnterElements.length){let M=P[z];if(M&&M.setForMove){if(M.previousTriggersValues&&M.previousTriggersValues.has(p.triggerName)){let G=M.previousTriggersValues.get(p.triggerName),F=this.statesByElement.get(p.element);if(F&&F.has(p.triggerName)){let oe=F.get(p.triggerName);oe.value=G,F.set(p.triggerName,oe)}}T.destroy();return}}let q=!c||!this.driver.containsElement(c,P),R=C.get(P),V=d.get(P),w=this._buildInstruction(p,s,V,R,q);if(w.errors&&w.errors.length){K.push(w);return}if(q){T.onStart(()=>X(P,w.fromStyles)),T.onDestroy(()=>Q(P,w.toStyles)),n.push(T);return}if(p.isFallbackTransition){T.onStart(()=>X(P,w.fromStyles)),T.onDestroy(()=>Q(P,w.toStyles)),n.push(T);return}let ht=[];w.timelines.forEach(M=>{M.stretchStartingKeyframe=!0,this.disabledNodes.has(M.element)||ht.push(M)}),w.timelines=ht,s.append(P,w.timelines);let Ut={instruction:w,player:T,element:P};a.push(Ut),w.queriedElements.forEach(M=>L(o,M,[]).push(T)),w.preStyleProps.forEach((M,G)=>{if(M.size){let F=l.get(G);F||l.set(G,F=new Set),M.forEach((oe,Pe)=>F.add(Pe))}}),w.postStyleProps.forEach((M,G)=>{let F=u.get(G);F||u.set(G,F=new Set),M.forEach((oe,Pe)=>F.add(Pe))})});if(K.length){let f=[];K.forEach(m=>{f.push(ws(m.triggerName,m.errors))}),Z.forEach(m=>m.destroy()),this.reportError(f)}let k=new Map,D=new Map;a.forEach(f=>{let m=f.element;s.has(m)&&(D.set(m,m),this._beforeAnimationBuild(f.player.namespaceId,f.instruction,k))}),n.forEach(f=>{let m=f.element;this._getPreviousPlayers(m,!1,f.namespaceId,f.triggerName,null).forEach(T=>{L(k,m,[]).push(T),T.destroy()})});let j=v.filter(f=>kt(f,l,u)),J=new Map;Mt(J,this.driver,A,u,B).forEach(f=>{kt(f,l,u)&&j.push(f)});let W=new Map;y.forEach((f,m)=>{Mt(W,this.driver,new Set(f),l,ue)}),j.forEach(f=>{let m=J.get(f),p=W.get(f);J.set(f,new Map([...m?.entries()??[],...p?.entries()??[]]))});let Ae=[],ut=[],ct={};a.forEach(f=>{let{element:m,player:p,instruction:T}=f;if(s.has(m)){if(h.has(m)){p.onDestroy(()=>Q(m,T.toStyles)),p.disabled=!0,p.overrideTotalTime(T.totalTime),n.push(p);return}let P=ct;if(D.size>1){let R=m,V=[];for(;R=R.parentNode;){let w=D.get(R);if(w){P=w;break}V.push(R)}V.forEach(w=>D.set(w,P))}let q=this._buildAnimation(p.namespaceId,T,k,r,W,J);if(p.setRealPlayer(q),P===ct)Ae.push(p);else{let R=this.playersByElement.get(P);R&&R.length&&(p.parentPlayer=U(R)),n.push(p)}}else X(m,T.fromStyles),p.onDestroy(()=>Q(m,T.toStyles)),ut.push(p),h.has(m)&&n.push(p)}),ut.forEach(f=>{let m=r.get(f.element);if(m&&m.length){let p=U(m);f.setRealPlayer(p)}}),n.forEach(f=>{f.parentPlayer?f.syncPlayerEvents(f.parentPlayer):f.destroy()});for(let f=0;f<v.length;f++){let m=v[f],p=m[z];if(ee(m,pe),p&&p.hasAnimation)continue;let T=[];if(o.size){let q=o.get(m);q&&q.length&&T.push(...q);let R=this.driver.query(m,ze,!0);for(let V=0;V<R.length;V++){let w=o.get(R[V]);w&&w.length&&T.push(...w)}}let P=T.filter(q=>!q.destroyed);P.length?fn(this,m,P):this.processLeaveNode(m)}return v.length=0,Ae.forEach(f=>{this.players.push(f),f.onDone(()=>{f.destroy();let m=this.players.indexOf(f);this.players.splice(m,1)}),f.play()}),Ae}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,s,n,r){let a=[];if(t){let o=this.playersByQueriedElement.get(e);o&&(a=o)}else{let o=this.playersByElement.get(e);if(o){let l=!r||r==ne;o.forEach(u=>{u.queued||!l&&u.triggerName!=n||a.push(u)})}}return(s||n)&&(a=a.filter(o=>!(s&&s!=o.namespaceId||n&&n!=o.triggerName))),a}_beforeAnimationBuild(e,t,s){let n=t.triggerName,r=t.element,a=t.isRemovalTransition?void 0:e,o=t.isRemovalTransition?void 0:n;for(let l of t.timelines){let u=l.element,h=u!==r,c=L(s,u,[]);this._getPreviousPlayers(u,h,a,o,t.toState).forEach(y=>{let d=y.getRealPlayer();d.beforeDestroy&&d.beforeDestroy(),y.destroy(),c.push(y)})}X(r,t.fromStyles)}_buildAnimation(e,t,s,n,r,a){let o=t.triggerName,l=t.element,u=[],h=new Set,c=new Set,_=t.timelines.map(d=>{let g=d.element;h.add(g);let v=g[z];if(v&&v.removedBeforeQueried)return new x(d.duration,d.delay);let b=g!==l,A=dn((s.get(g)||on).map(k=>k.getRealPlayer())).filter(k=>{let D=k;return D.element?D.element===g:!1}),C=r.get(g),N=a.get(g),Z=Ot(this._normalizer,d.keyframes,C,N),K=this._buildPlayer(d,Z,A);if(d.subTimeline&&n&&c.add(g),b){let k=new ae(e,o,g);k.setRealPlayer(K),u.push(k)}return K});u.forEach(d=>{L(this.playersByQueriedElement,d.element,[]).push(d),d.onDone(()=>un(this.playersByQueriedElement,d.element,d))}),h.forEach(d=>I(d,St));let y=U(_);return y.onDestroy(()=>{h.forEach(d=>ee(d,St)),Q(l,t.toStyles)}),c.forEach(d=>{L(n,d,[]).push(y)}),y}_buildPlayer(e,t,s){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,s):new x(e.duration,e.delay)}},ae=class{namespaceId;triggerName;element;_player=new x;_containsRealPlayer=!1;_queuedCallbacks=new Map;destroyed=!1;parentPlayer=null;markedForDestroy=!1;disabled=!1;queued=!0;totalTime=0;constructor(e,t,s){this.namespaceId=e,this.triggerName=t,this.element=s}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((t,s)=>{t.forEach(n=>xe(e,s,void 0,n))}),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 t=this._player;t.triggerCallback&&e.onStart(()=>t.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,t){L(this._queuedCallbacks,e,[]).push(t)}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 t=this._player;t.triggerCallback&&t.triggerCallback(e)}};function un(i,e,t){let s=i.get(e);if(s){if(s.length){let n=s.indexOf(t);s.splice(n,1)}s.length==0&&i.delete(e)}return s}function cn(i){return i??null}function de(i){return i&&i.nodeType===1}function hn(i){return i=="start"||i=="done"}function Nt(i,e){let t=i.style.display;return i.style.display=e??"none",t}function Mt(i,e,t,s,n){let r=[];t.forEach(l=>r.push(Nt(l)));let a=[];s.forEach((l,u)=>{let h=new Map;l.forEach(c=>{let _=e.computeStyle(u,c,n);h.set(c,_),(!_||_.length==0)&&(u[z]=ln,a.push(u))}),i.set(u,h)});let o=0;return t.forEach(l=>Nt(l,r[o++])),a}function Ct(i,e){let t=new Map;if(i.forEach(o=>t.set(o,[])),e.length==0)return t;let s=1,n=new Set(e),r=new Map;function a(o){if(!o)return s;let l=r.get(o);if(l)return l;let u=o.parentNode;return t.has(u)?l=u:n.has(u)?l=s:l=a(u),r.set(o,l),l}return e.forEach(o=>{let l=a(o);l!==s&&t.get(l).push(o)}),t}function I(i,e){i.classList?.add(e)}function ee(i,e){i.classList?.remove(e)}function fn(i,e,t){U(t).onDone(()=>i.processLeaveNode(e))}function dn(i){let e=[];return $t(i,e),e}function $t(i,e){for(let t=0;t<i.length;t++){let s=i[t];s instanceof Me?$t(s.players,e):e.push(s)}}function mn(i,e){let t=Object.keys(i),s=Object.keys(e);if(t.length!=s.length)return!1;for(let n=0;n<t.length;n++){let r=t[n];if(!e.hasOwnProperty(r)||i[r]!==e[r])return!1}return!0}function kt(i,e,t){let s=t.get(i);if(!s)return!1;let n=e.get(i);return n?s.forEach(r=>n.add(r)):e.set(i,s),t.delete(i),!0}var ve=class{_driver;_normalizer;_transitionEngine;_timelineEngine;_triggerCache={};onRemovalComplete=(e,t)=>{};constructor(e,t,s){this._driver=t,this._normalizer=s,this._transitionEngine=new Xe(e.body,t,s),this._timelineEngine=new He(e.body,t,s),this._transitionEngine.onRemovalComplete=(n,r)=>this.onRemovalComplete(n,r)}registerTrigger(e,t,s,n,r){let a=e+"-"+n,o=this._triggerCache[a];if(!o){let l=[],u=[],h=rt(this._driver,r,l,u);if(l.length)throw fs(n,l);o=xs(n,h,this._normalizer),this._triggerCache[a]=o}this._transitionEngine.registerTrigger(t,n,o)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,s,n){this._transitionEngine.insertNode(e,t,s,n)}onRemove(e,t,s){this._transitionEngine.removeNode(e,t,s)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,s,n){if(s.charAt(0)=="@"){let[r,a]=gt(s),o=n;this._timelineEngine.command(r,t,a,o)}else this._transitionEngine.trigger(e,t,s,n)}listen(e,t,s,n,r){if(s.charAt(0)=="@"){let[a,o]=gt(s);return this._timelineEngine.listen(a,t,o,r)}return this._transitionEngine.listen(e,t,s,n,r)}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 pn(i,e){let t=null,s=null;return Array.isArray(e)&&e.length?(t=Le(e[0]),e.length>1&&(s=Le(e[e.length-1]))):e instanceof Map&&(t=Le(e)),t||s?new gn(i,t,s):null}var gn=(()=>{class i{_element;_startStyles;_endStyles;static initialStylesByElement=new WeakMap;_state=0;_initialStyles;constructor(t,s,n){this._element=t,this._startStyles=s,this._endStyles=n;let r=i.initialStylesByElement.get(t);r||i.initialStylesByElement.set(t,r=new Map),this._initialStyles=r}start(){this._state<1&&(this._startStyles&&Q(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Q(this._element,this._initialStyles),this._endStyles&&(Q(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(i.initialStylesByElement.delete(this._element),this._startStyles&&(X(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(X(this._element,this._endStyles),this._endStyles=null),Q(this._element,this._initialStyles),this._state=3)}}return i})();function Le(i){let e=null;return i.forEach((t,s)=>{yn(s)&&(e=e||new Map,e.set(s,t))}),e}function yn(i){return i==="display"||i==="position"}var we=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,t,s,n){this.element=e,this.keyframes=t,this.options=s,this._specialStyles=n,this._duration=s.duration,this._delay=s.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 t=()=>this._onFinish();this.domPlayer.addEventListener("finish",t),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",t)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(e){let t=[];return e.forEach(s=>{t.push(Object.fromEntries(s))}),t}_triggerWebAnimation(e,t,s){return e.animate(this._convertKeyframesToObject(t),s)}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((s,n)=>{n!=="offset"&&e.set(n,this._finished?s:it(this.element,n))}),this.currentSnapshot=e}triggerCallback(e){let t=e==="start"?this._onStartFns:this._onDoneFns;t.forEach(s=>s()),t.length=0}},Ze=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}containsElement(e,t){return Lt(e,t)}getParentElement(e){return tt(e)}query(e,t,s){return Ft(e,t,s)}computeStyle(e,t,s){return it(e,t)}animate(e,t,s,n,r,a=[]){let o=n==0?"both":"forwards",l={duration:s,delay:n,fill:o};r&&(l.easing=r);let u=new Map,h=a.filter(y=>y instanceof we);Fs(s,n)&&h.forEach(y=>{y.currentSnapshot.forEach((d,g)=>u.set(g,d))});let c=Rs(t).map(y=>new Map(y));c=Is(e,c,u);let _=pn(e,c);return new we(e,c,l,_)}};function Pn(i,e){return i==="noop"?new ve(e,new It,new Ie):new ve(e,new Ze,new Be)}var Dt=class{_driver;_animationAst;constructor(e,t){this._driver=e;let s=[],r=rt(e,t,s,[]);if(s.length)throw cs(s);this._animationAst=r}buildTimelines(e,t,s,n,r){let a=Array.isArray(t)?Et(t):t,o=Array.isArray(s)?Et(s):s,l=[];r=r||new te;let u=ot(this._driver,e,this._animationAst,st,pe,a,o,n,r,l);if(l.length)throw hs(l);return u}},me="@",Vt="@.disabled",be=class{namespaceId;delegate;engine;_onDestroy;\u0275type=0;constructor(e,t,s,n){this.namespaceId=e,this.delegate=t,this.engine=s,this._onDestroy=n}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,t){return this.delegate.createElement(e,t)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}insertBefore(e,t,s,n=!0){this.delegate.insertBefore(e,t,s),this.engine.onInsert(this.namespaceId,t,e,n)}removeChild(e,t,s){this.parentNode(t)&&this.engine.onRemove(this.namespaceId,t,this.delegate)}selectRootElement(e,t){return this.delegate.selectRootElement(e,t)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,t,s,n){this.delegate.setAttribute(e,t,s,n)}removeAttribute(e,t,s){this.delegate.removeAttribute(e,t,s)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,s,n){this.delegate.setStyle(e,t,s,n)}removeStyle(e,t,s){this.delegate.removeStyle(e,t,s)}setProperty(e,t,s){t.charAt(0)==me&&t==Vt?this.disableAnimations(e,!!s):this.delegate.setProperty(e,t,s)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,s){return this.delegate.listen(e,t,s)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}},Je=class extends be{factory;constructor(e,t,s,n,r){super(t,s,n,r),this.factory=e,this.namespaceId=t}setProperty(e,t,s){t.charAt(0)==me?t.charAt(1)=="."&&t==Vt?(s=s===void 0?!0:!!s,this.disableAnimations(e,s)):this.engine.process(this.namespaceId,e,t.slice(1),s):this.delegate.setProperty(e,t,s)}listen(e,t,s){if(t.charAt(0)==me){let n=_n(e),r=t.slice(1),a="";return r.charAt(0)!=me&&([r,a]=Sn(r)),this.engine.listen(this.namespaceId,n,r,a,o=>{let l=o._data||-1;this.factory.scheduleListenerCallback(l,s,o)})}return this.delegate.listen(e,t,s)}};function _n(i){switch(i){case"body":return document.body;case"document":return document;case"window":return window;default:return i}}function Sn(i){let e=i.indexOf("."),t=i.substring(0,e),s=i.slice(e+1);return[t,s]}var Rt=class{delegate;engine;_zone;_currentId=0;_microtaskId=1;_animationCallbacksBuffer=[];_rendererCache=new Map;_cdRecurDepth=0;constructor(e,t,s){this.delegate=e,this.engine=t,this._zone=s,t.onRemovalComplete=(n,r)=>{r?.removeChild(null,n)}}createRenderer(e,t){let s="",n=this.delegate.createRenderer(e,t);if(!e||!t?.data?.animation){let u=this._rendererCache,h=u.get(n);if(!h){let c=()=>u.delete(n);h=new be(s,n,this.engine,c),u.set(n,h)}return h}let r=t.id,a=t.id+"-"+this._currentId;this._currentId++,this.engine.register(a,e);let o=u=>{Array.isArray(u)?u.forEach(o):this.engine.registerTrigger(r,a,e,u.name,u)};return t.data.animation.forEach(o),new Je(this,a,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,s){if(e>=0&&e<this._microtaskId){this._zone.run(()=>t(s));return}let n=this._animationCallbacksBuffer;n.length==0&&queueMicrotask(()=>{this._zone.run(()=>{n.forEach(r=>{let[a,o]=r;a(o)}),this._animationCallbacksBuffer=[]})}),n.push([t,s])}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.delegate.componentReplaced?.(e)}};export{_t as AnimationDriver,It as NoopAnimationDriver,Dt as \u0275Animation,ve as \u0275AnimationEngine,Je as \u0275AnimationRenderer,Rt as \u0275AnimationRendererFactory,Fe as \u0275AnimationStyleNormalizer,be as \u0275BaseAnimationRenderer,Ie as \u0275NoopAnimationStyleNormalizer,Ze as \u0275WebAnimationsDriver,we as \u0275WebAnimationsPlayer,Be as \u0275WebAnimationsStyleNormalizer,Fs as \u0275allowPreviousPlayerStylesMerge,An as \u0275camelCaseToDashCase,Lt as \u0275containsElement,Pn as \u0275createEngine,tt as \u0275getParentElement,Ft as \u0275invokeQuery,Rs as \u0275normalizeKeyframes,Ns as \u0275validateStyleProperty,bn as \u0275validateWebAnimatableStyleProperty};