MARIJuANA
— DIOS — NO — CREA — NADA — EN — VANO —
Linux instance-20230208-1745 6.8.0-1013-oracle #13~22.04.1-Ubuntu SMP Mon Sep 2 13:02:56 UTC 2024 x86_64
  SOFT : Apache/2.4.52 (Ubuntu) PHP : 8.1.2-1ubuntu2.19
/var/www/civalerg/public_html/dashboard/browser/
10.0.0.135

 
[ NAME ] [ SIZE ] [ PERM ] [ DATE ] [ ACT ]
+FILE +DIR
assets dir drwxrwxr-x 2024-10-30 17:19 R D
auth dir drwxrwxr-x 2024-10-30 17:19 R D
dashboard dir drwxrwxr-x 2024-10-30 17:19 R D
media dir drwxrwxr-x 2024-10-30 17:19 R D
portal dir drwxrwxr-x 2024-10-30 17:19 R D
site dir drwxrwxr-x 2024-10-30 17:19 R D
chunk-222Q266U.js 62.126 KB -rw-rw-r-- 2024-10-30 17:19 R E G D
chunk-3EYC4JTX.js 1.646 KB -rw-rw-r-- 2024-10-30 17:19 R E G D
chunk-CXMRP46X.js 198.356 KB -rw-rw-r-- 2024-10-30 17:19 R E G D
chunk-D6MZSHB5.js 88.613 KB -rw-rw-r-- 2024-10-30 17:19 R E G D
chunk-DXZTD46J.js 34.279 KB -rw-rw-r-- 2024-10-30 17:19 R E G D
chunk-HJ7PD4N6.js 1.03 MB -rw-rw-r-- 2024-10-30 17:19 R E G D
chunk-JUEB6GHQ.js 33.201 KB -rw-rw-r-- 2024-10-30 17:19 R E G D
chunk-KLHI6CZJ.js 154.458 KB -rw-rw-r-- 2024-10-30 17:19 R E G D
chunk-LWQDPJB2.js 362.262 KB -rw-rw-r-- 2024-10-30 17:19 R E G D
chunk-MPASTIN6.js 3.569 KB -rw-rw-r-- 2024-10-30 17:19 R E G D
chunk-NAR64HV7.js 95.915 KB -rw-rw-r-- 2024-10-30 17:19 R E G D
chunk-PXG477XF.js 72.335 KB -rw-rw-r-- 2024-10-30 17:19 R E G D
chunk-QKF3YJUT.js 16.183 KB -rw-rw-r-- 2024-10-30 17:19 R E G D
chunk-ROQRZSCH.js 3.37 MB -rw-rw-r-- 2024-10-30 17:19 R E G D
chunk-RWQ5IE3B.js 21.899 KB -rw-rw-r-- 2024-10-30 17:19 R E G D
chunk-SZTLWYSY.js 0.339 KB -rw-rw-r-- 2024-10-30 17:19 R E G D
chunk-TGTI234M.js 350.489 KB -rw-rw-r-- 2024-10-30 17:19 R E G D
chunk-XPOLODZW.js 4.434 KB -rw-rw-r-- 2024-10-30 17:19 R E G D
chunk-YGIPYY45.js 24.447 KB -rw-rw-r-- 2024-10-30 17:19 R E G D
chunk-ZJC3DVEV.js 8.713 KB -rw-rw-r-- 2024-10-30 17:19 R E G D
favicon.ico 15.045 KB -rw-rw-r-- 2024-10-30 17:19 R E G D
index.html 64.761 KB -rw-rw-r-- 2024-10-30 17:19 R E G D
main-WSS53INI.js 59.629 KB -rw-rw-r-- 2024-10-30 17:19 R E G D
polyfills-BJX5WH5B.js 34.369 KB -rw-rw-r-- 2024-10-30 17:19 R E G D
scripts-IB64KNLE.js 314.47 KB -rw-rw-r-- 2024-10-30 17:19 R E G D
styles-KHQIJ7H6.css 436.929 KB -rw-rw-r-- 2024-10-30 17:19 R E G D
REQUEST EXIT
import{a as w,b as W,d as qf,j as yi}from"./chunk-3EYC4JTX.js";function vw(t,e){return Object.is(t,e)}var de=null,Yr=!1,Di=1,on=Symbol("SIGNAL");function V(t){let e=de;return de=t,e}function yw(){return Yr}var wi={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Zf(t){if(Yr)throw new Error("");if(de===null)return;de.consumerOnSignalRead(t);let e=de.nextProducerIndex++;if(or(de),et.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function Ci(t){or(t);for(let e=0;e0}function or(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function Xf(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function Cw(){throw new Error}var eh=Cw;function th(){eh()}function nh(t){eh=t}var Ew=null;function rh(t){let e=Object.create(ih);e.value=t;let r=()=>(Zf(e),e.value);return r[on]=e,r}function mu(t,e){Qf()||th(),t.equal(t.value,e)||(t.value=e,Iw(t))}function oh(t,e){Qf()||th(),mu(t,e(t.value))}var ih=W(w({},wi),{equal:vw,value:void 0});function Iw(t){t.version++,Dw(),Yf(t),Ew?.()}function sh(t,e,r){let n=Object.create(bw);r&&(n.consumerAllowSignalWrites=!0),n.fn=t,n.schedule=e;let o=u=>{n.cleanupFn=u};function i(u){return u.fn===null&&u.schedule===null}function s(u){i(u)||(gu(u),u.cleanupFn(),u.fn=null,u.schedule=null,u.cleanupFn=fu)}let a=()=>{if(n.fn===null)return;if(yw())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(n.dirty=!1,n.hasRun&&!Ci(n))return;n.hasRun=!0;let u=hu(n);try{n.cleanupFn(),n.cleanupFn=fu,n.fn(o)}finally{pu(n,u)}};return n.ref={notify:()=>Kf(n),run:a,cleanup:()=>n.cleanupFn(),destroy:()=>s(n),[on]:n},n.ref}var fu=()=>{},bw=W(w({},wi),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:t=>{t.schedule!==null&&t.schedule(t.ref)},hasRun:!1,cleanupFn:fu});function T(t){return typeof t=="function"}function ir(t){let r=t(n=>{Error.call(n),n.stack=new Error().stack});return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}var Ii=ir(t=>function(r){t(this),this.message=r?`${r.length} errors occurred during unsubscription: ${r.map((n,o)=>`${o+1}) ${n.toString()}`).join(` `)}`:"",this.name="UnsubscriptionError",this.errors=r});function Nn(t,e){if(t){let r=t.indexOf(e);0<=r&&t.splice(r,1)}}var ne=class t{constructor(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let e;if(!this.closed){this.closed=!0;let{_parentage:r}=this;if(r)if(this._parentage=null,Array.isArray(r))for(let i of r)i.remove(this);else r.remove(this);let{initialTeardown:n}=this;if(T(n))try{n()}catch(i){e=i instanceof Ii?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{ah(i)}catch(s){e=e??[],s instanceof Ii?e=[...e,...s.errors]:e.push(s)}}if(e)throw new Ii(e)}}add(e){var r;if(e&&e!==this)if(this.closed)ah(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(e)}}_hasParent(e){let{_parentage:r}=this;return r===e||Array.isArray(r)&&r.includes(e)}_addParent(e){let{_parentage:r}=this;this._parentage=Array.isArray(r)?(r.push(e),r):r?[r,e]:e}_removeParent(e){let{_parentage:r}=this;r===e?this._parentage=null:Array.isArray(r)&&Nn(r,e)}remove(e){let{_finalizers:r}=this;r&&Nn(r,e),e instanceof t&&e._removeParent(this)}};ne.EMPTY=(()=>{let t=new ne;return t.closed=!0,t})();var vu=ne.EMPTY;function bi(t){return t instanceof ne||t&&"closed"in t&&T(t.remove)&&T(t.add)&&T(t.unsubscribe)}function ah(t){T(t)?t():t.unsubscribe()}var rt={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var sr={setTimeout(t,e,...r){let{delegate:n}=sr;return n?.setTimeout?n.setTimeout(t,e,...r):setTimeout(t,e,...r)},clearTimeout(t){let{delegate:e}=sr;return(e?.clearTimeout||clearTimeout)(t)},delegate:void 0};function Mi(t){sr.setTimeout(()=>{let{onUnhandledError:e}=rt;if(e)e(t);else throw t})}function Ut(){}var uh=yu("C",void 0,void 0);function ch(t){return yu("E",void 0,t)}function lh(t){return yu("N",t,void 0)}function yu(t,e,r){return{kind:t,value:e,error:r}}var Rn=null;function ar(t){if(rt.useDeprecatedSynchronousErrorHandling){let e=!Rn;if(e&&(Rn={errorThrown:!1,error:null}),t(),e){let{errorThrown:r,error:n}=Rn;if(Rn=null,r)throw n}}else t()}function dh(t){rt.useDeprecatedSynchronousErrorHandling&&Rn&&(Rn.errorThrown=!0,Rn.error=t)}var On=class extends ne{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,bi(e)&&e.add(this)):this.destination=Sw}static create(e,r,n){return new $t(e,r,n)}next(e){this.isStopped?wu(lh(e),this):this._next(e)}error(e){this.isStopped?wu(ch(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?wu(uh,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(e){this.destination.next(e)}_error(e){try{this.destination.error(e)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},Mw=Function.prototype.bind;function Du(t,e){return Mw.call(t,e)}var Cu=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:r}=this;if(r.next)try{r.next(e)}catch(n){_i(n)}}error(e){let{partialObserver:r}=this;if(r.error)try{r.error(e)}catch(n){_i(n)}else _i(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(r){_i(r)}}},$t=class extends On{constructor(e,r,n){super();let o;if(T(e)||!e)o={next:e??void 0,error:r??void 0,complete:n??void 0};else{let i;this&&rt.useDeprecatedNextContext?(i=Object.create(e),i.unsubscribe=()=>this.unsubscribe(),o={next:e.next&&Du(e.next,i),error:e.error&&Du(e.error,i),complete:e.complete&&Du(e.complete,i)}):o=e}this.destination=new Cu(o)}};function _i(t){rt.useDeprecatedSynchronousErrorHandling?dh(t):Mi(t)}function _w(t){throw t}function wu(t,e){let{onStoppedNotification:r}=rt;r&&sr.setTimeout(()=>r(t,e))}var Sw={closed:!0,next:Ut,error:_w,complete:Ut};var ur=typeof Symbol=="function"&&Symbol.observable||"@@observable";function ge(t){return t}function Eu(...t){return Iu(t)}function Iu(t){return t.length===0?ge:t.length===1?t[0]:function(r){return t.reduce((n,o)=>o(n),r)}}var O=(()=>{class t{constructor(r){r&&(this._subscribe=r)}lift(r){let n=new t;return n.source=this,n.operator=r,n}subscribe(r,n,o){let i=Aw(r)?r:new $t(r,n,o);return ar(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(r){try{return this._subscribe(r)}catch(n){r.error(n)}}forEach(r,n){return n=fh(n),new n((o,i)=>{let s=new $t({next:a=>{try{r(a)}catch(u){i(u),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(r){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(r)}[ur](){return this}pipe(...r){return Iu(r)(this)}toPromise(r){return r=fh(r),new r((n,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>n(i))})}}return t.create=e=>new t(e),t})();function fh(t){var e;return(e=t??rt.Promise)!==null&&e!==void 0?e:Promise}function Tw(t){return t&&T(t.next)&&T(t.error)&&T(t.complete)}function Aw(t){return t&&t instanceof On||Tw(t)&&bi(t)}function bu(t){return T(t?.lift)}function A(t){return e=>{if(bu(e))return e.lift(function(r){try{return t(r,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}function b(t,e,r,n,o){return new Mu(t,e,r,n,o)}var Mu=class extends On{constructor(e,r,n,o,i,s){super(e),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=r?function(a){try{r(a)}catch(u){e.error(u)}}:super._next,this._error=o?function(a){try{o(a)}catch(u){e.error(u)}finally{this.unsubscribe()}}:super._error,this._complete=n?function(){try{n()}catch(a){e.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:r}=this;super.unsubscribe(),!r&&((e=this.onFinalize)===null||e===void 0||e.call(this))}}};function cr(){return A((t,e)=>{let r=null;t._refCount++;let n=b(e,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount){r=null;return}let o=t._connection,i=r;r=null,o&&(!i||o===i)&&o.unsubscribe(),e.unsubscribe()});t.subscribe(n),n.closed||(r=t.connect())})}var lr=class extends O{constructor(e,r){super(),this.source=e,this.subjectFactory=r,this._subject=null,this._refCount=0,this._connection=null,bu(e)&&(this.lift=e.lift)}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){let e=this._subject;return(!e||e.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:e}=this;this._subject=this._connection=null,e?.unsubscribe()}connect(){let e=this._connection;if(!e){e=this._connection=new ne;let r=this.getSubject();e.add(this.source.subscribe(b(r,void 0,()=>{this._teardown(),r.complete()},n=>{this._teardown(),r.error(n)},()=>this._teardown()))),e.closed&&(this._connection=null,e=ne.EMPTY)}return e}refCount(){return cr()(this)}};var dr={schedule(t){let e=requestAnimationFrame,r=cancelAnimationFrame,{delegate:n}=dr;n&&(e=n.requestAnimationFrame,r=n.cancelAnimationFrame);let o=e(i=>{r=void 0,t(i)});return new ne(()=>r?.(o))},requestAnimationFrame(...t){let{delegate:e}=dr;return(e?.requestAnimationFrame||requestAnimationFrame)(...t)},cancelAnimationFrame(...t){let{delegate:e}=dr;return(e?.cancelAnimationFrame||cancelAnimationFrame)(...t)},delegate:void 0};var hh=ir(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var ie=(()=>{class t extends O{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(r){let n=new Si(this,this);return n.operator=r,n}_throwIfClosed(){if(this.closed)throw new hh}next(r){ar(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let n of this.currentObservers)n.next(r)}})}error(r){ar(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=r;let{observers:n}=this;for(;n.length;)n.shift().error(r)}})}complete(){ar(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:r}=this;for(;r.length;)r.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var r;return((r=this.observers)===null||r===void 0?void 0:r.length)>0}_trySubscribe(r){return this._throwIfClosed(),super._trySubscribe(r)}_subscribe(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)}_innerSubscribe(r){let{hasError:n,isStopped:o,observers:i}=this;return n||o?vu:(this.currentObservers=null,i.push(r),new ne(()=>{this.currentObservers=null,Nn(i,r)}))}_checkFinalizedStatuses(r){let{hasError:n,thrownError:o,isStopped:i}=this;n?r.error(o):i&&r.complete()}asObservable(){let r=new O;return r.source=this,r}}return t.create=(e,r)=>new Si(e,r),t})(),Si=class extends ie{constructor(e,r){super(),this.destination=e,this.source=r}next(e){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.next)===null||n===void 0||n.call(r,e)}error(e){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.error)===null||n===void 0||n.call(r,e)}complete(){var e,r;(r=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||r===void 0||r.call(e)}_subscribe(e){var r,n;return(n=(r=this.source)===null||r===void 0?void 0:r.subscribe(e))!==null&&n!==void 0?n:vu}};var me=class extends ie{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){let r=super._subscribe(e);return!r.closed&&e.next(this._value),r}getValue(){let{hasError:e,thrownError:r,_value:n}=this;if(e)throw r;return this._throwIfClosed(),n}next(e){super.next(this._value=e)}};var Kr={now(){return(Kr.delegate||Date).now()},delegate:void 0};var Jr=class extends ie{constructor(e=1/0,r=1/0,n=Kr){super(),this._bufferSize=e,this._windowTime=r,this._timestampProvider=n,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=r===1/0,this._bufferSize=Math.max(1,e),this._windowTime=Math.max(1,r)}next(e){let{isStopped:r,_buffer:n,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;r||(n.push(e),!o&&n.push(i.now()+s)),this._trimBuffer(),super.next(e)}_subscribe(e){this._throwIfClosed(),this._trimBuffer();let r=this._innerSubscribe(e),{_infiniteTimeWindow:n,_buffer:o}=this,i=o.slice();for(let s=0;sph(e)&&t()),e},clearImmediate(t){ph(t)}};var{setImmediate:Nw,clearImmediate:Rw}=gh,eo={setImmediate(...t){let{delegate:e}=eo;return(e?.setImmediate||Nw)(...t)},clearImmediate(t){let{delegate:e}=eo;return(e?.clearImmediate||Rw)(t)},delegate:void 0};var Ai=class extends sn{constructor(e,r){super(e,r),this.scheduler=e,this.work=r}requestAsyncId(e,r,n=0){return n!==null&&n>0?super.requestAsyncId(e,r,n):(e.actions.push(this),e._scheduled||(e._scheduled=eo.setImmediate(e.flush.bind(e,void 0))))}recycleAsyncId(e,r,n=0){var o;if(n!=null?n>0:this.delay>0)return super.recycleAsyncId(e,r,n);let{actions:i}=e;r!=null&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==r&&(eo.clearImmediate(r),e._scheduled===r&&(e._scheduled=void 0))}};var fr=class t{constructor(e,r=t.now){this.schedulerActionCtor=e,this.now=r}schedule(e,r=0,n){return new this.schedulerActionCtor(this,e).schedule(n,r)}};fr.now=Kr.now;var an=class extends fr{constructor(e,r=fr.now){super(e,r),this.actions=[],this._active=!1}flush(e){let{actions:r}=this;if(this._active){r.push(e);return}let n;this._active=!0;do if(n=e.execute(e.state,e.delay))break;while(e=r.shift());if(this._active=!1,n){for(;e=r.shift();)e.unsubscribe();throw n}}};var xi=class extends an{flush(e){this._active=!0;let r=this._scheduled;this._scheduled=void 0;let{actions:n}=this,o;e=e||n.shift();do if(o=e.execute(e.state,e.delay))break;while((e=n[0])&&e.id===r&&n.shift());if(this._active=!1,o){for(;(e=n[0])&&e.id===r&&n.shift();)e.unsubscribe();throw o}}};var Ow=new xi(Ai);var Bt=new an(sn),mh=Bt;var Ni=class extends sn{constructor(e,r){super(e,r),this.scheduler=e,this.work=r}requestAsyncId(e,r,n=0){return n!==null&&n>0?super.requestAsyncId(e,r,n):(e.actions.push(this),e._scheduled||(e._scheduled=dr.requestAnimationFrame(()=>e.flush(void 0))))}recycleAsyncId(e,r,n=0){var o;if(n!=null?n>0:this.delay>0)return super.recycleAsyncId(e,r,n);let{actions:i}=e;r!=null&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==r&&(dr.cancelAnimationFrame(r),e._scheduled=void 0)}};var Ri=class extends an{flush(e){this._active=!0;let r=this._scheduled;this._scheduled=void 0;let{actions:n}=this,o;e=e||n.shift();do if(o=e.execute(e.state,e.delay))break;while((e=n[0])&&e.id===r&&n.shift());if(this._active=!1,o){for(;(e=n[0])&&e.id===r&&n.shift();)e.unsubscribe();throw o}}};var Fw=new Ri(Ni);var ve=new O(t=>t.complete());function Oi(t){return t&&T(t.schedule)}function Tu(t){return t[t.length-1]}function un(t){return T(Tu(t))?t.pop():void 0}function It(t){return Oi(Tu(t))?t.pop():void 0}function vh(t,e){return typeof Tu(t)=="number"?t.pop():e}function Dh(t,e,r,n){function o(i){return i instanceof r?i:new r(function(s){s(i)})}return new(r||(r=Promise))(function(i,s){function a(l){try{c(n.next(l))}catch(d){s(d)}}function u(l){try{c(n.throw(l))}catch(d){s(d)}}function c(l){l.done?i(l.value):o(l.value).then(a,u)}c((n=n.apply(t,e||[])).next())})}function yh(t){var e=typeof Symbol=="function"&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function Fn(t){return this instanceof Fn?(this.v=t,this):new Fn(t)}function wh(t,e,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r.apply(t,e||[]),o,i=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(f){n[f]&&(o[f]=function(h){return new Promise(function(p,D){i.push([f,h,p,D])>1||a(f,h)})})}function a(f,h){try{u(n[f](h))}catch(p){d(i[0][3],p)}}function u(f){f.value instanceof Fn?Promise.resolve(f.value.v).then(c,l):d(i[0][2],f)}function c(f){a("next",f)}function l(f){a("throw",f)}function d(f,h){f(h),i.shift(),i.length&&a(i[0][0],i[0][1])}}function Ch(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],r;return e?e.call(t):(t=typeof yh=="function"?yh(t):t[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(i){r[i]=t[i]&&function(s){return new Promise(function(a,u){s=t[i](s),o(a,u,s.done,s.value)})}}function o(i,s,a,u){Promise.resolve(u).then(function(c){i({value:c,done:a})},s)}}var hr=t=>t&&typeof t.length=="number"&&typeof t!="function";function Fi(t){return T(t?.then)}function Pi(t){return T(t[ur])}function ki(t){return Symbol.asyncIterator&&T(t?.[Symbol.asyncIterator])}function Li(t){return new TypeError(`You provided ${t!==null&&typeof t=="object"?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function Pw(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Vi=Pw();function ji(t){return T(t?.[Vi])}function Ui(t){return wh(this,arguments,function*(){let r=t.getReader();try{for(;;){let{value:n,done:o}=yield Fn(r.read());if(o)return yield Fn(void 0);yield yield Fn(n)}}finally{r.releaseLock()}})}function $i(t){return T(t?.getReader)}function k(t){if(t instanceof O)return t;if(t!=null){if(Pi(t))return kw(t);if(hr(t))return Lw(t);if(Fi(t))return Vw(t);if(ki(t))return Eh(t);if(ji(t))return jw(t);if($i(t))return Uw(t)}throw Li(t)}function kw(t){return new O(e=>{let r=t[ur]();if(T(r.subscribe))return r.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Lw(t){return new O(e=>{for(let r=0;r{t.then(r=>{e.closed||(e.next(r),e.complete())},r=>e.error(r)).then(null,Mi)})}function jw(t){return new O(e=>{for(let r of t)if(e.next(r),e.closed)return;e.complete()})}function Eh(t){return new O(e=>{$w(t,e).catch(r=>e.error(r))})}function Uw(t){return Eh(Ui(t))}function $w(t,e){var r,n,o,i;return Dh(this,void 0,void 0,function*(){try{for(r=Ch(t);n=yield r.next(),!n.done;){let s=n.value;if(e.next(s),e.closed)return}}catch(s){o={error:s}}finally{try{n&&!n.done&&(i=r.return)&&(yield i.call(r))}finally{if(o)throw o.error}}e.complete()})}function Fe(t,e,r,n=0,o=!1){let i=e.schedule(function(){r(),o?t.add(this.schedule(null,n)):this.unsubscribe()},n);if(t.add(i),!o)return i}function Bi(t,e=0){return A((r,n)=>{r.subscribe(b(n,o=>Fe(n,t,()=>n.next(o),e),()=>Fe(n,t,()=>n.complete(),e),o=>Fe(n,t,()=>n.error(o),e)))})}function Hi(t,e=0){return A((r,n)=>{n.add(t.schedule(()=>r.subscribe(n),e))})}function Ih(t,e){return k(t).pipe(Hi(e),Bi(e))}function bh(t,e){return k(t).pipe(Hi(e),Bi(e))}function Mh(t,e){return new O(r=>{let n=0;return e.schedule(function(){n===t.length?r.complete():(r.next(t[n++]),r.closed||this.schedule())})})}function _h(t,e){return new O(r=>{let n;return Fe(r,e,()=>{n=t[Vi](),Fe(r,e,()=>{let o,i;try{({value:o,done:i}=n.next())}catch(s){r.error(s);return}i?r.complete():r.next(o)},0,!0)}),()=>T(n?.return)&&n.return()})}function zi(t,e){if(!t)throw new Error("Iterable cannot be null");return new O(r=>{Fe(r,e,()=>{let n=t[Symbol.asyncIterator]();Fe(r,e,()=>{n.next().then(o=>{o.done?r.complete():r.next(o.value)})},0,!0)})})}function Sh(t,e){return zi(Ui(t),e)}function Th(t,e){if(t!=null){if(Pi(t))return Ih(t,e);if(hr(t))return Mh(t,e);if(Fi(t))return bh(t,e);if(ki(t))return zi(t,e);if(ji(t))return _h(t,e);if($i(t))return Sh(t,e)}throw Li(t)}function q(t,e){return e?Th(t,e):k(t)}function M(...t){let e=It(t);return q(t,e)}function pr(t,e){let r=T(t)?t:()=>t,n=o=>o.error(r());return new O(e?o=>e.schedule(n,0,o):n)}function Au(t){return!!t&&(t instanceof O||T(t.lift)&&T(t.subscribe))}var ot=ir(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});function Bw(t,e){let r=typeof e=="object";return new Promise((n,o)=>{let i=!1,s;t.subscribe({next:a=>{s=a,i=!0},error:o,complete:()=>{i?n(s):r?n(e.defaultValue):o(new ot)}})})}function Ah(t){return t instanceof Date&&!isNaN(t)}function F(t,e){return A((r,n)=>{let o=0;r.subscribe(b(n,i=>{n.next(t.call(e,i,o++))}))})}var{isArray:Hw}=Array;function zw(t,e){return Hw(e)?t(...e):t(e)}function gr(t){return F(e=>zw(t,e))}var{isArray:Gw}=Array,{getPrototypeOf:Ww,prototype:qw,keys:Zw}=Object;function Gi(t){if(t.length===1){let e=t[0];if(Gw(e))return{args:e,keys:null};if(Yw(e)){let r=Zw(e);return{args:r.map(n=>e[n]),keys:r}}}return{args:t,keys:null}}function Yw(t){return t&&typeof t=="object"&&Ww(t)===qw}function Wi(t,e){return t.reduce((r,n,o)=>(r[n]=e[o],r),{})}function to(...t){let e=It(t),r=un(t),{args:n,keys:o}=Gi(t);if(n.length===0)return q([],e);let i=new O(Qw(n,e,o?s=>Wi(o,s):ge));return r?i.pipe(gr(r)):i}function Qw(t,e,r=ge){return n=>{xh(e,()=>{let{length:o}=t,i=new Array(o),s=o,a=o;for(let u=0;u{let c=q(t[u],e),l=!1;c.subscribe(b(n,d=>{i[u]=d,l||(l=!0,a--),a||n.next(r(i.slice()))},()=>{--s||n.complete()}))},n)},n)}}function xh(t,e,r){t?Fe(r,t,e):e()}function Nh(t,e,r,n,o,i,s,a){let u=[],c=0,l=0,d=!1,f=()=>{d&&!u.length&&!c&&e.complete()},h=D=>c{i&&e.next(D),c++;let v=!1;k(r(D,l++)).subscribe(b(e,m=>{o?.(m),i?h(m):e.next(m)},()=>{v=!0},void 0,()=>{if(v)try{for(c--;u.length&&cp(m)):p(m)}f()}catch(m){e.error(m)}}))};return t.subscribe(b(e,h,()=>{d=!0,f()})),()=>{a?.()}}function te(t,e,r=1/0){return T(e)?te((n,o)=>F((i,s)=>e(n,i,o,s))(k(t(n,o))),r):(typeof e=="number"&&(r=e),A((n,o)=>Nh(n,o,t,r)))}function bt(t=1/0){return te(ge,t)}function Rh(){return bt(1)}function Mt(...t){return Rh()(q(t,It(t)))}function qi(t){return new O(e=>{k(t()).subscribe(e)})}function xu(...t){let e=un(t),{args:r,keys:n}=Gi(t),o=new O(i=>{let{length:s}=r;if(!s){i.complete();return}let a=new Array(s),u=s,c=s;for(let l=0;l{d||(d=!0,c--),a[l]=f},()=>u--,void 0,()=>{(!u||!d)&&(c||i.next(n?Wi(n,a):a),i.complete())}))}});return e?o.pipe(gr(e)):o}var Kw=["addListener","removeListener"],Jw=["addEventListener","removeEventListener"],Xw=["on","off"];function Nu(t,e,r,n){if(T(r)&&(n=r,r=void 0),n)return Nu(t,e,r).pipe(gr(n));let[o,i]=nC(t)?Jw.map(s=>a=>t[s](e,a,r)):eC(t)?Kw.map(Oh(t,e)):tC(t)?Xw.map(Oh(t,e)):[];if(!o&&hr(t))return te(s=>Nu(s,e,r))(k(t));if(!o)throw new TypeError("Invalid event target");return new O(s=>{let a=(...u)=>s.next(1i(a)})}function Oh(t,e){return r=>n=>t[r](e,n)}function eC(t){return T(t.addListener)&&T(t.removeListener)}function tC(t){return T(t.on)&&T(t.off)}function nC(t){return T(t.addEventListener)&&T(t.removeEventListener)}function Pn(t=0,e,r=mh){let n=-1;return e!=null&&(Oi(e)?r=e:n=e),new O(o=>{let i=Ah(t)?+t-r.now():t;i<0&&(i=0);let s=0;return r.schedule(function(){o.closed||(o.next(s++),0<=n?this.schedule(void 0,n):o.complete())},i)})}function rC(t=0,e=Bt){return t<0&&(t=0),Pn(t,t,e)}function oC(...t){let e=It(t),r=vh(t,1/0),n=t;return n.length?n.length===1?k(n[0]):bt(r)(q(n,e)):ve}var{isArray:iC}=Array;function Zi(t){return t.length===1&&iC(t[0])?t[0]:t}function Ie(t,e){return A((r,n)=>{let o=0;r.subscribe(b(n,i=>t.call(e,i,o++)&&n.next(i)))})}function sC(...t){return t=Zi(t),t.length===1?k(t[0]):new O(aC(t))}function aC(t){return e=>{let r=[];for(let n=0;r&&!e.closed&&n{if(r){for(let i=0;i{let o=r.map(()=>[]),i=r.map(()=>!1);n.add(()=>{o=i=null});for(let s=0;!n.closed&&s{if(o[s].push(a),o.every(u=>u.length)){let u=o.map(c=>c.shift());n.next(e?e(...u):u),o.some((c,l)=>!c.length&&i[l])&&n.complete()}},()=>{i[s]=!0,!o[s].length&&n.complete()}));return()=>{o=i=null}}):ve}function Fh(t){return A((e,r)=>{let n=!1,o=null,i=null,s=!1,a=()=>{if(i?.unsubscribe(),i=null,n){n=!1;let c=o;o=null,r.next(c)}s&&r.complete()},u=()=>{i=null,s&&r.complete()};e.subscribe(b(r,c=>{n=!0,o=c,i||k(t(c)).subscribe(i=b(r,a,u))},()=>{s=!0,(!n||!i||i.closed)&&r.complete()}))})}function cC(t,e=Bt){return Fh(()=>Pn(t,e))}function Ht(t){return A((e,r)=>{let n=null,o=!1,i;n=e.subscribe(b(r,void 0,void 0,s=>{i=k(t(s,Ht(t)(e))),n?(n.unsubscribe(),n=null,i.subscribe(r)):o=!0})),o&&(n.unsubscribe(),n=null,i.subscribe(r))})}function Ph(t,e,r,n,o){return(i,s)=>{let a=r,u=e,c=0;i.subscribe(b(s,l=>{let d=c++;u=a?t(u,l,d):(a=!0,l),n&&s.next(u)},o&&(()=>{a&&s.next(u),s.complete()})))}}function _t(t,e){return T(e)?te(t,e,1):te(t,1)}function lC(t,e=Bt){return A((r,n)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let c=i;i=null,n.next(c)}};function u(){let c=s+t,l=e.now();if(l{i=c,s=e.now(),o||(o=e.schedule(u,t),n.add(o))},()=>{a(),n.complete()},void 0,()=>{i=o=null}))})}function cn(t){return A((e,r)=>{let n=!1;e.subscribe(b(r,o=>{n=!0,r.next(o)},()=>{n||r.next(t),r.complete()}))})}function Be(t){return t<=0?()=>ve:A((e,r)=>{let n=0;e.subscribe(b(r,o=>{++n<=t&&(r.next(o),t<=n&&r.complete())}))})}function kh(){return A((t,e)=>{t.subscribe(b(e,Ut))})}function no(t){return F(()=>t)}function Ru(t,e){return e?r=>Mt(e.pipe(Be(1),kh()),r.pipe(Ru(t))):te((r,n)=>k(t(r,n)).pipe(Be(1),no(r)))}function dC(t,e=Bt){let r=Pn(t,e);return Ru(()=>r)}function fC(t,e=ge){return t=t??hC,A((r,n)=>{let o,i=!0;r.subscribe(b(n,s=>{let a=e(s);(i||!t(o,a))&&(i=!1,o=a,n.next(s))}))})}function hC(t,e){return t===e}function Yi(t=pC){return A((e,r)=>{let n=!1;e.subscribe(b(r,o=>{n=!0,r.next(o)},()=>n?r.complete():r.error(t())))})}function pC(){return new ot}function gC(...t){return e=>Mt(e,M(...t))}function zt(t){return A((e,r)=>{try{e.subscribe(r)}finally{r.add(t)}})}function it(t,e){let r=arguments.length>=2;return n=>n.pipe(t?Ie((o,i)=>t(o,i,n)):ge,Be(1),r?cn(e):Yi(()=>new ot))}function mr(t){return t<=0?()=>ve:A((e,r)=>{let n=[];e.subscribe(b(r,o=>{n.push(o),t{for(let o of n)r.next(o);r.complete()},void 0,()=>{n=null}))})}function Ou(t,e){let r=arguments.length>=2;return n=>n.pipe(t?Ie((o,i)=>t(o,i,n)):ge,mr(1),r?cn(e):Yi(()=>new ot))}function Fu(t,e){return A(Ph(t,e,arguments.length>=2,!0))}function ku(t={}){let{connector:e=()=>new ie,resetOnError:r=!0,resetOnComplete:n=!0,resetOnRefCountZero:o=!0}=t;return i=>{let s,a,u,c=0,l=!1,d=!1,f=()=>{a?.unsubscribe(),a=void 0},h=()=>{f(),s=u=void 0,l=d=!1},p=()=>{let D=s;h(),D?.unsubscribe()};return A((D,v)=>{c++,!d&&!l&&f();let m=u=u??e();v.add(()=>{c--,c===0&&!d&&!l&&(a=Pu(p,o))}),m.subscribe(v),!s&&c>0&&(s=new $t({next:U=>m.next(U),error:U=>{d=!0,f(),a=Pu(h,r,U),m.error(U)},complete:()=>{l=!0,f(),a=Pu(h,n),m.complete()}}),k(D).subscribe(s))})(i)}}function Pu(t,e,...r){if(e===!0){t();return}if(e===!1)return;let n=new $t({next:()=>{n.unsubscribe(),t()}});return k(e(...r)).subscribe(n)}function mC(t,e,r){let n,o=!1;return t&&typeof t=="object"?{bufferSize:n=1/0,windowTime:e=1/0,refCount:o=!1,scheduler:r}=t:n=t??1/0,ku({connector:()=>new Jr(n,e,r),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function vC(t){return Ie((e,r)=>t<=r)}function Lu(...t){let e=It(t);return A((r,n)=>{(e?Mt(t,r,e):Mt(t,r)).subscribe(n)})}function Pe(t,e){return A((r,n)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&n.complete();r.subscribe(b(n,u=>{o?.unsubscribe();let c=0,l=i++;k(t(u,l)).subscribe(o=b(n,d=>n.next(e?e(u,d,l,c++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Vu(t){return A((e,r)=>{k(t).subscribe(b(r,()=>r.complete(),Ut)),!r.closed&&e.subscribe(r)})}function yC(t,e=!1){return A((r,n)=>{let o=0;r.subscribe(b(n,i=>{let s=t(i,o++);(s||e)&&n.next(i),!s&&n.complete()}))})}function se(t,e,r){let n=T(t)||e||r?{next:t,error:e,complete:r}:t;return n?A((o,i)=>{var s;(s=n.subscribe)===null||s===void 0||s.call(n);let a=!0;o.subscribe(b(i,u=>{var c;(c=n.next)===null||c===void 0||c.call(n,u),i.next(u)},()=>{var u;a=!1,(u=n.complete)===null||u===void 0||u.call(n),i.complete()},u=>{var c;a=!1,(c=n.error)===null||c===void 0||c.call(n,u),i.error(u)},()=>{var u,c;a&&((u=n.unsubscribe)===null||u===void 0||u.call(n)),(c=n.finalize)===null||c===void 0||c.call(n)}))}):ge}function DC(...t){let e=un(t);return A((r,n)=>{let o=t.length,i=new Array(o),s=t.map(()=>!1),a=!1;for(let u=0;u{i[u]=c,!a&&!s[u]&&(s[u]=!0,(a=s.every(ge))&&(s=null))},Ut));r.subscribe(b(n,u=>{if(a){let c=[u,...i];n.next(e?e(...c):c)}}))})}var _p="https://g.co/ng/security#xss",C=class extends Error{constructor(e,r){super(Ps(e,r)),this.code=e}};function Ps(t,e){return`${`NG0${Math.abs(t)}`}${e?": "+e:""}`}function Eo(t){return{toString:t}.toString()}var Qi="__parameters__";function wC(t){return function(...r){if(t){let n=t(...r);for(let o in n)this[o]=n[o]}}}function Sp(t,e,r){return Eo(()=>{let n=wC(e);function o(...i){if(this instanceof o)return n.apply(this,i),this;let s=new o(...i);return a.annotation=s,a;function a(u,c,l){let d=u.hasOwnProperty(Qi)?u[Qi]:Object.defineProperty(u,Qi,{value:[]})[Qi];for(;d.length<=l;)d.push(null);return(d[l]=d[l]||[]).push(s),u}}return r&&(o.prototype=Object.create(r.prototype)),o.prototype.ngMetadataName=t,o.annotationCls=o,o})}var He=globalThis;function Z(t){for(let e in t)if(t[e]===Z)return e;throw Error("Could not find renamed property on target object.")}function CC(t,e){for(let r in e)e.hasOwnProperty(r)&&!t.hasOwnProperty(r)&&(t[r]=e[r])}function xe(t){if(typeof t=="string")return t;if(Array.isArray(t))return"["+t.map(xe).join(", ")+"]";if(t==null)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;let e=t.toString();if(e==null)return""+e;let r=e.indexOf(` `);return r===-1?e:e.substring(0,r)}function nc(t,e){return t==null||t===""?e===null?"":e:e==null||e===""?t:t+" "+e}var EC=Z({__forward_ref__:Z});function Me(t){return t.__forward_ref__=Me,t.toString=function(){return xe(this())},t}function Te(t){return Tp(t)?t():t}function Tp(t){return typeof t=="function"&&t.hasOwnProperty(EC)&&t.__forward_ref__===Me}function I(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function ft(t){return{providers:t.providers||[],imports:t.imports||[]}}function ks(t){return Lh(t,xp)||Lh(t,Np)}function Ap(t){return ks(t)!==null}function Lh(t,e){return t.hasOwnProperty(e)?t[e]:null}function IC(t){let e=t&&(t[xp]||t[Np]);return e||null}function Vh(t){return t&&(t.hasOwnProperty(jh)||t.hasOwnProperty(bC))?t[jh]:null}var xp=Z({\u0275prov:Z}),jh=Z({\u0275inj:Z}),Np=Z({ngInjectableDef:Z}),bC=Z({ngInjectorDef:Z}),E=class{constructor(e,r){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof r=="number"?this.__NG_ELEMENT_ID__=r:r!==void 0&&(this.\u0275prov=I({token:this,providedIn:r.providedIn||"root",factory:r.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Rp(t){return t&&!!t.\u0275providers}var MC=Z({\u0275cmp:Z}),_C=Z({\u0275dir:Z}),SC=Z({\u0275pipe:Z}),TC=Z({\u0275mod:Z}),ds=Z({\u0275fac:Z}),oo=Z({__NG_ELEMENT_ID__:Z}),Uh=Z({__NG_ENV_ID__:Z});function ye(t){return typeof t=="string"?t:t==null?"":String(t)}function AC(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():ye(t)}function xC(t,e){let r=e?`. Dependency path: ${e.join(" > ")} > ${t}`:"";throw new C(-200,t)}function yl(t,e){throw new C(-201,!1)}var L=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}(L||{}),rc;function Op(){return rc}function ke(t){let e=rc;return rc=t,e}function Fp(t,e,r){let n=ks(t);if(n&&n.providedIn=="root")return n.value===void 0?n.value=n.factory():n.value;if(r&L.Optional)return null;if(e!==void 0)return e;yl(t,"Injector")}var NC={},so=NC,oc="__NG_DI_FLAG__",fs="ngTempTokenPath",RC="ngTokenPath",OC=/\n/gm,FC="\u0275",$h="__source",Cr;function PC(){return Cr}function ln(t){let e=Cr;return Cr=t,e}function kC(t,e=L.Default){if(Cr===void 0)throw new C(-203,!1);return Cr===null?Fp(t,void 0,e):Cr.get(t,e&L.Optional?null:void 0,e)}function _(t,e=L.Default){return(Op()||kC)(Te(t),e)}function g(t,e=L.Default){return _(t,Ls(e))}function Ls(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function ic(t){let e=[];for(let r=0;r ");else if(typeof e=="object"){let i=[];for(let s in e)if(e.hasOwnProperty(s)){let a=e[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):xe(a)))}o=`{${i.join(", ")}}`}return`${r}${n?"("+n+")":""}[${o}]: ${t.replace(OC,` `)}`}var Io=Pp(Sp("Optional"),8);var Vs=Pp(Sp("SkipSelf"),4);function Vn(t,e){let r=t.hasOwnProperty(ds);return r?t[ds]:null}function UC(t,e,r){if(t.length!==e.length)return!1;for(let n=0;nArray.isArray(r)?Dl(r,e):e(r))}function kp(t,e,r){e>=t.length?t.push(r):t.splice(e,0,r)}function hs(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function BC(t,e){let r=[];for(let n=0;ne;){let i=o-2;t[o]=t[i],o--}t[e]=r,t[e+1]=n}}function js(t,e,r){let n=bo(t,e);return n>=0?t[n|1]=r:(n=~n,HC(t,n,e,r)),n}function ju(t,e){let r=bo(t,e);if(r>=0)return t[r|1]}function bo(t,e){return zC(t,e,1)}function zC(t,e,r){let n=0,o=t.length>>r;for(;o!==n;){let i=n+(o-n>>1),s=t[i<e?o=i:n=i+1}return~(o<e){s=i-1;break}}}for(;i-1){let i;for(;++oi?d="":d=o[l+1].toLowerCase(),n&2&&c!==d){if(st(n))return!1;s=!0}}}}return st(n)||s}function st(t){return(t&1)===0}function QC(t,e,r,n){if(e===null)return-1;let o=0;if(n||!r){let i=!1;for(;o-1)for(r++;r0?'="'+a+'"':"")+"]"}else n&8?o+="."+s:n&4&&(o+=" "+s);else o!==""&&!st(s)&&(e+=Hh(i,o),o=""),n=s,i=i||!st(n);r++}return o!==""&&(e+=Hh(i,o)),e}function nE(t){return t.map(tE).join(",")}function rE(t){let e=[],r=[],n=1,o=2;for(;n{let e=Zp(t),r=W(w({},e),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===jp.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||At.Emulated,styles:t.styles||Ae,_:null,schemas:t.schemas||null,tView:null,id:""});Yp(r);let n=t.dependencies;return r.directiveDefs=Gh(n,!1),r.pipeDefs=Gh(n,!0),r.id=sE(r),r})}function oE(t){return Wt(t)||zp(t)}function iE(t){return t!==null}function ht(t){return Eo(()=>({type:t.type,bootstrap:t.bootstrap||Ae,declarations:t.declarations||Ae,imports:t.imports||Ae,exports:t.exports||Ae,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function zh(t,e){if(t==null)return Ir;let r={};for(let n in t)if(t.hasOwnProperty(n)){let o=t[n],i,s,a=re.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),e?(r[i]=a!==re.None?[n,a]:n,e[i]=s):r[i]=n}return r}function j(t){return Eo(()=>{let e=Zp(t);return Yp(e),e})}function Mo(t){return{type:t.type,name:t.name,factory:null,pure:t.pure!==!1,standalone:t.standalone===!0,onDestroy:t.type.prototype.ngOnDestroy||null}}function Wt(t){return t[MC]||null}function zp(t){return t[_C]||null}function Gp(t){return t[SC]||null}function Wp(t){let e=Wt(t)||zp(t)||Gp(t);return e!==null?e.standalone:!1}function qp(t,e){let r=t[TC]||null;if(!r&&e===!0)throw new Error(`Type ${xe(t)} does not have '\u0275mod' property.`);return r}function Zp(t){let e={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputTransforms:null,inputConfig:t.inputs||Ir,exportAs:t.exportAs||null,standalone:t.standalone===!0,signals:t.signals===!0,selectors:t.selectors||Ae,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:zh(t.inputs,e),outputs:zh(t.outputs),debugInfo:null}}function Yp(t){t.features?.forEach(e=>e(t))}function Gh(t,e){if(!t)return null;let r=e?Gp:oE;return()=>(typeof t=="function"?t():t).map(n=>r(n)).filter(iE)}function sE(t){let e=0,r=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(let o of r)e=Math.imul(31,e)+o.charCodeAt(0)<<0;return e+=2147483648,"c"+e}function pn(t){return{\u0275providers:t}}function aE(...t){return{\u0275providers:Qp(!0,t),\u0275fromNgModule:!0}}function Qp(t,...e){let r=[],n=new Set,o,i=s=>{r.push(s)};return Dl(e,s=>{let a=s;ac(a,i,[],n)&&(o||=[],o.push(a))}),o!==void 0&&Kp(o,i),r}function Kp(t,e){for(let r=0;r{e(i,n)})}}function ac(t,e,r,n){if(t=Te(t),!t)return!1;let o=null,i=Vh(t),s=!i&&Wt(t);if(!i&&!s){let u=t.ngModule;if(i=Vh(u),i)o=u;else return!1}else{if(s&&!s.standalone)return!1;o=t}let a=n.has(o);if(s){if(a)return!1;if(n.add(o),s.dependencies){let u=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of u)ac(c,e,r,n)}}else if(i){if(i.imports!=null&&!a){n.add(o);let c;try{Dl(i.imports,l=>{ac(l,e,r,n)&&(c||=[],c.push(l))})}finally{}c!==void 0&&Kp(c,e)}if(!a){let c=Vn(o)||(()=>new o);e({provide:o,useFactory:c,deps:Ae},o),e({provide:Vp,useValue:o,multi:!0},o),e({provide:jn,useValue:()=>_(o),multi:!0},o)}let u=i.providers;if(u!=null&&!a){let c=t;Cl(u,l=>{e(l,c)})}}else return!1;return o!==t&&t.providers!==void 0}function Cl(t,e){for(let r of t)Rp(r)&&(r=r.\u0275providers),Array.isArray(r)?Cl(r,e):e(r)}var uE=Z({provide:String,useValue:Z});function Jp(t){return t!==null&&typeof t=="object"&&uE in t}function cE(t){return!!(t&&t.useExisting)}function lE(t){return!!(t&&t.useFactory)}function br(t){return typeof t=="function"}function dE(t){return!!t.useClass}var Us=new E(""),os={},fE={},Uu;function $s(){return Uu===void 0&&(Uu=new ps),Uu}var Ne=class{},uo=class extends Ne{get destroyed(){return this._destroyed}constructor(e,r,n,o){super(),this.parent=r,this.source=n,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,cc(e,s=>this.processProvider(s)),this.records.set(Lp,vr(void 0,this)),o.has("environment")&&this.records.set(Ne,vr(void 0,this));let i=this.records.get(Us);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Vp,Ae,L.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let e=V(null);try{for(let n of this._ngOnDestroyHooks)n.ngOnDestroy();let r=this._onDestroyHooks;this._onDestroyHooks=[];for(let n of r)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),V(e)}}onDestroy(e){return this.assertNotDestroyed(),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){this.assertNotDestroyed();let r=ln(this),n=ke(void 0),o;try{return e()}finally{ln(r),ke(n)}}get(e,r=so,n=L.Default){if(this.assertNotDestroyed(),e.hasOwnProperty(Uh))return e[Uh](this);n=Ls(n);let o,i=ln(this),s=ke(void 0);try{if(!(n&L.SkipSelf)){let u=this.records.get(e);if(u===void 0){let c=vE(e)&&ks(e);c&&this.injectableDefInScope(c)?u=vr(uc(e),os):u=null,this.records.set(e,u)}if(u!=null)return this.hydrate(e,u)}let a=n&L.Self?$s():this.parent;return r=n&L.Optional&&r===so?null:r,a.get(e,r)}catch(a){if(a.name==="NullInjectorError"){if((a[fs]=a[fs]||[]).unshift(xe(e)),i)throw a;return VC(a,e,"R3InjectorError",this.source)}else throw a}finally{ke(s),ln(i)}}resolveInjectorInitializers(){let e=V(null),r=ln(this),n=ke(void 0),o;try{let i=this.get(jn,Ae,L.Self);for(let s of i)s()}finally{ln(r),ke(n),V(e)}}toString(){let e=[],r=this.records;for(let n of r.keys())e.push(xe(n));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new C(205,!1)}processProvider(e){e=Te(e);let r=br(e)?e:Te(e&&e.provide),n=pE(e);if(!br(e)&&e.multi===!0){let o=this.records.get(r);o||(o=vr(void 0,os,!0),o.factory=()=>ic(o.multi),this.records.set(r,o)),r=e,o.multi.push(e)}this.records.set(r,n)}hydrate(e,r){let n=V(null);try{return r.value===os&&(r.value=fE,r.value=r.factory()),typeof r.value=="object"&&r.value&&mE(r.value)&&this._ngOnDestroyHooks.add(r.value),r.value}finally{V(n)}}injectableDefInScope(e){if(!e.providedIn)return!1;let r=Te(e.providedIn);return typeof r=="string"?r==="any"||this.scopes.has(r):this.injectorDefTypes.has(r)}removeOnDestroy(e){let r=this._onDestroyHooks.indexOf(e);r!==-1&&this._onDestroyHooks.splice(r,1)}};function uc(t){let e=ks(t),r=e!==null?e.factory:Vn(t);if(r!==null)return r;if(t instanceof E)throw new C(204,!1);if(t instanceof Function)return hE(t);throw new C(204,!1)}function hE(t){if(t.length>0)throw new C(204,!1);let r=IC(t);return r!==null?()=>r.factory(t):()=>new t}function pE(t){if(Jp(t))return vr(void 0,t.useValue);{let e=Xp(t);return vr(e,os)}}function Xp(t,e,r){let n;if(br(t)){let o=Te(t);return Vn(o)||uc(o)}else if(Jp(t))n=()=>Te(t.useValue);else if(lE(t))n=()=>t.useFactory(...ic(t.deps||[]));else if(cE(t))n=()=>_(Te(t.useExisting));else{let o=Te(t&&(t.useClass||t.provide));if(gE(t))n=()=>new o(...ic(t.deps));else return Vn(o)||uc(o)}return n}function vr(t,e,r=!1){return{factory:t,value:e,multi:r?[]:void 0}}function gE(t){return!!t.deps}function mE(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function vE(t){return typeof t=="function"||typeof t=="object"&&t instanceof E}function cc(t,e){for(let r of t)Array.isArray(r)?cc(r,e):r&&Rp(r)?cc(r.\u0275providers,e):e(r)}function pt(t,e){t instanceof uo&&t.assertNotDestroyed();let r,n=ln(t),o=ke(void 0);try{return e()}finally{ln(n),ke(o)}}function eg(){return Op()!==void 0||PC()!=null}function tg(t){if(!eg())throw new C(-203,!1)}function yE(t){return typeof t=="function"}var Le=0,N=1,x=2,fe=3,ut=4,Ge=5,ze=6,co=7,be=8,Mr=9,ct=10,z=11,lo=12,Wh=13,Ar=14,Ve=15,_o=16,yr=17,qt=18,Bs=19,ng=20,dn=21,is=22,Un=23,oe=25,El=1,fo=6,Zt=7,gs=8,_r=9,De=10,Il=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t}(Il||{});function Gt(t){return Array.isArray(t)&&typeof t[El]=="object"}function Nt(t){return Array.isArray(t)&&t[El]===!0}function bl(t){return(t.flags&4)!==0}function So(t){return t.componentOffset>-1}function Hs(t){return(t.flags&1)===1}function Yt(t){return!!t.template}function rg(t){return(t[x]&512)!==0}var lc=class{constructor(e,r,n){this.previousValue=e,this.currentValue=r,this.firstChange=n}isFirstChange(){return this.firstChange}};function og(t,e,r,n){e!==null?e.applyValueToInputSignal(e,n):t[r]=n}function Ke(){return ig}function ig(t){return t.type.prototype.ngOnChanges&&(t.setInput=wE),DE}Ke.ngInherit=!0;function DE(){let t=ag(this),e=t?.current;if(e){let r=t.previous;if(r===Ir)t.previous=e;else for(let n in e)r[n]=e[n];t.current=null,this.ngOnChanges(e)}}function wE(t,e,r,n,o){let i=this.declaredInputs[n],s=ag(t)||CE(t,{previous:Ir,current:null}),a=s.current||(s.current={}),u=s.previous,c=u[i];a[i]=new lc(c&&c.currentValue,r,u===Ir),og(t,e,o,r)}var sg="__ngSimpleChanges__";function ag(t){return t[sg]||null}function CE(t,e){return t[sg]=e}var qh=null;var St=function(t,e,r){qh?.(t,e,r)},ug="svg",EE="math",IE=!1;function bE(){return IE}function lt(t){for(;Array.isArray(t);)t=t[Le];return t}function ME(t){for(;Array.isArray(t);){if(typeof t[El]=="object")return t;t=t[Le]}return null}function cg(t,e){return lt(e[t])}function We(t,e){return lt(e[t.index])}function Ml(t,e){return t.data[e]}function _l(t,e){return t[e]}function gn(t,e){let r=e[t];return Gt(r)?r:r[Le]}function _E(t){return(t[x]&4)===4}function Sl(t){return(t[x]&128)===128}function SE(t){return Nt(t[fe])}function Sr(t,e){return e==null?null:t[e]}function lg(t){t[yr]=0}function TE(t){t[x]&1024||(t[x]|=1024,Sl(t)&&ho(t))}function AE(t,e){for(;t>0;)e=e[Ar],t--;return e}function Tl(t){return!!(t[x]&9216||t[Un]?.dirty)}function dc(t){t[ct].changeDetectionScheduler?.notify(1),Tl(t)?ho(t):t[x]&64&&(bE()?(t[x]|=1024,ho(t)):t[ct].changeDetectionScheduler?.notify())}function ho(t){t[ct].changeDetectionScheduler?.notify();let e=po(t);for(;e!==null&&!(e[x]&8192||(e[x]|=8192,!Sl(e)));)e=po(e)}function dg(t,e){if((t[x]&256)===256)throw new C(911,!1);t[dn]===null&&(t[dn]=[]),t[dn].push(e)}function xE(t,e){if(t[dn]===null)return;let r=t[dn].indexOf(e);r!==-1&&t[dn].splice(r,1)}function po(t){let e=t[fe];return Nt(e)?e[fe]:e}var R={lFrame:vg(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function NE(){return R.lFrame.elementDepthCount}function RE(){R.lFrame.elementDepthCount++}function OE(){R.lFrame.elementDepthCount--}function fg(){return R.bindingsEnabled}function xr(){return R.skipHydrationRootTNode!==null}function FE(t){return R.skipHydrationRootTNode===t}function PE(t){R.skipHydrationRootTNode=t}function kE(){R.skipHydrationRootTNode=null}function S(){return R.lFrame.lView}function X(){return R.lFrame.tView}function wj(t){return R.lFrame.contextLView=t,t[be]}function Cj(t){return R.lFrame.contextLView=null,t}function we(){let t=hg();for(;t!==null&&t.type===64;)t=t.parent;return t}function hg(){return R.lFrame.currentTNode}function LE(){let t=R.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function Zn(t,e){let r=R.lFrame;r.currentTNode=t,r.isParent=e}function Al(){return R.lFrame.isParent}function xl(){R.lFrame.isParent=!1}function VE(){return R.lFrame.contextLView}function Yn(){let t=R.lFrame,e=t.bindingRootIndex;return e===-1&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function Nl(){return R.lFrame.bindingIndex}function jE(t){return R.lFrame.bindingIndex=t}function mn(){return R.lFrame.bindingIndex++}function To(t){let e=R.lFrame,r=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,r}function UE(){return R.lFrame.inI18n}function $E(t,e){let r=R.lFrame;r.bindingIndex=r.bindingRootIndex=t,fc(e)}function BE(){return R.lFrame.currentDirectiveIndex}function fc(t){R.lFrame.currentDirectiveIndex=t}function Rl(t){let e=R.lFrame.currentDirectiveIndex;return e===-1?null:t[e]}function pg(){return R.lFrame.currentQueryIndex}function Ol(t){R.lFrame.currentQueryIndex=t}function HE(t){let e=t[N];return e.type===2?e.declTNode:e.type===1?t[Ge]:null}function gg(t,e,r){if(r&L.SkipSelf){let o=e,i=t;for(;o=o.parent,o===null&&!(r&L.Host);)if(o=HE(i),o===null||(i=i[Ar],o.type&10))break;if(o===null)return!1;e=o,t=i}let n=R.lFrame=mg();return n.currentTNode=e,n.lView=t,!0}function Fl(t){let e=mg(),r=t[N];R.lFrame=e,e.currentTNode=r.firstChild,e.lView=t,e.tView=r,e.contextLView=t,e.bindingIndex=r.bindingStartIndex,e.inI18n=!1}function mg(){let t=R.lFrame,e=t===null?null:t.child;return e===null?vg(t):e}function vg(t){let e={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:t,child:null,inI18n:!1};return t!==null&&(t.child=e),e}function yg(){let t=R.lFrame;return R.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var Dg=yg;function Pl(){let t=yg();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function zE(t){return(R.lFrame.contextLView=AE(t,R.lFrame.contextLView))[be]}function gt(){return R.lFrame.selectedIndex}function $n(t){R.lFrame.selectedIndex=t}function Nr(){let t=R.lFrame;return Ml(t.tView,t.selectedIndex)}function Ej(){R.lFrame.currentNamespace=ug}function Ij(){GE()}function GE(){R.lFrame.currentNamespace=null}function wg(){return R.lFrame.currentNamespace}var Cg=!0;function zs(){return Cg}function Rt(t){Cg=t}function WE(t,e,r){let{ngOnChanges:n,ngOnInit:o,ngDoCheck:i}=e.type.prototype;if(n){let s=ig(e);(r.preOrderHooks??=[]).push(t,s),(r.preOrderCheckHooks??=[]).push(t,s)}o&&(r.preOrderHooks??=[]).push(0-t,o),i&&((r.preOrderHooks??=[]).push(t,i),(r.preOrderCheckHooks??=[]).push(t,i))}function Gs(t,e){for(let r=e.directiveStart,n=e.directiveEnd;r=n)break}else e[u]<0&&(t[yr]+=65536),(a>14>16&&(t[x]&3)===e&&(t[x]+=16384,Zh(a,i)):Zh(a,i)}var Er=-1,Bn=class{constructor(e,r,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=r,this.injectImpl=n}};function ZE(t){return t instanceof Bn}function YE(t){return(t.flags&8)!==0}function QE(t){return(t.flags&16)!==0}function Ig(t){return t!==Er}function ms(t){return t&32767}function KE(t){return t>>16}function vs(t,e){let r=KE(t),n=e;for(;r>0;)n=n[Ar],r--;return n}var hc=!0;function ys(t){let e=hc;return hc=t,e}var JE=256,bg=JE-1,Mg=5,XE=0,Tt={};function eI(t,e,r){let n;typeof r=="string"?n=r.charCodeAt(0)||0:r.hasOwnProperty(oo)&&(n=r[oo]),n==null&&(n=r[oo]=XE++);let o=n&bg,i=1<>Mg)]|=i}function Ds(t,e){let r=_g(t,e);if(r!==-1)return r;let n=e[N];n.firstCreatePass&&(t.injectorIndex=e.length,Bu(n.data,t),Bu(e,null),Bu(n.blueprint,null));let o=kl(t,e),i=t.injectorIndex;if(Ig(o)){let s=ms(o),a=vs(o,e),u=a[N].data;for(let c=0;c<8;c++)e[i+c]=a[s+c]|u[s+c]}return e[i+8]=o,i}function Bu(t,e){t.push(0,0,0,0,0,0,0,0,e)}function _g(t,e){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||e[t.injectorIndex+8]===null?-1:t.injectorIndex}function kl(t,e){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let r=0,n=null,o=e;for(;o!==null;){if(n=Ng(o),n===null)return Er;if(r++,o=o[Ar],n.injectorIndex!==-1)return n.injectorIndex|r<<16}return Er}function pc(t,e,r){eI(t,e,r)}function tI(t,e){if(e==="class")return t.classes;if(e==="style")return t.styles;let r=t.attrs;if(r){let n=r.length,o=0;for(;o>20,d=n?a:a+l,f=o?a+l:c;for(let h=d;h=u&&p.type===r)return h}if(o){let h=s[u];if(h&&Yt(h)&&h.type===r)return u}return null}function Hn(t,e,r,n){let o=t[r],i=e.data;if(ZE(o)){let s=o;s.resolving&&xC(AC(i[r]));let a=ys(s.canSeeViewProviders);s.resolving=!0;let u,c=s.injectImpl?ke(s.injectImpl):null,l=gg(t,n,L.Default);try{o=t[r]=s.factory(void 0,i,t,n),e.firstCreatePass&&r>=n.directiveStart&&WE(r,i[r],e)}finally{c!==null&&ke(c),ys(a),s.resolving=!1,Dg()}}return o}function rI(t){if(typeof t=="string")return t.charCodeAt(0)||0;let e=t.hasOwnProperty(oo)?t[oo]:void 0;return typeof e=="number"?e>=0?e&bg:oI:e}function Yh(t,e,r){let n=1<>Mg)]&n)}function Qh(t,e){return!(t&L.Self)&&!(t&L.Host&&e)}var Ln=class{constructor(e,r){this._tNode=e,this._lView=r}get(e,r,n){return Ag(this._tNode,this._lView,e,Ls(n),r)}};function oI(){return new Ln(we(),S())}function Je(t){return Eo(()=>{let e=t.prototype.constructor,r=e[ds]||gc(e),n=Object.prototype,o=Object.getPrototypeOf(t.prototype).constructor;for(;o&&o!==n;){let i=o[ds]||gc(o);if(i&&i!==r)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function gc(t){return Tp(t)?()=>{let e=gc(Te(t));return e&&e()}:Vn(t)}function iI(t,e,r,n,o){let i=t,s=e;for(;i!==null&&s!==null&&s[x]&2048&&!(s[x]&512);){let a=xg(i,s,r,n|L.Self,Tt);if(a!==Tt)return a;let u=i.parent;if(!u){let c=s[ng];if(c){let l=c.get(r,Tt,n);if(l!==Tt)return l}u=Ng(s),s=s[Ar]}i=u}return o}function Ng(t){let e=t[N],r=e.type;return r===2?e.declTNode:r===1?t[Ge]:null}function Ll(t){return tI(we(),t)}function Kh(t,e=null,r=null,n){let o=Rg(t,e,r,n);return o.resolveInjectorInitializers(),o}function Rg(t,e=null,r=null,n,o=new Set){let i=[r||Ae,aE(t)];return n=n||(typeof t=="object"?void 0:xe(t)),new uo(i,e||$s(),n||null,o)}var mt=(()=>{let e=class e{static create(n,o){if(Array.isArray(n))return Kh({name:""},o,n,"");{let i=n.name??"";return Kh({name:i},n.parent,n.providers,i)}}};e.THROW_IF_NOT_FOUND=so,e.NULL=new ps,e.\u0275prov=I({token:e,providedIn:"any",factory:()=>_(Lp)}),e.__NG_ELEMENT_ID__=-1;let t=e;return t})();var sI="ngOriginalError";function Hu(t){return t[sI]}var dt=class{constructor(){this._console=console}handleError(e){let r=this._findOriginalError(e);this._console.error("ERROR",e),r&&this._console.error("ORIGINAL ERROR",r)}_findOriginalError(e){let r=e&&Hu(e);for(;r&&Hu(r);)r=Hu(r);return r||null}},Og=new E("",{providedIn:"root",factory:()=>g(dt).handleError.bind(void 0)}),Ws=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=aI,e.__NG_ENV_ID__=n=>n;let t=e;return t})(),mc=class extends Ws{constructor(e){super(),this._lView=e}onDestroy(e){return dg(this._lView,e),()=>xE(this._lView,e)}};function aI(){return new mc(S())}function uI(){return Rr(we(),S())}function Rr(t,e){return new _e(We(t,e))}var _e=(()=>{let e=class e{constructor(n){this.nativeElement=n}};e.__NG_ELEMENT_ID__=uI;let t=e;return t})();function cI(t){return t instanceof _e?t.nativeElement:t}var vc=class extends ie{constructor(e=!1){super(),this.destroyRef=void 0,this.__isAsync=e,eg()&&(this.destroyRef=g(Ws,{optional:!0})??void 0)}emit(e){let r=V(null);try{super.next(e)}finally{V(r)}}subscribe(e,r,n){let o=e,i=r||(()=>null),s=n;if(e&&typeof e=="object"){let u=e;o=u.next?.bind(u),i=u.error?.bind(u),s=u.complete?.bind(u)}this.__isAsync&&(i=zu(i),o&&(o=zu(o)),s&&(s=zu(s)));let a=super.subscribe({next:o,error:i,complete:s});return e instanceof ne&&e.add(a),a}};function zu(t){return e=>{setTimeout(t,void 0,e)}}var ae=vc;function lI(){return this._results[Symbol.iterator]()}var yc=class t{get changes(){return this._changes??=new ae}constructor(e=!1){this._emitDistinctChangesOnly=e,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;let r=t.prototype;r[Symbol.iterator]||(r[Symbol.iterator]=lI)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,r){return this._results.reduce(e,r)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,r){this.dirty=!1;let n=$C(e);(this._changesDetected=!UC(this._results,n,r))&&(this._results=n,this.length=n.length,this.last=n[this.length-1],this.first=n[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(e){this._onDirty=e}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}},dI="ngSkipHydration",fI="ngskiphydration";function Fg(t){let e=t.mergedAttrs;if(e===null)return!1;for(let r=0;ryI}),yI="ng",Vl=new E(""),vt=new E("",{providedIn:"platform",factory:()=>"unknown"});var bj=new E(""),jl=new E("",{providedIn:"root",factory:()=>Ao().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function DI(){let t=new Qn;return g(vt)==="browser"&&(t.store=wI(Ao(),g(qs))),t}var Qn=(()=>{let e=class e{constructor(){this.store={},this.onSerializeCallbacks={}}get(n,o){return this.store[n]!==void 0?this.store[n]:o}set(n,o){this.store[n]=o}remove(n){delete this.store[n]}hasKey(n){return this.store.hasOwnProperty(n)}get isEmpty(){return Object.keys(this.store).length===0}onSerialize(n,o){this.onSerializeCallbacks[n]=o}toJson(){for(let n in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(n))try{this.store[n]=this.onSerializeCallbacks[n]()}catch(o){console.warn("Exception in onSerialize callback: ",o)}return JSON.stringify(this.store).replace(/null;function TI(t,e,r=!1){let n=t.getAttribute(Gu);if(n==null)return null;let[o,i]=n.split("|");if(n=r?i:o,!n)return null;let s=i?`|${i}`:"",a=r?o:s,u={};if(n!==""){let l=e.get(Qn,null,{optional:!0});l!==null&&(u=l.get(zg,[])[Number(n)])}let c={data:u,firstChild:t.firstChild??null};return r&&(c.firstChild=t,Zs(c,0,t.nextSibling)),a?t.setAttribute(Gu,a):t.removeAttribute(Gu),c}function AI(){Gg=TI}function $l(t,e,r=!1){return Gg(t,e,r)}function xI(t){let e=t._lView;return e[N].type===2?null:(rg(e)&&(e=e[oe]),e)}function NI(t){return t.textContent?.replace(/\s/gm,"")}function RI(t){let e=Ao(),r=e.createNodeIterator(t,NodeFilter.SHOW_COMMENT,{acceptNode(i){let s=NI(i);return s==="ngetn"||s==="ngtns"?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}}),n,o=[];for(;n=r.nextNode();)o.push(n);for(let i of o)i.textContent==="ngetn"?i.replaceWith(e.createTextNode("")):i.remove()}function Zs(t,e,r){t.segmentHeads??={},t.segmentHeads[e]=r}function Cc(t,e){return t.segmentHeads?.[e]??null}function OI(t,e){let r=t.data,n=r[CI]?.[e]??null;return n===null&&r[Ul]?.[e]&&(n=Bl(t,e)),n}function Wg(t,e){return t.data[Ul]?.[e]??null}function Bl(t,e){let r=Wg(t,e)??[],n=0;for(let o of r)n+=o[Cs]*(o[Hg]??1);return n}function Ys(t,e){if(typeof t.disconnectedNodes>"u"){let r=t.data[MI];t.disconnectedNodes=r?new Set(r):null}return!!t.disconnectedNodes?.has(e)}var Ki=new E(""),qg=!1,Zg=new E("",{providedIn:"root",factory:()=>qg}),FI=new E(""),Ji;function PI(){if(Ji===void 0&&(Ji=null,He.trustedTypes))try{Ji=He.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Ji}function Qs(t){return PI()?.createHTML(t)||t}var Xi;function Yg(){if(Xi===void 0&&(Xi=null,He.trustedTypes))try{Xi=He.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Xi}function Xh(t){return Yg()?.createHTML(t)||t}function ep(t){return Yg()?.createScriptURL(t)||t}var Qt=class{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${_p})`}},Ec=class extends Qt{getTypeName(){return"HTML"}},Ic=class extends Qt{getTypeName(){return"Style"}},bc=class extends Qt{getTypeName(){return"Script"}},Mc=class extends Qt{getTypeName(){return"URL"}},_c=class extends Qt{getTypeName(){return"ResourceURL"}};function Xe(t){return t instanceof Qt?t.changingThisBreaksApplicationSecurity:t}function Kt(t,e){let r=kI(t);if(r!=null&&r!==e){if(r==="ResourceURL"&&e==="URL")return!0;throw new Error(`Required a safe ${e}, got a ${r} (see ${_p})`)}return r===e}function kI(t){return t instanceof Qt&&t.getTypeName()||null}function Qg(t){return new Ec(t)}function Kg(t){return new Ic(t)}function Jg(t){return new bc(t)}function Xg(t){return new Mc(t)}function em(t){return new _c(t)}function LI(t){let e=new Tc(t);return VI()?new Sc(e):e}var Sc=class{constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){e=""+e;try{let r=new window.DOMParser().parseFromString(Qs(e),"text/html").body;return r===null?this.inertDocumentHelper.getInertBodyElement(e):(r.removeChild(r.firstChild),r)}catch{return null}}},Tc=class{constructor(e){this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(e){let r=this.inertDocument.createElement("template");return r.innerHTML=Qs(e),r}};function VI(){try{return!!new window.DOMParser().parseFromString(Qs(""),"text/html")}catch{return!1}}var jI=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Ks(t){return t=String(t),t.match(jI)?t:"unsafe:"+t}function Jt(t){let e={};for(let r of t.split(","))e[r]=!0;return e}function xo(...t){let e={};for(let r of t)for(let n in r)r.hasOwnProperty(n)&&(e[n]=!0);return e}var tm=Jt("area,br,col,hr,img,wbr"),nm=Jt("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),rm=Jt("rp,rt"),UI=xo(rm,nm),$I=xo(nm,Jt("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")),BI=xo(rm,Jt("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")),tp=xo(tm,$I,BI,UI),om=Jt("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),HI=Jt("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"),zI=Jt("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"),GI=xo(om,HI,zI),WI=Jt("script,style,template"),Ac=class{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(e){let r=e.firstChild,n=!0,o=[];for(;r;){if(r.nodeType===Node.ELEMENT_NODE?n=this.startElement(r):r.nodeType===Node.TEXT_NODE?this.chars(r.nodeValue):this.sanitizedSomething=!0,n&&r.firstChild){o.push(r),r=YI(r);continue}for(;r;){r.nodeType===Node.ELEMENT_NODE&&this.endElement(r);let i=ZI(r);if(i){r=i;break}r=o.pop()}}return this.buf.join("")}startElement(e){let r=np(e).toLowerCase();if(!tp.hasOwnProperty(r))return this.sanitizedSomething=!0,!WI.hasOwnProperty(r);this.buf.push("<"),this.buf.push(r);let n=e.attributes;for(let o=0;o"),!0}endElement(e){let r=np(e).toLowerCase();tp.hasOwnProperty(r)&&!tm.hasOwnProperty(r)&&(this.buf.push(""))}chars(e){this.buf.push(rp(e))}};function qI(t,e){return(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function ZI(t){let e=t.nextSibling;if(e&&t!==e.previousSibling)throw im(e);return e}function YI(t){let e=t.firstChild;if(e&&qI(t,e))throw im(e);return e}function np(t){let e=t.nodeName;return typeof e=="string"?e:"FORM"}function im(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}var QI=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,KI=/([^\#-~ |!])/g;function rp(t){return t.replace(/&/g,"&").replace(QI,function(e){let r=e.charCodeAt(0),n=e.charCodeAt(1);return"&#"+((r-55296)*1024+(n-56320)+65536)+";"}).replace(KI,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(//g,">")}var es;function Hl(t,e){let r=null;try{es=es||LI(t);let n=e?String(e):"";r=es.getInertBodyElement(n);let o=5,i=n;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,n=i,i=r.innerHTML,r=es.getInertBodyElement(n)}while(n!==i);let a=new Ac().sanitizeChildren(op(r)||r);return Qs(a)}finally{if(r){let n=op(r)||r;for(;n.firstChild;)n.removeChild(n.firstChild)}}}function op(t){return"content"in t&&JI(t)?t.content:null}function JI(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE"}var yt=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}(yt||{});function Mj(t){let e=zl();return e?Xh(e.sanitize(yt.HTML,t)||""):Kt(t,"HTML")?Xh(Xe(t)):Hl(Ao(),ye(t))}function XI(t){let e=zl();return e?e.sanitize(yt.URL,t)||"":Kt(t,"URL")?Xe(t):Ks(ye(t))}function eb(t){let e=zl();if(e)return ep(e.sanitize(yt.RESOURCE_URL,t)||"");if(Kt(t,"ResourceURL"))return ep(Xe(t));throw new C(904,!1)}function tb(t,e){return e==="src"&&(t==="embed"||t==="frame"||t==="iframe"||t==="media"||t==="script")||e==="href"&&(t==="base"||t==="link")?eb:XI}function sm(t,e,r){return tb(e,r)(t)}function zl(){let t=S();return t&&t[ct].sanitizer}var nb=/^>|^->||--!>|)/g,ob="\u200B$1\u200B";function ib(t){return t.replace(nb,e=>e.replace(rb,ob))}function _j(t){return t.ownerDocument.defaultView}function Sj(t){return t.ownerDocument}function sb(t){return t.ownerDocument.body}function am(t){return t instanceof Function?t():t}function ro(t){return(t??g(mt)).get(vt)==="browser"}var xt=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(xt||{}),ab;function Gl(t,e){return ab(t,e)}function Dr(t,e,r,n,o){if(n!=null){let i,s=!1;Nt(n)?i=n:Gt(n)&&(s=!0,n=n[Le]);let a=lt(n);t===0&&r!==null?o==null?dm(e,r,a):Es(e,r,a,o||null,!0):t===1&&r!==null?Es(e,r,a,o||null,!0):t===2?Yl(e,a,s):t===3&&e.destroyNode(a),i!=null&&Eb(e,t,i,r,o)}}function Wl(t,e){return t.createText(e)}function ub(t,e,r){t.setValue(e,r)}function ql(t,e){return t.createComment(ib(e))}function Js(t,e,r){return t.createElement(e,r)}function cb(t,e){um(t,e),e[Le]=null,e[Ge]=null}function lb(t,e,r,n,o,i){n[Le]=o,n[Ge]=e,ta(t,n,r,1,o,i)}function um(t,e){e[ct].changeDetectionScheduler?.notify(1),ta(t,e,e[z],2,null,null)}function db(t){let e=t[lo];if(!e)return Wu(t[N],t);for(;e;){let r=null;if(Gt(e))r=e[lo];else{let n=e[De];n&&(r=n)}if(!r){for(;e&&!e[ut]&&e!==t;)Gt(e)&&Wu(e[N],e),e=e[fe];e===null&&(e=t),Gt(e)&&Wu(e[N],e),r=e&&e[ut]}e=r}}function fb(t,e,r,n){let o=De+n,i=r.length;n>0&&(r[o-1][ut]=e),n0&&(t[r-1][ut]=n[ut]);let i=hs(t,De+e);cb(n[N],n);let s=i[qt];s!==null&&s.detachView(i[N]),n[fe]=null,n[ut]=null,n[x]&=-129}return n}function Xs(t,e){if(!(e[x]&256)){let r=e[z];r.destroyNode&&ta(t,e,r,3,null,null),db(e)}}function Wu(t,e){if(e[x]&256)return;let r=V(null);try{e[x]&=-129,e[x]|=256,e[Un]&&gu(e[Un]),gb(t,e),pb(t,e),e[N].type===1&&e[z].destroy();let n=e[_o];if(n!==null&&Nt(e[fe])){n!==e[fe]&&cm(n,e);let o=e[qt];o!==null&&o.detachView(t)}vI(e)}finally{V(r)}}function pb(t,e){let r=t.cleanup,n=e[co];if(r!==null)for(let i=0;i=0?n[s]():n[-s].unsubscribe(),i+=2}else{let s=n[r[i+1]];r[i].call(s)}n!==null&&(e[co]=null);let o=e[dn];if(o!==null){e[dn]=null;for(let i=0;i-1){let{encapsulation:i}=t.data[n.directiveStart+o];if(i===At.None||i===At.Emulated)return null}return We(n,r)}}function Es(t,e,r,n,o){t.insertBefore(e,r,n,o)}function dm(t,e,r){t.appendChild(e,r)}function ip(t,e,r,n,o){n!==null?Es(t,e,r,n,o):dm(t,e,r)}function vb(t,e,r,n){t.removeChild(e,r,n)}function Zl(t,e){return t.parentNode(e)}function yb(t,e){return t.nextSibling(e)}function fm(t,e,r){return wb(t,e,r)}function Db(t,e,r){return t.type&40?We(t,r):null}var wb=Db,sp;function ea(t,e,r,n){let o=lm(t,n,e),i=e[z],s=n.parent||e[Ge],a=fm(s,n,e);if(o!=null)if(Array.isArray(r))for(let u=0;uoe&&ym(t,e,oe,!1),St(s?2:0,o),r(n,o)}finally{$n(i),St(s?3:1,o)}}function Kl(t,e,r){if(bl(e)){let n=V(null);try{let o=e.directiveStart,i=e.directiveEnd;for(let s=o;snull;function xb(t){Pg(t)?pm(t):RI(t)}function Nb(){bm=xb}function Rb(t,e,r,n){let o=Am(e);o.push(r),t.firstCreatePass&&xm(t).push(n,o.length-1)}function Ob(t,e,r,n,o,i){let s=e?e.injectorIndex:-1,a=0;return xr()&&(a|=128),{type:r,index:n,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function ap(t,e,r,n,o){for(let i in e){if(!e.hasOwnProperty(i))continue;let s=e[i];if(s===void 0)continue;n??={};let a,u=re.None;Array.isArray(s)?(a=s[0],u=s[1]):a=s;let c=i;if(o!==null){if(!o.hasOwnProperty(i))continue;c=o[i]}t===0?up(n,r,c,a,u):up(n,r,c,a)}return n}function up(t,e,r,n,o){let i;t.hasOwnProperty(r)?(i=t[r]).push(e,n):i=t[r]=[e,n],o!==void 0&&i.push(o)}function Fb(t,e,r){let n=e.directiveStart,o=e.directiveEnd,i=t.data,s=e.attrs,a=[],u=null,c=null;for(let l=n;l0;){let r=t[--e];if(typeof r=="number"&&r<0)return r}return 0}function jb(t,e,r,n){let o=r.directiveStart,i=r.directiveEnd;So(r)&&Wb(e,r,t.data[o+r.componentOffset]),t.firstCreatePass||Ds(r,e),fn(n,e);let s=r.initialInputs;for(let a=o;a{ho(t.lView)},consumerOnSignalRead(){this.lView[Un]=this}}),km=100;function Lm(t,e=!0,r=0){let n=t[ct],o=n.rendererFactory,i=!1;i||o.begin?.();try{i0(t,r)}catch(s){throw e&&Rm(t,s),s}finally{i||(o.end?.(),n.inlineEffectRunner?.flush())}}function i0(t,e){Oc(t,e);let r=0;for(;Tl(t);){if(r===km)throw new C(103,!1);r++,Oc(t,1)}}function s0(t,e,r,n){let o=e[x];if((o&256)===256)return;let i=!1;!i&&e[ct].inlineEffectRunner?.flush(),Fl(e);let s=null,a=null;!i&&a0(t)&&(a=t0(e),s=hu(a));try{lg(e),jE(t.bindingStartIndex),r!==null&&Em(t,e,r,2,n);let u=(o&3)===3;if(!i)if(u){let d=t.preOrderCheckHooks;d!==null&&ss(e,d,null)}else{let d=t.preOrderHooks;d!==null&&as(e,d,0,null),$u(e,0)}if(u0(e),Vm(e,0),t.contentQueries!==null&&Tm(t,e),!i)if(u){let d=t.contentCheckHooks;d!==null&&ss(e,d)}else{let d=t.contentHooks;d!==null&&as(e,d,1),$u(e,1)}Mb(t,e);let c=t.components;c!==null&&Um(e,c,0);let l=t.viewQuery;if(l!==null&&Rc(2,l,n),!i)if(u){let d=t.viewCheckHooks;d!==null&&ss(e,d)}else{let d=t.viewHooks;d!==null&&as(e,d,2),$u(e,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),e[is]){for(let d of e[is])d();e[is]=null}i||(e[x]&=-73)}catch(u){throw ho(e),u}finally{a!==null&&(pu(a,s),r0(a)),Pl()}}function a0(t){return t.type!==2}function Vm(t,e){for(let r=Lg(t);r!==null;r=Vg(r))for(let n=De;n-1&&(go(e,n),hs(r,n))}this._attachedToViewContainer=!1}Xs(this._lView[N],this._lView)}onDestroy(e){dg(this._lView,e)}markForCheck(){od(this._cdRefInjectingView||this._lView)}detach(){this._lView[x]&=-129}reattach(){dc(this._lView),this._lView[x]|=128}detectChanges(){this._lView[x]|=1024,Lm(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new C(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,um(this._lView[N],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new C(902,!1);this._appRef=e,dc(this._lView)}},Gn=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=f0;let t=e;return t})(),l0=Gn,d0=class extends l0{constructor(e,r,n){super(),this._declarationLView=e,this._declarationTContainer=r,this.elementRef=n}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,r){return this.createEmbeddedViewImpl(e,r)}createEmbeddedViewImpl(e,r,n){let o=ia(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:r,dehydratedView:n});return new zn(o)}};function f0(){return aa(we(),S())}function aa(t,e){return t.type&4?new d0(e,t,Rr(t,e)):null}function $m(t){let e=t[fo]??[],n=t[fe][z];for(let o of e)h0(o,n);t[fo]=Ae}function h0(t,e){let r=0,n=t.firstChild;if(n){let o=t.data[Cs];for(;r0&&(i.firstChild=t,t=ca(n[Cs],t)),r.push(i)}return[t,r]}var Hm=()=>null;function I0(t,e){let r=t[fo];return!e||r===null||r.length===0?null:r[0].data[II]===e?r.shift():($m(t),null)}function b0(){Hm=I0}function vo(t,e){return Hm(t,e)}var Ms=class{},Fc=class{},_s=class{};function M0(t){let e=Error(`No component factory found for ${xe(t)}.`);return e[_0]=t,e}var _0="ngComponent";var Pc=class{resolveComponentFactory(e){throw M0(e)}},la=(()=>{let e=class e{};e.NULL=new Pc;let t=e;return t})(),yo=class{},et=(()=>{let e=class e{constructor(){this.destroyNode=null}};e.__NG_ELEMENT_ID__=()=>S0();let t=e;return t})();function S0(){let t=S(),e=we(),r=gn(e.index,t);return(Gt(r)?r:t)[z]}var T0=(()=>{let e=class e{};e.\u0275prov=I({token:e,providedIn:"root",factory:()=>null});let t=e;return t})(),Zu={};var cp=new Set;function Ot(t){cp.has(t)||(cp.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}function lp(...t){}function A0(){let t=typeof He.requestAnimationFrame=="function",e=He[t?"requestAnimationFrame":"setTimeout"],r=He[t?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&e&&r){let n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);let o=r[Zone.__symbol__("OriginalDelegate")];o&&(r=o)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:r}}var Q=class t{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ae(!1),this.onMicrotaskEmpty=new ae(!1),this.onStable=new ae(!1),this.onError=new ae(!1),typeof Zone>"u")throw new C(908,!1);Zone.assertZonePatched();let o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!n&&r,o.shouldCoalesceRunChangeDetection=n,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=A0().nativeRequestAnimationFrame,R0(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new C(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new C(909,!1)}run(e,r,n){return this._inner.run(e,r,n)}runTask(e,r,n,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,e,x0,lp,lp);try{return i.runTask(s,r,n)}finally{i.cancelTask(s)}}runGuarded(e,r,n){return this._inner.runGuarded(e,r,n)}runOutsideAngular(e){return this._outer.run(e)}},x0={};function id(t){if(t._nesting==0&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function N0(t){t.isCheckStableRunning||t.lastRequestAnimationFrameId!==-1||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(He,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,kc(t),t.isCheckStableRunning=!0,id(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),kc(t))}function R0(t){let e=()=>{N0(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(r,n,o,i,s,a)=>{if(O0(a))return r.invokeTask(o,i,s,a);try{return dp(t),r.invokeTask(o,i,s,a)}finally{(t.shouldCoalesceEventChangeDetection&&i.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&e(),fp(t)}},onInvoke:(r,n,o,i,s,a,u)=>{try{return dp(t),r.invoke(o,i,s,a,u)}finally{t.shouldCoalesceRunChangeDetection&&e(),fp(t)}},onHasTask:(r,n,o,i)=>{r.hasTask(o,i),n===o&&(i.change=="microTask"?(t._hasPendingMicrotasks=i.microTask,kc(t),id(t)):i.change=="macroTask"&&(t.hasPendingMacrotasks=i.macroTask))},onHandleError:(r,n,o,i)=>(r.handleError(o,i),t.runOutsideAngular(()=>t.onError.emit(i)),!1)})}function kc(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.lastRequestAnimationFrameId!==-1?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function dp(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function fp(t){t._nesting--,id(t)}function O0(t){return!Array.isArray(t)||t.length!==1?!1:t[0].data?.__ignore_ng_zone__===!0}var wr=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(wr||{}),F0={destroy(){}};function sd(t,e){!e&&tg(sd);let r=e?.injector??g(mt);if(!ro(r))return F0;Ot("NgAfterNextRender");let n=r.get(ad),o=n.handler??=new Vc,i=e?.phase??wr.MixedReadWrite,s=()=>{o.unregister(u),a()},a=r.get(Ws).onDestroy(s),u=pt(r,()=>new Lc(i,()=>{s(),t()}));return o.register(u),{destroy:s}}var Lc=class{constructor(e,r){this.phase=e,this.callbackFn=r,this.zone=g(Q),this.errorHandler=g(dt,{optional:!0}),g(Ms,{optional:!0})?.notify(1)}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(e){this.errorHandler?.handleError(e)}}},Vc=class{constructor(){this.executingCallbacks=!1,this.buckets={[wr.EarlyRead]:new Set,[wr.Write]:new Set,[wr.MixedReadWrite]:new Set,[wr.Read]:new Set},this.deferredCallbacks=new Set}register(e){(this.executingCallbacks?this.deferredCallbacks:this.buckets[e.phase]).add(e)}unregister(e){this.buckets[e.phase].delete(e),this.deferredCallbacks.delete(e)}execute(){this.executingCallbacks=!0;for(let e of Object.values(this.buckets))for(let r of e)r.invoke();this.executingCallbacks=!1;for(let e of this.deferredCallbacks)this.buckets[e.phase].add(e);this.deferredCallbacks.clear()}destroy(){for(let e of Object.values(this.buckets))e.clear();this.deferredCallbacks.clear()}},ad=(()=>{let e=class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){let n=[...this.internalCallbacks];this.internalCallbacks.length=0;for(let o of n)o()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};e.\u0275prov=I({token:e,providedIn:"root",factory:()=>new e});let t=e;return t})();function Ss(t,e,r){let n=r?t.styles:null,o=r?t.classes:null,i=0;if(e!==null)for(let s=0;s0&&mm(t,r,i.join(" "))}}function $0(t,e,r){let n=t.projection=[];for(let o=0;o{let e=class e{};e.__NG_ELEMENT_ID__=H0;let t=e;return t})();function H0(){let t=we();return Gm(t,S())}var z0=Xt,zm=class extends z0{constructor(e,r,n){super(),this._lContainer=e,this._hostTNode=r,this._hostLView=n}get element(){return Rr(this._hostTNode,this._hostLView)}get injector(){return new Ln(this._hostTNode,this._hostLView)}get parentInjector(){let e=kl(this._hostTNode,this._hostLView);if(Ig(e)){let r=vs(e,this._hostLView),n=ms(e),o=r[N].data[n+8];return new Ln(o,r)}else return new Ln(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){let r=pp(this._lContainer);return r!==null&&r[e]||null}get length(){return this._lContainer.length-De}createEmbeddedView(e,r,n){let o,i;typeof n=="number"?o=n:n!=null&&(o=n.index,i=n.injector);let s=vo(this._lContainer,e.ssrId),a=e.createEmbeddedViewImpl(r||{},i,s);return this.insertImpl(a,o,mo(this._hostTNode,s)),a}createComponent(e,r,n,o,i){let s=e&&!yE(e),a;if(s)a=r;else{let p=r||{};a=p.index,n=p.injector,o=p.projectableNodes,i=p.environmentInjector||p.ngModuleRef}let u=s?e:new Wn(Wt(e)),c=n||this.parentInjector;if(!i&&u.ngModule==null){let D=(s?c:this.parentInjector).get(Ne,null);D&&(i=D)}let l=Wt(u.componentType??{}),d=vo(this._lContainer,l?.id??null),f=d?.firstChild??null,h=u.create(c,o,f,i);return this.insertImpl(h.hostView,a,mo(this._hostTNode,d)),h}insert(e,r){return this.insertImpl(e,r,!0)}insertImpl(e,r,n){let o=e._lView;if(SE(o)){let a=this.indexOf(e);if(a!==-1)this.detach(a);else{let u=o[fe],c=new zm(u,u[Ge],u[fe]);c.detach(c.indexOf(e))}}let i=this._adjustIndex(r),s=this._lContainer;return sa(s,o,i,n),e.attachToViewContainerRef(),kp(Yu(s),i,e),e}move(e,r){return this.insert(e,r)}indexOf(e){let r=pp(this._lContainer);return r!==null?r.indexOf(e):-1}remove(e){let r=this._adjustIndex(e,-1),n=go(this._lContainer,r);n&&(hs(Yu(this._lContainer),r),Xs(n[N],n))}detach(e){let r=this._adjustIndex(e,-1),n=go(this._lContainer,r);return n&&hs(Yu(this._lContainer),r)!=null?new zn(n):null}_adjustIndex(e,r=0){return e??this.length+r}};function pp(t){return t[gs]}function Yu(t){return t[gs]||(t[gs]=[])}function Gm(t,e){let r,n=e[t.index];return Nt(n)?r=n:(r=Sm(n,e,null,t),e[t.index]=r,ra(e,r)),Wm(r,e,t,n),new zm(r,t,e)}function G0(t,e){let r=t[z],n=r.createComment(""),o=We(e,t),i=Zl(r,o);return Es(r,i,n,yb(r,o),!1),n}var Wm=qm,ud=()=>!1;function W0(t,e,r){return ud(t,e,r)}function qm(t,e,r,n){if(t[Zt])return;let o;r.type&8?o=lt(n):o=G0(e,r),t[Zt]=o}function q0(t,e,r){if(t[Zt]&&t[fo])return!0;let n=r[ze],o=e.index-oe;if(!n||hI(e)||Ys(n,o))return!1;let s=Cc(n,o),a=n.data[Ul]?.[o],[u,c]=E0(s,a);return t[Zt]=u,t[fo]=c,!0}function Z0(t,e,r,n){ud(t,r,e)||qm(t,e,r,n)}function Y0(){Wm=Z0,ud=q0}var $c=class t{constructor(e){this.queryList=e,this.matches=null}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},Bc=class t{constructor(e=[]){this.queries=e}createEmbeddedView(e){let r=e.queries;if(r!==null){let n=e.contentQueries!==null?e.contentQueries[0]:r.length,o=[];for(let i=0;i0)n.push(s[a/2]);else{let c=i[a+1],l=e[-u];for(let d=De;de.trim())}function Qm(t,e,r){t.queries===null&&(t.queries=new Hc),t.queries.track(new zc(e,r))}function oM(t,e){let r=t.contentQueries||(t.contentQueries=[]),n=r.length?r[r.length-1]:-1;e!==n&&r.push(t.queries.length-1,e)}function cd(t,e){return t.queries.getByIndex(e)}function iM(t,e){let r=t[N],n=cd(r,e);return n.crossesNgTemplate?Gc(r,t,e,[]):Zm(r,t,n,e)}function sM(t){return typeof t=="function"&&t[on]!==void 0}function Nj(t,e){Ot("NgSignals");let r=rh(t),n=r[on];return e?.equal&&(n.equal=e.equal),r.set=o=>mu(n,o),r.update=o=>oh(n,o),r.asReadonly=aM.bind(r),r}function aM(){let t=this[on];if(t.readonlyFn===void 0){let e=()=>this();e[on]=t,t.readonlyFn=e}return t.readonlyFn}function Km(t){return sM(t)&&typeof t.set=="function"}function uM(t){return Object.getPrototypeOf(t.prototype).constructor}function le(t){let e=uM(t.type),r=!0,n=[t];for(;e;){let o;if(Yt(t))o=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new C(903,!1);o=e.\u0275dir}if(o){if(r){n.push(o);let s=t;s.inputs=ts(t.inputs),s.inputTransforms=ts(t.inputTransforms),s.declaredInputs=ts(t.declaredInputs),s.outputs=ts(t.outputs);let a=o.hostBindings;a&&hM(t,a);let u=o.viewQuery,c=o.contentQueries;if(u&&dM(t,u),c&&fM(t,c),cM(t,o),CC(t.outputs,o.outputs),Yt(o)&&o.data.animation){let l=t.data;l.animation=(l.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s=0;n--){let o=t[n];o.hostVars=e+=o.hostVars,o.hostAttrs=ao(o.hostAttrs,r=ao(r,o.hostAttrs))}}function ts(t){return t===Ir?{}:t===Ae?[]:t}function dM(t,e){let r=t.viewQuery;r?t.viewQuery=(n,o)=>{e(n,o),r(n,o)}:t.viewQuery=e}function fM(t,e){let r=t.contentQueries;r?t.contentQueries=(n,o,i)=>{e(n,o,i),r(n,o,i)}:t.contentQueries=e}function hM(t,e){let r=t.hostBindings;r?t.hostBindings=(n,o)=>{e(n,o),r(n,o)}:t.hostBindings=e}function ld(t){let e=t.inputConfig,r={};for(let n in e)if(e.hasOwnProperty(n)){let o=e[n];Array.isArray(o)&&o[3]&&(r[n]=o[3])}t.inputTransforms=r}var hn=class{},Do=class{};var Wc=class extends hn{constructor(e,r,n){super(),this._parent=r,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Ts(this);let o=qp(e);this._bootstrapComponents=am(o.bootstrap),this._r3Injector=Rg(e,r,[{provide:hn,useValue:this},{provide:la,useValue:this.componentFactoryResolver},...n],xe(e),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(e)}get injector(){return this._r3Injector}destroy(){let e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(r=>r()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}},qc=class extends Do{constructor(e){super(),this.moduleType=e}create(e){return new Wc(this.moduleType,e,[])}};var xs=class extends hn{constructor(e){super(),this.componentFactoryResolver=new Ts(this),this.instance=null;let r=new uo([...e.providers,{provide:hn,useValue:this},{provide:la,useValue:this.componentFactoryResolver}],e.parent||$s(),e.debugName,new Set(["environment"]));this.injector=r,e.runEnvironmentInitializers&&r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}};function da(t,e,r=null){return new xs({providers:t,parent:e,debugName:r,runEnvironmentInitializers:!0}).injector}var vn=(()=>{let e=class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new me(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Jm(t){return dd(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function pM(t,e){if(Array.isArray(t))for(let r=0;r>17&32767}function EM(t){return(t&2)==2}function IM(t,e){return t&131071|e<<17}function Yc(t){return t|2}function Tr(t){return(t&131068)>>2}function Qu(t,e){return t&-131069|e<<2}function bM(t){return(t&1)===1}function Qc(t){return t|1}function MM(t,e,r,n,o,i){let s=i?e.classBindings:e.styleBindings,a=qn(s),u=Tr(s);t[n]=r;let c=!1,l;if(Array.isArray(r)){let d=r;l=d[1],(l===null||bo(d,l)>0)&&(c=!0)}else l=r;if(o)if(u!==0){let f=qn(t[a+1]);t[n+1]=ns(f,a),f!==0&&(t[f+1]=Qu(t[f+1],n)),t[a+1]=IM(t[a+1],n)}else t[n+1]=ns(a,0),a!==0&&(t[a+1]=Qu(t[a+1],n)),a=n;else t[n+1]=ns(u,0),a===0?a=n:t[u+1]=Qu(t[u+1],n),u=n;c&&(t[n+1]=Yc(t[n+1])),gp(t,l,n,!0),gp(t,l,n,!1),_M(e,l,t,n,i),s=ns(a,u),i?e.classBindings=s:e.styleBindings=s}function _M(t,e,r,n,o){let i=o?t.residualClasses:t.residualStyles;i!=null&&typeof e=="string"&&bo(i,e)>=0&&(r[n+1]=Qc(r[n+1]))}function gp(t,e,r,n){let o=t[r+1],i=e===null,s=n?qn(o):Tr(o),a=!1;for(;s!==0&&(a===!1||i);){let u=t[s],c=t[s+1];SM(u,e)&&(a=!0,t[s+1]=n?Qc(c):Yc(c)),s=n?qn(c):Tr(c)}a&&(t[r+1]=n?Yc(o):Qc(o))}function SM(t,e){return t===null||e==null||(Array.isArray(t)?t[1]:t)===e?!0:Array.isArray(t)&&typeof e=="string"?bo(t,e)>=0:!1}var at={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function TM(t){return t.substring(at.key,at.keyEnd)}function AM(t){return xM(t),nv(t,rv(t,0,at.textEnd))}function nv(t,e){let r=at.textEnd;return r===e?-1:(e=at.keyEnd=NM(t,at.key=e,r),rv(t,e,r))}function xM(t){at.key=0,at.keyEnd=0,at.value=0,at.valueEnd=0,at.textEnd=t.length}function rv(t,e,r){for(;e32;)e++;return e}function RM(t,e,r){let n=S(),o=mn();if(je(n,o,e)){let i=X(),s=Nr();No(i,s,n,t,e,n[z],r,!1)}return RM}function Kc(t,e,r,n,o){let i=e.inputs,s=o?"class":"style";nd(t,r,i[s],s,n)}function ov(t,e,r){return sv(t,e,r,!1),ov}function fa(t,e){return sv(t,e,null,!0),fa}function Rj(t){av(VM,iv,t,!0)}function iv(t,e){for(let r=AM(e);r>=0;r=nv(e,r))js(t,TM(e),!0)}function sv(t,e,r,n){let o=S(),i=X(),s=To(2);if(i.firstUpdatePass&&cv(i,t,s,n),e!==Ce&&je(o,s,e)){let a=i.data[gt()];lv(i,a,o,o[z],t,o[s+1]=UM(e,r),n,s)}}function av(t,e,r,n){let o=X(),i=To(2);o.firstUpdatePass&&cv(o,null,i,n);let s=S();if(r!==Ce&&je(s,i,r)){let a=o.data[gt()];if(dv(a,n)&&!uv(o,i)){let u=n?a.classesWithoutHost:a.stylesWithoutHost;u!==null&&(r=nc(u,r||"")),Kc(o,a,s,r,n)}else jM(o,a,s,s[z],s[i+1],s[i+1]=LM(t,e,r),n,i)}}function uv(t,e){return e>=t.expandoStartIndex}function cv(t,e,r,n){let o=t.data;if(o[r+1]===null){let i=o[gt()],s=uv(t,r);dv(i,n)&&e===null&&!s&&(e=!1),e=OM(o,i,e,n),MM(o,i,e,r,s,n)}}function OM(t,e,r,n){let o=Rl(t),i=n?e.residualClasses:e.residualStyles;if(o===null)(n?e.classBindings:e.styleBindings)===0&&(r=Ku(null,t,e,r,n),r=Co(r,e.attrs,n),i=null);else{let s=e.directiveStylingLast;if(s===-1||t[s]!==o)if(r=Ku(o,t,e,r,n),i===null){let u=FM(t,e,n);u!==void 0&&Array.isArray(u)&&(u=Ku(null,t,e,u[1],n),u=Co(u,e.attrs,n),PM(t,e,n,u))}else i=kM(t,e,n)}return i!==void 0&&(n?e.residualClasses=i:e.residualStyles=i),r}function FM(t,e,r){let n=r?e.classBindings:e.styleBindings;if(Tr(n)!==0)return t[qn(n)]}function PM(t,e,r,n){let o=r?e.classBindings:e.styleBindings;t[qn(o)]=n}function kM(t,e,r){let n,o=e.directiveEnd;for(let i=1+e.directiveStylingLast;i0;){let u=t[o],c=Array.isArray(u),l=c?u[1]:u,d=l===null,f=r[o+1];f===Ce&&(f=d?Ae:void 0);let h=d?ju(f,n):l===n?f:void 0;if(c&&!Ns(h)&&(h=ju(u,n)),Ns(h)&&(a=h,s))return a;let p=t[o+1];o=s?qn(p):Tr(p)}if(e!==null){let u=i?e.residualClasses:e.residualStyles;u!=null&&(a=ju(u,n))}return a}function Ns(t){return t!==void 0}function UM(t,e){return t==null||t===""||(typeof e=="string"?t=t+e:typeof t=="object"&&(t=xe(Xe(t)))),t}function dv(t,e){return(t.flags&(e?8:16))!==0}function Oj(t,e,r){let n=S(),o=hd(n,t,e,r);av(js,iv,o,!0)}var Jc=class{destroy(e){}updateValue(e,r){}swap(e,r){let n=Math.min(e,r),o=Math.max(e,r),i=this.detach(o);if(o-n>1){let s=this.detach(n);this.attach(n,i),this.attach(o,s)}else this.attach(n,i)}move(e,r){this.attach(r,this.detach(e))}};function Ju(t,e,r,n,o){return t===r&&Object.is(e,n)?1:Object.is(o(t,e),o(r,n))?-1:0}function $M(t,e,r){let n,o,i=0,s=t.length-1;if(Array.isArray(e)){let a=e.length-1;for(;i<=s&&i<=a;){let u=t.at(i),c=e[i],l=Ju(i,u,i,c,r);if(l!==0){l<0&&t.updateValue(i,c),i++;continue}let d=t.at(s),f=e[a],h=Ju(s,d,a,f,r);if(h!==0){h<0&&t.updateValue(s,f),s--,a--;continue}let p=r(i,u),D=r(s,d),v=r(i,c);if(Object.is(v,D)){let m=r(a,f);Object.is(m,p)?(t.swap(i,s),t.updateValue(s,f),a--,s--):t.move(s,i),t.updateValue(i,c),i++;continue}if(n??=new Rs,o??=yp(t,i,s,r),Xc(t,n,i,v))t.updateValue(i,c),i++,s++;else if(o.has(v))n.set(p,t.detach(i)),s--;else{let m=t.create(i,e[i]);t.attach(i,m),i++,s++}}for(;i<=a;)vp(t,n,r,i,e[i]),i++}else if(e!=null){let a=e[Symbol.iterator](),u=a.next();for(;!u.done&&i<=s;){let c=t.at(i),l=u.value,d=Ju(i,c,i,l,r);if(d!==0)d<0&&t.updateValue(i,l),i++,u=a.next();else{n??=new Rs,o??=yp(t,i,s,r);let f=r(i,l);if(Xc(t,n,i,f))t.updateValue(i,l),i++,s++,u=a.next();else if(!o.has(f))t.attach(i,t.create(i,l)),i++,s++,u=a.next();else{let h=r(i,c);n.set(h,t.detach(i)),s--}}}for(;!u.done;)vp(t,n,r,t.length,u.value),u=a.next()}for(;i<=s;)t.destroy(t.detach(s--));n?.forEach(a=>{t.destroy(a)})}function Xc(t,e,r,n){return e!==void 0&&e.has(n)?(t.attach(r,e.get(n)),e.delete(n),!0):!1}function vp(t,e,r,n,o){if(Xc(t,e,n,r(n,o)))t.updateValue(n,o);else{let i=t.create(n,o);t.attach(n,i)}}function yp(t,e,r,n){let o=new Set;for(let i=e;i<=r;i++)o.add(n(i,t.at(i)));return o}var Rs=class{constructor(){this.kvMap=new Map,this._vMap=void 0}has(e){return this.kvMap.has(e)}delete(e){if(!this.has(e))return!1;let r=this.kvMap.get(e);return this._vMap!==void 0&&this._vMap.has(r)?(this.kvMap.set(e,this._vMap.get(r)),this._vMap.delete(r)):this.kvMap.delete(e),!0}get(e){return this.kvMap.get(e)}set(e,r){if(this.kvMap.has(e)){let n=this.kvMap.get(e);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(n);)n=o.get(n);o.set(n,r)}else this.kvMap.set(e,r)}forEach(e){for(let[r,n]of this.kvMap)if(e(n,r),this._vMap!==void 0){let o=this._vMap;for(;o.has(n);)n=o.get(n),e(n,r)}}};function Fj(t,e,r){Ot("NgControlFlow");let n=S(),o=mn(),i=rl(n,oe+t),s=0;if(je(n,o,e)){let a=V(null);try{if(Fm(i,s),e!==-1){let u=ol(n[N],oe+e),c=vo(i,u.tView.ssrId),l=ia(n,u,r,{dehydratedView:c});sa(i,l,s,mo(u,c))}}finally{V(a)}}else{let a=Om(i,s);a!==void 0&&(a[be]=r)}}var el=class{constructor(e,r,n){this.lContainer=e,this.$implicit=r,this.$index=n}get $count(){return this.lContainer.length-De}};function Pj(t){return t}function kj(t,e){return e}var tl=class{constructor(e,r,n){this.hasEmptyBlock=e,this.trackByFn=r,this.liveCollection=n}};function Lj(t,e,r,n,o,i,s,a,u,c,l,d,f){Ot("NgControlFlow");let h=u!==void 0,p=S(),D=a?s.bind(p[Ve][be]):s,v=new tl(h,D);p[oe+t]=v,Zc(t+1,e,r,n,o,i),h&&Zc(t+2,u,c,l,d,f)}var nl=class extends Jc{constructor(e,r,n){super(),this.lContainer=e,this.hostLView=r,this.templateTNode=n,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-De}at(e){return this.getLView(e)[be].$implicit}attach(e,r){let n=r[ze];this.needsIndexUpdate||=e!==this.length,sa(this.lContainer,r,e,mo(this.templateTNode,n))}detach(e){return this.needsIndexUpdate||=e!==this.length-1,BM(this.lContainer,e)}create(e,r){let n=vo(this.lContainer,this.templateTNode.tView.ssrId);return ia(this.hostLView,this.templateTNode,new el(this.lContainer,r,e),{dehydratedView:n})}destroy(e){Xs(e[N],e)}updateValue(e,r){this.getLView(e)[be].$implicit=r}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let e=0;e(Rt(!0),Js(n,o,wg()));function GM(t,e,r,n,o,i){let s=e[ze],a=!s||xr()||Oo(r)||Ys(s,i);if(Rt(a),a)return Js(n,o,wg());let u=ua(s,t,e,r);return Wg(s,i)&&Zs(s,i,u.nextSibling),s&&(Fg(r)||Pg(u))&&So(r)&&(PE(r),pm(u)),u}function WM(){pv=GM}function qM(t,e,r,n,o){let i=e.consts,s=Sr(i,n),a=Or(e,t,8,"ng-container",s);s!==null&&Ss(a,s,!0);let u=Sr(i,o);return td(e,r,a,u),e.queries!==null&&e.queries.elementStart(e,a),a}function gv(t,e,r){let n=S(),o=X(),i=t+oe,s=o.firstCreatePass?qM(i,o,n,e,r):o.data[i];Zn(s,!0);let a=vv(o,n,s,t);return n[i]=a,zs()&&ea(o,n,a,s),fn(a,n),Hs(s)&&(Jl(o,n,s),Kl(o,s,n)),r!=null&&Xl(n,s),gv}function mv(){let t=we(),e=X();return Al()?xl():(t=t.parent,Zn(t,!1)),e.firstCreatePass&&(Gs(e,t),bl(t)&&e.queries.elementEnd(t)),mv}function ZM(t,e,r){return gv(t,e,r),mv(),ZM}var vv=(t,e,r,n)=>(Rt(!0),ql(e[z],""));function YM(t,e,r,n){let o,i=e[ze],s=!i||xr()||Oo(r);if(Rt(s),s)return ql(e[z],"");let a=ua(i,t,e,r),u=OI(i,n);return Zs(i,n,a),o=ca(u,a),o}function QM(){vv=YM}function jj(){return S()}function KM(t,e,r){let n=S(),o=mn();if(je(n,o,e)){let i=X(),s=Nr();No(i,s,n,t,e,n[z],r,!0)}return KM}function JM(t,e,r){let n=S(),o=mn();if(je(n,o,e)){let i=X(),s=Nr(),a=Rl(i.data),u=Nm(a,s,n);No(i,s,n,t,e,u,r,!0)}return JM}var kn=void 0;function XM(t){let e=t,r=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return r===1&&n===0?1:5}var e_=["en",[["a","p"],["AM","PM"],kn],[["AM","PM"],kn,kn],[["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"]],kn,[["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"]],kn,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",kn,"{1} 'at' {0}",kn],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",XM],io={};function yv(t,e,r){typeof e!="string"&&(r=e,e=t[J.LocaleId]),e=e.toLowerCase().replace(/_/g,"-"),io[e]=t,r&&(io[e][J.ExtraData]=r)}function Ue(t){let e=t_(t),r=Dp(e);if(r)return r;let n=e.split("-")[0];if(r=Dp(n),r)return r;if(n==="en")return e_;throw new C(701,!1)}function Dp(t){return t in io||(io[t]=He.ng&&He.ng.common&&He.ng.common.locales&&He.ng.common.locales[t]),io[t]}var J=function(t){return t[t.LocaleId=0]="LocaleId",t[t.DayPeriodsFormat=1]="DayPeriodsFormat",t[t.DayPeriodsStandalone=2]="DayPeriodsStandalone",t[t.DaysFormat=3]="DaysFormat",t[t.DaysStandalone=4]="DaysStandalone",t[t.MonthsFormat=5]="MonthsFormat",t[t.MonthsStandalone=6]="MonthsStandalone",t[t.Eras=7]="Eras",t[t.FirstDayOfWeek=8]="FirstDayOfWeek",t[t.WeekendRange=9]="WeekendRange",t[t.DateFormat=10]="DateFormat",t[t.TimeFormat=11]="TimeFormat",t[t.DateTimeFormat=12]="DateTimeFormat",t[t.NumberSymbols=13]="NumberSymbols",t[t.NumberFormats=14]="NumberFormats",t[t.CurrencyCode=15]="CurrencyCode",t[t.CurrencySymbol=16]="CurrencySymbol",t[t.CurrencyName=17]="CurrencyName",t[t.Currencies=18]="Currencies",t[t.Directionality=19]="Directionality",t[t.PluralCase=20]="PluralCase",t[t.ExtraData=21]="ExtraData",t}(J||{});function t_(t){return t.toLowerCase().replace(/_/g,"-")}var Os="en-US",n_="USD";var r_=Os;function o_(t){typeof t=="string"&&(r_=t.toLowerCase().replace(/_/g,"-"))}function Dv(t,e,r){let n=t[z];switch(r){case Node.COMMENT_NODE:return ql(n,e);case Node.TEXT_NODE:return Wl(n,e);case Node.ELEMENT_NODE:return Js(n,e,null)}}var i_=(t,e,r,n)=>(Rt(!0),Dv(t,r,n));function s_(t,e,r,n){return Rt(!0),Dv(t,r,n)}function a_(){i_=s_}function Dt(t,e,r,n){let o=S(),i=X(),s=we();return gd(i,o,o[z],s,t,e,n),Dt}function u_(t,e){let r=we(),n=S(),o=X(),i=Rl(o.data),s=Nm(i,r,n);return gd(o,n,s,r,t,e),u_}function c_(t,e,r,n){let o=t.cleanup;if(o!=null)for(let i=0;iu?a[u]:null}typeof s=="string"&&(i+=2)}return null}function gd(t,e,r,n,o,i,s){let a=Hs(n),c=t.firstCreatePass&&xm(t),l=e[be],d=Am(e),f=!0;if(n.type&3||s){let D=We(n,e),v=s?s(D):D,m=d.length,U=s?$=>s(lt($[n.index])):n.index,ee=null;if(!s&&a&&(ee=c_(t,e,o,n.index)),ee!==null){let $=ee.__ngLastListenerFn__||ee;$.__ngNextListenerFn__=i,ee.__ngLastListenerFn__=i,f=!1}else{i=Cp(n,e,l,i,!1);let $=r.listen(v,o,i);d.push(i,$),c&&c.push(o,U,m,m+1)}}else i=Cp(n,e,l,i,!1);let h=n.outputs,p;if(f&&h!==null&&(p=h[o])){let D=p.length;if(D)for(let v=0;v-1?gn(t.index,e):e;od(a);let u=wp(e,r,n,s),c=i.__ngNextListenerFn__;for(;c;)u=wp(e,r,c,s)&&u,c=c.__ngNextListenerFn__;return o&&u===!1&&s.preventDefault(),u}}function Uj(t=1){return zE(t)}function l_(t,e){let r=null,n=KC(t);for(let o=0;o=t.data.length&&(t.data[r]=null,t.blueprint[r]=null),e[r]=n}function zj(t){let e=VE();return _l(e,oe+t)}function Gj(t,e=""){let r=S(),n=X(),o=t+oe,i=n.firstCreatePass?Or(n,o,1,e,null):n.data[o],s=bv(n,r,i,e,t);r[o]=s,zs()&&ea(n,r,s,i),Zn(i,!1)}var bv=(t,e,r,n,o)=>(Rt(!0),Wl(e[z],n));function h_(t,e,r,n,o){let i=e[ze],s=!i||xr()||Oo(r)||Ys(i,o);return Rt(s),s?Wl(e[z],n):ua(i,t,e,r)}function p_(){bv=h_}function g_(t){return Mv("",t,""),g_}function Mv(t,e,r){let n=S(),o=hd(n,t,e,r);return o!==Ce&&oa(n,gt(),o),Mv}function m_(t,e,r,n,o){let i=S(),s=DM(i,t,e,r,n,o);return s!==Ce&&oa(i,gt(),s),m_}function v_(t,e,r,n,o,i,s){let a=S(),u=wM(a,t,e,r,n,o,i,s);return u!==Ce&&oa(a,gt(),u),v_}function y_(t,e,r,n,o,i,s,a,u,c,l,d,f,h,p){let D=S(),v=CM(D,t,e,r,n,o,i,s,a,u,c,l,d,f,h,p);return v!==Ce&&oa(D,gt(),v),y_}function D_(t,e,r){Km(e)&&(e=e());let n=S(),o=mn();if(je(n,o,e)){let i=X(),s=Nr();No(i,s,n,t,e,n[z],r,!1)}return D_}function Wj(t,e){let r=Km(t);return r&&t.set(e),r}function w_(t,e){let r=S(),n=X(),o=we();return gd(n,r,r[z],o,t,e),w_}function C_(t,e,r){let n=X();if(n.firstCreatePass){let o=Yt(t);il(r,n.data,n.blueprint,o,!0),il(e,n.data,n.blueprint,o,!1)}}function il(t,e,r,n,o){if(t=Te(t),Array.isArray(t))for(let i=0;i>20;if(br(t)||!t.multi){let h=new Bn(c,o,y),p=ec(u,e,o?l:l+f,d);p===-1?(pc(Ds(a,s),i,u),Xu(i,t,e.length),e.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),r.push(h),s.push(h)):(r[p]=h,s[p]=h)}else{let h=ec(u,e,l+f,d),p=ec(u,e,l,l+f),D=h>=0&&r[h],v=p>=0&&r[p];if(o&&!v||!o&&!D){pc(Ds(a,s),i,u);let m=b_(o?I_:E_,r.length,o,n,c);!o&&v&&(r[p].providerFactory=m),Xu(i,t,e.length,0),e.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),r.push(m),s.push(m)}else{let m=_v(r[o?p:h],c,!o&&n);Xu(i,t,h>-1?h:p,m)}!o&&n&&v&&r[p].componentProviders++}}}function Xu(t,e,r,n){let o=br(e),i=dE(e);if(o||i){let u=(i?Te(e.useClass):e).prototype.ngOnDestroy;if(u){let c=t.destroyHooks||(t.destroyHooks=[]);if(!o&&e.multi){let l=c.indexOf(r);l===-1?c.push(r,[n,u]):c[l+1].push(n,u)}else c.push(r,u)}}}function _v(t,e,r){return r&&t.componentProviders++,t.multi.push(e)-1}function ec(t,e,r,n){for(let o=r;o{r.providersResolver=(n,o)=>C_(n,o?o(t):t,e)}}var M_=(()=>{let e=class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let o=Qp(!1,n.type),i=o.length>0?da([o],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,i)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}};e.\u0275prov=I({token:e,providedIn:"environment",factory:()=>new e(_(Ne))});let t=e;return t})();function Sv(t){Ot("NgStandalone"),t.getStandaloneInjector=e=>e.get(M_).getOrCreateStandaloneInjector(t)}function qj(t,e,r){let n=Yn()+t,o=S();return o[n]===Ce?Ro(o,n,r?e.call(r):e()):gM(o,n)}function Zj(t,e,r,n){return Tv(S(),Yn(),t,e,r,n)}function Yj(t,e,r,n,o){return Av(S(),Yn(),t,e,r,n,o)}function Qj(t,e,r,n,o,i){return __(S(),Yn(),t,e,r,n,o,i)}function Kj(t,e,r,n,o,i,s){return S_(S(),Yn(),t,e,r,n,o,i,s)}function ha(t,e){let r=t[e];return r===Ce?void 0:r}function Tv(t,e,r,n,o,i){let s=e+r;return je(t,s,o)?Ro(t,s+1,i?n.call(i,o):n(o)):ha(t,s+1)}function Av(t,e,r,n,o,i,s){let a=e+r;return wo(t,a,o,i)?Ro(t,a+2,s?n.call(s,o,i):n(o,i)):ha(t,a+2)}function __(t,e,r,n,o,i,s,a){let u=e+r;return fd(t,u,o,i,s)?Ro(t,u+3,a?n.call(a,o,i,s):n(o,i,s)):ha(t,u+3)}function S_(t,e,r,n,o,i,s,a,u){let c=e+r;return Xm(t,c,o,i,s,a)?Ro(t,c+4,u?n.call(u,o,i,s,a):n(o,i,s,a)):ha(t,c+4)}function Jj(t,e){let r=X(),n,o=t+oe;r.firstCreatePass?(n=T_(e,r.pipeRegistry),r.data[o]=n,n.onDestroy&&(r.destroyHooks??=[]).push(o,n.onDestroy)):n=r.data[o];let i=n.factory||(n.factory=Vn(n.type,!0)),s,a=ke(y);try{let u=ys(!1),c=i();return ys(u),f_(r,S(),o,c),c}finally{ke(a)}}function T_(t,e){if(e)for(let r=e.length-1;r>=0;r--){let n=e[r];if(t===n.name)return n}}function Xj(t,e,r){let n=t+oe,o=S(),i=_l(o,n);return xv(o,n)?Tv(o,Yn(),e,i.transform,r,i):i.transform(r)}function eU(t,e,r,n){let o=t+oe,i=S(),s=_l(i,o);return xv(i,o)?Av(i,Yn(),e,s.transform,r,n,s):s.transform(r,n)}function xv(t,e){return t[N].data[e].pure}function tU(t,e){return aa(t,e)}var pa=(()=>{let e=class e{log(n){console.log(n)}warn(n){console.warn(n)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})();var Nv=new E("");function yn(t){return!!t&&typeof t.then=="function"}function md(t){return!!t&&typeof t.subscribe=="function"}var ga=new E(""),Rv=(()=>{let e=class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,o)=>{this.resolve=n,this.reject=o}),this.appInits=g(ga,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let n=[];for(let i of this.appInits){let s=i();if(yn(s))n.push(s);else if(md(s)){let a=new Promise((u,c)=>{s.subscribe({complete:u,error:c})});n.push(a)}}let o=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{o()}).catch(i=>{this.reject(i)}),n.length===0&&o(),this.initialized=!0}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Kn=new E("");function A_(){nh(()=>{throw new C(600,!1)})}function x_(t){return t.isBoundToModule}function N_(t,e,r){try{let n=r();return yn(n)?n.catch(o=>{throw e.runOutsideAngular(()=>t.handleError(o)),o}):n}catch(n){throw e.runOutsideAngular(()=>t.handleError(n)),n}}var Dn=(()=>{let e=class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=g(Og),this.afterRenderEffectManager=g(ad),this.externalTestViews=new Set,this.beforeRender=new ie,this.afterTick=new ie,this.componentTypes=[],this.components=[],this.isStable=g(vn).hasPendingTasks.pipe(F(n=>!n)),this._injector=g(Ne)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,o){let i=n instanceof _s;if(!this._injector.get(Rv).done){let h=!i&&Wp(n),p=!1;throw new C(405,p)}let a;i?a=n:a=this._injector.get(la).resolveComponentFactory(n),this.componentTypes.push(a.componentType);let u=x_(a)?void 0:this._injector.get(hn),c=o||a.selector,l=a.create(mt.NULL,[],c,u),d=l.location.nativeElement,f=l.injector.get(Nv,null);return f?.registerApplication(d),l.onDestroy(()=>{this.detachView(l.hostView),tc(this.components,l),f?.unregisterApplication(d)}),this._loadComponent(l),l}tick(){this._tick(!0)}_tick(n){if(this._runningTick)throw new C(101,!1);let o=V(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(n)}catch(i){this.internalErrorHandler(i)}finally{this.afterTick.next(),this._runningTick=!1,V(o)}}detectChangesInAttachedViews(n){let o=0,i=this.afterRenderEffectManager;for(;;){if(o===km)throw new C(103,!1);if(n){let s=o===0;this.beforeRender.next(s);for(let{_lView:a,notifyErrorHandler:u}of this._views)R_(a,s,u)}if(o++,i.executeInternalCallbacks(),![...this.externalTestViews.keys(),...this._views].some(({_lView:s})=>al(s))&&(i.execute(),![...this.externalTestViews.keys(),...this._views].some(({_lView:s})=>al(s))))break}}attachView(n){let o=n;this._views.push(o),o.attachToAppRef(this)}detachView(n){let o=n;tc(this._views,o),o.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);let o=this._injector.get(Kn,[]);[...this._bootstrapListeners,...o].forEach(i=>i(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>tc(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new C(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function tc(t,e){let r=t.indexOf(e);r>-1&&t.splice(r,1)}var rs;function vd(t){rs??=new WeakMap;let e=rs.get(t);if(e)return e;let r=t.isStable.pipe(it(n=>n)).toPromise().then(()=>{});return rs.set(t,r),t.onDestroy(()=>rs?.delete(t)),r}function R_(t,e,r){!e&&!al(t)||O_(t,r,e)}function al(t){return Tl(t)}function O_(t,e,r){let n;r?(n=0,t[x]|=1024):t[x]&64?n=0:n=1,Lm(t,e,n)}var ul=class{constructor(e,r){this.ngModuleFactory=e,this.componentFactories=r}},ma=(()=>{let e=class e{compileModuleSync(n){return new qc(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let o=this.compileModuleSync(n),i=qp(n),s=am(i.declarations).reduce((a,u)=>{let c=Wt(u);return c&&a.push(new Wn(c)),a},[]);return new ul(o,s)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var F_=(()=>{let e=class e{constructor(){this.zone=g(Q),this.applicationRef=g(Dn)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function P_(t){return[{provide:Q,useFactory:t},{provide:jn,multi:!0,useFactory:()=>{let e=g(F_,{optional:!0});return()=>e.initialize()}},{provide:jn,multi:!0,useFactory:()=>{let e=g(j_);return()=>{e.initialize()}}},{provide:Og,useFactory:k_}]}function k_(){let t=g(Q),e=g(dt);return r=>t.runOutsideAngular(()=>e.handleError(r))}function L_(t){let e=P_(()=>new Q(V_(t)));return pn([[],e])}function V_(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var j_=(()=>{let e=class e{constructor(){this.subscription=new ne,this.initialized=!1,this.zone=g(Q),this.pendingTasks=g(vn)}initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{Q.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Q.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function U_(){return typeof $localize<"u"&&$localize.locale||Os}var Pr=new E("",{providedIn:"root",factory:()=>g(Pr,L.Optional|L.SkipSelf)||U_()}),Ov=new E("",{providedIn:"root",factory:()=>n_});var Fv=new E("");var ls=null;function $_(t=[],e){return mt.create({name:e,providers:[{provide:Us,useValue:"platform"},{provide:Fv,useValue:new Set([()=>ls=null])},...t]})}function B_(t=[]){if(ls)return ls;let e=$_(t);return ls=e,A_(),H_(e),e}function H_(t){t.get(Vl,null)?.forEach(r=>r())}function nU(){return!1}var Ft=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=z_;let t=e;return t})();function z_(t){return G_(we(),S(),(t&16)===16)}function G_(t,e,r){if(So(t)&&!r){let n=gn(t.index,e);return new zn(n,n)}else if(t.type&47){let n=e[Ve];return new zn(n,e)}return null}var cl=class{constructor(){}supports(e){return Jm(e)}create(e){return new ll(e)}},W_=(t,e)=>e,ll=class{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||W_}forEachItem(e){let r;for(r=this._itHead;r!==null;r=r._next)e(r)}forEachOperation(e){let r=this._itHead,n=this._removalsHead,o=0,i=null;for(;r||n;){let s=!n||r&&r.currentIndex{s=this._trackByFn(o,a),r===null||!Object.is(r.trackById,s)?(r=this._mismatch(r,a,s,o),n=!0):(n&&(r=this._verifyReinsertion(r,a,s,o)),Object.is(r.item,a)||this._addIdentityChange(r,a)),r=r._next,o++}),this.length=o;return this._truncate(r),this.collection=e,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;e!==null;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;e!==null;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,r,n,o){let i;return e===null?i=this._itTail:(i=e._prev,this._remove(e)),e=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null),e!==null?(Object.is(e.item,r)||this._addIdentityChange(e,r),this._reinsertAfter(e,i,o)):(e=this._linkedRecords===null?null:this._linkedRecords.get(n,o),e!==null?(Object.is(e.item,r)||this._addIdentityChange(e,r),this._moveAfter(e,i,o)):e=this._addAfter(new dl(r,n),i,o)),e}_verifyReinsertion(e,r,n,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null);return i!==null?e=this._reinsertAfter(i,e._prev,o):e.currentIndex!=o&&(e.currentIndex=o,this._addToMoves(e,o)),e}_truncate(e){for(;e!==null;){let r=e._next;this._addToRemovals(this._unlink(e)),e=r}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(e,r,n){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(e);let o=e._prevRemoved,i=e._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(e,r,n),this._addToMoves(e,n),e}_moveAfter(e,r,n){return this._unlink(e),this._insertAfter(e,r,n),this._addToMoves(e,n),e}_addAfter(e,r,n){return this._insertAfter(e,r,n),this._additionsTail===null?this._additionsTail=this._additionsHead=e:this._additionsTail=this._additionsTail._nextAdded=e,e}_insertAfter(e,r,n){let o=r===null?this._itHead:r._next;return e._next=o,e._prev=r,o===null?this._itTail=e:o._prev=e,r===null?this._itHead=e:r._next=e,this._linkedRecords===null&&(this._linkedRecords=new Fs),this._linkedRecords.put(e),e.currentIndex=n,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){this._linkedRecords!==null&&this._linkedRecords.remove(e);let r=e._prev,n=e._next;return r===null?this._itHead=n:r._next=n,n===null?this._itTail=r:n._prev=r,e}_addToMoves(e,r){return e.previousIndex===r||(this._movesTail===null?this._movesTail=this._movesHead=e:this._movesTail=this._movesTail._nextMoved=e),e}_addToRemovals(e){return this._unlinkedRecords===null&&(this._unlinkedRecords=new Fs),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,r){return e.item=r,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=e:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=e,e}},dl=class{constructor(e,r){this.item=e,this.trackById=r,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}},fl=class{constructor(){this._head=null,this._tail=null}add(e){this._head===null?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,r){let n;for(n=this._head;n!==null;n=n._nextDup)if((r===null||r<=n.currentIndex)&&Object.is(n.trackById,e))return n;return null}remove(e){let r=e._prevDup,n=e._nextDup;return r===null?this._head=n:r._nextDup=n,n===null?this._tail=r:n._prevDup=r,this._head===null}},Fs=class{constructor(){this.map=new Map}put(e){let r=e.trackById,n=this.map.get(r);n||(n=new fl,this.map.set(r,n)),n.add(e)}get(e,r){let n=e,o=this.map.get(n);return o?o.get(e,r):null}remove(e){let r=e.trackById;return this.map.get(r).remove(e)&&this.map.delete(r),e}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function Ep(t,e,r){let n=t.previousIndex;if(n===null)return n;let o=0;return r&&n{if(r&&r.key===o)this._maybeAddToChanges(r,n),this._appendAfter=r,r=r._next;else{let i=this._getOrCreateRecordForKey(o,n);r=this._insertBeforeOrAppend(r,i)}}),r){r._prev&&(r._prev._next=null),this._removalsHead=r;for(let n=r;n!==null;n=n._nextRemoved)n===this._mapHead&&(this._mapHead=null),this._records.delete(n.key),n._nextRemoved=n._next,n.previousValue=n.currentValue,n.currentValue=null,n._prev=null,n._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,r){if(e){let n=e._prev;return r._next=e,r._prev=n,e._prev=r,n&&(n._next=r),e===this._mapHead&&(this._mapHead=r),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=r,r._prev=this._appendAfter):this._mapHead=r,this._appendAfter=r,null}_getOrCreateRecordForKey(e,r){if(this._records.has(e)){let o=this._records.get(e);this._maybeAddToChanges(o,r);let i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}let n=new gl(e);return this._records.set(e,n),n.currentValue=r,this._addToAdditions(n),n}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;e!==null;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;e!=null;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,r){Object.is(r,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=r,this._addToChanges(e))}_addToAdditions(e){this._additionsHead===null?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){this._changesHead===null?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,r){e instanceof Map?e.forEach(r):Object.keys(e).forEach(n=>r(e[n],n))}},gl=class{constructor(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}};function Ip(){return new yd([new cl])}var yd=(()=>{let e=class e{constructor(n){this.factories=n}static create(n,o){if(o!=null){let i=o.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:o=>e.create(n,o||Ip()),deps:[[e,new Vs,new Io]]}}find(n){let o=this.factories.find(i=>i.supports(n));if(o!=null)return o;throw new C(901,!1)}};e.\u0275prov=I({token:e,providedIn:"root",factory:Ip});let t=e;return t})();function bp(){return new Dd([new hl])}var Dd=(()=>{let e=class e{constructor(n){this.factories=n}static create(n,o){if(o){let i=o.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:o=>e.create(n,o||bp()),deps:[[e,new Vs,new Io]]}}find(n){let o=this.factories.find(i=>i.supports(n));if(o)return o;throw new C(901,!1)}};e.\u0275prov=I({token:e,providedIn:"root",factory:bp});let t=e;return t})();function Pv(t){try{let{rootComponent:e,appProviders:r,platformProviders:n}=t,o=B_(n),i=[L_(),...r||[]],a=new xs({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1}).injector,u=a.get(Q);return u.run(()=>{a.resolveInjectorInitializers();let c=a.get(dt,null),l;u.runOutsideAngular(()=>{l=u.onError.subscribe({next:h=>{c.handleError(h)}})});let d=()=>a.destroy(),f=o.get(Fv);return f.add(d),a.onDestroy(()=>{l.unsubscribe(),f.delete(d)}),N_(c,u,()=>{let h=a.get(Rv);return h.runInitializers(),h.donePromise.then(()=>{let p=a.get(Pr,Os);o_(p||Os);let D=a.get(Dn);return e!==void 0&&D.bootstrap(e),D})})})}catch(e){return Promise.reject(e)}}var Mp=!1,q_=!1;function Z_(){Mp||(Mp=!0,AI(),WM(),p_(),QM(),yM(),Y0(),b0(),Nb(),a_())}function Y_(t,e){return vd(t)}function kv(){return pn([{provide:Ki,useFactory:()=>{let t=!0;return ro()&&(t=!!g(Qn,{optional:!0})?.get(zg,null)),t&&Ot("NgHydration"),t}},{provide:jn,useValue:()=>{q_=!!g(FI,{optional:!0}),ro()&&g(Ki)&&(Q_(),Z_())},multi:!0},{provide:Zg,useFactory:()=>ro()&&g(Ki)},{provide:Kn,useFactory:()=>{if(ro()&&g(Ki)){let t=g(Dn),e=g(mt);return()=>{Y_(t,e).then(()=>{Q.assertInAngularZone(),g0(t)})}}return()=>{}},multi:!0}])}function Q_(){let t=Ao(),e;for(let r of t.body.childNodes)if(r.nodeType===Node.COMMENT_NODE&&r.textContent?.trim()===SI){e=r;break}if(!e)throw new C(-507,!1)}function wn(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function K_(t,e=NaN){return!isNaN(parseFloat(t))&&!isNaN(Number(t))?Number(t):e}function wd(t){let e=V(null);try{return t()}finally{V(e)}}var J_=new E("",{providedIn:"root",factory:()=>g(X_)}),X_=(()=>{let e=class e{};e.\u0275prov=I({token:e,providedIn:"root",factory:()=>new ml});let t=e;return t})(),ml=class{constructor(){this.queuedEffectCount=0,this.queues=new Map,this.pendingTasks=g(vn),this.taskId=null}scheduleEffect(e){if(this.enqueue(e),this.taskId===null){let r=this.taskId=this.pendingTasks.add();queueMicrotask(()=>{this.flush(),this.pendingTasks.remove(r),this.taskId=null})}}enqueue(e){let r=e.creationZone;this.queues.has(r)||this.queues.set(r,new Set);let n=this.queues.get(r);n.has(e)||(this.queuedEffectCount++,n.add(e))}flush(){for(;this.queuedEffectCount>0;)for(let[e,r]of this.queues)e===null?this.flushQueue(r):e.run(()=>this.flushQueue(r))}flushQueue(e){for(let r of e)e.delete(r),this.queuedEffectCount--,r.run()}},vl=class{constructor(e,r,n,o,i,s){this.scheduler=e,this.effectFn=r,this.creationZone=n,this.injector=i,this.watcher=sh(a=>this.runEffect(a),()=>this.schedule(),s),this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}runEffect(e){try{this.effectFn(e)}catch(r){this.injector.get(dt,null,{optional:!0})?.handleError(r)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}};function eS(t,e){Ot("NgSignals"),!e?.injector&&tg(eS);let r=e?.injector??g(mt),n=e?.manualCleanup!==!0?r.get(Ws):null,o=new vl(r.get(J_),t,typeof Zone>"u"?null:Zone.current,n,r,e?.allowSignalWrites??!1),i=r.get(Ft,null,{optional:!0});return!i||!(i._lView[x]&8)?o.watcher.notify():(i._lView[is]??=[]).push(o.watcher.notify),o}function rU(t,e){let r=Wt(t),n=e.elementInjector||$s();return new Wn(r).create(n,e.projectableNodes,e.hostElement,e.environmentInjector)}function Lv(t){let e=Wt(t);if(!e)return null;let r=new Wn(e);return{get selector(){return r.selector},get type(){return r.componentType},get inputs(){return r.inputs},get outputs(){return r.outputs},get ngContentSelectors(){return r.ngContentSelectors},get isStandalone(){return e.standalone},get isSignal(){return e.signals}}}var Wv=null;function Pt(){return Wv}function qv(t){Wv??=t}var Ma=class{};var he=new E(""),Fd=(()=>{let e=class e{historyGo(n){throw new Error("")}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:()=>g(tS),providedIn:"platform"});let t=e;return t})(),Zv=new E(""),tS=(()=>{let e=class e extends Fd{constructor(){super(),this._doc=g(he),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Pt().getBaseHref(this._doc)}onPopState(n){let o=Pt().getGlobalEventTarget(this._doc,"window");return o.addEventListener("popstate",n,!1),()=>o.removeEventListener("popstate",n)}onHashChange(n){let o=Pt().getGlobalEventTarget(this._doc,"window");return o.addEventListener("hashchange",n,!1),()=>o.removeEventListener("hashchange",n)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(n){this._location.pathname=n}pushState(n,o,i){this._history.pushState(n,o,i)}replaceState(n,o,i){this._history.replaceState(n,o,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:()=>new e,providedIn:"platform"});let t=e;return t})();function Pd(t,e){if(t.length==0)return e;if(e.length==0)return t;let r=0;return t.endsWith("/")&&r++,e.startsWith("/")&&r++,r==2?t+e.substring(1):r==1?t+e:t+"/"+e}function Vv(t){let e=t.match(/#|\?|$/),r=e&&e.index||t.length,n=r-(t[r-1]==="/"?1:0);return t.slice(0,n)+t.slice(r)}function tn(t){return t&&t[0]!=="?"?"?"+t:t}var rn=(()=>{let e=class e{historyGo(n){throw new Error("")}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:()=>g(kd),providedIn:"root"});let t=e;return t})(),Yv=new E(""),kd=(()=>{let e=class e extends rn{constructor(n,o){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=o??this._platformLocation.getBaseHrefFromDOM()??g(he).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return Pd(this._baseHref,n)}path(n=!1){let o=this._platformLocation.pathname+tn(this._platformLocation.search),i=this._platformLocation.hash;return i&&n?`${o}${i}`:o}pushState(n,o,i,s){let a=this.prepareExternalUrl(i+tn(s));this._platformLocation.pushState(n,o,a)}replaceState(n,o,i,s){let a=this.prepareExternalUrl(i+tn(s));this._platformLocation.replaceState(n,o,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}};e.\u0275fac=function(o){return new(o||e)(_(Fd),_(Yv,8))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Qv=(()=>{let e=class e extends rn{constructor(n,o){super(),this._platformLocation=n,this._baseHref="",this._removeListenerFns=[],o!=null&&(this._baseHref=o)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}path(n=!1){let o=this._platformLocation.hash??"#";return o.length>0?o.substring(1):o}prepareExternalUrl(n){let o=Pd(this._baseHref,n);return o.length>0?"#"+o:o}pushState(n,o,i,s){let a=this.prepareExternalUrl(i+tn(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.pushState(n,o,a)}replaceState(n,o,i,s){let a=this.prepareExternalUrl(i+tn(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.replaceState(n,o,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}};e.\u0275fac=function(o){return new(o||e)(_(Fd),_(Yv,8))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})(),Lr=(()=>{let e=class e{constructor(n){this._subject=new ae,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;let o=this._locationStrategy.getBaseHref();this._basePath=oS(Vv(jv(o))),this._locationStrategy.onPopState(i=>{this._subject.emit({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,o=""){return this.path()==this.normalize(n+tn(o))}normalize(n){return e.stripTrailingSlash(rS(this._basePath,jv(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,o="",i=null){this._locationStrategy.pushState(i,"",n,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+tn(o)),i)}replaceState(n,o="",i=null){this._locationStrategy.replaceState(i,"",n,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+tn(o)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(o=>{this._notifyUrlChangeListeners(o.url,o.state)}),()=>{let o=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(o,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",o){this._urlChangeListeners.forEach(i=>i(n,o))}subscribe(n,o,i){return this._subject.subscribe({next:n,error:o,complete:i})}};e.normalizeQueryParams=tn,e.joinWithSlash=Pd,e.stripTrailingSlash=Vv,e.\u0275fac=function(o){return new(o||e)(_(rn))},e.\u0275prov=I({token:e,factory:()=>nS(),providedIn:"root"});let t=e;return t})();function nS(){return new Lr(_(rn))}function rS(t,e){if(!t||!e.startsWith(t))return e;let r=e.substring(t.length);return r===""||["/",";","?","#"].includes(r[0])?r:e}function jv(t){return t.replace(/\/index.html$/,"")}function oS(t){if(new RegExp("^(https?:)?//").test(t)){let[,r]=t.split(/\/\/[^\/]+/);return r}return t}var Kv={ADP:[void 0,void 0,0],AFN:[void 0,"\u060B",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058F",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20BC"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09F3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xA5","\xA5"],COP:[void 0,"$",2],CRC:[void 0,"\u20A1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010D",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xA3"],ESP:[void 0,"\u20A7",0],EUR:["\u20AC"],FJD:[void 0,"$"],FKP:[void 0,"\xA3"],GBP:["\xA3"],GEL:[void 0,"\u20BE"],GHS:[void 0,"GH\u20B5"],GIP:[void 0,"\xA3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20AA"],INR:["\u20B9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xA5",void 0,0],KHR:[void 0,"\u17DB"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20A9",0],KRW:["\u20A9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20B8"],LAK:[void 0,"\u20AD",0],LBP:[void 0,"L\xA3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20AE",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20A6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20B1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20B2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20BD"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xA3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xA3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xA3",0],THB:[void 0,"\u0E3F"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20BA"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20B4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20AB",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202FCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xA4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]},Ld=function(t){return t[t.Decimal=0]="Decimal",t[t.Percent=1]="Percent",t[t.Currency=2]="Currency",t[t.Scientific=3]="Scientific",t}(Ld||{});var Re=function(t){return t[t.Format=0]="Format",t[t.Standalone=1]="Standalone",t}(Re||{}),Y=function(t){return t[t.Narrow=0]="Narrow",t[t.Abbreviated=1]="Abbreviated",t[t.Wide=2]="Wide",t[t.Short=3]="Short",t}(Y||{}),qe=function(t){return t[t.Short=0]="Short",t[t.Medium=1]="Medium",t[t.Long=2]="Long",t[t.Full=3]="Full",t}(qe||{}),Ee={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 iS(t){return Ue(t)[J.LocaleId]}function sS(t,e,r){let n=Ue(t),o=[n[J.DayPeriodsFormat],n[J.DayPeriodsStandalone]],i=tt(o,e);return tt(i,r)}function aS(t,e,r){let n=Ue(t),o=[n[J.DaysFormat],n[J.DaysStandalone]],i=tt(o,e);return tt(i,r)}function uS(t,e,r){let n=Ue(t),o=[n[J.MonthsFormat],n[J.MonthsStandalone]],i=tt(o,e);return tt(i,r)}function cS(t,e){let n=Ue(t)[J.Eras];return tt(n,e)}function va(t,e){let r=Ue(t);return tt(r[J.DateFormat],e)}function ya(t,e){let r=Ue(t);return tt(r[J.TimeFormat],e)}function Da(t,e){let n=Ue(t)[J.DateTimeFormat];return tt(n,e)}function Ct(t,e){let r=Ue(t),n=r[J.NumberSymbols][e];if(typeof n>"u"){if(e===Ee.CurrencyDecimal)return r[J.NumberSymbols][Ee.Decimal];if(e===Ee.CurrencyGroup)return r[J.NumberSymbols][Ee.Group]}return n}function Jv(t,e){return Ue(t)[J.NumberFormats][e]}function lS(t){return Ue(t)[J.Currencies]}function Xv(t){if(!t[J.ExtraData])throw new Error(`Missing extra locale data for the locale "${t[J.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function dS(t){let e=Ue(t);return Xv(e),(e[J.ExtraData][2]||[]).map(n=>typeof n=="string"?Cd(n):[Cd(n[0]),Cd(n[1])])}function fS(t,e,r){let n=Ue(t);Xv(n);let o=[n[J.ExtraData][0],n[J.ExtraData][1]],i=tt(o,e)||[];return tt(i,r)||[]}function tt(t,e){for(let r=e;r>-1;r--)if(typeof t[r]<"u")return t[r];throw new Error("Locale data API: locale data undefined")}function Cd(t){let[e,r]=t.split(":");return{hours:+e,minutes:+r}}function hS(t,e,r="en"){let n=lS(r)[t]||Kv[t]||[],o=n[1];return e==="narrow"&&typeof o=="string"?o:n[0]||t}var pS=2;function gS(t){let e,r=Kv[t];return r&&(e=r[2]),typeof e=="number"?e:pS}var mS=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,wa={},vS=/((?:[^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]*)/,nn=function(t){return t[t.Short=0]="Short",t[t.ShortGMT=1]="ShortGMT",t[t.Long=2]="Long",t[t.Extended=3]="Extended",t}(nn||{}),H=function(t){return t[t.FullYear=0]="FullYear",t[t.Month=1]="Month",t[t.Date=2]="Date",t[t.Hours=3]="Hours",t[t.Minutes=4]="Minutes",t[t.Seconds=5]="Seconds",t[t.FractionalSeconds=6]="FractionalSeconds",t[t.Day=7]="Day",t}(H||{}),B=function(t){return t[t.DayPeriods=0]="DayPeriods",t[t.Days=1]="Days",t[t.Months=2]="Months",t[t.Eras=3]="Eras",t}(B||{});function yS(t,e,r,n){let o=SS(t);e=en(r,e)||e;let s=[],a;for(;e;)if(a=vS.exec(e),a){s=s.concat(a.slice(1));let l=s.pop();if(!l)break;e=l}else{s.push(e);break}let u=o.getTimezoneOffset();n&&(u=ty(n,u),o=_S(o,n,!0));let c="";return s.forEach(l=>{let d=bS(l);c+=d?d(o,r,u):l==="''"?"'":l.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),c}function _a(t,e,r){let n=new Date(0);return n.setFullYear(t,e,r),n.setHours(0,0,0),n}function en(t,e){let r=iS(t);if(wa[r]??={},wa[r][e])return wa[r][e];let n="";switch(e){case"shortDate":n=va(t,qe.Short);break;case"mediumDate":n=va(t,qe.Medium);break;case"longDate":n=va(t,qe.Long);break;case"fullDate":n=va(t,qe.Full);break;case"shortTime":n=ya(t,qe.Short);break;case"mediumTime":n=ya(t,qe.Medium);break;case"longTime":n=ya(t,qe.Long);break;case"fullTime":n=ya(t,qe.Full);break;case"short":let o=en(t,"shortTime"),i=en(t,"shortDate");n=Ca(Da(t,qe.Short),[o,i]);break;case"medium":let s=en(t,"mediumTime"),a=en(t,"mediumDate");n=Ca(Da(t,qe.Medium),[s,a]);break;case"long":let u=en(t,"longTime"),c=en(t,"longDate");n=Ca(Da(t,qe.Long),[u,c]);break;case"full":let l=en(t,"fullTime"),d=en(t,"fullDate");n=Ca(Da(t,qe.Full),[l,d]);break}return n&&(wa[r][e]=n),n}function Ca(t,e){return e&&(t=t.replace(/\{([^}]+)}/g,function(r,n){return e!=null&&n in e?e[n]:r})),t}function wt(t,e,r="-",n,o){let i="";(t<0||o&&t<=0)&&(o?t=-t+1:(t=-t,i=r));let s=String(t);for(;s.length0||a>-r)&&(a+=r),t===H.Hours)a===0&&r===-12&&(a=12);else if(t===H.FractionalSeconds)return DS(a,e);let u=Ct(s,Ee.MinusSign);return wt(a,e,u,n,o)}}function wS(t,e){switch(t){case H.FullYear:return e.getFullYear();case H.Month:return e.getMonth();case H.Date:return e.getDate();case H.Hours:return e.getHours();case H.Minutes:return e.getMinutes();case H.Seconds:return e.getSeconds();case H.FractionalSeconds:return e.getMilliseconds();case H.Day:return e.getDay();default:throw new Error(`Unknown DateType value "${t}".`)}}function K(t,e,r=Re.Format,n=!1){return function(o,i){return CS(o,i,t,e,r,n)}}function CS(t,e,r,n,o,i){switch(r){case B.Months:return uS(e,o,n)[t.getMonth()];case B.Days:return aS(e,o,n)[t.getDay()];case B.DayPeriods:let s=t.getHours(),a=t.getMinutes();if(i){let c=dS(e),l=fS(e,o,n),d=c.findIndex(f=>{if(Array.isArray(f)){let[h,p]=f,D=s>=h.hours&&a>=h.minutes,v=s0?Math.floor(o/60):Math.ceil(o/60);switch(t){case nn.Short:return(o>=0?"+":"")+wt(s,2,i)+wt(Math.abs(o%60),2,i);case nn.ShortGMT:return"GMT"+(o>=0?"+":"")+wt(s,1,i);case nn.Long:return"GMT"+(o>=0?"+":"")+wt(s,2,i)+":"+wt(Math.abs(o%60),2,i);case nn.Extended:return n===0?"Z":(o>=0?"+":"")+wt(s,2,i)+":"+wt(Math.abs(o%60),2,i);default:throw new Error(`Unknown zone width "${t}"`)}}}var ES=0,ba=4;function IS(t){let e=_a(t,ES,1).getDay();return _a(t,0,1+(e<=ba?ba:ba+7)-e)}function ey(t){let e=t.getDay(),r=e===0?-3:ba-e;return _a(t.getFullYear(),t.getMonth(),t.getDate()+r)}function Ed(t,e=!1){return function(r,n){let o;if(e){let i=new Date(r.getFullYear(),r.getMonth(),1).getDay()-1,s=r.getDate();o=1+Math.floor((s+i)/7)}else{let i=ey(r),s=IS(i.getFullYear()),a=i.getTime()-s.getTime();o=1+Math.round(a/6048e5)}return wt(o,t,Ct(n,Ee.MinusSign))}}function Ia(t,e=!1){return function(r,n){let i=ey(r).getFullYear();return wt(i,t,Ct(n,Ee.MinusSign),e)}}var Id={};function bS(t){if(Id[t])return Id[t];let e;switch(t){case"G":case"GG":case"GGG":e=K(B.Eras,Y.Abbreviated);break;case"GGGG":e=K(B.Eras,Y.Wide);break;case"GGGGG":e=K(B.Eras,Y.Narrow);break;case"y":e=ue(H.FullYear,1,0,!1,!0);break;case"yy":e=ue(H.FullYear,2,0,!0,!0);break;case"yyy":e=ue(H.FullYear,3,0,!1,!0);break;case"yyyy":e=ue(H.FullYear,4,0,!1,!0);break;case"Y":e=Ia(1);break;case"YY":e=Ia(2,!0);break;case"YYY":e=Ia(3);break;case"YYYY":e=Ia(4);break;case"M":case"L":e=ue(H.Month,1,1);break;case"MM":case"LL":e=ue(H.Month,2,1);break;case"MMM":e=K(B.Months,Y.Abbreviated);break;case"MMMM":e=K(B.Months,Y.Wide);break;case"MMMMM":e=K(B.Months,Y.Narrow);break;case"LLL":e=K(B.Months,Y.Abbreviated,Re.Standalone);break;case"LLLL":e=K(B.Months,Y.Wide,Re.Standalone);break;case"LLLLL":e=K(B.Months,Y.Narrow,Re.Standalone);break;case"w":e=Ed(1);break;case"ww":e=Ed(2);break;case"W":e=Ed(1,!0);break;case"d":e=ue(H.Date,1);break;case"dd":e=ue(H.Date,2);break;case"c":case"cc":e=ue(H.Day,1);break;case"ccc":e=K(B.Days,Y.Abbreviated,Re.Standalone);break;case"cccc":e=K(B.Days,Y.Wide,Re.Standalone);break;case"ccccc":e=K(B.Days,Y.Narrow,Re.Standalone);break;case"cccccc":e=K(B.Days,Y.Short,Re.Standalone);break;case"E":case"EE":case"EEE":e=K(B.Days,Y.Abbreviated);break;case"EEEE":e=K(B.Days,Y.Wide);break;case"EEEEE":e=K(B.Days,Y.Narrow);break;case"EEEEEE":e=K(B.Days,Y.Short);break;case"a":case"aa":case"aaa":e=K(B.DayPeriods,Y.Abbreviated);break;case"aaaa":e=K(B.DayPeriods,Y.Wide);break;case"aaaaa":e=K(B.DayPeriods,Y.Narrow);break;case"b":case"bb":case"bbb":e=K(B.DayPeriods,Y.Abbreviated,Re.Standalone,!0);break;case"bbbb":e=K(B.DayPeriods,Y.Wide,Re.Standalone,!0);break;case"bbbbb":e=K(B.DayPeriods,Y.Narrow,Re.Standalone,!0);break;case"B":case"BB":case"BBB":e=K(B.DayPeriods,Y.Abbreviated,Re.Format,!0);break;case"BBBB":e=K(B.DayPeriods,Y.Wide,Re.Format,!0);break;case"BBBBB":e=K(B.DayPeriods,Y.Narrow,Re.Format,!0);break;case"h":e=ue(H.Hours,1,-12);break;case"hh":e=ue(H.Hours,2,-12);break;case"H":e=ue(H.Hours,1);break;case"HH":e=ue(H.Hours,2);break;case"m":e=ue(H.Minutes,1);break;case"mm":e=ue(H.Minutes,2);break;case"s":e=ue(H.Seconds,1);break;case"ss":e=ue(H.Seconds,2);break;case"S":e=ue(H.FractionalSeconds,1);break;case"SS":e=ue(H.FractionalSeconds,2);break;case"SSS":e=ue(H.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":e=Ea(nn.Short);break;case"ZZZZZ":e=Ea(nn.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":e=Ea(nn.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":e=Ea(nn.Long);break;default:return null}return Id[t]=e,e}function ty(t,e){t=t.replace(/:/g,"");let r=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(r)?e:r}function MS(t,e){return t=new Date(t.getTime()),t.setMinutes(t.getMinutes()+e),t}function _S(t,e,r){let n=r?-1:1,o=t.getTimezoneOffset(),i=ty(e,o);return MS(t,n*(i-o))}function SS(t){if(Uv(t))return t;if(typeof t=="number"&&!isNaN(t))return new Date(t);if(typeof t=="string"){if(t=t.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(t)){let[o,i=1,s=1]=t.split("-").map(a=>+a);return _a(o,i-1,s)}let r=parseFloat(t);if(!isNaN(t-r))return new Date(r);let n;if(n=t.match(mS))return TS(n)}let e=new Date(t);if(!Uv(e))throw new Error(`Unable to convert "${t}" into a date`);return e}function TS(t){let e=new Date(0),r=0,n=0,o=t[8]?e.setUTCFullYear:e.setFullYear,i=t[8]?e.setUTCHours:e.setHours;t[9]&&(r=Number(t[9]+t[10]),n=Number(t[9]+t[11])),o.call(e,Number(t[1]),Number(t[2])-1,Number(t[3]));let s=Number(t[4]||0)-r,a=Number(t[5]||0)-n,u=Number(t[6]||0),c=Math.floor(parseFloat("0."+(t[7]||0))*1e3);return i.call(e,s,a,u,c),e}function Uv(t){return t instanceof Date&&!isNaN(t.valueOf())}var AS=/^(\d+)?\.((\d+)(-(\d+))?)?$/,$v=22,Sa=".",Po="0",xS=";",NS=",",bd="#",Bv="\xA4",RS="%";function ny(t,e,r,n,o,i,s=!1){let a="",u=!1;if(!isFinite(t))a=Ct(r,Ee.Infinity);else{let c=kS(t);s&&(c=PS(c));let l=e.minInt,d=e.minFrac,f=e.maxFrac;if(i){let U=i.match(AS);if(U===null)throw new Error(`${i} is not a valid digit info`);let ee=U[1],$=U[3],Se=U[5];ee!=null&&(l=Md(ee)),$!=null&&(d=Md($)),Se!=null?f=Md(Se):$!=null&&d>f&&(f=d)}LS(c,d,f);let h=c.digits,p=c.integerLen,D=c.exponent,v=[];for(u=h.every(U=>!U);p0?v=h.splice(p,h.length):(v=h,h=[0]);let m=[];for(h.length>=e.lgSize&&m.unshift(h.splice(-e.lgSize,h.length).join(""));h.length>e.gSize;)m.unshift(h.splice(-e.gSize,h.length).join(""));h.length&&m.unshift(h.join("")),a=m.join(Ct(r,n)),v.length&&(a+=Ct(r,o)+v.join("")),D&&(a+=Ct(r,Ee.Exponential)+"+"+D)}return t<0&&!u?a=e.negPre+a+e.negSuf:a=e.posPre+a+e.posSuf,a}function OS(t,e,r,n,o){let i=Jv(e,Ld.Currency),s=ry(i,Ct(e,Ee.MinusSign));return s.minFrac=gS(n),s.maxFrac=s.minFrac,ny(t,s,e,Ee.CurrencyGroup,Ee.CurrencyDecimal,o).replace(Bv,r).replace(Bv,"").trim()}function FS(t,e,r){let n=Jv(e,Ld.Percent),o=ry(n,Ct(e,Ee.MinusSign));return ny(t,o,e,Ee.Group,Ee.Decimal,r,!0).replace(new RegExp(RS,"g"),Ct(e,Ee.PercentSign))}function ry(t,e="-"){let r={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},n=t.split(xS),o=n[0],i=n[1],s=o.indexOf(Sa)!==-1?o.split(Sa):[o.substring(0,o.lastIndexOf(Po)+1),o.substring(o.lastIndexOf(Po)+1)],a=s[0],u=s[1]||"";r.posPre=a.substring(0,a.indexOf(bd));for(let l=0;l-1&&(e=e.replace(Sa,"")),(i=e.search(/e/i))>0?(o<0&&(o=i),o+=+e.slice(i+1),e=e.substring(0,i)):o<0&&(o=e.length),i=0;e.charAt(i)===Po;i++);if(i===(a=e.length))n=[0],o=1;else{for(a--;e.charAt(a)===Po;)a--;for(o-=i,n=[],s=0;i<=a;i++,s++)n[s]=Number(e.charAt(i))}return o>$v&&(n=n.splice(0,$v-1),r=o-1,o=1),{digits:n,exponent:r,integerLen:o}}function LS(t,e,r){if(e>r)throw new Error(`The minimum number of digits after fraction (${e}) is higher than the maximum (${r}).`);let n=t.digits,o=n.length-t.integerLen,i=Math.min(Math.max(e,o),r),s=i+t.integerLen,a=n[s];if(s>0){n.splice(Math.max(t.integerLen,s));for(let d=s;d=5)if(s-1<0){for(let d=0;d>s;d--)n.unshift(0),t.integerLen++;n.unshift(1),t.integerLen++}else n[s-1]++;for(;o=c?p.pop():u=!1),f>=10?1:0},0);l&&(n.unshift(l),t.integerLen++)}function Md(t){let e=parseInt(t);if(isNaN(e))throw new Error("Invalid integer literal when parsing "+t);return e}function wU(t,e,r){return yv(t,e,r)}function Ta(t,e){e=encodeURIComponent(e);for(let r of t.split(";")){let n=r.indexOf("="),[o,i]=n==-1?[r,""]:[r.slice(0,n),r.slice(n+1)];if(o.trim()===e)return decodeURIComponent(i)}return null}var _d=/\s+/,Hv=[],CU=(()=>{let e=class e{constructor(n,o){this._ngEl=n,this._renderer=o,this.initialClasses=Hv,this.stateMap=new Map}set klass(n){this.initialClasses=n!=null?n.trim().split(_d):Hv}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(_d):n}ngDoCheck(){for(let o of this.initialClasses)this._updateState(o,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let o of n)this._updateState(o,!0);else if(n!=null)for(let o of Object.keys(n))this._updateState(o,!!n[o]);this._applyStateDiff()}_updateState(n,o){let i=this.stateMap.get(n);i!==void 0?(i.enabled!==o&&(i.changed=!0,i.enabled=o),i.touched=!0):this.stateMap.set(n,{enabled:o,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let o=n[0],i=n[1];i.changed?(this._toggleClass(o,i.enabled),i.changed=!1):i.touched||(i.enabled&&this._toggleClass(o,!1),this.stateMap.delete(o)),i.touched=!1}}_toggleClass(n,o){n=n.trim(),n.length>0&&n.split(_d).forEach(i=>{o?this._renderer.addClass(this._ngEl.nativeElement,i):this._renderer.removeClass(this._ngEl.nativeElement,i)})}};e.\u0275fac=function(o){return new(o||e)(y(_e),y(et))},e.\u0275dir=j({type:e,selectors:[["","ngClass",""]],inputs:{klass:[re.None,"class","klass"],ngClass:"ngClass"},standalone:!0});let t=e;return t})();var Sd=class{constructor(e,r,n,o){this.$implicit=e,this.ngForOf=r,this.index=n,this.count=o}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},EU=(()=>{let e=class e{set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}constructor(n,o,i){this._viewContainer=n,this._template=o,this._differs=i,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let n=this._ngForOf;if(!this._differ&&n)if(0)try{}catch{}else this._differ=this._differs.find(n).create(this.ngForTrackBy)}if(this._differ){let n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){let o=this._viewContainer;n.forEachOperation((i,s,a)=>{if(i.previousIndex==null)o.createEmbeddedView(this._template,new Sd(i.item,this._ngForOf,-1,-1),a===null?void 0:a);else if(a==null)o.remove(s===null?void 0:s);else if(s!==null){let u=o.get(s);o.move(u,a),zv(u,i)}});for(let i=0,s=o.length;i{let s=o.get(i.currentIndex);zv(s,i)})}static ngTemplateContextGuard(n,o){return!0}};e.\u0275fac=function(o){return new(o||e)(y(Xt),y(Gn),y(yd))},e.\u0275dir=j({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0});let t=e;return t})();function zv(t,e){t.context.$implicit=e.item}var IU=(()=>{let e=class e{constructor(n,o){this._viewContainer=n,this._context=new Td,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=o}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){Gv("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){Gv("ngIfElse",n),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(n,o){return!0}};e.\u0275fac=function(o){return new(o||e)(y(Xt),y(Gn))},e.\u0275dir=j({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});let t=e;return t})(),Td=class{constructor(){this.$implicit=null,this.ngIf=null}};function Gv(t,e){if(!!!(!e||e.createEmbeddedView))throw new Error(`${t} must be a TemplateRef, but received '${xe(e)}'.`)}var bU=(()=>{let e=class e{constructor(n,o,i){this._ngEl=n,this._differs=o,this._renderer=i,this._ngStyle=null,this._differ=null}set ngStyle(n){this._ngStyle=n,!this._differ&&n&&(this._differ=this._differs.find(n).create())}ngDoCheck(){if(this._differ){let n=this._differ.diff(this._ngStyle);n&&this._applyChanges(n)}}_setStyle(n,o){let[i,s]=n.split("."),a=i.indexOf("-")===-1?void 0:xt.DashCase;o!=null?this._renderer.setStyle(this._ngEl.nativeElement,i,s?`${o}${s}`:o,a):this._renderer.removeStyle(this._ngEl.nativeElement,i,a)}_applyChanges(n){n.forEachRemovedItem(o=>this._setStyle(o.key,null)),n.forEachAddedItem(o=>this._setStyle(o.key,o.currentValue)),n.forEachChangedItem(o=>this._setStyle(o.key,o.currentValue))}};e.\u0275fac=function(o){return new(o||e)(y(_e),y(Dd),y(et))},e.\u0275dir=j({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0});let t=e;return t})(),MU=(()=>{let e=class e{constructor(n){this._viewContainerRef=n,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(n){if(this._shouldRecreateView(n)){let o=this._viewContainerRef;if(this._viewRef&&o.remove(o.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let i=this._createContextForwardProxy();this._viewRef=o.createEmbeddedView(this.ngTemplateOutlet,i,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,o,i)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,o,i):!1,get:(n,o,i)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,o,i)}})}};e.\u0275fac=function(o){return new(o||e)(y(Xt))},e.\u0275dir=j({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[Ke]});let t=e;return t})();function Aa(t,e){return new C(2100,!1)}var Ad=class{createSubscription(e,r){return wd(()=>e.subscribe({next:r,error:n=>{throw n}}))}dispose(e){wd(()=>e.unsubscribe())}},xd=class{createSubscription(e,r){return e.then(r,n=>{throw n})}dispose(e){}},VS=new xd,jS=new Ad,_U=(()=>{let e=class e{constructor(n){this._latestValue=null,this.markForCheckOnValueUpdate=!0,this._subscription=null,this._obj=null,this._strategy=null,this._ref=n}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(n){if(!this._obj){if(n)try{this.markForCheckOnValueUpdate=!1,this._subscribe(n)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return n!==this._obj?(this._dispose(),this.transform(n)):this._latestValue}_subscribe(n){this._obj=n,this._strategy=this._selectStrategy(n),this._subscription=this._strategy.createSubscription(n,o=>this._updateLatestValue(n,o))}_selectStrategy(n){if(yn(n))return VS;if(md(n))return jS;throw Aa(e,n)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(n,o){n===this._obj&&(this._latestValue=o,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}};e.\u0275fac=function(o){return new(o||e)(y(Ft,16))},e.\u0275pipe=Mo({name:"async",type:e,pure:!1,standalone:!0});let t=e;return t})();var US="mediumDate",$S=new E(""),BS=new E(""),SU=(()=>{let e=class e{constructor(n,o,i){this.locale=n,this.defaultTimezone=o,this.defaultOptions=i}transform(n,o,i,s){if(n==null||n===""||n!==n)return null;try{let a=o??this.defaultOptions?.dateFormat??US,u=i??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return yS(n,a,s||this.locale,u)}catch(a){throw Aa(e,a.message)}}};e.\u0275fac=function(o){return new(o||e)(y(Pr,16),y($S,24),y(BS,24))},e.\u0275pipe=Mo({name:"date",type:e,pure:!0,standalone:!0});let t=e;return t})();var TU=(()=>{let e=class e{constructor(n){this._locale=n}transform(n,o,i){if(!oy(n))return null;i||=this._locale;try{let s=iy(n);return FS(s,i,o)}catch(s){throw Aa(e,s.message)}}};e.\u0275fac=function(o){return new(o||e)(y(Pr,16))},e.\u0275pipe=Mo({name:"percent",type:e,pure:!0,standalone:!0});let t=e;return t})(),AU=(()=>{let e=class e{constructor(n,o="USD"){this._locale=n,this._defaultCurrencyCode=o}transform(n,o=this._defaultCurrencyCode,i="symbol",s,a){if(!oy(n))return null;a||=this._locale,typeof i=="boolean"&&(i=i?"symbol":"code");let u=o||this._defaultCurrencyCode;i!=="code"&&(i==="symbol"||i==="symbol-narrow"?u=hS(u,i==="symbol"?"wide":"narrow",a):u=i);try{let c=iy(n);return OS(c,a,u,o,s)}catch(c){throw Aa(e,c.message)}}};e.\u0275fac=function(o){return new(o||e)(y(Pr,16),y(Ov,16))},e.\u0275pipe=Mo({name:"currency",type:e,pure:!0,standalone:!0});let t=e;return t})();function oy(t){return!(t==null||t===""||t!==t)}function iy(t){if(typeof t=="string"&&!isNaN(Number(t)-parseFloat(t)))return Number(t);if(typeof t!="number")throw new Error(`${t} is not a number`);return t}var HS=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=ht({type:e}),e.\u0275inj=ft({});let t=e;return t})(),Vd="browser",zS="server";function GS(t){return t===Vd}function jd(t){return t===zS}var sy=(()=>{let e=class e{};e.\u0275prov=I({token:e,providedIn:"root",factory:()=>GS(g(vt))?new Nd(g(he),window):new Rd});let t=e;return t})(),Nd=class{constructor(e,r){this.document=e,this.window=r,this.offset=()=>[0,0]}setOffset(e){Array.isArray(e)?this.offset=()=>e:this.offset=e}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(e){this.window.scrollTo(e[0],e[1])}scrollToAnchor(e){let r=WS(this.document,e);r&&(this.scrollToElement(r),r.focus())}setHistoryScrollRestoration(e){this.window.history.scrollRestoration=e}scrollToElement(e){let r=e.getBoundingClientRect(),n=r.left+this.window.pageXOffset,o=r.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(n-i[0],o-i[1])}};function WS(t,e){let r=t.getElementById(e)||t.getElementsByName(e)[0];if(r)return r;if(typeof t.createTreeWalker=="function"&&t.body&&typeof t.body.attachShadow=="function"){let n=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT),o=n.currentNode;for(;o;){let i=o.shadowRoot;if(i){let s=i.getElementById(e)||i.querySelector(`[name="${e}"]`);if(s)return s}o=n.nextNode()}}return null}var Rd=class{setOffset(e){}getScrollPosition(){return[0,0]}scrollToPosition(e){}scrollToAnchor(e){}setHistoryScrollRestoration(e){}},kr=class{};var Lo=class{},Vo=class{},kt=class t{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?typeof e=="string"?this.lazyInit=()=>{this.headers=new Map,e.split(` `).forEach(r=>{let n=r.indexOf(":");if(n>0){let o=r.slice(0,n),i=o.toLowerCase(),s=r.slice(n+1).trim();this.maybeSetNormalizedName(o,i),this.headers.has(i)?this.headers.get(i).push(s):this.headers.set(i,[s])}})}:typeof Headers<"u"&&e instanceof Headers?(this.headers=new Map,e.forEach((r,n)=>{this.setHeaderEntries(n,r)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(e).forEach(([r,n])=>{this.setHeaderEntries(r,n)})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();let r=this.headers.get(e.toLowerCase());return r&&r.length>0?r[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,r){return this.clone({name:e,value:r,op:"a"})}set(e,r){return this.clone({name:e,value:r,op:"s"})}delete(e,r){return this.clone({name:e,value:r,op:"d"})}maybeSetNormalizedName(e,r){this.normalizedNames.has(r)||this.normalizedNames.set(r,e)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(r=>{this.headers.set(r,e.headers.get(r)),this.normalizedNames.set(r,e.normalizedNames.get(r))})}clone(e){let r=new t;return r.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,r.lazyUpdate=(this.lazyUpdate||[]).concat([e]),r}applyUpdate(e){let r=e.name.toLowerCase();switch(e.op){case"a":case"s":let n=e.value;if(typeof n=="string"&&(n=[n]),n.length===0)return;this.maybeSetNormalizedName(e.name,r);let o=(e.op==="a"?this.headers.get(r):void 0)||[];o.push(...n),this.headers.set(r,o);break;case"d":let i=e.value;if(!i)this.headers.delete(r),this.normalizedNames.delete(r);else{let s=this.headers.get(r);if(!s)return;s=s.filter(a=>i.indexOf(a)===-1),s.length===0?(this.headers.delete(r),this.normalizedNames.delete(r)):this.headers.set(r,s)}break}}setHeaderEntries(e,r){let n=(Array.isArray(r)?r:[r]).map(i=>i.toString()),o=e.toLowerCase();this.headers.set(o,n),this.maybeSetNormalizedName(e,o)}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(r=>e(this.normalizedNames.get(r),this.headers.get(r)))}};var Bd=class{encodeKey(e){return uy(e)}encodeValue(e){return uy(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function ZS(t,e){let r=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(o=>{let i=o.indexOf("="),[s,a]=i==-1?[e.decodeKey(o),""]:[e.decodeKey(o.slice(0,i)),e.decodeValue(o.slice(i+1))],u=r.get(s)||[];u.push(a),r.set(s,u)}),r}var YS=/%(\d[a-f0-9])/gi,QS={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function uy(t){return encodeURIComponent(t).replace(YS,(e,r)=>QS[r]??e)}function xa(t){return`${t}`}var En=class t{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new Bd,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=ZS(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(r=>{let n=e.fromObject[r],o=Array.isArray(n)?n.map(xa):[xa(n)];this.map.set(r,o)})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();let r=this.map.get(e);return r?r[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,r){return this.clone({param:e,value:r,op:"a"})}appendAll(e){let r=[];return Object.keys(e).forEach(n=>{let o=e[n];Array.isArray(o)?o.forEach(i=>{r.push({param:n,value:i,op:"a"})}):r.push({param:n,value:o,op:"a"})}),this.clone(r)}set(e,r){return this.clone({param:e,value:r,op:"s"})}delete(e,r){return this.clone({param:e,value:r,op:"d"})}toString(){return this.init(),this.keys().map(e=>{let r=this.encoder.encodeKey(e);return this.map.get(e).map(n=>r+"="+this.encoder.encodeValue(n)).join("&")}).filter(e=>e!=="").join("&")}clone(e){let r=new t({encoder:this.encoder});return r.cloneFrom=this.cloneFrom||this,r.updates=(this.updates||[]).concat(e),r}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":let r=(e.op==="a"?this.map.get(e.param):void 0)||[];r.push(xa(e.value)),this.map.set(e.param,r);break;case"d":if(e.value!==void 0){let n=this.map.get(e.param)||[],o=n.indexOf(xa(e.value));o!==-1&&n.splice(o,1),n.length>0?this.map.set(e.param,n):this.map.delete(e.param)}else{this.map.delete(e.param);break}}}),this.cloneFrom=this.updates=null)}};var Hd=class{constructor(){this.map=new Map}set(e,r){return this.map.set(e,r),this}get(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}delete(e){return this.map.delete(e),this}has(e){return this.map.has(e)}keys(){return this.map.keys()}};function KS(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function cy(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function ly(t){return typeof Blob<"u"&&t instanceof Blob}function dy(t){return typeof FormData<"u"&&t instanceof FormData}function JS(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var ko=class t{constructor(e,r,n,o){this.url=r,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase();let i;if(KS(this.method)||o?(this.body=n!==void 0?n:null,i=o):i=n,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),this.transferCache=i.transferCache),this.headers??=new kt,this.context??=new Hd,!this.params)this.params=new En,this.urlWithParams=r;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=r;else{let a=r.indexOf("?"),u=a===-1?"?":ad.set(f,e.setHeaders[f]),u)),e.setParams&&(c=Object.keys(e.setParams).reduce((d,f)=>d.set(f,e.setParams[f]),c)),new t(r,n,i,{params:c,headers:u,context:l,reportProgress:a,responseType:o,withCredentials:s})}},In=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}(In||{}),jo=class{constructor(e,r=Uo.Ok,n="OK"){this.headers=e.headers||new kt,this.status=e.status!==void 0?e.status:r,this.statusText=e.statusText||n,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}},Ra=class t extends jo{constructor(e={}){super(e),this.type=In.ResponseHeader}clone(e={}){return new t({headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},Jn=class t extends jo{constructor(e={}){super(e),this.type=In.Response,this.body=e.body!==void 0?e.body:null}clone(e={}){return new t({body:e.body!==void 0?e.body:this.body,headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},Cn=class extends jo{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${e.url||"(unknown url)"}`:this.message=`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}},Uo=function(t){return t[t.Continue=100]="Continue",t[t.SwitchingProtocols=101]="SwitchingProtocols",t[t.Processing=102]="Processing",t[t.EarlyHints=103]="EarlyHints",t[t.Ok=200]="Ok",t[t.Created=201]="Created",t[t.Accepted=202]="Accepted",t[t.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",t[t.NoContent=204]="NoContent",t[t.ResetContent=205]="ResetContent",t[t.PartialContent=206]="PartialContent",t[t.MultiStatus=207]="MultiStatus",t[t.AlreadyReported=208]="AlreadyReported",t[t.ImUsed=226]="ImUsed",t[t.MultipleChoices=300]="MultipleChoices",t[t.MovedPermanently=301]="MovedPermanently",t[t.Found=302]="Found",t[t.SeeOther=303]="SeeOther",t[t.NotModified=304]="NotModified",t[t.UseProxy=305]="UseProxy",t[t.Unused=306]="Unused",t[t.TemporaryRedirect=307]="TemporaryRedirect",t[t.PermanentRedirect=308]="PermanentRedirect",t[t.BadRequest=400]="BadRequest",t[t.Unauthorized=401]="Unauthorized",t[t.PaymentRequired=402]="PaymentRequired",t[t.Forbidden=403]="Forbidden",t[t.NotFound=404]="NotFound",t[t.MethodNotAllowed=405]="MethodNotAllowed",t[t.NotAcceptable=406]="NotAcceptable",t[t.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",t[t.RequestTimeout=408]="RequestTimeout",t[t.Conflict=409]="Conflict",t[t.Gone=410]="Gone",t[t.LengthRequired=411]="LengthRequired",t[t.PreconditionFailed=412]="PreconditionFailed",t[t.PayloadTooLarge=413]="PayloadTooLarge",t[t.UriTooLong=414]="UriTooLong",t[t.UnsupportedMediaType=415]="UnsupportedMediaType",t[t.RangeNotSatisfiable=416]="RangeNotSatisfiable",t[t.ExpectationFailed=417]="ExpectationFailed",t[t.ImATeapot=418]="ImATeapot",t[t.MisdirectedRequest=421]="MisdirectedRequest",t[t.UnprocessableEntity=422]="UnprocessableEntity",t[t.Locked=423]="Locked",t[t.FailedDependency=424]="FailedDependency",t[t.TooEarly=425]="TooEarly",t[t.UpgradeRequired=426]="UpgradeRequired",t[t.PreconditionRequired=428]="PreconditionRequired",t[t.TooManyRequests=429]="TooManyRequests",t[t.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",t[t.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",t[t.InternalServerError=500]="InternalServerError",t[t.NotImplemented=501]="NotImplemented",t[t.BadGateway=502]="BadGateway",t[t.ServiceUnavailable=503]="ServiceUnavailable",t[t.GatewayTimeout=504]="GatewayTimeout",t[t.HttpVersionNotSupported=505]="HttpVersionNotSupported",t[t.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",t[t.InsufficientStorage=507]="InsufficientStorage",t[t.LoopDetected=508]="LoopDetected",t[t.NotExtended=510]="NotExtended",t[t.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",t}(Uo||{});function Ud(t,e){return{body:e,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,transferCache:t.transferCache}}var XS=(()=>{let e=class e{constructor(n){this.handler=n}request(n,o,i={}){let s;if(n instanceof ko)s=n;else{let c;i.headers instanceof kt?c=i.headers:c=new kt(i.headers);let l;i.params&&(i.params instanceof En?l=i.params:l=new En({fromObject:i.params})),s=new ko(n,o,i.body!==void 0?i.body:null,{headers:c,context:i.context,params:l,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials,transferCache:i.transferCache})}let a=M(s).pipe(_t(c=>this.handler.handle(c)));if(n instanceof ko||i.observe==="events")return a;let u=a.pipe(Ie(c=>c instanceof Jn));switch(i.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return u.pipe(F(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return c.body}));case"blob":return u.pipe(F(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new Error("Response is not a Blob.");return c.body}));case"text":return u.pipe(F(c=>{if(c.body!==null&&typeof c.body!="string")throw new Error("Response is not a string.");return c.body}));case"json":default:return u.pipe(F(c=>c.body))}case"response":return u;default:throw new Error(`Unreachable: unhandled observe type ${i.observe}}`)}}delete(n,o={}){return this.request("DELETE",n,o)}get(n,o={}){return this.request("GET",n,o)}head(n,o={}){return this.request("HEAD",n,o)}jsonp(n,o){return this.request("JSONP",n,{params:new En().append(o,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,o={}){return this.request("OPTIONS",n,o)}patch(n,o,i={}){return this.request("PATCH",n,Ud(i,o))}post(n,o,i={}){return this.request("POST",n,Ud(i,o))}put(n,o,i={}){return this.request("PUT",n,Ud(i,o))}};e.\u0275fac=function(o){return new(o||e)(_(Lo))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})(),eT=/^\)\]\}',?\n/,tT="X-Request-URL";function fy(t){if(t.url)return t.url;let e=tT.toLocaleLowerCase();return t.headers.get(e)}var $d=(()=>{let e=class e{constructor(){this.fetchImpl=g(zd,{optional:!0})?.fetch??fetch.bind(globalThis),this.ngZone=g(Q)}handle(n){return new O(o=>{let i=new AbortController;return this.doRequest(n,i.signal,o).then(Gd,s=>o.error(new Cn({error:s}))),()=>i.abort()})}doRequest(n,o,i){return yi(this,null,function*(){let s=this.createRequestInit(n),a;try{let p=this.fetchImpl(n.urlWithParams,w({signal:o},s));nT(p),i.next({type:In.Sent}),a=yield p}catch(p){i.error(new Cn({error:p,status:p.status??0,statusText:p.statusText,url:n.urlWithParams,headers:p.headers}));return}let u=new kt(a.headers),c=a.statusText,l=fy(a)??n.urlWithParams,d=a.status,f=null;if(n.reportProgress&&i.next(new Ra({headers:u,status:d,statusText:c,url:l})),a.body){let p=a.headers.get("content-length"),D=[],v=a.body.getReader(),m=0,U,ee,$=typeof Zone<"u"&&Zone.current;yield this.ngZone.runOutsideAngular(()=>yi(this,null,function*(){for(;;){let{done:ce,value:Qe}=yield v.read();if(ce)break;if(D.push(Qe),m+=Qe.length,n.reportProgress){ee=n.responseType==="text"?(ee??"")+(U??=new TextDecoder).decode(Qe,{stream:!0}):void 0;let rr=()=>i.next({type:In.DownloadProgress,total:p?+p:void 0,loaded:m,partialText:ee});$?$.run(rr):rr()}}}));let Se=this.concatChunks(D,m);try{let ce=a.headers.get("Content-Type")??"";f=this.parseBody(n,Se,ce)}catch(ce){i.error(new Cn({error:ce,headers:new kt(a.headers),status:a.status,statusText:a.statusText,url:fy(a)??n.urlWithParams}));return}}d===0&&(d=f?Uo.Ok:0),d>=200&&d<300?(i.next(new Jn({body:f,headers:u,status:d,statusText:c,url:l})),i.complete()):i.error(new Cn({error:f,headers:u,status:d,statusText:c,url:l}))})}parseBody(n,o,i){switch(n.responseType){case"json":let s=new TextDecoder().decode(o).replace(eT,"");return s===""?null:JSON.parse(s);case"text":return new TextDecoder().decode(o);case"blob":return new Blob([o],{type:i});case"arraybuffer":return o.buffer}}createRequestInit(n){let o={},i=n.withCredentials?"include":void 0;if(n.headers.forEach((s,a)=>o[s]=a.join(",")),o.Accept??="application/json, text/plain, */*",!o["Content-Type"]){let s=n.detectContentTypeHeader();s!==null&&(o["Content-Type"]=s)}return{body:n.serializeBody(),method:n.method,headers:o,credentials:i}}concatChunks(n,o){let i=new Uint8Array(o),s=0;for(let a of n)i.set(a,s),s+=a.length;return i}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})(),zd=class{};function Gd(){}function nT(t){t.then(Gd,Gd)}function Ey(t,e){return e(t)}function rT(t,e){return(r,n)=>e.intercept(r,{handle:o=>t(o,n)})}function oT(t,e,r){return(n,o)=>pt(r,()=>e(n,i=>t(i,o)))}var iT=new E(""),Wd=new E(""),Iy=new E(""),by=new E("");function sT(){let t=null;return(e,r)=>{t===null&&(t=(g(iT,{optional:!0})??[]).reduceRight(rT,Ey));let n=g(vn),o=n.add();return t(e,r).pipe(zt(()=>n.remove(o)))}}var hy=(()=>{let e=class e extends Lo{constructor(n,o){super(),this.backend=n,this.injector=o,this.chain=null,this.pendingTasks=g(vn);let i=g(by,{optional:!0});this.backend=i??n}handle(n){if(this.chain===null){let i=Array.from(new Set([...this.injector.get(Wd),...this.injector.get(Iy,[])]));this.chain=i.reduceRight((s,a)=>oT(s,a,this.injector),Ey)}let o=this.pendingTasks.add();return this.chain(n,i=>this.backend.handle(i)).pipe(zt(()=>this.pendingTasks.remove(o)))}};e.\u0275fac=function(o){return new(o||e)(_(Vo),_(Ne))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})();var aT=/^\)\]\}',?\n/;function uT(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}var py=(()=>{let e=class e{constructor(n){this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new C(-2800,!1);let o=this.xhrFactory;return(o.\u0275loadImpl?q(o.\u0275loadImpl()):M(null)).pipe(Pe(()=>new O(s=>{let a=o.build();if(a.open(n.method,n.urlWithParams),n.withCredentials&&(a.withCredentials=!0),n.headers.forEach((v,m)=>a.setRequestHeader(v,m.join(","))),n.headers.has("Accept")||a.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){let v=n.detectContentTypeHeader();v!==null&&a.setRequestHeader("Content-Type",v)}if(n.responseType){let v=n.responseType.toLowerCase();a.responseType=v!=="json"?v:"text"}let u=n.serializeBody(),c=null,l=()=>{if(c!==null)return c;let v=a.statusText||"OK",m=new kt(a.getAllResponseHeaders()),U=uT(a)||n.url;return c=new Ra({headers:m,status:a.status,statusText:v,url:U}),c},d=()=>{let{headers:v,status:m,statusText:U,url:ee}=l(),$=null;m!==Uo.NoContent&&($=typeof a.response>"u"?a.responseText:a.response),m===0&&(m=$?Uo.Ok:0);let Se=m>=200&&m<300;if(n.responseType==="json"&&typeof $=="string"){let ce=$;$=$.replace(aT,"");try{$=$!==""?JSON.parse($):null}catch(Qe){$=ce,Se&&(Se=!1,$={error:Qe,text:$})}}Se?(s.next(new Jn({body:$,headers:v,status:m,statusText:U,url:ee||void 0})),s.complete()):s.error(new Cn({error:$,headers:v,status:m,statusText:U,url:ee||void 0}))},f=v=>{let{url:m}=l(),U=new Cn({error:v,status:a.status||0,statusText:a.statusText||"Unknown Error",url:m||void 0});s.error(U)},h=!1,p=v=>{h||(s.next(l()),h=!0);let m={type:In.DownloadProgress,loaded:v.loaded};v.lengthComputable&&(m.total=v.total),n.responseType==="text"&&a.responseText&&(m.partialText=a.responseText),s.next(m)},D=v=>{let m={type:In.UploadProgress,loaded:v.loaded};v.lengthComputable&&(m.total=v.total),s.next(m)};return a.addEventListener("load",d),a.addEventListener("error",f),a.addEventListener("timeout",f),a.addEventListener("abort",f),n.reportProgress&&(a.addEventListener("progress",p),u!==null&&a.upload&&a.upload.addEventListener("progress",D)),a.send(u),s.next({type:In.Sent}),()=>{a.removeEventListener("error",f),a.removeEventListener("abort",f),a.removeEventListener("load",d),a.removeEventListener("timeout",f),n.reportProgress&&(a.removeEventListener("progress",p),u!==null&&a.upload&&a.upload.removeEventListener("progress",D)),a.readyState!==a.DONE&&a.abort()}})))}};e.\u0275fac=function(o){return new(o||e)(_(kr))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})(),My=new E(""),cT="XSRF-TOKEN",lT=new E("",{providedIn:"root",factory:()=>cT}),dT="X-XSRF-TOKEN",fT=new E("",{providedIn:"root",factory:()=>dT}),Oa=class{},hT=(()=>{let e=class e{constructor(n,o,i){this.doc=n,this.platform=o,this.cookieName=i,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if(this.platform==="server")return null;let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=Ta(n,this.cookieName),this.lastCookieString=n),this.lastToken}};e.\u0275fac=function(o){return new(o||e)(_(he),_(vt),_(lT))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})();function pT(t,e){let r=t.url.toLowerCase();if(!g(My)||t.method==="GET"||t.method==="HEAD"||r.startsWith("http://")||r.startsWith("https://"))return e(t);let n=g(Oa).getToken(),o=g(fT);return n!=null&&!t.headers.has(o)&&(t=t.clone({headers:t.headers.set(o,n)})),e(t)}var qd=function(t){return t[t.Interceptors=0]="Interceptors",t[t.LegacyInterceptors=1]="LegacyInterceptors",t[t.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",t[t.NoXsrfProtection=3]="NoXsrfProtection",t[t.JsonpSupport=4]="JsonpSupport",t[t.RequestsMadeViaParent=5]="RequestsMadeViaParent",t[t.Fetch=6]="Fetch",t}(qd||{});function _y(t,e){return{\u0275kind:t,\u0275providers:e}}function gT(...t){let e=[XS,py,hy,{provide:Lo,useExisting:hy},{provide:Vo,useExisting:py},{provide:Wd,useValue:pT,multi:!0},{provide:My,useValue:!0},{provide:Oa,useClass:hT}];for(let r of t)e.push(...r.\u0275providers);return pn(e)}var gy=new E("");function mT(){return _y(qd.LegacyInterceptors,[{provide:gy,useFactory:sT},{provide:Wd,useExisting:gy,multi:!0}])}function $U(){return _y(qd.Fetch,[$d,{provide:Vo,useExisting:$d},{provide:by,useExisting:$d}])}var BU=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=ht({type:e}),e.\u0275inj=ft({providers:[gT(mT())]});let t=e;return t})();var my="b",vy="h",yy="s",Dy="st",wy="u",Cy="rt",Na=new E(""),vT=["GET","HEAD"];function yT(t,e){let l=g(Na),{isCacheActive:r}=l,n=qf(l,["isCacheActive"]),{transferCache:o,method:i}=t;if(!r||i==="POST"&&!n.includePostRequests&&!o||i!=="POST"&&!vT.includes(i)||t.headers.has("authorization")||t.headers.has("proxy-authorization")||o===!1||n.filter?.(t)===!1)return e(t);let s=g(Qn),a=wT(t),u=s.get(a,null),c=n.includeHeaders;if(typeof o=="object"&&o.includeHeaders&&(c=o.includeHeaders),u){let{[my]:d,[Cy]:f,[vy]:h,[yy]:p,[Dy]:D,[wy]:v}=u,m=d;switch(f){case"arraybuffer":m=new TextEncoder().encode(d).buffer;break;case"blob":m=new Blob([d]);break}let U=new kt(h);return M(new Jn({body:m,headers:U,status:p,statusText:D,url:v}))}return e(t).pipe(se(d=>{d instanceof Jn&&s.set(a,{[my]:d.body,[vy]:DT(d.headers,c),[yy]:d.status,[Dy]:d.statusText,[wy]:d.url||"",[Cy]:t.responseType})}))}function DT(t,e){if(!e)return{};let r={};for(let n of e){let o=t.getAll(n);o!==null&&(r[n]=o)}return r}function wT(t){let{params:e,method:r,responseType:n,url:o,body:i}=t,s=e.keys().sort().map(l=>`${l}=${e.getAll(l)}`).join("&"),u=[r,n,o,typeof i=="string"?i:"",s].join("|"),c=CT(u);return c}function CT(t){let e=0;for(let r of t)e=Math.imul(31,e)+r.charCodeAt(0)<<0;return e+=2147483648,e.toString()}function Sy(t){return[{provide:Na,useFactory:()=>(Ot("NgHttpTransferCache"),w({isCacheActive:!0},t))},{provide:Iy,useValue:yT,multi:!0,deps:[Qn,Na]},{provide:Kn,multi:!0,useFactory:()=>{let e=g(Dn),r=g(Na);return()=>{vd(e).then(()=>{r.isCacheActive=!1})}}}]}var Qd=class extends Ma{constructor(){super(...arguments),this.supportsDOMEvents=!0}},Kd=class t extends Qd{static makeCurrent(){qv(new t)}onAndCancel(e,r,n){return e.addEventListener(r,n),()=>{e.removeEventListener(r,n)}}dispatchEvent(e,r){e.dispatchEvent(r)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,r){return r=r||this.getDefaultDocument(),r.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,r){return r==="window"?window:r==="document"?e:r==="body"?e.body:null}getBaseHref(e){let r=ET();return r==null?null:IT(r)}resetBaseElement(){$o=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return Ta(document.cookie,e)}},$o=null;function ET(){return $o=$o||document.querySelector("base"),$o?$o.getAttribute("href"):null}function IT(t){return new URL(t,document.baseURI).pathname}var bT=(()=>{let e=class e{build(){return new XMLHttpRequest}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})(),Jd=new E(""),Ny=(()=>{let e=class e{constructor(n,o){this._zone=o,this._eventNameToPlugin=new Map,n.forEach(i=>{i.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,o,i){return this._findPluginFor(o).addEventListener(n,o,i)}getZone(){return this._zone}_findPluginFor(n){let o=this._eventNameToPlugin.get(n);if(o)return o;if(o=this._plugins.find(s=>s.supports(n)),!o)throw new C(5101,!1);return this._eventNameToPlugin.set(n,o),o}};e.\u0275fac=function(o){return new(o||e)(_(Jd),_(Q))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})(),Fa=class{constructor(e){this._doc=e}},Zd="ng-app-id",Ry=(()=>{let e=class e{constructor(n,o,i,s={}){this.doc=n,this.appId=o,this.nonce=i,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=jd(s),this.resetHostNodes()}addStyles(n){for(let o of n)this.changeUsageCount(o,1)===1&&this.onStyleAdded(o)}removeStyles(n){for(let o of n)this.changeUsageCount(o,-1)<=0&&this.onStyleRemoved(o)}ngOnDestroy(){let n=this.styleNodesInDOM;n&&(n.forEach(o=>o.remove()),n.clear());for(let o of this.getAllStyles())this.onStyleRemoved(o);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(let o of this.getAllStyles())this.addStyleToHost(n,o)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(let o of this.hostNodes)this.addStyleToHost(o,n)}onStyleRemoved(n){let o=this.styleRef;o.get(n)?.elements?.forEach(i=>i.remove()),o.delete(n)}collectServerRenderedStyles(){let n=this.doc.head?.querySelectorAll(`style[${Zd}="${this.appId}"]`);if(n?.length){let o=new Map;return n.forEach(i=>{i.textContent!=null&&o.set(i.textContent,i)}),o}return null}changeUsageCount(n,o){let i=this.styleRef;if(i.has(n)){let s=i.get(n);return s.usage+=o,s.usage}return i.set(n,{usage:o,elements:[]}),o}getStyleElement(n,o){let i=this.styleNodesInDOM,s=i?.get(o);if(s?.parentNode===n)return i.delete(o),s.removeAttribute(Zd),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=o,this.platformIsServer&&a.setAttribute(Zd,this.appId),n.appendChild(a),a}}addStyleToHost(n,o){let i=this.getStyleElement(n,o),s=this.styleRef,a=s.get(o)?.elements;a?a.push(i):s.set(o,{elements:[i],usage:1})}resetHostNodes(){let n=this.hostNodes;n.clear(),n.add(this.doc.head)}};e.\u0275fac=function(o){return new(o||e)(_(he),_(qs),_(jl,8),_(vt))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})(),Yd={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/MathML/"},tf=/%COMP%/g,Oy="%COMP%",MT=`_nghost-${Oy}`,_T=`_ngcontent-${Oy}`,ST=!0,TT=new E("",{providedIn:"root",factory:()=>ST});function AT(t){return _T.replace(tf,t)}function xT(t){return MT.replace(tf,t)}function Fy(t,e){return e.map(r=>r.replace(tf,t))}var Ty=(()=>{let e=class e{constructor(n,o,i,s,a,u,c,l=null){this.eventManager=n,this.sharedStylesHost=o,this.appId=i,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=u,this.ngZone=c,this.nonce=l,this.rendererByCompId=new Map,this.platformIsServer=jd(u),this.defaultRenderer=new Bo(n,a,c,this.platformIsServer)}createRenderer(n,o){if(!n||!o)return this.defaultRenderer;this.platformIsServer&&o.encapsulation===At.ShadowDom&&(o=W(w({},o),{encapsulation:At.Emulated}));let i=this.getOrCreateRenderer(n,o);return i instanceof Pa?i.applyToHost(n):i instanceof Ho&&i.applyStyles(),i}getOrCreateRenderer(n,o){let i=this.rendererByCompId,s=i.get(o.id);if(!s){let a=this.doc,u=this.ngZone,c=this.eventManager,l=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,f=this.platformIsServer;switch(o.encapsulation){case At.Emulated:s=new Pa(c,l,o,this.appId,d,a,u,f);break;case At.ShadowDom:return new Xd(c,l,n,o,a,u,this.nonce,f);default:s=new Ho(c,l,o,d,a,u,f);break}i.set(o.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};e.\u0275fac=function(o){return new(o||e)(_(Ny),_(Ry),_(qs),_(TT),_(he),_(vt),_(Q),_(jl))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})(),Bo=class{constructor(e,r,n,o){this.eventManager=e,this.doc=r,this.ngZone=n,this.platformIsServer=o,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,r){return r?this.doc.createElementNS(Yd[r]||r,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,r){(Ay(e)?e.content:e).appendChild(r)}insertBefore(e,r,n){e&&(Ay(e)?e.content:e).insertBefore(r,n)}removeChild(e,r){e&&e.removeChild(r)}selectRootElement(e,r){let n=typeof e=="string"?this.doc.querySelector(e):e;if(!n)throw new C(-5104,!1);return r||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,r,n,o){if(o){r=o+":"+r;let i=Yd[o];i?e.setAttributeNS(i,r,n):e.setAttribute(r,n)}else e.setAttribute(r,n)}removeAttribute(e,r,n){if(n){let o=Yd[n];o?e.removeAttributeNS(o,r):e.removeAttribute(`${n}:${r}`)}else e.removeAttribute(r)}addClass(e,r){e.classList.add(r)}removeClass(e,r){e.classList.remove(r)}setStyle(e,r,n,o){o&(xt.DashCase|xt.Important)?e.style.setProperty(r,n,o&xt.Important?"important":""):e.style[r]=n}removeStyle(e,r,n){n&xt.DashCase?e.style.removeProperty(r):e.style[r]=""}setProperty(e,r,n){e!=null&&(e[r]=n)}setValue(e,r){e.nodeValue=r}listen(e,r,n){if(typeof e=="string"&&(e=Pt().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${r}`);return this.eventManager.addEventListener(e,r,this.decoratePreventDefault(n))}decoratePreventDefault(e){return r=>{if(r==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(r)):e(r))===!1&&r.preventDefault()}}};function Ay(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var Xd=class extends Bo{constructor(e,r,n,o,i,s,a,u){super(e,i,s,u),this.sharedStylesHost=r,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let c=Fy(o.id,o.styles);for(let l of c){let d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=l,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,r){return super.appendChild(this.nodeOrShadowRoot(e),r)}insertBefore(e,r,n){return super.insertBefore(this.nodeOrShadowRoot(e),r,n)}removeChild(e,r){return super.removeChild(this.nodeOrShadowRoot(e),r)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Ho=class extends Bo{constructor(e,r,n,o,i,s,a,u){super(e,i,s,a),this.sharedStylesHost=r,this.removeStylesOnCompDestroy=o,this.styles=u?Fy(u,n.styles):n.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},Pa=class extends Ho{constructor(e,r,n,o,i,s,a,u){let c=o+"-"+n.id;super(e,r,n,i,s,a,u,c),this.contentAttr=AT(c),this.hostAttr=xT(c)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,r){let n=super.createElement(e,r);return super.setAttribute(n,this.contentAttr,""),n}},NT=(()=>{let e=class e extends Fa{constructor(n){super(n)}supports(n){return!0}addEventListener(n,o,i){return n.addEventListener(o,i,!1),()=>this.removeEventListener(n,o,i)}removeEventListener(n,o,i){return n.removeEventListener(o,i)}};e.\u0275fac=function(o){return new(o||e)(_(he))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})(),xy=["alt","control","meta","shift"],RT={"\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"},OT={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},FT=(()=>{let e=class e extends Fa{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,o,i){let s=e.parseEventName(o),a=e.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Pt().onAndCancel(n,s.domEventName,a))}static parseEventName(n){let o=n.toLowerCase().split("."),i=o.shift();if(o.length===0||!(i==="keydown"||i==="keyup"))return null;let s=e._normalizeKey(o.pop()),a="",u=o.indexOf("code");if(u>-1&&(o.splice(u,1),a="code."),xy.forEach(l=>{let d=o.indexOf(l);d>-1&&(o.splice(d,1),a+=l+".")}),a+=s,o.length!=0||s.length===0)return null;let c={};return c.domEventName=i,c.fullKey=a,c}static matchEventFullKeyCode(n,o){let i=RT[n.key]||n.key,s="";return o.indexOf("code.")>-1&&(i=n.code,s="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),xy.forEach(a=>{if(a!==i){let u=OT[a];u(n)&&(s+=a+".")}}),s+=i,s===o)}static eventCallback(n,o,i){return s=>{e.matchEventFullKeyCode(s,n)&&i.runGuarded(()=>o(s))}}static _normalizeKey(n){return n==="esc"?"escape":n}};e.\u0275fac=function(o){return new(o||e)(_(he))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})();function s$(t,e){return Pv(w({rootComponent:t},PT(e)))}function PT(t){return{appProviders:[...UT,...t?.providers??[]],platformProviders:jT}}function kT(){Kd.makeCurrent()}function LT(){return new dt}function VT(){return Ug(document),document}var jT=[{provide:vt,useValue:Vd},{provide:Vl,useValue:kT,multi:!0},{provide:he,useFactory:VT,deps:[]}];var UT=[{provide:Us,useValue:"root"},{provide:dt,useFactory:LT,deps:[]},{provide:Jd,useClass:NT,multi:!0,deps:[he,Q,vt]},{provide:Jd,useClass:FT,multi:!0,deps:[he]},Ty,Ry,Ny,{provide:yo,useExisting:Ty},{provide:kr,useClass:bT,deps:[]},[]];var a$=(()=>{let e=class e{constructor(n){this._doc=n,this._dom=Pt()}addTag(n,o=!1){return n?this._getOrCreateElement(n,o):null}addTags(n,o=!1){return n?n.reduce((i,s)=>(s&&i.push(this._getOrCreateElement(s,o)),i),[]):[]}getTag(n){return n&&this._doc.querySelector(`meta[${n}]`)||null}getTags(n){if(!n)return[];let o=this._doc.querySelectorAll(`meta[${n}]`);return o?[].slice.call(o):[]}updateTag(n,o){if(!n)return null;o=o||this._parseSelector(n);let i=this.getTag(o);return i?this._setMetaElementAttributes(n,i):this._getOrCreateElement(n,!0)}removeTag(n){this.removeTagElement(this.getTag(n))}removeTagElement(n){n&&this._dom.remove(n)}_getOrCreateElement(n,o=!1){if(!o){let a=this._parseSelector(n),u=this.getTags(a).filter(c=>this._containsAttributes(n,c))[0];if(u!==void 0)return u}let i=this._dom.createElement("meta");return this._setMetaElementAttributes(n,i),this._doc.getElementsByTagName("head")[0].appendChild(i),i}_setMetaElementAttributes(n,o){return Object.keys(n).forEach(i=>o.setAttribute(this._getMetaKeyMap(i),n[i])),o}_parseSelector(n){let o=n.name?"name":"property";return`${o}="${n[o]}"`}_containsAttributes(n,o){return Object.keys(n).every(i=>o.getAttribute(this._getMetaKeyMap(i))===n[i])}_getMetaKeyMap(n){return $T[n]||n}};e.\u0275fac=function(o){return new(o||e)(_(he))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),$T={httpEquiv:"http-equiv"},Py=(()=>{let e=class e{constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}};e.\u0275fac=function(o){return new(o||e)(_(he))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var u$=new E("HammerLoader");var BT=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:function(o){let i=null;return o?i=new(o||e):i=_(HT),i},providedIn:"root"});let t=e;return t})(),HT=(()=>{let e=class e extends BT{constructor(n){super(),this._doc=n}sanitize(n,o){if(o==null)return null;switch(n){case yt.NONE:return o;case yt.HTML:return Kt(o,"HTML")?Xe(o):Hl(this._doc,String(o)).toString();case yt.STYLE:return Kt(o,"Style")?Xe(o):o;case yt.SCRIPT:if(Kt(o,"Script"))return Xe(o);throw new C(5200,!1);case yt.URL:return Kt(o,"URL")?Xe(o):Ks(String(o));case yt.RESOURCE_URL:if(Kt(o,"ResourceURL"))return Xe(o);throw new C(5201,!1);default:throw new C(5202,!1)}}bypassSecurityTrustHtml(n){return Qg(n)}bypassSecurityTrustStyle(n){return Kg(n)}bypassSecurityTrustScript(n){return Jg(n)}bypassSecurityTrustUrl(n){return Xg(n)}bypassSecurityTrustResourceUrl(n){return em(n)}};e.\u0275fac=function(o){return new(o||e)(_(he))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),ef=function(t){return t[t.NoHttpTransferCache=0]="NoHttpTransferCache",t[t.HttpTransferCacheOptions=1]="HttpTransferCacheOptions",t}(ef||{});function c$(...t){let e=[],r=new Set,n=r.has(ef.HttpTransferCacheOptions);for(let{\u0275providers:o,\u0275kind:i}of t)r.add(i),o.length&&e.push(o);return pn([[],kv(),r.has(ef.NoHttpTransferCache)||n?[]:Sy({}),e])}var Wy=(()=>{let e=class e{constructor(n,o){this._renderer=n,this._elementRef=o,this.onChange=i=>{},this.onTouched=()=>{}}setProperty(n,o){this._renderer.setProperty(this._elementRef.nativeElement,n,o)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}};e.\u0275fac=function(o){return new(o||e)(y(et),y(_e))},e.\u0275dir=j({type:e});let t=e;return t})(),Zo=(()=>{let e=class e extends Wy{};e.\u0275fac=(()=>{let n;return function(i){return(n||(n=Je(e)))(i||e)}})(),e.\u0275dir=j({type:e,features:[le]});let t=e;return t})(),er=new E(""),GT={provide:er,useExisting:Me(()=>WT),multi:!0},WT=(()=>{let e=class e extends Zo{writeValue(n){this.setProperty("checked",n)}};e.\u0275fac=(()=>{let n;return function(i){return(n||(n=Je(e)))(i||e)}})(),e.\u0275dir=j({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(o,i){o&1&&Dt("change",function(a){return i.onChange(a.target.checked)})("blur",function(){return i.onTouched()})},features:[$e([GT]),le]});let t=e;return t})(),qT={provide:er,useExisting:Me(()=>qy),multi:!0};function ZT(){let t=Pt()?Pt().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}var YT=new E(""),qy=(()=>{let e=class e extends Wy{constructor(n,o,i){super(n,o),this._compositionMode=i,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!ZT())}writeValue(n){let o=n??"";this.setProperty("value",o)}_handleInput(n){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(n)}_compositionStart(){this._composing=!0}_compositionEnd(n){this._composing=!1,this._compositionMode&&this.onChange(n)}};e.\u0275fac=function(o){return new(o||e)(y(et),y(_e),y(YT,8))},e.\u0275dir=j({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(o,i){o&1&&Dt("input",function(a){return i._handleInput(a.target.value)})("blur",function(){return i.onTouched()})("compositionstart",function(){return i._compositionStart()})("compositionend",function(a){return i._compositionEnd(a.target.value)})},features:[$e([qT]),le]});let t=e;return t})();function bn(t){return t==null||(typeof t=="string"||Array.isArray(t))&&t.length===0}function Zy(t){return t!=null&&typeof t.length=="number"}var Mn=new E(""),jr=new E(""),QT=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,ky=class{static min(e){return KT(e)}static max(e){return JT(e)}static required(e){return Yy(e)}static requiredTrue(e){return XT(e)}static email(e){return eA(e)}static minLength(e){return tA(e)}static maxLength(e){return Qy(e)}static pattern(e){return nA(e)}static nullValidator(e){return La(e)}static compose(e){return nD(e)}static composeAsync(e){return rD(e)}};function KT(t){return e=>{if(bn(e.value)||bn(t))return null;let r=parseFloat(e.value);return!isNaN(r)&&r{if(bn(e.value)||bn(t))return null;let r=parseFloat(e.value);return!isNaN(r)&&r>t?{max:{max:t,actual:e.value}}:null}}function Yy(t){return bn(t.value)?{required:!0}:null}function XT(t){return t.value===!0?null:{required:!0}}function eA(t){return bn(t.value)||QT.test(t.value)?null:{email:!0}}function tA(t){return e=>bn(e.value)||!Zy(e.value)?null:e.value.lengthZy(e.value)&&e.value.length>t?{maxlength:{requiredLength:t,actualLength:e.value.length}}:null}function nA(t){if(!t)return La;let e,r;return typeof t=="string"?(r="",t.charAt(0)!=="^"&&(r+="^"),r+=t,t.charAt(t.length-1)!=="$"&&(r+="$"),e=new RegExp(r)):(r=t.toString(),e=t),n=>{if(bn(n.value))return null;let o=n.value;return e.test(o)?null:{pattern:{requiredPattern:r,actualValue:o}}}}function La(t){return null}function Ky(t){return t!=null}function Jy(t){return yn(t)?q(t):t}function Xy(t){let e={};return t.forEach(r=>{e=r!=null?w(w({},e),r):e}),Object.keys(e).length===0?null:e}function eD(t,e){return e.map(r=>r(t))}function rA(t){return!t.validate}function tD(t){return t.map(e=>rA(e)?e:r=>e.validate(r))}function nD(t){if(!t)return null;let e=t.filter(Ky);return e.length==0?null:function(r){return Xy(eD(r,e))}}function rf(t){return t!=null?nD(tD(t)):null}function rD(t){if(!t)return null;let e=t.filter(Ky);return e.length==0?null:function(r){let n=eD(r,e).map(Jy);return xu(n).pipe(F(Xy))}}function of(t){return t!=null?rD(tD(t)):null}function Ly(t,e){return t===null?[e]:Array.isArray(t)?[...t,e]:[t,e]}function oD(t){return t._rawValidators}function iD(t){return t._rawAsyncValidators}function nf(t){return t?Array.isArray(t)?t:[t]:[]}function Va(t,e){return Array.isArray(t)?t.includes(e):t===e}function Vy(t,e){let r=nf(e);return nf(t).forEach(o=>{Va(r,o)||r.push(o)}),r}function jy(t,e){return nf(e).filter(r=>!Va(t,r))}var ja=class{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(e){this._rawValidators=e||[],this._composedValidatorFn=rf(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=of(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e=void 0){this.control&&this.control.reset(e)}hasError(e,r){return this.control?this.control.hasError(e,r):!1}getError(e,r){return this.control?this.control.getError(e,r):null}},Oe=class extends ja{get formDirective(){return null}get path(){return null}},Xn=class extends ja{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},Ua=class{constructor(e){this._cd=e}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}},oA={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},_$=W(w({},oA),{"[class.ng-submitted]":"isSubmitted"}),S$=(()=>{let e=class e extends Ua{constructor(n){super(n)}};e.\u0275fac=function(o){return new(o||e)(y(Xn,2))},e.\u0275dir=j({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(o,i){o&2&&fa("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)},features:[le]});let t=e;return t})(),T$=(()=>{let e=class e extends Ua{constructor(n){super(n)}};e.\u0275fac=function(o){return new(o||e)(y(Oe,10))},e.\u0275dir=j({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(o,i){o&2&&fa("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)("ng-submitted",i.isSubmitted)},features:[le]});let t=e;return t})();var zo="VALID",ka="INVALID",Vr="PENDING",Go="DISABLED";function sf(t){return(Ga(t)?t.validators:t)||null}function iA(t){return Array.isArray(t)?rf(t):t||null}function af(t,e){return(Ga(e)?e.asyncValidators:t)||null}function sA(t){return Array.isArray(t)?of(t):t||null}function Ga(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}function sD(t,e,r){let n=t.controls;if(!(e?Object.keys(n):n).length)throw new C(1e3,"");if(!n[r])throw new C(1001,"")}function aD(t,e,r){t._forEachChild((n,o)=>{if(r[o]===void 0)throw new C(1002,"")})}var qo=class{constructor(e,r){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(e),this._assignAsyncValidators(r)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get valid(){return this.status===zo}get invalid(){return this.status===ka}get pending(){return this.status==Vr}get disabled(){return this.status===Go}get enabled(){return this.status!==Go}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._assignValidators(e)}setAsyncValidators(e){this._assignAsyncValidators(e)}addValidators(e){this.setValidators(Vy(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(Vy(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(jy(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(jy(e,this._rawAsyncValidators))}hasValidator(e){return Va(this._rawValidators,e)}hasAsyncValidator(e){return Va(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(e=>e.markAllAsTouched())}markAsUntouched(e={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(r=>{r.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}markAsDirty(e={}){this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}markAsPristine(e={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(r=>{r.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}markAsPending(e={}){this.status=Vr,e.emitEvent!==!1&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}disable(e={}){let r=this._parentMarkedDirty(e.onlySelf);this.status=Go,this.errors=null,this._forEachChild(n=>{n.disable(W(w({},e),{onlySelf:!0}))}),this._updateValue(),e.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(W(w({},e),{skipPristineCheck:r})),this._onDisabledChange.forEach(n=>n(!0))}enable(e={}){let r=this._parentMarkedDirty(e.onlySelf);this.status=zo,this._forEachChild(n=>{n.enable(W(w({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(W(w({},e),{skipPristineCheck:r})),this._onDisabledChange.forEach(n=>n(!1))}_updateAncestors(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(e){this._parent=e}getRawValue(){return this.value}updateValueAndValidity(e={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===zo||this.status===Vr)&&this._runAsyncValidator(e.emitEvent)),e.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(r=>r._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Go:zo}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e){if(this.asyncValidator){this.status=Vr,this._hasOwnPendingAsyncValidator=!0;let r=Jy(this.asyncValidator(this));this._asyncValidationSubscription=r.subscribe(n=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(n,{emitEvent:e})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(e,r={}){this.errors=e,this._updateControlsErrors(r.emitEvent!==!1)}get(e){let r=e;return r==null||(Array.isArray(r)||(r=r.split(".")),r.length===0)?null:r.reduce((n,o)=>n&&n._find(o),this)}getError(e,r){let n=r?this.get(r):this;return n&&n.errors?n.errors[e]:null}hasError(e,r){return!!this.getError(e,r)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}_initObservables(){this.valueChanges=new ae,this.statusChanges=new ae}_calculateStatus(){return this._allControlsDisabled()?Go:this.errors?ka:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Vr)?Vr:this._anyControlsHaveStatus(ka)?ka:zo}_anyControlsHaveStatus(e){return this._anyControls(r=>r.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e={}){this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}_updateTouched(e={}){this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){Ga(e)&&e.updateOn!=null&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){let r=this._parent&&this._parent.dirty;return!e&&!!r&&!this._parent._anyControlsDirty()}_find(e){return null}_assignValidators(e){this._rawValidators=Array.isArray(e)?e.slice():e,this._composedValidatorFn=iA(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=sA(this._rawAsyncValidators)}},$a=class extends qo{constructor(e,r,n){super(sf(r),af(n,r)),this.controls=e,this._initObservables(),this._setUpdateStrategy(r),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(e,r){return this.controls[e]?this.controls[e]:(this.controls[e]=r,r.setParent(this),r._registerOnCollectionChange(this._onCollectionChange),r)}addControl(e,r,n={}){this.registerControl(e,r),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}removeControl(e,r={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}setControl(e,r,n={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],r&&this.registerControl(e,r),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,r={}){aD(this,!0,e),Object.keys(e).forEach(n=>{sD(this,!0,n),this.controls[n].setValue(e[n],{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r)}patchValue(e,r={}){e!=null&&(Object.keys(e).forEach(n=>{let o=this.controls[n];o&&o.patchValue(e[n],{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r))}reset(e={},r={}){this._forEachChild((n,o)=>{n.reset(e?e[o]:null,{onlySelf:!0,emitEvent:r.emitEvent})}),this._updatePristine(r),this._updateTouched(r),this.updateValueAndValidity(r)}getRawValue(){return this._reduceChildren({},(e,r,n)=>(e[n]=r.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(r,n)=>n._syncPendingControls()?!0:r);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){Object.keys(this.controls).forEach(r=>{let n=this.controls[r];n&&e(n,r)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(let[r,n]of Object.entries(this.controls))if(this.contains(r)&&e(n))return!0;return!1}_reduceValue(){let e={};return this._reduceChildren(e,(r,n,o)=>((n.enabled||this.disabled)&&(r[o]=n.value),r))}_reduceChildren(e,r){let n=e;return this._forEachChild((o,i)=>{n=r(n,o,i)}),n}_allControlsDisabled(){for(let e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(e){return this.controls.hasOwnProperty(e)?this.controls[e]:null}};var Yo=new E("CallSetDisabledState",{providedIn:"root",factory:()=>Wa}),Wa="always";function qa(t,e){return[...e.path,t]}function Ba(t,e,r=Wa){uf(t,e),e.valueAccessor.writeValue(t.value),(t.disabled||r==="always")&&e.valueAccessor.setDisabledState?.(t.disabled),uA(t,e),lA(t,e),cA(t,e),aA(t,e)}function Uy(t,e,r=!0){let n=()=>{};e.valueAccessor&&(e.valueAccessor.registerOnChange(n),e.valueAccessor.registerOnTouched(n)),za(t,e),t&&(e._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function Ha(t,e){t.forEach(r=>{r.registerOnValidatorChange&&r.registerOnValidatorChange(e)})}function aA(t,e){if(e.valueAccessor.setDisabledState){let r=n=>{e.valueAccessor.setDisabledState(n)};t.registerOnDisabledChange(r),e._registerOnDestroy(()=>{t._unregisterOnDisabledChange(r)})}}function uf(t,e){let r=oD(t);e.validator!==null?t.setValidators(Ly(r,e.validator)):typeof r=="function"&&t.setValidators([r]);let n=iD(t);e.asyncValidator!==null?t.setAsyncValidators(Ly(n,e.asyncValidator)):typeof n=="function"&&t.setAsyncValidators([n]);let o=()=>t.updateValueAndValidity();Ha(e._rawValidators,o),Ha(e._rawAsyncValidators,o)}function za(t,e){let r=!1;if(t!==null){if(e.validator!==null){let o=oD(t);if(Array.isArray(o)&&o.length>0){let i=o.filter(s=>s!==e.validator);i.length!==o.length&&(r=!0,t.setValidators(i))}}if(e.asyncValidator!==null){let o=iD(t);if(Array.isArray(o)&&o.length>0){let i=o.filter(s=>s!==e.asyncValidator);i.length!==o.length&&(r=!0,t.setAsyncValidators(i))}}}let n=()=>{};return Ha(e._rawValidators,n),Ha(e._rawAsyncValidators,n),r}function uA(t,e){e.valueAccessor.registerOnChange(r=>{t._pendingValue=r,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&uD(t,e)})}function cA(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&uD(t,e),t.updateOn!=="submit"&&t.markAsTouched()})}function uD(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function lA(t,e){let r=(n,o)=>{e.valueAccessor.writeValue(n),o&&e.viewToModelUpdate(n)};t.registerOnChange(r),e._registerOnDestroy(()=>{t._unregisterOnChange(r)})}function cD(t,e){t==null,uf(t,e)}function dA(t,e){return za(t,e)}function lD(t,e){if(!t.hasOwnProperty("model"))return!1;let r=t.model;return r.isFirstChange()?!0:!Object.is(e,r.currentValue)}function fA(t){return Object.getPrototypeOf(t.constructor)===Zo}function dD(t,e){t._syncPendingControls(),e.forEach(r=>{let n=r.control;n.updateOn==="submit"&&n._pendingChange&&(r.viewToModelUpdate(n._pendingValue),n._pendingChange=!1)})}function fD(t,e){if(!e)return null;Array.isArray(e);let r,n,o;return e.forEach(i=>{i.constructor===qy?r=i:fA(i)?n=i:o=i}),o||n||r||null}function hA(t,e){let r=t.indexOf(e);r>-1&&t.splice(r,1)}var pA={provide:Oe,useExisting:Me(()=>gA)},Wo=Promise.resolve(),gA=(()=>{let e=class e extends Oe{constructor(n,o,i){super(),this.callSetDisabledState=i,this.submitted=!1,this._directives=new Set,this.ngSubmit=new ae,this.form=new $a({},rf(n),of(o))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(n){Wo.then(()=>{let o=this._findContainer(n.path);n.control=o.registerControl(n.name,n.control),Ba(n.control,n,this.callSetDisabledState),n.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(n)})}getControl(n){return this.form.get(n.path)}removeControl(n){Wo.then(()=>{let o=this._findContainer(n.path);o&&o.removeControl(n.name),this._directives.delete(n)})}addFormGroup(n){Wo.then(()=>{let o=this._findContainer(n.path),i=new $a({});cD(i,n),o.registerControl(n.name,i),i.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(n){Wo.then(()=>{let o=this._findContainer(n.path);o&&o.removeControl(n.name)})}getFormGroup(n){return this.form.get(n.path)}updateModel(n,o){Wo.then(()=>{this.form.get(n.path).setValue(o)})}setValue(n){this.control.setValue(n)}onSubmit(n){return this.submitted=!0,dD(this.form,this._directives),this.ngSubmit.emit(n),n?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(n=void 0){this.form.reset(n),this.submitted=!1}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(n){return n.pop(),n.length?this.form.get(n):this.form}};e.\u0275fac=function(o){return new(o||e)(y(Mn,10),y(jr,10),y(Yo,8))},e.\u0275dir=j({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(o,i){o&1&&Dt("submit",function(a){return i.onSubmit(a)})("reset",function(){return i.onReset()})},inputs:{options:[re.None,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[$e([pA]),le]});let t=e;return t})();function $y(t,e){let r=t.indexOf(e);r>-1&&t.splice(r,1)}function By(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var hD=class extends qo{constructor(e=null,r,n){super(sf(r),af(n,r)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(e),this._setUpdateStrategy(r),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Ga(r)&&(r.nonNullable||r.initialValueIsDefault)&&(By(e)?this.defaultValue=e.value:this.defaultValue=e)}setValue(e,r={}){this.value=this._pendingValue=e,this._onChange.length&&r.emitModelToViewChange!==!1&&this._onChange.forEach(n=>n(this.value,r.emitViewToModelChange!==!1)),this.updateValueAndValidity(r)}patchValue(e,r={}){this.setValue(e,r)}reset(e=this.defaultValue,r={}){this._applyFormState(e),this.markAsPristine(r),this.markAsUntouched(r),this.setValue(this.value,r),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){$y(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){$y(this._onDisabledChange,e)}_forEachChild(e){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(e){By(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}};var mA=t=>t instanceof hD,vA=(()=>{let e=class e extends Oe{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return qa(this.name==null?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}};e.\u0275fac=(()=>{let n;return function(i){return(n||(n=Je(e)))(i||e)}})(),e.\u0275dir=j({type:e,features:[le]});let t=e;return t})();var yA={provide:Xn,useExisting:Me(()=>DA)},Hy=Promise.resolve(),DA=(()=>{let e=class e extends Xn{constructor(n,o,i,s,a,u){super(),this._changeDetectorRef=a,this.callSetDisabledState=u,this.control=new hD,this._registered=!1,this.name="",this.update=new ae,this._parent=n,this._setValidators(o),this._setAsyncValidators(i),this.valueAccessor=fD(this,s)}ngOnChanges(n){if(this._checkForErrors(),!this._registered||"name"in n){if(this._registered&&(this._checkName(),this.formDirective)){let o=n.name.previousValue;this.formDirective.removeControl({name:o,path:this._getPath(o)})}this._setUpControl()}"isDisabled"in n&&this._updateDisabled(n),lD(n,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(n){this.viewModel=n,this.update.emit(n)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){Ba(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(n){Hy.then(()=>{this.control.setValue(n,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(n){let o=n.isDisabled.currentValue,i=o!==0&&wn(o);Hy.then(()=>{i&&!this.control.disabled?this.control.disable():!i&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(n){return this._parent?qa(n,this._parent):[n]}};e.\u0275fac=function(o){return new(o||e)(y(Oe,9),y(Mn,10),y(jr,10),y(er,10),y(Ft,8),y(Yo,8))},e.\u0275dir=j({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[re.None,"disabled","isDisabled"],model:[re.None,"ngModel","model"],options:[re.None,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[$e([yA]),le,Ke]});let t=e;return t})(),x$=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275dir=j({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]});let t=e;return t})(),wA={provide:er,useExisting:Me(()=>CA),multi:!0},CA=(()=>{let e=class e extends Zo{writeValue(n){let o=n??"";this.setProperty("value",o)}registerOnChange(n){this.onChange=o=>{n(o==""?null:parseFloat(o))}}};e.\u0275fac=(()=>{let n;return function(i){return(n||(n=Je(e)))(i||e)}})(),e.\u0275dir=j({type:e,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(o,i){o&1&&Dt("input",function(a){return i.onChange(a.target.value)})("blur",function(){return i.onTouched()})},features:[$e([wA]),le]});let t=e;return t})();var pD=new E("");var EA={provide:Oe,useExisting:Me(()=>gD)},gD=(()=>{let e=class e extends Oe{constructor(n,o,i){super(),this.callSetDisabledState=i,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new ae,this._setValidators(n),this._setAsyncValidators(o)}ngOnChanges(n){this._checkFormPresent(),n.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(za(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(n){let o=this.form.get(n.path);return Ba(o,n,this.callSetDisabledState),o.updateValueAndValidity({emitEvent:!1}),this.directives.push(n),o}getControl(n){return this.form.get(n.path)}removeControl(n){Uy(n.control||null,n,!1),hA(this.directives,n)}addFormGroup(n){this._setUpFormContainer(n)}removeFormGroup(n){this._cleanUpFormContainer(n)}getFormGroup(n){return this.form.get(n.path)}addFormArray(n){this._setUpFormContainer(n)}removeFormArray(n){this._cleanUpFormContainer(n)}getFormArray(n){return this.form.get(n.path)}updateModel(n,o){this.form.get(n.path).setValue(o)}onSubmit(n){return this.submitted=!0,dD(this.form,this.directives),this.ngSubmit.emit(n),n?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(n=void 0){this.form.reset(n),this.submitted=!1}_updateDomValue(){this.directives.forEach(n=>{let o=n.control,i=this.form.get(n.path);o!==i&&(Uy(o||null,n),mA(i)&&(Ba(i,n,this.callSetDisabledState),n.control=i))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(n){let o=this.form.get(n.path);cD(o,n),o.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(n){if(this.form){let o=this.form.get(n.path);o&&dA(o,n)&&o.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){uf(this.form,this),this._oldForm&&za(this._oldForm,this)}_checkFormPresent(){this.form}};e.\u0275fac=function(o){return new(o||e)(y(Mn,10),y(jr,10),y(Yo,8))},e.\u0275dir=j({type:e,selectors:[["","formGroup",""]],hostBindings:function(o,i){o&1&&Dt("submit",function(a){return i.onSubmit(a)})("reset",function(){return i.onReset()})},inputs:{form:[re.None,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[$e([EA]),le,Ke]});let t=e;return t})(),IA={provide:Oe,useExisting:Me(()=>mD)},mD=(()=>{let e=class e extends vA{constructor(n,o,i){super(),this.name=null,this._parent=n,this._setValidators(o),this._setAsyncValidators(i)}_checkParentType(){yD(this._parent)}};e.\u0275fac=function(o){return new(o||e)(y(Oe,13),y(Mn,10),y(jr,10))},e.\u0275dir=j({type:e,selectors:[["","formGroupName",""]],inputs:{name:[re.None,"formGroupName","name"]},features:[$e([IA]),le]});let t=e;return t})(),bA={provide:Oe,useExisting:Me(()=>vD)},vD=(()=>{let e=class e extends Oe{constructor(n,o,i){super(),this.name=null,this._parent=n,this._setValidators(o),this._setAsyncValidators(i)}ngOnInit(){this._checkParentType(),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return qa(this.name==null?this.name:this.name.toString(),this._parent)}_checkParentType(){yD(this._parent)}};e.\u0275fac=function(o){return new(o||e)(y(Oe,13),y(Mn,10),y(jr,10))},e.\u0275dir=j({type:e,selectors:[["","formArrayName",""]],inputs:{name:[re.None,"formArrayName","name"]},features:[$e([bA]),le]});let t=e;return t})();function yD(t){return!(t instanceof mD)&&!(t instanceof gD)&&!(t instanceof vD)}var MA={provide:Xn,useExisting:Me(()=>_A)},_A=(()=>{let e=class e extends Xn{set isDisabled(n){}constructor(n,o,i,s,a){super(),this._ngModelWarningConfig=a,this._added=!1,this.name=null,this.update=new ae,this._ngModelWarningSent=!1,this._parent=n,this._setValidators(o),this._setAsyncValidators(i),this.valueAccessor=fD(this,s)}ngOnChanges(n){this._added||this._setUpControl(),lD(n,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(n){this.viewModel=n,this.update.emit(n)}get path(){return qa(this.name==null?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}};e._ngModelWarningSentOnce=!1,e.\u0275fac=function(o){return new(o||e)(y(Oe,13),y(Mn,10),y(jr,10),y(er,10),y(pD,8))},e.\u0275dir=j({type:e,selectors:[["","formControlName",""]],inputs:{name:[re.None,"formControlName","name"],isDisabled:[re.None,"disabled","isDisabled"],model:[re.None,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[$e([MA]),le,Ke]});let t=e;return t})(),SA={provide:er,useExisting:Me(()=>wD),multi:!0};function DD(t,e){return t==null?`${e}`:(e&&typeof e=="object"&&(e="Object"),`${t}: ${e}`.slice(0,50))}function TA(t){return t.split(":")[0]}var wD=(()=>{let e=class e extends Zo{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(n){this._compareWith=n}writeValue(n){this.value=n;let o=this._getOptionId(n),i=DD(o,n);this.setProperty("value",i)}registerOnChange(n){this.onChange=o=>{this.value=this._getOptionValue(o),n(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(n){for(let o of this._optionMap.keys())if(this._compareWith(this._optionMap.get(o),n))return o;return null}_getOptionValue(n){let o=TA(n);return this._optionMap.has(o)?this._optionMap.get(o):n}};e.\u0275fac=(()=>{let n;return function(i){return(n||(n=Je(e)))(i||e)}})(),e.\u0275dir=j({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(o,i){o&1&&Dt("change",function(a){return i.onChange(a.target.value)})("blur",function(){return i.onTouched()})},inputs:{compareWith:"compareWith"},features:[$e([SA]),le]});let t=e;return t})(),N$=(()=>{let e=class e{constructor(n,o,i){this._element=n,this._renderer=o,this._select=i,this._select&&(this.id=this._select._registerOption())}set ngValue(n){this._select!=null&&(this._select._optionMap.set(this.id,n),this._setElementValue(DD(this.id,n)),this._select.writeValue(this._select.value))}set value(n){this._setElementValue(n),this._select&&this._select.writeValue(this._select.value)}_setElementValue(n){this._renderer.setProperty(this._element.nativeElement,"value",n)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}};e.\u0275fac=function(o){return new(o||e)(y(_e),y(et),y(wD,9))},e.\u0275dir=j({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}});let t=e;return t})(),AA={provide:er,useExisting:Me(()=>CD),multi:!0};function zy(t,e){return t==null?`${e}`:(typeof e=="string"&&(e=`'${e}'`),e&&typeof e=="object"&&(e="Object"),`${t}: ${e}`.slice(0,50))}function xA(t){return t.split(":")[0]}var CD=(()=>{let e=class e extends Zo{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(n){this._compareWith=n}writeValue(n){this.value=n;let o;if(Array.isArray(n)){let i=n.map(s=>this._getOptionId(s));o=(s,a)=>{s._setSelected(i.indexOf(a.toString())>-1)}}else o=(i,s)=>{i._setSelected(!1)};this._optionMap.forEach(o)}registerOnChange(n){this.onChange=o=>{let i=[],s=o.selectedOptions;if(s!==void 0){let a=s;for(let u=0;u{let n;return function(i){return(n||(n=Je(e)))(i||e)}})(),e.\u0275dir=j({type:e,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(o,i){o&1&&Dt("change",function(a){return i.onChange(a.target)})("blur",function(){return i.onTouched()})},inputs:{compareWith:"compareWith"},features:[$e([AA]),le]});let t=e;return t})(),R$=(()=>{let e=class e{constructor(n,o,i){this._element=n,this._renderer=o,this._select=i,this._select&&(this.id=this._select._registerOption(this))}set ngValue(n){this._select!=null&&(this._value=n,this._setElementValue(zy(this.id,n)),this._select.writeValue(this._select.value))}set value(n){this._select?(this._value=n,this._setElementValue(zy(this.id,n)),this._select.writeValue(this._select.value)):this._setElementValue(n)}_setElementValue(n){this._renderer.setProperty(this._element.nativeElement,"value",n)}_setSelected(n){this._renderer.setProperty(this._element.nativeElement,"selected",n)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}};e.\u0275fac=function(o){return new(o||e)(y(_e),y(et),y(CD,9))},e.\u0275dir=j({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}});let t=e;return t})();function NA(t){return typeof t=="number"?t:parseInt(t,10)}var ED=(()=>{let e=class e{constructor(){this._validator=La}ngOnChanges(n){if(this.inputName in n){let o=this.normalizeInput(n[this.inputName].currentValue);this._enabled=this.enabled(o),this._validator=this._enabled?this.createValidator(o):La,this._onChange&&this._onChange()}}validate(n){return this._validator(n)}registerOnValidatorChange(n){this._onChange=n}enabled(n){return n!=null}};e.\u0275fac=function(o){return new(o||e)},e.\u0275dir=j({type:e,features:[Ke]});let t=e;return t})();var RA={provide:Mn,useExisting:Me(()=>OA),multi:!0};var OA=(()=>{let e=class e extends ED{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=wn,this.createValidator=n=>Yy}enabled(n){return n}};e.\u0275fac=(()=>{let n;return function(i){return(n||(n=Je(e)))(i||e)}})(),e.\u0275dir=j({type:e,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(o,i){o&2&&Fr("required",i._enabled?"":null)},inputs:{required:"required"},features:[$e([RA]),le]});let t=e;return t})();var FA={provide:Mn,useExisting:Me(()=>PA),multi:!0},PA=(()=>{let e=class e extends ED{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=n=>NA(n),this.createValidator=n=>Qy(n)}};e.\u0275fac=(()=>{let n;return function(i){return(n||(n=Je(e)))(i||e)}})(),e.\u0275dir=j({type:e,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(o,i){o&2&&Fr("maxlength",i._enabled?i.maxlength:null)},inputs:{maxlength:"maxlength"},features:[$e([FA]),le]});let t=e;return t})();var ID=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=ht({type:e}),e.\u0275inj=ft({});let t=e;return t})(),Gy=class extends qo{constructor(e,r,n){super(sf(r),af(n,r)),this.controls=e,this._initObservables(),this._setUpdateStrategy(r),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(e){return this.controls[this._adjustIndex(e)]}push(e,r={}){this.controls.push(e),this._registerControl(e),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}insert(e,r,n={}){this.controls.splice(e,0,r),this._registerControl(r),this.updateValueAndValidity({emitEvent:n.emitEvent})}removeAt(e,r={}){let n=this._adjustIndex(e);n<0&&(n=0),this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),this.controls.splice(n,1),this.updateValueAndValidity({emitEvent:r.emitEvent})}setControl(e,r,n={}){let o=this._adjustIndex(e);o<0&&(o=0),this.controls[o]&&this.controls[o]._registerOnCollectionChange(()=>{}),this.controls.splice(o,1),r&&(this.controls.splice(o,0,r),this._registerControl(r)),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(e,r={}){aD(this,!1,e),e.forEach((n,o)=>{sD(this,!1,o),this.at(o).setValue(n,{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r)}patchValue(e,r={}){e!=null&&(e.forEach((n,o)=>{this.at(o)&&this.at(o).patchValue(n,{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r))}reset(e=[],r={}){this._forEachChild((n,o)=>{n.reset(e[o],{onlySelf:!0,emitEvent:r.emitEvent})}),this._updatePristine(r),this._updateTouched(r),this.updateValueAndValidity(r)}getRawValue(){return this.controls.map(e=>e.getRawValue())}clear(e={}){this.controls.length<1||(this._forEachChild(r=>r._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:e.emitEvent}))}_adjustIndex(e){return e<0?e+this.length:e}_syncPendingControls(){let e=this.controls.reduce((r,n)=>n._syncPendingControls()?!0:r,!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){this.controls.forEach((r,n)=>{e(r,n)})}_updateValue(){this.value=this.controls.filter(e=>e.enabled||this.disabled).map(e=>e.value)}_anyControls(e){return this.controls.some(r=>r.enabled&&e(r))}_setUpControls(){this._forEachChild(e=>this._registerControl(e))}_allControlsDisabled(){for(let e of this.controls)if(e.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(e){e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)}_find(e){return this.at(e)??null}};var O$=(()=>{let e=class e{static withConfig(n){return{ngModule:e,providers:[{provide:Yo,useValue:n.callSetDisabledState??Wa}]}}};e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=ht({type:e}),e.\u0275inj=ft({imports:[ID]});let t=e;return t})(),F$=(()=>{let e=class e{static withConfig(n){return{ngModule:e,providers:[{provide:pD,useValue:n.warnOnNgModelWithFormControl??"always"},{provide:Yo,useValue:n.callSetDisabledState??Wa}]}}};e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=ht({type:e}),e.\u0275inj=ft({imports:[ID]});let t=e;return t})();var P="primary",di=Symbol("RouteTitle"),hf=class{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){let r=this.params[e];return Array.isArray(r)?r[0]:r}return null}getAll(e){if(this.has(e)){let r=this.params[e];return Array.isArray(r)?r:[r]}return[]}get keys(){return Object.keys(this.params)}};function zr(t){return new hf(t)}function kA(t,e,r){let n=r.path.split("/");if(n.length>t.length||r.pathMatch==="full"&&(e.hasChildren()||n.lengthn[i]===o)}else return t===e}function FD(t){return t.length>0?t[t.length-1]:null}function xn(t){return Au(t)?t:yn(t)?q(Promise.resolve(t)):M(t)}var VA={exact:kD,subset:LD},PD={exact:jA,subset:UA,ignored:()=>!0};function bD(t,e,r){return VA[r.paths](t.root,e.root,r.matrixParams)&&PD[r.queryParams](t.queryParams,e.queryParams)&&!(r.fragment==="exact"&&t.fragment!==e.fragment)}function jA(t,e){return Lt(t,e)}function kD(t,e,r){if(!nr(t.segments,e.segments)||!Qa(t.segments,e.segments,r)||t.numberOfChildren!==e.numberOfChildren)return!1;for(let n in e.children)if(!t.children[n]||!kD(t.children[n],e.children[n],r))return!1;return!0}function UA(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(r=>OD(t[r],e[r]))}function LD(t,e,r){return VD(t,e,e.segments,r)}function VD(t,e,r,n){if(t.segments.length>r.length){let o=t.segments.slice(0,r.length);return!(!nr(o,r)||e.hasChildren()||!Qa(o,r,n))}else if(t.segments.length===r.length){if(!nr(t.segments,r)||!Qa(t.segments,r,n))return!1;for(let o in e.children)if(!t.children[o]||!LD(t.children[o],e.children[o],n))return!1;return!0}else{let o=r.slice(0,t.segments.length),i=r.slice(t.segments.length);return!nr(t.segments,o)||!Qa(t.segments,o,n)||!t.children[P]?!1:VD(t.children[P],e,i,n)}}function Qa(t,e,r){return e.every((n,o)=>PD[r](t[o].parameters,n.parameters))}var _n=class{constructor(e=new G([],{}),r={},n=null){this.root=e,this.queryParams=r,this.fragment=n}get queryParamMap(){return this._queryParamMap??=zr(this.queryParams),this._queryParamMap}toString(){return HA.serialize(this)}},G=class{constructor(e,r){this.segments=e,this.children=r,this.parent=null,Object.values(r).forEach(n=>n.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Ka(this)}},tr=class{constructor(e,r){this.path=e,this.parameters=r}get parameterMap(){return this._parameterMap??=zr(this.parameters),this._parameterMap}toString(){return UD(this)}};function $A(t,e){return nr(t,e)&&t.every((r,n)=>Lt(r.parameters,e[n].parameters))}function nr(t,e){return t.length!==e.length?!1:t.every((r,n)=>r.path===e[n].path)}function BA(t,e){let r=[];return Object.entries(t.children).forEach(([n,o])=>{n===P&&(r=r.concat(e(o,n)))}),Object.entries(t.children).forEach(([n,o])=>{n!==P&&(r=r.concat(e(o,n)))}),r}var fi=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:()=>new ni,providedIn:"root"});let t=e;return t})(),ni=class{parse(e){let r=new mf(e);return new _n(r.parseRootSegment(),r.parseQueryParams(),r.parseFragment())}serialize(e){let r=`/${Qo(e.root,!0)}`,n=WA(e.queryParams),o=typeof e.fragment=="string"?`#${zA(e.fragment)}`:"";return`${r}${n}${o}`}},HA=new ni;function Ka(t){return t.segments.map(e=>UD(e)).join("/")}function Qo(t,e){if(!t.hasChildren())return Ka(t);if(e){let r=t.children[P]?Qo(t.children[P],!1):"",n=[];return Object.entries(t.children).forEach(([o,i])=>{o!==P&&n.push(`${o}:${Qo(i,!1)}`)}),n.length>0?`${r}(${n.join("//")})`:r}else{let r=BA(t,(n,o)=>o===P?[Qo(t.children[P],!1)]:[`${o}:${Qo(n,!1)}`]);return Object.keys(t.children).length===1&&t.children[P]!=null?`${Ka(t)}/${r[0]}`:`${Ka(t)}/(${r.join("//")})`}}function jD(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Za(t){return jD(t).replace(/%3B/gi,";")}function zA(t){return encodeURI(t)}function gf(t){return jD(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ja(t){return decodeURIComponent(t)}function MD(t){return Ja(t.replace(/\+/g,"%20"))}function UD(t){return`${gf(t.path)}${GA(t.parameters)}`}function GA(t){return Object.entries(t).map(([e,r])=>`;${gf(e)}=${gf(r)}`).join("")}function WA(t){let e=Object.entries(t).map(([r,n])=>Array.isArray(n)?n.map(o=>`${Za(r)}=${Za(o)}`).join("&"):`${Za(r)}=${Za(n)}`).filter(r=>r);return e.length?`?${e.join("&")}`:""}var qA=/^[^\/()?;#]+/;function cf(t){let e=t.match(qA);return e?e[0]:""}var ZA=/^[^\/()?;=#]+/;function YA(t){let e=t.match(ZA);return e?e[0]:""}var QA=/^[^=?&#]+/;function KA(t){let e=t.match(QA);return e?e[0]:""}var JA=/^[^&#]+/;function XA(t){let e=t.match(JA);return e?e[0]:""}var mf=class{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new G([],{}):new G([],this.parseChildren())}parseQueryParams(){let e={};if(this.consumeOptional("?"))do this.parseQueryParam(e);while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let r={};this.peekStartsWith("/(")&&(this.capture("/"),r=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(r).length>0)&&(n[P]=new G(e,r)),n}parseSegment(){let e=cf(this.remaining);if(e===""&&this.peekStartsWith(";"))throw new C(4009,!1);return this.capture(e),new tr(Ja(e),this.parseMatrixParams())}parseMatrixParams(){let e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){let r=YA(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let o=cf(this.remaining);o&&(n=o,this.capture(n))}e[Ja(r)]=Ja(n)}parseQueryParam(e){let r=KA(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let s=XA(this.remaining);s&&(n=s,this.capture(n))}let o=MD(r),i=MD(n);if(e.hasOwnProperty(o)){let s=e[o];Array.isArray(s)||(s=[s],e[o]=s),s.push(i)}else e[o]=i}parseParens(e){let r={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let n=cf(this.remaining),o=this.remaining[n.length];if(o!=="/"&&o!==")"&&o!==";")throw new C(4010,!1);let i;n.indexOf(":")>-1?(i=n.slice(0,n.indexOf(":")),this.capture(i),this.capture(":")):e&&(i=P);let s=this.parseChildren();r[i]=Object.keys(s).length===1?s[P]:new G([],s),this.consumeOptional("//")}return r}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return this.peekStartsWith(e)?(this.remaining=this.remaining.substring(e.length),!0):!1}capture(e){if(!this.consumeOptional(e))throw new C(4011,!1)}};function $D(t){return t.segments.length>0?new G([],{[P]:t}):t}function BD(t){let e={};for(let[n,o]of Object.entries(t.children)){let i=BD(o);if(n===P&&i.segments.length===0&&i.hasChildren())for(let[s,a]of Object.entries(i.children))e[s]=a;else(i.segments.length>0||i.hasChildren())&&(e[n]=i)}let r=new G(t.segments,e);return ex(r)}function ex(t){if(t.numberOfChildren===1&&t.children[P]){let e=t.children[P];return new G(t.segments.concat(e.segments),e.children)}return t}function Gr(t){return t instanceof _n}function tx(t,e,r=null,n=null){let o=HD(t);return zD(o,e,r,n)}function HD(t){let e;function r(i){let s={};for(let u of i.children){let c=r(u);s[u.outlet]=c}let a=new G(i.url,s);return i===t&&(e=a),a}let n=r(t.root),o=$D(n);return e??o}function zD(t,e,r,n){let o=t;for(;o.parent;)o=o.parent;if(e.length===0)return lf(o,o,o,r,n);let i=nx(e);if(i.toRoot())return lf(o,o,new G([],{}),r,n);let s=rx(i,o,t),a=s.processChildren?Xo(s.segmentGroup,s.index,i.commands):WD(s.segmentGroup,s.index,i.commands);return lf(o,s.segmentGroup,a,r,n)}function Xa(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function ri(t){return typeof t=="object"&&t!=null&&t.outlets}function lf(t,e,r,n,o){let i={};n&&Object.entries(n).forEach(([u,c])=>{i[u]=Array.isArray(c)?c.map(l=>`${l}`):`${c}`});let s;t===e?s=r:s=GD(t,e,r);let a=$D(BD(s));return new _n(a,i,o)}function GD(t,e,r){let n={};return Object.entries(t.children).forEach(([o,i])=>{i===e?n[o]=r:n[o]=GD(i,e,r)}),new G(t.segments,n)}var eu=class{constructor(e,r,n){if(this.isAbsolute=e,this.numberOfDoubleDots=r,this.commands=n,e&&n.length>0&&Xa(n[0]))throw new C(4003,!1);let o=n.find(ri);if(o&&o!==FD(n))throw new C(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function nx(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new eu(!0,0,t);let e=0,r=!1,n=t.reduce((o,i,s)=>{if(typeof i=="object"&&i!=null){if(i.outlets){let a={};return Object.entries(i.outlets).forEach(([u,c])=>{a[u]=typeof c=="string"?c.split("/"):c}),[...o,{outlets:a}]}if(i.segmentPath)return[...o,i.segmentPath]}return typeof i!="string"?[...o,i]:s===0?(i.split("/").forEach((a,u)=>{u==0&&a==="."||(u==0&&a===""?r=!0:a===".."?e++:a!=""&&o.push(a))}),o):[...o,i]},[]);return new eu(r,e,n)}var Br=class{constructor(e,r,n){this.segmentGroup=e,this.processChildren=r,this.index=n}};function rx(t,e,r){if(t.isAbsolute)return new Br(e,!0,0);if(!r)return new Br(e,!1,NaN);if(r.parent===null)return new Br(r,!0,0);let n=Xa(t.commands[0])?0:1,o=r.segments.length-1+n;return ox(r,o,t.numberOfDoubleDots)}function ox(t,e,r){let n=t,o=e,i=r;for(;i>o;){if(i-=o,n=n.parent,!n)throw new C(4005,!1);o=n.segments.length}return new Br(n,!1,o-i)}function ix(t){return ri(t[0])?t[0].outlets:{[P]:t}}function WD(t,e,r){if(t??=new G([],{}),t.segments.length===0&&t.hasChildren())return Xo(t,e,r);let n=sx(t,e,r),o=r.slice(n.commandIndex);if(n.match&&n.pathIndexi!==P)&&t.children[P]&&t.numberOfChildren===1&&t.children[P].segments.length===0){let i=Xo(t.children[P],e,r);return new G(t.segments,i.children)}return Object.entries(n).forEach(([i,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(o[i]=WD(t.children[i],e,s))}),Object.entries(t.children).forEach(([i,s])=>{n[i]===void 0&&(o[i]=s)}),new G(t.segments,o)}}function sx(t,e,r){let n=0,o=e,i={match:!1,pathIndex:0,commandIndex:0};for(;o=r.length)return i;let s=t.segments[o],a=r[n];if(ri(a))break;let u=`${a}`,c=n0&&u===void 0)break;if(u&&c&&typeof c=="object"&&c.outlets===void 0){if(!SD(u,c,s))return i;n+=2}else{if(!SD(u,{},s))return i;n++}o++}return{match:!0,pathIndex:o,commandIndex:n}}function vf(t,e,r){let n=t.segments.slice(0,e),o=0;for(;o{typeof n=="string"&&(n=[n]),n!==null&&(e[r]=vf(new G([],{}),0,n))}),e}function _D(t){let e={};return Object.entries(t).forEach(([r,n])=>e[r]=`${n}`),e}function SD(t,e,r){return t==r.path&&Lt(e,r.parameters)}var ei="imperative",pe=function(t){return t[t.NavigationStart=0]="NavigationStart",t[t.NavigationEnd=1]="NavigationEnd",t[t.NavigationCancel=2]="NavigationCancel",t[t.NavigationError=3]="NavigationError",t[t.RoutesRecognized=4]="RoutesRecognized",t[t.ResolveStart=5]="ResolveStart",t[t.ResolveEnd=6]="ResolveEnd",t[t.GuardsCheckStart=7]="GuardsCheckStart",t[t.GuardsCheckEnd=8]="GuardsCheckEnd",t[t.RouteConfigLoadStart=9]="RouteConfigLoadStart",t[t.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",t[t.ChildActivationStart=11]="ChildActivationStart",t[t.ChildActivationEnd=12]="ChildActivationEnd",t[t.ActivationStart=13]="ActivationStart",t[t.ActivationEnd=14]="ActivationEnd",t[t.Scroll=15]="Scroll",t[t.NavigationSkipped=16]="NavigationSkipped",t}(pe||{}),nt=class{constructor(e,r){this.id=e,this.url=r}},Wr=class extends nt{constructor(e,r,n="imperative",o=null){super(e,r),this.type=pe.NavigationStart,this.navigationTrigger=n,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},Et=class extends nt{constructor(e,r,n){super(e,r),this.urlAfterRedirects=n,this.type=pe.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},Ye=function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t}(Ye||{}),tu=function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t}(tu||{}),Sn=class extends nt{constructor(e,r,n,o){super(e,r),this.reason=n,this.code=o,this.type=pe.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},Tn=class extends nt{constructor(e,r,n,o){super(e,r),this.reason=n,this.code=o,this.type=pe.NavigationSkipped}},oi=class extends nt{constructor(e,r,n,o){super(e,r),this.error=n,this.target=o,this.type=pe.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},nu=class extends nt{constructor(e,r,n,o){super(e,r),this.urlAfterRedirects=n,this.state=o,this.type=pe.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},yf=class extends nt{constructor(e,r,n,o){super(e,r),this.urlAfterRedirects=n,this.state=o,this.type=pe.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Df=class extends nt{constructor(e,r,n,o,i){super(e,r),this.urlAfterRedirects=n,this.state=o,this.shouldActivate=i,this.type=pe.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},wf=class extends nt{constructor(e,r,n,o){super(e,r),this.urlAfterRedirects=n,this.state=o,this.type=pe.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Cf=class extends nt{constructor(e,r,n,o){super(e,r),this.urlAfterRedirects=n,this.state=o,this.type=pe.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ef=class{constructor(e){this.route=e,this.type=pe.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},If=class{constructor(e){this.route=e,this.type=pe.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},bf=class{constructor(e){this.snapshot=e,this.type=pe.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Mf=class{constructor(e){this.snapshot=e,this.type=pe.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},_f=class{constructor(e){this.snapshot=e,this.type=pe.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Sf=class{constructor(e){this.snapshot=e,this.type=pe.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},ru=class{constructor(e,r,n){this.routerEvent=e,this.position=r,this.anchor=n,this.type=pe.Scroll}toString(){let e=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${e}')`}},ii=class{},si=class{constructor(e){this.url=e}};var Tf=class{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new hi,this.attachRef=null}},hi=(()=>{let e=class e{constructor(){this.contexts=new Map}onChildOutletCreated(n,o){let i=this.getOrCreateContext(n);i.outlet=o,this.contexts.set(n,i)}onChildOutletDestroyed(n){let o=this.getContext(n);o&&(o.outlet=null,o.attachRef=null)}onOutletDeactivated(){let n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let o=this.getContext(n);return o||(o=new Tf,this.contexts.set(n,o)),o}getContext(n){return this.contexts.get(n)||null}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),ou=class{constructor(e){this._root=e}get root(){return this._root.value}parent(e){let r=this.pathFromRoot(e);return r.length>1?r[r.length-2]:null}children(e){let r=Af(e,this._root);return r?r.children.map(n=>n.value):[]}firstChild(e){let r=Af(e,this._root);return r&&r.children.length>0?r.children[0].value:null}siblings(e){let r=xf(e,this._root);return r.length<2?[]:r[r.length-2].children.map(o=>o.value).filter(o=>o!==e)}pathFromRoot(e){return xf(e,this._root).map(r=>r.value)}};function Af(t,e){if(t===e.value)return e;for(let r of e.children){let n=Af(t,r);if(n)return n}return null}function xf(t,e){if(t===e.value)return[e];for(let r of e.children){let n=xf(t,r);if(n.length)return n.unshift(e),n}return[]}var Ze=class{constructor(e,r){this.value=e,this.children=r}toString(){return`TreeNode(${this.value})`}};function $r(t){let e={};return t&&t.children.forEach(r=>e[r.value.outlet]=r),e}var iu=class extends ou{constructor(e,r){super(e),this.snapshot=r,Uf(this,e)}toString(){return this.snapshot.toString()}};function qD(t){let e=ux(t),r=new me([new tr("",{})]),n=new me({}),o=new me({}),i=new me({}),s=new me(""),a=new An(r,n,i,s,o,P,t,e.root);return a.snapshot=e.root,new iu(new Ze(a,[]),e)}function ux(t){let e={},r={},n={},o="",i=new ai([],e,n,o,r,P,t,null,{});return new su("",new Ze(i,[]))}var An=class{constructor(e,r,n,o,i,s,a,u){this.urlSubject=e,this.paramsSubject=r,this.queryParamsSubject=n,this.fragmentSubject=o,this.dataSubject=i,this.outlet=s,this.component=a,this._futureSnapshot=u,this.title=this.dataSubject?.pipe(F(c=>c[di]))??M(void 0),this.url=e,this.params=r,this.queryParams=n,this.fragment=o,this.data=i}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(F(e=>zr(e))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(F(e=>zr(e))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function jf(t,e,r="emptyOnly"){let n,{routeConfig:o}=t;return e!==null&&(r==="always"||o?.path===""||!e.component&&!e.routeConfig?.loadComponent)?n={params:w(w({},e.params),t.params),data:w(w({},e.data),t.data),resolve:w(w(w(w({},t.data),e.data),o?.data),t._resolvedData)}:n={params:w({},t.params),data:w({},t.data),resolve:w(w({},t.data),t._resolvedData??{})},o&&YD(o)&&(n.resolve[di]=o.title),n}var ai=class{get title(){return this.data?.[di]}constructor(e,r,n,o,i,s,a,u,c){this.url=e,this.params=r,this.queryParams=n,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this.routeConfig=u,this._resolve=c}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=zr(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=zr(this.queryParams),this._queryParamMap}toString(){let e=this.url.map(n=>n.toString()).join("/"),r=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${e}', path:'${r}')`}},su=class extends ou{constructor(e,r){super(r),this.url=e,Uf(this,r)}toString(){return ZD(this._root)}};function Uf(t,e){e.value._routerState=t,e.children.forEach(r=>Uf(t,r))}function ZD(t){let e=t.children.length>0?` { ${t.children.map(ZD).join(", ")} } `:"";return`${t.value}${e}`}function df(t){if(t.snapshot){let e=t.snapshot,r=t._futureSnapshot;t.snapshot=r,Lt(e.queryParams,r.queryParams)||t.queryParamsSubject.next(r.queryParams),e.fragment!==r.fragment&&t.fragmentSubject.next(r.fragment),Lt(e.params,r.params)||t.paramsSubject.next(r.params),LA(e.url,r.url)||t.urlSubject.next(r.url),Lt(e.data,r.data)||t.dataSubject.next(r.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function Nf(t,e){let r=Lt(t.params,e.params)&&$A(t.url,e.url),n=!t.parent!=!e.parent;return r&&!n&&(!t.parent||Nf(t.parent,e.parent))}function YD(t){return typeof t.title=="string"||t.title===null}var cx=(()=>{let e=class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=P,this.activateEvents=new ae,this.deactivateEvents=new ae,this.attachEvents=new ae,this.detachEvents=new ae,this.parentContexts=g(hi),this.location=g(Xt),this.changeDetector=g(Ft),this.environmentInjector=g(Ne),this.inputBinder=g(lu,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(n){if(n.name){let{firstChange:o,previousValue:i}=n.name;if(o)return;this.isTrackedInParentContexts(i)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(i)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(n){return this.parentContexts.getContext(n)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let n=this.parentContexts.getContext(this.name);n?.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new C(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new C(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new C(4012,!1);this.location.detach();let n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,o){this.activated=n,this._activatedRoute=o,this.location.insert(n.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){let n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,o){if(this.isActivated)throw new C(4013,!1);this._activatedRoute=n;let i=this.location,a=n.snapshot.component,u=this.parentContexts.getOrCreateContext(this.name).children,c=new Rf(n,u,i.injector);this.activated=i.createComponent(a,{index:i.length,injector:c,environmentInjector:o??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275dir=j({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Ke]});let t=e;return t})(),Rf=class{constructor(e,r,n){this.route=e,this.childContexts=r,this.parent=n}get(e,r){return e===An?this.route:e===hi?this.childContexts:this.parent.get(e,r)}},lu=new E(""),TD=(()=>{let e=class e{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(n){this.unsubscribeFromRouteData(n),this.subscribeToRouteData(n)}unsubscribeFromRouteData(n){this.outletDataSubscriptions.get(n)?.unsubscribe(),this.outletDataSubscriptions.delete(n)}subscribeToRouteData(n){let{activatedRoute:o}=n,i=to([o.queryParams,o.params,o.data]).pipe(Pe(([s,a,u],c)=>(u=w(w(w({},s),a),u),c===0?M(u):Promise.resolve(u)))).subscribe(s=>{if(!n.isActivated||!n.activatedComponentRef||n.activatedRoute!==o||o.component===null){this.unsubscribeFromRouteData(n);return}let a=Lv(o.component);if(!a){this.unsubscribeFromRouteData(n);return}for(let{templateName:u}of a.inputs)n.activatedComponentRef.setInput(u,s[u])});this.outletDataSubscriptions.set(n,i)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})();function lx(t,e,r){let n=ui(t,e._root,r?r._root:void 0);return new iu(n,e)}function ui(t,e,r){if(r&&t.shouldReuseRoute(e.value,r.value.snapshot)){let n=r.value;n._futureSnapshot=e.value;let o=dx(t,e,r);return new Ze(n,o)}else{if(t.shouldAttach(e.value)){let i=t.retrieve(e.value);if(i!==null){let s=i.route;return s.value._futureSnapshot=e.value,s.children=e.children.map(a=>ui(t,a)),s}}let n=fx(e.value),o=e.children.map(i=>ui(t,i));return new Ze(n,o)}}function dx(t,e,r){return e.children.map(n=>{for(let o of r.children)if(t.shouldReuseRoute(n.value,o.value.snapshot))return ui(t,n,o);return ui(t,n)})}function fx(t){return new An(new me(t.url),new me(t.params),new me(t.queryParams),new me(t.fragment),new me(t.data),t.outlet,t.component,t)}var QD="ngNavigationCancelingError";function KD(t,e){let{redirectTo:r,navigationBehaviorOptions:n}=Gr(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,o=JD(!1,Ye.Redirect);return o.url=r,o.navigationBehaviorOptions=n,o}function JD(t,e){let r=new Error(`NavigationCancelingError: ${t||""}`);return r[QD]=!0,r.cancellationCode=e,r}function hx(t){return XD(t)&&Gr(t.url)}function XD(t){return!!t&&t[QD]}var px=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=Hp({type:e,selectors:[["ng-component"]],standalone:!0,features:[Sv],decls:1,vars:0,template:function(o,i){o&1&&pd(0,"router-outlet")},dependencies:[cx],encapsulation:2});let t=e;return t})();function gx(t,e){return t.providers&&!t._injector&&(t._injector=da(t.providers,e,`Route: ${t.path}`)),t._injector??e}function $f(t){let e=t.children&&t.children.map($f),r=e?W(w({},t),{children:e}):w({},t);return!r.component&&!r.loadComponent&&(e||r.loadChildren)&&r.outlet&&r.outlet!==P&&(r.component=px),r}function Vt(t){return t.outlet||P}function mx(t,e){let r=t.filter(n=>Vt(n)===e);return r.push(...t.filter(n=>Vt(n)!==e)),r}function pi(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let e=t.parent;e;e=e.parent){let r=e.routeConfig;if(r?._loadedInjector)return r._loadedInjector;if(r?._injector)return r._injector}return null}var vx=(t,e,r,n)=>F(o=>(new Of(e,o.targetRouterState,o.currentRouterState,r,n).activate(t),o)),Of=class{constructor(e,r,n,o,i){this.routeReuseStrategy=e,this.futureState=r,this.currState=n,this.forwardEvent=o,this.inputBindingEnabled=i}activate(e){let r=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(r,n,e),df(this.futureState.root),this.activateChildRoutes(r,n,e)}deactivateChildRoutes(e,r,n){let o=$r(r);e.children.forEach(i=>{let s=i.value.outlet;this.deactivateRoutes(i,o[s],n),delete o[s]}),Object.values(o).forEach(i=>{this.deactivateRouteAndItsChildren(i,n)})}deactivateRoutes(e,r,n){let o=e.value,i=r?r.value:null;if(o===i)if(o.component){let s=n.getContext(o.outlet);s&&this.deactivateChildRoutes(e,r,s.children)}else this.deactivateChildRoutes(e,r,n);else i&&this.deactivateRouteAndItsChildren(r,n)}deactivateRouteAndItsChildren(e,r){e.value.component&&this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,r):this.deactivateRouteAndOutlet(e,r)}detachAndStoreRouteSubtree(e,r){let n=r.getContext(e.value.outlet),o=n&&e.value.component?n.children:r,i=$r(e);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);if(n&&n.outlet){let s=n.outlet.detach(),a=n.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:s,route:e,contexts:a})}}deactivateRouteAndOutlet(e,r){let n=r.getContext(e.value.outlet),o=n&&e.value.component?n.children:r,i=$r(e);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null)}activateChildRoutes(e,r,n){let o=$r(r);e.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],n),this.forwardEvent(new Sf(i.value.snapshot))}),e.children.length&&this.forwardEvent(new Mf(e.value.snapshot))}activateRoutes(e,r,n){let o=e.value,i=r?r.value:null;if(df(o),o===i)if(o.component){let s=n.getOrCreateContext(o.outlet);this.activateChildRoutes(e,r,s.children)}else this.activateChildRoutes(e,r,n);else if(o.component){let s=n.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){let a=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),df(a.route.value),this.activateChildRoutes(e,null,s.children)}else{let a=pi(o.snapshot);s.attachRef=null,s.route=o,s.injector=a,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(e,null,s.children)}}else this.activateChildRoutes(e,null,n)}},au=class{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}},Hr=class{constructor(e,r){this.component=e,this.route=r}};function yx(t,e,r){let n=t._root,o=e?e._root:null;return Ko(n,o,r,[n.value])}function Dx(t){let e=t.routeConfig?t.routeConfig.canActivateChild:null;return!e||e.length===0?null:{node:t,guards:e}}function Zr(t,e){let r=Symbol(),n=e.get(t,r);return n===r?typeof t=="function"&&!Ap(t)?t:e.get(t):n}function Ko(t,e,r,n,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=$r(e);return t.children.forEach(s=>{wx(s,i[s.value.outlet],r,n.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>ti(a,r.getContext(s),o)),o}function wx(t,e,r,n,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=t.value,s=e?e.value:null,a=r?r.getContext(t.value.outlet):null;if(s&&i.routeConfig===s.routeConfig){let u=Cx(s,i,i.routeConfig.runGuardsAndResolvers);u?o.canActivateChecks.push(new au(n)):(i.data=s.data,i._resolvedData=s._resolvedData),i.component?Ko(t,e,a?a.children:null,n,o):Ko(t,e,r,n,o),u&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new Hr(a.outlet.component,s))}else s&&ti(e,a,o),o.canActivateChecks.push(new au(n)),i.component?Ko(t,null,a?a.children:null,n,o):Ko(t,null,r,n,o);return o}function Cx(t,e,r){if(typeof r=="function")return r(t,e);switch(r){case"pathParamsChange":return!nr(t.url,e.url);case"pathParamsOrQueryParamsChange":return!nr(t.url,e.url)||!Lt(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Nf(t,e)||!Lt(t.queryParams,e.queryParams);case"paramsChange":default:return!Nf(t,e)}}function ti(t,e,r){let n=$r(t),o=t.value;Object.entries(n).forEach(([i,s])=>{o.component?e?ti(s,e.children.getContext(i),r):ti(s,null,r):ti(s,e,r)}),o.component?e&&e.outlet&&e.outlet.isActivated?r.canDeactivateChecks.push(new Hr(e.outlet.component,o)):r.canDeactivateChecks.push(new Hr(null,o)):r.canDeactivateChecks.push(new Hr(null,o))}function gi(t){return typeof t=="function"}function Ex(t){return typeof t=="boolean"}function Ix(t){return t&&gi(t.canLoad)}function bx(t){return t&&gi(t.canActivate)}function Mx(t){return t&&gi(t.canActivateChild)}function _x(t){return t&&gi(t.canDeactivate)}function Sx(t){return t&&gi(t.canMatch)}function ew(t){return t instanceof ot||t?.name==="EmptyError"}var Ya=Symbol("INITIAL_VALUE");function qr(){return Pe(t=>to(t.map(e=>e.pipe(Be(1),Lu(Ya)))).pipe(F(e=>{for(let r of e)if(r!==!0){if(r===Ya)return Ya;if(r===!1||r instanceof _n)return r}return!0}),Ie(e=>e!==Ya),Be(1)))}function Tx(t,e){return te(r=>{let{targetSnapshot:n,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=r;return s.length===0&&i.length===0?M(W(w({},r),{guardsResult:!0})):Ax(s,n,o,t).pipe(te(a=>a&&Ex(a)?xx(n,i,t,e):M(a)),F(a=>W(w({},r),{guardsResult:a})))})}function Ax(t,e,r,n){return q(t).pipe(te(o=>Px(o.component,o.route,r,e,n)),it(o=>o!==!0,!0))}function xx(t,e,r,n){return q(e).pipe(_t(o=>Mt(Rx(o.route.parent,n),Nx(o.route,n),Fx(t,o.path,r),Ox(t,o.route,r))),it(o=>o!==!0,!0))}function Nx(t,e){return t!==null&&e&&e(new _f(t)),M(!0)}function Rx(t,e){return t!==null&&e&&e(new bf(t)),M(!0)}function Ox(t,e,r){let n=e.routeConfig?e.routeConfig.canActivate:null;if(!n||n.length===0)return M(!0);let o=n.map(i=>qi(()=>{let s=pi(e)??r,a=Zr(i,s),u=bx(a)?a.canActivate(e,t):pt(s,()=>a(e,t));return xn(u).pipe(it())}));return M(o).pipe(qr())}function Fx(t,e,r){let n=e[e.length-1],i=e.slice(0,e.length-1).reverse().map(s=>Dx(s)).filter(s=>s!==null).map(s=>qi(()=>{let a=s.guards.map(u=>{let c=pi(s.node)??r,l=Zr(u,c),d=Mx(l)?l.canActivateChild(n,t):pt(c,()=>l(n,t));return xn(d).pipe(it())});return M(a).pipe(qr())}));return M(i).pipe(qr())}function Px(t,e,r,n,o){let i=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!i||i.length===0