From 7c47996228194a54fc8fc84d8d74a3dbe8d5b3c0 Mon Sep 17 00:00:00 2001 From: Anton Makarenko Date: Tue, 6 Nov 2018 10:17:23 -0600 Subject: [PATCH] Production roll out --- docs/3rdpartylicenses.txt | 9 +++++++++ docs/index.html | 4 ++-- docs/main.20efe64431b5a978d9cc.js | 1 - docs/main.e7ab59e8744ad4691504.js | 1 + docs/styles.25f81ec778686d47399d.css | 1 - docs/styles.707264ca1462f6a614c6.css | 1 + 6 files changed, 13 insertions(+), 4 deletions(-) delete mode 100644 docs/main.20efe64431b5a978d9cc.js create mode 100644 docs/main.e7ab59e8744ad4691504.js delete mode 100644 docs/styles.25f81ec778686d47399d.css create mode 100644 docs/styles.707264ca1462f6a614c6.css diff --git a/docs/3rdpartylicenses.txt b/docs/3rdpartylicenses.txt index c0dd7f9..dfcf4e7 100644 --- a/docs/3rdpartylicenses.txt +++ b/docs/3rdpartylicenses.txt @@ -213,9 +213,18 @@ MIT @angular/common MIT +@ngrx/store +MIT + +@ngrx/entity +MIT + @angular/platform-browser MIT +@ngrx/effects +MIT + zone.js MIT The MIT License diff --git a/docs/index.html b/docs/index.html index 607ea30..6d7b3e4 100644 --- a/docs/index.html +++ b/docs/index.html @@ -7,8 +7,8 @@ - + - + diff --git a/docs/main.20efe64431b5a978d9cc.js b/docs/main.20efe64431b5a978d9cc.js deleted file mode 100644 index 8a8af46..0000000 --- a/docs/main.20efe64431b5a978d9cc.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{0:function(e,t,n){e.exports=n("zUnb")},crnd: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="crnd"},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){s=e},get useDeprecatedSynchronousErrorHandling(){return s}};function o(e){setTimeout(()=>{throw e})}const l={closed:!0,next(e){},error(e){if(i.useDeprecatedSynchronousErrorHandling)throw e;o(e)},complete(){}},a=Array.isArray||(e=>e&&"number"==typeof e.length);function u(e){return null!=e&&"object"==typeof e}const c={e:{}};let d;function h(){try{return d.apply(this,arguments)}catch(e){return c.e=e,c}}function f(e){return d=e,h}function p(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}p.prototype=Object.create(Error.prototype);const m=p;class g{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 l=-1,d=s?s.length:0;for(;n;)n.remove(this),n=++le.concat(t instanceof m?t.errors:t),[])}g.EMPTY=function(e){return e.closed=!0,e}(new g);const y="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random();class w extends g{constructor(e,t,n){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,this._parentSubscription=null,arguments.length){case 0:this.destination=l;break;case 1:if(!e){this.destination=l;break}if("object"==typeof e){e instanceof w?(this.syncErrorThrowable=e.syncErrorThrowable,this.destination=e,e.add(this)):(this.syncErrorThrowable=!0,this.destination=new v(this,e));break}default:this.syncErrorThrowable=!0,this.destination=new v(this,e,t,n)}}[y](){return this}static create(e,t,n){const r=new w(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._parentSubscription=null,this}}class v extends w{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!==l&&(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 b="function"==typeof Symbol&&Symbol.observable||"@@observable";class C{constructor(e){this._isScalar=!1,e&&(this._subscribe=e)}lift(e){const t=new C;return t.source=this,t.operator=e,t}subscribe(e,t,n){const{operator:r}=this,s=function(e,t,n){if(e){if(e instanceof w)return e;if(e[y])return e[y]()}return e||t||n?new w(e,t,n):new w(l)}(e,t,n);if(r?r.call(s,this.source):s.add(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 w?n:null}return!0}(e)?e.error(t):console.warn(t)}}forEach(e,t){return new(t=E(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)}[b](){return this}pipe(...e){return 0===e.length?this:((t=e)?1===t.length?t[0]:function(e){return t.reduce((e,t)=>t(e),e)}:function(){})(this);var t}toPromise(e){return new(e=E(e))((e,t)=>{let n;this.subscribe(e=>n=e,e=>t(e),()=>e(n))})}}function E(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}C.create=(e=>new C(e)),x.prototype=Object.create(Error.prototype);const N=x;class I extends g{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 k extends w{constructor(e){super(e),this.destination=e}}class T extends C{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[y](){return new k(this)}lift(e){const t=new S(this,this);return t.operator=e,t}next(e){if(this.closed)throw new N;if(!this.isStopped){const{observers:t}=this,n=t.length,r=t.slice();for(let s=0;snew S(e,t));class S extends T{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):g.EMPTY}}function A(e){return e&&"function"==typeof e.schedule}class D extends w{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 M=e=>t=>{for(let n=0,r=e.length;nt=>(e.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,o),t);function O(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}const V=O(),P=e=>t=>{const n=e[V]();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},j=e=>t=>{const n=e[b]();if("function"!=typeof n.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return n.subscribe(t)},F=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function H(e){return e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}const L=e=>{if(e instanceof C)return t=>e._isScalar?(t.next(e.value),void t.complete()):e.subscribe(t);if(e&&"function"==typeof e[b])return j(e);if(F(e))return M(e);if(H(e))return R(e);if(e&&"function"==typeof e[V])return P(e);{const t=u(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.")}};class B extends w{notifyNext(e,t,n,r,s){this.destination.next(t)}notifyError(e,t){this.destination.error(e)}notifyComplete(e){this.destination.complete()}}function $(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 U(e,this.project,this.thisArg))}}class U extends w{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 Z(e,t){return new C(t?n=>{const r=new g;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}:M(e))}function K(e,t){if(!t)return e instanceof C?e:new C(L(e));if(null!=e){if(function(e){return e&&"function"==typeof e[b]}(e))return function(e,t){return new C(t?n=>{const r=new g;return r.add(t.schedule(()=>{const s=e[b]();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}:j(e))}(e,t);if(H(e))return function(e,t){return new C(t?n=>{const r=new g;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}:R(e))}(e,t);if(F(e))return Z(e,t);if(function(e){return e&&"function"==typeof e[V]}(e)||"string"==typeof e)return function(e,t){if(!e)throw new Error("Iterable cannot be null");return new C(t?n=>{const r=new g;let s;return r.add(()=>{s&&"function"==typeof s.return&&s.return()}),r.add(t.schedule(()=>{s=e[V](),r.add(t.schedule(function(){if(n.closed)return;let e,t;try{const i=s.next();e=i.value,t=i.done}catch(r){return void n.error(r)}t?n.complete():(n.next(e),this.schedule())}))})),r}:P(e))}(e,t)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}class q{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 B{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.active0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function G(e){return e}Function;const W="@angular/core";class Y{}Y.ANALYZE_FOR_ENTRY_COMPONENTS={name:"ANALYZE_FOR_ENTRY_COMPONENTS",moduleName:W},Y.ElementRef={name:"ElementRef",moduleName:W},Y.NgModuleRef={name:"NgModuleRef",moduleName:W},Y.ViewContainerRef={name:"ViewContainerRef",moduleName:W},Y.ChangeDetectorRef={name:"ChangeDetectorRef",moduleName:W},Y.QueryList={name:"QueryList",moduleName:W},Y.TemplateRef={name:"TemplateRef",moduleName:W},Y.Renderer2={name:"Renderer2",moduleName:W},Y.CodegenComponentFactoryResolver={name:"\u0275CodegenComponentFactoryResolver",moduleName:W},Y.ComponentFactoryResolver={name:"ComponentFactoryResolver",moduleName:W},Y.ComponentFactory={name:"ComponentFactory",moduleName:W},Y.ComponentRef={name:"ComponentRef",moduleName:W},Y.NgModuleFactory={name:"NgModuleFactory",moduleName:W},Y.createModuleFactory={name:"\u0275cmf",moduleName:W},Y.moduleDef={name:"\u0275mod",moduleName:W},Y.moduleProviderDef={name:"\u0275mpd",moduleName:W},Y.RegisterModuleFactoryFn={name:"\u0275registerModuleFactory",moduleName:W},Y.inject={name:"inject",moduleName:W},Y.INJECTOR={name:"INJECTOR",moduleName:W},Y.Injector={name:"Injector",moduleName:W},Y.defineInjectable={name:"defineInjectable",moduleName:W},Y.InjectableDef={name:"\u0275InjectableDef",moduleName:W},Y.ViewEncapsulation={name:"ViewEncapsulation",moduleName:W},Y.ChangeDetectionStrategy={name:"ChangeDetectionStrategy",moduleName:W},Y.SecurityContext={name:"SecurityContext",moduleName:W},Y.LOCALE_ID={name:"LOCALE_ID",moduleName:W},Y.TRANSLATIONS_FORMAT={name:"TRANSLATIONS_FORMAT",moduleName:W},Y.inlineInterpolate={name:"\u0275inlineInterpolate",moduleName:W},Y.interpolate={name:"\u0275interpolate",moduleName:W},Y.EMPTY_ARRAY={name:"\u0275EMPTY_ARRAY",moduleName:W},Y.EMPTY_MAP={name:"\u0275EMPTY_MAP",moduleName:W},Y.Renderer={name:"Renderer",moduleName:W},Y.viewDef={name:"\u0275vid",moduleName:W},Y.elementDef={name:"\u0275eld",moduleName:W},Y.anchorDef={name:"\u0275and",moduleName:W},Y.textDef={name:"\u0275ted",moduleName:W},Y.directiveDef={name:"\u0275did",moduleName:W},Y.providerDef={name:"\u0275prd",moduleName:W},Y.queryDef={name:"\u0275qud",moduleName:W},Y.pureArrayDef={name:"\u0275pad",moduleName:W},Y.pureObjectDef={name:"\u0275pod",moduleName:W},Y.purePipeDef={name:"\u0275ppd",moduleName:W},Y.pipeDef={name:"\u0275pid",moduleName:W},Y.nodeValue={name:"\u0275nov",moduleName:W},Y.ngContentDef={name:"\u0275ncd",moduleName:W},Y.unwrapValue={name:"\u0275unv",moduleName:W},Y.createRendererType2={name:"\u0275crt",moduleName:W},Y.RendererType2={name:"RendererType2",moduleName:W},Y.ViewDefinition={name:"\u0275ViewDefinition",moduleName:W},Y.createComponentFactory={name:"\u0275ccf",moduleName:W};const J="@angular/core";class X{}X.NEW_METHOD="factory",X.TRANSFORM_METHOD="transform",X.PATCH_DEPS="patchedDeps",X.namespaceHTML={name:"\u0275namespaceHTML",moduleName:J},X.namespaceMathML={name:"\u0275namespaceMathML",moduleName:J},X.namespaceSVG={name:"\u0275namespaceSVG",moduleName:J},X.element={name:"\u0275element",moduleName:J},X.elementStart={name:"\u0275elementStart",moduleName:J},X.elementEnd={name:"\u0275elementEnd",moduleName:J},X.elementProperty={name:"\u0275elementProperty",moduleName:J},X.elementAttribute={name:"\u0275elementAttribute",moduleName:J},X.elementClassProp={name:"\u0275elementClassProp",moduleName:J},X.elementContainerStart={name:"\u0275EC",moduleName:J},X.elementContainerEnd={name:"\u0275eC",moduleName:J},X.elementStyling={name:"\u0275elementStyling",moduleName:J},X.elementStylingMap={name:"\u0275elementStylingMap",moduleName:J},X.elementStyleProp={name:"\u0275elementStyleProp",moduleName:J},X.elementStylingApply={name:"\u0275elementStylingApply",moduleName:J},X.containerCreate={name:"\u0275container",moduleName:J},X.nextContext={name:"\u0275nextContext",moduleName:J},X.templateCreate={name:"\u0275template",moduleName:J},X.text={name:"\u0275text",moduleName:J},X.textBinding={name:"\u0275textBinding",moduleName:J},X.bind={name:"\u0275bind",moduleName:J},X.enableBindings={name:"\u0275enableBindings",moduleName:J},X.disableBindings={name:"\u0275disableBindings",moduleName:J},X.getCurrentView={name:"\u0275getCurrentView",moduleName:J},X.restoreView={name:"\u0275restoreView",moduleName:J},X.interpolation1={name:"\u0275interpolation1",moduleName:J},X.interpolation2={name:"\u0275interpolation2",moduleName:J},X.interpolation3={name:"\u0275interpolation3",moduleName:J},X.interpolation4={name:"\u0275interpolation4",moduleName:J},X.interpolation5={name:"\u0275interpolation5",moduleName:J},X.interpolation6={name:"\u0275interpolation6",moduleName:J},X.interpolation7={name:"\u0275interpolation7",moduleName:J},X.interpolation8={name:"\u0275interpolation8",moduleName:J},X.interpolationV={name:"\u0275interpolationV",moduleName:J},X.pureFunction0={name:"\u0275pureFunction0",moduleName:J},X.pureFunction1={name:"\u0275pureFunction1",moduleName:J},X.pureFunction2={name:"\u0275pureFunction2",moduleName:J},X.pureFunction3={name:"\u0275pureFunction3",moduleName:J},X.pureFunction4={name:"\u0275pureFunction4",moduleName:J},X.pureFunction5={name:"\u0275pureFunction5",moduleName:J},X.pureFunction6={name:"\u0275pureFunction6",moduleName:J},X.pureFunction7={name:"\u0275pureFunction7",moduleName:J},X.pureFunction8={name:"\u0275pureFunction8",moduleName:J},X.pureFunctionV={name:"\u0275pureFunctionV",moduleName:J},X.pipeBind1={name:"\u0275pipeBind1",moduleName:J},X.pipeBind2={name:"\u0275pipeBind2",moduleName:J},X.pipeBind3={name:"\u0275pipeBind3",moduleName:J},X.pipeBind4={name:"\u0275pipeBind4",moduleName:J},X.pipeBindV={name:"\u0275pipeBindV",moduleName:J},X.i18nAttribute={name:"\u0275i18nAttribute",moduleName:J},X.i18nExp={name:"\u0275i18nExp",moduleName:J},X.i18nStart={name:"\u0275i18nStart",moduleName:J},X.i18nEnd={name:"\u0275i18nEnd",moduleName:J},X.i18nApply={name:"\u0275i18nApply",moduleName:J},X.load={name:"\u0275load",moduleName:J},X.loadQueryList={name:"\u0275loadQueryList",moduleName:J},X.pipe={name:"\u0275pipe",moduleName:J},X.projection={name:"\u0275projection",moduleName:J},X.projectionDef={name:"\u0275projectionDef",moduleName:J},X.reference={name:"\u0275reference",moduleName:J},X.inject={name:"inject",moduleName:J},X.injectAttribute={name:"\u0275injectAttribute",moduleName:J},X.directiveInject={name:"\u0275directiveInject",moduleName:J},X.templateRefExtractor={name:"\u0275templateRefExtractor",moduleName:J},X.defineBase={name:"\u0275defineBase",moduleName:J},X.BaseDef={name:"\u0275BaseDef",moduleName:J},X.defineComponent={name:"\u0275defineComponent",moduleName:J},X.ComponentDefWithMeta={name:"\u0275ComponentDefWithMeta",moduleName:J},X.defineDirective={name:"\u0275defineDirective",moduleName:J},X.DirectiveDefWithMeta={name:"\u0275DirectiveDefWithMeta",moduleName:J},X.InjectorDef={name:"\u0275InjectorDef",moduleName:J},X.defineInjector={name:"defineInjector",moduleName:J},X.NgModuleDefWithMeta={name:"\u0275NgModuleDefWithMeta",moduleName:J},X.defineNgModule={name:"\u0275defineNgModule",moduleName:J},X.PipeDefWithMeta={name:"\u0275PipeDefWithMeta",moduleName:J},X.definePipe={name:"\u0275definePipe",moduleName:J},X.query={name:"\u0275query",moduleName:J},X.queryRefresh={name:"\u0275queryRefresh",moduleName:J},X.registerContentQuery={name:"\u0275registerContentQuery",moduleName:J},X.NgOnChangesFeature={name:"\u0275NgOnChangesFeature",moduleName:J},X.InheritDefinitionFeature={name:"\u0275InheritDefinitionFeature",moduleName:J},X.PublicFeature={name:"\u0275PublicFeature",moduleName:J},X.listener={name:"\u0275listener",moduleName:J},X.getFactoryOf={name:"\u0275getFactoryOf",moduleName:J},X.getInheritedFactory={name:"\u0275getInheritedFactory",moduleName:J},X.sanitizeHtml={name:"\u0275sanitizeHtml",moduleName:J},X.sanitizeStyle={name:"\u0275sanitizeStyle",moduleName:J},X.defaultStyleSanitizer={name:"\u0275defaultStyleSanitizer",moduleName:J},X.sanitizeResourceUrl={name:"\u0275sanitizeResourceUrl",moduleName:J},X.sanitizeScript={name:"\u0275sanitizeScript",moduleName:J},X.sanitizeUrl={name:"\u0275sanitizeUrl",moduleName:J};class ee{static build(){const e=new Map;return{define:function(t,n){return e.set(t,n),this},done:function(){return e.size>0?new te(e):ee.empty}}}}ee.missing={},ee.empty={resolve:e=>ee.missing};class te extends ee{constructor(e){super(),this.bindings=e}resolve(e){return this.bindings.has(e)?this.bindings.get(e):ee.missing}}function ne(){return function(e){return e.lift(new re(e))}}class re{constructor(e){this.connectable=e}call(e,t){const{connectable:n}=this;n._refCount++;const r=new se(e,n),s=t.subscribe(r);return r.closed||(r.connection=n.connect()),s}}class se extends w{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 ie=class extends C{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 g).add(this.source.subscribe(new le(this.getSubject(),this))),e.closed?(this._connection=null,e=g.EMPTY):this._connection=e),e}refCount(){return ne()(this)}}.prototype,oe={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:ie._subscribe},_isComplete:{value:ie._isComplete,writable:!0},getSubject:{value:ie.getSubject},connect:{value:ie.connect},refCount:{value:ie.refCount}};class le extends k{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 ae(){return new T}function ue(e){for(let t in e)if(e[t]===ue)return t;throw Error("Could not find renamed property on target object.")}const ce=ue({ngInjectableDef:ue});function de(e){return{providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function he(e){return e.hasOwnProperty(ce)?e[ce]:null}class fe{constructor(e,t){this._desc=e,this.ngMetadataName="InjectionToken",this.ngInjectableDef=void 0!==t?de({providedIn:t.providedIn||"root",factory:t.factory}):void 0}toString(){return`InjectionToken ${this._desc}`}}const pe="__annotations__",me="__parameters__",ge="__prop__metadata__";function _e(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(me)?e[me]:Object.defineProperty(e,me,{value:[]})[me];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 ye="undefined"!=typeof window&&window,we="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,ve="undefined"!=typeof global&&global||ye||we,be=Promise.resolve(0);let Ce=null;function Ee(){if(!Ce){const e=ve.Symbol;if(e&&e.iterator)Ce=e.iterator;else{const e=Object.getOwnPropertyNames(Map.prototype);for(let t=0;t{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}function Ne(e,t){return e===t||"number"==typeof e&&"number"==typeof t&&isNaN(e)&&isNaN(t)}function Ie(e){if("string"==typeof e)return e;if(e instanceof Array)return"["+e.map(Ie).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)}function ke(e){return e.__forward_ref__=ke,e.toString=function(){return Ie(this())},e}function Te(e){return"function"==typeof e&&e.hasOwnProperty("__forward_ref__")&&e.__forward_ref__===ke?e():e}const Se=_e("Inject",e=>({token:e})),Ae=_e("Optional"),De=_e("Self"),Me=_e("SkipSelf"),Re="__source",Oe=new Object,Ve=Oe,Pe=new fe("INJECTOR");class je{get(e,t=Oe){if(t===Oe)throw new Error(`NullInjectorError: No provider for ${Ie(e)}!`);return t}}class Fe{static create(e,t){return Array.isArray(e)?new Ge(e,t):new Ge(e.providers,e.parent,e.name||null)}}Fe.THROW_IF_NOT_FOUND=Oe,Fe.NULL=new je,Fe.ngInjectableDef=de({providedIn:"any",factory:()=>tt(Pe)});const He=function(e){return e},Le=[],Be=He,$e=function(){return Array.prototype.slice.call(arguments)},ze=ue({provide:String,useValue:ue}),Ue="ngTokenPath",Ze="ngTempTokenPath",Ke=Fe.NULL,qe=/\n/gm,Qe="\u0275";class Ge{constructor(e,t=Ke,n=null){this.parent=t,this.source=n;const r=this._records=new Map;r.set(Fe,{token:Fe,fn:He,deps:Le,value:this,useNew:!1}),r.set(Pe,{token:Pe,fn:He,deps:Le,value:this,useNew:!1}),function e(t,n){if(n)if((n=Te(n))instanceof Array)for(let r=0;re.push(Ie(n))),`StaticInjector[${e.join(", ")}]`}}function We(e){return Je("Cannot mix multi providers and regular providers",e)}function Ye(e,t,n=null){e=e&&"\n"===e.charAt(0)&&e.charAt(1)==Qe?e.substr(2):e;let r=Ie(t);if(t instanceof Array)r=t.map(Ie).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):Ie(r)))}r=`{${e.join(", ")}}`}return`StaticInjectorError${n?"("+n+")":""}[${r}]: ${e.replace(qe,"\n ")}`}function Je(e,t){return new Error(Ye(e,t))}let Xe=void 0;function et(e){const t=Xe;return Xe=e,t}function tt(e,t=0){if(void 0===Xe)throw new Error("inject() must be called from an injection context");if(null===Xe){const n=he(e);if(n&&"root"==n.providedIn)return void 0===n.value?n.value=n.factory():n.value;if(8&t)return null;throw new Error(`Injector: NOT_FOUND [${Ie(e)}]`)}return Xe.get(e,8&t?null:void 0,t)}const nt=Function;function rt(e){return"function"==typeof e}const st=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*arguments\)/,it=/^class\s+[A-Za-z\d$_]*\s*extends\s+[A-Za-z\d$_]+\s*{/,ot=/^class\s+[A-Za-z\d$_]*\s*extends\s+[A-Za-z\d$_]+\s*{[\s\S]*constructor\s*\(/;class lt{constructor(e){this._reflect=e||ve.Reflect}isReflectionEnabled(){return!0}factory(e){return(...t)=>new e(...t)}_zipTypesAndAnnotations(e,t){let n;n=void 0===e?new Array(t.length):new Array(e.length);for(let r=0;re&&e.type),n=e.map(e=>e&&at(e.decorators));return this._zipTypesAndAnnotations(t,n)}const s=e.hasOwnProperty(me)&&e[me],i=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",e);return i||s?this._zipTypesAndAnnotations(i,s):new Array(e.length).fill(void 0)}parameters(e){if(!rt(e))return[];const t=ut(e);let n=this._ownParameters(e,t);return n||t===Object||(n=this.parameters(t)),n||[]}_ownAnnotations(e,t){if(e.annotations&&e.annotations!==t.annotations){let t=e.annotations;return"function"==typeof t&&t.annotations&&(t=t.annotations),t}return e.decorators&&e.decorators!==t.decorators?at(e.decorators):e.hasOwnProperty(pe)?e[pe]:null}annotations(e){if(!rt(e))return[];const t=ut(e),n=this._ownAnnotations(e,t)||[];return(t!==Object?this.annotations(t):[]).concat(n)}_ownPropMetadata(e,t){if(e.propMetadata&&e.propMetadata!==t.propMetadata){let t=e.propMetadata;return"function"==typeof t&&t.propMetadata&&(t=t.propMetadata),t}if(e.propDecorators&&e.propDecorators!==t.propDecorators){const t=e.propDecorators,n={};return Object.keys(t).forEach(e=>{n[e]=at(t[e])}),n}return e.hasOwnProperty(ge)?e[ge]:null}propMetadata(e){if(!rt(e))return{};const t=ut(e),n={};if(t!==Object){const e=this.propMetadata(t);Object.keys(e).forEach(t=>{n[t]=e[t]})}const r=this._ownPropMetadata(e,t);return r&&Object.keys(r).forEach(e=>{const t=[];n.hasOwnProperty(e)&&t.push(...n[e]),t.push(...r[e]),n[e]=t}),n}hasLifecycleHook(e,t){return e instanceof nt&&t in e.prototype}guards(e){return{}}getter(e){return new Function("o","return o."+e+";")}setter(e){return new Function("o","v","return o."+e+" = v;")}method(e){return new Function("o","args",`if (!o.${e}) throw new Error('"${e}" is undefined');\n return o.${e}.apply(o, args);`)}importUri(e){return"object"==typeof e&&e.filePath?e.filePath:`./${Ie(e)}`}resourceUri(e){return`./${Ie(e)}`}resolveIdentifier(e,t,n,r){return r}resolveEnum(e,t){return e[t]}}function at(e){return e?e.map(e=>new(0,e.type.annotationCls)(...e.args?e.args:[])):[]}function ut(e){const t=e.prototype?Object.getPrototypeOf(e.prototype):null;return(t?t.constructor:null)||Object}var ct=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}();function dt(e,t){const n=pt(e),r=pt(t);if(n&&r)return function(e,t,n){const r=e[Ee()](),s=t[Ee()]();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,dt);{const s=e&&("object"==typeof e||"function"==typeof e),i=t&&("object"==typeof t||"function"==typeof t);return!(n||!s||r||!i)||Ne(e,t)}}class ht{constructor(e){this.wrapped=e}static wrap(e){return new ht(e)}static unwrap(e){return ht.isWrapped(e)?e.wrapped:e}static isWrapped(e){return e instanceof ht}}class ft{constructor(e,t,n){this.previousValue=e,this.currentValue=t,this.firstChange=n}isFirstChange(){return this.firstChange}}function pt(e){return!!mt(e)&&(Array.isArray(e)||!(e instanceof Map)&&Ee()in e)}function mt(e){return null!==e&&("function"==typeof e||"object"==typeof e)}class gt{}class _t{}function yt(e){const t=Error(`No component factory found for ${Ie(e)}. Did you add it to @NgModule.entryComponents?`);return t[wt]=e,t}const wt="ngComponent";class vt{resolveComponentFactory(e){throw yt(e)}}class bt{}bt.NULL=new vt;class Ct{constructor(e,t,n){this._parent=t,this._ngModule=n,this._factories=new Map;for(let r=0;rkt(Mt));class Rt{}class Ot{}var Vt=function(){var e={Important:1,DashCase:2};return e[e.Important]="Important",e[e.DashCase]="DashCase",e}();class Pt{}Pt.__NG_ELEMENT_ID__=(()=>Dt());const jt=new fe("The presence of this token marks an injector as being the root injector.");class Ft extends T{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 g&&e.add(o),o}}class Ht{}Ht.__NG_ELEMENT_ID__=(()=>Tt(Ht,Mt));let Lt=!0,Bt=!1;function $t(){return Bt=!0,Lt}class zt{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='',!this.inertBodyElement.querySelector||this.inertBodyElement.querySelector("svg")?(this.inertBodyElement.innerHTML='

',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=""+e+"";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=""+e+"";try{const n=(new window.DOMParser).parseFromString(e,"text/html").body;return n.removeChild(n.firstChild),n}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;0Kt(e.trim())).join(", ")),this.buf.push(" ",t,'="',ln(o),'"')}var r;this.buf.push(">")}endElement(e){const t=e.nodeName.toLowerCase();Xt.hasOwnProperty(t)&&!Gt.hasOwnProperty(t)&&(this.buf.push(""))}chars(e){this.buf.push(ln(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 sn=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,on=/([^\#-~ |!])/g;function ln(e){return e.replace(/&/g,"&").replace(sn,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(on,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(//g,">")}let an;function un(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var cn=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 dn{}const hn=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:calc|attr))\\([-0-9.%, #a-zA-Z]+\\))$","g"),fn=/^url\(([^)]+)\)$/;String;const pn=!1;String;class mn{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}const gn=new mn("7.0.1"),_n="ngDebugContext",yn="ngOriginalError",wn="ngErrorLogger";function vn(e){return e[_n]}function bn(e){return e[yn]}function Cn(e,...t){e.error(...t)}class En{constructor(){this._console=console}handleError(e){const t=this._findOriginalError(e),n=this._findContext(e),r=function(e){return e[wn]||Cn}(e);r(this._console,"ERROR",e),t&&r(this._console,"ORIGINAL ERROR",t),n&&r(this._console,"ERROR CONTEXT",n)}_findContext(e){return e?vn(e)?vn(e):this._findContext(bn(e)):null}_findOriginalError(e){let t=bn(e);for(;t&&bn(t);)t=bn(t);return t}}function xn(e){return e.length>1?" ("+function(e){const t=[];for(let n=0;n-1)return t.push(e[n]),t;t.push(e[n])}return t}(e.slice().reverse()).map(e=>Ie(e.token)).join(" -> ")+")":""}function Nn(e,t,n,r){const s=[t],i=n(s),o=r?function(e,t){const n=`${i} caused by: ${t instanceof Error?t.message:t}`,r=Error(n);return r[yn]=t,r}(0,r):Error(i);return o.addKey=In,o.keys=s,o.injectors=[e],o.constructResolvingMessage=n,o[yn]=r,o}function In(e,t){this.injectors.push(e),this.keys.push(t),this.message=this.constructResolvingMessage(this.keys)}function kn(e,t){const n=[];for(let r=0,s=t.length;re),n=[Rn.fromKey(Tn.get(e.useExisting))]):e.useFactory?(t=e.useFactory,n=function(e,t){if(t){const n=t.map(e=>[e]);return t.map(t=>Hn(e,t,n))}return Fn(e)}(e.useFactory,e.deps)):(t=(()=>e.useValue),n=On);return new Pn(t,n)}(e)],e.multi||!1)}function Fn(e){const t=Mn.parameters(e);if(!t)return[];if(t.some(e=>null==e))throw kn(e,t);return t.map(n=>Hn(e,n,t))}function Hn(e,t,n){let r=null,s=!1;if(!Array.isArray(t))return Ln(t instanceof Se?t.token:t,s,null);let i=null;for(let o=0;o{if(t instanceof nt)n.push({provide:t,useClass:t});else if(t&&"object"==typeof t&&void 0!==t.provide)n.push(t);else{if(!(t instanceof Array))throw function(e){return Error(`Invalid provider - only instances of Provider and Type are allowed, got: ${t}`)}();e(t,n)}}),n}(e,[]).map(jn),new Map);return Array.from(t.values())}(e)}static resolveAndCreate(e,t){const n=$n.resolve(e);return $n.fromResolvedProviders(n,t)}static fromResolvedProviders(e,t){return new zn(e,t)}}class zn{constructor(e,t){this._constructionCounter=0,this._providers=e,this.parent=t||null;const n=e.length;this.keyIds=new Array(n),this.objs=new Array(n);for(let r=0;r=this._providers.length)throw function(e){return Error(`Index ${e} is out-of-bounds.`)}(e);return this._providers[e]}_new(e){if(this._constructionCounter++>this._getMaxNumberOfObjects())throw Nn(this,e.key,function(e){return`Cannot instantiate cyclic dependency!${xn(e)}`});return this._instantiateProvider(e)}_getMaxNumberOfObjects(){return this.objs.length}_instantiateProvider(e){if(e.multiProvider){const t=new Array(e.resolvedFactories.length);for(let n=0;nthis._getByReflectiveDependency(e))}catch(o){throw o.addKey&&o.addKey(this,e.key),o}try{s=n(...r)}catch(o){throw Nn(this,e.key,function(e){const t=Ie(e[0].token);return`${i.message}: Error during instantiation of ${t}!${xn(e)}.`},i=o)}var i;return s}_getByReflectiveDependency(e){return this._getByKey(e.key,e.visibility,e.optional?null:Ve)}_getByKey(e,t,n){return e===zn.INJECTOR_KEY?this:t instanceof De?this._getByKeySelf(e,n):this._getByKeyDefault(e,n,t)}_getObjByKeyId(e){for(let t=0;t' "'+e.key.displayName+'" ').join(", ")}])`}toString(){return this.displayName}}function Un(e){return!!e&&"function"==typeof e.then}function Zn(e){return!!e&&"function"==typeof e.subscribe}zn.INJECTOR_KEY=Tn.get(Fe);const Kn=new fe("Application Initializer");class qn{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{t()}).catch(e=>{this.reject(e)}),0===e.length&&t(),this.initialized=!0}}const Qn=new fe("AppId");function Gn(){return`${Wn()}${Wn()}${Wn()}`}function Wn(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Yn=new fe("Platform Initializer"),Jn=new fe("Platform ID"),Xn=new fe("appBootstrapListener");class er{log(e){console.log(e)}warn(e){console.warn(e)}}function tr(){throw new Error("Runtime compiler is not loaded")}class nr{compileModuleSync(e){throw tr()}compileModuleAsync(e){throw tr()}compileModuleAndAllComponentsSync(e){throw tr()}compileModuleAndAllComponentsAsync(e){throw tr()}clearCache(){}clearCacheFor(e){}getModuleId(e){}}class rr{}let sr,ir;function or(){const e=ve.wtf;return!(!e||!(sr=e.trace)||(ir=sr.events,0))}const lr=or(),ar=lr?function(e,t=null){return ir.createScope(e,t)}:(e,t)=>(function(e,t){return null}),ur=lr?function(e,t){return sr.leaveScope(e,t),t}:(e,t)=>t;class cr{constructor({enableLongStackTrace:e=!1}){if(this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ft(!1),this.onMicrotaskEmpty=new Ft(!1),this.onStable=new Ft(!1),this.onError=new Ft(!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 pr(t),e.invokeTask(r,s,i,o)}finally{mr(t)}},onInvoke:(e,n,r,s,i,o,l)=>{try{return pr(t),e.invoke(r,s,i,o,l)}finally{mr(t)}},onHasTask:(e,n,r,s)=>{e.hasTask(r,s),n===r&&("microTask"==s.change?(t.hasPendingMicrotasks=s.microTask,fr(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(!cr.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(cr.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,hr,dr,dr);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 dr(){}const hr={};function fr(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 pr(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function mr(e){e._nesting--,fr(e)}class gr{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ft,this.onMicrotaskEmpty=new Ft,this.onStable=new Ft,this.onError=new Ft}run(e){return e()}runGuarded(e){return e()}runOutsideAngular(e){return e()}runTask(e){return e()}}class _r{constructor(e){this._ngZone=e,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this._watchAngularEvents(),e.run(()=>{this.taskTrackingZone=Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{cr.assertNotInAngularZone(),xe(()=>{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())xe(()=>{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 yr{constructor(){this._applications=new Map,br.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 br.findTestabilityInTree(this,e,t)}}yr.ctorParameters=(()=>[]);class wr{addToWindow(e){}findTestabilityInTree(e,t,n){return null}}let vr,br=new wr,Cr=function(e,t,n){return e.get(rr).createCompiler([t]).compileModuleAsync(n)};const Er=new fe("AllowMultipleToken");class xr{constructor(e,t){this.name=e,this.token=t}}function Nr(e,t,n=[]){const r=`Platform: ${t}`,s=new fe(r);return(t=[])=>{let i=Ir();if(!i||i.injector.get(Er,!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(vr&&!vr.destroyed&&!vr.injector.get(Er,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");vr=e.get(kr);const t=e.get(Yn,null);t&&t.forEach(e=>e())}(Fe.create({providers:e,name:r}))}return function(e){const t=Ir();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 Ir(){return vr&&!vr.destroyed?vr:null}class kr{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 gr:("zone.js"===s?void 0:s)||new cr({enableLongStackTrace:$t()}),r=[{provide:cr,useValue:n}];var s;return n.run(()=>{const t=Fe.create({providers:r,parent:this.injector,name:e.moduleType.name}),s=e.create(t),i=s.injector.get(En,null);if(!i)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return s.onDestroy(()=>Ar(this._modules,s)),n.runOutsideAngular(()=>n.onError.subscribe({next:e=>{i.handleError(e)}})),function(e,t,n){try{const s=n();return Un(s)?s.catch(n=>{throw t.runOutsideAngular(()=>e.handleError(n)),n}):s}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(i,n,()=>{const e=s.injector.get(qn);return e.runInitializers(),e.donePromise.then(()=>(this._moduleDoBootstrap(s),s))})})}bootstrapModule(e,t=[]){const n=Tr({},t);return Cr(this.injector,n,e).then(e=>this.bootstrapModuleFactory(e,n))}_moduleDoBootstrap(e){const t=e.injector.get(Sr);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(e=>t.bootstrap(e));else{if(!e.instance.ngDoBootstrap)throw new Error(`The module ${Ie(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 Tr(e,t){return Array.isArray(t)?t.reduce(Tr,e):Object.assign({},e,t)}class Sr{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=$t(),this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const o=new C(e=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{e.next(this._stable),e.complete()})}),l=new C(e=>{let t;this._zone.runOutsideAngular(()=>{t=this._zone.onStable.subscribe(()=>{cr.assertNotInAngularZone(),xe(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,e.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{cr.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 A(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 C?e[0]:function(e=Number.POSITIVE_INFINITY){return function e(t,n,r=Number.POSITIVE_INFINITY){return"function"==typeof n?s=>s.pipe(e((e,r)=>K(t(e,r)).pipe($((t,s)=>n(e,t,r,s))),r)):("number"==typeof n&&(r=n),e=>e.lift(new q(t,r)))}(G,e)}(t)(Z(e,n))}(o,l.pipe(e=>ne()(function(e,t){return function(t){let n;n="function"==typeof e?e:function(){return e};const r=Object.create(t,oe);return r.source=t,r.subjectFactory=n,r}}(ae)(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 _t?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);const r=n instanceof Et?null:this._injector.get(xt),s=n.create(Fe.NULL,[],t||n.selector,r);s.onDestroy(()=>{this._unloadComponent(s)});const i=s.injector.get(_r,null);return i&&s.injector.get(yr).registerApplication(s.location.nativeElement,i),this._loadComponent(s),$t()&&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 e=Sr._tickScope();try{this._runningTick=!0,this._views.forEach(e=>e.detectChanges()),this._enforceNoNewChanges&&this._views.forEach(e=>e.checkNoChanges())}catch(t){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(t))}finally{this._runningTick=!1,ur(e)}}attachView(e){const t=e;this._views.push(t),t.attachToAppRef(this)}detachView(e){const t=e;Ar(this._views,t),t.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(Xn,[]).concat(this._bootstrapListeners).forEach(t=>t(e))}_unloadComponent(e){this.detachView(e.hostView),Ar(this.components,e)}ngOnDestroy(){this._views.slice().forEach(e=>e.destroy())}get viewCount(){return this._views.length}}function Ar(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}Sr._tickScope=ar("ApplicationRef#tick()");class Dr{constructor(){this.dirty=!0,this._results=[],this.changes=new Ft,this.length=0}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()}[Ee()](){return this._results[Ee()]()}toString(){return this._results.toString()}reset(e){this._results=function e(t){return t.reduce((t,n)=>{const r=Array.isArray(n)?e(n):n;return t.concat(r)},[])}(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()}}class Mr{}Mr.__NG_ELEMENT_ID__=(()=>At(Mr,Mt));class Rr{}Rr.__NG_ELEMENT_ID__=(()=>St());class Or{constructor(e,t){this.name=e,this.callback=t}}class Vr{constructor(e,t,n){this.nativeNode=e,this._debugContext=n,this.listeners=[],this.parent=null,t&&t instanceof Pr&&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 Pr extends Vr{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(e=>{e.parent&&e.parent.removeChild(e),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 Pr&&(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 Pr&&t.childNodes.forEach(t=>{n(t)&&r.push(t),t instanceof Pr&&e(t,n,r)})}(this,e,t),t}get children(){return this.childNodes.filter(e=>e instanceof Pr)}triggerEventHandler(e,t){this.listeners.forEach(n=>{n.name==e&&n.callback(t)})}}const jr=new Map;function Fr(e){return jr.get(e)||null}function Hr(e){jr.set(e.nativeNode,e)}class Lr{constructor(){}supports(e){return pt(e)}create(e){return new $r(e)}}const Br=(e,t)=>t;class $r{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||Br}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{r=this._trackByFn(t,e),null!==s&&Ne(s.trackById,r)?(i&&(s=this._verifyReinsertion(s,e,r,t)),Ne(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))?(Ne(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,s,r)):null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Ne(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,s,r)):e=this._addAfter(new zr(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 Zr),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 Zr),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 zr{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 Ur{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)&&Ne(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 Zr{constructor(){this.map=new Map}put(e){const t=e.trackById;let n=this.map.get(t);n||(n=new Ur,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 Kr(e,t,n){const r=e.previousIndex;if(null===r)return r;let s=0;return n&&r{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 Gr(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){Ne(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 Gr{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}}class Wr{constructor(e){this.factories=e}static create(e,t){if(null!=t){const n=t.factories.slice();e=e.concat(n)}return new Wr(e)}static extend(e){return{provide:Wr,useFactory:t=>{if(!t)throw new Error("Cannot extend IterableDiffers without a parent injector");return Wr.create(e,t)},deps:[[Wr,new Me,new Ae]]}}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}}Wr.ngInjectableDef=de({providedIn:"root",factory:()=>new Wr([new Lr])});class Yr{constructor(e){this.factories=e}static create(e,t){if(t){const n=t.factories.slice();e=e.concat(n)}return new Yr(e)}static extend(e){return{provide:Yr,useFactory:t=>{if(!t)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return Yr.create(e,t)},deps:[[Yr,new Me,new Ae]]}}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}'`)}}const Jr=[new qr],Xr=new Wr([new Lr]),es=new Yr(Jr),ts=Nr(null,"core",[{provide:Jn,useValue:"unknown"},{provide:kr,deps:[Fe]},{provide:yr,deps:[]},{provide:er,deps:[]}]),ns=new fe("LocaleId");function rs(){return Xr}function ss(){return es}function is(e){return e||"en-US"}class os{constructor(e){}}function ls(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 as(e,t,n){return(1792&e.state)===t&&e.initIndex<=n&&(e.initIndex=n+1,!0)}function us(e,t){return e.nodes[t]}function cs(e,t){return e.nodes[t]}function ds(e,t){return e.nodes[t]}function hs(e,t){return e.nodes[t]}function fs(e,t){return e.nodes[t]}const ps={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};function ms(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 gs(n,t),n}(s,e)}function gs(e,t){e[_n]=t,e[wn]=t.logError.bind(t)}function _s(e){return new Error(`ViewDestroyedError: Attempt to use a destroyed view: ${e}`)}const ys=()=>{},ws=new Map;function vs(e){let t=ws.get(e);return t||(t=Ie(e)+"_"+ws.size,ws.set(e,t)),t}const bs="$$undefined",Cs="$$empty";function Es(e){return{id:bs,styles:e.styles,encapsulation:e.encapsulation,data:e.data}}let xs=0;function Ns(e,t,n,r){return!(!(2&e.state)&&Ne(e.oldValues[t.bindingIndex+n],r))}function Is(e,t,n,r){return!!Ns(e,t,n,r)&&(e.oldValues[t.bindingIndex+n]=r,!0)}function ks(e,t,n,r){const s=e.oldValues[t.bindingIndex+n];if(1&e.state||!dt(s,r)){const i=t.bindings[n].name;throw ms(ps.createDebugContext(e,t.nodeIndex),`${i}: ${s}`,`${i}: ${r}`,0!=(1&e.state))}}function Ts(e){let t=e;for(;t;)2&t.def.flags&&(t.state|=8),t=t.viewContainerParent||t.parent}function Ss(e,t){let n=e;for(;n&&n!==t;)n.state|=64,n=n.viewContainerParent||n.parent}function As(e,t,n,r){try{return Ts(33554432&e.def.nodes[t].flags?cs(e,t).componentView:e),ps.handleEvent(e,t,n,r)}catch(s){e.root.errorHandler.handleError(s)}}function Ds(e){return e.parent?cs(e.parent,e.parentNodeDef.nodeIndex):null}function Ms(e){return e.parent?e.parentNodeDef.parent:null}function Rs(e,t){switch(201347067&t.flags){case 1:return cs(e,t.nodeIndex).renderElement;case 2:return us(e,t.nodeIndex).renderText}}function Os(e){return!!e.parent&&!!(32768&e.parentNodeDef.flags)}function Vs(e){return!(!e.parent||32768&e.parentNodeDef.flags)}function Ps(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<{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,Re,{value:t,configurable:!0}),{flags:r,token:n,tokenKey:vs(n)}})}function Fs(e,t,n){let r=n.renderParent;return r?0==(1&r.flags)||0==(33554432&r.flags)||r.element.componentRendererType&&r.element.componentRendererType.encapsulation===ct.Native?cs(e,n.renderParent.nodeIndex).renderElement:void 0:t}const Hs=new WeakMap;function Ls(e){let t=Hs.get(e);return t||((t=e(()=>ys)).factory=e,Hs.set(e,t)),t}function Bs(e,t,n,r,s){3===t&&(n=e.renderer.parentNode(Rs(e,e.def.lastRenderRootNode))),$s(e,t,0,e.def.nodes.length-1,n,r,s)}function $s(e,t,n,r,s,i,o){for(let l=n;l<=r;l++){const n=e.def.nodes[l];11&n.flags&&Us(e,n,t,s,i,o),l+=n.childCount}}function zs(e,t,n,r,s,i){let o=e;for(;o&&!Os(o);)o=o.parent;const l=o.parent,a=Ms(o),u=a.nodeIndex+a.childCount;for(let c=a.nodeIndex+1;c<=u;c++){const e=l.def.nodes[c];e.ngContentIndex===t&&Us(l,e,n,r,s,i),c+=e.childCount}if(!l.parent){const o=e.root.projectableNodes[t];if(o)for(let t=0;t{const[n,r]=qs(e);return[n,r,t]});return d=function(e){if(e&&e.id===bs){const t=null!=e.encapsulation&&e.encapsulation!==ct.None||e.styles.length||Object.keys(e.data).length;e.id=t?`c${xs++}`:Cs}return e&&e.id===Cs&&(e=null),e||null}(d),c&&(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:_,bindingFlags:Qs(_),outputs:y,element:{ns:m,name:g,attrs:w,template:null,componentProvider:null,componentView:c||null,componentRendererType:d,publicProviders:null,allProviders:null,handleEvent:u||ys},provider:null,text:null,query:null,ngContent:null}}function Ys(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=Fs(e,t,n);s&&i.appendChild(s,o)}else o=i.selectRootElement(s,!!r.componentRendererType&&r.componentRendererType.encapsulation===ct.ShadowDom);if(r.attrs)for(let l=0;lAs(e,t,n,r)}function ei(e,t,n,r){if(!Is(e,t,n,r))return!1;const s=t.bindings[n],i=cs(e,t.nodeIndex),o=i.renderElement,l=s.name;switch(15&s.flags){case 1:!function(e,t,n,r,s,i){const o=t.securityContext;let l=o?e.root.sanitizer.sanitize(o,i):i;l=null!=l?l.toString():null;const a=e.renderer;null!=i?a.setAttribute(n,s,l,r):a.removeAttribute(n,s,r)}(e,s,o,s.ns,l,r);break;case 2:!function(e,t,n,r){const s=e.renderer;r?s.addClass(t,n):s.removeClass(t,n)}(e,o,l,r);break;case 4:!function(e,t,n,r,s){let i=e.root.sanitizer.sanitize(cn.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,l,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,l,r)}return!0}const ti=new Object,ni=vs(Fe),ri=vs(Pe),si=vs(xt);function ii(e,t,n,r){return n=Te(n),{index:-1,deps:js(r,Ie(t)),flags:e,token:t,value:n}}function oi(e,t,n=Fe.THROW_IF_NOT_FOUND){const r=et(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 ni:case ri:case si:return e}const l=e._def.providersByKey[o];let a;if(l){let t=e._providers[l.index];return void 0===t&&(t=e._providers[l.index]=li(e,l)),t===ti?void 0:t}if((a=he(t.token))&&(s=e,null!=(i=a).providedIn&&(function(e,t){return e._def.modules.indexOf(i.providedIn)>-1}(s)||"root"===i.providedIn&&s._def.isRoot))){const n=e._providers.length;return e._def.providersByKey[t.tokenKey]={flags:5120,value:a.factory,deps:[],index:n,token:t.token},e._providers[n]=ti,e._providers[n]=li(e,e._def.providersByKey[t.tokenKey])}return 4&t.flags?n:e._parent.get(t.token,n)}finally{et(r)}var s,i}function li(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(oi(e,n[0]));case 2:return new t(oi(e,n[0]),oi(e,n[1]));case 3:return new t(oi(e,n[0]),oi(e,n[1]),oi(e,n[2]));default:const s=new Array(r);for(let t=0;t=n.length)&&(t=n.length-1),t<0)return null;const r=n[t];return r.viewContainerParent=null,hi(n,t),ps.dirtyParentQueries(r),ci(r),r}function ui(e,t,n){const r=t?Rs(t,t.def.lastRenderRootNode):e.renderElement,s=n.renderer.parentNode(r),i=n.renderer.nextSibling(r);Bs(n,2,s,i,void 0)}function ci(e){Bs(e,3,null,null,void 0)}function di(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function hi(e,t){t>=e.length-1?e.pop():e.splice(t,1)}const fi=new Object;function pi(e,t,n,r,s,i){return new mi(e,t,n,r,s,i)}class mi extends _t{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=Ls(this.viewDefFactory),i=s.nodes[0].element.componentProvider.nodeIndex,o=ps.createRootView(e,t||[],n,s,r,fi),l=ds(o,i).instance;return n&&o.renderer.setAttribute(cs(o,0).renderElement,"ng-version",gn.full),new gi(o,new vi(o),l)}}class gi extends gt{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 Mt(cs(this._view,this._elDef.nodeIndex).renderElement)}get injector(){return new xi(this._view,this._elDef)}get componentType(){return this._component.constructor}destroy(){this._viewRef.destroy()}onDestroy(e){this._viewRef.onDestroy(e)}}function _i(e,t,n){return new yi(e,t,n)}class yi{constructor(e,t,n){this._view=e,this._elDef=t,this._data=n,this._embeddedViews=[]}get element(){return new Mt(this._data.renderElement)}get injector(){return new xi(this._view,this._elDef)}get parentInjector(){let e=this._view,t=this._elDef.parent;for(;!t&&e;)t=Ms(e),e=e.parent;return e?new xi(e,t):new xi(this._view,null)}clear(){for(let e=this._embeddedViews.length-1;e>=0;e--){const t=ai(this._data,e);ps.destroyView(t)}}get(e){const t=this._embeddedViews[e];if(t){const e=new vi(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 Et||(s=i.get(xt));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,di(s,n,r),function(e,t){const n=Ds(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,n){if(4&n.flags)return;t.parent.def.nodeFlags|=4,n.flags|=4;let r=n.parent;for(;r;)r.childFlags|=4,r=r.parent}(0,t.parentNodeDef)}(t,r),ps.dirtyParentQueries(r),ui(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,r){const s=e.viewContainer._embeddedViews,i=s[n];hi(s,n),null==r&&(r=s.length),di(s,r,i),ps.dirtyParentQueries(i),ci(i),ui(e,r>0?s[r-1]:null,i)}(this._data,0,t),e}indexOf(e){return this._embeddedViews.indexOf(e._view)}remove(e){const t=ai(this._data,e);t&&ps.destroyView(t)}detach(e){const t=ai(this._data,e);return t?new vi(t):null}}function wi(e){return new vi(e)}class vi{constructor(e){this._view=e,this._viewContainerRef=null,this._appRef=null}get rootNodes(){return function(e){const t=[];return Bs(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(){Ts(this._view)}detach(){this._view.state&=-5}detectChanges(){const e=this._view.root.rendererFactory;e.begin&&e.begin();try{ps.checkAndUpdateView(this._view)}finally{e.end&&e.end()}}checkNoChanges(){ps.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)),ps.destroyView(this._view)}detachFromAppRef(){this._appRef=null,ci(this._view),ps.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 bi(e,t){return new Ci(e,t)}class Ci extends Ht{constructor(e,t){super(),this._parentView=e,this._def=t}createEmbeddedView(e){return new vi(ps.createEmbeddedView(this._parentView,this._def,this._def.element.template,e))}get elementRef(){return new Mt(cs(this._parentView,this._def.nodeIndex).renderElement)}}function Ei(e,t){return new xi(e,t)}class xi{constructor(e,t){this.view=e,this.elDef=t}get(e,t=Fe.THROW_IF_NOT_FOUND){return ps.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:e,tokenKey:vs(e)},t)}}function Ni(e,t){const n=e.def.nodes[t];if(1&n.flags){const t=cs(e,n.nodeIndex);return n.element.template?t.template:t.renderElement}if(2&n.flags)return us(e,n.nodeIndex).renderText;if(20240&n.flags)return ds(e,n.nodeIndex).instance;throw new Error(`Illegal state: read nodeValue for node index ${t}`)}function Ii(e){return new ki(e.renderer)}class ki{constructor(e){this.delegate=e}selectRootElement(e){return this.delegate.selectRootElement(e)}createElement(e,t){const[n,r]=qs(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;ne())}onDestroy(e){this._destroyListeners.push(e)}}const Ai=vs(Rt),Di=vs(Pt),Mi=vs(Mt),Ri=vs(Mr),Oi=vs(Ht),Vi=vs(Rr),Pi=vs(Fe),ji=vs(Pe);function Fi(e,t,n,r,s,i,o,l){const a=[];if(o)for(let c in o){const[e,t]=o[c];a[e]={flags:8,name:c,nonMinifiedName:t,ns:null,securityContext:null,suffix:null}}const u=[];if(l)for(let c in l)u.push({type:1,propName:c,target:null,eventName:l[c]});return Hi(e,t|=16384,n,r,s,s,i,a,u)}function Hi(e,t,n,r,s,i,o,l,a){const{matchedQueries:u,references:c,matchedQueryIds:d}=Ps(n);a||(a=[]),l||(l=[]),i=Te(i);const h=js(o,Ie(s));return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:t,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:u,matchedQueryIds:d,references:c,ngContentIndex:-1,childCount:r,bindings:l,bindingFlags:Qs(l),outputs:a,element:null,provider:{token:s,value:i,deps:h},text:null,query:null,ngContent:null}}function Li(e,t){return Ui(e,t)}function Bi(e,t){let n=e;for(;n.parent&&!Os(n);)n=n.parent;return Zi(n.parent,Ms(n),!0,t.provider.value,t.provider.deps)}function $i(e,t){const n=Zi(e,t.parent,(32768&t.flags)>0,t.provider.value,t.provider.deps);if(t.outputs.length)for(let r=0;rAs(e,t,n,r)}function Ui(e,t){const n=(8192&t.flags)>0,r=t.provider;switch(201347067&t.flags){case 512:return Zi(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(qi(e,t,n,s[0]));case 2:return r(qi(e,t,n,s[0]),qi(e,t,n,s[1]));case 3:return r(qi(e,t,n,s[0]),qi(e,t,n,s[1]),qi(e,t,n,s[2]));default:const o=Array(i);for(let r=0;r0)u=e,uo(e)||(c=e);else for(;u&&p===u.nodeIndex+u.childCount;){const e=u.parent;e&&(e.childFlags|=u.childFlags,e.childMatchedQueries|=u.childMatchedQueries),c=(u=e)&&uo(u)?u.renderParent:u}}return{factory:null,nodeFlags:o,rootNodeFlags:l,nodeMatchedQueries:a,flags:e,nodes:t,updateDirectives:n||ys,updateRenderer:r||ys,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 co(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 ho(e,t,n,r){const s=mo(e.root,e.renderer,e,t,n);return go(s,e.component,r),_o(s),s}function fo(e,t,n){const r=mo(e,e.renderer,null,null,t);return go(r,n,n),_o(r),r}function po(e,t,n,r){const s=t.element.componentRendererType;let i;return i=s?e.root.rendererFactory.createRenderer(r,s):e.root.renderer,mo(e.root,i,e,t.element.componentProvider,n)}function mo(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 go(e,t,n){e.component=t,e.context=n}function _o(e){let t;Os(e)&&(t=cs(e.parent,e.parentNodeDef.parent.nodeIndex).renderElement);const n=e.def,r=e.nodes;for(let s=0;s0&&ei(e,t,0,n)&&(f=!0),h>1&&ei(e,t,1,r)&&(f=!0),h>2&&ei(e,t,2,s)&&(f=!0),h>3&&ei(e,t,3,i)&&(f=!0),h>4&&ei(e,t,4,o)&&(f=!0),h>5&&ei(e,t,5,l)&&(f=!0),h>6&&ei(e,t,6,a)&&(f=!0),h>7&&ei(e,t,7,u)&&(f=!0),h>8&&ei(e,t,8,c)&&(f=!0),h>9&&ei(e,t,9,d)&&(f=!0),f}(e,t,n,r,s,i,o,l,a,u,c,d);case 2:return function(e,t,n,r,s,i,o,l,a,u,c,d){let h=!1;const f=t.bindings,p=f.length;if(p>0&&Is(e,t,0,n)&&(h=!0),p>1&&Is(e,t,1,r)&&(h=!0),p>2&&Is(e,t,2,s)&&(h=!0),p>3&&Is(e,t,3,i)&&(h=!0),p>4&&Is(e,t,4,o)&&(h=!0),p>5&&Is(e,t,5,l)&&(h=!0),p>6&&Is(e,t,6,a)&&(h=!0),p>7&&Is(e,t,7,u)&&(h=!0),p>8&&Is(e,t,8,c)&&(h=!0),p>9&&Is(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(l,f[5])),p>6&&(h+=lo(a,f[6])),p>7&&(h+=lo(u,f[7])),p>8&&(h+=lo(c,f[8])),p>9&&(h+=lo(d,f[9]));const m=us(e,t.nodeIndex).renderText;e.renderer.setValue(m,h)}return h}(e,t,n,r,s,i,o,l,a,u,c,d);case 16384:return function(e,t,n,r,s,i,o,l,a,u,c,d){const h=ds(e,t.nodeIndex),f=h.instance;let p=!1,m=void 0;const g=t.bindings.length;return g>0&&Ns(e,t,0,n)&&(p=!0,m=Gi(e,h,t,0,n,m)),g>1&&Ns(e,t,1,r)&&(p=!0,m=Gi(e,h,t,1,r,m)),g>2&&Ns(e,t,2,s)&&(p=!0,m=Gi(e,h,t,2,s,m)),g>3&&Ns(e,t,3,i)&&(p=!0,m=Gi(e,h,t,3,i,m)),g>4&&Ns(e,t,4,o)&&(p=!0,m=Gi(e,h,t,4,o,m)),g>5&&Ns(e,t,5,l)&&(p=!0,m=Gi(e,h,t,5,l,m)),g>6&&Ns(e,t,6,a)&&(p=!0,m=Gi(e,h,t,6,a,m)),g>7&&Ns(e,t,7,u)&&(p=!0,m=Gi(e,h,t,7,u,m)),g>8&&Ns(e,t,8,c)&&(p=!0,m=Gi(e,h,t,8,c,m)),g>9&&Ns(e,t,9,d)&&(p=!0,m=Gi(e,h,t,9,d,m)),m&&f.ngOnChanges(m),65536&t.flags&&as(e,256,t.nodeIndex)&&f.ngOnInit(),262144&t.flags&&f.ngDoCheck(),p}(e,t,n,r,s,i,o,l,a,u,c,d);case 32:case 64:case 128:return function(e,t,n,r,s,i,o,l,a,u,c,d){const h=t.bindings;let f=!1;const p=h.length;if(p>0&&Is(e,t,0,n)&&(f=!0),p>1&&Is(e,t,1,r)&&(f=!0),p>2&&Is(e,t,2,s)&&(f=!0),p>3&&Is(e,t,3,i)&&(f=!0),p>4&&Is(e,t,4,o)&&(f=!0),p>5&&Is(e,t,5,l)&&(f=!0),p>6&&Is(e,t,6,a)&&(f=!0),p>7&&Is(e,t,7,u)&&(f=!0),p>8&&Is(e,t,8,c)&&(f=!0),p>9&&Is(e,t,9,d)&&(f=!0),f){const f=hs(e,t.nodeIndex);let m;switch(201347067&t.flags){case 32:m=new Array(h.length),p>0&&(m[0]=n),p>1&&(m[1]=r),p>2&&(m[2]=s),p>3&&(m[3]=i),p>4&&(m[4]=o),p>5&&(m[5]=l),p>6&&(m[6]=a),p>7&&(m[7]=u),p>8&&(m[8]=c),p>9&&(m[9]=d);break;case 64:m={},p>0&&(m[h[0].name]=n),p>1&&(m[h[1].name]=r),p>2&&(m[h[2].name]=s),p>3&&(m[h[3].name]=i),p>4&&(m[h[4].name]=o),p>5&&(m[h[5].name]=l),p>6&&(m[h[6].name]=a),p>7&&(m[h[7].name]=u),p>8&&(m[h[8].name]=c),p>9&&(m[h[9].name]=d);break;case 128:const e=n;switch(p){case 1:m=e.transform(n);break;case 2:m=e.transform(r);break;case 3:m=e.transform(r,s);break;case 4:m=e.transform(r,s,i);break;case 5:m=e.transform(r,s,i,o);break;case 6:m=e.transform(r,s,i,o,l);break;case 7:m=e.transform(r,s,i,o,l,a);break;case 8:m=e.transform(r,s,i,o,l,a,u);break;case 9:m=e.transform(r,s,i,o,l,a,u,c);break;case 10:m=e.transform(r,s,i,o,l,a,u,c,d)}}f.value=m}return f}(e,t,n,r,s,i,o,l,a,u,c,d);default:throw"unreachable"}}(e,t,r,s,i,o,l,a,u,c,d,h):function(e,t,n){switch(201347067&t.flags){case 1:return function(e,t,n){let r=!1;for(let s=0;s0&&ks(e,t,0,n),h>1&&ks(e,t,1,r),h>2&&ks(e,t,2,s),h>3&&ks(e,t,3,i),h>4&&ks(e,t,4,o),h>5&&ks(e,t,5,l),h>6&&ks(e,t,6,a),h>7&&ks(e,t,7,u),h>8&&ks(e,t,8,c),h>9&&ks(e,t,9,d)}(e,t,r,s,i,o,l,a,u,c,d,h):function(e,t,n){for(let r=0;r{const r=Fo.get(e.token);3840&e.flags&&r&&(t=!0,n=n||r.deprecatedBehavior)}),e.modules.forEach(e=>{Ho.forEach((r,s)=>{he(s).providedIn===e&&(t=!0,n=n||r.deprecatedBehavior)})}),{hasOverrides:t,hasDeprecatedOverrides:n})}(e);return t?(function(e){for(let t=0;t0){let t=new Set(e.modules);Ho.forEach((r,s)=>{if(t.has(he(s).providedIn)){let t={token:s,flags:r.flags|(n?4096:0),deps:js(r.deps),value:r.value,index:e.providers.length};e.providers.push(t),e.providersByKey[vs(s)]=t}})}}(e=e.factory(()=>ys)),e):e}(r))}const Fo=new Map,Ho=new Map,Lo=new Map;function Bo(e){let t;Fo.set(e.token,e),"function"==typeof e.token&&(t=he(e.token))&&"function"==typeof t.providedIn&&Ho.set(e.token,e)}function $o(e,t){const n=Ls(t.viewDefFactory),r=Ls(n.nodes[0].element.componentView);Lo.set(e,r)}function zo(){Fo.clear(),Ho.clear(),Lo.clear()}function Uo(e){if(0===Fo.size)return e;const t=function(e){const t=[];let n=null;for(let r=0;rys);for(let r=0;r"-"+e[1].toLowerCase())}`)]=ll(l))}const r=t.parent,l=cs(e,r.nodeIndex).renderElement;if(r.element.name)for(let t in n){const r=n[t];null!=r?e.renderer.setAttribute(l,t,r):e.renderer.removeAttribute(l,t)}else e.renderer.setValue(l,`bindings=${JSON.stringify(n,null,2)}`)}}var s,i}function il(e,t,n,r){Co(e,t,n,...r)}const ol=/([A-Z])/g;function ll(e){try{return null!=e?e.toString().slice(0,30):e}catch(t){return"[ERROR] Exception while trying to serialize the value"}}function al(e,t){for(let n=t;n++i===s?e.error.bind(e,...t):ys),inew cl(e,t),handleEvent:tl,updateDirectives:nl,updateRenderer:rl}:{setCurrentNode:()=>{},createRootView:Mo,createEmbeddedView:ho,createComponentView:po,createNgModuleRef:Ti,overrideProvider:ys,overrideComponentView:ys,clearOverrides:ys,checkAndUpdateView:wo,checkNoChangesView:yo,destroyView:xo,createDebugContext:(e,t)=>new cl(e,t),handleEvent:(e,t,n,r)=>e.def.handleEvent(e,t,n,r),updateDirectives:(e,t)=>e.def.updateDirectives(0===t?Zo:Ko,e),updateRenderer:(e,t)=>e.def.updateRenderer(0===t?Zo:Ko,e)};ps.setCurrentNode=e.setCurrentNode,ps.createRootView=e.createRootView,ps.createEmbeddedView=e.createEmbeddedView,ps.createComponentView=e.createComponentView,ps.createNgModuleRef=e.createNgModuleRef,ps.overrideProvider=e.overrideProvider,ps.overrideComponentView=e.overrideComponentView,ps.clearOverrides=e.clearOverrides,ps.checkAndUpdateView=e.checkAndUpdateView,ps.checkNoChangesView=e.checkNoChangesView,ps.destroyView=e.destroyView,ps.resolveDep=qi,ps.createDebugContext=e.createDebugContext,ps.handleEvent=e.handleEvent,ps.updateDirectives=e.updateDirectives,ps.updateRenderer=e.updateRenderer,ps.dirtyParentQueries=Xi}();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}}(Ls(this._ngModuleDefFactory));return ps.createNgModuleRef(this.moduleType,e||Fe.NULL,this._bootstrapComponents,t)}}class yl{}class wl{}class vl{}const bl=void 0;var Cl=["en",[["a","p"],["AM","PM"],bl],[["AM","PM"],bl,bl],[["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"]],bl,[["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"]],bl,[["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}",bl,"{1} 'at' {0}",bl],[".",",",";","%","+","-","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 El={};var xl=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}();const Nl=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Il=new fe("UseV4Plurals");class kl{}class Tl extends kl{constructor(e,t){super(),this.locale=e,this.deprecatedPluralFn=t}getPluralCategory(e,t){switch(this.deprecatedPluralFn?this.deprecatedPluralFn(t||this.locale,e):function(e){return function(e){const t=e.toLowerCase().replace(/_/g,"-");let n=El[t];if(n)return n;const r=t.split("-")[0];if(n=El[r])return n;if("en"===r)return Cl;throw new Error(`Missing locale data for the locale "${e}".`)}(e)[18]}(t||this.locale)(e)){case xl.Zero:return"zero";case xl.One:return"one";case xl.Two:return"two";case xl.Few:return"few";case xl.Many:return"many";default:return"other"}}}class Sl{constructor(e,t,n,r){this._iterableDiffers=e,this._keyValueDiffers=t,this._ngEl=n,this._renderer=r,this._initialClasses=[]}set klass(e){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof e?e.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(e){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof e?e.split(/\s+/):e,this._rawClass&&(pt(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const e=this._iterableDiffer.diff(this._rawClass);e&&this._applyIterableChanges(e)}else if(this._keyValueDiffer){const e=this._keyValueDiffer.diff(this._rawClass);e&&this._applyKeyValueChanges(e)}}_applyKeyValueChanges(e){e.forEachAddedItem(e=>this._toggleClass(e.key,e.currentValue)),e.forEachChangedItem(e=>this._toggleClass(e.key,e.currentValue)),e.forEachRemovedItem(e=>{e.previousValue&&this._toggleClass(e.key,!1)})}_applyIterableChanges(e){e.forEachAddedItem(e=>{if("string"!=typeof e.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${Ie(e.item)}`);this._toggleClass(e.item,!0)}),e.forEachRemovedItem(e=>this._toggleClass(e.item,!1))}_applyClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(e=>this._toggleClass(e,!0)):Object.keys(e).forEach(t=>this._toggleClass(t,!!e[t])))}_removeClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(e=>this._toggleClass(e,!1)):Object.keys(e).forEach(e=>this._toggleClass(e,!1)))}_toggleClass(e,t){(e=e.trim())&&e.split(/\s+/g).forEach(e=>{t?this._renderer.addClass(this._ngEl.nativeElement,e):this._renderer.removeClass(this._ngEl.nativeElement,e)})}}class Al{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 Dl{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){$t()&&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 Al(null,this._ngForOf,-1,-1),r),s=new Ml(e,n);t.push(s)}else if(null==r)this._viewContainer.remove(n);else{const s=this._viewContainer.get(n);this._viewContainer.move(s,r);const i=new Ml(e,s);t.push(i)}});for(let n=0;n{this._viewContainer.get(e.currentIndex).context.$implicit=e.item})}_perViewChange(e,t){e.context.$implicit=t.item}static ngTemplateContextGuard(e,t){return!0}}class Ml{constructor(e,t){this.record=e,this.view=t}}class Rl{constructor(e,t){this._viewContainer=e,this._context=new Ol,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=t}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){Vl("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){Vl("ngIfElse",e),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateGuard_ngIf(e,t){return!0}}class Ol{constructor(){this.$implicit=null,this.ngIf=null}}function Vl(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${Ie(t)}'.`)}function Pl(e,t){return Error(`InvalidPipeArgument: '${t}' for pipe '${Ie(e)}'`)}const jl=/((?:[^yMLdHhmsazZEwGjJ']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|L+|d+|H+|h+|J+|j+|m+|s+|a|z|Z|G+|w+))(.*)/,Fl={yMMMdjms:Gl(Ql([Kl("year",1),ql("month",3),Kl("day",1),Kl("hour",1),Kl("minute",1),Kl("second",1)])),yMdjm:Gl(Ql([Kl("year",1),Kl("month",1),Kl("day",1),Kl("hour",1),Kl("minute",1)])),yMMMMEEEEd:Gl(Ql([Kl("year",1),ql("month",4),ql("weekday",4),Kl("day",1)])),yMMMMd:Gl(Ql([Kl("year",1),ql("month",4),Kl("day",1)])),yMMMd:Gl(Ql([Kl("year",1),ql("month",3),Kl("day",1)])),yMd:Gl(Ql([Kl("year",1),Kl("month",1),Kl("day",1)])),jms:Gl(Ql([Kl("hour",1),Kl("second",1),Kl("minute",1)])),jm:Gl(Ql([Kl("hour",1),Kl("minute",1)]))},Hl={yyyy:Gl(Kl("year",4)),yy:Gl(Kl("year",2)),y:Gl(Kl("year",1)),MMMM:Gl(ql("month",4)),MMM:Gl(ql("month",3)),MM:Gl(Kl("month",2)),M:Gl(Kl("month",1)),LLLL:Gl(ql("month",4)),L:Gl(ql("month",1)),dd:Gl(Kl("day",2)),d:Gl(Kl("day",1)),HH:Ll($l(Gl(Zl(Kl("hour",2),!1)))),H:$l(Gl(Zl(Kl("hour",1),!1))),hh:Ll($l(Gl(Zl(Kl("hour",2),!0)))),h:$l(Gl(Zl(Kl("hour",1),!0))),jj:Gl(Kl("hour",2)),j:Gl(Kl("hour",1)),mm:Ll(Gl(Kl("minute",2))),m:Gl(Kl("minute",1)),ss:Ll(Gl(Kl("second",2))),s:Gl(Kl("second",1)),sss:Gl(Kl("second",3)),EEEE:Gl(ql("weekday",4)),EEE:Gl(ql("weekday",3)),EE:Gl(ql("weekday",2)),E:Gl(ql("weekday",1)),a:Bl(Gl(Zl(Kl("hour",1),!0))),Z:Ul("short"),z:Ul("long"),ww:Gl({}),w:Gl({}),G:Gl(ql("era",1)),GG:Gl(ql("era",2)),GGG:Gl(ql("era",3)),GGGG:Gl(ql("era",4))};function Ll(e){return function(t,n){const r=e(t,n);return 1==r.length?"0"+r:r}}function Bl(e){return function(t,n){return e(t,n).split(" ")[1]}}function $l(e){return function(t,n){return e(t,n).split(" ")[0]}}function zl(e,t,n){return new Intl.DateTimeFormat(t,n).format(e).replace(/[\u200e\u200f]/g,"")}function Ul(e){const t={hour:"2-digit",hour12:!1,timeZoneName:e};return function(e,n){const r=zl(e,n,t);return r?r.substring(3):""}}function Zl(e,t){return e.hour12=t,e}function Kl(e,t){const n={};return n[e]=2===t?"2-digit":"numeric",n}function ql(e,t){const n={};return n[e]=t<4?t>1?"short":"narrow":"long",n}function Ql(e){return e.reduce((e,t)=>Object.assign({},e,t),{})}function Gl(e){return(t,n)=>zl(t,n,e)}const Wl=new Map;class Yl{static format(e,t,n){return function(e,t,n){const r=Fl[e];if(r)return r(t,n);const s=e;let i=Wl.get(s);if(!i){let t;i=[],jl.exec(e);let n=e;for(;n;)(t=jl.exec(n))?n=(i=i.concat(t.slice(1))).pop():(i.push(n),n=null);Wl.set(s,i)}return i.reduce((e,r)=>{const s=Hl[r];return e+(s?s(t,n):function(e){return"''"===e?"'":e.replace(/(^'|'$)/g,"").replace(/''/g,"'")}(r))},"")}(n,e,t)}}class Jl{constructor(e){this._locale=e}transform(e,t="mediumDate"){if(null==e||""===e||e!=e)return null;let n;if("string"==typeof e&&(e=e.trim()),Xl(e))n=e;else if(isNaN(e-parseFloat(e)))if("string"==typeof e&&/^(\d{4}-\d{1,2}-\d{1,2})$/.test(e)){const[t,r,s]=e.split("-").map(e=>parseInt(e,10));n=new Date(t,r-1,s)}else n=new Date(e);else n=new Date(parseFloat(e));if(!Xl(n)){let t;if("string"!=typeof e||!(t=e.match(Nl)))throw Pl(Jl,e);n=function(e){const t=new Date(0);let n=0,r=0;const s=e[8]?t.setUTCFullYear:t.setFullYear,i=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),r=Number(e[9]+e[11])),s.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));const o=Number(e[4]||0)-n,l=Number(e[5]||0)-r,a=Number(e[6]||0),u=Math.round(1e3*parseFloat("0."+(e[7]||0)));return i.call(t,o,l,a,u),t}(t)}return Yl.format(n,this._locale,Jl._ALIASES[t]||t)}}function Xl(e){return e instanceof Date&&!isNaN(e.valueOf())}Jl._ALIASES={medium:"yMMMdjms",short:"yMdjm",fullDate:"yMMMMEEEEd",longDate:"yMMMMd",mediumDate:"yMMMd",shortDate:"yMd",mediumTime:"jms",shortTime:"jm"};class ea{createSubscription(e,t){return e.subscribe({next:t,error:e=>{throw e}})}dispose(e){e.unsubscribe()}onDestroy(e){e.unsubscribe()}}class ta{createSubscription(e,t){return e.then(t,e=>{throw e})}dispose(e){}onDestroy(e){}}const na=new ta,ra=new ea;class sa{constructor(e){this._ref=e,this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(e){return this._obj?e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue===this._latestReturnedValue?this._latestReturnedValue:(this._latestReturnedValue=this._latestValue,ht.wrap(this._latestValue)):(e&&this._subscribe(e),this._latestReturnedValue=this._latestValue,this._latestValue)}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,t=>this._updateLatestValue(e,t))}_selectStrategy(e){if(Un(e))return na;if(Zn(e))return ra;throw Pl(sa,e)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,t){e===this._obj&&(this._latestValue=t,this._ref.markForCheck())}}class ia{}const oa=new fe("DocumentToken"),la="server";class aa{}var ua=Es({encapsulation:2,styles:[],data:{}});function ca(e){return ao(0,[(e()(),Ws(0,0,null,null,1,"div",[["class","element-bg-img"]],null,null,null,null,null)),(e()(),Ws(1,0,null,null,0,"img",[["class","img-responsive"]],[[8,"src",4],[8,"alt",0]],null,null,null,null))],null,function(e,t){var n=t.component;e(t,1,0,"assets/images/"+n.current.image,n.current.name)})}function da(e){return ao(0,[(e()(),Gs(16777216,null,null,1,null,ca)),Fi(1,16384,null,0,Rl,[Mr,Ht],{ngIf:[0,"ngIf"]},null)],function(e,t){e(t,1,0,t.component.current.image)},null)}class ha{constructor(){this.currentChange=new Ft}select(e){console.log("select() destination",e),this.current=e,this.currentChange.emit(e)}}var fa=Es({encapsulation:2,styles:[],data:{}});function pa(e){return ao(0,[(e()(),Ws(0,0,null,null,5,"li",[],null,null,null,null,null)),Fi(1,278528,null,0,Sl,[Wr,Yr,Mt,Pt],{ngClass:[0,"ngClass"]},null),so(2,{"anc-bor":0}),(e()(),Ws(3,0,null,null,2,"a",[["class","selectable"]],[[8,"innerHTML",1]],[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.select(e.context.$implicit)&&r),r},null,null)),Fi(4,278528,null,0,Sl,[Wr,Yr,Mt,Pt],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),so(5,{selected:0})],function(e,t){var n=t.component,r=e(t,2,0,t.context.last);e(t,1,0,r);var s=e(t,5,0,t.context.$implicit===n.current);e(t,4,0,"selectable",s)},function(e,t){e(t,3,0,t.context.$implicit.name)})}function ma(e){return ao(0,[(e()(),Ws(0,0,null,null,3,"div",[["class","ele-strip"]],null,null,null,null,null)),(e()(),Ws(1,0,null,null,2,"ul",[],null,null,null,null,null)),(e()(),Gs(16777216,null,null,1,null,pa)),Fi(3,278528,null,0,Dl,[Mr,Ht,Wr],{ngForOf:[0,"ngForOf"]},null)],function(e,t){e(t,3,0,t.component.all)},null)}class ga{constructor(){this.currentChange=new Ft}select(e){console.log("select() activity",e),this.current=e,this.currentChange.emit(e)}}var _a=Es({encapsulation:2,styles:[],data:{}});function ya(e){return ao(0,[(e()(),Ws(0,0,null,null,1,"p",[],null,null,null,null,null)),(e()(),io(1,null,["",""]))],null,function(e,t){e(t,1,0,t.context.$implicit)})}function wa(e){return ao(0,[(e()(),Ws(0,0,null,null,1,"li",[],null,null,null,null,null)),(e()(),Ws(1,0,null,null,0,"img",[["alt",""]],[[8,"src",4]],null,null,null,null))],null,function(e,t){e(t,1,0,"assets/images/"+t.context.$implicit)})}function va(e){return ao(0,[(e()(),Ws(0,0,null,null,3,"div",[["class","activity-img"]],null,null,null,null,null)),(e()(),Ws(1,0,null,null,2,"ul",[],null,null,null,null,null)),(e()(),Gs(16777216,null,null,1,null,wa)),Fi(3,278528,null,0,Dl,[Mr,Ht,Wr],{ngForOf:[0,"ngForOf"]},null)],function(e,t){e(t,3,0,t.parent.context.$implicit.images)},null)}function ba(e){return ao(0,[(e()(),Ws(0,0,null,null,10,"div",[["class","activity-row selectable"]],null,[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.select(e.context.$implicit)&&r),r},null,null)),(e()(),Ws(1,0,null,null,6,"div",[["class","activity-desc"]],null,null,null,null,null)),(e()(),Ws(2,0,null,null,1,"h5",[],null,null,null,null,null)),(e()(),io(3,null,["",""])),(e()(),Gs(16777216,null,null,1,null,ya)),Fi(5,278528,null,0,Dl,[Mr,Ht,Wr],{ngForOf:[0,"ngForOf"]},null),(e()(),Ws(6,0,null,null,1,"h6",[],null,null,null,null,null)),(e()(),io(7,null,["Tel:",""])),(e()(),Gs(16777216,null,null,1,null,va)),Fi(9,16384,null,0,Rl,[Mr,Ht],{ngIf:[0,"ngIf"]},null),(e()(),Ws(10,0,null,null,0,"div",[["class","clear"]],null,null,null,null,null))],function(e,t){e(t,5,0,t.context.$implicit.description),e(t,9,0,t.context.$implicit.images.length>0)},function(e,t){e(t,3,0,t.context.$implicit.title),e(t,7,0,t.context.$implicit.contactInfo)})}function Ca(e){return ao(0,[(e()(),Ws(0,0,null,null,7,"div",[["class","village"]],null,null,null,null,null)),(e()(),Ws(1,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),io(2,null,["",""])),(e()(),Ws(3,0,null,null,0,"span",[["class","line"]],null,null,null,null,null)),(e()(),Ws(4,0,null,null,3,"div",[["class","activity_box"]],null,null,null,null,null)),(e()(),Ws(5,0,null,null,2,"div",[["class","scrollbar"],["id","style-2"]],null,null,null,null,null)),(e()(),Gs(16777216,null,null,1,null,ba)),Fi(7,278528,null,0,Dl,[Mr,Ht,Wr],{ngForOf:[0,"ngForOf"]},null)],function(e,t){e(t,7,0,t.component.dest.activities)},function(e,t){e(t,2,0,t.component.dest.title)})}function Ea(e){return Math.floor(Math.random()*Math.floor(e))}function xa(e){const t=e.length;if(t)return e[Ea(t)]}const Na=["cloud","sun","rain","snow"],Ia=K([11,12,13,21,22,23,31,32,33]).pipe($(e=>{const t=Ea(30)-Ea(45);let n=xa(Na),r=Ea(101);return t>=0?"snow"===n&&(n="rain",r=85+Ea(15)):"rain"===n&&(n="snow",r=50+Ea(40)),{geoId:e,conditions:n,temp:t,humidity:r}}));class ka{constructor(){this._data={},Ia.subscribe(e=>this._data[e.geoId]=e)}set activity(e){this._a=e,this.weather=this._data[e.geoId]}get activity(){return this._a}}var Ta=Es({encapsulation:2,styles:[],data:{}});function Sa(e){return ao(0,[(e()(),Ws(0,0,null,null,12,"div",[["class","temperatur"]],null,null,null,null,null)),(e()(),Ws(1,0,null,null,1,"h5",[],null,null,null,null,null)),(e()(),io(2,null,["",""])),(e()(),Ws(3,0,null,null,0,"span",[["class","w-line"]],null,null,null,null,null)),(e()(),Ws(4,0,null,null,0,"span",[],[[8,"className",0]],null,null,null,null)),(e()(),Ws(5,0,null,null,3,"h2",[],null,null,null,null,null)),(e()(),io(6,null,["",""])),(e()(),Ws(7,0,null,null,1,"sup",[["class","degree"]],null,null,null,null,null)),(e()(),io(-1,null,["\xb0"])),(e()(),Ws(9,0,null,null,3,"h6",[],null,null,null,null,null)),(e()(),io(10,null,["Humidity ",""])),(e()(),Ws(11,0,null,null,1,"sup",[["class","degree"]],null,null,null,null,null)),(e()(),io(-1,null,["%"]))],null,function(e,t){var n=t.component;e(t,2,0,n.activity.title),e(t,4,0,n.weather.conditions),e(t,6,0,n.weather.temp),e(t,10,0,n.weather.humidity)})}const Aa=K([11,12,13,21,22,23,31,32,33]).pipe($(e=>({geoId:e,followers:Ea(1e4),following:Ea(100)})));class Da{getInfo(e){return this._cache||(this._cache={},Aa.subscribe(e=>this._cache[e.geoId]=e)),this._cache[e]}}Da.ngInjectableDef=de({factory:function(){return new Da},token:Da,providedIn:"root"});class Ma{constructor(e){this._socialFeed=e}set activity(e){this.a=e,this.img=xa(e.images)}getInfo(){return this._socialFeed.getInfo(this.a.geoId)}}var Ra=Es({encapsulation:2,styles:[],data:{}});function Oa(e){return ao(0,[(e()(),Ws(0,0,null,null,17,"div",[["class","teddy-bear"]],null,null,null,null,null)),(e()(),Ws(1,0,null,null,4,"div",[["class","teddy-text"]],null,null,null,null,null)),(e()(),Ws(2,0,null,null,1,"h4",[],null,null,null,null,null)),(e()(),io(3,null,["",""])),(e()(),Ws(4,0,null,null,0,"span",[["class","w-line"]],null,null,null,null,null)),(e()(),Ws(5,0,null,null,0,"img",[["alt",""],["class","img-responsive"]],[[8,"src",4]],null,null,null,null)),(e()(),Ws(6,0,null,null,11,"div",[["class","teddy-follow"]],null,null,null,null,null)),(e()(),Ws(7,0,null,null,10,"ul",[],null,null,null,null,null)),(e()(),Ws(8,0,null,null,4,"li",[["class","folw-h"]],null,null,null,null,null)),(e()(),Ws(9,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),io(10,null,["",""])),(e()(),Ws(11,0,null,null,1,"p",[],null,null,null,null,null)),(e()(),io(-1,null,["Followers"])),(e()(),Ws(13,0,null,null,4,"li",[],null,null,null,null,null)),(e()(),Ws(14,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),io(15,null,["",""])),(e()(),Ws(16,0,null,null,1,"p",[],null,null,null,null,null)),(e()(),io(-1,null,["Following"]))],null,function(e,t){var n=t.component;e(t,3,0,n.a.title),e(t,5,0,"assets/images/"+n.img),e(t,10,0,n.getInfo().followers),e(t,15,0,n.getInfo().following)})}const Va=new C(e=>e.complete());function Pa(e){return e?function(e){return new C(t=>e.schedule(()=>t.complete()))}(e):Va}function ja(...e){let t=e[e.length-1];switch(A(t)?e.pop():t=void 0,e.length){case 0:return Pa(t);case 1:return t?Z(e,t):function(e){const t=new C(t=>{t.next(e),t.complete()});return t._isScalar=!0,t.value=e,t}(e[0]);default:return Z(e,t)}}class Fa extends g{constructor(e,t){super()}schedule(e,t=0){return this}}class Ha extends Fa{constructor(e,t){super(e,t),this.scheduler=e,this.work=t,this.pending=!1}schedule(e,t=0){if(this.closed)return this;this.state=e;const n=this.id,r=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(r,n,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(r,this.id,t),this}requestAsyncId(e,t,n=0){return setInterval(e.flush.bind(e,this),n)}recycleAsyncId(e,t,n=0){if(null!==n&&this.delay===n&&!1===this.pending)return t;clearInterval(t)}execute(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const n=this._execute(e,t);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,t){let n=!1,r=void 0;try{this.work(e)}catch(s){n=!0,r=!!s&&s||new Error(s)}if(n)return this.unsubscribe(),r}_unsubscribe(){const e=this.id,t=this.scheduler,n=t.actions,r=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==r&&n.splice(r,1),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null}}class La{constructor(e,t=La.now){this.SchedulerAction=e,this.now=t}schedule(e,t=0,n){return new this.SchedulerAction(this,e).schedule(n,t)}}La.now=(()=>Date.now());class Ba extends La{constructor(e,t=La.now){super(e,()=>Ba.delegate&&Ba.delegate!==this?Ba.delegate.now():t()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(e,t=0,n){return Ba.delegate&&Ba.delegate!==this?Ba.delegate.schedule(e,t,n):super.schedule(e,t,n)}flush(e){const{actions:t}=this;if(this.active)return void t.push(e);let n;this.active=!0;do{if(n=e.execute(e.state,e.delay))break}while(e=t.shift());if(this.active=!1,n){for(;e=t.shift();)e.unsubscribe();throw n}}}const $a=new Ba(Ha);class za{constructor(e,t,n){this.kind=e,this.value=t,this.error=n,this.hasValue="N"===e}observe(e){switch(this.kind){case"N":return e.next&&e.next(this.value);case"E":return e.error&&e.error(this.error);case"C":return e.complete&&e.complete()}}do(e,t,n){switch(this.kind){case"N":return e&&e(this.value);case"E":return t&&t(this.error);case"C":return n&&n()}}accept(e,t,n){return e&&"function"==typeof e.next?this.observe(e):this.do(e,t,n)}toObservable(){switch(this.kind){case"N":return ja(this.value);case"E":return e=this.error,new C(t=>t.error(e));case"C":return Pa()}var e;throw new Error("unexpected notification kind value")}static createNext(e){return void 0!==e?new za("N",e):za.undefinedValueNotification}static createError(e){return new za("E",void 0,e)}static createComplete(){return za.completeNotification}}za.completeNotification=new za("C"),za.undefinedValueNotification=new za("N",void 0);class Ua{constructor(e,t){this.delay=e,this.scheduler=t}call(e,t){return t.subscribe(new Za(e,this.delay,this.scheduler))}}class Za extends w{constructor(e,t,n){super(e),this.delay=t,this.scheduler=n,this.queue=[],this.active=!1,this.errored=!1}static dispatch(e){const t=e.source,n=t.queue,r=e.scheduler,s=e.destination;for(;n.length>0&&n[0].time-r.now()<=0;)n.shift().notification.observe(s);if(n.length>0){const t=Math.max(0,n[0].time-r.now());this.schedule(e,t)}else this.unsubscribe(),t.active=!1}_schedule(e){this.active=!0,this.destination.add(e.schedule(Za.dispatch,this.delay,{source:this,destination:this.destination,scheduler:e}))}scheduleNotification(e){if(!0===this.errored)return;const t=this.scheduler,n=new Ka(t.now()+this.delay,e);this.queue.push(n),!1===this.active&&this._schedule(t)}_next(e){this.scheduleNotification(za.createNext(e))}_error(e){this.errored=!0,this.queue=[],this.destination.error(e),this.unsubscribe()}_complete(){this.scheduleNotification(za.createComplete()),this.unsubscribe()}}class Ka{constructor(e,t){this.time=e,this.notification=t}}const qa=ja([{name:"Ireland",image:"Ireland_090814CH184.jpg",title:"Centuries of ancient stories",activities:[{geoId:11,title:"Dublin",description:["Surprising by nature.","Epic adventures and all that can happen in between \u2013 Dublin is the ultimate city experience."],contactInfo:"+353(0)11111111",images:["dublin01.jpg","dublin02.jpg"]},{geoId:12,title:"Northern Ireland",description:["Get ready for an adventure.","Welcome to a land of fantastical landscapes, warm welcomes, dramatic history and enduring legend"],contactInfo:"+353(0)11111111",images:["n_ireland01.jpg","n_ireland02.jpg"]},{geoId:13,title:"Ireland's ancient east",description:["Centuries of ancient stories.","Ireland makes sure you remain in the present while soaking up its past."],contactInfo:"+353(0)11111111",images:["e_ireland01.jpg","e_ireland02.jpg"]}]},{name:"New Zealand",image:"lake-pukaki.jpg",title:"Wake up in paradise",activities:[{geoId:21,title:"Matamata",description:["Matamata is a must see if you're a Lord of the Rings and Hobbit fan.","Take a guided tour of the Hobbiton Movie Set\u2122 and enjoy the town's fabulous cafes."],contactInfo:"+64 1 123 0456",images:["matamata01.jpg","matamata02.jpg"]},{geoId:22,title:"Rotorua",description:["Rotorua is known for bubbling mud pools, shooting geysers and natural hot springs.","As well as showcasing our fascinating Maori culture."],contactInfo:"+64 1 123 0456",images:["rotorua01.jpg","rotorua02.jpg"]},{geoId:23,title:"South Island",description:["From glaciers to beaches, whale-watching to wine-tasting, New Zealand has so much to offer.","Not sure where to begin? Get started with these places."],contactInfo:"+64 1 123 0456",images:["south01.jpg","south02.jpg"]}]},{name:"Jamaica",image:"jamaica.jpeg",title:"Daydream into a real-life adventure",activities:[{geoId:31,title:"Kingston",description:["Explore our capital city","Our busy cosmopolitan Kingston is one-of-a-kind; half exotic jungle, bursting with sunshine, and thriving business."],contactInfo:"876-555-1111",images:["kingston01.jpg","kingston02.jpg"]},{geoId:32,title:"Montego Bay",description:["Get out and about for a one-of-a-kind adventure.","There\u2019s no doubt about it; we\u2019re an island who knows how to chill out in style."],contactInfo:"876-555-1111",images:["montego01.jpg","montego02.jpg"]},{geoId:33,title:"Ocho Rios",description:["From exquisite luxury plazas, filled with world-class brands, to traditional stalls and stores,","where one can uncover all kinds of charming mementos, Ocho Rios is a shopper\u2019s dream come true."],contactInfo:"876-555-1111",images:["ochorios01.jpg","ochorios02.jpg"]}]}]).pipe(function(e,t=$a){var n;const r=(n=e)instanceof Date&&!isNaN(+n)?+e-t.now():Math.abs(e);return e=>e.lift(new Ua(r,t))}(1e3*Ea(3)));class Qa{getData(){return console.log("getData()"),qa}}Qa.ngInjectableDef=de({factory:function(){return new Qa},token:Qa,providedIn:"root"});class Ga{constructor(e){this._destinations=e}ngOnInit(){this.destinations$=this._destinations.getData(),this._sub=this.destinations$.subscribe(e=>this._pickRandomDestination(e))}_pickRandomDestination(e){this.destination=xa(e),this._sub.unsubscribe()}set destination(e){this._destination=e,this._pickRandomActivity()}get destination(){return this._destination}_pickRandomActivity(){this.activity=xa(this._destination.activities)}}var Wa=Es({encapsulation:2,styles:[],data:{}});function Ya(e){return ao(0,[(e()(),Ws(0,0,null,null,12,null,null,null,null,null,null,null)),(e()(),Ws(1,0,null,null,6,"div",[["class","element-left"]],null,null,null,null,null)),(e()(),Ws(2,0,null,null,1,"hww-hero-image",[],null,null,null,da,ua)),Fi(3,49152,null,0,aa,[],{current:[0,"current"]},null),(e()(),Ws(4,0,null,null,1,"hww-menu",[],null,[[null,"currentChange"]],function(e,t,n){var r=!0;return"currentChange"===t&&(r=!1!==(e.component.destination=n)&&r),r},ma,fa)),Fi(5,49152,null,0,ha,[],{all:[0,"all"],current:[1,"current"]},{currentChange:"currentChange"}),(e()(),Ws(6,0,null,null,1,"hww-details",[],null,[[null,"currentChange"]],function(e,t,n){var r=!0;return"currentChange"===t&&(r=!1!==(e.component.activity=n)&&r),r},Ca,_a)),Fi(7,49152,null,0,ga,[],{dest:[0,"dest"],current:[1,"current"]},{currentChange:"currentChange"}),(e()(),Ws(8,0,null,null,4,"div",[["class","element-right"]],null,null,null,null,null)),(e()(),Ws(9,0,null,null,1,"hww-weather",[],null,null,null,Sa,Ta)),Fi(10,49152,null,0,ka,[],{activity:[0,"activity"]},null),(e()(),Ws(11,0,null,null,1,"hww-social",[],null,null,null,Oa,Ra)),Fi(12,49152,null,0,Ma,[Da],{activity:[0,"activity"]},null)],function(e,t){var n=t.component;e(t,3,0,n.destination),e(t,5,0,t.context.ngIf,n.destination),e(t,7,0,n.destination,n.activity),e(t,10,0,n.activity),e(t,12,0,n.activity)},null)}function Ja(e){return ao(0,[(e()(),Ws(0,0,null,null,1,"div",[["style","background: white; color: black"]],null,null,null,null,null)),(e()(),io(-1,null,["Loading"]))],null,null)}function Xa(e){return ao(0,[(e()(),Gs(16777216,null,null,2,null,Ya)),Fi(1,16384,null,0,Rl,[Mr,Ht],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t=131072,n=sa,r=[Rr],Hi(-1,t|=16,null,0,n,n,r)),(e()(),Gs(0,[["loadingTemplate",2]],null,0,null,Ja))],function(e,t){var n=t.component;e(t,1,0,function(e,t,n,r){if(ht.isWrapped(r)){r=ht.unwrap(r);const t=e.def.nodes[1].bindingIndex+0,n=ht.unwrap(e.oldValues[t]);e.oldValues[t]=new ht(n)}return r}(t,0,0,Ni(t,2).transform(n.destinations$)),Ni(t,3))},null);var t,n,r}var eu=Es({encapsulation:0,styles:[[""]],data:{}});function tu(e){return ao(0,[(e()(),Ws(0,0,null,null,1,"h1",[],null,null,null,null,null)),(e()(),io(-1,null,["Hot Weather Widget"])),(e()(),Ws(2,0,null,null,3,"div",[["class","element"]],null,null,null,null,null)),(e()(),Ws(3,0,null,null,1,"hww-widget",[],null,null,null,Xa,Wa)),Fi(4,114688,null,0,Ga,[Qa],null,null),(e()(),Ws(5,0,null,null,0,"div",[["class","clear"]],null,null,null,null,null)),(e()(),Ws(6,0,null,null,4,"div",[["class","copy-right"]],null,null,null,null,null)),(e()(),Ws(7,0,null,null,3,"p",[],null,null,null,null,null)),(e()(),io(-1,null,["\xa9 2015 Hot Weather Widget. All rights reserved | Design by "])),(e()(),Ws(9,0,null,null,1,"a",[["href","http://w3layouts.com/"],["target","_blank"]],null,null,null,null,null)),(e()(),io(-1,null,[" W3layouts "]))],function(e,t){e(t,4,0)},null)}function nu(e){return ao(0,[(e()(),Ws(0,0,null,null,1,"hww-root",[],null,null,null,tu,eu)),Fi(1,49152,null,0,wl,[],null,null)],null,null)}var ru=pi("hww-root",wl,nu,{},{},[]);let su=null;function iu(){return su}class ou{constructor(){this.resourceLoaderType=null}get attrToPropMap(){return this._attrToPropMap}set attrToPropMap(e){this._attrToPropMap=e}}class lu extends ou{constructor(){super(),this._animationPrefix=null,this._transitionEnd=null;try{const t=this.createElement("div",document);if(null!=this.getStyle(t,"animationName"))this._animationPrefix="";else{const e=["Webkit","Moz","O","ms"];for(let n=0;n{null!=this.getStyle(t,e)&&(this._transitionEnd=n[e])})}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 au={class:"className",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"},uu=3,cu={"\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"},du={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"};let hu;ve.Node&&(hu=ve.Node.prototype.contains||function(e){return!!(16&this.compareDocumentPosition(e))});class fu extends lu{parse(e){throw new Error("parse not implemented")}static makeCurrent(){var e;e=new fu,su||(su=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 au}contains(e,t){return hu.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;re.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[{type:void 0,decorators:[{type:Se,args:[gu]}]}]);const wu=new fe("TRANSITION_ID"),vu=[{provide:Kn,useFactory:function(e,t,n){return()=>{n.get(qn).donePromise.then(()=>{const n=iu();Array.prototype.slice.apply(n.querySelectorAll(t,"style[ng-transition]")).filter(t=>n.getAttribute(t,"ng-transition")===e).forEach(e=>n.remove(e))})}},deps:[wu,gu,Fe],multi:!0}];class bu{static init(){var e;e=new bu,br=e}addToWindow(e){ve.getAngularTestability=((t,n=!0)=>{const r=e.findTestabilityInTree(t,n);if(null==r)throw new Error("Could not find testability for element.");return r}),ve.getAllAngularTestabilities=(()=>e.getAllTestabilities()),ve.getAllAngularRootElements=(()=>e.getAllRootElements()),ve.frameworkStabilizers||(ve.frameworkStabilizers=[]),ve.frameworkStabilizers.push(e=>{const t=ve.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?iu().isShadowRoot(t)?this.findTestabilityInTree(e,iu().getHost(t),!0):this.findTestabilityInTree(e,iu().parentElement(t),!0):null}}function Cu(e,t){"undefined"!=typeof COMPILED&&COMPILED||((ve.ng=ve.ng||{})[e]=t)}const Eu={ApplicationRef:Sr,NgZone:cr};function xu(e){return Fr(e)}const Nu=new fe("EventManagerPlugins");class Iu{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{this._stylesSet.has(e)||(this._stylesSet.add(e),t.add(e))}),this.onStylesAdded(t)}onStylesAdded(e){}getAllStyles(){return Array.from(this._stylesSet)}}class Su extends Tu{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=>iu().remove(e))}}const Au={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/"},Du=/%COMP%/g,Mu="_nghost-%COMP%",Ru="_ngcontent-%COMP%";function Ou(e,t,n){for(let r=0;r{!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}class Pu{constructor(e,t){this.eventManager=e,this.sharedStylesHost=t,this.rendererByCompId=new Map,this.defaultRenderer=new ju(e)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case ct.Emulated:{let n=this.rendererByCompId.get(t.id);return n||(n=new Lu(this.eventManager,this.sharedStylesHost,t),this.rendererByCompId.set(t.id,n)),n.applyToHost(e),n}case ct.Native:case ct.ShadowDom:return new Bu(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){const e=Ou(t.id,t.styles,[]);this.sharedStylesHost.addStyles(e),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}class ju{constructor(e){this.eventManager=e,this.data=Object.create(null)}destroy(){}createElement(e,t){return t?document.createElementNS(Au[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=Au[r];s?e.setAttributeNS(s,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)}removeAttribute(e,t,n){if(n){const r=Au[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&Vt.DashCase?e.style.setProperty(t,n,r&Vt.Important?"important":""):e.style[t]=n}removeStyle(e,t,n){n&Vt.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,n){Hu(t,"property"),e[t]=n}setValue(e,t){e.nodeValue=t}listen(e,t,n){return Hu(t,"listener"),"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,Vu(n)):this.eventManager.addEventListener(e,t,Vu(n))}}const Fu="@".charCodeAt(0);function Hu(e,t){if(e.charCodeAt(0)===Fu)throw new Error(`Found the synthetic ${t} ${e}. Please include either "BrowserAnimationsModule" or "NoopAnimationsModule" in your application.`)}class Lu extends ju{constructor(e,t,n){super(e),this.component=n;const r=Ou(n.id,n.styles,[]);t.addStyles(r),this.contentAttr=Ru.replace(Du,n.id),this.hostAttr=Mu.replace(Du,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 Bu extends ju{constructor(e,t,n,r){super(e),this.sharedStylesHost=t,this.hostEl=n,this.component=r,this.shadowRoot=r.encapsulation===ct.ShadowDom?n.attachShadow({mode:"open"}):n.createShadowRoot(),this.sharedStylesHost.addHost(this.shadowRoot);const s=Ou(r.id,r.styles,[]);for(let i=0;i0;s||(s=e[n]=[]);const o=Xu(t)?Zone.root:Zone.current;if(0===s.length)s.push({zone:o,handler:r});else{let e=!1;for(let t=0;tthis.removeEventListener(e,t,r)}removeEventListener(e,t,n){let r=e[Uu];if(!r)return e[Gu].apply(e,[t,n,!1]);let s=Zu[t],i=s&&e[s];if(!i)return e[Gu].apply(e,[t,n,!1]);let o=!1;for(let l=0;l{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 lc=["alt","control","meta","shift"],ac={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};class uc extends ku{constructor(e){super(e)}supports(e){return null!=uc.parseEventName(e)}addEventListener(e,t,n){const r=uc.parseEventName(t),s=uc.eventCallback(r.fullKey,n,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>iu().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=uc._normalizeKey(t.pop());let s="";if(lc.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=iu().getEventKey(e);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),lc.forEach(r=>{r!=n&&(0,ac[r])(e)&&(t+=r+".")}),t+=n}static eventCallback(e,t,n){return r=>{uc.getEventFullKey(r)===e&&n.runGuarded(()=>t(r))}}static _normalizeKey(e){switch(e){case"esc":return"escape";default:return e}}}class cc{}class dc extends cc{constructor(e){super(),this._doc=e}sanitize(e,t){if(null==t)return null;switch(e){case cn.NONE:return t;case cn.HTML:return t instanceof fc?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"HTML"),function(e,t){let n=null;try{an=an||new zt(e);let r=t?String(t):"";n=an.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=an.getInertBodyElement(r)}while(r!==i);const o=new rn,l=o.sanitizeChildren(un(n)||n);return $t()&&o.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content (see http://g.co/ng/security#xss)."),l}finally{if(n){const e=un(n)||n;for(;e.firstChild;)e.removeChild(e.firstChild)}}}(this._doc,String(t)));case cn.STYLE:return t instanceof pc?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"Style"),function(e){if(!(e=String(e).trim()))return"";const t=e.match(fn);return t&&Kt(t[1])===t[1]||e.match(hn)&&function(e){let t=!0,n=!0;for(let r=0;r(n&&e.push(this._getOrCreateElement(n,t)),e),[]):[]}getTag(e){return e&&this._dom.querySelector(this._doc,`meta[${e}]`)||null}getTags(e){if(!e)return[];const t=this._dom.querySelectorAll(this._doc,`meta[${e}]`);return t?[].slice.call(t):[]}updateTag(e,t){if(!e)return null;t=t||this._parseSelector(e);const n=this.getTag(t);return n?this._setMetaElementAttributes(e,n):this._getOrCreateElement(e,!0)}removeTag(e){this.removeTagElement(this.getTag(e))}removeTagElement(e){e&&this._dom.remove(e)}_getOrCreateElement(e,t=!1){if(!t){const t=this._parseSelector(e),n=this.getTag(t);if(n&&this._containsAttributes(e,n))return n}const n=this._dom.createElement("meta");this._setMetaElementAttributes(e,n);const r=this._dom.getElementsByTagName(this._doc,"head")[0];return this._dom.appendChild(r,n),n}_setMetaElementAttributes(e,t){return Object.keys(e).forEach(n=>this._dom.setAttribute(t,n,e[n])),t}_parseSelector(e){const t=e.name?"name":"property";return`${t}="${e[t]}"`}_containsAttributes(e,t){return Object.keys(e).every(n=>this._dom.getAttribute(t,n)===e[n])}}bc.ngInjectableDef=de({factory:function(){return new bc(tt(gu))},token:bc,providedIn:"root"});class Cc{constructor(e){this._doc=e}getTitle(){return iu().getTitle(this._doc)}setTitle(e){iu().setTitle(this._doc,e)}}Cc.ngInjectableDef=de({factory:function(){return new Cc(tt(gu))},token:Cc,providedIn:"root"}),"undefined"!=typeof window&&window;var Ec=gl(yl,[wl],function(e){return function(e){const t={},n=[];let r=!1;for(let s=0;s(e[t.name]=t.token,e),{}))),()=>xu)];var t},[[2,xr]]),ii(512,qn,qn,[[2,Kn]]),ii(131584,Sr,Sr,[cr,er,Fe,En,bt,qn]),ii(1073742336,os,os,[Sr]),ii(1073742336,vc,vc,[[3,vc]]),ii(1073742336,yl,yl,[]),ii(256,jt,!0,[])])});(function(){if(Bt)throw new Error("Cannot enable prod mode after platform setup.");Lt=!1})(),yc().bootstrapModuleFactory(Ec).catch(e=>console.error(e))}},[[0,0]]]); \ No newline at end of file diff --git a/docs/main.e7ab59e8744ad4691504.js b/docs/main.e7ab59e8744ad4691504.js new file mode 100644 index 0000000..3c15428 --- /dev/null +++ b/docs/main.e7ab59e8744ad4691504.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{0:function(e,t,n){e.exports=n("zUnb")},crnd: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="crnd"},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){s=e},get useDeprecatedSynchronousErrorHandling(){return s}};function o(e){setTimeout(()=>{throw e})}const l={closed:!0,next(e){},error(e){if(i.useDeprecatedSynchronousErrorHandling)throw e;o(e)},complete(){}},a=Array.isArray||(e=>e&&"number"==typeof e.length);function u(e){return null!=e&&"object"==typeof e}const c={e:{}};let d;function h(){try{return d.apply(this,arguments)}catch(e){return c.e=e,c}}function f(e){return d=e,h}function p(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}p.prototype=Object.create(Error.prototype);const m=p;class g{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 l=-1,d=s?s.length:0;for(;n;)n.remove(this),n=++le.concat(t instanceof m?t.errors:t),[])}g.EMPTY=function(e){return e.closed=!0,e}(new g);const _="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random();class w extends g{constructor(e,t,n){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,this._parentSubscription=null,arguments.length){case 0:this.destination=l;break;case 1:if(!e){this.destination=l;break}if("object"==typeof e){e instanceof w?(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)}}[_](){return this}static create(e,t,n){const r=new w(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._parentSubscription=null,this}}class b extends w{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!==l&&(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 v="function"==typeof Symbol&&Symbol.observable||"@@observable";class C{constructor(e){this._isScalar=!1,e&&(this._subscribe=e)}lift(e){const t=new C;return t.source=this,t.operator=e,t}subscribe(e,t,n){const{operator:r}=this,s=function(e,t,n){if(e){if(e instanceof w)return e;if(e[_])return e[_]()}return e||t||n?new w(e,t,n):new w(l)}(e,t,n);if(r?r.call(s,this.source):s.add(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 w?n:null}return!0}(e)?e.error(t):console.warn(t)}}forEach(e,t){return new(t=E(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)}[v](){return this}pipe(...e){return 0===e.length?this:((t=e)?1===t.length?t[0]:function(e){return t.reduce((e,t)=>t(e),e)}:function(){})(this);var t}toPromise(e){return new(e=E(e))((e,t)=>{let n;this.subscribe(e=>n=e,e=>t(e),()=>e(n))})}}function E(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}C.create=(e=>new C(e)),x.prototype=Object.create(Error.prototype);const N=x;class I extends g{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 k extends w{constructor(e){super(e),this.destination=e}}class T extends C{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[_](){return new k(this)}lift(e){const t=new S(this,this);return t.operator=e,t}next(e){if(this.closed)throw new N;if(!this.isStopped){const{observers:t}=this,n=t.length,r=t.slice();for(let s=0;snew S(e,t));class S extends T{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):g.EMPTY}}function A(e){return e&&"function"==typeof e.schedule}class M extends w{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 R=e=>t=>{for(let n=0,r=e.length;nt=>(e.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,o),t);function O(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}const j=O(),V=e=>t=>{const n=e[j]();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},P=e=>t=>{const n=e[v]();if("function"!=typeof n.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return n.subscribe(t)},F=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function H(e){return e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}const L=e=>{if(e instanceof C)return t=>e._isScalar?(t.next(e.value),void t.complete()):e.subscribe(t);if(e&&"function"==typeof e[v])return P(e);if(F(e))return R(e);if(H(e))return D(e);if(e&&"function"==typeof e[j])return V(e);{const t=u(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 B(e,t,n,r,s=new M(e,n,r)){if(!s.closed)return L(t)(s)}class $ extends w{notifyNext(e,t,n,r,s){this.destination.next(t)}notifyError(e,t){this.destination.error(e)}notifyComplete(e){this.destination.complete()}}function z(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 U(e,t))}}class U{constructor(e,t){this.project=e,this.thisArg=t}call(e,t){return t.subscribe(new Z(e,this.project,this.thisArg))}}class Z extends w{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 K(e,t){return new C(t?n=>{const r=new g;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}:R(e))}function q(e,t){if(!t)return e instanceof C?e:new C(L(e));if(null!=e){if(function(e){return e&&"function"==typeof e[v]}(e))return function(e,t){return new C(t?n=>{const r=new g;return r.add(t.schedule(()=>{const s=e[v]();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}:P(e))}(e,t);if(H(e))return function(e,t){return new C(t?n=>{const r=new g;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}:D(e))}(e,t);if(F(e))return K(e,t);if(function(e){return e&&"function"==typeof e[j]}(e)||"string"==typeof e)return function(e,t){if(!e)throw new Error("Iterable cannot be null");return new C(t?n=>{const r=new g;let s;return r.add(()=>{s&&"function"==typeof s.return&&s.return()}),r.add(t.schedule(()=>{s=e[j](),r.add(t.schedule(function(){if(n.closed)return;let e,t;try{const i=s.next();e=i.value,t=i.done}catch(r){return void n.error(r)}t?n.complete():(n.next(e),this.schedule())}))})),r}:V(e))}(e,t)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}function Q(e,t,n=Number.POSITIVE_INFINITY){return"function"==typeof t?r=>r.pipe(Q((n,r)=>q(e(n,r)).pipe(z((e,s)=>t(n,e,r,s))),n)):("number"==typeof t&&(n=t),t=>t.lift(new W(e,n)))}class W{constructor(e,t=Number.POSITIVE_INFINITY){this.project=e,this.concurrent=t}call(e,t){return t.subscribe(new G(e,this.project,this.concurrent))}}class G extends ${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.active0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function Y(e){return e}function J(...e){let t=Number.POSITIVE_INFINITY,n=null,r=e[e.length-1];return A(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 C?e[0]:function(e=Number.POSITIVE_INFINITY){return Q(Y,e)}(t)(K(e,n))}Function;const X="@angular/core";class ee{}ee.ANALYZE_FOR_ENTRY_COMPONENTS={name:"ANALYZE_FOR_ENTRY_COMPONENTS",moduleName:X},ee.ElementRef={name:"ElementRef",moduleName:X},ee.NgModuleRef={name:"NgModuleRef",moduleName:X},ee.ViewContainerRef={name:"ViewContainerRef",moduleName:X},ee.ChangeDetectorRef={name:"ChangeDetectorRef",moduleName:X},ee.QueryList={name:"QueryList",moduleName:X},ee.TemplateRef={name:"TemplateRef",moduleName:X},ee.Renderer2={name:"Renderer2",moduleName:X},ee.CodegenComponentFactoryResolver={name:"\u0275CodegenComponentFactoryResolver",moduleName:X},ee.ComponentFactoryResolver={name:"ComponentFactoryResolver",moduleName:X},ee.ComponentFactory={name:"ComponentFactory",moduleName:X},ee.ComponentRef={name:"ComponentRef",moduleName:X},ee.NgModuleFactory={name:"NgModuleFactory",moduleName:X},ee.createModuleFactory={name:"\u0275cmf",moduleName:X},ee.moduleDef={name:"\u0275mod",moduleName:X},ee.moduleProviderDef={name:"\u0275mpd",moduleName:X},ee.RegisterModuleFactoryFn={name:"\u0275registerModuleFactory",moduleName:X},ee.inject={name:"inject",moduleName:X},ee.INJECTOR={name:"INJECTOR",moduleName:X},ee.Injector={name:"Injector",moduleName:X},ee.defineInjectable={name:"defineInjectable",moduleName:X},ee.InjectableDef={name:"\u0275InjectableDef",moduleName:X},ee.ViewEncapsulation={name:"ViewEncapsulation",moduleName:X},ee.ChangeDetectionStrategy={name:"ChangeDetectionStrategy",moduleName:X},ee.SecurityContext={name:"SecurityContext",moduleName:X},ee.LOCALE_ID={name:"LOCALE_ID",moduleName:X},ee.TRANSLATIONS_FORMAT={name:"TRANSLATIONS_FORMAT",moduleName:X},ee.inlineInterpolate={name:"\u0275inlineInterpolate",moduleName:X},ee.interpolate={name:"\u0275interpolate",moduleName:X},ee.EMPTY_ARRAY={name:"\u0275EMPTY_ARRAY",moduleName:X},ee.EMPTY_MAP={name:"\u0275EMPTY_MAP",moduleName:X},ee.Renderer={name:"Renderer",moduleName:X},ee.viewDef={name:"\u0275vid",moduleName:X},ee.elementDef={name:"\u0275eld",moduleName:X},ee.anchorDef={name:"\u0275and",moduleName:X},ee.textDef={name:"\u0275ted",moduleName:X},ee.directiveDef={name:"\u0275did",moduleName:X},ee.providerDef={name:"\u0275prd",moduleName:X},ee.queryDef={name:"\u0275qud",moduleName:X},ee.pureArrayDef={name:"\u0275pad",moduleName:X},ee.pureObjectDef={name:"\u0275pod",moduleName:X},ee.purePipeDef={name:"\u0275ppd",moduleName:X},ee.pipeDef={name:"\u0275pid",moduleName:X},ee.nodeValue={name:"\u0275nov",moduleName:X},ee.ngContentDef={name:"\u0275ncd",moduleName:X},ee.unwrapValue={name:"\u0275unv",moduleName:X},ee.createRendererType2={name:"\u0275crt",moduleName:X},ee.RendererType2={name:"RendererType2",moduleName:X},ee.ViewDefinition={name:"\u0275ViewDefinition",moduleName:X},ee.createComponentFactory={name:"\u0275ccf",moduleName:X};const te="@angular/core";class ne{}ne.NEW_METHOD="factory",ne.TRANSFORM_METHOD="transform",ne.PATCH_DEPS="patchedDeps",ne.namespaceHTML={name:"\u0275namespaceHTML",moduleName:te},ne.namespaceMathML={name:"\u0275namespaceMathML",moduleName:te},ne.namespaceSVG={name:"\u0275namespaceSVG",moduleName:te},ne.element={name:"\u0275element",moduleName:te},ne.elementStart={name:"\u0275elementStart",moduleName:te},ne.elementEnd={name:"\u0275elementEnd",moduleName:te},ne.elementProperty={name:"\u0275elementProperty",moduleName:te},ne.elementAttribute={name:"\u0275elementAttribute",moduleName:te},ne.elementClassProp={name:"\u0275elementClassProp",moduleName:te},ne.elementContainerStart={name:"\u0275EC",moduleName:te},ne.elementContainerEnd={name:"\u0275eC",moduleName:te},ne.elementStyling={name:"\u0275elementStyling",moduleName:te},ne.elementStylingMap={name:"\u0275elementStylingMap",moduleName:te},ne.elementStyleProp={name:"\u0275elementStyleProp",moduleName:te},ne.elementStylingApply={name:"\u0275elementStylingApply",moduleName:te},ne.containerCreate={name:"\u0275container",moduleName:te},ne.nextContext={name:"\u0275nextContext",moduleName:te},ne.templateCreate={name:"\u0275template",moduleName:te},ne.text={name:"\u0275text",moduleName:te},ne.textBinding={name:"\u0275textBinding",moduleName:te},ne.bind={name:"\u0275bind",moduleName:te},ne.enableBindings={name:"\u0275enableBindings",moduleName:te},ne.disableBindings={name:"\u0275disableBindings",moduleName:te},ne.getCurrentView={name:"\u0275getCurrentView",moduleName:te},ne.restoreView={name:"\u0275restoreView",moduleName:te},ne.interpolation1={name:"\u0275interpolation1",moduleName:te},ne.interpolation2={name:"\u0275interpolation2",moduleName:te},ne.interpolation3={name:"\u0275interpolation3",moduleName:te},ne.interpolation4={name:"\u0275interpolation4",moduleName:te},ne.interpolation5={name:"\u0275interpolation5",moduleName:te},ne.interpolation6={name:"\u0275interpolation6",moduleName:te},ne.interpolation7={name:"\u0275interpolation7",moduleName:te},ne.interpolation8={name:"\u0275interpolation8",moduleName:te},ne.interpolationV={name:"\u0275interpolationV",moduleName:te},ne.pureFunction0={name:"\u0275pureFunction0",moduleName:te},ne.pureFunction1={name:"\u0275pureFunction1",moduleName:te},ne.pureFunction2={name:"\u0275pureFunction2",moduleName:te},ne.pureFunction3={name:"\u0275pureFunction3",moduleName:te},ne.pureFunction4={name:"\u0275pureFunction4",moduleName:te},ne.pureFunction5={name:"\u0275pureFunction5",moduleName:te},ne.pureFunction6={name:"\u0275pureFunction6",moduleName:te},ne.pureFunction7={name:"\u0275pureFunction7",moduleName:te},ne.pureFunction8={name:"\u0275pureFunction8",moduleName:te},ne.pureFunctionV={name:"\u0275pureFunctionV",moduleName:te},ne.pipeBind1={name:"\u0275pipeBind1",moduleName:te},ne.pipeBind2={name:"\u0275pipeBind2",moduleName:te},ne.pipeBind3={name:"\u0275pipeBind3",moduleName:te},ne.pipeBind4={name:"\u0275pipeBind4",moduleName:te},ne.pipeBindV={name:"\u0275pipeBindV",moduleName:te},ne.i18nAttribute={name:"\u0275i18nAttribute",moduleName:te},ne.i18nExp={name:"\u0275i18nExp",moduleName:te},ne.i18nStart={name:"\u0275i18nStart",moduleName:te},ne.i18nEnd={name:"\u0275i18nEnd",moduleName:te},ne.i18nApply={name:"\u0275i18nApply",moduleName:te},ne.load={name:"\u0275load",moduleName:te},ne.loadQueryList={name:"\u0275loadQueryList",moduleName:te},ne.pipe={name:"\u0275pipe",moduleName:te},ne.projection={name:"\u0275projection",moduleName:te},ne.projectionDef={name:"\u0275projectionDef",moduleName:te},ne.reference={name:"\u0275reference",moduleName:te},ne.inject={name:"inject",moduleName:te},ne.injectAttribute={name:"\u0275injectAttribute",moduleName:te},ne.directiveInject={name:"\u0275directiveInject",moduleName:te},ne.templateRefExtractor={name:"\u0275templateRefExtractor",moduleName:te},ne.defineBase={name:"\u0275defineBase",moduleName:te},ne.BaseDef={name:"\u0275BaseDef",moduleName:te},ne.defineComponent={name:"\u0275defineComponent",moduleName:te},ne.ComponentDefWithMeta={name:"\u0275ComponentDefWithMeta",moduleName:te},ne.defineDirective={name:"\u0275defineDirective",moduleName:te},ne.DirectiveDefWithMeta={name:"\u0275DirectiveDefWithMeta",moduleName:te},ne.InjectorDef={name:"\u0275InjectorDef",moduleName:te},ne.defineInjector={name:"defineInjector",moduleName:te},ne.NgModuleDefWithMeta={name:"\u0275NgModuleDefWithMeta",moduleName:te},ne.defineNgModule={name:"\u0275defineNgModule",moduleName:te},ne.PipeDefWithMeta={name:"\u0275PipeDefWithMeta",moduleName:te},ne.definePipe={name:"\u0275definePipe",moduleName:te},ne.query={name:"\u0275query",moduleName:te},ne.queryRefresh={name:"\u0275queryRefresh",moduleName:te},ne.registerContentQuery={name:"\u0275registerContentQuery",moduleName:te},ne.NgOnChangesFeature={name:"\u0275NgOnChangesFeature",moduleName:te},ne.InheritDefinitionFeature={name:"\u0275InheritDefinitionFeature",moduleName:te},ne.PublicFeature={name:"\u0275PublicFeature",moduleName:te},ne.listener={name:"\u0275listener",moduleName:te},ne.getFactoryOf={name:"\u0275getFactoryOf",moduleName:te},ne.getInheritedFactory={name:"\u0275getInheritedFactory",moduleName:te},ne.sanitizeHtml={name:"\u0275sanitizeHtml",moduleName:te},ne.sanitizeStyle={name:"\u0275sanitizeStyle",moduleName:te},ne.defaultStyleSanitizer={name:"\u0275defaultStyleSanitizer",moduleName:te},ne.sanitizeResourceUrl={name:"\u0275sanitizeResourceUrl",moduleName:te},ne.sanitizeScript={name:"\u0275sanitizeScript",moduleName:te},ne.sanitizeUrl={name:"\u0275sanitizeUrl",moduleName:te};class re{static build(){const e=new Map;return{define:function(t,n){return e.set(t,n),this},done:function(){return e.size>0?new se(e):re.empty}}}}re.missing={},re.empty={resolve:e=>re.missing};class se extends re{constructor(e){super(),this.bindings=e}resolve(e){return this.bindings.has(e)?this.bindings.get(e):re.missing}}function ie(){return function(e){return e.lift(new oe(e))}}class oe{constructor(e){this.connectable=e}call(e,t){const{connectable:n}=this;n._refCount++;const r=new le(e,n),s=t.subscribe(r);return r.closed||(r.connection=n.connect()),s}}class le extends w{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 ae=class extends C{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 g).add(this.source.subscribe(new ce(this.getSubject(),this))),e.closed?(this._connection=null,e=g.EMPTY):this._connection=e),e}refCount(){return ie()(this)}}.prototype,ue={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:ae._subscribe},_isComplete:{value:ae._isComplete,writable:!0},getSubject:{value:ae.getSubject},connect:{value:ae.connect},refCount:{value:ae.refCount}};class ce extends k{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 de(){return new T}function he(e){for(let t in e)if(e[t]===he)return t;throw Error("Could not find renamed property on target object.")}const fe=he({ngInjectableDef:he});function pe(e){return{providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function me(e){return e.hasOwnProperty(fe)?e[fe]:null}class ge{constructor(e,t){this._desc=e,this.ngMetadataName="InjectionToken",this.ngInjectableDef=void 0!==t?pe({providedIn:t.providedIn||"root",factory:t.factory}):void 0}toString(){return`InjectionToken ${this._desc}`}}const ye="__annotations__",_e="__parameters__",we="__prop__metadata__";function be(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(_e)?e[_e]:Object.defineProperty(e,_e,{value:[]})[_e];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 ve="undefined"!=typeof window&&window,Ce="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Ee="undefined"!=typeof global&&global||ve||Ce,xe=Promise.resolve(0);let Ne=null;function Ie(){if(!Ne){const e=Ee.Symbol;if(e&&e.iterator)Ne=e.iterator;else{const e=Object.getOwnPropertyNames(Map.prototype);for(let t=0;t{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}function Te(e,t){return e===t||"number"==typeof e&&"number"==typeof t&&isNaN(e)&&isNaN(t)}function Se(e){if("string"==typeof e)return e;if(e instanceof Array)return"["+e.map(Se).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)}function Ae(e){return e.__forward_ref__=Ae,e.toString=function(){return Se(this())},e}function Me(e){return"function"==typeof e&&e.hasOwnProperty("__forward_ref__")&&e.__forward_ref__===Ae?e():e}const Re=be("Inject",e=>({token:e})),De=be("Optional"),Oe=be("Self"),je=be("SkipSelf"),Ve="__source",Pe=new Object,Fe=Pe,He=new ge("INJECTOR");class Le{get(e,t=Pe){if(t===Pe)throw new Error(`NullInjectorError: No provider for ${Se(e)}!`);return t}}class Be{static create(e,t){return Array.isArray(e)?new Je(e,t):new Je(e.providers,e.parent,e.name||null)}}Be.THROW_IF_NOT_FOUND=Pe,Be.NULL=new Le,Be.ngInjectableDef=pe({providedIn:"any",factory:()=>st(He)});const $e=function(e){return e},ze=[],Ue=$e,Ze=function(){return Array.prototype.slice.call(arguments)},Ke=he({provide:String,useValue:he}),qe="ngTokenPath",Qe="ngTempTokenPath",We=Be.NULL,Ge=/\n/gm,Ye="\u0275";class Je{constructor(e,t=We,n=null){this.parent=t,this.source=n;const r=this._records=new Map;r.set(Be,{token:Be,fn:$e,deps:ze,value:this,useNew:!1}),r.set(He,{token:He,fn:$e,deps:ze,value:this,useNew:!1}),function e(t,n){if(n)if((n=Me(n))instanceof Array)for(let r=0;re.push(Se(n))),`StaticInjector[${e.join(", ")}]`}}function Xe(e){return tt("Cannot mix multi providers and regular providers",e)}function et(e,t,n=null){e=e&&"\n"===e.charAt(0)&&e.charAt(1)==Ye?e.substr(2):e;let r=Se(t);if(t instanceof Array)r=t.map(Se).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):Se(r)))}r=`{${e.join(", ")}}`}return`StaticInjectorError${n?"("+n+")":""}[${r}]: ${e.replace(Ge,"\n ")}`}function tt(e,t){return new Error(et(e,t))}let nt=void 0;function rt(e){const t=nt;return nt=e,t}function st(e,t=0){if(void 0===nt)throw new Error("inject() must be called from an injection context");if(null===nt){const n=me(e);if(n&&"root"==n.providedIn)return void 0===n.value?n.value=n.factory():n.value;if(8&t)return null;throw new Error(`Injector: NOT_FOUND [${Se(e)}]`)}return nt.get(e,8&t?null:void 0,t)}const it=Function;function ot(e){return"function"==typeof e}const lt=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*arguments\)/,at=/^class\s+[A-Za-z\d$_]*\s*extends\s+[A-Za-z\d$_]+\s*{/,ut=/^class\s+[A-Za-z\d$_]*\s*extends\s+[A-Za-z\d$_]+\s*{[\s\S]*constructor\s*\(/;class ct{constructor(e){this._reflect=e||Ee.Reflect}isReflectionEnabled(){return!0}factory(e){return(...t)=>new e(...t)}_zipTypesAndAnnotations(e,t){let n;n=void 0===e?new Array(t.length):new Array(e.length);for(let r=0;re&&e.type),n=e.map(e=>e&&dt(e.decorators));return this._zipTypesAndAnnotations(t,n)}const s=e.hasOwnProperty(_e)&&e[_e],i=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",e);return i||s?this._zipTypesAndAnnotations(i,s):new Array(e.length).fill(void 0)}parameters(e){if(!ot(e))return[];const t=ht(e);let n=this._ownParameters(e,t);return n||t===Object||(n=this.parameters(t)),n||[]}_ownAnnotations(e,t){if(e.annotations&&e.annotations!==t.annotations){let t=e.annotations;return"function"==typeof t&&t.annotations&&(t=t.annotations),t}return e.decorators&&e.decorators!==t.decorators?dt(e.decorators):e.hasOwnProperty(ye)?e[ye]:null}annotations(e){if(!ot(e))return[];const t=ht(e),n=this._ownAnnotations(e,t)||[];return(t!==Object?this.annotations(t):[]).concat(n)}_ownPropMetadata(e,t){if(e.propMetadata&&e.propMetadata!==t.propMetadata){let t=e.propMetadata;return"function"==typeof t&&t.propMetadata&&(t=t.propMetadata),t}if(e.propDecorators&&e.propDecorators!==t.propDecorators){const t=e.propDecorators,n={};return Object.keys(t).forEach(e=>{n[e]=dt(t[e])}),n}return e.hasOwnProperty(we)?e[we]:null}propMetadata(e){if(!ot(e))return{};const t=ht(e),n={};if(t!==Object){const e=this.propMetadata(t);Object.keys(e).forEach(t=>{n[t]=e[t]})}const r=this._ownPropMetadata(e,t);return r&&Object.keys(r).forEach(e=>{const t=[];n.hasOwnProperty(e)&&t.push(...n[e]),t.push(...r[e]),n[e]=t}),n}hasLifecycleHook(e,t){return e instanceof it&&t in e.prototype}guards(e){return{}}getter(e){return new Function("o","return o."+e+";")}setter(e){return new Function("o","v","return o."+e+" = v;")}method(e){return new Function("o","args",`if (!o.${e}) throw new Error('"${e}" is undefined');\n return o.${e}.apply(o, args);`)}importUri(e){return"object"==typeof e&&e.filePath?e.filePath:`./${Se(e)}`}resourceUri(e){return`./${Se(e)}`}resolveIdentifier(e,t,n,r){return r}resolveEnum(e,t){return e[t]}}function dt(e){return e?e.map(e=>new(0,e.type.annotationCls)(...e.args?e.args:[])):[]}function ht(e){const t=e.prototype?Object.getPrototypeOf(e.prototype):null;return(t?t.constructor:null)||Object}var ft=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}();function pt(e,t){const n=yt(e),r=yt(t);if(n&&r)return function(e,t,n){const r=e[Ie()](),s=t[Ie()]();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,pt);{const s=e&&("object"==typeof e||"function"==typeof e),i=t&&("object"==typeof t||"function"==typeof t);return!(n||!s||r||!i)||Te(e,t)}}class mt{constructor(e){this.wrapped=e}static wrap(e){return new mt(e)}static unwrap(e){return mt.isWrapped(e)?e.wrapped:e}static isWrapped(e){return e instanceof mt}}class gt{constructor(e,t,n){this.previousValue=e,this.currentValue=t,this.firstChange=n}isFirstChange(){return this.firstChange}}function yt(e){return!!_t(e)&&(Array.isArray(e)||!(e instanceof Map)&&Ie()in e)}function _t(e){return null!==e&&("function"==typeof e||"object"==typeof e)}class wt{}class bt{}function vt(e){const t=Error(`No component factory found for ${Se(e)}. Did you add it to @NgModule.entryComponents?`);return t[Ct]=e,t}const Ct="ngComponent";class Et{resolveComponentFactory(e){throw vt(e)}}class xt{}xt.NULL=new Et;class Nt{constructor(e,t,n){this._parent=t,this._ngModule=n,this._factories=new Map;for(let r=0;rAt(jt));class Vt{}class Pt{}var Ft=function(){var e={Important:1,DashCase:2};return e[e.Important]="Important",e[e.DashCase]="DashCase",e}();class Ht{}Ht.__NG_ELEMENT_ID__=(()=>Ot());const Lt=new ge("The presence of this token marks an injector as being the root injector.");class Bt extends T{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 g&&e.add(o),o}}class $t{}$t.__NG_ELEMENT_ID__=(()=>Mt($t,jt));let zt=!0,Ut=!1;function Zt(){return Ut=!0,zt}class Kt{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='',!this.inertBodyElement.querySelector||this.inertBodyElement.querySelector("svg")?(this.inertBodyElement.innerHTML='

',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=""+e+"";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=""+e+"";try{const n=(new window.DOMParser).parseFromString(e,"text/html").body;return n.removeChild(n.firstChild),n}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;0Wt(e.trim())).join(", ")),this.buf.push(" ",t,'="',cn(o),'"')}var r;this.buf.push(">")}endElement(e){const t=e.nodeName.toLowerCase();nn.hasOwnProperty(t)&&!Jt.hasOwnProperty(t)&&(this.buf.push(""))}chars(e){this.buf.push(cn(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 an=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,un=/([^\#-~ |!])/g;function cn(e){return e.replace(/&/g,"&").replace(an,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(un,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(//g,">")}let dn;function hn(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var fn=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 pn{}const mn=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:calc|attr))\\([-0-9.%, #a-zA-Z]+\\))$","g"),gn=/^url\(([^)]+)\)$/;String;const yn=!1;String;class _n{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}const wn=new _n("7.0.1"),bn="ngDebugContext",vn="ngOriginalError",Cn="ngErrorLogger";function En(e){return e[bn]}function xn(e){return e[vn]}function Nn(e,...t){e.error(...t)}class In{constructor(){this._console=console}handleError(e){const t=this._findOriginalError(e),n=this._findContext(e),r=function(e){return e[Cn]||Nn}(e);r(this._console,"ERROR",e),t&&r(this._console,"ORIGINAL ERROR",t),n&&r(this._console,"ERROR CONTEXT",n)}_findContext(e){return e?En(e)?En(e):this._findContext(xn(e)):null}_findOriginalError(e){let t=xn(e);for(;t&&xn(t);)t=xn(t);return t}}function kn(e){return e.length>1?" ("+function(e){const t=[];for(let n=0;n-1)return t.push(e[n]),t;t.push(e[n])}return t}(e.slice().reverse()).map(e=>Se(e.token)).join(" -> ")+")":""}function Tn(e,t,n,r){const s=[t],i=n(s),o=r?function(e,t){const n=`${i} caused by: ${t instanceof Error?t.message:t}`,r=Error(n);return r[vn]=t,r}(0,r):Error(i);return o.addKey=Sn,o.keys=s,o.injectors=[e],o.constructResolvingMessage=n,o[vn]=r,o}function Sn(e,t){this.injectors.push(e),this.keys.push(t),this.message=this.constructResolvingMessage(this.keys)}function An(e,t){const n=[];for(let r=0,s=t.length;re),n=[Vn.fromKey(Mn.get(e.useExisting))]):e.useFactory?(t=e.useFactory,n=function(e,t){if(t){const n=t.map(e=>[e]);return t.map(t=>$n(e,t,n))}return Bn(e)}(e.useFactory,e.deps)):(t=(()=>e.useValue),n=Pn);return new Hn(t,n)}(e)],e.multi||!1)}function Bn(e){const t=jn.parameters(e);if(!t)return[];if(t.some(e=>null==e))throw An(e,t);return t.map(n=>$n(e,n,t))}function $n(e,t,n){let r=null,s=!1;if(!Array.isArray(t))return zn(t instanceof Re?t.token:t,s,null);let i=null;for(let o=0;o{if(t instanceof it)n.push({provide:t,useClass:t});else if(t&&"object"==typeof t&&void 0!==t.provide)n.push(t);else{if(!(t instanceof Array))throw function(e){return Error(`Invalid provider - only instances of Provider and Type are allowed, got: ${t}`)}();e(t,n)}}),n}(e,[]).map(Ln),new Map);return Array.from(t.values())}(e)}static resolveAndCreate(e,t){const n=Zn.resolve(e);return Zn.fromResolvedProviders(n,t)}static fromResolvedProviders(e,t){return new Kn(e,t)}}class Kn{constructor(e,t){this._constructionCounter=0,this._providers=e,this.parent=t||null;const n=e.length;this.keyIds=new Array(n),this.objs=new Array(n);for(let r=0;r=this._providers.length)throw function(e){return Error(`Index ${e} is out-of-bounds.`)}(e);return this._providers[e]}_new(e){if(this._constructionCounter++>this._getMaxNumberOfObjects())throw Tn(this,e.key,function(e){return`Cannot instantiate cyclic dependency!${kn(e)}`});return this._instantiateProvider(e)}_getMaxNumberOfObjects(){return this.objs.length}_instantiateProvider(e){if(e.multiProvider){const t=new Array(e.resolvedFactories.length);for(let n=0;nthis._getByReflectiveDependency(e))}catch(o){throw o.addKey&&o.addKey(this,e.key),o}try{s=n(...r)}catch(o){throw Tn(this,e.key,function(e){const t=Se(e[0].token);return`${i.message}: Error during instantiation of ${t}!${kn(e)}.`},i=o)}var i;return s}_getByReflectiveDependency(e){return this._getByKey(e.key,e.visibility,e.optional?null:Fe)}_getByKey(e,t,n){return e===Kn.INJECTOR_KEY?this:t instanceof Oe?this._getByKeySelf(e,n):this._getByKeyDefault(e,n,t)}_getObjByKeyId(e){for(let t=0;t' "'+e.key.displayName+'" ').join(", ")}])`}toString(){return this.displayName}}function qn(e){return!!e&&"function"==typeof e.then}function Qn(e){return!!e&&"function"==typeof e.subscribe}Kn.INJECTOR_KEY=Mn.get(Be);const Wn=new ge("Application Initializer");class Gn{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{t()}).catch(e=>{this.reject(e)}),0===e.length&&t(),this.initialized=!0}}const Yn=new ge("AppId");function Jn(){return`${Xn()}${Xn()}${Xn()}`}function Xn(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const er=new ge("Platform Initializer"),tr=new ge("Platform ID"),nr=new ge("appBootstrapListener");class rr{log(e){console.log(e)}warn(e){console.warn(e)}}function sr(){throw new Error("Runtime compiler is not loaded")}class ir{compileModuleSync(e){throw sr()}compileModuleAsync(e){throw sr()}compileModuleAndAllComponentsSync(e){throw sr()}compileModuleAndAllComponentsAsync(e){throw sr()}clearCache(){}clearCacheFor(e){}getModuleId(e){}}class or{}let lr,ar;function ur(){const e=Ee.wtf;return!(!e||!(lr=e.trace)||(ar=lr.events,0))}const cr=ur(),dr=cr?function(e,t=null){return ar.createScope(e,t)}:(e,t)=>(function(e,t){return null}),hr=cr?function(e,t){return lr.leaveScope(e,t),t}:(e,t)=>t;class fr{constructor({enableLongStackTrace:e=!1}){if(this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Bt(!1),this.onMicrotaskEmpty=new Bt(!1),this.onStable=new Bt(!1),this.onError=new Bt(!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 yr(t),e.invokeTask(r,s,i,o)}finally{_r(t)}},onInvoke:(e,n,r,s,i,o,l)=>{try{return yr(t),e.invoke(r,s,i,o,l)}finally{_r(t)}},onHasTask:(e,n,r,s)=>{e.hasTask(r,s),n===r&&("microTask"==s.change?(t.hasPendingMicrotasks=s.microTask,gr(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(!fr.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(fr.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,mr,pr,pr);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 pr(){}const mr={};function gr(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 yr(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function _r(e){e._nesting--,gr(e)}class wr{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Bt,this.onMicrotaskEmpty=new Bt,this.onStable=new Bt,this.onError=new Bt}run(e){return e()}runGuarded(e){return e()}runOutsideAngular(e){return e()}runTask(e){return e()}}class br{constructor(e){this._ngZone=e,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this._watchAngularEvents(),e.run(()=>{this.taskTrackingZone=Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{fr.assertNotInAngularZone(),ke(()=>{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())ke(()=>{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 vr{constructor(){this._applications=new Map,xr.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 xr.findTestabilityInTree(this,e,t)}}vr.ctorParameters=(()=>[]);class Cr{addToWindow(e){}findTestabilityInTree(e,t,n){return null}}let Er,xr=new Cr,Nr=function(e,t,n){return e.get(or).createCompiler([t]).compileModuleAsync(n)};const Ir=new ge("AllowMultipleToken");class kr{constructor(e,t){this.name=e,this.token=t}}function Tr(e,t,n=[]){const r=`Platform: ${t}`,s=new ge(r);return(t=[])=>{let i=Sr();if(!i||i.injector.get(Ir,!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(Er&&!Er.destroyed&&!Er.injector.get(Ir,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Er=e.get(Ar);const t=e.get(er,null);t&&t.forEach(e=>e())}(Be.create({providers:e,name:r}))}return function(e){const t=Sr();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 Sr(){return Er&&!Er.destroyed?Er:null}class Ar{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 wr:("zone.js"===s?void 0:s)||new fr({enableLongStackTrace:Zt()}),r=[{provide:fr,useValue:n}];var s;return n.run(()=>{const t=Be.create({providers:r,parent:this.injector,name:e.moduleType.name}),s=e.create(t),i=s.injector.get(In,null);if(!i)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return s.onDestroy(()=>Dr(this._modules,s)),n.runOutsideAngular(()=>n.onError.subscribe({next:e=>{i.handleError(e)}})),function(e,t,n){try{const s=n();return qn(s)?s.catch(n=>{throw t.runOutsideAngular(()=>e.handleError(n)),n}):s}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(i,n,()=>{const e=s.injector.get(Gn);return e.runInitializers(),e.donePromise.then(()=>(this._moduleDoBootstrap(s),s))})})}bootstrapModule(e,t=[]){const n=Mr({},t);return Nr(this.injector,n,e).then(e=>this.bootstrapModuleFactory(e,n))}_moduleDoBootstrap(e){const t=e.injector.get(Rr);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(e=>t.bootstrap(e));else{if(!e.instance.ngDoBootstrap)throw new Error(`The module ${Se(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 Mr(e,t){return Array.isArray(t)?t.reduce(Mr,e):Object.assign({},e,t)}class Rr{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=Zt(),this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const o=new C(e=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{e.next(this._stable),e.complete()})}),l=new C(e=>{let t;this._zone.runOutsideAngular(()=>{t=this._zone.onStable.subscribe(()=>{fr.assertNotInAngularZone(),ke(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,e.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{fr.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{e.next(!1)}))});return()=>{t.unsubscribe(),n.unsubscribe()}});this.isStable=J(o,l.pipe(e=>ie()(function(e,t){return function(t){let n;n="function"==typeof e?e:function(){return e};const r=Object.create(t,ue);return r.source=t,r.subjectFactory=n,r}}(de)(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 bt?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);const r=n instanceof It?null:this._injector.get(kt),s=n.create(Be.NULL,[],t||n.selector,r);s.onDestroy(()=>{this._unloadComponent(s)});const i=s.injector.get(br,null);return i&&s.injector.get(vr).registerApplication(s.location.nativeElement,i),this._loadComponent(s),Zt()&&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 e=Rr._tickScope();try{this._runningTick=!0,this._views.forEach(e=>e.detectChanges()),this._enforceNoNewChanges&&this._views.forEach(e=>e.checkNoChanges())}catch(t){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(t))}finally{this._runningTick=!1,hr(e)}}attachView(e){const t=e;this._views.push(t),t.attachToAppRef(this)}detachView(e){const t=e;Dr(this._views,t),t.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(nr,[]).concat(this._bootstrapListeners).forEach(t=>t(e))}_unloadComponent(e){this.detachView(e.hostView),Dr(this.components,e)}ngOnDestroy(){this._views.slice().forEach(e=>e.destroy())}get viewCount(){return this._views.length}}function Dr(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}Rr._tickScope=dr("ApplicationRef#tick()");class Or{constructor(){this.dirty=!0,this._results=[],this.changes=new Bt,this.length=0}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()}[Ie()](){return this._results[Ie()]()}toString(){return this._results.toString()}reset(e){this._results=function e(t){return t.reduce((t,n)=>{const r=Array.isArray(n)?e(n):n;return t.concat(r)},[])}(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()}}class jr{}jr.__NG_ELEMENT_ID__=(()=>Dt(jr,jt));class Vr{}Vr.__NG_ELEMENT_ID__=(()=>Rt());class Pr{constructor(e,t){this.name=e,this.callback=t}}class Fr{constructor(e,t,n){this.nativeNode=e,this._debugContext=n,this.listeners=[],this.parent=null,t&&t instanceof Hr&&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 Hr extends Fr{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(e=>{e.parent&&e.parent.removeChild(e),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 Hr&&(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 Hr&&t.childNodes.forEach(t=>{n(t)&&r.push(t),t instanceof Hr&&e(t,n,r)})}(this,e,t),t}get children(){return this.childNodes.filter(e=>e instanceof Hr)}triggerEventHandler(e,t){this.listeners.forEach(n=>{n.name==e&&n.callback(t)})}}const Lr=new Map;function Br(e){return Lr.get(e)||null}function $r(e){Lr.set(e.nativeNode,e)}class zr{constructor(){}supports(e){return yt(e)}create(e){return new Zr(e)}}const Ur=(e,t)=>t;class Zr{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||Ur}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{r=this._trackByFn(t,e),null!==s&&Te(s.trackById,r)?(i&&(s=this._verifyReinsertion(s,e,r,t)),Te(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))?(Te(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,s,r)):null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Te(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,s,r)):e=this._addAfter(new Kr(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 Qr),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 Qr),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 Kr{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 qr{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)&&Te(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 Qr{constructor(){this.map=new Map}put(e){const t=e.trackById;let n=this.map.get(t);n||(n=new qr,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 Wr(e,t,n){const r=e.previousIndex;if(null===r)return r;let s=0;return n&&r{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 Jr(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){Te(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 Jr{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}}class Xr{constructor(e){this.factories=e}static create(e,t){if(null!=t){const n=t.factories.slice();e=e.concat(n)}return new Xr(e)}static extend(e){return{provide:Xr,useFactory:t=>{if(!t)throw new Error("Cannot extend IterableDiffers without a parent injector");return Xr.create(e,t)},deps:[[Xr,new je,new De]]}}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}}Xr.ngInjectableDef=pe({providedIn:"root",factory:()=>new Xr([new zr])});class es{constructor(e){this.factories=e}static create(e,t){if(t){const n=t.factories.slice();e=e.concat(n)}return new es(e)}static extend(e){return{provide:es,useFactory:t=>{if(!t)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return es.create(e,t)},deps:[[es,new je,new De]]}}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}'`)}}const ts=[new Gr],ns=new Xr([new zr]),rs=new es(ts),ss=Tr(null,"core",[{provide:tr,useValue:"unknown"},{provide:Ar,deps:[Be]},{provide:vr,deps:[]},{provide:rr,deps:[]}]),is=new ge("LocaleId");function os(){return ns}function ls(){return rs}function as(e){return e||"en-US"}class us{constructor(e){}}function cs(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 ds(e,t,n){return(1792&e.state)===t&&e.initIndex<=n&&(e.initIndex=n+1,!0)}function hs(e,t){return e.nodes[t]}function fs(e,t){return e.nodes[t]}function ps(e,t){return e.nodes[t]}function ms(e,t){return e.nodes[t]}function gs(e,t){return e.nodes[t]}const ys={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};function _s(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 ws(n,t),n}(s,e)}function ws(e,t){e[bn]=t,e[Cn]=t.logError.bind(t)}function bs(e){return new Error(`ViewDestroyedError: Attempt to use a destroyed view: ${e}`)}const vs=()=>{},Cs=new Map;function Es(e){let t=Cs.get(e);return t||(t=Se(e)+"_"+Cs.size,Cs.set(e,t)),t}function xs(e,t,n,r){if(mt.isWrapped(r)){r=mt.unwrap(r);const s=e.def.nodes[t].bindingIndex+n,i=mt.unwrap(e.oldValues[s]);e.oldValues[s]=new mt(i)}return r}const Ns="$$undefined",Is="$$empty";function ks(e){return{id:Ns,styles:e.styles,encapsulation:e.encapsulation,data:e.data}}let Ts=0;function Ss(e,t,n,r){return!(!(2&e.state)&&Te(e.oldValues[t.bindingIndex+n],r))}function As(e,t,n,r){return!!Ss(e,t,n,r)&&(e.oldValues[t.bindingIndex+n]=r,!0)}function Ms(e,t,n,r){const s=e.oldValues[t.bindingIndex+n];if(1&e.state||!pt(s,r)){const i=t.bindings[n].name;throw _s(ys.createDebugContext(e,t.nodeIndex),`${i}: ${s}`,`${i}: ${r}`,0!=(1&e.state))}}function Rs(e){let t=e;for(;t;)2&t.def.flags&&(t.state|=8),t=t.viewContainerParent||t.parent}function Ds(e,t){let n=e;for(;n&&n!==t;)n.state|=64,n=n.viewContainerParent||n.parent}function Os(e,t,n,r){try{return Rs(33554432&e.def.nodes[t].flags?fs(e,t).componentView:e),ys.handleEvent(e,t,n,r)}catch(s){e.root.errorHandler.handleError(s)}}function js(e){return e.parent?fs(e.parent,e.parentNodeDef.nodeIndex):null}function Vs(e){return e.parent?e.parentNodeDef.parent:null}function Ps(e,t){switch(201347067&t.flags){case 1:return fs(e,t.nodeIndex).renderElement;case 2:return hs(e,t.nodeIndex).renderText}}function Fs(e){return!!e.parent&&!!(32768&e.parentNodeDef.flags)}function Hs(e){return!(!e.parent||32768&e.parentNodeDef.flags)}function Ls(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<{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,Ve,{value:t,configurable:!0}),{flags:r,token:n,tokenKey:Es(n)}})}function $s(e,t,n){let r=n.renderParent;return r?0==(1&r.flags)||0==(33554432&r.flags)||r.element.componentRendererType&&r.element.componentRendererType.encapsulation===ft.Native?fs(e,n.renderParent.nodeIndex).renderElement:void 0:t}const zs=new WeakMap;function Us(e){let t=zs.get(e);return t||((t=e(()=>vs)).factory=e,zs.set(e,t)),t}function Zs(e,t,n,r,s){3===t&&(n=e.renderer.parentNode(Ps(e,e.def.lastRenderRootNode))),Ks(e,t,0,e.def.nodes.length-1,n,r,s)}function Ks(e,t,n,r,s,i,o){for(let l=n;l<=r;l++){const n=e.def.nodes[l];11&n.flags&&Qs(e,n,t,s,i,o),l+=n.childCount}}function qs(e,t,n,r,s,i){let o=e;for(;o&&!Fs(o);)o=o.parent;const l=o.parent,a=Vs(o),u=a.nodeIndex+a.childCount;for(let c=a.nodeIndex+1;c<=u;c++){const e=l.def.nodes[c];e.ngContentIndex===t&&Qs(l,e,n,r,s,i),c+=e.childCount}if(!l.parent){const o=e.root.projectableNodes[t];if(o)for(let t=0;t{const[n,r]=Ys(e);return[n,r,t]});return d=function(e){if(e&&e.id===Ns){const t=null!=e.encapsulation&&e.encapsulation!==ft.None||e.styles.length||Object.keys(e.data).length;e.id=t?`c${Ts++}`:Is}return e&&e.id===Is&&(e=null),e||null}(d),c&&(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:y,bindingFlags:Js(y),outputs:_,element:{ns:m,name:g,attrs:w,template:null,componentProvider:null,componentView:c||null,componentRendererType:d,publicProviders:null,allProviders:null,handleEvent:u||vs},provider:null,text:null,query:null,ngContent:null}}function ti(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=$s(e,t,n);s&&i.appendChild(s,o)}else o=i.selectRootElement(s,!!r.componentRendererType&&r.componentRendererType.encapsulation===ft.ShadowDom);if(r.attrs)for(let l=0;lOs(e,t,n,r)}function si(e,t,n,r){if(!As(e,t,n,r))return!1;const s=t.bindings[n],i=fs(e,t.nodeIndex),o=i.renderElement,l=s.name;switch(15&s.flags){case 1:!function(e,t,n,r,s,i){const o=t.securityContext;let l=o?e.root.sanitizer.sanitize(o,i):i;l=null!=l?l.toString():null;const a=e.renderer;null!=i?a.setAttribute(n,s,l,r):a.removeAttribute(n,s,r)}(e,s,o,s.ns,l,r);break;case 2:!function(e,t,n,r){const s=e.renderer;r?s.addClass(t,n):s.removeClass(t,n)}(e,o,l,r);break;case 4:!function(e,t,n,r,s){let i=e.root.sanitizer.sanitize(fn.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,l,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,l,r)}return!0}const ii=new Object,oi=Es(Be),li=Es(He),ai=Es(kt);function ui(e,t,n,r){return n=Me(n),{index:-1,deps:Bs(r,Se(t)),flags:e,token:t,value:n}}function ci(e,t,n=Be.THROW_IF_NOT_FOUND){const r=rt(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 oi:case li:case ai:return e}const l=e._def.providersByKey[o];let a;if(l){let t=e._providers[l.index];return void 0===t&&(t=e._providers[l.index]=di(e,l)),t===ii?void 0:t}if((a=me(t.token))&&(s=e,null!=(i=a).providedIn&&(function(e,t){return e._def.modules.indexOf(i.providedIn)>-1}(s)||"root"===i.providedIn&&s._def.isRoot))){const n=e._providers.length;return e._def.providersByKey[t.tokenKey]={flags:5120,value:a.factory,deps:[],index:n,token:t.token},e._providers[n]=ii,e._providers[n]=di(e,e._def.providersByKey[t.tokenKey])}return 4&t.flags?n:e._parent.get(t.token,n)}finally{rt(r)}var s,i}function di(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(ci(e,n[0]));case 2:return new t(ci(e,n[0]),ci(e,n[1]));case 3:return new t(ci(e,n[0]),ci(e,n[1]),ci(e,n[2]));default:const s=new Array(r);for(let t=0;t=n.length)&&(t=n.length-1),t<0)return null;const r=n[t];return r.viewContainerParent=null,gi(n,t),ys.dirtyParentQueries(r),pi(r),r}function fi(e,t,n){const r=t?Ps(t,t.def.lastRenderRootNode):e.renderElement,s=n.renderer.parentNode(r),i=n.renderer.nextSibling(r);Zs(n,2,s,i,void 0)}function pi(e){Zs(e,3,null,null,void 0)}function mi(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function gi(e,t){t>=e.length-1?e.pop():e.splice(t,1)}const yi=new Object;function _i(e,t,n,r,s,i){return new wi(e,t,n,r,s,i)}class wi extends bt{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=Us(this.viewDefFactory),i=s.nodes[0].element.componentProvider.nodeIndex,o=ys.createRootView(e,t||[],n,s,r,yi),l=ps(o,i).instance;return n&&o.renderer.setAttribute(fs(o,0).renderElement,"ng-version",wn.full),new bi(o,new xi(o),l)}}class bi extends wt{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 jt(fs(this._view,this._elDef.nodeIndex).renderElement)}get injector(){return new Ti(this._view,this._elDef)}get componentType(){return this._component.constructor}destroy(){this._viewRef.destroy()}onDestroy(e){this._viewRef.onDestroy(e)}}function vi(e,t,n){return new Ci(e,t,n)}class Ci{constructor(e,t,n){this._view=e,this._elDef=t,this._data=n,this._embeddedViews=[]}get element(){return new jt(this._data.renderElement)}get injector(){return new Ti(this._view,this._elDef)}get parentInjector(){let e=this._view,t=this._elDef.parent;for(;!t&&e;)t=Vs(e),e=e.parent;return e?new Ti(e,t):new Ti(this._view,null)}clear(){for(let e=this._embeddedViews.length-1;e>=0;e--){const t=hi(this._data,e);ys.destroyView(t)}}get(e){const t=this._embeddedViews[e];if(t){const e=new xi(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 It||(s=i.get(kt));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,mi(s,n,r),function(e,t){const n=js(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,n){if(4&n.flags)return;t.parent.def.nodeFlags|=4,n.flags|=4;let r=n.parent;for(;r;)r.childFlags|=4,r=r.parent}(0,t.parentNodeDef)}(t,r),ys.dirtyParentQueries(r),fi(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,r){const s=e.viewContainer._embeddedViews,i=s[n];gi(s,n),null==r&&(r=s.length),mi(s,r,i),ys.dirtyParentQueries(i),pi(i),fi(e,r>0?s[r-1]:null,i)}(this._data,0,t),e}indexOf(e){return this._embeddedViews.indexOf(e._view)}remove(e){const t=hi(this._data,e);t&&ys.destroyView(t)}detach(e){const t=hi(this._data,e);return t?new xi(t):null}}function Ei(e){return new xi(e)}class xi{constructor(e){this._view=e,this._viewContainerRef=null,this._appRef=null}get rootNodes(){return function(e){const t=[];return Zs(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(){Rs(this._view)}detach(){this._view.state&=-5}detectChanges(){const e=this._view.root.rendererFactory;e.begin&&e.begin();try{ys.checkAndUpdateView(this._view)}finally{e.end&&e.end()}}checkNoChanges(){ys.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)),ys.destroyView(this._view)}detachFromAppRef(){this._appRef=null,pi(this._view),ys.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 Ni(e,t){return new Ii(e,t)}class Ii extends $t{constructor(e,t){super(),this._parentView=e,this._def=t}createEmbeddedView(e){return new xi(ys.createEmbeddedView(this._parentView,this._def,this._def.element.template,e))}get elementRef(){return new jt(fs(this._parentView,this._def.nodeIndex).renderElement)}}function ki(e,t){return new Ti(e,t)}class Ti{constructor(e,t){this.view=e,this.elDef=t}get(e,t=Be.THROW_IF_NOT_FOUND){return ys.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:e,tokenKey:Es(e)},t)}}function Si(e,t){const n=e.def.nodes[t];if(1&n.flags){const t=fs(e,n.nodeIndex);return n.element.template?t.template:t.renderElement}if(2&n.flags)return hs(e,n.nodeIndex).renderText;if(20240&n.flags)return ps(e,n.nodeIndex).instance;throw new Error(`Illegal state: read nodeValue for node index ${t}`)}function Ai(e){return new Mi(e.renderer)}class Mi{constructor(e){this.delegate=e}selectRootElement(e){return this.delegate.selectRootElement(e)}createElement(e,t){const[n,r]=Ys(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;ne())}onDestroy(e){this._destroyListeners.push(e)}}const Oi=Es(Vt),ji=Es(Ht),Vi=Es(jt),Pi=Es(jr),Fi=Es($t),Hi=Es(Vr),Li=Es(Be),Bi=Es(He);function $i(e,t,n,r,s,i,o,l){const a=[];if(o)for(let c in o){const[e,t]=o[c];a[e]={flags:8,name:c,nonMinifiedName:t,ns:null,securityContext:null,suffix:null}}const u=[];if(l)for(let c in l)u.push({type:1,propName:c,target:null,eventName:l[c]});return Ui(e,t|=16384,n,r,s,s,i,a,u)}function zi(e,t,n){return Ui(-1,e|=16,null,0,t,t,n)}function Ui(e,t,n,r,s,i,o,l,a){const{matchedQueries:u,references:c,matchedQueryIds:d}=Ls(n);a||(a=[]),l||(l=[]),i=Me(i);const h=Bs(o,Se(s));return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:t,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:u,matchedQueryIds:d,references:c,ngContentIndex:-1,childCount:r,bindings:l,bindingFlags:Js(l),outputs:a,element:null,provider:{token:s,value:i,deps:h},text:null,query:null,ngContent:null}}function Zi(e,t){return Wi(e,t)}function Ki(e,t){let n=e;for(;n.parent&&!Fs(n);)n=n.parent;return Gi(n.parent,Vs(n),!0,t.provider.value,t.provider.deps)}function qi(e,t){const n=Gi(e,t.parent,(32768&t.flags)>0,t.provider.value,t.provider.deps);if(t.outputs.length)for(let r=0;rOs(e,t,n,r)}function Wi(e,t){const n=(8192&t.flags)>0,r=t.provider;switch(201347067&t.flags){case 512:return Gi(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(Ji(e,t,n,s[0]));case 2:return r(Ji(e,t,n,s[0]),Ji(e,t,n,s[1]));case 3:return r(Ji(e,t,n,s[0]),Ji(e,t,n,s[1]),Ji(e,t,n,s[2]));default:const o=Array(i);for(let r=0;r0)u=e,mo(e)||(c=e);else for(;u&&p===u.nodeIndex+u.childCount;){const e=u.parent;e&&(e.childFlags|=u.childFlags,e.childMatchedQueries|=u.childMatchedQueries),c=(u=e)&&mo(u)?u.renderParent:u}}return{factory:null,nodeFlags:o,rootNodeFlags:l,nodeMatchedQueries:a,flags:e,nodes:t,updateDirectives:n||vs,updateRenderer:r||vs,handleEvent:(e,n,r,s)=>t[n].element.handleEvent(e,r,s),bindingCount:s,outputCount:i,lastRenderRootNode:f}}function mo(e){return 0!=(1&e.flags)&&null===e.element.name}function go(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 yo(e,t,n,r){const s=bo(e.root,e.renderer,e,t,n);return vo(s,e.component,r),Co(s),s}function _o(e,t,n){const r=bo(e,e.renderer,null,null,t);return vo(r,n,n),Co(r),r}function wo(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 vo(e,t,n){e.component=t,e.context=n}function Co(e){let t;Fs(e)&&(t=fs(e.parent,e.parentNodeDef.parent.nodeIndex).renderElement);const n=e.def,r=e.nodes;for(let s=0;s0&&si(e,t,0,n)&&(f=!0),h>1&&si(e,t,1,r)&&(f=!0),h>2&&si(e,t,2,s)&&(f=!0),h>3&&si(e,t,3,i)&&(f=!0),h>4&&si(e,t,4,o)&&(f=!0),h>5&&si(e,t,5,l)&&(f=!0),h>6&&si(e,t,6,a)&&(f=!0),h>7&&si(e,t,7,u)&&(f=!0),h>8&&si(e,t,8,c)&&(f=!0),h>9&&si(e,t,9,d)&&(f=!0),f}(e,t,n,r,s,i,o,l,a,u,c,d);case 2:return function(e,t,n,r,s,i,o,l,a,u,c,d){let h=!1;const f=t.bindings,p=f.length;if(p>0&&As(e,t,0,n)&&(h=!0),p>1&&As(e,t,1,r)&&(h=!0),p>2&&As(e,t,2,s)&&(h=!0),p>3&&As(e,t,3,i)&&(h=!0),p>4&&As(e,t,4,o)&&(h=!0),p>5&&As(e,t,5,l)&&(h=!0),p>6&&As(e,t,6,a)&&(h=!0),p>7&&As(e,t,7,u)&&(h=!0),p>8&&As(e,t,8,c)&&(h=!0),p>9&&As(e,t,9,d)&&(h=!0),h){let h=t.text.prefix;p>0&&(h+=fo(n,f[0])),p>1&&(h+=fo(r,f[1])),p>2&&(h+=fo(s,f[2])),p>3&&(h+=fo(i,f[3])),p>4&&(h+=fo(o,f[4])),p>5&&(h+=fo(l,f[5])),p>6&&(h+=fo(a,f[6])),p>7&&(h+=fo(u,f[7])),p>8&&(h+=fo(c,f[8])),p>9&&(h+=fo(d,f[9]));const m=hs(e,t.nodeIndex).renderText;e.renderer.setValue(m,h)}return h}(e,t,n,r,s,i,o,l,a,u,c,d);case 16384:return function(e,t,n,r,s,i,o,l,a,u,c,d){const h=ps(e,t.nodeIndex),f=h.instance;let p=!1,m=void 0;const g=t.bindings.length;return g>0&&Ss(e,t,0,n)&&(p=!0,m=eo(e,h,t,0,n,m)),g>1&&Ss(e,t,1,r)&&(p=!0,m=eo(e,h,t,1,r,m)),g>2&&Ss(e,t,2,s)&&(p=!0,m=eo(e,h,t,2,s,m)),g>3&&Ss(e,t,3,i)&&(p=!0,m=eo(e,h,t,3,i,m)),g>4&&Ss(e,t,4,o)&&(p=!0,m=eo(e,h,t,4,o,m)),g>5&&Ss(e,t,5,l)&&(p=!0,m=eo(e,h,t,5,l,m)),g>6&&Ss(e,t,6,a)&&(p=!0,m=eo(e,h,t,6,a,m)),g>7&&Ss(e,t,7,u)&&(p=!0,m=eo(e,h,t,7,u,m)),g>8&&Ss(e,t,8,c)&&(p=!0,m=eo(e,h,t,8,c,m)),g>9&&Ss(e,t,9,d)&&(p=!0,m=eo(e,h,t,9,d,m)),m&&f.ngOnChanges(m),65536&t.flags&&ds(e,256,t.nodeIndex)&&f.ngOnInit(),262144&t.flags&&f.ngDoCheck(),p}(e,t,n,r,s,i,o,l,a,u,c,d);case 32:case 64:case 128:return function(e,t,n,r,s,i,o,l,a,u,c,d){const h=t.bindings;let f=!1;const p=h.length;if(p>0&&As(e,t,0,n)&&(f=!0),p>1&&As(e,t,1,r)&&(f=!0),p>2&&As(e,t,2,s)&&(f=!0),p>3&&As(e,t,3,i)&&(f=!0),p>4&&As(e,t,4,o)&&(f=!0),p>5&&As(e,t,5,l)&&(f=!0),p>6&&As(e,t,6,a)&&(f=!0),p>7&&As(e,t,7,u)&&(f=!0),p>8&&As(e,t,8,c)&&(f=!0),p>9&&As(e,t,9,d)&&(f=!0),f){const f=ms(e,t.nodeIndex);let m;switch(201347067&t.flags){case 32:m=new Array(h.length),p>0&&(m[0]=n),p>1&&(m[1]=r),p>2&&(m[2]=s),p>3&&(m[3]=i),p>4&&(m[4]=o),p>5&&(m[5]=l),p>6&&(m[6]=a),p>7&&(m[7]=u),p>8&&(m[8]=c),p>9&&(m[9]=d);break;case 64:m={},p>0&&(m[h[0].name]=n),p>1&&(m[h[1].name]=r),p>2&&(m[h[2].name]=s),p>3&&(m[h[3].name]=i),p>4&&(m[h[4].name]=o),p>5&&(m[h[5].name]=l),p>6&&(m[h[6].name]=a),p>7&&(m[h[7].name]=u),p>8&&(m[h[8].name]=c),p>9&&(m[h[9].name]=d);break;case 128:const e=n;switch(p){case 1:m=e.transform(n);break;case 2:m=e.transform(r);break;case 3:m=e.transform(r,s);break;case 4:m=e.transform(r,s,i);break;case 5:m=e.transform(r,s,i,o);break;case 6:m=e.transform(r,s,i,o,l);break;case 7:m=e.transform(r,s,i,o,l,a);break;case 8:m=e.transform(r,s,i,o,l,a,u);break;case 9:m=e.transform(r,s,i,o,l,a,u,c);break;case 10:m=e.transform(r,s,i,o,l,a,u,c,d)}}f.value=m}return f}(e,t,n,r,s,i,o,l,a,u,c,d);default:throw"unreachable"}}(e,t,r,s,i,o,l,a,u,c,d,h):function(e,t,n){switch(201347067&t.flags){case 1:return function(e,t,n){let r=!1;for(let s=0;s0&&Ms(e,t,0,n),h>1&&Ms(e,t,1,r),h>2&&Ms(e,t,2,s),h>3&&Ms(e,t,3,i),h>4&&Ms(e,t,4,o),h>5&&Ms(e,t,5,l),h>6&&Ms(e,t,6,a),h>7&&Ms(e,t,7,u),h>8&&Ms(e,t,8,c),h>9&&Ms(e,t,9,d)}(e,t,r,s,i,o,l,a,u,c,d,h):function(e,t,n){for(let r=0;r{const r=zo.get(e.token);3840&e.flags&&r&&(t=!0,n=n||r.deprecatedBehavior)}),e.modules.forEach(e=>{Uo.forEach((r,s)=>{me(s).providedIn===e&&(t=!0,n=n||r.deprecatedBehavior)})}),{hasOverrides:t,hasDeprecatedOverrides:n})}(e);return t?(function(e){for(let t=0;t0){let t=new Set(e.modules);Uo.forEach((r,s)=>{if(t.has(me(s).providedIn)){let t={token:s,flags:r.flags|(n?4096:0),deps:Bs(r.deps),value:r.value,index:e.providers.length};e.providers.push(t),e.providersByKey[Es(s)]=t}})}}(e=e.factory(()=>vs)),e):e}(r))}const zo=new Map,Uo=new Map,Zo=new Map;function Ko(e){let t;zo.set(e.token,e),"function"==typeof e.token&&(t=me(e.token))&&"function"==typeof t.providedIn&&Uo.set(e.token,e)}function qo(e,t){const n=Us(t.viewDefFactory),r=Us(n.nodes[0].element.componentView);Zo.set(e,r)}function Qo(){zo.clear(),Uo.clear(),Zo.clear()}function Wo(e){if(0===zo.size)return e;const t=function(e){const t=[];let n=null;for(let r=0;rvs);for(let r=0;r"-"+e[1].toLowerCase())}`)]=hl(l))}const r=t.parent,l=fs(e,r.nodeIndex).renderElement;if(r.element.name)for(let t in n){const r=n[t];null!=r?e.renderer.setAttribute(l,t,r):e.renderer.removeAttribute(l,t)}else e.renderer.setValue(l,`bindings=${JSON.stringify(n,null,2)}`)}}var s,i}function cl(e,t,n,r){ko(e,t,n,...r)}const dl=/([A-Z])/g;function hl(e){try{return null!=e?e.toString().slice(0,30):e}catch(t){return"[ERROR] Exception while trying to serialize the value"}}function fl(e,t){for(let n=t;n++i===s?e.error.bind(e,...t):vs),inew ml(e,t),handleEvent:ol,updateDirectives:ll,updateRenderer:al}:{setCurrentNode:()=>{},createRootView:Po,createEmbeddedView:yo,createComponentView:wo,createNgModuleRef:Ri,overrideProvider:vs,overrideComponentView:vs,clearOverrides:vs,checkAndUpdateView:xo,checkNoChangesView:Eo,destroyView:So,createDebugContext:(e,t)=>new ml(e,t),handleEvent:(e,t,n,r)=>e.def.handleEvent(e,t,n,r),updateDirectives:(e,t)=>e.def.updateDirectives(0===t?Go:Yo,e),updateRenderer:(e,t)=>e.def.updateRenderer(0===t?Go:Yo,e)};ys.setCurrentNode=e.setCurrentNode,ys.createRootView=e.createRootView,ys.createEmbeddedView=e.createEmbeddedView,ys.createComponentView=e.createComponentView,ys.createNgModuleRef=e.createNgModuleRef,ys.overrideProvider=e.overrideProvider,ys.overrideComponentView=e.overrideComponentView,ys.clearOverrides=e.clearOverrides,ys.checkAndUpdateView=e.checkAndUpdateView,ys.checkNoChangesView=e.checkNoChangesView,ys.destroyView=e.destroyView,ys.resolveDep=Ji,ys.createDebugContext=e.createDebugContext,ys.handleEvent=e.handleEvent,ys.updateDirectives=e.updateDirectives,ys.updateRenderer=e.updateRenderer,ys.dirtyParentQueries=so}();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}}(Us(this._ngModuleDefFactory));return ys.createNgModuleRef(this.moduleType,e||Be.NULL,this._bootstrapComponents,t)}}class El{}class xl{}class Nl{}const Il=void 0;var kl=["en",[["a","p"],["AM","PM"],Il],[["AM","PM"],Il,Il],[["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"]],Il,[["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"]],Il,[["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}",Il,"{1} 'at' {0}",Il],[".",",",";","%","+","-","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 Tl={};var Sl=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}();const Al=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Ml=new ge("UseV4Plurals");class Rl{}class Dl extends Rl{constructor(e,t){super(),this.locale=e,this.deprecatedPluralFn=t}getPluralCategory(e,t){switch(this.deprecatedPluralFn?this.deprecatedPluralFn(t||this.locale,e):function(e){return function(e){const t=e.toLowerCase().replace(/_/g,"-");let n=Tl[t];if(n)return n;const r=t.split("-")[0];if(n=Tl[r])return n;if("en"===r)return kl;throw new Error(`Missing locale data for the locale "${e}".`)}(e)[18]}(t||this.locale)(e)){case Sl.Zero:return"zero";case Sl.One:return"one";case Sl.Two:return"two";case Sl.Few:return"few";case Sl.Many:return"many";default:return"other"}}}class Ol{constructor(e,t,n,r){this._iterableDiffers=e,this._keyValueDiffers=t,this._ngEl=n,this._renderer=r,this._initialClasses=[]}set klass(e){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof e?e.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(e){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof e?e.split(/\s+/):e,this._rawClass&&(yt(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const e=this._iterableDiffer.diff(this._rawClass);e&&this._applyIterableChanges(e)}else if(this._keyValueDiffer){const e=this._keyValueDiffer.diff(this._rawClass);e&&this._applyKeyValueChanges(e)}}_applyKeyValueChanges(e){e.forEachAddedItem(e=>this._toggleClass(e.key,e.currentValue)),e.forEachChangedItem(e=>this._toggleClass(e.key,e.currentValue)),e.forEachRemovedItem(e=>{e.previousValue&&this._toggleClass(e.key,!1)})}_applyIterableChanges(e){e.forEachAddedItem(e=>{if("string"!=typeof e.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${Se(e.item)}`);this._toggleClass(e.item,!0)}),e.forEachRemovedItem(e=>this._toggleClass(e.item,!1))}_applyClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(e=>this._toggleClass(e,!0)):Object.keys(e).forEach(t=>this._toggleClass(t,!!e[t])))}_removeClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(e=>this._toggleClass(e,!1)):Object.keys(e).forEach(e=>this._toggleClass(e,!1)))}_toggleClass(e,t){(e=e.trim())&&e.split(/\s+/g).forEach(e=>{t?this._renderer.addClass(this._ngEl.nativeElement,e):this._renderer.removeClass(this._ngEl.nativeElement,e)})}}class jl{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 Vl{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){Zt()&&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 jl(null,this._ngForOf,-1,-1),r),s=new Pl(e,n);t.push(s)}else if(null==r)this._viewContainer.remove(n);else{const s=this._viewContainer.get(n);this._viewContainer.move(s,r);const i=new Pl(e,s);t.push(i)}});for(let n=0;n{this._viewContainer.get(e.currentIndex).context.$implicit=e.item})}_perViewChange(e,t){e.context.$implicit=t.item}static ngTemplateContextGuard(e,t){return!0}}class Pl{constructor(e,t){this.record=e,this.view=t}}class Fl{constructor(e,t){this._viewContainer=e,this._context=new Hl,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=t}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){Ll("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){Ll("ngIfElse",e),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateGuard_ngIf(e,t){return!0}}class Hl{constructor(){this.$implicit=null,this.ngIf=null}}function Ll(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${Se(t)}'.`)}function Bl(e,t){return Error(`InvalidPipeArgument: '${t}' for pipe '${Se(e)}'`)}const $l=/((?:[^yMLdHhmsazZEwGjJ']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|L+|d+|H+|h+|J+|j+|m+|s+|a|z|Z|G+|w+))(.*)/,zl={yMMMdjms:ea(Xl([Yl("year",1),Jl("month",3),Yl("day",1),Yl("hour",1),Yl("minute",1),Yl("second",1)])),yMdjm:ea(Xl([Yl("year",1),Yl("month",1),Yl("day",1),Yl("hour",1),Yl("minute",1)])),yMMMMEEEEd:ea(Xl([Yl("year",1),Jl("month",4),Jl("weekday",4),Yl("day",1)])),yMMMMd:ea(Xl([Yl("year",1),Jl("month",4),Yl("day",1)])),yMMMd:ea(Xl([Yl("year",1),Jl("month",3),Yl("day",1)])),yMd:ea(Xl([Yl("year",1),Yl("month",1),Yl("day",1)])),jms:ea(Xl([Yl("hour",1),Yl("second",1),Yl("minute",1)])),jm:ea(Xl([Yl("hour",1),Yl("minute",1)]))},Ul={yyyy:ea(Yl("year",4)),yy:ea(Yl("year",2)),y:ea(Yl("year",1)),MMMM:ea(Jl("month",4)),MMM:ea(Jl("month",3)),MM:ea(Yl("month",2)),M:ea(Yl("month",1)),LLLL:ea(Jl("month",4)),L:ea(Jl("month",1)),dd:ea(Yl("day",2)),d:ea(Yl("day",1)),HH:Zl(ql(ea(Gl(Yl("hour",2),!1)))),H:ql(ea(Gl(Yl("hour",1),!1))),hh:Zl(ql(ea(Gl(Yl("hour",2),!0)))),h:ql(ea(Gl(Yl("hour",1),!0))),jj:ea(Yl("hour",2)),j:ea(Yl("hour",1)),mm:Zl(ea(Yl("minute",2))),m:ea(Yl("minute",1)),ss:Zl(ea(Yl("second",2))),s:ea(Yl("second",1)),sss:ea(Yl("second",3)),EEEE:ea(Jl("weekday",4)),EEE:ea(Jl("weekday",3)),EE:ea(Jl("weekday",2)),E:ea(Jl("weekday",1)),a:Kl(ea(Gl(Yl("hour",1),!0))),Z:Wl("short"),z:Wl("long"),ww:ea({}),w:ea({}),G:ea(Jl("era",1)),GG:ea(Jl("era",2)),GGG:ea(Jl("era",3)),GGGG:ea(Jl("era",4))};function Zl(e){return function(t,n){const r=e(t,n);return 1==r.length?"0"+r:r}}function Kl(e){return function(t,n){return e(t,n).split(" ")[1]}}function ql(e){return function(t,n){return e(t,n).split(" ")[0]}}function Ql(e,t,n){return new Intl.DateTimeFormat(t,n).format(e).replace(/[\u200e\u200f]/g,"")}function Wl(e){const t={hour:"2-digit",hour12:!1,timeZoneName:e};return function(e,n){const r=Ql(e,n,t);return r?r.substring(3):""}}function Gl(e,t){return e.hour12=t,e}function Yl(e,t){const n={};return n[e]=2===t?"2-digit":"numeric",n}function Jl(e,t){const n={};return n[e]=t<4?t>1?"short":"narrow":"long",n}function Xl(e){return e.reduce((e,t)=>Object.assign({},e,t),{})}function ea(e){return(t,n)=>Ql(t,n,e)}const ta=new Map;class na{static format(e,t,n){return function(e,t,n){const r=zl[e];if(r)return r(t,n);const s=e;let i=ta.get(s);if(!i){let t;i=[],$l.exec(e);let n=e;for(;n;)(t=$l.exec(n))?n=(i=i.concat(t.slice(1))).pop():(i.push(n),n=null);ta.set(s,i)}return i.reduce((e,r)=>{const s=Ul[r];return e+(s?s(t,n):function(e){return"''"===e?"'":e.replace(/(^'|'$)/g,"").replace(/''/g,"'")}(r))},"")}(n,e,t)}}class ra{constructor(e){this._locale=e}transform(e,t="mediumDate"){if(null==e||""===e||e!=e)return null;let n;if("string"==typeof e&&(e=e.trim()),sa(e))n=e;else if(isNaN(e-parseFloat(e)))if("string"==typeof e&&/^(\d{4}-\d{1,2}-\d{1,2})$/.test(e)){const[t,r,s]=e.split("-").map(e=>parseInt(e,10));n=new Date(t,r-1,s)}else n=new Date(e);else n=new Date(parseFloat(e));if(!sa(n)){let t;if("string"!=typeof e||!(t=e.match(Al)))throw Bl(ra,e);n=function(e){const t=new Date(0);let n=0,r=0;const s=e[8]?t.setUTCFullYear:t.setFullYear,i=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),r=Number(e[9]+e[11])),s.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));const o=Number(e[4]||0)-n,l=Number(e[5]||0)-r,a=Number(e[6]||0),u=Math.round(1e3*parseFloat("0."+(e[7]||0)));return i.call(t,o,l,a,u),t}(t)}return na.format(n,this._locale,ra._ALIASES[t]||t)}}function sa(e){return e instanceof Date&&!isNaN(e.valueOf())}ra._ALIASES={medium:"yMMMdjms",short:"yMdjm",fullDate:"yMMMMEEEEd",longDate:"yMMMMd",mediumDate:"yMMMd",shortDate:"yMd",mediumTime:"jms",shortTime:"jm"};class ia{createSubscription(e,t){return e.subscribe({next:t,error:e=>{throw e}})}dispose(e){e.unsubscribe()}onDestroy(e){e.unsubscribe()}}class oa{createSubscription(e,t){return e.then(t,e=>{throw e})}dispose(e){}onDestroy(e){}}const la=new oa,aa=new ia;class ua{constructor(e){this._ref=e,this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(e){return this._obj?e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue===this._latestReturnedValue?this._latestReturnedValue:(this._latestReturnedValue=this._latestValue,mt.wrap(this._latestValue)):(e&&this._subscribe(e),this._latestReturnedValue=this._latestValue,this._latestValue)}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,t=>this._updateLatestValue(e,t))}_selectStrategy(e){if(qn(e))return la;if(Qn(e))return aa;throw Bl(ua,e)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,t){e===this._obj&&(this._latestValue=t,this._ref.markForCheck())}}class ca{}const da=new ge("DocumentToken"),ha="server";class fa{}var pa=ks({encapsulation:2,styles:[],data:{}});function ma(e){return po(0,[(e()(),ei(0,0,null,null,1,"div",[["class","element-bg-img"]],null,null,null,null,null)),(e()(),ei(1,0,null,null,0,"img",[["class","img-responsive"]],[[8,"src",4],[8,"alt",0]],null,null,null,null))],null,function(e,t){var n=t.component;e(t,1,0,"assets/images/"+n.current.image,n.current.name)})}function ga(e){return po(0,[(e()(),Xs(16777216,null,null,1,null,ma)),$i(1,16384,null,0,Fl,[jr,$t],{ngIf:[0,"ngIf"]},null)],function(e,t){e(t,1,0,t.component.current.image)},null)}class ya{constructor(){this.currentChange=new Bt}select(e){console.log("select() destination",e),this.current=e,this.currentChange.emit(e)}}var _a=ks({encapsulation:2,styles:[],data:{}});function wa(e){return po(0,[(e()(),ei(0,0,null,null,5,"li",[],null,null,null,null,null)),$i(1,278528,null,0,Ol,[Xr,es,jt,Ht],{ngClass:[0,"ngClass"]},null),uo(2,{"anc-bor":0}),(e()(),ei(3,0,null,null,2,"a",[["class","selectable"]],[[8,"innerHTML",1]],[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.select(e.context.$implicit)&&r),r},null,null)),$i(4,278528,null,0,Ol,[Xr,es,jt,Ht],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),uo(5,{selected:0})],function(e,t){var n=t.component,r=e(t,2,0,t.context.last);e(t,1,0,r);var s=e(t,5,0,t.context.$implicit===n.current);e(t,4,0,"selectable",s)},function(e,t){e(t,3,0,t.context.$implicit.name)})}function ba(e){return po(0,[(e()(),ei(0,0,null,null,3,"div",[["class","ele-strip"]],null,null,null,null,null)),(e()(),ei(1,0,null,null,2,"ul",[],null,null,null,null,null)),(e()(),Xs(16777216,null,null,1,null,wa)),$i(3,278528,null,0,Vl,[jr,$t,Xr],{ngForOf:[0,"ngForOf"]},null)],function(e,t){e(t,3,0,t.component.all)},null)}class va{constructor(){this.currentChange=new Bt}select(e){console.log("select() activity",e),this.current=e,this.currentChange.emit(e)}}var Ca=ks({encapsulation:2,styles:[],data:{}});function Ea(e){return po(0,[(e()(),ei(0,0,null,null,1,"p",[],null,null,null,null,null)),(e()(),co(1,null,["",""]))],null,function(e,t){e(t,1,0,t.context.$implicit)})}function xa(e){return po(0,[(e()(),ei(0,0,null,null,1,"li",[],null,null,null,null,null)),(e()(),ei(1,0,null,null,0,"img",[["alt",""]],[[8,"src",4]],null,null,null,null))],null,function(e,t){e(t,1,0,"assets/images/"+t.context.$implicit)})}function Na(e){return po(0,[(e()(),ei(0,0,null,null,3,"div",[["class","activity-img"]],null,null,null,null,null)),(e()(),ei(1,0,null,null,2,"ul",[],null,null,null,null,null)),(e()(),Xs(16777216,null,null,1,null,xa)),$i(3,278528,null,0,Vl,[jr,$t,Xr],{ngForOf:[0,"ngForOf"]},null)],function(e,t){e(t,3,0,t.parent.context.$implicit.images)},null)}function Ia(e){return po(0,[(e()(),ei(0,0,null,null,10,"div",[["class","activity-row selectable"]],null,[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.select(e.context.$implicit)&&r),r},null,null)),(e()(),ei(1,0,null,null,6,"div",[["class","activity-desc"]],null,null,null,null,null)),(e()(),ei(2,0,null,null,1,"h5",[],null,null,null,null,null)),(e()(),co(3,null,["",""])),(e()(),Xs(16777216,null,null,1,null,Ea)),$i(5,278528,null,0,Vl,[jr,$t,Xr],{ngForOf:[0,"ngForOf"]},null),(e()(),ei(6,0,null,null,1,"h6",[],null,null,null,null,null)),(e()(),co(7,null,["Tel:",""])),(e()(),Xs(16777216,null,null,1,null,Na)),$i(9,16384,null,0,Fl,[jr,$t],{ngIf:[0,"ngIf"]},null),(e()(),ei(10,0,null,null,0,"div",[["class","clear"]],null,null,null,null,null))],function(e,t){e(t,5,0,t.context.$implicit.description),e(t,9,0,t.context.$implicit.images.length>0)},function(e,t){e(t,3,0,t.context.$implicit.title),e(t,7,0,t.context.$implicit.contactInfo)})}function ka(e){return po(0,[(e()(),ei(0,0,null,null,7,"div",[["class","village"]],null,null,null,null,null)),(e()(),ei(1,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),co(2,null,["",""])),(e()(),ei(3,0,null,null,0,"span",[["class","line"]],null,null,null,null,null)),(e()(),ei(4,0,null,null,3,"div",[["class","activity_box"]],null,null,null,null,null)),(e()(),ei(5,0,null,null,2,"div",[["class","scrollbar"],["id","style-2"]],null,null,null,null,null)),(e()(),Xs(16777216,null,null,1,null,Ia)),$i(7,278528,null,0,Vl,[jr,$t,Xr],{ngForOf:[0,"ngForOf"]},null)],function(e,t){e(t,7,0,t.component.dest.activities)},function(e,t){e(t,2,0,t.component.dest.title)})}class Ta extends T{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 N;return this._value}next(e){super.next(this._value=e)}}class Sa extends g{constructor(e,t){super()}schedule(e,t=0){return this}}class Aa extends Sa{constructor(e,t){super(e,t),this.scheduler=e,this.work=t,this.pending=!1}schedule(e,t=0){if(this.closed)return this;this.state=e;const n=this.id,r=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(r,n,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(r,this.id,t),this}requestAsyncId(e,t,n=0){return setInterval(e.flush.bind(e,this),n)}recycleAsyncId(e,t,n=0){if(null!==n&&this.delay===n&&!1===this.pending)return t;clearInterval(t)}execute(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const n=this._execute(e,t);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,t){let n=!1,r=void 0;try{this.work(e)}catch(s){n=!0,r=!!s&&s||new Error(s)}if(n)return this.unsubscribe(),r}_unsubscribe(){const e=this.id,t=this.scheduler,n=t.actions,r=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==r&&n.splice(r,1),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null}}class Ma extends Aa{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}schedule(e,t=0){return t>0?super.schedule(e,t):(this.delay=t,this.state=e,this.scheduler.flush(this),this)}execute(e,t){return t>0||this.closed?super.execute(e,t):this._execute(e,t)}requestAsyncId(e,t,n=0){return null!==n&&n>0||null===n&&this.delay>0?super.requestAsyncId(e,t,n):e.flush(this)}}class Ra{constructor(e,t=Ra.now){this.SchedulerAction=e,this.now=t}schedule(e,t=0,n){return new this.SchedulerAction(this,e).schedule(n,t)}}Ra.now=(()=>Date.now());class Da extends Ra{constructor(e,t=Ra.now){super(e,()=>Da.delegate&&Da.delegate!==this?Da.delegate.now():t()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(e,t=0,n){return Da.delegate&&Da.delegate!==this?Da.delegate.schedule(e,t,n):super.schedule(e,t,n)}flush(e){const{actions:t}=this;if(this.active)return void t.push(e);let n;this.active=!0;do{if(n=e.execute(e.state,e.delay))break}while(e=t.shift());if(this.active=!1,n){for(;e=t.shift();)e.unsubscribe();throw n}}}class Oa extends Da{}const ja=new Oa(Ma),Va=new C(e=>e.complete());function Pa(e){return e?function(e){return new C(t=>e.schedule(()=>t.complete()))}(e):Va}function Fa(...e){let t=e[e.length-1];switch(A(t)?e.pop():t=void 0,e.length){case 0:return Pa(t);case 1:return t?K(e,t):function(e){const t=new C(t=>{t.next(e),t.complete()});return t._isScalar=!0,t.value=e,t}(e[0]);default:return K(e,t)}}class Ha{constructor(e,t,n){this.kind=e,this.value=t,this.error=n,this.hasValue="N"===e}observe(e){switch(this.kind){case"N":return e.next&&e.next(this.value);case"E":return e.error&&e.error(this.error);case"C":return e.complete&&e.complete()}}do(e,t,n){switch(this.kind){case"N":return e&&e(this.value);case"E":return t&&t(this.error);case"C":return n&&n()}}accept(e,t,n){return e&&"function"==typeof e.next?this.observe(e):this.do(e,t,n)}toObservable(){switch(this.kind){case"N":return Fa(this.value);case"E":return e=this.error,new C(t=>t.error(e));case"C":return Pa()}var e;throw new Error("unexpected notification kind value")}static createNext(e){return void 0!==e?new Ha("N",e):Ha.undefinedValueNotification}static createError(e){return new Ha("E",void 0,e)}static createComplete(){return Ha.completeNotification}}Ha.completeNotification=new Ha("C"),Ha.undefinedValueNotification=new Ha("N",void 0);class La{constructor(e,t=0){this.scheduler=e,this.delay=t}call(e,t){return t.subscribe(new Ba(e,this.scheduler,this.delay))}}class Ba extends w{constructor(e,t,n=0){super(e),this.scheduler=t,this.delay=n}static dispatch(e){const{notification:t,destination:n}=e;t.observe(n),this.unsubscribe()}scheduleMessage(e){this.destination.add(this.scheduler.schedule(Ba.dispatch,this.delay,new $a(e,this.destination)))}_next(e){this.scheduleMessage(Ha.createNext(e))}_error(e){this.scheduleMessage(Ha.createError(e)),this.unsubscribe()}_complete(){this.scheduleMessage(Ha.createComplete()),this.unsubscribe()}}class $a{constructor(e,t){this.notification=e,this.destination=t}}class za{constructor(e,t){this.observables=e,this.project=t}call(e,t){return t.subscribe(new Ua(e,this.observables,this.project))}}class Ua extends ${constructor(e,t,n){super(e),this.observables=t,this.project=n,this.toRespond=[];const r=t.length;this.values=new Array(r);for(let s=0;s0){const e=i.indexOf(n);-1!==e&&i.splice(e,1)}}notifyComplete(){}_next(e){if(0===this.toRespond.length){const t=[e,...this.values];this.project?this._tryProject(t):this.destination.next(t)}}_tryProject(e){let t;try{t=this.project.apply(this,e)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}class Za{constructor(e,t,n=!1){this.accumulator=e,this.seed=t,this.hasSeed=n}call(e,t){return t.subscribe(new Ka(e,this.accumulator,this.seed,this.hasSeed))}}class Ka extends w{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)}}class qa{constructor(e,t){this.compare=e,this.keySelector=t}call(e,t){return t.subscribe(new Qa(e,this.compare,this.keySelector))}}class Qa extends w{constructor(e,t,n){super(e),this.keySelector=n,this.hasKey=!1,"function"==typeof t&&(this.compare=t)}compare(e,t){return e===t}_next(e){let t=e;if(this.keySelector&&(t=f(this.keySelector)(e))===c)return this.destination.error(c.e);let n=!1;if(this.hasKey){if((n=f(this.compare)(this.key,t))===c)return this.destination.error(c.e)}else this.hasKey=!0;!1===Boolean(n)&&(this.key=t,this.destination.next(e))}}const Wa="@ngrx/store/init";class Ga extends Ta{constructor(){super({type:Wa})}next(e){if(void 0===e)throw new TypeError("Actions must be objects");if(void 0===e.type)throw new TypeError("Actions must have a type property");super.next(e)}complete(){}ngOnDestroy(){super.complete()}}const Ya=new ge("@ngrx/store Internal Initial State"),Ja=new ge("@ngrx/store Initial State"),Xa=new ge("@ngrx/store Reducer Factory"),eu=new ge("@ngrx/store Reducer Factory Provider"),tu=new ge("@ngrx/store Initial Reducers"),nu=new ge("@ngrx/store Internal Initial Reducers"),ru=new ge("@ngrx/store Meta Reducers"),su=new ge("@ngrx/store Internal Store Reducers");function iu(e,t={}){const n=Object.keys(e),r={};for(let i=0;it(e),n(t))}}function lu(e,t){return Array.isArray(t)&&t.length>0?ou.apply(null,[...t,e]):e}class au extends C{}class uu extends Ga{}const cu="@ngrx/store/update-reducers";class du extends Ta{constructor(e,t,n,r){super(r(n,t)),this.dispatcher=e,this.initialState=t,this.reducers=n,this.reducerFactory=r}addFeature(e){this.addFeatures([e])}addFeatures(e){const t=e.reduce((e,{reducers:t,reducerFactory:n,metaReducers:r,initialState:s,key:i})=>{const o="function"==typeof t?function(e){const t=Array.isArray(e)&&e.length>0?ou(...e):e=>e;return(e,n)=>(e=t(e),(t,r)=>e(t=void 0===t?n:t,r))}(r)(t,s):lu(n,r)(t,s);return e[i]=o,e},{});this.addReducers(t)}removeFeature(e){this.removeFeatures([e])}removeFeatures(e){this.removeReducers(e.map(e=>e.key))}addReducer(e,t){this.addReducers({[e]:t})}addReducers(e){this.reducers=Object.assign({},this.reducers,e),this.updateReducers(Object.keys(e))}removeReducer(e){this.removeReducers([e])}removeReducers(e){e.forEach(e=>{this.reducers=function(e,t){return Object.keys(e).filter(e=>e!==t).reduce((t,n)=>Object.assign(t,{[n]:e[n]}),{})}(this.reducers,e)}),this.updateReducers(e)}updateReducers(e){this.next(this.reducerFactory(this.reducers,this.initialState)),e.forEach(e=>{this.dispatcher.next({type:cu,feature:e})})}ngOnDestroy(){this.complete()}}class hu extends T{ngOnDestroy(){this.complete()}}class fu extends C{}class pu extends Ta{constructor(e,t,n,r){super(r);const s=e.pipe(function(e,t=0){return function(n){return n.lift(new La(e,t))}}(ja)).pipe(function(...e){return t=>{let n;return"function"==typeof e[e.length-1]&&(n=e.pop()),t.lift(new za(e,n))}}(t)).pipe(function(e,t){let n=!1;return arguments.length>=2&&(n=!0),function(r){return r.lift(new Za(e,t,n))}}(mu,{state:r}));this.stateSubscription=s.subscribe(({state:e,action:t})=>{this.next(e),n.next(t)})}ngOnDestroy(){this.stateSubscription.unsubscribe(),this.complete()}}function mu(e={state:void 0},[t,n]){const{state:r}=e;return{state:n(r,t),action:t}}pu.INIT=Wa;class gu extends C{constructor(e,t,n){super(),this.actionsObserver=t,this.reducerManager=n,this.source=e}select(e,...t){return(function(e,t,...n){return function(r){let s;if("string"==typeof e){const i=[t,...n].filter(Boolean);s=r.pipe(function(...e){const t=e.length;if(0===t)throw new Error("list of properties cannot be empty.");return n=>z(function(e,t){return n=>{let r=n;for(let s=0;se(n,t)))}return s.pipe(e=>e.lift(new qa(void 0,void 0)))}}).call(null,e,...t)(this)}lift(e){const t=new gu(this,this.actionsObserver,this.reducerManager);return t.operator=e,t}dispatch(e){this.actionsObserver.next(e)}next(e){this.actionsObserver.next(e)}error(e){this.actionsObserver.error(e)}complete(){this.actionsObserver.complete()}addReducer(e,t){this.reducerManager.addReducer(e,t)}removeReducer(e){this.reducerManager.removeReducer(e)}}function yu(e,t){return e===t}function _u(e,t=yu,n=yu){let r=null,s=null;return{memoized:function(){if(!r)return s=e.apply(null,arguments),r=arguments,s;if(!function(e,t,n){for(let r=0;rt(e));return r.memoized.apply(null,n)}const s=t.map(t=>t(e,n));return r.memoized.apply(null,[...s,n])}}){return function(...n){let r=n;if(Array.isArray(r[0])){const[e,...t]=r;r=[...e,...t]}const s=r.slice(0,r.length-1),i=r[r.length-1],o=s.filter(e=>e.release&&"function"==typeof e.release),l=e(function(...e){return i.apply(null,e)}),a=_u(function(e,n){return 0===s.length?i.apply(null,[e,n]):t.stateFn.apply(null,[e,s,n,l])});return Object.assign(a.memoized,{release:function(){a.reset(),l.reset(),o.forEach(e=>e.release())},projector:l.memoized})}}(_u)(...e)}class bu{constructor(e,t,n,r){}}class vu{constructor(e,t,n,r){this.features=e,this.featureReducers=t,this.reducerManager=n;const s=e.map((e,n)=>{const r=t.shift();return Object.assign({},e,{reducers:r[n],initialState:Eu(e.initialState)})});n.addFeatures(s)}ngOnDestroy(){this.reducerManager.removeFeatures(this.features)}}function Cu(e,t,n){return t instanceof ge?e.get(t):t}function Eu(e){return"function"==typeof e?e():e}const xu=function(){var e={EntitiesOnly:0,Both:1,None:2};return e[e.EntitiesOnly]="EntitiesOnly",e[e.Both]="Both",e[e.None]="None",e}();function Nu(e){return function(t,n){const r={ids:[...n.ids],entities:Object.assign({},n.entities)},s=e(t,r);return s===xu.Both?Object.assign({},n,r):s===xu.EntitiesOnly?Object.assign({},n,{entities:r.entities}):n}}function Iu(e,t){const n=t(e);return Zt()&&void 0===n&&console.warn("@ngrx/entity: The entity passed to the `selectId` implementation returned undefined.","You should probably provide your own `selectId` implementation.","The entity that was passed:",e,"The `selectId` implementation:",t.toString()),n}function ku(e){function t(t,n){const r=Iu(t,e);return r in n.entities?xu.None:(n.ids.push(r),n.entities[r]=t,xu.Both)}function n(e,n){let r=!1;for(const s of e)r=t(s,n)!==xu.None||r;return r?xu.Both:xu.None}function r(e,t){const n=e.filter(e=>e in t.entities).map(e=>delete t.entities[e]).length>0;return n&&(t.ids=t.ids.filter(e=>e in t.entities)),n?xu.Both:xu.None}function s(t,n){const r={};return(t=t.filter(e=>e.id in n.entities)).length>0?t.filter(t=>(function(t,n,r){const s=Object.assign({},r.entities[n.id],n.changes),i=Iu(s,e),o=i!==n.id;return o&&(t[n.id]=i,delete r.entities[n.id]),r.entities[i]=s,o})(r,t,n)).length>0?(n.ids=n.ids.map(e=>r[e]||e),xu.Both):xu.EntitiesOnly:xu.None}function i(t,r){const i=[],o=[];for(const n of t){const t=Iu(n,e);t in r.entities?o.push({id:t,changes:n}):i.push(n)}const l=s(o,r),a=n(i,r);switch(!0){case a===xu.None&&l===xu.None:return xu.None;case a===xu.Both||l===xu.Both:return xu.Both;default:return xu.EntitiesOnly}}return{removeAll:function(e){return Object.assign({},e,{ids:[],entities:{}})},addOne:Nu(t),addMany:Nu(n),addAll:Nu(function(e,t){return t.ids=[],t.entities={},n(e,t),xu.Both}),updateOne:Nu(function(e,t){return s([e],t)}),updateMany:Nu(s),upsertOne:Nu(function(e,t){return i([e],t)}),upsertMany:Nu(i),removeOne:Nu(function(e,t){return r([e],t)}),removeMany:Nu(r)}}const Tu="ADD_WISHLIST_ITEM",Su="REMOVE_WISHLIST_ITEM",Au="WISHLIST_MOD_NUM";class Mu{constructor(e){this.payload=e,this.type=Tu}}class Ru{constructor(e,t){this.payload=e,this.delta=t,this.type=Au}}const Du=function(e={}){const{selectId:t,sortComparer:n}=Object.assign({sortComparer:!1,selectId:e=>e.id},e),r={getInitialState:function(e={}){return Object.assign({ids:[],entities:{}},e)}},s={getSelectors:function(e){const t=e=>e.ids,n=e=>e.entities,r=wu(t,n,(e,t)=>e.map(e=>t[e])),s=wu(t,e=>e.length);return e?{selectIds:wu(e,t),selectEntities:wu(e,n),selectAll:wu(e,r),selectTotal:wu(e,s)}:{selectIds:t,selectEntities:n,selectAll:r,selectTotal:s}}},i=n?function(e,t){const{removeOne:n,removeMany:r,removeAll:s}=ku(e);function i(t,n){const r=t.filter(t=>!(Iu(t,e)in n.entities));return 0===r.length?xu.None:(a(r,n),xu.Both)}function o(t,n){const r=[],s=t.filter(t=>(function(t,n,r){if(!(n.id in r.entities))return!1;const s=Object.assign({},r.entities[n.id],n.changes),i=Iu(s,e);return delete r.entities[n.id],t.push(s),i!==n.id})(r,t,n)).length>0;if(0===r.length)return xu.None;{const e=n.ids,t=[];return n.ids=n.ids.filter((e,r)=>e in n.entities||(t.push(r),!1)),a(r,n),!s&&t.every(t=>n.ids[t]===e[t])?xu.EntitiesOnly:xu.Both}}function l(t,n){const r=[],s=[];for(const i of t){const t=Iu(i,e);t in n.entities?s.push({id:t,changes:i}):r.push(i)}const l=o(s,n),a=i(r,n);switch(!0){case a===xu.None&&l===xu.None:return xu.None;case a===xu.Both||l===xu.Both:return xu.Both;default:return xu.EntitiesOnly}}function a(n,r){n.sort(t);const s=[];let i=0,o=0;for(;i{r.entities[e(t)]=t})}return{removeOne:n,removeMany:r,removeAll:s,addOne:Nu(function(e,t){return i([e],t)}),updateOne:Nu(function(e,t){return o([e],t)}),upsertOne:Nu(function(e,t){return l([e],t)}),addAll:Nu(function(e,t){return t.entities={},t.ids=[],i(e,t),xu.Both}),addMany:Nu(i),updateMany:Nu(o),upsertMany:Nu(l)}}(t,n):ku(t);return Object.assign({selectId:t,sortComparer:n},r,s,i)}({selectId:e=>e.activity.geoId}),Ou=Du.getInitialState({});function ju(e=Ou,t){switch(t.type){case Tu:const n=e.entities[t.payload.geoId];return Du.upsertOne({activity:t.payload,numPeople:n?n.numPeople+1:2},e);case Su:return Du.removeOne(t.payload.activity.geoId,e);case Au:const r=t.payload.numPeople+t.delta;return r<=0?Du.removeOne(t.payload.activity.geoId,e):Du.updateOne({id:t.payload.activity.geoId,changes:{numPeople:r}},e);default:return e}}const{selectAll:Vu}=Du.getSelectors(wu(e=>e.wishlist,e=>e));class Pu{constructor(e){this._store=e}ngOnInit(){this.items$=this._store.select(Vu)}modNum(e,t){this._store.dispatch(new Ru(e,t))}}var Fu=ks({encapsulation:2,styles:[],data:{}});function Hu(e){return po(0,[(e()(),ei(0,0,null,null,9,"tr",[],null,null,null,null,null)),(e()(),ei(1,0,null,null,1,"td",[["class","txt-lt"]],null,null,null,null,null)),(e()(),co(2,null,["",""])),(e()(),ei(3,0,null,null,1,"td",[["class","txt-rt center-col"]],null,null,null,null,null)),(e()(),co(4,null,["",""])),(e()(),ei(5,0,null,null,4,"td",[["class","txt-center"]],null,null,null,null,null)),(e()(),ei(6,0,null,null,1,"span",[["class","selectable"]],null,[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.modNum(e.context.$implicit,-1)&&r),r},null,null)),(e()(),co(-1,null,["[-]"])),(e()(),ei(8,0,null,null,1,"span",[["class","selectable"]],null,[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.modNum(e.context.$implicit,1)&&r),r},null,null)),(e()(),co(-1,null,["[+]"]))],null,function(e,t){e(t,2,0,t.context.$implicit.activity.title),e(t,4,0,t.context.$implicit.numPeople)})}function Lu(e){return po(0,[(e()(),ei(0,0,null,null,16,"div",[["class","wishlist"]],null,null,null,null,null)),(e()(),ei(1,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),co(-1,null,["Wishlist"])),(e()(),ei(3,0,null,null,13,"table",[],null,null,null,null,null)),(e()(),ei(4,0,null,null,1,"colgroup",[],null,null,null,null,null)),(e()(),ei(5,0,null,null,0,"col",[["width","100%"]],null,null,null,null,null)),(e()(),ei(6,0,null,null,7,"thead",[],null,null,null,null,null)),(e()(),ei(7,0,null,null,6,"tr",[],null,null,null,null,null)),(e()(),ei(8,0,null,null,1,"th",[["class","txt-lt"]],null,null,null,null,null)),(e()(),co(-1,null,["Activity"])),(e()(),ei(10,0,null,null,1,"th",[["class","txt-rt center-col"]],null,null,null,null,null)),(e()(),co(-1,null,["# People"])),(e()(),ei(12,0,null,null,1,"th",[["class","txt-center"]],null,null,null,null,null)),(e()(),co(-1,null,["Modify"])),(e()(),ei(14,0,null,null,2,"tbody",[],null,null,null,null,null)),(e()(),Xs(16777216,null,null,1,null,Hu)),$i(16,278528,null,0,Vl,[jr,$t,Xr],{ngForOf:[0,"ngForOf"]},null)],function(e,t){e(t,16,0,t.parent.context.ngIf)},null)}function Bu(e){return po(0,[(e()(),ei(0,0,null,null,2,null,null,null,null,null,null,null)),(e()(),Xs(16777216,null,null,1,null,Lu)),$i(2,16384,null,0,Fl,[jr,$t],{ngIf:[0,"ngIf"]},null),(e()(),Xs(0,null,null,0))],function(e,t){e(t,2,0,t.context.ngIf.length>0)},null)}function $u(e){return po(0,[(e()(),Xs(16777216,null,null,2,null,Bu)),$i(1,16384,null,0,Fl,[jr,$t],{ngIf:[0,"ngIf"]},null),zi(131072,ua,[Vr])],function(e,t){var n=t.component;e(t,1,0,xs(t,1,0,Si(t,2).transform(n.items$)))},null)}function zu(e){return Math.floor(Math.random()*Math.floor(e))}function Uu(e){const t=e.length;if(t)return e[zu(t)]}const Zu=["cloud","sun","rain","snow"],Ku=q([11,12,13,21,22,23,31,32,33]).pipe(z(e=>{const t=zu(30)-zu(45);let n=Uu(Zu),r=zu(101);return t>=0?"snow"===n&&(n="rain",r=85+zu(15)):"rain"===n&&(n="snow",r=50+zu(40)),{geoId:e,conditions:n,temp:t,humidity:r}}));class qu{constructor(){this._data={},Ku.subscribe(e=>this._data[e.geoId]=e)}set activity(e){this._a=e,this.weather=this._data[e.geoId]}get activity(){return this._a}}var Qu=ks({encapsulation:2,styles:[],data:{}});function Wu(e){return po(0,[(e()(),ei(0,0,null,null,12,"div",[["class","temperatur"]],null,null,null,null,null)),(e()(),ei(1,0,null,null,1,"h5",[],null,null,null,null,null)),(e()(),co(2,null,["",""])),(e()(),ei(3,0,null,null,0,"span",[["class","w-line"]],null,null,null,null,null)),(e()(),ei(4,0,null,null,0,"span",[],[[8,"className",0]],null,null,null,null)),(e()(),ei(5,0,null,null,3,"h2",[],null,null,null,null,null)),(e()(),co(6,null,["",""])),(e()(),ei(7,0,null,null,1,"sup",[["class","degree"]],null,null,null,null,null)),(e()(),co(-1,null,["\xb0"])),(e()(),ei(9,0,null,null,3,"h6",[],null,null,null,null,null)),(e()(),co(10,null,["Humidity ",""])),(e()(),ei(11,0,null,null,1,"sup",[["class","degree"]],null,null,null,null,null)),(e()(),co(-1,null,["%"]))],null,function(e,t){var n=t.component;e(t,2,0,n.activity.title),e(t,4,0,n.weather.conditions),e(t,6,0,n.weather.temp),e(t,10,0,n.weather.humidity)})}const Gu=q([11,12,13,21,22,23,31,32,33]).pipe(z(e=>({geoId:e,followers:zu(1e4),following:zu(100)})));class Yu{getInfo(e){return this._cache||(this._cache={},Gu.subscribe(e=>this._cache[e.geoId]=e)),this._cache[e]}}Yu.ngInjectableDef=pe({factory:function(){return new Yu},token:Yu,providedIn:"root"});class Ju{constructor(e,t){this._socialFeed=e,this._store=t}set activity(e){this.a=e,this.img=Uu(e.images)}getInfo(){return this._socialFeed.getInfo(this.a.geoId)}signUp(e){this._store.dispatch(new Mu(e))}}var Xu=ks({encapsulation:2,styles:[],data:{}});function ec(e){return po(0,[(e()(),ei(0,0,null,null,20,"div",[["class","teddy-bear"]],null,null,null,null,null)),(e()(),ei(1,0,null,null,4,"div",[["class","teddy-text"]],null,null,null,null,null)),(e()(),ei(2,0,null,null,1,"h4",[],null,null,null,null,null)),(e()(),co(3,null,["",""])),(e()(),ei(4,0,null,null,0,"span",[["class","w-line"]],null,null,null,null,null)),(e()(),ei(5,0,null,null,0,"img",[["alt",""],["class","img-responsive"]],[[8,"src",4]],null,null,null,null)),(e()(),ei(6,0,null,null,11,"div",[["class","teddy-follow"]],null,null,null,null,null)),(e()(),ei(7,0,null,null,10,"ul",[],null,null,null,null,null)),(e()(),ei(8,0,null,null,4,"li",[["class","folw-h"]],null,null,null,null,null)),(e()(),ei(9,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),co(10,null,["",""])),(e()(),ei(11,0,null,null,1,"p",[],null,null,null,null,null)),(e()(),co(-1,null,["Followers"])),(e()(),ei(13,0,null,null,4,"li",[],null,null,null,null,null)),(e()(),ei(14,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),co(15,null,["",""])),(e()(),ei(16,0,null,null,1,"p",[],null,null,null,null,null)),(e()(),co(-1,null,["Following"])),(e()(),ei(18,0,null,null,2,"div",[["class","teddy-bear teddy-text"]],null,null,null,null,null)),(e()(),ei(19,0,null,null,1,"button",[["style","font-size: x-large"],["type","button"]],null,[[null,"click"]],function(e,t,n){var r=!0,s=e.component;return"click"===t&&(r=!1!==s.signUp(s.a)&&r),r},null,null)),(e()(),co(-1,null,["Sign Up"]))],null,function(e,t){var n=t.component;e(t,3,0,n.a.title),e(t,5,0,"assets/images/"+n.img),e(t,10,0,n.getInfo().followers),e(t,15,0,n.getInfo().following)})}const tc=new Da(Aa);class nc{constructor(e,t){this.delay=e,this.scheduler=t}call(e,t){return t.subscribe(new rc(e,this.delay,this.scheduler))}}class rc extends w{constructor(e,t,n){super(e),this.delay=t,this.scheduler=n,this.queue=[],this.active=!1,this.errored=!1}static dispatch(e){const t=e.source,n=t.queue,r=e.scheduler,s=e.destination;for(;n.length>0&&n[0].time-r.now()<=0;)n.shift().notification.observe(s);if(n.length>0){const t=Math.max(0,n[0].time-r.now());this.schedule(e,t)}else this.unsubscribe(),t.active=!1}_schedule(e){this.active=!0,this.destination.add(e.schedule(rc.dispatch,this.delay,{source:this,destination:this.destination,scheduler:e}))}scheduleNotification(e){if(!0===this.errored)return;const t=this.scheduler,n=new sc(t.now()+this.delay,e);this.queue.push(n),!1===this.active&&this._schedule(t)}_next(e){this.scheduleNotification(Ha.createNext(e))}_error(e){this.errored=!0,this.queue=[],this.destination.error(e),this.unsubscribe()}_complete(){this.scheduleNotification(Ha.createComplete()),this.unsubscribe()}}class sc{constructor(e,t){this.time=e,this.notification=t}}const ic=Fa([{name:"Ireland",image:"Ireland_090814CH184.jpg",title:"Centuries of ancient stories",activities:[{geoId:11,title:"Dublin",description:["Surprising by nature.","Epic adventures and all that can happen in between \u2013 Dublin is the ultimate city experience."],contactInfo:"+353(0)11111111",images:["dublin01.jpg","dublin02.jpg"]},{geoId:12,title:"Northern Ireland",description:["Get ready for an adventure.","Welcome to a land of fantastical landscapes, warm welcomes, dramatic history and enduring legend"],contactInfo:"+353(0)11111111",images:["n_ireland01.jpg","n_ireland02.jpg"]},{geoId:13,title:"Ireland's ancient east",description:["Centuries of ancient stories.","Ireland makes sure you remain in the present while soaking up its past."],contactInfo:"+353(0)11111111",images:["e_ireland01.jpg","e_ireland02.jpg"]}]},{name:"New Zealand",image:"lake-pukaki.jpg",title:"Wake up in paradise",activities:[{geoId:21,title:"Matamata",description:["Matamata is a must see if you're a Lord of the Rings and Hobbit fan.","Take a guided tour of the Hobbiton Movie Set\u2122 and enjoy the town's fabulous cafes."],contactInfo:"+64 1 123 0456",images:["matamata01.jpg","matamata02.jpg"]},{geoId:22,title:"Rotorua",description:["Rotorua is known for bubbling mud pools, shooting geysers and natural hot springs.","As well as showcasing our fascinating Maori culture."],contactInfo:"+64 1 123 0456",images:["rotorua01.jpg","rotorua02.jpg"]},{geoId:23,title:"South Island",description:["From glaciers to beaches, whale-watching to wine-tasting, New Zealand has so much to offer.","Not sure where to begin? Get started with these places."],contactInfo:"+64 1 123 0456",images:["south01.jpg","south02.jpg"]}]},{name:"Jamaica",image:"jamaica.jpeg",title:"Daydream into a real-life adventure",activities:[{geoId:31,title:"Kingston",description:["Explore our capital city","Our busy cosmopolitan Kingston is one-of-a-kind; half exotic jungle, bursting with sunshine, and thriving business."],contactInfo:"876-555-1111",images:["kingston01.jpg","kingston02.jpg"]},{geoId:32,title:"Montego Bay",description:["Get out and about for a one-of-a-kind adventure.","There\u2019s no doubt about it; we\u2019re an island who knows how to chill out in style."],contactInfo:"876-555-1111",images:["montego01.jpg","montego02.jpg"]},{geoId:33,title:"Ocho Rios",description:["From exquisite luxury plazas, filled with world-class brands, to traditional stalls and stores,","where one can uncover all kinds of charming mementos, Ocho Rios is a shopper\u2019s dream come true."],contactInfo:"876-555-1111",images:["ochorios01.jpg","ochorios02.jpg"]}]}]).pipe(function(e,t=tc){var n;const r=(n=e)instanceof Date&&!isNaN(+n)?+e-t.now():Math.abs(e);return e=>e.lift(new nc(r,t))}(1e3*zu(3)));class oc{getData(){return console.log("getData()"),ic}}oc.ngInjectableDef=pe({factory:function(){return new oc},token:oc,providedIn:"root"});class lc{constructor(e){this._destinations=e}ngOnInit(){this.destinations$=this._destinations.getData(),this._sub=this.destinations$.subscribe(e=>this._pickRandomDestination(e))}_pickRandomDestination(e){this.destination=Uu(e),this._sub.unsubscribe()}set destination(e){this._destination=e,this._pickRandomActivity()}get destination(){return this._destination}_pickRandomActivity(){this.activity=Uu(this._destination.activities)}}var ac=ks({encapsulation:2,styles:[],data:{}});function uc(e){return po(0,[(e()(),ei(0,0,null,null,14,null,null,null,null,null,null,null)),(e()(),ei(1,0,null,null,6,"div",[["class","element-left"]],null,null,null,null,null)),(e()(),ei(2,0,null,null,1,"hww-hero-image",[],null,null,null,ga,pa)),$i(3,49152,null,0,fa,[],{current:[0,"current"]},null),(e()(),ei(4,0,null,null,1,"hww-menu",[],null,[[null,"currentChange"]],function(e,t,n){var r=!0;return"currentChange"===t&&(r=!1!==(e.component.destination=n)&&r),r},ba,_a)),$i(5,49152,null,0,ya,[],{all:[0,"all"],current:[1,"current"]},{currentChange:"currentChange"}),(e()(),ei(6,0,null,null,1,"hww-details",[],null,[[null,"currentChange"]],function(e,t,n){var r=!0;return"currentChange"===t&&(r=!1!==(e.component.activity=n)&&r),r},ka,Ca)),$i(7,49152,null,0,va,[],{dest:[0,"dest"],current:[1,"current"]},{currentChange:"currentChange"}),(e()(),ei(8,0,null,null,6,"div",[["class","element-right"]],null,null,null,null,null)),(e()(),ei(9,0,null,null,1,"hww-wishlist",[],null,null,null,$u,Fu)),$i(10,114688,null,0,Pu,[gu],null,null),(e()(),ei(11,0,null,null,1,"hww-weather",[],null,null,null,Wu,Qu)),$i(12,49152,null,0,qu,[],{activity:[0,"activity"]},null),(e()(),ei(13,0,null,null,1,"hww-social",[],null,null,null,ec,Xu)),$i(14,49152,null,0,Ju,[Yu,gu],{activity:[0,"activity"]},null)],function(e,t){var n=t.component;e(t,3,0,n.destination),e(t,5,0,t.context.ngIf,n.destination),e(t,7,0,n.destination,n.activity),e(t,10,0),e(t,12,0,n.activity),e(t,14,0,n.activity)},null)}function cc(e){return po(0,[(e()(),ei(0,0,null,null,1,"div",[["style","background: white; color: black"]],null,null,null,null,null)),(e()(),co(-1,null,["Loading"]))],null,null)}function dc(e){return po(0,[(e()(),Xs(16777216,null,null,2,null,uc)),$i(1,16384,null,0,Fl,[jr,$t],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),zi(131072,ua,[Vr]),(e()(),Xs(0,[["loadingTemplate",2]],null,0,null,cc))],function(e,t){var n=t.component;e(t,1,0,xs(t,1,0,Si(t,2).transform(n.destinations$)),Si(t,3))},null)}var hc=ks({encapsulation:0,styles:[[""]],data:{}});function fc(e){return po(0,[(e()(),ei(0,0,null,null,1,"h1",[],null,null,null,null,null)),(e()(),co(-1,null,["Hot Weather Widget"])),(e()(),ei(2,0,null,null,3,"div",[["class","element"]],null,null,null,null,null)),(e()(),ei(3,0,null,null,1,"hww-widget",[],null,null,null,dc,ac)),$i(4,114688,null,0,lc,[oc],null,null),(e()(),ei(5,0,null,null,0,"div",[["class","clear"]],null,null,null,null,null)),(e()(),ei(6,0,null,null,4,"div",[["class","copy-right"]],null,null,null,null,null)),(e()(),ei(7,0,null,null,3,"p",[],null,null,null,null,null)),(e()(),co(-1,null,["\xa9 2015 Hot Weather Widget. All rights reserved | Design by "])),(e()(),ei(9,0,null,null,1,"a",[["href","http://w3layouts.com/"],["target","_blank"]],null,null,null,null,null)),(e()(),co(-1,null,[" W3layouts "]))],function(e,t){e(t,4,0)},null)}function pc(e){return po(0,[(e()(),ei(0,0,null,null,1,"hww-root",[],null,null,null,fc,hc)),$i(1,49152,null,0,xl,[],null,null)],null,null)}var mc=_i("hww-root",xl,pc,{},{},[]);let gc=null;function yc(){return gc}class _c{constructor(){this.resourceLoaderType=null}get attrToPropMap(){return this._attrToPropMap}set attrToPropMap(e){this._attrToPropMap=e}}class wc extends _c{constructor(){super(),this._animationPrefix=null,this._transitionEnd=null;try{const t=this.createElement("div",document);if(null!=this.getStyle(t,"animationName"))this._animationPrefix="";else{const e=["Webkit","Moz","O","ms"];for(let n=0;n{null!=this.getStyle(t,e)&&(this._transitionEnd=n[e])})}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 bc={class:"className",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"},vc=3,Cc={"\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"},Ec={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"};let xc;Ee.Node&&(xc=Ee.Node.prototype.contains||function(e){return!!(16&this.compareDocumentPosition(e))});class Nc extends wc{parse(e){throw new Error("parse not implemented")}static makeCurrent(){var e;e=new Nc,gc||(gc=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 bc}contains(e,t){return xc.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;re.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[{type:void 0,decorators:[{type:Re,args:[Tc]}]}]);const Mc=new ge("TRANSITION_ID"),Rc=[{provide:Wn,useFactory:function(e,t,n){return()=>{n.get(Gn).donePromise.then(()=>{const n=yc();Array.prototype.slice.apply(n.querySelectorAll(t,"style[ng-transition]")).filter(t=>n.getAttribute(t,"ng-transition")===e).forEach(e=>n.remove(e))})}},deps:[Mc,Tc,Be],multi:!0}];class Dc{static init(){var e;e=new Dc,xr=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?yc().isShadowRoot(t)?this.findTestabilityInTree(e,yc().getHost(t),!0):this.findTestabilityInTree(e,yc().parentElement(t),!0):null}}function Oc(e,t){"undefined"!=typeof COMPILED&&COMPILED||((Ee.ng=Ee.ng||{})[e]=t)}const jc={ApplicationRef:Rr,NgZone:fr};function Vc(e){return Br(e)}const Pc=new ge("EventManagerPlugins");class Fc{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{this._stylesSet.has(e)||(this._stylesSet.add(e),t.add(e))}),this.onStylesAdded(t)}onStylesAdded(e){}getAllStyles(){return Array.from(this._stylesSet)}}class Bc extends Lc{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=>yc().remove(e))}}const $c={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/"},zc=/%COMP%/g,Uc="_nghost-%COMP%",Zc="_ngcontent-%COMP%";function Kc(e,t,n){for(let r=0;r{!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}class Qc{constructor(e,t){this.eventManager=e,this.sharedStylesHost=t,this.rendererByCompId=new Map,this.defaultRenderer=new Wc(e)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case ft.Emulated:{let n=this.rendererByCompId.get(t.id);return n||(n=new Jc(this.eventManager,this.sharedStylesHost,t),this.rendererByCompId.set(t.id,n)),n.applyToHost(e),n}case ft.Native:case ft.ShadowDom:return new Xc(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){const e=Kc(t.id,t.styles,[]);this.sharedStylesHost.addStyles(e),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}class Wc{constructor(e){this.eventManager=e,this.data=Object.create(null)}destroy(){}createElement(e,t){return t?document.createElementNS($c[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=$c[r];s?e.setAttributeNS(s,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)}removeAttribute(e,t,n){if(n){const r=$c[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&Ft.DashCase?e.style.setProperty(t,n,r&Ft.Important?"important":""):e.style[t]=n}removeStyle(e,t,n){n&Ft.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,n){Yc(t,"property"),e[t]=n}setValue(e,t){e.nodeValue=t}listen(e,t,n){return Yc(t,"listener"),"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,qc(n)):this.eventManager.addEventListener(e,t,qc(n))}}const Gc="@".charCodeAt(0);function Yc(e,t){if(e.charCodeAt(0)===Gc)throw new Error(`Found the synthetic ${t} ${e}. Please include either "BrowserAnimationsModule" or "NoopAnimationsModule" in your application.`)}class Jc extends Wc{constructor(e,t,n){super(e),this.component=n;const r=Kc(n.id,n.styles,[]);t.addStyles(r),this.contentAttr=Zc.replace(zc,n.id),this.hostAttr=Uc.replace(zc,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 Xc extends Wc{constructor(e,t,n,r){super(e),this.sharedStylesHost=t,this.hostEl=n,this.component=r,this.shadowRoot=r.encapsulation===ft.ShadowDom?n.attachShadow({mode:"open"}):n.createShadowRoot(),this.sharedStylesHost.addHost(this.shadowRoot);const s=Kc(r.id,r.styles,[]);for(let i=0;i0;s||(s=e[n]=[]);const o=dd(t)?Zone.root:Zone.current;if(0===s.length)s.push({zone:o,handler:r});else{let e=!1;for(let t=0;tthis.removeEventListener(e,t,r)}removeEventListener(e,t,n){let r=e[nd];if(!r)return e[ld].apply(e,[t,n,!1]);let s=rd[t],i=s&&e[s];if(!i)return e[ld].apply(e,[t,n,!1]);let o=!1;for(let l=0;l{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 wd=["alt","control","meta","shift"],bd={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};class vd extends Hc{constructor(e){super(e)}supports(e){return null!=vd.parseEventName(e)}addEventListener(e,t,n){const r=vd.parseEventName(t),s=vd.eventCallback(r.fullKey,n,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>yc().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=vd._normalizeKey(t.pop());let s="";if(wd.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=yc().getEventKey(e);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),wd.forEach(r=>{r!=n&&(0,bd[r])(e)&&(t+=r+".")}),t+=n}static eventCallback(e,t,n){return r=>{vd.getEventFullKey(r)===e&&n.runGuarded(()=>t(r))}}static _normalizeKey(e){switch(e){case"esc":return"escape";default:return e}}}class Cd{}class Ed extends Cd{constructor(e){super(),this._doc=e}sanitize(e,t){if(null==t)return null;switch(e){case fn.NONE:return t;case fn.HTML:return t instanceof Nd?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"HTML"),function(e,t){let n=null;try{dn=dn||new Kt(e);let r=t?String(t):"";n=dn.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=dn.getInertBodyElement(r)}while(r!==i);const o=new ln,l=o.sanitizeChildren(hn(n)||n);return Zt()&&o.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content (see http://g.co/ng/security#xss)."),l}finally{if(n){const e=hn(n)||n;for(;e.firstChild;)e.removeChild(e.firstChild)}}}(this._doc,String(t)));case fn.STYLE:return t instanceof Id?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"Style"),function(e){if(!(e=String(e).trim()))return"";const t=e.match(gn);return t&&Wt(t[1])===t[1]||e.match(mn)&&function(e){let t=!0,n=!0;for(let r=0;r(n&&e.push(this._getOrCreateElement(n,t)),e),[]):[]}getTag(e){return e&&this._dom.querySelector(this._doc,`meta[${e}]`)||null}getTags(e){if(!e)return[];const t=this._dom.querySelectorAll(this._doc,`meta[${e}]`);return t?[].slice.call(t):[]}updateTag(e,t){if(!e)return null;t=t||this._parseSelector(e);const n=this.getTag(t);return n?this._setMetaElementAttributes(e,n):this._getOrCreateElement(e,!0)}removeTag(e){this.removeTagElement(this.getTag(e))}removeTagElement(e){e&&this._dom.remove(e)}_getOrCreateElement(e,t=!1){if(!t){const t=this._parseSelector(e),n=this.getTag(t);if(n&&this._containsAttributes(e,n))return n}const n=this._dom.createElement("meta");this._setMetaElementAttributes(e,n);const r=this._dom.getElementsByTagName(this._doc,"head")[0];return this._dom.appendChild(r,n),n}_setMetaElementAttributes(e,t){return Object.keys(e).forEach(n=>this._dom.setAttribute(t,n,e[n])),t}_parseSelector(e){const t=e.name?"name":"property";return`${t}="${e[t]}"`}_containsAttributes(e,t){return Object.keys(e).every(n=>this._dom.getAttribute(t,n)===e[n])}}Dd.ngInjectableDef=pe({factory:function(){return new Dd(st(Tc))},token:Dd,providedIn:"root"});class Od{constructor(e){this._doc=e}getTitle(){return yc().getTitle(this._doc)}setTitle(e){yc().setTitle(this._doc,e)}}Od.ngInjectableDef=pe({factory:function(){return new Od(st(Tc))},token:Od,providedIn:"root"}),"undefined"!=typeof window&&window;class jd{call(e,t){return t.subscribe(new Vd(e))}}class Vd extends w{_next(e){}}class Pd{call(e,t){return t.subscribe(new Fd(e))}}class Fd extends w{constructor(e){super(e)}_next(e){this.destination.next(Ha.createNext(e))}_error(e){const t=this.destination;t.next(Ha.createError(e)),t.complete()}_complete(){const e=this.destination;e.next(Ha.createComplete()),e.complete()}}function Hd(e,t){return function(n){return n.lift(new Ld(e,t))}}class Ld{constructor(e,t){this.predicate=e,this.thisArg=t}call(e,t){return t.subscribe(new Bd(e,this.predicate,this.thisArg))}}class Bd extends w{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)}}class $d{constructor(e,t,n,r){this.keySelector=e,this.elementSelector=t,this.durationSelector=n,this.subjectSelector=r}call(e,t){return t.subscribe(new zd(e,this.keySelector,this.elementSelector,this.durationSelector,this.subjectSelector))}}class zd extends w{constructor(e,t,n,r,s){super(e),this.keySelector=t,this.elementSelector=n,this.durationSelector=r,this.subjectSelector=s,this.groups=null,this.attemptedToUnsubscribe=!1,this.count=0}_next(e){let t;try{t=this.keySelector(e)}catch(n){return void this.error(n)}this._group(e,t)}_group(e,t){let n=this.groups;n||(n=this.groups=new Map);let r,s=n.get(t);if(this.elementSelector)try{r=this.elementSelector(e)}catch(i){this.error(i)}else r=e;if(!s){s=this.subjectSelector?this.subjectSelector():new T,n.set(t,s);const e=new Zd(t,s,this);if(this.destination.next(e),this.durationSelector){let e;try{e=this.durationSelector(new Zd(t,s))}catch(i){return void this.error(i)}this.add(e.subscribe(new Ud(t,s,this)))}}s.closed||s.next(r)}_error(e){const t=this.groups;t&&(t.forEach((t,n)=>{t.error(e)}),t.clear()),this.destination.error(e)}_complete(){const e=this.groups;e&&(e.forEach((e,t)=>{e.complete()}),e.clear()),this.destination.complete()}removeGroup(e){this.groups.delete(e)}unsubscribe(){this.closed||(this.attemptedToUnsubscribe=!0,0===this.count&&super.unsubscribe())}}class Ud extends w{constructor(e,t,n){super(t),this.key=e,this.group=t,this.parent=n}_next(e){this.complete()}_unsubscribe(){const{parent:e,key:t}=this;this.key=this.parent=null,e&&e.removeGroup(t)}}class Zd extends C{constructor(e,t,n){super(),this.key=e,this.groupSubject=t,this.refCountSubscription=n}_subscribe(e){const t=new g,{refCountSubscription:n,groupSubject:r}=this;return n&&!n.closed&&t.add(new Kd(n)),t.add(r.subscribe(e)),t}}class Kd extends g{constructor(e){super(),this.parent=e,e.count++}unsubscribe(){const e=this.parent;e.closed||this.closed||(super.unsubscribe(),e.count-=1,0===e.count&&e.attemptedToUnsubscribe&&e.unsubscribe())}}class qd{constructor(e){this.project=e}call(e,t){return t.subscribe(new Qd(e,this.project))}}class Qd extends ${constructor(e,t){super(e),this.project=t,this.hasSubscription=!1,this.hasCompleted=!1,this.index=0}_next(e){this.hasSubscription||this.tryNext(e)}tryNext(e){let t;const n=this.index++;try{t=this.project(e,n)}catch(r){return void this.destination.error(r)}this.hasSubscription=!0,this._innerSub(t,e,n)}_innerSub(e,t,n){const r=new M(this,void 0,void 0);this.destination.add(r),B(this,e,t,n,r)}_complete(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete(),this.unsubscribe()}notifyNext(e,t,n,r,s){this.destination.next(t)}notifyError(e){this.destination.error(e)}notifyComplete(e){this.destination.remove(e),this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()}}class Wd{call(e,t){return t.subscribe(new Gd(e))}}class Gd extends w{constructor(e){super(e)}_next(e){e.observe(this.destination)}}const Yd="__@ngrx/effects__";function Jd(e){return e.constructor.hasOwnProperty(Yd)?e.constructor[Yd]:[]}function Xd(e){return Object.getPrototypeOf(e)}const eh="ngrxOnRunEffects";function th(e){const t=function(e){const t=Xd(e).constructor.name;return J(...(n=e,ou(Jd,Xd)(n)).map(({propertyName:n,dispatch:r})=>{const s="function"==typeof e[n]?e[n]():e[n];return!1===r?s.pipe(function(e){return e.lift(new jd)}):s.pipe(function(e){return e.lift(new Pd)}).pipe(z(r=>({effect:e[n],notification:r,propertyName:n,sourceName:t,sourceInstance:e})))}));var n}(e);return function(e){const t=Xd(e);return eh in t&&"function"==typeof t[eh]}(e)?e.ngrxOnRunEffects(t):t}class nh extends C{constructor(e){super(),e&&(this.source=e)}lift(e){const t=new nh;return t.source=this,t.operator=e,t}ofType(...e){return function(...e){return Hd(t=>e.some(e=>e===t.type))}(...e)(this)}}class rh extends T{constructor(e){super(),this.errorHandler=e}addEffects(e){this.next(e)}toActions(){return this.pipe((e=Xd,t=>t.lift(new $d(e,void 0,void 0,void 0))),Q(e=>e.pipe(function e(t,n){return n?r=>r.pipe(e((e,r)=>q(t(e,r)).pipe(z((t,s)=>n(e,t,r,s))))):e=>e.lift(new qd(t))}(th),z(e=>(function(e,t){!function(e,t){"E"===e.notification.kind&&t.handleError(e.notification.error)}(e,t),function(e,t){if("N"===e.notification.kind){const n=e.notification.value;!function(e){return e&&e.type&&"string"==typeof e.type}(n)&&t.handleError(new Error(`Effect ${function({propertyName:e,sourceInstance:t,sourceName:n}){return`"${n}.${e}${"function"==typeof t[e]?"()":""}"`}(e)} dispatched an invalid action: ${function(e){try{return JSON.stringify(e)}catch(t){return e}}(n)}`))}}(e,t)}(e,this.errorHandler),e.notification)),Hd(e=>"N"===e.kind),function(e){return e.lift(new Wd)})));var e}}const sh=new ge("ngrx/effects: Root Effects");class ih{constructor(e,t){this.effectSources=e,this.store=t,this.effectsSubscription=null}start(){this.effectsSubscription||(this.effectsSubscription=this.effectSources.toActions().subscribe(this.store))}ngOnDestroy(){this.effectsSubscription&&(this.effectsSubscription.unsubscribe(),this.effectsSubscription=null)}}const oh="@ngrx/effects/init";class lh{constructor(e,t,n,r,s,i){this.sources=e,t.start(),r.forEach(t=>e.addEffects(t)),n.dispatch({type:oh})}addEffects(e){this.sources.addEffects(e)}}function ah(...e){return e}var uh=vl(El,[xl],function(e){return function(e){const t={},n=[];let r=!1;for(let s=0;s(e[t.name]=t.token,e),{}))),()=>Vc)];var t},[[2,kr]]),ui(512,Gn,Gn,[[2,Wn]]),ui(131584,Rr,Rr,[fr,rr,Be,In,xt,Gn]),ui(1073742336,us,us,[Rr]),ui(1073742336,Rd,Rd,[[3,Rd]]),ui(512,rh,rh,[In]),ui(131584,Ga,Ga,[]),ui(2048,uu,null,[Ga]),ui(256,Ya,void 0,[]),ui(1024,Ja,Eu,[Ya]),ui(256,nu,{wishlist:ju},[]),ui(2048,su,null,[nu]),ui(1024,tu,Cu,[Be,nu,su]),ui(256,eu,iu,[]),ui(256,ru,[],[]),ui(1024,Xa,lu,[eu,ru]),ui(131584,du,du,[uu,Ja,tu,Xa]),ui(2048,au,null,[du]),ui(131584,hu,hu,[]),ui(131584,pu,pu,[Ga,au,hu,Ja]),ui(2048,fu,null,[pu]),ui(512,gu,gu,[fu,Ga,du]),ui(131584,ih,ih,[rh,gu]),ui(1024,sh,ah,[]),ui(1073742336,bu,bu,[Ga,au,hu,gu]),ui(1073742336,lh,lh,[rh,ih,gu,sh,[2,bu],[2,vu]]),ui(1073742336,El,El,[]),ui(256,Lt,!0,[])])});(function(){if(Ut)throw new Error("Cannot enable prod mode after platform setup.");zt=!1})(),Ad().bootstrapModuleFactory(uh).catch(e=>console.error(e))}},[[0,0]]]); \ No newline at end of file diff --git a/docs/styles.25f81ec778686d47399d.css b/docs/styles.25f81ec778686d47399d.css deleted file mode 100644 index d0dad72..0000000 --- a/docs/styles.25f81ec778686d47399d.css +++ /dev/null @@ -1 +0,0 @@ -a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,mark,menu,nav,nav li,nav ul,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,var,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}ol,ul{list-style:none;margin:0;padding:0}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:'';content:none}table{border-collapse:collapse;border-spacing:0}.txt-rt{text-align:right}.txt-lt{text-align:left}.txt-center{text-align:center}.float-rt{float:right}.float-lt{float:left}.pos-relative{position:relative}.pos-absolute{position:absolute}.vertical-base{vertical-align:baseline}.vertical-top{vertical-align:top}.underline{padding-bottom:5px;border-bottom:1px solid #eee;margin:0 0 20px}nav.vertical ul li{display:block}nav.horizontal ul li{display:inline-block}img{max-width:100%}body{font-family:Roboto,sans-serif;font-size:100%;background:#313144}a{text-decoration:none}a:hover{transition:.5s all;-webkit-transition:.5s;-moz-transition:.5s;-o-transition:.5s}h1{text-align:center;font-size:2em;color:#fff;margin:1em 0 .5em;font-family:Quicksand,sans-serif}.element{width:40%;margin:0 auto 2em}.ele-strip{background:#fda660;padding:1em;margin:-3px 0 0}.temperatur{background:#5fb3f9;text-align:center;padding:1em;border-radius:5px;margin-bottom:2.5em}.ele-strip ul{text-align:center}.ele-strip ul li{display:inline-block;padding:0 .5em;border-right:1px solid #fff}.ele-strip ul li a{font-size:1em;color:#fff}.ele-strip ul li a.selected{color:#000;text-decoration:underline}.teddy-bear{text-align:center}.teddy-text{background:#fd7b87;padding:1.2em 1em;border-radius:5px 5px 0 0}span.line{background:url(line.2d5e8a4f80b2e94ac8c5.png) no-repeat;width:103px;height:2px;display:block;margin:.6em auto 0}span.w-line{background:url(w-line.c910475ff3aac2c29678.png) no-repeat;width:103px;height:2px;display:block;margin:.73em auto .72em}.teddy-text h4{color:#fff}.teddy-text img{border-radius:70px;border:3px solid #fff}.teddy-follow{background:#f2f1ef;padding:.7em 0;border-radius:0 0 4px 4px}.teddy-follow li{display:inline-block;padding:0 .9em}.teddy-follow li h3{font-size:.95em;color:#000;font-weight:700}.teddy-follow li p{font-size:.8em;color:#8a8a8a}.teddy-follow li.folw-h{border-right:1px solid #000}.element-bg-img{max-height:172px;overflow-y:hidden}.element-bg-img img{border-radius:6px 6px 0 0}span.cloud{background:url(cloudy.d748c9eb3874d888823f.png) no-repeat;width:50px;height:50px;display:inline-block}span.sun{background:url(sunny.7cee9e6415f42bec02aa.png) no-repeat;width:50px;height:50px;display:inline-block}span.rain{background:url(rainy.e505912f3d9bf50bb765.png) no-repeat;width:50px;height:50px;display:inline-block}span.snow{background:url(snowy.fe4541a15588b167d09e.png) no-repeat;width:50px;height:50px;display:inline-block}.element-left{float:left;width:50%}.element-right{float:right;width:35%}.temperatur h5{color:#fff;font-size:1em}.temperatur h2{color:#fff;font-size:3.2em;display:inline-block;vertical-align:top;font-family:Roboto,sans-serif}.temperatur h6{font-size:1em;color:#fff;margin:1em 0 0}ul li.anc-bor{border-right:none}.span_7{padding-left:0}.span_8{text-align:center;padding-left:0}.col_2{background-color:#fff;padding:1em;margin-bottom:1em}.grid-1,.grid-2,.grid-3,.grid-4{display:inline-block}.grid-1{margin-bottom:2em}.grid-1,.grid-3{margin-right:10%;width:27%}.activity-row,.activity-row1{text-align:left}i.text-info{float:left;line-height:60px;font-size:1.2em}.activity-img img{display:inline-block}.activity-desc h5{color:#000;font-size:1em;font-weight:500;margin-bottom:5px}.activity-desc h5 a{color:#000}.activity-desc p{color:#999;font-size:.94em;line-height:1.7em}.activity-desc h6{color:#fd7b87;font-size:13px;margin:13px 0 0;font-weight:700}.activity-row{margin-bottom:1em}.scrollbar{height:300px;background:#fff;overflow-y:scroll;padding:1em 1em 0}.activity_box{background:#fff;min-height:300px}#style-2::-webkit-scrollbar-track{background-color:#f0f0f0}#style-2::-webkit-scrollbar{width:5px;background-color:#f5f5f5}#style-2::-webkit-scrollbar-thumb{background-color:#fda660}.activity-desc{float:left;width:50%}.activity-img{text-align:center;float:right;width:50%}.activity-img ul li{display:inline-block}.activity-img ul li img{border-radius:50px}.village{background:#fff;padding:1.5em 1em;border-radius:0 0 5px 5px}.village h3{text-align:center;font-size:.95em;color:#000;font-weight:700;font-family:Roboto,sans-serif}.copy-right{text-align:center;padding:0 0 2em}.copy-right p{font-size:1em;color:#fff;line-height:1.6em}.copy-right p a{color:#fd7b87}.copy-right p a:hover{color:#fff;text-decoration:none}.clear{clear:both}@media(max-width:1600px){.temperatur{margin-bottom:1.95em}}@media(max-width:1440px){.jspVerticalBar{width:15px!important}.element-right{width:40%}.element{width:43%}.ele-strip ul li{padding:0 .4em}.teddy-text{padding:1.2em 1em}.temperatur{margin-bottom:1.5em}}@media(max-width:1366px){.element-left{width:55%}.element{width:44%}.temperatur{margin-bottom:2.5em}}@media(max-width:1280px){.teddy-text h4{font-size:.95em}.element{width:47.5%}}@media(max-width:1024px){.element{width:58.5%}.temperatur{margin-bottom:2.3em}}@media(max-width:768px){.element{width:76.5%}.temperatur{margin-bottom:2.1em}}@media(max-width:736px){.temperatur{margin-bottom:2em}}@media(max-width:667px){.element{width:85.5%}.temperatur{margin-bottom:2em}}@media(max-width:640px){.element{width:90.5%}.temperatur{margin-bottom:2.3em}.teddy-text{padding:1em}}@media(max-width:600px){.element{width:94.5%}}@media(max-width:568px){.element{width:98%}}@media(max-width:480px){.element-left{width:100%;float:none}.element-right{width:100%;float:none;margin:1.5em 0 0}.element{width:80%}h1{font-size:1.8em;margin:1.5em 0 1em}.jspContainer{width:335px!important}.temperatur{margin-bottom:1.5em}}@media(max-width:320px){h1{font-size:1.5em;margin:1em 0}.element{width:95%;margin:0 auto 2em}.jspContainer{width:259px!important}.row.row1.scroll-pane.jspScrollable{width:260px!important}.ele-strip ul li a{font-size:.9em}.top-on1 h4{font-size:.84em}.top-on1 h5{font-size:.75em}.copy-right p{font-size:.85em}.activity-desc h5{color:#000;font-size:.95em}.activity-desc p{font-size:.8em}.activity-desc h6{font-size:12px}}.selectable{cursor:pointer}.selectable:hover{background-color:#0ff;color:grey} \ No newline at end of file diff --git a/docs/styles.707264ca1462f6a614c6.css b/docs/styles.707264ca1462f6a614c6.css new file mode 100644 index 0000000..0d33159 --- /dev/null +++ b/docs/styles.707264ca1462f6a614c6.css @@ -0,0 +1 @@ +a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,mark,menu,nav,nav li,nav ul,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,var,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}ol,ul{list-style:none;margin:0;padding:0}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:'';content:none}table{border-collapse:collapse;border-spacing:0}.txt-rt{text-align:right}.txt-lt{text-align:left}.txt-center{text-align:center}.float-rt{float:right}.float-lt{float:left}.pos-relative{position:relative}.pos-absolute{position:absolute}.vertical-base{vertical-align:baseline}.vertical-top{vertical-align:top}.underline{padding-bottom:5px;border-bottom:1px solid #eee;margin:0 0 20px}nav.vertical ul li{display:block}nav.horizontal ul li{display:inline-block}img{max-width:100%}body{font-family:Roboto,sans-serif;font-size:100%;background:#313144}a{text-decoration:none}a:hover{transition:.5s all;-webkit-transition:.5s;-moz-transition:.5s;-o-transition:.5s}h1{text-align:center;font-size:2em;color:#fff;margin:1em 0 .5em;font-family:Quicksand,sans-serif}.element{width:40%;margin:0 auto 2em}.ele-strip{background:#fda660;padding:1em;margin:-3px 0 0}.temperatur{background:#5fb3f9;text-align:center;padding:1em;border-radius:5px;margin-bottom:2.5em}.wishlist{background:#fff;border-radius:5px;margin-bottom:2.5em;padding:1em}.wishlist h3{font-size:larger;font-weight:700;margin-bottom:.25em}.wishlist table{white-space:nowrap}.wishlist table thead{color:#a9a9a9}.wishlist table td{padding:.25em 0}.wishlist table .center-col{padding:.25em .5em}.ele-strip ul{text-align:center}.ele-strip ul li{display:inline-block;padding:0 .5em;border-right:1px solid #fff}.ele-strip ul li a{font-size:1em;color:#fff}.ele-strip ul li a.selected{color:#000;text-decoration:underline}.teddy-bear{text-align:center}.teddy-text{background:#fd7b87;padding:1.2em 1em;border-radius:5px 5px 0 0}span.line{background:url(line.2d5e8a4f80b2e94ac8c5.png) no-repeat;width:103px;height:2px;display:block;margin:.6em auto 0}span.w-line{background:url(w-line.c910475ff3aac2c29678.png) no-repeat;width:103px;height:2px;display:block;margin:.73em auto .72em}.teddy-text h4{color:#fff}.teddy-text img{border-radius:70px;border:3px solid #fff}.teddy-follow{background:#f2f1ef;padding:.7em 0;border-radius:0 0 4px 4px}.teddy-follow li{display:inline-block;padding:0 .9em}.teddy-follow li h3{font-size:.95em;color:#000;font-weight:700}.teddy-follow li p{font-size:.8em;color:#8a8a8a}.teddy-follow li.folw-h{border-right:1px solid #000}.element-bg-img{max-height:172px;overflow-y:hidden}.element-bg-img img{border-radius:6px 6px 0 0}span.cloud{background:url(cloudy.d748c9eb3874d888823f.png) no-repeat;width:50px;height:50px;display:inline-block}span.sun{background:url(sunny.7cee9e6415f42bec02aa.png) no-repeat;width:50px;height:50px;display:inline-block}span.rain{background:url(rainy.e505912f3d9bf50bb765.png) no-repeat;width:50px;height:50px;display:inline-block}span.snow{background:url(snowy.fe4541a15588b167d09e.png) no-repeat;width:50px;height:50px;display:inline-block}.element-left{float:left;width:50%}.element-right{float:right;width:35%}.temperatur h5{color:#fff;font-size:1em}.temperatur h2{color:#fff;font-size:3.2em;display:inline-block;vertical-align:top;font-family:Roboto,sans-serif}.temperatur h6{font-size:1em;color:#fff;margin:1em 0 0}ul li.anc-bor{border-right:none}.span_7{padding-left:0}.span_8{text-align:center;padding-left:0}.col_2{background-color:#fff;padding:1em;margin-bottom:1em}.grid-1,.grid-2,.grid-3,.grid-4{display:inline-block}.grid-1{margin-bottom:2em}.grid-1,.grid-3{margin-right:10%;width:27%}.activity-row,.activity-row1{text-align:left}i.text-info{float:left;line-height:60px;font-size:1.2em}.activity-img img{display:inline-block}.activity-desc h5{color:#000;font-size:1em;font-weight:500;margin-bottom:5px}.activity-desc h5 a{color:#000}.activity-desc p{color:#999;font-size:.94em;line-height:1.7em}.activity-desc h6{color:#fd7b87;font-size:13px;margin:13px 0 0;font-weight:700}.activity-row{margin-bottom:1em}.scrollbar{height:300px;background:#fff;overflow-y:scroll;padding:1em 1em 0}.activity_box{background:#fff;min-height:300px}#style-2::-webkit-scrollbar-track{background-color:#f0f0f0}#style-2::-webkit-scrollbar{width:5px;background-color:#f5f5f5}#style-2::-webkit-scrollbar-thumb{background-color:#fda660}.activity-desc{float:left;width:50%}.activity-img{text-align:center;float:right;width:50%}.activity-img ul li{display:inline-block}.activity-img ul li img{border-radius:50px}.village{background:#fff;padding:1.5em 1em;border-radius:0 0 5px 5px}.village h3{text-align:center;font-size:.95em;color:#000;font-weight:700;font-family:Roboto,sans-serif}.copy-right{text-align:center;padding:0 0 2em}.copy-right p{font-size:1em;color:#fff;line-height:1.6em}.copy-right p a{color:#fd7b87}.copy-right p a:hover{color:#fff;text-decoration:none}.clear{clear:both}@media(max-width:1600px){.temperatur{margin-bottom:1.95em}}@media(max-width:1440px){.jspVerticalBar{width:15px!important}.element-right{width:40%}.element{width:43%}.ele-strip ul li{padding:0 .4em}.teddy-text{padding:1.2em 1em}.temperatur{margin-bottom:1.5em}}@media(max-width:1366px){.element-left{width:55%}.element{width:44%}.temperatur{margin-bottom:2.5em}}@media(max-width:1280px){.teddy-text h4{font-size:.95em}.element{width:47.5%}}@media(max-width:1024px){.element{width:58.5%}.temperatur{margin-bottom:2.3em}}@media(max-width:768px){.element{width:76.5%}.temperatur{margin-bottom:2.1em}}@media(max-width:736px){.temperatur{margin-bottom:2em}}@media(max-width:667px){.element{width:85.5%}.temperatur{margin-bottom:2em}}@media(max-width:640px){.element{width:90.5%}.temperatur{margin-bottom:2.3em}.teddy-text{padding:1em}}@media(max-width:600px){.element{width:94.5%}}@media(max-width:568px){.element{width:98%}}@media(max-width:480px){.element-left{width:100%;float:none}.element-right{width:100%;float:none;margin:1.5em 0 0}.element{width:80%}h1{font-size:1.8em;margin:1.5em 0 1em}.jspContainer{width:335px!important}.temperatur{margin-bottom:1.5em}}@media(max-width:320px){h1{font-size:1.5em;margin:1em 0}.element{width:95%;margin:0 auto 2em}.jspContainer{width:259px!important}.row.row1.scroll-pane.jspScrollable{width:260px!important}.ele-strip ul li a{font-size:.9em}.top-on1 h4{font-size:.84em}.top-on1 h5{font-size:.75em}.copy-right p{font-size:.85em}.activity-desc h5{color:#000;font-size:.95em}.activity-desc p{font-size:.8em}.activity-desc h6{font-size:12px}}.selectable{cursor:pointer}.selectable:hover{background-color:#0ff;color:grey} \ No newline at end of file