var Pu=Object.defineProperty,Ru=Object.defineProperties;var ku=Object.getOwnPropertyDescriptors;var on=Object.getOwnPropertySymbols;var Ts=Object.prototype.hasOwnProperty,Ns=Object.prototype.propertyIsEnumerable;var _s=(e,t,n)=>t in e?Pu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,sn=(e,t)=>{for(var n in t||={})Ts.call(t,n)&&_s(e,n,t[n]);if(on)for(var n of on(t))Ns.call(t,n)&&_s(e,n,t[n]);return e},an=(e,t)=>Ru(e,ku(t));var Gv=(e,t)=>{var n={};for(var r in e)Ts.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&on)for(var r of on(e))t.indexOf(r)<0&&Ns.call(e,r)&&(n[r]=e[r]);return n};var Ss=null;var qr=1,As=Symbol("SIGNAL");function R(e){let t=Ss;return Ss=e,t}var Os={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 Lu(e){if(!(zr(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===qr)){if(!e.producerMustRecompute(e)&&!Wr(e)){e.dirty=!1,e.lastCleanEpoch=qr;return}e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=qr}}function Ps(e){return e&&(e.nextProducerIndex=0),R(e)}function Rs(e,t){if(R(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(zr(e))for(let n=e.nextProducerIndex;ne.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Wr(e){cn(e);for(let t=0;t0}function cn(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function Fu(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function ju(){throw new Error}var Vu=ju;function Ls(e){Vu=e}function m(e){return typeof e=="function"}function ot(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 ln=ot(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription: ${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(` `)}`:"",this.name="UnsubscriptionError",this.errors=n});function Pe(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var P=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(m(r))try{r()}catch(i){t=i instanceof ln?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Fs(i)}catch(s){t=t??[],s instanceof ln?t=[...t,...s.errors]:t.push(s)}}if(t)throw new ln(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Fs(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)&&Pe(n,t)}remove(t){let{_finalizers:n}=this;n&&Pe(n,t),t instanceof e&&t._removeParent(this)}};P.EMPTY=(()=>{let e=new P;return e.closed=!0,e})();var Qr=P.EMPTY;function un(e){return e instanceof P||e&&"closed"in e&&m(e.remove)&&m(e.add)&&m(e.unsubscribe)}function Fs(e){m(e)?e():e.unsubscribe()}var te={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 dn(e){it.setTimeout(()=>{let{onUnhandledError:t}=te;if(t)t(e);else throw e})}function Re(){}var js=Zr("C",void 0,void 0);function Vs(e){return Zr("E",void 0,e)}function Hs(e){return Zr("N",e,void 0)}function Zr(e,t,n){return{kind:e,value:t,error:n}}var ke=null;function st(e){if(te.useDeprecatedSynchronousErrorHandling){let t=!ke;if(t&&(ke={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=ke;if(ke=null,n)throw r}}else e()}function $s(e){te.useDeprecatedSynchronousErrorHandling&&ke&&(ke.errorThrown=!0,ke.error=e)}var Le=class extends P{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,un(t)&&t.add(this)):this.destination=Uu}static create(t,n,r){return new Ie(t,n,r)}next(t){this.isStopped?Jr(Hs(t),this):this._next(t)}error(t){this.isStopped?Jr(Vs(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Jr(js,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()}}},Hu=Function.prototype.bind;function Yr(e,t){return Hu.call(e,t)}var Kr=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){fn(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){fn(r)}else fn(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){fn(n)}}},Ie=class extends Le{constructor(t,n,r){super();let o;if(m(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&te.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Yr(t.next,i),error:t.error&&Yr(t.error,i),complete:t.complete&&Yr(t.complete,i)}):o=t}this.destination=new Kr(o)}};function fn(e){te.useDeprecatedSynchronousErrorHandling?$s(e):dn(e)}function $u(e){throw e}function Jr(e,t){let{onStoppedNotification:n}=te;n&&it.setTimeout(()=>n(e,t))}var Uu={closed:!0,next:Re,error:$u,complete:Re};var at=typeof Symbol=="function"&&Symbol.observable||"@@observable";function U(e){return e}function Bu(...e){return Xr(e)}function Xr(e){return e.length===0?U:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var b=(()=>{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=Wu(n)?n:new Ie(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=Us(r),new r((o,i)=>{let s=new Ie({next:a=>{try{n(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[at](){return this}pipe(...n){return Xr(n)(this)}toPromise(n){return n=Us(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 Us(e){var t;return(t=e??te.Promise)!==null&&t!==void 0?t:Promise}function qu(e){return e&&m(e.next)&&m(e.error)&&m(e.complete)}function Wu(e){return e&&e instanceof Le||qu(e)&&un(e)}function eo(e){return m(e?.lift)}function y(e){return t=>{if(eo(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 g(e,t,n,r,o){return new to(e,t,n,r,o)}var to=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(c){t.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){t.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};function no(){return y((e,t)=>{let n=null;e._refCount++;let r=g(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){n=null;return}let o=e._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}var ro=class extends b{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,eo(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){let t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new P;let n=this.getSubject();t.add(this.source.subscribe(g(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=P.EMPTY)}return t}refCount(){return no()(this)}};var Bs=ot(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var ce=(()=>{class e extends b{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new pn(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Bs}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?Qr:(this.currentObservers=null,i.push(n),new P(()=>{this.currentObservers=null,Pe(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new b;return n.source=this,n}}return e.create=(t,n)=>new pn(t,n),e})(),pn=class extends ce{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:Qr}};var Ot=class extends ce{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 Pt={now(){return(Pt.delegate||Date).now()},delegate:void 0};var hn=class extends ce{constructor(t=1/0,n=1/0,r=Pt){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;sqs(t)&&e()),t},clearImmediate(e){qs(e)}};var{setImmediate:zu,clearImmediate:Qu}=Ws,kt={setImmediate(...e){let{delegate:t}=kt;return(t?.setImmediate||zu)(...e)},clearImmediate(e){let{delegate:t}=kt;return(t?.clearImmediate||Qu)(e)},delegate:void 0};var gn=class extends ct{constructor(t,n){super(t,n),this.scheduler=t,this.work=n}requestAsyncId(t,n,r=0){return r!==null&&r>0?super.requestAsyncId(t,n,r):(t.actions.push(this),t._scheduled||(t._scheduled=kt.setImmediate(t.flush.bind(t,void 0))))}recycleAsyncId(t,n,r=0){var o;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(t,n,r);let{actions:i}=t;n!=null&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==n&&(kt.clearImmediate(n),t._scheduled===n&&(t._scheduled=void 0))}};var lt=class e{constructor(t,n=e.now){this.schedulerActionCtor=t,this.now=n}schedule(t,n=0,r){return new this.schedulerActionCtor(this,t).schedule(r,n)}};lt.now=Pt.now;var ut=class extends lt{constructor(t,n=lt.now){super(t,n),this.actions=[],this._active=!1}flush(t){let{actions:n}=this;if(this._active){n.push(t);return}let r;this._active=!0;do if(r=t.execute(t.state,t.delay))break;while(t=n.shift());if(this._active=!1,r){for(;t=n.shift();)t.unsubscribe();throw r}}};var vn=class extends ut{flush(t){this._active=!0;let n=this._scheduled;this._scheduled=void 0;let{actions:r}=this,o;t=t||r.shift();do if(o=t.execute(t.state,t.delay))break;while((t=r[0])&&t.id===n&&r.shift());if(this._active=!1,o){for(;(t=r[0])&&t.id===n&&r.shift();)t.unsubscribe();throw o}}};var Zu=new vn(gn);var Fe=new ut(ct),Gs=Fe;var je=new b(e=>e.complete());function yn(e){return e&&m(e.schedule)}function so(e){return e[e.length-1]}function In(e){return m(so(e))?e.pop():void 0}function le(e){return yn(so(e))?e.pop():void 0}function zs(e,t){return typeof so(e)=="number"?e.pop():t}function Zs(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(u){try{l(r.next(u))}catch(d){s(d)}}function c(u){try{l(r.throw(u))}catch(d){s(d)}}function l(u){u.done?i(u.value):o(u.value).then(a,c)}l((r=r.apply(e,t||[])).next())})}function Qs(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 Ve(e){return this instanceof Ve?(this.v=e,this):new Ve(e)}function Ys(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(f){r[f]&&(o[f]=function(p){return new Promise(function(h,E){i.push([f,p,h,E])>1||a(f,p)})})}function a(f,p){try{c(r[f](p))}catch(h){d(i[0][3],h)}}function c(f){f.value instanceof Ve?Promise.resolve(f.value.v).then(l,u):d(i[0][2],f)}function l(f){a("next",f)}function u(f){a("throw",f)}function d(f,p){f(p),i.shift(),i.length&&a(i[0][0],i[0][1])}}function Js(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 Qs=="function"?Qs(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,c){s=e[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(l){i({value:l,done:a})},s)}}var dt=e=>e&&typeof e.length=="number"&&typeof e!="function";function wn(e){return m(e?.then)}function En(e){return m(e[at])}function Dn(e){return Symbol.asyncIterator&&m(e?.[Symbol.asyncIterator])}function bn(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 Yu(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var xn=Yu();function Cn(e){return m(e?.[xn])}function Mn(e){return Ys(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield Ve(n.read());if(o)return yield Ve(void 0);yield yield Ve(r)}}finally{n.releaseLock()}})}function _n(e){return m(e?.getReader)}function M(e){if(e instanceof b)return e;if(e!=null){if(En(e))return Ju(e);if(dt(e))return Ku(e);if(wn(e))return Xu(e);if(Dn(e))return Ks(e);if(Cn(e))return ed(e);if(_n(e))return td(e)}throw bn(e)}function Ju(e){return new b(t=>{let n=e[at]();if(m(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Ku(e){return new b(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,dn)})}function ed(e){return new b(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function Ks(e){return new b(t=>{nd(e,t).catch(n=>t.error(n))})}function td(e){return Ks(Mn(e))}function nd(e,t){var n,r,o,i;return Zs(this,void 0,void 0,function*(){try{for(n=Js(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 q(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 Tn(e,t=0){return y((n,r)=>{n.subscribe(g(r,o=>q(r,e,()=>r.next(o),t),()=>q(r,e,()=>r.complete(),t),o=>q(r,e,()=>r.error(o),t)))})}function Nn(e,t=0){return y((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Xs(e,t){return M(e).pipe(Nn(t),Tn(t))}function ea(e,t){return M(e).pipe(Nn(t),Tn(t))}function ta(e,t){return new b(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function na(e,t){return new b(n=>{let r;return q(n,t,()=>{r=e[xn](),q(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)}),()=>m(r?.return)&&r.return()})}function Sn(e,t){if(!e)throw new Error("Iterable cannot be null");return new b(n=>{q(n,t,()=>{let r=e[Symbol.asyncIterator]();q(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function ra(e,t){return Sn(Mn(e),t)}function oa(e,t){if(e!=null){if(En(e))return Xs(e,t);if(dt(e))return ta(e,t);if(wn(e))return ea(e,t);if(Dn(e))return Sn(e,t);if(Cn(e))return na(e,t);if(_n(e))return ra(e,t)}throw bn(e)}function ue(e,t){return t?oa(e,t):M(e)}function rd(...e){let t=le(e);return ue(e,t)}function od(e,t){let n=m(e)?e:()=>e,r=o=>o.error(n());return new b(t?o=>t.schedule(r,0,o):r)}function id(e){return!!e&&(e instanceof b||m(e.lift)&&m(e.subscribe))}var He=ot(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function ia(e){return e instanceof Date&&!isNaN(e)}function we(e,t){return y((n,r)=>{let o=0;n.subscribe(g(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:sd}=Array;function ad(e,t){return sd(t)?e(...t):e(t)}function ft(e){return we(t=>ad(e,t))}var{isArray:cd}=Array,{getPrototypeOf:ld,prototype:ud,keys:dd}=Object;function An(e){if(e.length===1){let t=e[0];if(cd(t))return{args:t,keys:null};if(fd(t)){let n=dd(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function fd(e){return e&&typeof e=="object"&&ld(e)===ud}function On(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function pd(...e){let t=le(e),n=In(e),{args:r,keys:o}=An(e);if(r.length===0)return ue([],t);let i=new b(hd(r,t,o?s=>On(o,s):U));return n?i.pipe(ft(n)):i}function hd(e,t,n=U){return r=>{sa(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c{let l=ue(e[c],t),u=!1;l.subscribe(g(r,d=>{i[c]=d,u||(u=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function sa(e,t,n){e?q(n,e,t):t()}function aa(e,t,n,r,o,i,s,a){let c=[],l=0,u=0,d=!1,f=()=>{d&&!c.length&&!l&&t.complete()},p=E=>l{i&&t.next(E),l++;let N=!1;M(n(E,u++)).subscribe(g(t,C=>{o?.(C),i?p(C):t.next(C)},()=>{N=!0},void 0,()=>{if(N)try{for(l--;c.length&&lh(C)):h(C)}f()}catch(C){t.error(C)}}))};return e.subscribe(g(t,p,()=>{d=!0,f()})),()=>{a?.()}}function ne(e,t,n=1/0){return m(t)?ne((r,o)=>we((i,s)=>t(r,i,o,s))(M(e(r,o))),n):(typeof t=="number"&&(n=t),y((r,o)=>aa(r,o,e,n)))}function Lt(e=1/0){return ne(U,e)}function ca(){return Lt(1)}function pt(...e){return ca()(ue(e,le(e)))}function md(e){return new b(t=>{M(e()).subscribe(t)})}function gd(...e){let t=In(e),{args:n,keys:r}=An(e),o=new b(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),c=s,l=s;for(let u=0;u{d||(d=!0,l--),a[u]=f},()=>c--,void 0,()=>{(!c||!d)&&(l||i.next(r?On(r,a):a),i.complete())}))}});return t?o.pipe(ft(t)):o}var vd=["addListener","removeListener"],yd=["addEventListener","removeEventListener"],Id=["on","off"];function ao(e,t,n,r){if(m(n)&&(r=n,n=void 0),r)return ao(e,t,n).pipe(ft(r));let[o,i]=Dd(e)?yd.map(s=>a=>e[s](t,a,n)):wd(e)?vd.map(la(e,t)):Ed(e)?Id.map(la(e,t)):[];if(!o&&dt(e))return ne(s=>ao(s,t,n))(M(e));if(!o)throw new TypeError("Invalid event target");return new b(s=>{let a=(...c)=>s.next(1i(a)})}function la(e,t){return n=>r=>e[n](t,r)}function wd(e){return m(e.addListener)&&m(e.removeListener)}function Ed(e){return m(e.on)&&m(e.off)}function Dd(e){return m(e.addEventListener)&&m(e.removeEventListener)}function Pn(e=0,t,n=Gs){let r=-1;return t!=null&&(yn(t)?n=t:r=t),new b(o=>{let i=ia(e)?+e-n.now():e;i<0&&(i=0);let s=0;return n.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}function bd(...e){let t=le(e),n=zs(e,1/0),r=e;return r.length?r.length===1?M(r[0]):Lt(n)(ue(r,t)):je}function $e(e,t){return y((n,r)=>{let o=0;n.subscribe(g(r,i=>e.call(t,i,o++)&&r.next(i)))})}function ua(e){return y((t,n)=>{let r=!1,o=null,i=null,s=!1,a=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let l=o;o=null,n.next(l)}s&&n.complete()},c=()=>{i=null,s&&n.complete()};t.subscribe(g(n,l=>{r=!0,o=l,i||M(e(l)).subscribe(i=g(n,a,c))},()=>{s=!0,(!r||!i||i.closed)&&n.complete()}))})}function xd(e,t=Fe){return ua(()=>Pn(e,t))}function co(e){return y((t,n)=>{let r=null,o=!1,i;r=t.subscribe(g(n,void 0,void 0,s=>{i=M(e(s,co(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function da(e,t,n,r,o){return(i,s)=>{let a=n,c=t,l=0;i.subscribe(g(s,u=>{let d=l++;c=a?e(c,u,d):(a=!0,u),r&&s.next(c)},o&&(()=>{a&&s.next(c),s.complete()})))}}function Cd(e,t){return m(t)?ne(e,t,1):ne(e,1)}function Md(e,t=Fe){return y((n,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let l=i;i=null,r.next(l)}};function c(){let l=s+e,u=t.now();if(u{i=l,s=t.now(),o||(o=t.schedule(c,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function Ft(e){return y((t,n)=>{let r=!1;t.subscribe(g(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function ht(e){return e<=0?()=>je:y((t,n)=>{let r=0;t.subscribe(g(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function fa(){return y((e,t)=>{e.subscribe(g(t,Re))})}function lo(e){return we(()=>e)}function uo(e,t){return t?n=>pt(t.pipe(ht(1),fa()),n.pipe(uo(e))):ne((n,r)=>M(e(n,r)).pipe(ht(1),lo(n)))}function _d(e,t=Fe){let n=Pn(e,t);return uo(()=>n)}function Td(e,t=U){return e=e??Nd,y((n,r)=>{let o,i=!0;n.subscribe(g(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function Nd(e,t){return e===t}function Rn(e=Sd){return y((t,n)=>{let r=!1;t.subscribe(g(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function Sd(){return new He}function Ad(e){return y((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function pa(e,t){let n=arguments.length>=2;return r=>r.pipe(e?$e((o,i)=>e(o,i,r)):U,ht(1),n?Ft(t):Rn(()=>new He))}function fo(e){return e<=0?()=>je:y((t,n)=>{let r=[];t.subscribe(g(n,o=>{r.push(o),e{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function Od(e,t){let n=arguments.length>=2;return r=>r.pipe(e?$e((o,i)=>e(o,i,r)):U,fo(1),n?Ft(t):Rn(()=>new He))}function Pd(e,t){return y(da(e,t,arguments.length>=2,!0))}function ho(e={}){let{connector:t=()=>new ce,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,c,l=0,u=!1,d=!1,f=()=>{a?.unsubscribe(),a=void 0},p=()=>{f(),s=c=void 0,u=d=!1},h=()=>{let E=s;p(),E?.unsubscribe()};return y((E,N)=>{l++,!d&&!u&&f();let C=c=c??t();N.add(()=>{l--,l===0&&!d&&!u&&(a=po(h,o))}),C.subscribe(N),!s&&l>0&&(s=new Ie({next:j=>C.next(j),error:j=>{d=!0,f(),a=po(p,n,j),C.error(j)},complete:()=>{u=!0,f(),a=po(p,r),C.complete()}}),M(E).subscribe(s))})(i)}}function po(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new Ie({next:()=>{r.unsubscribe(),e()}});return M(t(...n)).subscribe(r)}function Rd(e,t,n){let r,o=!1;return e&&typeof e=="object"?{bufferSize:r=1/0,windowTime:t=1/0,refCount:o=!1,scheduler:n}=e:r=e??1/0,ho({connector:()=>new hn(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function kd(e){return $e((t,n)=>e<=n)}function Ld(...e){let t=le(e);return y((n,r)=>{(t?pt(e,n,t):pt(e,n)).subscribe(r)})}function Fd(e,t){return y((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(g(r,c=>{o?.unsubscribe();let l=0,u=i++;M(e(c,u)).subscribe(o=g(r,d=>r.next(t?t(c,d,u,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function jd(e){return y((t,n)=>{M(e).subscribe(g(n,()=>n.complete(),Re)),!n.closed&&t.subscribe(n)})}function Vd(e,t=!1){return y((n,r)=>{let o=0;n.subscribe(g(r,i=>{let s=e(i,o++);(s||t)&&r.next(i),!s&&r.complete()}))})}function ha(e,t,n){let r=m(e)||t||n?{next:e,error:t,complete:n}:e;return r?y((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(g(i,c=>{var l;(l=r.next)===null||l===void 0||l.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var l;a=!1,(l=r.error)===null||l===void 0||l.call(r,c),i.error(c)},()=>{var c,l;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(l=r.finalize)===null||l===void 0||l.call(r)}))}):U}var tc="https://g.co/ng/security#xss",_=class extends Error{constructor(t,n){super(Hd(t,n)),this.code=t}};function Hd(e,t){return`${`NG0${Math.abs(e)}`}${t?": "+t:""}`}function T(e){for(let t in e)if(e[t]===T)return t;throw Error("Could not find renamed property on target object.")}function $d(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function z(e){if(typeof e=="string")return e;if(Array.isArray(e))return"["+e.map(z).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(` `);return n===-1?t:t.substring(0,n)}function Ao(e,t){return e==null||e===""?t===null?"":t:t==null||t===""?e:e+" "+t}var Ud=T({__forward_ref__:T});function nc(e){return e.__forward_ref__=nc,e.toString=function(){return z(this())},e}function B(e){return rc(e)?e():e}function rc(e){return typeof e=="function"&&e.hasOwnProperty(Ud)&&e.__forward_ref__===nc}function oc(e){return e&&!!e.\u0275providers}var Bd=T({\u0275cmp:T}),qd=T({\u0275dir:T}),Wd=T({\u0275pipe:T}),Gd=T({\u0275mod:T}),zn=T({\u0275fac:T}),Vt=T({__NG_ELEMENT_ID__:T}),ma=T({__NG_ENV_ID__:T});function mr(e){return typeof e=="string"?e:e==null?"":String(e)}function zd(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():mr(e)}function Qd(e,t){let n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new _(-200,e)}function Wi(e,t){throw new _(-201,!1)}function Q(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function UC(e){return{providers:e.providers||[],imports:e.imports||[]}}function gr(e){return ga(e,ic)||ga(e,sc)}function BC(e){return gr(e)!==null}function ga(e,t){return e.hasOwnProperty(t)?e[t]:null}function Zd(e){let t=e&&(e[ic]||e[sc]);return t||null}function va(e){return e&&(e.hasOwnProperty(ya)||e.hasOwnProperty(Yd))?e[ya]:null}var ic=T({\u0275prov:T}),ya=T({\u0275inj:T}),sc=T({ngInjectableDef:T}),Yd=T({ngInjectorDef:T}),x=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}(x||{}),Oo;function ac(){return Oo}function W(e){let t=Oo;return Oo=e,t}function cc(e,t,n){let r=gr(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&x.Optional)return null;if(t!==void 0)return t;Wi(e,"Injector")}var Y=globalThis;var O=class{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=Q({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};var Jd={},$t=Jd,Po="__NG_DI_FLAG__",Qn="ngTempTokenPath",Kd="ngTokenPath",Xd=/\n/gm,ef="\u0275",Ia="__source",It;function tf(){return It}function Me(e){let t=It;return It=e,t}function nf(e,t=x.Default){if(It===void 0)throw new _(-203,!1);return It===null?cc(e,void 0,t):It.get(e,t&x.Optional?null:void 0,t)}function Te(e,t=x.Default){return(ac()||nf)(B(e),t)}function k(e,t=x.Default){return Te(e,vr(t))}function vr(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Ro(e){let t=[];for(let n=0;n ");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):z(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(Xd,` `)}`}function en(e){return{toString:e}.toString()}var uc=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(uc||{}),Ut=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Ut||{}),Et={},G=[],Dt=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Dt||{});function dc(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}}function ko(e,t,n){let r=0;for(;rt){s=i-1;break}}}for(;ii?f="":f=o[d+1].toLowerCase();let p=r&8?f:null;if(p&&dc(p,l,0)!==-1||r&2&&l!==f){if(re(r))return!1;s=!0}}}}return re(r)||s}function re(e){return(e&1)===0}function df(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!re(s)&&(t+=Ea(i,o),o=""),r=s,i=i||!re(r);n++}return o!==""&&(t+=Ea(i,o)),t}function vf(e){return e.map(gf).join(",")}function yf(e){let t=[],n=[],r=1,o=2;for(;r{let t=Ic(e),n=an(sn({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===uc.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Ut.Emulated,styles:e.styles||G,_:null,schemas:e.schemas||null,tView:null,id:""});wc(n);let r=e.dependencies;return n.directiveDefs=ba(r,!1),n.pipeDefs=ba(r,!0),n.id=Df(n),n})}function If(e){return We(e)||gc(e)}function wf(e){return e!==null}function WC(e){return en(()=>({type:e.type,bootstrap:e.bootstrap||G,declarations:e.declarations||G,imports:e.imports||G,exports:e.exports||G,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Da(e,t){if(e==null)return Et;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a=Dt.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),t?(n[i]=a!==Dt.None?[r,a]:r,t[i]=s):n[i]=r}return n}function GC(e){return en(()=>{let t=Ic(e);return wc(t),t})}function zC(e){return{type:e.type,name:e.name,factory:null,pure:e.pure!==!1,standalone:e.standalone===!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function We(e){return e[Bd]||null}function gc(e){return e[qd]||null}function vc(e){return e[Wd]||null}function Ef(e){let t=We(e)||gc(e)||vc(e);return t!==null?t.standalone:!1}function yc(e,t){let n=e[Gd]||null;if(!n&&t===!0)throw new Error(`Type ${z(e)} does not have '\u0275mod' property.`);return n}function Ic(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||Et,exportAs:e.exportAs||null,standalone:e.standalone===!0,signals:e.signals===!0,selectors:e.selectors||G,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Da(e.inputs,t),outputs:Da(e.outputs),debugInfo:null}}function wc(e){e.features?.forEach(t=>t(e))}function ba(e,t){if(!e)return null;let n=t?vc:If;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(wf)}function Df(e){let t=0,n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,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].join("|");for(let o of n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}var me=0,I=1,v=2,L=3,ie=4,Z=5,bt=6,qt=7,V=8,xt=9,Ee=10,S=11,Wt=12,xa=13,Nt=14,J=15,tn=16,mt=17,pe=18,yr=19,Ec=20,_e=21,mo=22,Ge=23,F=25,Gi=1;var ze=7,Zn=8,Ct=9,H=10,zi=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(zi||{});function Be(e){return Array.isArray(e)&&typeof e[Gi]=="object"}function xe(e){return Array.isArray(e)&&e[Gi]===!0}function Qi(e){return(e.flags&4)!==0}function Ir(e){return e.componentOffset>-1}function wr(e){return(e.flags&1)===1}function De(e){return!!e.template}function bf(e){return(e[v]&512)!==0}function Qe(e,t){let n=e.hasOwnProperty(zn);return n?e[zn]:null}var Lo=class{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function Dc(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}function xf(){return bc}function bc(e){return e.type.prototype.ngOnChanges&&(e.setInput=Mf),Cf}xf.ngInherit=!0;function Cf(){let e=Cc(this),t=e?.current;if(t){let n=e.previous;if(n===Et)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Mf(e,t,n,r,o){let i=this.declaredInputs[r],s=Cc(e)||_f(e,{previous:Et,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new Lo(l&&l.currentValue,n,c===Et),Dc(e,t,o,n)}var xc="__ngSimpleChanges__";function Cc(e){return e[xc]||null}function _f(e,t){return e[xc]=t}var Ca=null;var de=function(e,t,n){Ca?.(e,t,n)},Mc="svg",Tf="math",Nf=!1;function Sf(){return Nf}function he(e){for(;Array.isArray(e);)e=e[me];return e}function Af(e){for(;Array.isArray(e);){if(typeof e[Gi]=="object")return e;e=e[me]}return null}function _c(e,t){return he(t[e])}function X(e,t){return he(t[e.index])}function Zi(e,t){return e.data[t]}function Yi(e,t){return e[t]}function Ae(e,t){let n=t[e];return Be(n)?n:n[me]}function Of(e){return(e[v]&4)===4}function Ji(e){return(e[v]&128)===128}function Pf(e){return xe(e[L])}function Mt(e,t){return t==null?null:e[t]}function Tc(e){e[mt]=0}function Rf(e){e[v]&1024||(e[v]|=1024,Ji(e)&&Gt(e))}function kf(e,t){for(;e>0;)t=t[Nt],e--;return t}function Ki(e){return!!(e[v]&9216||e[Ge]?.dirty)}function Fo(e){Ki(e)?Gt(e):e[v]&64&&(Sf()?(e[v]|=1024,Gt(e)):e[Ee].changeDetectionScheduler?.notify())}function Gt(e){e[Ee].changeDetectionScheduler?.notify();let t=zt(e);for(;t!==null&&!(t[v]&8192||(t[v]|=8192,!Ji(t)));)t=zt(t)}function Nc(e,t){if((e[v]&256)===256)throw new _(911,!1);e[_e]===null&&(e[_e]=[]),e[_e].push(t)}function Lf(e,t){if(e[_e]===null)return;let n=e[_e].indexOf(t);n!==-1&&e[_e].splice(n,1)}function zt(e){let t=e[L];return xe(t)?t[L]:t}var D={lFrame:Fc(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Ff(){return D.lFrame.elementDepthCount}function jf(){D.lFrame.elementDepthCount++}function Vf(){D.lFrame.elementDepthCount--}function Sc(){return D.bindingsEnabled}function Ac(){return D.skipHydrationRootTNode!==null}function Hf(e){return D.skipHydrationRootTNode===e}function $f(){D.skipHydrationRootTNode=null}function w(){return D.lFrame.lView}function A(){return D.lFrame.tView}function QC(e){return D.lFrame.contextLView=e,e[V]}function ZC(e){return D.lFrame.contextLView=null,e}function $(){let e=Oc();for(;e!==null&&e.type===64;)e=e.parent;return e}function Oc(){return D.lFrame.currentTNode}function Uf(){let e=D.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function nt(e,t){let n=D.lFrame;n.currentTNode=e,n.isParent=t}function Xi(){return D.lFrame.isParent}function es(){D.lFrame.isParent=!1}function Bf(){return D.lFrame.contextLView}function Er(){let e=D.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function qf(e){return D.lFrame.bindingIndex=e}function rt(){return D.lFrame.bindingIndex++}function Pc(e){let t=D.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Wf(){return D.lFrame.inI18n}function Gf(e,t){let n=D.lFrame;n.bindingIndex=n.bindingRootIndex=e,jo(t)}function zf(){return D.lFrame.currentDirectiveIndex}function jo(e){D.lFrame.currentDirectiveIndex=e}function ts(e){let t=D.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function Rc(){return D.lFrame.currentQueryIndex}function ns(e){D.lFrame.currentQueryIndex=e}function Qf(e){let t=e[I];return t.type===2?t.declTNode:t.type===1?e[Z]:null}function kc(e,t,n){if(n&x.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&x.Host);)if(o=Qf(i),o===null||(i=i[Nt],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=D.lFrame=Lc();return r.currentTNode=t,r.lView=e,!0}function rs(e){let t=Lc(),n=e[I];D.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Lc(){let e=D.lFrame,t=e===null?null:e.child;return t===null?Fc(e):t}function Fc(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 jc(){let e=D.lFrame;return D.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Vc=jc;function os(){let e=jc();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 Zf(e){return(D.lFrame.contextLView=kf(e,D.lFrame.contextLView))[V]}function Oe(){return D.lFrame.selectedIndex}function Ze(e){D.lFrame.selectedIndex=e}function Dr(){let e=D.lFrame;return Zi(e.tView,e.selectedIndex)}function YC(){D.lFrame.currentNamespace=Mc}function JC(){Yf()}function Yf(){D.lFrame.currentNamespace=null}function Jf(){return D.lFrame.currentNamespace}var Hc=!0;function br(){return Hc}function xr(e){Hc=e}function Kf(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=bc(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 Cr(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[c]<0&&(e[mt]+=65536),(a>14>16&&(e[v]&3)===t&&(e[v]+=16384,Ma(a,i)):Ma(a,i)}var wt=-1,Ye=class{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}};function ep(e){return e instanceof Ye}function tp(e){return(e.flags&8)!==0}function np(e){return(e.flags&16)!==0}function Uc(e){return e!==wt}function Yn(e){return e&32767}function rp(e){return e>>16}function Jn(e,t){let n=rp(e),r=t;for(;n>0;)r=r[Nt],n--;return r}var Vo=!0;function Kn(e){let t=Vo;return Vo=e,t}var op=256,Bc=op-1,qc=5,ip=0,fe={};function sp(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Vt)&&(r=n[Vt]),r==null&&(r=n[Vt]=ip++);let o=r&Bc,i=1<>qc)]|=i}function Xn(e,t){let n=Wc(e,t);if(n!==-1)return n;let r=t[I];r.firstCreatePass&&(e.injectorIndex=t.length,vo(r.data,e),vo(t,null),vo(r.blueprint,null));let o=is(e,t),i=e.injectorIndex;if(Uc(o)){let s=Yn(o),a=Jn(o,t),c=a[I].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|c[s+l]}return t[i+8]=o,i}function vo(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Wc(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function is(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=Yc(o),r===null)return wt;if(n++,o=o[Nt],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return wt}function Ho(e,t,n){sp(e,t,n)}function ap(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let n=e.attrs;if(n){let r=n.length,o=0;for(;o>20,d=r?a:a+u,f=o?a+u:l;for(let p=d;p=c&&h.type===n)return p}if(o){let p=s[c];if(p&&De(p)&&p.type===n)return c}return null}function Je(e,t,n,r){let o=e[n],i=t.data;if(ep(o)){let s=o;s.resolving&&Qd(zd(i[n]));let a=Kn(s.canSeeViewProviders);s.resolving=!0;let c,l=s.injectImpl?W(s.injectImpl):null,u=kc(e,r,x.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&Kf(n,i[n],t)}finally{l!==null&&W(l),Kn(a),s.resolving=!1,Vc()}}return o}function lp(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Vt)?e[Vt]:void 0;return typeof t=="number"?t>=0?t&Bc:up:t}function _a(e,t,n){let r=1<>qc)]&r)}function Ta(e,t){return!(e&x.Self)&&!(e&x.Host&&t)}var qe=class{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Qc(this._tNode,this._lView,t,vr(r),n)}};function up(){return new qe($(),w())}function KC(e){return en(()=>{let t=e.prototype.constructor,n=t[zn]||$o(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[zn]||$o(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function $o(e){return rc(e)?()=>{let t=$o(B(e));return t&&t()}:Qe(e)}function dp(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[v]&2048&&!(s[v]&512);){let a=Zc(i,s,n,r|x.Self,fe);if(a!==fe)return a;let c=i.parent;if(!c){let l=s[Ec];if(l){let u=l.get(n,fe,r);if(u!==fe)return u}c=Yc(s),s=s[Nt]}i=c}return o}function Yc(e){let t=e[I],n=t.type;return n===2?t.declTNode:n===1?e[Z]:null}function XC(e){return ap($(),e)}var kn="__parameters__";function fp(e){return function(...n){if(e){let r=e(...n);for(let o in r)this[o]=r[o]}}}function Jc(e,t,n){return en(()=>{let r=fp(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;let s=new o(...i);return a.annotation=s,a;function a(c,l,u){let d=c.hasOwnProperty(kn)?c[kn]:Object.defineProperty(c,kn,{value:[]})[kn];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),c}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}function pp(e){return typeof e=="function"}function hp(e,t,n){if(e.length!==t.length)return!1;for(let r=0;rArray.isArray(n)?ss(n,t):t(n))}function Kc(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function er(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function gp(e,t){let n=[];for(let r=0;rt;){let i=o-2;e[o]=e[i],o--}e[t]=n,e[t+1]=r}}function Mr(e,t,n){let r=nn(e,t);return r>=0?e[r|1]=n:(r=~r,vp(e,r,t,n)),r}function yo(e,t){let n=nn(e,t);if(n>=0)return e[n|1]}function nn(e,t){return yp(e,t,1)}function yp(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=e[i<t?o=i:r=i+1}return~(o<{n.push(s)};return ss(t,s=>{let a=s;Uo(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&nl(o,i),n}function nl(e,t){for(let n=0;n{t(i,r)})}}function Uo(e,t,n,r){if(e=B(e),!e)return!1;let o=null,i=va(e),s=!i&&We(e);if(!i&&!s){let c=e.ngModule;if(i=va(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let l of c)Uo(l,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;try{ss(i.imports,u=>{Uo(u,t,n,r)&&(l||=[],l.push(u))})}finally{}l!==void 0&&nl(l,t)}if(!a){let l=Qe(o)||(()=>new o);t({provide:o,useFactory:l,deps:G},o),t({provide:el,useValue:o,multi:!0},o),t({provide:tr,useValue:()=>Te(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=e;as(c,u=>{t(u,l)})}}else return!1;return o!==e&&e.providers!==void 0}function as(e,t){for(let n of e)oc(n)&&(n=n.\u0275providers),Array.isArray(n)?as(n,t):t(n)}var bp=T({provide:String,useValue:T});function rl(e){return e!==null&&typeof e=="object"&&bp in e}function xp(e){return!!(e&&e.useExisting)}function Cp(e){return!!(e&&e.useFactory)}function _t(e){return typeof e=="function"}function Mp(e){return!!e.useClass}var ol=new O(""),qn={},_p={},Io;function cs(){return Io===void 0&&(Io=new nr),Io}var Ne=class{},Qt=class extends Ne{get destroyed(){return this._destroyed}constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,qo(t,s=>this.processProvider(s)),this.records.set(Xc,gt(void 0,this)),o.has("environment")&&this.records.set(Ne,gt(void 0,this));let i=this.records.get(ol);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(el,G,x.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(let n of this._ngOnDestroyHooks)n.ngOnDestroy();let t=this._onDestroyHooks;this._onDestroyHooks=[];for(let n of t)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();let n=Me(this),r=W(void 0),o;try{return t()}finally{Me(n),W(r)}}get(t,n=$t,r=x.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(ma))return t[ma](this);r=vr(r);let o,i=Me(this),s=W(void 0);try{if(!(r&x.SkipSelf)){let c=this.records.get(t);if(c===void 0){let l=Op(t)&&gr(t);l&&this.injectableDefInScope(l)?c=gt(Bo(t),qn):c=null,this.records.set(t,c)}if(c!=null)return this.hydrate(t,c)}let a=r&x.Self?cs():this.parent;return n=r&x.Optional&&n===$t?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[Qn]=a[Qn]||[]).unshift(z(t)),i)throw a;return of(a,t,"R3InjectorError",this.source)}else throw a}finally{W(s),Me(i)}}resolveInjectorInitializers(){let t=Me(this),n=W(void 0),r;try{let o=this.get(tr,G,x.Self);for(let i of o)i()}finally{Me(t),W(n)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(z(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new _(205,!1)}processProvider(t){t=B(t);let n=_t(t)?t:B(t&&t.provide),r=Np(t);if(!_t(t)&&t.multi===!0){let o=this.records.get(n);o||(o=gt(void 0,qn,!0),o.factory=()=>Ro(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===qn&&(n.value=_p,n.value=n.factory()),typeof n.value=="object"&&n.value&&Ap(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;let n=B(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=gr(e),n=t!==null?t.factory:Qe(e);if(n!==null)return n;if(e instanceof O)throw new _(204,!1);if(e instanceof Function)return Tp(e);throw new _(204,!1)}function Tp(e){if(e.length>0)throw new _(204,!1);let n=Zd(e);return n!==null?()=>n.factory(e):()=>new e}function Np(e){if(rl(e))return gt(void 0,e.useValue);{let t=il(e);return gt(t,qn)}}function il(e,t,n){let r;if(_t(e)){let o=B(e);return Qe(o)||Bo(o)}else if(rl(e))r=()=>B(e.useValue);else if(Cp(e))r=()=>e.useFactory(...Ro(e.deps||[]));else if(xp(e))r=()=>Te(B(e.useExisting));else{let o=B(e&&(e.useClass||e.provide));if(Sp(e))r=()=>new o(...Ro(e.deps));else return Qe(o)||Bo(o)}return r}function gt(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Sp(e){return!!e.deps}function Ap(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Op(e){return typeof e=="function"||typeof e=="object"&&e instanceof O}function qo(e,t){for(let n of e)Array.isArray(n)?qo(n,t):n&&oc(n)?qo(n.\u0275providers,t):t(n)}function eM(e,t){e instanceof Qt&&e.assertNotDestroyed();let n,r=Me(e),o=W(void 0);try{return t()}finally{Me(r),W(o)}}function Pp(e){if(!ac()&&!tf())throw new _(-203,!1)}function Na(e,t=null,n=null,r){let o=sl(e,t,n,r);return o.resolveInjectorInitializers(),o}function sl(e,t=null,n=null,r,o=new Set){let i=[n||G,Dp(e)];return r=r||(typeof e=="object"?void 0:z(e)),new Qt(i,t||cs(),r||null,o)}var _r=(()=>{let t=class t{static create(r,o){if(Array.isArray(r))return Na({name:""},o,r,"");{let i=r.name??"";return Na({name:i},r.parent,r.providers,i)}}};t.THROW_IF_NOT_FOUND=$t,t.NULL=new nr,t.\u0275prov=Q({token:t,providedIn:"any",factory:()=>Te(Xc)}),t.__NG_ELEMENT_ID__=-1;let e=t;return e})();var Wo;function tM(e){Wo=e}function Rp(){if(Wo!==void 0)return Wo;if(typeof document<"u")return document;throw new _(210,!1)}var nM=new O("",{providedIn:"root",factory:()=>kp}),kp="ng",Lp=new O(""),Fp=new O("",{providedIn:"platform",factory:()=>"unknown"});var rM=new O(""),oM=new O("",{providedIn:"root",factory:()=>Rp().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function al(e){return e instanceof Function?e():e}function jp(e){return(e??k(_r)).get(Fp)==="browser"}function cl(e){return(e.flags&128)===128}var Go=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Go||{}),Vp=/^>|^->||--!>|)/g,$p="\u200B$1\u200B";function Up(e){return e.replace(Vp,t=>t.replace(Hp,$p))}var ll=new Map,Bp=0;function qp(){return Bp++}function Wp(e){ll.set(e[yr],e)}function Gp(e){ll.delete(e[yr])}var Sa="__ngContext__";function Se(e,t){Be(t)?(e[Sa]=t[yr],Wp(t)):e[Sa]=t}var zp;function ls(e,t){return zp(e,t)}function vt(e,t,n,r,o){if(r!=null){let i,s=!1;xe(r)?i=r:Be(r)&&(s=!0,r=r[me]);let a=he(r);e===0&&n!==null?o==null?hl(t,n,a):rr(t,n,a,o||null,!0):e===1&&n!==null?rr(t,n,a,o||null,!0):e===2?lh(t,a,s):e===3&&t.destroyNode(a),i!=null&&dh(t,e,i,n,o)}}function Qp(e,t){return e.createText(t)}function Zp(e,t,n){e.setValue(t,n)}function Yp(e,t){return e.createComment(Up(t))}function ul(e,t,n){return e.createElement(t,n)}function Jp(e,t){dl(e,t),t[me]=null,t[Z]=null}function Kp(e,t,n,r,o,i){r[me]=o,r[Z]=t,Sr(e,r,n,1,o,i)}function dl(e,t){Sr(e,t,t[S],2,null,null)}function Xp(e){let t=e[Wt];if(!t)return wo(e[I],e);for(;t;){let n=null;if(Be(t))n=t[Wt];else{let r=t[H];r&&(n=r)}if(!n){for(;t&&!t[ie]&&t!==e;)Be(t)&&wo(t[I],t),t=t[L];t===null&&(t=e),Be(t)&&wo(t[I],t),n=t&&t[ie]}t=n}}function eh(e,t,n,r){let o=H+r,i=n.length;r>0&&(n[o-1][ie]=t),r0&&(e[n-1][ie]=r[ie]);let i=er(e,H+t);Jp(r[I],r);let s=i[pe];s!==null&&s.detachView(i[I]),r[L]=null,r[ie]=null,r[v]&=-129}return r}function Tr(e,t){if(!(t[v]&256)){let n=t[S];n.destroyNode&&Sr(e,t,n,3,null,null),Xp(t)}}function wo(e,t){if(!(t[v]&256)){t[v]&=-129,t[v]|=256,t[Ge]&&ks(t[Ge]),rh(e,t),nh(e,t),t[I].type===1&&t[S].destroy();let n=t[tn];if(n!==null&&xe(t[L])){n!==t[L]&&fl(n,t);let r=t[pe];r!==null&&r.detachView(e)}Gp(t)}}function nh(e,t){let n=e.cleanup,r=t[qt];if(n!==null)for(let i=0;i=0?r[s]():r[-s].unsubscribe(),i+=2}else{let s=r[n[i+1]];n[i].call(s)}r!==null&&(t[qt]=null);let o=t[_e];if(o!==null){t[_e]=null;for(let i=0;i-1){let{encapsulation:i}=e.data[r.directiveStart+o];if(i===Ut.None||i===Ut.Emulated)return null}return X(r,n)}}function rr(e,t,n,r,o){e.insertBefore(t,n,r,o)}function hl(e,t,n){e.appendChild(t,n)}function Aa(e,t,n,r,o){r!==null?rr(e,t,n,r,o):hl(e,t,n)}function ih(e,t,n,r){e.removeChild(t,n,r)}function us(e,t){return e.parentNode(t)}function sh(e,t){return e.nextSibling(t)}function ml(e,t,n){return ch(e,t,n)}function ah(e,t,n){return e.type&40?X(e,n):null}var ch=ah,Oa;function Nr(e,t,n,r){let o=pl(e,r,t),i=t[S],s=r.parent||t[Z],a=ml(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;ce,createScript:e=>e,createScriptURL:e=>e})}catch{}return Ln}function Ar(e){return hh()?.createHTML(e)||e}var Fn;function mh(){if(Fn===void 0&&(Fn=null,Y.trustedTypes))try{Fn=Y.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Fn}function Pa(e){return mh()?.createScriptURL(e)||e}var be=class{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${tc})`}},Qo=class extends be{getTypeName(){return"HTML"}},Zo=class extends be{getTypeName(){return"Style"}},Yo=class extends be{getTypeName(){return"Script"}},Jo=class extends be{getTypeName(){return"URL"}},Ko=class extends be{getTypeName(){return"ResourceURL"}};function Or(e){return e instanceof be?e.changingThisBreaksApplicationSecurity:e}function wl(e,t){let n=gh(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${tc})`)}return n===t}function gh(e){return e instanceof be&&e.getTypeName()||null}function iM(e){return new Qo(e)}function sM(e){return new Zo(e)}function aM(e){return new Yo(e)}function cM(e){return new Jo(e)}function lM(e){return new Ko(e)}function vh(e){let t=new ei(e);return yh()?new Xo(t):t}var Xo=class{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{let n=new window.DOMParser().parseFromString(Ar(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}},ei=class{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){let n=this.inertDocument.createElement("template");return n.innerHTML=Ar(t),n}};function yh(){try{return!!new window.DOMParser().parseFromString(Ar(""),"text/html")}catch{return!1}}var Ih=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function El(e){return e=String(e),e.match(Ih)?e:"unsafe:"+e}function Ce(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function rn(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var Dl=Ce("area,br,col,hr,img,wbr"),bl=Ce("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),xl=Ce("rp,rt"),wh=rn(xl,bl),Eh=rn(bl,Ce("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Dh=rn(xl,Ce("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Ra=rn(Dl,Eh,Dh,wh),Cl=Ce("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),bh=Ce("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),xh=Ce("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),Ch=rn(Cl,bh,xh),Mh=Ce("script,style,template"),ti=class{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,r=!0;for(;n;){if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild){n=n.firstChild;continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let o=this.checkClobberedElement(n,n.nextSibling);if(o){n=o;break}n=this.checkClobberedElement(n,n.parentNode)}}return this.buf.join("")}startElement(t){let n=t.nodeName.toLowerCase();if(!Ra.hasOwnProperty(n))return this.sanitizedSomething=!0,!Mh.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);let r=t.attributes;for(let o=0;o"),!0}endElement(t){let n=t.nodeName.toLowerCase();Ra.hasOwnProperty(n)&&!Dl.hasOwnProperty(n)&&(this.buf.push(""))}chars(t){this.buf.push(ka(t))}checkClobberedElement(t,n){if(n&&(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return n}},_h=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Th=/([^\#-~ |!])/g;function ka(e){return e.replace(/&/g,"&").replace(_h,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(Th,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}var jn;function uM(e,t){let n=null;try{jn=jn||vh(e);let r=t?String(t):"";n=jn.getInertBodyElement(r);let o=5,i=r;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=jn.getInertBodyElement(r)}while(r!==i);let a=new ti().sanitizeChildren(La(n)||n);return Ar(a)}finally{if(n){let r=La(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function La(e){return"content"in e&&Nh(e)?e.content:null}function Nh(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var fs=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}(fs||{});function Sh(e){let t=Ml();return t?t.sanitize(fs.URL,e)||"":wl(e,"URL")?Or(e):El(mr(e))}function Ah(e){let t=Ml();if(t)return Pa(t.sanitize(fs.RESOURCE_URL,e)||"");if(wl(e,"ResourceURL"))return Pa(Or(e));throw new _(904,!1)}function Oh(e,t){return t==="src"&&(e==="embed"||e==="frame"||e==="iframe"||e==="media"||e==="script")||t==="href"&&(e==="base"||e==="link")?Ah:Sh}function dM(e,t,n){return Oh(t,n)(e)}function Ml(){let e=w();return e&&e[Ee].sanitizer}var ni=class{};var Ph="h",Rh="b";var kh=()=>null;function ps(e,t,n=!1){return kh(e,t,n)}var ri=class{},or=class{};function Lh(e){let t=Error(`No component factory found for ${z(e)}.`);return t[Fh]=e,t}var Fh="ngComponent";var oi=class{resolveComponentFactory(t){throw Lh(t)}},Pr=(()=>{let t=class t{};t.NULL=new oi;let e=t;return e})();function jh(){return St($(),w())}function St(e,t){return new Rr(X(e,t))}var Rr=(()=>{let t=class t{constructor(r){this.nativeElement=r}};t.__NG_ELEMENT_ID__=jh;let e=t;return e})();function Vh(e){return e instanceof Rr?e.nativeElement:e}var ii=class{},fM=(()=>{let t=class t{constructor(){this.destroyNode=null}};t.__NG_ELEMENT_ID__=()=>Hh();let e=t;return e})();function Hh(){let e=w(),t=$(),n=Ae(t.index,e);return(Be(n)?n:e)[S]}var $h=(()=>{let t=class t{};t.\u0275prov=Q({token:t,providedIn:"root",factory:()=>null});let e=t;return e})(),Eo={};function _l(e){return Bh(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function Uh(e,t){if(Array.isArray(e))for(let n=0;nt,ai=class{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||qh}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{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 ci(n,r),i,o)),t}_verifyReinsertion(t,n,r,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return i!==null?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;t!==null;){let n=t._next;this._addToRemovals(this._unlink(t)),t=n}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(t);let o=t._prevRemoved,i=t._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail===null?this._additionsTail=this._additionsHead=t:this._additionsTail=this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){let o=n===null?this._itHead:n._next;return t._next=o,t._prev=n,o===null?this._itTail=t:o._prev=t,n===null?this._itHead=t:n._next=t,this._linkedRecords===null&&(this._linkedRecords=new ir),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){this._linkedRecords!==null&&this._linkedRecords.remove(t);let n=t._prev,r=t._next;return n===null?this._itHead=r:n._next=r,r===null?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail===null?this._movesTail=this._movesHead=t:this._movesTail=this._movesTail._nextMoved=t),t}_addToRemovals(t){return this._unlinkedRecords===null&&(this._unlinkedRecords=new ir),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=t:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=t,t}},ci=class{constructor(t,n){this.item=t,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}},li=class{constructor(){this._head=null,this._tail=null}add(t){this._head===null?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;r!==null;r=r._nextDup)if((n===null||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){let n=t._prevDup,r=t._nextDup;return n===null?this._head=r:n._nextDup=r,r===null?this._tail=n:r._prevDup=n,this._head===null}},ir=class{constructor(){this.map=new Map}put(t){let n=t.trackById,r=this.map.get(n);r||(r=new li,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 Fa(e,t,n){let r=e.previousIndex;if(r===null)return r;let o=0;return n&&r{let t=class t{constructor(r){this.factories=r}static create(r,o){if(o!=null){let i=o.factories.slice();r=r.concat(i)}return new t(r)}static extend(r){return{provide:t,useFactory:o=>t.create(r,o||ja()),deps:[[t,new wp,new Ip]]}}find(r){let o=this.factories.find(i=>i.supports(r));if(o!=null)return o;throw new _(901,!1)}};t.\u0275prov=Q({token:t,providedIn:"root",factory:ja});let e=t;return e})();function sr(e,t,n,r,o=!1){for(;n!==null;){let i=t[n.index];i!==null&&r.push(he(i)),xe(i)&&Gh(i,r);let s=n.type;if(s&8)sr(e,t,n.child,r);else if(s&32){let a=ls(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=gl(t,n);if(Array.isArray(a))r.push(...a);else{let c=zt(t[J]);sr(c[I],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function Gh(e,t){for(let n=H;n{Gt(e.lView)},consumerOnSignalRead(){this.lView[Ge]=this}});function Nl(e){return Al(e[Wt])}function Sl(e){return Al(e[ie])}function Al(e){for(;e!==null&&!xe(e);)e=e[ie];return e}var Jh="ngOriginalError";function Do(e){return e[Jh]}var Ke=class{constructor(){this._console=console}handleError(t){let n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Do(t);for(;n&&Do(n);)n=Do(n);return n||null}},Ol=new O("",{providedIn:"root",factory:()=>k(Ke).handleError.bind(void 0)});var Pl=!1,Kh=new O("",{providedIn:"root",factory:()=>Pl});var ge={};function pM(e=1){Rl(A(),w(),Oe()+e,!1)}function Rl(e,t,n,r){if(!r)if((t[v]&3)===3){let i=e.preOrderCheckHooks;i!==null&&$n(t,i,n)}else{let i=e.preOrderHooks;i!==null&&Un(t,i,0,n)}Ze(n)}function kr(e,t=x.Default){let n=w();if(n===null)return Te(e,t);let r=$();return Qc(r,n,B(e),t)}function hM(){let e="invalid";throw new Error(e)}function kl(e,t,n,r,o,i){let s=R(null);try{let a=null;o&Dt.SignalBased&&(a=t[r][As]),a!==null&&a.transformFn!==void 0&&(i=a.transformFn(i)),o&Dt.HasDecoratorInputTransform&&(i=e.inputTransforms[r].call(t,i)),e.setInput!==null?e.setInput(t,a,i,n,r):Dc(t,a,r,i)}finally{R(s)}}function Xh(e,t){let n=e.hostBindingOpCodes;if(n!==null)try{for(let r=0;rF&&Rl(e,t,F,!1),de(s?2:0,o),n(r,o)}finally{Ze(i),de(s?3:1,o)}}function hs(e,t,n){if(Qi(t)){let r=R(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;snull;function im(e,t,n,r){let o=Bl(t);o.push(n),e.firstCreatePass&&ql(e).push(r,o.length-1)}function sm(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return Ac()&&(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 Va(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,c=Dt.None;Array.isArray(s)?(a=s[0],c=s[1]):a=s;let l=i;if(o!==null){if(!o.hasOwnProperty(i))continue;l=o[i]}e===0?Ha(r,n,l,a,c):Ha(r,n,l,a)}return r}function Ha(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 am(e,t,n){let r=t.directiveStart,o=t.directiveEnd,i=e.data,s=t.attrs,a=[],c=null,l=null;for(let u=r;u0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function fm(e,t,n,r){let o=n.directiveStart,i=n.directiveEnd;Ir(n)&&Im(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||Xn(n,t),Se(r,t);let s=n.initialInputs;for(let a=o;a-1&&(Zt(t,r),er(n,r))}this._attachedToViewContainer=!1}Tr(this._lView[I],this._lView)}onDestroy(t){Nc(this._lView,t)}markForCheck(){Es(this._cdRefInjectingView||this._lView)}detach(){this._lView[v]&=-129}reattach(){Fo(this._lView),this._lView[v]|=128}detectChanges(){this._lView[v]|=1024,Ql(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new _(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,dl(this._lView[I],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new _(902,!1);this._appRef=t,Fo(this._lView)}},mM=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=Sm;let e=t;return e})();function Sm(e){return Am($(),w(),(e&16)===16)}function Am(e,t,n){if(Ir(e)&&!n){let r=Ae(e.index,t);return new Xe(r,r)}else if(e.type&47){let r=t[J];return new Xe(r,t)}return null}var Kl=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=Om,t.__NG_ENV_ID__=r=>r;let e=t;return e})(),pi=class extends Kl{constructor(t){super(),this._lView=t}onDestroy(t){return Nc(this._lView,t),()=>Lf(this._lView,t)}};function Om(){return new pi(w())}var $a=new Set;function jr(e){$a.has(e)||($a.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var hi=class extends ce{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let c=t;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=bo(i),o&&(o=bo(o)),s&&(s=bo(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof P&&t.add(a),a}};function bo(e){return t=>{setTimeout(e,void 0,t)}}var jt=hi;function Ua(...e){}function Pm(){let e=typeof Y.requestAnimationFrame=="function",t=Y[e?"requestAnimationFrame":"setTimeout"],n=Y[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){let r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);let o=n[Zone.__symbol__("OriginalDelegate")];o&&(n=o)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}var se=class e{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new jt(!1),this.onMicrotaskEmpty=new jt(!1),this.onStable=new jt(!1),this.onError=new jt(!1),typeof Zone>"u")throw new _(908,!1);Zone.assertZonePatched();let o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=Pm().nativeRequestAnimationFrame,Lm(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new _(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new _(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,Rm,Ua,Ua);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)}},Rm={};function Ds(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 km(e){e.isCheckStableRunning||e.lastRequestAnimationFrameId!==-1||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Y,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,mi(e),e.isCheckStableRunning=!0,Ds(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),mi(e))}function Lm(e){let t=()=>{km(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{if(Fm(a))return n.invokeTask(o,i,s,a);try{return Ba(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&i.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),qa(e)}},onInvoke:(n,r,o,i,s,a,c)=>{try{return Ba(e),n.invoke(o,i,s,a,c)}finally{e.shouldCoalesceRunChangeDetection&&t(),qa(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&(i.change=="microTask"?(e._hasPendingMicrotasks=i.microTask,mi(e),Ds(e)):i.change=="macroTask"&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}function mi(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.lastRequestAnimationFrameId!==-1?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Ba(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function qa(e){e._nesting--,Ds(e)}function Fm(e){return!Array.isArray(e)||e.length!==1?!1:e[0].data?.__ignore_ng_zone__===!0}var yt=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(yt||{}),jm={destroy(){}};function Vm(e,t){!t&&Pp(Vm);let n=t?.injector??k(_r);if(!jp(n))return jm;jr("NgAfterNextRender");let r=n.get(bs),o=r.handler??=new vi,i=t?.phase??yt.MixedReadWrite,s=()=>{o.unregister(c),a()},a=n.get(Kl).onDestroy(s),c=new gi(n,i,()=>{s(),e()});return o.register(c),{destroy:s}}var gi=class{constructor(t,n,r){this.phase=n,this.callbackFn=r,this.zone=t.get(se),this.errorHandler=t.get(Ke,null,{optional:!0})}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(t){this.errorHandler?.handleError(t)}}},vi=class{constructor(){this.executingCallbacks=!1,this.buckets={[yt.EarlyRead]:new Set,[yt.Write]:new Set,[yt.MixedReadWrite]:new Set,[yt.Read]:new Set},this.deferredCallbacks=new Set}register(t){(this.executingCallbacks?this.deferredCallbacks:this.buckets[t.phase]).add(t)}unregister(t){this.buckets[t.phase].delete(t),this.deferredCallbacks.delete(t)}execute(){this.executingCallbacks=!0;for(let t of Object.values(this.buckets))for(let n of t)n.invoke();this.executingCallbacks=!1;for(let t of this.deferredCallbacks)this.buckets[t.phase].add(t);this.deferredCallbacks.clear()}destroy(){for(let t of Object.values(this.buckets))t.clear();this.deferredCallbacks.clear()}},bs=(()=>{let t=class t{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){let r=[...this.internalCallbacks];this.internalCallbacks.length=0;for(let o of r)o();this.handler?.execute()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};t.\u0275prov=Q({token:t,providedIn:"root",factory:()=>new t});let e=t;return e})();function Hm(e,t){let n=Ae(t,e),r=n[I];$m(r,n);let o=n[me];o!==null&&n[bt]===null&&(n[bt]=ps(o,n[xt])),xs(r,n,n[V])}function $m(e,t){for(let n=t.length;n0&&yl(e,n,i.join(" "))}}function Zm(e,t,n){let r=e.projection=[];for(let o=0;o=0;r--){let o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=Bt(o.hostAttrs,n=Bt(n,o.hostAttrs))}}function Vn(e){return e===Et?{}:e===G?[]:e}function tg(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function ng(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function rg(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function gM(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}var vM=new RegExp(`^(\\d+)*(${Rh}|${Ph})*(.*)`);var og=()=>null;function Jt(e,t){return og(e,t)}function Vr(e,t,n,r){let o=t.tView,s=e[v]&4096?4096:16,a=Lr(e,o,n,s,null,t,null,null,null,r?.injector??null,r?.dehydratedView??null),c=e[t.index];a[tn]=c;let l=e[pe];return l!==null&&(a[pe]=l.createEmbeddedView(o)),xs(o,a,n),a}function Xl(e,t){let n=H+t;if(n{let t=class t{};t.__NG_ELEMENT_ID__=ig;let e=t;return e})();function ig(){let e=$();return nu(e,w())}var sg=Cs,tu=class extends sg{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 qe(this._hostTNode,this._hostLView)}get parentInjector(){let t=is(this._hostTNode,this._hostLView);if(Uc(t)){let n=Jn(t,this._hostLView),r=Yn(t),o=n[I].data[r+8];return new qe(o,n)}else return new qe(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=Ga(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-H}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=Jt(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,Kt(this._hostTNode,s)),a}createComponent(t,n,r,o,i){let s=t&&!pp(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 c=s?t:new Yt(We(t)),l=r||this.parentInjector;if(!i&&c.ngModule==null){let E=(s?l:this.parentInjector).get(Ne,null);E&&(i=E)}let u=We(c.componentType??{}),d=Jt(this._lContainer,u?.id??null),f=d?.firstChild??null,p=c.create(l,o,f,i);return this.insertImpl(p.hostView,a,Kt(this._hostTNode,d)),p}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(Pf(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[L],l=new tu(c,c[Z],c[L]);l.detach(l.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return Hr(s,o,i,r),t.attachToViewContainerRef(),Kc(xo(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Ga(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=Zt(this._lContainer,n);r&&(er(xo(this._lContainer),n),Tr(r[I],r))}detach(t){let n=this._adjustIndex(t,-1),r=Zt(this._lContainer,n);return r&&er(xo(this._lContainer),n)!=null?new Xe(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Ga(e){return e[Zn]}function xo(e){return e[Zn]||(e[Zn]=[])}function nu(e,t){let n,r=t[e.index];return xe(r)?n=r:(n=$l(r,t,null,e),t[e.index]=n,Fr(t,n)),cg(n,t,e,r),new tu(n,e,t)}function ag(e,t){let n=e[S],r=n.createComment(""),o=X(t,e),i=us(n,o);return rr(n,i,r,sh(n,o),!1),r}var cg=dg,lg=()=>!1;function ug(e,t,n){return lg(e,t,n)}function dg(e,t,n,r){if(e[ze])return;let o;n.type&8?o=he(r):o=ag(t,n),e[ze]=o}var et=class{},wi=class{};var Ei=class extends et{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new cr(this);let o=yc(t);this._bootstrapComponents=al(o.bootstrap),this._r3Injector=sl(t,n,[{provide:et,useValue:this},{provide:Pr,useValue:this.componentFactoryResolver},...r],z(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}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)}},Di=class extends wi{constructor(t){super(),this.moduleType=t}create(t){return new Ei(this.moduleType,t,[])}};var lr=class extends et{constructor(t){super(),this.componentFactoryResolver=new cr(this),this.instance=null;let n=new Qt([...t.providers,{provide:et,useValue:this},{provide:Pr,useValue:this.componentFactoryResolver}],t.parent||cs(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function fg(e,t,n=null){return new lr({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var ru=(()=>{let t=class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Ot(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let r=this.taskId++;return this.pendingTasks.add(r),r}remove(r){this.pendingTasks.delete(r),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=Q({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function $r(e,t,n){return e[t]=n}function pg(e,t){return e[t]}function K(e,t,n){let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function bi(e,t,n,r){let o=K(e,t,n);return K(e,t+1,r)||o}function hg(e,t,n,r,o,i){let s=bi(e,t,n,r);return bi(e,t+2,o,i)||s}function mg(e,t,n,r,o,i,s,a,c){let l=t.consts,u=At(t,e,4,s||null,Mt(l,a));Is(t,n,u,Mt(l,c)),Cr(t,u);let d=u.tView=vs(2,u,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,l,null);return t.queries!==null&&(t.queries.template(t,u),d.queries=t.queries.embeddedTView(u)),u}function xi(e,t,n,r,o,i,s,a){let c=w(),l=A(),u=e+F,d=l.firstCreatePass?mg(u,l,c,t,n,r,o,i,s):l.data[u];nt(d,!1);let f=gg(l,c,d,e);br()&&Nr(l,c,f,d),Se(f,c);let p=$l(f,c,f,d);return c[u]=p,Fr(c,p),ug(p,d,c),wr(d)&&ms(l,c,d),s!=null&&gs(c,d,a),xi}var gg=vg;function vg(e,t,n,r){return xr(!0),t[S].createComment("")}function yg(e,t,n,r){let o=w(),i=rt();if(K(o,i,t)){let s=A(),a=Dr();wm(a,o,e,t,n,r)}return yg}function ou(e,t,n,r){return K(e,rt(),n)?t+mr(n)+r:ge}function Hn(e,t){return e<<17|t<<2}function tt(e){return e>>17&32767}function Ig(e){return(e&2)==2}function wg(e,t){return e&131071|t<<17}function Ci(e){return e|2}function Tt(e){return(e&131068)>>2}function Co(e,t){return e&-131069|t<<2}function Eg(e){return(e&1)===1}function Mi(e){return e|1}function Dg(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=tt(s),c=Tt(s);e[r]=n;let l=!1,u;if(Array.isArray(n)){let d=n;u=d[1],(u===null||nn(d,u)>0)&&(l=!0)}else u=n;if(o)if(c!==0){let f=tt(e[a+1]);e[r+1]=Hn(f,a),f!==0&&(e[f+1]=Co(e[f+1],r)),e[a+1]=wg(e[a+1],r)}else e[r+1]=Hn(a,0),a!==0&&(e[a+1]=Co(e[a+1],r)),a=r;else e[r+1]=Hn(c,0),a===0?a=r:e[c+1]=Co(e[c+1],r),c=r;l&&(e[r+1]=Ci(e[r+1])),za(e,u,r,!0),za(e,u,r,!1),bg(t,u,e,r,i),s=Hn(a,c),i?t.classBindings=s:t.styleBindings=s}function bg(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&nn(i,t)>=0&&(n[r+1]=Mi(n[r+1]))}function za(e,t,n,r){let o=e[n+1],i=t===null,s=r?tt(o):Tt(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],l=e[s+1];xg(c,t)&&(a=!0,e[s+1]=r?Mi(l):Ci(l)),s=r?tt(l):Tt(l)}a&&(e[n+1]=r?Ci(o):Mi(o))}function xg(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?nn(e,t)>=0:!1}var oe={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Cg(e){return e.substring(oe.key,oe.keyEnd)}function Mg(e){return _g(e),iu(e,su(e,0,oe.textEnd))}function iu(e,t){let n=oe.textEnd;return n===t?-1:(t=oe.keyEnd=Tg(e,oe.key=t,n),su(e,t,n))}function _g(e){oe.key=0,oe.keyEnd=0,oe.value=0,oe.valueEnd=0,oe.textEnd=e.length}function su(e,t,n){for(;t32;)t++;return t}function Ng(e,t,n){let r=w(),o=rt();if(K(r,o,t)){let i=A(),s=Dr();ys(i,s,r,e,t,r[S],n,!1)}return Ng}function _i(e,t,n,r,o){let i=t.inputs,s=o?"class":"style";ws(e,n,i[s],s,r)}function Sg(e,t,n){return cu(e,t,n,!1),Sg}function Ag(e,t){return cu(e,t,null,!0),Ag}function IM(e){lu(Fg,au,e,!0)}function au(e,t){for(let n=Mg(t);n>=0;n=iu(t,n))Mr(e,Cg(t),!0)}function cu(e,t,n,r){let o=w(),i=A(),s=Pc(2);if(i.firstUpdatePass&&du(i,e,s,r),t!==ge&&K(o,s,t)){let a=i.data[Oe()];fu(i,a,o,o[S],e,o[s+1]=Vg(t,n),r,s)}}function lu(e,t,n,r){let o=A(),i=Pc(2);o.firstUpdatePass&&du(o,null,i,r);let s=w();if(n!==ge&&K(s,i,n)){let a=o.data[Oe()];if(pu(a,r)&&!uu(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=Ao(c,n||"")),_i(o,a,s,n,r)}else jg(o,a,s,s[S],s[i+1],s[i+1]=Lg(e,t,n),r,i)}}function uu(e,t){return t>=e.expandoStartIndex}function du(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[Oe()],s=uu(e,n);pu(i,r)&&t===null&&!s&&(t=!1),t=Og(o,i,t,r),Dg(o,i,t,n,s,r)}}function Og(e,t,n,r){let o=ts(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=Mo(null,e,t,n,r),n=Xt(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=Mo(o,e,t,n,r),i===null){let c=Pg(e,t,r);c!==void 0&&Array.isArray(c)&&(c=Mo(null,e,t,c[1],r),c=Xt(c,t.attrs,r),Rg(e,t,r,c))}else i=kg(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function Pg(e,t,n){let r=n?t.classBindings:t.styleBindings;if(Tt(r)!==0)return e[tt(r)]}function Rg(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[tt(o)]=r}function kg(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i0;){let c=e[o],l=Array.isArray(c),u=l?c[1]:c,d=u===null,f=n[o+1];f===ge&&(f=d?G:void 0);let p=d?yo(f,r):u===r?f:void 0;if(l&&!ur(p)&&(p=yo(c,r)),ur(p)&&(a=p,s))return a;let h=e[o+1];o=s?tt(h):Tt(h)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=yo(c,r))}return a}function ur(e){return e!==void 0}function Vg(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=z(Or(e)))),e}function pu(e,t){return(e.flags&(t?8:16))!==0}function wM(e,t,n){let r=w(),o=ou(r,e,t,n);lu(Mr,au,o,!0)}var Ti=class{destroy(t){}updateValue(t,n){}swap(t,n){let r=Math.min(t,n),o=Math.max(t,n),i=this.detach(o);if(o-r>1){let s=this.detach(r);this.attach(r,i),this.attach(o,s)}else this.attach(r,i)}move(t,n){this.attach(n,this.detach(t))}};function _o(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function Hg(e,t,n){let r,o,i=0,s=e.length-1;if(Array.isArray(t)){let a=t.length-1;for(;i<=s&&i<=a;){let c=e.at(i),l=t[i],u=_o(i,c,i,l,n);if(u!==0){u<0&&e.updateValue(i,l),i++;continue}let d=e.at(s),f=t[a],p=_o(s,d,a,f,n);if(p!==0){p<0&&e.updateValue(s,f),s--,a--;continue}let h=n(i,c),E=n(s,d),N=n(i,l);if(Object.is(N,E)){let C=n(a,f);Object.is(C,h)?(e.swap(i,s),e.updateValue(s,f),a--,s--):e.move(s,i),e.updateValue(i,l),i++;continue}if(r??=new dr,o??=Ya(e,i,s,n),Ni(e,r,i,N))e.updateValue(i,l),i++,s++;else if(o.has(N))r.set(h,e.detach(i)),s--;else{let C=e.create(i,t[i]);e.attach(i,C),i++,s++}}for(;i<=a;)Za(e,r,n,i,t[i]),i++}else if(t!=null){let a=t[Symbol.iterator](),c=a.next();for(;!c.done&&i<=s;){let l=e.at(i),u=c.value,d=_o(i,l,i,u,n);if(d!==0)d<0&&e.updateValue(i,u),i++,c=a.next();else{r??=new dr,o??=Ya(e,i,s,n);let f=n(i,u);if(Ni(e,r,i,f))e.updateValue(i,u),i++,s++,c=a.next();else if(!o.has(f))e.attach(i,e.create(i,u)),i++,s++,c=a.next();else{let p=n(i,l);r.set(p,e.detach(i)),s--}}}for(;!c.done;)Za(e,r,n,e.length,c.value),c=a.next()}for(;i<=s;)e.destroy(e.detach(s--));r?.forEach(a=>{e.destroy(a)})}function Ni(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function Za(e,t,n,r,o){if(Ni(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function Ya(e,t,n,r){let o=new Set;for(let i=t;i<=n;i++)o.add(r(i,e.at(i)));return o}var dr=class{constructor(){this.kvMap=new Map,this._vMap=void 0}has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let n=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),t(r,n)}}};function EM(e,t,n){jr("NgControlFlow");let r=w(),o=rt(),i=Pi(r,F+e),s=0;if(K(r,o,t)){let a=R(null);try{if(eu(i,s),t!==-1){let c=Ri(r[I],F+t),l=Jt(i,c.tView.ssrId),u=Vr(r,c,n,{dehydratedView:l});Hr(i,u,s,Kt(c,l))}}finally{R(a)}}else{let a=Xl(i,s);a!==void 0&&(a[V]=n)}}var Si=class{constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-H}};function DM(e,t){return t}var Ai=class{constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function bM(e,t,n,r,o,i,s,a,c,l,u,d,f){jr("NgControlFlow");let p=c!==void 0,h=w(),E=a?s.bind(h[J][V]):s,N=new Ai(p,E);h[F+e]=N,xi(e+1,t,n,r,o,i),p&&xi(e+2,c,l,u,d,f)}var Oi=class extends Ti{constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-H}at(t){return this.getLView(t)[V].$implicit}attach(t,n){let r=n[bt];this.needsIndexUpdate||=t!==this.length,Hr(this.lContainer,n,t,Kt(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,$g(this.lContainer,t)}create(t,n){let r=Jt(this.lContainer,this.templateTNode.tView.ssrId);return Vr(this.hostLView,this.templateTNode,new Si(this.lContainer,n,t),{dehydratedView:r})}destroy(t){Tr(t[I],t)}updateValue(t,n){this.getLView(t)[V].$implicit=n}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t(xr(!0),ul(r,o,Jf()));function Gg(e,t,n,r,o){let i=t.consts,s=Mt(i,r),a=At(t,e,8,"ng-container",s);s!==null&&ar(a,s,!0);let c=Mt(i,o);return Is(t,n,a,c),t.queries!==null&&t.queries.elementStart(t,a),a}function gu(e,t,n){let r=w(),o=A(),i=e+F,s=o.firstCreatePass?Gg(i,o,r,t,n):o.data[i];nt(s,!0);let a=Qg(o,r,s,e);return r[i]=a,br()&&Nr(o,r,a,s),Se(a,r),wr(s)&&(ms(o,r,s),hs(o,s,r)),n!=null&&gs(r,s),gu}function vu(){let e=$(),t=A();return Xi()?es():(e=e.parent,nt(e,!1)),t.firstCreatePass&&(Cr(t,e),Qi(e)&&t.queries.elementEnd(e)),vu}function zg(e,t,n){return gu(e,t,n),vu(),zg}var Qg=(e,t,n,r)=>(xr(!0),Yp(t[S],""));function CM(){return w()}function Zg(e,t,n){let r=w(),o=rt();if(K(r,o,t)){let i=A(),s=Dr();ys(i,s,r,e,t,r[S],n,!0)}return Zg}function Yg(e,t,n){let r=w(),o=rt();if(K(r,o,t)){let i=A(),s=Dr(),a=ts(i.data),c=Wl(a,s,r);ys(i,s,r,e,t,c,n,!0)}return Yg}var Ue=void 0;function Jg(e){let t=e,n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return n===1&&r===0?1:5}var Kg=["en",[["a","p"],["AM","PM"],Ue],[["AM","PM"],Ue,Ue],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Ue,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Ue,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Ue,"{1} 'at' {0}",Ue],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",Jg],Ht={};function MM(e,t,n){typeof t!="string"&&(n=t,t=e[ki.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),Ht[t]=e,n&&(Ht[t][ki.ExtraData]=n)}function _M(e){let t=Xg(e),n=Ja(t);if(n)return n;let r=t.split("-")[0];if(n=Ja(r),n)return n;if(r==="en")return Kg;throw new _(701,!1)}function Ja(e){return e in Ht||(Ht[e]=Y.ng&&Y.ng.common&&Y.ng.common.locales&&Y.ng.common.locales[e]),Ht[e]}var ki=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(ki||{});function Xg(e){return e.toLowerCase().replace(/_/g,"-")}var fr="en-US",ev="USD";var tv=fr;function nv(e){typeof e=="string"&&(tv=e.toLowerCase().replace(/_/g,"-"))}function yu(e){return!!e&&typeof e.then=="function"}function rv(e){return!!e&&typeof e.subscribe=="function"}function ov(e,t,n,r){let o=w(),i=A(),s=$();return Iu(i,o,o[S],s,e,t,r),ov}function iv(e,t){let n=$(),r=w(),o=A(),i=ts(o.data),s=Wl(i,n,r);return Iu(o,r,s,n,e,t),iv}function sv(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;ic?a[c]:null}typeof s=="string"&&(i+=2)}return null}function Iu(e,t,n,r,o,i,s){let a=wr(r),l=e.firstCreatePass&&ql(e),u=t[V],d=Bl(t),f=!0;if(r.type&3||s){let E=X(r,t),N=s?s(E):E,C=d.length,j=s?ee=>s(he(ee[r.index])):r.index,ve=null;if(!s&&a&&(ve=sv(e,t,o,r.index)),ve!==null){let ee=ve.__ngLastListenerFn__||ve;ee.__ngNextListenerFn__=i,ve.__ngLastListenerFn__=i,f=!1}else{i=Xa(r,t,u,i,!1);let ee=n.listen(N,o,i);d.push(i,ee),l&&l.push(o,j,C,C+1)}}else i=Xa(r,t,u,i,!1);let p=r.outputs,h;if(f&&p!==null&&(h=p[o])){let E=h.length;if(E)for(let N=0;N-1?Ae(e.index,t):t;Es(a);let c=Ka(t,n,r,s),l=i.__ngNextListenerFn__;for(;l;)c=Ka(t,n,l,s)&&c,l=l.__ngNextListenerFn__;return o&&c===!1&&s.preventDefault(),c}}function TM(e=1){return Zf(e)}function av(e,t){let n=null,r=ff(e);for(let o=0;o{let t=class t{};t.__NG_ELEMENT_ID__=dv;let e=t;return e})(),lv=pr,uv=class extends lv{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=Vr(this._declarationLView,this._declarationTContainer,t,{injector:n,dehydratedView:r});return new Xe(o)}};function dv(){return Ur($(),w())}function Ur(e,t){return e.type&4?new uv(t,e,St(e,t)):null}var Fi=class e{constructor(t){this.queryList=t,this.matches=null}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},ji=class e{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;i0)r.push(s[a/2]);else{let l=i[a+1],u=t[-c];for(let d=H;d=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function LM(e){let t=Bf();return Yi(t,F+e)}function FM(e,t=""){let n=w(),r=A(),o=e+F,i=r.firstCreatePass?At(r,o,1,t,null):r.data[o],s=Iv(r,n,i,t,e);n[o]=s,br()&&Nr(r,n,s,i),nt(i,!1)}var Iv=(e,t,n,r,o)=>(xr(!0),Qp(t[S],r));function wv(e){return xu("",e,""),wv}function xu(e,t,n){let r=w(),o=ou(r,e,t,n);return o!==ge&&xm(r,Oe(),o),xu}function Ev(e,t,n){let r=A();if(r.firstCreatePass){let o=De(e);Ui(n,r.data,r.blueprint,o,!0),Ui(t,r.data,r.blueprint,o,!1)}}function Ui(e,t,n,r,o){if(e=B(e),Array.isArray(e))for(let i=0;i>20;if(_t(e)||!e.multi){let p=new Ye(l,o,kr),h=No(c,t,o?u:u+f,d);h===-1?(Ho(Xn(a,s),i,c),To(i,e,t.length),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(p),s.push(p)):(n[h]=p,s[h]=p)}else{let p=No(c,t,u+f,d),h=No(c,t,u,u+f),E=p>=0&&n[p],N=h>=0&&n[h];if(o&&!N||!o&&!E){Ho(Xn(a,s),i,c);let C=xv(o?bv:Dv,n.length,o,r,l);!o&&N&&(n[h].providerFactory=C),To(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(C),s.push(C)}else{let C=Cu(n[o?h:p],l,!o&&r);To(i,e,p>-1?p:h,C)}!o&&r&&N&&n[h].componentProviders++}}}function To(e,t,n,r){let o=_t(t),i=Mp(t);if(o||i){let c=(i?B(t.useClass):t).prototype.ngOnDestroy;if(c){let l=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let u=l.indexOf(n);u===-1?l.push(n,[r,c]):l[u+1].push(r,c)}else l.push(n,c)}}}function Cu(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function No(e,t,n,r){for(let o=n;o{n.providersResolver=(r,o)=>Ev(r,o?o(e):e,t)}}var Cv=(()=>{let t=class t{constructor(r){this._injector=r,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(r){if(!r.standalone)return null;if(!this.cachedInjectors.has(r)){let o=tl(!1,r.type),i=o.length>0?fg([o],this._injector,`Standalone[${r.type.name}]`):null;this.cachedInjectors.set(r,i)}return this.cachedInjectors.get(r)}ngOnDestroy(){try{for(let r of this.cachedInjectors.values())r!==null&&r.destroy()}finally{this.cachedInjectors.clear()}}};t.\u0275prov=Q({token:t,providedIn:"environment",factory:()=>new t(Te(Ne))});let e=t;return e})();function VM(e){jr("NgStandalone"),e.getStandaloneInjector=t=>t.get(Cv).getOrCreateStandaloneInjector(e)}function HM(e,t,n){let r=Er()+e,o=w();return o[r]===ge?$r(o,r,n?t.call(n):t()):pg(o,r)}function $M(e,t,n,r){return Mv(w(),Er(),e,t,n,r)}function Ms(e,t){let n=e[t];return n===ge?void 0:n}function Mv(e,t,n,r,o,i){let s=t+n;return K(e,s,o)?$r(e,s+1,i?r.call(i,o):r(o)):Ms(e,s+1)}function _v(e,t,n,r,o,i,s){let a=t+n;return bi(e,a,o,i)?$r(e,a+2,s?r.call(s,o,i):r(o,i)):Ms(e,a+2)}function Tv(e,t,n,r,o,i,s,a,c){let l=t+n;return hg(e,l,o,i,s,a)?$r(e,l+4,c?r.call(c,o,i,s,a):r(o,i,s,a)):Ms(e,l+4)}function UM(e,t){let n=A(),r,o=e+F;n.firstCreatePass?(r=Nv(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];let i=r.factory||(r.factory=Qe(r.type,!0)),s,a=W(kr);try{let c=Kn(!1),l=i();return Kn(c),yv(n,w(),o,l),l}finally{W(a)}}function Nv(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function BM(e,t,n,r){let o=e+F,i=w(),s=Yi(i,o);return Mu(i,o)?_v(i,Er(),t,s.transform,n,r,s):s.transform(n,r)}function qM(e,t,n,r,o,i){let s=e+F,a=w(),c=Yi(a,s);return Mu(a,s)?Tv(a,Er(),t,c.transform,n,r,o,i,c):c.transform(n,r,o,i)}function Mu(e,t){return e[I].data[t].pure}function WM(e,t){return Ur(e,t)}var GM=(()=>{let t=class t{log(r){console.log(r)}warn(r){console.warn(r)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=Q({token:t,factory:t.\u0275fac,providedIn:"platform"});let e=t;return e})(),qi=class{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},zM=(()=>{let t=class t{compileModuleSync(r){return new Di(r)}compileModuleAsync(r){return Promise.resolve(this.compileModuleSync(r))}compileModuleAndAllComponentsSync(r){let o=this.compileModuleSync(r),i=yc(r),s=al(i.declarations).reduce((a,c)=>{let l=We(c);return l&&a.push(new Yt(l)),a},[]);return new qi(o,s)}compileModuleAndAllComponentsAsync(r){return Promise.resolve(this.compileModuleAndAllComponentsSync(r))}clearCache(){}clearCacheFor(r){}getModuleId(r){}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=Q({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var Sv=new O("");var Av=new O(""),_u=(()=>{let t=class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,o)=>{this.resolve=r,this.reject=o}),this.appInits=k(Av,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let r=[];for(let i of this.appInits){let s=i();if(yu(s))r.push(s);else if(rv(s)){let a=new Promise((c,l)=>{s.subscribe({complete:c,error:l})});r.push(a)}}let o=()=>{this.done=!0,this.resolve()};Promise.all(r).then(()=>{o()}).catch(i=>{this.reject(i)}),r.length===0&&o(),this.initialized=!0}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=Q({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),Ov=new O("");function Pv(){Ls(()=>{throw new _(600,!1)})}function Rv(e){return e.isBoundToModule}function kv(e,t,n){try{let r=n();return yu(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var Tu=(()=>{let t=class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=k(Ol),this.afterRenderEffectManager=k(bs),this.componentTypes=[],this.components=[],this.isStable=k(ru).hasPendingTasks.pipe(we(r=>!r)),this._injector=k(Ne)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(r,o){let i=r instanceof or;if(!this._injector.get(_u).done){let p=!i&&Ef(r),h=!1;throw new _(405,h)}let a;i?a=r:a=this._injector.get(Pr).resolveComponentFactory(r),this.componentTypes.push(a.componentType);let c=Rv(a)?void 0:this._injector.get(et),l=o||a.selector,u=a.create(_r.NULL,[],l,c),d=u.location.nativeElement,f=u.injector.get(Sv,null);return f?.registerApplication(d),u.onDestroy(()=>{this.detachView(u.hostView),So(this.components,u),f?.unregisterApplication(d)}),this._loadComponent(u),u}tick(){if(this._runningTick)throw new _(101,!1);try{this._runningTick=!0,this.detectChangesInAttachedViews()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1}}detectChangesInAttachedViews(){let r=0;do{if(r===zl)throw new _(103,!1);let o=r===0;for(let{_lView:i,notifyErrorHandler:s}of this._views)!o&&!ec(i)||this.detectChangesInView(i,s,o);this.afterRenderEffectManager.execute(),r++}while(this._views.some(({_lView:o})=>ec(o)))}detectChangesInView(r,o,i){let s;i?(s=0,r[v]|=1024):r[v]&64?s=0:s=1,Ql(r,o,s)}attachView(r){let o=r;this._views.push(o),o.attachToAppRef(this)}detachView(r){let o=r;So(this._views,o),o.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView),this.tick(),this.components.push(r);let o=this._injector.get(Ov,[]);[...this._bootstrapListeners,...o].forEach(i=>i(r))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(r=>r()),this._views.slice().forEach(r=>r.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(r){return this._destroyListeners.push(r),()=>So(this._destroyListeners,r)}destroy(){if(this._destroyed)throw new _(406,!1);let r=this._injector;r.destroy&&!r.destroyed&&r.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=Q({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function So(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function ec(e){return Ki(e)}var Lv=(()=>{let t=class t{constructor(){this.zone=k(se),this.applicationRef=k(Tu)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=Q({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Fv(e){return[{provide:se,useFactory:e},{provide:tr,multi:!0,useFactory:()=>{let t=k(Lv,{optional:!0});return()=>t.initialize()}},{provide:tr,multi:!0,useFactory:()=>{let t=k($v);return()=>{t.initialize()}}},{provide:Ol,useFactory:jv}]}function jv(){let e=k(se),t=k(Ke);return n=>e.runOutsideAngular(()=>t.handleError(n))}function Vv(e){let t=Fv(()=>new se(Hv(e)));return Ep([[],t])}function Hv(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var $v=(()=>{let t=class t{constructor(){this.subscription=new P,this.initialized=!1,this.zone=k(se),this.pendingTasks=k(ru)}initialize(){if(this.initialized)return;this.initialized=!0;let r=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(r=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{se.assertNotInAngularZone(),queueMicrotask(()=>{r!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(r),r=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{se.assertInAngularZone(),r??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=Q({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Uv(){return typeof $localize<"u"&&$localize.locale||fr}var Nu=new O("",{providedIn:"root",factory:()=>k(Nu,x.Optional|x.SkipSelf)||Uv()}),QM=new O("",{providedIn:"root",factory:()=>ev});var Su=new O("");var Gn=null;function Bv(e=[],t){return _r.create({name:t,providers:[{provide:ol,useValue:"platform"},{provide:Su,useValue:new Set([()=>Gn=null])},...e]})}function qv(e=[]){if(Gn)return Gn;let t=Bv(e);return Gn=t,Pv(),Wv(t),t}function Wv(e){e.get(Lp,null)?.forEach(n=>n())}function ZM(e){try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=qv(r),i=[Vv(),...n||[]],a=new lr({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1}).injector,c=a.get(se);return c.run(()=>{a.resolveInjectorInitializers();let l=a.get(Ke,null),u;c.runOutsideAngular(()=>{u=c.onError.subscribe({next:p=>{l.handleError(p)}})});let d=()=>a.destroy(),f=o.get(Su);return f.add(d),a.onDestroy(()=>{u.unsubscribe(),f.delete(d)}),kv(l,c,()=>{let p=a.get(_u);return p.runInitializers(),p.donePromise.then(()=>{let h=a.get(Nu,fr);nv(h||fr);let E=a.get(Tu);return t!==void 0&&E.bootstrap(t),E})})})}catch(t){return Promise.reject(t)}}function YM(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function JM(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}export{sn as a,an as b,Gv as c,P as d,Bu as e,b as f,no as g,ro as h,ce as i,Ot as j,Zu as k,je as l,ue as m,rd as n,od as o,id as p,He as q,we as r,pd as s,ne as t,Lt as u,pt as v,md as w,gd as x,ao as y,bd as z,$e as A,xd as B,co as C,Cd as D,Md as E,Ft as F,ht as G,lo as H,_d as I,Td as J,Ad as K,pa as L,fo as M,Od as N,Pd as O,ho as P,Rd as Q,kd as R,Ld as S,Fd as T,jd as U,Vd as V,ha as W,_ as X,z as Y,nc as Z,Q as _,UC as $,BC as aa,x as ba,O as ca,Te as da,k as ea,Ut as fa,Dt as ga,qC as ha,WC as ia,GC as ja,zC as ka,xf as la,QC as ma,ZC as na,YC as oa,JC as pa,KC as qa,XC as ra,Ip as sa,wp as ta,Ep as ua,Dp as va,ol as wa,Ne as xa,eM as ya,_r as za,tM as Aa,nM as Ba,Lp as Ca,Fp as Da,rM as Ea,oM as Fa,Go as Ga,Or as Ha,wl as Ia,iM as Ja,sM as Ka,aM as La,cM as Ma,lM as Na,El as Oa,uM as Pa,fs as Qa,Sh as Ra,dM as Sa,ni as Ta,Pr as Ua,Rr as Va,ii as Wa,fM as Xa,Wh as Ya,Ke as Za,pM as _a,kr as $a,hM as ab,mM as bb,jt as cb,se as db,Vm as eb,Km as fb,gM as gb,Cs as hb,wi as ib,fg as jb,ru as kb,xi as lb,yg as mb,Ng as nb,Sg as ob,Ag as pb,IM as qb,wM as rb,EM as sb,DM as tb,bM as ub,xM as vb,hu as wb,mu as xb,qg as yb,gu as zb,vu as Ab,zg as Bb,CM as Cb,Zg as Db,Yg as Eb,MM as Fb,_M as Gb,ki as Hb,yu as Ib,ov as Jb,iv as Kb,TM as Lb,NM as Mb,SM as Nb,Li as Ob,pr as Pb,OM as Qb,PM as Rb,RM as Sb,kM as Tb,LM as Ub,FM as Vb,wv as Wb,xu as Xb,jM as Yb,VM as Zb,HM as _b,$M as $b,UM as ac,BM as bc,qM as cc,WM as dc,GM as ec,zM as fc,Ov as gc,Tu as hc,Nu as ic,QM as jc,ZM as kc,YM as lc,JM as mc};