text: (window.webpackJsonp=window.webpackJsonp||[]).push([[1],{0:function(e,t,n){e.exports=n("zUnb")},zUnb:function(e,t,n){"use strict";function r(e){return"function"==typeof e}n.r(t);let s=!1;const i={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){if(e){const e=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+e.stack)}else s&&console.log("RxJS: Back to a better error behavior. Thank you. <3");s=e},get useDeprecatedSynchronousErrorHandling(){return s}};function o(e){setTimeout(()=>{throw e})}const a={closed:!0,next(e){},error(e){if(i.useDeprecatedSynchronousErrorHandling)throw e;o(e)},complete(){}},l=Array.isArray||(e=>e&&"number"==typeof e.length);function c(e){return null!==e&&"object"==typeof e}function u(e){return Error.call(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((e,t)=>`${t+1}) ${e.toString()}`).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=e,this}u.prototype=Object.create(Error.prototype);const d=u;let h=(()=>{class e{constructor(e){this.closed=!1,this._parent=null,this._parents=null,this._subscriptions=null,e&&(this._unsubscribe=e)}unsubscribe(){let e,t=!1;if(this.closed)return;let{_parent:n,_parents:s,_unsubscribe:i,_subscriptions:o}=this;this.closed=!0,this._parent=null,this._parents=null,this._subscriptions=null;let a=-1,u=s?s.length:0;for(;n;)n.remove(this),n=++a<u&&s[a]||null;if(r(i))try{i.call(this)}catch(h){t=!0,e=h instanceof d?f(h.errors):[h]}if(l(o))for(a=-1,u=o.length;++a<u;){const n=o[a];if(c(n))try{n.unsubscribe()}catch(h){t=!0,e=e||[],h instanceof d?e=e.concat(f(h.errors)):e.push(h)}}if(t)throw new d(e)}add(t){let n=t;switch(typeof t){case"function":n=new e(t);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 t=n;(n=new e)._subscriptions=[t]}break;default:if(!t)return e.EMPTY;throw new Error("unrecognized teardown "+t+" added to Subscription.")}if(n._addParent(this)){const e=this._subscriptions;e?e.push(n):this._subscriptions=[n]}return n}remove(e){const t=this._subscriptions;if(t){const n=t.indexOf(e);-1!==n&&t.splice(n,1)}}_addParent(e){let{_parent:t,_parents:n}=this;return t!==e&&(t?n?-1===n.indexOf(e)&&(n.push(e),!0):(this._parents=[e],!0):(this._parent=e,!0))}}return e.EMPTY=function(e){return e.closed=!0,e}(new e),e})();function f(e){return e.reduce((e,t)=>e.concat(t instanceof d?t.errors:t),[])}const p="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random();class g extends h{constructor(e,t,n){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=a;break;case 1:if(!e){this.destination=a;break}if("object"==typeof e){e instanceof g?(this.syncErrorThrowable=e.syncErrorThrowable,this.destination=e,e.add(this)):(this.syncErrorThrowable=!0,this.destination=new b(this,e));break}default:this.syncErrorThrowable=!0,this.destination=new b(this,e,t,n)}}[p](){return this}static create(e,t,n){const r=new g(e,t,n);return r.syncErrorThrowable=!1,r}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{_parent:e,_parents:t}=this;return this._parent=null,this._parents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parent=e,this._parents=t,this}}class b extends g{constructor(e,t,n,s){let i;super(),this._parentSubscriber=e;let o=this;r(t)?i=t:t&&(i=t.next,n=t.error,s=t.complete,t!==a&&(r((o=Object.create(t)).unsubscribe)&&this.add(o.unsubscribe.bind(o)),o.unsubscribe=this.unsubscribe.bind(this))),this._context=o,this._next=i,this._error=n,this._complete=s}next(e){if(!this.isStopped&&this._next){const{_parentSubscriber:t}=this;i.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}}error(e){if(!this.isStopped){const{_parentSubscriber:t}=this,{useDeprecatedSynchronousErrorHandling:n}=i;if(this._error)n&&t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else if(t.syncErrorThrowable)n?(t.syncErrorValue=e,t.syncErrorThrown=!0):o(e),this.unsubscribe();else{if(this.unsubscribe(),n)throw e;o(e)}}}complete(){if(!this.isStopped){const{_parentSubscriber:e}=this;if(this._complete){const t=()=>this._complete.call(this._context);i.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?(this.__tryOrSetError(e,t),this.unsubscribe()):(this.__tryOrUnsub(t),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(e,t){try{e.call(this._context,t)}catch(n){if(this.unsubscribe(),i.useDeprecatedSynchronousErrorHandling)throw n;o(n)}}__tryOrSetError(e,t,n){if(!i.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,n)}catch(r){return i.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=r,e.syncErrorThrown=!0,!0):(o(r),!0)}return!1}_unsubscribe(){const{_parentSubscriber:e}=this;this._context=null,this._parentSubscriber=null,e.unsubscribe()}}const m="function"==typeof Symbol&&Symbol.observable||"@@observable";function v(){}function w(...e){return y(e)}function y(e){return e?1===e.length?e[0]:function(t){return e.reduce((e,t)=>t(e),t)}:v}let _=(()=>{class e{constructor(e){this._isScalar=!1,e&&(this._subscribe=e)}lift(t){const n=new e;return n.source=this,n.operator=t,n}subscribe(e,t,n){const{operator:r}=this,s=function(e,t,n){if(e){if(e instanceof g)return e;if(e[p])return e[p]()}return e||t||n?new g(e,t,n):new g(a)}(e,t,n);if(s.add(r?r.call(s,this.source):this.source||i.useDeprecatedSynchronousErrorHandling&&!s.syncErrorThrowable?this._subscribe(s):this._trySubscribe(s)),i.useDeprecatedSynchronousErrorHandling&&s.syncErrorThrowable&&(s.syncErrorThrowable=!1,s.syncErrorThrown))throw s.syncErrorValue;return s}_trySubscribe(e){try{return this._subscribe(e)}catch(t){i.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),function(e){for(;e;){const{closed:t,destination:n,isStopped:r}=e;if(t||r)return!1;e=n&&n instanceof g?n:null}return!0}(e)?e.error(t):console.warn(t)}}forEach(e,t){return new(t=C(t))((t,n)=>{let r;r=this.subscribe(t=>{try{e(t)}catch(s){n(s),r&&r.unsubscribe()}},n,t)})}_subscribe(e){const{source:t}=this;return t&&t.subscribe(e)}[m](){return this}pipe(...e){return 0===e.length?this:y(e)(this)}toPromise(e){return new(e=C(e))((e,t)=>{let n;this.subscribe(e=>n=e,e=>t(e),()=>e(n))})}}return e.create=t=>new e(t),e})();function C(e){if(e||(e=i.Promise||Promise),!e)throw new Error("no Promise impl found");return e}function x(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}x.prototype=Object.create(Error.prototype);const S=x;class E extends h{constructor(e,t){super(),this.subject=e,this.subscriber=t,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const e=this.subject,t=e.observers;if(this.subject=null,!t||0===t.length||e.isStopped||e.closed)return;const n=t.indexOf(this.subscriber);-1!==n&&t.splice(n,1)}}class T extends g{constructor(e){super(e),this.destination=e}}let k=(()=>{class e extends _{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[p](){return new T(this)}lift(e){const t=new R(this,this);return t.operator=e,t}next(e){if(this.closed)throw new S;if(!this.isStopped){const{observers:t}=this,n=t.length,r=t.slice();for(let s=0;s<n;s++)r[s].next(e)}}error(e){if(this.closed)throw new S;this.hasError=!0,this.thrownError=e,this.isStopped=!0;const{observers:t}=this,n=t.length,r=t.slice();for(let s=0;s<n;s++)r[s].error(e);this.observers.length=0}complete(){if(this.closed)throw new S;this.isStopped=!0;const{observers:e}=this,t=e.length,n=e.slice();for(let r=0;r<t;r++)n[r].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(e){if(this.closed)throw new S;return super._trySubscribe(e)}_subscribe(e){if(this.closed)throw new S;return this.hasError?(e.error(this.thrownError),h.EMPTY):this.isStopped?(e.complete(),h.EMPTY):(this.observers.push(e),new E(this,e))}asObservable(){const e=new _;return e.source=this,e}}return e.create=(e,t)=>new R(e,t),e})();class R extends k{constructor(e,t){super(),this.destination=e,this.source=t}next(e){const{destination:t}=this;t&&t.next&&t.next(e)}error(e){const{destination:t}=this;t&&t.error&&this.destination.error(e)}complete(){const{destination:e}=this;e&&e.complete&&this.destination.complete()}_subscribe(e){const{source:t}=this;return t?this.source.subscribe(e):h.EMPTY}}function I(e){return e&&"function"==typeof e.schedule}class A extends g{constructor(e,t,n){super(),this.parent=e,this.outerValue=t,this.outerIndex=n,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()}}const N=e=>t=>{for(let n=0,r=e.length;n<r&&!t.closed;n++)t.next(e[n]);t.closed||t.complete()},O=e=>t=>(e.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,o),t);function P(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}const D=P(),M=e=>t=>{const n=e[D]();for(;;){const e=n.next();if(e.done){t.complete();break}if(t.next(e.value),t.closed)break}return"function"==typeof n.return&&t.add(()=>{n.return&&n.return()}),t},U=e=>t=>{const n=e[m]();if("function"!=typeof n.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return n.subscribe(t)},j=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function L(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}const V=e=>{if(e instanceof _)return t=>e._isScalar?(t.next(e.value),void t.complete()):e.subscribe(t);if(e&&"function"==typeof e[m])return U(e);if(j(e))return N(e);if(L(e))return O(e);if(e&&"function"==typeof e[D])return M(e);{const t=c(e)?"an invalid object":`'${e}'`;throw new TypeError(`You provided ${t} where a stream was expected.`+" You can provide an Observable, Promise, Array, or Iterable.")}};function $(e,t,n,r,s=new A(e,n,r)){if(!s.closed)return V(t)(s)}class F extends g{notifyNext(e,t,n,r,s){this.destination.next(t)}notifyError(e,t){this.destination.error(e)}notifyComplete(e){this.destination.complete()}}function H(e,t){return function(n){if("function"!=typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new z(e,t))}}class z{constructor(e,t){this.project=e,this.thisArg=t}call(e,t){return t.subscribe(new B(e,this.project,this.thisArg))}}class B extends g{constructor(e,t,n){super(e),this.project=t,this.count=0,this.thisArg=n||this}_next(e){let t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}function q(e,t){return new _(t?n=>{const r=new h;let s=0;return r.add(t.schedule((function(){s!==e.length?(n.next(e[s++]),n.closed||r.add(this.schedule())):n.complete()}))),r}:N(e))}function Z(e,t){if(!t)return e instanceof _?e:new _(V(e));if(null!=e){if(function(e){return e&&"function"==typeof e[m]}(e))return function(e,t){return new _(t?n=>{const r=new h;return r.add(t.schedule(()=>{const s=e[m]();r.add(s.subscribe({next(e){r.add(t.schedule(()=>n.next(e)))},error(e){r.add(t.schedule(()=>n.error(e)))},complete(){r.add(t.schedule(()=>n.complete()))}}))})),r}:U(e))}(e,t);if(L(e))return function(e,t){return new _(t?n=>{const r=new h;return r.add(t.schedule(()=>e.then(e=>{r.add(t.schedule(()=>{n.next(e),r.add(t.schedule(()=>n.complete()))}))},e=>{r.add(t.schedule(()=>n.error(e)))}))),r}:O(e))}(e,t);if(j(e))return q(e,t);if(function(e){return e&&"function"==typeof e[D]}(e)||"string"==typeof e)return function(e,t){if(!e)throw new Error("Iterable cannot be null");return new _(t?n=>{const r=new h;let s;return r.add(()=>{s&&"function"==typeof s.return&&s.return()}),r.add(t.schedule(()=>{s=e[D](),r.add(t.schedule((function(){if(n.closed)return;let e,t;try{const n=s.next();e=n.value,t=n.done}catch(r){return void n.error(r)}t?n.complete():(n.next(e),this.schedule())})))})),r}:M(e))}(e,t)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}function W(e,t,n=Number.POSITIVE_INFINITY){return"function"==typeof t?r=>r.pipe(W((n,r)=>Z(e(n,r)).pipe(H((e,s)=>t(n,e,r,s))),n)):("number"==typeof t&&(n=t),t=>t.lift(new G(e,n)))}class G{constructor(e,t=Number.POSITIVE_INFINITY){this.project=e,this.concurrent=t}call(e,t){return t.subscribe(new Q(e,this.project,this.concurrent))}}class Q extends F{constructor(e,t,n=Number.POSITIVE_INFINITY){super(e),this.project=t,this.concurrent=n,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 t;const n=this.index++;try{t=this.project(e,n)}catch(r){return void this.destination.error(r)}this.active++,this._innerSub(t,e,n)}_innerSub(e,t,n){const r=new A(this,void 0,void 0);this.destination.add(r),$(this,e,t,n,r)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(e,t,n,r,s){this.destination.next(t)}notifyComplete(e){const t=this.buffer;this.remove(e),this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function K(e){return e}function Y(e=Number.POSITIVE_INFINITY){return W(K,e)}function J(){return function(e){return e.lift(new X(e))}}class X{constructor(e){this.connectable=e}call(e,t){const{connectable:n}=this;n._refCount++;const r=new ee(e,n),s=t.subscribe(r);return r.closed||(r.connection=n.connect()),s}}class ee extends g{constructor(e,t){super(e),this.connectable=t}_unsubscribe(){const{connectable:e}=this;if(!e)return void(this.connection=null);this.connectable=null;const t=e._refCount;if(t<=0)return void(this.connection=null);if(e._refCount=t-1,t>1)return void(this.connection=null);const{connection:n}=this,r=e._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}const te=class extends _{constructor(e,t){super(),this.source=e,this.subjectFactory=t,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 h).add(this.source.subscribe(new re(this.getSubject(),this))),e.closed?(this._connection=null,e=h.EMPTY):this._connection=e),e}refCount(){return J()(this)}}.prototype,ne={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:te._subscribe},_isComplete:{value:te._isComplete,writable:!0},getSubject:{value:te.getSubject},connect:{value:te.connect},refCount:{value:te.refCount}};class re extends T{constructor(e,t){super(e),this.connectable=t}_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 t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}}}function se(){return new k}const ie="__parameters__";function oe(e,t,n){const r=function(e){return function(...t){if(e){const n=e(...t);for(const e in n)this[e]=n[e]}}}(t);function s(...e){if(this instanceof s)return r.apply(this,e),this;const t=new s(...e);return n.annotation=t,n;function n(e,n,r){const s=e.hasOwnProperty(ie)?e[ie]:Object.defineProperty(e,ie,{value:[]})[ie];for(;s.length<=r;)s.push(null);return(s[r]=s[r]||[]).push(t),e}}return n&&(s.prototype=Object.create(n.prototype)),s.prototype.ngMetadataName=e,s.annotationCls=s,s}const ae=oe("Inject",e=>({token:e})),le=oe("Optional"),ce=oe("Self"),ue=oe("SkipSelf");var de=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}({});function he(e){for(let t in e)if(e[t]===he)return t;throw Error("Could not find renamed property on target object.")}function fe(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}const pe=fe;function ge(e){const t=e[be];return t&&t.token===e?t:null}const be=he({ngInjectableDef:he});function me(e){if("string"==typeof e)return e;if(e instanceof Array)return"["+e.map(me).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}const ve=he({__forward_ref__:he});function we(e){return e.__forward_ref__=we,e.toString=function(){return me(this())},e}function ye(e){const t=e;return"function"==typeof t&&t.hasOwnProperty(ve)&&t.__forward_ref__===we?t():e}const _e="undefined"!=typeof globalThis&&globalThis,Ce="undefined"!=typeof window&&window,xe="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Se="undefined"!=typeof global&&global,Ee=_e||Se||Ce||xe;class Te{constructor(e,t){this._desc=e,this.ngMetadataName="InjectionToken",this.ngInjectableDef=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.ngInjectableDef=fe({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}toString(){return`InjectionToken ${this._desc}`}}const ke=new Te("INJECTOR",-1),Re=new Object,Ie="ngTempTokenPath",Ae="ngTokenPath",Ne=/\n/gm,Oe="\u0275",Pe="__source",De=he({provide:String,useValue:he});let Me,Ue=void 0;function je(e){const t=Ue;return Ue=e,t}function Le(e,t=de.Default){if(void 0===Ue)throw new Error("inject() must be called from an injection context");return null===Ue?function(e,t,n){const r=ge(e);if(r&&"root"==r.providedIn)return void 0===r.value?r.value=r.factory():r.value;if(n&de.Optional)return null;throw new Error(`Injector: NOT_FOUND [${me(e)}]`)}(e,0,t):Ue.get(e,t&de.Optional?null:void 0,t)}function Ve(e,t=de.Default){return(Me||Le)(e,t)}const $e=Ve;class Fe{get(e,t=Re){if(t===Re){const t=new Error(`NullInjectorError: No provider for ${me(e)}!`);throw t.name="NullInjectorError",t}return t}}function He(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&e.charAt(1)==Oe?e.substr(2):e;let s=me(t);if(t instanceof Array)s=t.map(me).join(" -> ");else if("object"==typeof t){let e=[];for(let n in t)if(t.hasOwnProperty(n)){let r=t[n];e.push(n+":"+("string"==typeof r?JSON.stringify(r):me(r)))}s=`{${e.join(", ")}}`}return`${n}${r?"("+r+")":""}[${s}]: ${e.replace(Ne,"\n  ")}`}class ze{}class Be{}function qe(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Ze(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}const We=function(){var e={Emulated:0,Native:1,None:2,ShadowDom:3};return e[e.Emulated]="Emulated",e[e.Native]="Native",e[e.None]="None",e[e.ShadowDom]="ShadowDom",e}(),Ge=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Ee))(),Qe="ngDebugContext",Ke="ngOriginalError",Ye="ngErrorLogger";function Je(e){return e[Qe]}function Xe(e){return e[Ke]}function et(e,...t){e.error(...t)}class tt{constructor(){this._console=console}handleError(e){const t=this._findOriginalError(e),n=this._findContext(e),r=function(e){return e[Ye]||et}(e);r(this._console,"ERROR",e),t&&r(this._console,"ORIGINAL ERROR",t),n&&r(this._console,"ERROR CONTEXT",n)}_findContext(e){return e?Je(e)?Je(e):this._findContext(Xe(e)):null}_findOriginalError(e){let t=Xe(e);for(;t&&Xe(t);)t=Xe(t);return t}}let nt=!0,rt=!1;function st(){return rt=!0,nt}class it{constructor(e){if(this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),this.inertBodyElement=this.inertDocument.body,null==this.inertBodyElement){const e=this.inertDocument.createElement("html");this.inertDocument.appendChild(e),this.inertBodyElement=this.inertDocument.createElement("body"),e.appendChild(this.inertBodyElement)}this.inertBodyElement.innerHTML='<svg><g onload="this.parentNode.remove()"></g></svg>',!this.inertBodyElement.querySelector||this.inertBodyElement.querySelector("svg")?(this.inertBodyElement.innerHTML='<svg><p><style><img src="</style><img src=x onerror=alert(1)//">',this.getInertBodyElement=this.inertBodyElement.querySelector&&this.inertBodyElement.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(e){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}getInertBodyElement_XHR(e){e="<body><remove></remove>"+e+"</body>";try{e=encodeURI(e)}catch(r){return null}const t=new XMLHttpRequest;t.responseType="document",t.open("GET","data:text/html;charset=utf-8,"+e,!1),t.send(void 0);const n=t.response.body;return n.removeChild(n.firstChild),n}getInertBodyElement_DOMParser(e){e="<body><remove></remove>"+e+"</body>";try{const t=(new window.DOMParser).parseFromString(e,"text/html").body;return t.removeChild(t.firstChild),t}catch(t){return null}}getInertBodyElement_InertDocument(e){const t=this.inertDocument.createElement("template");return"content"in t?(t.innerHTML=e,t):(this.inertBodyElement.innerHTML=e,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(this.inertBodyElement),this.inertBodyElement)}stripCustomNsAttrs(e){const t=e.attributes;for(let r=t.length-1;0<r;r--){const n=t.item(r).name;"xmlns:ns1"!==n&&0!==n.indexOf("ns1:")||e.removeAttribute(n)}let n=e.firstChild;for(;n;)n.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(n),n=n.nextSibling}}const ot=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,at=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function lt(e){return(e=String(e)).match(ot)||e.match(at)?e:(st()&&console.warn(`WARNING: sanitizing unsafe URL value ${e} (see http://g.co/ng/security#xss)`),"unsafe:"+e)}function ct(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function ut(...e){const t={};for(const n of e)for(const e in n)n.hasOwnProperty(e)&&(t[e]=!0);return t}const dt=ct("area,br,col,hr,img,wbr"),ht=ct("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),ft=ct("rp,rt"),pt=ut(ft,ht),gt=ut(dt,ut(ht,ct("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),ut(ft,ct("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),pt),bt=ct("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),mt=ct("srcset"),vt=ut(bt,mt,ct("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),ct("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),wt=ct("script,style,template");class yt{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(e){let t=e.firstChild,n=!0;for(;t;)if(t.nodeType===Node.ELEMENT_NODE?n=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,n&&t.firstChild)t=t.firstChild;else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let e=this.checkClobberedElement(t,t.nextSibling);if(e){t=e;break}t=this.checkClobberedElement(t,t.parentNode)}return this.buf.join("")}startElement(e){const t=e.nodeName.toLowerCase();if(!gt.hasOwnProperty(t))return this.sanitizedSomething=!0,!wt.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const n=e.attributes;for(let s=0;s<n.length;s++){const e=n.item(s),t=e.name,i=t.toLowerCase();if(!vt.hasOwnProperty(i)){this.sanitizedSomething=!0;continue}let o=e.value;bt[i]&&(o=lt(o)),mt[i]&&(r=o,o=(r=String(r)).split(",").map(e=>lt(e.trim())).join(", ")),this.buf.push(" ",t,'="',xt(o),'"')}var r;return this.buf.push(">"),!0}endElement(e){const t=e.nodeName.toLowerCase();gt.hasOwnProperty(t)&&!dt.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(e){this.buf.push(xt(e))}checkClobberedElement(e,t){if(t&&(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`);return t}}const _t=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Ct=/([^\#-~ |!])/g;function xt(e){return e.replace(/&/g,"&amp;").replace(_t,(function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"})).replace(Ct,(function(e){return"&#"+e.charCodeAt(0)+";"})).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let St;function Et(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}const Tt=function(){var e={NONE:0,HTML:1,STYLE:2,SCRIPT:3,URL:4,RESOURCE_URL:5};return e[e.NONE]="NONE",e[e.HTML]="HTML",e[e.STYLE]="STYLE",e[e.SCRIPT]="SCRIPT",e[e.URL]="URL",e[e.RESOURCE_URL]="RESOURCE_URL",e}();class kt{}const Rt=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|Z|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:calc|attr))\\([-0-9.%, #a-zA-Z]+\\))$","g"),It=/^url\(([^)]+)\)$/,At=/([A-Z])/g;function Nt(e){try{return null!=e?e.toString().slice(0,30):e}catch(t){return"[ERROR] Exception while trying to serialize the value"}}let Ot=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>Pt(),e})();const Pt=(...e)=>{},Dt=new Te("The presence of this token marks an injector as being the root injector."),Mt=function(e,t,n){return new Ht(e,t,n)};let Ut=(()=>{class e{static create(e,t){return Array.isArray(e)?Mt(e,t,""):Mt(e.providers,e.parent,e.name||"")}}return e.THROW_IF_NOT_FOUND=Re,e.NULL=new Fe,e.ngInjectableDef=fe({token:e,providedIn:"any",factory:()=>Ve(ke)}),e.__NG_ELEMENT_ID__=-1,e})();const jt=function(e){return e},Lt=[],Vt=jt,$t=function(){return Array.prototype.slice.call(arguments)},Ft="\u0275";class Ht{constructor(e,t=Ut.NULL,n=null){this.parent=t,this.source=n;const r=this._records=new Map;r.set(Ut,{token:Ut,fn:jt,deps:Lt,value:this,useNew:!1}),r.set(ke,{token:ke,fn:jt,deps:Lt,value:this,useNew:!1}),function e(t,n){if(n)if((n=ye(n))instanceof Array)for(let r=0;r<n.length;r++)e(t,n[r]);else{if("function"==typeof n)throw Bt("Function/Class not supported",n);if(!n||"object"!=typeof n||!n.provide)throw Bt("Unexpected provider",n);{let e=ye(n.provide);const r=function(e){const t=function(e){let t=Lt;const n=e.deps;if(n&&n.length){t=[];for(let e=0;e<n.length;e++){let r=6,s=ye(n[e]);if(s instanceof Array)for(let e=0,t=s;e<t.length;e++){const n=t[e];n instanceof le||n==le?r|=1:n instanceof ue||n==ue?r&=-3:n instanceof ce||n==ce?r&=-5:s=n instanceof ae?n.token:ye(n)}t.push({token:s,options:r})}}else if(e.useExisting)t=[{token:ye(e.useExisting),options:6}];else if(!(n||De in e))throw Bt("'deps' required",e);return t}(e);let n=jt,r=Lt,s=!1,i=ye(e.provide);if(De in e)r=e.useValue;else if(e.useFactory)n=e.useFactory;else if(e.useExisting);else if(e.useClass)s=!0,n=ye(e.useClass);else{if("function"!=typeof i)throw Bt("StaticProvider does not have [useValue|useFactory|useExisting|useClass] or [provide] is not newable",e);s=!0,n=i}return{deps:t,fn:n,useNew:s,value:r}}(n);if(!0===n.multi){let r=t.get(e);if(r){if(r.fn!==$t)throw zt(e)}else t.set(e,r={token:n.provide,deps:[],useNew:!1,fn:$t,value:Lt});r.deps.push({token:e=n,options:6})}const s=t.get(e);if(s&&s.fn==$t)throw zt(e);t.set(e,r)}}}(r,e)}get(e,t,n=de.Default){const r=this._records.get(e);try{return function e(t,n,r,s,i,o){try{return function(t,n,r,s,i,o){let a;if(!n||o&de.SkipSelf)o&de.Self||(a=s.get(t,i,de.Default));else{if((a=n.value)==Vt)throw Error(Ft+"Circular dependency");if(a===Lt){n.value=Vt;let t=void 0,i=n.useNew,o=n.fn,l=n.deps,c=Lt;if(l.length){c=[];for(let t=0;t<l.length;t++){const n=l[t],i=n.options,o=2&i?r.get(n.token):void 0;c.push(e(n.token,o,r,o||4&i?s:Ut.NULL,1&i?null:Ut.THROW_IF_NOT_FOUND,de.Default))}}n.value=a=i?new o(...c):o.apply(t,c)}}return a}(t,n,r,s,i,o)}catch(a){throw a instanceof Error||(a=new Error(a)),(a[Ie]=a[Ie]||[]).unshift(t),n&&n.value==Vt&&(n.value=Lt),a}}(e,r,this._records,this.parent,t,n)}catch(s){return function(e,t,n,r){const s=e[Ie];throw t[Pe]&&s.unshift(t[Pe]),e.message=He("\n"+e.message,s,"StaticInjectorError",r),e[Ae]=s,e[Ie]=null,e}(s,e,0,this.source)}}toString(){const e=[];return this._records.forEach((t,n)=>e.push(me(n))),`StaticInjector[${e.join(", ")}]`}}function zt(e){return Bt("Cannot mix multi providers and regular providers",e)}function Bt(e,t){return new Error(He(e,t,"StaticInjectorError"))}const qt=new Te("AnalyzeForEntryComponents");let Zt=null;function Wt(){if(!Zt){const e=Ee.Symbol;if(e&&e.iterator)Zt=e.iterator;else{const e=Object.getOwnPropertyNames(Map.prototype);for(let t=0;t<e.length;++t){const n=e[t];"entries"!==n&&"size"!==n&&Map.prototype[n]===Map.prototype.entries&&(Zt=n)}}}return Zt}function Gt(e,t){return e===t||"number"==typeof e&&"number"==typeof t&&isNaN(e)&&isNaN(t)}function Qt(e,t){const n=Yt(e),r=Yt(t);if(n&&r)return function(e,t,n){const r=e[Wt()](),s=t[Wt()]();for(;;){const e=r.next(),t=s.next();if(e.done&&t.done)return!0;if(e.done||t.done)return!1;if(!n(e.value,t.value))return!1}}(e,t,Qt);{const s=e&&("object"==typeof e||"function"==typeof e),i=t&&("object"==typeof t||"function"==typeof t);return!(n||!s||r||!i)||Gt(e,t)}}class Kt{constructor(e){this.wrapped=e}static wrap(e){return new Kt(e)}static unwrap(e){return Kt.isWrapped(e)?e.wrapped:e}static isWrapped(e){return e instanceof Kt}}function Yt(e){return!!Jt(e)&&(Array.isArray(e)||!(e instanceof Map)&&Wt()in e)}function Jt(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Xt(e){return!!e&&"function"==typeof e.then}function en(e){return!!e&&"function"==typeof e.subscribe}class tn{constructor(e,t,n){this.previousValue=e,this.currentValue=t,this.firstChange=n}isFirstChange(){return this.firstChange}}class nn{}class rn{}function sn(e){const t=Error(`No component factory found for ${me(e)}. Did you add it to @NgModule.entryComponents?`);return t[on]=e,t}const on="ngComponent";class an{resolveComponentFactory(e){throw sn(e)}}let ln=(()=>{class e{}return e.NULL=new an,e})();class cn{constructor(e,t,n){this._parent=t,this._ngModule=n,this._factories=new Map;for(let r=0;r<e.length;r++){const t=e[r];this._factories.set(t.componentType,t)}}resolveComponentFactory(e){let t=this._factories.get(e);if(!t&&this._parent&&(t=this._parent.resolveComponentFactory(e)),!t)throw sn(e);return new un(t,this._ngModule)}}class un extends rn{constructor(e,t){super(),this.factory=e,this.ngModule=t,this.selector=e.selector,this.componentType=e.componentType,this.ngContentSelectors=e.ngContentSelectors,this.inputs=e.inputs,this.outputs=e.outputs}create(e,t,n,r){return this.factory.create(e,t,n,r||this.ngModule)}}function dn(...e){}let hn=(()=>{class e{constructor(e){this.nativeElement=e}}return e.__NG_ELEMENT_ID__=()=>fn(e),e})();const fn=dn;class pn{}class gn{}const bn=function(){var e={Important:1,DashCase:2};return e[e.Important]="Important",e[e.DashCase]="DashCase",e}();let mn=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>vn(),e})();const vn=dn;class wn{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}const yn=new wn("8.2.14");class _n{constructor(){}supports(e){return Yt(e)}create(e){return new xn(e)}}const Cn=(e,t)=>t;class xn{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||Cn}forEachItem(e){let t;for(t=this._itHead;null!==t;t=t._next)e(t)}forEachOperation(e){let t=this._itHead,n=this._removalsHead,r=0,s=null;for(;t||n;){const i=!n||t&&t.currentIndex<kn(n,r,s)?t:n,o=kn(i,r,s),a=i.currentIndex;if(i===n)r--,n=n._nextRemoved;else if(t=t._next,null==i.previousIndex)r++;else{s||(s=[]);const e=o-r,t=a-r;if(e!=t){for(let n=0;n<e;n++){const r=n<s.length?s[n]:s[n]=0,i=r+n;t<=i&&i<e&&(s[n]=r+1)}s[i.previousIndex]=t-e}}o!==a&&e(i,o,a)}}forEachPreviousItem(e){let t;for(t=this._previousItHead;null!==t;t=t._nextPrevious)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}forEachMovedItem(e){let t;for(t=this._movesHead;null!==t;t=t._nextMoved)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}forEachIdentityChange(e){let t;for(t=this._identityChangesHead;null!==t;t=t._nextIdentityChange)e(t)}diff(e){if(null==e&&(e=[]),!Yt(e))throw new Error(`Error trying to diff '${me(e)}'. Only arrays and iterables are allowed`);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t,n,r,s=this._itHead,i=!1;if(Array.isArray(e)){this.length=e.length;for(let t=0;t<this.length;t++)r=this._trackByFn(t,n=e[t]),null!==s&&Gt(s.trackById,r)?(i&&(s=this._verifyReinsertion(s,n,r,t)),Gt(s.item,n)||this._addIdentityChange(s,n)):(s=this._mismatch(s,n,r,t),i=!0),s=s._next}else t=0,function(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Wt()]();let r;for(;!(r=n.next()).done;)t(r.value)}}(e,e=>{r=this._trackByFn(t,e),null!==s&&Gt(s.trackById,r)?(i&&(s=this._verifyReinsertion(s,e,r,t)),Gt(s.item,e)||this._addIdentityChange(s,e)):(s=this._mismatch(s,e,r,t),i=!0),s=s._next,t++}),this.length=t;return this._truncate(s),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,t;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=t)e.previousIndex=e.currentIndex,t=e._nextMoved;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,t,n,r){let s;return null===e?s=this._itTail:(s=e._prev,this._remove(e)),null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(Gt(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,s,r)):null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Gt(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,s,r)):e=this._addAfter(new Sn(t,n),s,r),e}_verifyReinsertion(e,t,n,r){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==s?e=this._reinsertAfter(s,e._prev,r):e.currentIndex!=r&&(e.currentIndex=r,this._addToMoves(e,r)),e}_truncate(e){for(;null!==e;){const t=e._next;this._addToRemovals(this._unlink(e)),e=t}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,t,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);const r=e._prevRemoved,s=e._nextRemoved;return null===r?this._removalsHead=s:r._nextRemoved=s,null===s?this._removalsTail=r:s._prevRemoved=r,this._insertAfter(e,t,n),this._addToMoves(e,n),e}_moveAfter(e,t,n){return this._unlink(e),this._insertAfter(e,t,n),this._addToMoves(e,n),e}_addAfter(e,t,n){return this._insertAfter(e,t,n),this._additionsTail=null===this._additionsTail?this._additionsHead=e:this._additionsTail._nextAdded=e,e}_insertAfter(e,t,n){const r=null===t?this._itHead:t._next;return e._next=r,e._prev=t,null===r?this._itTail=e:r._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new Tn),this._linkedRecords.put(e),e.currentIndex=n,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);const t=e._prev,n=e._next;return null===t?this._itHead=n:t._next=n,null===n?this._itTail=t:n._prev=t,e}_addToMoves(e,t){return e.previousIndex===t?e:(this._movesTail=null===this._movesTail?this._movesHead=e:this._movesTail._nextMoved=e,e)}_addToRemovals(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Tn),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,t){return e.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=e:this._identityChangesTail._nextIdentityChange=e,e}}class Sn{constructor(e,t){this.item=e,this.trackById=t,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 En{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,t){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===t||t<=n.currentIndex)&&Gt(n.trackById,e))return n;return null}remove(e){const t=e._prevDup,n=e._nextDup;return null===t?this._head=n:t._nextDup=n,null===n?this._tail=t:n._prevDup=t,null===this._head}}class Tn{constructor(){this.map=new Map}put(e){const t=e.trackById;let n=this.map.get(t);n||(n=new En,this.map.set(t,n)),n.add(e)}get(e,t){const n=this.map.get(e);return n?n.get(e,t):null}remove(e){const t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function kn(e,t,n){const r=e.previousIndex;if(null===r)return r;let s=0;return n&&r<n.length&&(s=n[r]),r+t+s}class Rn{constructor(){}supports(e){return e instanceof Map||Jt(e)}create(){return new In}}class In{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 t;for(t=this._mapHead;null!==t;t=t._next)e(t)}forEachPreviousItem(e){let t;for(t=this._previousMapHead;null!==t;t=t._nextPrevious)e(t)}forEachChangedItem(e){let t;for(t=this._changesHead;null!==t;t=t._nextChanged)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}diff(e){if(e){if(!(e instanceof Map||Jt(e)))throw new Error(`Error trying to diff '${me(e)}'. Only maps and objects are allowed`)}else e=new Map;return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t=this._mapHead;if(this._appendAfter=null,this._forEach(e,(e,n)=>{if(t&&t.key===n)this._maybeAddToChanges(t,e),this._appendAfter=t,t=t._next;else{const r=this._getOrCreateRecordForKey(n,e);t=this._insertBeforeOrAppend(t,r)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let e=t;null!==e;e=e._nextRemoved)e===this._mapHead&&(this._mapHead=null),this._records.delete(e.key),e._nextRemoved=e._next,e.previousValue=e.currentValue,e.currentValue=null,e._prev=null,e._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,t){if(e){const n=e._prev;return t._next=e,t._prev=n,e._prev=t,n&&(n._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(e,t){if(this._records.has(e)){const n=this._records.get(e);this._maybeAddToChanges(n,t);const r=n._prev,s=n._next;return r&&(r._next=s),s&&(s._prev=r),n._next=null,n._prev=null,n}const n=new An(e);return this._records.set(e,n),n.currentValue=t,this._addToAdditions(n),n}_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,t){Gt(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,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,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach(n=>t(e[n],n))}}class An{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}}let Nn=(()=>{class e{constructor(e){this.factories=e}static create(t,n){if(null!=n){const e=n.factories.slice();t=t.concat(e)}return new e(t)}static extend(t){return{provide:e,useFactory:n=>{if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return e.create(t,n)},deps:[[e,new ue,new le]]}}find(e){const t=this.factories.find(t=>t.supports(e));if(null!=t)return t;throw new Error(`Cannot find a differ supporting object '${e}' of type '${n=e,n.name||typeof n}'`);var n}}return e.ngInjectableDef=fe({token:e,providedIn:"root",factory:()=>new e([new _n])}),e})(),On=(()=>{class e{constructor(e){this.factories=e}static create(t,n){if(n){const e=n.factories.slice();t=t.concat(e)}return new e(t)}static extend(t){return{provide:e,useFactory:n=>{if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return e.create(t,n)},deps:[[e,new ue,new le]]}}find(e){const t=this.factories.find(t=>t.supports(e));if(t)return t;throw new Error(`Cannot find a differ supporting object '${e}'`)}}return e.ngInjectableDef=fe({token:e,providedIn:"root",factory:()=>new e([new Rn])}),e})();const Pn=[new Rn],Dn=new Nn([new _n]),Mn=new On(Pn);let Un=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>jn(e,hn),e})();const jn=dn;let Ln=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>Vn(e,hn),e})();const Vn=dn;function $n(e,t,n,r){let s=`ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '${t}'. Current value: '${n}'.`;return r&&(s+=" It seems like the view has been created after its parent and its children have been dirty checked. Has it been created in a change detection hook ?"),function(e,t){const n=new Error(e);return Fn(n,t),n}(s,e)}function Fn(e,t){e[Qe]=t,e[Ye]=t.logError.bind(t)}function Hn(e){return new Error(`ViewDestroyedError: Attempt to use a destroyed view: ${e}`)}function zn(e,t,n){const r=e.state,s=1792&r;return s===t?(e.state=-1793&r|n,e.initIndex=-1,!0):s===n}function Bn(e,t,n){return(1792&e.state)===t&&e.initIndex<=n&&(e.initIndex=n+1,!0)}function qn(e,t){return e.nodes[t]}function Zn(e,t){return e.nodes[t]}function Wn(e,t){return e.nodes[t]}function Gn(e,t){return e.nodes[t]}function Qn(e,t){return e.nodes[t]}const Kn={setCurrentNode:void 0,createRootView:void 0,createEmbeddedView:void 0,createComponentView:void 0,createNgModuleRef:void 0,overrideProvider:void 0,overrideComponentView:void 0,clearOverrides:void 0,checkAndUpdateView:void 0,checkNoChangesView:void 0,destroyView:void 0,resolveDep:void 0,createDebugContext:void 0,handleEvent:void 0,updateDirectives:void 0,updateRenderer:void 0,dirtyParentQueries:void 0},Yn=()=>{},Jn=new Map;function Xn(e){let t=Jn.get(e);return t||(t=me(e)+"_"+Jn.size,Jn.set(e,t)),t}const er="$$undefined",tr="$$empty";function nr(e){return{id:er,styles:e.styles,encapsulation:e.encapsulation,data:e.data}}let rr=0;function sr(e,t,n,r){return!(!(2&e.state)&&Gt(e.oldValues[t.bindingIndex+n],r))}function ir(e,t,n,r){return!!sr(e,t,n,r)&&(e.oldValues[t.bindingIndex+n]=r,!0)}function or(e,t,n,r){const s=e.oldValues[t.bindingIndex+n];if(1&e.state||!Qt(s,r)){const i=t.bindings[n].name;throw $n(Kn.createDebugContext(e,t.nodeIndex),`${i}: ${s}`,`${i}: ${r}`,0!=(1&e.state))}}function ar(e){let t=e;for(;t;)2&t.def.flags&&(t.state|=8),t=t.viewContainerParent||t.parent}function lr(e,t){let n=e;for(;n&&n!==t;)n.state|=64,n=n.viewContainerParent||n.parent}function cr(e,t,n,r){try{return ar(33554432&e.def.nodes[t].flags?Zn(e,t).componentView:e),Kn.handleEvent(e,t,n,r)}catch(s){e.root.errorHandler.handleError(s)}}function ur(e){return e.parent?Zn(e.parent,e.parentNodeDef.nodeIndex):null}function dr(e){return e.parent?e.parentNodeDef.parent:null}function hr(e,t){switch(201347067&t.flags){case 1:return Zn(e,t.nodeIndex).renderElement;case 2:return qn(e,t.nodeIndex).renderText}}function fr(e){return!!e.parent&&!!(32768&e.parentNodeDef.flags)}function pr(e){return!(!e.parent||32768&e.parentNodeDef.flags)}function gr(e){const t={};let n=0;const r={};return e&&e.forEach(([e,s])=>{"number"==typeof e?(t[e]=s,n|=function(e){return 1<<e%32}(e)):r[e]=s}),{matchedQueries:t,references:r,matchedQueryIds:n}}function br(e,t){return e.map(e=>{let n,r;return Array.isArray(e)?[r,n]=e:(r=0,n=e),n&&("function"==typeof n||"object"==typeof n)&&t&&Object.defineProperty(n,Pe,{value:t,configurable:!0}),{flags:r,token:n,tokenKey:Xn(n)}})}function mr(e,t,n){let r=n.renderParent;return r?0==(1&r.flags)||0==(33554432&r.flags)||r.element.componentRendererType&&r.element.componentRendererType.encapsulation===We.Native?Zn(e,n.renderParent.nodeIndex).renderElement:void 0:t}const vr=new WeakMap;function wr(e){let t=vr.get(e);return t||((t=e(()=>Yn)).factory=e,vr.set(e,t)),t}function yr(e,t,n,r,s){3===t&&(n=e.renderer.parentNode(hr(e,e.def.lastRenderRootNode))),_r(e,t,0,e.def.nodes.length-1,n,r,s)}function _r(e,t,n,r,s,i,o){for(let a=n;a<=r;a++){const n=e.def.nodes[a];11&n.flags&&xr(e,n,t,s,i,o),a+=n.childCount}}function Cr(e,t,n,r,s,i){let o=e;for(;o&&!fr(o);)o=o.parent;const a=o.parent,l=dr(o),c=l.nodeIndex+l.childCount;for(let u=l.nodeIndex+1;u<=c;u++){const e=a.def.nodes[u];e.ngContentIndex===t&&xr(a,e,n,r,s,i),u+=e.childCount}if(!a.parent){const o=e.root.projectableNodes[t];if(o)for(let t=0;t<o.length;t++)Sr(e,o[t],n,r,s,i)}}function xr(e,t,n,r,s,i){if(8&t.flags)Cr(e,t.ngContent.index,n,r,s,i);else{const o=hr(e,t);if(3===n&&33554432&t.flags&&48&t.bindingFlags?(16&t.bindingFlags&&Sr(e,o,n,r,s,i),32&t.bindingFlags&&Sr(Zn(e,t.nodeIndex).componentView,o,n,r,s,i)):Sr(e,o,n,r,s,i),16777216&t.flags){const o=Zn(e,t.nodeIndex).viewContainer._embeddedViews;for(let e=0;e<o.length;e++)yr(o[e],n,r,s,i)}1&t.flags&&!t.element.name&&_r(e,n,t.nodeIndex+1,t.nodeIndex+t.childCount,r,s,i)}}function Sr(e,t,n,r,s,i){const o=e.renderer;switch(n){case 1:o.appendChild(r,t);break;case 2:o.insertBefore(r,t,s);break;case 3:o.removeChild(r,t);break;case 0:i.push(t)}}const Er=/^:([^:]+):(.+)$/;function Tr(e){if(":"===e[0]){const t=e.match(Er);return[t[1],t[2]]}return["",e]}function kr(e){let t=0;for(let n=0;n<e.length;n++)t|=e[n].flags;return t}const Rr=new Object,Ir=Xn(Ut),Ar=Xn(ke),Nr=Xn(ze);function Or(e,t,n,r){return n=ye(n),{index:-1,deps:br(r,me(t)),flags:e,token:t,value:n}}function Pr(e,t,n=Ut.THROW_IF_NOT_FOUND){const r=je(e);try{if(8&t.flags)return t.token;if(2&t.flags&&(n=null),1&t.flags)return e._parent.get(t.token,n);const o=t.tokenKey;switch(o){case Ir:case Ar:case Nr:return e}const a=e._def.providersByKey[o];let l;if(a){let t=e._providers[a.index];return void 0===t&&(t=e._providers[a.index]=Dr(e,a)),t===Rr?void 0:t}if((l=ge(t.token))&&(s=e,null!=(i=l).providedIn&&(function(e,t){return e._def.modules.indexOf(t)>-1}(s,i.providedIn)||"root"===i.providedIn&&s._def.isRoot))){const n=e._providers.length;return e._def.providers[n]=e._def.providersByKey[t.tokenKey]={flags:5120,value:l.factory,deps:[],index:n,token:t.token},e._providers[n]=Rr,e._providers[n]=Dr(e,e._def.providersByKey[t.tokenKey])}return 4&t.flags?n:e._parent.get(t.token,n)}finally{je(r)}var s,i}function Dr(e,t){let n;switch(201347067&t.flags){case 512:n=function(e,t,n){const r=n.length;switch(r){case 0:return new t;case 1:return new t(Pr(e,n[0]));case 2:return new t(Pr(e,n[0]),Pr(e,n[1]));case 3:return new t(Pr(e,n[0]),Pr(e,n[1]),Pr(e,n[2]));default:const s=new Array(r);for(let t=0;t<r;t++)s[t]=Pr(e,n[t]);return new t(...s)}}(e,t.value,t.deps);break;case 1024:n=function(e,t,n){const r=n.length;switch(r){case 0:return t();case 1:return t(Pr(e,n[0]));case 2:return t(Pr(e,n[0]),Pr(e,n[1]));case 3:return t(Pr(e,n[0]),Pr(e,n[1]),Pr(e,n[2]));default:const s=Array(r);for(let t=0;t<r;t++)s[t]=Pr(e,n[t]);return t(...s)}}(e,t.value,t.deps);break;case 2048:n=Pr(e,t.deps[0]);break;case 256:n=t.value}return n===Rr||null===n||"object"!=typeof n||131072&t.flags||"function"!=typeof n.ngOnDestroy||(t.flags|=131072),void 0===n?Rr:n}function Mr(e,t){const n=e.viewContainer._embeddedViews;if((null==t||t>=n.length)&&(t=n.length-1),t<0)return null;const r=n[t];return r.viewContainerParent=null,Ze(n,t),Kn.dirtyParentQueries(r),jr(r),r}function Ur(e,t,n){const r=t?hr(t,t.def.lastRenderRootNode):e.renderElement,s=n.renderer.parentNode(r),i=n.renderer.nextSibling(r);yr(n,2,s,i,void 0)}function jr(e){yr(e,3,null,null,void 0)}const Lr=new Object;function Vr(e,t,n,r,s,i){return new $r(e,t,n,r,s,i)}class $r extends rn{constructor(e,t,n,r,s,i){super(),this.selector=e,this.componentType=t,this._inputs=r,this._outputs=s,this.ngContentSelectors=i,this.viewDefFactory=n}get inputs(){const e=[],t=this._inputs;for(let n in t)e.push({propName:n,templateName:t[n]});return e}get outputs(){const e=[];for(let t in this._outputs)e.push({propName:t,templateName:this._outputs[t]});return e}create(e,t,n,r){if(!r)throw new Error("ngModule should be provided");const s=wr(this.viewDefFactory),i=s.nodes[0].element.componentProvider.nodeIndex,o=Kn.createRootView(e,t||[],n,s,r,Lr),a=Wn(o,i).instance;return n&&o.renderer.setAttribute(Zn(o,0).renderElement,"ng-version",yn.full),new Fr(o,new qr(o),a)}}class Fr extends nn{constructor(e,t,n){super(),this._view=e,this._viewRef=t,this._component=n,this._elDef=this._view.def.nodes[0],this.hostView=t,this.changeDetectorRef=t,this.instance=n}get location(){return new hn(Zn(this._view,this._elDef.nodeIndex).renderElement)}get injector(){return new Qr(this._view,this._elDef)}get componentType(){return this._component.constructor}destroy(){this._viewRef.destroy()}onDestroy(e){this._viewRef.onDestroy(e)}}function Hr(e,t,n){return new zr(e,t,n)}class zr{constructor(e,t,n){this._view=e,this._elDef=t,this._data=n,this._embeddedViews=[]}get element(){return new hn(this._data.renderElement)}get injector(){return new Qr(this._view,this._elDef)}get parentInjector(){let e=this._view,t=this._elDef.parent;for(;!t&&e;)t=dr(e),e=e.parent;return e?new Qr(e,t):new Qr(this._view,null)}clear(){for(let e=this._embeddedViews.length-1;e>=0;e--){const t=Mr(this._data,e);Kn.destroyView(t)}}get(e){const t=this._embeddedViews[e];if(t){const e=new qr(t);return e.attachToViewContainerRef(this),e}return null}get length(){return this._embeddedViews.length}createEmbeddedView(e,t,n){const r=e.createEmbeddedView(t||{});return this.insert(r,n),r}createComponent(e,t,n,r,s){const i=n||this.parentInjector;s||e instanceof un||(s=i.get(ze));const o=e.create(i,r,void 0,s);return this.insert(o.hostView,t),o}insert(e,t){if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");const n=e;return function(e,t,n,r){let s=t.viewContainer._embeddedViews;null==n&&(n=s.length),r.viewContainerParent=e,qe(s,n,r),function(e,t){const n=ur(t);if(!n||n===e||16&t.state)return;t.state|=16;let r=n.template._projectedViews;r||(r=n.template._projectedViews=[]),r.push(t),function(e,t){if(4&t.flags)return;e.nodeFlags|=4,t.flags|=4;let n=t.parent;for(;n;)n.childFlags|=4,n=n.parent}(t.parent.def,t.parentNodeDef)}(t,r),Kn.dirtyParentQueries(r),Ur(t,n>0?s[n-1]:null,r)}(this._view,this._data,t,n._view),n.attachToViewContainerRef(this),e}move(e,t){if(e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");const n=this._embeddedViews.indexOf(e._view);return function(e,t,n){const r=e.viewContainer._embeddedViews,s=r[t];Ze(r,t),null==n&&(n=r.length),qe(r,n,s),Kn.dirtyParentQueries(s),jr(s),Ur(e,n>0?r[n-1]:null,s)}(this._data,n,t),e}indexOf(e){return this._embeddedViews.indexOf(e._view)}remove(e){const t=Mr(this._data,e);t&&Kn.destroyView(t)}detach(e){const t=Mr(this._data,e);return t?new qr(t):null}}function Br(e){return new qr(e)}class qr{constructor(e){this._view=e,this._viewContainerRef=null,this._appRef=null}get rootNodes(){return function(e){const t=[];return yr(e,0,void 0,void 0,t),t}(this._view)}get context(){return this._view.context}get destroyed(){return 0!=(128&this._view.state)}markForCheck(){ar(this._view)}detach(){this._view.state&=-5}detectChanges(){const e=this._view.root.rendererFactory;e.begin&&e.begin();try{Kn.checkAndUpdateView(this._view)}finally{e.end&&e.end()}}checkNoChanges(){Kn.checkNoChangesView(this._view)}reattach(){this._view.state|=4}onDestroy(e){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(e)}destroy(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),Kn.destroyView(this._view)}detachFromAppRef(){this._appRef=null,jr(this._view),Kn.dirtyParentQueries(this._view)}attachToAppRef(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e}attachToViewContainerRef(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e}}function Zr(e,t){return new Wr(e,t)}class Wr extends Un{constructor(e,t){super(),this._parentView=e,this._def=t}createEmbeddedView(e){return new qr(Kn.createEmbeddedView(this._parentView,this._def,this._def.element.template,e))}get elementRef(){return new hn(Zn(this._parentView,this._def.nodeIndex).renderElement)}}function Gr(e,t){return new Qr(e,t)}class Qr{constructor(e,t){this.view=e,this.elDef=t}get(e,t=Ut.THROW_IF_NOT_FOUND){return Kn.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:e,tokenKey:Xn(e)},t)}}function Kr(e,t){const n=e.def.nodes[t];if(1&n.flags){const t=Zn(e,n.nodeIndex);return n.element.template?t.template:t.renderElement}if(2&n.flags)return qn(e,n.nodeIndex).renderText;if(20240&n.flags)return Wn(e,n.nodeIndex).instance;throw new Error(`Illegal state: read nodeValue for node index ${t}`)}function Yr(e){return new Jr(e.renderer)}class Jr{constructor(e){this.delegate=e}selectRootElement(e){return this.delegate.selectRootElement(e)}createElement(e,t){const[n,r]=Tr(t),s=this.delegate.createElement(r,n);return e&&this.delegate.appendChild(e,s),s}createViewRoot(e){return e}createTemplateAnchor(e){const t=this.delegate.createComment("");return e&&this.delegate.appendChild(e,t),t}createText(e,t){const n=this.delegate.createText(t);return e&&this.delegate.appendChild(e,n),n}projectNodes(e,t){for(let n=0;n<t.length;n++)this.delegate.appendChild(e,t[n])}attachViewAfter(e,t){const n=this.delegate.parentNode(e),r=this.delegate.nextSibling(e);for(let s=0;s<t.length;s++)this.delegate.insertBefore(n,t[s],r)}detachView(e){for(let t=0;t<e.length;t++){const n=e[t],r=this.delegate.parentNode(n);this.delegate.removeChild(r,n)}}destroyView(e,t){for(let n=0;n<t.length;n++)this.delegate.destroyNode(t[n])}listen(e,t,n){return this.delegate.listen(e,t,n)}listenGlobal(e,t,n){return this.delegate.listen(e,t,n)}setElementProperty(e,t,n){this.delegate.setProperty(e,t,n)}setElementAttribute(e,t,n){const[r,s]=Tr(t);null!=n?this.delegate.setAttribute(e,s,n,r):this.delegate.removeAttribute(e,s,r)}setBindingDebugInfo(e,t,n){}setElementClass(e,t,n){n?this.delegate.addClass(e,t):this.delegate.removeClass(e,t)}setElementStyle(e,t,n){null!=n?this.delegate.setStyle(e,t,n):this.delegate.removeStyle(e,t)}invokeElementMethod(e,t,n){e[t].apply(e,n)}setText(e,t){this.delegate.setValue(e,t)}animate(){throw new Error("Renderer.animate is no longer supported!")}}function Xr(e,t,n,r){return new es(e,t,n,r)}class es{constructor(e,t,n,r){this._moduleType=e,this._parent=t,this._bootstrapComponents=n,this._def=r,this._destroyListeners=[],this._destroyed=!1,this.injector=this,function(e){const t=e._def,n=e._providers=new Array(t.providers.length);for(let r=0;r<t.providers.length;r++){const s=t.providers[r];4096&s.flags||void 0===n[r]&&(n[r]=Dr(e,s))}}(this)}get(e,t=Ut.THROW_IF_NOT_FOUND,n=de.Default){let r=0;return n&de.SkipSelf?r|=1:n&de.Self&&(r|=4),Pr(this,{token:e,tokenKey:Xn(e),flags:r},t)}get instance(){return this.get(this._moduleType)}get componentFactoryResolver(){return this.get(ln)}destroy(){if(this._destroyed)throw new Error(`The ng module ${me(this.instance.constructor)} has already been destroyed.`);this._destroyed=!0,function(e,t){const n=e._def,r=new Set;for(let s=0;s<n.providers.length;s++)if(131072&n.providers[s].flags){const t=e._providers[s];if(t&&t!==Rr){const e=t.ngOnDestroy;"function"!=typeof e||r.has(t)||(e.apply(t),r.add(t))}}}(this),this._destroyListeners.forEach(e=>e())}onDestroy(e){this._destroyListeners.push(e)}}const ts=Xn(pn),ns=Xn(mn),rs=Xn(hn),ss=Xn(Ln),is=Xn(Un),os=Xn(Ot),as=Xn(Ut),ls=Xn(ke);function cs(e,t,n,r,s,i,o,a){const l=[];if(o)for(let u in o){const[e,t]=o[u];l[e]={flags:8,name:u,nonMinifiedName:t,ns:null,securityContext:null,suffix:null}}const c=[];if(a)for(let u in a)c.push({type:1,propName:u,target:null,eventName:a[u]});return us(e,t|=16384,n,r,s,s,i,l,c)}function us(e,t,n,r,s,i,o,a,l){const{matchedQueries:c,references:u,matchedQueryIds:d}=gr(n);l||(l=[]),a||(a=[]),i=ye(i);const h=br(o,me(s));return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:t,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:c,matchedQueryIds:d,references:u,ngContentIndex:-1,childCount:r,bindings:a,bindingFlags:kr(a),outputs:l,element:null,provider:{token:s,value:i,deps:h},text:null,query:null,ngContent:null}}function ds(e,t){return gs(e,t)}function hs(e,t){let n=e;for(;n.parent&&!fr(n);)n=n.parent;return bs(n.parent,dr(n),!0,t.provider.value,t.provider.deps)}function fs(e,t){const n=bs(e,t.parent,(32768&t.flags)>0,t.provider.value,t.provider.deps);if(t.outputs.length)for(let r=0;r<t.outputs.length;r++){const s=t.outputs[r],i=n[s.propName];if(!en(i))throw new Error(`@Output ${s.propName} not initialized in '${n.constructor.name}'.`);{const n=i.subscribe(ps(e,t.parent.nodeIndex,s.eventName));e.disposables[t.outputIndex+r]=n.unsubscribe.bind(n)}}return n}function ps(e,t,n){return r=>cr(e,t,n,r)}function gs(e,t){const n=(8192&t.flags)>0,r=t.provider;switch(201347067&t.flags){case 512:return bs(e,t.parent,n,r.value,r.deps);case 1024:return function(e,t,n,r,s){const i=s.length;switch(i){case 0:return r();case 1:return r(vs(e,t,n,s[0]));case 2:return r(vs(e,t,n,s[0]),vs(e,t,n,s[1]));case 3:return r(vs(e,t,n,s[0]),vs(e,t,n,s[1]),vs(e,t,n,s[2]));default:const o=Array(i);for(let r=0;r<i;r++)o[r]=vs(e,t,n,s[r]);return r(...o)}}(e,t.parent,n,r.value,r.deps);case 2048:return vs(e,t.parent,n,r.deps[0]);case 256:return r.value}}function bs(e,t,n,r,s){const i=s.length;switch(i){case 0:return new r;case 1:return new r(vs(e,t,n,s[0]));case 2:return new r(vs(e,t,n,s[0]),vs(e,t,n,s[1]));case 3:return new r(vs(e,t,n,s[0]),vs(e,t,n,s[1]),vs(e,t,n,s[2]));default:const o=new Array(i);for(let r=0;r<i;r++)o[r]=vs(e,t,n,s[r]);return new r(...o)}}const ms={};function vs(e,t,n,r,s=Ut.THROW_IF_NOT_FOUND){if(8&r.flags)return r.token;const i=e;2&r.flags&&(s=null);const o=r.tokenKey;o===os&&(n=!(!t||!t.element.componentView)),t&&1&r.flags&&(n=!1,t=t.parent);let a=e;for(;a;){if(t)switch(o){case ts:return Yr(ws(a,t,n));case ns:return ws(a,t,n).renderer;case rs:return new hn(Zn(a,t.nodeIndex).renderElement);case ss:return Zn(a,t.nodeIndex).viewContainer;case is:if(t.element.template)return Zn(a,t.nodeIndex).template;break;case os:return Br(ws(a,t,n));case as:case ls:return Gr(a,t);default:const e=(n?t.element.allProviders:t.element.publicProviders)[o];if(e){let t=Wn(a,e.nodeIndex);return t||(t={instance:gs(a,e)},a.nodes[e.nodeIndex]=t),t.instance}}n=fr(a),t=dr(a),a=a.parent,4&r.flags&&(a=null)}const l=i.root.injector.get(r.token,ms);return l!==ms||s===ms?l:i.root.ngModule.injector.get(r.token,s)}function ws(e,t,n){let r;if(n)r=Zn(e,t.nodeIndex).componentView;else for(r=e;r.parent&&!fr(r);)r=r.parent;return r}function ys(e,t,n,r,s,i){if(32768&n.flags){const t=Zn(e,n.parent.nodeIndex).componentView;2&t.def.flags&&(t.state|=8)}if(t.instance[n.bindings[r].name]=s,524288&n.flags){i=i||{};const t=Kt.unwrap(e.oldValues[n.bindingIndex+r]);i[n.bindings[r].nonMinifiedName]=new tn(t,s,0!=(2&e.state))}return e.oldValues[n.bindingIndex+r]=s,i}function _s(e,t){if(!(e.def.nodeFlags&t))return;const n=e.def.nodes;let r=0;for(let s=0;s<n.length;s++){const i=n[s];let o=i.parent;for(!o&&i.flags&t&&xs(e,s,i.flags&t,r++),0==(i.childFlags&t)&&(s+=i.childCount);o&&1&o.flags&&s===o.nodeIndex+o.childCount;)o.directChildFlags&t&&(r=Cs(e,o,t,r)),o=o.parent}}function Cs(e,t,n,r){for(let s=t.nodeIndex+1;s<=t.nodeIndex+t.childCount;s++){const t=e.def.nodes[s];t.flags&n&&xs(e,s,t.flags&n,r++),s+=t.childCount}return r}function xs(e,t,n,r){const s=Wn(e,t);if(!s)return;const i=s.instance;i&&(Kn.setCurrentNode(e,t),1048576&n&&Bn(e,512,r)&&i.ngAfterContentInit(),2097152&n&&i.ngAfterContentChecked(),4194304&n&&Bn(e,768,r)&&i.ngAfterViewInit(),8388608&n&&i.ngAfterViewChecked(),131072&n&&i.ngOnDestroy())}const Ss=new Te("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>Ge}),Es={},Ts=function(){var e={LocaleId:0,DayPeriodsFormat:1,DayPeriodsStandalone:2,DaysFormat:3,DaysStandalone:4,MonthsFormat:5,MonthsStandalone:6,Eras:7,FirstDayOfWeek:8,WeekendRange:9,DateFormat:10,TimeFormat:11,DateTimeFormat:12,NumberSymbols:13,NumberFormats:14,CurrencySymbol:15,CurrencyName:16,Currencies:17,PluralCase:18,ExtraData:19};return e[e.LocaleId]="LocaleId",e[e.DayPeriodsFormat]="DayPeriodsFormat",e[e.DayPeriodsStandalone]="DayPeriodsStandalone",e[e.DaysFormat]="DaysFormat",e[e.DaysStandalone]="DaysStandalone",e[e.MonthsFormat]="MonthsFormat",e[e.MonthsStandalone]="MonthsStandalone",e[e.Eras]="Eras",e[e.FirstDayOfWeek]="FirstDayOfWeek",e[e.WeekendRange]="WeekendRange",e[e.DateFormat]="DateFormat",e[e.TimeFormat]="TimeFormat",e[e.DateTimeFormat]="DateTimeFormat",e[e.NumberSymbols]="NumberSymbols",e[e.NumberFormats]="NumberFormats",e[e.CurrencySymbol]="CurrencySymbol",e[e.CurrencyName]="CurrencyName",e[e.Currencies]="Currencies",e[e.PluralCase]="PluralCase",e[e.ExtraData]="ExtraData",e}(),ks=void 0;var Rs=["en",[["a","p"],["AM","PM"],ks],[["AM","PM"],ks,ks],[["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"]],ks,[["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"]],ks,[["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}",ks,"{1} 'at' {0}",ks],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"$","US Dollar",{},function(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}];const Is="en-US";let As=Is;function Ns(e){var t;t="Expected localeId to be defined",null==e&&function(e){throw new Error(`ASSERTION ERROR: ${e}`)}(t),"string"==typeof e&&(As=e.toLowerCase().replace(/_/g,"-"))}class Os extends k{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,t,n){let r,s=e=>null,i=()=>null;e&&"object"==typeof e?(r=this.__isAsync?t=>{setTimeout(()=>e.next(t))}:t=>{e.next(t)},e.error&&(s=this.__isAsync?t=>{setTimeout(()=>e.error(t))}:t=>{e.error(t)}),e.complete&&(i=this.__isAsync?()=>{setTimeout(()=>e.complete())}:()=>{e.complete()})):(r=this.__isAsync?t=>{setTimeout(()=>e(t))}:t=>{e(t)},t&&(s=this.__isAsync?e=>{setTimeout(()=>t(e))}:e=>{t(e)}),n&&(i=this.__isAsync?()=>{setTimeout(()=>n())}:()=>{n()}));const o=super.subscribe(r,s,i);return e instanceof h&&e.add(o),o}}function Ps(){return this._results[Wt()]()}class Ds{constructor(){this.dirty=!0,this._results=[],this.changes=new Os,this.length=0;const e=Wt(),t=Ds.prototype;t[e]||(t[e]=Ps)}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,t){return this._results.reduce(e,t)}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){this._results=function e(t,n){void 0===n&&(n=t);for(let r=0;r<t.length;r++){let s=t[r];Array.isArray(s)?(n===t&&(n=t.slice(0,r)),e(s,n)):n!==t&&n.push(s)}return n}(e),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]}notifyOnChanges(){this.changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}const Ms=new Te("Application Initializer");class Us{constructor(e){this.appInits=e,this.initialized=!1,this.done=!1,this.donePromise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}runInitializers(){if(this.initialized)return;const e=[],t=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let n=0;n<this.appInits.length;n++){const t=this.appInits[n]();Xt(t)&&e.push(t)}Promise.all(e).then(()=>{t()}).catch(e=>{this.reject(e)}),0===e.length&&t(),this.initialized=!0}}const js=new Te("AppId");function Ls(){return`${Vs()}${Vs()}${Vs()}`}function Vs(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const $s=new Te("Platform Initializer"),Fs=new Te("Platform ID"),Hs=new Te("appBootstrapListener");class zs{log(e){console.log(e)}warn(e){console.warn(e)}}const Bs=new Te("LocaleId"),qs=!1;function Zs(){throw new Error("Runtime compiler is not loaded")}const Ws=Zs,Gs=Zs,Qs=Zs,Ks=Zs;class Ys{constructor(){this.compileModuleSync=Ws,this.compileModuleAsync=Gs,this.compileModuleAndAllComponentsSync=Qs,this.compileModuleAndAllComponentsAsync=Ks}clearCache(){}clearCacheFor(e){}getModuleId(e){}}class Js{}let Xs,ei;function ti(){const e=Ee.wtf;return!(!e||!(Xs=e.trace)||(ei=Xs.events,0))}const ni=ti();function ri(e,t){return null}const si=ni?function(e,t=null){return ei.createScope(e,t)}:(e,t)=>ri,ii=ni?function(e,t){return Xs.leaveScope(e,t),t}:(e,t)=>t,oi=(()=>Promise.resolve(0))();function ai(e){"undefined"==typeof Zone?oi.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class li{constructor({enableLongStackTrace:e=!1}){if(this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Os(!1),this.onMicrotaskEmpty=new Os(!1),this.onStable=new Os(!1),this.onError=new Os(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");var t;Zone.assertZonePatched(),this._nesting=0,this._outer=this._inner=Zone.current,Zone.wtfZoneSpec&&(this._inner=this._inner.fork(Zone.wtfZoneSpec)),Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),(t=this)._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(e,n,r,s,i,o)=>{try{return hi(t),e.invokeTask(r,s,i,o)}finally{fi(t)}},onInvoke:(e,n,r,s,i,o,a)=>{try{return hi(t),e.invoke(r,s,i,o,a)}finally{fi(t)}},onHasTask:(e,n,r,s)=>{e.hasTask(r,s),n===r&&("microTask"==s.change?(t.hasPendingMicrotasks=s.microTask,di(t)):"macroTask"==s.change&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(e,n,r,s)=>(e.handleError(r,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!li.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(li.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(e,t,n){return this._inner.run(e,t,n)}runTask(e,t,n,r){const s=this._inner,i=s.scheduleEventTask("NgZoneEvent: "+r,e,ui,ci,ci);try{return s.runTask(i,t,n)}finally{s.cancelTask(i)}}runGuarded(e,t,n){return this._inner.runGuarded(e,t,n)}runOutsideAngular(e){return this._outer.run(e)}}function ci(){}const ui={};function di(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function hi(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function fi(e){e._nesting--,di(e)}class pi{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Os,this.onMicrotaskEmpty=new Os,this.onStable=new Os,this.onError=new Os}run(e){return e()}runGuarded(e){return e()}runOutsideAngular(e){return e()}runTask(e){return e()}}class gi{constructor(e){this._ngZone=e,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),e.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:()=>{li.assertNotInAngularZone(),ai(()=>{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())ai(()=>{for(;0!==this._callbacks.length;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(this._didWork)}this._didWork=!1});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(t=>!t.updateCb||!t.updateCb(e)||(clearTimeout(t.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,t,n){let r=-1;t&&t>0&&(r=setTimeout(()=>{this._callbacks=this._callbacks.filter(e=>e.timeoutId!==r),e(this._didWork,this.getPendingTasks())},t)),this._callbacks.push({doneCb:e,timeoutId:r,updateCb:n})}whenStable(e,t,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(e,t,n),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(e,t,n){return[]}}class bi{constructor(){this._applications=new Map,wi.addToWindow(this)}registerApplication(e,t){this._applications.set(e,t)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,t=!0){return wi.findTestabilityInTree(this,e,t)}}class mi{addToWindow(e){}findTestabilityInTree(e,t,n){return null}}let vi,wi=new mi,yi=function(e,t,n){return e.get(Js).createCompiler([t]).compileModuleAsync(n)},_i=function(e){return e instanceof un};const Ci=new Te("AllowMultipleToken");class xi{constructor(e,t){this.name=e,this.token=t}}function Si(e,t,n=[]){const r=`Platform: ${t}`,s=new Te(r);return(t=[])=>{let i=Ei();if(!i||i.injector.get(Ci,!1))if(e)e(n.concat(t).concat({provide:s,useValue:!0}));else{const e=n.concat(t).concat({provide:s,useValue:!0});!function(e){if(vi&&!vi.destroyed&&!vi.injector.get(Ci,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");vi=e.get(Ti);const t=e.get($s,null);t&&t.forEach(e=>e())}(Ut.create({providers:e,name:r}))}return function(e){const t=Ei();if(!t)throw new Error("No platform exists!");if(!t.injector.get(e,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return t}(s)}}function Ei(){return vi&&!vi.destroyed?vi:null}class Ti{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,t){const n="noop"===(s=t?t.ngZone:void 0)?new pi:("zone.js"===s?void 0:s)||new li({enableLongStackTrace:st()}),r=[{provide:li,useValue:n}];var s;return n.run(()=>{const t=Ut.create({providers:r,parent:this.injector,name:e.moduleType.name}),s=e.create(t),i=s.injector.get(tt,null);if(!i)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return qs&&Ns(s.injector.get(Bs,Is)||Is),s.onDestroy(()=>Ii(this._modules,s)),n.runOutsideAngular(()=>n.onError.subscribe({next:e=>{i.handleError(e)}})),function(e,t,n){try{const r=n();return Xt(r)?r.catch(n=>{throw t.runOutsideAngular(()=>e.handleError(n)),n}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(i,n,()=>{const e=s.injector.get(Us);return e.runInitializers(),e.donePromise.then(()=>(this._moduleDoBootstrap(s),s))})})}bootstrapModule(e,t=[]){const n=ki({},t);return yi(this.injector,n,e).then(e=>this.bootstrapModuleFactory(e,n))}_moduleDoBootstrap(e){const t=e.injector.get(Ri);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(e=>t.bootstrap(e));else{if(!e.instance.ngDoBootstrap)throw new Error(`The module ${me(e.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. `+"Please define one of these.");e.instance.ngDoBootstrap(t)}this._modules.push(e)}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(e=>e.destroy()),this._destroyListeners.forEach(e=>e()),this._destroyed=!0}get destroyed(){return this._destroyed}}function ki(e,t){return Array.isArray(t)?t.reduce(ki,e):Object.assign({},e,t)}let Ri=(()=>{class e{constructor(e,t,n,r,s,i){this._zone=e,this._console=t,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=s,this._initStatus=i,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=st(),this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const o=new _(e=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{e.next(this._stable),e.complete()})}),a=new _(e=>{let t;this._zone.runOutsideAngular(()=>{t=this._zone.onStable.subscribe(()=>{li.assertNotInAngularZone(),ai(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,e.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{li.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{e.next(!1)}))});return()=>{t.unsubscribe(),n.unsubscribe()}});this.isStable=function(...e){let t=Number.POSITIVE_INFINITY,n=null,r=e[e.length-1];return I(r)?(n=e.pop(),e.length>1&&"number"==typeof e[e.length-1]&&(t=e.pop())):"number"==typeof r&&(t=e.pop()),null===n&&1===e.length&&e[0]instanceof _?e[0]:Y(t)(q(e,n))}(o,a.pipe(e=>J()(function(e,t){return function(t){let n;n="function"==typeof e?e:function(){return e};const r=Object.create(t,ne);return r.source=t,r.subjectFactory=n,r}}(se)(e))))}bootstrap(e,t){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 n;n=e instanceof rn?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);const r=_i(n)?null:this._injector.get(ze),s=n.create(Ut.NULL,[],t||n.selector,r);s.onDestroy(()=>{this._unloadComponent(s)});const i=s.injector.get(gi,null);return i&&s.injector.get(bi).registerApplication(s.location.nativeElement,i),this._loadComponent(s),st()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),s}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");const t=e._tickScope();try{this._runningTick=!0;for(let e of this._views)e.detectChanges();if(this._enforceNoNewChanges)for(let e of this._views)e.checkNoChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1,ii(t)}}attachView(e){const t=e;this._views.push(t),t.attachToAppRef(this)}detachView(e){const t=e;Ii(this._views,t),t.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(Hs,[]).concat(this._bootstrapListeners).forEach(t=>t(e))}_unloadComponent(e){this.detachView(e.hostView),Ii(this.components,e)}ngOnDestroy(){this._views.slice().forEach(e=>e.destroy())}get viewCount(){return this._views.length}}return e._tickScope=si("ApplicationRef#tick()"),e})();function Ii(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class Ai{}const Ni="#",Oi="NgFactory";class Pi{}const Di={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};class Mi{constructor(e,t){this._compiler=e,this._config=t||Di}load(e){return!qs&&this._compiler instanceof Ys?this.loadFactory(e):this.loadAndCompile(e)}loadAndCompile(e){let[t,r]=e.split(Ni);return void 0===r&&(r="default"),n("zn8P")(t).then(e=>e[r]).then(e=>Ui(e,t,r)).then(e=>this._compiler.compileModuleAsync(e))}loadFactory(e){let[t,r]=e.split(Ni),s=Oi;return void 0===r&&(r="default",s=""),n("zn8P")(this._config.factoryPathPrefix+t+this._config.factoryPathSuffix).then(e=>e[r+s]).then(e=>Ui(e,t,r))}}function Ui(e,t,n){if(!e)throw new Error(`Cannot find '${n}' in '${t}'`);return e}class ji{constructor(e,t){this.name=e,this.callback=t}}class Li{constructor(e,t,n){this.listeners=[],this.parent=null,this._debugContext=n,this.nativeNode=e,t&&t instanceof Vi&&t.addChild(this)}get injector(){return this._debugContext.injector}get componentInstance(){return this._debugContext.component}get context(){return this._debugContext.context}get references(){return this._debugContext.references}get providerTokens(){return this._debugContext.providerTokens}}class Vi extends Li{constructor(e,t,n){super(e,t,n),this.properties={},this.attributes={},this.classes={},this.styles={},this.childNodes=[],this.nativeElement=e}addChild(e){e&&(this.childNodes.push(e),e.parent=this)}removeChild(e){const t=this.childNodes.indexOf(e);-1!==t&&(e.parent=null,this.childNodes.splice(t,1))}insertChildrenAfter(e,t){const n=this.childNodes.indexOf(e);-1!==n&&(this.childNodes.splice(n+1,0,...t),t.forEach(t=>{t.parent&&t.parent.removeChild(t),e.parent=this}))}insertBefore(e,t){const n=this.childNodes.indexOf(e);-1===n?this.addChild(t):(t.parent&&t.parent.removeChild(t),t.parent=this,this.childNodes.splice(n,0,t))}query(e){return this.queryAll(e)[0]||null}queryAll(e){const t=[];return function e(t,n,r){t.childNodes.forEach(t=>{t instanceof Vi&&(n(t)&&r.push(t),e(t,n,r))})}(this,e,t),t}queryAllNodes(e){const t=[];return function e(t,n,r){t instanceof Vi&&t.childNodes.forEach(t=>{n(t)&&r.push(t),t instanceof Vi&&e(t,n,r)})}(this,e,t),t}get children(){return this.childNodes.filter(e=>e instanceof Vi)}triggerEventHandler(e,t){this.listeners.forEach(n=>{n.name==e&&n.callback(t)})}}const $i=new Map,Fi=function(e){return $i.get(e)||null};function Hi(e){$i.set(e.nativeNode,e)}const zi=Si(null,"core",[{provide:Fs,useValue:"unknown"},{provide:Ti,deps:[Ut]},{provide:bi,deps:[]},{provide:zs,deps:[]}]);function Bi(){return Dn}function qi(){return Mn}function Zi(e){return e?(qs&&Ns(e),e):Is}function Wi(e){let t=[];return e.onStable.subscribe(()=>{for(;t.length;)t.pop()()}),function(e){t.push(e)}}class Gi{constructor(e){}}function Qi(e,t,n,r,s,i){e|=1;const{matchedQueries:o,references:a,matchedQueryIds:l}=gr(t);return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:e,checkIndex:-1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:o,matchedQueryIds:l,references:a,ngContentIndex:n,childCount:r,bindings:[],bindingFlags:0,outputs:[],element:{ns:null,name:null,attrs:null,template:i?wr(i):null,componentProvider:null,componentView:null,componentRendererType:null,publicProviders:null,allProviders:null,handleEvent:s||Yn},provider:null,text:null,query:null,ngContent:null}}function Ki(e,t,n,r,s,i,o=[],a,l,c,u,d){c||(c=Yn);const{matchedQueries:h,references:f,matchedQueryIds:p}=gr(n);let g=null,b=null;i&&([g,b]=Tr(i)),a=a||[];const m=new Array(a.length);for(let y=0;y<a.length;y++){const[e,t,n]=a[y],[r,s]=Tr(t);let i=void 0,o=void 0;switch(15&e){case 4:o=n;break;case 1:case 8:i=n}m[y]={flags:e,ns:r,name:s,nonMinifiedName:s,securityContext:i,suffix:o}}l=l||[];const v=new Array(l.length);for(let y=0;y<l.length;y++){const[e,t]=l[y];v[y]={type:0,target:e,eventName:t,propName:null}}const w=(o=o||[]).map(([e,t])=>{const[n,r]=Tr(e);return[n,r,t]});return d=function(e){if(e&&e.id===er){const t=null!=e.encapsulation&&e.encapsulation!==We.None||e.styles.length||Object.keys(e.data).length;e.id=t?`c${rr++}`:tr}return e&&e.id===tr&&(e=null),e||null}(d),u&&(t|=33554432),{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:t|=1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:h,matchedQueryIds:p,references:f,ngContentIndex:r,childCount:s,bindings:m,bindingFlags:kr(m),outputs:v,element:{ns:g,name:b,attrs:w,template:null,componentProvider:null,componentView:u||null,componentRendererType:d,publicProviders:null,allProviders:null,handleEvent:c||Yn},provider:null,text:null,query:null,ngContent:null}}function Yi(e,t,n){const r=n.element,s=e.root.selectorOrNode,i=e.renderer;let o;if(e.parent||!s){o=r.name?i.createElement(r.name,r.ns):i.createComment("");const s=mr(e,t,n);s&&i.appendChild(s,o)}else o=i.selectRootElement(s,!!r.componentRendererType&&r.componentRendererType.encapsulation===We.ShadowDom);if(r.attrs)for(let a=0;a<r.attrs.length;a++){const[e,t,n]=r.attrs[a];i.setAttribute(o,t,n,e)}return o}function Ji(e,t,n,r){for(let o=0;o<n.outputs.length;o++){const a=n.outputs[o],l=Xi(e,n.nodeIndex,(i=a.eventName,(s=a.target)?`${s}:${i}`:i));let c=a.target,u=e;"component"===a.target&&(c=null,u=t);const d=u.renderer.listen(c||r,a.eventName,l);e.disposables[n.outputIndex+o]=d}var s,i}function Xi(e,t,n){return r=>cr(e,t,n,r)}function eo(e,t,n,r){if(!ir(e,t,n,r))return!1;const s=t.bindings[n],i=Zn(e,t.nodeIndex),o=i.renderElement,a=s.name;switch(15&s.flags){case 1:!function(e,t,n,r,s,i){const o=t.securityContext;let a=o?e.root.sanitizer.sanitize(o,i):i;a=null!=a?a.toString():null;const l=e.renderer;null!=i?l.setAttribute(n,s,a,r):l.removeAttribute(n,s,r)}(e,s,o,s.ns,a,r);break;case 2:!function(e,t,n,r){const s=e.renderer;r?s.addClass(t,n):s.removeClass(t,n)}(e,o,a,r);break;case 4:!function(e,t,n,r,s){let i=e.root.sanitizer.sanitize(Tt.STYLE,s);if(null!=i){i=i.toString();const e=t.suffix;null!=e&&(i+=e)}else i=null;const o=e.renderer;null!=i?o.setStyle(n,r,i):o.removeStyle(n,r)}(e,s,o,a,r);break;case 8:!function(e,t,n,r,s){const i=t.securityContext;let o=i?e.root.sanitizer.sanitize(i,s):s;e.renderer.setProperty(n,r,o)}(33554432&t.flags&&32&s.flags?i.componentView:e,s,o,a,r)}return!0}function to(e){const t=e.def.nodeMatchedQueries;for(;e.parent&&pr(e);){let n=e.parentNodeDef;e=e.parent;const r=n.nodeIndex+n.childCount;for(let s=0;s<=r;s++){const r=e.def.nodes[s];67108864&r.flags&&536870912&r.flags&&(r.query.filterId&t)===r.query.filterId&&Qn(e,s).setDirty(),!(1&r.flags&&s+r.childCount<n.nodeIndex)&&67108864&r.childFlags&&536870912&r.childFlags||(s+=r.childCount)}}if(134217728&e.def.nodeFlags)for(let n=0;n<e.def.nodes.length;n++){const t=e.def.nodes[n];134217728&t.flags&&536870912&t.flags&&Qn(e,n).setDirty(),n+=t.childCount}}function no(e,t){const n=Qn(e,t.nodeIndex);if(!n.dirty)return;let r,s=void 0;if(67108864&t.flags){const n=t.parent.parent;s=ro(e,n.nodeIndex,n.nodeIndex+n.childCount,t.query,[]),r=Wn(e,t.parent.nodeIndex).instance}else 134217728&t.flags&&(s=ro(e,0,e.def.nodes.length-1,t.query,[]),r=e.component);n.reset(s);const i=t.query.bindings;let o=!1;for(let a=0;a<i.length;a++){const e=i[a];let t;switch(e.bindingType){case 0:t=n.first;break;case 1:t=n,o=!0}r[e.propName]=t}o&&n.notifyOnChanges()}function ro(e,t,n,r,s){for(let i=t;i<=n;i++){const t=e.def.nodes[i],n=t.matchedQueries[r.id];if(null!=n&&s.push(so(e,t,n)),1&t.flags&&t.element.template&&(t.element.template.nodeMatchedQueries&r.filterId)===r.filterId){const n=Zn(e,i);if((t.childMatchedQueries&r.filterId)===r.filterId&&(ro(e,i+1,i+t.childCount,r,s),i+=t.childCount),16777216&t.flags){const e=n.viewContainer._embeddedViews;for(let t=0;t<e.length;t++){const i=e[t],o=ur(i);o&&o===n&&ro(i,0,i.def.nodes.length-1,r,s)}}const o=n.template._projectedViews;if(o)for(let e=0;e<o.length;e++){const t=o[e];ro(t,0,t.def.nodes.length-1,r,s)}}(t.childMatchedQueries&r.filterId)!==r.filterId&&(i+=t.childCount)}return s}function so(e,t,n){if(null!=n)switch(n){case 1:return Zn(e,t.nodeIndex).renderElement;case 0:return new hn(Zn(e,t.nodeIndex).renderElement);case 2:return Zn(e,t.nodeIndex).template;case 3:return Zn(e,t.nodeIndex).viewContainer;case 4:return Wn(e,t.nodeIndex).instance}}function io(e,t,n){const r=mr(e,t,n);r&&Cr(e,n.ngContent.index,1,r,null,void 0)}function oo(e,t,n){const r=new Array(n.length-1);for(let s=1;s<n.length;s++)r[s-1]={flags:8,name:null,ns:null,nonMinifiedName:null,securityContext:null,suffix:n[s]};return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:2,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:t,childCount:0,bindings:r,bindingFlags:8,outputs:[],element:null,provider:null,text:{prefix:n[0]},query:null,ngContent:null}}function ao(e,t,n){let r;const s=e.renderer;r=s.createText(n.text.prefix);const i=mr(e,t,n);return i&&s.appendChild(i,r),{renderText:r}}function lo(e,t){return(null!=e?e.toString():"")+t.suffix}function co(e,t,n,r){let s=0,i=0,o=0,a=0,l=0,c=null,u=null,d=!1,h=!1,f=null;for(let p=0;p<t.length;p++){const e=t[p];if(e.nodeIndex=p,e.parent=c,e.bindingIndex=s,e.outputIndex=i,e.renderParent=u,o|=e.flags,l|=e.matchedQueryIds,e.element){const t=e.element;t.publicProviders=c?c.element.publicProviders:Object.create(null),t.allProviders=t.publicProviders,d=!1,h=!1,e.element.template&&(l|=e.element.template.nodeMatchedQueries)}if(ho(c,e,t.length),s+=e.bindings.length,i+=e.outputs.length,!u&&3&e.flags&&(f=e),20224&e.flags){d||(d=!0,c.element.publicProviders=Object.create(c.element.publicProviders),c.element.allProviders=c.element.publicProviders);const t=0!=(32768&e.flags);0==(8192&e.flags)||t?c.element.publicProviders[Xn(e.provider.token)]=e:(h||(h=!0,c.element.allProviders=Object.create(c.element.publicProviders)),c.element.allProviders[Xn(e.provider.token)]=e),t&&(c.element.componentProvider=e)}if(c?(c.childFlags|=e.flags,c.directChildFlags|=e.flags,c.childMatchedQueries|=e.matchedQueryIds,e.element&&e.element.template&&(c.childMatchedQueries|=e.element.template.nodeMatchedQueries)):a|=e.flags,e.childCount>0)c=e,uo(e)||(u=e);else for(;c&&p===c.nodeIndex+c.childCount;){const e=c.parent;e&&(e.childFlags|=c.childFlags,e.childMatchedQueries|=c.childMatchedQueries),u=(c=e)&&uo(c)?c.renderParent:c}}return{factory:null,nodeFlags:o,rootNodeFlags:a,nodeMatchedQueries:l,flags:e,nodes:t,updateDirectives:n||Yn,updateRenderer:r||Yn,handleEvent:(e,n,r,s)=>t[n].element.handleEvent(e,r,s),bindingCount:s,outputCount:i,lastRenderRootNode:f}}function uo(e){return 0!=(1&e.flags)&&null===e.element.name}function ho(e,t,n){const r=t.element&&t.element.template;if(r){if(!r.lastRenderRootNode)throw new Error("Illegal State: Embedded templates without nodes are not allowed!");if(r.lastRenderRootNode&&16777216&r.lastRenderRootNode.flags)throw new Error(`Illegal State: Last root node of a template can't have embedded views, at index ${t.nodeIndex}!`)}if(20224&t.flags&&0==(1&(e?e.flags:0)))throw new Error(`Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index ${t.nodeIndex}!`);if(t.query){if(67108864&t.flags&&(!e||0==(16384&e.flags)))throw new Error(`Illegal State: Content Query nodes need to be children of directives, at index ${t.nodeIndex}!`);if(134217728&t.flags&&e)throw new Error(`Illegal State: View Query nodes have to be top level nodes, at index ${t.nodeIndex}!`)}if(t.childCount){const r=e?e.nodeIndex+e.childCount:n-1;if(t.nodeIndex<=r&&t.nodeIndex+t.childCount>r)throw new Error(`Illegal State: childCount of node leads outside of parent, at index ${t.nodeIndex}!`)}}function fo(e,t,n,r){const s=bo(e.root,e.renderer,e,t,n);return mo(s,e.component,r),vo(s),s}function po(e,t,n){const r=bo(e,e.renderer,null,null,t);return mo(r,n,n),vo(r),r}function go(e,t,n,r){const s=t.element.componentRendererType;let i;return i=s?e.root.rendererFactory.createRenderer(r,s):e.root.renderer,bo(e.root,i,e,t.element.componentProvider,n)}function bo(e,t,n,r,s){const i=new Array(s.nodes.length),o=s.outputCount?new Array(s.outputCount):null;return{def:s,parent:n,viewContainerParent:null,parentNodeDef:r,context:null,component:null,nodes:i,state:13,root:e,renderer:t,oldValues:new Array(s.bindingCount),disposables:o,initIndex:-1}}function mo(e,t,n){e.component=t,e.context=n}function vo(e){let t;fr(e)&&(t=Zn(e.parent,e.parentNodeDef.parent.nodeIndex).renderElement);const n=e.def,r=e.nodes;for(let s=0;s<n.nodes.length;s++){const i=n.nodes[s];let o;switch(Kn.setCurrentNode(e,s),201347067&i.flags){case 1:const n=Yi(e,t,i);let a=void 0;if(33554432&i.flags){const t=wr(i.element.componentView);a=Kn.createComponentView(e,i,t,n)}Ji(e,a,i,n),o={renderElement:n,componentView:a,viewContainer:null,template:i.element.template?Zr(e,i):void 0},16777216&i.flags&&(o.viewContainer=Hr(e,i,o));break;case 2:o=ao(e,t,i);break;case 512:case 1024:case 2048:case 256:(o=r[s])||4096&i.flags||(o={instance:ds(e,i)});break;case 16:o={instance:hs(e,i)};break;case 16384:(o=r[s])||(o={instance:fs(e,i)}),32768&i.flags&&mo(Zn(e,i.parent.nodeIndex).componentView,o.instance,o.instance);break;case 32:case 64:case 128:o={value:void 0};break;case 67108864:case 134217728:o=new Ds;break;case 8:io(e,t,i),o=void 0}r[s]=o}ko(e,To.CreateViewNodes),No(e,201326592,268435456,0)}function wo(e){Co(e),Kn.updateDirectives(e,1),Ro(e,To.CheckNoChanges),Kn.updateRenderer(e,1),ko(e,To.CheckNoChanges),e.state&=-97}function yo(e){1&e.state?(e.state&=-2,e.state|=2):e.state&=-3,zn(e,0,256),Co(e),Kn.updateDirectives(e,0),Ro(e,To.CheckAndUpdate),No(e,67108864,536870912,0);let t=zn(e,256,512);_s(e,2097152|(t?1048576:0)),Kn.updateRenderer(e,0),ko(e,To.CheckAndUpdate),No(e,134217728,536870912,0),_s(e,8388608|((t=zn(e,512,768))?4194304:0)),2&e.def.flags&&(e.state&=-9),e.state&=-97,zn(e,768,1024)}function _o(e,t,n,r,s,i,o,a,l,c,u,d,h){return 0===n?function(e,t,n,r,s,i,o,a,l,c,u,d){switch(201347067&t.flags){case 1:return function(e,t,n,r,s,i,o,a,l,c,u,d){const h=t.bindings.length;let f=!1;return h>0&&eo(e,t,0,n)&&(f=!0),h>1&&eo(e,t,1,r)&&(f=!0),h>2&&eo(e,t,2,s)&&(f=!0),h>3&&eo(e,t,3,i)&&(f=!0),h>4&&eo(e,t,4,o)&&(f=!0),h>5&&eo(e,t,5,a)&&(f=!0),h>6&&eo(e,t,6,l)&&(f=!0),h>7&&eo(e,t,7,c)&&(f=!0),h>8&&eo(e,t,8,u)&&(f=!0),h>9&&eo(e,t,9,d)&&(f=!0),f}(e,t,n,r,s,i,o,a,l,c,u,d);case 2:return function(e,t,n,r,s,i,o,a,l,c,u,d){let h=!1;const f=t.bindings,p=f.length;if(p>0&&ir(e,t,0,n)&&(h=!0),p>1&&ir(e,t,1,r)&&(h=!0),p>2&&ir(e,t,2,s)&&(h=!0),p>3&&ir(e,t,3,i)&&(h=!0),p>4&&ir(e,t,4,o)&&(h=!0),p>5&&ir(e,t,5,a)&&(h=!0),p>6&&ir(e,t,6,l)&&(h=!0),p>7&&ir(e,t,7,c)&&(h=!0),p>8&&ir(e,t,8,u)&&(h=!0),p>9&&ir(e,t,9,d)&&(h=!0),h){let h=t.text.prefix;p>0&&(h+=lo(n,f[0])),p>1&&(h+=lo(r,f[1])),p>2&&(h+=lo(s,f[2])),p>3&&(h+=lo(i,f[3])),p>4&&(h+=lo(o,f[4])),p>5&&(h+=lo(a,f[5])),p>6&&(h+=lo(l,f[6])),p>7&&(h+=lo(c,f[7])),p>8&&(h+=lo(u,f[8])),p>9&&(h+=lo(d,f[9]));const g=qn(e,t.nodeIndex).renderText;e.renderer.setValue(g,h)}return h}(e,t,n,r,s,i,o,a,l,c,u,d);case 16384:return function(e,t,n,r,s,i,o,a,l,c,u,d){const h=Wn(e,t.nodeIndex),f=h.instance;let p=!1,g=void 0;const b=t.bindings.length;return b>0&&sr(e,t,0,n)&&(p=!0,g=ys(e,h,t,0,n,g)),b>1&&sr(e,t,1,r)&&(p=!0,g=ys(e,h,t,1,r,g)),b>2&&sr(e,t,2,s)&&(p=!0,g=ys(e,h,t,2,s,g)),b>3&&sr(e,t,3,i)&&(p=!0,g=ys(e,h,t,3,i,g)),b>4&&sr(e,t,4,o)&&(p=!0,g=ys(e,h,t,4,o,g)),b>5&&sr(e,t,5,a)&&(p=!0,g=ys(e,h,t,5,a,g)),b>6&&sr(e,t,6,l)&&(p=!0,g=ys(e,h,t,6,l,g)),b>7&&sr(e,t,7,c)&&(p=!0,g=ys(e,h,t,7,c,g)),b>8&&sr(e,t,8,u)&&(p=!0,g=ys(e,h,t,8,u,g)),b>9&&sr(e,t,9,d)&&(p=!0,g=ys(e,h,t,9,d,g)),g&&f.ngOnChanges(g),65536&t.flags&&Bn(e,256,t.nodeIndex)&&f.ngOnInit(),262144&t.flags&&f.ngDoCheck(),p}(e,t,n,r,s,i,o,a,l,c,u,d);case 32:case 64:case 128:return function(e,t,n,r,s,i,o,a,l,c,u,d){const h=t.bindings;let f=!1;const p=h.length;if(p>0&&ir(e,t,0,n)&&(f=!0),p>1&&ir(e,t,1,r)&&(f=!0),p>2&&ir(e,t,2,s)&&(f=!0),p>3&&ir(e,t,3,i)&&(f=!0),p>4&&ir(e,t,4,o)&&(f=!0),p>5&&ir(e,t,5,a)&&(f=!0),p>6&&ir(e,t,6,l)&&(f=!0),p>7&&ir(e,t,7,c)&&(f=!0),p>8&&ir(e,t,8,u)&&(f=!0),p>9&&ir(e,t,9,d)&&(f=!0),f){const f=Gn(e,t.nodeIndex);let g;switch(201347067&t.flags){case 32:g=new Array(h.length),p>0&&(g[0]=n),p>1&&(g[1]=r),p>2&&(g[2]=s),p>3&&(g[3]=i),p>4&&(g[4]=o),p>5&&(g[5]=a),p>6&&(g[6]=l),p>7&&(g[7]=c),p>8&&(g[8]=u),p>9&&(g[9]=d);break;case 64:g={},p>0&&(g[h[0].name]=n),p>1&&(g[h[1].name]=r),p>2&&(g[h[2].name]=s),p>3&&(g[h[3].name]=i),p>4&&(g[h[4].name]=o),p>5&&(g[h[5].name]=a),p>6&&(g[h[6].name]=l),p>7&&(g[h[7].name]=c),p>8&&(g[h[8].name]=u),p>9&&(g[h[9].name]=d);break;case 128:const e=n;switch(p){case 1:g=e.transform(n);break;case 2:g=e.transform(r);break;case 3:g=e.transform(r,s);break;case 4:g=e.transform(r,s,i);break;case 5:g=e.transform(r,s,i,o);break;case 6:g=e.transform(r,s,i,o,a);break;case 7:g=e.transform(r,s,i,o,a,l);break;case 8:g=e.transform(r,s,i,o,a,l,c);break;case 9:g=e.transform(r,s,i,o,a,l,c,u);break;case 10:g=e.transform(r,s,i,o,a,l,c,u,d)}}f.value=g}return f}(e,t,n,r,s,i,o,a,l,c,u,d);default:throw"unreachable"}}(e,t,r,s,i,o,a,l,c,u,d,h):function(e,t,n){switch(201347067&t.flags){case 1:return function(e,t,n){let r=!1;for(let s=0;s<n.length;s++)eo(e,t,s,n[s])&&(r=!0);return r}(e,t,n);case 2:return function(e,t,n){const r=t.bindings;let s=!1;for(let i=0;i<n.length;i++)ir(e,t,i,n[i])&&(s=!0);if(s){let s="";for(let e=0;e<n.length;e++)s+=lo(n[e],r[e]);s=t.text.prefix+s;const i=qn(e,t.nodeIndex).renderText;e.renderer.setValue(i,s)}return s}(e,t,n);case 16384:return function(e,t,n){const r=Wn(e,t.nodeIndex),s=r.instance;let i=!1,o=void 0;for(let a=0;a<n.length;a++)sr(e,t,a,n[a])&&(i=!0,o=ys(e,r,t,a,n[a],o));return o&&s.ngOnChanges(o),65536&t.flags&&Bn(e,256,t.nodeIndex)&&s.ngOnInit(),262144&t.flags&&s.ngDoCheck(),i}(e,t,n);case 32:case 64:case 128:return function(e,t,n){const r=t.bindings;let s=!1;for(let i=0;i<n.length;i++)ir(e,t,i,n[i])&&(s=!0);if(s){const s=Gn(e,t.nodeIndex);let i;switch(201347067&t.flags){case 32:i=n;break;case 64:i={};for(let s=0;s<n.length;s++)i[r[s].name]=n[s];break;case 128:const e=n[0],t=n.slice(1);i=e.transform(...t)}s.value=i}return s}(e,t,n);default:throw"unreachable"}}(e,t,r)}function Co(e){const t=e.def;if(4&t.nodeFlags)for(let n=0;n<t.nodes.length;n++){const r=t.nodes[n];if(4&r.flags){const t=Zn(e,n).template._projectedViews;if(t)for(let n=0;n<t.length;n++){const r=t[n];r.state|=32,lr(r,e)}}else 0==(4&r.childFlags)&&(n+=r.childCount)}}function xo(e,t,n,r,s,i,o,a,l,c,u,d,h){return 0===n?function(e,t,n,r,s,i,o,a,l,c,u,d){const h=t.bindings.length;h>0&&or(e,t,0,n),h>1&&or(e,t,1,r),h>2&&or(e,t,2,s),h>3&&or(e,t,3,i),h>4&&or(e,t,4,o),h>5&&or(e,t,5,a),h>6&&or(e,t,6,l),h>7&&or(e,t,7,c),h>8&&or(e,t,8,u),h>9&&or(e,t,9,d)}(e,t,r,s,i,o,a,l,c,u,d,h):function(e,t,n){for(let r=0;r<n.length;r++)or(e,t,r,n[r])}(e,t,r),!1}function So(e,t){if(Qn(e,t.nodeIndex).dirty)throw $n(Kn.createDebugContext(e,t.nodeIndex),`Query ${t.query.id} not dirty`,`Query ${t.query.id} dirty`,0!=(1&e.state))}function Eo(e){if(!(128&e.state)){if(Ro(e,To.Destroy),ko(e,To.Destroy),_s(e,131072),e.disposables)for(let t=0;t<e.disposables.length;t++)e.disposables[t]();!function(e){if(!(16&e.state))return;const t=ur(e);if(t){const n=t.template._projectedViews;n&&(Ze(n,n.indexOf(e)),Kn.dirtyParentQueries(e))}}(e),e.renderer.destroyNode&&function(e){const t=e.def.nodes.length;for(let n=0;n<t;n++){const t=e.def.nodes[n];1&t.flags?e.renderer.destroyNode(Zn(e,n).renderElement):2&t.flags?e.renderer.destroyNode(qn(e,n).renderText):(67108864&t.flags||134217728&t.flags)&&Qn(e,n).destroy()}}(e),fr(e)&&e.renderer.destroy(),e.state|=128}}const To=function(){var e={CreateViewNodes:0,CheckNoChanges:1,CheckNoChangesProjectedViews:2,CheckAndUpdate:3,CheckAndUpdateProjectedViews:4,Destroy:5};return e[e.CreateViewNodes]="CreateViewNodes",e[e.CheckNoChanges]="CheckNoChanges",e[e.CheckNoChangesProjectedViews]="CheckNoChangesProjectedViews",e[e.CheckAndUpdate]="CheckAndUpdate",e[e.CheckAndUpdateProjectedViews]="CheckAndUpdateProjectedViews",e[e.Destroy]="Destroy",e}();function ko(e,t){const n=e.def;if(33554432&n.nodeFlags)for(let r=0;r<n.nodes.length;r++){const s=n.nodes[r];33554432&s.flags?Io(Zn(e,r).componentView,t):0==(33554432&s.childFlags)&&(r+=s.childCount)}}function Ro(e,t){const n=e.def;if(16777216&n.nodeFlags)for(let r=0;r<n.nodes.length;r++){const s=n.nodes[r];if(16777216&s.flags){const n=Zn(e,r).viewContainer._embeddedViews;for(let e=0;e<n.length;e++)Io(n[e],t)}else 0==(16777216&s.childFlags)&&(r+=s.childCount)}}function Io(e,t){const n=e.state;switch(t){case To.CheckNoChanges:0==(128&n)&&(12==(12&n)?wo(e):64&n&&Ao(e,To.CheckNoChangesProjectedViews));break;case To.CheckNoChangesProjectedViews:0==(128&n)&&(32&n?wo(e):64&n&&Ao(e,t));break;case To.CheckAndUpdate:0==(128&n)&&(12==(12&n)?yo(e):64&n&&Ao(e,To.CheckAndUpdateProjectedViews));break;case To.CheckAndUpdateProjectedViews:0==(128&n)&&(32&n?yo(e):64&n&&Ao(e,t));break;case To.Destroy:Eo(e);break;case To.CreateViewNodes:vo(e)}}function Ao(e,t){Ro(e,t),ko(e,t)}function No(e,t,n,r){if(!(e.def.nodeFlags&t&&e.def.nodeFlags&n))return;const s=e.def.nodes.length;for(let i=0;i<s;i++){const s=e.def.nodes[i];if(s.flags&t&&s.flags&n)switch(Kn.setCurrentNode(e,s.nodeIndex),r){case 0:no(e,s);break;case 1:So(e,s)}s.childFlags&t&&s.childFlags&n||(i+=s.childCount)}}let Oo=!1;function Po(e,t,n,r,s,i){const o=s.injector.get(gn);return po(Mo(e,s,o,t,n),r,i)}function Do(e,t,n,r,s,i){const o=s.injector.get(gn),a=Mo(e,s,new fa(o),t,n),l=qo(r);return da(Yo.create,po,null,[a,l,i])}function Mo(e,t,n,r,s){const i=t.injector.get(kt),o=t.injector.get(tt),a=n.createRenderer(null,null);return{ngModule:t,injector:e,projectableNodes:r,selectorOrNode:s,sanitizer:i,rendererFactory:n,renderer:a,errorHandler:o}}function Uo(e,t,n,r){const s=qo(n);return da(Yo.create,fo,null,[e,t,s,r])}function jo(e,t,n,r){return n=Fo.get(t.element.componentProvider.provider.token)||qo(n),da(Yo.create,go,null,[e,t,n,r])}function Lo(e,t,n,r){return Xr(e,t,n,function(e){const{hasOverrides:t,hasDeprecatedOverrides:n}=function(e){let t=!1,n=!1;return 0===Vo.size?{hasOverrides:t,hasDeprecatedOverrides:n}:(e.providers.forEach(e=>{const r=Vo.get(e.token);3840&e.flags&&r&&(t=!0,n=n||r.deprecatedBehavior)}),e.modules.forEach(e=>{$o.forEach((r,s)=>{ge(s).providedIn===e&&(t=!0,n=n||r.deprecatedBehavior)})}),{hasOverrides:t,hasDeprecatedOverrides:n})}(e);return t?(function(e){for(let t=0;t<e.providers.length;t++){const r=e.providers[t];n&&(r.flags|=4096);const s=Vo.get(r.token);s&&(r.flags=-3841&r.flags|s.flags,r.deps=br(s.deps),r.value=s.value)}if($o.size>0){let t=new Set(e.modules);$o.forEach((r,s)=>{if(t.has(ge(s).providedIn)){let t={token:s,flags:r.flags|(n?4096:0),deps:br(r.deps),value:r.value,index:e.providers.length};e.providers.push(t),e.providersByKey[Xn(s)]=t}})}}(e=e.factory(()=>Yn)),e):e}(r))}const Vo=new Map,$o=new Map,Fo=new Map;function Ho(e){let t;Vo.set(e.token,e),"function"==typeof e.token&&(t=ge(e.token))&&"function"==typeof t.providedIn&&$o.set(e.token,e)}function zo(e,t){const n=wr(t.viewDefFactory),r=wr(n.nodes[0].element.componentView);Fo.set(e,r)}function Bo(){Vo.clear(),$o.clear(),Fo.clear()}function qo(e){if(0===Vo.size)return e;const t=function(e){const t=[];let n=null;for(let r=0;r<e.nodes.length;r++){const s=e.nodes[r];1&s.flags&&(n=s),n&&3840&s.flags&&Vo.has(s.provider.token)&&(t.push(n.nodeIndex),n=null)}return t}(e);if(0===t.length)return e;e=e.factory(()=>Yn);for(let r=0;r<t.length;r++)n(e,t[r]);return e;function n(e,t){for(let n=t+1;n<e.nodes.length;n++){const t=e.nodes[n];if(1&t.flags)return;if(3840&t.flags){const e=t.provider,n=Vo.get(e.token);n&&(t.flags=-3841&t.flags|n.flags,e.deps=br(n.deps),e.value=n.value)}}}}function Zo(e,t,n,r,s,i,o,a,l,c,u,d,h){const f=e.def.nodes[t];return _o(e,f,n,r,s,i,o,a,l,c,u,d,h),224&f.flags?Gn(e,t).value:void 0}function Wo(e,t,n,r,s,i,o,a,l,c,u,d,h){const f=e.def.nodes[t];return xo(e,f,n,r,s,i,o,a,l,c,u,d,h),224&f.flags?Gn(e,t).value:void 0}function Go(e){return da(Yo.detectChanges,yo,null,[e])}function Qo(e){return da(Yo.checkNoChanges,wo,null,[e])}function Ko(e){return da(Yo.destroy,Eo,null,[e])}const Yo=function(){var e={create:0,detectChanges:1,checkNoChanges:2,destroy:3,handleEvent:4};return e[e.create]="create",e[e.detectChanges]="detectChanges",e[e.checkNoChanges]="checkNoChanges",e[e.destroy]="destroy",e[e.handleEvent]="handleEvent",e}();let Jo,Xo,ea;function ta(e,t){Xo=e,ea=t}function na(e,t,n,r){return ta(e,t),da(Yo.handleEvent,e.def.handleEvent,null,[e,t,n,r])}function ra(e,t){if(128&e.state)throw Hn(Yo[Jo]);return ta(e,aa(e,0)),e.def.updateDirectives((function(e,n,r,...s){const i=e.def.nodes[n];return 0===t?ia(e,i,r,s):oa(e,i,r,s),16384&i.flags&&ta(e,aa(e,n)),224&i.flags?Gn(e,i.nodeIndex).value:void 0}),e)}function sa(e,t){if(128&e.state)throw Hn(Yo[Jo]);return ta(e,la(e,0)),e.def.updateRenderer((function(e,n,r,...s){const i=e.def.nodes[n];return 0===t?ia(e,i,r,s):oa(e,i,r,s),3&i.flags&&ta(e,la(e,n)),224&i.flags?Gn(e,i.nodeIndex).value:void 0}),e)}function ia(e,t,n,r){if(_o(e,t,n,...r)){const o=1===n?r[0]:r;if(16384&t.flags){const n={};for(let e=0;e<t.bindings.length;e++){const r=t.bindings[e],a=o[e];8&r.flags&&(n[(s=r.nonMinifiedName,i=void 0,i=s.replace(/[$@]/g,"_"),`ng-reflect-${s=i.replace(At,(...e)=>"-"+e[1].toLowerCase())}`)]=Nt(a))}const r=t.parent,a=Zn(e,r.nodeIndex).renderElement;if(r.element.name)for(let t in n){const r=n[t];null!=r?e.renderer.setAttribute(a,t,r):e.renderer.removeAttribute(a,t)}else e.renderer.setValue(a,`bindings=${JSON.stringify(n,null,2)}`)}}var s,i}function oa(e,t,n,r){xo(e,t,n,...r)}function aa(e,t){for(let n=t;n<e.def.nodes.length;n++){const t=e.def.nodes[n];if(16384&t.flags&&t.bindings&&t.bindings.length)return n}return null}function la(e,t){for(let n=t;n<e.def.nodes.length;n++){const t=e.def.nodes[n];if(3&t.flags&&t.bindings&&t.bindings.length)return n}return null}class ca{constructor(e,t){this.view=e,this.nodeIndex=t,null==t&&(this.nodeIndex=t=0),this.nodeDef=e.def.nodes[t];let n=this.nodeDef,r=e;for(;n&&0==(1&n.flags);)n=n.parent;if(!n)for(;!n&&r;)n=dr(r),r=r.parent;this.elDef=n,this.elView=r}get elOrCompView(){return Zn(this.elView,this.elDef.nodeIndex).componentView||this.view}get injector(){return Gr(this.elView,this.elDef)}get component(){return this.elOrCompView.component}get context(){return this.elOrCompView.context}get providerTokens(){const e=[];if(this.elDef)for(let t=this.elDef.nodeIndex+1;t<=this.elDef.nodeIndex+this.elDef.childCount;t++){const n=this.elView.def.nodes[t];20224&n.flags&&e.push(n.provider.token),t+=n.childCount}return e}get references(){const e={};if(this.elDef){ua(this.elView,this.elDef,e);for(let t=this.elDef.nodeIndex+1;t<=this.elDef.nodeIndex+this.elDef.childCount;t++){const n=this.elView.def.nodes[t];20224&n.flags&&ua(this.elView,n,e),t+=n.childCount}}return e}get componentRenderElement(){const e=function(e){for(;e&&!fr(e);)e=e.parent;return e.parent?Zn(e.parent,dr(e).nodeIndex):null}(this.elOrCompView);return e?e.renderElement:void 0}get renderNode(){return 2&this.nodeDef.flags?hr(this.view,this.nodeDef):hr(this.elView,this.elDef)}logError(e,...t){let n,r;2&this.nodeDef.flags?(n=this.view.def,r=this.nodeDef.nodeIndex):(n=this.elView.def,r=this.elDef.nodeIndex);const s=function(e,t){let n=-1;for(let r=0;r<=t;r++)3&e.nodes[r].flags&&n++;return n}(n,r);let i=-1;n.factory(()=>++i===s?e.error.bind(e,...t):Yn),i<s&&(e.error("Illegal state: the ViewDefinitionFactory did not call the logger!"),e.error(...t))}}function ua(e,t,n){for(let r in t.references)n[r]=so(e,t,t.references[r])}function da(e,t,n,r){const s=Jo,i=Xo,o=ea;try{Jo=e;const a=t.apply(n,r);return Xo=i,ea=o,Jo=s,a}catch(c){if(Je(c)||!Xo)throw c;throw a=c,l=ha(),a instanceof Error||(a=new Error(a.toString())),Fn(a,l),a}var a,l}function ha(){return Xo?new ca(Xo,ea):null}class fa{constructor(e){this.delegate=e}createRenderer(e,t){return new pa(this.delegate.createRenderer(e,t))}begin(){this.delegate.begin&&this.delegate.begin()}end(){this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.delegate.whenRenderingDone?this.delegate.whenRenderingDone():Promise.resolve(null)}}class pa{constructor(e){this.delegate=e,this.debugContextFactory=ha,this.data=this.delegate.data}createDebugContext(e){return this.debugContextFactory(e)}destroyNode(e){const t=Fi(e);!function(e){$i.delete(e.nativeNode)}(t),t instanceof Li&&(t.listeners.length=0),this.delegate.destroyNode&&this.delegate.destroyNode(e)}destroy(){this.delegate.destroy()}createElement(e,t){const n=this.delegate.createElement(e,t),r=this.createDebugContext(n);if(r){const t=new Vi(n,null,r);t.name=e,Hi(t)}return n}createComment(e){const t=this.delegate.createComment(e),n=this.createDebugContext(t);return n&&Hi(new Li(t,null,n)),t}createText(e){const t=this.delegate.createText(e),n=this.createDebugContext(t);return n&&Hi(new Li(t,null,n)),t}appendChild(e,t){const n=Fi(e),r=Fi(t);n&&r&&n instanceof Vi&&n.addChild(r),this.delegate.appendChild(e,t)}insertBefore(e,t,n){const r=Fi(e),s=Fi(t),i=Fi(n);r&&s&&r instanceof Vi&&r.insertBefore(i,s),this.delegate.insertBefore(e,t,n)}removeChild(e,t){const n=Fi(e),r=Fi(t);n&&r&&n instanceof Vi&&n.removeChild(r),this.delegate.removeChild(e,t)}selectRootElement(e,t){const n=this.delegate.selectRootElement(e,t),r=ha();return r&&Hi(new Vi(n,null,r)),n}setAttribute(e,t,n,r){const s=Fi(e);s&&s instanceof Vi&&(s.attributes[r?r+":"+t:t]=n),this.delegate.setAttribute(e,t,n,r)}removeAttribute(e,t,n){const r=Fi(e);r&&r instanceof Vi&&(r.attributes[n?n+":"+t:t]=null),this.delegate.removeAttribute(e,t,n)}addClass(e,t){const n=Fi(e);n&&n instanceof Vi&&(n.classes[t]=!0),this.delegate.addClass(e,t)}removeClass(e,t){const n=Fi(e);n&&n instanceof Vi&&(n.classes[t]=!1),this.delegate.removeClass(e,t)}setStyle(e,t,n,r){const s=Fi(e);s&&s instanceof Vi&&(s.styles[t]=n),this.delegate.setStyle(e,t,n,r)}removeStyle(e,t,n){const r=Fi(e);r&&r instanceof Vi&&(r.styles[t]=null),this.delegate.removeStyle(e,t,n)}setProperty(e,t,n){const r=Fi(e);r&&r instanceof Vi&&(r.properties[t]=n),this.delegate.setProperty(e,t,n)}listen(e,t,n){if("string"!=typeof e){const r=Fi(e);r&&r.listeners.push(new ji(t,n))}return this.delegate.listen(e,t,n)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setValue(e,t){return this.delegate.setValue(e,t)}}function ga(e,t,n){return new ba(e,t,n)}class ba extends Be{constructor(e,t,n){super(),this.moduleType=e,this._bootstrapComponents=t,this._ngModuleDefFactory=n}create(e){!function(){if(Oo)return;Oo=!0;const e=st()?{setCurrentNode:ta,createRootView:Do,createEmbeddedView:Uo,createComponentView:jo,createNgModuleRef:Lo,overrideProvider:Ho,overrideComponentView:zo,clearOverrides:Bo,checkAndUpdateView:Go,checkNoChangesView:Qo,destroyView:Ko,createDebugContext:(e,t)=>new ca(e,t),handleEvent:na,updateDirectives:ra,updateRenderer:sa}:{setCurrentNode:()=>{},createRootView:Po,createEmbeddedView:fo,createComponentView:go,createNgModuleRef:Xr,overrideProvider:Yn,overrideComponentView:Yn,clearOverrides:Yn,checkAndUpdateView:yo,checkNoChangesView:wo,destroyView:Eo,createDebugContext:(e,t)=>new ca(e,t),handleEvent:(e,t,n,r)=>e.def.handleEvent(e,t,n,r),updateDirectives:(e,t)=>e.def.updateDirectives(0===t?Zo:Wo,e),updateRenderer:(e,t)=>e.def.updateRenderer(0===t?Zo:Wo,e)};Kn.setCurrentNode=e.setCurrentNode,Kn.createRootView=e.createRootView,Kn.createEmbeddedView=e.createEmbeddedView,Kn.createComponentView=e.createComponentView,Kn.createNgModuleRef=e.createNgModuleRef,Kn.overrideProvider=e.overrideProvider,Kn.overrideComponentView=e.overrideComponentView,Kn.clearOverrides=e.clearOverrides,Kn.checkAndUpdateView=e.checkAndUpdateView,Kn.checkNoChangesView=e.checkNoChangesView,Kn.destroyView=e.destroyView,Kn.resolveDep=vs,Kn.createDebugContext=e.createDebugContext,Kn.handleEvent=e.handleEvent,Kn.updateDirectives=e.updateDirectives,Kn.updateRenderer=e.updateRenderer,Kn.dirtyParentQueries=to}();const t=function(e){const t=Array.from(e.providers),n=Array.from(e.modules),r={};for(const s in e.providersByKey)r[s]=e.providersByKey[s];return{factory:e.factory,isRoot:e.isRoot,providers:t,modules:n,providersByKey:r}}(wr(this._ngModuleDefFactory));return Kn.createNgModuleRef(this.moduleType,e||Ut.NULL,this._bootstrapComponents,t)}}class ma{}class va{constructor(){this.title="uiuxcolor"}}class wa{}const ya=new Te("Location Initialized");class _a{}const Ca=new Te("appBaseHref");class xa{constructor(e,t){this._subject=new Os,this._urlChangeListeners=[],this._platformStrategy=e;const n=this._platformStrategy.getBaseHref();this._platformLocation=t,this._baseHref=xa.stripTrailingSlash(Sa(n)),this._platformStrategy.onPopState(e=>{this._subject.emit({url:this.path(!0),pop:!0,state:e.state,type:e.type})})}path(e=!1){return this.normalize(this._platformStrategy.path(e))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(e,t=""){return this.path()==this.normalize(e+xa.normalizeQueryParams(t))}normalize(e){return xa.stripTrailingSlash(function(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,Sa(e)))}prepareExternalUrl(e){return e&&"/"!==e[0]&&(e="/"+e),this._platformStrategy.prepareExternalUrl(e)}go(e,t="",n=null){this._platformStrategy.pushState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+xa.normalizeQueryParams(t)),n)}replaceState(e,t="",n=null){this._platformStrategy.replaceState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+xa.normalizeQueryParams(t)),n)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}onUrlChange(e){this._urlChangeListeners.push(e),this.subscribe(e=>{this._notifyUrlChangeListeners(e.url,e.state)})}_notifyUrlChangeListeners(e="",t){this._urlChangeListeners.forEach(n=>n(e,t))}subscribe(e,t,n){return this._subject.subscribe({next:e,error:t,complete:n})}static normalizeQueryParams(e){return e&&"?"!==e[0]?"?"+e:e}static joinWithSlash(e,t){if(0==e.length)return t;if(0==t.length)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,2==n?e+t.substring(1):1==n?e+t:e+"/"+t}static stripTrailingSlash(e){const t=e.match(/#|\?|$/),n=t&&t.index||e.length;return e.slice(0,n-("/"===e[n-1]?1:0))+e.slice(n)}}function Sa(e){return e.replace(/\/index.html$/,"")}class Ea extends _a{constructor(e,t){super(),this._platformLocation=e,this._baseHref="",null!=t&&(this._baseHref=t)}onPopState(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)}getBaseHref(){return this._baseHref}path(e=!1){let t=this._platformLocation.hash;return null==t&&(t="#"),t.length>0?t.substring(1):t}prepareExternalUrl(e){const t=xa.joinWithSlash(this._baseHref,e);return t.length>0?"#"+t:t}pushState(e,t,n,r){let s=this.prepareExternalUrl(n+xa.normalizeQueryParams(r));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(e,t,s)}replaceState(e,t,n,r){let s=this.prepareExternalUrl(n+xa.normalizeQueryParams(r));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(e,t,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}class Ta extends _a{constructor(e,t){if(super(),this._platformLocation=e,null==t&&(t=this._platformLocation.getBaseHrefFromDOM()),null==t)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=t}onPopState(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return xa.joinWithSlash(this._baseHref,e)}path(e=!1){const t=this._platformLocation.pathname+xa.normalizeQueryParams(this._platformLocation.search),n=this._platformLocation.hash;return n&&e?`${t}${n}`:t}pushState(e,t,n,r){const s=this.prepareExternalUrl(n+xa.normalizeQueryParams(r));this._platformLocation.pushState(e,t,s)}replaceState(e,t,n,r){const s=this.prepareExternalUrl(n+xa.normalizeQueryParams(r));this._platformLocation.replaceState(e,t,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}const ka=function(){var e={Zero:0,One:1,Two:2,Few:3,Many:4,Other:5};return e[e.Zero]="Zero",e[e.One]="One",e[e.Two]="Two",e[e.Few]="Few",e[e.Many]="Many",e[e.Other]="Other",e}(),Ra=function(e){return function(e){const t=e.toLowerCase().replace(/_/g,"-");let n=Es[t];if(n)return n;const r=t.split("-")[0];if(n=Es[r])return n;if("en"===r)return Rs;throw new Error(`Missing locale data for the locale "${e}".`)}(e)[Ts.PluralCase]},Ia=new Te("UseV4Plurals");class Aa{}class Na extends Aa{constructor(e,t){super(),this.locale=e,this.deprecatedPluralFn=t}getPluralCategory(e,t){switch(this.deprecatedPluralFn?this.deprecatedPluralFn(t||this.locale,e):Ra(t||this.locale)(e)){case ka.Zero:return"zero";case ka.One:return"one";case ka.Two:return"two";case ka.Few:return"few";case ka.Many:return"many";default:return"other"}}}class Oa{constructor(e,t,n,r){this.$implicit=e,this.ngForOf=t,this.index=n,this.count=r}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}}class Pa{constructor(e,t,n){this._viewContainer=e,this._template=t,this._differs=n,this._ngForOfDirty=!0,this._differ=null}set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){st()&&null!=e&&"function"!=typeof e&&console&&console.warn&&console.warn(`trackBy must be a function, but received ${JSON.stringify(e)}. `+"See https://angular.io/docs/ts/latest/api/common/index/NgFor-directive.html#!#change-propagation for more information."),this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(e){e&&(this._template=e)}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(t){throw new Error(`Cannot find a differ supporting object '${n}' of type '${e=n,e.name||typeof e}'. NgFor only supports binding to Iterables such as Arrays.`)}}var e;if(this._differ){const e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){const t=[];e.forEachOperation((e,n,r)=>{if(null==e.previousIndex){const n=this._viewContainer.createEmbeddedView(this._template,new Oa(null,this._ngForOf,-1,-1),null===r?void 0:r),s=new Da(e,n);t.push(s)}else if(null==r)this._viewContainer.remove(null===n?void 0:n);else if(null!==n){const s=this._viewContainer.get(n);this._viewContainer.move(s,r);const i=new Da(e,s);t.push(i)}});for(let n=0;n<t.length;n++)this._perViewChange(t[n].view,t[n].record);for(let n=0,r=this._viewContainer.length;n<r;n++){const e=this._viewContainer.get(n);e.context.index=n,e.context.count=r,e.context.ngForOf=this._ngForOf}e.forEachIdentityChange(e=>{this._viewContainer.get(e.currentIndex).context.$implicit=e.item})}_perViewChange(e,t){e.context.$implicit=t.item}static ngTemplateContextGuard(e,t){return!0}}class Da{constructor(e,t){this.record=e,this.view=t}}class Ma{transform(e){return JSON.stringify(e,null,2)}}class Ua{}const ja=new Te("DocumentToken"),La="server";let Va=(()=>{class e{}return e.ngInjectableDef=fe({token:e,providedIn:"root",factory:()=>new $a(Ve(ja),window,Ve(tt))}),e})();class $a{constructor(e,t,n){this.document=e,this.window=t,this.errorHandler=n,this.offset=()=>[0,0]}setOffset(e){this.offset=Array.isArray(e)?()=>e:e}getScrollPosition(){return this.supportScrollRestoration()?[this.window.scrollX,this.window.scrollY]:[0,0]}scrollToPosition(e){this.supportScrollRestoration()&&this.window.scrollTo(e[0],e[1])}scrollToAnchor(e){if(this.supportScrollRestoration()){e=this.window.CSS&&this.window.CSS.escape?this.window.CSS.escape(e):e.replace(/(\"|\'\ |:|\.|\[|\]|,|=)/g,"\\$1");try{const t=this.document.querySelector(`#${e}`);if(t)return void this.scrollToElement(t);const n=this.document.querySelector(`[name='${e}']`);if(n)return void this.scrollToElement(n)}catch(t){this.errorHandler.handleError(t)}}}setHistoryScrollRestoration(e){if(this.supportScrollRestoration()){const t=this.window.history;t&&t.scrollRestoration&&(t.scrollRestoration=e)}}scrollToElement(e){const t=e.getBoundingClientRect(),n=t.left+this.window.pageXOffset,r=t.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(n-s[0],r-s[1])}supportScrollRestoration(){try{return!!this.window&&!!this.window.scrollTo}catch(e){return!1}}}const Fa=new _(e=>e.complete());function Ha(e){return e?function(e){return new _(t=>e.schedule(()=>t.complete()))}(e):Fa}function za(e){const t=new _(t=>{t.next(e),t.complete()});return t._isScalar=!0,t.value=e,t}function Ba(...e){let t=e[e.length-1];switch(I(t)?e.pop():t=void 0,e.length){case 0:return Ha(t);case 1:return t?q(e,t):za(e[0]);default:return q(e,t)}}class qa extends k{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){const t=super._subscribe(e);return t&&!t.closed&&e.next(this._value),t}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new S;return this._value}next(e){super.next(this._value=e)}}function Za(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}Za.prototype=Object.create(Error.prototype);const Wa=Za,Ga={};class Qa{constructor(e){this.resultSelector=e}call(e,t){return t.subscribe(new Ka(e,this.resultSelector))}}class Ka extends F{constructor(e,t){super(e),this.resultSelector=t,this.active=0,this.values=[],this.observables=[]}_next(e){this.values.push(Ga),this.observables.push(e)}_complete(){const e=this.observables,t=e.length;if(0===t)this.destination.complete();else{this.active=t,this.toRespond=t;for(let n=0;n<t;n++){const t=e[n];this.add($(this,t,t,n))}}}notifyComplete(e){0==(this.active-=1)&&this.destination.complete()}notifyNext(e,t,n,r,s){const i=this.values,o=this.toRespond?i[n]===Ga?--this.toRespond:this.toRespond:0;i[n]=t,0===o&&(this.resultSelector?this._tryResultSelector(i):this.destination.next(i.slice()))}_tryResultSelector(e){let t;try{t=this.resultSelector.apply(this,e)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}function Ya(e){return new _(t=>{let n;try{n=e()}catch(r){return void t.error(r)}return(n?Z(n):Ha()).subscribe(t)})}function Ja(){return Y(1)}function Xa(e,t){return function(n){return n.lift(new el(e,t))}}class el{constructor(e,t){this.predicate=e,this.thisArg=t}call(e,t){return t.subscribe(new tl(e,this.predicate,this.thisArg))}}class tl extends g{constructor(e,t,n){super(e),this.predicate=t,this.thisArg=n,this.count=0}_next(e){let t;try{t=this.predicate.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}t&&this.destination.next(e)}}function nl(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}nl.prototype=Object.create(Error.prototype);const rl=nl;function sl(e){return function(t){return 0===e?Ha():t.lift(new il(e))}}class il{constructor(e){if(this.total=e,this.total<0)throw new rl}call(e,t){return t.subscribe(new ol(e,this.total))}}class ol extends g{constructor(e,t){super(e),this.total=t,this.ring=new Array,this.count=0}_next(e){const t=this.ring,n=this.total,r=this.count++;t.length<n?t.push(e):t[r%n]=e}_complete(){const e=this.destination;let t=this.count;if(t>0){const n=this.count>=this.total?this.total:this.count,r=this.ring;for(let s=0;s<n;s++){const s=t++%n;e.next(r[s])}}e.complete()}}function al(e,t,n){return function(r){return r.lift(new ll(e,t,n))}}class ll{constructor(e,t,n){this.nextOrObserver=e,this.error=t,this.complete=n}call(e,t){return t.subscribe(new cl(e,this.nextOrObserver,this.error,this.complete))}}class cl extends g{constructor(e,t,n,s){super(e),this._tapNext=v,this._tapError=v,this._tapComplete=v,this._tapError=n||v,this._tapComplete=s||v,r(t)?(this._context=this,this._tapNext=t):t&&(this._context=t,this._tapNext=t.next||v,this._tapError=t.error||v,this._tapComplete=t.complete||v)}_next(e){try{this._tapNext.call(this._context,e)}catch(t){return void this.destination.error(t)}this.destination.next(e)}_error(e){try{this._tapError.call(this._context,e)}catch(e){return void this.destination.error(e)}this.destination.error(e)}_complete(){try{this._tapComplete.call(this._context)}catch(e){return void this.destination.error(e)}return this.destination.complete()}}const ul=(e=dl)=>al({hasValue:!1,next(){this.hasValue=!0},complete(){if(!this.hasValue)throw e()}});function dl(){return new Wa}function hl(e=null){return t=>t.lift(new fl(e))}class fl{constructor(e){this.defaultValue=e}call(e,t){return t.subscribe(new pl(e,this.defaultValue))}}class pl extends g{constructor(e,t){super(e),this.defaultValue=t,this.isEmpty=!0}_next(e){this.isEmpty=!1,this.destination.next(e)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}function gl(e,t){const n=arguments.length>=2;return r=>r.pipe(e?Xa((t,n)=>e(t,n,r)):K,sl(1),n?hl(t):ul(()=>new Wa))}function bl(e){return function(t){const n=new ml(e),r=t.lift(n);return n.caught=r}}class ml{constructor(e){this.selector=e}call(e,t){return t.subscribe(new vl(e,this.selector,this.caught))}}class vl extends F{constructor(e,t,n){super(e),this.selector=t,this.caught=n}error(e){if(!this.isStopped){let n;try{n=this.selector(e,this.caught)}catch(t){return void super.error(t)}this._unsubscribeAndRecycle();const r=new A(this,void 0,void 0);this.add(r),$(this,n,void 0,void 0,r)}}}function wl(e){return t=>0===e?Ha():t.lift(new yl(e))}class yl{constructor(e){if(this.total=e,this.total<0)throw new rl}call(e,t){return t.subscribe(new _l(e,this.total))}}class _l extends g{constructor(e,t){super(e),this.total=t,this.count=0}_next(e){const t=this.total,n=++this.count;n<=t&&(this.destination.next(e),n===t&&(this.destination.complete(),this.unsubscribe()))}}function Cl(e,t){const n=arguments.length>=2;return r=>r.pipe(e?Xa((t,n)=>e(t,n,r)):K,wl(1),n?hl(t):ul(()=>new Wa))}class xl{constructor(e,t,n){this.predicate=e,this.thisArg=t,this.source=n}call(e,t){return t.subscribe(new Sl(e,this.predicate,this.thisArg,this.source))}}class Sl extends g{constructor(e,t,n,r){super(e),this.predicate=t,this.thisArg=n,this.source=r,this.index=0,this.thisArg=n||this}notifyComplete(e){this.destination.next(e),this.destination.complete()}_next(e){let t=!1;try{t=this.predicate.call(this.thisArg,e,this.index++,this.source)}catch(n){return void this.destination.error(n)}t||this.notifyComplete(!1)}_complete(){this.notifyComplete(!0)}}function El(e,t){return"function"==typeof t?n=>n.pipe(El((n,r)=>Z(e(n,r)).pipe(H((e,s)=>t(n,e,r,s))))):t=>t.lift(new Tl(e))}class Tl{constructor(e){this.project=e}call(e,t){return t.subscribe(new kl(e,this.project))}}class kl extends F{constructor(e,t){super(e),this.project=t,this.index=0}_next(e){let t;const n=this.index++;try{t=this.project(e,n)}catch(r){return void this.destination.error(r)}this._innerSub(t,e,n)}_innerSub(e,t,n){const r=this.innerSubscription;r&&r.unsubscribe();const s=new A(this,void 0,void 0);this.destination.add(s),this.innerSubscription=$(this,e,t,n,s)}_complete(){const{innerSubscription:e}=this;e&&!e.closed||super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=null}notifyComplete(e){this.destination.remove(e),this.innerSubscription=null,this.isStopped&&super._complete()}notifyNext(e,t,n,r,s){this.destination.next(t)}}function Rl(e,t){let n=!1;return arguments.length>=2&&(n=!0),function(r){return r.lift(new Il(e,t,n))}}class Il{constructor(e,t,n=!1){this.accumulator=e,this.seed=t,this.hasSeed=n}call(e,t){return t.subscribe(new Al(e,this.accumulator,this.seed,this.hasSeed))}}class Al extends g{constructor(e,t,n,r){super(e),this.accumulator=t,this._seed=n,this.hasSeed=r,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 t=this.index++;let n;try{n=this.accumulator(this.seed,e,t)}catch(r){this.destination.error(r)}this.seed=n,this.destination.next(n)}}function Nl(e,t){return W(e,t,1)}class Ol{constructor(e){this.callback=e}call(e,t){return t.subscribe(new Pl(e,this.callback))}}class Pl extends g{constructor(e,t){super(e),this.add(new h(t))}}let Dl=null;function Ml(){return Dl}class Ul{constructor(){this.resourceLoaderType=null}get attrToPropMap(){return this._attrToPropMap}set attrToPropMap(e){this._attrToPropMap=e}}class jl extends Ul{constructor(){super(),this._animationPrefix=null,this._transitionEnd=null;try{const e=this.createElement("div",document);if(null!=this.getStyle(e,"animationName"))this._animationPrefix="";else{const t=["Webkit","Moz","O","ms"];for(let n=0;n<t.length;n++)if(null!=this.getStyle(e,t[n]+"AnimationName")){this._animationPrefix="-"+t[n].toLowerCase()+"-";break}}const t={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};Object.keys(t).forEach(n=>{null!=this.getStyle(e,n)&&(this._transitionEnd=t[n])})}catch(e){this._animationPrefix=null,this._transitionEnd=null}}getDistributedNodes(e){return e.getDistributedNodes()}resolveAndSetHref(e,t,n){e.href=null==n?t:t+"/../"+n}supportsDOMEvents(){return!0}supportsNativeShadowDOM(){return"function"==typeof document.body.createShadowRoot}getAnimationPrefix(){return this._animationPrefix?this._animationPrefix:""}getTransitionEnd(){return this._transitionEnd?this._transitionEnd:""}supportsAnimation(){return null!=this._animationPrefix&&null!=this._transitionEnd}}const Ll={class:"className",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"},Vl=3,$l={"\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"},Fl={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"},Hl=(()=>{if(Ee.Node)return Ee.Node.prototype.contains||function(e){return!!(16&this.compareDocumentPosition(e))}})();class zl extends jl{parse(e){throw new Error("parse not implemented")}static makeCurrent(){var e;e=new zl,Dl||(Dl=e)}hasProperty(e,t){return t in e}setProperty(e,t,n){e[t]=n}getProperty(e,t){return e[t]}invoke(e,t,n){e[t](...n)}logError(e){window.console&&(console.error?console.error(e):console.log(e))}log(e){window.console&&window.console.log&&window.console.log(e)}logGroup(e){window.console&&window.console.group&&window.console.group(e)}logGroupEnd(){window.console&&window.console.groupEnd&&window.console.groupEnd()}get attrToPropMap(){return Ll}contains(e,t){return Hl.call(e,t)}querySelector(e,t){return e.querySelector(t)}querySelectorAll(e,t){return e.querySelectorAll(t)}on(e,t,n){e.addEventListener(t,n,!1)}onAndCancel(e,t,n){return e.addEventListener(t,n,!1),()=>{e.removeEventListener(t,n,!1)}}dispatchEvent(e,t){e.dispatchEvent(t)}createMouseEvent(e){const t=this.getDefaultDocument().createEvent("MouseEvent");return t.initEvent(e,!0,!0),t}createEvent(e){const t=this.getDefaultDocument().createEvent("Event");return t.initEvent(e,!0,!0),t}preventDefault(e){e.preventDefault(),e.returnValue=!1}isPrevented(e){return e.defaultPrevented||null!=e.returnValue&&!e.returnValue}getInnerHTML(e){return e.innerHTML}getTemplateContent(e){return"content"in e&&this.isTemplateElement(e)?e.content:null}getOuterHTML(e){return e.outerHTML}nodeName(e){return e.nodeName}nodeValue(e){return e.nodeValue}type(e){return e.type}content(e){return this.hasProperty(e,"content")?e.content:e}firstChild(e){return e.firstChild}nextSibling(e){return e.nextSibling}parentElement(e){return e.parentNode}childNodes(e){return e.childNodes}childNodesAsList(e){const t=e.childNodes,n=new Array(t.length);for(let r=0;r<t.length;r++)n[r]=t[r];return n}clearNodes(e){for(;e.firstChild;)e.removeChild(e.firstChild)}appendChild(e,t){e.appendChild(t)}removeChild(e,t){e.removeChild(t)}replaceChild(e,t,n){e.replaceChild(t,n)}remove(e){return e.parentNode&&e.parentNode.removeChild(e),e}insertBefore(e,t,n){e.insertBefore(n,t)}insertAllBefore(e,t,n){n.forEach(n=>e.insertBefore(n,t))}insertAfter(e,t,n){e.insertBefore(n,t.nextSibling)}setInnerHTML(e,t){e.innerHTML=t}getText(e){return e.textContent}setText(e,t){e.textContent=t}getValue(e){return e.value}setValue(e,t){e.value=t}getChecked(e){return e.checked}setChecked(e,t){e.checked=t}createComment(e){return this.getDefaultDocument().createComment(e)}createTemplate(e){const t=this.getDefaultDocument().createElement("template");return t.innerHTML=e,t}createElement(e,t){return(t=t||this.getDefaultDocument()).createElement(e)}createElementNS(e,t,n){return(n=n||this.getDefaultDocument()).createElementNS(e,t)}createTextNode(e,t){return(t=t||this.getDefaultDocument()).createTextNode(e)}createScriptTag(e,t,n){const r=(n=n||this.getDefaultDocument()).createElement("SCRIPT");return r.setAttribute(e,t),r}createStyleElement(e,t){const n=(t=t||this.getDefaultDocument()).createElement("style");return this.appendChild(n,this.createTextNode(e,t)),n}createShadowRoot(e){return e.createShadowRoot()}getShadowRoot(e){return e.shadowRoot}getHost(e){return e.host}clone(e){return e.cloneNode(!0)}getElementsByClassName(e,t){return e.getElementsByClassName(t)}getElementsByTagName(e,t){return e.getElementsByTagName(t)}classList(e){return Array.prototype.slice.call(e.classList,0)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}hasClass(e,t){return e.classList.contains(t)}setStyle(e,t,n){e.style[t]=n}removeStyle(e,t){e.style[t]=""}getStyle(e,t){return e.style[t]}hasStyle(e,t,n){const r=this.getStyle(e,t)||"";return n?r==n:r.length>0}tagName(e){return e.tagName}attributeMap(e){const t=new Map,n=e.attributes;for(let r=0;r<n.length;r++){const e=n.item(r);t.set(e.name,e.value)}return t}hasAttribute(e,t){return e.hasAttribute(t)}hasAttributeNS(e,t,n){return e.hasAttributeNS(t,n)}getAttribute(e,t){return e.getAttribute(t)}getAttributeNS(e,t,n){return e.getAttributeNS(t,n)}setAttribute(e,t,n){e.setAttribute(t,n)}setAttributeNS(e,t,n,r){e.setAttributeNS(t,n,r)}removeAttribute(e,t){e.removeAttribute(t)}removeAttributeNS(e,t,n){e.removeAttributeNS(t,n)}templateAwareRoot(e){return this.isTemplateElement(e)?this.content(e):e}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}getBoundingClientRect(e){try{return e.getBoundingClientRect()}catch(t){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}}getTitle(e){return e.title}setTitle(e,t){e.title=t||""}elementMatches(e,t){return!!this.isElementNode(e)&&(e.matches&&e.matches(t)||e.msMatchesSelector&&e.msMatchesSelector(t)||e.webkitMatchesSelector&&e.webkitMatchesSelector(t))}isTemplateElement(e){return this.isElementNode(e)&&"TEMPLATE"===e.nodeName}isTextNode(e){return e.nodeType===Node.TEXT_NODE}isCommentNode(e){return e.nodeType===Node.COMMENT_NODE}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}hasShadowRoot(e){return null!=e.shadowRoot&&e instanceof HTMLElement}isShadowRoot(e){return e instanceof DocumentFragment}importIntoDoc(e){return document.importNode(this.templateAwareRoot(e),!0)}adoptNode(e){return document.adoptNode(e)}getHref(e){return e.getAttribute("href")}getEventKey(e){let t=e.key;if(null==t){if(null==(t=e.keyIdentifier))return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),e.location===Vl&&Fl.hasOwnProperty(t)&&(t=Fl[t]))}return $l[t]||t}getGlobalEventTarget(e,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null}getHistory(){return window.history}getLocation(){return window.location}getBaseHref(e){const t=ql||(ql=document.querySelector("base"))?ql.getAttribute("href"):null;return null==t?null:(n=t,Bl||(Bl=document.createElement("a")),Bl.setAttribute("href",n),"/"===Bl.pathname.charAt(0)?Bl.pathname:"/"+Bl.pathname);var n}resetBaseElement(){ql=null}getUserAgent(){return window.navigator.userAgent}setData(e,t,n){this.setAttribute(e,"data-"+t,n)}getData(e,t){return this.getAttribute(e,"data-"+t)}getComputedStyle(e){return getComputedStyle(e)}supportsWebAnimation(){return"function"==typeof Element.prototype.animate}performanceNow(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}supportsCookies(){return!0}getCookie(e){return function(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const e=n.indexOf("="),[r,s]=-1==e?[n,""]:[n.slice(0,e),n.slice(e+1)];if(r.trim()===t)return decodeURIComponent(s)}return null}(document.cookie,e)}setCookie(e,t){document.cookie=encodeURIComponent(e)+"="+encodeURIComponent(t)}}let Bl,ql=null;function Zl(){return!!window.history.pushState}const Wl=new Te("TRANSITION_ID"),Gl=[{provide:Ms,useFactory:function(e,t,n){return()=>{n.get(Us).donePromise.then(()=>{const n=Ml();Array.prototype.slice.apply(n.querySelectorAll(t,"style[ng-transition]")).filter(t=>n.getAttribute(t,"ng-transition")===e).forEach(e=>n.remove(e))})}},deps:[Wl,ja,Ut],multi:!0}];class Ql{static init(){var e;e=new Ql,wi=e}addToWindow(e){Ee.getAngularTestability=(t,n=!0)=>{const r=e.findTestabilityInTree(t,n);if(null==r)throw new Error("Could not find testability for element.");return r},Ee.getAllAngularTestabilities=()=>e.getAllTestabilities(),Ee.getAllAngularRootElements=()=>e.getAllRootElements(),Ee.frameworkStabilizers||(Ee.frameworkStabilizers=[]),Ee.frameworkStabilizers.push(e=>{const t=Ee.getAllAngularTestabilities();let n=t.length,r=!1;const s=function(t){r=r||t,0==--n&&e(r)};t.forEach((function(e){e.whenStable(s)}))})}findTestabilityInTree(e,t,n){if(null==t)return null;const r=e.getTestability(t);return null!=r?r:n?Ml().isShadowRoot(t)?this.findTestabilityInTree(e,Ml().getHost(t),!0):this.findTestabilityInTree(e,Ml().parentElement(t),!0):null}}function Kl(e,t){"undefined"!=typeof COMPILED&&COMPILED||((Ee.ng=Ee.ng||{})[e]=t)}const Yl=(()=>({ApplicationRef:Ri,NgZone:li}))();function Jl(e){return Fi(e)}const Xl=new Te("EventManagerPlugins");class ec{constructor(e,t){this._zone=t,this._eventNameToPlugin=new Map,e.forEach(e=>e.manager=this),this._plugins=e.slice().reverse()}addEventListener(e,t,n){return this._findPluginFor(t).addEventListener(e,t,n)}addGlobalEventListener(e,t,n){return this._findPluginFor(t).addGlobalEventListener(e,t,n)}getZone(){return this._zone}_findPluginFor(e){const t=this._eventNameToPlugin.get(e);if(t)return t;const n=this._plugins;for(let r=0;r<n.length;r++){const t=n[r];if(t.supports(e))return this._eventNameToPlugin.set(e,t),t}throw new Error(`No event manager plugin found for event ${e}`)}}class tc{constructor(e){this._doc=e}addGlobalEventListener(e,t,n){const r=Ml().getGlobalEventTarget(this._doc,e);if(!r)throw new Error(`Unsupported event target ${r} for event ${t}`);return this.addEventListener(r,t,n)}}class nc{constructor(){this._stylesSet=new Set}addStyles(e){const t=new Set;e.forEach(e=>{this._stylesSet.has(e)||(this._stylesSet.add(e),t.add(e))}),this.onStylesAdded(t)}onStylesAdded(e){}getAllStyles(){return Array.from(this._stylesSet)}}class rc extends nc{constructor(e){super(),this._doc=e,this._hostNodes=new Set,this._styleNodes=new Set,this._hostNodes.add(e.head)}_addStylesToHost(e,t){e.forEach(e=>{const n=this._doc.createElement("style");n.textContent=e,this._styleNodes.add(t.appendChild(n))})}addHost(e){this._addStylesToHost(this._stylesSet,e),this._hostNodes.add(e)}removeHost(e){this._hostNodes.delete(e)}onStylesAdded(e){this._hostNodes.forEach(t=>this._addStylesToHost(e,t))}ngOnDestroy(){this._styleNodes.forEach(e=>Ml().remove(e))}}const sc={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/"},ic=/%COMP%/g,oc="_nghost-%COMP%",ac="_ngcontent-%COMP%";function lc(e,t,n){for(let r=0;r<t.length;r++){let s=t[r];Array.isArray(s)?lc(e,s,n):(s=s.replace(ic,e),n.push(s))}return n}function cc(e){return t=>{!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}class uc{constructor(e,t,n){this.eventManager=e,this.sharedStylesHost=t,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new dc(e)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case We.Emulated:{let n=this.rendererByCompId.get(t.id);return n||(n=new pc(this.eventManager,this.sharedStylesHost,t,this.appId),this.rendererByCompId.set(t.id,n)),n.applyToHost(e),n}case We.Native:case We.ShadowDom:return new gc(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){const e=lc(t.id,t.styles,[]);this.sharedStylesHost.addStyles(e),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}class dc{constructor(e){this.eventManager=e,this.data=Object.create(null)}destroy(){}createElement(e,t){return t?document.createElementNS(sc[t]||t,e):document.createElement(e)}createComment(e){return document.createComment(e)}createText(e){return document.createTextNode(e)}appendChild(e,t){e.appendChild(t)}insertBefore(e,t,n){e&&e.insertBefore(t,n)}removeChild(e,t){e&&e.removeChild(t)}selectRootElement(e,t){let n="string"==typeof e?document.querySelector(e):e;if(!n)throw new Error(`The selector "${e}" did not match any elements`);return t||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,n,r){if(r){t=r+":"+t;const s=sc[r];s?e.setAttributeNS(s,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)}removeAttribute(e,t,n){if(n){const r=sc[n];r?e.removeAttributeNS(r,t):e.removeAttribute(`${n}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,n,r){r&bn.DashCase?e.style.setProperty(t,n,r&bn.Important?"important":""):e.style[t]=n}removeStyle(e,t,n){n&bn.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,n){fc(t,"property"),e[t]=n}setValue(e,t){e.nodeValue=t}listen(e,t,n){return fc(t,"listener"),"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,cc(n)):this.eventManager.addEventListener(e,t,cc(n))}}const hc=(()=>"@".charCodeAt(0))();function fc(e,t){if(e.charCodeAt(0)===hc)throw new Error(`Found the synthetic ${t} ${e}. Please include either "BrowserAnimationsModule" or "NoopAnimationsModule" in your application.`)}class pc extends dc{constructor(e,t,n,r){super(e),this.component=n;const s=lc(r+"-"+n.id,n.styles,[]);t.addStyles(s),this.contentAttr=ac.replace(ic,r+"-"+n.id),this.hostAttr=oc.replace(ic,r+"-"+n.id)}applyToHost(e){super.setAttribute(e,this.hostAttr,"")}createElement(e,t){const n=super.createElement(e,t);return super.setAttribute(n,this.contentAttr,""),n}}class gc extends dc{constructor(e,t,n,r){super(e),this.sharedStylesHost=t,this.hostEl=n,this.component=r,this.shadowRoot=r.encapsulation===We.ShadowDom?n.attachShadow({mode:"open"}):n.createShadowRoot(),this.sharedStylesHost.addHost(this.shadowRoot);const s=lc(r.id,r.styles,[]);for(let i=0;i<s.length;i++){const e=document.createElement("style");e.textContent=s[i],this.shadowRoot.appendChild(e)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(e,t){return super.appendChild(this.nodeOrShadowRoot(e),t)}insertBefore(e,t,n){return super.insertBefore(this.nodeOrShadowRoot(e),t,n)}removeChild(e,t){return super.removeChild(this.nodeOrShadowRoot(e),t)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}}const bc=(()=>"undefined"!=typeof Zone&&Zone.__symbol__||function(e){return"__zone_symbol__"+e})(),mc=bc("addEventListener"),vc=bc("removeEventListener"),wc={},yc="FALSE",_c="ANGULAR",Cc="addEventListener",xc="removeEventListener",Sc="__zone_symbol__propagationStopped",Ec="__zone_symbol__stopImmediatePropagation",Tc=(()=>{const e="undefined"!=typeof Zone&&Zone[bc("BLACK_LISTED_EVENTS")];if(e){const t={};return e.forEach(e=>{t[e]=e}),t}})(),kc=function(e){return!!Tc&&Tc.hasOwnProperty(e)},Rc=function(e){const t=wc[e.type];if(!t)return;const n=this[t];if(!n)return;const r=[e];if(1===n.length){const e=n[0];return e.zone!==Zone.current?e.zone.run(e.handler,this,r):e.handler.apply(this,r)}{const t=n.slice();for(let n=0;n<t.length&&!0!==e[Sc];n++){const e=t[n];e.zone!==Zone.current?e.zone.run(e.handler,this,r):e.handler.apply(this,r)}}};class Ic extends tc{constructor(e,t,n){super(e),this.ngZone=t,n&&function(e){return e===La}(n)||this.patchEvent()}patchEvent(){if("undefined"==typeof Event||!Event||!Event.prototype)return;if(Event.prototype[Ec])return;const e=Event.prototype[Ec]=Event.prototype.stopImmediatePropagation;Event.prototype.stopImmediatePropagation=function(){this&&(this[Sc]=!0),e&&e.apply(this,arguments)}}supports(e){return!0}addEventListener(e,t,n){let r=n;if(!e[mc]||li.isInAngularZone()&&!kc(t))e[Cc](t,r,!1);else{let n=wc[t];n||(n=wc[t]=bc(_c+t+yc));let s=e[n];const i=s&&s.length>0;s||(s=e[n]=[]);const o=kc(t)?Zone.root:Zone.current;if(0===s.length)s.push({zone:o,handler:r});else{let e=!1;for(let t=0;t<s.length;t++)if(s[t].handler===r){e=!0;break}e||s.push({zone:o,handler:r})}i||e[mc](t,Rc,!1)}return()=>this.removeEventListener(e,t,r)}removeEventListener(e,t,n){let r=e[vc];if(!r)return e[xc].apply(e,[t,n,!1]);let s=wc[t],i=s&&e[s];if(!i)return e[xc].apply(e,[t,n,!1]);let o=!1;for(let a=0;a<i.length;a++)if(i[a].handler===n){o=!0,i.splice(a,1);break}o?0===i.length&&r.apply(e,[t,Rc,!1]):e[xc].apply(e,[t,n,!1])}}const Ac={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0},Nc=new Te("HammerGestureConfig"),Oc=new Te("HammerLoader");class Pc{constructor(){this.events=[],this.overrides={}}buildHammer(e){const t=new Hammer(e,this.options);t.get("pinch").set({enable:!0}),t.get("rotate").set({enable:!0});for(const n in this.overrides)t.get(n).set(this.overrides[n]);return t}}class Dc extends tc{constructor(e,t,n,r){super(e),this._config=t,this.console=n,this.loader=r}supports(e){return!(!Ac.hasOwnProperty(e.toLowerCase())&&!this.isCustomEvent(e)||!window.Hammer&&!this.loader&&(this.console.warn(`The "${e}" event cannot be bound because Hammer.JS is not `+"loaded and no custom loader has been specified."),1))}addEventListener(e,t,n){const r=this.manager.getZone();if(t=t.toLowerCase(),!window.Hammer&&this.loader){let r=!1,s=()=>{r=!0};return this.loader().then(()=>{if(!window.Hammer)return this.console.warn("The custom HAMMER_LOADER completed, but Hammer.JS is not present."),void(s=()=>{});r||(s=this.addEventListener(e,t,n))}).catch(()=>{this.console.warn(`The "${t}" event cannot be bound because the custom `+"Hammer.JS loader failed."),s=()=>{}}),()=>{s()}}return r.runOutsideAngular(()=>{const s=this._config.buildHammer(e),i=function(e){r.runGuarded((function(){n(e)}))};return s.on(t,i),()=>{s.off(t,i),"function"==typeof s.destroy&&s.destroy()}})}isCustomEvent(e){return this._config.events.indexOf(e)>-1}}const Mc=["alt","control","meta","shift"],Uc={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};class jc extends tc{constructor(e){super(e)}supports(e){return null!=jc.parseEventName(e)}addEventListener(e,t,n){const r=jc.parseEventName(t),s=jc.eventCallback(r.fullKey,n,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Ml().onAndCancel(e,r.domEventName,s))}static parseEventName(e){const t=e.toLowerCase().split("."),n=t.shift();if(0===t.length||"keydown"!==n&&"keyup"!==n)return null;const r=jc._normalizeKey(t.pop());let s="";if(Mc.forEach(e=>{const n=t.indexOf(e);n>-1&&(t.splice(n,1),s+=e+".")}),s+=r,0!=t.length||0===r.length)return null;const i={};return i.domEventName=n,i.fullKey=s,i}static getEventFullKey(e){let t="",n=Ml().getEventKey(e);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),Mc.forEach(r=>{r!=n&&(0,Uc[r])(e)&&(t+=r+".")}),t+=n}static eventCallback(e,t,n){return r=>{jc.getEventFullKey(r)===e&&n.runGuarded(()=>t(r))}}static _normalizeKey(e){switch(e){case"esc":return"escape";default:return e}}}class Lc{}class Vc extends Lc{constructor(e){super(),this._doc=e}sanitize(e,t){if(null==t)return null;switch(e){case Tt.NONE:return t;case Tt.HTML:return t instanceof Fc?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"HTML"),function(e,t){let n=null;try{St=St||new it(e);let r=t?String(t):"";n=St.getInertBodyElement(r);let s=5,i=r;do{if(0===s)throw new Error("Failed to sanitize html because the input is unstable");s--,r=i,i=n.innerHTML,n=St.getInertBodyElement(r)}while(r!==i);const o=new yt,a=o.sanitizeChildren(Et(n)||n);return st()&&o.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),a}finally{if(n){const e=Et(n)||n;for(;e.firstChild;)e.removeChild(e.firstChild)}}}(this._doc,String(t)));case Tt.STYLE:return t instanceof Hc?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"Style"),function(e){if(!(e=String(e).trim()))return"";const t=e.match(It);return t&&lt(t[1])===t[1]||e.match(Rt)&&function(e){let t=!0,n=!0;for(let r=0;r<e.length;r++){const s=e.charAt(r);"'"===s&&n?t=!t:'"'===s&&t&&(n=!n)}return t&&n}(e)?e:(st()&&console.warn(`WARNING: sanitizing unsafe style value ${e} (see http://g.co/ng/security#xss).`),"unsafe")}(t));case Tt.SCRIPT:if(t instanceof zc)return t.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(t,"Script"),new Error("unsafe value used in a script context");case Tt.URL:return t instanceof qc||t instanceof Bc?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"URL"),lt(String(t)));case Tt.RESOURCE_URL:if(t instanceof qc)return t.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(t,"ResourceURL"),new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${e} (see http://g.co/ng/security#xss)`)}}checkNotSafeValue(e,t){if(e instanceof $c)throw new Error(`Required a safe ${t}, got a ${e.getTypeName()} `+"(see http://g.co/ng/security#xss)")}bypassSecurityTrustHtml(e){return new Fc(e)}bypassSecurityTrustStyle(e){return new Hc(e)}bypassSecurityTrustScript(e){return new zc(e)}bypassSecurityTrustUrl(e){return new Bc(e)}bypassSecurityTrustResourceUrl(e){return new qc(e)}}class $c{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity}`+" (see http://g.co/ng/security#xss)"}}class Fc extends $c{getTypeName(){return"HTML"}}class Hc extends $c{getTypeName(){return"Style"}}class zc extends $c{getTypeName(){return"Script"}}class Bc extends $c{getTypeName(){return"URL"}}class qc extends $c{getTypeName(){return"ResourceURL"}}const Zc=Si(zi,"browser",[{provide:Fs,useValue:"browser"},{provide:$s,useValue:function(){zl.makeCurrent(),Ql.init()},multi:!0},{provide:wa,useClass:class extends wa{constructor(e){super(),this._doc=e,this._init()}_init(){this.location=Ml().getLocation(),this._history=Ml().getHistory()}getBaseHrefFromDOM(){return Ml().getBaseHref(this._doc)}onPopState(e){Ml().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",e,!1)}onHashChange(e){Ml().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",e,!1)}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(e){this.location.pathname=e}pushState(e,t,n){Zl()?this._history.pushState(e,t,n):this.location.hash=n}replaceState(e,t,n){Zl()?this._history.replaceState(e,t,n):this.location.hash=n}forward(){this._history.forward()}back(){this._history.back()}getState(){return this._history.state}},deps:[ja]},{provide:ja,useFactory:function(){return document},deps:[]}]);function Wc(){return new tt}class Gc{constructor(e){if(e)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(e){return{ngModule:Gc,providers:[{provide:js,useValue:e.appId},{provide:Wl,useExisting:js},Gl]}}}"undefined"!=typeof window&&window;class Qc{constructor(e,t){this.id=e,this.url=t}}class Kc extends Qc{constructor(e,t,n="imperative",r=null){super(e,t),this.navigationTrigger=n,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Yc extends Qc{constructor(e,t,n){super(e,t),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Jc extends Qc{constructor(e,t,n){super(e,t),this.reason=n}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Xc extends Qc{constructor(e,t,n){super(e,t),this.error=n}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class eu extends Qc{constructor(e,t,n,r){super(e,t),this.urlAfterRedirects=n,this.state=r}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class tu extends Qc{constructor(e,t,n,r){super(e,t),this.urlAfterRedirects=n,this.state=r}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class nu extends Qc{constructor(e,t,n,r,s){super(e,t),this.urlAfterRedirects=n,this.state=r,this.shouldActivate=s}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class ru extends Qc{constructor(e,t,n,r){super(e,t),this.urlAfterRedirects=n,this.state=r}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class su extends Qc{constructor(e,t,n,r){super(e,t),this.urlAfterRedirects=n,this.state=r}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class iu{constructor(e){this.route=e}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class ou{constructor(e){this.route=e}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class au{constructor(e){this.snapshot=e}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class lu{constructor(e){this.snapshot=e}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class cu{constructor(e){this.snapshot=e}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class uu{constructor(e){this.snapshot=e}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class du{constructor(e,t,n){this.routerEvent=e,this.position=t,this.anchor=n}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class hu{}const fu="primary";class pu{constructor(e){this.params=e||{}}has(e){return this.params.hasOwnProperty(e)}get(e){if(this.has(e)){const t=this.params[e];return Array.isArray(t)?t[0]:t}return null}getAll(e){if(this.has(e)){const t=this.params[e];return Array.isArray(t)?t:[t]}return[]}get keys(){return Object.keys(this.params)}}function gu(e){return new pu(e)}const bu="ngNavigationCancelingError";function mu(e){const t=Error("NavigationCancelingError: "+e);return t[bu]=!0,t}function vu(e,t,n){const r=n.path.split("/");if(r.length>e.length)return null;if("full"===n.pathMatch&&(t.hasChildren()||r.length<e.length))return null;const s={};for(let i=0;i<r.length;i++){const t=r[i],n=e[i];if(t.startsWith(":"))s[t.substring(1)]=n;else if(t!==n.path)return null}return{consumed:e.slice(0,r.length),posParams:s}}class wu{constructor(e,t){this.routes=e,this.module=t}}function yu(e,t=""){for(let n=0;n<e.length;n++){const r=e[n];_u(r,Cu(t,r))}}function _u(e,t){if(!e)throw new Error(`\n      Invalid configuration of route '${t}': Encountered undefined route.\n      The reason might be an extra comma.\n\n      Example:\n      const routes: Routes = [\n        { path: '', redirectTo: '/dashboard', pathMatch: 'full' },\n        { path: 'dashboard',  component: DashboardComponent },, << two commas\n        { path: 'detail/:id', component: HeroDetailComponent }\n      ];\n    `);if(Array.isArray(e))throw new Error(`Invalid configuration of route '${t}': Array cannot be specified`);if(!e.component&&!e.children&&!e.loadChildren&&e.outlet&&e.outlet!==fu)throw new Error(`Invalid configuration of route '${t}': a componentless route without children or loadChildren cannot have a named outlet set`);if(e.redirectTo&&e.children)throw new Error(`Invalid configuration of route '${t}': redirectTo and children cannot be used together`);if(e.redirectTo&&e.loadChildren)throw new Error(`Invalid configuration of route '${t}': redirectTo and loadChildren cannot be used together`);if(e.children&&e.loadChildren)throw new Error(`Invalid configuration of route '${t}': children and loadChildren cannot be used together`);if(e.redirectTo&&e.component)throw new Error(`Invalid configuration of route '${t}': redirectTo and component cannot be used together`);if(e.path&&e.matcher)throw new Error(`Invalid configuration of route '${t}': path and matcher cannot be used together`);if(void 0===e.redirectTo&&!e.component&&!e.children&&!e.loadChildren)throw new Error(`Invalid configuration of route '${t}'. One of the following must be provided: component, redirectTo, children or loadChildren`);if(void 0===e.path&&void 0===e.matcher)throw new Error(`Invalid configuration of route '${t}': routes must have either a path or a matcher specified`);if("string"==typeof e.path&&"/"===e.path.charAt(0))throw new Error(`Invalid configuration of route '${t}': path cannot start with a slash`);if(""===e.path&&void 0!==e.redirectTo&&void 0===e.pathMatch)throw new Error(`Invalid configuration of route '{path: "${t}", redirectTo: "${e.redirectTo}"}': please provide 'pathMatch'. The default value of 'pathMatch' is 'prefix', but often the intent is to use 'full'.`);if(void 0!==e.pathMatch&&"full"!==e.pathMatch&&"prefix"!==e.pathMatch)throw new Error(`Invalid configuration of route '${t}': pathMatch can only be set to 'prefix' or 'full'`);e.children&&yu(e.children,t)}function Cu(e,t){return t?e||t.path?e&&!t.path?`${e}/`:!e&&t.path?t.path:`${e}/${t.path}`:"":e}function xu(e){const t=e.children&&e.children.map(xu),n=t?Object.assign({},e,{children:t}):Object.assign({},e);return!n.component&&(t||n.loadChildren)&&n.outlet&&n.outlet!==fu&&(n.component=hu),n}function Su(e,t){const n=Object.keys(e),r=Object.keys(t);if(!n||!r||n.length!=r.length)return!1;let s;for(let i=0;i<n.length;i++)if(e[s=n[i]]!==t[s])return!1;return!0}function Eu(e){return Array.prototype.concat.apply([],e)}function Tu(e){return e.length>0?e[e.length-1]:null}function ku(e,t){for(const n in e)e.hasOwnProperty(n)&&t(e[n],n)}function Ru(e){return en(e)?e:Xt(e)?Z(Promise.resolve(e)):Ba(e)}function Iu(e,t,n){return n?function(e,t){return Su(e,t)}(e.queryParams,t.queryParams)&&function e(t,n){if(!Pu(t.segments,n.segments))return!1;if(t.numberOfChildren!==n.numberOfChildren)return!1;for(const r in n.children){if(!t.children[r])return!1;if(!e(t.children[r],n.children[r]))return!1}return!0}(e.root,t.root):function(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>t[n]===e[n])}(e.queryParams,t.queryParams)&&function e(t,n){return function t(n,r,s){if(n.segments.length>s.length)return!!Pu(n.segments.slice(0,s.length),s)&&!r.hasChildren();if(n.segments.length===s.length){if(!Pu(n.segments,s))return!1;for(const t in r.children){if(!n.children[t])return!1;if(!e(n.children[t],r.children[t]))return!1}return!0}{const e=s.slice(0,n.segments.length),i=s.slice(n.segments.length);return!!Pu(n.segments,e)&&!!n.children[fu]&&t(n.children[fu],r,i)}}(t,n,n.segments)}(e.root,t.root)}class Au{constructor(e,t,n){this.root=e,this.queryParams=t,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=gu(this.queryParams)),this._queryParamMap}toString(){return ju.serialize(this)}}class Nu{constructor(e,t){this.segments=e,this.children=t,this.parent=null,ku(t,(e,t)=>e.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Lu(this)}}class Ou{constructor(e,t){this.path=e,this.parameters=t}get parameterMap(){return this._parameterMap||(this._parameterMap=gu(this.parameters)),this._parameterMap}toString(){return Bu(this)}}function Pu(e,t){return e.length===t.length&&e.every((e,n)=>e.path===t[n].path)}function Du(e,t){let n=[];return ku(e.children,(e,r)=>{r===fu&&(n=n.concat(t(e,r)))}),ku(e.children,(e,r)=>{r!==fu&&(n=n.concat(t(e,r)))}),n}class Mu{}class Uu{parse(e){const t=new Qu(e);return new Au(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(e){var t;return`${`/${function e(t,n){if(!t.hasChildren())return Lu(t);if(n){const n=t.children[fu]?e(t.children[fu],!1):"",r=[];return ku(t.children,(t,n)=>{n!==fu&&r.push(`${n}:${e(t,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}{const n=Du(t,(n,r)=>r===fu?[e(t.children[fu],!1)]:[`${r}:${e(n,!1)}`]);return`${Lu(t)}/(${n.join("//")})`}}(e.root,!0)}`}${function(e){const t=Object.keys(e).map(t=>{const n=e[t];return Array.isArray(n)?n.map(e=>`${$u(t)}=${$u(e)}`).join("&"):`${$u(t)}=${$u(n)}`});return t.length?`?${t.join("&")}`:""}(e.queryParams)}${"string"==typeof e.fragment?`#${t=e.fragment,encodeURI(t)}`:""}`}}const ju=new Uu;function Lu(e){return e.segments.map(e=>Bu(e)).join("/")}function Vu(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function $u(e){return Vu(e).replace(/%3B/gi,";")}function Fu(e){return Vu(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Hu(e){return decodeURIComponent(e)}function zu(e){return Hu(e.replace(/\+/g,"%20"))}function Bu(e){return`${Fu(e.path)}${t=e.parameters,Object.keys(t).map(e=>`;${Fu(e)}=${Fu(t[e])}`).join("")}`;var t}const qu=/^[^\/()?;=#]+/;function Zu(e){const t=e.match(qu);return t?t[0]:""}const Wu=/^[^=?&#]+/,Gu=/^[^?&#]+/;class Qu{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Nu([],{}):new Nu([],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 t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(t).length>0)&&(n[fu]=new Nu(e,t)),n}parseSegment(){const e=Zu(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(e),new Ou(Hu(e),this.parseMatrixParams())}parseMatrixParams(){const e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){const t=Zu(this.remaining);if(!t)return;this.capture(t);let n="";if(this.consumeOptional("=")){const e=Zu(this.remaining);e&&this.capture(n=e)}e[Hu(t)]=Hu(n)}parseQueryParam(e){const t=function(e){const t=e.match(Wu);return t?t[0]:""}(this.remaining);if(!t)return;this.capture(t);let n="";if(this.consumeOptional("=")){const e=function(e){const t=e.match(Gu);return t?t[0]:""}(this.remaining);e&&this.capture(n=e)}const r=zu(t),s=zu(n);if(e.hasOwnProperty(r)){let t=e[r];Array.isArray(t)||(e[r]=t=[t]),t.push(s)}else e[r]=s}parseParens(e){const t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=Zu(this.remaining),r=this.remaining[n.length];if("/"!==r&&")"!==r&&";"!==r)throw new Error(`Cannot parse url '${this.url}'`);let s=void 0;n.indexOf(":")>-1?(s=n.substr(0,n.indexOf(":")),this.capture(s),this.capture(":")):e&&(s=fu);const i=this.parseChildren();t[s]=1===Object.keys(i).length?i[fu]:new Nu([],i),this.consumeOptional("//")}return t}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 Ku{constructor(e){this._root=e}get root(){return this._root.value}parent(e){const t=this.pathFromRoot(e);return t.length>1?t[t.length-2]:null}children(e){const t=Yu(e,this._root);return t?t.children.map(e=>e.value):[]}firstChild(e){const t=Yu(e,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(e){const t=Ju(e,this._root);return t.length<2?[]:t[t.length-2].children.map(e=>e.value).filter(t=>t!==e)}pathFromRoot(e){return Ju(e,this._root).map(e=>e.value)}}function Yu(e,t){if(e===t.value)return t;for(const n of t.children){const t=Yu(e,n);if(t)return t}return null}function Ju(e,t){if(e===t.value)return[t];for(const n of t.children){const r=Ju(e,n);if(r.length)return r.unshift(t),r}return[]}class Xu{constructor(e,t){this.value=e,this.children=t}toString(){return`TreeNode(${this.value})`}}function ed(e){const t={};return e&&e.children.forEach(e=>t[e.value.outlet]=e),t}class td extends Ku{constructor(e,t){super(e),this.snapshot=t,ad(this,e)}toString(){return this.snapshot.toString()}}function nd(e,t){const n=function(e,t){const n=new id([],{},{},"",{},fu,t,null,e.root,-1,{});return new od("",new Xu(n,[]))}(e,t),r=new qa([new Ou("",{})]),s=new qa({}),i=new qa({}),o=new qa({}),a=new qa(""),l=new rd(r,s,o,a,i,fu,t,n.root);return l.snapshot=n.root,new td(new Xu(l,[]),n)}class rd{constructor(e,t,n,r,s,i,o,a){this.url=e,this.params=t,this.queryParams=n,this.fragment=r,this.data=s,this.outlet=i,this.component=o,this._futureSnapshot=a}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(H(e=>gu(e)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(H(e=>gu(e)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function sd(e,t="emptyOnly"){const n=e.pathFromRoot;let r=0;if("always"!==t)for(r=n.length-1;r>=1;){const e=n[r],t=n[r-1];if(e.routeConfig&&""===e.routeConfig.path)r--;else{if(t.component)break;r--}}return function(e){return e.reduce((e,t)=>({params:Object.assign({},e.params,t.params),data:Object.assign({},e.data,t.data),resolve:Object.assign({},e.resolve,t._resolvedData)}),{params:{},data:{},resolve:{}})}(n.slice(r))}class id{constructor(e,t,n,r,s,i,o,a,l,c,u){this.url=e,this.params=t,this.queryParams=n,this.fragment=r,this.data=s,this.outlet=i,this.component=o,this.routeConfig=a,this._urlSegment=l,this._lastPathIndex=c,this._resolve=u}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=gu(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=gu(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(e=>e.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class od extends Ku{constructor(e,t){super(t),this.url=e,ad(this,t)}toString(){return ld(this._root)}}function ad(e,t){t.value._routerState=e,t.children.forEach(t=>ad(e,t))}function ld(e){const t=e.children.length>0?` { ${e.children.map(ld).join(", ")} } `:"";return`${e.value}${t}`}function cd(e){if(e.snapshot){const t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,Su(t.queryParams,n.queryParams)||e.queryParams.next(n.queryParams),t.fragment!==n.fragment&&e.fragment.next(n.fragment),Su(t.params,n.params)||e.params.next(n.params),function(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;++n)if(!Su(e[n],t[n]))return!1;return!0}(t.url,n.url)||e.url.next(n.url),Su(t.data,n.data)||e.data.next(n.data)}else e.snapshot=e._futureSnapshot,e.data.next(e._futureSnapshot.data)}function ud(e,t){var n,r;return Su(e.params,t.params)&&Pu(n=e.url,r=t.url)&&n.every((e,t)=>Su(e.parameters,r[t].parameters))&&!(!e.parent!=!t.parent)&&(!e.parent||ud(e.parent,t.parent))}function dd(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function hd(e,t,n,r,s){let i={};return r&&ku(r,(e,t)=>{i[t]=Array.isArray(e)?e.map(e=>`${e}`):`${e}`}),new Au(n.root===e?t:function e(t,n,r){const s={};return ku(t.children,(t,i)=>{s[i]=t===n?r:e(t,n,r)}),new Nu(t.segments,s)}(n.root,e,t),i,s)}class fd{constructor(e,t,n){if(this.isAbsolute=e,this.numberOfDoubleDots=t,this.commands=n,e&&n.length>0&&dd(n[0]))throw new Error("Root segment cannot have matrix parameters");const r=n.find(e=>"object"==typeof e&&null!=e&&e.outlets);if(r&&r!==Tu(n))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class pd{constructor(e,t,n){this.segmentGroup=e,this.processChildren=t,this.index=n}}function gd(e){return"object"==typeof e&&null!=e&&e.outlets?e.outlets[fu]:`${e}`}function bd(e,t,n){if(e||(e=new Nu([],{})),0===e.segments.length&&e.hasChildren())return md(e,t,n);const r=function(e,t,n){let r=0,s=t;const i={match:!1,pathIndex:0,commandIndex:0};for(;s<e.segments.length;){if(r>=n.length)return i;const t=e.segments[s],o=gd(n[r]),a=r<n.length-1?n[r+1]:null;if(s>0&&void 0===o)break;if(o&&a&&"object"==typeof a&&void 0===a.outlets){if(!_d(o,a,t))return i;r+=2}else{if(!_d(o,{},t))return i;r++}s++}return{match:!0,pathIndex:s,commandIndex:r}}(e,t,n),s=n.slice(r.commandIndex);if(r.match&&r.pathIndex<e.segments.length){const t=new Nu(e.segments.slice(0,r.pathIndex),{});return t.children[fu]=new Nu(e.segments.slice(r.pathIndex),e.children),md(t,0,s)}return r.match&&0===s.length?new Nu(e.segments,{}):r.match&&!e.hasChildren()?vd(e,t,n):r.match?md(e,0,s):vd(e,t,n)}function md(e,t,n){if(0===n.length)return new Nu(e.segments,{});{const r=function(e){return"object"!=typeof e[0]?{[fu]:e}:void 0===e[0].outlets?{[fu]:e}:e[0].outlets}(n),s={};return ku(r,(n,r)=>{null!==n&&(s[r]=bd(e.children[r],t,n))}),ku(e.children,(e,t)=>{void 0===r[t]&&(s[t]=e)}),new Nu(e.segments,s)}}function vd(e,t,n){const r=e.segments.slice(0,t);let s=0;for(;s<n.length;){if("object"==typeof n[s]&&void 0!==n[s].outlets){const e=wd(n[s].outlets);return new Nu(r,e)}if(0===s&&dd(n[0])){r.push(new Ou(e.segments[t].path,n[0])),s++;continue}const i=gd(n[s]),o=s<n.length-1?n[s+1]:null;i&&o&&dd(o)?(r.push(new Ou(i,yd(o))),s+=2):(r.push(new Ou(i,{})),s++)}return new Nu(r,{})}function wd(e){const t={};return ku(e,(e,n)=>{null!==e&&(t[n]=vd(new Nu([],{}),0,e))}),t}function yd(e){const t={};return ku(e,(e,n)=>t[n]=`${e}`),t}function _d(e,t,n){return e==n.path&&Su(t,n.parameters)}const Cd=(e,t,n)=>H(r=>(new xd(t,r.targetRouterState,r.currentRouterState,n).activate(e),r));class xd{constructor(e,t,n,r){this.routeReuseStrategy=e,this.futureState=t,this.currState=n,this.forwardEvent=r}activate(e){const t=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,n,e),cd(this.futureState.root),this.activateChildRoutes(t,n,e)}deactivateChildRoutes(e,t,n){const r=ed(t);e.children.forEach(e=>{const t=e.value.outlet;this.deactivateRoutes(e,r[t],n),delete r[t]}),ku(r,(e,t)=>{this.deactivateRouteAndItsChildren(e,n)})}deactivateRoutes(e,t,n){const r=e.value,s=t?t.value:null;if(r===s)if(r.component){const s=n.getContext(r.outlet);s&&this.deactivateChildRoutes(e,t,s.children)}else this.deactivateChildRoutes(e,t,n);else s&&this.deactivateRouteAndItsChildren(t,n)}deactivateRouteAndItsChildren(e,t){this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,t):this.deactivateRouteAndOutlet(e,t)}detachAndStoreRouteSubtree(e,t){const n=t.getContext(e.value.outlet);if(n&&n.outlet){const t=n.outlet.detach(),r=n.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:t,route:e,contexts:r})}}deactivateRouteAndOutlet(e,t){const n=t.getContext(e.value.outlet);if(n){const r=ed(e),s=e.value.component?n.children:t;ku(r,(e,t)=>this.deactivateRouteAndItsChildren(e,s)),n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated())}}activateChildRoutes(e,t,n){const r=ed(t);e.children.forEach(e=>{this.activateRoutes(e,r[e.value.outlet],n),this.forwardEvent(new uu(e.value.snapshot))}),e.children.length&&this.forwardEvent(new lu(e.value.snapshot))}activateRoutes(e,t,n){const r=e.value,s=t?t.value:null;if(cd(r),r===s)if(r.component){const s=n.getOrCreateContext(r.outlet);this.activateChildRoutes(e,t,s.children)}else this.activateChildRoutes(e,t,n);else if(r.component){const t=n.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){const e=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),t.children.onOutletReAttached(e.contexts),t.attachRef=e.componentRef,t.route=e.route.value,t.outlet&&t.outlet.attach(e.componentRef,e.route.value),Sd(e.route)}else{const n=function(e){for(let t=e.parent;t;t=t.parent){const e=t.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig;if(e&&e.component)return null}return null}(r.snapshot),s=n?n.module.componentFactoryResolver:null;t.attachRef=null,t.route=r,t.resolver=s,t.outlet&&t.outlet.activateWith(r,s),this.activateChildRoutes(e,null,t.children)}}else this.activateChildRoutes(e,null,n)}}function Sd(e){cd(e.value),e.children.forEach(Sd)}function Ed(e){return"function"==typeof e}function Td(e){return e instanceof Au}class kd{constructor(e){this.segmentGroup=e||null}}class Rd{constructor(e){this.urlTree=e}}function Id(e){return new _(t=>t.error(new kd(e)))}function Ad(e){return new _(t=>t.error(new Rd(e)))}function Nd(e){return new _(t=>t.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${e}'`)))}class Od{constructor(e,t,n,r,s){this.configLoader=t,this.urlSerializer=n,this.urlTree=r,this.config=s,this.allowRedirects=!0,this.ngModule=e.get(ze)}apply(){return this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,fu).pipe(H(e=>this.createUrlTree(e,this.urlTree.queryParams,this.urlTree.fragment))).pipe(bl(e=>{if(e instanceof Rd)return this.allowRedirects=!1,this.match(e.urlTree);if(e instanceof kd)throw this.noMatchError(e);throw e}))}match(e){return this.expandSegmentGroup(this.ngModule,this.config,e.root,fu).pipe(H(t=>this.createUrlTree(t,e.queryParams,e.fragment))).pipe(bl(e=>{if(e instanceof kd)throw this.noMatchError(e);throw e}))}noMatchError(e){return new Error(`Cannot match any routes. URL Segment: '${e.segmentGroup}'`)}createUrlTree(e,t,n){const r=e.segments.length>0?new Nu([],{[fu]:e}):e;return new Au(r,t,n)}expandSegmentGroup(e,t,n,r){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(e,t,n).pipe(H(e=>new Nu([],e))):this.expandSegment(e,n,t,n.segments,r,!0)}expandChildren(e,t,n){return function(e,t){if(0===Object.keys(e).length)return Ba({});const n=[],r=[],s={};return ku(e,(e,i)=>{const o=t(i,e).pipe(H(e=>s[i]=e));i===fu?n.push(o):r.push(o)}),Ba.apply(null,n.concat(r)).pipe(Ja(),gl(),H(()=>s))}(n.children,(n,r)=>this.expandSegmentGroup(e,t,r,n))}expandSegment(e,t,n,r,s,i){return Ba(...n).pipe(H(o=>this.expandSegmentAgainstRoute(e,t,n,o,r,s,i).pipe(bl(e=>{if(e instanceof kd)return Ba(null);throw e}))),Ja(),Cl(e=>!!e),bl((e,n)=>{if(e instanceof Wa||"EmptyError"===e.name){if(this.noLeftoversInUrl(t,r,s))return Ba(new Nu([],{}));throw new kd(t)}throw e}))}noLeftoversInUrl(e,t,n){return 0===t.length&&!e.children[n]}expandSegmentAgainstRoute(e,t,n,r,s,i,o){return Ud(r)!==i?Id(t):void 0===r.redirectTo?this.matchSegmentAgainstRoute(e,t,r,s):o&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(e,t,n,r,s,i):Id(t)}expandSegmentAgainstRouteUsingRedirect(e,t,n,r,s,i){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(e,n,r,i):this.expandRegularSegmentAgainstRouteUsingRedirect(e,t,n,r,s,i)}expandWildCardWithParamsAgainstRouteUsingRedirect(e,t,n,r){const s=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?Ad(s):this.lineralizeSegments(n,s).pipe(W(n=>{const s=new Nu(n,{});return this.expandSegment(e,s,t,n,r,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(e,t,n,r,s,i){const{matched:o,consumedSegments:a,lastChild:l,positionalParamSegments:c}=Pd(t,r,s);if(!o)return Id(t);const u=this.applyRedirectCommands(a,r.redirectTo,c);return r.redirectTo.startsWith("/")?Ad(u):this.lineralizeSegments(r,u).pipe(W(r=>this.expandSegment(e,t,n,r.concat(s.slice(l)),i,!1)))}matchSegmentAgainstRoute(e,t,n,r){if("**"===n.path)return n.loadChildren?this.configLoader.load(e.injector,n).pipe(H(e=>(n._loadedConfig=e,new Nu(r,{})))):Ba(new Nu(r,{}));const{matched:s,consumedSegments:i,lastChild:o}=Pd(t,n,r);if(!s)return Id(t);const a=r.slice(o);return this.getChildConfig(e,n,r).pipe(W(e=>{const n=e.module,r=e.routes,{segmentGroup:s,slicedSegments:o}=function(e,t,n,r){return n.length>0&&function(e,t,n){return n.some(n=>Md(e,t,n)&&Ud(n)!==fu)}(e,n,r)?{segmentGroup:Dd(new Nu(t,function(e,t){const n={};n[fu]=t;for(const r of e)""===r.path&&Ud(r)!==fu&&(n[Ud(r)]=new Nu([],{}));return n}(r,new Nu(n,e.children)))),slicedSegments:[]}:0===n.length&&function(e,t,n){return n.some(n=>Md(e,t,n))}(e,n,r)?{segmentGroup:Dd(new Nu(e.segments,function(e,t,n,r){const s={};for(const i of n)Md(e,t,i)&&!r[Ud(i)]&&(s[Ud(i)]=new Nu([],{}));return Object.assign({},r,s)}(e,n,r,e.children))),slicedSegments:n}:{segmentGroup:e,slicedSegments:n}}(t,i,a,r);return 0===o.length&&s.hasChildren()?this.expandChildren(n,r,s).pipe(H(e=>new Nu(i,e))):0===r.length&&0===o.length?Ba(new Nu(i,{})):this.expandSegment(n,s,r,o,fu,!0).pipe(H(e=>new Nu(i.concat(e.segments),e.children)))}))}getChildConfig(e,t,n){return t.children?Ba(new wu(t.children,e)):t.loadChildren?void 0!==t._loadedConfig?Ba(t._loadedConfig):function(e,t,n){const r=t.canLoad;return r&&0!==r.length?Z(r).pipe(H(r=>{const s=e.get(r);let i;if(function(e){return e&&Ed(e.canLoad)}(s))i=s.canLoad(t,n);else{if(!Ed(s))throw new Error("Invalid CanLoad guard");i=s(t,n)}return Ru(i)})).pipe(Ja(),(s=e=>!0===e,e=>e.lift(new xl(s,void 0,e)))):Ba(!0);var s}(e.injector,t,n).pipe(W(n=>n?this.configLoader.load(e.injector,t).pipe(H(e=>(t._loadedConfig=e,e))):function(e){return new _(t=>t.error(mu(`Cannot load children because the guard of the route "path: '${e.path}'" returned false`)))}(t))):Ba(new wu([],e))}lineralizeSegments(e,t){let n=[],r=t.root;for(;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return Ba(n);if(r.numberOfChildren>1||!r.children[fu])return Nd(e.redirectTo);r=r.children[fu]}}applyRedirectCommands(e,t,n){return this.applyRedirectCreatreUrlTree(t,this.urlSerializer.parse(t),e,n)}applyRedirectCreatreUrlTree(e,t,n,r){const s=this.createSegmentGroup(e,t.root,n,r);return new Au(s,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(e,t){const n={};return ku(e,(e,r)=>{if("string"==typeof e&&e.startsWith(":")){const s=e.substring(1);n[r]=t[s]}else n[r]=e}),n}createSegmentGroup(e,t,n,r){const s=this.createSegments(e,t.segments,n,r);let i={};return ku(t.children,(t,s)=>{i[s]=this.createSegmentGroup(e,t,n,r)}),new Nu(s,i)}createSegments(e,t,n,r){return t.map(t=>t.path.startsWith(":")?this.findPosParam(e,t,r):this.findOrReturn(t,n))}findPosParam(e,t,n){const r=n[t.path.substring(1)];if(!r)throw new Error(`Cannot redirect to '${e}'. Cannot find '${t.path}'.`);return r}findOrReturn(e,t){let n=0;for(const r of t){if(r.path===e.path)return t.splice(n),r;n++}return e}}function Pd(e,t,n){if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||n.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};const r=(t.matcher||vu)(n,e,t);return r?{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,positionalParamSegments:r.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function Dd(e){if(1===e.numberOfChildren&&e.children[fu]){const t=e.children[fu];return new Nu(e.segments.concat(t.segments),t.children)}return e}function Md(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0!==n.redirectTo}function Ud(e){return e.outlet||fu}class jd{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}}class Ld{constructor(e,t){this.component=e,this.route=t}}function Vd(e,t,n){const r=e._root;return function e(t,n,r,s,i={canDeactivateChecks:[],canActivateChecks:[]}){const o=ed(n);return t.children.forEach(t=>{!function(t,n,r,s,i={canDeactivateChecks:[],canActivateChecks:[]}){const o=t.value,a=n?n.value:null,l=r?r.getContext(t.value.outlet):null;if(a&&o.routeConfig===a.routeConfig){const c=function(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!Pu(e.url,t.url);case"pathParamsOrQueryParamsChange":return!Pu(e.url,t.url)||!Su(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!ud(e,t)||!Su(e.queryParams,t.queryParams);case"paramsChange":default:return!ud(e,t)}}(a,o,o.routeConfig.runGuardsAndResolvers);c?i.canActivateChecks.push(new jd(s)):(o.data=a.data,o._resolvedData=a._resolvedData),e(t,n,o.component?l?l.children:null:r,s,i),c&&i.canDeactivateChecks.push(new Ld(l&&l.outlet&&l.outlet.component||null,a))}else a&&Fd(n,l,i),i.canActivateChecks.push(new jd(s)),e(t,null,o.component?l?l.children:null:r,s,i)}(t,o[t.value.outlet],r,s.concat([t.value]),i),delete o[t.value.outlet]}),ku(o,(e,t)=>Fd(e,r.getContext(t),i)),i}(r,t?t._root:null,n,[r.value])}function $d(e,t,n){const r=function(e){if(!e)return null;for(let t=e.parent;t;t=t.parent){const e=t.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig}return null}(t);return(r?r.module.injector:n).get(e)}function Fd(e,t,n){const r=ed(e),s=e.value;ku(r,(e,r)=>{Fd(e,s.component?t?t.children.getContext(r):null:t,n)}),n.canDeactivateChecks.push(new Ld(s.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,s))}const Hd=Symbol("INITIAL_VALUE");function zd(){return El(e=>(function(...e){let t=null,n=null;return I(e[e.length-1])&&(n=e.pop()),"function"==typeof e[e.length-1]&&(t=e.pop()),1===e.length&&l(e[0])&&(e=e[0]),q(e,n).lift(new Qa(t))})(...e.map(e=>e.pipe(wl(1),function(...e){return t=>{let n=e[e.length-1];I(n)?e.pop():n=null;const r=e.length;return function(...e){return Ja()(Ba(...e))}(1!==r||n?r>0?q(e,n):Ha(n):za(e[0]),t)}}(Hd)))).pipe(Rl((e,t)=>{let n=!1;return t.reduce((e,r,s)=>{if(e!==Hd)return e;if(r===Hd&&(n=!0),!n){if(!1===r)return r;if(s===t.length-1||Td(r))return r}return e},e)},Hd),Xa(e=>e!==Hd),H(e=>Td(e)?e:!0===e),wl(1)))}function Bd(e,t){return null!==e&&t&&t(new cu(e)),Ba(!0)}function qd(e,t){return null!==e&&t&&t(new au(e)),Ba(!0)}function Zd(e,t,n){const r=t.routeConfig?t.routeConfig.canActivate:null;return r&&0!==r.length?Ba(r.map(r=>Ya(()=>{const s=$d(r,t,n);let i;if(function(e){return e&&Ed(e.canActivate)}(s))i=Ru(s.canActivate(t,e));else{if(!Ed(s))throw new Error("Invalid CanActivate guard");i=Ru(s(t,e))}return i.pipe(Cl())}))).pipe(zd()):Ba(!0)}function Wd(e,t,n){const r=t[t.length-1],s=t.slice(0,t.length-1).reverse().map(e=>(function(e){const t=e.routeConfig?e.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:e,guards:t}:null})(e)).filter(e=>null!==e).map(t=>Ya(()=>Ba(t.guards.map(s=>{const i=$d(s,t.node,n);let o;if(function(e){return e&&Ed(e.canActivateChild)}(i))o=Ru(i.canActivateChild(r,e));else{if(!Ed(i))throw new Error("Invalid CanActivateChild guard");o=Ru(i(r,e))}return o.pipe(Cl())})).pipe(zd())));return Ba(s).pipe(zd())}class Gd{}class Qd{constructor(e,t,n,r,s,i){this.rootComponentType=e,this.config=t,this.urlTree=n,this.url=r,this.paramsInheritanceStrategy=s,this.relativeLinkResolution=i}recognize(){try{const e=Jd(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,t=this.processSegmentGroup(this.config,e,fu),n=new id([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},fu,this.rootComponentType,null,this.urlTree.root,-1,{}),r=new Xu(n,t),s=new od(this.url,r);return this.inheritParamsAndData(s._root),Ba(s)}catch(e){return new _(t=>t.error(e))}}inheritParamsAndData(e){const t=e.value,n=sd(t,this.paramsInheritanceStrategy);t.params=Object.freeze(n.params),t.data=Object.freeze(n.data),e.children.forEach(e=>this.inheritParamsAndData(e))}processSegmentGroup(e,t,n){return 0===t.segments.length&&t.hasChildren()?this.processChildren(e,t):this.processSegment(e,t,t.segments,n)}processChildren(e,t){const n=Du(t,(t,n)=>this.processSegmentGroup(e,t,n));return function(e){const t={};e.forEach(e=>{const n=t[e.value.outlet];if(n){const t=n.url.map(e=>e.toString()).join("/"),r=e.value.url.map(e=>e.toString()).join("/");throw new Error(`Two segments cannot have the same outlet name: '${t}' and '${r}'.`)}t[e.value.outlet]=e.value})}(n),n.sort((e,t)=>e.value.outlet===fu?-1:t.value.outlet===fu?1:e.value.outlet.localeCompare(t.value.outlet)),n}processSegment(e,t,n,r){for(const i of e)try{return this.processSegmentAgainstRoute(i,t,n,r)}catch(s){if(!(s instanceof Gd))throw s}if(this.noLeftoversInUrl(t,n,r))return[];throw new Gd}noLeftoversInUrl(e,t,n){return 0===t.length&&!e.children[n]}processSegmentAgainstRoute(e,t,n,r){if(e.redirectTo)throw new Gd;if((e.outlet||fu)!==r)throw new Gd;let s,i=[],o=[];if("**"===e.path){const i=n.length>0?Tu(n).parameters:{};s=new id(n,i,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,th(e),r,e.component,e,Kd(t),Yd(t)+n.length,nh(e))}else{const a=function(e,t,n){if(""===t.path){if("full"===t.pathMatch&&(e.hasChildren()||n.length>0))throw new Gd;return{consumedSegments:[],lastChild:0,parameters:{}}}const r=(t.matcher||vu)(n,e,t);if(!r)throw new Gd;const s={};ku(r.posParams,(e,t)=>{s[t]=e.path});const i=r.consumed.length>0?Object.assign({},s,r.consumed[r.consumed.length-1].parameters):s;return{consumedSegments:r.consumed,lastChild:r.consumed.length,parameters:i}}(t,e,n);i=a.consumedSegments,o=n.slice(a.lastChild),s=new id(i,a.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,th(e),r,e.component,e,Kd(t),Yd(t)+i.length,nh(e))}const a=function(e){return e.children?e.children:e.loadChildren?e._loadedConfig.routes:[]}(e),{segmentGroup:l,slicedSegments:c}=Jd(t,i,o,a,this.relativeLinkResolution);if(0===c.length&&l.hasChildren()){const e=this.processChildren(a,l);return[new Xu(s,e)]}if(0===a.length&&0===c.length)return[new Xu(s,[])];const u=this.processSegment(a,l,c,fu);return[new Xu(s,u)]}}function Kd(e){let t=e;for(;t._sourceSegment;)t=t._sourceSegment;return t}function Yd(e){let t=e,n=t._segmentIndexShift?t._segmentIndexShift:0;for(;t._sourceSegment;)n+=(t=t._sourceSegment)._segmentIndexShift?t._segmentIndexShift:0;return n-1}function Jd(e,t,n,r,s){if(n.length>0&&function(e,t,n){return n.some(n=>Xd(e,t,n)&&eh(n)!==fu)}(e,n,r)){const s=new Nu(t,function(e,t,n,r){const s={};s[fu]=r,r._sourceSegment=e,r._segmentIndexShift=t.length;for(const i of n)if(""===i.path&&eh(i)!==fu){const n=new Nu([],{});n._sourceSegment=e,n._segmentIndexShift=t.length,s[eh(i)]=n}return s}(e,t,r,new Nu(n,e.children)));return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:[]}}if(0===n.length&&function(e,t,n){return n.some(n=>Xd(e,t,n))}(e,n,r)){const i=new Nu(e.segments,function(e,t,n,r,s,i){const o={};for(const a of r)if(Xd(e,n,a)&&!s[eh(a)]){const n=new Nu([],{});n._sourceSegment=e,n._segmentIndexShift="legacy"===i?e.segments.length:t.length,o[eh(a)]=n}return Object.assign({},s,o)}(e,t,n,r,e.children,s));return i._sourceSegment=e,i._segmentIndexShift=t.length,{segmentGroup:i,slicedSegments:n}}const i=new Nu(e.segments,e.children);return i._sourceSegment=e,i._segmentIndexShift=t.length,{segmentGroup:i,slicedSegments:n}}function Xd(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0===n.redirectTo}function eh(e){return e.outlet||fu}function th(e){return e.data||{}}function nh(e){return e.resolve||{}}function rh(e,t,n,r){const s=$d(e,t,r);return Ru(s.resolve?s.resolve(t,n):s(t,n))}function sh(e){return function(t){return t.pipe(El(t=>{const n=e(t);return n?Z(n).pipe(H(()=>t)):Z([t])}))}}class ih{}class oh{shouldDetach(e){return!1}store(e,t){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,t){return e.routeConfig===t.routeConfig}}const ah=new Te("ROUTES");class lh{constructor(e,t,n,r){this.loader=e,this.compiler=t,this.onLoadStartListener=n,this.onLoadEndListener=r}load(e,t){return this.onLoadStartListener&&this.onLoadStartListener(t),this.loadModuleFactory(t.loadChildren).pipe(H(n=>{this.onLoadEndListener&&this.onLoadEndListener(t);const r=n.create(e);return new wu(Eu(r.injector.get(ah)).map(xu),r)}))}loadModuleFactory(e){return"string"==typeof e?Z(this.loader.load(e)):Ru(e()).pipe(W(e=>e instanceof Be?Ba(e):Z(this.compiler.compileModuleAsync(e))))}}class ch{}class uh{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,t){return e}}function dh(e){throw e}function hh(e,t,n){return t.parse("/")}function fh(e,t){return Ba(null)}class ph{constructor(e,t,n,r,s,i,o,a){this.rootComponentType=e,this.urlSerializer=t,this.rootContexts=n,this.location=r,this.config=a,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new k,this.errorHandler=dh,this.malformedUriErrorHandler=hh,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:fh,afterPreactivation:fh},this.urlHandlingStrategy=new uh,this.routeReuseStrategy=new oh,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=s.get(ze),this.console=s.get(zs);const l=s.get(li);this.isNgZoneEnabled=l instanceof li,this.resetConfig(a),this.currentUrlTree=new Au(new Nu([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new lh(i,o,e=>this.triggerEvent(new iu(e)),e=>this.triggerEvent(new ou(e))),this.routerState=nd(this.currentUrlTree,this.rootComponentType),this.transitions=new qa({id: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()}setupNavigations(e){const t=this.events;return e.pipe(Xa(e=>0!==e.id),H(e=>Object.assign({},e,{extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl)})),El(e=>{let n=!1,r=!1;return Ba(e).pipe(al(e=>{this.currentNavigation={id:e.id,initialUrl:e.currentRawUrl,extractedUrl:e.extractedUrl,trigger:e.source,extras:e.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign({},this.lastSuccessfulNavigation,{previousNavigation:null}):null}}),El(e=>{const n=!this.navigated||e.extractedUrl.toString()!==this.browserUrlTree.toString();if(("reload"===this.onSameUrlNavigation||n)&&this.urlHandlingStrategy.shouldProcessUrl(e.rawUrl))return Ba(e).pipe(El(e=>{const n=this.transitions.getValue();return t.next(new Kc(e.id,this.serializeUrl(e.extractedUrl),e.source,e.restoredState)),n!==this.transitions.getValue()?Fa:[e]}),El(e=>Promise.resolve(e)),function(e,t,n,r){return function(s){return s.pipe(El(s=>(function(e,t,n,r,s){return new Od(e,t,n,r,s).apply()})(e,t,n,s.extractedUrl,r).pipe(H(e=>Object.assign({},s,{urlAfterRedirects:e})))))}}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),al(e=>{this.currentNavigation=Object.assign({},this.currentNavigation,{finalUrl:e.urlAfterRedirects})}),function(e,t,n,r,s){return function(i){return i.pipe(W(i=>(function(e,t,n,r,s="emptyOnly",i="legacy"){return new Qd(e,t,n,r,s,i).recognize()})(e,t,i.urlAfterRedirects,n(i.urlAfterRedirects),r,s).pipe(H(e=>Object.assign({},i,{targetSnapshot:e})))))}}(this.rootComponentType,this.config,e=>this.serializeUrl(e),this.paramsInheritanceStrategy,this.relativeLinkResolution),al(e=>{"eager"===this.urlUpdateStrategy&&(e.extras.skipLocationChange||this.setBrowserUrl(e.urlAfterRedirects,!!e.extras.replaceUrl,e.id,e.extras.state),this.browserUrlTree=e.urlAfterRedirects)}),al(e=>{const n=new eu(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.next(n)}));if(n&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:n,extractedUrl:r,source:s,restoredState:i,extras:o}=e,a=new Kc(n,this.serializeUrl(r),s,i);t.next(a);const l=nd(r,this.rootComponentType).snapshot;return Ba(Object.assign({},e,{targetSnapshot:l,urlAfterRedirects:r,extras:Object.assign({},o,{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=e.rawUrl,this.browserUrlTree=e.urlAfterRedirects,e.resolve(null),Fa}),sh(e=>{const{targetSnapshot:t,id:n,extractedUrl:r,rawUrl:s,extras:{skipLocationChange:i,replaceUrl:o}}=e;return this.hooks.beforePreactivation(t,{navigationId:n,appliedUrlTree:r,rawUrlTree:s,skipLocationChange:!!i,replaceUrl:!!o})}),al(e=>{const t=new tu(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)}),H(e=>Object.assign({},e,{guards:Vd(e.targetSnapshot,e.currentSnapshot,this.rootContexts)})),function(e,t){return function(n){return n.pipe(W(n=>{const{targetSnapshot:r,currentSnapshot:s,guards:{canActivateChecks:i,canDeactivateChecks:o}}=n;return 0===o.length&&0===i.length?Ba(Object.assign({},n,{guardsResult:!0})):function(e,t,n,r){return Z(e).pipe(W(e=>(function(e,t,n,r,s){const i=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return i&&0!==i.length?Ba(i.map(i=>{const o=$d(i,t,s);let a;if(function(e){return e&&Ed(e.canDeactivate)}(o))a=Ru(o.canDeactivate(e,t,n,r));else{if(!Ed(o))throw new Error("Invalid CanDeactivate guard");a=Ru(o(e,t,n,r))}return a.pipe(Cl())})).pipe(zd()):Ba(!0)})(e.component,e.route,n,t,r)),Cl(e=>!0!==e,!0))}(o,r,s,e).pipe(W(n=>n&&function(e){return"boolean"==typeof e}(n)?function(e,t,n,r){return Z(t).pipe(Nl(t=>Z([qd(t.route.parent,r),Bd(t.route,r),Wd(e,t.path,n),Zd(e,t.route,n)]).pipe(Ja(),Cl(e=>!0!==e,!0))),Cl(e=>!0!==e,!0))}(r,i,e,t):Ba(n)),H(e=>Object.assign({},n,{guardsResult:e})))}))}}(this.ngModule.injector,e=>this.triggerEvent(e)),al(e=>{if(Td(e.guardsResult)){const t=mu(`Redirecting to "${this.serializeUrl(e.guardsResult)}"`);throw t.url=e.guardsResult,t}}),al(e=>{const t=new nu(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot,!!e.guardsResult);this.triggerEvent(t)}),Xa(e=>{if(!e.guardsResult){this.resetUrlToCurrentUrlTree();const n=new Jc(e.id,this.serializeUrl(e.extractedUrl),"");return t.next(n),e.resolve(!1),!1}return!0}),sh(e=>{if(e.guards.canActivateChecks.length)return Ba(e).pipe(al(e=>{const t=new ru(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)}),function(e,t){return function(n){return n.pipe(W(n=>{const{targetSnapshot:r,guards:{canActivateChecks:s}}=n;return s.length?Z(s).pipe(Nl(n=>(function(e,t,n,r){return function(e,t,n,r){const s=Object.keys(e);if(0===s.length)return Ba({});if(1===s.length){const i=s[0];return rh(e[i],t,n,r).pipe(H(e=>({[i]:e})))}const i={};return Z(s).pipe(W(s=>rh(e[s],t,n,r).pipe(H(e=>(i[s]=e,e))))).pipe(gl(),H(()=>i))}(e._resolve,e,t,r).pipe(H(t=>(e._resolvedData=t,e.data=Object.assign({},e.data,sd(e,n).resolve),null)))})(n.route,r,e,t)),function(e,t){return arguments.length>=2?function(n){return w(Rl(e,t),sl(1),hl(t))(n)}:function(t){return w(Rl((t,n,r)=>e(t,n,r+1)),sl(1))(t)}}((e,t)=>e),H(e=>n)):Ba(n)}))}}(this.paramsInheritanceStrategy,this.ngModule.injector),al(e=>{const t=new su(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)}))}),sh(e=>{const{targetSnapshot:t,id:n,extractedUrl:r,rawUrl:s,extras:{skipLocationChange:i,replaceUrl:o}}=e;return this.hooks.afterPreactivation(t,{navigationId:n,appliedUrlTree:r,rawUrlTree:s,skipLocationChange:!!i,replaceUrl:!!o})}),H(e=>{const t=function(e,t,n){const r=function e(t,n,r){if(r&&t.shouldReuseRoute(n.value,r.value.snapshot)){const s=r.value;s._futureSnapshot=n.value;const i=function(t,n,r){return n.children.map(n=>{for(const s of r.children)if(t.shouldReuseRoute(s.value.snapshot,n.value))return e(t,n,s);return e(t,n)})}(t,n,r);return new Xu(s,i)}{const r=t.retrieve(n.value);if(r){const e=r.route;return function e(t,n){if(t.value.routeConfig!==n.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(t.children.length!==n.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");n.value._futureSnapshot=t.value;for(let r=0;r<t.children.length;++r)e(t.children[r],n.children[r])}(n,e),e}{const r=new rd(new qa((s=n.value).url),new qa(s.params),new qa(s.queryParams),new qa(s.fragment),new qa(s.data),s.outlet,s.component,s),i=n.children.map(n=>e(t,n));return new Xu(r,i)}}var s}(e,t._root,n?n._root:void 0);return new td(r,t)}(this.routeReuseStrategy,e.targetSnapshot,e.currentRouterState);return Object.assign({},e,{targetRouterState:t})}),al(e=>{this.currentUrlTree=e.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.rawUrl),this.routerState=e.targetRouterState,"deferred"===this.urlUpdateStrategy&&(e.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,!!e.extras.replaceUrl,e.id,e.extras.state),this.browserUrlTree=e.urlAfterRedirects)}),Cd(this.rootContexts,this.routeReuseStrategy,e=>this.triggerEvent(e)),al({next(){n=!0},complete(){n=!0}}),function(e){return t=>t.lift(new Ol(e))}(()=>{if(!n&&!r){this.resetUrlToCurrentUrlTree();const n=new Jc(e.id,this.serializeUrl(e.extractedUrl),`Navigation ID ${e.id} is not equal to the current navigation id ${this.navigationId}`);t.next(n),e.resolve(!1)}this.currentNavigation=null}),bl(n=>{if(r=!0,function(e){return e&&e[bu]}(n)){const r=Td(n.url);r||(this.navigated=!0,this.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl));const s=new Jc(e.id,this.serializeUrl(e.extractedUrl),n.message);t.next(s),e.resolve(!1),r&&this.navigateByUrl(n.url)}else{this.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl);const r=new Xc(e.id,this.serializeUrl(e.extractedUrl),n);t.next(r);try{e.resolve(this.errorHandler(n))}catch(s){e.reject(s)}}return Fa}))}))}resetRootComponentType(e){this.rootComponentType=e,this.routerState.root.component=this.rootComponentType}getTransition(){const e=this.transitions.value;return e.urlAfterRedirects=this.browserUrlTree,e}setTransition(e){this.transitions.next(Object.assign({},this.getTransition(),e))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(e=>{let t=this.parseUrl(e.url);const n="popstate"===e.type?"popstate":"hashchange",r=e.state&&e.state.navigationId?e.state:null;setTimeout(()=>{this.scheduleNavigation(t,n,r,{replaceUrl:!0})},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(e){this.events.next(e)}resetConfig(e){yu(e),this.config=e.map(xu),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=null)}createUrlTree(e,t={}){const{relativeTo:n,queryParams:r,fragment:s,preserveQueryParams:i,queryParamsHandling:o,preserveFragment:a}=t;st()&&i&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");const l=n||this.routerState.root,c=a?this.currentUrlTree.fragment:s;let u=null;if(o)switch(o){case"merge":u=Object.assign({},this.currentUrlTree.queryParams,r);break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=r||null}else u=i?this.currentUrlTree.queryParams:r||null;return null!==u&&(u=this.removeEmptyProps(u)),function(e,t,n,r,s){if(0===n.length)return hd(t.root,t.root,t,r,s);const i=function(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new fd(!0,0,e);let t=0,n=!1;const r=e.reduce((e,r,s)=>{if("object"==typeof r&&null!=r){if(r.outlets){const t={};return ku(r.outlets,(e,n)=>{t[n]="string"==typeof e?e.split("/"):e}),[...e,{outlets:t}]}if(r.segmentPath)return[...e,r.segmentPath]}return"string"!=typeof r?[...e,r]:0===s?(r.split("/").forEach((r,s)=>{0==s&&"."===r||(0==s&&""===r?n=!0:".."===r?t++:""!=r&&e.push(r))}),e):[...e,r]},[]);return new fd(n,t,r)}(n);if(i.toRoot())return hd(t.root,new Nu([],{}),t,r,s);const o=function(e,t,n){if(e.isAbsolute)return new pd(t.root,!0,0);if(-1===n.snapshot._lastPathIndex)return new pd(n.snapshot._urlSegment,!0,0);const r=dd(e.commands[0])?0:1;return function(e,t,n){let r=e,s=t,i=n;for(;i>s;){if(i-=s,!(r=r.parent))throw new Error("Invalid number of '../'");s=r.segments.length}return new pd(r,!1,s-i)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+r,e.numberOfDoubleDots)}(i,t,e),a=o.processChildren?md(o.segmentGroup,o.index,i.commands):bd(o.segmentGroup,o.index,i.commands);return hd(o.segmentGroup,a,t,r,s)}(l,this.currentUrlTree,e,u,c)}navigateByUrl(e,t={skipLocationChange:!1}){st()&&this.isNgZoneEnabled&&!li.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");const n=Td(e)?e:this.parseUrl(e),r=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(r,"imperative",null,t)}navigate(e,t={skipLocationChange:!1}){return function(e){for(let t=0;t<e.length;t++){const n=e[t];if(null==n)throw new Error(`The requested path contains ${n} segment at index ${t}`)}}(e),this.navigateByUrl(this.createUrlTree(e,t),t)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){let t;try{t=this.urlSerializer.parse(e)}catch(n){t=this.malformedUriErrorHandler(n,this.urlSerializer,e)}return t}isActive(e,t){if(Td(e))return Iu(this.currentUrlTree,e,t);const n=this.parseUrl(e);return Iu(this.currentUrlTree,n,t)}removeEmptyProps(e){return Object.keys(e).reduce((t,n)=>{const r=e[n];return null!=r&&(t[n]=r),t},{})}processNavigations(){this.navigations.subscribe(e=>{this.navigated=!0,this.lastSuccessfulId=e.id,this.events.next(new Yc(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,this.currentNavigation=null,e.resolve(!0)},e=>{this.console.warn("Unhandled Navigation Error: ")})}scheduleNavigation(e,t,n,r){const s=this.getTransition();if(s&&"imperative"!==t&&"imperative"===s.source&&s.rawUrl.toString()===e.toString())return Promise.resolve(!0);if(s&&"hashchange"==t&&"popstate"===s.source&&s.rawUrl.toString()===e.toString())return Promise.resolve(!0);if(s&&"popstate"==t&&"hashchange"===s.source&&s.rawUrl.toString()===e.toString())return Promise.resolve(!0);let i=null,o=null;const a=new Promise((e,t)=>{i=e,o=t}),l=++this.navigationId;return this.setTransition({id:l,source:t,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:e,extras:r,resolve:i,reject:o,promise:a,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),a.catch(e=>Promise.reject(e))}setBrowserUrl(e,t,n,r){const s=this.urlSerializer.serialize(e);r=r||{},this.location.isCurrentPathEqualTo(s)||t?this.location.replaceState(s,"",Object.assign({},r,{navigationId:n})):this.location.go(s,"",Object.assign({},r,{navigationId:n}))}resetStateAndUrl(e,t,n){this.routerState=e,this.currentUrlTree=t,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n),this.resetUrlToCurrentUrlTree()}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",{navigationId:this.lastSuccessfulId})}}class gh{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new bh,this.attachRef=null}}class bh{constructor(){this.contexts=new Map}onChildOutletCreated(e,t){const n=this.getOrCreateContext(e);n.outlet=t,this.contexts.set(e,n)}onChildOutletDestroyed(e){const t=this.getContext(e);t&&(t.outlet=null)}onOutletDeactivated(){const e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let t=this.getContext(e);return t||(t=new gh,this.contexts.set(e,t)),t}getContext(e){return this.contexts.get(e)||null}}class mh{constructor(e,t,n,r,s){this.parentContexts=e,this.location=t,this.resolver=n,this.changeDetector=s,this.activated=null,this._activatedRoute=null,this.activateEvents=new Os,this.deactivateEvents=new Os,this.name=r||fu,e.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const e=this.parentContexts.getContext(this.name);e&&e.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.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 e=this.activated;return this.activated=null,this._activatedRoute=null,e}attach(e,t){this.activated=e,this._activatedRoute=t,this.location.insert(e.hostView)}deactivate(){if(this.activated){const e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,t){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=e;const n=(t=t||this.resolver).resolveComponentFactory(e._futureSnapshot.routeConfig.component),r=this.parentContexts.getOrCreateContext(this.name).children,s=new vh(e,r,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,s),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}class vh{constructor(e,t,n){this.route=e,this.childContexts=t,this.parent=n}get(e,t){return e===rd?this.route:e===bh?this.childContexts:this.parent.get(e,t)}}class wh{}class yh{preload(e,t){return t().pipe(bl(()=>Ba(null)))}}class _h{preload(e,t){return Ba(null)}}class Ch{constructor(e,t,n,r,s){this.router=e,this.injector=r,this.preloadingStrategy=s,this.loader=new lh(t,n,t=>e.triggerEvent(new iu(t)),t=>e.triggerEvent(new ou(t)))}setUpPreloading(){this.subscription=this.router.events.pipe(Xa(e=>e instanceof Yc),Nl(()=>this.preload())).subscribe(()=>{})}preload(){const e=this.injector.get(ze);return this.processRoutes(e,this.router.config)}ngOnDestroy(){this.subscription.unsubscribe()}processRoutes(e,t){const n=[];for(const r of t)if(r.loadChildren&&!r.canLoad&&r._loadedConfig){const e=r._loadedConfig;n.push(this.processRoutes(e.module,e.routes))}else r.loadChildren&&!r.canLoad?n.push(this.preloadConfig(e,r)):r.children&&n.push(this.processRoutes(e,r.children));return Z(n).pipe(Y(),H(e=>void 0))}preloadConfig(e,t){return this.preloadingStrategy.preload(t,()=>this.loader.load(e.injector,t).pipe(W(e=>(t._loadedConfig=e,this.processRoutes(e.module,e.routes)))))}}class xh{constructor(e,t,n={}){this.router=e,this.viewportScroller=t,this.options=n,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},n.scrollPositionRestoration=n.scrollPositionRestoration||"disabled",n.anchorScrolling=n.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(e=>{e instanceof Kc?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof Yc&&(this.lastId=e.id,this.scheduleScrollEvent(e,this.router.parseUrl(e.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(e=>{e instanceof du&&(e.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,t){this.router.triggerEvent(new du(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,t))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}const Sh=new Te("ROUTER_CONFIGURATION"),Eh=new Te("ROUTER_FORROOT_GUARD"),Th=[xa,{provide:Mu,useClass:Uu},{provide:ph,useFactory:Ph,deps:[Ri,Mu,bh,xa,Ut,Ai,Ys,ah,Sh,[ch,new le],[ih,new le]]},bh,{provide:rd,useFactory:Dh,deps:[ph]},{provide:Ai,useClass:Mi},Ch,_h,yh,{provide:Sh,useValue:{enableTracing:!1}}];function kh(){return new xi("Router",ph)}class Rh{constructor(e,t){}static forRoot(e,t){return{ngModule:Rh,providers:[Th,Oh(e),{provide:Eh,useFactory:Nh,deps:[[ph,new le,new ue]]},{provide:Sh,useValue:t||{}},{provide:_a,useFactory:Ah,deps:[wa,[new ae(Ca),new le],Sh]},{provide:xh,useFactory:Ih,deps:[ph,Va,Sh]},{provide:wh,useExisting:t&&t.preloadingStrategy?t.preloadingStrategy:_h},{provide:xi,multi:!0,useFactory:kh},[Mh,{provide:Ms,multi:!0,useFactory:Uh,deps:[Mh]},{provide:Lh,useFactory:jh,deps:[Mh]},{provide:Hs,multi:!0,useExisting:Lh}]]}}static forChild(e){return{ngModule:Rh,providers:[Oh(e)]}}}function Ih(e,t,n){return n.scrollOffset&&t.setOffset(n.scrollOffset),new xh(e,t,n)}function Ah(e,t,n={}){return n.useHash?new Ea(e,t):new Ta(e,t)}function Nh(e){if(e)throw new Error("RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function Oh(e){return[{provide:qt,multi:!0,useValue:e},{provide:ah,multi:!0,useValue:e}]}function Ph(e,t,n,r,s,i,o,a,l={},c,u){const d=new ph(null,t,n,r,s,i,o,Eu(a));if(c&&(d.urlHandlingStrategy=c),u&&(d.routeReuseStrategy=u),l.errorHandler&&(d.errorHandler=l.errorHandler),l.malformedUriErrorHandler&&(d.malformedUriErrorHandler=l.malformedUriErrorHandler),l.enableTracing){const e=Ml();d.events.subscribe(t=>{e.logGroup(`Router Event: ${t.constructor.name}`),e.log(t.toString()),e.log(t),e.logGroupEnd()})}return l.onSameUrlNavigation&&(d.onSameUrlNavigation=l.onSameUrlNavigation),l.paramsInheritanceStrategy&&(d.paramsInheritanceStrategy=l.paramsInheritanceStrategy),l.urlUpdateStrategy&&(d.urlUpdateStrategy=l.urlUpdateStrategy),l.relativeLinkResolution&&(d.relativeLinkResolution=l.relativeLinkResolution),d}function Dh(e){return e.routerState.root}class Mh{constructor(e){this.injector=e,this.initNavigation=!1,this.resultOfPreactivationDone=new k}appInitializer(){return this.injector.get(ya,Promise.resolve(null)).then(()=>{let e=null;const t=new Promise(t=>e=t),n=this.injector.get(ph),r=this.injector.get(Sh);if(this.isLegacyDisabled(r)||this.isLegacyEnabled(r))e(!0);else if("disabled"===r.initialNavigation)n.setUpLocationChangeListener(),e(!0);else{if("enabled"!==r.initialNavigation)throw new Error(`Invalid initialNavigation options: '${r.initialNavigation}'`);n.hooks.afterPreactivation=()=>this.initNavigation?Ba(null):(this.initNavigation=!0,e(!0),this.resultOfPreactivationDone),n.initialNavigation()}return t})}bootstrapListener(e){const t=this.injector.get(Sh),n=this.injector.get(Ch),r=this.injector.get(xh),s=this.injector.get(ph),i=this.injector.get(Ri);e===i.components[0]&&(this.isLegacyEnabled(t)?s.initialNavigation():this.isLegacyDisabled(t)&&s.setUpLocationChangeListener(),n.setUpPreloading(),r.init(),s.resetRootComponentType(i.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}isLegacyEnabled(e){return"legacy_enabled"===e.initialNavigation||!0===e.initialNavigation||void 0===e.initialNavigation}isLegacyDisabled(e){return"legacy_disabled"===e.initialNavigation||!1===e.initialNavigation}}function Uh(e){return e.appInitializer.bind(e)}function jh(e){return e.bootstrapListener.bind(e)}const Lh=new Te("Router Initializer");var Vh=nr({encapsulation:2,styles:[],data:{}});function $h(e){return co(0,[(e()(),Ki(0,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),cs(1,212992,null,0,mh,[bh,Ln,ln,[8,null],Ot],null,null)],(function(e,t){e(t,1,0)}),null)}function Fh(e){return co(0,[(e()(),Ki(0,0,null,null,1,"ng-component",[],null,null,null,$h,Vh)),cs(1,49152,null,0,hu,[],null,null)],null,null)}var Hh=Vr("ng-component",hu,Fh,{},{},[]);const zh=new Te("WindowToken","undefined"!=typeof window&&window.document?{providedIn:"root",factory:()=>window}:void 0);let Bh=(()=>{class e{constructor(e,t){this.document=e,this.window=t,this.copySubject=new k,this.copyResponse$=this.copySubject.asObservable(),this.config={}}configure(e){this.config=e}copy(e){if(!this.isSupported||!e)return this.pushCopyResponse({isSuccess:!1,content:e});const t=this.copyFromContent(e);return this.pushCopyResponse(t?{content:e,isSuccess:t}:{isSuccess:!1,content:e})}get isSupported(){return!!this.document.queryCommandSupported&&!!this.document.queryCommandSupported("copy")&&!!this.window}isTargetValid(e){if(e instanceof HTMLInputElement||e instanceof HTMLTextAreaElement){if(e.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');return!0}throw new Error("Target should be input or textarea")}copyFromInputElement(e,t=!0){try{this.selectTarget(e);const n=this.copyText();return this.clearSelection(t?e:void 0,this.window),n&&this.isCopySuccessInIE11()}catch(n){return!1}}isCopySuccessInIE11(){const e=this.window.clipboardData;return!(e&&e.getData&&!e.getData("Text"))}copyFromContent(e,t=this.document.body){if(this.tempTextArea&&!t.contains(this.tempTextArea)&&this.destroy(this.tempTextArea.parentElement),!this.tempTextArea){this.tempTextArea=this.createTempTextArea(this.document,this.window);try{t.appendChild(this.tempTextArea)}catch(r){throw new Error("Container should be a Dom element")}}this.tempTextArea.value=e;const n=this.copyFromInputElement(this.tempTextArea,!1);return this.config.cleanUpAfterCopy&&this.destroy(this.tempTextArea.parentElement),n}destroy(e=this.document.body){this.tempTextArea&&(e.removeChild(this.tempTextArea),this.tempTextArea=void 0)}selectTarget(e){return e.select(),e.setSelectionRange(0,e.value.length),e.value.length}copyText(){return this.document.execCommand("copy")}clearSelection(e,t){e&&e.focus(),t.getSelection().removeAllRanges()}createTempTextArea(e,t){const n="rtl"===e.documentElement.getAttribute("dir");let r;return(r=e.createElement("textarea")).style.fontSize="12pt",r.style.border="0",r.style.padding="0",r.style.margin="0",r.style.position="absolute",r.style[n?"right":"left"]="-9999px",r.style.top=(t.pageYOffset||e.documentElement.scrollTop)+"px",r.setAttribute("readonly",""),r}pushCopyResponse(e){this.copySubject.next(e)}pushCopyReponse(e){this.pushCopyResponse(e)}}return e.ngInjectableDef=pe({factory:function(){return new e($e(ja),$e(zh,8))},token:e,providedIn:"root"}),e})();class qh{constructor(e){this.clipboardSrv=e,this.cbOnSuccess=new Os,this.cbOnError=new Os}ngOnInit(){}ngOnDestroy(){this.clipboardSrv.destroy(this.container)}onClick(e){this.clipboardSrv.isSupported?this.targetElm&&this.clipboardSrv.isTargetValid(this.targetElm)?this.handleResult(this.clipboardSrv.copyFromInputElement(this.targetElm),this.targetElm.value,e):this.cbContent&&this.handleResult(this.clipboardSrv.copyFromContent(this.cbContent,this.container),this.cbContent,e):this.handleResult(!1,void 0,e)}handleResult(e,t,n){let r={isSuccess:e,event:n};e?(r=Object.assign(r,{content:t,successMessage:this.cbSuccessMsg}),this.cbOnSuccess.emit(r)):this.cbOnError.emit(r),this.clipboardSrv.pushCopyResponse(r)}}class Zh{}const Wh=[["#69d2e7","#a7dbd8","#e0e4cc","#f38630","#fa6900"],["#fe4365","#fc9d9a","#f9cdad","#c8c8a9","#83af9b"],["#ecd078","#d95b43","#c02942","#542437","#53777a"],["#556270","#4ecdc4","#c7f464","#ff6b6b","#c44d58"],["#774f38","#e08e79","#f1d4af","#ece5ce","#c5e0dc"],["#e8ddcb","#cdb380","#036564","#033649","#031634"],["#490a3d","#bd1550","#e97f02","#f8ca00","#8a9b0f"],["#594f4f","#547980","#45ada8","#9de0ad","#e5fcc2"],["#00a0b0","#6a4a3c","#cc333f","#eb6841","#edc951"],["#e94e77","#d68189","#c6a49a","#c6e5d9","#f4ead5"],["#3fb8af","#7fc7af","#dad8a7","#ff9e9d","#ff3d7f"],["#d9ceb2","#948c75","#d5ded9","#7a6a53","#99b2b7"],["#ffffff","#cbe86b","#f2e9e1","#1c140d","#cbe86b"],["#efffcd","#dce9be","#555152","#2e2633","#99173c"],["#343838","#005f6b","#008c9e","#00b4cc","#00dffc"],["#413e4a","#73626e","#b38184","#f0b49e","#f7e4be"],["#ff4e50","#fc913a","#f9d423","#ede574","#e1f5c4"],["#99b898","#fecea8","#ff847c","#e84a5f","#2a363b"],["#655643","#80bca3","#f6f7bd","#e6ac27","#bf4d28"],["#00a8c6","#40c0cb","#f9f2e7","#aee239","#8fbe00"],["#351330","#424254","#64908a","#e8caa4","#cc2a41"],["#554236","#f77825","#d3ce3d","#f1efa5","#60b99a"],["#5d4157","#838689","#a8caba","#cad7b2","#ebe3aa"],["#8c2318","#5e8c6a","#88a65e","#bfb35a","#f2c45a"],["#fad089","#ff9c5b","#f5634a","#ed303c","#3b8183"],["#ff4242","#f4fad2","#d4ee5e","#e1edb9","#f0f2eb"],["#f8b195","#f67280","#c06c84","#6c5b7b","#355c7d"],["#d1e751","#ffffff","#000000","#4dbce9","#26ade4"],["#1b676b","#519548","#88c425","#bef202","#eafde6"],["#5e412f","#fcebb6","#78c0a8","#f07818","#f0a830"],["#bcbdac","#cfbe27","#f27435","#f02475","#3b2d38"],["#452632","#91204d","#e4844a","#e8bf56","#e2f7ce"],["#eee6ab","#c5bc8e","#696758","#45484b","#36393b"],["#f0d8a8","#3d1c00","#86b8b1","#f2d694","#fa2a00"],["#2a044a","#0b2e59","#0d6759","#7ab317","#a0c55f"],["#f04155","#ff823a","#f2f26f","#fff7bd","#95cfb7"],["#b9d7d9","#668284","#2a2829","#493736","#7b3b3b"],["#bbbb88","#ccc68d","#eedd99","#eec290","#eeaa88"],["#b3cc57","#ecf081","#ffbe40","#ef746f","#ab3e5b"],["#a3a948","#edb92e","#f85931","#ce1836","#009989"],["#300030","#480048","#601848","#c04848","#f07241"],["#67917a","#170409","#b8af03","#ccbf82","#e33258"],["#aab3ab","#c4cbb7","#ebefc9","#eee0b7","#e8caaf"],["#e8d5b7","#0e2430","#fc3a51","#f5b349","#e8d5b9"],["#ab526b","#bca297","#c5ceae","#f0e2a4","#f4ebc3"],["#607848","#789048","#c0d860","#f0f0d8","#604848"],["#b6d8c0","#c8d9bf","#dadabd","#ecdbbc","#fedcba"],["#a8e6ce","#dcedc2","#ffd3b5","#ffaaa6","#ff8c94"],["#3e4147","#fffedf","#dfba69","#5a2e2e","#2a2c31"],["#fc354c","#29221f","#13747d","#0abfbc","#fcf7c5"],["#cc0c39","#e6781e","#c8cf02","#f8fcc1","#1693a7"],["#1c2130","#028f76","#b3e099","#ffeaad","#d14334"],["#a7c5bd","#e5ddcb","#eb7b59","#cf4647","#524656"],["#dad6ca","#1bb0ce","#4f8699","#6a5e72","#563444"],["#5c323e","#a82743","#e15e32","#c0d23e","#e5f04c"],["#edebe6","#d6e1c7","#94c7b6","#403b33","#d3643b"],["#fdf1cc","#c6d6b8","#987f69","#e3ad40","#fcd036"],["#230f2b","#f21d41","#ebebbc","#bce3c5","#82b3ae"],["#b9d3b0","#81bda4","#b28774","#f88f79","#f6aa93"],["#3a111c","#574951","#83988e","#bcdea5","#e6f9bc"],["#5e3929","#cd8c52","#b7d1a3","#dee8be","#fcf7d3"],["#1c0113","#6b0103","#a30006","#c21a01","#f03c02"],["#000000","#9f111b","#b11623","#292c37","#cccccc"],["#382f32","#ffeaf2","#fcd9e5","#fbc5d8","#f1396d"],["#e3dfba","#c8d6bf","#93ccc6","#6cbdb5","#1a1f1e"],["#f6f6f6","#e8e8e8","#333333","#990100","#b90504"],["#1b325f","#9cc4e4","#e9f2f9","#3a89c9","#f26c4f"],["#a1dbb2","#fee5ad","#faca66","#f7a541","#f45d4c"],["#c1b398","#605951","#fbeec2","#61a6ab","#accec0"],["#5e9fa3","#dcd1b4","#fab87f","#f87e7b","#b05574"],["#951f2b","#f5f4d7","#e0dfb1","#a5a36c","#535233"],["#8dccad","#988864","#fea6a2","#f9d6ac","#ffe9af"],["#2d2d29","#215a6d","#3ca2a2","#92c7a3","#dfece6"],["#413d3d","#040004","#c8ff00","#fa023c","#4b000f"],["#eff3cd","#b2d5ba","#61ada0","#248f8d","#605063"],["#ffefd3","#fffee4","#d0ecea","#9fd6d2","#8b7a5e"],["#cfffdd","#b4dec1","#5c5863","#a85163","#ff1f4c"],["#9dc9ac","#fffec7","#f56218","#ff9d2e","#919167"],["#4e395d","#827085","#8ebe94","#ccfc8e","#dc5b3e"],["#a8a7a7","#cc527a","#e8175d","#474747","#363636"],["#f8edd1","#d88a8a","#474843","#9d9d93","#c5cfc6"],["#046d8b","#309292","#2fb8ac","#93a42a","#ecbe13"],["#f38a8a","#55443d","#a0cab5","#cde9ca","#f1edd0"],["#a70267","#f10c49","#fb6b41","#f6d86b","#339194"],["#ff003c","#ff8a00","#fabe28","#88c100","#00c176"],["#ffedbf","#f7803c","#f54828","#2e0d23","#f8e4c1"],["#4e4d4a","#353432","#94ba65","#2790b0","#2b4e72"],["#0ca5b0","#4e3f30","#fefeeb","#f8f4e4","#a5b3aa"],["#4d3b3b","#de6262","#ffb88c","#ffd0b3","#f5e0d3"],["#fffbb7","#a6f6af","#66b6ab","#5b7c8d","#4f2958"],["#edf6ee","#d1c089","#b3204d","#412e28","#151101"],["#9d7e79","#ccac95","#9a947c","#748b83","#5b756c"],["#fcfef5","#e9ffe1","#cdcfb7","#d6e6c3","#fafbe3"],["#9cddc8","#bfd8ad","#ddd9ab","#f7af63","#633d2e"],["#30261c","#403831","#36544f","#1f5f61","#0b8185"],["#aaff00","#ffaa00","#ff00aa","#aa00ff","#00aaff"],["#d1313d","#e5625c","#f9bf76","#8eb2c5","#615375"],["#ffe181","#eee9e5","#fad3b2","#ffba7f","#ff9c97"],["#73c8a9","#dee1b6","#e1b866","#bd5532","#373b44"],["#805841","#dcf7f3","#fffcdd","#ffd8d8","#f5a2a2"],["#379f7a","#78ae62","#bbb749","#e0fbac","#1f1c0d"],["#caff42","#ebf7f8","#d0e0eb","#88abc2","#49708a"],["#c2412d","#d1aa34","#a7a844","#a46583","#5a1e4a"],["#75616b","#bfcff7","#dce4f7","#f8f3bf","#d34017"],["#111625","#341931","#571b3c","#7a1e48","#9d2053"],["#82837e","#94b053","#bdeb07","#bffa37","#e0e0e0"],["#7e5686","#a5aad9","#e8f9a2","#f8a13f","#ba3c3d"],["#312736","#d4838f","#d6abb1","#d9d9d9","#c4ffeb"],["#395a4f","#432330","#853c43","#f25c5e","#ffa566"],["#fde6bd","#a1c5ab","#f4dd51","#d11e48","#632f53"],["#84b295","#eccf8d","#bb8138","#ac2005","#2c1507"],["#058789","#503d2e","#d54b1a","#e3a72f","#f0ecc9"],["#6da67a","#77b885","#86c28b","#859987","#4a4857"],["#bed6c7","#adc0b4","#8a7e66","#a79b83","#bbb2a1"],["#261c21","#6e1e62","#b0254f","#de4126","#eb9605"],["#efd9b4","#d6a692","#a39081","#4d6160","#292522"],["#e21b5a","#9e0c39","#333333","#fbffe3","#83a300"],["#f2e3c6","#ffc6a5","#e6324b","#2b2b2b","#353634"],["#c75233","#c78933","#d6ceaa","#79b5ac","#5e2f46"],["#793a57","#4d3339","#8c873e","#d1c5a5","#a38a5f"],["#512b52","#635274","#7bb0a8","#a7dbab","#e4f5b1"],["#11644d","#a0b046","#f2c94e","#f78145","#f24e4e"],["#59b390","#f0ddaa","#e47c5d","#e32d40","#152b3c"],["#fdffd9","#fff0b8","#ffd6a3","#faad8e","#142f30"],["#b5ac01","#ecba09","#e86e1c","#d41e45","#1b1521"],["#c7fcd7","#d9d5a7","#d9ab91","#e6867a","#ed4a6a"],["#11766d","#410936","#a40b54","#e46f0a","#f0b300"],["#595643","#4e6b66","#ed834e","#ebcc6e","#ebe1c5"],["#f1396d","#fd6081","#f3ffeb","#acc95f","#8f9924"],["#331327","#991766","#d90f5a","#f34739","#ff6e27"],["#efeecc","#fe8b05","#fe0557","#400403","#0aabba"],["#bf496a","#b39c82","#b8c99d","#f0d399","#595151"],["#b7cbbf","#8c886f","#f9a799","#f4bfad","#f5dabd"],["#ffb884","#f5df98","#fff8d4","#c0d1c2","#2e4347"],["#e5eaa4","#a8c4a2","#69a5a4","#616382","#66245b"],["#e0eff1","#7db4b5","#ffffff","#680148","#000000"],["#b1e6d1","#77b1a9","#3d7b80","#270a33","#451a3e"],["#e4ded0","#abccbd","#7dbeb8","#181619","#e32f21"],["#e9e0d1","#91a398","#33605a","#070001","#68462b"],["#fc284f","#ff824a","#fea887","#f6e7f7","#d1d0d7"],["#ffab07","#e9d558","#72ad75","#0e8d94","#434d53"],["#6da67a","#99a66d","#a9bd68","#b5cc6a","#c0de5d"],["#311d39","#67434f","#9b8e7e","#c3ccaf","#a51a41"],["#cfb590","#9e9a41","#758918","#564334","#49281f"],["#5cacc4","#8cd19d","#cee879","#fcb653","#ff5254"],["#44749d","#c6d4e1","#ffffff","#ebe7e0","#bdb8ad"],["#807462","#a69785","#b8faff","#e8fdff","#665c49"],["#e7edea","#ffc52c","#fb0c06","#030d4f","#ceecef"],["#ccf390","#e0e05a","#f7c41f","#fc930a","#ff003d"],["#2b222c","#5e4352","#965d62","#c7956d","#f2d974"],["#cc5d4c","#fffec6","#c7d1af","#96b49c","#5b5847"],["#e4e4c5","#b9d48b","#8d2036","#ce0a31","#d3e4c5"],["#e3e8cd","#bcd8bf","#d3b9a3","#ee9c92","#fe857e"],["#360745","#d61c59","#e7d84b","#efeac5","#1b8798"],["#ec4401","#cc9b25","#13cd4a","#7b6ed6","#5e525c"],["#eb9c4d","#f2d680","#f3ffcf","#bac9a9","#697060"],["#f2e8c4","#98d9b6","#3ec9a7","#2b879e","#616668"],["#f5dd9d","#bcc499","#92a68a","#7b8f8a","#506266"],["#fff3db","#e7e4d5","#d3c8b4","#c84648","#703e3b"],["#041122","#259073","#7fda89","#c8e98e","#e6f99d"],["#8d7966","#a8a39d","#d8c8b8","#e2ddd9","#f8f1e9"],["#c6cca5","#8ab8a8","#6b9997","#54787d","#615145"],["#1d1313","#24b694","#d22042","#a3b808","#30c4c9"],["#4b1139","#3b4058","#2a6e78","#7a907c","#c9b180"],["#2d1b33","#f36a71","#ee887a","#e4e391","#9abc8a"],["#f0ffc9","#a9da88","#62997a","#72243d","#3b0819"],["#429398","#6b5d4d","#b0a18f","#dfcdb4","#fbeed3"],["#9d9e94","#c99e93","#f59d92","#e5b8ad","#d5d2c8"],["#95a131","#c8cd3b","#f6f1de","#f5b9ae","#ee0b5b"],["#322938","#89a194","#cfc89a","#cc883a","#a14016"],["#540045","#c60052","#ff714b","#eaff87","#acffe9"],["#79254a","#795c64","#79927d","#aeb18e","#e3cf9e"],["#452e3c","#ff3d5a","#ffb969","#eaf27e","#3b8c88"],["#2b2726","#0a516d","#018790","#7dad93","#bacca4"],["#027b7f","#ffa588","#d62957","#bf1e62","#572e4f"],["#fa6a64","#7a4e48","#4a4031","#f6e2bb","#9ec6b8"],["#fb6900","#f63700","#004853","#007e80","#00b9bd"],["#f06d61","#da825f","#c4975c","#a8ab7b","#8cbf99"],["#23192d","#fd0a54","#f57576","#febf97","#f5ecb7"],["#f6d76b","#ff9036","#d6254d","#ff5475","#fdeba9"],["#a3c68c","#879676","#6e6662","#4f364a","#340735"],["#a32c28","#1c090b","#384030","#7b8055","#bca875"],["#80a8a8","#909d9e","#a88c8c","#ff0d51","#7a8c89"],["#6d9788","#1e2528","#7e1c13","#bf0a0d","#e6e1c2"],["#373737","#8db986","#acce91","#badb73","#efeae4"],["#e6b39a","#e6cba5","#ede3b4","#8b9e9b","#6d7578"],["#280904","#680e34","#9a151a","#c21b12","#fc4b2a"],["#4b3e4d","#1e8c93","#dbd8a2","#c4ac30","#d74f33"],["#161616","#c94d65","#e7c049","#92b35a","#1f6764"],["#234d20","#36802d","#77ab59","#c9df8a","#f0f7da"],["#a69e80","#e0ba9b","#e7a97e","#d28574","#3b1922"],["#641f5e","#676077","#65ac92","#c2c092","#edd48e"],["#e6eba9","#abbb9f","#6f8b94","#706482","#703d6f"],["#26251c","#eb0a44","#f2643d","#f2a73d","#a0e8b7"],["#fdcfbf","#feb89f","#e23d75","#5f0d3b","#742365"],["#ff7474","#f59b71","#c7c77f","#e0e0a8","#f1f1c1"],["#4f364c","#5e405f","#6b6b6b","#8f9e6f","#b1cf72"],["#230b00","#a29d7f","#d4cfa5","#f8ecd4","#aabe9b"],["#d4f7dc","#dbe7b4","#dbc092","#e0846d","#f51441"],["#62a07b","#4f8b89","#536c8d","#5c4f79","#613860"],["#6f5846","#a95a52","#e35b5d","#f18052","#ffa446"],["#85847e","#ab6a6e","#f7345b","#353130","#cbcfb4"],["#ff3366","#c74066","#8f4d65","#575a65","#1f6764"],["#d3d5b0","#b5cea4","#9dc19d","#8c7c62","#71443f"],["#ffff99","#d9cc8c","#b39980","#8c6673","#663366"],["#ed6464","#bf6370","#87586c","#574759","#1a1b1c"],["#d24858","#ea8676","#eab05e","#fdeecd","#493831"],["#f0f0d8","#b4debe","#77cca4","#666666","#b4df37"],["#f3e7d7","#f7d7cd","#f8c7c9","#e0c0c7","#c7b9c5"],["#ccb24c","#f7d683","#fffdc0","#fffffd","#457d97"],["#1a081f","#4d1d4d","#05676e","#489c79","#ebc288"],["#c46564","#f0e999","#b8c99d","#9b726f","#eeb15b"],["#7a5b3e","#fafafa","#fa4b00","#cdbdae","#1f1f1f"],["#eeda95","#b7c27e","#9a927b","#8a6a6b","#805566"],["#d31900","#ff6600","#fff2af","#7cb490","#000000"],["#e8c382","#b39d69","#a86b4c","#7d1a0c","#340a0b"],["#ebeaa9","#ebc588","#7d2948","#3b0032","#0e0b29"],["#566965","#948a71","#cc9476","#f2a176","#ff7373"],["#595b5a","#14c3a2","#0de5a8","#7cf49a","#b8fd99"],["#063940","#195e63","#3e838c","#8ebdb6","#ece1c3"],["#411f2d","#ac4147","#f88863","#ffc27f","#ffe29a"],["#9dbcbc","#f0f0af","#ff370f","#332717","#6bacbf"],["#e7e79d","#c0d890","#78a890","#606078","#d8a878"],["#94654c","#f89fa1","#fabdbd","#fad6d6","#fefcd0"],["#cddbc2","#f7e4c6","#fb9274","#f5565b","#875346"],["#f0ddbd","#ba3622","#851e25","#520c30","#1c997f"],["#312c20","#494d4b","#7c7052","#b3a176","#e2cb92"],["#029daf","#e5d599","#ffc219","#f07c19","#e32551"],["#3f2c26","#dd423e","#a2a384","#eac388","#c5ad4b"],["#0a0310","#49007e","#ff005b","#ff7d10","#ffb238"],["#ecbe13","#738c79","#6a6b5f","#2c2b26","#a43955"],["#fff5de","#b8d9c8","#917081","#750e49","#4d002b"],["#1f1f20","#2b4c7e","#567ebb","#606d80","#dce0e6"],["#e7dd96","#e16639","#ad860a","#b7023f","#55024a"],["#cdeccc","#edd269","#e88460","#f23460","#321d2e"],["#574c41","#e36b6b","#e3a56b","#e3c77b","#96875a"],["#dde0cf","#c6be9a","#ad8b32","#937460","#8c5b7b"],["#213435","#46685b","#648a64","#a6b985","#e1e3ac"],["#181419","#4a073c","#9e0b41","#cc3e18","#f0971c"],["#413040","#6c6368","#b9a173","#eaa353","#ffefa9"],["#4d3b36","#eb613b","#f98f6f","#c1d9cd","#f7eadc"],["#ffcdb8","#fdeecf","#c8c696","#97bea9","#37260c"],["#e8d3a9","#e39b7d","#6e6460","#89b399","#bcbfa3"],["#ffffff","#fffaeb","#f0f0d8","#cfcfcf","#967c52"],["#001449","#012677","#005bc5","#00b4fc","#17f9ff"],["#ed5672","#160e32","#9eae8a","#cdbb93","#fbc599"],["#130912","#3e1c33","#602749","#b14623","#f6921d"],["#ffff00","#ccd91a","#99b333","#668c4d","#336666"],["#4dab8c","#542638","#8f244d","#c9306b","#e86f9e"],["#2b1719","#02483e","#057c46","#9bb61b","#f8be00"],["#ffabab","#ffdaab","#ddffab","#abe4ff","#d9abff"],["#e6a06f","#9e9c71","#5e8271","#33454e","#242739"],["#67be9b","#95d0b8","#fcfcd7","#f1db42","#f04158"],["#1693a5","#45b5c4","#7ececa","#a0ded6","#c7ede8"],["#cc2649","#992c4b","#66324c","#33384e","#003e4f"],["#e7eed0","#cad1c3","#948e99","#51425f","#2e1437"],["#785d56","#be4c54","#c6b299","#e6d5c1","#fff4e3"],["#f7f3d5","#ffdabf","#fa9b9b","#e88087","#635063"],["#e25858","#e9d6af","#ffffdd","#c0efd2","#384252"],["#acdeb2","#e1eab5","#edad9e","#fe4b74","#390d2d"],["#42282c","#6ca19e","#84abaa","#ded1b6","#6d997a"],["#a7cd2c","#bada5f","#cee891","#e1f5c4","#50c8c6"],["#b2cba3","#e0df9f","#e7a83e","#9a736e","#ea525f"],["#fc580c","#fc6b0a","#f8872e","#ffa927","#fdca49"],["#fdffd9","#73185e","#36bba6","#0c0d02","#8b911a"],["#9f0a28","#d55c2b","#f6e7d3","#89a46f","#55203c"],["#8a8780","#e6e5c4","#d6d1af","#e47267","#d7d8c5"],["#418e8e","#5a4e3c","#c4d428","#d8e472","#e9ebbf"],["#a69a90","#4a403d","#fff1c1","#facf7d","#ea804c"],["#faf6d0","#c7d8ab","#909a92","#744f78","#30091e"],["#aadead","#bbdead","#ccdead","#dddead","#eedead"],["#f0371a","#000000","#f7e6a6","#3e6b48","#b5b479"],["#a7321c","#ffdc68","#cc982a","#928941","#352504"],["#fa2e59","#ff703f","#f7bc05","#ecf6bb","#76bcad"],["#f1e8b4","#b2bb91","#d7bf5e","#d16344","#83555e"],["#afc7b9","#ffe1c9","#fac7b4","#fca89d","#998b82"],["#f6c7b7","#f7a398","#fa7f77","#b42529","#000000"],["#c9d1d3","#f7f7f7","#9dd3df","#3b3737","#991818"],["#000000","#001f36","#1c5560","#79ae92","#fbffcd"],["#e0dc8b","#f6aa3d","#ed4c57","#574435","#6cc4b9"],["#42393b","#75c9a3","#bac99a","#ffc897","#f7efa2"],["#f4f4f4","#9ba657","#f0e5c9","#a68c69","#594433"],["#f2cc67","#f38264","#f40034","#5f051f","#75baa8"],["#fbfee5","#c91842","#98173d","#25232d","#a8e7ca"],["#dbd9b7","#c1c9c8","#a5b5ab","#949a8e","#615566"],["#f3e6bc","#f1c972","#f5886b","#72ae95","#5a3226"],["#674f23","#e48b69","#e1b365","#e5db84","#ffeeac"],["#ff0092","#ffca1b","#b6ff00","#228dff","#ba01ff"],["#d9d4a8","#d15c57","#cc3747","#5c374b","#4a5f67"],["#998496","#f7e0ae","#fa748f","#2d2c26","#c3b457"],["#fa8cb1","#fdc5c9","#fffee1","#cfb699","#9e6d4e"],["#84c1b1","#ad849a","#d64783","#fd135a","#40202a"],["#00ccbe","#09a6a3","#9dbfaf","#edebc9","#fcf9d8"],["#020304","#541f14","#938172","#cc9e61","#626266"],["#71dbd2","#eeffdb","#ade4b5","#d0eaa3","#fff18c"],["#b88000","#d56f00","#f15500","#ff2654","#ff0c71"],["#bf2a23","#a6ad3c","#f0ce4e","#cf872e","#8a211d"],["#ffc870","#f7f7c6","#c8e3c5","#9cad9a","#755858"],["#002c2b","#ff3d00","#ffbc11","#0a837f","#076461"],["#244242","#51bd9c","#a3e3b1","#ffe8b3","#ff2121"],["#4eb3de","#8de0a6","#fcf09f","#f27c7c","#de528c"],["#001848","#301860","#483078","#604878","#906090"],["#1f0310","#442433","#a3d95b","#aae3ab","#f6f0bc"],["#b31237","#f03813","#ff8826","#ffb914","#2c9fa3"],["#fffdc0","#b9d7a1","#fead26","#ca221f","#590f0c"],["#4c3d31","#f18273","#f2bd76","#f4f5de","#c4ceb0"],["#84bfc3","#fff5d6","#ffb870","#d96153","#000511"],["#e2df9a","#ebe54d","#757449","#4b490b","#ff0051"],["#b2b39f","#c8c9b5","#dedfc5","#f5f7bd","#3d423c"],["#2f2bad","#ad2bad","#e42692","#f71568","#f7db15"],["#651366","#a71a5b","#e7204e","#f76e2a","#f0c505"],["#241811","#d4a979","#e3c88f","#c2c995","#a8bd95"],["#2197a3","#f71e6c","#f07868","#ebb970","#e7d3b0"],["#85a29e","#ffebbf","#f0d442","#f59330","#b22148"],["#15212a","#99c9bd","#d7b89c","#feab8d","#f4c9a3"],["#fe6c2b","#d43b2d","#9f102c","#340016","#020001"],["#f88f89","#eec276","#fbf6d0","#79c3aa","#1f0e1a"],["#ffffff","#a1c1be","#59554e","#f3f4e5","#e2e3d9"],["#ccded2","#fffbd4","#f5ddbb","#e3b8b2","#a18093"],["#79a687","#718063","#67594d","#4f2b38","#1d1016"],["#45aab8","#e1d772","#faf4b1","#394240","#f06b50"],["#e6e1cd","#c6d8c0","#d6b3b1","#f97992","#231b42"],["#69d0b3","#9bdab3","#b4dfb3","#cde4b3","#d9cf85"],["#332c26","#db1414","#e8591c","#7fb8b0","#c5e65c"],["#75372d","#928854","#96a782","#d4ce9e","#d8523d"],["#d1b68d","#87555c","#492d49","#51445f","#5a5c75"],["#8e407a","#fe6962","#f9ba84","#eee097","#ffffe5"],["#ffe4aa","#fca699","#e2869b","#c9729f","#583b7e"],["#9e1e4c","#ff1168","#25020f","#8f8f8f","#ececec"],["#272d4d","#b83564","#ff6a5a","#ffb350","#83b8aa"],["#b5f4bc","#fff19e","#ffdc8a","#ffba6b","#ff6543"],["#539fa2","#72b1a4","#abccb1","#c4dbb4","#d4e2b6"],["#80d3bb","#bafdc2","#e5f3ba","#5c493d","#3a352f"],["#5adb94","#0ba18c","#368986","#8a034d","#2e0331"],["#101942","#80043a","#f60c49","#f09580","#fdf2b4"],["#c9b849","#c96823","#be3100","#6f0b00","#241714"],["#ff4746","#e8da5e","#92b55f","#487d76","#4b4452"],["#a8bcbd","#fcdcb3","#f88d87","#d65981","#823772"],["#002e34","#004443","#00755c","#00c16c","#90ff17"],["#1f0a1d","#334f53","#45936c","#9acc77","#e5ead4"],["#444444","#fcf7d1","#a9a17a","#b52c00","#8c0005"],["#0fc3e8","#0194be","#e2d397","#f07e13","#481800"],["#d8d8d8","#e2d9d8","#ecdad8","#f5dbd8","#ffdcd8"],["#4b538b","#15191d","#f7a21b","#e45635","#d60257"],["#c4ddd6","#d4ddd6","#e4ddd6","#e4e3cd","#ececdd"],["#4d4a4b","#f60069","#ff41a1","#ff90ab","#ffccd1"],["#899aa1","#bda2a2","#fbbe9a","#fad889","#faf5c8"],["#000000","#ff8830","#d1b8a0","#aeced2","#cbdcdf"],["#36173d","#ff4845","#ff745f","#ffc55f","#ffec5e"],["#f8f8ec","#aedd2b","#066699","#0a5483","#02416d"],["#184848","#006060","#007878","#a8c030","#f0f0d8"],["#706767","#e87474","#e6a37a","#d9c777","#c0dbab"],["#dacdbd","#f2b8a0","#ef97a3","#df5c7e","#d4486f"],["#170132","#361542","#573e54","#85ae72","#bce1ab"],["#e9dfcc","#f3a36b","#cd5b51","#554865","#352630"],["#db5643","#1c0f0e","#70aa87","#9fb38f","#c5bd99"],["#c8d197","#d89845","#c54b2c","#473430","#11baac"],["#aab69b","#9e906e","#9684a3","#8870ff","#000000"],["#000706","#00272d","#134647","#0c7e7e","#bfac8b"],["#f1ecdf","#d4c9ad","#c7ba99","#000000","#f58723"],["#565175","#538a95","#67b79e","#ffb727","#e4491c"],["#fcfdeb","#e3cebd","#c1a2a0","#725b75","#322030"],["#d7e8d5","#e6f0af","#e8ed76","#ffcd57","#4a3a47"],["#288d85","#b9d9b4","#d18e8f","#b05574","#f0a991"],["#260729","#2a2344","#495168","#ccbd9e","#d8ccb2"],["#aef055","#e0ffc3","#25e4bc","#3f8978","#514442"],["#affbff","#d2fdfe","#fefac2","#febf97","#fe6960"],["#f7f799","#e0d124","#f0823f","#bd374c","#443a37"],["#dbda97","#efae54","#ef6771","#4b1d37","#977e77"],["#c8ce13","#f8f5c1","#349e97","#2c0d1a","#de1a72"],["#b9113f","#a8636e","#97b59d","#cfcca8","#ffe3b3"],["#ed7b83","#ec8a90","#eba2a4","#e6d1ca","#eee9c7"],["#002930","#ffffff","#f8f0af","#ac4a00","#000000"],["#913f33","#ff705f","#ffaa67","#ffdfab","#9fb9c2"],["#edeccf","#f1c694","#dc6378","#207178","#101652"],["#fee9a6","#fec0ab","#fa5894","#660860","#9380b7"],["#d3c8b4","#d4f1db","#eecab1","#fe6c63","#240910"],["#edd58f","#c2bf92","#66ac92","#686077","#641f5e"],["#e04891","#e1b7ed","#f5e1e2","#d1e389","#b9de51"],["#43777a","#442432","#c02948","#d95b45","#ecd079"],["#4180ab","#ffffff","#8ab3cf","#bdd1de","#e4ebf0"],["#f9d423","#ede574","#e1f5c4","#add6bc","#79b7b4"],["#f4f8e6","#f2e9e6","#4a3d3d","#ff6161","#d8dec3"],["#f9f6ec","#88a1a8","#502940","#790614","#0d0c0c"],["#ffab03","#fc7f03","#fc3903","#d1024e","#a6026c"],["#50232e","#f77c3e","#faba66","#fce185","#a2cca5"],["#f9ebf2","#f3e2e8","#fcd7da","#f58f9a","#3c363b"],["#ffffff","#a1ac88","#757575","#464d70","#000000"],["#736558","#fd65a0","#fef5c6","#aaf2e4","#31d5de"],["#f7f6e4","#e2d5c1","#5f3711","#f6f6e2","#d4c098"],["#95de90","#cef781","#f7c081","#ff7857","#6b6b6b"],["#f2502c","#cad17a","#fcf59b","#91c494","#c42311"],["#b2d9f7","#487aa1","#3d3c3b","#7c8071","#dde3ca"],["#f7dece","#eed7c5","#ccccbb","#9ec4bb","#2d2e2c"],["#e3ba6a","#bfa374","#6d756a","#4d686f","#364461"],["#686466","#839cb5","#96d7eb","#b1e1e9","#f2e4f9"],["#f7f1e1","#ffdbd7","#ffb2c1","#ce7095","#855e6e"],["#2e1e45","#612a52","#ba3259","#ff695c","#ccbca1"],["#8dc9b5","#f6f4c2","#ffc391","#ff695c","#8c315d"],["#0db2ac","#f5dd7e","#fc8d4d","#fc694d","#faba32"],["#fffab3","#a2e5d2","#63b397","#9dab34","#2c2321"],["#ebf2f2","#d0f2e7","#bcebdf","#ade0db","#d9dbdb"],["#e4e6c3","#88baa3","#ba1e4a","#63203d","#361f2d"],["#204b5e","#426b65","#baab6a","#fbea80","#fdfac7"],["#dadad8","#fe6196","#ff2c69","#1ea49d","#cbe65b"],["#910142","#6c043c","#210123","#fef7d5","#0ec0c1"],["#ab505e","#d9a071","#cfc88f","#a5b090","#607873"],["#43204a","#7f1e47","#422343","#c22047","#ea284b"],["#482c21","#a73e2b","#d07e0e","#e9deb0","#2f615e"],["#042608","#2a5c0b","#808f12","#faedd9","#ea2a15"],["#ff275e","#e6bc56","#7f440a","#6a9277","#f8d9bd"],["#3f324d","#93c2b1","#ffeacc","#ff995e","#de1d6a"],["#ffc2ce","#80b3ff","#fd6e8a","#a2122f","#693726"],["#f3d915","#e9e4bb","#bfd4b7","#a89907","#1a1c27"],["#9c8680","#eb5e7f","#f98f6f","#dbbf6b","#c8eb6a"],["#917f6e","#efbc98","#efd2be","#efe1d1","#d9ddcd"],["#c72546","#66424c","#768a4f","#b3c262","#d5ca98"],["#e6e8e3","#d7dacf","#bec3bc","#8f9a9c","#65727a"],["#2f3559","#9a5071","#e394a7","#f1bbbb","#e6d8cb"],["#63594d","#b18272","#c2b291","#d6e4c3","#eae3d1"],["#e8de92","#810e0b","#febea3","#fce5b1","#f6f5da"],["#f8f69f","#bab986","#7c7b6c","#3e3e53","#000039"],["#c3dfd7","#c8dfd2","#cddfcd","#d2dfc8","#d7dfc3"],["#172c3c","#274862","#995052","#d96831","#e6b33d"],["#678d6c","#fc7d23","#fa3c08","#bd0a41","#772a53"],["#dae2cb","#96c3a6","#6cb6a5","#221d34","#90425c"],["#8c0e48","#80ab99","#e8dbad","#b39e58","#99822d"],["#dbf73b","#c0cc39","#eb0258","#a6033f","#2b2628"],["#f1ebeb","#eee8e8","#cacaca","#24c0eb","#5cceee"],["#454545","#743455","#a22365","#d11174","#ff0084"],["#796c86","#74aa9b","#91c68d","#ece488","#f6f5cd"],["#7375a5","#21a3a3","#13c8b5","#6cf3d5","#2b364a"],["#efac41","#de8531","#b32900","#6c1305","#330a04"],["#fffbf0","#968f4b","#7a6248","#ab9597","#030506"],["#31827c","#95c68f","#f7e9aa","#fc8a80","#fd4e6d"],["#615050","#776a6a","#ad9a6f","#f5f1e8","#fcfcfc"],["#f26b7a","#f0f2dc","#d9eb52","#8ac7de","#87796f"],["#b877a8","#b8008a","#ff3366","#ffcc33","#ccff33"],["#b9340b","#cea45c","#c5be8b","#498379","#3f261c"],["#f4e196","#a6bf91","#5f9982","#78576b","#400428"],["#72bca5","#f4ddb4","#f1ae2b","#bc0b27","#4a2512"],["#ddcaa2","#aebea3","#b97479","#d83957","#4e5c69"],["#141827","#62455b","#736681","#c1d9d0","#fffae3"],["#2b9eb3","#85cc9c","#bcd9a0","#edf79e","#fafad7"],["#cfb698","#ff5d57","#dd0b64","#6f0550","#401c2a"],["#a8c078","#a89048","#a84818","#61290e","#330c0c"],["#171133","#581e44","#c5485a","#d4be99","#e0ffcc"],["#ebe5b2","#f6f3c2","#f7c69f","#f89b7e","#b5a28b"],["#ff0f35","#f86254","#fea189","#f3d5a5","#bab997"],["#20130a","#142026","#123142","#3b657a","#e9f0c9"],["#bdbf90","#35352b","#e7e9c4","#ec6c2b","#feae4b"],["#eeccbb","#f1731f","#e03e36","#bd0d59","#730662"],["#ffcfad","#ffe4b8","#e6d1b1","#b8aa95","#5e5a54"],["#ff9934","#ffc018","#f8fef4","#cde54e","#b3c631"],["#d1dbc8","#b8c2a0","#c97c7a","#da3754","#1f1106"],["#bda0a2","#ffe6db","#d1eaee","#cbc8b5","#efb0a9"],["#4d433d","#525c5a","#56877d","#8ccc81","#bade57"],["#262525","#525252","#e6ddbc","#822626","#690202"],["#9d9f89","#84af97","#8bc59b","#b2de93","#ccee8d"],["#52423c","#ad5c70","#d3ad98","#edd4be","#b9c3c4"],["#353437","#53576b","#7a7b7c","#a39b7e","#e2c99f"],["#a22c27","#4f2621","#9f8241","#ebd592","#929867"],["#839074","#939e78","#a8a878","#061013","#cdcd76"],["#eb9d8d","#93865a","#a8bb9a","#c5cba6","#efd8a9"],["#6a3d5a","#66666e","#6d8d76","#b0c65a","#ebf74f"],["#ff9966","#d99973","#b39980","#8c998c","#669999"],["#d1dab9","#92bea5","#6f646c","#671045","#31233e"],["#f9ded3","#fdd1b6","#fab4b6","#c7b6be","#89abb4"],["#4b4b55","#f4324a","#ff516c","#fb9c5a","#fcc755"],["#820081","#fe59c2","#fe40b9","#fe1cac","#390039"],["#000000","#ed0b65","#b2a700","#fcae11","#770493"],["#941f1f","#ce6b5d","#ffefb9","#7b9971","#34502b"],["#482344","#2b5166","#429867","#fab243","#e02130"],["#031c30","#5a3546","#b5485f","#fc6747","#fa8d3b"],["#a9b79e","#e8ddbd","#dba887","#c25848","#9d1d36"],["#666666","#abdb25","#999999","#ffffff","#cccccc"],["#27081d","#47232c","#66997b","#a4ca8b","#d2e7aa"],["#8fc9b9","#d8d9c0","#d18e8f","#ab5c72","#91334f"],["#8ba6ac","#d7d7b8","#e5e6c9","#f8f8ec","#bdcdd0"],["#ffe7bf","#ffc978","#c9c987","#d1a664","#c27b57"],["#0c0636","#095169","#059b9a","#53ba83","#9fd86b"],["#f3dcb2","#facb97","#f59982","#ed616f","#f2116c"],["#ff3366","#e64066","#cc4d66","#b35966","#996666"],["#fdf4b0","#a4dcb9","#5bcebf","#32b9be","#2e97b7"],["#302727","#ba2d2d","#f2511b","#f2861b","#c7c730"],["#fdbf5c","#f69a0b","#d43a00","#9b0800","#1d2440"],["#dfd0af","#e8acac","#a45785","#85586c","#a1c0a1"],["#f3214e","#cf023b","#000000","#f4a854","#fff8bc"],["#ec4b59","#9a2848","#130716","#fc8c77","#f8dfbd"],["#1f0b0c","#e7fccf","#d6c396","#b3544f","#300511"],["#6e9167","#ffdd8c","#ff8030","#cc4e00","#700808"],["#332e1d","#5ac7aa","#9adcb9","#fafcd3","#efeba9"],["#adeada","#bdeadb","#cdeadc","#ddeadd","#edeade"],["#ffad08","#edd75a","#73b06f","#0c8f8f","#405059"],["#295264","#fad9a6","#bd2f28","#89373d","#142433"],["#331436","#7a1745","#cb4f57","#eb9961","#fcf4b6"],["#fef0a5","#f8d28b","#e3b18b","#a78d9e","#74819d"],["#f7ead9","#e1d2a9","#88b499","#619885","#67594e"],["#210518","#3d1c33","#5e4b55","#7c917f","#93bd9a"],["#a8ab9b","#172a38","#ec4b5d","#f48773","#e0c590"]];class Gh{constructor(){this.rgb=[],this.color100=Wh,this.rowitem=["ffffff","ffffff","ffffff","ffffff"],this.index=0,this.hsl=[],this.newitems="",this.select="#ffffff",this.added=[]}addItem(e){this.added.push(e)}ngOnInit(){this.newitems=this.color100[0][0];const e=window.localStorage.getItem("index");this.rowitem=null!=e?this.color100[e]:this.color100[0];for(let t=0;t<this.rowitem.length;t++){const e=this.rowitem[t];this.rgb.push(this.conv(e)),this.hsl.push(this.rgbToHsl(this.conv(e).r,this.conv(e).g,this.conv(e).b))}}add(){this.rgb=[],this.index!==this.color100.length?(this.index=this.index+1,this.rowitem=this.color100[this.index]):(this.index=0,this.rowitem=this.color100[this.index]);for(let e=0;e<this.rowitem.length;e++){const t=this.rowitem[e];this.rgb.push(this.conv(t)),this.hsl.push(this.rgbToHsl(this.conv(t).r,this.conv(t).g,this.conv(t).b))}console.log(this.rgb)}minus(){this.rgb=[],console.log(this.index),0!==this.index?(this.index=this.index-1,this.rowitem=this.color100[this.index]):(this.index=0,this.rowitem=this.color100[this.index]);for(let e=0;e<this.rowitem.length;e++){const t=this.rowitem[e];this.rgb.push(this.conv(t)),this.hsl.push(this.rgbToHsl(this.conv(t).r,this.conv(t).g,this.conv(t).b))}console.log(this.rgb)}setrowitem(e){this.rowitem=e;for(let t=0;t<this.rowitem.length;t++){const e=this.rowitem[t];this.rgb.push(this.conv(e)),this.hsl.push(this.rgbToHsl(this.conv(e).r,this.conv(e).g,this.conv(e).b))}}conv(e){const t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return t?{r:parseInt(t[1],16),g:parseInt(t[2],16),b:parseInt(t[3],16)}:null}setindex(e){window.localStorage.setItem("index",e)}newitem(e,t,n){this.newitems="#45ada8"}rgbToHsl(e,t,n){e/=255,t/=255,n/=255;var r,s,i=Math.max(e,t,n),o=Math.min(e,t,n),a=(i+o)/2;if(i==o)r=s=0;else{var l=i-o;switch(s=a>.5?l/(2-i-o):l/(i+o),i){case e:r=(t-n)/l+(t<n?6:0);break;case t:r=(n-e)/l+2;break;case n:r=(e-t)/l+4}r/=6}return[r,s,a]}}var Qh=nr({encapsulation:0,styles:[[".card[_ngcontent-%COMP%]{margin:15px;overflow:hidden;border-radius:10px;box-shadow:0 0 4px 4px #d3d3d3;border:0;font-size:10px}.col-md-2[_ngcontent-%COMP%]{padding:20px;text-align:center;font-size:16px}.grid[_ngcontent-%COMP%]{box-shadow:0 0 5px 5px #d3d3d3;border-radius:10px}.open[_ngcontent-%COMP%]{text-align:right;cursor:pointer;float:right;font-size:20px;margin:5px 10px 5px 5px;color:#6495ed}.cards2[_ngcontent-%COMP%]   .col-md-3[_ngcontent-%COMP%]{padding:20px}.lt[_ngcontent-%COMP%]{float:left}.rt[_ngcontent-%COMP%]{float:right}.uk-modal[_ngcontent-%COMP%]{padding:0}.boton[_ngcontent-%COMP%]{font-size:12px}.badge[_ngcontent-%COMP%]{margin:3px}.table[_ngcontent-%COMP%]   td[_ngcontent-%COMP%], .table[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]{padding:.5rem}.copys[_ngcontent-%COMP%]{float:right;margin:2px 12px;font-size:16px}.board[_ngcontent-%COMP%]{height:50px;padding:15px;margin-top:0;text-align:right;font-size:12px;color:gray}.uk-grid[_ngcontent-%COMP%]{margin-left:0}.appimg[_ngcontent-%COMP%]{width:50px;position:absolute;left:0;top:0;margin:30px 18px 18px;border:1px solid #000;border-radius:100%}.apptext[_ngcontent-%COMP%]{float:right}"]],data:{}});function Kh(e){return co(0,[(e()(),Ki(0,0,null,null,27,"div",[],null,null,null,null,null)),(e()(),Ki(1,0,null,null,26,"div",[["class","uk-card uk-card-body uk-card-default"]],null,null,null,null,null)),(e()(),Ki(2,0,null,null,0,"i",[["class","fas fa-plus-circle"],["style","float: left;"]],[[4,"color",null]],[[null,"click"]],(function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.addItem(e.context.$implicit)&&r),r}),null,null)),(e()(),Ki(3,0,null,null,0,"i",[["class","fas fa-box-open"],["href","#modal-center"],["style","float: right;"],["uk-toggle",""]],null,[[null,"click"]],(function(e,t,n){var r=!0,s=e.component;return"click"===t&&(r=!1!==s.setrowitem(e.context.$implicit)&&r),"click"===t&&(r=!1!==(s.index=e.context.index)&&r),r}),null,null)),(e()(),Ki(4,0,null,null,0,"br",[],null,null,null,null,null)),(e()(),Ki(5,0,null,null,0,"br",[],null,null,null,null,null)),(e()(),Ki(6,0,null,null,15,"div",[["class","uk-child-width-1-5@m grid uk-grid-match"],["uk-grid",""]],null,null,null,null,null)),(e()(),Ki(7,0,null,null,2,"div",[["class","board"],["ngxClipboard",""]],[[4,"backgroundColor",null]],[[null,"click"]],(function(e,t,n){var r=!0,s=e.component;return"click"===t&&(r=!1!==Kr(e,8).onClick(n.target)&&r),"click"===t&&(r=!1!==(s.select=e.context.$implicit[0])&&r),r}),null,null)),cs(8,212992,null,0,qh,[Bh],{targetElm:[0,"targetElm"],cbContent:[1,"cbContent"]},null),(e()(),oo(-1,null,[" \xa0 "])),(e()(),Ki(10,0,null,null,2,"div",[["class","board"],["ngxClipboard",""]],[[4,"backgroundColor",null]],[[null,"click"]],(function(e,t,n){var r=!0,s=e.component;return"click"===t&&(r=!1!==Kr(e,11).onClick(n.target)&&r),"click"===t&&(r=!1!==(s.select=e.context.$implicit[1])&&r),r}),null,null)),cs(11,212992,null,0,qh,[Bh],{targetElm:[0,"targetElm"],cbContent:[1,"cbContent"]},null),(e()(),oo(-1,null,[" \xa0 "])),(e()(),Ki(13,0,null,null,2,"div",[["class","board"],["ngxClipboard",""]],[[4,"backgroundColor",null]],[[null,"click"]],(function(e,t,n){var r=!0,s=e.component;return"click"===t&&(r=!1!==Kr(e,14).onClick(n.target)&&r),"click"===t&&(r=!1!==(s.select=e.context.$implicit[2])&&r),r}),null,null)),cs(14,212992,null,0,qh,[Bh],{targetElm:[0,"targetElm"],cbContent:[1,"cbContent"]},null),(e()(),oo(-1,null,[" \xa0 "])),(e()(),Ki(16,0,null,null,2,"div",[["class","board"],["ngxClipboard",""]],[[4,"backgroundColor",null]],[[null,"click"]],(function(e,t,n){var r=!0,s=e.component;return"click"===t&&(r=!1!==Kr(e,17).onClick(n.target)&&r),"click"===t&&(r=!1!==(s.select=e.context.$implicit[3])&&r),r}),null,null)),cs(17,212992,null,0,qh,[Bh],{targetElm:[0,"targetElm"],cbContent:[1,"cbContent"]},null),(e()(),oo(-1,null,[" \xa0 "])),(e()(),Ki(19,0,null,null,2,"div",[["class","board"],["ngxClipboard",""]],[[4,"backgroundColor",null]],[[null,"click"]],(function(e,t,n){var r=!0,s=e.component;return"click"===t&&(r=!1!==Kr(e,20).onClick(n.target)&&r),"click"===t&&(r=!1!==(s.select=e.context.$implicit[4])&&r),r}),null,null)),cs(20,212992,null,0,qh,[Bh],{targetElm:[0,"targetElm"],cbContent:[1,"cbContent"]},null),(e()(),oo(-1,null,[" \xa0 "])),(e()(),Ki(22,0,null,null,0,"br",[],null,null,null,null,null)),(e()(),Ki(23,0,null,null,1,"span",[],[[8,"id",0]],null,null,null,null)),(e()(),oo(24,null,[" #uiux"," "])),(e()(),Ki(25,0,null,null,0,"br",[],null,null,null,null,null)),(e()(),Ki(26,0,null,null,1,"span",[["class","badge badge-primary"]],[[4,"backgroundColor",null]],null,null,null,null)),(e()(),oo(27,null,[""," "]))],(function(e,t){e(t,8,0,"",t.context.$implicit[0]),e(t,11,0,"",t.context.$implicit[1]),e(t,14,0,"",t.context.$implicit[2]),e(t,17,0,"",t.context.$implicit[3]),e(t,20,0,"",t.context.$implicit[4])}),(function(e,t){var n=t.component;e(t,2,0,n.newitems),e(t,7,0,t.context.$implicit[0]),e(t,10,0,t.context.$implicit[1]),e(t,13,0,t.context.$implicit[2]),e(t,16,0,t.context.$implicit[3]),e(t,19,0,t.context.$implicit[4]),e(t,23,0,"uiux"+t.context.index),e(t,24,0,t.context.index),e(t,26,0,n.select),e(t,27,0,n.select)}))}function Yh(e){return co(0,[(e()(),Ki(0,0,null,null,9,"tr",[],null,null,null,null,null)),(e()(),Ki(1,0,null,null,1,"td",[],null,null,null,null,null)),(e()(),oo(2,null,["",""])),(e()(),Ki(3,0,null,null,2,"td",[],null,null,null,null,null)),(e()(),Ki(4,0,null,null,1,"span",[["class","badge badge-primary"]],null,null,null,null,null)),(e()(),oo(5,null,["",""])),(e()(),Ki(6,0,null,null,3,"td",[],null,null,null,null,null)),(e()(),Ki(7,0,null,null,2,"span",[],null,null,null,null,null)),(e()(),oo(8,null,["",""])),(t=0,n=Ma,r=[],us(-1,t|=16,null,0,n,n,r))],null,(function(e,t){var n=t.component;e(t,2,0,t.context.index),e(t,5,0,t.context.$implicit),e(t,8,0,function(e,t,n,r){if(Kt.isWrapped(r)){r=Kt.unwrap(r);const t=e.def.nodes[8].bindingIndex+0,n=Kt.unwrap(e.oldValues[t]);e.oldValues[t]=new Kt(n)}return r}(t,0,0,Kr(t,9).transform(n.rgb[t.context.index])))}));var t,n,r}function Jh(e){return co(0,[(e()(),Ki(0,0,null,null,4,"div",[["class","container"]],null,null,null,null,null)),(e()(),Ki(1,0,null,null,3,"nav",[["class","navbar fixed-top navbar-light bg-light"]],null,null,null,null,null)),(e()(),Ki(2,0,null,null,2,"h5",[["class","navbar-brand"]],null,null,null,null,null)),(e()(),Ki(3,0,null,null,0,"img",[["alt",""],["src","./assets/logo.jpg"],["style","border-radius: 100%;"],["width","40px"]],null,null,null,null,null)),(e()(),oo(-1,null,[" UIUXCOLOR \xa0\xa0 "])),(e()(),Ki(5,0,null,null,59,"div",[["class","container"]],null,null,null,null,null)),(e()(),Ki(6,0,null,null,0,"br",[],null,null,null,null,null)),(e()(),Ki(7,0,null,null,0,"br",[],null,null,null,null,null)),(e()(),Ki(8,0,null,null,0,"br",[],null,null,null,null,null)),(e()(),Ki(9,0,null,null,2,"div",[["class","uk-child-width-1-3@m uk-grid-small uk-grid-match"],["uk-grid",""]],null,null,null,null,null)),(e()(),Qi(16777216,null,null,1,null,Kh)),cs(11,278528,null,0,Pa,[Ln,Un,Nn],{ngForOf:[0,"ngForOf"]},null),(e()(),Ki(12,0,null,null,52,"div",[["class","uk-flex-top"],["id","modal-center"],["uk-modal",""]],null,null,null,null,null)),(e()(),Ki(13,0,null,null,51,"div",[["class","uk-modal-dialog uk-modal-body uk-margin-auto-vertical"],["id","div"]],null,null,null,null,null)),(e()(),Ki(14,0,null,null,0,"button",[["class","uk-modal-close-default"],["type","button"],["uk-close",""]],null,null,null,null,null)),(e()(),Ki(15,0,null,null,0,"br",[],null,null,null,null,null)),(e()(),Ki(16,0,null,null,0,"br",[],null,null,null,null,null)),(e()(),Ki(17,0,null,null,4,"div",[["class",""]],null,null,null,null,null)),(e()(),Ki(18,0,null,null,0,"img",[["alt",""],["src","./assets/logo.jpg"],["style","border-radius: 100%;margin: 0px;"],["width","50px;"]],null,null,null,null,null)),(e()(),Ki(19,0,null,null,0,"br",[],null,null,null,null,null)),(e()(),Ki(20,0,null,null,1,"span",[],[[8,"id",0]],null,null,null,null)),(e()(),oo(21,null,[" #uiux"," "])),(e()(),Ki(22,0,null,null,0,"hr",[],null,null,null,null,null)),(e()(),Ki(23,0,null,null,15,"div",[["class",""]],null,null,null,null,null)),(e()(),Ki(24,0,null,null,10,"div",[["class","uk-child-width-1-5@m grid uk-grid-match"],["uk-grid",""]],null,null,null,null,null)),(e()(),Ki(25,0,null,null,1,"div",[["class","board"]],[[4,"backgroundColor",null]],null,null,null,null)),(e()(),oo(26,null,[""," "])),(e()(),Ki(27,0,null,null,1,"div",[["class","board"]],[[4,"backgroundColor",null]],null,null,null,null)),(e()(),oo(28,null,[""," "])),(e()(),Ki(29,0,null,null,1,"div",[["class","board"]],[[4,"backgroundColor",null]],null,null,null,null)),(e()(),oo(30,null,[" "," "])),(e()(),Ki(31,0,null,null,1,"div",[["class","board"]],[[4,"backgroundColor",null]],null,null,null,null)),(e()(),oo(32,null,[""," "])),(e()(),Ki(33,0,null,null,1,"div",[["class","board"]],[[4,"backgroundColor",null]],null,null,null,null)),(e()(),oo(34,null,[" "," "])),(e()(),Ki(35,0,null,null,0,"br",[],null,null,null,null,null)),(e()(),Ki(36,0,null,null,2,"div",[["class","text-center"],["style","color: gray;padding: 10px;"]],null,null,null,null,null)),(e()(),Ki(37,0,null,null,0,"i",[["class","fab fa-instagram"],["style","color: black;"]],null,null,null,null,null)),(e()(),oo(-1,null,[" uiuxcolor "])),(e()(),Ki(39,0,null,null,0,"br",[],null,null,null,null,null)),(e()(),Ki(40,0,null,null,24,"div",[["class","boton"]],null,null,null,null,null)),(e()(),Ki(41,0,null,null,0,"i",[["class","fas lt fa-angle-left"]],null,[[null,"click"]],(function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.minus()&&r),r}),null,null)),(e()(),Ki(42,0,null,null,0,"i",[["class","fas rt fa-angle-right"]],null,[[null,"click"]],(function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.add()&&r),r}),null,null)),(e()(),Ki(43,0,null,null,0,"br",[],null,null,null,null,null)),(e()(),Ki(44,0,null,null,0,"br",[],null,null,null,null,null)),(e()(),Ki(45,0,null,null,19,"div",[],null,null,null,null,null)),(e()(),oo(46,null,[" Color palate #uiux"," \xa0"])),(e()(),Ki(47,0,null,null,1,"i",[["class","badge badge-warning"],["style","color:cornflowerblue"]],null,[[null,"click"]],(function(e,t,n){var r=!0,s=e.component;return"click"===t&&(r=!1!==s.setindex(s.index)&&r),r}),null,null)),(e()(),oo(-1,null,["set"])),(e()(),oo(-1,null,["\xa0 "])),(e()(),Ki(50,0,null,null,1,"small",[],null,null,null,null,null)),(e()(),oo(-1,null,["Converted hex to RGB"])),(e()(),Ki(52,0,null,null,0,"br",[],null,null,null,null,null)),(e()(),Ki(53,0,null,null,11,"table",[["class","table table-borderless"]],null,null,null,null,null)),(e()(),Ki(54,0,null,null,7,"thead",[],null,null,null,null,null)),(e()(),Ki(55,0,null,null,6,"tr",[],null,null,null,null,null)),(e()(),Ki(56,0,null,null,1,"th",[["scope","col"]],null,null,null,null,null)),(e()(),oo(-1,null,["#"])),(e()(),Ki(58,0,null,null,1,"th",[["scope","col"]],null,null,null,null,null)),(e()(),oo(-1,null,["Hex"])),(e()(),Ki(60,0,null,null,1,"th",[["scope","col"]],null,null,null,null,null)),(e()(),oo(-1,null,["RGB "])),(e()(),Ki(62,0,null,null,2,"tbody",[],null,null,null,null,null)),(e()(),Qi(16777216,null,null,1,null,Yh)),cs(64,278528,null,0,Pa,[Ln,Un,Nn],{ngForOf:[0,"ngForOf"]},null)],(function(e,t){var n=t.component;e(t,11,0,n.color100),e(t,64,0,n.rowitem)}),(function(e,t){var n=t.component;e(t,20,0,"uiux"+n.index),e(t,21,0,n.index),e(t,25,0,n.rowitem[0]),e(t,26,0,n.rowitem[0]),e(t,27,0,n.rowitem[1]),e(t,28,0,n.rowitem[1]),e(t,29,0,n.rowitem[2]),e(t,30,0,n.rowitem[2]),e(t,31,0,n.rowitem[3]),e(t,32,0,n.rowitem[3]),e(t,33,0,n.rowitem[4]),e(t,34,0,n.rowitem[4]),e(t,46,0,n.index)}))}var Xh=nr({encapsulation:0,styles:[[""]],data:{}});function ef(e){return co(0,[(e()(),Ki(0,0,null,null,1,"app-color",[],null,null,null,Jh,Qh)),cs(1,114688,null,0,Gh,[],null,null)],(function(e,t){e(t,1,0)}),null)}function tf(e){return co(0,[(e()(),Ki(0,0,null,null,1,"app-root",[],null,null,null,ef,Xh)),cs(1,49152,null,0,va,[],null,null)],null,null)}var nf=Vr("app-root",va,tf,{},{},[]);class rf{}var sf=ga(ma,[va],(function(e){return function(e){const t={},n=[];let r=!1;for(let s=0;s<e.length;s++){const i=e[s];i.token===Dt&&!0===i.value&&(r=!0),1073741824&i.flags&&n.push(i.token),i.index=s,t[Xn(i.token)]=i}return{factory:null,providersByKey:t,providers:e,modules:n,isRoot:r}}([Or(512,ln,cn,[[8,[Hh,nf]],[3,ln],ze]),Or(5120,Bs,Zi,[[3,Bs]]),Or(4608,Aa,Na,[Bs,[2,Ia]]),Or(5120,Ss,Wi,[li]),Or(5120,js,Ls,[]),Or(5120,Nn,Bi,[]),Or(5120,On,qi,[]),Or(4608,Lc,Vc,[ja]),Or(6144,kt,null,[Lc]),Or(4608,Nc,Pc,[]),Or(5120,Xl,(function(e,t,n,r,s,i,o,a){return[new Ic(e,t,n),new jc(r),new Dc(s,i,o,a)]}),[ja,li,Fs,ja,ja,Nc,zs,[2,Oc]]),Or(4608,ec,ec,[Xl,li]),Or(135680,rc,rc,[ja]),Or(4608,uc,uc,[ec,rc,js]),Or(6144,gn,null,[uc]),Or(6144,nc,null,[rc]),Or(4608,gi,gi,[li]),Or(5120,rd,Dh,[ph]),Or(4608,_h,_h,[]),Or(6144,wh,null,[_h]),Or(135680,Ch,Ch,[ph,Ai,Ys,Ut,wh]),Or(4608,yh,yh,[]),Or(5120,xh,Ih,[ph,Va,Sh]),Or(5120,Lh,jh,[Mh]),Or(5120,Hs,(function(e){return[e]}),[Lh]),Or(1073742336,Ua,Ua,[]),Or(1024,tt,Wc,[]),Or(1024,xi,(function(){return[kh()]}),[]),Or(512,Mh,Mh,[Ut]),Or(1024,Ms,(function(e,t){return[(n=e,Kl("probe",Jl),Kl("coreTokens",Object.assign({},Yl,(n||[]).reduce((e,t)=>(e[t.name]=t.token,e),{}))),()=>Jl),Uh(t)];var n}),[[2,xi],Mh]),Or(512,Us,Us,[[2,Ms]]),Or(131584,Ri,Ri,[li,zs,Ut,tt,ln,Us]),Or(1073742336,Gi,Gi,[Ri]),Or(1073742336,Gc,Gc,[[3,Gc]]),Or(1024,Eh,Nh,[[3,ph]]),Or(512,Mu,Uu,[]),Or(512,bh,bh,[]),Or(256,Sh,{},[]),Or(1024,_a,Ah,[wa,[2,Ca],Sh]),Or(512,xa,xa,[_a,wa]),Or(512,Ys,Ys,[]),Or(512,Ai,Mi,[Ys,[2,Pi]]),Or(1024,ah,(function(){return[[]]}),[]),Or(1024,ph,Ph,[Ri,Mu,bh,xa,Ut,Ai,Ys,ah,Sh,[2,ch],[2,ih]]),Or(1073742336,Rh,Rh,[[2,Eh],[2,ph]]),Or(1073742336,rf,rf,[]),Or(1073742336,Zh,Zh,[]),Or(1073742336,ma,ma,[]),Or(256,Dt,!0,[])])}));(function(){if(rt)throw new Error("Cannot enable prod mode after platform setup.");nt=!1})(),Zc().bootstrapModuleFactory(sf).catch(e=>console.error(e))},zn8P:function(e,t){function n(e){return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}))}n.keys=function(){return[]},n.resolve=n,e.exports=n,n.id="zn8P"}},[[0,0]]]);