text: (window.webpackJsonp=window.webpackJsonp||[]).push([[1],{0:function(e,t,n){e.exports=n("zUnb")},crnd:function(e,t){function n(e){return Promise.resolve().then(function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t})}n.keys=function(){return[]},n.resolve=n,e.exports=n,n.id="crnd"},zUnb:function(e,t,n){"use strict";n.r(t);var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function o(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function a(e){var t="function"==typeof Symbol&&e[Symbol.iterator],n=0;return t?t.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}function u(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function s(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(u(arguments[t]));return e}var c=Array.isArray||function(e){return e&&"number"==typeof e.length};function l(e){return null!=e&&"object"==typeof e}function f(e){return"function"==typeof e}var p,h={e:{}};function d(){try{return p.apply(this,arguments)}catch(e){return h.e=e,h}}function v(e){return p=e,d}var y=function(e){function t(n){var r=e.call(this,n?n.length+" errors occurred during unsubscription:\n  "+n.map(function(e,t){return t+1+") "+e.toString()}).join("\n  "):"")||this;return r.errors=n,r.name="UnsubscriptionError",Object.setPrototypeOf(r,t.prototype),r}return o(t,e),t}(Error),g=function(){function e(e){this.closed=!1,this._parent=null,this._parents=null,this._subscriptions=null,e&&(this._unsubscribe=e)}var t;return e.prototype.unsubscribe=function(){var e,t=!1;if(!this.closed){var n=this._parent,r=this._parents,o=this._unsubscribe,i=this._subscriptions;this.closed=!0,this._parent=null,this._parents=null,this._subscriptions=null;for(var a=-1,u=r?r.length:0;n;)n.remove(this),n=++a<u&&r[a]||null;if(f(o)&&v(o).call(this)===h&&(t=!0,e=e||(h.e instanceof y?m(h.e.errors):[h.e])),c(i))for(a=-1,u=i.length;++a<u;){var s=i[a];if(l(s)&&v(s.unsubscribe).call(s)===h){t=!0,e=e||[];var p=h.e;p instanceof y?e=e.concat(m(p.errors)):e.push(p)}}if(t)throw new y(e)}},e.prototype.add=function(t){if(!t||t===e.EMPTY)return e.EMPTY;if(t===this)return this;var n=t;switch(typeof t){case"function":n=new e(t);case"object":if(n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if("function"!=typeof n._addParent){var r=n;(n=new e)._subscriptions=[r]}break;default:throw new Error("unrecognized teardown "+t+" added to Subscription.")}return(this._subscriptions||(this._subscriptions=[])).push(n),n._addParent(this),n},e.prototype.remove=function(e){var t=this._subscriptions;if(t){var n=t.indexOf(e);-1!==n&&t.splice(n,1)}},e.prototype._addParent=function(e){var t=this._parent,n=this._parents;t&&t!==e?n?-1===n.indexOf(e)&&n.push(e):this._parents=[e]:this._parent=e},e.EMPTY=((t=new e).closed=!0,t),e}();function m(e){return e.reduce(function(e,t){return e.concat(t instanceof y?t.errors:t)},[])}var w=!1,b={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){w=e},get useDeprecatedSynchronousErrorHandling(){return w}};function _(e){setTimeout(function(){throw e})}var C={closed:!0,next:function(e){},error:function(e){if(b.useDeprecatedSynchronousErrorHandling)throw e;_(e)},complete:function(){}},S="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("rxSubscriber"):"@@rxSubscriber",E=function(e){function t(t,n,r){var o,i=e.call(this)||this;switch(i.syncErrorValue=null,i.syncErrorThrown=!1,i.syncErrorThrowable=!1,i.isStopped=!1,arguments.length){case 0:i.destination=C;break;case 1:if(!t){i.destination=C;break}if("object"==typeof t){if((o=t)instanceof E||"syncErrorThrowable"in o&&o[S]){var a=t[S]();i.syncErrorThrowable=a.syncErrorThrowable,i.destination=a,a.add(i)}else i.syncErrorThrowable=!0,i.destination=new x(i,t);break}default:i.syncErrorThrowable=!0,i.destination=new x(i,t,n,r)}return i}return o(t,e),t.prototype[S]=function(){return this},t.create=function(e,n,r){var o=new t(e,n,r);return o.syncErrorThrowable=!1,o},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this))},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){this.destination.error(e),this.unsubscribe()},t.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},t.prototype._unsubscribeAndRecycle=function(){var e=this._parent,t=this._parents;return this._parent=null,this._parents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parent=e,this._parents=t,this},t}(g),x=function(e){function t(t,n,r,o){var i,a=e.call(this)||this;a._parentSubscriber=t;var u=a;return f(n)?i=n:n&&(i=n.next,r=n.error,o=n.complete,n!==C&&(f((u=Object.create(n)).unsubscribe)&&a.add(u.unsubscribe.bind(u)),u.unsubscribe=a.unsubscribe.bind(a))),a._context=u,a._next=i,a._error=r,a._complete=o,a}return o(t,e),t.prototype.next=function(e){if(!this.isStopped&&this._next){var t=this._parentSubscriber;b.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}},t.prototype.error=function(e){if(!this.isStopped){var t=this._parentSubscriber,n=b.useDeprecatedSynchronousErrorHandling;if(this._error)n&&t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else if(t.syncErrorThrowable)n?(t.syncErrorValue=e,t.syncErrorThrown=!0):_(e),this.unsubscribe();else{if(this.unsubscribe(),n)throw e;_(e)}}},t.prototype.complete=function(){var e=this;if(!this.isStopped){var t=this._parentSubscriber;if(this._complete){var n=function(){return e._complete.call(e._context)};b.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,n),this.unsubscribe()):(this.__tryOrUnsub(n),this.unsubscribe())}else this.unsubscribe()}},t.prototype.__tryOrUnsub=function(e,t){try{e.call(this._context,t)}catch(e){if(this.unsubscribe(),b.useDeprecatedSynchronousErrorHandling)throw e;_(e)}},t.prototype.__tryOrSetError=function(e,t,n){if(!b.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,n)}catch(t){return b.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=t,e.syncErrorThrown=!0,!0):(_(t),!0)}return!1},t.prototype._unsubscribe=function(){var e=this._parentSubscriber;this._context=null,this._parentSubscriber=null,e.unsubscribe()},t}(E),T="function"==typeof Symbol&&Symbol.observable||"@@observable";function k(){}function I(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return A(e)}function A(e){return e?1===e.length?e[0]:function(t){return e.reduce(function(e,t){return t(e)},t)}:k}var N=function(){function e(e){this._isScalar=!1,e&&(this._subscribe=e)}return e.prototype.lift=function(t){var n=new e;return n.source=this,n.operator=t,n},e.prototype.subscribe=function(e,t,n){var r=this.operator,o=function(e,t,n){if(e){if(e instanceof E)return e;if(e[S])return e[S]()}return e||t||n?new E(e,t,n):new E(C)}(e,t,n);if(r?r.call(o,this.source):o.add(this.source||b.useDeprecatedSynchronousErrorHandling&&!o.syncErrorThrowable?this._subscribe(o):this._trySubscribe(o)),b.useDeprecatedSynchronousErrorHandling&&o.syncErrorThrowable&&(o.syncErrorThrowable=!1,o.syncErrorThrown))throw o.syncErrorValue;return o},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){b.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),e.error(t)}},e.prototype.forEach=function(e,t){var n=this;return new(t=R(t))(function(t,r){var o;o=n.subscribe(function(t){try{e(t)}catch(e){r(e),o&&o.unsubscribe()}},r,t)})},e.prototype._subscribe=function(e){var t=this.source;return t&&t.subscribe(e)},e.prototype[T]=function(){return this},e.prototype.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return 0===e.length?this:A(e)(this)},e.prototype.toPromise=function(e){var t=this;return new(e=R(e))(function(e,n){var r;t.subscribe(function(e){return r=e},function(e){return n(e)},function(){return e(r)})})},e.create=function(t){return new e(t)},e}();function R(e){if(e||(e=b.Promise||Promise),!e)throw new Error("no Promise impl found");return e}var P=function(e){function t(){var n=e.call(this,"object unsubscribed")||this;return n.name="ObjectUnsubscribedError",Object.setPrototypeOf(n,t.prototype),n}return o(t,e),t}(Error),O=function(e){function t(t,n){var r=e.call(this)||this;return r.subject=t,r.subscriber=n,r.closed=!1,r}return o(t,e),t.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var e=this.subject,t=e.observers;if(this.subject=null,t&&0!==t.length&&!e.isStopped&&!e.closed){var n=t.indexOf(this.subscriber);-1!==n&&t.splice(n,1)}}},t}(g),D=function(e){function t(t){var n=e.call(this,t)||this;return n.destination=t,n}return o(t,e),t}(E),j=function(e){function t(){var t=e.call(this)||this;return t.observers=[],t.closed=!1,t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return o(t,e),t.prototype[S]=function(){return new D(this)},t.prototype.lift=function(e){var t=new M(this,this);return t.operator=e,t},t.prototype.next=function(e){if(this.closed)throw new P;if(!this.isStopped)for(var t=this.observers,n=t.length,r=t.slice(),o=0;o<n;o++)r[o].next(e)},t.prototype.error=function(e){if(this.closed)throw new P;this.hasError=!0,this.thrownError=e,this.isStopped=!0;for(var t=this.observers,n=t.length,r=t.slice(),o=0;o<n;o++)r[o].error(e);this.observers.length=0},t.prototype.complete=function(){if(this.closed)throw new P;this.isStopped=!0;for(var e=this.observers,t=e.length,n=e.slice(),r=0;r<t;r++)n[r].complete();this.observers.length=0},t.prototype.unsubscribe=function(){this.isStopped=!0,this.closed=!0,this.observers=null},t.prototype._trySubscribe=function(t){if(this.closed)throw new P;return e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){if(this.closed)throw new P;return this.hasError?(e.error(this.thrownError),g.EMPTY):this.isStopped?(e.complete(),g.EMPTY):(this.observers.push(e),new O(this,e))},t.prototype.asObservable=function(){var e=new N;return e.source=this,e},t.create=function(e,t){return new M(e,t)},t}(N),M=function(e){function t(t,n){var r=e.call(this)||this;return r.destination=t,r.source=n,r}return o(t,e),t.prototype.next=function(e){var t=this.destination;t&&t.next&&t.next(e)},t.prototype.error=function(e){var t=this.destination;t&&t.error&&this.destination.error(e)},t.prototype.complete=function(){var e=this.destination;e&&e.complete&&this.destination.complete()},t.prototype._subscribe=function(e){return this.source?this.source.subscribe(e):g.EMPTY},t}(j);function H(e){return e&&"function"==typeof e.schedule}var L=function(e){function t(t,n,r){var o=e.call(this)||this;return o.parent=t,o.outerValue=n,o.outerIndex=r,o.index=0,o}return o(t,e),t.prototype._next=function(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)},t.prototype._error=function(e){this.parent.notifyError(e,this),this.unsubscribe()},t.prototype._complete=function(){this.parent.notifyComplete(this),this.unsubscribe()},t}(E),U=function(e){return function(t){for(var n=0,r=e.length;n<r&&!t.closed;n++)t.next(e[n]);t.closed||t.complete()}},V=function(e){return function(t){return e.then(function(e){t.closed||(t.next(e),t.complete())},function(e){return t.error(e)}).then(null,_),t}},F=function(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}(),z=function(e){return function(t){for(var n=e[F]();;){var r=n.next();if(r.done){t.complete();break}if(t.next(r.value),t.closed)break}return"function"==typeof n.return&&t.add(function(){n.return&&n.return()}),t}},B=function(e){return function(t){var n=e[T]();if("function"!=typeof n.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return n.subscribe(t)}},q=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e};function Z(e){return e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}var G=function(e){if(e instanceof N)return function(t){return e._isScalar?(t.next(e.value),void t.complete()):e.subscribe(t)};if(e&&"function"==typeof e[T])return B(e);if(q(e))return U(e);if(Z(e))return V(e);if(e&&"function"==typeof e[F])return z(e);var t=l(e)?"an invalid object":"'"+e+"'";throw new TypeError("You provided "+t+" where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.")};function Q(e,t,n,r){var o=new L(e,n,r);return G(t)(o)}var W=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.notifyNext=function(e,t,n,r,o){this.destination.next(t)},t.prototype.notifyError=function(e,t){this.destination.error(e)},t.prototype.notifyComplete=function(e){this.destination.complete()},t}(E);function K(e,t){return function(n){if("function"!=typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new Y(e,t))}}var Y=function(){function e(e,t){this.project=e,this.thisArg=t}return e.prototype.call=function(e,t){return t.subscribe(new J(e,this.project,this.thisArg))},e}(),J=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.project=n,o.count=0,o.thisArg=r||o,o}return o(t,e),t.prototype._next=function(e){var t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(e){return void this.destination.error(e)}this.destination.next(t)},t}(E);function X(e,t){return new N(t?function(n){var r=new g,o=0;return r.add(t.schedule(function(){o!==e.length?(n.next(e[o++]),n.closed||r.add(this.schedule())):n.complete()})),r}:U(e))}function $(e,t){if(!t)return e instanceof N?e:new N(G(e));if(null!=e){if(function(e){return e&&"function"==typeof e[T]}(e))return function(e,t){return new N(t?function(n){var r=new g;return r.add(t.schedule(function(){var o=e[T]();r.add(o.subscribe({next:function(e){r.add(t.schedule(function(){return n.next(e)}))},error:function(e){r.add(t.schedule(function(){return n.error(e)}))},complete:function(){r.add(t.schedule(function(){return n.complete()}))}}))})),r}:B(e))}(e,t);if(Z(e))return function(e,t){return new N(t?function(n){var r=new g;return r.add(t.schedule(function(){return e.then(function(e){r.add(t.schedule(function(){n.next(e),r.add(t.schedule(function(){return n.complete()}))}))},function(e){r.add(t.schedule(function(){return n.error(e)}))})})),r}:V(e))}(e,t);if(q(e))return X(e,t);if(function(e){return e&&"function"==typeof e[F]}(e)||"string"==typeof e)return function(e,t){if(!e)throw new Error("Iterable cannot be null");return new N(t?function(n){var r,o=new g;return o.add(function(){r&&"function"==typeof r.return&&r.return()}),o.add(t.schedule(function(){r=e[F](),o.add(t.schedule(function(){if(!n.closed){var e,t;try{var o=r.next();e=o.value,t=o.done}catch(e){return void n.error(e)}t?n.complete():(n.next(e),this.schedule())}}))})),o}:z(e))}(e,t)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}function ee(e,t,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),"function"==typeof t?function(r){return r.pipe(ee(function(n,r){return $(e(n,r)).pipe(K(function(e,o){return t(n,e,r,o)}))},n))}:("number"==typeof t&&(n=t),function(t){return t.lift(new te(e,n))})}var te=function(){function e(e,t){void 0===t&&(t=Number.POSITIVE_INFINITY),this.project=e,this.concurrent=t}return e.prototype.call=function(e,t){return t.subscribe(new ne(e,this.project,this.concurrent))},e}(),ne=function(e){function t(t,n,r){void 0===r&&(r=Number.POSITIVE_INFINITY);var o=e.call(this,t)||this;return o.project=n,o.concurrent=r,o.hasCompleted=!1,o.buffer=[],o.active=0,o.index=0,o}return o(t,e),t.prototype._next=function(e){this.active<this.concurrent?this._tryNext(e):this.buffer.push(e)},t.prototype._tryNext=function(e){var t,n=this.index++;try{t=this.project(e,n)}catch(e){return void this.destination.error(e)}this.active++,this._innerSub(t,e,n)},t.prototype._innerSub=function(e,t,n){this.add(Q(this,e,t,n))},t.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete()},t.prototype.notifyNext=function(e,t,n,r,o){this.destination.next(t)},t.prototype.notifyComplete=function(e){var t=this.buffer;this.remove(e),this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},t}(W);function re(e){return e}function oe(e){return void 0===e&&(e=Number.POSITIVE_INFINITY),ee(re,e)}function ie(){return function(e){return e.lift(new ae(e))}}var ae=function(){function e(e){this.connectable=e}return e.prototype.call=function(e,t){var n=this.connectable;n._refCount++;var r=new ue(e,n),o=t.subscribe(r);return r.closed||(r.connection=n.connect()),o},e}(),ue=function(e){function t(t,n){var r=e.call(this,t)||this;return r.connectable=n,r}return o(t,e),t.prototype._unsubscribe=function(){var e=this.connectable;if(e){this.connectable=null;var t=e._refCount;if(t<=0)this.connection=null;else if(e._refCount=t-1,t>1)this.connection=null;else{var n=this.connection,r=e._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}else this.connection=null},t}(E),se=function(e){function t(t,n){var r=e.call(this)||this;return r.source=t,r.subjectFactory=n,r._refCount=0,r._isComplete=!1,r}return o(t,e),t.prototype._subscribe=function(e){return this.getSubject().subscribe(e)},t.prototype.getSubject=function(){var e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject},t.prototype.connect=function(){var e=this._connection;return e||(this._isComplete=!1,(e=this._connection=new g).add(this.source.subscribe(new le(this.getSubject(),this))),e.closed?(this._connection=null,e=g.EMPTY):this._connection=e),e},t.prototype.refCount=function(){return ie()(this)},t}(N).prototype,ce={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:se._subscribe},_isComplete:{value:se._isComplete,writable:!0},getSubject:{value:se.getSubject},connect:{value:se.connect},refCount:{value:se.refCount}},le=function(e){function t(t,n){var r=e.call(this,t)||this;return r.connectable=n,r}return o(t,e),t.prototype._error=function(t){this._unsubscribe(),e.prototype._error.call(this,t)},t.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),e.prototype._complete.call(this)},t.prototype._unsubscribe=function(){var e=this.connectable;if(e){this.connectable=null;var t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}},t}(D);function fe(){return new j}function pe(e){return{providedIn:e.providedIn||null,factory:e.factory,value:void 0}}var he=function(){function e(e,t){this._desc=e,this.ngMetadataName="InjectionToken",this.ngInjectableDef=void 0!==t?pe({providedIn:t.providedIn||"root",factory:t.factory}):void 0}return e.prototype.toString=function(){return"InjectionToken "+this._desc},e}(),de="__parameters__";function ve(e,t,n){var r=function(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(e){var r=e.apply(void 0,s(t));for(var o in r)this[o]=r[o]}}}(t);function o(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(this instanceof o)return r.apply(this,t),this;var i=new((e=o).bind.apply(e,s([void 0],t)));return a.annotation=i,a;function a(e,t,n){for(var r=e.hasOwnProperty(de)?e[de]:Object.defineProperty(e,de,{value:[]})[de];r.length<=n;)r.push(null);return(r[n]=r[n]||[]).push(i),e}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o}var ye=new he("AnalyzeForEntryComponents");Function;var ge="undefined"!=typeof window&&window,me="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,we="undefined"!=typeof global&&global||ge||me,be=Promise.resolve(0),_e=null;function Ce(){if(!_e){var e=we.Symbol;if(e&&e.iterator)_e=e.iterator;else for(var t=Object.getOwnPropertyNames(Map.prototype),n=0;n<t.length;++n){var r=t[n];"entries"!==r&&"size"!==r&&Map.prototype[r]===Map.prototype.entries&&(_e=r)}}return _e}function Se(e){"undefined"==typeof Zone?be.then(function(){e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}function Ee(e,t){return e===t||"number"==typeof e&&"number"==typeof t&&isNaN(e)&&isNaN(t)}function xe(e){if("string"==typeof e)return e;if(e instanceof Array)return"["+e.map(xe).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return""+e.overriddenName;if(e.name)return""+e.name;var t=e.toString();if(null==t)return""+t;var n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function Te(e){return e.__forward_ref__=Te,e.toString=function(){return xe(this())},e}function ke(e){return"function"==typeof e&&e.hasOwnProperty("__forward_ref__")&&e.__forward_ref__===Te?e():e}var Ie=ve("Inject",function(e){return{token:e}}),Ae=ve("Optional"),Ne=ve("Self"),Re=ve("SkipSelf"),Pe="__source",Oe=new Object,De=Oe,je=new he("INJECTOR"),Me=function(){function e(){}return e.prototype.get=function(e,t){if(void 0===t&&(t=Oe),t===Oe)throw new Error("NullInjectorError: No provider for "+xe(e)+"!");return t},e}(),He=function(){function e(){}return e.create=function(e,t){return Array.isArray(e)?new Qe(e,t):new Qe(e.providers,e.parent,e.name||null)},e.THROW_IF_NOT_FOUND=Oe,e.NULL=new Me,e.ngInjectableDef=pe({providedIn:"any",factory:function(){return $e(je)}}),e}(),Le=function(e){return e},Ue=[],Ve=Le,Fe=function(){return Array.prototype.slice.call(arguments)},ze={},Be=function(e){for(var t in e)if(e[t]===ze)return t;throw Error("!prop")}({provide:String,useValue:ze}),qe=He.NULL,Ze=/\n/gm,Ge="\u0275",Qe=function(){function e(e,t,n){void 0===t&&(t=qe),void 0===n&&(n=null),this.parent=t,this.source=n;var r=this._records=new Map;r.set(He,{token:He,fn:Le,deps:Ue,value:this,useNew:!1}),r.set(je,{token:je,fn:Le,deps:Ue,value:this,useNew:!1}),function e(t,n){if(n)if((n=ke(n))instanceof Array)for(var r=0;r<n.length;r++)e(t,n[r]);else{if("function"==typeof n)throw Ye("Function/Class not supported",n);if(!n||"object"!=typeof n||!n.provide)throw Ye("Unexpected provider",n);var o=ke(n.provide),i=function(e){var t=function(e){var t=Ue,n=e.deps;if(n&&n.length){t=[];for(var r=0;r<n.length;r++){var o=6;if((s=ke(n[r]))instanceof Array)for(var i=0,a=s;i<a.length;i++){var u=a[i];u instanceof Ae||u==Ae?o|=1:u instanceof Re||u==Re?o&=-3:u instanceof Ne||u==Ne?o&=-5:s=u instanceof Ie?u.token:ke(u)}t.push({token:s,options:o})}}else if(e.useExisting){var s;t=[{token:s=ke(e.useExisting),options:6}]}else if(!(n||Be in e))throw Ye("'deps' required",e);return t}(e),n=Le,r=Ue,o=!1,i=ke(e.provide);if(Be in e)r=e.useValue;else if(e.useFactory)n=e.useFactory;else if(e.useExisting);else if(e.useClass)o=!0,n=ke(e.useClass);else{if("function"!=typeof i)throw Ye("StaticProvider does not have [useValue|useFactory|useExisting|useClass] or [provide] is not newable",e);o=!0,n=i}return{deps:t,fn:n,useNew:o,value:r}}(n);if(!0===n.multi){var a=t.get(o);if(a){if(a.fn!==Fe)throw We(o)}else t.set(o,a={token:n.provide,deps:[],useNew:!1,fn:Fe,value:Ue});a.deps.push({token:o=n,options:6})}var u=t.get(o);if(u&&u.fn==Fe)throw We(o);t.set(o,i)}}(r,e)}return e.prototype.get=function(e,t,n){void 0===n&&(n=0);var r=this._records.get(e);try{return function e(t,n,r,o,i,a){try{return function(t,n,r,o,i,a){var u,c;if(!n||4&a)2&a||(c=o.get(t,i,0));else{if((c=n.value)==Ve)throw Error(Ge+"Circular dependency");if(c===Ue){n.value=Ve;var l=n.useNew,f=n.fn,p=n.deps,h=Ue;if(p.length){h=[];for(var d=0;d<p.length;d++){var v=p[d],y=v.options,g=2&y?r.get(v.token):void 0;h.push(e(v.token,g,r,g||4&y?o:qe,1&y?null:He.THROW_IF_NOT_FOUND,0))}}n.value=c=l?new((u=f).bind.apply(u,s([void 0],h))):f.apply(void 0,h)}}return c}(t,n,r,o,i,a)}catch(e){throw e instanceof Error||(e=new Error(e)),(e.ngTempTokenPath=e.ngTempTokenPath||[]).unshift(t),n&&n.value==Ve&&(n.value=Ue),e}}(e,r,this._records,this.parent,t,n)}catch(t){var o=t.ngTempTokenPath;throw e[Pe]&&o.unshift(e[Pe]),t.message=Ke("\n"+t.message,o,this.source),t.ngTokenPath=o,t.ngTempTokenPath=null,t}},e.prototype.toString=function(){var e=[];return this._records.forEach(function(t,n){return e.push(xe(n))}),"StaticInjector["+e.join(", ")+"]"},e}();function We(e){return Ye("Cannot mix multi providers and regular providers",e)}function Ke(e,t,n){void 0===n&&(n=null),e=e&&"\n"===e.charAt(0)&&e.charAt(1)==Ge?e.substr(2):e;var r=xe(t);if(t instanceof Array)r=t.map(xe).join(" -> ");else if("object"==typeof t){var o=[];for(var i in t)if(t.hasOwnProperty(i)){var a=t[i];o.push(i+":"+("string"==typeof a?JSON.stringify(a):xe(a)))}r="{"+o.join(", ")+"}"}return"StaticInjectorError"+(n?"("+n+")":"")+"["+r+"]: "+e.replace(Ze,"\n  ")}function Ye(e,t){return new Error(Ke(e,t))}var Je=void 0;function Xe(e){var t=Je;return Je=e,t}function $e(e,t){if(void 0===t&&(t=0),void 0===Je)throw new Error("inject() must be called from an injection context");if(null===Je){var n=e.ngInjectableDef;if(n&&"root"==n.providedIn)return void 0===n.value?n.value=n.factory():n.value;if(8&t)return null;throw new Error("Injector: NOT_FOUND ["+xe(e)+"]")}return Je.get(e,8&t?null:void 0,t)}function et(e){for(var t=[],n=0;n<e.length;n++){var r=e[n];if(Array.isArray(r)){if(0===r.length)throw new Error("Arguments array must have arguments.");for(var o=void 0,i=0,a=0;a<r.length;a++){var u=r[a];u instanceof Ae||"Optional"===u.ngMetadataName?i|=8:u instanceof Re||"SkipSelf"===u.ngMetadataName?i|=4:u instanceof Ne||"Self"===u.ngMetadataName?i|=2:o=u instanceof Ie?u.token:u}t.push($e(o,i))}else t.push($e(r))}return t}String;var tt=function(e){return e[e.Emulated=0]="Emulated",e[e.Native=1]="Native",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}({}),nt=new function(e){this.full="6.1.7",this.major="6.1.7".split(".")[0],this.minor="6.1.7".split(".")[1],this.patch="6.1.7".split(".").slice(2).join(".")}("6.1.7"),rt="ngDebugContext",ot="ngOriginalError",it="ngErrorLogger";function at(e){return e[rt]}function ut(e){return e[ot]}function st(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];e.error.apply(e,s(t))}var ct=function(){function e(){this._console=console}return e.prototype.handleError=function(e){var t=this._findOriginalError(e),n=this._findContext(e),r=function(e){return e[it]||st}(e);r(this._console,"ERROR",e),t&&r(this._console,"ORIGINAL ERROR",t),n&&r(this._console,"ERROR CONTEXT",n)},e.prototype._findContext=function(e){return e?at(e)?at(e):this._findContext(ut(e)):null},e.prototype._findOriginalError=function(e){for(var t=ut(e);t&&ut(t);)t=ut(t);return t},e}(),lt=new he("The presence of this token marks an injector as being the root injector."),ft={},pt={},ht=[],dt=void 0;function vt(){return void 0===dt&&(dt=new Me),dt}var yt=function(){function e(e,t,n){var r=this;this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this.destroyed=!1,wt([e],function(e){return r.processInjectorType(e,new Set)}),t&&wt(t,function(e){return r.processProvider(e)}),this.records.set(je,mt(void 0,this)),this.isRootInjector=this.records.has(lt),this.injectorDefTypes.forEach(function(e){return r.get(e)})}return e.prototype.destroy=function(){this.assertNotDestroyed(),this.destroyed=!0;try{this.onDestroy.forEach(function(e){return e.ngOnDestroy()})}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}},e.prototype.get=function(e,t,n){void 0===t&&(t=De),void 0===n&&(n=0),this.assertNotDestroyed();var r,o=Xe(this);try{if(!(4&n)){var i=this.records.get(e);if(void 0===i){var a=("function"==typeof(r=e)||"object"==typeof r&&r instanceof he)&&e.ngInjectableDef||void 0;void 0!==a&&this.injectableDefInScope(a)&&(i=gt(e),this.records.set(e,i))}if(void 0!==i)return this.hydrate(e,i)}return 2&n&&vt(),this.parent.get(e,t)}finally{Xe(o)}},e.prototype.assertNotDestroyed=function(){if(this.destroyed)throw new Error("Injector has already been destroyed.")},e.prototype.processInjectorType=function(e,t){var n=this,r=(e=ke(e)).ngInjectorDef,o=null==r&&e.ngModule||void 0,i=void 0===o?e:o,a=void 0!==o&&e.providers||ht;if(void 0!==o&&(r=o.ngInjectorDef),null!=r){if(t.has(i))throw new Error("Circular dependency: type "+xe(i)+" ends up importing itself.");if(this.injectorDefTypes.add(i),this.records.set(i,mt(r.factory)),null!=r.imports){t.add(i);try{wt(r.imports,function(e){return n.processInjectorType(e,t)})}finally{t.delete(i)}}null!=r.providers&&wt(r.providers,function(e){return n.processProvider(e)}),wt(a,function(e){return n.processProvider(e)})}},e.prototype.processProvider=function(e){var t=bt(e=ke(e))?e:ke(e.provide),n=function(e){var t=ke(e),n=ft,r=void 0;if(bt(e))return gt(e);if(t=ke(e.provide),Be in e)n=e.useValue;else if(e.useExisting)r=function(){return $e(e.useExisting)};else if(e.useFactory)r=function(){return e.useFactory.apply(e,s(et(e.deps||[])))};else{var o=e.useClass||t;if(!e.deps)return gt(o);r=function(){return new(o.bind.apply(o,s([void 0],et(e.deps))))}}return mt(r,n)}(e);if(bt(e)||!0!==e.multi){var r=this.records.get(t);if(r&&void 0!==r.multi)throw new Error("Mixed multi-provider for "+xe(t))}else{var o=this.records.get(t);if(o){if(void 0===o.multi)throw new Error("Mixed multi-provider for "+t+".")}else(o=mt(void 0,ft,!0)).factory=function(){return et(o.multi)},this.records.set(t,o);t=e,o.multi.push(e)}this.records.set(t,n)},e.prototype.hydrate=function(e,t){if(t.value===pt)throw new Error("Circular dep for "+xe(e));var n;return t.value===ft&&(t.value=pt,t.value=t.factory()),"object"==typeof t.value&&t.value&&"object"==typeof(n=t.value)&&null!=n&&n.ngOnDestroy&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(t.value),t.value},e.prototype.injectableDefInScope=function(e){return!!e.providedIn&&("string"==typeof e.providedIn?"any"===e.providedIn||"root"===e.providedIn&&this.isRootInjector:this.injectorDefTypes.has(e.providedIn))},e}();function gt(e){var t=e.ngInjectableDef;if(void 0===t){if(e instanceof he)throw new Error("Token "+xe(e)+" is missing an ngInjectableDef definition.");return mt(function(){return new e})}return mt(t.factory)}function mt(e,t,n){return void 0===t&&(t=ft),void 0===n&&(n=!1),{factory:e,value:t,multi:n?[]:void 0}}function wt(e,t){e.forEach(function(e){return Array.isArray(e)?wt(e,t):t(e)})}function bt(e){return"function"==typeof e}function _t(e){return!!e&&"function"==typeof e.then}var Ct=new he("Application Initializer"),St=function(){function e(e){var t=this;this.appInits=e,this.initialized=!1,this.done=!1,this.donePromise=new Promise(function(e,n){t.resolve=e,t.reject=n})}return e.prototype.runInitializers=function(){var e=this;if(!this.initialized){var t=[],n=function(){e.done=!0,e.resolve()};if(this.appInits)for(var r=0;r<this.appInits.length;r++){var o=this.appInits[r]();_t(o)&&t.push(o)}Promise.all(t).then(function(){n()}).catch(function(t){e.reject(t)}),0===t.length&&n(),this.initialized=!0}},e}(),Et=new he("AppId");function xt(){return""+Tt()+Tt()+Tt()}function Tt(){return String.fromCharCode(97+Math.floor(25*Math.random()))}var kt=new he("Platform Initializer"),It=new he("Platform ID"),At=new he("appBootstrapListener"),Nt=function(){function e(){}return e.prototype.log=function(e){console.log(e)},e.prototype.warn=function(e){console.warn(e)},e}();function Rt(){throw new Error("Runtime compiler is not loaded")}var Pt=function(){function e(){}return e.prototype.compileModuleSync=function(e){throw Rt()},e.prototype.compileModuleAsync=function(e){throw Rt()},e.prototype.compileModuleAndAllComponentsSync=function(e){throw Rt()},e.prototype.compileModuleAndAllComponentsAsync=function(e){throw Rt()},e.prototype.clearCache=function(){},e.prototype.clearCacheFor=function(e){},e.prototype.getModuleId=function(e){},e}(),Ot=function(){},Dt=function(){},jt=function(){};function Mt(e){var t=Error("No component factory found for "+xe(e)+". Did you add it to @NgModule.entryComponents?");return t[Ut]=e,t}var Ht,Lt,Ut="ngComponent",Vt=function(){function e(){}return e.prototype.resolveComponentFactory=function(e){throw Mt(e)},e}(),Ft=function(){function e(){}return e.NULL=new Vt,e}(),zt=function(){function e(e,t,n){this._parent=t,this._ngModule=n,this._factories=new Map;for(var r=0;r<e.length;r++){var o=e[r];this._factories.set(o.componentType,o)}}return e.prototype.resolveComponentFactory=function(e){var t=this._factories.get(e);if(!t&&this._parent&&(t=this._parent.resolveComponentFactory(e)),!t)throw Mt(e);return new Bt(t,this._ngModule)},e}(),Bt=function(e){function t(t,n){var r=e.call(this)||this;return r.factory=t,r.ngModule=n,r.selector=t.selector,r.componentType=t.componentType,r.ngContentSelectors=t.ngContentSelectors,r.inputs=t.inputs,r.outputs=t.outputs,r}return o(t,e),t.prototype.create=function(e,t,n,r){return this.factory.create(e,t,n,r||this.ngModule)},t}(jt),qt=function(){},Zt=function(){},Gt=function(){var e=we.wtf;return!(!e||!(Ht=e.trace)||(Lt=Ht.events,0))}();function Qt(e,t){return null}var Wt=Gt?function(e,t){return void 0===t&&(t=null),Lt.createScope(e,t)}:function(e,t){return Qt},Kt=Gt?function(e,t){return Ht.leaveScope(e,t),t}:function(e,t){return t},Yt=function(e){function t(t){void 0===t&&(t=!1);var n=e.call(this)||this;return n.__isAsync=t,n}return o(t,e),t.prototype.emit=function(t){e.prototype.next.call(this,t)},t.prototype.subscribe=function(t,n,r){var o,i=function(e){return null},a=function(){return null};t&&"object"==typeof t?(o=this.__isAsync?function(e){setTimeout(function(){return t.next(e)})}:function(e){t.next(e)},t.error&&(i=this.__isAsync?function(e){setTimeout(function(){return t.error(e)})}:function(e){t.error(e)}),t.complete&&(a=this.__isAsync?function(){setTimeout(function(){return t.complete()})}:function(){t.complete()})):(o=this.__isAsync?function(e){setTimeout(function(){return t(e)})}:function(e){t(e)},n&&(i=this.__isAsync?function(e){setTimeout(function(){return n(e)})}:function(e){n(e)}),r&&(a=this.__isAsync?function(){setTimeout(function(){return r()})}:function(){r()}));var u=e.prototype.subscribe.call(this,o,i,a);return t instanceof g&&t.add(u),u},t}(j),Jt=function(){function e(e){var t,n=e.enableLongStackTrace,r=void 0!==n&&n;if(this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Yt(!1),this.onMicrotaskEmpty=new Yt(!1),this.onStable=new Yt(!1),this.onError=new Yt(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched(),this._nesting=0,this._outer=this._inner=Zone.current,Zone.wtfZoneSpec&&(this._inner=this._inner.fork(Zone.wtfZoneSpec)),Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),r&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),(t=this)._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:function(e,n,r,o,i,a){try{return tn(t),e.invokeTask(r,o,i,a)}finally{nn(t)}},onInvoke:function(e,n,r,o,i,a,u){try{return tn(t),e.invoke(r,o,i,a,u)}finally{nn(t)}},onHasTask:function(e,n,r,o){e.hasTask(r,o),n===r&&("microTask"==o.change?(t.hasPendingMicrotasks=o.microTask,en(t)):"macroTask"==o.change&&(t.hasPendingMacrotasks=o.macroTask))},onHandleError:function(e,n,r,o){return e.handleError(r,o),t.runOutsideAngular(function(){return t.onError.emit(o)}),!1}})}return e.isInAngularZone=function(){return!0===Zone.current.get("isAngularZone")},e.assertInAngularZone=function(){if(!e.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")},e.assertNotInAngularZone=function(){if(e.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")},e.prototype.run=function(e,t,n){return this._inner.run(e,t,n)},e.prototype.runTask=function(e,t,n,r){var o=this._inner,i=o.scheduleEventTask("NgZoneEvent: "+r,e,$t,Xt,Xt);try{return o.runTask(i,t,n)}finally{o.cancelTask(i)}},e.prototype.runGuarded=function(e,t,n){return this._inner.runGuarded(e,t,n)},e.prototype.runOutsideAngular=function(e){return this._outer.run(e)},e}();function Xt(){}var $t={};function en(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(function(){return e.onStable.emit(null)})}finally{e.isStable=!0}}}function tn(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function nn(e){e._nesting--,en(e)}var rn,on=function(){function e(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Yt,this.onMicrotaskEmpty=new Yt,this.onStable=new Yt,this.onError=new Yt}return e.prototype.run=function(e){return e()},e.prototype.runGuarded=function(e){return e()},e.prototype.runOutsideAngular=function(e){return e()},e.prototype.runTask=function(e){return e()},e}(),an=function(){function e(e){var t=this;this._ngZone=e,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this._watchAngularEvents(),e.run(function(){t.taskTrackingZone=Zone.current.get("TaskTrackingZone")})}return e.prototype._watchAngularEvents=function(){var e=this;this._ngZone.onUnstable.subscribe({next:function(){e._didWork=!0,e._isZoneStable=!1}}),this._ngZone.runOutsideAngular(function(){e._ngZone.onStable.subscribe({next:function(){Jt.assertNotInAngularZone(),Se(function(){e._isZoneStable=!0,e._runCallbacksIfReady()})}})})},e.prototype.increasePendingRequestCount=function(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount},e.prototype.decreasePendingRequestCount=function(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount},e.prototype.isStable=function(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks},e.prototype._runCallbacksIfReady=function(){var e=this;if(this.isStable())Se(function(){for(;0!==e._callbacks.length;){var t=e._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(e._didWork)}e._didWork=!1});else{var t=this.getPendingTasks();this._callbacks=this._callbacks.filter(function(e){return!e.updateCb||!e.updateCb(t)||(clearTimeout(e.timeoutId),!1)}),this._didWork=!0}},e.prototype.getPendingTasks=function(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(function(e){return{source:e.source,isPeriodic:e.data.isPeriodic,delay:e.data.delay,creationLocation:e.creationLocation,xhr:e.data.target}}):[]},e.prototype.addCallback=function(e,t,n){var r=this,o=-1;t&&t>0&&(o=setTimeout(function(){r._callbacks=r._callbacks.filter(function(e){return e.timeoutId!==o}),e(r._didWork,r.getPendingTasks())},t)),this._callbacks.push({doneCb:e,timeoutId:o,updateCb:n})},e.prototype.whenStable=function(e,t,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(e,t,n),this._runCallbacksIfReady()},e.prototype.getPendingRequestCount=function(){return this._pendingCount},e.prototype.findProviders=function(e,t,n){return[]},e}(),un=function(){function e(){this._applications=new Map,sn.addToWindow(this)}return e.prototype.registerApplication=function(e,t){this._applications.set(e,t)},e.prototype.unregisterApplication=function(e){this._applications.delete(e)},e.prototype.unregisterAllApplications=function(){this._applications.clear()},e.prototype.getTestability=function(e){return this._applications.get(e)||null},e.prototype.getAllTestabilities=function(){return Array.from(this._applications.values())},e.prototype.getAllRootElements=function(){return Array.from(this._applications.keys())},e.prototype.findTestabilityInTree=function(e,t){return void 0===t&&(t=!0),sn.findTestabilityInTree(this,e,t)},e.ctorParameters=function(){return[]},e}(),sn=new(function(){function e(){}return e.prototype.addToWindow=function(e){},e.prototype.findTestabilityInTree=function(e,t,n){return null},e}()),cn=!0,ln=!1,fn=new he("AllowMultipleToken");function pn(){return ln=!0,cn}var hn=function(e,t){this.name=e,this.token=t};function dn(e,t,n){void 0===n&&(n=[]);var r="Platform: "+t,o=new he(r);return function(t){void 0===t&&(t=[]);var i=vn();if(!i||i.injector.get(fn,!1))if(e)e(n.concat(t).concat({provide:o,useValue:!0}));else{var a=n.concat(t).concat({provide:o,useValue:!0});!function(e){if(rn&&!rn.destroyed&&!rn.injector.get(fn,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");rn=e.get(yn);var t=e.get(kt,null);t&&t.forEach(function(e){return e()})}(He.create({providers:a,name:r}))}return function(e){var t=vn();if(!t)throw new Error("No platform exists!");if(!t.injector.get(e,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return t}(o)}}function vn(){return rn&&!rn.destroyed?rn:null}var yn=function(){function e(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return e.prototype.bootstrapModuleFactory=function(e,t){var n,r=this,o="noop"===(n=t?t.ngZone:void 0)?new on:("zone.js"===n?void 0:n)||new Jt({enableLongStackTrace:pn()}),i=[{provide:Jt,useValue:o}];return o.run(function(){var t=He.create({providers:i,parent:r.injector,name:e.moduleType.name}),n=e.create(t),a=n.injector.get(ct,null);if(!a)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.onDestroy(function(){return wn(r._modules,n)}),o.runOutsideAngular(function(){return o.onError.subscribe({next:function(e){a.handleError(e)}})}),function(e,t,o){try{var i=((a=n.injector.get(St)).runInitializers(),a.donePromise.then(function(){return r._moduleDoBootstrap(n),n}));return _t(i)?i.catch(function(n){throw t.runOutsideAngular(function(){return e.handleError(n)}),n}):i}catch(n){throw t.runOutsideAngular(function(){return e.handleError(n)}),n}var a}(a,o)})},e.prototype.bootstrapModule=function(e,t){var n=this;void 0===t&&(t=[]);var r=this.injector.get(Ot),o=gn({},t);return r.createCompiler([o]).compileModuleAsync(e).then(function(e){return n.bootstrapModuleFactory(e,o)})},e.prototype._moduleDoBootstrap=function(e){var t=e.injector.get(mn);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(function(e){return t.bootstrap(e)});else{if(!e.instance.ngDoBootstrap)throw new Error("The module "+xe(e.instance.constructor)+' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.');e.instance.ngDoBootstrap(t)}this._modules.push(e)},e.prototype.onDestroy=function(e){this._destroyListeners.push(e)},Object.defineProperty(e.prototype,"injector",{get:function(){return this._injector},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(function(e){return e.destroy()}),this._destroyListeners.forEach(function(e){return e()}),this._destroyed=!0},Object.defineProperty(e.prototype,"destroyed",{get:function(){return this._destroyed},enumerable:!0,configurable:!0}),e}();function gn(e,t){return Array.isArray(t)?t.reduce(gn,e):i({},e,t)}var mn=function(){function e(e,t,n,r,o,i){var a=this;this._zone=e,this._console=t,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=o,this._initStatus=i,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=pn(),this._zone.onMicrotaskEmpty.subscribe({next:function(){a._zone.run(function(){a.tick()})}});var u=new N(function(e){a._stable=a._zone.isStable&&!a._zone.hasPendingMacrotasks&&!a._zone.hasPendingMicrotasks,a._zone.runOutsideAngular(function(){e.next(a._stable),e.complete()})}),s=new N(function(e){var t;a._zone.runOutsideAngular(function(){t=a._zone.onStable.subscribe(function(){Jt.assertNotInAngularZone(),Se(function(){a._stable||a._zone.hasPendingMacrotasks||a._zone.hasPendingMicrotasks||(a._stable=!0,e.next(!0))})})});var n=a._zone.onUnstable.subscribe(function(){Jt.assertInAngularZone(),a._stable&&(a._stable=!1,a._zone.runOutsideAngular(function(){e.next(!1)}))});return function(){t.unsubscribe(),n.unsubscribe()}});this.isStable=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Number.POSITIVE_INFINITY,r=null,o=e[e.length-1];return H(o)?(r=e.pop(),e.length>1&&"number"==typeof e[e.length-1]&&(n=e.pop())):"number"==typeof o&&(n=e.pop()),null===r&&1===e.length&&e[0]instanceof N?e[0]:oe(n)(X(e,r))}(u,s.pipe(function(e){return ie()((t=fe,function(e){var n;n="function"==typeof t?t:function(){return t};var r=Object.create(e,ce);return r.source=e,r.subjectFactory=n,r})(e));var t}))}return e.prototype.bootstrap=function(e,t){var n,r=this;if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");n=e instanceof jt?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);var o=n instanceof Bt?null:this._injector.get(qt),i=n.create(He.NULL,[],t||n.selector,o);i.onDestroy(function(){r._unloadComponent(i)});var a=i.injector.get(an,null);return a&&i.injector.get(un).registerApplication(i.location.nativeElement,a),this._loadComponent(i),pn()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),i},e.prototype.tick=function(){var t=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");var n=e._tickScope();try{this._runningTick=!0,this._views.forEach(function(e){return e.detectChanges()}),this._enforceNoNewChanges&&this._views.forEach(function(e){return e.checkNoChanges()})}catch(e){this._zone.runOutsideAngular(function(){return t._exceptionHandler.handleError(e)})}finally{this._runningTick=!1,Kt(n)}},e.prototype.attachView=function(e){var t=e;this._views.push(t),t.attachToAppRef(this)},e.prototype.detachView=function(e){var t=e;wn(this._views,t),t.detachFromAppRef()},e.prototype._loadComponent=function(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(At,[]).concat(this._bootstrapListeners).forEach(function(t){return t(e)})},e.prototype._unloadComponent=function(e){this.detachView(e.hostView),wn(this.components,e)},e.prototype.ngOnDestroy=function(){this._views.slice().forEach(function(e){return e.destroy()})},Object.defineProperty(e.prototype,"viewCount",{get:function(){return this._views.length},enumerable:!0,configurable:!0}),e._tickScope=Wt("ApplicationRef#tick()"),e}();function wn(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var bn=function(){},_n=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}({}),Cn=function(e){this.nativeElement=e},Sn=function(){},En=function(){function e(){this.dirty=!0,this._results=[],this.changes=new Yt,this.length=0}return e.prototype.map=function(e){return this._results.map(e)},e.prototype.filter=function(e){return this._results.filter(e)},e.prototype.find=function(e){return this._results.find(e)},e.prototype.reduce=function(e,t){return this._results.reduce(e,t)},e.prototype.forEach=function(e){this._results.forEach(e)},e.prototype.some=function(e){return this._results.some(e)},e.prototype.toArray=function(){return this._results.slice()},e.prototype[Ce()]=function(){return this._results[Ce()]()},e.prototype.toString=function(){return this._results.toString()},e.prototype.reset=function(e){this._results=function e(t){return t.reduce(function(t,n){var r=Array.isArray(n)?e(n):n;return t.concat(r)},[])}(e),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]},e.prototype.notifyOnChanges=function(){this.changes.emit(this)},e.prototype.setDirty=function(){this.dirty=!0},e.prototype.destroy=function(){this.changes.complete(),this.changes.unsubscribe()},e}(),xn=function(){},Tn={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},kn=function(){function e(e,t){this._compiler=e,this._config=t||Tn}return e.prototype.load=function(e){return this._compiler instanceof Pt?this.loadFactory(e):this.loadAndCompile(e)},e.prototype.loadAndCompile=function(e){var t=this,r=u(e.split("#"),2),o=r[0],i=r[1];return void 0===i&&(i="default"),n("crnd")(o).then(function(e){return e[i]}).then(function(e){return In(e,o,i)}).then(function(e){return t._compiler.compileModuleAsync(e)})},e.prototype.loadFactory=function(e){var t=u(e.split("#"),2),r=t[0],o=t[1],i="NgFactory";return void 0===o&&(o="default",i=""),n("crnd")(this._config.factoryPathPrefix+r+this._config.factoryPathSuffix).then(function(e){return e[o+i]}).then(function(e){return In(e,r,o)})},e}();function In(e,t,n){if(!e)throw new Error("Cannot find '"+n+"' in '"+t+"'");return e}var An=function(){},Nn=function(){},Rn=function(){},Pn=function(){function e(e,t,n){this._debugContext=n,this.nativeNode=e,t&&t instanceof On?t.addChild(this):this.parent=null,this.listeners=[]}return Object.defineProperty(e.prototype,"injector",{get:function(){return this._debugContext.injector},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentInstance",{get:function(){return this._debugContext.component},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return this._debugContext.context},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"references",{get:function(){return this._debugContext.references},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"providerTokens",{get:function(){return this._debugContext.providerTokens},enumerable:!0,configurable:!0}),e}(),On=function(e){function t(t,n,r){var o=e.call(this,t,n,r)||this;return o.properties={},o.attributes={},o.classes={},o.styles={},o.childNodes=[],o.nativeElement=t,o}return o(t,e),t.prototype.addChild=function(e){e&&(this.childNodes.push(e),e.parent=this)},t.prototype.removeChild=function(e){var t=this.childNodes.indexOf(e);-1!==t&&(e.parent=null,this.childNodes.splice(t,1))},t.prototype.insertChildrenAfter=function(e,t){var n,r=this,o=this.childNodes.indexOf(e);-1!==o&&((n=this.childNodes).splice.apply(n,s([o+1,0],t)),t.forEach(function(e){e.parent&&e.parent.removeChild(e),e.parent=r}))},t.prototype.insertBefore=function(e,t){var n=this.childNodes.indexOf(e);-1===n?this.addChild(t):(t.parent&&t.parent.removeChild(t),t.parent=this,this.childNodes.splice(n,0,t))},t.prototype.query=function(e){return this.queryAll(e)[0]||null},t.prototype.queryAll=function(e){var t=[];return function e(t,n,r){t.childNodes.forEach(function(t){t instanceof On&&(n(t)&&r.push(t),e(t,n,r))})}(this,e,t),t},t.prototype.queryAllNodes=function(e){var t=[];return function e(t,n,r){t instanceof On&&t.childNodes.forEach(function(t){n(t)&&r.push(t),t instanceof On&&e(t,n,r)})}(this,e,t),t},Object.defineProperty(t.prototype,"children",{get:function(){return this.childNodes.filter(function(e){return e instanceof t})},enumerable:!0,configurable:!0}),t.prototype.triggerEventHandler=function(e,t){this.listeners.forEach(function(n){n.name==e&&n.callback(t)})},t}(Pn),Dn=new Map;function jn(e){return Dn.get(e)||null}function Mn(e){Dn.set(e.nativeNode,e)}function Hn(e,t){var n=Vn(e),r=Vn(t);return n&&r?function(e,t,n){for(var r=e[Ce()](),o=t[Ce()]();;){var i=r.next(),a=o.next();if(i.done&&a.done)return!0;if(i.done||a.done)return!1;if(!n(i.value,a.value))return!1}}(e,t,Hn):!(n||!e||"object"!=typeof e&&"function"!=typeof e||r||!t||"object"!=typeof t&&"function"!=typeof t)||Ee(e,t)}var Ln=function(){function e(e){this.wrapped=e}return e.wrap=function(t){return new e(t)},e.unwrap=function(t){return e.isWrapped(t)?t.wrapped:t},e.isWrapped=function(t){return t instanceof e},e}(),Un=function(){function e(e,t,n){this.previousValue=e,this.currentValue=t,this.firstChange=n}return e.prototype.isFirstChange=function(){return this.firstChange},e}();function Vn(e){return!!Fn(e)&&(Array.isArray(e)||!(e instanceof Map)&&Ce()in e)}function Fn(e){return null!==e&&("function"==typeof e||"object"==typeof e)}var zn=function(){function e(){}return e.prototype.supports=function(e){return Vn(e)},e.prototype.create=function(e){return new qn(e)},e}(),Bn=function(e,t){return t},qn=function(){function e(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||Bn}return e.prototype.forEachItem=function(e){var t;for(t=this._itHead;null!==t;t=t._next)e(t)},e.prototype.forEachOperation=function(e){for(var t=this._itHead,n=this._removalsHead,r=0,o=null;t||n;){var i=!n||t&&t.currentIndex<Wn(n,r,o)?t:n,a=Wn(i,r,o),u=i.currentIndex;if(i===n)r--,n=n._nextRemoved;else if(t=t._next,null==i.previousIndex)r++;else{o||(o=[]);var s=a-r,c=u-r;if(s!=c){for(var l=0;l<s;l++){var f=l<o.length?o[l]:o[l]=0,p=f+l;c<=p&&p<s&&(o[l]=f+1)}o[i.previousIndex]=c-s}}a!==u&&e(i,a,u)}},e.prototype.forEachPreviousItem=function(e){var t;for(t=this._previousItHead;null!==t;t=t._nextPrevious)e(t)},e.prototype.forEachAddedItem=function(e){var t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)},e.prototype.forEachMovedItem=function(e){var t;for(t=this._movesHead;null!==t;t=t._nextMoved)e(t)},e.prototype.forEachRemovedItem=function(e){var t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)},e.prototype.forEachIdentityChange=function(e){var t;for(t=this._identityChangesHead;null!==t;t=t._nextIdentityChange)e(t)},e.prototype.diff=function(e){if(null==e&&(e=[]),!Vn(e))throw new Error("Error trying to diff '"+xe(e)+"'. Only arrays and iterables are allowed");return this.check(e)?this:null},e.prototype.onDestroy=function(){},e.prototype.check=function(e){var t=this;this._reset();var n,r,o,i=this._itHead,a=!1;if(Array.isArray(e)){this.length=e.length;for(var u=0;u<this.length;u++)o=this._trackByFn(u,r=e[u]),null!==i&&Ee(i.trackById,o)?(a&&(i=this._verifyReinsertion(i,r,o,u)),Ee(i.item,r)||this._addIdentityChange(i,r)):(i=this._mismatch(i,r,o,u),a=!0),i=i._next}else n=0,function(e,t){if(Array.isArray(e))for(var n=0;n<e.length;n++)t(e[n]);else for(var r=e[Ce()](),o=void 0;!(o=r.next()).done;)t(o.value)}(e,function(e){o=t._trackByFn(n,e),null!==i&&Ee(i.trackById,o)?(a&&(i=t._verifyReinsertion(i,e,o,n)),Ee(i.item,e)||t._addIdentityChange(i,e)):(i=t._mismatch(i,e,o,n),a=!0),i=i._next,n++}),this.length=n;return this._truncate(i),this.collection=e,this.isDirty},Object.defineProperty(e.prototype,"isDirty",{get:function(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead},enumerable:!0,configurable:!0}),e.prototype._reset=function(){if(this.isDirty){var e=void 0,t=void 0;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=t)e.previousIndex=e.currentIndex,t=e._nextMoved;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}},e.prototype._mismatch=function(e,t,n,r){var o;return null===e?o=this._itTail:(o=e._prev,this._remove(e)),null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(Ee(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,o,r)):null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Ee(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,o,r)):e=this._addAfter(new Zn(t,n),o,r),e},e.prototype._verifyReinsertion=function(e,t,n,r){var o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==o?e=this._reinsertAfter(o,e._prev,r):e.currentIndex!=r&&(e.currentIndex=r,this._addToMoves(e,r)),e},e.prototype._truncate=function(e){for(;null!==e;){var t=e._next;this._addToRemovals(this._unlink(e)),e=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)},e.prototype._reinsertAfter=function(e,t,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);var r=e._prevRemoved,o=e._nextRemoved;return null===r?this._removalsHead=o:r._nextRemoved=o,null===o?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(e,t,n),this._addToMoves(e,n),e},e.prototype._moveAfter=function(e,t,n){return this._unlink(e),this._insertAfter(e,t,n),this._addToMoves(e,n),e},e.prototype._addAfter=function(e,t,n){return this._insertAfter(e,t,n),this._additionsTail=null===this._additionsTail?this._additionsHead=e:this._additionsTail._nextAdded=e,e},e.prototype._insertAfter=function(e,t,n){var r=null===t?this._itHead:t._next;return e._next=r,e._prev=t,null===r?this._itTail=e:r._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new Qn),this._linkedRecords.put(e),e.currentIndex=n,e},e.prototype._remove=function(e){return this._addToRemovals(this._unlink(e))},e.prototype._unlink=function(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);var t=e._prev,n=e._next;return null===t?this._itHead=n:t._next=n,null===n?this._itTail=t:n._prev=t,e},e.prototype._addToMoves=function(e,t){return e.previousIndex===t?e:(this._movesTail=null===this._movesTail?this._movesHead=e:this._movesTail._nextMoved=e,e)},e.prototype._addToRemovals=function(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Qn),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e},e.prototype._addIdentityChange=function(e,t){return e.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=e:this._identityChangesTail._nextIdentityChange=e,e},e}(),Zn=function(e,t){this.item=e,this.trackById=t,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null},Gn=function(){function e(){this._head=null,this._tail=null}return e.prototype.add=function(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)},e.prototype.get=function(e,t){var n;for(n=this._head;null!==n;n=n._nextDup)if((null===t||t<=n.currentIndex)&&Ee(n.trackById,e))return n;return null},e.prototype.remove=function(e){var t=e._prevDup,n=e._nextDup;return null===t?this._head=n:t._nextDup=n,null===n?this._tail=t:n._prevDup=t,null===this._head},e}(),Qn=function(){function e(){this.map=new Map}return e.prototype.put=function(e){var t=e.trackById,n=this.map.get(t);n||(n=new Gn,this.map.set(t,n)),n.add(e)},e.prototype.get=function(e,t){var n=this.map.get(e);return n?n.get(e,t):null},e.prototype.remove=function(e){var t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e},Object.defineProperty(e.prototype,"isEmpty",{get:function(){return 0===this.map.size},enumerable:!0,configurable:!0}),e.prototype.clear=function(){this.map.clear()},e}();function Wn(e,t,n){var r=e.previousIndex;if(null===r)return r;var o=0;return n&&r<n.length&&(o=n[r]),r+t+o}var Kn=function(){function e(){}return e.prototype.supports=function(e){return e instanceof Map||Fn(e)},e.prototype.create=function(){return new Yn},e}(),Yn=function(){function e(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}return Object.defineProperty(e.prototype,"isDirty",{get:function(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead},enumerable:!0,configurable:!0}),e.prototype.forEachItem=function(e){var t;for(t=this._mapHead;null!==t;t=t._next)e(t)},e.prototype.forEachPreviousItem=function(e){var t;for(t=this._previousMapHead;null!==t;t=t._nextPrevious)e(t)},e.prototype.forEachChangedItem=function(e){var t;for(t=this._changesHead;null!==t;t=t._nextChanged)e(t)},e.prototype.forEachAddedItem=function(e){var t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)},e.prototype.forEachRemovedItem=function(e){var t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)},e.prototype.diff=function(e){if(e){if(!(e instanceof Map||Fn(e)))throw new Error("Error trying to diff '"+xe(e)+"'. Only maps and objects are allowed")}else e=new Map;return this.check(e)?this:null},e.prototype.onDestroy=function(){},e.prototype.check=function(e){var t=this;this._reset();var n=this._mapHead;if(this._appendAfter=null,this._forEach(e,function(e,r){if(n&&n.key===r)t._maybeAddToChanges(n,e),t._appendAfter=n,n=n._next;else{var o=t._getOrCreateRecordForKey(r,e);n=t._insertBeforeOrAppend(n,o)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(var r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty},e.prototype._insertBeforeOrAppend=function(e,t){if(e){var n=e._prev;return t._next=e,t._prev=n,e._prev=t,n&&(n._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null},e.prototype._getOrCreateRecordForKey=function(e,t){if(this._records.has(e)){var n=this._records.get(e);this._maybeAddToChanges(n,t);var r=n._prev,o=n._next;return r&&(r._next=o),o&&(o._prev=r),n._next=null,n._prev=null,n}var i=new Jn(e);return this._records.set(e,i),i.currentValue=t,this._addToAdditions(i),i},e.prototype._reset=function(){if(this.isDirty){var e=void 0;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;null!==e;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;null!=e;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}},e.prototype._maybeAddToChanges=function(e,t){Ee(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))},e.prototype._addToAdditions=function(e){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)},e.prototype._addToChanges=function(e){null===this._changesHead?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)},e.prototype._forEach=function(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach(function(n){return t(e[n],n)})},e}(),Jn=function(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null},Xn=function(){function e(e){this.factories=e}return e.create=function(t,n){if(null!=n){var r=n.factories.slice();t=t.concat(r)}return new e(t)},e.extend=function(t){return{provide:e,useFactory:function(n){if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return e.create(t,n)},deps:[[e,new Re,new Ae]]}},e.prototype.find=function(e){var t,n=this.factories.find(function(t){return t.supports(e)});if(null!=n)return n;throw new Error("Cannot find a differ supporting object '"+e+"' of type '"+((t=e).name||typeof t)+"'")},e.ngInjectableDef=pe({providedIn:"root",factory:function(){return new e([new zn])}}),e}(),$n=function(){function e(e){this.factories=e}return e.create=function(t,n){if(n){var r=n.factories.slice();t=t.concat(r)}return new e(t)},e.extend=function(t){return{provide:e,useFactory:function(n){if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return e.create(t,n)},deps:[[e,new Re,new Ae]]}},e.prototype.find=function(e){var t=this.factories.find(function(t){return t.supports(e)});if(t)return t;throw new Error("Cannot find a differ supporting object '"+e+"'")},e}(),er=[new Kn],tr=new Xn([new zn]),nr=new $n(er),rr=dn(null,"core",[{provide:It,useValue:"unknown"},{provide:yn,deps:[He]},{provide:un,deps:[]},{provide:Nt,deps:[]}]),or=new he("LocaleId");function ir(){return tr}function ar(){return nr}function ur(e){return e||"en-US"}var sr=function(e){},cr=function(){function e(e){if(this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),this.inertBodyElement=this.inertDocument.body,null==this.inertBodyElement){var t=this.inertDocument.createElement("html");this.inertDocument.appendChild(t),this.inertBodyElement=this.inertDocument.createElement("body"),t.appendChild(this.inertBodyElement)}this.inertBodyElement.innerHTML='<svg><g onload="this.parentNode.remove()"></g></svg>',!this.inertBodyElement.querySelector||this.inertBodyElement.querySelector("svg")?(this.inertBodyElement.innerHTML='<svg><p><style><img src="</style><img src=x onerror=alert(1)//">',this.getInertBodyElement=this.inertBodyElement.querySelector&&this.inertBodyElement.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(e){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}return e.prototype.getInertBodyElement_XHR=function(e){e="<body><remove></remove>"+e+"</body>";try{e=encodeURI(e)}catch(e){return null}var t=new XMLHttpRequest;t.responseType="document",t.open("GET","data:text/html;charset=utf-8,"+e,!1),t.send(null);var n=t.response.body;return n.removeChild(n.firstChild),n},e.prototype.getInertBodyElement_DOMParser=function(e){e="<body><remove></remove>"+e+"</body>";try{var t=(new window.DOMParser).parseFromString(e,"text/html").body;return t.removeChild(t.firstChild),t}catch(e){return null}},e.prototype.getInertBodyElement_InertDocument=function(e){var t=this.inertDocument.createElement("template");return"content"in t?(t.innerHTML=e,t):(this.inertBodyElement.innerHTML=e,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(this.inertBodyElement),this.inertBodyElement)},e.prototype.stripCustomNsAttrs=function(e){for(var t=e.attributes,n=t.length-1;0<n;n--){var r=t.item(n).name;"xmlns:ns1"!==r&&0!==r.indexOf("ns1:")||e.removeAttribute(r)}for(var o=e.firstChild;o;)o.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(o),o=o.nextSibling},e}(),lr=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,fr=/^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 pr(e){return(e=String(e)).match(lr)||e.match(fr)?e:(pn()&&console.warn("WARNING: sanitizing unsafe URL value "+e+" (see http://g.co/ng/security#xss)"),"unsafe:"+e)}function hr(e){var t,n,r={};try{for(var o=a(e.split(",")),i=o.next();!i.done;i=o.next())r[i.value]=!0}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}return r}function dr(){for(var e,t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var o={};try{for(var i=a(n),u=i.next();!u.done;u=i.next()){var s=u.value;for(var c in s)s.hasOwnProperty(c)&&(o[c]=!0)}}catch(t){e={error:t}}finally{try{u&&!u.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}return o}var vr,yr=hr("area,br,col,hr,img,wbr"),gr=hr("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),mr=hr("rp,rt"),wr=dr(mr,gr),br=dr(yr,dr(gr,hr("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")),dr(mr,hr("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")),wr),_r=hr("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Cr=hr("srcset"),Sr=dr(_r,Cr,hr("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")),Er=function(){function e(){this.sanitizedSomething=!1,this.buf=[]}return e.prototype.sanitizeChildren=function(e){for(var t=e.firstChild;t;)if(t.nodeType===Node.ELEMENT_NODE?this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,t.firstChild)t=t.firstChild;else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);var n=this.checkClobberedElement(t,t.nextSibling);if(n){t=n;break}t=this.checkClobberedElement(t,t.parentNode)}return this.buf.join("")},e.prototype.startElement=function(e){var t=e.nodeName.toLowerCase();if(br.hasOwnProperty(t)){this.buf.push("<"),this.buf.push(t);for(var n,r=e.attributes,o=0;o<r.length;o++){var i=r.item(o),a=i.name,u=a.toLowerCase();if(Sr.hasOwnProperty(u)){var s=i.value;_r[u]&&(s=pr(s)),Cr[u]&&(n=s,s=(n=String(n)).split(",").map(function(e){return pr(e.trim())}).join(", ")),this.buf.push(" ",a,'="',kr(s),'"')}else this.sanitizedSomething=!0}this.buf.push(">")}else this.sanitizedSomething=!0},e.prototype.endElement=function(e){var t=e.nodeName.toLowerCase();br.hasOwnProperty(t)&&!yr.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))},e.prototype.chars=function(e){this.buf.push(kr(e))},e.prototype.checkClobberedElement=function(e,t){if(t&&(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: "+e.outerHTML);return t},e}(),xr=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Tr=/([^\#-~ |!])/g;function kr(e){return e.replace(/&/g,"&amp;").replace(xr,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(Tr,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}function Ir(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Ar=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"),Nr=/^url\(([^)]+)\)$/,Rr=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}({}),Pr=function(){};function Or(e,t,n){var r=e.state,o=1792&r;return o===t?(e.state=-1793&r|n,e.initIndex=-1,!0):o===n}function Dr(e,t,n){return(1792&e.state)===t&&e.initIndex<=n&&(e.initIndex=n+1,!0)}function jr(e,t){return e.nodes[t]}function Mr(e,t){return e.nodes[t]}function Hr(e,t){return e.nodes[t]}function Lr(e,t){return e.nodes[t]}function Ur(e,t){return e.nodes[t]}var Vr={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 Fr(e,t,n,r){var o="ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '"+t+"'. Current value: '"+n+"'.";return r&&(o+=" It seems like the view has been created after its parent and its children have been dirty checked. Has it been created in a change detection hook ?"),function(e,t){var n=new Error(e);return zr(n,t),n}(o,e)}function zr(e,t){e[rt]=t,e[it]=t.logError.bind(t)}function Br(e){return new Error("ViewDestroyedError: Attempt to use a destroyed view: "+e)}var qr=function(){},Zr=new Map;function Gr(e){var t=Zr.get(e);return t||(t=xe(e)+"_"+Zr.size,Zr.set(e,t)),t}var Qr="$$undefined",Wr="$$empty";function Kr(e){return{id:Qr,styles:e.styles,encapsulation:e.encapsulation,data:e.data}}var Yr=0;function Jr(e,t,n,r){return!(!(2&e.state)&&Ee(e.oldValues[t.bindingIndex+n],r))}function Xr(e,t,n,r){return!!Jr(e,t,n,r)&&(e.oldValues[t.bindingIndex+n]=r,!0)}function $r(e,t,n,r){var o=e.oldValues[t.bindingIndex+n];if(1&e.state||!Hn(o,r)){var i=t.bindings[n].name;throw Fr(Vr.createDebugContext(e,t.nodeIndex),i+": "+o,i+": "+r,0!=(1&e.state))}}function eo(e){for(var t=e;t;)2&t.def.flags&&(t.state|=8),t=t.viewContainerParent||t.parent}function to(e,t){for(var n=e;n&&n!==t;)n.state|=64,n=n.viewContainerParent||n.parent}function no(e,t,n,r){try{return eo(33554432&e.def.nodes[t].flags?Mr(e,t).componentView:e),Vr.handleEvent(e,t,n,r)}catch(t){e.root.errorHandler.handleError(t)}}function ro(e){return e.parent?Mr(e.parent,e.parentNodeDef.nodeIndex):null}function oo(e){return e.parent?e.parentNodeDef.parent:null}function io(e,t){switch(201347067&t.flags){case 1:return Mr(e,t.nodeIndex).renderElement;case 2:return jr(e,t.nodeIndex).renderText}}function ao(e){return!!e.parent&&!!(32768&e.parentNodeDef.flags)}function uo(e){return!(!e.parent||32768&e.parentNodeDef.flags)}function so(e){var t={},n=0,r={};return e&&e.forEach(function(e){var o=u(e,2),i=o[0],a=o[1];"number"==typeof i?(t[i]=a,n|=function(e){return 1<<e%32}(i)):r[i]=a}),{matchedQueries:t,references:r,matchedQueryIds:n}}function co(e,t){return e.map(function(e){var n,r,o;return Array.isArray(e)?(o=(n=u(e,2))[0],r=n[1]):(o=0,r=e),r&&("function"==typeof r||"object"==typeof r)&&t&&Object.defineProperty(r,Pe,{value:t,configurable:!0}),{flags:o,token:r,tokenKey:Gr(r)}})}function lo(e,t,n){var r=n.renderParent;return r?0==(1&r.flags)||0==(33554432&r.flags)||r.element.componentRendererType&&r.element.componentRendererType.encapsulation===tt.Native?Mr(e,n.renderParent.nodeIndex).renderElement:void 0:t}var fo=new WeakMap;function po(e){var t=fo.get(e);return t||((t=e(function(){return qr})).factory=e,fo.set(e,t)),t}function ho(e,t,n,r,o){3===t&&(n=e.renderer.parentNode(io(e,e.def.lastRenderRootNode))),vo(e,t,0,e.def.nodes.length-1,n,r,o)}function vo(e,t,n,r,o,i,a){for(var u=n;u<=r;u++){var s=e.def.nodes[u];11&s.flags&&go(e,s,t,o,i,a),u+=s.childCount}}function yo(e,t,n,r,o,i){for(var a=e;a&&!ao(a);)a=a.parent;for(var u=a.parent,s=oo(a),c=s.nodeIndex+s.childCount,l=s.nodeIndex+1;l<=c;l++){var f=u.def.nodes[l];f.ngContentIndex===t&&go(u,f,n,r,o,i),l+=f.childCount}if(!u.parent){var p=e.root.projectableNodes[t];if(p)for(l=0;l<p.length;l++)mo(e,p[l],n,r,o,i)}}function go(e,t,n,r,o,i){if(8&t.flags)yo(e,t.ngContent.index,n,r,o,i);else{var a=io(e,t);if(3===n&&33554432&t.flags&&48&t.bindingFlags?(16&t.bindingFlags&&mo(e,a,n,r,o,i),32&t.bindingFlags&&mo(Mr(e,t.nodeIndex).componentView,a,n,r,o,i)):mo(e,a,n,r,o,i),16777216&t.flags)for(var u=Mr(e,t.nodeIndex).viewContainer._embeddedViews,s=0;s<u.length;s++)ho(u[s],n,r,o,i);1&t.flags&&!t.element.name&&vo(e,n,t.nodeIndex+1,t.nodeIndex+t.childCount,r,o,i)}}function mo(e,t,n,r,o,i){var a=e.renderer;switch(n){case 1:a.appendChild(r,t);break;case 2:a.insertBefore(r,t,o);break;case 3:a.removeChild(r,t);break;case 0:i.push(t)}}var wo=/^:([^:]+):(.+)$/;function bo(e){if(":"===e[0]){var t=e.match(wo);return[t[1],t[2]]}return["",e]}function _o(e){for(var t=0,n=0;n<e.length;n++)t|=e[n].flags;return t}function Co(e,t,n,r,o,i,a,s,c,l,f,p){var h;void 0===a&&(a=[]),l||(l=qr);var d=so(n),v=d.matchedQueries,y=d.references,g=d.matchedQueryIds,m=null,w=null;i&&(m=(h=u(bo(i),2))[0],w=h[1]),s=s||[];for(var b=new Array(s.length),_=0;_<s.length;_++){var C=u(s[_],3),S=C[0],E=C[2],x=u(bo(C[1]),2),T=x[0],k=x[1],I=void 0,A=void 0;switch(15&S){case 4:A=E;break;case 1:case 8:I=E}b[_]={flags:S,ns:T,name:k,nonMinifiedName:k,securityContext:I,suffix:A}}c=c||[];var N=new Array(c.length);for(_=0;_<c.length;_++){var R=u(c[_],2);N[_]={type:0,target:R[0],eventName:R[1],propName:null}}var P=(a=a||[]).map(function(e){var t=u(e,2),n=t[1],r=u(bo(t[0]),2);return[r[0],r[1],n]});return p=function(e){if(e&&e.id===Qr){var t=null!=e.encapsulation&&e.encapsulation!==tt.None||e.styles.length||Object.keys(e.data).length;e.id=t?"c"+Yr++:Wr}return e&&e.id===Wr&&(e=null),e||null}(p),f&&(t|=33554432),{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:t|=1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:v,matchedQueryIds:g,references:y,ngContentIndex:r,childCount:o,bindings:b,bindingFlags:_o(b),outputs:N,element:{ns:m,name:w,attrs:P,template:null,componentProvider:null,componentView:f||null,componentRendererType:p,publicProviders:null,allProviders:null,handleEvent:l||qr},provider:null,text:null,query:null,ngContent:null}}function So(e,t,n){var r,o=n.element,i=e.root.selectorOrNode,a=e.renderer;if(e.parent||!i){r=o.name?a.createElement(o.name,o.ns):a.createComment("");var s=lo(e,t,n);s&&a.appendChild(s,r)}else r=a.selectRootElement(i);if(o.attrs)for(var c=0;c<o.attrs.length;c++){var l=u(o.attrs[c],3);a.setAttribute(r,l[1],l[2],l[0])}return r}function Eo(e,t,n,r){for(var o=0;o<n.outputs.length;o++){var i=n.outputs[o],a=xo(e,n.nodeIndex,(f=i.eventName,(l=i.target)?l+":"+f:f)),u=i.target,s=e;"component"===i.target&&(u=null,s=t);var c=s.renderer.listen(u||r,i.eventName,a);e.disposables[n.outputIndex+o]=c}var l,f}function xo(e,t,n){return function(r){return no(e,t,n,r)}}function To(e,t,n,r){if(!Xr(e,t,n,r))return!1;var o=t.bindings[n],i=Mr(e,t.nodeIndex),a=i.renderElement,u=o.name;switch(15&o.flags){case 1:!function(e,t,n,r,o,i){var a=t.securityContext,u=a?e.root.sanitizer.sanitize(a,i):i;u=null!=u?u.toString():null;var s=e.renderer;null!=i?s.setAttribute(n,o,u,r):s.removeAttribute(n,o,r)}(e,o,a,o.ns,u,r);break;case 2:!function(e,t,n,r){var o=e.renderer;r?o.addClass(t,n):o.removeClass(t,n)}(e,a,u,r);break;case 4:!function(e,t,n,r,o){var i=e.root.sanitizer.sanitize(Rr.STYLE,o);if(null!=i){i=i.toString();var a=t.suffix;null!=a&&(i+=a)}else i=null;var u=e.renderer;null!=i?u.setStyle(n,r,i):u.removeStyle(n,r)}(e,o,a,u,r);break;case 8:!function(e,t,n,r,o){var i=t.securityContext,a=i?e.root.sanitizer.sanitize(i,o):o;e.renderer.setProperty(n,r,a)}(33554432&t.flags&&32&o.flags?i.componentView:e,o,a,u,r)}return!0}var ko=new Object,Io=Gr(He),Ao=Gr(je),No=Gr(qt);function Ro(e,t,n,r){return n=ke(n),{index:-1,deps:co(r,xe(t)),flags:e,token:t,value:n}}function Po(e,t,n){void 0===n&&(n=He.THROW_IF_NOT_FOUND);var r,o,i=Xe(e);try{if(8&t.flags)return t.token;if(2&t.flags&&(n=null),1&t.flags)return e._parent.get(t.token,n);var a=t.tokenKey;switch(a){case Io:case Ao:case No:return e}var u=e._def.providersByKey[a];if(u){var s=e._providers[u.index];return void 0===s&&(s=e._providers[u.index]=Oo(e,u)),s===ko?void 0:s}if(t.token.ngInjectableDef&&(r=e,null!=(o=t.token.ngInjectableDef).providedIn&&(function(e,t){return e._def.modules.indexOf(o.providedIn)>-1}(r)||"root"===o.providedIn&&r._def.isRoot))){var c=e._providers.length;return e._def.providersByKey[t.tokenKey]={flags:5120,value:t.token.ngInjectableDef.factory,deps:[],index:c,token:t.token},e._providers[c]=ko,e._providers[c]=Oo(e,e._def.providersByKey[t.tokenKey])}return 4&t.flags?n:e._parent.get(t.token,n)}finally{Xe(i)}}function Oo(e,t){var n;switch(201347067&t.flags){case 512:n=function(e,t,n){var r=n.length;switch(r){case 0:return new t;case 1:return new t(Po(e,n[0]));case 2:return new t(Po(e,n[0]),Po(e,n[1]));case 3:return new t(Po(e,n[0]),Po(e,n[1]),Po(e,n[2]));default:for(var o=new Array(r),i=0;i<r;i++)o[i]=Po(e,n[i]);return new(t.bind.apply(t,s([void 0],o)))}}(e,t.value,t.deps);break;case 1024:n=function(e,t,n){var r=n.length;switch(r){case 0:return t();case 1:return t(Po(e,n[0]));case 2:return t(Po(e,n[0]),Po(e,n[1]));case 3:return t(Po(e,n[0]),Po(e,n[1]),Po(e,n[2]));default:for(var o=Array(r),i=0;i<r;i++)o[i]=Po(e,n[i]);return t.apply(void 0,s(o))}}(e,t.value,t.deps);break;case 2048:n=Po(e,t.deps[0]);break;case 256:n=t.value}return n===ko||null==n||"object"!=typeof n||131072&t.flags||"function"!=typeof n.ngOnDestroy||(t.flags|=131072),void 0===n?ko:n}function Do(e,t){var n=e.viewContainer._embeddedViews;if((null==t||t>=n.length)&&(t=n.length-1),t<0)return null;var r=n[t];return r.viewContainerParent=null,Lo(n,t),Vr.dirtyParentQueries(r),Mo(r),r}function jo(e,t,n){var r=t?io(t,t.def.lastRenderRootNode):e.renderElement;ho(n,2,n.renderer.parentNode(r),n.renderer.nextSibling(r),void 0)}function Mo(e){ho(e,3,null,null,void 0)}function Ho(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Lo(e,t){t>=e.length-1?e.pop():e.splice(t,1)}var Uo=new Object;function Vo(e,t,n,r,o,i){return new Fo(e,t,n,r,o,i)}var Fo=function(e){function t(t,n,r,o,i,a){var u=e.call(this)||this;return u.selector=t,u.componentType=n,u._inputs=o,u._outputs=i,u.ngContentSelectors=a,u.viewDefFactory=r,u}return o(t,e),Object.defineProperty(t.prototype,"inputs",{get:function(){var e=[],t=this._inputs;for(var n in t)e.push({propName:n,templateName:t[n]});return e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"outputs",{get:function(){var e=[];for(var t in this._outputs)e.push({propName:t,templateName:this._outputs[t]});return e},enumerable:!0,configurable:!0}),t.prototype.create=function(e,t,n,r){if(!r)throw new Error("ngModule should be provided");var o=po(this.viewDefFactory),i=o.nodes[0].element.componentProvider.nodeIndex,a=Vr.createRootView(e,t||[],n,o,r,Uo),u=Hr(a,i).instance;return n&&a.renderer.setAttribute(Mr(a,0).renderElement,"ng-version",nt.full),new zo(a,new Go(a),u)},t}(jt),zo=function(e){function t(t,n,r){var o=e.call(this)||this;return o._view=t,o._viewRef=n,o._component=r,o._elDef=o._view.def.nodes[0],o.hostView=n,o.changeDetectorRef=n,o.instance=r,o}return o(t,e),Object.defineProperty(t.prototype,"location",{get:function(){return new Cn(Mr(this._view,this._elDef.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return new Yo(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentType",{get:function(){return this._component.constructor},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){this._viewRef.destroy()},t.prototype.onDestroy=function(e){this._viewRef.onDestroy(e)},t}(Dt);function Bo(e,t,n){return new qo(e,t,n)}var qo=function(){function e(e,t,n){this._view=e,this._elDef=t,this._data=n,this._embeddedViews=[]}return Object.defineProperty(e.prototype,"element",{get:function(){return new Cn(this._data.renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return new Yo(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parentInjector",{get:function(){for(var e=this._view,t=this._elDef.parent;!t&&e;)t=oo(e),e=e.parent;return e?new Yo(e,t):new Yo(this._view,null)},enumerable:!0,configurable:!0}),e.prototype.clear=function(){for(var e=this._embeddedViews.length-1;e>=0;e--){var t=Do(this._data,e);Vr.destroyView(t)}},e.prototype.get=function(e){var t=this._embeddedViews[e];if(t){var n=new Go(t);return n.attachToViewContainerRef(this),n}return null},Object.defineProperty(e.prototype,"length",{get:function(){return this._embeddedViews.length},enumerable:!0,configurable:!0}),e.prototype.createEmbeddedView=function(e,t,n){var r=e.createEmbeddedView(t||{});return this.insert(r,n),r},e.prototype.createComponent=function(e,t,n,r,o){var i=n||this.parentInjector;o||e instanceof Bt||(o=i.get(qt));var a=e.create(i,r,void 0,o);return this.insert(a.hostView,t),a},e.prototype.insert=function(e,t){if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var n,r,o,i,a=e;return o=a._view,i=(n=this._data).viewContainer._embeddedViews,null!==(r=t)&&void 0!==r||(r=i.length),o.viewContainerParent=this._view,Ho(i,r,o),function(e,t){var n=ro(t);if(n&&n!==e&&!(16&t.state)){t.state|=16;var r=n.template._projectedViews;r||(r=n.template._projectedViews=[]),r.push(t),function(e,n){if(!(4&n.flags)){t.parent.def.nodeFlags|=4,n.flags|=4;for(var r=n.parent;r;)r.childFlags|=4,r=r.parent}}(0,t.parentNodeDef)}}(n,o),Vr.dirtyParentQueries(o),jo(n,r>0?i[r-1]:null,o),a.attachToViewContainerRef(this),e},e.prototype.move=function(e,t){if(e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");var n,r,o,i,a,u=this._embeddedViews.indexOf(e._view);return o=t,a=(i=(n=this._data).viewContainer._embeddedViews)[r=u],Lo(i,r),null==o&&(o=i.length),Ho(i,o,a),Vr.dirtyParentQueries(a),Mo(a),jo(n,o>0?i[o-1]:null,a),e},e.prototype.indexOf=function(e){return this._embeddedViews.indexOf(e._view)},e.prototype.remove=function(e){var t=Do(this._data,e);t&&Vr.destroyView(t)},e.prototype.detach=function(e){var t=Do(this._data,e);return t?new Go(t):null},e}();function Zo(e){return new Go(e)}var Go=function(){function e(e){this._view=e,this._viewContainerRef=null,this._appRef=null}return Object.defineProperty(e.prototype,"rootNodes",{get:function(){return ho(this._view,0,void 0,void 0,e=[]),e;var e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return this._view.context},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"destroyed",{get:function(){return 0!=(128&this._view.state)},enumerable:!0,configurable:!0}),e.prototype.markForCheck=function(){eo(this._view)},e.prototype.detach=function(){this._view.state&=-5},e.prototype.detectChanges=function(){var e=this._view.root.rendererFactory;e.begin&&e.begin();try{Vr.checkAndUpdateView(this._view)}finally{e.end&&e.end()}},e.prototype.checkNoChanges=function(){Vr.checkNoChangesView(this._view)},e.prototype.reattach=function(){this._view.state|=4},e.prototype.onDestroy=function(e){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(e)},e.prototype.destroy=function(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),Vr.destroyView(this._view)},e.prototype.detachFromAppRef=function(){this._appRef=null,Mo(this._view),Vr.dirtyParentQueries(this._view)},e.prototype.attachToAppRef=function(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e},e.prototype.attachToViewContainerRef=function(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e},e}();function Qo(e,t){return new Wo(e,t)}var Wo=function(e){function t(t,n){var r=e.call(this)||this;return r._parentView=t,r._def=n,r}return o(t,e),t.prototype.createEmbeddedView=function(e){return new Go(Vr.createEmbeddedView(this._parentView,this._def,this._def.element.template,e))},Object.defineProperty(t.prototype,"elementRef",{get:function(){return new Cn(Mr(this._parentView,this._def.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),t}(An);function Ko(e,t){return new Yo(e,t)}var Yo=function(){function e(e,t){this.view=e,this.elDef=t}return e.prototype.get=function(e,t){return void 0===t&&(t=He.THROW_IF_NOT_FOUND),Vr.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:e,tokenKey:Gr(e)},t)},e}();function Jo(e){return new Xo(e.renderer)}var Xo=function(){function e(e){this.delegate=e}return e.prototype.selectRootElement=function(e){return this.delegate.selectRootElement(e)},e.prototype.createElement=function(e,t){var n=u(bo(t),2),r=this.delegate.createElement(n[1],n[0]);return e&&this.delegate.appendChild(e,r),r},e.prototype.createViewRoot=function(e){return e},e.prototype.createTemplateAnchor=function(e){var t=this.delegate.createComment("");return e&&this.delegate.appendChild(e,t),t},e.prototype.createText=function(e,t){var n=this.delegate.createText(t);return e&&this.delegate.appendChild(e,n),n},e.prototype.projectNodes=function(e,t){for(var n=0;n<t.length;n++)this.delegate.appendChild(e,t[n])},e.prototype.attachViewAfter=function(e,t){for(var n=this.delegate.parentNode(e),r=this.delegate.nextSibling(e),o=0;o<t.length;o++)this.delegate.insertBefore(n,t[o],r)},e.prototype.detachView=function(e){for(var t=0;t<e.length;t++){var n=e[t],r=this.delegate.parentNode(n);this.delegate.removeChild(r,n)}},e.prototype.destroyView=function(e,t){for(var n=0;n<t.length;n++)this.delegate.destroyNode(t[n])},e.prototype.listen=function(e,t,n){return this.delegate.listen(e,t,n)},e.prototype.listenGlobal=function(e,t,n){return this.delegate.listen(e,t,n)},e.prototype.setElementProperty=function(e,t,n){this.delegate.setProperty(e,t,n)},e.prototype.setElementAttribute=function(e,t,n){var r=u(bo(t),2),o=r[0],i=r[1];null!=n?this.delegate.setAttribute(e,i,n,o):this.delegate.removeAttribute(e,i,o)},e.prototype.setBindingDebugInfo=function(e,t,n){},e.prototype.setElementClass=function(e,t,n){n?this.delegate.addClass(e,t):this.delegate.removeClass(e,t)},e.prototype.setElementStyle=function(e,t,n){null!=n?this.delegate.setStyle(e,t,n):this.delegate.removeStyle(e,t)},e.prototype.invokeElementMethod=function(e,t,n){e[t].apply(e,n)},e.prototype.setText=function(e,t){this.delegate.setValue(e,t)},e.prototype.animate=function(){throw new Error("Renderer.animate is no longer supported!")},e}();function $o(e,t,n,r){return new ei(e,t,n,r)}var ei=function(){function e(e,t,n,r){this._moduleType=e,this._parent=t,this._bootstrapComponents=n,this._def=r,this._destroyListeners=[],this._destroyed=!1,this.injector=this,function(e){for(var t=e._def,n=e._providers=new Array(t.providers.length),r=0;r<t.providers.length;r++){var o=t.providers[r];4096&o.flags||void 0===n[r]&&(n[r]=Oo(e,o))}}(this)}return e.prototype.get=function(e,t,n){void 0===t&&(t=He.THROW_IF_NOT_FOUND),void 0===n&&(n=0);var r=0;return 4&n?r|=1:2&n&&(r|=4),Po(this,{token:e,tokenKey:Gr(e),flags:r},t)},Object.defineProperty(e.prototype,"instance",{get:function(){return this.get(this._moduleType)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentFactoryResolver",{get:function(){return this.get(Ft)},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){if(this._destroyed)throw new Error("The ng module "+xe(this.instance.constructor)+" has already been destroyed.");this._destroyed=!0,function(e,t){for(var n=e._def,r=new Set,o=0;o<n.providers.length;o++)if(131072&n.providers[o].flags){var i=e._providers[o];if(i&&i!==ko){var a=i.ngOnDestroy;"function"!=typeof a||r.has(i)||(a.apply(i),r.add(i))}}}(this),this._destroyListeners.forEach(function(e){return e()})},e.prototype.onDestroy=function(e){this._destroyListeners.push(e)},e}(),ti=Gr(function(){}),ni=Gr(function(){}),ri=Gr(Cn),oi=Gr(Nn),ii=Gr(An),ai=Gr(Rn),ui=Gr(He),si=Gr(je);function ci(e,t,n,r,o,i,a,s){var c=[];if(a)for(var l in a){var f=u(a[l],2);c[f[0]]={flags:8,name:l,nonMinifiedName:f[1],ns:null,securityContext:null,suffix:null}}var p=[];if(s)for(var h in s)p.push({type:1,propName:h,target:null,eventName:s[h]});return function(e,t,n,r,o,i,a,u,s){var c=so(n),l=c.matchedQueries,f=c.references,p=c.matchedQueryIds;s||(s=[]),u||(u=[]),i=ke(i);var h=co(a,xe(o));return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:t,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:l,matchedQueryIds:p,references:f,ngContentIndex:-1,childCount:r,bindings:u,bindingFlags:_o(u),outputs:s,element:null,provider:{token:o,value:i,deps:h},text:null,query:null,ngContent:null}}(e,t|=16384,n,r,o,o,i,c,p)}function li(e,t){return di(e,t)}function fi(e,t){for(var n=e;n.parent&&!ao(n);)n=n.parent;return vi(n.parent,oo(n),!0,t.provider.value,t.provider.deps)}function pi(e,t){var n=vi(e,t.parent,(32768&t.flags)>0,t.provider.value,t.provider.deps);if(t.outputs.length)for(var r=0;r<t.outputs.length;r++){var o=t.outputs[r],i=n[o.propName].subscribe(hi(e,t.parent.nodeIndex,o.eventName));e.disposables[t.outputIndex+r]=i.unsubscribe.bind(i)}return n}function hi(e,t,n){return function(r){return no(e,t,n,r)}}function di(e,t){var n=(8192&t.flags)>0,r=t.provider;switch(201347067&t.flags){case 512:return vi(e,t.parent,n,r.value,r.deps);case 1024:return function(e,t,n,r,o){var i=o.length;switch(i){case 0:return r();case 1:return r(gi(e,t,n,o[0]));case 2:return r(gi(e,t,n,o[0]),gi(e,t,n,o[1]));case 3:return r(gi(e,t,n,o[0]),gi(e,t,n,o[1]),gi(e,t,n,o[2]));default:for(var a=Array(i),u=0;u<i;u++)a[u]=gi(e,t,n,o[u]);return r.apply(void 0,s(a))}}(e,t.parent,n,r.value,r.deps);case 2048:return gi(e,t.parent,n,r.deps[0]);case 256:return r.value}}function vi(e,t,n,r,o){var i=o.length;switch(i){case 0:return new r;case 1:return new r(gi(e,t,n,o[0]));case 2:return new r(gi(e,t,n,o[0]),gi(e,t,n,o[1]));case 3:return new r(gi(e,t,n,o[0]),gi(e,t,n,o[1]),gi(e,t,n,o[2]));default:for(var a=new Array(i),u=0;u<i;u++)a[u]=gi(e,t,n,o[u]);return new(r.bind.apply(r,s([void 0],a)))}}var yi={};function gi(e,t,n,r,o){if(void 0===o&&(o=He.THROW_IF_NOT_FOUND),8&r.flags)return r.token;var i=e;2&r.flags&&(o=null);var a=r.tokenKey;a===ai&&(n=!(!t||!t.element.componentView)),t&&1&r.flags&&(n=!1,t=t.parent);for(var u=e;u;){if(t)switch(a){case ti:return Jo(mi(u,t,n));case ni:return mi(u,t,n).renderer;case ri:return new Cn(Mr(u,t.nodeIndex).renderElement);case oi:return Mr(u,t.nodeIndex).viewContainer;case ii:if(t.element.template)return Mr(u,t.nodeIndex).template;break;case ai:return Zo(mi(u,t,n));case ui:case si:return Ko(u,t);default:var s=(n?t.element.allProviders:t.element.publicProviders)[a];if(s){var c=Hr(u,s.nodeIndex);return c||(c={instance:di(u,s)},u.nodes[s.nodeIndex]=c),c.instance}}n=ao(u),t=oo(u),u=u.parent,4&r.flags&&(u=null)}var l=i.root.injector.get(r.token,yi);return l!==yi||o===yi?l:i.root.ngModule.injector.get(r.token,o)}function mi(e,t,n){var r;if(n)r=Mr(e,t.nodeIndex).componentView;else for(r=e;r.parent&&!ao(r);)r=r.parent;return r}function wi(e,t,n,r,o,i){if(32768&n.flags){var a=Mr(e,n.parent.nodeIndex).componentView;2&a.def.flags&&(a.state|=8)}if(t.instance[n.bindings[r].name]=o,524288&n.flags){i=i||{};var u=Ln.unwrap(e.oldValues[n.bindingIndex+r]);i[n.bindings[r].nonMinifiedName]=new Un(u,o,0!=(2&e.state))}return e.oldValues[n.bindingIndex+r]=o,i}function bi(e,t){if(e.def.nodeFlags&t)for(var n=e.def.nodes,r=0,o=0;o<n.length;o++){var i=n[o],a=i.parent;for(!a&&i.flags&t&&Ci(e,o,i.flags&t,r++),0==(i.childFlags&t)&&(o+=i.childCount);a&&1&a.flags&&o===a.nodeIndex+a.childCount;)a.directChildFlags&t&&(r=_i(e,a,t,r)),a=a.parent}}function _i(e,t,n,r){for(var o=t.nodeIndex+1;o<=t.nodeIndex+t.childCount;o++){var i=e.def.nodes[o];i.flags&n&&Ci(e,o,i.flags&n,r++),o+=i.childCount}return r}function Ci(e,t,n,r){var o=Hr(e,t);if(o){var i=o.instance;i&&(Vr.setCurrentNode(e,t),1048576&n&&Dr(e,512,r)&&i.ngAfterContentInit(),2097152&n&&i.ngAfterContentChecked(),4194304&n&&Dr(e,768,r)&&i.ngAfterViewInit(),8388608&n&&i.ngAfterViewChecked(),131072&n&&i.ngOnDestroy())}}function Si(e){for(var t=e.def.nodeMatchedQueries;e.parent&&uo(e);){var n=e.parentNodeDef;e=e.parent;for(var r=n.nodeIndex+n.childCount,o=0;o<=r;o++)67108864&(i=e.def.nodes[o]).flags&&536870912&i.flags&&(i.query.filterId&t)===i.query.filterId&&Ur(e,o).setDirty(),!(1&i.flags&&o+i.childCount<n.nodeIndex)&&67108864&i.childFlags&&536870912&i.childFlags||(o+=i.childCount)}if(134217728&e.def.nodeFlags)for(o=0;o<e.def.nodes.length;o++){var i;134217728&(i=e.def.nodes[o]).flags&&536870912&i.flags&&Ur(e,o).setDirty(),o+=i.childCount}}function Ei(e,t){var n=Ur(e,t.nodeIndex);if(n.dirty){var r,o=void 0;if(67108864&t.flags){var i=t.parent.parent;o=xi(e,i.nodeIndex,i.nodeIndex+i.childCount,t.query,[]),r=Hr(e,t.parent.nodeIndex).instance}else 134217728&t.flags&&(o=xi(e,0,e.def.nodes.length-1,t.query,[]),r=e.component);n.reset(o);for(var a=t.query.bindings,u=!1,s=0;s<a.length;s++){var c=a[s],l=void 0;switch(c.bindingType){case 0:l=n.first;break;case 1:l=n,u=!0}r[c.propName]=l}u&&n.notifyOnChanges()}}function xi(e,t,n,r,o){for(var i=t;i<=n;i++){var a=e.def.nodes[i],u=a.matchedQueries[r.id];if(null!=u&&o.push(Ti(e,a,u)),1&a.flags&&a.element.template&&(a.element.template.nodeMatchedQueries&r.filterId)===r.filterId){var s=Mr(e,i);if((a.childMatchedQueries&r.filterId)===r.filterId&&(xi(e,i+1,i+a.childCount,r,o),i+=a.childCount),16777216&a.flags)for(var c=s.viewContainer._embeddedViews,l=0;l<c.length;l++){var f=c[l],p=ro(f);p&&p===s&&xi(f,0,f.def.nodes.length-1,r,o)}var h=s.template._projectedViews;if(h)for(l=0;l<h.length;l++){var d=h[l];xi(d,0,d.def.nodes.length-1,r,o)}}(a.childMatchedQueries&r.filterId)!==r.filterId&&(i+=a.childCount)}return o}function Ti(e,t,n){if(null!=n)switch(n){case 1:return Mr(e,t.nodeIndex).renderElement;case 0:return new Cn(Mr(e,t.nodeIndex).renderElement);case 2:return Mr(e,t.nodeIndex).template;case 3:return Mr(e,t.nodeIndex).viewContainer;case 4:return Hr(e,t.nodeIndex).instance}}function ki(e,t,n){var r=lo(e,t,n);r&&yo(e,n.ngContent.index,1,r,null,void 0)}function Ii(e,t,n){for(var r=new Array(n.length-1),o=1;o<n.length;o++)r[o-1]={flags:8,name:null,ns:null,nonMinifiedName:null,securityContext:null,suffix:n[o]};return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:2,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:t,childCount:0,bindings:r,bindingFlags:8,outputs:[],element:null,provider:null,text:{prefix:n[0]},query:null,ngContent:null}}function Ai(e,t,n){var r,o=e.renderer;r=o.createText(n.text.prefix);var i=lo(e,t,n);return i&&o.appendChild(i,r),{renderText:r}}function Ni(e,t){return(null!=e?e.toString():"")+t.suffix}function Ri(e,t,n,r){for(var o=0,i=0,a=0,u=0,s=0,c=null,l=null,f=!1,p=!1,h=null,d=0;d<t.length;d++){var v=t[d];if(v.nodeIndex=d,v.parent=c,v.bindingIndex=o,v.outputIndex=i,v.renderParent=l,a|=v.flags,s|=v.matchedQueryIds,v.element){var y=v.element;y.publicProviders=c?c.element.publicProviders:Object.create(null),y.allProviders=y.publicProviders,f=!1,p=!1,v.element.template&&(s|=v.element.template.nodeMatchedQueries)}if(Oi(c,v,t.length),o+=v.bindings.length,i+=v.outputs.length,!l&&3&v.flags&&(h=v),20224&v.flags){f||(f=!0,c.element.publicProviders=Object.create(c.element.publicProviders),c.element.allProviders=c.element.publicProviders);var g=0!=(32768&v.flags);0==(8192&v.flags)||g?c.element.publicProviders[Gr(v.provider.token)]=v:(p||(p=!0,c.element.allProviders=Object.create(c.element.publicProviders)),c.element.allProviders[Gr(v.provider.token)]=v),g&&(c.element.componentProvider=v)}if(c?(c.childFlags|=v.flags,c.directChildFlags|=v.flags,c.childMatchedQueries|=v.matchedQueryIds,v.element&&v.element.template&&(c.childMatchedQueries|=v.element.template.nodeMatchedQueries)):u|=v.flags,v.childCount>0)c=v,Pi(v)||(l=v);else for(;c&&d===c.nodeIndex+c.childCount;){var m=c.parent;m&&(m.childFlags|=c.childFlags,m.childMatchedQueries|=c.childMatchedQueries),l=(c=m)&&Pi(c)?c.renderParent:c}}return{factory:null,nodeFlags:a,rootNodeFlags:u,nodeMatchedQueries:s,flags:e,nodes:t,updateDirectives:n||qr,updateRenderer:r||qr,handleEvent:function(e,n,r,o){return t[n].element.handleEvent(e,r,o)},bindingCount:o,outputCount:i,lastRenderRootNode:h}}function Pi(e){return 0!=(1&e.flags)&&null===e.element.name}function Oi(e,t,n){var r=t.element&&t.element.template;if(r){if(!r.lastRenderRootNode)throw new Error("Illegal State: Embedded templates without nodes are not allowed!");if(r.lastRenderRootNode&&16777216&r.lastRenderRootNode.flags)throw new Error("Illegal State: Last root node of a template can't have embedded views, at index "+t.nodeIndex+"!")}if(20224&t.flags&&0==(1&(e?e.flags:0)))throw new Error("Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index "+t.nodeIndex+"!");if(t.query){if(67108864&t.flags&&(!e||0==(16384&e.flags)))throw new Error("Illegal State: Content Query nodes need to be children of directives, at index "+t.nodeIndex+"!");if(134217728&t.flags&&e)throw new Error("Illegal State: View Query nodes have to be top level nodes, at index "+t.nodeIndex+"!")}if(t.childCount){var o=e?e.nodeIndex+e.childCount:n-1;if(t.nodeIndex<=o&&t.nodeIndex+t.childCount>o)throw new Error("Illegal State: childCount of node leads outside of parent, at index "+t.nodeIndex+"!")}}function Di(e,t,n,r){var o=Hi(e.root,e.renderer,e,t,n);return Li(o,e.component,r),Ui(o),o}function ji(e,t,n){var r=Hi(e,e.renderer,null,null,t);return Li(r,n,n),Ui(r),r}function Mi(e,t,n,r){var o,i=t.element.componentRendererType;return o=i?e.root.rendererFactory.createRenderer(r,i):e.root.renderer,Hi(e.root,o,e,t.element.componentProvider,n)}function Hi(e,t,n,r,o){var i=new Array(o.nodes.length),a=o.outputCount?new Array(o.outputCount):null;return{def:o,parent:n,viewContainerParent:null,parentNodeDef:r,context:null,component:null,nodes:i,state:13,root:e,renderer:t,oldValues:new Array(o.bindingCount),disposables:a,initIndex:-1}}function Li(e,t,n){e.component=t,e.context=n}function Ui(e){var t;ao(e)&&(t=Mr(e.parent,e.parentNodeDef.parent.nodeIndex).renderElement);for(var n=e.def,r=e.nodes,o=0;o<n.nodes.length;o++){var i=n.nodes[o];Vr.setCurrentNode(e,o);var a=void 0;switch(201347067&i.flags){case 1:var u=So(e,t,i),s=void 0;if(33554432&i.flags){var c=po(i.element.componentView);s=Vr.createComponentView(e,i,c,u)}Eo(e,s,i,u),a={renderElement:u,componentView:s,viewContainer:null,template:i.element.template?Qo(e,i):void 0},16777216&i.flags&&(a.viewContainer=Bo(e,i,a));break;case 2:a=Ai(e,t,i);break;case 512:case 1024:case 2048:case 256:(a=r[o])||4096&i.flags||(a={instance:li(e,i)});break;case 16:a={instance:fi(e,i)};break;case 16384:(a=r[o])||(a={instance:pi(e,i)}),32768&i.flags&&Li(Mr(e,i.parent.nodeIndex).componentView,a.instance,a.instance);break;case 32:case 64:case 128:a={value:void 0};break;case 67108864:case 134217728:a=new En;break;case 8:ki(e,t,i),a=void 0}r[o]=a}Wi(e,Qi.CreateViewNodes),Xi(e,201326592,268435456,0)}function Vi(e){Bi(e),Vr.updateDirectives(e,1),Ki(e,Qi.CheckNoChanges),Vr.updateRenderer(e,1),Wi(e,Qi.CheckNoChanges),e.state&=-97}function Fi(e){1&e.state?(e.state&=-2,e.state|=2):e.state&=-3,Or(e,0,256),Bi(e),Vr.updateDirectives(e,0),Ki(e,Qi.CheckAndUpdate),Xi(e,67108864,536870912,0);var t=Or(e,256,512);bi(e,2097152|(t?1048576:0)),Vr.updateRenderer(e,0),Wi(e,Qi.CheckAndUpdate),Xi(e,134217728,536870912,0),bi(e,8388608|((t=Or(e,512,768))?4194304:0)),2&e.def.flags&&(e.state&=-9),e.state&=-97,Or(e,768,1024)}function zi(e,t,n,r,o,i,a,u,c,l,f,p,h){return 0===n?function(e,t,n,r,o,i,a,u,s,c,l,f){switch(201347067&t.flags){case 1:return function(e,t,n,r,o,i,a,u,s,c,l,f){var p=t.bindings.length,h=!1;return p>0&&To(e,t,0,n)&&(h=!0),p>1&&To(e,t,1,r)&&(h=!0),p>2&&To(e,t,2,o)&&(h=!0),p>3&&To(e,t,3,i)&&(h=!0),p>4&&To(e,t,4,a)&&(h=!0),p>5&&To(e,t,5,u)&&(h=!0),p>6&&To(e,t,6,s)&&(h=!0),p>7&&To(e,t,7,c)&&(h=!0),p>8&&To(e,t,8,l)&&(h=!0),p>9&&To(e,t,9,f)&&(h=!0),h}(e,t,n,r,o,i,a,u,s,c,l,f);case 2:return function(e,t,n,r,o,i,a,u,s,c,l,f){var p=!1,h=t.bindings,d=h.length;if(d>0&&Xr(e,t,0,n)&&(p=!0),d>1&&Xr(e,t,1,r)&&(p=!0),d>2&&Xr(e,t,2,o)&&(p=!0),d>3&&Xr(e,t,3,i)&&(p=!0),d>4&&Xr(e,t,4,a)&&(p=!0),d>5&&Xr(e,t,5,u)&&(p=!0),d>6&&Xr(e,t,6,s)&&(p=!0),d>7&&Xr(e,t,7,c)&&(p=!0),d>8&&Xr(e,t,8,l)&&(p=!0),d>9&&Xr(e,t,9,f)&&(p=!0),p){var v=t.text.prefix;d>0&&(v+=Ni(n,h[0])),d>1&&(v+=Ni(r,h[1])),d>2&&(v+=Ni(o,h[2])),d>3&&(v+=Ni(i,h[3])),d>4&&(v+=Ni(a,h[4])),d>5&&(v+=Ni(u,h[5])),d>6&&(v+=Ni(s,h[6])),d>7&&(v+=Ni(c,h[7])),d>8&&(v+=Ni(l,h[8])),d>9&&(v+=Ni(f,h[9]));var y=jr(e,t.nodeIndex).renderText;e.renderer.setValue(y,v)}return p}(e,t,n,r,o,i,a,u,s,c,l,f);case 16384:return function(e,t,n,r,o,i,a,u,s,c,l,f){var p=Hr(e,t.nodeIndex),h=p.instance,d=!1,v=void 0,y=t.bindings.length;return y>0&&Jr(e,t,0,n)&&(d=!0,v=wi(e,p,t,0,n,v)),y>1&&Jr(e,t,1,r)&&(d=!0,v=wi(e,p,t,1,r,v)),y>2&&Jr(e,t,2,o)&&(d=!0,v=wi(e,p,t,2,o,v)),y>3&&Jr(e,t,3,i)&&(d=!0,v=wi(e,p,t,3,i,v)),y>4&&Jr(e,t,4,a)&&(d=!0,v=wi(e,p,t,4,a,v)),y>5&&Jr(e,t,5,u)&&(d=!0,v=wi(e,p,t,5,u,v)),y>6&&Jr(e,t,6,s)&&(d=!0,v=wi(e,p,t,6,s,v)),y>7&&Jr(e,t,7,c)&&(d=!0,v=wi(e,p,t,7,c,v)),y>8&&Jr(e,t,8,l)&&(d=!0,v=wi(e,p,t,8,l,v)),y>9&&Jr(e,t,9,f)&&(d=!0,v=wi(e,p,t,9,f,v)),v&&h.ngOnChanges(v),65536&t.flags&&Dr(e,256,t.nodeIndex)&&h.ngOnInit(),262144&t.flags&&h.ngDoCheck(),d}(e,t,n,r,o,i,a,u,s,c,l,f);case 32:case 64:case 128:return function(e,t,n,r,o,i,a,u,s,c,l,f){var p=t.bindings,h=!1,d=p.length;if(d>0&&Xr(e,t,0,n)&&(h=!0),d>1&&Xr(e,t,1,r)&&(h=!0),d>2&&Xr(e,t,2,o)&&(h=!0),d>3&&Xr(e,t,3,i)&&(h=!0),d>4&&Xr(e,t,4,a)&&(h=!0),d>5&&Xr(e,t,5,u)&&(h=!0),d>6&&Xr(e,t,6,s)&&(h=!0),d>7&&Xr(e,t,7,c)&&(h=!0),d>8&&Xr(e,t,8,l)&&(h=!0),d>9&&Xr(e,t,9,f)&&(h=!0),h){var v=Lr(e,t.nodeIndex),y=void 0;switch(201347067&t.flags){case 32:y=new Array(p.length),d>0&&(y[0]=n),d>1&&(y[1]=r),d>2&&(y[2]=o),d>3&&(y[3]=i),d>4&&(y[4]=a),d>5&&(y[5]=u),d>6&&(y[6]=s),d>7&&(y[7]=c),d>8&&(y[8]=l),d>9&&(y[9]=f);break;case 64:y={},d>0&&(y[p[0].name]=n),d>1&&(y[p[1].name]=r),d>2&&(y[p[2].name]=o),d>3&&(y[p[3].name]=i),d>4&&(y[p[4].name]=a),d>5&&(y[p[5].name]=u),d>6&&(y[p[6].name]=s),d>7&&(y[p[7].name]=c),d>8&&(y[p[8].name]=l),d>9&&(y[p[9].name]=f);break;case 128:var g=n;switch(d){case 1:y=g.transform(n);break;case 2:y=g.transform(r);break;case 3:y=g.transform(r,o);break;case 4:y=g.transform(r,o,i);break;case 5:y=g.transform(r,o,i,a);break;case 6:y=g.transform(r,o,i,a,u);break;case 7:y=g.transform(r,o,i,a,u,s);break;case 8:y=g.transform(r,o,i,a,u,s,c);break;case 9:y=g.transform(r,o,i,a,u,s,c,l);break;case 10:y=g.transform(r,o,i,a,u,s,c,l,f)}}v.value=y}return h}(e,t,n,r,o,i,a,u,s,c,l,f);default:throw"unreachable"}}(e,t,r,o,i,a,u,c,l,f,p,h):function(e,t,n){switch(201347067&t.flags){case 1:return function(e,t,n){for(var r=!1,o=0;o<n.length;o++)To(e,t,o,n[o])&&(r=!0);return r}(e,t,n);case 2:return function(e,t,n){for(var r=t.bindings,o=!1,i=0;i<n.length;i++)Xr(e,t,i,n[i])&&(o=!0);if(o){var a="";for(i=0;i<n.length;i++)a+=Ni(n[i],r[i]);a=t.text.prefix+a;var u=jr(e,t.nodeIndex).renderText;e.renderer.setValue(u,a)}return o}(e,t,n);case 16384:return function(e,t,n){for(var r=Hr(e,t.nodeIndex),o=r.instance,i=!1,a=void 0,u=0;u<n.length;u++)Jr(e,t,u,n[u])&&(i=!0,a=wi(e,r,t,u,n[u],a));return a&&o.ngOnChanges(a),65536&t.flags&&Dr(e,256,t.nodeIndex)&&o.ngOnInit(),262144&t.flags&&o.ngDoCheck(),i}(e,t,n);case 32:case 64:case 128:return function(e,t,n){for(var r=t.bindings,o=!1,i=0;i<n.length;i++)Xr(e,t,i,n[i])&&(o=!0);if(o){var a=Lr(e,t.nodeIndex),u=void 0;switch(201347067&t.flags){case 32:u=n;break;case 64:for(u={},i=0;i<n.length;i++)u[r[i].name]=n[i];break;case 128:var c=n[0],l=n.slice(1);u=c.transform.apply(c,s(l))}a.value=u}return o}(e,t,n);default:throw"unreachable"}}(e,t,r)}function Bi(e){var t=e.def;if(4&t.nodeFlags)for(var n=0;n<t.nodes.length;n++){var r=t.nodes[n];if(4&r.flags){var o=Mr(e,n).template._projectedViews;if(o)for(var i=0;i<o.length;i++){var a=o[i];a.state|=32,to(a,e)}}else 0==(4&r.childFlags)&&(n+=r.childCount)}}function qi(e,t,n,r,o,i,a,u,s,c,l,f,p){return 0===n?function(e,t,n,r,o,i,a,u,s,c,l,f){var p=t.bindings.length;p>0&&$r(e,t,0,n),p>1&&$r(e,t,1,r),p>2&&$r(e,t,2,o),p>3&&$r(e,t,3,i),p>4&&$r(e,t,4,a),p>5&&$r(e,t,5,u),p>6&&$r(e,t,6,s),p>7&&$r(e,t,7,c),p>8&&$r(e,t,8,l),p>9&&$r(e,t,9,f)}(e,t,r,o,i,a,u,s,c,l,f,p):function(e,t,n){for(var r=0;r<n.length;r++)$r(e,t,r,n[r])}(e,t,r),!1}function Zi(e,t){if(Ur(e,t.nodeIndex).dirty)throw Fr(Vr.createDebugContext(e,t.nodeIndex),"Query "+t.query.id+" not dirty","Query "+t.query.id+" dirty",0!=(1&e.state))}function Gi(e){if(!(128&e.state)){if(Ki(e,Qi.Destroy),Wi(e,Qi.Destroy),bi(e,131072),e.disposables)for(var t=0;t<e.disposables.length;t++)e.disposables[t]();!function(e){if(16&e.state){var t=ro(e);if(t){var n=t.template._projectedViews;n&&(Lo(n,n.indexOf(e)),Vr.dirtyParentQueries(e))}}}(e),e.renderer.destroyNode&&function(e){for(var t=e.def.nodes.length,n=0;n<t;n++){var r=e.def.nodes[n];1&r.flags?e.renderer.destroyNode(Mr(e,n).renderElement):2&r.flags?e.renderer.destroyNode(jr(e,n).renderText):(67108864&r.flags||134217728&r.flags)&&Ur(e,n).destroy()}}(e),ao(e)&&e.renderer.destroy(),e.state|=128}}var Qi=function(e){return e[e.CreateViewNodes=0]="CreateViewNodes",e[e.CheckNoChanges=1]="CheckNoChanges",e[e.CheckNoChangesProjectedViews=2]="CheckNoChangesProjectedViews",e[e.CheckAndUpdate=3]="CheckAndUpdate",e[e.CheckAndUpdateProjectedViews=4]="CheckAndUpdateProjectedViews",e[e.Destroy=5]="Destroy",e}({});function Wi(e,t){var n=e.def;if(33554432&n.nodeFlags)for(var r=0;r<n.nodes.length;r++){var o=n.nodes[r];33554432&o.flags?Yi(Mr(e,r).componentView,t):0==(33554432&o.childFlags)&&(r+=o.childCount)}}function Ki(e,t){var n=e.def;if(16777216&n.nodeFlags)for(var r=0;r<n.nodes.length;r++){var o=n.nodes[r];if(16777216&o.flags)for(var i=Mr(e,r).viewContainer._embeddedViews,a=0;a<i.length;a++)Yi(i[a],t);else 0==(16777216&o.childFlags)&&(r+=o.childCount)}}function Yi(e,t){var n=e.state;switch(t){case Qi.CheckNoChanges:0==(128&n)&&(12==(12&n)?Vi(e):64&n&&Ji(e,Qi.CheckNoChangesProjectedViews));break;case Qi.CheckNoChangesProjectedViews:0==(128&n)&&(32&n?Vi(e):64&n&&Ji(e,t));break;case Qi.CheckAndUpdate:0==(128&n)&&(12==(12&n)?Fi(e):64&n&&Ji(e,Qi.CheckAndUpdateProjectedViews));break;case Qi.CheckAndUpdateProjectedViews:0==(128&n)&&(32&n?Fi(e):64&n&&Ji(e,t));break;case Qi.Destroy:Gi(e);break;case Qi.CreateViewNodes:Ui(e)}}function Ji(e,t){Ki(e,t),Wi(e,t)}function Xi(e,t,n,r){if(e.def.nodeFlags&t&&e.def.nodeFlags&n)for(var o=e.def.nodes.length,i=0;i<o;i++){var a=e.def.nodes[i];if(a.flags&t&&a.flags&n)switch(Vr.setCurrentNode(e,a.nodeIndex),r){case 0:Ei(e,a);break;case 1:Zi(e,a)}a.childFlags&t&&a.childFlags&n||(i+=a.childCount)}}var $i=!1;function ea(e,t,n,r,o,i){return ji(na(e,o,o.injector.get(bn),t,n),r,i)}function ta(e,t,n,r,o,i){var a=o.injector.get(bn),u=na(e,o,new Ma(a),t,n),s=pa(r);return Da(_a.create,ji,null,[u,s,i])}function na(e,t,n,r,o){var i=t.injector.get(Pr),a=t.injector.get(ct);return{ngModule:t,injector:e,projectableNodes:r,selectorOrNode:o,sanitizer:i,rendererFactory:n,renderer:n.createRenderer(null,null),errorHandler:a}}function ra(e,t,n,r){var o=pa(n);return Da(_a.create,Di,null,[e,t,o,r])}function oa(e,t,n,r){return n=sa.get(t.element.componentProvider.provider.token)||pa(n),Da(_a.create,Mi,null,[e,t,n,r])}function ia(e,t,n,r){return $o(e,t,n,function(e){var t=function(e){var t=!1,n=!1;return 0===aa.size?{hasOverrides:t,hasDeprecatedOverrides:n}:(e.providers.forEach(function(e){var r=aa.get(e.token);3840&e.flags&&r&&(t=!0,n=n||r.deprecatedBehavior)}),e.modules.forEach(function(e){ua.forEach(function(r,o){o.ngInjectableDef.providedIn===e&&(t=!0,n=n||r.deprecatedBehavior)})}),{hasOverrides:t,hasDeprecatedOverrides:n})}(e),n=t.hasDeprecatedOverrides;return t.hasOverrides?(function(e){for(var t=0;t<e.providers.length;t++){var r=e.providers[t];n&&(r.flags|=4096);var o=aa.get(r.token);o&&(r.flags=-3841&r.flags|o.flags,r.deps=co(o.deps),r.value=o.value)}if(ua.size>0){var i=new Set(e.modules);ua.forEach(function(t,r){if(i.has(r.ngInjectableDef.providedIn)){var o={token:r,flags:t.flags|(n?4096:0),deps:co(t.deps),value:t.value,index:e.providers.length};e.providers.push(o),e.providersByKey[Gr(r)]=o}})}}(e=e.factory(function(){return qr})),e):e}(r))}var aa=new Map,ua=new Map,sa=new Map;function ca(e){aa.set(e.token,e),"function"==typeof e.token&&e.token.ngInjectableDef&&"function"==typeof e.token.ngInjectableDef.providedIn&&ua.set(e.token,e)}function la(e,t){var n=po(po(t.viewDefFactory).nodes[0].element.componentView);sa.set(e,n)}function fa(){aa.clear(),ua.clear(),sa.clear()}function pa(e){if(0===aa.size)return e;var t=function(e){for(var t=[],n=null,r=0;r<e.nodes.length;r++){var o=e.nodes[r];1&o.flags&&(n=o),n&&3840&o.flags&&aa.has(o.provider.token)&&(t.push(n.nodeIndex),n=null)}return t}(e);if(0===t.length)return e;e=e.factory(function(){return qr});for(var n=0;n<t.length;n++)r(e,t[n]);return e;function r(e,t){for(var n=t+1;n<e.nodes.length;n++){var r=e.nodes[n];if(1&r.flags)return;if(3840&r.flags){var o=r.provider,i=aa.get(o.token);i&&(r.flags=-3841&r.flags|i.flags,o.deps=co(i.deps),o.value=i.value)}}}}function ha(e,t,n,r,o,i,a,u,s,c,l,f,p){var h=e.def.nodes[t];return zi(e,h,n,r,o,i,a,u,s,c,l,f,p),224&h.flags?Lr(e,t).value:void 0}function da(e,t,n,r,o,i,a,u,s,c,l,f,p){var h=e.def.nodes[t];return qi(e,h,n,r,o,i,a,u,s,c,l,f,p),224&h.flags?Lr(e,t).value:void 0}function va(e){return Da(_a.detectChanges,Fi,null,[e])}function ya(e){return Da(_a.checkNoChanges,Vi,null,[e])}function ga(e){return Da(_a.destroy,Gi,null,[e])}var ma,wa,ba,_a=function(e){return e[e.create=0]="create",e[e.detectChanges=1]="detectChanges",e[e.checkNoChanges=2]="checkNoChanges",e[e.destroy=3]="destroy",e[e.handleEvent=4]="handleEvent",e}({});function Ca(e,t){wa=e,ba=t}function Sa(e,t,n,r){return Ca(e,t),Da(_a.handleEvent,e.def.handleEvent,null,[e,t,n,r])}function Ea(e,t){if(128&e.state)throw Br(_a[ma]);return Ca(e,Na(e,0)),e.def.updateDirectives(function(e,n,r){for(var o=[],i=3;i<arguments.length;i++)o[i-3]=arguments[i];var a=e.def.nodes[n];return 0===t?Ta(e,a,r,o):ka(e,a,r,o),16384&a.flags&&Ca(e,Na(e,n)),224&a.flags?Lr(e,a.nodeIndex).value:void 0},e)}function xa(e,t){if(128&e.state)throw Br(_a[ma]);return Ca(e,Ra(e,0)),e.def.updateRenderer(function(e,n,r){for(var o=[],i=3;i<arguments.length;i++)o[i-3]=arguments[i];var a=e.def.nodes[n];return 0===t?Ta(e,a,r,o):ka(e,a,r,o),3&a.flags&&Ca(e,Ra(e,n)),224&a.flags?Lr(e,a.nodeIndex).value:void 0},e)}function Ta(e,t,n,r){if(zi.apply(void 0,s([e,t,n],r))){var o=1===n?r[0]:r;if(16384&t.flags){for(var i={},a=0;a<t.bindings.length;a++){var u=t.bindings[a],c=o[a];8&u.flags&&(i[(h=u.nonMinifiedName,"ng-reflect-"+(h=h.replace(/[$@]/g,"_").replace(Ia,function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return"-"+e[1].toLowerCase()})))]=Aa(c))}var l=t.parent,f=Mr(e,l.nodeIndex).renderElement;if(l.element.name)for(var p in i)null!=(c=i[p])?e.renderer.setAttribute(f,p,c):e.renderer.removeAttribute(f,p);else e.renderer.setValue(f,"bindings="+JSON.stringify(i,null,2))}}var h}function ka(e,t,n,r){qi.apply(void 0,s([e,t,n],r))}var Ia=/([A-Z])/g;function Aa(e){try{return null!=e?e.toString().slice(0,30):e}catch(e){return"[ERROR] Exception while trying to serialize the value"}}function Na(e,t){for(var n=t;n<e.def.nodes.length;n++){var r=e.def.nodes[n];if(16384&r.flags&&r.bindings&&r.bindings.length)return n}return null}function Ra(e,t){for(var n=t;n<e.def.nodes.length;n++){var r=e.def.nodes[n];if(3&r.flags&&r.bindings&&r.bindings.length)return n}return null}var Pa=function(){function e(e,t){this.view=e,this.nodeIndex=t,null==t&&(this.nodeIndex=t=0),this.nodeDef=e.def.nodes[t];for(var n=this.nodeDef,r=e;n&&0==(1&n.flags);)n=n.parent;if(!n)for(;!n&&r;)n=oo(r),r=r.parent;this.elDef=n,this.elView=r}return Object.defineProperty(e.prototype,"elOrCompView",{get:function(){return Mr(this.elView,this.elDef.nodeIndex).componentView||this.view},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return Ko(this.elView,this.elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"component",{get:function(){return this.elOrCompView.component},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return this.elOrCompView.context},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"providerTokens",{get:function(){var e=[];if(this.elDef)for(var t=this.elDef.nodeIndex+1;t<=this.elDef.nodeIndex+this.elDef.childCount;t++){var n=this.elView.def.nodes[t];20224&n.flags&&e.push(n.provider.token),t+=n.childCount}return e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"references",{get:function(){var e={};if(this.elDef){Oa(this.elView,this.elDef,e);for(var t=this.elDef.nodeIndex+1;t<=this.elDef.nodeIndex+this.elDef.childCount;t++){var n=this.elView.def.nodes[t];20224&n.flags&&Oa(this.elView,n,e),t+=n.childCount}}return e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentRenderElement",{get:function(){var e=function(e){for(;e&&!ao(e);)e=e.parent;return e.parent?Mr(e.parent,oo(e).nodeIndex):null}(this.elOrCompView);return e?e.renderElement:void 0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"renderNode",{get:function(){return 2&this.nodeDef.flags?io(this.view,this.nodeDef):io(this.elView,this.elDef)},enumerable:!0,configurable:!0}),e.prototype.logError=function(e){for(var t,n,r=[],o=1;o<arguments.length;o++)r[o-1]=arguments[o];2&this.nodeDef.flags?(t=this.view.def,n=this.nodeDef.nodeIndex):(t=this.elView.def,n=this.elDef.nodeIndex);var i=function(e,t){for(var n=-1,r=0;r<=t;r++)3&e.nodes[r].flags&&n++;return n}(t,n),a=-1;t.factory(function(){var t;return++a===i?(t=e.error).bind.apply(t,s([e],r)):qr}),a<i&&(e.error("Illegal state: the ViewDefinitionFactory did not call the logger!"),e.error.apply(e,s(r)))},e}();function Oa(e,t,n){for(var r in t.references)n[r]=Ti(e,t,t.references[r])}function Da(e,t,n,r){var o=ma,i=wa,a=ba;try{ma=e;var u=t.apply(n,r);return wa=i,ba=a,ma=o,u}catch(e){if(at(e)||!wa)throw e;throw function(e,t){return e instanceof Error||(e=new Error(e.toString())),zr(e,t),e}(e,ja())}}function ja(){return wa?new Pa(wa,ba):null}var Ma=function(){function e(e){this.delegate=e}return e.prototype.createRenderer=function(e,t){return new Ha(this.delegate.createRenderer(e,t))},e.prototype.begin=function(){this.delegate.begin&&this.delegate.begin()},e.prototype.end=function(){this.delegate.end&&this.delegate.end()},e.prototype.whenRenderingDone=function(){return this.delegate.whenRenderingDone?this.delegate.whenRenderingDone():Promise.resolve(null)},e}(),Ha=function(){function e(e){this.delegate=e,this.data=this.delegate.data}return e.prototype.destroyNode=function(e){!function(e){Dn.delete(e.nativeNode)}(jn(e)),this.delegate.destroyNode&&this.delegate.destroyNode(e)},e.prototype.destroy=function(){this.delegate.destroy()},e.prototype.createElement=function(e,t){var n=this.delegate.createElement(e,t),r=ja();if(r){var o=new On(n,null,r);o.name=e,Mn(o)}return n},e.prototype.createComment=function(e){var t=this.delegate.createComment(e),n=ja();return n&&Mn(new Pn(t,null,n)),t},e.prototype.createText=function(e){var t=this.delegate.createText(e),n=ja();return n&&Mn(new Pn(t,null,n)),t},e.prototype.appendChild=function(e,t){var n=jn(e),r=jn(t);n&&r&&n instanceof On&&n.addChild(r),this.delegate.appendChild(e,t)},e.prototype.insertBefore=function(e,t,n){var r=jn(e),o=jn(t),i=jn(n);r&&o&&r instanceof On&&r.insertBefore(i,o),this.delegate.insertBefore(e,t,n)},e.prototype.removeChild=function(e,t){var n=jn(e),r=jn(t);n&&r&&n instanceof On&&n.removeChild(r),this.delegate.removeChild(e,t)},e.prototype.selectRootElement=function(e){var t=this.delegate.selectRootElement(e),n=ja();return n&&Mn(new On(t,null,n)),t},e.prototype.setAttribute=function(e,t,n,r){var o=jn(e);o&&o instanceof On&&(o.attributes[r?r+":"+t:t]=n),this.delegate.setAttribute(e,t,n,r)},e.prototype.removeAttribute=function(e,t,n){var r=jn(e);r&&r instanceof On&&(r.attributes[n?n+":"+t:t]=null),this.delegate.removeAttribute(e,t,n)},e.prototype.addClass=function(e,t){var n=jn(e);n&&n instanceof On&&(n.classes[t]=!0),this.delegate.addClass(e,t)},e.prototype.removeClass=function(e,t){var n=jn(e);n&&n instanceof On&&(n.classes[t]=!1),this.delegate.removeClass(e,t)},e.prototype.setStyle=function(e,t,n,r){var o=jn(e);o&&o instanceof On&&(o.styles[t]=n),this.delegate.setStyle(e,t,n,r)},e.prototype.removeStyle=function(e,t,n){var r=jn(e);r&&r instanceof On&&(r.styles[t]=null),this.delegate.removeStyle(e,t,n)},e.prototype.setProperty=function(e,t,n){var r=jn(e);r&&r instanceof On&&(r.properties[t]=n),this.delegate.setProperty(e,t,n)},e.prototype.listen=function(e,t,n){if("string"!=typeof e){var r=jn(e);r&&r.listeners.push(new function(e,t){this.name=e,this.callback=t}(t,n))}return this.delegate.listen(e,t,n)},e.prototype.parentNode=function(e){return this.delegate.parentNode(e)},e.prototype.nextSibling=function(e){return this.delegate.nextSibling(e)},e.prototype.setValue=function(e,t){return this.delegate.setValue(e,t)},e}(),La=function(e){function t(t,n,r){var o=e.call(this)||this;return o.moduleType=t,o._bootstrapComponents=n,o._ngModuleDefFactory=r,o}return o(t,e),t.prototype.create=function(e){!function(){if(!$i){$i=!0;var e=pn()?{setCurrentNode:Ca,createRootView:ta,createEmbeddedView:ra,createComponentView:oa,createNgModuleRef:ia,overrideProvider:ca,overrideComponentView:la,clearOverrides:fa,checkAndUpdateView:va,checkNoChangesView:ya,destroyView:ga,createDebugContext:function(e,t){return new Pa(e,t)},handleEvent:Sa,updateDirectives:Ea,updateRenderer:xa}:{setCurrentNode:function(){},createRootView:ea,createEmbeddedView:Di,createComponentView:Mi,createNgModuleRef:$o,overrideProvider:qr,overrideComponentView:qr,clearOverrides:qr,checkAndUpdateView:Fi,checkNoChangesView:Vi,destroyView:Gi,createDebugContext:function(e,t){return new Pa(e,t)},handleEvent:function(e,t,n,r){return e.def.handleEvent(e,t,n,r)},updateDirectives:function(e,t){return e.def.updateDirectives(0===t?ha:da,e)},updateRenderer:function(e,t){return e.def.updateRenderer(0===t?ha:da,e)}};Vr.setCurrentNode=e.setCurrentNode,Vr.createRootView=e.createRootView,Vr.createEmbeddedView=e.createEmbeddedView,Vr.createComponentView=e.createComponentView,Vr.createNgModuleRef=e.createNgModuleRef,Vr.overrideProvider=e.overrideProvider,Vr.overrideComponentView=e.overrideComponentView,Vr.clearOverrides=e.clearOverrides,Vr.checkAndUpdateView=e.checkAndUpdateView,Vr.checkNoChangesView=e.checkNoChangesView,Vr.destroyView=e.destroyView,Vr.resolveDep=gi,Vr.createDebugContext=e.createDebugContext,Vr.handleEvent=e.handleEvent,Vr.updateDirectives=e.updateDirectives,Vr.updateRenderer=e.updateRenderer,Vr.dirtyParentQueries=Si}}();var t=function(e){var t=Array.from(e.providers),n=Array.from(e.modules),r={};for(var o in e.providersByKey)r[o]=e.providersByKey[o];return{factory:e.factory,isRoot:e.isRoot,providers:t,modules:n,providersByKey:r}}(po(this._ngModuleDefFactory));return Vr.createNgModuleRef(this.moduleType,e||He.NULL,this._bootstrapComponents,t)},t}(Zt),Ua=16,Va=0,Fa=1,za=2,Ba=3,qa=4,Za=5,Ga=6,Qa=7,Wa=8,Ka=9,Ya=10,Ja=11,Xa=14;function $a(e,t,n){e.afterContentInit&&(t.contentHooks||(t.contentHooks=[])).push(n,e.afterContentInit),e.afterContentChecked&&((t.contentHooks||(t.contentHooks=[])).push(n,e.afterContentChecked),(t.contentCheckHooks||(t.contentCheckHooks=[])).push(n,e.afterContentChecked))}function eu(e,t,n){e.afterViewInit&&(t.viewHooks||(t.viewHooks=[])).push(n,e.afterViewInit),e.afterViewChecked&&((t.viewHooks||(t.viewHooks=[])).push(n,e.afterViewChecked),(t.viewCheckHooks||(t.viewCheckHooks=[])).push(n,e.afterViewChecked))}function tu(e,t,n){null!=e.onDestroy&&(t.destroyHooks||(t.destroyHooks=[])).push(n,e.onDestroy)}function nu(e,t,n){16&e[qa]&&(ru(e[Qa],t.initHooks,t.checkHooks,n),e[qa]&=-17)}function ru(e,t,n,r){var o=r?t:n;o&&ou(e,o)}function ou(e,t){for(var n=0;n<t.length;n+=2)t[n+1].call(e[t[n]])}var iu=0,au=4,uu="ngProjectAs";function su(e){return!!e.listen}var cu={createRenderer:function(e,t){return document}};function lu(e){return Array.isArray(e)?e[0]:e}function fu(e){if(2===e.tNode.type){var t=e.data;return t[za]?t[za][Za]:null}return e.tNode.next?e.view[e.tNode.next.index]:null}function pu(e){return e.tNode.child?lu((2===e.tNode.type?e.data:e.view)[e.tNode.child.index]):null}function hu(e){if(-1===e.tNode.index&&2===e.tNode.type){var t=e.data[Xa];return-1===t?null:e.view[t].dynamicLContainerNode}var n=e.tNode.parent;return lu(n?e.view[n.index]:e.view[Za])}var du=[];function vu(e){for(var t=e[Za];2===t.tNode.type;)t=(e=e[Fa])[Za];return t}function yu(e,t,n,r,o){0===e?su(t)?t.insertBefore(n,r,o):n.insertBefore(r,o,!0):1===e?su(t)?t.removeChild(n,r):n.removeChild(r):2===e&&t.destroyNode(r)}function gu(e){if(-1===e[Va].childIndex)return null;var t=e[e[Va].childIndex];return t.data?t.data:t.dynamicLContainerNode.data}function mu(e,t){var n;return(n=e[Za])&&2===n.tNode.type?hu(n).data:e[Fa]===t?null:e[Fa]}function wu(e){if(e[Va]){var t=e;!function(e){var t=e[Va].cleanup;if(null!=t){for(var n=0;n<t.length-1;n+=2)"string"==typeof t[n]?(lu(e[t[n+1]]).native.removeEventListener(t[n],e[Wa][t[n+2]],t[n+3]),n+=2):"number"==typeof t[n]?(0,e[Wa][t[n]])():t[n].call(e[Wa][t[n+1]]);e[Wa]=null}}(t),function(e){var t,n=e[Va];null!=n&&null!=(t=n.destroyHooks)&&ou(e[Qa],t)}(t),(r=(n=t)[Va]&&n[Va].pipeDestroyHooks)&&ou(n,r),-1===t[Va].id&&su(t[Ja])&&t[Ja].destroy()}var n,r}var bu,_u,Cu,Su,Eu,xu,Tu,ku,Iu,Au="__ngHostLNode__",Nu=Promise.resolve(null),Ru=[0,0],Pu=new Array(Ua).fill(null),Ou=!1,Du=!0;function ju(e,t){var n=ku;return Iu=e&&e[Qa],Eu=e&&e[Va],Tu=e&&1==(1&e[qa]),Du=e&&Eu.firstTemplatePass,bu=e&&e[Ja],null!=t&&(Cu=t,Su=!0),ku=e,xu=e&&e[Ba],n}function Mu(e,t){t||(Ou||ru(Iu,Eu.viewHooks,Eu.viewCheckHooks,Tu),ku[qa]&=-6),ku[qa]|=16,ku[Ga]=-1,ju(e,null)}function Hu(){Ou||nu(ku,Eu,Tu),function(e){for(var t=gu(ku);null!==t;t=t[za])if(t.length<Ua&&null===t[iu])for(var n=t,r=0;r<n[au].length;r++){var o=n[au][r],i=o.data;Fu(o,i[Va],i[Ka],2)}}(),Ou||ru(Iu,Eu.contentHooks,Eu.contentCheckHooks,Tu),Eu.firstTemplatePass=Du=!1,Lu(Eu.hostBindings),function(e){if(null!=e.contentQueries)for(var t=0;t<e.contentQueries.length;t+=2){var n=e.contentQueries[t];e.directives[n].contentQueriesRefresh(n,e.contentQueries[t+1])}}(Eu),function(e){if(null!=e)for(var t=0;t<e.length;t+=2)Ku(e[t],e[t+1])}(Eu.components)}function Lu(e){if(null!=e)for(var t=Eu.directives,n=0;n<e.length;n+=2){var r=e[n],o=t[r];o.hostBindings&&o.hostBindings(r,e[n+1])}}function Uu(e,t,n,r,o){return[t,ku,null,null,25|r,null,-1,null,null,n,ku&&ku[Ya],e,o||null,null,-1,null]}function Vu(e,t,n,r,o,i){var a=Su?Cu:Cu&&hu(Cu),u=a&&a.view===ku?a.tNode:null,s=(Su?xu:Cu&&Cu.queries)||a&&a.queries&&a.queries.child(),c=null!=i,l=function(e,t,n,r,o,i){return{native:r,view:ku,nodeInjector:n?n.nodeInjector:null,data:o,queries:i,tNode:null,dynamicLContainerNode:null}}(0,0,a,n,c?i:null,s);if(-1===e||2===t)l.tNode=(i?i[Va].node:null)||Wu(t,e,null,null,u,null);else{var f=e+Ua,p=Eu.data;if(ku[f]=l,f>=p.length){var h=p[f]=Wu(t,f,r,o,u,null);if(!Su&&Cu){var d=Cu.tNode;d.next=h,d.dynamicContainerNode&&(d.dynamicContainerNode.next=h)}}l.tNode=p[f],Su&&(xu=null,(null==Cu.tNode.child&&Cu.view===ku||2===Cu.tNode.type)&&(Cu.tNode.child=l.tNode))}if(2==(2&t)&&c){var v=i;v[Za]=l,Du&&(v[Va].node=l.tNode)}return Cu=l,Su=!0,l}function Fu(e,t,n,r){var o,i=Su,a=Cu;if(null==e.data[Fa]&&e.data[Ka]&&!t.template)Ju(e.data[Ka]);else try{Su=!0,Cu=null,o=ju(e.data,e),Zu(),t.template(r,n),2&r?Hu():e.data[Va].firstTemplatePass=Du=!1}finally{Mu(o,1==(1&r)),Su=i,Cu=a}return e}function zu(e,t,n,r){var o=ju(t,e);try{_u.begin&&_u.begin(),r?(Zu(),r(Bu(t),n),Hu()):(Ou||(nu(ku,Eu,Tu),ru(Iu,Eu.contentHooks,Eu.contentCheckHooks,Tu)),Lu(Ru),Ku(0,Ua))}finally{_u.end&&_u.end(),Mu(o)}}function Bu(e){return 1&e[qa]?3:2}var qu=null;function Zu(){qu=null}function Gu(e,t,n,r,o){return{id:e,template:t,viewQuery:o,node:null,data:Pu.slice(),childIndex:-1,bindingStartIndex:-1,directives:null,firstTemplatePass:!0,initHooks:null,checkHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,pipeDestroyHooks:null,cleanup:null,hostBindings:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof n?n():n,pipeRegistry:"function"==typeof r?r():r,currentMatches:null}}function Qu(e,t){_u=e;var n=e.createRenderer(null,null);return"string"==typeof t?su(n)?n.selectRootElement(t):n.querySelector(t):t}function Wu(e,t,n,r,o,i){return{type:e,index:t,flags:0,tagName:n,attrs:r,localNames:null,initialInputs:void 0,inputs:void 0,outputs:void 0,tViews:i,next:null,child:null,parent:o,dynamicContainerNode:null,detached:null,stylingTemplate:null,projection:null}}function Ku(e,t){var n=ku[t],r=n.data;Yu(r)&&6&r[qa]&&es(r,n,Iu[e])}function Yu(e){return 8==(8&e[qa])}function Ju(e){for(var t=0;t<e.components.length;t++){var n=e.components[t];zu(ts(n),Xu(n),n)}}function Xu(e){for(var t=ts(e).view;t[Fa];)t=t[Fa];return t}function $u(e){var t=ts(e);es(t.data,t,e)}function es(e,t,n){var r=ju(e,t),o=e[Va],i=o.template,a=o.viewQuery;try{Zu(),function(t,n,r){t&&1&e[qa]&&t(1,r)}(a,0,n),i(Bu(e),n),Hu(),function(e,t){e&&e(2,t)}(a,n)}finally{Mu(r)}}function ts(e){return e[Au]}var ns=Nu;function rs(e){return{components:[],scheduler:e,clean:ns}}var os=function(){function e(e,t){this._view=e,this._appRef=null,this._viewContainerRef=null,this._lViewNode=null,this.context=t}return e.prototype._setComponentContext=function(e,t){this._view=e,this.context=t},Object.defineProperty(e.prototype,"destroyed",{get:function(){return 32==(32&this._view[qa])},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){var e,t;this._viewContainerRef&&Yu(this._view)&&(this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),this._viewContainerRef=null),su(t=(e=this._view)[Ja])&&t.destroyNode&&function(t,n,r,o,i,a){for(var u=e[Za],s=-1;u;){var c=null,l=u.tNode.type;if(3===l)yu(2,o,null,u.native,a),u.dynamicLContainerNode&&yu(2,o,null,u.dynamicLContainerNode.native,a);else if(0===l){yu(2,o,null,u.native,a);var f=u,p=f.dynamicLContainerNode?f.dynamicLContainerNode.data:f.data;(c=p[au].length?pu(p[au][0]):null)&&(a=f.dynamicLContainerNode?f.dynamicLContainerNode.native:f.native)}else if(1===l){var h=vu(u.view),d=h.tNode.projection[u.tNode.projection];du[++s]=u,c=d?h.data[Fa][d.index]:null}else c=pu(u);if(null===c)for(null===(c=fu(u))&&8192&u.tNode.flags&&(c=fu(du[s--]));u&&!c;){if(null===(u=hu(u))||u===n)return null;u.tNode.next||0!==l||(a=u.native),c=fu(u)}u=c}}(0,e[Za],0,t),function(e){if(-1===e[Va].childIndex)return wu(e);for(var t=gu(e);t;){var n=null;if(t.length>=Ua?t[Va].childIndex>-1&&(n=gu(t)):t[au].length&&(n=t[au][0].data),null==n){for(;t&&!t[za]&&t!==e;)wu(t),t=mu(t,e);wu(t||e),n=t&&t[za]}t=n}}(e),e[qa]|=32},e.prototype.onDestroy=function(e){var t,n;n=e,function(e){return e[Wa]||(e[Wa]=[])}(t=this._view).push(n),t[Va].firstTemplatePass&&function(e){return e[Va].cleanup||(e[Va].cleanup=[])}(t).push(t[Wa].length-1,null)},e.prototype.markForCheck=function(){!function(e){for(var t=e;null!=t[Fa];)t[qa]|=4,t=t[Fa];var n,r;t[qa]|=4,(n=t[Ka]).clean==Nu&&(n.clean=new Promise(function(e){return r=e}),n.scheduler(function(){Ju(n),r(null),n.clean=Nu}))}(this._view)},e.prototype.detach=function(){this._view[qa]&=-9},e.prototype.reattach=function(){this._view[qa]|=8},e.prototype.detectChanges=function(){$u(this.context)},e.prototype.checkNoChanges=function(){!function(e){Ou=!0;try{$u(e)}finally{Ou=!1}}(this.context)},e.prototype.attachToViewContainerRef=function(e){this._viewContainerRef=e},e.prototype.detachFromAppRef=function(){this._appRef=null},e.prototype.attachToAppRef=function(e){this._appRef=e},e}(),is=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.resolveComponentFactory=function(e){return new cs(e.ngComponentDef)},t}(Ft);function as(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}var us=new he("ROOT_CONTEXT_TOKEN",{providedIn:"root",factory:function(){return rs($e(ss))}}),ss=new he("SCHEDULER_TOKEN",{providedIn:"root",factory:function(){return requestAnimationFrame.bind(window)}}),cs=function(e){function t(t){var n=e.call(this)||this;return n.componentDef=t,n.componentType=t.type,n.selector=t.selectors[0][0],n.ngContentSelectors=[],n}return o(t,e),Object.defineProperty(t.prototype,"inputs",{get:function(){return as(this.componentDef.inputs)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"outputs",{get:function(){return as(this.componentDef.outputs)},enumerable:!0,configurable:!0}),t.prototype.create=function(e,t,n,r){var o,i,a=void 0===n,u=r?r.injector.get(bn):cu,s=a?(o=this.selector,su(i=u.createRenderer(null,this.componentDef.rendererType)||bu)?i.createElement(o,qu):null===qu?i.createElement(o):i.createElementNS(qu,o)):Qu(u,n),c=r&&!a?r.injector.get(us):rs(requestAnimationFrame.bind(window)),l=Uu(u.createRenderer(s,this.componentDef.rendererType),Gu(-1,null,null,null,null),c,this.componentDef.onPush?4:2);l[Ya]=r&&r.injector||null;var f,p,h=ju(l,null);try{if(u.begin&&u.begin(),p=function(e,t,n,r){Su=!1,Cu=null;var o,i=Vu(0,3,t,null,null,Uu(bu,(o=n.template).ngPrivateData||(o.ngPrivateData=Gu(-1,o,n.directiveDefs,n.pipeDefs,n.viewQuery)),null,n.onPush?4:2,r));return Du&&(i.tNode.flags=4096,n.diPublic&&n.diPublic(n),Eu.directives=[n]),i}(0,s,this.componentDef),c.components.push(f=function(e,t,n){if(Object.defineProperty(t,Au,{enumerable:!1,value:Cu}),null==Iu&&(ku[Qa]=Iu=[]),Iu[e]=t,Du){var r=Cu.tNode.flags;0==(4095&r)?Cu.tNode.flags=e<<14|4096&r|1:Cu.tNode.flags++}else{var o=n.diPublic;o&&o(n)}return null!=n.attributes&&3==Cu.tNode.type&&function(e,t){for(var n=su(bu),r=0;r<t.length;){var o=t[r];if(1===o)break;if(o===uu)r+=2;else if(0===o){var i=t[r+1],a=t[r+2],u=t[r+3];n?bu.setAttribute(e,a,u,i):e.setAttributeNS(i,a,u),r+=4}else u=t[r+1],n?bu.setAttribute(e,o,u):e.setAttribute(o,u),r+=2}}(Cu.native,n.attributes),t}(0,this.componentDef.factory(),this.componentDef)),function(e,t,n){e&&null!=e.changeDetectorRef&&e.changeDetectorRef._setComponentContext(p.data,f)}(p.nodeInjector),function(e,t){var n=ts(e),r=n.view[Va];(function(e,t,n,r){t&&(r.initHooks||(r.initHooks=[])).push(0,t),n&&((r.initHooks||(r.initHooks=[])).push(0,n),(r.checkHooks||(r.checkHooks=[])).push(0,n))})(0,t.onInit,t.doCheck,r),function(e,t){if(t.firstTemplatePass)for(var n=e>>14,r=n+(4095&e),o=n;o<r;o++){var i=t.directives[o];$a(i,t,o),eu(i,t,o),tu(i,t,o)}}(n.tNode.flags,r)}(f,this.componentDef),t)for(var d=0,v=p.tNode.projection=[],y=0;y<t.length;y++){for(var g=t[y],m=null,w=null,b=0;b<g.length;b++){var _=Vu(++d,3,g[b],null,null);w?w.next=_.tNode:m=_.tNode,w=_.tNode}v.push(m)}Fu(p,p.data[Va],f,1),p.data[qa]&=-2}finally{ju(h,null),u.end&&u.end()}var C=new ls(this.componentType,f,l,e,s);return a&&(C.hostView._lViewNode.tNode.child=p.tNode),C},t}(jt),ls=function(e){function t(t,n,r,o,i){var a=e.call(this)||this;return a.destroyCbs=[],a.instance=n,a.hostView=a.changeDetectorRef=new os(r,n),a.hostView._lViewNode=Vu(-1,2,null,null,null,r),a.injector=o,a.location=new Cn(i),a.componentType=t,a}return o(t,e),t.prototype.destroy=function(){this.destroyCbs.forEach(function(e){return e()}),this.destroyCbs=null},t.prototype.onDestroy=function(e){this.destroyCbs.push(e)},t}(Dt),fs={provide:Ft,useFactory:function(){return new is},deps:[]},ps=function(e){function t(t,n){var r=e.call(this)||this;return r._bootstrapComponents=[],r.destroyCbs=[],r._bootstrapComponents=t.ngModuleDef.bootstrap,r.injector=function(e,t,n){return void 0===t&&(t=null),void 0===n&&(n=null),t=t||vt(),new yt(e,n,t)}(t,n,[fs,{provide:qt,useValue:r}]),r.instance=r.injector.get(t),r.componentFactoryResolver=new is,r}return o(t,e),t.prototype.destroy=function(){this.destroyCbs.forEach(function(e){return e()}),this.destroyCbs=null},t.prototype.onDestroy=function(e){this.destroyCbs.push(e)},t}(qt);!function(e){function t(t){var n=e.call(this)||this;return n.moduleType=t,n}o(t,e),t.prototype.create=function(e){return new ps(this.moduleType,e)}}(Zt);var hs=function(){},ds=function(){this.title="angular"},vs=new N(function(e){return e.complete()});function ys(e){return e?function(e){return new N(function(t){return e.schedule(function(){return t.complete()})})}(e):vs}function gs(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n,r,o=e[e.length-1];switch(H(o)?e.pop():o=void 0,e.length){case 0:return ys(o);case 1:return o?X(e,o):(n=e[0],(r=new N(function(e){e.next(n),e.complete()}))._isScalar=!0,r.value=n,r);default:return X(e,o)}}var ms=function(e){function t(){var n=e.call(this,"no elements in sequence")||this;return n.name="EmptyError",Object.setPrototypeOf(n,t.prototype),n}return o(t,e),t}(Error),ws=function(e){function t(t){var n=e.call(this)||this;return n._value=t,n}return o(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return this.getValue()},enumerable:!0,configurable:!0}),t.prototype._subscribe=function(t){var n=e.prototype._subscribe.call(this,t);return n&&!n.closed&&t.next(this._value),n},t.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new P;return this._value},t.prototype.next=function(t){e.prototype.next.call(this,this._value=t)},t}(j);function bs(){return oe(1)}function _s(e,t){return function(n){return n.lift(new Cs(e,t))}}var Cs=function(){function e(e,t){this.predicate=e,this.thisArg=t}return e.prototype.call=function(e,t){return t.subscribe(new Ss(e,this.predicate,this.thisArg))},e}(),Ss=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.predicate=n,o.thisArg=r,o.count=0,o}return o(t,e),t.prototype._next=function(e){var t;try{t=this.predicate.call(this.thisArg,e,this.count++)}catch(e){return void this.destination.error(e)}t&&this.destination.next(e)},t}(E),Es=function(e){function t(){var n=e.call(this,"argument out of range")||this;return n.name="ArgumentOutOfRangeError",Object.setPrototypeOf(n,t.prototype),n}return o(t,e),t}(Error);function xs(e){return function(t){return 0===e?ys():t.lift(new Ts(e))}}var Ts=function(){function e(e){if(this.total=e,this.total<0)throw new Es}return e.prototype.call=function(e,t){return t.subscribe(new ks(e,this.total))},e}(),ks=function(e){function t(t,n){var r=e.call(this,t)||this;return r.total=n,r.ring=new Array,r.count=0,r}return o(t,e),t.prototype._next=function(e){var t=this.ring,n=this.total,r=this.count++;t.length<n?t.push(e):t[r%n]=e},t.prototype._complete=function(){var e=this.destination,t=this.count;if(t>0)for(var n=this.count>=this.total?this.total:this.count,r=this.ring,o=0;o<n;o++){var i=t++%n;e.next(r[i])}e.complete()},t}(E),Is=function(){function e(e,t,n){this.nextOrObserver=e,this.error=t,this.complete=n}return e.prototype.call=function(e,t){return t.subscribe(new As(e,this.nextOrObserver,this.error,this.complete))},e}(),As=function(e){function t(t,n,r,o){var i=e.call(this,t)||this;return i._tapNext=k,i._tapError=k,i._tapComplete=k,i._tapError=r||k,i._tapComplete=o||k,f(n)?(i._context=i,i._tapNext=n):n&&(i._context=n,i._tapNext=n.next||k,i._tapError=n.error||k,i._tapComplete=n.complete||k),i}return o(t,e),t.prototype._next=function(e){try{this._tapNext.call(this._context,e)}catch(e){return void this.destination.error(e)}this.destination.next(e)},t.prototype._error=function(e){try{this._tapError.call(this._context,e)}catch(e){return void this.destination.error(e)}this.destination.error(e)},t.prototype._complete=function(){try{this._tapComplete.call(this._context)}catch(e){return void this.destination.error(e)}return this.destination.complete()},t}(E),Ns=function(e){return void 0===e&&(e=Rs),t={hasValue:!1,next:function(){this.hasValue=!0},complete:function(){if(!this.hasValue)throw e()}},function(e){return e.lift(new Is(t,void 0,void 0))};var t};function Rs(){return new ms}function Ps(e){return void 0===e&&(e=null),function(t){return t.lift(new Os(e))}}var Os=function(){function e(e){this.defaultValue=e}return e.prototype.call=function(e,t){return t.subscribe(new Ds(e,this.defaultValue))},e}(),Ds=function(e){function t(t,n){var r=e.call(this,t)||this;return r.defaultValue=n,r.isEmpty=!0,r}return o(t,e),t.prototype._next=function(e){this.isEmpty=!1,this.destination.next(e)},t.prototype._complete=function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()},t}(E);function js(e,t){var n=arguments.length>=2;return function(r){return r.pipe(e?_s(function(t,n){return e(t,n,r)}):re,xs(1),n?Ps(t):Ns(function(){return new ms}))}}function Ms(e,t){return function(n){return n.lift(new Hs(e,t,n))}}var Hs=function(){function e(e,t,n){this.predicate=e,this.thisArg=t,this.source=n}return e.prototype.call=function(e,t){return t.subscribe(new Ls(e,this.predicate,this.thisArg,this.source))},e}(),Ls=function(e){function t(t,n,r,o){var i=e.call(this,t)||this;return i.predicate=n,i.thisArg=r,i.source=o,i.index=0,i.thisArg=r||i,i}return o(t,e),t.prototype.notifyComplete=function(e){this.destination.next(e),this.destination.complete()},t.prototype._next=function(e){var t=!1;try{t=this.predicate.call(this.thisArg,e,this.index++,this.source)}catch(e){return void this.destination.error(e)}t||this.notifyComplete(!1)},t.prototype._complete=function(){this.notifyComplete(!0)},t}(E);function Us(e){return function(t){var n=new Vs(e),r=t.lift(n);return n.caught=r}}var Vs=function(){function e(e){this.selector=e}return e.prototype.call=function(e,t){return t.subscribe(new Fs(e,this.selector,this.caught))},e}(),Fs=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.selector=n,o.caught=r,o}return o(t,e),t.prototype.error=function(t){if(!this.isStopped){var n=void 0;try{n=this.selector(t,this.caught)}catch(t){return void e.prototype.error.call(this,t)}this._unsubscribeAndRecycle(),this.add(Q(this,n))}},t}(W),zs=function(){function e(e){if(this.total=e,this.total<0)throw new Es}return e.prototype.call=function(e,t){return t.subscribe(new Bs(e,this.total))},e}(),Bs=function(e){function t(t,n){var r=e.call(this,t)||this;return r.total=n,r.count=0,r}return o(t,e),t.prototype._next=function(e){var t=this.total,n=++this.count;n<=t&&(this.destination.next(e),n===t&&(this.destination.complete(),this.unsubscribe()))},t}(E);function qs(e,t){var n=arguments.length>=2;return function(r){return r.pipe(e?_s(function(t,n){return e(t,n,r)}):re,function(e){return e.lift(new zs(1))},n?Ps(t):Ns(function(){return new ms}))}}function Zs(e,t){return ee(e,t,1)}function Gs(e,t){var n=!1;return arguments.length>=2&&(n=!0),function(r){return r.lift(new Qs(e,t,n))}}var Qs=function(){function e(e,t,n){void 0===n&&(n=!1),this.accumulator=e,this.seed=t,this.hasSeed=n}return e.prototype.call=function(e,t){return t.subscribe(new Ws(e,this.accumulator,this.seed,this.hasSeed))},e}(),Ws=function(e){function t(t,n,r,o){var i=e.call(this,t)||this;return i.accumulator=n,i._seed=r,i.hasSeed=o,i.index=0,i}return o(t,e),Object.defineProperty(t.prototype,"seed",{get:function(){return this._seed},set:function(e){this.hasSeed=!0,this._seed=e},enumerable:!0,configurable:!0}),t.prototype._next=function(e){if(this.hasSeed)return this._tryNext(e);this.seed=e,this.destination.next(e)},t.prototype._tryNext=function(e){var t,n=this.index++;try{t=this.accumulator(this.seed,e,n)}catch(e){this.destination.error(e)}this.seed=t,this.destination.next(t)},t}(E),Ks=function(){},Ys=new he("Location Initialized"),Js=function(){},Xs=new he("appBaseHref"),$s=function(){function e(t){var n=this;this._subject=new Yt,this._platformStrategy=t;var r=this._platformStrategy.getBaseHref();this._baseHref=e.stripTrailingSlash(ec(r)),this._platformStrategy.onPopState(function(e){n._subject.emit({url:n.path(!0),pop:!0,state:e.state,type:e.type})})}return e.prototype.path=function(e){return void 0===e&&(e=!1),this.normalize(this._platformStrategy.path(e))},e.prototype.isCurrentPathEqualTo=function(t,n){return void 0===n&&(n=""),this.path()==this.normalize(t+e.normalizeQueryParams(n))},e.prototype.normalize=function(t){return e.stripTrailingSlash(function(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,ec(t)))},e.prototype.prepareExternalUrl=function(e){return e&&"/"!==e[0]&&(e="/"+e),this._platformStrategy.prepareExternalUrl(e)},e.prototype.go=function(e,t,n){void 0===t&&(t=""),void 0===n&&(n=null),this._platformStrategy.pushState(n,"",e,t)},e.prototype.replaceState=function(e,t,n){void 0===t&&(t=""),void 0===n&&(n=null),this._platformStrategy.replaceState(n,"",e,t)},e.prototype.forward=function(){this._platformStrategy.forward()},e.prototype.back=function(){this._platformStrategy.back()},e.prototype.subscribe=function(e,t,n){return this._subject.subscribe({next:e,error:t,complete:n})},e.normalizeQueryParams=function(e){return e&&"?"!==e[0]?"?"+e:e},e.joinWithSlash=function(e,t){if(0==e.length)return t;if(0==t.length)return e;var n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,2==n?e+t.substring(1):1==n?e+t:e+"/"+t},e.stripTrailingSlash=function(e){var t=e.match(/#|\?|$/),n=t&&t.index||e.length;return e.slice(0,n-("/"===e[n-1]?1:0))+e.slice(n)},e}();function ec(e){return e.replace(/\/index.html$/,"")}var tc=function(e){function t(t,n){var r=e.call(this)||this;return r._platformLocation=t,r._baseHref="",null!=n&&(r._baseHref=n),r}return o(t,e),t.prototype.onPopState=function(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)},t.prototype.getBaseHref=function(){return this._baseHref},t.prototype.path=function(e){void 0===e&&(e=!1);var t=this._platformLocation.hash;return null==t&&(t="#"),t.length>0?t.substring(1):t},t.prototype.prepareExternalUrl=function(e){var t=$s.joinWithSlash(this._baseHref,e);return t.length>0?"#"+t:t},t.prototype.pushState=function(e,t,n,r){var o=this.prepareExternalUrl(n+$s.normalizeQueryParams(r));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.pushState(e,t,o)},t.prototype.replaceState=function(e,t,n,r){var o=this.prepareExternalUrl(n+$s.normalizeQueryParams(r));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.replaceState(e,t,o)},t.prototype.forward=function(){this._platformLocation.forward()},t.prototype.back=function(){this._platformLocation.back()},t}(Js),nc=function(e){function t(t,n){var r=e.call(this)||this;if(r._platformLocation=t,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(t,e),t.prototype.onPopState=function(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)},t.prototype.getBaseHref=function(){return this._baseHref},t.prototype.prepareExternalUrl=function(e){return $s.joinWithSlash(this._baseHref,e)},t.prototype.path=function(e){void 0===e&&(e=!1);var t=this._platformLocation.pathname+$s.normalizeQueryParams(this._platformLocation.search),n=this._platformLocation.hash;return n&&e?""+t+n:t},t.prototype.pushState=function(e,t,n,r){var o=this.prepareExternalUrl(n+$s.normalizeQueryParams(r));this._platformLocation.pushState(e,t,o)},t.prototype.replaceState=function(e,t,n,r){var o=this.prepareExternalUrl(n+$s.normalizeQueryParams(r));this._platformLocation.replaceState(e,t,o)},t.prototype.forward=function(){this._platformLocation.forward()},t.prototype.back=function(){this._platformLocation.back()},t}(Js),rc=void 0,oc=["en",[["a","p"],["AM","PM"],rc],[["AM","PM"],rc,rc],[["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"]],rc,[["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"]],rc,[["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}",rc,"{1} 'at' {0}",rc],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"$","US Dollar",{},function(e){var t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}],ic={},ac=function(e){return e[e.Zero=0]="Zero",e[e.One=1]="One",e[e.Two=2]="Two",e[e.Few=3]="Few",e[e.Many=4]="Many",e[e.Other=5]="Other",e}({}),uc=new he("UseV4Plurals"),sc=function(){},cc=function(e){function t(t,n){var r=e.call(this)||this;return r.locale=t,r.deprecatedPluralFn=n,r}return o(t,e),t.prototype.getPluralCategory=function(e,t){switch(this.deprecatedPluralFn?this.deprecatedPluralFn(t||this.locale,e):function(e){return function(e){var t=e.toLowerCase().replace(/_/g,"-"),n=ic[t];if(n)return n;var r=t.split("-")[0];if(n=ic[r])return n;if("en"===r)return oc;throw new Error('Missing locale data for the locale "'+e+'".')}(e)[18]}(t||this.locale)(e)){case ac.Zero:return"zero";case ac.One:return"one";case ac.Two:return"two";case ac.Few:return"few";case ac.Many:return"many";default:return"other"}},t}(sc),lc=function(){},fc=new he("DocumentToken"),pc="server",hc=function(){function e(){}return e.ngInjectableDef=pe({providedIn:"root",factory:function(){return new dc($e(fc),window)}}),e}(),dc=function(){function e(e,t){this.document=e,this.window=t,this.offset=function(){return[0,0]}}return e.prototype.setOffset=function(e){this.offset=Array.isArray(e)?function(){return e}:e},e.prototype.getScrollPosition=function(){return this.supportScrollRestoration()?[this.window.scrollX,this.window.scrollY]:[0,0]},e.prototype.scrollToPosition=function(e){this.supportScrollRestoration()&&this.window.scrollTo(e[0],e[1])},e.prototype.scrollToAnchor=function(e){if(this.supportScrollRestoration()){var t=this.document.querySelector("#"+e);if(t)return void this.scrollToElement(t);var n=this.document.querySelector("[name='"+e+"']");if(n)return void this.scrollToElement(n)}},e.prototype.setHistoryScrollRestoration=function(e){if(this.supportScrollRestoration()){var t=this.window.history;t&&t.scrollRestoration&&(t.scrollRestoration=e)}},e.prototype.scrollToElement=function(e){var t=e.getBoundingClientRect(),n=t.left+this.window.pageXOffset,r=t.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(n-o[0],r-o[1])},e.prototype.supportScrollRestoration=function(){try{return!!this.window&&!!this.window.scrollTo}catch(e){return!1}},e}(),vc=null;function yc(){return vc}var gc,mc={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"},bc={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"};we.Node&&(gc=we.Node.prototype.contains||function(e){return!!(16&this.compareDocumentPosition(e))});var _c,Cc=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.parse=function(e){throw new Error("parse not implemented")},t.makeCurrent=function(){var e;e=new t,vc||(vc=e)},t.prototype.hasProperty=function(e,t){return t in e},t.prototype.setProperty=function(e,t,n){e[t]=n},t.prototype.getProperty=function(e,t){return e[t]},t.prototype.invoke=function(e,t,n){var r;(r=e)[t].apply(r,s(n))},t.prototype.logError=function(e){window.console&&(console.error?console.error(e):console.log(e))},t.prototype.log=function(e){window.console&&window.console.log&&window.console.log(e)},t.prototype.logGroup=function(e){window.console&&window.console.group&&window.console.group(e)},t.prototype.logGroupEnd=function(){window.console&&window.console.groupEnd&&window.console.groupEnd()},Object.defineProperty(t.prototype,"attrToPropMap",{get:function(){return mc},enumerable:!0,configurable:!0}),t.prototype.contains=function(e,t){return gc.call(e,t)},t.prototype.querySelector=function(e,t){return e.querySelector(t)},t.prototype.querySelectorAll=function(e,t){return e.querySelectorAll(t)},t.prototype.on=function(e,t,n){e.addEventListener(t,n,!1)},t.prototype.onAndCancel=function(e,t,n){return e.addEventListener(t,n,!1),function(){e.removeEventListener(t,n,!1)}},t.prototype.dispatchEvent=function(e,t){e.dispatchEvent(t)},t.prototype.createMouseEvent=function(e){var t=this.getDefaultDocument().createEvent("MouseEvent");return t.initEvent(e,!0,!0),t},t.prototype.createEvent=function(e){var t=this.getDefaultDocument().createEvent("Event");return t.initEvent(e,!0,!0),t},t.prototype.preventDefault=function(e){e.preventDefault(),e.returnValue=!1},t.prototype.isPrevented=function(e){return e.defaultPrevented||null!=e.returnValue&&!e.returnValue},t.prototype.getInnerHTML=function(e){return e.innerHTML},t.prototype.getTemplateContent=function(e){return"content"in e&&this.isTemplateElement(e)?e.content:null},t.prototype.getOuterHTML=function(e){return e.outerHTML},t.prototype.nodeName=function(e){return e.nodeName},t.prototype.nodeValue=function(e){return e.nodeValue},t.prototype.type=function(e){return e.type},t.prototype.content=function(e){return this.hasProperty(e,"content")?e.content:e},t.prototype.firstChild=function(e){return e.firstChild},t.prototype.nextSibling=function(e){return e.nextSibling},t.prototype.parentElement=function(e){return e.parentNode},t.prototype.childNodes=function(e){return e.childNodes},t.prototype.childNodesAsList=function(e){for(var t=e.childNodes,n=new Array(t.length),r=0;r<t.length;r++)n[r]=t[r];return n},t.prototype.clearNodes=function(e){for(;e.firstChild;)e.removeChild(e.firstChild)},t.prototype.appendChild=function(e,t){e.appendChild(t)},t.prototype.removeChild=function(e,t){e.removeChild(t)},t.prototype.replaceChild=function(e,t,n){e.replaceChild(t,n)},t.prototype.remove=function(e){return e.parentNode&&e.parentNode.removeChild(e),e},t.prototype.insertBefore=function(e,t,n){e.insertBefore(n,t)},t.prototype.insertAllBefore=function(e,t,n){n.forEach(function(n){return e.insertBefore(n,t)})},t.prototype.insertAfter=function(e,t,n){e.insertBefore(n,t.nextSibling)},t.prototype.setInnerHTML=function(e,t){e.innerHTML=t},t.prototype.getText=function(e){return e.textContent},t.prototype.setText=function(e,t){e.textContent=t},t.prototype.getValue=function(e){return e.value},t.prototype.setValue=function(e,t){e.value=t},t.prototype.getChecked=function(e){return e.checked},t.prototype.setChecked=function(e,t){e.checked=t},t.prototype.createComment=function(e){return this.getDefaultDocument().createComment(e)},t.prototype.createTemplate=function(e){var t=this.getDefaultDocument().createElement("template");return t.innerHTML=e,t},t.prototype.createElement=function(e,t){return(t=t||this.getDefaultDocument()).createElement(e)},t.prototype.createElementNS=function(e,t,n){return(n=n||this.getDefaultDocument()).createElementNS(e,t)},t.prototype.createTextNode=function(e,t){return(t=t||this.getDefaultDocument()).createTextNode(e)},t.prototype.createScriptTag=function(e,t,n){var r=(n=n||this.getDefaultDocument()).createElement("SCRIPT");return r.setAttribute(e,t),r},t.prototype.createStyleElement=function(e,t){var n=(t=t||this.getDefaultDocument()).createElement("style");return this.appendChild(n,this.createTextNode(e,t)),n},t.prototype.createShadowRoot=function(e){return e.createShadowRoot()},t.prototype.getShadowRoot=function(e){return e.shadowRoot},t.prototype.getHost=function(e){return e.host},t.prototype.clone=function(e){return e.cloneNode(!0)},t.prototype.getElementsByClassName=function(e,t){return e.getElementsByClassName(t)},t.prototype.getElementsByTagName=function(e,t){return e.getElementsByTagName(t)},t.prototype.classList=function(e){return Array.prototype.slice.call(e.classList,0)},t.prototype.addClass=function(e,t){e.classList.add(t)},t.prototype.removeClass=function(e,t){e.classList.remove(t)},t.prototype.hasClass=function(e,t){return e.classList.contains(t)},t.prototype.setStyle=function(e,t,n){e.style[t]=n},t.prototype.removeStyle=function(e,t){e.style[t]=""},t.prototype.getStyle=function(e,t){return e.style[t]},t.prototype.hasStyle=function(e,t,n){var r=this.getStyle(e,t)||"";return n?r==n:r.length>0},t.prototype.tagName=function(e){return e.tagName},t.prototype.attributeMap=function(e){for(var t=new Map,n=e.attributes,r=0;r<n.length;r++){var o=n.item(r);t.set(o.name,o.value)}return t},t.prototype.hasAttribute=function(e,t){return e.hasAttribute(t)},t.prototype.hasAttributeNS=function(e,t,n){return e.hasAttributeNS(t,n)},t.prototype.getAttribute=function(e,t){return e.getAttribute(t)},t.prototype.getAttributeNS=function(e,t,n){return e.getAttributeNS(t,n)},t.prototype.setAttribute=function(e,t,n){e.setAttribute(t,n)},t.prototype.setAttributeNS=function(e,t,n,r){e.setAttributeNS(t,n,r)},t.prototype.removeAttribute=function(e,t){e.removeAttribute(t)},t.prototype.removeAttributeNS=function(e,t,n){e.removeAttributeNS(t,n)},t.prototype.templateAwareRoot=function(e){return this.isTemplateElement(e)?this.content(e):e},t.prototype.createHtmlDocument=function(){return document.implementation.createHTMLDocument("fakeTitle")},t.prototype.getDefaultDocument=function(){return document},t.prototype.getBoundingClientRect=function(e){try{return e.getBoundingClientRect()}catch(e){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}},t.prototype.getTitle=function(e){return e.title},t.prototype.setTitle=function(e,t){e.title=t||""},t.prototype.elementMatches=function(e,t){return!!this.isElementNode(e)&&(e.matches&&e.matches(t)||e.msMatchesSelector&&e.msMatchesSelector(t)||e.webkitMatchesSelector&&e.webkitMatchesSelector(t))},t.prototype.isTemplateElement=function(e){return this.isElementNode(e)&&"TEMPLATE"===e.nodeName},t.prototype.isTextNode=function(e){return e.nodeType===Node.TEXT_NODE},t.prototype.isCommentNode=function(e){return e.nodeType===Node.COMMENT_NODE},t.prototype.isElementNode=function(e){return e.nodeType===Node.ELEMENT_NODE},t.prototype.hasShadowRoot=function(e){return null!=e.shadowRoot&&e instanceof HTMLElement},t.prototype.isShadowRoot=function(e){return e instanceof DocumentFragment},t.prototype.importIntoDoc=function(e){return document.importNode(this.templateAwareRoot(e),!0)},t.prototype.adoptNode=function(e){return document.adoptNode(e)},t.prototype.getHref=function(e){return e.getAttribute("href")},t.prototype.getEventKey=function(e){var t=e.key;if(null==t){if(null==(t=e.keyIdentifier))return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===e.location&&bc.hasOwnProperty(t)&&(t=bc[t]))}return wc[t]||t},t.prototype.getGlobalEventTarget=function(e,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null},t.prototype.getHistory=function(){return window.history},t.prototype.getLocation=function(){return window.location},t.prototype.getBaseHref=function(e){var t,n=Sc||(Sc=document.querySelector("base"))?Sc.getAttribute("href"):null;return null==n?null:(t=n,_c||(_c=document.createElement("a")),_c.setAttribute("href",t),"/"===_c.pathname.charAt(0)?_c.pathname:"/"+_c.pathname)},t.prototype.resetBaseElement=function(){Sc=null},t.prototype.getUserAgent=function(){return window.navigator.userAgent},t.prototype.setData=function(e,t,n){this.setAttribute(e,"data-"+t,n)},t.prototype.getData=function(e,t){return this.getAttribute(e,"data-"+t)},t.prototype.getComputedStyle=function(e){return getComputedStyle(e)},t.prototype.supportsWebAnimation=function(){return"function"==typeof Element.prototype.animate},t.prototype.performanceNow=function(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()},t.prototype.supportsCookies=function(){return!0},t.prototype.getCookie=function(e){return function(e,t){var n,r;t=encodeURIComponent(t);try{for(var o=a(e.split(";")),i=o.next();!i.done;i=o.next()){var s=i.value,c=s.indexOf("="),l=u(-1==c?[s,""]:[s.slice(0,c),s.slice(c+1)],2),f=l[1];if(l[0].trim()===t)return decodeURIComponent(f)}}catch(e){n={error:e}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return null}(document.cookie,e)},t.prototype.setCookie=function(e,t){document.cookie=encodeURIComponent(e)+"="+encodeURIComponent(t)},t}(function(e){function t(){var t=e.call(this)||this;t._animationPrefix=null,t._transitionEnd=null;try{var n=t.createElement("div",document);if(null!=t.getStyle(n,"animationName"))t._animationPrefix="";else for(var r=["Webkit","Moz","O","ms"],o=0;o<r.length;o++)if(null!=t.getStyle(n,r[o]+"AnimationName")){t._animationPrefix="-"+r[o].toLowerCase()+"-";break}var i={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};Object.keys(i).forEach(function(e){null!=t.getStyle(n,e)&&(t._transitionEnd=i[e])})}catch(e){t._animationPrefix=null,t._transitionEnd=null}return t}return o(t,e),t.prototype.getDistributedNodes=function(e){return e.getDistributedNodes()},t.prototype.resolveAndSetHref=function(e,t,n){e.href=null==n?t:t+"/../"+n},t.prototype.supportsDOMEvents=function(){return!0},t.prototype.supportsNativeShadowDOM=function(){return"function"==typeof document.body.createShadowRoot},t.prototype.getAnimationPrefix=function(){return this._animationPrefix?this._animationPrefix:""},t.prototype.getTransitionEnd=function(){return this._transitionEnd?this._transitionEnd:""},t.prototype.supportsAnimation=function(){return null!=this._animationPrefix&&null!=this._transitionEnd},t}(function(){function e(){this.resourceLoaderType=null}return Object.defineProperty(e.prototype,"attrToPropMap",{get:function(){return this._attrToPropMap},set:function(e){this._attrToPropMap=e},enumerable:!0,configurable:!0}),e}())),Sc=null,Ec=fc;function xc(){return!!window.history.pushState}var Tc=function(e){function t(t){var n=e.call(this)||this;return n._doc=t,n._init(),n}return o(t,e),t.prototype._init=function(){this.location=yc().getLocation(),this._history=yc().getHistory()},t.prototype.getBaseHrefFromDOM=function(){return yc().getBaseHref(this._doc)},t.prototype.onPopState=function(e){yc().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",e,!1)},t.prototype.onHashChange=function(e){yc().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",e,!1)},Object.defineProperty(t.prototype,"pathname",{get:function(){return this.location.pathname},set:function(e){this.location.pathname=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"search",{get:function(){return this.location.search},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hash",{get:function(){return this.location.hash},enumerable:!0,configurable:!0}),t.prototype.pushState=function(e,t,n){xc()?this._history.pushState(e,t,n):this.location.hash=n},t.prototype.replaceState=function(e,t,n){xc()?this._history.replaceState(e,t,n):this.location.hash=n},t.prototype.forward=function(){this._history.forward()},t.prototype.back=function(){this._history.back()},t.ctorParameters=function(){return[{type:void 0,decorators:[{type:Ie,args:[Ec]}]}]},t}(Ks),kc=new he("TRANSITION_ID"),Ic=[{provide:Ct,useFactory:function(e,t,n){return function(){n.get(St).donePromise.then(function(){var n=yc();Array.prototype.slice.apply(n.querySelectorAll(t,"style[ng-transition]")).filter(function(t){return n.getAttribute(t,"ng-transition")===e}).forEach(function(e){return n.remove(e)})})}},deps:[kc,Ec,He],multi:!0}],Ac=function(){function e(){}return e.init=function(){var t;t=new e,sn=t},e.prototype.addToWindow=function(e){we.getAngularTestability=function(t,n){void 0===n&&(n=!0);var r=e.findTestabilityInTree(t,n);if(null==r)throw new Error("Could not find testability for element.");return r},we.getAllAngularTestabilities=function(){return e.getAllTestabilities()},we.getAllAngularRootElements=function(){return e.getAllRootElements()},we.frameworkStabilizers||(we.frameworkStabilizers=[]),we.frameworkStabilizers.push(function(e){var t=we.getAllAngularTestabilities(),n=t.length,r=!1,o=function(t){r=r||t,0==--n&&e(r)};t.forEach(function(e){e.whenStable(o)})})},e.prototype.findTestabilityInTree=function(e,t,n){if(null==t)return null;var r=e.getTestability(t);return null!=r?r:n?yc().isShadowRoot(t)?this.findTestabilityInTree(e,yc().getHost(t),!0):this.findTestabilityInTree(e,yc().parentElement(t),!0):null},e}();function Nc(e,t){"undefined"!=typeof COMPILED&&COMPILED||((we.ng=we.ng||{})[e]=t)}var Rc={ApplicationRef:mn,NgZone:Jt};function Pc(e){return jn(e)}var Oc=new he("EventManagerPlugins"),Dc=function(){function e(e,t){var n=this;this._zone=t,this._eventNameToPlugin=new Map,e.forEach(function(e){return e.manager=n}),this._plugins=e.slice().reverse()}return e.prototype.addEventListener=function(e,t,n){return this._findPluginFor(t).addEventListener(e,t,n)},e.prototype.addGlobalEventListener=function(e,t,n){return this._findPluginFor(t).addGlobalEventListener(e,t,n)},e.prototype.getZone=function(){return this._zone},e.prototype._findPluginFor=function(e){var t=this._eventNameToPlugin.get(e);if(t)return t;for(var n=this._plugins,r=0;r<n.length;r++){var o=n[r];if(o.supports(e))return this._eventNameToPlugin.set(e,o),o}throw new Error("No event manager plugin found for event "+e)},e}(),jc=function(){function e(e){this._doc=e}return e.prototype.addGlobalEventListener=function(e,t,n){var r=yc().getGlobalEventTarget(this._doc,e);if(!r)throw new Error("Unsupported event target "+r+" for event "+t);return this.addEventListener(r,t,n)},e}(),Mc=function(){function e(){this._stylesSet=new Set}return e.prototype.addStyles=function(e){var t=this,n=new Set;e.forEach(function(e){t._stylesSet.has(e)||(t._stylesSet.add(e),n.add(e))}),this.onStylesAdded(n)},e.prototype.onStylesAdded=function(e){},e.prototype.getAllStyles=function(){return Array.from(this._stylesSet)},e}(),Hc=function(e){function t(t){var n=e.call(this)||this;return n._doc=t,n._hostNodes=new Set,n._styleNodes=new Set,n._hostNodes.add(t.head),n}return o(t,e),t.prototype._addStylesToHost=function(e,t){var n=this;e.forEach(function(e){var r=n._doc.createElement("style");r.textContent=e,n._styleNodes.add(t.appendChild(r))})},t.prototype.addHost=function(e){this._addStylesToHost(this._stylesSet,e),this._hostNodes.add(e)},t.prototype.removeHost=function(e){this._hostNodes.delete(e)},t.prototype.onStylesAdded=function(e){var t=this;this._hostNodes.forEach(function(n){return t._addStylesToHost(e,n)})},t.prototype.ngOnDestroy=function(){this._styleNodes.forEach(function(e){return yc().remove(e)})},t}(Mc),Lc={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/"},Uc=/%COMP%/g,Vc="_nghost-%COMP%",Fc="_ngcontent-%COMP%";function zc(e,t,n){for(var r=0;r<t.length;r++){var o=t[r];Array.isArray(o)?zc(e,o,n):(o=o.replace(Uc,e),n.push(o))}return n}function Bc(e){return function(t){!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}var qc=function(){function e(e,t){this.eventManager=e,this.sharedStylesHost=t,this.rendererByCompId=new Map,this.defaultRenderer=new Zc(e)}return e.prototype.createRenderer=function(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case tt.Emulated:var n=this.rendererByCompId.get(t.id);return n||(n=new Kc(this.eventManager,this.sharedStylesHost,t),this.rendererByCompId.set(t.id,n)),n.applyToHost(e),n;case tt.Native:case tt.ShadowDom:return new Yc(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){var r=zc(t.id,t.styles,[]);this.sharedStylesHost.addStyles(r),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}},e.prototype.begin=function(){},e.prototype.end=function(){},e}(),Zc=function(){function e(e){this.eventManager=e,this.data=Object.create(null)}return e.prototype.destroy=function(){},e.prototype.createElement=function(e,t){return t?document.createElementNS(Lc[t],e):document.createElement(e)},e.prototype.createComment=function(e){return document.createComment(e)},e.prototype.createText=function(e){return document.createTextNode(e)},e.prototype.appendChild=function(e,t){e.appendChild(t)},e.prototype.insertBefore=function(e,t,n){e&&e.insertBefore(t,n)},e.prototype.removeChild=function(e,t){e&&e.removeChild(t)},e.prototype.selectRootElement=function(e){var t="string"==typeof e?document.querySelector(e):e;if(!t)throw new Error('The selector "'+e+'" did not match any elements');return t.textContent="",t},e.prototype.parentNode=function(e){return e.parentNode},e.prototype.nextSibling=function(e){return e.nextSibling},e.prototype.setAttribute=function(e,t,n,r){if(r){t=r+":"+t;var o=Lc[r];o?e.setAttributeNS(o,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)},e.prototype.removeAttribute=function(e,t,n){if(n){var r=Lc[n];r?e.removeAttributeNS(r,t):e.removeAttribute(n+":"+t)}else e.removeAttribute(t)},e.prototype.addClass=function(e,t){e.classList.add(t)},e.prototype.removeClass=function(e,t){e.classList.remove(t)},e.prototype.setStyle=function(e,t,n,r){r&_n.DashCase?e.style.setProperty(t,n,r&_n.Important?"important":""):e.style[t]=n},e.prototype.removeStyle=function(e,t,n){n&_n.DashCase?e.style.removeProperty(t):e.style[t]=""},e.prototype.setProperty=function(e,t,n){Qc(t,"property"),e[t]=n},e.prototype.setValue=function(e,t){e.nodeValue=t},e.prototype.listen=function(e,t,n){return Qc(t,"listener"),"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,Bc(n)):this.eventManager.addEventListener(e,t,Bc(n))},e}(),Gc="@".charCodeAt(0);function Qc(e,t){if(e.charCodeAt(0)===Gc)throw new Error("Found the synthetic "+t+" "+e+'. Please include either "BrowserAnimationsModule" or "NoopAnimationsModule" in your application.')}var Wc,Kc=function(e){function t(t,n,r){var o=e.call(this,t)||this;o.component=r;var i=zc(r.id,r.styles,[]);return n.addStyles(i),o.contentAttr=Fc.replace(Uc,r.id),o.hostAttr=Vc.replace(Uc,r.id),o}return o(t,e),t.prototype.applyToHost=function(t){e.prototype.setAttribute.call(this,t,this.hostAttr,"")},t.prototype.createElement=function(t,n){var r=e.prototype.createElement.call(this,t,n);return e.prototype.setAttribute.call(this,r,this.contentAttr,""),r},t}(Zc),Yc=function(e){function t(t,n,r,o){var i=e.call(this,t)||this;i.sharedStylesHost=n,i.hostEl=r,i.component=o,i.shadowRoot=o.encapsulation===tt.ShadowDom?r.attachShadow({mode:"open"}):r.createShadowRoot(),i.sharedStylesHost.addHost(i.shadowRoot);for(var a=zc(o.id,o.styles,[]),u=0;u<a.length;u++){var s=document.createElement("style");s.textContent=a[u],i.shadowRoot.appendChild(s)}return i}return o(t,e),t.prototype.nodeOrShadowRoot=function(e){return e===this.hostEl?this.shadowRoot:e},t.prototype.destroy=function(){this.sharedStylesHost.removeHost(this.shadowRoot)},t.prototype.appendChild=function(t,n){return e.prototype.appendChild.call(this,this.nodeOrShadowRoot(t),n)},t.prototype.insertBefore=function(t,n,r){return e.prototype.insertBefore.call(this,this.nodeOrShadowRoot(t),n,r)},t.prototype.removeChild=function(t,n){return e.prototype.removeChild.call(this,this.nodeOrShadowRoot(t),n)},t.prototype.parentNode=function(t){return this.nodeOrShadowRoot(e.prototype.parentNode.call(this,this.nodeOrShadowRoot(t)))},t}(Zc),Jc="undefined"!=typeof Zone&&Zone.__symbol__||function(e){return"__zone_symbol__"+e},Xc=Jc("addEventListener"),$c=Jc("removeEventListener"),el={},tl="__zone_symbol__propagationStopped";"undefined"!=typeof Zone&&Zone[Jc("BLACK_LISTED_EVENTS")]&&(Wc={});var nl=function(e){return!!Wc&&Wc.hasOwnProperty(e)},rl=function(e){var t=el[e.type];if(t){var n=this[t];if(n){var r=[e];if(1===n.length)return(a=n[0]).zone!==Zone.current?a.zone.run(a.handler,this,r):a.handler.apply(this,r);for(var o=n.slice(),i=0;i<o.length&&!0!==e[tl];i++){var a;(a=o[i]).zone!==Zone.current?a.zone.run(a.handler,this,r):a.handler.apply(this,r)}}}},ol=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.ngZone=n,r&&function(e){return e===pc}(r)||o.patchEvent(),o}return o(t,e),t.prototype.patchEvent=function(){if("undefined"!=typeof Event&&Event&&Event.prototype&&!Event.prototype.__zone_symbol__stopImmediatePropagation){var e=Event.prototype.__zone_symbol__stopImmediatePropagation=Event.prototype.stopImmediatePropagation;Event.prototype.stopImmediatePropagation=function(){this&&(this[tl]=!0),e&&e.apply(this,arguments)}}},t.prototype.supports=function(e){return!0},t.prototype.addEventListener=function(e,t,n){var r=this,o=n;if(!e[Xc]||Jt.isInAngularZone()&&!nl(t))e.addEventListener(t,o,!1);else{var i=el[t];i||(i=el[t]=Jc("ANGULAR"+t+"FALSE"));var a=e[i],u=a&&a.length>0;a||(a=e[i]=[]);var s=nl(t)?Zone.root:Zone.current;if(0===a.length)a.push({zone:s,handler:o});else{for(var c=!1,l=0;l<a.length;l++)if(a[l].handler===o){c=!0;break}c||a.push({zone:s,handler:o})}u||e[Xc](t,rl,!1)}return function(){return r.removeEventListener(e,t,o)}},t.prototype.removeEventListener=function(e,t,n){var r=e[$c];if(!r)return e.removeEventListener.apply(e,[t,n,!1]);var o=el[t],i=o&&e[o];if(!i)return e.removeEventListener.apply(e,[t,n,!1]);for(var a=!1,u=0;u<i.length;u++)if(i[u].handler===n){a=!0,i.splice(u,1);break}a?0===i.length&&r.apply(e,[t,rl,!1]):e.removeEventListener.apply(e,[t,n,!1])},t}(jc),il={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},al=new he("HammerGestureConfig"),ul=new he("HammerLoader"),sl=function(){function e(){this.events=[],this.overrides={}}return e.prototype.buildHammer=function(e){var t=new Hammer(e,this.options);for(var n in t.get("pinch").set({enable:!0}),t.get("rotate").set({enable:!0}),this.overrides)t.get(n).set(this.overrides[n]);return t},e}(),cl=function(e){function t(t,n,r,o){var i=e.call(this,t)||this;return i._config=n,i.console=r,i.loader=o,i}return o(t,e),t.prototype.supports=function(e){return!(!il.hasOwnProperty(e.toLowerCase())&&!this.isCustomEvent(e)||!window.Hammer&&!this.loader&&(this.console.warn('The "'+e+'" event cannot be bound because Hammer.JS is not loaded and no custom loader has been specified.'),1))},t.prototype.addEventListener=function(e,t,n){var r=this,o=this.manager.getZone();if(t=t.toLowerCase(),!window.Hammer&&this.loader){var i=!1,a=function(){i=!0};return this.loader().then(function(){if(!window.Hammer)return r.console.warn("The custom HAMMER_LOADER completed, but Hammer.JS is not present."),void(a=function(){});i||(a=r.addEventListener(e,t,n))}).catch(function(){r.console.warn('The "'+t+'" event cannot be bound because the custom Hammer.JS loader failed.'),a=function(){}}),function(){a()}}return o.runOutsideAngular(function(){var i=r._config.buildHammer(e),a=function(e){o.runGuarded(function(){n(e)})};return i.on(t,a),function(){return i.off(t,a)}})},t.prototype.isCustomEvent=function(e){return this._config.events.indexOf(e)>-1},t}(jc),ll=["alt","control","meta","shift"],fl={alt:function(e){return e.altKey},control:function(e){return e.ctrlKey},meta:function(e){return e.metaKey},shift:function(e){return e.shiftKey}},pl=function(e){function t(t){return e.call(this,t)||this}return o(t,e),t.prototype.supports=function(e){return null!=t.parseEventName(e)},t.prototype.addEventListener=function(e,n,r){var o=t.parseEventName(n),i=t.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(function(){return yc().onAndCancel(e,o.domEventName,i)})},t.parseEventName=function(e){var n=e.toLowerCase().split("."),r=n.shift();if(0===n.length||"keydown"!==r&&"keyup"!==r)return null;var o=t._normalizeKey(n.pop()),i="";if(ll.forEach(function(e){var t=n.indexOf(e);t>-1&&(n.splice(t,1),i+=e+".")}),i+=o,0!=n.length||0===o.length)return null;var a={};return a.domEventName=r,a.fullKey=i,a},t.getEventFullKey=function(e){var t="",n=yc().getEventKey(e);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),ll.forEach(function(r){r!=n&&(0,fl[r])(e)&&(t+=r+".")}),t+=n},t.eventCallback=function(e,n,r){return function(o){t.getEventFullKey(o)===e&&r.runGuarded(function(){return n(o)})}},t._normalizeKey=function(e){switch(e){case"esc":return"escape";default:return e}},t}(jc),hl=function(){},dl=function(e){function t(t){var n=e.call(this)||this;return n._doc=t,n}return o(t,e),t.prototype.sanitize=function(e,t){if(null==t)return null;switch(e){case Rr.NONE:return t;case Rr.HTML:return t instanceof yl?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"HTML"),function(e,t){var n=null;try{vr=vr||new cr(e);var r=t?String(t):"";n=vr.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=vr.getInertBodyElement(r)}while(r!==i);var a=new Er,u=a.sanitizeChildren(Ir(n)||n);return pn()&&a.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content (see http://g.co/ng/security#xss)."),u}finally{if(n)for(var s=Ir(n)||n;s.firstChild;)s.removeChild(s.firstChild)}}(this._doc,String(t)));case Rr.STYLE:return t instanceof gl?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"Style"),function(e){if(!(e=String(e).trim()))return"";var t=e.match(Nr);return t&&pr(t[1])===t[1]||e.match(Ar)&&function(e){for(var t=!0,n=!0,r=0;r<e.length;r++){var o=e.charAt(r);"'"===o&&n?t=!t:'"'===o&&t&&(n=!n)}return t&&n}(e)?e:(pn()&&console.warn("WARNING: sanitizing unsafe style value "+e+" (see http://g.co/ng/security#xss)."),"unsafe")}(t));case Rr.SCRIPT:if(t instanceof ml)return t.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(t,"Script"),new Error("unsafe value used in a script context");case Rr.URL:return t instanceof bl||t instanceof wl?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"URL"),pr(String(t)));case Rr.RESOURCE_URL:if(t instanceof bl)return t.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(t,"ResourceURL"),new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext "+e+" (see http://g.co/ng/security#xss)")}},t.prototype.checkNotSafeValue=function(e,t){if(e instanceof vl)throw new Error("Required a safe "+t+", got a "+e.getTypeName()+" (see http://g.co/ng/security#xss)")},t.prototype.bypassSecurityTrustHtml=function(e){return new yl(e)},t.prototype.bypassSecurityTrustStyle=function(e){return new gl(e)},t.prototype.bypassSecurityTrustScript=function(e){return new ml(e)},t.prototype.bypassSecurityTrustUrl=function(e){return new wl(e)},t.prototype.bypassSecurityTrustResourceUrl=function(e){return new bl(e)},t}(hl),vl=function(){function e(e){this.changingThisBreaksApplicationSecurity=e}return e.prototype.toString=function(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"},e}(),yl=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.getTypeName=function(){return"HTML"},t}(vl),gl=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.getTypeName=function(){return"Style"},t}(vl),ml=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.getTypeName=function(){return"Script"},t}(vl),wl=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.getTypeName=function(){return"URL"},t}(vl),bl=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.getTypeName=function(){return"ResourceURL"},t}(vl),_l=dn(rr,"browser",[{provide:It,useValue:"browser"},{provide:kt,useValue:function(){Cc.makeCurrent(),Ac.init()},multi:!0},{provide:Ks,useClass:Tc,deps:[Ec]},{provide:Ec,useFactory:function(){return document},deps:[]}]);function Cl(){return new ct}var Sl=function(){function e(e){if(e)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}return e.withServerTransition=function(t){return{ngModule:e,providers:[{provide:Et,useValue:t.appId},{provide:kc,useExisting:Et},Ic]}},e}();"undefined"!=typeof window&&window;var El=function(e,t){this.id=e,this.url=t},xl=function(e){function t(t,n,r,o){void 0===r&&(r="imperative"),void 0===o&&(o=null);var i=e.call(this,t,n)||this;return i.navigationTrigger=r,i.restoredState=o,i}return o(t,e),t.prototype.toString=function(){return"NavigationStart(id: "+this.id+", url: '"+this.url+"')"},t}(El),Tl=function(e){function t(t,n,r){var o=e.call(this,t,n)||this;return o.urlAfterRedirects=r,o}return o(t,e),t.prototype.toString=function(){return"NavigationEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"')"},t}(El),kl=function(e){function t(t,n,r){var o=e.call(this,t,n)||this;return o.reason=r,o}return o(t,e),t.prototype.toString=function(){return"NavigationCancel(id: "+this.id+", url: '"+this.url+"')"},t}(El),Il=function(e){function t(t,n,r){var o=e.call(this,t,n)||this;return o.error=r,o}return o(t,e),t.prototype.toString=function(){return"NavigationError(id: "+this.id+", url: '"+this.url+"', error: "+this.error+")"},t}(El),Al=function(e){function t(t,n,r,o){var i=e.call(this,t,n)||this;return i.urlAfterRedirects=r,i.state=o,i}return o(t,e),t.prototype.toString=function(){return"RoutesRecognized(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},t}(El),Nl=function(e){function t(t,n,r,o){var i=e.call(this,t,n)||this;return i.urlAfterRedirects=r,i.state=o,i}return o(t,e),t.prototype.toString=function(){return"GuardsCheckStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},t}(El),Rl=function(e){function t(t,n,r,o,i){var a=e.call(this,t,n)||this;return a.urlAfterRedirects=r,a.state=o,a.shouldActivate=i,a}return o(t,e),t.prototype.toString=function(){return"GuardsCheckEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+", shouldActivate: "+this.shouldActivate+")"},t}(El),Pl=function(e){function t(t,n,r,o){var i=e.call(this,t,n)||this;return i.urlAfterRedirects=r,i.state=o,i}return o(t,e),t.prototype.toString=function(){return"ResolveStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},t}(El),Ol=function(e){function t(t,n,r,o){var i=e.call(this,t,n)||this;return i.urlAfterRedirects=r,i.state=o,i}return o(t,e),t.prototype.toString=function(){return"ResolveEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},t}(El),Dl=function(){function e(e){this.route=e}return e.prototype.toString=function(){return"RouteConfigLoadStart(path: "+this.route.path+")"},e}(),jl=function(){function e(e){this.route=e}return e.prototype.toString=function(){return"RouteConfigLoadEnd(path: "+this.route.path+")"},e}(),Ml=function(){function e(e){this.snapshot=e}return e.prototype.toString=function(){return"ChildActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},e}(),Hl=function(){function e(e){this.snapshot=e}return e.prototype.toString=function(){return"ChildActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},e}(),Ll=function(){function e(e){this.snapshot=e}return e.prototype.toString=function(){return"ActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},e}(),Ul=function(){function e(e){this.snapshot=e}return e.prototype.toString=function(){return"ActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},e}(),Vl=function(){function e(e,t,n){this.routerEvent=e,this.position=t,this.anchor=n}return e.prototype.toString=function(){return"Scroll(anchor: '"+this.anchor+"', position: '"+(this.position?this.position[0]+", "+this.position[1]:null)+"')"},e}(),Fl=function(){},zl="primary",Bl=function(){function e(e){this.params=e||{}}return e.prototype.has=function(e){return this.params.hasOwnProperty(e)},e.prototype.get=function(e){if(this.has(e)){var t=this.params[e];return Array.isArray(t)?t[0]:t}return null},e.prototype.getAll=function(e){if(this.has(e)){var t=this.params[e];return Array.isArray(t)?t:[t]}return[]},Object.defineProperty(e.prototype,"keys",{get:function(){return Object.keys(this.params)},enumerable:!0,configurable:!0}),e}();function ql(e){return new Bl(e)}function Zl(e,t,n){var r=n.path.split("/");if(r.length>e.length)return null;if("full"===n.pathMatch&&(t.hasChildren()||r.length<e.length))return null;for(var o={},i=0;i<r.length;i++){var a=r[i],u=e[i];if(a.startsWith(":"))o[a.substring(1)]=u;else if(a!==u.path)return null}return{consumed:e.slice(0,r.length),posParams:o}}var Gl=function(e,t){this.routes=e,this.module=t};function Ql(e,t){void 0===t&&(t="");for(var n=0;n<e.length;n++){var r=e[n];Wl(r,Kl(t,r))}}function Wl(e,t){if(!e)throw new Error("\n      Invalid configuration of route '"+t+"': Encountered undefined route.\n      The reason might be an extra comma.\n\n      Example:\n      const routes: Routes = [\n        { path: '', redirectTo: '/dashboard', pathMatch: 'full' },\n        { path: 'dashboard',  component: DashboardComponent },, << two commas\n        { path: 'detail/:id', component: HeroDetailComponent }\n      ];\n    ");if(Array.isArray(e))throw new Error("Invalid configuration of route '"+t+"': Array cannot be specified");if(!e.component&&!e.children&&!e.loadChildren&&e.outlet&&e.outlet!==zl)throw new Error("Invalid configuration of route '"+t+"': a componentless route without children or loadChildren cannot have a named outlet set");if(e.redirectTo&&e.children)throw new Error("Invalid configuration of route '"+t+"': redirectTo and children cannot be used together");if(e.redirectTo&&e.loadChildren)throw new Error("Invalid configuration of route '"+t+"': redirectTo and loadChildren cannot be used together");if(e.children&&e.loadChildren)throw new Error("Invalid configuration of route '"+t+"': children and loadChildren cannot be used together");if(e.redirectTo&&e.component)throw new Error("Invalid configuration of route '"+t+"': redirectTo and component cannot be used together");if(e.path&&e.matcher)throw new Error("Invalid configuration of route '"+t+"': path and matcher cannot be used together");if(void 0===e.redirectTo&&!e.component&&!e.children&&!e.loadChildren)throw new Error("Invalid configuration of route '"+t+"'. One of the following must be provided: component, redirectTo, children or loadChildren");if(void 0===e.path&&void 0===e.matcher)throw new Error("Invalid configuration of route '"+t+"': routes must have either a path or a matcher specified");if("string"==typeof e.path&&"/"===e.path.charAt(0))throw new Error("Invalid configuration of route '"+t+"': path cannot start with a slash");if(""===e.path&&void 0!==e.redirectTo&&void 0===e.pathMatch)throw new Error("Invalid configuration of route '{path: \""+t+'", redirectTo: "'+e.redirectTo+"\"}': please provide 'pathMatch'. The default value of 'pathMatch' is 'prefix', but often the intent is to use 'full'.");if(void 0!==e.pathMatch&&"full"!==e.pathMatch&&"prefix"!==e.pathMatch)throw new Error("Invalid configuration of route '"+t+"': pathMatch can only be set to 'prefix' or 'full'");e.children&&Ql(e.children,t)}function Kl(e,t){return t?e||t.path?e&&!t.path?e+"/":!e&&t.path?t.path:e+"/"+t.path:"":e}function Yl(e){var t=e.children&&e.children.map(Yl),n=t?i({},e,{children:t}):i({},e);return!n.component&&(t||n.loadChildren)&&n.outlet&&n.outlet!==zl&&(n.component=Fl),n}function Jl(e,t){var n,r=Object.keys(e),o=Object.keys(t);if(r.length!=o.length)return!1;for(var i=0;i<r.length;i++)if(e[n=r[i]]!==t[n])return!1;return!0}function Xl(e){return Array.prototype.concat.apply([],e)}function $l(e){return e.length>0?e[e.length-1]:null}function ef(e,t){for(var n in e)e.hasOwnProperty(n)&&t(e[n],n)}function tf(e){return e.pipe(oe(),Ms(function(e){return!0===e}))}function nf(e){return(t=e)&&"function"==typeof t.subscribe?e:_t(e)?$(Promise.resolve(e)):gs(e);var t}function rf(e,t,n){return n?function(e,t){return Jl(e,t)}(e.queryParams,t.queryParams)&&function e(t,n){if(!sf(t.segments,n.segments))return!1;if(t.numberOfChildren!==n.numberOfChildren)return!1;for(var r in n.children){if(!t.children[r])return!1;if(!e(t.children[r],n.children[r]))return!1}return!0}(e.root,t.root):function(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(function(n){return t[n]===e[n]})}(e.queryParams,t.queryParams)&&function e(t,n){return function t(n,r,o){if(n.segments.length>o.length)return!!sf(a=n.segments.slice(0,o.length),o)&&!r.hasChildren();if(n.segments.length===o.length){if(!sf(n.segments,o))return!1;for(var i in r.children){if(!n.children[i])return!1;if(!e(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!!sf(n.segments,a)&&!!n.children[zl]&&t(n.children[zl],r,u)}(t,n,n.segments)}(e.root,t.root)}var of=function(){function e(e,t,n){this.root=e,this.queryParams=t,this.fragment=n}return Object.defineProperty(e.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=ql(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return pf.serialize(this)},e}(),af=function(){function e(e,t){var n=this;this.segments=e,this.children=t,this.parent=null,ef(t,function(e,t){return e.parent=n})}return e.prototype.hasChildren=function(){return this.numberOfChildren>0},Object.defineProperty(e.prototype,"numberOfChildren",{get:function(){return Object.keys(this.children).length},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return hf(this)},e}(),uf=function(){function e(e,t){this.path=e,this.parameters=t}return Object.defineProperty(e.prototype,"parameterMap",{get:function(){return this._parameterMap||(this._parameterMap=ql(this.parameters)),this._parameterMap},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return wf(this)},e}();function sf(e,t){return e.length===t.length&&e.every(function(e,n){return e.path===t[n].path})}function cf(e,t){var n=[];return ef(e.children,function(e,r){r===zl&&(n=n.concat(t(e,r)))}),ef(e.children,function(e,r){r!==zl&&(n=n.concat(t(e,r)))}),n}var lf=function(){},ff=function(){function e(){}return e.prototype.parse=function(e){var t=new Ef(e);return new of(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())},e.prototype.serialize=function(e){var t,n;return"/"+function e(t,n){if(!t.hasChildren())return hf(t);if(n){var r=t.children[zl]?e(t.children[zl],!1):"",o=[];return ef(t.children,function(t,n){n!==zl&&o.push(n+":"+e(t,!1))}),o.length>0?r+"("+o.join("//")+")":r}var i=cf(t,function(n,r){return r===zl?[e(t.children[zl],!1)]:[r+":"+e(n,!1)]});return hf(t)+"/("+i.join("//")+")"}(e.root,!0)+(t=e.queryParams,(n=Object.keys(t).map(function(e){var n=t[e];return Array.isArray(n)?n.map(function(t){return vf(e)+"="+vf(t)}).join("&"):vf(e)+"="+vf(n)})).length?"?"+n.join("&"):"")+("string"==typeof e.fragment?"#"+encodeURI(e.fragment):"")},e}(),pf=new ff;function hf(e){return e.segments.map(function(e){return wf(e)}).join("/")}function df(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function vf(e){return df(e).replace(/%3B/gi,";")}function yf(e){return df(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function gf(e){return decodeURIComponent(e)}function mf(e){return gf(e.replace(/\+/g,"%20"))}function wf(e){return""+yf(e.path)+(t=e.parameters,Object.keys(t).map(function(e){return";"+yf(e)+"="+yf(t[e])}).join(""));var t}var bf=/^[^\/()?;=#]+/;function _f(e){var t=e.match(bf);return t?t[0]:""}var Cf=/^[^=?&#]+/,Sf=/^[^?&#]+/,Ef=function(){function e(e){this.url=e,this.remaining=e}return e.prototype.parseRootSegment=function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new af([],{}):new af([],this.parseChildren())},e.prototype.parseQueryParams=function(){var e={};if(this.consumeOptional("?"))do{this.parseQueryParam(e)}while(this.consumeOptional("&"));return e},e.prototype.parseFragment=function(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null},e.prototype.parseChildren=function(){if(""===this.remaining)return{};this.consumeOptional("/");var e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());var t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));var n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(t).length>0)&&(n[zl]=new af(e,t)),n},e.prototype.parseSegment=function(){var e=_f(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '"+this.remaining+"'.");return this.capture(e),new uf(gf(e),this.parseMatrixParams())},e.prototype.parseMatrixParams=function(){for(var e={};this.consumeOptional(";");)this.parseParam(e);return e},e.prototype.parseParam=function(e){var t=_f(this.remaining);if(t){this.capture(t);var n="";if(this.consumeOptional("=")){var r=_f(this.remaining);r&&this.capture(n=r)}e[gf(t)]=gf(n)}},e.prototype.parseQueryParam=function(e){var t,n=(t=this.remaining.match(Cf))?t[0]:"";if(n){this.capture(n);var r="";if(this.consumeOptional("=")){var o=function(e){var t=e.match(Sf);return t?t[0]:""}(this.remaining);o&&this.capture(r=o)}var i=mf(n),a=mf(r);if(e.hasOwnProperty(i)){var u=e[i];Array.isArray(u)||(e[i]=u=[u]),u.push(a)}else e[i]=a}},e.prototype.parseParens=function(e){var t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var n=_f(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(":")):e&&(o=zl);var i=this.parseChildren();t[o]=1===Object.keys(i).length?i[zl]:new af([],i),this.consumeOptional("//")}return t},e.prototype.peekStartsWith=function(e){return this.remaining.startsWith(e)},e.prototype.consumeOptional=function(e){return!!this.peekStartsWith(e)&&(this.remaining=this.remaining.substring(e.length),!0)},e.prototype.capture=function(e){if(!this.consumeOptional(e))throw new Error('Expected "'+e+'".')},e}(),xf=function(e){this.segmentGroup=e||null},Tf=function(e){this.urlTree=e};function kf(e){return new N(function(t){return t.error(new xf(e))})}function If(e){return new N(function(t){return t.error(new Tf(e))})}function Af(e){return new N(function(t){return t.error(new Error("Only absolute redirects can have named outlets. redirectTo: '"+e+"'"))})}var Nf=function(){function e(e,t,n,r,o){this.configLoader=t,this.urlSerializer=n,this.urlTree=r,this.config=o,this.allowRedirects=!0,this.ngModule=e.get(qt)}return e.prototype.apply=function(){var e=this;return this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,zl).pipe(K(function(t){return e.createUrlTree(t,e.urlTree.queryParams,e.urlTree.fragment)})).pipe(Us(function(t){if(t instanceof Tf)return e.allowRedirects=!1,e.match(t.urlTree);if(t instanceof xf)throw e.noMatchError(t);throw t}))},e.prototype.match=function(e){var t=this;return this.expandSegmentGroup(this.ngModule,this.config,e.root,zl).pipe(K(function(n){return t.createUrlTree(n,e.queryParams,e.fragment)})).pipe(Us(function(e){if(e instanceof xf)throw t.noMatchError(e);throw e}))},e.prototype.noMatchError=function(e){return new Error("Cannot match any routes. URL Segment: '"+e.segmentGroup+"'")},e.prototype.createUrlTree=function(e,t,n){var r,o=e.segments.length>0?new af([],((r={})[zl]=e,r)):e;return new of(o,t,n)},e.prototype.expandSegmentGroup=function(e,t,n,r){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(e,t,n).pipe(K(function(e){return new af([],e)})):this.expandSegment(e,n,t,n.segments,r,!0)},e.prototype.expandChildren=function(e,t,n){var r=this;return function(n,o){if(0===Object.keys(n).length)return gs({});var i=[],a=[],u={};return ef(n,function(n,o){var s,c,l=(s=o,c=n,r.expandSegmentGroup(e,t,c,s)).pipe(K(function(e){return u[o]=e}));o===zl?i.push(l):a.push(l)}),gs.apply(null,i.concat(a)).pipe(bs(),js(),K(function(){return u}))}(n.children)},e.prototype.expandSegment=function(e,t,n,r,o,i){var a=this;return gs.apply(void 0,s(n)).pipe(K(function(u){return a.expandSegmentAgainstRoute(e,t,n,u,r,o,i).pipe(Us(function(e){if(e instanceof xf)return gs(null);throw e}))}),bs(),qs(function(e){return!!e}),Us(function(e,n){if(e instanceof ms||"EmptyError"===e.name){if(a.noLeftoversInUrl(t,r,o))return gs(new af([],{}));throw new xf(t)}throw e}))},e.prototype.noLeftoversInUrl=function(e,t,n){return 0===t.length&&!e.children[n]},e.prototype.expandSegmentAgainstRoute=function(e,t,n,r,o,i,a){return Df(r)!==i?kf(t):void 0===r.redirectTo?this.matchSegmentAgainstRoute(e,t,r,o):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(e,t,n,r,o,i):kf(t)},e.prototype.expandSegmentAgainstRouteUsingRedirect=function(e,t,n,r,o,i){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(e,n,r,i):this.expandRegularSegmentAgainstRouteUsingRedirect(e,t,n,r,o,i)},e.prototype.expandWildCardWithParamsAgainstRouteUsingRedirect=function(e,t,n,r){var o=this,i=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?If(i):this.lineralizeSegments(n,i).pipe(ee(function(n){var i=new af(n,{});return o.expandSegment(e,i,t,n,r,!1)}))},e.prototype.expandRegularSegmentAgainstRouteUsingRedirect=function(e,t,n,r,o,i){var a=this,u=Rf(t,r,o),s=u.consumedSegments,c=u.lastChild,l=u.positionalParamSegments;if(!u.matched)return kf(t);var f=this.applyRedirectCommands(s,r.redirectTo,l);return r.redirectTo.startsWith("/")?If(f):this.lineralizeSegments(r,f).pipe(ee(function(r){return a.expandSegment(e,t,n,r.concat(o.slice(c)),i,!1)}))},e.prototype.matchSegmentAgainstRoute=function(e,t,n,r){var o=this;if("**"===n.path)return n.loadChildren?this.configLoader.load(e.injector,n).pipe(K(function(e){return n._loadedConfig=e,new af(r,{})})):gs(new af(r,{}));var u=Rf(t,n,r),s=u.consumedSegments,c=u.lastChild;if(!u.matched)return kf(t);var l=r.slice(c);return this.getChildConfig(e,n).pipe(ee(function(e){var n=e.module,r=e.routes,u=function(e,t,n,r){return n.length>0&&function(e,t,n){return r.some(function(n){return Of(e,t,n)&&Df(n)!==zl})}(e,n)?{segmentGroup:Pf(new af(t,function(e,t){var n,r,o={};o[zl]=t;try{for(var i=a(e),u=i.next();!u.done;u=i.next()){var s=u.value;""===s.path&&Df(s)!==zl&&(o[Df(s)]=new af([],{}))}}catch(e){n={error:e}}finally{try{u&&!u.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return o}(r,new af(n,e.children)))),slicedSegments:[]}:0===n.length&&function(e,t,n){return r.some(function(n){return Of(e,t,n)})}(e,n)?{segmentGroup:Pf(new af(e.segments,function(e,t,n,r){var o,u,s={};try{for(var c=a(n),l=c.next();!l.done;l=c.next()){var f=l.value;Of(e,t,f)&&!r[Df(f)]&&(s[Df(f)]=new af([],{}))}}catch(e){o={error:e}}finally{try{l&&!l.done&&(u=c.return)&&u.call(c)}finally{if(o)throw o.error}}return i({},r,s)}(e,n,r,e.children))),slicedSegments:n}:{segmentGroup:e,slicedSegments:n}}(t,s,l,r),c=u.segmentGroup,f=u.slicedSegments;return 0===f.length&&c.hasChildren()?o.expandChildren(n,r,c).pipe(K(function(e){return new af(s,e)})):0===r.length&&0===f.length?gs(new af(s,{})):o.expandSegment(n,c,r,f,zl,!0).pipe(K(function(e){return new af(s.concat(e.segments),e.children)}))}))},e.prototype.getChildConfig=function(e,t){var n=this;return t.children?gs(new Gl(t.children,e)):t.loadChildren?void 0!==t._loadedConfig?gs(t._loadedConfig):function(e,t){var n=t.canLoad;return n&&0!==n.length?tf($(n).pipe(K(function(n){var r=e.get(n);return nf(r.canLoad?r.canLoad(t):r(t))}))):gs(!0)}(e.injector,t).pipe(ee(function(r){return r?n.configLoader.load(e.injector,t).pipe(K(function(e){return t._loadedConfig=e,e})):function(e){return new N(function(t){return t.error(((n=Error("NavigationCancelingError: Cannot load children because the guard of the route \"path: '"+e.path+"'\" returned false")).ngNavigationCancelingError=!0,n));var n})}(t)})):gs(new Gl([],e))},e.prototype.lineralizeSegments=function(e,t){for(var n=[],r=t.root;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return gs(n);if(r.numberOfChildren>1||!r.children[zl])return Af(e.redirectTo);r=r.children[zl]}},e.prototype.applyRedirectCommands=function(e,t,n){return this.applyRedirectCreatreUrlTree(t,this.urlSerializer.parse(t),e,n)},e.prototype.applyRedirectCreatreUrlTree=function(e,t,n,r){var o=this.createSegmentGroup(e,t.root,n,r);return new of(o,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)},e.prototype.createQueryParams=function(e,t){var n={};return ef(e,function(e,r){if("string"==typeof e&&e.startsWith(":")){var o=e.substring(1);n[r]=t[o]}else n[r]=e}),n},e.prototype.createSegmentGroup=function(e,t,n,r){var o=this,i=this.createSegments(e,t.segments,n,r),a={};return ef(t.children,function(t,i){a[i]=o.createSegmentGroup(e,t,n,r)}),new af(i,a)},e.prototype.createSegments=function(e,t,n,r){var o=this;return t.map(function(t){return t.path.startsWith(":")?o.findPosParam(e,t,r):o.findOrReturn(t,n)})},e.prototype.findPosParam=function(e,t,n){var r=n[t.path.substring(1)];if(!r)throw new Error("Cannot redirect to '"+e+"'. Cannot find '"+t.path+"'.");return r},e.prototype.findOrReturn=function(e,t){var n,r,o=0;try{for(var i=a(t),u=i.next();!u.done;u=i.next()){var s=u.value;if(s.path===e.path)return t.splice(o),s;o++}}catch(e){n={error:e}}finally{try{u&&!u.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return e},e}();function Rf(e,t,n){if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||n.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};var r=(t.matcher||Zl)(n,e,t);return r?{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,positionalParamSegments:r.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function Pf(e){if(1===e.numberOfChildren&&e.children[zl]){var t=e.children[zl];return new af(e.segments.concat(t.segments),t.children)}return e}function Of(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0!==n.redirectTo}function Df(e){return e.outlet||zl}var jf=function(){function e(e){this._root=e}return Object.defineProperty(e.prototype,"root",{get:function(){return this._root.value},enumerable:!0,configurable:!0}),e.prototype.parent=function(e){var t=this.pathFromRoot(e);return t.length>1?t[t.length-2]:null},e.prototype.children=function(e){var t=Mf(e,this._root);return t?t.children.map(function(e){return e.value}):[]},e.prototype.firstChild=function(e){var t=Mf(e,this._root);return t&&t.children.length>0?t.children[0].value:null},e.prototype.siblings=function(e){var t=Hf(e,this._root);return t.length<2?[]:t[t.length-2].children.map(function(e){return e.value}).filter(function(t){return t!==e})},e.prototype.pathFromRoot=function(e){return Hf(e,this._root).map(function(e){return e.value})},e}();function Mf(e,t){var n,r;if(e===t.value)return t;try{for(var o=a(t.children),i=o.next();!i.done;i=o.next()){var u=Mf(e,i.value);if(u)return u}}catch(e){n={error:e}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return null}function Hf(e,t){var n,r;if(e===t.value)return[t];try{for(var o=a(t.children),i=o.next();!i.done;i=o.next()){var u=Hf(e,i.value);if(u.length)return u.unshift(t),u}}catch(e){n={error:e}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return[]}var Lf=function(){function e(e,t){this.value=e,this.children=t}return e.prototype.toString=function(){return"TreeNode("+this.value+")"},e}();function Uf(e){var t={};return e&&e.children.forEach(function(e){return t[e.value.outlet]=e}),t}var Vf=function(e){function t(t,n){var r=e.call(this,t)||this;return r.snapshot=n,Gf(r,t),r}return o(t,e),t.prototype.toString=function(){return this.snapshot.toString()},t}(jf);function Ff(e,t){var n=function(e,t){var n=new qf([],{},{},"",{},zl,t,null,e.root,-1,{});return new Zf("",new Lf(n,[]))}(e,t),r=new ws([new uf("",{})]),o=new ws({}),i=new ws({}),a=new ws({}),u=new ws(""),s=new zf(r,o,a,u,i,zl,t,n.root);return s.snapshot=n.root,new Vf(new Lf(s,[]),n)}var zf=function(){function e(e,t,n,r,o,i,a,u){this.url=e,this.params=t,this.queryParams=n,this.fragment=r,this.data=o,this.outlet=i,this.component=a,this._futureSnapshot=u}return Object.defineProperty(e.prototype,"routeConfig",{get:function(){return this._futureSnapshot.routeConfig},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=this.params.pipe(K(function(e){return ql(e)}))),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(K(function(e){return ql(e)}))),this._queryParamMap},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return this.snapshot?this.snapshot.toString():"Future("+this._futureSnapshot+")"},e}();function Bf(e,t){void 0===t&&(t="emptyOnly");var n=e.pathFromRoot,r=0;if("always"!==t)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(e){return e.reduce(function(e,t){return{params:i({},e.params,t.params),data:i({},e.data,t.data),resolve:i({},e.resolve,t._resolvedData)}},{params:{},data:{},resolve:{}})}(n.slice(r))}var qf=function(){function e(e,t,n,r,o,i,a,u,s,c,l){this.url=e,this.params=t,this.queryParams=n,this.fragment=r,this.data=o,this.outlet=i,this.component=a,this.routeConfig=u,this._urlSegment=s,this._lastPathIndex=c,this._resolve=l}return Object.defineProperty(e.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=ql(this.params)),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=ql(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return"Route(url:'"+this.url.map(function(e){return e.toString()}).join("/")+"', path:'"+(this.routeConfig?this.routeConfig.path:"")+"')"},e}(),Zf=function(e){function t(t,n){var r=e.call(this,n)||this;return r.url=t,Gf(r,n),r}return o(t,e),t.prototype.toString=function(){return Qf(this._root)},t}(jf);function Gf(e,t){t.value._routerState=e,t.children.forEach(function(t){return Gf(e,t)})}function Qf(e){var t=e.children.length>0?" { "+e.children.map(Qf).join(", ")+" } ":"";return""+e.value+t}function Wf(e){if(e.snapshot){var t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,Jl(t.queryParams,n.queryParams)||e.queryParams.next(n.queryParams),t.fragment!==n.fragment&&e.fragment.next(n.fragment),Jl(t.params,n.params)||e.params.next(n.params),function(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;++n)if(!Jl(e[n],t[n]))return!1;return!0}(t.url,n.url)||e.url.next(n.url),Jl(t.data,n.data)||e.data.next(n.data)}else e.snapshot=e._futureSnapshot,e.data.next(e._futureSnapshot.data)}function Kf(e,t){var n,r;return Jl(e.params,t.params)&&sf(n=e.url,r=t.url)&&n.every(function(e,t){return Jl(e.parameters,r[t].parameters)})&&!(!e.parent!=!t.parent)&&(!e.parent||Kf(e.parent,t.parent))}function Yf(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function Jf(e,t,n,r,o){var i={};return r&&ef(r,function(e,t){i[t]=Array.isArray(e)?e.map(function(e){return""+e}):""+e}),new of(n.root===e?t:function e(t,n,r){var o={};return ef(t.children,function(t,i){o[i]=t===n?r:e(t,n,r)}),new af(t.segments,o)}(n.root,e,t),i,o)}var Xf=function(){function e(e,t,n){if(this.isAbsolute=e,this.numberOfDoubleDots=t,this.commands=n,e&&n.length>0&&Yf(n[0]))throw new Error("Root segment cannot have matrix parameters");var r=n.find(function(e){return"object"==typeof e&&null!=e&&e.outlets});if(r&&r!==$l(n))throw new Error("{outlets:{}} has to be the last command")}return e.prototype.toRoot=function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]},e}(),$f=function(e,t,n){this.segmentGroup=e,this.processChildren=t,this.index=n};function ep(e){return"object"==typeof e&&null!=e&&e.outlets?e.outlets[zl]:""+e}function tp(e,t,n){if(e||(e=new af([],{})),0===e.segments.length&&e.hasChildren())return np(e,t,n);var r=function(e,t,n){for(var r=0,o=t,i={match:!1,pathIndex:0,commandIndex:0};o<e.segments.length;){if(r>=n.length)return i;var a=e.segments[o],u=ep(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(!ap(u,s,a))return i;r+=2}else{if(!ap(u,{},a))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}(e,t,n),o=n.slice(r.commandIndex);if(r.match&&r.pathIndex<e.segments.length){var i=new af(e.segments.slice(0,r.pathIndex),{});return i.children[zl]=new af(e.segments.slice(r.pathIndex),e.children),np(i,0,o)}return r.match&&0===o.length?new af(e.segments,{}):r.match&&!e.hasChildren()?rp(e,t,n):r.match?np(e,0,o):rp(e,t,n)}function np(e,t,n){if(0===n.length)return new af(e.segments,{});var r=function(e){var t,n;return"object"!=typeof e[0]?((t={})[zl]=e,t):void 0===e[0].outlets?((n={})[zl]=e,n):e[0].outlets}(n),o={};return ef(r,function(n,r){null!==n&&(o[r]=tp(e.children[r],t,n))}),ef(e.children,function(e,t){void 0===r[t]&&(o[t]=e)}),new af(e.segments,o)}function rp(e,t,n){for(var r=e.segments.slice(0,t),o=0;o<n.length;){if("object"==typeof n[o]&&void 0!==n[o].outlets){var i=op(n[o].outlets);return new af(r,i)}if(0===o&&Yf(n[0]))r.push(new uf(e.segments[t].path,n[0])),o++;else{var a=ep(n[o]),u=o<n.length-1?n[o+1]:null;a&&u&&Yf(u)?(r.push(new uf(a,ip(u))),o+=2):(r.push(new uf(a,{})),o++)}}return new af(r,{})}function op(e){var t={};return ef(e,function(e,n){null!==e&&(t[n]=rp(new af([],{}),0,e))}),t}function ip(e){var t={};return ef(e,function(e,n){return t[n]=""+e}),t}function ap(e,t,n){return e==n.path&&Jl(t,n.parameters)}var up=function(e){this.path=e,this.route=this.path[this.path.length-1]},sp=function(e,t){this.component=e,this.route=t},cp=function(){function e(e,t,n,r){this.future=e,this.curr=t,this.moduleInjector=n,this.forwardEvent=r,this.canActivateChecks=[],this.canDeactivateChecks=[]}return e.prototype.initialize=function(e){var t=this.future._root;this.setupChildRouteGuards(t,this.curr?this.curr._root:null,e,[t.value])},e.prototype.checkGuards=function(){var e=this;return this.isDeactivating()||this.isActivating()?this.runCanDeactivateChecks().pipe(ee(function(t){return t?e.runCanActivateChecks():gs(!1)})):gs(!0)},e.prototype.resolveData=function(e){var t=this;return this.isActivating()?$(this.canActivateChecks).pipe(Zs(function(n){return t.runResolve(n.route,e)}),function(e,t){return arguments.length>=2?function(n){return I(Gs(e,t),xs(1),Ps(t))(n)}:function(t){return I(Gs(function(t,n,r){return e(t,n,r+1)}),xs(1))(t)}}(function(e,t){return e})):gs(null)},e.prototype.isDeactivating=function(){return 0!==this.canDeactivateChecks.length},e.prototype.isActivating=function(){return 0!==this.canActivateChecks.length},e.prototype.setupChildRouteGuards=function(e,t,n,r){var o=this,i=Uf(t);e.children.forEach(function(e){o.setupRouteGuards(e,i[e.value.outlet],n,r.concat([e.value])),delete i[e.value.outlet]}),ef(i,function(e,t){return o.deactivateRouteAndItsChildren(e,n.getContext(t))})},e.prototype.setupRouteGuards=function(e,t,n,r){var o=e.value,i=t?t.value:null,a=n?n.getContext(e.value.outlet):null;if(i&&o.routeConfig===i.routeConfig){var u=this.shouldRunGuardsAndResolvers(i,o,o.routeConfig.runGuardsAndResolvers);u?this.canActivateChecks.push(new up(r)):(o.data=i.data,o._resolvedData=i._resolvedData),this.setupChildRouteGuards(e,t,o.component?a?a.children:null:n,r),u&&this.canDeactivateChecks.push(new sp(a.outlet.component,i))}else i&&this.deactivateRouteAndItsChildren(t,a),this.canActivateChecks.push(new up(r)),this.setupChildRouteGuards(e,null,o.component?a?a.children:null:n,r)},e.prototype.shouldRunGuardsAndResolvers=function(e,t,n){switch(n){case"always":return!0;case"paramsOrQueryParamsChange":return!Kf(e,t)||!Jl(e.queryParams,t.queryParams);case"paramsChange":default:return!Kf(e,t)}},e.prototype.deactivateRouteAndItsChildren=function(e,t){var n=this,r=Uf(e),o=e.value;ef(r,function(e,r){n.deactivateRouteAndItsChildren(e,o.component?t?t.children.getContext(r):null:t)}),this.canDeactivateChecks.push(new sp(o.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,o))},e.prototype.runCanDeactivateChecks=function(){var e=this;return $(this.canDeactivateChecks).pipe(ee(function(t){return e.runCanDeactivate(t.component,t.route)}),Ms(function(e){return!0===e}))},e.prototype.runCanActivateChecks=function(){var e=this;return $(this.canActivateChecks).pipe(Zs(function(t){return tf($([e.fireChildActivationStart(t.route.parent),e.fireActivationStart(t.route),e.runCanActivateChild(t.path),e.runCanActivate(t.route)]))}),Ms(function(e){return!0===e}))},e.prototype.fireActivationStart=function(e){return null!==e&&this.forwardEvent&&this.forwardEvent(new Ll(e)),gs(!0)},e.prototype.fireChildActivationStart=function(e){return null!==e&&this.forwardEvent&&this.forwardEvent(new Ml(e)),gs(!0)},e.prototype.runCanActivate=function(e){var t=this,n=e.routeConfig?e.routeConfig.canActivate:null;return n&&0!==n.length?tf($(n).pipe(K(function(n){var r=t.getToken(n,e);return nf(r.canActivate?r.canActivate(e,t.future):r(e,t.future)).pipe(qs())}))):gs(!0)},e.prototype.runCanActivateChild=function(e){var t=this,n=e[e.length-1];return tf($(e.slice(0,e.length-1).reverse().map(function(e){return t.extractCanActivateChild(e)}).filter(function(e){return null!==e})).pipe(K(function(e){return tf($(e.guards).pipe(K(function(r){var o=t.getToken(r,e.node);return nf(o.canActivateChild?o.canActivateChild(n,t.future):o(n,t.future)).pipe(qs())})))})))},e.prototype.extractCanActivateChild=function(e){var t=e.routeConfig?e.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:e,guards:t}:null},e.prototype.runCanDeactivate=function(e,t){var n=this,r=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return r&&0!==r.length?$(r).pipe(ee(function(r){var o=n.getToken(r,t);return nf(o.canDeactivate?o.canDeactivate(e,t,n.curr,n.future):o(e,t,n.curr,n.future)).pipe(qs())})).pipe(Ms(function(e){return!0===e})):gs(!0)},e.prototype.runResolve=function(e,t){return this.resolveNode(e._resolve,e).pipe(K(function(n){return e._resolvedData=n,e.data=i({},e.data,Bf(e,t).resolve),null}))},e.prototype.resolveNode=function(e,t){var n=this,r=Object.keys(e);if(0===r.length)return gs({});if(1===r.length){var o=r[0];return this.getResolver(e[o],t).pipe(K(function(e){var t;return(t={})[o]=e,t}))}var i={};return $(r).pipe(ee(function(r){return n.getResolver(e[r],t).pipe(K(function(e){return i[r]=e,e}))})).pipe(js(),K(function(){return i}))},e.prototype.getResolver=function(e,t){var n=this.getToken(e,t);return nf(n.resolve?n.resolve(t,this.future):n(t,this.future))},e.prototype.getToken=function(e,t){var n=function(e){if(!e)return null;for(var t=e.parent;t;t=t.parent){var n=t.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig}return null}(t);return(n?n.module.injector:this.moduleInjector).get(e)},e}(),lp=function(){},fp=function(){function e(e,t,n,r,o,i){this.rootComponentType=e,this.config=t,this.urlTree=n,this.url=r,this.paramsInheritanceStrategy=o,this.relativeLinkResolution=i}return e.prototype.recognize=function(){try{var e=dp(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,t=this.processSegmentGroup(this.config,e,zl),n=new qf([],Object.freeze({}),Object.freeze(i({},this.urlTree.queryParams)),this.urlTree.fragment,{},zl,this.rootComponentType,null,this.urlTree.root,-1,{}),r=new Lf(n,t),o=new Zf(this.url,r);return this.inheritParamsAndData(o._root),gs(o)}catch(e){return new N(function(t){return t.error(e)})}},e.prototype.inheritParamsAndData=function(e){var t=this,n=e.value,r=Bf(n,this.paramsInheritanceStrategy);n.params=Object.freeze(r.params),n.data=Object.freeze(r.data),e.children.forEach(function(e){return t.inheritParamsAndData(e)})},e.prototype.processSegmentGroup=function(e,t,n){return 0===t.segments.length&&t.hasChildren()?this.processChildren(e,t):this.processSegment(e,t,t.segments,n)},e.prototype.processChildren=function(e,t){var n,r=this,o=cf(t,function(t,n){return r.processSegmentGroup(e,t,n)});return n={},o.forEach(function(e){var t=n[e.value.outlet];if(t){var r=t.url.map(function(e){return e.toString()}).join("/"),o=e.value.url.map(function(e){return e.toString()}).join("/");throw new Error("Two segments cannot have the same outlet name: '"+r+"' and '"+o+"'.")}n[e.value.outlet]=e.value}),o.sort(function(e,t){return e.value.outlet===zl?-1:t.value.outlet===zl?1:e.value.outlet.localeCompare(t.value.outlet)}),o},e.prototype.processSegment=function(e,t,n,r){var o,i;try{for(var u=a(e),s=u.next();!s.done;s=u.next()){var c=s.value;try{return this.processSegmentAgainstRoute(c,t,n,r)}catch(e){if(!(e instanceof lp))throw e}}}catch(e){o={error:e}}finally{try{s&&!s.done&&(i=u.return)&&i.call(u)}finally{if(o)throw o.error}}if(this.noLeftoversInUrl(t,n,r))return[];throw new lp},e.prototype.noLeftoversInUrl=function(e,t,n){return 0===t.length&&!e.children[n]},e.prototype.processSegmentAgainstRoute=function(e,t,n,r){if(e.redirectTo)throw new lp;if((e.outlet||zl)!==r)throw new lp;var o,a=[],u=[];if("**"===e.path){var s=n.length>0?$l(n).parameters:{};o=new qf(n,s,Object.freeze(i({},this.urlTree.queryParams)),this.urlTree.fragment,gp(e),r,e.component,e,pp(t),hp(t)+n.length,mp(e))}else{var c=function(e,t,n){if(""===t.path){if("full"===t.pathMatch&&(e.hasChildren()||n.length>0))throw new lp;return{consumedSegments:[],lastChild:0,parameters:{}}}var r=(t.matcher||Zl)(n,e,t);if(!r)throw new lp;var o={};ef(r.posParams,function(e,t){o[t]=e.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}}(t,e,n);a=c.consumedSegments,u=n.slice(c.lastChild),o=new qf(a,c.parameters,Object.freeze(i({},this.urlTree.queryParams)),this.urlTree.fragment,gp(e),r,e.component,e,pp(t),hp(t)+a.length,mp(e))}var l=function(e){return e.children?e.children:e.loadChildren?e._loadedConfig.routes:[]}(e),f=dp(t,a,u,l,this.relativeLinkResolution),p=f.segmentGroup,h=f.slicedSegments;if(0===h.length&&p.hasChildren()){var d=this.processChildren(l,p);return[new Lf(o,d)]}if(0===l.length&&0===h.length)return[new Lf(o,[])];var v=this.processSegment(l,p,h,zl);return[new Lf(o,v)]},e}();function pp(e){for(var t=e;t._sourceSegment;)t=t._sourceSegment;return t}function hp(e){for(var t=e,n=t._segmentIndexShift?t._segmentIndexShift:0;t._sourceSegment;)n+=(t=t._sourceSegment)._segmentIndexShift?t._segmentIndexShift:0;return n-1}function dp(e,t,n,r,o){if(n.length>0&&function(e,t,n){return r.some(function(n){return vp(e,t,n)&&yp(n)!==zl})}(e,n)){var u=new af(t,function(e,t,n,r){var o,i,u={};u[zl]=r,r._sourceSegment=e,r._segmentIndexShift=t.length;try{for(var s=a(n),c=s.next();!c.done;c=s.next()){var l=c.value;if(""===l.path&&yp(l)!==zl){var f=new af([],{});f._sourceSegment=e,f._segmentIndexShift=t.length,u[yp(l)]=f}}}catch(e){o={error:e}}finally{try{c&&!c.done&&(i=s.return)&&i.call(s)}finally{if(o)throw o.error}}return u}(e,t,r,new af(n,e.children)));return u._sourceSegment=e,u._segmentIndexShift=t.length,{segmentGroup:u,slicedSegments:[]}}if(0===n.length&&function(e,t,n){return r.some(function(n){return vp(e,t,n)})}(e,n)){var s=new af(e.segments,function(e,t,n,r,o,u){var s,c,l={};try{for(var f=a(r),p=f.next();!p.done;p=f.next()){var h=p.value;if(vp(e,n,h)&&!o[yp(h)]){var d=new af([],{});d._sourceSegment=e,d._segmentIndexShift="legacy"===u?e.segments.length:t.length,l[yp(h)]=d}}}catch(e){s={error:e}}finally{try{p&&!p.done&&(c=f.return)&&c.call(f)}finally{if(s)throw s.error}}return i({},o,l)}(e,t,n,r,e.children,o));return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:n}}var c=new af(e.segments,e.children);return c._sourceSegment=e,c._segmentIndexShift=t.length,{segmentGroup:c,slicedSegments:n}}function vp(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0===n.redirectTo}function yp(e){return e.outlet||zl}function gp(e){return e.data||{}}function mp(e){return e.resolve||{}}var wp=function(){},bp=function(){function e(){}return e.prototype.shouldDetach=function(e){return!1},e.prototype.store=function(e,t){},e.prototype.shouldAttach=function(e){return!1},e.prototype.retrieve=function(e){return null},e.prototype.shouldReuseRoute=function(e,t){return e.routeConfig===t.routeConfig},e}(),_p=new he("ROUTES"),Cp=function(){function e(e,t,n,r){this.loader=e,this.compiler=t,this.onLoadStartListener=n,this.onLoadEndListener=r}return e.prototype.load=function(e,t){var n=this;return this.onLoadStartListener&&this.onLoadStartListener(t),this.loadModuleFactory(t.loadChildren).pipe(K(function(r){n.onLoadEndListener&&n.onLoadEndListener(t);var o=r.create(e);return new Gl(Xl(o.injector.get(_p)).map(Yl),o)}))},e.prototype.loadModuleFactory=function(e){var t=this;return"string"==typeof e?$(this.loader.load(e)):nf(e()).pipe(ee(function(e){return e instanceof Zt?gs(e):$(t.compiler.compileModuleAsync(e))}))},e}(),Sp=function(){},Ep=function(){function e(){}return e.prototype.shouldProcessUrl=function(e){return!0},e.prototype.extract=function(e){return e},e.prototype.merge=function(e,t){return e},e}();function xp(e){throw e}function Tp(e,t,n){return t.parse("/")}function kp(e,t){return gs(null)}var Ip=function(){function e(e,t,n,r,o,i,a,u){var s=this;this.rootComponentType=e,this.urlSerializer=t,this.rootContexts=n,this.location=r,this.config=u,this.navigations=new ws(null),this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new j,this.errorHandler=xp,this.malformedUriErrorHandler=Tp,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:kp,afterPreactivation:kp},this.urlHandlingStrategy=new Ep,this.routeReuseStrategy=new bp,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=o.get(qt),this.console=o.get(Nt);var c=o.get(Jt);this.isNgZoneEnabled=c instanceof Jt,this.resetConfig(u),this.currentUrlTree=new of(new af([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.configLoader=new Cp(i,a,function(e){return s.triggerEvent(new Dl(e))},function(e){return s.triggerEvent(new jl(e))}),this.routerState=Ff(this.currentUrlTree,this.rootComponentType),this.processNavigations()}return e.prototype.resetRootComponentType=function(e){this.rootComponentType=e,this.routerState.root.component=this.rootComponentType},e.prototype.initialNavigation=function(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})},e.prototype.setUpLocationChangeListener=function(){var e=this;this.locationSubscription||(this.locationSubscription=this.location.subscribe(function(t){var n=e.parseUrl(t.url),r="popstate"===t.type?"popstate":"hashchange",o=t.state&&t.state.navigationId?{navigationId:t.state.navigationId}:null;setTimeout(function(){e.scheduleNavigation(n,r,o,{replaceUrl:!0})},0)}))},Object.defineProperty(e.prototype,"url",{get:function(){return this.serializeUrl(this.currentUrlTree)},enumerable:!0,configurable:!0}),e.prototype.triggerEvent=function(e){this.events.next(e)},e.prototype.resetConfig=function(e){Ql(e),this.config=e.map(Yl),this.navigated=!1,this.lastSuccessfulId=-1},e.prototype.ngOnDestroy=function(){this.dispose()},e.prototype.dispose=function(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=null)},e.prototype.createUrlTree=function(e,t){void 0===t&&(t={});var n=t.relativeTo,r=t.queryParams,o=t.fragment,a=t.preserveQueryParams,u=t.queryParamsHandling,c=t.preserveFragment;pn()&&a&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");var l=n||this.routerState.root,f=c?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(e,t,n,r,o){if(0===n.length)return Jf(t.root,t.root,t,r,o);var i=function(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new Xf(!0,0,e);var t=0,n=!1,r=e.reduce(function(e,r,o){if("object"==typeof r&&null!=r){if(r.outlets){var i={};return ef(r.outlets,function(e,t){i[t]="string"==typeof e?e.split("/"):e}),s(e,[{outlets:i}])}if(r.segmentPath)return s(e,[r.segmentPath])}return"string"!=typeof r?s(e,[r]):0===o?(r.split("/").forEach(function(r,o){0==o&&"."===r||(0==o&&""===r?n=!0:".."===r?t++:""!=r&&e.push(r))}),e):s(e,[r])},[]);return new Xf(n,t,r)}(n);if(i.toRoot())return Jf(t.root,new af([],{}),t,r,o);var a=function(e,n,r){if(e.isAbsolute)return new $f(t.root,!0,0);if(-1===r.snapshot._lastPathIndex)return new $f(r.snapshot._urlSegment,!0,0);var o=Yf(e.commands[0])?0:1;return function(t,n,i){for(var a=r.snapshot._urlSegment,u=r.snapshot._lastPathIndex+o,s=e.numberOfDoubleDots;s>u;){if(s-=u,!(a=a.parent))throw new Error("Invalid number of '../'");u=a.segments.length}return new $f(a,!1,u-s)}()}(i,0,e),u=a.processChildren?np(a.segmentGroup,a.index,i.commands):tp(a.segmentGroup,a.index,i.commands);return Jf(a.segmentGroup,u,t,r,o)}(l,this.currentUrlTree,e,p,f)},e.prototype.navigateByUrl=function(e,t){void 0===t&&(t={skipLocationChange:!1}),pn()&&this.isNgZoneEnabled&&!Jt.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");var n=e instanceof of?e:this.parseUrl(e),r=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(r,"imperative",null,t)},e.prototype.navigate=function(e,t){return void 0===t&&(t={skipLocationChange:!1}),function(e){for(var t=0;t<e.length;t++){var n=e[t];if(null==n)throw new Error("The requested path contains "+n+" segment at index "+t)}}(e),this.navigateByUrl(this.createUrlTree(e,t),t)},e.prototype.serializeUrl=function(e){return this.urlSerializer.serialize(e)},e.prototype.parseUrl=function(e){var t;try{t=this.urlSerializer.parse(e)}catch(n){t=this.malformedUriErrorHandler(n,this.urlSerializer,e)}return t},e.prototype.isActive=function(e,t){if(e instanceof of)return rf(this.currentUrlTree,e,t);var n=this.parseUrl(e);return rf(this.currentUrlTree,n,t)},e.prototype.removeEmptyProps=function(e){return Object.keys(e).reduce(function(t,n){var r=e[n];return null!==r&&void 0!==r&&(t[n]=r),t},{})},e.prototype.processNavigations=function(){var e=this;this.navigations.pipe(Zs(function(t){return t?(e.executeScheduledNavigation(t),t.promise.catch(function(){})):gs(null)})).subscribe(function(){})},e.prototype.scheduleNavigation=function(e,t,n,r){var o=this.navigations.value;if(o&&"imperative"!==t&&"imperative"===o.source&&o.rawUrl.toString()===e.toString())return Promise.resolve(!0);if(o&&"hashchange"==t&&"popstate"===o.source&&o.rawUrl.toString()===e.toString())return Promise.resolve(!0);if(o&&"popstate"==t&&"hashchange"===o.source&&o.rawUrl.toString()===e.toString())return Promise.resolve(!0);var i=null,a=null,u=new Promise(function(e,t){i=e,a=t}),s=++this.navigationId;return this.navigations.next({id:s,source:t,state:n,rawUrl:e,extras:r,resolve:i,reject:a,promise:u}),u.catch(function(e){return Promise.reject(e)})},e.prototype.executeScheduledNavigation=function(e){var t=this,n=e.id,r=e.rawUrl,o=e.extras,i=e.resolve,a=e.reject,u=e.source,s=e.state,c=this.urlHandlingStrategy.extract(r),l=!this.navigated||c.toString()!==this.currentUrlTree.toString();("reload"===this.onSameUrlNavigation||l)&&this.urlHandlingStrategy.shouldProcessUrl(r)?("eager"!==this.urlUpdateStrategy||o.skipLocationChange||this.setBrowserUrl(r,!!o.replaceUrl,n),this.events.next(new xl(n,this.serializeUrl(c),u,s)),Promise.resolve().then(function(e){return t.runNavigate(c,r,!!o.skipLocationChange,!!o.replaceUrl,n,null)}).then(i,a)):l&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)?(this.events.next(new xl(n,this.serializeUrl(c),u,s)),Promise.resolve().then(function(e){return t.runNavigate(c,r,!1,!1,n,Ff(c,t.rootComponentType).snapshot)}).then(i,a)):(this.rawUrlTree=r,i(null))},e.prototype.runNavigate=function(e,t,n,r,o,i){var u=this;return o!==this.navigationId?(this.events.next(new kl(o,this.serializeUrl(e),"Navigation ID "+o+" is not equal to the current navigation id "+this.navigationId)),Promise.resolve(!1)):new Promise(function(s,c){var l,f=(i?gs({appliedUrl:e,snapshot:i}):new Nf(u.ngModule.injector,u.configLoader,u.urlSerializer,e,u.config).apply().pipe(ee(function(t){return function(e,t,n,r,o,i){return void 0===o&&(o="emptyOnly"),void 0===i&&(i="legacy"),new fp(e,t,n,r,o,i).recognize()}(u.rootComponentType,u.config,t,u.serializeUrl(t),u.paramsInheritanceStrategy,u.relativeLinkResolution).pipe(K(function(n){return u.events.next(new Al(o,u.serializeUrl(e),u.serializeUrl(t),n)),{appliedUrl:t,snapshot:n}}))}))).pipe(ee(function(i){return"boolean"==typeof i?gs(i):u.hooks.beforePreactivation(i.snapshot,{navigationId:o,appliedUrlTree:e,rawUrlTree:t,skipLocationChange:n,replaceUrl:r}).pipe(K(function(){return i}))})).pipe(K(function(e){if("boolean"==typeof e)return e;var t=e.appliedUrl,n=e.snapshot;return(l=new cp(n,u.routerState.snapshot,u.ngModule.injector,function(e){return u.triggerEvent(e)})).initialize(u.rootContexts),{appliedUrl:t,snapshot:n}})).pipe(ee(function(t){if("boolean"==typeof t||u.navigationId!==o)return gs(!1);var n=t.appliedUrl,r=t.snapshot;return u.triggerEvent(new Nl(o,u.serializeUrl(e),u.serializeUrl(n),r)),l.checkGuards().pipe(K(function(t){return u.triggerEvent(new Rl(o,u.serializeUrl(e),u.serializeUrl(n),r,t)),{appliedUrl:n,snapshot:r,shouldActivate:t}}))})).pipe(ee(function(t){return"boolean"==typeof t||u.navigationId!==o?gs(!1):t.shouldActivate&&l.isActivating()?(u.triggerEvent(new Pl(o,u.serializeUrl(e),u.serializeUrl(t.appliedUrl),t.snapshot)),l.resolveData(u.paramsInheritanceStrategy).pipe(K(function(){return u.triggerEvent(new Ol(o,u.serializeUrl(e),u.serializeUrl(t.appliedUrl),t.snapshot)),t}))):gs(t)})).pipe(ee(function(i){return"boolean"==typeof i||u.navigationId!==o?gs(!1):u.hooks.afterPreactivation(i.snapshot,{navigationId:o,appliedUrlTree:e,rawUrlTree:t,skipLocationChange:n,replaceUrl:r}).pipe(K(function(){return i}))})).pipe(K(function(e){if("boolean"==typeof e||u.navigationId!==o)return!1;var t,n,r,i=e.appliedUrl,s=e.shouldActivate;return s?{appliedUrl:i,state:(r=function e(t,n,r){if(r&&t.shouldReuseRoute(n.value,r.value.snapshot)){(c=r.value)._futureSnapshot=n.value;var o=function(t,n,r){return n.children.map(function(n){var o,i;try{for(var u=a(r.children),s=u.next();!s.done;s=u.next()){var c=s.value;if(t.shouldReuseRoute(c.value.snapshot,n.value))return e(t,n,c)}}catch(e){o={error:e}}finally{try{s&&!s.done&&(i=u.return)&&i.call(u)}finally{if(o)throw o.error}}return e(t,n)})}(t,n,r);return new Lf(c,o)}var i=t.retrieve(n.value);if(i){var u=i.route;return function e(t,n){if(t.value.routeConfig!==n.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(t.children.length!==n.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");n.value._futureSnapshot=t.value;for(var r=0;r<t.children.length;++r)e(t.children[r],n.children[r])}(n,u),u}var s,c=new zf(new ws((s=n.value).url),new ws(s.params),new ws(s.queryParams),new ws(s.fragment),new ws(s.data),s.outlet,s.component,s);return o=n.children.map(function(n){return e(t,n)}),new Lf(c,o)}(u.routeReuseStrategy,(t=e.snapshot)._root,(n=u.routerState)?n._root:void 0),new Vf(r,t)),shouldActivate:s}:{appliedUrl:i,state:null,shouldActivate:s}}));u.activateRoutes(f,u.routerState,u.currentUrlTree,o,e,t,n,r,s,c)})},e.prototype.activateRoutes=function(e,t,n,r,o,i,a,u,s,c){var l,f=this;e.forEach(function(e){if("boolean"!=typeof e&&e.shouldActivate&&r===f.navigationId&&e.state){var n=e.state;f.currentUrlTree=e.appliedUrl,f.rawUrlTree=f.urlHandlingStrategy.merge(f.currentUrlTree,i),f.routerState=n,"deferred"!==f.urlUpdateStrategy||a||f.setBrowserUrl(f.rawUrlTree,u,r),new Ap(f.routeReuseStrategy,n,t,function(e){return f.triggerEvent(e)}).activate(f.rootContexts),l=!0}else l=!1}).then(function(){l?(f.navigated=!0,f.lastSuccessfulId=r,f.events.next(new Tl(r,f.serializeUrl(o),f.serializeUrl(f.currentUrlTree))),s(!0)):(f.resetUrlToCurrentUrlTree(),f.events.next(new kl(r,f.serializeUrl(o),"")),s(!1))},function(e){if((a=e)&&a.ngNavigationCancelingError)f.navigated=!0,f.resetStateAndUrl(t,n,i),f.events.next(new kl(r,f.serializeUrl(o),e.message)),s(!1);else{f.resetStateAndUrl(t,n,i),f.events.next(new Il(r,f.serializeUrl(o),e));try{s(f.errorHandler(e))}catch(e){c(e)}}var a})},e.prototype.setBrowserUrl=function(e,t,n){var r=this.urlSerializer.serialize(e);this.location.isCurrentPathEqualTo(r)||t?this.location.replaceState(r,"",{navigationId:n}):this.location.go(r,"",{navigationId:n})},e.prototype.resetStateAndUrl=function(e,t,n){this.routerState=e,this.currentUrlTree=t,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n),this.resetUrlToCurrentUrlTree()},e.prototype.resetUrlToCurrentUrlTree=function(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",{navigationId:this.lastSuccessfulId})},e}(),Ap=function(){function e(e,t,n,r){this.routeReuseStrategy=e,this.futureState=t,this.currState=n,this.forwardEvent=r}return e.prototype.activate=function(e){var t=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,n,e),Wf(this.futureState.root),this.activateChildRoutes(t,n,e)},e.prototype.deactivateChildRoutes=function(e,t,n){var r=this,o=Uf(t);e.children.forEach(function(e){var t=e.value.outlet;r.deactivateRoutes(e,o[t],n),delete o[t]}),ef(o,function(e,t){r.deactivateRouteAndItsChildren(e,n)})},e.prototype.deactivateRoutes=function(e,t,n){var r=e.value,o=t?t.value:null;if(r===o)if(r.component){var i=n.getContext(r.outlet);i&&this.deactivateChildRoutes(e,t,i.children)}else this.deactivateChildRoutes(e,t,n);else o&&this.deactivateRouteAndItsChildren(t,n)},e.prototype.deactivateRouteAndItsChildren=function(e,t){this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,t):this.deactivateRouteAndOutlet(e,t)},e.prototype.detachAndStoreRouteSubtree=function(e,t){var n=t.getContext(e.value.outlet);if(n&&n.outlet){var r=n.outlet.detach(),o=n.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:r,route:e,contexts:o})}},e.prototype.deactivateRouteAndOutlet=function(e,t){var n=this,r=t.getContext(e.value.outlet);if(r){var o=Uf(e),i=e.value.component?r.children:t;ef(o,function(e,t){return n.deactivateRouteAndItsChildren(e,i)}),r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated())}},e.prototype.activateChildRoutes=function(e,t,n){var r=this,o=Uf(t);e.children.forEach(function(e){r.activateRoutes(e,o[e.value.outlet],n),r.forwardEvent(new Ul(e.value.snapshot))}),e.children.length&&this.forwardEvent(new Hl(e.value.snapshot))},e.prototype.activateRoutes=function(e,t,n){var r=e.value,o=t?t.value:null;if(Wf(r),r===o)if(r.component){var i=n.getOrCreateContext(r.outlet);this.activateChildRoutes(e,t,i.children)}else this.activateChildRoutes(e,t,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),Np(a.route)}else{var u=function(e){for(var t=r.snapshot.parent;t;t=t.parent){var n=t.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig;if(n&&n.component)return null}return null}(),s=u?u.module.componentFactoryResolver:null;i.route=r,i.resolver=s,i.outlet&&i.outlet.activateWith(r,s),this.activateChildRoutes(e,null,i.children)}else this.activateChildRoutes(e,null,n)},e}();function Np(e){Wf(e.value),e.children.forEach(Np)}var Rp=function(){return function(){this.outlet=null,this.route=null,this.resolver=null,this.children=new Pp,this.attachRef=null}}(),Pp=function(){function e(){this.contexts=new Map}return e.prototype.onChildOutletCreated=function(e,t){var n=this.getOrCreateContext(e);n.outlet=t,this.contexts.set(e,n)},e.prototype.onChildOutletDestroyed=function(e){var t=this.getContext(e);t&&(t.outlet=null)},e.prototype.onOutletDeactivated=function(){var e=this.contexts;return this.contexts=new Map,e},e.prototype.onOutletReAttached=function(e){this.contexts=e},e.prototype.getOrCreateContext=function(e){var t=this.getContext(e);return t||(t=new Rp,this.contexts.set(e,t)),t},e.prototype.getContext=function(e){return this.contexts.get(e)||null},e}(),Op=function(){function e(e,t,n,r,o){this.parentContexts=e,this.location=t,this.resolver=n,this.changeDetector=o,this.activated=null,this._activatedRoute=null,this.activateEvents=new Yt,this.deactivateEvents=new Yt,this.name=r||zl,e.onChildOutletCreated(this.name,this)}return e.prototype.ngOnDestroy=function(){this.parentContexts.onChildOutletDestroyed(this.name)},e.prototype.ngOnInit=function(){if(!this.activated){var e=this.parentContexts.getContext(this.name);e&&e.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.resolver||null))}},Object.defineProperty(e.prototype,"isActivated",{get:function(){return!!this.activated},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"component",{get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"activatedRoute",{get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"activatedRouteData",{get:function(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}},enumerable:!0,configurable:!0}),e.prototype.detach=function(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();var e=this.activated;return this.activated=null,this._activatedRoute=null,e},e.prototype.attach=function(e,t){this.activated=e,this._activatedRoute=t,this.location.insert(e.hostView)},e.prototype.deactivate=function(){if(this.activated){var e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}},e.prototype.activateWith=function(e,t){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=e;var n=(t=t||this.resolver).resolveComponentFactory(e._futureSnapshot.routeConfig.component),r=this.parentContexts.getOrCreateContext(this.name).children,o=new Dp(e,r,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,o),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)},e}(),Dp=function(){function e(e,t,n){this.route=e,this.childContexts=t,this.parent=n}return e.prototype.get=function(e,t){return e===zf?this.route:e===Pp?this.childContexts:this.parent.get(e,t)},e}(),jp=function(){},Mp=function(){function e(){}return e.prototype.preload=function(e,t){return t().pipe(Us(function(){return gs(null)}))},e}(),Hp=function(){function e(){}return e.prototype.preload=function(e,t){return gs(null)},e}(),Lp=function(){function e(e,t,n,r,o){this.router=e,this.injector=r,this.preloadingStrategy=o,this.loader=new Cp(t,n,function(t){return e.triggerEvent(new Dl(t))},function(t){return e.triggerEvent(new jl(t))})}return e.prototype.setUpPreloading=function(){var e=this;this.subscription=this.router.events.pipe(_s(function(e){return e instanceof Tl}),Zs(function(){return e.preload()})).subscribe(function(){})},e.prototype.preload=function(){var e=this.injector.get(qt);return this.processRoutes(e,this.router.config)},e.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},e.prototype.processRoutes=function(e,t){var n,r,o=[];try{for(var i=a(t),u=i.next();!u.done;u=i.next()){var s=u.value;if(s.loadChildren&&!s.canLoad&&s._loadedConfig){var c=s._loadedConfig;o.push(this.processRoutes(c.module,c.routes))}else s.loadChildren&&!s.canLoad?o.push(this.preloadConfig(e,s)):s.children&&o.push(this.processRoutes(e,s.children))}}catch(e){n={error:e}}finally{try{u&&!u.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return $(o).pipe(oe(),K(function(e){}))},e.prototype.preloadConfig=function(e,t){var n=this;return this.preloadingStrategy.preload(t,function(){return n.loader.load(e.injector,t).pipe(ee(function(e){return t._loadedConfig=e,n.processRoutes(e.module,e.routes)}))})},e}(),Up=function(){function e(e,t,n){void 0===n&&(n={}),this.router=e,this.viewportScroller=t,this.options=n,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},n.scrollPositionRestoration=n.scrollPositionRestoration||"disabled",n.anchorScrolling=n.anchorScrolling||"disabled"}return e.prototype.init=function(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()},e.prototype.createScrollEvents=function(){var e=this;return this.router.events.subscribe(function(t){t instanceof xl?(e.store[e.lastId]=e.viewportScroller.getScrollPosition(),e.lastSource=t.navigationTrigger,e.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof Tl&&(e.lastId=t.id,e.scheduleScrollEvent(t,e.router.parseUrl(t.urlAfterRedirects).fragment))})},e.prototype.consumeScrollEvents=function(){var e=this;return this.router.events.subscribe(function(t){t instanceof Vl&&(t.position?"top"===e.options.scrollPositionRestoration?e.viewportScroller.scrollToPosition([0,0]):"enabled"===e.options.scrollPositionRestoration&&e.viewportScroller.scrollToPosition(t.position):t.anchor&&"enabled"===e.options.anchorScrolling?e.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==e.options.scrollPositionRestoration&&e.viewportScroller.scrollToPosition([0,0]))})},e.prototype.scheduleScrollEvent=function(e,t){this.router.triggerEvent(new Vl(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,t))},e.prototype.ngOnDestroy=function(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()},e}(),Vp=new he("ROUTER_CONFIGURATION"),Fp=new he("ROUTER_FORROOT_GUARD"),zp=[$s,{provide:lf,useClass:ff},{provide:Ip,useFactory:Kp,deps:[mn,lf,Pp,$s,He,Sn,Pt,_p,Vp,[Sp,new Ae],[wp,new Ae]]},Pp,{provide:zf,useFactory:Yp,deps:[Ip]},{provide:Sn,useClass:kn},Lp,Hp,Mp,{provide:Vp,useValue:{enableTracing:!1}}];function Bp(){return new hn("Router",Ip)}var qp=function(){function e(e,t){}return e.forRoot=function(t,n){return{ngModule:e,providers:[zp,Wp(t),{provide:Fp,useFactory:Qp,deps:[[Ip,new Ae,new Re]]},{provide:Vp,useValue:n||{}},{provide:Js,useFactory:Gp,deps:[Ks,[new Ie(Xs),new Ae],Vp]},{provide:Up,useFactory:Zp,deps:[Ip,hc,Vp]},{provide:jp,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:Hp},{provide:hn,multi:!0,useFactory:Bp},[Jp,{provide:Ct,multi:!0,useFactory:Xp,deps:[Jp]},{provide:eh,useFactory:$p,deps:[Jp]},{provide:At,multi:!0,useExisting:eh}]]}},e.forChild=function(t){return{ngModule:e,providers:[Wp(t)]}},e}();function Zp(e,t,n){return n.scrollOffset&&t.setOffset(n.scrollOffset),new Up(e,t,n)}function Gp(e,t,n){return void 0===n&&(n={}),n.useHash?new tc(e,t):new nc(e,t)}function Qp(e){if(e)throw new Error("RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function Wp(e){return[{provide:ye,multi:!0,useValue:e},{provide:_p,multi:!0,useValue:e}]}function Kp(e,t,n,r,o,i,a,u,s,c,l){void 0===s&&(s={});var f=new Ip(null,t,n,r,o,i,a,Xl(u));if(c&&(f.urlHandlingStrategy=c),l&&(f.routeReuseStrategy=l),s.errorHandler&&(f.errorHandler=s.errorHandler),s.malformedUriErrorHandler&&(f.malformedUriErrorHandler=s.malformedUriErrorHandler),s.enableTracing){var p=yc();f.events.subscribe(function(e){p.logGroup("Router Event: "+e.constructor.name),p.log(e.toString()),p.log(e),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 Yp(e){return e.routerState.root}var Jp=function(){function e(e){this.injector=e,this.initNavigation=!1,this.resultOfPreactivationDone=new j}return e.prototype.appInitializer=function(){var e=this;return this.injector.get(Ys,Promise.resolve(null)).then(function(){var t=null,n=new Promise(function(e){return t=e}),r=e.injector.get(Ip),o=e.injector.get(Vp);if(e.isLegacyDisabled(o)||e.isLegacyEnabled(o))t(!0);else if("disabled"===o.initialNavigation)r.setUpLocationChangeListener(),t(!0);else{if("enabled"!==o.initialNavigation)throw new Error("Invalid initialNavigation options: '"+o.initialNavigation+"'");r.hooks.afterPreactivation=function(){return e.initNavigation?gs(null):(e.initNavigation=!0,t(!0),e.resultOfPreactivationDone)},r.initialNavigation()}return n})},e.prototype.bootstrapListener=function(e){var t=this.injector.get(Vp),n=this.injector.get(Lp),r=this.injector.get(Up),o=this.injector.get(Ip),i=this.injector.get(mn);e===i.components[0]&&(this.isLegacyEnabled(t)?o.initialNavigation():this.isLegacyDisabled(t)&&o.setUpLocationChangeListener(),n.setUpPreloading(),r.init(),o.resetRootComponentType(i.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())},e.prototype.isLegacyEnabled=function(e){return"legacy_enabled"===e.initialNavigation||!0===e.initialNavigation||void 0===e.initialNavigation},e.prototype.isLegacyDisabled=function(e){return"legacy_disabled"===e.initialNavigation||!1===e.initialNavigation},e}();function Xp(e){return e.appInitializer.bind(e)}function $p(e){return e.bootstrapListener.bind(e)}var eh=new he("Router Initializer"),th=Kr({encapsulation:2,styles:[],data:{}});function nh(e){return Ri(0,[(e()(),Co(0,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),ci(1,212992,null,0,Op,[Pp,Nn,Ft,[8,null],Rn],null,null)],function(e,t){e(t,1,0)},null)}var rh=Vo("ng-component",Fl,function(e){return Ri(0,[(e()(),Co(0,0,null,null,1,"ng-component",[],null,null,null,nh,th)),ci(1,49152,null,0,Fl,[],null,null)],null,null)},{},{},[]),oh=Kr({encapsulation:0,styles:[[""]],data:{}});function ih(e){return Ri(0,[(e()(),Co(0,0,null,null,3,"div",[["style","text-align:center"]],null,null,null,null,null)),(e()(),Co(1,0,null,null,1,"h1",[],null,null,null,null,null)),(e()(),Ii(2,null,[" Welcome to ","! "])),(e()(),Co(3,0,null,null,0,"img",[["alt","Angular Logo"],["src","data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNTAgMjUwIj4KICAgIDxwYXRoIGZpbGw9IiNERDAwMzEiIGQ9Ik0xMjUgMzBMMzEuOSA2My4ybDE0LjIgMTIzLjFMMTI1IDIzMGw3OC45LTQzLjcgMTQuMi0xMjMuMXoiIC8+CiAgICA8cGF0aCBmaWxsPSIjQzMwMDJGIiBkPSJNMTI1IDMwdjIyLjItLjFWMjMwbDc4LjktNDMuNyAxNC4yLTEyMy4xTDEyNSAzMHoiIC8+CiAgICA8cGF0aCAgZmlsbD0iI0ZGRkZGRiIgZD0iTTEyNSA1Mi4xTDY2LjggMTgyLjZoMjEuN2wxMS43LTI5LjJoNDkuNGwxMS43IDI5LjJIMTgzTDEyNSA1Mi4xem0xNyA4My4zaC0zNGwxNy00MC45IDE3IDQwLjl6IiAvPgogIDwvc3ZnPg=="],["width","300"]],null,null,null,null,null)),(e()(),Co(4,0,null,null,1,"h2",[],null,null,null,null,null)),(e()(),Ii(-1,null,["Here are some links to help you start: "])),(e()(),Co(6,0,null,null,12,"ul",[],null,null,null,null,null)),(e()(),Co(7,0,null,null,3,"li",[],null,null,null,null,null)),(e()(),Co(8,0,null,null,2,"h2",[],null,null,null,null,null)),(e()(),Co(9,0,null,null,1,"a",[["href","https://angular.io/tutorial"],["rel","noopener"],["target","_blank"]],null,null,null,null,null)),(e()(),Ii(-1,null,["Tour of Heroes"])),(e()(),Co(11,0,null,null,3,"li",[],null,null,null,null,null)),(e()(),Co(12,0,null,null,2,"h2",[],null,null,null,null,null)),(e()(),Co(13,0,null,null,1,"a",[["href","https://github.com/angular/angular-cli/wiki"],["rel","noopener"],["target","_blank"]],null,null,null,null,null)),(e()(),Ii(-1,null,["CLI Documentation"])),(e()(),Co(15,0,null,null,3,"li",[],null,null,null,null,null)),(e()(),Co(16,0,null,null,2,"h2",[],null,null,null,null,null)),(e()(),Co(17,0,null,null,1,"a",[["href","https://blog.angular.io/"],["rel","noopener"],["target","_blank"]],null,null,null,null,null)),(e()(),Ii(-1,null,["Angular blog"])),(e()(),Co(19,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),ci(20,212992,null,0,Op,[Pp,Nn,Ft,[8,null],Rn],null,null)],function(e,t){e(t,20,0)},function(e,t){e(t,2,0,t.component.title)})}var ah=Vo("app-root",ds,function(e){return Ri(0,[(e()(),Co(0,0,null,null,1,"app-root",[],null,null,null,ih,oh)),ci(1,49152,null,0,ds,[],null,null)],null,null)},{},{},[]),uh=function(){},sh=function(e,t,n){return new La(hs,[ds],function(e){return function(e){for(var t={},n=[],r=!1,o=0;o<e.length;o++){var i=e[o];i.token===lt&&!0===i.value&&(r=!0),1073741824&i.flags&&n.push(i.token),i.index=o,t[Gr(i.token)]=i}return{factory:null,providersByKey:t,providers:e,modules:n,isRoot:r}}([Ro(512,Ft,zt,[[8,[rh,ah]],[3,Ft],qt]),Ro(5120,or,ur,[[3,or]]),Ro(4608,sc,cc,[or,[2,uc]]),Ro(5120,Et,xt,[]),Ro(5120,Xn,ir,[]),Ro(5120,$n,ar,[]),Ro(4608,hl,dl,[fc]),Ro(6144,Pr,null,[hl]),Ro(4608,al,sl,[]),Ro(5120,Oc,function(e,t,n,r,o,i,a,u){return[new ol(e,t,n),new pl(r),new cl(o,i,a,u)]},[fc,Jt,It,fc,fc,al,Nt,[2,ul]]),Ro(4608,Dc,Dc,[Oc,Jt]),Ro(135680,Hc,Hc,[fc]),Ro(4608,qc,qc,[Dc,Hc]),Ro(6144,bn,null,[qc]),Ro(6144,Mc,null,[Hc]),Ro(4608,an,an,[Jt]),Ro(5120,zf,Yp,[Ip]),Ro(4608,Hp,Hp,[]),Ro(6144,jp,null,[Hp]),Ro(135680,Lp,Lp,[Ip,Sn,Pt,He,jp]),Ro(4608,Mp,Mp,[]),Ro(5120,Up,Zp,[Ip,hc,Vp]),Ro(5120,eh,$p,[Jp]),Ro(5120,At,function(e){return[e]},[eh]),Ro(1073742336,lc,lc,[]),Ro(1024,ct,Cl,[]),Ro(1024,hn,function(){return[Bp()]},[]),Ro(512,Jp,Jp,[He]),Ro(1024,Ct,function(e,t){return[(n=e,Nc("probe",Pc),Nc("coreTokens",i({},Rc,(n||[]).reduce(function(e,t){return e[t.name]=t.token,e},{}))),function(){return Pc}),Xp(t)];var n},[[2,hn],Jp]),Ro(512,St,St,[[2,Ct]]),Ro(131584,mn,mn,[Jt,Nt,He,ct,Ft,St]),Ro(1073742336,sr,sr,[mn]),Ro(1073742336,Sl,Sl,[[3,Sl]]),Ro(1024,Fp,Qp,[[3,Ip]]),Ro(512,lf,ff,[]),Ro(512,Pp,Pp,[]),Ro(256,Vp,{},[]),Ro(1024,Js,Gp,[Ks,[2,Xs],Vp]),Ro(512,$s,$s,[Js]),Ro(512,Pt,Pt,[]),Ro(512,Sn,kn,[Pt,[2,xn]]),Ro(1024,_p,function(){return[[]]},[]),Ro(1024,Ip,Kp,[mn,lf,Pp,$s,He,Sn,Pt,_p,Vp,[2,Sp],[2,wp]]),Ro(1073742336,qp,qp,[[2,Fp],[2,Ip]]),Ro(1073742336,uh,uh,[]),Ro(1073742336,hs,hs,[]),Ro(256,lt,!0,[])])})}();(function(){if(ln)throw new Error("Cannot enable prod mode after platform setup.");cn=!1})(),_l().bootstrapModuleFactory(sh).catch(function(e){return console.log(e)})}},[[0,0]]]);