@duplicati/ngclient 0.0.69 → 0.0.71
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{chunk-ME7OGY7M.js → chunk-23B5YPI7.js} +1 -1
- package/{chunk-IZGVBNDM.js → chunk-36BW3HQ7.js} +1 -1
- package/{chunk-GZNEVVHC.js → chunk-36F7QFET.js} +1 -1
- package/chunk-3HBDM5MB.js +1 -0
- package/chunk-3JP7VYCB.js +1 -0
- package/{chunk-U2NGUTAO.js → chunk-3PWBJYXG.js} +1 -1
- package/{chunk-3CXGKNYN.js → chunk-4TAMR7KC.js} +1 -1
- package/{chunk-KMQU3ZBK.js → chunk-5LJPNDXN.js} +1 -1
- package/{chunk-H4ZYUOCD.js → chunk-6L2NUWJ4.js} +1 -1
- package/chunk-6PVIT55H.js +1 -0
- package/{chunk-M3TDZOXH.js → chunk-7DMP23AI.js} +1 -1
- package/{chunk-LREVYYY4.js → chunk-7DREMJ5Y.js} +1 -1
- package/chunk-AMAV7ILZ.js +1 -0
- package/{chunk-BSZZLSIX.js → chunk-AUVXHFRE.js} +1 -1
- package/{chunk-DOUFB6IZ.js → chunk-BTVE465Y.js} +1 -1
- package/chunk-BXR7Y6IT.js +1 -0
- package/{chunk-M27H5SJL.js → chunk-CGRSLVMY.js} +1 -1
- package/{chunk-CO7Y3BIG.js → chunk-CRJYNI4C.js} +1 -1
- package/chunk-CVXQ5N2E.js +1 -0
- package/{chunk-GRR3LTVK.js → chunk-D4IXAB67.js} +1 -1
- package/{chunk-ZTSITRHY.js → chunk-D64J3G73.js} +1 -1
- package/{chunk-GE3T3AG3.js → chunk-DGDWETHE.js} +1 -1
- package/chunk-DWP7VODJ.js +1 -0
- package/{chunk-CM2VLNFJ.js → chunk-EQ7SGBND.js} +1 -1
- package/{chunk-PIVMNQL6.js → chunk-EQGWBFEW.js} +1 -1
- package/{chunk-KBC4N47O.js → chunk-ETSKNH5A.js} +1 -1
- package/{chunk-CLWDOASW.js → chunk-FOOQLIND.js} +1 -1
- package/chunk-G6DEVOXB.js +1 -0
- package/{chunk-NJSJNACP.js → chunk-GKTIIZ72.js} +1 -1
- package/{chunk-O2MZ5CAQ.js → chunk-GOCS43XM.js} +1 -1
- package/{chunk-B6UDSTOM.js → chunk-HUO7ZRYL.js} +1 -1
- package/{chunk-7YT4Y7C3.js → chunk-IAP5TJ3R.js} +1 -1
- package/{chunk-IHYJHBCC.js → chunk-JBUDJVPQ.js} +1 -1
- package/{chunk-VRLSXAI3.js → chunk-JYGPM2H4.js} +1 -1
- package/chunk-KULPV2R6.js +1 -0
- package/{chunk-KYCK75MH.js → chunk-L6P5W22A.js} +1 -1
- package/{chunk-2HC23GJF.js → chunk-LD6OVCQQ.js} +1 -1
- package/chunk-LH5KGH4I.js +1 -0
- package/{chunk-OIRMDOOF.js → chunk-LLZCURV6.js} +1 -1
- package/{chunk-PD4M6YP7.js → chunk-MSZ6S4MV.js} +1 -1
- package/chunk-PCX4N4NW.js +1 -0
- package/{chunk-OROSSCXB.js → chunk-PHVHG2MW.js} +1 -1
- package/{chunk-FC7IHW5V.js → chunk-PV7MTP6N.js} +1 -1
- package/{chunk-MSK2MH2K.js → chunk-R2RIU25S.js} +1 -1
- package/{chunk-T5I4AY74.js → chunk-RACRCDGZ.js} +1 -1
- package/{chunk-ICAVTIBO.js → chunk-RIBFT4EC.js} +1 -1
- package/{chunk-L5E5U6M6.js → chunk-RJNJ6YSP.js} +1 -1
- package/{chunk-TSQCXGD7.js → chunk-SRYAKXQ4.js} +1 -1
- package/{chunk-VX3YYMRB.js → chunk-T74PBQWH.js} +1 -1
- package/{chunk-3ENWJFPQ.js → chunk-VO6WZ2FC.js} +1 -1
- package/{chunk-N3GBABZB.js → chunk-W2IUXLYE.js} +1 -1
- package/chunk-W5XUYWNW.js +1 -0
- package/chunk-WRCHPMPK.js +1 -0
- package/{chunk-F7726SNN.js → chunk-WZU5GEIZ.js} +1 -1
- package/{chunk-N7TLL5YI.js → chunk-XPKNYX4D.js} +1 -1
- package/{chunk-BUARZS4A.js → chunk-XVYQD36R.js} +1 -1
- package/{chunk-HARDXXQK.js → chunk-YVJTTACQ.js} +1 -1
- package/{chunk-3LFQ2CMA.js → chunk-Z4N6RKX7.js} +1 -1
- package/{chunk-O53NVQ2A.js → chunk-ZLU2WKOF.js} +1 -1
- package/{chunk-J76HBC5J.js → chunk-ZTEWFJB7.js} +1 -1
- package/{chunk-INMFVRL6.js → chunk-ZU4O6G7N.js} +1 -1
- package/chunk-ZUSCSJMD.js +1 -0
- package/chunk-ZYQXWAMY.js +7 -0
- package/index.html +1 -1
- package/{main-ZA53CUZQ.js → main-YB2PGXE3.js} +1 -1
- package/package.json +1 -1
- package/chunk-34MR2IQN.js +0 -1
- package/chunk-5NMYYKKU.js +0 -1
- package/chunk-76QDT3DT.js +0 -1
- package/chunk-B6F7BTCY.js +0 -1
- package/chunk-BA7KFJXF.js +0 -1
- package/chunk-G2NEYTH2.js +0 -1
- package/chunk-HVNIDQ3I.js +0 -1
- package/chunk-K6NJFA6G.js +0 -1
- package/chunk-LULH26OZ.js +0 -1
- package/chunk-OTS7WJON.js +0 -1
- package/chunk-PU2Q3GL6.js +0 -1
- package/chunk-VGQ6X3AL.js +0 -7
- package/chunk-VTEOBYNY.js +0 -1
- package/chunk-XA2AVFI2.js +0 -1
- package/chunk-YJYS7OZI.js +0 -1
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import{a as le,b as ue}from"./chunk-C6Q5SG76.js";function W(e){return e}function Np(...e){return si(e)}function si(e){return e.length===0?W:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}function b(e){return typeof e=="function"}function He(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 er=He(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:
|
|
2
|
+
${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
|
|
3
|
+
`)}`:"",this.name="UnsubscriptionError",this.errors=n});function tt(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var F=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(b(r))try{r()}catch(i){t=i instanceof er?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{lc(i)}catch(s){t=t??[],s instanceof er?t=[...t,...s.errors]:t.push(s)}}if(t)throw new er(t)}}add(t){var n;if(t&&t!==this)if(this.closed)lc(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)}};F.EMPTY=(()=>{let e=new F;return e.closed=!0,e})();var ai=F.EMPTY;function tr(e){return e instanceof F||e&&"closed"in e&&b(e.remove)&&b(e.add)&&b(e.unsubscribe)}function lc(e){b(e)?e():e.unsubscribe()}var ye={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Ot={setTimeout(e,t,...n){let{delegate:r}=Ot;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=Ot;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function nr(e){Ot.setTimeout(()=>{let{onUnhandledError:t}=ye;if(t)t(e);else throw e})}function cn(){}var uc=ci("C",void 0,void 0);function dc(e){return ci("E",void 0,e)}function fc(e){return ci("N",e,void 0)}function ci(e,t,n){return{kind:e,value:t,error:n}}var nt=null;function At(e){if(ye.useDeprecatedSynchronousErrorHandling){let t=!nt;if(t&&(nt={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=nt;if(nt=null,n)throw r}}else e()}function pc(e){ye.useDeprecatedSynchronousErrorHandling&&nt&&(nt.errorThrown=!0,nt.error=e)}var rt=class extends F{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,tr(t)&&t.add(this)):this.destination=Ap}static create(t,n,r){return new Se(t,n,r)}next(t){this.isStopped?ui(fc(t),this):this._next(t)}error(t){this.isStopped?ui(dc(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?ui(uc,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()}}},Sp=Function.prototype.bind;function li(e,t){return Sp.call(e,t)}var di=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){rr(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){rr(r)}else rr(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){rr(n)}}},Se=class extends rt{constructor(t,n,r){super();let o;if(b(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&ye.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&li(t.next,i),error:t.error&&li(t.error,i),complete:t.complete&&li(t.complete,i)}):o=t}this.destination=new di(o)}};function rr(e){ye.useDeprecatedSynchronousErrorHandling?pc(e):nr(e)}function Op(e){throw e}function ui(e,t){let{onStoppedNotification:n}=ye;n&&Ot.setTimeout(()=>n(e,t))}var Ap={closed:!0,next:cn,error:Op,complete:cn};var Rt=typeof Symbol=="function"&&Symbol.observable||"@@observable";var S=(()=>{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=kp(n)?n:new Se(n,r,o);return At(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return r=hc(r),new r((o,i)=>{let s=new Se({next:a=>{try{n(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[Rt](){return this}pipe(...n){return si(n)(this)}toPromise(n){return n=hc(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 hc(e){var t;return(t=e??ye.Promise)!==null&&t!==void 0?t:Promise}function Rp(e){return e&&b(e.next)&&b(e.error)&&b(e.complete)}function kp(e){return e&&e instanceof rt||Rp(e)&&tr(e)}var gc=He(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var pe=(()=>{class e extends S{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new or(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new gc}next(n){At(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){At(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){At(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){let{hasError:r,isStopped:o,observers:i}=this;return r||o?ai:(this.currentObservers=null,i.push(n),new F(()=>{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 S;return n.source=this,n}}return e.create=(t,n)=>new or(t,n),e})(),or=class extends pe{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,t)}error(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,t)}complete(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t)}_subscribe(t){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&r!==void 0?r:ai}};function ir(e){return e&&b(e.schedule)}function mc(e){return e[e.length-1]}function kt(e){return b(mc(e))?e.pop():void 0}function $e(e){return ir(mc(e))?e.pop():void 0}function vc(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(u){try{l(r.next(u))}catch(d){s(d)}}function c(u){try{l(r.throw(u))}catch(d){s(d)}}function l(u){u.done?i(u.value):o(u.value).then(a,c)}l((r=r.apply(e,t||[])).next())})}function yc(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 ot(e){return this instanceof ot?(this.v=e,this):new ot(e)}function Ic(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(f){return function(h){return Promise.resolve(h).then(f,d)}}function a(f,h){r[f]&&(o[f]=function(g){return new Promise(function(E,m){i.push([f,g,E,m])>1||c(f,g)})},h&&(o[f]=h(o[f])))}function c(f,h){try{l(r[f](h))}catch(g){p(i[0][3],g)}}function l(f){f.value instanceof ot?Promise.resolve(f.value.v).then(u,d):p(i[0][2],f)}function u(f){c("next",f)}function d(f){c("throw",f)}function p(f,h){f(h),i.shift(),i.length&&c(i[0][0],i[0][1])}}function Ec(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 yc=="function"?yc(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,c){s=e[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(l){i({value:l,done:a})},s)}}var sr=e=>e&&typeof e.length=="number"&&typeof e!="function";function ar(e){return b(e?.then)}function cr(e){return b(e[Rt])}function lr(e){return Symbol.asyncIterator&&b(e?.[Symbol.asyncIterator])}function ur(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 Pp(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var dr=Pp();function fr(e){return b(e?.[dr])}function pr(e){return Ic(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield ot(n.read());if(o)return yield ot(void 0);yield yield ot(r)}}finally{n.releaseLock()}})}function hr(e){return b(e?.getReader)}function R(e){if(e instanceof S)return e;if(e!=null){if(cr(e))return Lp(e);if(sr(e))return Fp(e);if(ar(e))return jp(e);if(lr(e))return wc(e);if(fr(e))return Vp(e);if(hr(e))return Hp(e)}throw ur(e)}function Lp(e){return new S(t=>{let n=e[Rt]();if(b(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Fp(e){return new S(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function jp(e){return new S(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,nr)})}function Vp(e){return new S(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function wc(e){return new S(t=>{$p(e,t).catch(n=>t.error(n))})}function Hp(e){return wc(pr(e))}function $p(e,t){var n,r,o,i;return vc(this,void 0,void 0,function*(){try{for(n=Ec(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 K(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 fi(e){return b(e?.lift)}function D(e){return t=>{if(fi(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 w(e,t,n,r,o){return new pi(e,t,n,r,o)}var pi=class extends rt{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(c){t.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){t.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};function gr(e,t=0){return D((n,r)=>{n.subscribe(w(r,o=>K(r,e,()=>r.next(o),t),()=>K(r,e,()=>r.complete(),t),o=>K(r,e,()=>r.error(o),t)))})}function mr(e,t=0){return D((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Dc(e,t){return R(e).pipe(mr(t),gr(t))}function bc(e,t){return R(e).pipe(mr(t),gr(t))}function Cc(e,t){return new S(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function Mc(e,t){return new S(n=>{let r;return K(n,t,()=>{r=e[dr](),K(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)}),()=>b(r?.return)&&r.return()})}function yr(e,t){if(!e)throw new Error("Iterable cannot be null");return new S(n=>{K(n,t,()=>{let r=e[Symbol.asyncIterator]();K(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function xc(e,t){return yr(pr(e),t)}function _c(e,t){if(e!=null){if(cr(e))return Dc(e,t);if(sr(e))return Cc(e,t);if(ar(e))return bc(e,t);if(lr(e))return yr(e,t);if(fr(e))return Mc(e,t);if(hr(e))return xc(e,t)}throw ur(e)}function Be(e,t){return t?_c(e,t):R(e)}function Bp(...e){let t=$e(e);return Be(e,t)}function Ce(e,t){return D((n,r)=>{let o=0;n.subscribe(w(r,i=>{r.next(e.call(t,i,o++))}))})}function hi(e){return D((t,n)=>{let r=null,o=!1,i;r=t.subscribe(w(n,void 0,void 0,s=>{i=R(e(s,hi(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}var vr=class extends F{constructor(t,n){super()}schedule(t,n=0){return this}};var ln={setInterval(e,t,...n){let{delegate:r}=ln;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=ln;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var Ir=class extends vr{constructor(t,n){super(t,n),this.scheduler=t,this.work=n,this.pending=!1}schedule(t,n=0){var r;if(this.closed)return this;this.state=t;let o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,n)),this.pending=!0,this.delay=n,this.id=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(i,this.id,n),this}requestAsyncId(t,n,r=0){return ln.setInterval(t.flush.bind(t,this),r)}recycleAsyncId(t,n,r=0){if(r!=null&&this.delay===r&&this.pending===!1)return n;n!=null&&ln.clearInterval(n)}execute(t,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(t,n);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,n){let r=!1,o;try{this.work(t)}catch(i){r=!0,o=i||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){let{id:t,scheduler:n}=this,{actions:r}=n;this.work=this.state=this.scheduler=null,this.pending=!1,tt(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var un={now(){return(un.delegate||Date).now()},delegate:void 0};var Pt=class e{constructor(t,n=e.now){this.schedulerActionCtor=t,this.now=n}schedule(t,n=0,r){return new this.schedulerActionCtor(this,t).schedule(r,n)}};Pt.now=un.now;var Er=class extends Pt{constructor(t,n=Pt.now){super(t,n),this.actions=[],this._active=!1}flush(t){let{actions:n}=this;if(this._active){n.push(t);return}let r;this._active=!0;do if(r=t.execute(t.state,t.delay))break;while(t=n.shift());if(this._active=!1,r){for(;t=n.shift();)t.unsubscribe();throw r}}};var dn=new Er(Ir),Tc=dn;function Up(e,t=dn){return D((n,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let l=i;i=null,r.next(l)}};function c(){let l=s+e,u=t.now();if(u<l){o=this.schedule(void 0,l-u),r.add(o);return}a()}n.subscribe(w(r,l=>{i=l,s=t.now(),o||(o=t.schedule(c,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}var it=new S(e=>e.complete());function wr(e){return e<=0?()=>it:D((t,n)=>{let r=0;t.subscribe(w(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function Nc(e){return D((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function Sc(e,t,n,r,o,i,s,a){let c=[],l=0,u=0,d=!1,p=()=>{d&&!c.length&&!l&&t.complete()},f=g=>l<r?h(g):c.push(g),h=g=>{i&&t.next(g),l++;let E=!1;R(n(g,u++)).subscribe(w(t,m=>{o?.(m),i?f(m):t.next(m)},()=>{E=!0},void 0,()=>{if(E)try{for(l--;c.length&&l<r;){let m=c.shift();s?K(t,s,()=>h(m)):h(m)}p()}catch(m){t.error(m)}}))};return e.subscribe(w(t,f,()=>{d=!0,p()})),()=>{a?.()}}function st(e,t,n=1/0){return b(t)?st((r,o)=>Ce((i,s)=>t(r,i,o,s))(R(e(r,o))),n):(typeof t=="number"&&(n=t),D((r,o)=>Sc(r,o,e,n)))}function gi(e=1/0){return st(W,e)}function Oc(){return gi(1)}function Dr(...e){return Oc()(Be(e,$e(e)))}function Ac(...e){let t=$e(e);return D((n,r)=>{(t?Dr(e,n,t):Dr(e,n)).subscribe(r)})}function Rc(e,t){return D((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(w(r,c=>{o?.unsubscribe();let l=0,u=i++;R(e(c,u)).subscribe(o=w(r,d=>r.next(t?t(c,d,u,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function mi(){return D((e,t)=>{let n=null;e._refCount++;let r=w(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 yi=class extends S{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,fi(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 F;let n=this.getSubject();t.add(this.source.subscribe(w(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=F.EMPTY)}return t}refCount(){return mi()(this)}};var fn=class extends pe{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}};var pn=class extends pe{constructor(t=1/0,n=1/0,r=un){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!t.closed;s+=r?1:2)t.next(i[s]);return this._checkFinalizedStatuses(t),n}_trimBuffer(){let{_bufferSize:t,_timestampProvider:n,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*t;if(t<1/0&&i<r.length&&r.splice(0,r.length-i),!o){let s=n.now(),a=0;for(let c=1;c<r.length&&r[c]<=s;c+=2)a=c;a&&r.splice(0,a+1)}}};function qp(e,t){let n=b(e)?e:()=>e,r=o=>o.error(n());return new S(t?o=>t.schedule(r,0,o):r)}function Wp(e){return!!e&&(e instanceof S||b(e.lift)&&b(e.subscribe))}var at=He(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function br(e){return e instanceof Date&&!isNaN(e)}var zp=He(e=>function(n=null){e(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=n});function Gp(e,t){let{first:n,each:r,with:o=Qp,scheduler:i=t??dn,meta:s=null}=br(e)?{first:e}:typeof e=="number"?{each:e}:e;if(n==null&&r==null)throw new TypeError("No timeout provided.");return D((a,c)=>{let l,u,d=null,p=0,f=h=>{u=K(c,i,()=>{try{l.unsubscribe(),R(o({meta:s,lastValue:d,seen:p})).subscribe(c)}catch(g){c.error(g)}},h)};l=a.subscribe(w(c,h=>{u?.unsubscribe(),p++,c.next(d=h),r>0&&f(r)},void 0,void 0,()=>{u?.closed||u?.unsubscribe(),d=null})),!p&&f(n!=null?typeof n=="number"?n:+n-i.now():r)})}function Qp(e){throw new zp(e)}var{isArray:Zp}=Array;function Yp(e,t){return Zp(t)?e(...t):e(t)}function Cr(e){return Ce(t=>Yp(e,t))}var{isArray:Jp}=Array,{getPrototypeOf:Kp,prototype:Xp,keys:eh}=Object;function Mr(e){if(e.length===1){let t=e[0];if(Jp(t))return{args:t,keys:null};if(th(t)){let n=eh(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function th(e){return e&&typeof e=="object"&&Kp(e)===Xp}function xr(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function nh(...e){let t=$e(e),n=kt(e),{args:r,keys:o}=Mr(e);if(r.length===0)return Be([],t);let i=new S(rh(r,t,o?s=>xr(o,s):W));return n?i.pipe(Cr(n)):i}function rh(e,t,n=W){return r=>{kc(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)kc(t,()=>{let l=Be(e[c],t),u=!1;l.subscribe(w(r,d=>{i[c]=d,u||(u=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function kc(e,t,n){e?K(n,e,t):t()}function oh(e){return new S(t=>{R(e()).subscribe(t)})}function ih(...e){let t=kt(e),{args:n,keys:r}=Mr(e),o=new S(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),c=s,l=s;for(let u=0;u<s;u++){let d=!1;R(n[u]).subscribe(w(i,p=>{d||(d=!0,l--),a[u]=p},()=>c--,void 0,()=>{(!c||!d)&&(l||i.next(r?xr(r,a):a),i.complete())}))}});return t?o.pipe(Cr(t)):o}function Pc(e=0,t,n=Tc){let r=-1;return t!=null&&(ir(t)?n=t:r=t),new S(o=>{let i=br(e)?+e-n.now():e;i<0&&(i=0);let s=0;return n.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}var{isArray:sh}=Array;function Lc(e){return e.length===1&&sh(e[0])?e[0]:e}function hn(e,t){return D((n,r)=>{let o=0;n.subscribe(w(r,i=>e.call(t,i,o++)&&r.next(i)))})}function ah(...e){let t=kt(e),n=Lc(e);return n.length?new S(r=>{let o=n.map(()=>[]),i=n.map(()=>!1);r.add(()=>{o=i=null});for(let s=0;!r.closed&&s<n.length;s++)R(n[s]).subscribe(w(r,a=>{if(o[s].push(a),o.every(c=>c.length)){let c=o.map(l=>l.shift());r.next(t?t(...c):c),o.some((l,u)=>!l.length&&i[u])&&r.complete()}},()=>{i[s]=!0,!o[s].length&&r.complete()}));return()=>{o=i=null}}):it}function Fc(e,t,n,r,o){return(i,s)=>{let a=n,c=t,l=0;i.subscribe(w(s,u=>{let d=l++;c=a?e(c,u,d):(a=!0,u),r&&s.next(c)},o&&(()=>{a&&s.next(c),s.complete()})))}}function ch(e,t){return b(t)?st(e,t,1):st(e,1)}function gn(e){return D((t,n)=>{let r=!1;t.subscribe(w(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function lh(e){return Ce(()=>e)}function uh(e,t=W){return e=e??dh,D((n,r)=>{let o,i=!0;n.subscribe(w(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function dh(e,t){return e===t}function _r(e=fh){return D((t,n)=>{let r=!1;t.subscribe(w(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function fh(){return new at}function ph(e,t){let n=arguments.length>=2;return r=>r.pipe(e?hn((o,i)=>e(o,i,r)):W,wr(1),n?gn(t):_r(()=>new at))}function vi(e){return e<=0?()=>it:D((t,n)=>{let r=[];t.subscribe(w(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 hh(e,t){let n=arguments.length>=2;return r=>r.pipe(e?hn((o,i)=>e(o,i,r)):W,vi(1),n?gn(t):_r(()=>new at))}function gh(e=1/0){let t;e&&typeof e=="object"?t=e:t={count:e};let{count:n=1/0,delay:r,resetOnSuccess:o=!1}=t;return n<=0?W:D((i,s)=>{let a=0,c,l=()=>{let u=!1;c=i.subscribe(w(s,d=>{o&&(a=0),s.next(d)},void 0,d=>{if(a++<n){let p=()=>{c?(c.unsubscribe(),c=null,l()):u=!0};if(r!=null){let f=typeof r=="number"?Pc(r):R(r(d,a)),h=w(s,()=>{h.unsubscribe(),p()},()=>{s.complete()});f.subscribe(h)}else p()}else s.error(d)})),u&&(c.unsubscribe(),c=null,l())};l()})}function mh(e,t){return D(Fc(e,t,arguments.length>=2,!0))}function jc(e={}){let{connector:t=()=>new pe,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,c,l=0,u=!1,d=!1,p=()=>{a?.unsubscribe(),a=void 0},f=()=>{p(),s=c=void 0,u=d=!1},h=()=>{let g=s;f(),g?.unsubscribe()};return D((g,E)=>{l++,!d&&!u&&p();let m=c=c??t();E.add(()=>{l--,l===0&&!d&&!u&&(a=Ii(h,o))}),m.subscribe(E),!s&&l>0&&(s=new Se({next:_=>m.next(_),error:_=>{d=!0,p(),a=Ii(f,n,_),m.error(_)},complete:()=>{u=!0,p(),a=Ii(f,r),m.complete()}}),R(g).subscribe(s))})(i)}}function Ii(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new Se({next:()=>{r.unsubscribe(),e()}});return R(t(...n)).subscribe(r)}function yh(e,t,n){let r,o=!1;return e&&typeof e=="object"?{bufferSize:r=1/0,windowTime:t=1/0,refCount:o=!1,scheduler:n}=e:r=e??1/0,jc({connector:()=>new pn(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function vh(e){return D((t,n)=>{R(e).subscribe(w(n,()=>n.complete(),cn)),!n.closed&&t.subscribe(n)})}function Vc(e,t,n){let r=b(e)||t||n?{next:e,error:t,complete:n}:e;return r?D((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(w(i,c=>{var l;(l=r.next)===null||l===void 0||l.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var l;a=!1,(l=r.error)===null||l===void 0||l.call(r,c),i.error(c)},()=>{var c,l;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(l=r.finalize)===null||l===void 0||l.call(r)}))}):W}function Ci(e,t){return Object.is(e,t)}var V=null,mn=!1,Mi=1,H=Symbol("SIGNAL");function x(e){let t=V;return V=e,t}function Hc(){return V}function Ih(){return mn}var ct={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 vn(e){if(mn)throw new Error("");if(V===null)return;V.consumerOnSignalRead(e);let t=V.nextProducerIndex++;if(Sr(V),t<V.producerNode.length&&V.producerNode[t]!==e&&yn(V)){let n=V.producerNode[t];Nr(n,V.producerIndexOfThis[t])}V.producerNode[t]!==e&&(V.producerNode[t]=e,V.producerIndexOfThis[t]=yn(V)?qc(e,V,t):0),V.producerLastReadVersion[t]=e.version}function Eh(){Mi++}function xi(e){if(!(yn(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===Mi)){if(!e.producerMustRecompute(e)&&!En(e)){Di(e);return}e.producerRecomputeValue(e),Di(e)}}function $c(e){if(e.liveConsumerNode===void 0)return;let t=mn;mn=!0;try{for(let n of e.liveConsumerNode)n.dirty||Uc(n)}finally{mn=t}}function Bc(){return V?.consumerAllowSignalWrites!==!1}function Uc(e){e.dirty=!0,$c(e),e.consumerMarkedDirty?.(e)}function Di(e){e.dirty=!1,e.lastCleanEpoch=Mi}function Lt(e){return e&&(e.nextProducerIndex=0),x(e)}function In(e,t){if(x(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(yn(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)Nr(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function En(e){Sr(e);for(let t=0;t<e.producerNode.length;t++){let n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(xi(n),r!==n.version))return!0}return!1}function Ft(e){if(Sr(e),yn(e))for(let t=0;t<e.producerNode.length;t++)Nr(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 qc(e,t,n){if(Wc(e),e.liveConsumerNode.length===0&&zc(e))for(let r=0;r<e.producerNode.length;r++)e.producerIndexOfThis[r]=qc(e.producerNode[r],e,r);return e.liveConsumerIndexOfThis.push(n),e.liveConsumerNode.push(t)-1}function Nr(e,t){if(Wc(e),e.liveConsumerNode.length===1&&zc(e))for(let r=0;r<e.producerNode.length;r++)Nr(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];Sr(o),o.producerIndexOfThis[r]=t}}function yn(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function Sr(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function Wc(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function zc(e){return e.producerNode!==void 0}function _i(e){let t=Object.create(wh);t.computation=e;let n=()=>{if(xi(t),vn(t),t.value===Tr)throw t.error;return t.value};return n[H]=t,n}var Ei=Symbol("UNSET"),wi=Symbol("COMPUTING"),Tr=Symbol("ERRORED"),wh=ue(le({},ct),{value:Ei,dirty:!0,error:null,equal:Ci,producerMustRecompute(e){return e.value===Ei||e.value===wi},producerRecomputeValue(e){if(e.value===wi)throw new Error("Detected cycle in computations.");let t=e.value;e.value=wi;let n=Lt(e),r;try{r=e.computation()}catch(o){r=Tr,e.error=o}finally{In(e,n)}if(t!==Ei&&t!==Tr&&r!==Tr&&e.equal(t,r)){e.value=t;return}e.value=r,e.version++}});function Dh(){throw new Error}var Gc=Dh;function Qc(){Gc()}function Zc(e){Gc=e}var bh=null;function Yc(e){let t=Object.create(Ti);t.value=e;let n=()=>(vn(t),t.value);return n[H]=t,n}function wn(e,t){Bc()||Qc(),e.equal(e.value,t)||(e.value=t,Ch(e))}function Jc(e,t){Bc()||Qc(),wn(e,t(e.value))}var Ti=ue(le({},ct),{equal:Ci,value:void 0});function Ch(e){e.version++,Eh(),$c(e),bh?.()}function Kc(e,t,n){let r=Object.create(Mh);n&&(r.consumerAllowSignalWrites=!0),r.fn=e,r.schedule=t;let o=c=>{r.cleanupFn=c};function i(c){return c.fn===null&&c.schedule===null}function s(c){i(c)||(Ft(c),c.cleanupFn(),c.fn=null,c.schedule=null,c.cleanupFn=bi)}let a=()=>{if(r.fn===null)return;if(Ih())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(r.dirty=!1,r.hasRun&&!En(r))return;r.hasRun=!0;let c=Lt(r);try{r.cleanupFn(),r.cleanupFn=bi,r.fn(o)}finally{In(r,c)}};return r.ref={notify:()=>Uc(r),run:a,cleanup:()=>r.cleanupFn(),destroy:()=>s(r),[H]:r},r.ref}var bi=()=>{},Mh=ue(le({},ct),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule!==null&&e.schedule(e.ref)},hasRun:!1,cleanupFn:bi});var tu="https://g.co/ng/security#xss",C=class extends Error{code;constructor(t,n){super(xh(t,n)),this.code=t}};function xh(e,t){return`${`NG0${Math.abs(e)}`}${t?": "+t:""}`}var No=Symbol("InputSignalNode#UNSET"),nu=ue(le({},Ti),{transformFn:void 0,applyValueToInputSignal(e,t){wn(e,t)}});function ru(e,t){let n=Object.create(nu);n.value=e,n.transformFn=t?.transform;function r(){if(vn(n),n.value===No)throw new C(-950,!1);return n.value}return r[H]=n,r}function qn(e){return{toString:e}.toString()}var Or="__parameters__";function _h(e){return function(...n){if(e){let r=e(...n);for(let o in r)this[o]=r[o]}}}function ou(e,t,n){return qn(()=>{let r=_h(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;let s=new o(...i);return a.annotation=s,a;function a(c,l,u){let d=c.hasOwnProperty(Or)?c[Or]:Object.defineProperty(c,Or,{value:[]})[Or];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),c}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}var qe=globalThis;function P(e){for(let t in e)if(e[t]===P)return t;throw Error("Could not find renamed property on target object.")}function Th(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function de(e){if(typeof e=="string")return e;if(Array.isArray(e))return"["+e.map(de).join(", ")+"]";if(e==null)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;let t=e.toString();if(t==null)return""+t;let n=t.indexOf(`
|
|
4
|
+
`);return n===-1?t:t.substring(0,n)}function qi(e,t){return e==null||e===""?t===null?"":t:t==null||t===""?e:e+" "+t}var Nh=P({__forward_ref__:P});function iu(e){return e.__forward_ref__=iu,e.toString=function(){return de(this())},e}function ne(e){return su(e)?e():e}function su(e){return typeof e=="function"&&e.hasOwnProperty(Nh)&&e.__forward_ref__===iu}function Sh(e,t,n){e!=t&&Oh(n,e,t,"==")}function Oh(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(r==null?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}function U(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function bN(e){return{providers:e.providers||[],imports:e.imports||[]}}function So(e){return Xc(e,au)||Xc(e,cu)}function CN(e){return So(e)!==null}function Xc(e,t){return e.hasOwnProperty(t)?e[t]:null}function Ah(e){let t=e&&(e[au]||e[cu]);return t||null}function el(e){return e&&(e.hasOwnProperty(tl)||e.hasOwnProperty(Rh))?e[tl]:null}var au=P({\u0275prov:P}),tl=P({\u0275inj:P}),cu=P({ngInjectableDef:P}),Rh=P({ngInjectorDef:P}),k=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,n){this._desc=t,this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=U({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function lu(e){return e&&!!e.\u0275providers}var kh=P({\u0275cmp:P}),Ph=P({\u0275dir:P}),Lh=P({\u0275pipe:P}),Fh=P({\u0275mod:P}),Qr=P({\u0275fac:P}),Mn=P({__NG_ELEMENT_ID__:P}),nl=P({__NG_ENV_ID__:P});function Ie(e){return typeof e=="string"?e:e==null?"":String(e)}function jh(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():Ie(e)}function Vh(e,t){let n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new C(-200,e)}function ua(e,t){throw new C(-201,!1)}var N=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}(N||{}),Wi;function uu(){return Wi}function ie(e){let t=Wi;return Wi=e,t}function du(e,t,n){let r=So(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&N.Optional)return null;if(t!==void 0)return t;ua(e,"Injector")}var Hh={},On=Hh,zi="__NG_DI_FLAG__",Zr="ngTempTokenPath",$h="ngTokenPath",Bh=/\n/gm,Uh="\u0275",rl="__source",$t;function qh(){return $t}function Ue(e){let t=$t;return $t=e,t}function Wh(e,t=N.Default){if($t===void 0)throw new C(-203,!1);return $t===null?du(e,void 0,t):$t.get(e,t&N.Optional?null:void 0,t)}function Qe(e,t=N.Default){return(uu()||Wh)(ne(e),t)}function T(e,t=N.Default){return Qe(e,Oo(t))}function Oo(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Gi(e){let t=[];for(let n=0;n<e.length;n++){let r=ne(e[n]);if(Array.isArray(r)){if(r.length===0)throw new C(900,!1);let o,i=N.Default;for(let s=0;s<r.length;s++){let a=r[s],c=zh(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(Qe(o,i))}else t.push(Qe(r))}return t}function fu(e,t){return e[zi]=t,e.prototype[zi]=t,e}function zh(e){return e[zi]}function Gh(e,t,n,r){let o=e[Zr];throw t[rl]&&o.unshift(t[rl]),e.message=Qh(`
|
|
5
|
+
`+e.message,o,n,r),e[$h]=o,e[Zr]=null,e}function Qh(e,t,n,r=null){e=e&&e.charAt(0)===`
|
|
6
|
+
`&&e.charAt(1)==Uh?e.slice(2):e;let o=de(t);if(Array.isArray(t))o=t.map(de).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):de(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(Bh,`
|
|
7
|
+
`)}`}var pu=fu(ou("Optional"),8);var hu=fu(ou("SkipSelf"),4);function ft(e,t){let n=e.hasOwnProperty(Qr);return n?e[Qr]:null}function Zh(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let o=e[r],i=t[r];if(n&&(o=n(o),i=n(i)),i!==o)return!1}return!0}function Yh(e){return e.flat(Number.POSITIVE_INFINITY)}function da(e,t){e.forEach(n=>Array.isArray(n)?da(n,t):t(n))}function gu(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Yr(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Jh(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function Kh(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(o===1)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;){let i=o-2;e[o]=e[i],o--}e[t]=n,e[t+1]=r}}function Ao(e,t,n){let r=Wn(e,t);return r>=0?e[r|1]=n:(r=~r,Kh(e,r,t,n)),r}function Ni(e,t){let n=Wn(e,t);if(n>=0)return e[n|1]}function Wn(e,t){return Xh(e,t,1)}function Xh(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=e[i<<n];if(t===s)return i<<n;s>t?o=i:r=i+1}return~(o<<n)}var Wt={},X=[],Jr=new k(""),mu=new k("",-1),yu=new k(""),Kr=class{get(t,n=On){if(n===On){let r=new Error(`NullInjectorError: No provider for ${de(t)}!`);throw r.name="NullInjectorError",r}return n}};function vu(e,t){let n=e[Fh]||null;if(!n&&t===!0)throw new Error(`Type ${de(e)} does not have '\u0275mod' property.`);return n}function _e(e){return e[kh]||null}function fa(e){return e[Ph]||null}function pa(e){return e[Lh]||null}function eg(e){let t=_e(e)||fa(e)||pa(e);return t!==null?t.standalone:!1}function tg(e){return{\u0275providers:e}}function ng(...e){return{\u0275providers:ha(!0,e),\u0275fromNgModule:!0}}function ha(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return da(t,s=>{let a=s;Qi(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Iu(o,i),n}function Iu(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];ga(o,i=>{t(i,r)})}}function Qi(e,t,n,r){if(e=ne(e),!e)return!1;let o=null,i=el(e),s=!i&&_e(e);if(!i&&!s){let c=e.ngModule;if(i=el(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let l of c)Qi(l,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;try{da(i.imports,u=>{Qi(u,t,n,r)&&(l||=[],l.push(u))})}finally{}l!==void 0&&Iu(l,t)}if(!a){let l=ft(o)||(()=>new o);t({provide:o,useFactory:l,deps:X},o),t({provide:yu,useValue:o,multi:!0},o),t({provide:Jr,useValue:()=>Qe(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=e;ga(c,u=>{t(u,l)})}}else return!1;return o!==e&&e.providers!==void 0}function ga(e,t){for(let n of e)lu(n)&&(n=n.\u0275providers),Array.isArray(n)?ga(n,t):t(n)}var rg=P({provide:String,useValue:P});function Eu(e){return e!==null&&typeof e=="object"&&rg in e}function og(e){return!!(e&&e.useExisting)}function ig(e){return!!(e&&e.useFactory)}function zt(e){return typeof e=="function"}function sg(e){return!!e.useClass}var wu=new k(""),jr={},ag={},Si;function Ro(){return Si===void 0&&(Si=new Kr),Si}var Ae=class{},An=class extends Ae{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,Yi(t,s=>this.processProvider(s)),this.records.set(mu,jt(void 0,this)),o.has("environment")&&this.records.set(Ae,jt(void 0,this));let i=this.records.get(wu);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(yu,X,N.Self))}destroy(){Dn(this),this._destroyed=!0;let t=x(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(),x(t)}}onDestroy(t){return Dn(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){Dn(this);let n=Ue(this),r=ie(void 0),o;try{return t()}finally{Ue(n),ie(r)}}get(t,n=On,r=N.Default){if(Dn(this),t.hasOwnProperty(nl))return t[nl](this);r=Oo(r);let o,i=Ue(this),s=ie(void 0);try{if(!(r&N.SkipSelf)){let c=this.records.get(t);if(c===void 0){let l=fg(t)&&So(t);l&&this.injectableDefInScope(l)?c=jt(Zi(t),jr):c=null,this.records.set(t,c)}if(c!=null)return this.hydrate(t,c)}let a=r&N.Self?Ro():this.parent;return n=r&N.Optional&&n===On?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[Zr]=a[Zr]||[]).unshift(de(t)),i)throw a;return Gh(a,t,"R3InjectorError",this.source)}else throw a}finally{ie(s),Ue(i)}}resolveInjectorInitializers(){let t=x(null),n=Ue(this),r=ie(void 0),o;try{let i=this.get(Jr,X,N.Self);for(let s of i)s()}finally{Ue(n),ie(r),x(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(de(r));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=ne(t);let n=zt(t)?t:ne(t&&t.provide),r=lg(t);if(!zt(t)&&t.multi===!0){let o=this.records.get(n);o||(o=jt(void 0,jr,!0),o.factory=()=>Gi(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){let r=x(null);try{return n.value===jr&&(n.value=ag,n.value=n.factory()),typeof n.value=="object"&&n.value&&dg(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{x(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=ne(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 Zi(e){let t=So(e),n=t!==null?t.factory:ft(e);if(n!==null)return n;if(e instanceof k)throw new C(204,!1);if(e instanceof Function)return cg(e);throw new C(204,!1)}function cg(e){if(e.length>0)throw new C(204,!1);let n=Ah(e);return n!==null?()=>n.factory(e):()=>new e}function lg(e){if(Eu(e))return jt(void 0,e.useValue);{let t=Du(e);return jt(t,jr)}}function Du(e,t,n){let r;if(zt(e)){let o=ne(e);return ft(o)||Zi(o)}else if(Eu(e))r=()=>ne(e.useValue);else if(ig(e))r=()=>e.useFactory(...Gi(e.deps||[]));else if(og(e))r=()=>Qe(ne(e.useExisting));else{let o=ne(e&&(e.useClass||e.provide));if(ug(e))r=()=>new o(...Gi(e.deps));else return ft(o)||Zi(o)}return r}function Dn(e){if(e.destroyed)throw new C(205,!1)}function jt(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function ug(e){return!!e.deps}function dg(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function fg(e){return typeof e=="function"||typeof e=="object"&&e instanceof k}function Yi(e,t){for(let n of e)Array.isArray(n)?Yi(n,t):n&&lu(n)?Yi(n.\u0275providers,t):t(n)}function bu(e,t){e instanceof An&&Dn(e);let n,r=Ue(e),o=ie(void 0);try{return t()}finally{Ue(r),ie(o)}}function Cu(){return uu()!==void 0||qh()!=null}function ma(e){if(!Cu())throw new C(-203,!1)}function pg(e){return typeof e=="function"}var Fe=0,I=1,v=2,J=3,Ee=4,re=5,Gt=6,Xr=7,ee=8,we=9,Re=10,O=11,Rn=12,ol=13,Xt=14,ae=15,pt=16,Vt=17,ke=18,ko=19,Mu=20,ze=21,Vr=22,ht=23,fe=24,L=25,xu=1,Bt=6,gt=7,eo=8,Qt=9,te=10,to=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(to||{});function Ge(e){return Array.isArray(e)&&typeof e[xu]=="object"}function je(e){return Array.isArray(e)&&e[xu]===!0}function ya(e){return(e.flags&4)!==0}function Po(e){return e.componentOffset>-1}function Lo(e){return(e.flags&1)===1}function Ze(e){return!!e.template}function Ji(e){return(e[v]&512)!==0}function hg(e){return(e[v]&256)===256}var Ki=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function _u(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var MN=(()=>{let e=()=>Tu;return e.ngInherit=!0,e})();function Tu(e){return e.type.prototype.ngOnChanges&&(e.setInput=mg),gg}function gg(){let e=Su(this),t=e?.current;if(t){let n=e.previous;if(n===Wt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function mg(e,t,n,r,o){let i=this.declaredInputs[r],s=Su(e)||yg(e,{previous:Wt,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new Ki(l&&l.currentValue,n,c===Wt),_u(e,t,o,n)}var Nu="__ngSimpleChanges__";function Su(e){return e[Nu]||null}function yg(e,t){return e[Nu]=t}var il=null;var Me=function(e,t,n){il?.(e,t,n)},Ou="svg",vg="math";function ge(e){for(;Array.isArray(e);)e=e[Fe];return e}function Fo(e,t){return ge(t[e])}function me(e,t){return ge(t[e.index])}function zn(e,t){return e.data[t]}function jo(e,t){return e[t]}function Xe(e,t){let n=t[e];return Ge(n)?n:n[Fe]}function Ig(e){return(e[v]&4)===4}function va(e){return(e[v]&128)===128}function Eg(e){return je(e[J])}function Pe(e,t){return t==null?null:e[t]}function Au(e){e[Vt]=0}function Ia(e){e[v]&1024||(e[v]|=1024,va(e)&&Gn(e))}function wg(e,t){for(;e>0;)t=t[Xt],e--;return t}function Vo(e){return!!(e[v]&9216||e[fe]?.dirty)}function Xi(e){e[Re].changeDetectionScheduler?.notify(9),e[v]&64&&(e[v]|=1024),Vo(e)&&Gn(e)}function Gn(e){e[Re].changeDetectionScheduler?.notify(0);let t=mt(e);for(;t!==null&&!(t[v]&8192||(t[v]|=8192,!va(t)));)t=mt(t)}function Ea(e,t){if((e[v]&256)===256)throw new C(911,!1);e[ze]===null&&(e[ze]=[]),e[ze].push(t)}function Ru(e,t){if(e[ze]===null)return;let n=e[ze].indexOf(t);n!==-1&&e[ze].splice(n,1)}function mt(e){let t=e[J];return je(t)?t[J]:t}var M={lFrame:Bu(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var es=!1;function Dg(){return M.lFrame.elementDepthCount}function bg(){M.lFrame.elementDepthCount++}function Cg(){M.lFrame.elementDepthCount--}function ku(){return M.bindingsEnabled}function Pu(){return M.skipHydrationRootTNode!==null}function Mg(e){return M.skipHydrationRootTNode===e}function xg(){M.skipHydrationRootTNode=null}function y(){return M.lFrame.lView}function A(){return M.lFrame.tView}function xN(e){return M.lFrame.contextLView=e,e[ee]}function _N(e){return M.lFrame.contextLView=null,e}function z(){let e=Lu();for(;e!==null&&e.type===64;)e=e.parent;return e}function Lu(){return M.lFrame.currentTNode}function kn(){let e=M.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function De(e,t){let n=M.lFrame;n.currentTNode=e,n.isParent=t}function wa(){return M.lFrame.isParent}function Da(){M.lFrame.isParent=!1}function Fu(){return M.lFrame.contextLView}function ju(){return es}function no(e){let t=es;return es=e,t}function en(){let e=M.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function ba(){return M.lFrame.bindingIndex}function _g(e){return M.lFrame.bindingIndex=e}function et(){return M.lFrame.bindingIndex++}function Ho(e){let t=M.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Tg(){return M.lFrame.inI18n}function Vu(e){M.lFrame.inI18n=e}function Ng(e,t){let n=M.lFrame;n.bindingIndex=n.bindingRootIndex=e,ts(t)}function Sg(){return M.lFrame.currentDirectiveIndex}function ts(e){M.lFrame.currentDirectiveIndex=e}function Og(e){let t=M.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function Ca(){return M.lFrame.currentQueryIndex}function $o(e){M.lFrame.currentQueryIndex=e}function Ag(e){let t=e[I];return t.type===2?t.declTNode:t.type===1?e[re]:null}function Hu(e,t,n){if(n&N.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&N.Host);)if(o=Ag(i),o===null||(i=i[Xt],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=M.lFrame=$u();return r.currentTNode=t,r.lView=e,!0}function Ma(e){let t=$u(),n=e[I];M.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function $u(){let e=M.lFrame,t=e===null?null:e.child;return t===null?Bu(e):t}function Bu(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 Uu(){let e=M.lFrame;return M.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var qu=Uu;function xa(){let e=Uu();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 Rg(e){return(M.lFrame.contextLView=wg(e,M.lFrame.contextLView))[ee]}function be(){return M.lFrame.selectedIndex}function yt(e){M.lFrame.selectedIndex=e}function _t(){let e=M.lFrame;return zn(e.tView,e.selectedIndex)}function TN(){M.lFrame.currentNamespace=Ou}function kg(){return M.lFrame.currentNamespace}var Wu=!0;function Qn(){return Wu}function Zn(e){Wu=e}function Pg(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=Tu(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 Bo(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){let i=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:l,ngOnDestroy:u}=i;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),c&&(e.viewHooks??=[]).push(-n,c),l&&((e.viewHooks??=[]).push(n,l),(e.viewCheckHooks??=[]).push(n,l)),u!=null&&(e.destroyHooks??=[]).push(n,u)}}function Hr(e,t,n){zu(e,t,3,n)}function $r(e,t,n,r){(e[v]&3)===n&&zu(e,t,n,r)}function Oi(e,t){let n=e[v];(n&3)===t&&(n&=16383,n+=1,e[v]=n)}function zu(e,t,n,r){let o=r!==void 0?e[Vt]&65535:0,i=r??-1,s=t.length-1,a=0;for(let c=o;c<s;c++)if(typeof t[c+1]=="number"){if(a=t[c],r!=null&&a>=r)break}else t[c]<0&&(e[Vt]+=65536),(a<i||i==-1)&&(Lg(e,n,t,c),e[Vt]=(e[Vt]&4294901760)+c+2),c++}function sl(e,t){Me(4,e,t);let n=x(null);try{t.call(e)}finally{x(n),Me(5,e,t)}}function Lg(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[v]>>14<e[Vt]>>16&&(e[v]&3)===t&&(e[v]+=16384,sl(a,i)):sl(a,i)}var Ut=-1,vt=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r){this.factory=t,this.canSeeViewProviders=n,this.injectImpl=r}};function Fg(e){return e instanceof vt}function jg(e){return(e.flags&8)!==0}function Vg(e){return(e.flags&16)!==0}function ns(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];Hg(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function Gu(e){return e===3||e===4||e===6}function Hg(e){return e.charCodeAt(0)===64}function Pn(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?al(e,n,o,null,t[++r]):al(e,n,o,null,null))}}return e}function al(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 Ai={},qt=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=Oo(r);let o=this.injector.get(t,Ai,r);return o!==Ai||n===Ai?o:this.parentInjector.get(t,n,r)}};function Qu(e){return e!==Ut}function ro(e){return e&32767}function $g(e){return e>>16}function oo(e,t){let n=$g(e),r=t;for(;n>0;)r=r[Xt],n--;return r}var rs=!0;function io(e){let t=rs;return rs=e,t}var Bg=256,Zu=Bg-1,Yu=5,Ug=0,xe={};function qg(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Mn)&&(r=n[Mn]),r==null&&(r=n[Mn]=Ug++);let o=r&Zu,i=1<<o;t.data[e+(o>>Yu)]|=i}function so(e,t){let n=Ju(e,t);if(n!==-1)return n;let r=t[I];r.firstCreatePass&&(e.injectorIndex=t.length,Ri(r.data,e),Ri(t,null),Ri(r.blueprint,null));let o=_a(e,t),i=e.injectorIndex;if(Qu(o)){let s=ro(o),a=oo(o,t),c=a[I].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|c[s+l]}return t[i+8]=o,i}function Ri(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Ju(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function _a(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=nd(o),r===null)return Ut;if(n++,o=o[Xt],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Ut}function os(e,t,n){qg(e,t,n)}function Wg(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let n=e.attrs;if(n){let r=n.length,o=0;for(;o<r;){let i=n[o];if(Gu(i))break;if(i===0)o=o+2;else if(typeof i=="number")for(o++;o<r&&typeof n[o]=="string";)o++;else{if(i===t)return n[o+1];o=o+2}}}return null}function Ku(e,t,n){if(n&N.Optional||e!==void 0)return e;ua(t,"NodeInjector")}function Xu(e,t,n,r){if(n&N.Optional&&r===void 0&&(r=null),!(n&(N.Self|N.Host))){let o=e[we],i=ie(void 0);try{return o?o.get(t,r,n&N.Optional):du(t,r,n&N.Optional)}finally{ie(i)}}return Ku(r,t,n)}function ed(e,t,n,r=N.Default,o){if(e!==null){if(t[v]&2048&&!(r&N.Self)){let s=Zg(e,t,n,r,xe);if(s!==xe)return s}let i=td(e,t,n,r,xe);if(i!==xe)return i}return Xu(t,n,r,o)}function td(e,t,n,r,o){let i=Gg(n);if(typeof i=="function"){if(!Hu(t,e,r))return r&N.Host?Ku(o,n,r):Xu(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&N.Optional))ua(n);else return s}finally{qu()}}else if(typeof i=="number"){let s=null,a=Ju(e,t),c=Ut,l=r&N.Host?t[ae][re]:null;for((a===-1||r&N.SkipSelf)&&(c=a===-1?_a(e,t):t[a+8],c===Ut||!ll(r,!1)?a=-1:(s=t[I],a=ro(c),t=oo(c,t)));a!==-1;){let u=t[I];if(cl(i,a,u.data)){let d=zg(a,t,n,s,r,l);if(d!==xe)return d}c=t[a+8],c!==Ut&&ll(r,t[I].data[a+8]===l)&&cl(i,a,t)?(s=u,a=ro(c),t=oo(c,t)):a=-1}}return o}function zg(e,t,n,r,o,i){let s=t[I],a=s.data[e+8],c=r==null?Po(a)&&rs:r!=s&&(a.type&3)!==0,l=o&N.Host&&i===a,u=Br(a,s,n,c,l);return u!==null?It(t,s,u,a):xe}function Br(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,c=e.directiveStart,l=e.directiveEnd,u=i>>20,d=r?a:a+u,p=o?a+u:l;for(let f=d;f<p;f++){let h=s[f];if(f<c&&n===h||f>=c&&h.type===n)return f}if(o){let f=s[c];if(f&&Ze(f)&&f.type===n)return c}return null}function It(e,t,n,r){let o=e[n],i=t.data;if(Fg(o)){let s=o;s.resolving&&Vh(jh(i[n]));let a=io(s.canSeeViewProviders);s.resolving=!0;let c,l=s.injectImpl?ie(s.injectImpl):null,u=Hu(e,r,N.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&Pg(n,i[n],t)}finally{l!==null&&ie(l),io(a),s.resolving=!1,qu()}}return o}function Gg(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Mn)?e[Mn]:void 0;return typeof t=="number"?t>=0?t&Zu:Qg:t}function cl(e,t,n){let r=1<<e;return!!(n[t+(e>>Yu)]&r)}function ll(e,t){return!(e&N.Self)&&!(e&N.Host&&t)}var dt=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return ed(this._tNode,this._lView,t,Oo(r),n)}};function Qg(){return new dt(z(),y())}function NN(e){return qn(()=>{let t=e.prototype.constructor,n=t[Qr]||is(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Qr]||is(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function is(e){return su(e)?()=>{let t=is(ne(e));return t&&t()}:ft(e)}function Zg(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[v]&2048&&!(s[v]&512);){let a=td(i,s,n,r|N.Self,xe);if(a!==xe)return a;let c=i.parent;if(!c){let l=s[Mu];if(l){let u=l.get(n,xe,r);if(u!==xe)return u}c=nd(s),s=s[Xt]}i=c}return o}function nd(e){let t=e[I],n=t.type;return n===2?t.declTNode:n===1?e[re]:null}function SN(e){return Wg(z(),e)}function ul(e,t=null,n=null,r){let o=rd(e,t,n,r);return o.resolveInjectorInitializers(),o}function rd(e,t=null,n=null,r,o=new Set){let i=[n||X,ng(e)];return r=r||(typeof e=="object"?void 0:de(e)),new An(i,t||Ro(),r||null,o)}var Ye=class e{static THROW_IF_NOT_FOUND=On;static NULL=new Kr;static create(t,n){if(Array.isArray(t))return ul({name:""},n,t,"");{let r=t.name??"";return ul({name:r},t.parent,t.providers,r)}}static \u0275prov=U({token:e,providedIn:"any",factory:()=>Qe(mu)});static __NG_ELEMENT_ID__=-1};var Yg=new k("");Yg.__NG_ELEMENT_ID__=e=>{let t=z();if(t===null)throw new C(204,!1);if(t.type&2)return t.value;if(e&N.Optional)return null;throw new C(204,!1)};var od=!1,tn=(()=>{class e{static __NG_ELEMENT_ID__=Jg;static __NG_ENV_ID__=n=>n}return e})(),ao=class extends tn{_lView;constructor(t){super(),this._lView=t}onDestroy(t){return Ea(this._lView,t),()=>Ru(this._lView,t)}};function Jg(){return new ao(y())}var Je=class{},Ta=new k("",{providedIn:"root",factory:()=>!1});var id=new k(""),Na=new k(""),Tt=(()=>{class e{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new fn(!1);add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static \u0275prov=U({token:e,providedIn:"root",factory:()=>new e})}return e})(),Kg=(()=>{class e{internalPendingTasks=T(Tt);scheduler=T(Je);add(){let n=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(n)&&(this.scheduler.notify(12),this.internalPendingTasks.remove(n))}}async run(n){let r=this.add();try{return await n()}finally{r()}}static \u0275prov=U({token:e,providedIn:"root",factory:()=>new e})}return e})(),ss=class extends pe{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,Cu()&&(this.destroyRef=T(tn,{optional:!0})??void 0,this.pendingTasks=T(Tt,{optional:!0})??void 0)}emit(t){let n=x(null);try{super.next(t)}finally{x(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let c=t;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof F&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{t(n),r!==void 0&&this.pendingTasks?.remove(r)})}}},We=ss;function Ln(...e){}function sd(e){let t,n;function r(){e=Ln;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function dl(e){return queueMicrotask(()=>e()),()=>{e=Ln}}var Sa="isAngularZone",co=Sa+"_ID",Xg=0,he=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new We(!1);onMicrotaskEmpty=new We(!1);onStable=new We(!1);onError=new We(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=od}=t;if(typeof Zone>"u")throw new C(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,nm(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Sa)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new C(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new C(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,em,Ln,Ln);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)}},em={};function Oa(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 tm(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){sd(()=>{e.callbackScheduled=!1,as(e),e.isCheckStableRunning=!0,Oa(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),as(e)}function nm(e){let t=()=>{tm(e)},n=Xg++;e._inner=e._inner.fork({name:"angular",properties:{[Sa]:!0,[co]:n,[co+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(rm(c))return r.invokeTask(i,s,a,c);try{return fl(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),pl(e)}},onInvoke:(r,o,i,s,a,c,l)=>{try{return fl(e),r.invoke(i,s,a,c,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!om(c)&&t(),pl(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,as(e),Oa(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,o,i,s)=>(r.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function as(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function fl(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function pl(e){e._nesting--,Oa(e)}var lo=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new We;onMicrotaskEmpty=new We;onStable=new We;onError=new We;run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}};function rm(e){return ad(e,"__ignore_ng_zone__")}function om(e){return ad(e,"__scheduler_tick__")}function ad(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var Et=class{_console=console;handleError(t){this._console.error("ERROR",t)}},im=new k("",{providedIn:"root",factory:()=>{let e=T(he),t=T(Et);return n=>e.runOutsideAngular(()=>t.handleError(n))}}),uo=class{destroyed=!1;listeners=null;errorHandler=T(Et,{optional:!0});destroyRef=T(tn);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new C(953,!1);return(this.listeners??=[]).push(t),{unsubscribe:()=>{let n=this.listeners?.indexOf(t);n!==void 0&&n!==-1&&this.listeners?.splice(n,1)}}}emit(t){if(this.destroyed)throw new C(953,!1);if(this.listeners===null)return;let n=x(null);try{for(let r of this.listeners)try{r(t)}catch(o){this.errorHandler?.handleError(o)}}finally{x(n)}}};function ON(e){return new uo}function hl(e,t){return ru(e,t)}function sm(e){return ru(No,e)}var AN=(hl.required=sm,hl);function am(){return nn(z(),y())}function nn(e,t){return new Uo(me(e,t))}var Uo=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=am}return e})();function cd(e){return e instanceof Uo?e.nativeElement:e}function cm(){return this._results[Symbol.iterator]()}var cs=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new pe}constructor(t=!1){this._emitDistinctChangesOnly=t}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;let r=Yh(t);(this._changesDetected=!Zh(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=cm};function ld(e){return(e.flags&128)===128}var ud=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(ud||{}),dd=new Map,lm=0;function um(){return lm++}function dm(e){dd.set(e[ko],e)}function ls(e){dd.delete(e[ko])}var gl="__ngContext__";function Te(e,t){Ge(t)?(e[gl]=t[ko],dm(t)):e[gl]=t}function fd(e){return hd(e[Rn])}function pd(e){return hd(e[Ee])}function hd(e){for(;e!==null&&!je(e);)e=e[Ee];return e}var us;function RN(e){us=e}function Aa(){if(us!==void 0)return us;if(typeof document<"u")return document;throw new C(210,!1)}var kN=new k("",{providedIn:"root",factory:()=>fm}),fm="ng",pm=new k(""),PN=new k("",{providedIn:"platform",factory:()=>"unknown"});var LN=new k("",{providedIn:"root",factory:()=>Aa().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),hm={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},FN=new k("",{providedIn:"root",factory:()=>hm});var gm="h",mm="b";var ym="di",gd="s";var md=!1,vm=new k("",{providedIn:"root",factory:()=>md});var Im=new k("");var yd=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(yd||{}),vd=new k(""),ml=new Set;function Ne(e){ml.has(e)||(ml.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var Em=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=U({token:e,providedIn:"root",factory:()=>new e})}return e})();var se=function(e){return e[e.NOT_STARTED=0]="NOT_STARTED",e[e.IN_PROGRESS=1]="IN_PROGRESS",e[e.COMPLETE=2]="COMPLETE",e[e.FAILED=3]="FAILED",e}(se||{}),yl=0,wm=1,B=function(e){return e[e.Placeholder=0]="Placeholder",e[e.Loading=1]="Loading",e[e.Complete=2]="Complete",e[e.Error=3]="Error",e}(B||{}),fo=function(e){return e[e.Initial=-1]="Initial",e}(fo||{}),Dm=0,qo=1;var bm=4,Cm=5,Mm=6,xm=7,ki=8,_m=9,Id=function(e){return e[e.Manual=0]="Manual",e[e.Playthrough=1]="Playthrough",e}(Id||{});function Tm(e,t,n){let r=wd(e);t[r]===null&&(t[r]=[]),t[r].push(n)}function Ur(e,t){let n=wd(e),r=t[n];if(r!==null){for(let o of r)o();t[n]=null}}function Ed(e){Ur(1,e),Ur(0,e),Ur(2,e)}function wd(e){let t=bm;return e===1?t=Cm:e===2&&(t=_m),t}function Wo(e){return e+1}function Yn(e,t){let n=e[I],r=Wo(t.index);return e[r]}function Nm(e,t,n){let r=e[I],o=Wo(t);e[o]=n}function Jn(e,t){let n=Wo(t.index);return e.data[n]}function Sm(e,t,n){let r=Wo(t);e.data[r]=n}function Om(e,t,n){let r=t[I],o=Jn(r,n);switch(e){case B.Complete:return o.primaryTmplIndex;case B.Loading:return o.loadingTmplIndex;case B.Error:return o.errorTmplIndex;case B.Placeholder:return o.placeholderTmplIndex;default:return null}}function vl(e,t){return t===B.Placeholder?e.placeholderBlockConfig?.[yl]??null:t===B.Loading?e.loadingBlockConfig?.[yl]??null:null}function Am(e){return e.loadingBlockConfig?.[wm]??null}function Il(e,t){if(!e||e.length===0)return t;let n=new Set(e);for(let r of t)n.add(r);return e.length===n.size?e:Array.from(n)}function Rm(e,t){let n=t.primaryTmplIndex+L;return zn(e,n)}var km=new k("");var Pm=()=>null;function Ra(e,t,n=!1){return Pm(e,t,n)}function Lm(e){return e.get(Im,!1,{optional:!0})}var Fn=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Fn||{}),Ar;function Fm(){if(Ar===void 0&&(Ar=null,qe.trustedTypes))try{Ar=qe.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Ar}function zo(e){return Fm()?.createHTML(e)||e}var Rr;function Dd(){if(Rr===void 0&&(Rr=null,qe.trustedTypes))try{Rr=qe.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Rr}function El(e){return Dd()?.createHTML(e)||e}function wl(e){return Dd()?.createScriptURL(e)||e}var Le=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${tu})`}},ds=class extends Le{getTypeName(){return"HTML"}},fs=class extends Le{getTypeName(){return"Style"}},ps=class extends Le{getTypeName(){return"Script"}},hs=class extends Le{getTypeName(){return"URL"}},gs=class extends Le{getTypeName(){return"ResourceURL"}};function rn(e){return e instanceof Le?e.changingThisBreaksApplicationSecurity:e}function ka(e,t){let n=jm(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${tu})`)}return n===t}function jm(e){return e instanceof Le&&e.getTypeName()||null}function jN(e){return new ds(e)}function VN(e){return new fs(e)}function HN(e){return new ps(e)}function $N(e){return new hs(e)}function BN(e){return new gs(e)}function bd(e){let t=new ys(e);return Vm()?new ms(t):t}var ms=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(zo(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}},ys=class{defaultDoc;inertDocument;constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){let n=this.inertDocument.createElement("template");return n.innerHTML=zo(t),n}};function Vm(){try{return!!new window.DOMParser().parseFromString(zo(""),"text/html")}catch{return!1}}var Hm=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Pa(e){return e=String(e),e.match(Hm)?e:"unsafe:"+e}function Ve(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function Kn(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var Cd=Ve("area,br,col,hr,img,wbr"),Md=Ve("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),xd=Ve("rp,rt"),$m=Kn(xd,Md),Bm=Kn(Md,Ve("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Um=Kn(xd,Ve("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),vs=Kn(Cd,Bm,Um,$m),La=Ve("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),qm=Ve("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Wm=Ve("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),_d=Kn(La,qm,Wm),zm=Ve("script,style,template"),Is=class{sanitizedSomething=!1;buf=[];sanitizeChildren(t){let n=t.firstChild,r=!0,o=[];for(;n;){if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild){o.push(n),n=Zm(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=Qm(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=Dl(t).toLowerCase();if(!vs.hasOwnProperty(n))return this.sanitizedSomething=!0,!zm.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);let r=t.attributes;for(let o=0;o<r.length;o++){let i=r.item(o),s=i.name,a=s.toLowerCase();if(!_d.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;La[a]&&(c=Pa(c)),this.buf.push(" ",s,'="',bl(c),'"')}return this.buf.push(">"),!0}endElement(t){let n=Dl(t).toLowerCase();vs.hasOwnProperty(n)&&!Cd.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(bl(t))}};function Gm(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function Qm(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw Td(t);return t}function Zm(e){let t=e.firstChild;if(t&&Gm(e,t))throw Td(t);return t}function Dl(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function Td(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var Ym=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Jm=/([^\#-~ |!])/g;function bl(e){return e.replace(/&/g,"&").replace(Ym,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(Jm,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var kr;function Km(e,t){let n=null;try{kr=kr||bd(e);let r=t?String(t):"";n=kr.getInertBodyElement(r);let o=5,i=r;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=kr.getInertBodyElement(r)}while(r!==i);let a=new Is().sanitizeChildren(Es(n)||n);return zo(a)}finally{if(n){let r=Es(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function Es(e){return"content"in e&&Xm(e)?e.content:null}function Xm(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var Go=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}(Go||{});function UN(e){let t=Fa();return t?El(t.sanitize(Go.HTML,e)||""):ka(e,"HTML")?El(rn(e)):Km(Aa(),Ie(e))}function ey(e){let t=Fa();return t?t.sanitize(Go.URL,e)||"":ka(e,"URL")?rn(e):Pa(Ie(e))}function ty(e){let t=Fa();if(t)return wl(t.sanitize(Go.RESOURCE_URL,e)||"");if(ka(e,"ResourceURL"))return wl(rn(e));throw new C(904,!1)}function ny(e,t){return t==="src"&&(e==="embed"||e==="frame"||e==="iframe"||e==="media"||e==="script")||t==="href"&&(e==="base"||e==="link")?ty:ey}function qN(e,t,n){return ny(t,n)(e)}function Fa(){let e=y();return e&&e[Re].sanitizer}var ry=/^>|^->|<!--|-->|--!>|<!-$/g,oy=/(<|>)/g,iy="\u200B$1\u200B";function sy(e){return e.replace(ry,t=>t.replace(oy,iy))}function Nd(e){return e instanceof Function?e():e}var Ke=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Ke||{}),ws=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(ws||{}),Ds;function ja(e,t){return Ds(e,t)}function ay(e){Ds===void 0&&(Ds=e())}function Ht(e,t,n,r,o){if(r!=null){let i,s=!1;je(r)?i=r:Ge(r)&&(s=!0,r=r[Fe]);let a=ge(r);e===0&&n!==null?o==null?Fd(t,n,a):wt(t,n,a,o||null,!0):e===1&&n!==null?wt(t,n,a,o||null,!0):e===2?Ud(t,a,s):e===3&&t.destroyNode(a),i!=null&&my(t,e,i,n,o)}}function Sd(e,t){return e.createText(t)}function Od(e,t,n){e.setValue(t,n)}function Ad(e,t){return e.createComment(sy(t))}function Va(e,t,n){return e.createElement(t,n)}function cy(e,t){Rd(e,t),t[Fe]=null,t[re]=null}function ly(e,t,n,r,o,i){r[Fe]=o,r[re]=t,Yo(e,r,n,1,o,i)}function Rd(e,t){t[Re].changeDetectionScheduler?.notify(10),Yo(e,t,t[O],2,null,null)}function uy(e){let t=e[Rn];if(!t)return Pi(e[I],e);for(;t;){let n=null;if(Ge(t))n=t[Rn];else{let r=t[te];r&&(n=r)}if(!n){for(;t&&!t[Ee]&&t!==e;)Ge(t)&&Pi(t[I],t),t=t[J];t===null&&(t=e),Ge(t)&&Pi(t[I],t),n=t&&t[Ee]}t=n}}function dy(e,t,n,r){let o=te+r,i=n.length;r>0&&(n[o-1][Ee]=t),r<i-te?(t[Ee]=n[o],gu(n,te+r,t)):(n.push(t),t[Ee]=null),t[J]=n;let s=t[pt];s!==null&&n!==s&&kd(s,t);let a=t[ke];a!==null&&a.insertView(e),Xi(t),t[v]|=128}function kd(e,t){let n=e[Qt],r=t[J];if(Ge(r))e[v]|=to.HasTransplantedViews;else{let o=r[J][ae];t[ae]!==o&&(e[v]|=to.HasTransplantedViews)}n===null?e[Qt]=[t]:n.push(t)}function Ha(e,t){let n=e[Qt],r=n.indexOf(t);n.splice(r,1)}function jn(e,t){if(e.length<=te)return;let n=te+t,r=e[n];if(r){let o=r[pt];o!==null&&o!==e&&Ha(o,r),t>0&&(e[n-1][Ee]=r[Ee]);let i=Yr(e,te+t);cy(r[I],r);let s=i[ke];s!==null&&s.detachView(i[I]),r[J]=null,r[Ee]=null,r[v]&=-129}return r}function Qo(e,t){if(!(t[v]&256)){let n=t[O];n.destroyNode&&Yo(e,t,n,3,null,null),uy(t)}}function Pi(e,t){if(t[v]&256)return;let n=x(null);try{t[v]&=-129,t[v]|=256,t[fe]&&Ft(t[fe]),py(e,t),fy(e,t),t[I].type===1&&t[O].destroy();let r=t[pt];if(r!==null&&je(t[J])){r!==t[J]&&Ha(r,t);let o=t[ke];o!==null&&o.detachView(e)}ls(t)}finally{x(n)}}function fy(e,t){let n=e.cleanup,r=t[Xr];if(n!==null)for(let s=0;s<n.length-1;s+=2)if(typeof n[s]=="string"){let a=n[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[n[s+1]];n[s].call(a)}r!==null&&(t[Xr]=null);let o=t[ze];if(o!==null){t[ze]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[ht];if(i!==null){t[ht]=null;for(let s of i)s.destroy()}}function py(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 vt)){let i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],c=i[s+1];Me(4,a,c);try{c.call(a)}finally{Me(5,a,c)}}else{Me(4,o,i);try{i.call(o)}finally{Me(5,o,i)}}}}}function Pd(e,t,n){return Ld(e,t.parent,n)}function Ld(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[Fe];{let{componentOffset:o}=r;if(o>-1){let{encapsulation:i}=e.data[r.directiveStart+o];if(i===Fn.None||i===Fn.Emulated)return null}return me(r,n)}}function wt(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Fd(e,t,n){e.appendChild(t,n)}function Cl(e,t,n,r,o){r!==null?wt(e,t,n,r,o):Fd(e,t,n)}function $a(e,t){return e.parentNode(t)}function hy(e,t){return e.nextSibling(t)}function jd(e,t,n){return Hd(e,t,n)}function Vd(e,t,n){return e.type&40?me(e,n):null}var Hd=Vd,bs;function $d(e,t){Hd=e,bs=t}function Zo(e,t,n,r){let o=Pd(e,r,t),i=t[O],s=r.parent||t[re],a=jd(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)Cl(i,o,n[c],a,!1);else Cl(i,o,n,a,!1);bs!==void 0&&bs(i,r,t,n,o)}function bn(e,t){if(t!==null){let n=t.type;if(n&3)return me(t,e);if(n&4)return Cs(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return bn(e,r);{let o=e[t.index];return je(o)?Cs(-1,o):ge(o)}}else{if(n&128)return bn(e,t.next);if(n&32)return ja(t,e)()||ge(e[t.index]);{let r=Bd(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=mt(e[ae]);return bn(o,r)}else return bn(e,t.next)}}}return null}function Bd(e,t){if(t!==null){let r=e[ae][re],o=t.projection;return r.projection[o]}return null}function Cs(e,t){let n=te+e+1;if(n<t.length){let r=t[n],o=r[I].firstChild;if(o!==null)return bn(r,o)}return t[gt]}function Ud(e,t,n){e.removeChild(null,t,n)}function Ba(e,t,n,r,o,i,s){for(;n!=null;){if(n.type===128){n=n.next;continue}let a=r[n.index],c=n.type;if(s&&t===0&&(a&&Te(ge(a),r),n.flags|=2),(n.flags&32)!==32)if(c&8)Ba(e,t,n.child,r,o,i,!1),Ht(t,e,o,a,i);else if(c&32){let l=ja(n,r),u;for(;u=l();)Ht(t,e,o,u,i);Ht(t,e,o,a,i)}else c&16?qd(e,t,r,n,o,i):Ht(t,e,o,a,i);n=s?n.projectionNext:n.next}}function Yo(e,t,n,r,o,i){Ba(n,r,e.firstChild,t,o,i,!1)}function gy(e,t,n){let r=t[O],o=Pd(e,n,t),i=n.parent||t[re],s=jd(i,n,t);qd(r,0,t,n,o,s)}function qd(e,t,n,r,o,i){let s=n[ae],c=s[re].projection[r.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++){let u=c[l];Ht(t,e,o,u,i)}else{let l=c,u=s[J];ld(r)&&(l.flags|=128),Ba(e,t,l,u,o,i,!0)}}function my(e,t,n,r,o){let i=n[gt],s=ge(n);i!==s&&Ht(t,e,r,i,o);for(let a=te;a<n.length;a++){let c=n[a];Yo(c[I],c,e,t,r,i)}}function yy(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:ws.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=ws.Important),e.setStyle(n,r,o,i))}}function vy(e,t,n){e.setAttribute(t,"style",n)}function Wd(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function zd(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&ns(e,t,r),o!==null&&Wd(e,t,o),i!==null&&vy(e,t,i)}function Iy(e,t,n){let r=e.length;for(;;){let o=e.indexOf(t,n);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}var Gd="ng-template";function Ey(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&Iy(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(Ua(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 Ua(e){return e.type===4&&e.value!==Gd}function wy(e,t,n){let r=e.type===4&&!n?Gd:e.value;return t===r}function Dy(e,t,n){let r=4,o=e.attrs,i=o!==null?My(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!ve(r)&&!ve(c))return!1;if(s&&ve(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!wy(e,c,n)||c===""&&t.length===1){if(ve(r))return!1;s=!0}}else if(r&8){if(o===null||!Ey(e,o,c,n)){if(ve(r))return!1;s=!0}}else{let l=t[++a],u=by(c,o,Ua(e),n);if(u===-1){if(ve(r))return!1;s=!0;continue}if(l!==""){let d;if(u>i?d="":d=o[u+1].toLowerCase(),r&2&&l!==d){if(ve(r))return!1;s=!0}}}}return ve(r)||s}function ve(e){return(e&1)===0}function by(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 xy(t,e)}function Qd(e,t,n=!1){for(let r=0;r<t.length;r++)if(Dy(e,t[r],n))return!0;return!1}function Cy(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if(!(n&1))return t[n+1]}return null}function My(e){for(let t=0;t<e.length;t++){let n=e[t];if(Gu(n))return t}return e.length}function xy(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 _y(e,t){e:for(let n=0;n<t.length;n++){let r=t[n];if(e.length===r.length){for(let o=0;o<e.length;o++)if(e[o]!==r[o])continue e;return!0}}return!1}function Ml(e,t){return e?":not("+t.trim()+")":t}function Ty(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!==""&&!ve(s)&&(t+=Ml(i,o),o=""),r=s,i=i||!ve(r);n++}return o!==""&&(t+=Ml(i,o)),t}function Ny(e){return e.map(Ty).join(",")}function Sy(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(!ve(o))break;o=i}r++}return{attrs:t,classes:n}}var G={};function WN(e=1){Zd(A(),y(),be()+e,!1)}function Zd(e,t,n,r){if(!r)if((t[v]&3)===3){let i=e.preOrderCheckHooks;i!==null&&Hr(t,i,n)}else{let i=e.preOrderHooks;i!==null&&$r(t,i,0,n)}yt(n)}function Jo(e,t=N.Default){let n=y();if(n===null)return Qe(e,t);let r=z();return ed(r,n,ne(e),t)}function Yd(e,t,n,r,o,i){let s=x(null);try{let a=null;o&Ke.SignalBased&&(a=t[r][H]),a!==null&&a.transformFn!==void 0&&(i=a.transformFn(i)),o&Ke.HasDecoratorInputTransform&&(i=e.inputTransforms[r].call(t,i)),e.setInput!==null?e.setInput(t,a,i,n,r):_u(t,a,r,i)}finally{x(s)}}function Oy(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)yt(~o);else{let i=o,s=n[++r],a=n[++r];Ng(s,i);let c=t[i];a(2,c)}}}finally{yt(-1)}}function Ko(e,t,n,r,o,i,s,a,c,l,u){let d=t.blueprint.slice();return d[Fe]=o,d[v]=r|4|128|8|64|1024,(l!==null||e&&e[v]&2048)&&(d[v]|=2048),Au(d),d[J]=d[Xt]=e,d[ee]=n,d[Re]=s||e&&e[Re],d[O]=a||e&&e[O],d[we]=c||e&&e[we]||null,d[re]=i,d[ko]=um(),d[Gt]=u,d[Mu]=l,d[ae]=t.type==2?e[ae]:d,d}function Nt(e,t,n,r,o){let i=e.data[t];if(i===null)i=qa(e,t,n,r,o),Tg()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=kn();i.injectorIndex=s===null?-1:s.injectorIndex}return De(i,!0),i}function qa(e,t,n,r,o){let i=Lu(),s=wa(),a=s?i:i&&i.parent,c=e.data[t]=Fy(e,a,n,t,r,o);return e.firstChild===null&&(e.firstChild=c),i!==null&&(s?i.child==null&&c.parent!==null&&(i.child=c):i.next===null&&(i.next=c,c.prev=i)),c}function Xn(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 Jd(e,t,n,r,o){let i=be(),s=r&2;try{yt(-1),s&&t.length>L&&Zd(e,t,L,!1),Me(s?2:0,o),n(r,o)}finally{yt(i),Me(s?3:1,o)}}function Wa(e,t,n){if(ya(t)){let r=x(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;s<i;s++){let a=e.data[s];if(a.contentQueries){let c=n[s];a.contentQueries(1,c,s)}}}finally{x(r)}}}function za(e,t,n){ku()&&(Uy(e,t,n,me(n,t)),(n.flags&64)===64&&ef(e,t,n))}function Ga(e,t,n=me){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 Kd(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=Qa(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Qa(e,t,n,r,o,i,s,a,c,l,u){let d=L+r,p=d+o,f=Ay(d,p),h=typeof l=="function"?l():l;return f[I]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:p,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i=="function"?i():i,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:c,consts:h,incompleteFirstPass:!1,ssrId:u}}function Ay(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:G);return n}function Ry(e,t,n,r){let i=r.get(vm,md)||n===Fn.ShadowDom,s=e.selectRootElement(t,i);return ky(s),s}function ky(e){Py(e)}var Py=()=>null;function Ly(e,t,n,r){let o=of(t);o.push(n),e.firstCreatePass&&sf(e).push(r,o.length-1)}function Fy(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return Pu()&&(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 xl(e,t,n,r,o){for(let i in t){if(!t.hasOwnProperty(i))continue;let s=t[i];if(s===void 0)continue;r??={};let a,c=Ke.None;Array.isArray(s)?(a=s[0],c=s[1]):a=s;let l=i;if(o!==null){if(!o.hasOwnProperty(i))continue;l=o[i]}e===0?_l(r,n,l,a,c):_l(r,n,l,a)}return r}function _l(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 jy(e,t,n){let r=t.directiveStart,o=t.directiveEnd,i=e.data,s=t.attrs,a=[],c=null,l=null;for(let u=r;u<o;u++){let d=i[u],p=n?n.get(d):null,f=p?p.inputs:null,h=p?p.outputs:null;c=xl(0,d.inputs,u,c,f),l=xl(1,d.outputs,u,l,h);let g=c!==null&&s!==null&&!Ua(t)?Xy(c,u,s):null;a.push(g)}c!==null&&(c.hasOwnProperty("class")&&(t.flags|=8),c.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=a,t.inputs=c,t.outputs=l}function Vy(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function on(e,t,n,r,o,i,s,a){let c=me(t,n),l=t.inputs,u;!a&&l!=null&&(u=l[r])?(Ja(e,n,u,r,o),Po(t)&&Hy(n,t.index)):t.type&3?(r=Vy(r),o=s!=null?s(o,t.value||"",r):o,i.setProperty(c,r,o)):t.type&12}function Hy(e,t){let n=Xe(t,e);n[v]&16||(n[v]|=64)}function Za(e,t,n,r){if(ku()){let o=r===null?null:{"":-1},i=Wy(e,n),s,a;i===null?s=a=null:[s,a]=i,s!==null&&Xd(e,t,n,s,o,a),o&&zy(n,r,o)}n.mergedAttrs=Pn(n.mergedAttrs,n.attrs)}function Xd(e,t,n,r,o,i){for(let l=0;l<r.length;l++)os(so(n,t),e,r[l].type);Qy(n,e.data.length,r.length);for(let l=0;l<r.length;l++){let u=r[l];u.providersResolver&&u.providersResolver(u)}let s=!1,a=!1,c=Xn(e,t,r.length,null);for(let l=0;l<r.length;l++){let u=r[l];n.mergedAttrs=Pn(n.mergedAttrs,u.hostAttrs),Zy(e,n,t,c,u),Gy(c,u,o),u.contentQueries!==null&&(n.flags|=4),(u.hostBindings!==null||u.hostAttrs!==null||u.hostVars!==0)&&(n.flags|=64);let d=u.type.prototype;!s&&(d.ngOnChanges||d.ngOnInit||d.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),s=!0),!a&&(d.ngOnChanges||d.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),a=!0),c++}jy(e,n,i)}function $y(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;By(s)!=a&&s.push(a),s.push(n,r,i)}}function By(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function Uy(e,t,n,r){let o=n.directiveStart,i=n.directiveEnd;Po(n)&&Yy(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||so(n,t),Te(r,t);let s=n.initialInputs;for(let a=o;a<i;a++){let c=e.data[a],l=It(t,e,a,n);if(Te(l,t),s!==null&&Ky(t,a-o,l,c,n,s),Ze(c)){let u=Xe(n.index,t);u[ee]=It(t,e,a,n)}}}function ef(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=Sg();try{yt(i);for(let a=r;a<o;a++){let c=e.data[a],l=t[a];ts(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&qy(c,l)}}finally{yt(-1),ts(s)}}function qy(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function Wy(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(Qd(t,s.selectors,!1))if(r||(r=[]),Ze(s))if(s.findHostDirectiveDefs!==null){let a=[];o=o||new Map,s.findHostDirectiveDefs(s,a,o),r.unshift(...a,s);let c=a.length;Ms(e,t,c)}else r.unshift(s),Ms(e,t,0);else o=o||new Map,s.findHostDirectiveDefs?.(s,r,o),r.push(s)}return r===null?null:[r,o]}function Ms(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function zy(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 C(-301,!1);r.push(t[o],i)}}}function Gy(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Ze(t)&&(n[""]=e)}}function Qy(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Zy(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=ft(o.type,!0)),s=new vt(i,Ze(o),Jo);e.blueprint[r]=s,n[r]=s,$y(e,t,r,Xn(e,n,o.hostVars,G),o)}function tf(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Yy(e,t,n){let r=me(t,e),o=Kd(n),i=e[Re].rendererFactory,s=Xo(e,Ko(e,o,null,tf(n),r,t,null,i.createRenderer(r,n),null,null,null));e[t.index]=s}function Jy(e,t,n,r,o,i){let s=me(e,t);Ya(t[O],s,i,e.value,n,r,o)}function Ya(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?Ie(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function Ky(e,t,n,r,o,i){let s=i[t];if(s!==null)for(let a=0;a<s.length;){let c=s[a++],l=s[a++],u=s[a++],d=s[a++];Yd(r,n,c,l,u,d)}}function Xy(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 nf(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function rf(e,t){let n=e.contentQueries;if(n!==null){let r=x(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];$o(i),a.contentQueries(2,t[s],s)}}}finally{x(r)}}}function Xo(e,t){return e[Rn]?e[ol][Ee]=t:e[Rn]=t,e[ol]=t,t}function xs(e,t,n){$o(0);let r=x(null);try{t(e,n)}finally{x(r)}}function of(e){return e[Xr]??=[]}function sf(e){return e.cleanup??=[]}function ei(e,t){let n=e[we],r=n?n.get(Et,null):null;r&&r.handleError(t)}function Ja(e,t,n,r,o){for(let i=0;i<n.length;){let s=n[i++],a=n[i++],c=n[i++],l=t[s],u=e.data[s];Yd(u,l,r,a,c,o)}}function Ka(e,t,n){let r=Fo(t,e);Od(e[O],r,n)}function ev(e,t){let n=Xe(t,e),r=n[I];tv(r,n);let o=n[Fe];o!==null&&n[Gt]===null&&(n[Gt]=Ra(o,n[we])),Xa(r,n,n[ee])}function tv(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function Xa(e,t,n){Ma(t);try{let r=e.viewQuery;r!==null&&xs(1,r,n);let o=e.template;o!==null&&Jd(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[ke]?.finishViewCreation(e),e.staticContentQueries&&rf(e,t),e.staticViewQueries&&xs(2,e.viewQuery,n);let i=e.components;i!==null&&nv(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[v]&=-5,xa()}}function nv(e,t){for(let n=0;n<t.length;n++)ev(e,t[n])}function sn(e,t,n,r){let o=x(null);try{let i=t.tView,a=e[v]&4096?4096:16,c=Ko(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),l=e[t.index];c[pt]=l;let u=e[ke];return u!==null&&(c[ke]=u.createEmbeddedView(i)),Xa(i,c,n),c}finally{x(o)}}function af(e,t){let n=te+t;if(n<e.length)return e[n]}function Dt(e,t){return!t||t.firstChild===null||ld(e)}function an(e,t,n,r=!0){let o=t[I];if(dy(o,t,e,n),r){let s=Cs(n,e),a=t[O],c=$a(a,e[gt]);c!==null&&ly(o,e[re],a,t,c,s)}let i=t[Gt];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function ec(e,t){let n=jn(e,t);return n!==void 0&&Qo(n[I],n),n}function po(e,t,n,r,o=!1){for(;n!==null;){if(n.type===128){n=o?n.projectionNext:n.next;continue}let i=t[n.index];i!==null&&r.push(ge(i)),je(i)&&rv(i,r);let s=n.type;if(s&8)po(e,t,n.child,r);else if(s&32){let a=ja(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=Bd(t,n);if(Array.isArray(a))r.push(...a);else{let c=mt(t[ae]);po(c[I],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function rv(e,t){for(let n=te;n<e.length;n++){let r=e[n],o=r[I].firstChild;o!==null&&po(r[I],r,o,t)}e[gt]!==e[Fe]&&t.push(e[gt])}var cf=[];function ov(e){return e[fe]??iv(e)}function iv(e){let t=cf.pop()??Object.create(av);return t.lView=e,t}function sv(e){e.lView[fe]!==e&&(e.lView=null,cf.push(e))}var av=ue(le({},ct),{consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{Gn(e.lView)},consumerOnSignalRead(){this.lView[fe]=this}});function cv(e){let t=e[fe]??Object.create(lv);return t.lView=e,t}var lv=ue(le({},ct),{consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let t=mt(e.lView);for(;t&&!lf(t[I]);)t=mt(t);t&&Ia(t)},consumerOnSignalRead(){this.lView[fe]=this}});function lf(e){return e.type!==2}function uf(e){if(e[ht]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[ht])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[v]&8192)}}var uv=100;function df(e,t=!0,n=0){let o=e[Re].rendererFactory,i=!1;i||o.begin?.();try{dv(e,n)}catch(s){throw t&&ei(e,s),s}finally{i||o.end?.()}}function dv(e,t){let n=ju();try{no(!0),_s(e,t);let r=0;for(;Vo(e);){if(r===uv)throw new C(103,!1);r++,_s(e,1)}}finally{no(n)}}function fv(e,t,n,r){let o=t[v];if((o&256)===256)return;let i=!1,s=!1;Ma(t);let a=!0,c=null,l=null;i||(lf(e)?(l=ov(t),c=Lt(l)):Hc()===null?(a=!1,l=cv(t),c=Lt(l)):t[fe]&&(Ft(t[fe]),t[fe]=null));try{Au(t),_g(e.bindingStartIndex),n!==null&&Jd(e,t,n,2,r);let u=(o&3)===3;if(!i)if(u){let f=e.preOrderCheckHooks;f!==null&&Hr(t,f,null)}else{let f=e.preOrderHooks;f!==null&&$r(t,f,0,null),Oi(t,0)}if(s||pv(t),uf(t),ff(t,0),e.contentQueries!==null&&rf(e,t),!i)if(u){let f=e.contentCheckHooks;f!==null&&Hr(t,f)}else{let f=e.contentHooks;f!==null&&$r(t,f,1),Oi(t,1)}Oy(e,t);let d=e.components;d!==null&&hf(t,d,0);let p=e.viewQuery;if(p!==null&&xs(2,p,r),!i)if(u){let f=e.viewCheckHooks;f!==null&&Hr(t,f)}else{let f=e.viewHooks;f!==null&&$r(t,f,2),Oi(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Vr]){for(let f of t[Vr])f();t[Vr]=null}i||(t[v]&=-73)}catch(u){throw i||Gn(t),u}finally{l!==null&&(In(l,c),a&&sv(l)),xa()}}function ff(e,t){for(let n=fd(e);n!==null;n=pd(n))for(let r=te;r<n.length;r++){let o=n[r];pf(o,t)}}function pv(e){for(let t=fd(e);t!==null;t=pd(t)){if(!(t[v]&to.HasTransplantedViews))continue;let n=t[Qt];for(let r=0;r<n.length;r++){let o=n[r];Ia(o)}}}function hv(e,t,n){let r=Xe(t,e);pf(r,n)}function pf(e,t){va(e)&&_s(e,t)}function _s(e,t){let r=e[I],o=e[v],i=e[fe],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&En(i)),s||=!1,i&&(i.dirty=!1),e[v]&=-9217,s)fv(r,e,r.template,e[ee]);else if(o&8192){uf(e),ff(e,1);let a=r.components;a!==null&&hf(e,a,1)}}function hf(e,t,n){for(let r=0;r<t.length;r++)hv(e,t[r],n)}function ti(e,t){let n=ju()?64:1088;for(e[Re].changeDetectionScheduler?.notify(t);e;){e[v]|=n;let r=mt(e);if(Ji(e)&&!r)return e;e=r}return null}var bt=class{_lView;_cdRefInjectingView;notifyErrorHandler;_appRef=null;_attachedToViewContainer=!1;get rootNodes(){let t=this._lView,n=t[I];return po(n,t,n.firstChild,[])}constructor(t,n,r=!0){this._lView=t,this._cdRefInjectingView=n,this.notifyErrorHandler=r}get context(){return this._lView[ee]}get dirty(){return!!(this._lView[v]&9280)||!!this._lView[fe]?.dirty}set context(t){this._lView[ee]=t}get destroyed(){return(this._lView[v]&256)===256}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[J];if(je(t)){let n=t[eo],r=n?n.indexOf(this):-1;r>-1&&(jn(t,r),Yr(n,r))}this._attachedToViewContainer=!1}Qo(this._lView[I],this._lView)}onDestroy(t){Ea(this._lView,t)}markForCheck(){ti(this._cdRefInjectingView||this._lView,4)}markForRefresh(){Ia(this._cdRefInjectingView||this._lView)}detach(){this._lView[v]&=-129}reattach(){Xi(this._lView),this._lView[v]|=128}detectChanges(){this._lView[v]|=1024,df(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new C(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=Ji(this._lView),n=this._lView[pt];n!==null&&!t&&Ha(n,this._lView),Rd(this._lView[I],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new C(902,!1);this._appRef=t;let n=Ji(this._lView),r=this._lView[pt];r!==null&&!n&&kd(r,this._lView),Xi(this._lView)}},ho=(()=>{class e{static __NG_ELEMENT_ID__=yv}return e})(),gv=ho,mv=class extends gv{_declarationLView;_declarationTContainer;elementRef;constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){let o=sn(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new bt(o)}};function yv(){return ni(z(),y())}function ni(e,t){return e.type&4?new mv(t,e,nn(e,t)):null}function gf(e,t,n){let r=t.insertBeforeIndex,o=Array.isArray(r)?r[0]:r;return o===null?Vd(e,t,n):ge(n[o])}function mf(e,t,n,r,o){let i=t.insertBeforeIndex;if(Array.isArray(i)){let s=r,a=null;if(t.type&3||(a=s,s=o),s!==null&&t.componentOffset===-1)for(let c=1;c<i.length;c++){let l=n[i[c]];wt(e,s,l,a,!1)}}}function yf(e,t){if(e.push(t),e.length>1)for(let n=e.length-2;n>=0;n--){let r=e[n];vf(r)||vv(r,t)&&Iv(r)===null&&Ev(r,t.index)}}function vf(e){return!(e.type&64)}function vv(e,t){return vf(t)||e.index>t.index}function Iv(e){let t=e.insertBeforeIndex;return Array.isArray(t)?t[0]:t}function Ev(e,t){let n=e.insertBeforeIndex;Array.isArray(n)?n[0]=t:($d(gf,mf),e.insertBeforeIndex=t)}function xn(e,t){let n=e.data[t];return n===null||typeof n=="string"?null:n.hasOwnProperty("currentCaseLViewIndex")?n:n.value}function wv(e,t,n){let r=e.data[t];r===null?e.data[t]=n:r.value=n}function Dv(e,t){let n=e.insertBeforeIndex;n===null?($d(gf,mf),n=e.insertBeforeIndex=[null,t]):(Sh(Array.isArray(n),!0,"Expecting array here"),n.push(t))}function bv(e,t,n){let r=qa(e,n,64,null,null);return yf(t,r),r}function ri(e,t){let n=t[e.currentCaseLViewIndex];return n===null?n:n<0?~n:n}function Cv(e){return e>>>17}function Mv(e){return(e&131070)>>>1}function xv(e,t,n){return e|t<<17|n<<1}function _v(e){return e===-1}function If(e,t,n){e.index=0;let r=ri(t,n);r!==null?e.removes=t.remove[r]:e.removes=X}function Ts(e){if(e.index<e.removes.length){let t=e.removes[e.index++];if(t>0)return e.lView[t];{e.stack.push(e.index,e.removes);let n=~t,r=e.lView[I].data[n];return If(e,r,e.lView),Ts(e)}}else return e.stack.length===0?null:(e.removes=e.stack.pop(),e.index=e.stack.pop(),Ts(e))}function Tv(){let e={stack:[],index:-1};function t(n,r){for(e.lView=r;e.stack.length;)e.stack.pop();return If(e,n.value,r),Ts.bind(null,e)}return t}var GN=new RegExp(`^(\\d+)*(${mm}|${gm})*(.*)`);var Nv=()=>{};function Sv(e,t,n,r){Nv(e,t,n,r)}var Ov=()=>{};function Av(e,t,n){Ov(e,t,n)}var Rv=()=>null;function Zt(e,t){return Rv(e,t)}var Ns=class{},go=class{},Ss=class{resolveComponentFactory(t){throw Error(`No component factory found for ${de(t)}.`)}},Yt=class{static NULL=new Ss},mo=class{},QN=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>kv()}return e})();function kv(){let e=y(),t=z(),n=Xe(t.index,e);return(Ge(n)?n:e)[O]}var Pv=(()=>{class e{static \u0275prov=U({token:e,providedIn:"root",factory:()=>null})}return e})();function yo(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=qi(o,a);else if(i==2){let c=a,l=t[++s];r=qi(r,c+": "+l+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}var vo=class extends Yt{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=_e(t);return new Ct(n,this.ngModule)}};function Tl(e,t){let n=[];for(let r in e){if(!e.hasOwnProperty(r))continue;let o=e[r];if(o===void 0)continue;let i=Array.isArray(o),s=i?o[0]:o,a=i?o[1]:Ke.None;t?n.push({propName:s,templateName:r,isSignal:(a&Ke.SignalBased)!==0}):n.push({propName:s,templateName:r})}return n}function Lv(e){let t=e.toLowerCase();return t==="svg"?Ou:t==="math"?vg:null}var Ct=class extends go{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;get inputs(){let t=this.componentDef,n=t.inputTransforms,r=Tl(t.inputs,!0);if(n!==null)for(let o of r)n.hasOwnProperty(o.propName)&&(o.transform=n[o.propName]);return r}get outputs(){return Tl(this.componentDef.outputs,!1)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=Ny(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,o){let i=x(null);try{o=o||this.ngModule;let s=o instanceof Ae?o:o?.injector;s&&this.componentDef.getStandaloneInjector!==null&&(s=this.componentDef.getStandaloneInjector(s)||s);let a=s?new qt(t,s):t,c=a.get(mo,null);if(c===null)throw new C(407,!1);let l=a.get(Pv,null),u=a.get(Je,null),d={rendererFactory:c,sanitizer:l,changeDetectionScheduler:u},p=c.createRenderer(null,this.componentDef),f=this.componentDef.selectors[0][0]||"div",h=r?Ry(p,r,this.componentDef.encapsulation,a):Va(p,f,Lv(f)),g=512;this.componentDef.signals?g|=4096:this.componentDef.onPush||(g|=16);let E=null;h!==null&&(E=Ra(h,a,!0));let m=Qa(0,null,null,1,0,null,null,null,null,null,null),_=Ko(null,m,null,g,null,null,d,p,a,null,E);Ma(_);let q,j,Q=null;try{let Z=this.componentDef,oe,St=null;Z.findHostDirectiveDefs?(oe=[],St=new Map,Z.findHostDirectiveDefs(Z,oe,St),oe.push(Z)):oe=[Z];let cc=Fv(_,h);Q=jv(cc,h,Z,oe,_,d,p),j=zn(m,L),h&&$v(p,Z,h,r),n!==void 0&&Bv(j,this.ngContentSelectors,n),q=Hv(Q,Z,oe,St,_,[Uv]),Xa(m,_,null)}catch(Z){throw Q!==null&&ls(Q),ls(_),Z}finally{xa()}return new Os(this.componentType,q,nn(j,_),_,j)}finally{x(i)}}},Os=class extends Ns{location;_rootLView;_tNode;instance;hostView;changeDetectorRef;componentType;previousInputValues=null;constructor(t,n,r,o,i){super(),this.location=r,this._rootLView=o,this._tNode=i,this.instance=n,this.hostView=this.changeDetectorRef=new bt(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;Ja(i[I],i,o,t,n),this.previousInputValues.set(t,n);let s=Xe(this._tNode.index,i);ti(s,1)}}get injector(){return new dt(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function Fv(e,t){let n=e[I],r=L;return e[r]=t,Nt(n,r,2,"#host",null)}function jv(e,t,n,r,o,i,s){let a=o[I];Vv(r,e,t,s);let c=null;t!==null&&(c=Ra(t,o[we]));let l=i.rendererFactory.createRenderer(t,n),u=Ko(o,Kd(n),null,tf(n),o[e.index],e,i,l,null,null,c);return a.firstCreatePass&&Ms(a,e,r.length-1),Xo(o,u),o[e.index]=u}function Vv(e,t,n,r){for(let o of e)t.mergedAttrs=Pn(t.mergedAttrs,o.hostAttrs);t.mergedAttrs!==null&&(yo(t,t.mergedAttrs,!0),n!==null&&zd(r,n,t))}function Hv(e,t,n,r,o,i){let s=z(),a=o[I],c=me(s,o);Xd(a,o,s,n,null,r);for(let u=0;u<n.length;u++){let d=s.directiveStart+u,p=It(o,a,d,s);Te(p,o)}ef(a,o,s),c&&Te(c,o);let l=It(o,a,s.directiveStart+s.componentOffset,s);if(e[ee]=o[ee]=l,i!==null)for(let u of i)u(l,t);return Wa(a,s,o),l}function $v(e,t,n,r){if(r)ns(e,n,["ng-version","19.0.4"]);else{let{attrs:o,classes:i}=Sy(t.selectors[0]);o&&ns(e,n,o),i&&i.length>0&&Wd(e,n,i.join(" "))}}function Bv(e,t,n){let r=e.projection=[];for(let o=0;o<t.length;o++){let i=n[o];r.push(i!=null&&i.length?Array.from(i):null)}}function Uv(){let e=z();Bo(y()[I],e)}var tc=(()=>{class e{static __NG_ELEMENT_ID__=qv}return e})();function qv(){let e=z();return wf(e,y())}var Wv=tc,Ef=class extends Wv{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return nn(this._hostTNode,this._hostLView)}get injector(){return new dt(this._hostTNode,this._hostLView)}get parentInjector(){let t=_a(this._hostTNode,this._hostLView);if(Qu(t)){let n=oo(t,this._hostLView),r=ro(t),o=n[I].data[r+8];return new dt(o,n)}else return new dt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=Nl(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-te}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=Zt(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,Dt(this._hostTNode,s)),a}createComponent(t,n,r,o,i){let s=t&&!pg(t),a;if(s)a=n;else{let h=n||{};a=h.index,r=h.injector,o=h.projectableNodes,i=h.environmentInjector||h.ngModuleRef}let c=s?t:new Ct(_e(t)),l=r||this.parentInjector;if(!i&&c.ngModule==null){let g=(s?l:this.parentInjector).get(Ae,null);g&&(i=g)}let u=_e(c.componentType??{}),d=Zt(this._lContainer,u?.id??null),p=d?.firstChild??null,f=c.create(l,o,p,i);return this.insertImpl(f.hostView,a,Dt(this._hostTNode,d)),f}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(Eg(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[J],l=new Ef(c,c[re],c[J]);l.detach(l.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return an(s,o,i,r),t.attachToViewContainerRef(),gu(Li(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Nl(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=jn(this._lContainer,n);r&&(Yr(Li(this._lContainer),n),Qo(r[I],r))}detach(t){let n=this._adjustIndex(t,-1),r=jn(this._lContainer,n);return r&&Yr(Li(this._lContainer),n)!=null?new bt(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Nl(e){return e[eo]}function Li(e){return e[eo]||(e[eo]=[])}function wf(e,t){let n,r=t[e.index];return je(r)?n=r:(n=nf(r,t,null,e),t[e.index]=n,Xo(t,n)),Gv(n,t,e,r),new Ef(n,e,t)}function zv(e,t){let n=e[O],r=n.createComment(""),o=me(t,e),i=$a(n,o);return wt(n,i,r,hy(n,o),!1),r}var Gv=Zv,Qv=()=>!1;function Df(e,t,n){return Qv(e,t,n)}function Zv(e,t,n,r){if(e[gt])return;let o;n.type&8?o=ge(r):o=zv(t,n),e[gt]=o}var As=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},Rs=class e{queries;constructor(t=[]){this.queries=t}createEmbeddedView(t){let n=t.queries;if(n!==null){let r=t.contentQueries!==null?t.contentQueries[0]:n.length,o=[];for(let i=0;i<r;i++){let s=n.getByIndex(i),a=this.queries[s.indexInDeclarationView];o.push(a.clone())}return new e(o)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)rc(t,n).matches!==null&&this.queries[n].setDirty()}},Io=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=tI(t):this.predicate=t}},ks=class e{queries;constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){let o=n!==null?n.length:0,i=this.getByIndex(r).embeddedTView(t,o);i&&(i.indexInDeclarationView=r,n!==null?n.push(i):n=[i])}return n!==null?new e(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}},Ps=class e{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(t,n=-1){this.metadata=t,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new e(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let n=this._declarationNodeIndex,r=t.parent;for(;r!==null&&r.type&8&&r.index!==n;)r=r.parent;return n===(r!==null?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){let r=this.metadata.predicate;if(Array.isArray(r))for(let o=0;o<r.length;o++){let i=r[o];this.matchTNodeWithReadOption(t,n,Yv(n,i)),this.matchTNodeWithReadOption(t,n,Br(n,t,i,!1,!1))}else r===ho?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Br(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===Uo||o===tc||o===ho&&n.type&4)this.addMatch(n.index,-2);else{let i=Br(n,t,o,!1,!1);i!==null&&this.addMatch(n.index,i)}else this.addMatch(n.index,r)}}addMatch(t,n){this.matches===null?this.matches=[t,n]:this.matches.push(t,n)}};function Yv(e,t){let n=e.localNames;if(n!==null){for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1]}return null}function Jv(e,t){return e.type&11?nn(e,t):e.type&4?ni(e,t):null}function Kv(e,t,n,r){return n===-1?Jv(t,e):n===-2?Xv(e,t,r):It(e,e[I],n,t)}function Xv(e,t,n){if(n===Uo)return nn(t,e);if(n===ho)return ni(t,e);if(n===tc)return wf(t,e)}function bf(e,t,n,r){let o=t[ke].queries[r];if(o.matches===null){let i=e.data,s=n.matches,a=[];for(let c=0;s!==null&&c<s.length;c+=2){let l=s[c];if(l<0)a.push(null);else{let u=i[l];a.push(Kv(t,u,s[c+1],n.metadata.read))}}o.matches=a}return o.matches}function Ls(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=bf(e,t,o,n);for(let a=0;a<i.length;a+=2){let c=i[a];if(c>0)r.push(s[a/2]);else{let l=i[a+1],u=t[-c];for(let d=te;d<u.length;d++){let p=u[d];p[pt]===p[J]&&Ls(p[I],p,l,r)}if(u[Qt]!==null){let d=u[Qt];for(let p=0;p<d.length;p++){let f=d[p];Ls(f[I],f,l,r)}}}}}return r}function nc(e,t){return e[ke].queries[t].queryList}function Cf(e,t,n){let r=new cs((n&4)===4);return Ly(e,t,r,r.destroy),(t[ke]??=new Rs).queries.push(new As(r))-1}function eI(e,t,n){let r=A();return r.firstCreatePass&&(xf(r,new Io(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),Cf(r,y(),t)}function Mf(e,t,n,r){let o=A();if(o.firstCreatePass){let i=z();xf(o,new Io(t,n,r),i.index),nI(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return Cf(o,y(),n)}function tI(e){return e.split(",").map(t=>t.trim())}function xf(e,t,n){e.queries===null&&(e.queries=new ks),e.queries.track(new Ps(t,n))}function nI(e,t){let n=e.contentQueries||(e.contentQueries=[]),r=n.length?n[n.length-1]:-1;t!==r&&n.push(e.queries.length-1,t)}function rc(e,t){return e.queries.getByIndex(t)}function _f(e,t){let n=e[I],r=rc(n,t);return r.crossesNgTemplate?Ls(n,e,t,[]):bf(n,e,r,t)}function rI(e){return typeof e=="function"&&e[H]!==void 0}function _n(e,t){Ne("NgSignals");let n=Yc(e),r=n[H];return t?.equal&&(r.equal=t.equal),n.set=o=>wn(r,o),n.update=o=>Jc(r,o),n.asReadonly=Tf.bind(n),n}function Tf(){let e=this[H];if(e.readonlyFn===void 0){let t=()=>this();t[H]=e,e.readonlyFn=t}return e.readonlyFn}function Nf(e){return rI(e)&&typeof e.set=="function"}function oc(e,t,n){let r,o=_i(()=>{r._dirtyCounter();let i=aI(r,e);if(t&&i===void 0)throw new C(-951,!1);return i});return r=o[H],r._dirtyCounter=_n(0),r._flatValue=void 0,o}function oI(e){return oc(!0,!1,e)}function iI(e){return oc(!0,!0,e)}function sI(e){return oc(!1,!1,e)}function Sf(e,t){let n=e[H];n._lView=y(),n._queryIndex=t,n._queryList=nc(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function aI(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[v]&4)return t?void 0:X;let o=nc(n,r),i=_f(n,r);return o.reset(i,cd),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}function Sl(e,t){return oI(t)}function cI(e,t){return iI(t)}var YN=(Sl.required=cI,Sl);function JN(e,t){return sI(t)}function Of(e,t){let n=Object.create(nu),r=new uo;n.value=e;function o(){return vn(n),Ol(n.value),n.value}return o[H]=n,o.asReadonly=Tf.bind(o),o.set=i=>{n.equal(n.value,i)||(wn(n,i),r.emit(i))},o.update=i=>{Ol(n.value),o.set(i(n.value))},o.subscribe=r.subscribe.bind(r),o.destroyRef=r.destroyRef,o}function Ol(e){if(e===No)throw new C(952,!1)}function Al(e,t){return Of(e,t)}function lI(e){return Of(No,e)}var KN=(Al.required=lI,Al);var Mt=class{},Fs=class{};function XN(e,t){return new Eo(e,t??null,[])}var Eo=class extends Mt{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new vo(this);constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=vu(t);this._bootstrapComponents=Nd(i.bootstrap),this._r3Injector=rd(t,n,[{provide:Mt,useValue:this},{provide:Yt,useValue:this.componentFactoryResolver},...r],de(t),new Set(["environment"])),o&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},js=class extends Fs{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new Eo(this.moduleType,t,[])}};var wo=class extends Mt{injector;componentFactoryResolver=new vo(this);instance=null;constructor(t){super();let n=new An([...t.providers,{provide:Mt,useValue:this},{provide:Yt,useValue:this.componentFactoryResolver}],t.parent||Ro(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Af(e,t,n=null){return new wo({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var uI=(()=>{class e{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=ha(!1,n.type),o=r.length>0?Af([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=U({token:e,providedIn:"environment",factory:()=>new e(Qe(Ae))})}return e})();function eS(e){return qn(()=>{let t=Rf(e),n=ue(le({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===ud.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(uI).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Fn.Emulated,styles:e.styles||X,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&Ne("NgStandalone"),kf(n);let r=e.dependencies;return n.directiveDefs=kl(r,!1),n.pipeDefs=kl(r,!0),n.id=pI(n),n})}function dI(e){return _e(e)||fa(e)}function fI(e){return e!==null}function tS(e){return qn(()=>({type:e.type,bootstrap:e.bootstrap||X,declarations:e.declarations||X,imports:e.imports||X,exports:e.exports||X,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Rl(e,t){if(e==null)return Wt;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a=Ke.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),t?(n[i]=a!==Ke.None?[r,a]:r,t[i]=s):n[i]=r}return n}function nS(e){return qn(()=>{let t=Rf(e);return kf(t),t})}function rS(e){return{type:e.type,name:e.name,factory:null,pure:e.pure!==!1,standalone:e.standalone??!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function Rf(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||Wt,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||X,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Rl(e.inputs,t),outputs:Rl(e.outputs),debugInfo:null}}function kf(e){e.features?.forEach(t=>t(e))}function kl(e,t){if(!e)return null;let n=t?pa:dI;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(fI)}function pI(e){let t=0,n=typeof e.consts=="function"?"":e.consts,r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,n,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(let i of r.join("|"))t=Math.imul(31,t)+i.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function hI(e){return Object.getPrototypeOf(e.prototype).constructor}function gI(e){let t=hI(e.type),n=!0,r=[e];for(;t;){let o;if(Ze(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new C(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=Pr(e.inputs),s.inputTransforms=Pr(e.inputTransforms),s.declaredInputs=Pr(e.declaredInputs),s.outputs=Pr(e.outputs);let a=o.hostBindings;a&&EI(e,a);let c=o.viewQuery,l=o.contentQueries;if(c&&vI(e,c),l&&II(e,l),mI(e,o),Th(e.outputs,o.outputs),Ze(o)&&o.data.animation){let u=e.data;u.animation=(u.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s<i.length;s++){let a=i[s];a&&a.ngInherit&&a(e),a===gI&&(n=!1)}}t=Object.getPrototypeOf(t)}yI(r)}function mI(e,t){for(let n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;let r=t.inputs[n];if(r!==void 0&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n],t.inputTransforms!==null)){let o=Array.isArray(r)?r[0]:r;if(!t.inputTransforms.hasOwnProperty(o))continue;e.inputTransforms??={},e.inputTransforms[o]=t.inputTransforms[o]}}}function yI(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){let o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=Pn(o.hostAttrs,n=Pn(n,o.hostAttrs))}}function Pr(e){return e===Wt?{}:e===X?[]:e}function vI(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function II(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function EI(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function oS(e){let t=e.inputConfig,n={};for(let r in t)if(t.hasOwnProperty(r)){let o=t[r];Array.isArray(o)&&o[3]&&(n[r]=o[3])}e.inputTransforms=n}function Pf(e){return ic(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function wI(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{let n=e[Symbol.iterator](),r;for(;!(r=n.next()).done;)t(r.value)}}function ic(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function oi(e,t,n){return e[t]=n}function DI(e,t){return e[t]}function ce(e,t,n){let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function Vn(e,t,n,r){let o=ce(e,t,n);return ce(e,t+1,r)||o}function bI(e,t,n,r,o){let i=Vn(e,t,n,r);return ce(e,t+2,o)||i}function CI(e,t,n,r,o,i){let s=Vn(e,t,n,r);return Vn(e,t+2,o,i)||s}function MI(e){return(e.flags&32)===32}function xI(e,t,n,r,o,i,s,a,c){let l=t.consts,u=Nt(t,e,4,s||null,a||null);Za(t,n,u,Pe(l,c)),Bo(t,u);let d=u.tView=Qa(2,u,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,l,null);return t.queries!==null&&(t.queries.template(t,u),d.queries=t.queries.embeddedTView(u)),u}function Hn(e,t,n,r,o,i,s,a,c,l){let u=n+L,d=t.firstCreatePass?xI(u,t,e,r,o,i,s,a,c):t.data[u];De(d,!1);let p=TI(t,e,d,n);Qn()&&Zo(t,e,p,d),Te(p,e);let f=nf(p,e,p,d);return e[u]=f,Xo(e,f),Df(f,d,e),Lo(d)&&za(t,e,d),c!=null&&Ga(e,d,l),d}function _I(e,t,n,r,o,i,s,a){let c=y(),l=A(),u=Pe(l.consts,i);return Hn(c,l,e,t,n,r,o,u,s,a),_I}var TI=NI;function NI(e,t,n,r){return Zn(!0),t[O].createComment("")}var SI=(()=>{class e{cachedInjectors=new Map;getOrCreateInjector(n,r,o,i){if(!this.cachedInjectors.has(n)){let s=o.length>0?Af(o,r,i):null;this.cachedInjectors.set(n,s)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=U({token:e,providedIn:"environment",factory:()=>new e})}return e})();var OI=new k("");function Fi(e,t,n){return e.get(SI).getOrCreateInjector(t,e,n,"")}function AI(e,t,n){if(e instanceof qt){let o=e.injector,i=e.parentInjector,s=Fi(i,t,n);return new qt(o,s)}let r=e.get(Ae);if(r!==e){let o=Fi(r,t,n);return new qt(e,o)}return Fi(e,t,n)}function ut(e,t,n,r=!1){let o=n[J],i=o[I];if(hg(o))return;let s=Yn(o,t),a=s[qo],c=s[xm];if(!(c!==null&&e<c)&&Pl(a,e)&&Pl(s[Dm]??-1,e)){let l=Jn(i,t),d=!r&&!0&&(Am(l)!==null||vl(l,B.Loading)!==null||vl(l,B.Placeholder))?LI:kI;try{d(e,s,n,t,o)}catch(p){ei(o,p)}}}function RI(e,t){let n=e[Bt];return n===null||n.length===0?null:n.find(r=>r.data[gd]===t[qo])??null}function kI(e,t,n,r,o){let i=Om(e,o,r);if(i!==null){t[qo]=e;let s=o[I],a=i+L,c=zn(s,a),l=0;ec(n,l);let u;if(e===B.Complete){let f=Jn(s,r),h=f.providers;h&&h.length>0&&(u=AI(o[we],f,h))}let d=RI(n,t);if(n[Bt]===null||n[Bt].length===0||d){n[Bt]=null;let f=sn(o,c,null,{injector:u,dehydratedView:d});an(n,f,l,Dt(c,d)),ti(f,2)}if(e===B.Complete&&Array.isArray(t[ki])){for(let f of t[ki])f();t[ki]=null}}}function Pl(e,t){return e<t}function PI(e,t){let n=e[t.index];ut(B.Placeholder,t,n)}function Ll(e,t,n){e.loadingPromise.then(()=>{e.loadingState===se.COMPLETE?ut(B.Complete,t,n):e.loadingState===se.FAILED&&ut(B.Error,t,n)})}var LI=null;var iS=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();var FI=new k("");function Lf(e){return!!e&&typeof e.then=="function"}function jI(e){return!!e&&typeof e.subscribe=="function"}var VI=new k("");var Ff=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=T(VI,{optional:!0})??[];injector=T(Ye);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=bu(this.injector,o);if(Lf(i))n.push(i);else if(jI(i)){let s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});n.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),n.length===0&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),jf=(()=>{class e{static \u0275prov=U({token:e,providedIn:"root",factory:()=>new Do})}return e})(),Do=class{queuedEffectCount=0;queues=new Map;schedule(t){this.enqueue(t)}enqueue(t){let n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||(this.queuedEffectCount++,r.add(t))}flush(){for(;this.queuedEffectCount>0;)for(let[t,n]of this.queues)t===null?this.flushQueue(n):t.run(()=>this.flushQueue(n))}flushQueue(t){for(let n of t)t.delete(n),this.queuedEffectCount--,n.run()}},HI=new k("");function $I(){Zc(()=>{throw new C(600,!1)})}function BI(e){return e.isBoundToModule}var UI=10;function qI(e,t,n){try{let r=n();return Lf(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var ii=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=T(im);afterRenderManager=T(Em);zonelessEnabled=T(Ta);rootEffectScheduler=T(jf);dirtyFlags=0;deferredDirtyFlags=0;tracingSnapshot=null;externalTestViews=new Set;afterTick=new pe;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=T(Tt).hasPendingTasks.pipe(Ce(n=>!n));constructor(){T(vd,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=T(Ae);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){let o=n instanceof go;if(!this._injector.get(Ff).done){let p=!o&&eg(n),f=!1;throw new C(405,f)}let s;o?s=n:s=this._injector.get(Yt).resolveComponentFactory(n),this.componentTypes.push(s.componentType);let a=BI(s)?void 0:this._injector.get(Mt),c=r||s.selector,l=s.create(Ye.NULL,[],c,a),u=l.location.nativeElement,d=l.injector.get(FI,null);return d?.registerApplication(u),l.onDestroy(()=>{this.detachView(l.hostView),qr(this.components,l),d?.unregisterApplication(u)}),this._loadComponent(l),l}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick=()=>{if(this.tracingSnapshot!==null){let r=this.tracingSnapshot;this.tracingSnapshot=null,r.run(yd.CHANGE_DETECTION,this._tick),r.dispose();return}if(this._runningTick)throw new C(101,!1);let n=x(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,x(n),this.afterTick.next()}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(mo,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let n=0;for(;this.dirtyFlags!==0&&n++<UI;)this.synchronizeOnce()}synchronizeOnce(){if(this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0,this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush()),this.dirtyFlags&7){let n=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:r,notifyErrorHandler:o}of this.allViews)WI(r,o,n,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}else this._rendererFactory?.begin?.(),this._rendererFactory?.end?.();this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>Vo(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){let r=n;qr(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(HI,[]).forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>qr(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new C(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function qr(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function WI(e,t,n,r){if(!n&&!Vo(e))return;df(e,t,n&&!r?0:1)}function zI(e,t,n){let r=t[we],o=t[I];if(e.loadingState!==se.NOT_STARTED)return e.loadingPromise??Promise.resolve();let i=Yn(t,n),s=Rm(o,e);e.loadingState=se.IN_PROGRESS,Ur(1,i);let a=e.dependencyResolverFn,c=r.get(Tt),l=c.add();return a?(e.loadingPromise=Promise.allSettled(a()).then(u=>{let d=!1,p=[],f=[];for(let h of u)if(h.status==="fulfilled"){let g=h.value,E=_e(g)||fa(g);if(E)p.push(E);else{let m=pa(g);m&&f.push(m)}}else{d=!0;break}if(e.loadingPromise=null,c.remove(l),d){if(e.loadingState=se.FAILED,e.errorTmplIndex===null){let h="",g=new C(750,!1);ei(t,g)}}else{e.loadingState=se.COMPLETE;let h=s.tView;if(p.length>0){h.directiveRegistry=Il(h.directiveRegistry,p);let g=p.map(m=>m.type),E=ha(!1,...g);e.providers=E}f.length>0&&(h.pipeRegistry=Il(h.pipeRegistry,f))}}),e.loadingPromise):(e.loadingPromise=Promise.resolve().then(()=>{e.loadingPromise=null,e.loadingState=se.COMPLETE,c.remove(l)}),e.loadingPromise)}function GI(e,t){return t[we].get(OI,null,{optional:!0})?.behavior!==Id.Manual}function QI(e,t,n){let r=t[I],o=t[n.index];if(!GI(e,t))return;let i=Yn(t,n),s=Jn(r,n);switch(Ed(i),s.loadingState){case se.NOT_STARTED:ut(B.Loading,n,o),zI(s,t,n),s.loadingState===se.IN_PROGRESS&&Ll(s,n,o);break;case se.IN_PROGRESS:ut(B.Loading,n,o),Ll(s,n,o);break;case se.COMPLETE:ut(B.Complete,n,o);break;case se.FAILED:ut(B.Error,n,o);break;default:}}function ZI(e,t,n){return e===0?Fl(t,n):e===2?!Fl(t,n):!0}function Fl(e,t){let n=e[we],r=Jn(e[I],t),o=Lm(n),i=r.flags!==null&&(r.flags&1)===1,a=Yn(e,t)[Mm]!==null;return!(i&&a&&o)}function sS(e,t,n,r,o,i,s,a,c,l){let u=y(),d=A(),p=e+L,f=Hn(u,d,e,null,0,0),h=u[we];if(d.firstCreatePass){Ne("NgDefer");let Q={primaryTmplIndex:t,loadingTmplIndex:r??null,placeholderTmplIndex:o??null,errorTmplIndex:i??null,placeholderBlockConfig:null,loadingBlockConfig:null,dependencyResolverFn:n??null,loadingState:se.NOT_STARTED,loadingPromise:null,providers:null,hydrateTriggers:null,prefetchTriggers:null,flags:l??0};c?.(d,Q,a,s),Sm(d,p,Q)}let g=u[p];Df(g,f,u);let E=null,m=null;if(g[Bt]?.length>0){let Q=g[Bt][0].data;m=Q[ym]??null,E=Q[gd]}let _=[null,fo.Initial,null,null,null,null,m,E,null,null];Nm(u,p,_);let q=null;m!==null&&(q=h.get(km),q.add(m,{lView:u,tNode:f,lContainer:g}));let j=()=>{Ed(_),m!==null&&q?.cleanup([m])};Tm(0,_,()=>Ru(u,j)),Ea(u,j)}function aS(e){let t=y(),n=_t();if(!ZI(0,t,n))return;let r=et();if(ce(t,r,e)){let o=x(null);try{let i=!!e,a=Yn(t,n)[qo];i===!1&&a===fo.Initial?PI(t,n):i===!0&&(a===fo.Initial||a===B.Placeholder)&&QI(0,t,n)}finally{x(o)}}}function YI(e,t,n,r){let o=y(),i=et();if(ce(o,i,t)){let s=A(),a=_t();Jy(a,o,e,t,n,r)}return YI}function Vf(e,t,n,r){return ce(e,et(),n)?t+Ie(n)+r:G}function Hf(e,t,n,r,o,i){let s=ba(),a=Vn(e,s,n,o);return Ho(2),a?t+Ie(n)+r+Ie(o)+i:G}function $f(e,t,n,r,o,i,s,a){let c=ba(),l=bI(e,c,n,o,s);return Ho(3),l?t+Ie(n)+r+Ie(o)+i+Ie(s)+a:G}function Lr(e,t){return e<<17|t<<2}function xt(e){return e>>17&32767}function JI(e){return(e&2)==2}function KI(e,t){return e&131071|t<<17}function Vs(e){return e|2}function Jt(e){return(e&131068)>>2}function ji(e,t){return e&-131069|t<<2}function XI(e){return(e&1)===1}function Hs(e){return e|1}function eE(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=xt(s),c=Jt(s);e[r]=n;let l=!1,u;if(Array.isArray(n)){let d=n;u=d[1],(u===null||Wn(d,u)>0)&&(l=!0)}else u=n;if(o)if(c!==0){let p=xt(e[a+1]);e[r+1]=Lr(p,a),p!==0&&(e[p+1]=ji(e[p+1],r)),e[a+1]=KI(e[a+1],r)}else e[r+1]=Lr(a,0),a!==0&&(e[a+1]=ji(e[a+1],r)),a=r;else e[r+1]=Lr(c,0),a===0?a=r:e[c+1]=ji(e[c+1],r),c=r;l&&(e[r+1]=Vs(e[r+1])),jl(e,u,r,!0),jl(e,u,r,!1),tE(t,u,e,r,i),s=Lr(a,c),i?t.classBindings=s:t.styleBindings=s}function tE(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&Wn(i,t)>=0&&(n[r+1]=Hs(n[r+1]))}function jl(e,t,n,r){let o=e[n+1],i=t===null,s=r?xt(o):Jt(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],l=e[s+1];nE(c,t)&&(a=!0,e[s+1]=r?Hs(l):Vs(l)),s=r?xt(l):Jt(l)}a&&(e[n+1]=r?Vs(o):Hs(o))}function nE(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Wn(e,t)>=0:!1}var $={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Bf(e){return e.substring($.key,$.keyEnd)}function rE(e){return e.substring($.value,$.valueEnd)}function oE(e){return Wf(e),Uf(e,Kt(e,0,$.textEnd))}function Uf(e,t){let n=$.textEnd;return n===t?-1:(t=$.keyEnd=sE(e,$.key=t,n),Kt(e,t,n))}function iE(e){return Wf(e),qf(e,Kt(e,0,$.textEnd))}function qf(e,t){let n=$.textEnd,r=$.key=Kt(e,t,n);return n===r?-1:(r=$.keyEnd=aE(e,r,n),r=Vl(e,r,n,58),r=$.value=Kt(e,r,n),r=$.valueEnd=cE(e,r,n),Vl(e,r,n,59))}function Wf(e){$.key=0,$.keyEnd=0,$.value=0,$.valueEnd=0,$.textEnd=e.length}function Kt(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function sE(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function aE(e,t,n){let r;for(;t<n&&((r=e.charCodeAt(t))===45||r===95||(r&-33)>=65&&(r&-33)<=90||r>=48&&r<=57);)t++;return t}function Vl(e,t,n,r){return t=Kt(e,t,n),t<n&&t++,t}function cE(e,t,n){let r=-1,o=-1,i=-1,s=t,a=s;for(;s<n;){let c=e.charCodeAt(s++);if(c===59)return a;c===34||c===39?a=s=Hl(e,c,s,n):t===s-4&&i===85&&o===82&&r===76&&c===40?a=s=Hl(e,41,s,n):c>32&&(a=s),i=o,o=r,r=c&-33}return a}function Hl(e,t,n,r){let o=-1,i=n;for(;i<r;){let s=e.charCodeAt(i++);if(s==t&&o!==92)return i;s==92&&o===92?o=0:o=s}throw new Error}function lE(e,t,n){let r=y(),o=et();if(ce(r,o,t)){let i=A(),s=_t();on(i,s,r,e,t,r[O],n,!1)}return lE}function $s(e,t,n,r,o){let i=t.inputs,s=o?"class":"style";Ja(e,n,i[s],s,r)}function uE(e,t,n){return zf(e,t,n,!1),uE}function dE(e,t){return zf(e,t,null,!0),dE}function cS(e){Gf(Yf,fE,e,!1)}function fE(e,t){for(let n=iE(t);n>=0;n=qf(t,n))Yf(e,Bf(t),rE(t))}function lS(e){Gf(IE,pE,e,!0)}function pE(e,t){for(let n=oE(t);n>=0;n=Uf(t,n))Ao(e,Bf(t),!0)}function zf(e,t,n,r){let o=y(),i=A(),s=Ho(2);if(i.firstUpdatePass&&Zf(i,e,s,r),t!==G&&ce(o,s,t)){let a=i.data[be()];Jf(i,a,o,o[O],e,o[s+1]=wE(t,n),r,s)}}function Gf(e,t,n,r){let o=A(),i=Ho(2);o.firstUpdatePass&&Zf(o,null,i,r);let s=y();if(n!==G&&ce(s,i,n)){let a=o.data[be()];if(Kf(a,r)&&!Qf(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=qi(c,n||"")),$s(o,a,s,n,r)}else EE(o,a,s,s[O],s[i+1],s[i+1]=vE(e,t,n),r,i)}}function Qf(e,t){return t>=e.expandoStartIndex}function Zf(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[be()],s=Qf(e,n);Kf(i,r)&&t===null&&!s&&(t=!1),t=hE(o,i,t,r),eE(o,i,t,n,s,r)}}function hE(e,t,n,r){let o=Og(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=Vi(null,e,t,n,r),n=$n(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=Vi(o,e,t,n,r),i===null){let c=gE(e,t,r);c!==void 0&&Array.isArray(c)&&(c=Vi(null,e,t,c[1],r),c=$n(c,t.attrs,r),mE(e,t,r,c))}else i=yE(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function gE(e,t,n){let r=n?t.classBindings:t.styleBindings;if(Jt(r)!==0)return e[xt(r)]}function mE(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[xt(o)]=r}function yE(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=$n(r,s,n)}return $n(r,t.attrs,n)}function Vi(e,t,n,r,o){let i=null,s=n.directiveEnd,a=n.directiveStylingLast;for(a===-1?a=n.directiveStart:a++;a<s&&(i=t[a],r=$n(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function $n(e,t,n){let r=n?1:2,o=-1;if(t!==null)for(let i=0;i<t.length;i++){let s=t[i];typeof s=="number"?o=s:o===r&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),Ao(e,s,n?!0:t[++i]))}return e===void 0?null:e}function vE(e,t,n){if(n==null||n==="")return X;let r=[],o=rn(n);if(Array.isArray(o))for(let i=0;i<o.length;i++)e(r,o[i],!0);else if(typeof o=="object")for(let i in o)o.hasOwnProperty(i)&&e(r,i,o[i]);else typeof o=="string"&&t(r,o);return r}function Yf(e,t,n){Ao(e,t,rn(n))}function IE(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&Ao(e,r,n)}function EE(e,t,n,r,o,i,s,a){o===G&&(o=X);let c=0,l=0,u=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;u!==null||d!==null;){let p=c<o.length?o[c+1]:void 0,f=l<i.length?i[l+1]:void 0,h=null,g;u===d?(c+=2,l+=2,p!==f&&(h=d,g=f)):d===null||u!==null&&u<d?(c+=2,h=u):(l+=2,h=d,g=f),h!==null&&Jf(e,t,n,r,h,g,s,a),u=c<o.length?o[c]:null,d=l<i.length?i[l]:null}}function Jf(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,l=c[a+1],u=XI(l)?$l(c,t,n,o,Jt(l),s):void 0;if(!bo(u)){bo(i)||JI(l)&&(i=$l(c,null,n,o,a,s));let d=Fo(be(),n);yy(r,s,d,o,i)}}function $l(e,t,n,r,o,i){let s=t===null,a;for(;o>0;){let c=e[o],l=Array.isArray(c),u=l?c[1]:c,d=u===null,p=n[o+1];p===G&&(p=d?X:void 0);let f=d?Ni(p,r):u===r?p:void 0;if(l&&!bo(f)&&(f=Ni(c,r)),bo(f)&&(a=f,s))return a;let h=e[o+1];o=s?xt(h):Jt(h)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=Ni(c,r))}return a}function bo(e){return e!==void 0}function wE(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=de(rn(e)))),e}function Kf(e,t){return(e.flags&(t?8:16))!==0}var Bs=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 Hi(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function DE(e,t,n){let r,o,i=0,s=e.length-1,a=void 0;if(Array.isArray(t)){let c=t.length-1;for(;i<=s&&i<=c;){let l=e.at(i),u=t[i],d=Hi(i,l,i,u,n);if(d!==0){d<0&&e.updateValue(i,u),i++;continue}let p=e.at(s),f=t[c],h=Hi(s,p,c,f,n);if(h!==0){h<0&&e.updateValue(s,f),s--,c--;continue}let g=n(i,l),E=n(s,p),m=n(i,u);if(Object.is(m,E)){let _=n(c,f);Object.is(_,g)?(e.swap(i,s),e.updateValue(s,f),c--,s--):e.move(s,i),e.updateValue(i,u),i++;continue}if(r??=new Co,o??=Ul(e,i,s,n),Us(e,r,i,m))e.updateValue(i,u),i++,s++;else if(o.has(m))r.set(g,e.detach(i)),s--;else{let _=e.create(i,t[i]);e.attach(i,_),i++,s++}}for(;i<=c;)Bl(e,r,n,i,t[i]),i++}else if(t!=null){let c=t[Symbol.iterator](),l=c.next();for(;!l.done&&i<=s;){let u=e.at(i),d=l.value,p=Hi(i,u,i,d,n);if(p!==0)p<0&&e.updateValue(i,d),i++,l=c.next();else{r??=new Co,o??=Ul(e,i,s,n);let f=n(i,d);if(Us(e,r,i,f))e.updateValue(i,d),i++,s++,l=c.next();else if(!o.has(f))e.attach(i,e.create(i,d)),i++,s++,l=c.next();else{let h=n(i,u);r.set(h,e.detach(i)),s--}}}for(;!l.done;)Bl(e,r,n,e.length,l.value),l=c.next()}for(;i<=s;)e.destroy(e.detach(s--));r?.forEach(c=>{e.destroy(c)})}function Us(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function Bl(e,t,n,r,o){if(Us(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function Ul(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 Co=class{kvMap=new Map;_vMap=void 0;has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let n=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),t(r,n)}}};function uS(e,t){Ne("NgControlFlow");let n=y(),r=et(),o=n[r]!==G?n[r]:-1,i=o!==-1?Mo(n,L+o):void 0,s=0;if(ce(n,r,e)){let a=x(null);try{if(i!==void 0&&ec(i,s),e!==-1){let c=L+e,l=Mo(n,c),u=Gs(n[I],c),d=Zt(l,u.tView.ssrId),p=sn(n,u,t,{dehydratedView:d});an(l,p,s,Dt(u,d))}}finally{x(a)}}else if(i!==void 0){let a=af(i,s);a!==void 0&&(a[ee]=t)}}var qs=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-te}};function dS(e){return e}var Ws=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function fS(e,t,n,r,o,i,s,a,c,l,u,d,p){Ne("NgControlFlow");let f=y(),h=A(),g=c!==void 0,E=y(),m=a?s.bind(E[ae][ee]):s,_=new Ws(g,m);E[L+e]=_,Hn(f,h,e+1,t,n,r,o,Pe(h.consts,i)),g&&Hn(f,h,e+2,c,l,u,d,Pe(h.consts,p))}var zs=class extends Bs{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r}get length(){return this.lContainer.length-te}at(t){return this.getLView(t)[ee].$implicit}attach(t,n){let r=n[Gt];this.needsIndexUpdate||=t!==this.length,an(this.lContainer,n,t,Dt(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,bE(this.lContainer,t)}create(t,n){let r=Zt(this.lContainer,this.templateTNode.tView.ssrId),o=sn(this.hostLView,this.templateTNode,new qs(this.lContainer,n,t),{dehydratedView:r});return this.operationsCounter?.recordCreate(),o}destroy(t){Qo(t[I],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[ee].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[ee].$index=t}getLView(t){return CE(this.lContainer,t)}};function pS(e){let t=x(null),n=be();try{let r=y(),o=r[I],i=r[n],s=n+1,a=Mo(r,s);if(i.liveCollection===void 0){let l=Gs(o,s);i.liveCollection=new zs(a,r,l)}else i.liveCollection.reset();let c=i.liveCollection;if(DE(c,e,i.trackByFn),c.updateIndexes(),i.hasEmptyBlock){let l=et(),u=c.length===0;if(ce(r,l,u)){let d=n+2,p=Mo(r,d);if(u){let f=Gs(o,d),h=Zt(p,f.tView.ssrId),g=sn(r,f,void 0,{dehydratedView:h});an(p,g,0,Dt(f,h))}else ec(p,0)}}}finally{x(t)}}function Mo(e,t){return e[t]}function bE(e,t){return jn(e,t)}function CE(e,t){return af(e,t)}function Gs(e,t){return zn(e,t)}function ME(e,t,n,r,o,i){let s=t.consts,a=Pe(s,o),c=Nt(t,e,2,r,a);return Za(t,n,c,Pe(s,i)),c.attrs!==null&&yo(c,c.attrs,!1),c.mergedAttrs!==null&&yo(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}function Xf(e,t,n,r){let o=y(),i=A(),s=L+e,a=o[O],c=i.firstCreatePass?ME(s,i,o,t,n,r):i.data[s],l=_E(i,o,c,a,t,e);o[s]=l;let u=Lo(c);return De(c,!0),zd(a,l,c),!MI(c)&&Qn()&&Zo(i,o,l,c),Dg()===0&&Te(l,o),bg(),u&&(za(i,o,c),Wa(i,c,o)),r!==null&&Ga(o,c),Xf}function ep(){let e=z();wa()?Da():(e=e.parent,De(e,!1));let t=e;Mg(t)&&xg(),Cg();let n=A();return n.firstCreatePass&&(Bo(n,e),ya(e)&&n.queries.elementEnd(e)),t.classesWithoutHost!=null&&jg(t)&&$s(n,t,y(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&Vg(t)&&$s(n,t,y(),t.stylesWithoutHost,!1),ep}function xE(e,t,n,r){return Xf(e,t,n,r),ep(),xE}var _E=(e,t,n,r,o,i)=>(Zn(!0),Va(r,o,kg()));function TE(e,t,n,r,o){let i=t.consts,s=Pe(i,r),a=Nt(t,e,8,"ng-container",s);s!==null&&yo(a,s,!0);let c=Pe(i,o);return Za(t,n,a,c),t.queries!==null&&t.queries.elementStart(t,a),a}function tp(e,t,n){let r=y(),o=A(),i=e+L,s=o.firstCreatePass?TE(i,o,r,t,n):o.data[i];De(s,!0);let a=SE(o,r,s,e);return r[i]=a,Qn()&&Zo(o,r,a,s),Te(a,r),Lo(s)&&(za(o,r,s),Wa(o,s,r)),n!=null&&Ga(r,s),tp}function np(){let e=z(),t=A();return wa()?Da():(e=e.parent,De(e,!1)),t.firstCreatePass&&(Bo(t,e),ya(e)&&t.queries.elementEnd(e)),np}function NE(e,t,n){return tp(e,t,n),np(),NE}var SE=(e,t,n,r)=>(Zn(!0),Ad(t[O],""));function hS(){return y()}var lt=void 0;function OE(e){let t=e,n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return n===1&&r===0?1:5}var AE=["en",[["a","p"],["AM","PM"],lt],[["AM","PM"],lt,lt],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],lt,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],lt,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",lt,"{1} 'at' {0}",lt],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",OE],Tn={};function gS(e,t,n){typeof t!="string"&&(n=t,t=e[Bn.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),Tn[t]=e,n&&(Tn[t][Bn.ExtraData]=n)}function rp(e){let t=kE(e),n=ql(t);if(n)return n;let r=t.split("-")[0];if(n=ql(r),n)return n;if(r==="en")return AE;throw new C(701,!1)}function mS(e){return rp(e)[Bn.CurrencyCode]||null}function RE(e){return rp(e)[Bn.PluralCase]}function ql(e){return e in Tn||(Tn[e]=qe.ng&&qe.ng.common&&qe.ng.common.locales&&qe.ng.common.locales[e]),Tn[e]}var Bn=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(Bn||{});function kE(e){return e.toLowerCase().replace(/_/g,"-")}var PE=["zero","one","two","few","many"];function LE(e,t){let n=RE(t)(parseInt(e,10)),r=PE[n];return r!==void 0?r:"other"}var xo="en-US",FE="USD",op={marker:"element"},ip={marker:"ICU"},Oe=function(e){return e[e.SHIFT=2]="SHIFT",e[e.APPEND_EAGERLY=1]="APPEND_EAGERLY",e[e.COMMENT=2]="COMMENT",e}(Oe||{}),sp=xo;function jE(e){typeof e=="string"&&(sp=e.toLowerCase().replace(/_/g,"-"))}function VE(){return sp}var Un=0,Nn=0;function HE(e){e&&(Un=Un|1<<Math.min(Nn,31)),Nn++}function $E(e,t,n){if(Nn>0){let r=e.data[n],o=Array.isArray(r)?r:r.update,i=ba()-Nn-1;cp(e,t,o,i,Un)}Un=0,Nn=0}function BE(e,t,n){let r=e[O];switch(n){case Node.COMMENT_NODE:return Ad(r,t);case Node.TEXT_NODE:return Sd(r,t);case Node.ELEMENT_NODE:return Va(r,t,null)}}var Wr=(e,t,n,r)=>(Zn(!0),BE(e,n,r));function UE(e,t,n,r){let o=e[O];for(let i=0;i<t.length;i++){let s=t[i++],a=t[i],c=(s&Oe.COMMENT)===Oe.COMMENT,l=(s&Oe.APPEND_EAGERLY)===Oe.APPEND_EAGERLY,u=s>>>Oe.SHIFT,d=e[u],p=!1;d===null&&(d=e[u]=Wr(e,u,a,c?Node.COMMENT_NODE:Node.TEXT_NODE),p=Qn()),l&&n!==null&&p&&wt(o,n,d,r,!1)}}function ap(e,t,n,r){let o=n[O],i=null,s;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="string"){let l=t[++a];n[l]===null&&(n[l]=Wr(n,l,c,Node.TEXT_NODE))}else if(typeof c=="number")switch(c&1){case 0:let l=Cv(c);i===null&&(i=l,s=$a(o,r));let u,d;if(l===i?(u=r,d=s):(u=null,d=ge(n[l])),d!==null){let g=Mv(c),E=n[g];wt(o,d,E,u,!1);let m=xn(e,g);if(m!==null&&typeof m=="object"){let _=ri(m,n);_!==null&&ap(e,m.create[_],n,n[m.anchorIdx])}}break;case 1:let p=c>>>1,f=t[++a],h=t[++a];Ya(o,Fo(p,n),null,null,f,h,null);break;default:}else switch(c){case ip:let l=t[++a],u=t[++a];if(n[u]===null){let f=n[u]=Wr(n,u,l,Node.COMMENT_NODE);Te(f,n)}break;case op:let d=t[++a],p=t[++a];if(n[p]===null){let f=n[p]=Wr(n,p,d,Node.ELEMENT_NODE);Te(f,n)}break;default:}}}function cp(e,t,n,r,o){for(let i=0;i<n.length;i++){let s=n[i],a=n[++i];if(s&o){let c="";for(let l=i+1;l<=i+a;l++){let u=n[l];if(typeof u=="string")c+=u;else if(typeof u=="number")if(u<0)c+=Ie(t[r-u]);else{let d=u>>>2;switch(u&3){case 1:let p=n[++l],f=n[++l],h=e.data[d];typeof h=="string"?Ya(t[O],t[d],null,h,p,c,f):on(e,h,t,p,c,t[O],f,!1);break;case 0:let g=t[d];g!==null&&Od(t[O],g,c);break;case 2:qE(e,xn(e,d),t,c);break;case 3:Wl(e,xn(e,d),r,t);break}}}}else{let c=n[i+1];if(c>0&&(c&3)===3){let l=c>>>2,u=xn(e,l);t[u.currentCaseLViewIndex]<0&&Wl(e,u,r,t)}}i+=a}}function Wl(e,t,n,r){let o=r[t.currentCaseLViewIndex];if(o!==null){let i=Un;o<0&&(o=r[t.currentCaseLViewIndex]=~o,i=-1),cp(e,r,t.update[o],n,i)}}function qE(e,t,n,r){let o=WE(t,r);if(ri(t,n)!==o&&(lp(e,t,n),n[t.currentCaseLViewIndex]=o===null?null:~o,o!==null)){let s=n[t.anchorIdx];s&&ap(e,t.create[o],n,s),Av(n,t.anchorIdx,o)}}function lp(e,t,n){let r=ri(t,n);if(r!==null){let o=t.remove[r];for(let i=0;i<o.length;i++){let s=o[i];if(s>0){let a=Fo(s,n);a!==null&&Ud(n[O],a)}else lp(e,xn(e,~s),n)}}}function WE(e,t){let n=e.cases.indexOf(t);if(n===-1)switch(e.type){case 1:{let r=LE(t,VE());n=e.cases.indexOf(r),n===-1&&r!=="other"&&(n=e.cases.indexOf("other"));break}case 0:{n=e.cases.indexOf("other");break}}return n===-1?null:n}var _o=/�(\d+):?\d*�/gi;var zE=/�(\d+)�/,up=/^\s*(�\d+:?\d*�)\s*,\s*(select|plural)\s*,/,Sn="\uFFFD",GE=/�\/?\*(\d+:\d+)�/gi,QE=/�(\/?[#*]\d+):?\d*�/gi,ZE=/\uE500/g;function YE(e){return e.replace(ZE," ")}function JE(e,t,n,r,o,i){let s=kn(),a=[],c=[],l=[[]],u=[[]];o=XE(o,i);let d=YE(o).split(QE);for(let p=0;p<d.length;p++){let f=d[p];if(p&1){let h=f.charCodeAt(0)===47,g=f.charCodeAt(h?1:0),E=L+Number.parseInt(f.substring(h?2:1));if(h)l.shift(),u.shift(),De(kn(),!1);else{let m=bv(e,l[0],E);l.unshift([]),De(m,!0);let _={kind:2,index:E,children:[],type:g===35?0:1};u[0].push(_),u.unshift(_.children)}}else{let h=Qs(f);for(let g=0;g<h.length;g++){let E=h[g];if(g&1){let m=E;if(typeof m!="object")throw new Error(`Unable to parse ICU expression in "${o}" message.`);let q=dp(e,s,l[0],n,a,"",!0).index;pp(u[0],e,n,c,t,m,q)}else{let m=E;m!==""&&KE(u[0],e,s,l[0],a,c,n,m)}}}}e.data[r]={create:a,update:c,ast:u[0],parentTNodeIndex:t}}function dp(e,t,n,r,o,i,s){let a=Xn(e,r,1,null),c=a<<Oe.SHIFT,l=kn();t===l&&(l=null),l===null&&(c|=Oe.APPEND_EAGERLY),s&&(c|=Oe.COMMENT,ay(Tv)),o.push(c,i===null?"":i);let u=qa(e,a,s?32:1,i===null?"":i,null);yf(n,u);let d=u.index;return De(u,!1),l!==null&&t!==l&&Dv(l,d),u}function KE(e,t,n,r,o,i,s,a){let c=a.match(_o),u=dp(t,n,r,s,o,c?null:a,!1).index;c&&zr(i,a,u,null,0,null),e.push({kind:0,index:u})}function zr(e,t,n,r,o,i){let s=e.length,a=s+1;e.push(null,null);let c=s+2,l=t.split(_o),u=0;for(let d=0;d<l.length;d++){let p=l[d];if(d&1){let f=o+parseInt(p,10);e.push(-1-f),u=u|fp(f)}else p!==""&&e.push(p)}return e.push(n<<2|(r?1:0)),r&&e.push(r,i),e[s]=u,e[a]=e.length-c,u}function fp(e){return 1<<Math.min(e,31)}function zl(e){let t,n="",r=0,o=!1,i;for(;(t=GE.exec(e))!==null;)o?t[0]===`${Sn}/*${i}${Sn}`&&(r=t.index,o=!1):(n+=e.substring(r,t.index+t[0].length),i=t[1],o=!0);return n+=e.slice(r),n}function XE(e,t){if(_v(t))return zl(e);{let n=e.indexOf(`:${t}${Sn}`)+2+t.toString().length,r=e.search(new RegExp(`${Sn}\\/\\*\\d+:${t}${Sn}`));return zl(e.substring(n,r))}}function pp(e,t,n,r,o,i,s){let a=0,c={type:i.type,currentCaseLViewIndex:Xn(t,n,1,null),anchorIdx:s,cases:[],create:[],remove:[],update:[]};rw(r,i,s),wv(t,s,c);let l=i.values,u=[];for(let d=0;d<l.length;d++){let p=l[d],f=[];for(let g=0;g<p.length;g++){let E=p[g];if(typeof E!="string"){let m=f.push(E)-1;p[g]=`<!--\uFFFD${m}\uFFFD-->`}}let h=[];u.push(h),a=tw(h,t,c,n,r,o,i.cases[d],p.join(""),f)|a}a&&ow(r,a,s),e.push({kind:3,index:s,cases:u,currentCaseLViewIndex:c.currentCaseLViewIndex})}function ew(e){let t=[],n=[],r=1,o=0;e=e.replace(up,function(s,a,c){return c==="select"?r=0:r=1,o=parseInt(a.slice(1),10),""});let i=Qs(e);for(let s=0;s<i.length;){let a=i[s++].trim();r===1&&(a=a.replace(/\s*(?:=)?(\w+)\s*/,"$1")),a.length&&t.push(a);let c=Qs(i[s++]);t.length>n.length&&n.push(c)}return{type:r,mainBinding:o,cases:t,values:n}}function Qs(e){if(!e)return[];let t=0,n=[],r=[],o=/[{}]/g;o.lastIndex=0;let i;for(;i=o.exec(e);){let a=i.index;if(i[0]=="}"){if(n.pop(),n.length==0){let c=e.substring(t,a);up.test(c)?r.push(ew(c)):r.push(c),t=a+1}}else{if(n.length==0){let c=e.substring(t,a);r.push(c),t=a+1}n.push("{")}}let s=e.substring(t);return r.push(s),r}function tw(e,t,n,r,o,i,s,a,c){let l=[],u=[],d=[];n.cases.push(s),n.create.push(l),n.remove.push(u),n.update.push(d);let f=bd(Aa()).getInertBodyElement(a),h=Es(f)||f;return h?hp(e,t,n,r,o,l,u,d,h,i,c,0):0}function hp(e,t,n,r,o,i,s,a,c,l,u,d){let p=0,f=c.firstChild;for(;f;){let h=Xn(t,r,1,null);switch(f.nodeType){case Node.ELEMENT_NODE:let g=f,E=g.tagName.toLowerCase();if(vs.hasOwnProperty(E)){$i(i,op,E,l,h),t.data[h]=E;let j=g.attributes;for(let Z=0;Z<j.length;Z++){let oe=j.item(Z),St=oe.name.toLowerCase();!!oe.value.match(_o)?_d.hasOwnProperty(St)&&(La[St]?zr(a,oe.value,h,oe.name,0,Pa):zr(a,oe.value,h,oe.name,0,null)):iw(i,h,oe)}let Q={kind:1,index:h,children:[]};e.push(Q),p=hp(Q.children,t,n,r,o,i,s,a,f,h,u,d+1)|p,Gl(s,h,d)}break;case Node.TEXT_NODE:let m=f.textContent||"",_=m.match(_o);$i(i,null,_?"":m,l,h),Gl(s,h,d),_&&(p=zr(a,m,h,null,0,null)|p),e.push({kind:0,index:h});break;case Node.COMMENT_NODE:let q=zE.exec(f.textContent||"");if(q){let j=parseInt(q[1],10),Q=u[j];$i(i,ip,"",l,h),pp(e,t,r,o,l,Q,h),nw(s,h,d)}break}f=f.nextSibling}return p}function Gl(e,t,n){n===0&&e.push(t)}function nw(e,t,n){n===0&&(e.push(~t),e.push(t))}function rw(e,t,n){e.push(fp(t.mainBinding),2,-1-t.mainBinding,n<<2|2)}function ow(e,t,n){e.push(t,1,n<<2|3)}function $i(e,t,n,r,o){t!==null&&e.push(t),e.push(n,o,xv(0,r,o))}function iw(e,t,n){e.push(t<<1|1,n.name,n.value)}var Ql=0,sw=/\[(�.+?�?)\]/,aw=/\[(�.+?�?)\]|(�\/?\*\d+:\d+�)/g,cw=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,lw=/{([A-Z0-9_]+)}/g,uw=/�I18N_EXP_(ICU(_\d+)?)�/g,dw=/\/\*/,fw=/\d+\:(\d+)/;function pw(e,t={}){let n=e;if(sw.test(e)){let r={},o=[Ql];n=n.replace(aw,(i,s,a)=>{let c=s||a,l=r[c]||[];if(l.length||(c.split("|").forEach(g=>{let E=g.match(fw),m=E?parseInt(E[1],10):Ql,_=dw.test(g);l.push([m,_,g])}),r[c]=l),!l.length)throw new Error(`i18n postprocess: unmatched placeholder - ${c}`);let u=o[o.length-1],d=0;for(let g=0;g<l.length;g++)if(l[g][0]===u){d=g;break}let[p,f,h]=l[d];return f?o.pop():u!==p&&o.push(p),l.splice(d,1),h})}return Object.keys(t).length&&(n=n.replace(cw,(r,o,i,s,a,c)=>t.hasOwnProperty(i)?`${o}${t[i]}${c}`:r),n=n.replace(lw,(r,o)=>t.hasOwnProperty(o)?t[o]:r),n=n.replace(uw,(r,o)=>{if(t.hasOwnProperty(o)){let i=t[o];if(!i.length)throw new Error(`i18n postprocess: unmatched ICU - ${r} with key: ${o}`);return i.shift()}return r})),n}function hw(e,t,n=-1){let r=A(),o=y(),i=L+e,s=Pe(r.consts,t),a=kn();if(r.firstCreatePass&&JE(r,a===null?0:a.index,o,i,s,n),r.type===2){let p=o[ae];p[v]|=32}else o[v]|=32;let c=r.data[i],l=a===o[re]?null:a,u=Ld(r,l,o),d=a&&a.type&8?o[a.index]:null;Sv(o,i,a,n),UE(o,c.create,u,d),Vu(!0)}function gw(){Vu(!1)}function yS(e,t,n){hw(e,t,n),gw()}function mw(e){let t=y();return HE(ce(t,et(),e)),mw}function vS(e){$E(A(),y(),e+L)}function IS(e,t={}){return pw(e,t)}var yw=(e,t,n)=>{};function vw(e,t,n,r){let o=y(),i=A(),s=z();return gp(i,o,o[O],s,e,t,r),vw}function Iw(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;i<o.length-1;i+=2){let s=o[i];if(s===n&&o[i+1]===r){let a=t[Xr],c=o[i+2];return a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function gp(e,t,n,r,o,i,s){let a=Lo(r),l=e.firstCreatePass&&sf(e),u=t[ee],d=of(t),p=!0;if(r.type&3||s){let g=me(r,t),E=s?s(g):g,m=d.length,_=s?j=>s(ge(j[r.index])):r.index,q=null;if(!s&&a&&(q=Iw(e,t,o,r.index)),q!==null){let j=q.__ngLastListenerFn__||q;j.__ngNextListenerFn__=i,q.__ngLastListenerFn__=i,p=!1}else{i=Yl(r,t,u,i),yw(g,o,i);let j=n.listen(E,o,i);d.push(i,j),l&&l.push(o,_,m,m+1)}}else i=Yl(r,t,u,i);let f=r.outputs,h;if(p&&f!==null&&(h=f[o])){let g=h.length;if(g)for(let E=0;E<g;E+=2){let m=h[E],_=h[E+1],Q=t[m][_].subscribe(i),Z=d.length;d.push(i,Q),l&&l.push(o,r.index,Z,-(Z+1))}}}function Zl(e,t,n,r){let o=x(null);try{return Me(6,t,n),n(r)!==!1}catch(i){return ei(e,i),!1}finally{Me(7,t,n),x(o)}}function Yl(e,t,n,r){return function o(i){if(i===Function)return r;let s=e.componentOffset>-1?Xe(e.index,t):t;ti(s,5);let a=Zl(t,n,r,i),c=o.__ngNextListenerFn__;for(;c;)a=Zl(t,n,c,i)&&a,c=c.__ngNextListenerFn__;return a}}function ES(e=1){return Rg(e)}function Ew(e,t){let n=null,r=Cy(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?Qd(e,i,!0):_y(r,i))return o}return n}function wS(e){let t=y()[ae][re];if(!t.projection){let n=e?e.length:1,r=t.projection=Jh(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?Ew(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function DS(e,t=0,n,r,o,i){let s=y(),a=A(),c=r?e+1:null;c!==null&&Hn(s,a,c,r,o,i,null,n);let l=Nt(a,L+e,16,null,n||null);l.projection===null&&(l.projection=t),Da();let d=!s[Gt]||Pu();s[ae][re].projection[l.projection]===null&&c!==null?ww(s,a,c):d&&(l.flags&32)!==32&&gy(a,s,l)}function ww(e,t,n){let r=L+n,o=t.data[r],i=e[r],s=Zt(i,o.tView.ssrId),a=sn(e,o,void 0,{dehydratedView:s});an(i,a,0,Dt(o,s))}function Dw(e,t,n){return mp(e,"",t,"",n),Dw}function mp(e,t,n,r,o){let i=y(),s=Vf(i,t,n,r);if(s!==G){let a=A(),c=_t();on(a,c,i,e,s,i[O],o,!1)}return mp}function bw(e,t,n,r,o,i,s){let a=y(),c=Hf(a,t,n,r,o,i);if(c!==G){let l=A(),u=_t();on(l,u,a,e,c,a[O],s,!1)}return bw}function Cw(e,t,n,r,o,i,s,a,c){let l=y(),u=$f(l,t,n,r,o,i,s,a);if(u!==G){let d=A(),p=_t();on(d,p,l,e,u,l[O],c,!1)}return Cw}function bS(e,t,n,r){Mf(e,t,n,r)}function CS(e){let t=y(),n=A(),r=Ca();$o(r+1);let o=rc(n,r);if(e.dirty&&Ig(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=_f(t,r);e.reset(i,cd),e.notifyOnChanges()}return!0}return!1}function MS(){return nc(y(),Ca())}function xS(e,t,n,r,o){Sf(t,Mf(e,n,r,o))}function _S(e,t,n,r){Sf(e,eI(t,n,r))}function TS(e=1){$o(Ca()+e)}function sc(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function NS(e){let t=Fu();return jo(t,L+e)}function SS(e,t=""){let n=y(),r=A(),o=e+L,i=r.firstCreatePass?Nt(r,o,1,t,null):r.data[o],s=Mw(r,n,i,t,e);n[o]=s,Qn()&&Zo(r,n,s,i),De(i,!1)}var Mw=(e,t,n,r,o)=>(Zn(!0),Sd(t[O],r));function xw(e){return yp("",e,""),xw}function yp(e,t,n){let r=y(),o=Vf(r,e,t,n);return o!==G&&Ka(r,be(),o),yp}function _w(e,t,n,r,o){let i=y(),s=Hf(i,e,t,n,r,o);return s!==G&&Ka(i,be(),s),_w}function Tw(e,t,n,r,o,i,s){let a=y(),c=$f(a,e,t,n,r,o,i,s);return c!==G&&Ka(a,be(),c),Tw}function Nw(e,t,n){Nf(t)&&(t=t());let r=y(),o=et();if(ce(r,o,t)){let i=A(),s=_t();on(i,s,r,e,t,r[O],n,!1)}return Nw}function OS(e,t){let n=Nf(e);return n&&e.set(t),n}function Sw(e,t){let n=y(),r=A(),o=z();return gp(r,n,n[O],o,e,t),Sw}var vp={};function Ow(e){let t=A(),n=y(),r=e+L,o=Nt(t,r,128,null,null);return De(o,!1),sc(t,n,r,vp),Ow}function AS(e){Ne("NgLet");let t=A(),n=y(),r=be();return sc(t,n,r,e),e}function RS(e){let t=Fu(),n=jo(t,L+e);if(n===vp)throw new C(314,!1);return n}function Aw(e,t,n){let r=A();if(r.firstCreatePass){let o=Ze(e);Zs(n,r.data,r.blueprint,o,!0),Zs(t,r.data,r.blueprint,o,!1)}}function Zs(e,t,n,r,o){if(e=ne(e),Array.isArray(e))for(let i=0;i<e.length;i++)Zs(e[i],t,n,r,o);else{let i=A(),s=y(),a=z(),c=zt(e)?e:ne(e.provide),l=Du(e),u=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(zt(e)||!e.multi){let f=new vt(l,o,Jo),h=Ui(c,t,o?u:u+p,d);h===-1?(os(so(a,s),i,c),Bi(i,e,t.length),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[h]=f,s[h]=f)}else{let f=Ui(c,t,u+p,d),h=Ui(c,t,u,u+p),g=f>=0&&n[f],E=h>=0&&n[h];if(o&&!E||!o&&!g){os(so(a,s),i,c);let m=Pw(o?kw:Rw,n.length,o,r,l);!o&&E&&(n[h].providerFactory=m),Bi(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(m),s.push(m)}else{let m=Ip(n[o?h:f],l,!o&&r);Bi(i,e,f>-1?f:h,m)}!o&&r&&E&&n[h].componentProviders++}}}function Bi(e,t,n,r){let o=zt(t),i=sg(t);if(o||i){let c=(i?ne(t.useClass):t).prototype.ngOnDestroy;if(c){let l=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let u=l.indexOf(n);u===-1?l.push(n,[r,c]):l[u+1].push(r,c)}else l.push(n,c)}}}function Ip(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Ui(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function Rw(e,t,n,r){return Ys(this.multi,[])}function kw(e,t,n,r){let o=this.multi,i;if(this.providerFactory){let s=this.providerFactory.componentProviders,a=It(n,n[I],this.providerFactory.index,r);i=a.slice(0,s),Ys(o,i);for(let c=s;c<a.length;c++)i.push(a[c])}else i=[],Ys(o,i);return i}function Ys(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function Pw(e,t,n,r,o){let i=new vt(e,n,Jo);return i.multi=[],i.index=t,i.componentProviders=0,Ip(i,o,r&&!n),i}function kS(e,t=[]){return n=>{n.providersResolver=(r,o)=>Aw(r,o?o(e):e,t)}}function PS(e,t,n){let r=en()+e,o=y();return o[r]===G?oi(o,r,n?t.call(n):t()):DI(o,r)}function LS(e,t,n,r){return Ep(y(),en(),e,t,n,r)}function FS(e,t,n,r,o){return wp(y(),en(),e,t,n,r,o)}function jS(e,t,n,r,o,i,s){return Lw(y(),en(),e,t,n,r,o,i,s)}function ac(e,t){let n=e[t];return n===G?void 0:n}function Ep(e,t,n,r,o,i){let s=t+n;return ce(e,s,o)?oi(e,s+1,i?r.call(i,o):r(o)):ac(e,s+1)}function wp(e,t,n,r,o,i,s){let a=t+n;return Vn(e,a,o,i)?oi(e,a+2,s?r.call(s,o,i):r(o,i)):ac(e,a+2)}function Lw(e,t,n,r,o,i,s,a,c){let l=t+n;return CI(e,l,o,i,s,a)?oi(e,l+4,c?r.call(c,o,i,s,a):r(o,i,s,a)):ac(e,l+4)}function VS(e,t){let n=A(),r,o=e+L;n.firstCreatePass?(r=Fw(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];let i=r.factory||(r.factory=ft(r.type,!0)),s,a=ie(Jo);try{let c=io(!1),l=i();return io(c),sc(n,y(),o,l),l}finally{ie(a)}}function Fw(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function HS(e,t,n){let r=e+L,o=y(),i=jo(o,r);return Dp(o,r)?Ep(o,en(),t,i.transform,n,i):i.transform(n)}function $S(e,t,n,r){let o=e+L,i=y(),s=jo(i,o);return Dp(i,o)?wp(i,en(),t,s.transform,n,r,s):s.transform(n,r)}function Dp(e,t){return e[I].data[t].pure}function BS(e,t){return ni(e,t)}var Jl=class{full;major;minor;patch;constructor(t){this.full=t;let n=t.split(".");this.major=n[0],this.minor=n[1],this.patch=n.slice(2).join(".")}};var Js=class{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},US=(()=>{class e{compileModuleSync(n){return new js(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=vu(n),i=Nd(o.declarations).reduce((s,a)=>{let c=_e(a);return c&&s.push(new Ct(c)),s},[]);return new Js(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var jw=(()=>{class e{zone=T(he);changeDetectionScheduler=T(Je);applicationRef=T(ii);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Vw({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new he(ue(le({},Hw()),{scheduleInRootZone:n})),[{provide:he,useFactory:e},{provide:Jr,multi:!0,useFactory:()=>{let r=T(jw,{optional:!0});return()=>r.initialize()}},{provide:Jr,multi:!0,useFactory:()=>{let r=T($w);return()=>{r.initialize()}}},t===!0?{provide:id,useValue:!0}:[],{provide:Na,useValue:n??od}]}function Hw(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var $w=(()=>{class e{subscription=new F;initialized=!1;zone=T(he);pendingTasks=T(Tt);initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{he.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{he.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var bp=(()=>{class e{appRef=T(ii);taskService=T(Tt);ngZone=T(he);zonelessEnabled=T(Ta);tracing=T(vd,{optional:!0});disableScheduling=T(id,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new F;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(co):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(T(Na,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof lo||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;let r=!1;switch(n){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 8:{this.appRef.deferredDirtyFlags|=8;break}case 6:{this.appRef.dirtyFlags|=2,r=!0;break}case 13:{this.appRef.dirtyFlags|=16,r=!0;break}case 14:{this.appRef.dirtyFlags|=2,r=!0;break}case 12:{r=!0;break}case 10:case 9:case 7:case 11:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(r))return;let o=this.useMicrotaskScheduler?dl:sd;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>o(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>o(()=>this.tick()))}shouldScheduleTick(n){return!(this.disableScheduling&&!n||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(co+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){throw this.taskService.remove(n),r}finally{this.cleanup()}this.useMicrotaskScheduler=!0,dl(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function qS(){return Ne("NgZoneless"),tg([{provide:Je,useExisting:bp},{provide:he,useClass:lo},{provide:Ta,useValue:!0},{provide:Na,useValue:!1},[]])}function Bw(){return typeof $localize<"u"&&$localize.locale||xo}var Cp=new k("",{providedIn:"root",factory:()=>T(Cp,N.Optional|N.SkipSelf)||Bw()}),WS=new k("",{providedIn:"root",factory:()=>FE});var Ks=new k("");function Fr(e){return!e.moduleRef}function Uw(e){let t=Fr(e)?e.r3Injector:e.moduleRef.injector,n=t.get(he);return n.run(()=>{Fr(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(Et,null),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:i=>{r.handleError(i)}})}),Fr(e)){let i=()=>t.destroy(),s=e.platformInjector.get(Ks);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(Ks);s.add(i),e.moduleRef.onDestroy(()=>{qr(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return qI(r,n,()=>{let i=t.get(Ff);return i.runInitializers(),i.donePromise.then(()=>{let s=t.get(Cp,xo);if(jE(s||xo),Fr(e)){let a=t.get(ii);return e.rootComponent!==void 0&&a.bootstrap(e.rootComponent),a}else return qw(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function qw(e,t){let n=e.injector.get(ii);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(n);else throw new C(-403,!1);t.push(e)}var Gr=null;function Ww(e=[],t){return Ye.create({name:t,providers:[{provide:wu,useValue:"platform"},{provide:Ks,useValue:new Set([()=>Gr=null])},...e]})}function zw(e=[]){if(Gr)return Gr;let t=Ww(e);return Gr=t,$I(),Gw(t),t}function Gw(e){let t=e.get(pm,null);bu(e,()=>{t?.forEach(n=>n())})}var Qw=(()=>{class e{static __NG_ELEMENT_ID__=Zw}return e})();function Zw(e){return Yw(z(),y(),(e&16)===16)}function Yw(e,t,n){if(Po(e)&&!n){let r=Xe(e.index,t);return new bt(r,r)}else if(e.type&175){let r=t[ae];return new bt(r,t)}return null}var Xs=class{constructor(){}supports(t){return Pf(t)}create(t){return new ea(t)}},Jw=(e,t)=>t,ea=class{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(t){this._trackByFn=t||Jw}forEachItem(t){let n;for(n=this._itHead;n!==null;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){let s=!r||n&&n.currentIndex<Kl(r,o,i)?n:r,a=Kl(s,o,i),c=s.currentIndex;if(s===r)o--,r=r._nextRemoved;else if(n=n._next,s.previousIndex==null)o++;else{i||(i=[]);let l=a-o,u=c-o;if(l!=u){for(let p=0;p<l;p++){let f=p<i.length?i[p]:i[p]=0,h=f+p;u<=h&&h<l&&(i[p]=f+1)}let d=s.previousIndex;i[d]=u-l}}a!==c&&t(s,a,c)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;n!==null;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;n!==null;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;n!==null;n=n._nextIdentityChange)t(n)}diff(t){if(t==null&&(t=[]),!Pf(t))throw new C(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._itHead,r=!1,o,i,s;if(Array.isArray(t)){this.length=t.length;for(let a=0;a<this.length;a++)i=t[a],s=this._trackByFn(a,i),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,i,s,a),r=!0):(r&&(n=this._verifyReinsertion(n,i,s,a)),Object.is(n.item,i)||this._addIdentityChange(n,i)),n=n._next}else o=0,wI(t,a=>{s=this._trackByFn(o,a),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,a,s,o),r=!0):(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;t!==null;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;t!==null;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return t===null?i=this._itTail:(i=t._prev,this._remove(t)),t=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):(t=this._linkedRecords===null?null:this._linkedRecords.get(r,o),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new ta(n,r),i,o)),t}_verifyReinsertion(t,n,r,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return i!==null?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;t!==null;){let n=t._next;this._addToRemovals(this._unlink(t)),t=n}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(t);let o=t._prevRemoved,i=t._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail===null?this._additionsTail=this._additionsHead=t:this._additionsTail=this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){let o=n===null?this._itHead:n._next;return t._next=o,t._prev=n,o===null?this._itTail=t:o._prev=t,n===null?this._itHead=t:n._next=t,this._linkedRecords===null&&(this._linkedRecords=new To),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){this._linkedRecords!==null&&this._linkedRecords.remove(t);let n=t._prev,r=t._next;return n===null?this._itHead=r:n._next=r,r===null?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail===null?this._movesTail=this._movesHead=t:this._movesTail=this._movesTail._nextMoved=t),t}_addToRemovals(t){return this._unlinkedRecords===null&&(this._unlinkedRecords=new To),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=t:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=t,t}},ta=class{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(t,n){this.item=t,this.trackById=n}},na=class{_head=null;_tail=null;add(t){this._head===null?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;r!==null;r=r._nextDup)if((n===null||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){let n=t._prevDup,r=t._nextDup;return n===null?this._head=r:n._nextDup=r,r===null?this._tail=n:r._prevDup=n,this._head===null}},To=class{map=new Map;put(t){let n=t.trackById,r=this.map.get(n);r||(r=new na,this.map.set(n,r)),r.add(t)}get(t,n){let r=t,o=this.map.get(r);return o?o.get(t,n):null}remove(t){let n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function Kl(e,t,n){let r=e.previousIndex;if(r===null)return r;let o=0;return n&&r<n.length&&(o=n[r]),r+t+o}var ra=class{constructor(){}supports(t){return t instanceof Map||ic(t)}create(){return new oa}},oa=class{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;_removalsTail=null;get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(t){let n;for(n=this._mapHead;n!==null;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;n!==null;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;n!==null;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}diff(t){if(!t)t=new Map;else if(!(t instanceof Map||ic(t)))throw new C(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{let i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;r!==null;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){let r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){let o=this._records.get(t);this._maybeAddToChanges(o,n);let i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}let r=new ia(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;t!==null;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;t!=null;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){this._additionsHead===null?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){this._changesHead===null?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}},ia=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(t){this.key=t}};function Xl(){return new Kw([new Xs])}var Kw=(()=>{class e{factories;static \u0275prov=U({token:e,providedIn:"root",factory:Xl});constructor(n){this.factories=n}static create(n,r){if(r!=null){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Xl()),deps:[[e,new hu,new pu]]}}find(n){let r=this.factories.find(o=>o.supports(n));if(r!=null)return r;throw new C(901,!1)}}return e})();function eu(){return new Xw([new ra])}var Xw=(()=>{class e{static \u0275prov=U({token:e,providedIn:"root",factory:eu});factories;constructor(n){this.factories=n}static create(n,r){if(r){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||eu()),deps:[[e,new hu,new pu]]}}find(n){let r=this.factories.find(o=>o.supports(n));if(r)return r;throw new C(901,!1)}}return e})();function zS(e){try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=zw(r),i=[Vw({}),{provide:Je,useExisting:bp},...n||[]],s=new wo({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1});return Uw({r3Injector:s.injector,platformInjector:o,rootComponent:t})}catch(t){return Promise.reject(t)}}function GS(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function QS(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function Mp(e,t){Ne("NgSignals");let n=_i(e);return t?.equal&&(n[H].equal=t.equal),n}function Cn(e){let t=x(null);try{return e()}finally{x(t)}}var xp=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=eD}return e})();function eD(){return new xp(y(),z())}var tD=!1,nD=(()=>{class e extends Do{pendingTasks=T(Tt);taskId=null;schedule(n){super.schedule(n),this.taskId===null&&(this.taskId=this.pendingTasks.add(),queueMicrotask(()=>this.flush()))}flush(){try{super.flush()}finally{this.taskId!==null&&(this.pendingTasks.remove(this.taskId),this.taskId=null)}}static \u0275prov=U({token:e,providedIn:"root",factory:()=>new e})}return e})(),sa=class{scheduler;effectFn;zone;injector;unregisterOnDestroy;watcher;constructor(t,n,r,o,i,s){this.scheduler=t,this.effectFn=n,this.zone=r,this.injector=i,this.watcher=Kc(a=>this.runEffect(a),()=>this.schedule(),s),this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}runEffect(t){try{this.effectFn(t)}catch(n){this.injector.get(Et,null,{optional:!0})?.handleError(n)}}run(){this.watcher.run()}schedule(){this.scheduler.schedule(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}};function rD(){}function oD(e,t){Ne("NgSignals"),!t?.injector&&ma(rD);let n=t?.injector??T(Ye),r=t?.manualCleanup!==!0?n.get(tn):null,o=new sa(n.get(nD),e,typeof Zone>"u"?null:Zone.current,r,n,t?.allowSignalWrites??!1),i=n.get(Qw,null,{optional:!0});return!i||!(i._lView[v]&8)?o.watcher.notify():(i._lView[Vr]??=[]).push(o.watcher.notify),o}var iD=tD;var aa=class{[H];constructor(t){this[H]=t}destroy(){this[H].destroy()}};function _p(e,t){if(iD)return oD(e,t);Ne("NgSignals"),!t?.injector&&ma(_p);let n=t?.injector??T(Ye),r=t?.manualCleanup!==!0?n.get(tn):null,o,i=n.get(xp,null,{optional:!0}),s=n.get(Je);return i!==null&&!t?.forceRoot?(o=cD(i.view,s,e),r instanceof ao&&r._lView===i.view&&(r=null)):o=lD(e,n.get(jf),s),o.injector=n,r!==null&&(o.onDestroyFn=r.onDestroy(()=>o.destroy())),new aa(o)}var Tp=ue(le({},ct),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,onDestroyFn:Ln,run(){if(this.dirty=!1,this.hasRun&&!En(this))return;this.hasRun=!0;let e=r=>(this.cleanupFns??=[]).push(r),t=Lt(this),n=no(!1);try{this.maybeCleanup(),this.fn(e)}finally{no(n),In(this,t)}},maybeCleanup(){if(this.cleanupFns?.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}}),sD=ue(le({},Tp),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(13)},destroy(){Ft(this),this.onDestroyFn(),this.maybeCleanup()}}),aD=ue(le({},Tp),{consumerMarkedDirty(){this.view[v]|=8192,Gn(this.view),this.notifier.notify(14)},destroy(){Ft(this),this.onDestroyFn(),this.maybeCleanup(),this.view[ht]?.delete(this)}});function cD(e,t,n){let r=Object.create(aD);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=n,e[ht]??=new Set,e[ht].add(r),r.consumerMarkedDirty(r),r}function lD(e,t,n){let r=Object.create(sD);return r.fn=e,r.scheduler=t,r.notifier=n,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.schedule(r),r.notifier.notify(13),r}var Y=function(e){return e[e.Idle=0]="Idle",e[e.Error=1]="Error",e[e.Loading=2]="Loading",e[e.Reloading=3]="Reloading",e[e.Resolved=4]="Resolved",e[e.Local=5]="Local",e}(Y||{});function uD(e){e?.injector||ma(uD);let t=e.request??(()=>null);return new la(t,e.loader,e.equal,e.injector)}var ca=class{value;status=_n(Y.Idle);error=_n(void 0);rawSetValue;constructor(t){this.value=_n(void 0,{equal:t?dD(t):void 0}),this.rawSetValue=this.value.set,this.value.set=n=>this.set(n),this.value.update=n=>this.set(n(Cn(this.value)))}set(t){let n=this.value[H].version;this.rawSetValue(t),this.value[H].version!==n&&(this.onLocalValue(),this.status.set(Y.Local),this.error.set(void 0))}update(t){this.value.update(t)}isLoading=Mp(()=>this.status()===Y.Loading||this.status()===Y.Reloading);hasValue(){return this.status()===Y.Resolved||this.status()===Y.Local||this.status()===Y.Reloading}asReadonly(){return this}setValueState(t,n=void 0){this.status.set(t),this.rawSetValue(n),this.error.set(void 0)}setErrorState(t){this.value.set(void 0),this.status.set(Y.Error),this.error.set(t)}},la=class extends ca{loaderFn;request;pendingTasks;effectRef;pendingController;resolvePendingTask=void 0;constructor(t,n,r,o){super(r),this.loaderFn=n,o=o??T(Ye),this.pendingTasks=o.get(Kg),this.request=Mp(()=>({request:t(),reload:_n(0)})),this.effectRef=_p(this.loadEffect.bind(this),{injector:o,manualCleanup:!0}),o.get(tn).onDestroy(()=>this.destroy())}reload(){let t=Cn(this.status);return t===Y.Idle||t===Y.Loading||t===Y.Reloading?!1:(Cn(this.request).reload.update(n=>n+1),!0)}destroy(){this.effectRef.destroy(),this.abortInProgressLoad(),this.setValueState(Y.Idle)}async loadEffect(){let t=Cn(this.status);this.abortInProgressLoad();let n=this.request();if(n.request===void 0){this.setValueState(Y.Idle);return}n.reload()===0?this.setValueState(Y.Loading):this.status.set(Y.Reloading);let r=this.resolvePendingTask=this.pendingTasks.add(),{signal:o}=this.pendingController=new AbortController;try{let i=await Cn(()=>this.loaderFn({abortSignal:o,request:n.request,previous:{status:t}}));if(o.aborted)return;this.setValueState(Y.Resolved,i)}catch(i){if(o.aborted)return;this.setErrorState(i)}finally{r()}}abortInProgressLoad(){this.pendingController?.abort(),this.pendingController=void 0,this.resolvePendingTask?.(),this.resolvePendingTask=void 0}onLocalValue(){this.abortInProgressLoad()}};function dD(e){return(t,n)=>t===void 0||n===void 0?t===n:e(t,n)}function ZS(e,t){let n=_e(e),r=t.elementInjector||Ro();return new Ct(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector)}function YS(e){let t=_e(e);if(!t)return null;let n=new Ct(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}export{F as a,W as b,Np as c,S as d,mi as e,yi as f,pe as g,fn as h,pn as i,it as j,Be as k,Bp as l,qp as m,Wp as n,at as o,Gp as p,Ce as q,nh as r,st as s,gi as t,Dr as u,oh as v,ih as w,hn as x,ah as y,hi as z,ch as A,Up as B,gn as C,wr as D,lh as E,uh as F,Nc as G,ph as H,vi as I,hh as J,gh as K,mh as L,yh as M,Ac as N,Rc as O,vh as P,Vc as Q,C as R,de as S,iu as T,U,bN as V,CN as W,k as X,N as Y,Qe as Z,T as _,tg as $,wu as aa,Ae as ba,bu as ca,ma as da,MN as ea,xN as fa,_N as ga,TN as ha,NN as ia,SN as ja,Ye as ka,tn as la,Tt as ma,We as na,he as oa,Et as pa,uo as qa,ON as ra,AN as sa,Uo as ta,RN as ua,kN as va,pm as wa,PN as xa,LN as ya,hm as za,FN as Aa,Ne as Ba,Fn as Ca,rn as Da,ka as Ea,jN as Fa,VN as Ga,HN as Ha,$N as Ia,BN as Ja,Pa as Ka,Km as La,Go as Ma,UN as Na,ey as Oa,qN as Pa,ws as Qa,WN as Ra,Jo as Sa,ho as Ta,mo as Ua,QN as Va,tc as Wa,rI as Xa,_n as Ya,YN as Za,JN as _a,KN as $a,Mt as ab,Fs as bb,XN as cb,Af as db,eS as eb,tS as fb,nS as gb,rS as hb,gI as ib,oS as jb,_I as kb,iS as lb,Lf as mb,jI as nb,HI as ob,ii as pb,sS as qb,aS as rb,YI as sb,lE as tb,uE as ub,dE as vb,cS as wb,lS as xb,uS as yb,dS as zb,fS as Ab,pS as Bb,Xf as Cb,ep as Db,xE as Eb,tp as Fb,np as Gb,NE as Hb,hS as Ib,gS as Jb,rp as Kb,mS as Lb,RE as Mb,Bn as Nb,hw as Ob,gw as Pb,yS as Qb,mw as Rb,vS as Sb,IS as Tb,vw as Ub,ES as Vb,wS as Wb,DS as Xb,Dw as Yb,mp as Zb,bw as _b,Cw as $b,bS as ac,CS as bc,MS as cc,xS as dc,_S as ec,TS as fc,NS as gc,SS as hc,xw as ic,yp as jc,_w as kc,Tw as lc,Nw as mc,OS as nc,Sw as oc,Ow as pc,AS as qc,RS as rc,kS as sc,PS as tc,LS as uc,FS as vc,jS as wc,VS as xc,HS as yc,$S as zc,BS as Ac,Jl as Bc,US as Cc,qS as Dc,Cp as Ec,WS as Fc,Qw as Gc,Kw as Hc,Xw as Ic,zS as Jc,GS as Kc,QS as Lc,Mp as Mc,Cn as Nc,_p as Oc,uD as Pc,ZS as Qc,YS as Rc};
|
package/index.html
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
<style>:root{--font-size:16px;font-size:var(--font-size)}html body{--sparkle-light:initial;--sparkle-dark: ;color-scheme:light dark;--primary-50:#eff6ff;--primary-rgb-50:239,246,255;--primary-contrast-50:var(--dark-primary-text);--primary-100:#dbeafe;--primary-rgb-100:219,234,254;--primary-contrast-100:var(--dark-primary-text);--primary-200:#bfdbfe;--primary-rgb-200:191,219,254;--primary-contrast-200:var(--dark-primary-text);--primary-300:#93c5fd;--primary-rgb-300:147,197,253;--primary-contrast-300:var(--dark-primary-text);--primary-400:#60a5fa;--primary-rgb-400:96,165,250;--primary-contrast-400:var(--dark-primary-text);--primary-500:#3b82f6;--primary-rgb-500:59,130,246;--primary-contrast-500:var(--light-primary-text);--primary-600:#2563eb;--primary-rgb-600:37,99,235;--primary-contrast-600:var(--light-primary-text);--primary-700:#1d4ed8;--primary-rgb-700:29,78,216;--primary-contrast-700:var(--light-primary-text);--primary-800:#1e40af;--primary-rgb-800:30,64,175;--primary-contrast-800:var(--light-primary-text);--primary-900:#1e3a8a;--primary-rgb-900:30,58,138;--primary-contrast-900:var(--light-primary-text);--primary-950:#172554;--primary-rgb-950:23,37,84;--primary-contrast-950:var(--light-primary-text);--accent-50:#f5f3ff;--accent-rgb-50:245,243,255;--accent-contrast-50:var(--dark-primary-text);--accent-100:#ede9fe;--accent-rgb-100:237,233,254;--accent-contrast-100:var(--dark-primary-text);--accent-200:#ddd6fe;--accent-rgb-200:221,214,254;--accent-contrast-200:var(--dark-primary-text);--accent-300:#c4b5fd;--accent-rgb-300:196,181,253;--accent-contrast-300:var(--dark-primary-text);--accent-400:#a78bfa;--accent-rgb-400:167,139,250;--accent-contrast-400:var(--dark-primary-text);--accent-500:#8b5cf6;--accent-rgb-500:139,92,246;--accent-contrast-500:var(--light-primary-text);--accent-600:#7c3aed;--accent-rgb-600:124,58,237;--accent-contrast-600:var(--light-primary-text);--accent-700:#6d28d9;--accent-rgb-700:109,40,217;--accent-contrast-700:var(--light-primary-text);--accent-800:#5b21b6;--accent-rgb-800:91,33,182;--accent-contrast-800:var(--light-primary-text);--accent-900:#4c1d95;--accent-rgb-900:76,29,149;--accent-contrast-900:var(--light-primary-text);--accent-950:#2e1065;--accent-rgb-950:46,16,101;--accent-contrast-950:var(--light-primary-text);--tertiary-50:#fffbeb;--tertiary-rgb-50:255,251,235;--tertiary-contrast-50:var(--dark-primary-text);--tertiary-100:#fef3c7;--tertiary-rgb-100:254,243,199;--tertiary-contrast-100:var(--dark-primary-text);--tertiary-200:#fde68a;--tertiary-rgb-200:253,230,138;--tertiary-contrast-200:var(--dark-primary-text);--tertiary-300:#fcd34d;--tertiary-rgb-300:252,211,77;--tertiary-contrast-300:var(--dark-primary-text);--tertiary-400:#fbbf24;--tertiary-rgb-400:251,191,36;--tertiary-contrast-400:var(--light-primary-text);--tertiary-500:#f59e0b;--tertiary-rgb-500:245,158,11;--tertiary-contrast-500:var(--light-primary-text);--tertiary-600:#d97706;--tertiary-rgb-600:217,119,6;--tertiary-contrast-600:var(--light-primary-text);--tertiary-700:#b45309;--tertiary-rgb-700:180,83,9;--tertiary-contrast-700:var(--light-primary-text);--tertiary-800:#92400e;--tertiary-rgb-800:146,64,14;--tertiary-contrast-800:var(--light-primary-text);--tertiary-900:#78350f;--tertiary-rgb-900:120,53,15;--tertiary-contrast-900:var(--light-primary-text);--tertiary-950:#451a03;--tertiary-rgb-950:69,26,3;--tertiary-contrast-950:var(--light-primary-text);--grey-50:#fafafa;--grey-rgb-50:250,250,250;--grey-contrast-50:var(--dark-primary-text);--grey-100:#f4f4f5;--grey-rgb-100:244,244,245;--grey-contrast-100:var(--dark-primary-text);--grey-200:#e4e4e7;--grey-rgb-200:228,228,231;--grey-contrast-200:var(--dark-primary-text);--grey-300:#d4d4d8;--grey-rgb-300:212,212,216;--grey-contrast-300:var(--dark-primary-text);--grey-400:#a1a1aa;--grey-rgb-400:161,161,170;--grey-contrast-400:var(--dark-primary-text);--grey-500:#71717a;--grey-rgb-500:113,113,122;--grey-contrast-500:var(--light-primary-text);--grey-600:#52525b;--grey-rgb-600:82,82,91;--grey-contrast-600:var(--light-primary-text);--grey-700:#3f3f46;--grey-rgb-700:63,63,70;--grey-contrast-700:var(--light-primary-text);--grey-750:#2f2f31;--grey-rgb-750:47,47,49;--grey-contrast-750:var(--light-primary-text);--grey-800:#27272a;--grey-rgb-800:39,39,42;--grey-contrast-800:var(--light-primary-text);--grey-900:#18181b;--grey-rgb-900:24,24,27;--grey-contrast-900:var(--light-primary-text);--grey-950:#09090b;--grey-rgb-950:9,9,11;--grey-contrast-950:var(--light-primary-text);--warn-50:#fef2f2;--warn-rgb-50:254,242,242;--warn-contrast-50:var(--dark-primary-text);--warn-100:#fee2e2;--warn-rgb-100:254,226,226;--warn-contrast-100:var(--dark-primary-text);--warn-200:#fecaca;--warn-rgb-200:254,202,202;--warn-contrast-200:var(--dark-primary-text);--warn-300:#fca5a5;--warn-rgb-300:252,165,165;--warn-contrast-300:var(--dark-primary-text);--warn-400:#f87171;--warn-rgb-400:248,113,113;--warn-contrast-400:var(--light-primary-text);--warn-500:#ef4444;--warn-rgb-500:239,68,68;--warn-contrast-500:var(--light-primary-text);--warn-600:#dc2626;--warn-rgb-600:220,38,38;--warn-contrast-600:var(--light-primary-text);--warn-700:#b91c1c;--warn-rgb-700:185,28,28;--warn-contrast-700:var(--light-primary-text);--warn-800:#991b1b;--warn-rgb-800:153,27,27;--warn-contrast-800:var(--light-primary-text);--warn-900:#7f1d1d;--warn-rgb-900:127,29,29;--warn-contrast-900:var(--light-primary-text);--warn-950:#450a0a;--warn-rgb-950:69,10,10;--warn-contrast-950:var(--light-primary-text);--success-50:#ecfdf5;--success-rgb-50:236,253,245;--success-contrast-50:var(--dark-primary-text);--success-100:#d1fae5;--success-rgb-100:209,250,229;--success-contrast-100:var(--dark-primary-text);--success-200:#a7f3d0;--success-rgb-200:167,243,208;--success-contrast-200:var(--dark-primary-text);--success-300:#6ee7b7;--success-rgb-300:110,231,183;--success-contrast-300:var(--dark-primary-text);--success-400:#34d399;--success-rgb-400:52,211,153;--success-contrast-400:var(--light-primary-text);--success-500:#10b981;--success-rgb-500:16,185,129;--success-contrast-500:var(--light-primary-text);--success-600:#059669;--success-rgb-600:5,150,105;--success-contrast-600:var(--light-primary-text);--success-700:#047857;--success-rgb-700:4,120,87;--success-contrast-700:var(--light-primary-text);--success-800:#065f46;--success-rgb-800:6,95,70;--success-contrast-800:var(--light-primary-text);--success-900:#064e3b;--success-rgb-900:6,78,59;--success-contrast-900:var(--light-primary-text);--success-950:#022c22;--success-rgb-950:2,44,34;--success-contrast-950:var(--light-primary-text);--display-10:600 5rem / normal Inter Tight, sans-serif;--display-20:600 4.5rem / normal Inter Tight, sans-serif;--display-30:600 4rem / normal Inter Tight, sans-serif;--display-40:600 3.5rem / normal Inter Tight, sans-serif;--display-50:600 3rem / normal Inter Tight, sans-serif;--title-10:500 2.5rem / normal Inter Tight, sans-serif;--title-20:500 2rem / normal Inter Tight, sans-serif;--title-30:500 1.5rem / normal Inter Tight, sans-serif;--title-10B:600 2.5rem / normal Inter Tight, sans-serif;--title-20B:600 2rem / normal Inter Tight, sans-serif;--title-30B:600 1.5rem / normal Inter Tight, sans-serif;--paragraph-10:500 1.125rem / normal Inter Tight, sans-serif;--paragraph-20:500 1rem / normal Inter Tight, sans-serif;--paragraph-30:500 .875rem / normal Inter Tight, sans-serif;--paragraph-40:500 .75rem / normal Inter Tight, sans-serif;--paragraph-10B:600 1.125rem / normal Inter Tight, sans-serif;--paragraph-20B:600 1rem / normal Inter Tight, sans-serif;--paragraph-30B:600 .875rem / normal Inter Tight, sans-serif;--paragraph-40B:600 .75rem / normal Inter Tight, sans-serif;--shape-1:.25rem;--shape-2:.5rem;--shape-3:.75rem;--shape-4:1rem;--shape-5:1.25rem;--box-shadow-10:0 1px 2px 0 rgba(18, 18, 23, .07);--box-shadow-20:0 1px 3px 0 rgba(18, 18, 23, .1);--box-shadow-30:0 1px 4px -1px rgba(18, 18, 23, .08);--box-shadow-35:0 4px 6px -1px rgba(18, 18, 23, .08);--box-shadow-40:0 10px 15px -3px rgba(18, 18, 23, .08);--box-shadow-50:0 20px 25px -5px rgba(18, 18, 23, .1);--box-shadow-60:0 25px 50px -12px rgba(18, 18, 23, .25);--base-level-10:var(--sparkle-light, #fff) var(--sparkle-dark, var(--grey-950));--base-level-20:var(--sparkle-light, var(--grey-50)) var(--sparkle-dark, var(--grey-900));--base-level-30:var(--sparkle-light, var(--grey-100)) var(--sparkle-dark, var(--grey-900));--base-level-30R:var(--sparkle-light, var(--grey-900)) var(--sparkle-dark, var(--grey-100));--base-level-40:var(--sparkle-light, var(--grey-200)) var(--sparkle-dark, var(--grey-700));--base-level-50:var(--sparkle-light, var(--grey-300)) var(--sparkle-dark, var(--grey-800));--base-level-60:var(--sparkle-light, var(--grey-500)) var(--sparkle-dark, var(--grey-400));--base-level-60R:var(--sparkle-light, var(--grey-400)) var(--sparkle-dark, var(--grey-500));--base-level-70:var(--sparkle-light, var(--grey-900)) var(--sparkle-dark, #fff);--base-level-70R:var(--sparkle-light, #fff) var(--sparkle-dark, var(--grey-900));--base-gradient-20:linear-gradient(180deg, var(--grey-400) 0%, var(--grey-500) 50%);--base-gradient-30:linear-gradient(180deg, var(--grey-300) 0%, var(--grey-500) 50%);--base-gradient-60:linear-gradient(180deg, var(--grey-700) 0%, var(--grey-900) 50%);--base-gradient-70:linear-gradient(180deg, var(--grey-600) 0%, var(--grey-900) 50%);--primary-level-20:var(--sparkle-light, var(--primary-50)) var(--sparkle-dark, var(--primary-950));--primary-level-30:var(--sparkle-light, var(--primary-100)) var(--sparkle-dark, var(--primary-900));--primary-level-40:var(--sparkle-light, var(--primary-200)) var(--sparkle-dark, var(--primary-800));--primary-level-50:var(--sparkle-light, var(--primary-300)) var(--sparkle-dark, var(--primary-800));--primary-level-50R:var(--sparkle-light, var(--primary-800)) var(--sparkle-dark, var(--primary-300));--primary-level-80:var(--sparkle-light, var(--primary-900)) var(--sparkle-dark, var(--primary-300));--primary-gradient-20:linear-gradient(180deg, var(--primary-400) 0%, var(--primary-500) 50%);--primary-gradient-30:linear-gradient(180deg, var(--primary-300) 0%, var(--primary-500) 50%);--accent-level-20:var(--sparkle-light, var(--accent-50)) var(--sparkle-dark, var(--accent-950));--accent-level-30:var(--sparkle-light, var(--accent-100)) var(--sparkle-dark, var(--accent-900));--accent-level-40:var(--sparkle-light, var(--accent-200)) var(--sparkle-dark, var(--accent-800));--accent-level-50:var(--sparkle-light, var(--accent-300)) var(--sparkle-dark, var(--accent-800));--accent-level-50R:var(--sparkle-light, var(--accent-800)) var(--sparkle-dark, var(--accent-300));--accent-level-80:var(--sparkle-light, var(--accent-900)) var(--sparkle-dark, var(--accent-300));--accent-gradient-20:linear-gradient(180deg, var(--accent-400) 0%, var(--accent-500) 50%);--accent-gradient-30:linear-gradient(180deg, var(--accent-300) 0%, var(--accent-500) 50%);--tertiary-level-20:var(--sparkle-light, var(--tertiary-50)) var(--sparkle-dark, var(--tertiary-950));--tertiary-level-30:var(--sparkle-light, var(--tertiary-100)) var(--sparkle-dark, var(--tertiary-900));--tertiary-level-40:var(--sparkle-light, var(--tertiary-200)) var(--sparkle-dark, var(--tertiary-800));--tertiary-level-50:var(--sparkle-light, var(--tertiary-300)) var(--sparkle-dark, var(--tertiary-800));--tertiary-level-50R:var(--sparkle-light, var(--tertiary-800)) var(--sparkle-dark, var(--tertiary-300));--tertiary-level-80:var(--sparkle-light, var(--tertiary-900)) var(--sparkle-dark, var(--tertiary-300));--tertiary-gradient-20:linear-gradient(180deg, var(--tertiary-400) 0%, var(--tertiary-500) 50%);--tertiary-gradient-30:linear-gradient(180deg, var(--tertiary-300) 0%, var(--tertiary-500) 50%);--warn-level-20:var(--sparkle-light, var(--warn-50)) var(--sparkle-dark, var(--warn-950));--warn-level-30:var(--sparkle-light, var(--warn-100)) var(--sparkle-dark, var(--warn-900));--warn-level-40:var(--sparkle-light, var(--warn-200)) var(--sparkle-dark, var(--warn-800));--warn-level-50:var(--sparkle-light, var(--warn-300)) var(--sparkle-dark, var(--warn-800));--warn-level-50R:var(--sparkle-light, var(--warn-800)) var(--sparkle-dark, var(--warn-300));--warn-level-80:var(--sparkle-light, var(--warn-900)) var(--sparkle-dark, var(--warn-300));--warn-gradient-20:linear-gradient(180deg, var(--warn-400) 0%, var(--warn-500) 50%);--warn-gradient-30:linear-gradient(180deg, var(--warn-300) 0%, var(--warn-500) 50%);--success-level-20:var(--sparkle-light, var(--success-50)) var(--sparkle-dark, var(--success-950));--success-level-30:var(--sparkle-light, var(--success-100)) var(--sparkle-dark, var(--success-900));--success-level-40:var(--sparkle-light, var(--success-200)) var(--sparkle-dark, var(--success-800));--success-level-50:var(--sparkle-light, var(--success-300)) var(--sparkle-dark, var(--success-800));--success-level-50R:var(--sparkle-light, var(--success-800)) var(--sparkle-dark, var(--success-300));--success-level-80:var(--sparkle-light, var(--success-900)) var(--sparkle-dark, var(--success-300));--success-gradient-20:linear-gradient(180deg, var(--success-400) 0%, var(--success-500) 50%);--success-gradient-30:linear-gradient(180deg, var(--success-300) 0%, var(--success-500) 50%);--dark-primary-text:var(--grey-900);--light-primary-text:#fff}*{box-sizing:border-box}html,body,app-root{width:100vw;min-height:100vh;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:var(--base-level-20)}body{margin:0;font:var(--paragraph-30);color:var(--base-level-70)}</style><link rel="stylesheet" href="styles-AIQ3E4AK.css" media="print" onload="this.media='all'"><noscript><link rel="stylesheet" href="styles-AIQ3E4AK.css"></noscript></head>
|
|
21
21
|
<body>
|
|
22
22
|
<app-root></app-root>
|
|
23
|
-
<link rel="modulepreload" href="chunk-
|
|
23
|
+
<link rel="modulepreload" href="chunk-CGRSLVMY.js"><link rel="modulepreload" href="chunk-MSZ6S4MV.js"><link rel="modulepreload" href="chunk-36F7QFET.js"><link rel="modulepreload" href="chunk-EQGWBFEW.js"><link rel="modulepreload" href="chunk-36BW3HQ7.js"><link rel="modulepreload" href="chunk-AUVXHFRE.js"><link rel="modulepreload" href="chunk-LLZCURV6.js"><link rel="modulepreload" href="chunk-DGDWETHE.js"><link rel="modulepreload" href="chunk-RACRCDGZ.js"><link rel="modulepreload" href="chunk-GOCS43XM.js"><script src="polyfills-DUGKNACR.js" type="module"></script><script src="main-YB2PGXE3.js" type="module"></script></body>
|
|
24
24
|
</html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as ie,c as ae}from"./chunk-
|
|
1
|
+
import{b as ie,c as ae}from"./chunk-CGRSLVMY.js";import{a as L}from"./chunk-MSZ6S4MV.js";import{a as re}from"./chunk-36F7QFET.js";import{a as y}from"./chunk-EQGWBFEW.js";import{a as I}from"./chunk-36BW3HQ7.js";import{a as oe}from"./chunk-AUVXHFRE.js";import{a as b,b as u}from"./chunk-LLZCURV6.js";import"./chunk-DGDWETHE.js";import{a as w}from"./chunk-RACRCDGZ.js";import{d as te}from"./chunk-GOCS43XM.js";import{b as Z,c as Q,f as Y,g as ee}from"./chunk-ZTEWFJB7.js";import{a as X}from"./chunk-R2RIU25S.js";import{c as ne}from"./chunk-D64J3G73.js";import{a as $,b as K,d as z,e as _,f as q}from"./chunk-GKTIIZ72.js";import{ua as B}from"./chunk-XVYQD36R.js";import{b as se}from"./chunk-ZLU2WKOF.js";import{Dc as D,Eb as F,Ec as G,G as v,M as j,O as S,Oc as J,Q as H,U as R,Ya as d,_ as r,d as P,eb as W,ka as U,m as E,q as O,y as N,z as x}from"./chunk-ZYQXWAMY.js";import"./chunk-C6Q5SG76.js";var M=class e{#o=r(y);#s=r(b);ngOnInit(){this.#s.fetchConfig(),this.#o.clearAllNotCurrentVersion()}static \u0275fac=function(t){return new(t||e)};static \u0275cmp=W({type:e,selectors:[["app-root"]],decls:1,vars:0,template:function(t,n){t&1&&F(0,"router-outlet")},dependencies:[Z],encapsulation:2})};var ce={production:!0,baseUrl:"/api",machineServerUrl:"${WS_URL}",defaultTimeout:3e4};var T=class e{#o=r(te);isLoaded=d(!1);webmodules=d(null);preload(o=!1){let t=this.#o.getApiV1Webmodules().pipe(H(n=>this.webmodules.set(n)),v(()=>this.isLoaded.set(!0)));if(o)return t;t.subscribe()}static \u0275fac=function(t){return new(t||e)};static \u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"root"})};var fe=()=>{let e=r(w);return e.token()?!0:e.refreshToken().pipe(O(()=>!0))},ge=()=>{let e=r(b),o=r(I),t=r(U),n=e.relayIsEnabled()?"longpoll":"websocket",p=[t.get(L).preload(!0),t.get(L).preloadFilterGroups(!0),t.get(T).preload(!0)];return e.configLoaded===null?N(p).pipe(O(()=>n)):e.configLoaded?.pipe(S(()=>N(p)))},le=[{path:"",children:[{path:"login",canActivate:[],loadComponent:()=>import("./chunk-PV7MTP6N.js")},{path:"logout",loadComponent:()=>import("./chunk-YVJTTACQ.js")},{path:"",canActivate:[fe],children:[{path:"",canActivate:[ge],loadComponent:()=>import("./chunk-EQ7SGBND.js"),children:[{path:"",loadComponent:()=>import("./chunk-VO6WZ2FC.js")},{path:"add-backup",loadComponent:()=>import("./chunk-5LJPNDXN.js")},{path:"backup/:id/export",loadComponent:()=>import("./chunk-WZU5GEIZ.js")},{path:"backup/import",loadComponent:()=>import("./chunk-XPKNYX4D.js")},{path:"backup-draft/:id",loadComponent:()=>import("./chunk-BTVE465Y.js"),loadChildren:()=>import("./chunk-WRCHPMPK.js")},{path:"backup/:id",loadComponent:()=>import("./chunk-BTVE465Y.js"),loadChildren:()=>import("./chunk-WRCHPMPK.js")},{path:"backup/:id/log",loadComponent:()=>import("./chunk-AMAV7ILZ.js")},{path:"backup/:id/database",loadComponent:()=>import("./chunk-T74PBQWH.js")},{path:"backup/:id/commandline",loadComponent:()=>import("./chunk-23B5YPI7.js")},{path:"backup/:id/commandline/:runId",loadComponent:()=>import("./chunk-FOOQLIND.js")},{path:"restore",children:[{path:"",loadComponent:()=>import("./chunk-RIBFT4EC.js")},{path:"from-config",loadComponent:()=>import("./chunk-ETSKNH5A.js")}]},{path:"restore-from-files",loadComponent:()=>import("./chunk-RJNJ6YSP.js"),loadChildren:()=>import("./chunk-BXR7Y6IT.js")},{path:"restore-draft/:id",loadComponent:()=>import("./chunk-RJNJ6YSP.js"),loadChildren:()=>import("./chunk-BXR7Y6IT.js")},{path:"restore/:id",loadComponent:()=>import("./chunk-RJNJ6YSP.js"),loadChildren:()=>import("./chunk-BXR7Y6IT.js")},{path:"settings",loadComponent:()=>import("./chunk-6L2NUWJ4.js")},{path:"about",loadComponent:()=>import("./chunk-3PWBJYXG.js"),children:[{path:"",redirectTo:"general",pathMatch:"full"},{path:"general",loadComponent:()=>import("./chunk-SRYAKXQ4.js")},{path:"changelog",loadComponent:()=>import("./chunk-IAP5TJ3R.js")},{path:"libraries",loadComponent:()=>import("./chunk-D4IXAB67.js")},{path:"system-info",loadComponent:()=>import("./chunk-4TAMR7KC.js")},{path:"logs",loadComponent:()=>import("./chunk-LD6OVCQQ.js")}]}]}]}]}];var A=null,me=(e,o)=>{let t=r(w),n=r(Q),p=r(y),i=r(u),m=p.getItem("locale"),s=r(ne),c=ie(m),f=e.url==="/api/v1/auth/login",l=e;if(t.token()&&e.url.startsWith(i.baseUrl)){let a=e.headers.set("Authorization",`Bearer ${t.token()}`);m&&m!=="en-US"&&(a=a.set("X-Ui-Language",c)),l=e.clone({headers:a})}return o(l).pipe(x(a=>{if(s.error(a.message),!f&&a.status===401&&!A&&(A=t.refreshToken().pipe(j())),!f&&a.status===401)return A.pipe(S(()=>o(e.clone({headers:e.headers.set("Authorization",`Bearer ${t.token()}`)}))),x(g=>(n.navigate(["/logout"]),E(()=>g))),v(()=>A=null));let h=`Error Code: ${a.status}, Message: ${a.message}`;return E(()=>({error:a,message:h}))}))};var ye="1.0.0",de="portal-proxy-client",be=1,k=class e{#o=1e3;#s=r(u);#t=d("disconnected");#l=d(this.#o);#i=d(!1);#n=d(!1);#a=d(null);isConnectedToMachineServer=this.#n.asReadonly();wsState=this.#t.asReadonly();#p=[];#r={};#e=null;#m=new TextDecoder("utf-8");#c=null;#d=J(()=>{let o=this.#i(),t=this.#l(),n=this.#a();if(!n||!o||!t||t<this.#o){this.#c&&window.clearInterval(this.#c);return}this.#c=window.setInterval(()=>{this.connectToMachineServer(n)},t)});utf8Atob(o){let t=Uint8Array.from(atob(o),p=>p.charCodeAt(0)),n=this.#m.decode(t);return n?JSON.parse(n):null}connectToMachineServer(o,t){let n=t?.reconnect??!1;this.#e&&this.wsState()==="authenticated"&&!n||(this.#e&&this.wsState()!=="authenticated"&&this.#e.close(),this.#e=new WebSocket(this.#s.machineServerUrl),this.#e.onopen=()=>{this.#t.set("connect"),this.#n.set(!0),this.#i.set(!1),this.#a.set(null)},this.#e.onclose=()=>{this.#t.set("disconnected"),this.#n.set(!1),this.#a.set(o),this.#i.set(!0)},this.#e.onerror=()=>{this.#t.set("error")},this.#e.onmessage=p=>{let i=JSON.parse(p.data);if(this.wsState()==="connect"){if(i.type!=="welcome"){this.disconnectFromMachineServer(`Unexpected message type, expected 'welcome' but got '${i.type}'`);return}let s={token:o,publicKey:"",clientVersion:ye,protocolVersion:be},c=this.createResponse(i,"authportal",s);this.#t.set("welcome"),this.#e?.send(c)}else if(this.wsState()==="welcome"){if(i.type!=="authportal"){this.disconnectFromMachineServer(`Unexpected message type, expected 'authportal' but got '${i.type}'`);return}var m=JSON.parse(i.payload??"");if(m.accepted===!1){this.disconnectFromMachineServer("Authentication failed");return}for(this.#t.set("authenticated"),this.#n.set(!0);this.#p.length>0;){let s=this.#p.pop();s&&this.#r[s.messageId]&&this.activateCommand(s)}}else if(this.wsState()==="authenticated"){if(i.type!=="command"){console.warn(`Unexpected message type, expected 'command' but got '${i.type}'`);return}let s=this.#r[i.messageId];if(s){if(i.errorMessage){s.reject(i.errorMessage);return}else{let c=JSON.parse(i.payload??"");c.body=c?.body==null?null:this.utf8Atob(c.body),s.resolve(c)}delete this.#r[i.messageId],window.clearTimeout(s.timer)}}})}disconnectFromMachineServer(o=null){o&&console.error(o),this.#e?.close(),this.#e=null,this.#t.set("disconnected"),this.#n.set(!1)}createResponse(o,t,n){let p={from:de,to:o.from,type:t,messageId:o.messageId,payload:JSON.stringify(n)};return JSON.stringify(p)}sendCommand(o,t,n,p,i,m,s=5e3){return(this.wsState()==="disconnected"||this.wsState()==="error")&&this.connectToMachineServer(o),new Promise((c,f)=>{let l=crypto.randomUUID(),h={from:de,to:t,type:"command",messageId:l,payload:JSON.stringify({method:n,path:p,body:i,headers:m})},g={resolve:c,reject:f,timer:window.setTimeout(()=>{let C=this.#r[l];C&&(delete this.#r[l],C.reject("Timeout"))},s)};this.#r[l]=g,this.#n()?this.activateCommand(h):this.#p.push(h)})}activateCommand(o){this.#e?.send(JSON.stringify(o))}static \u0275fac=function(t){return new(t||e)};static \u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"root"})};function Ce(e){if(typeof e!="string")return null;let t=new TextEncoder().encode(e);return window.btoa(String.fromCharCode(...t))}var ue=(e,o)=>{let n=r(b).config(),p=r(u);if(n===null)return o(e);let i=r(k),m=Ce(e.body),s={};e.headers.keys().forEach(a=>{s[a]=e.headers.get(a)??""});let c=e.headers.get("timeout"),f=c!==null?parseInt(c):p.defaultTimeout,l=i.sendCommand(n.accessToken,n.clientId,e.method,e.url,m,s,f);return new P(a=>{l.then(h=>{let g=new $;s!=null&&Object.keys(s).forEach(V=>{g.set(V,s[V])});let C=new K({body:h.body,status:h.code,statusText:"OK",headers:g});a.next(C),a.complete()})})};var he={providers:[D(),Y(le,ee()),z(q(),_([ue,me])),y,{provide:u,useValue:ce},{provide:G,useValue:ae()},re,I,se,B,oe]};X(M,he);
|
package/package.json
CHANGED
package/chunk-34MR2IQN.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"./chunk-BSZZLSIX.js";import"./chunk-BUARZS4A.js";import"./chunk-VGQ6X3AL.js";import"./chunk-C6Q5SG76.js";export{a as BytesPipe};
|