8 lines
110 KiB
JavaScript
8 lines
110 KiB
JavaScript
var ac=Object.defineProperty,uc=Object.defineProperties;var cc=Object.getOwnPropertyDescriptors;var Nt=Object.getOwnPropertySymbols;var ri=Object.prototype.hasOwnProperty,oi=Object.prototype.propertyIsEnumerable;var ni=(e,t,n)=>t in e?ac(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Xe=(e,t)=>{for(var n in t||={})ri.call(t,n)&&ni(e,n,t[n]);if(Nt)for(var n of Nt(t))oi.call(t,n)&&ni(e,n,t[n]);return e},et=(e,t)=>uc(e,cc(t));var fg=(e,t)=>{var n={};for(var r in e)ri.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Nt)for(var r of Nt(e))t.indexOf(r)<0&&oi.call(e,r)&&(n[r]=e[r]);return n};var ii=null;var Qn=1,si=Symbol("SIGNAL");function E(e){let t=ii;return ii=e,t}var ai={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 lc(e){if(!(Jn(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===Qn)){if(!e.producerMustRecompute(e)&&!Zn(e)){e.dirty=!1,e.lastCleanEpoch=Qn;return}e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=Qn}}function ui(e){return e&&(e.nextProducerIndex=0),E(e)}function ci(e,t){if(E(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(Jn(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)Kn(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Zn(e){At(e);for(let t=0;t<e.producerNode.length;t++){let n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(lc(n),r!==n.version))return!0}return!1}function li(e){if(At(e),Jn(e))for(let t=0;t<e.producerNode.length;t++)Kn(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 Kn(e,t){if(dc(e),At(e),e.liveConsumerNode.length===1)for(let r=0;r<e.producerNode.length;r++)Kn(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];At(o),o.producerIndexOfThis[r]=t}}function Jn(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function At(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function dc(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function fc(){throw new Error}var pc=fc;function di(e){pc=e}function g(e){return typeof e=="function"}function Re(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 Ot=Re(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 tt(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var R=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(g(r))try{r()}catch(i){t=i instanceof Ot?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{fi(i)}catch(s){t=t??[],s instanceof Ot?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Ot(t)}}add(t){var n;if(t&&t!==this)if(this.closed)fi(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)&&tt(n,t)}remove(t){let{_finalizers:n}=this;n&&tt(n,t),t instanceof e&&t._removeParent(this)}};R.EMPTY=(()=>{let e=new R;return e.closed=!0,e})();var Xn=R.EMPTY;function Ft(e){return e instanceof R||e&&"closed"in e&&g(e.remove)&&g(e.add)&&g(e.unsubscribe)}function fi(e){g(e)?e():e.unsubscribe()}var Q={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Pe={setTimeout(e,t,...n){let{delegate:r}=Pe;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=Pe;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Rt(e){Pe.setTimeout(()=>{let{onUnhandledError:t}=Q;if(t)t(e);else throw e})}function nt(){}var pi=er("C",void 0,void 0);function hi(e){return er("E",void 0,e)}function gi(e){return er("N",e,void 0)}function er(e,t,n){return{kind:e,value:t,error:n}}var Ie=null;function ke(e){if(Q.useDeprecatedSynchronousErrorHandling){let t=!Ie;if(t&&(Ie={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=Ie;if(Ie=null,n)throw r}}else e()}function mi(e){Q.useDeprecatedSynchronousErrorHandling&&Ie&&(Ie.errorThrown=!0,Ie.error=e)}var we=class extends R{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Ft(t)&&t.add(this)):this.destination=mc}static create(t,n,r){return new Le(t,n,r)}next(t){this.isStopped?nr(gi(t),this):this._next(t)}error(t){this.isStopped?nr(hi(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?nr(pi,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()}}},hc=Function.prototype.bind;function tr(e,t){return hc.call(e,t)}var rr=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Pt(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Pt(r)}else Pt(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Pt(n)}}},Le=class extends we{constructor(t,n,r){super();let o;if(g(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&Q.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&tr(t.next,i),error:t.error&&tr(t.error,i),complete:t.complete&&tr(t.complete,i)}):o=t}this.destination=new rr(o)}};function Pt(e){Q.useDeprecatedSynchronousErrorHandling?mi(e):Rt(e)}function gc(e){throw e}function nr(e,t){let{onStoppedNotification:n}=Q;n&&Pe.setTimeout(()=>n(e,t))}var mc={closed:!0,next:nt,error:gc,complete:nt};var je=typeof Symbol=="function"&&Symbol.observable||"@@observable";function $(e){return e}function yc(...e){return or(e)}function or(e){return e.length===0?$: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=vc(n)?n:new Le(n,r,o);return ke(()=>{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=yi(r),new r((o,i)=>{let s=new Le({next:a=>{try{n(a)}catch(u){i(u),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[je](){return this}pipe(...n){return or(n)(this)}toPromise(n){return n=yi(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 yi(e){var t;return(t=e??Q.Promise)!==null&&t!==void 0?t:Promise}function Dc(e){return e&&g(e.next)&&g(e.error)&&g(e.complete)}function vc(e){return e&&e instanceof we||Dc(e)&&Ft(e)}function ir(e){return g(e?.lift)}function v(e){return t=>{if(ir(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 I(e,t,n,r,o){return new sr(e,t,n,r,o)}var sr=class extends we{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(u){t.error(u)}}:super._next,this._error=o?function(a){try{o(a)}catch(u){t.error(u)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};function ar(){return v((e,t)=>{let n=null;e._refCount++;let r=I(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 ur=class extends M{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,ir(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 R;let n=this.getSubject();t.add(this.source.subscribe(I(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=R.EMPTY)}return t}refCount(){return ar()(this)}};var Di=Re(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var ce=(()=>{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 kt(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Di}next(n){ke(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){ke(()=>{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(){ke(()=>{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?Xn:(this.currentObservers=null,i.push(n),new R(()=>{this.currentObservers=null,tt(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 kt(t,n),e})(),kt=class extends ce{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,t)}error(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,t)}complete(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t)}_subscribe(t){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&r!==void 0?r:Xn}};var rt=class extends ce{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}};var ot=new M(e=>e.complete());function vi(e){return e&&g(e.schedule)}function Ii(e){return e[e.length-1]}function wi(e){return g(Ii(e))?e.pop():void 0}function le(e){return vi(Ii(e))?e.pop():void 0}function Ci(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(l){try{c(r.next(l))}catch(d){s(d)}}function u(l){try{c(r.throw(l))}catch(d){s(d)}}function c(l){l.done?i(l.value):o(l.value).then(a,u)}c((r=r.apply(e,t||[])).next())})}function Ei(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 Ee(e){return this instanceof Ee?(this.v=e,this):new Ee(e)}function bi(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(m){return Promise.resolve(m).then(f,d)}}function a(f,m){r[f]&&(o[f]=function(b){return new Promise(function(L,F){i.push([f,b,L,F])>1||u(f,b)})},m&&(o[f]=m(o[f])))}function u(f,m){try{c(r[f](m))}catch(b){p(i[0][3],b)}}function c(f){f.value instanceof Ee?Promise.resolve(f.value.v).then(l,d):p(i[0][2],f)}function l(f){u("next",f)}function d(f){u("throw",f)}function p(f,m){f(m),i.shift(),i.length&&u(i[0][0],i[0][1])}}function Mi(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 Ei=="function"?Ei(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,u){s=e[i](s),o(a,u,s.done,s.value)})}}function o(i,s,a,u){Promise.resolve(u).then(function(c){i({value:c,done:a})},s)}}var Lt=e=>e&&typeof e.length=="number"&&typeof e!="function";function jt(e){return g(e?.then)}function Vt(e){return g(e[je])}function Bt(e){return Symbol.asyncIterator&&g(e?.[Symbol.asyncIterator])}function $t(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 Ic(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Ht=Ic();function Ut(e){return g(e?.[Ht])}function Gt(e){return bi(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield Ee(n.read());if(o)return yield Ee(void 0);yield yield Ee(r)}}finally{n.releaseLock()}})}function zt(e){return g(e?.getReader)}function O(e){if(e instanceof M)return e;if(e!=null){if(Vt(e))return wc(e);if(Lt(e))return Ec(e);if(jt(e))return Cc(e);if(Bt(e))return _i(e);if(Ut(e))return bc(e);if(zt(e))return Mc(e)}throw $t(e)}function wc(e){return new M(t=>{let n=e[je]();if(g(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Ec(e){return new M(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function Cc(e){return new M(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Rt)})}function bc(e){return new M(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function _i(e){return new M(t=>{_c(e,t).catch(n=>t.error(n))})}function Mc(e){return _i(Gt(e))}function _c(e,t){var n,r,o,i;return Ci(this,void 0,void 0,function*(){try{for(n=Mi(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 j(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 Wt(e,t=0){return v((n,r)=>{n.subscribe(I(r,o=>j(r,e,()=>r.next(o),t),()=>j(r,e,()=>r.complete(),t),o=>j(r,e,()=>r.error(o),t)))})}function qt(e,t=0){return v((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function xi(e,t){return O(e).pipe(qt(t),Wt(t))}function Ti(e,t){return O(e).pipe(qt(t),Wt(t))}function Si(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 Ni(e,t){return new M(n=>{let r;return j(n,t,()=>{r=e[Ht](),j(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)}),()=>g(r?.return)&&r.return()})}function Yt(e,t){if(!e)throw new Error("Iterable cannot be null");return new M(n=>{j(n,t,()=>{let r=e[Symbol.asyncIterator]();j(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Ai(e,t){return Yt(Gt(e),t)}function Oi(e,t){if(e!=null){if(Vt(e))return xi(e,t);if(Lt(e))return Si(e,t);if(jt(e))return Ti(e,t);if(Bt(e))return Yt(e,t);if(Ut(e))return Ni(e,t);if(zt(e))return Ai(e,t)}throw $t(e)}function de(e,t){return t?Oi(e,t):O(e)}function xc(...e){let t=le(e);return de(e,t)}function Tc(e,t){let n=g(e)?e:()=>e,r=o=>o.error(n());return new M(t?o=>t.schedule(r,0,o):r)}function Sc(e){return!!e&&(e instanceof M||g(e.lift)&&g(e.subscribe))}var Ce=Re(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function se(e,t){return v((n,r)=>{let o=0;n.subscribe(I(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:Nc}=Array;function Ac(e,t){return Nc(t)?e(...t):e(t)}function Fi(e){return se(t=>Ac(e,t))}var{isArray:Oc}=Array,{getPrototypeOf:Fc,prototype:Rc,keys:Pc}=Object;function Ri(e){if(e.length===1){let t=e[0];if(Oc(t))return{args:t,keys:null};if(kc(t)){let n=Pc(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function kc(e){return e&&typeof e=="object"&&Fc(e)===Rc}function Pi(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function Lc(...e){let t=le(e),n=wi(e),{args:r,keys:o}=Ri(e);if(r.length===0)return de([],t);let i=new M(jc(r,t,o?s=>Pi(o,s):$));return n?i.pipe(Fi(n)):i}function jc(e,t,n=$){return r=>{ki(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let u=0;u<o;u++)ki(t,()=>{let c=de(e[u],t),l=!1;c.subscribe(I(r,d=>{i[u]=d,l||(l=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function ki(e,t,n){e?j(n,e,t):t()}function Li(e,t,n,r,o,i,s,a){let u=[],c=0,l=0,d=!1,p=()=>{d&&!u.length&&!c&&t.complete()},f=b=>c<r?m(b):u.push(b),m=b=>{i&&t.next(b),c++;let L=!1;O(n(b,l++)).subscribe(I(t,F=>{o?.(F),i?f(F):t.next(F)},()=>{L=!0},void 0,()=>{if(L)try{for(c--;u.length&&c<r;){let F=u.shift();s?j(t,s,()=>m(F)):m(F)}p()}catch(F){t.error(F)}}))};return e.subscribe(I(t,f,()=>{d=!0,p()})),()=>{a?.()}}function be(e,t,n=1/0){return g(t)?be((r,o)=>se((i,s)=>t(r,i,o,s))(O(e(r,o))),n):(typeof t=="number"&&(n=t),v((r,o)=>Li(r,o,e,n)))}function ji(e=1/0){return be($,e)}function Vi(){return ji(1)}function Qt(...e){return Vi()(de(e,le(e)))}function Vc(e){return new M(t=>{O(e()).subscribe(t)})}function it(e,t){return v((n,r)=>{let o=0;n.subscribe(I(r,i=>e.call(t,i,o++)&&r.next(i)))})}function Bi(e){return v((t,n)=>{let r=null,o=!1,i;r=t.subscribe(I(n,void 0,void 0,s=>{i=O(e(s,Bi(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function $i(e,t,n,r,o){return(i,s)=>{let a=n,u=t,c=0;i.subscribe(I(s,l=>{let d=c++;u=a?e(u,l,d):(a=!0,l),r&&s.next(u)},o&&(()=>{a&&s.next(u),s.complete()})))}}function Bc(e,t){return g(t)?be(e,t,1):be(e,1)}function st(e){return v((t,n)=>{let r=!1;t.subscribe(I(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function cr(e){return e<=0?()=>ot:v((t,n)=>{let r=0;t.subscribe(I(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function $c(e){return se(()=>e)}function Zt(e=Hc){return v((t,n)=>{let r=!1;t.subscribe(I(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function Hc(){return new Ce}function Uc(e){return v((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function lr(e,t){let n=arguments.length>=2;return r=>r.pipe(e?it((o,i)=>e(o,i,r)):$,cr(1),n?st(t):Zt(()=>new Ce))}function dr(e){return e<=0?()=>ot:v((t,n)=>{let r=[];t.subscribe(I(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 Gc(e,t){let n=arguments.length>=2;return r=>r.pipe(e?it((o,i)=>e(o,i,r)):$,dr(1),n?st(t):Zt(()=>new Ce))}function zc(e,t){return v($i(e,t,arguments.length>=2,!0))}function Wc(...e){let t=le(e);return v((n,r)=>{(t?Qt(e,n,t):Qt(e,n)).subscribe(r)})}function qc(e,t){return v((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(I(r,u=>{o?.unsubscribe();let c=0,l=i++;O(e(u,l)).subscribe(o=I(r,d=>r.next(t?t(u,d,l,c++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Yc(e){return v((t,n)=>{O(e).subscribe(I(n,()=>n.complete(),nt)),!n.closed&&t.subscribe(n)})}function Qc(e,t,n){let r=g(e)||t||n?{next:e,error:t,complete:n}:e;return r?v((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(I(i,u=>{var c;(c=r.next)===null||c===void 0||c.call(r,u),i.next(u)},()=>{var u;a=!1,(u=r.complete)===null||u===void 0||u.call(r),i.complete()},u=>{var c;a=!1,(c=r.error)===null||c===void 0||c.call(r,u),i.error(u)},()=>{var u,c;a&&((u=r.unsubscribe)===null||u===void 0||u.call(r)),(c=r.finalize)===null||c===void 0||c.call(r)}))}):$}var bs="https://g.co/ng/security#xss",_=class extends Error{constructor(t,n){super(Ms(t,n)),this.code=t}};function Ms(e,t){return`${`NG0${Math.abs(e)}`}${t?": "+t:""}`}function fo(e){return{toString:e}.toString()}var en=globalThis;function x(e){for(let t in e)if(e[t]===x)return t;throw Error("Could not find renamed property on target object.")}function H(e){if(typeof e=="string")return e;if(Array.isArray(e))return"["+e.map(H).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 Hi(e,t){return e==null||e===""?t===null?"":t:t==null||t===""?e:e+" "+t}var Zc=x({__forward_ref__:x});function _s(e){return e.__forward_ref__=_s,e.toString=function(){return H(this())},e}function W(e){return xs(e)?e():e}function xs(e){return typeof e=="function"&&e.hasOwnProperty(Zc)&&e.__forward_ref__===_s}function N(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Sn(e){return Ui(e,Ts)||Ui(e,Ss)}function XI(e){return Sn(e)!==null}function Ui(e,t){return e.hasOwnProperty(t)?e[t]:null}function Kc(e){let t=e&&(e[Ts]||e[Ss]);return t||null}function Gi(e){return e&&(e.hasOwnProperty(zi)||e.hasOwnProperty(Jc))?e[zi]:null}var Ts=x({\u0275prov:x}),zi=x({\u0275inj:x}),Ss=x({ngInjectableDef:x}),Jc=x({ngInjectorDef:x}),T=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=N({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Ns(e){return e&&!!e.\u0275providers}var Xc=x({\u0275cmp:x}),el=x({\u0275dir:x}),tl=x({\u0275pipe:x}),nl=x({\u0275mod:x}),an=x({\u0275fac:x}),at=x({__NG_ELEMENT_ID__:x}),Wi=x({__NG_ENV_ID__:x});function po(e){return typeof e=="string"?e:e==null?"":String(e)}function rl(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():po(e)}function ol(e,t){let n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new _(-200,e)}function ho(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||{}),Mr;function As(){return Mr}function z(e){let t=Mr;return Mr=e,t}function Os(e,t,n){let r=Sn(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;ho(e,"Injector")}var il={},ut=il,sl="__NG_DI_FLAG__",un="ngTempTokenPath",al="ngTokenPath",ul=/\n/gm,cl="\u0275",qi="__source",Ue;function ll(){return Ue}function fe(e){let t=Ue;return Ue=e,t}function dl(e,t=D.Default){if(Ue===void 0)throw new _(-203,!1);return Ue===null?Os(e,void 0,t):Ue.get(e,t&D.Optional?null:void 0,t)}function V(e,t=D.Default){return(As()||dl)(W(e),t)}function C(e,t=D.Default){return V(e,Nn(t))}function Nn(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function _r(e){let t=[];for(let n=0;n<e.length;n++){let r=W(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],u=fl(a);typeof u=="number"?u===-1?o=a.token:i|=u:o=a}t.push(V(o,i))}else t.push(V(r))}return t}function fl(e){return e[sl]}function pl(e,t,n,r){let o=e[un];throw t[qi]&&o.unshift(t[qi]),e.message=hl(`
|
|
`+e.message,o,n,r),e[al]=o,e[un]=null,e}function hl(e,t,n,r=null){e=e&&e.charAt(0)===`
|
|
`&&e.charAt(1)==cl?e.slice(2):e;let o=H(t);if(Array.isArray(t))o=t.map(H).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):H(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(ul,`
|
|
`)}`}function ze(e,t){let n=e.hasOwnProperty(an);return n?e[an]:null}function go(e,t){e.forEach(n=>Array.isArray(n)?go(n,t):t(n))}function Fs(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function cn(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}var ct={},_e=[],lt=new T(""),Rs=new T("",-1),Ps=new T(""),ln=class{get(t,n=ut){if(n===ut){let r=new Error(`NullInjectorError: No provider for ${H(t)}!`);throw r.name="NullInjectorError",r}return n}},ks=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(ks||{}),dt=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(dt||{}),xe=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(xe||{});function gl(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 xr(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];yl(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function ml(e){return e===3||e===4||e===6}function yl(e){return e.charCodeAt(0)===64}function mo(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?Yi(e,n,o,null,t[++r]):Yi(e,n,o,null,null))}}return e}function Yi(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 Ls="ng-template";function Dl(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&gl(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(yo(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 yo(e){return e.type===4&&e.value!==Ls}function vl(e,t,n){let r=e.type===4&&!n?Ls:e.value;return t===r}function Il(e,t,n){let r=4,o=e.attrs,i=o!==null?Cl(o):0,s=!1;for(let a=0;a<t.length;a++){let u=t[a];if(typeof u=="number"){if(!s&&!Z(r)&&!Z(u))return!1;if(s&&Z(u))continue;s=!1,r=u|r&1;continue}if(!s)if(r&4){if(r=2|r&1,u!==""&&!vl(e,u,n)||u===""&&t.length===1){if(Z(r))return!1;s=!0}}else if(r&8){if(o===null||!Dl(e,o,u,n)){if(Z(r))return!1;s=!0}}else{let c=t[++a],l=wl(u,o,yo(e),n);if(l===-1){if(Z(r))return!1;s=!0;continue}if(c!==""){let d;if(l>i?d="":d=o[l+1].toLowerCase(),r&2&&c!==d){if(Z(r))return!1;s=!0}}}}return Z(r)||s}function Z(e){return(e&1)===0}function wl(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 bl(t,e)}function El(e,t,n=!1){for(let r=0;r<t.length;r++)if(Il(e,t[r],n))return!0;return!1}function Cl(e){for(let t=0;t<e.length;t++){let n=e[t];if(ml(n))return t}return e.length}function bl(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 Qi(e,t){return e?":not("+t.trim()+")":t}function Ml(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!==""&&!Z(s)&&(t+=Qi(i,o),o=""),r=s,i=i||!Z(r);n++}return o!==""&&(t+=Qi(i,o)),t}function _l(e){return e.map(Ml).join(",")}function xl(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(!Z(o))break;o=i}r++}return{attrs:t,classes:n}}function ew(e){return fo(()=>{let t=$s(e),n=et(Xe({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===ks.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||dt.Emulated,styles:e.styles||_e,_:null,schemas:e.schemas||null,tView:null,id:""});Hs(n);let r=e.dependencies;return n.directiveDefs=Ki(r,!1),n.pipeDefs=Ki(r,!0),n.id=Ol(n),n})}function Tl(e){return Te(e)||js(e)}function Sl(e){return e!==null}function Zi(e,t){if(e==null)return ct;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a=xe.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),t?(n[i]=a!==xe.None?[r,a]:r,t[i]=s):n[i]=r}return n}function Nl(e){return fo(()=>{let t=$s(e);return Hs(t),t})}function Te(e){return e[Xc]||null}function js(e){return e[el]||null}function Vs(e){return e[tl]||null}function Al(e){let t=Te(e)||js(e)||Vs(e);return t!==null?t.standalone:!1}function Bs(e,t){let n=e[nl]||null;if(!n&&t===!0)throw new Error(`Type ${H(e)} does not have '\u0275mod' property.`);return n}function $s(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||ct,exportAs:e.exportAs||null,standalone:e.standalone===!0,signals:e.signals===!0,selectors:e.selectors||_e,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Zi(e.inputs,t),outputs:Zi(e.outputs),debugInfo:null}}function Hs(e){e.features?.forEach(t=>t(e))}function Ki(e,t){if(!e)return null;let n=t?Vs:Tl;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(Sl)}function Ol(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 Us(e){return{\u0275providers:e}}function Fl(...e){return{\u0275providers:Gs(!0,e),\u0275fromNgModule:!0}}function Gs(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return go(t,s=>{let a=s;Tr(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&zs(o,i),n}function zs(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];Do(o,i=>{t(i,r)})}}function Tr(e,t,n,r){if(e=W(e),!e)return!1;let o=null,i=Gi(e),s=!i&&Te(e);if(!i&&!s){let u=e.ngModule;if(i=Gi(u),i)o=u;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let u=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of u)Tr(c,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let c;try{go(i.imports,l=>{Tr(l,t,n,r)&&(c||=[],c.push(l))})}finally{}c!==void 0&&zs(c,t)}if(!a){let c=ze(o)||(()=>new o);t({provide:o,useFactory:c,deps:_e},o),t({provide:Ps,useValue:o,multi:!0},o),t({provide:lt,useValue:()=>V(o),multi:!0},o)}let u=i.providers;if(u!=null&&!a){let c=e;Do(u,l=>{t(l,c)})}}else return!1;return o!==e&&e.providers!==void 0}function Do(e,t){for(let n of e)Ns(n)&&(n=n.\u0275providers),Array.isArray(n)?Do(n,t):t(n)}var Rl=x({provide:String,useValue:x});function Ws(e){return e!==null&&typeof e=="object"&&Rl in e}function Pl(e){return!!(e&&e.useExisting)}function kl(e){return!!(e&&e.useFactory)}function Sr(e){return typeof e=="function"}var qs=new T(""),tn={},Ll={},fr;function vo(){return fr===void 0&&(fr=new ln),fr}var me=class{},ft=class extends me{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,Ar(t,s=>this.processProvider(s)),this.records.set(Rs,Ve(void 0,this)),o.has("environment")&&this.records.set(me,Ve(void 0,this));let i=this.records.get(qs);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Ps,_e,D.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let t=E(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),E(t)}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();let n=fe(this),r=z(void 0),o;try{return t()}finally{fe(n),z(r)}}get(t,n=ut,r=D.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(Wi))return t[Wi](this);r=Nn(r);let o,i=fe(this),s=z(void 0);try{if(!(r&D.SkipSelf)){let u=this.records.get(t);if(u===void 0){let c=Ul(t)&&Sn(t);c&&this.injectableDefInScope(c)?u=Ve(Nr(t),tn):u=null,this.records.set(t,u)}if(u!=null)return this.hydrate(t,u)}let a=r&D.Self?vo():this.parent;return n=r&D.Optional&&n===ut?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[un]=a[un]||[]).unshift(H(t)),i)throw a;return pl(a,t,"R3InjectorError",this.source)}else throw a}finally{z(s),fe(i)}}resolveInjectorInitializers(){let t=E(null),n=fe(this),r=z(void 0),o;try{let i=this.get(lt,_e,D.Self);for(let s of i)s()}finally{fe(n),z(r),E(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(H(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new _(205,!1)}processProvider(t){t=W(t);let n=Sr(t)?t:W(t&&t.provide),r=Vl(t);if(!Sr(t)&&t.multi===!0){let o=this.records.get(n);o||(o=Ve(void 0,tn,!0),o.factory=()=>_r(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){let r=E(null);try{return n.value===tn&&(n.value=Ll,n.value=n.factory()),typeof n.value=="object"&&n.value&&Hl(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{E(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=W(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 Nr(e){let t=Sn(e),n=t!==null?t.factory:ze(e);if(n!==null)return n;if(e instanceof T)throw new _(204,!1);if(e instanceof Function)return jl(e);throw new _(204,!1)}function jl(e){if(e.length>0)throw new _(204,!1);let n=Kc(e);return n!==null?()=>n.factory(e):()=>new e}function Vl(e){if(Ws(e))return Ve(void 0,e.useValue);{let t=Bl(e);return Ve(t,tn)}}function Bl(e,t,n){let r;if(Sr(e)){let o=W(e);return ze(o)||Nr(o)}else if(Ws(e))r=()=>W(e.useValue);else if(kl(e))r=()=>e.useFactory(..._r(e.deps||[]));else if(Pl(e))r=()=>V(W(e.useExisting));else{let o=W(e&&(e.useClass||e.provide));if($l(e))r=()=>new o(..._r(e.deps));else return ze(o)||Nr(o)}return r}function Ve(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function $l(e){return!!e.deps}function Hl(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Ul(e){return typeof e=="function"||typeof e=="object"&&e instanceof T}function Ar(e,t){for(let n of e)Array.isArray(n)?Ar(n,t):n&&Ns(n)?Ar(n.\u0275providers,t):t(n)}function tw(e,t){e instanceof ft&&e.assertNotDestroyed();let n,r=fe(e),o=z(void 0);try{return t()}finally{fe(r),z(o)}}function Gl(){return As()!==void 0||ll()!=null}function zl(e){return typeof e=="function"}var U=0,y=1,h=2,P=3,K=4,ee=5,Y=6,Ji=7,q=8,We=9,X=10,A=11,pt=12,Xi=13,wt=14,G=15,An=16,Be=17,qe=18,On=19,Ys=20,he=21,pr=22,Se=23,B=25,Qs=1,ht=6,ae=7,dn=8,fn=9,k=10,Io=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(Io||{});function ge(e){return Array.isArray(e)&&typeof e[Qs]=="object"}function oe(e){return Array.isArray(e)&&e[Qs]===!0}function Zs(e){return(e.flags&4)!==0}function Et(e){return e.componentOffset>-1}function Ks(e){return(e.flags&1)===1}function Ct(e){return!!e.template}function Js(e){return(e[h]&512)!==0}var Or=class{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function Xs(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}function ea(){return ta}function ta(e){return e.type.prototype.ngOnChanges&&(e.setInput=ql),Wl}ea.ngInherit=!0;function Wl(){let e=ra(this),t=e?.current;if(t){let n=e.previous;if(n===ct)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function ql(e,t,n,r,o){let i=this.declaredInputs[r],s=ra(e)||Yl(e,{previous:ct,current:null}),a=s.current||(s.current={}),u=s.previous,c=u[i];a[i]=new Or(c&&c.currentValue,n,u===ct),Xs(e,t,o,n)}var na="__ngSimpleChanges__";function ra(e){return e[na]||null}function Yl(e,t){return e[na]=t}var es=null;var pe=function(e,t,n){es?.(e,t,n)},oa="svg",Ql="math",Zl=!1;function Kl(){return Zl}function re(e){for(;Array.isArray(e);)e=e[U];return e}function Jl(e,t){return re(t[e])}function te(e,t){return re(t[e.index])}function wo(e,t){return e.data[t]}function Ke(e,t){let n=t[e];return ge(n)?n:n[U]}function Eo(e){return(e[h]&128)===128}function Xl(e){return oe(e[P])}function pn(e,t){return t==null?null:e[t]}function ia(e){e[Be]=0}function ed(e){e[h]&1024||(e[h]|=1024,Eo(e)&>(e))}function Co(e){return!!(e[h]&9216||e[Se]?.dirty)}function Fr(e){e[X].changeDetectionScheduler?.notify(1),Co(e)?gt(e):e[h]&64&&(Kl()?(e[h]|=1024,gt(e)):e[X].changeDetectionScheduler?.notify())}function gt(e){e[X].changeDetectionScheduler?.notify();let t=mt(e);for(;t!==null&&!(t[h]&8192||(t[h]|=8192,!Eo(t)));)t=mt(t)}function sa(e,t){if((e[h]&256)===256)throw new _(911,!1);e[he]===null&&(e[he]=[]),e[he].push(t)}function td(e,t){if(e[he]===null)return;let n=e[he].indexOf(t);n!==-1&&e[he].splice(n,1)}function mt(e){let t=e[P];return oe(t)?t[P]:t}var w={lFrame:ha(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function nd(){return w.lFrame.elementDepthCount}function rd(){w.lFrame.elementDepthCount++}function od(){w.lFrame.elementDepthCount--}function aa(){return w.bindingsEnabled}function bt(){return w.skipHydrationRootTNode!==null}function id(e){return w.skipHydrationRootTNode===e}function sd(e){w.skipHydrationRootTNode=e}function ad(){w.skipHydrationRootTNode=null}function S(){return w.lFrame.lView}function Je(){return w.lFrame.tView}function De(){let e=ua();for(;e!==null&&e.type===64;)e=e.parent;return e}function ua(){return w.lFrame.currentTNode}function ud(){let e=w.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Mt(e,t){let n=w.lFrame;n.currentTNode=e,n.isParent=t}function ca(){return w.lFrame.isParent}function cd(){w.lFrame.isParent=!1}function la(){let e=w.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function ld(e){return w.lFrame.bindingIndex=e}function bo(){return w.lFrame.bindingIndex++}function dd(){return w.lFrame.inI18n}function fd(e,t){let n=w.lFrame;n.bindingIndex=n.bindingRootIndex=e,Rr(t)}function pd(){return w.lFrame.currentDirectiveIndex}function Rr(e){w.lFrame.currentDirectiveIndex=e}function da(e){w.lFrame.currentQueryIndex=e}function hd(e){let t=e[y];return t.type===2?t.declTNode:t.type===1?e[ee]:null}function fa(e,t,n){if(n&D.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&D.Host);)if(o=hd(i),o===null||(i=i[wt],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=w.lFrame=pa();return r.currentTNode=t,r.lView=e,!0}function Mo(e){let t=pa(),n=e[y];w.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function pa(){let e=w.lFrame,t=e===null?null:e.child;return t===null?ha(e):t}function ha(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 ga(){let e=w.lFrame;return w.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var ma=ga;function _o(){let e=ga();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 Fn(){return w.lFrame.selectedIndex}function Ne(e){w.lFrame.selectedIndex=e}function gd(){let e=w.lFrame;return wo(e.tView,e.selectedIndex)}function nw(){w.lFrame.currentNamespace=oa}function rw(){md()}function md(){w.lFrame.currentNamespace=null}function ya(){return w.lFrame.currentNamespace}var Da=!0;function xo(){return Da}function ie(e){Da=e}function yd(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=ta(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 To(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){let i=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:u,ngAfterViewChecked:c,ngOnDestroy:l}=i;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),u&&(e.viewHooks??=[]).push(-n,u),c&&((e.viewHooks??=[]).push(n,c),(e.viewCheckHooks??=[]).push(n,c)),l!=null&&(e.destroyHooks??=[]).push(n,l)}}function nn(e,t,n){va(e,t,3,n)}function rn(e,t,n,r){(e[h]&3)===n&&va(e,t,n,r)}function hr(e,t){let n=e[h];(n&3)===t&&(n&=16383,n+=1,e[h]=n)}function va(e,t,n,r){let o=r!==void 0?e[Be]&65535:0,i=r??-1,s=t.length-1,a=0;for(let u=o;u<s;u++)if(typeof t[u+1]=="number"){if(a=t[u],r!=null&&a>=r)break}else t[u]<0&&(e[Be]+=65536),(a<i||i==-1)&&(Dd(e,n,t,u),e[Be]=(e[Be]&4294901760)+u+2),u++}function ts(e,t){pe(4,e,t);let n=E(null);try{t.call(e)}finally{E(n),pe(5,e,t)}}function Dd(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[h]>>14<e[Be]>>16&&(e[h]&3)===t&&(e[h]+=16384,ts(a,i)):ts(a,i)}var Ge=-1,yt=class{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}};function vd(e){return e instanceof yt}function Id(e){return(e.flags&8)!==0}function wd(e){return(e.flags&16)!==0}function Ia(e){return e!==Ge}function hn(e){return e&32767}function Ed(e){return e>>16}function gn(e,t){let n=Ed(e),r=t;for(;n>0;)r=r[wt],n--;return r}var Pr=!0;function ns(e){let t=Pr;return Pr=e,t}var Cd=256,wa=Cd-1,Ea=5,bd=0,ne={};function Md(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(at)&&(r=n[at]),r==null&&(r=n[at]=bd++);let o=r&wa,i=1<<o;t.data[e+(o>>Ea)]|=i}function Ca(e,t){let n=ba(e,t);if(n!==-1)return n;let r=t[y];r.firstCreatePass&&(e.injectorIndex=t.length,gr(r.data,e),gr(t,null),gr(r.blueprint,null));let o=So(e,t),i=e.injectorIndex;if(Ia(o)){let s=hn(o),a=gn(o,t),u=a[y].data;for(let c=0;c<8;c++)t[i+c]=a[s+c]|u[s+c]}return t[i+8]=o,i}function gr(e,t){e.push(0,0,0,0,0,0,0,0,t)}function ba(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function So(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=Sa(o),r===null)return Ge;if(n++,o=o[wt],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Ge}function _d(e,t,n){Md(e,t,n)}function Ma(e,t,n){if(n&D.Optional||e!==void 0)return e;ho(t,"NodeInjector")}function _a(e,t,n,r){if(n&D.Optional&&r===void 0&&(r=null),!(n&(D.Self|D.Host))){let o=e[We],i=z(void 0);try{return o?o.get(t,r,n&D.Optional):Os(t,r,n&D.Optional)}finally{z(i)}}return Ma(r,t,n)}function xa(e,t,n,r=D.Default,o){if(e!==null){if(t[h]&2048&&!(r&D.Self)){let s=Ad(e,t,n,r,ne);if(s!==ne)return s}let i=Ta(e,t,n,r,ne);if(i!==ne)return i}return _a(t,n,r,o)}function Ta(e,t,n,r,o){let i=Sd(n);if(typeof i=="function"){if(!fa(t,e,r))return r&D.Host?Ma(o,n,r):_a(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&D.Optional))ho(n);else return s}finally{ma()}}else if(typeof i=="number"){let s=null,a=ba(e,t),u=Ge,c=r&D.Host?t[G][ee]:null;for((a===-1||r&D.SkipSelf)&&(u=a===-1?So(e,t):t[a+8],u===Ge||!os(r,!1)?a=-1:(s=t[y],a=hn(u),t=gn(u,t)));a!==-1;){let l=t[y];if(rs(i,a,l.data)){let d=xd(a,t,n,s,r,c);if(d!==ne)return d}u=t[a+8],u!==Ge&&os(r,t[y].data[a+8]===c)&&rs(i,a,t)?(s=l,a=hn(u),t=gn(u,t)):a=-1}}return o}function xd(e,t,n,r,o,i){let s=t[y],a=s.data[e+8],u=r==null?Et(a)&&Pr:r!=s&&(a.type&3)!==0,c=o&D.Host&&i===a,l=Td(a,s,n,u,c);return l!==null?Dt(t,s,l,a):ne}function Td(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,u=e.directiveStart,c=e.directiveEnd,l=i>>20,d=r?a:a+l,p=o?a+l:c;for(let f=d;f<p;f++){let m=s[f];if(f<u&&n===m||f>=u&&m.type===n)return f}if(o){let f=s[u];if(f&&Ct(f)&&f.type===n)return u}return null}function Dt(e,t,n,r){let o=e[n],i=t.data;if(vd(o)){let s=o;s.resolving&&ol(rl(i[n]));let a=ns(s.canSeeViewProviders);s.resolving=!0;let u,c=s.injectImpl?z(s.injectImpl):null,l=fa(e,r,D.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&yd(n,i[n],t)}finally{c!==null&&z(c),ns(a),s.resolving=!1,ma()}}return o}function Sd(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(at)?e[at]:void 0;return typeof t=="number"?t>=0?t&wa:Nd:t}function rs(e,t,n){let r=1<<e;return!!(n[t+(e>>Ea)]&r)}function os(e,t){return!(e&D.Self)&&!(e&D.Host&&t)}var Me=class{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return xa(this._tNode,this._lView,t,Nn(r),n)}};function Nd(){return new Me(De(),S())}function ow(e){return fo(()=>{let t=e.prototype.constructor,n=t[an]||kr(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[an]||kr(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function kr(e){return xs(e)?()=>{let t=kr(W(e));return t&&t()}:ze(e)}function Ad(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[h]&2048&&!(s[h]&512);){let a=Ta(i,s,n,r|D.Self,ne);if(a!==ne)return a;let u=i.parent;if(!u){let c=s[Ys];if(c){let l=c.get(n,ne,r);if(l!==ne)return l}u=Sa(s),s=s[wt]}i=u}return o}function Sa(e){let t=e[y],n=t.type;return n===2?t.declTNode:n===1?e[ee]:null}function is(e,t=null,n=null,r){let o=Na(e,t,n,r);return o.resolveInjectorInitializers(),o}function Na(e,t=null,n=null,r,o=new Set){let i=[n||_e,Fl(e)];return r=r||(typeof e=="object"?void 0:H(e)),new ft(i,t||vo(),r||null,o)}var _t=(()=>{let t=class t{static create(r,o){if(Array.isArray(r))return is({name:""},o,r,"");{let i=r.name??"";return is({name:i},r.parent,r.providers,i)}}};t.THROW_IF_NOT_FOUND=ut,t.NULL=new ln,t.\u0275prov=N({token:t,providedIn:"any",factory:()=>V(Rs)}),t.__NG_ELEMENT_ID__=-1;let e=t;return e})();var Od="ngOriginalError";function mr(e){return e[Od]}var Ye=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&&mr(t);for(;n&&mr(n);)n=mr(n);return n||null}},Aa=new T("",{providedIn:"root",factory:()=>C(Ye).handleError.bind(void 0)}),Oa=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=Fd,t.__NG_ENV_ID__=r=>r;let e=t;return e})(),Lr=class extends Oa{constructor(t){super(),this._lView=t}onDestroy(t){return sa(this._lView,t),()=>td(this._lView,t)}};function Fd(){return new Lr(S())}function Rd(){return No(De(),S())}function No(e,t){return new Ao(te(e,t))}var Ao=(()=>{let t=class t{constructor(r){this.nativeElement=r}};t.__NG_ELEMENT_ID__=Rd;let e=t;return e})();var jr=class extends ce{constructor(t=!1){super(),this.destroyRef=void 0,this.__isAsync=t,Gl()&&(this.destroyRef=C(Oa,{optional:!0})??void 0)}emit(t){let n=E(null);try{super.next(t)}finally{E(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let u=t;o=u.next?.bind(u),i=u.error?.bind(u),s=u.complete?.bind(u)}this.__isAsync&&(i=yr(i),o&&(o=yr(o)),s&&(s=yr(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof R&&t.add(a),a}};function yr(e){return t=>{setTimeout(e,void 0,t)}}var $e=jr;var Pd="ngSkipHydration",kd="ngskiphydration";function Fa(e){let t=e.mergedAttrs;if(t===null)return!1;for(let n=0;n<t.length;n+=2){let r=t[n];if(typeof r=="number")return!1;if(typeof r=="string"&&r.toLowerCase()===kd)return!0}return!1}function Ra(e){return e.hasAttribute(Pd)}function mn(e){return(e.flags&128)===128}function Ld(e){if(mn(e))return!0;let t=e.parent;for(;t;){if(mn(e)||Fa(t))return!0;t=t.parent}return!1}var Pa=new Map,jd=0;function Vd(){return jd++}function Bd(e){Pa.set(e[On],e)}function $d(e){Pa.delete(e[On])}var ss="__ngContext__";function Ae(e,t){ge(t)?(e[ss]=t[On],Bd(t)):e[ss]=t}function ka(e){return ja(e[pt])}function La(e){return ja(e[K])}function ja(e){for(;e!==null&&!oe(e);)e=e[K];return e}var Vr;function iw(e){Vr=e}function Rn(){if(Vr!==void 0)return Vr;if(typeof document<"u")return document;throw new _(210,!1)}var Hd=new T("",{providedIn:"root",factory:()=>Ud}),Ud="ng",Gd=new T(""),Oo=new T("",{providedIn:"platform",factory:()=>"unknown"});var sw=new T(""),aw=new T("",{providedIn:"root",factory:()=>Rn().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function zd(){let e=new Fo;return C(Oo)==="browser"&&(e.store=Wd(Rn(),C(Hd))),e}var Fo=(()=>{let t=class t{constructor(){this.store={},this.onSerializeCallbacks={}}get(r,o){return this.store[r]!==void 0?this.store[r]:o}set(r,o){this.store[r]=o}remove(r){delete this.store[r]}hasKey(r){return this.store.hasOwnProperty(r)}get isEmpty(){return Object.keys(this.store).length===0}onSerialize(r,o){this.onSerializeCallbacks[r]=o}toJson(){for(let r in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(r))try{this.store[r]=this.onSerializeCallbacks[r]()}catch(o){console.warn("Exception in onSerialize callback: ",o)}return JSON.stringify(this.store).replace(/</g,"\\u003C")}};t.\u0275prov=N({token:t,providedIn:"root",factory:zd});let e=t;return e})();function Wd(e,t){let n=e.getElementById(t+"-state");if(n?.textContent)try{return JSON.parse(n.textContent)}catch(r){console.warn("Exception while restoring TransferState for app "+t,r)}return{}}var Va="h",Ba="b",Br=function(e){return e.FirstChild="f",e.NextSibling="n",e}(Br||{}),qd="e",Yd="t",Ro="c",$a="x",yn="r",Qd="i",Zd="n",Kd="d",Jd="__nghData__",Ha=Jd,Dr="ngh",Xd="nghm",Ua=()=>null;function ef(e,t,n=!1){let r=e.getAttribute(Dr);if(r==null)return null;let[o,i]=r.split("|");if(r=n?i:o,!r)return null;let s=i?`|${i}`:"",a=n?o:s,u={};if(r!==""){let l=t.get(Fo,null,{optional:!0});l!==null&&(u=l.get(Ha,[])[Number(r)])}let c={data:u,firstChild:e.firstChild??null};return n&&(c.firstChild=e,Pn(c,0,e.nextSibling)),a?e.setAttribute(Dr,a):e.removeAttribute(Dr),c}function tf(){Ua=ef}function Po(e,t,n=!1){return Ua(e,t,n)}function nf(e){let t=e._lView;return t[y].type===2?null:(Js(t)&&(t=t[B]),t)}function rf(e){return e.textContent?.replace(/\s/gm,"")}function of(e){let t=Rn(),n=t.createNodeIterator(e,NodeFilter.SHOW_COMMENT,{acceptNode(i){let s=rf(i);return s==="ngetn"||s==="ngtns"?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}}),r,o=[];for(;r=n.nextNode();)o.push(r);for(let i of o)i.textContent==="ngetn"?i.replaceWith(t.createTextNode("")):i.remove()}function Pn(e,t,n){e.segmentHeads??={},e.segmentHeads[t]=n}function $r(e,t){return e.segmentHeads?.[t]??null}function sf(e,t){let n=e.data,r=n[qd]?.[t]??null;return r===null&&n[Ro]?.[t]&&(r=ko(e,t)),r}function Ga(e,t){return e.data[Ro]?.[t]??null}function ko(e,t){let n=Ga(e,t)??[],r=0;for(let o of n)r+=o[yn]*(o[$a]??1);return r}function kn(e,t){if(typeof e.disconnectedNodes>"u"){let n=e.data[Kd];e.disconnectedNodes=n?new Set(n):null}return!!e.disconnectedNodes?.has(t)}var Kt=new T(""),za=!1,Wa=new T("",{providedIn:"root",factory:()=>za}),af=new T("");var Dn=class{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${bs})`}};function qa(e){return e instanceof Dn?e.changingThisBreaksApplicationSecurity:e}function uf(e,t){let n=cf(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${bs})`)}return n===t}function cf(e){return e instanceof Dn&&e.getTypeName()||null}var lf=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function df(e){return e=String(e),e.match(lf)?e:"unsafe:"+e}var Ya=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}(Ya||{});function uw(e){let t=ff();return t?t.sanitize(Ya.URL,e)||"":uf(e,"URL")?qa(e):df(po(e))}function ff(){let e=S();return e&&e[X].sanitizer}var pf=/^>|^->|<!--|-->|--!>|<!-$/g,hf=/(<|>)/g,gf="\u200B$1\u200B";function mf(e){return e.replace(pf,t=>t.replace(hf,gf))}function yf(e){return e.ownerDocument.body}function Qa(e){return e instanceof Function?e():e}function Jt(e){return(e??C(_t)).get(Oo)==="browser"}var Za=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Za||{}),Df;function Lo(e,t){return Df(e,t)}function He(e,t,n,r,o){if(r!=null){let i,s=!1;oe(r)?i=r:ge(r)&&(s=!0,r=r[U]);let a=re(r);e===0&&n!==null?o==null?Xa(t,n,a):vn(t,n,a,o||null,!0):e===1&&n!==null?vn(t,n,a,o||null,!0):e===2?Ho(t,a,s):e===3&&t.destroyNode(a),i!=null&&Pf(t,e,i,n,o)}}function jo(e,t){return e.createText(t)}function vf(e,t,n){e.setValue(t,n)}function Vo(e,t){return e.createComment(mf(t))}function Ln(e,t,n){return e.createElement(t,n)}function If(e,t){Ka(e,t),t[U]=null,t[ee]=null}function wf(e,t,n,r,o,i){r[U]=o,r[ee]=t,Vn(e,r,n,1,o,i)}function Ka(e,t){t[X].changeDetectionScheduler?.notify(1),Vn(e,t,t[A],2,null,null)}function Ef(e){let t=e[pt];if(!t)return vr(e[y],e);for(;t;){let n=null;if(ge(t))n=t[pt];else{let r=t[k];r&&(n=r)}if(!n){for(;t&&!t[K]&&t!==e;)ge(t)&&vr(t[y],t),t=t[P];t===null&&(t=e),ge(t)&&vr(t[y],t),n=t&&t[K]}t=n}}function Cf(e,t,n,r){let o=k+r,i=n.length;r>0&&(n[o-1][K]=t),r<i-k?(t[K]=n[o],Fs(n,k+r,t)):(n.push(t),t[K]=null),t[P]=n;let s=t[An];s!==null&&n!==s&&bf(s,t);let a=t[qe];a!==null&&a.insertView(e),Fr(t),t[h]|=128}function bf(e,t){let n=e[fn],o=t[P][P][G];t[G]!==o&&(e[h]|=Io.HasTransplantedViews),n===null?e[fn]=[t]:n.push(t)}function Ja(e,t){let n=e[fn],r=n.indexOf(t);n.splice(r,1)}function vt(e,t){if(e.length<=k)return;let n=k+t,r=e[n];if(r){let o=r[An];o!==null&&o!==e&&Ja(o,r),t>0&&(e[n-1][K]=r[K]);let i=cn(e,k+t);If(r[y],r);let s=i[qe];s!==null&&s.detachView(i[y]),r[P]=null,r[K]=null,r[h]&=-129}return r}function jn(e,t){if(!(t[h]&256)){let n=t[A];n.destroyNode&&Vn(e,t,n,3,null,null),Ef(t)}}function vr(e,t){if(t[h]&256)return;let n=E(null);try{t[h]&=-129,t[h]|=256,t[Se]&&li(t[Se]),_f(e,t),Mf(e,t),t[y].type===1&&t[A].destroy();let r=t[An];if(r!==null&&oe(t[P])){r!==t[P]&&Ja(r,t);let o=t[qe];o!==null&&o.detachView(e)}$d(t)}finally{E(n)}}function Mf(e,t){let n=e.cleanup,r=t[Ji];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[Ji]=null);let o=t[he];if(o!==null){t[he]=null;for(let i=0;i<o.length;i++){let s=o[i];s()}}}function _f(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 yt)){let i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],u=i[s+1];pe(4,a,u);try{u.call(a)}finally{pe(5,a,u)}}else{pe(4,o,i);try{i.call(o)}finally{pe(5,o,i)}}}}}function xf(e,t,n){return Tf(e,t.parent,n)}function Tf(e,t,n){let r=t;for(;r!==null&&r.type&40;)t=r,r=t.parent;if(r===null)return n[U];{let{componentOffset:o}=r;if(o>-1){let{encapsulation:i}=e.data[r.directiveStart+o];if(i===dt.None||i===dt.Emulated)return null}return te(r,n)}}function vn(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Xa(e,t,n){e.appendChild(t,n)}function as(e,t,n,r,o){r!==null?vn(e,t,n,r,o):Xa(e,t,n)}function Sf(e,t,n,r){e.removeChild(t,n,r)}function Bo(e,t){return e.parentNode(t)}function Nf(e,t){return e.nextSibling(t)}function Af(e,t,n){return Ff(e,t,n)}function Of(e,t,n){return e.type&40?te(e,n):null}var Ff=Of,us;function $o(e,t,n,r){let o=xf(e,r,t),i=t[A],s=r.parent||t[ee],a=Af(s,r,t);if(o!=null)if(Array.isArray(n))for(let u=0;u<n.length;u++)as(i,o,n[u],a,!1);else as(i,o,n,a,!1);us!==void 0&&us(i,r,t,n,o)}function on(e,t){if(t!==null){let n=t.type;if(n&3)return te(t,e);if(n&4)return Hr(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return on(e,r);{let o=e[t.index];return oe(o)?Hr(-1,o):re(o)}}else{if(n&32)return Lo(t,e)()||re(e[t.index]);{let r=eu(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=mt(e[G]);return on(o,r)}else return on(e,t.next)}}}return null}function eu(e,t){if(t!==null){let r=e[G][ee],o=t.projection;return r.projection[o]}return null}function Hr(e,t){let n=k+e+1;if(n<t.length){let r=t[n],o=r[y].firstChild;if(o!==null)return on(r,o)}return t[ae]}function Ho(e,t,n){let r=Bo(e,t);r&&Sf(e,r,t,n)}function tu(e){e.textContent=""}function Uo(e,t,n,r,o,i,s){for(;n!=null;){let a=r[n.index],u=n.type;if(s&&t===0&&(a&&Ae(re(a),r),n.flags|=2),(n.flags&32)!==32)if(u&8)Uo(e,t,n.child,r,o,i,!1),He(t,e,o,a,i);else if(u&32){let c=Lo(n,r),l;for(;l=c();)He(t,e,o,l,i);He(t,e,o,a,i)}else u&16?Rf(e,t,r,n,o,i):He(t,e,o,a,i);n=s?n.projectionNext:n.next}}function Vn(e,t,n,r,o,i){Uo(n,r,e.firstChild,t,o,i,!1)}function Rf(e,t,n,r,o,i){let s=n[G],u=s[ee].projection[r.projection];if(Array.isArray(u))for(let c=0;c<u.length;c++){let l=u[c];He(t,e,o,l,i)}else{let c=u,l=s[P];mn(r)&&(c.flags|=128),Uo(e,t,c,l,o,i,!0)}}function Pf(e,t,n,r,o){let i=n[ae],s=re(n);i!==s&&He(t,e,r,i,o);for(let a=k;a<n.length;a++){let u=n[a];Vn(u[y],u,e,t,r,i)}}function kf(e,t,n){e.setAttribute(t,"style",n)}function nu(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function ru(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&xr(e,t,r),o!==null&&nu(e,t,o),i!==null&&kf(e,t,i)}var xt={};function cw(e=1){ou(Je(),S(),Fn()+e,!1)}function ou(e,t,n,r){if(!r)if((t[h]&3)===3){let i=e.preOrderCheckHooks;i!==null&&nn(t,i,n)}else{let i=e.preOrderHooks;i!==null&&rn(t,i,0,n)}Ne(n)}function iu(e,t=D.Default){let n=S();if(n===null)return V(e,t);let r=De();return xa(r,n,W(e),t)}function lw(){let e="invalid";throw new Error(e)}function su(e,t,n,r,o,i){let s=E(null);try{let a=null;o&xe.SignalBased&&(a=t[r][si]),a!==null&&a.transformFn!==void 0&&(i=a.transformFn(i)),o&xe.HasDecoratorInputTransform&&(i=e.inputTransforms[r].call(t,i)),e.setInput!==null?e.setInput(t,a,i,n,r):Xs(t,a,r,i)}finally{E(s)}}function Lf(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)Ne(~o);else{let i=o,s=n[++r],a=n[++r];fd(s,i);let u=t[i];a(2,u)}}}finally{Ne(-1)}}function Bn(e,t,n,r,o,i,s,a,u,c,l){let d=t.blueprint.slice();return d[U]=o,d[h]=r|4|128|8|64,(c!==null||e&&e[h]&2048)&&(d[h]|=2048),ia(d),d[P]=d[wt]=e,d[q]=n,d[X]=s||e&&e[X],d[A]=a||e&&e[A],d[We]=u||e&&e[We]||null,d[ee]=i,d[On]=Vd(),d[Y]=l,d[Ys]=c,d[G]=t.type==2?e[G]:d,d}function $n(e,t,n,r,o){let i=e.data[t];if(i===null)i=jf(e,t,n,r,o),dd()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=ud();i.injectorIndex=s===null?-1:s.injectorIndex}return Mt(i,!0),i}function jf(e,t,n,r,o){let i=ua(),s=ca(),a=s?i:i&&i.parent,u=e.data[t]=Gf(e,a,n,t,r,o);return e.firstChild===null&&(e.firstChild=u),i!==null&&(s?i.child==null&&u.parent!==null&&(i.child=u):i.next===null&&(i.next=u,u.prev=i)),u}function au(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 uu(e,t,n,r,o){let i=Fn(),s=r&2;try{Ne(-1),s&&t.length>B&&ou(e,t,B,!1),pe(s?2:0,o),n(r,o)}finally{Ne(i),pe(s?3:1,o)}}function cu(e,t,n){if(Zs(t)){let r=E(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;s<i;s++){let a=e.data[s];if(a.contentQueries){let u=n[s];a.contentQueries(1,u,s)}}}finally{E(r)}}}function lu(e,t,n){aa()&&(Kf(e,t,n,te(n,t)),(n.flags&64)===64&&mu(e,t,n))}function du(e,t,n=te){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 fu(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=Go(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Go(e,t,n,r,o,i,s,a,u,c,l){let d=B+r,p=d+o,f=Vf(d,p),m=typeof c=="function"?c():c;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:u,consts:m,incompleteFirstPass:!1,ssrId:l}}function Vf(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:xt);return n}function Bf(e,t,n,r){let i=r.get(Wa,za)||n===dt.ShadowDom,s=e.selectRootElement(t,i);return $f(s),s}function $f(e){pu(e)}var pu=()=>null;function Hf(e){Ra(e)?tu(e):of(e)}function Uf(){pu=Hf}function Gf(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return bt()&&(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 cs(e,t,n,r,o){for(let i in t){if(!t.hasOwnProperty(i))continue;let s=t[i];if(s===void 0)continue;r??={};let a,u=xe.None;Array.isArray(s)?(a=s[0],u=s[1]):a=s;let c=i;if(o!==null){if(!o.hasOwnProperty(i))continue;c=o[i]}e===0?ls(r,n,c,a,u):ls(r,n,c,a)}return r}function ls(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 zf(e,t,n){let r=t.directiveStart,o=t.directiveEnd,i=e.data,s=t.attrs,a=[],u=null,c=null;for(let l=r;l<o;l++){let d=i[l],p=n?n.get(d):null,f=p?p.inputs:null,m=p?p.outputs:null;u=cs(0,d.inputs,l,u,f),c=cs(1,d.outputs,l,c,m);let b=u!==null&&s!==null&&!yo(t)?sp(u,l,s):null;a.push(b)}u!==null&&(u.hasOwnProperty("class")&&(t.flags|=8),u.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=a,t.inputs=u,t.outputs=c}function Wf(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function qf(e,t,n,r,o,i,s,a){let u=te(t,n),c=t.inputs,l;!a&&c!=null&&(l=c[r])?(zo(e,n,l,r,o),Et(t)&&Yf(n,t.index)):t.type&3?(r=Wf(r),o=s!=null?s(o,t.value||"",r):o,i.setProperty(u,r,o)):t.type&12}function Yf(e,t){let n=Ke(t,e);n[h]&16||(n[h]|=64)}function hu(e,t,n,r){if(aa()){let o=r===null?null:{"":-1},i=Xf(e,n),s,a;i===null?s=a=null:[s,a]=i,s!==null&&gu(e,t,n,s,o,a),o&&ep(n,r,o)}n.mergedAttrs=mo(n.mergedAttrs,n.attrs)}function gu(e,t,n,r,o,i){for(let c=0;c<r.length;c++)_d(Ca(n,t),e,r[c].type);np(n,e.data.length,r.length);for(let c=0;c<r.length;c++){let l=r[c];l.providersResolver&&l.providersResolver(l)}let s=!1,a=!1,u=au(e,t,r.length,null);for(let c=0;c<r.length;c++){let l=r[c];n.mergedAttrs=mo(n.mergedAttrs,l.hostAttrs),rp(e,n,t,u,l),tp(u,l,o),l.contentQueries!==null&&(n.flags|=4),(l.hostBindings!==null||l.hostAttrs!==null||l.hostVars!==0)&&(n.flags|=64);let d=l.type.prototype;!s&&(d.ngOnChanges||d.ngOnInit||d.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),s=!0),!a&&(d.ngOnChanges||d.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),a=!0),u++}zf(e,n,i)}function Qf(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;Zf(s)!=a&&s.push(a),s.push(n,r,i)}}function Zf(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function Kf(e,t,n,r){let o=n.directiveStart,i=n.directiveEnd;Et(n)&&op(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||Ca(n,t),Ae(r,t);let s=n.initialInputs;for(let a=o;a<i;a++){let u=e.data[a],c=Dt(t,e,a,n);if(Ae(c,t),s!==null&&ip(t,a-o,c,u,n,s),Ct(u)){let l=Ke(n.index,t);l[q]=Dt(t,e,a,n)}}}function mu(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=pd();try{Ne(i);for(let a=r;a<o;a++){let u=e.data[a],c=t[a];Rr(a),(u.hostBindings!==null||u.hostVars!==0||u.hostAttrs!==null)&&Jf(u,c)}}finally{Ne(-1),Rr(s)}}function Jf(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function Xf(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(El(t,s.selectors,!1))if(r||(r=[]),Ct(s))if(s.findHostDirectiveDefs!==null){let a=[];o=o||new Map,s.findHostDirectiveDefs(s,a,o),r.unshift(...a,s);let u=a.length;Ur(e,t,u)}else r.unshift(s),Ur(e,t,0);else o=o||new Map,s.findHostDirectiveDefs?.(s,r,o),r.push(s)}return r===null?null:[r,o]}function Ur(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function ep(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 tp(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Ct(t)&&(n[""]=e)}}function np(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function rp(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=ze(o.type,!0)),s=new yt(i,Ct(o),iu);e.blueprint[r]=s,n[r]=s,Qf(e,t,r,au(e,n,o.hostVars,xt),o)}function op(e,t,n){let r=te(t,e),o=fu(n),i=e[X].rendererFactory,s=16;n.signals?s=4096:n.onPush&&(s=64);let a=Hn(e,Bn(e,o,null,s,r,t,null,i.createRenderer(r,n),null,null,null));e[t.index]=a}function ip(e,t,n,r,o,i){let s=i[t];if(s!==null)for(let a=0;a<s.length;){let u=s[a++],c=s[a++],l=s[a++],d=s[a++];su(r,n,u,c,l,d)}}function sp(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 yu(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function Du(e,t){let n=e.contentQueries;if(n!==null){let r=E(null);try{for(let o=0;o<n.length;o+=2){let i=n[o],s=n[o+1];if(s!==-1){let a=e.data[s];da(i),a.contentQueries(2,t[s],s)}}}finally{E(r)}}}function Hn(e,t){return e[pt]?e[Xi][K]=t:e[pt]=t,e[Xi]=t,t}function Gr(e,t,n){da(0);let r=E(null);try{t(e,n)}finally{E(r)}}function ap(e,t){let n=e[We],r=n?n.get(Ye,null):null;r&&r.handleError(t)}function zo(e,t,n,r,o){for(let i=0;i<n.length;){let s=n[i++],a=n[i++],u=n[i++],c=t[s],l=e.data[s];su(l,c,r,a,u,o)}}function up(e,t,n){let r=Jl(t,e);vf(e[A],r,n)}function cp(e,t){let n=Ke(t,e),r=n[y];lp(r,n);let o=n[U];o!==null&&n[Y]===null&&(n[Y]=Po(o,n[We])),Wo(r,n,n[q])}function lp(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function Wo(e,t,n){Mo(t);try{let r=e.viewQuery;r!==null&&Gr(1,r,n);let o=e.template;o!==null&&uu(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[qe]?.finishViewCreation(e),e.staticContentQueries&&Du(e,t),e.staticViewQueries&&Gr(2,e.viewQuery,n);let i=e.components;i!==null&&dp(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[h]&=-5,_o()}}function dp(e,t){for(let n=0;n<t.length;n++)cp(e,t[n])}function vu(e,t,n,r){let o=E(null);try{let i=t.tView,a=e[h]&4096?4096:16,u=Bn(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),c=e[t.index];u[An]=c;let l=e[qe];return l!==null&&(u[qe]=l.createEmbeddedView(i)),Wo(i,u,n),u}finally{E(o)}}function fp(e,t){let n=k+t;if(n<e.length)return e[n]}function In(e,t){return!t||t.firstChild===null||mn(e)}function qo(e,t,n,r=!0){let o=t[y];if(Cf(o,t,e,n),r){let s=Hr(n,e),a=t[A],u=Bo(a,e[ae]);u!==null&&wf(o,e[ee],a,t,u,s)}let i=t[Y];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function pp(e,t){let n=vt(e,t);return n!==void 0&&jn(n[y],n),n}function wn(e,t,n,r,o=!1){for(;n!==null;){let i=t[n.index];i!==null&&r.push(re(i)),oe(i)&&hp(i,r);let s=n.type;if(s&8)wn(e,t,n.child,r);else if(s&32){let a=Lo(n,t),u;for(;u=a();)r.push(u)}else if(s&16){let a=eu(t,n);if(Array.isArray(a))r.push(...a);else{let u=mt(t[G]);wn(u[y],u,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function hp(e,t){for(let n=k;n<e.length;n++){let r=e[n],o=r[y].firstChild;o!==null&&wn(r[y],r,o,t)}e[ae]!==e[U]&&t.push(e[ae])}var Iu=[];function gp(e){return e[Se]??mp(e)}function mp(e){let t=Iu.pop()??Object.create(Dp);return t.lView=e,t}function yp(e){e.lView[Se]!==e&&(e.lView=null,Iu.push(e))}var Dp=et(Xe({},ai),{consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{gt(e.lView)},consumerOnSignalRead(){this.lView[Se]=this}}),wu=100;function Eu(e,t=!0,n=0){let r=e[X],o=r.rendererFactory,i=!1;i||o.begin?.();try{vp(e,n)}catch(s){throw t&&ap(e,s),s}finally{i||(o.end?.(),r.inlineEffectRunner?.flush())}}function vp(e,t){zr(e,t);let n=0;for(;Co(e);){if(n===wu)throw new _(103,!1);n++,zr(e,1)}}function Ip(e,t,n,r){let o=t[h];if((o&256)===256)return;let i=!1;!i&&t[X].inlineEffectRunner?.flush(),Mo(t);let s=null,a=null;!i&&wp(e)&&(a=gp(t),s=ui(a));try{ia(t),ld(e.bindingStartIndex),n!==null&&uu(e,t,n,2,r);let u=(o&3)===3;if(!i)if(u){let d=e.preOrderCheckHooks;d!==null&&nn(t,d,null)}else{let d=e.preOrderHooks;d!==null&&rn(t,d,0,null),hr(t,0)}if(Ep(t),Cu(t,0),e.contentQueries!==null&&Du(e,t),!i)if(u){let d=e.contentCheckHooks;d!==null&&nn(t,d)}else{let d=e.contentHooks;d!==null&&rn(t,d,1),hr(t,1)}Lf(e,t);let c=e.components;c!==null&&Mu(t,c,0);let l=e.viewQuery;if(l!==null&&Gr(2,l,r),!i)if(u){let d=e.viewCheckHooks;d!==null&&nn(t,d)}else{let d=e.viewHooks;d!==null&&rn(t,d,2),hr(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[pr]){for(let d of t[pr])d();t[pr]=null}i||(t[h]&=-73)}catch(u){throw gt(t),u}finally{a!==null&&(ci(a,s),yp(a)),_o()}}function wp(e){return e.type!==2}function Cu(e,t){for(let n=ka(e);n!==null;n=La(n))for(let r=k;r<n.length;r++){let o=n[r];bu(o,t)}}function Ep(e){for(let t=ka(e);t!==null;t=La(t)){if(!(t[h]&Io.HasTransplantedViews))continue;let n=t[fn];for(let r=0;r<n.length;r++){let o=n[r],i=o[P];ed(o)}}}function Cp(e,t,n){let r=Ke(t,e);bu(r,n)}function bu(e,t){Eo(e)&&zr(e,t)}function zr(e,t){let r=e[y],o=e[h],i=e[Se],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&Zn(i)),i&&(i.dirty=!1),e[h]&=-9217,s)Ip(r,e,r.template,e[q]);else if(o&8192){Cu(e,1);let a=r.components;a!==null&&Mu(e,a,1)}}function Mu(e,t,n){for(let r=0;r<t.length;r++)Cp(e,t[r],n)}function _u(e){for(e[X].changeDetectionScheduler?.notify();e;){e[h]|=64;let t=mt(e);if(Js(e)&&!t)return e;e=t}return null}var Qe=class{get rootNodes(){let t=this._lView,n=t[y];return wn(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[q]}set context(t){this._lView[q]=t}get destroyed(){return(this._lView[h]&256)===256}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[P];if(oe(t)){let n=t[dn],r=n?n.indexOf(this):-1;r>-1&&(vt(t,r),cn(n,r))}this._attachedToViewContainer=!1}jn(this._lView[y],this._lView)}onDestroy(t){sa(this._lView,t)}markForCheck(){_u(this._cdRefInjectingView||this._lView)}detach(){this._lView[h]&=-129}reattach(){Fr(this._lView),this._lView[h]|=128}detectChanges(){this._lView[h]|=1024,Eu(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new _(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,Ka(this._lView[y],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new _(902,!1);this._appRef=t,Fr(this._lView)}};function xu(e){let t=e[ht]??[],r=e[P][A];for(let o of t)bp(o,r);e[ht]=_e}function bp(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[yn];for(;n<o;){let i=r.nextSibling;Ho(t,r,!1),r=i,n++}}}function Tu(e){xu(e);for(let t=k;t<e.length;t++)En(e[t])}function Mp(e){let t=e[Y]?.i18nNodes;if(t){let n=e[A];for(let r of t.values())Ho(n,r,!1);e[Y].i18nNodes=void 0}}function En(e){Mp(e);let t=e[y];for(let n=B;n<t.bindingStartIndex;n++)if(oe(e[n])){let r=e[n];Tu(r)}else ge(e[n])&&En(e[n])}function _p(e){let t=e._views;for(let n of t){let r=nf(n);if(r!==null&&r[U]!==null)if(ge(r))En(r);else{let o=r[U];En(o),Tu(r)}}}var xp=new RegExp(`^(\\d+)*(${Ba}|${Va})*(.*)`);function Tp(e){let t=e.match(xp),[n,r,o,i]=t,s=r?parseInt(r,10):o,a=[];for(let[u,c,l]of i.matchAll(/(f|n)(\d*)/g)){let d=parseInt(l,10)||1;a.push(c,d)}return[s,...a]}function Sp(e){return!e.prev&&e.parent?.type===8}function Ir(e){return e.index-B}function Np(e,t){let n=e.i18nNodes;if(n){let r=n.get(t);return r&&n.delete(t),r}return null}function Un(e,t,n,r){let o=Ir(r),i=Np(e,o);if(!i){let s=e.data[Zd];if(s?.[o])i=Op(s[o],n);else if(t.firstChild===r)i=e.firstChild;else{let a=r.prev===null,u=r.prev??r.parent;if(Sp(r)){let c=Ir(r.parent);i=$r(e,c)}else{let c=te(u,n);if(a)i=c.firstChild;else{let l=Ir(u),d=$r(e,l);if(u.type===2&&d){let f=ko(e,l)+1;i=Gn(f,d)}else i=c.nextSibling}}}}return i}function Gn(e,t){let n=t;for(let r=0;r<e;r++)n=n.nextSibling;return n}function Ap(e,t){let n=e;for(let r=0;r<t.length;r+=2){let o=t[r],i=t[r+1];for(let s=0;s<i;s++)switch(o){case Br.FirstChild:n=n.firstChild;break;case Br.NextSibling:n=n.nextSibling;break}}return n}function Op(e,t){let[n,...r]=Tp(e),o;if(n===Va)o=t[G][U];else if(n===Ba)o=yf(t[G][U]);else{let i=Number(n);o=re(t[i+B])}return Ap(o,r)}function Fp(e,t){let n=[];for(let r of t)for(let o=0;o<(r[$a]??1);o++){let i={data:r,firstChild:null};r[yn]>0&&(i.firstChild=e,e=Gn(r[yn],e)),n.push(i)}return[e,n]}var Su=()=>null;function Rp(e,t){let n=e[ht];return!t||n===null||n.length===0?null:n[0].data[Qd]===t?n.shift():(xu(e),null)}function Pp(){Su=Rp}function Cn(e,t){return Su(e,t)}var Wr=class{},qr=class{},bn=class{};function kp(e){let t=Error(`No component factory found for ${H(e)}.`);return t[Lp]=e,t}var Lp="ngComponent";var Yr=class{resolveComponentFactory(t){throw kp(t)}},zn=(()=>{let t=class t{};t.NULL=new Yr;let e=t;return e})(),Qr=class{};var jp=(()=>{let t=class t{};t.\u0275prov=N({token:t,providedIn:"root",factory:()=>null});let e=t;return e})(),wr={};var ds=new Set;function Wn(e){ds.has(e)||(ds.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function fs(...e){}function Vp(){let e=typeof en.requestAnimationFrame=="function",t=en[e?"requestAnimationFrame":"setTimeout"],n=en[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){let r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);let o=n[Zone.__symbol__("OriginalDelegate")];o&&(n=o)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}var J=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 $e(!1),this.onMicrotaskEmpty=new $e(!1),this.onStable=new $e(!1),this.onError=new $e(!1),typeof Zone>"u")throw new _(908,!1);Zone.assertZonePatched();let o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=Vp().nativeRequestAnimationFrame,Hp(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,Bp,fs,fs);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)}},Bp={};function Yo(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 $p(e){e.isCheckStableRunning||e.lastRequestAnimationFrameId!==-1||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(en,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Zr(e),e.isCheckStableRunning=!0,Yo(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Zr(e))}function Hp(e){let t=()=>{$p(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{if(Up(a))return n.invokeTask(o,i,s,a);try{return ps(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&i.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),hs(e)}},onInvoke:(n,r,o,i,s,a,u)=>{try{return ps(e),n.invoke(o,i,s,a,u)}finally{e.shouldCoalesceRunChangeDetection&&t(),hs(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&(i.change=="microTask"?(e._hasPendingMicrotasks=i.microTask,Zr(e),Yo(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 Zr(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.lastRequestAnimationFrameId!==-1?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function ps(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function hs(e){e._nesting--,Yo(e)}function Up(e){return!Array.isArray(e)||e.length!==1?!1:e[0].data?.__ignore_ng_zone__===!0}var Nu=(()=>{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=N({token:t,providedIn:"root",factory:()=>new t});let e=t;return e})();function Kr(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=Hi(o,a);else if(i==2){let u=a,c=t[++s];r=Hi(r,u+": "+c+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}var Mn=class extends zn{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=Te(t);return new It(n,this.ngModule)}};function gs(e){let t=[];for(let n in e){if(!e.hasOwnProperty(n))continue;let r=e[n];r!==void 0&&t.push({propName:Array.isArray(r)?r[0]:r,templateName:n})}return t}function Gp(e){let t=e.toLowerCase();return t==="svg"?oa:t==="math"?Ql:null}var Jr=class{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=Nn(r);let o=this.injector.get(t,wr,r);return o!==wr||n===wr?o:this.parentInjector.get(t,n,r)}},It=class extends bn{get inputs(){let t=this.componentDef,n=t.inputTransforms,r=gs(t.inputs);if(n!==null)for(let o of r)n.hasOwnProperty(o.propName)&&(o.transform=n[o.propName]);return r}get outputs(){return gs(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=_l(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,o){let i=E(null);try{o=o||this.ngModule;let s=o instanceof me?o:o?.injector;s&&this.componentDef.getStandaloneInjector!==null&&(s=this.componentDef.getStandaloneInjector(s)||s);let a=s?new Jr(t,s):t,u=a.get(Qr,null);if(u===null)throw new _(407,!1);let c=a.get(jp,null),l=a.get(Nu,null),d=a.get(Wr,null),p={rendererFactory:u,sanitizer:c,inlineEffectRunner:null,afterRenderEventManager:l,changeDetectionScheduler:d},f=u.createRenderer(null,this.componentDef),m=this.componentDef.selectors[0][0]||"div",b=r?Bf(f,r,this.componentDef.encapsulation,a):Ln(f,m,Gp(m)),L=512;this.componentDef.signals?L|=4096:this.componentDef.onPush||(L|=16);let F=null;b!==null&&(F=Po(b,a,!0));let qn=Go(0,null,null,1,0,null,null,null,null,null,null),ve=Bn(null,qn,null,L,null,null,p,f,a,null,F);Mo(ve);let ti,St;try{let ue=this.componentDef,Fe,Yn=null;ue.findHostDirectiveDefs?(Fe=[],Yn=new Map,ue.findHostDirectiveDefs(ue,Fe,Yn),Fe.push(ue)):Fe=[ue];let ic=zp(ve,b),sc=Wp(ic,b,ue,Fe,ve,p,f);St=wo(qn,B),b&&Qp(f,ue,b,r),n!==void 0&&Zp(St,this.ngContentSelectors,n),ti=Yp(sc,ue,Fe,Yn,ve,[Kp]),Wo(qn,ve,null)}finally{_o()}return new Xr(this.componentType,ti,No(St,ve),ve,St)}finally{E(i)}}},Xr=class extends qr{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 Qe(o,void 0,!1),this.componentType=t}setInput(t,n){let r=this._tNode.inputs,o;if(r!==null&&(o=r[t])){if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let i=this._rootLView;zo(i[y],i,o,t,n),this.previousInputValues.set(t,n);let s=Ke(this._tNode.index,i);_u(s)}}get injector(){return new Me(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function zp(e,t){let n=e[y],r=B;return e[r]=t,$n(n,r,2,"#host",null)}function Wp(e,t,n,r,o,i,s){let a=o[y];qp(r,e,t,s);let u=null;t!==null&&(u=Po(t,o[We]));let c=i.rendererFactory.createRenderer(t,n),l=16;n.signals?l=4096:n.onPush&&(l=64);let d=Bn(o,fu(n),null,l,o[e.index],e,i,c,null,null,u);return a.firstCreatePass&&Ur(a,e,r.length-1),Hn(o,d),o[e.index]=d}function qp(e,t,n,r){for(let o of e)t.mergedAttrs=mo(t.mergedAttrs,o.hostAttrs);t.mergedAttrs!==null&&(Kr(t,t.mergedAttrs,!0),n!==null&&ru(r,n,t))}function Yp(e,t,n,r,o,i){let s=De(),a=o[y],u=te(s,o);gu(a,o,s,n,null,r);for(let l=0;l<n.length;l++){let d=s.directiveStart+l,p=Dt(o,a,d,s);Ae(p,o)}mu(a,o,s),u&&Ae(u,o);let c=Dt(o,a,s.directiveStart+s.componentOffset,s);if(e[q]=o[q]=c,i!==null)for(let l of i)l(c,t);return cu(a,s,o),c}function Qp(e,t,n,r){if(r)xr(e,n,["ng-version","17.3.11"]);else{let{attrs:o,classes:i}=xl(t.selectors[0]);o&&xr(e,n,o),i&&i.length>0&&nu(e,n,i.join(" "))}}function Zp(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 Kp(){let e=De();To(S()[y],e)}var Au=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=Jp;let e=t;return e})();function Jp(){let e=De();return eh(e,S())}var Xp=Au,Ou=class extends Xp{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return No(this._hostTNode,this._hostLView)}get injector(){return new Me(this._hostTNode,this._hostLView)}get parentInjector(){let t=So(this._hostTNode,this._hostLView);if(Ia(t)){let n=gn(t,this._hostLView),r=hn(t),o=n[y].data[r+8];return new Me(o,n)}else return new Me(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=ms(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-k}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=Cn(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,In(this._hostTNode,s)),a}createComponent(t,n,r,o,i){let s=t&&!zl(t),a;if(s)a=n;else{let m=n||{};a=m.index,r=m.injector,o=m.projectableNodes,i=m.environmentInjector||m.ngModuleRef}let u=s?t:new It(Te(t)),c=r||this.parentInjector;if(!i&&u.ngModule==null){let b=(s?c:this.parentInjector).get(me,null);b&&(i=b)}let l=Te(u.componentType??{}),d=Cn(this._lContainer,l?.id??null),p=d?.firstChild??null,f=u.create(c,o,p,i);return this.insertImpl(f.hostView,a,In(this._hostTNode,d)),f}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(Xl(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let u=o[P],c=new Ou(u,u[ee],u[P]);c.detach(c.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return qo(s,o,i,r),t.attachToViewContainerRef(),Fs(Er(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=ms(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=vt(this._lContainer,n);r&&(cn(Er(this._lContainer),n),jn(r[y],r))}detach(t){let n=this._adjustIndex(t,-1),r=vt(this._lContainer,n);return r&&cn(Er(this._lContainer),n)!=null?new Qe(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function ms(e){return e[dn]}function Er(e){return e[dn]||(e[dn]=[])}function eh(e,t){let n,r=t[e.index];return oe(r)?n=r:(n=yu(r,t,null,e),t[e.index]=n,Hn(t,n)),Fu(n,t,e,r),new Ou(n,e,t)}function th(e,t){let n=e[A],r=n.createComment(""),o=te(t,e),i=Bo(n,o);return vn(n,i,r,Nf(n,o),!1),r}var Fu=Ru,Qo=()=>!1;function nh(e,t,n){return Qo(e,t,n)}function Ru(e,t,n,r){if(e[ae])return;let o;n.type&8?o=re(r):o=th(t,n),e[ae]=o}function rh(e,t,n){if(e[ae]&&e[ht])return!0;let r=n[Y],o=t.index-B;if(!r||Ld(t)||kn(r,o))return!1;let s=$r(r,o),a=r.data[Ro]?.[o],[u,c]=Fp(s,a);return e[ae]=u,e[ht]=c,!0}function oh(e,t,n,r){Qo(e,n,t)||Ru(e,t,n,r)}function ih(){Fu=oh,Qo=rh}var ye=class{},eo=class{};var to=class extends ye{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Mn(this);let o=Bs(t);this._bootstrapComponents=Qa(o.bootstrap),this._r3Injector=Na(t,n,[{provide:ye,useValue:this},{provide:zn,useValue:this.componentFactoryResolver},...r],H(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)}},no=class extends eo{constructor(t){super(),this.moduleType=t}create(t){return new to(this.moduleType,t,[])}};var _n=class extends ye{constructor(t){super(),this.componentFactoryResolver=new Mn(this),this.instance=null;let n=new ft([...t.providers,{provide:ye,useValue:this},{provide:zn,useValue:this.componentFactoryResolver}],t.parent||vo(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function sh(e,t,n=null){return new _n({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var Pu=(()=>{let t=class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new rt(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let r=this.taskId++;return this.pendingTasks.add(r),r}remove(r){this.pendingTasks.delete(r),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function ku(e,t,n){return e[t]=n}function Lu(e,t){return e[t]}function Ze(e,t,n){let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function ys(e,t,n,r){let o=Ze(e,t,n);return Ze(e,t+1,r)||o}function ah(e,t,n,r,o,i){let s=ys(e,t,n,r);return ys(e,t+2,o,i)||s}function Tt(e){return(e.flags&32)===32}function uh(e,t,n,r,o,i,s,a,u){let c=t.consts,l=$n(t,e,4,s||null,pn(c,a));hu(t,n,l,pn(c,u)),To(t,l);let d=l.tView=Go(2,l,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,c,null);return t.queries!==null&&(t.queries.template(t,l),d.queries=t.queries.embeddedTView(l)),l}function ro(e,t,n,r,o,i,s,a){let u=S(),c=Je(),l=e+B,d=c.firstCreatePass?uh(l,c,u,t,n,r,o,i,s):c.data[l];Mt(d,!1);let p=ju(c,u,d,e);xo()&&$o(c,u,p,d),Ae(p,u);let f=yu(p,u,p,d);return u[l]=f,Hn(u,f),nh(f,d,u),Ks(d)&&lu(c,u,d),s!=null&&du(u,d,a),ro}var ju=Vu;function Vu(e,t,n,r){return ie(!0),t[A].createComment("")}function ch(e,t,n,r){let o=t[Y],i=!o||bt()||Tt(n)||kn(o,r);if(ie(i),i)return Vu(e,t,n,r);let s=o.data[Yd]?.[r]??null;s!==null&&n.tView!==null&&n.tView.ssrId===null&&(n.tView.ssrId=s);let a=Un(o,e,t,n);Pn(o,r,a);let u=ko(o,r);return Gn(u,a)}function lh(){ju=ch}function dh(e,t,n,r){return Ze(e,bo(),n)?t+po(n)+r:xt}function fh(e,t,n){let r=S(),o=bo();if(Ze(r,o,t)){let i=Je(),s=gd();qf(i,s,r,e,t,r[A],n,!1)}return fh}function Ds(e,t,n,r,o){let i=t.inputs,s=o?"class":"style";zo(e,n,i[s],s,r)}var oo=class{destroy(t){}updateValue(t,n){}swap(t,n){let r=Math.min(t,n),o=Math.max(t,n),i=this.detach(o);if(o-r>1){let s=this.detach(r);this.attach(r,i),this.attach(o,s)}else this.attach(r,i)}move(t,n){this.attach(n,this.detach(t))}};function Cr(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function ph(e,t,n){let r,o,i=0,s=e.length-1;if(Array.isArray(t)){let a=t.length-1;for(;i<=s&&i<=a;){let u=e.at(i),c=t[i],l=Cr(i,u,i,c,n);if(l!==0){l<0&&e.updateValue(i,c),i++;continue}let d=e.at(s),p=t[a],f=Cr(s,d,a,p,n);if(f!==0){f<0&&e.updateValue(s,p),s--,a--;continue}let m=n(i,u),b=n(s,d),L=n(i,c);if(Object.is(L,b)){let F=n(a,p);Object.is(F,m)?(e.swap(i,s),e.updateValue(s,p),a--,s--):e.move(s,i),e.updateValue(i,c),i++;continue}if(r??=new xn,o??=Is(e,i,s,n),io(e,r,i,L))e.updateValue(i,c),i++,s++;else if(o.has(L))r.set(m,e.detach(i)),s--;else{let F=e.create(i,t[i]);e.attach(i,F),i++,s++}}for(;i<=a;)vs(e,r,n,i,t[i]),i++}else if(t!=null){let a=t[Symbol.iterator](),u=a.next();for(;!u.done&&i<=s;){let c=e.at(i),l=u.value,d=Cr(i,c,i,l,n);if(d!==0)d<0&&e.updateValue(i,l),i++,u=a.next();else{r??=new xn,o??=Is(e,i,s,n);let p=n(i,l);if(io(e,r,i,p))e.updateValue(i,l),i++,s++,u=a.next();else if(!o.has(p))e.attach(i,e.create(i,l)),i++,s++,u=a.next();else{let f=n(i,c);r.set(f,e.detach(i)),s--}}}for(;!u.done;)vs(e,r,n,e.length,u.value),u=a.next()}for(;i<=s;)e.destroy(e.detach(s--));r?.forEach(a=>{e.destroy(a)})}function io(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function vs(e,t,n,r,o){if(io(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function Is(e,t,n,r){let o=new Set;for(let i=t;i<=n;i++)o.add(r(i,e.at(i)));return o}var xn=class{constructor(){this.kvMap=new Map,this._vMap=void 0}has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let n=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),t(r,n)}}};var so=class{constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-k}};var ao=class{constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function fw(e,t,n,r,o,i,s,a,u,c,l,d,p){Wn("NgControlFlow");let f=u!==void 0,m=S(),b=a?s.bind(m[G][q]):s,L=new ao(f,b);m[B+e]=L,ro(e+1,t,n,r,o,i),f&&ro(e+2,u,c,l,d,p)}var uo=class extends oo{constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-k}at(t){return this.getLView(t)[q].$implicit}attach(t,n){let r=n[Y];this.needsIndexUpdate||=t!==this.length,qo(this.lContainer,n,t,In(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,hh(this.lContainer,t)}create(t,n){let r=Cn(this.lContainer,this.templateTNode.tView.ssrId);return vu(this.hostLView,this.templateTNode,new so(this.lContainer,n,t),{dehydratedView:r})}destroy(t){jn(t[y],t)}updateValue(t,n){this.getLView(t)[q].$implicit=n}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[q].$index=t}getLView(t){return gh(this.lContainer,t)}};function pw(e){let t=E(null),n=Fn();try{let r=S(),o=r[y],i=r[n];if(i.liveCollection===void 0){let a=n+1,u=ws(r,a),c=Es(o,a);i.liveCollection=new uo(u,r,c)}else i.liveCollection.reset();let s=i.liveCollection;if(ph(s,e,i.trackByFn),s.updateIndexes(),i.hasEmptyBlock){let a=bo(),u=s.length===0;if(Ze(r,a,u)){let c=n+2,l=ws(r,c);if(u){let d=Es(o,c),p=Cn(l,d.tView.ssrId),f=vu(r,d,void 0,{dehydratedView:p});qo(l,f,0,In(d,p))}else pp(l,0)}}}finally{E(t)}}function ws(e,t){return e[t]}function hh(e,t){return vt(e,t)}function gh(e,t){return fp(e,t)}function Es(e,t){return wo(e,t)}function mh(e,t,n,r,o,i){let s=t.consts,a=pn(s,o),u=$n(t,e,2,r,a);return hu(t,n,u,pn(s,i)),u.attrs!==null&&Kr(u,u.attrs,!1),u.mergedAttrs!==null&&Kr(u,u.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,u),u}function Bu(e,t,n,r){let o=S(),i=Je(),s=B+e,a=o[A],u=i.firstCreatePass?mh(s,i,o,t,n,r):i.data[s],c=Hu(i,o,u,a,t,e);o[s]=c;let l=Ks(u);return Mt(u,!0),ru(a,c,u),!Tt(u)&&xo()&&$o(i,o,c,u),nd()===0&&Ae(c,o),rd(),l&&(lu(i,o,u),cu(i,u,o)),r!==null&&du(o,u),Bu}function $u(){let e=De();ca()?cd():(e=e.parent,Mt(e,!1));let t=e;id(t)&&ad(),od();let n=Je();return n.firstCreatePass&&(To(n,e),Zs(e)&&n.queries.elementEnd(e)),t.classesWithoutHost!=null&&Id(t)&&Ds(n,t,S(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&wd(t)&&Ds(n,t,S(),t.stylesWithoutHost,!1),$u}function yh(e,t,n,r){return Bu(e,t,n,r),$u(),yh}var Hu=(e,t,n,r,o,i)=>(ie(!0),Ln(r,o,ya()));function Dh(e,t,n,r,o,i){let s=t[Y],a=!s||bt()||Tt(n)||kn(s,i);if(ie(a),a)return Ln(r,o,ya());let u=Un(s,e,t,n);return Ga(s,i)&&Pn(s,i,u.nextSibling),s&&(Fa(n)||Ra(u))&&Et(n)&&(sd(n),tu(u)),u}function vh(){Hu=Dh}var Ih=(e,t,n,r)=>(ie(!0),Vo(t[A],""));function wh(e,t,n,r){let o,i=t[Y],s=!i||bt()||Tt(n);if(ie(s),s)return Vo(t[A],"");let a=Un(i,e,t,n),u=sf(i,r);return Pn(i,r,a),o=Gn(u,a),o}function Eh(){Ih=wh}var Tn="en-US";var Ch=Tn;function bh(e){typeof e=="string"&&(Ch=e.toLowerCase().replace(/_/g,"-"))}function Uu(e,t,n){let r=e[A];switch(n){case Node.COMMENT_NODE:return Vo(r,t);case Node.TEXT_NODE:return jo(r,t);case Node.ELEMENT_NODE:return Ln(r,t,null)}}var Mh=(e,t,n,r)=>(ie(!0),Uu(e,n,r));function _h(e,t,n,r){return ie(!0),Uu(e,n,r)}function xh(){Mh=_h}function hw(e,t=""){let n=S(),r=Je(),o=e+B,i=r.firstCreatePass?$n(r,o,1,t,null):r.data[o],s=Gu(r,n,i,t,e);n[o]=s,xo()&&$o(r,n,s,i),Mt(i,!1)}var Gu=(e,t,n,r,o)=>(ie(!0),jo(t[A],r));function Th(e,t,n,r,o){let i=t[Y],s=!i||bt()||Tt(n)||kn(i,o);return ie(s),s?jo(t[A],r):Un(i,e,t,n)}function Sh(){Gu=Th}function Nh(e){return zu("",e,""),Nh}function zu(e,t,n){let r=S(),o=dh(r,e,t,n);return o!==xt&&up(r,Fn(),o),zu}var Ah=(()=>{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=Gs(!1,r.type),i=o.length>0?sh([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=N({token:t,providedIn:"environment",factory:()=>new t(V(me))});let e=t;return e})();function gw(e){Wn("NgStandalone"),e.getStandaloneInjector=t=>t.get(Ah).getOrCreateStandaloneInjector(e)}function mw(e,t,n){let r=la()+e,o=S();return o[r]===xt?ku(o,r,n?t.call(n):t()):Lu(o,r)}function yw(e,t,n,r,o,i,s,a){let u=la()+e,c=S(),l=ah(c,u,n,r,o,i);return Ze(c,u+4,s)||l?ku(c,u+5,a?t.call(a,n,r,o,i,s):t(n,r,o,i,s)):Lu(c,u+5)}var Dw=(()=>{let t=class t{log(r){console.log(r)}warn(r){console.warn(r)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"platform"});let e=t;return e})();var Oh=new T("");function Zo(e){return!!e&&typeof e.then=="function"}function Wu(e){return!!e&&typeof e.subscribe=="function"}var Fh=new T(""),qu=(()=>{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=C(Fh,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let r=[];for(let i of this.appInits){let s=i();if(Zo(s))r.push(s);else if(Wu(s)){let a=new Promise((u,c)=>{s.subscribe({complete:u,error:c})});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=N({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),Yu=new T("");function Rh(){di(()=>{throw new _(600,!1)})}function Ph(e){return e.isBoundToModule}function kh(e,t,n){try{let r=n();return Zo(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var Ko=(()=>{let t=class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=C(Aa),this.afterRenderEffectManager=C(Nu),this.externalTestViews=new Set,this.beforeRender=new ce,this.afterTick=new ce,this.componentTypes=[],this.components=[],this.isStable=C(Pu).hasPendingTasks.pipe(se(r=>!r)),this._injector=C(me)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(r,o){let i=r instanceof bn;if(!this._injector.get(qu).done){let f=!i&&Al(r),m=!1;throw new _(405,m)}let a;i?a=r:a=this._injector.get(zn).resolveComponentFactory(r),this.componentTypes.push(a.componentType);let u=Ph(a)?void 0:this._injector.get(ye),c=o||a.selector,l=a.create(_t.NULL,[],c,u),d=l.location.nativeElement,p=l.injector.get(Oh,null);return p?.registerApplication(d),l.onDestroy(()=>{this.detachView(l.hostView),br(this.components,l),p?.unregisterApplication(d)}),this._loadComponent(l),l}tick(){this._tick(!0)}_tick(r){if(this._runningTick)throw new _(101,!1);let o=E(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(r)}catch(i){this.internalErrorHandler(i)}finally{this.afterTick.next(),this._runningTick=!1,E(o)}}detectChangesInAttachedViews(r){let o=0,i=this.afterRenderEffectManager;for(;;){if(o===wu)throw new _(103,!1);if(r){let s=o===0;this.beforeRender.next(s);for(let{_lView:a,notifyErrorHandler:u}of this._views)jh(a,s,u)}if(o++,i.executeInternalCallbacks(),![...this.externalTestViews.keys(),...this._views].some(({_lView:s})=>co(s))&&(i.execute(),![...this.externalTestViews.keys(),...this._views].some(({_lView:s})=>co(s))))break}}attachView(r){let o=r;this._views.push(o),o.attachToAppRef(this)}detachView(r){let o=r;br(this._views,o),o.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView),this.tick(),this.components.push(r);let o=this._injector.get(Yu,[]);[...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),()=>br(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=N({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function br(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}var Xt;function Lh(e){Xt??=new WeakMap;let t=Xt.get(e);if(t)return t;let n=e.isStable.pipe(lr(r=>r)).toPromise().then(()=>{});return Xt.set(e,n),e.onDestroy(()=>Xt?.delete(e)),n}function jh(e,t,n){!t&&!co(e)||Vh(e,n,t)}function co(e){return Co(e)}function Vh(e,t,n){let r;n?(r=0,e[h]|=1024):e[h]&64?r=0:r=1,Eu(e,t,r)}var lo=class{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},vw=(()=>{let t=class t{compileModuleSync(r){return new no(r)}compileModuleAsync(r){return Promise.resolve(this.compileModuleSync(r))}compileModuleAndAllComponentsSync(r){let o=this.compileModuleSync(r),i=Bs(r),s=Qa(i.declarations).reduce((a,u)=>{let c=Te(u);return c&&a.push(new It(c)),a},[]);return new lo(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=N({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var Bh=(()=>{let t=class t{constructor(){this.zone=C(J),this.applicationRef=C(Ko)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function $h(e){return[{provide:J,useFactory:e},{provide:lt,multi:!0,useFactory:()=>{let t=C(Bh,{optional:!0});return()=>t.initialize()}},{provide:lt,multi:!0,useFactory:()=>{let t=C(zh);return()=>{t.initialize()}}},{provide:Aa,useFactory:Hh}]}function Hh(){let e=C(J),t=C(Ye);return n=>e.runOutsideAngular(()=>t.handleError(n))}function Uh(e){let t=$h(()=>new J(Gh(e)));return Us([[],t])}function Gh(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var zh=(()=>{let t=class t{constructor(){this.subscription=new R,this.initialized=!1,this.zone=C(J),this.pendingTasks=C(Pu)}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(()=>{J.assertNotInAngularZone(),queueMicrotask(()=>{r!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(r),r=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{J.assertInAngularZone(),r??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Wh(){return typeof $localize<"u"&&$localize.locale||Tn}var Jo=new T("",{providedIn:"root",factory:()=>C(Jo,D.Optional|D.SkipSelf)||Wh()});var Qu=new T("");var sn=null;function qh(e=[],t){return _t.create({name:t,providers:[{provide:qs,useValue:"platform"},{provide:Qu,useValue:new Set([()=>sn=null])},...e]})}function Yh(e=[]){if(sn)return sn;let t=qh(e);return sn=t,Rh(),Qh(t),t}function Qh(e){e.get(Gd,null)?.forEach(n=>n())}var Zu=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=Zh;let e=t;return e})();function Zh(e){return Kh(De(),S(),(e&16)===16)}function Kh(e,t,n){if(Et(e)&&!n){let r=Ke(e.index,t);return new Qe(r,r)}else if(e.type&47){let r=t[G];return new Qe(r,t)}return null}function Iw(e){try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=Yh(r),i=[Uh(),...n||[]],a=new _n({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1}).injector,u=a.get(J);return u.run(()=>{a.resolveInjectorInitializers();let c=a.get(Ye,null),l;u.runOutsideAngular(()=>{l=u.onError.subscribe({next:f=>{c.handleError(f)}})});let d=()=>a.destroy(),p=o.get(Qu);return p.add(d),a.onDestroy(()=>{l.unsubscribe(),p.delete(d)}),kh(c,u,()=>{let f=a.get(qu);return f.runInitializers(),f.donePromise.then(()=>{let m=a.get(Jo,Tn);bh(m||Tn);let b=a.get(Ko);return t!==void 0&&b.bootstrap(t),b})})})}catch(t){return Promise.reject(t)}}var Cs=!1,Jh=!1;function Xh(){Cs||(Cs=!0,tf(),vh(),Sh(),Eh(),lh(),ih(),Pp(),Uf(),xh())}function eg(e,t){return Lh(e)}function ww(){return Us([{provide:Kt,useFactory:()=>{let e=!0;return Jt()&&(e=!!C(Fo,{optional:!0})?.get(Ha,null)),e&&Wn("NgHydration"),e}},{provide:lt,useValue:()=>{Jh=!!C(af,{optional:!0}),Jt()&&C(Kt)&&(tg(),Xh())},multi:!0},{provide:Wa,useFactory:()=>Jt()&&C(Kt)},{provide:Yu,useFactory:()=>{if(Jt()&&C(Kt)){let e=C(Ko),t=C(_t);return()=>{eg(e,t).then(()=>{_p(e)})}}return()=>{}},multi:!0}])}function tg(){let e=Rn(),t;for(let n of e.body.childNodes)if(n.nodeType===Node.COMMENT_NODE&&n.textContent?.trim()===Xd){t=n;break}if(!t)throw new _(-507,!1)}var tc=null;function Xo(){return tc}function tE(e){tc??=e}var Ku=class{};var nc=new T(""),rc=(()=>{let t=class t{historyGo(r){throw new Error("")}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=N({token:t,factory:()=>C(og),providedIn:"platform"});let e=t;return e})();var og=(()=>{let t=class t extends rc{constructor(){super(),this._doc=C(nc),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Xo().getBaseHref(this._doc)}onPopState(r){let o=Xo().getGlobalEventTarget(this._doc,"window");return o.addEventListener("popstate",r,!1),()=>o.removeEventListener("popstate",r)}onHashChange(r){let o=Xo().getGlobalEventTarget(this._doc,"window");return o.addEventListener("hashchange",r,!1),()=>o.removeEventListener("hashchange",r)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(r){this._location.pathname=r}pushState(r,o,i){this._history.pushState(r,o,i)}replaceState(r,o,i){this._history.replaceState(r,o,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(r=0){this._history.go(r)}getState(){return this._history.state}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=N({token:t,factory:()=>new t,providedIn:"platform"});let e=t;return e})();function oc(e,t){if(e.length==0)return t;if(t.length==0)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,n==2?e+t.substring(1):n==1?e+t:e+"/"+t}function Ju(e){let t=e.match(/#|\?|$/),n=t&&t.index||e.length,r=n-(e[n-1]==="/"?1:0);return e.slice(0,r)+e.slice(n)}function Oe(e){return e&&e[0]!=="?"?"?"+e:e}var ei=(()=>{let t=class t{historyGo(r){throw new Error("")}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=N({token:t,factory:()=>C(sg),providedIn:"root"});let e=t;return e})(),ig=new T(""),sg=(()=>{let t=class t extends ei{constructor(r,o){super(),this._platformLocation=r,this._removeListenerFns=[],this._baseHref=o??this._platformLocation.getBaseHrefFromDOM()??C(nc).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(r){this._removeListenerFns.push(this._platformLocation.onPopState(r),this._platformLocation.onHashChange(r))}getBaseHref(){return this._baseHref}prepareExternalUrl(r){return oc(this._baseHref,r)}path(r=!1){let o=this._platformLocation.pathname+Oe(this._platformLocation.search),i=this._platformLocation.hash;return i&&r?`${o}${i}`:o}pushState(r,o,i,s){let a=this.prepareExternalUrl(i+Oe(s));this._platformLocation.pushState(r,o,a)}replaceState(r,o,i,s){let a=this.prepareExternalUrl(i+Oe(s));this._platformLocation.replaceState(r,o,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(r=0){this._platformLocation.historyGo?.(r)}};t.\u0275fac=function(o){return new(o||t)(V(rc),V(ig,8))},t.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var ag=(()=>{let t=class t{constructor(r){this._subject=new $e,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=r;let o=this._locationStrategy.getBaseHref();this._basePath=lg(Ju(Xu(o))),this._locationStrategy.onPopState(i=>{this._subject.emit({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(r=!1){return this.normalize(this._locationStrategy.path(r))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(r,o=""){return this.path()==this.normalize(r+Oe(o))}normalize(r){return t.stripTrailingSlash(cg(this._basePath,Xu(r)))}prepareExternalUrl(r){return r&&r[0]!=="/"&&(r="/"+r),this._locationStrategy.prepareExternalUrl(r)}go(r,o="",i=null){this._locationStrategy.pushState(i,"",r,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(r+Oe(o)),i)}replaceState(r,o="",i=null){this._locationStrategy.replaceState(i,"",r,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(r+Oe(o)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(r=0){this._locationStrategy.historyGo?.(r)}onUrlChange(r){return this._urlChangeListeners.push(r),this._urlChangeSubscription??=this.subscribe(o=>{this._notifyUrlChangeListeners(o.url,o.state)}),()=>{let o=this._urlChangeListeners.indexOf(r);this._urlChangeListeners.splice(o,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(r="",o){this._urlChangeListeners.forEach(i=>i(r,o))}subscribe(r,o,i){return this._subject.subscribe({next:r,error:o,complete:i})}};t.normalizeQueryParams=Oe,t.joinWithSlash=oc,t.stripTrailingSlash=Ju,t.\u0275fac=function(o){return new(o||t)(V(ei))},t.\u0275prov=N({token:t,factory:()=>ug(),providedIn:"root"});let e=t;return e})();function ug(){return new ag(V(ei))}function cg(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function Xu(e){return e.replace(/\/index.html$/,"")}function lg(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}function nE(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let r=n.indexOf("="),[o,i]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}var rE="browser",dg="server";function oE(e){return e===dg}var ec=class{};export{Xe as a,et as b,fg as c,R as d,yc as e,ar as f,ur as g,ce as h,rt as i,ot as j,de as k,xc as l,Tc as m,Sc as n,Ce as o,se as p,Lc as q,be as r,Qt as s,Vc as t,it as u,Bi as v,Bc as w,st as x,cr as y,$c as z,Uc as A,lr as B,dr as C,Gc as D,zc as E,Wc as F,qc as G,Yc as H,Qc as I,_ as J,N as K,XI as L,T as M,D as N,V as O,C as P,dt as Q,ew as R,Nl as S,Us as T,qs as U,me as V,tw as W,ea as X,nw as Y,rw as Z,ow as _,_t as $,Ye as aa,$e as ba,iw as ca,Hd as da,Gd as ea,Oo as fa,sw as ga,aw as ha,Fo as ia,uw as ja,Za as ka,cw as la,lw as ma,Wr as na,Qr as oa,Wn as pa,J as qa,Au as ra,eo as sa,sh as ta,Pu as ua,fh as va,fw as wa,pw as xa,Bu as ya,$u as za,yh as Aa,hw as Ba,Nh as Ca,zu as Da,gw as Ea,mw as Fa,yw as Ga,Dw as Ha,Zo as Ia,Yu as Ja,Ko as Ka,Lh as La,vw as Ma,Zu as Na,Iw as Oa,ww as Pa,Xo as Qa,tE as Ra,Ku as Sa,nc as Ta,ag as Ua,nE as Va,rE as Wa,oE as Xa,ec as Ya};
|