EVOLUTION-MANAGER
Edit File: main.f240971a3252a4749247.js
(self.webpackChunkclientesapp=self.webpackChunkclientesapp||[]).push([[179],{255:ni=>{function Bn(ri){return Promise.resolve().then(()=>{var En=new Error("Cannot find module '"+ri+"'");throw En.code="MODULE_NOT_FOUND",En})}Bn.keys=()=>[],Bn.resolve=Bn,Bn.id=255,ni.exports=Bn},305:(ni,Bn,ri)=>{"use strict";function En(t){return"function"==typeof t}let nu=!1;const Lt={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){if(t){const e=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+e.stack)}else nu&&console.log("RxJS: Back to a better error behavior. Thank you. <3");nu=t},get useDeprecatedSynchronousErrorHandling(){return nu}};function Br(t){setTimeout(()=>{throw t},0)}const Os={closed:!0,next(t){},error(t){if(Lt.useDeprecatedSynchronousErrorHandling)throw t;Br(t)},complete(){}},Ps=Array.isArray||(t=>t&&"number"==typeof t.length);function ru(t){return null!==t&&"object"==typeof t}const ks=(()=>{function t(e){return Error.call(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((n,r)=>`${r+1}) ${n.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=e,this}return t.prototype=Object.create(Error.prototype),t})();class _e{constructor(e){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,e&&(this._ctorUnsubscribe=!0,this._unsubscribe=e)}unsubscribe(){let e;if(this.closed)return;let{_parentOrParents:n,_ctorUnsubscribe:r,_unsubscribe:o,_subscriptions:i}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof _e)n.remove(this);else if(null!==n)for(let s=0;s<n.length;++s)n[s].remove(this);if(En(o)){r&&(this._unsubscribe=void 0);try{o.call(this)}catch(s){e=s instanceof ks?Bh(s.errors):[s]}}if(Ps(i)){let s=-1,a=i.length;for(;++s<a;){const l=i[s];if(ru(l))try{l.unsubscribe()}catch(u){e=e||[],u instanceof ks?e=e.concat(Bh(u.errors)):e.push(u)}}}if(e)throw new ks(e)}add(e){let n=e;if(!e)return _e.EMPTY;switch(typeof e){case"function":n=new _e(e);case"object":if(n===this||n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if(!(n instanceof _e)){const i=n;n=new _e,n._subscriptions=[i]}break;default:throw new Error("unrecognized teardown "+e+" added to Subscription.")}let{_parentOrParents:r}=n;if(null===r)n._parentOrParents=this;else if(r instanceof _e){if(r===this)return n;n._parentOrParents=[r,this]}else{if(-1!==r.indexOf(this))return n;r.push(this)}const o=this._subscriptions;return null===o?this._subscriptions=[n]:o.push(n),n}remove(e){const n=this._subscriptions;if(n){const r=n.indexOf(e);-1!==r&&n.splice(r,1)}}}var t;function Bh(t){return t.reduce((e,n)=>e.concat(n instanceof ks?n.errors:n),[])}_e.EMPTY=((t=new _e).closed=!0,t);const Vs="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random();class pe extends _e{constructor(e,n,r){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=Os;break;case 1:if(!e){this.destination=Os;break}if("object"==typeof e){e instanceof pe?(this.syncErrorThrowable=e.syncErrorThrowable,this.destination=e,e.add(this)):(this.syncErrorThrowable=!0,this.destination=new Hh(this,e));break}default:this.syncErrorThrowable=!0,this.destination=new Hh(this,e,n,r)}}[Vs](){return this}static create(e,n,r){const o=new pe(e,n,r);return o.syncErrorThrowable=!1,o}next(e){this.isStopped||this._next(e)}error(e){this.isStopped||(this.isStopped=!0,this._error(e))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(e){this.destination.next(e)}_error(e){this.destination.error(e),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:e}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=e,this}}class Hh extends pe{constructor(e,n,r,o){super(),this._parentSubscriber=e;let i,s=this;En(n)?i=n:n&&(i=n.next,r=n.error,o=n.complete,n!==Os&&(s=Object.create(n),En(s.unsubscribe)&&this.add(s.unsubscribe.bind(s)),s.unsubscribe=this.unsubscribe.bind(this))),this._context=s,this._next=i,this._error=r,this._complete=o}next(e){if(!this.isStopped&&this._next){const{_parentSubscriber:n}=this;Lt.useDeprecatedSynchronousErrorHandling&&n.syncErrorThrowable?this.__tryOrSetError(n,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}}error(e){if(!this.isStopped){const{_parentSubscriber:n}=this,{useDeprecatedSynchronousErrorHandling:r}=Lt;if(this._error)r&&n.syncErrorThrowable?(this.__tryOrSetError(n,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else if(n.syncErrorThrowable)r?(n.syncErrorValue=e,n.syncErrorThrown=!0):Br(e),this.unsubscribe();else{if(this.unsubscribe(),r)throw e;Br(e)}}}complete(){if(!this.isStopped){const{_parentSubscriber:e}=this;if(this._complete){const n=()=>this._complete.call(this._context);Lt.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?(this.__tryOrSetError(e,n),this.unsubscribe()):(this.__tryOrUnsub(n),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(e,n){try{e.call(this._context,n)}catch(r){if(this.unsubscribe(),Lt.useDeprecatedSynchronousErrorHandling)throw r;Br(r)}}__tryOrSetError(e,n,r){if(!Lt.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{n.call(this._context,r)}catch(o){return Lt.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=o,e.syncErrorThrown=!0,!0):(Br(o),!0)}return!1}_unsubscribe(){const{_parentSubscriber:e}=this;this._context=null,this._parentSubscriber=null,e.unsubscribe()}}const oi="function"==typeof Symbol&&Symbol.observable||"@@observable";function Ls(t){return t}let ce=(()=>{class t{constructor(n){this._isScalar=!1,n&&(this._subscribe=n)}lift(n){const r=new t;return r.source=this,r.operator=n,r}subscribe(n,r,o){const{operator:i}=this,s=function(t,e,n){if(t){if(t instanceof pe)return t;if(t[Vs])return t[Vs]()}return t||e||n?new pe(t,e,n):new pe(Os)}(n,r,o);if(s.add(i?i.call(s,this.source):this.source||Lt.useDeprecatedSynchronousErrorHandling&&!s.syncErrorThrowable?this._subscribe(s):this._trySubscribe(s)),Lt.useDeprecatedSynchronousErrorHandling&&s.syncErrorThrowable&&(s.syncErrorThrowable=!1,s.syncErrorThrown))throw s.syncErrorValue;return s}_trySubscribe(n){try{return this._subscribe(n)}catch(r){Lt.useDeprecatedSynchronousErrorHandling&&(n.syncErrorThrown=!0,n.syncErrorValue=r),function(t){for(;t;){const{closed:e,destination:n,isStopped:r}=t;if(e||r)return!1;t=n&&n instanceof pe?n:null}return!0}(n)?n.error(r):console.warn(r)}}forEach(n,r){return new(r=Gh(r))((o,i)=>{let s;s=this.subscribe(a=>{try{n(a)}catch(l){i(l),s&&s.unsubscribe()}},i,o)})}_subscribe(n){const{source:r}=this;return r&&r.subscribe(n)}[oi](){return this}pipe(...n){return 0===n.length?this:function(t){return 0===t.length?Ls:1===t.length?t[0]:function(n){return t.reduce((r,o)=>o(r),n)}}(n)(this)}toPromise(n){return new(n=Gh(n))((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return t.create=e=>new t(e),t})();function Gh(t){if(t||(t=Lt.Promise||Promise),!t)throw new Error("no Promise impl found");return t}const Hr=(()=>{function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t})();class Sb extends _e{constructor(e,n){super(),this.subject=e,this.subscriber=n,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const e=this.subject,n=e.observers;if(this.subject=null,!n||0===n.length||e.isStopped||e.closed)return;const r=n.indexOf(this.subscriber);-1!==r&&n.splice(r,1)}}class Wh extends pe{constructor(e){super(e),this.destination=e}}let bn=(()=>{class t extends ce{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[Vs](){return new Wh(this)}lift(n){const r=new qh(this,this);return r.operator=n,r}next(n){if(this.closed)throw new Hr;if(!this.isStopped){const{observers:r}=this,o=r.length,i=r.slice();for(let s=0;s<o;s++)i[s].next(n)}}error(n){if(this.closed)throw new Hr;this.hasError=!0,this.thrownError=n,this.isStopped=!0;const{observers:r}=this,o=r.length,i=r.slice();for(let s=0;s<o;s++)i[s].error(n);this.observers.length=0}complete(){if(this.closed)throw new Hr;this.isStopped=!0;const{observers:n}=this,r=n.length,o=n.slice();for(let i=0;i<r;i++)o[i].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(n){if(this.closed)throw new Hr;return super._trySubscribe(n)}_subscribe(n){if(this.closed)throw new Hr;return this.hasError?(n.error(this.thrownError),_e.EMPTY):this.isStopped?(n.complete(),_e.EMPTY):(this.observers.push(n),new Sb(this,n))}asObservable(){const n=new ce;return n.source=this,n}}return t.create=(e,n)=>new qh(e,n),t})();class qh extends bn{constructor(e,n){super(),this.destination=e,this.source=n}next(e){const{destination:n}=this;n&&n.next&&n.next(e)}error(e){const{destination:n}=this;n&&n.error&&this.destination.error(e)}complete(){const{destination:e}=this;e&&e.complete&&this.destination.complete()}_subscribe(e){const{source:n}=this;return n?this.source.subscribe(e):_e.EMPTY}}function js(t){return t&&"function"==typeof t.schedule}function X(t,e){return function(r){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return r.lift(new Tb(t,e))}}class Tb{constructor(e,n){this.project=e,this.thisArg=n}call(e,n){return n.subscribe(new Rb(e,this.project,this.thisArg))}}class Rb extends pe{constructor(e,n,r){super(e),this.project=n,this.count=0,this.thisArg=r||this}_next(e){let n;try{n=this.project.call(this.thisArg,e,this.count++)}catch(r){return void this.destination.error(r)}this.destination.next(n)}}const zh=t=>e=>{for(let n=0,r=t.length;n<r&&!e.closed;n++)e.next(t[n]);e.complete()},Us="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator",Qh=t=>t&&"number"==typeof t.length&&"function"!=typeof t;function Kh(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}const ou=t=>{if(t&&"function"==typeof t[oi])return(t=>e=>{const n=t[oi]();if("function"!=typeof n.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return n.subscribe(e)})(t);if(Qh(t))return zh(t);if(Kh(t))return(t=>e=>(t.then(n=>{e.closed||(e.next(n),e.complete())},n=>e.error(n)).then(null,Br),e))(t);if(t&&"function"==typeof t[Us])return(t=>e=>{const n=t[Us]();for(;;){let r;try{r=n.next()}catch(o){return e.error(o),e}if(r.done){e.complete();break}if(e.next(r.value),e.closed)break}return"function"==typeof n.return&&e.add(()=>{n.return&&n.return()}),e})(t);{const n=`You provided ${ru(t)?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(n)}};function iu(t,e){return new ce(n=>{const r=new _e;let o=0;return r.add(e.schedule(function(){o!==t.length?(n.next(t[o++]),n.closed||r.add(this.schedule())):n.complete()})),r})}function He(t,e){return e?function(t,e){if(null!=t){if(function(t){return t&&"function"==typeof t[oi]}(t))return function(t,e){return new ce(n=>{const r=new _e;return r.add(e.schedule(()=>{const o=t[oi]();r.add(o.subscribe({next(i){r.add(e.schedule(()=>n.next(i)))},error(i){r.add(e.schedule(()=>n.error(i)))},complete(){r.add(e.schedule(()=>n.complete()))}}))})),r})}(t,e);if(Kh(t))return function(t,e){return new ce(n=>{const r=new _e;return r.add(e.schedule(()=>t.then(o=>{r.add(e.schedule(()=>{n.next(o),r.add(e.schedule(()=>n.complete()))}))},o=>{r.add(e.schedule(()=>n.error(o)))}))),r})}(t,e);if(Qh(t))return iu(t,e);if(function(t){return t&&"function"==typeof t[Us]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new ce(n=>{const r=new _e;let o;return r.add(()=>{o&&"function"==typeof o.return&&o.return()}),r.add(e.schedule(()=>{o=t[Us](),r.add(e.schedule(function(){if(n.closed)return;let i,s;try{const a=o.next();i=a.value,s=a.done}catch(a){return void n.error(a)}s?n.complete():(n.next(i),this.schedule())}))})),r})}(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}(t,e):t instanceof ce?t:new ce(ou(t))}class su extends pe{constructor(e){super(),this.parent=e}_next(e){this.parent.notifyNext(e)}_error(e){this.parent.notifyError(e),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class au extends pe{notifyNext(e){this.destination.next(e)}notifyError(e){this.destination.error(e)}notifyComplete(){this.destination.complete()}}function lu(t,e){if(e.closed)return;if(t instanceof ce)return t.subscribe(e);let n;try{n=ou(t)(e)}catch(r){e.error(r)}return n}function $e(t,e,n=Number.POSITIVE_INFINITY){return"function"==typeof e?r=>r.pipe($e((o,i)=>He(t(o,i)).pipe(X((s,a)=>e(o,s,i,a))),n)):("number"==typeof e&&(n=e),r=>r.lift(new Bb(t,n)))}class Bb{constructor(e,n=Number.POSITIVE_INFINITY){this.project=e,this.concurrent=n}call(e,n){return n.subscribe(new Hb(e,this.project,this.concurrent))}}class Hb extends au{constructor(e,n,r=Number.POSITIVE_INFINITY){super(e),this.project=n,this.concurrent=r,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(e){this.active<this.concurrent?this._tryNext(e):this.buffer.push(e)}_tryNext(e){let n;const r=this.index++;try{n=this.project(e,r)}catch(o){return void this.destination.error(o)}this.active++,this._innerSub(n)}_innerSub(e){const n=new su(this),r=this.destination;r.add(n);const o=lu(e,n);o!==n&&r.add(o)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(e){this.destination.next(e)}notifyComplete(){const e=this.buffer;this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function ii(t=Number.POSITIVE_INFINITY){return $e(Ls,t)}function uu(t,e){return e?iu(t,e):new ce(zh(t))}function cu(){return function(e){return e.lift(new Gb(e))}}class Gb{constructor(e){this.connectable=e}call(e,n){const{connectable:r}=this;r._refCount++;const o=new Wb(e,r),i=n.subscribe(o);return o.closed||(o.connection=r.connect()),i}}class Wb extends pe{constructor(e,n){super(e),this.connectable=n}_unsubscribe(){const{connectable:e}=this;if(!e)return void(this.connection=null);this.connectable=null;const n=e._refCount;if(n<=0)return void(this.connection=null);if(e._refCount=n-1,n>1)return void(this.connection=null);const{connection:r}=this,o=e._connection;this.connection=null,o&&(!r||o===r)&&o.unsubscribe()}}class Jh extends ce{constructor(e,n){super(),this.source=e,this.subjectFactory=n,this._refCount=0,this._isComplete=!1}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){const e=this._subject;return(!e||e.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let e=this._connection;return e||(this._isComplete=!1,e=this._connection=new _e,e.add(this.source.subscribe(new zb(this.getSubject(),this))),e.closed&&(this._connection=null,e=_e.EMPTY)),e}refCount(){return cu()(this)}}const qb=(()=>{const t=Jh.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:t._subscribe},_isComplete:{value:t._isComplete,writable:!0},getSubject:{value:t.getSubject},connect:{value:t.connect},refCount:{value:t.refCount}}})();class zb extends Wh{constructor(e,n){super(e),this.connectable=n}_error(e){this._unsubscribe(),super._error(e)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const e=this.connectable;if(e){this.connectable=null;const n=e._connection;e._refCount=0,e._subject=null,e._connection=null,n&&n.unsubscribe()}}}function Yb(){return new bn}function ee(t){for(let e in t)if(t[e]===ee)return e;throw Error("Could not find renamed property on target object.")}function du(t,e){for(const n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function $(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map($).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;const e=t.toString();if(null==e)return""+e;const n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}function fu(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}const Xb=ee({__forward_ref__:ee});function ae(t){return t.__forward_ref__=ae,t.toString=function(){return $(this())},t}function T(t){return Yh(t)?t():t}function Yh(t){return"function"==typeof t&&t.hasOwnProperty(Xb)&&t.__forward_ref__===ae}class Hn extends Error{constructor(e,n){super(function(t,e){return`${t?`NG0${t}: `:""}${e}`}(e,n)),this.code=e}}function j(t){return"string"==typeof t?t:null==t?"":String(t)}function Xe(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():j(t)}function Bs(t,e){const n=e?` in ${e}`:"";throw new Hn("201",`No provider for ${Xe(t)} found${n}`)}function ht(t,e){null==t&&function(t,e,n,r){throw new Error(`ASSERTION ERROR: ${t}`+(null==r?"":` [Expected=> ${n} ${r} ${e} <=Actual]`))}(e,t,null,"!=")}function O(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function et(t){return{providers:t.providers||[],imports:t.imports||[]}}function Mn(t){return Zh(t,Hs)||Zh(t,ep)}function Zh(t,e){return t.hasOwnProperty(e)?t[e]:null}function Xh(t){return t&&(t.hasOwnProperty(pu)||t.hasOwnProperty(sw))?t[pu]:null}const Hs=ee({\u0275prov:ee}),pu=ee({\u0275inj:ee}),ep=ee({ngInjectableDef:ee}),sw=ee({ngInjectorDef:ee});var R=(()=>((R=R||{})[R.Default=0]="Default",R[R.Host=1]="Host",R[R.Self=2]="Self",R[R.SkipSelf=4]="SkipSelf",R[R.Optional=8]="Optional",R))();let gu;function $n(t){const e=gu;return gu=t,e}function tp(t,e,n){const r=Mn(t);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&R.Optional?null:void 0!==e?e:void Bs($(t),"Injector")}function Gn(t){return{toString:t}.toString()}var bt=(()=>((bt=bt||{})[bt.OnPush=0]="OnPush",bt[bt.Default=1]="Default",bt))(),Re=(()=>((Re=Re||{})[Re.Emulated=0]="Emulated",Re[Re.None=2]="None",Re[Re.ShadowDom=3]="ShadowDom",Re))();const lw="undefined"!=typeof globalThis&&globalThis,uw="undefined"!=typeof window&&window,cw="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,te=lw||"undefined"!=typeof global&&global||uw||cw,$r={},oe=[],$s=ee({\u0275cmp:ee}),mu=ee({\u0275dir:ee}),yu=ee({\u0275pipe:ee}),np=ee({\u0275mod:ee}),dw=ee({\u0275loc:ee}),In=ee({\u0275fac:ee}),si=ee({__NG_ELEMENT_ID__:ee});let fw=0;function jt(t){return Gn(()=>{const n={},r={type:t.type,providersResolver:null,decls:t.decls,vars:t.vars,factory:null,template:t.template||null,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:n,inputs:null,outputs:null,exportAs:t.exportAs||null,onPush:t.changeDetection===bt.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors||oe,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||Re.Emulated,id:"c",styles:t.styles||oe,_:null,setInput:null,schemas:t.schemas||null,tView:null},o=t.directives,i=t.features,s=t.pipes;return r.id+=fw++,r.inputs=sp(t.inputs,n),r.outputs=sp(t.outputs),i&&i.forEach(a=>a(r)),r.directiveDefs=o?()=>("function"==typeof o?o():o).map(rp):null,r.pipeDefs=s?()=>("function"==typeof s?s():s).map(op):null,r})}function rp(t){return We(t)||function(t){return t[mu]||null}(t)}function op(t){return function(t){return t[yu]||null}(t)}const ip={};function pt(t){return Gn(()=>{const e={type:t.type,bootstrap:t.bootstrap||oe,declarations:t.declarations||oe,imports:t.imports||oe,exports:t.exports||oe,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null};return null!=t.id&&(ip[t.id]=t.type),e})}function sp(t,e){if(null==t)return $r;const n={};for(const r in t)if(t.hasOwnProperty(r)){let o=t[r],i=o;Array.isArray(o)&&(i=o[1],o=o[0]),n[o]=r,e&&(e[o]=i)}return n}const N=jt;function We(t){return t[$s]||null}function wt(t,e){const n=t[np]||null;if(!n&&!0===e)throw new Error(`Type ${$(t)} does not have '\u0275mod' property.`);return n}const B=11;function on(t){return Array.isArray(t)&&"object"==typeof t[1]}function Bt(t){return Array.isArray(t)&&!0===t[1]}function vu(t){return 0!=(8&t.flags)}function zs(t){return 2==(2&t.flags)}function Qs(t){return 1==(1&t.flags)}function Ht(t){return null!==t.template}function Cw(t){return 0!=(512&t[2])}function gr(t,e){return t.hasOwnProperty(In)?t[In]:null}class lp{constructor(e,n,r){this.previousValue=e,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function ze(){return up}function up(t){return t.type.prototype.ngOnChanges&&(t.setInput=bw),Ew}function Ew(){const t=dp(this),e=null==t?void 0:t.current;if(e){const n=t.previous;if(n===$r)t.previous=e;else for(let r in e)n[r]=e[r];t.current=null,this.ngOnChanges(e)}}function bw(t,e,n,r){const o=dp(t)||function(t,e){return t[cp]=e}(t,{previous:$r,current:null}),i=o.current||(o.current={}),s=o.previous,a=this.declaredInputs[n],l=s[a];i[a]=new lp(l&&l.currentValue,e,s===$r),t[r]=e}ze.ngInherit=!0;const cp="__ngSimpleChanges__";function dp(t){return t[cp]||null}let bu;function ve(t){return!!t.listen}const pp={createRenderer:(t,e)=>void 0!==bu?bu:"undefined"!=typeof document?document:void 0};function be(t){for(;Array.isArray(t);)t=t[0];return t}function Ks(t,e){return be(e[t])}function mt(t,e){return be(e[t.index])}function Mu(t,e){return t.data[e]}function yt(t,e){const n=e[t];return on(n)?n:n[0]}function gp(t){return 4==(4&t[2])}function Iu(t){return 128==(128&t[2])}function qn(t,e){return null==e?null:t[e]}function mp(t){t[18]=0}function Au(t,e){t[5]+=e;let n=t,r=t[3];for(;null!==r&&(1===e&&1===n[5]||-1===e&&0===n[5]);)r[5]+=e,n=r,r=r[3]}const P={lFrame:wp(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function yp(){return P.bindingsEnabled}function E(){return P.lFrame.lView}function Y(){return P.lFrame.tView}function Kr(t){return P.lFrame.contextLView=t,t[8]}function xe(){let t=_p();for(;null!==t&&64===t.type;)t=t.parent;return t}function _p(){return P.lFrame.currentTNode}function sn(t,e){const n=P.lFrame;n.currentTNode=t,n.isParent=e}function Su(){return P.lFrame.isParent}function Js(){return P.isInCheckNoChangesMode}function Ys(t){P.isInCheckNoChangesMode=t}function Jr(){return P.lFrame.bindingIndex++}function Lw(t,e){const n=P.lFrame;n.bindingIndex=n.bindingRootIndex=t,Ru(e)}function Ru(t){P.lFrame.currentDirectiveIndex=t}function Dp(){return P.lFrame.currentQueryIndex}function Nu(t){P.lFrame.currentQueryIndex=t}function Uw(t){const e=t[1];return 2===e.type?e.declTNode:1===e.type?t[6]:null}function Ep(t,e,n){if(n&R.SkipSelf){let o=e,i=t;for(;!(o=o.parent,null!==o||n&R.Host||(o=Uw(i),null===o||(i=i[15],10&o.type))););if(null===o)return!1;e=o,t=i}const r=P.lFrame=bp();return r.currentTNode=e,r.lView=t,!0}function Zs(t){const e=bp(),n=t[1];P.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function bp(){const t=P.lFrame,e=null===t?null:t.child;return null===e?wp(t):e}function wp(t){const 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 null!==t&&(t.child=e),e}function Mp(){const t=P.lFrame;return P.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const Ip=Mp;function Xs(){const t=Mp();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 rt(){return P.lFrame.selectedIndex}function zn(t){P.lFrame.selectedIndex=t}function ge(){const t=P.lFrame;return Mu(t.tView,t.selectedIndex)}function ea(t,e){for(let n=e.directiveStart,r=e.directiveEnd;n<r;n++){const i=t.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:l,ngAfterViewChecked:u,ngOnDestroy:c}=i;s&&(t.contentHooks||(t.contentHooks=[])).push(-n,s),a&&((t.contentHooks||(t.contentHooks=[])).push(n,a),(t.contentCheckHooks||(t.contentCheckHooks=[])).push(n,a)),l&&(t.viewHooks||(t.viewHooks=[])).push(-n,l),u&&((t.viewHooks||(t.viewHooks=[])).push(n,u),(t.viewCheckHooks||(t.viewCheckHooks=[])).push(n,u)),null!=c&&(t.destroyHooks||(t.destroyHooks=[])).push(n,c)}}function ta(t,e,n){Ap(t,e,3,n)}function na(t,e,n,r){(3&t[2])===n&&Ap(t,e,n,r)}function Fu(t,e){let n=t[2];(3&n)===e&&(n&=2047,n+=1,t[2]=n)}function Ap(t,e,n,r){const i=null!=r?r:-1,s=e.length-1;let a=0;for(let l=void 0!==r?65535&t[18]:0;l<s;l++)if("number"==typeof e[l+1]){if(a=e[l],null!=r&&a>=r)break}else e[l]<0&&(t[18]+=65536),(a<i||-1==i)&&(Kw(t,n,e,l),t[18]=(4294901760&t[18])+l+2),l++}function Kw(t,e,n,r){const o=n[r]<0,i=n[r+1],a=t[o?-n[r]:n[r]];if(o){if(t[2]>>11<t[18]>>16&&(3&t[2])===e){t[2]+=2048;try{i.call(a)}finally{}}}else try{i.call(a)}finally{}}class di{constructor(e,n,r){this.factory=e,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function ra(t,e,n){const r=ve(t);let o=0;for(;o<n.length;){const i=n[o];if("number"==typeof i){if(0!==i)break;o++;const s=n[o++],a=n[o++],l=n[o++];r?t.setAttribute(e,a,l,s):e.setAttributeNS(s,a,l)}else{const s=i,a=n[++o];Pu(s)?r&&t.setProperty(e,s,a):r?t.setAttribute(e,s,a):e.setAttribute(s,a),o++}}return o}function Sp(t){return 3===t||4===t||6===t}function Pu(t){return 64===t.charCodeAt(0)}function oa(t,e){if(null!==e&&0!==e.length)if(null===t||0===t.length)t=e.slice();else{let n=-1;for(let r=0;r<e.length;r++){const o=e[r];"number"==typeof o?n=o:0===n||Tp(t,n,o,null,-1===n||2===n?e[++r]:null)}}return t}function Tp(t,e,n,r,o){let i=0,s=t.length;if(-1===e)s=-1;else for(;i<t.length;){const a=t[i++];if("number"==typeof a){if(a===e){s=-1;break}if(a>e){s=i-1;break}}}for(;i<t.length;){const a=t[i];if("number"==typeof a)break;if(a===n){if(null===r)return void(null!==o&&(t[i+1]=o));if(r===t[i+1])return void(t[i+2]=o)}i++,null!==r&&i++,null!==o&&i++}-1!==s&&(t.splice(s,0,e),i=s+1),t.splice(i++,0,n),null!==r&&t.splice(i++,0,r),null!==o&&t.splice(i++,0,o)}function Rp(t){return-1!==t}function Yr(t){return 32767&t}function Zr(t,e){let n=function(t){return t>>16}(t),r=e;for(;n>0;)r=r[15],n--;return r}let ku=!0;function ia(t){const e=ku;return ku=t,e}let t0=0;function hi(t,e){const n=Lu(t,e);if(-1!==n)return n;const r=e[1];r.firstCreatePass&&(t.injectorIndex=e.length,Vu(r.data,t),Vu(e,null),Vu(r.blueprint,null));const o=sa(t,e),i=t.injectorIndex;if(Rp(o)){const s=Yr(o),a=Zr(o,e),l=a[1].data;for(let u=0;u<8;u++)e[i+u]=a[s+u]|l[s+u]}return e[i+8]=o,i}function Vu(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Lu(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===e[t.injectorIndex+8]?-1:t.injectorIndex}function sa(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let n=0,r=null,o=e;for(;null!==o;){const i=o[1],s=i.type;if(r=2===s?i.declTNode:1===s?o[6]:null,null===r)return-1;if(n++,o=o[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function aa(t,e,n){!function(t,e,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(si)&&(r=n[si]),null==r&&(r=n[si]=t0++);const o=255&r;e.data[t+(o>>5)]|=1<<o}(t,e,n)}function Fp(t,e,n){if(n&R.Optional)return t;Bs(e,"NodeInjector")}function Op(t,e,n,r){if(n&R.Optional&&void 0===r&&(r=null),0==(n&(R.Self|R.Host))){const o=t[9],i=$n(void 0);try{return o?o.get(e,r,n&R.Optional):tp(e,r,n&R.Optional)}finally{$n(i)}}return Fp(r,e,n)}function Pp(t,e,n,r=R.Default,o){if(null!==t){const i=function(t){if("string"==typeof t)return t.charCodeAt(0)||0;const e=t.hasOwnProperty(si)?t[si]:void 0;return"number"==typeof e?e>=0?255&e:o0:e}(n);if("function"==typeof i){if(!Ep(e,t,r))return r&R.Host?Fp(o,n,r):Op(e,n,r,o);try{const s=i(r);if(null!=s||r&R.Optional)return s;Bs(n)}finally{Ip()}}else if("number"==typeof i){let s=null,a=Lu(t,e),l=-1,u=r&R.Host?e[16][6]:null;for((-1===a||r&R.SkipSelf)&&(l=-1===a?sa(t,e):e[a+8],-1!==l&&Lp(r,!1)?(s=e[1],a=Yr(l),e=Zr(l,e)):a=-1);-1!==a;){const c=e[1];if(Vp(i,a,c.data)){const d=i0(a,e,n,s,r,u);if(d!==kp)return d}l=e[a+8],-1!==l&&Lp(r,e[1].data[a+8]===u)&&Vp(i,a,e)?(s=c,a=Yr(l),e=Zr(l,e)):a=-1}}}return Op(e,n,r,o)}const kp={};function o0(){return new Xr(xe(),E())}function i0(t,e,n,r,o,i){const s=e[1],a=s.data[t+8],c=la(a,s,n,null==r?zs(a)&&ku:r!=s&&0!=(3&a.type),o&R.Host&&i===a);return null!==c?pi(e,s,c,a):kp}function la(t,e,n,r,o){const i=t.providerIndexes,s=e.data,a=1048575&i,l=t.directiveStart,c=i>>20,f=o?a+c:t.directiveEnd;for(let h=r?a:a+c;h<f;h++){const p=s[h];if(h<l&&n===p||h>=l&&p.type===n)return h}if(o){const h=s[l];if(h&&Ht(h)&&h.type===n)return l}return null}function pi(t,e,n,r){let o=t[n];const i=e.data;if(function(t){return t instanceof di}(o)){const s=o;s.resolving&&function(t,e){throw new Hn("200",`Circular dependency in DI detected for ${t}`)}(Xe(i[n]));const a=ia(s.canSeeViewProviders);s.resolving=!0;const l=s.injectImpl?$n(s.injectImpl):null;Ep(t,r,R.Default);try{o=t[n]=s.factory(void 0,i,t,r),e.firstCreatePass&&n>=r.directiveStart&&function(t,e,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=e.type.prototype;if(r){const s=up(e);(n.preOrderHooks||(n.preOrderHooks=[])).push(t,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,s)}o&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-t,o),i&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,i))}(n,i[n],e)}finally{null!==l&&$n(l),ia(a),s.resolving=!1,Ip()}}return o}function Vp(t,e,n){return!!(n[e+(t>>5)]&1<<t)}function Lp(t,e){return!(t&R.Self||t&R.Host&&e)}class Xr{constructor(e,n){this._tNode=e,this._lView=n}get(e,n,r){return Pp(this._tNode,this._lView,e,r,n)}}function At(t){return Gn(()=>{const e=t.prototype.constructor,n=e[In]||ju(e),r=Object.prototype;let o=Object.getPrototypeOf(t.prototype).constructor;for(;o&&o!==r;){const i=o[In]||ju(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function ju(t){return Yh(t)?()=>{const e=ju(T(t));return e&&e()}:gr(t)}function gi(t){return function(t,e){if("class"===e)return t.classes;if("style"===e)return t.styles;const n=t.attrs;if(n){const r=n.length;let o=0;for(;o<r;){const i=n[o];if(Sp(i))break;if(0===i)o+=2;else if("number"==typeof i)for(o++;o<r&&"string"==typeof n[o];)o++;else{if(i===e)return n[o+1];o+=2}}}return null}(xe(),t)}const to="__parameters__";function mr(t,e,n){return Gn(()=>{const r=function(t){return function(...n){if(t){const r=t(...n);for(const o in r)this[o]=r[o]}}}(e);function o(...i){if(this instanceof o)return r.apply(this,i),this;const s=new o(...i);return a.annotation=s,a;function a(l,u,c){const d=l.hasOwnProperty(to)?l[to]:Object.defineProperty(l,to,{value:[]})[to];for(;d.length<=c;)d.push(null);return(d[c]=d[c]||[]).push(s),l}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=t,o.annotationCls=o,o})}class G{constructor(e,n){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=O({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}toString(){return`InjectionToken ${this._desc}`}}const u0=new G("AnalyzeForEntryComponents"),ua=Function;function St(t,e){void 0===e&&(e=t);for(let n=0;n<t.length;n++){let r=t[n];Array.isArray(r)?(e===t&&(e=t.slice(0,n)),St(r,e)):e!==t&&e.push(r)}return e}function ln(t,e){t.forEach(n=>Array.isArray(n)?ln(n,e):e(n))}function da(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function yr(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function _t(t,e,n){let r=ro(t,e);return r>=0?t[1|r]=n:(r=~r,function(t,e,n,r){let o=t.length;if(o==e)t.push(n,r);else if(1===o)t.push(r,t[0]),t[0]=n;else{for(o--,t.push(t[o-1],t[o]);o>e;)t[o]=t[o-2],o--;t[e]=n,t[e+1]=r}}(t,r,e,n)),r}function Bu(t,e){const n=ro(t,e);if(n>=0)return t[1|n]}function ro(t,e){return function(t,e,n){let r=0,o=t.length>>n;for(;o!==r;){const i=r+(o-r>>1),s=t[i<<n];if(e===s)return i<<n;s>e?o=i:r=i+1}return~(o<<n)}(t,e,1)}const Ci={},$u="__NG_DI_FLAG__",oo="ngTempTokenPath",C0=/\n/gm,Gu="__source",Wu=ee({provide:String,useValue:ee});let vi;function io(t){const e=vi;return vi=t,e}function D0(t,e=R.Default){if(void 0===vi)throw new Error("inject() must be called from an injection context");return null===vi?tp(t,void 0,e):vi.get(t,e&R.Optional?null:void 0,e)}function b(t,e=R.Default){return(gu||D0)(T(t),e)}function _r(t){const e=[];for(let n=0;n<t.length;n++){const r=T(t[n]);if(Array.isArray(r)){if(0===r.length)throw new Error("Arguments array must have arguments.");let o,i=R.Default;for(let s=0;s<r.length;s++){const a=r[s],l=E0(a);"number"==typeof l?-1===l?o=a.token:i|=l:o=a}e.push(b(o,i))}else e.push(b(r))}return e}function Di(t,e){return t[$u]=e,t.prototype[$u]=e,t}function E0(t){return t[$u]}function Gp(t,e,n,r){const o=t[oo];throw e[Gu]&&o.unshift(e[Gu]),t.message=function(t,e,n,r=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.substr(2):t;let o=$(e);if(Array.isArray(e))o=e.map($).join(" -> ");else if("object"==typeof e){let i=[];for(let s in e)if(e.hasOwnProperty(s)){let a=e[s];i.push(s+":"+("string"==typeof a?JSON.stringify(a):$(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${t.replace(C0,"\n ")}`}("\n"+t.message,o,n,r),t.ngTokenPath=o,t[oo]=null,t}const so=Di(mr("Inject",t=>({token:t})),-1),ct=Di(mr("Optional"),8),Jn=Di(mr("SkipSelf"),4);var Ct=(()=>((Ct=Ct||{})[Ct.Important=1]="Important",Ct[Ct.DashCase=2]="DashCase",Ct))();const Jp="__ngContext__";function Qe(t,e){t[Jp]=e}function Qu(t){const e=function(t){return t[Jp]||null}(t);return e?Array.isArray(e)?e:e.lView:null}function Ju(t,e){return undefined(t,e)}function wi(t){const e=t[3];return Bt(e)?e[3]:e}function Yu(t){return rg(t[13])}function Zu(t){return rg(t[4])}function rg(t){for(;null!==t&&!Bt(t);)t=t[4];return t}function lo(t,e,n,r,o){if(null!=r){let i,s=!1;Bt(r)?i=r:on(r)&&(s=!0,r=r[0]);const a=be(r);0===t&&null!==n?null==o?ug(e,n,a):Cr(e,n,a,o||null,!0):1===t&&null!==n?Cr(e,n,a,o||null,!0):2===t?function(t,e,n){const r=ma(t,e);r&&function(t,e,n,r){ve(t)?t.removeChild(e,n,r):e.removeChild(n)}(t,r,e,n)}(e,a,s):3===t&&e.destroyNode(a),null!=i&&function(t,e,n,r,o){const i=n[7];i!==be(n)&&lo(e,t,r,i,o);for(let a=10;a<n.length;a++){const l=n[a];Mi(l[1],l,t,e,r,i)}}(e,t,i,n,o)}}function ec(t,e,n){return ve(t)?t.createElement(e,n):null===n?t.createElement(e):t.createElementNS(n,e)}function ig(t,e){const n=t[9],r=n.indexOf(e),o=e[3];1024&e[2]&&(e[2]&=-1025,Au(o,-1)),n.splice(r,1)}function tc(t,e){if(t.length<=10)return;const n=10+e,r=t[n];if(r){const o=r[17];null!==o&&o!==t&&ig(o,r),e>0&&(t[n-1][4]=r[4]);const i=yr(t,10+e);!function(t,e){Mi(t,e,e[B],2,null,null),e[0]=null,e[6]=null}(r[1],r);const s=i[19];null!==s&&s.detachView(i[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}function sg(t,e){if(!(256&e[2])){const n=e[B];ve(n)&&n.destroyNode&&Mi(t,e,n,3,null,null),function(t){let e=t[13];if(!e)return nc(t[1],t);for(;e;){let n=null;if(on(e))n=e[13];else{const r=e[10];r&&(n=r)}if(!n){for(;e&&!e[4]&&e!==t;)on(e)&&nc(e[1],e),e=e[3];null===e&&(e=t),on(e)&&nc(e[1],e),n=e&&e[4]}e=n}}(e)}}function nc(t,e){if(!(256&e[2])){e[2]&=-129,e[2]|=256,function(t,e){let n;if(null!=t&&null!=(n=t.destroyHooks))for(let r=0;r<n.length;r+=2){const o=e[n[r]];if(!(o instanceof di)){const i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){const a=o[i[s]],l=i[s+1];try{l.call(a)}finally{}}else try{i.call(o)}finally{}}}}(t,e),function(t,e){const n=t.cleanup,r=e[7];let o=-1;if(null!==n)for(let i=0;i<n.length-1;i+=2)if("string"==typeof n[i]){const s=n[i+1],a="function"==typeof s?s(e):be(e[s]),l=r[o=n[i+2]],u=n[i+3];"boolean"==typeof u?a.removeEventListener(n[i],l,u):u>=0?r[o=u]():r[o=-u].unsubscribe(),i+=2}else{const s=r[o=n[i+1]];n[i].call(s)}if(null!==r){for(let i=o+1;i<r.length;i++)r[i]();e[7]=null}}(t,e),1===e[1].type&&ve(e[B])&&e[B].destroy();const n=e[17];if(null!==n&&Bt(e[3])){n!==e[3]&&ig(n,e);const r=e[19];null!==r&&r.detachView(t)}}}function ag(t,e,n){return function(t,e,n){let r=e;for(;null!==r&&40&r.type;)r=(e=r).parent;if(null===r)return n[0];if(2&r.flags){const o=t.data[r.directiveStart].encapsulation;if(o===Re.None||o===Re.Emulated)return null}return mt(r,n)}(t,e.parent,n)}function Cr(t,e,n,r,o){ve(t)?t.insertBefore(e,n,r,o):e.insertBefore(n,r,o)}function ug(t,e,n){ve(t)?t.appendChild(e,n):e.appendChild(n)}function cg(t,e,n,r,o){null!==r?Cr(t,e,n,r,o):ug(t,e,n)}function ma(t,e){return ve(t)?t.parentNode(e):e.parentNode}let hg=function(t,e,n){return 40&t.type?mt(t,n):null};function ya(t,e,n,r){const o=ag(t,r,e),i=e[B],a=function(t,e,n){return hg(t,e,n)}(r.parent||e[6],r,e);if(null!=o)if(Array.isArray(n))for(let l=0;l<n.length;l++)cg(i,o,n[l],a,!1);else cg(i,o,n,a,!1)}function _a(t,e){if(null!==e){const n=e.type;if(3&n)return mt(e,t);if(4&n)return oc(-1,t[e.index]);if(8&n){const r=e.child;if(null!==r)return _a(t,r);{const o=t[e.index];return Bt(o)?oc(-1,o):be(o)}}if(32&n)return Ju(e,t)()||be(t[e.index]);{const r=gg(t,e);return null!==r?Array.isArray(r)?r[0]:_a(wi(t[16]),r):_a(t,e.next)}}return null}function gg(t,e){return null!==e?t[16][6].projection[e.projection]:null}function oc(t,e){const n=10+t+1;if(n<e.length){const r=e[n],o=r[1].firstChild;if(null!==o)return _a(r,o)}return e[7]}function sc(t,e,n,r,o,i,s){for(;null!=n;){const a=r[n.index],l=n.type;if(s&&0===e&&(a&&Qe(be(a),r),n.flags|=4),64!=(64&n.flags))if(8&l)sc(t,e,n.child,r,o,i,!1),lo(e,t,o,a,i);else if(32&l){const u=Ju(n,r);let c;for(;c=u();)lo(e,t,o,c,i);lo(e,t,o,a,i)}else 16&l?mg(t,e,r,n,o,i):lo(e,t,o,a,i);n=s?n.projectionNext:n.next}}function Mi(t,e,n,r,o,i){sc(n,r,t.firstChild,e,o,i,!1)}function mg(t,e,n,r,o,i){const s=n[16],l=s[6].projection[r.projection];if(Array.isArray(l))for(let u=0;u<l.length;u++)lo(e,t,o,l[u],i);else sc(t,e,l,s[3],o,i,!0)}function yg(t,e,n){ve(t)?t.setAttribute(e,"style",n):e.style.cssText=n}function ac(t,e,n){ve(t)?""===n?t.removeAttribute(e,"class"):t.setAttribute(e,"class",n):e.className=n}class Dr{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}function vt(t){return t instanceof Dr?t.changingThisBreaksApplicationSecurity:t}function un(t,e){const n=function(t){return t instanceof Dr&&t.getTypeName()||null}(t);if(null!=n&&n!==e){if("ResourceURL"===n&&"URL"===e)return!0;throw new Error(`Required a safe ${e}, got a ${n} (see https://g.co/ng/security#xss)`)}return n===e}const _M=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,CM=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;var se=(()=>((se=se||{})[se.NONE=0]="NONE",se[se.HTML=1]="HTML",se[se.STYLE=2]="STYLE",se[se.SCRIPT=3]="SCRIPT",se[se.URL=4]="URL",se[se.RESOURCE_URL=5]="RESOURCE_URL",se))();function pc(t){const e=function(){const t=E();return t&&t[12]}();return e?e.sanitize(se.URL,t)||"":un(t,"URL")?vt(t):function(t){return(t=String(t)).match(_M)||t.match(CM)?t:"unsafe:"+t}(j(t))}function Ea(t){return t.ngOriginalError}function PM(t,...e){t.error(...e)}class Er{constructor(){this._console=console}handleError(e){const n=this._findOriginalError(e),r=this._findContext(e),o=function(t){return t&&t.ngErrorLogger||PM}(e);o(this._console,"ERROR",e),n&&o(this._console,"ORIGINAL ERROR",n),r&&o(this._console,"ERROR CONTEXT",r)}_findContext(e){return e?function(t){return t.ngDebugContext}(e)||this._findContext(Ea(e)):null}_findOriginalError(e){let n=e&&Ea(e);for(;n&&Ea(n);)n=Ea(n);return n||null}}const kg=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(te))();function dn(t){return t instanceof Function?t():t}function Lg(t,e,n){let r=t.length;for(;;){const o=t.indexOf(e,n);if(-1===o)return o;if(0===o||t.charCodeAt(o-1)<=32){const i=e.length;if(o+i===r||t.charCodeAt(o+i)<=32)return o}n=o+1}}const jg="ng-template";function $M(t,e,n){let r=0;for(;r<t.length;){let o=t[r++];if(n&&"class"===o){if(o=t[r],-1!==Lg(o.toLowerCase(),e,0))return!0}else if(1===o){for(;r<t.length&&"string"==typeof(o=t[r++]);)if(o.toLowerCase()===e)return!0;return!1}}return!1}function Ug(t){return 4===t.type&&t.value!==jg}function GM(t,e,n){return e===(4!==t.type||n?t.value:jg)}function WM(t,e,n){let r=4;const o=t.attrs||[],i=function(t){for(let e=0;e<t.length;e++)if(Sp(t[e]))return e;return t.length}(o);let s=!1;for(let a=0;a<e.length;a++){const l=e[a];if("number"!=typeof l){if(!s)if(4&r){if(r=2|1&r,""!==l&&!GM(t,l,n)||""===l&&1===e.length){if($t(r))return!1;s=!0}}else{const u=8&r?l:e[++a];if(8&r&&null!==t.attrs){if(!$M(t.attrs,u,n)){if($t(r))return!1;s=!0}continue}const d=qM(8&r?"class":l,o,Ug(t),n);if(-1===d){if($t(r))return!1;s=!0;continue}if(""!==u){let f;f=d>i?"":o[d+1].toLowerCase();const h=8&r?f:null;if(h&&-1!==Lg(h,u,0)||2&r&&u!==f){if($t(r))return!1;s=!0}}}}else{if(!s&&!$t(r)&&!$t(l))return!1;if(s&&$t(l))continue;s=!1,r=l|1&r}}return $t(r)||s}function $t(t){return 0==(1&t)}function qM(t,e,n,r){if(null===e)return-1;let o=0;if(r||!n){let i=!1;for(;o<e.length;){const s=e[o];if(s===t)return o;if(3===s||6===s)i=!0;else{if(1===s||2===s){let a=e[++o];for(;"string"==typeof a;)a=e[++o];continue}if(4===s)break;if(0===s){o+=4;continue}}o+=i?1:2}return-1}return function(t,e){let n=t.indexOf(4);if(n>-1)for(n++;n<t.length;){const r=t[n];if("number"==typeof r)return-1;if(r===e)return n;n++}return-1}(e,t)}function Bg(t,e,n=!1){for(let r=0;r<e.length;r++)if(WM(t,e[r],n))return!0;return!1}function Hg(t,e){return t?":not("+e.trim()+")":e}function YM(t){let e=t[0],n=1,r=2,o="",i=!1;for(;n<t.length;){let s=t[n];if("string"==typeof s)if(2&r){const a=t[++n];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else 8&r?o+="."+s:4&r&&(o+=" "+s);else""!==o&&!$t(s)&&(e+=Hg(i,o),o=""),r=s,i=i||!$t(r);n++}return""!==o&&(e+=Hg(i,o)),e}const V={};function Z(t){$g(Y(),E(),rt()+t,Js())}function $g(t,e,n,r){if(!r)if(3==(3&e[2])){const i=t.preOrderCheckHooks;null!==i&&ta(e,i,n)}else{const i=t.preOrderHooks;null!==i&&na(e,i,0,n)}zn(n)}function ba(t,e){return t<<17|e<<2}function Gt(t){return t>>17&32767}function mc(t){return 2|t}function Sn(t){return(131068&t)>>2}function yc(t,e){return-131069&t|e<<2}function _c(t){return 1|t}function Xg(t,e){const n=t.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const o=n[r],i=n[r+1];if(-1!==i){const s=t.data[i];Nu(o),s.contentQueries(2,e[i],i)}}}function Ti(t,e,n,r,o,i,s,a,l,u){const c=e.blueprint.slice();return c[0]=o,c[2]=140|r,mp(c),c[3]=c[15]=t,c[8]=n,c[10]=s||t&&t[10],c[B]=a||t&&t[B],c[12]=l||t&&t[12]||null,c[9]=u||t&&t[9]||null,c[6]=i,c[16]=2==e.type?t[16]:c,c}function co(t,e,n,r,o){let i=t.data[e];if(null===i)i=function(t,e,n,r,o){const i=_p(),s=Su(),l=t.data[e]=function(t,e,n,r,o,i){return{type:n,index:r,insertBeforeIndex:null,injectorIndex:e?e.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next: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}}(0,s?i:i&&i.parent,n,e,r,o);return null===t.firstChild&&(t.firstChild=l),null!==i&&(s?null==i.child&&null!==l.parent&&(i.child=l):null===i.next&&(i.next=l)),l}(t,e,n,r,o),P.lFrame.inI18n&&(i.flags|=64);else if(64&i.type){i.type=n,i.value=r,i.attrs=o;const s=function(){const t=P.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}();i.injectorIndex=null===s?-1:s.injectorIndex}return sn(i,!0),i}function fo(t,e,n,r){if(0===n)return-1;const o=e.length;for(let i=0;i<n;i++)e.push(r),t.blueprint.push(r),t.data.push(null);return o}function Ri(t,e,n){Zs(e);try{const r=t.viewQuery;null!==r&&Oc(1,r,n);const o=t.template;null!==o&&em(t,e,o,1,n),t.firstCreatePass&&(t.firstCreatePass=!1),t.staticContentQueries&&Xg(t,e),t.staticViewQueries&&Oc(2,t.viewQuery,n);const i=t.components;null!==i&&function(t,e){for(let n=0;n<e.length;n++)RI(t,e[n])}(e,i)}catch(r){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),r}finally{e[2]&=-5,Xs()}}function ho(t,e,n,r){const o=e[2];if(256==(256&o))return;Zs(e);const i=Js();try{mp(e),function(t){P.lFrame.bindingIndex=t}(t.bindingStartIndex),null!==n&&em(t,e,n,2,r);const s=3==(3&o);if(!i)if(s){const u=t.preOrderCheckHooks;null!==u&&ta(e,u,null)}else{const u=t.preOrderHooks;null!==u&&na(e,u,0,null),Fu(e,0)}if(function(t){for(let e=Yu(t);null!==e;e=Zu(e)){if(!e[2])continue;const n=e[9];for(let r=0;r<n.length;r++){const o=n[r],i=o[3];0==(1024&o[2])&&Au(i,1),o[2]|=1024}}}(e),function(t){for(let e=Yu(t);null!==e;e=Zu(e))for(let n=10;n<e.length;n++){const r=e[n],o=r[1];Iu(r)&&ho(o,r,o.template,r[8])}}(e),null!==t.contentQueries&&Xg(t,e),!i)if(s){const u=t.contentCheckHooks;null!==u&&ta(e,u)}else{const u=t.contentHooks;null!==u&&na(e,u,1),Fu(e,1)}!function(t,e){const n=t.hostBindingOpCodes;if(null!==n)try{for(let r=0;r<n.length;r++){const o=n[r];if(o<0)zn(~o);else{const i=o,s=n[++r],a=n[++r];Lw(s,i),a(2,e[i])}}}finally{zn(-1)}}(t,e);const a=t.components;null!==a&&function(t,e){for(let n=0;n<e.length;n++)TI(t,e[n])}(e,a);const l=t.viewQuery;if(null!==l&&Oc(2,l,r),!i)if(s){const u=t.viewCheckHooks;null!==u&&ta(e,u)}else{const u=t.viewHooks;null!==u&&na(e,u,2),Fu(e,2)}!0===t.firstUpdatePass&&(t.firstUpdatePass=!1),i||(e[2]&=-73),1024&e[2]&&(e[2]&=-1025,Au(e[3],-1))}finally{Xs()}}function cI(t,e,n,r){const o=e[10],i=!Js(),s=gp(e);try{i&&!s&&o.begin&&o.begin(),s&&Ri(t,e,r),ho(t,e,n,r)}finally{i&&!s&&o.end&&o.end()}}function em(t,e,n,r,o){const i=rt(),s=2&r;try{zn(-1),s&&e.length>20&&$g(t,e,20,Js()),n(r,o)}finally{zn(i)}}function Ic(t,e,n){!yp()||(function(t,e,n,r){const o=n.directiveStart,i=n.directiveEnd;t.firstCreatePass||hi(n,e),Qe(r,e);const s=n.initialInputs;for(let a=o;a<i;a++){const l=t.data[a],u=Ht(l);u&&wI(e,n,l);const c=pi(e,t,a,n);Qe(c,e),null!==s&&MI(0,a-o,c,l,0,s),u&&(yt(n.index,e)[8]=c)}}(t,e,n,mt(n,e)),128==(128&n.flags)&&function(t,e,n){const r=n.directiveStart,o=n.directiveEnd,s=n.index,a=P.lFrame.currentDirectiveIndex;try{zn(s);for(let l=r;l<o;l++){const u=t.data[l],c=e[l];Ru(l),(null!==u.hostBindings||0!==u.hostVars||null!==u.hostAttrs)&&um(u,c)}}finally{zn(-1),Ru(a)}}(t,e,n))}function Ac(t,e,n=mt){const r=e.localNames;if(null!==r){let o=e.index+1;for(let i=0;i<r.length;i+=2){const s=r[i+1],a=-1===s?n(e,t):t[s];t[o++]=a}}}function nm(t){const e=t.tView;return null===e||e.incompleteFirstPass?t.tView=Ia(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts):e}function Ia(t,e,n,r,o,i,s,a,l,u){const c=20+r,d=c+o,f=function(t,e){const n=[];for(let r=0;r<e;r++)n.push(r<t?null:V);return n}(c,d),h="function"==typeof u?u():u;return f[1]={type:t,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:e,data:f.slice().fill(null,c),bindingStartIndex:c,expandoStartIndex:d,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof i?i():i,pipeRegistry:"function"==typeof s?s():s,firstChild:null,schemas:l,consts:h,incompleteFirstPass:!1}}function im(t,e,n,r){const o=gm(e);null===n?o.push(r):(o.push(n),t.firstCreatePass&&mm(t).push(r,o.length-1))}function sm(t,e,n){for(let r in t)if(t.hasOwnProperty(r)){const o=t[r];(n=null===n?{}:n).hasOwnProperty(r)?n[r].push(e,o):n[r]=[e,o]}return n}function Dt(t,e,n,r,o,i,s,a){const l=mt(e,n);let c,u=e.inputs;!a&&null!=u&&(c=u[r])?(Cm(t,n,c,r,o),zs(e)&&function(t,e){const n=yt(e,t);16&n[2]||(n[2]|=64)}(n,e.index)):3&e.type&&(r=function(t){return"class"===t?"className":"for"===t?"htmlFor":"formaction"===t?"formAction":"innerHtml"===t?"innerHTML":"readonly"===t?"readOnly":"tabindex"===t?"tabIndex":t}(r),o=null!=s?s(o,e.value||"",r):o,ve(i)?i.setProperty(l,r,o):Pu(r)||(l.setProperty?l.setProperty(r,o):l[r]=o))}function Sc(t,e,n,r){let o=!1;if(yp()){const i=function(t,e,n){const r=t.directiveRegistry;let o=null;if(r)for(let i=0;i<r.length;i++){const s=r[i];Bg(n,s.selectors,!1)&&(o||(o=[]),aa(hi(n,e),t,s.type),Ht(s)?(cm(t,n),o.unshift(s)):o.push(s))}return o}(t,e,n),s=null===r?null:{"":-1};if(null!==i){o=!0,dm(n,t.data.length,i.length);for(let c=0;c<i.length;c++){const d=i[c];d.providersResolver&&d.providersResolver(d)}let a=!1,l=!1,u=fo(t,e,i.length,null);for(let c=0;c<i.length;c++){const d=i[c];n.mergedAttrs=oa(n.mergedAttrs,d.hostAttrs),fm(t,n,e,u,d),bI(u,d,s),null!==d.contentQueries&&(n.flags|=8),(null!==d.hostBindings||null!==d.hostAttrs||0!==d.hostVars)&&(n.flags|=128);const f=d.type.prototype;!a&&(f.ngOnChanges||f.ngOnInit||f.ngDoCheck)&&((t.preOrderHooks||(t.preOrderHooks=[])).push(n.index),a=!0),!l&&(f.ngOnChanges||f.ngDoCheck)&&((t.preOrderCheckHooks||(t.preOrderCheckHooks=[])).push(n.index),l=!0),u++}!function(t,e){const r=e.directiveEnd,o=t.data,i=e.attrs,s=[];let a=null,l=null;for(let u=e.directiveStart;u<r;u++){const c=o[u],d=c.inputs,f=null===i||Ug(e)?null:II(d,i);s.push(f),a=sm(d,u,a),l=sm(c.outputs,u,l)}null!==a&&(a.hasOwnProperty("class")&&(e.flags|=16),a.hasOwnProperty("style")&&(e.flags|=32)),e.initialInputs=s,e.inputs=a,e.outputs=l}(t,n)}s&&function(t,e,n){if(e){const r=t.localNames=[];for(let o=0;o<e.length;o+=2){const i=n[e[o+1]];if(null==i)throw new Hn("301",`Export of name '${e[o+1]}' not found!`);r.push(e[o],i)}}}(n,r,s)}return n.mergedAttrs=oa(n.mergedAttrs,n.attrs),o}function lm(t,e,n,r,o,i){const s=i.hostBindings;if(s){let a=t.hostBindingOpCodes;null===a&&(a=t.hostBindingOpCodes=[]);const l=~e.index;(function(t){let e=t.length;for(;e>0;){const n=t[--e];if("number"==typeof n&&n<0)return n}return 0})(a)!=l&&a.push(l),a.push(r,o,s)}}function um(t,e){null!==t.hostBindings&&t.hostBindings(1,e)}function cm(t,e){e.flags|=2,(t.components||(t.components=[])).push(e.index)}function bI(t,e,n){if(n){if(e.exportAs)for(let r=0;r<e.exportAs.length;r++)n[e.exportAs[r]]=t;Ht(e)&&(n[""]=t)}}function dm(t,e,n){t.flags|=1,t.directiveStart=e,t.directiveEnd=e+n,t.providerIndexes=e}function fm(t,e,n,r,o){t.data[r]=o;const i=o.factory||(o.factory=gr(o.type)),s=new di(i,Ht(o),null);t.blueprint[r]=s,n[r]=s,lm(t,e,0,r,fo(t,n,o.hostVars,V),o)}function wI(t,e,n){const r=mt(e,t),o=nm(n),i=t[10],s=Aa(t,Ti(t,o,null,n.onPush?64:16,r,e,i,i.createRenderer(r,n),null,null));t[e.index]=s}function fn(t,e,n,r,o,i){const s=mt(t,e);!function(t,e,n,r,o,i,s){if(null==i)ve(t)?t.removeAttribute(e,o,n):e.removeAttribute(o);else{const a=null==s?j(i):s(i,r||"",o);ve(t)?t.setAttribute(e,o,a,n):n?e.setAttributeNS(n,o,a):e.setAttribute(o,a)}}(e[B],s,i,t.value,n,r,o)}function MI(t,e,n,r,o,i){const s=i[e];if(null!==s){const a=r.setInput;for(let l=0;l<s.length;){const u=s[l++],c=s[l++],d=s[l++];null!==a?r.setInput(n,d,u,c):n[c]=d}}}function II(t,e){let n=null,r=0;for(;r<e.length;){const o=e[r];if(0!==o)if(5!==o){if("number"==typeof o)break;t.hasOwnProperty(o)&&(null===n&&(n=[]),n.push(o,t[o],e[r+1])),r+=2}else r+=2;else r+=4}return n}function hm(t,e,n,r){return new Array(t,!0,!1,e,null,0,r,n,null,null)}function TI(t,e){const n=yt(e,t);if(Iu(n)){const r=n[1];80&n[2]?ho(r,n,r.template,n[8]):n[5]>0&&Rc(n)}}function Rc(t){for(let r=Yu(t);null!==r;r=Zu(r))for(let o=10;o<r.length;o++){const i=r[o];if(1024&i[2]){const s=i[1];ho(s,i,s.template,i[8])}else i[5]>0&&Rc(i)}const n=t[1].components;if(null!==n)for(let r=0;r<n.length;r++){const o=yt(n[r],t);Iu(o)&&o[5]>0&&Rc(o)}}function RI(t,e){const n=yt(e,t),r=n[1];(function(t,e){for(let n=e.length;n<t.blueprint.length;n++)e.push(t.blueprint[n])})(r,n),Ri(r,n,n[8])}function Aa(t,e){return t[13]?t[14][4]=e:t[13]=e,t[14]=e,e}function xc(t){for(;t;){t[2]|=64;const e=wi(t);if(Cw(t)&&!e)return t;t=e}return null}function Fc(t,e,n){const r=e[10];r.begin&&r.begin();try{ho(t,e,t.template,n)}catch(o){throw _m(e,o),o}finally{r.end&&r.end()}}function pm(t){!function(t){for(let e=0;e<t.components.length;e++){const n=t.components[e],r=Qu(n),o=r[1];cI(o,r,o.template,n)}}(t[8])}function Oc(t,e,n){Nu(0),e(t,n)}const PI=(()=>Promise.resolve(null))();function gm(t){return t[7]||(t[7]=[])}function mm(t){return t.cleanup||(t.cleanup=[])}function _m(t,e){const n=t[9],r=n?n.get(Er,null):null;r&&r.handleError(e)}function Cm(t,e,n,r,o){for(let i=0;i<n.length;){const s=n[i++],a=n[i++],l=e[s],u=t.data[s];null!==u.setInput?u.setInput(l,o,r,a):l[a]=o}}function Rn(t,e,n){const r=Ks(e,t);!function(t,e,n){ve(t)?t.setValue(e,n):e.textContent=n}(t[B],r,n)}function Sa(t,e,n){let r=n?t.styles:null,o=n?t.classes:null,i=0;if(null!==e)for(let s=0;s<e.length;s++){const a=e[s];"number"==typeof a?i=a:1==i?o=fu(o,a):2==i&&(r=fu(r,a+": "+e[++s]+";"))}n?t.styles=r:t.stylesWithoutHost=r,n?t.classes=o:t.classesWithoutHost=o}const po=new G("INJECTOR",-1);class vm{get(e,n=Ci){if(n===Ci){const r=new Error(`NullInjectorError: No provider for ${$(e)}!`);throw r.name="NullInjectorError",r}return n}}const xi=new G("Set Injector scope."),Ni={},LI={};let Pc;function Dm(){return void 0===Pc&&(Pc=new vm),Pc}function Em(t,e=null,n=null,r){return new UI(t,n,e||Dm(),r)}class UI{constructor(e,n,r,o=null){this.parent=r,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const i=[];n&&ln(n,a=>this.processProvider(a,e,n)),ln([e],a=>this.processInjectorType(a,[],i)),this.records.set(po,go(void 0,this));const s=this.records.get(xi);this.scope=null!=s?s.value:null,this.source=o||("object"==typeof e?null:$(e))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(e=>e.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(e,n=Ci,r=R.Default){this.assertNotDestroyed();const o=io(this),i=$n(void 0);try{if(!(r&R.SkipSelf)){let a=this.records.get(e);if(void 0===a){const l=function(t){return"function"==typeof t||"object"==typeof t&&t instanceof G}(e)&&Mn(e);a=l&&this.injectableDefInScope(l)?go(kc(e),Ni):null,this.records.set(e,a)}if(null!=a)return this.hydrate(e,a)}return(r&R.Self?Dm():this.parent).get(e,n=r&R.Optional&&n===Ci?null:n)}catch(s){if("NullInjectorError"===s.name){if((s[oo]=s[oo]||[]).unshift($(e)),o)throw s;return Gp(s,e,"R3InjectorError",this.source)}throw s}finally{$n(i),io(o)}}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(e=>this.get(e))}toString(){const e=[];return this.records.forEach((r,o)=>e.push($(o))),`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(e,n,r){if(!(e=T(e)))return!1;let o=Xh(e);const i=null==o&&e.ngModule||void 0,s=void 0===i?e:i,a=-1!==r.indexOf(s);if(void 0!==i&&(o=Xh(i)),null==o)return!1;if(null!=o.imports&&!a){let c;r.push(s);try{ln(o.imports,d=>{this.processInjectorType(d,n,r)&&(void 0===c&&(c=[]),c.push(d))})}finally{}if(void 0!==c)for(let d=0;d<c.length;d++){const{ngModule:f,providers:h}=c[d];ln(h,p=>this.processProvider(p,f,h||oe))}}this.injectorDefTypes.add(s);const l=gr(s)||(()=>new s);this.records.set(s,go(l,Ni));const u=o.providers;if(null!=u&&!a){const c=e;ln(u,d=>this.processProvider(d,c,u))}return void 0!==i&&void 0!==e.providers}processProvider(e,n,r){let o=mo(e=T(e))?e:T(e&&e.provide);const i=function(t,e,n){return wm(t)?go(void 0,t.useValue):go(bm(t),Ni)}(e);if(mo(e)||!0!==e.multi)this.records.get(o);else{let s=this.records.get(o);s||(s=go(void 0,Ni,!0),s.factory=()=>_r(s.multi),this.records.set(o,s)),o=e,s.multi.push(e)}this.records.set(o,i)}hydrate(e,n){return n.value===Ni&&(n.value=LI,n.value=n.factory()),"object"==typeof n.value&&n.value&&function(t){return null!==t&&"object"==typeof t&&"function"==typeof t.ngOnDestroy}(n.value)&&this.onDestroy.add(n.value),n.value}injectableDefInScope(e){if(!e.providedIn)return!1;const n=T(e.providedIn);return"string"==typeof n?"any"===n||n===this.scope:this.injectorDefTypes.has(n)}}function kc(t){const e=Mn(t),n=null!==e?e.factory:gr(t);if(null!==n)return n;if(t instanceof G)throw new Error(`Token ${$(t)} is missing a \u0275prov definition.`);if(t instanceof Function)return function(t){const e=t.length;if(e>0){const r=function(t,e){const n=[];for(let r=0;r<t;r++)n.push(e);return n}(e,"?");throw new Error(`Can't resolve all parameters for ${$(t)}: (${r.join(", ")}).`)}const n=function(t){const e=t&&(t[Hs]||t[ep]);if(e){const n=function(t){if(t.hasOwnProperty("name"))return t.name;const e=(""+t).match(/^function\s*([^\s(]+)/);return null===e?"":e[1]}(t);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),e}return null}(t);return null!==n?()=>n.factory(t):()=>new t}(t);throw new Error("unreachable")}function bm(t,e,n){let r;if(mo(t)){const o=T(t);return gr(o)||kc(o)}if(wm(t))r=()=>T(t.useValue);else if(function(t){return!(!t||!t.useFactory)}(t))r=()=>t.useFactory(..._r(t.deps||[]));else if(function(t){return!(!t||!t.useExisting)}(t))r=()=>b(T(t.useExisting));else{const o=T(t&&(t.useClass||t.provide));if(!function(t){return!!t.deps}(t))return gr(o)||kc(o);r=()=>new o(..._r(t.deps))}return r}function go(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function wm(t){return null!==t&&"object"==typeof t&&Wu in t}function mo(t){return"function"==typeof t}const Mm=function(t,e,n){return function(t,e=null,n=null,r){const o=Em(t,e,n,r);return o._resolveInjectorDefTypes(),o}({name:n},e,t,n)};let ne=(()=>{class t{static create(n,r){return Array.isArray(n)?Mm(n,r,""):Mm(n.providers,n.parent,n.name||"")}}return t.THROW_IF_NOT_FOUND=Ci,t.NULL=new vm,t.\u0275prov=O({token:t,providedIn:"any",factory:()=>b(po)}),t.__NG_ELEMENT_ID__=-1,t})();function aA(t,e){ea(Qu(t)[1],xe())}function de(t){let e=function(t){return Object.getPrototypeOf(t.prototype).constructor}(t.type),n=!0;const r=[t];for(;e;){let o;if(Ht(t))o=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new Error("Directives cannot inherit Components");o=e.\u0275dir}if(o){if(n){r.push(o);const s=t;s.inputs=Hc(t.inputs),s.declaredInputs=Hc(t.declaredInputs),s.outputs=Hc(t.outputs);const a=o.hostBindings;a&&dA(t,a);const l=o.viewQuery,u=o.contentQueries;if(l&&uA(t,l),u&&cA(t,u),du(t.inputs,o.inputs),du(t.declaredInputs,o.declaredInputs),du(t.outputs,o.outputs),Ht(o)&&o.data.animation){const c=t.data;c.animation=(c.animation||[]).concat(o.data.animation)}}const i=o.features;if(i)for(let s=0;s<i.length;s++){const a=i[s];a&&a.ngInherit&&a(t),a===de&&(n=!1)}}e=Object.getPrototypeOf(e)}!function(t){let e=0,n=null;for(let r=t.length-1;r>=0;r--){const o=t[r];o.hostVars=e+=o.hostVars,o.hostAttrs=oa(o.hostAttrs,n=oa(n,o.hostAttrs))}}(r)}function Hc(t){return t===$r?{}:t===oe?[]:t}function uA(t,e){const n=t.viewQuery;t.viewQuery=n?(r,o)=>{e(r,o),n(r,o)}:e}function cA(t,e){const n=t.contentQueries;t.contentQueries=n?(r,o,i)=>{e(r,o,i),n(r,o,i)}:e}function dA(t,e){const n=t.hostBindings;t.hostBindings=n?(r,o)=>{e(r,o),n(r,o)}:e}let Ta=null;function yo(){if(!Ta){const t=te.Symbol;if(t&&t.iterator)Ta=t.iterator;else{const e=Object.getOwnPropertyNames(Map.prototype);for(let n=0;n<e.length;++n){const r=e[n];"entries"!==r&&"size"!==r&&Map.prototype[r]===Map.prototype.entries&&(Ta=r)}}}return Ta}function Oi(t){return!!$c(t)&&(Array.isArray(t)||!(t instanceof Map)&&yo()in t)}function $c(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function Ke(t,e,n){return!Object.is(t[e],n)&&(t[e]=n,!0)}function pn(t,e,n,r){const o=E();return Ke(o,Jr(),e)&&(Y(),fn(ge(),o,t,e,n,r)),pn}function Co(t,e,n,r){return Ke(t,Jr(),n)?e+j(n)+r:V}function Gc(t,e,n,r,o,i,s,a){const l=E(),u=Y(),c=t+20,d=u.firstCreatePass?function(t,e,n,r,o,i,s,a,l){const u=e.consts,c=co(e,t,4,s||null,qn(u,a));Sc(e,n,c,qn(u,l)),ea(e,c);const d=c.tViews=Ia(2,c,r,o,i,e.directiveRegistry,e.pipeRegistry,null,e.schemas,u);return null!==e.queries&&(e.queries.template(e,c),d.queries=e.queries.embeddedTView(c)),c}(c,u,l,e,n,r,o,i,s):u.data[c];sn(d,!1);const f=l[B].createComment("");ya(u,l,f,d),Qe(f,l),Aa(l,l[c]=hm(f,l,f,d)),Qs(d)&&Ic(u,l,d),null!=s&&Ac(l,d,a)}function D(t,e=R.Default){const n=E();return null===n?b(t,e):Pp(xe(),n,T(t),e)}function we(t,e,n){const r=E();return Ke(r,Jr(),e)&&Dt(Y(),ge(),r,t,e,r[B],n,!1),we}function Kc(t,e,n,r,o){const s=o?"class":"style";Cm(t,n,e.inputs[s],s,r)}function _(t,e,n,r){const o=E(),i=Y(),s=20+t,a=o[B],l=o[s]=ec(a,e,P.lFrame.currentNamespace),u=i.firstCreatePass?function(t,e,n,r,o,i,s){const a=e.consts,u=co(e,t,2,o,qn(a,i));return Sc(e,n,u,qn(a,s)),null!==u.attrs&&Sa(u,u.attrs,!1),null!==u.mergedAttrs&&Sa(u,u.mergedAttrs,!0),null!==e.queries&&e.queries.elementStart(e,u),u}(s,i,o,0,e,n,r):i.data[s];sn(u,!0);const c=u.mergedAttrs;null!==c&&ra(a,l,c);const d=u.classes;null!==d&&ac(a,l,d);const f=u.styles;null!==f&&yg(a,l,f),64!=(64&u.flags)&&ya(i,o,l,u),0===P.lFrame.elementDepthCount&&Qe(l,o),P.lFrame.elementDepthCount++,Qs(u)&&(Ic(i,o,u),function(t,e,n){if(vu(e)){const o=e.directiveEnd;for(let i=e.directiveStart;i<o;i++){const s=t.data[i];s.contentQueries&&s.contentQueries(1,n[i],i)}}}(i,u,o)),null!==r&&Ac(o,u)}function C(){let t=xe();Su()?P.lFrame.isParent=!1:(t=t.parent,sn(t,!1));const e=t;P.lFrame.elementDepthCount--;const n=Y();n.firstCreatePass&&(ea(n,t),vu(t)&&n.queries.elementEnd(t)),null!=e.classesWithoutHost&&function(t){return 0!=(16&t.flags)}(e)&&Kc(n,e,E(),e.classesWithoutHost,!0),null!=e.stylesWithoutHost&&function(t){return 0!=(32&t.flags)}(e)&&Kc(n,e,E(),e.stylesWithoutHost,!1)}function ki(t,e,n,r){_(t,e,n,r),C()}function Jc(){return E()}function Vi(t){return!!t&&"function"==typeof t.then}const Na=function(t){return!!t&&"function"==typeof t.subscribe};function z(t,e,n,r){const o=E(),i=Y(),s=xe();return function(t,e,n,r,o,i,s,a){const l=Qs(r),c=t.firstCreatePass&&mm(t),d=e[8],f=gm(e);let h=!0;if(3&r.type||a){const g=mt(r,e),v=a?a(g):g,y=f.length,M=a?S=>a(be(S[r.index])):r.index;if(ve(n)){let S=null;if(!a&&l&&(S=function(t,e,n,r){const o=t.cleanup;if(null!=o)for(let i=0;i<o.length-1;i+=2){const s=o[i];if(s===n&&o[i+1]===r){const a=e[7],l=o[i+2];return a.length>l?a[l]:null}"string"==typeof s&&(i+=2)}return null}(t,e,o,r.index)),null!==S)(S.__ngLastListenerFn__||S).__ngNextListenerFn__=i,S.__ngLastListenerFn__=i,h=!1;else{i=Yc(r,e,d,i,!1);const W=n.listen(v,o,i);f.push(i,W),c&&c.push(o,M,y,y+1)}}else i=Yc(r,e,d,i,!0),v.addEventListener(o,i,s),f.push(i),c&&c.push(o,M,y,s)}else i=Yc(r,e,d,i,!1);const p=r.outputs;let m;if(h&&null!==p&&(m=p[o])){const g=m.length;if(g)for(let v=0;v<g;v+=2){const ke=e[m[v]][m[v+1]].subscribe(i),Vt=f.length;f.push(i,ke),c&&c.push(o,r.index,Vt,-(Vt+1))}}}(i,o,o[B],s,t,e,!!n,r),z}function py(t,e,n,r){try{return!1!==n(r)}catch(o){return _m(t,o),!1}}function Yc(t,e,n,r,o){return function i(s){if(s===Function)return r;const a=2&t.flags?yt(t.index,e):e;0==(32&e[2])&&xc(a);let l=py(e,0,r,s),u=i.__ngNextListenerFn__;for(;u;)l=py(e,0,u,s)&&l,u=u.__ngNextListenerFn__;return o&&!1===l&&(s.preventDefault(),s.returnValue=!1),l}}function So(t=1){return function(t){return(P.lFrame.contextLView=function(t,e){for(;t>0;)e=e[15],t--;return e}(t,P.lFrame.contextLView))[8]}(t)}function Zc(t,e,n){return Xc(t,"",e,"",n),Zc}function Xc(t,e,n,r,o){const i=E(),s=Co(i,e,n,r);return s!==V&&Dt(Y(),ge(),i,t,s,i[B],o,!1),Xc}function by(t,e,n,r,o){const i=t[n+1],s=null===e;let a=r?Gt(i):Sn(i),l=!1;for(;0!==a&&(!1===l||s);){const c=t[a+1];ZA(t[a],e)&&(l=!0,t[a+1]=r?_c(c):mc(c)),a=r?Gt(c):Sn(c)}l&&(t[n+1]=r?mc(i):_c(i))}function ZA(t,e){return null===t||null==e||(Array.isArray(t)?t[1]:t)===e||!(!Array.isArray(t)||"string"!=typeof e)&&ro(t,e)>=0}function Fa(t,e){return function(t,e,n,r){const o=E(),i=Y(),s=function(t){const e=P.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}(2);i.firstUpdatePass&&function(t,e,n,r){const o=t.data;if(null===o[n+1]){const i=o[rt()],s=function(t,e){return e>=t.expandoStartIndex}(t,n);(function(t,e){return 0!=(t.flags&(e?16:32))})(i,r)&&null===e&&!s&&(e=!1),e=function(t,e,n,r){const o=function(t){const e=P.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}(t);let i=r?e.residualClasses:e.residualStyles;if(null===o)0===(r?e.classBindings:e.styleBindings)&&(n=Li(n=ed(null,t,e,n,r),e.attrs,r),i=null);else{const s=e.directiveStylingLast;if(-1===s||t[s]!==o)if(n=ed(o,t,e,n,r),null===i){let l=function(t,e,n){const r=n?e.classBindings:e.styleBindings;if(0!==Sn(r))return t[Gt(r)]}(t,e,r);void 0!==l&&Array.isArray(l)&&(l=ed(null,t,e,l[1],r),l=Li(l,e.attrs,r),function(t,e,n,r){t[Gt(n?e.classBindings:e.styleBindings)]=r}(t,e,r,l))}else i=function(t,e,n){let r;const o=e.directiveEnd;for(let i=1+e.directiveStylingLast;i<o;i++)r=Li(r,t[i].hostAttrs,n);return Li(r,e.attrs,n)}(t,e,r)}return void 0!==i&&(r?e.residualClasses=i:e.residualStyles=i),n}(o,i,e,r),function(t,e,n,r,o,i){let s=i?e.classBindings:e.styleBindings,a=Gt(s),l=Sn(s);t[r]=n;let c,u=!1;if(Array.isArray(n)){const d=n;c=d[1],(null===c||ro(d,c)>0)&&(u=!0)}else c=n;if(o)if(0!==l){const f=Gt(t[a+1]);t[r+1]=ba(f,a),0!==f&&(t[f+1]=yc(t[f+1],r)),t[a+1]=function(t,e){return 131071&t|e<<17}(t[a+1],r)}else t[r+1]=ba(a,0),0!==a&&(t[a+1]=yc(t[a+1],r)),a=r;else t[r+1]=ba(l,0),0===a?a=r:t[l+1]=yc(t[l+1],r),l=r;u&&(t[r+1]=mc(t[r+1])),by(t,c,r,!0),by(t,c,r,!1),function(t,e,n,r,o){const i=o?t.residualClasses:t.residualStyles;null!=i&&"string"==typeof e&&ro(i,e)>=0&&(n[r+1]=_c(n[r+1]))}(e,c,t,r,i),s=ba(a,l),i?e.classBindings=s:e.styleBindings=s}(o,i,e,n,s,r)}}(i,t,s,r),e!==V&&Ke(o,s,e)&&function(t,e,n,r,o,i,s,a){if(!(3&e.type))return;const l=t.data,u=l[a+1];Oa(function(t){return 1==(1&t)}(u)?Py(l,e,n,o,Sn(u),s):void 0)||(Oa(i)||function(t){return 2==(2&t)}(u)&&(i=Py(l,null,n,o,a,s)),function(t,e,n,r,o){const i=ve(t);if(e)o?i?t.addClass(n,r):n.classList.add(r):i?t.removeClass(n,r):n.classList.remove(r);else{let s=-1===r.indexOf("-")?void 0:Ct.DashCase;if(null==o)i?t.removeStyle(n,r,s):n.style.removeProperty(r);else{const a="string"==typeof o&&o.endsWith("!important");a&&(o=o.slice(0,-10),s|=Ct.Important),i?t.setStyle(n,r,o,s):n.style.setProperty(r,o,a?"important":"")}}}(r,s,Ks(rt(),n),o,i))}(i,i.data[rt()],o,o[B],t,o[s+1]=function(t,e){return null==t||("string"==typeof e?t+=e:"object"==typeof t&&(t=$(vt(t)))),t}(e,n),r,s)}(t,e,null,!0),Fa}function ed(t,e,n,r,o){let i=null;const s=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a<s&&(i=e[a],r=Li(r,i.hostAttrs,o),i!==t);)a++;return null!==t&&(n.directiveStylingLast=a),r}function Li(t,e,n){const r=n?1:2;let o=-1;if(null!==e)for(let i=0;i<e.length;i++){const s=e[i];"number"==typeof s?o=s:o===r&&(Array.isArray(t)||(t=void 0===t?[]:["",t]),_t(t,s,!!n||e[++i]))}return void 0===t?null:t}function Py(t,e,n,r,o,i){const s=null===e;let a;for(;o>0;){const l=t[o],u=Array.isArray(l),c=u?l[1]:l,d=null===c;let f=n[o+1];f===V&&(f=d?oe:void 0);let h=d?Bu(f,r):c===r?f:void 0;if(u&&!Oa(h)&&(h=Bu(l,r)),Oa(h)&&(a=h,s))return a;const p=t[o+1];o=s?Gt(p):Sn(p)}if(null!==e){let l=i?e.residualClasses:e.residualStyles;null!=l&&(a=Bu(l,r))}return a}function Oa(t){return void 0!==t}function A(t,e=""){const n=E(),r=Y(),o=t+20,i=r.firstCreatePass?co(r,o,1,e,null):r.data[o],s=n[o]=function(t,e){return ve(t)?t.createText(e):t.createTextNode(e)}(n[B],e);ya(r,n,s,i),sn(i,!1)}function ji(t){return xt("",t,""),ji}function xt(t,e,n){const r=E(),o=Co(r,t,e,n);return o!==V&&Rn(r,rt(),o),xt}function td(t,e,n){const r=E();return Ke(r,Jr(),e)&&Dt(Y(),ge(),r,t,e,r[B],n,!0),td}const wr=void 0;var FS=["en",[["a","p"],["AM","PM"],wr],[["AM","PM"],wr,wr],[["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"]],wr,[["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"]],wr,[["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}",wr,"{1} 'at' {0}",wr],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(t){const e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}];let Ro={};function n_(t){return t in Ro||(Ro[t]=te.ng&&te.ng.common&&te.ng.common.locales&&te.ng.common.locales[t]),Ro[t]}var I=(()=>((I=I||{})[I.LocaleId=0]="LocaleId",I[I.DayPeriodsFormat=1]="DayPeriodsFormat",I[I.DayPeriodsStandalone=2]="DayPeriodsStandalone",I[I.DaysFormat=3]="DaysFormat",I[I.DaysStandalone=4]="DaysStandalone",I[I.MonthsFormat=5]="MonthsFormat",I[I.MonthsStandalone=6]="MonthsStandalone",I[I.Eras=7]="Eras",I[I.FirstDayOfWeek=8]="FirstDayOfWeek",I[I.WeekendRange=9]="WeekendRange",I[I.DateFormat=10]="DateFormat",I[I.TimeFormat=11]="TimeFormat",I[I.DateTimeFormat=12]="DateTimeFormat",I[I.NumberSymbols=13]="NumberSymbols",I[I.NumberFormats=14]="NumberFormats",I[I.CurrencyCode=15]="CurrencyCode",I[I.CurrencySymbol=16]="CurrencySymbol",I[I.CurrencyName=17]="CurrencyName",I[I.Currencies=18]="Currencies",I[I.Directionality=19]="Directionality",I[I.PluralCase=20]="PluralCase",I[I.ExtraData=21]="ExtraData",I))();const Pa="en-US";let r_=Pa;function nd(t){ht(t,"Expected localeId to be defined"),"string"==typeof t&&(r_=t.toLowerCase().replace(/_/g,"-"))}function id(t,e,n,r,o){if(t=T(t),Array.isArray(t))for(let i=0;i<t.length;i++)id(t[i],e,n,r,o);else{const i=Y(),s=E();let a=mo(t)?t:T(t.provide),l=bm(t);const u=xe(),c=1048575&u.providerIndexes,d=u.directiveStart,f=u.providerIndexes>>20;if(mo(t)||!t.multi){const h=new di(l,o,D),p=ad(a,e,o?c:c+f,d);-1===p?(aa(hi(u,s),i,a),sd(i,t,e.length),e.push(a),u.directiveStart++,u.directiveEnd++,o&&(u.providerIndexes+=1048576),n.push(h),s.push(h)):(n[p]=h,s[p]=h)}else{const h=ad(a,e,c+f,d),p=ad(a,e,c,c+f),m=h>=0&&n[h],g=p>=0&&n[p];if(o&&!g||!o&&!m){aa(hi(u,s),i,a);const v=function(t,e,n,r,o){const i=new di(t,n,D);return i.multi=[],i.index=e,i.componentProviders=0,A_(i,o,r&&!n),i}(o?RT:TT,n.length,o,r,l);!o&&g&&(n[p].providerFactory=v),sd(i,t,e.length,0),e.push(a),u.directiveStart++,u.directiveEnd++,o&&(u.providerIndexes+=1048576),n.push(v),s.push(v)}else sd(i,t,h>-1?h:p,A_(n[o?p:h],l,!o&&r));!o&&r&&g&&n[p].componentProviders++}}}function sd(t,e,n,r){const o=mo(e);if(o||function(t){return!!t.useClass}(e)){const s=(e.useClass||e).prototype.ngOnDestroy;if(s){const a=t.destroyHooks||(t.destroyHooks=[]);if(!o&&e.multi){const l=a.indexOf(n);-1===l?a.push(n,[r,s]):a[l+1].push(r,s)}else a.push(n,s)}}}function A_(t,e,n){return n&&t.componentProviders++,t.multi.push(e)-1}function ad(t,e,n,r){for(let o=n;o<r;o++)if(e[o]===t)return o;return-1}function TT(t,e,n,r){return ld(this.multi,[])}function RT(t,e,n,r){const o=this.multi;let i;if(this.providerFactory){const s=this.providerFactory.componentProviders,a=pi(n,n[1],this.providerFactory.index,r);i=a.slice(0,s),ld(o,i);for(let l=s;l<a.length;l++)i.push(a[l])}else i=[],ld(o,i);return i}function ld(t,e){for(let n=0;n<t.length;n++)e.push((0,t[n])());return e}function he(t,e=[]){return n=>{n.providersResolver=(r,o)=>function(t,e,n){const r=Y();if(r.firstCreatePass){const o=Ht(t);id(n,r.data,r.blueprint,o,!0),id(e,r.data,r.blueprint,o,!1)}}(r,o?o(t):t,e)}}class S_{}const R_="ngComponent";class FT{resolveComponentFactory(e){throw function(t){const e=Error(`No component factory found for ${$(t)}. Did you add it to @NgModule.entryComponents?`);return e[R_]=t,e}(e)}}let Mr=(()=>{class t{}return t.NULL=new FT,t})();function Ua(...t){}function No(t,e){return new Le(mt(t,e))}const kT=function(){return No(xe(),E())};let Le=(()=>{class t{constructor(n){this.nativeElement=n}}return t.__NG_ELEMENT_ID__=kT,t})();function x_(t){return t instanceof Le?t.nativeElement:t}class Ba{}let Nn=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>LT(),t})();const LT=function(){const t=E(),n=yt(xe().index,t);return function(t){return t[B]}(on(n)?n:t)};let cd=(()=>{class t{}return t.\u0275prov=O({token:t,providedIn:"root",factory:()=>null}),t})();class Gi{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}const N_=new Gi("12.2.17");class F_{constructor(){}supports(e){return Oi(e)}create(e){return new HT(e)}}const BT=(t,e)=>e;class HT{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||BT}forEachItem(e){let n;for(n=this._itHead;null!==n;n=n._next)e(n)}forEachOperation(e){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){const s=!r||n&&n.currentIndex<P_(r,o,i)?n:r,a=P_(s,o,i),l=s.currentIndex;if(s===r)o--,r=r._nextRemoved;else if(n=n._next,null==s.previousIndex)o++;else{i||(i=[]);const u=a-o,c=l-o;if(u!=c){for(let f=0;f<u;f++){const h=f<i.length?i[f]:i[f]=0,p=h+f;c<=p&&p<u&&(i[f]=h+1)}i[s.previousIndex]=c-u}}a!==l&&e(s,a,l)}}forEachPreviousItem(e){let n;for(n=this._previousItHead;null!==n;n=n._nextPrevious)e(n)}forEachAddedItem(e){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)e(n)}forEachMovedItem(e){let n;for(n=this._movesHead;null!==n;n=n._nextMoved)e(n)}forEachRemovedItem(e){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)e(n)}forEachIdentityChange(e){let n;for(n=this._identityChangesHead;null!==n;n=n._nextIdentityChange)e(n)}diff(e){if(null==e&&(e=[]),!Oi(e))throw new Error(`Error trying to diff '${$(e)}'. Only arrays and iterables are allowed`);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let o,i,s,n=this._itHead,r=!1;if(Array.isArray(e)){this.length=e.length;for(let a=0;a<this.length;a++)i=e[a],s=this._trackByFn(a,i),null!==n&&Object.is(n.trackById,s)?(r&&(n=this._verifyReinsertion(n,i,s,a)),Object.is(n.item,i)||this._addIdentityChange(n,i)):(n=this._mismatch(n,i,s,a),r=!0),n=n._next}else o=0,function(t,e){if(Array.isArray(t))for(let n=0;n<t.length;n++)e(t[n]);else{const n=t[yo()]();let r;for(;!(r=n.next()).done;)e(r.value)}}(e,a=>{s=this._trackByFn(o,a),null!==n&&Object.is(n.trackById,s)?(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)):(n=this._mismatch(n,a,s,o),r=!0),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=e,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,n,r,o){let i;return null===e?i=this._itTail:(i=e._prev,this._remove(e)),null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(e.item,n)||this._addIdentityChange(e,n),this._reinsertAfter(e,i,o)):null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(r,o))?(Object.is(e.item,n)||this._addIdentityChange(e,n),this._moveAfter(e,i,o)):e=this._addAfter(new $T(n,r),i,o),e}_verifyReinsertion(e,n,r,o){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==i?e=this._reinsertAfter(i,e._prev,o):e.currentIndex!=o&&(e.currentIndex=o,this._addToMoves(e,o)),e}_truncate(e){for(;null!==e;){const n=e._next;this._addToRemovals(this._unlink(e)),e=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);const o=e._prevRemoved,i=e._nextRemoved;return null===o?this._removalsHead=i:o._nextRemoved=i,null===i?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(e,n,r),this._addToMoves(e,r),e}_moveAfter(e,n,r){return this._unlink(e),this._insertAfter(e,n,r),this._addToMoves(e,r),e}_addAfter(e,n,r){return this._insertAfter(e,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=e:this._additionsTail._nextAdded=e,e}_insertAfter(e,n,r){const o=null===n?this._itHead:n._next;return e._next=o,e._prev=n,null===o?this._itTail=e:o._prev=e,null===n?this._itHead=e:n._next=e,null===this._linkedRecords&&(this._linkedRecords=new O_),this._linkedRecords.put(e),e.currentIndex=r,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);const n=e._prev,r=e._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._prev=n,e}_addToMoves(e,n){return e.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=e:this._movesTail._nextMoved=e),e}_addToRemovals(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new O_),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,n){return e.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=e:this._identityChangesTail._nextIdentityChange=e,e}}class $T{constructor(e,n){this.item=e,this.trackById=n,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}}class GT{constructor(){this._head=null,this._tail=null}add(e){null===this._head?(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,n){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,e))return r;return null}remove(e){const n=e._prevDup,r=e._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class O_{constructor(){this.map=new Map}put(e){const n=e.trackById;let r=this.map.get(n);r||(r=new GT,this.map.set(n,r)),r.add(e)}get(e,n){const o=this.map.get(e);return o?o.get(e,n):null}remove(e){const n=e.trackById;return this.map.get(n).remove(e)&&this.map.delete(n),e}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function P_(t,e,n){const r=t.previousIndex;if(null===r)return r;let o=0;return n&&r<n.length&&(o=n[r]),r+e+o}class k_{constructor(){}supports(e){return e instanceof Map||$c(e)}create(){return new WT}}class WT{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(e){let n;for(n=this._mapHead;null!==n;n=n._next)e(n)}forEachPreviousItem(e){let n;for(n=this._previousMapHead;null!==n;n=n._nextPrevious)e(n)}forEachChangedItem(e){let n;for(n=this._changesHead;null!==n;n=n._nextChanged)e(n)}forEachAddedItem(e){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)e(n)}forEachRemovedItem(e){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)e(n)}diff(e){if(e){if(!(e instanceof Map||$c(e)))throw new Error(`Error trying to diff '${$(e)}'. Only maps and objects are allowed`)}else e=new Map;return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(e,(r,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,n){if(e){const r=e._prev;return n._next=e,n._prev=r,e._prev=n,r&&(r._next=n),e===this._mapHead&&(this._mapHead=n),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(e,n){if(this._records.has(e)){const o=this._records.get(e);this._maybeAddToChanges(o,n);const i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}const r=new qT(e);return this._records.set(e,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;null!==e;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;null!=e;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,n){Object.is(n,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=n,this._addToChanges(e))}_addToAdditions(e){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){null===this._changesHead?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,n){e instanceof Map?e.forEach(n):Object.keys(e).forEach(r=>n(e[r],r))}}class qT{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 V_(){return new Wi([new F_])}let Wi=(()=>{class t{constructor(n){this.factories=n}static create(n,r){if(null!=r){const o=r.factories.slice();n=n.concat(o)}return new t(n)}static extend(n){return{provide:t,useFactory:r=>t.create(n,r||V_()),deps:[[t,new Jn,new ct]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(null!=r)return r;throw new Error(`Cannot find a differ supporting object '${n}' of type '${function(t){return t.name||typeof t}(n)}'`)}}return t.\u0275prov=O({token:t,providedIn:"root",factory:V_}),t})();function L_(){return new Fo([new k_])}let Fo=(()=>{class t{constructor(n){this.factories=n}static create(n,r){if(r){const o=r.factories.slice();n=n.concat(o)}return new t(n)}static extend(n){return{provide:t,useFactory:r=>t.create(n,r||L_()),deps:[[t,new Jn,new ct]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(r)return r;throw new Error(`Cannot find a differ supporting object '${n}'`)}}return t.\u0275prov=O({token:t,providedIn:"root",factory:L_}),t})();function Ha(t,e,n,r,o=!1){for(;null!==n;){const i=e[n.index];if(null!==i&&r.push(be(i)),Bt(i))for(let a=10;a<i.length;a++){const l=i[a],u=l[1].firstChild;null!==u&&Ha(l[1],l,u,r)}const s=n.type;if(8&s)Ha(t,e,n.child,r);else if(32&s){const a=Ju(n,e);let l;for(;l=a();)r.push(l)}else if(16&s){const a=gg(e,n);if(Array.isArray(a))r.push(...a);else{const l=wi(e[16]);Ha(l[1],l,a,r,!0)}}n=o?n.projectionNext:n.next}return r}class qi{constructor(e,n){this._lView=e,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const e=this._lView,n=e[1];return Ha(n,e,n.firstChild,[])}get context(){return this._lView[8]}set context(e){this._lView[8]=e}get destroyed(){return 256==(256&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const e=this._lView[3];if(Bt(e)){const n=e[8],r=n?n.indexOf(this):-1;r>-1&&(tc(e,r),yr(n,r))}this._attachedToViewContainer=!1}sg(this._lView[1],this._lView)}onDestroy(e){im(this._lView[1],this._lView,null,e)}markForCheck(){xc(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){Fc(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(t,e,n){Ys(!0);try{Fc(t,e,n)}finally{Ys(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function(t,e){Mi(t,e,e[B],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e}}class QT extends qi{constructor(e){super(e),this._view=e}detectChanges(){pm(this._view)}checkNoChanges(){!function(t){Ys(!0);try{pm(t)}finally{Ys(!1)}}(this._view)}get context(){return null}}const JT=function(t){return function(t,e,n){if(zs(t)&&!n){const r=yt(t.index,e);return new qi(r,r)}return 47&t.type?new qi(e[16],e):null}(xe(),E(),16==(16&t))};let dd=(()=>{class t{}return t.__NG_ELEMENT_ID__=JT,t})();const XT=[new k_],tR=new Wi([new F_]),nR=new Fo(XT),oR=function(){return $a(xe(),E())};let Fn=(()=>{class t{}return t.__NG_ELEMENT_ID__=oR,t})();const iR=Fn,sR=class extends iR{constructor(e,n,r){super(),this._declarationLView=e,this._declarationTContainer=n,this.elementRef=r}createEmbeddedView(e){const n=this._declarationTContainer.tViews,r=Ti(this._declarationLView,n,e,16,null,n.declTNode,null,null,null,null);r[17]=this._declarationLView[this._declarationTContainer.index];const i=this._declarationLView[19];return null!==i&&(r[19]=i.createEmbeddedView(n)),Ri(n,r,e),new qi(r)}};function $a(t,e){return 4&t.type?new sR(e,t,No(t,e)):null}class yn{}class j_{}const uR=function(){return H_(xe(),E())};let Kt=(()=>{class t{}return t.__NG_ELEMENT_ID__=uR,t})();const dR=Kt,U_=class extends dR{constructor(e,n,r){super(),this._lContainer=e,this._hostTNode=n,this._hostLView=r}get element(){return No(this._hostTNode,this._hostLView)}get injector(){return new Xr(this._hostTNode,this._hostLView)}get parentInjector(){const e=sa(this._hostTNode,this._hostLView);if(Rp(e)){const n=Zr(e,this._hostLView),r=Yr(e);return new Xr(n[1].data[r+8],n)}return new Xr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){const n=B_(this._lContainer);return null!==n&&n[e]||null}get length(){return this._lContainer.length-10}createEmbeddedView(e,n,r){const o=e.createEmbeddedView(n||{});return this.insert(o,r),o}createComponent(e,n,r,o,i){const s=r||this.parentInjector;if(!i&&null==e.ngModule&&s){const l=s.get(yn,null);l&&(i=l)}const a=e.create(s,o,void 0,i);return this.insert(a.hostView,n),a}insert(e,n){const r=e._lView,o=r[1];if(function(t){return Bt(t[3])}(r)){const c=this.indexOf(e);if(-1!==c)this.detach(c);else{const d=r[3],f=new U_(d,d[6],d[3]);f.detach(f.indexOf(e))}}const i=this._adjustIndex(n),s=this._lContainer;!function(t,e,n,r){const o=10+r,i=n.length;r>0&&(n[o-1][4]=e),r<i-10?(e[4]=n[o],da(n,10+r,e)):(n.push(e),e[4]=null),e[3]=n;const s=e[17];null!==s&&n!==s&&function(t,e){const n=t[9];e[16]!==e[3][3][16]&&(t[2]=!0),null===n?t[9]=[e]:n.push(e)}(s,e);const a=e[19];null!==a&&a.insertView(t),e[2]|=128}(o,r,s,i);const a=oc(i,s),l=r[B],u=ma(l,s[7]);return null!==u&&function(t,e,n,r,o,i){r[0]=o,r[6]=e,Mi(t,r,n,1,o,i)}(o,s[6],l,r,u,a),e.attachToViewContainerRef(),da(fd(s),i,e),e}move(e,n){return this.insert(e,n)}indexOf(e){const n=B_(this._lContainer);return null!==n?n.indexOf(e):-1}remove(e){const n=this._adjustIndex(e,-1),r=tc(this._lContainer,n);r&&(yr(fd(this._lContainer),n),sg(r[1],r))}detach(e){const n=this._adjustIndex(e,-1),r=tc(this._lContainer,n);return r&&null!=yr(fd(this._lContainer),n)?new qi(r):null}_adjustIndex(e,n=0){return null==e?this.length+n:e}};function B_(t){return t[8]}function fd(t){return t[8]||(t[8]=[])}function H_(t,e){let n;const r=e[t.index];if(Bt(r))n=r;else{let o;if(8&t.type)o=be(r);else{const i=e[B];o=i.createComment("");const s=mt(t,e);Cr(i,ma(i,s),o,function(t,e){return ve(t)?t.nextSibling(e):e.nextSibling}(i,s),!1)}e[t.index]=n=hm(r,e,o,t),Aa(e,n)}return new U_(n,t,e)}const Vo={};class lC extends Mr{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){const n=We(e);return new cC(n,this.ngModule)}}function uC(t){const e=[];for(let n in t)t.hasOwnProperty(n)&&e.push({propName:t[n],templateName:n});return e}const ax=new G("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>kg});class cC extends S_{constructor(e,n){super(),this.componentDef=e,this.ngModule=n,this.componentType=e.type,this.selector=function(t){return t.map(YM).join(",")}(e.selectors),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return uC(this.componentDef.inputs)}get outputs(){return uC(this.componentDef.outputs)}create(e,n,r,o){const i=(o=o||this.ngModule)?function(t,e){return{get:(n,r,o)=>{const i=t.get(n,Vo,o);return i!==Vo||r===Vo?i:e.get(n,r,o)}}}(e,o.injector):e,s=i.get(Ba,pp),a=i.get(cd,null),l=s.createRenderer(null,this.componentDef),u=this.componentDef.selectors[0][0]||"div",c=r?function(t,e,n){if(ve(t))return t.selectRootElement(e,n===Re.ShadowDom);let r="string"==typeof e?t.querySelector(e):e;return r.textContent="",r}(l,r,this.componentDef.encapsulation):ec(s.createRenderer(null,this.componentDef),u,function(t){const e=t.toLowerCase();return"svg"===e?"http://www.w3.org/2000/svg":"math"===e?"http://www.w3.org/1998/MathML/":null}(u)),d=this.componentDef.onPush?576:528,f=function(t,e){return{components:[],scheduler:t||kg,clean:PI,playerHandler:e||null,flags:0}}(),h=Ia(0,null,null,1,0,null,null,null,null,null),p=Ti(null,h,f,d,null,null,s,l,a,i);let m,g;Zs(p);try{const v=function(t,e,n,r,o,i){const s=n[1];n[20]=t;const l=co(s,20,2,"#host",null),u=l.mergedAttrs=e.hostAttrs;null!==u&&(Sa(l,u,!0),null!==t&&(ra(o,t,u),null!==l.classes&&ac(o,t,l.classes),null!==l.styles&&yg(o,t,l.styles)));const c=r.createRenderer(t,e),d=Ti(n,nm(e),null,e.onPush?64:16,n[20],l,r,c,i||null,null);return s.firstCreatePass&&(aa(hi(l,n),s,e.type),cm(s,l),dm(l,n.length,1)),Aa(n,d),n[20]=d}(c,this.componentDef,p,s,l);if(c)if(r)ra(l,c,["ng-version",N_.full]);else{const{attrs:y,classes:M}=function(t){const e=[],n=[];let r=1,o=2;for(;r<t.length;){let i=t[r];if("string"==typeof i)2===o?""!==i&&e.push(i,t[++r]):8===o&&n.push(i);else{if(!$t(o))break;o=i}r++}return{attrs:e,classes:n}}(this.componentDef.selectors[0]);y&&ra(l,c,y),M&&M.length>0&&ac(l,c,M.join(" "))}if(g=Mu(h,20),void 0!==n){const y=g.projection=[];for(let M=0;M<this.ngContentSelectors.length;M++){const S=n[M];y.push(null!=S?Array.from(S):null)}}m=function(t,e,n,r,o){const i=n[1],s=function(t,e,n){const r=xe();t.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),fm(t,r,e,fo(t,e,1,null),n));const o=pi(e,t,r.directiveStart,r);Qe(o,e);const i=mt(r,e);return i&&Qe(i,e),o}(i,n,e);if(r.components.push(s),t[8]=s,o&&o.forEach(l=>l(s,e)),e.contentQueries){const l=xe();e.contentQueries(1,s,l.directiveStart)}const a=xe();return!i.firstCreatePass||null===e.hostBindings&&null===e.hostAttrs||(zn(a.index),lm(n[1],a,0,a.directiveStart,a.directiveEnd,e),um(e,s)),s}(v,this.componentDef,p,f,[aA]),Ri(h,p,null)}finally{Xs()}return new cx(this.componentType,m,No(g,p),p,g)}}class cx extends class{}{constructor(e,n,r,o,i){super(),this.location=r,this._rootLView=o,this._tNode=i,this.instance=n,this.hostView=this.changeDetectorRef=new QT(o),this.componentType=e}get injector(){return new Xr(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(e){this.hostView.onDestroy(e)}}const Lo=new Map;class hx extends yn{constructor(e,n){super(),this._parent=n,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new lC(this);const r=wt(e),o=function(t){return t[dw]||null}(e);o&&nd(o),this._bootstrapComponents=dn(r.bootstrap),this._r3Injector=Em(e,n,[{provide:yn,useValue:this},{provide:Mr,useValue:this.componentFactoryResolver}],$(e)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(e)}get(e,n=ne.THROW_IF_NOT_FOUND,r=R.Default){return e===ne||e===yn||e===po?this:this._r3Injector.get(e,n,r)}destroy(){const e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}}class Md extends j_{constructor(e){super(),this.moduleType=e,null!==wt(e)&&function(t){const e=new Set;!function n(r){const o=wt(r,!0),i=o.id;null!==i&&(function(t,e,n){if(e&&e!==n)throw new Error(`Duplicate module registered for ${t} - ${$(e)} vs ${$(e.name)}`)}(i,Lo.get(i),r),Lo.set(i,r));const s=dn(o.imports);for(const a of s)e.has(a)||(e.add(a),n(a))}(t)}(e)}create(e){return new hx(this.moduleType,e)}}function Id(t){return e=>{setTimeout(t,void 0,e)}}const Oe=class extends bn{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,n,r){var o,i,s;let a=e,l=n||(()=>null),u=r;if(e&&"object"==typeof e){const d=e;a=null===(o=d.next)||void 0===o?void 0:o.bind(d),l=null===(i=d.error)||void 0===i?void 0:i.bind(d),u=null===(s=d.complete)||void 0===s?void 0:s.bind(d)}this.__isAsync&&(l=Id(l),a&&(a=Id(a)),u&&(u=Id(u)));const c=super.subscribe({next:a,error:l,complete:u});return e instanceof _e&&e.add(c),c}};function Nx(){return this._results[yo()]()}class Qa{constructor(e=!1){this._emitDistinctChangesOnly=e,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const n=yo(),r=Qa.prototype;r[n]||(r[n]=Nx)}get changes(){return this._changes||(this._changes=new Oe)}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,n){return this._results.reduce(e,n)}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,n){const r=this;r.dirty=!1;const o=St(e);(this._changesDetected=!function(t,e,n){if(t.length!==e.length)return!1;for(let r=0;r<t.length;r++){let o=t[r],i=e[r];if(n&&(o=n(o),i=n(i)),i!==o)return!1}return!0}(r._results,o,n))&&(r._results=o,r.length=o.length,r.last=o[this.length-1],r.first=o[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}Symbol;class Ad{constructor(e){this.queryList=e,this.matches=null}clone(){return new Ad(this.queryList)}setDirty(){this.queryList.setDirty()}}class Sd{constructor(e=[]){this.queries=e}createEmbeddedView(e){const n=e.queries;if(null!==n){const r=null!==e.contentQueries?e.contentQueries[0]:n.length,o=[];for(let i=0;i<r;i++){const s=n.getByIndex(i);o.push(this.queries[s.indexInDeclarationView].clone())}return new Sd(o)}return null}insertView(e){this.dirtyQueriesWithMatches(e)}detachView(e){this.dirtyQueriesWithMatches(e)}dirtyQueriesWithMatches(e){for(let n=0;n<this.queries.length;n++)null!==EC(e,n).matches&&this.queries[n].setDirty()}}class _C{constructor(e,n,r=null){this.predicate=e,this.flags=n,this.read=r}}class Td{constructor(e=[]){this.queries=e}elementStart(e,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(e,n)}elementEnd(e){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(e)}embeddedTView(e){let n=null;for(let r=0;r<this.length;r++){const o=null!==n?n.length:0,i=this.getByIndex(r).embeddedTView(e,o);i&&(i.indexInDeclarationView=r,null!==n?n.push(i):n=[i])}return null!==n?new Td(n):null}template(e,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(e,n)}getByIndex(e){return this.queries[e]}get length(){return this.queries.length}track(e){this.queries.push(e)}}class Rd{constructor(e,n=-1){this.metadata=e,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}elementStart(e,n){this.isApplyingToNode(n)&&this.matchTNode(e,n)}elementEnd(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)}template(e,n){this.elementStart(e,n)}embeddedTView(e,n){return this.isApplyingToNode(e)?(this.crossesNgTemplate=!0,this.addMatch(-e.index,n),new Rd(this.metadata)):null}isApplyingToNode(e){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const n=this._declarationNodeIndex;let r=e.parent;for(;null!==r&&8&r.type&&r.index!==n;)r=r.parent;return n===(null!==r?r.index:-1)}return this._appliesToNextNode}matchTNode(e,n){const r=this.metadata.predicate;if(Array.isArray(r))for(let o=0;o<r.length;o++){const i=r[o];this.matchTNodeWithReadOption(e,n,Px(n,i)),this.matchTNodeWithReadOption(e,n,la(n,e,i,!1,!1))}else r===Fn?4&n.type&&this.matchTNodeWithReadOption(e,n,-1):this.matchTNodeWithReadOption(e,n,la(n,e,r,!1,!1))}matchTNodeWithReadOption(e,n,r){if(null!==r){const o=this.metadata.read;if(null!==o)if(o===Le||o===Kt||o===Fn&&4&n.type)this.addMatch(n.index,-2);else{const i=la(n,e,o,!1,!1);null!==i&&this.addMatch(n.index,i)}else this.addMatch(n.index,r)}}addMatch(e,n){null===this.matches?this.matches=[e,n]:this.matches.push(e,n)}}function Px(t,e){const n=t.localNames;if(null!==n)for(let r=0;r<n.length;r+=2)if(n[r]===e)return n[r+1];return null}function Vx(t,e,n,r){return-1===n?function(t,e){return 11&t.type?No(t,e):4&t.type?$a(t,e):null}(e,t):-2===n?function(t,e,n){return n===Le?No(e,t):n===Fn?$a(e,t):n===Kt?H_(e,t):void 0}(t,e,r):pi(t,t[1],n,e)}function CC(t,e,n,r){const o=e[19].queries[r];if(null===o.matches){const i=t.data,s=n.matches,a=[];for(let l=0;l<s.length;l+=2){const u=s[l];a.push(u<0?null:Vx(e,i[u],s[l+1],n.metadata.read))}o.matches=a}return o.matches}function xd(t,e,n,r){const o=t.queries.getByIndex(n),i=o.matches;if(null!==i){const s=CC(t,e,o,n);for(let a=0;a<i.length;a+=2){const l=i[a];if(l>0)r.push(s[a/2]);else{const u=i[a+1],c=e[-l];for(let d=10;d<c.length;d++){const f=c[d];f[17]===f[3]&&xd(f[1],f,u,r)}if(null!==c[9]){const d=c[9];for(let f=0;f<d.length;f++){const h=d[f];xd(h[1],h,u,r)}}}}}return r}function Nd(t){const e=E(),n=Y(),r=Dp();Nu(r+1);const o=EC(n,r);if(t.dirty&&gp(e)===(2==(2&o.metadata.flags))){if(null===o.matches)t.reset([]);else{const i=o.crossesNgTemplate?xd(n,e,r,[]):CC(n,e,o,r);t.reset(i,x_),t.notifyOnChanges()}return!0}return!1}function Fd(t,e,n,r){const o=Y();if(o.firstCreatePass){const i=xe();(function(t,e,n){null===t.queries&&(t.queries=new Td),t.queries.track(new Rd(e,n))})(o,new _C(e,n,r),i.index),function(t,e){const n=t.contentQueries||(t.contentQueries=[]);e!==(n.length?n[n.length-1]:-1)&&n.push(t.queries.length-1,e)}(o,t),2==(2&n)&&(o.staticContentQueries=!0)}!function(t,e,n){const r=new Qa(4==(4&n));im(t,e,r,r.destroy),null===e[19]&&(e[19]=new Sd),e[19].queries.push(new Ad(r))}(o,E(),n)}function Od(){return function(t,e){return t[19].queries[e].queryList}(E(),Dp())}function EC(t,e){return t.queries.getByIndex(e)}const os=new G("Application Initializer");let Uo=(()=>{class t{constructor(n){this.appInits=n,this.resolve=Ua,this.reject=Ua,this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,o)=>{this.resolve=r,this.reject=o})}runInitializers(){if(this.initialized)return;const n=[],r=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let o=0;o<this.appInits.length;o++){const i=this.appInits[o]();if(Vi(i))n.push(i);else if(Na(i)){const s=new Promise((a,l)=>{i.subscribe({complete:a,error:l})});n.push(s)}}Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),0===n.length&&r(),this.initialized=!0}}return t.\u0275fac=function(n){return new(n||t)(b(os,8))},t.\u0275prov=O({token:t,factory:t.\u0275fac}),t})();const is=new G("AppId"),gN={provide:is,useFactory:function(){return`${Ud()}${Ud()}${Ud()}`},deps:[]};function Ud(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const UC=new G("Platform Initializer"),Ya=new G("Platform ID"),BC=new G("appBootstrapListener");let Za=(()=>{class t{log(n){console.log(n)}warn(n){console.warn(n)}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=O({token:t,factory:t.\u0275fac}),t})();const er=new G("LocaleId"),HC=new G("DefaultCurrencyCode");class yN{constructor(e,n){this.ngModuleFactory=e,this.componentFactories=n}}const Bd=function(t){return new Md(t)},_N=Bd,CN=function(t){return Promise.resolve(Bd(t))},$C=function(t){const e=Bd(t),r=dn(wt(t).declarations).reduce((o,i)=>{const s=We(i);return s&&o.push(new cC(s)),o},[]);return new yN(e,r)},vN=$C,DN=function(t){return Promise.resolve($C(t))};let Sr=(()=>{class t{constructor(){this.compileModuleSync=_N,this.compileModuleAsync=CN,this.compileModuleAndAllComponentsSync=vN,this.compileModuleAndAllComponentsAsync=DN}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=O({token:t,factory:t.\u0275fac}),t})();const wN=(()=>Promise.resolve(0))();function Hd(t){"undefined"==typeof Zone?wN.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class Me{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Oe(!1),this.onMicrotaskEmpty=new Oe(!1),this.onStable=new Oe(!1),this.onError=new Oe(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const 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=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function(){let t=te.requestAnimationFrame,e=te.cancelAnimationFrame;if("undefined"!=typeof Zone&&t&&e){const n=t[Zone.__symbol__("OriginalDelegate")];n&&(t=n);const r=e[Zone.__symbol__("OriginalDelegate")];r&&(e=r)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:e}}().nativeRequestAnimationFrame,function(t){const e=()=>{!function(t){t.isCheckStableRunning||-1!==t.lastRequestAnimationFrameId||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(te,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,Gd(t),t.isCheckStableRunning=!0,$d(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),Gd(t))}(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{try{return GC(t),n.invokeTask(o,i,s,a)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||t.shouldCoalesceRunChangeDetection)&&e(),WC(t)}},onInvoke:(n,r,o,i,s,a,l)=>{try{return GC(t),n.invoke(o,i,s,a,l)}finally{t.shouldCoalesceRunChangeDetection&&e(),WC(t)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&("microTask"==i.change?(t._hasPendingMicrotasks=i.microTask,Gd(t),$d(t)):"macroTask"==i.change&&(t.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),t.runOutsideAngular(()=>t.onError.emit(i)),!1)})}(o)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Me.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Me.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(e,n,r){return this._inner.run(e,n,r)}runTask(e,n,r,o){const i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,e,IN,Ua,Ua);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(e,n,r){return this._inner.runGuarded(e,n,r)}runOutsideAngular(e){return this._outer.run(e)}}const IN={};function $d(t){if(0==t._nesting&&!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 Gd(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&-1!==t.lastRequestAnimationFrameId)}function GC(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function WC(t){t._nesting--,$d(t)}class TN{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Oe,this.onMicrotaskEmpty=new Oe,this.onStable=new Oe,this.onError=new Oe}run(e,n,r){return e.apply(n,r)}runGuarded(e,n,r){return e.apply(n,r)}runOutsideAngular(e){return e()}runTask(e,n,r,o){return e.apply(n,r)}}let Wd=(()=>{class t{constructor(n){this._ngZone=n,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Me.assertNotInAngularZone(),Hd(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())Hd(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==i),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:i,updateCb:o})}whenStable(n,r,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(n,r,o){return[]}}return t.\u0275fac=function(n){return new(n||t)(b(Me))},t.\u0275prov=O({token:t,factory:t.\u0275fac}),t})(),qC=(()=>{class t{constructor(){this._applications=new Map,qd.addToWindow(this)}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return qd.findTestabilityInTree(this,n,r)}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=O({token:t,factory:t.\u0275fac}),t})();class RN{addToWindow(e){}findTestabilityInTree(e,n,r){return null}}let qd=new RN,zC=!0,QC=!1;let Zt;const JC=new G("AllowMultipleToken");class zd{constructor(e,n){this.name=e,this.token=n}}function YC(t,e,n=[]){const r=`Platform: ${e}`,o=new G(r);return(i=[])=>{let s=ZC();if(!s||s.injector.get(JC,!1))if(t)t(n.concat(i).concat({provide:o,useValue:!0}));else{const a=n.concat(i).concat({provide:o,useValue:!0},{provide:xi,useValue:"platform"});!function(t){if(Zt&&!Zt.destroyed&&!Zt.injector.get(JC,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Zt=t.get(XC);const e=t.get(UC,null);e&&e.forEach(n=>n())}(ne.create({providers:a,name:r}))}return function(t){const e=ZC();if(!e)throw new Error("No platform exists!");if(!e.injector.get(t,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return e}(o)}}function ZC(){return Zt&&!Zt.destroyed?Zt:null}let XC=(()=>{class t{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const a=function(t,e){let n;return n="noop"===t?new TN:("zone.js"===t?void 0:t)||new Me({enableLongStackTrace:(QC=!0,zC),shouldCoalesceEventChangeDetection:!!(null==e?void 0:e.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==e?void 0:e.ngZoneRunCoalescing)}),n}(r?r.ngZone:void 0,{ngZoneEventCoalescing:r&&r.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:r&&r.ngZoneRunCoalescing||!1}),l=[{provide:Me,useValue:a}];return a.run(()=>{const u=ne.create({providers:l,parent:this.injector,name:n.moduleType.name}),c=n.create(u),d=c.injector.get(Er,null);if(!d)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return a.runOutsideAngular(()=>{const f=a.onError.subscribe({next:h=>{d.handleError(h)}});c.onDestroy(()=>{Qd(this._modules,c),f.unsubscribe()})}),function(t,e,n){try{const r=n();return Vi(r)?r.catch(o=>{throw e.runOutsideAngular(()=>t.handleError(o)),o}):r}catch(r){throw e.runOutsideAngular(()=>t.handleError(r)),r}}(d,a,()=>{const f=c.injector.get(Uo);return f.runInitializers(),f.donePromise.then(()=>(nd(c.injector.get(er,Pa)||Pa),this._moduleDoBootstrap(c),c))})})}bootstrapModule(n,r=[]){const o=ev({},r);return function(t,e,n){const r=new Md(n);return Promise.resolve(r)}(0,0,n).then(i=>this.bootstrapModuleFactory(i,o))}_moduleDoBootstrap(n){const r=n.injector.get(Bo);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(o=>r.bootstrap(o));else{if(!n.instance.ngDoBootstrap)throw new Error(`The module ${$(n.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.`);n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(n=>n.destroy()),this._destroyListeners.forEach(n=>n()),this._destroyed=!0}get destroyed(){return this._destroyed}}return t.\u0275fac=function(n){return new(n||t)(b(ne))},t.\u0275prov=O({token:t,factory:t.\u0275fac}),t})();function ev(t,e){return Array.isArray(e)?e.reduce(ev,t):Object.assign(Object.assign({},t),e)}let Bo=(()=>{class t{constructor(n,r,o,i,s){this._zone=n,this._injector=r,this._exceptionHandler=o,this._componentFactoryResolver=i,this._initStatus=s,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const a=new ce(u=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{u.next(this._stable),u.complete()})}),l=new ce(u=>{let c;this._zone.runOutsideAngular(()=>{c=this._zone.onStable.subscribe(()=>{Me.assertNotInAngularZone(),Hd(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,u.next(!0))})})});const d=this._zone.onUnstable.subscribe(()=>{Me.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{u.next(!1)}))});return()=>{c.unsubscribe(),d.unsubscribe()}});this.isStable=function(...t){let e=Number.POSITIVE_INFINITY,n=null,r=t[t.length-1];return js(r)?(n=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(e=t.pop())):"number"==typeof r&&(e=t.pop()),null===n&&1===t.length&&t[0]instanceof ce?t[0]:ii(e)(uu(t,n))}(a,l.pipe(t=>cu()(function(t,e){return function(r){let o;o="function"==typeof t?t:function(){return t};const i=Object.create(r,qb);return i.source=r,i.subjectFactory=o,i}}(Yb)(t))))}bootstrap(n,r){if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");let o;o=n instanceof S_?n:this._componentFactoryResolver.resolveComponentFactory(n),this.componentTypes.push(o.componentType);const i=function(t){return t.isBoundToModule}(o)?void 0:this._injector.get(yn),a=o.create(ne.NULL,[],r||o.selector,i),l=a.location.nativeElement,u=a.injector.get(Wd,null),c=u&&a.injector.get(qC);return u&&c&&c.registerApplication(l,u),a.onDestroy(()=>{this.detachView(a.hostView),Qd(this.components,a),c&&c.unregisterApplication(l)}),this._loadComponent(a),a}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;Qd(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(BC,[]).concat(this._bootstrapListeners).forEach(o=>o(n))}ngOnDestroy(){this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return t.\u0275fac=function(n){return new(n||t)(b(Me),b(ne),b(Er),b(Mr),b(Uo))},t.\u0275prov=O({token:t,factory:t.\u0275fac}),t})();function Qd(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}class el{}class WN{}const qN={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};let zN=(()=>{class t{constructor(n,r){this._compiler=n,this._config=r||qN}load(n){return this.loadAndCompile(n)}loadAndCompile(n){let[r,o]=n.split("#");return void 0===o&&(o="default"),ri(255)(r).then(i=>i[o]).then(i=>ov(i,r,o)).then(i=>this._compiler.compileModuleAsync(i))}loadFactory(n){let[r,o]=n.split("#"),i="NgFactory";return void 0===o&&(o="default",i=""),ri(255)(this._config.factoryPathPrefix+r+this._config.factoryPathSuffix).then(s=>s[o+i]).then(s=>ov(s,r,o))}}return t.\u0275fac=function(n){return new(n||t)(b(Sr),b(WN,8))},t.\u0275prov=O({token:t,factory:t.\u0275fac}),t})();function ov(t,e,n){if(!t)throw new Error(`Cannot find '${n}' in '${e}'`);return t}const r1=YC(null,"core",[{provide:Ya,useValue:"unknown"},{provide:XC,deps:[ne]},{provide:qC,deps:[]},{provide:Za,deps:[]}]),l1=[{provide:Bo,useClass:Bo,deps:[Me,ne,Er,Mr,Uo]},{provide:ax,deps:[Me],useFactory:function(t){let e=[];return t.onStable.subscribe(()=>{for(;e.length;)e.pop()()}),function(n){e.push(n)}}},{provide:Uo,useClass:Uo,deps:[[new ct,os]]},{provide:Sr,useClass:Sr,deps:[]},gN,{provide:Wi,useFactory:function(){return tR},deps:[]},{provide:Fo,useFactory:function(){return nR},deps:[]},{provide:er,useFactory:function(t){return nd(t=t||"undefined"!=typeof $localize&&$localize.locale||Pa),t},deps:[[new so(er),new ct,new Jn]]},{provide:HC,useValue:"USD"}];let c1=(()=>{class t{constructor(n){}}return t.\u0275fac=function(n){return new(n||t)(b(Bo))},t.\u0275mod=pt({type:t}),t.\u0275inj=et({providers:l1}),t})(),cl=null;function _n(){return cl}const Be=new G("DocumentToken");let xr=(()=>{class t{historyGo(n){throw new Error("Not implemented")}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=O({factory:uF,token:t,providedIn:"platform"}),t})();function uF(){return b(Sv)}const cF=new G("Location Initialized");let Sv=(()=>{class t extends xr{constructor(n){super(),this._doc=n,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return _n().getBaseHref(this._doc)}onPopState(n){const r=_n().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){const r=_n().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.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,r,o){Tv()?this._history.pushState(n,r,o):this.location.hash=o}replaceState(n,r,o){Tv()?this._history.replaceState(n,r,o):this.location.hash=o}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}}return t.\u0275fac=function(n){return new(n||t)(b(Be))},t.\u0275prov=O({factory:dF,token:t,providedIn:"platform"}),t})();function Tv(){return!!window.history.pushState}function dF(){return new Sv(b(Be))}function cf(t,e){if(0==t.length)return e;if(0==e.length)return t;let n=0;return t.endsWith("/")&&n++,e.startsWith("/")&&n++,2==n?t+e.substring(1):1==n?t+e:t+"/"+e}function Rv(t){const e=t.match(/#|\?|$/),n=e&&e.index||t.length;return t.slice(0,n-("/"===t[n-1]?1:0))+t.slice(n)}function Pn(t){return t&&"?"!==t[0]?"?"+t:t}let Go=(()=>{class t{historyGo(n){throw new Error("Not implemented")}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=O({factory:fF,token:t,providedIn:"root"}),t})();function fF(t){const e=b(Be).location;return new xv(b(xr),e&&e.origin||"")}const df=new G("appBaseHref");let xv=(()=>{class t extends Go{constructor(n,r){if(super(),this._platformLocation=n,this._removeListenerFns=[],null==r&&(r=this._platformLocation.getBaseHrefFromDOM()),null==r)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=r}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 cf(this._baseHref,n)}path(n=!1){const r=this._platformLocation.pathname+Pn(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){const s=this.prepareExternalUrl(o+Pn(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){const s=this.prepareExternalUrl(o+Pn(i));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(n=0){var r,o;null===(o=(r=this._platformLocation).historyGo)||void 0===o||o.call(r,n)}}return t.\u0275fac=function(n){return new(n||t)(b(xr),b(df,8))},t.\u0275prov=O({token:t,factory:t.\u0275fac}),t})(),hF=(()=>{class t extends Go{constructor(n,r){super(),this._platformLocation=n,this._baseHref="",this._removeListenerFns=[],null!=r&&(this._baseHref=r)}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 r=this._platformLocation.hash;return null==r&&(r="#"),r.length>0?r.substring(1):r}prepareExternalUrl(n){const r=cf(this._baseHref,n);return r.length>0?"#"+r:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+Pn(i));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+Pn(i));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(n=0){var r,o;null===(o=(r=this._platformLocation).historyGo)||void 0===o||o.call(r,n)}}return t.\u0275fac=function(n){return new(n||t)(b(xr),b(df,8))},t.\u0275prov=O({token:t,factory:t.\u0275fac}),t})(),dl=(()=>{class t{constructor(n,r){this._subject=new Oe,this._urlChangeListeners=[],this._platformStrategy=n;const o=this._platformStrategy.getBaseHref();this._platformLocation=r,this._baseHref=Rv(Nv(o)),this._platformStrategy.onPopState(i=>{this._subject.emit({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}path(n=!1){return this.normalize(this._platformStrategy.path(n))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+Pn(r))}normalize(n){return t.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,Nv(n)))}prepareExternalUrl(n){return n&&"/"!==n[0]&&(n="/"+n),this._platformStrategy.prepareExternalUrl(n)}go(n,r="",o=null){this._platformStrategy.pushState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Pn(r)),o)}replaceState(n,r="",o=null){this._platformStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Pn(r)),o)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(n=0){var r,o;null===(o=(r=this._platformStrategy).historyGo)||void 0===o||o.call(r,n)}onUrlChange(n){this._urlChangeListeners.push(n),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}))}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(o=>o(n,r))}subscribe(n,r,o){return this._subject.subscribe({next:n,error:r,complete:o})}}return t.\u0275fac=function(n){return new(n||t)(b(Go),b(xr))},t.normalizeQueryParams=Pn,t.joinWithSlash=cf,t.stripTrailingSlash=Rv,t.\u0275prov=O({factory:pF,token:t,providedIn:"root"}),t})();function pF(){return new dl(b(Go),b(xr))}function Nv(t){return t.replace(/\/index.html$/,"")}var Ie=(()=>((Ie=Ie||{})[Ie.Zero=0]="Zero",Ie[Ie.One=1]="One",Ie[Ie.Two=2]="Two",Ie[Ie.Few=3]="Few",Ie[Ie.Many=4]="Many",Ie[Ie.Other=5]="Other",Ie))();const EF=function(t){return function(t){const e=function(t){return t.toLowerCase().replace(/_/g,"-")}(t);let n=n_(e);if(n)return n;const r=e.split("-")[0];if(n=n_(r),n)return n;if("en"===r)return FS;throw new Error(`Missing locale data for the locale "${t}".`)}(t)[I.PluralCase]};class Dl{}let YF=(()=>{class t extends Dl{constructor(n){super(),this.locale=n}getPluralCategory(n,r){switch(EF(r||this.locale)(n)){case Ie.Zero:return"zero";case Ie.One:return"one";case Ie.Two:return"two";case Ie.Few:return"few";case Ie.Many:return"many";default:return"other"}}}return t.\u0275fac=function(n){return new(n||t)(b(er))},t.\u0275prov=O({token:t,factory:t.\u0275fac}),t})();function Bv(t,e){e=encodeURIComponent(e);for(const n of t.split(";")){const r=n.indexOf("="),[o,i]=-1==r?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===e)return decodeURIComponent(i)}return null}class eO{constructor(e,n,r,o){this.$implicit=e,this.ngForOf=n,this.index=r,this.count=o}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let vf=(()=>{class t{constructor(n,r,o){this._viewContainer=n,this._template=r,this._differs=o,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;if(!this._differ&&n)try{this._differ=this._differs.find(n).create(this.ngForTrackBy)}catch(r){throw new Error(`Cannot find a differ supporting object '${n}' of type '${function(t){return t.name||typeof t}(n)}'. NgFor only supports binding to Iterables such as Arrays.`)}}if(this._differ){const n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){const r=[];n.forEachOperation((o,i,s)=>{if(null==o.previousIndex){const a=this._viewContainer.createEmbeddedView(this._template,new eO(null,this._ngForOf,-1,-1),null===s?void 0:s),l=new Hv(o,a);r.push(l)}else if(null==s)this._viewContainer.remove(null===i?void 0:i);else if(null!==i){const a=this._viewContainer.get(i);this._viewContainer.move(a,s);const l=new Hv(o,a);r.push(l)}});for(let o=0;o<r.length;o++)this._perViewChange(r[o].view,r[o].record);for(let o=0,i=this._viewContainer.length;o<i;o++){const s=this._viewContainer.get(o);s.context.index=o,s.context.count=i,s.context.ngForOf=this._ngForOf}n.forEachIdentityChange(o=>{this._viewContainer.get(o.currentIndex).context.$implicit=o.item})}_perViewChange(n,r){n.context.$implicit=r.item}static ngTemplateContextGuard(n,r){return!0}}return t.\u0275fac=function(n){return new(n||t)(D(Kt),D(Fn),D(Wi))},t.\u0275dir=N({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),t})();class Hv{constructor(e,n){this.record=e,this.view=n}}let TO=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=pt({type:t}),t.\u0275inj=et({providers:[{provide:Dl,useClass:YF}]}),t})();let zv=(()=>{class t{}return t.\u0275prov=O({token:t,providedIn:"root",factory:()=>new FO(b(Be),window)}),t})();class FO{constructor(e,n){this.document=e,this.window=n,this.offset=()=>[0,0]}setOffset(e){this.offset=Array.isArray(e)?()=>e:e}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(e){this.supportsScrolling()&&this.window.scrollTo(e[0],e[1])}scrollToAnchor(e){if(!this.supportsScrolling())return;const n=function(t,e){const n=t.getElementById(e)||t.getElementsByName(e)[0];if(n)return n;if("function"==typeof t.createTreeWalker&&t.body&&(t.body.createShadowRoot||t.body.attachShadow)){const r=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT);let o=r.currentNode;for(;o;){const i=o.shadowRoot;if(i){const s=i.getElementById(e)||i.querySelector(`[name="${e}"]`);if(s)return s}o=r.nextNode()}}return null}(this.document,e);n&&(this.scrollToElement(n),this.attemptFocus(n))}setHistoryScrollRestoration(e){if(this.supportScrollRestoration()){const n=this.window.history;n&&n.scrollRestoration&&(n.scrollRestoration=e)}}scrollToElement(e){const n=e.getBoundingClientRect(),r=n.left+this.window.pageXOffset,o=n.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(r-i[0],o-i[1])}attemptFocus(e){return e.focus(),this.document.activeElement===e}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const e=Qv(this.window.history)||Qv(Object.getPrototypeOf(this.window.history));return!(!e||!e.writable&&!e.set)}catch(e){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(e){return!1}}}function Qv(t){return Object.getOwnPropertyDescriptor(t,"scrollRestoration")}class Kv{}class Mf extends class extends class{}{constructor(){super(...arguments),this.supportsDOMEvents=!0}}{static makeCurrent(){!function(t){cl||(cl=t)}(new Mf)}onAndCancel(e,n,r){return e.addEventListener(n,r,!1),()=>{e.removeEventListener(n,r,!1)}}dispatchEvent(e,n){e.dispatchEvent(n)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,n){return(n=n||this.getDefaultDocument()).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,n){return"window"===n?window:"document"===n?e:"body"===n?e.body:null}getBaseHref(e){const n=(fs=fs||document.querySelector("base"),fs?fs.getAttribute("href"):null);return null==n?null:function(t){El=El||document.createElement("a"),El.setAttribute("href",t);const e=El.pathname;return"/"===e.charAt(0)?e:`/${e}`}(n)}resetBaseElement(){fs=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return Bv(document.cookie,e)}}let El,fs=null;const Jv=new G("TRANSITION_ID"),jO=[{provide:os,useFactory:function(t,e,n){return()=>{n.get(Uo).donePromise.then(()=>{const r=_n(),o=e.querySelectorAll(`style[ng-transition="${t}"]`);for(let i=0;i<o.length;i++)r.remove(o[i])})}},deps:[Jv,Be,ne],multi:!0}];class If{static init(){!function(t){qd=t}(new If)}addToWindow(e){te.getAngularTestability=(r,o=!0)=>{const i=e.findTestabilityInTree(r,o);if(null==i)throw new Error("Could not find testability for element.");return i},te.getAllAngularTestabilities=()=>e.getAllTestabilities(),te.getAllAngularRootElements=()=>e.getAllRootElements(),te.frameworkStabilizers||(te.frameworkStabilizers=[]),te.frameworkStabilizers.push(r=>{const o=te.getAllAngularTestabilities();let i=o.length,s=!1;const a=function(l){s=s||l,i--,0==i&&r(s)};o.forEach(function(l){l.whenStable(a)})})}findTestabilityInTree(e,n,r){if(null==n)return null;const o=e.getTestability(n);return null!=o?o:r?_n().isShadowRoot(n)?this.findTestabilityInTree(e,n.host,!0):this.findTestabilityInTree(e,n.parentElement,!0):null}}let UO=(()=>{class t{build(){return new XMLHttpRequest}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=O({token:t,factory:t.\u0275fac}),t})();const hs=new G("EventManagerPlugins");let wl=(()=>{class t{constructor(n,r){this._zone=r,this._eventNameToPlugin=new Map,n.forEach(o=>o.manager=this),this._plugins=n.slice().reverse()}addEventListener(n,r,o){return this._findPluginFor(r).addEventListener(n,r,o)}addGlobalEventListener(n,r,o){return this._findPluginFor(r).addGlobalEventListener(n,r,o)}getZone(){return this._zone}_findPluginFor(n){const r=this._eventNameToPlugin.get(n);if(r)return r;const o=this._plugins;for(let i=0;i<o.length;i++){const s=o[i];if(s.supports(n))return this._eventNameToPlugin.set(n,s),s}throw new Error(`No event manager plugin found for event ${n}`)}}return t.\u0275fac=function(n){return new(n||t)(b(hs),b(Me))},t.\u0275prov=O({token:t,factory:t.\u0275fac}),t})();class Af{constructor(e){this._doc=e}addGlobalEventListener(e,n,r){const o=_n().getGlobalEventTarget(this._doc,e);if(!o)throw new Error(`Unsupported event target ${o} for event ${n}`);return this.addEventListener(o,n,r)}}let Zv=(()=>{class t{constructor(){this._stylesSet=new Set}addStyles(n){const r=new Set;n.forEach(o=>{this._stylesSet.has(o)||(this._stylesSet.add(o),r.add(o))}),this.onStylesAdded(r)}onStylesAdded(n){}getAllStyles(){return Array.from(this._stylesSet)}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=O({token:t,factory:t.\u0275fac}),t})(),ps=(()=>{class t extends Zv{constructor(n){super(),this._doc=n,this._hostNodes=new Map,this._hostNodes.set(n.head,[])}_addStylesToHost(n,r,o){n.forEach(i=>{const s=this._doc.createElement("style");s.textContent=i,o.push(r.appendChild(s))})}addHost(n){const r=[];this._addStylesToHost(this._stylesSet,n,r),this._hostNodes.set(n,r)}removeHost(n){const r=this._hostNodes.get(n);r&&r.forEach(Xv),this._hostNodes.delete(n)}onStylesAdded(n){this._hostNodes.forEach((r,o)=>{this._addStylesToHost(n,o,r)})}ngOnDestroy(){this._hostNodes.forEach(n=>n.forEach(Xv))}}return t.\u0275fac=function(n){return new(n||t)(b(Be))},t.\u0275prov=O({token:t,factory:t.\u0275fac}),t})();function Xv(t){_n().remove(t)}const Sf={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/"},Tf=/%COMP%/g;function Ml(t,e,n){for(let r=0;r<e.length;r++){let o=e[r];Array.isArray(o)?Ml(t,o,n):(o=o.replace(Tf,t),n.push(o))}return n}function nD(t){return e=>{if("__ngUnwrap__"===e)return t;!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}let Rf=(()=>{class t{constructor(n,r,o){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.rendererByCompId=new Map,this.defaultRenderer=new xf(n)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;switch(r.encapsulation){case Re.Emulated:{let o=this.rendererByCompId.get(r.id);return o||(o=new tP(this.eventManager,this.sharedStylesHost,r,this.appId),this.rendererByCompId.set(r.id,o)),o.applyToHost(n),o}case 1:case Re.ShadowDom:return new nP(this.eventManager,this.sharedStylesHost,n,r);default:if(!this.rendererByCompId.has(r.id)){const o=Ml(r.id,r.styles,[]);this.sharedStylesHost.addStyles(o),this.rendererByCompId.set(r.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return t.\u0275fac=function(n){return new(n||t)(b(wl),b(ps),b(is))},t.\u0275prov=O({token:t,factory:t.\u0275fac}),t})();class xf{constructor(e){this.eventManager=e,this.data=Object.create(null)}destroy(){}createElement(e,n){return n?document.createElementNS(Sf[n]||n,e):document.createElement(e)}createComment(e){return document.createComment(e)}createText(e){return document.createTextNode(e)}appendChild(e,n){e.appendChild(n)}insertBefore(e,n,r){e&&e.insertBefore(n,r)}removeChild(e,n){e&&e.removeChild(n)}selectRootElement(e,n){let r="string"==typeof e?document.querySelector(e):e;if(!r)throw new Error(`The selector "${e}" did not match any elements`);return n||(r.textContent=""),r}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,n,r,o){if(o){n=o+":"+n;const i=Sf[o];i?e.setAttributeNS(i,n,r):e.setAttribute(n,r)}else e.setAttribute(n,r)}removeAttribute(e,n,r){if(r){const o=Sf[r];o?e.removeAttributeNS(o,n):e.removeAttribute(`${r}:${n}`)}else e.removeAttribute(n)}addClass(e,n){e.classList.add(n)}removeClass(e,n){e.classList.remove(n)}setStyle(e,n,r,o){o&(Ct.DashCase|Ct.Important)?e.style.setProperty(n,r,o&Ct.Important?"important":""):e.style[n]=r}removeStyle(e,n,r){r&Ct.DashCase?e.style.removeProperty(n):e.style[n]=""}setProperty(e,n,r){e[n]=r}setValue(e,n){e.nodeValue=n}listen(e,n,r){return"string"==typeof e?this.eventManager.addGlobalEventListener(e,n,nD(r)):this.eventManager.addEventListener(e,n,nD(r))}}class tP extends xf{constructor(e,n,r,o){super(e),this.component=r;const i=Ml(o+"-"+r.id,r.styles,[]);n.addStyles(i),this.contentAttr=function(t){return"_ngcontent-%COMP%".replace(Tf,t)}(o+"-"+r.id),this.hostAttr=function(t){return"_nghost-%COMP%".replace(Tf,t)}(o+"-"+r.id)}applyToHost(e){super.setAttribute(e,this.hostAttr,"")}createElement(e,n){const r=super.createElement(e,n);return super.setAttribute(r,this.contentAttr,""),r}}class nP extends xf{constructor(e,n,r,o){super(e),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const i=Ml(o.id,o.styles,[]);for(let s=0;s<i.length;s++){const a=document.createElement("style");a.textContent=i[s],this.shadowRoot.appendChild(a)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(e,n){return super.appendChild(this.nodeOrShadowRoot(e),n)}insertBefore(e,n,r){return super.insertBefore(this.nodeOrShadowRoot(e),n,r)}removeChild(e,n){return super.removeChild(this.nodeOrShadowRoot(e),n)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}}let rP=(()=>{class t extends Af{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o){return n.addEventListener(r,o,!1),()=>this.removeEventListener(n,r,o)}removeEventListener(n,r,o){return n.removeEventListener(r,o)}}return t.\u0275fac=function(n){return new(n||t)(b(Be))},t.\u0275prov=O({token:t,factory:t.\u0275fac}),t})();const iD=["alt","control","meta","shift"],cP={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},sD={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},dP={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let fP=(()=>{class t extends Af{constructor(n){super(n)}supports(n){return null!=t.parseEventName(n)}addEventListener(n,r,o){const i=t.parseEventName(r),s=t.eventCallback(i.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>_n().onAndCancel(n,i.domEventName,s))}static parseEventName(n){const r=n.toLowerCase().split("."),o=r.shift();if(0===r.length||"keydown"!==o&&"keyup"!==o)return null;const i=t._normalizeKey(r.pop());let s="";if(iD.forEach(l=>{const u=r.indexOf(l);u>-1&&(r.splice(u,1),s+=l+".")}),s+=i,0!=r.length||0===i.length)return null;const a={};return a.domEventName=o,a.fullKey=s,a}static getEventFullKey(n){let r="",o=function(t){let e=t.key;if(null==e){if(e=t.keyIdentifier,null==e)return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===t.location&&sD.hasOwnProperty(e)&&(e=sD[e]))}return cP[e]||e}(n);return o=o.toLowerCase()," "===o?o="space":"."===o&&(o="dot"),iD.forEach(i=>{i!=o&&dP[i](n)&&(r+=i+".")}),r+=o,r}static eventCallback(n,r,o){return i=>{t.getEventFullKey(i)===n&&o.runGuarded(()=>r(i))}}static _normalizeKey(n){return"esc"===n?"escape":n}}return t.\u0275fac=function(n){return new(n||t)(b(Be))},t.\u0275prov=O({token:t,factory:t.\u0275fac}),t})();const _P=[{provide:Ya,useValue:"browser"},{provide:UC,useValue:function(){Mf.makeCurrent(),If.init()},multi:!0},{provide:Be,useFactory:function(){return function(t){bu=t}(document),document},deps:[]}],vP=YC(r1,"browser",_P),DP=[[],{provide:xi,useValue:"root"},{provide:Er,useFactory:function(){return new Er},deps:[]},{provide:hs,useClass:rP,multi:!0,deps:[Be,Me,Ya]},{provide:hs,useClass:fP,multi:!0,deps:[Be]},[],{provide:Rf,useClass:Rf,deps:[wl,ps,is]},{provide:Ba,useExisting:Rf},{provide:Zv,useExisting:ps},{provide:ps,useClass:ps,deps:[Be]},{provide:Wd,useClass:Wd,deps:[Me]},{provide:wl,useClass:wl,deps:[hs,Me]},{provide:Kv,useClass:UO,deps:[]},[]];let EP=(()=>{class t{constructor(n){if(n)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(n){return{ngModule:t,providers:[{provide:is,useValue:n.appId},{provide:Jv,useExisting:is},jO]}}}return t.\u0275fac=function(n){return new(n||t)(b(t,12))},t.\u0275mod=pt({type:t}),t.\u0275inj=et({providers:DP,imports:[TO,c1]}),t})();function U(...t){let e=t[t.length-1];return js(e)?(t.pop(),iu(t,e)):uu(t)}function Wo(t,e){return $e(t,e,1)}function Nr(t,e){return function(r){return r.lift(new RP(t,e))}}"undefined"!=typeof window&&window;class RP{constructor(e,n){this.predicate=e,this.thisArg=n}call(e,n){return n.subscribe(new xP(e,this.predicate,this.thisArg))}}class xP extends pe{constructor(e,n,r){super(e),this.predicate=n,this.thisArg=r,this.count=0}_next(e){let n;try{n=this.predicate.call(this.thisArg,e,this.count++)}catch(r){return void this.destination.error(r)}n&&this.destination.next(e)}}class lD{}class uD{}class Vn{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?this.lazyInit="string"==typeof e?()=>{this.headers=new Map,e.split("\n").forEach(n=>{const r=n.indexOf(":");if(r>0){const o=n.slice(0,r),i=o.toLowerCase(),s=n.slice(r+1).trim();this.maybeSetNormalizedName(o,i),this.headers.has(i)?this.headers.get(i).push(s):this.headers.set(i,[s])}})}:()=>{this.headers=new Map,Object.keys(e).forEach(n=>{let r=e[n];const o=n.toLowerCase();"string"==typeof r&&(r=[r]),r.length>0&&(this.headers.set(o,r),this.maybeSetNormalizedName(n,o))})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();const n=this.headers.get(e.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,n){return this.clone({name:e,value:n,op:"a"})}set(e,n){return this.clone({name:e,value:n,op:"s"})}delete(e,n){return this.clone({name:e,value:n,op:"d"})}maybeSetNormalizedName(e,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,e)}init(){this.lazyInit&&(this.lazyInit instanceof Vn?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(n=>{this.headers.set(n,e.headers.get(n)),this.normalizedNames.set(n,e.normalizedNames.get(n))})}clone(e){const n=new Vn;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof Vn?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([e]),n}applyUpdate(e){const n=e.name.toLowerCase();switch(e.op){case"a":case"s":let r=e.value;if("string"==typeof r&&(r=[r]),0===r.length)return;this.maybeSetNormalizedName(e.name,n);const o=("a"===e.op?this.headers.get(n):void 0)||[];o.push(...r),this.headers.set(n,o);break;case"d":const i=e.value;if(i){let s=this.headers.get(n);if(!s)return;s=s.filter(a=>-1===i.indexOf(a)),0===s.length?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}else this.headers.delete(n),this.normalizedNames.delete(n)}}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>e(this.normalizedNames.get(n),this.headers.get(n)))}}class NP{encodeKey(e){return cD(e)}encodeValue(e){return cD(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}}const OP=/%(\d[a-f0-9])/gi,PP={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function cD(t){return encodeURIComponent(t).replace(OP,(e,n)=>{var r;return null!==(r=PP[n])&&void 0!==r?r:e})}function dD(t){return`${t}`}class rr{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new NP,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(t,e){const n=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(o=>{const i=o.indexOf("="),[s,a]=-1==i?[e.decodeKey(o),""]:[e.decodeKey(o.slice(0,i)),e.decodeValue(o.slice(i+1))],l=n.get(s)||[];l.push(a),n.set(s,l)}),n}(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(n=>{const r=e.fromObject[n];this.map.set(n,Array.isArray(r)?r:[r])})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();const n=this.map.get(e);return n?n[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,n){return this.clone({param:e,value:n,op:"a"})}appendAll(e){const n=[];return Object.keys(e).forEach(r=>{const o=e[r];Array.isArray(o)?o.forEach(i=>{n.push({param:r,value:i,op:"a"})}):n.push({param:r,value:o,op:"a"})}),this.clone(n)}set(e,n){return this.clone({param:e,value:n,op:"s"})}delete(e,n){return this.clone({param:e,value:n,op:"d"})}toString(){return this.init(),this.keys().map(e=>{const n=this.encoder.encodeKey(e);return this.map.get(e).map(r=>n+"="+this.encoder.encodeValue(r)).join("&")}).filter(e=>""!==e).join("&")}clone(e){const n=new rr({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(e),n}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(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":const n=("a"===e.op?this.map.get(e.param):void 0)||[];n.push(dD(e.value)),this.map.set(e.param,n);break;case"d":if(void 0===e.value){this.map.delete(e.param);break}{let r=this.map.get(e.param)||[];const o=r.indexOf(dD(e.value));-1!==o&&r.splice(o,1),r.length>0?this.map.set(e.param,r):this.map.delete(e.param)}}}),this.cloneFrom=this.updates=null)}}class kP{constructor(){this.map=new Map}set(e,n){return this.map.set(e,n),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}keys(){return this.map.keys()}}function fD(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function hD(t){return"undefined"!=typeof Blob&&t instanceof Blob}function pD(t){return"undefined"!=typeof FormData&&t instanceof FormData}class gs{constructor(e,n,r,o){let i;if(this.url=n,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase(),function(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||o?(this.body=void 0!==r?r:null,i=o):i=r,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.headers||(this.headers=new Vn),this.context||(this.context=new kP),this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=n;else{const a=n.indexOf("?");this.urlWithParams=n+(-1===a?"?":a<n.length-1?"&":"")+s}}else this.params=new rr,this.urlWithParams=n}serializeBody(){return null===this.body?null:fD(this.body)||hD(this.body)||pD(this.body)||function(t){return"undefined"!=typeof URLSearchParams&&t instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof rr?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||pD(this.body)?null:hD(this.body)?this.body.type||null:fD(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof rr?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(e={}){var n;const r=e.method||this.method,o=e.url||this.url,i=e.responseType||this.responseType,s=void 0!==e.body?e.body:this.body,a=void 0!==e.withCredentials?e.withCredentials:this.withCredentials,l=void 0!==e.reportProgress?e.reportProgress:this.reportProgress;let u=e.headers||this.headers,c=e.params||this.params;const d=null!==(n=e.context)&&void 0!==n?n:this.context;return void 0!==e.setHeaders&&(u=Object.keys(e.setHeaders).reduce((f,h)=>f.set(h,e.setHeaders[h]),u)),e.setParams&&(c=Object.keys(e.setParams).reduce((f,h)=>f.set(h,e.setParams[h]),c)),new gs(r,o,s,{params:c,headers:u,context:d,reportProgress:l,responseType:i,withCredentials:a})}}var Se=(()=>((Se=Se||{})[Se.Sent=0]="Sent",Se[Se.UploadProgress=1]="UploadProgress",Se[Se.ResponseHeader=2]="ResponseHeader",Se[Se.DownloadProgress=3]="DownloadProgress",Se[Se.Response=4]="Response",Se[Se.User=5]="User",Se))();class kf{constructor(e,n=200,r="OK"){this.headers=e.headers||new Vn,this.status=void 0!==e.status?e.status:n,this.statusText=e.statusText||r,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}}class Vf extends kf{constructor(e={}){super(e),this.type=Se.ResponseHeader}clone(e={}){return new Vf({headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}class Il extends kf{constructor(e={}){super(e),this.type=Se.Response,this.body=void 0!==e.body?e.body:null}clone(e={}){return new Il({body:void 0!==e.body?e.body:this.body,headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}class gD extends kf{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${e.url||"(unknown url)"}`:`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}}function Lf(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}}let jf=(()=>{class t{constructor(n){this.handler=n}request(n,r,o={}){let i;if(n instanceof gs)i=n;else{let l,u;l=o.headers instanceof Vn?o.headers:new Vn(o.headers),o.params&&(u=o.params instanceof rr?o.params:new rr({fromObject:o.params})),i=new gs(n,r,void 0!==o.body?o.body:null,{headers:l,context:o.context,params:u,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials})}const s=U(i).pipe(Wo(l=>this.handler.handle(l)));if(n instanceof gs||"events"===o.observe)return s;const a=s.pipe(Nr(l=>l instanceof Il));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(X(l=>{if(null!==l.body&&!(l.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return l.body}));case"blob":return a.pipe(X(l=>{if(null!==l.body&&!(l.body instanceof Blob))throw new Error("Response is not a Blob.");return l.body}));case"text":return a.pipe(X(l=>{if(null!==l.body&&"string"!=typeof l.body)throw new Error("Response is not a string.");return l.body}));default:return a.pipe(X(l=>l.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(n,r={}){return this.request("DELETE",n,r)}get(n,r={}){return this.request("GET",n,r)}head(n,r={}){return this.request("HEAD",n,r)}jsonp(n,r){return this.request("JSONP",n,{params:(new rr).append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,r={}){return this.request("OPTIONS",n,r)}patch(n,r,o={}){return this.request("PATCH",n,Lf(o,r))}post(n,r,o={}){return this.request("POST",n,Lf(o,r))}put(n,r,o={}){return this.request("PUT",n,Lf(o,r))}}return t.\u0275fac=function(n){return new(n||t)(b(lD))},t.\u0275prov=O({token:t,factory:t.\u0275fac}),t})();class mD{constructor(e,n){this.next=e,this.interceptor=n}handle(e){return this.interceptor.intercept(e,this.next)}}const yD=new G("HTTP_INTERCEPTORS");let jP=(()=>{class t{intercept(n,r){return r.handle(n)}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=O({token:t,factory:t.\u0275fac}),t})();const UP=/^\)\]\}',?\n/;let _D=(()=>{class t{constructor(n){this.xhrFactory=n}handle(n){if("JSONP"===n.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new ce(r=>{const o=this.xhrFactory.build();if(o.open(n.method,n.urlWithParams),n.withCredentials&&(o.withCredentials=!0),n.headers.forEach((h,p)=>o.setRequestHeader(h,p.join(","))),n.headers.has("Accept")||o.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){const h=n.detectContentTypeHeader();null!==h&&o.setRequestHeader("Content-Type",h)}if(n.responseType){const h=n.responseType.toLowerCase();o.responseType="json"!==h?h:"text"}const i=n.serializeBody();let s=null;const a=()=>{if(null!==s)return s;const h=1223===o.status?204:o.status,p=o.statusText||"OK",m=new Vn(o.getAllResponseHeaders()),g=function(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(o)||n.url;return s=new Vf({headers:m,status:h,statusText:p,url:g}),s},l=()=>{let{headers:h,status:p,statusText:m,url:g}=a(),v=null;204!==p&&(v=void 0===o.response?o.responseText:o.response),0===p&&(p=v?200:0);let y=p>=200&&p<300;if("json"===n.responseType&&"string"==typeof v){const M=v;v=v.replace(UP,"");try{v=""!==v?JSON.parse(v):null}catch(S){v=M,y&&(y=!1,v={error:S,text:v})}}y?(r.next(new Il({body:v,headers:h,status:p,statusText:m,url:g||void 0})),r.complete()):r.error(new gD({error:v,headers:h,status:p,statusText:m,url:g||void 0}))},u=h=>{const{url:p}=a(),m=new gD({error:h,status:o.status||0,statusText:o.statusText||"Unknown Error",url:p||void 0});r.error(m)};let c=!1;const d=h=>{c||(r.next(a()),c=!0);let p={type:Se.DownloadProgress,loaded:h.loaded};h.lengthComputable&&(p.total=h.total),"text"===n.responseType&&!!o.responseText&&(p.partialText=o.responseText),r.next(p)},f=h=>{let p={type:Se.UploadProgress,loaded:h.loaded};h.lengthComputable&&(p.total=h.total),r.next(p)};return o.addEventListener("load",l),o.addEventListener("error",u),o.addEventListener("timeout",u),o.addEventListener("abort",u),n.reportProgress&&(o.addEventListener("progress",d),null!==i&&o.upload&&o.upload.addEventListener("progress",f)),o.send(i),r.next({type:Se.Sent}),()=>{o.removeEventListener("error",u),o.removeEventListener("abort",u),o.removeEventListener("load",l),o.removeEventListener("timeout",u),n.reportProgress&&(o.removeEventListener("progress",d),null!==i&&o.upload&&o.upload.removeEventListener("progress",f)),o.readyState!==o.DONE&&o.abort()}})}}return t.\u0275fac=function(n){return new(n||t)(b(Kv))},t.\u0275prov=O({token:t,factory:t.\u0275fac}),t})();const Uf=new G("XSRF_COOKIE_NAME"),Bf=new G("XSRF_HEADER_NAME");class CD{}let HP=(()=>{class t{constructor(n,r,o){this.doc=n,this.platform=r,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=Bv(n,this.cookieName),this.lastCookieString=n),this.lastToken}}return t.\u0275fac=function(n){return new(n||t)(b(Be),b(Ya),b(Uf))},t.\u0275prov=O({token:t,factory:t.\u0275fac}),t})(),Hf=(()=>{class t{constructor(n,r){this.tokenService=n,this.headerName=r}intercept(n,r){const o=n.url.toLowerCase();if("GET"===n.method||"HEAD"===n.method||o.startsWith("http://")||o.startsWith("https://"))return r.handle(n);const i=this.tokenService.getToken();return null!==i&&!n.headers.has(this.headerName)&&(n=n.clone({headers:n.headers.set(this.headerName,i)})),r.handle(n)}}return t.\u0275fac=function(n){return new(n||t)(b(CD),b(Bf))},t.\u0275prov=O({token:t,factory:t.\u0275fac}),t})(),$P=(()=>{class t{constructor(n,r){this.backend=n,this.injector=r,this.chain=null}handle(n){if(null===this.chain){const r=this.injector.get(yD,[]);this.chain=r.reduceRight((o,i)=>new mD(o,i),this.backend)}return this.chain.handle(n)}}return t.\u0275fac=function(n){return new(n||t)(b(uD),b(ne))},t.\u0275prov=O({token:t,factory:t.\u0275fac}),t})(),GP=(()=>{class t{static disable(){return{ngModule:t,providers:[{provide:Hf,useClass:jP}]}}static withOptions(n={}){return{ngModule:t,providers:[n.cookieName?{provide:Uf,useValue:n.cookieName}:[],n.headerName?{provide:Bf,useValue:n.headerName}:[]]}}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=pt({type:t}),t.\u0275inj=et({providers:[Hf,{provide:yD,useExisting:Hf,multi:!0},{provide:CD,useClass:HP},{provide:Uf,useValue:"XSRF-TOKEN"},{provide:Bf,useValue:"X-XSRF-TOKEN"}]}),t})(),WP=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=pt({type:t}),t.\u0275inj=et({providers:[jf,{provide:lD,useClass:$P},_D,{provide:uD,useExisting:_D}],imports:[[GP.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),t})();class rn extends bn{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){const n=super._subscribe(e);return n&&!n.closed&&e.next(this._value),n}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new Hr;return this._value}next(e){super.next(this._value=e)}}class qP extends pe{notifyNext(e,n,r,o,i){this.destination.next(n)}notifyError(e,n){this.destination.error(e)}notifyComplete(e){this.destination.complete()}}class zP extends pe{constructor(e,n,r){super(),this.parent=e,this.outerValue=n,this.outerIndex=r,this.index=0}_next(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)}_error(e){this.parent.notifyError(e,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}function QP(t,e,n,r,o=new zP(t,n,r)){if(!o.closed)return e instanceof ce?e.subscribe(o):ou(e)(o)}const vD={};class JP{constructor(e){this.resultSelector=e}call(e,n){return n.subscribe(new YP(e,this.resultSelector))}}class YP extends qP{constructor(e,n){super(e),this.resultSelector=n,this.active=0,this.values=[],this.observables=[]}_next(e){this.values.push(vD),this.observables.push(e)}_complete(){const e=this.observables,n=e.length;if(0===n)this.destination.complete();else{this.active=n,this.toRespond=n;for(let r=0;r<n;r++)this.add(QP(this,e[r],void 0,r))}}notifyComplete(e){0==(this.active-=1)&&this.destination.complete()}notifyNext(e,n,r){const o=this.values,s=this.toRespond?o[r]===vD?--this.toRespond:this.toRespond:0;o[r]=n,0===s&&(this.resultSelector?this._tryResultSelector(o):this.destination.next(o.slice()))}_tryResultSelector(e){let n;try{n=this.resultSelector.apply(this,e)}catch(r){return void this.destination.error(r)}this.destination.next(n)}}const Al=(()=>{function t(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return t.prototype=Object.create(Error.prototype),t})();function $f(...t){return ii(1)(U(...t))}const qo=new ce(t=>t.complete());function Gf(t){return t?function(t){return new ce(e=>t.schedule(()=>e.complete()))}(t):qo}function DD(t){return new ce(e=>{let n;try{n=t()}catch(o){return void e.error(o)}return(n?He(n):Gf()).subscribe(e)})}function or(t,e){return"function"==typeof e?n=>n.pipe(or((r,o)=>He(t(r,o)).pipe(X((i,s)=>e(r,i,o,s))))):n=>n.lift(new ek(t))}class ek{constructor(e){this.project=e}call(e,n){return n.subscribe(new tk(e,this.project))}}class tk extends au{constructor(e,n){super(e),this.project=n,this.index=0}_next(e){let n;const r=this.index++;try{n=this.project(e,r)}catch(o){return void this.destination.error(o)}this._innerSub(n)}_innerSub(e){const n=this.innerSubscription;n&&n.unsubscribe();const r=new su(this),o=this.destination;o.add(r),this.innerSubscription=lu(e,r),this.innerSubscription!==r&&o.add(this.innerSubscription)}_complete(){const{innerSubscription:e}=this;(!e||e.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(e){this.destination.next(e)}}const ED=(()=>{function t(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return t.prototype=Object.create(Error.prototype),t})();function Wf(t){return e=>0===t?Gf():e.lift(new nk(t))}class nk{constructor(e){if(this.total=e,this.total<0)throw new ED}call(e,n){return n.subscribe(new rk(e,this.total))}}class rk extends pe{constructor(e,n){super(e),this.total=n,this.count=0}_next(e){const n=this.total,r=++this.count;r<=n&&(this.destination.next(e),r===n&&(this.destination.complete(),this.unsubscribe()))}}function bD(t,e){let n=!1;return arguments.length>=2&&(n=!0),function(o){return o.lift(new ik(t,e,n))}}class ik{constructor(e,n,r=!1){this.accumulator=e,this.seed=n,this.hasSeed=r}call(e,n){return n.subscribe(new sk(e,this.accumulator,this.seed,this.hasSeed))}}class sk extends pe{constructor(e,n,r,o){super(e),this.accumulator=n,this._seed=r,this.hasSeed=o,this.index=0}get seed(){return this._seed}set seed(e){this.hasSeed=!0,this._seed=e}_next(e){if(this.hasSeed)return this._tryNext(e);this.seed=e,this.destination.next(e)}_tryNext(e){const n=this.index++;let r;try{r=this.accumulator(this.seed,e,n)}catch(o){this.destination.error(o)}this.seed=r,this.destination.next(r)}}function Fr(t){return function(n){const r=new ak(t),o=n.lift(r);return r.caught=o}}class ak{constructor(e){this.selector=e}call(e,n){return n.subscribe(new lk(e,this.selector,this.caught))}}class lk extends au{constructor(e,n,r){super(e),this.selector=n,this.caught=r}error(e){if(!this.isStopped){let n;try{n=this.selector(e,this.caught)}catch(i){return void super.error(i)}this._unsubscribeAndRecycle();const r=new su(this);this.add(r);const o=lu(n,r);o!==r&&this.add(o)}}}function qf(t){return function(n){return 0===t?Gf():n.lift(new uk(t))}}class uk{constructor(e){if(this.total=e,this.total<0)throw new ED}call(e,n){return n.subscribe(new ck(e,this.total))}}class ck extends pe{constructor(e,n){super(e),this.total=n,this.ring=new Array,this.count=0}_next(e){const n=this.ring,r=this.total,o=this.count++;n.length<r?n.push(e):n[o%r]=e}_complete(){const e=this.destination;let n=this.count;if(n>0){const r=this.count>=this.total?this.total:this.count,o=this.ring;for(let i=0;i<r;i++){const s=n++%r;e.next(o[s])}}e.complete()}}function wD(t=hk){return e=>e.lift(new dk(t))}class dk{constructor(e){this.errorFactory=e}call(e,n){return n.subscribe(new fk(e,this.errorFactory))}}class fk extends pe{constructor(e,n){super(e),this.errorFactory=n,this.hasValue=!1}_next(e){this.hasValue=!0,this.destination.next(e)}_complete(){if(this.hasValue)return this.destination.complete();{let e;try{e=this.errorFactory()}catch(n){e=n}this.destination.error(e)}}}function hk(){return new Al}function MD(t=null){return e=>e.lift(new pk(t))}class pk{constructor(e){this.defaultValue=e}call(e,n){return n.subscribe(new gk(e,this.defaultValue))}}class gk extends pe{constructor(e,n){super(e),this.defaultValue=n,this.isEmpty=!0}_next(e){this.isEmpty=!1,this.destination.next(e)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}function zo(t,e){const n=arguments.length>=2;return r=>r.pipe(t?Nr((o,i)=>t(o,i,r)):Ls,Wf(1),n?MD(e):wD(()=>new Al))}function ir(){}function Et(t,e,n){return function(o){return o.lift(new yk(t,e,n))}}class yk{constructor(e,n,r){this.nextOrObserver=e,this.error=n,this.complete=r}call(e,n){return n.subscribe(new _k(e,this.nextOrObserver,this.error,this.complete))}}class _k extends pe{constructor(e,n,r,o){super(e),this._tapNext=ir,this._tapError=ir,this._tapComplete=ir,this._tapError=r||ir,this._tapComplete=o||ir,En(n)?(this._context=this,this._tapNext=n):n&&(this._context=n,this._tapNext=n.next||ir,this._tapError=n.error||ir,this._tapComplete=n.complete||ir)}_next(e){try{this._tapNext.call(this._context,e)}catch(n){return void this.destination.error(n)}this.destination.next(e)}_error(e){try{this._tapError.call(this._context,e)}catch(n){return void this.destination.error(n)}this.destination.error(e)}_complete(){try{this._tapComplete.call(this._context)}catch(e){return void this.destination.error(e)}return this.destination.complete()}}class vk{constructor(e){this.callback=e}call(e,n){return n.subscribe(new Dk(e,this.callback))}}class Dk extends pe{constructor(e,n){super(e),this.add(new _e(n))}}class Ln{constructor(e,n){this.id=e,this.url=n}}class zf extends Ln{constructor(e,n,r="imperative",o=null){super(e,n),this.navigationTrigger=r,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class ms extends Ln{constructor(e,n,r){super(e,n),this.urlAfterRedirects=r}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class ID extends Ln{constructor(e,n,r){super(e,n),this.reason=r}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Ek extends Ln{constructor(e,n,r){super(e,n),this.error=r}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class bk extends Ln{constructor(e,n,r,o){super(e,n),this.urlAfterRedirects=r,this.state=o}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class wk extends Ln{constructor(e,n,r,o){super(e,n),this.urlAfterRedirects=r,this.state=o}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Mk extends Ln{constructor(e,n,r,o,i){super(e,n),this.urlAfterRedirects=r,this.state=o,this.shouldActivate=i}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Ik extends Ln{constructor(e,n,r,o){super(e,n),this.urlAfterRedirects=r,this.state=o}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ak extends Ln{constructor(e,n,r,o){super(e,n),this.urlAfterRedirects=r,this.state=o}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class AD{constructor(e){this.route=e}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class SD{constructor(e){this.route=e}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Sk{constructor(e){this.snapshot=e}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Tk{constructor(e){this.snapshot=e}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Rk{constructor(e){this.snapshot=e}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class xk{constructor(e){this.snapshot=e}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class TD{constructor(e,n,r){this.routerEvent=e,this.position=n,this.anchor=r}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const Q="primary";class Nk{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){const n=this.params[e];return Array.isArray(n)?n[0]:n}return null}getAll(e){if(this.has(e)){const n=this.params[e];return Array.isArray(n)?n:[n]}return[]}get keys(){return Object.keys(this.params)}}function Qo(t){return new Nk(t)}const RD="ngNavigationCancelingError";function Qf(t){const e=Error("NavigationCancelingError: "+t);return e[RD]=!0,e}function Ok(t,e,n){const r=n.path.split("/");if(r.length>t.length||"full"===n.pathMatch&&(e.hasChildren()||r.length<t.length))return null;const o={};for(let i=0;i<r.length;i++){const s=r[i],a=t[i];if(s.startsWith(":"))o[s.substring(1)]=a;else if(s!==a.path)return null}return{consumed:t.slice(0,r.length),posParams:o}}function Cn(t,e){const n=t?Object.keys(t):void 0,r=e?Object.keys(e):void 0;if(!n||!r||n.length!=r.length)return!1;let o;for(let i=0;i<n.length;i++)if(o=n[i],!xD(t[o],e[o]))return!1;return!0}function xD(t,e){if(Array.isArray(t)&&Array.isArray(e)){if(t.length!==e.length)return!1;const n=[...t].sort(),r=[...e].sort();return n.every((o,i)=>r[i]===o)}return t===e}function ND(t){return Array.prototype.concat.apply([],t)}function FD(t){return t.length>0?t[t.length-1]:null}function Ge(t,e){for(const n in t)t.hasOwnProperty(n)&&e(t[n],n)}function vn(t){return Na(t)?t:Vi(t)?He(Promise.resolve(t)):U(t)}const Vk={exact:function kD(t,e,n){if(!Pr(t.segments,e.segments)||!Sl(t.segments,e.segments,n)||t.numberOfChildren!==e.numberOfChildren)return!1;for(const r in e.children)if(!t.children[r]||!kD(t.children[r],e.children[r],n))return!1;return!0},subset:VD},OD={exact:function(t,e){return Cn(t,e)},subset:function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(n=>xD(t[n],e[n]))},ignored:()=>!0};function PD(t,e,n){return Vk[n.paths](t.root,e.root,n.matrixParams)&&OD[n.queryParams](t.queryParams,e.queryParams)&&!("exact"===n.fragment&&t.fragment!==e.fragment)}function VD(t,e,n){return LD(t,e,e.segments,n)}function LD(t,e,n,r){if(t.segments.length>n.length){const o=t.segments.slice(0,n.length);return!(!Pr(o,n)||e.hasChildren()||!Sl(o,n,r))}if(t.segments.length===n.length){if(!Pr(t.segments,n)||!Sl(t.segments,n,r))return!1;for(const o in e.children)if(!t.children[o]||!VD(t.children[o],e.children[o],r))return!1;return!0}{const o=n.slice(0,t.segments.length),i=n.slice(t.segments.length);return!!(Pr(t.segments,o)&&Sl(t.segments,o,r)&&t.children[Q])&&LD(t.children[Q],e,i,r)}}function Sl(t,e,n){return e.every((r,o)=>OD[n](t[o].parameters,r.parameters))}class Or{constructor(e,n,r){this.root=e,this.queryParams=n,this.fragment=r}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Qo(this.queryParams)),this._queryParamMap}toString(){return Hk.serialize(this)}}class J{constructor(e,n){this.segments=e,this.children=n,this.parent=null,Ge(n,(r,o)=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Tl(this)}}class ys{constructor(e,n){this.path=e,this.parameters=n}get parameterMap(){return this._parameterMap||(this._parameterMap=Qo(this.parameters)),this._parameterMap}toString(){return HD(this)}}function Pr(t,e){return t.length===e.length&&t.every((n,r)=>n.path===e[r].path)}class Kf{}class jD{parse(e){const n=new Yk(e);return new Or(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(e){const n=`/${_s(e.root,!0)}`,r=function(t){const e=Object.keys(t).map(n=>{const r=t[n];return Array.isArray(r)?r.map(o=>`${Rl(n)}=${Rl(o)}`).join("&"):`${Rl(n)}=${Rl(r)}`}).filter(n=>!!n);return e.length?`?${e.join("&")}`:""}(e.queryParams),o="string"==typeof e.fragment?`#${function(t){return encodeURI(t)}(e.fragment)}`:"";return`${n}${r}${o}`}}const Hk=new jD;function Tl(t){return t.segments.map(e=>HD(e)).join("/")}function _s(t,e){if(!t.hasChildren())return Tl(t);if(e){const n=t.children[Q]?_s(t.children[Q],!1):"",r=[];return Ge(t.children,(o,i)=>{i!==Q&&r.push(`${i}:${_s(o,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}{const n=function(t,e){let n=[];return Ge(t.children,(r,o)=>{o===Q&&(n=n.concat(e(r,o)))}),Ge(t.children,(r,o)=>{o!==Q&&(n=n.concat(e(r,o)))}),n}(t,(r,o)=>o===Q?[_s(t.children[Q],!1)]:[`${o}:${_s(r,!1)}`]);return 1===Object.keys(t.children).length&&null!=t.children[Q]?`${Tl(t)}/${n[0]}`:`${Tl(t)}/(${n.join("//")})`}}function UD(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Rl(t){return UD(t).replace(/%3B/gi,";")}function Jf(t){return UD(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function xl(t){return decodeURIComponent(t)}function BD(t){return xl(t.replace(/\+/g,"%20"))}function HD(t){return`${Jf(t.path)}${function(t){return Object.keys(t).map(e=>`;${Jf(e)}=${Jf(t[e])}`).join("")}(t.parameters)}`}const qk=/^[^\/()?;=#]+/;function Nl(t){const e=t.match(qk);return e?e[0]:""}const zk=/^[^=?&#]+/,Kk=/^[^?&#]+/;class Yk{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new J([],{}):new J([],this.parseChildren())}parseQueryParams(){const 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("/");const e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let n={};this.peekStartsWith("/(")&&(this.capture("/"),n=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(e.length>0||Object.keys(n).length>0)&&(r[Q]=new J(e,n)),r}parseSegment(){const e=Nl(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(e),new ys(xl(e),this.parseMatrixParams())}parseMatrixParams(){const e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){const n=Nl(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){const o=Nl(this.remaining);o&&(r=o,this.capture(r))}e[xl(n)]=xl(r)}parseQueryParam(e){const n=function(t){const e=t.match(zk);return e?e[0]:""}(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){const s=function(t){const e=t.match(Kk);return e?e[0]:""}(this.remaining);s&&(r=s,this.capture(r))}const o=BD(n),i=BD(r);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){const n={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const r=Nl(this.remaining),o=this.remaining[r.length];if("/"!==o&&")"!==o&&";"!==o)throw new Error(`Cannot parse url '${this.url}'`);let i;r.indexOf(":")>-1?(i=r.substr(0,r.indexOf(":")),this.capture(i),this.capture(":")):e&&(i=Q);const s=this.parseChildren();n[i]=1===Object.keys(s).length?s[Q]:new J([],s),this.consumeOptional("//")}return n}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return!!this.peekStartsWith(e)&&(this.remaining=this.remaining.substring(e.length),!0)}capture(e){if(!this.consumeOptional(e))throw new Error(`Expected "${e}".`)}}class $D{constructor(e){this._root=e}get root(){return this._root.value}parent(e){const n=this.pathFromRoot(e);return n.length>1?n[n.length-2]:null}children(e){const n=Yf(e,this._root);return n?n.children.map(r=>r.value):[]}firstChild(e){const n=Yf(e,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(e){const n=Zf(e,this._root);return n.length<2?[]:n[n.length-2].children.map(o=>o.value).filter(o=>o!==e)}pathFromRoot(e){return Zf(e,this._root).map(n=>n.value)}}function Yf(t,e){if(t===e.value)return e;for(const n of e.children){const r=Yf(t,n);if(r)return r}return null}function Zf(t,e){if(t===e.value)return[e];for(const n of e.children){const r=Zf(t,n);if(r.length)return r.unshift(e),r}return[]}class jn{constructor(e,n){this.value=e,this.children=n}toString(){return`TreeNode(${this.value})`}}function Cs(t){const e={};return t&&t.children.forEach(n=>e[n.value.outlet]=n),e}class GD extends $D{constructor(e,n){super(e),this.snapshot=n,Xf(this,e)}toString(){return this.snapshot.toString()}}function WD(t,e){const n=function(t,e){const s=new Fl([],{},{},"",{},Q,e,null,t.root,-1,{});return new zD("",new jn(s,[]))}(t,e),r=new rn([new ys("",{})]),o=new rn({}),i=new rn({}),s=new rn({}),a=new rn(""),l=new Un(r,o,s,a,i,Q,e,n.root);return l.snapshot=n.root,new GD(new jn(l,[]),n)}class Un{constructor(e,n,r,o,i,s,a,l){this.url=e,this.params=n,this.queryParams=r,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this._futureSnapshot=l}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._paramMap=this.params.pipe(X(e=>Qo(e)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(X(e=>Qo(e)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function qD(t,e="emptyOnly"){const n=t.pathFromRoot;let r=0;if("always"!==e)for(r=n.length-1;r>=1;){const o=n[r],i=n[r-1];if(o.routeConfig&&""===o.routeConfig.path)r--;else{if(i.component)break;r--}}return function(t){return t.reduce((e,n)=>({params:Object.assign(Object.assign({},e.params),n.params),data:Object.assign(Object.assign({},e.data),n.data),resolve:Object.assign(Object.assign({},e.resolve),n._resolvedData)}),{params:{},data:{},resolve:{}})}(n.slice(r))}class Fl{constructor(e,n,r,o,i,s,a,l,u,c,d){this.url=e,this.params=n,this.queryParams=r,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this.routeConfig=l,this._urlSegment=u,this._lastPathIndex=c,this._resolve=d}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._paramMap=Qo(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Qo(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(r=>r.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class zD extends $D{constructor(e,n){super(n),this.url=e,Xf(this,n)}toString(){return QD(this._root)}}function Xf(t,e){e.value._routerState=t,e.children.forEach(n=>Xf(t,n))}function QD(t){const e=t.children.length>0?` { ${t.children.map(QD).join(", ")} } `:"";return`${t.value}${e}`}function eh(t){if(t.snapshot){const e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,Cn(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),Cn(e.params,n.params)||t.params.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(let n=0;n<t.length;++n)if(!Cn(t[n],e[n]))return!1;return!0}(e.url,n.url)||t.url.next(n.url),Cn(e.data,n.data)||t.data.next(n.data)}else t.snapshot=t._futureSnapshot,t.data.next(t._futureSnapshot.data)}function th(t,e){const n=Cn(t.params,e.params)&&function(t,e){return Pr(t,e)&&t.every((n,r)=>Cn(n.parameters,e[r].parameters))}(t.url,e.url);return n&&!(!t.parent!=!e.parent)&&(!t.parent||th(t.parent,e.parent))}function Ol(t,e,n){if(n&&t.shouldReuseRoute(e.value,n.value.snapshot)){const r=n.value;r._futureSnapshot=e.value;const o=function(t,e,n){return e.children.map(r=>{for(const o of n.children)if(t.shouldReuseRoute(r.value,o.value.snapshot))return Ol(t,r,o);return Ol(t,r)})}(t,e,n);return new jn(r,o)}{if(t.shouldAttach(e.value)){const i=t.retrieve(e.value);if(null!==i){const s=i.route;return KD(e,s),s}}const r=function(t){return new Un(new rn(t.url),new rn(t.params),new rn(t.queryParams),new rn(t.fragment),new rn(t.data),t.outlet,t.component,t)}(e.value),o=e.children.map(i=>Ol(t,i));return new jn(r,o)}}function KD(t,e){if(t.value.routeConfig!==e.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(t.children.length!==e.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");e.value._futureSnapshot=t.value;for(let n=0;n<t.children.length;++n)KD(t.children[n],e.children[n])}function Pl(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function vs(t){return"object"==typeof t&&null!=t&&t.outlets}function nh(t,e,n,r,o){let i={};return r&&Ge(r,(s,a)=>{i[a]=Array.isArray(s)?s.map(l=>`${l}`):`${s}`}),new Or(n.root===t?e:JD(n.root,t,e),i,o)}function JD(t,e,n){const r={};return Ge(t.children,(o,i)=>{r[i]=o===e?n:JD(o,e,n)}),new J(t.segments,r)}class YD{constructor(e,n,r){if(this.isAbsolute=e,this.numberOfDoubleDots=n,this.commands=r,e&&r.length>0&&Pl(r[0]))throw new Error("Root segment cannot have matrix parameters");const o=r.find(vs);if(o&&o!==FD(r))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class rh{constructor(e,n,r){this.segmentGroup=e,this.processChildren=n,this.index=r}}function ZD(t,e,n){if(t||(t=new J([],{})),0===t.segments.length&&t.hasChildren())return kl(t,e,n);const r=function(t,e,n){let r=0,o=e;const i={match:!1,pathIndex:0,commandIndex:0};for(;o<t.segments.length;){if(r>=n.length)return i;const s=t.segments[o],a=n[r];if(vs(a))break;const l=`${a}`,u=r<n.length-1?n[r+1]:null;if(o>0&&void 0===l)break;if(l&&u&&"object"==typeof u&&void 0===u.outlets){if(!eE(l,u,s))return i;r+=2}else{if(!eE(l,{},s))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}(t,e,n),o=n.slice(r.commandIndex);if(r.match&&r.pathIndex<t.segments.length){const i=new J(t.segments.slice(0,r.pathIndex),{});return i.children[Q]=new J(t.segments.slice(r.pathIndex),t.children),kl(i,0,o)}return r.match&&0===o.length?new J(t.segments,{}):r.match&&!t.hasChildren()?oh(t,e,n):r.match?kl(t,0,o):oh(t,e,n)}function kl(t,e,n){if(0===n.length)return new J(t.segments,{});{const r=function(t){return vs(t[0])?t[0].outlets:{[Q]:t}}(n),o={};return Ge(r,(i,s)=>{"string"==typeof i&&(i=[i]),null!==i&&(o[s]=ZD(t.children[s],e,i))}),Ge(t.children,(i,s)=>{void 0===r[s]&&(o[s]=i)}),new J(t.segments,o)}}function oh(t,e,n){const r=t.segments.slice(0,e);let o=0;for(;o<n.length;){const i=n[o];if(vs(i)){const l=uV(i.outlets);return new J(r,l)}if(0===o&&Pl(n[0])){r.push(new ys(t.segments[e].path,XD(n[0]))),o++;continue}const s=vs(i)?i.outlets[Q]:`${i}`,a=o<n.length-1?n[o+1]:null;s&&a&&Pl(a)?(r.push(new ys(s,XD(a))),o+=2):(r.push(new ys(s,{})),o++)}return new J(r,{})}function uV(t){const e={};return Ge(t,(n,r)=>{"string"==typeof n&&(n=[n]),null!==n&&(e[r]=oh(new J([],{}),0,n))}),e}function XD(t){const e={};return Ge(t,(n,r)=>e[r]=`${n}`),e}function eE(t,e,n){return t==n.path&&Cn(e,n.parameters)}class dV{constructor(e,n,r,o){this.routeReuseStrategy=e,this.futureState=n,this.currState=r,this.forwardEvent=o}activate(e){const n=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(n,r,e),eh(this.futureState.root),this.activateChildRoutes(n,r,e)}deactivateChildRoutes(e,n,r){const o=Cs(n);e.children.forEach(i=>{const s=i.value.outlet;this.deactivateRoutes(i,o[s],r),delete o[s]}),Ge(o,(i,s)=>{this.deactivateRouteAndItsChildren(i,r)})}deactivateRoutes(e,n,r){const o=e.value,i=n?n.value:null;if(o===i)if(o.component){const s=r.getContext(o.outlet);s&&this.deactivateChildRoutes(e,n,s.children)}else this.deactivateChildRoutes(e,n,r);else i&&this.deactivateRouteAndItsChildren(n,r)}deactivateRouteAndItsChildren(e,n){this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,n):this.deactivateRouteAndOutlet(e,n)}detachAndStoreRouteSubtree(e,n){const r=n.getContext(e.value.outlet);if(r&&r.outlet){const o=r.outlet.detach(),i=r.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:o,route:e,contexts:i})}}deactivateRouteAndOutlet(e,n){const r=n.getContext(e.value.outlet),o=r&&e.value.component?r.children:n,i=Cs(e);for(const s of Object.keys(i))this.deactivateRouteAndItsChildren(i[s],o);r&&r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated(),r.attachRef=null,r.resolver=null,r.route=null)}activateChildRoutes(e,n,r){const o=Cs(n);e.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],r),this.forwardEvent(new xk(i.value.snapshot))}),e.children.length&&this.forwardEvent(new Tk(e.value.snapshot))}activateRoutes(e,n,r){const o=e.value,i=n?n.value:null;if(eh(o),o===i)if(o.component){const s=r.getOrCreateContext(o.outlet);this.activateChildRoutes(e,n,s.children)}else this.activateChildRoutes(e,n,r);else if(o.component){const s=r.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){const 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),tE(a.route)}else{const a=function(t){for(let e=t.parent;e;e=e.parent){const n=e.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig;if(n&&n.component)return null}return null}(o.snapshot),l=a?a.module.componentFactoryResolver:null;s.attachRef=null,s.route=o,s.resolver=l,s.outlet&&s.outlet.activateWith(o,l),this.activateChildRoutes(e,null,s.children)}}else this.activateChildRoutes(e,null,r)}}function tE(t){eh(t.value),t.children.forEach(tE)}class ih{constructor(e,n){this.routes=e,this.module=n}}function sr(t){return"function"==typeof t}function kr(t){return t instanceof Or}const Ds=Symbol("INITIAL_VALUE");function Es(){return or(t=>function(...t){let e,n;return js(t[t.length-1])&&(n=t.pop()),"function"==typeof t[t.length-1]&&(e=t.pop()),1===t.length&&Ps(t[0])&&(t=t[0]),uu(t,n).lift(new JP(e))}(t.map(e=>e.pipe(Wf(1),function(...t){const e=t[t.length-1];return js(e)?(t.pop(),n=>$f(t,n,e)):n=>$f(t,n)}(Ds)))).pipe(bD((e,n)=>{let r=!1;return n.reduce((o,i,s)=>o!==Ds?o:(i===Ds&&(r=!0),r||!1!==i&&s!==n.length-1&&!kr(i)?o:i),e)},Ds),Nr(e=>e!==Ds),X(e=>kr(e)?e:!0===e),Wf(1)))}let nE=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=jt({type:t,selectors:[["ng-component"]],decls:1,vars:0,template:function(n,r){1&n&&ki(0,"router-outlet")},directives:function(){return[dh]},encapsulation:2}),t})();function rE(t,e=""){for(let n=0;n<t.length;n++){const r=t[n];_V(r,CV(e,r))}}function _V(t,e){t.children&&rE(t.children,e)}function CV(t,e){return e?t||e.path?t&&!e.path?`${t}/`:!t&&e.path?e.path:`${t}/${e.path}`:"":t}function sh(t){const e=t.children&&t.children.map(sh),n=e?Object.assign(Object.assign({},t),{children:e}):Object.assign({},t);return!n.component&&(e||n.loadChildren)&&n.outlet&&n.outlet!==Q&&(n.component=nE),n}function kt(t){return t.outlet||Q}function oE(t,e){const n=t.filter(r=>kt(r)===e);return n.push(...t.filter(r=>kt(r)!==e)),n}const iE={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function Vl(t,e,n){var r;if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||n.length>0)?Object.assign({},iE):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const i=(e.matcher||Ok)(n,t,e);if(!i)return Object.assign({},iE);const s={};Ge(i.posParams,(l,u)=>{s[u]=l.path});const a=i.consumed.length>0?Object.assign(Object.assign({},s),i.consumed[i.consumed.length-1].parameters):s;return{matched:!0,consumedSegments:i.consumed,lastChild:i.consumed.length,parameters:a,positionalParamSegments:null!==(r=i.posParams)&&void 0!==r?r:{}}}function Ll(t,e,n,r,o="corrected"){if(n.length>0&&function(t,e,n){return n.some(r=>jl(t,e,r)&&kt(r)!==Q)}(t,n,r)){const s=new J(e,function(t,e,n,r){const o={};o[Q]=r,r._sourceSegment=t,r._segmentIndexShift=e.length;for(const i of n)if(""===i.path&&kt(i)!==Q){const s=new J([],{});s._sourceSegment=t,s._segmentIndexShift=e.length,o[kt(i)]=s}return o}(t,e,r,new J(n,t.children)));return s._sourceSegment=t,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:[]}}if(0===n.length&&function(t,e,n){return n.some(r=>jl(t,e,r))}(t,n,r)){const s=new J(t.segments,function(t,e,n,r,o,i){const s={};for(const a of r)if(jl(t,n,a)&&!o[kt(a)]){const l=new J([],{});l._sourceSegment=t,l._segmentIndexShift="legacy"===i?t.segments.length:e.length,s[kt(a)]=l}return Object.assign(Object.assign({},o),s)}(t,e,n,r,t.children,o));return s._sourceSegment=t,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:n}}const i=new J(t.segments,t.children);return i._sourceSegment=t,i._segmentIndexShift=e.length,{segmentGroup:i,slicedSegments:n}}function jl(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path}function sE(t,e,n,r){return!!(kt(t)===r||r!==Q&&jl(e,n,t))&&("**"===t.path||Vl(e,t,n).matched)}function aE(t,e,n){return 0===e.length&&!t.children[n]}class bs{constructor(e){this.segmentGroup=e||null}}class lE{constructor(e){this.urlTree=e}}function Ul(t){return new ce(e=>e.error(new bs(t)))}function uE(t){return new ce(e=>e.error(new lE(t)))}function wV(t){return new ce(e=>e.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${t}'`)))}class AV{constructor(e,n,r,o,i){this.configLoader=n,this.urlSerializer=r,this.urlTree=o,this.config=i,this.allowRedirects=!0,this.ngModule=e.get(yn)}apply(){const e=Ll(this.urlTree.root,[],[],this.config).segmentGroup,n=new J(e.segments,e.children);return this.expandSegmentGroup(this.ngModule,this.config,n,Q).pipe(X(i=>this.createUrlTree(ah(i),this.urlTree.queryParams,this.urlTree.fragment))).pipe(Fr(i=>{if(i instanceof lE)return this.allowRedirects=!1,this.match(i.urlTree);throw i instanceof bs?this.noMatchError(i):i}))}match(e){return this.expandSegmentGroup(this.ngModule,this.config,e.root,Q).pipe(X(o=>this.createUrlTree(ah(o),e.queryParams,e.fragment))).pipe(Fr(o=>{throw o instanceof bs?this.noMatchError(o):o}))}noMatchError(e){return new Error(`Cannot match any routes. URL Segment: '${e.segmentGroup}'`)}createUrlTree(e,n,r){const o=e.segments.length>0?new J([],{[Q]:e}):e;return new Or(o,n,r)}expandSegmentGroup(e,n,r,o){return 0===r.segments.length&&r.hasChildren()?this.expandChildren(e,n,r).pipe(X(i=>new J([],i))):this.expandSegment(e,r,n,r.segments,o,!0)}expandChildren(e,n,r){const o=[];for(const i of Object.keys(r.children))"primary"===i?o.unshift(i):o.push(i);return He(o).pipe(Wo(i=>{const s=r.children[i],a=oE(n,i);return this.expandSegmentGroup(e,a,s,i).pipe(X(l=>({segment:l,outlet:i})))}),bD((i,s)=>(i[s.outlet]=s.segment,i),{}),function(t,e){const n=arguments.length>=2;return r=>r.pipe(t?Nr((o,i)=>t(o,i,r)):Ls,qf(1),n?MD(e):wD(()=>new Al))}())}expandSegment(e,n,r,o,i,s){return He(r).pipe(Wo(a=>this.expandSegmentAgainstRoute(e,n,r,a,o,i,s).pipe(Fr(u=>{if(u instanceof bs)return U(null);throw u}))),zo(a=>!!a),Fr((a,l)=>{if(a instanceof Al||"EmptyError"===a.name){if(aE(n,o,i))return U(new J([],{}));throw new bs(n)}throw a}))}expandSegmentAgainstRoute(e,n,r,o,i,s,a){return sE(o,n,i,s)?void 0===o.redirectTo?this.matchSegmentAgainstRoute(e,n,o,i,s):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(e,n,r,o,i,s):Ul(n):Ul(n)}expandSegmentAgainstRouteUsingRedirect(e,n,r,o,i,s){return"**"===o.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(e,r,o,s):this.expandRegularSegmentAgainstRouteUsingRedirect(e,n,r,o,i,s)}expandWildCardWithParamsAgainstRouteUsingRedirect(e,n,r,o){const i=this.applyRedirectCommands([],r.redirectTo,{});return r.redirectTo.startsWith("/")?uE(i):this.lineralizeSegments(r,i).pipe($e(s=>{const a=new J(s,{});return this.expandSegment(e,a,n,s,o,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(e,n,r,o,i,s){const{matched:a,consumedSegments:l,lastChild:u,positionalParamSegments:c}=Vl(n,o,i);if(!a)return Ul(n);const d=this.applyRedirectCommands(l,o.redirectTo,c);return o.redirectTo.startsWith("/")?uE(d):this.lineralizeSegments(o,d).pipe($e(f=>this.expandSegment(e,n,r,f.concat(i.slice(u)),s,!1)))}matchSegmentAgainstRoute(e,n,r,o,i){if("**"===r.path)return r.loadChildren?(r._loadedConfig?U(r._loadedConfig):this.configLoader.load(e.injector,r)).pipe(X(f=>(r._loadedConfig=f,new J(o,{})))):U(new J(o,{}));const{matched:s,consumedSegments:a,lastChild:l}=Vl(n,r,o);if(!s)return Ul(n);const u=o.slice(l);return this.getChildConfig(e,r,o).pipe($e(d=>{const f=d.module,h=d.routes,{segmentGroup:p,slicedSegments:m}=Ll(n,a,u,h),g=new J(p.segments,p.children);if(0===m.length&&g.hasChildren())return this.expandChildren(f,h,g).pipe(X(S=>new J(a,S)));if(0===h.length&&0===m.length)return U(new J(a,{}));const v=kt(r)===i;return this.expandSegment(f,g,h,m,v?Q:i,!0).pipe(X(M=>new J(a.concat(M.segments),M.children)))}))}getChildConfig(e,n,r){return n.children?U(new ih(n.children,e)):n.loadChildren?void 0!==n._loadedConfig?U(n._loadedConfig):this.runCanLoadGuards(e.injector,n,r).pipe($e(o=>o?this.configLoader.load(e.injector,n).pipe(X(i=>(n._loadedConfig=i,i))):function(t){return new ce(e=>e.error(Qf(`Cannot load children because the guard of the route "path: '${t.path}'" returned false`)))}(n))):U(new ih([],e))}runCanLoadGuards(e,n,r){const o=n.canLoad;if(!o||0===o.length)return U(!0);const i=o.map(s=>{const a=e.get(s);let l;if(function(t){return t&&sr(t.canLoad)}(a))l=a.canLoad(n,r);else{if(!sr(a))throw new Error("Invalid CanLoad guard");l=a(n,r)}return vn(l)});return U(i).pipe(Es(),Et(s=>{if(!kr(s))return;const a=Qf(`Redirecting to "${this.urlSerializer.serialize(s)}"`);throw a.url=s,a}),X(s=>!0===s))}lineralizeSegments(e,n){let r=[],o=n.root;for(;;){if(r=r.concat(o.segments),0===o.numberOfChildren)return U(r);if(o.numberOfChildren>1||!o.children[Q])return wV(e.redirectTo);o=o.children[Q]}}applyRedirectCommands(e,n,r){return this.applyRedirectCreatreUrlTree(n,this.urlSerializer.parse(n),e,r)}applyRedirectCreatreUrlTree(e,n,r,o){const i=this.createSegmentGroup(e,n.root,r,o);return new Or(i,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}createQueryParams(e,n){const r={};return Ge(e,(o,i)=>{if("string"==typeof o&&o.startsWith(":")){const a=o.substring(1);r[i]=n[a]}else r[i]=o}),r}createSegmentGroup(e,n,r,o){const i=this.createSegments(e,n.segments,r,o);let s={};return Ge(n.children,(a,l)=>{s[l]=this.createSegmentGroup(e,a,r,o)}),new J(i,s)}createSegments(e,n,r,o){return n.map(i=>i.path.startsWith(":")?this.findPosParam(e,i,o):this.findOrReturn(i,r))}findPosParam(e,n,r){const o=r[n.path.substring(1)];if(!o)throw new Error(`Cannot redirect to '${e}'. Cannot find '${n.path}'.`);return o}findOrReturn(e,n){let r=0;for(const o of n){if(o.path===e.path)return n.splice(r),o;r++}return e}}function ah(t){const e={};for(const r of Object.keys(t.children)){const i=ah(t.children[r]);(i.segments.length>0||i.hasChildren())&&(e[r]=i)}return function(t){if(1===t.numberOfChildren&&t.children[Q]){const e=t.children[Q];return new J(t.segments.concat(e.segments),e.children)}return t}(new J(t.segments,e))}class cE{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}}class Bl{constructor(e,n){this.component=e,this.route=n}}function RV(t,e,n){const r=t._root;return ws(r,e?e._root:null,n,[r.value])}function Hl(t,e,n){const r=function(t){if(!t)return null;for(let e=t.parent;e;e=e.parent){const n=e.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig}return null}(e);return(r?r.module.injector:n).get(t)}function ws(t,e,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){const i=Cs(e);return t.children.forEach(s=>{(function(t,e,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){const i=t.value,s=e?e.value:null,a=n?n.getContext(t.value.outlet):null;if(s&&i.routeConfig===s.routeConfig){const l=function(t,e,n){if("function"==typeof n)return n(t,e);switch(n){case"pathParamsChange":return!Pr(t.url,e.url);case"pathParamsOrQueryParamsChange":return!Pr(t.url,e.url)||!Cn(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!th(t,e)||!Cn(t.queryParams,e.queryParams);default:return!th(t,e)}}(s,i,i.routeConfig.runGuardsAndResolvers);l?o.canActivateChecks.push(new cE(r)):(i.data=s.data,i._resolvedData=s._resolvedData),ws(t,e,i.component?a?a.children:null:n,r,o),l&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new Bl(a.outlet.component,s))}else s&&Ms(e,a,o),o.canActivateChecks.push(new cE(r)),ws(t,null,i.component?a?a.children:null:n,r,o)})(s,i[s.value.outlet],n,r.concat([s.value]),o),delete i[s.value.outlet]}),Ge(i,(s,a)=>Ms(s,n.getContext(a),o)),o}function Ms(t,e,n){const r=Cs(t),o=t.value;Ge(r,(i,s)=>{Ms(i,o.component?e?e.children.getContext(s):null:e,n)}),n.canDeactivateChecks.push(new Bl(o.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,o))}class $V{}function dE(t){return new ce(e=>e.error(t))}class WV{constructor(e,n,r,o,i,s){this.rootComponentType=e,this.config=n,this.urlTree=r,this.url=o,this.paramsInheritanceStrategy=i,this.relativeLinkResolution=s}recognize(){const e=Ll(this.urlTree.root,[],[],this.config.filter(s=>void 0===s.redirectTo),this.relativeLinkResolution).segmentGroup,n=this.processSegmentGroup(this.config,e,Q);if(null===n)return null;const r=new Fl([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},Q,this.rootComponentType,null,this.urlTree.root,-1,{}),o=new jn(r,n),i=new zD(this.url,o);return this.inheritParamsAndData(i._root),i}inheritParamsAndData(e){const n=e.value,r=qD(n,this.paramsInheritanceStrategy);n.params=Object.freeze(r.params),n.data=Object.freeze(r.data),e.children.forEach(o=>this.inheritParamsAndData(o))}processSegmentGroup(e,n,r){return 0===n.segments.length&&n.hasChildren()?this.processChildren(e,n):this.processSegment(e,n,n.segments,r)}processChildren(e,n){const r=[];for(const i of Object.keys(n.children)){const s=n.children[i],a=oE(e,i),l=this.processSegmentGroup(a,s,i);if(null===l)return null;r.push(...l)}const o=fE(r);return function(t){t.sort((e,n)=>e.value.outlet===Q?-1:n.value.outlet===Q?1:e.value.outlet.localeCompare(n.value.outlet))}(o),o}processSegment(e,n,r,o){for(const i of e){const s=this.processSegmentAgainstRoute(i,n,r,o);if(null!==s)return s}return aE(n,r,o)?[]:null}processSegmentAgainstRoute(e,n,r,o){if(e.redirectTo||!sE(e,n,r,o))return null;let i,s=[],a=[];if("**"===e.path){const h=r.length>0?FD(r).parameters:{};i=new Fl(r,h,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,gE(e),kt(e),e.component,e,hE(n),pE(n)+r.length,mE(e))}else{const h=Vl(n,e,r);if(!h.matched)return null;s=h.consumedSegments,a=r.slice(h.lastChild),i=new Fl(s,h.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,gE(e),kt(e),e.component,e,hE(n),pE(n)+s.length,mE(e))}const l=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(e),{segmentGroup:u,slicedSegments:c}=Ll(n,s,a,l.filter(h=>void 0===h.redirectTo),this.relativeLinkResolution);if(0===c.length&&u.hasChildren()){const h=this.processChildren(l,u);return null===h?null:[new jn(i,h)]}if(0===l.length&&0===c.length)return[new jn(i,[])];const d=kt(e)===o,f=this.processSegment(l,u,c,d?Q:o);return null===f?null:[new jn(i,f)]}}function QV(t){const e=t.value.routeConfig;return e&&""===e.path&&void 0===e.redirectTo}function fE(t){const e=[],n=new Set;for(const r of t){if(!QV(r)){e.push(r);continue}const o=e.find(i=>r.value.routeConfig===i.value.routeConfig);void 0!==o?(o.children.push(...r.children),n.add(o)):e.push(r)}for(const r of n){const o=fE(r.children);e.push(new jn(r.value,o))}return e.filter(r=>!n.has(r))}function hE(t){let e=t;for(;e._sourceSegment;)e=e._sourceSegment;return e}function pE(t){let e=t,n=e._segmentIndexShift?e._segmentIndexShift:0;for(;e._sourceSegment;)e=e._sourceSegment,n+=e._segmentIndexShift?e._segmentIndexShift:0;return n-1}function gE(t){return t.data||{}}function mE(t){return t.resolve||{}}function lh(t){return or(e=>{const n=t(e);return n?He(n).pipe(X(()=>e)):U(e)})}class nL extends class{shouldDetach(e){return!1}store(e,n){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,n){return e.routeConfig===n.routeConfig}}{}const uh=new G("ROUTES");class yE{constructor(e,n,r,o){this.loader=e,this.compiler=n,this.onLoadStartListener=r,this.onLoadEndListener=o}load(e,n){if(n._loader$)return n._loader$;this.onLoadStartListener&&this.onLoadStartListener(n);const o=this.loadModuleFactory(n.loadChildren).pipe(X(i=>{this.onLoadEndListener&&this.onLoadEndListener(n);const s=i.create(e);return new ih(ND(s.injector.get(uh,void 0,R.Self|R.Optional)).map(sh),s)}),Fr(i=>{throw n._loader$=void 0,i}));return n._loader$=new Jh(o,()=>new bn).pipe(cu()),n._loader$}loadModuleFactory(e){return"string"==typeof e?He(this.loader.load(e)):vn(e()).pipe($e(n=>n instanceof j_?U(n):He(this.compiler.compileModuleAsync(n))))}}class rL{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new Ko,this.attachRef=null}}class Ko{constructor(){this.contexts=new Map}onChildOutletCreated(e,n){const r=this.getOrCreateContext(e);r.outlet=n,this.contexts.set(e,r)}onChildOutletDestroyed(e){const n=this.getContext(e);n&&(n.outlet=null,n.attachRef=null)}onOutletDeactivated(){const e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let n=this.getContext(e);return n||(n=new rL,this.contexts.set(e,n)),n}getContext(e){return this.contexts.get(e)||null}}class iL{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,n){return e}}function sL(t){throw t}function aL(t,e,n){return e.parse("/")}function _E(t,e){return U(null)}const lL={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},uL={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Te=(()=>{class t{constructor(n,r,o,i,s,a,l,u){this.rootComponentType=n,this.urlSerializer=r,this.rootContexts=o,this.location=i,this.config=u,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.lastLocationChangeInfo=null,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new bn,this.errorHandler=sL,this.malformedUriErrorHandler=aL,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:_E,afterPreactivation:_E},this.urlHandlingStrategy=new iL,this.routeReuseStrategy=new nL,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=s.get(yn),this.console=s.get(Za);const f=s.get(Me);this.isNgZoneEnabled=f instanceof Me&&Me.isInAngularZone(),this.resetConfig(u),this.currentUrlTree=new Or(new J([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new yE(a,l,h=>this.triggerEvent(new AD(h)),h=>this.triggerEvent(new SD(h))),this.routerState=WD(this.currentUrlTree,this.rootComponentType),this.transitions=new rn({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){var n;return null===(n=this.location.getState())||void 0===n?void 0:n.\u0275routerPageId}setupNavigations(n){const r=this.events;return n.pipe(Nr(o=>0!==o.id),X(o=>Object.assign(Object.assign({},o),{extractedUrl:this.urlHandlingStrategy.extract(o.rawUrl)})),or(o=>{let i=!1,s=!1;return U(o).pipe(Et(a=>{this.currentNavigation={id:a.id,initialUrl:a.currentRawUrl,extractedUrl:a.extractedUrl,trigger:a.source,extras:a.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),or(a=>{const l=this.browserUrlTree.toString(),u=!this.navigated||a.extractedUrl.toString()!==l||l!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||u)&&this.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return $l(a.source)&&(this.browserUrlTree=a.extractedUrl),U(a).pipe(or(d=>{const f=this.transitions.getValue();return r.next(new zf(d.id,this.serializeUrl(d.extractedUrl),d.source,d.restoredState)),f!==this.transitions.getValue()?qo:Promise.resolve(d)}),function(t,e,n,r){return or(o=>function(t,e,n,r,o){return new AV(t,e,n,r,o).apply()}(t,e,n,o.extractedUrl,r).pipe(X(i=>Object.assign(Object.assign({},o),{urlAfterRedirects:i}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),Et(d=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:d.urlAfterRedirects})}),function(t,e,n,r,o){return $e(i=>function(t,e,n,r,o="emptyOnly",i="legacy"){try{const s=new WV(t,e,n,r,o,i).recognize();return null===s?dE(new $V):U(s)}catch(s){return dE(s)}}(t,e,i.urlAfterRedirects,n(i.urlAfterRedirects),r,o).pipe(X(s=>Object.assign(Object.assign({},i),{targetSnapshot:s}))))}(this.rootComponentType,this.config,d=>this.serializeUrl(d),this.paramsInheritanceStrategy,this.relativeLinkResolution),Et(d=>{"eager"===this.urlUpdateStrategy&&(d.extras.skipLocationChange||this.setBrowserUrl(d.urlAfterRedirects,d),this.browserUrlTree=d.urlAfterRedirects);const f=new bk(d.id,this.serializeUrl(d.extractedUrl),this.serializeUrl(d.urlAfterRedirects),d.targetSnapshot);r.next(f)}));if(u&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:f,extractedUrl:h,source:p,restoredState:m,extras:g}=a,v=new zf(f,this.serializeUrl(h),p,m);r.next(v);const y=WD(h,this.rootComponentType).snapshot;return U(Object.assign(Object.assign({},a),{targetSnapshot:y,urlAfterRedirects:h,extras:Object.assign(Object.assign({},g),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=a.rawUrl,this.browserUrlTree=a.urlAfterRedirects,a.resolve(null),qo}),lh(a=>{const{targetSnapshot:l,id:u,extractedUrl:c,rawUrl:d,extras:{skipLocationChange:f,replaceUrl:h}}=a;return this.hooks.beforePreactivation(l,{navigationId:u,appliedUrlTree:c,rawUrlTree:d,skipLocationChange:!!f,replaceUrl:!!h})}),Et(a=>{const l=new wk(a.id,this.serializeUrl(a.extractedUrl),this.serializeUrl(a.urlAfterRedirects),a.targetSnapshot);this.triggerEvent(l)}),X(a=>Object.assign(Object.assign({},a),{guards:RV(a.targetSnapshot,a.currentSnapshot,this.rootContexts)})),function(t,e){return $e(n=>{const{targetSnapshot:r,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=n;return 0===s.length&&0===i.length?U(Object.assign(Object.assign({},n),{guardsResult:!0})):function(t,e,n,r){return He(t).pipe($e(o=>function(t,e,n,r,o){const i=e&&e.routeConfig?e.routeConfig.canDeactivate:null;return i&&0!==i.length?U(i.map(a=>{const l=Hl(a,e,o);let u;if(function(t){return t&&sr(t.canDeactivate)}(l))u=vn(l.canDeactivate(t,e,n,r));else{if(!sr(l))throw new Error("Invalid CanDeactivate guard");u=vn(l(t,e,n,r))}return u.pipe(zo())})).pipe(Es()):U(!0)}(o.component,o.route,n,e,r)),zo(o=>!0!==o,!0))}(s,r,o,t).pipe($e(a=>a&&function(t){return"boolean"==typeof t}(a)?function(t,e,n,r){return He(e).pipe(Wo(o=>$f(function(t,e){return null!==t&&e&&e(new Sk(t)),U(!0)}(o.route.parent,r),function(t,e){return null!==t&&e&&e(new Rk(t)),U(!0)}(o.route,r),function(t,e,n){const r=e[e.length-1],i=e.slice(0,e.length-1).reverse().map(s=>function(t){const e=t.routeConfig?t.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:t,guards:e}:null}(s)).filter(s=>null!==s).map(s=>DD(()=>U(s.guards.map(l=>{const u=Hl(l,s.node,n);let c;if(function(t){return t&&sr(t.canActivateChild)}(u))c=vn(u.canActivateChild(r,t));else{if(!sr(u))throw new Error("Invalid CanActivateChild guard");c=vn(u(r,t))}return c.pipe(zo())})).pipe(Es())));return U(i).pipe(Es())}(t,o.path,n),function(t,e,n){const r=e.routeConfig?e.routeConfig.canActivate:null;if(!r||0===r.length)return U(!0);const o=r.map(i=>DD(()=>{const s=Hl(i,e,n);let a;if(function(t){return t&&sr(t.canActivate)}(s))a=vn(s.canActivate(e,t));else{if(!sr(s))throw new Error("Invalid CanActivate guard");a=vn(s(e,t))}return a.pipe(zo())}));return U(o).pipe(Es())}(t,o.route,n))),zo(o=>!0!==o,!0))}(r,i,t,e):U(a)),X(a=>Object.assign(Object.assign({},n),{guardsResult:a})))})}(this.ngModule.injector,a=>this.triggerEvent(a)),Et(a=>{if(kr(a.guardsResult)){const u=Qf(`Redirecting to "${this.serializeUrl(a.guardsResult)}"`);throw u.url=a.guardsResult,u}const l=new Mk(a.id,this.serializeUrl(a.extractedUrl),this.serializeUrl(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);this.triggerEvent(l)}),Nr(a=>!!a.guardsResult||(this.restoreHistory(a),this.cancelNavigationTransition(a,""),!1)),lh(a=>{if(a.guards.canActivateChecks.length)return U(a).pipe(Et(l=>{const u=new Ik(l.id,this.serializeUrl(l.extractedUrl),this.serializeUrl(l.urlAfterRedirects),l.targetSnapshot);this.triggerEvent(u)}),or(l=>{let u=!1;return U(l).pipe(function(t,e){return $e(n=>{const{targetSnapshot:r,guards:{canActivateChecks:o}}=n;if(!o.length)return U(n);let i=0;return He(o).pipe(Wo(s=>function(t,e,n,r){return function(t,e,n,r){const o=Object.keys(t);if(0===o.length)return U({});const i={};return He(o).pipe($e(s=>function(t,e,n,r){const o=Hl(t,e,r);return vn(o.resolve?o.resolve(e,n):o(e,n))}(t[s],e,n,r).pipe(Et(a=>{i[s]=a}))),qf(1),$e(()=>Object.keys(i).length===o.length?U(i):qo))}(t._resolve,t,e,r).pipe(X(i=>(t._resolvedData=i,t.data=Object.assign(Object.assign({},t.data),qD(t,n).resolve),null)))}(s.route,r,t,e)),Et(()=>i++),qf(1),$e(s=>i===o.length?U(n):qo))})}(this.paramsInheritanceStrategy,this.ngModule.injector),Et({next:()=>u=!0,complete:()=>{u||(this.restoreHistory(l),this.cancelNavigationTransition(l,"At least one route resolver didn't emit any value."))}}))}),Et(l=>{const u=new Ak(l.id,this.serializeUrl(l.extractedUrl),this.serializeUrl(l.urlAfterRedirects),l.targetSnapshot);this.triggerEvent(u)}))}),lh(a=>{const{targetSnapshot:l,id:u,extractedUrl:c,rawUrl:d,extras:{skipLocationChange:f,replaceUrl:h}}=a;return this.hooks.afterPreactivation(l,{navigationId:u,appliedUrlTree:c,rawUrlTree:d,skipLocationChange:!!f,replaceUrl:!!h})}),X(a=>{const l=function(t,e,n){const r=Ol(t,e._root,n?n._root:void 0);return new GD(r,e)}(this.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);return Object.assign(Object.assign({},a),{targetRouterState:l})}),Et(a=>{this.currentUrlTree=a.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(a.urlAfterRedirects,a.rawUrl),this.routerState=a.targetRouterState,"deferred"===this.urlUpdateStrategy&&(a.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,a),this.browserUrlTree=a.urlAfterRedirects)}),((t,e,n)=>X(r=>(new dV(e,r.targetRouterState,r.currentRouterState,n).activate(t),r)))(this.rootContexts,this.routeReuseStrategy,a=>this.triggerEvent(a)),Et({next(){i=!0},complete(){i=!0}}),function(t){return e=>e.lift(new vk(t))}(()=>{var a;if(!i&&!s){const l=`Navigation ID ${o.id} is not equal to the current navigation id ${this.navigationId}`;"replace"===this.canceledNavigationResolution?(this.restoreHistory(o),this.cancelNavigationTransition(o,l)):this.cancelNavigationTransition(o,l)}(null===(a=this.currentNavigation)||void 0===a?void 0:a.id)===o.id&&(this.currentNavigation=null)}),Fr(a=>{if(s=!0,function(t){return t&&t[RD]}(a)){const l=kr(a.url);l||(this.navigated=!0,this.restoreHistory(o,!0));const u=new ID(o.id,this.serializeUrl(o.extractedUrl),a.message);r.next(u),l?setTimeout(()=>{const c=this.urlHandlingStrategy.merge(a.url,this.rawUrlTree),d={skipLocationChange:o.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||$l(o.source)};this.scheduleNavigation(c,"imperative",null,d,{resolve:o.resolve,reject:o.reject,promise:o.promise})},0):o.resolve(!1)}else{this.restoreHistory(o,!0);const l=new Ek(o.id,this.serializeUrl(o.extractedUrl),a);r.next(l);try{o.resolve(this.errorHandler(a))}catch(u){o.reject(u)}}return qo}))}))}resetRootComponentType(n){this.rootComponentType=n,this.routerState.root.component=this.rootComponentType}getTransition(){const n=this.transitions.value;return n.urlAfterRedirects=this.browserUrlTree,n}setTransition(n){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),n))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(n=>{const r=this.extractLocationChangeInfoFromEvent(n);this.shouldScheduleNavigation(this.lastLocationChangeInfo,r)&&setTimeout(()=>{const{source:o,state:i,urlTree:s}=r,a={replaceUrl:!0};if(i){const l=Object.assign({},i);delete l.navigationId,delete l.\u0275routerPageId,0!==Object.keys(l).length&&(a.state=l)}this.scheduleNavigation(s,o,i,a)},0),this.lastLocationChangeInfo=r}))}extractLocationChangeInfoFromEvent(n){var r;return{source:"popstate"===n.type?"popstate":"hashchange",urlTree:this.parseUrl(n.url),state:(null===(r=n.state)||void 0===r?void 0:r.navigationId)?n.state:null,transitionId:this.getTransition().id}}shouldScheduleNavigation(n,r){if(!n)return!0;const o=r.urlTree.toString()===n.urlTree.toString();return r.transitionId!==n.transitionId||!o||!("hashchange"===r.source&&"popstate"===n.source||"popstate"===r.source&&"hashchange"===n.source)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(n){this.events.next(n)}resetConfig(n){rE(n),this.config=n.map(sh),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(n,r={}){const{relativeTo:o,queryParams:i,fragment:s,queryParamsHandling:a,preserveFragment:l}=r,u=o||this.routerState.root,c=l?this.currentUrlTree.fragment:s;let d=null;switch(a){case"merge":d=Object.assign(Object.assign({},this.currentUrlTree.queryParams),i);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=i||null}return null!==d&&(d=this.removeEmptyProps(d)),function(t,e,n,r,o){if(0===n.length)return nh(e.root,e.root,e,r,o);const i=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new YD(!0,0,t);let e=0,n=!1;const r=t.reduce((o,i,s)=>{if("object"==typeof i&&null!=i){if(i.outlets){const a={};return Ge(i.outlets,(l,u)=>{a[u]="string"==typeof l?l.split("/"):l}),[...o,{outlets:a}]}if(i.segmentPath)return[...o,i.segmentPath]}return"string"!=typeof i?[...o,i]:0===s?(i.split("/").forEach((a,l)=>{0==l&&"."===a||(0==l&&""===a?n=!0:".."===a?e++:""!=a&&o.push(a))}),o):[...o,i]},[]);return new YD(n,e,r)}(n);if(i.toRoot())return nh(e.root,new J([],{}),e,r,o);const s=function(t,e,n){if(t.isAbsolute)return new rh(e.root,!0,0);if(-1===n.snapshot._lastPathIndex){const i=n.snapshot._urlSegment;return new rh(i,i===e.root,0)}const r=Pl(t.commands[0])?0:1;return function(t,e,n){let r=t,o=e,i=n;for(;i>o;){if(i-=o,r=r.parent,!r)throw new Error("Invalid number of '../'");o=r.segments.length}return new rh(r,!1,o-i)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+r,t.numberOfDoubleDots)}(i,e,t),a=s.processChildren?kl(s.segmentGroup,s.index,i.commands):ZD(s.segmentGroup,s.index,i.commands);return nh(s.segmentGroup,a,e,r,o)}(u,this.currentUrlTree,n,d,null!=c?c:null)}navigateByUrl(n,r={skipLocationChange:!1}){const o=kr(n)?n:this.parseUrl(n),i=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(i,"imperative",null,r)}navigate(n,r={skipLocationChange:!1}){return function(t){for(let e=0;e<t.length;e++){const n=t[e];if(null==n)throw new Error(`The requested path contains ${n} segment at index ${e}`)}}(n),this.navigateByUrl(this.createUrlTree(n,r),r)}serializeUrl(n){return this.urlSerializer.serialize(n)}parseUrl(n){let r;try{r=this.urlSerializer.parse(n)}catch(o){r=this.malformedUriErrorHandler(o,this.urlSerializer,n)}return r}isActive(n,r){let o;if(o=!0===r?Object.assign({},lL):!1===r?Object.assign({},uL):r,kr(n))return PD(this.currentUrlTree,n,o);const i=this.parseUrl(n);return PD(this.currentUrlTree,i,o)}removeEmptyProps(n){return Object.keys(n).reduce((r,o)=>{const i=n[o];return null!=i&&(r[o]=i),r},{})}processNavigations(){this.navigations.subscribe(n=>{this.navigated=!0,this.lastSuccessfulId=n.id,this.currentPageId=n.targetPageId,this.events.next(new ms(n.id,this.serializeUrl(n.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,n.resolve(!0)},n=>{this.console.warn(`Unhandled Navigation Error: ${n}`)})}scheduleNavigation(n,r,o,i,s){var a,l;if(this.disposed)return Promise.resolve(!1);const u=this.getTransition(),c=$l(r)&&u&&!$l(u.source),h=(this.lastSuccessfulId===u.id||this.currentNavigation?u.rawUrl:u.urlAfterRedirects).toString()===n.toString();if(c&&h)return Promise.resolve(!0);let p,m,g;s?(p=s.resolve,m=s.reject,g=s.promise):g=new Promise((M,S)=>{p=M,m=S});const v=++this.navigationId;let y;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(o=this.location.getState()),y=o&&o.\u0275routerPageId?o.\u0275routerPageId:i.replaceUrl||i.skipLocationChange?null!==(a=this.browserPageId)&&void 0!==a?a:0:(null!==(l=this.browserPageId)&&void 0!==l?l:0)+1):y=0,this.setTransition({id:v,targetPageId:y,source:r,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:n,extras:i,resolve:p,reject:m,promise:g,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),g.catch(M=>Promise.reject(M))}setBrowserUrl(n,r){const o=this.urlSerializer.serialize(n),i=Object.assign(Object.assign({},r.extras.state),this.generateNgRouterState(r.id,r.targetPageId));this.location.isCurrentPathEqualTo(o)||r.extras.replaceUrl?this.location.replaceState(o,"",i):this.location.go(o,"",i)}restoreHistory(n,r=!1){var o,i;if("computed"===this.canceledNavigationResolution){const s=this.currentPageId-n.targetPageId;"popstate"!==n.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(o=this.currentNavigation)||void 0===o?void 0:o.finalUrl)||0===s?this.currentUrlTree===(null===(i=this.currentNavigation)||void 0===i?void 0:i.finalUrl)&&0===s&&(this.resetState(n),this.browserUrlTree=n.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(s)}else"replace"===this.canceledNavigationResolution&&(r&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){this.routerState=n.currentRouterState,this.currentUrlTree=n.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(n,r){const o=new ID(n.id,this.serializeUrl(n.extractedUrl),r);this.triggerEvent(o),n.resolve(!1)}generateNgRouterState(n,r){return"computed"===this.canceledNavigationResolution?{navigationId:n,\u0275routerPageId:r}:{navigationId:n}}}return t.\u0275fac=function(n){return new(n||t)(b(ua),b(Kf),b(Ko),b(dl),b(ne),b(el),b(Sr),b(void 0))},t.\u0275prov=O({token:t,factory:t.\u0275fac}),t})();function $l(t){return"imperative"!==t}let ch=(()=>{class t{constructor(n,r,o,i,s){this.router=n,this.route=r,this.commands=[],this.onChanges=new bn,null==o&&i.setAttribute(s.nativeElement,"tabindex","0")}ngOnChanges(n){this.onChanges.next(this)}set routerLink(n){this.commands=null!=n?Array.isArray(n)?n:[n]:[]}onClick(){const n={skipLocationChange:Jo(this.skipLocationChange),replaceUrl:Jo(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,n),!0}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:Jo(this.preserveFragment)})}}return t.\u0275fac=function(n){return new(n||t)(D(Te),D(Un),gi("tabindex"),D(Nn),D(Le))},t.\u0275dir=N({type:t,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(n,r){1&n&&z("click",function(){return r.onClick()})},inputs:{routerLink:"routerLink",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[ze]}),t})(),Gl=(()=>{class t{constructor(n,r,o){this.router=n,this.route=r,this.locationStrategy=o,this.commands=[],this.onChanges=new bn,this.subscription=n.events.subscribe(i=>{i instanceof ms&&this.updateTargetUrlAndHref()})}set routerLink(n){this.commands=null!=n?Array.isArray(n)?n:[n]:[]}ngOnChanges(n){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(n,r,o,i,s){if(0!==n||r||o||i||s||"string"==typeof this.target&&"_self"!=this.target)return!0;const a={skipLocationChange:Jo(this.skipLocationChange),replaceUrl:Jo(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,a),!1}updateTargetUrlAndHref(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:Jo(this.preserveFragment)})}}return t.\u0275fac=function(n){return new(n||t)(D(Te),D(Un),D(Go))},t.\u0275dir=N({type:t,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(n,r){1&n&&z("click",function(i){return r.onClick(i.button,i.ctrlKey,i.shiftKey,i.altKey,i.metaKey)}),2&n&&(td("href",r.href,pc),pn("target",r.target))},inputs:{routerLink:"routerLink",target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[ze]}),t})();function Jo(t){return""===t||!!t}let CE=(()=>{class t{constructor(n,r,o,i,s,a){this.router=n,this.element=r,this.renderer=o,this.cdr=i,this.link=s,this.linkWithHref=a,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.routerEventsSubscription=n.events.subscribe(l=>{l instanceof ms&&this.update()})}ngAfterContentInit(){U(this.links.changes,this.linksWithHrefs.changes,U(null)).pipe(ii()).subscribe(n=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){var n;null===(n=this.linkInputChangesSubscription)||void 0===n||n.unsubscribe();const r=[...this.links.toArray(),...this.linksWithHrefs.toArray(),this.link,this.linkWithHref].filter(o=>!!o).map(o=>o.onChanges);this.linkInputChangesSubscription=He(r).pipe(ii()).subscribe(o=>{this.isActive!==this.isLinkActive(this.router)(o)&&this.update()})}set routerLinkActive(n){const r=Array.isArray(n)?n:n.split(" ");this.classes=r.filter(o=>!!o)}ngOnChanges(n){this.update()}ngOnDestroy(){var n;this.routerEventsSubscription.unsubscribe(),null===(n=this.linkInputChangesSubscription)||void 0===n||n.unsubscribe()}update(){!this.links||!this.linksWithHrefs||!this.router.navigated||Promise.resolve().then(()=>{const n=this.hasActiveLinks();this.isActive!==n&&(this.isActive=n,this.cdr.markForCheck(),this.classes.forEach(r=>{n?this.renderer.addClass(this.element.nativeElement,r):this.renderer.removeClass(this.element.nativeElement,r)}))})}isLinkActive(n){const r=function(t){return!!t.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return o=>n.isActive(o.urlTree,r)}hasActiveLinks(){const n=this.isLinkActive(this.router);return this.link&&n(this.link)||this.linkWithHref&&n(this.linkWithHref)||this.links.some(n)||this.linksWithHrefs.some(n)}}return t.\u0275fac=function(n){return new(n||t)(D(Te),D(Le),D(Nn),D(dd),D(ch,8),D(Gl,8))},t.\u0275dir=N({type:t,selectors:[["","routerLinkActive",""]],contentQueries:function(n,r,o){if(1&n&&(Fd(o,ch,5),Fd(o,Gl,5)),2&n){let i;Nd(i=Od())&&(r.links=i),Nd(i=Od())&&(r.linksWithHrefs=i)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",routerLinkActive:"routerLinkActive"},exportAs:["routerLinkActive"],features:[ze]}),t})(),dh=(()=>{class t{constructor(n,r,o,i,s){this.parentContexts=n,this.location=r,this.resolver=o,this.changeDetector=s,this.activated=null,this._activatedRoute=null,this.activateEvents=new Oe,this.deactivateEvents=new Oe,this.name=i||Q,n.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const n=this.parentContexts.getContext(this.name);n&&n.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const n=this.activated;return this.activated=null,this._activatedRoute=null,n}attach(n,r){this.activated=n,this._activatedRoute=r,this.location.insert(n.hostView)}deactivate(){if(this.activated){const n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,r){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=n;const s=(r=r||this.resolver).resolveComponentFactory(n._futureSnapshot.routeConfig.component),a=this.parentContexts.getOrCreateContext(this.name).children,l=new fL(n,a,this.location.injector);this.activated=this.location.createComponent(s,this.location.length,l),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return t.\u0275fac=function(n){return new(n||t)(D(Ko),D(Kt),D(Mr),gi("name"),D(dd))},t.\u0275dir=N({type:t,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),t})();class fL{constructor(e,n,r){this.route=e,this.childContexts=n,this.parent=r}get(e,n){return e===Un?this.route:e===Ko?this.childContexts:this.parent.get(e,n)}}class vE{}class DE{preload(e,n){return U(null)}}let EE=(()=>{class t{constructor(n,r,o,i,s){this.router=n,this.injector=i,this.preloadingStrategy=s,this.loader=new yE(r,o,u=>n.triggerEvent(new AD(u)),u=>n.triggerEvent(new SD(u)))}setUpPreloading(){this.subscription=this.router.events.pipe(Nr(n=>n instanceof ms),Wo(()=>this.preload())).subscribe(()=>{})}preload(){const n=this.injector.get(yn);return this.processRoutes(n,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(n,r){const o=[];for(const i of r)if(i.loadChildren&&!i.canLoad&&i._loadedConfig){const s=i._loadedConfig;o.push(this.processRoutes(s.module,s.routes))}else i.loadChildren&&!i.canLoad?o.push(this.preloadConfig(n,i)):i.children&&o.push(this.processRoutes(n,i.children));return He(o).pipe(ii(),X(i=>{}))}preloadConfig(n,r){return this.preloadingStrategy.preload(r,()=>(r._loadedConfig?U(r._loadedConfig):this.loader.load(n.injector,r)).pipe($e(i=>(r._loadedConfig=i,this.processRoutes(i.module,i.routes)))))}}return t.\u0275fac=function(n){return new(n||t)(b(Te),b(el),b(Sr),b(ne),b(vE))},t.\u0275prov=O({token:t,factory:t.\u0275fac}),t})(),fh=(()=>{class t{constructor(n,r,o={}){this.router=n,this.viewportScroller=r,this.options=o,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},o.scrollPositionRestoration=o.scrollPositionRestoration||"disabled",o.anchorScrolling=o.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(n=>{n instanceof zf?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof ms&&(this.lastId=n.id,this.scheduleScrollEvent(n,this.router.parseUrl(n.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(n=>{n instanceof TD&&(n.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(n.position):n.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(n.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(n,r){this.router.triggerEvent(new TD(n,"popstate"===this.lastSource?this.store[this.restoredId]:null,r))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return t.\u0275fac=function(n){return new(n||t)(b(Te),b(zv),b(void 0))},t.\u0275prov=O({token:t,factory:t.\u0275fac}),t})();const Vr=new G("ROUTER_CONFIGURATION"),bE=new G("ROUTER_FORROOT_GUARD"),pL=[dl,{provide:Kf,useClass:jD},{provide:Te,useFactory:function(t,e,n,r,o,i,s,a={},l,u){const c=new Te(null,t,e,n,r,o,i,ND(s));return l&&(c.urlHandlingStrategy=l),u&&(c.routeReuseStrategy=u),function(t,e){t.errorHandler&&(e.errorHandler=t.errorHandler),t.malformedUriErrorHandler&&(e.malformedUriErrorHandler=t.malformedUriErrorHandler),t.onSameUrlNavigation&&(e.onSameUrlNavigation=t.onSameUrlNavigation),t.paramsInheritanceStrategy&&(e.paramsInheritanceStrategy=t.paramsInheritanceStrategy),t.relativeLinkResolution&&(e.relativeLinkResolution=t.relativeLinkResolution),t.urlUpdateStrategy&&(e.urlUpdateStrategy=t.urlUpdateStrategy)}(a,c),a.enableTracing&&c.events.subscribe(d=>{var f,h;null===(f=console.group)||void 0===f||f.call(console,`Router Event: ${d.constructor.name}`),console.log(d.toString()),console.log(d),null===(h=console.groupEnd)||void 0===h||h.call(console)}),c},deps:[Kf,Ko,dl,ne,el,Sr,uh,Vr,[class{},new ct],[class{},new ct]]},Ko,{provide:Un,useFactory:function(t){return t.routerState.root},deps:[Te]},{provide:el,useClass:zN},EE,DE,class{preload(e,n){return n().pipe(Fr(()=>U(null)))}},{provide:Vr,useValue:{enableTracing:!1}}];function gL(){return new zd("Router",Te)}let wE=(()=>{class t{constructor(n,r){}static forRoot(n,r){return{ngModule:t,providers:[pL,ME(n),{provide:bE,useFactory:_L,deps:[[Te,new ct,new Jn]]},{provide:Vr,useValue:r||{}},{provide:Go,useFactory:yL,deps:[xr,[new so(df),new ct],Vr]},{provide:fh,useFactory:mL,deps:[Te,zv,Vr]},{provide:vE,useExisting:r&&r.preloadingStrategy?r.preloadingStrategy:DE},{provide:zd,multi:!0,useFactory:gL},[hh,{provide:os,multi:!0,useFactory:EL,deps:[hh]},{provide:IE,useFactory:bL,deps:[hh]},{provide:BC,multi:!0,useExisting:IE}]]}}static forChild(n){return{ngModule:t,providers:[ME(n)]}}}return t.\u0275fac=function(n){return new(n||t)(b(bE,8),b(Te,8))},t.\u0275mod=pt({type:t}),t.\u0275inj=et({}),t})();function mL(t,e,n){return n.scrollOffset&&e.setOffset(n.scrollOffset),new fh(t,e,n)}function yL(t,e,n={}){return n.useHash?new hF(t,e):new xv(t,e)}function _L(t){return"guarded"}function ME(t){return[{provide:u0,multi:!0,useValue:t},{provide:uh,multi:!0,useValue:t}]}let hh=(()=>{class t{constructor(n){this.injector=n,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new bn}appInitializer(){return this.injector.get(cF,Promise.resolve(null)).then(()=>{if(this.destroyed)return Promise.resolve(!0);let r=null;const o=new Promise(a=>r=a),i=this.injector.get(Te),s=this.injector.get(Vr);return"disabled"===s.initialNavigation?(i.setUpLocationChangeListener(),r(!0)):"enabled"===s.initialNavigation||"enabledBlocking"===s.initialNavigation?(i.hooks.afterPreactivation=()=>this.initNavigation?U(null):(this.initNavigation=!0,r(!0),this.resultOfPreactivationDone),i.initialNavigation()):r(!0),o})}bootstrapListener(n){const r=this.injector.get(Vr),o=this.injector.get(EE),i=this.injector.get(fh),s=this.injector.get(Te),a=this.injector.get(Bo);n===a.components[0]&&(("enabledNonBlocking"===r.initialNavigation||void 0===r.initialNavigation)&&s.initialNavigation(),o.setUpPreloading(),i.init(),s.resetRootComponentType(a.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return t.\u0275fac=function(n){return new(n||t)(b(ne))},t.\u0275prov=O({token:t,factory:t.\u0275fac}),t})();function EL(t){return t.appInitializer.bind(t)}function bL(t){return t.bootstrapListener.bind(t)}const IE=new G("Router Initializer");let Wl=(()=>{class t{constructor(n){this.httpClient=n,this.baseURL="http://6c4b-200-85-83-10.ngrok-free.app/api/v1/empleados"}getListaEmpleados(){return this.httpClient.get(`${this.baseURL}`)}crearEmpleado(n){return this.httpClient.post(`${this.baseURL}`,n)}getEmpleadoPorId(n){return this.httpClient.get(`${this.baseURL}/${n}`)}actualizarEmpleado(n,r){return this.httpClient.put(`${this.baseURL}/${n}`,r)}eliminarEmpleado(n){return this.httpClient.delete(`${this.baseURL}/${n}`)}}return t.\u0275fac=function(n){return new(n||t)(b(jf))},t.\u0275prov=O({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function ML(t,e){if(1&t){const n=Jc();_(0,"tr"),_(1,"td"),A(2),C(),_(3,"td"),A(4),C(),_(5,"td"),A(6),C(),_(7,"td"),_(8,"button",2),z("click",function(){const i=Kr(n).$implicit;return So().actualizarEmpleado(i.id)}),A(9,"Actualizar"),C(),_(10,"button",3),z("click",function(){const i=Kr(n).$implicit;return So().eliminarEmpleado(i.id)}),A(11,"Eliminar"),C(),_(12,"button",4),z("click",function(){const i=Kr(n).$implicit;return So().detallesEmpleado(i.id)}),A(13,"Detalles"),C(),C(),C()}if(2&t){const n=e.$implicit;Z(2),ji(n.nombres),Z(2),ji(n.apellidos),Z(2),ji(n.correo)}}let IL=(()=>{class t{constructor(n,r){this.empleadoServicio=n,this.router=r,this.empleados=[]}ngOnInit(){this.getEmpleados()}getEmpleados(){this.empleadoServicio.getListaEmpleados().subscribe(n=>{this.empleados=n})}actualizarEmpleado(n){this.router.navigate(["actualizar-empleado",n])}eliminarEmpleado(n){this.empleadoServicio.eliminarEmpleado(n).subscribe(r=>{console.log(r),this.getEmpleados()},r=>console.log(r))}detallesEmpleado(n){this.router.navigate(["detalles-empleado",n])}}return t.\u0275fac=function(n){return new(n||t)(D(Wl),D(Te))},t.\u0275cmp=jt({type:t,selectors:[["app-lista-empleados"]],decls:15,vars:1,consts:[[1,"table","table-striped"],[4,"ngFor","ngForOf"],[1,"btn","btn-info",3,"click"],[1,"btn","btn-danger",2,"margin-left","10px",3,"click"],[1,"btn","btn-info",2,"margin-left","10px",3,"click"]],template:function(n,r){1&n&&(_(0,"h2"),A(1,"Lista de Empleados"),C(),_(2,"table",0),_(3,"thead"),_(4,"tr"),_(5,"th"),A(6,"Nombres"),C(),_(7,"th"),A(8,"Apellidos"),C(),_(9,"th"),A(10,"Correo"),C(),_(11,"th"),A(12,"Acciones"),C(),C(),C(),_(13,"tbody"),Gc(14,ML,14,3,"tr",1),C(),C()),2&n&&(Z(14),we("ngForOf",r.empleados))},directives:[vf],styles:[""]}),t})();class ph{}function ql(t,e){return new ce(n=>{const r=t.length;if(0===r)return void n.complete();const o=new Array(r);let i=0,s=0;for(let a=0;a<r;a++){const l=He(t[a]);let u=!1;n.add(l.subscribe({next:c=>{u||(u=!0,s++),o[a]=c},error:c=>n.error(c),complete:()=>{i++,(i===r||!u)&&(s===r&&n.next(e?e.reduce((c,d,f)=>(c[d]=o[f],c),{}):o),n.complete())}}))}})}let AE=(()=>{class t{constructor(n,r){this._renderer=n,this._elementRef=r,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(n,r){this._renderer.setProperty(this._elementRef.nativeElement,n,r)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}}return t.\u0275fac=function(n){return new(n||t)(D(Nn),D(Le))},t.\u0275dir=N({type:t}),t})(),Lr=(()=>{class t extends AE{}return t.\u0275fac=function(){let e;return function(r){return(e||(e=At(t)))(r||t)}}(),t.\u0275dir=N({type:t,features:[de]}),t})();const Dn=new G("NgValueAccessor"),TL={provide:Dn,useExisting:ae(()=>jr),multi:!0},xL=new G("CompositionEventMode");let jr=(()=>{class t extends AE{constructor(n,r,o){super(n,r),this._compositionMode=o,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){const t=_n()?_n().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}())}writeValue(n){this.setProperty("value",null==n?"":n)}_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)}}return t.\u0275fac=function(n){return new(n||t)(D(Nn),D(Le),D(xL,8))},t.\u0275dir=N({type:t,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(n,r){1&n&&z("input",function(i){return r._handleInput(i.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(i){return r._compositionEnd(i.target.value)})},features:[he([TL]),de]}),t})();const Ze=new G("NgValidators"),lr=new G("NgAsyncValidators");function LE(t){return null!=t}function jE(t){const e=Vi(t)?He(t):t;return Na(e),e}function UE(t){let e={};return t.forEach(n=>{e=null!=n?Object.assign(Object.assign({},e),n):e}),0===Object.keys(e).length?null:e}function BE(t,e){return e.map(n=>n(t))}function HE(t){return t.map(e=>function(t){return!t.validate}(e)?e:n=>e.validate(n))}function gh(t){return null!=t?function(t){if(!t)return null;const e=t.filter(LE);return 0==e.length?null:function(n){return UE(BE(n,e))}}(HE(t)):null}function mh(t){return null!=t?function(t){if(!t)return null;const e=t.filter(LE);return 0==e.length?null:function(n){return function(...t){if(1===t.length){const e=t[0];if(Ps(e))return ql(e,null);if(ru(e)&&Object.getPrototypeOf(e)===Object.prototype){const n=Object.keys(e);return ql(n.map(r=>e[r]),n)}}if("function"==typeof t[t.length-1]){const e=t.pop();return ql(t=1===t.length&&Ps(t[0])?t[0]:t,null).pipe(X(n=>e(...n)))}return ql(t,null)}(BE(n,e).map(jE)).pipe(X(UE))}}(HE(t)):null}function WE(t,e){return null===t?[e]:Array.isArray(t)?[...t,e]:[t,e]}function yh(t){return t?Array.isArray(t)?t:[t]:[]}function zl(t,e){return Array.isArray(t)?t.includes(e):t===e}function QE(t,e){const n=yh(e);return yh(t).forEach(o=>{zl(n,o)||n.push(o)}),n}function KE(t,e){return yh(e).filter(n=>!zl(t,n))}let JE=(()=>{class t{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(n){this._rawValidators=n||[],this._composedValidatorFn=gh(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=mh(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n){this.control&&this.control.reset(n)}hasError(n,r){return!!this.control&&this.control.hasError(n,r)}getError(n,r){return this.control?this.control.getError(n,r):null}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275dir=N({type:t}),t})(),lt=(()=>{class t extends JE{get formDirective(){return null}get path(){return null}}return t.\u0275fac=function(){let e;return function(r){return(e||(e=At(t)))(r||t)}}(),t.\u0275dir=N({type:t,features:[de]}),t})();class cr extends JE{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class YE{constructor(e){this._cd=e}is(e){var n,r,o;return"submitted"===e?!!(null===(n=this._cd)||void 0===n?void 0:n.submitted):!!(null===(o=null===(r=this._cd)||void 0===r?void 0:r.control)||void 0===o?void 0:o[e])}}let Is=(()=>{class t extends YE{constructor(n){super(n)}}return t.\u0275fac=function(n){return new(n||t)(D(cr,2))},t.\u0275dir=N({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(n,r){2&n&&Fa("ng-untouched",r.is("untouched"))("ng-touched",r.is("touched"))("ng-pristine",r.is("pristine"))("ng-dirty",r.is("dirty"))("ng-valid",r.is("valid"))("ng-invalid",r.is("invalid"))("ng-pending",r.is("pending"))},features:[de]}),t})(),As=(()=>{class t extends YE{constructor(n){super(n)}}return t.\u0275fac=function(n){return new(n||t)(D(lt,10))},t.\u0275dir=N({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(n,r){2&n&&Fa("ng-untouched",r.is("untouched"))("ng-touched",r.is("touched"))("ng-pristine",r.is("pristine"))("ng-dirty",r.is("dirty"))("ng-valid",r.is("valid"))("ng-invalid",r.is("invalid"))("ng-pending",r.is("pending"))("ng-submitted",r.is("submitted"))},features:[de]}),t})();function Ss(t,e){vh(t,e),e.valueAccessor.writeValue(t.value),function(t,e){e.valueAccessor.registerOnChange(n=>{t._pendingValue=n,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&ZE(t,e)})}(t,e),function(t,e){const n=(r,o)=>{e.valueAccessor.writeValue(r),o&&e.viewToModelUpdate(r)};t.registerOnChange(n),e._registerOnDestroy(()=>{t._unregisterOnChange(n)})}(t,e),function(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&ZE(t,e),"submit"!==t.updateOn&&t.markAsTouched()})}(t,e),function(t,e){if(e.valueAccessor.setDisabledState){const n=r=>{e.valueAccessor.setDisabledState(r)};t.registerOnDisabledChange(n),e._registerOnDestroy(()=>{t._unregisterOnDisabledChange(n)})}}(t,e)}function Yl(t,e){t.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(e)})}function vh(t,e){const n=function(t){return t._rawValidators}(t);null!==e.validator?t.setValidators(WE(n,e.validator)):"function"==typeof n&&t.setValidators([n]);const r=function(t){return t._rawAsyncValidators}(t);null!==e.asyncValidator?t.setAsyncValidators(WE(r,e.asyncValidator)):"function"==typeof r&&t.setAsyncValidators([r]);const o=()=>t.updateValueAndValidity();Yl(e._rawValidators,o),Yl(e._rawAsyncValidators,o)}function ZE(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function Xl(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}const Ts="VALID",eu="INVALID",Yo="PENDING",Rs="DISABLED";function bh(t){return(Mh(t)?t.validators:t)||null}function tb(t){return Array.isArray(t)?gh(t):t||null}function wh(t,e){return(Mh(e)?e.asyncValidators:t)||null}function nb(t){return Array.isArray(t)?mh(t):t||null}function Mh(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}class Ih{constructor(e,n){this._hasOwnPendingAsyncValidator=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=e,this._rawAsyncValidators=n,this._composedValidatorFn=tb(this._rawValidators),this._composedAsyncValidatorFn=nb(this._rawAsyncValidators)}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===Ts}get invalid(){return this.status===eu}get pending(){return this.status==Yo}get disabled(){return this.status===Rs}get enabled(){return this.status!==Rs}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._rawValidators=e,this._composedValidatorFn=tb(e)}setAsyncValidators(e){this._rawAsyncValidators=e,this._composedAsyncValidatorFn=nb(e)}addValidators(e){this.setValidators(QE(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(QE(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(KE(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(KE(e,this._rawAsyncValidators))}hasValidator(e){return zl(this._rawValidators,e)}hasAsyncValidator(e){return zl(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(n=>{n.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(n=>{n.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}markAsPending(e={}){this.status=Yo,!1!==e.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}disable(e={}){const n=this._parentMarkedDirty(e.onlySelf);this.status=Rs,this.errors=null,this._forEachChild(r=>{r.disable(Object.assign(Object.assign({},e),{onlySelf:!0}))}),this._updateValue(),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:n})),this._onDisabledChange.forEach(r=>r(!0))}enable(e={}){const n=this._parentMarkedDirty(e.onlySelf);this.status=Ts,this._forEachChild(r=>{r.enable(Object.assign(Object.assign({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:n})),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(e){this._parent=e}updateValueAndValidity(e={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Ts||this.status===Yo)&&this._runAsyncValidator(e.emitEvent)),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(n=>n._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Rs:Ts}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e){if(this.asyncValidator){this.status=Yo,this._hasOwnPendingAsyncValidator=!0;const n=jE(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(r=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(r,{emitEvent:e})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(e,n={}){this.errors=e,this._updateControlsErrors(!1!==n.emitEvent)}get(e){return function(t,e,n){if(null==e||(Array.isArray(e)||(e=e.split(".")),Array.isArray(e)&&0===e.length))return null;let r=t;return e.forEach(o=>{r=r instanceof Ah?r.controls.hasOwnProperty(o)?r.controls[o]:null:r instanceof WL&&r.at(o)||null}),r}(this,e)}getError(e,n){const r=n?this.get(n):this;return r&&r.errors?r.errors[e]:null}hasError(e,n){return!!this.getError(e,n)}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 Oe,this.statusChanges=new Oe}_calculateStatus(){return this._allControlsDisabled()?Rs:this.errors?eu:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Yo)?Yo:this._anyControlsHaveStatus(eu)?eu:Ts}_anyControlsHaveStatus(e){return this._anyControls(n=>n.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)}_isBoxedValue(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){Mh(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){return!e&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class tu extends Ih{constructor(e=null,n,r){super(bh(n),wh(r,n)),this._onChange=[],this._applyFormState(e),this._setUpdateStrategy(n),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}setValue(e,n={}){this.value=this._pendingValue=e,this._onChange.length&&!1!==n.emitModelToViewChange&&this._onChange.forEach(r=>r(this.value,!1!==n.emitViewToModelChange)),this.updateValueAndValidity(n)}patchValue(e,n={}){this.setValue(e,n)}reset(e=null,n={}){this._applyFormState(e),this.markAsPristine(n),this.markAsUntouched(n),this.setValue(this.value,n),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){Xl(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){Xl(this._onDisabledChange,e)}_forEachChild(e){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(e){this._isBoxedValue(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}}class Ah extends Ih{constructor(e,n,r){super(bh(n),wh(r,n)),this.controls=e,this._initObservables(),this._setUpdateStrategy(n),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(e,n){return this.controls[e]?this.controls[e]:(this.controls[e]=n,n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange),n)}addControl(e,n,r={}){this.registerControl(e,n),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}removeControl(e,n={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}setControl(e,n,r={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],n&&this.registerControl(e,n),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,n={}){this._checkAllValuesPresent(e),Object.keys(e).forEach(r=>{this._throwIfControlMissing(r),this.controls[r].setValue(e[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}patchValue(e,n={}){null!=e&&(Object.keys(e).forEach(r=>{this.controls[r]&&this.controls[r].patchValue(e[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}reset(e={},n={}){this._forEachChild((r,o)=>{r.reset(e[o],{onlySelf:!0,emitEvent:n.emitEvent})}),this._updatePristine(n),this._updateTouched(n),this.updateValueAndValidity(n)}getRawValue(){return this._reduceChildren({},(e,n,r)=>(e[r]=n instanceof tu?n.value:n.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(n,r)=>!!r._syncPendingControls()||n);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_throwIfControlMissing(e){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[e])throw new Error(`Cannot find form control with name: ${e}.`)}_forEachChild(e){Object.keys(this.controls).forEach(n=>{const r=this.controls[n];r&&e(r,n)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(const n of Object.keys(this.controls)){const r=this.controls[n];if(this.contains(n)&&e(r))return!0}return!1}_reduceValue(){return this._reduceChildren({},(e,n,r)=>((n.enabled||this.disabled)&&(e[r]=n.value),e))}_reduceChildren(e,n){let r=e;return this._forEachChild((o,i)=>{r=n(r,o,i)}),r}_allControlsDisabled(){for(const e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_checkAllValuesPresent(e){this._forEachChild((n,r)=>{if(void 0===e[r])throw new Error(`Must supply a value for form control with name: '${r}'.`)})}}class WL extends Ih{constructor(e,n,r){super(bh(n),wh(r,n)),this.controls=e,this._initObservables(),this._setUpdateStrategy(n),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(e){return this.controls[e]}push(e,n={}){this.controls.push(e),this._registerControl(e),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}insert(e,n,r={}){this.controls.splice(e,0,n),this._registerControl(n),this.updateValueAndValidity({emitEvent:r.emitEvent})}removeAt(e,n={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),this.controls.splice(e,1),this.updateValueAndValidity({emitEvent:n.emitEvent})}setControl(e,n,r={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),this.controls.splice(e,1),n&&(this.controls.splice(e,0,n),this._registerControl(n)),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(e,n={}){this._checkAllValuesPresent(e),e.forEach((r,o)=>{this._throwIfControlMissing(o),this.at(o).setValue(r,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}patchValue(e,n={}){null!=e&&(e.forEach((r,o)=>{this.at(o)&&this.at(o).patchValue(r,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}reset(e=[],n={}){this._forEachChild((r,o)=>{r.reset(e[o],{onlySelf:!0,emitEvent:n.emitEvent})}),this._updatePristine(n),this._updateTouched(n),this.updateValueAndValidity(n)}getRawValue(){return this.controls.map(e=>e instanceof tu?e.value:e.getRawValue())}clear(e={}){this.controls.length<1||(this._forEachChild(n=>n._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:e.emitEvent}))}_syncPendingControls(){let e=this.controls.reduce((n,r)=>!!r._syncPendingControls()||n,!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_throwIfControlMissing(e){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(e))throw new Error(`Cannot find form control at index ${e}`)}_forEachChild(e){this.controls.forEach((n,r)=>{e(n,r)})}_updateValue(){this.value=this.controls.filter(e=>e.enabled||this.disabled).map(e=>e.value)}_anyControls(e){return this.controls.some(n=>n.enabled&&e(n))}_setUpControls(){this._forEachChild(e=>this._registerControl(e))}_checkAllValuesPresent(e){this._forEachChild((n,r)=>{if(void 0===e[r])throw new Error(`Must supply a value for form control at index: ${r}.`)})}_allControlsDisabled(){for(const 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)}}const qL={provide:lt,useExisting:ae(()=>Ur)},xs=(()=>Promise.resolve(null))();let Ur=(()=>{class t extends lt{constructor(n,r){super(),this.submitted=!1,this._directives=[],this.ngSubmit=new Oe,this.form=new Ah({},gh(n),mh(r))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(n){xs.then(()=>{const r=this._findContainer(n.path);n.control=r.registerControl(n.name,n.control),Ss(n.control,n),n.control.updateValueAndValidity({emitEvent:!1}),this._directives.push(n)})}getControl(n){return this.form.get(n.path)}removeControl(n){xs.then(()=>{const r=this._findContainer(n.path);r&&r.removeControl(n.name),Xl(this._directives,n)})}addFormGroup(n){xs.then(()=>{const r=this._findContainer(n.path),o=new Ah({});(function(t,e){vh(t,e)})(o,n),r.registerControl(n.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(n){xs.then(()=>{const r=this._findContainer(n.path);r&&r.removeControl(n.name)})}getFormGroup(n){return this.form.get(n.path)}updateModel(n,r){xs.then(()=>{this.form.get(n.path).setValue(r)})}setValue(n){this.control.setValue(n)}onSubmit(n){return this.submitted=!0,function(t,e){t._syncPendingControls(),e.forEach(n=>{const r=n.control;"submit"===r.updateOn&&r._pendingChange&&(n.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}(this.form,this._directives),this.ngSubmit.emit(n),!1}onReset(){this.resetForm()}resetForm(n){this.form.reset(n),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(n){return n.pop(),n.length?this.form.get(n):this.form}}return t.\u0275fac=function(n){return new(n||t)(D(Ze,10),D(lr,10))},t.\u0275dir=N({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(n,r){1&n&&z("submit",function(i){return r.onSubmit(i)})("reset",function(){return r.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[he([qL]),de]}),t})();const QL={provide:cr,useExisting:ae(()=>Zo)},ib=(()=>Promise.resolve(null))();let Zo=(()=>{class t extends cr{constructor(n,r,o,i){super(),this.control=new tu,this._registered=!1,this.update=new Oe,this._parent=n,this._setValidators(r),this._setAsyncValidators(o),this.valueAccessor=function(t,e){if(!e)return null;let n,r,o;return Array.isArray(e),e.forEach(i=>{i.constructor===jr?n=i:function(t){return Object.getPrototypeOf(t.constructor)===Lr}(i)?r=i:o=i}),o||r||n||null}(0,i)}ngOnChanges(n){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in n&&this._updateDisabled(n),function(t,e){if(!t.hasOwnProperty("model"))return!1;const n=t.model;return!!n.isFirstChange()||!Object.is(e,n.currentValue)}(n,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._parent?function(t,e){return[...e.path,t]}(this.name,this._parent):[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&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Ss(this.control,this),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()}_updateValue(n){ib.then(()=>{this.control.setValue(n,{emitViewToModelChange:!1})})}_updateDisabled(n){const r=n.isDisabled.currentValue,o=""===r||r&&"false"!==r;ib.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable()})}}return t.\u0275fac=function(n){return new(n||t)(D(lt,9),D(Ze,10),D(lr,10),D(Dn,10))},t.\u0275dir=N({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[he([QL]),de,ze]}),t})(),Ns=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275dir=N({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),t})(),ab=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=pt({type:t}),t.\u0275inj=et({}),t})(),wb=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=pt({type:t}),t.\u0275inj=et({imports:[[ab]]}),t})(),_2=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=pt({type:t}),t.\u0275inj=et({imports:[wb]}),t})(),C2=(()=>{class t{constructor(n,r){this.empleadoServicio=n,this.router=r,this.empleado=new ph}ngOnInit(){}guardarEmpleado(){this.empleadoServicio.crearEmpleado(this.empleado).subscribe(n=>{console.log(n),this.listadoEmpleados()},n=>console.log(n))}listadoEmpleados(){this.router.navigate(["/empleados"])}onSubmit(){console.log(this.empleado),this.guardarEmpleado()}}return t.\u0275fac=function(n){return new(n||t)(D(Wl),D(Te))},t.\u0275cmp=jt({type:t,selectors:[["app-crear-empleado"]],decls:22,vars:4,consts:[[1,"col-md-6","offset-md-3"],[3,"ngSubmit"],[1,"form-group"],["type","text","id","cedula","name","cedula",1,"form-control",3,"ngModel","ngModelChange"],["type","text","id","nombres","name","nombres",1,"form-control",3,"ngModel","ngModelChange"],["type","text","id","apellidos","name","apellidos",1,"form-control",3,"ngModel","ngModelChange"],["type","text","id","correo","name","correo",1,"form-control",3,"ngModel","ngModelChange"],["type","submit",1,"btn","btn-success"]],template:function(n,r){1&n&&(_(0,"div",0),_(1,"h3"),A(2,"Crear Empleado"),C(),_(3,"form",1),z("ngSubmit",function(){return r.onSubmit()}),_(4,"div",2),_(5,"label"),A(6,"C\xe9dula: "),C(),_(7,"input",3),z("ngModelChange",function(i){return r.empleado.cedula=i}),C(),C(),_(8,"div",2),_(9,"label"),A(10,"Nombres: "),C(),_(11,"input",4),z("ngModelChange",function(i){return r.empleado.nombres=i}),C(),C(),_(12,"div",2),_(13,"label"),A(14,"Apellidos: "),C(),_(15,"input",5),z("ngModelChange",function(i){return r.empleado.apellidos=i}),C(),C(),_(16,"div",2),_(17,"label"),A(18,"Correo: "),C(),_(19,"input",6),z("ngModelChange",function(i){return r.empleado.correo=i}),C(),C(),_(20,"button",7),A(21,"Guardar"),C(),C(),C()),2&n&&(Z(7),we("ngModel",r.empleado.cedula),Z(4),we("ngModel",r.empleado.nombres),Z(4),we("ngModel",r.empleado.apellidos),Z(4),we("ngModel",r.empleado.correo))},directives:[Ns,As,Ur,jr,Is,Zo],styles:[""]}),t})(),v2=(()=>{class t{constructor(n,r,o){this.empleadoServicio=n,this.route=r,this.router=o,this.empleado=new ph}ngOnInit(){this.id=this.route.snapshot.params.id,this.empleadoServicio.getEmpleadoPorId(this.id).subscribe(n=>{this.empleado=n},n=>console.log(n))}onSubmit(){console.log(this.empleado),this.empleadoServicio.actualizarEmpleado(this.id,this.empleado).subscribe(n=>{this.listadoEmpleados()},n=>console.log(n))}listadoEmpleados(){this.router.navigate(["/empleados"])}}return t.\u0275fac=function(n){return new(n||t)(D(Wl),D(Un),D(Te))},t.\u0275cmp=jt({type:t,selectors:[["app-actualizar-empleado"]],decls:22,vars:4,consts:[[1,"col-md-6","offset-md-3"],[3,"ngSubmit"],[1,"form-group"],["type","text","id","cedula","name","cedula",1,"form-control",3,"ngModel","ngModelChange"],["type","text","id","nombres","name","nombres",1,"form-control",3,"ngModel","ngModelChange"],["type","text","id","apellidos","name","apellidos",1,"form-control",3,"ngModel","ngModelChange"],["type","text","id","correo","name","correo",1,"form-control",3,"ngModel","ngModelChange"],["type","submit",1,"btn","btn-success"]],template:function(n,r){1&n&&(_(0,"div",0),_(1,"h3"),A(2,"Actualizar Empleado"),C(),_(3,"form",1),z("ngSubmit",function(){return r.onSubmit()}),_(4,"div",2),_(5,"label"),A(6,"C\xe9dula: "),C(),_(7,"input",3),z("ngModelChange",function(i){return r.empleado.cedula=i}),C(),C(),_(8,"div",2),_(9,"label"),A(10,"Nombres: "),C(),_(11,"input",4),z("ngModelChange",function(i){return r.empleado.nombres=i}),C(),C(),_(12,"div",2),_(13,"label"),A(14,"Apellidos: "),C(),_(15,"input",5),z("ngModelChange",function(i){return r.empleado.apellidos=i}),C(),C(),_(16,"div",2),_(17,"label"),A(18,"Correo: "),C(),_(19,"input",6),z("ngModelChange",function(i){return r.empleado.correo=i}),C(),C(),_(20,"button",7),A(21,"Guardar"),C(),C(),C()),2&n&&(Z(7),we("ngModel",r.empleado.cedula),Z(4),we("ngModel",r.empleado.nombres),Z(4),we("ngModel",r.empleado.apellidos),Z(4),we("ngModel",r.empleado.correo))},directives:[Ns,As,Ur,jr,Is,Zo],styles:[""]}),t})(),D2=(()=>{class t{constructor(n,r){this.ruta=n,this.empleadoServicio=r}ngOnInit(){this.id=this.ruta.snapshot.params.id,this.empleado=new ph,this.empleadoServicio.getEmpleadoPorId(this.id).subscribe(n=>{this.empleado=n})}}return t.\u0275fac=function(n){return new(n||t)(D(Un),D(Wl))},t.\u0275cmp=jt({type:t,selectors:[["app-detalles-empleado"]],decls:23,vars:4,template:function(n,r){1&n&&(_(0,"h3"),A(1," Detalles del empleado "),C(),_(2,"div"),_(3,"div"),_(4,"label"),_(5,"b"),A(6," C\xe9dula: "),C(),C(),A(7),C(),_(8,"div"),_(9,"label"),_(10,"b"),A(11," Nombre: "),C(),C(),A(12),C(),_(13,"div"),_(14,"label"),_(15,"b"),A(16," Apellidos: "),C(),C(),A(17),C(),_(18,"div"),_(19,"label"),_(20,"b"),A(21," Correo: "),C(),C(),A(22),C(),C()),2&n&&(Z(7),xt(" ",r.empleado.cedula," "),Z(5),xt(" ",r.empleado.nombres," "),Z(5),xt(" ",r.empleado.apellidos," "),Z(5),xt(" ",r.empleado.correo," "))},styles:[""]}),t})(),Ph=(()=>{class t{constructor(n){this.httpClient=n,this.baseURL="http://6c4b-200-85-83-10.ngrok-free.app/api/v1/usuarios"}getListaUsuarios(){return this.httpClient.get(`${this.baseURL}`)}crearUsuario(n){return this.httpClient.post(`${this.baseURL}`,n)}getUsuarioPorId(n){return this.httpClient.get(`${this.baseURL}/${n}`)}actualizarUsuario(n,r){return this.httpClient.put(`${this.baseURL}/${n}`,r)}eliminarUsuario(n){return this.httpClient.delete(`${this.baseURL}/${n}`)}}return t.\u0275fac=function(n){return new(n||t)(b(jf))},t.\u0275prov=O({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function E2(t,e){if(1&t){const n=Jc();_(0,"tr"),_(1,"td"),A(2),C(),_(3,"td"),A(4),C(),_(5,"td"),A(6),C(),_(7,"td"),A(8),C(),_(9,"td"),ki(10,"input",2),C(),_(11,"td"),_(12,"button",3),z("click",function(){const i=Kr(n).$implicit;return So().actualizarUsuario(i.id)}),A(13,"Actualizar"),C(),_(14,"button",4),z("click",function(){const i=Kr(n).$implicit;return So().eliminarUsuario(i.id)}),A(15,"Eliminar"),C(),C(),C()}if(2&t){const n=e.$implicit;Z(2),xt(" ",n.id,""),Z(2),xt(" ",n.nombres,""),Z(2),xt(" ",n.apellidos,""),Z(2),xt(" ",n.correo,""),Z(2),Zc("value",n.clave)}}let b2=(()=>{class t{constructor(n,r){this.usuarioServicio=n,this.router=r,this.usuarios=[]}ngOnInit(){this.getUsuarios()}getUsuarios(){this.usuarioServicio.getListaUsuarios().subscribe(n=>{this.usuarios=n})}actualizarUsuario(n){this.router.navigate(["actualizar-usuario",n])}eliminarUsuario(n){this.usuarioServicio.eliminarUsuario(n).subscribe(r=>{console.log(r),this.getUsuarios()},r=>console.log(r))}detallesUsuario(n){this.router.navigate(["detalles-usuario",n])}}return t.\u0275fac=function(n){return new(n||t)(D(Ph),D(Te))},t.\u0275cmp=jt({type:t,selectors:[["app-lista-usuarios"]],decls:17,vars:1,consts:[[1,"table","table-striped"],[4,"ngFor","ngForOf"],["type","password","readonly","","disabled","",3,"value"],[1,"btn","btn-info",3,"click"],[1,"btn","btn-danger",2,"margin-left","10px",3,"click"]],template:function(n,r){1&n&&(_(0,"h2"),A(1,"Lista de Usuarios del sistema"),C(),_(2,"table",0),_(3,"thead"),_(4,"tr"),_(5,"th"),A(6,"ID"),C(),_(7,"th"),A(8,"Nombres"),C(),_(9,"th"),A(10,"Apellidos"),C(),_(11,"th"),A(12,"Correo"),C(),_(13,"th"),A(14,"Contrase\xf1a"),C(),C(),C(),_(15,"tbody"),Gc(16,E2,16,5,"tr",1),C(),C()),2&n&&(Z(16),we("ngForOf",r.usuarios))},directives:[vf],styles:[""]}),t})();class Mb{}const w2=[{path:"empleados",component:IL},{path:"crear-empleado",component:C2},{path:"actualizar-empleado/:id",component:v2},{path:"detalles-empleado/:id",component:D2},{path:"usuarios",component:b2},{path:"crear-usuario",component:(()=>{class t{constructor(n,r){this.usuarioServicio=n,this.router=r,this.usuario=new Mb}ngOnInit(){}onSubmit(){this.guardarUsuario()}guardarUsuario(){this.usuarioServicio.crearUsuario(this.usuario).subscribe(n=>{console.log(n),this.listadoUsuarios()},n=>console.log(n))}listadoUsuarios(){this.router.navigate(["/usuarios"])}}return t.\u0275fac=function(n){return new(n||t)(D(Ph),D(Te))},t.\u0275cmp=jt({type:t,selectors:[["app-crear-usuario"]],decls:23,vars:4,consts:[[1,"col-md-6","offset-md-3"],[3,"ngSubmit"],[1,"form-group"],["type","text","id","nombres","name","nombres",1,"form-control",3,"ngModel","ngModelChange"],["type","text","id","apellidos","name","apellidos",1,"form-control",3,"ngModel","ngModelChange"],["type","text","id","correo","name","correo",1,"form-control",3,"ngModel","ngModelChange"],["type","password","id","clave","name","clave",1,"form-control",3,"ngModel","ngModelChange"],["type","submit",1,"btn","btn-success"]],template:function(n,r){1&n&&(_(0,"div",0),_(1,"h3"),A(2,"Crear Usuario"),C(),_(3,"form",1),z("ngSubmit",function(){return r.onSubmit()}),_(4,"div",2),_(5,"label"),A(6,"Nombres:"),C(),_(7,"input",3),z("ngModelChange",function(i){return r.usuario.nombres=i}),C(),C(),_(8,"div",2),_(9,"label"),A(10,"Apellidos:"),C(),_(11,"input",4),z("ngModelChange",function(i){return r.usuario.apellidos=i}),C(),C(),_(12,"div",2),_(13,"label"),A(14,"Correo:"),C(),_(15,"input",5),z("ngModelChange",function(i){return r.usuario.correo=i}),C(),C(),_(16,"div",2),_(17,"label"),A(18,"Clave:"),C(),_(19,"input",6),z("ngModelChange",function(i){return r.usuario.clave=i}),C(),C(),ki(20,"br"),_(21,"button",7),A(22,"Guardar"),C(),C(),C()),2&n&&(Z(7),we("ngModel",r.usuario.nombres),Z(4),we("ngModel",r.usuario.apellidos),Z(4),we("ngModel",r.usuario.correo),Z(4),we("ngModel",r.usuario.clave))},directives:[Ns,As,Ur,jr,Is,Zo],styles:[""]}),t})()},{path:"actualizar-usuario/:id",component:(()=>{class t{constructor(n,r,o){this.usuarioServicio=n,this.route=r,this.router=o,this.usuario=new Mb}ngOnInit(){this.id=this.route.snapshot.params.id,this.usuarioServicio.getUsuarioPorId(this.id).subscribe(n=>{this.usuario=n},n=>console.log(n))}onSubmit(){console.log(this.usuario),this.usuarioServicio.actualizarUsuario(this.id,this.usuario).subscribe(n=>{this.listadoUsuarios()},n=>console.log(n))}listadoUsuarios(){this.router.navigate(["/usuarios"])}}return t.\u0275fac=function(n){return new(n||t)(D(Ph),D(Un),D(Te))},t.\u0275cmp=jt({type:t,selectors:[["app-actualizar-usuario"]],decls:22,vars:4,consts:[[1,"col-md-6","offset-md-3"],[3,"ngSubmit"],[1,"form-group"],["type","text","id","nombres","name","nombres",1,"form-control",3,"ngModel","ngModelChange"],["type","text","id","apellidos","name","apellidos",1,"form-control",3,"ngModel","ngModelChange"],["type","text","id","correo","name","correo",1,"form-control",3,"ngModel","ngModelChange"],["type","password","id","clave","name","clave",1,"form-control",3,"ngModel","ngModelChange"],["type","submit",1,"btn","btn-success"]],template:function(n,r){1&n&&(_(0,"div",0),_(1,"h3"),A(2,"Actualizar Usuario"),C(),_(3,"form",1),z("ngSubmit",function(){return r.onSubmit()}),_(4,"div",2),_(5,"label"),A(6,"Nombres"),C(),_(7,"input",3),z("ngModelChange",function(i){return r.usuario.nombres=i}),C(),C(),_(8,"div",2),_(9,"label"),A(10,"Apellidos: "),C(),_(11,"input",4),z("ngModelChange",function(i){return r.usuario.apellidos=i}),C(),C(),_(12,"div",2),_(13,"label"),A(14,"Correo: "),C(),_(15,"input",5),z("ngModelChange",function(i){return r.usuario.correo=i}),C(),C(),_(16,"div",2),_(17,"label"),A(18,"Clave: "),C(),_(19,"input",6),z("ngModelChange",function(i){return r.usuario.clave=i}),C(),C(),_(20,"button",7),A(21,"Guardar"),C(),C(),C()),2&n&&(Z(7),we("ngModel",r.usuario.nombres),Z(4),we("ngModel",r.usuario.apellidos),Z(4),we("ngModel",r.usuario.correo),Z(4),we("ngModel",r.usuario.clave))},directives:[Ns,As,Ur,jr,Is,Zo],styles:[""]}),t})()},{path:"",redirectTo:"empleados",pathMatch:"full"}];let M2=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=pt({type:t}),t.\u0275inj=et({imports:[[wE.forRoot(w2)],wE]}),t})(),I2=(()=>{class t{constructor(){this.title="CRUD - SpringBoot/Angular Full Stack - DSI-UTM - GrupoFMO"}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=jt({type:t,selectors:[["app-root"]],decls:22,vars:1,consts:[[1,"navbar","navbar-expand-sm","bg-primary","navbar-dark"],[1,"navbar-nav"],[1,"nav-item"],["routerLink","empleados","routerLinkActive","active",1,"nav-link"],["routerLink","crear-empleado","routerLinkActive","active",1,"nav-link"],["id","nav-item"],["routerLink","usuarios","routerLinkActive","active",1,"nav-link"],["routerLink","crear-usuario","routerLinkActive","active",1,"nav-link"],[1,"text-center"],[1,"container"],[1,"footer"]],template:function(n,r){1&n&&(_(0,"nav",0),_(1,"ul",1),_(2,"li",2),_(3,"a",3),A(4,"Lista de Empleados"),C(),C(),_(5,"li",2),_(6,"a",4),A(7,"A\xf1adir Empleado"),C(),C(),_(8,"li",5),_(9,"a",6),A(10,"Lista de usuarios"),C(),C(),_(11,"li",2),_(12,"a",7),A(13,"A\xf1adir Usuario"),C(),C(),C(),C(),_(14,"h1",8),A(15),C(),_(16,"div",9),ki(17,"router-outlet"),C(),_(18,"footer",10),_(19,"div",9),_(20,"span"),A(21,"Todos los derechos reservados \xa9 DSI-UTM - GrupoFMO"),C(),C(),C()),2&n&&(Z(15),xt(" ",r.title," "))},directives:[Gl,CE,dh],styles:[""]}),t})(),A2=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=pt({type:t,bootstrap:[I2]}),t.\u0275inj=et({providers:[],imports:[[EP,M2,WP,_2]]}),t})();(function(){if(QC)throw new Error("Cannot enable prod mode after platform setup.");zC=!1})(),vP().bootstrapModule(A2).catch(t=>console.error(t))}},ni=>{ni(ni.s=305)}]);