-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.0a2ef523504806b1f5fb.js
1 lines (1 loc) · 316 KB
/
main.0a2ef523504806b1f5fb.js
1
(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{0:function(t,e,n){t.exports=n("zUnb")},crnd:function(t,e){function n(t){return Promise.resolve().then(function(){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e})}n.keys=function(){return[]},n.resolve=n,t.exports=n,n.id="crnd"},zUnb:function(t,e,n){"use strict";n.r(e);var r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function o(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var i=function(){return(i=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};function a(t,e,n,r){var o,i=arguments.length,a=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,r);else for(var u=t.length-1;u>=0;u--)(o=t[u])&&(a=(i<3?o(a):i>3?o(e,n,a):o(e,n))||a);return i>3&&a&&Object.defineProperty(e,n,a),a}function u(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}function s(t){var e="function"==typeof Symbol&&t[Symbol.iterator],n=0;return e?e.call(t):{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}}}function l(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(u){o={error:u}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function c(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(l(arguments[e]));return t}var f=Array.isArray||function(t){return t&&"number"==typeof t.length};function p(t){return null!=t&&"object"==typeof t}function h(t){return"function"==typeof t}var d,v={e:{}};function g(){try{return d.apply(this,arguments)}catch(t){return v.e=t,v}}function y(t){return d=t,g}function m(t){return Error.call(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map(function(t,e){return e+1+") "+t.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=t,this}m.prototype=Object.create(Error.prototype);var b=m,_=function(){function t(t){this.closed=!1,this._parent=null,this._parents=null,this._subscriptions=null,t&&(this._unsubscribe=t)}var e;return t.prototype.unsubscribe=function(){var t,e=!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(h(o)&&y(o).call(this)===v&&(e=!0,t=t||(v.e instanceof b?w(v.e.errors):[v.e])),f(i))for(a=-1,u=i.length;++a<u;){var s=i[a];if(p(s)&&y(s.unsubscribe).call(s)===v){e=!0,t=t||[];var l=v.e;l instanceof b?t=t.concat(w(l.errors)):t.push(l)}}if(e)throw new b(t)}},t.prototype.add=function(e){if(!e||e===t.EMPTY)return t.EMPTY;if(e===this)return this;var n=e;switch(typeof e){case"function":n=new t(e);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 t)._subscriptions=[r]}break;default:throw new Error("unrecognized teardown "+e+" added to Subscription.")}return(this._subscriptions||(this._subscriptions=[])).push(n),n._addParent(this),n},t.prototype.remove=function(t){var e=this._subscriptions;if(e){var n=e.indexOf(t);-1!==n&&e.splice(n,1)}},t.prototype._addParent=function(t){var e=this._parent,n=this._parents;e&&e!==t?n?-1===n.indexOf(t)&&n.push(t):this._parents=[t]:this._parent=t},t.EMPTY=((e=new t).closed=!0,e),t}();function w(t){return t.reduce(function(t,e){return t.concat(e instanceof b?e.errors:e)},[])}var C=!1,S={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){C=t},get useDeprecatedSynchronousErrorHandling(){return C}};function E(t){setTimeout(function(){throw t})}var x={closed:!0,next:function(t){},error:function(t){if(S.useDeprecatedSynchronousErrorHandling)throw t;E(t)},complete:function(){}},T="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random(),k=function(t){function e(n,r,o){var i=t.call(this)||this;switch(i.syncErrorValue=null,i.syncErrorThrown=!1,i.syncErrorThrowable=!1,i.isStopped=!1,i._parentSubscription=null,arguments.length){case 0:i.destination=x;break;case 1:if(!n){i.destination=x;break}if("object"==typeof n){n instanceof e?(i.syncErrorThrowable=n.syncErrorThrowable,i.destination=n,n.add(i)):(i.syncErrorThrowable=!0,i.destination=new A(i,n));break}default:i.syncErrorThrowable=!0,i.destination=new A(i,n,r,o)}return i}return o(e,t),e.prototype[T]=function(){return this},e.create=function(t,n,r){var o=new e(t,n,r);return o.syncErrorThrowable=!1,o},e.prototype.next=function(t){this.isStopped||this._next(t)},e.prototype.error=function(t){this.isStopped||(this.isStopped=!0,this._error(t))},e.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this))},e.prototype._next=function(t){this.destination.next(t)},e.prototype._error=function(t){this.destination.error(t),this.unsubscribe()},e.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},e.prototype._unsubscribeAndRecycle=function(){var t=this._parent,e=this._parents;return this._parent=null,this._parents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parent=t,this._parents=e,this._parentSubscription=null,this},e}(_),A=function(t){function e(e,n,r,o){var i,a=t.call(this)||this;a._parentSubscriber=e;var u=a;return h(n)?i=n:n&&(i=n.next,r=n.error,o=n.complete,n!==x&&(h((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(e,t),e.prototype.next=function(t){if(!this.isStopped&&this._next){var e=this._parentSubscriber;S.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}},e.prototype.error=function(t){if(!this.isStopped){var e=this._parentSubscriber,n=S.useDeprecatedSynchronousErrorHandling;if(this._error)n&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)n?(e.syncErrorValue=t,e.syncErrorThrown=!0):E(t),this.unsubscribe();else{if(this.unsubscribe(),n)throw t;E(t)}}},e.prototype.complete=function(){var t=this;if(!this.isStopped){var e=this._parentSubscriber;if(this._complete){var n=function(){return t._complete.call(t._context)};S.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?(this.__tryOrSetError(e,n),this.unsubscribe()):(this.__tryOrUnsub(n),this.unsubscribe())}else this.unsubscribe()}},e.prototype.__tryOrUnsub=function(t,e){try{t.call(this._context,e)}catch(n){if(this.unsubscribe(),S.useDeprecatedSynchronousErrorHandling)throw n;E(n)}},e.prototype.__tryOrSetError=function(t,e,n){if(!S.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,n)}catch(r){return S.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=r,t.syncErrorThrown=!0,!0):(E(r),!0)}return!1},e.prototype._unsubscribe=function(){var t=this._parentSubscriber;this._context=null,this._parentSubscriber=null,t.unsubscribe()},e}(k),O="function"==typeof Symbol&&Symbol.observable||"@@observable";function P(){}function I(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return R(t)}function R(t){return t?1===t.length?t[0]:function(e){return t.reduce(function(t,e){return e(t)},e)}:P}var N=function(){function t(t){this._isScalar=!1,t&&(this._subscribe=t)}return t.prototype.lift=function(e){var n=new t;return n.source=this,n.operator=e,n},t.prototype.subscribe=function(t,e,n){var r=this.operator,o=function(t,e,n){if(t){if(t instanceof k)return t;if(t[T])return t[T]()}return t||e||n?new k(t,e,n):new k(x)}(t,e,n);if(r?r.call(o,this.source):o.add(this.source||S.useDeprecatedSynchronousErrorHandling&&!o.syncErrorThrowable?this._subscribe(o):this._trySubscribe(o)),S.useDeprecatedSynchronousErrorHandling&&o.syncErrorThrowable&&(o.syncErrorThrowable=!1,o.syncErrorThrown))throw o.syncErrorValue;return o},t.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){S.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),function(t){for(;t;){var e=t.destination;if(t.closed||t.isStopped)return!1;t=e&&e instanceof k?e:null}return!0}(t)?t.error(e):console.warn(e)}},t.prototype.forEach=function(t,e){var n=this;return new(e=D(e))(function(e,r){var o;o=n.subscribe(function(e){try{t(e)}catch(n){r(n),o&&o.unsubscribe()}},r,e)})},t.prototype._subscribe=function(t){var e=this.source;return e&&e.subscribe(t)},t.prototype[O]=function(){return this},t.prototype.pipe=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 0===t.length?this:R(t)(this)},t.prototype.toPromise=function(t){var e=this;return new(t=D(t))(function(t,n){var r;e.subscribe(function(t){return r=t},function(t){return n(t)},function(){return t(r)})})},t.create=function(e){return new t(e)},t}();function D(t){if(t||(t=S.Promise||Promise),!t)throw new Error("no Promise impl found");return t}function V(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}V.prototype=Object.create(Error.prototype);var M=V,j=function(t){function e(e,n){var r=t.call(this)||this;return r.subject=e,r.subscriber=n,r.closed=!1,r}return o(e,t),e.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var t=this.subject,e=t.observers;if(this.subject=null,e&&0!==e.length&&!t.isStopped&&!t.closed){var n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}},e}(_),U=function(t){function e(e){var n=t.call(this,e)||this;return n.destination=e,n}return o(e,t),e}(k),L=function(t){function e(){var e=t.call(this)||this;return e.observers=[],e.closed=!1,e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return o(e,t),e.prototype[T]=function(){return new U(this)},e.prototype.lift=function(t){var e=new F(this,this);return e.operator=t,e},e.prototype.next=function(t){if(this.closed)throw new M;if(!this.isStopped)for(var e=this.observers,n=e.length,r=e.slice(),o=0;o<n;o++)r[o].next(t)},e.prototype.error=function(t){if(this.closed)throw new M;this.hasError=!0,this.thrownError=t,this.isStopped=!0;for(var e=this.observers,n=e.length,r=e.slice(),o=0;o<n;o++)r[o].error(t);this.observers.length=0},e.prototype.complete=function(){if(this.closed)throw new M;this.isStopped=!0;for(var t=this.observers,e=t.length,n=t.slice(),r=0;r<e;r++)n[r].complete();this.observers.length=0},e.prototype.unsubscribe=function(){this.isStopped=!0,this.closed=!0,this.observers=null},e.prototype._trySubscribe=function(e){if(this.closed)throw new M;return t.prototype._trySubscribe.call(this,e)},e.prototype._subscribe=function(t){if(this.closed)throw new M;return this.hasError?(t.error(this.thrownError),_.EMPTY):this.isStopped?(t.complete(),_.EMPTY):(this.observers.push(t),new j(this,t))},e.prototype.asObservable=function(){var t=new N;return t.source=this,t},e.create=function(t,e){return new F(t,e)},e}(N),F=function(t){function e(e,n){var r=t.call(this)||this;return r.destination=e,r.source=n,r}return o(e,t),e.prototype.next=function(t){var e=this.destination;e&&e.next&&e.next(t)},e.prototype.error=function(t){var e=this.destination;e&&e.error&&this.destination.error(t)},e.prototype.complete=function(){var t=this.destination;t&&t.complete&&this.destination.complete()},e.prototype._subscribe=function(t){return this.source?this.source.subscribe(t):_.EMPTY},e}(L);function H(t){return t&&"function"==typeof t.schedule}var z=function(t){function e(e,n,r){var o=t.call(this)||this;return o.parent=e,o.outerValue=n,o.outerIndex=r,o.index=0,o}return o(e,t),e.prototype._next=function(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)},e.prototype._error=function(t){this.parent.notifyError(t,this),this.unsubscribe()},e.prototype._complete=function(){this.parent.notifyComplete(this),this.unsubscribe()},e}(k),B=function(t){return function(e){for(var n=0,r=t.length;n<r&&!e.closed;n++)e.next(t[n]);e.closed||e.complete()}},G=function(t){return function(e){return t.then(function(t){e.closed||(e.next(t),e.complete())},function(t){return e.error(t)}).then(null,E),e}};function Z(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}var q=Z(),W=function(t){return function(e){for(var n=t[q]();;){var r=n.next();if(r.done){e.complete();break}if(e.next(r.value),e.closed)break}return"function"==typeof n.return&&e.add(function(){n.return&&n.return()}),e}},Q=function(t){return function(e){var n=t[O]();if("function"!=typeof n.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return n.subscribe(e)}},Y=function(t){return t&&"number"==typeof t.length&&"function"!=typeof t};function K(t){return t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}var $=function(t){if(t instanceof N)return function(e){return t._isScalar?(e.next(t.value),void e.complete()):t.subscribe(e)};if(t&&"function"==typeof t[O])return Q(t);if(Y(t))return B(t);if(K(t))return G(t);if(t&&"function"==typeof t[q])return W(t);var e=p(t)?"an invalid object":"'"+t+"'";throw new TypeError("You provided "+e+" where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.")};function J(t,e,n,r,o){if(void 0===o&&(o=new z(t,n,r)),!o.closed)return $(e)(o)}var X=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.notifyNext=function(t,e,n,r,o){this.destination.next(e)},e.prototype.notifyError=function(t,e){this.destination.error(t)},e.prototype.notifyComplete=function(t){this.destination.complete()},e}(k);function tt(t,e){return function(n){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new et(t,e))}}var et=function(){function t(t,e){this.project=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new nt(t,this.project,this.thisArg))},t}(),nt=function(t){function e(e,n,r){var o=t.call(this,e)||this;return o.project=n,o.count=0,o.thisArg=r||o,o}return o(e,t),e.prototype._next=function(t){var e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(e)},e}(k);function rt(t,e){return new N(e?function(n){var r=new _,o=0;return r.add(e.schedule(function(){o!==t.length?(n.next(t[o++]),n.closed||r.add(this.schedule())):n.complete()})),r}:B(t))}function ot(t,e){if(!e)return t instanceof N?t:new N($(t));if(null!=t){if(function(t){return t&&"function"==typeof t[O]}(t))return function(t,e){return new N(e?function(n){var r=new _;return r.add(e.schedule(function(){var o=t[O]();r.add(o.subscribe({next:function(t){r.add(e.schedule(function(){return n.next(t)}))},error:function(t){r.add(e.schedule(function(){return n.error(t)}))},complete:function(){r.add(e.schedule(function(){return n.complete()}))}}))})),r}:Q(t))}(t,e);if(K(t))return function(t,e){return new N(e?function(n){var r=new _;return r.add(e.schedule(function(){return t.then(function(t){r.add(e.schedule(function(){n.next(t),r.add(e.schedule(function(){return n.complete()}))}))},function(t){r.add(e.schedule(function(){return n.error(t)}))})})),r}:G(t))}(t,e);if(Y(t))return rt(t,e);if(function(t){return t&&"function"==typeof t[q]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new N(e?function(n){var r,o=new _;return o.add(function(){r&&"function"==typeof r.return&&r.return()}),o.add(e.schedule(function(){r=t[q](),o.add(e.schedule(function(){if(!n.closed){var t,e;try{var o=r.next();t=o.value,e=o.done}catch(i){return void n.error(i)}e?n.complete():(n.next(t),this.schedule())}}))})),o}:W(t))}(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}function it(t,e,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),"function"==typeof e?function(r){return r.pipe(it(function(n,r){return ot(t(n,r)).pipe(tt(function(t,o){return e(n,t,r,o)}))},n))}:("number"==typeof e&&(n=e),function(e){return e.lift(new at(t,n))})}var at=function(){function t(t,e){void 0===e&&(e=Number.POSITIVE_INFINITY),this.project=t,this.concurrent=e}return t.prototype.call=function(t,e){return e.subscribe(new ut(t,this.project,this.concurrent))},t}(),ut=function(t){function e(e,n,r){void 0===r&&(r=Number.POSITIVE_INFINITY);var o=t.call(this,e)||this;return o.project=n,o.concurrent=r,o.hasCompleted=!1,o.buffer=[],o.active=0,o.index=0,o}return o(e,t),e.prototype._next=function(t){this.active<this.concurrent?this._tryNext(t):this.buffer.push(t)},e.prototype._tryNext=function(t){var e,n=this.index++;try{e=this.project(t,n)}catch(r){return void this.destination.error(r)}this.active++,this._innerSub(e,t,n)},e.prototype._innerSub=function(t,e,n){var r=new z(this,void 0,void 0);this.destination.add(r),J(this,t,e,n,r)},e.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()},e.prototype.notifyNext=function(t,e,n,r,o){this.destination.next(e)},e.prototype.notifyComplete=function(t){var e=this.buffer;this.remove(t),this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},e}(X);function st(t){return t}function lt(t){return void 0===t&&(t=Number.POSITIVE_INFINITY),it(st,t)}function ct(){return function(t){return t.lift(new ft(t))}}var ft=function(){function t(t){this.connectable=t}return t.prototype.call=function(t,e){var n=this.connectable;n._refCount++;var r=new pt(t,n),o=e.subscribe(r);return r.closed||(r.connection=n.connect()),o},t}(),pt=function(t){function e(e,n){var r=t.call(this,e)||this;return r.connectable=n,r}return o(e,t),e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._refCount;if(e<=0)this.connection=null;else if(t._refCount=e-1,e>1)this.connection=null;else{var n=this.connection,r=t._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}else this.connection=null},e}(k),ht=function(t){function e(e,n){var r=t.call(this)||this;return r.source=e,r.subjectFactory=n,r._refCount=0,r._isComplete=!1,r}return o(e,t),e.prototype._subscribe=function(t){return this.getSubject().subscribe(t)},e.prototype.getSubject=function(){var t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject},e.prototype.connect=function(){var t=this._connection;return t||(this._isComplete=!1,(t=this._connection=new _).add(this.source.subscribe(new vt(this.getSubject(),this))),t.closed?(this._connection=null,t=_.EMPTY):this._connection=t),t},e.prototype.refCount=function(){return ct()(this)},e}(N).prototype,dt={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:ht._subscribe},_isComplete:{value:ht._isComplete,writable:!0},getSubject:{value:ht.getSubject},connect:{value:ht.connect},refCount:{value:ht.refCount}},vt=function(t){function e(e,n){var r=t.call(this,e)||this;return r.connectable=n,r}return o(e,t),e.prototype._error=function(e){this._unsubscribe(),t.prototype._error.call(this,e)},e.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}},e}(U);function gt(){return new L}function yt(t){for(var e in t)if(t[e]===yt)return e;throw Error("Could not find renamed property on target object.")}var mt=yt({ngComponentDef:yt}),bt=yt({ngInjectableDef:yt}),_t=yt({ngInjectorDef:yt}),wt=yt({ngModuleDef:yt});function Ct(t){return{providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function St(t){return t.hasOwnProperty(bt)?t[bt]:null}function Et(t){return t.hasOwnProperty(_t)?t[_t]:null}var xt=function(){function t(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.ngInjectableDef=void 0!==e?Ct({providedIn:e.providedIn||"root",factory:e.factory}):void 0}return t.prototype.toString=function(){return"InjectionToken "+this._desc},t}(),Tt="__parameters__";function kt(t,e,n){var r=function(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if(t){var r=t.apply(void 0,c(e));for(var o in r)this[o]=r[o]}}}(e);function o(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if(this instanceof o)return r.apply(this,e),this;var i=new((t=o).bind.apply(t,c([void 0],e)));return a.annotation=i,a;function a(t,e,n){for(var r=t.hasOwnProperty(Tt)?t[Tt]:Object.defineProperty(t,Tt,{value:[]})[Tt];r.length<=n;)r.push(null);return(r[n]=r[n]||[]).push(i),t}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=t,o.annotationCls=o,o}var At=new xt("AnalyzeForEntryComponents"),Ot="undefined"!=typeof window&&window,Pt="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,It="undefined"!=typeof global&&global||Ot||Pt,Rt=Promise.resolve(0),Nt=null;function Dt(){if(!Nt){var t=It.Symbol;if(t&&t.iterator)Nt=t.iterator;else for(var e=Object.getOwnPropertyNames(Map.prototype),n=0;n<e.length;++n){var r=e[n];"entries"!==r&&"size"!==r&&Map.prototype[r]===Map.prototype.entries&&(Nt=r)}}return Nt}function Vt(t){"undefined"==typeof Zone?Rt.then(function(){t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}function Mt(t,e){return t===e||"number"==typeof t&&"number"==typeof e&&isNaN(t)&&isNaN(e)}function jt(t){if("string"==typeof t)return t;if(t instanceof Array)return"["+t.map(jt).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return""+t.overriddenName;if(t.name)return""+t.name;var e=t.toString();if(null==e)return""+e;var n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}function Ut(t){return t.__forward_ref__=Ut,t.toString=function(){return jt(this())},t}function Lt(t){return"function"==typeof t&&t.hasOwnProperty("__forward_ref__")&&t.__forward_ref__===Ut?t():t}var Ft=kt("Inject",function(t){return{token:t}}),Ht=kt("Optional"),zt=kt("Self"),Bt=kt("SkipSelf"),Gt="__source",Zt=new Object,qt=Zt,Wt=new xt("INJECTOR"),Qt=function(){function t(){}return t.prototype.get=function(t,e){if(void 0===e&&(e=Zt),e===Zt)throw new Error("NullInjectorError: No provider for "+jt(t)+"!");return e},t}(),Yt=function(){function t(){}return t.create=function(t,e){return Array.isArray(t)?new oe(t,e):new oe(t.providers,t.parent,t.name||null)},t.THROW_IF_NOT_FOUND=Zt,t.NULL=new Qt,t.ngInjectableDef=Ct({providedIn:"any",factory:function(){return ce(Wt)}}),t}(),Kt=function(t){return t},$t=[],Jt=Kt,Xt=function(){return Array.prototype.slice.call(arguments)},te=yt({provide:String,useValue:yt}),ee=Yt.NULL,ne=/\n/gm,re="\u0275",oe=function(){function t(t,e,n){void 0===e&&(e=ee),void 0===n&&(n=null),this.parent=e,this.source=n;var r=this._records=new Map;r.set(Yt,{token:Yt,fn:Kt,deps:$t,value:this,useNew:!1}),r.set(Wt,{token:Wt,fn:Kt,deps:$t,value:this,useNew:!1}),function t(e,n){if(n)if((n=Lt(n))instanceof Array)for(var r=0;r<n.length;r++)t(e,n[r]);else{if("function"==typeof n)throw ue("Function/Class not supported",n);if(!n||"object"!=typeof n||!n.provide)throw ue("Unexpected provider",n);var o=Lt(n.provide),i=function(t){var e=function(t){var e=$t,n=t.deps;if(n&&n.length){e=[];for(var r=0;r<n.length;r++){var o=6;if((s=Lt(n[r]))instanceof Array)for(var i=0,a=s;i<a.length;i++){var u=a[i];u instanceof Ht||u==Ht?o|=1:u instanceof Bt||u==Bt?o&=-3:u instanceof zt||u==zt?o&=-5:s=u instanceof Ft?u.token:Lt(u)}e.push({token:s,options:o})}}else if(t.useExisting){var s;e=[{token:s=Lt(t.useExisting),options:6}]}else if(!(n||te in t))throw ue("'deps' required",t);return e}(t),n=Kt,r=$t,o=!1,i=Lt(t.provide);if(te in t)r=t.useValue;else if(t.useFactory)n=t.useFactory;else if(t.useExisting);else if(t.useClass)o=!0,n=Lt(t.useClass);else{if("function"!=typeof i)throw ue("StaticProvider does not have [useValue|useFactory|useExisting|useClass] or [provide] is not newable",t);o=!0,n=i}return{deps:e,fn:n,useNew:o,value:r}}(n);if(!0===n.multi){var a=e.get(o);if(a){if(a.fn!==Xt)throw ie(o)}else e.set(o,a={token:n.provide,deps:[],useNew:!1,fn:Xt,value:$t});a.deps.push({token:o=n,options:6})}var u=e.get(o);if(u&&u.fn==Xt)throw ie(o);e.set(o,i)}}(r,t)}return t.prototype.get=function(t,e,n){void 0===n&&(n=0);var r=this._records.get(t);try{return function t(e,n,r,o,i,a){try{return function(e,n,r,o,i,a){var u,s;if(!n||4&a)2&a||(s=o.get(e,i,0));else{if((s=n.value)==Jt)throw Error(re+"Circular dependency");if(s===$t){n.value=Jt;var l=n.useNew,f=n.fn,p=n.deps,h=$t;if(p.length){h=[];for(var d=0;d<p.length;d++){var v=p[d],g=v.options,y=2&g?r.get(v.token):void 0;h.push(t(v.token,y,r,y||4&g?o:ee,1&g?null:Yt.THROW_IF_NOT_FOUND,0))}}n.value=s=l?new((u=f).bind.apply(u,c([void 0],h))):f.apply(void 0,h)}}return s}(e,n,r,o,i,a)}catch(u){throw u instanceof Error||(u=new Error(u)),(u.ngTempTokenPath=u.ngTempTokenPath||[]).unshift(e),n&&n.value==Jt&&(n.value=$t),u}}(t,r,this._records,this.parent,e,n)}catch(i){var o=i.ngTempTokenPath;throw t[Gt]&&o.unshift(t[Gt]),i.message=ae("\n"+i.message,o,this.source),i.ngTokenPath=o,i.ngTempTokenPath=null,i}},t.prototype.toString=function(){var t=[];return this._records.forEach(function(e,n){return t.push(jt(n))}),"StaticInjector["+t.join(", ")+"]"},t}();function ie(t){return ue("Cannot mix multi providers and regular providers",t)}function ae(t,e,n){void 0===n&&(n=null),t=t&&"\n"===t.charAt(0)&&t.charAt(1)==re?t.substr(2):t;var r=jt(e);if(e instanceof Array)r=e.map(jt).join(" -> ");else if("object"==typeof e){var o=[];for(var i in e)if(e.hasOwnProperty(i)){var a=e[i];o.push(i+":"+("string"==typeof a?JSON.stringify(a):jt(a)))}r="{"+o.join(", ")+"}"}return"StaticInjectorError"+(n?"("+n+")":"")+"["+r+"]: "+t.replace(ne,"\n ")}function ue(t,e){return new Error(ae(t,e))}var se=void 0;function le(t){var e=se;return se=t,e}function ce(t,e){if(void 0===e&&(e=0),void 0===se)throw new Error("inject() must be called from an injection context");if(null===se){var n=St(t);if(n&&"root"==n.providedIn)return void 0===n.value?n.value=n.factory():n.value;if(8&e)return null;throw new Error("Injector: NOT_FOUND ["+jt(t)+"]")}return se.get(t,8&e?null:void 0,e)}function fe(t){for(var e=[],n=0;n<t.length;n++){var r=t[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 Ht||"Optional"===u.ngMetadataName?i|=8:u instanceof Bt||"SkipSelf"===u.ngMetadataName?i|=4:u instanceof zt||"Self"===u.ngMetadataName?i|=2:o=u instanceof Ft?u.token:u}e.push(ce(o,i))}else e.push(ce(r))}return e}Function;var pe=function(t){return t[t.Emulated=0]="Emulated",t[t.Native=1]="Native",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}({}),he="__ngContext__",de=17,ve=0,ge=1,ye=2,me=3,be=4,_e=5,we=6,Ce=7,Se=8,Ee=9,xe=10,Te=11,ke=12,Ae=14,Oe=16;function Pe(t,e){var n=Ne(t),r=Ne(e);return n&&r?function(t,e,n){for(var r=t[Dt()](),o=e[Dt()]();;){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}}(t,e,Pe):!(n||!t||"object"!=typeof t&&"function"!=typeof t||r||!e||"object"!=typeof e&&"function"!=typeof e)||Mt(t,e)}var Ie=function(){function t(t){this.wrapped=t}return t.wrap=function(e){return new t(e)},t.unwrap=function(e){return t.isWrapped(e)?e.wrapped:e},t.isWrapped=function(e){return e instanceof t},t}(),Re=function(){function t(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}return t.prototype.isFirstChange=function(){return this.firstChange},t}();function Ne(t){return!!De(t)&&(Array.isArray(t)||!(t instanceof Map)&&Dt()in t)}function De(t){return null!==t&&("function"==typeof t||"object"==typeof t)}var Ve=0,Me=1,je=6;function Ue(t){for(;Array.isArray(t);)t=t[_e];return t}function Le(t,e){return Ue(e[t.index])}function Fe(t,e){var n=e[t];return n.length>=de?n:n[_e]}function He(t){return t[he]}function ze(t){var e=He(t);return e?Array.isArray(e)?e:e.lViewData:null}function Be(t,e){t[he]=e}function Ge(t,e,n){t.afterContentInit&&(e.contentHooks||(e.contentHooks=[])).push(n,t.afterContentInit),t.afterContentChecked&&((e.contentHooks||(e.contentHooks=[])).push(n,t.afterContentChecked),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,t.afterContentChecked))}function Ze(t,e,n){t.afterViewInit&&(e.viewHooks||(e.viewHooks=[])).push(n,t.afterViewInit),t.afterViewChecked&&((e.viewHooks||(e.viewHooks=[])).push(n,t.afterViewChecked),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,t.afterViewChecked))}function qe(t,e,n){null!=t.onDestroy&&(e.destroyHooks||(e.destroyHooks=[])).push(n,t.onDestroy)}function We(t,e,n){16&t[ge]&&(Qe(t,e.initHooks,e.checkHooks,n),t[ge]&=-17)}function Qe(t,e,n,r){var o=r?e:n;o&&Ye(t,o)}function Ye(t,e){for(var n=0;n<e.length;n+=2)e[n+1].call(t[e[n]])}var Ke=9,$e="ngProjectAs";function Je(t){return!!t.listen}var Xe={createRenderer:function(t,e){return document}},tn=[];function en(t){for(var e=t[we];e&&2===e.type;)e=(t=t[ye])[we];return t}function nn(t,e,n,r,o){0===t?Je(e)?e.insertBefore(n,r,o):n.insertBefore(r,o,!0):1===t?Je(e)?e.removeChild(n,r):n.removeChild(r):2===t&&e.destroyNode(r)}function rn(t){var e=t[ve].childIndex;return-1===e?null:t[e]}function on(t,e){var n;return t.length>=de&&(n=t[we])&&2===n.type?function(e,n){if(-1===e.index){var r=t[Ae];return r>-1?t[ye][r]:null}return t[ye][e.parent.index]}(n):t[ye]===e?null:t[ye]}function an(t){if(t.length>=de){var e=t;!function(t){var e=t[ve].cleanup;if(null!=e){for(var n=0;n<e.length-1;n+=2)"string"==typeof e[n]?(Ue(t[e[n+1]]).removeEventListener(e[n],t[Se][e[n+2]],e[n+3]),n+=2):"number"==typeof e[n]?(0,t[Se][e[n]])():e[n].call(t[Se][e[n+1]]);t[Se]=null}}(e),function(t){var e,n=t[ve];null!=n&&null!=(e=n.destroyHooks)&&Ye(t,e)}(e),(r=(n=e)[ve]&&n[ve].pipeDestroyHooks)&&Ye(n,r),-1===e[ve].id&&Je(e[Te])&&e[Te].destroy()}var n,r}var un,sn,ln,cn,fn,pn,hn,dn,vn=Promise.resolve(null);function gn(){return sn}var yn=!1,mn=!0,bn=-1;function _n(t,e){var n=dn;return fn=t&&t[ve],hn=t&&1==(1&t[ge]),mn=t&&fn.firstTemplatePass,bn=t&&fn.bindingStartIndex,un=t&&t[Te],ln=e,cn=!0,dn=t,n&&(n[be]=pn),pn=t&&t[be],n}function wn(t,e){e||(yn||Qe(dn,fn.viewHooks,fn.viewCheckHooks,hn),dn[ge]&=-6),dn[ge]|=16,dn[Ce]=fn.bindingStartIndex,_n(t,null)}function Cn(){Sn();var t=mn;fn.firstTemplatePass=mn=!1,yn||We(dn,fn,hn),function(t){for(var e=rn(dn);null!==e;e=e[me])if(e.length<de&&-1===e[Ve])for(var n=e,r=0;r<n[Me].length;r++){var o=n[Me][r];Tn(o,o[ve],o[Ee],2)}}(),function(t){if(null!=t.contentQueries)for(var e=0;e<t.contentQueries.length;e+=2){var n=t.contentQueries[e];t.data[n].contentQueriesRefresh(n-de,t.contentQueries[e+1])}}(fn),yn||Qe(dn,fn.contentHooks,fn.contentCheckHooks,hn),function(t,e){if(null!=t)for(var n=0;n<t.length;n++)Dn(t[n],e)}(fn.components,t)}function Sn(){if(fn.expandoInstructions){bn=dn[Ce]=fn.expandoStartIndex;for(var t=-1,e=-1,n=0;n<fn.expandoInstructions.length;n++){var r=fn.expandoInstructions[n];"number"==typeof r?r<=0?(e=-r,"number"==typeof dn[bn]&&(bn+=Ke),t=bn):bn+=r:(dn[Ce]=bn,r(t-de,e),t++)}}}function En(t,e,n,r,o){var i=e.blueprint.slice();return i[ge]=25|r,i[ye]=i[Oe]=dn,i[Ee]=n,i[xe]=dn?dn[xe]:null,i[Te]=t,i[ke]=o||null,i}function xn(t,e,n,r,o){var i=t+de;dn[i]=n;var a=fn.data[i];return null==a&&(a=fn.data[i]=Nn(e,i,r,o,null),ln&&(!cn||null!=ln.child||null===a.parent&&2!==ln.type?cn||(ln.next=a):ln.child=a)),null==fn.firstChild&&3===e&&(fn.firstChild=a),ln=a,cn=!0,a}function Tn(t,e,n,r){var o,i=cn,a=ln;if(64&t[ge])Mn(t[Ee]);else try{cn=!0,ln=null,o=_n(t,t[we]),Pn(),e.template(r,n),2&r?Cn():t[ve].firstTemplatePass=mn=!1}finally{wn(o,1==(1&r)),cn=i,ln=a}}function kn(t,e,n){var r=_n(t,t[we]);try{sn.begin&&sn.begin(),n?(Pn(),n(An(t),e),Cn()):(yn||(We(dn,fn,hn),Qe(dn,fn.contentHooks,fn.contentCheckHooks,hn)),Sn(),Dn(de,!1))}finally{sn.end&&sn.end(),wn(r)}}function An(t){return 1&t[ge]?3:2}var On=null;function Pn(){On=null}function In(t,e,n,r,o,i,a){var u=de+n,s=u+r,l=function(t,e){var n=new Array(e).fill(null,0,t).fill(Fn,t);return n[Ae]=-1,n[Ce]=t,n}(u,s);return l[ve]={id:t,blueprint:l,template:e,viewQuery:a,node:null,data:l.slice(),childIndex:-1,bindingStartIndex:u,expandoStartIndex:s,expandoInstructions:null,firstTemplatePass:!0,initHooks:null,checkHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,pipeDestroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof o?o():o,pipeRegistry:"function"==typeof i?i():i,currentMatches:null,firstChild:null}}function Rn(t,e){sn=t;var n=t.createRenderer(null,null);return"string"==typeof e?Je(n)?n.selectRootElement(e):n.querySelector(e):e}function Nn(t,e,n,r,o){var i=cn?ln:ln&&ln.parent,a=i&&dn&&i!==dn[we]?i:null;return{type:t,index:e,injectorIndex:a?a.injectorIndex:-1,flags:0,tagName:n,attrs:r,localNames:null,initialInputs:void 0,inputs:void 0,outputs:void 0,tViews:o,next:null,child:null,parent:a,detached:null,stylingTemplate:null,projection:null}}function Dn(t,e){var n=Fe(t,dn);Vn(n)&&6&n[ge]&&(e&&function(t){for(var e=t[ve],n=t.length;n<e.blueprint.length;n++)t[n]=e.blueprint[n]}(n),Ln(n,n[Ee]))}function Vn(t){return 8==(8&t[ge])}function Mn(t){for(var e=0;e<t.components.length;e++){var n=t.components[e];kn(ze(n),n)}}function jn(t){Ln(function(t){var e,n=He(t);if(Array.isArray(n)){var r=function(t,e){var n=t[ve].components;if(n)for(var r=0;r<n.length;r++){var o=n[r];if(Fe(o,t)[Ee]===e)return o}else if(Fe(de,t)[Ee]===e)return de;return-1}(n,t);(o=function(t,e,n){return{lViewData:t,nodeIndex:e,native:n,component:void 0,directives:void 0,localRefs:void 0}}(n,r,(e=Fe(r,n))[_e])).component=t,Be(t,o),Be(o.native,o)}else{var o;e=Fe((o=n).nodeIndex,o.lViewData)}return e}(t),t)}function Un(t){Mn(t[Ee])}function Ln(t,e){var n=t[ve],r=_n(t,t[we]),o=n.template,i=n.viewQuery;try{Pn(),function(e,n,r){e&&1&t[ge]&&e(1,r)}(i,0,e),o(An(t),e),Cn(),function(t,e){t&&t(2,e)}(i,e)}finally{wn(r)}}var Fn={},Hn=vn,zn=[0,1];function Bn(t,e,n,r,o,i){var a=function(t,e,n,r){if(Be(e,dn),r&&Be(r,dn),dn[t]=e,mn){var o=ln.flags;0===o?ln.flags=t<<15|4096&o|1:ln.flags++,fn.data.push(n),fn.blueprint.push(null),n.hostBindings&&fn.expandoInstructions.push((a=n).hostBindings,a.hostVars)}else{var i=n.diPublic;i&&i(n)}var a;return null!=n.attributes&&3==ln.type&&function(t,e){for(var n=Je(un),r=0;r<e.length;){var o=e[r];if(1===o)break;if(o===$e)r+=2;else if(0===o){var i=e[r+1],a=e[r+2],u=e[r+3];n?un.setAttribute(t,a,u,i):t.setAttributeNS(i,a,u),r+=4}else u=e[r+1],n?un.setAttribute(t,o,u):t.setAttribute(o,u),r+=2}}(r,n.attributes),e}(r.length,n.factory(),n,t);return o.components.push(a),e[Ee]=a,i&&i.forEach(function(t){return t(a,n)}),r[ve].firstTemplatePass&&function(t){for(var e=0;e<t;e++)dn.push(Fn),fn.blueprint.push(Fn),fn.data.push(null)}(n.hostVars),Sn(),a}function Gn(t,e){return{components:[],scheduler:t,clean:Hn,playerHandler:e||null,flags:0}}function Zn(t,e){var n,r,o,i,a=ze(t)[ve],u=a.data.length-1;n=u,o=e.doCheck,i=a,(r=e.onInit)&&(i.initHooks||(i.initHooks=[])).push(n,r),o&&((i.initHooks||(i.initHooks=[])).push(n,o),(i.checkHooks||(i.checkHooks=[])).push(n,o)),function(t,e){if(e.firstTemplatePass)for(var n=t>>15,r=n+(4095&t),o=n;o<r;o++){var i=e.data[o];Ge(i,e,o),Ze(i,e,o),qe(i,e,o)}}(u<<15|1,a)}var qn=function(){return function(){}}(),Wn=function(){return function(){}}();function Qn(t){var e=Error("No component factory found for "+jt(t)+". Did you add it to @NgModule.entryComponents?");return e[Kn]=t,e}var Yn,Kn="ngComponent",$n=function(){function t(){}return t.prototype.resolveComponentFactory=function(t){throw Qn(t)},t}(),Jn=function(){function t(){}return t.NULL=new $n,t}(),Xn=function(){function t(t,e,n){this._parent=e,this._ngModule=n,this._factories=new Map;for(var r=0;r<t.length;r++){var o=t[r];this._factories.set(o.componentType,o)}}return t.prototype.resolveComponentFactory=function(t){var e=this._factories.get(t);if(!e&&this._parent&&(e=this._parent.resolveComponentFactory(t)),!e)throw Qn(t);return new tr(e,this._ngModule)},t}(),tr=function(t){function e(e,n){var r=t.call(this)||this;return r.factory=e,r.ngModule=n,r.selector=e.selector,r.componentType=e.componentType,r.ngContentSelectors=e.ngContentSelectors,r.inputs=e.inputs,r.outputs=e.outputs,r}return o(e,t),e.prototype.create=function(t,e,n,r){return this.factory.create(t,e,n,r||this.ngModule)},e}(Wn),er=function(){return function(){}}(),nr=function(){return function(){}}(),rr=function(t){function e(e){var n=t.call(this,e,null,-1)||this;return n._view=e,n}return o(e,t),e.prototype.detectChanges=function(){Un(this._view)},e.prototype.checkNoChanges=function(){!function(t){yn=!0;try{Un(t)}finally{yn=!1}}(this._view)},e}(function(){function t(t,e,n){this._context=e,this._componentIndex=n,this._appRef=null,this._viewContainerRef=null,this._tViewNode=null,this._view=t}return Object.defineProperty(t.prototype,"context",{get:function(){return this._context?this._context:this._lookUpContext()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"destroyed",{get:function(){return 32==(32&this._view[ge])},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){var t,e;this._viewContainerRef&&Vn(this._view)&&(this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),this._viewContainerRef=null),Je(e=(t=this._view)[Te])&&e.destroyNode&&function(e,n,r,o,i){for(var a=t[ve].node,u=-1,s=t,l=a.child;l;){var c=null;if(3===l.type){nn(2,r,null,Le(l,s),i);var f=s[l.index];v=f,Array.isArray(v)&&"number"==typeof v[Ve]&&nn(2,r,null,f[je],i)}else if(0===l.type){var p=s[l.index];nn(2,r,null,p[je],i),p[Me].length&&(c=(s=p[Me][0])[ve].node,i=p[je])}else if(1===l.type){var h=en(s),d=h[we].projection[l.projection];tn[++u]=l,tn[++u]=s,d&&(c=(s=h[ye])[ve].data[d.index])}else c=l.child;if(null===c)for(null===l.next&&8192&l.flags&&(s=tn[u--],l=tn[u--]),c=l.next;!c;){if(null===(l=l.parent||s[ve].node)||l===a)return null;0===l.type&&(i=(s=s[ye])[l.index][je]),c=2===l.type&&s[me]?(s=s[me])[ve].node:l.next}l=c}var v}(0,0,e),function(t){if(-1===t[ve].childIndex)return an(t);for(var e=rn(t);e;){var n=null;if(e.length>=de?e[ve].childIndex>-1&&(n=rn(e)):e[Me].length&&(n=e[Me][0]),null==n){for(;e&&!e[me]&&e!==t;)an(e),e=on(e,t);an(e||t),n=e&&e[me]}e=n}}(t),t[ge]|=32},t.prototype.onDestroy=function(t){var e,n;n=t,function(t){return t[Se]||(t[Se]=[])}(e=this._view).push(n),e[ve].firstTemplatePass&&function(t){return t[ve].cleanup||(t[ve].cleanup=[])}(e).push(e[Se].length-1,null)},t.prototype.markForCheck=function(){!function(t){for(var e=t;e&&!(64&e[ge]);)e[ge]|=4,e=e[ye];var n,r,o;e[ge]|=4,o=0===(n=e[Ee]).flags,n.flags|=1,o&&n.clean==vn&&(n.clean=new Promise(function(t){return r=t}),n.scheduler(function(){if(1&n.flags&&(n.flags&=-2,Mn(n)),2&n.flags){n.flags&=-3;var t=n.playerHandler;t&&t.flushPlayers()}n.clean=vn,r(null)}))}(this._view)},t.prototype.detach=function(){this._view[ge]&=-9},t.prototype.reattach=function(){this._view[ge]|=8},t.prototype.detectChanges=function(){var t=gn();t.begin&&t.begin(),jn(this.context),t.end&&t.end()},t.prototype.checkNoChanges=function(){!function(t){yn=!0;try{jn(t)}finally{yn=!1}}(this.context)},t.prototype.attachToViewContainerRef=function(t){this._viewContainerRef=t},t.prototype.detachFromAppRef=function(){this._appRef=null},t.prototype.attachToAppRef=function(t){this._appRef=t},t.prototype._lookUpContext=function(){return this._context=this._view[ye][this._componentIndex]},t}());function or(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e]}var ir=or,ar=or,ur=or,sr=or,lr=or,cr=function(){function t(t){this.nativeElement=t}return t.__NG_ELEMENT_ID__=function(){return ir(t)},t}(),fr=function(){return function(){}}(),pr=function(){return function(){}}(),hr=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}({}),dr=function(){function t(){}return t.__NG_ELEMENT_ID__=function(){return lr()},t}(),vr=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.resolveComponentFactory=function(t){return new _r(t[mt]||null)},e}(Jn);function gr(t){var e=[];for(var n in t)t.hasOwnProperty(n)&&e.push({propName:t[n],templateName:n});return e}var yr=new xt("ROOT_CONTEXT_TOKEN",{providedIn:"root",factory:function(){return Gn(ce(mr))}}),mr=new xt("SCHEDULER_TOKEN",{providedIn:"root",factory:function(){return"undefined"!=typeof requestAnimationFrame&&"undefined"!=typeof window?requestAnimationFrame.bind(window):setTimeout}}),br=new xt("WRAP_RENDERER_FACTORY2"),_r=function(t){function e(e){var n=t.call(this)||this;return n.componentDef=e,n.componentType=e.type,n.selector=e.selectors[0][0],n.ngContentSelectors=[],n}return o(e,t),Object.defineProperty(e.prototype,"inputs",{get:function(){return gr(this.componentDef.inputs)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"outputs",{get:function(){return gr(this.componentDef.outputs)},enumerable:!0,configurable:!0}),e.prototype.create=function(t,e,n,r){var i,a=void 0===n;i=r?r.injector.get(br,function(t){return t})(r.injector.get(pr)):Xe;var u,s,l=a?(u=this.selector,Je(s=i.createRenderer(null,this.componentDef)||un)?s.createElement(u,On):null===On?s.createElement(u):s.createElementNS(On,u)):Rn(i,n),c=this.componentDef.onPush?68:66,f=r&&!a?r.injector.get(yr):Gn(requestAnimationFrame.bind(window)),p=i.createRenderer(l,this.componentDef),h=En(p,In(-1,null,1,0,null,null,null),f,c);h[xe]=r&&r.injector||null;var d,v,g,y,m=_n(h,null);try{i.begin&&i.begin();var b=function(t,e,n,r,o){cn=!1,ln=null;var i,a=n[ve],u=En(r,(i=e.template).ngPrivateData||(i.ngPrivateData=In(-1,i,e.consts,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery)),null,e.onPush?4:2,o),s=xn(0,3,t,null,null);return a.firstTemplatePass&&(a.expandoInstructions=zn.slice(),e.diPublic&&e.diPublic(e),s.flags=n.length<<15|4096),u[_e]=n[de],u[we]=s,n[de]=u}(l,this.componentDef,h,p);if(v=h[ve].data[0+de],e)for(var _=0,w=v.projection=[],C=0;C<e.length;C++){for(var S=e[C],E=null,x=null,T=0;T<S.length;T++){y=void 0,(y=(g=h)[ve]).firstTemplatePass&&(y.expandoStartIndex++,y.blueprint.push(null),g.push(null));var k=xn(++_,3,S[T],null,null);x?x.next=k:E=k,x=k}w.push(E)}d=Bn(l,b,this.componentDef,h,f,[Zn]),Tn(b,b[ve],d,1),b[ge]&=-2}finally{_n(m,null),i.end&&i.end()}var A=new wr(this.componentType,d,h,t,function(t,e,n){return Yn||(Yn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(cr)),new Yn(Le(e,n))}(0,v,h));return a&&(A.hostView._tViewNode.child=v),A},e}(Wn),wr=function(t){function e(e,n,r,o,i){var a,u=t.call(this)||this;return u.location=i,u.destroyCbs=[],u.instance=n,u.hostView=u.changeDetectorRef=new rr(r),u.hostView._tViewNode=(-1,null==(a=r)[ve].node&&(a[ve].node=Nn(2,-1,null,null,null)),cn=!0,ln=a[we]=a[ve].node),u.injector=o,u.componentType=e,u}return o(e,t),e.prototype.destroy=function(){this.destroyCbs.forEach(function(t){return t()}),this.destroyCbs=null},e.prototype.onDestroy=function(t){this.destroyCbs.push(t)},e}(qn),Cr=new xt("The presence of this token marks an injector as being the root injector."),Sr={},Er={},xr=[],Tr=void 0;function kr(){return void 0===Tr&&(Tr=new Qt),Tr}var Ar=function(){function t(t,e,n){var r=this;this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this.destroyed=!1,Ir([t],function(t){return r.processInjectorType(t,new Set)}),e&&Ir(e,function(t){return r.processProvider(t)}),this.records.set(Wt,Pr(void 0,this)),this.isRootInjector=this.records.has(Cr),this.injectorDefTypes.forEach(function(t){return r.get(t)})}return t.prototype.destroy=function(){this.assertNotDestroyed(),this.destroyed=!0;try{this.onDestroy.forEach(function(t){return t.ngOnDestroy()})}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}},t.prototype.get=function(t,e,n){void 0===e&&(e=qt),void 0===n&&(n=0),this.assertNotDestroyed();var r,o=le(this);try{if(!(4&n)){var i=this.records.get(t);if(void 0===i){var a=("function"==typeof(r=t)||"object"==typeof r&&r instanceof xt)&&St(t);a&&this.injectableDefInScope(a)&&(i=Or(t),this.records.set(t,i))}if(void 0!==i)return this.hydrate(t,i)}return 2&n&&kr(),this.parent.get(t,e)}finally{le(o)}},t.prototype.assertNotDestroyed=function(){if(this.destroyed)throw new Error("Injector has already been destroyed.")},t.prototype.processInjectorType=function(t,e){var n=this,r=Et(t=Lt(t)),o=null==r&&t.ngModule||void 0,i=void 0===o?t:o,a=void 0!==o&&t.providers||xr;if(void 0!==o&&(r=Et(o)),null!=r){if(e.has(i))throw new Error("Circular dependency: type "+jt(i)+" ends up importing itself.");if(this.injectorDefTypes.add(i),this.records.set(i,Pr(r.factory)),null!=r.imports){e.add(i);try{Ir(r.imports,function(t){return n.processInjectorType(t,e)})}finally{e.delete(i)}}null!=r.providers&&Ir(r.providers,function(t){return n.processProvider(t)}),Ir(a,function(t){return n.processProvider(t)})}},t.prototype.processProvider=function(t){var e=Rr(t=Lt(t))?t:Lt(t.provide),n=function(t){var e=Lt(t),n=Sr,r=void 0;if(Rr(t))return Or(t);if(e=Lt(t.provide),te in t)n=t.useValue;else if(t.useExisting)r=function(){return ce(t.useExisting)};else if(t.useFactory)r=function(){return t.useFactory.apply(t,c(fe(t.deps||[])))};else{var o=t.useClass||e;if(!t.deps)return Or(o);r=function(){return new(o.bind.apply(o,c([void 0],fe(t.deps))))}}return Pr(r,n)}(t);if(Rr(t)||!0!==t.multi){var r=this.records.get(e);if(r&&void 0!==r.multi)throw new Error("Mixed multi-provider for "+jt(e))}else{var o=this.records.get(e);if(o){if(void 0===o.multi)throw new Error("Mixed multi-provider for "+e+".")}else(o=Pr(void 0,Sr,!0)).factory=function(){return fe(o.multi)},this.records.set(e,o);e=t,o.multi.push(t)}this.records.set(e,n)},t.prototype.hydrate=function(t,e){if(e.value===Er)throw new Error("Circular dep for "+jt(t));var n;return e.value===Sr&&(e.value=Er,e.value=e.factory()),"object"==typeof e.value&&e.value&&"object"==typeof(n=e.value)&&null!=n&&n.ngOnDestroy&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(e.value),e.value},t.prototype.injectableDefInScope=function(t){return!!t.providedIn&&("string"==typeof t.providedIn?"any"===t.providedIn||"root"===t.providedIn&&this.isRootInjector:this.injectorDefTypes.has(t.providedIn))},t}();function Or(t){var e=St(t);if(null===e){if(t instanceof xt)throw new Error("Token "+jt(t)+" is missing an ngInjectableDef definition.");return Pr(function(){return new t})}return Pr(e.factory)}function Pr(t,e,n){return void 0===e&&(e=Sr),void 0===n&&(n=!1),{factory:t,value:e,multi:n?[]:void 0}}function Ir(t,e){t.forEach(function(t){return Array.isArray(t)?Ir(t,e):e(t)})}function Rr(t){return"function"==typeof t}var Nr={provide:Jn,useFactory:function(){return new vr},deps:[]},Dr=function(t){function e(e,n){var r=t.call(this)||this;return r._bootstrapComponents=[],r.destroyCbs=[],r._bootstrapComponents=(e[wt]||null).bootstrap,r.injector=function(t,e,n){return void 0===e&&(e=null),void 0===n&&(n=null),e=e||kr(),new Ar(t,n,e)}(e,n,[Nr,{provide:er,useValue:r}]),r.instance=r.injector.get(e),r.componentFactoryResolver=new vr,r}return o(e,t),e.prototype.destroy=function(){this.destroyCbs.forEach(function(t){return t()}),this.destroyCbs=null},e.prototype.onDestroy=function(t){this.destroyCbs.push(t)},e}(er);!function(t){function e(e){var n=t.call(this)||this;return n.moduleType=e,n}o(e,t),e.prototype.create=function(t){return new Dr(this.moduleType,t)}}(nr);var Vr=function(t){function e(e){void 0===e&&(e=!1);var n=t.call(this)||this;return n.__isAsync=e,n}return o(e,t),e.prototype.emit=function(e){t.prototype.next.call(this,e)},e.prototype.subscribe=function(e,n,r){var o,i=function(t){return null},a=function(){return null};e&&"object"==typeof e?(o=this.__isAsync?function(t){setTimeout(function(){return e.next(t)})}:function(t){e.next(t)},e.error&&(i=this.__isAsync?function(t){setTimeout(function(){return e.error(t)})}:function(t){e.error(t)}),e.complete&&(a=this.__isAsync?function(){setTimeout(function(){return e.complete()})}:function(){e.complete()})):(o=this.__isAsync?function(t){setTimeout(function(){return e(t)})}:function(t){e(t)},n&&(i=this.__isAsync?function(t){setTimeout(function(){return n(t)})}:function(t){n(t)}),r&&(a=this.__isAsync?function(){setTimeout(function(){return r()})}:function(){r()}));var u=t.prototype.subscribe.call(this,o,i,a);return e instanceof _&&e.add(u),u},e}(L),Mr=function(){function t(){}return t.__NG_ELEMENT_ID__=function(){return ar(t,cr)},t}(),jr=!0,Ur=!1;function Lr(){return Ur=!0,jr}var Fr=function(){function t(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),this.inertBodyElement=this.inertDocument.body,null==this.inertBodyElement){var e=this.inertDocument.createElement("html");this.inertDocument.appendChild(e),this.inertBodyElement=this.inertDocument.createElement("body"),e.appendChild(this.inertBodyElement)}this.inertBodyElement.innerHTML='<svg><g onload="this.parentNode.remove()"></g></svg>',!this.inertBodyElement.querySelector||this.inertBodyElement.querySelector("svg")?(this.inertBodyElement.innerHTML='<svg><p><style><img src="</style><img src=x onerror=alert(1)//">',this.getInertBodyElement=this.inertBodyElement.querySelector&&this.inertBodyElement.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(t){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}return t.prototype.getInertBodyElement_XHR=function(t){t="<body><remove></remove>"+t+"</body>";try{t=encodeURI(t)}catch(r){return null}var e=new XMLHttpRequest;e.responseType="document",e.open("GET","data:text/html;charset=utf-8,"+t,!1),e.send(void 0);var n=e.response.body;return n.removeChild(n.firstChild),n},t.prototype.getInertBodyElement_DOMParser=function(t){t="<body><remove></remove>"+t+"</body>";try{var e=(new window.DOMParser).parseFromString(t,"text/html").body;return e.removeChild(e.firstChild),e}catch(n){return null}},t.prototype.getInertBodyElement_InertDocument=function(t){var e=this.inertDocument.createElement("template");return"content"in e?(e.innerHTML=t,e):(this.inertBodyElement.innerHTML=t,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(this.inertBodyElement),this.inertBodyElement)},t.prototype.stripCustomNsAttrs=function(t){for(var e=t.attributes,n=e.length-1;0<n;n--){var r=e.item(n).name;"xmlns:ns1"!==r&&0!==r.indexOf("ns1:")||t.removeAttribute(r)}for(var o=t.firstChild;o;)o.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(o),o=o.nextSibling},t}(),Hr=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:\/?#]*(?:[\/?#]|$))/gi,zr=/^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 Br(t){return(t=String(t)).match(Hr)||t.match(zr)?t:(Lr()&&console.warn("WARNING: sanitizing unsafe URL value "+t+" (see http://g.co/ng/security#xss)"),"unsafe:"+t)}function Gr(t){var e,n,r={};try{for(var o=s(t.split(",")),i=o.next();!i.done;i=o.next())r[i.value]=!0}catch(a){e={error:a}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(e)throw e.error}}return r}function Zr(){for(var t,e,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var o={};try{for(var i=s(n),a=i.next();!a.done;a=i.next()){var u=a.value;for(var l in u)u.hasOwnProperty(l)&&(o[l]=!0)}}catch(c){t={error:c}}finally{try{a&&!a.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}return o}var qr,Wr=Gr("area,br,col,hr,img,wbr"),Qr=Gr("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Yr=Gr("rp,rt"),Kr=Zr(Yr,Qr),$r=Zr(Wr,Zr(Qr,Gr("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")),Zr(Yr,Gr("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")),Kr),Jr=Gr("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Xr=Gr("srcset"),to=Zr(Jr,Xr,Gr("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")),eo=function(){function t(){this.sanitizedSomething=!1,this.buf=[]}return t.prototype.sanitizeChildren=function(t){for(var e=t.firstChild;e;)if(e.nodeType===Node.ELEMENT_NODE?this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,e.firstChild)e=e.firstChild;else for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);var n=this.checkClobberedElement(e,e.nextSibling);if(n){e=n;break}e=this.checkClobberedElement(e,e.parentNode)}return this.buf.join("")},t.prototype.startElement=function(t){var e=t.nodeName.toLowerCase();if($r.hasOwnProperty(e)){this.buf.push("<"),this.buf.push(e);for(var n,r=t.attributes,o=0;o<r.length;o++){var i=r.item(o),a=i.name,u=a.toLowerCase();if(to.hasOwnProperty(u)){var s=i.value;Jr[u]&&(s=Br(s)),Xr[u]&&(n=s,s=(n=String(n)).split(",").map(function(t){return Br(t.trim())}).join(", ")),this.buf.push(" ",a,'="',oo(s),'"')}else this.sanitizedSomething=!0}this.buf.push(">")}else this.sanitizedSomething=!0},t.prototype.endElement=function(t){var e=t.nodeName.toLowerCase();$r.hasOwnProperty(e)&&!Wr.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))},t.prototype.chars=function(t){this.buf.push(oo(t))},t.prototype.checkClobberedElement=function(t,e){if(e&&(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: "+t.outerHTML);return e},t}(),no=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,ro=/([^\#-~ |!])/g;function oo(t){return t.replace(/&/g,"&").replace(no,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(ro,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}function io(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var ao=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}({}),uo=function(){return function(){}}(),so=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"),lo=/^url\(([^)]+)\)$/;String,String;var co=new(function(){return function(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}())("7.0.4"),fo="ngDebugContext",po="ngOriginalError",ho="ngErrorLogger";function vo(t){return t[fo]}function go(t){return t[po]}function yo(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];t.error.apply(t,c(e))}var mo=function(){function t(){this._console=console}return t.prototype.handleError=function(t){var e=this._findOriginalError(t),n=this._findContext(t),r=function(t){return t[ho]||yo}(t);r(this._console,"ERROR",t),e&&r(this._console,"ORIGINAL ERROR",e),n&&r(this._console,"ERROR CONTEXT",n)},t.prototype._findContext=function(t){return t?vo(t)?vo(t):this._findContext(go(t)):null},t.prototype._findOriginalError=function(t){for(var e=go(t);e&&go(e);)e=go(e);return e},t}();function bo(t){return!!t&&"function"==typeof t.then}function _o(t){return!!t&&"function"==typeof t.subscribe}var wo=new xt("Application Initializer"),Co=function(){function t(t){var e=this;this.appInits=t,this.initialized=!1,this.done=!1,this.donePromise=new Promise(function(t,n){e.resolve=t,e.reject=n})}return t.prototype.runInitializers=function(){var t=this;if(!this.initialized){var e=[],n=function(){t.done=!0,t.resolve()};if(this.appInits)for(var r=0;r<this.appInits.length;r++){var o=this.appInits[r]();bo(o)&&e.push(o)}Promise.all(e).then(function(){n()}).catch(function(e){t.reject(e)}),0===e.length&&n(),this.initialized=!0}},t}(),So=new xt("AppId");function Eo(){return""+xo()+xo()+xo()}function xo(){return String.fromCharCode(97+Math.floor(25*Math.random()))}var To=new xt("Platform Initializer"),ko=new xt("Platform ID"),Ao=new xt("appBootstrapListener"),Oo=function(){function t(){}return t.prototype.log=function(t){console.log(t)},t.prototype.warn=function(t){console.warn(t)},t}();function Po(){throw new Error("Runtime compiler is not loaded")}var Io,Ro,No=function(){function t(){}return t.prototype.compileModuleSync=function(t){throw Po()},t.prototype.compileModuleAsync=function(t){throw Po()},t.prototype.compileModuleAndAllComponentsSync=function(t){throw Po()},t.prototype.compileModuleAndAllComponentsAsync=function(t){throw Po()},t.prototype.clearCache=function(){},t.prototype.clearCacheFor=function(t){},t.prototype.getModuleId=function(t){},t}(),Do=function(){return function(){}}();function Vo(){var t=It.wtf;return!(!t||!(Io=t.trace)||(Ro=Io.events,0))}var Mo=Vo();function jo(t,e){return null}var Uo=Mo?function(t,e){return void 0===e&&(e=null),Ro.createScope(t,e)}:function(t,e){return jo},Lo=Mo?function(t,e){return Io.leaveScope(t,e),e}:function(t,e){return e},Fo=function(){function t(t){var e,n=t.enableLongStackTrace,r=void 0!==n&&n;if(this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Vr(!1),this.onMicrotaskEmpty=new Vr(!1),this.onStable=new Vr(!1),this.onError=new Vr(!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)),(e=this)._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:function(t,n,r,o,i,a){try{return Go(e),t.invokeTask(r,o,i,a)}finally{Zo(e)}},onInvoke:function(t,n,r,o,i,a,u){try{return Go(e),t.invoke(r,o,i,a,u)}finally{Zo(e)}},onHasTask:function(t,n,r,o){t.hasTask(r,o),n===r&&("microTask"==o.change?(e.hasPendingMicrotasks=o.microTask,Bo(e)):"macroTask"==o.change&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:function(t,n,r,o){return t.handleError(r,o),e.runOutsideAngular(function(){return e.onError.emit(o)}),!1}})}return t.isInAngularZone=function(){return!0===Zone.current.get("isAngularZone")},t.assertInAngularZone=function(){if(!t.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")},t.assertNotInAngularZone=function(){if(t.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")},t.prototype.run=function(t,e,n){return this._inner.run(t,e,n)},t.prototype.runTask=function(t,e,n,r){var o=this._inner,i=o.scheduleEventTask("NgZoneEvent: "+r,t,zo,Ho,Ho);try{return o.runTask(i,e,n)}finally{o.cancelTask(i)}},t.prototype.runGuarded=function(t,e,n){return this._inner.runGuarded(t,e,n)},t.prototype.runOutsideAngular=function(t){return this._outer.run(t)},t}();function Ho(){}var zo={};function Bo(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(function(){return t.onStable.emit(null)})}finally{t.isStable=!0}}}function Go(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Zo(t){t._nesting--,Bo(t)}var qo,Wo=function(){function t(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Vr,this.onMicrotaskEmpty=new Vr,this.onStable=new Vr,this.onError=new Vr}return t.prototype.run=function(t){return t()},t.prototype.runGuarded=function(t){return t()},t.prototype.runOutsideAngular=function(t){return t()},t.prototype.runTask=function(t){return t()},t}(),Qo=function(){function t(t){var e=this;this._ngZone=t,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this._watchAngularEvents(),t.run(function(){e.taskTrackingZone=Zone.current.get("TaskTrackingZone")})}return t.prototype._watchAngularEvents=function(){var t=this;this._ngZone.onUnstable.subscribe({next:function(){t._didWork=!0,t._isZoneStable=!1}}),this._ngZone.runOutsideAngular(function(){t._ngZone.onStable.subscribe({next:function(){Fo.assertNotInAngularZone(),Vt(function(){t._isZoneStable=!0,t._runCallbacksIfReady()})}})})},t.prototype.increasePendingRequestCount=function(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount},t.prototype.decreasePendingRequestCount=function(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount},t.prototype.isStable=function(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks},t.prototype._runCallbacksIfReady=function(){var t=this;if(this.isStable())Vt(function(){for(;0!==t._callbacks.length;){var e=t._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(t._didWork)}t._didWork=!1});else{var e=this.getPendingTasks();this._callbacks=this._callbacks.filter(function(t){return!t.updateCb||!t.updateCb(e)||(clearTimeout(t.timeoutId),!1)}),this._didWork=!0}},t.prototype.getPendingTasks=function(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(function(t){return{source:t.source,creationLocation:t.creationLocation,data:t.data}}):[]},t.prototype.addCallback=function(t,e,n){var r=this,o=-1;e&&e>0&&(o=setTimeout(function(){r._callbacks=r._callbacks.filter(function(t){return t.timeoutId!==o}),t(r._didWork,r.getPendingTasks())},e)),this._callbacks.push({doneCb:t,timeoutId:o,updateCb:n})},t.prototype.whenStable=function(t,e,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(t,e,n),this._runCallbacksIfReady()},t.prototype.getPendingRequestCount=function(){return this._pendingCount},t.prototype.findProviders=function(t,e,n){return[]},t}(),Yo=function(){function t(){this._applications=new Map,Ko.addToWindow(this)}return t.prototype.registerApplication=function(t,e){this._applications.set(t,e)},t.prototype.unregisterApplication=function(t){this._applications.delete(t)},t.prototype.unregisterAllApplications=function(){this._applications.clear()},t.prototype.getTestability=function(t){return this._applications.get(t)||null},t.prototype.getAllTestabilities=function(){return Array.from(this._applications.values())},t.prototype.getAllRootElements=function(){return Array.from(this._applications.keys())},t.prototype.findTestabilityInTree=function(t,e){return void 0===e&&(e=!0),Ko.findTestabilityInTree(this,t,e)},a([u("design:paramtypes",[])],t)}(),Ko=new(function(){function t(){}return t.prototype.addToWindow=function(t){},t.prototype.findTestabilityInTree=function(t,e,n){return null},t}()),$o=new xt("AllowMultipleToken"),Jo=function(){return function(t,e){this.name=t,this.token=e}}();function Xo(t,e,n){void 0===n&&(n=[]);var r="Platform: "+e,o=new xt(r);return function(e){void 0===e&&(e=[]);var i=ti();if(!i||i.injector.get($o,!1))if(t)t(n.concat(e).concat({provide:o,useValue:!0}));else{var a=n.concat(e).concat({provide:o,useValue:!0});!function(t){if(qo&&!qo.destroyed&&!qo.injector.get($o,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");qo=t.get(ei);var e=t.get(To,null);e&&e.forEach(function(t){return t()})}(Yt.create({providers:a,name:r}))}return function(t){var e=ti();if(!e)throw new Error("No platform exists!");if(!e.injector.get(t,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return e}(o)}}function ti(){return qo&&!qo.destroyed?qo:null}var ei=function(){function t(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return t.prototype.bootstrapModuleFactory=function(t,e){var n,r=this,o="noop"===(n=e?e.ngZone:void 0)?new Wo:("zone.js"===n?void 0:n)||new Fo({enableLongStackTrace:Lr()}),i=[{provide:Fo,useValue:o}];return o.run(function(){var e=Yt.create({providers:i,parent:r.injector,name:t.moduleType.name}),n=t.create(e),a=n.injector.get(mo,null);if(!a)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.onDestroy(function(){return oi(r._modules,n)}),o.runOutsideAngular(function(){return o.onError.subscribe({next:function(t){a.handleError(t)}})}),function(t,e,o){try{var i=((a=n.injector.get(Co)).runInitializers(),a.donePromise.then(function(){return r._moduleDoBootstrap(n),n}));return bo(i)?i.catch(function(n){throw e.runOutsideAngular(function(){return t.handleError(n)}),n}):i}catch(u){throw e.runOutsideAngular(function(){return t.handleError(u)}),u}var a}(a,o)})},t.prototype.bootstrapModule=function(t,e){var n=this;void 0===e&&(e=[]);var r=ni({},e);return function(t,e,n){return t.get(Do).createCompiler([e]).compileModuleAsync(n)}(this.injector,r,t).then(function(t){return n.bootstrapModuleFactory(t,r)})},t.prototype._moduleDoBootstrap=function(t){var e=t.injector.get(ri);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(function(t){return e.bootstrap(t)});else{if(!t.instance.ngDoBootstrap)throw new Error("The module "+jt(t.instance.constructor)+' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.');t.instance.ngDoBootstrap(e)}this._modules.push(t)},t.prototype.onDestroy=function(t){this._destroyListeners.push(t)},Object.defineProperty(t.prototype,"injector",{get:function(){return this._injector},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(function(t){return t.destroy()}),this._destroyListeners.forEach(function(t){return t()}),this._destroyed=!0},Object.defineProperty(t.prototype,"destroyed",{get:function(){return this._destroyed},enumerable:!0,configurable:!0}),t}();function ni(t,e){return Array.isArray(e)?e.reduce(ni,t):i({},t,e)}var ri=function(){function t(t,e,n,r,o,i){var a=this;this._zone=t,this._console=e,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=Lr(),this._zone.onMicrotaskEmpty.subscribe({next:function(){a._zone.run(function(){a.tick()})}});var u=new N(function(t){a._stable=a._zone.isStable&&!a._zone.hasPendingMacrotasks&&!a._zone.hasPendingMicrotasks,a._zone.runOutsideAngular(function(){t.next(a._stable),t.complete()})}),s=new N(function(t){var e;a._zone.runOutsideAngular(function(){e=a._zone.onStable.subscribe(function(){Fo.assertNotInAngularZone(),Vt(function(){a._stable||a._zone.hasPendingMacrotasks||a._zone.hasPendingMicrotasks||(a._stable=!0,t.next(!0))})})});var n=a._zone.onUnstable.subscribe(function(){Fo.assertInAngularZone(),a._stable&&(a._stable=!1,a._zone.runOutsideAngular(function(){t.next(!1)}))});return function(){e.unsubscribe(),n.unsubscribe()}});this.isStable=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=Number.POSITIVE_INFINITY,r=null,o=t[t.length-1];return H(o)?(r=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(n=t.pop())):"number"==typeof o&&(n=t.pop()),null===r&&1===t.length&&t[0]instanceof N?t[0]:lt(n)(rt(t,r))}(u,s.pipe(function(t){return ct()((e=gt,function(t){var n;n="function"==typeof e?e:function(){return e};var r=Object.create(t,dt);return r.source=t,r.subjectFactory=n,r})(t));var e}))}var e;return e=t,t.prototype.bootstrap=function(t,e){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=t instanceof Wn?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);var o=n instanceof tr?null:this._injector.get(er),i=n.create(Yt.NULL,[],e||n.selector,o);i.onDestroy(function(){r._unloadComponent(i)});var a=i.injector.get(Qo,null);return a&&i.injector.get(Yo).registerApplication(i.location.nativeElement,a),this._loadComponent(i),Lr()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),i},t.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(t){return t.detectChanges()}),this._enforceNoNewChanges&&this._views.forEach(function(t){return t.checkNoChanges()})}catch(r){this._zone.runOutsideAngular(function(){return t._exceptionHandler.handleError(r)})}finally{this._runningTick=!1,Lo(n)}},t.prototype.attachView=function(t){var e=t;this._views.push(e),e.attachToAppRef(this)},t.prototype.detachView=function(t){var e=t;oi(this._views,e),e.detachFromAppRef()},t.prototype._loadComponent=function(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(Ao,[]).concat(this._bootstrapListeners).forEach(function(e){return e(t)})},t.prototype._unloadComponent=function(t){this.detachView(t.hostView),oi(this.components,t)},t.prototype.ngOnDestroy=function(){this._views.slice().forEach(function(t){return t.destroy()})},Object.defineProperty(t.prototype,"viewCount",{get:function(){return this._views.length},enumerable:!0,configurable:!0}),t._tickScope=Uo("ApplicationRef#tick()"),t}();function oi(t,e){var n=t.indexOf(e);n>-1&&t.splice(n,1)}var ii=function(){return function(){}}(),ai=function(){function t(){this.dirty=!0,this._results=[],this.changes=new Vr,this.length=0}return t.prototype.map=function(t){return this._results.map(t)},t.prototype.filter=function(t){return this._results.filter(t)},t.prototype.find=function(t){return this._results.find(t)},t.prototype.reduce=function(t,e){return this._results.reduce(t,e)},t.prototype.forEach=function(t){this._results.forEach(t)},t.prototype.some=function(t){return this._results.some(t)},t.prototype.toArray=function(){return this._results.slice()},t.prototype[Dt()]=function(){return this._results[Dt()]()},t.prototype.toString=function(){return this._results.toString()},t.prototype.reset=function(t){this._results=function t(e){return e.reduce(function(e,n){var r=Array.isArray(n)?t(n):n;return e.concat(r)},[])}(t),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]},t.prototype.notifyOnChanges=function(){this.changes.emit(this)},t.prototype.setDirty=function(){this.dirty=!0},t.prototype.destroy=function(){this.changes.complete(),this.changes.unsubscribe()},t}(),ui=function(){return function(){}}(),si={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},li=function(){function t(t,e){this._compiler=t,this._config=e||si}return t.prototype.load=function(t){return this._compiler instanceof No?this.loadFactory(t):this.loadAndCompile(t)},t.prototype.loadAndCompile=function(t){var e=this,r=l(t.split("#"),2),o=r[0],i=r[1];return void 0===i&&(i="default"),n("crnd")(o).then(function(t){return t[i]}).then(function(t){return ci(t,o,i)}).then(function(t){return e._compiler.compileModuleAsync(t)})},t.prototype.loadFactory=function(t){var e=l(t.split("#"),2),r=e[0],o=e[1],i="NgFactory";return void 0===o&&(o="default",i=""),n("crnd")(this._config.factoryPathPrefix+r+this._config.factoryPathSuffix).then(function(t){return t[o+i]}).then(function(t){return ci(t,r,o)})},t}();function ci(t,e,n){if(!t)throw new Error("Cannot find '"+n+"' in '"+e+"'");return t}var fi,pi=function(){function t(){}return t.__NG_ELEMENT_ID__=function(){return sr(t,cr)},t}(),hi=function(){function t(){}return t.__NG_ELEMENT_ID__=function(){return ur()},t}(),di=(o(function(){return null!==fi&&fi.apply(this,arguments)||this},fi=hi),function(){return function(t,e){this.name=t,this.callback=e}}()),vi=function(){function t(t,e,n){this.nativeNode=t,this._debugContext=n,this.listeners=[],this.parent=null,e&&e instanceof gi&&e.addChild(this)}return Object.defineProperty(t.prototype,"injector",{get:function(){return this._debugContext.injector},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentInstance",{get:function(){return this._debugContext.component},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this._debugContext.context},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"references",{get:function(){return this._debugContext.references},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"providerTokens",{get:function(){return this._debugContext.providerTokens},enumerable:!0,configurable:!0}),t}(),gi=function(t){function e(e,n,r){var o=t.call(this,e,n,r)||this;return o.properties={},o.attributes={},o.classes={},o.styles={},o.childNodes=[],o.nativeElement=e,o}return o(e,t),e.prototype.addChild=function(t){t&&(this.childNodes.push(t),t.parent=this)},e.prototype.removeChild=function(t){var e=this.childNodes.indexOf(t);-1!==e&&(t.parent=null,this.childNodes.splice(e,1))},e.prototype.insertChildrenAfter=function(t,e){var n,r=this,o=this.childNodes.indexOf(t);-1!==o&&((n=this.childNodes).splice.apply(n,c([o+1,0],e)),e.forEach(function(t){t.parent&&t.parent.removeChild(t),t.parent=r}))},e.prototype.insertBefore=function(t,e){var n=this.childNodes.indexOf(t);-1===n?this.addChild(e):(e.parent&&e.parent.removeChild(e),e.parent=this,this.childNodes.splice(n,0,e))},e.prototype.query=function(t){return this.queryAll(t)[0]||null},e.prototype.queryAll=function(t){var e=[];return function t(e,n,r){e.childNodes.forEach(function(e){e instanceof gi&&(n(e)&&r.push(e),t(e,n,r))})}(this,t,e),e},e.prototype.queryAllNodes=function(t){var e=[];return function t(e,n,r){e instanceof gi&&e.childNodes.forEach(function(e){n(e)&&r.push(e),e instanceof gi&&t(e,n,r)})}(this,t,e),e},Object.defineProperty(e.prototype,"children",{get:function(){return this.childNodes.filter(function(t){return t instanceof e})},enumerable:!0,configurable:!0}),e.prototype.triggerEventHandler=function(t,e){this.listeners.forEach(function(n){n.name==t&&n.callback(e)})},e}(vi),yi=new Map;function mi(t){return yi.get(t)||null}function bi(t){yi.set(t.nativeNode,t)}var _i=function(){function t(){}return t.prototype.supports=function(t){return Ne(t)},t.prototype.create=function(t){return new Ci(t)},t}(),wi=function(t,e){return e},Ci=function(){function t(t){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=t||wi}return t.prototype.forEachItem=function(t){var e;for(e=this._itHead;null!==e;e=e._next)t(e)},t.prototype.forEachOperation=function(t){for(var e=this._itHead,n=this._removalsHead,r=0,o=null;e||n;){var i=!n||e&&e.currentIndex<Ti(n,r,o)?e:n,a=Ti(i,r,o),u=i.currentIndex;if(i===n)r--,n=n._nextRemoved;else if(e=e._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 f=c<o.length?o[c]:o[c]=0,p=f+c;l<=p&&p<s&&(o[c]=f+1)}o[i.previousIndex]=l-s}}a!==u&&t(i,a,u)}},t.prototype.forEachPreviousItem=function(t){var e;for(e=this._previousItHead;null!==e;e=e._nextPrevious)t(e)},t.prototype.forEachAddedItem=function(t){var e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)},t.prototype.forEachMovedItem=function(t){var e;for(e=this._movesHead;null!==e;e=e._nextMoved)t(e)},t.prototype.forEachRemovedItem=function(t){var e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)},t.prototype.forEachIdentityChange=function(t){var e;for(e=this._identityChangesHead;null!==e;e=e._nextIdentityChange)t(e)},t.prototype.diff=function(t){if(null==t&&(t=[]),!Ne(t))throw new Error("Error trying to diff '"+jt(t)+"'. Only arrays and iterables are allowed");return this.check(t)?this:null},t.prototype.onDestroy=function(){},t.prototype.check=function(t){var e=this;this._reset();var n,r,o,i=this._itHead,a=!1;if(Array.isArray(t)){this.length=t.length;for(var u=0;u<this.length;u++)o=this._trackByFn(u,r=t[u]),null!==i&&Mt(i.trackById,o)?(a&&(i=this._verifyReinsertion(i,r,o,u)),Mt(i.item,r)||this._addIdentityChange(i,r)):(i=this._mismatch(i,r,o,u),a=!0),i=i._next}else n=0,function(t,e){if(Array.isArray(t))for(var n=0;n<t.length;n++)e(t[n]);else for(var r=t[Dt()](),o=void 0;!(o=r.next()).done;)e(o.value)}(t,function(t){o=e._trackByFn(n,t),null!==i&&Mt(i.trackById,o)?(a&&(i=e._verifyReinsertion(i,t,o,n)),Mt(i.item,t)||e._addIdentityChange(i,t)):(i=e._mismatch(i,t,o,n),a=!0),i=i._next,n++}),this.length=n;return this._truncate(i),this.collection=t,this.isDirty},Object.defineProperty(t.prototype,"isDirty",{get:function(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead},enumerable:!0,configurable:!0}),t.prototype._reset=function(){if(this.isDirty){var t=void 0,e=void 0;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=e)t.previousIndex=t.currentIndex,e=t._nextMoved;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}},t.prototype._mismatch=function(t,e,n,r){var o;return null===t?o=this._itTail:(o=t._prev,this._remove(t)),null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(Mt(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,o,r)):null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Mt(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,o,r)):t=this._addAfter(new Si(e,n),o,r),t},t.prototype._verifyReinsertion=function(t,e,n,r){var o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==o?t=this._reinsertAfter(o,t._prev,r):t.currentIndex!=r&&(t.currentIndex=r,this._addToMoves(t,r)),t},t.prototype._truncate=function(t){for(;null!==t;){var e=t._next;this._addToRemovals(this._unlink(t)),t=e}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)},t.prototype._reinsertAfter=function(t,e,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);var r=t._prevRemoved,o=t._nextRemoved;return null===r?this._removalsHead=o:r._nextRemoved=o,null===o?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(t,e,n),this._addToMoves(t,n),t},t.prototype._moveAfter=function(t,e,n){return this._unlink(t),this._insertAfter(t,e,n),this._addToMoves(t,n),t},t.prototype._addAfter=function(t,e,n){return this._insertAfter(t,e,n),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t},t.prototype._insertAfter=function(t,e,n){var r=null===e?this._itHead:e._next;return t._next=r,t._prev=e,null===r?this._itTail=t:r._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new xi),this._linkedRecords.put(t),t.currentIndex=n,t},t.prototype._remove=function(t){return this._addToRemovals(this._unlink(t))},t.prototype._unlink=function(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);var e=t._prev,n=t._next;return null===e?this._itHead=n:e._next=n,null===n?this._itTail=e:n._prev=e,t},t.prototype._addToMoves=function(t,e){return t.previousIndex===e?t:(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t,t)},t.prototype._addToRemovals=function(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new xi),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t},t.prototype._addIdentityChange=function(t,e){return t.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t},t}(),Si=function(){return function(t,e){this.item=t,this.trackById=e,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}}(),Ei=function(){function t(){this._head=null,this._tail=null}return t.prototype.add=function(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)},t.prototype.get=function(t,e){var n;for(n=this._head;null!==n;n=n._nextDup)if((null===e||e<=n.currentIndex)&&Mt(n.trackById,t))return n;return null},t.prototype.remove=function(t){var e=t._prevDup,n=t._nextDup;return null===e?this._head=n:e._nextDup=n,null===n?this._tail=e:n._prevDup=e,null===this._head},t}(),xi=function(){function t(){this.map=new Map}return t.prototype.put=function(t){var e=t.trackById,n=this.map.get(e);n||(n=new Ei,this.map.set(e,n)),n.add(t)},t.prototype.get=function(t,e){var n=this.map.get(t);return n?n.get(t,e):null},t.prototype.remove=function(t){var e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t},Object.defineProperty(t.prototype,"isEmpty",{get:function(){return 0===this.map.size},enumerable:!0,configurable:!0}),t.prototype.clear=function(){this.map.clear()},t}();function Ti(t,e,n){var r=t.previousIndex;if(null===r)return r;var o=0;return n&&r<n.length&&(o=n[r]),r+e+o}var ki=function(){function t(){}return t.prototype.supports=function(t){return t instanceof Map||De(t)},t.prototype.create=function(){return new Ai},t}(),Ai=function(){function t(){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(t.prototype,"isDirty",{get:function(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead},enumerable:!0,configurable:!0}),t.prototype.forEachItem=function(t){var e;for(e=this._mapHead;null!==e;e=e._next)t(e)},t.prototype.forEachPreviousItem=function(t){var e;for(e=this._previousMapHead;null!==e;e=e._nextPrevious)t(e)},t.prototype.forEachChangedItem=function(t){var e;for(e=this._changesHead;null!==e;e=e._nextChanged)t(e)},t.prototype.forEachAddedItem=function(t){var e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)},t.prototype.forEachRemovedItem=function(t){var e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)},t.prototype.diff=function(t){if(t){if(!(t instanceof Map||De(t)))throw new Error("Error trying to diff '"+jt(t)+"'. Only maps and objects are allowed")}else t=new Map;return this.check(t)?this:null},t.prototype.onDestroy=function(){},t.prototype.check=function(t){var e=this;this._reset();var n=this._mapHead;if(this._appendAfter=null,this._forEach(t,function(t,r){if(n&&n.key===r)e._maybeAddToChanges(n,t),e._appendAfter=n,n=n._next;else{var o=e._getOrCreateRecordForKey(r,t);n=e._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},t.prototype._insertBeforeOrAppend=function(t,e){if(t){var n=t._prev;return e._next=t,e._prev=n,t._prev=e,n&&(n._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null},t.prototype._getOrCreateRecordForKey=function(t,e){if(this._records.has(t)){var n=this._records.get(t);this._maybeAddToChanges(n,e);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 Oi(t);return this._records.set(t,i),i.currentValue=e,this._addToAdditions(i),i},t.prototype._reset=function(){if(this.isDirty){var t=void 0;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}},t.prototype._maybeAddToChanges=function(t,e){Mt(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))},t.prototype._addToAdditions=function(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)},t.prototype._addToChanges=function(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)},t.prototype._forEach=function(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach(function(n){return e(t[n],n)})},t}(),Oi=function(){return function(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}(),Pi=function(){function t(t){this.factories=t}return t.create=function(e,n){if(null!=n){var r=n.factories.slice();e=e.concat(r)}return new t(e)},t.extend=function(e){return{provide:t,useFactory:function(n){if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return t.create(e,n)},deps:[[t,new Bt,new Ht]]}},t.prototype.find=function(t){var e,n=this.factories.find(function(e){return e.supports(t)});if(null!=n)return n;throw new Error("Cannot find a differ supporting object '"+t+"' of type '"+((e=t).name||typeof e)+"'")},t.ngInjectableDef=Ct({providedIn:"root",factory:function(){return new t([new _i])}}),t}(),Ii=function(){function t(t){this.factories=t}return t.create=function(e,n){if(n){var r=n.factories.slice();e=e.concat(r)}return new t(e)},t.extend=function(e){return{provide:t,useFactory:function(n){if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return t.create(e,n)},deps:[[t,new Bt,new Ht]]}},t.prototype.find=function(t){var e=this.factories.find(function(e){return e.supports(t)});if(e)return e;throw new Error("Cannot find a differ supporting object '"+t+"'")},t}(),Ri=[new ki],Ni=new Pi([new _i]),Di=new Ii(Ri),Vi=Xo(null,"core",[{provide:ko,useValue:"unknown"},{provide:ei,deps:[Yt]},{provide:Yo,deps:[]},{provide:Oo,deps:[]}]),Mi=new xt("LocaleId");function ji(){return Ni}function Ui(){return Di}function Li(t){return t||"en-US"}var Fi=function(){return function(t){}}();function Hi(t,e,n){var r=t.state,o=1792&r;return o===e?(t.state=-1793&r|n,t.initIndex=-1,!0):o===n}function zi(t,e,n){return(1792&t.state)===e&&t.initIndex<=n&&(t.initIndex=n+1,!0)}function Bi(t,e){return t.nodes[e]}function Gi(t,e){return t.nodes[e]}function Zi(t,e){return t.nodes[e]}function qi(t,e){return t.nodes[e]}function Wi(t,e){return t.nodes[e]}var Qi={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 Yi(t,e,n,r){var o="ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '"+e+"'. 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(t,e){var n=new Error(t);return Ki(n,e),n}(o,t)}function Ki(t,e){t[fo]=e,t[ho]=e.logError.bind(e)}function $i(t){return new Error("ViewDestroyedError: Attempt to use a destroyed view: "+t)}var Ji=function(){},Xi=new Map;function ta(t){var e=Xi.get(t);return e||(e=jt(t)+"_"+Xi.size,Xi.set(t,e)),e}var ea="$$undefined",na="$$empty";function ra(t){return{id:ea,styles:t.styles,encapsulation:t.encapsulation,data:t.data}}var oa=0;function ia(t,e,n,r){return!(!(2&t.state)&&Mt(t.oldValues[e.bindingIndex+n],r))}function aa(t,e,n,r){return!!ia(t,e,n,r)&&(t.oldValues[e.bindingIndex+n]=r,!0)}function ua(t,e,n,r){var o=t.oldValues[e.bindingIndex+n];if(1&t.state||!Pe(o,r)){var i=e.bindings[n].name;throw Yi(Qi.createDebugContext(t,e.nodeIndex),i+": "+o,i+": "+r,0!=(1&t.state))}}function sa(t){for(var e=t;e;)2&e.def.flags&&(e.state|=8),e=e.viewContainerParent||e.parent}function la(t,e){for(var n=t;n&&n!==e;)n.state|=64,n=n.viewContainerParent||n.parent}function ca(t,e,n,r){try{return sa(33554432&t.def.nodes[e].flags?Gi(t,e).componentView:t),Qi.handleEvent(t,e,n,r)}catch(o){t.root.errorHandler.handleError(o)}}function fa(t){return t.parent?Gi(t.parent,t.parentNodeDef.nodeIndex):null}function pa(t){return t.parent?t.parentNodeDef.parent:null}function ha(t,e){switch(201347067&e.flags){case 1:return Gi(t,e.nodeIndex).renderElement;case 2:return Bi(t,e.nodeIndex).renderText}}function da(t){return!!t.parent&&!!(32768&t.parentNodeDef.flags)}function va(t){return!(!t.parent||32768&t.parentNodeDef.flags)}function ga(t){var e={},n=0,r={};return t&&t.forEach(function(t){var o=l(t,2),i=o[0],a=o[1];"number"==typeof i?(e[i]=a,n|=function(t){return 1<<t%32}(i)):r[i]=a}),{matchedQueries:e,references:r,matchedQueryIds:n}}function ya(t,e){return t.map(function(t){var n,r,o;return Array.isArray(t)?(o=(n=l(t,2))[0],r=n[1]):(o=0,r=t),r&&("function"==typeof r||"object"==typeof r)&&e&&Object.defineProperty(r,Gt,{value:e,configurable:!0}),{flags:o,token:r,tokenKey:ta(r)}})}function ma(t,e,n){var r=n.renderParent;return r?0==(1&r.flags)||0==(33554432&r.flags)||r.element.componentRendererType&&r.element.componentRendererType.encapsulation===pe.Native?Gi(t,n.renderParent.nodeIndex).renderElement:void 0:e}var ba=new WeakMap;function _a(t){var e=ba.get(t);return e||((e=t(function(){return Ji})).factory=t,ba.set(t,e)),e}function wa(t,e,n,r,o){3===e&&(n=t.renderer.parentNode(ha(t,t.def.lastRenderRootNode))),Ca(t,e,0,t.def.nodes.length-1,n,r,o)}function Ca(t,e,n,r,o,i,a){for(var u=n;u<=r;u++){var s=t.def.nodes[u];11&s.flags&&Ea(t,s,e,o,i,a),u+=s.childCount}}function Sa(t,e,n,r,o,i){for(var a=t;a&&!da(a);)a=a.parent;for(var u=a.parent,s=pa(a),l=s.nodeIndex+s.childCount,c=s.nodeIndex+1;c<=l;c++){var f=u.def.nodes[c];f.ngContentIndex===e&&Ea(u,f,n,r,o,i),c+=f.childCount}if(!u.parent){var p=t.root.projectableNodes[e];if(p)for(c=0;c<p.length;c++)xa(t,p[c],n,r,o,i)}}function Ea(t,e,n,r,o,i){if(8&e.flags)Sa(t,e.ngContent.index,n,r,o,i);else{var a=ha(t,e);if(3===n&&33554432&e.flags&&48&e.bindingFlags?(16&e.bindingFlags&&xa(t,a,n,r,o,i),32&e.bindingFlags&&xa(Gi(t,e.nodeIndex).componentView,a,n,r,o,i)):xa(t,a,n,r,o,i),16777216&e.flags)for(var u=Gi(t,e.nodeIndex).viewContainer._embeddedViews,s=0;s<u.length;s++)wa(u[s],n,r,o,i);1&e.flags&&!e.element.name&&Ca(t,n,e.nodeIndex+1,e.nodeIndex+e.childCount,r,o,i)}}function xa(t,e,n,r,o,i){var a=t.renderer;switch(n){case 1:a.appendChild(r,e);break;case 2:a.insertBefore(r,e,o);break;case 3:a.removeChild(r,e);break;case 0:i.push(e)}}var Ta=/^:([^:]+):(.+)$/;function ka(t){if(":"===t[0]){var e=t.match(Ta);return[e[1],e[2]]}return["",t]}function Aa(t){for(var e=0,n=0;n<t.length;n++)e|=t[n].flags;return e}function Oa(t,e,n,r,o,i){t|=1;var a=ga(e);return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:t,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?_a(i):null,componentProvider:null,componentView:null,componentRendererType:null,publicProviders:null,allProviders:null,handleEvent:o||Ji},provider:null,text:null,query:null,ngContent:null}}function Pa(t,e,n,r,o,i,a,u,s,c,f,p){var h;void 0===a&&(a=[]),c||(c=Ji);var d=ga(n),v=d.matchedQueries,g=d.references,y=d.matchedQueryIds,m=null,b=null;i&&(m=(h=l(ka(i),2))[0],b=h[1]),u=u||[];for(var _=new Array(u.length),w=0;w<u.length;w++){var C=l(u[w],3),S=C[0],E=C[2],x=l(ka(C[1]),2),T=x[0],k=x[1],A=void 0,O=void 0;switch(15&S){case 4:O=E;break;case 1:case 8:A=E}_[w]={flags:S,ns:T,name:k,nonMinifiedName:k,securityContext:A,suffix:O}}s=s||[];var P=new Array(s.length);for(w=0;w<s.length;w++){var I=l(s[w],2);P[w]={type:0,target:I[0],eventName:I[1],propName:null}}var R=(a=a||[]).map(function(t){var e=l(t,2),n=e[1],r=l(ka(e[0]),2);return[r[0],r[1],n]});return p=function(t){if(t&&t.id===ea){var e=null!=t.encapsulation&&t.encapsulation!==pe.None||t.styles.length||Object.keys(t.data).length;t.id=e?"c"+oa++:na}return t&&t.id===na&&(t=null),t||null}(p),f&&(e|=33554432),{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:t,flags:e|=1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:v,matchedQueryIds:y,references:g,ngContentIndex:r,childCount:o,bindings:_,bindingFlags:Aa(_),outputs:P,element:{ns:m,name:b,attrs:R,template:null,componentProvider:null,componentView:f||null,componentRendererType:p,publicProviders:null,allProviders:null,handleEvent:c||Ji},provider:null,text:null,query:null,ngContent:null}}function Ia(t,e,n){var r,o=n.element,i=t.root.selectorOrNode,a=t.renderer;if(t.parent||!i){r=o.name?a.createElement(o.name,o.ns):a.createComment("");var u=ma(t,e,n);u&&a.appendChild(u,r)}else r=a.selectRootElement(i,!!o.componentRendererType&&o.componentRendererType.encapsulation===pe.ShadowDom);if(o.attrs)for(var s=0;s<o.attrs.length;s++){var c=l(o.attrs[s],3);a.setAttribute(r,c[1],c[2],c[0])}return r}function Ra(t,e,n,r){for(var o=0;o<n.outputs.length;o++){var i=n.outputs[o],a=Na(t,n.nodeIndex,(f=i.eventName,(c=i.target)?c+":"+f:f)),u=i.target,s=t;"component"===i.target&&(u=null,s=e);var l=s.renderer.listen(u||r,i.eventName,a);t.disposables[n.outputIndex+o]=l}var c,f}function Na(t,e,n){return function(r){return ca(t,e,n,r)}}function Da(t,e,n,r){if(!aa(t,e,n,r))return!1;var o=e.bindings[n],i=Gi(t,e.nodeIndex),a=i.renderElement,u=o.name;switch(15&o.flags){case 1:!function(t,e,n,r,o,i){var a=e.securityContext,u=a?t.root.sanitizer.sanitize(a,i):i;u=null!=u?u.toString():null;var s=t.renderer;null!=i?s.setAttribute(n,o,u,r):s.removeAttribute(n,o,r)}(t,o,a,o.ns,u,r);break;case 2:!function(t,e,n,r){var o=t.renderer;r?o.addClass(e,n):o.removeClass(e,n)}(t,a,u,r);break;case 4:!function(t,e,n,r,o){var i=t.root.sanitizer.sanitize(ao.STYLE,o);if(null!=i){i=i.toString();var a=e.suffix;null!=a&&(i+=a)}else i=null;var u=t.renderer;null!=i?u.setStyle(n,r,i):u.removeStyle(n,r)}(t,o,a,u,r);break;case 8:!function(t,e,n,r,o){var i=e.securityContext,a=i?t.root.sanitizer.sanitize(i,o):o;t.renderer.setProperty(n,r,a)}(33554432&e.flags&&32&o.flags?i.componentView:t,o,a,u,r)}return!0}var Va=new Object,Ma=ta(Yt),ja=ta(Wt),Ua=ta(er);function La(t,e,n,r){return n=Lt(n),{index:-1,deps:ya(r,jt(e)),flags:t,token:e,value:n}}function Fa(t,e,n){void 0===n&&(n=Yt.THROW_IF_NOT_FOUND);var r,o,i=le(t);try{if(8&e.flags)return e.token;if(2&e.flags&&(n=null),1&e.flags)return t._parent.get(e.token,n);var a=e.tokenKey;switch(a){case Ma:case ja:case Ua:return t}var u,s=t._def.providersByKey[a];if(s){var l=t._providers[s.index];return void 0===l&&(l=t._providers[s.index]=Ha(t,s)),l===Va?void 0:l}if((u=St(e.token))&&(r=t,null!=(o=u).providedIn&&(function(t,e){return t._def.modules.indexOf(o.providedIn)>-1}(r)||"root"===o.providedIn&&r._def.isRoot))){var c=t._providers.length;return t._def.providersByKey[e.tokenKey]={flags:5120,value:u.factory,deps:[],index:c,token:e.token},t._providers[c]=Va,t._providers[c]=Ha(t,t._def.providersByKey[e.tokenKey])}return 4&e.flags?n:t._parent.get(e.token,n)}finally{le(i)}}function Ha(t,e){var n;switch(201347067&e.flags){case 512:n=function(t,e,n){var r=n.length;switch(r){case 0:return new e;case 1:return new e(Fa(t,n[0]));case 2:return new e(Fa(t,n[0]),Fa(t,n[1]));case 3:return new e(Fa(t,n[0]),Fa(t,n[1]),Fa(t,n[2]));default:for(var o=new Array(r),i=0;i<r;i++)o[i]=Fa(t,n[i]);return new(e.bind.apply(e,c([void 0],o)))}}(t,e.value,e.deps);break;case 1024:n=function(t,e,n){var r=n.length;switch(r){case 0:return e();case 1:return e(Fa(t,n[0]));case 2:return e(Fa(t,n[0]),Fa(t,n[1]));case 3:return e(Fa(t,n[0]),Fa(t,n[1]),Fa(t,n[2]));default:for(var o=Array(r),i=0;i<r;i++)o[i]=Fa(t,n[i]);return e.apply(void 0,c(o))}}(t,e.value,e.deps);break;case 2048:n=Fa(t,e.deps[0]);break;case 256:n=e.value}return n===Va||null==n||"object"!=typeof n||131072&e.flags||"function"!=typeof n.ngOnDestroy||(e.flags|=131072),void 0===n?Va:n}function za(t,e){var n=t.viewContainer._embeddedViews;if((null==e||e>=n.length)&&(e=n.length-1),e<0)return null;var r=n[e];return r.viewContainerParent=null,qa(n,e),Qi.dirtyParentQueries(r),Ga(r),r}function Ba(t,e,n){var r=e?ha(e,e.def.lastRenderRootNode):t.renderElement,o=n.renderer.parentNode(r),i=n.renderer.nextSibling(r);wa(n,2,o,i,void 0)}function Ga(t){wa(t,3,null,null,void 0)}function Za(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function qa(t,e){e>=t.length-1?t.pop():t.splice(e,1)}var Wa=new Object;function Qa(t,e,n,r,o,i){return new Ya(t,e,n,r,o,i)}var Ya=function(t){function e(e,n,r,o,i,a){var u=t.call(this)||this;return u.selector=e,u.componentType=n,u._inputs=o,u._outputs=i,u.ngContentSelectors=a,u.viewDefFactory=r,u}return o(e,t),Object.defineProperty(e.prototype,"inputs",{get:function(){var t=[],e=this._inputs;for(var n in e)t.push({propName:n,templateName:e[n]});return t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"outputs",{get:function(){var t=[];for(var e in this._outputs)t.push({propName:e,templateName:this._outputs[e]});return t},enumerable:!0,configurable:!0}),e.prototype.create=function(t,e,n,r){if(!r)throw new Error("ngModule should be provided");var o=_a(this.viewDefFactory),i=o.nodes[0].element.componentProvider.nodeIndex,a=Qi.createRootView(t,e||[],n,o,r,Wa),u=Zi(a,i).instance;return n&&a.renderer.setAttribute(Gi(a,0).renderElement,"ng-version",co.full),new Ka(a,new tu(a),u)},e}(Wn),Ka=function(t){function e(e,n,r){var o=t.call(this)||this;return o._view=e,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(e,t),Object.defineProperty(e.prototype,"location",{get:function(){return new cr(Gi(this._view,this._elDef.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return new ou(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentType",{get:function(){return this._component.constructor},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){this._viewRef.destroy()},e.prototype.onDestroy=function(t){this._viewRef.onDestroy(t)},e}(qn);function $a(t,e,n){return new Ja(t,e,n)}var Ja=function(){function t(t,e,n){this._view=t,this._elDef=e,this._data=n,this._embeddedViews=[]}return Object.defineProperty(t.prototype,"element",{get:function(){return new cr(this._data.renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return new ou(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parentInjector",{get:function(){for(var t=this._view,e=this._elDef.parent;!e&&t;)e=pa(t),t=t.parent;return t?new ou(t,e):new ou(this._view,null)},enumerable:!0,configurable:!0}),t.prototype.clear=function(){for(var t=this._embeddedViews.length-1;t>=0;t--){var e=za(this._data,t);Qi.destroyView(e)}},t.prototype.get=function(t){var e=this._embeddedViews[t];if(e){var n=new tu(e);return n.attachToViewContainerRef(this),n}return null},Object.defineProperty(t.prototype,"length",{get:function(){return this._embeddedViews.length},enumerable:!0,configurable:!0}),t.prototype.createEmbeddedView=function(t,e,n){var r=t.createEmbeddedView(e||{});return this.insert(r,n),r},t.prototype.createComponent=function(t,e,n,r,o){var i=n||this.parentInjector;o||t instanceof tr||(o=i.get(er));var a=t.create(i,r,void 0,o);return this.insert(a.hostView,e),a},t.prototype.insert=function(t,e){if(t.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var n,r,o,i,a=t;return i=(n=this._data).viewContainer._embeddedViews,null==(r=e)&&(r=i.length),(o=a._view).viewContainerParent=this._view,Za(i,r,o),function(t,e){var n=fa(e);if(n&&n!==t&&!(16&e.state)){e.state|=16;var r=n.template._projectedViews;r||(r=n.template._projectedViews=[]),r.push(e),function(t,n){if(!(4&n.flags)){e.parent.def.nodeFlags|=4,n.flags|=4;for(var r=n.parent;r;)r.childFlags|=4,r=r.parent}}(0,e.parentNodeDef)}}(n,o),Qi.dirtyParentQueries(o),Ba(n,r>0?i[r-1]:null,o),a.attachToViewContainerRef(this),t},t.prototype.move=function(t,e){if(t.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");var n,r,o,i,a,u=this._embeddedViews.indexOf(t._view);return o=e,a=(i=(n=this._data).viewContainer._embeddedViews)[r=u],qa(i,r),null==o&&(o=i.length),Za(i,o,a),Qi.dirtyParentQueries(a),Ga(a),Ba(n,o>0?i[o-1]:null,a),t},t.prototype.indexOf=function(t){return this._embeddedViews.indexOf(t._view)},t.prototype.remove=function(t){var e=za(this._data,t);e&&Qi.destroyView(e)},t.prototype.detach=function(t){var e=za(this._data,t);return e?new tu(e):null},t}();function Xa(t){return new tu(t)}var tu=function(){function t(t){this._view=t,this._viewContainerRef=null,this._appRef=null}return Object.defineProperty(t.prototype,"rootNodes",{get:function(){return wa(this._view,0,void 0,void 0,t=[]),t;var t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this._view.context},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"destroyed",{get:function(){return 0!=(128&this._view.state)},enumerable:!0,configurable:!0}),t.prototype.markForCheck=function(){sa(this._view)},t.prototype.detach=function(){this._view.state&=-5},t.prototype.detectChanges=function(){var t=this._view.root.rendererFactory;t.begin&&t.begin();try{Qi.checkAndUpdateView(this._view)}finally{t.end&&t.end()}},t.prototype.checkNoChanges=function(){Qi.checkNoChangesView(this._view)},t.prototype.reattach=function(){this._view.state|=4},t.prototype.onDestroy=function(t){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(t)},t.prototype.destroy=function(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),Qi.destroyView(this._view)},t.prototype.detachFromAppRef=function(){this._appRef=null,Ga(this._view),Qi.dirtyParentQueries(this._view)},t.prototype.attachToAppRef=function(t){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t},t.prototype.attachToViewContainerRef=function(t){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=t},t}();function eu(t,e){return new nu(t,e)}var nu=function(t){function e(e,n){var r=t.call(this)||this;return r._parentView=e,r._def=n,r}return o(e,t),e.prototype.createEmbeddedView=function(t){return new tu(Qi.createEmbeddedView(this._parentView,this._def,this._def.element.template,t))},Object.defineProperty(e.prototype,"elementRef",{get:function(){return new cr(Gi(this._parentView,this._def.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),e}(Mr);function ru(t,e){return new ou(t,e)}var ou=function(){function t(t,e){this.view=t,this.elDef=e}return t.prototype.get=function(t,e){return void 0===e&&(e=Yt.THROW_IF_NOT_FOUND),Qi.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:t,tokenKey:ta(t)},e)},t}();function iu(t,e){var n=t.def.nodes[e];if(1&n.flags){var r=Gi(t,n.nodeIndex);return n.element.template?r.template:r.renderElement}if(2&n.flags)return Bi(t,n.nodeIndex).renderText;if(20240&n.flags)return Zi(t,n.nodeIndex).instance;throw new Error("Illegal state: read nodeValue for node index "+e)}function au(t){return new uu(t.renderer)}var uu=function(){function t(t){this.delegate=t}return t.prototype.selectRootElement=function(t){return this.delegate.selectRootElement(t)},t.prototype.createElement=function(t,e){var n=l(ka(e),2),r=this.delegate.createElement(n[1],n[0]);return t&&this.delegate.appendChild(t,r),r},t.prototype.createViewRoot=function(t){return t},t.prototype.createTemplateAnchor=function(t){var e=this.delegate.createComment("");return t&&this.delegate.appendChild(t,e),e},t.prototype.createText=function(t,e){var n=this.delegate.createText(e);return t&&this.delegate.appendChild(t,n),n},t.prototype.projectNodes=function(t,e){for(var n=0;n<e.length;n++)this.delegate.appendChild(t,e[n])},t.prototype.attachViewAfter=function(t,e){for(var n=this.delegate.parentNode(t),r=this.delegate.nextSibling(t),o=0;o<e.length;o++)this.delegate.insertBefore(n,e[o],r)},t.prototype.detachView=function(t){for(var e=0;e<t.length;e++){var n=t[e],r=this.delegate.parentNode(n);this.delegate.removeChild(r,n)}},t.prototype.destroyView=function(t,e){for(var n=0;n<e.length;n++)this.delegate.destroyNode(e[n])},t.prototype.listen=function(t,e,n){return this.delegate.listen(t,e,n)},t.prototype.listenGlobal=function(t,e,n){return this.delegate.listen(t,e,n)},t.prototype.setElementProperty=function(t,e,n){this.delegate.setProperty(t,e,n)},t.prototype.setElementAttribute=function(t,e,n){var r=l(ka(e),2),o=r[0],i=r[1];null!=n?this.delegate.setAttribute(t,i,n,o):this.delegate.removeAttribute(t,i,o)},t.prototype.setBindingDebugInfo=function(t,e,n){},t.prototype.setElementClass=function(t,e,n){n?this.delegate.addClass(t,e):this.delegate.removeClass(t,e)},t.prototype.setElementStyle=function(t,e,n){null!=n?this.delegate.setStyle(t,e,n):this.delegate.removeStyle(t,e)},t.prototype.invokeElementMethod=function(t,e,n){t[e].apply(t,n)},t.prototype.setText=function(t,e){this.delegate.setValue(t,e)},t.prototype.animate=function(){throw new Error("Renderer.animate is no longer supported!")},t}();function su(t,e,n,r){return new lu(t,e,n,r)}var lu=function(){function t(t,e,n,r){this._moduleType=t,this._parent=e,this._bootstrapComponents=n,this._def=r,this._destroyListeners=[],this._destroyed=!1,this.injector=this,function(t){for(var e=t._def,n=t._providers=new Array(e.providers.length),r=0;r<e.providers.length;r++){var o=e.providers[r];4096&o.flags||void 0===n[r]&&(n[r]=Ha(t,o))}}(this)}return t.prototype.get=function(t,e,n){void 0===e&&(e=Yt.THROW_IF_NOT_FOUND),void 0===n&&(n=0);var r=0;return 4&n?r|=1:2&n&&(r|=4),Fa(this,{token:t,tokenKey:ta(t),flags:r},e)},Object.defineProperty(t.prototype,"instance",{get:function(){return this.get(this._moduleType)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentFactoryResolver",{get:function(){return this.get(Jn)},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){if(this._destroyed)throw new Error("The ng module "+jt(this.instance.constructor)+" has already been destroyed.");this._destroyed=!0,function(t,e){for(var n=t._def,r=new Set,o=0;o<n.providers.length;o++)if(131072&n.providers[o].flags){var i=t._providers[o];if(i&&i!==Va){var a=i.ngOnDestroy;"function"!=typeof a||r.has(i)||(a.apply(i),r.add(i))}}}(this),this._destroyListeners.forEach(function(t){return t()})},t.prototype.onDestroy=function(t){this._destroyListeners.push(t)},t}(),cu=ta(fr),fu=ta(dr),pu=ta(cr),hu=ta(pi),du=ta(Mr),vu=ta(hi),gu=ta(Yt),yu=ta(Wt);function mu(t,e,n,r,o,i,a,u){var s=[];if(a)for(var c in a){var f=l(a[c],2);s[f[0]]={flags:8,name:c,nonMinifiedName:f[1],ns:null,securityContext:null,suffix:null}}var p=[];if(u)for(var h in u)p.push({type:1,propName:h,target:null,eventName:u[h]});return _u(t,e|=16384,n,r,o,o,i,s,p)}function bu(t,e,n,r,o){return _u(-1,t,e,0,n,r,o)}function _u(t,e,n,r,o,i,a,u,s){var l=ga(n),c=l.matchedQueries,f=l.references,p=l.matchedQueryIds;s||(s=[]),u||(u=[]),i=Lt(i);var h=ya(a,jt(o));return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:t,flags:e,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:c,matchedQueryIds:p,references:f,ngContentIndex:-1,childCount:r,bindings:u,bindingFlags:Aa(u),outputs:s,element:null,provider:{token:o,value:i,deps:h},text:null,query:null,ngContent:null}}function wu(t,e){return xu(t,e)}function Cu(t,e){for(var n=t;n.parent&&!da(n);)n=n.parent;return Tu(n.parent,pa(n),!0,e.provider.value,e.provider.deps)}function Su(t,e){var n=Tu(t,e.parent,(32768&e.flags)>0,e.provider.value,e.provider.deps);if(e.outputs.length)for(var r=0;r<e.outputs.length;r++){var o=e.outputs[r],i=n[o.propName];if(!_o(i))throw new Error("@Output "+o.propName+" not initialized in '"+n.constructor.name+"'.");var a=i.subscribe(Eu(t,e.parent.nodeIndex,o.eventName));t.disposables[e.outputIndex+r]=a.unsubscribe.bind(a)}return n}function Eu(t,e,n){return function(r){return ca(t,e,n,r)}}function xu(t,e){var n=(8192&e.flags)>0,r=e.provider;switch(201347067&e.flags){case 512:return Tu(t,e.parent,n,r.value,r.deps);case 1024:return function(t,e,n,r,o){var i=o.length;switch(i){case 0:return r();case 1:return r(Au(t,e,n,o[0]));case 2:return r(Au(t,e,n,o[0]),Au(t,e,n,o[1]));case 3:return r(Au(t,e,n,o[0]),Au(t,e,n,o[1]),Au(t,e,n,o[2]));default:for(var a=Array(i),u=0;u<i;u++)a[u]=Au(t,e,n,o[u]);return r.apply(void 0,c(a))}}(t,e.parent,n,r.value,r.deps);case 2048:return Au(t,e.parent,n,r.deps[0]);case 256:return r.value}}function Tu(t,e,n,r,o){var i=o.length;switch(i){case 0:return new r;case 1:return new r(Au(t,e,n,o[0]));case 2:return new r(Au(t,e,n,o[0]),Au(t,e,n,o[1]));case 3:return new r(Au(t,e,n,o[0]),Au(t,e,n,o[1]),Au(t,e,n,o[2]));default:for(var a=new Array(i),u=0;u<i;u++)a[u]=Au(t,e,n,o[u]);return new(r.bind.apply(r,c([void 0],a)))}}var ku={};function Au(t,e,n,r,o){if(void 0===o&&(o=Yt.THROW_IF_NOT_FOUND),8&r.flags)return r.token;var i=t;2&r.flags&&(o=null);var a=r.tokenKey;a===vu&&(n=!(!e||!e.element.componentView)),e&&1&r.flags&&(n=!1,e=e.parent);for(var u=t;u;){if(e)switch(a){case cu:return au(Ou(u,e,n));case fu:return Ou(u,e,n).renderer;case pu:return new cr(Gi(u,e.nodeIndex).renderElement);case hu:return Gi(u,e.nodeIndex).viewContainer;case du:if(e.element.template)return Gi(u,e.nodeIndex).template;break;case vu:return Xa(Ou(u,e,n));case gu:case yu:return ru(u,e);default:var s=(n?e.element.allProviders:e.element.publicProviders)[a];if(s){var l=Zi(u,s.nodeIndex);return l||(l={instance:xu(u,s)},u.nodes[s.nodeIndex]=l),l.instance}}n=da(u),e=pa(u),u=u.parent,4&r.flags&&(u=null)}var c=i.root.injector.get(r.token,ku);return c!==ku||o===ku?c:i.root.ngModule.injector.get(r.token,o)}function Ou(t,e,n){var r;if(n)r=Gi(t,e.nodeIndex).componentView;else for(r=t;r.parent&&!da(r);)r=r.parent;return r}function Pu(t,e,n,r,o,i){if(32768&n.flags){var a=Gi(t,n.parent.nodeIndex).componentView;2&a.def.flags&&(a.state|=8)}if(e.instance[n.bindings[r].name]=o,524288&n.flags){i=i||{};var u=Ie.unwrap(t.oldValues[n.bindingIndex+r]);i[n.bindings[r].nonMinifiedName]=new Re(u,o,0!=(2&t.state))}return t.oldValues[n.bindingIndex+r]=o,i}function Iu(t,e){if(t.def.nodeFlags&e)for(var n=t.def.nodes,r=0,o=0;o<n.length;o++){var i=n[o],a=i.parent;for(!a&&i.flags&e&&Nu(t,o,i.flags&e,r++),0==(i.childFlags&e)&&(o+=i.childCount);a&&1&a.flags&&o===a.nodeIndex+a.childCount;)a.directChildFlags&e&&(r=Ru(t,a,e,r)),a=a.parent}}function Ru(t,e,n,r){for(var o=e.nodeIndex+1;o<=e.nodeIndex+e.childCount;o++){var i=t.def.nodes[o];i.flags&n&&Nu(t,o,i.flags&n,r++),o+=i.childCount}return r}function Nu(t,e,n,r){var o=Zi(t,e);if(o){var i=o.instance;i&&(Qi.setCurrentNode(t,e),1048576&n&&zi(t,512,r)&&i.ngAfterContentInit(),2097152&n&&i.ngAfterContentChecked(),4194304&n&&zi(t,768,r)&&i.ngAfterViewInit(),8388608&n&&i.ngAfterViewChecked(),131072&n&&i.ngOnDestroy())}}function Du(t){for(var e=t.def.nodeMatchedQueries;t.parent&&va(t);){var n=t.parentNodeDef;t=t.parent;for(var r=n.nodeIndex+n.childCount,o=0;o<=r;o++)67108864&(i=t.def.nodes[o]).flags&&536870912&i.flags&&(i.query.filterId&e)===i.query.filterId&&Wi(t,o).setDirty(),!(1&i.flags&&o+i.childCount<n.nodeIndex)&&67108864&i.childFlags&&536870912&i.childFlags||(o+=i.childCount)}if(134217728&t.def.nodeFlags)for(o=0;o<t.def.nodes.length;o++){var i;134217728&(i=t.def.nodes[o]).flags&&536870912&i.flags&&Wi(t,o).setDirty(),o+=i.childCount}}function Vu(t,e){var n=Wi(t,e.nodeIndex);if(n.dirty){var r,o=void 0;if(67108864&e.flags){var i=e.parent.parent;o=Mu(t,i.nodeIndex,i.nodeIndex+i.childCount,e.query,[]),r=Zi(t,e.parent.nodeIndex).instance}else 134217728&e.flags&&(o=Mu(t,0,t.def.nodes.length-1,e.query,[]),r=t.component);n.reset(o);for(var a=e.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 Mu(t,e,n,r,o){for(var i=e;i<=n;i++){var a=t.def.nodes[i],u=a.matchedQueries[r.id];if(null!=u&&o.push(ju(t,a,u)),1&a.flags&&a.element.template&&(a.element.template.nodeMatchedQueries&r.filterId)===r.filterId){var s=Gi(t,i);if((a.childMatchedQueries&r.filterId)===r.filterId&&(Mu(t,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 f=l[c],p=fa(f);p&&p===s&&Mu(f,0,f.def.nodes.length-1,r,o)}var h=s.template._projectedViews;if(h)for(c=0;c<h.length;c++){var d=h[c];Mu(d,0,d.def.nodes.length-1,r,o)}}(a.childMatchedQueries&r.filterId)!==r.filterId&&(i+=a.childCount)}return o}function ju(t,e,n){if(null!=n)switch(n){case 1:return Gi(t,e.nodeIndex).renderElement;case 0:return new cr(Gi(t,e.nodeIndex).renderElement);case 2:return Gi(t,e.nodeIndex).template;case 3:return Gi(t,e.nodeIndex).viewContainer;case 4:return Zi(t,e.nodeIndex).instance}}function Uu(t,e,n){var r=ma(t,e,n);r&&Sa(t,n.ngContent.index,1,r,null,void 0)}function Lu(t,e,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:t,flags:2,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:e,childCount:0,bindings:r,bindingFlags:8,outputs:[],element:null,provider:null,text:{prefix:n[0]},query:null,ngContent:null}}function Fu(t,e,n){var r,o=t.renderer;r=o.createText(n.text.prefix);var i=ma(t,e,n);return i&&o.appendChild(i,r),{renderText:r}}function Hu(t,e){return(null!=t?t.toString():"")+e.suffix}function zu(t,e,n,r){for(var o=0,i=0,a=0,u=0,s=0,l=null,c=null,f=!1,p=!1,h=null,d=0;d<e.length;d++){var v=e[d];if(v.nodeIndex=d,v.parent=l,v.bindingIndex=o,v.outputIndex=i,v.renderParent=c,a|=v.flags,s|=v.matchedQueryIds,v.element){var g=v.element;g.publicProviders=l?l.element.publicProviders:Object.create(null),g.allProviders=g.publicProviders,f=!1,p=!1,v.element.template&&(s|=v.element.template.nodeMatchedQueries)}if(Gu(l,v,e.length),o+=v.bindings.length,i+=v.outputs.length,!c&&3&v.flags&&(h=v),20224&v.flags){f||(f=!0,l.element.publicProviders=Object.create(l.element.publicProviders),l.element.allProviders=l.element.publicProviders);var y=0!=(32768&v.flags);0==(8192&v.flags)||y?l.element.publicProviders[ta(v.provider.token)]=v:(p||(p=!0,l.element.allProviders=Object.create(l.element.publicProviders)),l.element.allProviders[ta(v.provider.token)]=v),y&&(l.element.componentProvider=v)}if(l?(l.childFlags|=v.flags,l.directChildFlags|=v.flags,l.childMatchedQueries|=v.matchedQueryIds,v.element&&v.element.template&&(l.childMatchedQueries|=v.element.template.nodeMatchedQueries)):u|=v.flags,v.childCount>0)l=v,Bu(v)||(c=v);else for(;l&&d===l.nodeIndex+l.childCount;){var m=l.parent;m&&(m.childFlags|=l.childFlags,m.childMatchedQueries|=l.childMatchedQueries),c=(l=m)&&Bu(l)?l.renderParent:l}}return{factory:null,nodeFlags:a,rootNodeFlags:u,nodeMatchedQueries:s,flags:t,nodes:e,updateDirectives:n||Ji,updateRenderer:r||Ji,handleEvent:function(t,n,r,o){return e[n].element.handleEvent(t,r,o)},bindingCount:o,outputCount:i,lastRenderRootNode:h}}function Bu(t){return 0!=(1&t.flags)&&null===t.element.name}function Gu(t,e,n){var r=e.element&&e.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 "+e.nodeIndex+"!")}if(20224&e.flags&&0==(1&(t?t.flags:0)))throw new Error("Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index "+e.nodeIndex+"!");if(e.query){if(67108864&e.flags&&(!t||0==(16384&t.flags)))throw new Error("Illegal State: Content Query nodes need to be children of directives, at index "+e.nodeIndex+"!");if(134217728&e.flags&&t)throw new Error("Illegal State: View Query nodes have to be top level nodes, at index "+e.nodeIndex+"!")}if(e.childCount){var o=t?t.nodeIndex+t.childCount:n-1;if(e.nodeIndex<=o&&e.nodeIndex+e.childCount>o)throw new Error("Illegal State: childCount of node leads outside of parent, at index "+e.nodeIndex+"!")}}function Zu(t,e,n,r){var o=Qu(t.root,t.renderer,t,e,n);return Yu(o,t.component,r),Ku(o),o}function qu(t,e,n){var r=Qu(t,t.renderer,null,null,e);return Yu(r,n,n),Ku(r),r}function Wu(t,e,n,r){var o,i=e.element.componentRendererType;return o=i?t.root.rendererFactory.createRenderer(r,i):t.root.renderer,Qu(t.root,o,t,e.element.componentProvider,n)}function Qu(t,e,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:t,renderer:e,oldValues:new Array(o.bindingCount),disposables:a,initIndex:-1}}function Yu(t,e,n){t.component=e,t.context=n}function Ku(t){var e;da(t)&&(e=Gi(t.parent,t.parentNodeDef.parent.nodeIndex).renderElement);for(var n=t.def,r=t.nodes,o=0;o<n.nodes.length;o++){var i=n.nodes[o];Qi.setCurrentNode(t,o);var a=void 0;switch(201347067&i.flags){case 1:var u=Ia(t,e,i),s=void 0;if(33554432&i.flags){var l=_a(i.element.componentView);s=Qi.createComponentView(t,i,l,u)}Ra(t,s,i,u),a={renderElement:u,componentView:s,viewContainer:null,template:i.element.template?eu(t,i):void 0},16777216&i.flags&&(a.viewContainer=$a(t,i,a));break;case 2:a=Fu(t,e,i);break;case 512:case 1024:case 2048:case 256:(a=r[o])||4096&i.flags||(a={instance:wu(t,i)});break;case 16:a={instance:Cu(t,i)};break;case 16384:(a=r[o])||(a={instance:Su(t,i)}),32768&i.flags&&Yu(Gi(t,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 ai;break;case 8:Uu(t,e,i),a=void 0}r[o]=a}is(t,os.CreateViewNodes),ls(t,201326592,268435456,0)}function $u(t){ts(t),Qi.updateDirectives(t,1),as(t,os.CheckNoChanges),Qi.updateRenderer(t,1),is(t,os.CheckNoChanges),t.state&=-97}function Ju(t){1&t.state?(t.state&=-2,t.state|=2):t.state&=-3,Hi(t,0,256),ts(t),Qi.updateDirectives(t,0),as(t,os.CheckAndUpdate),ls(t,67108864,536870912,0);var e=Hi(t,256,512);Iu(t,2097152|(e?1048576:0)),Qi.updateRenderer(t,0),is(t,os.CheckAndUpdate),ls(t,134217728,536870912,0),Iu(t,8388608|((e=Hi(t,512,768))?4194304:0)),2&t.def.flags&&(t.state&=-9),t.state&=-97,Hi(t,768,1024)}function Xu(t,e,n,r,o,i,a,u,s,l,f,p,h){return 0===n?function(t,e,n,r,o,i,a,u,s,l,c,f){switch(201347067&e.flags){case 1:return function(t,e,n,r,o,i,a,u,s,l,c,f){var p=e.bindings.length,h=!1;return p>0&&Da(t,e,0,n)&&(h=!0),p>1&&Da(t,e,1,r)&&(h=!0),p>2&&Da(t,e,2,o)&&(h=!0),p>3&&Da(t,e,3,i)&&(h=!0),p>4&&Da(t,e,4,a)&&(h=!0),p>5&&Da(t,e,5,u)&&(h=!0),p>6&&Da(t,e,6,s)&&(h=!0),p>7&&Da(t,e,7,l)&&(h=!0),p>8&&Da(t,e,8,c)&&(h=!0),p>9&&Da(t,e,9,f)&&(h=!0),h}(t,e,n,r,o,i,a,u,s,l,c,f);case 2:return function(t,e,n,r,o,i,a,u,s,l,c,f){var p=!1,h=e.bindings,d=h.length;if(d>0&&aa(t,e,0,n)&&(p=!0),d>1&&aa(t,e,1,r)&&(p=!0),d>2&&aa(t,e,2,o)&&(p=!0),d>3&&aa(t,e,3,i)&&(p=!0),d>4&&aa(t,e,4,a)&&(p=!0),d>5&&aa(t,e,5,u)&&(p=!0),d>6&&aa(t,e,6,s)&&(p=!0),d>7&&aa(t,e,7,l)&&(p=!0),d>8&&aa(t,e,8,c)&&(p=!0),d>9&&aa(t,e,9,f)&&(p=!0),p){var v=e.text.prefix;d>0&&(v+=Hu(n,h[0])),d>1&&(v+=Hu(r,h[1])),d>2&&(v+=Hu(o,h[2])),d>3&&(v+=Hu(i,h[3])),d>4&&(v+=Hu(a,h[4])),d>5&&(v+=Hu(u,h[5])),d>6&&(v+=Hu(s,h[6])),d>7&&(v+=Hu(l,h[7])),d>8&&(v+=Hu(c,h[8])),d>9&&(v+=Hu(f,h[9]));var g=Bi(t,e.nodeIndex).renderText;t.renderer.setValue(g,v)}return p}(t,e,n,r,o,i,a,u,s,l,c,f);case 16384:return function(t,e,n,r,o,i,a,u,s,l,c,f){var p=Zi(t,e.nodeIndex),h=p.instance,d=!1,v=void 0,g=e.bindings.length;return g>0&&ia(t,e,0,n)&&(d=!0,v=Pu(t,p,e,0,n,v)),g>1&&ia(t,e,1,r)&&(d=!0,v=Pu(t,p,e,1,r,v)),g>2&&ia(t,e,2,o)&&(d=!0,v=Pu(t,p,e,2,o,v)),g>3&&ia(t,e,3,i)&&(d=!0,v=Pu(t,p,e,3,i,v)),g>4&&ia(t,e,4,a)&&(d=!0,v=Pu(t,p,e,4,a,v)),g>5&&ia(t,e,5,u)&&(d=!0,v=Pu(t,p,e,5,u,v)),g>6&&ia(t,e,6,s)&&(d=!0,v=Pu(t,p,e,6,s,v)),g>7&&ia(t,e,7,l)&&(d=!0,v=Pu(t,p,e,7,l,v)),g>8&&ia(t,e,8,c)&&(d=!0,v=Pu(t,p,e,8,c,v)),g>9&&ia(t,e,9,f)&&(d=!0,v=Pu(t,p,e,9,f,v)),v&&h.ngOnChanges(v),65536&e.flags&&zi(t,256,e.nodeIndex)&&h.ngOnInit(),262144&e.flags&&h.ngDoCheck(),d}(t,e,n,r,o,i,a,u,s,l,c,f);case 32:case 64:case 128:return function(t,e,n,r,o,i,a,u,s,l,c,f){var p=e.bindings,h=!1,d=p.length;if(d>0&&aa(t,e,0,n)&&(h=!0),d>1&&aa(t,e,1,r)&&(h=!0),d>2&&aa(t,e,2,o)&&(h=!0),d>3&&aa(t,e,3,i)&&(h=!0),d>4&&aa(t,e,4,a)&&(h=!0),d>5&&aa(t,e,5,u)&&(h=!0),d>6&&aa(t,e,6,s)&&(h=!0),d>7&&aa(t,e,7,l)&&(h=!0),d>8&&aa(t,e,8,c)&&(h=!0),d>9&&aa(t,e,9,f)&&(h=!0),h){var v=qi(t,e.nodeIndex),g=void 0;switch(201347067&e.flags){case 32:g=new Array(p.length),d>0&&(g[0]=n),d>1&&(g[1]=r),d>2&&(g[2]=o),d>3&&(g[3]=i),d>4&&(g[4]=a),d>5&&(g[5]=u),d>6&&(g[6]=s),d>7&&(g[7]=l),d>8&&(g[8]=c),d>9&&(g[9]=f);break;case 64:g={},d>0&&(g[p[0].name]=n),d>1&&(g[p[1].name]=r),d>2&&(g[p[2].name]=o),d>3&&(g[p[3].name]=i),d>4&&(g[p[4].name]=a),d>5&&(g[p[5].name]=u),d>6&&(g[p[6].name]=s),d>7&&(g[p[7].name]=l),d>8&&(g[p[8].name]=c),d>9&&(g[p[9].name]=f);break;case 128:var y=n;switch(d){case 1:g=y.transform(n);break;case 2:g=y.transform(r);break;case 3:g=y.transform(r,o);break;case 4:g=y.transform(r,o,i);break;case 5:g=y.transform(r,o,i,a);break;case 6:g=y.transform(r,o,i,a,u);break;case 7:g=y.transform(r,o,i,a,u,s);break;case 8:g=y.transform(r,o,i,a,u,s,l);break;case 9:g=y.transform(r,o,i,a,u,s,l,c);break;case 10:g=y.transform(r,o,i,a,u,s,l,c,f)}}v.value=g}return h}(t,e,n,r,o,i,a,u,s,l,c,f);default:throw"unreachable"}}(t,e,r,o,i,a,u,s,l,f,p,h):function(t,e,n){switch(201347067&e.flags){case 1:return function(t,e,n){for(var r=!1,o=0;o<n.length;o++)Da(t,e,o,n[o])&&(r=!0);return r}(t,e,n);case 2:return function(t,e,n){for(var r=e.bindings,o=!1,i=0;i<n.length;i++)aa(t,e,i,n[i])&&(o=!0);if(o){var a="";for(i=0;i<n.length;i++)a+=Hu(n[i],r[i]);a=e.text.prefix+a;var u=Bi(t,e.nodeIndex).renderText;t.renderer.setValue(u,a)}return o}(t,e,n);case 16384:return function(t,e,n){for(var r=Zi(t,e.nodeIndex),o=r.instance,i=!1,a=void 0,u=0;u<n.length;u++)ia(t,e,u,n[u])&&(i=!0,a=Pu(t,r,e,u,n[u],a));return a&&o.ngOnChanges(a),65536&e.flags&&zi(t,256,e.nodeIndex)&&o.ngOnInit(),262144&e.flags&&o.ngDoCheck(),i}(t,e,n);case 32:case 64:case 128:return function(t,e,n){for(var r=e.bindings,o=!1,i=0;i<n.length;i++)aa(t,e,i,n[i])&&(o=!0);if(o){var a=qi(t,e.nodeIndex),u=void 0;switch(201347067&e.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 s=n[0],l=n.slice(1);u=s.transform.apply(s,c(l))}a.value=u}return o}(t,e,n);default:throw"unreachable"}}(t,e,r)}function ts(t){var e=t.def;if(4&e.nodeFlags)for(var n=0;n<e.nodes.length;n++){var r=e.nodes[n];if(4&r.flags){var o=Gi(t,n).template._projectedViews;if(o)for(var i=0;i<o.length;i++){var a=o[i];a.state|=32,la(a,t)}}else 0==(4&r.childFlags)&&(n+=r.childCount)}}function es(t,e,n,r,o,i,a,u,s,l,c,f,p){return 0===n?function(t,e,n,r,o,i,a,u,s,l,c,f){var p=e.bindings.length;p>0&&ua(t,e,0,n),p>1&&ua(t,e,1,r),p>2&&ua(t,e,2,o),p>3&&ua(t,e,3,i),p>4&&ua(t,e,4,a),p>5&&ua(t,e,5,u),p>6&&ua(t,e,6,s),p>7&&ua(t,e,7,l),p>8&&ua(t,e,8,c),p>9&&ua(t,e,9,f)}(t,e,r,o,i,a,u,s,l,c,f,p):function(t,e,n){for(var r=0;r<n.length;r++)ua(t,e,r,n[r])}(t,e,r),!1}function ns(t,e){if(Wi(t,e.nodeIndex).dirty)throw Yi(Qi.createDebugContext(t,e.nodeIndex),"Query "+e.query.id+" not dirty","Query "+e.query.id+" dirty",0!=(1&t.state))}function rs(t){if(!(128&t.state)){if(as(t,os.Destroy),is(t,os.Destroy),Iu(t,131072),t.disposables)for(var e=0;e<t.disposables.length;e++)t.disposables[e]();!function(t){if(16&t.state){var e=fa(t);if(e){var n=e.template._projectedViews;n&&(qa(n,n.indexOf(t)),Qi.dirtyParentQueries(t))}}}(t),t.renderer.destroyNode&&function(t){for(var e=t.def.nodes.length,n=0;n<e;n++){var r=t.def.nodes[n];1&r.flags?t.renderer.destroyNode(Gi(t,n).renderElement):2&r.flags?t.renderer.destroyNode(Bi(t,n).renderText):(67108864&r.flags||134217728&r.flags)&&Wi(t,n).destroy()}}(t),da(t)&&t.renderer.destroy(),t.state|=128}}var os=function(t){return t[t.CreateViewNodes=0]="CreateViewNodes",t[t.CheckNoChanges=1]="CheckNoChanges",t[t.CheckNoChangesProjectedViews=2]="CheckNoChangesProjectedViews",t[t.CheckAndUpdate=3]="CheckAndUpdate",t[t.CheckAndUpdateProjectedViews=4]="CheckAndUpdateProjectedViews",t[t.Destroy=5]="Destroy",t}({});function is(t,e){var n=t.def;if(33554432&n.nodeFlags)for(var r=0;r<n.nodes.length;r++){var o=n.nodes[r];33554432&o.flags?us(Gi(t,r).componentView,e):0==(33554432&o.childFlags)&&(r+=o.childCount)}}function as(t,e){var n=t.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=Gi(t,r).viewContainer._embeddedViews,a=0;a<i.length;a++)us(i[a],e);else 0==(16777216&o.childFlags)&&(r+=o.childCount)}}function us(t,e){var n=t.state;switch(e){case os.CheckNoChanges:0==(128&n)&&(12==(12&n)?$u(t):64&n&&ss(t,os.CheckNoChangesProjectedViews));break;case os.CheckNoChangesProjectedViews:0==(128&n)&&(32&n?$u(t):64&n&&ss(t,e));break;case os.CheckAndUpdate:0==(128&n)&&(12==(12&n)?Ju(t):64&n&&ss(t,os.CheckAndUpdateProjectedViews));break;case os.CheckAndUpdateProjectedViews:0==(128&n)&&(32&n?Ju(t):64&n&&ss(t,e));break;case os.Destroy:rs(t);break;case os.CreateViewNodes:Ku(t)}}function ss(t,e){as(t,e),is(t,e)}function ls(t,e,n,r){if(t.def.nodeFlags&e&&t.def.nodeFlags&n)for(var o=t.def.nodes.length,i=0;i<o;i++){var a=t.def.nodes[i];if(a.flags&e&&a.flags&n)switch(Qi.setCurrentNode(t,a.nodeIndex),r){case 0:Vu(t,a);break;case 1:ns(t,a)}a.childFlags&e&&a.childFlags&n||(i+=a.childCount)}}var cs=!1;function fs(t,e,n,r,o,i){var a=o.injector.get(pr);return qu(hs(t,o,a,e,n),r,i)}function ps(t,e,n,r,o,i){var a=o.injector.get(pr),u=hs(t,o,new Ws(a),e,n),s=Ss(r);return Zs(Rs.create,qu,null,[u,s,i])}function hs(t,e,n,r,o){var i=e.injector.get(uo),a=e.injector.get(mo),u=n.createRenderer(null,null);return{ngModule:e,injector:t,projectableNodes:r,selectorOrNode:o,sanitizer:i,rendererFactory:n,renderer:u,errorHandler:a}}function ds(t,e,n,r){var o=Ss(n);return Zs(Rs.create,Zu,null,[t,e,o,r])}function vs(t,e,n,r){return n=bs.get(e.element.componentProvider.provider.token)||Ss(n),Zs(Rs.create,Wu,null,[t,e,n,r])}function gs(t,e,n,r){return su(t,e,n,function(t){var e=function(t){var e=!1,n=!1;return 0===ys.size?{hasOverrides:e,hasDeprecatedOverrides:n}:(t.providers.forEach(function(t){var r=ys.get(t.token);3840&t.flags&&r&&(e=!0,n=n||r.deprecatedBehavior)}),t.modules.forEach(function(t){ms.forEach(function(r,o){St(o).providedIn===t&&(e=!0,n=n||r.deprecatedBehavior)})}),{hasOverrides:e,hasDeprecatedOverrides:n})}(t),n=e.hasDeprecatedOverrides;return e.hasOverrides?(function(t){for(var e=0;e<t.providers.length;e++){var r=t.providers[e];n&&(r.flags|=4096);var o=ys.get(r.token);o&&(r.flags=-3841&r.flags|o.flags,r.deps=ya(o.deps),r.value=o.value)}if(ms.size>0){var i=new Set(t.modules);ms.forEach(function(e,r){if(i.has(St(r).providedIn)){var o={token:r,flags:e.flags|(n?4096:0),deps:ya(e.deps),value:e.value,index:t.providers.length};t.providers.push(o),t.providersByKey[ta(r)]=o}})}}(t=t.factory(function(){return Ji})),t):t}(r))}var ys=new Map,ms=new Map,bs=new Map;function _s(t){var e;ys.set(t.token,t),"function"==typeof t.token&&(e=St(t.token))&&"function"==typeof e.providedIn&&ms.set(t.token,t)}function ws(t,e){var n=_a(e.viewDefFactory),r=_a(n.nodes[0].element.componentView);bs.set(t,r)}function Cs(){ys.clear(),ms.clear(),bs.clear()}function Ss(t){if(0===ys.size)return t;var e=function(t){for(var e=[],n=null,r=0;r<t.nodes.length;r++){var o=t.nodes[r];1&o.flags&&(n=o),n&&3840&o.flags&&ys.has(o.provider.token)&&(e.push(n.nodeIndex),n=null)}return e}(t);if(0===e.length)return t;t=t.factory(function(){return Ji});for(var n=0;n<e.length;n++)r(t,e[n]);return t;function r(t,e){for(var n=e+1;n<t.nodes.length;n++){var r=t.nodes[n];if(1&r.flags)return;if(3840&r.flags){var o=r.provider,i=ys.get(o.token);i&&(r.flags=-3841&r.flags|i.flags,o.deps=ya(i.deps),o.value=i.value)}}}}function Es(t,e,n,r,o,i,a,u,s,l,c,f,p){var h=t.def.nodes[e];return Xu(t,h,n,r,o,i,a,u,s,l,c,f,p),224&h.flags?qi(t,e).value:void 0}function xs(t,e,n,r,o,i,a,u,s,l,c,f,p){var h=t.def.nodes[e];return es(t,h,n,r,o,i,a,u,s,l,c,f,p),224&h.flags?qi(t,e).value:void 0}function Ts(t){return Zs(Rs.detectChanges,Ju,null,[t])}function ks(t){return Zs(Rs.checkNoChanges,$u,null,[t])}function As(t){return Zs(Rs.destroy,rs,null,[t])}var Os,Ps,Is,Rs=function(t){return t[t.create=0]="create",t[t.detectChanges=1]="detectChanges",t[t.checkNoChanges=2]="checkNoChanges",t[t.destroy=3]="destroy",t[t.handleEvent=4]="handleEvent",t}({});function Ns(t,e){Ps=t,Is=e}function Ds(t,e,n,r){return Ns(t,e),Zs(Rs.handleEvent,t.def.handleEvent,null,[t,e,n,r])}function Vs(t,e){if(128&t.state)throw $i(Rs[Os]);return Ns(t,Hs(t,0)),t.def.updateDirectives(function(t,n,r){for(var o=[],i=3;i<arguments.length;i++)o[i-3]=arguments[i];var a=t.def.nodes[n];return 0===e?js(t,a,r,o):Us(t,a,r,o),16384&a.flags&&Ns(t,Hs(t,n)),224&a.flags?qi(t,a.nodeIndex).value:void 0},t)}function Ms(t,e){if(128&t.state)throw $i(Rs[Os]);return Ns(t,zs(t,0)),t.def.updateRenderer(function(t,n,r){for(var o=[],i=3;i<arguments.length;i++)o[i-3]=arguments[i];var a=t.def.nodes[n];return 0===e?js(t,a,r,o):Us(t,a,r,o),3&a.flags&&Ns(t,zs(t,n)),224&a.flags?qi(t,a.nodeIndex).value:void 0},t)}function js(t,e,n,r){if(Xu.apply(void 0,c([t,e,n],r))){var o=1===n?r[0]:r;if(16384&e.flags){for(var i={},a=0;a<e.bindings.length;a++){var u=e.bindings[a],s=o[a];8&u.flags&&(i[(h=u.nonMinifiedName,d=void 0,d=h.replace(/[$@]/g,"_"),"ng-reflect-"+(h=d.replace(Ls,function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return"-"+t[1].toLowerCase()})))]=Fs(s))}var l=e.parent,f=Gi(t,l.nodeIndex).renderElement;if(l.element.name)for(var p in i)null!=(s=i[p])?t.renderer.setAttribute(f,p,s):t.renderer.removeAttribute(f,p);else t.renderer.setValue(f,"bindings="+JSON.stringify(i,null,2))}}var h,d}function Us(t,e,n,r){es.apply(void 0,c([t,e,n],r))}var Ls=/([A-Z])/g;function Fs(t){try{return null!=t?t.toString().slice(0,30):t}catch(e){return"[ERROR] Exception while trying to serialize the value"}}function Hs(t,e){for(var n=e;n<t.def.nodes.length;n++){var r=t.def.nodes[n];if(16384&r.flags&&r.bindings&&r.bindings.length)return n}return null}function zs(t,e){for(var n=e;n<t.def.nodes.length;n++){var r=t.def.nodes[n];if(3&r.flags&&r.bindings&&r.bindings.length)return n}return null}var Bs=function(){function t(t,e){this.view=t,this.nodeIndex=e,null==e&&(this.nodeIndex=e=0),this.nodeDef=t.def.nodes[e];for(var n=this.nodeDef,r=t;n&&0==(1&n.flags);)n=n.parent;if(!n)for(;!n&&r;)n=pa(r),r=r.parent;this.elDef=n,this.elView=r}return Object.defineProperty(t.prototype,"elOrCompView",{get:function(){return Gi(this.elView,this.elDef.nodeIndex).componentView||this.view},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return ru(this.elView,this.elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"component",{get:function(){return this.elOrCompView.component},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this.elOrCompView.context},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"providerTokens",{get:function(){var t=[];if(this.elDef)for(var e=this.elDef.nodeIndex+1;e<=this.elDef.nodeIndex+this.elDef.childCount;e++){var n=this.elView.def.nodes[e];20224&n.flags&&t.push(n.provider.token),e+=n.childCount}return t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"references",{get:function(){var t={};if(this.elDef){Gs(this.elView,this.elDef,t);for(var e=this.elDef.nodeIndex+1;e<=this.elDef.nodeIndex+this.elDef.childCount;e++){var n=this.elView.def.nodes[e];20224&n.flags&&Gs(this.elView,n,t),e+=n.childCount}}return t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentRenderElement",{get:function(){var t=function(t){for(;t&&!da(t);)t=t.parent;return t.parent?Gi(t.parent,pa(t).nodeIndex):null}(this.elOrCompView);return t?t.renderElement:void 0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"renderNode",{get:function(){return 2&this.nodeDef.flags?ha(this.view,this.nodeDef):ha(this.elView,this.elDef)},enumerable:!0,configurable:!0}),t.prototype.logError=function(t){for(var e,n,r=[],o=1;o<arguments.length;o++)r[o-1]=arguments[o];2&this.nodeDef.flags?(e=this.view.def,n=this.nodeDef.nodeIndex):(e=this.elView.def,n=this.elDef.nodeIndex);var i=function(t,e){for(var n=-1,r=0;r<=e;r++)3&t.nodes[r].flags&&n++;return n}(e,n),a=-1;e.factory(function(){var e;return++a===i?(e=t.error).bind.apply(e,c([t],r)):Ji}),a<i&&(t.error("Illegal state: the ViewDefinitionFactory did not call the logger!"),t.error.apply(t,c(r)))},t}();function Gs(t,e,n){for(var r in e.references)n[r]=ju(t,e,e.references[r])}function Zs(t,e,n,r){var o=Os,i=Ps,a=Is;try{Os=t;var u=e.apply(n,r);return Ps=i,Is=a,Os=o,u}catch(s){if(vo(s)||!Ps)throw s;throw function(t,e){return t instanceof Error||(t=new Error(t.toString())),Ki(t,e),t}(s,qs())}}function qs(){return Ps?new Bs(Ps,Is):null}var Ws=function(){function t(t){this.delegate=t}return t.prototype.createRenderer=function(t,e){return new Qs(this.delegate.createRenderer(t,e))},t.prototype.begin=function(){this.delegate.begin&&this.delegate.begin()},t.prototype.end=function(){this.delegate.end&&this.delegate.end()},t.prototype.whenRenderingDone=function(){return this.delegate.whenRenderingDone?this.delegate.whenRenderingDone():Promise.resolve(null)},t}(),Qs=function(){function t(t){this.delegate=t,this.debugContextFactory=qs,this.data=this.delegate.data}return t.prototype.createDebugContext=function(t){return this.debugContextFactory(t)},t.prototype.destroyNode=function(t){!function(t){yi.delete(t.nativeNode)}(mi(t)),this.delegate.destroyNode&&this.delegate.destroyNode(t)},t.prototype.destroy=function(){this.delegate.destroy()},t.prototype.createElement=function(t,e){var n=this.delegate.createElement(t,e),r=this.createDebugContext(n);if(r){var o=new gi(n,null,r);o.name=t,bi(o)}return n},t.prototype.createComment=function(t){var e=this.delegate.createComment(t),n=this.createDebugContext(e);return n&&bi(new vi(e,null,n)),e},t.prototype.createText=function(t){var e=this.delegate.createText(t),n=this.createDebugContext(e);return n&&bi(new vi(e,null,n)),e},t.prototype.appendChild=function(t,e){var n=mi(t),r=mi(e);n&&r&&n instanceof gi&&n.addChild(r),this.delegate.appendChild(t,e)},t.prototype.insertBefore=function(t,e,n){var r=mi(t),o=mi(e),i=mi(n);r&&o&&r instanceof gi&&r.insertBefore(i,o),this.delegate.insertBefore(t,e,n)},t.prototype.removeChild=function(t,e){var n=mi(t),r=mi(e);n&&r&&n instanceof gi&&n.removeChild(r),this.delegate.removeChild(t,e)},t.prototype.selectRootElement=function(t,e){var n=this.delegate.selectRootElement(t,e),r=qs()||null;return r&&bi(new gi(n,null,r)),n},t.prototype.setAttribute=function(t,e,n,r){var o=mi(t);o&&o instanceof gi&&(o.attributes[r?r+":"+e:e]=n),this.delegate.setAttribute(t,e,n,r)},t.prototype.removeAttribute=function(t,e,n){var r=mi(t);r&&r instanceof gi&&(r.attributes[n?n+":"+e:e]=null),this.delegate.removeAttribute(t,e,n)},t.prototype.addClass=function(t,e){var n=mi(t);n&&n instanceof gi&&(n.classes[e]=!0),this.delegate.addClass(t,e)},t.prototype.removeClass=function(t,e){var n=mi(t);n&&n instanceof gi&&(n.classes[e]=!1),this.delegate.removeClass(t,e)},t.prototype.setStyle=function(t,e,n,r){var o=mi(t);o&&o instanceof gi&&(o.styles[e]=n),this.delegate.setStyle(t,e,n,r)},t.prototype.removeStyle=function(t,e,n){var r=mi(t);r&&r instanceof gi&&(r.styles[e]=null),this.delegate.removeStyle(t,e,n)},t.prototype.setProperty=function(t,e,n){var r=mi(t);r&&r instanceof gi&&(r.properties[e]=n),this.delegate.setProperty(t,e,n)},t.prototype.listen=function(t,e,n){if("string"!=typeof t){var r=mi(t);r&&r.listeners.push(new di(e,n))}return this.delegate.listen(t,e,n)},t.prototype.parentNode=function(t){return this.delegate.parentNode(t)},t.prototype.nextSibling=function(t){return this.delegate.nextSibling(t)},t.prototype.setValue=function(t,e){return this.delegate.setValue(t,e)},t}();function Ys(t,e,n){return new Ks(t,e,n)}var Ks=function(t){function e(e,n,r){var o=t.call(this)||this;return o.moduleType=e,o._bootstrapComponents=n,o._ngModuleDefFactory=r,o}return o(e,t),e.prototype.create=function(t){!function(){if(!cs){cs=!0;var t=Lr()?{setCurrentNode:Ns,createRootView:ps,createEmbeddedView:ds,createComponentView:vs,createNgModuleRef:gs,overrideProvider:_s,overrideComponentView:ws,clearOverrides:Cs,checkAndUpdateView:Ts,checkNoChangesView:ks,destroyView:As,createDebugContext:function(t,e){return new Bs(t,e)},handleEvent:Ds,updateDirectives:Vs,updateRenderer:Ms}:{setCurrentNode:function(){},createRootView:fs,createEmbeddedView:Zu,createComponentView:Wu,createNgModuleRef:su,overrideProvider:Ji,overrideComponentView:Ji,clearOverrides:Ji,checkAndUpdateView:Ju,checkNoChangesView:$u,destroyView:rs,createDebugContext:function(t,e){return new Bs(t,e)},handleEvent:function(t,e,n,r){return t.def.handleEvent(t,e,n,r)},updateDirectives:function(t,e){return t.def.updateDirectives(0===e?Es:xs,t)},updateRenderer:function(t,e){return t.def.updateRenderer(0===e?Es:xs,t)}};Qi.setCurrentNode=t.setCurrentNode,Qi.createRootView=t.createRootView,Qi.createEmbeddedView=t.createEmbeddedView,Qi.createComponentView=t.createComponentView,Qi.createNgModuleRef=t.createNgModuleRef,Qi.overrideProvider=t.overrideProvider,Qi.overrideComponentView=t.overrideComponentView,Qi.clearOverrides=t.clearOverrides,Qi.checkAndUpdateView=t.checkAndUpdateView,Qi.checkNoChangesView=t.checkNoChangesView,Qi.destroyView=t.destroyView,Qi.resolveDep=Au,Qi.createDebugContext=t.createDebugContext,Qi.handleEvent=t.handleEvent,Qi.updateDirectives=t.updateDirectives,Qi.updateRenderer=t.updateRenderer,Qi.dirtyParentQueries=Du}}();var e=function(t){var e=Array.from(t.providers),n=Array.from(t.modules),r={};for(var o in t.providersByKey)r[o]=t.providersByKey[o];return{factory:t.factory,isRoot:t.isRoot,providers:e,modules:n,providersByKey:r}}(_a(this._ngModuleDefFactory));return Qi.createNgModuleRef(this.moduleType,t||Yt.NULL,this._bootstrapComponents,e)},e}(nr),$s=function(){return function(){}}(),Js=function(){return function(){this.title="devlogger"}}(),Xs=new N(function(t){return t.complete()});function tl(t){return t?function(t){return new N(function(e){return t.schedule(function(){return e.complete()})})}(t):Xs}function el(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n,r,o=t[t.length-1];switch(H(o)?t.pop():o=void 0,t.length){case 0:return tl(o);case 1:return o?rt(t,o):(n=t[0],(r=new N(function(t){t.next(n),t.complete()}))._isScalar=!0,r.value=n,r);default:return rt(t,o)}}var nl=function(t){function e(e){var n=t.call(this)||this;return n._value=e,n}return o(e,t),Object.defineProperty(e.prototype,"value",{get:function(){return this.getValue()},enumerable:!0,configurable:!0}),e.prototype._subscribe=function(e){var n=t.prototype._subscribe.call(this,e);return n&&!n.closed&&e.next(this._value),n},e.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new M;return this._value},e.prototype.next=function(e){t.prototype.next.call(this,this._value=e)},e}(L);function rl(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}rl.prototype=Object.create(Error.prototype);var ol=rl;function il(){return lt(1)}function al(t,e){return function(n){return n.lift(new ul(t,e))}}var ul=function(){function t(t,e){this.predicate=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new sl(t,this.predicate,this.thisArg))},t}(),sl=function(t){function e(e,n,r){var o=t.call(this,e)||this;return o.predicate=n,o.thisArg=r,o.count=0,o}return o(e,t),e.prototype._next=function(t){var e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}e&&this.destination.next(t)},e}(k);function ll(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}ll.prototype=Object.create(Error.prototype);var cl=ll;function fl(t){return function(e){return 0===t?tl():e.lift(new pl(t))}}var pl=function(){function t(t){if(this.total=t,this.total<0)throw new cl}return t.prototype.call=function(t,e){return e.subscribe(new hl(t,this.total))},t}(),hl=function(t){function e(e,n){var r=t.call(this,e)||this;return r.total=n,r.ring=new Array,r.count=0,r}return o(e,t),e.prototype._next=function(t){var e=this.ring,n=this.total,r=this.count++;e.length<n?e.push(t):e[r%n]=t},e.prototype._complete=function(){var t=this.destination,e=this.count;if(e>0)for(var n=this.count>=this.total?this.total:this.count,r=this.ring,o=0;o<n;o++){var i=e++%n;t.next(r[i])}t.complete()},e}(k);function dl(t,e,n){return function(r){return r.lift(new vl(t,e,n))}}var vl=function(){function t(t,e,n){this.nextOrObserver=t,this.error=e,this.complete=n}return t.prototype.call=function(t,e){return e.subscribe(new gl(t,this.nextOrObserver,this.error,this.complete))},t}(),gl=function(t){function e(e,n,r,o){var i=t.call(this,e)||this;return i._tapNext=P,i._tapError=P,i._tapComplete=P,i._tapError=r||P,i._tapComplete=o||P,h(n)?(i._context=i,i._tapNext=n):n&&(i._context=n,i._tapNext=n.next||P,i._tapError=n.error||P,i._tapComplete=n.complete||P),i}return o(e,t),e.prototype._next=function(t){try{this._tapNext.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.next(t)},e.prototype._error=function(t){try{this._tapError.call(this._context,t)}catch(t){return void this.destination.error(t)}this.destination.error(t)},e.prototype._complete=function(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()},e}(k),yl=function(t){return void 0===t&&(t=ml),dl({hasValue:!1,next:function(){this.hasValue=!0},complete:function(){if(!this.hasValue)throw t()}})};function ml(){return new ol}function bl(t){return void 0===t&&(t=null),function(e){return e.lift(new _l(t))}}var _l=function(){function t(t){this.defaultValue=t}return t.prototype.call=function(t,e){return e.subscribe(new wl(t,this.defaultValue))},t}(),wl=function(t){function e(e,n){var r=t.call(this,e)||this;return r.defaultValue=n,r.isEmpty=!0,r}return o(e,t),e.prototype._next=function(t){this.isEmpty=!1,this.destination.next(t)},e.prototype._complete=function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()},e}(k);function Cl(t,e){var n=arguments.length>=2;return function(r){return r.pipe(t?al(function(e,n){return t(e,n,r)}):st,fl(1),n?bl(e):yl(function(){return new ol}))}}function Sl(t,e){return function(n){return n.lift(new El(t,e,n))}}var El=function(){function t(t,e,n){this.predicate=t,this.thisArg=e,this.source=n}return t.prototype.call=function(t,e){return e.subscribe(new xl(t,this.predicate,this.thisArg,this.source))},t}(),xl=function(t){function e(e,n,r,o){var i=t.call(this,e)||this;return i.predicate=n,i.thisArg=r,i.source=o,i.index=0,i.thisArg=r||i,i}return o(e,t),e.prototype.notifyComplete=function(t){this.destination.next(t),this.destination.complete()},e.prototype._next=function(t){var e=!1;try{e=this.predicate.call(this.thisArg,t,this.index++,this.source)}catch(n){return void this.destination.error(n)}e||this.notifyComplete(!1)},e.prototype._complete=function(){this.notifyComplete(!0)},e}(k);function Tl(t){return function(e){var n=new kl(t),r=e.lift(n);return n.caught=r}}var kl=function(){function t(t){this.selector=t}return t.prototype.call=function(t,e){return e.subscribe(new Al(t,this.selector,this.caught))},t}(),Al=function(t){function e(e,n,r){var o=t.call(this,e)||this;return o.selector=n,o.caught=r,o}return o(e,t),e.prototype.error=function(e){if(!this.isStopped){var n=void 0;try{n=this.selector(e,this.caught)}catch(o){return void t.prototype.error.call(this,o)}this._unsubscribeAndRecycle();var r=new z(this,void 0,void 0);this.add(r),J(this,n,void 0,void 0,r)}},e}(X),Ol=function(){function t(t){if(this.total=t,this.total<0)throw new cl}return t.prototype.call=function(t,e){return e.subscribe(new Pl(t,this.total))},t}(),Pl=function(t){function e(e,n){var r=t.call(this,e)||this;return r.total=n,r.count=0,r}return o(e,t),e.prototype._next=function(t){var e=this.total,n=++this.count;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))},e}(k);function Il(t,e){var n=arguments.length>=2;return function(r){return r.pipe(t?al(function(e,n){return t(e,n,r)}):st,function(t){return t.lift(new Ol(1))},n?bl(e):yl(function(){return new ol}))}}function Rl(t,e){return"function"==typeof e?function(n){return n.pipe(Rl(function(n,r){return ot(t(n,r)).pipe(tt(function(t,o){return e(n,t,r,o)}))}))}:function(e){return e.lift(new Nl(t))}}var Nl=function(){function t(t){this.project=t}return t.prototype.call=function(t,e){return e.subscribe(new Dl(t,this.project))},t}(),Dl=function(t){function e(e,n){var r=t.call(this,e)||this;return r.project=n,r.index=0,r}return o(e,t),e.prototype._next=function(t){var e,n=this.index++;try{e=this.project(t,n)}catch(r){return void this.destination.error(r)}this._innerSub(e,t,n)},e.prototype._innerSub=function(t,e,n){var r=this.innerSubscription;r&&r.unsubscribe();var o=new z(this,void 0,void 0);this.destination.add(o),this.innerSubscription=J(this,t,e,n,o)},e.prototype._complete=function(){var e=this.innerSubscription;e&&!e.closed||t.prototype._complete.call(this),this.unsubscribe()},e.prototype._unsubscribe=function(){this.innerSubscription=null},e.prototype.notifyComplete=function(e){this.destination.remove(e),this.innerSubscription=null,this.isStopped&&t.prototype._complete.call(this)},e.prototype.notifyNext=function(t,e,n,r,o){this.destination.next(e)},e}(X);function Vl(t,e){return it(t,e,1)}function Ml(t,e){var n=!1;return arguments.length>=2&&(n=!0),function(r){return r.lift(new jl(t,e,n))}}var jl=function(){function t(t,e,n){void 0===n&&(n=!1),this.accumulator=t,this.seed=e,this.hasSeed=n}return t.prototype.call=function(t,e){return e.subscribe(new Ul(t,this.accumulator,this.seed,this.hasSeed))},t}(),Ul=function(t){function e(e,n,r,o){var i=t.call(this,e)||this;return i.accumulator=n,i._seed=r,i.hasSeed=o,i.index=0,i}return o(e,t),Object.defineProperty(e.prototype,"seed",{get:function(){return this._seed},set:function(t){this.hasSeed=!0,this._seed=t},enumerable:!0,configurable:!0}),e.prototype._next=function(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)},e.prototype._tryNext=function(t){var e,n=this.index++;try{e=this.accumulator(this.seed,t,n)}catch(r){this.destination.error(r)}this.seed=e,this.destination.next(e)},e}(k),Ll=function(){function t(t){this.callback=t}return t.prototype.call=function(t,e){return e.subscribe(new Fl(t,this.callback))},t}(),Fl=function(t){function e(e,n){var r=t.call(this,e)||this;return r.add(new _(n)),r}return o(e,t),e}(k),Hl=function(){return function(){}}(),zl=new xt("Location Initialized"),Bl=function(){return function(){}}(),Gl=new xt("appBaseHref"),Zl=function(){function t(t){var n=this;this._subject=new Vr,this._platformStrategy=t;var r=this._platformStrategy.getBaseHref();this._baseHref=e.stripTrailingSlash(ql(r)),this._platformStrategy.onPopState(function(t){n._subject.emit({url:n.path(!0),pop:!0,state:t.state,type:t.type})})}var e;return e=t,t.prototype.path=function(t){return void 0===t&&(t=!1),this.normalize(this._platformStrategy.path(t))},t.prototype.isCurrentPathEqualTo=function(t,n){return void 0===n&&(n=""),this.path()==this.normalize(t+e.normalizeQueryParams(n))},t.prototype.normalize=function(t){return e.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,ql(t)))},t.prototype.prepareExternalUrl=function(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)},t.prototype.go=function(t,e,n){void 0===e&&(e=""),void 0===n&&(n=null),this._platformStrategy.pushState(n,"",t,e)},t.prototype.replaceState=function(t,e,n){void 0===e&&(e=""),void 0===n&&(n=null),this._platformStrategy.replaceState(n,"",t,e)},t.prototype.forward=function(){this._platformStrategy.forward()},t.prototype.back=function(){this._platformStrategy.back()},t.prototype.subscribe=function(t,e,n){return this._subject.subscribe({next:t,error:e,complete:n})},t.normalizeQueryParams=function(t){return t&&"?"!==t[0]?"?"+t:t},t.joinWithSlash=function(t,e){if(0==t.length)return e;if(0==e.length)return t;var n=0;return t.endsWith("/")&&n++,e.startsWith("/")&&n++,2==n?t+e.substring(1):1==n?t+e:t+"/"+e},t.stripTrailingSlash=function(t){var e=t.match(/#|\?|$/),n=e&&e.index||t.length;return t.slice(0,n-("/"===t[n-1]?1:0))+t.slice(n)},t}();function ql(t){return t.replace(/\/index.html$/,"")}var Wl=function(t){function e(e,n){var r=t.call(this)||this;return r._platformLocation=e,r._baseHref="",null!=n&&(r._baseHref=n),r}return o(e,t),e.prototype.onPopState=function(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)},e.prototype.getBaseHref=function(){return this._baseHref},e.prototype.path=function(t){void 0===t&&(t=!1);var e=this._platformLocation.hash;return null==e&&(e="#"),e.length>0?e.substring(1):e},e.prototype.prepareExternalUrl=function(t){var e=Zl.joinWithSlash(this._baseHref,t);return e.length>0?"#"+e:e},e.prototype.pushState=function(t,e,n,r){var o=this.prepareExternalUrl(n+Zl.normalizeQueryParams(r));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.pushState(t,e,o)},e.prototype.replaceState=function(t,e,n,r){var o=this.prepareExternalUrl(n+Zl.normalizeQueryParams(r));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,o)},e.prototype.forward=function(){this._platformLocation.forward()},e.prototype.back=function(){this._platformLocation.back()},e}(Bl),Ql=function(t){function e(e,n){var r=t.call(this)||this;if(r._platformLocation=e,null==n&&(n=r._platformLocation.getBaseHrefFromDOM()),null==n)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");return r._baseHref=n,r}return o(e,t),e.prototype.onPopState=function(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)},e.prototype.getBaseHref=function(){return this._baseHref},e.prototype.prepareExternalUrl=function(t){return Zl.joinWithSlash(this._baseHref,t)},e.prototype.path=function(t){void 0===t&&(t=!1);var e=this._platformLocation.pathname+Zl.normalizeQueryParams(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?""+e+n:e},e.prototype.pushState=function(t,e,n,r){var o=this.prepareExternalUrl(n+Zl.normalizeQueryParams(r));this._platformLocation.pushState(t,e,o)},e.prototype.replaceState=function(t,e,n,r){var o=this.prepareExternalUrl(n+Zl.normalizeQueryParams(r));this._platformLocation.replaceState(t,e,o)},e.prototype.forward=function(){this._platformLocation.forward()},e.prototype.back=function(){this._platformLocation.back()},e}(Bl),Yl=void 0,Kl=["en",[["a","p"],["AM","PM"],Yl],[["AM","PM"],Yl,Yl],[["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"]],Yl,[["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"]],Yl,[["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}",Yl,"{1} 'at' {0}",Yl],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"$","US Dollar",{},function(t){var e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}],$l={},Jl=function(t){return t[t.Zero=0]="Zero",t[t.One=1]="One",t[t.Two=2]="Two",t[t.Few=3]="Few",t[t.Many=4]="Many",t[t.Other=5]="Other",t}({}),Xl=function(t){return t[t.Format=0]="Format",t[t.Standalone=1]="Standalone",t}({}),tc=function(t){return t[t.Narrow=0]="Narrow",t[t.Abbreviated=1]="Abbreviated",t[t.Wide=2]="Wide",t[t.Short=3]="Short",t}({}),ec=function(t){return t[t.Short=0]="Short",t[t.Medium=1]="Medium",t[t.Long=2]="Long",t[t.Full=3]="Full",t}({}),nc=function(t){return t[t.Decimal=0]="Decimal",t[t.Group=1]="Group",t[t.List=2]="List",t[t.PercentSign=3]="PercentSign",t[t.PlusSign=4]="PlusSign",t[t.MinusSign=5]="MinusSign",t[t.Exponential=6]="Exponential",t[t.SuperscriptingExponent=7]="SuperscriptingExponent",t[t.PerMille=8]="PerMille",t[t[1/0]=9]="Infinity",t[t.NaN=10]="NaN",t[t.TimeSeparator=11]="TimeSeparator",t[t.CurrencyDecimal=12]="CurrencyDecimal",t[t.CurrencyGroup=13]="CurrencyGroup",t}({});function rc(t,e){return sc(cc(t)[10],e)}function oc(t,e){return sc(cc(t)[11],e)}function ic(t,e){return sc(cc(t)[12],e)}function ac(t,e){var n=cc(t),r=n[13][e];if(void 0===r){if(e===nc.CurrencyDecimal)return n[13][nc.Decimal];if(e===nc.CurrencyGroup)return n[13][nc.Group]}return r}function uc(t){if(!t[19])throw new Error('Missing extra locale data for the locale "'+t[0]+'". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.')}function sc(t,e){for(var n=e;n>-1;n--)if(void 0!==t[n])return t[n];throw new Error("Locale data API: locale data undefined")}function lc(t){var e=l(t.split(":"),2);return{hours:+e[0],minutes:+e[1]}}function cc(t){var e=t.toLowerCase().replace(/_/g,"-"),n=$l[e];if(n)return n;var r=e.split("-")[0];if(n=$l[r])return n;if("en"===r)return Kl;throw new Error('Missing locale data for the locale "'+t+'".')}var fc=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,pc={},hc=/((?:[^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]*)/,dc=function(t){return t[t.Short=0]="Short",t[t.ShortGMT=1]="ShortGMT",t[t.Long=2]="Long",t[t.Extended=3]="Extended",t}({}),vc=function(t){return t[t.FullYear=0]="FullYear",t[t.Month=1]="Month",t[t.Date=2]="Date",t[t.Hours=3]="Hours",t[t.Minutes=4]="Minutes",t[t.Seconds=5]="Seconds",t[t.FractionalSeconds=6]="FractionalSeconds",t[t.Day=7]="Day",t}({}),gc=function(t){return t[t.DayPeriods=0]="DayPeriods",t[t.Days=1]="Days",t[t.Months=2]="Months",t[t.Eras=3]="Eras",t}({});function yc(t,e){return e&&(t=t.replace(/\{([^}]+)}/g,function(t,n){return null!=e&&n in e?e[n]:t})),t}function mc(t,e,n,r,o){void 0===n&&(n="-");var i="";(t<0||o&&t<=0)&&(o?t=1-t:(t=-t,i=n));for(var a=String(t);a.length<e;)a="0"+a;return r&&(a=a.substr(a.length-e)),i+a}function bc(t,e,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(t,e){switch(t){case vc.FullYear:return e.getFullYear();case vc.Month:return e.getMonth();case vc.Date:return e.getDate();case vc.Hours:return e.getHours();case vc.Minutes:return e.getMinutes();case vc.Seconds:return e.getSeconds();case vc.FractionalSeconds:return e.getMilliseconds();case vc.Day:return e.getDay();default:throw new Error('Unknown DateType value "'+t+'".')}}(t,i);if((n>0||s>-n)&&(s+=n),t===vc.Hours)0===s&&-12===n&&(s=12);else if(t===vc.FractionalSeconds)return u=e,mc(s,3).substr(0,u);var l=ac(a,nc.MinusSign);return mc(s,e,l,r,o)}}function _c(t,e,n,r){return void 0===n&&(n=Xl.Format),void 0===r&&(r=!1),function(o,i){return function(t,e,n,r,o,i){switch(n){case gc.Months:return function(t,e,n){var r=cc(t),o=sc([r[5],r[6]],e);return sc(o,n)}(e,o,r)[t.getMonth()];case gc.Days:return function(t,e,n){var r=cc(t),o=sc([r[3],r[4]],e);return sc(o,n)}(e,o,r)[t.getDay()];case gc.DayPeriods:var a=t.getHours(),u=t.getMinutes();if(i){var s,l=function(t){var e=cc(t);return uc(e),(e[19][2]||[]).map(function(t){return"string"==typeof t?lc(t):[lc(t[0]),lc(t[1])]})}(e),c=function(t,e,n){var r=cc(t);uc(r);var o=sc([r[19][0],r[19][1]],e)||[];return sc(o,n)||[]}(e,o,r);if(l.forEach(function(t,e){if(Array.isArray(t)){var n=t[0],r=t[1],o=r.hours;a>=n.hours&&u>=n.minutes&&(a<o||a===o&&u<r.minutes)&&(s=c[e])}else t.hours===a&&t.minutes===u&&(s=c[e])}),s)return s}return function(t,e,n){var r=cc(t),o=sc([r[1],r[2]],e);return sc(o,n)}(e,o,r)[a<12?0:1];case gc.Eras:return function(t,e){return sc(cc(t)[7],e)}(e,r)[t.getFullYear()<=0?0:1];default:throw new Error("unexpected translation type "+n)}}(o,i,t,e,n,r)}}function wc(t){return function(e,n,r){var o=-1*r,i=ac(n,nc.MinusSign),a=o>0?Math.floor(o/60):Math.ceil(o/60);switch(t){case dc.Short:return(o>=0?"+":"")+mc(a,2,i)+mc(Math.abs(o%60),2,i);case dc.ShortGMT:return"GMT"+(o>=0?"+":"")+mc(a,1,i);case dc.Long:return"GMT"+(o>=0?"+":"")+mc(a,2,i)+":"+mc(Math.abs(o%60),2,i);case dc.Extended:return 0===r?"Z":(o>=0?"+":"")+mc(a,2,i)+":"+mc(Math.abs(o%60),2,i);default:throw new Error('Unknown zone width "'+t+'"')}}}var Cc=0,Sc=4;function Ec(t,e){return void 0===e&&(e=!1),function(n,r){var o,i,a,u;if(e){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,Cc,1).getDay(),new Date(a,0,1+(u<=Sc?Sc:Sc+7)-u)),f=(i=n,new Date(i.getFullYear(),i.getMonth(),i.getDate()+(Sc-i.getDay()))).getTime()-c.getTime();o=1+Math.round(f/6048e5)}return mc(o,t,ac(r,nc.MinusSign))}}var xc={};function Tc(t,e){t=t.replace(/:/g,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(n)?e:n}function kc(t){return t instanceof Date&&!isNaN(t.valueOf())}var Ac=new xt("UseV4Plurals"),Oc=function(){return function(){}}(),Pc=function(t){function e(e,n){var r=t.call(this)||this;return r.locale=e,r.deprecatedPluralFn=n,r}return o(e,t),e.prototype.getPluralCategory=function(t,e){switch(this.deprecatedPluralFn?this.deprecatedPluralFn(e||this.locale,t):function(t){return cc(t)[18]}(e||this.locale)(t)){case Jl.Zero:return"zero";case Jl.One:return"one";case Jl.Two:return"two";case Jl.Few:return"few";case Jl.Many:return"many";default:return"other"}},e}(Oc),Ic=function(){function t(t,e,n,r){this.$implicit=t,this.ngForOf=e,this.index=n,this.count=r}return Object.defineProperty(t.prototype,"first",{get:function(){return 0===this.index},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"last",{get:function(){return this.index===this.count-1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"even",{get:function(){return this.index%2==0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"odd",{get:function(){return!this.even},enumerable:!0,configurable:!0}),t}(),Rc=function(){function t(t,e,n){this._viewContainer=t,this._template=e,this._differs=n,this._ngForOfDirty=!0,this._differ=null}return Object.defineProperty(t.prototype,"ngForOf",{set:function(t){this._ngForOf=t,this._ngForOfDirty=!0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngForTrackBy",{get:function(){return this._trackByFn},set:function(t){Lr()&&null!=t&&"function"!=typeof t&&console&&console.warn&&console.warn("trackBy must be a function, but received "+JSON.stringify(t)+". See https://angular.io/docs/ts/latest/api/common/index/NgFor-directive.html#!#change-propagation for more information."),this._trackByFn=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngForTemplate",{set:function(t){t&&(this._template=t)},enumerable:!0,configurable:!0}),t.prototype.ngDoCheck=function(){if(this._ngForOfDirty){this._ngForOfDirty=!1;var t=this._ngForOf;if(!this._differ&&t)try{this._differ=this._differs.find(t).create(this.ngForTrackBy)}catch(r){throw new Error("Cannot find a differ supporting object '"+t+"' of type '"+((e=t).name||typeof e)+"'. NgFor only supports binding to Iterables such as Arrays.")}}var e;if(this._differ){var n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}},t.prototype._applyChanges=function(t){var e=this,n=[];t.forEachOperation(function(t,r,o){if(null==t.previousIndex){var i=e._viewContainer.createEmbeddedView(e._template,new Ic(null,e._ngForOf,-1,-1),o),a=new Nc(t,i);n.push(a)}else null==o?e._viewContainer.remove(r):(i=e._viewContainer.get(r),e._viewContainer.move(i,o),a=new Nc(t,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}t.forEachIdentityChange(function(t){e._viewContainer.get(t.currentIndex).context.$implicit=t.item})},t.prototype._perViewChange=function(t,e){t.context.$implicit=e.item},t.ngTemplateContextGuard=function(t,e){return!0},t}(),Nc=function(){return function(t,e){this.record=t,this.view=e}}(),Dc=function(){function t(t,e){this._viewContainer=t,this._context=new Vc,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=e}return Object.defineProperty(t.prototype,"ngIf",{set:function(t){this._context.$implicit=this._context.ngIf=t,this._updateView()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngIfThen",{set:function(t){Mc("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngIfElse",{set:function(t){Mc("ngIfElse",t),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()},enumerable:!0,configurable:!0}),t.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)))},t.ngTemplateGuard_ngIf=function(t,e){return!0},t}(),Vc=function(){return function(){this.$implicit=null,this.ngIf=null}}();function Mc(t,e){if(e&&!e.createEmbeddedView)throw new Error(t+" must be a TemplateRef, but received '"+jt(e)+"'.")}var jc=function(){function t(t){this.locale=t}var e;return e=t,t.prototype.transform=function(t,n,r,o){if(void 0===n&&(n="mediumDate"),null==t||""===t||t!=t)return null;try{return function(t,e,n,r){var o=function(t){if(kc(t))return t;if("number"==typeof t&&!isNaN(t))return new Date(t);if("string"==typeof t){t=t.trim();var e,n=parseFloat(t);if(!isNaN(t-n))return new Date(n);if(/^(\d{4}-\d{1,2}-\d{1,2})$/.test(t)){var r=l(t.split("-").map(function(t){return+t}),3);return new Date(r[0],r[1]-1,r[2])}if(e=t.match(fc))return function(t){var e=new Date(0),n=0,r=0,o=t[8]?e.setUTCFullYear:e.setFullYear,i=t[8]?e.setUTCHours:e.setHours;t[9]&&(n=Number(t[9]+t[10]),r=Number(t[9]+t[11])),o.call(e,Number(t[1]),Number(t[2])-1,Number(t[3]));var a=Number(t[4]||0)-n,u=Number(t[5]||0)-r,s=Number(t[6]||0),l=Math.round(1e3*parseFloat("0."+(t[7]||0)));return i.call(e,a,u,s,l),e}(e)}var o=new Date(t);if(!kc(o))throw new Error('Unable to convert "'+t+'" into a date');return o}(t);e=function t(e,n){var r=function(t){return cc(t)[0]}(e);if(pc[r]=pc[r]||{},pc[r][n])return pc[r][n];var o="";switch(n){case"shortDate":o=rc(e,ec.Short);break;case"mediumDate":o=rc(e,ec.Medium);break;case"longDate":o=rc(e,ec.Long);break;case"fullDate":o=rc(e,ec.Full);break;case"shortTime":o=oc(e,ec.Short);break;case"mediumTime":o=oc(e,ec.Medium);break;case"longTime":o=oc(e,ec.Long);break;case"fullTime":o=oc(e,ec.Full);break;case"short":var i=t(e,"shortTime"),a=t(e,"shortDate");o=yc(ic(e,ec.Short),[i,a]);break;case"medium":var u=t(e,"mediumTime"),s=t(e,"mediumDate");o=yc(ic(e,ec.Medium),[u,s]);break;case"long":var l=t(e,"longTime"),c=t(e,"longDate");o=yc(ic(e,ec.Long),[l,c]);break;case"full":var f=t(e,"fullTime"),p=t(e,"fullDate");o=yc(ic(e,ec.Full),[f,p])}return o&&(pc[r][n]=o),o}(n,e)||e;for(var i,a=[];e;){if(!(i=hc.exec(e))){a.push(e);break}var u=(a=a.concat(i.slice(1))).pop();if(!u)break;e=u}var s=o.getTimezoneOffset();r&&(s=Tc(r,s),o=function(t,e,n){var r=t.getTimezoneOffset();return function(t,e){return(t=new Date(t.getTime())).setMinutes(t.getMinutes()+e),t}(t,-1*(Tc(e,r)-r))}(o,r));var c="";return a.forEach(function(t){var e=function(t){if(xc[t])return xc[t];var e;switch(t){case"G":case"GG":case"GGG":e=_c(gc.Eras,tc.Abbreviated);break;case"GGGG":e=_c(gc.Eras,tc.Wide);break;case"GGGGG":e=_c(gc.Eras,tc.Narrow);break;case"y":e=bc(vc.FullYear,1,0,!1,!0);break;case"yy":e=bc(vc.FullYear,2,0,!0,!0);break;case"yyy":e=bc(vc.FullYear,3,0,!1,!0);break;case"yyyy":e=bc(vc.FullYear,4,0,!1,!0);break;case"M":case"L":e=bc(vc.Month,1,1);break;case"MM":case"LL":e=bc(vc.Month,2,1);break;case"MMM":e=_c(gc.Months,tc.Abbreviated);break;case"MMMM":e=_c(gc.Months,tc.Wide);break;case"MMMMM":e=_c(gc.Months,tc.Narrow);break;case"LLL":e=_c(gc.Months,tc.Abbreviated,Xl.Standalone);break;case"LLLL":e=_c(gc.Months,tc.Wide,Xl.Standalone);break;case"LLLLL":e=_c(gc.Months,tc.Narrow,Xl.Standalone);break;case"w":e=Ec(1);break;case"ww":e=Ec(2);break;case"W":e=Ec(1,!0);break;case"d":e=bc(vc.Date,1);break;case"dd":e=bc(vc.Date,2);break;case"E":case"EE":case"EEE":e=_c(gc.Days,tc.Abbreviated);break;case"EEEE":e=_c(gc.Days,tc.Wide);break;case"EEEEE":e=_c(gc.Days,tc.Narrow);break;case"EEEEEE":e=_c(gc.Days,tc.Short);break;case"a":case"aa":case"aaa":e=_c(gc.DayPeriods,tc.Abbreviated);break;case"aaaa":e=_c(gc.DayPeriods,tc.Wide);break;case"aaaaa":e=_c(gc.DayPeriods,tc.Narrow);break;case"b":case"bb":case"bbb":e=_c(gc.DayPeriods,tc.Abbreviated,Xl.Standalone,!0);break;case"bbbb":e=_c(gc.DayPeriods,tc.Wide,Xl.Standalone,!0);break;case"bbbbb":e=_c(gc.DayPeriods,tc.Narrow,Xl.Standalone,!0);break;case"B":case"BB":case"BBB":e=_c(gc.DayPeriods,tc.Abbreviated,Xl.Format,!0);break;case"BBBB":e=_c(gc.DayPeriods,tc.Wide,Xl.Format,!0);break;case"BBBBB":e=_c(gc.DayPeriods,tc.Narrow,Xl.Format,!0);break;case"h":e=bc(vc.Hours,1,-12);break;case"hh":e=bc(vc.Hours,2,-12);break;case"H":e=bc(vc.Hours,1);break;case"HH":e=bc(vc.Hours,2);break;case"m":e=bc(vc.Minutes,1);break;case"mm":e=bc(vc.Minutes,2);break;case"s":e=bc(vc.Seconds,1);break;case"ss":e=bc(vc.Seconds,2);break;case"S":e=bc(vc.FractionalSeconds,1);break;case"SS":e=bc(vc.FractionalSeconds,2);break;case"SSS":e=bc(vc.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":e=wc(dc.Short);break;case"ZZZZZ":e=wc(dc.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":e=wc(dc.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":e=wc(dc.Long);break;default:return null}return xc[t]=e,e}(t);c+=e?e(o,n,s):"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),c}(t,n,o||this.locale,r)}catch(i){throw Error("InvalidPipeArgument: '"+i.message+"' for pipe '"+jt(e)+"'")}},t}(),Uc=function(){return function(){}}(),Lc=new xt("DocumentToken"),Fc="server",Hc=function(){function t(){}return t.ngInjectableDef=Ct({providedIn:"root",factory:function(){return new zc(ce(Lc),window)}}),t}(),zc=function(){function t(t,e){this.document=t,this.window=e,this.offset=function(){return[0,0]}}return t.prototype.setOffset=function(t){this.offset=Array.isArray(t)?function(){return t}:t},t.prototype.getScrollPosition=function(){return this.supportScrollRestoration()?[this.window.scrollX,this.window.scrollY]:[0,0]},t.prototype.scrollToPosition=function(t){this.supportScrollRestoration()&&this.window.scrollTo(t[0],t[1])},t.prototype.scrollToAnchor=function(t){if(this.supportScrollRestoration()){var e=this.document.querySelector("#"+t);if(e)return void this.scrollToElement(e);var n=this.document.querySelector("[name='"+t+"']");if(n)return void this.scrollToElement(n)}},t.prototype.setHistoryScrollRestoration=function(t){if(this.supportScrollRestoration()){var e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=t)}},t.prototype.scrollToElement=function(t){var e=t.getBoundingClientRect(),n=e.left+this.window.pageXOffset,r=e.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(n-o[0],r-o[1])},t.prototype.supportScrollRestoration=function(){try{return!!this.window&&!!this.window.scrollTo}catch(t){return!1}},t}(),Bc=null;function Gc(){return Bc}var Zc,qc={class:"className",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"},Wc={"\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"},Qc={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"};It.Node&&(Zc=It.Node.prototype.contains||function(t){return!!(16&this.compareDocumentPosition(t))});var Yc,Kc=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.parse=function(t){throw new Error("parse not implemented")},e.makeCurrent=function(){var t;t=new e,Bc||(Bc=t)},e.prototype.hasProperty=function(t,e){return e in t},e.prototype.setProperty=function(t,e,n){t[e]=n},e.prototype.getProperty=function(t,e){return t[e]},e.prototype.invoke=function(t,e,n){var r;(r=t)[e].apply(r,c(n))},e.prototype.logError=function(t){window.console&&(console.error?console.error(t):console.log(t))},e.prototype.log=function(t){window.console&&window.console.log&&window.console.log(t)},e.prototype.logGroup=function(t){window.console&&window.console.group&&window.console.group(t)},e.prototype.logGroupEnd=function(){window.console&&window.console.groupEnd&&window.console.groupEnd()},Object.defineProperty(e.prototype,"attrToPropMap",{get:function(){return qc},enumerable:!0,configurable:!0}),e.prototype.contains=function(t,e){return Zc.call(t,e)},e.prototype.querySelector=function(t,e){return t.querySelector(e)},e.prototype.querySelectorAll=function(t,e){return t.querySelectorAll(e)},e.prototype.on=function(t,e,n){t.addEventListener(e,n,!1)},e.prototype.onAndCancel=function(t,e,n){return t.addEventListener(e,n,!1),function(){t.removeEventListener(e,n,!1)}},e.prototype.dispatchEvent=function(t,e){t.dispatchEvent(e)},e.prototype.createMouseEvent=function(t){var e=this.getDefaultDocument().createEvent("MouseEvent");return e.initEvent(t,!0,!0),e},e.prototype.createEvent=function(t){var e=this.getDefaultDocument().createEvent("Event");return e.initEvent(t,!0,!0),e},e.prototype.preventDefault=function(t){t.preventDefault(),t.returnValue=!1},e.prototype.isPrevented=function(t){return t.defaultPrevented||null!=t.returnValue&&!t.returnValue},e.prototype.getInnerHTML=function(t){return t.innerHTML},e.prototype.getTemplateContent=function(t){return"content"in t&&this.isTemplateElement(t)?t.content:null},e.prototype.getOuterHTML=function(t){return t.outerHTML},e.prototype.nodeName=function(t){return t.nodeName},e.prototype.nodeValue=function(t){return t.nodeValue},e.prototype.type=function(t){return t.type},e.prototype.content=function(t){return this.hasProperty(t,"content")?t.content:t},e.prototype.firstChild=function(t){return t.firstChild},e.prototype.nextSibling=function(t){return t.nextSibling},e.prototype.parentElement=function(t){return t.parentNode},e.prototype.childNodes=function(t){return t.childNodes},e.prototype.childNodesAsList=function(t){for(var e=t.childNodes,n=new Array(e.length),r=0;r<e.length;r++)n[r]=e[r];return n},e.prototype.clearNodes=function(t){for(;t.firstChild;)t.removeChild(t.firstChild)},e.prototype.appendChild=function(t,e){t.appendChild(e)},e.prototype.removeChild=function(t,e){t.removeChild(e)},e.prototype.replaceChild=function(t,e,n){t.replaceChild(e,n)},e.prototype.remove=function(t){return t.parentNode&&t.parentNode.removeChild(t),t},e.prototype.insertBefore=function(t,e,n){t.insertBefore(n,e)},e.prototype.insertAllBefore=function(t,e,n){n.forEach(function(n){return t.insertBefore(n,e)})},e.prototype.insertAfter=function(t,e,n){t.insertBefore(n,e.nextSibling)},e.prototype.setInnerHTML=function(t,e){t.innerHTML=e},e.prototype.getText=function(t){return t.textContent},e.prototype.setText=function(t,e){t.textContent=e},e.prototype.getValue=function(t){return t.value},e.prototype.setValue=function(t,e){t.value=e},e.prototype.getChecked=function(t){return t.checked},e.prototype.setChecked=function(t,e){t.checked=e},e.prototype.createComment=function(t){return this.getDefaultDocument().createComment(t)},e.prototype.createTemplate=function(t){var e=this.getDefaultDocument().createElement("template");return e.innerHTML=t,e},e.prototype.createElement=function(t,e){return(e=e||this.getDefaultDocument()).createElement(t)},e.prototype.createElementNS=function(t,e,n){return(n=n||this.getDefaultDocument()).createElementNS(t,e)},e.prototype.createTextNode=function(t,e){return(e=e||this.getDefaultDocument()).createTextNode(t)},e.prototype.createScriptTag=function(t,e,n){var r=(n=n||this.getDefaultDocument()).createElement("SCRIPT");return r.setAttribute(t,e),r},e.prototype.createStyleElement=function(t,e){var n=(e=e||this.getDefaultDocument()).createElement("style");return this.appendChild(n,this.createTextNode(t,e)),n},e.prototype.createShadowRoot=function(t){return t.createShadowRoot()},e.prototype.getShadowRoot=function(t){return t.shadowRoot},e.prototype.getHost=function(t){return t.host},e.prototype.clone=function(t){return t.cloneNode(!0)},e.prototype.getElementsByClassName=function(t,e){return t.getElementsByClassName(e)},e.prototype.getElementsByTagName=function(t,e){return t.getElementsByTagName(e)},e.prototype.classList=function(t){return Array.prototype.slice.call(t.classList,0)},e.prototype.addClass=function(t,e){t.classList.add(e)},e.prototype.removeClass=function(t,e){t.classList.remove(e)},e.prototype.hasClass=function(t,e){return t.classList.contains(e)},e.prototype.setStyle=function(t,e,n){t.style[e]=n},e.prototype.removeStyle=function(t,e){t.style[e]=""},e.prototype.getStyle=function(t,e){return t.style[e]},e.prototype.hasStyle=function(t,e,n){var r=this.getStyle(t,e)||"";return n?r==n:r.length>0},e.prototype.tagName=function(t){return t.tagName},e.prototype.attributeMap=function(t){for(var e=new Map,n=t.attributes,r=0;r<n.length;r++){var o=n.item(r);e.set(o.name,o.value)}return e},e.prototype.hasAttribute=function(t,e){return t.hasAttribute(e)},e.prototype.hasAttributeNS=function(t,e,n){return t.hasAttributeNS(e,n)},e.prototype.getAttribute=function(t,e){return t.getAttribute(e)},e.prototype.getAttributeNS=function(t,e,n){return t.getAttributeNS(e,n)},e.prototype.setAttribute=function(t,e,n){t.setAttribute(e,n)},e.prototype.setAttributeNS=function(t,e,n,r){t.setAttributeNS(e,n,r)},e.prototype.removeAttribute=function(t,e){t.removeAttribute(e)},e.prototype.removeAttributeNS=function(t,e,n){t.removeAttributeNS(e,n)},e.prototype.templateAwareRoot=function(t){return this.isTemplateElement(t)?this.content(t):t},e.prototype.createHtmlDocument=function(){return document.implementation.createHTMLDocument("fakeTitle")},e.prototype.getDefaultDocument=function(){return document},e.prototype.getBoundingClientRect=function(t){try{return t.getBoundingClientRect()}catch(e){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}},e.prototype.getTitle=function(t){return t.title},e.prototype.setTitle=function(t,e){t.title=e||""},e.prototype.elementMatches=function(t,e){return!!this.isElementNode(t)&&(t.matches&&t.matches(e)||t.msMatchesSelector&&t.msMatchesSelector(e)||t.webkitMatchesSelector&&t.webkitMatchesSelector(e))},e.prototype.isTemplateElement=function(t){return this.isElementNode(t)&&"TEMPLATE"===t.nodeName},e.prototype.isTextNode=function(t){return t.nodeType===Node.TEXT_NODE},e.prototype.isCommentNode=function(t){return t.nodeType===Node.COMMENT_NODE},e.prototype.isElementNode=function(t){return t.nodeType===Node.ELEMENT_NODE},e.prototype.hasShadowRoot=function(t){return null!=t.shadowRoot&&t instanceof HTMLElement},e.prototype.isShadowRoot=function(t){return t instanceof DocumentFragment},e.prototype.importIntoDoc=function(t){return document.importNode(this.templateAwareRoot(t),!0)},e.prototype.adoptNode=function(t){return document.adoptNode(t)},e.prototype.getHref=function(t){return t.getAttribute("href")},e.prototype.getEventKey=function(t){var e=t.key;if(null==e){if(null==(e=t.keyIdentifier))return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===t.location&&Qc.hasOwnProperty(e)&&(e=Qc[e]))}return Wc[e]||e},e.prototype.getGlobalEventTarget=function(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null},e.prototype.getHistory=function(){return window.history},e.prototype.getLocation=function(){return window.location},e.prototype.getBaseHref=function(t){var e,n=$c||($c=document.querySelector("base"))?$c.getAttribute("href"):null;return null==n?null:(e=n,Yc||(Yc=document.createElement("a")),Yc.setAttribute("href",e),"/"===Yc.pathname.charAt(0)?Yc.pathname:"/"+Yc.pathname)},e.prototype.resetBaseElement=function(){$c=null},e.prototype.getUserAgent=function(){return window.navigator.userAgent},e.prototype.setData=function(t,e,n){this.setAttribute(t,"data-"+e,n)},e.prototype.getData=function(t,e){return this.getAttribute(t,"data-"+e)},e.prototype.getComputedStyle=function(t){return getComputedStyle(t)},e.prototype.supportsWebAnimation=function(){return"function"==typeof Element.prototype.animate},e.prototype.performanceNow=function(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()},e.prototype.supportsCookies=function(){return!0},e.prototype.getCookie=function(t){return function(t,e){var n,r;e=encodeURIComponent(e);try{for(var o=s(t.split(";")),i=o.next();!i.done;i=o.next()){var a=i.value,u=a.indexOf("="),c=l(-1==u?[a,""]:[a.slice(0,u),a.slice(u+1)],2),f=c[1];if(c[0].trim()===e)return decodeURIComponent(f)}}catch(p){n={error:p}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return null}(document.cookie,t)},e.prototype.setCookie=function(t,e){document.cookie=encodeURIComponent(t)+"="+encodeURIComponent(e)},e}(function(t){function e(){var e=t.call(this)||this;e._animationPrefix=null,e._transitionEnd=null;try{var n=e.createElement("div",document);if(null!=e.getStyle(n,"animationName"))e._animationPrefix="";else for(var r=["Webkit","Moz","O","ms"],o=0;o<r.length;o++)if(null!=e.getStyle(n,r[o]+"AnimationName")){e._animationPrefix="-"+r[o].toLowerCase()+"-";break}var i={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};Object.keys(i).forEach(function(t){null!=e.getStyle(n,t)&&(e._transitionEnd=i[t])})}catch(a){e._animationPrefix=null,e._transitionEnd=null}return e}return o(e,t),e.prototype.getDistributedNodes=function(t){return t.getDistributedNodes()},e.prototype.resolveAndSetHref=function(t,e,n){t.href=null==n?e:e+"/../"+n},e.prototype.supportsDOMEvents=function(){return!0},e.prototype.supportsNativeShadowDOM=function(){return"function"==typeof document.body.createShadowRoot},e.prototype.getAnimationPrefix=function(){return this._animationPrefix?this._animationPrefix:""},e.prototype.getTransitionEnd=function(){return this._transitionEnd?this._transitionEnd:""},e.prototype.supportsAnimation=function(){return null!=this._animationPrefix&&null!=this._transitionEnd},e}(function(){function t(){this.resourceLoaderType=null}return Object.defineProperty(t.prototype,"attrToPropMap",{get:function(){return this._attrToPropMap},set:function(t){this._attrToPropMap=t},enumerable:!0,configurable:!0}),t}())),$c=null,Jc=Lc;function Xc(){return!!window.history.pushState}var tf=function(t){function e(e){var n=t.call(this)||this;return n._doc=e,n._init(),n}var n;return o(e,t),e.prototype._init=function(){this.location=Gc().getLocation(),this._history=Gc().getHistory()},e.prototype.getBaseHrefFromDOM=function(){return Gc().getBaseHref(this._doc)},e.prototype.onPopState=function(t){Gc().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",t,!1)},e.prototype.onHashChange=function(t){Gc().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",t,!1)},Object.defineProperty(e.prototype,"pathname",{get:function(){return this.location.pathname},set:function(t){this.location.pathname=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"search",{get:function(){return this.location.search},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hash",{get:function(){return this.location.hash},enumerable:!0,configurable:!0}),e.prototype.pushState=function(t,e,n){Xc()?this._history.pushState(t,e,n):this.location.hash=n},e.prototype.replaceState=function(t,e,n){Xc()?this._history.replaceState(t,e,n):this.location.hash=n},e.prototype.forward=function(){this._history.forward()},e.prototype.back=function(){this._history.back()},a([(n=Ft(Jc),function(t,e){n(t,e,0)}),u("design:paramtypes",[Object])],e)}(Hl),ef=new xt("TRANSITION_ID"),nf=[{provide:wo,useFactory:function(t,e,n){return function(){n.get(Co).donePromise.then(function(){var n=Gc();Array.prototype.slice.apply(n.querySelectorAll(e,"style[ng-transition]")).filter(function(e){return n.getAttribute(e,"ng-transition")===t}).forEach(function(t){return n.remove(t)})})}},deps:[ef,Jc,Yt],multi:!0}],rf=function(){function t(){}return t.init=function(){var e;e=new t,Ko=e},t.prototype.addToWindow=function(t){It.getAngularTestability=function(e,n){void 0===n&&(n=!0);var r=t.findTestabilityInTree(e,n);if(null==r)throw new Error("Could not find testability for element.");return r},It.getAllAngularTestabilities=function(){return t.getAllTestabilities()},It.getAllAngularRootElements=function(){return t.getAllRootElements()},It.frameworkStabilizers||(It.frameworkStabilizers=[]),It.frameworkStabilizers.push(function(t){var e=It.getAllAngularTestabilities(),n=e.length,r=!1,o=function(e){r=r||e,0==--n&&t(r)};e.forEach(function(t){t.whenStable(o)})})},t.prototype.findTestabilityInTree=function(t,e,n){if(null==e)return null;var r=t.getTestability(e);return null!=r?r:n?Gc().isShadowRoot(e)?this.findTestabilityInTree(t,Gc().getHost(e),!0):this.findTestabilityInTree(t,Gc().parentElement(e),!0):null},t}();function of(t,e){"undefined"!=typeof COMPILED&&COMPILED||((It.ng=It.ng||{})[t]=e)}var af={ApplicationRef:ri,NgZone:Fo};function uf(t){return mi(t)}var sf=new xt("EventManagerPlugins"),lf=function(){function t(t,e){var n=this;this._zone=e,this._eventNameToPlugin=new Map,t.forEach(function(t){return t.manager=n}),this._plugins=t.slice().reverse()}return t.prototype.addEventListener=function(t,e,n){return this._findPluginFor(e).addEventListener(t,e,n)},t.prototype.addGlobalEventListener=function(t,e,n){return this._findPluginFor(e).addGlobalEventListener(t,e,n)},t.prototype.getZone=function(){return this._zone},t.prototype._findPluginFor=function(t){var e=this._eventNameToPlugin.get(t);if(e)return e;for(var n=this._plugins,r=0;r<n.length;r++){var o=n[r];if(o.supports(t))return this._eventNameToPlugin.set(t,o),o}throw new Error("No event manager plugin found for event "+t)},t}(),cf=function(){function t(t){this._doc=t}return t.prototype.addGlobalEventListener=function(t,e,n){var r=Gc().getGlobalEventTarget(this._doc,t);if(!r)throw new Error("Unsupported event target "+r+" for event "+e);return this.addEventListener(r,e,n)},t}(),ff=function(){function t(){this._stylesSet=new Set}return t.prototype.addStyles=function(t){var e=this,n=new Set;t.forEach(function(t){e._stylesSet.has(t)||(e._stylesSet.add(t),n.add(t))}),this.onStylesAdded(n)},t.prototype.onStylesAdded=function(t){},t.prototype.getAllStyles=function(){return Array.from(this._stylesSet)},t}(),pf=function(t){function e(e){var n=t.call(this)||this;return n._doc=e,n._hostNodes=new Set,n._styleNodes=new Set,n._hostNodes.add(e.head),n}return o(e,t),e.prototype._addStylesToHost=function(t,e){var n=this;t.forEach(function(t){var r=n._doc.createElement("style");r.textContent=t,n._styleNodes.add(e.appendChild(r))})},e.prototype.addHost=function(t){this._addStylesToHost(this._stylesSet,t),this._hostNodes.add(t)},e.prototype.removeHost=function(t){this._hostNodes.delete(t)},e.prototype.onStylesAdded=function(t){var e=this;this._hostNodes.forEach(function(n){return e._addStylesToHost(t,n)})},e.prototype.ngOnDestroy=function(){this._styleNodes.forEach(function(t){return Gc().remove(t)})},e}(ff),hf={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/"},df=/%COMP%/g,vf="_nghost-%COMP%",gf="_ngcontent-%COMP%";function yf(t,e,n){for(var r=0;r<e.length;r++){var o=e[r];Array.isArray(o)?yf(t,o,n):(o=o.replace(df,t),n.push(o))}return n}function mf(t){return function(e){!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}var bf=function(){function t(t,e){this.eventManager=t,this.sharedStylesHost=e,this.rendererByCompId=new Map,this.defaultRenderer=new _f(t)}return t.prototype.createRenderer=function(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case pe.Emulated:var n=this.rendererByCompId.get(e.id);return n||(n=new Ef(this.eventManager,this.sharedStylesHost,e),this.rendererByCompId.set(e.id,n)),n.applyToHost(t),n;case pe.Native:case pe.ShadowDom:return new xf(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){var r=yf(e.id,e.styles,[]);this.sharedStylesHost.addStyles(r),this.rendererByCompId.set(e.id,this.defaultRenderer)}return this.defaultRenderer}},t.prototype.begin=function(){},t.prototype.end=function(){},t}(),_f=function(){function t(t){this.eventManager=t,this.data=Object.create(null)}return t.prototype.destroy=function(){},t.prototype.createElement=function(t,e){return e?document.createElementNS(hf[e],t):document.createElement(t)},t.prototype.createComment=function(t){return document.createComment(t)},t.prototype.createText=function(t){return document.createTextNode(t)},t.prototype.appendChild=function(t,e){t.appendChild(e)},t.prototype.insertBefore=function(t,e,n){t&&t.insertBefore(e,n)},t.prototype.removeChild=function(t,e){t&&t.removeChild(e)},t.prototype.selectRootElement=function(t,e){var n="string"==typeof t?document.querySelector(t):t;if(!n)throw new Error('The selector "'+t+'" did not match any elements');return e||(n.textContent=""),n},t.prototype.parentNode=function(t){return t.parentNode},t.prototype.nextSibling=function(t){return t.nextSibling},t.prototype.setAttribute=function(t,e,n,r){if(r){e=r+":"+e;var o=hf[r];o?t.setAttributeNS(o,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)},t.prototype.removeAttribute=function(t,e,n){if(n){var r=hf[n];r?t.removeAttributeNS(r,e):t.removeAttribute(n+":"+e)}else t.removeAttribute(e)},t.prototype.addClass=function(t,e){t.classList.add(e)},t.prototype.removeClass=function(t,e){t.classList.remove(e)},t.prototype.setStyle=function(t,e,n,r){r&hr.DashCase?t.style.setProperty(e,n,r&hr.Important?"important":""):t.style[e]=n},t.prototype.removeStyle=function(t,e,n){n&hr.DashCase?t.style.removeProperty(e):t.style[e]=""},t.prototype.setProperty=function(t,e,n){Cf(e,"property"),t[e]=n},t.prototype.setValue=function(t,e){t.nodeValue=e},t.prototype.listen=function(t,e,n){return Cf(e,"listener"),"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,mf(n)):this.eventManager.addEventListener(t,e,mf(n))},t}(),wf="@".charCodeAt(0);function Cf(t,e){if(t.charCodeAt(0)===wf)throw new Error("Found the synthetic "+e+" "+t+'. Please include either "BrowserAnimationsModule" or "NoopAnimationsModule" in your application.')}var Sf,Ef=function(t){function e(e,n,r){var o=t.call(this,e)||this;o.component=r;var i=yf(r.id,r.styles,[]);return n.addStyles(i),o.contentAttr=gf.replace(df,r.id),o.hostAttr=vf.replace(df,r.id),o}return o(e,t),e.prototype.applyToHost=function(e){t.prototype.setAttribute.call(this,e,this.hostAttr,"")},e.prototype.createElement=function(e,n){var r=t.prototype.createElement.call(this,e,n);return t.prototype.setAttribute.call(this,r,this.contentAttr,""),r},e}(_f),xf=function(t){function e(e,n,r,o){var i=t.call(this,e)||this;i.sharedStylesHost=n,i.hostEl=r,i.component=o,i.shadowRoot=o.encapsulation===pe.ShadowDom?r.attachShadow({mode:"open"}):r.createShadowRoot(),i.sharedStylesHost.addHost(i.shadowRoot);for(var a=yf(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(e,t),e.prototype.nodeOrShadowRoot=function(t){return t===this.hostEl?this.shadowRoot:t},e.prototype.destroy=function(){this.sharedStylesHost.removeHost(this.shadowRoot)},e.prototype.appendChild=function(e,n){return t.prototype.appendChild.call(this,this.nodeOrShadowRoot(e),n)},e.prototype.insertBefore=function(e,n,r){return t.prototype.insertBefore.call(this,this.nodeOrShadowRoot(e),n,r)},e.prototype.removeChild=function(e,n){return t.prototype.removeChild.call(this,this.nodeOrShadowRoot(e),n)},e.prototype.parentNode=function(e){return this.nodeOrShadowRoot(t.prototype.parentNode.call(this,this.nodeOrShadowRoot(e)))},e}(_f),Tf="undefined"!=typeof Zone&&Zone.__symbol__||function(t){return"__zone_symbol__"+t},kf=Tf("addEventListener"),Af=Tf("removeEventListener"),Of={},Pf="__zone_symbol__propagationStopped";"undefined"!=typeof Zone&&Zone[Tf("BLACK_LISTED_EVENTS")]&&(Sf={});var If=function(t){return!!Sf&&Sf.hasOwnProperty(t)},Rf=function(t){var e=Of[t.type];if(e){var n=this[e];if(n){var r=[t];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!==t[Pf];i++){var a;(a=o[i]).zone!==Zone.current?a.zone.run(a.handler,this,r):a.handler.apply(this,r)}}}},Nf=function(t){function e(e,n,r){var o=t.call(this,e)||this;return o.ngZone=n,r&&function(t){return t===Fc}(r)||o.patchEvent(),o}return o(e,t),e.prototype.patchEvent=function(){if("undefined"!=typeof Event&&Event&&Event.prototype&&!Event.prototype.__zone_symbol__stopImmediatePropagation){var t=Event.prototype.__zone_symbol__stopImmediatePropagation=Event.prototype.stopImmediatePropagation;Event.prototype.stopImmediatePropagation=function(){this&&(this[Pf]=!0),t&&t.apply(this,arguments)}}},e.prototype.supports=function(t){return!0},e.prototype.addEventListener=function(t,e,n){var r=this,o=n;if(!t[kf]||Fo.isInAngularZone()&&!If(e))t.addEventListener(e,o,!1);else{var i=Of[e];i||(i=Of[e]=Tf("ANGULAR"+e+"FALSE"));var a=t[i],u=a&&a.length>0;a||(a=t[i]=[]);var s=If(e)?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||t[kf](e,Rf,!1)}return function(){return r.removeEventListener(t,e,o)}},e.prototype.removeEventListener=function(t,e,n){var r=t[Af];if(!r)return t.removeEventListener.apply(t,[e,n,!1]);var o=Of[e],i=o&&t[o];if(!i)return t.removeEventListener.apply(t,[e,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(t,[e,Rf,!1]):t.removeEventListener.apply(t,[e,n,!1])},e}(cf),Df={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},Vf=new xt("HammerGestureConfig"),Mf=new xt("HammerLoader"),jf=function(){function t(){this.events=[],this.overrides={}}return t.prototype.buildHammer=function(t){var e=new Hammer(t,this.options);for(var n in e.get("pinch").set({enable:!0}),e.get("rotate").set({enable:!0}),this.overrides)e.get(n).set(this.overrides[n]);return e},t}(),Uf=function(t){function e(e,n,r,o){var i=t.call(this,e)||this;return i._config=n,i.console=r,i.loader=o,i}return o(e,t),e.prototype.supports=function(t){return!(!Df.hasOwnProperty(t.toLowerCase())&&!this.isCustomEvent(t)||!window.Hammer&&!this.loader&&(this.console.warn('The "'+t+'" event cannot be bound because Hammer.JS is not loaded and no custom loader has been specified.'),1))},e.prototype.addEventListener=function(t,e,n){var r=this,o=this.manager.getZone();if(e=e.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(t,e,n))}).catch(function(){r.console.warn('The "'+e+'" event cannot be bound because the custom Hammer.JS loader failed.'),a=function(){}}),function(){a()}}return o.runOutsideAngular(function(){var i=r._config.buildHammer(t),a=function(t){o.runGuarded(function(){n(t)})};return i.on(e,a),function(){i.off(e,a),"function"==typeof i.destroy&&i.destroy()}})},e.prototype.isCustomEvent=function(t){return this._config.events.indexOf(t)>-1},e}(cf),Lf=["alt","control","meta","shift"],Ff={alt:function(t){return t.altKey},control:function(t){return t.ctrlKey},meta:function(t){return t.metaKey},shift:function(t){return t.shiftKey}},Hf=function(t){function e(e){return t.call(this,e)||this}var n;return o(e,t),n=e,e.prototype.supports=function(t){return null!=n.parseEventName(t)},e.prototype.addEventListener=function(t,e,r){var o=n.parseEventName(e),i=n.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(function(){return Gc().onAndCancel(t,o.domEventName,i)})},e.parseEventName=function(t){var e=t.toLowerCase().split("."),r=e.shift();if(0===e.length||"keydown"!==r&&"keyup"!==r)return null;var o=n._normalizeKey(e.pop()),i="";if(Lf.forEach(function(t){var n=e.indexOf(t);n>-1&&(e.splice(n,1),i+=t+".")}),i+=o,0!=e.length||0===o.length)return null;var a={};return a.domEventName=r,a.fullKey=i,a},e.getEventFullKey=function(t){var e="",n=Gc().getEventKey(t);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),Lf.forEach(function(r){r!=n&&(0,Ff[r])(t)&&(e+=r+".")}),e+=n},e.eventCallback=function(t,e,r){return function(o){n.getEventFullKey(o)===t&&r.runGuarded(function(){return e(o)})}},e._normalizeKey=function(t){switch(t){case"esc":return"escape";default:return t}},e}(cf),zf=function(){return function(){}}(),Bf=function(t){function e(e){var n=t.call(this)||this;return n._doc=e,n}return o(e,t),e.prototype.sanitize=function(t,e){if(null==e)return null;switch(t){case ao.NONE:return e;case ao.HTML:return e instanceof Zf?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"HTML"),function(t,e){var n=null;try{qr=qr||new Fr(t);var r=e?String(e):"";n=qr.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=qr.getInertBodyElement(r)}while(r!==i);var a=new eo,u=a.sanitizeChildren(io(n)||n);return Lr()&&a.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content (see http://g.co/ng/security#xss)."),u}finally{if(n)for(var s=io(n)||n;s.firstChild;)s.removeChild(s.firstChild)}}(this._doc,String(e)));case ao.STYLE:return e instanceof qf?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"Style"),function(t){if(!(t=String(t).trim()))return"";var e=t.match(lo);return e&&Br(e[1])===e[1]||t.match(so)&&function(t){for(var e=!0,n=!0,r=0;r<t.length;r++){var o=t.charAt(r);"'"===o&&n?e=!e:'"'===o&&e&&(n=!n)}return e&&n}(t)?t:(Lr()&&console.warn("WARNING: sanitizing unsafe style value "+t+" (see http://g.co/ng/security#xss)."),"unsafe")}(e));case ao.SCRIPT:if(e instanceof Wf)return e.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(e,"Script"),new Error("unsafe value used in a script context");case ao.URL:return e instanceof Yf||e instanceof Qf?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"URL"),Br(String(e)));case ao.RESOURCE_URL:if(e instanceof Yf)return e.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(e,"ResourceURL"),new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext "+t+" (see http://g.co/ng/security#xss)")}},e.prototype.checkNotSafeValue=function(t,e){if(t instanceof Gf)throw new Error("Required a safe "+e+", got a "+t.getTypeName()+" (see http://g.co/ng/security#xss)")},e.prototype.bypassSecurityTrustHtml=function(t){return new Zf(t)},e.prototype.bypassSecurityTrustStyle=function(t){return new qf(t)},e.prototype.bypassSecurityTrustScript=function(t){return new Wf(t)},e.prototype.bypassSecurityTrustUrl=function(t){return new Qf(t)},e.prototype.bypassSecurityTrustResourceUrl=function(t){return new Yf(t)},e}(zf),Gf=function(){function t(t){this.changingThisBreaksApplicationSecurity=t}return t.prototype.toString=function(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"},t}(),Zf=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getTypeName=function(){return"HTML"},e}(Gf),qf=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getTypeName=function(){return"Style"},e}(Gf),Wf=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getTypeName=function(){return"Script"},e}(Gf),Qf=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getTypeName=function(){return"URL"},e}(Gf),Yf=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getTypeName=function(){return"ResourceURL"},e}(Gf),Kf=Xo(Vi,"browser",[{provide:ko,useValue:"browser"},{provide:To,useValue:function(){Kc.makeCurrent(),rf.init()},multi:!0},{provide:Hl,useClass:tf,deps:[Jc]},{provide:Jc,useFactory:function(){return document},deps:[]}]);function $f(){return new mo}var Jf=function(){function t(t){if(t)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.")}var e;return e=t,t.withServerTransition=function(t){return{ngModule:e,providers:[{provide:So,useValue:t.appId},{provide:ef,useExisting:So},nf]}},t}();"undefined"!=typeof window&&window;var Xf=function(){return function(t,e){this.id=t,this.url=e}}(),tp=function(t){function e(e,n,r,o){void 0===r&&(r="imperative"),void 0===o&&(o=null);var i=t.call(this,e,n)||this;return i.navigationTrigger=r,i.restoredState=o,i}return o(e,t),e.prototype.toString=function(){return"NavigationStart(id: "+this.id+", url: '"+this.url+"')"},e}(Xf),ep=function(t){function e(e,n,r){var o=t.call(this,e,n)||this;return o.urlAfterRedirects=r,o}return o(e,t),e.prototype.toString=function(){return"NavigationEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"')"},e}(Xf),np=function(t){function e(e,n,r){var o=t.call(this,e,n)||this;return o.reason=r,o}return o(e,t),e.prototype.toString=function(){return"NavigationCancel(id: "+this.id+", url: '"+this.url+"')"},e}(Xf),rp=function(t){function e(e,n,r){var o=t.call(this,e,n)||this;return o.error=r,o}return o(e,t),e.prototype.toString=function(){return"NavigationError(id: "+this.id+", url: '"+this.url+"', error: "+this.error+")"},e}(Xf),op=function(t){function e(e,n,r,o){var i=t.call(this,e,n)||this;return i.urlAfterRedirects=r,i.state=o,i}return o(e,t),e.prototype.toString=function(){return"RoutesRecognized(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(Xf),ip=function(t){function e(e,n,r,o){var i=t.call(this,e,n)||this;return i.urlAfterRedirects=r,i.state=o,i}return o(e,t),e.prototype.toString=function(){return"GuardsCheckStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(Xf),ap=function(t){function e(e,n,r,o,i){var a=t.call(this,e,n)||this;return a.urlAfterRedirects=r,a.state=o,a.shouldActivate=i,a}return o(e,t),e.prototype.toString=function(){return"GuardsCheckEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+", shouldActivate: "+this.shouldActivate+")"},e}(Xf),up=function(t){function e(e,n,r,o){var i=t.call(this,e,n)||this;return i.urlAfterRedirects=r,i.state=o,i}return o(e,t),e.prototype.toString=function(){return"ResolveStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(Xf),sp=function(t){function e(e,n,r,o){var i=t.call(this,e,n)||this;return i.urlAfterRedirects=r,i.state=o,i}return o(e,t),e.prototype.toString=function(){return"ResolveEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(Xf),lp=function(){function t(t){this.route=t}return t.prototype.toString=function(){return"RouteConfigLoadStart(path: "+this.route.path+")"},t}(),cp=function(){function t(t){this.route=t}return t.prototype.toString=function(){return"RouteConfigLoadEnd(path: "+this.route.path+")"},t}(),fp=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ChildActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),pp=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ChildActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),hp=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),dp=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),vp=function(){function t(t,e,n){this.routerEvent=t,this.position=e,this.anchor=n}return t.prototype.toString=function(){return"Scroll(anchor: '"+this.anchor+"', position: '"+(this.position?this.position[0]+", "+this.position[1]:null)+"')"},t}(),gp=function(){return function(){}}(),yp="primary",mp=function(){function t(t){this.params=t||{}}return t.prototype.has=function(t){return this.params.hasOwnProperty(t)},t.prototype.get=function(t){if(this.has(t)){var e=this.params[t];return Array.isArray(e)?e[0]:e}return null},t.prototype.getAll=function(t){if(this.has(t)){var e=this.params[t];return Array.isArray(e)?e:[e]}return[]},Object.defineProperty(t.prototype,"keys",{get:function(){return Object.keys(this.params)},enumerable:!0,configurable:!0}),t}();function bp(t){return new mp(t)}function _p(t,e,n){var r=n.path.split("/");if(r.length>t.length)return null;if("full"===n.pathMatch&&(e.hasChildren()||r.length<t.length))return null;for(var o={},i=0;i<r.length;i++){var a=r[i],u=t[i];if(a.startsWith(":"))o[a.substring(1)]=u;else if(a!==u.path)return null}return{consumed:t.slice(0,r.length),posParams:o}}var wp=function(){return function(t,e){this.routes=t,this.module=e}}();function Cp(t,e){void 0===e&&(e="");for(var n=0;n<t.length;n++){var r=t[n];Sp(r,Ep(e,r))}}function Sp(t,e){if(!t)throw new Error("\n Invalid configuration of route '"+e+"': Encountered undefined route.\n The reason might be an extra comma.\n\n Example:\n const routes: Routes = [\n { path: '', redirectTo: '/dashboard', pathMatch: 'full' },\n { path: 'dashboard', component: DashboardComponent },, << two commas\n { path: 'detail/:id', component: HeroDetailComponent }\n ];\n ");if(Array.isArray(t))throw new Error("Invalid configuration of route '"+e+"': Array cannot be specified");if(!t.component&&!t.children&&!t.loadChildren&&t.outlet&&t.outlet!==yp)throw new Error("Invalid configuration of route '"+e+"': a componentless route without children or loadChildren cannot have a named outlet set");if(t.redirectTo&&t.children)throw new Error("Invalid configuration of route '"+e+"': redirectTo and children cannot be used together");if(t.redirectTo&&t.loadChildren)throw new Error("Invalid configuration of route '"+e+"': redirectTo and loadChildren cannot be used together");if(t.children&&t.loadChildren)throw new Error("Invalid configuration of route '"+e+"': children and loadChildren cannot be used together");if(t.redirectTo&&t.component)throw new Error("Invalid configuration of route '"+e+"': redirectTo and component cannot be used together");if(t.path&&t.matcher)throw new Error("Invalid configuration of route '"+e+"': path and matcher cannot be used together");if(void 0===t.redirectTo&&!t.component&&!t.children&&!t.loadChildren)throw new Error("Invalid configuration of route '"+e+"'. One of the following must be provided: component, redirectTo, children or loadChildren");if(void 0===t.path&&void 0===t.matcher)throw new Error("Invalid configuration of route '"+e+"': routes must have either a path or a matcher specified");if("string"==typeof t.path&&"/"===t.path.charAt(0))throw new Error("Invalid configuration of route '"+e+"': path cannot start with a slash");if(""===t.path&&void 0!==t.redirectTo&&void 0===t.pathMatch)throw new Error("Invalid configuration of route '{path: \""+e+'", redirectTo: "'+t.redirectTo+"\"}': please provide 'pathMatch'. The default value of 'pathMatch' is 'prefix', but often the intent is to use 'full'.");if(void 0!==t.pathMatch&&"full"!==t.pathMatch&&"prefix"!==t.pathMatch)throw new Error("Invalid configuration of route '"+e+"': pathMatch can only be set to 'prefix' or 'full'");t.children&&Cp(t.children,e)}function Ep(t,e){return e?t||e.path?t&&!e.path?t+"/":!t&&e.path?e.path:t+"/"+e.path:"":t}function xp(t){var e=t.children&&t.children.map(xp),n=e?i({},t,{children:e}):i({},t);return!n.component&&(e||n.loadChildren)&&n.outlet&&n.outlet!==yp&&(n.component=gp),n}function Tp(t,e){var n,r=Object.keys(t),o=Object.keys(e);if(r.length!=o.length)return!1;for(var i=0;i<r.length;i++)if(t[n=r[i]]!==e[n])return!1;return!0}function kp(t){return Array.prototype.concat.apply([],t)}function Ap(t){return t.length>0?t[t.length-1]:null}function Op(t,e){for(var n in t)t.hasOwnProperty(n)&&e(t[n],n)}function Pp(t){return t.pipe(lt(),Sl(function(t){return!0===t}))}function Ip(t){return _o(t)?t:bo(t)?ot(Promise.resolve(t)):el(t)}function Rp(t,e,n){return n?function(t,e){return Tp(t,e)}(t.queryParams,e.queryParams)&&function t(e,n){if(!Mp(e.segments,n.segments))return!1;if(e.numberOfChildren!==n.numberOfChildren)return!1;for(var r in n.children){if(!e.children[r])return!1;if(!t(e.children[r],n.children[r]))return!1}return!0}(t.root,e.root):function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(function(n){return e[n]===t[n]})}(t.queryParams,e.queryParams)&&function t(e,n){return function e(n,r,o){if(n.segments.length>o.length)return!!Mp(a=n.segments.slice(0,o.length),o)&&!r.hasChildren();if(n.segments.length===o.length){if(!Mp(n.segments,o))return!1;for(var i in r.children){if(!n.children[i])return!1;if(!t(n.children[i],r.children[i]))return!1}return!0}var a=o.slice(0,n.segments.length),u=o.slice(n.segments.length);return!!Mp(n.segments,a)&&!!n.children[yp]&&e(n.children[yp],r,u)}(e,n,n.segments)}(t.root,e.root)}var Np=function(){function t(t,e,n){this.root=t,this.queryParams=e,this.fragment=n}return Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=bp(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return Fp.serialize(this)},t}(),Dp=function(){function t(t,e){var n=this;this.segments=t,this.children=e,this.parent=null,Op(e,function(t,e){return t.parent=n})}return t.prototype.hasChildren=function(){return this.numberOfChildren>0},Object.defineProperty(t.prototype,"numberOfChildren",{get:function(){return Object.keys(this.children).length},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return Hp(this)},t}(),Vp=function(){function t(t,e){this.path=t,this.parameters=e}return Object.defineProperty(t.prototype,"parameterMap",{get:function(){return this._parameterMap||(this._parameterMap=bp(this.parameters)),this._parameterMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return Wp(this)},t}();function Mp(t,e){return t.length===e.length&&t.every(function(t,n){return t.path===e[n].path})}function jp(t,e){var n=[];return Op(t.children,function(t,r){r===yp&&(n=n.concat(e(t,r)))}),Op(t.children,function(t,r){r!==yp&&(n=n.concat(e(t,r)))}),n}var Up=function(){return function(){}}(),Lp=function(){function t(){}return t.prototype.parse=function(t){var e=new Jp(t);return new Np(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())},t.prototype.serialize=function(t){var e,n;return"/"+function t(e,n){if(!e.hasChildren())return Hp(e);if(n){var r=e.children[yp]?t(e.children[yp],!1):"",o=[];return Op(e.children,function(e,n){n!==yp&&o.push(n+":"+t(e,!1))}),o.length>0?r+"("+o.join("//")+")":r}var i=jp(e,function(n,r){return r===yp?[t(e.children[yp],!1)]:[r+":"+t(n,!1)]});return Hp(e)+"/("+i.join("//")+")"}(t.root,!0)+(e=t.queryParams,(n=Object.keys(e).map(function(t){var n=e[t];return Array.isArray(n)?n.map(function(e){return Bp(t)+"="+Bp(e)}).join("&"):Bp(t)+"="+Bp(n)})).length?"?"+n.join("&"):"")+("string"==typeof t.fragment?"#"+encodeURI(t.fragment):"")},t}(),Fp=new Lp;function Hp(t){return t.segments.map(function(t){return Wp(t)}).join("/")}function zp(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Bp(t){return zp(t).replace(/%3B/gi,";")}function Gp(t){return zp(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Zp(t){return decodeURIComponent(t)}function qp(t){return Zp(t.replace(/\+/g,"%20"))}function Wp(t){return""+Gp(t.path)+(e=t.parameters,Object.keys(e).map(function(t){return";"+Gp(t)+"="+Gp(e[t])}).join(""));var e}var Qp=/^[^\/()?;=#]+/;function Yp(t){var e=t.match(Qp);return e?e[0]:""}var Kp=/^[^=?&#]+/,$p=/^[^?&#]+/,Jp=function(){function t(t){this.url=t,this.remaining=t}return t.prototype.parseRootSegment=function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Dp([],{}):new Dp([],this.parseChildren())},t.prototype.parseQueryParams=function(){var t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t},t.prototype.parseFragment=function(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null},t.prototype.parseChildren=function(){if(""===this.remaining)return{};this.consumeOptional("/");var t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());var e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));var n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(n[yp]=new Dp(t,e)),n},t.prototype.parseSegment=function(){var t=Yp(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '"+this.remaining+"'.");return this.capture(t),new Vp(Zp(t),this.parseMatrixParams())},t.prototype.parseMatrixParams=function(){for(var t={};this.consumeOptional(";");)this.parseParam(t);return t},t.prototype.parseParam=function(t){var e=Yp(this.remaining);if(e){this.capture(e);var n="";if(this.consumeOptional("=")){var r=Yp(this.remaining);r&&this.capture(n=r)}t[Zp(e)]=Zp(n)}},t.prototype.parseQueryParam=function(t){var e,n=(e=this.remaining.match(Kp))?e[0]:"";if(n){this.capture(n);var r="";if(this.consumeOptional("=")){var o=function(t){var e=t.match($p);return e?e[0]:""}(this.remaining);o&&this.capture(r=o)}var i=qp(n),a=qp(r);if(t.hasOwnProperty(i)){var u=t[i];Array.isArray(u)||(t[i]=u=[u]),u.push(a)}else t[i]=a}},t.prototype.parseParens=function(t){var e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var n=Yp(this.remaining),r=this.remaining[n.length];if("/"!==r&&")"!==r&&";"!==r)throw new Error("Cannot parse url '"+this.url+"'");var o=void 0;n.indexOf(":")>-1?(o=n.substr(0,n.indexOf(":")),this.capture(o),this.capture(":")):t&&(o=yp);var i=this.parseChildren();e[o]=1===Object.keys(i).length?i[yp]:new Dp([],i),this.consumeOptional("//")}return e},t.prototype.peekStartsWith=function(t){return this.remaining.startsWith(t)},t.prototype.consumeOptional=function(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)},t.prototype.capture=function(t){if(!this.consumeOptional(t))throw new Error('Expected "'+t+'".')},t}(),Xp=function(){function t(t){this._root=t}return Object.defineProperty(t.prototype,"root",{get:function(){return this._root.value},enumerable:!0,configurable:!0}),t.prototype.parent=function(t){var e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null},t.prototype.children=function(t){var e=th(t,this._root);return e?e.children.map(function(t){return t.value}):[]},t.prototype.firstChild=function(t){var e=th(t,this._root);return e&&e.children.length>0?e.children[0].value:null},t.prototype.siblings=function(t){var e=eh(t,this._root);return e.length<2?[]:e[e.length-2].children.map(function(t){return t.value}).filter(function(e){return e!==t})},t.prototype.pathFromRoot=function(t){return eh(t,this._root).map(function(t){return t.value})},t}();function th(t,e){var n,r;if(t===e.value)return e;try{for(var o=s(e.children),i=o.next();!i.done;i=o.next()){var a=th(t,i.value);if(a)return a}}catch(u){n={error:u}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return null}function eh(t,e){var n,r;if(t===e.value)return[e];try{for(var o=s(e.children),i=o.next();!i.done;i=o.next()){var a=eh(t,i.value);if(a.length)return a.unshift(e),a}}catch(u){n={error:u}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return[]}var nh=function(){function t(t,e){this.value=t,this.children=e}return t.prototype.toString=function(){return"TreeNode("+this.value+")"},t}();function rh(t){var e={};return t&&t.children.forEach(function(t){return e[t.value.outlet]=t}),e}var oh=function(t){function e(e,n){var r=t.call(this,e)||this;return r.snapshot=n,ch(r,e),r}return o(e,t),e.prototype.toString=function(){return this.snapshot.toString()},e}(Xp);function ih(t,e){var n=function(t,e){var n=new sh([],{},{},"",{},yp,e,null,t.root,-1,{});return new lh("",new nh(n,[]))}(t,e),r=new nl([new Vp("",{})]),o=new nl({}),i=new nl({}),a=new nl({}),u=new nl(""),s=new ah(r,o,a,u,i,yp,e,n.root);return s.snapshot=n.root,new oh(new nh(s,[]),n)}var ah=function(){function t(t,e,n,r,o,i,a,u){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=o,this.outlet=i,this.component=a,this._futureSnapshot=u}return Object.defineProperty(t.prototype,"routeConfig",{get:function(){return this._futureSnapshot.routeConfig},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=this.params.pipe(tt(function(t){return bp(t)}))),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(tt(function(t){return bp(t)}))),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return this.snapshot?this.snapshot.toString():"Future("+this._futureSnapshot+")"},t}();function uh(t,e){void 0===e&&(e="emptyOnly");var n=t.pathFromRoot,r=0;if("always"!==e)for(r=n.length-1;r>=1;){var o=n[r],a=n[r-1];if(o.routeConfig&&""===o.routeConfig.path)r--;else{if(a.component)break;r--}}return function(t){return t.reduce(function(t,e){return{params:i({},t.params,e.params),data:i({},t.data,e.data),resolve:i({},t.resolve,e._resolvedData)}},{params:{},data:{},resolve:{}})}(n.slice(r))}var sh=function(){function t(t,e,n,r,o,i,a,u,s,l,c){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=o,this.outlet=i,this.component=a,this.routeConfig=u,this._urlSegment=s,this._lastPathIndex=l,this._resolve=c}return Object.defineProperty(t.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=bp(this.params)),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=bp(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return"Route(url:'"+this.url.map(function(t){return t.toString()}).join("/")+"', path:'"+(this.routeConfig?this.routeConfig.path:"")+"')"},t}(),lh=function(t){function e(e,n){var r=t.call(this,n)||this;return r.url=e,ch(r,n),r}return o(e,t),e.prototype.toString=function(){return fh(this._root)},e}(Xp);function ch(t,e){e.value._routerState=t,e.children.forEach(function(e){return ch(t,e)})}function fh(t){var e=t.children.length>0?" { "+t.children.map(fh).join(", ")+" } ":"";return""+t.value+e}function ph(t){if(t.snapshot){var e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,Tp(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),Tp(e.params,n.params)||t.params.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(var n=0;n<t.length;++n)if(!Tp(t[n],e[n]))return!1;return!0}(e.url,n.url)||t.url.next(n.url),Tp(e.data,n.data)||t.data.next(n.data)}else t.snapshot=t._futureSnapshot,t.data.next(t._futureSnapshot.data)}function hh(t,e){var n,r;return Tp(t.params,e.params)&&Mp(n=t.url,r=e.url)&&n.every(function(t,e){return Tp(t.parameters,r[e].parameters)})&&!(!t.parent!=!e.parent)&&(!t.parent||hh(t.parent,e.parent))}function dh(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function vh(t,e,n,r,o){var i={};return r&&Op(r,function(t,e){i[e]=Array.isArray(t)?t.map(function(t){return""+t}):""+t}),new Np(n.root===t?e:function t(e,n,r){var o={};return Op(e.children,function(e,i){o[i]=e===n?r:t(e,n,r)}),new Dp(e.segments,o)}(n.root,t,e),i,o)}var gh=function(){function t(t,e,n){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=n,t&&n.length>0&&dh(n[0]))throw new Error("Root segment cannot have matrix parameters");var r=n.find(function(t){return"object"==typeof t&&null!=t&&t.outlets});if(r&&r!==Ap(n))throw new Error("{outlets:{}} has to be the last command")}return t.prototype.toRoot=function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]},t}(),yh=function(){return function(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n}}();function mh(t){return"object"==typeof t&&null!=t&&t.outlets?t.outlets[yp]:""+t}function bh(t,e,n){if(t||(t=new Dp([],{})),0===t.segments.length&&t.hasChildren())return _h(t,e,n);var r=function(t,e,n){for(var r=0,o=e,i={match:!1,pathIndex:0,commandIndex:0};o<t.segments.length;){if(r>=n.length)return i;var a=t.segments[o],u=mh(n[r]),s=r<n.length-1?n[r+1]:null;if(o>0&&void 0===u)break;if(u&&s&&"object"==typeof s&&void 0===s.outlets){if(!Eh(u,s,a))return i;r+=2}else{if(!Eh(u,{},a))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}(t,e,n),o=n.slice(r.commandIndex);if(r.match&&r.pathIndex<t.segments.length){var i=new Dp(t.segments.slice(0,r.pathIndex),{});return i.children[yp]=new Dp(t.segments.slice(r.pathIndex),t.children),_h(i,0,o)}return r.match&&0===o.length?new Dp(t.segments,{}):r.match&&!t.hasChildren()?wh(t,e,n):r.match?_h(t,0,o):wh(t,e,n)}function _h(t,e,n){if(0===n.length)return new Dp(t.segments,{});var r=function(t){var e,n;return"object"!=typeof t[0]?((e={})[yp]=t,e):void 0===t[0].outlets?((n={})[yp]=t,n):t[0].outlets}(n),o={};return Op(r,function(n,r){null!==n&&(o[r]=bh(t.children[r],e,n))}),Op(t.children,function(t,e){void 0===r[e]&&(o[e]=t)}),new Dp(t.segments,o)}function wh(t,e,n){for(var r=t.segments.slice(0,e),o=0;o<n.length;){if("object"==typeof n[o]&&void 0!==n[o].outlets){var i=Ch(n[o].outlets);return new Dp(r,i)}if(0===o&&dh(n[0]))r.push(new Vp(t.segments[e].path,n[0])),o++;else{var a=mh(n[o]),u=o<n.length-1?n[o+1]:null;a&&u&&dh(u)?(r.push(new Vp(a,Sh(u))),o+=2):(r.push(new Vp(a,{})),o++)}}return new Dp(r,{})}function Ch(t){var e={};return Op(t,function(t,n){null!==t&&(e[n]=wh(new Dp([],{}),0,t))}),e}function Sh(t){var e={};return Op(t,function(t,n){return e[n]=""+t}),e}function Eh(t,e,n){return t==n.path&&Tp(e,n.parameters)}var xh=function(){function t(t,e,n,r){this.routeReuseStrategy=t,this.futureState=e,this.currState=n,this.forwardEvent=r}return t.prototype.activate=function(t){var e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,t),ph(this.futureState.root),this.activateChildRoutes(e,n,t)},t.prototype.deactivateChildRoutes=function(t,e,n){var r=this,o=rh(e);t.children.forEach(function(t){var e=t.value.outlet;r.deactivateRoutes(t,o[e],n),delete o[e]}),Op(o,function(t,e){r.deactivateRouteAndItsChildren(t,n)})},t.prototype.deactivateRoutes=function(t,e,n){var r=t.value,o=e?e.value:null;if(r===o)if(r.component){var i=n.getContext(r.outlet);i&&this.deactivateChildRoutes(t,e,i.children)}else this.deactivateChildRoutes(t,e,n);else o&&this.deactivateRouteAndItsChildren(e,n)},t.prototype.deactivateRouteAndItsChildren=function(t,e){this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)},t.prototype.detachAndStoreRouteSubtree=function(t,e){var n=e.getContext(t.value.outlet);if(n&&n.outlet){var r=n.outlet.detach(),o=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:r,route:t,contexts:o})}},t.prototype.deactivateRouteAndOutlet=function(t,e){var n=this,r=e.getContext(t.value.outlet);if(r){var o=rh(t),i=t.value.component?r.children:e;Op(o,function(t,e){return n.deactivateRouteAndItsChildren(t,i)}),r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated())}},t.prototype.activateChildRoutes=function(t,e,n){var r=this,o=rh(e);t.children.forEach(function(t){r.activateRoutes(t,o[t.value.outlet],n),r.forwardEvent(new dp(t.value.snapshot))}),t.children.length&&this.forwardEvent(new pp(t.value.snapshot))},t.prototype.activateRoutes=function(t,e,n){var r=t.value,o=e?e.value:null;if(ph(r),r===o)if(r.component){var i=n.getOrCreateContext(r.outlet);this.activateChildRoutes(t,e,i.children)}else this.activateChildRoutes(t,e,n);else if(r.component)if(i=n.getOrCreateContext(r.outlet),this.routeReuseStrategy.shouldAttach(r.snapshot)){var a=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),i.children.onOutletReAttached(a.contexts),i.attachRef=a.componentRef,i.route=a.route.value,i.outlet&&i.outlet.attach(a.componentRef,a.route.value),Th(a.route)}else{var u=function(t){for(var e=r.snapshot.parent;e;e=e.parent){var n=e.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig;if(n&&n.component)return null}return null}(),s=u?u.module.componentFactoryResolver:null;i.attachRef=null,i.route=r,i.resolver=s,i.outlet&&i.outlet.activateWith(r,s),this.activateChildRoutes(t,null,i.children)}else this.activateChildRoutes(t,null,n)},t}();function Th(t){ph(t.value),t.children.forEach(Th)}var kh=function(){return function(t){this.segmentGroup=t||null}}(),Ah=function(){return function(t){this.urlTree=t}}();function Oh(t){return new N(function(e){return e.error(new kh(t))})}function Ph(t){return new N(function(e){return e.error(new Ah(t))})}function Ih(t){return new N(function(e){return e.error(new Error("Only absolute redirects can have named outlets. redirectTo: '"+t+"'"))})}var Rh=function(){function t(t,e,n,r,o){this.configLoader=e,this.urlSerializer=n,this.urlTree=r,this.config=o,this.allowRedirects=!0,this.ngModule=t.get(er)}return t.prototype.apply=function(){var t=this;return this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,yp).pipe(tt(function(e){return t.createUrlTree(e,t.urlTree.queryParams,t.urlTree.fragment)})).pipe(Tl(function(e){if(e instanceof Ah)return t.allowRedirects=!1,t.match(e.urlTree);if(e instanceof kh)throw t.noMatchError(e);throw e}))},t.prototype.match=function(t){var e=this;return this.expandSegmentGroup(this.ngModule,this.config,t.root,yp).pipe(tt(function(n){return e.createUrlTree(n,t.queryParams,t.fragment)})).pipe(Tl(function(t){if(t instanceof kh)throw e.noMatchError(t);throw t}))},t.prototype.noMatchError=function(t){return new Error("Cannot match any routes. URL Segment: '"+t.segmentGroup+"'")},t.prototype.createUrlTree=function(t,e,n){var r,o=t.segments.length>0?new Dp([],((r={})[yp]=t,r)):t;return new Np(o,e,n)},t.prototype.expandSegmentGroup=function(t,e,n,r){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(t,e,n).pipe(tt(function(t){return new Dp([],t)})):this.expandSegment(t,n,e,n.segments,r,!0)},t.prototype.expandChildren=function(t,e,n){var r=this;return function(n,o){if(0===Object.keys(n).length)return el({});var i=[],a=[],u={};return Op(n,function(n,o){var s,l,c=(s=o,l=n,r.expandSegmentGroup(t,e,l,s)).pipe(tt(function(t){return u[o]=t}));o===yp?i.push(c):a.push(c)}),el.apply(null,i.concat(a)).pipe(il(),Cl(),tt(function(){return u}))}(n.children)},t.prototype.expandSegment=function(t,e,n,r,o,i){var a=this;return el.apply(void 0,c(n)).pipe(tt(function(u){return a.expandSegmentAgainstRoute(t,e,n,u,r,o,i).pipe(Tl(function(t){if(t instanceof kh)return el(null);throw t}))}),il(),Il(function(t){return!!t}),Tl(function(t,n){if(t instanceof ol||"EmptyError"===t.name){if(a.noLeftoversInUrl(e,r,o))return el(new Dp([],{}));throw new kh(e)}throw t}))},t.prototype.noLeftoversInUrl=function(t,e,n){return 0===e.length&&!t.children[n]},t.prototype.expandSegmentAgainstRoute=function(t,e,n,r,o,i,a){return Mh(r)!==i?Oh(e):void 0===r.redirectTo?this.matchSegmentAgainstRoute(t,e,r,o):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,r,o,i):Oh(e)},t.prototype.expandSegmentAgainstRouteUsingRedirect=function(t,e,n,r,o,i){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,r,i):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,r,o,i)},t.prototype.expandWildCardWithParamsAgainstRouteUsingRedirect=function(t,e,n,r){var o=this,i=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?Ph(i):this.lineralizeSegments(n,i).pipe(it(function(n){var i=new Dp(n,{});return o.expandSegment(t,i,e,n,r,!1)}))},t.prototype.expandRegularSegmentAgainstRouteUsingRedirect=function(t,e,n,r,o,i){var a=this,u=Nh(e,r,o),s=u.consumedSegments,l=u.lastChild,c=u.positionalParamSegments;if(!u.matched)return Oh(e);var f=this.applyRedirectCommands(s,r.redirectTo,c);return r.redirectTo.startsWith("/")?Ph(f):this.lineralizeSegments(r,f).pipe(it(function(r){return a.expandSegment(t,e,n,r.concat(o.slice(l)),i,!1)}))},t.prototype.matchSegmentAgainstRoute=function(t,e,n,r){var o=this;if("**"===n.path)return n.loadChildren?this.configLoader.load(t.injector,n).pipe(tt(function(t){return n._loadedConfig=t,new Dp(r,{})})):el(new Dp(r,{}));var a=Nh(e,n,r),u=a.consumedSegments,l=a.lastChild;if(!a.matched)return Oh(e);var c=r.slice(l);return this.getChildConfig(t,n,r).pipe(it(function(t){var n=t.module,r=t.routes,a=function(t,e,n,r){return n.length>0&&function(t,e,n){return r.some(function(n){return Vh(t,e,n)&&Mh(n)!==yp})}(t,n)?{segmentGroup:Dh(new Dp(e,function(t,e){var n,r,o={};o[yp]=e;try{for(var i=s(t),a=i.next();!a.done;a=i.next()){var u=a.value;""===u.path&&Mh(u)!==yp&&(o[Mh(u)]=new Dp([],{}))}}catch(l){n={error:l}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return o}(r,new Dp(n,t.children)))),slicedSegments:[]}:0===n.length&&function(t,e,n){return r.some(function(n){return Vh(t,e,n)})}(t,n)?{segmentGroup:Dh(new Dp(t.segments,function(t,e,n,r){var o,a,u={};try{for(var l=s(n),c=l.next();!c.done;c=l.next()){var f=c.value;Vh(t,e,f)&&!r[Mh(f)]&&(u[Mh(f)]=new Dp([],{}))}}catch(p){o={error:p}}finally{try{c&&!c.done&&(a=l.return)&&a.call(l)}finally{if(o)throw o.error}}return i({},r,u)}(t,n,r,t.children))),slicedSegments:n}:{segmentGroup:t,slicedSegments:n}}(e,u,c,r),l=a.segmentGroup,f=a.slicedSegments;return 0===f.length&&l.hasChildren()?o.expandChildren(n,r,l).pipe(tt(function(t){return new Dp(u,t)})):0===r.length&&0===f.length?el(new Dp(u,{})):o.expandSegment(n,l,r,f,yp,!0).pipe(tt(function(t){return new Dp(u.concat(t.segments),t.children)}))}))},t.prototype.getChildConfig=function(t,e,n){var r=this;return e.children?el(new wp(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?el(e._loadedConfig):function(t,e,n){var r=e.canLoad;return r&&0!==r.length?Pp(ot(r).pipe(tt(function(r){var o=t.get(r);return Ip(o.canLoad?o.canLoad(e,n):o(e,n))}))):el(!0)}(t.injector,e,n).pipe(it(function(n){return n?r.configLoader.load(t.injector,e).pipe(tt(function(t){return e._loadedConfig=t,t})):function(t){return new N(function(e){return e.error(((n=Error("NavigationCancelingError: Cannot load children because the guard of the route \"path: '"+t.path+"'\" returned false")).ngNavigationCancelingError=!0,n));var n})}(e)})):el(new wp([],t))},t.prototype.lineralizeSegments=function(t,e){for(var n=[],r=e.root;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return el(n);if(r.numberOfChildren>1||!r.children[yp])return Ih(t.redirectTo);r=r.children[yp]}},t.prototype.applyRedirectCommands=function(t,e,n){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,n)},t.prototype.applyRedirectCreatreUrlTree=function(t,e,n,r){var o=this.createSegmentGroup(t,e.root,n,r);return new Np(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)},t.prototype.createQueryParams=function(t,e){var n={};return Op(t,function(t,r){if("string"==typeof t&&t.startsWith(":")){var o=t.substring(1);n[r]=e[o]}else n[r]=t}),n},t.prototype.createSegmentGroup=function(t,e,n,r){var o=this,i=this.createSegments(t,e.segments,n,r),a={};return Op(e.children,function(e,i){a[i]=o.createSegmentGroup(t,e,n,r)}),new Dp(i,a)},t.prototype.createSegments=function(t,e,n,r){var o=this;return e.map(function(e){return e.path.startsWith(":")?o.findPosParam(t,e,r):o.findOrReturn(e,n)})},t.prototype.findPosParam=function(t,e,n){var r=n[e.path.substring(1)];if(!r)throw new Error("Cannot redirect to '"+t+"'. Cannot find '"+e.path+"'.");return r},t.prototype.findOrReturn=function(t,e){var n,r,o=0;try{for(var i=s(e),a=i.next();!a.done;a=i.next()){var u=a.value;if(u.path===t.path)return e.splice(o),u;o++}}catch(l){n={error:l}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return t},t}();function Nh(t,e,n){if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||n.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};var r=(e.matcher||_p)(n,t,e);return r?{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,positionalParamSegments:r.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function Dh(t){if(1===t.numberOfChildren&&t.children[yp]){var e=t.children[yp];return new Dp(t.segments.concat(e.segments),e.children)}return t}function Vh(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0!==n.redirectTo}function Mh(t){return t.outlet||yp}var jh=function(){return function(t){this.path=t,this.route=this.path[this.path.length-1]}}(),Uh=function(){return function(t,e){this.component=t,this.route=e}}();function Lh(t,e,n){var r=function(t){if(!t)return null;for(var e=t.parent;e;e=e.parent){var n=e.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig}return null}(e);return(r?r.module.injector:n).get(t)}function Fh(t,e,n){var r=rh(t),o=t.value;Op(r,function(t,r){Fh(t,o.component?e?e.children.getContext(r):null:e,n)}),n.canDeactivateChecks.push(new Uh(o.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,o))}var Hh=function(){return function(){}}(),zh=function(){function t(t,e,n,r,o,i){this.rootComponentType=t,this.config=e,this.urlTree=n,this.url=r,this.paramsInheritanceStrategy=o,this.relativeLinkResolution=i}return t.prototype.recognize=function(){try{var t=Zh(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,yp),n=new sh([],Object.freeze({}),Object.freeze(i({},this.urlTree.queryParams)),this.urlTree.fragment,{},yp,this.rootComponentType,null,this.urlTree.root,-1,{}),r=new nh(n,e),o=new lh(this.url,r);return this.inheritParamsAndData(o._root),el(o)}catch(a){return new N(function(t){return t.error(a)})}},t.prototype.inheritParamsAndData=function(t){var e=this,n=t.value,r=uh(n,this.paramsInheritanceStrategy);n.params=Object.freeze(r.params),n.data=Object.freeze(r.data),t.children.forEach(function(t){return e.inheritParamsAndData(t)})},t.prototype.processSegmentGroup=function(t,e,n){return 0===e.segments.length&&e.hasChildren()?this.processChildren(t,e):this.processSegment(t,e,e.segments,n)},t.prototype.processChildren=function(t,e){var n,r=this,o=jp(e,function(e,n){return r.processSegmentGroup(t,e,n)});return n={},o.forEach(function(t){var e=n[t.value.outlet];if(e){var r=e.url.map(function(t){return t.toString()}).join("/"),o=t.value.url.map(function(t){return t.toString()}).join("/");throw new Error("Two segments cannot have the same outlet name: '"+r+"' and '"+o+"'.")}n[t.value.outlet]=t.value}),o.sort(function(t,e){return t.value.outlet===yp?-1:e.value.outlet===yp?1:t.value.outlet.localeCompare(e.value.outlet)}),o},t.prototype.processSegment=function(t,e,n,r){var o,i;try{for(var a=s(t),u=a.next();!u.done;u=a.next()){var l=u.value;try{return this.processSegmentAgainstRoute(l,e,n,r)}catch(c){if(!(c instanceof Hh))throw c}}}catch(f){o={error:f}}finally{try{u&&!u.done&&(i=a.return)&&i.call(a)}finally{if(o)throw o.error}}if(this.noLeftoversInUrl(e,n,r))return[];throw new Hh},t.prototype.noLeftoversInUrl=function(t,e,n){return 0===e.length&&!t.children[n]},t.prototype.processSegmentAgainstRoute=function(t,e,n,r){if(t.redirectTo)throw new Hh;if((t.outlet||yp)!==r)throw new Hh;var o,a=[],u=[];if("**"===t.path){var s=n.length>0?Ap(n).parameters:{};o=new sh(n,s,Object.freeze(i({},this.urlTree.queryParams)),this.urlTree.fragment,Qh(t),r,t.component,t,Bh(e),Gh(e)+n.length,Yh(t))}else{var l=function(t,e,n){if(""===e.path){if("full"===e.pathMatch&&(t.hasChildren()||n.length>0))throw new Hh;return{consumedSegments:[],lastChild:0,parameters:{}}}var r=(e.matcher||_p)(n,t,e);if(!r)throw new Hh;var o={};Op(r.posParams,function(t,e){o[e]=t.path});var a=r.consumed.length>0?i({},o,r.consumed[r.consumed.length-1].parameters):o;return{consumedSegments:r.consumed,lastChild:r.consumed.length,parameters:a}}(e,t,n);a=l.consumedSegments,u=n.slice(l.lastChild),o=new sh(a,l.parameters,Object.freeze(i({},this.urlTree.queryParams)),this.urlTree.fragment,Qh(t),r,t.component,t,Bh(e),Gh(e)+a.length,Yh(t))}var c=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),f=Zh(e,a,u,c,this.relativeLinkResolution),p=f.segmentGroup,h=f.slicedSegments;if(0===h.length&&p.hasChildren()){var d=this.processChildren(c,p);return[new nh(o,d)]}if(0===c.length&&0===h.length)return[new nh(o,[])];var v=this.processSegment(c,p,h,yp);return[new nh(o,v)]},t}();function Bh(t){for(var e=t;e._sourceSegment;)e=e._sourceSegment;return e}function Gh(t){for(var e=t,n=e._segmentIndexShift?e._segmentIndexShift:0;e._sourceSegment;)n+=(e=e._sourceSegment)._segmentIndexShift?e._segmentIndexShift:0;return n-1}function Zh(t,e,n,r,o){if(n.length>0&&function(t,e,n){return r.some(function(n){return qh(t,e,n)&&Wh(n)!==yp})}(t,n)){var a=new Dp(e,function(t,e,n,r){var o,i,a={};a[yp]=r,r._sourceSegment=t,r._segmentIndexShift=e.length;try{for(var u=s(n),l=u.next();!l.done;l=u.next()){var c=l.value;if(""===c.path&&Wh(c)!==yp){var f=new Dp([],{});f._sourceSegment=t,f._segmentIndexShift=e.length,a[Wh(c)]=f}}}catch(p){o={error:p}}finally{try{l&&!l.done&&(i=u.return)&&i.call(u)}finally{if(o)throw o.error}}return a}(t,e,r,new Dp(n,t.children)));return a._sourceSegment=t,a._segmentIndexShift=e.length,{segmentGroup:a,slicedSegments:[]}}if(0===n.length&&function(t,e,n){return r.some(function(n){return qh(t,e,n)})}(t,n)){var u=new Dp(t.segments,function(t,e,n,r,o,a){var u,l,c={};try{for(var f=s(r),p=f.next();!p.done;p=f.next()){var h=p.value;if(qh(t,n,h)&&!o[Wh(h)]){var d=new Dp([],{});d._sourceSegment=t,d._segmentIndexShift="legacy"===a?t.segments.length:e.length,c[Wh(h)]=d}}}catch(v){u={error:v}}finally{try{p&&!p.done&&(l=f.return)&&l.call(f)}finally{if(u)throw u.error}}return i({},o,c)}(t,e,n,r,t.children,o));return u._sourceSegment=t,u._segmentIndexShift=e.length,{segmentGroup:u,slicedSegments:n}}var l=new Dp(t.segments,t.children);return l._sourceSegment=t,l._segmentIndexShift=e.length,{segmentGroup:l,slicedSegments:n}}function qh(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0===n.redirectTo}function Wh(t){return t.outlet||yp}function Qh(t){return t.data||{}}function Yh(t){return t.resolve||{}}function Kh(t,e,n,r){var o=Lh(t,e,r);return Ip(o.resolve?o.resolve(e,n):o(e,n))}function $h(t){return function(e){return e.pipe(Rl(function(e){var n=t(e);return n?ot(n).pipe(tt(function(){return e})):ot([e])}))}}var Jh=function(){return function(){}}(),Xh=function(){function t(){}return t.prototype.shouldDetach=function(t){return!1},t.prototype.store=function(t,e){},t.prototype.shouldAttach=function(t){return!1},t.prototype.retrieve=function(t){return null},t.prototype.shouldReuseRoute=function(t,e){return t.routeConfig===e.routeConfig},t}(),td=new xt("ROUTES"),ed=function(){function t(t,e,n,r){this.loader=t,this.compiler=e,this.onLoadStartListener=n,this.onLoadEndListener=r}return t.prototype.load=function(t,e){var n=this;return this.onLoadStartListener&&this.onLoadStartListener(e),this.loadModuleFactory(e.loadChildren).pipe(tt(function(r){n.onLoadEndListener&&n.onLoadEndListener(e);var o=r.create(t);return new wp(kp(o.injector.get(td)).map(xp),o)}))},t.prototype.loadModuleFactory=function(t){var e=this;return"string"==typeof t?ot(this.loader.load(t)):Ip(t()).pipe(it(function(t){return t instanceof nr?el(t):ot(e.compiler.compileModuleAsync(t))}))},t}(),nd=function(){return function(){}}(),rd=function(){function t(){}return t.prototype.shouldProcessUrl=function(t){return!0},t.prototype.extract=function(t){return t},t.prototype.merge=function(t,e){return t},t}();function od(t){throw t}function id(t,e,n){return e.parse("/")}function ad(t,e){return el(null)}var ud=function(){function t(t,e,n,r,o,i,a,u){var s=this;this.rootComponentType=t,this.urlSerializer=e,this.rootContexts=n,this.location=r,this.config=u,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new L,this.errorHandler=od,this.malformedUriErrorHandler=id,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:ad,afterPreactivation:ad},this.urlHandlingStrategy=new rd,this.routeReuseStrategy=new Xh,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=o.get(er),this.console=o.get(Oo);var l=o.get(Fo);this.isNgZoneEnabled=l instanceof Fo,this.resetConfig(u),this.currentUrlTree=new Np(new Dp([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.configLoader=new ed(i,a,function(t){return s.triggerEvent(new lp(t))},function(t){return s.triggerEvent(new cp(t))}),this.routerState=ih(this.currentUrlTree,this.rootComponentType),this.transitions=new nl({id:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",state:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}return t.prototype.setupNavigations=function(t){var e=this,n=this.events;return t.pipe(al(function(t){return 0!==t.id}),tt(function(t){return i({},t,{extractedUrl:e.urlHandlingStrategy.extract(t.rawUrl)})}),Rl(function(t){var r,o,a,u,l=!1,c=!1;return el(t).pipe(Rl(function(t){var r,o,a,u,s=!e.navigated||t.extractedUrl.toString()!==e.currentUrlTree.toString();if(("reload"===e.onSameUrlNavigation||s)&&e.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return el(t).pipe(dl(function(t){return"eager"===e.urlUpdateStrategy&&!t.extras.skipLocationChange&&e.setBrowserUrl(t.rawUrl,!!t.extras.replaceUrl,t.id)}),Rl(function(t){var r=e.transitions.getValue();return n.next(new tp(t.id,e.serializeUrl(t.extractedUrl),t.source,t.state)),r!==e.transitions.getValue()?Xs:[t]}),Rl(function(t){return Promise.resolve(t)}),(r=e.ngModule.injector,o=e.configLoader,a=e.urlSerializer,u=e.config,function(t){return t.pipe(Rl(function(t){return function(e,n,r,o,i){return new Rh(e,n,r,t.extractedUrl,i).apply()}(r,o,a,0,u).pipe(tt(function(e){return i({},t,{urlAfterRedirects:e})}))}))}),function(t,n,r,o,a){return function(r){return r.pipe(it(function(r){return function(t,e,n,r,o,i){return void 0===o&&(o="emptyOnly"),void 0===i&&(i="legacy"),new zh(t,e,n,r,o,i).recognize()}(t,n,r.urlAfterRedirects,(u=r.urlAfterRedirects,e.serializeUrl(u)),o,a).pipe(tt(function(t){return i({},r,{targetSnapshot:t})}));var u}))}}(e.rootComponentType,e.config,0,e.paramsInheritanceStrategy,e.relativeLinkResolution),dl(function(t){var r=new op(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);n.next(r)}));if(s&&e.rawUrlTree&&e.urlHandlingStrategy.shouldProcessUrl(e.rawUrlTree)){var l=t.extractedUrl,c=t.source,f=t.state,p=t.extras,h=new tp(t.id,e.serializeUrl(l),c,f);n.next(h);var d=ih(l,e.rootComponentType).snapshot;return el(i({},t,{targetSnapshot:d,urlAfterRedirects:l,extras:i({},p,{skipLocationChange:!1,replaceUrl:!1})}))}return e.rawUrlTree=t.rawUrl,t.resolve(null),Xs}),$h(function(t){var n=t.extras;return e.hooks.beforePreactivation(t.targetSnapshot,{navigationId:t.id,appliedUrlTree:t.extractedUrl,rawUrlTree:t.rawUrl,skipLocationChange:!!n.skipLocationChange,replaceUrl:!!n.replaceUrl})}),dl(function(t){var n=new ip(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)}),tt(function(t){return i({},t,{guards:(n=t.targetSnapshot,r=t.currentSnapshot,o=e.rootContexts,a=n._root,function t(e,n,r,o,i){void 0===i&&(i={canDeactivateChecks:[],canActivateChecks:[]});var a=rh(n);return e.children.forEach(function(e){!function(e,n,r,o,i){void 0===i&&(i={canDeactivateChecks:[],canActivateChecks:[]});var a=e.value,u=n?n.value:null,s=r?r.getContext(e.value.outlet):null;if(u&&a.routeConfig===u.routeConfig){var l=function(t,e,n){switch(n){case"always":return!0;case"paramsOrQueryParamsChange":return!hh(t,e)||!Tp(t.queryParams,e.queryParams);case"paramsChange":default:return!hh(t,e)}}(u,a,a.routeConfig.runGuardsAndResolvers);l?i.canActivateChecks.push(new jh(o)):(a.data=u.data,a._resolvedData=u._resolvedData),t(e,n,a.component?s?s.children:null:r,o,i),l&&i.canDeactivateChecks.push(new Uh(s&&s.outlet&&s.outlet.component||null,u))}else u&&Fh(n,s,i),i.canActivateChecks.push(new jh(o)),t(e,null,a.component?s?s.children:null:r,o,i)}(e,a[e.value.outlet],r,o.concat([e.value]),i),delete a[e.value.outlet]}),Op(a,function(t,e){return Fh(t,r.getContext(e),i)}),i}(a,r?r._root:null,o,[a.value]))});var n,r,o,a}),function(t,e){return function(n){return n.pipe(it(function(n){var r=n.targetSnapshot,o=n.currentSnapshot,a=n.guards,u=a.canActivateChecks,s=a.canDeactivateChecks;return 0===s.length&&0===u.length?el(i({},n,{guardsResult:!0})):function(t,e,n,r){return ot(s).pipe(it(function(t){return function(t,e,n,r,o){var i=e&&e.routeConfig?e.routeConfig.canDeactivate:null;return i&&0!==i.length?ot(i).pipe(it(function(i){var a=Lh(i,e,o);return Ip(a.canDeactivate?a.canDeactivate(t,e,n,r):a(t,e,n,r)).pipe(Il())})).pipe(Sl(function(t){return!0===t})):el(!0)}(t.component,t.route,n,e,r)}),Sl(function(t){return!0===t}))}(0,r,o,t).pipe(it(function(n){return n?function(t,e,n,r){return ot(u).pipe(Vl(function(e){return Pp(ot([function(t,e){return null!==t&&e&&e(new fp(t)),el(!0)}(e.route.parent,r),function(t,e){return null!==t&&e&&e(new hp(t)),el(!0)}(e.route,r),function(t,e,n){var r=e[e.length-1];return Pp(ot(e.slice(0,e.length-1).reverse().map(function(t){return function(t){var e=t.routeConfig?t.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:t,guards:e}:null}(t)}).filter(function(t){return null!==t})).pipe(tt(function(e){return Pp(ot(e.guards).pipe(tt(function(o){var i=Lh(o,e.node,n);return Ip(i.canActivateChild?i.canActivateChild(r,t):i(r,t)).pipe(Il())})))})))}(t,e.path,n),function(t,e,n){var r=e.routeConfig?e.routeConfig.canActivate:null;return r&&0!==r.length?Pp(ot(r).pipe(tt(function(r){var o=Lh(r,e,n);return Ip(o.canActivate?o.canActivate(e,t):o(e,t)).pipe(Il())}))):el(!0)}(t,e.route,n)]))}),Sl(function(t){return!0===t}))}(r,0,t,e):el(!1)}),tt(function(t){return i({},n,{guardsResult:t})}))}))}}(e.ngModule.injector,function(t){return e.triggerEvent(t)}),dl(function(t){var n=new ap(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);e.triggerEvent(n)}),al(function(t){if(!t.guardsResult){e.resetUrlToCurrentUrlTree();var r=new np(t.id,e.serializeUrl(t.extractedUrl),"");return n.next(r),t.resolve(!1),!1}return!0}),$h(function(t){if(t.guards.canActivateChecks.length)return el(t).pipe(dl(function(t){var n=new up(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)}),(n=e.paramsInheritanceStrategy,r=e.ngModule.injector,function(t){return t.pipe(it(function(t){var e=t.targetSnapshot,o=t.guards.canActivateChecks;return o.length?ot(o).pipe(Vl(function(t){return function(t,n,r,o){return function(t,e,n,r){var o=Object.keys(t);if(0===o.length)return el({});if(1===o.length){var i=o[0];return Kh(t[i],e,n,r).pipe(tt(function(t){var e;return(e={})[i]=t,e}))}var a={};return ot(o).pipe(it(function(o){return Kh(t[o],e,n,r).pipe(tt(function(t){return a[o]=t,t}))})).pipe(Cl(),tt(function(){return a}))}(t._resolve,t,e,o).pipe(tt(function(e){return t._resolvedData=e,t.data=i({},t.data,uh(t,r).resolve),null}))}(t.route,0,n,r)}),function(t,e){return arguments.length>=2?function(e){return I(Ml(t,void 0),fl(1),bl(void 0))(e)}:function(e){return I(Ml(function(e,n,r){return t(e)}),fl(1))(e)}}(function(t,e){return t}),tt(function(e){return t})):el(t)}))}),dl(function(t){var n=new sp(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)}));var n,r}),$h(function(t){var n=t.extras;return e.hooks.afterPreactivation(t.targetSnapshot,{navigationId:t.id,appliedUrlTree:t.extractedUrl,rawUrlTree:t.rawUrl,skipLocationChange:!!n.skipLocationChange,replaceUrl:!!n.replaceUrl})}),tt(function(t){var n,r,o,a=(o=function t(e,n,r){if(r&&e.shouldReuseRoute(n.value,r.value.snapshot)){(l=r.value)._futureSnapshot=n.value;var o=function(e,n,r){return n.children.map(function(n){var o,i;try{for(var a=s(r.children),u=a.next();!u.done;u=a.next()){var l=u.value;if(e.shouldReuseRoute(l.value.snapshot,n.value))return t(e,n,l)}}catch(c){o={error:c}}finally{try{u&&!u.done&&(i=a.return)&&i.call(a)}finally{if(o)throw o.error}}return t(e,n)})}(e,n,r);return new nh(l,o)}var i=e.retrieve(n.value);if(i){var a=i.route;return function t(e,n){if(e.value.routeConfig!==n.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(e.children.length!==n.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");n.value._futureSnapshot=e.value;for(var r=0;r<e.children.length;++r)t(e.children[r],n.children[r])}(n,a),a}var u,l=new ah(new nl((u=n.value).url),new nl(u.params),new nl(u.queryParams),new nl(u.fragment),new nl(u.data),u.outlet,u.component,u);return o=n.children.map(function(n){return t(e,n)}),new nh(l,o)}(e.routeReuseStrategy,(n=t.targetSnapshot)._root,(r=t.currentRouterState)?r._root:void 0),new oh(o,n));return i({},t,{targetRouterState:a})}),dl(function(t){e.currentUrlTree=t.urlAfterRedirects,e.rawUrlTree=e.urlHandlingStrategy.merge(e.currentUrlTree,t.rawUrl),e.routerState=t.targetRouterState,"deferred"!==e.urlUpdateStrategy||t.extras.skipLocationChange||e.setBrowserUrl(e.rawUrlTree,!!t.extras.replaceUrl,t.id)}),(o=e.rootContexts,a=e.routeReuseStrategy,u=function(t){return e.triggerEvent(t)},tt(function(t){return new xh(a,t.targetRouterState,t.currentRouterState,u).activate(o),t})),dl({next:function(){l=!0},complete:function(){l=!0}}),(r=function(){if(!l&&!c){e.resetUrlToCurrentUrlTree();var r=new np(t.id,e.serializeUrl(t.extractedUrl),"Navigation ID "+t.id+" is not equal to the current navigation id "+e.navigationId);n.next(r),t.resolve(!1)}},function(t){return t.lift(new Ll(r))}),Tl(function(r){if(c=!0,(a=r)&&a.ngNavigationCancelingError){e.navigated=!0,e.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl);var o=new np(t.id,e.serializeUrl(t.extractedUrl),r.message);n.next(o),t.resolve(!1)}else{e.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl);var i=new rp(t.id,e.serializeUrl(t.extractedUrl),r);n.next(i);try{t.resolve(e.errorHandler(r))}catch(u){t.reject(u)}}var a;return Xs}))}))},t.prototype.resetRootComponentType=function(t){this.rootComponentType=t,this.routerState.root.component=this.rootComponentType},t.prototype.getTransition=function(){return this.transitions.value},t.prototype.setTransition=function(t){this.transitions.next(i({},this.getTransition(),t))},t.prototype.initialNavigation=function(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})},t.prototype.setUpLocationChangeListener=function(){var t=this;this.locationSubscription||(this.locationSubscription=this.location.subscribe(function(e){var n=t.parseUrl(e.url),r="popstate"===e.type?"popstate":"hashchange",o=e.state&&e.state.navigationId?{navigationId:e.state.navigationId}:null;setTimeout(function(){t.scheduleNavigation(n,r,o,{replaceUrl:!0})},0)}))},Object.defineProperty(t.prototype,"url",{get:function(){return this.serializeUrl(this.currentUrlTree)},enumerable:!0,configurable:!0}),t.prototype.triggerEvent=function(t){this.events.next(t)},t.prototype.resetConfig=function(t){Cp(t),this.config=t.map(xp),this.navigated=!1,this.lastSuccessfulId=-1},t.prototype.ngOnDestroy=function(){this.dispose()},t.prototype.dispose=function(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=null)},t.prototype.createUrlTree=function(t,e){void 0===e&&(e={});var n=e.relativeTo,r=e.queryParams,o=e.fragment,a=e.preserveQueryParams,u=e.queryParamsHandling,s=e.preserveFragment;Lr()&&a&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");var l=n||this.routerState.root,f=s?this.currentUrlTree.fragment:o,p=null;if(u)switch(u){case"merge":p=i({},this.currentUrlTree.queryParams,r);break;case"preserve":p=this.currentUrlTree.queryParams;break;default:p=r||null}else p=a?this.currentUrlTree.queryParams:r||null;return null!==p&&(p=this.removeEmptyProps(p)),function(t,e,n,r,o){if(0===n.length)return vh(e.root,e.root,e,r,o);var i=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new gh(!0,0,t);var e=0,n=!1,r=t.reduce(function(t,r,o){if("object"==typeof r&&null!=r){if(r.outlets){var i={};return Op(r.outlets,function(t,e){i[e]="string"==typeof t?t.split("/"):t}),c(t,[{outlets:i}])}if(r.segmentPath)return c(t,[r.segmentPath])}return"string"!=typeof r?c(t,[r]):0===o?(r.split("/").forEach(function(r,o){0==o&&"."===r||(0==o&&""===r?n=!0:".."===r?e++:""!=r&&t.push(r))}),t):c(t,[r])},[]);return new gh(n,e,r)}(n);if(i.toRoot())return vh(e.root,new Dp([],{}),e,r,o);var a=function(t,n,r){if(t.isAbsolute)return new yh(e.root,!0,0);if(-1===r.snapshot._lastPathIndex)return new yh(r.snapshot._urlSegment,!0,0);var o=dh(t.commands[0])?0:1;return function(e,n,i){for(var a=r.snapshot._urlSegment,u=r.snapshot._lastPathIndex+o,s=t.numberOfDoubleDots;s>u;){if(s-=u,!(a=a.parent))throw new Error("Invalid number of '../'");u=a.segments.length}return new yh(a,!1,u-s)}()}(i,0,t),u=a.processChildren?_h(a.segmentGroup,a.index,i.commands):bh(a.segmentGroup,a.index,i.commands);return vh(a.segmentGroup,u,e,r,o)}(l,this.currentUrlTree,t,p,f)},t.prototype.navigateByUrl=function(t,e){void 0===e&&(e={skipLocationChange:!1}),Lr()&&this.isNgZoneEnabled&&!Fo.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");var n=t instanceof Np?t:this.parseUrl(t),r=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(r,"imperative",null,e)},t.prototype.navigate=function(t,e){return void 0===e&&(e={skipLocationChange:!1}),function(t){for(var e=0;e<t.length;e++){var n=t[e];if(null==n)throw new Error("The requested path contains "+n+" segment at index "+e)}}(t),this.navigateByUrl(this.createUrlTree(t,e),e)},t.prototype.serializeUrl=function(t){return this.urlSerializer.serialize(t)},t.prototype.parseUrl=function(t){var e;try{e=this.urlSerializer.parse(t)}catch(n){e=this.malformedUriErrorHandler(n,this.urlSerializer,t)}return e},t.prototype.isActive=function(t,e){if(t instanceof Np)return Rp(this.currentUrlTree,t,e);var n=this.parseUrl(t);return Rp(this.currentUrlTree,n,e)},t.prototype.removeEmptyProps=function(t){return Object.keys(t).reduce(function(e,n){var r=t[n];return null!=r&&(e[n]=r),e},{})},t.prototype.processNavigations=function(){var t=this;this.navigations.subscribe(function(e){t.navigated=!0,t.lastSuccessfulId=e.id,t.events.next(new ep(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(t.currentUrlTree))),e.resolve(!0)},function(e){t.console.warn("Unhandled Navigation Error: ")})},t.prototype.scheduleNavigation=function(t,e,n,r){var o=this.getTransition();if(o&&"imperative"!==e&&"imperative"===o.source&&o.rawUrl.toString()===t.toString())return Promise.resolve(!0);if(o&&"hashchange"==e&&"popstate"===o.source&&o.rawUrl.toString()===t.toString())return Promise.resolve(!0);if(o&&"popstate"==e&&"hashchange"===o.source&&o.rawUrl.toString()===t.toString())return Promise.resolve(!0);var i=null,a=null,u=new Promise(function(t,e){i=t,a=e}),s=++this.navigationId;return this.setTransition({id:s,source:e,state:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:t,extras:r,resolve:i,reject:a,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(function(t){return Promise.reject(t)})},t.prototype.setBrowserUrl=function(t,e,n){var r=this.urlSerializer.serialize(t);this.location.isCurrentPathEqualTo(r)||e?this.location.replaceState(r,"",{navigationId:n}):this.location.go(r,"",{navigationId:n})},t.prototype.resetStateAndUrl=function(t,e,n){this.routerState=t,this.currentUrlTree=e,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n),this.resetUrlToCurrentUrlTree()},t.prototype.resetUrlToCurrentUrlTree=function(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",{navigationId:this.lastSuccessfulId})},t}(),sd=function(){return function(){this.outlet=null,this.route=null,this.resolver=null,this.children=new ld,this.attachRef=null}}(),ld=function(){function t(){this.contexts=new Map}return t.prototype.onChildOutletCreated=function(t,e){var n=this.getOrCreateContext(t);n.outlet=e,this.contexts.set(t,n)},t.prototype.onChildOutletDestroyed=function(t){var e=this.getContext(t);e&&(e.outlet=null)},t.prototype.onOutletDeactivated=function(){var t=this.contexts;return this.contexts=new Map,t},t.prototype.onOutletReAttached=function(t){this.contexts=t},t.prototype.getOrCreateContext=function(t){var e=this.getContext(t);return e||(e=new sd,this.contexts.set(t,e)),e},t.prototype.getContext=function(t){return this.contexts.get(t)||null},t}(),cd=function(){function t(t,e,n,r,o){this.parentContexts=t,this.location=e,this.resolver=n,this.changeDetector=o,this.activated=null,this._activatedRoute=null,this.activateEvents=new Vr,this.deactivateEvents=new Vr,this.name=r||yp,t.onChildOutletCreated(this.name,this)}return t.prototype.ngOnDestroy=function(){this.parentContexts.onChildOutletDestroyed(this.name)},t.prototype.ngOnInit=function(){if(!this.activated){var t=this.parentContexts.getContext(this.name);t&&t.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.resolver||null))}},Object.defineProperty(t.prototype,"isActivated",{get:function(){return!!this.activated},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"component",{get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"activatedRoute",{get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"activatedRouteData",{get:function(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}},enumerable:!0,configurable:!0}),t.prototype.detach=function(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();var t=this.activated;return this.activated=null,this._activatedRoute=null,t},t.prototype.attach=function(t,e){this.activated=t,this._activatedRoute=e,this.location.insert(t.hostView)},t.prototype.deactivate=function(){if(this.activated){var t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}},t.prototype.activateWith=function(t,e){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=t;var n=(e=e||this.resolver).resolveComponentFactory(t._futureSnapshot.routeConfig.component),r=this.parentContexts.getOrCreateContext(this.name).children,o=new fd(t,r,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,o),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)},t}(),fd=function(){function t(t,e,n){this.route=t,this.childContexts=e,this.parent=n}return t.prototype.get=function(t,e){return t===ah?this.route:t===ld?this.childContexts:this.parent.get(t,e)},t}(),pd=function(){return function(){}}(),hd=function(){function t(){}return t.prototype.preload=function(t,e){return e().pipe(Tl(function(){return el(null)}))},t}(),dd=function(){function t(){}return t.prototype.preload=function(t,e){return el(null)},t}(),vd=function(){function t(t,e,n,r,o){this.router=t,this.injector=r,this.preloadingStrategy=o,this.loader=new ed(e,n,function(e){return t.triggerEvent(new lp(e))},function(e){return t.triggerEvent(new cp(e))})}return t.prototype.setUpPreloading=function(){var t=this;this.subscription=this.router.events.pipe(al(function(t){return t instanceof ep}),Vl(function(){return t.preload()})).subscribe(function(){})},t.prototype.preload=function(){var t=this.injector.get(er);return this.processRoutes(t,this.router.config)},t.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},t.prototype.processRoutes=function(t,e){var n,r,o=[];try{for(var i=s(e),a=i.next();!a.done;a=i.next()){var u=a.value;if(u.loadChildren&&!u.canLoad&&u._loadedConfig){var l=u._loadedConfig;o.push(this.processRoutes(l.module,l.routes))}else u.loadChildren&&!u.canLoad?o.push(this.preloadConfig(t,u)):u.children&&o.push(this.processRoutes(t,u.children))}}catch(c){n={error:c}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return ot(o).pipe(lt(),tt(function(t){}))},t.prototype.preloadConfig=function(t,e){var n=this;return this.preloadingStrategy.preload(e,function(){return n.loader.load(t.injector,e).pipe(it(function(t){return e._loadedConfig=t,n.processRoutes(t.module,t.routes)}))})},t}(),gd=function(){function t(t,e,n){void 0===n&&(n={}),this.router=t,this.viewportScroller=e,this.options=n,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},n.scrollPositionRestoration=n.scrollPositionRestoration||"disabled",n.anchorScrolling=n.anchorScrolling||"disabled"}return t.prototype.init=function(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()},t.prototype.createScrollEvents=function(){var t=this;return this.router.events.subscribe(function(e){e instanceof tp?(t.store[t.lastId]=t.viewportScroller.getScrollPosition(),t.lastSource=e.navigationTrigger,t.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof ep&&(t.lastId=e.id,t.scheduleScrollEvent(e,t.router.parseUrl(e.urlAfterRedirects).fragment))})},t.prototype.consumeScrollEvents=function(){var t=this;return this.router.events.subscribe(function(e){e instanceof vp&&(e.position?"top"===t.options.scrollPositionRestoration?t.viewportScroller.scrollToPosition([0,0]):"enabled"===t.options.scrollPositionRestoration&&t.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===t.options.anchorScrolling?t.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==t.options.scrollPositionRestoration&&t.viewportScroller.scrollToPosition([0,0]))})},t.prototype.scheduleScrollEvent=function(t,e){this.router.triggerEvent(new vp(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,e))},t.prototype.ngOnDestroy=function(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()},t}(),yd=new xt("ROUTER_CONFIGURATION"),md=new xt("ROUTER_FORROOT_GUARD"),bd=[Zl,{provide:Up,useClass:Lp},{provide:ud,useFactory:Td,deps:[ri,Up,ld,Zl,Yt,ii,No,td,yd,[nd,new Ht],[Jh,new Ht]]},ld,{provide:ah,useFactory:kd,deps:[ud]},{provide:ii,useClass:li},vd,dd,hd,{provide:yd,useValue:{enableTracing:!1}}];function _d(){return new Jo("Router",ud)}var wd=function(){function t(t,e){}var e;return e=t,t.forRoot=function(t,n){return{ngModule:e,providers:[bd,xd(t),{provide:md,useFactory:Ed,deps:[[ud,new Ht,new Bt]]},{provide:yd,useValue:n||{}},{provide:Bl,useFactory:Sd,deps:[Hl,[new Ft(Gl),new Ht],yd]},{provide:gd,useFactory:Cd,deps:[ud,Hc,yd]},{provide:pd,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:dd},{provide:Jo,multi:!0,useFactory:_d},[Ad,{provide:wo,multi:!0,useFactory:Od,deps:[Ad]},{provide:Id,useFactory:Pd,deps:[Ad]},{provide:Ao,multi:!0,useExisting:Id}]]}},t.forChild=function(t){return{ngModule:e,providers:[xd(t)]}},t}();function Cd(t,e,n){return n.scrollOffset&&e.setOffset(n.scrollOffset),new gd(t,e,n)}function Sd(t,e,n){return void 0===n&&(n={}),n.useHash?new Wl(t,e):new Ql(t,e)}function Ed(t){if(t)throw new Error("RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function xd(t){return[{provide:At,multi:!0,useValue:t},{provide:td,multi:!0,useValue:t}]}function Td(t,e,n,r,o,i,a,u,s,l,c){void 0===s&&(s={});var f=new ud(null,e,n,r,o,i,a,kp(u));if(l&&(f.urlHandlingStrategy=l),c&&(f.routeReuseStrategy=c),s.errorHandler&&(f.errorHandler=s.errorHandler),s.malformedUriErrorHandler&&(f.malformedUriErrorHandler=s.malformedUriErrorHandler),s.enableTracing){var p=Gc();f.events.subscribe(function(t){p.logGroup("Router Event: "+t.constructor.name),p.log(t.toString()),p.log(t),p.logGroupEnd()})}return s.onSameUrlNavigation&&(f.onSameUrlNavigation=s.onSameUrlNavigation),s.paramsInheritanceStrategy&&(f.paramsInheritanceStrategy=s.paramsInheritanceStrategy),s.urlUpdateStrategy&&(f.urlUpdateStrategy=s.urlUpdateStrategy),s.relativeLinkResolution&&(f.relativeLinkResolution=s.relativeLinkResolution),f}function kd(t){return t.routerState.root}var Ad=function(){function t(t){this.injector=t,this.initNavigation=!1,this.resultOfPreactivationDone=new L}return t.prototype.appInitializer=function(){var t=this;return this.injector.get(zl,Promise.resolve(null)).then(function(){var e=null,n=new Promise(function(t){return e=t}),r=t.injector.get(ud),o=t.injector.get(yd);if(t.isLegacyDisabled(o)||t.isLegacyEnabled(o))e(!0);else if("disabled"===o.initialNavigation)r.setUpLocationChangeListener(),e(!0);else{if("enabled"!==o.initialNavigation)throw new Error("Invalid initialNavigation options: '"+o.initialNavigation+"'");r.hooks.afterPreactivation=function(){return t.initNavigation?el(null):(t.initNavigation=!0,e(!0),t.resultOfPreactivationDone)},r.initialNavigation()}return n})},t.prototype.bootstrapListener=function(t){var e=this.injector.get(yd),n=this.injector.get(vd),r=this.injector.get(gd),o=this.injector.get(ud),i=this.injector.get(ri);t===i.components[0]&&(this.isLegacyEnabled(e)?o.initialNavigation():this.isLegacyDisabled(e)&&o.setUpLocationChangeListener(),n.setUpPreloading(),r.init(),o.resetRootComponentType(i.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())},t.prototype.isLegacyEnabled=function(t){return"legacy_enabled"===t.initialNavigation||!0===t.initialNavigation||void 0===t.initialNavigation},t.prototype.isLegacyDisabled=function(t){return"legacy_disabled"===t.initialNavigation||!1===t.initialNavigation},t}();function Od(t){return t.appInitializer.bind(t)}function Pd(t){return t.bootstrapListener.bind(t)}var Id=new xt("Router Initializer"),Rd=ra({encapsulation:2,styles:[],data:{}});function Nd(t){return zu(0,[(t()(),Pa(0,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),mu(1,212992,null,0,cd,[ld,pi,Jn,[8,null],hi],null,null)],function(t,e){t(e,1,0)},null)}function Dd(t){return zu(0,[(t()(),Pa(0,0,null,null,1,"ng-component",[],null,null,null,Nd,Rd)),mu(1,49152,null,0,gp,[],null,null)],null,null)}var Vd=Qa("ng-component",gp,Dd,{},{},[]),Md=function(){function t(){}return t.prototype.ngOnInit=function(){},t}(),jd=ra({encapsulation:0,styles:[[""]],data:{}});function Ud(t){return zu(0,[(t()(),Pa(0,0,null,null,3,"nav",[["class","navbar navbar-dark bg-dark mb-3"]],null,null,null,null,null)),(t()(),Pa(1,0,null,null,2,"div",[["class","container"]],null,null,null,null,null)),(t()(),Pa(2,0,null,null,1,"a",[["class","navbar-brand"],["href","/"]],null,null,null,null,null)),(t()(),Lu(-1,null,["DevLogger"]))],null,null)}var Ld=function(t){function e(e,n){var r=t.call(this,e)||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=J(r,n[i],null,i);a&&r.add(a)}return r}return o(e,t),e.prototype.notifyNext=function(t,e,n,r,o){this.values[n]=e,o._hasValue||(o._hasValue=!0,this.haveValues++)},e.prototype.notifyComplete=function(t){var e=this.destination,n=this.haveValues,r=this.values,o=r.length;t._hasValue?(this.completed++,this.completed===o&&(n===o&&e.next(r),e.complete())):e.complete()},e}(X),Fd=function(){function t(){}return Object.defineProperty(t.prototype,"value",{get:function(){return this.control?this.control.value:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"valid",{get:function(){return this.control?this.control.valid:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"invalid",{get:function(){return this.control?this.control.invalid:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pending",{get:function(){return this.control?this.control.pending:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return this.control?this.control.disabled:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"enabled",{get:function(){return this.control?this.control.enabled:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"errors",{get:function(){return this.control?this.control.errors:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pristine",{get:function(){return this.control?this.control.pristine:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dirty",{get:function(){return this.control?this.control.dirty:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"touched",{get:function(){return this.control?this.control.touched:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"status",{get:function(){return this.control?this.control.status:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"untouched",{get:function(){return this.control?this.control.untouched:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"statusChanges",{get:function(){return this.control?this.control.statusChanges:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"valueChanges",{get:function(){return this.control?this.control.valueChanges:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"path",{get:function(){return null},enumerable:!0,configurable:!0}),t.prototype.reset=function(t){void 0===t&&(t=void 0),this.control&&this.control.reset(t)},t.prototype.hasError=function(t,e){return!!this.control&&this.control.hasError(t,e)},t.prototype.getError=function(t,e){return this.control?this.control.getError(t,e):null},t}(),Hd=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),Object.defineProperty(e.prototype,"formDirective",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return null},enumerable:!0,configurable:!0}),e}(Fd);function zd(t){return null==t||0===t.length}var Bd=/^(?=.{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])?)*$/,Gd=function(){function t(){}return t.min=function(t){return function(e){if(zd(e.value)||zd(t))return null;var n=parseFloat(e.value);return!isNaN(n)&&n<t?{min:{min:t,actual:e.value}}:null}},t.max=function(t){return function(e){if(zd(e.value)||zd(t))return null;var n=parseFloat(e.value);return!isNaN(n)&&n>t?{max:{max:t,actual:e.value}}:null}},t.required=function(t){return zd(t.value)?{required:!0}:null},t.requiredTrue=function(t){return!0===t.value?null:{required:!0}},t.email=function(t){return zd(t.value)?null:Bd.test(t.value)?null:{email:!0}},t.minLength=function(t){return function(e){if(zd(e.value))return null;var n=e.value?e.value.length:0;return n<t?{minlength:{requiredLength:t,actualLength:n}}:null}},t.maxLength=function(t){return function(e){var n=e.value?e.value.length:0;return n>t?{maxlength:{requiredLength:t,actualLength:n}}:null}},t.pattern=function(e){return e?("string"==typeof e?(r="","^"!==e.charAt(0)&&(r+="^"),r+=e,"$"!==e.charAt(e.length-1)&&(r+="$"),n=new RegExp(r)):(r=e.toString(),n=e),function(t){if(zd(t.value))return null;var e=t.value;return n.test(e)?null:{pattern:{requiredPattern:r,actualValue:e}}}):t.nullValidator;var n,r},t.nullValidator=function(t){return null},t.compose=function(t){if(!t)return null;var e=t.filter(Zd);return 0==e.length?null:function(t){return Wd(function(t,n){return e.map(function(e){return e(t)})}(t))}},t.composeAsync=function(t){if(!t)return null;var e=t.filter(Zd);return 0==e.length?null:function(t){return function t(){for(var e,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return"function"==typeof n[n.length-1]&&(e=n.pop()),1===n.length&&f(n[0])&&(n=n[0]),0===n.length?Xs:e?t(n).pipe(tt(function(t){return e.apply(void 0,t)})):new N(function(t){return new Ld(t,n)})}(function(t,n){return e.map(function(e){return e(t)})}(t).map(qd)).pipe(tt(Wd))}},t}();function Zd(t){return null!=t}function qd(t){var e=bo(t)?ot(t):t;if(!_o(e))throw new Error("Expected validator to return Promise or Observable.");return e}function Wd(t){var e=t.reduce(function(t,e){return null!=e?i({},t,e):t},{});return 0===Object.keys(e).length?null:e}var Qd=new xt("NgValueAccessor"),Yd=function(){function t(t,e){this._renderer=t,this._elementRef=e,this.onChange=function(t){},this.onTouched=function(){}}return t.prototype.writeValue=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"checked",t)},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t}(),Kd=new xt("CompositionEventMode"),$d=function(){function t(t,e,n){var r;this._renderer=t,this._elementRef=e,this._compositionMode=n,this.onChange=function(t){},this.onTouched=function(){},this._composing=!1,null==this._compositionMode&&(this._compositionMode=(r=Gc()?Gc().getUserAgent():"",!/android (\d+)/.test(r.toLowerCase())))}return t.prototype.writeValue=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==t?"":t)},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._handleInput=function(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)},t.prototype._compositionStart=function(){this._composing=!0},t.prototype._compositionEnd=function(t){this._composing=!1,this._compositionMode&&this.onChange(t)},t}();function Jd(t){return t.validate?function(e){return t.validate(e)}:t}function Xd(t){return t.validate?function(e){return t.validate(e)}:t}var tv=function(){function t(t,e){this._renderer=t,this._elementRef=e,this.onChange=function(t){},this.onTouched=function(){}}return t.prototype.writeValue=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==t?"":t)},t.prototype.registerOnChange=function(t){this.onChange=function(e){t(""==e?null:parseFloat(e))}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t}();function ev(){throw new Error("unimplemented")}var nv=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._parent=null,e.name=null,e.valueAccessor=null,e._rawValidators=[],e._rawAsyncValidators=[],e}return o(e,t),Object.defineProperty(e.prototype,"validator",{get:function(){return ev()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return ev()},enumerable:!0,configurable:!0}),e}(Fd),rv=function(){function t(){this._accessors=[]}return t.prototype.add=function(t,e){this._accessors.push([t,e])},t.prototype.remove=function(t){for(var e=this._accessors.length-1;e>=0;--e)if(this._accessors[e][1]===t)return void this._accessors.splice(e,1)},t.prototype.select=function(t){var e=this;this._accessors.forEach(function(n){e._isSameGroup(n,t)&&n[1]!==t&&n[1].fireUncheck(t.value)})},t.prototype._isSameGroup=function(t,e){return!!t[0].control&&t[0]._parent===e._control._parent&&t[1].name===e.name},t}(),ov=function(){function t(t,e,n,r){this._renderer=t,this._elementRef=e,this._registry=n,this._injector=r,this.onChange=function(){},this.onTouched=function(){}}return t.prototype.ngOnInit=function(){this._control=this._injector.get(nv),this._checkName(),this._registry.add(this._control,this)},t.prototype.ngOnDestroy=function(){this._registry.remove(this)},t.prototype.writeValue=function(t){this._state=t===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)},t.prototype.registerOnChange=function(t){var e=this;this._fn=t,this.onChange=function(){t(e.value),e._registry.select(e)}},t.prototype.fireUncheck=function(t){this.writeValue(t)},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._checkName=function(){this.name&&this.formControlName&&this.name!==this.formControlName&&this._throwNameError(),!this.name&&this.formControlName&&(this.name=this.formControlName)},t.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 ')},t}(),iv='\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 });',av='\n <form>\n <div ngModelGroup="person">\n <input [(ngModel)]="person.name" name="firstName">\n </div>\n </form>';function uv(t,e){return c(e.path,[t])}function sv(t,e){t||cv(e,"Cannot find control with"),e.valueAccessor||cv(e,"No value accessor for form control with"),t.validator=Gd.compose([t.validator,e.validator]),t.asyncValidator=Gd.composeAsync([t.asyncValidator,e.asyncValidator]),e.valueAccessor.writeValue(t.value),function(t,e){e.valueAccessor.registerOnChange(function(n){t._pendingValue=n,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&lv(t,e)})}(t,e),function(t,e){t.registerOnChange(function(t,n){e.valueAccessor.writeValue(t),n&&e.viewToModelUpdate(t)})}(t,e),function(t,e){e.valueAccessor.registerOnTouched(function(){t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&lv(t,e),"submit"!==t.updateOn&&t.markAsTouched()})}(t,e),e.valueAccessor.setDisabledState&&t.registerOnDisabledChange(function(t){e.valueAccessor.setDisabledState(t)}),e._rawValidators.forEach(function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(function(){return t.updateValueAndValidity()})}),e._rawAsyncValidators.forEach(function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(function(){return t.updateValueAndValidity()})})}function lv(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function cv(t,e){var n;throw n=t.path.length>1?"path: '"+t.path.join(" -> ")+"'":t.path[0]?"name: '"+t.path+"'":"unspecified name attribute",new Error(e+" "+n)}function fv(t){return null!=t?Gd.compose(t.map(Jd)):null}function pv(t){return null!=t?Gd.composeAsync(t.map(Xd)):null}var hv=[Yd,function(){function t(t,e){this._renderer=t,this._elementRef=e,this.onChange=function(t){},this.onTouched=function(){}}return t.prototype.writeValue=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(t))},t.prototype.registerOnChange=function(t){this.onChange=function(e){t(""==e?null:parseFloat(e))}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t}(),tv,function(){function t(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=function(t){},this.onTouched=function(){},this._compareWith=Mt}return Object.defineProperty(t.prototype,"compareWith",{set:function(t){if("function"!=typeof t)throw new Error("compareWith must be a function, but received "+JSON.stringify(t));this._compareWith=t},enumerable:!0,configurable:!0}),t.prototype.writeValue=function(t){this.value=t;var e=this._getOptionId(t);null==e&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);var n=function(t,e){return null==t?""+e:(e&&"object"==typeof e&&(e="Object"),(t+": "+e).slice(0,50))}(e,t);this._renderer.setProperty(this._elementRef.nativeElement,"value",n)},t.prototype.registerOnChange=function(t){var e=this;this.onChange=function(n){e.value=e._getOptionValue(n),t(e.value)}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._registerOption=function(){return(this._idCounter++).toString()},t.prototype._getOptionId=function(t){var e,n;try{for(var r=s(Array.from(this._optionMap.keys())),o=r.next();!o.done;o=r.next()){var i=o.value;if(this._compareWith(this._optionMap.get(i),t))return i}}catch(a){e={error:a}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(e)throw e.error}}return null},t.prototype._getOptionValue=function(t){var e=function(t){return t.split(":")[0]}(t);return this._optionMap.has(e)?this._optionMap.get(e):t},t}(),function(){function t(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=function(t){},this.onTouched=function(){},this._compareWith=Mt}return Object.defineProperty(t.prototype,"compareWith",{set:function(t){if("function"!=typeof t)throw new Error("compareWith must be a function, but received "+JSON.stringify(t));this._compareWith=t},enumerable:!0,configurable:!0}),t.prototype.writeValue=function(t){var e,n=this;if(this.value=t,Array.isArray(t)){var r=t.map(function(t){return n._getOptionId(t)});e=function(t,e){t._setSelected(r.indexOf(e.toString())>-1)}}else e=function(t,e){t._setSelected(!1)};this._optionMap.forEach(e)},t.prototype.registerOnChange=function(t){var e=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=e._getOptionValue(a.value);r.push(u)}else for(o=n.options,i=0;i<o.length;i++)(a=o.item(i)).selected&&(u=e._getOptionValue(a.value),r.push(u));e.value=r,t(r)}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._registerOption=function(t){var e=(this._idCounter++).toString();return this._optionMap.set(e,t),e},t.prototype._getOptionId=function(t){var e,n;try{for(var r=s(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,t))return i}}catch(a){e={error:a}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(e)throw e.error}}return null},t.prototype._getOptionValue=function(t){var e=function(t){return t.split(":")[0]}(t);return this._optionMap.has(e)?this._optionMap.get(e)._value:t},t}(),ov],dv=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.ngOnInit=function(){this._checkParentType(),this.formDirective.addFormGroup(this)},e.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeFormGroup(this)},Object.defineProperty(e.prototype,"control",{get:function(){return this.formDirective.getFormGroup(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return uv(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return fv(this._validators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return pv(this._asyncValidators)},enumerable:!0,configurable:!0}),e.prototype._checkParentType=function(){},e}(Hd),vv=function(){function t(t){this._cd=t}return Object.defineProperty(t.prototype,"ngClassUntouched",{get:function(){return!!this._cd.control&&this._cd.control.untouched},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassTouched",{get:function(){return!!this._cd.control&&this._cd.control.touched},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassPristine",{get:function(){return!!this._cd.control&&this._cd.control.pristine},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassDirty",{get:function(){return!!this._cd.control&&this._cd.control.dirty},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassValid",{get:function(){return!!this._cd.control&&this._cd.control.valid},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassInvalid",{get:function(){return!!this._cd.control&&this._cd.control.invalid},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassPending",{get:function(){return!!this._cd.control&&this._cd.control.pending},enumerable:!0,configurable:!0}),t}(),gv=function(t){function e(e){return t.call(this,e)||this}return o(e,t),e}(vv),yv=function(t){function e(e){return t.call(this,e)||this}return o(e,t),e}(vv);function mv(t){var e=_v(t)?t.validators:t;return Array.isArray(e)?fv(e):e||null}function bv(t,e){var n=_v(e)?e.asyncValidators:t;return Array.isArray(n)?pv(n):n||null}function _v(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}var wv=function(){function t(t,e){this.validator=t,this.asyncValidator=e,this._onCollectionChange=function(){},this.pristine=!0,this.touched=!1,this._onDisabledChange=[]}return Object.defineProperty(t.prototype,"parent",{get:function(){return this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"valid",{get:function(){return"VALID"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"invalid",{get:function(){return"INVALID"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pending",{get:function(){return"PENDING"==this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return"DISABLED"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"enabled",{get:function(){return"DISABLED"!==this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dirty",{get:function(){return!this.pristine},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"untouched",{get:function(){return!this.touched},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"updateOn",{get:function(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"},enumerable:!0,configurable:!0}),t.prototype.setValidators=function(t){this.validator=mv(t)},t.prototype.setAsyncValidators=function(t){this.asyncValidator=bv(t)},t.prototype.clearValidators=function(){this.validator=null},t.prototype.clearAsyncValidators=function(){this.asyncValidator=null},t.prototype.markAsTouched=function(t){void 0===t&&(t={}),this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)},t.prototype.markAsUntouched=function(t){void 0===t&&(t={}),this.touched=!1,this._pendingTouched=!1,this._forEachChild(function(t){t.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)},t.prototype.markAsDirty=function(t){void 0===t&&(t={}),this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)},t.prototype.markAsPristine=function(t){void 0===t&&(t={}),this.pristine=!0,this._pendingDirty=!1,this._forEachChild(function(t){t.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)},t.prototype.markAsPending=function(t){void 0===t&&(t={}),this.status="PENDING",!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)},t.prototype.disable=function(t){void 0===t&&(t={}),this.status="DISABLED",this.errors=null,this._forEachChild(function(e){e.disable(i({},t,{onlySelf:!0}))}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(t),this._onDisabledChange.forEach(function(t){return t(!0)})},t.prototype.enable=function(t){void 0===t&&(t={}),this.status="VALID",this._forEachChild(function(e){e.enable(i({},t,{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(t),this._onDisabledChange.forEach(function(t){return t(!1)})},t.prototype._updateAncestors=function(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),this._parent._updatePristine(),this._parent._updateTouched())},t.prototype.setParent=function(t){this._parent=t},t.prototype.updateValueAndValidity=function(t){void 0===t&&(t={}),this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),"VALID"!==this.status&&"PENDING"!==this.status||this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)},t.prototype._updateTreeValidity=function(t){void 0===t&&(t={emitEvent:!0}),this._forEachChild(function(e){return e._updateTreeValidity(t)}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})},t.prototype._setInitialStatus=function(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"},t.prototype._runValidator=function(){return this.validator?this.validator(this):null},t.prototype._runAsyncValidator=function(t){var e=this;if(this.asyncValidator){this.status="PENDING";var n=qd(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(function(n){return e.setErrors(n,{emitEvent:t})})}},t.prototype._cancelExistingSubscription=function(){this._asyncValidationSubscription&&this._asyncValidationSubscription.unsubscribe()},t.prototype.setErrors=function(t,e){void 0===e&&(e={}),this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)},t.prototype.get=function(t){return function(t,e,n){return null==e?null:(e instanceof Array||(e=e.split(".")),e instanceof Array&&0===e.length?null:e.reduce(function(t,e){return t instanceof Sv?t.controls.hasOwnProperty(e)?t.controls[e]:null:t instanceof Ev&&t.at(e)||null},t))}(this,t)},t.prototype.getError=function(t,e){var n=e?this.get(e):this;return n&&n.errors?n.errors[t]:null},t.prototype.hasError=function(t,e){return!!this.getError(t,e)},Object.defineProperty(t.prototype,"root",{get:function(){for(var t=this;t._parent;)t=t._parent;return t},enumerable:!0,configurable:!0}),t.prototype._updateControlsErrors=function(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)},t.prototype._initObservables=function(){this.valueChanges=new Vr,this.statusChanges=new Vr},t.prototype._calculateStatus=function(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"},t.prototype._anyControlsHaveStatus=function(t){return this._anyControls(function(e){return e.status===t})},t.prototype._anyControlsDirty=function(){return this._anyControls(function(t){return t.dirty})},t.prototype._anyControlsTouched=function(){return this._anyControls(function(t){return t.touched})},t.prototype._updatePristine=function(t){void 0===t&&(t={}),this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)},t.prototype._updateTouched=function(t){void 0===t&&(t={}),this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)},t.prototype._isBoxedValue=function(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t},t.prototype._registerOnCollectionChange=function(t){this._onCollectionChange=t},t.prototype._setUpdateStrategy=function(t){_v(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)},t}(),Cv=function(t){function e(e,n,r){void 0===e&&(e=null);var o=t.call(this,mv(n),bv(r,n))||this;return o._onChange=[],o._applyFormState(e),o._setUpdateStrategy(n),o.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),o._initObservables(),o}return o(e,t),e.prototype.setValue=function(t,e){var n=this;void 0===e&&(e={}),this.value=this._pendingValue=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(function(t){return t(n.value,!1!==e.emitViewToModelChange)}),this.updateValueAndValidity(e)},e.prototype.patchValue=function(t,e){void 0===e&&(e={}),this.setValue(t,e)},e.prototype.reset=function(t,e){void 0===t&&(t=null),void 0===e&&(e={}),this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1},e.prototype._updateValue=function(){},e.prototype._anyControls=function(t){return!1},e.prototype._allControlsDisabled=function(){return this.disabled},e.prototype.registerOnChange=function(t){this._onChange.push(t)},e.prototype._clearChangeFns=function(){this._onChange=[],this._onDisabledChange=[],this._onCollectionChange=function(){}},e.prototype.registerOnDisabledChange=function(t){this._onDisabledChange.push(t)},e.prototype._forEachChild=function(t){},e.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))},e.prototype._applyFormState=function(t){this._isBoxedValue(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t},e}(wv),Sv=function(t){function e(e,n,r){var o=t.call(this,mv(n),bv(r,n))||this;return o.controls=e,o._initObservables(),o._setUpdateStrategy(n),o._setUpControls(),o.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),o}return o(e,t),e.prototype.registerControl=function(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)},e.prototype.addControl=function(t,e){this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.removeControl=function(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),delete this.controls[t],this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.setControl=function(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.contains=function(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled},e.prototype.setValue=function(t,e){var n=this;void 0===e&&(e={}),this._checkAllValuesPresent(t),Object.keys(t).forEach(function(r){n._throwIfControlMissing(r),n.controls[r].setValue(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)},e.prototype.patchValue=function(t,e){var n=this;void 0===e&&(e={}),Object.keys(t).forEach(function(r){n.controls[r]&&n.controls[r].patchValue(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)},e.prototype.reset=function(t,e){void 0===t&&(t={}),void 0===e&&(e={}),this._forEachChild(function(n,r){n.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e),this._updatePristine(e),this._updateTouched(e)},e.prototype.getRawValue=function(){return this._reduceChildren({},function(t,e,n){return t[n]=e instanceof Cv?e.value:e.getRawValue(),t})},e.prototype._syncPendingControls=function(){var t=this._reduceChildren(!1,function(t,e){return!!e._syncPendingControls()||t});return t&&this.updateValueAndValidity({onlySelf:!0}),t},e.prototype._throwIfControlMissing=function(t){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[t])throw new Error("Cannot find form control with name: "+t+".")},e.prototype._forEachChild=function(t){var e=this;Object.keys(this.controls).forEach(function(n){return t(e.controls[n],n)})},e.prototype._setUpControls=function(){var t=this;this._forEachChild(function(e){e.setParent(t),e._registerOnCollectionChange(t._onCollectionChange)})},e.prototype._updateValue=function(){this.value=this._reduceValue()},e.prototype._anyControls=function(t){var e=this,n=!1;return this._forEachChild(function(r,o){n=n||e.contains(o)&&t(r)}),n},e.prototype._reduceValue=function(){var t=this;return this._reduceChildren({},function(e,n,r){return(n.enabled||t.disabled)&&(e[r]=n.value),e})},e.prototype._reduceChildren=function(t,e){var n=t;return this._forEachChild(function(t,r){n=e(n,t,r)}),n},e.prototype._allControlsDisabled=function(){var t,e;try{for(var n=s(Object.keys(this.controls)),r=n.next();!r.done;r=n.next())if(this.controls[r.value].enabled)return!1}catch(o){t={error:o}}finally{try{r&&!r.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}return Object.keys(this.controls).length>0||this.disabled},e.prototype._checkAllValuesPresent=function(t){this._forEachChild(function(e,n){if(void 0===t[n])throw new Error("Must supply a value for form control with name: '"+n+"'.")})},e}(wv),Ev=function(t){function e(e,n,r){var o=t.call(this,mv(n),bv(r,n))||this;return o.controls=e,o._initObservables(),o._setUpdateStrategy(n),o._setUpControls(),o.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),o}return o(e,t),e.prototype.at=function(t){return this.controls[t]},e.prototype.push=function(t){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.insert=function(t,e){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity()},e.prototype.removeAt=function(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),this.controls.splice(t,1),this.updateValueAndValidity()},e.prototype.setControl=function(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),this.controls.splice(t,1),e&&(this.controls.splice(t,0,e),this._registerControl(e)),this.updateValueAndValidity(),this._onCollectionChange()},Object.defineProperty(e.prototype,"length",{get:function(){return this.controls.length},enumerable:!0,configurable:!0}),e.prototype.setValue=function(t,e){var n=this;void 0===e&&(e={}),this._checkAllValuesPresent(t),t.forEach(function(t,r){n._throwIfControlMissing(r),n.at(r).setValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)},e.prototype.patchValue=function(t,e){var n=this;void 0===e&&(e={}),t.forEach(function(t,r){n.at(r)&&n.at(r).patchValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)},e.prototype.reset=function(t,e){void 0===t&&(t=[]),void 0===e&&(e={}),this._forEachChild(function(n,r){n.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e),this._updatePristine(e),this._updateTouched(e)},e.prototype.getRawValue=function(){return this.controls.map(function(t){return t instanceof Cv?t.value:t.getRawValue()})},e.prototype._syncPendingControls=function(){var t=this.controls.reduce(function(t,e){return!!e._syncPendingControls()||t},!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t},e.prototype._throwIfControlMissing=function(t){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(t))throw new Error("Cannot find form control at index "+t)},e.prototype._forEachChild=function(t){this.controls.forEach(function(e,n){t(e,n)})},e.prototype._updateValue=function(){var t=this;this.value=this.controls.filter(function(e){return e.enabled||t.disabled}).map(function(t){return t.value})},e.prototype._anyControls=function(t){return this.controls.some(function(e){return e.enabled&&t(e)})},e.prototype._setUpControls=function(){var t=this;this._forEachChild(function(e){return t._registerControl(e)})},e.prototype._checkAllValuesPresent=function(t){this._forEachChild(function(e,n){if(void 0===t[n])throw new Error("Must supply a value for form control at index: "+n+".")})},e.prototype._allControlsDisabled=function(){var t,e;try{for(var n=s(this.controls),r=n.next();!r.done;r=n.next())if(r.value.enabled)return!1}catch(o){t={error:o}}finally{try{r&&!r.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}return this.controls.length>0||this.disabled},e.prototype._registerControl=function(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)},e}(wv),xv=Promise.resolve(null),Tv=function(t){function e(e,n){var r=t.call(this)||this;return r.submitted=!1,r._directives=[],r.ngSubmit=new Vr,r.form=new Sv({},fv(e),pv(n)),r}return o(e,t),e.prototype.ngAfterViewInit=function(){this._setUpdateStrategy()},Object.defineProperty(e.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"controls",{get:function(){return this.form.controls},enumerable:!0,configurable:!0}),e.prototype.addControl=function(t){var e=this;xv.then(function(){var n=e._findContainer(t.path);t.control=n.registerControl(t.name,t.control),sv(t.control,t),t.control.updateValueAndValidity({emitEvent:!1}),e._directives.push(t)})},e.prototype.getControl=function(t){return this.form.get(t.path)},e.prototype.removeControl=function(t){var e=this;xv.then(function(){var n,r,o=e._findContainer(t.path);o&&o.removeControl(t.name),(r=(n=e._directives).indexOf(t))>-1&&n.splice(r,1)})},e.prototype.addFormGroup=function(t){var e=this;xv.then(function(){var n=e._findContainer(t.path),r=new Sv({});(function(t,e){null==t&&cv(e,"Cannot find control with"),t.validator=Gd.compose([t.validator,e.validator]),t.asyncValidator=Gd.composeAsync([t.asyncValidator,e.asyncValidator])})(r,t),n.registerControl(t.name,r),r.updateValueAndValidity({emitEvent:!1})})},e.prototype.removeFormGroup=function(t){var e=this;xv.then(function(){var n=e._findContainer(t.path);n&&n.removeControl(t.name)})},e.prototype.getFormGroup=function(t){return this.form.get(t.path)},e.prototype.updateModel=function(t,e){var n=this;xv.then(function(){n.form.get(t.path).setValue(e)})},e.prototype.setValue=function(t){this.control.setValue(t)},e.prototype.onSubmit=function(t){return this.submitted=!0,e=this._directives,this.form._syncPendingControls(),e.forEach(function(t){var e=t.control;"submit"===e.updateOn&&e._pendingChange&&(t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)}),this.ngSubmit.emit(t),!1;var e},e.prototype.onReset=function(){this.resetForm()},e.prototype.resetForm=function(t){void 0===t&&(t=void 0),this.form.reset(t),this.submitted=!1},e.prototype._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)},e.prototype._findContainer=function(t){return t.pop(),t.length?this.form.get(t):this.form},e}(Hd),kv=function(){function t(){}return t.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 ')},t.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 "+iv+"\n\n Option 2: Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n "+av)},t.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}">')},t.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 "+iv+"\n\n Option 2: Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n "+av)},t.ngFormWarning=function(){console.warn("\n It looks like you're using 'ngForm'.\n\n Support for using the 'ngForm' element selector has been deprecated in Angular v6 and will be removed\n in Angular v9.\n\n Use 'ng-form' instead.\n\n Before:\n <ngForm #myForm=\"ngForm\">\n\n After:\n <ng-form #myForm=\"ngForm\">\n ")},t}(),Av=new xt("NgFormSelectorWarning"),Ov=function(t){function e(e,n,r){var o=t.call(this)||this;return o._parent=e,o._validators=n,o._asyncValidators=r,o}var n;return o(e,t),n=e,e.prototype._checkParentType=function(){this._parent instanceof n||this._parent instanceof Tv||kv.modelGroupParentException()},e}(dv),Pv=Promise.resolve(null),Iv=function(t){function e(e,n,r,o){var i=t.call(this)||this;return i.control=new Cv,i._registered=!1,i.update=new Vr,i._parent=e,i._rawValidators=n||[],i._rawAsyncValidators=r||[],i.valueAccessor=function(t,e){if(!e)return null;Array.isArray(e)||cv(t,"Value accessor was not provided as an array for form control with");var n=void 0,r=void 0,o=void 0;return e.forEach(function(e){var i;e.constructor===$d?n=e:(i=e,hv.some(function(t){return i.constructor===t})?(r&&cv(t,"More than one built-in value accessor matches form control with"),r=e):(o&&cv(t,"More than one custom value accessor matches form control with"),o=e))}),o||r||n||(cv(t,"No valid value accessor for form control with"),null)}(i,o),i}return o(e,t),e.prototype.ngOnChanges=function(t){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in t&&this._updateDisabled(t),function(t,e){if(!t.hasOwnProperty("model"))return!1;var n=t.model;return!!n.isFirstChange()||!Mt(e,n.currentValue)}(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)},e.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)},Object.defineProperty(e.prototype,"path",{get:function(){return this._parent?uv(this.name,this._parent):[this.name]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return fv(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return pv(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),e.prototype.viewToModelUpdate=function(t){this.viewModel=t,this.update.emit(t)},e.prototype._setUpControl=function(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0},e.prototype._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)},e.prototype._isStandalone=function(){return!this._parent||!(!this.options||!this.options.standalone)},e.prototype._setUpStandalone=function(){sv(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})},e.prototype._checkForErrors=function(){this._isStandalone()||this._checkParentType(),this._checkName()},e.prototype._checkParentType=function(){!(this._parent instanceof Ov)&&this._parent instanceof dv?kv.formGroupNameException():this._parent instanceof Ov||this._parent instanceof Tv||kv.modelParentException()},e.prototype._checkName=function(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()||this.name||kv.missingNameException()},e.prototype._updateValue=function(t){var e=this;Pv.then(function(){e.control.setValue(t,{emitViewToModelChange:!1})})},e.prototype._updateDisabled=function(t){var e=this,n=t.isDisabled.currentValue,r=""===n||n&&"false"!==n;Pv.then(function(){r&&!e.control.disabled?e.control.disable():!r&&e.control.disabled&&e.control.enable()})},e}(nv),Rv=function(){return function(){}}(),Nv=function(){return function(){}}(),Dv=function(){function t(){}var e;return e=t,t.withConfig=function(t){return{ngModule:e,providers:[{provide:Av,useValue:t.warnOnDeprecatedNgFormSelector}]}},t}(),Vv=function(){function t(){this.logSource=new nl({id:null,text:null,date:null}),this.selectedLog=this.logSource.asObservable(),this.stateSource=new nl(!0),this.stateClear=this.stateSource.asObservable(),this.logs=[]}return t.prototype.getLogs=function(){return this.logs=null===localStorage.getItem("logs")?[]:JSON.parse(localStorage.getItem("logs")),el(this.logs.sort(function(t,e){return e.date-t.date}))},t.prototype.setFormLog=function(t){this.logSource.next(t)},t.prototype.addLog=function(t){this.logs.unshift(t),localStorage.setItem("logs",JSON.stringify(this.logs))},t.prototype.updateLog=function(t){var e=this;this.logs.forEach(function(n,r){t.id===n.id&&e.logs.splice(r,1)}),this.logs.unshift(t),localStorage.setItem("logs",JSON.stringify(this.logs))},t.prototype.deleteLog=function(t){var e=this;this.logs.forEach(function(n,r){t.id===n.id&&e.logs.splice(r,1)}),localStorage.setItem("logs",JSON.stringify(this.logs))},t.prototype.clearState=function(){this.stateSource.next(!0)},t.ngInjectableDef=Ct({factory:function(){return new t},token:t,providedIn:"root"}),t}(),Mv=function(){function t(t){this.logService=t,this.isNew=!0}return t.prototype.ngOnInit=function(){var t=this;this.logService.selectedLog.subscribe(function(e){null!=e.id&&(t.isNew=!1,t.id=e.id,t.text=e.text,t.date=e.date)})},t.prototype.onSubmit=function(){if(this.isNew){var t={id:this.generateId(),text:this.text,date:new Date};this.logService.addLog(t)}else{var e={id:this.id,text:this.text,date:new Date};this.logService.updateLog(e)}this.clearState()},t.prototype.clearState=function(){this.isNew=!0,this.id="",this.text="",this.date="",this.logService.clearState()},t.prototype.generateId=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(t){var e=16*Math.random()|0;return("x"==t?e:3&e|8).toString(16)})},t}(),jv=ra({encapsulation:0,styles:[[""]],data:{}});function Uv(t){return zu(0,[(t()(),Pa(0,0,null,null,15,"div",[["class","card card-body mb-3"]],null,null,null,null,null)),(t()(),Pa(1,0,null,null,14,"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(t,e,n){var r=!0,o=t.component;return"submit"===e&&(r=!1!==iu(t,3).onSubmit(n)&&r),"reset"===e&&(r=!1!==iu(t,3).onReset()&&r),"ngSubmit"===e&&(r=!1!==o.onSubmit()&&r),r},null,null)),mu(2,16384,null,0,Rv,[],null,null),mu(3,4210688,null,0,Tv,[[8,null],[8,null]],null,{ngSubmit:"ngSubmit"}),bu(2048,null,Hd,null,[Tv]),mu(5,16384,null,0,yv,[[4,Hd]],null,null),(t()(),Pa(6,0,null,null,6,"div",[["class","form-group"]],null,null,null,null,null)),(t()(),Pa(7,0,null,null,5,"input",[["class","form-control"],["name","text"],["placeholder","Add a log..."],["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(t,e,n){var r=!0,o=t.component;return"input"===e&&(r=!1!==iu(t,8)._handleInput(n.target.value)&&r),"blur"===e&&(r=!1!==iu(t,8).onTouched()&&r),"compositionstart"===e&&(r=!1!==iu(t,8)._compositionStart()&&r),"compositionend"===e&&(r=!1!==iu(t,8)._compositionEnd(n.target.value)&&r),"ngModelChange"===e&&(r=!1!==(o.text=n)&&r),r},null,null)),mu(8,16384,null,0,$d,[dr,cr,[2,Kd]],null,null),bu(1024,null,Qd,function(t){return[t]},[$d]),mu(10,671744,null,0,Iv,[[2,Hd],[8,null],[8,null],[6,Qd]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),bu(2048,null,nv,null,[Iv]),mu(12,16384,null,0,gv,[[4,nv]],null,null),(t()(),Pa(13,0,null,null,0,"input",[["class","btn btn-light"],["type","submit"],["value","Add Log"]],[[8,"disabled",0]],null,null,null,null)),(t()(),Pa(14,0,null,null,1,"button",[["class","btn btn-warning"],["type","button"]],[[8,"hidden",0]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.clearState()&&r),r},null,null)),(t()(),Lu(-1,null,["Clear"]))],function(t,e){t(e,10,0,"text",e.component.text)},function(t,e){var n=e.component;t(e,1,0,iu(e,5).ngClassUntouched,iu(e,5).ngClassTouched,iu(e,5).ngClassPristine,iu(e,5).ngClassDirty,iu(e,5).ngClassValid,iu(e,5).ngClassInvalid,iu(e,5).ngClassPending),t(e,7,0,iu(e,12).ngClassUntouched,iu(e,12).ngClassTouched,iu(e,12).ngClassPristine,iu(e,12).ngClassDirty,iu(e,12).ngClassValid,iu(e,12).ngClassInvalid,iu(e,12).ngClassPending),t(e,13,0,!n.text),t(e,14,0,!n.text)})}var Lv=function(){function t(t){this.logService=t,this.loaded=!1}return t.prototype.ngOnInit=function(){var t=this;this.logService.stateClear.subscribe(function(e){e&&(t.selectedLog={id:"",text:"",date:""})}),this.logService.getLogs().subscribe(function(e){t.logs=e,t.loaded=!0})},t.prototype.onSelect=function(t){this.logService.setFormLog(t),this.selectedLog=t},t.prototype.onDelete=function(t){confirm("Are you sure?")&&this.logService.deleteLog(t)},t}(),Fv=ra({encapsulation:0,styles:[[".log-date[_ngcontent-%COMP%]{color:#777}"]],data:{}});function Hv(t){return zu(0,[(t()(),Pa(0,0,null,null,6,"li",[["class","list-group-item d-flex justify-content-between align-items-center"]],[[2,"list-group-item-secondary",null]],null,null,null,null)),(t()(),Pa(1,0,null,null,1,"a",[["href","#"]],null,[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.onSelect(t.context.$implicit)&&r),r},null,null)),(t()(),Lu(2,null,["",""])),(t()(),Pa(3,0,null,null,2,"span",[["class","log-date"]],null,null,null,null,null)),(t()(),Lu(4,null,["",""])),function(t,e,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:5,flags:128,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:-1,childCount:0,bindings:r,bindingFlags:Aa(r),outputs:[],element:null,provider:null,text:null,query:null,ngContent:null}}(0,0,new Array(3)),(t()(),Pa(6,0,null,null,0,"i",[["class","fa fa-remove"]],null,[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.onDelete(t.context.$implicit)&&r),r},null,null))],null,function(t,e){t(e,0,0,e.component.selectedLog===e.context.$implicit),t(e,2,0,e.context.$implicit.text);var n=function(t,e,n,r){if(Ie.isWrapped(r)){r=Ie.unwrap(r);var o=t.def.nodes[4].bindingIndex+0,i=Ie.unwrap(t.oldValues[o]);t.oldValues[o]=new Ie(i)}return r}(e,0,0,t(e,5,0,iu(e.parent.parent,0),e.context.$implicit.date,"short"));t(e,4,0,n)})}function zv(t){return zu(0,[(t()(),Pa(0,0,null,null,2,"ul",[["class","list-group"]],null,null,null,null,null)),(t()(),Oa(16777216,null,null,1,null,Hv)),mu(2,278528,null,0,Rc,[pi,Mr,Pi],{ngForOf:[0,"ngForOf"]},null)],function(t,e){t(e,2,0,e.component.logs)},null)}function Bv(t){return zu(0,[(t()(),Pa(0,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),Pa(1,0,null,null,1,"h5",[],null,null,null,null,null)),(t()(),Lu(-1,null,["There are no logs in the system"]))],null,null)}function Gv(t){return zu(0,[(t()(),Pa(0,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),Pa(1,0,null,null,1,"h5",[],null,null,null,null,null)),(t()(),Lu(-1,null,["Loading..."]))],null,null)}function Zv(t){return zu(0,[(e=0,n=jc,r=[Mi],_u(-1,e|=16,null,0,n,n,r)),(t()(),Oa(16777216,null,null,1,null,zv)),mu(2,16384,null,0,Dc,[pi,Mr],{ngIf:[0,"ngIf"]},null),(t()(),Oa(16777216,null,null,1,null,Bv)),mu(4,16384,null,0,Dc,[pi,Mr],{ngIf:[0,"ngIf"]},null),(t()(),Oa(16777216,null,null,1,null,Gv)),mu(6,16384,null,0,Dc,[pi,Mr],{ngIf:[0,"ngIf"]},null)],function(t,e){var n=e.component;t(e,2,0,n.loaded&&n.logs.length>0),t(e,4,0,n.loaded&&0==n.logs.length),t(e,6,0,!n.loaded)},null);var e,n,r}var qv=ra({encapsulation:0,styles:[[""]],data:{}});function Wv(t){return zu(0,[(t()(),Pa(0,0,null,null,1,"app-navbar",[],null,null,null,Ud,jd)),mu(1,114688,null,0,Md,[],null,null),(t()(),Pa(2,0,null,null,4,"div",[["class","container"]],null,null,null,null,null)),(t()(),Pa(3,0,null,null,1,"app-log-form",[],null,null,null,Uv,jv)),mu(4,114688,null,0,Mv,[Vv],null,null),(t()(),Pa(5,0,null,null,1,"app-logs",[],null,null,null,Zv,Fv)),mu(6,114688,null,0,Lv,[Vv],null,null)],function(t,e){t(e,1,0),t(e,4,0),t(e,6,0)},null)}function Qv(t){return zu(0,[(t()(),Pa(0,0,null,null,1,"app-root",[],null,null,null,Wv,qv)),mu(1,49152,null,0,Js,[],null,null)],null,null)}var Yv=Qa("app-root",Js,Qv,{},{},[]),Kv=function(){return function(){}}(),$v=Ys($s,[Js],function(t){return function(t){for(var e={},n=[],r=!1,o=0;o<t.length;o++){var i=t[o];i.token===Cr&&!0===i.value&&(r=!0),1073741824&i.flags&&n.push(i.token),i.index=o,e[ta(i.token)]=i}return{factory:null,providersByKey:e,providers:t,modules:n,isRoot:r}}([La(512,Jn,Xn,[[8,[Vd,Yv]],[3,Jn],er]),La(5120,Mi,Li,[[3,Mi]]),La(4608,Oc,Pc,[Mi,[2,Ac]]),La(5120,So,Eo,[]),La(5120,Pi,ji,[]),La(5120,Ii,Ui,[]),La(4608,zf,Bf,[Lc]),La(6144,uo,null,[zf]),La(4608,Vf,jf,[]),La(5120,sf,function(t,e,n,r,o,i,a,u){return[new Nf(t,e,n),new Hf(r),new Uf(o,i,a,u)]},[Lc,Fo,ko,Lc,Lc,Vf,Oo,[2,Mf]]),La(4608,lf,lf,[sf,Fo]),La(135680,pf,pf,[Lc]),La(4608,bf,bf,[lf,pf]),La(6144,pr,null,[bf]),La(6144,ff,null,[pf]),La(4608,Qo,Qo,[Fo]),La(5120,ah,kd,[ud]),La(4608,dd,dd,[]),La(6144,pd,null,[dd]),La(135680,vd,vd,[ud,ii,No,Yt,pd]),La(4608,hd,hd,[]),La(5120,gd,Cd,[ud,Hc,yd]),La(5120,Id,Pd,[Ad]),La(5120,Ao,function(t){return[t]},[Id]),La(4608,rv,rv,[]),La(4608,Vv,Vv,[]),La(1073742336,Uc,Uc,[]),La(1024,mo,$f,[]),La(1024,Jo,function(){return[_d()]},[]),La(512,Ad,Ad,[Yt]),La(1024,wo,function(t,e){return[(n=t,of("probe",uf),of("coreTokens",i({},af,(n||[]).reduce(function(t,e){return t[e.name]=e.token,t},{}))),function(){return uf}),Od(e)];var n},[[2,Jo],Ad]),La(512,Co,Co,[[2,wo]]),La(131584,ri,ri,[Fo,Oo,Yt,mo,Jn,Co]),La(1073742336,Fi,Fi,[ri]),La(1073742336,Jf,Jf,[[3,Jf]]),La(1024,md,Ed,[[3,ud]]),La(512,Up,Lp,[]),La(512,ld,ld,[]),La(256,yd,{},[]),La(1024,Bl,Sd,[Hl,[2,Gl],yd]),La(512,Zl,Zl,[Bl]),La(512,No,No,[]),La(512,ii,li,[No,[2,ui]]),La(1024,td,function(){return[[]]},[]),La(1024,ud,Td,[ri,Up,ld,Zl,Yt,ii,No,td,yd,[2,nd],[2,Jh]]),La(1073742336,wd,wd,[[2,md],[2,ud]]),La(1073742336,Kv,Kv,[]),La(1073742336,Nv,Nv,[]),La(1073742336,Dv,Dv,[]),La(1073742336,$s,$s,[]),La(256,Cr,!0,[])])});(function(){if(Ur)throw new Error("Cannot enable prod mode after platform setup.");jr=!1})(),Kf().bootstrapModuleFactory($v).catch(function(t){return console.error(t)})}},[[0,0]]]);