var fp=Object.defineProperty,pp=Object.defineProperties;var hp=Object.getOwnPropertyDescriptors;var Vn=Object.getOwnPropertySymbols;var Ba=Object.prototype.hasOwnProperty,Ha=Object.prototype.propertyIsEnumerable;var ja=(e,t,n)=>t in e?fp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ne=(e,t)=>{for(var n in t||={})Ba.call(t,n)&&ja(e,n,t[n]);if(Vn)for(var n of Vn(t))Ha.call(t,n)&&ja(e,n,t[n]);return e},xe=(e,t)=>pp(e,hp(t));var Ww=(e,t)=>{var n={};for(var r in e)Ba.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Vn)for(var r of Vn(e))t.indexOf(r)<0&&Ha.call(e,r)&&(n[r]=e[r]);return n};var jn=(e,t,n)=>new Promise((r,o)=>{var i=c=>{try{a(n.next(c))}catch(u){o(u)}},s=c=>{try{a(n.throw(c))}catch(u){o(u)}},a=c=>c.done?r(c.value):Promise.resolve(c.value).then(i,s);a((n=n.apply(e,t)).next())});function gp(e,t){return Object.is(e,t)}var H=null,Bn=!1,Ho=1,be=Symbol("SIGNAL");function M(e){let t=H;return H=e,t}function Ua(){return H}var Hn={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function $o(e){if(Bn)throw new Error("");if(H===null)return;H.consumerOnSignalRead(e);let t=H.nextProducerIndex++;if(Un(H),te.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function zo(e){Un(e);for(let t=0;t0}function Un(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function Za(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function Ya(e){return e.producerNode!==void 0}function Dp(){throw new Error}var Qa=Dp;function Ka(){Qa()}function Xa(e){Qa=e}var Ep=null;function Ja(e){let t=Object.create(Wo);t.value=e;let n=()=>($o(t),t.value);return n[be]=t,n}function zn(e,t){Ga()||Ka(),e.equal(e.value,t)||(e.value=t,Ip(e))}function ec(e,t){Ga()||Ka(),zn(e,t(e.value))}var Wo=xe(Ne({},Hn),{equal:gp,value:void 0,kind:"signal"});function Ip(e){e.version++,mp(),za(e),Ep?.()}function E(e){return typeof e=="function"}function Nt(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 Gn=Nt(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 ln(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var $=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(E(r))try{r()}catch(i){t=i instanceof Gn?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{tc(i)}catch(s){t=t??[],s instanceof Gn?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Gn(t)}}add(t){var n;if(t&&t!==this)if(this.closed)tc(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)&&ln(n,t)}remove(t){let{_finalizers:n}=this;n&&ln(n,t),t instanceof e&&t._removeParent(this)}};$.EMPTY=(()=>{let e=new $;return e.closed=!0,e})();var qo=$.EMPTY;function Wn(e){return e instanceof $||e&&"closed"in e&&E(e.remove)&&E(e.add)&&E(e.unsubscribe)}function tc(e){E(e)?e():e.unsubscribe()}var ye={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var xt={setTimeout(e,t,...n){let{delegate:r}=xt;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=xt;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function qn(e){xt.setTimeout(()=>{let{onUnhandledError:t}=ye;if(t)t(e);else throw e})}function dn(){}var nc=Zo("C",void 0,void 0);function rc(e){return Zo("E",void 0,e)}function oc(e){return Zo("N",e,void 0)}function Zo(e,t,n){return{kind:e,value:t,error:n}}var st=null;function At(e){if(ye.useDeprecatedSynchronousErrorHandling){let t=!st;if(t&&(st={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=st;if(st=null,n)throw r}}else e()}function ic(e){ye.useDeprecatedSynchronousErrorHandling&&st&&(st.errorThrown=!0,st.error=e)}var at=class extends ${constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Wn(t)&&t.add(this)):this.destination=bp}static create(t,n,r){return new Ae(t,n,r)}next(t){this.isStopped?Qo(oc(t),this):this._next(t)}error(t){this.isStopped?Qo(rc(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Qo(nc,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()}}},wp=Function.prototype.bind;function Yo(e,t){return wp.call(e,t)}var Ko=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Zn(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Zn(r)}else Zn(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Zn(n)}}},Ae=class extends at{constructor(t,n,r){super();let o;if(E(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&ye.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Yo(t.next,i),error:t.error&&Yo(t.error,i),complete:t.complete&&Yo(t.complete,i)}):o=t}this.destination=new Ko(o)}};function Zn(e){ye.useDeprecatedSynchronousErrorHandling?ic(e):qn(e)}function Cp(e){throw e}function Qo(e,t){let{onStoppedNotification:n}=ye;n&&xt.setTimeout(()=>n(e,t))}var bp={closed:!0,next:dn,error:Cp,complete:dn};var Ot=typeof Symbol=="function"&&Symbol.observable||"@@observable";function re(e){return e}function Tp(...e){return Xo(e)}function Xo(e){return e.length===0?re:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var A=(()=>{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=Mp(n)?n:new Ae(n,r,o);return At(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return r=sc(r),new r((o,i)=>{let s=new Ae({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)}[Ot](){return this}pipe(...n){return Xo(n)(this)}toPromise(n){return n=sc(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 sc(e){var t;return(t=e??ye.Promise)!==null&&t!==void 0?t:Promise}function _p(e){return e&&E(e.next)&&E(e.error)&&E(e.complete)}function Mp(e){return e&&e instanceof at||_p(e)&&Wn(e)}function Jo(e){return E(e?.lift)}function b(e){return t=>{if(Jo(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 T(e,t,n,r,o){return new ei(e,t,n,r,o)}var ei=class extends at{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 ti(){return b((e,t)=>{let n=null;e._refCount++;let r=T(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 ni=class extends A{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,Jo(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 $;let n=this.getSubject();t.add(this.source.subscribe(T(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=$.EMPTY)}return t}refCount(){return ti()(this)}};var ac=Nt(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var de=(()=>{class e extends A{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new Yn(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new ac}next(n){At(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){At(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){At(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){let{hasError:r,isStopped:o,observers:i}=this;return r||o?qo:(this.currentObservers=null,i.push(n),new $(()=>{this.currentObservers=null,ln(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new A;return n.source=this,n}}return e.create=(t,n)=>new Yn(t,n),e})(),Yn=class extends de{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:qo}};var fn=class extends de{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 pn=new A(e=>e.complete());function cc(e){return e&&E(e.schedule)}function uc(e){return e[e.length-1]}function Qn(e){return E(uc(e))?e.pop():void 0}function ze(e){return cc(uc(e))?e.pop():void 0}function dc(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(l){try{u(r.next(l))}catch(d){s(d)}}function c(l){try{u(r.throw(l))}catch(d){s(d)}}function u(l){l.done?i(l.value):o(l.value).then(a,c)}u((r=r.apply(e,t||[])).next())})}function lc(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 ct(e){return this instanceof ct?(this.v=e,this):new ct(e)}function fc(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(f){return function(h){return Promise.resolve(h).then(f,d)}}function a(f,h){r[f]&&(o[f]=function(g){return new Promise(function(x,w){i.push([f,g,x,w])>1||c(f,g)})},h&&(o[f]=h(o[f])))}function c(f,h){try{u(r[f](h))}catch(g){p(i[0][3],g)}}function u(f){f.value instanceof ct?Promise.resolve(f.value.v).then(l,d):p(i[0][2],f)}function l(f){c("next",f)}function d(f){c("throw",f)}function p(f,h){f(h),i.shift(),i.length&&c(i[0][0],i[0][1])}}function pc(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 lc=="function"?lc(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(u){i({value:u,done:a})},s)}}var Kn=e=>e&&typeof e.length=="number"&&typeof e!="function";function Xn(e){return E(e?.then)}function Jn(e){return E(e[Ot])}function er(e){return Symbol.asyncIterator&&E(e?.[Symbol.asyncIterator])}function tr(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 Sp(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var nr=Sp();function rr(e){return E(e?.[nr])}function or(e){return fc(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield ct(n.read());if(o)return yield ct(void 0);yield yield ct(r)}}finally{n.releaseLock()}})}function ir(e){return E(e?.getReader)}function V(e){if(e instanceof A)return e;if(e!=null){if(Jn(e))return Np(e);if(Kn(e))return xp(e);if(Xn(e))return Ap(e);if(er(e))return hc(e);if(rr(e))return Op(e);if(ir(e))return Rp(e)}throw tr(e)}function Np(e){return new A(t=>{let n=e[Ot]();if(E(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function xp(e){return new A(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,qn)})}function Op(e){return new A(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function hc(e){return new A(t=>{Fp(e,t).catch(n=>t.error(n))})}function Rp(e){return hc(or(e))}function Fp(e,t){var n,r,o,i;return dc(this,void 0,void 0,function*(){try{for(n=pc(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 X(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 sr(e,t=0){return b((n,r)=>{n.subscribe(T(r,o=>X(r,e,()=>r.next(o),t),()=>X(r,e,()=>r.complete(),t),o=>X(r,e,()=>r.error(o),t)))})}function ar(e,t=0){return b((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function gc(e,t){return V(e).pipe(ar(t),sr(t))}function mc(e,t){return V(e).pipe(ar(t),sr(t))}function yc(e,t){return new A(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function vc(e,t){return new A(n=>{let r;return X(n,t,()=>{r=e[nr](),X(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)}),()=>E(r?.return)&&r.return()})}function cr(e,t){if(!e)throw new Error("Iterable cannot be null");return new A(n=>{X(n,t,()=>{let r=e[Symbol.asyncIterator]();X(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Dc(e,t){return cr(or(e),t)}function Ec(e,t){if(e!=null){if(Jn(e))return gc(e,t);if(Kn(e))return yc(e,t);if(Xn(e))return mc(e,t);if(er(e))return cr(e,t);if(rr(e))return vc(e,t);if(ir(e))return Dc(e,t)}throw tr(e)}function Ge(e,t){return t?Ec(e,t):V(e)}function kp(...e){let t=ze(e);return Ge(e,t)}function Pp(e,t){let n=E(e)?e:()=>e,r=o=>o.error(n());return new A(t?o=>t.schedule(r,0,o):r)}function Lp(e){return!!e&&(e instanceof A||E(e.lift)&&E(e.subscribe))}var ut=Nt(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function lt(e,t){return b((n,r)=>{let o=0;n.subscribe(T(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:Vp}=Array;function jp(e,t){return Vp(t)?e(...t):e(t)}function ur(e){return lt(t=>jp(e,t))}var{isArray:Bp}=Array,{getPrototypeOf:Hp,prototype:$p,keys:Up}=Object;function lr(e){if(e.length===1){let t=e[0];if(Bp(t))return{args:t,keys:null};if(zp(t)){let n=Up(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function zp(e){return e&&typeof e=="object"&&Hp(e)===$p}function dr(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function Gp(...e){let t=ze(e),n=Qn(e),{args:r,keys:o}=lr(e);if(r.length===0)return Ge([],t);let i=new A(Wp(r,t,o?s=>dr(o,s):re));return n?i.pipe(ur(n)):i}function Wp(e,t,n=re){return r=>{Ic(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c{let u=Ge(e[c],t),l=!1;u.subscribe(T(r,d=>{i[c]=d,l||(l=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Ic(e,t,n){e?X(n,e,t):t()}function wc(e,t,n,r,o,i,s,a){let c=[],u=0,l=0,d=!1,p=()=>{d&&!c.length&&!u&&t.complete()},f=g=>u{i&&t.next(g),u++;let x=!1;V(n(g,l++)).subscribe(T(t,w=>{o?.(w),i?f(w):t.next(w)},()=>{x=!0},void 0,()=>{if(x)try{for(u--;c.length&&uh(w)):h(w)}p()}catch(w){t.error(w)}}))};return e.subscribe(T(t,f,()=>{d=!0,p()})),()=>{a?.()}}function dt(e,t,n=1/0){return E(t)?dt((r,o)=>lt((i,s)=>t(r,i,o,s))(V(e(r,o))),n):(typeof t=="number"&&(n=t),b((r,o)=>wc(r,o,e,n)))}function ri(e=1/0){return dt(re,e)}function Cc(){return ri(1)}function fr(...e){return Cc()(Ge(e,ze(e)))}function qp(e){return new A(t=>{V(e()).subscribe(t)})}function Zp(...e){let t=Qn(e),{args:n,keys:r}=lr(e),o=new A(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),c=s,u=s;for(let l=0;l{d||(d=!0,u--),a[l]=p},()=>c--,void 0,()=>{(!c||!d)&&(u||i.next(r?dr(r,a):a),i.complete())}))}});return t?o.pipe(ur(t)):o}function hn(e,t){return b((n,r)=>{let o=0;n.subscribe(T(r,i=>e.call(t,i,o++)&&r.next(i)))})}function bc(e){return b((t,n)=>{let r=null,o=!1,i;r=t.subscribe(T(n,void 0,void 0,s=>{i=V(e(s,bc(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function Tc(e,t,n,r,o){return(i,s)=>{let a=n,c=t,u=0;i.subscribe(T(s,l=>{let d=u++;c=a?e(c,l,d):(a=!0,l),r&&s.next(c)},o&&(()=>{a&&s.next(c),s.complete()})))}}function Yp(e,t){return E(t)?dt(e,t,1):dt(e,1)}function gn(e){return b((t,n)=>{let r=!1;t.subscribe(T(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function oi(e){return e<=0?()=>pn:b((t,n)=>{let r=0;t.subscribe(T(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function pr(e=Qp){return b((t,n)=>{let r=!1;t.subscribe(T(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function Qp(){return new ut}function Kp(e){return b((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function Xp(e,t){let n=arguments.length>=2;return r=>r.pipe(e?hn((o,i)=>e(o,i,r)):re,oi(1),n?gn(t):pr(()=>new ut))}function ii(e){return e<=0?()=>pn:b((t,n)=>{let r=[];t.subscribe(T(n,o=>{r.push(o),e{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function Jp(e,t){let n=arguments.length>=2;return r=>r.pipe(e?hn((o,i)=>e(o,i,r)):re,ii(1),n?gn(t):pr(()=>new ut))}function eh(e,t){return b(Tc(e,t,arguments.length>=2,!0))}function th(e={}){let{connector:t=()=>new de,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,c,u=0,l=!1,d=!1,p=()=>{a?.unsubscribe(),a=void 0},f=()=>{p(),s=c=void 0,l=d=!1},h=()=>{let g=s;f(),g?.unsubscribe()};return b((g,x)=>{u++,!d&&!l&&p();let w=c=c??t();x.add(()=>{u--,u===0&&!d&&!l&&(a=si(h,o))}),w.subscribe(x),!s&&u>0&&(s=new Ae({next:K=>w.next(K),error:K=>{d=!0,p(),a=si(f,n,K),w.error(K)},complete:()=>{l=!0,p(),a=si(f,r),w.complete()}}),V(g).subscribe(s))})(i)}}function si(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new Ae({next:()=>{r.unsubscribe(),e()}});return V(t(...n)).subscribe(r)}function nh(...e){let t=ze(e);return b((n,r)=>{(t?fr(e,n,t):fr(e,n)).subscribe(r)})}function rh(e,t){return b((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(T(r,c=>{o?.unsubscribe();let u=0,l=i++;V(e(c,l)).subscribe(o=T(r,d=>r.next(t?t(c,d,l,u++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function oh(e){return b((t,n)=>{V(e).subscribe(T(n,()=>n.complete(),dn)),!n.closed&&t.subscribe(n)})}function ih(e,t,n){let r=E(e)||t||n?{next:e,error:t,complete:n}:e;return r?b((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(T(i,c=>{var u;(u=r.next)===null||u===void 0||u.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var u;a=!1,(u=r.error)===null||u===void 0||u.call(r,c),i.error(c)},()=>{var c,u;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(u=r.finalize)===null||u===void 0||u.call(r)}))}):re}var di={JSACTION:"jsaction"},fi={JSACTION:"__jsaction",OWNER:"__owner"},Nc={};function sh(e){return e[fi.JSACTION]}function _c(e,t){e[fi.JSACTION]=t}function ah(e){return Nc[e]}function ch(e,t){Nc[e]=t}var m={AUXCLICK:"auxclick",CHANGE:"change",CLICK:"click",CLICKMOD:"clickmod",CLICKONLY:"clickonly",DBLCLICK:"dblclick",FOCUS:"focus",FOCUSIN:"focusin",BLUR:"blur",FOCUSOUT:"focusout",SUBMIT:"submit",KEYDOWN:"keydown",KEYPRESS:"keypress",KEYUP:"keyup",MOUSEUP:"mouseup",MOUSEDOWN:"mousedown",MOUSEOVER:"mouseover",MOUSEOUT:"mouseout",MOUSEENTER:"mouseenter",MOUSELEAVE:"mouseleave",MOUSEMOVE:"mousemove",POINTERUP:"pointerup",POINTERDOWN:"pointerdown",POINTEROVER:"pointerover",POINTEROUT:"pointerout",POINTERENTER:"pointerenter",POINTERLEAVE:"pointerleave",POINTERMOVE:"pointermove",POINTERCANCEL:"pointercancel",GOTPOINTERCAPTURE:"gotpointercapture",LOSTPOINTERCAPTURE:"lostpointercapture",ERROR:"error",LOAD:"load",UNLOAD:"unload",TOUCHSTART:"touchstart",TOUCHEND:"touchend",TOUCHMOVE:"touchmove",INPUT:"input",SCROLL:"scroll",TOGGLE:"toggle",CUSTOM:"_custom"},uh=[m.MOUSEENTER,m.MOUSELEAVE,"pointerenter","pointerleave"],gS=[m.CLICK,m.DBLCLICK,m.FOCUSIN,m.FOCUSOUT,m.KEYDOWN,m.KEYUP,m.KEYPRESS,m.MOUSEOVER,m.MOUSEOUT,m.SUBMIT,m.TOUCHSTART,m.TOUCHEND,m.TOUCHMOVE,"touchcancel","auxclick","change","compositionstart","compositionupdate","compositionend","beforeinput","input","select","copy","cut","paste","mousedown","mouseup","wheel","contextmenu","dragover","dragenter","dragleave","drop","dragstart","dragend","pointerdown","pointermove","pointerup","pointercancel","pointerover","pointerout","gotpointercapture","lostpointercapture","ended","loadedmetadata","pagehide","pageshow","visibilitychange","beforematch"],lh=[m.FOCUS,m.BLUR,m.ERROR,m.LOAD,m.TOGGLE],pi=e=>lh.indexOf(e)>=0;var dh=3,fh=13,ph=32,oe={MAC_ENTER:dh,ENTER:fh,SPACE:ph};function hh(e){return e===m.MOUSEENTER?m.MOUSEOVER:e===m.MOUSELEAVE?m.MOUSEOUT:e===m.POINTERENTER?m.POINTEROVER:e===m.POINTERLEAVE?m.POINTEROUT:e}function gh(e,t,n,r){let o=!1;pi(t)&&(o=!0);let i=typeof r=="boolean"?{capture:o,passive:r}:o;return e.addEventListener(t,n,i),{eventType:t,handler:n,capture:o,passive:r}}function mh(e,t){if(e.removeEventListener){let n=typeof t.passive=="boolean"?{capture:t.capture}:t.capture;e.removeEventListener(t.eventType,t.handler,n)}else e.detachEvent&&e.detachEvent(`on${t.eventType}`,t.handler)}function yh(e){e.preventDefault?e.preventDefault():e.returnValue=!1}var Mc=typeof navigator<"u"&&/Macintosh/.test(navigator.userAgent);function vh(e){return e.which===2||e.which==null&&e.button===4}function Dh(e){return Mc&&e.metaKey||!Mc&&e.ctrlKey||vh(e)||e.shiftKey}var mS=typeof navigator<"u"&&!/Opera/.test(navigator.userAgent)&&/WebKit/.test(navigator.userAgent),yS=typeof navigator<"u"&&(/MSIE/.test(navigator.userAgent)||/Trident/.test(navigator.userAgent)),vS=typeof navigator<"u"&&!/Opera|WebKit/.test(navigator.userAgent)&&/Gecko/.test(navigator.product);function Eh(e,t,n){let r=e.relatedTarget;return(e.type===m.MOUSEOVER&&t===m.MOUSEENTER||e.type===m.MOUSEOUT&&t===m.MOUSELEAVE||e.type===m.POINTEROVER&&t===m.POINTERENTER||e.type===m.POINTEROUT&&t===m.POINTERLEAVE)&&(!r||r!==n&&!n.contains(r))}function Ih(e,t){let n={};for(let r in e){if(r==="srcElement"||r==="target")continue;let o=r,i=e[o];typeof i!="function"&&(n[o]=i)}return e.type===m.MOUSEOVER?n.type=m.MOUSEENTER:e.type===m.MOUSEOUT?n.type=m.MOUSELEAVE:e.type===m.POINTEROVER?n.type=m.POINTERENTER:n.type=m.POINTERLEAVE,n.target=n.srcElement=t,n.bubbles=!1,n._originalEvent=e,n}var DS={Enter:oe.ENTER," ":oe.SPACE},ES={A:oe.ENTER,BUTTON:0,CHECKBOX:oe.SPACE,COMBOBOX:oe.ENTER,FILE:0,GRIDCELL:oe.ENTER,LINK:oe.ENTER,LISTBOX:oe.ENTER,MENU:0,MENUBAR:0,MENUITEM:0,MENUITEMCHECKBOX:0,MENUITEMRADIO:0,OPTION:0,RADIO:oe.SPACE,RADIOGROUP:oe.SPACE,RESET:0,SUBMIT:0,SWITCH:oe.SPACE,TAB:0,TREE:oe.ENTER,TREEITEM:oe.ENTER};var wh=typeof navigator<"u"&&/iPhone|iPad|iPod/.test(navigator.userAgent),yr=class{element;handlerInfos=[];constructor(t){this.element=t}addEventListener(t,n,r){wh&&(this.element.style.cursor="pointer"),this.handlerInfos.push(gh(this.element,t,n(this.element),r))}cleanUp(){for(let t=0;t{this.eventReplayScheduled=!1,this.eventReplayer(this.replayEventInfoWrappers)}))}};function Oh(e,t){return e.tagName==="A"&&(t.getEventType()===m.CLICK||t.getEventType()===m.CLICKMOD)}var Bc=Symbol.for("propagationStopped"),gi={REPLAY:101};var Rh="`preventDefault` called during event replay.";var Fh="`composedPath` called during event replay.",vr=class{dispatchDelegate;clickModSupport;actionResolver;dispatcher;constructor(t,n=!0){this.dispatchDelegate=t,this.clickModSupport=n,this.actionResolver=new ui({clickModSupport:n}),this.dispatcher=new li(r=>{this.dispatchToDelegate(r)},{actionResolver:this.actionResolver})}dispatch(t){this.dispatcher.dispatch(t)}dispatchToDelegate(t){for(t.getIsReplay()&&Lh(t),kh(t);t.getAction();){if(Vh(t),pi(t.getEventType())&&t.getAction().element!==t.getTargetElement()||(this.dispatchDelegate(t.getEvent(),t.getAction().name),Ph(t)))return;this.actionResolver.resolveParentAction(t.eventInfo)}}};function kh(e){let t=e.getEvent(),n=e.getEvent().stopPropagation.bind(t),r=()=>{t[Bc]=!0,n()};ft(t,"stopPropagation",r),ft(t,"stopImmediatePropagation",r)}function Ph(e){return!!e.getEvent()[Bc]}function Lh(e){let t=e.getEvent(),n=e.getTargetElement(),r=t.preventDefault.bind(t);ft(t,"target",n),ft(t,"eventPhase",gi.REPLAY),ft(t,"preventDefault",()=>{throw r(),new Error(Rh+"")}),ft(t,"composedPath",()=>{throw new Error(Fh+"")})}function Vh(e){let t=e.getEvent(),n=e.getAction()?.element;n&&ft(t,"currentTarget",n,{configurable:!0})}function ft(e,t,n,{configurable:r=!1}={}){Object.defineProperty(e,t,{value:n,configurable:r})}function Hc(e,t){e.ecrd(n=>{t.dispatch(n)},jc.I_AM_THE_JSACTION_FRAMEWORK)}function jh(e){return e?.q??[]}function Bh(e){e&&(Sc(e.c,e.et,e.h),Sc(e.c,e.etc,e.h,!0))}function Sc(e,t,n,r){for(let o=0;o{class e{static MOUSE_SPECIAL_SUPPORT=Hh;containerManager;eventHandlers={};browserEventTypeToExtraEventTypes={};dispatcher=null;queuedEventInfos=[];constructor(n){this.containerManager=n}handleEvent(n,r,o){let i=Sh(n,r,r.target,o,Date.now());this.handleEventInfo(i)}handleEventInfo(n){if(!this.dispatcher){kc(n,!0),this.queuedEventInfos?.push(n);return}this.dispatcher(n)}addEvent(n,r,o){if(n in this.eventHandlers||!this.containerManager||!e.MOUSE_SPECIAL_SUPPORT&&uh.indexOf(n)>=0)return;let i=(a,c,u)=>{this.handleEvent(a,c,u)};this.eventHandlers[n]=i;let s=hh(r||n);if(s!==n){let a=this.browserEventTypeToExtraEventTypes[s]||[];a.push(n),this.browserEventTypeToExtraEventTypes[s]=a}this.containerManager.addEventListener(s,a=>c=>{i(n,c,a)},o)}replayEarlyEvents(n=window._ejsa){n&&(this.replayEarlyEventInfos(n.q),Bh(n),delete window._ejsa)}replayEarlyEventInfos(n){for(let r=0;r ")} > ${e}`:"";throw new S(-200,e)}function Bs(e,t){throw new S(-201,!1)}var _=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}(_||{}),ki;function Ju(){return ki}function J(e){let t=ki;return ki=e,t}function el(e,t,n){let r=co(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&_.Optional)return null;if(t!==void 0)return t;Bs(e,"Injector")}var Xh={},En=Xh,Jh="__NG_DI_FLAG__",Fr="ngTempTokenPath",eg="ngTokenPath",tg=/\n/gm,ng="\u0275",Zc="__source",Vt;function rg(){return Vt}function qe(e){let t=Vt;return Vt=e,t}function og(e,t=_.Default){if(Vt===void 0)throw new S(-203,!1);return Vt===null?el(e,void 0,t):Vt.get(e,t&_.Optional?null:void 0,t)}function te(e,t=_.Default){return(Ju()||og)(Z(e),t)}function y(e,t=_.Default){return te(e,uo(t))}function uo(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Pi(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):ee(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(tg,` `)}`}function gt(e,t){let n=e.hasOwnProperty(Rr);return n?e[Rr]:null}function cg(e,t,n){if(e.length!==t.length)return!1;for(let r=0;rArray.isArray(n)?Hs(n,t):t(n))}function tl(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function kr(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function lg(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 $s(e,t,n){let r=An(e,t);return r>=0?e[r|1]=n:(r=~r,dg(e,r,t,n)),r}function yi(e,t){let n=An(e,t);if(n>=0)return e[n|1]}function An(e,t){return fg(e,t,1)}function fg(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 Hs(t,s=>{let a=s;Li(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&sl(o,i),n}function sl(e,t){for(let n=0;n{t(i,r)})}}function Li(e,t,n,r){if(e=Z(e),!e)return!1;let o=null,i=Gc(e),s=!i&&Re(e);if(!i&&!s){let c=e.ngModule;if(i=Gc(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 u of c)Li(u,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let u;try{Hs(i.imports,l=>{Li(l,t,n,r)&&(u||=[],u.push(l))})}finally{}u!==void 0&&sl(u,t)}if(!a){let u=gt(o)||(()=>new o);t({provide:o,useFactory:u,deps:Oe},o),t({provide:rl,useValue:o,multi:!0},o),t({provide:$t,useValue:()=>te(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let u=e;Ws(c,l=>{t(l,u)})}}else return!1;return o!==e&&e.providers!==void 0}function Ws(e,t){for(let n of e)Xu(n)&&(n=n.\u0275providers),Array.isArray(n)?Ws(n,t):t(n)}var gg=O({provide:String,useValue:O});function al(e){return e!==null&&typeof e=="object"&&gg in e}function mg(e){return!!(e&&e.useExisting)}function yg(e){return!!(e&&e.useFactory)}function Ut(e){return typeof e=="function"}function vg(e){return!!e.useClass}var cl=new I(""),Tr={},Dg={},vi;function qs(){return vi===void 0&&(vi=new Pr),vi}var Fe=class{},wn=class extends Fe{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,ji(t,s=>this.processProvider(s)),this.records.set(nl,Rt(void 0,this)),o.has("environment")&&this.records.set(Fe,Rt(void 0,this));let i=this.records.get(cl);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(rl,Oe,_.Self))}destroy(){yn(this),this._destroyed=!0;let t=M(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),M(t)}}onDestroy(t){return yn(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){yn(this);let n=qe(this),r=J(void 0),o;try{return t()}finally{qe(n),J(r)}}get(t,n=En,r=_.Default){if(yn(this),t.hasOwnProperty(qc))return t[qc](this);r=uo(r);let o,i=qe(this),s=J(void 0);try{if(!(r&_.SkipSelf)){let c=this.records.get(t);if(c===void 0){let u=bg(t)&&co(t);u&&this.injectableDefInScope(u)?c=Rt(Vi(t),Tr):c=null,this.records.set(t,c)}if(c!=null)return this.hydrate(t,c)}let a=r&_.Self?qs():this.parent;return n=r&_.Optional&&n===En?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[Fr]=a[Fr]||[]).unshift(ee(t)),i)throw a;return sg(a,t,"R3InjectorError",this.source)}else throw a}finally{J(s),qe(i)}}resolveInjectorInitializers(){let t=M(null),n=qe(this),r=J(void 0),o;try{let i=this.get($t,Oe,_.Self);for(let s of i)s()}finally{qe(n),J(r),M(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(ee(r));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=Z(t);let n=Ut(t)?t:Z(t&&t.provide),r=Ig(t);if(!Ut(t)&&t.multi===!0){let o=this.records.get(n);o||(o=Rt(void 0,Tr,!0),o.factory=()=>Pi(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){let r=M(null);try{return n.value===Tr&&(n.value=Dg,n.value=n.factory()),typeof n.value=="object"&&n.value&&Cg(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{M(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=Z(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 Vi(e){let t=co(e),n=t!==null?t.factory:gt(e);if(n!==null)return n;if(e instanceof I)throw new S(204,!1);if(e instanceof Function)return Eg(e);throw new S(204,!1)}function Eg(e){if(e.length>0)throw new S(204,!1);let n=zh(e);return n!==null?()=>n.factory(e):()=>new e}function Ig(e){if(al(e))return Rt(void 0,e.useValue);{let t=ul(e);return Rt(t,Tr)}}function ul(e,t,n){let r;if(Ut(e)){let o=Z(e);return gt(o)||Vi(o)}else if(al(e))r=()=>Z(e.useValue);else if(yg(e))r=()=>e.useFactory(...Pi(e.deps||[]));else if(mg(e))r=()=>te(Z(e.useExisting));else{let o=Z(e&&(e.useClass||e.provide));if(wg(e))r=()=>new o(...Pi(e.deps));else return gt(o)||Vi(o)}return r}function yn(e){if(e.destroyed)throw new S(205,!1)}function Rt(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function wg(e){return!!e.deps}function Cg(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function bg(e){return typeof e=="function"||typeof e=="object"&&e instanceof I}function ji(e,t){for(let n of e)Array.isArray(n)?ji(n,t):n&&Xu(n)?ji(n.\u0275providers,t):t(n)}function ll(e,t){e instanceof wn&&yn(e);let n,r=qe(e),o=J(void 0);try{return t()}finally{qe(r),J(o)}}function dl(){return Ju()!==void 0||rg()!=null}function Tg(e){if(!dl())throw new S(-203,!1)}function _g(e){return typeof e=="function"}var ce=0,v=1,D=2,z=3,Ee=4,ne=5,pe=6,Lr=7,q=8,Ke=9,ke=10,k=11,Cn=12,Yc=13,Xt=14,Y=15,mt=16,Ft=17,Pe=18,lo=19,fl=20,Qe=21,Di=22,Vr=23,se=24,P=25,pl=1,yt=6,Le=7,jr=8,zt=9,G=10;function Ie(e){return Array.isArray(e)&&typeof e[pl]=="object"}function Me(e){return Array.isArray(e)&&e[pl]===!0}function hl(e){return(e.flags&4)!==0}function et(e){return e.componentOffset>-1}function Zs(e){return(e.flags&1)===1}function bt(e){return!!e.template}function bn(e){return(e[D]&512)!==0}function Jt(e){return(e[D]&256)===256}var Bi=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function gl(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var Mg=(()=>{let e=()=>ml;return e.ngInherit=!0,e})();function ml(e){return e.type.prototype.ngOnChanges&&(e.setInput=Ng),Sg}function Sg(){let e=vl(this),t=e?.current;if(t){let n=e.previous;if(n===In)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Ng(e,t,n,r,o){let i=this.declaredInputs[r],s=vl(e)||xg(e,{previous:In,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[i];a[i]=new Bi(u&&u.currentValue,n,c===In),gl(e,t,o,n)}var yl="__ngSimpleChanges__";function vl(e){return e[yl]||null}function xg(e,t){return e[yl]=t}var Qc=null;var fe=function(e,t,n){Qc?.(e,t,n)},Ag="svg",Og="math";function we(e){for(;Array.isArray(e);)e=e[ce];return e}function Dl(e,t){return we(t[e])}function he(e,t){return we(t[e.index])}function On(e,t){return e.data[t]}function Rg(e,t){return e[t]}function _e(e,t){let n=t[e];return Ie(n)?n:n[ce]}function Fg(e){return(e[D]&4)===4}function Ys(e){return(e[D]&128)===128}function kg(e){return Me(e[z])}function Gt(e,t){return t==null?null:e[t]}function El(e){e[Ft]=0}function Qs(e){e[D]&1024||(e[D]|=1024,Ys(e)&&po(e))}function Pg(e,t){for(;e>0;)t=t[Xt],e--;return t}function fo(e){return!!(e[D]&9216||e[se]?.dirty)}function Hi(e){e[ke].changeDetectionScheduler?.notify(9),e[D]&64&&(e[D]|=1024),fo(e)&&po(e)}function po(e){e[ke].changeDetectionScheduler?.notify(0);let t=vt(e);for(;t!==null&&!(t[D]&8192||(t[D]|=8192,!Ys(t)));)t=vt(t)}function Il(e,t){if(Jt(e))throw new S(911,!1);e[Qe]===null&&(e[Qe]=[]),e[Qe].push(t)}function Lg(e,t){if(e[Qe]===null)return;let n=e[Qe].indexOf(t);n!==-1&&e[Qe].splice(n,1)}function vt(e){let t=e[z];return Me(t)?t[z]:t}function wl(e){return e[Lr]??=[]}function Cl(e){return e.cleanup??=[]}function Vg(e,t,n,r){let o=wl(t);o.push(n),e.firstCreatePass&&Cl(e).push(r,o.length-1)}var C={lFrame:Ol(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var $i=!1;function jg(){return C.lFrame.elementDepthCount}function Bg(){C.lFrame.elementDepthCount++}function Hg(){C.lFrame.elementDepthCount--}function Ks(){return C.bindingsEnabled}function en(){return C.skipHydrationRootTNode!==null}function $g(e){return C.skipHydrationRootTNode===e}function Ug(e){C.skipHydrationRootTNode=e}function zg(){C.skipHydrationRootTNode=null}function N(){return C.lFrame.lView}function W(){return C.lFrame.tView}function ue(){let e=bl();for(;e!==null&&e.type===64;)e=e.parent;return e}function bl(){return C.lFrame.currentTNode}function Gg(){let e=C.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Rn(e,t){let n=C.lFrame;n.currentTNode=e,n.isParent=t}function Tl(){return C.lFrame.isParent}function _l(){C.lFrame.isParent=!1}function Ml(){return $i}function Kc(e){let t=$i;return $i=e,t}function Wg(){let e=C.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function qg(e){return C.lFrame.bindingIndex=e}function Fn(){return C.lFrame.bindingIndex++}function Sl(e){let t=C.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Zg(){return C.lFrame.inI18n}function Yg(e,t){let n=C.lFrame;n.bindingIndex=n.bindingRootIndex=e,Ui(t)}function Qg(){return C.lFrame.currentDirectiveIndex}function Ui(e){C.lFrame.currentDirectiveIndex=e}function Kg(e){let t=C.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function Nl(){return C.lFrame.currentQueryIndex}function Xs(e){C.lFrame.currentQueryIndex=e}function Xg(e){let t=e[v];return t.type===2?t.declTNode:t.type===1?e[ne]:null}function xl(e,t,n){if(n&_.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&_.Host);)if(o=Xg(i),o===null||(i=i[Xt],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=C.lFrame=Al();return r.currentTNode=t,r.lView=e,!0}function Js(e){let t=Al(),n=e[v];C.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Al(){let e=C.lFrame,t=e===null?null:e.child;return t===null?Ol(e):t}function Ol(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 Rl(){let e=C.lFrame;return C.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Fl=Rl;function ea(){let e=Rl();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 Jg(e){return(C.lFrame.contextLView=Pg(e,C.lFrame.contextLView))[q]}function tt(){return C.lFrame.selectedIndex}function Dt(e){C.lFrame.selectedIndex=e}function kl(){let e=C.lFrame;return On(e.tView,e.selectedIndex)}function Pl(){return C.lFrame.currentNamespace}var Ll=!0;function ta(){return Ll}function nt(e){Ll=e}function em(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=ml(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 Vl(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[c]<0&&(e[Ft]+=65536),(a>14>16&&(e[D]&3)===t&&(e[D]+=16384,Xc(a,i)):Xc(a,i)}var jt=-1,Et=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r){this.factory=t,this.canSeeViewProviders=n,this.injectImpl=r}};function nm(e){return e instanceof Et}function rm(e){return(e.flags&8)!==0}function om(e){return(e.flags&16)!==0}function im(e,t,n){let r=0;for(;rt){s=i-1;break}}}for(;i>16}function Hr(e,t){let n=am(e),r=t;for(;n>0;)r=r[Xt],n--;return r}var zi=!0;function $r(e){let t=zi;return zi=e,t}var cm=256,$l=cm-1,Ul=5,um=0,Te={};function lm(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Dn)&&(r=n[Dn]),r==null&&(r=n[Dn]=um++);let o=r&$l,i=1<>Ul)]|=i}function Ur(e,t){let n=zl(e,t);if(n!==-1)return n;let r=t[v];r.firstCreatePass&&(e.injectorIndex=t.length,wi(r.data,e),wi(t,null),wi(r.blueprint,null));let o=ra(e,t),i=e.injectorIndex;if(Hl(o)){let s=Br(o),a=Hr(o,t),c=a[v].data;for(let u=0;u<8;u++)t[i+u]=a[s+u]|c[s+u]}return t[i+8]=o,i}function wi(e,t){e.push(0,0,0,0,0,0,0,0,t)}function zl(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function ra(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=Yl(o),r===null)return jt;if(n++,o=o[Xt],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return jt}function Gi(e,t,n){lm(e,t,n)}function dm(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+l,p=o?a+l:u;for(let f=d;f=c&&h.type===n)return f}if(o){let f=s[c];if(f&&bt(f)&&f.type===n)return c}return null}function Tn(e,t,n,r){let o=e[n],i=t.data;if(nm(o)){let s=o;s.resolving&&Kh(Qh(i[n]));let a=$r(s.canSeeViewProviders);s.resolving=!0;let c,u=s.injectImpl?J(s.injectImpl):null,l=xl(e,r,_.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&em(n,i[n],t)}finally{u!==null&&J(u),$r(a),s.resolving=!1,Fl()}}return o}function pm(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Dn)?e[Dn]:void 0;return typeof t=="number"?t>=0?t&$l:hm:t}function eu(e,t,n){let r=1<>Ul)]&r)}function tu(e,t){return!(e&_.Self)&&!(e&_.Host&&t)}var ht=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return ql(this._tNode,this._lView,t,uo(r),n)}};function hm(){return new ht(ue(),N())}function eN(e){return js(()=>{let t=e.prototype.constructor,n=t[Rr]||Wi(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Rr]||Wi(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Wi(e){return Yu(e)?()=>{let t=Wi(Z(e));return t&&t()}:gt(e)}function gm(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[D]&2048&&!bn(s);){let a=Zl(i,s,n,r|_.Self,Te);if(a!==Te)return a;let c=i.parent;if(!c){let u=s[fl];if(u){let l=u.get(n,Te,r);if(l!==Te)return l}c=Yl(s),s=s[Xt]}i=c}return o}function Yl(e){let t=e[v],n=t.type;return n===2?t.declTNode:n===1?e[ne]:null}function Ql(e){return dm(ue(),e)}function nu(e,t=null,n=null,r){let o=Kl(e,t,n,r);return o.resolveInjectorInitializers(),o}function Kl(e,t=null,n=null,r,o=new Set){let i=[n||Oe,hg(e)];return r=r||(typeof e=="object"?void 0:ee(e)),new wn(i,t||qs(),r||null,o)}var Ve=class e{static THROW_IF_NOT_FOUND=En;static NULL=new Pr;static create(t,n){if(Array.isArray(t))return nu({name:""},n,t,"");{let r=t.name??"";return nu({name:r},t.parent,t.providers,r)}}static \u0275prov=L({token:e,providedIn:"any",factory:()=>te(nl)});static __NG_ELEMENT_ID__=-1};var ru=class{attributeName;constructor(t){this.attributeName=t}__NG_ELEMENT_ID__=()=>Ql(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}},mm=new I("");mm.__NG_ELEMENT_ID__=e=>{let t=ue();if(t===null)throw new S(204,!1);if(t.type&2)return t.value;if(e&_.Optional)return null;throw new S(204,!1)};var Xl=!1,oa=(()=>{class e{static __NG_ELEMENT_ID__=ym;static __NG_ENV_ID__=n=>n}return e})(),qi=class extends oa{_lView;constructor(t){super(),this._lView=t}onDestroy(t){return Il(this._lView,t),()=>Lg(this._lView,t)}};function ym(){return new qi(N())}var Wt=class{},ia=new I("",{providedIn:"root",factory:()=>!1});var Jl=new I(""),ed=new I(""),tn=(()=>{class e{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new fn(!1);add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static \u0275prov=L({token:e,providedIn:"root",factory:()=>new e})}return e})();var Zi=class extends de{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,dl()&&(this.destroyRef=y(oa,{optional:!0})??void 0,this.pendingTasks=y(tn,{optional:!0})??void 0)}emit(t){let n=M(null);try{super.next(t)}finally{M(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let c=t;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof $&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{t(n),r!==void 0&&this.pendingTasks?.remove(r)})}}},Ye=Zi;function zr(...e){}function td(e){let t,n;function r(){e=zr;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function ou(e){return queueMicrotask(()=>e()),()=>{e=zr}}var sa="isAngularZone",Gr=sa+"_ID",vm=0,ae=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Ye(!1);onMicrotaskEmpty=new Ye(!1);onStable=new Ye(!1);onError=new Ye(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=Xl}=t;if(typeof Zone>"u")throw new S(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,Im(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(sa)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new S(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new S(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,Dm,zr,zr);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)}},Dm={};function aa(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 Em(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){td(()=>{e.callbackScheduled=!1,Yi(e),e.isCheckStableRunning=!0,aa(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Yi(e)}function Im(e){let t=()=>{Em(e)},n=vm++;e._inner=e._inner.fork({name:"angular",properties:{[sa]:!0,[Gr]:n,[Gr+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(wm(c))return r.invokeTask(i,s,a,c);try{return iu(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),su(e)}},onInvoke:(r,o,i,s,a,c,u)=>{try{return iu(e),r.invoke(i,s,a,c,u)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!Cm(c)&&t(),su(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Yi(e),aa(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,o,i,s)=>(r.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function Yi(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function iu(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function su(e){e._nesting--,aa(e)}var Qi=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Ye;onMicrotaskEmpty=new Ye;onStable=new Ye;onError=new Ye;run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}};function wm(e){return nd(e,"__ignore_ng_zone__")}function Cm(e){return nd(e,"__scheduler_tick__")}function nd(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var qt=class{_console=console;handleError(t){this._console.error("ERROR",t)}},bm=new I("",{providedIn:"root",factory:()=>{let e=y(ae),t=y(qt);return n=>e.runOutsideAngular(()=>t.handleError(n))}});function au(e,t){return qu(e,t)}function Tm(e){return qu(Wu,e)}var tN=(au.required=Tm,au);function _m(){return nn(ue(),N())}function nn(e,t){return new rn(he(e,t))}var rn=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=_m}return e})();function Mm(e){return e instanceof rn?e.nativeElement:e}var cu=new Set;function He(e){cu.has(e)||(cu.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function nN(e,t){He("NgSignals");let n=Ja(e),r=n[be];return t?.equal&&(r.equal=t.equal),n.set=o=>zn(r,o),n.update=o=>ec(r,o),n.asReadonly=Sm.bind(n),n}function Sm(){let e=this[be];if(e.readonlyFn===void 0){let t=()=>this();t[be]=e,e.readonlyFn=t}return e.readonlyFn}function Nm(){return this._results[Symbol.iterator]()}var Ki=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new de}constructor(t=!1){this._emitDistinctChangesOnly=t}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;let r=ug(t);(this._changesDetected=!cg(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=Nm},xm="ngSkipHydration",Am="ngskiphydration";function rd(e){let t=e.mergedAttrs;if(t===null)return!1;for(let n=0;nPm}),Pm="ng",Lm=new I(""),ld=new I("",{providedIn:"platform",factory:()=>"unknown"});var oN=new I(""),iN=new I("",{providedIn:"root",factory:()=>kn().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function Vm(){let e=new ho;return y(ld)==="browser"&&(e.store=jm(kn(),y(qr))),e}var ho=(()=>{class e{static \u0275prov=L({token:e,providedIn:"root",factory:Vm});store={};onSerializeCallbacks={};get(n,r){return this.store[n]!==void 0?this.store[n]:r}set(n,r){this.store[n]=r}remove(n){delete this.store[n]}hasKey(n){return this.store.hasOwnProperty(n)}get isEmpty(){return Object.keys(this.store).length===0}onSerialize(n,r){this.onSerializeCallbacks[n]=r}toJson(){for(let n in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(n))try{this.store[n]=this.onSerializeCallbacks[n]()}catch(r){console.warn("Exception in onSerialize callback: ",r)}return JSON.stringify(this.store).replace(/gd});var yd=new I(""),Ym=!1,Qm=new I(""),lu=new I("",{providedIn:"root",factory:()=>new Map}),ua=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(ua||{}),go=new I("");var kt=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(kt||{}),vd=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=L({token:e,providedIn:"root",factory:()=>new e})}return e})(),Km=[kt.EarlyRead,kt.Write,kt.MixedReadWrite,kt.Read],Xm=(()=>{class e{ngZone=y(ae);scheduler=y(Wt);errorHandler=y(qt,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){y(go,{optional:!0})}execute(){this.executing=!0;for(let n of Km)for(let r of this.sequences)if(!(r.erroredOrDestroyed||!r.hooks[n]))try{r.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>r.hooks[n](r.pipelinedValue),r.snapshot))}catch(o){r.erroredOrDestroyed=!0,this.errorHandler?.handleError(o)}this.executing=!1;for(let n of this.sequences)n.afterRun(),n.once&&(this.sequences.delete(n),n.destroy());for(let n of this.deferredRegistrations)this.sequences.add(n);this.deferredRegistrations.size>0&&this.scheduler.notify(8),this.deferredRegistrations.clear()}register(n){this.executing?this.deferredRegistrations.add(n):(this.sequences.add(n),this.scheduler.notify(7))}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}maybeTrace(n,r){return r?r.run(ua.AFTER_NEXT_RENDER,n):n()}static \u0275prov=L({token:e,providedIn:"root",factory:()=>new e})}return e})(),es=class{impl;hooks;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(t,n,r,o,i=null){this.impl=t,this.hooks=n,this.once=r,this.snapshot=i,this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.()}};function Dd(e,t){!t?.injector&&Tg(Dd);let n=t?.injector??y(Ve);return He("NgAfterNextRender"),ey(e,n,t,!0)}function Jm(e,t){if(e instanceof Function){let n=[void 0,void 0,void 0,void 0];return n[t]=e,n}else return[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function ey(e,t,n,r){let o=t.get(vd);o.impl??=t.get(Xm);let i=t.get(go,null,{optional:!0}),s=n?.phase??kt.MixedReadWrite,a=n?.manualCleanup!==!0?t.get(oa):null,c=new es(o.impl,Jm(e,s),r,a,i?.snapshot(null));return o.impl.register(c),c}var ie=function(e){return e[e.NOT_STARTED=0]="NOT_STARTED",e[e.IN_PROGRESS=1]="IN_PROGRESS",e[e.COMPLETE=2]="COMPLETE",e[e.FAILED=3]="FAILED",e}(ie||{}),du=0,ty=1,U=function(e){return e[e.Placeholder=0]="Placeholder",e[e.Loading=1]="Loading",e[e.Complete=2]="Complete",e[e.Error=3]="Error",e}(U||{});var ny=0,la=1;var ry=4,oy=5;var iy=7,Ht=8,sy=9,Ed=function(e){return e[e.Manual=0]="Manual",e[e.Playthrough=1]="Playthrough",e}(Ed||{});function Nr(e,t){let n=cy(e),r=t[n];if(r!==null){for(let o of r)o();t[n]=null}}function ay(e){Nr(1,e),Nr(0,e),Nr(2,e)}function cy(e){let t=ry;return e===1?t=oy:e===2&&(t=sy),t}function Id(e){return e+1}function mo(e,t){let n=e[v],r=Id(t.index);return e[r]}function yo(e,t){let n=Id(t.index);return e.data[n]}function uy(e,t,n){let r=t[v],o=yo(r,n);switch(e){case U.Complete:return o.primaryTmplIndex;case U.Loading:return o.loadingTmplIndex;case U.Error:return o.errorTmplIndex;case U.Placeholder:return o.placeholderTmplIndex;default:return null}}function fu(e,t){return t===U.Placeholder?e.placeholderBlockConfig?.[du]??null:t===U.Loading?e.loadingBlockConfig?.[du]??null:null}function ly(e){return e.loadingBlockConfig?.[ty]??null}function pu(e,t){if(!e||e.length===0)return t;let n=new Set(e);for(let r of t)n.add(r);return e.length===n.size?e:Array.from(n)}function dy(e,t){let n=t.primaryTmplIndex+P;return On(e,n)}var vo="ngb";var fy=(e,t,n)=>{let r=e,o=r.__jsaction_fns??new Map,i=o.get(t)??[];i.push(n),o.set(t,i),r.__jsaction_fns=o},py=(e,t)=>{let n=e.getAttribute(vo)??"",r=e,o=t.get(n)??new Set;o.has(r)||o.add(r),t.set(n,o)};var hy=e=>{e.removeAttribute(di.JSACTION),e.removeAttribute(vo),e.__jsaction_fns=void 0},gy=new I("",{providedIn:"root",factory:()=>({})});function wd(e,t){let n=t?.__jsaction_fns?.get(e.type);if(n)for(let r of n)r(e)}var Cd=new I("");var my="__nghData__",bd=my,yy="__nghDeferData__",vy=yy,Ci="ngh",Dy="nghm",Td=()=>null;function Ey(e,t,n=!1){let r=e.getAttribute(Ci);if(r==null)return null;let[o,i]=r.split("|");if(r=n?i:o,!r)return null;let s=i?`|${i}`:"",a=n?o:s,c={};if(r!==""){let l=t.get(ho,null,{optional:!0});l!==null&&(c=l.get(bd,[])[Number(r)])}let u={data:c,firstChild:e.firstChild??null};return n&&(u.firstChild=e,Do(u,0,e.nextSibling)),a?e.setAttribute(Ci,a):e.removeAttribute(Ci),u}function Iy(){Td=Ey}function _d(e,t,n=!1){return Td(e,t,n)}function wy(e){let t=e._lView;return t[v].type===2?null:(bn(t)&&(t=t[P]),t)}function Cy(e){return e.textContent?.replace(/\s/gm,"")}function by(e){let t=kn(),n=t.createNodeIterator(e,NodeFilter.SHOW_COMMENT,{acceptNode(i){let s=Cy(i);return s==="ngetn"||s==="ngtns"?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}}),r,o=[];for(;r=n.nextNode();)o.push(r);for(let i of o)i.textContent==="ngetn"?i.replaceWith(t.createTextNode("")):i.remove()}function Do(e,t,n){e.segmentHeads??={},e.segmentHeads[t]=n}function ts(e,t){return e.segmentHeads?.[t]??null}function Ty(e){return e.get(Qm,!1,{optional:!0})}function _y(e,t){let n=e.data,r=n[$m]?.[t]??null;return r===null&&n[ca]?.[t]&&(r=da(e,t)),r}function Md(e,t){return e.data[ca]?.[t]??null}function da(e,t){let n=Md(e,t)??[],r=0;for(let o of n)r+=o[Zr]*(o[pd]??1);return r}function My(e){if(typeof e.disconnectedNodes>"u"){let t=e.data[hd];e.disconnectedNodes=t?new Set(t):null}return e.disconnectedNodes}function Pn(e,t){if(typeof e.disconnectedNodes>"u"){let n=e.data[hd];e.disconnectedNodes=n?new Set(n):null}return!!My(e)?.has(t)}function Sy(e,t){let n=t.get(Cd),o=t.get(ho).get(vy,{}),i=!1,s=e,a=null,c=[];for(;!i&&s;){i=n.has(s);let u=n.hydrating.get(s);if(a===null&&u!=null){a=u.promise;break}c.unshift(s),s=o[s][Zm]}return{parentBlockPromise:a,hydrationQueue:c}}function Sd(e,t){let n=e.contentQueries;if(n!==null){let r=M(null);try{for(let o=0;oe,createScript:e=>e,createScriptURL:e=>e})}catch{}return Er}function Eo(e){return Ny()?.createHTML(e)||e}var Ir;function xd(){if(Ir===void 0&&(Ir=null,Ze.trustedTypes))try{Ir=Ze.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Ir}function hu(e){return xd()?.createHTML(e)||e}function gu(e){return xd()?.createScriptURL(e)||e}var je=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${zu})`}},rs=class extends je{getTypeName(){return"HTML"}},os=class extends je{getTypeName(){return"Style"}},is=class extends je{getTypeName(){return"Script"}},ss=class extends je{getTypeName(){return"URL"}},as=class extends je{getTypeName(){return"ResourceURL"}};function sn(e){return e instanceof je?e.changingThisBreaksApplicationSecurity:e}function fa(e,t){let n=xy(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${zu})`)}return n===t}function xy(e){return e instanceof je&&e.getTypeName()||null}function sN(e){return new rs(e)}function aN(e){return new os(e)}function cN(e){return new is(e)}function uN(e){return new ss(e)}function lN(e){return new as(e)}function Ay(e){let t=new us(e);return Oy()?new cs(t):t}var cs=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{let n=new window.DOMParser().parseFromString(Eo(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}},us=class{defaultDoc;inertDocument;constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){let n=this.inertDocument.createElement("template");return n.innerHTML=Eo(t),n}};function Oy(){try{return!!new window.DOMParser().parseFromString(Eo(""),"text/html")}catch{return!1}}var Ry=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Ad(e){return e=String(e),e.match(Ry)?e:"unsafe:"+e}function $e(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function Ln(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var Od=$e("area,br,col,hr,img,wbr"),Rd=$e("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Fd=$e("rp,rt"),Fy=Ln(Fd,Rd),ky=Ln(Rd,$e("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")),Py=Ln(Fd,$e("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")),mu=Ln(Od,ky,Py,Fy),kd=$e("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Ly=$e("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"),Vy=$e("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"),jy=Ln(kd,Ly,Vy),By=$e("script,style,template"),ls=class{sanitizedSomething=!1;buf=[];sanitizeChildren(t){let n=t.firstChild,r=!0,o=[];for(;n;){if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild){o.push(n),n=Uy(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=$y(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=yu(t).toLowerCase();if(!mu.hasOwnProperty(n))return this.sanitizedSomething=!0,!By.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);let r=t.attributes;for(let o=0;o"),!0}endElement(t){let n=yu(t).toLowerCase();mu.hasOwnProperty(n)&&!Od.hasOwnProperty(n)&&(this.buf.push(""))}chars(t){this.buf.push(vu(t))}};function Hy(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function $y(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw Pd(t);return t}function Uy(e){let t=e.firstChild;if(t&&Hy(e,t))throw Pd(t);return t}function yu(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function Pd(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var zy=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Gy=/([^\#-~ |!])/g;function vu(e){return e.replace(/&/g,"&").replace(zy,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(Gy,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}var wr;function Wy(e,t){let n=null;try{wr=wr||Ay(e);let r=t?String(t):"";n=wr.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=wr.getInertBodyElement(r)}while(r!==i);let a=new ls().sanitizeChildren(Du(n)||n);return Eo(a)}finally{if(n){let r=Du(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function Du(e){return"content"in e&&qy(e)?e.content:null}function qy(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var Io=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}(Io||{});function dN(e){let t=pa();return t?hu(t.sanitize(Io.HTML,e)||""):fa(e,"HTML")?hu(sn(e)):Wy(kn(),xn(e))}function Zy(e){let t=pa();return t?t.sanitize(Io.URL,e)||"":fa(e,"URL")?sn(e):Ad(xn(e))}function Yy(e){let t=pa();if(t)return gu(t.sanitize(Io.RESOURCE_URL,e)||"");if(fa(e,"ResourceURL"))return gu(sn(e));throw new S(904,!1)}function Qy(e,t){return t==="src"&&(e==="embed"||e==="frame"||e==="iframe"||e==="media"||e==="script")||t==="href"&&(e==="base"||e==="link")?Yy:Zy}function fN(e,t,n){return Qy(t,n)(e)}function pa(){let e=N();return e&&e[ke].sanitizer}var Ky=/^>|^->||--!>|)/g,Jy="\u200B$1\u200B";function ev(e){return e.replace(Ky,t=>t.replace(Xy,Jy))}function tv(e){return e.ownerDocument.body}function Ld(e){return e instanceof Function?e():e}function nv(e,t,n){let r=e.length;for(;;){let o=e.indexOf(t,n);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}var Vd="ng-template";function rv(e,t,n,r){let o=0;if(r){for(;o-1){let i;for(;++oi?d="":d=o[l+1].toLowerCase(),r&2&&u!==d){if(ve(r))return!1;s=!0}}}}return ve(r)||s}function ve(e){return(e&1)===0}function sv(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!==""&&!ve(s)&&(t+=Eu(i,o),o=""),r=s,i=i||!ve(r);n++}return o!==""&&(t+=Eu(i,o)),t}function fv(e){return e.map(dv).join(",")}function pv(e){let t=[],n=[],r=1,o=2;for(;rP&&Gd(e,t,P,!1),fe(s?2:0,o),n(r,o)}finally{Dt(i),fe(s?3:1,o)}}function Zd(e,t,n){Ks()&&(on(he(n,t),t),Yd(e,t,n))}function Yd(e,t,n){_v(e,t,n),(n.flags&64)===64&&Mv(e,t,n)}function Qd(e,t,n=he){let r=t.localNames;if(r!==null){let o=t.index+1;for(let i=0;inull;function Iv(e){od(e)?Ud(e):by(e)}function wv(){Kd=Iv}function Cv(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function bv(e,t,n,r,o,i,s,a){let c=he(t,n),u=t.inputs,l;!a&&u!=null&&(l=u[r])?(Ea(e,n,l,r,o),et(t)&&Tv(n,t.index)):t.type&3?(r=Cv(r),o=s!=null?s(o,t.value||"",r):o,i.setProperty(c,r,o)):t.type&12}function Tv(e,t){let n=_e(t,e);n[D]&16||(n[D]|=64)}function _v(e,t,n){let r=n.directiveStart,o=n.directiveEnd;et(n)&&Nv(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||Ur(n,t);let i=n.initialInputs;for(let s=r;s0&&(n[o-1][Ee]=t),r0&&(e[n-1][Ee]=r[Ee]);let i=kr(e,G+t);Lv(r[v],r);let s=i[Pe];s!==null&&s.detachView(i[v]),r[z]=null,r[Ee]=null,r[D]&=-129}return r}function Co(e,t){if(Jt(t))return;let n=t[k];n.destroyNode&&bo(e,t,n,3,null,null),jv(t)}function bi(e,t){if(Jt(t))return;let n=M(null);try{t[D]&=-129,t[D]|=256,t[se]&&Go(t[se]),$v(e,t),Hv(e,t),t[v].type===1&&t[k].destroy();let r=t[mt];if(r!==null&&Me(t[z])){r!==t[z]&&Ca(r,t);let o=t[Pe];o!==null&&o.detachView(e)}Xi(t)}finally{M(n)}}function Hv(e,t){let n=e.cleanup,r=t[Lr];if(n!==null)for(let s=0;s=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[n[s+1]];n[s].call(a)}r!==null&&(t[Lr]=null);let o=t[Qe];if(o!==null){t[Qe]=null;for(let s=0;s{po(e.lView)},consumerOnSignalRead(){this.lView[se]=this}});function eD(e){let t=e[se]??Object.create(tD);return t.lView=e,t}var tD=xe(Ne({},Hn),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=vt(e.lView);for(;t&&!lf(t[v]);)t=vt(t);t&&Qs(t)},consumerOnSignalRead(){this.lView[se]=this}});function lf(e){return e.type!==2}function df(e){if(e[Vr]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[Vr])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[D]&8192)}}var nD=100;function ff(e,t=!0,n=0){let o=e[ke].rendererFactory,i=!1;i||o.begin?.();try{rD(e,n)}catch(s){throw t&&wo(e,s),s}finally{i||o.end?.()}}function rD(e,t){let n=Ml();try{Kc(!0),fs(e,t);let r=0;for(;fo(e);){if(r===nD)throw new S(103,!1);r++,fs(e,1)}}finally{Kc(n)}}function oD(e,t,n,r){if(Jt(t))return;let o=t[D],i=!1,s=!1;Js(t);let a=!0,c=null,u=null;i||(lf(e)?(u=Qv(t),c=Uo(u)):Ua()===null?(a=!1,u=eD(t),c=Uo(u)):t[se]&&(Go(t[se]),t[se]=null));try{El(t),qg(e.bindingStartIndex),n!==null&&qd(e,t,n,2,r);let l=(o&3)===3;if(!i)if(l){let f=e.preOrderCheckHooks;f!==null&&_r(t,f,null)}else{let f=e.preOrderHooks;f!==null&&Mr(t,f,0,null),Ei(t,0)}if(s||iD(t),df(t),pf(t,0),e.contentQueries!==null&&Sd(e,t),!i)if(l){let f=e.contentCheckHooks;f!==null&&_r(t,f)}else{let f=e.contentHooks;f!==null&&Mr(t,f,1),Ei(t,1)}aD(e,t);let d=e.components;d!==null&&gf(t,d,0);let p=e.viewQuery;if(p!==null&&ns(2,p,r),!i)if(l){let f=e.viewCheckHooks;f!==null&&_r(t,f)}else{let f=e.viewHooks;f!==null&&Mr(t,f,2),Ei(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Di]){for(let f of t[Di])f();t[Di]=null}i||(t[D]&=-73)}catch(l){throw i||po(t),l}finally{u!==null&&(Wa(u,c),a&&Xv(u)),ea()}}function pf(e,t){for(let n=ad(e);n!==null;n=cd(n))for(let r=G;r-1&&(Mn(t,r),kr(n,r))}this._attachedToViewContainer=!1}Co(this._lView[v],this._lView)}onDestroy(t){Il(this._lView,t)}markForCheck(){To(this._cdRefInjectingView||this._lView,4)}markForRefresh(){Qs(this._cdRefInjectingView||this._lView)}detach(){this._lView[D]&=-129}reattach(){Hi(this._lView),this._lView[D]|=128}detectChanges(){this._lView[D]|=1024,ff(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new S(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=bn(this._lView),n=this._lView[mt];n!==null&&!t&&Ca(n,this._lView),tf(this._lView[v],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new S(902,!1);this._appRef=t;let n=bn(this._lView),r=this._lView[mt];r!==null&&!n&&nf(r,this._lView),Hi(this._lView)}},Sn=(()=>{class e{static __NG_ELEMENT_ID__=lD}return e})(),cD=Sn,uD=class extends cD{_declarationLView;_declarationTContainer;elementRef;constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){let o=an(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new wt(o)}};function lD(){return Ma(ue(),N())}function Ma(e,t){return e.type&4?new uD(t,e,nn(e,t)):null}function _o(e,t,n,r,o){let i=e.data[t];if(i===null)i=dD(e,t,n,r,o),Zg()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=Gg();i.injectorIndex=s===null?-1:s.injectorIndex}return Rn(i,!0),i}function dD(e,t,n,r,o){let i=bl(),s=Tl(),a=s?i:i&&i.parent,c=e.data[t]=pD(e,a,n,t,r,o);return fD(e,c,i,s),c}function fD(e,t,n,r){e.firstChild===null&&(e.firstChild=t),n!==null&&(r?n.child==null&&t.parent!==null&&(n.child=t):n.next===null&&(n.next=t,t.prev=n))}function pD(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return en()&&(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}}var hD=new RegExp(`^(\\d+)*(${fd}|${dd})*(.*)`);function gD(e){let t=e.match(hD),[n,r,o,i]=t,s=r?parseInt(r,10):o,a=[];for(let[c,u,l]of i.matchAll(/(f|n)(\d*)/g)){let d=parseInt(l,10)||1;a.push(u,d)}return[s,...a]}function mD(e){return!e.prev&&e.parent?.type===8}function Ti(e){return e.index-P}function yD(e,t){let n=e.i18nNodes;if(n)return n.get(t)}function Mo(e,t,n,r){let o=Ti(r),i=yD(e,o);if(i===void 0){let s=e.data[Gm];if(s?.[o])i=DD(s[o],n);else if(t.firstChild===r)i=e.firstChild;else{let a=r.prev===null,c=r.prev??r.parent;if(mD(r)){let u=Ti(r.parent);i=ts(e,u)}else{let u=he(c,n);if(a)i=u.firstChild;else{let l=Ti(c),d=ts(e,l);if(c.type===2&&d){let f=da(e,l)+1;i=So(f,d)}else i=u.nextSibling}}}}return i}function So(e,t){let n=t;for(let r=0;r0&&(i.firstChild=e,e=So(r[Zr],e)),n.push(i)}return[e,n]}var vf=()=>null;function MD(e,t){let n=e[yt];return!t||n===null||n.length===0?null:n[0].data[zm]===t?n.shift():(mf(e),null)}function SD(){vf=MD}function Zt(e,t){return vf(e,t)}var ps=class{},Jr=class{},hs=class{resolveComponentFactory(t){throw Error(`No component factory found for ${ee(t)}.`)}},Yt=class{static NULL=new hs},eo=class{},Df=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>ND()}return e})();function ND(){let e=N(),t=ue(),n=_e(t.index,e);return(Ie(n)?n:e)[k]}var xD=(()=>{class e{static \u0275prov=L({token:e,providedIn:"root",factory:()=>null})}return e})();function Cu(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function BD(e,t,n){if(n){if(t.exportAs)for(let r=0;r[this.componentDef],!0,0);p&&(zd(d,p,g),on(p,f)),Yd(c,f,g),Nd(c,g,f),Cf(c,g),n!==void 0&&GD(g,this.ngContentSelectors,n),h=_e(g.index,f),f[q]=h[q],Ia(c,f,null)}catch(g){throw h!==null&&Xi(h),Xi(f),g}finally{ea()}return new gs(this.componentType,f)}finally{M(i)}}},gs=class extends ps{_rootLView;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n){super(),this._rootLView=n,this._tNode=On(n[v],P),this.location=nn(this._tNode,n),this.instance=_e(this._tNode.index,n)[q],this.hostView=this.changeDetectorRef=new wt(n,void 0,!1),this.componentType=t}setInput(t,n){let r=this._tNode.inputs,o;if(r!==null&&(o=r[t])){if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let i=this._rootLView;Ea(i[v],i,o,t,n),this.previousInputValues.set(t,n);let s=_e(this._tNode.index,i);To(s,1)}}get injector(){return new ht(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function GD(e,t,n){let r=e.projection=[];for(let o=0;o{class e{static __NG_ELEMENT_ID__=WD}return e})();function WD(){let e=ue();return Tf(e,N())}var qD=No,bf=class extends qD{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return nn(this._hostTNode,this._hostLView)}get injector(){return new ht(this._hostTNode,this._hostLView)}get parentInjector(){let t=ra(this._hostTNode,this._hostLView);if(Hl(t)){let n=Hr(t,this._hostLView),r=Br(t),o=n[v].data[r+8];return new ht(o,n)}else return new ht(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=Mu(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-G}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=Zt(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,It(this._hostTNode,s)),a}createComponent(t,n,r,o,i){let s=t&&!_g(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 Qt(Re(t)),u=r||this.parentInjector;if(!i&&c.ngModule==null){let g=(s?u:this.parentInjector).get(Fe,null);g&&(i=g)}let l=Re(c.componentType??{}),d=Zt(this._lContainer,l?.id??null),p=d?.firstChild??null,f=c.create(u,o,p,i);return this.insertImpl(f.hostView,a,It(this._hostTNode,d)),f}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(kg(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[z],u=new bf(c,c[ne],c[z]);u.detach(u.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return cn(s,o,i,r),t.attachToViewContainerRef(),tl(_i(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Mu(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=Mn(this._lContainer,n);r&&(kr(_i(this._lContainer),n),Co(r[v],r))}detach(t){let n=this._adjustIndex(t,-1),r=Mn(this._lContainer,n);return r&&kr(_i(this._lContainer),n)!=null?new wt(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Mu(e){return e[jr]}function _i(e){return e[jr]||(e[jr]=[])}function Tf(e,t){let n,r=t[e.index];return Me(r)?n=r:(n=ef(r,t,null,e),t[e.index]=n,Da(t,n)),_f(n,t,e,r),new bf(n,e,t)}function ZD(e,t){let n=e[k],r=n.createComment(""),o=he(t,e),i=n.parentNode(o);return Yr(n,i,r,n.nextSibling(o),!1),r}var _f=Mf,Na=()=>!1;function YD(e,t,n){return Na(e,t,n)}function Mf(e,t,n,r){if(e[Le])return;let o;n.type&8?o=we(r):o=ZD(t,n),e[Le]=o}function QD(e,t,n){if(e[Le]&&e[yt])return!0;let r=n[pe],o=t.index-P;if(!r||Om(t)||Pn(r,o))return!1;let s=ts(r,o),a=r.data[ca]?.[o],[c,u]=_D(s,a);return e[Le]=c,e[yt]=u,!0}function KD(e,t,n,r){Na(e,n,t)||Mf(e,t,n,r)}function XD(){_f=KD,Na=QD}var ms=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},ys=class e{queries;constructor(t=[]){this.queries=t}createEmbeddedView(t){let n=t.queries;if(n!==null){let r=t.contentQueries!==null?t.contentQueries[0]:n.length,o=[];for(let i=0;i0)r.push(s[a/2]);else{let u=i[a+1],l=t[-c];for(let d=G;dt.trim())}function aE(e,t,n){e.queries===null&&(e.queries=new Ds),e.queries.track(new Es(t,n))}function cE(e,t){let n=e.contentQueries||(e.contentQueries=[]),r=n.length?n[n.length-1]:-1;t!==r&&n.push(e.queries.length-1,t)}function xa(e,t){return e.queries.getByIndex(t)}function uE(e,t){let n=e[v],r=xa(n,t);return r.crossesNgTemplate?Is(n,e,t,[]):Sf(n,e,r,t)}var Je=class{},ws=class{};var Cs=class extends Je{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new to(this);constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=ol(t);this._bootstrapComponents=Ld(i.bootstrap),this._r3Injector=Kl(t,n,[{provide:Je,useValue:this},{provide:Yt,useValue:this.componentFactoryResolver},...r],ee(t),new Set(["environment"])),o&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},bs=class extends ws{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new Cs(this.moduleType,t,[])}};var no=class extends Je{injector;componentFactoryResolver=new to(this);instance=null;constructor(t){super();let n=new wn([...t.providers,{provide:Je,useValue:this},{provide:Yt,useValue:this.componentFactoryResolver}],t.parent||qs(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Nf(e,t,n=null){return new no({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var lE=(()=>{class e{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=Gs(!1,n.type),o=r.length>0?Nf([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=L({token:e,providedIn:"environment",factory:()=>new e(te(Fe))})}return e})();function yN(e){return js(()=>{let t=Af(e),n=xe(Ne({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===id.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(lE).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||_n.Emulated,styles:e.styles||Oe,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&He("NgStandalone"),Of(n);let r=e.dependencies;return n.directiveDefs=Nu(r,!1),n.pipeDefs=Nu(r,!0),n.id=hE(n),n})}function dE(e){return Re(e)||Us(e)}function fE(e){return e!==null}function Su(e,t){if(e==null)return In;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a=Xe.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),t?(n[i]=a!==Xe.None?[r,a]:r,t[i]=s):n[i]=r}return n}function pE(e){return js(()=>{let t=Af(e);return Of(t),t})}function xf(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 Af(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||In,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||Oe,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Su(e.inputs,t),outputs:Su(e.outputs),debugInfo:null}}function Of(e){e.features?.forEach(t=>t(e))}function Nu(e,t){if(!e)return null;let n=t?zs:dE;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(fE)}function hE(e){let t=0,n=typeof e.consts=="function"?"":e.consts,r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,n,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(let i of r.join("|"))t=Math.imul(31,t)+i.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function gE(e){let t=e.inputConfig,n={};for(let r in t)if(t.hasOwnProperty(r)){let o=t[r];Array.isArray(o)&&o[3]&&(n[r]=o[3])}e.inputTransforms=n}function mE(e,t,n){return e[t]=n}function ot(e,t,n){let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function yE(e,t,n,r,o,i,s,a,c){let u=t.consts,l=_o(t,e,4,s||null,a||null);Ks()&&If(t,n,l,Gt(u,c),Xd),l.mergedAttrs=na(l.mergedAttrs,l.attrs),Vl(t,l);let d=l.tView=va(2,l,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,u,null);return t.queries!==null&&(t.queries.template(t,l),d.queries=t.queries.embeddedTView(l)),l}function ro(e,t,n,r,o,i,s,a,c,u){let l=n+P,d=t.firstCreatePass?yE(l,t,e,r,o,i,s,a,c):t.data[l];Rn(d,!1);let p=Rf(t,e,d,n);ta()&&ba(t,e,p,d),on(p,e);let f=ef(p,e,p,d);return e[l]=f,Da(e,f),YD(f,d,e),Zs(d)&&Zd(t,e,d),c!=null&&Qd(e,d,u),d}function vE(e,t,n,r,o,i,s,a){let c=N(),u=W(),l=Gt(u.consts,i);return ro(c,u,e,t,n,r,o,l,s,a),vE}var Rf=Ff;function Ff(e,t,n,r){return nt(!0),t[k].createComment("")}function DE(e,t,n,r){let o=t[pe],i=!o||en()||Tt(n)||Pn(o,r);if(nt(i),i)return Ff(e,t,n,r);let s=o.data[Um]?.[r]??null;s!==null&&n.tView!==null&&n.tView.ssrId===null&&(n.tView.ssrId=s);let a=Mo(o,e,t,n);Do(o,r,a);let c=da(o,r);return So(c,a)}function EE(){Rf=DE}var IE=(()=>{class e{cachedInjectors=new Map;getOrCreateInjector(n,r,o,i){if(!this.cachedInjectors.has(n)){let s=o.length>0?Nf(o,r,i):null;this.cachedInjectors.set(n,s)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=L({token:e,providedIn:"environment",factory:()=>new e})}return e})();var wE=new I("");function Mi(e,t,n){return e.get(IE).getOrCreateInjector(t,e,n,"")}function CE(e,t,n){if(e instanceof Bt){let o=e.injector,i=e.parentInjector,s=Mi(i,t,n);return new Bt(o,s)}let r=e.get(Fe);if(r!==e){let o=Mi(r,t,n);return new Bt(e,o)}return Mi(e,t,n)}function Lt(e,t,n,r=!1){let o=n[z],i=o[v];if(Jt(o))return;let s=mo(o,t),a=s[la],c=s[iy];if(!(c!==null&&en.data[qm]===t[la])??null}function TE(e,t,n,r,o){let i=uy(e,o,r);if(i!==null){t[la]=e;let s=o[v],a=i+P,c=On(s,a),u=0;_a(n,u);let l;if(e===U.Complete){let f=yo(s,r),h=f.providers;h&&h.length>0&&(l=CE(o[Ke],f,h))}let d=bE(n,t);n[yt]=null;let p=an(o,c,null,{injector:l,dehydratedView:d});if(cn(n,p,u,It(c,d)),To(p,2),(e===U.Complete||e===U.Error)&&Array.isArray(t[Ht])){for(let f of t[Ht])f();t[Ht]=null}}}function xu(e,t){return e{e.loadingState===ie.COMPLETE?Lt(U.Complete,t,n):e.loadingState===ie.FAILED&&Lt(U.Error,t,n)})}var _E=null;var vN=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=L({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();var ME=new I("");function Aa(e){return!!e&&typeof e.then=="function"}function kf(e){return!!e&&typeof e.subscribe=="function"}var SE=new I("");var Pf=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=y(SE,{optional:!0})??[];injector=y(Ve);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=ll(this.injector,o);if(Aa(i))n.push(i);else if(kf(i)){let s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});n.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),n.length===0&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=L({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),NE=(()=>{class e{static \u0275prov=L({token:e,providedIn:"root",factory:()=>new Ts})}return e})(),Ts=class{queuedEffectCount=0;queues=new Map;schedule(t){this.enqueue(t)}remove(t){let n=t.zone,r=this.queues.get(n);r.has(t)&&(r.delete(t),this.queuedEffectCount--)}enqueue(t){let n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||(this.queuedEffectCount++,r.add(t))}flush(){for(;this.queuedEffectCount>0;)for(let[t,n]of this.queues)t===null?this.flushQueue(n):t.run(()=>this.flushQueue(n))}flushQueue(t){for(let n of t)t.delete(n),this.queuedEffectCount--,n.run()}},Oa=new I("");function xE(){Xa(()=>{throw new S(600,!1)})}function AE(e){return e.isBoundToModule}var OE=10;var Be=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=y(bm);afterRenderManager=y(vd);zonelessEnabled=y(ia);rootEffectScheduler=y(NE);dirtyFlags=0;deferredDirtyFlags=0;tracingSnapshot=null;externalTestViews=new Set;afterTick=new de;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=y(tn).hasPendingTasks.pipe(lt(n=>!n));constructor(){y(go,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=y(Fe);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){let o=n instanceof Jr;if(!this._injector.get(Pf).done){let p=!o&&pg(n),f=!1;throw new S(405,f)}let s;o?s=n:s=this._injector.get(Yt).resolveComponentFactory(n),this.componentTypes.push(s.componentType);let a=AE(s)?void 0:this._injector.get(Je),c=r||s.selector,u=s.create(Ve.NULL,[],c,a),l=u.location.nativeElement,d=u.injector.get(ME,null);return d?.registerApplication(l),u.onDestroy(()=>{this.detachView(u.hostView),xr(this.components,u),d?.unregisterApplication(l)}),this._loadComponent(u),u}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick=()=>{if(this.tracingSnapshot!==null){let r=this.tracingSnapshot;this.tracingSnapshot=null,r.run(ua.CHANGE_DETECTION,this._tick),r.dispose();return}if(this._runningTick)throw new S(101,!1);let n=M(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,M(n),this.afterTick.next()}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(eo,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let n=0;for(;this.dirtyFlags!==0&&n++fo(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){let r=n;xr(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(Oa,[]).forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>xr(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new S(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=L({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function xr(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function RE(e,t,n,r){if(!n&&!fo(e))return;ff(e,t,n&&!r?0:1)}function FE(e,t,n){let r=t[Ke],o=t[v];if(e.loadingState!==ie.NOT_STARTED)return e.loadingPromise??Promise.resolve();let i=mo(t,n),s=dy(o,e);e.loadingState=ie.IN_PROGRESS,Nr(1,i);let a=e.dependencyResolverFn,c=r.get(tn),u=c.add();return a?(e.loadingPromise=Promise.allSettled(a()).then(l=>{let d=!1,p=[],f=[];for(let h of l)if(h.status==="fulfilled"){let g=h.value,x=Re(g)||Us(g);if(x)p.push(x);else{let w=zs(g);w&&f.push(w)}}else{d=!0;break}if(e.loadingPromise=null,c.remove(u),d){if(e.loadingState=ie.FAILED,e.errorTmplIndex===null){let h="",g=new S(-750,!1);wo(t,g)}}else{e.loadingState=ie.COMPLETE;let h=s.tView;if(p.length>0){h.directiveRegistry=pu(h.directiveRegistry,p);let g=p.map(w=>w.type),x=Gs(!1,...g);e.providers=x}f.length>0&&(h.pipeRegistry=pu(h.pipeRegistry,f))}}),e.loadingPromise):(e.loadingPromise=Promise.resolve().then(()=>{e.loadingPromise=null,e.loadingState=ie.COMPLETE,c.remove(u)}),e.loadingPromise)}function kE(e,t){return t[Ke].get(wE,null,{optional:!0})?.behavior!==Ed.Manual}function PE(e,t,n){let r=t[v],o=t[n.index];if(!kE(e,t))return;let i=mo(t,n),s=yo(r,n);switch(ay(i),s.loadingState){case ie.NOT_STARTED:Lt(U.Loading,n,o),FE(s,t,n),s.loadingState===ie.IN_PROGRESS&&Au(s,n,o);break;case ie.IN_PROGRESS:Lt(U.Loading,n,o),Au(s,n,o);break;case ie.COMPLETE:Lt(U.Complete,n,o);break;case ie.FAILED:Lt(U.Error,n,o);break;default:}}function LE(e,t,n){return jn(this,null,function*(){let r=e.get(Cd),o=r.hydrating;if(o.has(t))return;let{parentBlockPromise:i,hydrationQueue:s}=Sy(t,e);VE(r,s);let a=e.get(tn),c=a.add();i!==null&&(yield i);for(let u of s)yield BE(u,r),yield jE(e),o.get(u).resolve();yield o.get(t)?.promise,a.remove(c),n&&n(s),TD(r.get(t),s,r,e.get(Be))})}function VE(e,t){for(let n of t)e.hydrating.set(n,Promise.withResolvers())}function jE(e){return new Promise(t=>Dd(t,{injector:e}))}function BE(e,t){return jn(this,null,function*(){let n=t.get(e);if(n===null)return;let{tNode:r,lView:o}=n,i=mo(o,r);return new Promise(s=>{HE(i,s),PE(2,o,r)})})}function HE(e,t){Array.isArray(e[Ht])||(e[Ht]=[]),e[Ht].push(t)}function $E(e,t,n,r){let o=N(),i=Fn();if(ot(o,i,t)){let s=W(),a=kl();xv(a,o,e,t,n,r)}return $E}function UE(e,t,n,r){return ot(e,Fn(),n)?t+xn(n)+r:Se}function Cr(e,t){return e<<17|t<<2}function Ct(e){return e>>17&32767}function zE(e){return(e&2)==2}function GE(e,t){return e&131071|t<<17}function _s(e){return e|2}function Kt(e){return(e&131068)>>2}function Si(e,t){return e&-131069|t<<2}function WE(e){return(e&1)===1}function Ms(e){return e|1}function qE(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=Ct(s),c=Kt(s);e[r]=n;let u=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||An(d,l)>0)&&(u=!0)}else l=n;if(o)if(c!==0){let p=Ct(e[a+1]);e[r+1]=Cr(p,a),p!==0&&(e[p+1]=Si(e[p+1],r)),e[a+1]=GE(e[a+1],r)}else e[r+1]=Cr(a,0),a!==0&&(e[a+1]=Si(e[a+1],r)),a=r;else e[r+1]=Cr(c,0),a===0?a=r:e[c+1]=Si(e[c+1],r),c=r;u&&(e[r+1]=_s(e[r+1])),Ou(e,l,r,!0),Ou(e,l,r,!1),ZE(t,l,e,r,i),s=Cr(a,c),i?t.classBindings=s:t.styleBindings=s}function ZE(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&An(i,t)>=0&&(n[r+1]=Ms(n[r+1]))}function Ou(e,t,n,r){let o=e[n+1],i=t===null,s=r?Ct(o):Kt(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],u=e[s+1];YE(c,t)&&(a=!0,e[s+1]=r?Ms(u):_s(u)),s=r?Ct(u):Kt(u)}a&&(e[n+1]=r?_s(o):Ms(o))}function YE(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?An(e,t)>=0:!1}var De={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function QE(e){return e.substring(De.key,De.keyEnd)}function KE(e){return XE(e),Lf(e,Vf(e,0,De.textEnd))}function Lf(e,t){let n=De.textEnd;return n===t?-1:(t=De.keyEnd=JE(e,De.key=t,n),Vf(e,t,n))}function XE(e){De.key=0,De.keyEnd=0,De.value=0,De.valueEnd=0,De.textEnd=e.length}function Vf(e,t,n){for(;t32;)t++;return t}function eI(e,t,n){let r=N(),o=Fn();if(ot(r,o,t)){let i=W(),s=kl();bv(i,s,r,e,t,r[k],n,!1)}return eI}function Ss(e,t,n,r,o){let i=t.inputs,s=o?"class":"style";Ea(e,n,i[s],s,r)}function tI(e,t){return rI(e,t,null,!0),tI}function DN(e){oI(lI,nI,e,!0)}function nI(e,t){for(let n=KE(t);n>=0;n=Lf(t,n))$s(e,QE(t),!0)}function rI(e,t,n,r){let o=N(),i=W(),s=Sl(2);if(i.firstUpdatePass&&Bf(i,e,s,r),t!==Se&&ot(o,s,t)){let a=i.data[tt()];Hf(i,a,o,o[k],e,o[s+1]=fI(t,n),r,s)}}function oI(e,t,n,r){let o=W(),i=Sl(2);o.firstUpdatePass&&Bf(o,null,i,r);let s=N();if(n!==Se&&ot(s,i,n)){let a=o.data[tt()];if($f(a,r)&&!jf(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=Fi(c,n||"")),Ss(o,a,s,n,r)}else dI(o,a,s,s[k],s[i+1],s[i+1]=uI(e,t,n),r,i)}}function jf(e,t){return t>=e.expandoStartIndex}function Bf(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[tt()],s=jf(e,n);$f(i,r)&&t===null&&!s&&(t=!1),t=iI(o,i,t,r),qE(o,i,t,n,s,r)}}function iI(e,t,n,r){let o=Kg(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=Ni(null,e,t,n,r),n=Nn(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=Ni(o,e,t,n,r),i===null){let c=sI(e,t,r);c!==void 0&&Array.isArray(c)&&(c=Ni(null,e,t,c[1],r),c=Nn(c,t.attrs,r),aI(e,t,r,c))}else i=cI(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function sI(e,t,n){let r=n?t.classBindings:t.styleBindings;if(Kt(r)!==0)return e[Ct(r)]}function aI(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[Ct(o)]=r}function cI(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i0;){let c=e[o],u=Array.isArray(c),l=u?c[1]:c,d=l===null,p=n[o+1];p===Se&&(p=d?Oe:void 0);let f=d?yi(p,r):l===r?p:void 0;if(u&&!oo(f)&&(f=yi(c,r)),oo(f)&&(a=f,s))return a;let h=e[o+1];o=s?Ct(h):Kt(h)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=yi(c,r))}return a}function oo(e){return e!==void 0}function fI(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=ee(sn(e)))),e}function $f(e,t){return(e.flags&(t?8:16))!==0}var Ns=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 xi(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function pI(e,t,n){let r,o,i=0,s=e.length-1,a=void 0;if(Array.isArray(t)){let c=t.length-1;for(;i<=s&&i<=c;){let u=e.at(i),l=t[i],d=xi(i,u,i,l,n);if(d!==0){d<0&&e.updateValue(i,l),i++;continue}let p=e.at(s),f=t[c],h=xi(s,p,c,f,n);if(h!==0){h<0&&e.updateValue(s,f),s--,c--;continue}let g=n(i,u),x=n(s,p),w=n(i,l);if(Object.is(w,x)){let K=n(c,f);Object.is(K,g)?(e.swap(i,s),e.updateValue(s,f),c--,s--):e.move(s,i),e.updateValue(i,l),i++;continue}if(r??=new io,o??=ku(e,i,s,n),xs(e,r,i,w))e.updateValue(i,l),i++,s++;else if(o.has(w))r.set(g,e.detach(i)),s--;else{let K=e.create(i,t[i]);e.attach(i,K),i++,s++}}for(;i<=c;)Fu(e,r,n,i,t[i]),i++}else if(t!=null){let c=t[Symbol.iterator](),u=c.next();for(;!u.done&&i<=s;){let l=e.at(i),d=u.value,p=xi(i,l,i,d,n);if(p!==0)p<0&&e.updateValue(i,d),i++,u=c.next();else{r??=new io,o??=ku(e,i,s,n);let f=n(i,d);if(xs(e,r,i,f))e.updateValue(i,d),i++,s++,u=c.next();else if(!o.has(f))e.attach(i,e.create(i,d)),i++,s++,u=c.next();else{let h=n(i,l);r.set(h,e.detach(i)),s--}}}for(;!u.done;)Fu(e,r,n,e.length,u.value),u=c.next()}for(;i<=s;)e.destroy(e.detach(s--));r?.forEach(c=>{e.destroy(c)})}function xs(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function Fu(e,t,n,r,o){if(xs(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function ku(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 io=class{kvMap=new Map;_vMap=void 0;has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let n=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),t(r,n)}}};function EN(e,t){He("NgControlFlow");let n=N(),r=Fn(),o=n[r]!==Se?n[r]:-1,i=o!==-1?so(n,P+o):void 0,s=0;if(ot(n,r,e)){let a=M(null);try{if(i!==void 0&&_a(i,s),e!==-1){let c=P+e,u=so(n,c),l=Fs(n[v],c),d=Zt(u,l.tView.ssrId),p=an(n,l,t,{dehydratedView:d});cn(u,p,s,It(l,d))}}finally{M(a)}}else if(i!==void 0){let a=cf(i,s);a!==void 0&&(a[q]=t)}}var As=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-G}};var Os=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function IN(e,t,n,r,o,i,s,a,c,u,l,d,p){He("NgControlFlow");let f=N(),h=W(),g=c!==void 0,x=N(),w=a?s.bind(x[Y][q]):s,K=new Os(g,w);x[P+e]=K,ro(f,h,e+1,t,n,r,o,Gt(h.consts,i)),g&&ro(f,h,e+2,c,u,l,d,Gt(h.consts,p))}var Rs=class extends Ns{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r}get length(){return this.lContainer.length-G}at(t){return this.getLView(t)[q].$implicit}attach(t,n){let r=n[pe];this.needsIndexUpdate||=t!==this.length,cn(this.lContainer,n,t,It(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,hI(this.lContainer,t)}create(t,n){let r=Zt(this.lContainer,this.templateTNode.tView.ssrId),o=an(this.hostLView,this.templateTNode,new As(this.lContainer,n,t),{dehydratedView:r});return this.operationsCounter?.recordCreate(),o}destroy(t){Co(t[v],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[q].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t(nt(!0),ga(r,o,Pl()));function yI(e,t,n,r,o,i){let s=t[pe],a=!s||en()||Tt(n)||Pn(s,i);if(nt(a),a)return ga(r,o,Pl());let c=Mo(s,e,t,n);return Md(s,i)&&Do(s,i,c.nextSibling),s&&(rd(n)||od(c))&&et(n)&&(Ug(n),Ud(c)),c}function vI(){Gf=yI}var DI=(e,t,n,r)=>(nt(!0),Hd(t[k],""));function EI(e,t,n,r){let o,i=t[pe],s=!i||en()||Pn(i,r)||Tt(n);if(nt(s),s)return Hd(t[k],"");let a=Mo(i,e,t,n),c=_y(i,r);return Do(i,r,a),o=So(c,a),o}function II(){DI=EI}var pt=void 0;function wI(e){let t=e,n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return n===1&&r===0?1:5}var CI=["en",[["a","p"],["AM","PM"],pt],[["AM","PM"],pt,pt],[["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"]],pt,[["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"]],pt,[["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}",pt,"{1} 'at' {0}",pt],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",wI],Ai={};function ge(e){let t=bI(e),n=Pu(t);if(n)return n;let r=t.split("-")[0];if(n=Pu(r),n)return n;if(r==="en")return CI;throw new S(701,!1)}function Pu(e){return e in Ai||(Ai[e]=Ze.ng&&Ze.ng.common&&Ze.ng.common.locales&&Ze.ng.common.locales[e]),Ai[e]}var j=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}(j||{});function bI(e){return e.toLowerCase().replace(/_/g,"-")}var ao="en-US";var TI=ao;function _I(e){typeof e=="string"&&(TI=e.toLowerCase().replace(/_/g,"-"))}var Wf=(e,t,n)=>{};function Lu(e){Wf=e}function MI(e,t,n,r){let o=N(),i=W(),s=ue();return NI(i,o,o[k],s,e,t,r),MI}function SI(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 NI(e,t,n,r,o,i,s){let a=Zs(r),u=e.firstCreatePass&&Cl(e),l=t[q],d=wl(t),p=!0;if(r.type&3||s){let g=he(r,t),x=s?s(g):g,w=d.length,K=s?St=>s(we(St[r.index])):r.index,Mt=null;if(!s&&a&&(Mt=SI(e,t,o,r.index)),Mt!==null){let St=Mt.__ngLastListenerFn__||Mt;St.__ngNextListenerFn__=i,Mt.__ngLastListenerFn__=i,p=!1}else{i=ju(r,t,l,i),Wf(g,o,i);let St=n.listen(x,o,i);d.push(i,St),u&&u.push(o,K,w,w+1)}}else i=ju(r,t,l,i);let f=r.outputs,h;if(p&&f!==null&&(h=f[o])){let g=h.length;if(g)for(let x=0;x=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function NN(e,t=""){let n=N(),r=W(),o=e+P,i=r.firstCreatePass?_o(r,o,1,t,null):r.data[o],s=qf(r,n,i,t,e);n[o]=s,ta()&&ba(r,n,s,i),Rn(i,!1)}var qf=(e,t,n,r,o)=>(nt(!0),Bd(t[k],r));function RI(e,t,n,r,o){let i=t[pe],s=!i||en()||Tt(n)||Pn(i,o);return nt(s),s?Bd(t[k],r):Mo(i,e,t,n)}function FI(){qf=RI}function kI(e){return Zf("",e,""),kI}function Zf(e,t,n){let r=N(),o=UE(r,e,t,n);return o!==Se&&PI(r,tt(),o),Zf}function PI(e,t,n){let r=Dl(t,e);hv(e[k],r,n)}function LI(e,t,n){let r=W();if(r.firstCreatePass){let o=bt(e);ks(n,r.data,r.blueprint,o,!0),ks(t,r.data,r.blueprint,o,!1)}}function ks(e,t,n,r,o){if(e=Z(e),Array.isArray(e))for(let i=0;i>20;if(Ut(e)||!e.multi){let f=new Et(u,o,rt),h=Ri(c,t,o?l:l+p,d);h===-1?(Gi(Ur(a,s),i,c),Oi(i,e,t.length),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[h]=f,s[h]=f)}else{let f=Ri(c,t,l+p,d),h=Ri(c,t,l,l+p),g=f>=0&&n[f],x=h>=0&&n[h];if(o&&!x||!o&&!g){Gi(Ur(a,s),i,c);let w=BI(o?jI:VI,n.length,o,r,u);!o&&x&&(n[h].providerFactory=w),Oi(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(w),s.push(w)}else{let w=Yf(n[o?h:f],u,!o&&r);Oi(i,e,f>-1?f:h,w)}!o&&r&&x&&n[h].componentProviders++}}}function Oi(e,t,n,r){let o=Ut(t),i=vg(t);if(o||i){let c=(i?Z(t.useClass):t).prototype.ngOnDestroy;if(c){let u=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let l=u.indexOf(n);l===-1?u.push(n,[r,c]):u[l+1].push(r,c)}else u.push(n,c)}}}function Yf(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Ri(e,t,n,r){for(let o=n;o{n.providersResolver=(r,o)=>LI(r,o?o(e):e,t)}}function HI(e,t){let n=e[t];return n===Se?void 0:n}function $I(e,t,n,r,o,i){let s=t+n;return ot(e,s,o)?mE(e,s+1,i?r.call(i,o):r(o)):HI(e,s+1)}function AN(e,t){let n=W(),r,o=e+P;n.firstCreatePass?(r=UI(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=gt(r.type,!0)),s,a=J(rt);try{let c=$r(!1),u=i();return $r(c),OI(n,N(),o,u),u}finally{J(a)}}function UI(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function ON(e,t,n){let r=e+P,o=N(),i=Rg(o,r);return zI(o,r)?$I(o,Wg(),t,i.transform,n,i):i.transform(n)}function zI(e,t){return e[v].data[t].pure}var Ls=class{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},RN=(()=>{class e{compileModuleSync(n){return new bs(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=ol(n),i=Ld(o.declarations).reduce((s,a)=>{let c=Re(a);return c&&s.push(new Qt(c)),s},[]);return new Ls(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=L({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var GI=(()=>{class e{zone=y(ae);changeDetectionScheduler=y(Wt);applicationRef=y(Be);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=L({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),WI=new I("",{factory:()=>!1});function Qf({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new ae(xe(Ne({},Kf()),{scheduleInRootZone:n})),[{provide:ae,useFactory:e},{provide:$t,multi:!0,useFactory:()=>{let r=y(GI,{optional:!0});return()=>r.initialize()}},{provide:$t,multi:!0,useFactory:()=>{let r=y(qI);return()=>{r.initialize()}}},t===!0?{provide:Jl,useValue:!0}:[],{provide:ed,useValue:n??Xl}]}function FN(e){let t=e?.ignoreChangesOutsideZone,n=e?.scheduleInRootZone,r=Qf({ngZoneFactory:()=>{let o=Kf(e);return o.scheduleInRootZone=n,o.shouldCoalesceEventChangeDetection&&He("NgZone_CoalesceEvent"),new ae(o)},ignoreChangesOutsideZone:t,scheduleInRootZone:n});return il([{provide:WI,useValue:!0},{provide:ia,useValue:!1},r])}function Kf(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var qI=(()=>{class e{subscription=new $;initialized=!1;zone=y(ae);pendingTasks=y(tn);initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{ae.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{ae.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=L({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var ZI=(()=>{class e{appRef=y(Be);taskService=y(tn);ngZone=y(ae);zonelessEnabled=y(ia);tracing=y(go,{optional:!0});disableScheduling=y(Jl,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new $;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Gr):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(y(ed,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Qi||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;let r=!1;switch(n){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 8:{this.appRef.deferredDirtyFlags|=8;break}case 6:{this.appRef.dirtyFlags|=2,r=!0;break}case 13:{this.appRef.dirtyFlags|=16,r=!0;break}case 14:{this.appRef.dirtyFlags|=2,r=!0;break}case 12:{r=!0;break}case 10:case 9:case 7:case 11:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(r))return;let o=this.useMicrotaskScheduler?ou:td;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>o(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>o(()=>this.tick()))}shouldScheduleTick(n){return!(this.disableScheduling&&!n||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Gr+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){throw this.taskService.remove(n),r}finally{this.cleanup()}this.useMicrotaskScheduler=!0,ou(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=L({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function YI(){return typeof $localize<"u"&&$localize.locale||ao}var xo=new I("",{providedIn:"root",factory:()=>y(xo,_.Optional|_.SkipSelf)||YI()});var Vs=new I(""),QI=new I("");function mn(e){return!e.moduleRef}function KI(e){let t=mn(e)?e.r3Injector:e.moduleRef.injector,n=t.get(ae);return n.run(()=>{mn(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(qt,null),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:i=>{r.handleError(i)}})}),mn(e)){let i=()=>t.destroy(),s=e.platformInjector.get(Vs);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(Vs);s.add(i),e.moduleRef.onDestroy(()=>{xr(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return JI(r,n,()=>{let i=t.get(Pf);return i.runInitializers(),i.donePromise.then(()=>{let s=t.get(xo,ao);if(_I(s||ao),!t.get(QI,!0))return mn(e)?t.get(Be):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(mn(e)){let c=t.get(Be);return e.rootComponent!==void 0&&c.bootstrap(e.rootComponent),c}else return XI(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function XI(e,t){let n=e.injector.get(Be);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(n);else throw new S(-403,!1);t.push(e)}function JI(e,t,n){try{let r=n();return Aa(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var Ar=null;function ew(e=[],t){return Ve.create({name:t,providers:[{provide:cl,useValue:"platform"},{provide:Vs,useValue:new Set([()=>Ar=null])},...e]})}function tw(e=[]){if(Ar)return Ar;let t=ew(e);return Ar=t,xE(),nw(t),t}function nw(e){let t=e.get(Lm,null);ll(e,()=>{t?.forEach(n=>n())})}var Xf=(()=>{class e{static __NG_ELEMENT_ID__=rw}return e})();function rw(e){return ow(ue(),N(),(e&16)===16)}function ow(e,t,n){if(et(e)&&!n){let r=_e(e.index,t);return new wt(r,r)}else if(e.type&175){let r=t[Y];return new wt(r,t)}return null}function kN(e){try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=tw(r),i=[Qf({}),{provide:Wt,useExisting:ZI},...n||[]],s=new no({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1});return KI({r3Injector:s.injector,platformInjector:o,rootComponent:t})}catch(t){return Promise.reject(t)}}var br=new WeakSet,Bu="",Or=[];function Hu(e){return e.get(yd,Ym)}function PN(){let e=[{provide:yd,useFactory:()=>{let t=!0;{let n=y(qr);t=!!window._ejsas?.[n]}return t&&He("NgEventReplay"),t}}];return e.push({provide:$t,useValue:()=>{let t=y(Ve),n=t.get(Be);if(!br.has(n)){let r=y(lu);Hu(t)&&Lu((o,i,s)=>{fy(o,i,s),py(o,r)})}},multi:!0},{provide:Oa,useFactory:()=>{let t=y(qr),n=y(Ve),r=y(Be);return()=>{!Hu(n)||br.has(r)||(br.add(r),r.onDestroy(()=>{br.delete(r),mi(t),Lu(()=>{})}),r.whenStable().then(()=>{let o=n.get(gy);iw(o,n);let i=n.get(lu);i.get(Bu)?.forEach(hy),i.delete(Bu);let s=o.instance;Ty(n)?r.onDestroy(()=>s.cleanUp()):s.cleanUp()}))}},multi:!0}),e}var iw=(e,t)=>{let n=t.get(qr),r=window._ejsas[n],o=e.instance=new $c(new yr(r.c));for(let a of r.et)o.addEvent(a);for(let a of r.etc)o.addEvent(a);let i=Uc(n);o.replayEarlyEventInfos(i),mi(n);let s=new vr(a=>{sw(t,a,a.currentTarget)});Hc(o,s)};function sw(e,t,n){let r=(n&&n.getAttribute(vo))??"";/d\d+/.test(r)?aw(r,e,t,n):t.eventPhase===gi.REPLAY&&wd(t,n)}function aw(e,t,n,r){Or.push({event:n,currentTarget:r}),LE(t,e,cw)}function cw(e){let t=[...Or],n=new Set(e);Or=[];for(let{event:r,currentTarget:o}of t){let i=o.getAttribute(vo);n.has(i)?wd(r,o):Or.push({event:r,currentTarget:o})}}var $u=!1;function uw(){$u||($u=!0,Iy(),vI(),FI(),II(),EE(),XD(),SD(),wv())}function lw(e){return e.whenStable()}function LN(){let e=[{provide:Dr,useFactory:()=>{let t=!0;return t=!!y(ho,{optional:!0})?.get(bd,null),t&&He("NgHydration"),t}},{provide:$t,useValue:()=>{ID(!1),y(Dr)&&(dw(),uw())},multi:!0}];return e.push({provide:md,useFactory:()=>y(Dr)},{provide:Oa,useFactory:()=>{if(y(Dr)){let t=y(Be);return()=>{lw(t).then(()=>{t.destroyed||yf(t)})}}return()=>{}},multi:!0}),il(e)}function dw(){let e=kn(),t;for(let n of e.body.childNodes)if(n.nodeType===Node.COMMENT_NODE&&n.textContent?.trim()===Dy){t=n;break}if(!t)throw new S(-507,!1)}function fw(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}var Uu=class{[be];constructor(t){this[be]=t}destroy(){this[be].destroy()}};function VN(e){let t=Re(e);if(!t)return null;let n=new Qt(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}var op=null;function Ra(){return op}function g0(e){op??=e}var Jf=class{};var ip=new I(""),sp=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=L({token:e,factory:()=>y(hw),providedIn:"platform"})}return e})();var hw=(()=>{class e extends sp{_location;_history;_doc=y(ip);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Ra().getBaseHref(this._doc)}onPopState(n){let r=Ra().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){let r=Ra().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(n){this._location.pathname=n}pushState(n,r,o){this._history.pushState(n,r,o)}replaceState(n,r,o){this._history.replaceState(n,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}static \u0275fac=function(r){return new(r||e)};static \u0275prov=L({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function ap(e,t){return e?t?e.endsWith("/")?t.startsWith("/")?e+t.slice(1):e+t:t.startsWith("/")?e+t:`${e}/${t}`:e:t}function ep(e){let t=e.match(/#|\?|$/),n=t&&t.index||e.length,r=n-(e[n-1]==="/"?1:0);return e.slice(0,r)+e.slice(n)}function _t(e){return e&&e[0]!=="?"?"?"+e:e}var La=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=L({token:e,factory:()=>y(mw),providedIn:"root"})}return e})(),gw=new I(""),mw=(()=>{class e extends La{_platformLocation;_baseHref;_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??y(ip).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return ap(this._baseHref,n)}path(n=!1){let r=this._platformLocation.pathname+_t(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+_t(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+_t(i));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static \u0275fac=function(r){return new(r||e)(te(sp),te(gw,8))};static \u0275prov=L({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var yw=(()=>{class e{_subject=new de;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(n){this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=Ew(ep(tp(r))),this._locationStrategy.onPopState(o=>{this._subject.next({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+_t(r))}normalize(n){return e.stripTrailingSlash(Dw(this._basePath,tp(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",o=null){this._locationStrategy.pushState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+_t(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+_t(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(o=>o(n,r))}subscribe(n,r,o){return this._subject.subscribe({next:n,error:r??void 0,complete:o??void 0})}static normalizeQueryParams=_t;static joinWithSlash=ap;static stripTrailingSlash=ep;static \u0275fac=function(r){return new(r||e)(te(La))};static \u0275prov=L({token:e,factory:()=>vw(),providedIn:"root"})}return e})();function vw(){return new yw(te(La))}function Dw(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function tp(e){return e.replace(/\/index.html$/,"")}function Ew(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}var Q=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}(Q||{}),R=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}(R||{}),le=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}(le||{}),it={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function Iw(e){return ge(e)[j.LocaleId]}function ww(e,t,n){let r=ge(e),o=[r[j.DayPeriodsFormat],r[j.DayPeriodsStandalone]],i=me(o,t);return me(i,n)}function Cw(e,t,n){let r=ge(e),o=[r[j.DaysFormat],r[j.DaysStandalone]],i=me(o,t);return me(i,n)}function bw(e,t,n){let r=ge(e),o=[r[j.MonthsFormat],r[j.MonthsStandalone]],i=me(o,t);return me(i,n)}function Tw(e,t){let r=ge(e)[j.Eras];return me(r,t)}function Ao(e,t){let n=ge(e);return me(n[j.DateFormat],t)}function Oo(e,t){let n=ge(e);return me(n[j.TimeFormat],t)}function Ro(e,t){let r=ge(e)[j.DateTimeFormat];return me(r,t)}function Bo(e,t){let n=ge(e),r=n[j.NumberSymbols][t];if(typeof r>"u"){if(t===it.CurrencyDecimal)return n[j.NumberSymbols][it.Decimal];if(t===it.CurrencyGroup)return n[j.NumberSymbols][it.Group]}return r}function cp(e){if(!e[j.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[j.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function _w(e){let t=ge(e);return cp(t),(t[j.ExtraData][2]||[]).map(r=>typeof r=="string"?Fa(r):[Fa(r[0]),Fa(r[1])])}function Mw(e,t,n){let r=ge(e);cp(r);let o=[r[j.ExtraData][0],r[j.ExtraData][1]],i=me(o,t)||[];return me(i,n)||[]}function me(e,t){for(let n=t;n>-1;n--)if(typeof e[n]<"u")return e[n];throw new Error("Locale data API: locale data undefined")}function Fa(e){let[t,n]=e.split(":");return{hours:+t,minutes:+n}}var Sw=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Fo={},Nw=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;function xw(e,t,n,r){let o=jw(e);t=Ue(n,t)||t;let s=[],a;for(;t;)if(a=Nw.exec(t),a){s=s.concat(a.slice(1));let l=s.pop();if(!l)break;t=l}else{s.push(t);break}let c=o.getTimezoneOffset();r&&(c=lp(r,c),o=Vw(o,r,!0));let u="";return s.forEach(l=>{let d=Pw(l);u+=d?d(o,n,c):l==="''"?"'":l.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}function jo(e,t,n){let r=new Date(0);return r.setFullYear(e,t,n),r.setHours(0,0,0),r}function Ue(e,t){let n=Iw(e);if(Fo[n]??={},Fo[n][t])return Fo[n][t];let r="";switch(t){case"shortDate":r=Ao(e,le.Short);break;case"mediumDate":r=Ao(e,le.Medium);break;case"longDate":r=Ao(e,le.Long);break;case"fullDate":r=Ao(e,le.Full);break;case"shortTime":r=Oo(e,le.Short);break;case"mediumTime":r=Oo(e,le.Medium);break;case"longTime":r=Oo(e,le.Long);break;case"fullTime":r=Oo(e,le.Full);break;case"short":let o=Ue(e,"shortTime"),i=Ue(e,"shortDate");r=ko(Ro(e,le.Short),[o,i]);break;case"medium":let s=Ue(e,"mediumTime"),a=Ue(e,"mediumDate");r=ko(Ro(e,le.Medium),[s,a]);break;case"long":let c=Ue(e,"longTime"),u=Ue(e,"longDate");r=ko(Ro(e,le.Long),[c,u]);break;case"full":let l=Ue(e,"fullTime"),d=Ue(e,"fullDate");r=ko(Ro(e,le.Full),[l,d]);break}return r&&(Fo[n][t]=r),r}function ko(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(n,r){return t!=null&&r in t?t[r]:n})),e}function Ce(e,t,n="-",r,o){let i="";(e<0||o&&e<=0)&&(o?e=-e+1:(e=-e,i=n));let s=String(e);for(;s.length0||a>-n)&&(a+=n),e===3)a===0&&n===-12&&(a=12);else if(e===6)return Aw(a,t);let c=Bo(s,it.MinusSign);return Ce(a,t,c,r,o)}}function Ow(e,t){switch(e){case 0:return t.getFullYear();case 1:return t.getMonth();case 2:return t.getDate();case 3:return t.getHours();case 4:return t.getMinutes();case 5:return t.getSeconds();case 6:return t.getMilliseconds();case 7:return t.getDay();default:throw new Error(`Unknown DateType value "${e}".`)}}function F(e,t,n=Q.Format,r=!1){return function(o,i){return Rw(o,i,e,t,n,r)}}function Rw(e,t,n,r,o,i){switch(n){case 2:return bw(t,o,r)[e.getMonth()];case 1:return Cw(t,o,r)[e.getDay()];case 0:let s=e.getHours(),a=e.getMinutes();if(i){let u=_w(t),l=Mw(t,o,r),d=u.findIndex(p=>{if(Array.isArray(p)){let[f,h]=p,g=s>=f.hours&&a>=f.minutes,x=s0?Math.floor(o/60):Math.ceil(o/60);switch(e){case 0:return(o>=0?"+":"")+Ce(s,2,i)+Ce(Math.abs(o%60),2,i);case 1:return"GMT"+(o>=0?"+":"")+Ce(s,1,i);case 2:return"GMT"+(o>=0?"+":"")+Ce(s,2,i)+":"+Ce(Math.abs(o%60),2,i);case 3:return r===0?"Z":(o>=0?"+":"")+Ce(s,2,i)+":"+Ce(Math.abs(o%60),2,i);default:throw new Error(`Unknown zone width "${e}"`)}}}var Fw=0,Vo=4;function kw(e){let t=jo(e,Fw,1).getDay();return jo(e,0,1+(t<=Vo?Vo:Vo+7)-t)}function up(e){let t=e.getDay(),n=t===0?-3:Vo-t;return jo(e.getFullYear(),e.getMonth(),e.getDate()+n)}function ka(e,t=!1){return function(n,r){let o;if(t){let i=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,s=n.getDate();o=1+Math.floor((s+i)/7)}else{let i=up(n),s=kw(i.getFullYear()),a=i.getTime()-s.getTime();o=1+Math.round(a/6048e5)}return Ce(o,e,Bo(r,it.MinusSign))}}function Lo(e,t=!1){return function(n,r){let i=up(n).getFullYear();return Ce(i,e,Bo(r,it.MinusSign),t)}}var Pa={};function Pw(e){if(Pa[e])return Pa[e];let t;switch(e){case"G":case"GG":case"GGG":t=F(3,R.Abbreviated);break;case"GGGG":t=F(3,R.Wide);break;case"GGGGG":t=F(3,R.Narrow);break;case"y":t=B(0,1,0,!1,!0);break;case"yy":t=B(0,2,0,!0,!0);break;case"yyy":t=B(0,3,0,!1,!0);break;case"yyyy":t=B(0,4,0,!1,!0);break;case"Y":t=Lo(1);break;case"YY":t=Lo(2,!0);break;case"YYY":t=Lo(3);break;case"YYYY":t=Lo(4);break;case"M":case"L":t=B(1,1,1);break;case"MM":case"LL":t=B(1,2,1);break;case"MMM":t=F(2,R.Abbreviated);break;case"MMMM":t=F(2,R.Wide);break;case"MMMMM":t=F(2,R.Narrow);break;case"LLL":t=F(2,R.Abbreviated,Q.Standalone);break;case"LLLL":t=F(2,R.Wide,Q.Standalone);break;case"LLLLL":t=F(2,R.Narrow,Q.Standalone);break;case"w":t=ka(1);break;case"ww":t=ka(2);break;case"W":t=ka(1,!0);break;case"d":t=B(2,1);break;case"dd":t=B(2,2);break;case"c":case"cc":t=B(7,1);break;case"ccc":t=F(1,R.Abbreviated,Q.Standalone);break;case"cccc":t=F(1,R.Wide,Q.Standalone);break;case"ccccc":t=F(1,R.Narrow,Q.Standalone);break;case"cccccc":t=F(1,R.Short,Q.Standalone);break;case"E":case"EE":case"EEE":t=F(1,R.Abbreviated);break;case"EEEE":t=F(1,R.Wide);break;case"EEEEE":t=F(1,R.Narrow);break;case"EEEEEE":t=F(1,R.Short);break;case"a":case"aa":case"aaa":t=F(0,R.Abbreviated);break;case"aaaa":t=F(0,R.Wide);break;case"aaaaa":t=F(0,R.Narrow);break;case"b":case"bb":case"bbb":t=F(0,R.Abbreviated,Q.Standalone,!0);break;case"bbbb":t=F(0,R.Wide,Q.Standalone,!0);break;case"bbbbb":t=F(0,R.Narrow,Q.Standalone,!0);break;case"B":case"BB":case"BBB":t=F(0,R.Abbreviated,Q.Format,!0);break;case"BBBB":t=F(0,R.Wide,Q.Format,!0);break;case"BBBBB":t=F(0,R.Narrow,Q.Format,!0);break;case"h":t=B(3,1,-12);break;case"hh":t=B(3,2,-12);break;case"H":t=B(3,1);break;case"HH":t=B(3,2);break;case"m":t=B(4,1);break;case"mm":t=B(4,2);break;case"s":t=B(5,1);break;case"ss":t=B(5,2);break;case"S":t=B(6,1);break;case"SS":t=B(6,2);break;case"SSS":t=B(6,3);break;case"Z":case"ZZ":case"ZZZ":t=Po(0);break;case"ZZZZZ":t=Po(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=Po(1);break;case"OOOO":case"ZZZZ":case"zzzz":t=Po(2);break;default:return null}return Pa[e]=t,t}function lp(e,t){e=e.replace(/:/g,"");let n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function Lw(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function Vw(e,t,n){let r=n?-1:1,o=e.getTimezoneOffset(),i=lp(t,o);return Lw(e,r*(i-o))}function jw(e){if(np(e))return e;if(typeof e=="number"&&!isNaN(e))return new Date(e);if(typeof e=="string"){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){let[o,i=1,s=1]=e.split("-").map(a=>+a);return jo(o,i-1,s)}let n=parseFloat(e);if(!isNaN(e-n))return new Date(n);let r;if(r=e.match(Sw))return Bw(r)}let t=new Date(e);if(!np(t))throw new Error(`Unable to convert "${e}" into a date`);return t}function Bw(e){let t=new Date(0),n=0,r=0,o=e[8]?t.setUTCFullYear:t.setFullYear,i=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),r=Number(e[9]+e[11])),o.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));let s=Number(e[4]||0)-n,a=Number(e[5]||0)-r,c=Number(e[6]||0),u=Math.floor(parseFloat("0."+(e[7]||0))*1e3);return i.call(t,s,a,c,u),t}function np(e){return e instanceof Date&&!isNaN(e.valueOf())}function m0(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let r=n.indexOf("="),[o,i]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}function Hw(e,t){return new S(2100,!1)}var $w="mediumDate",Uw=new I(""),zw=new I(""),y0=(()=>{class e{locale;defaultTimezone;defaultOptions;constructor(n,r,o){this.locale=n,this.defaultTimezone=r,this.defaultOptions=o}transform(n,r,o,i){if(n==null||n===""||n!==n)return null;try{let s=r??this.defaultOptions?.dateFormat??$w,a=o??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return xw(n,s,i||this.locale,a)}catch(s){throw Hw(e,s.message)}}static \u0275fac=function(r){return new(r||e)(rt(xo,16),rt(Uw,24),rt(zw,24))};static \u0275pipe=xf({name:"date",type:e,pure:!0})}return e})();var v0="browser",Gw="server";function D0(e){return e===Gw}var rp=class{};export{Ne as a,xe as b,Ww as c,$ as d,Tp as e,A as f,ti as g,ni as h,de as i,fn as j,pn as k,Ge as l,kp as m,Pp as n,Lp as o,ut as p,lt as q,Gp as r,dt as s,ri as t,fr as u,qp as v,Zp as w,hn as x,bc as y,Yp as z,gn as A,oi as B,Kp as C,Xp as D,ii as E,Jp as F,eh as G,th as H,nh as I,rh as J,oh as K,ih as L,S as M,L as N,JS as O,I as P,_ as Q,te as R,y as S,il as T,cl as U,Fe as V,ll as W,Mg as X,eN as Y,Ql as Z,Ve as _,ru as $,oa as aa,Wt as ba,tn as ca,Ye as da,ae as ea,qt as fa,tN as ga,rn as ha,He as ia,nN as ja,rN as ka,qr as la,Lm as ma,ld as na,oN as oa,iN as pa,ho as qa,go as ra,_n as sa,sn as ta,fa as ua,sN as va,aN as wa,cN as xa,uN as ya,lN as za,Ad as Aa,Wy as Ba,Io as Ca,dN as Da,Zy as Ea,fN as Fa,pN as Ga,Qr as Ha,eo as Ia,Df as Ja,rt as Ka,gN as La,No as Ma,ws as Na,Nf as Oa,yN as Pa,pE as Qa,xf as Ra,gE as Sa,vE as Ta,vN as Ua,Aa as Va,Oa as Wa,Be as Xa,$E as Ya,eI as Za,tI as _a,DN as $a,EN as ab,IN as bb,wN as cb,Uf as db,zf as eb,mI as fb,MI as gb,CN as hb,bN as ib,TN as jb,_N as kb,MN as lb,SN as mb,NN as nb,kI as ob,xN as pb,AN as qb,ON as rb,RN as sb,FN as tb,Xf as ub,kN as vb,PN as wb,LN as xb,fw as yb,VN as zb,Ra as Ab,g0 as Bb,Jf as Cb,ip as Db,La as Eb,yw as Fb,m0 as Gb,y0 as Hb,v0 as Ib,D0 as Jb,rp as Kb};