@everymatrix/prod-dm-select 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.
- package/chunk-6QMOPVV3.js +7 -0
- package/chunk-E6GWIGWN.js +1 -0
- package/component-lib.js +2026 -0
- package/index.html +12 -0
- package/main.js +2022 -0
- package/package-stage.json +7 -0
- package/package.json +7 -0
- package/polyfills.js +2 -0
- package/styles.css +0 -0
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
var Bl=Object.create;var Br=Object.defineProperty,Hl=Object.defineProperties,$l=Object.getOwnPropertyDescriptor,Ul=Object.getOwnPropertyDescriptors,zl=Object.getOwnPropertyNames,sn=Object.getOwnPropertySymbols,Gl=Object.getPrototypeOf,Hr=Object.prototype.hasOwnProperty,ds=Object.prototype.propertyIsEnumerable;var ls=(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)&&ls(e,n,t[n]);if(sn)for(var n of sn(t))ds.call(t,n)&&ls(e,n,t[n]);return e},V=(e,t)=>Hl(e,Ul(t));var Jy=(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 Xy=(e,t)=>{var n={};for(var r in e)Hr.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&sn)for(var r of sn(e))t.indexOf(r)<0&&ds.call(e,r)&&(n[r]=e[r]);return n};var ev=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var ql=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of zl(t))!Hr.call(e,o)&&o!==n&&Br(e,o,{get:()=>t[o],enumerable:!(r=$l(t,o))||r.enumerable});return e};var tv=(e,t,n)=>(n=e!=null?Bl(Gl(e)):{},ql(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 I(e){let t=R;return R=e,t}function fs(){return R}function Wl(){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 un(e){if(At)throw new Error("");if(R===null)return;R.consumerOnSignalRead(e);let t=R.nextProducerIndex++;if(ln(R),t<R.producerNode.length&&R.producerNode[t]!==e&&Rt(R)){let n=R.producerNode[t];cn(n,R.producerIndexOfThis[t])}R.producerNode[t]!==e&&(R.producerNode[t]=e,R.producerIndexOfThis[t]=Rt(R)?ms(e,R,t):0),R.producerLastReadVersion[t]=e.version}function Zl(){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 ps(e){if(e.liveConsumerNode===void 0)return;let t=At;At=!0;try{for(let n of e.liveConsumerNode)n.dirty||gs(n)}finally{At=t}}function hs(){return R?.consumerAllowSignalWrites!==!1}function gs(e){e.dirty=!0,ps(e),e.consumerMarkedDirty?.(e)}function zr(e){e.dirty=!1,e.lastCleanEpoch=Wr}function rt(e){return e&&(e.nextProducerIndex=0),I(e)}function Ot(e,t){if(I(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++)cn(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Ft(e){ln(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 ot(e){if(ln(e),Rt(e))for(let t=0;t<e.producerNode.length;t++)cn(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 ms(e,t,n){if(ys(e),e.liveConsumerNode.length===0&&vs(e))for(let r=0;r<e.producerNode.length;r++)e.producerIndexOfThis[r]=ms(e.producerNode[r],e,r);return e.liveConsumerIndexOfThis.push(n),e.liveConsumerNode.push(t)-1}function cn(e,t){if(ys(e),e.liveConsumerNode.length===1&&vs(e))for(let r=0;r<e.producerNode.length;r++)cn(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];ln(o),o.producerIndexOfThis[r]=t}}function Rt(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function ln(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function ys(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function vs(e){return e.producerNode!==void 0}function Ds(e){let t=Object.create(Ql);t.computation=e;let n=()=>{if(Zr(t),un(t),t.value===an)throw t.error;return t.value};return n[G]=t,n}var $r=Symbol("UNSET"),Ur=Symbol("COMPUTING"),an=Symbol("ERRORED"),Ql=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=rt(e),r;try{r=e.computation()}catch(o){r=an,e.error=o}finally{Ot(e,n)}if(t!==$r&&t!==an&&r!==an&&e.equal(t,r)){e.value=t;return}e.value=r,e.version++}});function Yl(){throw new Error}var Es=Yl;function Is(){Es()}function ws(e){Es=e}var Kl=null;function Cs(e){let t=Object.create(Qr);t.value=e;let n=()=>(un(t),t.value);return n[G]=t,n}function dn(e,t){hs()||Is(),e.equal(e.value,t)||(e.value=t,Jl(e))}function _s(e,t){hs()||Is(),dn(e,t(e.value))}var Qr=V(k({},ke),{equal:qr,value:void 0});function Jl(e){e.version++,Zl(),ps(e),Kl?.()}function bs(e,t,n){let r=Object.create(Xl);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)||(ot(u),u.cleanupFn(),u.fn=null,u.schedule=null,u.cleanupFn=Gr)}let a=()=>{if(r.fn===null)return;if(Wl())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(r.dirty=!1,r.hasRun&&!Ft(r))return;r.hasRun=!0;let u=rt(r);try{r.cleanupFn(),r.cleanupFn=Gr,r.fn(o)}finally{Ot(r,u)}};return r.ref={notify:()=>gs(r),run:a,cleanup:()=>r.cleanupFn(),destroy:()=>s(r),[G]:r},r.ref}var Gr=()=>{},Xl=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 fn(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 pn=fn(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 pn?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Ms(i)}catch(s){t=t??[],s instanceof pn?t=[...t,...s.errors]:t.push(s)}}if(t)throw new pn(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Ms(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 hn(e){return e instanceof B||e&&"closed"in e&&w(e.remove)&&w(e.add)&&w(e.unsubscribe)}function Ms(e){w(e)?e():e.unsubscribe()}var ue={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var it={setTimeout(e,t,...n){let{delegate:r}=it;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=it;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function gn(e){it.setTimeout(()=>{let{onUnhandledError:t}=ue;if(t)t(e);else throw e})}function Kr(){}var Ts=Jr("C",void 0,void 0);function Ss(e){return Jr("E",void 0,e)}function Ns(e){return Jr("N",e,void 0)}function Jr(e,t,n){return{kind:e,value:t,error:n}}var Pe=null;function st(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 xs(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,hn(t)&&t.add(this)):this.destination=nd}static create(t,n,r){return new at(t,n,r)}next(t){this.isStopped?eo(Ns(t),this):this._next(t)}error(t){this.isStopped?eo(Ss(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?eo(Ts,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()}}},ed=Function.prototype.bind;function Xr(e,t){return ed.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){mn(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){mn(r)}else mn(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){mn(n)}}},at=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 mn(e){ue.useDeprecatedSynchronousErrorHandling?xs(e):gn(e)}function td(e){throw e}function eo(e,t){let{onStoppedNotification:n}=ue;n&&it.setTimeout(()=>n(e,t))}var nd={closed:!0,next:Kr,error:td,complete:Kr};var ut=typeof Symbol=="function"&&Symbol.observable||"@@observable";function yn(e){return e}function As(e){return e.length===0?yn: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=od(n)?n:new at(n,r,o);return st(()=>{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=Rs(r),new r((o,i)=>{let s=new at({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)}[ut](){return this}pipe(...n){return As(n)(this)}toPromise(n){return n=Rs(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 Rs(e){var t;return(t=e??ue.Promise)!==null&&t!==void 0?t:Promise}function rd(e){return e&&w(e.next)&&w(e.error)&&w(e.complete)}function od(e){return e&&e instanceof Le||rd(e)&&hn(e)}function id(e){return w(e?.lift)}function fe(e){return t=>{if(id(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 Os=fn(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 vn(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Os}next(n){st(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){st(()=>{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(){st(()=>{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 vn(t,n),e})(),vn=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 Fs=new N(e=>e.complete());function ks(e){return e&&w(e.schedule)}function io(e){return e[e.length-1]}function Ps(e){return w(io(e))?e.pop():void 0}function Ls(e){return ks(io(e))?e.pop():void 0}function js(e,t){return typeof io(e)=="number"?e.pop():t}function Bs(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 Vs(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 Hs(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(C){return new Promise(function(F,T){i.push([f,C,F,T])>1||u(f,C)})},h&&(o[f]=h(o[f])))}function u(f,h){try{c(r[f](h))}catch(C){p(i[0][3],C)}}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 $s(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 Vs=="function"?Vs(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 Dn=e=>e&&typeof e.length=="number"&&typeof e!="function";function En(e){return w(e?.then)}function In(e){return w(e[ut])}function wn(e){return Symbol.asyncIterator&&w(e?.[Symbol.asyncIterator])}function Cn(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 sd(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var _n=sd();function bn(e){return w(e?.[_n])}function Mn(e){return Hs(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 Tn(e){return w(e?.getReader)}function L(e){if(e instanceof N)return e;if(e!=null){if(In(e))return ad(e);if(Dn(e))return ud(e);if(En(e))return cd(e);if(wn(e))return Us(e);if(bn(e))return ld(e);if(Tn(e))return dd(e)}throw Cn(e)}function ad(e){return new N(t=>{let n=e[ut]();if(w(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function ud(e){return new N(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function cd(e){return new N(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,gn)})}function ld(e){return new N(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function Us(e){return new N(t=>{fd(e,t).catch(n=>t.error(n))})}function dd(e){return Us(Mn(e))}function fd(e,t){var n,r,o,i;return Bs(this,void 0,void 0,function*(){try{for(n=$s(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 Sn(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 Nn(e,t=0){return fe((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function zs(e,t){return L(e).pipe(Nn(t),Sn(t))}function Gs(e,t){return L(e).pipe(Nn(t),Sn(t))}function qs(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 Ws(e,t){return new N(n=>{let r;return te(n,t,()=>{r=e[_n](),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 xn(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 Zs(e,t){return xn(Mn(e),t)}function Qs(e,t){if(e!=null){if(In(e))return zs(e,t);if(Dn(e))return qs(e,t);if(En(e))return Gs(e,t);if(wn(e))return xn(e,t);if(bn(e))return Ws(e,t);if(Tn(e))return Zs(e,t)}throw Cn(e)}function so(e,t){return t?Qs(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:pd}=Array;function hd(e,t){return pd(t)?e(...t):e(t)}function Ys(e){return Ve(t=>hd(e,t))}var{isArray:gd}=Array,{getPrototypeOf:md,prototype:yd,keys:vd}=Object;function Ks(e){if(e.length===1){let t=e[0];if(gd(t))return{args:t,keys:null};if(Dd(t)){let n=vd(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function Dd(e){return e&&typeof e=="object"&&md(e)===yd}function Js(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function Xs(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=>c<r?h(C):u.push(C),h=C=>{i&&t.next(C),c++;let F=!1;L(n(C,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)=>Xs(r,o,e,n)))}function ea(e=1/0){return ao(yn,e)}function Ed(...e){let t=Ps(e),{args:n,keys:r}=Ks(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?Js(r,a):a),i.complete())}))}});return t?o.pipe(Ys(t)):o}function Id(...e){let t=Ls(e),n=js(e,1/0),r=e;return r.length?r.length===1?L(r[0]):ea(n)(so(r,t)):Fs}function wd(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 Ba="https://g.co/ng/security#xss",D=class extends Error{code;constructor(t,n){super(Ha(t,n)),this.code=t}};function Ha(e,t){return`${`NG0${Math.abs(e)}`}${t?": "+t:""}`}var $a=Symbol("InputSignalNode#UNSET"),_d=V(k({},Qr),{transformFn:void 0,applyValueToInputSignal(e,t){dn(e,t)}});function Ua(e,t){let n=Object.create(_d);n.value=e,n.transformFn=t?.transform;function r(){if(un(n),n.value===$a)throw new D(-950,!1);return n.value}return r[G]=n,r}function Kt(e){return{toString:e}.toString()}var An="__parameters__";function bd(e){return function(...n){if(e){let r=e(...n);for(let o in r)this[o]=r[o]}}}function za(e,t,n){return Kt(()=>{let r=bd(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(An)?u[An]:Object.defineProperty(u,An,{value:[]})[An];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 Md=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 Td(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 Sd=M({__forward_ref__:M});function Ga(e){return e.__forward_ref__=Ga,e.toString=function(){return $(this())},e}function H(e){return qa(e)?e():e}function qa(e){return typeof e=="function"&&e.hasOwnProperty(Sd)&&e.__forward_ref__===Ga}function x(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function yi(e){return{providers:e.providers||[],imports:e.imports||[]}}function vi(e){return ta(e,Wa)||ta(e,Za)}function ta(e,t){return e.hasOwnProperty(t)?e[t]:null}function Nd(e){let t=e&&(e[Wa]||e[Za]);return t||null}function na(e){return e&&(e.hasOwnProperty(ra)||e.hasOwnProperty(xd))?e[ra]:null}var Wa=M({\u0275prov:M}),ra=M({\u0275inj:M}),Za=M({ngInjectableDef:M}),xd=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 Qa(e){return e&&!!e.\u0275providers}var Ad=M({\u0275cmp:M}),Rd=M({\u0275dir:M}),Od=M({\u0275pipe:M}),Fd=M({\u0275mod:M}),Hn=M({\u0275fac:M}),Bt=M({__NG_ELEMENT_ID__:M}),oa=M({__NG_ENV_ID__:M});function Ir(e){return typeof e=="string"?e:e==null?"":String(e)}function kd(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():Ir(e)}function Pd(e,t){let n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new D(-200,e)}function Di(e,t){throw new D(-201,!1)}var E=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}(E||{}),Io;function Ya(){return Io}function ne(e){let t=Io;return Io=e,t}function Ka(e,t,n){let r=vi(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&E.Optional)return null;if(t!==void 0)return t;Di(e,"Injector")}var Ld={},$t=Ld,wo="__NG_DI_FLAG__",$n="ngTempTokenPath",jd="ngTokenPath",Vd=/\n/gm,Bd="\u0275",ia="__source",ft;function Hd(){return ft}function Ce(e){let t=ft;return ft=e,t}function $d(e,t=E.Default){if(ft===void 0)throw new D(-203,!1);return ft===null?Ka(e,void 0,t):ft.get(e,t&E.Optional?null:void 0,t)}function U(e,t=E.Default){return(Ya()||$d)(H(e),t)}function _(e,t=E.Default){return U(e,wr(t))}function wr(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 D(900,!1);let o,i=E.Default;for(let s=0;s<r.length;s++){let a=r[s],u=Ud(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 Ja(e,t){return e[wo]=t,e.prototype[wo]=t,e}function Ud(e){return e[wo]}function zd(e,t,n,r){let o=e[$n];throw t[ia]&&o.unshift(t[ia]),e.message=Gd(`
|
|
5
|
+
`+e.message,o,n,r),e[jd]=o,e[$n]=null,e}function Gd(e,t,n,r=null){e=e&&e.charAt(0)===`
|
|
6
|
+
`&&e.charAt(1)==Bd?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(Vd,`
|
|
7
|
+
`)}`}var Xa=Ja(za("Optional"),8);var eu=Ja(za("SkipSelf"),4);function ht(e,t){let n=e.hasOwnProperty(Hn);return n?e[Hn]:null}function qd(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 Wd(e){return e.flat(Number.POSITIVE_INFINITY)}function Ei(e,t){e.forEach(n=>Array.isArray(n)?Ei(n,t):t(n))}function tu(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Un(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Zd(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function Qd(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 Cr(e,t,n){let r=Jt(e,t);return r>=0?e[r|1]=n:(r=~r,Qd(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 Yd(e,t,1)}function Yd(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 gt={},q=[],zn=new b(""),nu=new b("",-1),ru=new b(""),Gn=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 Kd(e,t){let n=e[Fd]||null;if(!n&&t===!0)throw new Error(`Type ${$(e)} does not have '\u0275mod' property.`);return n}function mt(e){return e[Ad]||null}function ou(e){return e[Rd]||null}function iu(e){return e[Od]||null}function Jd(e){let t=mt(e)||ou(e)||iu(e);return t!==null&&t.standalone}function Xd(e){return{\u0275providers:e}}function ef(...e){return{\u0275providers:su(!0,e),\u0275fromNgModule:!0}}function su(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return Ei(t,s=>{let a=s;_o(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&au(o,i),n}function au(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];Ii(o,i=>{t(i,r)})}}function _o(e,t,n,r){if(e=H(e),!e)return!1;let o=null,i=na(e),s=!i&&mt(e);if(!i&&!s){let u=e.ngModule;if(i=na(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{Ei(i.imports,l=>{_o(l,t,n,r)&&(c||=[],c.push(l))})}finally{}c!==void 0&&au(c,t)}if(!a){let c=ht(o)||(()=>new o);t({provide:o,useFactory:c,deps:q},o),t({provide:ru,useValue:o,multi:!0},o),t({provide:zn,useValue:()=>U(o),multi:!0},o)}let u=i.providers;if(u!=null&&!a){let c=e;Ii(u,l=>{t(l,c)})}}else return!1;return o!==e&&e.providers!==void 0}function Ii(e,t){for(let n of e)Qa(n)&&(n=n.\u0275providers),Array.isArray(n)?Ii(n,t):t(n)}var tf=M({provide:String,useValue:M});function uu(e){return e!==null&&typeof e=="object"&&tf in e}function nf(e){return!!(e&&e.useExisting)}function rf(e){return!!(e&&e.useFactory)}function yt(e){return typeof e=="function"}function of(e){return!!e.useClass}var cu=new b(""),kn={},sf={},co;function wi(){return co===void 0&&(co=new Gn),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(nu,ct(void 0,this)),o.has("environment")&&this.records.set(Te,ct(void 0,this));let i=this.records.get(cu);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(ru,q,E.Self))}destroy(){jt(this),this._destroyed=!0;let t=I(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),I(t)}}onDestroy(t){return 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=E.Default){if(jt(this),t.hasOwnProperty(oa))return t[oa](this);r=wr(r);let o,i=Ce(this),s=ne(void 0);try{if(!(r&E.SkipSelf)){let u=this.records.get(t);if(u===void 0){let c=df(t)&&vi(t);c&&this.injectableDefInScope(c)?u=ct(bo(t),kn):u=null,this.records.set(t,u)}if(u!=null)return this.hydrate(t,u)}let a=r&E.Self?wi():this.parent;return n=r&E.Optional&&n===$t?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[$n]=a[$n]||[]).unshift($(t)),i)throw a;return zd(a,t,"R3InjectorError",this.source)}else throw a}finally{ne(s),Ce(i)}}resolveInjectorInitializers(){let t=I(null),n=Ce(this),r=ne(void 0),o;try{let i=this.get(zn,q,E.Self);for(let s of i)s()}finally{Ce(n),ne(r),I(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=yt(t)?t:H(t&&t.provide),r=uf(t);if(!yt(t)&&t.multi===!0){let o=this.records.get(n);o||(o=ct(void 0,kn,!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=I(null);try{return n.value===kn&&(n.value=sf,n.value=n.factory()),typeof n.value=="object"&&n.value&&lf(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{I(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=vi(e),n=t!==null?t.factory:ht(e);if(n!==null)return n;if(e instanceof b)throw new D(204,!1);if(e instanceof Function)return af(e);throw new D(204,!1)}function af(e){if(e.length>0)throw new D(204,!1);let n=Nd(e);return n!==null?()=>n.factory(e):()=>new e}function uf(e){if(uu(e))return ct(void 0,e.useValue);{let t=lu(e);return ct(t,kn)}}function lu(e,t,n){let r;if(yt(e)){let o=H(e);return ht(o)||bo(o)}else if(uu(e))r=()=>H(e.useValue);else if(rf(e))r=()=>e.useFactory(...Co(e.deps||[]));else if(nf(e))r=()=>U(H(e.useExisting));else{let o=H(e&&(e.useClass||e.provide));if(cf(e))r=()=>new o(...Co(e.deps));else return ht(o)||bo(o)}return r}function jt(e){if(e.destroyed)throw new D(205,!1)}function ct(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function cf(e){return!!e.deps}function lf(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function df(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&&Qa(n)?Mo(n.\u0275providers,t):t(n)}function du(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 fu(){return Ya()!==void 0||Hd()!=null}function pu(e){if(!fu())throw new D(-203,!1)}function ff(e){let t=Md.ng;if(t&&t.\u0275compilerFacade)return t.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}function pf(e){return typeof e=="function"}var Ie=0,m=1,g=2,j=3,le=4,Y=5,zt=6,qn=7,re=8,vt=9,De=10,S=11,Gt=12,sa=13,Tt=14,oe=15,He=16,lt=17,Ee=18,_r=19,hu=20,be=21,Pn=22,$e=23,J=24,Q=25,gu=1;var Ue=7,Wn=8,Dt=9,W=10,Zn=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(Zn||{});function Me(e){return Array.isArray(e)&&typeof e[gu]=="object"}function we(e){return Array.isArray(e)&&e[gu]===!0}function Ci(e){return(e.flags&4)!==0}function br(e){return e.componentOffset>-1}function Mr(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 mu(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var yu=(()=>{let e=()=>vu;return e.ngInherit=!0,e})();function vu(e){return e.type.prototype.ngOnChanges&&(e.setInput=gf),hf}function hf(){let e=Eu(this),t=e?.current;if(t){let n=e.previous;if(n===gt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function gf(e,t,n,r,o){let i=this.declaredInputs[r],s=Eu(e)||mf(e,{previous:gt,current:null}),a=s.current||(s.current={}),u=s.previous,c=u[i];a[i]=new So(c&&c.currentValue,n,u===gt),mu(e,t,o,n)}var Du="__ngSimpleChanges__";function Eu(e){return e[Du]||null}function mf(e,t){return e[Du]=t}var aa=null;var he=function(e,t,n){aa?.(e,t,n)},Iu="svg",yf="math";function me(e){for(;Array.isArray(e);)e=e[Ie];return e}function wu(e,t){return me(t[e])}function se(e,t){return me(t[e.index])}function _i(e,t){return e.data[t]}function vf(e,t){return e[t]}function Re(e,t){let n=t[e];return Me(n)?n:n[Ie]}function Df(e){return(e[g]&4)===4}function bi(e){return(e[g]&128)===128}function Ef(e){return we(e[j])}function Et(e,t){return t==null?null:e[t]}function Cu(e){e[lt]=0}function Mi(e){e[g]&1024||(e[g]|=1024,bi(e)&&Xt(e))}function If(e,t){for(;e>0;)t=t[Tt],e--;return t}function Tr(e){return!!(e[g]&9216||e[J]?.dirty)}function No(e){e[De].changeDetectionScheduler?.notify(9),e[g]&64&&(e[g]|=1024),Tr(e)&&Xt(e)}function Xt(e){e[De].changeDetectionScheduler?.notify(0);let t=ze(e);for(;t!==null&&!(t[g]&8192||(t[g]|=8192,!bi(t)));)t=ze(t)}function _u(e,t){if((e[g]&256)===256)throw new D(911,!1);e[be]===null&&(e[be]=[]),e[be].push(t)}function wf(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 y={lFrame:Ou(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var xo=!1;function Cf(){return y.lFrame.elementDepthCount}function _f(){y.lFrame.elementDepthCount++}function bf(){y.lFrame.elementDepthCount--}function bu(){return y.bindingsEnabled}function Mu(){return y.skipHydrationRootTNode!==null}function Mf(e){return y.skipHydrationRootTNode===e}function Tf(){y.skipHydrationRootTNode=null}function v(){return y.lFrame.lView}function A(){return y.lFrame.tView}function LI(e){return y.lFrame.contextLView=e,e[re]}function jI(e){return y.lFrame.contextLView=null,e}function P(){let e=Tu();for(;e!==null&&e.type===64;)e=e.parent;return e}function Tu(){return y.lFrame.currentTNode}function Sf(){let e=y.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Ke(e,t){let n=y.lFrame;n.currentTNode=e,n.isParent=t}function Ti(){return y.lFrame.isParent}function Si(){y.lFrame.isParent=!1}function Nf(){return y.lFrame.contextLView}function Su(){return xo}function Qn(e){let t=xo;return xo=e,t}function en(){let e=y.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function xf(e){return y.lFrame.bindingIndex=e}function tn(){return y.lFrame.bindingIndex++}function Nu(e){let t=y.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Af(){return y.lFrame.inI18n}function Rf(e,t){let n=y.lFrame;n.bindingIndex=n.bindingRootIndex=e,Ao(t)}function Of(){return y.lFrame.currentDirectiveIndex}function Ao(e){y.lFrame.currentDirectiveIndex=e}function Ff(e){let t=y.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function xu(){return y.lFrame.currentQueryIndex}function Ni(e){y.lFrame.currentQueryIndex=e}function kf(e){let t=e[m];return t.type===2?t.declTNode:t.type===1?e[Y]:null}function Au(e,t,n){if(n&E.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&E.Host);)if(o=kf(i),o===null||(i=i[Tt],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=y.lFrame=Ru();return r.currentTNode=t,r.lView=e,!0}function xi(e){let t=Ru(),n=e[m];y.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Ru(){let e=y.lFrame,t=e===null?null:e.child;return t===null?Ou(e):t}function Ou(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 Fu(){let e=y.lFrame;return y.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var ku=Fu;function Ai(){let e=Fu();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 Pf(e){return(y.lFrame.contextLView=If(e,y.lFrame.contextLView))[re]}function Je(){return y.lFrame.selectedIndex}function Ge(e){y.lFrame.selectedIndex=e}function Ri(){let e=y.lFrame;return _i(e.tView,e.selectedIndex)}function VI(){y.lFrame.currentNamespace=Iu}function Lf(){return y.lFrame.currentNamespace}var Pu=!0;function Sr(){return Pu}function Nr(e){Pu=e}function jf(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=vu(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 xr(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 Ln(e,t,n){Lu(e,t,3,n)}function jn(e,t,n,r){(e[g]&3)===n&&Lu(e,t,n,r)}function lo(e,t){let n=e[g];(n&3)===t&&(n&=16383,n+=1,e[g]=n)}function Lu(e,t,n,r){let o=r!==void 0?e[lt]&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[lt]+=65536),(a<i||i==-1)&&(Vf(e,n,t,u),e[lt]=(e[lt]&4294901760)+u+2),u++}function ua(e,t){he(4,e,t);let n=I(null);try{t.call(e)}finally{I(n),he(5,e,t)}}function Vf(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[lt]>>16&&(e[g]&3)===t&&(e[g]+=16384,ua(a,i)):ua(a,i)}var pt=-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 Bf(e){return e instanceof qe}function Hf(e){return(e.flags&8)!==0}function $f(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];zf(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function Uf(e){return e===3||e===4||e===6}function zf(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?ca(e,n,o,null,t[++r]):ca(e,n,o,null,null))}}return e}function ca(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=wr(r);let o=this.injector.get(t,fo,r);return o!==fo||n===fo?o:this.parentInjector.get(t,n,r)}};function ju(e){return e!==pt}function Yn(e){return e&32767}function Gf(e){return e>>16}function Kn(e,t){let n=Gf(e),r=t;for(;n>0;)r=r[Tt],n--;return r}var Fo=!0;function la(e){let t=Fo;return Fo=e,t}var qf=256,Vu=qf-1,Bu=5,Wf=0,ge={};function Zf(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Bt)&&(r=n[Bt]),r==null&&(r=n[Bt]=Wf++);let o=r&Vu,i=1<<o;t.data[e+(o>>Bu)]|=i}function Jn(e,t){let n=Hu(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=Oi(e,t),i=e.injectorIndex;if(ju(o)){let s=Yn(o),a=Kn(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 Hu(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Oi(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=qu(o),r===null)return pt;if(n++,o=o[Tt],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return pt}function ko(e,t,n){Zf(e,t,n)}function $u(e,t,n){if(n&E.Optional||e!==void 0)return e;Di(t,"NodeInjector")}function Uu(e,t,n,r){if(n&E.Optional&&r===void 0&&(r=null),(n&(E.Self|E.Host))===0){let o=e[vt],i=ne(void 0);try{return o?o.get(t,r,n&E.Optional):Ka(t,r,n&E.Optional)}finally{ne(i)}}return $u(r,t,n)}function zu(e,t,n,r=E.Default,o){if(e!==null){if(t[g]&2048&&!(r&E.Self)){let s=Jf(e,t,n,r,ge);if(s!==ge)return s}let i=Gu(e,t,n,r,ge);if(i!==ge)return i}return Uu(t,n,r,o)}function Gu(e,t,n,r,o){let i=Yf(n);if(typeof i=="function"){if(!Au(t,e,r))return r&E.Host?$u(o,n,r):Uu(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&E.Optional))Di(n);else return s}finally{ku()}}else if(typeof i=="number"){let s=null,a=Hu(e,t),u=pt,c=r&E.Host?t[oe][Y]:null;for((a===-1||r&E.SkipSelf)&&(u=a===-1?Oi(e,t):t[a+8],u===pt||!fa(r,!1)?a=-1:(s=t[m],a=Yn(u),t=Kn(u,t)));a!==-1;){let l=t[m];if(da(i,a,l.data)){let d=Qf(a,t,n,s,r,c);if(d!==ge)return d}u=t[a+8],u!==pt&&fa(r,t[m].data[a+8]===c)&&da(i,a,t)?(s=l,a=Yn(u),t=Kn(u,t)):a=-1}}return o}function Qf(e,t,n,r,o,i){let s=t[m],a=s.data[e+8],u=r==null?br(a)&&Fo:r!=s&&(a.type&3)!==0,c=o&E.Host&&i===a,l=Vn(a,s,n,u,c);return l!==null?We(t,s,l,a):ge}function Vn(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(Bf(o)){let s=o;s.resolving&&Pd(kd(i[n]));let a=la(s.canSeeViewProviders);s.resolving=!0;let u,c=s.injectImpl?ne(s.injectImpl):null,l=Au(e,r,E.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&jf(n,i[n],t)}finally{c!==null&&ne(c),la(a),s.resolving=!1,ku()}}return o}function Yf(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&Vu:Kf:t}function da(e,t,n){let r=1<<e;return!!(n[t+(e>>Bu)]&r)}function fa(e,t){return!(e&E.Self)&&!(e&E.Host&&t)}var Be=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return zu(this._tNode,this._lView,t,wr(r),n)}};function Kf(){return new Be(P(),v())}function BI(e){return Kt(()=>{let t=e.prototype.constructor,n=t[Hn]||Po(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Hn]||Po(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Po(e){return qa(e)?()=>{let t=Po(H(e));return t&&t()}:ht(e)}function Jf(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[g]&2048&&!(s[g]&512);){let a=Gu(i,s,n,r|E.Self,ge);if(a!==ge)return a;let u=i.parent;if(!u){let c=s[hu];if(c){let l=c.get(n,ge,r);if(l!==ge)return l}u=qu(s),s=s[Tt]}i=u}return o}function qu(e){let t=e[m],n=t.type;return n===2?t.declTNode:n===1?e[Y]:null}function pa(e,t=null,n=null,r){let o=Wu(e,t,n,r);return o.resolveInjectorInitializers(),o}function Wu(e,t=null,n=null,r,o=new Set){let i=[n||q,ef(e)];return r=r||(typeof e=="object"?void 0:$(e)),new Ut(i,t||wi(),r||null,o)}var ye=class e{static THROW_IF_NOT_FOUND=$t;static NULL=new Gn;static create(t,n){if(Array.isArray(t))return pa({name:""},n,t,"");{let r=t.name??"";return pa({name:r},t.parent,t.providers,r)}}static \u0275prov=x({token:e,providedIn:"any",factory:()=>U(nu)});static __NG_ELEMENT_ID__=-1};var Xf=new b("");Xf.__NG_ELEMENT_ID__=e=>{let t=P();if(t===null)throw new D(204,!1);if(t.type&2)return t.value;if(e&E.Optional)return null;throw new D(204,!1)};var Zu=!1,Ar=(()=>{class e{static __NG_ELEMENT_ID__=ep;static __NG_ENV_ID__=n=>n}return e})(),Xn=class extends Ar{_lView;constructor(t){super(),this._lView=t}onDestroy(t){return _u(this._lView,t),()=>wf(this._lView,t)}};function ep(){return new Xn(v())}var It=class{},Qu=new b("",{providedIn:"root",factory:()=>!1});var Yu=new b(""),Ku=new b(""),nn=(()=>{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,fu()&&(this.destroyRef=_(Ar,{optional:!0})??void 0,this.pendingTasks=_(nn,{optional:!0})??void 0)}emit(t){let n=I(null);try{super.next(t)}finally{I(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let 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 Ju(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 ha(e){return queueMicrotask(()=>e()),()=>{e=Wt}}var Fi="isAngularZone",er=Fi+"_ID",tp=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=Zu}=t;if(typeof Zone>"u")throw new D(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,op(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Fi)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new D(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new D(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,np,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)}},np={};function ki(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 rp(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){Ju(()=>{e.callbackScheduled=!1,jo(e),e.isCheckStableRunning=!0,ki(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),jo(e)}function op(e){let t=()=>{rp(e)},n=tp++;e._inner=e._inner.fork({name:"angular",properties:{[Fi]:!0,[er]:n,[er+n]:!0},onInvokeTask:(r,o,i,s,a,u)=>{if(ip(u))return r.invokeTask(i,s,a,u);try{return ga(e),r.invokeTask(i,s,a,u)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),ma(e)}},onInvoke:(r,o,i,s,a,u,c)=>{try{return ga(e),r.invoke(i,s,a,u,c)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!sp(u)&&t(),ma(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,jo(e),ki(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 ga(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function ma(e){e._nesting--,ki(e)}var tr=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 ip(e){return Xu(e,"__ignore_ng_zone__")}function sp(e){return Xu(e,"__scheduler_tick__")}function Xu(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}function ap(e="zone.js",t){return e==="noop"?new tr:e==="zone.js"?new Z(t):e}var wt=class{_console=console;handleError(t){this._console.error("ERROR",t)}},up=new b("",{providedIn:"root",factory:()=>{let e=_(Z),t=_(wt);return n=>e.runOutsideAngular(()=>t.handleError(n))}});function ya(e,t){return Ua(e,t)}function cp(e){return Ua($a,e)}var HI=(ya.required=cp,ya);function lp(){return St(P(),v())}function St(e,t){return new Oe(se(e,t))}var Oe=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=lp}return e})();function dp(e){return e instanceof Oe?e.nativeElement:e}function fp(){return this._results[Symbol.iterator]()}var Vo=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=Wd(t);(this._changesDetected=!qd(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]=fp};function ec(e){return(e.flags&128)===128}var tc=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(tc||{}),nc=new Map,pp=0;function hp(){return pp++}function gp(e){nc.set(e[_r],e)}function Bo(e){nc.delete(e[_r])}var va="__ngContext__";function Ne(e,t){Me(t)?(e[va]=t[_r],gp(t)):e[va]=t}function rc(e){return ic(e[Gt])}function oc(e){return ic(e[le])}function ic(e){for(;e!==null&&!we(e);)e=e[le];return e}var Ho;function $I(e){Ho=e}function mp(){if(Ho!==void 0)return Ho;if(typeof document<"u")return document;throw new D(210,!1)}var UI=new b("",{providedIn:"root",factory:()=>yp}),yp="ng",vp=new b(""),Dp=new b("",{providedIn:"platform",factory:()=>"unknown"});var zI=new b(""),GI=new b("",{providedIn:"root",factory:()=>mp().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var Ep="h",Ip="b";var sc=!1,wp=new b("",{providedIn:"root",factory:()=>sc});var ac=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(ac||{}),uc=new b(""),Da=new Set;function Xe(e){Da.has(e)||(Da.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var Cp=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=x({token:e,providedIn:"root",factory:()=>new e})}return e})();var _p=()=>null;function Pi(e,t,n=!1){return _p(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 nr=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Ba})`}};function rn(e){return e instanceof nr?e.changingThisBreaksApplicationSecurity:e}function bp(e,t){let n=Mp(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Ba})`)}return n===t}function Mp(e){return e instanceof nr&&e.getTypeName()||null}var Tp=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Sp(e){return e=String(e),e.match(Tp)?e:"unsafe:"+e}var cc=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}(cc||{});function qI(e){let t=Np();return t?t.sanitize(cc.URL,e)||"":bp(e,"URL")?rn(e):Sp(Ir(e))}function Np(){let e=v();return e&&e[De].sanitizer}var xp=/^>|^->|<!--|-->|--!>|<!-$/g,Ap=/(<|>)/g,Rp="\u200B$1\u200B";function Op(e){return e.replace(xp,t=>t.replace(Ap,Rp))}function Fp(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||{}),kp;function Li(e,t){return kp(e,t)}function dt(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?hc(t,n,a):or(t,n,a,o||null,!0):e===1&&n!==null?or(t,n,a,o||null,!0):e===2?Qp(t,a,s):e===3&&t.destroyNode(a),i!=null&&Kp(t,e,i,n,o)}}function Pp(e,t){return e.createText(t)}function Lp(e,t,n){e.setValue(t,n)}function jp(e,t){return e.createComment(Op(t))}function lc(e,t,n){return e.createElement(t,n)}function Vp(e,t){dc(e,t),t[Ie]=null,t[Y]=null}function Bp(e,t,n,r,o,i){r[Ie]=o,r[Y]=t,Or(e,r,n,1,o,i)}function dc(e,t){t[De].changeDetectionScheduler?.notify(10),Or(e,t,t[S],2,null,null)}function Hp(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 $p(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],tu(n,W+r,t)):(n.push(t),t[le]=null),t[j]=n;let s=t[He];s!==null&&n!==s&&fc(s,t);let a=t[Ee];a!==null&&a.insertView(e),No(t),t[g]|=128}function fc(e,t){let n=e[Dt],r=t[j];if(Me(r))e[g]|=Zn.HasTransplantedViews;else{let o=r[j][oe];t[oe]!==o&&(e[g]|=Zn.HasTransplantedViews)}n===null?e[Dt]=[t]:n.push(t)}function ji(e,t){let n=e[Dt],r=n.indexOf(t);n.splice(r,1)}function rr(e,t){if(e.length<=W)return;let n=W+t,r=e[n];if(r){let o=r[He];o!==null&&o!==e&&ji(o,r),t>0&&(e[n-1][le]=r[le]);let i=Un(e,W+t);Vp(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 Vi(e,t){if(!(t[g]&256)){let n=t[S];n.destroyNode&&Or(e,t,n,3,null,null),Hp(t)}}function ho(e,t){if(t[g]&256)return;let n=I(null);try{t[g]&=-129,t[g]|=256,t[J]&&ot(t[J]),zp(e,t),Up(e,t),t[m].type===1&&t[S].destroy();let r=t[He];if(r!==null&&we(t[j])){r!==t[j]&&ji(r,t);let o=t[Ee];o!==null&&o.detachView(e)}Bo(t)}finally{I(n)}}function Up(e,t){let n=e.cleanup,r=t[qn];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[qn]=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 zp(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 pc(e,t,n){return Gp(e,t.parent,n)}function Gp(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 or(e,t,n,r,o){e.insertBefore(t,n,r,o)}function hc(e,t,n){e.appendChild(t,n)}function Ea(e,t,n,r,o){r!==null?or(e,t,n,r,o):hc(e,t,n)}function gc(e,t){return e.parentNode(t)}function qp(e,t){return e.nextSibling(t)}function mc(e,t,n){return Zp(e,t,n)}function Wp(e,t,n){return e.type&40?se(e,n):null}var Zp=Wp,Ia;function Rr(e,t,n,r){let o=pc(e,r,t),i=t[S],s=r.parent||t[Y],a=mc(s,r,t);if(o!=null)if(Array.isArray(n))for(let u=0;u<n.length;u++)Ea(i,o,n[u],a,!1);else Ea(i,o,n,a,!1);Ia!==void 0&&Ia(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 $o(-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)?$o(-1,o):me(o)}}else{if(n&128)return Vt(e,t.next);if(n&32)return Li(t,e)()||me(e[t.index]);{let r=yc(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 yc(e,t){if(t!==null){let r=e[oe][Y],o=t.projection;return r.projection[o]}return null}function $o(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 Qp(e,t,n){e.removeChild(null,t,n)}function Bi(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)Bi(e,t,n.child,r,o,i,!1),dt(t,e,o,a,i);else if(u&32){let c=Li(n,r),l;for(;l=c();)dt(t,e,o,l,i);dt(t,e,o,a,i)}else u&16?vc(e,t,r,n,o,i):dt(t,e,o,a,i);n=s?n.projectionNext:n.next}}function Or(e,t,n,r,o,i){Bi(n,r,e.firstChild,t,o,i,!1)}function Yp(e,t,n){let r=t[S],o=pc(e,n,t),i=n.parent||t[Y],s=mc(i,n,t);vc(r,0,t,n,o,s)}function vc(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];dt(t,e,o,l,i)}else{let c=u,l=s[j];ec(r)&&(c.flags|=128),Bi(e,t,c,l,o,i,!0)}}function Kp(e,t,n,r,o){let i=n[Ue],s=me(n);i!==s&&dt(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 Jp(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 Xp(e,t,n){e.setAttribute(t,"style",n)}function Dc(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Ec(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&Ro(e,t,r),o!==null&&Dc(e,t,o),i!==null&&Xp(e,t,i)}function eh(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 Ic="ng-template";function th(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&eh(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(Hi(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 Hi(e){return e.type===4&&e.value!==Ic}function nh(e,t,n){let r=e.type===4&&!n?Ic:e.value;return t===r}function rh(e,t,n){let r=4,o=e.attrs,i=o!==null?sh(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!==""&&!nh(e,u,n)||u===""&&t.length===1){if(ce(r))return!1;s=!0}}else if(r&8){if(o===null||!th(e,o,u,n)){if(ce(r))return!1;s=!0}}else{let c=t[++a],l=oh(u,o,Hi(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 oh(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 ah(t,e)}function wc(e,t,n=!1){for(let r=0;r<t.length;r++)if(rh(e,t[r],n))return!0;return!1}function ih(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if((n&1)===0)return t[n+1]}return null}function sh(e){for(let t=0;t<e.length;t++){let n=e[t];if(Uf(n))return t}return e.length}function ah(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 uh(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 wa(e,t){return e?":not("+t.trim()+")":t}function ch(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+=wa(i,o),o=""),r=s,i=i||!ce(r);n++}return o!==""&&(t+=wa(i,o)),t}function lh(e){return e.map(ch).join(",")}function dh(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 WI(e=1){Cc(A(),v(),Je()+e,!1)}function Cc(e,t,n,r){if(!r)if((t[g]&3)===3){let i=e.preOrderCheckHooks;i!==null&&Ln(t,i,n)}else{let i=e.preOrderHooks;i!==null&&jn(t,i,0,n)}Ge(n)}function z(e,t=E.Default){let n=v();if(n===null)return U(e,t);let r=P();return zu(r,n,H(e),t)}function ZI(){let e="invalid";throw new Error(e)}function _c(e,t,n,r,o,i){let s=I(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):mu(t,a,r,i)}finally{I(s)}}function fh(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];Rf(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),Cu(d),d[j]=d[Tt]=e,d[re]=n,d[De]=s||e&&e[De],d[S]=a||e&&e[S],d[vt]=u||e&&e[vt]||null,d[Y]=i,d[_r]=hp(),d[zt]=l,d[hu]=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=ph(e,t,n,r,o),Af()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=Sf();i.injectorIndex=s===null?-1:s.injectorIndex}return Ke(i,!0),i}function ph(e,t,n,r,o){let i=Tu(),s=Ti(),a=s?i:i&&i.parent,u=e.data[t]=Dh(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 bc(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 Mc(e,t,n,r,o){let i=Je(),s=r&2;try{Ge(-1),s&&t.length>Q&&Cc(e,t,Q,!1),he(s?2:0,o),n(r,o)}finally{Ge(i),he(s?3:1,o)}}function $i(e,t,n){if(Ci(t)){let r=I(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;s<i;s++){let a=e.data[s];if(a.contentQueries){let u=n[s];a.contentQueries(1,u,s)}}}finally{I(r)}}}function Ui(e,t,n){bu()&&(bh(e,t,n,se(n,t)),(n.flags&64)===64&&xc(e,t,n))}function zi(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 Tc(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=Gi(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Gi(e,t,n,r,o,i,s,a,u,c,l){let d=Q+r,p=d+o,f=hh(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 hh(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:de);return n}function gh(e,t,n,r){let i=r.get(wp,sc)||n===Zt.ShadowDom,s=e.selectRootElement(t,i);return mh(s),s}function mh(e){yh(e)}var yh=()=>null;function vh(e,t,n,r){let o=Fc(t);o.push(n),e.firstCreatePass&&kc(e).push(r,o.length-1)}function Dh(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return Mu()&&(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 Ca(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?_a(r,n,c,a,u):_a(r,n,c,a)}return r}function _a(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 Eh(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=Ca(0,d.inputs,l,u,f),c=Ca(1,d.outputs,l,c,h);let C=u!==null&&s!==null&&!Hi(t)?Ph(u,l,s):null;a.push(C)}u!==null&&(u.hasOwnProperty("class")&&(t.flags|=8),u.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=a,t.inputs=u,t.outputs=c}function Ih(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function Sc(e,t,n,r,o,i,s,a){let u=se(t,n),c=t.inputs,l;!a&&c!=null&&(l=c[r])?(Wi(e,n,l,r,o),br(t)&&wh(n,t.index)):t.type&3?(r=Ih(r),o=s!=null?s(o,t.value||"",r):o,i.setProperty(u,r,o)):t.type&12}function wh(e,t){let n=Re(t,e);n[g]&16||(n[g]|=64)}function qi(e,t,n,r){if(bu()){let o=r===null?null:{"":-1},i=Th(e,n),s,a;i===null?s=a=null:[s,a]=i,s!==null&&Nc(e,t,n,s,o,a),o&&Sh(n,r,o)}n.mergedAttrs=qt(n.mergedAttrs,n.attrs)}function Nc(e,t,n,r,o,i){for(let c=0;c<r.length;c++)ko(Jn(n,t),e,r[c].type);xh(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=bc(e,t,r.length,null);for(let c=0;c<r.length;c++){let l=r[c];n.mergedAttrs=qt(n.mergedAttrs,l.hostAttrs),Ah(e,n,t,u,l),Nh(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++}Eh(e,n,i)}function Ch(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;_h(s)!=a&&s.push(a),s.push(n,r,i)}}function _h(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function bh(e,t,n,r){let o=n.directiveStart,i=n.directiveEnd;br(n)&&Rh(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||Jn(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&&kh(t,a-o,c,u,n,s),Se(u)){let l=Re(n.index,t);l[re]=We(t,e,a,n)}}}function xc(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=Of();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)&&Mh(u,c)}}finally{Ge(-1),Ao(s)}}function Mh(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function Th(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(wc(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;Uo(e,t,u)}else r.unshift(s),Uo(e,t,0);else o=o||new Map,s.findHostDirectiveDefs?.(s,r,o),r.push(s)}return r===null?null:[r,o]}function Uo(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function Sh(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 D(-301,!1);r.push(t[o],i)}}}function Nh(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 xh(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Ah(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=ht(o.type,!0)),s=new qe(i,Se(o),z);e.blueprint[r]=s,n[r]=s,Ch(e,t,r,bc(e,n,o.hostVars,de),o)}function Ac(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Rh(e,t,n){let r=se(t,e),o=Tc(n),i=e[De].rendererFactory,s=kr(e,Fr(e,o,null,Ac(n),r,t,null,i.createRenderer(r,n),null,null,null));e[t.index]=s}function Oh(e,t,n,r,o,i){let s=se(e,t);Fh(t[S],s,i,e.value,n,r,o)}function Fh(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?Ir(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function kh(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++];_c(r,n,u,c,l,d)}}function Ph(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 Rc(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function Oc(e,t){let n=e.contentQueries;if(n!==null){let r=I(null);try{for(let o=0;o<n.length;o+=2){let i=n[o],s=n[o+1];if(s!==-1){let a=e.data[s];Ni(i),a.contentQueries(2,t[s],s)}}}finally{I(r)}}}function kr(e,t){return e[Gt]?e[sa][le]=t:e[Gt]=t,e[sa]=t,t}function zo(e,t,n){Ni(0);let r=I(null);try{t(e,n)}finally{I(r)}}function Fc(e){return e[qn]??=[]}function kc(e){return e.cleanup??=[]}function Pc(e,t){let n=e[vt],r=n?n.get(wt,null):null;r&&r.handleError(t)}function Wi(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];_c(l,c,r,a,u,o)}}function Lh(e,t,n){let r=wu(t,e);Lp(e[S],r,n)}function jh(e,t){let n=Re(t,e),r=n[m];Vh(r,n);let o=n[Ie];o!==null&&n[zt]===null&&(n[zt]=Pi(o,n[vt])),Zi(r,n,n[re])}function Vh(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function Zi(e,t,n){xi(t);try{let r=e.viewQuery;r!==null&&zo(1,r,n);let o=e.template;o!==null&&Mc(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[Ee]?.finishViewCreation(e),e.staticContentQueries&&Oc(e,t),e.staticViewQueries&&zo(2,e.viewQuery,n);let i=e.components;i!==null&&Bh(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[g]&=-5,Ai()}}function Bh(e,t){for(let n=0;n<t.length;n++)jh(e,t[n])}function Qi(e,t,n,r){let o=I(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)),Zi(i,u,n),u}finally{I(o)}}function Hh(e,t){let n=W+t;if(n<e.length)return e[n]}function ir(e,t){return!t||t.firstChild===null||ec(e)}function Yi(e,t,n,r=!0){let o=t[m];if($p(o,t,e,n),r){let s=$o(n,e),a=t[S],u=gc(a,e[Ue]);u!==null&&Bp(o,e[Y],a,t,u,s)}let i=t[zt];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function $h(e,t){let n=rr(e,t);return n!==void 0&&Vi(n[m],n),n}function sr(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)&&Uh(i,r);let s=n.type;if(s&8)sr(e,t,n.child,r);else if(s&32){let a=Li(n,t),u;for(;u=a();)r.push(u)}else if(s&16){let a=yc(t,n);if(Array.isArray(a))r.push(...a);else{let u=ze(t[oe]);sr(u[m],u,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function Uh(e,t){for(let n=W;n<e.length;n++){let r=e[n],o=r[m].firstChild;o!==null&&sr(r[m],r,o,t)}e[Ue]!==e[Ie]&&t.push(e[Ue])}var Lc=[];function zh(e){return e[J]??Gh(e)}function Gh(e){let t=Lc.pop()??Object.create(Wh);return t.lView=e,t}function qh(e){e.lView[J]!==e&&(e.lView=null,Lc.push(e))}var Wh=V(k({},ke),{consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{Xt(e.lView)},consumerOnSignalRead(){this.lView[J]=this}});function Zh(e){let t=e[J]??Object.create(Qh);return t.lView=e,t}var Qh=V(k({},ke),{consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let t=ze(e.lView);for(;t&&!jc(t[m]);)t=ze(t);t&&Mi(t)},consumerOnSignalRead(){this.lView[J]=this}});function jc(e){return e.type!==2}function Vc(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 Yh=100;function Bc(e,t=!0,n=0){let o=e[De].rendererFactory,i=!1;i||o.begin?.();try{Kh(e,n)}catch(s){throw t&&Pc(e,s),s}finally{i||o.end?.()}}function Kh(e,t){let n=Su();try{Qn(!0),Go(e,t);let r=0;for(;Tr(e);){if(r===Yh)throw new D(103,!1);r++,Go(e,1)}}finally{Qn(n)}}function Jh(e,t,n,r){let o=t[g];if((o&256)===256)return;let i=!1,s=!1;xi(t);let a=!0,u=null,c=null;i||(jc(e)?(c=zh(t),u=rt(c)):fs()===null?(a=!1,c=Zh(t),u=rt(c)):t[J]&&(ot(t[J]),t[J]=null));try{Cu(t),xf(e.bindingStartIndex),n!==null&&Mc(e,t,n,2,r);let l=(o&3)===3;if(!i)if(l){let f=e.preOrderCheckHooks;f!==null&&Ln(t,f,null)}else{let f=e.preOrderHooks;f!==null&&jn(t,f,0,null),lo(t,0)}if(s||Xh(t),Vc(t),Hc(t,0),e.contentQueries!==null&&Oc(e,t),!i)if(l){let f=e.contentCheckHooks;f!==null&&Ln(t,f)}else{let f=e.contentHooks;f!==null&&jn(t,f,1),lo(t,1)}fh(e,t);let d=e.components;d!==null&&Uc(t,d,0);let p=e.viewQuery;if(p!==null&&zo(2,p,r),!i)if(l){let f=e.viewCheckHooks;f!==null&&Ln(t,f)}else{let f=e.viewHooks;f!==null&&jn(t,f,2),lo(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Pn]){for(let f of t[Pn])f();t[Pn]=null}i||(t[g]&=-73)}catch(l){throw i||Xt(t),l}finally{c!==null&&(Ot(c,u),a&&qh(c)),Ai()}}function Hc(e,t){for(let n=rc(e);n!==null;n=oc(n))for(let r=W;r<n.length;r++){let o=n[r];$c(o,t)}}function Xh(e){for(let t=rc(e);t!==null;t=oc(t)){if(!(t[g]&Zn.HasTransplantedViews))continue;let n=t[Dt];for(let r=0;r<n.length;r++){let o=n[r];Mi(o)}}}function eg(e,t,n){let r=Re(t,e);$c(r,n)}function $c(e,t){bi(e)&&Go(e,t)}function Go(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)Jh(r,e,r.template,e[re]);else if(o&8192){Vc(e),Hc(e,1);let a=r.components;a!==null&&Uc(e,a,1)}}function Uc(e,t,n){for(let r=0;r<t.length;r++)eg(e,t[r],n)}function Ki(e,t){let n=Su()?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 Ze=class{_lView;_cdRefInjectingView;notifyErrorHandler;_appRef=null;_attachedToViewContainer=!1;get rootNodes(){let t=this._lView,n=t[m];return sr(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[Wn],r=n?n.indexOf(this):-1;r>-1&&(rr(t,r),Un(n,r))}this._attachedToViewContainer=!1}Vi(this._lView[m],this._lView)}onDestroy(t){_u(this._lView,t)}markForCheck(){Ki(this._cdRefInjectingView||this._lView,4)}markForRefresh(){Mi(this._cdRefInjectingView||this._lView)}detach(){this._lView[g]&=-129}reattach(){No(this._lView),this._lView[g]|=128}detectChanges(){this._lView[g]|=1024,Bc(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new D(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=To(this._lView),n=this._lView[He];n!==null&&!t&&ji(n,this._lView),dc(this._lView[m],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new D(902,!1);this._appRef=t;let n=To(this._lView),r=this._lView[He];r!==null&&!n&&fc(r,this._lView),No(this._lView)}},Qe=(()=>{class e{static __NG_ELEMENT_ID__=rg}return e})(),tg=Qe,ng=class extends tg{_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=Qi(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new Ze(o)}};function rg(){return Pr(P(),v())}function Pr(e,t){return e.type&4?new ng(t,e,St(e,t)):null}var YI=new RegExp(`^(\\d+)*(${Ip}|${Ep})*(.*)`);var og=()=>null;function ar(e,t){return og(e,t)}var qo=class{},ur=class{},Wo=class{resolveComponentFactory(t){throw Error(`No component factory found for ${$(t)}.`)}},Ct=class{static NULL=new Wo},cr=class{},Lr=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>ig()}return e})();function ig(){let e=v(),t=P(),n=Re(t.index,e);return(Me(n)?n:e)[S]}var sg=(()=>{class e{static \u0275prov=x({token:e,providedIn:"root",factory:()=>null})}return e})();function lr(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 dr=class extends Ct{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=mt(t);return new fr(n,this.ngModule)}};function ba(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 ag(e){let t=e.toLowerCase();return t==="svg"?Iu:t==="math"?yf:null}var fr=class extends ur{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;get inputs(){let t=this.componentDef,n=t.inputTransforms,r=ba(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 ba(this.componentDef.outputs,!1)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=lh(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,o){let i=I(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(cr,null);if(u===null)throw new D(407,!1);let c=a.get(sg,null),l=a.get(It,null),d={rendererFactory:u,sanitizer:c,changeDetectionScheduler:l},p=u.createRenderer(null,this.componentDef),f=this.componentDef.selectors[0][0]||"div",h=r?gh(p,r,this.componentDef.encapsulation,a):lc(p,f,ag(f)),C=512;this.componentDef.signals?C|=4096:this.componentDef.onPush||(C|=16);let F=null;h!==null&&(F=Pi(h,a,!0));let T=Gi(0,null,null,1,0,null,null,null,null,null,null),X=Fr(null,T,null,C,null,null,d,p,a,null,F);xi(X);let ve,ae,tt=null;try{let K=this.componentDef,nt,Vr=null;K.findHostDirectiveDefs?(nt=[],Vr=new Map,K.findHostDirectiveDefs(K,nt,Vr),nt.push(K)):nt=[K];let Vl=ug(X,h);tt=cg(Vl,h,K,nt,X,d,p),ae=_i(T,Q),h&&fg(p,K,h,r),n!==void 0&&pg(ae,this.ngContentSelectors,n),ve=dg(tt,K,nt,Vr,X,[hg]),Zi(T,X,null)}catch(K){throw tt!==null&&Bo(tt),Bo(X),K}finally{Ai()}return new Zo(this.componentType,ve,St(ae,X),X,ae)}finally{I(i)}}},Zo=class extends qo{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 Ze(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;Wi(i[m],i,o,t,n),this.previousInputValues.set(t,n);let s=Re(this._tNode.index,i);Ki(s,1)}}get injector(){return new Be(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function ug(e,t){let n=e[m],r=Q;return e[r]=t,Nt(n,r,2,"#host",null)}function cg(e,t,n,r,o,i,s){let a=o[m];lg(r,e,t,s);let u=null;t!==null&&(u=Pi(t,o[vt]));let c=i.rendererFactory.createRenderer(t,n),l=Fr(o,Tc(n),null,Ac(n),o[e.index],e,i,c,null,null,u);return a.firstCreatePass&&Uo(a,e,r.length-1),kr(o,l),o[e.index]=l}function lg(e,t,n,r){for(let o of e)t.mergedAttrs=qt(t.mergedAttrs,o.hostAttrs);t.mergedAttrs!==null&&(lr(t,t.mergedAttrs,!0),n!==null&&Ec(r,n,t))}function dg(e,t,n,r,o,i){let s=P(),a=o[m],u=se(s,o);Nc(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)}xc(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 $i(a,s,o),c}function fg(e,t,n,r){if(r)Ro(e,n,["ng-version","19.0.7"]);else{let{attrs:o,classes:i}=dh(t.selectors[0]);o&&Ro(e,n,o),i&&i.length>0&&Dc(e,n,i.join(" "))}}function pg(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 hg(){let e=P();xr(v()[m],e)}var et=(()=>{class e{static __NG_ELEMENT_ID__=gg}return e})();function gg(){let e=P();return Gc(e,v())}var mg=et,zc=class extends mg{_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=Oi(this._hostTNode,this._hostLView);if(ju(t)){let n=Kn(t,this._hostLView),r=Yn(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=Ma(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=ar(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,ir(this._hostTNode,s)),a}createComponent(t,n,r,o,i){let s=t&&!pf(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 fr(mt(t)),c=r||this.parentInjector;if(!i&&u.ngModule==null){let C=(s?c:this.parentInjector).get(Te,null);C&&(i=C)}let l=mt(u.componentType??{}),d=ar(this._lContainer,l?.id??null),p=d?.firstChild??null,f=u.create(c,o,p,i);return this.insertImpl(f.hostView,a,ir(this._hostTNode,d)),f}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(Ef(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let u=o[j],c=new zc(u,u[Y],u[j]);c.detach(c.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return Yi(s,o,i,r),t.attachToViewContainerRef(),tu(go(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Ma(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=rr(this._lContainer,n);r&&(Un(go(this._lContainer),n),Vi(r[m],r))}detach(t){let n=this._adjustIndex(t,-1),r=rr(this._lContainer,n);return r&&Un(go(this._lContainer),n)!=null?new Ze(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Ma(e){return e[Wn]}function go(e){return e[Wn]||(e[Wn]=[])}function Gc(e,t){let n,r=t[e.index];return we(r)?n=r:(n=Rc(r,t,null,e),t[e.index]=n,kr(t,n)),vg(n,t,e,r),new zc(n,e,t)}function yg(e,t){let n=e[S],r=n.createComment(""),o=se(t,e),i=gc(n,o);return or(n,i,r,qp(n,o),!1),r}var vg=Ig,Dg=()=>!1;function Eg(e,t,n){return Dg(e,t,n)}function Ig(e,t,n,r){if(e[Ue])return;let o;n.type&8?o=me(r):o=yg(t,n),e[Ue]=o}var Qo=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},Yo=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++)Ji(t,n).matches!==null&&this.queries[n].setDirty()}},pr=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=Ng(t):this.predicate=t}},Ko=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)}},Jo=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,wg(n,i)),this.matchTNodeWithReadOption(t,n,Vn(n,t,i,!1,!1))}else r===Qe?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Vn(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===Oe||o===et||o===Qe&&n.type&4)this.addMatch(n.index,-2);else{let i=Vn(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 wg(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 Cg(e,t){return e.type&11?St(e,t):e.type&4?Pr(e,t):null}function _g(e,t,n,r){return n===-1?Cg(t,e):n===-2?bg(e,t,r):We(e,e[m],n,t)}function bg(e,t,n){if(n===Oe)return St(t,e);if(n===Qe)return Pr(t,e);if(n===et)return Gc(t,e)}function qc(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(_g(t,l,s[u+1],n.metadata.read))}}o.matches=a}return o.matches}function Xo(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=qc(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]&&Xo(p[m],p,c,r)}if(l[Dt]!==null){let d=l[Dt];for(let p=0;p<d.length;p++){let f=d[p];Xo(f[m],f,c,r)}}}}}return r}function Mg(e,t){return e[Ee].queries[t].queryList}function Wc(e,t,n){let r=new Vo((n&4)===4);return vh(e,t,r,r.destroy),(t[Ee]??=new Yo).queries.push(new Qo(r))-1}function Tg(e,t,n){let r=A();return r.firstCreatePass&&(Zc(r,new pr(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),Wc(r,v(),t)}function Sg(e,t,n,r){let o=A();if(o.firstCreatePass){let i=P();Zc(o,new pr(t,n,r),i.index),xg(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return Wc(o,v(),n)}function Ng(e){return e.split(",").map(t=>t.trim())}function Zc(e,t,n){e.queries===null&&(e.queries=new Ko),e.queries.track(new Jo(t,n))}function xg(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 Ji(e,t){return e.queries.getByIndex(t)}function Ag(e,t){let n=e[m],r=Ji(n,t);return r.crossesNgTemplate?Xo(n,e,t,[]):qc(n,e,r,t)}function Rg(e){return typeof e=="function"&&e[G]!==void 0}function JI(e,t){Xe("NgSignals");let n=Cs(e),r=n[G];return t?.equal&&(r.equal=t.equal),n.set=o=>dn(r,o),n.update=o=>_s(r,o),n.asReadonly=Og.bind(n),n}function Og(){let e=this[G];if(e.readonlyFn===void 0){let t=()=>this();t[G]=e,e.readonlyFn=t}return e.readonlyFn}function Qc(e){return Rg(e)&&typeof e.set=="function"}function Fg(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(jg))}return i}return hr.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(()=>Vg(i));t.push(u)}),Pg(),Promise.all(t).then(()=>{})}var hr=new Map,kg=new Set;function Pg(){let e=hr;return hr=new Map,e}function Lg(){return hr.size===0}function jg(e){return typeof e=="string"?e:e.text()}function Vg(e){kg.delete(e)}var Ae=class{},ei=class{};var gr=class extends Ae{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new dr(this);constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=Kd(t);this._bootstrapComponents=Fp(i.bootstrap),this._r3Injector=Wu(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)}},ti=class extends ei{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new gr(this.moduleType,t,[])}};function Bg(e,t,n){return new gr(e,t,n,!1)}var ni=class extends Ae{injector;componentFactoryResolver=new dr(this);instance=null;constructor(t){super();let n=new Ut([...t.providers,{provide:Ae,useValue:this},{provide:Ct,useValue:this.componentFactoryResolver}],t.parent||wi(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Hg(e,t,n=null){return new ni({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var $g=(()=>{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=su(!1,n.type),o=r.length>0?Hg([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 XI(e){return Kt(()=>{let t=Yc(e),n=V(k({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===tc.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get($g).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&&Xe("NgStandalone"),Kc(n);let r=e.dependencies;return n.directiveDefs=Sa(r,!1),n.pipeDefs=Sa(r,!0),n.id=Gg(n),n})}function Ug(e){return mt(e)||ou(e)}function zg(e){return e!==null}function Xi(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 Ta(e,t){if(e==null)return gt;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=Yc(e);return Kc(t),t})}function Yc(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||gt,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:Ta(e.inputs,t),outputs:Ta(e.outputs),debugInfo:null}}function Kc(e){e.features?.forEach(t=>t(e))}function Sa(e,t){if(!e)return null;let n=t?iu:Ug;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(zg)}function Gg(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 qg(e){return Object.getPrototypeOf(e.prototype).constructor}function Wg(e){let t=qg(e.type),n=!0,r=[e];for(;t;){let o;if(Se(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new D(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=Rn(e.inputs),s.inputTransforms=Rn(e.inputTransforms),s.declaredInputs=Rn(e.declaredInputs),s.outputs=Rn(e.outputs);let a=o.hostBindings;a&&Jg(e,a);let u=o.viewQuery,c=o.contentQueries;if(u&&Yg(e,u),c&&Kg(e,c),Zg(e,o),Td(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===Wg&&(n=!1)}}t=Object.getPrototypeOf(t)}Qg(r)}function Zg(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 Qg(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 Rn(e){return e===gt?{}:e===q?[]:e}function Yg(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function Kg(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function Jg(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function Xg(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 Jc(e){return es(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function em(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 es(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function on(e,t,n){return e[t]=n}function tm(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 Xc(e,t,n,r){let o=ie(e,t,n);return ie(e,t+1,r)||o}function nm(e,t,n,r,o){let i=Xc(e,t,n,r);return ie(e,t+2,o)||i}function rm(e){return(e.flags&32)===32}function om(e,t,n,r,o,i,s,a,u){let c=t.consts,l=Nt(t,e,4,s||null,a||null);qi(t,n,l,Et(c,u)),xr(t,l);let d=l.tView=Gi(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 el(e,t,n,r,o,i,s,a,u,c){let l=n+Q,d=t.firstCreatePass?om(l,t,e,r,o,i,s,a,u):t.data[l];Ke(d,!1);let p=sm(t,e,d,n);Sr()&&Rr(t,e,p,d),Ne(p,e);let f=Rc(p,e,p,d);return e[l]=f,kr(e,f),Eg(f,d,e),Mr(d)&&Ui(t,e,d),u!=null&&zi(e,d,c),d}function im(e,t,n,r,o,i,s,a){let u=v(),c=A(),l=Et(c.consts,i);return el(u,c,e,t,n,r,o,l,s,a),im}var sm=am;function am(e,t,n,r){return Nr(!0),t[S].createComment("")}var um=new b(""),cm=new b(""),ew=(()=>{class e{_ngZone;registry;_isZoneStable=!0;_callbacks=[];taskTrackingZone=null;constructor(n,r,o){this._ngZone=n,this.registry=r,ts||(dm(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(lm),U(cm))};static \u0275prov=x({token:e,factory:e.\u0275fac})}return e})(),lm=(()=>{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 ts?.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 dm(e){ts=e}var ts;function ns(e){return!!e&&typeof e.then=="function"}function tl(e){return!!e&&typeof e.subscribe=="function"}var nl=new b("");function tw(e){return Xd([{provide:nl,multi:!0,useValue:e}])}var rl=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=_(nl,{optional:!0})??[];injector=_(ye);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=du(this.injector,o);if(ns(i))n.push(i);else if(tl(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})(),ol=(()=>{class e{static \u0275prov=x({token:e,providedIn:"root",factory:()=>new mr})}return e})(),mr=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()}},fm=new b("");function pm(){ws(()=>{throw new D(600,!1)})}function hm(e){return e.isBoundToModule}var gm=10;function mm(e,t,n){try{let r=n();return ns(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}function il(e,t){return Array.isArray(t)?t.reduce(il,e):k(k({},e),t)}var _t=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=_(up);afterRenderManager=_(Cp);zonelessEnabled=_(Qu);rootEffectScheduler=_(ol);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=_(nn).hasPendingTasks.pipe(Ve(n=>!n));constructor(){_(uc,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=_(Te);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){let o=n instanceof ur;if(!this._injector.get(rl).done){let p=!o&&Jd(n),f=!1;throw new D(405,f)}let s;o?s=n:s=this._injector.get(Ct).resolveComponentFactory(n),this.componentTypes.push(s.componentType);let a=hm(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(um,null);return d?.registerApplication(l),c.onDestroy(()=>{this.detachView(c.hostView),Bn(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(ac.CHANGE_DETECTION,this._tick),r.dispose();return}if(this._runningTick)throw new D(101,!1);let n=I(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,I(n),this.afterTick.next()}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(cr,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let n=0;for(;this.dirtyFlags!==0&&n++<gm;)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)ym(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})=>Tr(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;Bn(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(fm,[]).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),()=>Bn(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new D(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 Bn(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function ym(e,t,n,r){if(!n&&!Tr(e))return;Bc(e,t,n&&!r?0:1)}function vm(e,t,n,r){let o=v(),i=tn();if(ie(o,i,t)){let s=A(),a=Ri();Oh(a,o,e,t,n,r)}return vm}function Dm(e,t,n,r){return ie(e,tn(),n)?t+Ir(n)+r:de}function On(e,t){return e<<17|t<<2}function Ye(e){return e>>17&32767}function Em(e){return(e&2)==2}function Im(e,t){return e&131071|t<<17}function ri(e){return e|2}function bt(e){return(e&131068)>>2}function mo(e,t){return e&-131069|t<<2}function wm(e){return(e&1)===1}function oi(e){return e|1}function Cm(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=Ye(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=Ye(e[a+1]);e[r+1]=On(p,a),p!==0&&(e[p+1]=mo(e[p+1],r)),e[a+1]=Im(e[a+1],r)}else e[r+1]=On(a,0),a!==0&&(e[a+1]=mo(e[a+1],r)),a=r;else e[r+1]=On(u,0),a===0?a=r:e[u+1]=mo(e[u+1],r),u=r;c&&(e[r+1]=ri(e[r+1])),Na(e,l,r,!0),Na(e,l,r,!1),_m(t,l,e,r,i),s=On(a,u),i?t.classBindings=s:t.styleBindings=s}function _m(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&Jt(i,t)>=0&&(n[r+1]=oi(n[r+1]))}function Na(e,t,n,r){let o=e[n+1],i=t===null,s=r?Ye(o):bt(o),a=!1;for(;s!==0&&(a===!1||i);){let u=e[s],c=e[s+1];bm(u,t)&&(a=!0,e[s+1]=r?oi(c):ri(c)),s=r?Ye(c):bt(c)}a&&(e[n+1]=r?ri(o):oi(o))}function bm(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 sl(e){return e.substring(O.key,O.keyEnd)}function Mm(e){return e.substring(O.value,O.valueEnd)}function Tm(e){return cl(e),al(e,Mt(e,0,O.textEnd))}function al(e,t){let n=O.textEnd;return n===t?-1:(t=O.keyEnd=Nm(e,O.key=t,n),Mt(e,t,n))}function Sm(e){return cl(e),ul(e,Mt(e,0,O.textEnd))}function ul(e,t){let n=O.textEnd,r=O.key=Mt(e,t,n);return n===r?-1:(r=O.keyEnd=xm(e,r,n),r=xa(e,r,n,58),r=O.value=Mt(e,r,n),r=O.valueEnd=Am(e,r,n),xa(e,r,n,59))}function cl(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 Nm(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function xm(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 xa(e,t,n,r){return t=Mt(e,t,n),t<n&&t++,t}function Am(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=Aa(e,u,s,n):t===s-4&&i===85&&o===82&&r===76&&u===40?a=s=Aa(e,41,s,n):u>32&&(a=s),i=o,o=r,r=u&-33}return a}function Aa(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 Rm(e,t,n){let r=v(),o=tn();if(ie(r,o,t)){let i=A(),s=Ri();Sc(i,s,r,e,t,r[S],n,!1)}return Rm}function ii(e,t,n,r,o){let i=t.inputs,s=o?"class":"style";Wi(e,n,i[s],s,r)}function ll(e,t,n){return dl(e,t,n,!1),ll}function Om(e,t){return dl(e,t,null,!0),Om}function nw(e){fl(gl,Fm,e,!1)}function Fm(e,t){for(let n=Sm(t);n>=0;n=ul(t,n))gl(e,sl(t),Mm(t))}function rw(e){fl(Hm,km,e,!0)}function km(e,t){for(let n=Tm(t);n>=0;n=al(t,n))Cr(e,sl(t),!0)}function dl(e,t,n,r){let o=v(),i=A(),s=Nu(2);if(i.firstUpdatePass&&hl(i,e,s,r),t!==de&&ie(o,s,t)){let a=i.data[Je()];ml(i,a,o,o[S],e,o[s+1]=Um(t,n),r,s)}}function fl(e,t,n,r){let o=A(),i=Nu(2);o.firstUpdatePass&&hl(o,null,i,r);let s=v();if(n!==de&&ie(s,i,n)){let a=o.data[Je()];if(yl(a,r)&&!pl(o,i)){let u=r?a.classesWithoutHost:a.stylesWithoutHost;u!==null&&(n=Eo(u,n||"")),ii(o,a,s,n,r)}else $m(o,a,s,s[S],s[i+1],s[i+1]=Bm(e,t,n),r,i)}}function pl(e,t){return t>=e.expandoStartIndex}function hl(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[Je()],s=pl(e,n);yl(i,r)&&t===null&&!s&&(t=!1),t=Pm(o,i,t,r),Cm(o,i,t,n,s,r)}}function Pm(e,t,n,r){let o=Ff(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=Lm(e,t,r);u!==void 0&&Array.isArray(u)&&(u=yo(null,e,t,u[1],r),u=Yt(u,t.attrs,r),jm(e,t,r,u))}else i=Vm(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function Lm(e,t,n){let r=n?t.classBindings:t.styleBindings;if(bt(r)!==0)return e[Ye(r)]}function jm(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[Ye(o)]=r}function Vm(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]),Cr(e,s,n?!0:t[++i]))}return e===void 0?null:e}function Bm(e,t,n){if(n==null||n==="")return q;let r=[],o=rn(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 gl(e,t,n){Cr(e,t,rn(n))}function Hm(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&Cr(e,r,n)}function $m(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,C;l===d?(u+=2,c+=2,p!==f&&(h=d,C=f)):d===null||l!==null&&l<d?(u+=2,h=l):(c+=2,h=d,C=f),h!==null&&ml(e,t,n,r,h,C,s,a),l=u<o.length?o[u]:null,d=c<i.length?i[c]:null}}function ml(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let u=e.data,c=u[a+1],l=wm(c)?Ra(u,t,n,o,bt(c),s):void 0;if(!yr(l)){yr(i)||Em(c)&&(i=Ra(u,null,n,o,a,s));let d=wu(Je(),n);Jp(r,s,d,o,i)}}function Ra(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&&!yr(f)&&(f=uo(u,r)),yr(f)&&(a=f,s))return a;let h=e[o+1];o=s?Ye(h):bt(h)}if(t!==null){let u=i?t.residualClasses:t.residualStyles;u!=null&&(a=uo(u,r))}return a}function yr(e){return e!==void 0}function Um(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=$(rn(e)))),e}function yl(e,t){return(e.flags&(t?8:16))!==0}function ow(e,t){Xe("NgControlFlow");let n=v(),r=tn(),o=n[r]!==de?n[r]:-1,i=o!==-1?Oa(n,Q+o):void 0,s=0;if(ie(n,r,e)){let a=I(null);try{if(i!==void 0&&$h(i,s),e!==-1){let u=Q+e,c=Oa(n,u),l=zm(n[m],u),d=ar(c,l.tView.ssrId),p=Qi(n,l,t,{dehydratedView:d});Yi(c,p,s,ir(l,d))}}finally{I(a)}}else if(i!==void 0){let a=Hh(i,s);a!==void 0&&(a[re]=t)}}function Oa(e,t){return e[t]}function zm(e,t){return _i(e,t)}function Gm(e,t,n,r,o,i){let s=t.consts,a=Et(s,o),u=Nt(t,e,2,r,a);return qi(t,n,u,Et(s,i)),u.attrs!==null&&lr(u,u.attrs,!1),u.mergedAttrs!==null&&lr(u,u.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,u),u}function vl(e,t,n,r){let o=v(),i=A(),s=Q+e,a=o[S],u=i.firstCreatePass?Gm(s,i,o,t,n,r):i.data[s],c=Wm(i,o,u,a,t,e);o[s]=c;let l=Mr(u);return Ke(u,!0),Ec(a,c,u),!rm(u)&&Sr()&&Rr(i,o,c,u),Cf()===0&&Ne(c,o),_f(),l&&(Ui(i,o,u),$i(i,u,o)),r!==null&&zi(o,u),vl}function Dl(){let e=P();Ti()?Si():(e=e.parent,Ke(e,!1));let t=e;Mf(t)&&Tf(),bf();let n=A();return n.firstCreatePass&&(xr(n,e),Ci(e)&&n.queries.elementEnd(e)),t.classesWithoutHost!=null&&Hf(t)&&ii(n,t,v(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&$f(t)&&ii(n,t,v(),t.stylesWithoutHost,!1),Dl}function qm(e,t,n,r){return vl(e,t,n,r),Dl(),qm}var Wm=(e,t,n,r,o,i)=>(Nr(!0),lc(r,o,Lf()));function Zm(e,t,n,r,o){let i=t.consts,s=Et(i,r),a=Nt(t,e,8,"ng-container",s);s!==null&&lr(a,s,!0);let u=Et(i,o);return qi(t,n,a,u),t.queries!==null&&t.queries.elementStart(t,a),a}function El(e,t,n){let r=v(),o=A(),i=e+Q,s=o.firstCreatePass?Zm(i,o,r,t,n):o.data[i];Ke(s,!0);let a=Ym(o,r,s,e);return r[i]=a,Sr()&&Rr(o,r,a,s),Ne(a,r),Mr(s)&&(Ui(o,r,s),$i(o,s,r)),n!=null&&zi(r,s),El}function Il(){let e=P(),t=A();return Ti()?Si():(e=e.parent,Ke(e,!1)),t.firstCreatePass&&(xr(t,e),Ci(e)&&t.queries.elementEnd(e)),Il}function Qm(e,t,n){return El(e,t,n),Il(),Qm}var Ym=(e,t,n,r)=>(Nr(!0),jp(t[S],""));function iw(){return v()}var vr="en-US";var Km=vr;function Jm(e){typeof e=="string"&&(Km=e.toLowerCase().replace(/_/g,"-"))}var Xm=(e,t,n)=>{};function ey(e,t,n,r){let o=v(),i=A(),s=P();return wl(i,o,o[S],s,e,t,r),ey}function ty(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[qn],u=o[i+2];return a.length>u?a[u]:null}typeof s=="string"&&(i+=2)}return null}function wl(e,t,n,r,o,i,s){let a=Mr(r),c=e.firstCreatePass&&kc(e),l=t[re],d=Fc(t),p=!0;if(r.type&3||s){let C=se(r,t),F=s?s(C):C,T=d.length,X=s?ae=>s(me(ae[r.index])):r.index,ve=null;if(!s&&a&&(ve=ty(e,t,o,r.index)),ve!==null){let ae=ve.__ngLastListenerFn__||ve;ae.__ngNextListenerFn__=i,ve.__ngLastListenerFn__=i,p=!1}else{i=ka(r,t,l,i),Xm(C,o,i);let ae=n.listen(F,o,i);d.push(i,ae),c&&c.push(o,X,T,T+1)}}else i=ka(r,t,l,i);let f=r.outputs,h;if(p&&f!==null&&(h=f[o])){let C=h.length;if(C)for(let F=0;F<C;F+=2){let T=h[F],X=h[F+1],tt=t[T][X].subscribe(i),K=d.length;d.push(i,tt),c&&c.push(o,r.index,K,-(K+1))}}}function Fa(e,t,n,r){let o=I(null);try{return he(6,t,n),n(r)!==!1}catch(i){return Pc(e,i),!1}finally{he(7,t,n),I(o)}}function ka(e,t,n,r){return function o(i){if(i===Function)return r;let s=e.componentOffset>-1?Re(e.index,t):t;Ki(s,5);let a=Fa(t,n,r,i),u=o.__ngNextListenerFn__;for(;u;)a=Fa(t,n,u,i)&&a,u=u.__ngNextListenerFn__;return a}}function sw(e=1){return Pf(e)}function ny(e,t){let n=null,r=ih(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?wc(e,i,!0):uh(r,i))return o}return n}function aw(e){let t=v()[oe][Y];if(!t.projection){let n=e?e.length:1,r=t.projection=Zd(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?ny(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function uw(e,t=0,n,r,o,i){let s=v(),a=A(),u=r?e+1:null;u!==null&&el(s,a,u,r,o,i,null,n);let c=Nt(a,Q+e,16,null,n||null);c.projection===null&&(c.projection=t),Si();let d=!s[zt]||Mu();s[oe][Y].projection[c.projection]===null&&u!==null?ry(s,a,u):d&&(c.flags&32)!==32&&Yp(a,s,c)}function ry(e,t,n){let r=Q+n,o=t.data[r],i=e[r],s=ar(i,o.tView.ssrId),a=Qi(e,o,void 0,{dehydratedView:s});Yi(i,a,0,ir(o,s))}function cw(e,t,n,r){Sg(e,t,n,r)}function lw(e,t,n){Tg(e,t,n)}function dw(e){let t=v(),n=A(),r=xu();Ni(r+1);let o=Ji(n,r);if(e.dirty&&Df(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=Ag(t,r);e.reset(i,dp),e.notifyOnChanges()}return!0}return!1}function fw(){return Mg(v(),xu())}function pw(e){let t=Nf();return vf(t,Q+e)}function hw(e,t=""){let n=v(),r=A(),o=e+Q,i=r.firstCreatePass?Nt(r,o,1,t,null):r.data[o],s=oy(r,n,i,t,e);n[o]=s,Sr()&&Rr(r,n,s,i),Ke(i,!1)}var oy=(e,t,n,r,o)=>(Nr(!0),Pp(t[S],r));function iy(e){return Cl("",e,""),iy}function Cl(e,t,n){let r=v(),o=Dm(r,e,t,n);return o!==de&&Lh(r,Je(),o),Cl}function sy(e,t,n){Qc(t)&&(t=t());let r=v(),o=tn();if(ie(r,o,t)){let i=A(),s=Ri();Sc(i,s,r,e,t,r[S],n,!1)}return sy}function gw(e,t){let n=Qc(e);return n&&e.set(t),n}function ay(e,t){let n=v(),r=A(),o=P();return wl(r,n,n[S],o,e,t),ay}function uy(e,t,n){let r=A();if(r.firstCreatePass){let o=Se(e);si(n,r.data,r.blueprint,o,!0),si(t,r.data,r.blueprint,o,!1)}}function si(e,t,n,r,o){if(e=H(e),Array.isArray(e))for(let i=0;i<e.length;i++)si(e[i],t,n,r,o);else{let i=A(),s=v(),a=P(),u=yt(e)?e:H(e.provide),c=lu(e),l=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(yt(e)||!e.multi){let f=new qe(c,o,z),h=Do(u,t,o?l:l+p,d);h===-1?(ko(Jn(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),C=f>=0&&n[f],F=h>=0&&n[h];if(o&&!F||!o&&!C){ko(Jn(a,s),i,u);let T=dy(o?ly:cy,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=_l(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=yt(t),i=of(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 _l(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 cy(e,t,n,r){return ai(this.multi,[])}function ly(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),ai(o,i);for(let u=s;u<a.length;u++)i.push(a[u])}else i=[],ai(o,i);return i}function ai(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function dy(e,t,n,r,o){let i=new qe(e,n,z);return i.multi=[],i.index=t,i.componentProviders=0,_l(i,o,r&&!n),i}function mw(e,t=[]){return n=>{n.providersResolver=(r,o)=>uy(r,o?o(e):e,t)}}function yw(e,t,n){let r=en()+e,o=v();return o[r]===de?on(o,r,n?t.call(n):t()):tm(o,r)}function vw(e,t,n,r){return fy(v(),en(),e,t,n,r)}function Dw(e,t,n,r,o){return py(v(),en(),e,t,n,r,o)}function Ew(e,t,n,r,o,i){return hy(v(),en(),e,t,n,r,o,i)}function Iw(e,t,n,r){return gy(v(),en(),e,t,n,r)}function jr(e,t){let n=e[t];return n===de?void 0:n}function fy(e,t,n,r,o,i){let s=t+n;return ie(e,s,o)?on(e,s+1,i?r.call(i,o):r(o)):jr(e,s+1)}function py(e,t,n,r,o,i,s){let a=t+n;return Xc(e,a,o,i)?on(e,a+2,s?r.call(s,o,i):r(o,i)):jr(e,a+2)}function hy(e,t,n,r,o,i,s,a){let u=t+n;return nm(e,u,o,i,s)?on(e,u+3,a?r.call(a,o,i,s):r(o,i,s)):jr(e,u+3)}function gy(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?on(e,s,r.apply(i,o)):jr(e,s)}function ww(e,t){return Pr(e,t)}var Fn=null;function my(e){Fn!==null&&(e.defaultEncapsulation!==Fn.defaultEncapsulation||e.preserveWhitespaces!==Fn.preserveWhitespaces)||(Fn=e)}var yy=new b("");function vy(e,t,n){let r=new ti(n);return Promise.resolve(r)}function Pa(e){for(let t=e.length-1;t>=0;t--)if(e[t]!==void 0)return e[t]}var Dy=(()=>{class e{zone=_(Z);changeDetectionScheduler=_(It);applicationRef=_(_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 Ey({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new Z(V(k({},bl()),{scheduleInRootZone:n})),[{provide:Z,useFactory:e},{provide:zn,multi:!0,useFactory:()=>{let r=_(Dy,{optional:!0});return()=>r.initialize()}},{provide:zn,multi:!0,useFactory:()=>{let r=_(Iy);return()=>{r.initialize()}}},t===!0?{provide:Yu,useValue:!0}:[],{provide:Ku,useValue:n??Zu}]}function bl(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var Iy=(()=>{class e{subscription=new B;initialized=!1;zone=_(Z);pendingTasks=_(nn);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 wy=(()=>{class e{appRef=_(_t);taskService=_(nn);ngZone=_(Z);zonelessEnabled=_(Qu);tracing=_(uc,{optional:!0});disableScheduling=_(Yu,{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(er):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(_(Ku,{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 tr||!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?ha:Ju;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(er+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,ha(()=>{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 Cy(){return typeof $localize<"u"&&$localize.locale||vr}var rs=new b("",{providedIn:"root",factory:()=>_(rs,E.Optional|E.SkipSelf)||Cy()});var Dr=new b(""),_y=new b("");function Lt(e){return!e.moduleRef}function by(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(wt,null),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:i=>{r.handleError(i)}})}),Lt(e)){let i=()=>t.destroy(),s=e.platformInjector.get(Dr);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(Dr);s.add(i),e.moduleRef.onDestroy(()=>{Bn(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return mm(r,n,()=>{let i=t.get(rl);return i.runInitializers(),i.donePromise.then(()=>{let s=t.get(rs,vr);if(Jm(s||vr),!t.get(_y,!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 My(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function My(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 D(-403,!1);t.push(e)}var Ml=(()=>{class e{_injector;_modules=[];_destroyListeners=[];_destroyed=!1;constructor(n){this._injector=n}bootstrapModuleFactory(n,r){let o=r?.scheduleInRootZone,i=()=>ap(r?.ngZone,V(k({},bl({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing})),{scheduleInRootZone:o})),s=r?.ignoreChangesOutsideZone,a=[Ey({ngZoneFactory:i,ignoreChangesOutsideZone:s}),{provide:It,useExisting:wy}],u=Bg(n.moduleType,this.injector,a);return by({moduleRef:u,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(n,r=[]){let o=il({},r);return vy(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 D(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());let n=this._injector.get(Dr,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,Tl=new b("");function Ty(e){if(Ht&&!Ht.get(Tl,!1))throw new D(400,!1);pm(),Ht=e;let t=e.get(Ml);return Ay(e),t}function Sy(e,t,n=[]){let r=`Platform: ${t}`,o=new b(r);return(i=[])=>{let s=Sl();if(!s||s.injector.get(Tl,!1)){let a=[...n,...i,{provide:o,useValue:!0}];e?e(a):Ty(Ny(a,r))}return xy(o)}}function Ny(e=[],t){return ye.create({name:t,providers:[{provide:cu,useValue:"platform"},{provide:Dr,useValue:new Set([()=>Ht=null])},...e]})}function xy(e){let t=Sl();if(!t)throw new D(401,!1);return t}function Sl(){return Ht?.get(Ml)??null}function Ay(e){let t=e.get(vp,null);du(e,()=>{t?.forEach(n=>n())})}var os=(()=>{class e{static __NG_ELEMENT_ID__=Ry}return e})();function Ry(e){return Oy(P(),v(),(e&16)===16)}function Oy(e,t,n){if(br(e)&&!n){let r=Re(e.index,t);return new Ze(r,r)}else if(e.type&175){let r=t[oe];return new Ze(r,t)}return null}var ui=class{constructor(){}supports(t){return Jc(t)}create(t){return new ci(t)}},Fy=(e,t)=>t,ci=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||Fy}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<La(r,o,i)?n:r,a=La(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=[]),!Jc(t))throw new D(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,em(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 li(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 Er),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 Er),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}},li=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}},di=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}},Er=class{map=new Map;put(t){let n=t.trackById,r=this.map.get(n);r||(r=new di,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 La(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 fi=class{constructor(){}supports(t){return t instanceof Map||es(t)}create(){return new pi}},pi=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||es(t)))throw new D(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 hi(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))}},hi=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(t){this.key=t}};function ja(){return new is([new ui])}var is=(()=>{class e{factories;static \u0275prov=x({token:e,providedIn:"root",factory:ja});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||ja()),deps:[[e,new eu,new Xa]]}}find(n){let r=this.factories.find(o=>o.supports(n));if(r!=null)return r;throw new D(901,!1)}}return e})();function Va(){return new ss([new fi])}var ss=(()=>{class e{static \u0275prov=x({token:e,providedIn:"root",factory:Va});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||Va()),deps:[[e,new eu,new Xa]]}}find(n){let r=this.factories.find(o=>o.supports(n));if(r)return r;throw new D(901,!1)}}return e})();var Cw=Sy(null,"core",[]),_w=(()=>{class e{constructor(n){}static \u0275fac=function(r){return new(r||e)(U(_t))};static \u0275mod=Xi({type:e});static \u0275inj=yi({})}return e})();function ky(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function Py(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function bw(e,t){Xe("NgSignals");let n=Ds(e);return t?.equal&&(n[G].equal=t.equal),n}function Ly(e){let t=I(null);try{return e()}finally{I(t)}}var Nl=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=jy}return e})();function jy(){return new Nl(v(),P())}var Vy=!1,By=(()=>{class e extends mr{pendingTasks=_(nn);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})(),gi=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=bs(a=>this.runEffect(a),()=>this.schedule(),s),this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}runEffect(t){try{this.effectFn(t)}catch(n){this.injector.get(wt,null,{optional:!0})?.handleError(n)}}run(){this.watcher.run()}schedule(){this.scheduler.schedule(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}};function Hy(){}function $y(e,t){Xe("NgSignals"),!t?.injector&&pu(Hy);let n=t?.injector??_(ye),r=t?.manualCleanup!==!0?n.get(Ar):null,o=new gi(n.get(By),e,typeof Zone>"u"?null:Zone.current,r,n,t?.allowSignalWrites??!1),i=n.get(os,null,{optional:!0});return!i||!(i._lView[g]&8)?o.watcher.notify():(i._lView[Pn]??=[]).push(o.watcher.notify),o}var Uy=Vy;var mi=class{[G];constructor(t){this[G]=t}destroy(){this[G].destroy()}};function zy(e,t){if(Uy)return $y(e,t);Xe("NgSignals"),!t?.injector&&pu(zy);let n=t?.injector??_(ye),r=t?.manualCleanup!==!0?n.get(Ar):null,o,i=n.get(Nl,null,{optional:!0}),s=n.get(It);return i!==null&&!t?.forceRoot?(o=Wy(i.view,s,e),r instanceof Xn&&r._lView===i.view&&(r=null)):o=Zy(e,n.get(ol),s),o.injector=n,r!==null&&(o.onDestroyFn=r.onDestroy(()=>o.destroy())),new mi(o)}var xl=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=rt(this),n=Qn(!1);try{this.maybeCleanup(),this.fn(e)}finally{Qn(n),Ot(this,t)}},maybeCleanup(){if(this.cleanupFns?.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}}),Gy=V(k({},xl),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(13)},destroy(){ot(this),this.onDestroyFn(),this.maybeCleanup(),this.scheduler.remove(this)}}),qy=V(k({},xl),{consumerMarkedDirty(){this.view[g]|=8192,Xt(this.view),this.notifier.notify(14)},destroy(){ot(this),this.onDestroyFn(),this.maybeCleanup(),this.view[$e]?.delete(this)}});function Wy(e,t,n){let r=Object.create(qy);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 Zy(e,t,n){let r=Object.create(Gy);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 Pl=null;function Jw(){return Pl}function Xw(e){Pl??=e}var Al=class{};var eC=new b("");function tC(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 as=/\s+/,Rl=[],nC=(()=>{class e{_ngEl;_renderer;initialClasses=Rl;rawClass;stateMap=new Map;constructor(n,r){this._ngEl=n,this._renderer=r}set klass(n){this.initialClasses=n!=null?n.trim().split(as):Rl}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(as):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(as).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 us=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}},rC=(()=>{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 us(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),Ol(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);Ol(i,o)})}static ngTemplateContextGuard(n,r){return!0}static \u0275fac=function(r){return new(r||e)(z(et),z(Qe),z(is))};static \u0275dir=xt({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return e})();function Ol(e,t){e.context.$implicit=t.item}var oC=(()=>{class e{_viewContainer;_context=new cs;_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){Fl("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){Fl("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(et),z(Qe))};static \u0275dir=xt({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return e})(),cs=class{$implicit=null;ngIf=null};function Fl(e,t){if(!!!(!t||t.createEmbeddedView))throw new Error(`${e} must be a TemplateRef, but received '${$(t)}'.`)}var iC=(()=>{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(ss),z(Lr))};static \u0275dir=xt({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return e})(),sC=(()=>{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(et))};static \u0275dir=xt({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[yu]})}return e})();var aC=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Xi({type:e});static \u0275inj=yi({})}return e})(),Yy="browser",Ky="server";function uC(e){return e===Yy}function cC(e){return e===Ky}var kl=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||{}),fC="*";function pC(e,t){return{type:Fe.Trigger,name:e,definitions:t,options:{}}}function hC(e,t=null){return{type:Fe.Animate,styles:t,timings:e}}function gC(e,t=null){return{type:Fe.Sequence,steps:e,options:t}}function mC(e){return{type:Fe.Style,styles:e,offset:null}}function yC(e,t,n=null){return{type:Fe.Transition,expr:e,animation:t,options:n}}function vC(e,t=null){return{type:Fe.Reference,animation:e,options:t}}function DC(e,t=null){return{type:Fe.AnimateRef,animation:e,options:t}}var Ll=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}},jl=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}},EC="!";export{k as a,V as b,Jy as c,Xy as d,ev as e,tv as f,N as g,pe as h,oo as i,so as j,Ve as k,Ed as l,Id as m,wd as n,D as o,Md as p,Ga as q,x as r,yi as s,b as t,U as u,_ as v,Xd as w,cu as x,yu as y,LI as z,jI as A,VI as B,BI as C,ye as D,It as E,_e as F,Z as G,wt as H,HI as I,Oe as J,$I as K,UI as L,vp as M,Dp as N,zI as O,GI as P,Xe as Q,Zt as R,qI as S,Qt as T,WI as U,z as V,ZI as W,Qe as X,Ct as Y,cr as Z,Lr as _,et as $,JI as aa,XI as ba,Xi as ca,xt as da,Wg as ea,Xg as fa,im as ga,um as ha,cm as ia,ew as ja,lm as ka,ns as la,tw as ma,_t as na,vm as oa,Rm as pa,ll as qa,Om as ra,nw as sa,rw as ta,ow as ua,vl as va,Dl as wa,qm as xa,El as ya,Il as za,Qm as Aa,iw as Ba,ey as Ca,sw as Da,aw as Ea,uw as Fa,cw as Ga,lw as Ha,dw as Ia,fw as Ja,pw as Ka,hw as La,iy as Ma,Cl as Na,sy as Oa,gw as Pa,ay as Qa,mw as Ra,yw as Sa,vw as Ta,Dw as Ua,Ew as Va,Iw as Wa,ww as Xa,Sy as Ya,os as Za,Cw as _a,_w as $a,ky as ab,Py as bb,bw as cb,Ly as db,zy as eb,Jw as fb,Xw as gb,Al as hb,eC as ib,tC as jb,nC as kb,rC as lb,oC as mb,iC as nb,sC as ob,aC as pb,Yy as qb,uC as rb,cC as sb,kl as tb,Fe as ub,fC as vb,pC as wb,hC as xb,gC as yb,mC as zb,yC as Ab,vC as Bb,DC as Cb,Ll as Db,jl as Eb,EC as Fb};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Db as x,Eb as Me,Fb as ue,a as le,d as ft,o as S,r as dt,ub as E,vb as B,yb as mt,zb as Ne}from"./chunk-6QMOPVV3.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};
|