var ru=Object.defineProperty,ou=Object.defineProperties;var iu=Object.getOwnPropertyDescriptors;var Kt=Object.getOwnPropertySymbols;var Qi=Object.prototype.hasOwnProperty,Zi=Object.prototype.propertyIsEnumerable;var zi=(e,t,n)=>t in e?ru(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ce=(e,t)=>{for(var n in t||={})Qi.call(t,n)&&zi(e,n,t[n]);if(Kt)for(var n of Kt(t))Zi.call(t,n)&&zi(e,n,t[n]);return e},xe=(e,t)=>ou(e,iu(t));var Hm=(e,t)=>{var n={};for(var r in e)Qi.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Kt)for(var r of Kt(e))t.indexOf(r)<0&&Zi.call(e,r)&&(n[r]=e[r]);return n};function Yi(e,t){return Object.is(e,t)}var P=null,Xt=!1,en=1,ie=Symbol("SIGNAL");function b(e){let t=P;return P=e,t}function Ji(){return P}var St={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function nn(e){if(Xt)throw new Error("");if(P===null)return;P.consumerOnSignalRead(e);let t=P.nextProducerIndex++;if(sn(P),t<P.producerNode.length&&P.producerNode[t]!==e&&Tt(P)){let n=P.producerNode[t];on(n,P.producerIndexOfThis[t])}P.producerNode[t]!==e&&(P.producerNode[t]=e,P.producerIndexOfThis[t]=Tt(P)?ts(e,P,t):0),P.producerLastReadVersion[t]=e.version}function su(){en++}function Ki(e){if(!(Tt(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===en)){if(!e.producerMustRecompute(e)&&!Pr(e)){e.dirty=!1,e.lastCleanEpoch=en;return}e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=en}}function Xi(e){if(e.liveConsumerNode===void 0)return;let t=Xt;Xt=!0;try{for(let n of e.liveConsumerNode)n.dirty||au(n)}finally{Xt=t}}function es(){return P?.consumerAllowSignalWrites!==!1}function au(e){e.dirty=!0,Xi(e),e.consumerMarkedDirty?.(e)}function rn(e){return e&&(e.nextProducerIndex=0),b(e)}function Rr(e,t){if(b(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(Tt(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)on(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Pr(e){sn(e);for(let t=0;t<e.producerNode.length;t++){let n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(Ki(n),r!==n.version))return!0}return!1}function Lr(e){if(sn(e),Tt(e))for(let t=0;t<e.producerNode.length;t++)on(e.producerNode[t],e.producerIndexOfThis[t]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function ts(e,t,n){if(ns(e),e.liveConsumerNode.length===0&&rs(e))for(let r=0;r<e.producerNode.length;r++)e.producerIndexOfThis[r]=ts(e.producerNode[r],e,r);return e.liveConsumerIndexOfThis.push(n),e.liveConsumerNode.push(t)-1}function on(e,t){if(ns(e),e.liveConsumerNode.length===1&&rs(e))for(let r=0;r<e.producerNode.length;r++)on(e.producerNode[r],e.producerIndexOfThis[r]);let n=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[n],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[n],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){let r=e.liveConsumerIndexOfThis[t],o=e.liveConsumerNode[t];sn(o),o.producerIndexOfThis[r]=t}}function Tt(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function sn(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function ns(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function rs(e){return e.producerNode!==void 0}function Fr(e){let t=Object.create(cu);t.computation=e;let n=()=>{if(Ki(t),nn(t),t.value===tn)throw t.error;return t.value};return n[ie]=t,n}var Ar=Symbol("UNSET"),kr=Symbol("COMPUTING"),tn=Symbol("ERRORED"),cu=xe(Ce({},St),{value:Ar,dirty:!0,error:null,equal:Yi,producerMustRecompute(e){return e.value===Ar||e.value===kr},producerRecomputeValue(e){if(e.value===kr)throw new Error("Detected cycle in computations.");let t=e.value;e.value=kr;let n=rn(e),r;try{r=e.computation()}catch(o){r=tn,e.error=o}finally{Rr(e,n)}if(t!==Ar&&t!==tn&&r!==tn&&e.equal(t,r)){e.value=t;return}e.value=r,e.version++}});function lu(){throw new Error}var os=lu;function is(){os()}function ss(e){os=e}var uu=null;function as(e){let t=Object.create(jr);t.value=e;let n=()=>(nn(t),t.value);return n[ie]=t,n}function an(e,t){es()||is(),e.equal(e.value,t)||(e.value=t,du(e))}function cs(e,t){es()||is(),an(e,t(e.value))}var jr=xe(Ce({},St),{equal:Yi,value:void 0});function du(e){e.version++,su(),Xi(e),uu?.()}function v(e){return typeof e=="function"}function at(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 cn=at(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:
${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
  `)}`:"",this.name="UnsubscriptionError",this.errors=n});function Pe(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var k=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(v(r))try{r()}catch(i){t=i instanceof cn?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{ls(i)}catch(s){t=t??[],s instanceof cn?t=[...t,...s.errors]:t.push(s)}}if(t)throw new cn(t)}}add(t){var n;if(t&&t!==this)if(this.closed)ls(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}}_hasParent(t){let{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){let{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&Pe(n,t)}remove(t){let{_finalizers:n}=this;n&&Pe(n,t),t instanceof e&&t._removeParent(this)}};k.EMPTY=(()=>{let e=new k;return e.closed=!0,e})();var Vr=k.EMPTY;function ln(e){return e instanceof k||e&&"closed"in e&&v(e.remove)&&v(e.add)&&v(e.unsubscribe)}function ls(e){v(e)?e():e.unsubscribe()}var se={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var ct={setTimeout(e,t,...n){let{delegate:r}=ct;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=ct;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function un(e){ct.setTimeout(()=>{let{onUnhandledError:t}=se;if(t)t(e);else throw e})}function Ot(){}var us=Hr("C",void 0,void 0);function ds(e){return Hr("E",void 0,e)}function fs(e){return Hr("N",e,void 0)}function Hr(e,t,n){return{kind:e,value:t,error:n}}var Le=null;function lt(e){if(se.useDeprecatedSynchronousErrorHandling){let t=!Le;if(t&&(Le={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=Le;if(Le=null,n)throw r}}else e()}function ps(e){se.useDeprecatedSynchronousErrorHandling&&Le&&(Le.errorThrown=!0,Le.error=e)}var Fe=class extends k{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,ln(t)&&t.add(this)):this.destination=hu}static create(t,n,r){return new ye(t,n,r)}next(t){this.isStopped?Br(fs(t),this):this._next(t)}error(t){this.isStopped?Br(ds(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Br(us,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()}}},fu=Function.prototype.bind;function $r(e,t){return fu.call(e,t)}var Ur=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){dn(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){dn(r)}else dn(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){dn(n)}}},ye=class extends Fe{constructor(t,n,r){super();let o;if(v(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&se.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&$r(t.next,i),error:t.error&&$r(t.error,i),complete:t.complete&&$r(t.complete,i)}):o=t}this.destination=new Ur(o)}};function dn(e){se.useDeprecatedSynchronousErrorHandling?ps(e):un(e)}function pu(e){throw e}function Br(e,t){let{onStoppedNotification:n}=se;n&&ct.setTimeout(()=>n(e,t))}var hu={closed:!0,next:Ot,error:pu,complete:Ot};var ut=typeof Symbol=="function"&&Symbol.observable||"@@observable";function z(e){return e}function gu(...e){return Wr(e)}function Wr(e){return e.length===0?z:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var M=(()=>{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=vu(n)?n:new ye(n,r,o);return lt(()=>{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=hs(r),new r((o,i)=>{let s=new ye({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)}[ut](){return this}pipe(...n){return Wr(n)(this)}toPromise(n){return n=hs(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 hs(e){var t;return(t=e??se.Promise)!==null&&t!==void 0?t:Promise}function mu(e){return e&&v(e.next)&&v(e.error)&&v(e.complete)}function vu(e){return e&&e instanceof Fe||mu(e)&&ln(e)}function qr(e){return v(e?.lift)}function w(e){return t=>{if(qr(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 E(e,t,n,r,o){return new Gr(e,t,n,r,o)}var Gr=class extends Fe{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 zr(){return w((e,t)=>{let n=null;e._refCount++;let r=E(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 Qr=class extends M{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,qr(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 k;let n=this.getSubject();t.add(this.source.subscribe(E(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=k.EMPTY)}return t}refCount(){return zr()(this)}};var gs=at(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var K=(()=>{class e extends M{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new fn(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new gs}next(n){lt(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){lt(()=>{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(){lt(()=>{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?Vr:(this.currentObservers=null,i.push(n),new k(()=>{this.currentObservers=null,Pe(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new M;return n.source=this,n}}return e.create=(t,n)=>new fn(t,n),e})(),fn=class extends K{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:Vr}};var At=class extends K{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 kt={now(){return(kt.delegate||Date).now()},delegate:void 0};var pn=class extends K{constructor(t=1/0,n=1/0,r=kt){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!t.closed;s+=r?1:2)t.next(i[s]);return this._checkFinalizedStatuses(t),n}_trimBuffer(){let{_bufferSize:t,_timestampProvider:n,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*t;if(t<1/0&&i<r.length&&r.splice(0,r.length-i),!o){let s=n.now(),a=0;for(let c=1;c<r.length&&r[c]<=s;c+=2)a=c;a&&r.splice(0,a+1)}}};var hn=class extends k{constructor(t,n){super()}schedule(t,n=0){return this}};var Rt={setInterval(e,t,...n){let{delegate:r}=Rt;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=Rt;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var gn=class extends hn{constructor(t,n){super(t,n),this.scheduler=t,this.work=n,this.pending=!1}schedule(t,n=0){var r;if(this.closed)return this;this.state=t;let o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,n)),this.pending=!0,this.delay=n,this.id=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(i,this.id,n),this}requestAsyncId(t,n,r=0){return Rt.setInterval(t.flush.bind(t,this),r)}recycleAsyncId(t,n,r=0){if(r!=null&&this.delay===r&&this.pending===!1)return n;n!=null&&Rt.clearInterval(n)}execute(t,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(t,n);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,n){let r=!1,o;try{this.work(t)}catch(i){r=!0,o=i||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){let{id:t,scheduler:n}=this,{actions:r}=n;this.work=this.state=this.scheduler=null,this.pending=!1,Pe(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var dt=class e{constructor(t,n=e.now){this.schedulerActionCtor=t,this.now=n}schedule(t,n=0,r){return new this.schedulerActionCtor(this,t).schedule(r,n)}};dt.now=kt.now;var mn=class extends dt{constructor(t,n=dt.now){super(t,n),this.actions=[],this._active=!1}flush(t){let{actions:n}=this;if(this._active){n.push(t);return}let r;this._active=!0;do if(r=t.execute(t.state,t.delay))break;while(t=n.shift());if(this._active=!1,r){for(;t=n.shift();)t.unsubscribe();throw r}}};var ms=new mn(gn);var je=new M(e=>e.complete());function vs(e){return e&&v(e.schedule)}function Zr(e){return e[e.length-1]}function vn(e){return v(Zr(e))?e.pop():void 0}function ue(e){return vs(Zr(e))?e.pop():void 0}function ys(e,t){return typeof Zr(e)=="number"?e.pop():t}function ws(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(u){try{l(r.next(u))}catch(d){s(d)}}function c(u){try{l(r.throw(u))}catch(d){s(d)}}function l(u){u.done?i(u.value):o(u.value).then(a,c)}l((r=r.apply(e,t||[])).next())})}function Is(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Ve(e){return this instanceof Ve?(this.v=e,this):new Ve(e)}function Es(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o={},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(S,x){i.push([f,g,S,x])>1||c(f,g)})},h&&(o[f]=h(o[f])))}function c(f,h){try{l(r[f](h))}catch(g){p(i[0][3],g)}}function l(f){f.value instanceof Ve?Promise.resolve(f.value.v).then(u,d):p(i[0][2],f)}function u(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 Ds(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 Is=="function"?Is(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,c){s=e[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(l){i({value:l,done:a})},s)}}var yn=e=>e&&typeof e.length=="number"&&typeof e!="function";function In(e){return v(e?.then)}function wn(e){return v(e[ut])}function En(e){return Symbol.asyncIterator&&v(e?.[Symbol.asyncIterator])}function Dn(e){return new TypeError(`You provided ${e!==null&&typeof e=="object"?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function yu(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var bn=yu();function Cn(e){return v(e?.[bn])}function xn(e){return Es(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield Ve(n.read());if(o)return yield Ve(void 0);yield yield Ve(r)}}finally{n.releaseLock()}})}function Mn(e){return v(e?.getReader)}function O(e){if(e instanceof M)return e;if(e!=null){if(wn(e))return Iu(e);if(yn(e))return wu(e);if(In(e))return Eu(e);if(En(e))return bs(e);if(Cn(e))return Du(e);if(Mn(e))return bu(e)}throw Dn(e)}function Iu(e){return new M(t=>{let n=e[ut]();if(v(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function wu(e){return new M(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function Eu(e){return new M(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,un)})}function Du(e){return new M(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function bs(e){return new M(t=>{Cu(e,t).catch(n=>t.error(n))})}function bu(e){return bs(xn(e))}function Cu(e,t){var n,r,o,i;return ws(this,void 0,void 0,function*(){try{for(n=Ds(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 U(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 _n(e,t=0){return w((n,r)=>{n.subscribe(E(r,o=>U(r,e,()=>r.next(o),t),()=>U(r,e,()=>r.complete(),t),o=>U(r,e,()=>r.error(o),t)))})}function Nn(e,t=0){return w((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Cs(e,t){return O(e).pipe(Nn(t),_n(t))}function xs(e,t){return O(e).pipe(Nn(t),_n(t))}function Ms(e,t){return new M(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function _s(e,t){return new M(n=>{let r;return U(n,t,()=>{r=e[bn](),U(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)}),()=>v(r?.return)&&r.return()})}function Tn(e,t){if(!e)throw new Error("Iterable cannot be null");return new M(n=>{U(n,t,()=>{let r=e[Symbol.asyncIterator]();U(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Ns(e,t){return Tn(xn(e),t)}function Ts(e,t){if(e!=null){if(wn(e))return Cs(e,t);if(yn(e))return Ms(e,t);if(In(e))return xs(e,t);if(En(e))return Tn(e,t);if(Cn(e))return _s(e,t);if(Mn(e))return Ns(e,t)}throw Dn(e)}function de(e,t){return t?Ts(e,t):O(e)}function xu(...e){let t=ue(e);return de(e,t)}function Mu(e,t){let n=v(e)?e:()=>e,r=o=>o.error(n());return new M(t?o=>t.schedule(r,0,o):r)}function _u(e){return!!e&&(e instanceof M||v(e.lift)&&v(e.subscribe))}var He=at(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Ie(e,t){return w((n,r)=>{let o=0;n.subscribe(E(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:Nu}=Array;function Tu(e,t){return Nu(t)?e(...t):e(t)}function Sn(e){return Ie(t=>Tu(e,t))}var{isArray:Su}=Array,{getPrototypeOf:Ou,prototype:Au,keys:ku}=Object;function On(e){if(e.length===1){let t=e[0];if(Su(t))return{args:t,keys:null};if(Ru(t)){let n=ku(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function Ru(e){return e&&typeof e=="object"&&Ou(e)===Au}function An(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function Pu(...e){let t=ue(e),n=vn(e),{args:r,keys:o}=On(e);if(r.length===0)return de([],t);let i=new M(Lu(r,t,o?s=>An(o,s):z));return n?i.pipe(Sn(n)):i}function Lu(e,t,n=z){return r=>{Ss(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)Ss(t,()=>{let l=de(e[c],t),u=!1;l.subscribe(E(r,d=>{i[c]=d,u||(u=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Ss(e,t,n){e?U(n,e,t):t()}function Os(e,t,n,r,o,i,s,a){let c=[],l=0,u=0,d=!1,p=()=>{d&&!c.length&&!l&&t.complete()},f=g=>l<r?h(g):c.push(g),h=g=>{i&&t.next(g),l++;let S=!1;O(n(g,u++)).subscribe(E(t,x=>{o?.(x),i?f(x):t.next(x)},()=>{S=!0},void 0,()=>{if(S)try{for(l--;c.length&&l<r;){let x=c.shift();s?U(t,s,()=>h(x)):h(x)}p()}catch(x){t.error(x)}}))};return e.subscribe(E(t,f,()=>{d=!0,p()})),()=>{a?.()}}function $e(e,t,n=1/0){return v(t)?$e((r,o)=>Ie((i,s)=>t(r,i,o,s))(O(e(r,o))),n):(typeof t=="number"&&(n=t),w((r,o)=>Os(r,o,e,n)))}function Pt(e=1/0){return $e(z,e)}function As(){return Pt(1)}function kn(...e){return As()(de(e,ue(e)))}function Fu(e){return new M(t=>{O(e()).subscribe(t)})}function ju(...e){let t=vn(e),{args:n,keys:r}=On(e),o=new M(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),c=s,l=s;for(let u=0;u<s;u++){let d=!1;O(n[u]).subscribe(E(i,p=>{d||(d=!0,l--),a[u]=p},()=>c--,void 0,()=>{(!c||!d)&&(l||i.next(r?An(r,a):a),i.complete())}))}});return t?o.pipe(Sn(t)):o}function Vu(...e){let t=ue(e),n=ys(e,1/0),r=e;return r.length?r.length===1?O(r[0]):Pt(n)(de(r,t)):je}function Be(e,t){return w((n,r)=>{let o=0;n.subscribe(E(r,i=>e.call(t,i,o++)&&r.next(i)))})}function ks(e){return w((t,n)=>{let r=null,o=!1,i;r=t.subscribe(E(n,void 0,void 0,s=>{i=O(e(s,ks(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function Rs(e,t,n,r,o){return(i,s)=>{let a=n,c=t,l=0;i.subscribe(E(s,u=>{let d=l++;c=a?e(c,u,d):(a=!0,u),r&&s.next(c)},o&&(()=>{a&&s.next(c),s.complete()})))}}function Hu(e,t){return v(t)?$e(e,t,1):$e(e,1)}function $u(e,t=ms){return w((n,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let l=i;i=null,r.next(l)}};function c(){let l=s+e,u=t.now();if(u<l){o=this.schedule(void 0,l-u),r.add(o);return}a()}n.subscribe(E(r,l=>{i=l,s=t.now(),o||(o=t.schedule(c,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function Lt(e){return w((t,n)=>{let r=!1;t.subscribe(E(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function Yr(e){return e<=0?()=>je:w((t,n)=>{let r=0;t.subscribe(E(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function Bu(e){return Ie(()=>e)}function Rn(e=Uu){return w((t,n)=>{let r=!1;t.subscribe(E(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function Uu(){return new He}function Wu(e){return w((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function Ps(e,t){let n=arguments.length>=2;return r=>r.pipe(e?Be((o,i)=>e(o,i,r)):z,Yr(1),n?Lt(t):Rn(()=>new He))}function Jr(e){return e<=0?()=>je:w((t,n)=>{let r=[];t.subscribe(E(n,o=>{r.push(o),e<r.length&&r.shift()},()=>{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function qu(e,t){let n=arguments.length>=2;return r=>r.pipe(e?Be((o,i)=>e(o,i,r)):z,Jr(1),n?Lt(t):Rn(()=>new He))}function Gu(e,t){return w(Rs(e,t,arguments.length>=2,!0))}function Ls(e={}){let{connector:t=()=>new K,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,c,l=0,u=!1,d=!1,p=()=>{a?.unsubscribe(),a=void 0},f=()=>{p(),s=c=void 0,u=d=!1},h=()=>{let g=s;f(),g?.unsubscribe()};return w((g,S)=>{l++,!d&&!u&&p();let x=c=c??t();S.add(()=>{l--,l===0&&!d&&!u&&(a=Kr(h,o))}),x.subscribe(S),!s&&l>0&&(s=new ye({next:J=>x.next(J),error:J=>{d=!0,p(),a=Kr(f,n,J),x.error(J)},complete:()=>{u=!0,p(),a=Kr(f,r),x.complete()}}),O(g).subscribe(s))})(i)}}function Kr(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new ye({next:()=>{r.unsubscribe(),e()}});return O(t(...n)).subscribe(r)}function zu(e,t,n){let r,o=!1;return e&&typeof e=="object"?{bufferSize:r=1/0,windowTime:t=1/0,refCount:o=!1,scheduler:n}=e:r=e??1/0,Ls({connector:()=>new pn(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function Qu(e){return Be((t,n)=>e<=n)}function Zu(...e){let t=ue(e);return w((n,r)=>{(t?kn(e,n,t):kn(e,n)).subscribe(r)})}function Yu(e,t){return w((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(E(r,c=>{o?.unsubscribe();let l=0,u=i++;O(e(c,u)).subscribe(o=E(r,d=>r.next(t?t(c,d,u,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Ju(e){return w((t,n)=>{O(e).subscribe(E(n,()=>n.complete(),Ot)),!n.closed&&t.subscribe(n)})}function Ku(e,t,n){let r=v(e)||t||n?{next:e,error:t,complete:n}:e;return r?w((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(E(i,c=>{var l;(l=r.next)===null||l===void 0||l.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var l;a=!1,(l=r.error)===null||l===void 0||l.call(r,c),i.error(c)},()=>{var c,l;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(l=r.finalize)===null||l===void 0||l.call(r)}))}):z}var wa="https://g.co/ng/security#xss",_=class extends Error{constructor(t,n){super(Xu(t,n)),this.code=t}};function Xu(e,t){return`${`NG0${Math.abs(e)}`}${t?": "+t:""}`}var Ea=Symbol("InputSignalNode#UNSET"),ed=xe(Ce({},jr),{transformFn:void 0,applyValueToInputSignal(e,t){an(e,t)}});function Da(e,t){let n=Object.create(ed);n.value=e,n.transformFn=t?.transform;function r(){if(nn(n),n.value===Ea)throw new _(-950,!1);return n.value}return r[ie]=n,r}function zt(e){return{toString:e}.toString()}var Pn="__parameters__";function td(e){return function(...n){if(e){let r=e(...n);for(let o in r)this[o]=r[o]}}}function ba(e,t,n){return zt(()=>{let r=td(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;let s=new o(...i);return a.annotation=s,a;function a(c,l,u){let d=c.hasOwnProperty(Pn)?c[Pn]:Object.defineProperty(c,Pn,{value:[]})[Pn];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),c}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}var Fs=globalThis;function T(e){for(let t in e)if(e[t]===T)return t;throw Error("Could not find renamed property on target object.")}function nd(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Q(e){if(typeof e=="string")return e;if(Array.isArray(e))return"["+e.map(Q).join(", ")+"]";if(e==null)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;let t=e.toString();if(t==null)return""+t;let n=t.indexOf(`
`);return n===-1?t:t.substring(0,n)}function ho(e,t){return e==null||e===""?t===null?"":t:t==null||t===""?e:e+" "+t}var rd=T({__forward_ref__:T});function Ca(e){return e.__forward_ref__=Ca,e.toString=function(){return Q(this())},e}function j(e){return xa(e)?e():e}function xa(e){return typeof e=="function"&&e.hasOwnProperty(rd)&&e.__forward_ref__===Ca}function Y(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function yb(e){return{providers:e.providers||[],imports:e.imports||[]}}function vr(e){return js(e,Ma)||js(e,_a)}function Ib(e){return vr(e)!==null}function js(e,t){return e.hasOwnProperty(t)?e[t]:null}function od(e){let t=e&&(e[Ma]||e[_a]);return t||null}function Vs(e){return e&&(e.hasOwnProperty(Hs)||e.hasOwnProperty(id))?e[Hs]:null}var Ma=T({\u0275prov:T}),Hs=T({\u0275inj:T}),_a=T({ngInjectableDef:T}),id=T({ngInjectorDef:T}),A=class{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=Y({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Na(e){return e&&!!e.\u0275providers}var sd=T({\u0275cmp:T}),ad=T({\u0275dir:T}),cd=T({\u0275pipe:T}),ld=T({\u0275mod:T}),Wn=T({\u0275fac:T}),jt=T({__NG_ELEMENT_ID__:T}),$s=T({__NG_ENV_ID__:T});function yr(e){return typeof e=="string"?e:e==null?"":String(e)}function ud(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():yr(e)}function dd(e,t){let n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new _(-200,e)}function ai(e,t){throw new _(-201,!1)}var D=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}(D||{}),go;function Ta(){return go}function X(e){let t=go;return go=e,t}function Sa(e,t,n){let r=vr(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&D.Optional)return null;if(t!==void 0)return t;ai(e,"Injector")}var fd={},Vt=fd,mo="__NG_DI_FLAG__",qn="ngTempTokenPath",pd="ngTokenPath",hd=/\n/gm,gd="\u0275",Bs="__source",gt;function md(){return gt}function Me(e){let t=gt;return gt=e,t}function vd(e,t=D.Default){if(gt===void 0)throw new _(-203,!1);return gt===null?Sa(e,void 0,t):gt.get(e,t&D.Optional?null:void 0,t)}function Te(e,t=D.Default){return(Ta()||vd)(j(e),t)}function N(e,t=D.Default){return Te(e,Ir(t))}function Ir(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function vo(e){let t=[];for(let n=0;n<e.length;n++){let r=j(e[n]);if(Array.isArray(r)){if(r.length===0)throw new _(900,!1);let o,i=D.Default;for(let s=0;s<r.length;s++){let a=r[s],c=yd(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(Te(o,i))}else t.push(Te(r))}return t}function Oa(e,t){return e[mo]=t,e.prototype[mo]=t,e}function yd(e){return e[mo]}function Id(e,t,n,r){let o=e[qn];throw t[Bs]&&o.unshift(t[Bs]),e.message=wd(`
`+e.message,o,n,r),e[pd]=o,e[qn]=null,e}function wd(e,t,n,r=null){e=e&&e.charAt(0)===`
`&&e.charAt(1)==gd?e.slice(2):e;let o=Q(t);if(Array.isArray(t))o=t.map(Q).join(" -> ");else if(typeof t=="object"){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):Q(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(hd,`
  `)}`}var wb=Oa(ba("Optional"),8);var Eb=Oa(ba("SkipSelf"),4);function vt(e,t){let n=e.hasOwnProperty(Wn);return n?e[Wn]:null}function Ed(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let o=e[r],i=t[r];if(n&&(o=n(o),i=n(i)),i!==o)return!1}return!0}function Dd(e){return e.flat(Number.POSITIVE_INFINITY)}function ci(e,t){e.forEach(n=>Array.isArray(n)?ci(n,t):t(n))}function Aa(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Gn(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function bd(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function Cd(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(o===1)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;){let i=o-2;e[o]=e[i],o--}e[t]=n,e[t+1]=r}}function li(e,t,n){let r=Qt(e,t);return r>=0?e[r|1]=n:(r=~r,Cd(e,r,t,n)),r}function Xr(e,t){let n=Qt(e,t);if(n>=0)return e[n|1]}function Qt(e,t){return xd(e,t,1)}function xd(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=e[i<<n];if(t===s)return i<<n;s>t?o=i:r=i+1}return~(o<<n)}var yt={},V=[],zn=new A(""),ka=new A("",-1),Ra=new A(""),Qn=class{get(t,n=Vt){if(n===Vt){let r=new Error(`NullInjectorError: No provider for ${Q(t)}!`);throw r.name="NullInjectorError",r}return n}},Pa=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Pa||{}),Ht=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Ht||{}),Se=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Se||{});function Md(e,t,n){let r=e.length;for(;;){let o=e.indexOf(t,n);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}function yo(e,t,n){let r=0;for(;r<n.length;){let o=n[r];if(typeof o=="number"){if(o!==0)break;r++;let i=n[r++],s=n[r++],a=n[r++];e.setAttribute(t,s,a,i)}else{let i=o,s=n[++r];_d(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function La(e){return e===3||e===4||e===6}function _d(e){return e.charCodeAt(0)===64}function $t(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){let o=t[r];typeof o=="number"?n=o:n===0||(n===-1||n===2?Us(e,n,o,null,t[++r]):Us(e,n,o,null,null))}}return e}function Us(e,t,n,r,o){let i=0,s=e.length;if(t===-1)s=-1;else for(;i<e.length;){let a=e[i++];if(typeof a=="number"){if(a===t){s=-1;break}else if(a>t){s=i-1;break}}}for(;i<e.length;){let a=e[i];if(typeof a=="number")break;if(a===n){if(r===null){o!==null&&(e[i+1]=o);return}else if(r===e[i+1]){e[i+2]=o;return}}i++,r!==null&&i++,o!==null&&i++}s!==-1&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),r!==null&&e.splice(i++,0,r),o!==null&&e.splice(i++,0,o)}var Fa="ng-template";function Nd(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&Md(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(ui(e))return!1;if(o=t.indexOf(1,o),o>-1){let i;for(;++o<t.length&&typeof(i=t[o])=="string";)if(i.toLowerCase()===n)return!0}return!1}function ui(e){return e.type===4&&e.value!==Fa}function Td(e,t,n){let r=e.type===4&&!n?Fa:e.value;return t===r}function Sd(e,t,n){let r=4,o=e.attrs,i=o!==null?kd(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!ae(r)&&!ae(c))return!1;if(s&&ae(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!Td(e,c,n)||c===""&&t.length===1){if(ae(r))return!1;s=!0}}else if(r&8){if(o===null||!Nd(e,o,c,n)){if(ae(r))return!1;s=!0}}else{let l=t[++a],u=Od(c,o,ui(e),n);if(u===-1){if(ae(r))return!1;s=!0;continue}if(l!==""){let d;if(u>i?d="":d=o[u+1].toLowerCase(),r&2&&l!==d){if(ae(r))return!1;s=!0}}}}return ae(r)||s}function ae(e){return(e&1)===0}function Od(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o<t.length;){let s=t[o];if(s===e)return o;if(s===3||s===6)i=!0;else if(s===1||s===2){let a=t[++o];for(;typeof a=="string";)a=t[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=i?1:2}return-1}else return Rd(t,e)}function ja(e,t,n=!1){for(let r=0;r<t.length;r++)if(Sd(e,t[r],n))return!0;return!1}function Ad(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if(!(n&1))return t[n+1]}return null}function kd(e){for(let t=0;t<e.length;t++){let n=e[t];if(La(n))return t}return e.length}function Rd(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){let r=e[n];if(typeof r=="number")return-1;if(r===t)return n;n++}return-1}function Pd(e,t){e:for(let n=0;n<t.length;n++){let r=t[n];if(e.length===r.length){for(let o=0;o<e.length;o++)if(e[o]!==r[o])continue e;return!0}}return!1}function Ws(e,t){return e?":not("+t.trim()+")":t}function Ld(e){let t=e[0],n=1,r=2,o="",i=!1;for(;n<e.length;){let s=e[n];if(typeof s=="string")if(r&2){let a=e[++n];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!ae(s)&&(t+=Ws(i,o),o=""),r=s,i=i||!ae(r);n++}return o!==""&&(t+=Ws(i,o)),t}function Fd(e){return e.map(Ld).join(",")}function jd(e){let t=[],n=[],r=1,o=2;for(;r<e.length;){let i=e[r];if(typeof i=="string")o===2?i!==""&&t.push(i,e[++r]):o===8&&n.push(i);else{if(!ae(o))break;o=i}r++}return{attrs:t,classes:n}}function Db(e){return zt(()=>{let t=Ba(e),n=xe(Ce({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Pa.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Ht.Emulated,styles:e.styles||V,_:null,schemas:e.schemas||null,tView:null,id:""});Ua(n);let r=e.dependencies;return n.directiveDefs=Gs(r,!1),n.pipeDefs=Gs(r,!0),n.id=Bd(n),n})}function Vd(e){return Oe(e)||Va(e)}function Hd(e){return e!==null}function bb(e){return zt(()=>({type:e.type,bootstrap:e.bootstrap||V,declarations:e.declarations||V,imports:e.imports||V,exports:e.exports||V,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function qs(e,t){if(e==null)return yt;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a=Se.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),t?(n[i]=a!==Se.None?[r,a]:r,t[i]=s):n[i]=r}return n}function Cb(e){return zt(()=>{let t=Ba(e);return Ua(t),t})}function Oe(e){return e[sd]||null}function Va(e){return e[ad]||null}function Ha(e){return e[cd]||null}function $d(e){let t=Oe(e)||Va(e)||Ha(e);return t!==null?t.standalone:!1}function $a(e,t){let n=e[ld]||null;if(!n&&t===!0)throw new Error(`Type ${Q(e)} does not have '\u0275mod' property.`);return n}function Ba(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||yt,exportAs:e.exportAs||null,standalone:e.standalone===!0,signals:e.signals===!0,selectors:e.selectors||V,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:qs(e.inputs,t),outputs:qs(e.outputs),debugInfo:null}}function Ua(e){e.features?.forEach(t=>t(e))}function Gs(e,t){if(!e)return null;let n=t?Ha:Vd;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(Hd)}function Bd(e){let t=0,n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(let o of n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function Ud(e){return{\u0275providers:e}}function Wd(...e){return{\u0275providers:Wa(!0,e),\u0275fromNgModule:!0}}function Wa(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return ci(t,s=>{let a=s;Io(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&qa(o,i),n}function qa(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];di(o,i=>{t(i,r)})}}function Io(e,t,n,r){if(e=j(e),!e)return!1;let o=null,i=Vs(e),s=!i&&Oe(e);if(!i&&!s){let c=e.ngModule;if(i=Vs(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let l of c)Io(l,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;try{ci(i.imports,u=>{Io(u,t,n,r)&&(l||=[],l.push(u))})}finally{}l!==void 0&&qa(l,t)}if(!a){let l=vt(o)||(()=>new o);t({provide:o,useFactory:l,deps:V},o),t({provide:Ra,useValue:o,multi:!0},o),t({provide:zn,useValue:()=>Te(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=e;di(c,u=>{t(u,l)})}}else return!1;return o!==e&&e.providers!==void 0}function di(e,t){for(let n of e)Na(n)&&(n=n.\u0275providers),Array.isArray(n)?di(n,t):t(n)}var qd=T({provide:String,useValue:T});function Ga(e){return e!==null&&typeof e=="object"&&qd in e}function Gd(e){return!!(e&&e.useExisting)}function zd(e){return!!(e&&e.useFactory)}function It(e){return typeof e=="function"}function Qd(e){return!!e.useClass}var za=new A(""),Vn={},Zd={},eo;function fi(){return eo===void 0&&(eo=new Qn),eo}var Ae=class{},Bt=class extends Ae{get destroyed(){return this._destroyed}constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Eo(t,s=>this.processProvider(s)),this.records.set(ka,ft(void 0,this)),o.has("environment")&&this.records.set(Ae,ft(void 0,this));let i=this.records.get(za);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Ra,V,D.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let t=b(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(),b(t)}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();let n=Me(this),r=X(void 0),o;try{return t()}finally{Me(n),X(r)}}get(t,n=Vt,r=D.Default){if(this.assertNotDestroyed(),t.hasOwnProperty($s))return t[$s](this);r=Ir(r);let o,i=Me(this),s=X(void 0);try{if(!(r&D.SkipSelf)){let c=this.records.get(t);if(c===void 0){let l=ef(t)&&vr(t);l&&this.injectableDefInScope(l)?c=ft(wo(t),Vn):c=null,this.records.set(t,c)}if(c!=null)return this.hydrate(t,c)}let a=r&D.Self?fi():this.parent;return n=r&D.Optional&&n===Vt?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[qn]=a[qn]||[]).unshift(Q(t)),i)throw a;return Id(a,t,"R3InjectorError",this.source)}else throw a}finally{X(s),Me(i)}}resolveInjectorInitializers(){let t=b(null),n=Me(this),r=X(void 0),o;try{let i=this.get(zn,V,D.Self);for(let s of i)s()}finally{Me(n),X(r),b(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(Q(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new _(205,!1)}processProvider(t){t=j(t);let n=It(t)?t:j(t&&t.provide),r=Jd(t);if(!It(t)&&t.multi===!0){let o=this.records.get(n);o||(o=ft(void 0,Vn,!0),o.factory=()=>vo(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){let r=b(null);try{return n.value===Vn&&(n.value=Zd,n.value=n.factory()),typeof n.value=="object"&&n.value&&Xd(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{b(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=j(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 wo(e){let t=vr(e),n=t!==null?t.factory:vt(e);if(n!==null)return n;if(e instanceof A)throw new _(204,!1);if(e instanceof Function)return Yd(e);throw new _(204,!1)}function Yd(e){if(e.length>0)throw new _(204,!1);let n=od(e);return n!==null?()=>n.factory(e):()=>new e}function Jd(e){if(Ga(e))return ft(void 0,e.useValue);{let t=Qa(e);return ft(t,Vn)}}function Qa(e,t,n){let r;if(It(e)){let o=j(e);return vt(o)||wo(o)}else if(Ga(e))r=()=>j(e.useValue);else if(zd(e))r=()=>e.useFactory(...vo(e.deps||[]));else if(Gd(e))r=()=>Te(j(e.useExisting));else{let o=j(e&&(e.useClass||e.provide));if(Kd(e))r=()=>new o(...vo(e.deps));else return vt(o)||wo(o)}return r}function ft(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Kd(e){return!!e.deps}function Xd(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function ef(e){return typeof e=="function"||typeof e=="object"&&e instanceof A}function Eo(e,t){for(let n of e)Array.isArray(n)?Eo(n,t):n&&Na(n)?Eo(n.\u0275providers,t):t(n)}function tf(e,t){e instanceof Bt&&e.assertNotDestroyed();let n,r=Me(e),o=X(void 0);try{return t()}finally{Me(r),X(o)}}function Za(){return Ta()!==void 0||md()!=null}function Ya(e){if(!Za())throw new _(-203,!1)}function nf(e){return typeof e=="function"}var De=0,y=1,m=2,F=3,le=4,G=5,Ut=6,Zn=7,te=8,wt=9,he=10,R=11,Wt=12,zs=13,_t=14,ne=15,qe=16,pt=17,Ee=18,wr=19,Ja=20,_e=21,to=22,ee=23,Z=25,Ka=1;var Ge=7,Yn=8,Et=9,W=10,Jn=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(Jn||{});function Ne(e){return Array.isArray(e)&&typeof e[Ka]=="object"}function be(e){return Array.isArray(e)&&e[Ka]===!0}function Xa(e){return(e.flags&4)!==0}function Er(e){return e.componentOffset>-1}function pi(e){return(e.flags&1)===1}function ke(e){return!!e.template}function Do(e){return(e[m]&512)!==0}var bo=class{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function ec(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}function rf(){return tc}function tc(e){return e.type.prototype.ngOnChanges&&(e.setInput=sf),of}rf.ngInherit=!0;function of(){let e=rc(this),t=e?.current;if(t){let n=e.previous;if(n===yt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function sf(e,t,n,r,o){let i=this.declaredInputs[r],s=rc(e)||af(e,{previous:yt,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new bo(l&&l.currentValue,n,c===yt),ec(e,t,o,n)}var nc="__ngSimpleChanges__";function rc(e){return e[nc]||null}function af(e,t){return e[nc]=t}var Qs=null;var fe=function(e,t,n){Qs?.(e,t,n)},cf="svg",lf="math";function ge(e){for(;Array.isArray(e);)e=e[De];return e}function oc(e,t){return ge(t[e])}function re(e,t){return ge(t[e.index])}function hi(e,t){return e.data[t]}function uf(e,t){return e[t]}function Re(e,t){let n=t[e];return Ne(n)?n:n[De]}function df(e){return(e[m]&4)===4}function gi(e){return(e[m]&128)===128}function ff(e){return be(e[F])}function Kn(e,t){return t==null?null:e[t]}function ic(e){e[pt]=0}function sc(e){e[m]&1024||(e[m]|=1024,gi(e)&&Dr(e))}function pf(e,t){for(;e>0;)t=t[_t],e--;return t}function qt(e){return!!(e[m]&9216||e[ee]?.dirty)}function Co(e){e[he].changeDetectionScheduler?.notify(7),e[m]&64&&(e[m]|=1024),qt(e)&&Dr(e)}function Dr(e){e[he].changeDetectionScheduler?.notify(0);let t=ze(e);for(;t!==null&&!(t[m]&8192||(t[m]|=8192,!gi(t)));)t=ze(t)}function ac(e,t){if((e[m]&256)===256)throw new _(911,!1);e[_e]===null&&(e[_e]=[]),e[_e].push(t)}function hf(e,t){if(e[_e]===null)return;let n=e[_e].indexOf(t);n!==-1&&e[_e].splice(n,1)}function ze(e){let t=e[F];return be(t)?t[F]:t}var I={lFrame:yc(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var cc=!1;function gf(){return I.lFrame.elementDepthCount}function mf(){I.lFrame.elementDepthCount++}function vf(){I.lFrame.elementDepthCount--}function lc(){return I.bindingsEnabled}function uc(){return I.skipHydrationRootTNode!==null}function yf(e){return I.skipHydrationRootTNode===e}function If(){I.skipHydrationRootTNode=null}function C(){return I.lFrame.lView}function L(){return I.lFrame.tView}function xb(e){return I.lFrame.contextLView=e,e[te]}function Mb(e){return I.lFrame.contextLView=null,e}function $(){let e=dc();for(;e!==null&&e.type===64;)e=e.parent;return e}function dc(){return I.lFrame.currentTNode}function wf(){let e=I.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Zt(e,t){let n=I.lFrame;n.currentTNode=e,n.isParent=t}function fc(){return I.lFrame.isParent}function pc(){I.lFrame.isParent=!1}function Ef(){return I.lFrame.contextLView}function hc(){return cc}function Zs(e){cc=e}function Df(){let e=I.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function bf(e){return I.lFrame.bindingIndex=e}function Yt(){return I.lFrame.bindingIndex++}function gc(e){let t=I.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Cf(){return I.lFrame.inI18n}function xf(e,t){let n=I.lFrame;n.bindingIndex=n.bindingRootIndex=e,xo(t)}function Mf(){return I.lFrame.currentDirectiveIndex}function xo(e){I.lFrame.currentDirectiveIndex=e}function _f(e){let t=I.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function mi(){return I.lFrame.currentQueryIndex}function br(e){I.lFrame.currentQueryIndex=e}function Nf(e){let t=e[y];return t.type===2?t.declTNode:t.type===1?e[G]:null}function mc(e,t,n){if(n&D.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&D.Host);)if(o=Nf(i),o===null||(i=i[_t],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=I.lFrame=vc();return r.currentTNode=t,r.lView=e,!0}function vi(e){let t=vc(),n=e[y];I.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function vc(){let e=I.lFrame,t=e===null?null:e.child;return t===null?yc(e):t}function yc(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 Ic(){let e=I.lFrame;return I.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var wc=Ic;function yi(){let e=Ic();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 Tf(e){return(I.lFrame.contextLView=pf(e,I.lFrame.contextLView))[te]}function nt(){return I.lFrame.selectedIndex}function Qe(e){I.lFrame.selectedIndex=e}function Ii(){let e=I.lFrame;return hi(e.tView,e.selectedIndex)}function Sf(){return I.lFrame.currentNamespace}var Ec=!0;function wi(){return Ec}function Ei(e){Ec=e}function Of(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=tc(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 Di(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){let i=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:l,ngOnDestroy:u}=i;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),c&&(e.viewHooks??=[]).push(-n,c),l&&((e.viewHooks??=[]).push(n,l),(e.viewCheckHooks??=[]).push(n,l)),u!=null&&(e.destroyHooks??=[]).push(n,u)}}function Hn(e,t,n){Dc(e,t,3,n)}function $n(e,t,n,r){(e[m]&3)===n&&Dc(e,t,n,r)}function no(e,t){let n=e[m];(n&3)===t&&(n&=16383,n+=1,e[m]=n)}function Dc(e,t,n,r){let o=r!==void 0?e[pt]&65535:0,i=r??-1,s=t.length-1,a=0;for(let c=o;c<s;c++)if(typeof t[c+1]=="number"){if(a=t[c],r!=null&&a>=r)break}else t[c]<0&&(e[pt]+=65536),(a<i||i==-1)&&(Af(e,n,t,c),e[pt]=(e[pt]&4294901760)+c+2),c++}function Ys(e,t){fe(4,e,t);let n=b(null);try{t.call(e)}finally{b(n),fe(5,e,t)}}function Af(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[m]>>14<e[pt]>>16&&(e[m]&3)===t&&(e[m]+=16384,Ys(a,i)):Ys(a,i)}var mt=-1,Ze=class{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}};function kf(e){return e instanceof Ze}function Rf(e){return(e.flags&8)!==0}function Pf(e){return(e.flags&16)!==0}var ro={},Mo=class{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=Ir(r);let o=this.injector.get(t,ro,r);return o!==ro||n===ro?o:this.parentInjector.get(t,n,r)}};function bc(e){return e!==mt}function Xn(e){return e&32767}function Lf(e){return e>>16}function er(e,t){let n=Lf(e),r=t;for(;n>0;)r=r[_t],n--;return r}var _o=!0;function Js(e){let t=_o;return _o=e,t}var Ff=256,Cc=Ff-1,xc=5,jf=0,pe={};function Vf(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(jt)&&(r=n[jt]),r==null&&(r=n[jt]=jf++);let o=r&Cc,i=1<<o;t.data[e+(o>>xc)]|=i}function tr(e,t){let n=Mc(e,t);if(n!==-1)return n;let r=t[y];r.firstCreatePass&&(e.injectorIndex=t.length,oo(r.data,e),oo(t,null),oo(r.blueprint,null));let o=bi(e,t),i=e.injectorIndex;if(bc(o)){let s=Xn(o),a=er(o,t),c=a[y].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|c[s+l]}return t[i+8]=o,i}function oo(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Mc(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function bi(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=Oc(o),r===null)return mt;if(n++,o=o[_t],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return mt}function No(e,t,n){Vf(e,t,n)}function Hf(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<r;){let i=n[o];if(La(i))break;if(i===0)o=o+2;else if(typeof i=="number")for(o++;o<r&&typeof n[o]=="string";)o++;else{if(i===t)return n[o+1];o=o+2}}}return null}function _c(e,t,n){if(n&D.Optional||e!==void 0)return e;ai(t,"NodeInjector")}function Nc(e,t,n,r){if(n&D.Optional&&r===void 0&&(r=null),!(n&(D.Self|D.Host))){let o=e[wt],i=X(void 0);try{return o?o.get(t,r,n&D.Optional):Sa(t,r,n&D.Optional)}finally{X(i)}}return _c(r,t,n)}function Tc(e,t,n,r=D.Default,o){if(e!==null){if(t[m]&2048&&!(r&D.Self)){let s=Wf(e,t,n,r,pe);if(s!==pe)return s}let i=Sc(e,t,n,r,pe);if(i!==pe)return i}return Nc(t,n,r,o)}function Sc(e,t,n,r,o){let i=Bf(n);if(typeof i=="function"){if(!mc(t,e,r))return r&D.Host?_c(o,n,r):Nc(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&D.Optional))ai(n);else return s}finally{wc()}}else if(typeof i=="number"){let s=null,a=Mc(e,t),c=mt,l=r&D.Host?t[ne][G]:null;for((a===-1||r&D.SkipSelf)&&(c=a===-1?bi(e,t):t[a+8],c===mt||!Xs(r,!1)?a=-1:(s=t[y],a=Xn(c),t=er(c,t)));a!==-1;){let u=t[y];if(Ks(i,a,u.data)){let d=$f(a,t,n,s,r,l);if(d!==pe)return d}c=t[a+8],c!==mt&&Xs(r,t[y].data[a+8]===l)&&Ks(i,a,t)?(s=u,a=Xn(c),t=er(c,t)):a=-1}}return o}function $f(e,t,n,r,o,i){let s=t[y],a=s.data[e+8],c=r==null?Er(a)&&_o:r!=s&&(a.type&3)!==0,l=o&D.Host&&i===a,u=Bn(a,s,n,c,l);return u!==null?Ye(t,s,u,a):pe}function Bn(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,c=e.directiveStart,l=e.directiveEnd,u=i>>20,d=r?a:a+u,p=o?a+u:l;for(let f=d;f<p;f++){let h=s[f];if(f<c&&n===h||f>=c&&h.type===n)return f}if(o){let f=s[c];if(f&&ke(f)&&f.type===n)return c}return null}function Ye(e,t,n,r){let o=e[n],i=t.data;if(kf(o)){let s=o;s.resolving&&dd(ud(i[n]));let a=Js(s.canSeeViewProviders);s.resolving=!0;let c,l=s.injectImpl?X(s.injectImpl):null,u=mc(e,r,D.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&Of(n,i[n],t)}finally{l!==null&&X(l),Js(a),s.resolving=!1,wc()}}return o}function Bf(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(jt)?e[jt]:void 0;return typeof t=="number"?t>=0?t&Cc:Uf:t}function Ks(e,t,n){let r=1<<e;return!!(n[t+(e>>xc)]&r)}function Xs(e,t){return!(e&D.Self)&&!(e&D.Host&&t)}var We=class{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Tc(this._tNode,this._lView,t,Ir(r),n)}};function Uf(){return new We($(),C())}function _b(e){return zt(()=>{let t=e.prototype.constructor,n=t[Wn]||To(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Wn]||To(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function To(e){return xa(e)?()=>{let t=To(j(e));return t&&t()}:vt(e)}function Wf(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[m]&2048&&!(s[m]&512);){let a=Sc(i,s,n,r|D.Self,pe);if(a!==pe)return a;let c=i.parent;if(!c){let l=s[Ja];if(l){let u=l.get(n,pe,r);if(u!==pe)return u}c=Oc(s),s=s[_t]}i=c}return o}function Oc(e){let t=e[y],n=t.type;return n===2?t.declTNode:n===1?e[G]:null}function Nb(e){return Hf($(),e)}function ea(e,t=null,n=null,r){let o=Ac(e,t,n,r);return o.resolveInjectorInitializers(),o}function Ac(e,t=null,n=null,r,o=new Set){let i=[n||V,Wd(e)];return r=r||(typeof e=="object"?void 0:Q(e)),new Bt(i,t||fi(),r||null,o)}var Ue=class Ue{static create(t,n){if(Array.isArray(t))return ea({name:""},n,t,"");{let r=t.name??"";return ea({name:r},t.parent,t.providers,r)}}};Ue.THROW_IF_NOT_FOUND=Vt,Ue.NULL=new Qn,Ue.\u0275prov=Y({token:Ue,providedIn:"any",factory:()=>Te(ka)}),Ue.__NG_ELEMENT_ID__=-1;var Je=Ue;var qf=new A("");qf.__NG_ELEMENT_ID__=e=>{let t=$();if(t===null)throw new _(204,!1);if(t.type&2)return t.value;if(e&D.Optional)return null;throw new _(204,!1)};var Gf="ngOriginalError";function io(e){return e[Gf]}var Ci=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=zf,t.__NG_ENV_ID__=r=>r;let e=t;return e})(),So=class extends Ci{constructor(t){super(),this._lView=t}onDestroy(t){return ac(this._lView,t),()=>hf(this._lView,t)}};function zf(){return new So(C())}var Cr=(()=>{let t=class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new At(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let r=this.taskId++;return this.pendingTasks.add(r),r}remove(r){this.pendingTasks.delete(r),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};t.\u0275prov=Y({token:t,providedIn:"root",factory:()=>new t});let e=t;return e})();var Oo=class extends K{constructor(t=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=t,Za()&&(this.destroyRef=N(Ci,{optional:!0})??void 0,this.pendingTasks=N(Cr,{optional:!0})??void 0)}emit(t){let n=b(null);try{super.next(t)}finally{b(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 k&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{t(n),r!==void 0&&this.pendingTasks?.remove(r)})}}},we=Oo;function nr(...e){}function kc(e){let t,n;function r(){e=nr;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 ta(e){return queueMicrotask(()=>e()),()=>{e=nr}}var q=class e{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new we(!1),this.onMicrotaskEmpty=new we(!1),this.onStable=new we(!1),this.onError=new we(!1),typeof Zone>"u")throw new _(908,!1);Zone.assertZonePatched();let o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.callbackScheduled=!1,Yf(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new _(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new _(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,Qf,nr,nr);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)}},Qf={};function xi(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 Zf(e){e.isCheckStableRunning||e.callbackScheduled||(e.callbackScheduled=!0,Zone.root.run(()=>{kc(()=>{e.callbackScheduled=!1,Ao(e),e.isCheckStableRunning=!0,xi(e),e.isCheckStableRunning=!1})}),Ao(e))}function Yf(e){let t=()=>{Zf(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{if(Jf(a))return n.invokeTask(o,i,s,a);try{return na(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&i.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),ra(e)}},onInvoke:(n,r,o,i,s,a,c)=>{try{return na(e),n.invoke(o,i,s,a,c)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!Kf(a)&&t(),ra(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&(i.change=="microTask"?(e._hasPendingMicrotasks=i.microTask,Ao(e),xi(e)):i.change=="macroTask"&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}function Ao(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function na(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function ra(e){e._nesting--,xi(e)}var ko=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new we,this.onMicrotaskEmpty=new we,this.onStable=new we,this.onError=new we}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 Jf(e){return Rc(e,"__ignore_ng_zone__")}function Kf(e){return Rc(e,"__scheduler_tick__")}function Rc(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var Dt=class{constructor(){this._console=console}handleError(t){let n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&io(t);for(;n&&io(n);)n=io(n);return n||null}},Xf=new A("",{providedIn:"root",factory:()=>{let e=N(q),t=N(Dt);return n=>e.runOutsideAngular(()=>t.handleError(n))}});function oa(e,t){return Da(e,t)}function ep(e){return Da(Ea,e)}var Tb=(oa.required=ep,oa);function tp(){return Nt($(),C())}function Nt(e,t){return new xr(re(e,t))}var xr=(()=>{let t=class t{constructor(r){this.nativeElement=r}};t.__NG_ELEMENT_ID__=tp;let e=t;return e})();function Pc(e){return e instanceof xr?e.nativeElement:e}function np(){return this._results[Symbol.iterator]()}var Ro=class e{get changes(){return this._changes??=new we}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;let n=e.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=np)}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=Dd(t);(this._changesDetected=!Ed(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.emit(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}};function Lc(e){return(e.flags&128)===128}var Fc=new Map,rp=0;function op(){return rp++}function ip(e){Fc.set(e[wr],e)}function sp(e){Fc.delete(e[wr])}var ia="__ngContext__";function Ke(e,t){Ne(t)?(e[ia]=t[wr],ip(t)):e[ia]=t}function jc(e){return Hc(e[Wt])}function Vc(e){return Hc(e[le])}function Hc(e){for(;e!==null&&!be(e);)e=e[le];return e}var Po;function Sb(e){Po=e}function ap(){if(Po!==void 0)return Po;if(typeof document<"u")return document;throw new _(210,!1)}var Ob=new A("",{providedIn:"root",factory:()=>cp}),cp="ng",lp=new A(""),up=new A("",{providedIn:"platform",factory:()=>"unknown"});var Ab=new A(""),kb=new A("",{providedIn:"root",factory:()=>ap().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var dp="h",fp="b";var pp=()=>null;function Mi(e,t,n=!1){return pp(e,t,n)}var $c=!1,hp=new A("",{providedIn:"root",factory:()=>$c});var Ln;function gp(){if(Ln===void 0&&(Ln=null,Fs.trustedTypes))try{Ln=Fs.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Ln}function sa(e){return gp()?.createScriptURL(e)||e}var rr=class{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${wa})`}};function Mr(e){return e instanceof rr?e.changingThisBreaksApplicationSecurity:e}function Bc(e,t){let n=mp(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${wa})`)}return n===t}function mp(e){return e instanceof rr&&e.getTypeName()||null}var vp=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function yp(e){return e=String(e),e.match(vp)?e:"unsafe:"+e}var _i=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}(_i||{});function Ip(e){let t=Uc();return t?t.sanitize(_i.URL,e)||"":Bc(e,"URL")?Mr(e):yp(yr(e))}function wp(e){let t=Uc();if(t)return sa(t.sanitize(_i.RESOURCE_URL,e)||"");if(Bc(e,"ResourceURL"))return sa(Mr(e));throw new _(904,!1)}function Ep(e,t){return t==="src"&&(e==="embed"||e==="frame"||e==="iframe"||e==="media"||e==="script")||t==="href"&&(e==="base"||e==="link")?wp:Ip}function Rb(e,t,n){return Ep(t,n)(e)}function Uc(){let e=C();return e&&e[he].sanitizer}function Wc(e){return e instanceof Function?e():e}function qc(e){return(e??N(Je)).get(up)==="browser"}var Lo=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Lo||{}),Dp;function Ni(e,t){return Dp(e,t)}function ht(e,t,n,r,o){if(r!=null){let i,s=!1;be(r)?i=r:Ne(r)&&(s=!0,r=r[De]);let a=ge(r);e===0&&n!==null?o==null?Yc(t,n,a):ir(t,n,a,o||null,!0):e===1&&n!==null?ir(t,n,a,o||null,!0):e===2?Pp(t,a,s):e===3&&t.destroyNode(a),i!=null&&Fp(t,e,i,n,o)}}function bp(e,t){return e.createText(t)}function Cp(e,t,n){e.setValue(t,n)}function Gc(e,t,n){return e.createElement(t,n)}function xp(e,t){zc(e,t),t[De]=null,t[G]=null}function Mp(e,t,n,r,o,i){r[De]=o,r[G]=t,_r(e,r,n,1,o,i)}function zc(e,t){t[he].changeDetectionScheduler?.notify(8),_r(e,t,t[R],2,null,null)}function _p(e){let t=e[Wt];if(!t)return so(e[y],e);for(;t;){let n=null;if(Ne(t))n=t[Wt];else{let r=t[W];r&&(n=r)}if(!n){for(;t&&!t[le]&&t!==e;)Ne(t)&&so(t[y],t),t=t[F];t===null&&(t=e),Ne(t)&&so(t[y],t),n=t&&t[le]}t=n}}function Np(e,t,n,r){let o=W+r,i=n.length;r>0&&(n[o-1][le]=t),r<i-W?(t[le]=n[o],Aa(n,W+r,t)):(n.push(t),t[le]=null),t[F]=n;let s=t[qe];s!==null&&n!==s&&Qc(s,t);let a=t[Ee];a!==null&&a.insertView(e),Co(t),t[m]|=128}function Qc(e,t){let n=e[Et],r=t[F];if(Ne(r))e[m]|=Jn.HasTransplantedViews;else{let o=r[F][ne];t[ne]!==o&&(e[m]|=Jn.HasTransplantedViews)}n===null?e[Et]=[t]:n.push(t)}function Ti(e,t){let n=e[Et],r=n.indexOf(t);n.splice(r,1)}function or(e,t){if(e.length<=W)return;let n=W+t,r=e[n];if(r){let o=r[qe];o!==null&&o!==e&&Ti(o,r),t>0&&(e[n-1][le]=r[le]);let i=Gn(e,W+t);xp(r[y],r);let s=i[Ee];s!==null&&s.detachView(i[y]),r[F]=null,r[le]=null,r[m]&=-129}return r}function Si(e,t){if(!(t[m]&256)){let n=t[R];n.destroyNode&&_r(e,t,n,3,null,null),_p(t)}}function so(e,t){if(t[m]&256)return;let n=b(null);try{t[m]&=-129,t[m]|=256,t[ee]&&Lr(t[ee]),Sp(e,t),Tp(e,t),t[y].type===1&&t[R].destroy();let r=t[qe];if(r!==null&&be(t[F])){r!==t[F]&&Ti(r,t);let o=t[Ee];o!==null&&o.detachView(e)}sp(t)}finally{b(n)}}function Tp(e,t){let n=e.cleanup,r=t[Zn];if(n!==null)for(let i=0;i<n.length-1;i+=2)if(typeof n[i]=="string"){let s=n[i+3];s>=0?r[s]():r[-s].unsubscribe(),i+=2}else{let s=r[n[i+1]];n[i].call(s)}r!==null&&(t[Zn]=null);let o=t[_e];if(o!==null){t[_e]=null;for(let i=0;i<o.length;i++){let s=o[i];s()}}}function Sp(e,t){let n;if(e!=null&&(n=e.destroyHooks)!=null)for(let r=0;r<n.length;r+=2){let o=t[n[r]];if(!(o instanceof Ze)){let i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],c=i[s+1];fe(4,a,c);try{c.call(a)}finally{fe(5,a,c)}}else{fe(4,o,i);try{i.call(o)}finally{fe(5,o,i)}}}}}function Zc(e,t,n){return Op(e,t.parent,n)}function Op(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[De];{let{componentOffset:o}=r;if(o>-1){let{encapsulation:i}=e.data[r.directiveStart+o];if(i===Ht.None||i===Ht.Emulated)return null}return re(r,n)}}function ir(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Yc(e,t,n){e.appendChild(t,n)}function aa(e,t,n,r,o){r!==null?ir(e,t,n,r,o):Yc(e,t,n)}function Jc(e,t){return e.parentNode(t)}function Ap(e,t){return e.nextSibling(t)}function Kc(e,t,n){return Rp(e,t,n)}function kp(e,t,n){return e.type&40?re(e,n):null}var Rp=kp,ca;function Oi(e,t,n,r){let o=Zc(e,r,t),i=t[R],s=r.parent||t[G],a=Kc(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)aa(i,o,n[c],a,!1);else aa(i,o,n,a,!1);ca!==void 0&&ca(i,r,t,n,o)}function Ft(e,t){if(t!==null){let n=t.type;if(n&3)return re(t,e);if(n&4)return Fo(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return Ft(e,r);{let o=e[t.index];return be(o)?Fo(-1,o):ge(o)}}else{if(n&128)return Ft(e,t.next);if(n&32)return Ni(t,e)()||ge(e[t.index]);{let r=Xc(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=ze(e[ne]);return Ft(o,r)}else return Ft(e,t.next)}}}return null}function Xc(e,t){if(t!==null){let r=e[ne][G],o=t.projection;return r.projection[o]}return null}function Fo(e,t){let n=W+e+1;if(n<t.length){let r=t[n],o=r[y].firstChild;if(o!==null)return Ft(r,o)}return t[Ge]}function Pp(e,t,n){e.removeChild(null,t,n)}function Ai(e,t,n,r,o,i,s){for(;n!=null;){if(n.type===128){n=n.next;continue}let a=r[n.index],c=n.type;if(s&&t===0&&(a&&Ke(ge(a),r),n.flags|=2),(n.flags&32)!==32)if(c&8)Ai(e,t,n.child,r,o,i,!1),ht(t,e,o,a,i);else if(c&32){let l=Ni(n,r),u;for(;u=l();)ht(t,e,o,u,i);ht(t,e,o,a,i)}else c&16?el(e,t,r,n,o,i):ht(t,e,o,a,i);n=s?n.projectionNext:n.next}}function _r(e,t,n,r,o,i){Ai(n,r,e.firstChild,t,o,i,!1)}function Lp(e,t,n){let r=t[R],o=Zc(e,n,t),i=n.parent||t[G],s=Kc(i,n,t);el(r,0,t,n,o,s)}function el(e,t,n,r,o,i){let s=n[ne],c=s[G].projection[r.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++){let u=c[l];ht(t,e,o,u,i)}else{let l=c,u=s[F];Lc(r)&&(l.flags|=128),Ai(e,t,l,u,o,i,!0)}}function Fp(e,t,n,r,o){let i=n[Ge],s=ge(n);i!==s&&ht(t,e,r,i,o);for(let a=W;a<n.length;a++){let c=n[a];_r(c[y],c,e,t,r,i)}}function jp(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:Lo.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Lo.Important),e.setStyle(n,r,o,i))}}function Vp(e,t,n){e.setAttribute(t,"style",n)}function tl(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function nl(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&yo(e,t,r),o!==null&&tl(e,t,o),i!==null&&Vp(e,t,i)}var me={};function Pb(e=1){rl(L(),C(),nt()+e,!1)}function rl(e,t,n,r){if(!r)if((t[m]&3)===3){let i=e.preOrderCheckHooks;i!==null&&Hn(t,i,n)}else{let i=e.preOrderHooks;i!==null&&$n(t,i,0,n)}Qe(n)}function ki(e,t=D.Default){let n=C();if(n===null)return Te(e,t);let r=$();return Tc(r,n,j(e),t)}function Lb(){let e="invalid";throw new Error(e)}function ol(e,t,n,r,o,i){let s=b(null);try{let a=null;o&Se.SignalBased&&(a=t[r][ie]),a!==null&&a.transformFn!==void 0&&(i=a.transformFn(i)),o&Se.HasDecoratorInputTransform&&(i=e.inputTransforms[r].call(t,i)),e.setInput!==null?e.setInput(t,a,i,n,r):ec(t,a,r,i)}finally{b(s)}}function Hp(e,t){let n=e.hostBindingOpCodes;if(n!==null)try{for(let r=0;r<n.length;r++){let o=n[r];if(o<0)Qe(~o);else{let i=o,s=n[++r],a=n[++r];xf(s,i);let c=t[i];a(2,c)}}}finally{Qe(-1)}}function Nr(e,t,n,r,o,i,s,a,c,l,u){let d=t.blueprint.slice();return d[De]=o,d[m]=r|4|128|8|64,(l!==null||e&&e[m]&2048)&&(d[m]|=2048),ic(d),d[F]=d[_t]=e,d[te]=n,d[he]=s||e&&e[he],d[R]=a||e&&e[R],d[wt]=c||e&&e[wt]||null,d[G]=i,d[wr]=op(),d[Ut]=u,d[Ja]=l,d[ne]=t.type==2?e[ne]:d,d}function Jt(e,t,n,r,o){let i=e.data[t];if(i===null)i=$p(e,t,n,r,o),Cf()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=wf();i.injectorIndex=s===null?-1:s.injectorIndex}return Zt(i,!0),i}function $p(e,t,n,r,o){let i=dc(),s=fc(),a=s?i:i&&i.parent,c=e.data[t]=zp(e,a,n,t,r,o);return e.firstChild===null&&(e.firstChild=c),i!==null&&(s?i.child==null&&c.parent!==null&&(i.child=c):i.next===null&&(i.next=c,c.prev=i)),c}function il(e,t,n,r){if(n===0)return-1;let o=t.length;for(let i=0;i<n;i++)t.push(r),e.blueprint.push(r),e.data.push(null);return o}function sl(e,t,n,r,o){let i=nt(),s=r&2;try{Qe(-1),s&&t.length>Z&&rl(e,t,Z,!1),fe(s?2:0,o),n(r,o)}finally{Qe(i),fe(s?3:1,o)}}function al(e,t,n){if(Xa(t)){let r=b(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;s<i;s++){let a=e.data[s];if(a.contentQueries){let c=n[s];a.contentQueries(1,c,s)}}}finally{b(r)}}}function cl(e,t,n){lc()&&(Xp(e,t,n,re(n,t)),(n.flags&64)===64&&hl(e,t,n))}function ll(e,t,n=re){let r=t.localNames;if(r!==null){let o=t.index+1;for(let i=0;i<r.length;i+=2){let s=r[i+1],a=s===-1?n(t,e):e[s];e[o++]=a}}}function ul(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=Ri(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Ri(e,t,n,r,o,i,s,a,c,l,u){let d=Z+r,p=d+o,f=Bp(d,p),h=typeof l=="function"?l():l;return f[y]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:p,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i=="function"?i():i,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:c,consts:h,incompleteFirstPass:!1,ssrId:u}}function Bp(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:me);return n}function Up(e,t,n,r){let i=r.get(hp,$c)||n===Ht.ShadowDom,s=e.selectRootElement(t,i);return Wp(s),s}function Wp(e){qp(e)}var qp=()=>null;function Gp(e,t,n,r){let o=vl(t);o.push(n),e.firstCreatePass&&yl(e).push(r,o.length-1)}function zp(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return uc()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function la(e,t,n,r,o){for(let i in t){if(!t.hasOwnProperty(i))continue;let s=t[i];if(s===void 0)continue;r??={};let a,c=Se.None;Array.isArray(s)?(a=s[0],c=s[1]):a=s;let l=i;if(o!==null){if(!o.hasOwnProperty(i))continue;l=o[i]}e===0?ua(r,n,l,a,c):ua(r,n,l,a)}return r}function ua(e,t,n,r,o){let i;e.hasOwnProperty(n)?(i=e[n]).push(t,r):i=e[n]=[t,r],o!==void 0&&i.push(o)}function Qp(e,t,n){let r=t.directiveStart,o=t.directiveEnd,i=e.data,s=t.attrs,a=[],c=null,l=null;for(let u=r;u<o;u++){let d=i[u],p=n?n.get(d):null,f=p?p.inputs:null,h=p?p.outputs:null;c=la(0,d.inputs,u,c,f),l=la(1,d.outputs,u,l,h);let g=c!==null&&s!==null&&!ui(t)?uh(c,u,s):null;a.push(g)}c!==null&&(c.hasOwnProperty("class")&&(t.flags|=8),c.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=a,t.inputs=c,t.outputs=l}function Zp(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function dl(e,t,n,r,o,i,s,a){let c=re(t,n),l=t.inputs,u;!a&&l!=null&&(u=l[r])?(Pi(e,n,u,r,o),Er(t)&&Yp(n,t.index)):t.type&3?(r=Zp(r),o=s!=null?s(o,t.value||"",r):o,i.setProperty(c,r,o)):t.type&12}function Yp(e,t){let n=Re(t,e);n[m]&16||(n[m]|=64)}function fl(e,t,n,r){if(lc()){let o=r===null?null:{"":-1},i=th(e,n),s,a;i===null?s=a=null:[s,a]=i,s!==null&&pl(e,t,n,s,o,a),o&&nh(n,r,o)}n.mergedAttrs=$t(n.mergedAttrs,n.attrs)}function pl(e,t,n,r,o,i){for(let l=0;l<r.length;l++)No(tr(n,t),e,r[l].type);oh(n,e.data.length,r.length);for(let l=0;l<r.length;l++){let u=r[l];u.providersResolver&&u.providersResolver(u)}let s=!1,a=!1,c=il(e,t,r.length,null);for(let l=0;l<r.length;l++){let u=r[l];n.mergedAttrs=$t(n.mergedAttrs,u.hostAttrs),ih(e,n,t,c,u),rh(c,u,o),u.contentQueries!==null&&(n.flags|=4),(u.hostBindings!==null||u.hostAttrs!==null||u.hostVars!==0)&&(n.flags|=64);let d=u.type.prototype;!s&&(d.ngOnChanges||d.ngOnInit||d.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),s=!0),!a&&(d.ngOnChanges||d.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),a=!0),c++}Qp(e,n,i)}function Jp(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;Kp(s)!=a&&s.push(a),s.push(n,r,i)}}function Kp(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function Xp(e,t,n,r){let o=n.directiveStart,i=n.directiveEnd;Er(n)&&sh(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||tr(n,t),Ke(r,t);let s=n.initialInputs;for(let a=o;a<i;a++){let c=e.data[a],l=Ye(t,e,a,n);if(Ke(l,t),s!==null&&lh(t,a-o,l,c,n,s),ke(c)){let u=Re(n.index,t);u[te]=Ye(t,e,a,n)}}}function hl(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=Mf();try{Qe(i);for(let a=r;a<o;a++){let c=e.data[a],l=t[a];xo(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&eh(c,l)}}finally{Qe(-1),xo(s)}}function eh(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function th(e,t){let n=e.directiveRegistry,r=null,o=null;if(n)for(let i=0;i<n.length;i++){let s=n[i];if(ja(t,s.selectors,!1))if(r||(r=[]),ke(s))if(s.findHostDirectiveDefs!==null){let a=[];o=o||new Map,s.findHostDirectiveDefs(s,a,o),r.unshift(...a,s);let c=a.length;jo(e,t,c)}else r.unshift(s),jo(e,t,0);else o=o||new Map,s.findHostDirectiveDefs?.(s,r,o),r.push(s)}return r===null?null:[r,o]}function jo(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function nh(e,t,n){if(t){let r=e.localNames=[];for(let o=0;o<t.length;o+=2){let i=n[t[o+1]];if(i==null)throw new _(-301,!1);r.push(t[o],i)}}}function rh(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;ke(t)&&(n[""]=e)}}function oh(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function ih(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=vt(o.type,!0)),s=new Ze(i,ke(o),ki);e.blueprint[r]=s,n[r]=s,Jp(e,t,r,il(e,n,o.hostVars,me),o)}function sh(e,t,n){let r=re(t,e),o=ul(n),i=e[he].rendererFactory,s=16;n.signals?s=4096:n.onPush&&(s=64);let a=Tr(e,Nr(e,o,null,s,r,t,null,i.createRenderer(r,n),null,null,null));e[t.index]=a}function ah(e,t,n,r,o,i){let s=re(e,t);ch(t[R],s,i,e.value,n,r,o)}function ch(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?yr(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function lh(e,t,n,r,o,i){let s=i[t];if(s!==null)for(let a=0;a<s.length;){let c=s[a++],l=s[a++],u=s[a++],d=s[a++];ol(r,n,c,l,u,d)}}function uh(e,t,n){let r=null,o=0;for(;o<n.length;){let i=n[o];if(i===0){o+=4;continue}else if(i===5){o+=2;continue}if(typeof i=="number")break;if(e.hasOwnProperty(i)){r===null&&(r=[]);let s=e[i];for(let a=0;a<s.length;a+=3)if(s[a]===t){r.push(i,s[a+1],s[a+2],n[o+1]);break}}o+=2}return r}function gl(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function ml(e,t){let n=e.contentQueries;if(n!==null){let r=b(null);try{for(let o=0;o<n.length;o+=2){let i=n[o],s=n[o+1];if(s!==-1){let a=e.data[s];br(i),a.contentQueries(2,t[s],s)}}}finally{b(r)}}}function Tr(e,t){return e[Wt]?e[zs][le]=t:e[Wt]=t,e[zs]=t,t}function Vo(e,t,n){br(0);let r=b(null);try{t(e,n)}finally{b(r)}}function vl(e){return e[Zn]??=[]}function yl(e){return e.cleanup??=[]}function Il(e,t){let n=e[wt],r=n?n.get(Dt,null):null;r&&r.handleError(t)}function Pi(e,t,n,r,o){for(let i=0;i<n.length;){let s=n[i++],a=n[i++],c=n[i++],l=t[s],u=e.data[s];ol(u,l,r,a,c,o)}}function dh(e,t,n){let r=oc(t,e);Cp(e[R],r,n)}function fh(e,t){let n=Re(t,e),r=n[y];ph(r,n);let o=n[De];o!==null&&n[Ut]===null&&(n[Ut]=Mi(o,n[wt])),Li(r,n,n[te])}function ph(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function Li(e,t,n){vi(t);try{let r=e.viewQuery;r!==null&&Vo(1,r,n);let o=e.template;o!==null&&sl(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[Ee]?.finishViewCreation(e),e.staticContentQueries&&ml(e,t),e.staticViewQueries&&Vo(2,e.viewQuery,n);let i=e.components;i!==null&&hh(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[m]&=-5,yi()}}function hh(e,t){for(let n=0;n<t.length;n++)fh(e,t[n])}function Fi(e,t,n,r){let o=b(null);try{let i=t.tView,a=e[m]&4096?4096:16,c=Nr(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),l=e[t.index];c[qe]=l;let u=e[Ee];return u!==null&&(c[Ee]=u.createEmbeddedView(i)),Li(i,c,n),c}finally{b(o)}}function gh(e,t){let n=W+t;if(n<e.length)return e[n]}function sr(e,t){return!t||t.firstChild===null||Lc(e)}function ji(e,t,n,r=!0){let o=t[y];if(Np(o,t,e,n),r){let s=Fo(n,e),a=t[R],c=Jc(a,e[Ge]);c!==null&&Mp(o,e[G],a,t,c,s)}let i=t[Ut];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function mh(e,t){let n=or(e,t);return n!==void 0&&Si(n[y],n),n}function ar(e,t,n,r,o=!1){for(;n!==null;){if(n.type===128){n=o?n.projectionNext:n.next;continue}let i=t[n.index];i!==null&&r.push(ge(i)),be(i)&&vh(i,r);let s=n.type;if(s&8)ar(e,t,n.child,r);else if(s&32){let a=Ni(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=Xc(t,n);if(Array.isArray(a))r.push(...a);else{let c=ze(t[ne]);ar(c[y],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function vh(e,t){for(let n=W;n<e.length;n++){let r=e[n],o=r[y].firstChild;o!==null&&ar(r[y],r,o,t)}e[Ge]!==e[De]&&t.push(e[Ge])}var wl=[];function yh(e){return e[ee]??Ih(e)}function Ih(e){let t=wl.pop()??Object.create(Eh);return t.lView=e,t}function wh(e){e.lView[ee]!==e&&(e.lView=null,wl.push(e))}var Eh=xe(Ce({},St),{consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{Dr(e.lView)},consumerOnSignalRead(){this.lView[ee]=this}});function Dh(e){let t=e[ee]??Object.create(bh);return t.lView=e,t}var bh=xe(Ce({},St),{consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let t=ze(e.lView);for(;t&&!El(t[y]);)t=ze(t);t&&sc(t)},consumerOnSignalRead(){this.lView[ee]=this}});function El(e){return e.type!==2}var Ch=100;function Dl(e,t=!0,n=0){let r=e[he],o=r.rendererFactory,i=!1;i||o.begin?.();try{xh(e,n)}catch(s){throw t&&Il(e,s),s}finally{i||(o.end?.(),r.inlineEffectRunner?.flush())}}function xh(e,t){let n=hc();try{Zs(!0),Ho(e,t);let r=0;for(;qt(e);){if(r===Ch)throw new _(103,!1);r++,Ho(e,1)}}finally{Zs(n)}}function Mh(e,t,n,r){let o=t[m];if((o&256)===256)return;let i=!1,s=!1;!i&&t[he].inlineEffectRunner?.flush(),vi(t);let a=!0,c=null,l=null;i||(El(e)?(l=yh(t),c=rn(l)):Ji()===null?(a=!1,l=Dh(t),c=rn(l)):t[ee]&&(Lr(t[ee]),t[ee]=null));try{ic(t),bf(e.bindingStartIndex),n!==null&&sl(e,t,n,2,r);let u=(o&3)===3;if(!i)if(u){let f=e.preOrderCheckHooks;f!==null&&Hn(t,f,null)}else{let f=e.preOrderHooks;f!==null&&$n(t,f,0,null),no(t,0)}if(s||_h(t),bl(t,0),e.contentQueries!==null&&ml(e,t),!i)if(u){let f=e.contentCheckHooks;f!==null&&Hn(t,f)}else{let f=e.contentHooks;f!==null&&$n(t,f,1),no(t,1)}Hp(e,t);let d=e.components;d!==null&&xl(t,d,0);let p=e.viewQuery;if(p!==null&&Vo(2,p,r),!i)if(u){let f=e.viewCheckHooks;f!==null&&Hn(t,f)}else{let f=e.viewHooks;f!==null&&$n(t,f,2),no(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[to]){for(let f of t[to])f();t[to]=null}i||(t[m]&=-73)}catch(u){throw i||Dr(t),u}finally{l!==null&&(Rr(l,c),a&&wh(l)),yi()}}function bl(e,t){for(let n=jc(e);n!==null;n=Vc(n))for(let r=W;r<n.length;r++){let o=n[r];Cl(o,t)}}function _h(e){for(let t=jc(e);t!==null;t=Vc(t)){if(!(t[m]&Jn.HasTransplantedViews))continue;let n=t[Et];for(let r=0;r<n.length;r++){let o=n[r];sc(o)}}}function Nh(e,t,n){let r=Re(t,e);Cl(r,n)}function Cl(e,t){gi(e)&&Ho(e,t)}function Ho(e,t){let r=e[y],o=e[m],i=e[ee],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&Pr(i)),s||=!1,i&&(i.dirty=!1),e[m]&=-9217,s)Mh(r,e,r.template,e[te]);else if(o&8192){bl(e,1);let a=r.components;a!==null&&xl(e,a,1)}}function xl(e,t,n){for(let r=0;r<t.length;r++)Nh(e,t[r],n)}function Vi(e,t){let n=hc()?64:1088;for(e[he].changeDetectionScheduler?.notify(t);e;){e[m]|=n;let r=ze(e);if(Do(e)&&!r)return e;e=r}return null}var Xe=class{get rootNodes(){let t=this._lView,n=t[y];return ar(n,t,n.firstChild,[])}constructor(t,n,r=!0){this._lView=t,this._cdRefInjectingView=n,this.notifyErrorHandler=r,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[te]}set context(t){this._lView[te]=t}get destroyed(){return(this._lView[m]&256)===256}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[F];if(be(t)){let n=t[Yn],r=n?n.indexOf(this):-1;r>-1&&(or(t,r),Gn(n,r))}this._attachedToViewContainer=!1}Si(this._lView[y],this._lView)}onDestroy(t){ac(this._lView,t)}markForCheck(){Vi(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[m]&=-129}reattach(){Co(this._lView),this._lView[m]|=128}detectChanges(){this._lView[m]|=1024,Dl(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new _(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=Do(this._lView),n=this._lView[qe];n!==null&&!t&&Ti(n,this._lView),zc(this._lView[y],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new _(902,!1);this._appRef=t;let n=Do(this._lView),r=this._lView[qe];r!==null&&!n&&Qc(r,this._lView),Co(this._lView)}},cr=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=Oh;let e=t;return e})(),Th=cr,Sh=class extends Th{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=Fi(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new Xe(o)}};function Oh(){return Sr($(),C())}function Sr(e,t){return e.type&4?new Sh(t,e,Nt(e,t)):null}var jb=new RegExp(`^(\\d+)*(${fp}|${dp})*(.*)`);var Ah=()=>null;function lr(e,t){return Ah(e,t)}var bt=class{},Hi=new A("",{providedIn:"root",factory:()=>!1});var Ml=new A(""),$o=class{},ur=class{};function kh(e){let t=Error(`No component factory found for ${Q(e)}.`);return t[Rh]=e,t}var Rh="ngComponent";var Bo=class{resolveComponentFactory(t){throw kh(t)}},Gi=class Gi{};Gi.NULL=new Bo;var Ct=Gi,dr=class{},Vb=(()=>{let t=class t{constructor(){this.destroyNode=null}};t.__NG_ELEMENT_ID__=()=>Ph();let e=t;return e})();function Ph(){let e=C(),t=$(),n=Re(t.index,e);return(Ne(n)?n:e)[R]}var Lh=(()=>{let t=class t{};t.\u0275prov=Y({token:t,providedIn:"root",factory:()=>null});let e=t;return e})();var da=new Set;function rt(e){da.has(e)||(da.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var H=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(H||{}),_l={destroy(){}};function Fh(e,t){!t&&Ya(Fh);let n=t?.injector??N(Je);return qc(n)?(rt("NgAfterRender"),Nl(e,n,!1,t?.phase??H.MixedReadWrite)):_l}function jh(e,t){!t&&Ya(jh);let n=t?.injector??N(Je);return qc(n)?(rt("NgAfterNextRender"),Nl(e,n,!0,t?.phase??H.MixedReadWrite)):_l}function Vh(e,t){if(e instanceof Function)switch(t){case H.EarlyRead:return{earlyRead:e};case H.Write:return{write:e};case H.MixedReadWrite:return{mixedReadWrite:e};case H.Read:return{read:e}}return e}function Nl(e,t,n,r){let o=Vh(e,r),i=t.get($i),s=i.handler??=new Wo,a=[],c=[],l=()=>{for(let f of c)s.unregister(f);u()},u=t.get(Ci).onDestroy(l),d=0,p=(f,h)=>{if(!h)return;let g=n?(...x)=>(d--,d<1&&l(),h(...x)):h,S=tf(t,()=>new Uo(f,a,g));s.register(S),c.push(S),d++};return p(H.EarlyRead,o.earlyRead),p(H.Write,o.write),p(H.MixedReadWrite,o.mixedReadWrite),p(H.Read,o.read),{destroy:l}}var Uo=class{constructor(t,n,r){this.phase=t,this.pipelinedArgs=n,this.callbackFn=r,this.zone=N(q),this.errorHandler=N(Dt,{optional:!0}),N(bt,{optional:!0})?.notify(6)}invoke(){try{let t=this.zone.runOutsideAngular(()=>this.callbackFn.apply(null,this.pipelinedArgs));this.pipelinedArgs.splice(0,this.pipelinedArgs.length,t)}catch(t){this.errorHandler?.handleError(t)}}},Wo=class{constructor(){this.executingCallbacks=!1,this.buckets={[H.EarlyRead]:new Set,[H.Write]:new Set,[H.MixedReadWrite]:new Set,[H.Read]:new Set},this.deferredCallbacks=new Set}register(t){(this.executingCallbacks?this.deferredCallbacks:this.buckets[t.phase]).add(t)}unregister(t){this.buckets[t.phase].delete(t),this.deferredCallbacks.delete(t)}execute(){this.executingCallbacks=!0;for(let t of Object.values(this.buckets))for(let n of t)n.invoke();this.executingCallbacks=!1;for(let t of this.deferredCallbacks)this.buckets[t.phase].add(t);this.deferredCallbacks.clear()}destroy(){for(let t of Object.values(this.buckets))t.clear();this.deferredCallbacks.clear()}},$i=(()=>{let t=class t{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){let r=[...this.internalCallbacks];this.internalCallbacks.length=0;for(let o of r)o()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};t.\u0275prov=Y({token:t,providedIn:"root",factory:()=>new t});let e=t;return e})();function qo(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s<t.length;s++){let a=t[s];if(typeof a=="number")i=a;else if(i==1)o=ho(o,a);else if(i==2){let c=a,l=t[++s];r=ho(r,c+": "+l+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}var fr=class extends Ct{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=Oe(t);return new xt(n,this.ngModule)}};function fa(e,t){let n=[];for(let r in e){if(!e.hasOwnProperty(r))continue;let o=e[r];if(o===void 0)continue;let i=Array.isArray(o),s=i?o[0]:o,a=i?o[1]:Se.None;t?n.push({propName:s,templateName:r,isSignal:(a&Se.SignalBased)!==0}):n.push({propName:s,templateName:r})}return n}function Hh(e){let t=e.toLowerCase();return t==="svg"?cf:t==="math"?lf:null}var xt=class extends ur{get inputs(){let t=this.componentDef,n=t.inputTransforms,r=fa(t.inputs,!0);if(n!==null)for(let o of r)n.hasOwnProperty(o.propName)&&(o.transform=n[o.propName]);return r}get outputs(){return fa(this.componentDef.outputs,!1)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=Fd(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,o){let i=b(null);try{o=o||this.ngModule;let s=o instanceof Ae?o:o?.injector;s&&this.componentDef.getStandaloneInjector!==null&&(s=this.componentDef.getStandaloneInjector(s)||s);let a=s?new Mo(t,s):t,c=a.get(dr,null);if(c===null)throw new _(407,!1);let l=a.get(Lh,null),u=a.get($i,null),d=a.get(bt,null),p={rendererFactory:c,sanitizer:l,inlineEffectRunner:null,afterRenderEventManager:u,changeDetectionScheduler:d},f=c.createRenderer(null,this.componentDef),h=this.componentDef.selectors[0][0]||"div",g=r?Up(f,r,this.componentDef.encapsulation,a):Gc(f,h,Hh(h)),S=512;this.componentDef.signals?S|=4096:this.componentDef.onPush||(S|=16);let x=null;g!==null&&(x=Mi(g,a,!0));let J=Ri(0,null,null,1,0,null,null,null,null,null,null),B=Nr(null,J,null,S,null,null,p,f,a,null,x);vi(B);let ve,it;try{let oe=this.componentDef,st,Or=null;oe.findHostDirectiveDefs?(st=[],Or=new Map,oe.findHostDirectiveDefs(oe,st,Or),st.push(oe)):st=[oe];let tu=$h(B,g),nu=Bh(tu,g,oe,st,B,p,f);it=hi(J,Z),g&&qh(f,oe,g,r),n!==void 0&&Gh(it,this.ngContentSelectors,n),ve=Wh(nu,oe,st,Or,B,[zh]),Li(J,B,null)}finally{yi()}return new Go(this.componentType,ve,Nt(it,B),B,it)}finally{b(i)}}},Go=class extends $o{constructor(t,n,r,o,i){super(),this.location=r,this._rootLView=o,this._tNode=i,this.previousInputValues=null,this.instance=n,this.hostView=this.changeDetectorRef=new Xe(o,void 0,!1),this.componentType=t}setInput(t,n){let r=this._tNode.inputs,o;if(r!==null&&(o=r[t])){if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let i=this._rootLView;Pi(i[y],i,o,t,n),this.previousInputValues.set(t,n);let s=Re(this._tNode.index,i);Vi(s,1)}}get injector(){return new We(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function $h(e,t){let n=e[y],r=Z;return e[r]=t,Jt(n,r,2,"#host",null)}function Bh(e,t,n,r,o,i,s){let a=o[y];Uh(r,e,t,s);let c=null;t!==null&&(c=Mi(t,o[wt]));let l=i.rendererFactory.createRenderer(t,n),u=16;n.signals?u=4096:n.onPush&&(u=64);let d=Nr(o,ul(n),null,u,o[e.index],e,i,l,null,null,c);return a.firstCreatePass&&jo(a,e,r.length-1),Tr(o,d),o[e.index]=d}function Uh(e,t,n,r){for(let o of e)t.mergedAttrs=$t(t.mergedAttrs,o.hostAttrs);t.mergedAttrs!==null&&(qo(t,t.mergedAttrs,!0),n!==null&&nl(r,n,t))}function Wh(e,t,n,r,o,i){let s=$(),a=o[y],c=re(s,o);pl(a,o,s,n,null,r);for(let u=0;u<n.length;u++){let d=s.directiveStart+u,p=Ye(o,a,d,s);Ke(p,o)}hl(a,o,s),c&&Ke(c,o);let l=Ye(o,a,s.directiveStart+s.componentOffset,s);if(e[te]=o[te]=l,i!==null)for(let u of i)u(l,t);return al(a,s,o),l}function qh(e,t,n,r){if(r)yo(e,n,["ng-version","18.1.4"]);else{let{attrs:o,classes:i}=jd(t.selectors[0]);o&&yo(e,n,o),i&&i.length>0&&tl(e,n,i.join(" "))}}function Gh(e,t,n){let r=e.projection=[];for(let o=0;o<t.length;o++){let i=n[o];r.push(i!=null?Array.from(i):null)}}function zh(){let e=$();Di(C()[y],e)}var Bi=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=Qh;let e=t;return e})();function Qh(){let e=$();return Sl(e,C())}var Zh=Bi,Tl=class extends Zh{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Nt(this._hostTNode,this._hostLView)}get injector(){return new We(this._hostTNode,this._hostLView)}get parentInjector(){let t=bi(this._hostTNode,this._hostLView);if(bc(t)){let n=er(t,this._hostLView),r=Xn(t),o=n[y].data[r+8];return new We(o,n)}else return new We(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=pa(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-W}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=lr(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,sr(this._hostTNode,s)),a}createComponent(t,n,r,o,i){let s=t&&!nf(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 xt(Oe(t)),l=r||this.parentInjector;if(!i&&c.ngModule==null){let g=(s?l:this.parentInjector).get(Ae,null);g&&(i=g)}let u=Oe(c.componentType??{}),d=lr(this._lContainer,u?.id??null),p=d?.firstChild??null,f=c.create(l,o,p,i);return this.insertImpl(f.hostView,a,sr(this._hostTNode,d)),f}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(ff(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[F],l=new Tl(c,c[G],c[F]);l.detach(l.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return ji(s,o,i,r),t.attachToViewContainerRef(),Aa(ao(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=pa(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=or(this._lContainer,n);r&&(Gn(ao(this._lContainer),n),Si(r[y],r))}detach(t){let n=this._adjustIndex(t,-1),r=or(this._lContainer,n);return r&&Gn(ao(this._lContainer),n)!=null?new Xe(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function pa(e){return e[Yn]}function ao(e){return e[Yn]||(e[Yn]=[])}function Sl(e,t){let n,r=t[e.index];return be(r)?n=r:(n=gl(r,t,null,e),t[e.index]=n,Tr(t,n)),Jh(n,t,e,r),new Tl(n,e,t)}function Yh(e,t){let n=e[R],r=n.createComment(""),o=re(t,e),i=Jc(n,o);return ir(n,i,r,Ap(n,o),!1),r}var Jh=eg,Kh=()=>!1;function Xh(e,t,n){return Kh(e,t,n)}function eg(e,t,n,r){if(e[Ge])return;let o;n.type&8?o=ge(r):o=Yh(t,n),e[Ge]=o}var zo=class e{constructor(t){this.queryList=t,this.matches=null}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},Qo=class e{constructor(t=[]){this.queries=t}createEmbeddedView(t){let n=t.queries;if(n!==null){let r=t.contentQueries!==null?t.contentQueries[0]:n.length,o=[];for(let i=0;i<r;i++){let s=n.getByIndex(i),a=this.queries[s.indexInDeclarationView];o.push(a.clone())}return new e(o)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)Wi(t,n).matches!==null&&this.queries[n].setDirty()}},pr=class{constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=sg(t):this.predicate=t}},Zo=class e{constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){let o=n!==null?n.length:0,i=this.getByIndex(r).embeddedTView(t,o);i&&(i.indexInDeclarationView=r,n!==null?n.push(i):n=[i])}return n!==null?new e(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}},Yo=class e{constructor(t,n=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new e(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let n=this._declarationNodeIndex,r=t.parent;for(;r!==null&&r.type&8&&r.index!==n;)r=r.parent;return n===(r!==null?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){let r=this.metadata.predicate;if(Array.isArray(r))for(let o=0;o<r.length;o++){let i=r[o];this.matchTNodeWithReadOption(t,n,tg(n,i)),this.matchTNodeWithReadOption(t,n,Bn(n,t,i,!1,!1))}else r===cr?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Bn(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===xr||o===Bi||o===cr&&n.type&4)this.addMatch(n.index,-2);else{let i=Bn(n,t,o,!1,!1);i!==null&&this.addMatch(n.index,i)}else this.addMatch(n.index,r)}}addMatch(t,n){this.matches===null?this.matches=[t,n]:this.matches.push(t,n)}};function tg(e,t){let n=e.localNames;if(n!==null){for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1]}return null}function ng(e,t){return e.type&11?Nt(e,t):e.type&4?Sr(e,t):null}function rg(e,t,n,r){return n===-1?ng(t,e):n===-2?og(e,t,r):Ye(e,e[y],n,t)}function og(e,t,n){if(n===xr)return Nt(t,e);if(n===cr)return Sr(t,e);if(n===Bi)return Sl(t,e)}function Ol(e,t,n,r){let o=t[Ee].queries[r];if(o.matches===null){let i=e.data,s=n.matches,a=[];for(let c=0;s!==null&&c<s.length;c+=2){let l=s[c];if(l<0)a.push(null);else{let u=i[l];a.push(rg(t,u,s[c+1],n.metadata.read))}}o.matches=a}return o.matches}function Jo(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=Ol(e,t,o,n);for(let a=0;a<i.length;a+=2){let c=i[a];if(c>0)r.push(s[a/2]);else{let l=i[a+1],u=t[-c];for(let d=W;d<u.length;d++){let p=u[d];p[qe]===p[F]&&Jo(p[y],p,l,r)}if(u[Et]!==null){let d=u[Et];for(let p=0;p<d.length;p++){let f=d[p];Jo(f[y],f,l,r)}}}}}return r}function Ui(e,t){return e[Ee].queries[t].queryList}function Al(e,t,n){let r=new Ro((n&4)===4);return Gp(e,t,r,r.destroy),(t[Ee]??=new Qo).queries.push(new zo(r))-1}function ig(e,t,n){let r=L();return r.firstCreatePass&&(Rl(r,new pr(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),Al(r,C(),t)}function kl(e,t,n,r){let o=L();if(o.firstCreatePass){let i=$();Rl(o,new pr(t,n,r),i.index),ag(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return Al(o,C(),n)}function sg(e){return e.split(",").map(t=>t.trim())}function Rl(e,t,n){e.queries===null&&(e.queries=new Zo),e.queries.track(new Yo(t,n))}function ag(e,t){let n=e.contentQueries||(e.contentQueries=[]),r=n.length?n[n.length-1]:-1;t!==r&&n.push(e.queries.length-1,t)}function Wi(e,t){return e.queries.getByIndex(t)}function Pl(e,t){let n=e[y],r=Wi(n,t);return r.crossesNgTemplate?Jo(n,e,t,[]):Ol(n,e,r,t)}function cg(e,t){rt("NgSignals");let n=as(e),r=n[ie];return t?.equal&&(r.equal=t.equal),n.set=o=>an(r,o),n.update=o=>cs(r,o),n.asReadonly=lg.bind(n),n}function lg(){let e=this[ie];if(e.readonlyFn===void 0){let t=()=>this();t[ie]=e,e.readonlyFn=t}return e.readonlyFn}function Ll(e,t){let n,r=Fr(()=>{n._dirtyCounter();let o=pg(n,e);if(t&&o===void 0)throw new _(-951,!1);return o});return n=r[ie],n._dirtyCounter=cg(0),n._flatValue=void 0,r}function ug(){return Ll(!0,!1)}function dg(){return Ll(!0,!0)}function fg(e,t){let n=e[ie];n._lView=C(),n._queryIndex=t,n._queryList=Ui(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function pg(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[m]&4)return t?void 0:V;let o=Ui(n,r),i=Pl(n,r);return o.reset(i,Pc),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}function ha(e,t){return ug()}function hg(e,t){return dg()}var $b=(ha.required=hg,ha);function gg(e){return Object.getPrototypeOf(e.prototype).constructor}function mg(e){let t=gg(e.type),n=!0,r=[e];for(;t;){let o;if(ke(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new _(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=Fn(e.inputs),s.inputTransforms=Fn(e.inputTransforms),s.declaredInputs=Fn(e.declaredInputs),s.outputs=Fn(e.outputs);let a=o.hostBindings;a&&Eg(e,a);let c=o.viewQuery,l=o.contentQueries;if(c&&Ig(e,c),l&&wg(e,l),vg(e,o),nd(e.outputs,o.outputs),ke(o)&&o.data.animation){let u=e.data;u.animation=(u.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s<i.length;s++){let a=i[s];a&&a.ngInherit&&a(e),a===mg&&(n=!1)}}t=Object.getPrototypeOf(t)}yg(r)}function vg(e,t){for(let n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;let r=t.inputs[n];if(r!==void 0&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n],t.inputTransforms!==null)){let o=Array.isArray(r)?r[0]:r;if(!t.inputTransforms.hasOwnProperty(o))continue;e.inputTransforms??={},e.inputTransforms[o]=t.inputTransforms[o]}}}function yg(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){let o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=$t(o.hostAttrs,n=$t(n,o.hostAttrs))}}function Fn(e){return e===yt?{}:e===V?[]:e}function Ig(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function wg(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function Eg(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function Bb(e){let t=e.inputConfig,n={};for(let r in t)if(t.hasOwnProperty(r)){let o=t[r];Array.isArray(o)&&o[3]&&(n[r]=o[3])}e.inputTransforms=n}var et=class{},Ko=class{};var Xo=class extends et{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new fr(this);let o=$a(t);this._bootstrapComponents=Wc(o.bootstrap),this._r3Injector=Ac(t,n,[{provide:et,useValue:this},{provide:Ct,useValue:this.componentFactoryResolver},...r],Q(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){let t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},ei=class extends Ko{constructor(t){super(),this.moduleType=t}create(t){return new Xo(this.moduleType,t,[])}};var hr=class extends et{constructor(t){super(),this.componentFactoryResolver=new fr(this),this.instance=null;let n=new Bt([...t.providers,{provide:et,useValue:this},{provide:Ct,useValue:this.componentFactoryResolver}],t.parent||fi(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Dg(e,t,n=null){return new hr({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}function bg(e,t,n){return e[t]=n}function Cg(e,t){return e[t]}function ot(e,t,n){let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function xg(e){return(e.flags&32)===32}function Mg(e,t,n,r,o,i,s,a,c){let l=t.consts,u=Jt(t,e,4,s||null,a||null);fl(t,n,u,Kn(l,c)),Di(t,u);let d=u.tView=Ri(2,u,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,l,null);return t.queries!==null&&(t.queries.template(t,u),d.queries=t.queries.embeddedTView(u)),u}function Fl(e,t,n,r,o,i,s,a,c,l){let u=n+Z,d=t.firstCreatePass?Mg(u,t,e,r,o,i,s,a,c):t.data[u];Zt(d,!1);let p=Ng(t,e,d,n);wi()&&Oi(t,e,p,d),Ke(p,e);let f=gl(p,e,p,d);return e[u]=f,Tr(e,f),Xh(f,d,e),pi(d)&&cl(t,e,d),c!=null&&ll(e,d,l),d}function _g(e,t,n,r,o,i,s,a){let c=C(),l=L(),u=Kn(l.consts,i);return Fl(c,l,e,t,n,r,o,u,s,a),_g}var Ng=Tg;function Tg(e,t,n,r){return Ei(!0),t[R].createComment("")}function Sg(e,t,n,r){let o=C(),i=Yt();if(ot(o,i,t)){let s=L(),a=Ii();ah(a,o,e,t,n,r)}return Sg}function Og(e,t,n,r){return ot(e,Yt(),n)?t+yr(n)+r:me}function jn(e,t){return e<<17|t<<2}function tt(e){return e>>17&32767}function Ag(e){return(e&2)==2}function kg(e,t){return e&131071|t<<17}function ti(e){return e|2}function Mt(e){return(e&131068)>>2}function co(e,t){return e&-131069|t<<2}function Rg(e){return(e&1)===1}function ni(e){return e|1}function Pg(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=tt(s),c=Mt(s);e[r]=n;let l=!1,u;if(Array.isArray(n)){let d=n;u=d[1],(u===null||Qt(d,u)>0)&&(l=!0)}else u=n;if(o)if(c!==0){let p=tt(e[a+1]);e[r+1]=jn(p,a),p!==0&&(e[p+1]=co(e[p+1],r)),e[a+1]=kg(e[a+1],r)}else e[r+1]=jn(a,0),a!==0&&(e[a+1]=co(e[a+1],r)),a=r;else e[r+1]=jn(c,0),a===0?a=r:e[c+1]=co(e[c+1],r),c=r;l&&(e[r+1]=ti(e[r+1])),ga(e,u,r,!0),ga(e,u,r,!1),Lg(t,u,e,r,i),s=jn(a,c),i?t.classBindings=s:t.styleBindings=s}function Lg(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&Qt(i,t)>=0&&(n[r+1]=ni(n[r+1]))}function ga(e,t,n,r){let o=e[n+1],i=t===null,s=r?tt(o):Mt(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],l=e[s+1];Fg(c,t)&&(a=!0,e[s+1]=r?ni(l):ti(l)),s=r?tt(l):Mt(l)}a&&(e[n+1]=r?ti(o):ni(o))}function Fg(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Qt(e,t)>=0:!1}var ce={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function jg(e){return e.substring(ce.key,ce.keyEnd)}function Vg(e){return Hg(e),jl(e,Vl(e,0,ce.textEnd))}function jl(e,t){let n=ce.textEnd;return n===t?-1:(t=ce.keyEnd=$g(e,ce.key=t,n),Vl(e,t,n))}function Hg(e){ce.key=0,ce.keyEnd=0,ce.value=0,ce.valueEnd=0,ce.textEnd=e.length}function Vl(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function $g(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function Bg(e,t,n){let r=C(),o=Yt();if(ot(r,o,t)){let i=L(),s=Ii();dl(i,s,r,e,t,r[R],n,!1)}return Bg}function ri(e,t,n,r,o){let i=t.inputs,s=o?"class":"style";Pi(e,n,i[s],s,r)}function Ug(e,t,n){return Hl(e,t,n,!1),Ug}function Wg(e,t){return Hl(e,t,null,!0),Wg}function Ub(e){Gg(Kg,qg,e,!0)}function qg(e,t){for(let n=Vg(t);n>=0;n=jl(t,n))li(e,jg(t),!0)}function Hl(e,t,n,r){let o=C(),i=L(),s=gc(2);if(i.firstUpdatePass&&Bl(i,e,s,r),t!==me&&ot(o,s,t)){let a=i.data[nt()];Ul(i,a,o,o[R],e,o[s+1]=em(t,n),r,s)}}function Gg(e,t,n,r){let o=L(),i=gc(2);o.firstUpdatePass&&Bl(o,null,i,r);let s=C();if(n!==me&&ot(s,i,n)){let a=o.data[nt()];if(Wl(a,r)&&!$l(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=ho(c,n||"")),ri(o,a,s,n,r)}else Xg(o,a,s,s[R],s[i+1],s[i+1]=Jg(e,t,n),r,i)}}function $l(e,t){return t>=e.expandoStartIndex}function Bl(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[nt()],s=$l(e,n);Wl(i,r)&&t===null&&!s&&(t=!1),t=zg(o,i,t,r),Pg(o,i,t,n,s,r)}}function zg(e,t,n,r){let o=_f(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=lo(null,e,t,n,r),n=Gt(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=lo(o,e,t,n,r),i===null){let c=Qg(e,t,r);c!==void 0&&Array.isArray(c)&&(c=lo(null,e,t,c[1],r),c=Gt(c,t.attrs,r),Zg(e,t,r,c))}else i=Yg(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function Qg(e,t,n){let r=n?t.classBindings:t.styleBindings;if(Mt(r)!==0)return e[tt(r)]}function Zg(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[tt(o)]=r}function Yg(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=Gt(r,s,n)}return Gt(r,t.attrs,n)}function lo(e,t,n,r,o){let i=null,s=n.directiveEnd,a=n.directiveStylingLast;for(a===-1?a=n.directiveStart:a++;a<s&&(i=t[a],r=Gt(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function Gt(e,t,n){let r=n?1:2,o=-1;if(t!==null)for(let i=0;i<t.length;i++){let s=t[i];typeof s=="number"?o=s:o===r&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),li(e,s,n?!0:t[++i]))}return e===void 0?null:e}function Jg(e,t,n){if(n==null||n==="")return V;let r=[],o=Mr(n);if(Array.isArray(o))for(let i=0;i<o.length;i++)e(r,o[i],!0);else if(typeof o=="object")for(let i in o)o.hasOwnProperty(i)&&e(r,i,o[i]);else typeof o=="string"&&t(r,o);return r}function Kg(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&li(e,r,n)}function Xg(e,t,n,r,o,i,s,a){o===me&&(o=V);let c=0,l=0,u=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;u!==null||d!==null;){let p=c<o.length?o[c+1]:void 0,f=l<i.length?i[l+1]:void 0,h=null,g;u===d?(c+=2,l+=2,p!==f&&(h=d,g=f)):d===null||u!==null&&u<d?(c+=2,h=u):(l+=2,h=d,g=f),h!==null&&Ul(e,t,n,r,h,g,s,a),u=c<o.length?o[c]:null,d=l<i.length?i[l]:null}}function Ul(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,l=c[a+1],u=Rg(l)?ma(c,t,n,o,Mt(l),s):void 0;if(!gr(u)){gr(i)||Ag(l)&&(i=ma(c,null,n,o,a,s));let d=oc(nt(),n);jp(r,s,d,o,i)}}function ma(e,t,n,r,o,i){let s=t===null,a;for(;o>0;){let c=e[o],l=Array.isArray(c),u=l?c[1]:c,d=u===null,p=n[o+1];p===me&&(p=d?V:void 0);let f=d?Xr(p,r):u===r?p:void 0;if(l&&!gr(f)&&(f=Xr(c,r)),gr(f)&&(a=f,s))return a;let h=e[o+1];o=s?tt(h):Mt(h)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=Xr(c,r))}return a}function gr(e){return e!==void 0}function em(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=Q(Mr(e)))),e}function Wl(e,t){return(e.flags&(t?8:16))!==0}function Wb(e,t){rt("NgControlFlow");let n=C(),r=Yt(),o=n[r]!==me?n[r]:-1,i=o!==-1?va(n,Z+o):void 0,s=0;if(ot(n,r,e)){let a=b(null);try{if(i!==void 0&&mh(i,s),e!==-1){let c=Z+e,l=va(n,c),u=tm(n[y],c),d=lr(l,u.tView.ssrId),p=Fi(n,u,t,{dehydratedView:d});ji(l,p,s,sr(u,d))}}finally{b(a)}}else if(i!==void 0){let a=gh(i,s);a!==void 0&&(a[te]=t)}}function va(e,t){return e[t]}function tm(e,t){return hi(e,t)}function nm(e,t,n,r,o,i){let s=t.consts,a=Kn(s,o),c=Jt(t,e,2,r,a);return fl(t,n,c,Kn(s,i)),c.attrs!==null&&qo(c,c.attrs,!1),c.mergedAttrs!==null&&qo(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}function ql(e,t,n,r){let o=C(),i=L(),s=Z+e,a=o[R],c=i.firstCreatePass?nm(s,i,o,t,n,r):i.data[s],l=om(i,o,c,a,t,e);o[s]=l;let u=pi(c);return Zt(c,!0),nl(a,l,c),!xg(c)&&wi()&&Oi(i,o,l,c),gf()===0&&Ke(l,o),mf(),u&&(cl(i,o,c),al(i,c,o)),r!==null&&ll(o,c),ql}function Gl(){let e=$();fc()?pc():(e=e.parent,Zt(e,!1));let t=e;yf(t)&&If(),vf();let n=L();return n.firstCreatePass&&(Di(n,e),Xa(e)&&n.queries.elementEnd(e)),t.classesWithoutHost!=null&&Rf(t)&&ri(n,t,C(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&Pf(t)&&ri(n,t,C(),t.stylesWithoutHost,!1),Gl}function rm(e,t,n,r){return ql(e,t,n,r),Gl(),rm}var om=(e,t,n,r,o,i)=>(Ei(!0),Gc(r,o,Sf()));function qb(){return C()}function im(e,t,n){let r=C(),o=Yt();if(ot(r,o,t)){let i=L(),s=Ii();dl(i,s,r,e,t,r[R],n,!0)}return im}var mr="en-US";var sm=mr;function am(e){typeof e=="string"&&(sm=e.toLowerCase().replace(/_/g,"-"))}var cm=(e,t,n)=>{};function lm(e,t,n,r){let o=C(),i=L(),s=$();return dm(i,o,o[R],s,e,t,r),lm}function um(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;i<o.length-1;i+=2){let s=o[i];if(s===n&&o[i+1]===r){let a=t[Zn],c=o[i+2];return a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function dm(e,t,n,r,o,i,s){let a=pi(r),l=e.firstCreatePass&&yl(e),u=t[te],d=vl(t),p=!0;if(r.type&3||s){let g=re(r,t),S=s?s(g):g,x=d.length,J=s?ve=>s(ge(ve[r.index])):r.index,B=null;if(!s&&a&&(B=um(e,t,o,r.index)),B!==null){let ve=B.__ngLastListenerFn__||B;ve.__ngNextListenerFn__=i,B.__ngLastListenerFn__=i,p=!1}else{i=Ia(r,t,u,i),cm(g,o,i);let ve=n.listen(S,o,i);d.push(i,ve),l&&l.push(o,J,x,x+1)}}else i=Ia(r,t,u,i);let f=r.outputs,h;if(p&&f!==null&&(h=f[o])){let g=h.length;if(g)for(let S=0;S<g;S+=2){let x=h[S],J=h[S+1],it=t[x][J].subscribe(i),oe=d.length;d.push(i,it),l&&l.push(o,r.index,oe,-(oe+1))}}}function ya(e,t,n,r){let o=b(null);try{return fe(6,t,n),n(r)!==!1}catch(i){return Il(e,i),!1}finally{fe(7,t,n),b(o)}}function Ia(e,t,n,r){return function o(i){if(i===Function)return r;let s=e.componentOffset>-1?Re(e.index,t):t;Vi(s,5);let a=ya(t,n,r,i),c=o.__ngNextListenerFn__;for(;c;)a=ya(t,n,c,i)&&a,c=c.__ngNextListenerFn__;return a}}function Gb(e=1){return Tf(e)}function fm(e,t){let n=null,r=Ad(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?ja(e,i,!0):Pd(r,i))return o}return n}function zb(e){let t=C()[ne][G];if(!t.projection){let n=e?e.length:1,r=t.projection=bd(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?fm(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function Qb(e,t=0,n,r,o,i){let s=C(),a=L(),c=r?e+1:null;c!==null&&Fl(s,a,c,r,o,i,null,n);let l=Jt(a,Z+e,16,null,n||null);l.projection===null&&(l.projection=t),pc();let d=!s[Ut]||uc();s[ne][G].projection[l.projection]===null&&c!==null?pm(s,a,c):d&&(l.flags&32)!==32&&Lp(a,s,l)}function pm(e,t,n){let r=Z+n,o=t.data[r],i=e[r],s=lr(i,o.tView.ssrId),a=Fi(e,o,void 0,{dehydratedView:s});ji(i,a,0,sr(o,s))}function Zb(e,t,n,r){kl(e,t,n,r)}function Yb(e,t,n){ig(e,t,n)}function Jb(e){let t=C(),n=L(),r=mi();br(r+1);let o=Wi(n,r);if(e.dirty&&df(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=Pl(t,r);e.reset(i,Pc),e.notifyOnChanges()}return!0}return!1}function Kb(){return Ui(C(),mi())}function Xb(e,t,n,r,o){fg(t,kl(e,n,r,o))}function eC(e=1){br(mi()+e)}function tC(e){let t=Ef();return uf(t,Z+e)}function nC(e,t=""){let n=C(),r=L(),o=e+Z,i=r.firstCreatePass?Jt(r,o,1,t,null):r.data[o],s=hm(r,n,i,t,e);n[o]=s,wi()&&Oi(r,n,s,i),Zt(i,!1)}var hm=(e,t,n,r,o)=>(Ei(!0),bp(t[R],r));function gm(e){return zl("",e,""),gm}function zl(e,t,n){let r=C(),o=Og(r,e,t,n);return o!==me&&dh(r,nt(),o),zl}function mm(e,t,n){let r=L();if(r.firstCreatePass){let o=ke(e);oi(n,r.data,r.blueprint,o,!0),oi(t,r.data,r.blueprint,o,!1)}}function oi(e,t,n,r,o){if(e=j(e),Array.isArray(e))for(let i=0;i<e.length;i++)oi(e[i],t,n,r,o);else{let i=L(),s=C(),a=$(),c=It(e)?e:j(e.provide),l=Qa(e),u=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(It(e)||!e.multi){let f=new Ze(l,o,ki),h=fo(c,t,o?u:u+p,d);h===-1?(No(tr(a,s),i,c),uo(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=fo(c,t,u+p,d),h=fo(c,t,u,u+p),g=f>=0&&n[f],S=h>=0&&n[h];if(o&&!S||!o&&!g){No(tr(a,s),i,c);let x=Im(o?ym:vm,n.length,o,r,l);!o&&S&&(n[h].providerFactory=x),uo(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(x),s.push(x)}else{let x=Ql(n[o?h:f],l,!o&&r);uo(i,e,f>-1?f:h,x)}!o&&r&&S&&n[h].componentProviders++}}}function uo(e,t,n,r){let o=It(t),i=Qd(t);if(o||i){let c=(i?j(t.useClass):t).prototype.ngOnDestroy;if(c){let l=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let u=l.indexOf(n);u===-1?l.push(n,[r,c]):l[u+1].push(r,c)}else l.push(n,c)}}}function Ql(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function fo(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function vm(e,t,n,r){return ii(this.multi,[])}function ym(e,t,n,r){let o=this.multi,i;if(this.providerFactory){let s=this.providerFactory.componentProviders,a=Ye(n,n[y],this.providerFactory.index,r);i=a.slice(0,s),ii(o,i);for(let c=s;c<a.length;c++)i.push(a[c])}else i=[],ii(o,i);return i}function ii(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function Im(e,t,n,r,o){let i=new Ze(e,n,ki);return i.multi=[],i.index=t,i.componentProviders=0,Ql(i,o,r&&!n),i}function rC(e,t=[]){return n=>{n.providersResolver=(r,o)=>mm(r,o?o(e):e,t)}}var wm=(()=>{let t=class t{constructor(r){this._injector=r,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(r){if(!r.standalone)return null;if(!this.cachedInjectors.has(r)){let o=Wa(!1,r.type),i=o.length>0?Dg([o],this._injector,`Standalone[${r.type.name}]`):null;this.cachedInjectors.set(r,i)}return this.cachedInjectors.get(r)}ngOnDestroy(){try{for(let r of this.cachedInjectors.values())r!==null&&r.destroy()}finally{this.cachedInjectors.clear()}}};t.\u0275prov=Y({token:t,providedIn:"environment",factory:()=>new t(Te(Ae))});let e=t;return e})();function oC(e){rt("NgStandalone"),e.getStandaloneInjector=t=>t.get(wm).getOrCreateStandaloneInjector(e)}function iC(e,t,n){let r=Df()+e,o=C();return o[r]===me?bg(o,r,n?t.call(n):t()):Cg(o,r)}function sC(e,t){return Sr(e,t)}var aC=(()=>{let t=class t{log(r){console.log(r)}warn(r){console.warn(r)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=Y({token:t,factory:t.\u0275fac,providedIn:"platform"});let e=t;return e})();var Em=new A("");function Zl(e){return!!e&&typeof e.then=="function"}function Dm(e){return!!e&&typeof e.subscribe=="function"}var bm=new A(""),Yl=(()=>{let t=class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,o)=>{this.resolve=r,this.reject=o}),this.appInits=N(bm,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let r=[];for(let i of this.appInits){let s=i();if(Zl(s))r.push(s);else if(Dm(s)){let a=new Promise((c,l)=>{s.subscribe({complete:c,error:l})});r.push(a)}}let o=()=>{this.done=!0,this.resolve()};Promise.all(r).then(()=>{o()}).catch(i=>{this.reject(i)}),r.length===0&&o(),this.initialized=!0}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=Y({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),Cm=new A("");function xm(){ss(()=>{throw new _(600,!1)})}function Mm(e){return e.isBoundToModule}var _m=10;function Nm(e,t,n){try{let r=n();return Zl(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var qi=(()=>{let t=class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=N(Xf),this.afterRenderEffectManager=N($i),this.zonelessEnabled=N(Hi),this.externalTestViews=new Set,this.beforeRender=new K,this.afterTick=new K,this.componentTypes=[],this.components=[],this.isStable=N(Cr).hasPendingTasks.pipe(Ie(r=>!r)),this._injector=N(Ae)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(r,o){let i=r instanceof ur;if(!this._injector.get(Yl).done){let f=!i&&$d(r),h=!1;throw new _(405,h)}let a;i?a=r:a=this._injector.get(Ct).resolveComponentFactory(r),this.componentTypes.push(a.componentType);let c=Mm(a)?void 0:this._injector.get(et),l=o||a.selector,u=a.create(Je.NULL,[],l,c),d=u.location.nativeElement,p=u.injector.get(Em,null);return p?.registerApplication(d),u.onDestroy(()=>{this.detachView(u.hostView),po(this.components,u),p?.unregisterApplication(d)}),this._loadComponent(u),u}tick(){this._tick(!0)}_tick(r){if(this._runningTick)throw new _(101,!1);let o=b(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(r)}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1,b(o),this.afterTick.next()}}detectChangesInAttachedViews(r){let o=null;this._injector.destroyed||(o=this._injector.get(dr,null,{optional:!0}));let i=0,s=this.afterRenderEffectManager;for(;i<_m;){let a=i===0;if(r||!a){this.beforeRender.next(a);for(let{_lView:c,notifyErrorHandler:l}of this._views)Tm(c,l,a,this.zonelessEnabled)}else o?.begin?.(),o?.end?.();if(i++,s.executeInternalCallbacks(),!this.allViews.some(({_lView:c})=>qt(c))&&(s.execute(),!this.allViews.some(({_lView:c})=>qt(c))))break}}attachView(r){let o=r;this._views.push(o),o.attachToAppRef(this)}detachView(r){let o=r;po(this._views,o),o.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView),this.tick(),this.components.push(r);let o=this._injector.get(Cm,[]);[...this._bootstrapListeners,...o].forEach(i=>i(r))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(r=>r()),this._views.slice().forEach(r=>r.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(r){return this._destroyListeners.push(r),()=>po(this._destroyListeners,r)}destroy(){if(this._destroyed)throw new _(406,!1);let r=this._injector;r.destroy&&!r.destroyed&&r.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=Y({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function po(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function Tm(e,t,n,r){if(!n&&!qt(e))return;Dl(e,t,n&&!r?0:1)}var si=class{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},cC=(()=>{let t=class t{compileModuleSync(r){return new ei(r)}compileModuleAsync(r){return Promise.resolve(this.compileModuleSync(r))}compileModuleAndAllComponentsSync(r){let o=this.compileModuleSync(r),i=$a(r),s=Wc(i.declarations).reduce((a,c)=>{let l=Oe(c);return l&&a.push(new xt(l)),a},[]);return new si(o,s)}compileModuleAndAllComponentsAsync(r){return Promise.resolve(this.compileModuleAndAllComponentsSync(r))}clearCache(){}clearCacheFor(r){}getModuleId(r){}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=Y({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var Sm=(()=>{let t=class t{constructor(){this.zone=N(q),this.changeDetectionScheduler=N(bt),this.applicationRef=N(qi)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=Y({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),Om=new A("",{factory:()=>!1});function Jl({ngZoneFactory:e,ignoreChangesOutsideZone:t}){return e??=()=>new q(Kl()),[{provide:q,useFactory:e},{provide:zn,multi:!0,useFactory:()=>{let n=N(Sm,{optional:!0});return()=>n.initialize()}},{provide:zn,multi:!0,useFactory:()=>{let n=N(Am);return()=>{n.initialize()}}},t===!0?{provide:Ml,useValue:!0}:[]]}function lC(e){let t=e?.ignoreChangesOutsideZone,n=Jl({ngZoneFactory:()=>{let r=Kl(e);return r.shouldCoalesceEventChangeDetection&&rt("NgZone_CoalesceEvent"),new q(r)},ignoreChangesOutsideZone:t});return Ud([{provide:Om,useValue:!0},{provide:Hi,useValue:!1},n])}function Kl(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var Am=(()=>{let t=class t{constructor(){this.subscription=new k,this.initialized=!1,this.zone=N(q),this.pendingTasks=N(Cr)}initialize(){if(this.initialized)return;this.initialized=!0;let r=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(r=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{q.assertNotInAngularZone(),queueMicrotask(()=>{r!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(r),r=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{q.assertInAngularZone(),r??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=Y({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var km=(()=>{let t=class t{constructor(){this.appRef=N(qi),this.taskService=N(Cr),this.ngZone=N(q),this.zonelessEnabled=N(Hi),this.disableScheduling=N(Ml,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new k,this.cancelScheduledCallback=null,this.shouldRefreshViews=!1,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,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 ko||!this.zoneIsDefined)}notify(r){if(!this.zonelessEnabled&&r===5)return;switch(r){case 3:case 2:case 0:case 4:case 5:case 1:{this.shouldRefreshViews=!0;break}case 8:case 7:case 6:case 9:default:}if(!this.shouldScheduleTick())return;let o=this.useMicrotaskScheduler?ta:kc;this.pendingRenderTaskId=this.taskService.add(),this.zoneIsDefined?Zone.root.run(()=>{this.cancelScheduledCallback=o(()=>{this.tick(this.shouldRefreshViews)})}):this.cancelScheduledCallback=o(()=>{this.tick(this.shouldRefreshViews)})}shouldScheduleTick(){return!(this.disableScheduling||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&q.isInAngularZone())}tick(r){if(this.runningTick||this.appRef.destroyed)return;let o=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick(r)},void 0,this.schedulerTickApplyArgs)}catch(i){throw this.taskService.remove(o),i}finally{this.cleanup()}this.useMicrotaskScheduler=!0,ta(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(o)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.shouldRefreshViews=!1,this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let r=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(r)}}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=Y({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Rm(){return typeof $localize<"u"&&$localize.locale||mr}var Xl=new A("",{providedIn:"root",factory:()=>N(Xl,D.Optional|D.SkipSelf)||Rm()});var eu=new A("");var Un=null;function Pm(e=[],t){return Je.create({name:t,providers:[{provide:za,useValue:"platform"},{provide:eu,useValue:new Set([()=>Un=null])},...e]})}function Lm(e=[]){if(Un)return Un;let t=Pm(e);return Un=t,xm(),Fm(t),t}function Fm(e){e.get(lp,null)?.forEach(n=>n())}var uC=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=jm;let e=t;return e})();function jm(e){return Vm($(),C(),(e&16)===16)}function Vm(e,t,n){if(Er(e)&&!n){let r=Re(e.index,t);return new Xe(r,r)}else if(e.type&175){let r=t[ne];return new Xe(r,t)}return null}function dC(e){try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=Lm(r),i=[Jl({}),{provide:bt,useExisting:km},...n||[]],a=new hr({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1}).injector,c=a.get(q);return c.run(()=>{a.resolveInjectorInitializers();let l=a.get(Dt,null),u;c.runOutsideAngular(()=>{u=c.onError.subscribe({next:f=>{l.handleError(f)}})});let d=()=>a.destroy(),p=o.get(eu);return p.add(d),a.onDestroy(()=>{u.unsubscribe(),p.delete(d)}),Nm(l,c,()=>{let f=a.get(Yl);return f.runInitializers(),f.donePromise.then(()=>{let h=a.get(Xl,mr);am(h||mr);let g=a.get(qi);return t!==void 0&&g.bootstrap(t),g})})})}catch(t){return Promise.reject(t)}}var fC=new A("");function pC(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function hC(e,t){rt("NgSignals");let n=Fr(e);return t?.equal&&(n[ie].equal=t.equal),n}function gC(e){let t=b(null);try{return e()}finally{b(t)}}function mC(e){let t=Oe(e);if(!t)return null;let n=new xt(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}}}export{Ce as a,xe as b,Hm as c,k as d,gu as e,M as f,zr as g,Qr as h,K as i,At as j,je as k,de as l,xu as m,Mu as n,_u as o,He as p,Ie as q,Pu as r,$e as s,Pt as t,kn as u,Fu as v,ju as w,Vu as x,Be as y,ks as z,Hu as A,$u as B,Lt as C,Yr as D,Bu as E,Wu as F,Ps as G,Jr as H,qu as I,Gu as J,zu as K,Qu as L,Zu as M,Yu as N,Ju as O,Ku as P,_ as Q,Ca as R,Y as S,yb as T,Ib as U,A as V,D as W,Te as X,N as Y,wb as Z,Eb as _,Ht as $,Db as aa,bb as ba,Cb as ca,Ud as da,za as ea,Ae as fa,tf as ga,rf as ha,xb as ia,Mb as ja,_b as ka,Nb as la,Je as ma,Cr as na,we as oa,q as pa,Dt as qa,Tb as ra,xr as sa,Sb as ta,Ob as ua,lp as va,up as wa,Ab as xa,kb as ya,Rb as za,Lo as Aa,Pb as Ba,ki as Ca,Lb as Da,bt as Ea,dr as Fa,Vb as Ga,rt as Ha,Fh as Ia,jh as Ja,Bi as Ka,cg as La,$b as Ma,mg as Na,Bb as Oa,Ko as Pa,Dg as Qa,_g as Ra,Sg as Sa,Bg as Ta,Ug as Ua,Wg as Va,Ub as Wa,Wb as Xa,ql as Ya,Gl as Za,rm as _a,qb as $a,im as ab,lm as bb,Gb as cb,zb as db,Qb as eb,Zb as fb,Yb as gb,Jb as hb,Kb as ib,Xb as jb,eC as kb,tC as lb,nC as mb,gm as nb,rC as ob,oC as pb,iC as qb,sC as rb,aC as sb,Zl as tb,bm as ub,Cm as vb,qi as wb,cC as xb,lC as yb,uC as zb,dC as Ab,fC as Bb,pC as Cb,hC as Db,gC as Eb,mC as Fb};
