text: (window.webpackJsonp=window.webpackJsonp||[]).push([[3],{3: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";n.r(t);var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function o(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function a(e){var t="function"==typeof Symbol&&e[Symbol.iterator],n=0;return t?t.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}function u(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function s(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(u(arguments[t]));return e}function l(e){return"function"==typeof e}var c=!1,d={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){c=e},get useDeprecatedSynchronousErrorHandling(){return c}};function f(e){setTimeout(function(){throw e})}var p={closed:!0,next:function(e){},error:function(e){if(d.useDeprecatedSynchronousErrorHandling)throw e;f(e)},complete:function(){}},h=Array.isArray||function(e){return e&&"number"==typeof e.length};function y(e){return null!=e&&"object"==typeof e}var v,g={e:{}};function m(){try{return v.apply(this,arguments)}catch(e){return g.e=e,g}}function b(e){return v=e,m}var _=function(e){function t(n){var r=e.call(this,n?n.length+" errors occurred during unsubscription:\n  "+n.map(function(e,t){return t+1+") "+e.toString()}).join("\n  "):"")||this;return r.errors=n,r.name="UnsubscriptionError",Object.setPrototypeOf(r,t.prototype),r}return o(t,e),t}(Error),w=function(){function e(e){this.closed=!1,this._parent=null,this._parents=null,this._subscriptions=null,e&&(this._unsubscribe=e)}var t;return e.prototype.unsubscribe=function(){var e,t=!1;if(!this.closed){var n=this._parent,r=this._parents,o=this._unsubscribe,i=this._subscriptions;this.closed=!0,this._parent=null,this._parents=null,this._subscriptions=null;for(var a=-1,u=r?r.length:0;n;)n.remove(this),n=++a<u&&r[a]||null;if(l(o)&&b(o).call(this)===g&&(t=!0,e=e||(g.e instanceof _?C(g.e.errors):[g.e])),h(i))for(a=-1,u=i.length;++a<u;){var s=i[a];if(y(s)&&b(s.unsubscribe).call(s)===g){t=!0,e=e||[];var c=g.e;c instanceof _?e=e.concat(C(c.errors)):e.push(c)}}if(t)throw new _(e)}},e.prototype.add=function(t){if(!t||t===e.EMPTY)return e.EMPTY;if(t===this)return this;var n=t;switch(typeof t){case"function":n=new e(t);case"object":if(n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if("function"!=typeof n._addParent){var r=n;(n=new e)._subscriptions=[r]}break;default:throw new Error("unrecognized teardown "+t+" added to Subscription.")}return(this._subscriptions||(this._subscriptions=[])).push(n),n._addParent(this),n},e.prototype.remove=function(e){var t=this._subscriptions;if(t){var n=t.indexOf(e);-1!==n&&t.splice(n,1)}},e.prototype._addParent=function(e){var t=this._parent,n=this._parents;t&&t!==e?n?-1===n.indexOf(e)&&n.push(e):this._parents=[e]:this._parent=e},e.EMPTY=((t=new e).closed=!0,t),e}();function C(e){return e.reduce(function(e,t){return e.concat(t instanceof _?t.errors:t)},[])}var E="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("rxSubscriber"):"@@rxSubscriber",x=function(e){function t(t,n,r){var o,i=e.call(this)||this;switch(i.syncErrorValue=null,i.syncErrorThrown=!1,i.syncErrorThrowable=!1,i.isStopped=!1,arguments.length){case 0:i.destination=p;break;case 1:if(!t){i.destination=p;break}if("object"==typeof t){if((o=t)instanceof x||"syncErrorThrowable"in o&&o[E]){var a=t[E]();i.syncErrorThrowable=a.syncErrorThrowable,i.destination=a,a.add(i)}else i.syncErrorThrowable=!0,i.destination=new k(i,t);break}default:i.syncErrorThrowable=!0,i.destination=new k(i,t,n,r)}return i}return o(t,e),t.prototype[E]=function(){return this},t.create=function(e,n,r){var o=new t(e,n,r);return o.syncErrorThrowable=!1,o},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this))},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){this.destination.error(e),this.unsubscribe()},t.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},t.prototype._unsubscribeAndRecycle=function(){var e=this._parent,t=this._parents;return this._parent=null,this._parents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parent=e,this._parents=t,this},t}(w),k=function(e){function t(t,n,r,o){var i,a=e.call(this)||this;a._parentSubscriber=t;var u=a;return l(n)?i=n:n&&(i=n.next,r=n.error,o=n.complete,n!==p&&(l((u=Object.create(n)).unsubscribe)&&a.add(u.unsubscribe.bind(u)),u.unsubscribe=a.unsubscribe.bind(a))),a._context=u,a._next=i,a._error=r,a._complete=o,a}return o(t,e),t.prototype.next=function(e){if(!this.isStopped&&this._next){var t=this._parentSubscriber;d.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}},t.prototype.error=function(e){if(!this.isStopped){var t=this._parentSubscriber,n=d.useDeprecatedSynchronousErrorHandling;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):f(e),this.unsubscribe();else{if(this.unsubscribe(),n)throw e;f(e)}}},t.prototype.complete=function(){var e=this;if(!this.isStopped){var t=this._parentSubscriber;if(this._complete){var n=function(){return e._complete.call(e._context)};d.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,n),this.unsubscribe()):(this.__tryOrUnsub(n),this.unsubscribe())}else this.unsubscribe()}},t.prototype.__tryOrUnsub=function(e,t){try{e.call(this._context,t)}catch(e){if(this.unsubscribe(),d.useDeprecatedSynchronousErrorHandling)throw e;f(e)}},t.prototype.__tryOrSetError=function(e,t,n){if(!d.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,n)}catch(t){return d.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=t,e.syncErrorThrown=!0,!0):(f(t),!0)}return!1},t.prototype._unsubscribe=function(){var e=this._parentSubscriber;this._context=null,this._parentSubscriber=null,e.unsubscribe()},t}(x),T="function"==typeof Symbol&&Symbol.observable||"@@observable";var S=function(){function e(e){this._isScalar=!1,e&&(this._subscribe=e)}return e.prototype.lift=function(t){var n=new e;return n.source=this,n.operator=t,n},e.prototype.subscribe=function(e,t,n){var r=this.operator,o=function(e,t,n){if(e){if(e instanceof x)return e;if(e[E])return e[E]()}return e||t||n?new x(e,t,n):new x(p)}(e,t,n);if(r?r.call(o,this.source):o.add(this.source||d.useDeprecatedSynchronousErrorHandling&&!o.syncErrorThrowable?this._subscribe(o):this._trySubscribe(o)),d.useDeprecatedSynchronousErrorHandling&&o.syncErrorThrowable&&(o.syncErrorThrowable=!1,o.syncErrorThrown))throw o.syncErrorValue;return o},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){d.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),e.error(t)}},e.prototype.forEach=function(e,t){var n=this;return new(t=N(t))(function(t,r){var o;o=n.subscribe(function(t){try{e(t)}catch(e){r(e),o&&o.unsubscribe()}},r,t)})},e.prototype._subscribe=function(e){var t=this.source;return t&&t.subscribe(e)},e.prototype[T]=function(){return this},e.prototype.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return 0===e.length?this:((n=e)?1===n.length?n[0]:function(e){return n.reduce(function(e,t){return t(e)},e)}:function(){})(this);var n},e.prototype.toPromise=function(e){var t=this;return new(e=N(e))(function(e,n){var r;t.subscribe(function(e){return r=e},function(e){return n(e)},function(){return e(r)})})},e.create=function(t){return new e(t)},e}();function N(e){if(e||(e=d.Promise||Promise),!e)throw new Error("no Promise impl found");return e}var D=function(e){function t(t,n,r){var o=e.call(this)||this;return o.parent=t,o.outerValue=n,o.outerIndex=r,o.index=0,o}return o(t,e),t.prototype._next=function(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)},t.prototype._error=function(e){this.parent.notifyError(e,this),this.unsubscribe()},t.prototype._complete=function(){this.parent.notifyComplete(this),this.unsubscribe()},t}(x),I=function(e){return function(t){for(var n=0,r=e.length;n<r&&!t.closed;n++)t.next(e[n]);t.closed||t.complete()}},O=function(e){return function(t){return e.then(function(e){t.closed||(t.next(e),t.complete())},function(e){return t.error(e)}).then(null,f),t}},A=function(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}(),P=function(e){return function(t){for(var n=e[A]();;){var r=n.next();if(r.done){t.complete();break}if(t.next(r.value),t.closed)break}return"function"==typeof n.return&&t.add(function(){n.return&&n.return()}),t}},V=function(e){return function(t){var n=e[T]();if("function"!=typeof n.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return n.subscribe(t)}},M=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e};function R(e){return e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}var j=function(e){if(e instanceof S)return function(t){return e._isScalar?(t.next(e.value),void t.complete()):e.subscribe(t)};if(e&&"function"==typeof e[T])return V(e);if(M(e))return I(e);if(R(e))return O(e);if(e&&"function"==typeof e[A])return P(e);var t=y(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 F(e,t,n,r){var o=new D(e,n,r);return j(t)(o)}var H=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.notifyNext=function(e,t,n,r,o){this.destination.next(t)},t.prototype.notifyError=function(e,t){this.destination.error(e)},t.prototype.notifyComplete=function(e){this.destination.complete()},t}(x);function L(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 B(e,t))}}var B=function(){function e(e,t){this.project=e,this.thisArg=t}return e.prototype.call=function(e,t){return t.subscribe(new U(e,this.project,this.thisArg))},e}(),U=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.project=n,o.count=0,o.thisArg=r||o,o}return o(t,e),t.prototype._next=function(e){var t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(e){return void this.destination.error(e)}this.destination.next(t)},t}(x);function z(e,t){return new S(t?function(n){var r=new w,o=0;return r.add(t.schedule(function(){o!==e.length?(n.next(e[o++]),n.closed||r.add(this.schedule())):n.complete()})),r}:I(e))}function Z(e,t){if(!t)return e instanceof S?e:new S(j(e));if(null!=e){if(function(e){return e&&"function"==typeof e[T]}(e))return function(e,t){return new S(t?function(n){var r=new w;return r.add(t.schedule(function(){var o=e[T]();r.add(o.subscribe({next:function(e){r.add(t.schedule(function(){return n.next(e)}))},error:function(e){r.add(t.schedule(function(){return n.error(e)}))},complete:function(){r.add(t.schedule(function(){return n.complete()}))}}))})),r}:V(e))}(e,t);if(R(e))return function(e,t){return new S(t?function(n){var r=new w;return r.add(t.schedule(function(){return e.then(function(e){r.add(t.schedule(function(){n.next(e),r.add(t.schedule(function(){return n.complete()}))}))},function(e){r.add(t.schedule(function(){return n.error(e)}))})})),r}:O(e))}(e,t);if(M(e))return z(e,t);if(function(e){return e&&"function"==typeof e[A]}(e)||"string"==typeof e)return function(e,t){if(!e)throw new Error("Iterable cannot be null");return new S(t?function(n){var r,o=new w;return o.add(function(){r&&"function"==typeof r.return&&r.return()}),o.add(t.schedule(function(){r=e[A](),o.add(t.schedule(function(){if(!n.closed){var e,t;try{var o=r.next();e=o.value,t=o.done}catch(e){return void n.error(e)}t?n.complete():(n.next(e),this.schedule())}}))})),o}:P(e))}(e,t)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}var G=function(){function e(e,t){void 0===t&&(t=Number.POSITIVE_INFINITY),this.project=e,this.concurrent=t}return e.prototype.call=function(e,t){return t.subscribe(new q(e,this.project,this.concurrent))},e}(),q=function(e){function t(t,n,r){void 0===r&&(r=Number.POSITIVE_INFINITY);var o=e.call(this,t)||this;return o.project=n,o.concurrent=r,o.hasCompleted=!1,o.buffer=[],o.active=0,o.index=0,o}return o(t,e),t.prototype._next=function(e){this.active<this.concurrent?this._tryNext(e):this.buffer.push(e)},t.prototype._tryNext=function(e){var t,n=this.index++;try{t=this.project(e,n)}catch(e){return void this.destination.error(e)}this.active++,this._innerSub(t,e,n)},t.prototype._innerSub=function(e,t,n){this.add(F(this,e,t,n))},t.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete()},t.prototype.notifyNext=function(e,t,n,r,o){this.destination.next(t)},t.prototype.notifyComplete=function(e){var t=this.buffer;this.remove(e),this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},t}(H);function Q(e){return e}var W=function(e){function t(){var n=e.call(this,"object unsubscribed")||this;return n.name="ObjectUnsubscribedError",Object.setPrototypeOf(n,t.prototype),n}return o(t,e),t}(Error),Y=function(e){function t(t,n){var r=e.call(this)||this;return r.subject=t,r.subscriber=n,r.closed=!1,r}return o(t,e),t.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var e=this.subject,t=e.observers;if(this.subject=null,t&&0!==t.length&&!e.isStopped&&!e.closed){var n=t.indexOf(this.subscriber);-1!==n&&t.splice(n,1)}}},t}(w),K=function(e){function t(t){var n=e.call(this,t)||this;return n.destination=t,n}return o(t,e),t}(x),$=function(e){function t(){var t=e.call(this)||this;return t.observers=[],t.closed=!1,t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return o(t,e),t.prototype[E]=function(){return new K(this)},t.prototype.lift=function(e){var t=new J(this,this);return t.operator=e,t},t.prototype.next=function(e){if(this.closed)throw new W;if(!this.isStopped)for(var t=this.observers,n=t.length,r=t.slice(),o=0;o<n;o++)r[o].next(e)},t.prototype.error=function(e){if(this.closed)throw new W;this.hasError=!0,this.thrownError=e,this.isStopped=!0;for(var t=this.observers,n=t.length,r=t.slice(),o=0;o<n;o++)r[o].error(e);this.observers.length=0},t.prototype.complete=function(){if(this.closed)throw new W;this.isStopped=!0;for(var e=this.observers,t=e.length,n=e.slice(),r=0;r<t;r++)n[r].complete();this.observers.length=0},t.prototype.unsubscribe=function(){this.isStopped=!0,this.closed=!0,this.observers=null},t.prototype._trySubscribe=function(t){if(this.closed)throw new W;return e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){if(this.closed)throw new W;return this.hasError?(e.error(this.thrownError),w.EMPTY):this.isStopped?(e.complete(),w.EMPTY):(this.observers.push(e),new Y(this,e))},t.prototype.asObservable=function(){var e=new S;return e.source=this,e},t.create=function(e,t){return new J(e,t)},t}(S),J=function(e){function t(t,n){var r=e.call(this)||this;return r.destination=t,r.source=n,r}return o(t,e),t.prototype.next=function(e){var t=this.destination;t&&t.next&&t.next(e)},t.prototype.error=function(e){var t=this.destination;t&&t.error&&this.destination.error(e)},t.prototype.complete=function(){var e=this.destination;e&&e.complete&&this.destination.complete()},t.prototype._subscribe=function(e){return this.source?this.source.subscribe(e):w.EMPTY},t}($);function X(){return function(e){return e.lift(new ee(e))}}var ee=function(){function e(e){this.connectable=e}return e.prototype.call=function(e,t){var n=this.connectable;n._refCount++;var r=new te(e,n),o=t.subscribe(r);return r.closed||(r.connection=n.connect()),o},e}(),te=function(e){function t(t,n){var r=e.call(this,t)||this;return r.connectable=n,r}return o(t,e),t.prototype._unsubscribe=function(){var e=this.connectable;if(e){this.connectable=null;var t=e._refCount;if(t<=0)this.connection=null;else if(e._refCount=t-1,t>1)this.connection=null;else{var n=this.connection,r=e._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}else this.connection=null},t}(x),ne=function(e){function t(t,n){var r=e.call(this)||this;return r.source=t,r.subjectFactory=n,r._refCount=0,r._isComplete=!1,r}return o(t,e),t.prototype._subscribe=function(e){return this.getSubject().subscribe(e)},t.prototype.getSubject=function(){var e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject},t.prototype.connect=function(){var e=this._connection;return e||(this._isComplete=!1,(e=this._connection=new w).add(this.source.subscribe(new oe(this.getSubject(),this))),e.closed?(this._connection=null,e=w.EMPTY):this._connection=e),e},t.prototype.refCount=function(){return X()(this)},t}(S).prototype,re={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:ne._subscribe},_isComplete:{value:ne._isComplete,writable:!0},getSubject:{value:ne.getSubject},connect:{value:ne.connect},refCount:{value:ne.refCount}},oe=function(e){function t(t,n){var r=e.call(this,t)||this;return r.connectable=n,r}return o(t,e),t.prototype._error=function(t){this._unsubscribe(),e.prototype._error.call(this,t)},t.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),e.prototype._complete.call(this)},t.prototype._unsubscribe=function(){var e=this.connectable;if(e){this.connectable=null;var t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}},t}(K);function ie(){return new $}function ae(e){return{providedIn:e.providedIn||null,factory:e.factory,value:void 0}}var ue=function(){function e(e,t){this._desc=e,this.ngMetadataName="InjectionToken",this.ngInjectableDef=void 0!==t?ae({providedIn:t.providedIn||"root",factory:t.factory}):void 0}return e.prototype.toString=function(){return"InjectionToken "+this._desc},e}(),se="__parameters__";function le(e,t,n){var r=function(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(e){var r=e.apply(void 0,s(t));for(var o in r)this[o]=r[o]}}}(t);function o(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(this instanceof o)return r.apply(this,t),this;var i=new((e=o).bind.apply(e,s([void 0],t)));return a.annotation=i,a;function a(e,t,n){for(var r=e.hasOwnProperty(se)?e[se]:Object.defineProperty(e,se,{value:[]})[se];r.length<=n;)r.push(null);return(r[n]=r[n]||[]).push(i),e}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o}Function;var ce="undefined"!=typeof window&&window,de="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,fe="undefined"!=typeof global&&global||ce||de,pe=Promise.resolve(0),he=null;function ye(){if(!he){var e=fe.Symbol;if(e&&e.iterator)he=e.iterator;else for(var t=Object.getOwnPropertyNames(Map.prototype),n=0;n<t.length;++n){var r=t[n];"entries"!==r&&"size"!==r&&Map.prototype[r]===Map.prototype.entries&&(he=r)}}return he}function ve(e){"undefined"==typeof Zone?pe.then(function(){e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}function ge(e,t){return e===t||"number"==typeof e&&"number"==typeof t&&isNaN(e)&&isNaN(t)}function me(e){if("string"==typeof e)return e;if(e instanceof Array)return"["+e.map(me).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return""+e.overriddenName;if(e.name)return""+e.name;var t=e.toString();if(null==t)return""+t;var n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function be(e){return e.__forward_ref__=be,e.toString=function(){return me(this())},e}function _e(e){return"function"==typeof e&&e.hasOwnProperty("__forward_ref__")&&e.__forward_ref__===be?e():e}var we=le("Inject",function(e){return{token:e}}),Ce=le("Optional"),Ee=le("Self"),xe=le("SkipSelf"),ke="__source",Te=new Object,Se=Te,Ne=new ue("INJECTOR"),De=function(){function e(){}return e.prototype.get=function(e,t){if(void 0===t&&(t=Te),t===Te)throw new Error("NullInjectorError: No provider for "+me(e)+"!");return t},e}(),Ie=function(){function e(){}return e.create=function(e,t){return Array.isArray(e)?new Le(e,t):new Le(e.providers,e.parent,e.name||null)},e.THROW_IF_NOT_FOUND=Te,e.NULL=new De,e.ngInjectableDef=ae({providedIn:"any",factory:function(){return qe(Ne)}}),e}(),Oe=function(e){return e},Ae=[],Pe=Oe,Ve=function(){return Array.prototype.slice.call(arguments)},Me={},Re=function(e){for(var t in e)if(e[t]===Me)return t;throw Error("!prop")}({provide:String,useValue:Me}),je=Ie.NULL,Fe=/\n/gm,He="\u0275",Le=function(){function e(e,t,n){void 0===t&&(t=je),void 0===n&&(n=null),this.parent=t,this.source=n;var r=this._records=new Map;r.set(Ie,{token:Ie,fn:Oe,deps:Ae,value:this,useNew:!1}),r.set(Ne,{token:Ne,fn:Oe,deps:Ae,value:this,useNew:!1}),function e(t,n){if(n)if((n=_e(n))instanceof Array)for(var r=0;r<n.length;r++)e(t,n[r]);else{if("function"==typeof n)throw ze("Function/Class not supported",n);if(!n||"object"!=typeof n||!n.provide)throw ze("Unexpected provider",n);var o=_e(n.provide),i=function(e){var t=function(e){var t=Ae,n=e.deps;if(n&&n.length){t=[];for(var r=0;r<n.length;r++){var o=6;if((s=_e(n[r]))instanceof Array)for(var i=0,a=s;i<a.length;i++){var u=a[i];u instanceof Ce||u==Ce?o|=1:u instanceof xe||u==xe?o&=-3:u instanceof Ee||u==Ee?o&=-5:s=u instanceof we?u.token:_e(u)}t.push({token:s,options:o})}}else if(e.useExisting){var s;t=[{token:s=_e(e.useExisting),options:6}]}else if(!(n||Re in e))throw ze("'deps' required",e);return t}(e),n=Oe,r=Ae,o=!1,i=_e(e.provide);if(Re in e)r=e.useValue;else if(e.useFactory)n=e.useFactory;else if(e.useExisting);else if(e.useClass)o=!0,n=_e(e.useClass);else{if("function"!=typeof i)throw ze("StaticProvider does not have [useValue|useFactory|useExisting|useClass] or [provide] is not newable",e);o=!0,n=i}return{deps:t,fn:n,useNew:o,value:r}}(n);if(!0===n.multi){var a=t.get(o);if(a){if(a.fn!==Ve)throw Be(o)}else t.set(o,a={token:n.provide,deps:[],useNew:!1,fn:Ve,value:Ae});a.deps.push({token:o=n,options:6})}var u=t.get(o);if(u&&u.fn==Ve)throw Be(o);t.set(o,i)}}(r,e)}return e.prototype.get=function(e,t,n){void 0===n&&(n=0);var r=this._records.get(e);try{return function e(t,n,r,o,i,a){try{return function(t,n,r,o,i,a){var u,l;if(!n||4&a)2&a||(l=o.get(t,i,0));else{if((l=n.value)==Pe)throw Error(He+"Circular dependency");if(l===Ae){n.value=Pe;var c=n.useNew,d=n.fn,f=n.deps,p=Ae;if(f.length){p=[];for(var h=0;h<f.length;h++){var y=f[h],v=y.options,g=2&v?r.get(y.token):void 0;p.push(e(y.token,g,r,g||4&v?o:je,1&v?null:Ie.THROW_IF_NOT_FOUND,0))}}n.value=l=c?new((u=d).bind.apply(u,s([void 0],p))):d.apply(void 0,p)}}return l}(t,n,r,o,i,a)}catch(e){throw e instanceof Error||(e=new Error(e)),(e.ngTempTokenPath=e.ngTempTokenPath||[]).unshift(t),n&&n.value==Pe&&(n.value=Ae),e}}(e,r,this._records,this.parent,t,n)}catch(t){var o=t.ngTempTokenPath;throw e[ke]&&o.unshift(e[ke]),t.message=Ue("\n"+t.message,o,this.source),t.ngTokenPath=o,t.ngTempTokenPath=null,t}},e.prototype.toString=function(){var e=[];return this._records.forEach(function(t,n){return e.push(me(n))}),"StaticInjector["+e.join(", ")+"]"},e}();function Be(e){return ze("Cannot mix multi providers and regular providers",e)}function Ue(e,t,n){void 0===n&&(n=null),e=e&&"\n"===e.charAt(0)&&e.charAt(1)==He?e.substr(2):e;var r=me(t);if(t instanceof Array)r=t.map(me).join(" -> ");else if("object"==typeof t){var o=[];for(var i in t)if(t.hasOwnProperty(i)){var a=t[i];o.push(i+":"+("string"==typeof a?JSON.stringify(a):me(a)))}r="{"+o.join(", ")+"}"}return"StaticInjectorError"+(n?"("+n+")":"")+"["+r+"]: "+e.replace(Fe,"\n  ")}function ze(e,t){return new Error(Ue(e,t))}var Ze=void 0;function Ge(e){var t=Ze;return Ze=e,t}function qe(e,t){if(void 0===t&&(t=0),void 0===Ze)throw new Error("inject() must be called from an injection context");if(null===Ze){var n=e.ngInjectableDef;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 ["+me(e)+"]")}return Ze.get(e,8&t?null:void 0,t)}function Qe(e){for(var t=[],n=0;n<e.length;n++){var r=e[n];if(Array.isArray(r)){if(0===r.length)throw new Error("Arguments array must have arguments.");for(var o=void 0,i=0,a=0;a<r.length;a++){var u=r[a];u instanceof Ce||"Optional"===u.ngMetadataName?i|=8:u instanceof xe||"SkipSelf"===u.ngMetadataName?i|=4:u instanceof Ee||"Self"===u.ngMetadataName?i|=2:o=u instanceof we?u.token:u}t.push(qe(o,i))}else t.push(qe(r))}return t}String;var We=function(e){return e[e.Emulated=0]="Emulated",e[e.Native=1]="Native",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}({}),Ye=new function(e){this.full="6.1.2",this.major="6.1.2".split(".")[0],this.minor="6.1.2".split(".")[1],this.patch="6.1.2".split(".").slice(2).join(".")}("6.1.2"),Ke="ngDebugContext",$e="ngOriginalError",Je="ngErrorLogger";function Xe(e){return e[Ke]}function et(e){return e[$e]}function tt(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];e.error.apply(e,s(t))}var nt=function(){function e(){this._console=console}return e.prototype.handleError=function(e){var t=this._findOriginalError(e),n=this._findContext(e),r=function(e){return e[Je]||tt}(e);r(this._console,"ERROR",e),t&&r(this._console,"ORIGINAL ERROR",t),n&&r(this._console,"ERROR CONTEXT",n)},e.prototype._findContext=function(e){return e?Xe(e)?Xe(e):this._findContext(et(e)):null},e.prototype._findOriginalError=function(e){for(var t=et(e);t&&et(t);)t=et(t);return t},e}(),rt=new ue("The presence of this token marks an injector as being the root injector."),ot={},it={},at=[],ut=void 0;function st(){return void 0===ut&&(ut=new De),ut}var lt=function(){function e(e,t,n){var r=this;this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this.destroyed=!1,ft([e],function(e){return r.processInjectorType(e,new Set)}),t&&ft(t,function(e){return r.processProvider(e)}),this.records.set(Ne,dt(void 0,this)),this.isRootInjector=this.records.has(rt),this.injectorDefTypes.forEach(function(e){return r.get(e)})}return e.prototype.destroy=function(){this.assertNotDestroyed(),this.destroyed=!0;try{this.onDestroy.forEach(function(e){return e.ngOnDestroy()})}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}},e.prototype.get=function(e,t,n){void 0===t&&(t=Se),void 0===n&&(n=0),this.assertNotDestroyed();var r,o=Ge(this);try{if(!(4&n)){var i=this.records.get(e);if(void 0===i){var a=("function"==typeof(r=e)||"object"==typeof r&&r instanceof ue)&&e.ngInjectableDef||void 0;void 0!==a&&this.injectableDefInScope(a)&&(i=ct(e),this.records.set(e,i))}if(void 0!==i)return this.hydrate(e,i)}return 2&n&&st(),this.parent.get(e,t)}finally{Ge(o)}},e.prototype.assertNotDestroyed=function(){if(this.destroyed)throw new Error("Injector has already been destroyed.")},e.prototype.processInjectorType=function(e,t){var n=this,r=(e=_e(e)).ngInjectorDef,o=null==r&&e.ngModule||void 0,i=void 0===o?e:o,a=void 0!==o&&e.providers||at;if(void 0!==o&&(r=o.ngInjectorDef),null!=r){if(t.has(i))throw new Error("Circular dependency: type "+me(i)+" ends up importing itself.");if(this.injectorDefTypes.add(i),this.records.set(i,dt(r.factory)),null!=r.imports){t.add(i);try{ft(r.imports,function(e){return n.processInjectorType(e,t)})}finally{t.delete(i)}}null!=r.providers&&ft(r.providers,function(e){return n.processProvider(e)}),ft(a,function(e){return n.processProvider(e)})}},e.prototype.processProvider=function(e){var t=pt(e=_e(e))?e:_e(e.provide),n=function(e){var t=_e(e),n=ot,r=void 0;if(pt(e))return ct(e);if(t=_e(e.provide),Re in e)n=e.useValue;else if(e.useExisting)r=function(){return qe(e.useExisting)};else if(e.useFactory)r=function(){return e.useFactory.apply(e,s(Qe(e.deps||[])))};else{var o=e.useClass||t;if(!e.deps)return ct(o);r=function(){return new(o.bind.apply(o,s([void 0],Qe(e.deps))))}}return dt(r,n)}(e);if(pt(e)||!0!==e.multi){var r=this.records.get(t);if(r&&void 0!==r.multi)throw new Error("Mixed multi-provider for "+me(t))}else{var o=this.records.get(t);if(o){if(void 0===o.multi)throw new Error("Mixed multi-provider for "+t+".")}else(o=dt(void 0,ot,!0)).factory=function(){return Qe(o.multi)},this.records.set(t,o);t=e,o.multi.push(e)}this.records.set(t,n)},e.prototype.hydrate=function(e,t){if(t.value===it)throw new Error("Circular dep for "+me(e));var n;return t.value===ot&&(t.value=it,t.value=t.factory()),"object"==typeof t.value&&t.value&&"object"==typeof(n=t.value)&&null!=n&&n.ngOnDestroy&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(t.value),t.value},e.prototype.injectableDefInScope=function(e){return!!e.providedIn&&("string"==typeof e.providedIn?"any"===e.providedIn||"root"===e.providedIn&&this.isRootInjector:this.injectorDefTypes.has(e.providedIn))},e}();function ct(e){var t=e.ngInjectableDef;if(void 0===t){if(e instanceof ue)throw new Error("Token "+me(e)+" is missing an ngInjectableDef definition.");return dt(function(){return new e})}return dt(t.factory)}function dt(e,t,n){return void 0===t&&(t=ot),void 0===n&&(n=!1),{factory:e,value:t,multi:n?[]:void 0}}function ft(e,t){e.forEach(function(e){return Array.isArray(e)?ft(e,t):t(e)})}function pt(e){return"function"==typeof e}function ht(e){return!!e&&"function"==typeof e.then}var yt=new ue("Application Initializer"),vt=function(){function e(e){var t=this;this.appInits=e,this.initialized=!1,this.done=!1,this.donePromise=new Promise(function(e,n){t.resolve=e,t.reject=n})}return e.prototype.runInitializers=function(){var e=this;if(!this.initialized){var t=[],n=function(){e.done=!0,e.resolve()};if(this.appInits)for(var r=0;r<this.appInits.length;r++){var o=this.appInits[r]();ht(o)&&t.push(o)}Promise.all(t).then(function(){n()}).catch(function(t){e.reject(t)}),0===t.length&&n(),this.initialized=!0}},e}(),gt=new ue("AppId");function mt(){return""+bt()+bt()+bt()}function bt(){return String.fromCharCode(97+Math.floor(25*Math.random()))}var _t=new ue("Platform Initializer"),wt=new ue("Platform ID"),Ct=new ue("appBootstrapListener"),Et=function(){function e(){}return e.prototype.log=function(e){console.log(e)},e.prototype.warn=function(e){console.warn(e)},e}();function xt(){throw new Error("Runtime compiler is not loaded")}var kt=function(){function e(){}return e.prototype.compileModuleSync=function(e){throw xt()},e.prototype.compileModuleAsync=function(e){throw xt()},e.prototype.compileModuleAndAllComponentsSync=function(e){throw xt()},e.prototype.compileModuleAndAllComponentsAsync=function(e){throw xt()},e.prototype.clearCache=function(){},e.prototype.clearCacheFor=function(e){},e.prototype.getModuleId=function(e){},e}(),Tt=function(){},St=function(){},Nt=function(){};function Dt(e){var t=Error("No component factory found for "+me(e)+". Did you add it to @NgModule.entryComponents?");return t[At]=e,t}var It,Ot,At="ngComponent",Pt=function(){function e(){}return e.prototype.resolveComponentFactory=function(e){throw Dt(e)},e}(),Vt=function(){function e(){}return e.NULL=new Pt,e}(),Mt=function(){function e(e,t,n){this._parent=t,this._ngModule=n,this._factories=new Map;for(var r=0;r<e.length;r++){var o=e[r];this._factories.set(o.componentType,o)}}return e.prototype.resolveComponentFactory=function(e){var t=this._factories.get(e);if(!t&&this._parent&&(t=this._parent.resolveComponentFactory(e)),!t)throw Dt(e);return new Rt(t,this._ngModule)},e}(),Rt=function(e){function t(t,n){var r=e.call(this)||this;return r.factory=t,r.ngModule=n,r.selector=t.selector,r.componentType=t.componentType,r.ngContentSelectors=t.ngContentSelectors,r.inputs=t.inputs,r.outputs=t.outputs,r}return o(t,e),t.prototype.create=function(e,t,n,r){return this.factory.create(e,t,n,r||this.ngModule)},t}(Nt),jt=function(){},Ft=function(){},Ht=function(){var e=fe.wtf;return!(!e||!(It=e.trace)||(Ot=It.events,0))}();function Lt(e,t){return null}var Bt=Ht?function(e,t){return void 0===t&&(t=null),Ot.createScope(e,t)}:function(e,t){return Lt},Ut=Ht?function(e,t){return It.leaveScope(e,t),t}:function(e,t){return t},zt=function(e){function t(t){void 0===t&&(t=!1);var n=e.call(this)||this;return n.__isAsync=t,n}return o(t,e),t.prototype.emit=function(t){e.prototype.next.call(this,t)},t.prototype.subscribe=function(t,n,r){var o,i=function(e){return null},a=function(){return null};t&&"object"==typeof t?(o=this.__isAsync?function(e){setTimeout(function(){return t.next(e)})}:function(e){t.next(e)},t.error&&(i=this.__isAsync?function(e){setTimeout(function(){return t.error(e)})}:function(e){t.error(e)}),t.complete&&(a=this.__isAsync?function(){setTimeout(function(){return t.complete()})}:function(){t.complete()})):(o=this.__isAsync?function(e){setTimeout(function(){return t(e)})}:function(e){t(e)},n&&(i=this.__isAsync?function(e){setTimeout(function(){return n(e)})}:function(e){n(e)}),r&&(a=this.__isAsync?function(){setTimeout(function(){return r()})}:function(){r()}));var u=e.prototype.subscribe.call(this,o,i,a);return t instanceof w&&t.add(u),u},t}($),Zt=function(){function e(e){var t,n=e.enableLongStackTrace,r=void 0!==n&&n;if(this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new zt(!1),this.onMicrotaskEmpty=new zt(!1),this.onStable=new zt(!1),this.onError=new zt(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");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)),r&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),(t=this)._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:function(e,n,r,o,i,a){try{return Wt(t),e.invokeTask(r,o,i,a)}finally{Yt(t)}},onInvoke:function(e,n,r,o,i,a,u){try{return Wt(t),e.invoke(r,o,i,a,u)}finally{Yt(t)}},onHasTask:function(e,n,r,o){e.hasTask(r,o),n===r&&("microTask"==o.change?(t.hasPendingMicrotasks=o.microTask,Qt(t)):"macroTask"==o.change&&(t.hasPendingMacrotasks=o.macroTask))},onHandleError:function(e,n,r,o){return e.handleError(r,o),t.runOutsideAngular(function(){return t.onError.emit(o)}),!1}})}return e.isInAngularZone=function(){return!0===Zone.current.get("isAngularZone")},e.assertInAngularZone=function(){if(!e.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")},e.assertNotInAngularZone=function(){if(e.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")},e.prototype.run=function(e,t,n){return this._inner.run(e,t,n)},e.prototype.runTask=function(e,t,n,r){var o=this._inner,i=o.scheduleEventTask("NgZoneEvent: "+r,e,qt,Gt,Gt);try{return o.runTask(i,t,n)}finally{o.cancelTask(i)}},e.prototype.runGuarded=function(e,t,n){return this._inner.runGuarded(e,t,n)},e.prototype.runOutsideAngular=function(e){return this._outer.run(e)},e}();function Gt(){}var qt={};function Qt(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(function(){return e.onStable.emit(null)})}finally{e.isStable=!0}}}function Wt(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Yt(e){e._nesting--,Qt(e)}var Kt,$t=function(){function e(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new zt,this.onMicrotaskEmpty=new zt,this.onStable=new zt,this.onError=new zt}return e.prototype.run=function(e){return e()},e.prototype.runGuarded=function(e){return e()},e.prototype.runOutsideAngular=function(e){return e()},e.prototype.runTask=function(e){return e()},e}(),Jt=function(){function e(e){var t=this;this._ngZone=e,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this._watchAngularEvents(),e.run(function(){t.taskTrackingZone=Zone.current.get("TaskTrackingZone")})}return e.prototype._watchAngularEvents=function(){var e=this;this._ngZone.onUnstable.subscribe({next:function(){e._didWork=!0,e._isZoneStable=!1}}),this._ngZone.runOutsideAngular(function(){e._ngZone.onStable.subscribe({next:function(){Zt.assertNotInAngularZone(),ve(function(){e._isZoneStable=!0,e._runCallbacksIfReady()})}})})},e.prototype.increasePendingRequestCount=function(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount},e.prototype.decreasePendingRequestCount=function(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount},e.prototype.isStable=function(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks},e.prototype._runCallbacksIfReady=function(){var e=this;if(this.isStable())ve(function(){for(;0!==e._callbacks.length;){var t=e._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(e._didWork)}e._didWork=!1});else{var t=this.getPendingTasks();this._callbacks=this._callbacks.filter(function(e){return!e.updateCb||!e.updateCb(t)||(clearTimeout(e.timeoutId),!1)}),this._didWork=!0}},e.prototype.getPendingTasks=function(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(function(e){return{source:e.source,isPeriodic:e.data.isPeriodic,delay:e.data.delay,creationLocation:e.creationLocation,xhr:e.data.target}}):[]},e.prototype.addCallback=function(e,t,n){var r=this,o=-1;t&&t>0&&(o=setTimeout(function(){r._callbacks=r._callbacks.filter(function(e){return e.timeoutId!==o}),e(r._didWork,r.getPendingTasks())},t)),this._callbacks.push({doneCb:e,timeoutId:o,updateCb:n})},e.prototype.whenStable=function(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()},e.prototype.getPendingRequestCount=function(){return this._pendingCount},e.prototype.findProviders=function(e,t,n){return[]},e}(),Xt=function(){function e(){this._applications=new Map,en.addToWindow(this)}return e.prototype.registerApplication=function(e,t){this._applications.set(e,t)},e.prototype.unregisterApplication=function(e){this._applications.delete(e)},e.prototype.unregisterAllApplications=function(){this._applications.clear()},e.prototype.getTestability=function(e){return this._applications.get(e)||null},e.prototype.getAllTestabilities=function(){return Array.from(this._applications.values())},e.prototype.getAllRootElements=function(){return Array.from(this._applications.keys())},e.prototype.findTestabilityInTree=function(e,t){return void 0===t&&(t=!0),en.findTestabilityInTree(this,e,t)},e.ctorParameters=function(){return[]},e}(),en=new(function(){function e(){}return e.prototype.addToWindow=function(e){},e.prototype.findTestabilityInTree=function(e,t,n){return null},e}()),tn=!0,nn=!1,rn=new ue("AllowMultipleToken");function on(){return nn=!0,tn}var an=function(e,t){this.name=e,this.token=t};function un(e,t,n){void 0===n&&(n=[]);var r="Platform: "+t,o=new ue(r);return function(t){void 0===t&&(t=[]);var i=sn();if(!i||i.injector.get(rn,!1))if(e)e(n.concat(t).concat({provide:o,useValue:!0}));else{var a=n.concat(t).concat({provide:o,useValue:!0});!function(e){if(Kt&&!Kt.destroyed&&!Kt.injector.get(rn,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Kt=e.get(ln);var t=e.get(_t,null);t&&t.forEach(function(e){return e()})}(Ie.create({providers:a,name:r}))}return function(e){var t=sn();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}(o)}}function sn(){return Kt&&!Kt.destroyed?Kt:null}var ln=function(){function e(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return e.prototype.bootstrapModuleFactory=function(e,t){var n,r=this,o="noop"===(n=t?t.ngZone:void 0)?new $t:("zone.js"===n?void 0:n)||new Zt({enableLongStackTrace:on()}),i=[{provide:Zt,useValue:o}];return o.run(function(){var t=Ie.create({providers:i,parent:r.injector,name:e.moduleType.name}),n=e.create(t),a=n.injector.get(nt,null);if(!a)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.onDestroy(function(){return fn(r._modules,n)}),o.runOutsideAngular(function(){return o.onError.subscribe({next:function(e){a.handleError(e)}})}),function(e,t,o){try{var i=((a=n.injector.get(vt)).runInitializers(),a.donePromise.then(function(){return r._moduleDoBootstrap(n),n}));return ht(i)?i.catch(function(n){throw t.runOutsideAngular(function(){return e.handleError(n)}),n}):i}catch(n){throw t.runOutsideAngular(function(){return e.handleError(n)}),n}var a}(a,o)})},e.prototype.bootstrapModule=function(e,t){var n=this;void 0===t&&(t=[]);var r=this.injector.get(Tt),o=cn({},t);return r.createCompiler([o]).compileModuleAsync(e).then(function(e){return n.bootstrapModuleFactory(e,o)})},e.prototype._moduleDoBootstrap=function(e){var t=e.injector.get(dn);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(function(e){return t.bootstrap(e)});else{if(!e.instance.ngDoBootstrap)throw new Error("The module "+me(e.instance.constructor)+' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.');e.instance.ngDoBootstrap(t)}this._modules.push(e)},e.prototype.onDestroy=function(e){this._destroyListeners.push(e)},Object.defineProperty(e.prototype,"injector",{get:function(){return this._injector},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(function(e){return e.destroy()}),this._destroyListeners.forEach(function(e){return e()}),this._destroyed=!0},Object.defineProperty(e.prototype,"destroyed",{get:function(){return this._destroyed},enumerable:!0,configurable:!0}),e}();function cn(e,t){return Array.isArray(t)?t.reduce(cn,e):i({},e,t)}var dn=function(){function e(e,t,n,r,o,i){var a=this;this._zone=e,this._console=t,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=o,this._initStatus=i,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=on(),this._zone.onMicrotaskEmpty.subscribe({next:function(){a._zone.run(function(){a.tick()})}});var u=new S(function(e){a._stable=a._zone.isStable&&!a._zone.hasPendingMacrotasks&&!a._zone.hasPendingMicrotasks,a._zone.runOutsideAngular(function(){e.next(a._stable),e.complete()})}),s=new S(function(e){var t;a._zone.runOutsideAngular(function(){t=a._zone.onStable.subscribe(function(){Zt.assertNotInAngularZone(),ve(function(){a._stable||a._zone.hasPendingMacrotasks||a._zone.hasPendingMicrotasks||(a._stable=!0,e.next(!0))})})});var n=a._zone.onUnstable.subscribe(function(){Zt.assertInAngularZone(),a._stable&&(a._stable=!1,a._zone.runOutsideAngular(function(){e.next(!1)}))});return function(){t.unsubscribe(),n.unsubscribe()}});this.isStable=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n,r=Number.POSITIVE_INFINITY,o=null,i=e[e.length-1];return(n=i)&&"function"==typeof n.schedule?(o=e.pop(),e.length>1&&"number"==typeof e[e.length-1]&&(r=e.pop())):"number"==typeof i&&(r=e.pop()),null===o&&1===e.length&&e[0]instanceof S?e[0]:function(e){return void 0===e&&(e=Number.POSITIVE_INFINITY),function e(t,n,r){return void 0===r&&(r=Number.POSITIVE_INFINITY),"function"==typeof n?function(o){return o.pipe(e(function(e,r){return Z(t(e,r)).pipe(L(function(t,o){return n(e,t,r,o)}))},r))}:("number"==typeof n&&(r=n),function(e){return e.lift(new G(t,r))})}(Q,e)}(r)(z(e,o))}(u,s.pipe(function(e){return X()((t=ie,function(e){var n;n="function"==typeof t?t:function(){return t};var r=Object.create(e,re);return r.source=e,r.subjectFactory=n,r})(e));var t}))}return e.prototype.bootstrap=function(e,t){var n,r=this;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.");n=e instanceof Nt?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);var o=n instanceof Rt?null:this._injector.get(jt),i=n.create(Ie.NULL,[],t||n.selector,o);i.onDestroy(function(){r._unloadComponent(i)});var a=i.injector.get(Jt,null);return a&&i.injector.get(Xt).registerApplication(i.location.nativeElement,a),this._loadComponent(i),on()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),i},e.prototype.tick=function(){var t=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");var n=e._tickScope();try{this._runningTick=!0,this._views.forEach(function(e){return e.detectChanges()}),this._enforceNoNewChanges&&this._views.forEach(function(e){return e.checkNoChanges()})}catch(e){this._zone.runOutsideAngular(function(){return t._exceptionHandler.handleError(e)})}finally{this._runningTick=!1,Ut(n)}},e.prototype.attachView=function(e){var t=e;this._views.push(t),t.attachToAppRef(this)},e.prototype.detachView=function(e){var t=e;fn(this._views,t),t.detachFromAppRef()},e.prototype._loadComponent=function(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(Ct,[]).concat(this._bootstrapListeners).forEach(function(t){return t(e)})},e.prototype._unloadComponent=function(e){this.detachView(e.hostView),fn(this.components,e)},e.prototype.ngOnDestroy=function(){this._views.slice().forEach(function(e){return e.destroy()})},Object.defineProperty(e.prototype,"viewCount",{get:function(){return this._views.length},enumerable:!0,configurable:!0}),e._tickScope=Bt("ApplicationRef#tick()"),e}();function fn(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var pn=function(){},hn=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}({}),yn=function(){},vn=function(e){this.nativeElement=e},gn=function(){function e(){this.dirty=!0,this._results=[],this.changes=new zt,this.length=0}return e.prototype.map=function(e){return this._results.map(e)},e.prototype.filter=function(e){return this._results.filter(e)},e.prototype.find=function(e){return this._results.find(e)},e.prototype.reduce=function(e,t){return this._results.reduce(e,t)},e.prototype.forEach=function(e){this._results.forEach(e)},e.prototype.some=function(e){return this._results.some(e)},e.prototype.toArray=function(){return this._results.slice()},e.prototype[ye()]=function(){return this._results[ye()]()},e.prototype.toString=function(){return this._results.toString()},e.prototype.reset=function(e){this._results=function e(t){return t.reduce(function(t,n){var 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]},e.prototype.notifyOnChanges=function(){this.changes.emit(this)},e.prototype.setDirty=function(){this.dirty=!0},e.prototype.destroy=function(){this.changes.complete(),this.changes.unsubscribe()},e}(),mn=function(){},bn=function(){},_n=function(){function e(e,t,n){this._debugContext=n,this.nativeNode=e,t&&t instanceof wn?t.addChild(this):this.parent=null,this.listeners=[]}return Object.defineProperty(e.prototype,"injector",{get:function(){return this._debugContext.injector},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentInstance",{get:function(){return this._debugContext.component},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return this._debugContext.context},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"references",{get:function(){return this._debugContext.references},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"providerTokens",{get:function(){return this._debugContext.providerTokens},enumerable:!0,configurable:!0}),e}(),wn=function(e){function t(t,n,r){var o=e.call(this,t,n,r)||this;return o.properties={},o.attributes={},o.classes={},o.styles={},o.childNodes=[],o.nativeElement=t,o}return o(t,e),t.prototype.addChild=function(e){e&&(this.childNodes.push(e),e.parent=this)},t.prototype.removeChild=function(e){var t=this.childNodes.indexOf(e);-1!==t&&(e.parent=null,this.childNodes.splice(t,1))},t.prototype.insertChildrenAfter=function(e,t){var n,r=this,o=this.childNodes.indexOf(e);-1!==o&&((n=this.childNodes).splice.apply(n,s([o+1,0],t)),t.forEach(function(e){e.parent&&e.parent.removeChild(e),e.parent=r}))},t.prototype.insertBefore=function(e,t){var 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))},t.prototype.query=function(e){return this.queryAll(e)[0]||null},t.prototype.queryAll=function(e){var t=[];return function e(t,n,r){t.childNodes.forEach(function(t){t instanceof wn&&(n(t)&&r.push(t),e(t,n,r))})}(this,e,t),t},t.prototype.queryAllNodes=function(e){var t=[];return function e(t,n,r){t instanceof wn&&t.childNodes.forEach(function(t){n(t)&&r.push(t),t instanceof wn&&e(t,n,r)})}(this,e,t),t},Object.defineProperty(t.prototype,"children",{get:function(){return this.childNodes.filter(function(e){return e instanceof t})},enumerable:!0,configurable:!0}),t.prototype.triggerEventHandler=function(e,t){this.listeners.forEach(function(n){n.name==e&&n.callback(t)})},t}(_n),Cn=new Map;function En(e){return Cn.get(e)||null}function xn(e){Cn.set(e.nativeNode,e)}function kn(e,t){var n=Nn(e),r=Nn(t);return n&&r?function(e,t,n){for(var r=e[ye()](),o=t[ye()]();;){var i=r.next(),a=o.next();if(i.done&&a.done)return!0;if(i.done||a.done)return!1;if(!n(i.value,a.value))return!1}}(e,t,kn):!(n||!e||"object"!=typeof e&&"function"!=typeof e||r||!t||"object"!=typeof t&&"function"!=typeof t)||ge(e,t)}var Tn=function(){function e(e){this.wrapped=e}return e.wrap=function(t){return new e(t)},e.unwrap=function(t){return e.isWrapped(t)?t.wrapped:t},e.isWrapped=function(t){return t instanceof e},e}(),Sn=function(){function e(e,t,n){this.previousValue=e,this.currentValue=t,this.firstChange=n}return e.prototype.isFirstChange=function(){return this.firstChange},e}();function Nn(e){return!!Dn(e)&&(Array.isArray(e)||!(e instanceof Map)&&ye()in e)}function Dn(e){return null!==e&&("function"==typeof e||"object"==typeof e)}var In=function(){function e(){}return e.prototype.supports=function(e){return Nn(e)},e.prototype.create=function(e){return new An(e)},e}(),On=function(e,t){return t},An=function(){function e(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||On}return e.prototype.forEachItem=function(e){var t;for(t=this._itHead;null!==t;t=t._next)e(t)},e.prototype.forEachOperation=function(e){for(var t=this._itHead,n=this._removalsHead,r=0,o=null;t||n;){var i=!n||t&&t.currentIndex<Rn(n,r,o)?t:n,a=Rn(i,r,o),u=i.currentIndex;if(i===n)r--,n=n._nextRemoved;else if(t=t._next,null==i.previousIndex)r++;else{o||(o=[]);var s=a-r,l=u-r;if(s!=l){for(var c=0;c<s;c++){var d=c<o.length?o[c]:o[c]=0,f=d+c;l<=f&&f<s&&(o[c]=d+1)}o[i.previousIndex]=l-s}}a!==u&&e(i,a,u)}},e.prototype.forEachPreviousItem=function(e){var t;for(t=this._previousItHead;null!==t;t=t._nextPrevious)e(t)},e.prototype.forEachAddedItem=function(e){var t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)},e.prototype.forEachMovedItem=function(e){var t;for(t=this._movesHead;null!==t;t=t._nextMoved)e(t)},e.prototype.forEachRemovedItem=function(e){var t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)},e.prototype.forEachIdentityChange=function(e){var t;for(t=this._identityChangesHead;null!==t;t=t._nextIdentityChange)e(t)},e.prototype.diff=function(e){if(null==e&&(e=[]),!Nn(e))throw new Error("Error trying to diff '"+me(e)+"'. Only arrays and iterables are allowed");return this.check(e)?this:null},e.prototype.onDestroy=function(){},e.prototype.check=function(e){var t=this;this._reset();var n,r,o,i=this._itHead,a=!1;if(Array.isArray(e)){this.length=e.length;for(var u=0;u<this.length;u++)o=this._trackByFn(u,r=e[u]),null!==i&&ge(i.trackById,o)?(a&&(i=this._verifyReinsertion(i,r,o,u)),ge(i.item,r)||this._addIdentityChange(i,r)):(i=this._mismatch(i,r,o,u),a=!0),i=i._next}else n=0,function(e,t){if(Array.isArray(e))for(var n=0;n<e.length;n++)t(e[n]);else for(var r=e[ye()](),o=void 0;!(o=r.next()).done;)t(o.value)}(e,function(e){o=t._trackByFn(n,e),null!==i&&ge(i.trackById,o)?(a&&(i=t._verifyReinsertion(i,e,o,n)),ge(i.item,e)||t._addIdentityChange(i,e)):(i=t._mismatch(i,e,o,n),a=!0),i=i._next,n++}),this.length=n;return this._truncate(i),this.collection=e,this.isDirty},Object.defineProperty(e.prototype,"isDirty",{get:function(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead},enumerable:!0,configurable:!0}),e.prototype._reset=function(){if(this.isDirty){var e=void 0,t=void 0;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}},e.prototype._mismatch=function(e,t,n,r){var o;return null===e?o=this._itTail:(o=e._prev,this._remove(e)),null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(ge(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,o,r)):null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(ge(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,o,r)):e=this._addAfter(new Pn(t,n),o,r),e},e.prototype._verifyReinsertion=function(e,t,n,r){var o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==o?e=this._reinsertAfter(o,e._prev,r):e.currentIndex!=r&&(e.currentIndex=r,this._addToMoves(e,r)),e},e.prototype._truncate=function(e){for(;null!==e;){var 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)},e.prototype._reinsertAfter=function(e,t,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);var r=e._prevRemoved,o=e._nextRemoved;return null===r?this._removalsHead=o:r._nextRemoved=o,null===o?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(e,t,n),this._addToMoves(e,n),e},e.prototype._moveAfter=function(e,t,n){return this._unlink(e),this._insertAfter(e,t,n),this._addToMoves(e,n),e},e.prototype._addAfter=function(e,t,n){return this._insertAfter(e,t,n),this._additionsTail=null===this._additionsTail?this._additionsHead=e:this._additionsTail._nextAdded=e,e},e.prototype._insertAfter=function(e,t,n){var 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 Mn),this._linkedRecords.put(e),e.currentIndex=n,e},e.prototype._remove=function(e){return this._addToRemovals(this._unlink(e))},e.prototype._unlink=function(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);var t=e._prev,n=e._next;return null===t?this._itHead=n:t._next=n,null===n?this._itTail=t:n._prev=t,e},e.prototype._addToMoves=function(e,t){return e.previousIndex===t?e:(this._movesTail=null===this._movesTail?this._movesHead=e:this._movesTail._nextMoved=e,e)},e.prototype._addToRemovals=function(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Mn),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},e.prototype._addIdentityChange=function(e,t){return e.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=e:this._identityChangesTail._nextIdentityChange=e,e},e}(),Pn=function(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},Vn=function(){function e(){this._head=null,this._tail=null}return e.prototype.add=function(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)},e.prototype.get=function(e,t){var n;for(n=this._head;null!==n;n=n._nextDup)if((null===t||t<=n.currentIndex)&&ge(n.trackById,e))return n;return null},e.prototype.remove=function(e){var 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},e}(),Mn=function(){function e(){this.map=new Map}return e.prototype.put=function(e){var t=e.trackById,n=this.map.get(t);n||(n=new Vn,this.map.set(t,n)),n.add(e)},e.prototype.get=function(e,t){var n=this.map.get(e);return n?n.get(e,t):null},e.prototype.remove=function(e){var t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e},Object.defineProperty(e.prototype,"isEmpty",{get:function(){return 0===this.map.size},enumerable:!0,configurable:!0}),e.prototype.clear=function(){this.map.clear()},e}();function Rn(e,t,n){var r=e.previousIndex;if(null===r)return r;var o=0;return n&&r<n.length&&(o=n[r]),r+t+o}var jn=function(){function e(){}return e.prototype.supports=function(e){return e instanceof Map||Dn(e)},e.prototype.create=function(){return new Fn},e}(),Fn=function(){function e(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}return Object.defineProperty(e.prototype,"isDirty",{get:function(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead},enumerable:!0,configurable:!0}),e.prototype.forEachItem=function(e){var t;for(t=this._mapHead;null!==t;t=t._next)e(t)},e.prototype.forEachPreviousItem=function(e){var t;for(t=this._previousMapHead;null!==t;t=t._nextPrevious)e(t)},e.prototype.forEachChangedItem=function(e){var t;for(t=this._changesHead;null!==t;t=t._nextChanged)e(t)},e.prototype.forEachAddedItem=function(e){var t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)},e.prototype.forEachRemovedItem=function(e){var t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)},e.prototype.diff=function(e){if(e){if(!(e instanceof Map||Dn(e)))throw new Error("Error trying to diff '"+me(e)+"'. Only maps and objects are allowed")}else e=new Map;return this.check(e)?this:null},e.prototype.onDestroy=function(){},e.prototype.check=function(e){var t=this;this._reset();var n=this._mapHead;if(this._appendAfter=null,this._forEach(e,function(e,r){if(n&&n.key===r)t._maybeAddToChanges(n,e),t._appendAfter=n,n=n._next;else{var o=t._getOrCreateRecordForKey(r,e);n=t._insertBeforeOrAppend(n,o)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(var r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty},e.prototype._insertBeforeOrAppend=function(e,t){if(e){var 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},e.prototype._getOrCreateRecordForKey=function(e,t){if(this._records.has(e)){var n=this._records.get(e);this._maybeAddToChanges(n,t);var r=n._prev,o=n._next;return r&&(r._next=o),o&&(o._prev=r),n._next=null,n._prev=null,n}var i=new Hn(e);return this._records.set(e,i),i.currentValue=t,this._addToAdditions(i),i},e.prototype._reset=function(){if(this.isDirty){var e=void 0;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}},e.prototype._maybeAddToChanges=function(e,t){ge(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))},e.prototype._addToAdditions=function(e){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)},e.prototype._addToChanges=function(e){null===this._changesHead?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)},e.prototype._forEach=function(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach(function(n){return t(e[n],n)})},e}(),Hn=function(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},Ln=function(){function e(e){this.factories=e}return e.create=function(t,n){if(null!=n){var r=n.factories.slice();t=t.concat(r)}return new e(t)},e.extend=function(t){return{provide:e,useFactory:function(n){if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return e.create(t,n)},deps:[[e,new xe,new Ce]]}},e.prototype.find=function(e){var t,n=this.factories.find(function(t){return t.supports(e)});if(null!=n)return n;throw new Error("Cannot find a differ supporting object '"+e+"' of type '"+((t=e).name||typeof t)+"'")},e.ngInjectableDef=ae({providedIn:"root",factory:function(){return new e([new In])}}),e}(),Bn=function(){function e(e){this.factories=e}return e.create=function(t,n){if(n){var r=n.factories.slice();t=t.concat(r)}return new e(t)},e.extend=function(t){return{provide:e,useFactory:function(n){if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return e.create(t,n)},deps:[[e,new xe,new Ce]]}},e.prototype.find=function(e){var t=this.factories.find(function(t){return t.supports(e)});if(t)return t;throw new Error("Cannot find a differ supporting object '"+e+"'")},e}(),Un=[new jn],zn=new Ln([new In]),Zn=new Bn(Un),Gn=un(null,"core",[{provide:wt,useValue:"unknown"},{provide:ln,deps:[Ie]},{provide:Xt,deps:[]},{provide:Et,deps:[]}]),qn=new ue("LocaleId");function Qn(){return zn}function Wn(){return Zn}function Yn(e){return e||"en-US"}var Kn=function(e){},$n=function(){function e(e){if(this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),this.inertBodyElement=this.inertDocument.body,null==this.inertBodyElement){var t=this.inertDocument.createElement("html");this.inertDocument.appendChild(t),this.inertBodyElement=this.inertDocument.createElement("body"),t.appendChild(this.inertBodyElement)}this.inertBodyElement.innerHTML='<svg><g onload="this.parentNode.remove()"></g></svg>',!this.inertBodyElement.querySelector||this.inertBodyElement.querySelector("svg")?(this.inertBodyElement.innerHTML='<svg><p><style><img src="</style><img src=x onerror=alert(1)//">',this.getInertBodyElement=this.inertBodyElement.querySelector&&this.inertBodyElement.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(e){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}return e.prototype.getInertBodyElement_XHR=function(e){e="<body><remove></remove>"+e+"</body>";try{e=encodeURI(e)}catch(e){return null}var t=new XMLHttpRequest;t.responseType="document",t.open("GET","data:text/html;charset=utf-8,"+e,!1),t.send(null);var n=t.response.body;return n.removeChild(n.firstChild),n},e.prototype.getInertBodyElement_DOMParser=function(e){e="<body><remove></remove>"+e+"</body>";try{var t=(new window.DOMParser).parseFromString(e,"text/html").body;return t.removeChild(t.firstChild),t}catch(e){return null}},e.prototype.getInertBodyElement_InertDocument=function(e){var 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)},e.prototype.stripCustomNsAttrs=function(e){for(var t=e.attributes,n=t.length-1;0<n;n--){var r=t.item(n).name;"xmlns:ns1"!==r&&0!==r.indexOf("ns1:")||e.removeAttribute(r)}for(var o=e.firstChild;o;)o.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(o),o=o.nextSibling},e}(),Jn=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,Xn=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function er(e){return(e=String(e)).match(Jn)||e.match(Xn)?e:(on()&&console.warn("WARNING: sanitizing unsafe URL value "+e+" (see http://g.co/ng/security#xss)"),"unsafe:"+e)}function tr(e){var t,n,r={};try{for(var o=a(e.split(",")),i=o.next();!i.done;i=o.next())r[i.value]=!0}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}return r}function nr(){for(var e,t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var o={};try{for(var i=a(n),u=i.next();!u.done;u=i.next()){var s=u.value;for(var l in s)s.hasOwnProperty(l)&&(o[l]=!0)}}catch(t){e={error:t}}finally{try{u&&!u.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}return o}var rr,or=tr("area,br,col,hr,img,wbr"),ir=tr("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),ar=tr("rp,rt"),ur=nr(ar,ir),sr=nr(or,nr(ir,tr("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),nr(ar,tr("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),ur),lr=tr("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),cr=tr("srcset"),dr=nr(lr,cr,tr("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width")),fr=function(){function e(){this.sanitizedSomething=!1,this.buf=[]}return e.prototype.sanitizeChildren=function(e){for(var t=e.firstChild;t;)if(t.nodeType===Node.ELEMENT_NODE?this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,t.firstChild)t=t.firstChild;else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);var n=this.checkClobberedElement(t,t.nextSibling);if(n){t=n;break}t=this.checkClobberedElement(t,t.parentNode)}return this.buf.join("")},e.prototype.startElement=function(e){var t=e.nodeName.toLowerCase();if(sr.hasOwnProperty(t)){this.buf.push("<"),this.buf.push(t);for(var n,r=e.attributes,o=0;o<r.length;o++){var i=r.item(o),a=i.name,u=a.toLowerCase();if(dr.hasOwnProperty(u)){var s=i.value;lr[u]&&(s=er(s)),cr[u]&&(n=s,s=(n=String(n)).split(",").map(function(e){return er(e.trim())}).join(", ")),this.buf.push(" ",a,'="',yr(s),'"')}else this.sanitizedSomething=!0}this.buf.push(">")}else this.sanitizedSomething=!0},e.prototype.endElement=function(e){var t=e.nodeName.toLowerCase();sr.hasOwnProperty(t)&&!or.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))},e.prototype.chars=function(e){this.buf.push(yr(e))},e.prototype.checkClobberedElement=function(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},e}(),pr=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,hr=/([^\#-~ |!])/g;function yr(e){return e.replace(/&/g,"&amp;").replace(pr,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(hr,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}function vr(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var gr=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"),mr=/^url\(([^)]+)\)$/,br=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}({}),_r=function(){};function wr(e,t,n){var r=e.state,o=1792&r;return o===t?(e.state=-1793&r|n,e.initIndex=-1,!0):o===n}function Cr(e,t,n){return(1792&e.state)===t&&e.initIndex<=n&&(e.initIndex=n+1,!0)}function Er(e,t){return e.nodes[t]}function xr(e,t){return e.nodes[t]}function kr(e,t){return e.nodes[t]}function Tr(e,t){return e.nodes[t]}function Sr(e,t){return e.nodes[t]}var Nr={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 Dr(e,t,n,r){var o="ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '"+t+"'. Current value: '"+n+"'.";return r&&(o+=" 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){var n=new Error(e);return Ir(n,t),n}(o,e)}function Ir(e,t){e[Ke]=t,e[Je]=t.logError.bind(t)}function Or(e){return new Error("ViewDestroyedError: Attempt to use a destroyed view: "+e)}var Ar=function(){},Pr=new Map;function Vr(e){var t=Pr.get(e);return t||(t=me(e)+"_"+Pr.size,Pr.set(e,t)),t}var Mr="$$undefined",Rr="$$empty";function jr(e){return{id:Mr,styles:e.styles,encapsulation:e.encapsulation,data:e.data}}var Fr=0;function Hr(e,t,n,r){return!(!(2&e.state)&&ge(e.oldValues[t.bindingIndex+n],r))}function Lr(e,t,n,r){return!!Hr(e,t,n,r)&&(e.oldValues[t.bindingIndex+n]=r,!0)}function Br(e,t,n,r){var o=e.oldValues[t.bindingIndex+n];if(1&e.state||!kn(o,r)){var i=t.bindings[n].name;throw Dr(Nr.createDebugContext(e,t.nodeIndex),i+": "+o,i+": "+r,0!=(1&e.state))}}function Ur(e){for(var t=e;t;)2&t.def.flags&&(t.state|=8),t=t.viewContainerParent||t.parent}function zr(e,t){for(var n=e;n&&n!==t;)n.state|=64,n=n.viewContainerParent||n.parent}function Zr(e,t,n,r){try{return Ur(33554432&e.def.nodes[t].flags?xr(e,t).componentView:e),Nr.handleEvent(e,t,n,r)}catch(t){e.root.errorHandler.handleError(t)}}function Gr(e){return e.parent?xr(e.parent,e.parentNodeDef.nodeIndex):null}function qr(e){return e.parent?e.parentNodeDef.parent:null}function Qr(e,t){switch(201347067&t.flags){case 1:return xr(e,t.nodeIndex).renderElement;case 2:return Er(e,t.nodeIndex).renderText}}function Wr(e){return!!e.parent&&!!(32768&e.parentNodeDef.flags)}function Yr(e){return!(!e.parent||32768&e.parentNodeDef.flags)}function Kr(e){var t={},n=0,r={};return e&&e.forEach(function(e){var o=u(e,2),i=o[0],a=o[1];"number"==typeof i?(t[i]=a,n|=function(e){return 1<<e%32}(i)):r[i]=a}),{matchedQueries:t,references:r,matchedQueryIds:n}}function $r(e,t){return e.map(function(e){var n,r,o;return Array.isArray(e)?(o=(n=u(e,2))[0],r=n[1]):(o=0,r=e),r&&("function"==typeof r||"object"==typeof r)&&t&&Object.defineProperty(r,ke,{value:t,configurable:!0}),{flags:o,token:r,tokenKey:Vr(r)}})}function Jr(e,t,n){var r=n.renderParent;return r?0==(1&r.flags)||0==(33554432&r.flags)||r.element.componentRendererType&&r.element.componentRendererType.encapsulation===We.Native?xr(e,n.renderParent.nodeIndex).renderElement:void 0:t}var Xr=new WeakMap;function eo(e){var t=Xr.get(e);return t||((t=e(function(){return Ar})).factory=e,Xr.set(e,t)),t}function to(e,t,n,r,o){3===t&&(n=e.renderer.parentNode(Qr(e,e.def.lastRenderRootNode))),no(e,t,0,e.def.nodes.length-1,n,r,o)}function no(e,t,n,r,o,i,a){for(var u=n;u<=r;u++){var s=e.def.nodes[u];11&s.flags&&oo(e,s,t,o,i,a),u+=s.childCount}}function ro(e,t,n,r,o,i){for(var a=e;a&&!Wr(a);)a=a.parent;for(var u=a.parent,s=qr(a),l=s.nodeIndex+s.childCount,c=s.nodeIndex+1;c<=l;c++){var d=u.def.nodes[c];d.ngContentIndex===t&&oo(u,d,n,r,o,i),c+=d.childCount}if(!u.parent){var f=e.root.projectableNodes[t];if(f)for(c=0;c<f.length;c++)io(e,f[c],n,r,o,i)}}function oo(e,t,n,r,o,i){if(8&t.flags)ro(e,t.ngContent.index,n,r,o,i);else{var a=Qr(e,t);if(3===n&&33554432&t.flags&&48&t.bindingFlags?(16&t.bindingFlags&&io(e,a,n,r,o,i),32&t.bindingFlags&&io(xr(e,t.nodeIndex).componentView,a,n,r,o,i)):io(e,a,n,r,o,i),16777216&t.flags)for(var u=xr(e,t.nodeIndex).viewContainer._embeddedViews,s=0;s<u.length;s++)to(u[s],n,r,o,i);1&t.flags&&!t.element.name&&no(e,n,t.nodeIndex+1,t.nodeIndex+t.childCount,r,o,i)}}function io(e,t,n,r,o,i){var a=e.renderer;switch(n){case 1:a.appendChild(r,t);break;case 2:a.insertBefore(r,t,o);break;case 3:a.removeChild(r,t);break;case 0:i.push(t)}}var ao=/^:([^:]+):(.+)$/;function uo(e){if(":"===e[0]){var t=e.match(ao);return[t[1],t[2]]}return["",e]}function so(e){for(var t=0,n=0;n<e.length;n++)t|=e[n].flags;return t}function lo(e,t,n,r,o,i){e|=1;var a=Kr(t);return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:e,checkIndex:-1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:a.matchedQueries,matchedQueryIds:a.matchedQueryIds,references:a.references,ngContentIndex:n,childCount:r,bindings:[],bindingFlags:0,outputs:[],element:{ns:null,name:null,attrs:null,template:i?eo(i):null,componentProvider:null,componentView:null,componentRendererType:null,publicProviders:null,allProviders:null,handleEvent:o||Ar},provider:null,text:null,query:null,ngContent:null}}function co(e,t,n,r,o,i,a,s,l,c,d,f){var p;void 0===a&&(a=[]),c||(c=Ar);var h=Kr(n),y=h.matchedQueries,v=h.references,g=h.matchedQueryIds,m=null,b=null;i&&(m=(p=u(uo(i),2))[0],b=p[1]),s=s||[];for(var _=new Array(s.length),w=0;w<s.length;w++){var C=u(s[w],3),E=C[0],x=C[2],k=u(uo(C[1]),2),T=k[0],S=k[1],N=void 0,D=void 0;switch(15&E){case 4:D=x;break;case 1:case 8:N=x}_[w]={flags:E,ns:T,name:S,nonMinifiedName:S,securityContext:N,suffix:D}}l=l||[];var I=new Array(l.length);for(w=0;w<l.length;w++){var O=u(l[w],2);I[w]={type:0,target:O[0],eventName:O[1],propName:null}}var A=(a=a||[]).map(function(e){var t=u(e,2),n=t[1],r=u(uo(t[0]),2);return[r[0],r[1],n]});return f=function(e){if(e&&e.id===Mr){var t=null!=e.encapsulation&&e.encapsulation!==We.None||e.styles.length||Object.keys(e.data).length;e.id=t?"c"+Fr++:Rr}return e&&e.id===Rr&&(e=null),e||null}(f),d&&(t|=33554432),{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:t|=1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:y,matchedQueryIds:g,references:v,ngContentIndex:r,childCount:o,bindings:_,bindingFlags:so(_),outputs:I,element:{ns:m,name:b,attrs:A,template:null,componentProvider:null,componentView:d||null,componentRendererType:f,publicProviders:null,allProviders:null,handleEvent:c||Ar},provider:null,text:null,query:null,ngContent:null}}function fo(e,t,n){var r,o=n.element,i=e.root.selectorOrNode,a=e.renderer;if(e.parent||!i){r=o.name?a.createElement(o.name,o.ns):a.createComment("");var s=Jr(e,t,n);s&&a.appendChild(s,r)}else r=a.selectRootElement(i);if(o.attrs)for(var l=0;l<o.attrs.length;l++){var c=u(o.attrs[l],3);a.setAttribute(r,c[1],c[2],c[0])}return r}function po(e,t,n,r){for(var o=0;o<n.outputs.length;o++){var i=n.outputs[o],a=ho(e,n.nodeIndex,(d=i.eventName,(c=i.target)?c+":"+d:d)),u=i.target,s=e;"component"===i.target&&(u=null,s=t);var l=s.renderer.listen(u||r,i.eventName,a);e.disposables[n.outputIndex+o]=l}var c,d}function ho(e,t,n){return function(r){return Zr(e,t,n,r)}}function yo(e,t,n,r){if(!Lr(e,t,n,r))return!1;var o=t.bindings[n],i=xr(e,t.nodeIndex),a=i.renderElement,u=o.name;switch(15&o.flags){case 1:!function(e,t,n,r,o,i){var a=t.securityContext,u=a?e.root.sanitizer.sanitize(a,i):i;u=null!=u?u.toString():null;var s=e.renderer;null!=i?s.setAttribute(n,o,u,r):s.removeAttribute(n,o,r)}(e,o,a,o.ns,u,r);break;case 2:!function(e,t,n,r){var o=e.renderer;r?o.addClass(t,n):o.removeClass(t,n)}(e,a,u,r);break;case 4:!function(e,t,n,r,o){var i=e.root.sanitizer.sanitize(br.STYLE,o);if(null!=i){i=i.toString();var a=t.suffix;null!=a&&(i+=a)}else i=null;var u=e.renderer;null!=i?u.setStyle(n,r,i):u.removeStyle(n,r)}(e,o,a,u,r);break;case 8:!function(e,t,n,r,o){var i=t.securityContext,a=i?e.root.sanitizer.sanitize(i,o):o;e.renderer.setProperty(n,r,a)}(33554432&t.flags&&32&o.flags?i.componentView:e,o,a,u,r)}return!0}var vo=new Object,go=Vr(Ie),mo=Vr(Ne),bo=Vr(jt);function _o(e,t,n,r){return n=_e(n),{index:-1,deps:$r(r,me(t)),flags:e,token:t,value:n}}function wo(e,t,n){void 0===n&&(n=Ie.THROW_IF_NOT_FOUND);var r,o,i=Ge(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);var a=t.tokenKey;switch(a){case go:case mo:case bo:return e}var u=e._def.providersByKey[a];if(u){var s=e._providers[u.index];return void 0===s&&(s=e._providers[u.index]=Co(e,u)),s===vo?void 0:s}if(t.token.ngInjectableDef&&(r=e,null!=(o=t.token.ngInjectableDef).providedIn&&(function(e,t){return e._def.modules.indexOf(o.providedIn)>-1}(r)||"root"===o.providedIn&&r._def.isRoot))){var l=e._providers.length;return e._def.providersByKey[t.tokenKey]={flags:5120,value:t.token.ngInjectableDef.factory,deps:[],index:l,token:t.token},e._providers[l]=vo,e._providers[l]=Co(e,e._def.providersByKey[t.tokenKey])}return 4&t.flags?n:e._parent.get(t.token,n)}finally{Ge(i)}}function Co(e,t){var n;switch(201347067&t.flags){case 512:n=function(e,t,n){var r=n.length;switch(r){case 0:return new t;case 1:return new t(wo(e,n[0]));case 2:return new t(wo(e,n[0]),wo(e,n[1]));case 3:return new t(wo(e,n[0]),wo(e,n[1]),wo(e,n[2]));default:for(var o=new Array(r),i=0;i<r;i++)o[i]=wo(e,n[i]);return new(t.bind.apply(t,s([void 0],o)))}}(e,t.value,t.deps);break;case 1024:n=function(e,t,n){var r=n.length;switch(r){case 0:return t();case 1:return t(wo(e,n[0]));case 2:return t(wo(e,n[0]),wo(e,n[1]));case 3:return t(wo(e,n[0]),wo(e,n[1]),wo(e,n[2]));default:for(var o=Array(r),i=0;i<r;i++)o[i]=wo(e,n[i]);return t.apply(void 0,s(o))}}(e,t.value,t.deps);break;case 2048:n=wo(e,t.deps[0]);break;case 256:n=t.value}return n===vo||null==n||"object"!=typeof n||131072&t.flags||"function"!=typeof n.ngOnDestroy||(t.flags|=131072),void 0===n?vo:n}function Eo(e,t){var n=e.viewContainer._embeddedViews;if((null==t||t>=n.length)&&(t=n.length-1),t<0)return null;var r=n[t];return r.viewContainerParent=null,So(n,t),Nr.dirtyParentQueries(r),ko(r),r}function xo(e,t,n){var r=t?Qr(t,t.def.lastRenderRootNode):e.renderElement;to(n,2,n.renderer.parentNode(r),n.renderer.nextSibling(r),void 0)}function ko(e){to(e,3,null,null,void 0)}function To(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function So(e,t){t>=e.length-1?e.pop():e.splice(t,1)}var No=new Object,Do=function(e){function t(t,n,r,o,i,a){var u=e.call(this)||this;return u.selector=t,u.componentType=n,u._inputs=o,u._outputs=i,u.ngContentSelectors=a,u.viewDefFactory=r,u}return o(t,e),Object.defineProperty(t.prototype,"inputs",{get:function(){var e=[],t=this._inputs;for(var n in t)e.push({propName:n,templateName:t[n]});return e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"outputs",{get:function(){var e=[];for(var t in this._outputs)e.push({propName:t,templateName:this._outputs[t]});return e},enumerable:!0,configurable:!0}),t.prototype.create=function(e,t,n,r){if(!r)throw new Error("ngModule should be provided");var o=eo(this.viewDefFactory),i=o.nodes[0].element.componentProvider.nodeIndex,a=Nr.createRootView(e,t||[],n,o,r,No),u=kr(a,i).instance;return n&&a.renderer.setAttribute(xr(a,0).renderElement,"ng-version",Ye.full),new Io(a,new Vo(a),u)},t}(Nt),Io=function(e){function t(t,n,r){var o=e.call(this)||this;return o._view=t,o._viewRef=n,o._component=r,o._elDef=o._view.def.nodes[0],o.hostView=n,o.changeDetectorRef=n,o.instance=r,o}return o(t,e),Object.defineProperty(t.prototype,"location",{get:function(){return new vn(xr(this._view,this._elDef.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return new Fo(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentType",{get:function(){return this._component.constructor},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){this._viewRef.destroy()},t.prototype.onDestroy=function(e){this._viewRef.onDestroy(e)},t}(St);function Oo(e,t,n){return new Ao(e,t,n)}var Ao=function(){function e(e,t,n){this._view=e,this._elDef=t,this._data=n,this._embeddedViews=[]}return Object.defineProperty(e.prototype,"element",{get:function(){return new vn(this._data.renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return new Fo(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parentInjector",{get:function(){for(var e=this._view,t=this._elDef.parent;!t&&e;)t=qr(e),e=e.parent;return e?new Fo(e,t):new Fo(this._view,null)},enumerable:!0,configurable:!0}),e.prototype.clear=function(){for(var e=this._embeddedViews.length-1;e>=0;e--){var t=Eo(this._data,e);Nr.destroyView(t)}},e.prototype.get=function(e){var t=this._embeddedViews[e];if(t){var n=new Vo(t);return n.attachToViewContainerRef(this),n}return null},Object.defineProperty(e.prototype,"length",{get:function(){return this._embeddedViews.length},enumerable:!0,configurable:!0}),e.prototype.createEmbeddedView=function(e,t,n){var r=e.createEmbeddedView(t||{});return this.insert(r,n),r},e.prototype.createComponent=function(e,t,n,r,o){var i=n||this.parentInjector;o||e instanceof Rt||(o=i.get(jt));var a=e.create(i,r,void 0,o);return this.insert(a.hostView,t),a},e.prototype.insert=function(e,t){if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var n,r,o,i,a=e;return o=a._view,i=(n=this._data).viewContainer._embeddedViews,null!==(r=t)&&void 0!==r||(r=i.length),o.viewContainerParent=this._view,To(i,r,o),function(e,t){var n=Gr(t);if(n&&n!==e&&!(16&t.state)){t.state|=16;var r=n.template._projectedViews;r||(r=n.template._projectedViews=[]),r.push(t),function(e,n){if(!(4&n.flags)){t.parent.def.nodeFlags|=4,n.flags|=4;for(var r=n.parent;r;)r.childFlags|=4,r=r.parent}}(0,t.parentNodeDef)}}(n,o),Nr.dirtyParentQueries(o),xo(n,r>0?i[r-1]:null,o),a.attachToViewContainerRef(this),e},e.prototype.move=function(e,t){if(e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");var n,r,o,i,a,u=this._embeddedViews.indexOf(e._view);return o=t,a=(i=(n=this._data).viewContainer._embeddedViews)[r=u],So(i,r),null==o&&(o=i.length),To(i,o,a),Nr.dirtyParentQueries(a),ko(a),xo(n,o>0?i[o-1]:null,a),e},e.prototype.indexOf=function(e){return this._embeddedViews.indexOf(e._view)},e.prototype.remove=function(e){var t=Eo(this._data,e);t&&Nr.destroyView(t)},e.prototype.detach=function(e){var t=Eo(this._data,e);return t?new Vo(t):null},e}();function Po(e){return new Vo(e)}var Vo=function(){function e(e){this._view=e,this._viewContainerRef=null,this._appRef=null}return Object.defineProperty(e.prototype,"rootNodes",{get:function(){return to(this._view,0,void 0,void 0,e=[]),e;var e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return this._view.context},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"destroyed",{get:function(){return 0!=(128&this._view.state)},enumerable:!0,configurable:!0}),e.prototype.markForCheck=function(){Ur(this._view)},e.prototype.detach=function(){this._view.state&=-5},e.prototype.detectChanges=function(){var e=this._view.root.rendererFactory;e.begin&&e.begin();try{Nr.checkAndUpdateView(this._view)}finally{e.end&&e.end()}},e.prototype.checkNoChanges=function(){Nr.checkNoChangesView(this._view)},e.prototype.reattach=function(){this._view.state|=4},e.prototype.onDestroy=function(e){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(e)},e.prototype.destroy=function(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),Nr.destroyView(this._view)},e.prototype.detachFromAppRef=function(){this._appRef=null,ko(this._view),Nr.dirtyParentQueries(this._view)},e.prototype.attachToAppRef=function(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e},e.prototype.attachToViewContainerRef=function(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e},e}();function Mo(e,t){return new Ro(e,t)}var Ro=function(e){function t(t,n){var r=e.call(this)||this;return r._parentView=t,r._def=n,r}return o(t,e),t.prototype.createEmbeddedView=function(e){return new Vo(Nr.createEmbeddedView(this._parentView,this._def,this._def.element.template,e))},Object.defineProperty(t.prototype,"elementRef",{get:function(){return new vn(xr(this._parentView,this._def.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),t}(mn);function jo(e,t){return new Fo(e,t)}var Fo=function(){function e(e,t){this.view=e,this.elDef=t}return e.prototype.get=function(e,t){return void 0===t&&(t=Ie.THROW_IF_NOT_FOUND),Nr.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:e,tokenKey:Vr(e)},t)},e}();function Ho(e,t){var n=e.def.nodes[t];if(1&n.flags){var r=xr(e,n.nodeIndex);return n.element.template?r.template:r.renderElement}if(2&n.flags)return Er(e,n.nodeIndex).renderText;if(20240&n.flags)return kr(e,n.nodeIndex).instance;throw new Error("Illegal state: read nodeValue for node index "+t)}function Lo(e){return new Bo(e.renderer)}var Bo=function(){function e(e){this.delegate=e}return e.prototype.selectRootElement=function(e){return this.delegate.selectRootElement(e)},e.prototype.createElement=function(e,t){var n=u(uo(t),2),r=this.delegate.createElement(n[1],n[0]);return e&&this.delegate.appendChild(e,r),r},e.prototype.createViewRoot=function(e){return e},e.prototype.createTemplateAnchor=function(e){var t=this.delegate.createComment("");return e&&this.delegate.appendChild(e,t),t},e.prototype.createText=function(e,t){var n=this.delegate.createText(t);return e&&this.delegate.appendChild(e,n),n},e.prototype.projectNodes=function(e,t){for(var n=0;n<t.length;n++)this.delegate.appendChild(e,t[n])},e.prototype.attachViewAfter=function(e,t){for(var n=this.delegate.parentNode(e),r=this.delegate.nextSibling(e),o=0;o<t.length;o++)this.delegate.insertBefore(n,t[o],r)},e.prototype.detachView=function(e){for(var t=0;t<e.length;t++){var n=e[t],r=this.delegate.parentNode(n);this.delegate.removeChild(r,n)}},e.prototype.destroyView=function(e,t){for(var n=0;n<t.length;n++)this.delegate.destroyNode(t[n])},e.prototype.listen=function(e,t,n){return this.delegate.listen(e,t,n)},e.prototype.listenGlobal=function(e,t,n){return this.delegate.listen(e,t,n)},e.prototype.setElementProperty=function(e,t,n){this.delegate.setProperty(e,t,n)},e.prototype.setElementAttribute=function(e,t,n){var r=u(uo(t),2),o=r[0],i=r[1];null!=n?this.delegate.setAttribute(e,i,n,o):this.delegate.removeAttribute(e,i,o)},e.prototype.setBindingDebugInfo=function(e,t,n){},e.prototype.setElementClass=function(e,t,n){n?this.delegate.addClass(e,t):this.delegate.removeClass(e,t)},e.prototype.setElementStyle=function(e,t,n){null!=n?this.delegate.setStyle(e,t,n):this.delegate.removeStyle(e,t)},e.prototype.invokeElementMethod=function(e,t,n){e[t].apply(e,n)},e.prototype.setText=function(e,t){this.delegate.setValue(e,t)},e.prototype.animate=function(){throw new Error("Renderer.animate is no longer supported!")},e}();function Uo(e,t,n,r){return new zo(e,t,n,r)}var zo=function(){function e(e,t,n,r){this._moduleType=e,this._parent=t,this._bootstrapComponents=n,this._def=r,this._destroyListeners=[],this._destroyed=!1,this.injector=this,function(e){for(var t=e._def,n=e._providers=new Array(t.providers.length),r=0;r<t.providers.length;r++){var o=t.providers[r];4096&o.flags||void 0===n[r]&&(n[r]=Co(e,o))}}(this)}return e.prototype.get=function(e,t,n){void 0===t&&(t=Ie.THROW_IF_NOT_FOUND),void 0===n&&(n=0);var r=0;return 4&n?r|=1:2&n&&(r|=4),wo(this,{token:e,tokenKey:Vr(e),flags:r},t)},Object.defineProperty(e.prototype,"instance",{get:function(){return this.get(this._moduleType)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentFactoryResolver",{get:function(){return this.get(Vt)},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){if(this._destroyed)throw new Error("The ng module "+me(this.instance.constructor)+" has already been destroyed.");this._destroyed=!0,function(e,t){for(var n=e._def,r=new Set,o=0;o<n.providers.length;o++)if(131072&n.providers[o].flags){var i=e._providers[o];if(i&&i!==vo){var a=i.ngOnDestroy;"function"!=typeof a||r.has(i)||(a.apply(i),r.add(i))}}}(this),this._destroyListeners.forEach(function(e){return e()})},e.prototype.onDestroy=function(e){this._destroyListeners.push(e)},e}(),Zo=Vr(function(){}),Go=Vr(yn),qo=Vr(vn),Qo=Vr(bn),Wo=Vr(mn),Yo=Vr(function(){}),Ko=Vr(Ie),$o=Vr(Ne);function Jo(e,t,n,r,o,i,a,s){var l=[];if(a)for(var c in a){var d=u(a[c],2);l[d[0]]={flags:8,name:c,nonMinifiedName:d[1],ns:null,securityContext:null,suffix:null}}var f=[];if(s)for(var p in s)f.push({type:1,propName:p,target:null,eventName:s[p]});return ei(e,t|=16384,n,r,o,o,i,l,f)}function Xo(e,t,n,r,o){return ei(-1,e,t,0,n,r,o)}function ei(e,t,n,r,o,i,a,u,s){var l=Kr(n),c=l.matchedQueries,d=l.references,f=l.matchedQueryIds;s||(s=[]),u||(u=[]),i=_e(i);var p=$r(a,me(o));return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:t,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:c,matchedQueryIds:f,references:d,ngContentIndex:-1,childCount:r,bindings:u,bindingFlags:so(u),outputs:s,element:null,provider:{token:o,value:i,deps:p},text:null,query:null,ngContent:null}}function ti(e,t){return ii(e,t)}function ni(e,t){for(var n=e;n.parent&&!Wr(n);)n=n.parent;return ai(n.parent,qr(n),!0,t.provider.value,t.provider.deps)}function ri(e,t){var n=ai(e,t.parent,(32768&t.flags)>0,t.provider.value,t.provider.deps);if(t.outputs.length)for(var r=0;r<t.outputs.length;r++){var o=t.outputs[r],i=n[o.propName].subscribe(oi(e,t.parent.nodeIndex,o.eventName));e.disposables[t.outputIndex+r]=i.unsubscribe.bind(i)}return n}function oi(e,t,n){return function(r){return Zr(e,t,n,r)}}function ii(e,t){var n=(8192&t.flags)>0,r=t.provider;switch(201347067&t.flags){case 512:return ai(e,t.parent,n,r.value,r.deps);case 1024:return function(e,t,n,r,o){var i=o.length;switch(i){case 0:return r();case 1:return r(si(e,t,n,o[0]));case 2:return r(si(e,t,n,o[0]),si(e,t,n,o[1]));case 3:return r(si(e,t,n,o[0]),si(e,t,n,o[1]),si(e,t,n,o[2]));default:for(var a=Array(i),u=0;u<i;u++)a[u]=si(e,t,n,o[u]);return r.apply(void 0,s(a))}}(e,t.parent,n,r.value,r.deps);case 2048:return si(e,t.parent,n,r.deps[0]);case 256:return r.value}}function ai(e,t,n,r,o){var i=o.length;switch(i){case 0:return new r;case 1:return new r(si(e,t,n,o[0]));case 2:return new r(si(e,t,n,o[0]),si(e,t,n,o[1]));case 3:return new r(si(e,t,n,o[0]),si(e,t,n,o[1]),si(e,t,n,o[2]));default:for(var a=new Array(i),u=0;u<i;u++)a[u]=si(e,t,n,o[u]);return new(r.bind.apply(r,s([void 0],a)))}}var ui={};function si(e,t,n,r,o){if(void 0===o&&(o=Ie.THROW_IF_NOT_FOUND),8&r.flags)return r.token;var i=e;2&r.flags&&(o=null);var a=r.tokenKey;a===Yo&&(n=!(!t||!t.element.componentView)),t&&1&r.flags&&(n=!1,t=t.parent);for(var u=e;u;){if(t)switch(a){case Zo:return Lo(li(u,t,n));case Go:return li(u,t,n).renderer;case qo:return new vn(xr(u,t.nodeIndex).renderElement);case Qo:return xr(u,t.nodeIndex).viewContainer;case Wo:if(t.element.template)return xr(u,t.nodeIndex).template;break;case Yo:return Po(li(u,t,n));case Ko:case $o:return jo(u,t);default:var s=(n?t.element.allProviders:t.element.publicProviders)[a];if(s){var l=kr(u,s.nodeIndex);return l||(l={instance:ii(u,s)},u.nodes[s.nodeIndex]=l),l.instance}}n=Wr(u),t=qr(u),u=u.parent,4&r.flags&&(u=null)}var c=i.root.injector.get(r.token,ui);return c!==ui||o===ui?c:i.root.ngModule.injector.get(r.token,o)}function li(e,t,n){var r;if(n)r=xr(e,t.nodeIndex).componentView;else for(r=e;r.parent&&!Wr(r);)r=r.parent;return r}function ci(e,t,n,r,o,i){if(32768&n.flags){var a=xr(e,n.parent.nodeIndex).componentView;2&a.def.flags&&(a.state|=8)}if(t.instance[n.bindings[r].name]=o,524288&n.flags){i=i||{};var u=Tn.unwrap(e.oldValues[n.bindingIndex+r]);i[n.bindings[r].nonMinifiedName]=new Sn(u,o,0!=(2&e.state))}return e.oldValues[n.bindingIndex+r]=o,i}function di(e,t){if(e.def.nodeFlags&t)for(var n=e.def.nodes,r=0,o=0;o<n.length;o++){var i=n[o],a=i.parent;for(!a&&i.flags&t&&pi(e,o,i.flags&t,r++),0==(i.childFlags&t)&&(o+=i.childCount);a&&1&a.flags&&o===a.nodeIndex+a.childCount;)a.directChildFlags&t&&(r=fi(e,a,t,r)),a=a.parent}}function fi(e,t,n,r){for(var o=t.nodeIndex+1;o<=t.nodeIndex+t.childCount;o++){var i=e.def.nodes[o];i.flags&n&&pi(e,o,i.flags&n,r++),o+=i.childCount}return r}function pi(e,t,n,r){var o=kr(e,t);if(o){var i=o.instance;i&&(Nr.setCurrentNode(e,t),1048576&n&&Cr(e,512,r)&&i.ngAfterContentInit(),2097152&n&&i.ngAfterContentChecked(),4194304&n&&Cr(e,768,r)&&i.ngAfterViewInit(),8388608&n&&i.ngAfterViewChecked(),131072&n&&i.ngOnDestroy())}}function hi(e){for(var t=e.def.nodeMatchedQueries;e.parent&&Yr(e);){var n=e.parentNodeDef;e=e.parent;for(var r=n.nodeIndex+n.childCount,o=0;o<=r;o++)67108864&(i=e.def.nodes[o]).flags&&536870912&i.flags&&(i.query.filterId&t)===i.query.filterId&&Sr(e,o).setDirty(),!(1&i.flags&&o+i.childCount<n.nodeIndex)&&67108864&i.childFlags&&536870912&i.childFlags||(o+=i.childCount)}if(134217728&e.def.nodeFlags)for(o=0;o<e.def.nodes.length;o++){var i;134217728&(i=e.def.nodes[o]).flags&&536870912&i.flags&&Sr(e,o).setDirty(),o+=i.childCount}}function yi(e,t){var n=Sr(e,t.nodeIndex);if(n.dirty){var r,o=void 0;if(67108864&t.flags){var i=t.parent.parent;o=vi(e,i.nodeIndex,i.nodeIndex+i.childCount,t.query,[]),r=kr(e,t.parent.nodeIndex).instance}else 134217728&t.flags&&(o=vi(e,0,e.def.nodes.length-1,t.query,[]),r=e.component);n.reset(o);for(var a=t.query.bindings,u=!1,s=0;s<a.length;s++){var l=a[s],c=void 0;switch(l.bindingType){case 0:c=n.first;break;case 1:c=n,u=!0}r[l.propName]=c}u&&n.notifyOnChanges()}}function vi(e,t,n,r,o){for(var i=t;i<=n;i++){var a=e.def.nodes[i],u=a.matchedQueries[r.id];if(null!=u&&o.push(gi(e,a,u)),1&a.flags&&a.element.template&&(a.element.template.nodeMatchedQueries&r.filterId)===r.filterId){var s=xr(e,i);if((a.childMatchedQueries&r.filterId)===r.filterId&&(vi(e,i+1,i+a.childCount,r,o),i+=a.childCount),16777216&a.flags)for(var l=s.viewContainer._embeddedViews,c=0;c<l.length;c++){var d=l[c],f=Gr(d);f&&f===s&&vi(d,0,d.def.nodes.length-1,r,o)}var p=s.template._projectedViews;if(p)for(c=0;c<p.length;c++){var h=p[c];vi(h,0,h.def.nodes.length-1,r,o)}}(a.childMatchedQueries&r.filterId)!==r.filterId&&(i+=a.childCount)}return o}function gi(e,t,n){if(null!=n)switch(n){case 1:return xr(e,t.nodeIndex).renderElement;case 0:return new vn(xr(e,t.nodeIndex).renderElement);case 2:return xr(e,t.nodeIndex).template;case 3:return xr(e,t.nodeIndex).viewContainer;case 4:return kr(e,t.nodeIndex).instance}}function mi(e,t,n){var r=Jr(e,t,n);r&&ro(e,n.ngContent.index,1,r,null,void 0)}function bi(e,t,n){for(var r=new Array(n.length-1),o=1;o<n.length;o++)r[o-1]={flags:8,name:null,ns:null,nonMinifiedName:null,securityContext:null,suffix:n[o]};return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:2,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:t,childCount:0,bindings:r,bindingFlags:8,outputs:[],element:null,provider:null,text:{prefix:n[0]},query:null,ngContent:null}}function _i(e,t,n){var r,o=e.renderer;r=o.createText(n.text.prefix);var i=Jr(e,t,n);return i&&o.appendChild(i,r),{renderText:r}}function wi(e,t){return(null!=e?e.toString():"")+t.suffix}function Ci(e,t,n,r){for(var o=0,i=0,a=0,u=0,s=0,l=null,c=null,d=!1,f=!1,p=null,h=0;h<t.length;h++){var y=t[h];if(y.nodeIndex=h,y.parent=l,y.bindingIndex=o,y.outputIndex=i,y.renderParent=c,a|=y.flags,s|=y.matchedQueryIds,y.element){var v=y.element;v.publicProviders=l?l.element.publicProviders:Object.create(null),v.allProviders=v.publicProviders,d=!1,f=!1,y.element.template&&(s|=y.element.template.nodeMatchedQueries)}if(xi(l,y,t.length),o+=y.bindings.length,i+=y.outputs.length,!c&&3&y.flags&&(p=y),20224&y.flags){d||(d=!0,l.element.publicProviders=Object.create(l.element.publicProviders),l.element.allProviders=l.element.publicProviders);var g=0!=(32768&y.flags);0==(8192&y.flags)||g?l.element.publicProviders[Vr(y.provider.token)]=y:(f||(f=!0,l.element.allProviders=Object.create(l.element.publicProviders)),l.element.allProviders[Vr(y.provider.token)]=y),g&&(l.element.componentProvider=y)}if(l?(l.childFlags|=y.flags,l.directChildFlags|=y.flags,l.childMatchedQueries|=y.matchedQueryIds,y.element&&y.element.template&&(l.childMatchedQueries|=y.element.template.nodeMatchedQueries)):u|=y.flags,y.childCount>0)l=y,Ei(y)||(c=y);else for(;l&&h===l.nodeIndex+l.childCount;){var m=l.parent;m&&(m.childFlags|=l.childFlags,m.childMatchedQueries|=l.childMatchedQueries),c=(l=m)&&Ei(l)?l.renderParent:l}}return{factory:null,nodeFlags:a,rootNodeFlags:u,nodeMatchedQueries:s,flags:e,nodes:t,updateDirectives:n||Ar,updateRenderer:r||Ar,handleEvent:function(e,n,r,o){return t[n].element.handleEvent(e,r,o)},bindingCount:o,outputCount:i,lastRenderRootNode:p}}function Ei(e){return 0!=(1&e.flags)&&null===e.element.name}function xi(e,t,n){var 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){var o=e?e.nodeIndex+e.childCount:n-1;if(t.nodeIndex<=o&&t.nodeIndex+t.childCount>o)throw new Error("Illegal State: childCount of node leads outside of parent, at index "+t.nodeIndex+"!")}}function ki(e,t,n,r){var o=Ni(e.root,e.renderer,e,t,n);return Di(o,e.component,r),Ii(o),o}function Ti(e,t,n){var r=Ni(e,e.renderer,null,null,t);return Di(r,n,n),Ii(r),r}function Si(e,t,n,r){var o,i=t.element.componentRendererType;return o=i?e.root.rendererFactory.createRenderer(r,i):e.root.renderer,Ni(e.root,o,e,t.element.componentProvider,n)}function Ni(e,t,n,r,o){var i=new Array(o.nodes.length),a=o.outputCount?new Array(o.outputCount):null;return{def:o,parent:n,viewContainerParent:null,parentNodeDef:r,context:null,component:null,nodes:i,state:13,root:e,renderer:t,oldValues:new Array(o.bindingCount),disposables:a,initIndex:-1}}function Di(e,t,n){e.component=t,e.context=n}function Ii(e){var t;Wr(e)&&(t=xr(e.parent,e.parentNodeDef.parent.nodeIndex).renderElement);for(var n=e.def,r=e.nodes,o=0;o<n.nodes.length;o++){var i=n.nodes[o];Nr.setCurrentNode(e,o);var a=void 0;switch(201347067&i.flags){case 1:var u=fo(e,t,i),s=void 0;if(33554432&i.flags){var l=eo(i.element.componentView);s=Nr.createComponentView(e,i,l,u)}po(e,s,i,u),a={renderElement:u,componentView:s,viewContainer:null,template:i.element.template?Mo(e,i):void 0},16777216&i.flags&&(a.viewContainer=Oo(e,i,a));break;case 2:a=_i(e,t,i);break;case 512:case 1024:case 2048:case 256:(a=r[o])||4096&i.flags||(a={instance:ti(e,i)});break;case 16:a={instance:ni(e,i)};break;case 16384:(a=r[o])||(a={instance:ri(e,i)}),32768&i.flags&&Di(xr(e,i.parent.nodeIndex).componentView,a.instance,a.instance);break;case 32:case 64:case 128:a={value:void 0};break;case 67108864:case 134217728:a=new gn;break;case 8:mi(e,t,i),a=void 0}r[o]=a}Hi(e,Fi.CreateViewNodes),zi(e,201326592,268435456,0)}function Oi(e){Vi(e),Nr.updateDirectives(e,1),Li(e,Fi.CheckNoChanges),Nr.updateRenderer(e,1),Hi(e,Fi.CheckNoChanges),e.state&=-97}function Ai(e){1&e.state?(e.state&=-2,e.state|=2):e.state&=-3,wr(e,0,256),Vi(e),Nr.updateDirectives(e,0),Li(e,Fi.CheckAndUpdate),zi(e,67108864,536870912,0);var t=wr(e,256,512);di(e,2097152|(t?1048576:0)),Nr.updateRenderer(e,0),Hi(e,Fi.CheckAndUpdate),zi(e,134217728,536870912,0),di(e,8388608|((t=wr(e,512,768))?4194304:0)),2&e.def.flags&&(e.state&=-9),e.state&=-97,wr(e,768,1024)}function Pi(e,t,n,r,o,i,a,u,l,c,d,f,p){return 0===n?function(e,t,n,r,o,i,a,u,s,l,c,d){switch(201347067&t.flags){case 1:return function(e,t,n,r,o,i,a,u,s,l,c,d){var f=t.bindings.length,p=!1;return f>0&&yo(e,t,0,n)&&(p=!0),f>1&&yo(e,t,1,r)&&(p=!0),f>2&&yo(e,t,2,o)&&(p=!0),f>3&&yo(e,t,3,i)&&(p=!0),f>4&&yo(e,t,4,a)&&(p=!0),f>5&&yo(e,t,5,u)&&(p=!0),f>6&&yo(e,t,6,s)&&(p=!0),f>7&&yo(e,t,7,l)&&(p=!0),f>8&&yo(e,t,8,c)&&(p=!0),f>9&&yo(e,t,9,d)&&(p=!0),p}(e,t,n,r,o,i,a,u,s,l,c,d);case 2:return function(e,t,n,r,o,i,a,u,s,l,c,d){var f=!1,p=t.bindings,h=p.length;if(h>0&&Lr(e,t,0,n)&&(f=!0),h>1&&Lr(e,t,1,r)&&(f=!0),h>2&&Lr(e,t,2,o)&&(f=!0),h>3&&Lr(e,t,3,i)&&(f=!0),h>4&&Lr(e,t,4,a)&&(f=!0),h>5&&Lr(e,t,5,u)&&(f=!0),h>6&&Lr(e,t,6,s)&&(f=!0),h>7&&Lr(e,t,7,l)&&(f=!0),h>8&&Lr(e,t,8,c)&&(f=!0),h>9&&Lr(e,t,9,d)&&(f=!0),f){var y=t.text.prefix;h>0&&(y+=wi(n,p[0])),h>1&&(y+=wi(r,p[1])),h>2&&(y+=wi(o,p[2])),h>3&&(y+=wi(i,p[3])),h>4&&(y+=wi(a,p[4])),h>5&&(y+=wi(u,p[5])),h>6&&(y+=wi(s,p[6])),h>7&&(y+=wi(l,p[7])),h>8&&(y+=wi(c,p[8])),h>9&&(y+=wi(d,p[9]));var v=Er(e,t.nodeIndex).renderText;e.renderer.setValue(v,y)}return f}(e,t,n,r,o,i,a,u,s,l,c,d);case 16384:return function(e,t,n,r,o,i,a,u,s,l,c,d){var f=kr(e,t.nodeIndex),p=f.instance,h=!1,y=void 0,v=t.bindings.length;return v>0&&Hr(e,t,0,n)&&(h=!0,y=ci(e,f,t,0,n,y)),v>1&&Hr(e,t,1,r)&&(h=!0,y=ci(e,f,t,1,r,y)),v>2&&Hr(e,t,2,o)&&(h=!0,y=ci(e,f,t,2,o,y)),v>3&&Hr(e,t,3,i)&&(h=!0,y=ci(e,f,t,3,i,y)),v>4&&Hr(e,t,4,a)&&(h=!0,y=ci(e,f,t,4,a,y)),v>5&&Hr(e,t,5,u)&&(h=!0,y=ci(e,f,t,5,u,y)),v>6&&Hr(e,t,6,s)&&(h=!0,y=ci(e,f,t,6,s,y)),v>7&&Hr(e,t,7,l)&&(h=!0,y=ci(e,f,t,7,l,y)),v>8&&Hr(e,t,8,c)&&(h=!0,y=ci(e,f,t,8,c,y)),v>9&&Hr(e,t,9,d)&&(h=!0,y=ci(e,f,t,9,d,y)),y&&p.ngOnChanges(y),65536&t.flags&&Cr(e,256,t.nodeIndex)&&p.ngOnInit(),262144&t.flags&&p.ngDoCheck(),h}(e,t,n,r,o,i,a,u,s,l,c,d);case 32:case 64:case 128:return function(e,t,n,r,o,i,a,u,s,l,c,d){var f=t.bindings,p=!1,h=f.length;if(h>0&&Lr(e,t,0,n)&&(p=!0),h>1&&Lr(e,t,1,r)&&(p=!0),h>2&&Lr(e,t,2,o)&&(p=!0),h>3&&Lr(e,t,3,i)&&(p=!0),h>4&&Lr(e,t,4,a)&&(p=!0),h>5&&Lr(e,t,5,u)&&(p=!0),h>6&&Lr(e,t,6,s)&&(p=!0),h>7&&Lr(e,t,7,l)&&(p=!0),h>8&&Lr(e,t,8,c)&&(p=!0),h>9&&Lr(e,t,9,d)&&(p=!0),p){var y=Tr(e,t.nodeIndex),v=void 0;switch(201347067&t.flags){case 32:v=new Array(f.length),h>0&&(v[0]=n),h>1&&(v[1]=r),h>2&&(v[2]=o),h>3&&(v[3]=i),h>4&&(v[4]=a),h>5&&(v[5]=u),h>6&&(v[6]=s),h>7&&(v[7]=l),h>8&&(v[8]=c),h>9&&(v[9]=d);break;case 64:v={},h>0&&(v[f[0].name]=n),h>1&&(v[f[1].name]=r),h>2&&(v[f[2].name]=o),h>3&&(v[f[3].name]=i),h>4&&(v[f[4].name]=a),h>5&&(v[f[5].name]=u),h>6&&(v[f[6].name]=s),h>7&&(v[f[7].name]=l),h>8&&(v[f[8].name]=c),h>9&&(v[f[9].name]=d);break;case 128:var g=n;switch(h){case 1:v=g.transform(n);break;case 2:v=g.transform(r);break;case 3:v=g.transform(r,o);break;case 4:v=g.transform(r,o,i);break;case 5:v=g.transform(r,o,i,a);break;case 6:v=g.transform(r,o,i,a,u);break;case 7:v=g.transform(r,o,i,a,u,s);break;case 8:v=g.transform(r,o,i,a,u,s,l);break;case 9:v=g.transform(r,o,i,a,u,s,l,c);break;case 10:v=g.transform(r,o,i,a,u,s,l,c,d)}}y.value=v}return p}(e,t,n,r,o,i,a,u,s,l,c,d);default:throw"unreachable"}}(e,t,r,o,i,a,u,l,c,d,f,p):function(e,t,n){switch(201347067&t.flags){case 1:return function(e,t,n){for(var r=!1,o=0;o<n.length;o++)yo(e,t,o,n[o])&&(r=!0);return r}(e,t,n);case 2:return function(e,t,n){for(var r=t.bindings,o=!1,i=0;i<n.length;i++)Lr(e,t,i,n[i])&&(o=!0);if(o){var a="";for(i=0;i<n.length;i++)a+=wi(n[i],r[i]);a=t.text.prefix+a;var u=Er(e,t.nodeIndex).renderText;e.renderer.setValue(u,a)}return o}(e,t,n);case 16384:return function(e,t,n){for(var r=kr(e,t.nodeIndex),o=r.instance,i=!1,a=void 0,u=0;u<n.length;u++)Hr(e,t,u,n[u])&&(i=!0,a=ci(e,r,t,u,n[u],a));return a&&o.ngOnChanges(a),65536&t.flags&&Cr(e,256,t.nodeIndex)&&o.ngOnInit(),262144&t.flags&&o.ngDoCheck(),i}(e,t,n);case 32:case 64:case 128:return function(e,t,n){for(var r=t.bindings,o=!1,i=0;i<n.length;i++)Lr(e,t,i,n[i])&&(o=!0);if(o){var a=Tr(e,t.nodeIndex),u=void 0;switch(201347067&t.flags){case 32:u=n;break;case 64:for(u={},i=0;i<n.length;i++)u[r[i].name]=n[i];break;case 128:var l=n[0],c=n.slice(1);u=l.transform.apply(l,s(c))}a.value=u}return o}(e,t,n);default:throw"unreachable"}}(e,t,r)}function Vi(e){var t=e.def;if(4&t.nodeFlags)for(var n=0;n<t.nodes.length;n++){var r=t.nodes[n];if(4&r.flags){var o=xr(e,n).template._projectedViews;if(o)for(var i=0;i<o.length;i++){var a=o[i];a.state|=32,zr(a,e)}}else 0==(4&r.childFlags)&&(n+=r.childCount)}}function Mi(e,t,n,r,o,i,a,u,s,l,c,d,f){return 0===n?function(e,t,n,r,o,i,a,u,s,l,c,d){var f=t.bindings.length;f>0&&Br(e,t,0,n),f>1&&Br(e,t,1,r),f>2&&Br(e,t,2,o),f>3&&Br(e,t,3,i),f>4&&Br(e,t,4,a),f>5&&Br(e,t,5,u),f>6&&Br(e,t,6,s),f>7&&Br(e,t,7,l),f>8&&Br(e,t,8,c),f>9&&Br(e,t,9,d)}(e,t,r,o,i,a,u,s,l,c,d,f):function(e,t,n){for(var r=0;r<n.length;r++)Br(e,t,r,n[r])}(e,t,r),!1}function Ri(e,t){if(Sr(e,t.nodeIndex).dirty)throw Dr(Nr.createDebugContext(e,t.nodeIndex),"Query "+t.query.id+" not dirty","Query "+t.query.id+" dirty",0!=(1&e.state))}function ji(e){if(!(128&e.state)){if(Li(e,Fi.Destroy),Hi(e,Fi.Destroy),di(e,131072),e.disposables)for(var t=0;t<e.disposables.length;t++)e.disposables[t]();!function(e){if(16&e.state){var t=Gr(e);if(t){var n=t.template._projectedViews;n&&(So(n,n.indexOf(e)),Nr.dirtyParentQueries(e))}}}(e),e.renderer.destroyNode&&function(e){for(var t=e.def.nodes.length,n=0;n<t;n++){var r=e.def.nodes[n];1&r.flags?e.renderer.destroyNode(xr(e,n).renderElement):2&r.flags?e.renderer.destroyNode(Er(e,n).renderText):(67108864&r.flags||134217728&r.flags)&&Sr(e,n).destroy()}}(e),Wr(e)&&e.renderer.destroy(),e.state|=128}}var Fi=function(e){return e[e.CreateViewNodes=0]="CreateViewNodes",e[e.CheckNoChanges=1]="CheckNoChanges",e[e.CheckNoChangesProjectedViews=2]="CheckNoChangesProjectedViews",e[e.CheckAndUpdate=3]="CheckAndUpdate",e[e.CheckAndUpdateProjectedViews=4]="CheckAndUpdateProjectedViews",e[e.Destroy=5]="Destroy",e}({});function Hi(e,t){var n=e.def;if(33554432&n.nodeFlags)for(var r=0;r<n.nodes.length;r++){var o=n.nodes[r];33554432&o.flags?Bi(xr(e,r).componentView,t):0==(33554432&o.childFlags)&&(r+=o.childCount)}}function Li(e,t){var n=e.def;if(16777216&n.nodeFlags)for(var r=0;r<n.nodes.length;r++){var o=n.nodes[r];if(16777216&o.flags)for(var i=xr(e,r).viewContainer._embeddedViews,a=0;a<i.length;a++)Bi(i[a],t);else 0==(16777216&o.childFlags)&&(r+=o.childCount)}}function Bi(e,t){var n=e.state;switch(t){case Fi.CheckNoChanges:0==(128&n)&&(12==(12&n)?Oi(e):64&n&&Ui(e,Fi.CheckNoChangesProjectedViews));break;case Fi.CheckNoChangesProjectedViews:0==(128&n)&&(32&n?Oi(e):64&n&&Ui(e,t));break;case Fi.CheckAndUpdate:0==(128&n)&&(12==(12&n)?Ai(e):64&n&&Ui(e,Fi.CheckAndUpdateProjectedViews));break;case Fi.CheckAndUpdateProjectedViews:0==(128&n)&&(32&n?Ai(e):64&n&&Ui(e,t));break;case Fi.Destroy:ji(e);break;case Fi.CreateViewNodes:Ii(e)}}function Ui(e,t){Li(e,t),Hi(e,t)}function zi(e,t,n,r){if(e.def.nodeFlags&t&&e.def.nodeFlags&n)for(var o=e.def.nodes.length,i=0;i<o;i++){var a=e.def.nodes[i];if(a.flags&t&&a.flags&n)switch(Nr.setCurrentNode(e,a.nodeIndex),r){case 0:yi(e,a);break;case 1:Ri(e,a)}a.childFlags&t&&a.childFlags&n||(i+=a.childCount)}}var Zi=!1;function Gi(e,t,n,r,o,i){return Ti(Qi(e,o,o.injector.get(pn),t,n),r,i)}function qi(e,t,n,r,o,i){var a=o.injector.get(pn),u=Qi(e,o,new Sa(a),t,n),s=ra(r);return ka(fa.create,Ti,null,[u,s,i])}function Qi(e,t,n,r,o){var i=t.injector.get(_r),a=t.injector.get(nt);return{ngModule:t,injector:e,projectableNodes:r,selectorOrNode:o,sanitizer:i,rendererFactory:n,renderer:n.createRenderer(null,null),errorHandler:a}}function Wi(e,t,n,r){var o=ra(n);return ka(fa.create,ki,null,[e,t,o,r])}function Yi(e,t,n,r){return n=Xi.get(t.element.componentProvider.provider.token)||ra(n),ka(fa.create,Si,null,[e,t,n,r])}function Ki(e,t,n,r){return Uo(e,t,n,function(e){var t=function(e){var t=!1,n=!1;return 0===$i.size?{hasOverrides:t,hasDeprecatedOverrides:n}:(e.providers.forEach(function(e){var r=$i.get(e.token);3840&e.flags&&r&&(t=!0,n=n||r.deprecatedBehavior)}),e.modules.forEach(function(e){Ji.forEach(function(r,o){o.ngInjectableDef.providedIn===e&&(t=!0,n=n||r.deprecatedBehavior)})}),{hasOverrides:t,hasDeprecatedOverrides:n})}(e),n=t.hasDeprecatedOverrides;return t.hasOverrides?(function(e){for(var t=0;t<e.providers.length;t++){var r=e.providers[t];n&&(r.flags|=4096);var o=$i.get(r.token);o&&(r.flags=-3841&r.flags|o.flags,r.deps=$r(o.deps),r.value=o.value)}if(Ji.size>0){var i=new Set(e.modules);Ji.forEach(function(t,r){if(i.has(r.ngInjectableDef.providedIn)){var o={token:r,flags:t.flags|(n?4096:0),deps:$r(t.deps),value:t.value,index:e.providers.length};e.providers.push(o),e.providersByKey[Vr(r)]=o}})}}(e=e.factory(function(){return Ar})),e):e}(r))}var $i=new Map,Ji=new Map,Xi=new Map;function ea(e){$i.set(e.token,e),"function"==typeof e.token&&e.token.ngInjectableDef&&"function"==typeof e.token.ngInjectableDef.providedIn&&Ji.set(e.token,e)}function ta(e,t){var n=eo(eo(t.viewDefFactory).nodes[0].element.componentView);Xi.set(e,n)}function na(){$i.clear(),Ji.clear(),Xi.clear()}function ra(e){if(0===$i.size)return e;var t=function(e){for(var t=[],n=null,r=0;r<e.nodes.length;r++){var o=e.nodes[r];1&o.flags&&(n=o),n&&3840&o.flags&&$i.has(o.provider.token)&&(t.push(n.nodeIndex),n=null)}return t}(e);if(0===t.length)return e;e=e.factory(function(){return Ar});for(var n=0;n<t.length;n++)r(e,t[n]);return e;function r(e,t){for(var n=t+1;n<e.nodes.length;n++){var r=e.nodes[n];if(1&r.flags)return;if(3840&r.flags){var o=r.provider,i=$i.get(o.token);i&&(r.flags=-3841&r.flags|i.flags,o.deps=$r(i.deps),o.value=i.value)}}}}function oa(e,t,n,r,o,i,a,u,s,l,c,d,f){var p=e.def.nodes[t];return Pi(e,p,n,r,o,i,a,u,s,l,c,d,f),224&p.flags?Tr(e,t).value:void 0}function ia(e,t,n,r,o,i,a,u,s,l,c,d,f){var p=e.def.nodes[t];return Mi(e,p,n,r,o,i,a,u,s,l,c,d,f),224&p.flags?Tr(e,t).value:void 0}function aa(e){return ka(fa.detectChanges,Ai,null,[e])}function ua(e){return ka(fa.checkNoChanges,Oi,null,[e])}function sa(e){return ka(fa.destroy,ji,null,[e])}var la,ca,da,fa=function(e){return e[e.create=0]="create",e[e.detectChanges=1]="detectChanges",e[e.checkNoChanges=2]="checkNoChanges",e[e.destroy=3]="destroy",e[e.handleEvent=4]="handleEvent",e}({});function pa(e,t){ca=e,da=t}function ha(e,t,n,r){return pa(e,t),ka(fa.handleEvent,e.def.handleEvent,null,[e,t,n,r])}function ya(e,t){if(128&e.state)throw Or(fa[la]);return pa(e,wa(e,0)),e.def.updateDirectives(function(e,n,r){for(var o=[],i=3;i<arguments.length;i++)o[i-3]=arguments[i];var a=e.def.nodes[n];return 0===t?ga(e,a,r,o):ma(e,a,r,o),16384&a.flags&&pa(e,wa(e,n)),224&a.flags?Tr(e,a.nodeIndex).value:void 0},e)}function va(e,t){if(128&e.state)throw Or(fa[la]);return pa(e,Ca(e,0)),e.def.updateRenderer(function(e,n,r){for(var o=[],i=3;i<arguments.length;i++)o[i-3]=arguments[i];var a=e.def.nodes[n];return 0===t?ga(e,a,r,o):ma(e,a,r,o),3&a.flags&&pa(e,Ca(e,n)),224&a.flags?Tr(e,a.nodeIndex).value:void 0},e)}function ga(e,t,n,r){if(Pi.apply(void 0,s([e,t,n],r))){var o=1===n?r[0]:r;if(16384&t.flags){for(var i={},a=0;a<t.bindings.length;a++){var u=t.bindings[a],l=o[a];8&u.flags&&(i[(p=u.nonMinifiedName,"ng-reflect-"+(p=p.replace(/[$@]/g,"_").replace(ba,function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return"-"+e[1].toLowerCase()})))]=_a(l))}var c=t.parent,d=xr(e,c.nodeIndex).renderElement;if(c.element.name)for(var f in i)null!=(l=i[f])?e.renderer.setAttribute(d,f,l):e.renderer.removeAttribute(d,f);else e.renderer.setValue(d,"bindings="+JSON.stringify(i,null,2))}}var p}function ma(e,t,n,r){Mi.apply(void 0,s([e,t,n],r))}var ba=/([A-Z])/g;function _a(e){try{return null!=e?e.toString().slice(0,30):e}catch(e){return"[ERROR] Exception while trying to serialize the value"}}function wa(e,t){for(var n=t;n<e.def.nodes.length;n++){var r=e.def.nodes[n];if(16384&r.flags&&r.bindings&&r.bindings.length)return n}return null}function Ca(e,t){for(var n=t;n<e.def.nodes.length;n++){var r=e.def.nodes[n];if(3&r.flags&&r.bindings&&r.bindings.length)return n}return null}var Ea=function(){function e(e,t){this.view=e,this.nodeIndex=t,null==t&&(this.nodeIndex=t=0),this.nodeDef=e.def.nodes[t];for(var n=this.nodeDef,r=e;n&&0==(1&n.flags);)n=n.parent;if(!n)for(;!n&&r;)n=qr(r),r=r.parent;this.elDef=n,this.elView=r}return Object.defineProperty(e.prototype,"elOrCompView",{get:function(){return xr(this.elView,this.elDef.nodeIndex).componentView||this.view},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return jo(this.elView,this.elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"component",{get:function(){return this.elOrCompView.component},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return this.elOrCompView.context},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"providerTokens",{get:function(){var e=[];if(this.elDef)for(var t=this.elDef.nodeIndex+1;t<=this.elDef.nodeIndex+this.elDef.childCount;t++){var n=this.elView.def.nodes[t];20224&n.flags&&e.push(n.provider.token),t+=n.childCount}return e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"references",{get:function(){var e={};if(this.elDef){xa(this.elView,this.elDef,e);for(var t=this.elDef.nodeIndex+1;t<=this.elDef.nodeIndex+this.elDef.childCount;t++){var n=this.elView.def.nodes[t];20224&n.flags&&xa(this.elView,n,e),t+=n.childCount}}return e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentRenderElement",{get:function(){var e=function(e){for(;e&&!Wr(e);)e=e.parent;return e.parent?xr(e.parent,qr(e).nodeIndex):null}(this.elOrCompView);return e?e.renderElement:void 0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"renderNode",{get:function(){return 2&this.nodeDef.flags?Qr(this.view,this.nodeDef):Qr(this.elView,this.elDef)},enumerable:!0,configurable:!0}),e.prototype.logError=function(e){for(var t,n,r=[],o=1;o<arguments.length;o++)r[o-1]=arguments[o];2&this.nodeDef.flags?(t=this.view.def,n=this.nodeDef.nodeIndex):(t=this.elView.def,n=this.elDef.nodeIndex);var i=function(e,t){for(var n=-1,r=0;r<=t;r++)3&e.nodes[r].flags&&n++;return n}(t,n),a=-1;t.factory(function(){var t;return++a===i?(t=e.error).bind.apply(t,s([e],r)):Ar}),a<i&&(e.error("Illegal state: the ViewDefinitionFactory did not call the logger!"),e.error.apply(e,s(r)))},e}();function xa(e,t,n){for(var r in t.references)n[r]=gi(e,t,t.references[r])}function ka(e,t,n,r){var o=la,i=ca,a=da;try{la=e;var u=t.apply(n,r);return ca=i,da=a,la=o,u}catch(e){if(Xe(e)||!ca)throw e;throw function(e,t){return e instanceof Error||(e=new Error(e.toString())),Ir(e,t),e}(e,Ta())}}function Ta(){return ca?new Ea(ca,da):null}var Sa=function(){function e(e){this.delegate=e}return e.prototype.createRenderer=function(e,t){return new Na(this.delegate.createRenderer(e,t))},e.prototype.begin=function(){this.delegate.begin&&this.delegate.begin()},e.prototype.end=function(){this.delegate.end&&this.delegate.end()},e.prototype.whenRenderingDone=function(){return this.delegate.whenRenderingDone?this.delegate.whenRenderingDone():Promise.resolve(null)},e}(),Na=function(){function e(e){this.delegate=e,this.data=this.delegate.data}return e.prototype.destroyNode=function(e){!function(e){Cn.delete(e.nativeNode)}(En(e)),this.delegate.destroyNode&&this.delegate.destroyNode(e)},e.prototype.destroy=function(){this.delegate.destroy()},e.prototype.createElement=function(e,t){var n=this.delegate.createElement(e,t),r=Ta();if(r){var o=new wn(n,null,r);o.name=e,xn(o)}return n},e.prototype.createComment=function(e){var t=this.delegate.createComment(e),n=Ta();return n&&xn(new _n(t,null,n)),t},e.prototype.createText=function(e){var t=this.delegate.createText(e),n=Ta();return n&&xn(new _n(t,null,n)),t},e.prototype.appendChild=function(e,t){var n=En(e),r=En(t);n&&r&&n instanceof wn&&n.addChild(r),this.delegate.appendChild(e,t)},e.prototype.insertBefore=function(e,t,n){var r=En(e),o=En(t),i=En(n);r&&o&&r instanceof wn&&r.insertBefore(i,o),this.delegate.insertBefore(e,t,n)},e.prototype.removeChild=function(e,t){var n=En(e),r=En(t);n&&r&&n instanceof wn&&n.removeChild(r),this.delegate.removeChild(e,t)},e.prototype.selectRootElement=function(e){var t=this.delegate.selectRootElement(e),n=Ta();return n&&xn(new wn(t,null,n)),t},e.prototype.setAttribute=function(e,t,n,r){var o=En(e);o&&o instanceof wn&&(o.attributes[r?r+":"+t:t]=n),this.delegate.setAttribute(e,t,n,r)},e.prototype.removeAttribute=function(e,t,n){var r=En(e);r&&r instanceof wn&&(r.attributes[n?n+":"+t:t]=null),this.delegate.removeAttribute(e,t,n)},e.prototype.addClass=function(e,t){var n=En(e);n&&n instanceof wn&&(n.classes[t]=!0),this.delegate.addClass(e,t)},e.prototype.removeClass=function(e,t){var n=En(e);n&&n instanceof wn&&(n.classes[t]=!1),this.delegate.removeClass(e,t)},e.prototype.setStyle=function(e,t,n,r){var o=En(e);o&&o instanceof wn&&(o.styles[t]=n),this.delegate.setStyle(e,t,n,r)},e.prototype.removeStyle=function(e,t,n){var r=En(e);r&&r instanceof wn&&(r.styles[t]=null),this.delegate.removeStyle(e,t,n)},e.prototype.setProperty=function(e,t,n){var r=En(e);r&&r instanceof wn&&(r.properties[t]=n),this.delegate.setProperty(e,t,n)},e.prototype.listen=function(e,t,n){if("string"!=typeof e){var r=En(e);r&&r.listeners.push(new function(e,t){this.name=e,this.callback=t}(t,n))}return this.delegate.listen(e,t,n)},e.prototype.parentNode=function(e){return this.delegate.parentNode(e)},e.prototype.nextSibling=function(e){return this.delegate.nextSibling(e)},e.prototype.setValue=function(e,t){return this.delegate.setValue(e,t)},e}(),Da=function(e){function t(t,n,r){var o=e.call(this)||this;return o.moduleType=t,o._bootstrapComponents=n,o._ngModuleDefFactory=r,o}return o(t,e),t.prototype.create=function(e){!function(){if(!Zi){Zi=!0;var e=on()?{setCurrentNode:pa,createRootView:qi,createEmbeddedView:Wi,createComponentView:Yi,createNgModuleRef:Ki,overrideProvider:ea,overrideComponentView:ta,clearOverrides:na,checkAndUpdateView:aa,checkNoChangesView:ua,destroyView:sa,createDebugContext:function(e,t){return new Ea(e,t)},handleEvent:ha,updateDirectives:ya,updateRenderer:va}:{setCurrentNode:function(){},createRootView:Gi,createEmbeddedView:ki,createComponentView:Si,createNgModuleRef:Uo,overrideProvider:Ar,overrideComponentView:Ar,clearOverrides:Ar,checkAndUpdateView:Ai,checkNoChangesView:Oi,destroyView:ji,createDebugContext:function(e,t){return new Ea(e,t)},handleEvent:function(e,t,n,r){return e.def.handleEvent(e,t,n,r)},updateDirectives:function(e,t){return e.def.updateDirectives(0===t?oa:ia,e)},updateRenderer:function(e,t){return e.def.updateRenderer(0===t?oa:ia,e)}};Nr.setCurrentNode=e.setCurrentNode,Nr.createRootView=e.createRootView,Nr.createEmbeddedView=e.createEmbeddedView,Nr.createComponentView=e.createComponentView,Nr.createNgModuleRef=e.createNgModuleRef,Nr.overrideProvider=e.overrideProvider,Nr.overrideComponentView=e.overrideComponentView,Nr.clearOverrides=e.clearOverrides,Nr.checkAndUpdateView=e.checkAndUpdateView,Nr.checkNoChangesView=e.checkNoChangesView,Nr.destroyView=e.destroyView,Nr.resolveDep=si,Nr.createDebugContext=e.createDebugContext,Nr.handleEvent=e.handleEvent,Nr.updateDirectives=e.updateDirectives,Nr.updateRenderer=e.updateRenderer,Nr.dirtyParentQueries=hi}}();var t=function(e){var t=Array.from(e.providers),n=Array.from(e.modules),r={};for(var o in e.providersByKey)r[o]=e.providersByKey[o];return{factory:e.factory,isRoot:e.isRoot,providers:t,modules:n,providersByKey:r}}(eo(this._ngModuleDefFactory));return Nr.createNgModuleRef(this.moduleType,e||Ie.NULL,this._bootstrapComponents,t)},t}(Ft);function Ia(e,t,n){e!=t&&Aa(n)}function Oa(e,t){null==e&&Aa(t)}function Aa(e){throw new Error("ASSERTION ERROR: "+e)}var Pa=16,Va=0,Ma=1,Ra=2,ja=3,Fa=4,Ha=5,La=6,Ba=7,Ua=8,za=9,Za=10,Ga=11,qa=14;function Qa(e,t,n){e.afterContentInit&&(t.contentHooks||(t.contentHooks=[])).push(n,e.afterContentInit),e.afterContentChecked&&((t.contentHooks||(t.contentHooks=[])).push(n,e.afterContentChecked),(t.contentCheckHooks||(t.contentCheckHooks=[])).push(n,e.afterContentChecked))}function Wa(e,t,n){e.afterViewInit&&(t.viewHooks||(t.viewHooks=[])).push(n,e.afterViewInit),e.afterViewChecked&&((t.viewHooks||(t.viewHooks=[])).push(n,e.afterViewChecked),(t.viewCheckHooks||(t.viewCheckHooks=[])).push(n,e.afterViewChecked))}function Ya(e,t,n){null!=e.onDestroy&&(t.destroyHooks||(t.destroyHooks=[])).push(n,e.onDestroy)}function Ka(e,t,n){16&e[Fa]&&($a(e[Ba],t.initHooks,t.checkHooks,n),e[Fa]&=-17)}function $a(e,t,n,r){var o=r?t:n;o&&Ja(e,o)}function Ja(e,t){for(var n=0;n<t.length;n+=2)t[n+1].call(e[t[n]])}"undefined"==typeof ngDevMode&&("undefined"!=typeof window&&window||"undefined"!=typeof self&&self||"undefined"!=typeof global&&global);var Xa=0,eu=4,tu="ngProjectAs";function nu(e){return!!e.listen}var ru={createRenderer:function(e,t){return document}};function ou(e,t){Oa(e,"should be called with a node"),Ia(e.tNode.type,t,"should be a "+function(e){return 1==e?"Projection":0==e?"Container":2==e?"View":3==e?"Element":"<unknown>"}(t))}function iu(e){return Array.isArray(e)?e[0]:e}function au(e){if(2===e.tNode.type){var t=e.data;return t[Ra]?t[Ra][Ha]:null}return e.tNode.next?e.view[e.tNode.next.index]:null}function uu(e){return e.tNode.child?iu((2===e.tNode.type?e.data:e.view)[e.tNode.child.index]):null}function su(e){if(-1===e.tNode.index&&2===e.tNode.type){var t=e.data[qa];return-1===t?null:e.view[t].dynamicLContainerNode}var n=e.tNode.parent;return iu(n?e.view[n.index]:e.view[Ha])}var lu=[];function cu(e){for(var t=e[Ha];2===t.tNode.type;)ngDevMode&&Oa(e[Ma],"lViewData.parent"),t=(e=e[Ma])[Ha];return ngDevMode&&ou(t,3),ngDevMode&&Oa(t.data,"node.data"),t}function du(e,t,n,r,o){0===e?nu(t)?t.insertBefore(n,r,o):n.insertBefore(r,o,!0):1===e?nu(t)?t.removeChild(n,r):n.removeChild(r):2===e&&(ngDevMode&&ngDevMode.rendererDestroyNode++,t.destroyNode(r))}function fu(e){if(-1===e[Va].childIndex)return null;var t=e[e[Va].childIndex];return t.data?t.data:t.dynamicLContainerNode.data}function pu(e,t){var n;return(n=e[Ha])&&2===n.tNode.type?su(n).data:e[Ma]===t?null:e[Ma]}function hu(e){if(e[Va]){var t=e;!function(e){var t=e[Va].cleanup;if(null!=t){for(var n=0;n<t.length-1;n+=2)"string"==typeof t[n]?(iu(e[t[n+1]]).native.removeEventListener(t[n],e[Ua][t[n+2]],t[n+3]),n+=2):"number"==typeof t[n]?(0,e[Ua][t[n]])():t[n].call(e[Ua][t[n+1]]);e[Ua]=null}}(t),function(e){var t,n=e[Va];null!=n&&null!=(t=n.destroyHooks)&&Ja(e[Ba],t)}(t),(r=(n=t)[Va]&&n[Va].pipeDestroyHooks)&&Ja(n,r),-1===t[Va].id&&nu(t[Ga])&&(ngDevMode&&ngDevMode.rendererDestroy++,t[Ga].destroy())}var n,r}var yu,vu,gu,mu,bu,_u,wu,Cu,Eu,xu="__ngHostLNode__",ku=Promise.resolve(null),Tu=[0,0],Su=new Array(Pa).fill(null),Nu=!1,Du=!0;function Iu(e,t){var n=Cu;return Eu=e&&e[Ba],bu=e&&e[Va],wu=e&&1==(1&e[Fa]),Du=e&&bu.firstTemplatePass,yu=e&&e[Ga],null!=t&&(gu=t,mu=!0),Cu=e,_u=e&&e[ja],n}function Ou(e,t){t||(Nu||$a(Eu,bu.viewHooks,bu.viewCheckHooks,wu),Cu[Fa]&=-6),Cu[Fa]|=16,Cu[La]=-1,Iu(e,null)}function Au(){Nu||Ka(Cu,bu,wu),function(e){for(var t=fu(Cu);null!==t;t=t[Ra])if(t.length<Pa&&null===t[Xa])for(var n=t,r=0;r<n[eu].length;r++){var o=n[eu][r],i=o.data;ngDevMode&&Oa(i[Va],"TView must be allocated"),Ru(o,i[Va],i[za],2)}}(),Nu||$a(Eu,bu.contentHooks,bu.contentCheckHooks,wu),bu.firstTemplatePass=Du=!1,Pu(bu.hostBindings),function(e){if(null!=e.contentQueries)for(var t=0;t<e.contentQueries.length;t+=2){var n=e.contentQueries[t];e.directives[n].contentQueriesRefresh(n,e.contentQueries[t+1])}}(bu),function(e){if(null!=e)for(var t=0;t<e.length;t+=2)Zu(e[t],e[t+1])}(bu.components)}function Pu(e){if(null!=e)for(var t=bu.directives,n=0;n<e.length;n+=2){var r=e[n],o=t[r];o.hostBindings&&o.hostBindings(r,e[n+1])}}function Vu(e,t,n,r,o){return[t,Cu,null,null,25|r,null,-1,null,null,n,Cu&&Cu[Za],e,o||null,null,-1,null]}function Mu(e,t,n,r,o,i){var a=mu?gu:gu&&su(gu),u=a&&a.view===Cu?a.tNode:null,s=(mu?_u:gu&&gu.queries)||a&&a.queries&&a.queries.child(),l=null!=i,c=function(e,t,n,r,o,i){return{native:r,view:Cu,nodeInjector:n?n.nodeInjector:null,data:o,queries:i,tNode:null,dynamicLContainerNode:null}}(0,0,a,n,l?i:null,s);if(-1===e||2===t)c.tNode=(i?i[Va].node:null)||zu(t,e,null,null,u,null);else{var d=e+Pa;ngDevMode&&$u(d);var f=bu.data;if(Cu[d]=c,d>=f.length){var p=f[d]=zu(t,d,r,o,u,null);if(!mu&&gu){var h=gu.tNode;h.next=p,h.dynamicContainerNode&&(h.dynamicContainerNode.next=p)}}c.tNode=f[d],mu&&(_u=null,(null==gu.tNode.child&&gu.view===Cu||2===gu.tNode.type)&&(gu.tNode.child=c.tNode))}if(2==(2&t)&&l){var y=i;ngDevMode&&null!=y[Ha]&&Aa("lViewData[HOST_NODE] should not have been initialized"),y[Ha]=c,Du&&(y[Va].node=c.tNode)}return gu=c,mu=!0,c}function Ru(e,t,n,r){var o,i=mu,a=gu;if(null==e.data[Ma]&&e.data[za]&&!t.template)qu(e.data[za]);else try{mu=!0,gu=null,o=Iu(e.data,e),Lu(),t.template(r,n),2&r?Au():e.data[Va].firstTemplatePass=Du=!1}finally{Ou(o,1==(1&r)),mu=i,gu=a}return e}function ju(e,t,n,r){var o=Iu(t,e);try{vu.begin&&vu.begin(),r?(Lu(),r(Fu(t),n),Au()):(Nu||(Ka(Cu,bu,wu),$a(Eu,bu.contentHooks,bu.contentCheckHooks,wu)),Pu(Tu),Zu(0,Pa))}finally{vu.end&&vu.end(),Ou(o)}}function Fu(e){return 1&e[Fa]?3:2}var Hu=null;function Lu(){Hu=null}function Bu(e,t,n,r,o){return ngDevMode&&ngDevMode.tView++,{id:e,template:t,viewQuery:o,node:null,data:Su.slice(),childIndex:-1,bindingStartIndex:-1,directives:null,firstTemplatePass:!0,initHooks:null,checkHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,pipeDestroyHooks:null,cleanup:null,hostBindings:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof n?n():n,pipeRegistry:"function"==typeof r?r():r,currentMatches:null}}function Uu(e,t){ngDevMode&&Ku(-1),vu=e;var n,r=e.createRenderer(null,null),o="string"==typeof t?nu(r)?r.selectRootElement(t):r.querySelector(t):t;if(ngDevMode&&!o)throw new Error("Renderer: "+("string"==typeof t?"Host node with selector not found:":"Host node is required:")+" ["+("function"==typeof(n=t)?n.name||n:"string"==typeof n?n:null==n?"":""+n)+"]");return o}function zu(e,t,n,r,o,i){return ngDevMode&&ngDevMode.tNode++,{type:e,index:t,flags:0,tagName:n,attrs:r,localNames:null,initialInputs:void 0,inputs:void 0,outputs:void 0,tViews:i,next:null,child:null,parent:o,dynamicContainerNode:null,detached:null,stylingTemplate:null,projection:null}}function Zu(e,t){ngDevMode&&Ku(t);var n=Cu[t];ngDevMode&&ou(n,3),ngDevMode&&Oa(n.data,"Component's host node should have an LViewData attached.");var r=n.data;Gu(r)&&6&r[Fa]&&(ngDevMode&&Ku(e,Eu),Yu(r,n,Eu[e]))}function Gu(e){return 8==(8&e[Fa])}function qu(e){for(var t=0;t<e.components.length;t++){var n=e.components[t],r=Ju(n);ngDevMode&&Oa(r.data,"Component host node should be attached to an LView"),ju(r,Qu(n),n)}}function Qu(e){ngDevMode&&Oa(e,"component");for(var t=Ju(e).view;t[Ma];)t=t[Ma];return t}function Wu(e){var t=Ju(e);ngDevMode&&Oa(t.data,"Component host node should be attached to an LViewData instance."),Yu(t.data,t,e)}function Yu(e,t,n){var r=Iu(e,t),o=e[Va],i=o.template,a=o.viewQuery;try{Lu(),function(t,n,r){t&&1&e[Fa]&&t(1,r)}(a,0,n),i(Fu(e),n),Au(),function(e,t){e&&e(2,t)}(a,n)}finally{Ou(r)}}function Ku(e,t){null==t&&(t=Cu),function(e,t){e>=(t?t.length:0)&&Aa("index expected to be a valid data index")}(e,t||Cu)}function $u(e,t){null==t&&(t=Cu),Ia(t.length,e,"index "+e+" expected to be at the end of arr (length "+t.length+")")}function Ju(e){ngDevMode&&Oa(e,"expecting component got null");var t=e[xu];return ngDevMode&&Oa(e,"object is not a component"),t}var Xu=ku;function es(e){return{components:[],scheduler:e,clean:Xu}}var ts=function(){function e(e,t){this._view=e,this._appRef=null,this._viewContainerRef=null,this._lViewNode=null,this.context=t}return e.prototype._setComponentContext=function(e,t){this._view=e,this.context=t},Object.defineProperty(e.prototype,"destroyed",{get:function(){return 32==(32&this._view[Fa])},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){var e,t;this._viewContainerRef&&Gu(this._view)&&(this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),this._viewContainerRef=null),nu(t=(e=this._view)[Ga])&&t.destroyNode&&function(t,n,r,o,i,a){for(var u=e[Ha],s=-1;u;){var l=null,c=u.tNode.type;if(3===c)du(2,o,null,u.native,a),u.dynamicLContainerNode&&du(2,o,null,u.dynamicLContainerNode.native,a);else if(0===c){du(2,o,null,u.native,a);var d=u,f=d.dynamicLContainerNode?d.dynamicLContainerNode.data:d.data;(l=f[eu].length?uu(f[eu][0]):null)&&(a=d.dynamicLContainerNode?d.dynamicLContainerNode.native:d.native)}else if(1===c){var p=cu(u.view),h=p.tNode.projection[u.tNode.projection];lu[++s]=u,l=h?p.data[Ma][h.index]:null}else l=uu(u);if(null===l)for(null===(l=au(u))&&8192&u.tNode.flags&&(l=au(lu[s--]));u&&!l;){if(null===(u=su(u))||u===n)return null;u.tNode.next||0!==c||(a=u.native),l=au(u)}u=l}}(0,e[Ha],0,t),function(e){if(-1===e[Va].childIndex)return hu(e);for(var t=fu(e);t;){var n=null;if(t.length>=Pa?t[Va].childIndex>-1&&(n=fu(t)):t[eu].length&&(n=t[eu][0].data),null==n){for(;t&&!t[Ra]&&t!==e;)hu(t),t=pu(t,e);hu(t||e),n=t&&t[Ra]}t=n}}(e),e[Fa]|=32},e.prototype.onDestroy=function(e){var t,n;n=e,function(e){return e[Ua]||(e[Ua]=[])}(t=this._view).push(n),t[Va].firstTemplatePass&&function(e){return e[Va].cleanup||(e[Va].cleanup=[])}(t).push(t[Ua].length-1,null)},e.prototype.markForCheck=function(){!function(e){for(var t=e;null!=t[Ma];)t[Fa]|=4,t=t[Ma];var n,r;t[Fa]|=4,ngDevMode&&Oa(t[za],"rootContext"),(n=t[za]).clean==ku&&(n.clean=new Promise(function(e){return r=e}),n.scheduler(function(){qu(n),r(null),n.clean=ku}))}(this._view)},e.prototype.detach=function(){this._view[Fa]&=-9},e.prototype.reattach=function(){this._view[Fa]|=8},e.prototype.detectChanges=function(){Wu(this.context)},e.prototype.checkNoChanges=function(){!function(e){Nu=!0;try{Wu(e)}finally{Nu=!1}}(this.context)},e.prototype.attachToViewContainerRef=function(e){this._viewContainerRef=e},e.prototype.detachFromAppRef=function(){this._appRef=null},e.prototype.attachToAppRef=function(e){this._appRef=e},e}(),ns=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.resolveComponentFactory=function(e){return ngDevMode&&(void 0===t&&(t="Type passed in is not ComponentType, it does not have 'ngComponentDef' property."),e.ngComponentDef||Aa(t)),new as(e.ngComponentDef);var t},t}(Vt);function rs(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}var os=new ue("ROOT_CONTEXT_TOKEN",{providedIn:"root",factory:function(){return es(qe(is))}}),is=new ue("SCHEDULER_TOKEN",{providedIn:"root",factory:function(){return requestAnimationFrame.bind(window)}}),as=function(e){function t(t){var n=e.call(this)||this;return n.componentDef=t,n.componentType=t.type,n.selector=t.selectors[0][0],n.ngContentSelectors=[],n}return o(t,e),Object.defineProperty(t.prototype,"inputs",{get:function(){return rs(this.componentDef.inputs)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"outputs",{get:function(){return rs(this.componentDef.outputs)},enumerable:!0,configurable:!0}),t.prototype.create=function(e,t,n,r){var o,i,a=void 0===n,u=r?r.injector.get(pn):ru,s=a?(o=this.selector,nu(i=u.createRenderer(null,this.componentDef.rendererType)||yu)?i.createElement(o,Hu):null===Hu?i.createElement(o):i.createElementNS(Hu,o)):Uu(u,n),l=r&&!a?r.injector.get(os):es(requestAnimationFrame.bind(window)),c=Vu(u.createRenderer(s,this.componentDef.rendererType),Bu(-1,null,null,null,null),l,this.componentDef.onPush?4:2);c[Za]=r&&r.injector||null;var d,f,p=Iu(c,null);try{if(u.begin&&u.begin(),f=function(e,t,n,r){mu=!1,gu=null;var o,i=Mu(0,3,t,null,null,Vu(yu,(o=n.template).ngPrivateData||(o.ngPrivateData=Bu(-1,o,n.directiveDefs,n.pipeDefs,n.viewQuery)),null,n.onPush?4:2,r));return Du&&(i.tNode.flags=4096,n.diPublic&&n.diPublic(n),bu.directives=[n]),i}(0,s,this.componentDef),l.components.push(d=function(e,t,n){if(ngDevMode&&Ia(Cu[La],-1,"directives should be created before any bindings"),ngDevMode&&Ia(mu,!0,"previousOrParentNode should be a parent"),Object.defineProperty(t,xu,{enumerable:!1,value:gu}),null==Eu&&(Cu[Ba]=Eu=[]),ngDevMode&&$u(e,Eu),Eu[e]=t,Du){var r=gu.tNode.flags;0==(4095&r)?gu.tNode.flags=e<<14|4096&r|1:(ngDevMode&&4095==(4095&r)&&Aa("Reached the max number of directives"),gu.tNode.flags++)}else{var o=n.diPublic;o&&o(n)}return null!=n.attributes&&3==gu.tNode.type&&function(e,t){for(var n=nu(yu),r=0;r<t.length;){var o=t[r];if(1===o)break;if(o===tu)r+=2;else if(ngDevMode&&ngDevMode.rendererSetAttribute++,0===o){var i=t[r+1],a=t[r+2],u=t[r+3];n?yu.setAttribute(e,a,u,i):e.setAttributeNS(i,a,u),r+=4}else u=t[r+1],n?yu.setAttribute(e,o,u):e.setAttribute(o,u),r+=2}}(gu.native,n.attributes),t}(0,this.componentDef.factory(),this.componentDef)),function(e,t,n){e&&null!=e.changeDetectorRef&&e.changeDetectorRef._setComponentContext(f.data,d)}(f.nodeInjector),function(e,t){var n=Ju(e),r=n.view[Va];(function(e,t,n,r){ngDevMode&&Ia(r.firstTemplatePass,!0,"Should only be called on first template pass"),t&&(r.initHooks||(r.initHooks=[])).push(0,t),n&&((r.initHooks||(r.initHooks=[])).push(0,n),(r.checkHooks||(r.checkHooks=[])).push(0,n))})(0,t.onInit,t.doCheck,r),function(e,t){if(t.firstTemplatePass)for(var n=e>>14,r=n+(4095&e),o=n;o<r;o++){var i=t.directives[o];Qa(i,t,o),Wa(i,t,o),Ya(i,t,o)}}(n.tNode.flags,r)}(d,this.componentDef),t)for(var h=0,y=f.tNode.projection=[],v=0;v<t.length;v++){for(var g=t[v],m=null,b=null,_=0;_<g.length;_++){var w=Mu(++h,3,g[_],null,null);b?b.next=w.tNode:m=w.tNode,b=w.tNode}y.push(m)}Ru(f,f.data[Va],d,1),f.data[Fa]&=-2}finally{Iu(p,null),u.end&&u.end()}var C=new us(this.componentType,d,c,e,s);return a&&(C.hostView._lViewNode.tNode.child=f.tNode),C},t}(Nt),us=function(e){function t(t,n,r,o,i){var a=e.call(this)||this;return a.destroyCbs=[],a.instance=n,a.hostView=a.changeDetectorRef=new ts(r,n),a.hostView._lViewNode=Mu(-1,2,null,null,null,r),a.injector=o,a.location=new vn(i),a.componentType=t,a}return o(t,e),t.prototype.destroy=function(){ngDevMode&&Oa(this.destroyCbs,"NgModule already destroyed"),this.destroyCbs.forEach(function(e){return e()}),this.destroyCbs=null},t.prototype.onDestroy=function(e){ngDevMode&&Oa(this.destroyCbs,"NgModule already destroyed"),this.destroyCbs.push(e)},t}(St),ss={provide:Vt,useFactory:function(){return new ns},deps:[]},ls=function(e){function t(t,n){var r=e.call(this)||this;r._bootstrapComponents=[],r.destroyCbs=[];var o=t.ngModuleDef;return ngDevMode&&Oa(o,"NgModule '"+me(t)+"' is not a subtype of 'NgModuleType'."),r._bootstrapComponents=o.bootstrap,r.injector=function(e,t,n){return void 0===t&&(t=null),void 0===n&&(n=null),t=t||st(),new lt(e,n,t)}(t,n,[ss,{provide:jt,useValue:r}]),r.instance=r.injector.get(t),r.componentFactoryResolver=new ns,r}return o(t,e),t.prototype.destroy=function(){ngDevMode&&Oa(this.destroyCbs,"NgModule already destroyed"),this.destroyCbs.forEach(function(e){return e()}),this.destroyCbs=null},t.prototype.onDestroy=function(e){ngDevMode&&Oa(this.destroyCbs,"NgModule already destroyed"),this.destroyCbs.push(e)},t}(jt);!function(e){function t(t){var n=e.call(this)||this;return n.moduleType=t,n}o(t,e),t.prototype.create=function(e){return new ls(this.moduleType,e)}}(Ft);var cs=function(){},ds=function(e,t,n,r,o){this.id=e,this.quotation=t,this.author=n,this.poster=r,this.timePassed=o,this.showDetails=!1,this.showQuote=!1},fs=function(){function e(){this.quotes=[new ds(1,"What doesn't kill us makes us stronger!","Freidrich Neitzsche","Dev",new Date(1896,2,29))]}return e.prototype.ngOnInit=function(){},e}(),ps=function(){},hs=void 0,ys=["en",[["a","p"],["AM","PM"],hs],[["AM","PM"],hs,hs],[["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"]],hs,[["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"]],hs,[["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}",hs,"{1} 'at' {0}",hs],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"$","US Dollar",{},function(e){var t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}],vs={},gs=function(e){return e[e.Zero=0]="Zero",e[e.One=1]="One",e[e.Two=2]="Two",e[e.Few=3]="Few",e[e.Many=4]="Many",e[e.Other=5]="Other",e}({}),ms=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}({}),bs=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}({}),_s=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}({}),ws=function(e){return e[e.Decimal=0]="Decimal",e[e.Group=1]="Group",e[e.List=2]="List",e[e.PercentSign=3]="PercentSign",e[e.PlusSign=4]="PlusSign",e[e.MinusSign=5]="MinusSign",e[e.Exponential=6]="Exponential",e[e.SuperscriptingExponent=7]="SuperscriptingExponent",e[e.PerMille=8]="PerMille",e[e[1/0]=9]="Infinity",e[e.NaN=10]="NaN",e[e.TimeSeparator=11]="TimeSeparator",e[e.CurrencyDecimal=12]="CurrencyDecimal",e[e.CurrencyGroup=13]="CurrencyGroup",e}({});function Cs(e,t){return Ss(Ds(e)[10],t)}function Es(e,t){return Ss(Ds(e)[11],t)}function xs(e,t){return Ss(Ds(e)[12],t)}function ks(e,t){var n=Ds(e),r=n[13][t];if(void 0===r){if(t===ws.CurrencyDecimal)return n[13][ws.Decimal];if(t===ws.CurrencyGroup)return n[13][ws.Group]}return r}function Ts(e){if(!e[19])throw new Error('Missing extra locale data for the locale "'+e[0]+'". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.')}function Ss(e,t){for(var n=t;n>-1;n--)if(void 0!==e[n])return e[n];throw new Error("Locale data API: locale data undefined")}function Ns(e){var t=u(e.split(":"),2);return{hours:+t[0],minutes:+t[1]}}function Ds(e){var t=e.toLowerCase().replace(/_/g,"-"),n=vs[t];if(n)return n;var r=t.split("-")[0];if(n=vs[r])return n;if("en"===r)return ys;throw new Error('Missing locale data for the locale "'+e+'".')}var Is=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Os={},As=/((?:[^GyMLwWdEabBhHmsSzZO']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/,Ps=function(e){return e[e.Short=0]="Short",e[e.ShortGMT=1]="ShortGMT",e[e.Long=2]="Long",e[e.Extended=3]="Extended",e}({}),Vs=function(e){return e[e.FullYear=0]="FullYear",e[e.Month=1]="Month",e[e.Date=2]="Date",e[e.Hours=3]="Hours",e[e.Minutes=4]="Minutes",e[e.Seconds=5]="Seconds",e[e.FractionalSeconds=6]="FractionalSeconds",e[e.Day=7]="Day",e}({}),Ms=function(e){return e[e.DayPeriods=0]="DayPeriods",e[e.Days=1]="Days",e[e.Months=2]="Months",e[e.Eras=3]="Eras",e}({});function Rs(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(e,n){return null!=t&&n in t?t[n]:e})),e}function js(e,t,n,r,o){void 0===n&&(n="-");var i="";(e<0||o&&e<=0)&&(o?e=1-e:(e=-e,i=n));for(var a=String(e);a.length<t;)a="0"+a;return r&&(a=a.substr(a.length-t)),i+a}function Fs(e,t,n,r,o){return void 0===n&&(n=0),void 0===r&&(r=!1),void 0===o&&(o=!1),function(i,a){var u,s=function(e,t){switch(e){case Vs.FullYear:return t.getFullYear();case Vs.Month:return t.getMonth();case Vs.Date:return t.getDate();case Vs.Hours:return t.getHours();case Vs.Minutes:return t.getMinutes();case Vs.Seconds:return t.getSeconds();case Vs.FractionalSeconds:return t.getMilliseconds();case Vs.Day:return t.getDay();default:throw new Error('Unknown DateType value "'+e+'".')}}(e,i);if((n>0||s>-n)&&(s+=n),e===Vs.Hours)0===s&&-12===n&&(s=12);else if(e===Vs.FractionalSeconds)return u=t,js(s,3).substr(0,u);var l=ks(a,ws.MinusSign);return js(s,t,l,r,o)}}function Hs(e,t,n,r){return void 0===n&&(n=ms.Format),void 0===r&&(r=!1),function(o,i){return function(e,t,n,r,o,i){switch(n){case Ms.Months:return function(e,t,n){var r=Ds(e);return Ss(Ss([r[5],r[6]],t),n)}(t,o,r)[e.getMonth()];case Ms.Days:return function(e,t,n){var r=Ds(e);return Ss(Ss([r[3],r[4]],t),n)}(t,o,r)[e.getDay()];case Ms.DayPeriods:var a=e.getHours(),u=e.getMinutes();if(i){var s,l=function(e){var t=Ds(e);return Ts(t),(t[19][2]||[]).map(function(e){return"string"==typeof e?Ns(e):[Ns(e[0]),Ns(e[1])]})}(t),c=function(e,t,n){var r=Ds(e);return Ts(r),Ss(Ss([r[19][0],r[19][1]],t)||[],n)||[]}(t,o,r);if(l.forEach(function(e,t){if(Array.isArray(e)){var n=e[0],r=e[1],o=r.hours;a>=n.hours&&u>=n.minutes&&(a<o||a===o&&u<r.minutes)&&(s=c[t])}else e.hours===a&&e.minutes===u&&(s=c[t])}),s)return s}return function(e,t,n){var r=Ds(e);return Ss(Ss([r[1],r[2]],t),n)}(t,o,r)[a<12?0:1];case Ms.Eras:return function(e,t){return Ss(Ds(e)[7],t)}(t,r)[e.getFullYear()<=0?0:1];default:throw new Error("unexpected translation type "+n)}}(o,i,e,t,n,r)}}function Ls(e){return function(t,n,r){var o=-1*r,i=ks(n,ws.MinusSign),a=o>0?Math.floor(o/60):Math.ceil(o/60);switch(e){case Ps.Short:return(o>=0?"+":"")+js(a,2,i)+js(Math.abs(o%60),2,i);case Ps.ShortGMT:return"GMT"+(o>=0?"+":"")+js(a,1,i);case Ps.Long:return"GMT"+(o>=0?"+":"")+js(a,2,i)+":"+js(Math.abs(o%60),2,i);case Ps.Extended:return 0===r?"Z":(o>=0?"+":"")+js(a,2,i)+":"+js(Math.abs(o%60),2,i);default:throw new Error('Unknown zone width "'+e+'"')}}}var Bs=0,Us=4;function zs(e,t){return void 0===t&&(t=!1),function(n,r){var o,i,a,u;if(t){var s=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,l=n.getDate();o=1+Math.floor((l+s)/7)}else{var c=(a=n.getFullYear(),u=new Date(a,Bs,1).getDay(),new Date(a,0,1+(u<=Us?Us:Us+7)-u)),d=(i=n,new Date(i.getFullYear(),i.getMonth(),i.getDate()+(Us-i.getDay()))).getTime()-c.getTime();o=1+Math.round(d/6048e5)}return js(o,e,ks(r,ws.MinusSign))}}var Zs={};function Gs(e,t){e=e.replace(/:/g,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function qs(e){return e instanceof Date&&!isNaN(e.valueOf())}var Qs=new ue("UseV4Plurals"),Ws=function(){},Ys=function(e){function t(t,n){var r=e.call(this)||this;return r.locale=t,r.deprecatedPluralFn=n,r}return o(t,e),t.prototype.getPluralCategory=function(e,t){switch(this.deprecatedPluralFn?this.deprecatedPluralFn(t||this.locale,e):function(e){return Ds(e)[18]}(t||this.locale)(e)){case gs.Zero:return"zero";case gs.One:return"one";case gs.Two:return"two";case gs.Few:return"few";case gs.Many:return"many";default:return"other"}},t}(Ws),Ks=function(){function e(e,t,n,r){this.$implicit=e,this.ngForOf=t,this.index=n,this.count=r}return Object.defineProperty(e.prototype,"first",{get:function(){return 0===this.index},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"last",{get:function(){return this.index===this.count-1},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"even",{get:function(){return this.index%2==0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"odd",{get:function(){return!this.even},enumerable:!0,configurable:!0}),e}(),$s=function(){function e(e,t,n){this._viewContainer=e,this._template=t,this._differs=n,this._ngForOfDirty=!0,this._differ=null}return Object.defineProperty(e.prototype,"ngForOf",{set:function(e){this._ngForOf=e,this._ngForOfDirty=!0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngForTrackBy",{get:function(){return this._trackByFn},set:function(e){on()&&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},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngForTemplate",{set:function(e){e&&(this._template=e)},enumerable:!0,configurable:!0}),e.prototype.ngDoCheck=function(){if(this._ngForOfDirty){this._ngForOfDirty=!1;var e=this._ngForOf;if(!this._differ&&e)try{this._differ=this._differs.find(e).create(this.ngForTrackBy)}catch(n){throw new Error("Cannot find a differ supporting object '"+e+"' of type '"+((t=e).name||typeof t)+"'. NgFor only supports binding to Iterables such as Arrays.")}}var t;if(this._differ){var n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}},e.prototype._applyChanges=function(e){var t=this,n=[];e.forEachOperation(function(e,r,o){if(null==e.previousIndex){var i=t._viewContainer.createEmbeddedView(t._template,new Ks(null,t._ngForOf,-1,-1),o),a=new Js(e,i);n.push(a)}else null==o?t._viewContainer.remove(r):(i=t._viewContainer.get(r),t._viewContainer.move(i,o),a=new Js(e,i),n.push(a))});for(var r=0;r<n.length;r++)this._perViewChange(n[r].view,n[r].record);r=0;for(var o=this._viewContainer.length;r<o;r++){var i=this._viewContainer.get(r);i.context.index=r,i.context.count=o,i.context.ngForOf=this._ngForOf}e.forEachIdentityChange(function(e){t._viewContainer.get(e.currentIndex).context.$implicit=e.item})},e.prototype._perViewChange=function(e,t){e.context.$implicit=t.item},e}(),Js=function(e,t){this.record=e,this.view=t},Xs=function(){function e(e,t){this._viewContainer=e,this._context=new el,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=t}return Object.defineProperty(e.prototype,"ngIf",{set:function(e){this._context.$implicit=this._context.ngIf=e,this._updateView()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngIfThen",{set:function(e){tl("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngIfElse",{set:function(e){tl("ngIfElse",e),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()},enumerable:!0,configurable:!0}),e.prototype._updateView=function(){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)))},e}(),el=function(){this.$implicit=null,this.ngIf=null};function tl(e,t){if(t&&!t.createEmbeddedView)throw new Error(e+" must be a TemplateRef, but received '"+me(t)+"'.")}var nl=function(){function e(e){this.locale=e}return e.prototype.transform=function(t,n,r,o){if(void 0===n&&(n="mediumDate"),null==t||""===t||t!=t)return null;try{return function(e,t,n,r){var o=function(e){if(qs(e))return e;if("number"==typeof e&&!isNaN(e))return new Date(e);if("string"==typeof e){e=e.trim();var t,n=parseFloat(e);if(!isNaN(e-n))return new Date(n);if(/^(\d{4}-\d{1,2}-\d{1,2})$/.test(e)){var r=u(e.split("-").map(function(e){return+e}),3);return new Date(r[0],r[1]-1,r[2])}if(t=e.match(Is))return function(e){var t=new Date(0),n=0,r=0,o=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])),o.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));var a=Number(e[4]||0)-n,u=Number(e[5]||0)-r,s=Number(e[6]||0),l=Math.round(1e3*parseFloat("0."+(e[7]||0)));return i.call(t,a,u,s,l),t}(t)}var o=new Date(e);if(!qs(o))throw new Error('Unable to convert "'+e+'" into a date');return o}(e);t=function e(t,n){var r=function(e){return Ds(e)[0]}(t);if(Os[r]=Os[r]||{},Os[r][n])return Os[r][n];var o="";switch(n){case"shortDate":o=Cs(t,_s.Short);break;case"mediumDate":o=Cs(t,_s.Medium);break;case"longDate":o=Cs(t,_s.Long);break;case"fullDate":o=Cs(t,_s.Full);break;case"shortTime":o=Es(t,_s.Short);break;case"mediumTime":o=Es(t,_s.Medium);break;case"longTime":o=Es(t,_s.Long);break;case"fullTime":o=Es(t,_s.Full);break;case"short":var i=e(t,"shortTime"),a=e(t,"shortDate");o=Rs(xs(t,_s.Short),[i,a]);break;case"medium":var u=e(t,"mediumTime"),s=e(t,"mediumDate");o=Rs(xs(t,_s.Medium),[u,s]);break;case"long":var l=e(t,"longTime"),c=e(t,"longDate");o=Rs(xs(t,_s.Long),[l,c]);break;case"full":var d=e(t,"fullTime"),f=e(t,"fullDate");o=Rs(xs(t,_s.Full),[d,f])}return o&&(Os[r][n]=o),o}(n,t)||t;for(var i,a=[];t;){if(!(i=As.exec(t))){a.push(t);break}var s=(a=a.concat(i.slice(1))).pop();if(!s)break;t=s}var l=o.getTimezoneOffset();r&&(l=Gs(r,l),o=function(e,t,n){var r=e.getTimezoneOffset();return function(e,t){return(e=new Date(e.getTime())).setMinutes(e.getMinutes()+t),e}(e,-1*(Gs(t,r)-r))}(o,r));var c="";return a.forEach(function(e){var t=function(e){if(Zs[e])return Zs[e];var t;switch(e){case"G":case"GG":case"GGG":t=Hs(Ms.Eras,bs.Abbreviated);break;case"GGGG":t=Hs(Ms.Eras,bs.Wide);break;case"GGGGG":t=Hs(Ms.Eras,bs.Narrow);break;case"y":t=Fs(Vs.FullYear,1,0,!1,!0);break;case"yy":t=Fs(Vs.FullYear,2,0,!0,!0);break;case"yyy":t=Fs(Vs.FullYear,3,0,!1,!0);break;case"yyyy":t=Fs(Vs.FullYear,4,0,!1,!0);break;case"M":case"L":t=Fs(Vs.Month,1,1);break;case"MM":case"LL":t=Fs(Vs.Month,2,1);break;case"MMM":t=Hs(Ms.Months,bs.Abbreviated);break;case"MMMM":t=Hs(Ms.Months,bs.Wide);break;case"MMMMM":t=Hs(Ms.Months,bs.Narrow);break;case"LLL":t=Hs(Ms.Months,bs.Abbreviated,ms.Standalone);break;case"LLLL":t=Hs(Ms.Months,bs.Wide,ms.Standalone);break;case"LLLLL":t=Hs(Ms.Months,bs.Narrow,ms.Standalone);break;case"w":t=zs(1);break;case"ww":t=zs(2);break;case"W":t=zs(1,!0);break;case"d":t=Fs(Vs.Date,1);break;case"dd":t=Fs(Vs.Date,2);break;case"E":case"EE":case"EEE":t=Hs(Ms.Days,bs.Abbreviated);break;case"EEEE":t=Hs(Ms.Days,bs.Wide);break;case"EEEEE":t=Hs(Ms.Days,bs.Narrow);break;case"EEEEEE":t=Hs(Ms.Days,bs.Short);break;case"a":case"aa":case"aaa":t=Hs(Ms.DayPeriods,bs.Abbreviated);break;case"aaaa":t=Hs(Ms.DayPeriods,bs.Wide);break;case"aaaaa":t=Hs(Ms.DayPeriods,bs.Narrow);break;case"b":case"bb":case"bbb":t=Hs(Ms.DayPeriods,bs.Abbreviated,ms.Standalone,!0);break;case"bbbb":t=Hs(Ms.DayPeriods,bs.Wide,ms.Standalone,!0);break;case"bbbbb":t=Hs(Ms.DayPeriods,bs.Narrow,ms.Standalone,!0);break;case"B":case"BB":case"BBB":t=Hs(Ms.DayPeriods,bs.Abbreviated,ms.Format,!0);break;case"BBBB":t=Hs(Ms.DayPeriods,bs.Wide,ms.Format,!0);break;case"BBBBB":t=Hs(Ms.DayPeriods,bs.Narrow,ms.Format,!0);break;case"h":t=Fs(Vs.Hours,1,-12);break;case"hh":t=Fs(Vs.Hours,2,-12);break;case"H":t=Fs(Vs.Hours,1);break;case"HH":t=Fs(Vs.Hours,2);break;case"m":t=Fs(Vs.Minutes,1);break;case"mm":t=Fs(Vs.Minutes,2);break;case"s":t=Fs(Vs.Seconds,1);break;case"ss":t=Fs(Vs.Seconds,2);break;case"S":t=Fs(Vs.FractionalSeconds,1);break;case"SS":t=Fs(Vs.FractionalSeconds,2);break;case"SSS":t=Fs(Vs.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":t=Ls(Ps.Short);break;case"ZZZZZ":t=Ls(Ps.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=Ls(Ps.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":t=Ls(Ps.Long);break;default:return null}return Zs[e]=t,t}(e);c+=t?t(o,n,l):"''"===e?"'":e.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),c}(t,n,o||this.locale,r)}catch(t){throw Error("InvalidPipeArgument: '"+t.message+"' for pipe '"+me(e)+"'")}},e}(),rl=function(){},ol=new ue("DocumentToken"),il="server",al=function(){function e(){}return e.prototype.ngOnInit=function(){},e}(),ul=jr({encapsulation:0,styles:[[""]],data:{}});function sl(e){return Ci(0,[(t=0,n=nl,r=[qn],ei(-1,t|=16,null,0,n,n,r)),(e()(),co(1,0,null,null,6,"p",[],null,null,null,null,null)),(e()(),bi(2,null,[" Author: ","\n"])),(e()(),co(3,0,null,null,0,"br",[],null,null,null,null,null)),(e()(),bi(4,null,[" Posted by: "," "])),(e()(),co(5,0,null,null,0,"br",[],null,null,null,null,null)),(e()(),bi(6,null,[" I've been here since ","\n"])),function(e,t,n){for(var r=new Array(n.length),o=0;o<n.length;o++){var i=n[o];r[o]={flags:8,name:i,ns:null,nonMinifiedName:i,securityContext:null,suffix:null}}return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:7,flags:128,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:-1,childCount:0,bindings:r,bindingFlags:so(r),outputs:[],element:null,provider:null,text:null,query:null,ngContent:null}}(0,0,new Array(2))],null,function(e,t){var n=t.component;e(t,2,0,n.quote.author),e(t,4,0,n.quote.poster),e(t,6,0,function(e,t,n,r){if(Tn.isWrapped(r)){r=Tn.unwrap(r);var o=e.def.nodes[6].bindingIndex+0,i=Tn.unwrap(e.oldValues[o]);e.oldValues[o]=new Tn(i)}return r}(t,0,0,e(t,7,0,Ho(t,0),n.quote.timePassed)))});var t,n,r}var ll=new S(function(e){return e.complete()}),cl=function(e){function t(t,n){var r=e.call(this,t)||this;r.sources=n,r.completed=0,r.haveValues=0;var o=n.length;r.values=new Array(o);for(var i=0;i<o;i++){var a=F(r,n[i],null,i);a&&r.add(a)}return r}return o(t,e),t.prototype.notifyNext=function(e,t,n,r,o){this.values[n]=t,o._hasValue||(o._hasValue=!0,this.haveValues++)},t.prototype.notifyComplete=function(e){var t=this.destination,n=this.haveValues,r=this.values,o=r.length;e._hasValue?(this.completed++,this.completed===o&&(n===o&&t.next(r),t.complete())):t.complete()},t}(H),dl=null;function fl(){return dl}var pl,hl={class:"className",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"},yl={"\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"},vl={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"};fe.Node&&(pl=fe.Node.prototype.contains||function(e){return!!(16&this.compareDocumentPosition(e))});var gl,ml=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.parse=function(e){throw new Error("parse not implemented")},t.makeCurrent=function(){var e;e=new t,dl||(dl=e)},t.prototype.hasProperty=function(e,t){return t in e},t.prototype.setProperty=function(e,t,n){e[t]=n},t.prototype.getProperty=function(e,t){return e[t]},t.prototype.invoke=function(e,t,n){var r;(r=e)[t].apply(r,s(n))},t.prototype.logError=function(e){window.console&&(console.error?console.error(e):console.log(e))},t.prototype.log=function(e){window.console&&window.console.log&&window.console.log(e)},t.prototype.logGroup=function(e){window.console&&window.console.group&&window.console.group(e)},t.prototype.logGroupEnd=function(){window.console&&window.console.groupEnd&&window.console.groupEnd()},Object.defineProperty(t.prototype,"attrToPropMap",{get:function(){return hl},enumerable:!0,configurable:!0}),t.prototype.contains=function(e,t){return pl.call(e,t)},t.prototype.querySelector=function(e,t){return e.querySelector(t)},t.prototype.querySelectorAll=function(e,t){return e.querySelectorAll(t)},t.prototype.on=function(e,t,n){e.addEventListener(t,n,!1)},t.prototype.onAndCancel=function(e,t,n){return e.addEventListener(t,n,!1),function(){e.removeEventListener(t,n,!1)}},t.prototype.dispatchEvent=function(e,t){e.dispatchEvent(t)},t.prototype.createMouseEvent=function(e){var t=this.getDefaultDocument().createEvent("MouseEvent");return t.initEvent(e,!0,!0),t},t.prototype.createEvent=function(e){var t=this.getDefaultDocument().createEvent("Event");return t.initEvent(e,!0,!0),t},t.prototype.preventDefault=function(e){e.preventDefault(),e.returnValue=!1},t.prototype.isPrevented=function(e){return e.defaultPrevented||null!=e.returnValue&&!e.returnValue},t.prototype.getInnerHTML=function(e){return e.innerHTML},t.prototype.getTemplateContent=function(e){return"content"in e&&this.isTemplateElement(e)?e.content:null},t.prototype.getOuterHTML=function(e){return e.outerHTML},t.prototype.nodeName=function(e){return e.nodeName},t.prototype.nodeValue=function(e){return e.nodeValue},t.prototype.type=function(e){return e.type},t.prototype.content=function(e){return this.hasProperty(e,"content")?e.content:e},t.prototype.firstChild=function(e){return e.firstChild},t.prototype.nextSibling=function(e){return e.nextSibling},t.prototype.parentElement=function(e){return e.parentNode},t.prototype.childNodes=function(e){return e.childNodes},t.prototype.childNodesAsList=function(e){for(var t=e.childNodes,n=new Array(t.length),r=0;r<t.length;r++)n[r]=t[r];return n},t.prototype.clearNodes=function(e){for(;e.firstChild;)e.removeChild(e.firstChild)},t.prototype.appendChild=function(e,t){e.appendChild(t)},t.prototype.removeChild=function(e,t){e.removeChild(t)},t.prototype.replaceChild=function(e,t,n){e.replaceChild(t,n)},t.prototype.remove=function(e){return e.parentNode&&e.parentNode.removeChild(e),e},t.prototype.insertBefore=function(e,t,n){e.insertBefore(n,t)},t.prototype.insertAllBefore=function(e,t,n){n.forEach(function(n){return e.insertBefore(n,t)})},t.prototype.insertAfter=function(e,t,n){e.insertBefore(n,t.nextSibling)},t.prototype.setInnerHTML=function(e,t){e.innerHTML=t},t.prototype.getText=function(e){return e.textContent},t.prototype.setText=function(e,t){e.textContent=t},t.prototype.getValue=function(e){return e.value},t.prototype.setValue=function(e,t){e.value=t},t.prototype.getChecked=function(e){return e.checked},t.prototype.setChecked=function(e,t){e.checked=t},t.prototype.createComment=function(e){return this.getDefaultDocument().createComment(e)},t.prototype.createTemplate=function(e){var t=this.getDefaultDocument().createElement("template");return t.innerHTML=e,t},t.prototype.createElement=function(e,t){return(t=t||this.getDefaultDocument()).createElement(e)},t.prototype.createElementNS=function(e,t,n){return(n=n||this.getDefaultDocument()).createElementNS(e,t)},t.prototype.createTextNode=function(e,t){return(t=t||this.getDefaultDocument()).createTextNode(e)},t.prototype.createScriptTag=function(e,t,n){var r=(n=n||this.getDefaultDocument()).createElement("SCRIPT");return r.setAttribute(e,t),r},t.prototype.createStyleElement=function(e,t){var n=(t=t||this.getDefaultDocument()).createElement("style");return this.appendChild(n,this.createTextNode(e,t)),n},t.prototype.createShadowRoot=function(e){return e.createShadowRoot()},t.prototype.getShadowRoot=function(e){return e.shadowRoot},t.prototype.getHost=function(e){return e.host},t.prototype.clone=function(e){return e.cloneNode(!0)},t.prototype.getElementsByClassName=function(e,t){return e.getElementsByClassName(t)},t.prototype.getElementsByTagName=function(e,t){return e.getElementsByTagName(t)},t.prototype.classList=function(e){return Array.prototype.slice.call(e.classList,0)},t.prototype.addClass=function(e,t){e.classList.add(t)},t.prototype.removeClass=function(e,t){e.classList.remove(t)},t.prototype.hasClass=function(e,t){return e.classList.contains(t)},t.prototype.setStyle=function(e,t,n){e.style[t]=n},t.prototype.removeStyle=function(e,t){e.style[t]=""},t.prototype.getStyle=function(e,t){return e.style[t]},t.prototype.hasStyle=function(e,t,n){var r=this.getStyle(e,t)||"";return n?r==n:r.length>0},t.prototype.tagName=function(e){return e.tagName},t.prototype.attributeMap=function(e){for(var t=new Map,n=e.attributes,r=0;r<n.length;r++){var o=n.item(r);t.set(o.name,o.value)}return t},t.prototype.hasAttribute=function(e,t){return e.hasAttribute(t)},t.prototype.hasAttributeNS=function(e,t,n){return e.hasAttributeNS(t,n)},t.prototype.getAttribute=function(e,t){return e.getAttribute(t)},t.prototype.getAttributeNS=function(e,t,n){return e.getAttributeNS(t,n)},t.prototype.setAttribute=function(e,t,n){e.setAttribute(t,n)},t.prototype.setAttributeNS=function(e,t,n,r){e.setAttributeNS(t,n,r)},t.prototype.removeAttribute=function(e,t){e.removeAttribute(t)},t.prototype.removeAttributeNS=function(e,t,n){e.removeAttributeNS(t,n)},t.prototype.templateAwareRoot=function(e){return this.isTemplateElement(e)?this.content(e):e},t.prototype.createHtmlDocument=function(){return document.implementation.createHTMLDocument("fakeTitle")},t.prototype.getDefaultDocument=function(){return document},t.prototype.getBoundingClientRect=function(e){try{return e.getBoundingClientRect()}catch(e){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}},t.prototype.getTitle=function(e){return e.title},t.prototype.setTitle=function(e,t){e.title=t||""},t.prototype.elementMatches=function(e,t){return!!this.isElementNode(e)&&(e.matches&&e.matches(t)||e.msMatchesSelector&&e.msMatchesSelector(t)||e.webkitMatchesSelector&&e.webkitMatchesSelector(t))},t.prototype.isTemplateElement=function(e){return this.isElementNode(e)&&"TEMPLATE"===e.nodeName},t.prototype.isTextNode=function(e){return e.nodeType===Node.TEXT_NODE},t.prototype.isCommentNode=function(e){return e.nodeType===Node.COMMENT_NODE},t.prototype.isElementNode=function(e){return e.nodeType===Node.ELEMENT_NODE},t.prototype.hasShadowRoot=function(e){return null!=e.shadowRoot&&e instanceof HTMLElement},t.prototype.isShadowRoot=function(e){return e instanceof DocumentFragment},t.prototype.importIntoDoc=function(e){return document.importNode(this.templateAwareRoot(e),!0)},t.prototype.adoptNode=function(e){return document.adoptNode(e)},t.prototype.getHref=function(e){return e.getAttribute("href")},t.prototype.getEventKey=function(e){var t=e.key;if(null==t){if(null==(t=e.keyIdentifier))return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===e.location&&vl.hasOwnProperty(t)&&(t=vl[t]))}return yl[t]||t},t.prototype.getGlobalEventTarget=function(e,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null},t.prototype.getHistory=function(){return window.history},t.prototype.getLocation=function(){return window.location},t.prototype.getBaseHref=function(e){var t,n=bl||(bl=document.querySelector("base"))?bl.getAttribute("href"):null;return null==n?null:(t=n,gl||(gl=document.createElement("a")),gl.setAttribute("href",t),"/"===gl.pathname.charAt(0)?gl.pathname:"/"+gl.pathname)},t.prototype.resetBaseElement=function(){bl=null},t.prototype.getUserAgent=function(){return window.navigator.userAgent},t.prototype.setData=function(e,t,n){this.setAttribute(e,"data-"+t,n)},t.prototype.getData=function(e,t){return this.getAttribute(e,"data-"+t)},t.prototype.getComputedStyle=function(e){return getComputedStyle(e)},t.prototype.supportsWebAnimation=function(){return"function"==typeof Element.prototype.animate},t.prototype.performanceNow=function(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()},t.prototype.supportsCookies=function(){return!0},t.prototype.getCookie=function(e){return function(e,t){var n,r;t=encodeURIComponent(t);try{for(var o=a(e.split(";")),i=o.next();!i.done;i=o.next()){var s=i.value,l=s.indexOf("="),c=u(-1==l?[s,""]:[s.slice(0,l),s.slice(l+1)],2),d=c[1];if(c[0].trim()===t)return decodeURIComponent(d)}}catch(e){n={error:e}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return null}(document.cookie,e)},t.prototype.setCookie=function(e,t){document.cookie=encodeURIComponent(e)+"="+encodeURIComponent(t)},t}(function(e){function t(){var t=e.call(this)||this;t._animationPrefix=null,t._transitionEnd=null;try{var n=t.createElement("div",document);if(null!=t.getStyle(n,"animationName"))t._animationPrefix="";else for(var r=["Webkit","Moz","O","ms"],o=0;o<r.length;o++)if(null!=t.getStyle(n,r[o]+"AnimationName")){t._animationPrefix="-"+r[o].toLowerCase()+"-";break}var i={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};Object.keys(i).forEach(function(e){null!=t.getStyle(n,e)&&(t._transitionEnd=i[e])})}catch(e){t._animationPrefix=null,t._transitionEnd=null}return t}return o(t,e),t.prototype.getDistributedNodes=function(e){return e.getDistributedNodes()},t.prototype.resolveAndSetHref=function(e,t,n){e.href=null==n?t:t+"/../"+n},t.prototype.supportsDOMEvents=function(){return!0},t.prototype.supportsNativeShadowDOM=function(){return"function"==typeof document.body.createShadowRoot},t.prototype.getAnimationPrefix=function(){return this._animationPrefix?this._animationPrefix:""},t.prototype.getTransitionEnd=function(){return this._transitionEnd?this._transitionEnd:""},t.prototype.supportsAnimation=function(){return null!=this._animationPrefix&&null!=this._transitionEnd},t}(function(){function e(){this.resourceLoaderType=null}return Object.defineProperty(e.prototype,"attrToPropMap",{get:function(){return this._attrToPropMap},set:function(e){this._attrToPropMap=e},enumerable:!0,configurable:!0}),e}())),bl=null,_l=ol;function wl(){return!!window.history.pushState}var Cl=function(e){function t(t){var n=e.call(this)||this;return n._doc=t,n._init(),n}return o(t,e),t.prototype._init=function(){this.location=fl().getLocation(),this._history=fl().getHistory()},t.prototype.getBaseHrefFromDOM=function(){return fl().getBaseHref(this._doc)},t.prototype.onPopState=function(e){fl().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",e,!1)},t.prototype.onHashChange=function(e){fl().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",e,!1)},Object.defineProperty(t.prototype,"pathname",{get:function(){return this.location.pathname},set:function(e){this.location.pathname=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"search",{get:function(){return this.location.search},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hash",{get:function(){return this.location.hash},enumerable:!0,configurable:!0}),t.prototype.pushState=function(e,t,n){wl()?this._history.pushState(e,t,n):this.location.hash=n},t.prototype.replaceState=function(e,t,n){wl()?this._history.replaceState(e,t,n):this.location.hash=n},t.prototype.forward=function(){this._history.forward()},t.prototype.back=function(){this._history.back()},t.ctorParameters=function(){return[{type:void 0,decorators:[{type:we,args:[_l]}]}]},t}(ps),El=new ue("TRANSITION_ID"),xl=[{provide:yt,useFactory:function(e,t,n){return function(){n.get(vt).donePromise.then(function(){var n=fl();Array.prototype.slice.apply(n.querySelectorAll(t,"style[ng-transition]")).filter(function(t){return n.getAttribute(t,"ng-transition")===e}).forEach(function(e){return n.remove(e)})})}},deps:[El,_l,Ie],multi:!0}],kl=function(){function e(){}return e.init=function(){var t;t=new e,en=t},e.prototype.addToWindow=function(e){fe.getAngularTestability=function(t,n){void 0===n&&(n=!0);var r=e.findTestabilityInTree(t,n);if(null==r)throw new Error("Could not find testability for element.");return r},fe.getAllAngularTestabilities=function(){return e.getAllTestabilities()},fe.getAllAngularRootElements=function(){return e.getAllRootElements()},fe.frameworkStabilizers||(fe.frameworkStabilizers=[]),fe.frameworkStabilizers.push(function(e){var t=fe.getAllAngularTestabilities(),n=t.length,r=!1,o=function(t){r=r||t,0==--n&&e(r)};t.forEach(function(e){e.whenStable(o)})})},e.prototype.findTestabilityInTree=function(e,t,n){if(null==t)return null;var r=e.getTestability(t);return null!=r?r:n?fl().isShadowRoot(t)?this.findTestabilityInTree(e,fl().getHost(t),!0):this.findTestabilityInTree(e,fl().parentElement(t),!0):null},e}();function Tl(e,t){"undefined"!=typeof COMPILED&&COMPILED||((fe.ng=fe.ng||{})[e]=t)}var Sl={ApplicationRef:dn,NgZone:Zt};function Nl(e){return En(e)}var Dl=new ue("EventManagerPlugins"),Il=function(){function e(e,t){var n=this;this._zone=t,this._eventNameToPlugin=new Map,e.forEach(function(e){return e.manager=n}),this._plugins=e.slice().reverse()}return e.prototype.addEventListener=function(e,t,n){return this._findPluginFor(t).addEventListener(e,t,n)},e.prototype.addGlobalEventListener=function(e,t,n){return this._findPluginFor(t).addGlobalEventListener(e,t,n)},e.prototype.getZone=function(){return this._zone},e.prototype._findPluginFor=function(e){var t=this._eventNameToPlugin.get(e);if(t)return t;for(var n=this._plugins,r=0;r<n.length;r++){var o=n[r];if(o.supports(e))return this._eventNameToPlugin.set(e,o),o}throw new Error("No event manager plugin found for event "+e)},e}(),Ol=function(){function e(e){this._doc=e}return e.prototype.addGlobalEventListener=function(e,t,n){var r=fl().getGlobalEventTarget(this._doc,e);if(!r)throw new Error("Unsupported event target "+r+" for event "+t);return this.addEventListener(r,t,n)},e}(),Al=function(){function e(){this._stylesSet=new Set}return e.prototype.addStyles=function(e){var t=this,n=new Set;e.forEach(function(e){t._stylesSet.has(e)||(t._stylesSet.add(e),n.add(e))}),this.onStylesAdded(n)},e.prototype.onStylesAdded=function(e){},e.prototype.getAllStyles=function(){return Array.from(this._stylesSet)},e}(),Pl=function(e){function t(t){var n=e.call(this)||this;return n._doc=t,n._hostNodes=new Set,n._styleNodes=new Set,n._hostNodes.add(t.head),n}return o(t,e),t.prototype._addStylesToHost=function(e,t){var n=this;e.forEach(function(e){var r=n._doc.createElement("style");r.textContent=e,n._styleNodes.add(t.appendChild(r))})},t.prototype.addHost=function(e){this._addStylesToHost(this._stylesSet,e),this._hostNodes.add(e)},t.prototype.removeHost=function(e){this._hostNodes.delete(e)},t.prototype.onStylesAdded=function(e){var t=this;this._hostNodes.forEach(function(n){return t._addStylesToHost(e,n)})},t.prototype.ngOnDestroy=function(){this._styleNodes.forEach(function(e){return fl().remove(e)})},t}(Al),Vl={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/"},Ml=/%COMP%/g,Rl="_nghost-%COMP%",jl="_ngcontent-%COMP%";function Fl(e,t,n){for(var r=0;r<t.length;r++){var o=t[r];Array.isArray(o)?Fl(e,o,n):(o=o.replace(Ml,e),n.push(o))}return n}function Hl(e){return function(t){!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}var Ll=function(){function e(e,t){this.eventManager=e,this.sharedStylesHost=t,this.rendererByCompId=new Map,this.defaultRenderer=new Bl(e)}return e.prototype.createRenderer=function(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case We.Emulated:var n=this.rendererByCompId.get(t.id);return n||(n=new Gl(this.eventManager,this.sharedStylesHost,t),this.rendererByCompId.set(t.id,n)),n.applyToHost(e),n;case We.Native:case We.ShadowDom:return new ql(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){var r=Fl(t.id,t.styles,[]);this.sharedStylesHost.addStyles(r),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}},e.prototype.begin=function(){},e.prototype.end=function(){},e}(),Bl=function(){function e(e){this.eventManager=e,this.data=Object.create(null)}return e.prototype.destroy=function(){},e.prototype.createElement=function(e,t){return t?document.createElementNS(Vl[t],e):document.createElement(e)},e.prototype.createComment=function(e){return document.createComment(e)},e.prototype.createText=function(e){return document.createTextNode(e)},e.prototype.appendChild=function(e,t){e.appendChild(t)},e.prototype.insertBefore=function(e,t,n){e&&e.insertBefore(t,n)},e.prototype.removeChild=function(e,t){e&&e.removeChild(t)},e.prototype.selectRootElement=function(e){var t="string"==typeof e?document.querySelector(e):e;if(!t)throw new Error('The selector "'+e+'" did not match any elements');return t.textContent="",t},e.prototype.parentNode=function(e){return e.parentNode},e.prototype.nextSibling=function(e){return e.nextSibling},e.prototype.setAttribute=function(e,t,n,r){if(r){t=r+":"+t;var o=Vl[r];o?e.setAttributeNS(o,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)},e.prototype.removeAttribute=function(e,t,n){if(n){var r=Vl[n];r?e.removeAttributeNS(r,t):e.removeAttribute(n+":"+t)}else e.removeAttribute(t)},e.prototype.addClass=function(e,t){e.classList.add(t)},e.prototype.removeClass=function(e,t){e.classList.remove(t)},e.prototype.setStyle=function(e,t,n,r){r&hn.DashCase?e.style.setProperty(t,n,r&hn.Important?"important":""):e.style[t]=n},e.prototype.removeStyle=function(e,t,n){n&hn.DashCase?e.style.removeProperty(t):e.style[t]=""},e.prototype.setProperty=function(e,t,n){zl(t,"property"),e[t]=n},e.prototype.setValue=function(e,t){e.nodeValue=t},e.prototype.listen=function(e,t,n){return zl(t,"listener"),"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,Hl(n)):this.eventManager.addEventListener(e,t,Hl(n))},e}(),Ul="@".charCodeAt(0);function zl(e,t){if(e.charCodeAt(0)===Ul)throw new Error("Found the synthetic "+t+" "+e+'. Please include either "BrowserAnimationsModule" or "NoopAnimationsModule" in your application.')}var Zl,Gl=function(e){function t(t,n,r){var o=e.call(this,t)||this;o.component=r;var i=Fl(r.id,r.styles,[]);return n.addStyles(i),o.contentAttr=jl.replace(Ml,r.id),o.hostAttr=Rl.replace(Ml,r.id),o}return o(t,e),t.prototype.applyToHost=function(t){e.prototype.setAttribute.call(this,t,this.hostAttr,"")},t.prototype.createElement=function(t,n){var r=e.prototype.createElement.call(this,t,n);return e.prototype.setAttribute.call(this,r,this.contentAttr,""),r},t}(Bl),ql=function(e){function t(t,n,r,o){var i=e.call(this,t)||this;i.sharedStylesHost=n,i.hostEl=r,i.component=o,i.shadowRoot=o.encapsulation===We.ShadowDom?r.attachShadow({mode:"open"}):r.createShadowRoot(),i.sharedStylesHost.addHost(i.shadowRoot);for(var a=Fl(o.id,o.styles,[]),u=0;u<a.length;u++){var s=document.createElement("style");s.textContent=a[u],i.shadowRoot.appendChild(s)}return i}return o(t,e),t.prototype.nodeOrShadowRoot=function(e){return e===this.hostEl?this.shadowRoot:e},t.prototype.destroy=function(){this.sharedStylesHost.removeHost(this.shadowRoot)},t.prototype.appendChild=function(t,n){return e.prototype.appendChild.call(this,this.nodeOrShadowRoot(t),n)},t.prototype.insertBefore=function(t,n,r){return e.prototype.insertBefore.call(this,this.nodeOrShadowRoot(t),n,r)},t.prototype.removeChild=function(t,n){return e.prototype.removeChild.call(this,this.nodeOrShadowRoot(t),n)},t.prototype.parentNode=function(t){return this.nodeOrShadowRoot(e.prototype.parentNode.call(this,this.nodeOrShadowRoot(t)))},t}(Bl),Ql="undefined"!=typeof Zone&&Zone.__symbol__||function(e){return"__zone_symbol__"+e},Wl=Ql("addEventListener"),Yl=Ql("removeEventListener"),Kl={},$l="__zone_symbol__propagationStopped";"undefined"!=typeof Zone&&Zone[Ql("BLACK_LISTED_EVENTS")]&&(Zl={});var Jl=function(e){return!!Zl&&Zl.hasOwnProperty(e)},Xl=function(e){var t=Kl[e.type];if(t){var n=this[t];if(n){var r=[e];if(1===n.length)return(a=n[0]).zone!==Zone.current?a.zone.run(a.handler,this,r):a.handler.apply(this,r);for(var o=n.slice(),i=0;i<o.length&&!0!==e[$l];i++){var a;(a=o[i]).zone!==Zone.current?a.zone.run(a.handler,this,r):a.handler.apply(this,r)}}}},ec=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.ngZone=n,r&&function(e){return e===il}(r)||o.patchEvent(),o}return o(t,e),t.prototype.patchEvent=function(){if("undefined"!=typeof Event&&Event&&Event.prototype&&!Event.prototype.__zone_symbol__stopImmediatePropagation){var e=Event.prototype.__zone_symbol__stopImmediatePropagation=Event.prototype.stopImmediatePropagation;Event.prototype.stopImmediatePropagation=function(){this&&(this[$l]=!0),e&&e.apply(this,arguments)}}},t.prototype.supports=function(e){return!0},t.prototype.addEventListener=function(e,t,n){var r=this,o=n;if(!e[Wl]||Zt.isInAngularZone()&&!Jl(t))e.addEventListener(t,o,!1);else{var i=Kl[t];i||(i=Kl[t]=Ql("ANGULAR"+t+"FALSE"));var a=e[i],u=a&&a.length>0;a||(a=e[i]=[]);var s=Jl(t)?Zone.root:Zone.current;if(0===a.length)a.push({zone:s,handler:o});else{for(var l=!1,c=0;c<a.length;c++)if(a[c].handler===o){l=!0;break}l||a.push({zone:s,handler:o})}u||e[Wl](t,Xl,!1)}return function(){return r.removeEventListener(e,t,o)}},t.prototype.removeEventListener=function(e,t,n){var r=e[Yl];if(!r)return e.removeEventListener.apply(e,[t,n,!1]);var o=Kl[t],i=o&&e[o];if(!i)return e.removeEventListener.apply(e,[t,n,!1]);for(var a=!1,u=0;u<i.length;u++)if(i[u].handler===n){a=!0,i.splice(u,1);break}a?0===i.length&&r.apply(e,[t,Xl,!1]):e.removeEventListener.apply(e,[t,n,!1])},t}(Ol),tc={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0},nc=new ue("HammerGestureConfig"),rc=new ue("HammerLoader"),oc=function(){function e(){this.events=[],this.overrides={}}return e.prototype.buildHammer=function(e){var t=new Hammer(e,this.options);for(var n in t.get("pinch").set({enable:!0}),t.get("rotate").set({enable:!0}),this.overrides)t.get(n).set(this.overrides[n]);return t},e}(),ic=function(e){function t(t,n,r,o){var i=e.call(this,t)||this;return i._config=n,i.console=r,i.loader=o,i}return o(t,e),t.prototype.supports=function(e){return!(!tc.hasOwnProperty(e.toLowerCase())&&!this.isCustomEvent(e)||!window.Hammer&&!this.loader&&(this.console.warn('The "'+e+'" event cannot be bound because Hammer.JS is not loaded and no custom loader has been specified.'),1))},t.prototype.addEventListener=function(e,t,n){var r=this,o=this.manager.getZone();if(t=t.toLowerCase(),!window.Hammer&&this.loader){var i=!1,a=function(){i=!0};return this.loader().then(function(){if(!window.Hammer)return r.console.warn("The custom HAMMER_LOADER completed, but Hammer.JS is not present."),void(a=function(){});i||(a=r.addEventListener(e,t,n))}).catch(function(){r.console.warn('The "'+t+'" event cannot be bound because the custom Hammer.JS loader failed.'),a=function(){}}),function(){a()}}return o.runOutsideAngular(function(){var i=r._config.buildHammer(e),a=function(e){o.runGuarded(function(){n(e)})};return i.on(t,a),function(){return i.off(t,a)}})},t.prototype.isCustomEvent=function(e){return this._config.events.indexOf(e)>-1},t}(Ol),ac=["alt","control","meta","shift"],uc={alt:function(e){return e.altKey},control:function(e){return e.ctrlKey},meta:function(e){return e.metaKey},shift:function(e){return e.shiftKey}},sc=function(e){function t(t){return e.call(this,t)||this}return o(t,e),t.prototype.supports=function(e){return null!=t.parseEventName(e)},t.prototype.addEventListener=function(e,n,r){var o=t.parseEventName(n),i=t.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(function(){return fl().onAndCancel(e,o.domEventName,i)})},t.parseEventName=function(e){var n=e.toLowerCase().split("."),r=n.shift();if(0===n.length||"keydown"!==r&&"keyup"!==r)return null;var o=t._normalizeKey(n.pop()),i="";if(ac.forEach(function(e){var t=n.indexOf(e);t>-1&&(n.splice(t,1),i+=e+".")}),i+=o,0!=n.length||0===o.length)return null;var a={};return a.domEventName=r,a.fullKey=i,a},t.getEventFullKey=function(e){var t="",n=fl().getEventKey(e);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),ac.forEach(function(r){r!=n&&(0,uc[r])(e)&&(t+=r+".")}),t+=n},t.eventCallback=function(e,n,r){return function(o){t.getEventFullKey(o)===e&&r.runGuarded(function(){return n(o)})}},t._normalizeKey=function(e){switch(e){case"esc":return"escape";default:return e}},t}(Ol),lc=function(){},cc=function(e){function t(t){var n=e.call(this)||this;return n._doc=t,n}return o(t,e),t.prototype.sanitize=function(e,t){if(null==t)return null;switch(e){case br.NONE:return t;case br.HTML:return t instanceof fc?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"HTML"),function(e,t){var n=null;try{rr=rr||new $n(e);var r=t?String(t):"";n=rr.getInertBodyElement(r);var o=5,i=r;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=rr.getInertBodyElement(r)}while(r!==i);var a=new fr,u=a.sanitizeChildren(vr(n)||n);return on()&&a.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content (see http://g.co/ng/security#xss)."),u}finally{if(n)for(var s=vr(n)||n;s.firstChild;)s.removeChild(s.firstChild)}}(this._doc,String(t)));case br.STYLE:return t instanceof pc?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"Style"),function(e){if(!(e=String(e).trim()))return"";var t=e.match(mr);return t&&er(t[1])===t[1]||e.match(gr)&&function(e){for(var t=!0,n=!0,r=0;r<e.length;r++){var o=e.charAt(r);"'"===o&&n?t=!t:'"'===o&&t&&(n=!n)}return t&&n}(e)?e:(on()&&console.warn("WARNING: sanitizing unsafe style value "+e+" (see http://g.co/ng/security#xss)."),"unsafe")}(t));case br.SCRIPT:if(t instanceof hc)return t.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(t,"Script"),new Error("unsafe value used in a script context");case br.URL:return t instanceof vc||t instanceof yc?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"URL"),er(String(t)));case br.RESOURCE_URL:if(t instanceof vc)return t.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(t,"ResourceURL"),new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext "+e+" (see http://g.co/ng/security#xss)")}},t.prototype.checkNotSafeValue=function(e,t){if(e instanceof dc)throw new Error("Required a safe "+t+", got a "+e.getTypeName()+" (see http://g.co/ng/security#xss)")},t.prototype.bypassSecurityTrustHtml=function(e){return new fc(e)},t.prototype.bypassSecurityTrustStyle=function(e){return new pc(e)},t.prototype.bypassSecurityTrustScript=function(e){return new hc(e)},t.prototype.bypassSecurityTrustUrl=function(e){return new yc(e)},t.prototype.bypassSecurityTrustResourceUrl=function(e){return new vc(e)},t}(lc),dc=function(){function e(e){this.changingThisBreaksApplicationSecurity=e}return e.prototype.toString=function(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"},e}(),fc=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.getTypeName=function(){return"HTML"},t}(dc),pc=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.getTypeName=function(){return"Style"},t}(dc),hc=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.getTypeName=function(){return"Script"},t}(dc),yc=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.getTypeName=function(){return"URL"},t}(dc),vc=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.getTypeName=function(){return"ResourceURL"},t}(dc),gc=un(Gn,"browser",[{provide:wt,useValue:"browser"},{provide:_t,useValue:function(){ml.makeCurrent(),kl.init()},multi:!0},{provide:ps,useClass:Cl,deps:[_l]},{provide:_l,useFactory:function(){return document},deps:[]}]);function mc(){return new nt}var bc=function(){function e(e){if(e)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}return e.withServerTransition=function(t){return{ngModule:e,providers:[{provide:gt,useValue:t.appId},{provide:El,useExisting:gt},xl]}},e}();"undefined"!=typeof window&&window;var _c=function(){function e(){}return Object.defineProperty(e.prototype,"value",{get:function(){return this.control?this.control.value:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"valid",{get:function(){return this.control?this.control.valid:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"invalid",{get:function(){return this.control?this.control.invalid:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pending",{get:function(){return this.control?this.control.pending:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disabled",{get:function(){return this.control?this.control.disabled:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"enabled",{get:function(){return this.control?this.control.enabled:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"errors",{get:function(){return this.control?this.control.errors:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pristine",{get:function(){return this.control?this.control.pristine:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dirty",{get:function(){return this.control?this.control.dirty:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"touched",{get:function(){return this.control?this.control.touched:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"status",{get:function(){return this.control?this.control.status:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"untouched",{get:function(){return this.control?this.control.untouched:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"statusChanges",{get:function(){return this.control?this.control.statusChanges:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"valueChanges",{get:function(){return this.control?this.control.valueChanges:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return null},enumerable:!0,configurable:!0}),e.prototype.reset=function(e){void 0===e&&(e=void 0),this.control&&this.control.reset(e)},e.prototype.hasError=function(e,t){return!!this.control&&this.control.hasError(e,t)},e.prototype.getError=function(e,t){return this.control?this.control.getError(e,t):null},e}(),wc=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),Object.defineProperty(t.prototype,"formDirective",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"path",{get:function(){return null},enumerable:!0,configurable:!0}),t}(_c);function Cc(e){return null==e||0===e.length}var Ec=/^(?=.{1,254}$)(?=.{1,64}@)[-!#$%&'*+/0-9=?A-Z^_`a-z{|}~]+(\.[-!#$%&'*+/0-9=?A-Z^_`a-z{|}~]+)*@[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?(\.[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?)*$/,xc=function(){function e(){}return e.min=function(e){return function(t){if(Cc(t.value)||Cc(e))return null;var n=parseFloat(t.value);return!isNaN(n)&&n<e?{min:{min:e,actual:t.value}}:null}},e.max=function(e){return function(t){if(Cc(t.value)||Cc(e))return null;var n=parseFloat(t.value);return!isNaN(n)&&n>e?{max:{max:e,actual:t.value}}:null}},e.required=function(e){return Cc(e.value)?{required:!0}:null},e.requiredTrue=function(e){return!0===e.value?null:{required:!0}},e.email=function(e){return Cc(e.value)?null:Ec.test(e.value)?null:{email:!0}},e.minLength=function(e){return function(t){if(Cc(t.value))return null;var n=t.value?t.value.length:0;return n<e?{minlength:{requiredLength:e,actualLength:n}}:null}},e.maxLength=function(e){return function(t){var n=t.value?t.value.length:0;return n>e?{maxlength:{requiredLength:e,actualLength:n}}:null}},e.pattern=function(t){return t?("string"==typeof t?(r="","^"!==t.charAt(0)&&(r+="^"),r+=t,"$"!==t.charAt(t.length-1)&&(r+="$"),n=new RegExp(r)):(r=t.toString(),n=t),function(e){if(Cc(e.value))return null;var t=e.value;return n.test(t)?null:{pattern:{requiredPattern:r,actualValue:t}}}):e.nullValidator;var n,r},e.nullValidator=function(e){return null},e.compose=function(e){if(!e)return null;var t=e.filter(kc);return 0==t.length?null:function(e){return Sc(function(e,n){return t.map(function(t){return t(e)})}(e))}},e.composeAsync=function(e){if(!e)return null;var t=e.filter(kc);return 0==t.length?null:function(e){return function e(){for(var t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return"function"==typeof n[n.length-1]&&(t=n.pop()),1===n.length&&h(n[0])&&(n=n[0]),0===n.length?ll:t?e(n).pipe(L(function(e){return t.apply(void 0,e)})):new S(function(e){return new cl(e,n)})}(function(e,n){return t.map(function(t){return t(e)})}(e).map(Tc)).pipe(L(Sc))}},e}();function kc(e){return null!=e}function Tc(e){var t,n=ht(e)?Z(e):e;if(!(t=n)||"function"!=typeof t.subscribe)throw new Error("Expected validator to return Promise or Observable.");return n}function Sc(e){var t=e.reduce(function(e,t){return null!=t?i({},e,t):e},{});return 0===Object.keys(t).length?null:t}var Nc=new ue("NgValueAccessor"),Dc=function(){function e(e,t){this._renderer=e,this._elementRef=t,this.onChange=function(e){},this.onTouched=function(){}}return e.prototype.writeValue=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"checked",e)},e.prototype.registerOnChange=function(e){this.onChange=e},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},e}(),Ic=new ue("CompositionEventMode"),Oc=function(){function e(e,t,n){var r;this._renderer=e,this._elementRef=t,this._compositionMode=n,this.onChange=function(e){},this.onTouched=function(){},this._composing=!1,null==this._compositionMode&&(this._compositionMode=(r=fl()?fl().getUserAgent():"",!/android (\d+)/.test(r.toLowerCase())))}return e.prototype.writeValue=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==e?"":e)},e.prototype.registerOnChange=function(e){this.onChange=e},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},e.prototype._handleInput=function(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)},e.prototype._compositionStart=function(){this._composing=!0},e.prototype._compositionEnd=function(e){this._composing=!1,this._compositionMode&&this.onChange(e)},e}();function Ac(e){return e.validate?function(t){return e.validate(t)}:e}function Pc(e){return e.validate?function(t){return e.validate(t)}:e}var Vc=function(){function e(e,t){this._renderer=e,this._elementRef=t,this.onChange=function(e){},this.onTouched=function(){}}return e.prototype.writeValue=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==e?"":e)},e.prototype.registerOnChange=function(e){this.onChange=function(t){e(""==t?null:parseFloat(t))}},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},e}();function Mc(){throw new Error("unimplemented")}var Rc=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._parent=null,t.name=null,t.valueAccessor=null,t._rawValidators=[],t._rawAsyncValidators=[],t}return o(t,e),Object.defineProperty(t.prototype,"validator",{get:function(){return Mc()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"asyncValidator",{get:function(){return Mc()},enumerable:!0,configurable:!0}),t}(_c),jc=function(){function e(){this._accessors=[]}return e.prototype.add=function(e,t){this._accessors.push([e,t])},e.prototype.remove=function(e){for(var t=this._accessors.length-1;t>=0;--t)if(this._accessors[t][1]===e)return void this._accessors.splice(t,1)},e.prototype.select=function(e){var t=this;this._accessors.forEach(function(n){t._isSameGroup(n,e)&&n[1]!==e&&n[1].fireUncheck(e.value)})},e.prototype._isSameGroup=function(e,t){return!!e[0].control&&e[0]._parent===t._control._parent&&e[1].name===t.name},e}(),Fc=function(){function e(e,t,n,r){this._renderer=e,this._elementRef=t,this._registry=n,this._injector=r,this.onChange=function(){},this.onTouched=function(){}}return e.prototype.ngOnInit=function(){this._control=this._injector.get(Rc),this._checkName(),this._registry.add(this._control,this)},e.prototype.ngOnDestroy=function(){this._registry.remove(this)},e.prototype.writeValue=function(e){this._state=e===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)},e.prototype.registerOnChange=function(e){var t=this;this._fn=e,this.onChange=function(){e(t.value),t._registry.select(t)}},e.prototype.fireUncheck=function(e){this.writeValue(e)},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},e.prototype._checkName=function(){this.name&&this.formControlName&&this.name!==this.formControlName&&this._throwNameError(),!this.name&&this.formControlName&&(this.name=this.formControlName)},e.prototype._throwNameError=function(){throw new Error('\n      If you define both a name and a formControlName attribute on your radio button, their values\n      must match. Ex: <input type="radio" formControlName="food" name="food">\n    ')},e}(),Hc='\n    <div [formGroup]="myGroup">\n       <div formGroupName="person">\n          <input formControlName="firstName">\n       </div>\n    </div>\n\n    In your class:\n\n    this.myGroup = new FormGroup({\n       person: new FormGroup({ firstName: new FormControl() })\n    });',Lc='\n    <form>\n       <div ngModelGroup="person">\n          <input [(ngModel)]="person.name" name="firstName">\n       </div>\n    </form>';function Bc(e,t){return s(t.path,[e])}function Uc(e,t){e||Zc(t,"Cannot find control with"),t.valueAccessor||Zc(t,"No value accessor for form control with"),e.validator=xc.compose([e.validator,t.validator]),e.asyncValidator=xc.composeAsync([e.asyncValidator,t.asyncValidator]),t.valueAccessor.writeValue(e.value),function(e,t){t.valueAccessor.registerOnChange(function(n){e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&zc(e,t)})}(e,t),function(e,t){e.registerOnChange(function(e,n){t.valueAccessor.writeValue(e),n&&t.viewToModelUpdate(e)})}(e,t),function(e,t){t.valueAccessor.registerOnTouched(function(){e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&zc(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),t.valueAccessor.setDisabledState&&e.registerOnDisabledChange(function(e){t.valueAccessor.setDisabledState(e)}),t._rawValidators.forEach(function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange(function(){return e.updateValueAndValidity()})}),t._rawAsyncValidators.forEach(function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange(function(){return e.updateValueAndValidity()})})}function zc(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function Zc(e,t){var n;throw n=e.path.length>1?"path: '"+e.path.join(" -> ")+"'":e.path[0]?"name: '"+e.path+"'":"unspecified name attribute",new Error(t+" "+n)}function Gc(e){return null!=e?xc.compose(e.map(Ac)):null}function qc(e){return null!=e?xc.composeAsync(e.map(Pc)):null}var Qc=[Dc,function(){function e(e,t){this._renderer=e,this._elementRef=t,this.onChange=function(e){},this.onTouched=function(){}}return e.prototype.writeValue=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(e))},e.prototype.registerOnChange=function(e){this.onChange=function(t){e(""==t?null:parseFloat(t))}},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},e}(),Vc,function(){function e(e,t){this._renderer=e,this._elementRef=t,this._optionMap=new Map,this._idCounter=0,this.onChange=function(e){},this.onTouched=function(){},this._compareWith=ge}return Object.defineProperty(e.prototype,"compareWith",{set:function(e){if("function"!=typeof e)throw new Error("compareWith must be a function, but received "+JSON.stringify(e));this._compareWith=e},enumerable:!0,configurable:!0}),e.prototype.writeValue=function(e){this.value=e;var t=this._getOptionId(e);null==t&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);var n=function(e,t){return null==e?""+t:(t&&"object"==typeof t&&(t="Object"),(e+": "+t).slice(0,50))}(t,e);this._renderer.setProperty(this._elementRef.nativeElement,"value",n)},e.prototype.registerOnChange=function(e){var t=this;this.onChange=function(n){t.value=t._getOptionValue(n),e(t.value)}},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},e.prototype._registerOption=function(){return(this._idCounter++).toString()},e.prototype._getOptionId=function(e){var t,n;try{for(var r=a(Array.from(this._optionMap.keys())),o=r.next();!o.done;o=r.next()){var i=o.value;if(this._compareWith(this._optionMap.get(i),e))return i}}catch(e){t={error:e}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return null},e.prototype._getOptionValue=function(e){var t=function(e){return e.split(":")[0]}(e);return this._optionMap.has(t)?this._optionMap.get(t):e},e}(),function(){function e(e,t){this._renderer=e,this._elementRef=t,this._optionMap=new Map,this._idCounter=0,this.onChange=function(e){},this.onTouched=function(){},this._compareWith=ge}return Object.defineProperty(e.prototype,"compareWith",{set:function(e){if("function"!=typeof e)throw new Error("compareWith must be a function, but received "+JSON.stringify(e));this._compareWith=e},enumerable:!0,configurable:!0}),e.prototype.writeValue=function(e){var t,n=this;if(this.value=e,Array.isArray(e)){var r=e.map(function(e){return n._getOptionId(e)});t=function(e,t){e._setSelected(r.indexOf(t.toString())>-1)}}else t=function(e,t){e._setSelected(!1)};this._optionMap.forEach(t)},e.prototype.registerOnChange=function(e){var t=this;this.onChange=function(n){var r=[];if(n.hasOwnProperty("selectedOptions"))for(var o=n.selectedOptions,i=0;i<o.length;i++){var a=o.item(i),u=t._getOptionValue(a.value);r.push(u)}else for(o=n.options,i=0;i<o.length;i++)(a=o.item(i)).selected&&(u=t._getOptionValue(a.value),r.push(u));t.value=r,e(r)}},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},e.prototype._registerOption=function(e){var t=(this._idCounter++).toString();return this._optionMap.set(t,e),t},e.prototype._getOptionId=function(e){var t,n;try{for(var r=a(Array.from(this._optionMap.keys())),o=r.next();!o.done;o=r.next()){var i=o.value;if(this._compareWith(this._optionMap.get(i)._value,e))return i}}catch(e){t={error:e}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return null},e.prototype._getOptionValue=function(e){var t=function(e){return e.split(":")[0]}(e);return this._optionMap.has(t)?this._optionMap.get(t)._value:e},e}(),Fc],Wc=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.ngOnInit=function(){this._checkParentType(),this.formDirective.addFormGroup(this)},t.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeFormGroup(this)},Object.defineProperty(t.prototype,"control",{get:function(){return this.formDirective.getFormGroup(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"path",{get:function(){return Bc(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"validator",{get:function(){return Gc(this._validators)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"asyncValidator",{get:function(){return qc(this._asyncValidators)},enumerable:!0,configurable:!0}),t.prototype._checkParentType=function(){},t}(wc),Yc=function(){function e(e){this._cd=e}return Object.defineProperty(e.prototype,"ngClassUntouched",{get:function(){return!!this._cd.control&&this._cd.control.untouched},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClassTouched",{get:function(){return!!this._cd.control&&this._cd.control.touched},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClassPristine",{get:function(){return!!this._cd.control&&this._cd.control.pristine},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClassDirty",{get:function(){return!!this._cd.control&&this._cd.control.dirty},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClassValid",{get:function(){return!!this._cd.control&&this._cd.control.valid},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClassInvalid",{get:function(){return!!this._cd.control&&this._cd.control.invalid},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClassPending",{get:function(){return!!this._cd.control&&this._cd.control.pending},enumerable:!0,configurable:!0}),e}(),Kc=function(e){function t(t){return e.call(this,t)||this}return o(t,e),t}(Yc),$c=function(e){function t(t){return e.call(this,t)||this}return o(t,e),t}(Yc);function Jc(e){var t=ed(e)?e.validators:e;return Array.isArray(t)?Gc(t):t||null}function Xc(e,t){var n=ed(t)?t.asyncValidators:e;return Array.isArray(n)?qc(n):n||null}function ed(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}var td=function(){function e(e,t){this.validator=e,this.asyncValidator=t,this._onCollectionChange=function(){},this.pristine=!0,this.touched=!1,this._onDisabledChange=[]}return Object.defineProperty(e.prototype,"parent",{get:function(){return this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"valid",{get:function(){return"VALID"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"invalid",{get:function(){return"INVALID"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pending",{get:function(){return"PENDING"==this.status},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disabled",{get:function(){return"DISABLED"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"enabled",{get:function(){return"DISABLED"!==this.status},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dirty",{get:function(){return!this.pristine},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"untouched",{get:function(){return!this.touched},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"updateOn",{get:function(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"},enumerable:!0,configurable:!0}),e.prototype.setValidators=function(e){this.validator=Jc(e)},e.prototype.setAsyncValidators=function(e){this.asyncValidator=Xc(e)},e.prototype.clearValidators=function(){this.validator=null},e.prototype.clearAsyncValidators=function(){this.asyncValidator=null},e.prototype.markAsTouched=function(e){void 0===e&&(e={}),this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)},e.prototype.markAsUntouched=function(e){void 0===e&&(e={}),this.touched=!1,this._pendingTouched=!1,this._forEachChild(function(e){e.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)},e.prototype.markAsDirty=function(e){void 0===e&&(e={}),this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)},e.prototype.markAsPristine=function(e){void 0===e&&(e={}),this.pristine=!0,this._pendingDirty=!1,this._forEachChild(function(e){e.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)},e.prototype.markAsPending=function(e){void 0===e&&(e={}),this.status="PENDING",!1!==e.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)},e.prototype.disable=function(e){void 0===e&&(e={}),this.status="DISABLED",this.errors=null,this._forEachChild(function(t){t.disable(i({},e,{onlySelf:!0}))}),this._updateValue(),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(e),this._onDisabledChange.forEach(function(e){return e(!0)})},e.prototype.enable=function(e){void 0===e&&(e={}),this.status="VALID",this._forEachChild(function(t){t.enable(i({},e,{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(e),this._onDisabledChange.forEach(function(e){return e(!1)})},e.prototype._updateAncestors=function(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),this._parent._updatePristine(),this._parent._updateTouched())},e.prototype.setParent=function(e){this._parent=e},e.prototype.updateValueAndValidity=function(e){void 0===e&&(e={}),this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),"VALID"!==this.status&&"PENDING"!==this.status||this._runAsyncValidator(e.emitEvent)),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)},e.prototype._updateTreeValidity=function(e){void 0===e&&(e={emitEvent:!0}),this._forEachChild(function(t){return t._updateTreeValidity(e)}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})},e.prototype._setInitialStatus=function(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"},e.prototype._runValidator=function(){return this.validator?this.validator(this):null},e.prototype._runAsyncValidator=function(e){var t=this;if(this.asyncValidator){this.status="PENDING";var n=Tc(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(function(n){return t.setErrors(n,{emitEvent:e})})}},e.prototype._cancelExistingSubscription=function(){this._asyncValidationSubscription&&this._asyncValidationSubscription.unsubscribe()},e.prototype.setErrors=function(e,t){void 0===t&&(t={}),this.errors=e,this._updateControlsErrors(!1!==t.emitEvent)},e.prototype.get=function(e){return function(e,t,n){return null==t?null:(t instanceof Array||(t=t.split(".")),t instanceof Array&&0===t.length?null:t.reduce(function(e,t){return e instanceof rd?e.controls.hasOwnProperty(t)?e.controls[t]:null:e instanceof od&&e.at(t)||null},e))}(this,e)},e.prototype.getError=function(e,t){var n=t?this.get(t):this;return n&&n.errors?n.errors[e]:null},e.prototype.hasError=function(e,t){return!!this.getError(e,t)},Object.defineProperty(e.prototype,"root",{get:function(){for(var e=this;e._parent;)e=e._parent;return e},enumerable:!0,configurable:!0}),e.prototype._updateControlsErrors=function(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)},e.prototype._initObservables=function(){this.valueChanges=new zt,this.statusChanges=new zt},e.prototype._calculateStatus=function(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"},e.prototype._anyControlsHaveStatus=function(e){return this._anyControls(function(t){return t.status===e})},e.prototype._anyControlsDirty=function(){return this._anyControls(function(e){return e.dirty})},e.prototype._anyControlsTouched=function(){return this._anyControls(function(e){return e.touched})},e.prototype._updatePristine=function(e){void 0===e&&(e={}),this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)},e.prototype._updateTouched=function(e){void 0===e&&(e={}),this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)},e.prototype._isBoxedValue=function(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e},e.prototype._registerOnCollectionChange=function(e){this._onCollectionChange=e},e.prototype._setUpdateStrategy=function(e){ed(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)},e}(),nd=function(e){function t(t,n,r){void 0===t&&(t=null);var o=e.call(this,Jc(n),Xc(r,n))||this;return o._onChange=[],o._applyFormState(t),o._setUpdateStrategy(n),o.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),o._initObservables(),o}return o(t,e),t.prototype.setValue=function(e,t){var n=this;void 0===t&&(t={}),this.value=this._pendingValue=e,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach(function(e){return e(n.value,!1!==t.emitViewToModelChange)}),this.updateValueAndValidity(t)},t.prototype.patchValue=function(e,t){void 0===t&&(t={}),this.setValue(e,t)},t.prototype.reset=function(e,t){void 0===e&&(e=null),void 0===t&&(t={}),this._applyFormState(e),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1},t.prototype._updateValue=function(){},t.prototype._anyControls=function(e){return!1},t.prototype._allControlsDisabled=function(){return this.disabled},t.prototype.registerOnChange=function(e){this._onChange.push(e)},t.prototype._clearChangeFns=function(){this._onChange=[],this._onDisabledChange=[],this._onCollectionChange=function(){}},t.prototype.registerOnDisabledChange=function(e){this._onDisabledChange.push(e)},t.prototype._forEachChild=function(e){},t.prototype._syncPendingControls=function(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))},t.prototype._applyFormState=function(e){this._isBoxedValue(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e},t}(td),rd=function(e){function t(t,n,r){var o=e.call(this,Jc(n),Xc(r,n))||this;return o.controls=t,o._initObservables(),o._setUpdateStrategy(n),o._setUpControls(),o.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),o}return o(t,e),t.prototype.registerControl=function(e,t){return this.controls[e]?this.controls[e]:(this.controls[e]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)},t.prototype.addControl=function(e,t){this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()},t.prototype.removeControl=function(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange(function(){}),delete this.controls[e],this.updateValueAndValidity(),this._onCollectionChange()},t.prototype.setControl=function(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange(function(){}),delete this.controls[e],t&&this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()},t.prototype.contains=function(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled},t.prototype.setValue=function(e,t){var n=this;void 0===t&&(t={}),this._checkAllValuesPresent(e),Object.keys(e).forEach(function(r){n._throwIfControlMissing(r),n.controls[r].setValue(e[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)},t.prototype.patchValue=function(e,t){var n=this;void 0===t&&(t={}),Object.keys(e).forEach(function(r){n.controls[r]&&n.controls[r].patchValue(e[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)},t.prototype.reset=function(e,t){void 0===e&&(e={}),void 0===t&&(t={}),this._forEachChild(function(n,r){n.reset(e[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t),this._updatePristine(t),this._updateTouched(t)},t.prototype.getRawValue=function(){return this._reduceChildren({},function(e,t,n){return e[n]=t instanceof nd?t.value:t.getRawValue(),e})},t.prototype._syncPendingControls=function(){var e=this._reduceChildren(!1,function(e,t){return!!t._syncPendingControls()||e});return e&&this.updateValueAndValidity({onlySelf:!0}),e},t.prototype._throwIfControlMissing=function(e){if(!Object.keys(this.controls).length)throw new Error("\n        There are no form controls registered with this group yet.  If you're using ngModel,\n        you may want to check next tick (e.g. use setTimeout).\n      ");if(!this.controls[e])throw new Error("Cannot find form control with name: "+e+".")},t.prototype._forEachChild=function(e){var t=this;Object.keys(this.controls).forEach(function(n){return e(t.controls[n],n)})},t.prototype._setUpControls=function(){var e=this;this._forEachChild(function(t){t.setParent(e),t._registerOnCollectionChange(e._onCollectionChange)})},t.prototype._updateValue=function(){this.value=this._reduceValue()},t.prototype._anyControls=function(e){var t=this,n=!1;return this._forEachChild(function(r,o){n=n||t.contains(o)&&e(r)}),n},t.prototype._reduceValue=function(){var e=this;return this._reduceChildren({},function(t,n,r){return(n.enabled||e.disabled)&&(t[r]=n.value),t})},t.prototype._reduceChildren=function(e,t){var n=e;return this._forEachChild(function(e,r){n=t(n,e,r)}),n},t.prototype._allControlsDisabled=function(){var e,t;try{for(var n=a(Object.keys(this.controls)),r=n.next();!r.done;r=n.next())if(this.controls[r.value].enabled)return!1}catch(t){e={error:t}}finally{try{r&&!r.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}return Object.keys(this.controls).length>0||this.disabled},t.prototype._checkAllValuesPresent=function(e){this._forEachChild(function(t,n){if(void 0===e[n])throw new Error("Must supply a value for form control with name: '"+n+"'.")})},t}(td),od=function(e){function t(t,n,r){var o=e.call(this,Jc(n),Xc(r,n))||this;return o.controls=t,o._initObservables(),o._setUpdateStrategy(n),o._setUpControls(),o.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),o}return o(t,e),t.prototype.at=function(e){return this.controls[e]},t.prototype.push=function(e){this.controls.push(e),this._registerControl(e),this.updateValueAndValidity(),this._onCollectionChange()},t.prototype.insert=function(e,t){this.controls.splice(e,0,t),this._registerControl(t),this.updateValueAndValidity()},t.prototype.removeAt=function(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange(function(){}),this.controls.splice(e,1),this.updateValueAndValidity()},t.prototype.setControl=function(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange(function(){}),this.controls.splice(e,1),t&&(this.controls.splice(e,0,t),this._registerControl(t)),this.updateValueAndValidity(),this._onCollectionChange()},Object.defineProperty(t.prototype,"length",{get:function(){return this.controls.length},enumerable:!0,configurable:!0}),t.prototype.setValue=function(e,t){var n=this;void 0===t&&(t={}),this._checkAllValuesPresent(e),e.forEach(function(e,r){n._throwIfControlMissing(r),n.at(r).setValue(e,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)},t.prototype.patchValue=function(e,t){var n=this;void 0===t&&(t={}),e.forEach(function(e,r){n.at(r)&&n.at(r).patchValue(e,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)},t.prototype.reset=function(e,t){void 0===e&&(e=[]),void 0===t&&(t={}),this._forEachChild(function(n,r){n.reset(e[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t),this._updatePristine(t),this._updateTouched(t)},t.prototype.getRawValue=function(){return this.controls.map(function(e){return e instanceof nd?e.value:e.getRawValue()})},t.prototype._syncPendingControls=function(){var e=this.controls.reduce(function(e,t){return!!t._syncPendingControls()||e},!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e},t.prototype._throwIfControlMissing=function(e){if(!this.controls.length)throw new Error("\n        There are no form controls registered with this array yet.  If you're using ngModel,\n        you may want to check next tick (e.g. use setTimeout).\n      ");if(!this.at(e))throw new Error("Cannot find form control at index "+e)},t.prototype._forEachChild=function(e){this.controls.forEach(function(t,n){e(t,n)})},t.prototype._updateValue=function(){var e=this;this.value=this.controls.filter(function(t){return t.enabled||e.disabled}).map(function(e){return e.value})},t.prototype._anyControls=function(e){return this.controls.some(function(t){return t.enabled&&e(t)})},t.prototype._setUpControls=function(){var e=this;this._forEachChild(function(t){return e._registerControl(t)})},t.prototype._checkAllValuesPresent=function(e){this._forEachChild(function(t,n){if(void 0===e[n])throw new Error("Must supply a value for form control at index: "+n+".")})},t.prototype._allControlsDisabled=function(){var e,t;try{for(var n=a(this.controls),r=n.next();!r.done;r=n.next())if(r.value.enabled)return!1}catch(t){e={error:t}}finally{try{r&&!r.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}return this.controls.length>0||this.disabled},t.prototype._registerControl=function(e){e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)},t}(td),id=Promise.resolve(null),ad=function(e){function t(t,n){var r=e.call(this)||this;return r.submitted=!1,r._directives=[],r.ngSubmit=new zt,r.form=new rd({},Gc(t),qc(n)),r}return o(t,e),t.prototype.ngAfterViewInit=function(){this._setUpdateStrategy()},Object.defineProperty(t.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"controls",{get:function(){return this.form.controls},enumerable:!0,configurable:!0}),t.prototype.addControl=function(e){var t=this;id.then(function(){var n=t._findContainer(e.path);e.control=n.registerControl(e.name,e.control),Uc(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),t._directives.push(e)})},t.prototype.getControl=function(e){return this.form.get(e.path)},t.prototype.removeControl=function(e){var t=this;id.then(function(){var n,r,o=t._findContainer(e.path);o&&o.removeControl(e.name),(r=(n=t._directives).indexOf(e))>-1&&n.splice(r,1)})},t.prototype.addFormGroup=function(e){var t=this;id.then(function(){var n=t._findContainer(e.path),r=new rd({});(function(e,t){null==e&&Zc(t,"Cannot find control with"),e.validator=xc.compose([e.validator,t.validator]),e.asyncValidator=xc.composeAsync([e.asyncValidator,t.asyncValidator])})(r,e),n.registerControl(e.name,r),r.updateValueAndValidity({emitEvent:!1})})},t.prototype.removeFormGroup=function(e){var t=this;id.then(function(){var n=t._findContainer(e.path);n&&n.removeControl(e.name)})},t.prototype.getFormGroup=function(e){return this.form.get(e.path)},t.prototype.updateModel=function(e,t){var n=this;id.then(function(){n.form.get(e.path).setValue(t)})},t.prototype.setValue=function(e){this.control.setValue(e)},t.prototype.onSubmit=function(e){return this.submitted=!0,t=this._directives,this.form._syncPendingControls(),t.forEach(function(e){var t=e.control;"submit"===t.updateOn&&t._pendingChange&&(e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)}),this.ngSubmit.emit(e),!1;var t},t.prototype.onReset=function(){this.resetForm()},t.prototype.resetForm=function(e){void 0===e&&(e=void 0),this.form.reset(e),this.submitted=!1},t.prototype._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)},t.prototype._findContainer=function(e){return e.pop(),e.length?this.form.get(e):this.form},t}(wc),ud=function(){function e(){}return e.modelParentException=function(){throw new Error('\n      ngModel cannot be used to register form controls with a parent formGroup directive.  Try using\n      formGroup\'s partner directive "formControlName" instead.  Example:\n\n      \n    <div [formGroup]="myGroup">\n      <input formControlName="firstName">\n    </div>\n\n    In your class:\n\n    this.myGroup = new FormGroup({\n       firstName: new FormControl()\n    });\n\n      Or, if you\'d like to avoid registering this form control, indicate that it\'s standalone in ngModelOptions:\n\n      Example:\n\n      \n    <div [formGroup]="myGroup">\n       <input formControlName="firstName">\n       <input [(ngModel)]="showMoreControls" [ngModelOptions]="{standalone: true}">\n    </div>\n  ')},e.formGroupNameException=function(){throw new Error("\n      ngModel cannot be used to register form controls with a parent formGroupName or formArrayName directive.\n\n      Option 1: Use formControlName instead of ngModel (reactive strategy):\n\n      "+Hc+"\n\n      Option 2:  Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n      "+Lc)},e.missingNameException=function(){throw new Error('If ngModel is used within a form tag, either the name attribute must be set or the form\n      control must be defined as \'standalone\' in ngModelOptions.\n\n      Example 1: <input [(ngModel)]="person.firstName" name="first">\n      Example 2: <input [(ngModel)]="person.firstName" [ngModelOptions]="{standalone: true}">')},e.modelGroupParentException=function(){throw new Error("\n      ngModelGroup cannot be used with a parent formGroup directive.\n\n      Option 1: Use formGroupName instead of ngModelGroup (reactive strategy):\n\n      "+Hc+"\n\n      Option 2:  Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n      "+Lc)},e}(),sd=function(e){function t(t,n,r){var o=e.call(this)||this;return o._parent=t,o._validators=n,o._asyncValidators=r,o}return o(t,e),t.prototype._checkParentType=function(){this._parent instanceof t||this._parent instanceof ad||ud.modelGroupParentException()},t}(Wc),ld=Promise.resolve(null),cd=function(e){function t(t,n,r,o){var i=e.call(this)||this;return i.control=new nd,i._registered=!1,i.update=new zt,i._parent=t,i._rawValidators=n||[],i._rawAsyncValidators=r||[],i.valueAccessor=function(e,t){if(!t)return null;Array.isArray(t)||Zc(e,"Value accessor was not provided as an array for form control with");var n=void 0,r=void 0,o=void 0;return t.forEach(function(t){var i;t.constructor===Oc?n=t:(i=t,Qc.some(function(e){return i.constructor===e})?(r&&Zc(e,"More than one built-in value accessor matches form control with"),r=t):(o&&Zc(e,"More than one custom value accessor matches form control with"),o=t))}),o||r||n||(Zc(e,"No valid value accessor for form control with"),null)}(i,o),i}return o(t,e),t.prototype.ngOnChanges=function(e){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in e&&this._updateDisabled(e),function(e,t){if(!e.hasOwnProperty("model"))return!1;var n=e.model;return!!n.isFirstChange()||!ge(t,n.currentValue)}(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)},t.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)},Object.defineProperty(t.prototype,"path",{get:function(){return this._parent?Bc(this.name,this._parent):[this.name]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"validator",{get:function(){return Gc(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"asyncValidator",{get:function(){return qc(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),t.prototype.viewToModelUpdate=function(e){this.viewModel=e,this.update.emit(e)},t.prototype._setUpControl=function(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0},t.prototype._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)},t.prototype._isStandalone=function(){return!this._parent||!(!this.options||!this.options.standalone)},t.prototype._setUpStandalone=function(){Uc(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})},t.prototype._checkForErrors=function(){this._isStandalone()||this._checkParentType(),this._checkName()},t.prototype._checkParentType=function(){!(this._parent instanceof sd)&&this._parent instanceof Wc?ud.formGroupNameException():this._parent instanceof sd||this._parent instanceof ad||ud.modelParentException()},t.prototype._checkName=function(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()||this.name||ud.missingNameException()},t.prototype._updateValue=function(e){var t=this;ld.then(function(){t.control.setValue(e,{emitViewToModelChange:!1})})},t.prototype._updateDisabled=function(e){var t=this,n=e.isDisabled.currentValue,r=""===n||n&&"false"!==n;ld.then(function(){r&&!t.control.disabled?t.control.disable():!r&&t.control.disabled&&t.control.enable()})},t}(Rc),dd=function(){},fd=function(){},pd=function(){},hd=function(){function e(){this.newQuote=new ds(0,"","","",new Date),this.addQuote=new zt}return e.prototype.submitQuote=function(){this.addQuote.emit(this.newQuote)},e.prototype.ngOnInit=function(){},e}(),yd=jr({encapsulation:0,styles:[[""]],data:{}});function vd(e){return Ci(0,[(e()(),co(0,0,null,null,26,"div",[["class","row"]],null,null,null,null,null)),(e()(),co(1,0,null,null,25,"div",[["class","col-md-6"]],null,null,null,null,null)),(e()(),co(2,0,null,null,24,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngSubmit"],[null,"submit"],[null,"reset"]],function(e,t,n){var r=!0,o=e.component;return"submit"===t&&(r=!1!==Ho(e,4).onSubmit(n)&&r),"reset"===t&&(r=!1!==Ho(e,4).onReset()&&r),"ngSubmit"===t&&(r=!1!==o.submitQuote()&&r),r},null,null)),Jo(3,16384,null,0,dd,[],null,null),Jo(4,4210688,[["quoteForm",4]],0,ad,[[8,null],[8,null]],null,{ngSubmit:"ngSubmit"}),Xo(2048,null,wc,null,[ad]),Jo(6,16384,null,0,$c,[[4,wc]],null,null),(e()(),co(7,0,null,null,9,"div",[["class","form-group"]],null,null,null,null,null)),(e()(),co(8,0,null,null,1,"label",[["for","enterquote"]],null,null,null,null,null)),(e()(),bi(-1,null,["Quote"])),(e()(),co(10,0,null,null,5,"input",[["class","form-control"],["id","quoteentry"],["name","quoteentry"],["placeholder","I quote therefore I am"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(e,t,n){var r=!0,o=e.component;return"input"===t&&(r=!1!==Ho(e,11)._handleInput(n.target.value)&&r),"blur"===t&&(r=!1!==Ho(e,11).onTouched()&&r),"compositionstart"===t&&(r=!1!==Ho(e,11)._compositionStart()&&r),"compositionend"===t&&(r=!1!==Ho(e,11)._compositionEnd(n.target.value)&&r),"ngModelChange"===t&&(r=!1!==(o.newQuote.quotation=n)&&r),r},null,null)),Jo(11,16384,null,0,Oc,[yn,vn,[2,Ic]],null,null),Xo(1024,null,Nc,function(e){return[e]},[Oc]),Jo(13,671744,null,0,cd,[[2,wc],[8,null],[8,null],[6,Nc]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Xo(2048,null,Rc,null,[cd]),Jo(15,16384,null,0,Kc,[[4,Rc]],null,null),(e()(),bi(16,null,[" "," "])),(e()(),co(17,0,null,null,3,"div",[["class","form-group"]],null,null,null,null,null)),(e()(),co(18,0,null,null,1,"label",[["for","entername"]],null,null,null,null,null)),(e()(),bi(-1,null,["Thinker"])),(e()(),co(20,0,null,null,0,"input",[["class","form-control"],["id","nameentry"],["placeholder","Rene Desquotes"],["type","text"]],null,null,null,null,null)),(e()(),co(21,0,null,null,3,"div",[["class","form-group"]],null,null,null,null,null)),(e()(),co(22,0,null,null,1,"label",[["for","enterposter"]],null,null,null,null,null)),(e()(),bi(-1,null,["Name"])),(e()(),co(24,0,null,null,0,"input",[["class","form-control"],["id","posterentry"],["placeholder","I am.."],["type","text"]],null,null,null,null,null)),(e()(),co(25,0,null,null,1,"button",[["class","btn btn"],["type","submit"]],null,null,null,null,null)),(e()(),bi(-1,null,["Add"]))],function(e,t){e(t,13,0,"quoteentry",t.component.newQuote.quotation)},function(e,t){var n=t.component;e(t,2,0,Ho(t,6).ngClassUntouched,Ho(t,6).ngClassTouched,Ho(t,6).ngClassPristine,Ho(t,6).ngClassDirty,Ho(t,6).ngClassValid,Ho(t,6).ngClassInvalid,Ho(t,6).ngClassPending),e(t,10,0,Ho(t,15).ngClassUntouched,Ho(t,15).ngClassTouched,Ho(t,15).ngClassPristine,Ho(t,15).ngClassDirty,Ho(t,15).ngClassValid,Ho(t,15).ngClassInvalid,Ho(t,15).ngClassPending),e(t,16,0,n.newQuote.quotation)})}var gd=function(){function e(){this.quotes=[new ds(1,"What doesnt kill us makes us stronger!","Freidrich Neitzsche","Dev",new Date(1896,2,29))]}return e.prototype.addNewQuote=function(e){this.quotes.push(e)},e.prototype.displayDetails=function(e){this.quotes[e].showDetails=!this.quotes[e].showDetails},e.prototype.ngOnInit=function(){},e}(),md=jr({encapsulation:0,styles:[[""]],data:{}});function bd(e){return Ci(0,[(e()(),co(0,0,null,null,1,"app-quote-details",[],null,null,null,sl,ul)),Jo(1,114688,null,0,al,[],{quote:[0,"quote"]},null)],function(e,t){e(t,1,0,t.parent.context.$implicit)},null)}function _d(e){return Ci(0,[(e()(),co(0,0,null,null,7,"div",[],null,null,null,null,null)),(e()(),co(1,0,null,null,4,"li",[["class","card"]],null,null,null,null,null)),(e()(),co(2,0,null,null,1,"em",[],null,null,null,null,null)),(e()(),bi(3,null,["",""])),(e()(),lo(16777216,null,null,1,null,bd)),Jo(5,16384,null,0,Xs,[bn,mn],{ngIf:[0,"ngIf"]},null),(e()(),co(6,0,null,null,1,"button",[["class","btn btn"]],null,[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.displayDetails(e.context.index)&&r),r},null,null)),(e()(),bi(-1,null,["Display Details"]))],function(e,t){e(t,5,0,t.context.$implicit.showDetails)},function(e,t){e(t,3,0,t.context.$implicit.quotation)})}function wd(e){return Ci(0,[(e()(),co(0,0,null,null,4,"div",[],null,null,null,null,null)),(e()(),co(1,0,null,null,1,"h1",[],null,null,null,null,null)),(e()(),bi(-1,null,["Quotify"])),(e()(),co(3,0,null,null,1,"p",[],null,null,null,null,null)),(e()(),bi(-1,null,["New Quote"])),(e()(),co(5,0,null,null,1,"app-quotes-form",[],null,[[null,"addQuote"]],function(e,t,n){var r=!0;return"addQuote"===t&&(r=!1!==e.component.addNewQuote(n)&&r),r},vd,yd)),Jo(6,114688,null,0,hd,[],null,{addQuote:"addQuote"}),(e()(),co(7,0,null,null,0,"hr",[],null,null,null,null,null)),(e()(),co(8,0,null,null,1,"h2",[],null,null,null,null,null)),(e()(),bi(-1,null,["Quotes"])),(e()(),co(10,0,null,null,3,"ul",[],null,null,null,null,null)),(e()(),co(11,0,null,null,2,"div",[],null,null,null,null,null)),(e()(),lo(16777216,null,null,1,null,_d)),Jo(13,278528,null,0,$s,[bn,mn,Ln],{ngForOf:[0,"ngForOf"]},null)],function(e,t){var n=t.component;e(t,6,0),e(t,13,0,n.quotes)},null)}var Cd=jr({encapsulation:0,styles:[[""]],data:{}});function Ed(e){return Ci(0,[(e()(),co(0,0,null,null,1,"app-quotes",[],null,null,null,wd,md)),Jo(1,114688,null,0,gd,[],null,null)],function(e,t){e(t,1,0)},null)}var xd=function(e,t,n,r,o,i){return new Do("app-root",fs,function(e){return Ci(0,[(e()(),co(0,0,null,null,1,"app-root",[],null,null,null,Ed,Cd)),Jo(1,114688,null,0,fs,[],null,null)],function(e,t){e(t,1,0)},null)},{},{},[])}(),kd=function(e,t,n){return new Da(cs,[fs],function(e){return function(e){for(var t={},n=[],r=!1,o=0;o<e.length;o++){var i=e[o];i.token===rt&&!0===i.value&&(r=!0),1073741824&i.flags&&n.push(i.token),i.index=o,t[Vr(i.token)]=i}return{factory:null,providersByKey:t,providers:e,modules:n,isRoot:r}}([_o(512,Vt,Mt,[[8,[xd]],[3,Vt],jt]),_o(5120,qn,Yn,[[3,qn]]),_o(4608,Ws,Ys,[qn,[2,Qs]]),_o(4608,kt,kt,[]),_o(5120,gt,mt,[]),_o(5120,Ln,Qn,[]),_o(5120,Bn,Wn,[]),_o(4608,lc,cc,[ol]),_o(6144,_r,null,[lc]),_o(4608,nc,oc,[]),_o(5120,Dl,function(e,t,n,r,o,i,a,u){return[new ec(e,t,n),new sc(r),new ic(o,i,a,u)]},[ol,Zt,wt,ol,ol,nc,Et,[2,rc]]),_o(4608,Il,Il,[Dl,Zt]),_o(135680,Pl,Pl,[ol]),_o(4608,Ll,Ll,[Il,Pl]),_o(6144,pn,null,[Ll]),_o(6144,Al,null,[Pl]),_o(4608,Jt,Jt,[Zt]),_o(4608,jc,jc,[]),_o(1073742336,rl,rl,[]),_o(1024,nt,mc,[]),_o(1024,yt,function(e){return[(t=e,Tl("probe",Nl),Tl("coreTokens",i({},Sl,(t||[]).reduce(function(e,t){return e[t.name]=t.token,e},{}))),function(){return Nl})];var t},[[2,an]]),_o(512,vt,vt,[[2,yt]]),_o(131584,dn,dn,[Zt,Et,Ie,nt,Vt,vt]),_o(1073742336,Kn,Kn,[dn]),_o(1073742336,bc,bc,[[3,bc]]),_o(1073742336,fd,fd,[]),_o(1073742336,pd,pd,[]),_o(1073742336,cs,cs,[]),_o(256,rt,!0,[])])})}();(function(){if(nn)throw new Error("Cannot enable prod mode after platform setup.");tn=!1})(),gc().bootstrapModuleFactory(kd).catch(function(e){return console.log(e)})}},[[3,0]]]);