@signalk/freeboard-sk 3.2.0-beta.5 → 3.2.0
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/package.json +3 -2
- package/public/assets/features/route-following-1.jpg +0 -0
- package/public/assets/features/route-following-2.jpg +0 -0
- package/public/assets/features/route-following-3.jpg +0 -0
- package/public/assets/features-corpus.json +1 -1
- package/public/assets/help/index.html +7 -5
- package/public/{chunk-ZXIUZMA7.js → chunk-3HO5JDYF.js} +1 -1
- package/public/{chunk-RRFDJNNT.js → chunk-3UKG3D3M.js} +1 -1
- package/public/{chunk-VJLDZ4NI.js → chunk-4UBQTQSK.js} +1 -1
- package/public/{chunk-PU7NCPYW.js → chunk-5SYZI253.js} +1 -1
- package/public/{chunk-DFAGTODX.js → chunk-6ZXMFU55.js} +1 -1
- package/public/{chunk-JEAAYERI.js → chunk-7OBOGNNY.js} +1 -1
- package/public/chunk-A2UDMCI5.js +1 -0
- package/public/{chunk-OPNUYGIO.js → chunk-BCS6VHKX.js} +1 -1
- package/public/{chunk-N4UL6N3G.js → chunk-BJKB23AZ.js} +1 -1
- package/public/{chunk-WYYDGUIZ.js → chunk-BNCDJR4Z.js} +1 -1
- package/public/{chunk-AA62TGOR.js → chunk-D4A5NW5G.js} +1 -1
- package/public/{chunk-6QJRUI6F.js → chunk-DD47QU4L.js} +1 -1
- package/public/chunk-EDKY4MXN.js +1 -0
- package/public/{chunk-WCLDE6BT.js → chunk-GBMW6IJP.js} +1 -1
- package/public/{chunk-VEGUHS2I.js → chunk-GFDZNVNU.js} +79 -79
- package/public/{chunk-DBYANQFC.js → chunk-GVRPUNRX.js} +1 -1
- package/public/chunk-H54CRRPU.js +1 -0
- package/public/chunk-HT6GODHM.js +1 -0
- package/public/{chunk-RZEZX533.js → chunk-L4ONBCRR.js} +1 -1
- package/public/{chunk-HWRLJ3DL.js → chunk-LFAWLMM4.js} +1 -1
- package/public/{chunk-GODGWAVZ.js → chunk-LNU63734.js} +1 -1
- package/public/chunk-NCEQPEJE.js +1 -0
- package/public/{chunk-6PWYCIYX.js → chunk-OVB2ZLN5.js} +1 -1
- package/public/{chunk-TUQRCX5V.js → chunk-P57WKW3G.js} +1 -1
- package/public/{chunk-SUT6O77L.js → chunk-QWUBBFQO.js} +1 -1
- package/public/{chunk-TK54SKYF.js → chunk-R7YVRRY3.js} +1 -1
- package/public/{chunk-Q4NBIMTT.js → chunk-RQKGK2KO.js} +1 -1
- package/public/{chunk-WTDLBURC.js → chunk-RRYFRHFP.js} +1 -1
- package/public/{chunk-6WPO4OMT.js → chunk-UBTZRPVO.js} +1 -1
- package/public/{chunk-7TRKAN4B.js → chunk-USYMWMPO.js} +1 -1
- package/public/{chunk-4JRVRHO7.js → chunk-VQDXDSU7.js} +1 -1
- package/public/chunk-XXGLBGHG.js +1 -0
- package/public/{chunk-4ZE2OKZZ.js → chunk-XZM7Q5WP.js} +1 -1
- package/public/{chunk-PG6RM7YJ.js → chunk-YB4RBYE2.js} +1 -1
- package/public/index.html +1 -1
- package/public/main-LYWXFV5I.js +468 -0
- package/public/worker-DYC3TMVW.js +3 -0
- package/public/chunk-6H3I7D5M.js +0 -1
- package/public/chunk-AMDY4THY.js +0 -1
- package/public/chunk-CCTZD6S5.js +0 -1
- package/public/chunk-SGKVAYBG.js +0 -1
- package/public/chunk-U67UWQ7C.js +0 -1
- package/public/chunk-XVRRHA2K.js +0 -1
- package/public/main-BW35DEQ6.js +0 -468
- package/public/worker-GBKY4SNO.js +0 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as E,b as U,
|
|
1
|
+
import{a as E,b as U,g as vn}from"./chunk-NCEQPEJE.js";function Zr(e){let t=e(r=>{Error.call(r),r.stack=new Error().stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}var em=Zr(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function F(e){return typeof e=="function"}var Ks=Zr(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:
|
|
2
2
|
${t.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
|
|
3
3
|
`)}`:"",this.name="UnsubscriptionError",this.errors=t});function tr(e,n){if(e){let t=e.indexOf(n);0<=t&&e.splice(t,1)}}var j=class e{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;let{_parentage:t}=this;if(t)if(this._parentage=null,Array.isArray(t))for(let i of t)i.remove(this);else t.remove(this);let{initialTeardown:r}=this;if(F(r))try{r()}catch(i){n=i instanceof Ks?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{tm(i)}catch(s){n=n??[],s instanceof Ks?n=[...n,...s.errors]:n.push(s)}}if(n)throw new Ks(n)}}add(n){var t;if(n&&n!==this)if(this.closed)tm(n);else{if(n instanceof e){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=(t=this._finalizers)!==null&&t!==void 0?t:[]).push(n)}}_hasParent(n){let{_parentage:t}=this;return t===n||Array.isArray(t)&&t.includes(n)}_addParent(n){let{_parentage:t}=this;this._parentage=Array.isArray(t)?(t.push(n),t):t?[t,n]:n}_removeParent(n){let{_parentage:t}=this;t===n?this._parentage=null:Array.isArray(t)&&tr(t,n)}remove(n){let{_finalizers:t}=this;t&&tr(t,n),n instanceof e&&n._removeParent(this)}};j.EMPTY=(()=>{let e=new j;return e.closed=!0,e})();var uu=j.EMPTY;function Xs(e){return e instanceof j||e&&"closed"in e&&F(e.remove)&&F(e.add)&&F(e.unsubscribe)}function tm(e){F(e)?e():e.unsubscribe()}var bt={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Kr={setTimeout(e,n,...t){let{delegate:r}=Kr;return r?.setTimeout?r.setTimeout(e,n,...t):setTimeout(e,n,...t)},clearTimeout(e){let{delegate:n}=Kr;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Qs(e){Kr.setTimeout(()=>{let{onUnhandledError:n}=bt;if(n)n(e);else throw e})}function li(){}var nm=du("C",void 0,void 0);function rm(e){return du("E",void 0,e)}function om(e){return du("N",e,void 0)}function du(e,n,t){return{kind:e,value:n,error:t}}var nr=null;function Xr(e){if(bt.useDeprecatedSynchronousErrorHandling){let n=!nr;if(n&&(nr={errorThrown:!1,error:null}),e(),n){let{errorThrown:t,error:r}=nr;if(nr=null,t)throw r}}else e()}function im(e){bt.useDeprecatedSynchronousErrorHandling&&nr&&(nr.errorThrown=!0,nr.error=e)}var rr=class extends j{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,Xs(n)&&n.add(this)):this.destination=hC}static create(n,t,r){return new Dt(n,t,r)}next(n){this.isStopped?hu(om(n),this):this._next(n)}error(n){this.isStopped?hu(rm(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?hu(nm,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},dC=Function.prototype.bind;function fu(e,n){return dC.call(e,n)}var pu=class{constructor(n){this.partialObserver=n}next(n){let{partialObserver:t}=this;if(t.next)try{t.next(n)}catch(r){Js(r)}}error(n){let{partialObserver:t}=this;if(t.error)try{t.error(n)}catch(r){Js(r)}else Js(n)}complete(){let{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(t){Js(t)}}},Dt=class extends rr{constructor(n,t,r){super();let o;if(F(n)||!n)o={next:n??void 0,error:t??void 0,complete:r??void 0};else{let i;this&&bt.useDeprecatedNextContext?(i=Object.create(n),i.unsubscribe=()=>this.unsubscribe(),o={next:n.next&&fu(n.next,i),error:n.error&&fu(n.error,i),complete:n.complete&&fu(n.complete,i)}):o=n}this.destination=new pu(o)}};function Js(e){bt.useDeprecatedSynchronousErrorHandling?im(e):Qs(e)}function fC(e){throw e}function hu(e,n){let{onStoppedNotification:t}=bt;t&&Kr.setTimeout(()=>t(e,n))}var hC={closed:!0,next:li,error:fC,complete:li};function pC(e,n){let t=typeof n=="object";return new Promise((r,o)=>{let i=new Dt({next:s=>{r(s),i.unsubscribe()},error:o,complete:()=>{t?r(n.defaultValue):o(new em)}});e.subscribe(i)})}var Qr=typeof Symbol=="function"&&Symbol.observable||"@@observable";function Et(e){return e}function sm(e){return e.length===0?Et:e.length===1?e[0]:function(t){return e.reduce((r,o)=>o(r),t)}}var R=(()=>{class e{constructor(t){t&&(this._subscribe=t)}lift(t){let r=new e;return r.source=this,r.operator=t,r}subscribe(t,r,o){let i=gC(t)?t:new Dt(t,r,o);return Xr(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(t){try{return this._subscribe(t)}catch(r){t.error(r)}}forEach(t,r){return r=am(r),new r((o,i)=>{let s=new Dt({next:a=>{try{t(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(t){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(t)}[Qr](){return this}pipe(...t){return sm(t)(this)}toPromise(t){return t=am(t),new t((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=n=>new e(n),e})();function am(e){var n;return(n=e??bt.Promise)!==null&&n!==void 0?n:Promise}function mC(e){return e&&F(e.next)&&F(e.error)&&F(e.complete)}function gC(e){return e&&e instanceof rr||mC(e)&&Xs(e)}function mu(e){return F(e?.lift)}function L(e){return n=>{if(mu(n))return n.lift(function(t){try{return e(t,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function P(e,n,t,r,o){return new ui(e,n,t,r,o)}var ui=class extends rr{constructor(n,t,r,o,i,s){super(n),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=t?function(a){try{t(a)}catch(c){n.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){n.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:t}=this;super.unsubscribe(),!t&&((n=this.onFinalize)===null||n===void 0||n.call(this))}}};function cm(){return L((e,n)=>{let t=null;e._refCount++;let r=P(n,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){t=null;return}let o=e._connection,i=t;t=null,o&&(!i||o===i)&&o.unsubscribe(),n.unsubscribe()});e.subscribe(r),r.closed||(t=e.connect())})}var di=class extends R{constructor(n,t){super(),this.source=n,this.subjectFactory=t,this._subject=null,this._refCount=0,this._connection=null,mu(n)&&(this.lift=n.lift)}_subscribe(n){return this.getSubject().subscribe(n)}getSubject(){let n=this._subject;return(!n||n.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:n}=this;this._subject=this._connection=null,n?.unsubscribe()}connect(){let n=this._connection;if(!n){n=this._connection=new j;let t=this.getSubject();n.add(this.source.subscribe(P(t,void 0,()=>{this._teardown(),t.complete()},r=>{this._teardown(),t.error(r)},()=>this._teardown()))),n.closed&&(this._connection=null,n=j.EMPTY)}return n}refCount(){return cm()(this)}};var Jr={schedule(e){let n=requestAnimationFrame,t=cancelAnimationFrame,{delegate:r}=Jr;r&&(n=r.requestAnimationFrame,t=r.cancelAnimationFrame);let o=n(i=>{t=void 0,e(i)});return new j(()=>t?.(o))},requestAnimationFrame(...e){let{delegate:n}=Jr;return(n?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){let{delegate:n}=Jr;return(n?.cancelAnimationFrame||cancelAnimationFrame)(...e)},delegate:void 0};var lm=Zr(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var w=(()=>{class e extends R{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){let r=new ea(this,this);return r.operator=t,r}_throwIfClosed(){if(this.closed)throw new lm}next(t){Xr(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(t)}})}error(t){Xr(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;let{observers:r}=this;for(;r.length;)r.shift().error(t)}})}complete(){Xr(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:t}=this;for(;t.length;)t.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var t;return((t=this.observers)===null||t===void 0?void 0:t.length)>0}_trySubscribe(t){return this._throwIfClosed(),super._trySubscribe(t)}_subscribe(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)}_innerSubscribe(t){let{hasError:r,isStopped:o,observers:i}=this;return r||o?uu:(this.currentObservers=null,i.push(t),new j(()=>{this.currentObservers=null,tr(i,t)}))}_checkFinalizedStatuses(t){let{hasError:r,thrownError:o,isStopped:i}=this;r?t.error(o):i&&t.complete()}asObservable(){let t=new R;return t.source=this,t}}return e.create=(n,t)=>new ea(n,t),e})(),ea=class extends w{constructor(n,t){super(),this.destination=n,this.source=t}next(n){var t,r;(r=(t=this.destination)===null||t===void 0?void 0:t.next)===null||r===void 0||r.call(t,n)}error(n){var t,r;(r=(t=this.destination)===null||t===void 0?void 0:t.error)===null||r===void 0||r.call(t,n)}complete(){var n,t;(t=(n=this.destination)===null||n===void 0?void 0:n.complete)===null||t===void 0||t.call(n)}_subscribe(n){var t,r;return(r=(t=this.source)===null||t===void 0?void 0:t.subscribe(n))!==null&&r!==void 0?r:uu}};var or=class extends w{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){let t=super._subscribe(n);return!t.closed&&n.next(this._value),t}getValue(){let{hasError:n,thrownError:t,_value:r}=this;if(n)throw t;return this._throwIfClosed(),r}next(n){super.next(this._value=n)}};var fi={now(){return(fi.delegate||Date).now()},delegate:void 0};var yn=class extends w{constructor(n=1/0,t=1/0,r=fi){super(),this._bufferSize=n,this._windowTime=t,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=t===1/0,this._bufferSize=Math.max(1,n),this._windowTime=Math.max(1,t)}next(n){let{isStopped:t,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;t||(r.push(n),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(n)}_subscribe(n){this._throwIfClosed(),this._trimBuffer();let t=this._innerSubscribe(n),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!n.closed;s+=r?1:2)n.next(i[s]);return this._checkFinalizedStatuses(n),t}_trimBuffer(){let{_bufferSize:n,_timestampProvider:t,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*n;if(n<1/0&&i<r.length&&r.splice(0,r.length-i),!o){let s=t.now(),a=0;for(let c=1;c<r.length&&r[c]<=s;c+=2)a=c;a&&r.splice(0,a+1)}}};var gu=class extends w{constructor(){super(...arguments),this._value=null,this._hasValue=!1,this._isComplete=!1}_checkFinalizedStatuses(n){let{hasError:t,_hasValue:r,_value:o,thrownError:i,isStopped:s,_isComplete:a}=this;t?n.error(i):(s||a)&&(r&&n.next(o),n.complete())}next(n){this.isStopped||(this._value=n,this._hasValue=!0)}complete(){let{_hasValue:n,_value:t,_isComplete:r}=this;r||(this._isComplete=!0,n&&super.next(t),super.complete())}};var ta=class extends j{constructor(n,t){super()}schedule(n,t=0){return this}};var hi={setInterval(e,n,...t){let{delegate:r}=hi;return r?.setInterval?r.setInterval(e,n,...t):setInterval(e,n,...t)},clearInterval(e){let{delegate:n}=hi;return(n?.clearInterval||clearInterval)(e)},delegate:void 0};var _n=class extends ta{constructor(n,t){super(n,t),this.scheduler=n,this.work=t,this.pending=!1}schedule(n,t=0){var r;if(this.closed)return this;this.state=n;let o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,t)),this.pending=!0,this.delay=t,this.id=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(i,this.id,t),this}requestAsyncId(n,t,r=0){return hi.setInterval(n.flush.bind(n,this),r)}recycleAsyncId(n,t,r=0){if(r!=null&&this.delay===r&&this.pending===!1)return t;t!=null&&hi.clearInterval(t)}execute(n,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(n,t);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(n,t){let r=!1,o;try{this.work(n)}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:n,scheduler:t}=this,{actions:r}=t;this.work=this.state=this.scheduler=null,this.pending=!1,tr(r,this),n!=null&&(this.id=this.recycleAsyncId(t,n,null)),this.delay=null,super.unsubscribe()}}};var vC=1,vu,yu={};function um(e){return e in yu?(delete yu[e],!0):!1}var dm={setImmediate(e){let n=vC++;return yu[n]=!0,vu||(vu=Promise.resolve()),vu.then(()=>um(n)&&e()),n},clearImmediate(e){um(e)}};var{setImmediate:yC,clearImmediate:_C}=dm,pi={setImmediate(...e){let{delegate:n}=pi;return(n?.setImmediate||yC)(...e)},clearImmediate(e){let{delegate:n}=pi;return(n?.clearImmediate||_C)(e)},delegate:void 0};var na=class extends _n{constructor(n,t){super(n,t),this.scheduler=n,this.work=t}requestAsyncId(n,t,r=0){return r!==null&&r>0?super.requestAsyncId(n,t,r):(n.actions.push(this),n._scheduled||(n._scheduled=pi.setImmediate(n.flush.bind(n,void 0))))}recycleAsyncId(n,t,r=0){var o;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(n,t,r);let{actions:i}=n;t!=null&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==t&&(pi.clearImmediate(t),n._scheduled===t&&(n._scheduled=void 0))}};var eo=class e{constructor(n,t=e.now){this.schedulerActionCtor=n,this.now=t}schedule(n,t=0,r){return new this.schedulerActionCtor(this,n).schedule(r,t)}};eo.now=fi.now;var bn=class extends eo{constructor(n,t=eo.now){super(n,t),this.actions=[],this._active=!1}flush(n){let{actions:t}=this;if(this._active){t.push(n);return}let r;this._active=!0;do if(r=n.execute(n.state,n.delay))break;while(n=t.shift());if(this._active=!1,r){for(;n=t.shift();)n.unsubscribe();throw r}}};var ra=class extends bn{flush(n){this._active=!0;let t=this._scheduled;this._scheduled=void 0;let{actions:r}=this,o;n=n||r.shift();do if(o=n.execute(n.state,n.delay))break;while((n=r[0])&&n.id===t&&r.shift());if(this._active=!1,o){for(;(n=r[0])&&n.id===t&&r.shift();)n.unsubscribe();throw o}}};var _u=new ra(na);var ir=new bn(_n),fm=ir;var oa=class extends _n{constructor(n,t){super(n,t),this.scheduler=n,this.work=t}requestAsyncId(n,t,r=0){return r!==null&&r>0?super.requestAsyncId(n,t,r):(n.actions.push(this),n._scheduled||(n._scheduled=Jr.requestAnimationFrame(()=>n.flush(void 0))))}recycleAsyncId(n,t,r=0){var o;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(n,t,r);let{actions:i}=n;t!=null&&t===n._scheduled&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==t&&(Jr.cancelAnimationFrame(t),n._scheduled=void 0)}};var ia=class extends bn{flush(n){this._active=!0;let t;n?t=n.id:(t=this._scheduled,this._scheduled=void 0);let{actions:r}=this,o;n=n||r.shift();do if(o=n.execute(n.state,n.delay))break;while((n=r[0])&&n.id===t&&r.shift());if(this._active=!1,o){for(;(n=r[0])&&n.id===t&&r.shift();)n.unsubscribe();throw o}}};var bu=new ia(oa);var mi=new R(e=>e.complete());function sa(e){return e&&F(e.schedule)}function Du(e){return e[e.length-1]}function aa(e){return F(Du(e))?e.pop():void 0}function Lt(e){return sa(Du(e))?e.pop():void 0}function hm(e,n){return typeof Du(e)=="number"?e.pop():n}function mm(e,n,t,r){function o(i){return i instanceof t?i:new t(function(s){s(i)})}return new(t||(t=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,n||[])).next())})}function pm(e){var n=typeof Symbol=="function"&&Symbol.iterator,t=n&&e[n],r=0;if(t)return t.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(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function sr(e){return this instanceof sr?(this.v=e,this):new sr(e)}function gm(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=t.apply(e,n||[]),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(p){return function(m){return Promise.resolve(m).then(p,d)}}function a(p,m){r[p]&&(o[p]=function(v){return new Promise(function(_,D){i.push([p,v,_,D])>1||c(p,v)})},m&&(o[p]=m(o[p])))}function c(p,m){try{l(r[p](m))}catch(v){h(i[0][3],v)}}function l(p){p.value instanceof sr?Promise.resolve(p.value.v).then(u,d):h(i[0][2],p)}function u(p){c("next",p)}function d(p){c("throw",p)}function h(p,m){p(m),i.shift(),i.length&&c(i[0][0],i[0][1])}}function vm(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=e[Symbol.asyncIterator],t;return n?n.call(e):(e=typeof pm=="function"?pm(e):e[Symbol.iterator](),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(i){t[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 ca=e=>e&&typeof e.length=="number"&&typeof e!="function";function la(e){return F(e?.then)}function ua(e){return F(e[Qr])}function da(e){return Symbol.asyncIterator&&F(e?.[Symbol.asyncIterator])}function fa(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 bC(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var ha=bC();function pa(e){return F(e?.[ha])}function ma(e){return gm(this,arguments,function*(){let t=e.getReader();try{for(;;){let{value:r,done:o}=yield sr(t.read());if(o)return yield sr(void 0);yield yield sr(r)}}finally{t.releaseLock()}})}function ga(e){return F(e?.getReader)}function ee(e){if(e instanceof R)return e;if(e!=null){if(ua(e))return DC(e);if(ca(e))return EC(e);if(la(e))return CC(e);if(da(e))return ym(e);if(pa(e))return wC(e);if(ga(e))return IC(e)}throw fa(e)}function DC(e){return new R(n=>{let t=e[Qr]();if(F(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function EC(e){return new R(n=>{for(let t=0;t<e.length&&!n.closed;t++)n.next(e[t]);n.complete()})}function CC(e){return new R(n=>{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,Qs)})}function wC(e){return new R(n=>{for(let t of e)if(n.next(t),n.closed)return;n.complete()})}function ym(e){return new R(n=>{SC(e,n).catch(t=>n.error(t))})}function IC(e){return ym(ma(e))}function SC(e,n){var t,r,o,i;return mm(this,void 0,void 0,function*(){try{for(t=vm(e);r=yield t.next(),!r.done;){let s=r.value;if(n.next(s),n.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=t.return)&&(yield i.call(t))}finally{if(o)throw o.error}}n.complete()})}function ze(e,n,t,r=0,o=!1){let i=n.schedule(function(){t(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function va(e,n=0){return L((t,r)=>{t.subscribe(P(r,o=>ze(r,e,()=>r.next(o),n),()=>ze(r,e,()=>r.complete(),n),o=>ze(r,e,()=>r.error(o),n)))})}function ya(e,n=0){return L((t,r)=>{r.add(e.schedule(()=>t.subscribe(r),n))})}function _m(e,n){return ee(e).pipe(ya(n),va(n))}function bm(e,n){return ee(e).pipe(ya(n),va(n))}function Dm(e,n){return new R(t=>{let r=0;return n.schedule(function(){r===e.length?t.complete():(t.next(e[r++]),t.closed||this.schedule())})})}function Em(e,n){return new R(t=>{let r;return ze(t,n,()=>{r=e[ha](),ze(t,n,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){t.error(s);return}i?t.complete():t.next(o)},0,!0)}),()=>F(r?.return)&&r.return()})}function _a(e,n){if(!e)throw new Error("Iterable cannot be null");return new R(t=>{ze(t,n,()=>{let r=e[Symbol.asyncIterator]();ze(t,n,()=>{r.next().then(o=>{o.done?t.complete():t.next(o.value)})},0,!0)})})}function Cm(e,n){return _a(ma(e),n)}function wm(e,n){if(e!=null){if(ua(e))return _m(e,n);if(ca(e))return Dm(e,n);if(la(e))return bm(e,n);if(da(e))return _a(e,n);if(pa(e))return Em(e,n);if(ga(e))return Cm(e,n)}throw fa(e)}function ct(e,n){return n?wm(e,n):ee(e)}function pe(...e){let n=Lt(e);return ct(e,n)}function Eu(e,n){let t=F(e)?e:()=>e,r=o=>o.error(t());return new R(n?o=>n.schedule(r,0,o):r)}function Zt(e){return!!e&&(e instanceof R||F(e.lift)&&F(e.subscribe))}function Im(e){return e instanceof Date&&!isNaN(e)}function Q(e,n){return L((t,r)=>{let o=0;t.subscribe(P(r,i=>{r.next(e.call(n,i,o++))}))})}var{isArray:MC}=Array;function TC(e,n){return MC(n)?e(...n):e(n)}function ba(e){return Q(n=>TC(e,n))}var{isArray:xC}=Array,{getPrototypeOf:AC,prototype:NC,keys:RC}=Object;function Da(e){if(e.length===1){let n=e[0];if(xC(n))return{args:n,keys:null};if(OC(n)){let t=RC(n);return{args:t.map(r=>n[r]),keys:t}}}return{args:e,keys:null}}function OC(e){return e&&typeof e=="object"&&AC(e)===NC}function Ea(e,n){return e.reduce((t,r,o)=>(t[r]=n[o],t),{})}function Cu(...e){let n=Lt(e),t=aa(e),{args:r,keys:o}=Da(e);if(r.length===0)return ct([],n);let i=new R(kC(r,n,o?s=>Ea(o,s):Et));return t?i.pipe(ba(t)):i}function kC(e,n,t=Et){return r=>{Sm(n,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)Sm(n,()=>{let l=ct(e[c],n),u=!1;l.subscribe(P(r,d=>{i[c]=d,u||(u=!0,a--),a||r.next(t(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Sm(e,n,t){e?ze(t,e,n):n()}function Mm(e,n,t,r,o,i,s,a){let c=[],l=0,u=0,d=!1,h=()=>{d&&!c.length&&!l&&n.complete()},p=v=>l<r?m(v):c.push(v),m=v=>{i&&n.next(v),l++;let _=!1;ee(t(v,u++)).subscribe(P(n,D=>{o?.(D),i?p(D):n.next(D)},()=>{_=!0},void 0,()=>{if(_)try{for(l--;c.length&&l<r;){let D=c.shift();s?ze(n,s,()=>m(D)):m(D)}h()}catch(D){n.error(D)}}))};return e.subscribe(P(n,p,()=>{d=!0,h()})),()=>{a?.()}}function to(e,n,t=1/0){return F(n)?to((r,o)=>Q((i,s)=>n(r,i,o,s))(ee(e(r,o))),t):(typeof n=="number"&&(t=n),L((r,o)=>Mm(r,o,e,t)))}function Ca(e=1/0){return to(Et,e)}function Tm(){return Ca(1)}function no(...e){return Tm()(ct(e,Lt(e)))}function gi(e){return new R(n=>{ee(e()).subscribe(n)})}function vi(...e){let n=aa(e),{args:t,keys:r}=Da(e),o=new R(i=>{let{length:s}=t;if(!s){i.complete();return}let a=new Array(s),c=s,l=s;for(let u=0;u<s;u++){let d=!1;ee(t[u]).subscribe(P(i,h=>{d||(d=!0,l--),a[u]=h},()=>c--,void 0,()=>{(!c||!d)&&(l||i.next(r?Ea(r,a):a),i.complete())}))}});return n?o.pipe(ba(n)):o}function yi(e=0,n,t=fm){let r=-1;return n!=null&&(sa(n)?t=n:r=n),new R(o=>{let i=Im(e)?+e-t.now():e;i<0&&(i=0);let s=0;return t.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}function FC(e=0,n=ir){return e<0&&(e=0),yi(e,e,n)}function wu(...e){let n=Lt(e),t=hm(e,1/0),r=e;return r.length?r.length===1?ee(r[0]):Ca(t)(ct(r,n)):mi}function Ce(e,n){return L((t,r)=>{let o=0;t.subscribe(P(r,i=>e.call(n,i,o++)&&r.next(i)))})}function xm(e){return L((n,t)=>{let r=!1,o=null,i=null,s=!1,a=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let l=o;o=null,t.next(l)}s&&t.complete()},c=()=>{i=null,s&&t.complete()};n.subscribe(P(t,l=>{r=!0,o=l,i||ee(e(l)).subscribe(i=P(t,a,c))},()=>{s=!0,(!r||!i||i.closed)&&t.complete()}))})}function ro(e,n=ir){return xm(()=>yi(e,n))}function _i(e){return L((n,t)=>{let r=null,o=!1,i;r=n.subscribe(P(t,void 0,void 0,s=>{i=ee(e(s,_i(e)(n))),r?(r.unsubscribe(),r=null,i.subscribe(t)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(t))})}function Am(e,n,t,r,o){return(i,s)=>{let a=t,c=n,l=0;i.subscribe(P(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 PC(e,n){return L(Am(e,n,arguments.length>=2,!1,!0))}function Iu(e,n){return F(n)?to(e,n,1):to(e,1)}function Dn(e,n=ir){return L((t,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=n.now();if(u<l){o=this.schedule(void 0,l-u),r.add(o);return}a()}t.subscribe(P(r,l=>{i=l,s=n.now(),o||(o=n.schedule(c,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function Ge(e){return e<=0?()=>mi:L((n,t)=>{let r=0;n.subscribe(P(t,o=>{++r<=e&&(t.next(o),e<=r&&t.complete())}))})}function LC(e){return Q(()=>e)}function ar(e,n=Et){return e=e??VC,L((t,r)=>{let o,i=!0;t.subscribe(P(r,s=>{let a=n(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function VC(e,n){return e===n}function oo(e){return L((n,t)=>{try{n.subscribe(t)}finally{t.add(e)}})}function jC(e,n,t,r){return L((o,i)=>{let s;!n||typeof n=="function"?s=n:{duration:t,element:s,connector:r}=n;let a=new Map,c=m=>{a.forEach(m),m(i)},l=m=>c(v=>v.error(m)),u=0,d=!1,h=new ui(i,m=>{try{let v=e(m),_=a.get(v);if(!_){a.set(v,_=r?r():new w);let D=p(v,_);if(i.next(D),t){let k=P(_,()=>{_.complete(),k?.unsubscribe()},void 0,void 0,()=>a.delete(v));h.add(ee(t(D)).subscribe(k))}}_.next(s?s(m):m)}catch(v){l(v)}},()=>c(m=>m.complete()),l,()=>a.clear(),()=>(d=!0,u===0));o.subscribe(h);function p(m,v){let _=new R(D=>{u++;let k=v.subscribe(D);return()=>{k.unsubscribe(),--u===0&&d&&h.unsubscribe()}});return _.key=m,_}})}function Su(){return L((e,n)=>{let t,r=!1;e.subscribe(P(n,o=>{let i=t;t=o,r&&n.next([i,o]),r=!0}))})}function bi(e={}){let{connector:n=()=>new w,resetOnError:t=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,c,l=0,u=!1,d=!1,h=()=>{a?.unsubscribe(),a=void 0},p=()=>{h(),s=c=void 0,u=d=!1},m=()=>{let v=s;p(),v?.unsubscribe()};return L((v,_)=>{l++,!d&&!u&&h();let D=c=c??n();_.add(()=>{l--,l===0&&!d&&!u&&(a=Mu(m,o))}),D.subscribe(_),!s&&l>0&&(s=new Dt({next:k=>D.next(k),error:k=>{d=!0,h(),a=Mu(p,t,k),D.error(k)},complete:()=>{u=!0,h(),a=Mu(p,r),D.complete()}}),ee(v).subscribe(s))})(i)}}function Mu(e,n,...t){if(n===!0){e();return}if(n===!1)return;let r=new Dt({next:()=>{r.unsubscribe(),e()}});return ee(n(...t)).subscribe(r)}function Tu(e,n,t){let r,o=!1;return e&&typeof e=="object"?{bufferSize:r=1/0,windowTime:n=1/0,refCount:o=!1,scheduler:t}=e:r=e??1/0,bi({connector:()=>new yn(r,n,t),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function Di(e){return Ce((n,t)=>e<=t)}function Vt(...e){let n=Lt(e);return L((t,r)=>{(n?no(e,t,n):no(e,t)).subscribe(r)})}function io(e,n){return L((t,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();t.subscribe(P(r,c=>{o?.unsubscribe();let l=0,u=i++;ee(e(c,u)).subscribe(o=P(r,d=>r.next(n?n(c,d,u,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Kt(e){return L((n,t)=>{ee(e).subscribe(P(t,()=>t.complete(),li)),!t.closed&&n.subscribe(t)})}function xu(e,n=!1){return L((t,r)=>{let o=0;t.subscribe(P(r,i=>{let s=e(i,o++);(s||n)&&r.next(i),!s&&r.complete()}))})}function En(e,n,t){let r=F(e)||n||t?{next:e,error:n,complete:t}:e;return r?L((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(P(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)}))}):Et}var Ne=null,wa=!1,Au=1,BC=null,me=Symbol("SIGNAL");function S(e){let n=Ne;return Ne=e,n}function Ia(){return Ne}var Cn={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function wn(e){if(wa)throw new Error("");if(Ne===null)return;Ne.consumerOnSignalRead(e);let n=Ne.producersTail;if(n!==void 0&&n.producer===e)return;let t,r=Ne.recomputing;if(r&&(t=n!==void 0?n.nextProducer:Ne.producers,t!==void 0&&t.producer===e)){Ne.producersTail=t,t.lastReadVersion=e.version;return}let o=e.consumersTail;if(o!==void 0&&o.consumer===Ne&&(!r||UC(o,Ne)))return;let i=co(Ne),s={producer:e,consumer:Ne,nextProducer:t,prevConsumer:o,lastReadVersion:e.version,nextConsumer:void 0};Ne.producersTail=s,n!==void 0?n.nextProducer=s:Ne.producers=s,i&&km(e,s)}function Nm(){Au++}function ur(e){if(!(co(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===Au)){if(!e.producerMustRecompute(e)&&!ao(e)){so(e);return}e.producerRecomputeValue(e),so(e)}}function Nu(e){if(e.consumers===void 0)return;let n=wa;wa=!0;try{for(let t=e.consumers;t!==void 0;t=t.nextConsumer){let r=t.consumer;r.dirty||HC(r)}}finally{wa=n}}function Ru(){return Ne?.consumerAllowSignalWrites!==!1}function HC(e){e.dirty=!0,Nu(e),e.consumerMarkedDirty?.(e)}function so(e){e.dirty=!1,e.lastCleanEpoch=Au}function Xt(e){return e&&Rm(e),S(e)}function Rm(e){e.producersTail=void 0,e.recomputing=!0}function In(e,n){S(n),e&&Om(e)}function Om(e){e.recomputing=!1;let n=e.producersTail,t=n!==void 0?n.nextProducer:e.producers;if(t!==void 0){if(co(e))do t=Ou(t);while(t!==void 0);n!==void 0?n.nextProducer=void 0:e.producers=void 0}}function ao(e){for(let n=e.producers;n!==void 0;n=n.nextProducer){let t=n.producer,r=n.lastReadVersion;if(r!==t.version||(ur(t),r!==t.version))return!0}return!1}function Sn(e){if(co(e)){let n=e.producers;for(;n!==void 0;)n=Ou(n)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function km(e,n){let t=e.consumersTail,r=co(e);if(t!==void 0?(n.nextConsumer=t.nextConsumer,t.nextConsumer=n):(n.nextConsumer=void 0,e.consumers=n),n.prevConsumer=t,e.consumersTail=n,!r)for(let o=e.producers;o!==void 0;o=o.nextProducer)km(o.producer,o)}function Ou(e){let n=e.producer,t=e.nextProducer,r=e.nextConsumer,o=e.prevConsumer;if(e.nextConsumer=void 0,e.prevConsumer=void 0,r!==void 0?r.prevConsumer=o:n.consumersTail=o,o!==void 0)o.nextConsumer=r;else if(n.consumers=r,!co(n)){let i=n.producers;for(;i!==void 0;)i=Ou(i)}return t}function co(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function Ei(e){BC?.(e)}function UC(e,n){let t=n.producersTail;if(t!==void 0){let r=n.producers;do{if(r===e)return!0;if(r===t)break;r=r.nextProducer}while(r!==void 0)}return!1}function Ci(e,n){return Object.is(e,n)}function wi(e,n){let t=Object.create($C);t.computation=e,n!==void 0&&(t.equal=n);let r=()=>{if(ur(t),wn(t),t.value===jt)throw t.error;return t.value};return r[me]=t,Ei(t),r}var cr=Symbol("UNSET"),lr=Symbol("COMPUTING"),jt=Symbol("ERRORED"),$C=U(E({},Cn),{value:cr,dirty:!0,error:null,equal:Ci,kind:"computed",producerMustRecompute(e){return e.value===cr||e.value===lr},producerRecomputeValue(e){if(e.value===lr)throw new Error("");let n=e.value;e.value=lr;let t=Xt(e),r,o=!1;try{r=e.computation(),S(null),o=n!==cr&&n!==jt&&r!==jt&&e.equal(n,r)}catch(i){r=jt,e.error=i}finally{In(e,t)}if(o){e.value=n;return}e.value=r,e.version++}});function zC(){throw new Error}var Fm=zC;function Pm(e){Fm(e)}function ku(e){Fm=e}var GC=null;function Fu(e,n){let t=Object.create(Ii);t.value=e,n!==void 0&&(t.equal=n);let r=()=>Lm(t);return r[me]=t,Ei(t),[r,s=>dr(t,s),s=>Sa(t,s)]}function Lm(e){return wn(e),e.value}function dr(e,n){Ru()||Pm(e),e.equal(e.value,n)||(e.value=n,WC(e))}function Sa(e,n){Ru()||Pm(e),dr(e,n(e.value))}var Ii=U(E({},Cn),{equal:Ci,value:void 0,kind:"signal"});function WC(e){e.version++,Nm(),Nu(e),GC?.(e)}var Pu=U(E({},Cn),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"});function Lu(e){if(e.dirty=!1,e.version>0&&!ao(e))return;e.version++;let n=Xt(e);try{e.cleanup(),e.fn()}finally{In(e,n)}}var Vu;function Ma(){return Vu}function Bt(e){let n=Vu;return Vu=e,n}var Vm=Symbol("NotFound");function lo(e){return e===Vm||e?.name==="\u0275NotFound"}function ju(e,n,t){let r=Object.create(qC);r.source=e,r.computation=n,t!=null&&(r.equal=t);let i=()=>{if(ur(r),wn(r),r.value===jt)throw r.error;return r.value};return i[me]=r,Ei(r),i}function jm(e,n){ur(e),dr(e,n),so(e)}function Bm(e,n){if(ur(e),e.value===jt)throw e.error;Sa(e,n),so(e)}var qC=U(E({},Cn),{value:cr,dirty:!0,error:null,equal:Ci,kind:"linkedSignal",producerMustRecompute(e){return e.value===cr||e.value===lr},producerRecomputeValue(e){if(e.value===lr)throw new Error("");let n=e.value;e.value=lr;let t=Xt(e),r,o=!1;try{let i=e.source(),s=n!==cr&&n!==jt,a=s?{source:e.sourceValue,value:n}:void 0;r=e.computation(i,a),e.sourceValue=i,S(null),o=s&&r!==jt&&e.equal(n,r)}catch(i){r=jt,e.error=i}finally{In(e,t)}if(o){e.value=n;return}e.value=r,e.version++}});function Hm(e){let n=S(null);try{return e()}finally{S(n)}}var Fa="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",b=class extends Error{code;constructor(n,t){super(Nn(n,t)),this.code=n}};function YC(e){return`NG0${Math.abs(e)}`}function Nn(e,n){return`${YC(e)}${n?": "+n:""}`}var lt=globalThis;function ne(e){for(let n in e)if(e[n]===ne)return n;throw Error("")}function Wm(e,n){for(let t in n)n.hasOwnProperty(t)&&!e.hasOwnProperty(t)&&(e[t]=n[t])}function Pa(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(Pa).join(", ")}]`;if(e==null)return""+e;let n=e.overriddenName||e.name;if(n)return`${n}`;let t=e.toString();if(t==null)return""+t;let r=t.indexOf(`
|
|
4
4
|
`);return r>=0?t.slice(0,r):t}function La(e,n){return e?n?`${e} ${n}`:e:n||""}var ZC=ne({__forward_ref__:ne});function Te(e){return e.__forward_ref__=Te,e}function we(e){return Qu(e)?e():e}function Qu(e){return typeof e=="function"&&e.hasOwnProperty(ZC)&&e.__forward_ref__===Te}function y(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function G(e){return{providers:e.providers||[],imports:e.imports||[]}}function Va(e){return KC(e,ja)}function KC(e,n){return e.hasOwnProperty(n)&&e[n]||null}function XC(e){let n=e?.[ja]??null;return n||null}function Hu(e){return e&&e.hasOwnProperty(Aa)?e[Aa]:null}var ja=ne({\u0275prov:ne}),Aa=ne({\u0275inj:ne}),g=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(n,t){this._desc=n,this.\u0275prov=void 0,typeof t=="number"?this.__NG_ELEMENT_ID__=t:t!==void 0&&(this.\u0275prov=y({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Ju(e){return e&&!!e.\u0275providers}var Oi=ne({\u0275cmp:ne}),ki=ne({\u0275dir:ne}),ed=ne({\u0275pipe:ne});var Mi=ne({\u0275fac:ne}),gr=ne({__NG_ELEMENT_ID__:ne}),Um=ne({__NG_ENV_ID__:ne});function Jt(e){return nd(e,"@Component"),e[Oi]||null}function Fi(e){return nd(e,"@Directive"),e[ki]||null}function td(e){return nd(e,"@Pipe"),e[ed]||null}function nd(e,n){if(e==null)throw new b(-919,!1)}function vr(e){return typeof e=="string"?e:e==null?"":String(e)}var qm=ne({ngErrorCode:ne}),QC=ne({ngErrorMessage:ne}),JC=ne({ngTokenPath:ne});function rd(e,n){return Ym("",-200,n)}function Ba(e,n){throw new b(-201,!1)}function Ym(e,n,t){let r=new b(n,e);return r[qm]=n,r[QC]=e,t&&(r[JC]=t),r}function ew(e){return e[qm]}var Uu;function Zm(){return Uu}function Le(e){let n=Uu;return Uu=e,n}function od(e,n,t){let r=Va(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(t&8)return null;if(n!==void 0)return n;Ba(e,"")}var tw={},fr=tw,nw="__NG_DI_FLAG__",$u=class{injector;constructor(n){this.injector=n}retrieve(n,t){let r=hr(t)||0;try{return this.injector.get(n,r&8?null:fr,r)}catch(o){if(lo(o))return o;throw o}}};function rw(e,n=0){let t=Ma();if(t===void 0)throw new b(-203,!1);if(t===null)return od(e,void 0,n);{let r=ow(n),o=t.retrieve(e,r);if(lo(o)){if(r.optional)return null;throw o}return o}}function T(e,n=0){return(Zm()||rw)(we(e),n)}function f(e,n){return T(e,hr(n))}function hr(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function ow(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function zu(e){let n=[];for(let t=0;t<e.length;t++){let r=we(e[t]);if(Array.isArray(r)){if(r.length===0)throw new b(900,!1);let o,i=0;for(let s=0;s<r.length;s++){let a=r[s],c=iw(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}n.push(T(o,i))}else n.push(T(r))}return n}function iw(e){return e[nw]}function Tn(e,n){let t=e.hasOwnProperty(Mi);return t?e[Mi]:null}function Km(e,n,t){if(e.length!==n.length)return!1;for(let r=0;r<e.length;r++){let o=e[r],i=n[r];if(t&&(o=t(o),i=t(i)),i!==o)return!1}return!0}function Xm(e){return e.flat(Number.POSITIVE_INFINITY)}function Ha(e,n){e.forEach(t=>Array.isArray(t)?Ha(t,n):n(t))}function id(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function Pi(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function Qm(e,n){let t=[];for(let r=0;r<e;r++)t.push(n);return t}function Jm(e,n,t,r){let o=e.length;if(o==n)e.push(t,r);else if(o===1)e.push(r,e[0]),e[0]=t;else{for(o--,e.push(e[o-1],e[o]);o>n;){let i=o-2;e[o]=e[i],o--}e[n]=t,e[n+1]=r}}function Li(e,n,t){let r=fo(e,n);return r>=0?e[r|1]=t:(r=~r,Jm(e,r,n,t)),r}function Ua(e,n){let t=fo(e,n);if(t>=0)return e[t|1]}function fo(e,n){return sw(e,n,1)}function sw(e,n,t){let r=0,o=e.length>>t;for(;o!==r;){let i=r+(o-r>>1),s=e[i<<t];if(n===s)return i<<t;s>n?o=i:r=i+1}return~(o<<t)}var wt={},Re=[],Rn=new g(""),sd=new g("",-1),ad=new g(""),Ti=class{get(n,t=fr){if(t===fr){let o=Ym("",-201);throw o.name="\u0275NotFound",o}return t}};function ho(e){return{\u0275providers:e}}function eg(...e){return{\u0275providers:$a(!0,e),\u0275fromNgModule:!0}}function $a(e,...n){let t=[],r=new Set,o,i=s=>{t.push(s)};return Ha(n,s=>{let a=s;Na(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&tg(o,i),t}function tg(e,n){for(let t=0;t<e.length;t++){let{ngModule:r,providers:o}=e[t];cd(o,i=>{n(i,r)})}}function Na(e,n,t,r){if(e=we(e),!e)return!1;let o=null,i=Hu(e),s=!i&&Jt(e);if(!i&&!s){let c=e.ngModule;if(i=Hu(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)Na(l,n,t,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;Ha(i.imports,u=>{Na(u,n,t,r)&&(l||=[],l.push(u))}),l!==void 0&&tg(l,n)}if(!a){let l=Tn(o)||(()=>new o);n({provide:o,useFactory:l,deps:Re},o),n({provide:ad,useValue:o,multi:!0},o),n({provide:Rn,useValue:()=>T(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=e;cd(c,u=>{n(u,l)})}}else return!1;return o!==e&&e.providers!==void 0}function cd(e,n){for(let t of e)Ju(t)&&(t=t.\u0275providers),Array.isArray(t)?cd(t,n):n(t)}var aw=ne({provide:String,useValue:ne});function ng(e){return e!==null&&typeof e=="object"&&aw in e}function cw(e){return!!(e&&e.useExisting)}function lw(e){return!!(e&&e.useFactory)}function pr(e){return typeof e=="function"}function rg(e){return!!e.useClass}var Vi=new g(""),Ta={},$m={},Bu;function po(){return Bu===void 0&&(Bu=new Ti),Bu}var de=class{},mr=class extends de{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(n,t,r,o){super(),this.parent=t,this.source=r,this.scopes=o,Wu(n,s=>this.processProvider(s)),this.records.set(sd,uo(void 0,this)),o.has("environment")&&this.records.set(de,uo(void 0,this));let i=this.records.get(Vi);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(ad,Re,{self:!0}))}retrieve(n,t){let r=hr(t)||0;try{return this.get(n,fr,r)}catch(o){if(lo(o))return o;throw o}}destroy(){Si(this),this._destroyed=!0;let n=S(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let t=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of t)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),S(n)}}onDestroy(n){return Si(this),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){Si(this);let t=Bt(this),r=Le(void 0),o;try{return n()}finally{Bt(t),Le(r)}}get(n,t=fr,r){if(Si(this),n.hasOwnProperty(Um))return n[Um](this);let o=hr(r),i,s=Bt(this),a=Le(void 0);try{if(!(o&4)){let l=this.records.get(n);if(l===void 0){let u=pw(n)&&Va(n);u&&this.injectableDefInScope(u)?l=uo(Gu(n),Ta):l=null,this.records.set(n,l)}if(l!=null)return this.hydrate(n,l,o)}let c=o&2?po():this.parent;return t=o&8&&t===fr?null:t,c.get(n,t)}catch(c){let l=ew(c);throw l===-200||l===-201?new b(l,null):c}finally{Le(a),Bt(s)}}resolveInjectorInitializers(){let n=S(null),t=Bt(this),r=Le(void 0),o;try{let i=this.get(Rn,Re,{self:!0});for(let s of i)s()}finally{Bt(t),Le(r),S(n)}}toString(){return"R3Injector[...]"}processProvider(n){n=we(n);let t=pr(n)?n:we(n&&n.provide),r=dw(n);if(!pr(n)&&n.multi===!0){let o=this.records.get(t);o||(o=uo(void 0,Ta,!0),o.factory=()=>zu(o.multi),this.records.set(t,o)),t=n,o.multi.push(n)}this.records.set(t,r)}hydrate(n,t,r){let o=S(null);try{if(t.value===$m)throw rd("");return t.value===Ta&&(t.value=$m,t.value=t.factory(void 0,r)),typeof t.value=="object"&&t.value&&hw(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}finally{S(o)}}injectableDefInScope(n){if(!n.providedIn)return!1;let t=we(n.providedIn);return typeof t=="string"?t==="any"||this.scopes.has(t):this.injectorDefTypes.has(t)}removeOnDestroy(n){let t=this._onDestroyHooks.indexOf(n);t!==-1&&this._onDestroyHooks.splice(t,1)}};function Gu(e){let n=Va(e),t=n!==null?n.factory:Tn(e);if(t!==null)return t;if(e instanceof g)throw new b(-204,!1);if(e instanceof Function)return uw(e);throw new b(-204,!1)}function uw(e){if(e.length>0)throw new b(-204,!1);let t=XC(e);return t!==null?()=>t.factory(e):()=>new e}function dw(e){if(ng(e))return uo(void 0,e.useValue);{let n=ld(e);return uo(n,Ta)}}function ld(e,n,t){let r;if(pr(e)){let o=we(e);return Tn(o)||Gu(o)}else if(ng(e))r=()=>we(e.useValue);else if(lw(e))r=()=>e.useFactory(...zu(e.deps||[]));else if(cw(e))r=(o,i)=>T(we(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=we(e&&(e.useClass||e.provide));if(fw(e))r=()=>new o(...zu(e.deps));else return Tn(o)||Gu(o)}return r}function Si(e){if(e.destroyed)throw new b(-205,!1)}function uo(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function fw(e){return!!e.deps}function hw(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function pw(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function Wu(e,n){for(let t of e)Array.isArray(t)?Wu(t,n):t&&Ju(t)?Wu(t.\u0275providers,n):n(t)}function mo(e,n){let t;e instanceof mr?(Si(e),t=e):t=new $u(e);let r,o=Bt(t),i=Le(void 0);try{return n()}finally{Bt(o),Le(i)}}function og(){return Zm()!==void 0||Ma()!=null}var It=0,I=1,A=2,_e=3,ut=4,Ve=5,yr=6,go=7,ge=8,je=9,St=10,te=11,vo=12,ud=13,_r=14,Be=15,On=16,br=17,Ht=18,en=19,dd=20,Qt=21,za=22,xn=23,et=24,Dr=25,kn=26,X=27,ig=1,Fn=6,Pn=7,ji=8,Er=9,fe=10;function tn(e){return Array.isArray(e)&&typeof e[ig]=="object"}function Mt(e){return Array.isArray(e)&&e[ig]===!0}function fd(e){return(e.flags&4)!==0}function Ut(e){return e.componentOffset>-1}function yo(e){return(e.flags&1)===1}function Tt(e){return!!e.template}function _o(e){return(e[A]&512)!==0}function Ln(e){return(e[A]&256)===256}var K=(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[e.ATTRIBUTE_NO_BINDING=6]="ATTRIBUTE_NO_BINDING",e})(K||{}),xa,xi="svg",hd="math";function sg(){return xa||(xa={},Mn(K.HTML,void 0,[["iframe",["srcdoc"]],["*",["innerHTML","outerHTML"]]]),Mn(K.STYLE,void 0,[["*",["style"]]]),Mn(K.URL,void 0,[["*",["formAction"]],["area",["href"]],["a",["href","xlink:href"]],["form",["action"]],["img",["src"]],["video",["src"]]]),Mn(K.URL,hd,[["*",["href","xlink:href"]],["annotation",["href","xlink:href"]],["annotation-xml",["href","xlink:href"]],["maction",["href","xlink:href"]],["malignmark",["href","xlink:href"]],["math",["href","xlink:href"]],["mroot",["href","xlink:href"]],["msqrt",["href","xlink:href"]],["merror",["href","xlink:href"]],["mfrac",["href","xlink:href"]],["mglyph",["href","xlink:href"]],["msub",["href","xlink:href"]],["msup",["href","xlink:href"]],["msubsup",["href","xlink:href"]],["mmultiscripts",["href","xlink:href"]],["mprescripts",["href","xlink:href"]],["mi",["href","xlink:href"]],["mn",["href","xlink:href"]],["mo",["href","xlink:href"]],["mpadded",["href","xlink:href"]],["mphantom",["href","xlink:href"]],["mrow",["href","xlink:href"]],["ms",["href","xlink:href"]],["mspace",["href","xlink:href"]],["mstyle",["href","xlink:href"]],["mtable",["href","xlink:href"]],["mtd",["href","xlink:href"]],["mtr",["href","xlink:href"]],["mtext",["href","xlink:href"]],["mover",["href","xlink:href"]],["munder",["href","xlink:href"]],["munderover",["href","xlink:href"]],["semantics",["href","xlink:href"]],["none",["href","xlink:href"]]]),Mn(K.RESOURCE_URL,void 0,[["base",["href"]],["embed",["src"]],["frame",["src"]],["iframe",["src"]],["link",["href"]],["object",["codebase","data"]]]),Mn(K.URL,xi,[["a",["href","xlink:href"]]]),Mn(K.ATTRIBUTE_NO_BINDING,xi,[["animate",["attributeName","values","to","from"]],["set",["to","attributeName"]],["animateMotion",["attributeName"]],["animateTransform",["attributeName"]]]),Mn(K.ATTRIBUTE_NO_BINDING,void 0,[["unknown",["attributeName","values","to","from","sandbox","allow","allowFullscreen","referrerPolicy","csp","fetchPriority"]],["iframe",["sandbox","allow","allowFullscreen","referrerPolicy","csp","fetchPriority"]]])),xa}function Mn(e,n,t){for(let[r,o]of t){let i=n&&r!=="unknown"?`:${n}:${r}`:r;i=i.toLowerCase();for(let s of o)xa[`${i}|${s.toLowerCase()}`]=e}}function ag(e,n,t){let r=sg(),o=e.toLowerCase(),i=n.toLowerCase(),s=t&&o!=="*"&&o!=="unknown"?r[`:${t}:${o}|${i}`]:void 0,a=t?r[`:${t}:*|${i}`]:void 0;return s??a??r[`${o}|${i}`]??r[`*|${i}`]??K.NONE}function dt(e){for(;Array.isArray(e);)e=e[It];return e}function pd(e,n){return dt(n[e])}function tt(e,n){return dt(n[e.index])}function bo(e,n){return e.data[n]}function Do(e,n){return e[n]}function Bi(e,n,t,r){t>=e.data.length&&(e.data[t]=null,e.blueprint[t]=null),n[t]=r}function ft(e,n){let t=n[e];return tn(t)?t:t[It]}function cg(e){return(e[A]&4)===4}function Ga(e){return(e[A]&128)===128}function lg(e){return Mt(e[_e])}function nt(e,n){return n==null?null:e[n]}function md(e){e[br]=0}function gd(e){e[A]&1024||(e[A]|=1024,Ga(e)&&Cr(e))}function ug(e,n){for(;e>0;)n=n[_r],e--;return n}function Hi(e){return!!(e[A]&9216||e[et]?.dirty)}function Wa(e){e[St].changeDetectionScheduler?.notify(8),e[A]&64&&(e[A]|=1024),Hi(e)&&Cr(e)}function Cr(e){e[St].changeDetectionScheduler?.notify(0);let n=An(e);for(;n!==null&&!(n[A]&8192||(n[A]|=8192,!Ga(n)));)n=An(n)}function qa(e,n){if(Ln(e))throw new b(911,!1);e[Qt]===null&&(e[Qt]=[]),e[Qt].push(n)}function vd(e,n){if(e[Qt]===null)return;let t=e[Qt].indexOf(n);t!==-1&&e[Qt].splice(t,1)}function An(e){let n=e[_e];return Mt(n)?n[_e]:n}function yd(e){return e[go]??=[]}function _d(e){return e.cleanup??=[]}function dg(e,n,t,r){let o=yd(n);o.push(t),e.firstCreatePass&&_d(e).push(r,o.length-1)}var V={lFrame:wg(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var qu=!1;function fg(){return V.lFrame.elementDepthCount}function hg(){V.lFrame.elementDepthCount++}function bd(){V.lFrame.elementDepthCount--}function Ya(){return V.bindingsEnabled}function Dd(){return V.skipHydrationRootTNode!==null}function Ed(e){return V.skipHydrationRootTNode===e}function Cd(){V.skipHydrationRootTNode=null}function C(){return V.lFrame.lView}function J(){return V.lFrame.tView}function pg(e){return V.lFrame.contextLView=e,e[ge]}function mg(e){return V.lFrame.contextLView=null,e}function he(){let e=wd();for(;e!==null&&e.type===64;)e=e.parent;return e}function wd(){return V.lFrame.currentTNode}function gg(){let e=V.lFrame,n=e.currentTNode;return e.isParent?n:n.parent}function wr(e,n){let t=V.lFrame;t.currentTNode=e,t.isParent=n}function Id(){return V.lFrame.isParent}function Sd(){V.lFrame.isParent=!1}function Md(){return V.lFrame.contextLView}function Td(){return qu}function Ai(e){let n=qu;return qu=e,n}function $t(){let e=V.lFrame,n=e.bindingRootIndex;return n===-1&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function vg(){return V.lFrame.bindingIndex}function yg(e){return V.lFrame.bindingIndex=e}function nn(){return V.lFrame.bindingIndex++}function Za(e){let n=V.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function _g(){return V.lFrame.inI18n}function bg(e,n){let t=V.lFrame;t.bindingIndex=t.bindingRootIndex=e,Ka(n)}function Dg(){return V.lFrame.currentDirectiveIndex}function Ka(e){V.lFrame.currentDirectiveIndex=e}function Eg(e){let n=V.lFrame.currentDirectiveIndex;return n===-1?null:e[n]}function Xa(){return V.lFrame.currentQueryIndex}function Ui(e){V.lFrame.currentQueryIndex=e}function mw(e){let n=e[I];return n.type===2?n.declTNode:n.type===1?e[Ve]:null}function xd(e,n,t){if(t&4){let o=n,i=e;for(;o=o.parent,o===null&&!(t&1);)if(o=mw(i),o===null||(i=i[_r],o.type&10))break;if(o===null)return!1;n=o,e=i}let r=V.lFrame=Cg();return r.currentTNode=n,r.lView=e,!0}function Qa(e){let n=Cg(),t=e[I];V.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function Cg(){let e=V.lFrame,n=e===null?null:e.child;return n===null?wg(e):n}function wg(e){let n={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=n),n}function Ig(){let e=V.lFrame;return V.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Ad=Ig;function Ja(){let e=Ig();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 Sg(e){return(V.lFrame.contextLView=ug(e,V.lFrame.contextLView))[ge]}function ht(){return V.lFrame.selectedIndex}function Vn(e){V.lFrame.selectedIndex=e}function Ir(){let e=V.lFrame;return bo(e.tView,e.selectedIndex)}function Mg(){V.lFrame.currentNamespace=xi}function Tg(){gw()}function gw(){V.lFrame.currentNamespace=null}function Nd(){return V.lFrame.currentNamespace}var xg=!0;function ec(){return xg}function $i(e){xg=e}function Yu(e,n=null,t=null,r){let o=Ag(e,n,t,r);return o.resolveInjectorInitializers(),o}function Ag(e,n=null,t=null,r,o=new Set){let i=[t||Re,eg(e)],s;return new mr(i,n||po(),s||null,o)}var O=class e{static THROW_IF_NOT_FOUND=fr;static NULL=new Ti;static create(n,t){if(Array.isArray(n))return Yu({name:""},t,n,"");{let r=n.name??"";return Yu({name:r},n.parent,n.providers,r)}}static \u0275prov=y({token:e,providedIn:"any",factory:()=>T(sd)});static __NG_ELEMENT_ID__=-1},x=new g(""),We=(()=>{class e{static __NG_ELEMENT_ID__=vw;static __NG_ENV_ID__=t=>t}return e})(),Ra=class extends We{_lView;constructor(n){super(),this._lView=n}get destroyed(){return Ln(this._lView)}onDestroy(n){let t=this._lView;return qa(t,n),()=>vd(t,n)}};function vw(){return new Ra(C())}var Rd=!1,Ng=new g(""),jn=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new or(!1);debugTaskTracker=f(Ng,{optional:!0});get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new R(t=>{t.next(!1),t.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let t=this.taskId++;return this.pendingTasks.add(t),this.debugTaskTracker?.add(t),t}has(t){return this.pendingTasks.has(t)}remove(t){this.pendingTasks.delete(t),this.debugTaskTracker?.remove(t),this.pendingTasks.size===0&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=y({token:e,providedIn:"root",factory:()=>new e})}return e})(),Zu=class extends w{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(n=!1){super(),this.__isAsync=n,og()&&(this.destroyRef=f(We,{optional:!0})??void 0,this.pendingTasks=f(jn,{optional:!0})??void 0)}emit(n){let t=S(null);try{super.next(n)}finally{S(t)}}subscribe(n,t,r){let o=n,i=t||(()=>null),s=r;if(n&&typeof n=="object"){let c=n;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 n instanceof j&&n.add(a),a}wrapInTimeout(n){return t=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{n(t)}finally{r!==void 0&&this.pendingTasks?.remove(r)}})}}},$=Zu;function Oa(...e){}function Od(e){let n,t;function r(){e=Oa;try{t!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(t),n!==void 0&&clearTimeout(n)}catch(o){}}return n=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(t=requestAnimationFrame(()=>{e(),r()})),()=>r()}function Rg(e){return queueMicrotask(()=>e()),()=>{e=Oa}}var kd="isAngularZone",Ni=kd+"_ID",yw=0,M=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new $(!1);onMicrotaskEmpty=new $(!1);onStable=new $(!1);onError=new $(!1);constructor(n){let{enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=Rd}=n;if(typeof Zone>"u")throw new b(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)),t&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,Dw(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(kd)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new b(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new b(909,!1)}run(n,t,r){return this._inner.run(n,t,r)}runTask(n,t,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,n,_w,Oa,Oa);try{return i.runTask(s,t,r)}finally{i.cancelTask(s)}}runGuarded(n,t,r){return this._inner.runGuarded(n,t,r)}runOutsideAngular(n){return this._outer.run(n)}},_w={};function Fd(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 bw(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function n(){Od(()=>{e.callbackScheduled=!1,Ku(e),e.isCheckStableRunning=!0,Fd(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{n()}):e._outer.run(()=>{n()}),Ku(e)}function Dw(e){let n=()=>{bw(e)},t=yw++;e._inner=e._inner.fork({name:"angular",properties:{[kd]:!0,[Ni]:t,[Ni+t]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(Ew(c))return r.invokeTask(i,s,a,c);try{return zm(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&n(),Gm(e)}},onInvoke:(r,o,i,s,a,c,l)=>{try{return zm(e),r.invoke(i,s,a,c,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!Cw(c)&&n(),Gm(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Ku(e),Fd(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 Ku(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function zm(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Gm(e){e._nesting--,Fd(e)}var Ri=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new $;onMicrotaskEmpty=new $;onStable=new $;onError=new $;run(n,t,r){return n.apply(t,r)}runGuarded(n,t,r){return n.apply(t,r)}runOutsideAngular(n){return n()}runTask(n,t,r,o){return n.apply(t,r)}};function Ew(e){return Og(e,"__ignore_ng_zone__")}function Cw(e){return Og(e,"__scheduler_tick__")}function Og(e,n){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[n]===!0}var Oe=class{_console=console;handleError(n){this._console.error("ERROR",n)}},rn=new g("",{factory:()=>{let e=f(M),n=f(de),t;return r=>{e.runOutsideAngular(()=>{n.destroyed&&!t?setTimeout(()=>{throw r}):(t??=n.get(Oe),t.handleError(r))})}}}),kg={provide:Rn,useValue:()=>{let e=f(Oe,{optional:!0})},multi:!0};function ae(e,n){let[t,r,o]=Fu(e,n?.equal),i=t,s=i[me];return i.set=r,i.update=o,i.asReadonly=zi.bind(i),i}function zi(){let e=this[me];if(e.readonlyFn===void 0){let n=()=>this();n[me]=e,e.readonlyFn=n}return e.readonlyFn}var Eo=(()=>{class e{view;node;constructor(t,r){this.view=t,this.node=r}static __NG_ELEMENT_ID__=ww}return e})();function ww(){return new Eo(C(),he())}var Ct=class{},Co=new g("",{factory:()=>!0});var tc=new g(""),Bn=(()=>{class e{internalPendingTasks=f(jn);scheduler=f(Ct);errorHandler=f(rn);add(){let t=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(t)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(t))}}run(t){let r=this.add();t().catch(this.errorHandler).finally(r)}static \u0275prov=y({token:e,providedIn:"root",factory:()=>new e})}return e})(),nc=(()=>{class e{static \u0275prov=y({token:e,providedIn:"root",factory:()=>new Xu})}return e})(),Xu=class{dirtyEffectCount=0;queues=new Map;add(n){this.enqueue(n),this.schedule(n)}schedule(n){n.dirty&&this.dirtyEffectCount++}remove(n){let t=n.zone,r=this.queues.get(t);r.has(n)&&(r.delete(n),n.dirty&&this.dirtyEffectCount--)}enqueue(n){let t=n.zone;this.queues.has(t)||this.queues.set(t,new Set);let r=this.queues.get(t);r.has(n)||r.add(n)}flush(){for(;this.dirtyEffectCount>0;){let n=!1;for(let[t,r]of this.queues)t===null?n||=this.flushQueue(r):n||=t.run(()=>this.flushQueue(r));n||(this.dirtyEffectCount=0)}}flushQueue(n){let t=!1;for(let r of n)r.dirty&&(this.dirtyEffectCount--,t=!0,r.run());return t}},ka=class{[me];constructor(n){this[me]=n}destroy(){this[me].destroy()}};function Sr(e,n){let t=n?.injector??f(O),r=n?.manualCleanup!==!0?t.get(We):null,o,i=t.get(Eo,null,{optional:!0}),s=t.get(Ct);return i!==null?(o=Mw(i.view,s,e),r instanceof Ra&&r._lView===i.view&&(r=null)):o=Tw(e,t.get(nc),s),o.injector=t,r!==null&&(o.onDestroyFns=[r.onDestroy(()=>o.destroy())]),new ka(o)}var Fg=U(E({},Pu),{cleanupFns:void 0,zone:null,onDestroyFns:null,run(){let e=Ai(!1);try{Lu(this)}finally{Ai(e)}},cleanup(){if(!this.cleanupFns?.length)return;let e=S(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],S(e)}}}),Iw=U(E({},Fg),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){if(Sn(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.scheduler.remove(this)}}),Sw=U(E({},Fg),{consumerMarkedDirty(){this.view[A]|=8192,Cr(this.view),this.notifier.notify(13)},destroy(){if(Sn(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.view[xn]?.delete(this)}});function Mw(e,n,t){let r=Object.create(Sw);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=n,r.fn=Pg(r,t),e[xn]??=new Set,e[xn].add(r),r.consumerMarkedDirty(r),r}function Tw(e,n,t){let r=Object.create(Iw);return r.fn=Pg(r,e),r.scheduler=n,r.notifier=t,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.add(r),r.notifier.notify(12),r}function Pg(e,n){return()=>{n(t=>(e.cleanupFns??=[]).push(t))}}function ts(e){return{toString:e}.toString()}function Lw(e){return typeof e=="function"}function Mv(e,n,t,r){n!==null?n.applyValueToInputSignal(n,r):e[t]=r}var hc=class{previousValue;currentValue;firstChange;constructor(n,t,r){this.previousValue=n,this.currentValue=t,this.firstChange=r}isFirstChange(){return this.firstChange}},He=(()=>{let e=()=>Tv;return e.ngInherit=!0,e})();function Tv(e){return e.type.prototype.ngOnChanges&&(e.setInput=jw),Vw}function Vw(){let e=Av(this),n=e?.current;if(n){let t=e.previous;if(t===wt)e.previous=n;else for(let r in n)t[r]=n[r];e.current=null,this.ngOnChanges(n)}}function jw(e,n,t,r,o){let i=this.declaredInputs[r],s=Av(e)||Bw(e,{previous:wt,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new hc(l&&l.currentValue,t,c===wt),Mv(e,n,o,t)}var xv="__ngSimpleChanges__";function Av(e){return e[xv]||null}function Bw(e,n){return e[xv]=n}var Lg=[];var Y=function(e,n=null,t){for(let r=0;r<Lg.length;r++){let o=Lg[r];o(e,n,t)}},z=(function(e){return e[e.TemplateCreateStart=0]="TemplateCreateStart",e[e.TemplateCreateEnd=1]="TemplateCreateEnd",e[e.TemplateUpdateStart=2]="TemplateUpdateStart",e[e.TemplateUpdateEnd=3]="TemplateUpdateEnd",e[e.LifecycleHookStart=4]="LifecycleHookStart",e[e.LifecycleHookEnd=5]="LifecycleHookEnd",e[e.OutputStart=6]="OutputStart",e[e.OutputEnd=7]="OutputEnd",e[e.BootstrapApplicationStart=8]="BootstrapApplicationStart",e[e.BootstrapApplicationEnd=9]="BootstrapApplicationEnd",e[e.BootstrapComponentStart=10]="BootstrapComponentStart",e[e.BootstrapComponentEnd=11]="BootstrapComponentEnd",e[e.ChangeDetectionStart=12]="ChangeDetectionStart",e[e.ChangeDetectionEnd=13]="ChangeDetectionEnd",e[e.ChangeDetectionSyncStart=14]="ChangeDetectionSyncStart",e[e.ChangeDetectionSyncEnd=15]="ChangeDetectionSyncEnd",e[e.AfterRenderHooksStart=16]="AfterRenderHooksStart",e[e.AfterRenderHooksEnd=17]="AfterRenderHooksEnd",e[e.ComponentStart=18]="ComponentStart",e[e.ComponentEnd=19]="ComponentEnd",e[e.DeferBlockStateStart=20]="DeferBlockStateStart",e[e.DeferBlockStateEnd=21]="DeferBlockStateEnd",e[e.DynamicComponentStart=22]="DynamicComponentStart",e[e.DynamicComponentEnd=23]="DynamicComponentEnd",e[e.HostBindingsUpdateStart=24]="HostBindingsUpdateStart",e[e.HostBindingsUpdateEnd=25]="HostBindingsUpdateEnd",e})(z||{});function Hw(e,n,t){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=n.type.prototype;if(r){let s=Tv(n);(t.preOrderHooks??=[]).push(e,s),(t.preOrderCheckHooks??=[]).push(e,s)}o&&(t.preOrderHooks??=[]).push(0-e,o),i&&((t.preOrderHooks??=[]).push(e,i),(t.preOrderCheckHooks??=[]).push(e,i))}function Nv(e,n){for(let t=n.directiveStart,r=n.directiveEnd;t<r;t++){let i=e.data[t].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:l,ngOnDestroy:u}=i;s&&(e.contentHooks??=[]).push(-t,s),a&&((e.contentHooks??=[]).push(t,a),(e.contentCheckHooks??=[]).push(t,a)),c&&(e.viewHooks??=[]).push(-t,c),l&&((e.viewHooks??=[]).push(t,l),(e.viewCheckHooks??=[]).push(t,l)),u!=null&&(e.destroyHooks??=[]).push(t,u)}}function ac(e,n,t){Rv(e,n,3,t)}function cc(e,n,t,r){(e[A]&3)===t&&Rv(e,n,t,r)}function Pd(e,n){let t=e[A];(t&3)===n&&(t&=16383,t+=1,e[A]=t)}function Rv(e,n,t,r){let o=r!==void 0?e[br]&65535:0,i=r??-1,s=n.length-1,a=0;for(let c=o;c<s;c++)if(typeof n[c+1]=="number"){if(a=n[c],r!=null&&a>=r)break}else n[c]<0&&(e[br]+=65536),(a<i||i==-1)&&(Uw(e,t,n,c),e[br]=(e[br]&4294901760)+c+2),c++}function Vg(e,n){Y(z.LifecycleHookStart,e,n);let t=S(null);try{n.call(e)}finally{S(t),Y(z.LifecycleHookEnd,e,n)}}function Uw(e,n,t,r){let o=t[r]<0,i=t[r+1],s=o?-t[r]:t[r],a=e[s];o?e[A]>>14<e[br]>>16&&(e[A]&3)===n&&(e[A]+=16384,Vg(a,i)):Vg(a,i)}var Io=-1,Tr=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(n,t,r,o){this.factory=n,this.name=o,this.canSeeViewProviders=t,this.injectImpl=r}};function $w(e){return(e.flags&8)!==0}function zw(e){return(e.flags&16)!==0}function Gw(e,n,t){let r=0;for(;r<t.length;){let o=t[r];if(typeof o=="number"){if(o!==0)break;r++;let i=t[r++],s=t[r++],a=t[r++];e.setAttribute(n,s,a,i)}else{let i=o,s=t[++r];Ww(i)?e.setProperty(n,i,s):e.setAttribute(n,i,s),r++}}return r}function Ov(e){return e===3||e===4||e===6}function Ww(e){return e.charCodeAt(0)===64}function Mo(e,n){if(!(n===null||n.length===0))if(e===null||e.length===0)e=n.slice();else{let t=-1;for(let r=0;r<n.length;r++){let o=n[r];typeof o=="number"?t=o:t===0||(t===-1||t===2?jg(e,t,o,null,n[++r]):jg(e,t,o,null,null))}}return e}function jg(e,n,t,r,o){let i=0,s=e.length;if(n===-1)s=-1;else for(;i<e.length;){let a=e[i++];if(typeof a=="number"){if(a===n){s=-1;break}else if(a>n){s=i-1;break}}}for(;i<e.length;){let a=e[i];if(typeof a=="number")break;if(a===t){o!==null&&(e[i+1]=o);return}i++,o!==null&&i++}s!==-1&&(e.splice(s,0,n),i=s+1),e.splice(i++,0,t),o!==null&&e.splice(i++,0,o)}function kv(e){return e!==Io}function pc(e){return e&32767}function qw(e){return e>>16}function mc(e,n){let t=qw(e),r=n;for(;t>0;)r=r[_r],t--;return r}var Zd=!0;function gc(e){let n=Zd;return Zd=e,n}var Yw=256,Fv=Yw-1,Pv=5,Zw=0,zt={};function Kw(e,n,t){let r;typeof t=="string"?r=t.charCodeAt(0)||0:t.hasOwnProperty(gr)&&(r=t[gr]),r==null&&(r=t[gr]=Zw++);let o=r&Fv,i=1<<o;n.data[e+(o>>Pv)]|=i}function vc(e,n){let t=Lv(e,n);if(t!==-1)return t;let r=n[I];r.firstCreatePass&&(e.injectorIndex=n.length,Ld(r.data,e),Ld(n,null),Ld(r.blueprint,null));let o=kf(e,n),i=e.injectorIndex;if(kv(o)){let s=pc(o),a=mc(o,n),c=a[I].data;for(let l=0;l<8;l++)n[i+l]=a[s+l]|c[s+l]}return n[i+8]=o,i}function Ld(e,n){e.push(0,0,0,0,0,0,0,0,n)}function Lv(e,n){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||n[e.injectorIndex+8]===null?-1:e.injectorIndex}function kf(e,n){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let t=0,r=null,o=n;for(;o!==null;){if(r=Uv(o),r===null)return Io;if(t++,o=o[_r],r.injectorIndex!==-1)return r.injectorIndex|t<<16}return Io}function Kd(e,n,t){Kw(e,n,t)}function Xw(e,n){if(n==="class")return e.classes;if(n==="style")return e.styles;let t=e.attrs;if(t){let r=t.length,o=0;for(;o<r;){let i=t[o];if(Ov(i))break;if(i===0)o=o+2;else if(typeof i=="number")for(o++;o<r&&typeof t[o]=="string";)o++;else{if(i===n)return t[o+1];o=o+2}}}return null}function Vv(e,n,t){if(t&8||e!==void 0)return e;Ba(n,"NodeInjector")}function jv(e,n,t,r){if(t&8&&r===void 0&&(r=null),(t&3)===0){let o=e[je],i=Le(void 0);try{return o?o.get(n,r,t&8):od(n,r,t&8)}finally{Le(i)}}return Vv(r,n,t)}function Bv(e,n,t,r=0,o){if(e!==null){if(n[A]&2048&&!(r&2)){let s=tI(e,n,t,r,zt);if(s!==zt)return s}let i=Hv(e,n,t,r,zt);if(i!==zt)return i}return jv(n,t,r,o)}function Hv(e,n,t,r,o){let i=Jw(t);if(typeof i=="function"){if(!xd(n,e,r))return r&1?Vv(o,t,r):jv(n,t,r,o);try{let s;if(s=i(r),s==null&&!(r&8))Ba(t);else return s}finally{Ad()}}else if(typeof i=="number"){let s=null,a=Lv(e,n),c=Io,l=r&1?n[Be][Ve]:null;for((a===-1||r&4)&&(c=a===-1?kf(e,n):n[a+8],c===Io||!Hg(r,!1)?a=-1:(s=n[I],a=pc(c),n=mc(c,n)));a!==-1;){let u=n[I];if(Bg(i,a,u.data)){let d=Qw(a,n,t,s,r,l);if(d!==zt)return d}c=n[a+8],c!==Io&&Hg(r,n[I].data[a+8]===l)&&Bg(i,a,n)?(s=u,a=pc(c),n=mc(c,n)):a=-1}}return o}function Qw(e,n,t,r,o,i){let s=n[I],a=s.data[e+8],c=r==null?Ut(a)&&Zd:r!=s&&(a.type&3)!==0,l=o&1&&i===a,u=lc(a,s,t,c,l);return u!==null?Zi(n,s,u,a,o):zt}function lc(e,n,t,r,o){let i=e.providerIndexes,s=n.data,a=i&1048575,c=e.directiveStart,l=e.directiveEnd,u=i>>20,d=r?a:a+u,h=o?a+u:l;for(let p=d;p<h;p++){let m=s[p];if(p<c&&t===m||p>=c&&m.type===t)return p}if(o){let p=s[c];if(p&&Tt(p)&&p.type===t)return c}return null}function Zi(e,n,t,r,o){let i=e[t],s=n.data;if(i instanceof Tr){let a=i;if(a.resolving)throw rd("");let c=gc(a.canSeeViewProviders);a.resolving=!0;let l=s[t].type||s[t],u,d=a.injectImpl?Le(a.injectImpl):null,h=xd(e,r,0);try{i=e[t]=a.factory(void 0,o,s,e,r),n.firstCreatePass&&t>=r.directiveStart&&Hw(t,s[t],n)}finally{d!==null&&Le(d),gc(c),a.resolving=!1,Ad()}}return i}function Jw(e){if(typeof e=="string")return e.charCodeAt(0)||0;let n=e.hasOwnProperty(gr)?e[gr]:void 0;return typeof n=="number"?n>=0?n&Fv:eI:n}function Bg(e,n,t){let r=1<<e;return!!(t[n+(e>>Pv)]&r)}function Hg(e,n){return!(e&2)&&!(e&1&&n)}var Mr=class{_tNode;_lView;constructor(n,t){this._tNode=n,this._lView=t}get(n,t,r){return Bv(this._tNode,this._lView,n,hr(r),t)}};function eI(){return new Mr(he(),C())}function xe(e){return ts(()=>{let n=e.prototype.constructor,t=n[Mi]||Xd(n),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Mi]||Xd(o);if(i&&i!==t)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Xd(e){return Qu(e)?()=>{let n=Xd(we(e));return n&&n()}:Tn(e)}function tI(e,n,t,r,o){let i=e,s=n;for(;i!==null&&s!==null&&s[A]&2048&&!_o(s);){let a=Hv(i,s,t,r|2,zt);if(a!==zt)return a;let c=i.parent;if(!c){let l=s[dd];if(l){let u=l.get(t,zt,r&-5);if(u!==zt)return u}c=Uv(s),s=s[_r]}i=c}return o}function Uv(e){let n=e[I],t=n.type;return t===2?n.declTNode:t===1?e[Ve]:null}function Ff(e){return Xw(he(),e)}function nI(){return ko(he(),C())}function ko(e,n){return new B(tt(e,n))}var B=(()=>{class e{nativeElement;constructor(t){this.nativeElement=t}static __NG_ELEMENT_ID__=nI}return e})();function $v(e){return e instanceof B?e.nativeElement:e}function rI(){return this._results[Symbol.iterator]()}var on=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 w}constructor(n=!1){this._emitDistinctChangesOnly=n}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,t){return this._results.reduce(n,t)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,t){this.dirty=!1;let r=Xm(n);(this._changesDetected=!Km(this._results,r,t))&&(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(n){this._onDirty=n}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=rI};function zv(e){return(e.flags&128)===128}var Pf=(function(e){return e[e.OnPush=0]="OnPush",e[e.Eager=1]="Eager",e[e.Default=1]="Default",e})(Pf||{}),Gv=new Map,oI=0;function iI(){return oI++}function sI(e){Gv.set(e[en],e)}function Qd(e){Gv.delete(e[en])}var Ug="__ngContext__";function To(e,n){tn(n)?(e[Ug]=n[en],sI(n)):e[Ug]=n}function Wv(e){return Yv(e[vo])}function qv(e){return Yv(e[ut])}function Yv(e){for(;e!==null&&!Mt(e);)e=e[ut];return e}var Jd;function Lf(e){Jd=e}function Zv(){if(Jd!==void 0)return Jd;if(typeof document<"u")return document;throw new b(210,!1)}var zn=new g("",{factory:()=>aI}),aI="ng";var Sc=new g(""),Or=new g("",{providedIn:"platform",factory:()=>"unknown"}),ns=new g(""),kr=new g("",{factory:()=>f(x).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var Kv="r";var Vf="di",jf="s";var Xv=!1,Qv=new g("",{factory:()=>Xv});var Jv=new g("");var $g=new WeakMap;function cI(e,n){if(e==null||typeof e!="object")return;let t=$g.get(e);t||(t=new WeakSet,$g.set(e,t)),t.add(n)}var lI=(e,n,t,r)=>{};function uI(e,n,t,r){lI(e,n,t,r)}var ey=new g("");function Mc(e){return(e.flags&32)===32}var dI=()=>null;function ty(e,n,t=!1){return dI(e,n,t)}function Bf(e){return e.get(Jv,!1,{optional:!0})}function ny(e,n){let t=e.contentQueries;if(t!==null){let r=S(null);try{for(let o=0;o<t.length;o+=2){let i=t[o],s=t[o+1];if(s!==-1){let a=e.data[s];Ui(i),a.contentQueries(2,n[s],s)}}}finally{S(r)}}}function ef(e,n,t){Ui(0);let r=S(null);try{n(e,t)}finally{S(r)}}function Hf(e,n,t){if(fd(n)){let r=S(null);try{let o=n.directiveStart,i=n.directiveEnd;for(let s=o;s<i;s++){let a=e.data[s];if(a.contentQueries){let c=t[s];a.contentQueries(1,c,s)}}}finally{S(r)}}}var At=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e[e.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",e})(At||{});var fI="svg",hI="math",pI={"http://www.w3.org/2000/svg":fI,"http://www.w3.org/1998/Math/MathML":hI},rc;function mI(){if(rc===void 0&&(rc=null,lt.trustedTypes))try{rc=lt.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return rc}function Tc(e){return mI()?.createHTML(e)||e}var oc;function ry(){if(oc===void 0&&(oc=null,lt.trustedTypes))try{oc=lt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return oc}function zg(e){return ry()?.createHTML(e)||e}function Gg(e){return ry()?.createScriptURL(e)||e}var sn=class{changingThisBreaksApplicationSecurity;constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Fa})`}},tf=class extends sn{getTypeName(){return"HTML"}},nf=class extends sn{getTypeName(){return"Style"}},rf=class extends sn{getTypeName(){return"Script"}},of=class extends sn{getTypeName(){return"URL"}},sf=class extends sn{getTypeName(){return"ResourceURL"}};function rt(e){return e instanceof sn?e.changingThisBreaksApplicationSecurity:e}function Wt(e,n){let t=oy(e);if(t!=null&&t!==n){if(t==="ResourceURL"&&n==="URL")return!0;throw new Error(`Required a safe ${n}, got a ${t} (see ${Fa})`)}return t===n}function oy(e){return e instanceof sn&&e.getTypeName()||null}function Uf(e){return new tf(e)}function $f(e){return new nf(e)}function zf(e){return new rf(e)}function Gf(e){return new of(e)}function Wf(e){return new sf(e)}function gI(e){let n=new cf(e);return vI()?new af(n):n}var af=class{inertDocumentHelper;constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n="<body><remove></remove>"+n;try{let t=new window.DOMParser().parseFromString(Tc(n),"text/html").body;return t===null?this.inertDocumentHelper.getInertBodyElement(n):(t.firstChild?.remove(),t)}catch(t){return null}}},cf=class{defaultDoc;inertDocument;constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){let t=this.inertDocument.createElement("template");return t.innerHTML=Tc(n),t}};function vI(){try{return!!new window.DOMParser().parseFromString(Tc(""),"text/html")}catch(e){return!1}}var yI=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function rs(e){return e=String(e),e.match(yI)?e:"unsafe:"+e}function an(e){let n={};for(let t of e.split(","))n[t]=!0;return n}function os(...e){let n={};for(let t of e)for(let r in t)t.hasOwnProperty(r)&&(n[r]=!0);return n}var iy=an("area,br,col,hr,img,wbr"),sy=an("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),ay=an("rp,rt"),_I=os(ay,sy),bI=os(sy,an("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")),DI=os(ay,an("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")),Wg=os(iy,bI,DI,_I),cy=an("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),EI=an("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"),CI=an("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"),wI=os(cy,EI,CI),II=an("script,style,template"),lf=class{sanitizedSomething=!1;buf=[];sanitizeChildren(n){let t=n.firstChild,r=!0,o=[];for(;t;){if(t.nodeType===Node.ELEMENT_NODE?r=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,r&&t.firstChild){o.push(t),t=TI(t);continue}for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let i=MI(t);if(i){t=i;break}t=o.pop()}}return this.buf.join("")}startElement(n){let t=qg(n).toLowerCase();if(!Wg.hasOwnProperty(t))return this.sanitizedSomething=!0,!II.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);let r=n.attributes;for(let o=0;o<r.length;o++){let i=r.item(o),s=i.name,a=s.toLowerCase();if(!wI.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;cy[a]&&(c=rs(c)),this.buf.push(" ",s,'="',Yg(c),'"')}return this.buf.push(">"),!0}endElement(n){let t=qg(n).toLowerCase();Wg.hasOwnProperty(t)&&!iy.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(n){this.buf.push(Yg(n))}};function SI(e,n){return(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function MI(e){let n=e.nextSibling;if(n&&e!==n.previousSibling)throw ly(n);return n}function TI(e){let n=e.firstChild;if(n&&SI(e,n))throw ly(n);return n}function qg(e){let n=e.nodeName;return typeof n=="string"?n:"FORM"}function ly(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var xI=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,AI=/([^\#-~ |!])/g;function Yg(e){return e.replace(/&/g,"&").replace(xI,function(n){let t=n.charCodeAt(0),r=n.charCodeAt(1);return"&#"+((t-55296)*1024+(r-56320)+65536)+";"}).replace(AI,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var ic;function xc(e,n){let t=null;try{ic=ic||gI(e);let r=n?String(n):"";t=ic.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=t.innerHTML,t=ic.getInertBodyElement(r)}while(r!==i);let a=new lf().sanitizeChildren(Zg(t)||t);return Tc(a)}finally{if(t){let r=Zg(t)||t;for(;r.firstChild;)r.firstChild.remove()}}}function Zg(e){return"content"in e&&NI(e)?e.content:null}function NI(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var RI=/^>|^->|<!--|-->|--!>|<!-$/g,OI=/(<|>)/g,kI="\u200B$1\u200B";function FI(e){return e.replace(RI,n=>n.replace(OI,kI))}function PI(e,n){return e.createText(n)}function LI(e,n,t){e.setValue(n,t)}function VI(e,n){return e.createComment(FI(n))}function uy(e,n,t){return e.createElement(n,t)}function yc(e,n,t,r,o){e.insertBefore(n,t,r,o)}function dy(e,n,t){e.appendChild(n,t)}function Kg(e,n,t,r,o){r!==null?yc(e,n,t,r,o):dy(e,n,t)}function fy(e,n,t,r){e.removeChild(null,n,t,r)}function jI(e,n,t){e.setAttribute(n,"style",t)}function BI(e,n,t){t===""?e.removeAttribute(n,"class"):e.setAttribute(n,"class",t)}function hy(e,n,t){let{mergedAttrs:r,classes:o,styles:i}=t;r!==null&&Gw(e,n,r),o!==null&&BI(e,n,o),i!==null&&jI(e,n,i)}function HI(e,n=!0){if(e[0]!=":")return[null,e];let t=e.indexOf(":",1);if(t===-1){if(n)throw new Error(`Unsupported format "${e}" expecting ":namespace:name"`);return[null,e]}return[e.slice(1,t),e.slice(t+1)]}function UI(e,n,t){if(n!==void 0&&t!==void 0&&GI(n,t)!==K.HTML)return e;let r=qf();return r?zg(r.sanitize(K.HTML,e)||""):Wt(e,"HTML")?zg(rt(e)):xc(Zv(),vr(e))}function $I(e){let n=qf();return n?n.sanitize(K.URL,e)||"":Wt(e,"URL")?rt(e):rs(vr(e))}function zI(e){let n=qf();if(n)return Gg(n.sanitize(K.RESOURCE_URL,e)||"");if(Wt(e,"ResourceURL"))return Gg(rt(e));throw new b(904,!1)}function qf(){let e=C();return e&&e[St].sanitizer}function GI(e,n){let[t,r]=WI(e);return ag(r,n,t)}function WI(e){e=e.toLowerCase();let n=HI(e,!1);if(n[0])return n;let r=ht()===-1?null:Ir(),o=r?.namespace;if(e==="#host"&&r?.type===2){let i=tt(r,C());if(i.tagName&&(e=i.tagName.toLowerCase()),o==null){let s=i.namespaceURI;o=s&&pI[s]}}return[o,e]}function qI(e){return e.ownerDocument}function YI(e,n,t){let r=e.length;for(;;){let o=e.indexOf(n,t);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=n.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}t=o+1}}var py="ng-template";function ZI(e,n,t,r){let o=0;if(r){for(;o<n.length&&typeof n[o]=="string";o+=2)if(n[o]==="class"&&YI(n[o+1].toLowerCase(),t,0)!==-1)return!0}else if(Yf(e))return!1;if(o=n.indexOf(1,o),o>-1){let i;for(;++o<n.length&&typeof(i=n[o])=="string";)if(i.toLowerCase()===t)return!0}return!1}function Yf(e){return e.type===4&&e.value!==py}function KI(e,n,t){let r=e.type===4&&!t?py:e.value;return n===r}function XI(e,n,t){let r=4,o=e.attrs,i=o!==null?eS(o):0,s=!1;for(let a=0;a<n.length;a++){let c=n[a];if(typeof c=="number"){if(!s&&!xt(r)&&!xt(c))return!1;if(s&&xt(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!KI(e,c,t)||c===""&&n.length===1){if(xt(r))return!1;s=!0}}else if(r&8){if(o===null||!ZI(e,o,c,t)){if(xt(r))return!1;s=!0}}else{let l=n[++a],u=QI(c,o,Yf(e),t);if(u===-1){if(xt(r))return!1;s=!0;continue}if(l!==""){let d;if(u>i?d="":d=o[u+1].toLowerCase(),r&2&&l!==d){if(xt(r))return!1;s=!0}}}}return xt(r)||s}function xt(e){return(e&1)===0}function QI(e,n,t,r){if(n===null)return-1;let o=0;if(r||!t){let i=!1;for(;o<n.length;){let s=n[o];if(s===e)return o;if(s===3||s===6)i=!0;else if(s===1||s===2){let a=n[++o];for(;typeof a=="string";)a=n[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=i?1:2}return-1}else return tS(n,e)}function my(e,n,t=!1){for(let r=0;r<n.length;r++)if(XI(e,n[r],t))return!0;return!1}function JI(e){let n=e.attrs;if(n!=null){let t=n.indexOf(5);if((t&1)===0)return n[t+1]}return null}function eS(e){for(let n=0;n<e.length;n++){let t=e[n];if(Ov(t))return n}return e.length}function tS(e,n){let t=e.indexOf(4);if(t>-1)for(t++;t<e.length;){let r=e[t];if(typeof r=="number")return-1;if(r===n)return t;t++}return-1}function nS(e,n){e:for(let t=0;t<n.length;t++){let r=n[t];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 Xg(e,n){return e?":not("+n.trim()+")":n}function rS(e){let n=e[0],t=1,r=2,o="",i=!1;for(;t<e.length;){let s=e[t];if(typeof s=="string")if(r&2){let a=e[++t];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!xt(s)&&(n+=Xg(i,o),o=""),r=s,i=i||!xt(r);t++}return o!==""&&(n+=Xg(i,o)),n}function oS(e){return e.map(rS).join(",")}function iS(e){let n=[],t=[],r=1,o=2;for(;r<e.length;){let i=e[r];if(typeof i=="string")o===2?i!==""&&n.push(i,e[++r]):o===8&&t.push(i);else{if(!xt(o))break;o=i}r++}return t.length&&n.push(1,...t),n}var Ue={};function Zf(e,n,t,r,o,i,s,a,c,l,u){let d=X+r,h=d+o,p=sS(d,h),m=typeof l=="function"?l():l;return p[I]={type:e,blueprint:p,template:t,queries:null,viewQuery:a,declTNode:n,data:p.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:h,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:m,incompleteFirstPass:!1,ssrId:u}}function sS(e,n){let t=[];for(let r=0;r<n;r++)t.push(r<e?null:Ue);return t}function aS(e){let n=e.tView;return n===null||n.incompleteFirstPass?e.tView=Zf(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):n}function Kf(e,n,t,r,o,i,s,a,c,l,u){let d=n.blueprint.slice();return d[It]=o,d[A]=r|4|128|8|64|1024,(l!==null||e&&e[A]&2048)&&(d[A]|=2048),md(d),d[_e]=d[_r]=e,d[ge]=t,d[St]=s||e&&e[St],d[te]=a||e&&e[te],d[je]=c||e&&e[je]||null,d[Ve]=i,d[en]=iI(),d[yr]=u,d[dd]=l,d[Be]=n.type==2?e[Be]:d,d}function cS(e,n,t){let r=tt(n,e),o=aS(t),i=e[St].rendererFactory,s=Xf(e,Kf(e,o,null,gy(t),r,n,null,i.createRenderer(r,t),null,null,null));return e[n.index]=s}function gy(e){let n=16;return e.signals?n=4096:e.onPush&&(n=64),n}function vy(e,n,t,r){if(t===0)return-1;let o=n.length;for(let i=0;i<t;i++)n.push(r),e.blueprint.push(r),e.data.push(null);return o}function Xf(e,n){return e[vo]?e[ud][ut]=n:e[vo]=n,e[ud]=n,n}function Qf(e=1){yy(J(),C(),ht()+e,!1)}function yy(e,n,t,r){if(!r)if((n[A]&3)===3){let i=e.preOrderCheckHooks;i!==null&&ac(n,i,t)}else{let i=e.preOrderHooks;i!==null&&cc(n,i,0,t)}Vn(t)}var Ac=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(Ac||{});function uf(e,n,t,r){let o=S(null);try{let[i,s,a]=e.inputs[t],c=null;(s&Ac.SignalBased)!==0&&(c=n[i][me]),c!==null&&c.transformFn!==void 0?r=c.transformFn(r):a!==null&&(r=a.call(n,r)),e.setInput!==null?e.setInput(n,c,r,t,i):Mv(n,c,i,r)}finally{S(o)}}var Gt=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})(Gt||{}),lS;function Jf(e,n){return lS(e,n)}var sH=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";var df=new WeakMap,Wi=new WeakSet;function uS(e,n){let t=df.get(e);if(!t||t.length===0)return;let r=n.parentNode,o=n.previousSibling;for(let i=t.length-1;i>=0;i--){let s=t[i],a=s.parentNode;s===n?(t.splice(i,1),Wi.add(s),s.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}}))):(o&&s===o||a&&r&&a!==r)&&(t.splice(i,1),s.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}})),s.parentNode?.removeChild(s))}}function dS(e,n){let t=df.get(e);t?t.includes(n)||t.push(n):df.set(e,[n])}var xr=new Set,Nc=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(Nc||{}),Nt=new g(""),Qg=new Set;function qt(e){Qg.has(e)||(Qg.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var Rc=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=y({token:e,providedIn:"root",factory:()=>new e})}return e})(),eh=[0,1,2,3],th=(()=>{class e{ngZone=f(M);scheduler=f(Ct);errorHandler=f(Oe,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){f(Nt,{optional:!0})}execute(){let t=this.sequences.size>0;t&&Y(z.AfterRenderHooksStart),this.executing=!0;for(let r of eh)for(let o of this.sequences)if(!(o.erroredOrDestroyed||!o.hooks[r]))try{o.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let i=o.hooks[r];return i(o.pipelinedValue)},o.snapshot))}catch(i){o.erroredOrDestroyed=!0,this.errorHandler?.handleError(i)}this.executing=!1;for(let r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(let r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),t&&Y(z.AfterRenderHooksEnd)}register(t){let{view:r}=t;r!==void 0?((r[Dr]??=[]).push(t),Cr(r),r[A]|=8192):this.executing?this.deferredRegistrations.add(t):this.addSequence(t)}addSequence(t){this.sequences.add(t),this.scheduler.notify(7)}unregister(t){this.executing&&this.sequences.has(t)?(t.erroredOrDestroyed=!0,t.pipelinedValue=void 0,t.once=!0):(this.sequences.delete(t),this.deferredRegistrations.delete(t))}maybeTrace(t,r){return r?r.run(Nc.AFTER_NEXT_RENDER,t):t()}static \u0275prov=y({token:e,providedIn:"root",factory:()=>new e})}return e})(),Ki=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(n,t,r,o,i,s=null){this.impl=n,this.hooks=t,this.view=r,this.once=o,this.snapshot=s,this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let n=this.view?.[Dr];n&&(this.view[Dr]=n.filter(t=>t!==this))}};function Rt(e,n){let t=n?.injector??f(O);return qt("NgAfterNextRender"),hS(e,t,n,!0)}function fS(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function hS(e,n,t,r){let o=n.get(Rc);o.impl??=n.get(th);let i=n.get(Nt,null,{optional:!0}),s=t?.manualCleanup!==!0?n.get(We):null,a=n.get(Eo,null,{optional:!0}),c=new Ki(o.impl,fS(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var _y=new g("",{factory:()=>({queue:new Set,isScheduled:!1,scheduler:null,injector:f(de)})});function by(e,n,t){let r=e.get(_y);if(Array.isArray(n))for(let o of n)r.queue.add(o),t?.detachedLeaveAnimationFns?.push(o);else r.queue.add(n),t?.detachedLeaveAnimationFns?.push(n);r.scheduler&&r.scheduler(e)}function pS(e,n){let t=e.get(_y);if(n.detachedLeaveAnimationFns){for(let r of n.detachedLeaveAnimationFns)t.queue.delete(r);n.detachedLeaveAnimationFns=void 0}}function mS(e,n){for(let[t,r]of n)by(e,r.animateFns)}function Jg(e,n,t,r){let o=e?.[kn]?.enter;n!==null&&o&&o.has(t.index)&&mS(r,o)}function wo(e,n,t,r,o,i,s,a){if(o!=null){let c,l=!1;Mt(o)?c=o:tn(o)&&(l=!0,o=o[It]);let u=dt(o);e===0&&r!==null?(Jg(a,r,i,t),s==null?dy(n,r,u):yc(n,r,u,s||null,!0)):e===1&&r!==null?(Jg(a,r,i,t),yc(n,r,u,s||null,!0),uS(i,u)):e===2?(a?.[kn]?.leave?.has(i.index)&&dS(i,u),Wi.delete(u),ev(a,i,t,d=>{if(Wi.has(u)){Wi.delete(u);return}fy(n,u,l,d)})):e===3&&(Wi.delete(u),ev(a,i,t,()=>{n.destroyNode(u)})),c!=null&&SS(n,e,t,c,i,r,s)}}function gS(e,n){Dy(e,n),n[It]=null,n[Ve]=null}function vS(e,n,t,r,o,i){r[It]=o,r[Ve]=n,kc(e,r,t,1,o,i)}function Dy(e,n){n[St].changeDetectionScheduler?.notify(9),kc(e,n,n[te],2,null,null)}function yS(e){let n=e[vo];if(!n)return Vd(e[I],e);for(;n;){let t=null;if(tn(n))t=n[vo];else{let r=n[fe];r&&(t=r)}if(!t){for(;n&&!n[ut]&&n!==e;)tn(n)&&Vd(n[I],n),n=n[_e];n===null&&(n=e),tn(n)&&Vd(n[I],n),t=n&&n[ut]}n=t}}function nh(e,n){let t=e[Er],r=t.indexOf(n);t.splice(r,1)}function Oc(e,n){if(Ln(n))return;let t=n[te];t.destroyNode&&kc(e,n,t,3,null,null),yS(n)}function Vd(e,n){if(Ln(n))return;let t=S(null);try{n[A]&=-129,n[A]|=256,n[et]&&Sn(n[et]),DS(e,n),bS(e,n),n[I].type===1&&n[te].destroy();let r=n[On];if(r!==null&&Mt(n[_e])){r!==n[_e]&&nh(r,n);let o=n[Ht];o!==null&&o.detachView(e)}Qd(n)}finally{S(t)}}function ev(e,n,t,r){let o=e?.[kn];if(o==null||o.leave==null||!o.leave.has(n.index))return r(!1);e&&xr.add(e[en]),by(t,()=>{if(o.leave&&o.leave.has(n.index)){let s=o.leave.get(n.index),a=[];if(s){for(let c=0;c<s.animateFns.length;c++){let l=s.animateFns[c],{promise:u}=l();a.push(u)}o.detachedLeaveAnimationFns=void 0}o.running=Promise.allSettled(a),_S(e,r)}else e&&xr.delete(e[en]),r(!1)},o)}function _S(e,n){let t=e[kn]?.running;if(t){t.then(()=>{e[kn].running=void 0,xr.delete(e[en]),n(!0)});return}n(!1)}function bS(e,n){let t=e.cleanup,r=n[go];if(t!==null)for(let s=0;s<t.length-1;s+=2)if(typeof t[s]=="string"){let a=t[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[t[s+1]];t[s].call(a)}r!==null&&(n[go]=null);let o=n[Qt];if(o!==null){n[Qt]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=n[xn];if(i!==null){n[xn]=null;for(let s of i)s.destroy()}}function DS(e,n){let t;if(e!=null&&(t=e.destroyHooks)!=null)for(let r=0;r<t.length;r+=2){let o=n[t[r]];if(!(o instanceof Tr)){let i=t[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],c=i[s+1];Y(z.LifecycleHookStart,a,c);try{c.call(a)}finally{Y(z.LifecycleHookEnd,a,c)}}else{Y(z.LifecycleHookStart,o,i);try{i.call(o)}finally{Y(z.LifecycleHookEnd,o,i)}}}}}function Ey(e,n,t){return ES(e,n.parent,t)}function ES(e,n,t){let r=n;for(;r!==null&&r.type&168;)n=r,r=n.parent;if(r===null)return t[It];if(Ut(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===At.None||o===At.Emulated)return null}return tt(r,t)}function Cy(e,n,t){return wS(e,n,t)}function CS(e,n,t){return e.type&40?tt(e,t):null}var wS=CS,tv;function rh(e,n,t,r){let o=Ey(e,r,n),i=n[te],s=r.parent||n[Ve],a=Cy(s,r,n);if(o!=null)if(Array.isArray(t))for(let c=0;c<t.length;c++)Kg(i,o,t[c],a,!1);else Kg(i,o,t,a,!1);tv!==void 0&&tv(i,r,n,t,o)}function qi(e,n){if(n!==null){let t=n.type;if(t&3)return tt(n,e);if(t&4)return ff(-1,e[n.index]);if(t&8){let r=n.child;if(r!==null)return qi(e,r);{let o=e[n.index];return Mt(o)?ff(-1,o):dt(o)}}else{if(t&128)return qi(e,n.next);if(t&32)return Jf(n,e)()||dt(e[n.index]);{let r=wy(e,n);if(r!==null){if(Array.isArray(r))return r[0];let o=An(e[Be]);return qi(o,r)}else return qi(e,n.next)}}}return null}function wy(e,n){if(n!==null){let r=e[Be][Ve],o=n.projection;return r.projection[o]}return null}function ff(e,n){let t=fe+e+1;if(t<n.length){let r=n[t],o=r[I].firstChild;if(o!==null)return qi(r,o)}return n[Pn]}function oh(e,n,t,r,o,i,s){for(;t!=null;){let a=r[je];if(t.type===128){t=t.next;continue}let c=r[t.index],l=t.type;if(s&&n===0&&(c&&To(dt(c),r),t.flags|=2),!Mc(t))if(l&8)oh(e,n,t.child,r,o,i,!1),wo(n,e,a,o,c,t,i,r);else if(l&32){let u=Jf(t,r),d;for(;d=u();)wo(n,e,a,o,d,t,i,r);wo(n,e,a,o,c,t,i,r)}else l&16?Iy(e,n,r,t,o,i):wo(n,e,a,o,c,t,i,r);t=s?t.projectionNext:t.next}}function kc(e,n,t,r,o,i){oh(t,r,e.firstChild,n,o,i,!1)}function IS(e,n,t){let r=n[te],o=Ey(e,t,n),i=t.parent||n[Ve],s=Cy(i,t,n);Iy(r,0,n,t,o,s)}function Iy(e,n,t,r,o,i){let s=t[Be],c=s[Ve].projection[r.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++){let u=c[l];wo(n,e,t[je],o,u,r,i,t)}else{let l=c,u=s[_e];zv(r)&&(l.flags|=128),oh(e,n,l,u,o,i,!0)}}function SS(e,n,t,r,o,i,s){let a=r[Pn],c=dt(r);a!==c&&wo(n,e,t,i,a,o,s);for(let l=fe;l<r.length;l++){let u=r[l];kc(u[I],u,e,n,i,a)}}function MS(e,n,t,r,o){if(n)o?e.addClass(t,r):e.removeClass(t,r);else{let i=r.indexOf("-")===-1?void 0:Gt.DashCase;o==null?e.removeStyle(t,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Gt.Important),e.setStyle(t,r,o,i))}}function Sy(e,n,t,r,o){let i=ht(),s=r&2;try{Vn(-1),s&&n.length>X&&yy(e,n,X,!1);let a=s?z.TemplateUpdateStart:z.TemplateCreateStart;Y(a,o,t),t(r,o)}finally{Vn(i);let a=s?z.TemplateUpdateEnd:z.TemplateCreateEnd;Y(a,o,t)}}function Fc(e,n,t){RS(e,n,t),(t.flags&64)===64&&OS(e,n,t)}function is(e,n,t=tt){let r=n.localNames;if(r!==null){let o=n.index+1;for(let i=0;i<r.length;i+=2){let s=r[i+1],a=s===-1?t(n,e):e[s];e[o++]=a}}}function TS(e,n,t,r){let i=r.get(Qv,Xv)||t===At.ShadowDom||t===At.ExperimentalIsolatedShadowDom,s=e.selectRootElement(n,i);return xS(s),s}function xS(e){AS(e)}var AS=()=>null;function NS(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function My(e,n,t,r,o,i){let s=n[I];if(Pc(e,s,n,t,r)){Ut(e)&&xy(n,e.index);return}e.type&3&&(t=NS(t)),Ty(e,n,t,r,o,i)}function Ty(e,n,t,r,o,i){if(e.type&3){let s=tt(e,n);r=i!=null?i(r,e.value||"",t):r,o.setProperty(s,t,r)}else e.type&12}function xy(e,n){let t=ft(n,e);t[A]&16||(t[A]|=64)}function RS(e,n,t){let r=t.directiveStart,o=t.directiveEnd;Ut(t)&&cS(n,t,e.data[r+t.componentOffset]),e.firstCreatePass||vc(t,n);let i=t.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=Zi(n,e,s,t);if(To(c,n),i!==null&&PS(n,s-r,c,a,t,i),Tt(a)){let l=ft(t.index,n);l[ge]=Zi(n,e,s,t)}}}function OS(e,n,t){let r=t.directiveStart,o=t.directiveEnd,i=t.index,s=Dg();try{Vn(i);for(let a=r;a<o;a++){let c=e.data[a],l=n[a];Ka(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&kS(c,l)}}finally{Vn(-1),Ka(s)}}function kS(e,n){e.hostBindings!==null&&e.hostBindings(1,n)}function ih(e,n){let t=e.directiveRegistry,r=null;if(t)for(let o=0;o<t.length;o++){let i=t[o];my(n,i.selectors,!1)&&(r??=[],Tt(i)?r.unshift(i):r.push(i))}return r}function FS(e,n,t,r,o,i){let s=tt(e,n);Ay(n[te],s,i,e.value,t,r,o)}function Ay(e,n,t,r,o,i,s){if(i==null)e.removeAttribute(n,o,t);else{let a=s==null?vr(i):s(i,r||"",o);e.setAttribute(n,o,a,t)}}function PS(e,n,t,r,o,i){let s=i[n];if(s!==null)for(let a=0;a<s.length;a+=2){let c=s[a],l=s[a+1];uf(r,t,c,l)}}function sh(e,n,t,r,o){let i=X+t,s=n[I],a=o(s,n,e,r,t);n[i]=a,wr(e,!0);let c=e.type===2;return c?(hy(n[te],a,e),(fg()===0||yo(e))&&To(a,n),hg()):To(a,n),ec()&&(!c||!Mc(e))&&rh(s,n,a,e),e}function ah(e){let n=e;return Id()?Sd():(n=n.parent,wr(n,!1)),n}function ch(e,n){let t=e[je];if(!t)return;let r;try{r=t.get(rn,null)}catch(o){r=null}r?.(n)}function Pc(e,n,t,r,o){let i=e.inputs?.[r],s=e.hostDirectiveInputs?.[r],a=!1;if(s)for(let c=0;c<s.length;c+=2){let l=s[c],u=s[c+1],d=n.data[l];uf(d,t[l],u,o),a=!0}if(i)for(let c of i){let l=t[c],u=n.data[c];uf(u,l,r,o),a=!0}return a}function LS(e,n){let t=ft(n,e),r=t[I];VS(r,t);let o=t[It];o!==null&&t[yr]===null&&(t[yr]=ty(o,t[je])),Y(z.ComponentStart);try{lh(r,t,t[ge])}finally{Y(z.ComponentEnd,t[ge])}}function VS(e,n){for(let t=n.length;t<e.blueprint.length;t++)n.push(e.blueprint[t])}function lh(e,n,t){Qa(n);try{let r=e.viewQuery;r!==null&&ef(1,r,t);let o=e.template;o!==null&&Sy(e,n,o,1,t),e.firstCreatePass&&(e.firstCreatePass=!1),n[Ht]?.finishViewCreation(e),e.staticContentQueries&&ny(e,n),e.staticViewQueries&&ef(2,e.viewQuery,t);let i=e.components;i!==null&&jS(n,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{n[A]&=-5,Ja()}}function jS(e,n){for(let t=0;t<n.length;t++)LS(e,n[t])}function Fo(e,n,t,r){let o=S(null);try{let i=n.tView,a=e[A]&4096?4096:16,c=Kf(e,i,t,a,null,n,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),l=e[n.index];c[On]=l;let u=e[Ht];return u!==null&&(c[Ht]=u.createEmbeddedView(i)),lh(i,c,t),c}finally{S(o)}}function Ar(e,n){return!n||n.firstChild===null||zv(e)}function Xi(e,n,t,r,o=!1){for(;t!==null;){if(t.type===128){t=o?t.projectionNext:t.next;continue}let i=n[t.index];i!==null&&r.push(dt(i)),Mt(i)&&Ny(i,r);let s=t.type;if(s&8)Xi(e,n,t.child,r);else if(s&32){let a=Jf(t,n),c;for(;c=a();)r.push(c)}else if(s&16){let a=wy(n,t);if(Array.isArray(a))r.push(...a);else{let c=An(n[Be]);Xi(c[I],c,a,r,!0)}}t=o?t.projectionNext:t.next}return r}function Ny(e,n){for(let t=fe;t<e.length;t++){let r=e[t],o=r[I].firstChild;o!==null&&Xi(r[I],r,o,n)}e[Pn]!==e[It]&&n.push(e[Pn])}function Ry(e){if(e[Dr]!==null){for(let n of e[Dr])n.impl.addSequence(n);e[Dr].length=0}}var Oy=[];function BS(e){return e[et]??HS(e)}function HS(e){let n=Oy.pop()??Object.create($S);return n.lView=e,n}function US(e){e.lView[et]!==e&&(e.lView=null,Oy.push(e))}var $S=U(E({},Cn),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{Cr(e.lView)},consumerOnSignalRead(){this.lView[et]=this}});function zS(e){let n=e[et]??Object.create(GS);return n.lView=e,n}var GS=U(E({},Cn),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let n=An(e.lView);for(;n&&!ky(n[I]);)n=An(n);n&&gd(n)},consumerOnSignalRead(){this.lView[et]=this}});function ky(e){return e.type!==2}function Fy(e){if(e[xn]===null)return;let n=!0;for(;n;){let t=!1;for(let r of e[xn])r.dirty&&(t=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));n=t&&!!(e[A]&8192)}}var WS=100;function Py(e,n=0){let r=e[St].rendererFactory,o=!1;o||r.begin?.();try{qS(e,n)}finally{o||r.end?.()}}function qS(e,n){let t=Td();try{Ai(!0),hf(e,n);let r=0;for(;Hi(e);){if(r===WS)throw new b(103,!1);r++,hf(e,1)}}finally{Ai(t)}}function YS(e,n,t,r){if(Ln(n))return;let o=n[A],i=!1,s=!1;Qa(n);let a=!0,c=null,l=null;i||(ky(e)?(l=BS(n),c=Xt(l)):Ia()===null?(a=!1,l=zS(n),c=Xt(l)):n[et]&&(Sn(n[et]),n[et]=null));try{md(n),yg(e.bindingStartIndex),t!==null&&Sy(e,n,t,2,r);let u=(o&3)===3;if(!i)if(u){let p=e.preOrderCheckHooks;p!==null&&ac(n,p,null)}else{let p=e.preOrderHooks;p!==null&&cc(n,p,0,null),Pd(n,0)}if(s||ZS(n),Fy(n),Ly(n,0),e.contentQueries!==null&&ny(e,n),!i)if(u){let p=e.contentCheckHooks;p!==null&&ac(n,p)}else{let p=e.contentHooks;p!==null&&cc(n,p,1),Pd(n,1)}XS(e,n);let d=e.components;d!==null&&jy(n,d,0);let h=e.viewQuery;if(h!==null&&ef(2,h,r),!i)if(u){let p=e.viewCheckHooks;p!==null&&ac(n,p)}else{let p=e.viewHooks;p!==null&&cc(n,p,2),Pd(n,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),n[za]){for(let p of n[za])p();n[za]=null}i||(Ry(n),n[A]&=-73)}catch(u){throw i||Cr(n),u}finally{l!==null&&(In(l,c),a&&US(l)),Ja()}}function Ly(e,n){for(let t=Wv(e);t!==null;t=qv(t))for(let r=fe;r<t.length;r++){let o=t[r];Vy(o,n)}}function ZS(e){for(let n=Wv(e);n!==null;n=qv(n)){if(!(n[A]&2))continue;let t=n[Er];for(let r=0;r<t.length;r++){let o=t[r];gd(o)}}}function KS(e,n,t){Y(z.ComponentStart);let r=ft(n,e);try{Vy(r,t)}finally{Y(z.ComponentEnd,r[ge])}}function Vy(e,n){Ga(e)&&hf(e,n)}function hf(e,n){let r=e[I],o=e[A],i=e[et],s=!!(n===0&&o&16);if(s||=!!(o&64&&n===0),s||=!!(o&1024),s||=!!(i?.dirty&&ao(i)),s||=!1,i&&(i.dirty=!1),e[A]&=-9217,s)YS(r,e,r.template,e[ge]);else if(o&8192){let a=S(null);try{Fy(e),Ly(e,1);let c=r.components;c!==null&&jy(e,c,1),Ry(e)}finally{S(a)}}}function jy(e,n,t){for(let r=0;r<n.length;r++)KS(e,n[r],t)}function XS(e,n){let t=e.hostBindingOpCodes;if(t!==null)try{for(let r=0;r<t.length;r++){let o=t[r];if(o<0)Vn(~o);else{let i=o,s=t[++r],a=t[++r];bg(s,i);let c=n[i];Y(z.HostBindingsUpdateStart,c);try{a(2,c)}finally{Y(z.HostBindingsUpdateEnd,c)}}}}finally{Vn(-1)}}function Lc(e,n){let t=Td()?64:1088;for(e[St].changeDetectionScheduler?.notify(n);e;){e[A]|=t;let r=An(e);if(_o(e)&&!r)return e;e=r}return null}function By(e,n,t,r){return[e,!0,0,n,null,r,null,t,null,null]}function Hy(e,n){let t=fe+n;if(t<e.length)return e[t]}function Po(e,n,t,r=!0){let o=n[I];if(QS(o,n,e,t),r){let s=ff(t,e),a=n[te],c=a.parentNode(e[Pn]);c!==null&&vS(o,e[Ve],a,n,c,s)}let i=n[yr];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function uh(e,n){let t=Qi(e,n);return t!==void 0&&Oc(t[I],t),t}function Qi(e,n){if(e.length<=fe)return;let t=fe+n,r=e[t];if(r){let o=r[On];o!==null&&o!==e&&nh(o,r),n>0&&(e[t-1][ut]=r[ut]);let i=Pi(e,fe+n);gS(r[I],r);let s=i[Ht];s!==null&&s.detachView(i[I]),r[_e]=null,r[ut]=null,r[A]&=-129}return r}function QS(e,n,t,r){let o=fe+r,i=t.length;r>0&&(t[o-1][ut]=n),r<i-fe?(n[ut]=t[o],id(t,fe+r,n)):(t.push(n),n[ut]=null),n[_e]=t;let s=n[On];s!==null&&t!==s&&Uy(s,n);let a=n[Ht];a!==null&&a.insertView(e),Wa(n),n[A]|=128}function Uy(e,n){let t=e[Er],r=n[_e];if(tn(r))e[A]|=2;else{let o=r[_e][Be];n[Be]!==o&&(e[A]|=2)}t===null?e[Er]=[n]:t.push(n)}var Un=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let n=this._lView,t=n[I];return Xi(t,n,t.firstChild,[])}constructor(n,t){this._lView=n,this._cdRefInjectingView=t}get context(){return this._lView[ge]}set context(n){this._lView[ge]=n}get destroyed(){return Ln(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let n=this._lView[_e];if(Mt(n)){let t=n[ji],r=t?t.indexOf(this):-1;r>-1&&(Qi(n,r),Pi(t,r))}this._attachedToViewContainer=!1}Oc(this._lView[I],this._lView)}onDestroy(n){qa(this._lView,n)}markForCheck(){Lc(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[A]&=-129}reattach(){Wa(this._lView),this._lView[A]|=128}detectChanges(){this._lView[A]|=1024,Py(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new b(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let n=_o(this._lView),t=this._lView[On];t!==null&&!n&&nh(t,this._lView),Dy(this._lView[I],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new b(902,!1);this._appRef=n;let t=_o(this._lView),r=this._lView[On];r!==null&&!t&&Uy(r,this._lView),Wa(this._lView)}};var Ye=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=JS;constructor(t,r,o){this._declarationLView=t,this._declarationTContainer=r,this.elementRef=o}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,r){return this.createEmbeddedViewImpl(t,r)}createEmbeddedViewImpl(t,r,o){let i=Fo(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:r,dehydratedView:o});return new Un(i)}}return e})();function JS(){return Vc(he(),C())}function Vc(e,n){return e.type&4?new Ye(n,e,ko(e,n)):null}function Fr(e,n,t,r,o){let i=e.data[n];if(i===null)i=eM(e,n,t,r,o),_g()&&(i.flags|=32);else if(i.type&64){i.type=t,i.value=r,i.attrs=o;let s=gg();i.injectorIndex=s===null?-1:s.injectorIndex}return wr(i,!0),i}function eM(e,n,t,r,o){let i=wd(),s=Id(),a=s?i:i&&i.parent,c=e.data[n]=nM(e,a,t,n,r,o);return tM(e,c,i,s),c}function tM(e,n,t,r){e.firstChild===null&&(e.firstChild=n),t!==null&&(r?t.child==null&&n.parent!==null&&(t.child=n):t.next===null&&(t.next=n,n.prev=t))}function nM(e,n,t,r,o,i){let s=n?n.injectorIndex:-1,a=0;return Dd()&&(a|=128),{type:t,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,controlDirectiveIndex:-1,customControlIndex:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,namespace:Nd(),attrs:i,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function rM(e){let n=e[Fn]??[],r=e[_e][te],o=[];for(let i of n)i.data[Vf]!==void 0?o.push(i):oM(i,r);e[Fn]=o}function oM(e,n){let t=0,r=e.firstChild;if(r){let o=e.data[Kv];for(;t<o;){let i=r.nextSibling;fy(n,r,!1),r=i,t++}}}var iM=()=>null,sM=()=>null;function _c(e,n){return iM(e,n)}function $y(e,n,t){return sM(e,n,t)}var zy=class{},jc=class{},pf=class{resolveComponentFactory(n){throw new b(917,!1)}},Bc=class{static NULL=new pf},Se=class{},Ke=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>aM()}return e})();function aM(){let e=C(),n=he(),t=ft(n.index,e);return(tn(t)?t:e)[te]}var Gy=(()=>{class e{static \u0275prov=y({token:e,providedIn:"root",factory:()=>null})}return e})();var uc={},So=class{injector;parentInjector;constructor(n,t){this.injector=n,this.parentInjector=t}get(n,t,r){let o=this.injector.get(n,uc,r);return o!==uc||t===uc?o:this.parentInjector.get(n,t,r)}};function bc(e,n,t){let r=t?e.styles:null,o=t?e.classes:null,i=0;if(n!==null)for(let s=0;s<n.length;s++){let a=n[s];if(typeof a=="number")i=a;else if(i==1)o=La(o,a);else if(i==2){let c=a,l=n[++s];r=La(r,c+": "+l+";")}}t?e.styles=r:e.stylesWithoutHost=r,t?e.classes=o:e.classesWithoutHost=o}function H(e,n=0){let t=C();if(t===null)return T(e,n);let r=he();return Bv(r,t,we(e),n)}function cM(){let e="invalid";throw new Error(e)}function Wy(e,n,t,r,o){let i=r===null?null:{"":-1},s=o(e,t);if(s!==null){let a=s,c=null,l=null;for(let u of s)if(u.resolveHostDirectives!==null){[a,c,l]=u.resolveHostDirectives(s);break}dM(e,n,t,a,i,c,l)}i!==null&&r!==null&&lM(t,r,i)}function lM(e,n,t){let r=e.localNames=[];for(let o=0;o<n.length;o+=2){let i=t[n[o+1]];if(i==null)throw new b(-301,!1);r.push(n[o],i)}}function uM(e,n,t){n.componentOffset=t,(e.components??=[]).push(n.index)}function dM(e,n,t,r,o,i,s){let a=r.length,c=null;for(let h=0;h<a;h++){let p=r[h];c===null&&Tt(p)&&(c=p,uM(e,t,h)),Kd(vc(t,n),e,p.type)}vM(t,e.data.length,a),c?.viewProvidersResolver&&c.viewProvidersResolver(c);for(let h=0;h<a;h++){let p=r[h];p.providersResolver&&p.providersResolver(p)}let l=!1,u=!1,d=vy(e,n,a,null);a>0&&(t.directiveToIndex=new Map);for(let h=0;h<a;h++){let p=r[h];if(t.mergedAttrs=Mo(t.mergedAttrs,p.hostAttrs),hM(e,t,n,d,p),gM(d,p,o),s!==null&&s.has(p)){let[v,_]=s.get(p);t.directiveToIndex.set(p.type,[d,v+t.directiveStart,_+t.directiveStart])}else(i===null||!i.has(p))&&t.directiveToIndex.set(p.type,d);p.contentQueries!==null&&(t.flags|=4),(p.hostBindings!==null||p.hostAttrs!==null||p.hostVars!==0)&&(t.flags|=64);let m=p.type.prototype;!l&&(m.ngOnChanges||m.ngOnInit||m.ngDoCheck)&&((e.preOrderHooks??=[]).push(t.index),l=!0),!u&&(m.ngOnChanges||m.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(t.index),u=!0),d++}fM(e,t,i)}function fM(e,n,t){for(let r=n.directiveStart;r<n.directiveEnd;r++){let o=e.data[r];if(t===null||!t.has(o))nv(0,n,o,r),nv(1,n,o,r),ov(n,r,!1);else{let i=t.get(o);rv(0,n,i,r),rv(1,n,i,r),ov(n,r,!0)}}}function nv(e,n,t,r){let o=e===0?t.inputs:t.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s;e===0?s=n.inputs??={}:s=n.outputs??={},s[i]??=[],s[i].push(r),qy(n,i)}}function rv(e,n,t,r){let o=e===0?t.inputs:t.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s=o[i],a;e===0?a=n.hostDirectiveInputs??={}:a=n.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,i),qy(n,s)}}function qy(e,n){n==="class"?e.flags|=8:n==="style"&&(e.flags|=16)}function ov(e,n,t){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!t&&o===null||t&&i===null||Yf(e)){e.initialInputs??=[],e.initialInputs.push(null);return}let s=null,a=0;for(;a<r.length;){let c=r[a];if(c===0){a+=4;continue}else if(c===5){a+=2;continue}else if(typeof c=="number")break;if(!t&&o.hasOwnProperty(c)){let l=o[c];for(let u of l)if(u===n){s??=[],s.push(c,r[a+1]);break}}else if(t&&i.hasOwnProperty(c)){let l=i[c];for(let u=0;u<l.length;u+=2)if(l[u]===n){s??=[],s.push(l[u+1],r[a+1]);break}}a+=2}e.initialInputs??=[],e.initialInputs.push(s)}function hM(e,n,t,r,o){e.data[r]=o;let i=o.factory||(o.factory=Tn(o.type,!0)),s=new Tr(i,Tt(o),H,null);e.blueprint[r]=s,t[r]=s,pM(e,n,r,vy(e,t,o.hostVars,Ue),o)}function pM(e,n,t,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~n.index;mM(s)!=a&&s.push(a),s.push(t,r,i)}}function mM(e){let n=e.length;for(;n>0;){let t=e[--n];if(typeof t=="number"&&t<0)return t}return 0}function gM(e,n,t){if(t){if(n.exportAs)for(let r=0;r<n.exportAs.length;r++)t[n.exportAs[r]]=e;Tt(n)&&(t[""]=e)}}function vM(e,n,t){e.flags|=1,e.directiveStart=n,e.directiveEnd=n+t,e.providerIndexes=n}function dh(e,n,t,r,o,i,s,a){let c=n[I],l=c.consts,u=nt(l,s),d=Fr(c,e,t,r,u);return i&&Wy(c,n,d,nt(l,a),o),d.mergedAttrs=Mo(d.mergedAttrs,d.attrs),d.attrs!==null&&bc(d,d.attrs,!1),d.mergedAttrs!==null&&bc(d,d.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,d),d}function fh(e,n){Nv(e,n),fd(n)&&e.queries.elementEnd(n)}function yM(e,n,t,r,o,i){let s=n.consts,a=nt(s,o),c=Fr(n,e,t,r,a);if(c.mergedAttrs=Mo(c.mergedAttrs,c.attrs),i!=null){let l=nt(s,i);c.localNames=[];for(let u=0;u<l.length;u+=2)c.localNames.push(l[u],-1)}return c.attrs!==null&&bc(c,c.attrs,!1),c.mergedAttrs!==null&&bc(c,c.mergedAttrs,!0),n.queries!==null&&n.queries.elementStart(n,c),c}function hh(e){return Zy(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function Yy(e,n){if(Array.isArray(e))for(let t=0;t<e.length;t++)n(e[t]);else{let t=e[Symbol.iterator](),r;for(;!(r=t.next()).done;)n(r.value)}}function Zy(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function Lo(e,n,t){return e[n]=t}function Ky(e,n){return e[n]}function Ze(e,n,t){if(t===Ue)return!1;let r=e[n];return Object.is(r,t)?!1:(e[n]=t,!0)}function xo(e,n,t,r){let o=Ze(e,n,t);return Ze(e,n+1,r)||o}function _M(e,n,t,r,o){let i=xo(e,n,t,r);return Ze(e,n+2,o)||i}function Xy(e,n,t,r,o,i){let s=xo(e,n,t,r);return xo(e,n+2,o,i)||s}function dc(e,n,t){return function r(o){let i=r.__ngNativeEl__;i!==void 0&&cI(o,i);let s=Ut(e)?ft(e.index,n):n;Lc(s,5);let a=n[ge],c=iv(n,a,t,o),l=r.__ngNextListenerFn__;for(;l;)c=iv(n,a,l,o)&&c,l=l.__ngNextListenerFn__;return c}}function iv(e,n,t,r){let o=S(null);try{return Y(z.OutputStart,n,t),t(r)!==!1}catch(i){return ch(e,i),!1}finally{Y(z.OutputEnd,n,t),S(o)}}function Qy(e,n,t,r,o,i,s,a){let c=yo(e),l=!1,u=null;if(!r&&c&&(u=DM(n,t,i,e.index)),u!==null){let d=u.__ngLastListenerFn__||u;d.__ngNextListenerFn__=s,u.__ngLastListenerFn__=s,l=!0}else{let d=tt(e,t),h=r?r(d):d;uI(t,h,i,a),r||(a.__ngNativeEl__=d);let p=o.listen(h,i,a);if(!bM(i)){let m=r?v=>r(dt(v[e.index])):e.index;Jy(m,n,t,i,a,p,!1)}}return l}function bM(e){return e.startsWith("animation")||e.startsWith("transition")}function DM(e,n,t,r){let o=e.cleanup;if(o!=null)for(let i=0;i<o.length-1;i+=2){let s=o[i];if(s===t&&o[i+1]===r){let a=n[go],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function Jy(e,n,t,r,o,i,s){let a=n.firstCreatePass?_d(n):null,c=yd(t),l=c.length;c.push(o,i),a&&a.push(r,e,l,(l+1)*(s?-1:1))}function sv(e,n,t,r,o,i){let s=n[t],a=n[I],l=a.data[t].outputs[r],d=s[l].subscribe(i);Jy(e.index,a,n,o,i,d,!0)}var mf=Symbol("BINDING");function e_(e){return e.debugInfo?.className||e.type.name||null}var gf=class extends Bc{ngModule;constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){let t=Jt(n);return new Ao(t,this.ngModule)}};function EM(e){return Object.keys(e).map(n=>{let[t,r,o]=e[n],i={propName:t,templateName:n,isSignal:(r&Ac.SignalBased)!==0};return o&&(i.transform=o),i})}function CM(e){return Object.keys(e).map(n=>({propName:e[n],templateName:n}))}function wM(e,n,t){let r=n instanceof de?n:n?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new So(t,r):t}function IM(e){let n=e.get(Se,null);if(n===null)throw new b(407,!1);let t=e.get(Gy,null),r=e.get(Ct,null),o=e.get(Nt,null,{optional:!0});return{rendererFactory:n,sanitizer:t,changeDetectionScheduler:r,ngReflect:!1,tracingService:o}}function SM(e,n){let t=t_(e);return uy(n,t,t==="svg"?xi:t==="math"?hd:null)}function MM(e){if(e?.toLowerCase()==="script")throw new b(905,!1)}function t_(e){return(e.selectors[0][0]||"div").toLowerCase()}var Ao=class extends jc{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=EM(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=CM(this.componentDef.outputs),this.cachedOutputs}constructor(n,t){super(),this.componentDef=n,this.ngModule=t,this.componentType=n.type,this.selector=oS(n.selectors),this.ngContentSelectors=n.ngContentSelectors??[],this.isBoundToModule=!!t}create(n,t,r,o,i,s){Y(z.DynamicComponentStart);let a=S(null);try{let c=this.componentDef,l=wM(c,o||this.ngModule,n),u=IM(l),d=u.tracingService;return d&&d.componentCreate?d.componentCreate(e_(c),()=>this.createComponentRef(u,l,t,r,i,s)):this.createComponentRef(u,l,t,r,i,s)}finally{S(a)}}createComponentRef(n,t,r,o,i,s){let a=this.componentDef,c=TM(o,a,s,i),l=n.rendererFactory.createRenderer(null,a),u=o?TS(l,o,a.encapsulation,t):SM(a,l);MM(u?.tagName);let d=s?.some(av)||i?.some(m=>typeof m!="function"&&m.bindings.some(av)),h=Kf(null,c,null,512|gy(a),null,null,n,l,t,null,ty(u,t,!0));h[X]=u,Qa(h);let p=null;try{let m=dh(X,h,2,"#host",()=>c.directiveRegistry,!0,0);hy(l,u,m),To(u,h),Fc(c,h,m),Hf(c,m,h),fh(c,m),r!==void 0&&AM(m,this.ngContentSelectors,r),p=ft(m.index,h),h[ge]=p[ge],lh(c,h,null)}catch(m){throw p!==null&&Qd(p),Qd(h),m}finally{Y(z.DynamicComponentEnd),Ja()}return new Dc(this.componentType,h,!!d)}};function TM(e,n,t,r){let o=e?["ng-version","21.2.23"]:iS(n.selectors[0]),i=null,s=null,a=0;if(t)for(let u of t)a+=u[mf].requiredVars,u.create&&(u.targetIdx=0,(i??=[]).push(u)),u.update&&(u.targetIdx=0,(s??=[]).push(u));if(r)for(let u=0;u<r.length;u++){let d=r[u];if(typeof d!="function")for(let h of d.bindings){a+=h[mf].requiredVars;let p=u+1;h.create&&(h.targetIdx=p,(i??=[]).push(h)),h.update&&(h.targetIdx=p,(s??=[]).push(h))}}let c=[n];if(r)for(let u of r){let d=typeof u=="function"?u:u.type,h=Fi(d);c.push(h)}return Zf(0,null,xM(i,s),1,a,c,null,null,null,[o],null)}function xM(e,n){return!e&&!n?null:t=>{if(t&1&&e)for(let r of e)r.create();if(t&2&&n)for(let r of n)r.update()}}function av(e){let n=e[mf].kind;return n==="input"||n==="twoWay"}var Dc=class extends zy{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(n,t,r){super(),this._rootLView=t,this._hasInputBindings=r,this._tNode=bo(t[I],X),this.location=ko(this._tNode,t),this.instance=ft(this._tNode.index,t)[ge],this.hostView=this.changeDetectorRef=new Un(t,void 0),this.componentType=n}setInput(n,t){this._hasInputBindings;let r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(n)&&Object.is(this.previousInputValues.get(n),t))return;let o=this._rootLView,i=Pc(r,o[I],o,n,t);this.previousInputValues.set(n,t);let s=ft(r.index,o);Lc(s,1)}get injector(){return new Mr(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}};function AM(e,n,t){let r=e.projection=[];for(let o=0;o<n.length;o++){let i=t[o];r.push(i!=null&&i.length?Array.from(i):null)}}var ot=(()=>{class e{static __NG_ELEMENT_ID__=NM}return e})();function NM(){let e=he();return n_(e,C())}var vf=class e extends ot{_lContainer;_hostTNode;_hostLView;constructor(n,t,r){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=r}get element(){return ko(this._hostTNode,this._hostLView)}get injector(){return new Mr(this._hostTNode,this._hostLView)}get parentInjector(){let n=kf(this._hostTNode,this._hostLView);if(kv(n)){let t=mc(n,this._hostLView),r=pc(n),o=t[I].data[r+8];return new Mr(o,t)}else return new Mr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){let t=cv(this._lContainer);return t!==null&&t[n]||null}get length(){return this._lContainer.length-fe}createEmbeddedView(n,t,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=_c(this._lContainer,n.ssrId),a=n.createEmbeddedViewImpl(t||{},i,s);return this.insertImpl(a,o,Ar(this._hostTNode,s)),a}createComponent(n,t,r,o,i,s,a){let c=n&&!Lw(n),l;if(c)l=t;else{let _=t||{};l=_.index,r=_.injector,o=_.projectableNodes,i=_.environmentInjector||_.ngModuleRef,s=_.directives,a=_.bindings}let u=c?n:new Ao(Jt(n)),d=r||this.parentInjector;if(!i&&u.ngModule==null){let D=(c?d:this.parentInjector).get(de,null);D&&(i=D)}let h=Jt(u.componentType??{}),p=_c(this._lContainer,h?.id??null),m=p?.firstChild??null,v=u.create(d,o,m,i,s,a);return this.insertImpl(v.hostView,l,Ar(this._hostTNode,p)),v}insert(n,t){return this.insertImpl(n,t,!0)}insertImpl(n,t,r){let o=n._lView;if(lg(o)){let a=this.indexOf(n);if(a!==-1)this.detach(a);else{let c=o[_e],l=new e(c,c[Ve],c[_e]);l.detach(l.indexOf(n))}}let i=this._adjustIndex(t),s=this._lContainer;return Po(s,o,i,r),n.attachToViewContainerRef(),id(jd(s),i,n),n}move(n,t){return this.insert(n,t)}indexOf(n){let t=cv(this._lContainer);return t!==null?t.indexOf(n):-1}remove(n){let t=this._adjustIndex(n,-1),r=Qi(this._lContainer,t);r&&(Pi(jd(this._lContainer),t),Oc(r[I],r))}detach(n){let t=this._adjustIndex(n,-1),r=Qi(this._lContainer,t);return r&&Pi(jd(this._lContainer),t)!=null?new Un(r):null}_adjustIndex(n,t=0){return n??this.length+t}};function cv(e){return e[ji]}function jd(e){return e[ji]||(e[ji]=[])}function n_(e,n){let t,r=n[e.index];return Mt(r)?t=r:(t=By(r,n,null,e),n[e.index]=t,Xf(n,t)),OM(t,n,e,r),new vf(t,e,n)}function RM(e,n){let t=e[te],r=t.createComment(""),o=tt(n,e),i=t.parentNode(o);return yc(t,i,r,t.nextSibling(o),!1),r}var OM=FM,kM=()=>!1;function r_(e,n,t){return kM(e,n,t)}function FM(e,n,t,r){if(e[Pn])return;let o;t.type&8?o=dt(r):o=RM(n,t),e[Pn]=o}var yf=class e{queryList;matches=null;constructor(n){this.queryList=n}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},_f=class e{queries;constructor(n=[]){this.queries=n}createEmbeddedView(n){let t=n.queries;if(t!==null){let r=n.contentQueries!==null?n.contentQueries[0]:t.length,o=[];for(let i=0;i<r;i++){let s=t.getByIndex(i),a=this.queries[s.indexInDeclarationView];o.push(a.clone())}return new e(o)}return null}insertView(n){this.dirtyQueriesWithMatches(n)}detachView(n){this.dirtyQueriesWithMatches(n)}finishViewCreation(n){this.dirtyQueriesWithMatches(n)}dirtyQueriesWithMatches(n){for(let t=0;t<this.queries.length;t++)mh(n,t).matches!==null&&this.queries[t].setDirty()}},Ec=class{flags;read;predicate;constructor(n,t,r=null){this.flags=t,this.read=r,typeof n=="string"?this.predicate=BM(n):this.predicate=n}},bf=class e{queries;constructor(n=[]){this.queries=n}elementStart(n,t){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(n,t)}elementEnd(n){for(let t=0;t<this.queries.length;t++)this.queries[t].elementEnd(n)}embeddedTView(n){let t=null;for(let r=0;r<this.length;r++){let o=t!==null?t.length:0,i=this.getByIndex(r).embeddedTView(n,o);i&&(i.indexInDeclarationView=r,t!==null?t.push(i):t=[i])}return t!==null?new e(t):null}template(n,t){for(let r=0;r<this.queries.length;r++)this.queries[r].template(n,t)}getByIndex(n){return this.queries[n]}get length(){return this.queries.length}track(n){this.queries.push(n)}},Df=class e{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(n,t=-1){this.metadata=n,this._declarationNodeIndex=t}elementStart(n,t){this.isApplyingToNode(t)&&this.matchTNode(n,t)}elementEnd(n){this._declarationNodeIndex===n.index&&(this._appliesToNextNode=!1)}template(n,t){this.elementStart(n,t)}embeddedTView(n,t){return this.isApplyingToNode(n)?(this.crossesNgTemplate=!0,this.addMatch(-n.index,t),new e(this.metadata)):null}isApplyingToNode(n){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let t=this._declarationNodeIndex,r=n.parent;for(;r!==null&&r.type&8&&r.index!==t;)r=r.parent;return t===(r!==null?r.index:-1)}return this._appliesToNextNode}matchTNode(n,t){let r=this.metadata.predicate;if(Array.isArray(r))for(let o=0;o<r.length;o++){let i=r[o];this.matchTNodeWithReadOption(n,t,PM(t,i)),this.matchTNodeWithReadOption(n,t,lc(t,n,i,!1,!1))}else r===Ye?t.type&4&&this.matchTNodeWithReadOption(n,t,-1):this.matchTNodeWithReadOption(n,t,lc(t,n,r,!1,!1))}matchTNodeWithReadOption(n,t,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===B||o===ot||o===Ye&&t.type&4)this.addMatch(t.index,-2);else{let i=lc(t,n,o,!1,!1);i!==null&&this.addMatch(t.index,i)}else this.addMatch(t.index,r)}}addMatch(n,t){this.matches===null?this.matches=[n,t]:this.matches.push(n,t)}};function PM(e,n){let t=e.localNames;if(t!==null){for(let r=0;r<t.length;r+=2)if(t[r]===n)return t[r+1]}return null}function LM(e,n){return e.type&11?ko(e,n):e.type&4?Vc(e,n):null}function VM(e,n,t,r){return t===-1?LM(n,e):t===-2?jM(e,n,r):Zi(e,e[I],t,n)}function jM(e,n,t){if(t===B)return ko(n,e);if(t===Ye)return Vc(n,e);if(t===ot)return n_(n,e)}function o_(e,n,t,r){let o=n[Ht].queries[r];if(o.matches===null){let i=e.data,s=t.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(VM(n,u,s[c+1],t.metadata.read))}}o.matches=a}return o.matches}function Ef(e,n,t,r){let o=e.queries.getByIndex(t),i=o.matches;if(i!==null){let s=o_(e,n,o,t);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=n[-c];for(let d=fe;d<u.length;d++){let h=u[d];h[On]===h[_e]&&Ef(h[I],h,l,r)}if(u[Er]!==null){let d=u[Er];for(let h=0;h<d.length;h++){let p=d[h];Ef(p[I],p,l,r)}}}}}return r}function ph(e,n){return e[Ht].queries[n].queryList}function i_(e,n,t){let r=new on((t&4)===4);return dg(e,n,r,r.destroy),(n[Ht]??=new _f).queries.push(new yf(r))-1}function s_(e,n,t){let r=J();return r.firstCreatePass&&(c_(r,new Ec(e,n,t),-1),(n&2)===2&&(r.staticViewQueries=!0)),i_(r,C(),n)}function a_(e,n,t,r){let o=J();if(o.firstCreatePass){let i=he();c_(o,new Ec(n,t,r),i.index),HM(o,e),(t&2)===2&&(o.staticContentQueries=!0)}return i_(o,C(),t)}function BM(e){return e.split(",").map(n=>n.trim())}function c_(e,n,t){e.queries===null&&(e.queries=new bf),e.queries.track(new Df(n,t))}function HM(e,n){let t=e.contentQueries||(e.contentQueries=[]),r=t.length?t[t.length-1]:-1;n!==r&&t.push(e.queries.length-1,n)}function mh(e,n){return e.queries.getByIndex(n)}function l_(e,n){let t=e[I],r=mh(t,n);return r.crossesNgTemplate?Ef(t,e,n,[]):o_(t,e,r,n)}function gh(e,n,t){let r,o=wi(()=>{r._dirtyCounter();let i=UM(r,e);if(n&&i===void 0)throw new b(-951,!1);return i});return r=o[me],r._dirtyCounter=ae(0),r._flatValue=void 0,o}function vh(e){return gh(!0,!1,e)}function yh(e){return gh(!0,!0,e)}function _h(e){return gh(!1,!1,e)}function u_(e,n){let t=e[me];t._lView=C(),t._queryIndex=n,t._queryList=ph(t._lView,n),t._queryList.onDirty(()=>t._dirtyCounter.update(r=>r+1))}function UM(e,n){let t=e._lView,r=e._queryIndex;if(t===void 0||r===void 0||t[A]&4)return n?void 0:Re;let o=ph(t,r),i=l_(t,r);return o.reset(i,$v),n?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}var $n=class{};var Ji=class extends $n{injector;componentFactoryResolver=new gf(this);instance=null;constructor(n){super();let t=new mr([...n.providers,{provide:$n,useValue:this},{provide:Bc,useValue:this.componentFactoryResolver}],n.parent||po(),n.debugName,new Set(["environment"]));this.injector=t,n.runEnvironmentInitializers&&t.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}};function bh(e,n,t=null){return new Ji({providers:e,parent:n,debugName:t,runEnvironmentInitializers:!0}).injector}var $M=(()=>{class e{_injector;cachedInjectors=new Map;constructor(t){this._injector=t}getOrCreateStandaloneInjector(t){if(!t.standalone)return null;if(!this.cachedInjectors.has(t)){let r=$a(!1,t.type),o=r.length>0?bh([r],this._injector,""):null;this.cachedInjectors.set(t,o)}return this.cachedInjectors.get(t)}ngOnDestroy(){try{for(let t of this.cachedInjectors.values())t!==null&&t.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=y({token:e,providedIn:"environment",factory:()=>new e(T(de))})}return e})();function ce(e){return ts(()=>{let n=d_(e),t=U(E({},n),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Pf.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:n.standalone?o=>o.get($M).getOrCreateStandaloneInjector(t):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||At.Emulated,styles:e.styles||Re,_:null,schemas:e.schemas||null,tView:null,id:""});n.standalone&&qt("NgStandalone"),f_(t);let r=e.dependencies;return t.directiveDefs=lv(r,zM),t.pipeDefs=lv(r,td),t.id=qM(t),t})}function zM(e){return Jt(e)||Fi(e)}function q(e){return ts(()=>({type:e.type,bootstrap:e.bootstrap||Re,declarations:e.declarations||Re,imports:e.imports||Re,exports:e.exports||Re,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function GM(e,n){if(e==null)return wt;let t={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a,c;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i,c=o[3]||null):(i=o,s=o,a=Ac.None,c=null),t[i]=[r,a,c],n[i]=s}return t}function WM(e){if(e==null)return wt;let n={};for(let t in e)e.hasOwnProperty(t)&&(n[e[t]]=t);return n}function N(e){return ts(()=>{let n=d_(e);return f_(n),n})}function Hc(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 d_(e){let n={};return{type:e.type,providersResolver:null,viewProvidersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:n,inputConfig:e.inputs||wt,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||Re,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,controlDef:null,inputs:GM(e.inputs,n),outputs:WM(e.outputs),debugInfo:null}}function f_(e){e.features?.forEach(n=>n(e))}function lv(e,n){return e?()=>{let t=typeof e=="function"?e():e,r=[];for(let o of t){let i=n(o);i!==null&&r.push(i)}return r}:null}function qM(e){let n=0,t=typeof e.consts=="function"?"":e.consts,r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,t,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("|"))n=Math.imul(31,n)+i.charCodeAt(0)<<0;return n+=2147483648,"c"+n}function Dh(e){let n=t=>{let r=Array.isArray(e);t.hostDirectives===null?(t.resolveHostDirectives=YM,t.hostDirectives=r?e.map(Cf):[e]):r?t.hostDirectives.unshift(...e.map(Cf)):t.hostDirectives.unshift(e)};return n.ngInherit=!0,n}function YM(e){let n=[],t=!1,r=null,o=null;for(let i=0;i<e.length;i++){let s=e[i];if(s.hostDirectives!==null){let a=n.length;r??=new Map,o??=new Map,h_(s,n,r),o.set(s,[a,n.length-1])}i===0&&Tt(s)&&(t=!0,n.push(s))}for(let i=t?1:0;i<e.length;i++)n.push(e[i]);return[n,r,o]}function h_(e,n,t){if(e.hostDirectives!==null)for(let r of e.hostDirectives)if(typeof r=="function"){let o=r();for(let i of o)uv(Cf(i),n,t)}else uv(r,n,t)}function uv(e,n,t){let r=Fi(e.directive);ZM(r.declaredInputs,e.inputs),h_(r,n,t),t.set(r,e),n.push(r)}function Cf(e){return typeof e=="function"?{directive:we(e),inputs:wt,outputs:wt}:{directive:we(e.directive),inputs:dv(e.inputs),outputs:dv(e.outputs)}}function dv(e){if(e===void 0||e.length===0)return wt;let n={};for(let t=0;t<e.length;t+=2)n[e[t]]=e[t+1];return n}function ZM(e,n){for(let t in n)if(n.hasOwnProperty(t)){let r=n[t],o=e[t];e[r]=o}}function KM(e){return Object.getPrototypeOf(e.prototype).constructor}function W(e){let n=KM(e.type),t=!0,r=[e];for(;n&&n!==Function.prototype&&n!==Object.prototype;){let o,i=Object.hasOwn(n,Oi)?n[Oi]:void 0,s=Object.hasOwn(n,ki)?n[ki]:void 0;if(Tt(e))o=i??s;else{if(i)throw new b(903,!1);o=s}if(o){if(t){r.push(o);let c=e;c.inputs=Bd(e.inputs),c.declaredInputs=Bd(e.declaredInputs),c.outputs=Bd(e.outputs);let l=o.hostBindings;l&&tT(e,l);let u=o.viewQuery,d=o.contentQueries;if(u&&JM(e,u),d&&eT(e,d),XM(e,o),Wm(e.outputs,o.outputs),Tt(o)&&o.data.animation){let h=e.data;h.animation=(h.animation||[]).concat(o.data.animation)}}let a=o.features;if(a)for(let c=0;c<a.length;c++){let l=a[c];l&&l.ngInherit&&l(e),l===W&&(t=!1)}}n=Object.getPrototypeOf(n)}QM(r)}function XM(e,n){for(let t in n.inputs){if(!n.inputs.hasOwnProperty(t)||e.inputs.hasOwnProperty(t))continue;let r=n.inputs[t];r!==void 0&&(e.inputs[t]=r,e.declaredInputs[t]=n.declaredInputs[t])}}function QM(e){let n=0,t=null;for(let r=e.length-1;r>=0;r--){let o=e[r];o.hostVars=n+=o.hostVars,o.hostAttrs=Mo(o.hostAttrs,t=Mo(t,o.hostAttrs))}}function Bd(e){return e===wt?{}:e===Re?[]:e}function JM(e,n){let t=e.viewQuery;t?e.viewQuery=(r,o)=>{n(r,o),t(r,o)}:e.viewQuery=n}function eT(e,n){let t=e.contentQueries;t?e.contentQueries=(r,o,i)=>{n(r,o,i),t(r,o,i)}:e.contentQueries=n}function tT(e,n){let t=e.hostBindings;t?e.hostBindings=(r,o)=>{n(r,o),t(r,o)}:e.hostBindings=n}function p_(e,n,t,r,o,i,s,a){if(t.firstCreatePass){e.mergedAttrs=Mo(e.mergedAttrs,e.attrs);let u=e.tView=Zf(2,e,o,i,s,t.directiveRegistry,t.pipeRegistry,null,t.schemas,t.consts,null);t.queries!==null&&(t.queries.template(t,e),u.queries=t.queries.embeddedTView(e))}a&&(e.flags|=a),wr(e,!1);let c=rT(t,n,e,r);ec()&&rh(t,n,c,e),To(c,n);let l=By(c,n,c,e);n[r+X]=l,Xf(n,l),r_(l,e,n)}function nT(e,n,t,r,o,i,s,a,c,l,u){let d=t+X,h;return n.firstCreatePass?(h=Fr(n,d,4,s||null,a||null),Ya()&&Wy(n,e,h,nt(n.consts,l),ih),Nv(n,h)):h=n.data[d],p_(h,e,n,t,r,o,i,c),yo(h)&&Fc(n,e,h),l!=null&&is(e,h,u),h}function Nr(e,n,t,r,o,i,s,a,c,l,u){let d=t+X,h;if(n.firstCreatePass){if(h=Fr(n,d,4,s||null,a||null),l!=null){let p=nt(n.consts,l);h.localNames=[];for(let m=0;m<p.length;m+=2)h.localNames.push(p[m],-1)}}else h=n.data[d];return p_(h,e,n,t,r,o,i,c),l!=null&&is(e,h,u),h}function Vo(e,n,t,r,o,i,s,a){let c=C(),l=J(),u=nt(l.consts,i);return nT(c,l,e,n,t,r,o,u,void 0,s,a),Vo}function m_(e,n,t,r,o,i,s,a){let c=C(),l=J(),u=nt(l.consts,i);return Nr(c,l,e,n,t,r,o,u,void 0,s,a),m_}var rT=oT;function oT(e,n,t,r){return $i(!0),n[te].createComment("")}var qe=(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})(qe||{}),fv=0,iT=1,be=(function(e){return e[e.Placeholder=0]="Placeholder",e[e.Loading=1]="Loading",e[e.Complete=2]="Complete",e[e.Error=3]="Error",e})(be||{}),g_=(function(e){return e[e.Initial=-1]="Initial",e})(g_||{}),sT=0,Uc=1;var aT=4,cT=5,lT=6,uT=7,Hd=8,dT=9,Eh=(function(e){return e[e.Manual=0]="Manual",e[e.Playthrough=1]="Playthrough",e})(Eh||{});function v_(e,n,t){let r=__(e);n[r]===null&&(n[r]=[]),n[r].push(t)}function fc(e,n){let t=__(e),r=n[t];if(r!==null){for(let o of r)o();n[t]=null}}function y_(e){fc(1,e),fc(0,e),fc(2,e)}function __(e){let n=aT;return e===1?n=cT:e===2&&(n=dT),n}function $c(e){return e+1}function jo(e,n){let t=e[I],r=$c(n.index);return e[r]}function fT(e,n,t){let r=e[I],o=$c(n);e[o]=t}function Bo(e,n){let t=$c(n.index);return e.data[t]}function hT(e,n,t){let r=$c(n);e.data[r]=t}function pT(e,n,t){let r=n[I],o=Bo(r,t);switch(e){case be.Complete:return o.primaryTmplIndex;case be.Loading:return o.loadingTmplIndex;case be.Error:return o.errorTmplIndex;case be.Placeholder:return o.placeholderTmplIndex;default:return null}}function hv(e,n){return n===be.Placeholder?e.placeholderBlockConfig?.[fv]??null:n===be.Loading?e.loadingBlockConfig?.[fv]??null:null}function mT(e){return e.loadingBlockConfig?.[iT]??null}function pv(e,n){if(!e||e.length===0)return n;let t=new Set(e);for(let r of n)t.add(r);return e.length===t.size?e:Array.from(t)}function gT(e,n){let t=n.primaryTmplIndex+X;return bo(e,t)}function vT(e,n){let t=n.get(bT),r=()=>t.remove(e);return t.add(e),r}var yT=()=>typeof requestIdleCallback<"u"?requestIdleCallback:setTimeout,_T=()=>typeof requestIdleCallback<"u"?cancelIdleCallback:clearTimeout,bT=(()=>{class e{executingCallbacks=!1;idleId=null;current=new Set;deferred=new Set;ngZone=f(M);requestIdleCallbackFn=yT().bind(globalThis);cancelIdleCallbackFn=_T().bind(globalThis);add(t){(this.executingCallbacks?this.deferred:this.current).add(t),this.idleId===null&&this.scheduleIdleCallback()}remove(t){let{current:r,deferred:o}=this;r.delete(t),o.delete(t),r.size===0&&o.size===0&&this.cancelIdleCallback()}scheduleIdleCallback(){let t=()=>{this.cancelIdleCallback(),this.executingCallbacks=!0;for(let r of this.current)r();if(this.current.clear(),this.executingCallbacks=!1,this.deferred.size>0){for(let r of this.deferred)this.current.add(r);this.deferred.clear(),this.scheduleIdleCallback()}};this.idleId=this.requestIdleCallbackFn(()=>this.ngZone.run(t))}cancelIdleCallback(){this.idleId!==null&&(this.cancelIdleCallbackFn(this.idleId),this.idleId=null)}ngOnDestroy(){this.cancelIdleCallback(),this.current.clear(),this.deferred.clear()}static \u0275prov=y({token:e,providedIn:"root",factory:()=>new e})}return e})();var DT=(()=>{class e{cachedInjectors=new Map;getOrCreateInjector(t,r,o,i){if(!this.cachedInjectors.has(t)){let s=o.length>0?bh(o,r,i):null;this.cachedInjectors.set(t,s)}return this.cachedInjectors.get(t)}ngOnDestroy(){try{for(let t of this.cachedInjectors.values())t!==null&&t.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=y({token:e,providedIn:"environment",factory:()=>new e})}return e})();var b_=new g("");function Ud(e,n,t){return e.get(DT).getOrCreateInjector(n,e,t,"")}function ET(e,n,t){if(e instanceof So){let o=e.injector,i=e.parentInjector,s=Ud(i,n,t);return new So(o,s)}let r=e.get(de);if(r!==e){let o=Ud(r,n,t);return new So(e,o)}return Ud(e,n,t)}function Hn(e,n,t,r=!1){let o=t[_e],i=o[I];if(Ln(o))return;let s=jo(o,n),a=s[Uc],c=s[uT];if(!(c!==null&&e<c)&&mv(a,e)&&mv(s[sT]??-1,e)){let l=Bo(i,n),d=!r&&!0&&(mT(l)!==null||hv(l,be.Loading)!==null||hv(l,be.Placeholder))?ST:wT;try{d(e,s,t,n,o)}catch(h){ch(o,h)}}}function CT(e,n){let t=e[Fn]?.findIndex(o=>o.data[jf]===n[Uc])??-1;return{dehydratedView:t>-1?e[Fn][t]:null,dehydratedViewIx:t}}function wT(e,n,t,r,o){Y(z.DeferBlockStateStart);let i=pT(e,o,r);if(i!==null){n[Uc]=e;let s=o[I],a=i+X,c=bo(s,a),l=0;uh(t,l);let u;if(e===be.Complete){let m=Bo(s,r),v=m.providers;v&&v.length>0&&(u=ET(o[je],m,v))}let{dehydratedView:d,dehydratedViewIx:h}=CT(t,n),p=Fo(o,c,null,{injector:u,dehydratedView:d});if(Po(t,p,l,Ar(c,d)),Lc(p,2),h>-1&&t[Fn]?.splice(h,1),(e===be.Complete||e===be.Error)&&Array.isArray(n[Hd])){for(let m of n[Hd])m();n[Hd]=null}}Y(z.DeferBlockStateEnd)}function mv(e,n){return e<n}function IT(e,n){let t=e[n.index];Hn(be.Placeholder,n,t)}function gv(e,n,t){e.loadingPromise.then(()=>{e.loadingState===qe.COMPLETE?Hn(be.Complete,n,t):e.loadingState===qe.FAILED&&Hn(be.Error,n,t)})}var ST=null;function Ho(e){return typeof e=="function"&&e[me]!==void 0}function Ch(e){return Ho(e)&&typeof e.set=="function"}var wh=new g("");function Uo(e){return!!e&&typeof e.then=="function"}function Ih(e){return!!e&&typeof e.subscribe=="function"}var D_=new g("");var Sh=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((t,r)=>{this.resolve=t,this.reject=r});appInits=f(D_,{optional:!0})??[];injector=f(O);constructor(){}runInitializers(){if(this.initialized)return;let t=[];for(let o of this.appInits){let i=mo(this.injector,o);if(Uo(i))t.push(i);else if(Ih(i)){let s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});t.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(t).then(()=>{r()}).catch(o=>{this.reject(o)}),t.length===0&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),E_=new g("");function C_(){ku(()=>{let e="";throw new b(600,e)})}function w_(e){return e.isBoundToModule}var MT=10;var it=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=f(rn);afterRenderManager=f(Rc);zonelessEnabled=f(Co);rootEffectScheduler=f(nc);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new w;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=f(jn);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(Q(t=>!t))}constructor(){f(Nt,{optional:!0})}whenStable(){let t;return new Promise(r=>{t=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{t.unsubscribe()})}_injector=f(de);_rendererFactory=null;get injector(){return this._injector}bootstrap(t,r){return this.bootstrapImpl(t,r)}bootstrapImpl(t,r,o=O.NULL){return this._injector.get(M).run(()=>{Y(z.BootstrapComponentStart);let s=t instanceof jc;if(!this._injector.get(Sh).done){let m="";throw new b(405,m)}let c;s?c=t:c=this._injector.get(Bc).resolveComponentFactory(t),this.componentTypes.push(c.componentType);let l=w_(c)?void 0:this._injector.get($n),u=r||c.selector,d=c.create(o,[],u,l),h=d.location.nativeElement,p=d.injector.get(wh,null);return p?.registerApplication(h),d.onDestroy(()=>{this.detachView(d.hostView),Yi(this.components,d),p?.unregisterApplication(h)}),this._loadComponent(d),Y(z.BootstrapComponentEnd,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){Y(z.ChangeDetectionStart),this.tracingSnapshot!==null?this.tracingSnapshot.run(Nc.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw Y(z.ChangeDetectionEnd),new b(101,!1);let t=S(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,S(t),this.afterTick.next(),Y(z.ChangeDetectionEnd)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Se,null,{optional:!0}));let t=0;for(;this.dirtyFlags!==0&&t++<MT;){Y(z.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{Y(z.ChangeDetectionSyncEnd)}}}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let t=!1;if(this.dirtyFlags&7){let r=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:o}of this.allViews){if(!r&&!Hi(o))continue;let i=r&&!this.zonelessEnabled?0:1;Py(o,i),t=!0}if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}t||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:t})=>Hi(t))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(t){let r=t;this._views.push(r),r.attachToAppRef(this)}detachView(t){let r=t;Yi(this._views,r),r.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView);try{this.tick()}catch(o){this.internalErrorHandler(o)}this.components.push(t),this._injector.get(E_,[]).forEach(o=>o(t))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(t=>t()),this._views.slice().forEach(t=>t.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(t){return this._destroyListeners.push(t),()=>Yi(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new b(406,!1);let t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Yi(e,n){let t=e.indexOf(n);t>-1&&e.splice(t,1)}function TT(e){let n=C(),t=he();if(IT(n,t),!S_(0,n))return;let r=n[je],o=jo(n,t),i=e(()=>xT(0,n,t),r);v_(0,o,i)}function I_(e,n,t){let r=n[je],o=n[I];if(e.loadingState!==qe.NOT_STARTED)return e.loadingPromise??Promise.resolve();let i=jo(n,t),s=gT(o,e);e.loadingState=qe.IN_PROGRESS,fc(1,i);let a=e.dependencyResolverFn,c=r.get(Bn).add();return a?(e.loadingPromise=Promise.allSettled(a()).then(l=>{let u=!1,d=null,h=[],p=[];for(let m=0;m<l.length;m++){let v=l[m];if(v.status==="fulfilled"){let _=v.value,D=Jt(_)||Fi(_);if(D)h.push(D);else{let k=td(_);k&&p.push(k)}}else{u=!0,d=v.reason instanceof Error?v.reason:new Error(String(v.reason));break}}if(u){if(e.loadingState=qe.FAILED,e.errorTmplIndex===null){let v="",_=new b(-750,v);ch(n,_)}}else{e.loadingState=qe.COMPLETE;let m=s.tView;if(h.length>0){m.directiveRegistry=pv(m.directiveRegistry,h);let v=h.map(D=>D.type),_=$a(!1,...v);e.providers=_}p.length>0&&(m.pipeRegistry=pv(m.pipeRegistry,p))}}),e.loadingPromise.finally(()=>{e.loadingPromise=null,c()})):(e.loadingPromise=Promise.resolve().then(()=>{e.loadingPromise=null,e.loadingState=qe.COMPLETE,c()}),e.loadingPromise)}function S_(e,n){return n[je].get(b_,null,{optional:!0})?.behavior!==Eh.Manual}function xT(e,n,t){let r=n[I],o=n[t.index];if(!S_(e,n))return;let i=jo(n,t),s=Bo(r,t);switch(y_(i),s.loadingState){case qe.NOT_STARTED:Hn(be.Loading,t,o),I_(s,n,t),s.loadingState===qe.IN_PROGRESS&&gv(s,t,o);break;case qe.IN_PROGRESS:Hn(be.Loading,t,o),gv(s,t,o);break;case qe.COMPLETE:Hn(be.Complete,t,o);break;case qe.FAILED:Hn(be.Error,t,o);break;default:}}function AT(e,n,t){return e===0?vv(n,t):e===2?!vv(n,t):!0}function NT(e){return e!=null&&(e&1)===1}function vv(e,n){let t=e[je],r=Bo(e[I],n),o=Bf(t),i=NT(r.flags),a=jo(e,n)[lT]!==null;return!(i&&a&&o)}function RT(e,n,t,r,o,i,s,a,c,l){let u=C(),d=J(),h=e+X,p=Nr(u,d,e,null,0,0),m=u[je],v=Bf(m);if(d.firstCreatePass){qt("NgDefer");let _t={primaryTmplIndex:n,loadingTmplIndex:r??null,placeholderTmplIndex:o??null,errorTmplIndex:i??null,placeholderBlockConfig:null,loadingBlockConfig:null,dependencyResolverFn:t??null,loadingState:qe.NOT_STARTED,loadingPromise:null,providers:null,hydrateTriggers:null,debug:null,flags:l??0};c?.(d,_t,a,s),hT(d,h,_t)}let _=u[h];r_(_,p,u);let D=null,k=null;if(_[Fn]?.length>0){let _t=_[Fn][0].data;k=_t[Vf]??null,D=_t[jf]}let Me=[null,g_.Initial,null,null,null,null,k,D,null,null];fT(u,h,Me);let ue=null;k!==null&&v&&(ue=m.get(ey),ue.add(k,{lView:u,tNode:p,lContainer:_}));let gn=()=>{y_(Me),k!==null&&ue?.cleanup([k])};v_(0,Me,()=>vd(u,gn)),qa(u,gn)}function OT(){let e=C(),n=he();AT(0,e,n)&&TT(vT)}function M_(e,n){let t=C(),r=nn();if(Ze(t,r,n)){let o=J(),i=Ir();if(Pc(i,o,t,e,n))Ut(i)&&xy(t,i.index);else{let a=tt(i,t);Ay(t[te],a,null,i.value,e,n,null)}}return M_}function ke(e,n,t,r){let o=C(),i=nn();if(Ze(o,i,n)){let s=J(),a=Ir();FS(a,o,e,n,t,r)}return ke}var wf=class{destroy(n){}updateValue(n,t){}swap(n,t){let r=Math.min(n,t),o=Math.max(n,t),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(n,t){this.attach(t,this.detach(n))}};function $d(e,n,t,r,o){return e===t&&Object.is(n,r)?1:Object.is(o(e,n),o(t,r))?-1:0}function kT(e,n,t,r){let o,i,s=0,a=e.length-1,c=void 0;if(Array.isArray(n)){S(r);let l=n.length-1;for(S(null);s<=a&&s<=l;){let u=e.at(s),d=n[s],h=$d(s,u,s,d,t);if(h!==0){h<0&&e.updateValue(s,d),s++;continue}let p=e.at(a),m=n[l],v=$d(a,p,l,m,t);if(v!==0){v<0&&e.updateValue(a,m),a--,l--;continue}let _=t(s,u),D=t(a,p),k=t(s,d);if(Object.is(k,D)){let Me=t(l,m);Object.is(Me,_)?(e.swap(s,a),e.updateValue(a,m),l--,a--):e.move(a,s),e.updateValue(s,d),s++;continue}if(o??=new Cc,i??=_v(e,s,a,t),If(e,o,s,k))e.updateValue(s,d),s++,a++;else if(i.has(k))o.set(_,e.detach(s)),a--;else{let Me=e.create(s,n[s]);e.attach(s,Me),s++,a++}}for(;s<=l;)yv(e,o,t,s,n[s]),s++}else if(n!=null){S(r);let l=n[Symbol.iterator]();S(null);let u=l.next();for(;!u.done&&s<=a;){let d=e.at(s),h=u.value,p=$d(s,d,s,h,t);if(p!==0)p<0&&e.updateValue(s,h),s++,u=l.next();else{o??=new Cc,i??=_v(e,s,a,t);let m=t(s,h);if(If(e,o,s,m))e.updateValue(s,h),s++,a++,u=l.next();else if(!i.has(m))e.attach(s,e.create(s,h)),s++,a++,u=l.next();else{let v=t(s,d);o.set(v,e.detach(s)),a--}}}for(;!u.done;)yv(e,o,t,e.length,u.value),u=l.next()}for(;s<=a;)e.destroy(e.detach(a--));o?.forEach(l=>{e.destroy(l)})}function If(e,n,t,r){return n!==void 0&&n.has(r)?(e.attach(t,n.get(r)),n.delete(r),!0):!1}function yv(e,n,t,r,o){if(If(e,n,r,t(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function _v(e,n,t,r){let o=new Set;for(let i=n;i<=t;i++)o.add(r(i,e.at(i)));return o}var Cc=class{kvMap=new Map;_vMap=void 0;has(n){return this.kvMap.has(n)}delete(n){if(!this.has(n))return!1;let t=this.kvMap.get(n);return this._vMap!==void 0&&this._vMap.has(t)?(this.kvMap.set(n,this._vMap.get(t)),this._vMap.delete(t)):this.kvMap.delete(n),!0}get(n){return this.kvMap.get(n)}set(n,t){if(this.kvMap.has(n)){let r=this.kvMap.get(n);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,t)}else this.kvMap.set(n,t)}forEach(n){for(let[t,r]of this.kvMap)if(n(r,t),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),n(r,t)}}};function FT(e,n,t,r,o,i,s,a){qt("NgControlFlow");let c=C(),l=J(),u=nt(l.consts,i);return Nr(c,l,e,n,t,r,o,u,256,s,a),Mh}function Mh(e,n,t,r,o,i,s,a){qt("NgControlFlow");let c=C(),l=J(),u=nt(l.consts,i);return Nr(c,l,e,n,t,r,o,u,512,s,a),Mh}function PT(e,n){qt("NgControlFlow");let t=C(),r=nn(),o=t[r]!==Ue?t[r]:-1,i=o!==-1?wc(t,X+o):void 0,s=0;if(Ze(t,r,e)){let a=S(null);try{if(i!==void 0&&uh(i,s),e!==-1){let c=X+e,l=wc(t,c),u=xf(t[I],c),d=$y(l,u,t),h=Fo(t,u,n,{dehydratedView:d});Po(l,h,s,Ar(u,d))}}finally{S(a)}}else if(i!==void 0){let a=Hy(i,s);a!==void 0&&(a[ge]=n)}}var Sf=class{lContainer;$implicit;$index;constructor(n,t,r){this.lContainer=n,this.$implicit=t,this.$index=r}get $count(){return this.lContainer.length-fe}};function LT(e){return e}function VT(e,n){return n}var Mf=class{hasEmptyBlock;trackByFn;liveCollection;constructor(n,t,r){this.hasEmptyBlock=n,this.trackByFn=t,this.liveCollection=r}};function jT(e,n,t,r,o,i,s,a,c,l,u,d,h){qt("NgControlFlow");let p=C(),m=J(),v=c!==void 0,_=C(),D=a?s.bind(_[Be][ge]):s,k=new Mf(v,D);_[X+e]=k,Nr(p,m,e+1,n,t,r,o,nt(m.consts,i),256),v&&Nr(p,m,e+2,c,l,u,d,nt(m.consts,h),512)}var Tf=class extends wf{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(n,t,r){super(),this.lContainer=n,this.hostLView=t,this.templateTNode=r}get length(){return this.lContainer.length-fe}at(n){return this.getLView(n)[ge].$implicit}attach(n,t){let r=t[yr];this.needsIndexUpdate||=n!==this.length,Po(this.lContainer,t,n,Ar(this.templateTNode,r)),HT(this.lContainer,n)}detach(n){return this.needsIndexUpdate||=n!==this.length-1,UT(this.lContainer,n),$T(this.lContainer,n)}create(n,t){let r=_c(this.lContainer,this.templateTNode.tView.ssrId);return Fo(this.hostLView,this.templateTNode,new Sf(this.lContainer,t,n),{dehydratedView:r})}destroy(n){Oc(n[I],n)}updateValue(n,t){this.getLView(n)[ge].$implicit=t}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let n=0;n<this.length;n++)this.getLView(n)[ge].$index=n}getLView(n){return zT(this.lContainer,n)}};function BT(e){let n=S(null),t=ht();try{let r=C(),o=r[I],i=r[t],s=t+1,a=wc(r,s);if(i.liveCollection===void 0){let l=xf(o,s);i.liveCollection=new Tf(a,r,l)}else i.liveCollection.reset();let c=i.liveCollection;if(kT(c,e,i.trackByFn,n),c.updateIndexes(),i.hasEmptyBlock){let l=nn(),u=c.length===0;if(Ze(r,l,u)){let d=t+2,h=wc(r,d);if(u){let p=xf(o,d),m=$y(h,p,r),v=Fo(r,p,void 0,{dehydratedView:m});Po(h,v,0,Ar(p,m))}else o.firstUpdatePass&&rM(h),uh(h,0)}}}finally{S(n)}}function wc(e,n){return e[n]}function HT(e,n){if(e.length<=fe)return;let t=fe+n,r=e[t],o=r?r[kn]:void 0;if(r&&o&&o.detachedLeaveAnimationFns&&o.detachedLeaveAnimationFns.length>0){let i=r[je];pS(i,o),xr.delete(r[en]),o.detachedLeaveAnimationFns=void 0}}function UT(e,n){if(e.length<=fe)return;let t=fe+n,r=e[t],o=r?r[kn]:void 0;o&&o.leave&&o.leave.size>0&&(o.detachedLeaveAnimationFns=[])}function $T(e,n){return Qi(e,n)}function zT(e,n){return Hy(e,n)}function xf(e,n){return bo(e,n)}function T_(e,n,t){let r=C(),o=nn();if(Ze(r,o,n)){let i=J(),s=Ir();My(s,r,e,n,r[te],t)}return T_}function Af(e,n,t,r,o){Pc(n,e,t,o?"class":"style",r)}function No(e,n,t,r){let o=C(),i=o[I],s=e+X,a=i.firstCreatePass?dh(s,o,2,n,ih,Ya(),t,r):i.data[s];if(Ut(a)){let c=o[St].tracingService;if(c&&c.componentCreate){let l=i.data[a.directiveStart+a.componentOffset];return c.componentCreate(e_(l),()=>(bv(e,n,o,a,r),No))}}return bv(e,n,o,a,r),No}function bv(e,n,t,r,o){if(sh(r,t,e,n,A_),yo(r)){let i=t[I];Fc(i,t,r),Hf(i,r,t)}o!=null&&is(t,r)}function ss(){let e=J(),n=he(),t=ah(n);return e.firstCreatePass&&fh(e,t),Ed(t)&&Cd(),bd(),t.classesWithoutHost!=null&&$w(t)&&Af(e,t,C(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&zw(t)&&Af(e,t,C(),t.stylesWithoutHost,!1),ss}function x_(e,n,t,r){return No(e,n,t,r),ss(),x_}function cn(e,n,t,r){let o=C(),i=o[I],s=e+X,a=i.firstCreatePass?yM(s,i,2,n,t,r):i.data[s];return sh(a,o,e,n,A_),r!=null&&is(o,a),cn}function ln(){let e=he(),n=ah(e);return Ed(n)&&Cd(),bd(),ln}function Xe(e,n,t,r){return cn(e,n,t,r),ln(),Xe}var A_=(e,n,t,r,o)=>($i(!0),uy(n[te],r,Nd()));function Th(e,n,t){let r=C(),o=r[I],i=e+X,s=o.firstCreatePass?dh(i,r,8,"ng-container",ih,Ya(),n,t):o.data[i];if(sh(s,r,e,"ng-container",GT),yo(s)){let a=r[I];Fc(a,r,s),Hf(a,s,r)}return t!=null&&is(r,s),Th}function xh(){let e=J(),n=he(),t=ah(n);return e.firstCreatePass&&fh(e,t),xh}function N_(e,n,t){return Th(e,n,t),xh(),N_}var GT=(e,n,t,r,o)=>($i(!0),VI(n[te],""));function WT(){return C()}function as(e,n,t){let r=C(),o=nn();if(Ze(r,o,n)){let i=J(),s=Ir();Ty(s,r,e,n,r[te],t)}return as}var Gi=void 0;function qT(e){let n=Math.floor(Math.abs(e)),t=e.toString().replace(/^[^.]*\.?/,"").length;return n===1&&t===0?1:5}var YT=["en",[["a","p"],["AM","PM"]],[["AM","PM"]],[["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"]],Gi,[["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"]],Gi,[["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\u202Fa","h:mm:ss\u202Fa","h:mm:ss\u202Fa z","h:mm:ss\u202Fa zzzz"],["{1}, {0}",Gi,Gi,Gi],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",qT],zd=Object.create(null);function st(e){let n=ZT(e),t=Dv(n);if(t)return t;let r=n.split("-")[0];if(t=Dv(r),t)return t;if(r==="en")return YT;throw new b(701,!1)}function Dv(e){if(!(e in zd)){let n=lt.ng&<.ng.common&<.ng.common.locales&<.ng.common.locales[e];return n!==void 0&&(zd[e]=n),n}return zd[e]}var ve=(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})(ve||{});function ZT(e){return e.toLowerCase().replace(/_/g,"-")}var cs="en-US";var KT=cs;function R_(e){typeof e=="string"&&(KT=e.toLowerCase().replace(/_/g,"-"))}function Gn(e,n,t){let r=C(),o=J(),i=he();return k_(o,r,r[te],i,e,n,t),Gn}function O_(e,n,t){let r=C(),o=J(),i=he();return(i.type&3||t)&&Qy(i,o,r,t,r[te],e,n,dc(i,r,n)),O_}function k_(e,n,t,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=dc(r,n,i),Qy(r,e,n,s,t,o,i,c)&&(a=!1)),a){let l=r.outputs?.[o],u=r.hostDirectiveOutputs?.[o];if(u&&u.length)for(let d=0;d<u.length;d+=2){let h=u[d],p=u[d+1];c??=dc(r,n,i),sv(r,n,h,p,o,c)}if(l&&l.length)for(let d of l)c??=dc(r,n,i),sv(r,n,d,o,o,c)}}function XT(e=1){return Sg(e)}function QT(e,n){let t=null,r=JI(e);for(let o=0;o<n.length;o++){let i=n[o];if(i==="*"){t=o;continue}if(r===null?my(e,i,!0):nS(r,i))return o}return t}function Ot(e){let n=C()[Be][Ve];if(!n.projection){let t=e?e.length:1,r=n.projection=Qm(t,null),o=r.slice(),i=n.child;for(;i!==null;){if(i.type!==128){let s=e?QT(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function Ae(e,n=0,t,r,o,i){let s=C(),a=J(),c=r?e+1:null;c!==null&&Nr(s,a,c,r,o,i,null,t);let l=Fr(a,X+e,16,null,t||null);l.projection===null&&(l.projection=n),Sd();let d=!s[yr]||Dd();s[Be][Ve].projection[l.projection]===null&&c!==null?JT(s,a,c):d&&!Mc(l)&&IS(a,s,l)}function JT(e,n,t){let r=X+t,o=n.data[r],i=e[r],s=_c(i,o.tView.ssrId),a=Fo(e,o,void 0,{dehydratedView:s});Po(i,a,0,Ar(o,s))}function F_(e,n,t,r){return a_(e,n,t,r),F_}function $o(e,n,t){return s_(e,n,t),$o}function ls(e){let n=C(),t=J(),r=Xa();Ui(r+1);let o=mh(t,r);if(e.dirty&&cg(n)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=l_(n,r);e.reset(i,$v),e.notifyOnChanges()}return!0}return!1}function us(){return ph(C(),Xa())}function P_(e,n,t,r,o){return u_(n,a_(e,t,r,o)),P_}function L_(e,n,t,r){return u_(e,s_(n,t,r)),L_}function e0(e=1){Ui(Xa()+e)}function t0(e){let n=Md();return Do(n,X+e)}function sc(e,n){return e<<17|n<<2}function Rr(e){return e>>17&32767}function n0(e){return(e&2)==2}function r0(e,n){return e&131071|n<<17}function Nf(e){return e|2}function Ro(e){return(e&131068)>>2}function Gd(e,n){return e&-131069|n<<2}function o0(e){return(e&1)===1}function Rf(e){return e|1}function i0(e,n,t,r,o,i){let s=i?n.classBindings:n.styleBindings,a=Rr(s),c=Ro(s);e[r]=t;let l=!1,u;if(Array.isArray(t)){let d=t;u=d[1],(u===null||fo(d,u)>0)&&(l=!0)}else u=t;if(o)if(c!==0){let h=Rr(e[a+1]);e[r+1]=sc(h,a),h!==0&&(e[h+1]=Gd(e[h+1],r)),e[a+1]=r0(e[a+1],r)}else e[r+1]=sc(a,0),a!==0&&(e[a+1]=Gd(e[a+1],r)),a=r;else e[r+1]=sc(c,0),a===0?a=r:e[c+1]=Gd(e[c+1],r),c=r;l&&(e[r+1]=Nf(e[r+1])),Ev(e,u,r,!0),Ev(e,u,r,!1),s0(n,u,e,r,i),s=sc(a,c),i?n.classBindings=s:n.styleBindings=s}function s0(e,n,t,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof n=="string"&&fo(i,n)>=0&&(t[r+1]=Rf(t[r+1]))}function Ev(e,n,t,r){let o=e[t+1],i=n===null,s=r?Rr(o):Ro(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],l=e[s+1];a0(c,n)&&(a=!0,e[s+1]=r?Rf(l):Nf(l)),s=r?Rr(l):Ro(l)}a&&(e[t+1]=r?Nf(o):Rf(o))}function a0(e,n){return e===null||n==null||(Array.isArray(e)?e[1]:e)===n?!0:Array.isArray(e)&&typeof n=="string"?fo(e,n)>=0:!1}var Ie={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function V_(e){return e.substring(Ie.key,Ie.keyEnd)}function c0(e){return e.substring(Ie.value,Ie.valueEnd)}function l0(e){return H_(e),j_(e,Oo(e,0,Ie.textEnd))}function j_(e,n){let t=Ie.textEnd;return t===n?-1:(n=Ie.keyEnd=d0(e,Ie.key=n,t),Oo(e,n,t))}function u0(e){return H_(e),B_(e,Oo(e,0,Ie.textEnd))}function B_(e,n){let t=Ie.textEnd,r=Ie.key=Oo(e,n,t);return t===r?-1:(r=Ie.keyEnd=f0(e,r,t),r=Cv(e,r,t,58),r=Ie.value=Oo(e,r,t),r=Ie.valueEnd=h0(e,r,t),Cv(e,r,t,59))}function H_(e){Ie.key=0,Ie.keyEnd=0,Ie.value=0,Ie.valueEnd=0,Ie.textEnd=e.length}function Oo(e,n,t){for(;n<t&&e.charCodeAt(n)<=32;)n++;return n}function d0(e,n,t){for(;n<t&&e.charCodeAt(n)>32;)n++;return n}function f0(e,n,t){let r;for(;n<t&&((r=e.charCodeAt(n))===45||r===95||(r&-33)>=65&&(r&-33)<=90||r>=48&&r<=57);)n++;return n}function Cv(e,n,t,r){return n=Oo(e,n,t),n<t&&n++,n}function h0(e,n,t){let r=-1,o=-1,i=-1,s=n,a=s;for(;s<t;){let c=e.charCodeAt(s++);if(c===59)return a;c===34||c===39?a=s=wv(e,c,s,t):n===s-4&&i===85&&o===82&&r===76&&c===40?a=s=wv(e,41,s,t):c>32&&(a=s),i=o,o=r,r=c&-33}return a}function wv(e,n,t,r){let o=-1,i=t;for(;i<r;){let s=e.charCodeAt(i++);if(s==n&&o!==92)return i;s==92&&o===92?o=0:o=s}throw new Error}function zc(e,n,t){return U_(e,n,t,!1),zc}function De(e,n){return U_(e,n,null,!0),De}function p0(e){$_(W_,m0,e,!1)}function m0(e,n){for(let t=u0(n);t>=0;t=B_(n,t))W_(e,V_(n),c0(n))}function ds(e){$_(E0,g0,e,!0)}function g0(e,n){for(let t=l0(n);t>=0;t=j_(n,t))Li(e,V_(n),!0)}function U_(e,n,t,r){let o=C(),i=J(),s=Za(2);if(i.firstUpdatePass&&G_(i,e,s,r),n!==Ue&&Ze(o,s,n)){let a=i.data[ht()];q_(i,a,o,o[te],e,o[s+1]=w0(n,t),r,s)}}function $_(e,n,t,r){let o=J(),i=Za(2);o.firstUpdatePass&&G_(o,null,i,r);let s=C();if(t!==Ue&&Ze(s,i,t)){let a=o.data[ht()];if(Y_(a,r)&&!z_(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(t=La(c,t||"")),Af(o,a,s,t,r)}else C0(o,a,s,s[te],s[i+1],s[i+1]=D0(e,n,t),r,i)}}function z_(e,n){return n>=e.expandoStartIndex}function G_(e,n,t,r){let o=e.data;if(o[t+1]===null){let i=o[ht()],s=z_(e,t);Y_(i,r)&&n===null&&!s&&(n=!1),n=v0(o,i,n,r),i0(o,i,n,t,s,r)}}function v0(e,n,t,r){let o=Eg(e),i=r?n.residualClasses:n.residualStyles;if(o===null)(r?n.classBindings:n.styleBindings)===0&&(t=Wd(null,e,n,t,r),t=es(t,n.attrs,r),i=null);else{let s=n.directiveStylingLast;if(s===-1||e[s]!==o)if(t=Wd(o,e,n,t,r),i===null){let c=y0(e,n,r);c!==void 0&&Array.isArray(c)&&(c=Wd(null,e,n,c[1],r),c=es(c,n.attrs,r),_0(e,n,r,c))}else i=b0(e,n,r)}return i!==void 0&&(r?n.residualClasses=i:n.residualStyles=i),t}function y0(e,n,t){let r=t?n.classBindings:n.styleBindings;if(Ro(r)!==0)return e[Rr(r)]}function _0(e,n,t,r){let o=t?n.classBindings:n.styleBindings;e[Rr(o)]=r}function b0(e,n,t){let r,o=n.directiveEnd;for(let i=1+n.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=es(r,s,t)}return es(r,n.attrs,t)}function Wd(e,n,t,r,o){let i=null,s=t.directiveEnd,a=t.directiveStylingLast;for(a===-1?a=t.directiveStart:a++;a<s&&(i=n[a],r=es(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(t.directiveStylingLast=a),r}function es(e,n,t){let r=t?1:2,o=-1;if(n!==null)for(let i=0;i<n.length;i++){let s=n[i];typeof s=="number"?o=s:o===r&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),Li(e,s,t?!0:n[++i]))}return e===void 0?null:e}function D0(e,n,t){if(t==null||t==="")return Re;let r=[],o=rt(t);if(Array.isArray(o))for(let i=0;i<o.length;i++)e(r,o[i],!0);else if(o instanceof Set)for(let i of o)e(r,i,!0);else if(typeof o=="object")for(let i in o)o.hasOwnProperty(i)&&e(r,i,o[i]);else typeof o=="string"&&n(r,o);return r}function W_(e,n,t){Li(e,n,rt(t))}function E0(e,n,t){let r=String(n);r!==""&&!r.includes(" ")&&Li(e,r,t)}function C0(e,n,t,r,o,i,s,a){o===Ue&&(o=Re);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 h=c<o.length?o[c+1]:void 0,p=l<i.length?i[l+1]:void 0,m=null,v;u===d?(c+=2,l+=2,h!==p&&(m=d,v=p)):d===null||u!==null&&u<d?(c+=2,m=u):(l+=2,m=d,v=p),m!==null&&q_(e,n,t,r,m,v,s,a),u=c<o.length?o[c]:null,d=l<i.length?i[l]:null}}function q_(e,n,t,r,o,i,s,a){if(!(n.type&3))return;let c=e.data,l=c[a+1],u=o0(l)?Iv(c,n,t,o,Ro(l),s):void 0;if(!Ic(u)){Ic(i)||n0(l)&&(i=Iv(c,null,t,o,a,s));let d=pd(ht(),t);MS(r,s,d,o,i)}}function Iv(e,n,t,r,o,i){let s=n===null,a;for(;o>0;){let c=e[o],l=Array.isArray(c),u=l?c[1]:c,d=u===null,h=t[o+1];h===Ue&&(h=d?Re:void 0);let p=d?Ua(h,r):u===r?h:void 0;if(l&&!Ic(p)&&(p=Ua(c,r)),Ic(p)&&(a=p,s))return a;let m=e[o+1];o=s?Rr(m):Ro(m)}if(n!==null){let c=i?n.residualClasses:n.residualStyles;c!=null&&(a=Ua(c,r))}return a}function Ic(e){return e!==void 0}function w0(e,n){return e==null||e===""||(typeof n=="string"?e=e+n:typeof e=="object"&&(e=Pa(rt(e)))),e}function Y_(e,n){return(e.flags&(n?8:16))!==0}function I0(e,n=""){let t=C(),r=J(),o=e+X,i=r.firstCreatePass?Fr(r,o,1,n,null):r.data[o],s=S0(r,t,i,n);t[o]=s,ec()&&rh(r,t,s,i),wr(i,!1)}var S0=(e,n,t,r)=>($i(!0),PI(n[te],r));function Z_(e,n,t,r=""){return Ze(e,nn(),t)?n+vr(t)+r:Ue}function M0(e,n,t,r,o,i=""){let s=vg(),a=xo(e,s,t,o);return Za(2),a?n+vr(t)+r+vr(o)+i:Ue}function K_(e){return Ah("",e),K_}function Ah(e,n,t){let r=C(),o=Z_(r,e,n,t);return o!==Ue&&Q_(r,ht(),o),Ah}function X_(e,n,t,r,o){let i=C(),s=M0(i,e,n,t,r,o);return s!==Ue&&Q_(i,ht(),s),X_}function Q_(e,n,t){let r=pd(n,e);LI(e[te],r,t)}function J_(e,n,t){Ch(n)&&(n=n());let r=C(),o=nn();if(Ze(r,o,n)){let i=J(),s=Ir();My(s,r,e,n,r[te],t)}return J_}function T0(e,n){let t=Ch(e);return t&&e.set(n),t}function eb(e,n){let t=C(),r=J(),o=he();return k_(r,t,t[te],o,e,n),eb}var tb={};function nb(e){qt("NgLet");let n=J(),t=C(),r=e+X,o=Fr(n,r,128,null,null);return wr(o,!1),Bi(n,t,r,tb),nb}function x0(e){let n=J(),t=C(),r=ht();return Bi(n,t,r,e),e}function A0(e){let n=Md(),t=Do(n,X+e);if(t===tb)throw new b(314,!1);return t}function N0(e,n,t=""){return Z_(C(),e,n,t)}function Sv(e,n,t){let r=J();r.firstCreatePass&&rb(n,r.data,r.blueprint,Tt(e),t)}function rb(e,n,t,r,o){if(e=we(e),Array.isArray(e))for(let i=0;i<e.length;i++)rb(e[i],n,t,r,o);else{let i=J(),s=C(),a=he(),c=pr(e)?e:we(e.provide),l=ld(e),u=a.providerIndexes&1048575,d=a.directiveStart,h=a.providerIndexes>>20;if(pr(e)||!e.multi){let p=new Tr(l,o,H,null),m=Yd(c,n,o?u:u+h,d);m===-1?(Kd(vc(a,s),i,c),qd(i,e,n.length),n.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),t.push(p),s.push(p)):(t[m]=p,s[m]=p)}else{let p=Yd(c,n,u+h,d),m=Yd(c,n,u,u+h),v=p>=0&&t[p],_=m>=0&&t[m];if(o&&!_||!o&&!v){Kd(vc(a,s),i,c);let D=k0(o?O0:R0,t.length,o,r,l,e);!o&&_&&(t[m].providerFactory=D),qd(i,e,n.length,0),n.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),t.push(D),s.push(D)}else{let D=ob(t[o?m:p],l,!o&&r);qd(i,e,p>-1?p:m,D)}!o&&r&&_&&t[m].componentProviders++}}}function qd(e,n,t,r){let o=pr(n),i=rg(n);if(o||i){let c=(i?we(n.useClass):n).prototype.ngOnDestroy;if(c){let l=e.destroyHooks||(e.destroyHooks=[]);if(!o&&n.multi){let u=l.indexOf(t);u===-1?l.push(t,[r,c]):l[u+1].push(r,c)}else l.push(t,c)}}}function ob(e,n,t){return t&&e.componentProviders++,e.multi.push(n)-1}function Yd(e,n,t,r){for(let o=t;o<r;o++)if(n[o]===e)return o;return-1}function R0(e,n,t,r,o){return Of(this.multi,[])}function O0(e,n,t,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=Zi(r,r[I],this.providerFactory.index,o);s=c.slice(0,a),Of(i,s);for(let l=a;l<c.length;l++)s.push(c[l])}else s=[],Of(i,s);return s}function Of(e,n){for(let t=0;t<e.length;t++){let r=e[t];n.push(r())}return n}function k0(e,n,t,r,o,i){let s=new Tr(e,t,H,null);return s.multi=[],s.index=n,s.componentProviders=0,ob(s,o,r&&!t),s}function Fe(e,n){return t=>{t.providersResolver=(r,o)=>Sv(r,o?o(e):e,!1),n&&(t.viewProvidersResolver=(r,o)=>Sv(r,o?o(n):n,!0))}}function F0(e,n){let t=$t()+e,r=C();return r[t]===Ue?Lo(r,t,n()):Ky(r,t)}function P0(e,n,t){return ib(C(),$t(),e,n,t)}function L0(e,n,t,r){return sb(C(),$t(),e,n,t,r)}function V0(e,n,t,r,o){return ab(C(),$t(),e,n,t,r,o)}function j0(e,n,t,r,o,i,s){return H0(C(),$t(),e,n,t,r,o,i)}function B0(e,n,t,r,o,i,s,a){let c=$t()+e,l=C(),u=Xy(l,c,t,r,o,i);return xo(l,c+4,s,a)||u?Lo(l,c+6,n(t,r,o,i,s,a)):Ky(l,c+6)}function Gc(e,n){let t=e[n];return t===Ue?void 0:t}function ib(e,n,t,r,o,i){let s=n+t;return Ze(e,s,o)?Lo(e,s+1,i?r.call(i,o):r(o)):Gc(e,s+1)}function sb(e,n,t,r,o,i,s){let a=n+t;return xo(e,a,o,i)?Lo(e,a+2,s?r.call(s,o,i):r(o,i)):Gc(e,a+2)}function ab(e,n,t,r,o,i,s,a){let c=n+t;return _M(e,c,o,i,s)?Lo(e,c+3,a?r.call(a,o,i,s):r(o,i,s)):Gc(e,c+3)}function H0(e,n,t,r,o,i,s,a,c){let l=n+t;return Xy(e,l,o,i,s,a)?Lo(e,l+4,c?r.call(c,o,i,s,a):r(o,i,s,a)):Gc(e,l+4)}function U0(e,n){let t=J(),r,o=e+X;t.firstCreatePass?(r=$0(n,t.pipeRegistry),t.data[o]=r,r.onDestroy&&(t.destroyHooks??=[]).push(o,r.onDestroy)):r=t.data[o];let i=r.factory||(r.factory=Tn(r.type,!0)),s,a=Le(H);try{let c=gc(!1),l=i();return gc(c),Bi(t,C(),o,l),l}finally{Le(a)}}function $0(e,n){if(n)for(let t=n.length-1;t>=0;t--){let r=n[t];if(e===r.name)return r}}function z0(e,n,t){let r=e+X,o=C(),i=Do(o,r);return Nh(o,r)?ib(o,$t(),n,i.transform,t,i):i.transform(t)}function G0(e,n,t,r){let o=e+X,i=C(),s=Do(i,o);return Nh(i,o)?sb(i,$t(),n,s.transform,t,r,s):s.transform(t,r)}function W0(e,n,t,r,o){let i=e+X,s=C(),a=Do(s,i);return Nh(s,i)?ab(s,$t(),n,a.transform,t,r,o,a):a.transform(t,r,o)}function Nh(e,n){return e[I].data[n].pure}function q0(e,n){return Vc(e,n)}var cb=(()=>{class e{applicationErrorHandler=f(rn);appRef=f(it);taskService=f(jn);ngZone=f(M);zonelessEnabled=f(Co);tracing=f(Nt,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new j;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Ni):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(f(tc,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{let t=this.taskService.add();if(!this.runningTick&&(this.cleanup(),!this.zonelessEnabled||this.appRef.includeAllTestViews)){this.taskService.remove(t);return}this.switchToMicrotaskScheduler(),this.taskService.remove(t)})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()}))}switchToMicrotaskScheduler(){this.ngZone.runOutsideAngular(()=>{let t=this.taskService.add();this.useMicrotaskScheduler=!0,queueMicrotask(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(t)})})}notify(t){if(!this.zonelessEnabled&&t===5)return;switch(t){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2;break}case 12:{this.appRef.dirtyFlags|=16;break}case 13:{this.appRef.dirtyFlags|=2;break}case 11:break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick())return;let r=this.useMicrotaskScheduler?Rg:Od;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>r(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(){return!(this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Ni+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 t=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){this.applicationErrorHandler(r)}finally{this.taskService.remove(t),this.cleanup()}}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let t=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(t)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function lb(){return[{provide:Ct,useExisting:cb},{provide:M,useClass:Ri},{provide:Co,useValue:!0}]}function Y0(){return typeof $localize<"u"&&$localize.locale||cs}var fs=new g("",{factory:()=>f(fs,{optional:!0,skipSelf:!0})||Y0()});var Wc=class{destroyed=!1;listeners=null;errorHandler=f(Oe,{optional:!0});destroyRef=f(We);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(n){if(this.destroyed)throw new b(953,!1);return(this.listeners??=[]).push(n),{unsubscribe:()=>{let t=this.listeners?.indexOf(n);t!==void 0&&t!==-1&&this.listeners?.splice(t,1)}}}emit(n){if(this.destroyed){console.warn(Nn(953,!1));return}if(this.listeners===null)return;let t=S(null);try{for(let r of this.listeners)try{r(n)}catch(o){this.errorHandler?.handleError(o)}}finally{S(t)}}};function le(e){return Hm(e)}function Qe(e,n){return wi(e,n?.equal)}var Z0=e=>e;function Rh(e,n){if(typeof e=="function"){let t=ju(e,Z0,n?.equal);return ub(t,n?.debugName)}else{let t=ju(e.source,e.computation,e.equal);return ub(t,e.debugName)}}function ub(e,n){let t=e[me],r=e;return r.set=o=>jm(t,o),r.update=o=>Bm(t,o),r.asReadonly=zi.bind(e),r}function K0(e){let n=e.request,t=e.params??n??(()=>null);return new qc(t,Q0(e),e.defaultValue,e.equal?X0(e.equal):void 0,e.debugName,e.injector??f(O))}var Oh=class{value;isLoading;constructor(n,t){this.value=n,this.value.set=this.set.bind(this),this.value.update=this.update.bind(this),this.value.asReadonly=zi,this.isLoading=Qe(()=>this.status()==="loading"||this.status()==="reloading",void 0)}isError=Qe(()=>this.status()==="error");update(n){this.set(n(le(this.value)))}isValueDefined=Qe(()=>this.isError()?!1:this.value()!==void 0);_snapshot;get snapshot(){return this._snapshot??=Qe(()=>{let n=this.status();return n==="error"?{status:"error",error:this.error()}:{status:n,value:this.value()}})}hasValue(){return this.isValueDefined()}asReadonly(){return this}},qc=class extends Oh{loaderFn;equal;debugName;pendingTasks;state;extRequest;effectRef;pendingController;resolvePendingTask=void 0;destroyed=!1;unregisterOnDestroy;status;error;constructor(n,t,r,o,i,s,a){super(Qe(()=>{let c=this.state().stream?.();if(!c||this.state().status==="loading"&&this.error())return r;if(!kh(c))throw new Yc(this.error());return c.value},{equal:o}),i),this.loaderFn=t,this.equal=o,this.debugName=i,this.extRequest=Rh({source:n,computation:c=>({request:c,reload:0})}),this.state=Rh({source:this.extRequest,computation:(c,l)=>{if(l){let u=c.request===void 0?"idle":"loading";return{extRequest:c,status:u,previousStatus:db(l.value),stream:l.value.extRequest.request===c.request?l.value.stream:void 0}}else{let u=a?.(c.request);a=void 0;let d=c.request===void 0?"idle":u?"resolved":"loading";return{extRequest:c,status:d,previousStatus:"idle",stream:u}}}}),this.effectRef=Sr(this.loadEffect.bind(this),{injector:s,manualCleanup:!0}),this.pendingTasks=s.get(Bn),this.unregisterOnDestroy=s.get(We).onDestroy(()=>this.destroy()),this.status=Qe(()=>db(this.state()),void 0),this.error=Qe(()=>{let c=this.state().stream?.();return c&&!kh(c)?c.error:void 0},void 0)}set(n){if(this.destroyed)return;let t=le(this.error),r=le(this.state);if(!t){let o=le(this.value);if(r.status==="local"&&(this.equal?this.equal(o,n):o===n))return}this.state.set({extRequest:r.extRequest,status:"local",previousStatus:"local",stream:ae({value:n},void 0)}),this.abortInProgressLoad()}reload(){let{status:n}=le(this.state);return n==="idle"||n==="loading"?!1:(this.extRequest.update(({request:t,reload:r})=>({request:t,reload:r+1})),!0)}destroy(){this.destroyed=!0,this.unregisterOnDestroy(),this.effectRef.destroy(),this.abortInProgressLoad(),this.state.set({extRequest:{request:void 0,reload:0},status:"idle",previousStatus:"idle",stream:void 0})}loadEffect(){return vn(this,null,function*(){let n=this.extRequest(),{status:t,previousStatus:r}=le(this.state);if(n.request===void 0)return;if(t!=="loading")return;this.abortInProgressLoad();let o=this.resolvePendingTask=this.pendingTasks.add(),{signal:i}=this.pendingController=new AbortController;try{let s=yield le(()=>this.loaderFn({params:n.request,abortSignal:i,previous:{status:r}}));if(i.aborted||le(this.extRequest)!==n)return;this.state.set({extRequest:n,status:"resolved",previousStatus:"resolved",stream:s})}catch(s){if(i.aborted||le(this.extRequest)!==n)return;this.state.set({extRequest:n,status:"resolved",previousStatus:"error",stream:ae({error:Ph(s)},void 0)})}finally{o?.(),o=void 0}})}abortInProgressLoad(){le(()=>this.pendingController?.abort()),this.pendingController=void 0,this.resolvePendingTask?.(),this.resolvePendingTask=void 0}};function X0(e){return(n,t)=>n===void 0||t===void 0?n===t:e(n,t)}function Q0(e){return J0(e)?e.stream:n=>vn(null,null,function*(){try{return ae({value:yield e.loader(n)},void 0)}catch(t){return ae({error:Ph(t)},void 0)}})}function J0(e){return!!e.stream}function db(e){switch(e.status){case"loading":return e.extRequest.reload===0?"loading":"reloading";case"resolved":return kh(e.stream())?"resolved":"error";default:return e.status}}function kh(e){return e.error===void 0}function Ph(e){return ex(e)?e:new Fh(e)}function ex(e){return e instanceof Error||typeof e=="object"&&typeof e.name=="string"&&typeof e.message=="string"}var Yc=class extends Error{constructor(n){super(n.message,{cause:n})}},Fh=class extends Error{constructor(n){super(String(n),{cause:n})}};var yb=Symbol("InputSignalNode#UNSET"),fx=U(E({},Ii),{transformFn:void 0,applyValueToInputSignal(e,n){dr(e,n)}});function _b(e,n){let t=Object.create(fx);t.value=e,t.transformFn=n?.transform;function r(){if(wn(t),t.value===yb){let o=null;throw new b(-950,o)}return t.value}return r[me]=t,r}var Kc=class{attributeName;constructor(n){this.attributeName=n}__NG_ELEMENT_ID__=()=>Ff(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}},A8=(()=>{let e=new g("");return e.__NG_ELEMENT_ID__=n=>{let t=he();if(t===null)throw new b(-204,!1);if(t.type&2)return t.value;if(n&8)return null;throw new b(-204,!1)},e})();function N8(e){return new Wc}function fb(e,n){return _b(e,n)}function hx(e){return _b(yb,e)}var R8=(fb.required=hx,fb);function hb(e,n){return vh(n)}function px(e,n){return yh(n)}var O8=(hb.required=px,hb);function k8(e,n){return _h(n)}function pb(e,n){return vh(n)}function mx(e,n){return yh(n)}var F8=(pb.required=mx,pb);function P8(e,n){return _h(n)}var gx=(()=>{class e{zone=f(M);changeDetectionScheduler=f(Ct);applicationRef=f(it);applicationErrorHandler=f(rn);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{try{this.applicationRef.dirtyFlags|=1,this.applicationRef._tick()}catch(t){this.applicationErrorHandler(t)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),vx=new g("",{factory:()=>!1});function yx({ngZoneFactory:e,scheduleInRootZone:n}){return e??=()=>new M(U(E({},bb()),{scheduleInRootZone:n})),[{provide:Co,useValue:!1},{provide:M,useFactory:e},{provide:Rn,multi:!0,useFactory:()=>{let t=f(gx,{optional:!0});return()=>t.initialize()}},{provide:Rn,multi:!0,useFactory:()=>{let t=f(_x);return()=>{t.initialize()}}},{provide:tc,useValue:n??Rd}]}function L8(e){let n=e?.scheduleInRootZone,t=yx({ngZoneFactory:()=>{let r=bb(e);return r.scheduleInRootZone=n,r.shouldCoalesceEventChangeDetection&&qt("NgZone_CoalesceEvent"),new M(r)},scheduleInRootZone:n});return ho([{provide:vx,useValue:!0},t])}function bb(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var _x=(()=>{class e{subscription=new j;initialized=!1;zone=f(M);pendingTasks=f(jn);initialize(){if(this.initialized)return;this.initialized=!0;let t=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(t=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{M.assertNotInAngularZone(),queueMicrotask(()=>{t!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(t),t=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{M.assertInAngularZone(),t??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Vh=new g(""),bx=new g("");function hs(e){return!e.moduleRef}function Dx(e){let n=hs(e)?e.r3Injector:e.moduleRef.injector,t=n.get(M);return t.run(()=>{hs(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=n.get(rn),o;if(t.runOutsideAngular(()=>{o=t.onError.subscribe({next:r})}),hs(e)){let i=()=>n.destroy(),s=e.platformInjector.get(Vh);s.add(i),n.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(Vh);s.add(i),e.moduleRef.onDestroy(()=>{Yi(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return Cx(r,t,()=>{let i=n.get(jn),s=i.add(),a=n.get(Sh);return a.runInitializers(),a.donePromise.then(()=>{let c=n.get(fs,cs);if(R_(c||cs),!n.get(bx,!0))return hs(e)?n.get(it):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(hs(e)){let u=n.get(it);return e.rootComponent!==void 0&&u.bootstrap(e.rootComponent),u}else return Ex?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>{i.remove(s)})})})}var Ex;function Cx(e,n,t){try{let r=t();return Uo(r)?r.catch(o=>{throw n.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw n.runOutsideAngular(()=>e(r)),r}}var Zc=null;function wx(e=[],n){return O.create({name:n,providers:[{provide:Vi,useValue:"platform"},{provide:Vh,useValue:new Set([()=>Zc=null])},...e]})}function Ix(e=[]){if(Zc)return Zc;let n=wx(e);return Zc=n,C_(),Sx(n),n}function Sx(e){let n=e.get(Sc,null);mo(e,()=>{n?.forEach(t=>t())})}function V8(){return!1}var Mx=1e4;var j8=Mx-1e3;var Pr=(()=>{class e{static __NG_ELEMENT_ID__=Tx}return e})();function Tx(e){return xx(he(),C(),(e&16)===16)}function xx(e,n,t){if(Ut(e)&&!t){let r=ft(e.index,n);return new Un(r,r)}else if(e.type&175){let r=n[Be];return new Un(r,n)}return null}var jh=class{supports(n){return hh(n)}create(n){return new Bh(n)}},Ax=(e,n)=>n,Bh=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(n){this._trackByFn=n||Ax}forEachItem(n){let t;for(t=this._itHead;t!==null;t=t._next)n(t)}forEachOperation(n){let t=this._itHead,r=this._removalsHead,o=0,i=null;for(;t||r;){let s=!r||t&&t.currentIndex<mb(r,o,i)?t:r,a=mb(s,o,i),c=s.currentIndex;if(s===r)o--,r=r._nextRemoved;else if(t=t._next,s.previousIndex==null)o++;else{i||(i=[]);let l=a-o,u=c-o;if(l!=u){for(let h=0;h<l;h++){let p=h<i.length?i[h]:i[h]=0,m=p+h;u<=m&&m<l&&(i[h]=p+1)}let d=s.previousIndex;i[d]=u-l}}a!==c&&n(s,a,c)}}forEachPreviousItem(n){let t;for(t=this._previousItHead;t!==null;t=t._nextPrevious)n(t)}forEachAddedItem(n){let t;for(t=this._additionsHead;t!==null;t=t._nextAdded)n(t)}forEachMovedItem(n){let t;for(t=this._movesHead;t!==null;t=t._nextMoved)n(t)}forEachRemovedItem(n){let t;for(t=this._removalsHead;t!==null;t=t._nextRemoved)n(t)}forEachIdentityChange(n){let t;for(t=this._identityChangesHead;t!==null;t=t._nextIdentityChange)n(t)}diff(n){if(n==null&&(n=[]),!hh(n))throw new b(900,!1);return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let t=this._itHead,r=!1,o,i,s;if(Array.isArray(n)){this.length=n.length;for(let a=0;a<this.length;a++)i=n[a],s=this._trackByFn(a,i),t===null||!Object.is(t.trackById,s)?(t=this._mismatch(t,i,s,a),r=!0):(r&&(t=this._verifyReinsertion(t,i,s,a)),Object.is(t.item,i)||this._addIdentityChange(t,i)),t=t._next}else o=0,Yy(n,a=>{s=this._trackByFn(o,a),t===null||!Object.is(t.trackById,s)?(t=this._mismatch(t,a,s,o),r=!0):(r&&(t=this._verifyReinsertion(t,a,s,o)),Object.is(t.item,a)||this._addIdentityChange(t,a)),t=t._next,o++}),this.length=o;return this._truncate(t),this.collection=n,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;n!==null;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;n!==null;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;n!==null;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,t,r,o){let i;return n===null?i=this._itTail:(i=n._prev,this._remove(n)),n=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),n!==null?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._reinsertAfter(n,i,o)):(n=this._linkedRecords===null?null:this._linkedRecords.get(r,o),n!==null?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._moveAfter(n,i,o)):n=this._addAfter(new Hh(t,r),i,o)),n}_verifyReinsertion(n,t,r,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return i!==null?n=this._reinsertAfter(i,n._prev,o):n.currentIndex!=o&&(n.currentIndex=o,this._addToMoves(n,o)),n}_truncate(n){for(;n!==null;){let t=n._next;this._addToRemovals(this._unlink(n)),n=t}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(n,t,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(n);let o=n._prevRemoved,i=n._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(n,t,r),this._addToMoves(n,r),n}_moveAfter(n,t,r){return this._unlink(n),this._insertAfter(n,t,r),this._addToMoves(n,r),n}_addAfter(n,t,r){return this._insertAfter(n,t,r),this._additionsTail===null?this._additionsTail=this._additionsHead=n:this._additionsTail=this._additionsTail._nextAdded=n,n}_insertAfter(n,t,r){let o=t===null?this._itHead:t._next;return n._next=o,n._prev=t,o===null?this._itTail=n:o._prev=n,t===null?this._itHead=n:t._next=n,this._linkedRecords===null&&(this._linkedRecords=new Xc),this._linkedRecords.put(n),n.currentIndex=r,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){this._linkedRecords!==null&&this._linkedRecords.remove(n);let t=n._prev,r=n._next;return t===null?this._itHead=r:t._next=r,r===null?this._itTail=t:r._prev=t,n}_addToMoves(n,t){return n.previousIndex===t||(this._movesTail===null?this._movesTail=this._movesHead=n:this._movesTail=this._movesTail._nextMoved=n),n}_addToRemovals(n){return this._unlinkedRecords===null&&(this._unlinkedRecords=new Xc),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,t){return n.item=t,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=n:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=n,n}},Hh=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(n,t){this.item=n,this.trackById=t}},Uh=class{_head=null;_tail=null;add(n){this._head===null?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,t){let r;for(r=this._head;r!==null;r=r._nextDup)if((t===null||t<=r.currentIndex)&&Object.is(r.trackById,n))return r;return null}remove(n){let t=n._prevDup,r=n._nextDup;return t===null?this._head=r:t._nextDup=r,r===null?this._tail=t:r._prevDup=t,this._head===null}},Xc=class{map=new Map;put(n){let t=n.trackById,r=this.map.get(t);r||(r=new Uh,this.map.set(t,r)),r.add(n)}get(n,t){let r=n,o=this.map.get(r);return o?o.get(n,t):null}remove(n){let t=n.trackById;return this.map.get(t).remove(n)&&this.map.delete(t),n}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function mb(e,n,t){let r=e.previousIndex;if(r===null)return r;let o=0;return t&&r<t.length&&(o=t[r]),r+n+o}function gb(){return new Qc([new jh])}var Qc=(()=>{class e{factories;static \u0275prov=y({token:e,providedIn:"root",factory:gb});constructor(t){this.factories=t}static create(t,r){if(r!=null){let o=r.factories.slice();t=t.concat(o)}return new e(t)}static extend(t){return{provide:e,useFactory:()=>{let r=f(e,{optional:!0,skipSelf:!0});return e.create(t,r||gb())}}}find(t){let r=this.factories.find(o=>o.supports(t));if(r!=null)return r;throw new b(901,!1)}}return e})();function Db(e){let{rootComponent:n,appProviders:t,platformProviders:r,platformRef:o}=e;Y(z.BootstrapApplicationStart);try{let i=o?.injector??Ix(r),s=[lb(),kg,...t||[]],a=new Ji({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1});return Dx({r3Injector:a.injector,platformInjector:i,rootComponent:n})}catch(i){return Promise.reject(i)}finally{Y(z.BootstrapApplicationEnd)}}function oe(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function Eb(e,n=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):n}var Lh=Symbol("NOT_SET"),Cb=new Set,Nx=U(E({},Ii),{kind:"afterRenderEffectPhase",consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:Lh,cleanup:null,consumerMarkedDirty(){if(this.sequence.impl.executing){if(this.sequence.lastPhase===null||this.sequence.lastPhase<this.phase)return;this.sequence.erroredOrDestroyed=!0}this.sequence.scheduler.notify(7)},phaseFn(e){if(this.sequence.lastPhase=this.phase,!this.dirty)return this.signal;if(this.dirty=!1,this.value!==Lh&&!ao(this))return this.signal;try{for(let o of this.cleanup??Cb)o()}finally{this.cleanup?.clear()}let n=[];e!==void 0&&n.push(e),n.push(this.registerCleanupFn);let t=Xt(this),r;try{r=this.userFn.apply(null,n)}finally{In(this,t)}return(this.value===Lh||!this.equal(this.value,r))&&(this.value=r,this.version++),this.signal}}),$h=class extends Ki{scheduler;lastPhase=null;nodes=[void 0,void 0,void 0,void 0];onDestroyFns=null;constructor(n,t,r,o,i,s=null){super(n,[void 0,void 0,void 0,void 0],r,!1,i.get(We),s),this.scheduler=o;for(let a of eh){let c=t[a];if(c===void 0)continue;let l=Object.create(Nx);l.sequence=this,l.phase=a,l.userFn=c,l.dirty=!0,l.signal=()=>(wn(l),l.value),l.signal[me]=l,l.registerCleanupFn=u=>(l.cleanup??=new Set).add(u),this.nodes[a]=l,this.hooks[a]=u=>l.phaseFn(u)}}afterRun(){super.afterRun(),this.lastPhase=null}destroy(){if(this.onDestroyFns!==null)for(let n of this.onDestroyFns)n();super.destroy();for(let n of this.nodes)if(n)try{for(let t of n.cleanup??Cb)t()}finally{Sn(n)}}};function B8(e,n){let t=n?.injector??f(O),r=t.get(Ct),o=t.get(Rc),i=t.get(Nt,null,{optional:!0});o.impl??=t.get(th);let s=e;typeof s=="function"&&(s={mixedReadWrite:e});let a=t.get(Eo,null,{optional:!0}),c=new $h(o.impl,[s.earlyRead,s.write,s.mixedReadWrite,s.read],a?.view,r,t,i?.snapshot(null));return o.impl.register(c),c}function Jc(e,n){let t=Jt(e),r=n.elementInjector||po();return new Ao(t).create(r,n.projectableNodes,n.hostElement,n.environmentInjector,n.directives,n.bindings)}var wb=null;function pt(){return wb}function zh(e){wb??=e}var ps=class{},zo=(()=>{class e{historyGo(t){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:()=>f(Ib),providedIn:"platform"})}return e})();var Ib=(()=>{class e extends zo{_location;_history;_doc=f(x);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return pt().getBaseHref(this._doc)}onPopState(t){let r=pt().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",t,!1),()=>r.removeEventListener("popstate",t)}onHashChange(t){let r=pt().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",t,!1),()=>r.removeEventListener("hashchange",t)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(t){this._location.pathname=t}pushState(t,r,o){this._history.pushState(t,r,o)}replaceState(t,r,o){this._history.replaceState(t,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function Tb(e,n){return e?n?e.endsWith("/")?n.startsWith("/")?e+n.slice(1):e+n:n.startsWith("/")?e+n:`${e}/${n}`:e:n}function Sb(e){let n=e.search(/#|\?|$/);return e[n-1]==="/"?e.slice(0,n-1)+e.slice(n):e}function Wn(e){return e&&e[0]!=="?"?`?${e}`:e}var el=(()=>{class e{historyGo(t){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:()=>f(Ox),providedIn:"root"})}return e})(),Rx=new g(""),Ox=(()=>{class e extends el{_platformLocation;_baseHref;_removeListenerFns=[];constructor(t,r){super(),this._platformLocation=t,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??f(x).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return Tb(this._baseHref,t)}path(t=!1){let r=this._platformLocation.pathname+Wn(this._platformLocation.search),o=this._platformLocation.hash;return o&&t?`${r}${o}`:r}pushState(t,r,o,i){let s=this.prepareExternalUrl(o+Wn(i));this._platformLocation.pushState(t,r,s)}replaceState(t,r,o,i){let s=this.prepareExternalUrl(o+Wn(i));this._platformLocation.replaceState(t,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static \u0275fac=function(r){return new(r||e)(T(zo),T(Rx,8))};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var tl=(()=>{class e{_subject=new w;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(t){this._locationStrategy=t;let r=this._locationStrategy.getBaseHref();this._basePath=Px(Sb(Mb(r))),this._locationStrategy.onPopState(o=>{this._subject.next({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(t=!1){return this.normalize(this._locationStrategy.path(t))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(t,r=""){return this.path()==this.normalize(t+Wn(r))}normalize(t){return e.stripTrailingSlash(Fx(this._basePath,Mb(t)))}prepareExternalUrl(t){return t&&t[0]!=="/"&&(t="/"+t),this._locationStrategy.prepareExternalUrl(t)}go(t,r="",o=null){this._locationStrategy.pushState(o,"",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Wn(r)),o)}replaceState(t,r="",o=null){this._locationStrategy.replaceState(o,"",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Wn(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(t=0){this._locationStrategy.historyGo?.(t)}onUrlChange(t){return this._urlChangeListeners.push(t),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(t);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(t="",r){this._urlChangeListeners.forEach(o=>o(t,r))}subscribe(t,r,o){return this._subject.subscribe({next:t,error:r??void 0,complete:o??void 0})}static normalizeQueryParams=Wn;static joinWithSlash=Tb;static stripTrailingSlash=Sb;static \u0275fac=function(r){return new(r||e)(T(el))};static \u0275prov=y({token:e,factory:()=>kx(),providedIn:"root"})}return e})();function kx(){return new tl(T(el))}function Fx(e,n){if(!e||!n.startsWith(e))return n;let t=n.substring(e.length);return t===""||["/",";","?","#"].includes(t[0])?t:n}function Mb(e){return e.replace(/\/index\.html$/,"")}function Px(e){if(new RegExp("^(https?:)?//").test(e)){let[,t]=e.split(/\/\/[^\/]+/);return t}return e}var Pe=(function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e})(Pe||{}),re=(function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e})(re||{}),Je=(function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e})(Je||{}),dn={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function Nb(e){return st(e)[ve.LocaleId]}function Rb(e,n,t){let r=st(e),o=[r[ve.DayPeriodsFormat],r[ve.DayPeriodsStandalone]],i=mt(o,n);return mt(i,t)}function Ob(e,n,t){let r=st(e),o=[r[ve.DaysFormat],r[ve.DaysStandalone]],i=mt(o,n);return mt(i,t)}function kb(e,n,t){let r=st(e),o=[r[ve.MonthsFormat],r[ve.MonthsStandalone]],i=mt(o,n);return mt(i,t)}function Fb(e,n){let r=st(e)[ve.Eras];return mt(r,n)}function ms(e,n){let t=st(e);return mt(t[ve.DateFormat],n)}function gs(e,n){let t=st(e);return mt(t[ve.TimeFormat],n)}function vs(e,n){let r=st(e)[ve.DateTimeFormat];return mt(r,n)}function ys(e,n){let t=st(e),r=t[ve.NumberSymbols][n];if(typeof r>"u"){if(n===dn.CurrencyDecimal)return t[ve.NumberSymbols][dn.Decimal];if(n===dn.CurrencyGroup)return t[ve.NumberSymbols][dn.Group]}return r}function Pb(e){if(!e[ve.ExtraData])throw new b(2303,!1)}function Lb(e){let n=st(e);return Pb(n),(n[ve.ExtraData][2]||[]).map(r=>typeof r=="string"?Gh(r):[Gh(r[0]),Gh(r[1])])}function Vb(e,n,t){let r=st(e);Pb(r);let o=[r[ve.ExtraData][0],r[ve.ExtraData][1]],i=mt(o,n)||[];return mt(i,t)||[]}function mt(e,n){for(let t=n;t>-1;t--)if(typeof e[t]<"u")return e[t];throw new b(2304,!1)}function Gh(e){let[n,t]=e.split(":");return{hours:+n,minutes:+t}}var Lx=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,nl={},Vx=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/,jx=256;function jb(e,n,t,r){let o=Zx(e);Bx(n),n=un(t,n)||n;let s=[],a;for(;n;)if(a=Vx.exec(n),a){s=s.concat(a.slice(1));let u=s.pop();if(!u)break;n=u}else{s.push(n);break}let c=o.getTimezoneOffset();r&&(c=Hb(r,c),o=Yx(o,r));let l="";return s.forEach(u=>{let d=Wx(u);l+=d?d(o,t,c):u==="''"?"'":u.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),l}function Bx(e){if(e.length>jx)throw new b(2300,!1)}function al(e,n,t){let r=new Date(0);return r.setFullYear(e,n,t),r.setHours(0,0,0),r}function un(e,n){let t=Nb(e);if(nl[t]??={},nl[t][n])return nl[t][n];let r="";switch(n){case"shortDate":r=ms(e,Je.Short);break;case"mediumDate":r=ms(e,Je.Medium);break;case"longDate":r=ms(e,Je.Long);break;case"fullDate":r=ms(e,Je.Full);break;case"shortTime":r=gs(e,Je.Short);break;case"mediumTime":r=gs(e,Je.Medium);break;case"longTime":r=gs(e,Je.Long);break;case"fullTime":r=gs(e,Je.Full);break;case"short":let o=un(e,"shortTime"),i=un(e,"shortDate");r=rl(vs(e,Je.Short),[o,i]);break;case"medium":let s=un(e,"mediumTime"),a=un(e,"mediumDate");r=rl(vs(e,Je.Medium),[s,a]);break;case"long":let c=un(e,"longTime"),l=un(e,"longDate");r=rl(vs(e,Je.Long),[c,l]);break;case"full":let u=un(e,"fullTime"),d=un(e,"fullDate");r=rl(vs(e,Je.Full),[u,d]);break}return r&&(nl[t][n]=r),r}function rl(e,n){return n&&(e=e.replace(/\{([^}]+)}/g,function(t,r){return n!=null&&r in n?n[r]:t})),e}function kt(e,n,t="-",r,o){let i="";(e<0||o&&e<=0)&&(o?e=-e+1:(e=-e,i=t));let s=String(e);for(;s.length<n;)s="0"+s;return r&&(s=s.slice(s.length-n)),i+s}function Hx(e,n){return kt(e,3).substring(0,n)}function Ee(e,n,t=0,r=!1,o=!1){return function(i,s){let a=Ux(e,i);if((t>0||a>-t)&&(a+=t),e===3)a===0&&t===-12&&(a=12);else if(e===6)return Hx(a,n);let c=ys(s,dn.MinusSign);return kt(a,n,c,r,o)}}function Ux(e,n){switch(e){case 0:return n.getFullYear();case 1:return n.getMonth();case 2:return n.getDate();case 3:return n.getHours();case 4:return n.getMinutes();case 5:return n.getSeconds();case 6:return n.getMilliseconds();case 7:return n.getDay();default:throw new b(2301,!1)}}function ie(e,n,t=Pe.Format,r=!1){return function(o,i){return $x(o,i,e,n,t,r)}}function $x(e,n,t,r,o,i){switch(t){case 2:return kb(n,o,r)[e.getMonth()];case 1:return Ob(n,o,r)[e.getDay()];case 0:let s=e.getHours(),a=e.getMinutes();if(i){let l=Lb(n),u=Vb(n,o,r),d=l.findIndex(h=>{if(Array.isArray(h)){let[p,m]=h,v=s>=p.hours&&a>=p.minutes,_=s<m.hours||s===m.hours&&a<m.minutes;if(p.hours<m.hours){if(v&&_)return!0}else if(v||_)return!0}else if(h.hours===s&&h.minutes===a)return!0;return!1});if(d!==-1)return u[d]}return Rb(n,o,r)[s<12?0:1];case 3:return Fb(n,r)[e.getFullYear()<=0?0:1];default:let c=t;throw new b(2302,!1)}}function ol(e){return function(n,t,r){let o=-1*r,i=ys(t,dn.MinusSign),s=o>0?Math.floor(o/60):Math.ceil(o/60);switch(e){case 0:return(o>=0?"+":"")+kt(s,2,i)+kt(Math.abs(o%60),2,i);case 1:return"GMT"+(o>=0?"+":"")+kt(s,1,i);case 2:return"GMT"+(o>=0?"+":"")+kt(s,2,i)+":"+kt(Math.abs(o%60),2,i);case 3:return r===0?"Z":(o>=0?"+":"")+kt(s,2,i)+":"+kt(Math.abs(o%60),2,i);default:throw new b(2310,!1)}}}var zx=0,sl=4;function Gx(e){let n=al(e,zx,1).getDay();return al(e,0,1+(n<=sl?sl:sl+7)-n)}function Bb(e){let n=e.getDay(),t=n===0?-3:sl-n;return al(e.getFullYear(),e.getMonth(),e.getDate()+t)}function Wh(e,n=!1){return function(t,r){let o;if(n){let i=new Date(t.getFullYear(),t.getMonth(),1).getDay()-1,s=t.getDate();o=1+Math.floor((s+i)/7)}else{let i=Bb(t),s=Gx(i.getFullYear()),a=i.getTime()-s.getTime();o=1+Math.round(a/6048e5)}return kt(o,e,ys(r,dn.MinusSign))}}function il(e,n=!1){return function(t,r){let i=Bb(t).getFullYear();return kt(i,e,ys(r,dn.MinusSign),n)}}var qh={};function Wx(e){if(qh[e])return qh[e];let n;switch(e){case"G":case"GG":case"GGG":n=ie(3,re.Abbreviated);break;case"GGGG":n=ie(3,re.Wide);break;case"GGGGG":n=ie(3,re.Narrow);break;case"y":n=Ee(0,1,0,!1,!0);break;case"yy":n=Ee(0,2,0,!0,!0);break;case"yyy":n=Ee(0,3,0,!1,!0);break;case"yyyy":n=Ee(0,4,0,!1,!0);break;case"Y":n=il(1);break;case"YY":n=il(2,!0);break;case"YYY":n=il(3);break;case"YYYY":n=il(4);break;case"M":case"L":n=Ee(1,1,1);break;case"MM":case"LL":n=Ee(1,2,1);break;case"MMM":n=ie(2,re.Abbreviated);break;case"MMMM":n=ie(2,re.Wide);break;case"MMMMM":n=ie(2,re.Narrow);break;case"LLL":n=ie(2,re.Abbreviated,Pe.Standalone);break;case"LLLL":n=ie(2,re.Wide,Pe.Standalone);break;case"LLLLL":n=ie(2,re.Narrow,Pe.Standalone);break;case"w":n=Wh(1);break;case"ww":n=Wh(2);break;case"W":n=Wh(1,!0);break;case"d":n=Ee(2,1);break;case"dd":n=Ee(2,2);break;case"c":case"cc":n=Ee(7,1);break;case"ccc":n=ie(1,re.Abbreviated,Pe.Standalone);break;case"cccc":n=ie(1,re.Wide,Pe.Standalone);break;case"ccccc":n=ie(1,re.Narrow,Pe.Standalone);break;case"cccccc":n=ie(1,re.Short,Pe.Standalone);break;case"E":case"EE":case"EEE":n=ie(1,re.Abbreviated);break;case"EEEE":n=ie(1,re.Wide);break;case"EEEEE":n=ie(1,re.Narrow);break;case"EEEEEE":n=ie(1,re.Short);break;case"a":case"aa":case"aaa":n=ie(0,re.Abbreviated);break;case"aaaa":n=ie(0,re.Wide);break;case"aaaaa":n=ie(0,re.Narrow);break;case"b":case"bb":case"bbb":n=ie(0,re.Abbreviated,Pe.Standalone,!0);break;case"bbbb":n=ie(0,re.Wide,Pe.Standalone,!0);break;case"bbbbb":n=ie(0,re.Narrow,Pe.Standalone,!0);break;case"B":case"BB":case"BBB":n=ie(0,re.Abbreviated,Pe.Format,!0);break;case"BBBB":n=ie(0,re.Wide,Pe.Format,!0);break;case"BBBBB":n=ie(0,re.Narrow,Pe.Format,!0);break;case"h":n=Ee(3,1,-12);break;case"hh":n=Ee(3,2,-12);break;case"H":n=Ee(3,1);break;case"HH":n=Ee(3,2);break;case"m":n=Ee(4,1);break;case"mm":n=Ee(4,2);break;case"s":n=Ee(5,1);break;case"ss":n=Ee(5,2);break;case"S":n=Ee(6,1);break;case"SS":n=Ee(6,2);break;case"SSS":n=Ee(6,3);break;case"Z":case"ZZ":case"ZZZ":n=ol(0);break;case"ZZZZZ":n=ol(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":n=ol(1);break;case"OOOO":case"ZZZZ":case"zzzz":n=ol(2);break;default:return null}return qh[e]=n,n}function Hb(e,n){e=e.replace(/:/g,"");let t=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(t)?n:t}function qx(e,n){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+n),e}function Yx(e,n,t){let o=e.getTimezoneOffset(),i=Hb(n,o);return qx(e,-1*(i-o))}function Zx(e){if(xb(e))return e;if(typeof e=="number"&&!isNaN(e))return new Date(e);if(typeof e=="string"){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){let[o,i=1,s=1]=e.split("-").map(a=>+a);return al(o,i-1,s)}let t=parseFloat(e);if(!isNaN(e-t))return new Date(t);let r;if(r=e.match(Lx))return Kx(r)}let n=new Date(e);if(!xb(n))throw new b(2311,!1);return n}function Kx(e){let n=new Date(0),t=0,r=0,o=e[8]?n.setUTCFullYear:n.setFullYear,i=e[8]?n.setUTCHours:n.setHours;e[9]&&(t=Number(e[9]+e[10]),r=Number(e[9]+e[11])),o.call(n,Number(e[1]),Number(e[2])-1,Number(e[3]));let s=Number(e[4]||0)-t,a=Number(e[5]||0)-r,c=Number(e[6]||0),l=Math.floor(parseFloat("0."+(e[7]||0))*1e3);return i.call(n,s,a,c,l),n}function xb(e){return e instanceof Date&&!isNaN(e.valueOf())}var Yh=/\s+/,Ab=[],Xx=(()=>{class e{_ngEl;_renderer;initialClasses=Ab;rawClass;stateMap=new Map;constructor(t,r){this._ngEl=t,this._renderer=r}set klass(t){this.initialClasses=t!=null?t.trim().split(Yh):Ab}set ngClass(t){this.rawClass=typeof t=="string"?t.trim().split(Yh):t}ngDoCheck(){for(let r of this.initialClasses)this._updateState(r,!0);let t=this.rawClass;if(Array.isArray(t)||t instanceof Set)for(let r of t)this._updateState(r,!0);else if(t!=null)for(let r of Object.keys(t))this._updateState(r,!!t[r]);this._applyStateDiff()}_updateState(t,r){let o=this.stateMap.get(t);o!==void 0?(o.enabled!==r&&(o.changed=!0,o.enabled=r),o.touched=!0):this.stateMap.set(t,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(let t of this.stateMap){let r=t[0],o=t[1];o.changed?(this._toggleClass(r,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),o.touched=!1}}_toggleClass(t,r){t=t.trim(),t.length>0&&t.split(Yh).forEach(o=>{r?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}static \u0275fac=function(r){return new(r||e)(H(B),H(Ke))};static \u0275dir=N({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})();var Qx=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;injector=f(O);constructor(t){this._viewContainerRef=t}ngOnChanges(t){if(this._shouldRecreateView(t)){let r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let o=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this._getInjector()})}}_getInjector(){return this.ngTemplateOutletInjector==="outlet"?this.injector:this.ngTemplateOutletInjector??void 0}_shouldRecreateView(t){return!!t.ngTemplateOutlet||!!t.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(t,r,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,r,o):!1,get:(t,r,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,o)}})}static \u0275fac=function(r){return new(r||e)(H(ot))};static \u0275dir=N({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[He]})}return e})();function Jx(e,n){return new b(2100,!1)}var eA="mediumDate",Ub=new g(""),$b=new g(""),tA=(()=>{class e{locale;defaultTimezone;defaultOptions;constructor(t,r,o){this.locale=t,this.defaultTimezone=r,this.defaultOptions=o}transform(t,r,o,i){if(t==null||t===""||t!==t)return null;try{let s=r??this.defaultOptions?.dateFormat??eA,a=o??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return jb(t,s,i||this.locale,a)}catch(s){throw Jx(e,s.message)}}static \u0275fac=function(r){return new(r||e)(H(fs,16),H(Ub,24),H($b,24))};static \u0275pipe=Hc({name:"date",type:e,pure:!0})}return e})();var nA=(()=>{class e{transform(t){return JSON.stringify(t,null,2)}static \u0275fac=function(r){return new(r||e)};static \u0275pipe=Hc({name:"json",type:e,pure:!1})}return e})();var zb=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=q({type:e});static \u0275inj=G({})}return e})();function _s(e,n){n=encodeURIComponent(n);for(let t of e.split(";")){let r=t.indexOf("="),[o,i]=r==-1?[t,""]:[t.slice(0,r),t.slice(r+1)];if(o.trim()===n)return decodeURIComponent(i)}return null}var Lr=class{};var Zh="browser";function Gb(e){return e===Zh}var bs=class{_doc;constructor(n){this._doc=n}manager},cl=(()=>{class e extends bs{constructor(t){super(t)}supports(t){return!0}addEventListener(t,r,o,i){return t.addEventListener(r,o,i),()=>this.removeEventListener(t,r,o,i)}removeEventListener(t,r,o,i){return t.removeEventListener(r,o,i)}static \u0275fac=function(r){return new(r||e)(T(x))};static \u0275prov=y({token:e,factory:e.\u0275fac})}return e})(),dl=new g(""),Jh=(()=>{class e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(t,r){this._zone=r,t.forEach(s=>{s.manager=this});let o=t.filter(s=>!(s instanceof cl));this._plugins=o.slice().reverse();let i=t.find(s=>s instanceof cl);i&&this._plugins.push(i)}addEventListener(t,r,o,i){return this._findPluginFor(r).addEventListener(t,r,o,i)}getZone(){return this._zone}_findPluginFor(t){let r=this._eventNameToPlugin.get(t);if(r)return r;if(r=this._plugins.find(i=>i.supports(t)),!r)throw new b(5101,!1);return this._eventNameToPlugin.set(t,r),r}static \u0275fac=function(r){return new(r||e)(T(dl),T(M))};static \u0275prov=y({token:e,factory:e.\u0275fac})}return e})(),Kh="ng-app-id";function Wb(e){for(let n of e)n.remove()}function qb(e,n){let t=n.createElement("style");return t.textContent=e,t}function oA(e,n,t,r){let o=e.head?.querySelectorAll(`style[${Kh}="${n}"],link[${Kh}="${n}"]`);if(o)for(let i of o)i.removeAttribute(Kh),i instanceof HTMLLinkElement?r.set(i.href.slice(i.href.lastIndexOf("/")+1),{usage:0,elements:[i]}):i.textContent&&t.set(i.textContent,{usage:0,elements:[i]})}function Qh(e,n){let t=n.createElement("link");return t.setAttribute("rel","stylesheet"),t.setAttribute("href",e),t}var ep=(()=>{class e{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(t,r,o,i={}){this.doc=t,this.appId=r,this.nonce=o,oA(t,r,this.inline,this.external),this.hosts.add(t.head)}addStyles(t,r){for(let o of t)this.addUsage(o,this.inline,qb);r?.forEach(o=>this.addUsage(o,this.external,Qh))}removeStyles(t,r){for(let o of t)this.removeUsage(o,this.inline);r?.forEach(o=>this.removeUsage(o,this.external))}addUsage(t,r,o){let i=r.get(t);i?i.usage++:r.set(t,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,o(t,this.doc)))})}removeUsage(t,r){let o=r.get(t);o&&(o.usage--,o.usage<=0&&(Wb(o.elements),r.delete(t)))}ngOnDestroy(){for(let[,{elements:t}]of[...this.inline,...this.external])Wb(t);this.hosts.clear()}addHost(t){this.hosts.add(t);for(let[r,{elements:o}]of this.inline)o.push(this.addElement(t,qb(r,this.doc)));for(let[r,{elements:o}]of this.external)o.push(this.addElement(t,Qh(r,this.doc)))}removeHost(t){this.hosts.delete(t)}addElement(t,r){return this.nonce&&r.setAttribute("nonce",this.nonce),t.appendChild(r)}static \u0275fac=function(r){return new(r||e)(T(x),T(zn),T(kr,8),T(Or))};static \u0275prov=y({token:e,factory:e.\u0275fac})}return e})(),Xh={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},tp=/%COMP%/g;var Zb="%COMP%",iA=`_nghost-${Zb}`,sA=`_ngcontent-${Zb}`,aA=!0,cA=new g("",{factory:()=>aA});function lA(e){return sA.replace(tp,e)}function uA(e){return iA.replace(tp,e)}function Kb(e,n){return n.map(t=>t.replace(tp,e))}var np=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;constructor(t,r,o,i,s,a,c=null,l=null){this.eventManager=t,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.ngZone=a,this.nonce=c,this.tracingService=l,this.defaultRenderer=new Ds(t,s,a,this.tracingService)}createRenderer(t,r){if(!t||!r)return this.defaultRenderer;let o=this.getOrCreateRenderer(t,r);return o instanceof ul?o.applyToHost(t):o instanceof Es&&o.applyStyles(),o}getOrCreateRenderer(t,r){let o=this.rendererByCompId,i=o.get(r.id);if(!i){let s=this.doc,a=this.ngZone,c=this.eventManager,l=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,d=this.tracingService;switch(r.encapsulation){case At.Emulated:i=new ul(c,l,r,this.appId,u,s,a,d);break;case At.ShadowDom:return new ll(c,t,r,s,a,this.nonce,d,l);case At.ExperimentalIsolatedShadowDom:return new ll(c,t,r,s,a,this.nonce,d);default:i=new Es(c,l,r,u,s,a,d);break}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(t){this.rendererByCompId.delete(t)}static \u0275fac=function(r){return new(r||e)(T(Jh),T(ep),T(zn),T(cA),T(x),T(M),T(kr),T(Nt,8))};static \u0275prov=y({token:e,factory:e.\u0275fac})}return e})(),Ds=class{eventManager;doc;ngZone;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(n,t,r,o){this.eventManager=n,this.doc=t,this.ngZone=r,this.tracingService=o}destroy(){}destroyNode=null;createElement(n,t){return t?this.doc.createElementNS(Xh[t]||t,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,t){(Yb(n)?n.content:n).appendChild(t)}insertBefore(n,t,r){n&&(Yb(n)?n.content:n).insertBefore(t,r)}removeChild(n,t){t.remove()}selectRootElement(n,t){let r=typeof n=="string"?this.doc.querySelector(n):n;if(!r)throw new b(-5104,!1);return t||(r.textContent=""),r}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,t,r,o){if(o){t=o+":"+t;let i=Xh[o];i?n.setAttributeNS(i,t,r):n.setAttribute(t,r)}else n.setAttribute(t,r)}removeAttribute(n,t,r){if(r){let o=Xh[r];o?n.removeAttributeNS(o,t):n.removeAttribute(`${r}:${t}`)}else n.removeAttribute(t)}addClass(n,t){n.classList.add(t)}removeClass(n,t){n.classList.remove(t)}setStyle(n,t,r,o){o&(Gt.DashCase|Gt.Important)?n.style.setProperty(t,r,o&Gt.Important?"important":""):n.style[t]=r}removeStyle(n,t,r){r&Gt.DashCase?n.style.removeProperty(t):n.style[t]=""}setProperty(n,t,r){n!=null&&(n[t]=r)}setValue(n,t){n.nodeValue=t}listen(n,t,r,o){if(typeof n=="string"&&(n=pt().getGlobalEventTarget(this.doc,n),!n))throw new b(5102,!1);let i=this.decoratePreventDefault(r);return this.tracingService?.wrapEventListener&&(i=this.tracingService.wrapEventListener(n,t,i)),this.eventManager.addEventListener(n,t,i,o)}decoratePreventDefault(n){return t=>{if(t==="__ngUnwrap__")return n;n(t)===!1&&t.preventDefault()}}};function Yb(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var ll=class extends Ds{hostEl;sharedStylesHost;shadowRoot;constructor(n,t,r,o,i,s,a,c){super(n,o,i,a),this.hostEl=t,this.sharedStylesHost=c,this.shadowRoot=t.attachShadow({mode:"open"}),this.sharedStylesHost&&this.sharedStylesHost.addHost(this.shadowRoot);let l=r.styles;l=Kb(r.id,l);for(let d of l){let h=document.createElement("style");s&&h.setAttribute("nonce",s),h.textContent=d,this.shadowRoot.appendChild(h)}let u=r.getExternalStyles?.();if(u)for(let d of u){let h=Qh(d,o);s&&h.setAttribute("nonce",s),this.shadowRoot.appendChild(h)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,t){return super.appendChild(this.nodeOrShadowRoot(n),t)}insertBefore(n,t,r){return super.insertBefore(this.nodeOrShadowRoot(n),t,r)}removeChild(n,t){return super.removeChild(null,t)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost&&this.sharedStylesHost.removeHost(this.shadowRoot)}},Es=class extends Ds{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(n,t,r,o,i,s,a,c){super(n,i,s,a),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=o;let l=r.styles;this.styles=c?Kb(c,l):l,this.styleUrls=r.getExternalStyles?.(c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&xr.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},ul=class extends Es{contentAttr;hostAttr;constructor(n,t,r,o,i,s,a,c){let l=o+"-"+r.id;super(n,t,r,i,s,a,c,l),this.contentAttr=lA(l),this.hostAttr=uA(l)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,t){let r=super.createElement(n,t);return super.setAttribute(r,this.contentAttr,""),r}};var fl=class e extends ps{supportsDOMEvents=!0;static makeCurrent(){zh(new e)}onAndCancel(n,t,r,o){return n.addEventListener(t,r,o),()=>{n.removeEventListener(t,r,o)}}dispatchEvent(n,t){n.dispatchEvent(t)}remove(n){n.remove()}createElement(n,t){return t=t||this.getDefaultDocument(),t.createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,t){return t==="window"?window:t==="document"?n:t==="body"?n.body:null}getBaseHref(n){let t=dA();return t==null?null:fA(t)}resetBaseElement(){Cs=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return _s(document.cookie,n)}},Cs=null;function dA(){return Cs=Cs||document.head.querySelector("base"),Cs?Cs.getAttribute("href"):null}function fA(e){return new URL(e,document.baseURI).pathname}var hA=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac})}return e})(),Xb=["alt","control","meta","shift"],pA={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},mA={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},Qb=(()=>{class e extends bs{constructor(t){super(t)}supports(t){return e.parseEventName(t)!=null}addEventListener(t,r,o,i){let s=e.parseEventName(r),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>pt().onAndCancel(t,s.domEventName,a,i))}static parseEventName(t){let r=t.toLowerCase().split("."),o=r.shift();if(r.length===0||!(o==="keydown"||o==="keyup"))return null;let i=e._normalizeKey(r.pop()),s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),Xb.forEach(l=>{let u=r.indexOf(l);u>-1&&(r.splice(u,1),s+=l+".")}),s+=i,r.length!=0||i.length===0)return null;let c={};return c.domEventName=o,c.fullKey=s,c}static matchEventFullKeyCode(t,r){let o=pA[t.key]||t.key,i="";return r.indexOf("code.")>-1&&(o=t.code,i="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),Xb.forEach(s=>{if(s!==o){let a=mA[s];a(t)&&(i+=s+".")}}),i+=o,i===r)}static eventCallback(t,r,o){return i=>{e.matchEventFullKeyCode(i,t)&&o.runGuarded(()=>r(i))}}static _normalizeKey(t){return t==="esc"?"escape":t}static \u0275fac=function(r){return new(r||e)(T(x))};static \u0275prov=y({token:e,factory:e.\u0275fac})}return e})();function gA(e,n,t){return vn(this,null,function*(){let r=E({rootComponent:e},vA(n,t));return Db(r)})}function vA(e,n){return{platformRef:n?.platformRef,appProviders:[...EA,...e?.providers??[]],platformProviders:DA}}function yA(){fl.makeCurrent()}function _A(){return new Oe}function bA(){return Lf(document),document}var DA=[{provide:Or,useValue:Zh},{provide:Sc,useValue:yA,multi:!0},{provide:x,useFactory:bA}];var EA=[{provide:Vi,useValue:"root"},{provide:Oe,useFactory:_A},{provide:dl,useClass:cl,multi:!0},{provide:dl,useClass:Qb,multi:!0},np,ep,Jh,{provide:Se,useExisting:np},{provide:Lr,useClass:hA},[]];var qn=class e{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(n){n?typeof n=="string"?this.lazyInit=()=>{this.headers=new Map,n.split(`
|