-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.679ce7cfb1ed07d97a0c.js
1 lines (1 loc) · 248 KB
/
main.679ce7cfb1ed07d97a0c.js
1
(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{0:function(t,e,n){t.exports=n("zUnb")},crnd:function(t,e){function n(t){return Promise.resolve().then(function(){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e})}n.keys=function(){return[]},n.resolve=n,t.exports=n,n.id="crnd"},zUnb:function(t,e,n){"use strict";n.r(e);var r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function o(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var i=function(){return(i=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};function a(t,e,n,r){var o,i=arguments.length,a=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,r);else for(var u=t.length-1;u>=0;u--)(o=t[u])&&(a=(i<3?o(a):i>3?o(e,n,a):o(e,n))||a);return i>3&&a&&Object.defineProperty(e,n,a),a}function u(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}function s(t){var e="function"==typeof Symbol&&t[Symbol.iterator],n=0;return e?e.call(t):{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}}}function l(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(u){o={error:u}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function c(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(l(arguments[e]));return t}var f=Array.isArray||function(t){return t&&"number"==typeof t.length};function p(t){return null!=t&&"object"==typeof t}function h(t){return"function"==typeof t}var d,v={e:{}};function g(){try{return d.apply(this,arguments)}catch(t){return v.e=t,v}}function y(t){return d=t,g}function m(t){return Error.call(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map(function(t,e){return e+1+") "+t.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=t,this}m.prototype=Object.create(Error.prototype);var b=m,w=function(){function t(t){this.closed=!1,this._parent=null,this._parents=null,this._subscriptions=null,t&&(this._unsubscribe=t)}var e;return t.prototype.unsubscribe=function(){var t,e=!1;if(!this.closed){var n=this._parent,r=this._parents,o=this._unsubscribe,i=this._subscriptions;this.closed=!0,this._parent=null,this._parents=null,this._subscriptions=null;for(var a=-1,u=r?r.length:0;n;)n.remove(this),n=++a<u&&r[a]||null;if(h(o)&&y(o).call(this)===v&&(e=!0,t=t||(v.e instanceof b?_(v.e.errors):[v.e])),f(i))for(a=-1,u=i.length;++a<u;){var s=i[a];if(p(s)&&y(s.unsubscribe).call(s)===v){e=!0,t=t||[];var l=v.e;l instanceof b?t=t.concat(_(l.errors)):t.push(l)}}if(e)throw new b(t)}},t.prototype.add=function(e){if(!e||e===t.EMPTY)return t.EMPTY;if(e===this)return this;var n=e;switch(typeof e){case"function":n=new t(e);case"object":if(n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if("function"!=typeof n._addParent){var r=n;(n=new t)._subscriptions=[r]}break;default:throw new Error("unrecognized teardown "+e+" added to Subscription.")}return(this._subscriptions||(this._subscriptions=[])).push(n),n._addParent(this),n},t.prototype.remove=function(t){var e=this._subscriptions;if(e){var n=e.indexOf(t);-1!==n&&e.splice(n,1)}},t.prototype._addParent=function(t){var e=this._parent,n=this._parents;e&&e!==t?n?-1===n.indexOf(t)&&n.push(t):this._parents=[t]:this._parent=t},t.EMPTY=((e=new t).closed=!0,e),t}();function _(t){return t.reduce(function(t,e){return t.concat(e instanceof b?e.errors:e)},[])}var C=!1,S={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){C=t},get useDeprecatedSynchronousErrorHandling(){return C}};function x(t){setTimeout(function(){throw t})}var E={closed:!0,next:function(t){},error:function(t){if(S.useDeprecatedSynchronousErrorHandling)throw t;x(t)},complete:function(){}},T="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random(),k=function(t){function e(n,r,o){var i=t.call(this)||this;switch(i.syncErrorValue=null,i.syncErrorThrown=!1,i.syncErrorThrowable=!1,i.isStopped=!1,i._parentSubscription=null,arguments.length){case 0:i.destination=E;break;case 1:if(!n){i.destination=E;break}if("object"==typeof n){n instanceof e?(i.syncErrorThrowable=n.syncErrorThrowable,i.destination=n,n.add(i)):(i.syncErrorThrowable=!0,i.destination=new P(i,n));break}default:i.syncErrorThrowable=!0,i.destination=new P(i,n,r,o)}return i}return o(e,t),e.prototype[T]=function(){return this},e.create=function(t,n,r){var o=new e(t,n,r);return o.syncErrorThrowable=!1,o},e.prototype.next=function(t){this.isStopped||this._next(t)},e.prototype.error=function(t){this.isStopped||(this.isStopped=!0,this._error(t))},e.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this))},e.prototype._next=function(t){this.destination.next(t)},e.prototype._error=function(t){this.destination.error(t),this.unsubscribe()},e.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},e.prototype._unsubscribeAndRecycle=function(){var t=this._parent,e=this._parents;return this._parent=null,this._parents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parent=t,this._parents=e,this._parentSubscription=null,this},e}(w),P=function(t){function e(e,n,r,o){var i,a=t.call(this)||this;a._parentSubscriber=e;var u=a;return h(n)?i=n:n&&(i=n.next,r=n.error,o=n.complete,n!==E&&(h((u=Object.create(n)).unsubscribe)&&a.add(u.unsubscribe.bind(u)),u.unsubscribe=a.unsubscribe.bind(a))),a._context=u,a._next=i,a._error=r,a._complete=o,a}return o(e,t),e.prototype.next=function(t){if(!this.isStopped&&this._next){var e=this._parentSubscriber;S.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}},e.prototype.error=function(t){if(!this.isStopped){var e=this._parentSubscriber,n=S.useDeprecatedSynchronousErrorHandling;if(this._error)n&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)n?(e.syncErrorValue=t,e.syncErrorThrown=!0):x(t),this.unsubscribe();else{if(this.unsubscribe(),n)throw t;x(t)}}},e.prototype.complete=function(){var t=this;if(!this.isStopped){var e=this._parentSubscriber;if(this._complete){var n=function(){return t._complete.call(t._context)};S.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?(this.__tryOrSetError(e,n),this.unsubscribe()):(this.__tryOrUnsub(n),this.unsubscribe())}else this.unsubscribe()}},e.prototype.__tryOrUnsub=function(t,e){try{t.call(this._context,e)}catch(n){if(this.unsubscribe(),S.useDeprecatedSynchronousErrorHandling)throw n;x(n)}},e.prototype.__tryOrSetError=function(t,e,n){if(!S.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,n)}catch(r){return S.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=r,t.syncErrorThrown=!0,!0):(x(r),!0)}return!1},e.prototype._unsubscribe=function(){var t=this._parentSubscriber;this._context=null,this._parentSubscriber=null,t.unsubscribe()},e}(k),R="function"==typeof Symbol&&Symbol.observable||"@@observable";function A(){}function I(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return O(t)}function O(t){return t?1===t.length?t[0]:function(e){return t.reduce(function(t,e){return e(t)},e)}:A}var N=function(){function t(t){this._isScalar=!1,t&&(this._subscribe=t)}return t.prototype.lift=function(e){var n=new t;return n.source=this,n.operator=e,n},t.prototype.subscribe=function(t,e,n){var r=this.operator,o=function(t,e,n){if(t){if(t instanceof k)return t;if(t[T])return t[T]()}return t||e||n?new k(t,e,n):new k(E)}(t,e,n);if(r?r.call(o,this.source):o.add(this.source||S.useDeprecatedSynchronousErrorHandling&&!o.syncErrorThrowable?this._subscribe(o):this._trySubscribe(o)),S.useDeprecatedSynchronousErrorHandling&&o.syncErrorThrowable&&(o.syncErrorThrowable=!1,o.syncErrorThrown))throw o.syncErrorValue;return o},t.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){S.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),function(t){for(;t;){var e=t.destination;if(t.closed||t.isStopped)return!1;t=e&&e instanceof k?e:null}return!0}(t)?t.error(e):console.warn(e)}},t.prototype.forEach=function(t,e){var n=this;return new(e=M(e))(function(e,r){var o;o=n.subscribe(function(e){try{t(e)}catch(n){r(n),o&&o.unsubscribe()}},r,e)})},t.prototype._subscribe=function(t){var e=this.source;return e&&e.subscribe(t)},t.prototype[R]=function(){return this},t.prototype.pipe=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 0===t.length?this:O(t)(this)},t.prototype.toPromise=function(t){var e=this;return new(t=M(t))(function(t,n){var r;e.subscribe(function(t){return r=t},function(t){return n(t)},function(){return t(r)})})},t.create=function(e){return new t(e)},t}();function M(t){if(t||(t=S.Promise||Promise),!t)throw new Error("no Promise impl found");return t}function D(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}D.prototype=Object.create(Error.prototype);var j=D,U=function(t){function e(e,n){var r=t.call(this)||this;return r.subject=e,r.subscriber=n,r.closed=!1,r}return o(e,t),e.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var t=this.subject,e=t.observers;if(this.subject=null,e&&0!==e.length&&!t.isStopped&&!t.closed){var n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}},e}(w),L=function(t){function e(e){var n=t.call(this,e)||this;return n.destination=e,n}return o(e,t),e}(k),H=function(t){function e(){var e=t.call(this)||this;return e.observers=[],e.closed=!1,e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return o(e,t),e.prototype[T]=function(){return new L(this)},e.prototype.lift=function(t){var e=new V(this,this);return e.operator=t,e},e.prototype.next=function(t){if(this.closed)throw new j;if(!this.isStopped)for(var e=this.observers,n=e.length,r=e.slice(),o=0;o<n;o++)r[o].next(t)},e.prototype.error=function(t){if(this.closed)throw new j;this.hasError=!0,this.thrownError=t,this.isStopped=!0;for(var e=this.observers,n=e.length,r=e.slice(),o=0;o<n;o++)r[o].error(t);this.observers.length=0},e.prototype.complete=function(){if(this.closed)throw new j;this.isStopped=!0;for(var t=this.observers,e=t.length,n=t.slice(),r=0;r<e;r++)n[r].complete();this.observers.length=0},e.prototype.unsubscribe=function(){this.isStopped=!0,this.closed=!0,this.observers=null},e.prototype._trySubscribe=function(e){if(this.closed)throw new j;return t.prototype._trySubscribe.call(this,e)},e.prototype._subscribe=function(t){if(this.closed)throw new j;return this.hasError?(t.error(this.thrownError),w.EMPTY):this.isStopped?(t.complete(),w.EMPTY):(this.observers.push(t),new U(this,t))},e.prototype.asObservable=function(){var t=new N;return t.source=this,t},e.create=function(t,e){return new V(t,e)},e}(N),V=function(t){function e(e,n){var r=t.call(this)||this;return r.destination=e,r.source=n,r}return o(e,t),e.prototype.next=function(t){var e=this.destination;e&&e.next&&e.next(t)},e.prototype.error=function(t){var e=this.destination;e&&e.error&&this.destination.error(t)},e.prototype.complete=function(){var t=this.destination;t&&t.complete&&this.destination.complete()},e.prototype._subscribe=function(t){return this.source?this.source.subscribe(t):w.EMPTY},e}(H);function F(t){return t&&"function"==typeof t.schedule}var z=function(t){function e(e,n,r){var o=t.call(this)||this;return o.parent=e,o.outerValue=n,o.outerIndex=r,o.index=0,o}return o(e,t),e.prototype._next=function(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)},e.prototype._error=function(t){this.parent.notifyError(t,this),this.unsubscribe()},e.prototype._complete=function(){this.parent.notifyComplete(this),this.unsubscribe()},e}(k),B=function(t){return function(e){for(var n=0,r=t.length;n<r&&!e.closed;n++)e.next(t[n]);e.closed||e.complete()}},q=function(t){return function(e){return t.then(function(t){e.closed||(e.next(t),e.complete())},function(t){return e.error(t)}).then(null,x),e}};function Z(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}var G=Z(),W=function(t){return function(e){for(var n=t[G]();;){var r=n.next();if(r.done){e.complete();break}if(e.next(r.value),e.closed)break}return"function"==typeof n.return&&e.add(function(){n.return&&n.return()}),e}},Q=function(t){return function(e){var n=t[R]();if("function"!=typeof n.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return n.subscribe(e)}},K=function(t){return t&&"number"==typeof t.length&&"function"!=typeof t};function Y(t){return t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}var J=function(t){if(t instanceof N)return function(e){return t._isScalar?(e.next(t.value),void e.complete()):t.subscribe(e)};if(t&&"function"==typeof t[R])return Q(t);if(K(t))return B(t);if(Y(t))return q(t);if(t&&"function"==typeof t[G])return W(t);var e=p(t)?"an invalid object":"'"+t+"'";throw new TypeError("You provided "+e+" where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.")};function $(t,e,n,r,o){if(void 0===o&&(o=new z(t,n,r)),!o.closed)return J(e)(o)}var X=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.notifyNext=function(t,e,n,r,o){this.destination.next(e)},e.prototype.notifyError=function(t,e){this.destination.error(t)},e.prototype.notifyComplete=function(t){this.destination.complete()},e}(k);function tt(t,e){return function(n){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new et(t,e))}}var et=function(){function t(t,e){this.project=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new nt(t,this.project,this.thisArg))},t}(),nt=function(t){function e(e,n,r){var o=t.call(this,e)||this;return o.project=n,o.count=0,o.thisArg=r||o,o}return o(e,t),e.prototype._next=function(t){var e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(e)},e}(k);function rt(t,e){return new N(e?function(n){var r=new w,o=0;return r.add(e.schedule(function(){o!==t.length?(n.next(t[o++]),n.closed||r.add(this.schedule())):n.complete()})),r}:B(t))}function ot(t,e){if(!e)return t instanceof N?t:new N(J(t));if(null!=t){if(function(t){return t&&"function"==typeof t[R]}(t))return function(t,e){return new N(e?function(n){var r=new w;return r.add(e.schedule(function(){var o=t[R]();r.add(o.subscribe({next:function(t){r.add(e.schedule(function(){return n.next(t)}))},error:function(t){r.add(e.schedule(function(){return n.error(t)}))},complete:function(){r.add(e.schedule(function(){return n.complete()}))}}))})),r}:Q(t))}(t,e);if(Y(t))return function(t,e){return new N(e?function(n){var r=new w;return r.add(e.schedule(function(){return t.then(function(t){r.add(e.schedule(function(){n.next(t),r.add(e.schedule(function(){return n.complete()}))}))},function(t){r.add(e.schedule(function(){return n.error(t)}))})})),r}:q(t))}(t,e);if(K(t))return rt(t,e);if(function(t){return t&&"function"==typeof t[G]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new N(e?function(n){var r,o=new w;return o.add(function(){r&&"function"==typeof r.return&&r.return()}),o.add(e.schedule(function(){r=t[G](),o.add(e.schedule(function(){if(!n.closed){var t,e;try{var o=r.next();t=o.value,e=o.done}catch(i){return void n.error(i)}e?n.complete():(n.next(t),this.schedule())}}))})),o}:W(t))}(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}function it(t,e,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),"function"==typeof e?function(r){return r.pipe(it(function(n,r){return ot(t(n,r)).pipe(tt(function(t,o){return e(n,t,r,o)}))},n))}:("number"==typeof e&&(n=e),function(e){return e.lift(new at(t,n))})}var at=function(){function t(t,e){void 0===e&&(e=Number.POSITIVE_INFINITY),this.project=t,this.concurrent=e}return t.prototype.call=function(t,e){return e.subscribe(new ut(t,this.project,this.concurrent))},t}(),ut=function(t){function e(e,n,r){void 0===r&&(r=Number.POSITIVE_INFINITY);var o=t.call(this,e)||this;return o.project=n,o.concurrent=r,o.hasCompleted=!1,o.buffer=[],o.active=0,o.index=0,o}return o(e,t),e.prototype._next=function(t){this.active<this.concurrent?this._tryNext(t):this.buffer.push(t)},e.prototype._tryNext=function(t){var e,n=this.index++;try{e=this.project(t,n)}catch(r){return void this.destination.error(r)}this.active++,this._innerSub(e,t,n)},e.prototype._innerSub=function(t,e,n){var r=new z(this,void 0,void 0);this.destination.add(r),$(this,t,e,n,r)},e.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()},e.prototype.notifyNext=function(t,e,n,r,o){this.destination.next(e)},e.prototype.notifyComplete=function(t){var e=this.buffer;this.remove(t),this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},e}(X);function st(t){return t}function lt(t){return void 0===t&&(t=Number.POSITIVE_INFINITY),it(st,t)}function ct(){return function(t){return t.lift(new ft(t))}}var ft=function(){function t(t){this.connectable=t}return t.prototype.call=function(t,e){var n=this.connectable;n._refCount++;var r=new pt(t,n),o=e.subscribe(r);return r.closed||(r.connection=n.connect()),o},t}(),pt=function(t){function e(e,n){var r=t.call(this,e)||this;return r.connectable=n,r}return o(e,t),e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._refCount;if(e<=0)this.connection=null;else if(t._refCount=e-1,e>1)this.connection=null;else{var n=this.connection,r=t._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}else this.connection=null},e}(k),ht=function(t){function e(e,n){var r=t.call(this)||this;return r.source=e,r.subjectFactory=n,r._refCount=0,r._isComplete=!1,r}return o(e,t),e.prototype._subscribe=function(t){return this.getSubject().subscribe(t)},e.prototype.getSubject=function(){var t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject},e.prototype.connect=function(){var t=this._connection;return t||(this._isComplete=!1,(t=this._connection=new w).add(this.source.subscribe(new vt(this.getSubject(),this))),t.closed?(this._connection=null,t=w.EMPTY):this._connection=t),t},e.prototype.refCount=function(){return ct()(this)},e}(N).prototype,dt={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:ht._subscribe},_isComplete:{value:ht._isComplete,writable:!0},getSubject:{value:ht.getSubject},connect:{value:ht.connect},refCount:{value:ht.refCount}},vt=function(t){function e(e,n){var r=t.call(this,e)||this;return r.connectable=n,r}return o(e,t),e.prototype._error=function(e){this._unsubscribe(),t.prototype._error.call(this,e)},e.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}},e}(L);function gt(){return new H}function yt(t){for(var e in t)if(t[e]===yt)return e;throw Error("Could not find renamed property on target object.")}function mt(t,e){for(var n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}var bt=yt({ngInjectableDef:yt}),wt=yt({ngBaseDef:yt});function _t(t){return{providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function Ct(t){return t&&t.hasOwnProperty(bt)?t[bt]:null}var St=function(){function t(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.ngInjectableDef=void 0!==e?_t({providedIn:e.providedIn||"root",factory:e.factory}):void 0}return t.prototype.toString=function(){return"InjectionToken "+this._desc},t}(),xt="__parameters__",Et="__prop__metadata__";function Tt(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if(t){var r=t.apply(void 0,c(e));for(var o in r)this[o]=r[o]}}}function kt(t,e,n){var r=Tt(e);function o(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if(this instanceof o)return r.apply(this,e),this;var i=new((t=o).bind.apply(t,c([void 0],e)));return a.annotation=i,a;function a(t,e,n){for(var r=t.hasOwnProperty(xt)?t[xt]:Object.defineProperty(t,xt,{value:[]})[xt];r.length<=n;)r.push(null);return(r[n]=r[n]||[]).push(i),t}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=t,o.annotationCls=o,o}function Pt(t,e,n,r){var o=Tt(e);function i(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if(this instanceof i)return o.apply(this,e),this;var a=new((t=i).bind.apply(t,c([void 0],e)));return function(t,n){var o=t.constructor,i=o.hasOwnProperty(Et)?o[Et]:Object.defineProperty(o,Et,{value:{}})[Et];i[n]=i.hasOwnProperty(n)&&i[n]||[],i[n].unshift(a),r&&r.apply(void 0,c([t,n],e))}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=t,i.annotationCls=i,i}var Rt=new St("AnalyzeForEntryComponents"),At="undefined"!=typeof window&&window,It="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Ot="undefined"!=typeof global&&global||At||It,Nt=Promise.resolve(0),Mt=null;function Dt(){if(!Mt){var t=Ot.Symbol;if(t&&t.iterator)Mt=t.iterator;else for(var e=Object.getOwnPropertyNames(Map.prototype),n=0;n<e.length;++n){var r=e[n];"entries"!==r&&"size"!==r&&Map.prototype[r]===Map.prototype.entries&&(Mt=r)}}return Mt}function jt(t){"undefined"==typeof Zone?Nt.then(function(){t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}function Ut(t,e){return t===e||"number"==typeof t&&"number"==typeof e&&isNaN(t)&&isNaN(e)}function Lt(t){if("string"==typeof t)return t;if(t instanceof Array)return"["+t.map(Lt).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return""+t.overriddenName;if(t.name)return""+t.name;var e=t.toString();if(null==e)return""+e;var n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}var Ht=yt({__forward_ref__:yt});function Vt(t){return t.__forward_ref__=Vt,t.toString=function(){return Lt(this())},t}function Ft(t){var e=t;return"function"==typeof e&&e.hasOwnProperty(Ht)&&e.__forward_ref__===Vt?e():t}var zt,Bt=function(t){return t[t.Emulated=0]="Emulated",t[t.Native=1]="Native",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}({}),qt=kt("Inject",function(t){return{token:t}}),Zt=kt("Optional"),Gt=kt("Self"),Wt=kt("SkipSelf"),Qt=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}({}),Kt=void 0;function Yt(t){var e=Kt;return Kt=t,e}function Jt(t,e){return void 0===e&&(e=Qt.Default),(zt||function(t,e){if(void 0===e&&(e=Qt.Default),void 0===Kt)throw new Error("inject() must be called from an injection context");return null===Kt?function(t,e,n){var r=Ct(t);if(r&&"root"==r.providedIn)return void 0===r.value?r.value=r.factory():r.value;if(n&Qt.Optional)return null;throw new Error("Injector: NOT_FOUND ["+Lt(t)+"]")}(t,0,e):Kt.get(t,e&Qt.Optional?null:void 0,e)})(t,e)}var $t=/([A-Z])/g;function Xt(t){try{return null!=t?t.toString().slice(0,30):t}catch(e){return"[ERROR] Exception while trying to serialize the value"}}function te(t,e){var n=re(t),r=re(e);return n&&r?function(t,e,n){for(var r=t[Dt()](),o=e[Dt()]();;){var i=r.next(),a=o.next();if(i.done&&a.done)return!0;if(i.done||a.done)return!1;if(!n(i.value,a.value))return!1}}(t,e,te):!(n||!t||"object"!=typeof t&&"function"!=typeof t||r||!e||"object"!=typeof e&&"function"!=typeof e)||Ut(t,e)}var ee=function(){function t(t){this.wrapped=t}return t.wrap=function(e){return new t(e)},t.unwrap=function(e){return t.isWrapped(e)?e.wrapped:e},t.isWrapped=function(e){return e instanceof t},t}(),ne=function(){function t(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}return t.prototype.isFirstChange=function(){return this.firstChange},t}();function re(t){return!!oe(t)&&(Array.isArray(t)||!(t instanceof Map)&&Dt()in t)}function oe(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function ie(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e]}var ae="__source",ue=new Object,se=new St("INJECTOR"),le=function(){function t(){}return t.prototype.get=function(t,e){if(void 0===e&&(e=ue),e===ue)throw new Error("NullInjectorError: No provider for "+Lt(t)+"!");return e},t}(),ce=function(){function t(){}return t.create=function(t,e){return Array.isArray(t)?new we(t,e):new we(t.providers,t.parent,t.name||null)},t.THROW_IF_NOT_FOUND=ue,t.NULL=new le,t.ngInjectableDef=_t({providedIn:"any",factory:function(){return Jt(se)}}),t.__NG_ELEMENT_ID__=function(){return fe()},t}(),fe=ie,pe=function(t){return t},he=[],de=pe,ve=function(){return Array.prototype.slice.call(arguments)},ge=yt({provide:String,useValue:yt}),ye=ce.NULL,me=/\n/gm,be="\u0275",we=function(){function t(t,e,n){void 0===e&&(e=ye),void 0===n&&(n=null),this.parent=e,this.source=n;var r=this._records=new Map;r.set(ce,{token:ce,fn:pe,deps:he,value:this,useNew:!1}),r.set(se,{token:se,fn:pe,deps:he,value:this,useNew:!1}),function t(e,n){if(n)if((n=Ft(n))instanceof Array)for(var r=0;r<n.length;r++)t(e,n[r]);else{if("function"==typeof n)throw Se("Function/Class not supported",n);if(!n||"object"!=typeof n||!n.provide)throw Se("Unexpected provider",n);var o=Ft(n.provide),i=function(t){var e=function(t){var e=he,n=t.deps;if(n&&n.length){e=[];for(var r=0;r<n.length;r++){var o=6;if((s=Ft(n[r]))instanceof Array)for(var i=0,a=s;i<a.length;i++){var u=a[i];u instanceof Zt||u==Zt?o|=1:u instanceof Wt||u==Wt?o&=-3:u instanceof Gt||u==Gt?o&=-5:s=u instanceof qt?u.token:Ft(u)}e.push({token:s,options:o})}}else if(t.useExisting){var s;e=[{token:s=Ft(t.useExisting),options:6}]}else if(!(n||ge in t))throw Se("'deps' required",t);return e}(t),n=pe,r=he,o=!1,i=Ft(t.provide);if(ge in t)r=t.useValue;else if(t.useFactory)n=t.useFactory;else if(t.useExisting);else if(t.useClass)o=!0,n=Ft(t.useClass);else{if("function"!=typeof i)throw Se("StaticProvider does not have [useValue|useFactory|useExisting|useClass] or [provide] is not newable",t);o=!0,n=i}return{deps:e,fn:n,useNew:o,value:r}}(n);if(!0===n.multi){var a=e.get(o);if(a){if(a.fn!==ve)throw _e(o)}else e.set(o,a={token:n.provide,deps:[],useNew:!1,fn:ve,value:he});a.deps.push({token:o=n,options:6})}var u=e.get(o);if(u&&u.fn==ve)throw _e(o);e.set(o,i)}}(r,t)}return t.prototype.get=function(t,e,n){void 0===n&&(n=Qt.Default);var r=this._records.get(t);try{return function t(e,n,r,o,i,a){try{return function(e,n,r,o,i,a){var u,s;if(!n||a&Qt.SkipSelf)a&Qt.Self||(s=o.get(e,i,Qt.Default));else{if((s=n.value)==de)throw Error(be+"Circular dependency");if(s===he){n.value=de;var l=n.useNew,f=n.fn,p=n.deps,h=he;if(p.length){h=[];for(var d=0;d<p.length;d++){var v=p[d],g=v.options,y=2&g?r.get(v.token):void 0;h.push(t(v.token,y,r,y||4&g?o:ye,1&g?null:ce.THROW_IF_NOT_FOUND,Qt.Default))}}n.value=s=l?new((u=f).bind.apply(u,c([void 0],h))):f.apply(void 0,h)}}return s}(e,n,r,o,i,a)}catch(u){throw u instanceof Error||(u=new Error(u)),(u.ngTempTokenPath=u.ngTempTokenPath||[]).unshift(e),n&&n.value==de&&(n.value=he),u}}(t,r,this._records,this.parent,e,n)}catch(i){var o=i.ngTempTokenPath;throw t[ae]&&o.unshift(t[ae]),i.message=Ce("\n"+i.message,o,this.source),i.ngTokenPath=o,i.ngTempTokenPath=null,i}},t.prototype.toString=function(){var t=[];return this._records.forEach(function(e,n){return t.push(Lt(n))}),"StaticInjector["+t.join(", ")+"]"},t}();function _e(t){return Se("Cannot mix multi providers and regular providers",t)}function Ce(t,e,n){void 0===n&&(n=null),t=t&&"\n"===t.charAt(0)&&t.charAt(1)==be?t.substr(2):t;var r=Lt(e);if(e instanceof Array)r=e.map(Lt).join(" -> ");else if("object"==typeof e){var o=[];for(var i in e)if(e.hasOwnProperty(i)){var a=e[i];o.push(i+":"+("string"==typeof a?JSON.stringify(a):Lt(a)))}r="{"+o.join(", ")+"}"}return"StaticInjectorError"+(n?"("+n+")":"")+"["+r+"]: "+t.replace(me,"\n ")}function Se(t,e){return new Error(Ce(t,e))}var xe=new St("The presence of this token marks an injector as being the root injector."),Ee=function(){return function(){}}(),Te=function(){return function(){}}();function ke(t){var e=Error("No component factory found for "+Lt(t)+". Did you add it to @NgModule.entryComponents?");return e[Pe]=t,e}var Pe="ngComponent",Re=function(){function t(){}return t.prototype.resolveComponentFactory=function(t){throw ke(t)},t}(),Ae=function(){function t(){}return t.NULL=new Re,t}(),Ie=function(){function t(t,e,n){this._parent=e,this._ngModule=n,this._factories=new Map;for(var r=0;r<t.length;r++){var o=t[r];this._factories.set(o.componentType,o)}}return t.prototype.resolveComponentFactory=function(t){var e=this._factories.get(t);if(!e&&this._parent&&(e=this._parent.resolveComponentFactory(t)),!e)throw ke(t);return new Oe(e,this._ngModule)},t}(),Oe=function(t){function e(e,n){var r=t.call(this)||this;return r.factory=e,r.ngModule=n,r.selector=e.selector,r.componentType=e.componentType,r.ngContentSelectors=e.ngContentSelectors,r.inputs=e.inputs,r.outputs=e.outputs,r}return o(e,t),e.prototype.create=function(t,e,n,r){return this.factory.create(t,e,n,r||this.ngModule)},e}(Te),Ne=function(){return function(){}}(),Me=function(){return function(){}}(),De=function(){function t(t){this.nativeElement=t}return t.__NG_ELEMENT_ID__=function(){return je(t)},t}(),je=ie,Ue=function(){return function(){}}(),Le=function(){return function(){}}(),He=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}({}),Ve=function(){function t(){}return t.__NG_ELEMENT_ID__=function(){return Fe()},t}(),Fe=ie,ze=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}({}),Be=function(){return function(){}}(),qe=new(function(){return function(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}())("7.2.15"),Ze=!0,Ge=!1;function We(){return Ge=!0,Ze}var Qe=function(){function t(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),this.inertBodyElement=this.inertDocument.body,null==this.inertBodyElement){var e=this.inertDocument.createElement("html");this.inertDocument.appendChild(e),this.inertBodyElement=this.inertDocument.createElement("body"),e.appendChild(this.inertBodyElement)}this.inertBodyElement.innerHTML='<svg><g onload="this.parentNode.remove()"></g></svg>',!this.inertBodyElement.querySelector||this.inertBodyElement.querySelector("svg")?(this.inertBodyElement.innerHTML='<svg><p><style><img src="</style><img src=x onerror=alert(1)//">',this.getInertBodyElement=this.inertBodyElement.querySelector&&this.inertBodyElement.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(t){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}return t.prototype.getInertBodyElement_XHR=function(t){t="<body><remove></remove>"+t+"</body>";try{t=encodeURI(t)}catch(r){return null}var e=new XMLHttpRequest;e.responseType="document",e.open("GET","data:text/html;charset=utf-8,"+t,!1),e.send(void 0);var n=e.response.body;return n.removeChild(n.firstChild),n},t.prototype.getInertBodyElement_DOMParser=function(t){t="<body><remove></remove>"+t+"</body>";try{var e=(new window.DOMParser).parseFromString(t,"text/html").body;return e.removeChild(e.firstChild),e}catch(n){return null}},t.prototype.getInertBodyElement_InertDocument=function(t){var e=this.inertDocument.createElement("template");return"content"in e?(e.innerHTML=t,e):(this.inertBodyElement.innerHTML=t,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(this.inertBodyElement),this.inertBodyElement)},t.prototype.stripCustomNsAttrs=function(t){for(var e=t.attributes,n=e.length-1;0<n;n--){var r=e.item(n).name;"xmlns:ns1"!==r&&0!==r.indexOf("ns1:")||t.removeAttribute(r)}for(var o=t.firstChild;o;)o.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(o),o=o.nextSibling},t}(),Ke=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:\/?#]*(?:[\/?#]|$))/gi,Ye=/^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 Je(t){return(t=String(t)).match(Ke)||t.match(Ye)?t:(We()&&console.warn("WARNING: sanitizing unsafe URL value "+t+" (see http://g.co/ng/security#xss)"),"unsafe:"+t)}function $e(t){var e,n,r={};try{for(var o=s(t.split(",")),i=o.next();!i.done;i=o.next())r[i.value]=!0}catch(a){e={error:a}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(e)throw e.error}}return r}function Xe(){for(var t,e,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var o={};try{for(var i=s(n),a=i.next();!a.done;a=i.next()){var u=a.value;for(var l in u)u.hasOwnProperty(l)&&(o[l]=!0)}}catch(c){t={error:c}}finally{try{a&&!a.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}return o}var tn,en=$e("area,br,col,hr,img,wbr"),nn=$e("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),rn=$e("rp,rt"),on=Xe(rn,nn),an=Xe(en,Xe(nn,$e("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")),Xe(rn,$e("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")),on),un=$e("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),sn=$e("srcset"),ln=Xe(un,sn,$e("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")),cn=$e("script,style,template"),fn=function(){function t(){this.sanitizedSomething=!1,this.buf=[]}return t.prototype.sanitizeChildren=function(t){for(var e=t.firstChild,n=!0;e;)if(e.nodeType===Node.ELEMENT_NODE?n=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,n&&e.firstChild)e=e.firstChild;else for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);var r=this.checkClobberedElement(e,e.nextSibling);if(r){e=r;break}e=this.checkClobberedElement(e,e.parentNode)}return this.buf.join("")},t.prototype.startElement=function(t){var e,n=t.nodeName.toLowerCase();if(!an.hasOwnProperty(n))return this.sanitizedSomething=!0,!cn.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);for(var r=t.attributes,o=0;o<r.length;o++){var i=r.item(o),a=i.name,u=a.toLowerCase();if(ln.hasOwnProperty(u)){var s=i.value;un[u]&&(s=Je(s)),sn[u]&&(e=s,s=(e=String(e)).split(",").map(function(t){return Je(t.trim())}).join(", ")),this.buf.push(" ",a,'="',dn(s),'"')}else this.sanitizedSomething=!0}return this.buf.push(">"),!0},t.prototype.endElement=function(t){var e=t.nodeName.toLowerCase();an.hasOwnProperty(e)&&!en.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))},t.prototype.chars=function(t){this.buf.push(dn(t))},t.prototype.checkClobberedElement=function(t,e){if(e&&(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: "+t.outerHTML);return e},t}(),pn=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,hn=/([^\#-~ |!])/g;function dn(t){return t.replace(/&/g,"&").replace(pn,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(hn,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}function vn(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var gn=function(t){function e(e){void 0===e&&(e=!1);var n=t.call(this)||this;return n.__isAsync=e,n}return o(e,t),e.prototype.emit=function(e){t.prototype.next.call(this,e)},e.prototype.subscribe=function(e,n,r){var o,i=function(t){return null},a=function(){return null};e&&"object"==typeof e?(o=this.__isAsync?function(t){setTimeout(function(){return e.next(t)})}:function(t){e.next(t)},e.error&&(i=this.__isAsync?function(t){setTimeout(function(){return e.error(t)})}:function(t){e.error(t)}),e.complete&&(a=this.__isAsync?function(){setTimeout(function(){return e.complete()})}:function(){e.complete()})):(o=this.__isAsync?function(t){setTimeout(function(){return e(t)})}:function(t){e(t)},n&&(i=this.__isAsync?function(t){setTimeout(function(){return n(t)})}:function(t){n(t)}),r&&(a=this.__isAsync?function(){setTimeout(function(){return r()})}:function(){r()}));var u=t.prototype.subscribe.call(this,o,i,a);return e instanceof w&&e.add(u),u},e}(H),yn=function(){function t(){}return t.__NG_ELEMENT_ID__=function(){return mn(t,De)},t}(),mn=ie,bn=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"),wn=/^url\(([^)]+)\)$/,_n=function(){return function(){}}(),Cn=Pt("Input",function(t){return{bindingPropertyName:t}},void 0,function(t){return function(t,e){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var o=t.constructor;o.hasOwnProperty(wt)||function(t){var e=t.constructor,n=e.ngBaseDef,r=e.ngBaseDef={inputs:{},outputs:{},declaredInputs:{}};n&&(mt(r.inputs,n.inputs),mt(r.outputs,n.outputs),mt(r.declaredInputs,n.declaredInputs))}(t),(function(t){return t.inputs||{}}(o.ngBaseDef))[e]=n[0]}}()),Sn=Pt("HostBinding",function(t){return{hostPropertyName:t}}),xn="ngDebugContext",En="ngOriginalError",Tn="ngErrorLogger";function kn(t){return t[xn]}function Pn(t){return t[En]}function Rn(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];t.error.apply(t,c(e))}var An=function(){function t(){this._console=console}return t.prototype.handleError=function(t){var e=this._findOriginalError(t),n=this._findContext(t),r=function(t){return t[Tn]||Rn}(t);r(this._console,"ERROR",t),e&&r(this._console,"ORIGINAL ERROR",e),n&&r(this._console,"ERROR CONTEXT",n)},t.prototype._findContext=function(t){return t?kn(t)?kn(t):this._findContext(Pn(t)):null},t.prototype._findOriginalError=function(t){for(var e=Pn(t);e&&Pn(e);)e=Pn(e);return e},t}();function In(t){return!!t&&"function"==typeof t.then}function On(t){return!!t&&"function"==typeof t.subscribe}var Nn=new St("Application Initializer"),Mn=function(){function t(t){var e=this;this.appInits=t,this.initialized=!1,this.done=!1,this.donePromise=new Promise(function(t,n){e.resolve=t,e.reject=n})}return t.prototype.runInitializers=function(){var t=this;if(!this.initialized){var e=[],n=function(){t.done=!0,t.resolve()};if(this.appInits)for(var r=0;r<this.appInits.length;r++){var o=this.appInits[r]();In(o)&&e.push(o)}Promise.all(e).then(function(){n()}).catch(function(e){t.reject(e)}),0===e.length&&n(),this.initialized=!0}},t}(),Dn=new St("AppId");function jn(){return""+Un()+Un()+Un()}function Un(){return String.fromCharCode(97+Math.floor(25*Math.random()))}var Ln=new St("Platform Initializer"),Hn=new St("Platform ID"),Vn=new St("appBootstrapListener"),Fn=function(){function t(){}return t.prototype.log=function(t){console.log(t)},t.prototype.warn=function(t){console.warn(t)},t}();function zn(){throw new Error("Runtime compiler is not loaded")}var Bn,qn,Zn=zn,Gn=zn,Wn=zn,Qn=zn,Kn=function(){function t(){this.compileModuleSync=Zn,this.compileModuleAsync=Gn,this.compileModuleAndAllComponentsSync=Wn,this.compileModuleAndAllComponentsAsync=Qn}return t.prototype.clearCache=function(){},t.prototype.clearCacheFor=function(t){},t.prototype.getModuleId=function(t){},t}(),Yn=function(){return function(){}}();function Jn(){var t=Ot.wtf;return!(!t||!(Bn=t.trace)||(qn=Bn.events,0))}var $n=Jn();function Xn(t,e){return null}var tr=$n?function(t,e){return void 0===e&&(e=null),qn.createScope(t,e)}:function(t,e){return Xn},er=$n?function(t,e){return Bn.leaveScope(t,e),e}:function(t,e){return e},nr=function(){function t(t){var e,n=t.enableLongStackTrace,r=void 0!==n&&n;if(this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new gn(!1),this.onMicrotaskEmpty=new gn(!1),this.onStable=new gn(!1),this.onError=new gn(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched(),this._nesting=0,this._outer=this._inner=Zone.current,Zone.wtfZoneSpec&&(this._inner=this._inner.fork(Zone.wtfZoneSpec)),Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),r&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),(e=this)._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:function(t,n,r,o,i,a){try{return ar(e),t.invokeTask(r,o,i,a)}finally{ur(e)}},onInvoke:function(t,n,r,o,i,a,u){try{return ar(e),t.invoke(r,o,i,a,u)}finally{ur(e)}},onHasTask:function(t,n,r,o){t.hasTask(r,o),n===r&&("microTask"==o.change?(e.hasPendingMicrotasks=o.microTask,ir(e)):"macroTask"==o.change&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:function(t,n,r,o){return t.handleError(r,o),e.runOutsideAngular(function(){return e.onError.emit(o)}),!1}})}return t.isInAngularZone=function(){return!0===Zone.current.get("isAngularZone")},t.assertInAngularZone=function(){if(!t.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")},t.assertNotInAngularZone=function(){if(t.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")},t.prototype.run=function(t,e,n){return this._inner.run(t,e,n)},t.prototype.runTask=function(t,e,n,r){var o=this._inner,i=o.scheduleEventTask("NgZoneEvent: "+r,t,or,rr,rr);try{return o.runTask(i,e,n)}finally{o.cancelTask(i)}},t.prototype.runGuarded=function(t,e,n){return this._inner.runGuarded(t,e,n)},t.prototype.runOutsideAngular=function(t){return this._outer.run(t)},t}();function rr(){}var or={};function ir(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(function(){return t.onStable.emit(null)})}finally{t.isStable=!0}}}function ar(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function ur(t){t._nesting--,ir(t)}var sr,lr=function(){function t(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new gn,this.onMicrotaskEmpty=new gn,this.onStable=new gn,this.onError=new gn}return t.prototype.run=function(t){return t()},t.prototype.runGuarded=function(t){return t()},t.prototype.runOutsideAngular=function(t){return t()},t.prototype.runTask=function(t){return t()},t}(),cr=function(){function t(t){var e=this;this._ngZone=t,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),t.run(function(){e.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}return t.prototype._watchAngularEvents=function(){var t=this;this._ngZone.onUnstable.subscribe({next:function(){t._didWork=!0,t._isZoneStable=!1}}),this._ngZone.runOutsideAngular(function(){t._ngZone.onStable.subscribe({next:function(){nr.assertNotInAngularZone(),jt(function(){t._isZoneStable=!0,t._runCallbacksIfReady()})}})})},t.prototype.increasePendingRequestCount=function(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount},t.prototype.decreasePendingRequestCount=function(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount},t.prototype.isStable=function(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks},t.prototype._runCallbacksIfReady=function(){var t=this;if(this.isStable())jt(function(){for(;0!==t._callbacks.length;){var e=t._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(t._didWork)}t._didWork=!1});else{var e=this.getPendingTasks();this._callbacks=this._callbacks.filter(function(t){return!t.updateCb||!t.updateCb(e)||(clearTimeout(t.timeoutId),!1)}),this._didWork=!0}},t.prototype.getPendingTasks=function(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(function(t){return{source:t.source,creationLocation:t.creationLocation,data:t.data}}):[]},t.prototype.addCallback=function(t,e,n){var r=this,o=-1;e&&e>0&&(o=setTimeout(function(){r._callbacks=r._callbacks.filter(function(t){return t.timeoutId!==o}),t(r._didWork,r.getPendingTasks())},e)),this._callbacks.push({doneCb:t,timeoutId:o,updateCb:n})},t.prototype.whenStable=function(t,e,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(t,e,n),this._runCallbacksIfReady()},t.prototype.getPendingRequestCount=function(){return this._pendingCount},t.prototype.findProviders=function(t,e,n){return[]},t}(),fr=function(){function t(){this._applications=new Map,pr.addToWindow(this)}return t.prototype.registerApplication=function(t,e){this._applications.set(t,e)},t.prototype.unregisterApplication=function(t){this._applications.delete(t)},t.prototype.unregisterAllApplications=function(){this._applications.clear()},t.prototype.getTestability=function(t){return this._applications.get(t)||null},t.prototype.getAllTestabilities=function(){return Array.from(this._applications.values())},t.prototype.getAllRootElements=function(){return Array.from(this._applications.keys())},t.prototype.findTestabilityInTree=function(t,e){return void 0===e&&(e=!0),pr.findTestabilityInTree(this,t,e)},a([u("design:paramtypes",[])],t)}(),pr=new(function(){function t(){}return t.prototype.addToWindow=function(t){},t.prototype.findTestabilityInTree=function(t,e,n){return null},t}()),hr=new St("AllowMultipleToken"),dr=function(){return function(t,e){this.name=t,this.token=e}}();function vr(t,e,n){void 0===n&&(n=[]);var r="Platform: "+e,o=new St(r);return function(e){void 0===e&&(e=[]);var i=gr();if(!i||i.injector.get(hr,!1))if(t)t(n.concat(e).concat({provide:o,useValue:!0}));else{var a=n.concat(e).concat({provide:o,useValue:!0});!function(t){if(sr&&!sr.destroyed&&!sr.injector.get(hr,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");sr=t.get(yr);var e=t.get(Ln,null);e&&e.forEach(function(t){return t()})}(ce.create({providers:a,name:r}))}return function(t){var e=gr();if(!e)throw new Error("No platform exists!");if(!e.injector.get(t,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return e}(o)}}function gr(){return sr&&!sr.destroyed?sr:null}var yr=function(){function t(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return t.prototype.bootstrapModuleFactory=function(t,e){var n,r=this,o="noop"===(n=e?e.ngZone:void 0)?new lr:("zone.js"===n?void 0:n)||new nr({enableLongStackTrace:We()}),i=[{provide:nr,useValue:o}];return o.run(function(){var e=ce.create({providers:i,parent:r.injector,name:t.moduleType.name}),n=t.create(e),a=n.injector.get(An,null);if(!a)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.onDestroy(function(){return wr(r._modules,n)}),o.runOutsideAngular(function(){return o.onError.subscribe({next:function(t){a.handleError(t)}})}),function(t,e,o){try{var i=((a=n.injector.get(Mn)).runInitializers(),a.donePromise.then(function(){return r._moduleDoBootstrap(n),n}));return In(i)?i.catch(function(n){throw e.runOutsideAngular(function(){return t.handleError(n)}),n}):i}catch(u){throw e.runOutsideAngular(function(){return t.handleError(u)}),u}var a}(a,o)})},t.prototype.bootstrapModule=function(t,e){var n=this;void 0===e&&(e=[]);var r=mr({},e);return function(t,e,n){return t.get(Yn).createCompiler([e]).compileModuleAsync(n)}(this.injector,r,t).then(function(t){return n.bootstrapModuleFactory(t,r)})},t.prototype._moduleDoBootstrap=function(t){var e=t.injector.get(br);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(function(t){return e.bootstrap(t)});else{if(!t.instance.ngDoBootstrap)throw new Error("The module "+Lt(t.instance.constructor)+' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.');t.instance.ngDoBootstrap(e)}this._modules.push(t)},t.prototype.onDestroy=function(t){this._destroyListeners.push(t)},Object.defineProperty(t.prototype,"injector",{get:function(){return this._injector},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(function(t){return t.destroy()}),this._destroyListeners.forEach(function(t){return t()}),this._destroyed=!0},Object.defineProperty(t.prototype,"destroyed",{get:function(){return this._destroyed},enumerable:!0,configurable:!0}),t}();function mr(t,e){return Array.isArray(e)?e.reduce(mr,t):i({},t,e)}var br=function(){function t(t,e,n,r,o,i){var a=this;this._zone=t,this._console=e,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=o,this._initStatus=i,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=We(),this._zone.onMicrotaskEmpty.subscribe({next:function(){a._zone.run(function(){a.tick()})}});var u=new N(function(t){a._stable=a._zone.isStable&&!a._zone.hasPendingMacrotasks&&!a._zone.hasPendingMicrotasks,a._zone.runOutsideAngular(function(){t.next(a._stable),t.complete()})}),s=new N(function(t){var e;a._zone.runOutsideAngular(function(){e=a._zone.onStable.subscribe(function(){nr.assertNotInAngularZone(),jt(function(){a._stable||a._zone.hasPendingMacrotasks||a._zone.hasPendingMicrotasks||(a._stable=!0,t.next(!0))})})});var n=a._zone.onUnstable.subscribe(function(){nr.assertInAngularZone(),a._stable&&(a._stable=!1,a._zone.runOutsideAngular(function(){t.next(!1)}))});return function(){e.unsubscribe(),n.unsubscribe()}});this.isStable=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=Number.POSITIVE_INFINITY,r=null,o=t[t.length-1];return F(o)?(r=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(n=t.pop())):"number"==typeof o&&(n=t.pop()),null===r&&1===t.length&&t[0]instanceof N?t[0]:lt(n)(rt(t,r))}(u,s.pipe(function(t){return ct()((e=gt,function(t){var n;n="function"==typeof e?e:function(){return e};var r=Object.create(t,dt);return r.source=t,r.subjectFactory=n,r})(t));var e}))}var e;return e=t,t.prototype.bootstrap=function(t,e){var n,r=this;if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");n=t instanceof Te?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);var o=n instanceof Oe?null:this._injector.get(Ne),i=n.create(ce.NULL,[],e||n.selector,o);i.onDestroy(function(){r._unloadComponent(i)});var a=i.injector.get(cr,null);return a&&i.injector.get(fr).registerApplication(i.location.nativeElement,a),this._loadComponent(i),We()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),i},t.prototype.tick=function(){var t=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");var n=e._tickScope();try{this._runningTick=!0,this._views.forEach(function(t){return t.detectChanges()}),this._enforceNoNewChanges&&this._views.forEach(function(t){return t.checkNoChanges()})}catch(r){this._zone.runOutsideAngular(function(){return t._exceptionHandler.handleError(r)})}finally{this._runningTick=!1,er(n)}},t.prototype.attachView=function(t){var e=t;this._views.push(e),e.attachToAppRef(this)},t.prototype.detachView=function(t){var e=t;wr(this._views,e),e.detachFromAppRef()},t.prototype._loadComponent=function(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(Vn,[]).concat(this._bootstrapListeners).forEach(function(e){return e(t)})},t.prototype._unloadComponent=function(t){this.detachView(t.hostView),wr(this.components,t)},t.prototype.ngOnDestroy=function(){this._views.slice().forEach(function(t){return t.destroy()})},Object.defineProperty(t.prototype,"viewCount",{get:function(){return this._views.length},enumerable:!0,configurable:!0}),t._tickScope=tr("ApplicationRef#tick()"),t}();function wr(t,e){var n=t.indexOf(e);n>-1&&t.splice(n,1)}var _r=function(){function t(){this.dirty=!0,this._results=[],this.changes=new gn,this.length=0}return t.prototype.map=function(t){return this._results.map(t)},t.prototype.filter=function(t){return this._results.filter(t)},t.prototype.find=function(t){return this._results.find(t)},t.prototype.reduce=function(t,e){return this._results.reduce(t,e)},t.prototype.forEach=function(t){this._results.forEach(t)},t.prototype.some=function(t){return this._results.some(t)},t.prototype.toArray=function(){return this._results.slice()},t.prototype[Dt()]=function(){return this._results[Dt()]()},t.prototype.toString=function(){return this._results.toString()},t.prototype.reset=function(t){this._results=function t(e){return e.reduce(function(e,n){var r=Array.isArray(n)?t(n):n;return e.concat(r)},[])}(t),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]},t.prototype.notifyOnChanges=function(){this.changes.emit(this)},t.prototype.setDirty=function(){this.dirty=!0},t.prototype.destroy=function(){this.changes.complete(),this.changes.unsubscribe()},t}(),Cr=function(){return function(){}}(),Sr={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},xr=function(){function t(t,e){this._compiler=t,this._config=e||Sr}return t.prototype.load=function(t){return this._compiler instanceof Kn?this.loadFactory(t):this.loadAndCompile(t)},t.prototype.loadAndCompile=function(t){var e=this,r=l(t.split("#"),2),o=r[0],i=r[1];return void 0===i&&(i="default"),n("crnd")(o).then(function(t){return t[i]}).then(function(t){return Er(t,o,i)}).then(function(t){return e._compiler.compileModuleAsync(t)})},t.prototype.loadFactory=function(t){var e=l(t.split("#"),2),r=e[0],o=e[1],i="NgFactory";return void 0===o&&(o="default",i=""),n("crnd")(this._config.factoryPathPrefix+r+this._config.factoryPathSuffix).then(function(t){return t[o+i]}).then(function(t){return Er(t,r,o)})},t}();function Er(t,e,n){if(!t)throw new Error("Cannot find '"+n+"' in '"+e+"'");return t}var Tr=function(){function t(){}return t.__NG_ELEMENT_ID__=function(){return kr(t,De)},t}(),kr=ie,Pr=function(){function t(){}return t.__NG_ELEMENT_ID__=function(){return Rr()},t}(),Rr=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e]},Ar=function(){return function(t,e){this.name=t,this.callback=e}}(),Ir=function(){function t(t,e,n){this.listeners=[],this.parent=null,this._debugContext=n,this.nativeNode=t,e&&e instanceof Or&&e.addChild(this)}return Object.defineProperty(t.prototype,"injector",{get:function(){return this._debugContext.injector},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentInstance",{get:function(){return this._debugContext.component},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this._debugContext.context},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"references",{get:function(){return this._debugContext.references},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"providerTokens",{get:function(){return this._debugContext.providerTokens},enumerable:!0,configurable:!0}),t}(),Or=function(t){function e(e,n,r){var o=t.call(this,e,n,r)||this;return o.properties={},o.attributes={},o.classes={},o.styles={},o.childNodes=[],o.nativeElement=e,o}return o(e,t),e.prototype.addChild=function(t){t&&(this.childNodes.push(t),t.parent=this)},e.prototype.removeChild=function(t){var e=this.childNodes.indexOf(t);-1!==e&&(t.parent=null,this.childNodes.splice(e,1))},e.prototype.insertChildrenAfter=function(t,e){var n,r=this,o=this.childNodes.indexOf(t);-1!==o&&((n=this.childNodes).splice.apply(n,c([o+1,0],e)),e.forEach(function(e){e.parent&&e.parent.removeChild(e),t.parent=r}))},e.prototype.insertBefore=function(t,e){var n=this.childNodes.indexOf(t);-1===n?this.addChild(e):(e.parent&&e.parent.removeChild(e),e.parent=this,this.childNodes.splice(n,0,e))},e.prototype.query=function(t){return this.queryAll(t)[0]||null},e.prototype.queryAll=function(t){var e=[];return function t(e,n,r){e.childNodes.forEach(function(e){e instanceof Or&&(n(e)&&r.push(e),t(e,n,r))})}(this,t,e),e},e.prototype.queryAllNodes=function(t){var e=[];return function t(e,n,r){e instanceof Or&&e.childNodes.forEach(function(e){n(e)&&r.push(e),e instanceof Or&&t(e,n,r)})}(this,t,e),e},Object.defineProperty(e.prototype,"children",{get:function(){return this.childNodes.filter(function(t){return t instanceof e})},enumerable:!0,configurable:!0}),e.prototype.triggerEventHandler=function(t,e){this.listeners.forEach(function(n){n.name==t&&n.callback(e)})},e}(Ir),Nr=new Map,Mr=function(t){return Nr.get(t)||null};function Dr(t){Nr.set(t.nativeNode,t)}var jr=function(){function t(){}return t.prototype.supports=function(t){return re(t)},t.prototype.create=function(t){return new Lr(t)},t}(),Ur=function(t,e){return e},Lr=function(){function t(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||Ur}return t.prototype.forEachItem=function(t){var e;for(e=this._itHead;null!==e;e=e._next)t(e)},t.prototype.forEachOperation=function(t){for(var e=this._itHead,n=this._removalsHead,r=0,o=null;e||n;){var i=!n||e&&e.currentIndex<zr(n,r,o)?e:n,a=zr(i,r,o),u=i.currentIndex;if(i===n)r--,n=n._nextRemoved;else if(e=e._next,null==i.previousIndex)r++;else{o||(o=[]);var s=a-r,l=u-r;if(s!=l){for(var c=0;c<s;c++){var f=c<o.length?o[c]:o[c]=0,p=f+c;l<=p&&p<s&&(o[c]=f+1)}o[i.previousIndex]=l-s}}a!==u&&t(i,a,u)}},t.prototype.forEachPreviousItem=function(t){var e;for(e=this._previousItHead;null!==e;e=e._nextPrevious)t(e)},t.prototype.forEachAddedItem=function(t){var e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)},t.prototype.forEachMovedItem=function(t){var e;for(e=this._movesHead;null!==e;e=e._nextMoved)t(e)},t.prototype.forEachRemovedItem=function(t){var e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)},t.prototype.forEachIdentityChange=function(t){var e;for(e=this._identityChangesHead;null!==e;e=e._nextIdentityChange)t(e)},t.prototype.diff=function(t){if(null==t&&(t=[]),!re(t))throw new Error("Error trying to diff '"+Lt(t)+"'. Only arrays and iterables are allowed");return this.check(t)?this:null},t.prototype.onDestroy=function(){},t.prototype.check=function(t){var e=this;this._reset();var n,r,o,i=this._itHead,a=!1;if(Array.isArray(t)){this.length=t.length;for(var u=0;u<this.length;u++)o=this._trackByFn(u,r=t[u]),null!==i&&Ut(i.trackById,o)?(a&&(i=this._verifyReinsertion(i,r,o,u)),Ut(i.item,r)||this._addIdentityChange(i,r)):(i=this._mismatch(i,r,o,u),a=!0),i=i._next}else n=0,function(t,e){if(Array.isArray(t))for(var n=0;n<t.length;n++)e(t[n]);else for(var r=t[Dt()](),o=void 0;!(o=r.next()).done;)e(o.value)}(t,function(t){o=e._trackByFn(n,t),null!==i&&Ut(i.trackById,o)?(a&&(i=e._verifyReinsertion(i,t,o,n)),Ut(i.item,t)||e._addIdentityChange(i,t)):(i=e._mismatch(i,t,o,n),a=!0),i=i._next,n++}),this.length=n;return this._truncate(i),this.collection=t,this.isDirty},Object.defineProperty(t.prototype,"isDirty",{get:function(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead},enumerable:!0,configurable:!0}),t.prototype._reset=function(){if(this.isDirty){var t=void 0,e=void 0;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=e)t.previousIndex=t.currentIndex,e=t._nextMoved;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}},t.prototype._mismatch=function(t,e,n,r){var o;return null===t?o=this._itTail:(o=t._prev,this._remove(t)),null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(Ut(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,o,r)):null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Ut(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,o,r)):t=this._addAfter(new Hr(e,n),o,r),t},t.prototype._verifyReinsertion=function(t,e,n,r){var o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==o?t=this._reinsertAfter(o,t._prev,r):t.currentIndex!=r&&(t.currentIndex=r,this._addToMoves(t,r)),t},t.prototype._truncate=function(t){for(;null!==t;){var e=t._next;this._addToRemovals(this._unlink(t)),t=e}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)},t.prototype._reinsertAfter=function(t,e,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);var r=t._prevRemoved,o=t._nextRemoved;return null===r?this._removalsHead=o:r._nextRemoved=o,null===o?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(t,e,n),this._addToMoves(t,n),t},t.prototype._moveAfter=function(t,e,n){return this._unlink(t),this._insertAfter(t,e,n),this._addToMoves(t,n),t},t.prototype._addAfter=function(t,e,n){return this._insertAfter(t,e,n),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t},t.prototype._insertAfter=function(t,e,n){var r=null===e?this._itHead:e._next;return t._next=r,t._prev=e,null===r?this._itTail=t:r._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new Fr),this._linkedRecords.put(t),t.currentIndex=n,t},t.prototype._remove=function(t){return this._addToRemovals(this._unlink(t))},t.prototype._unlink=function(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);var e=t._prev,n=t._next;return null===e?this._itHead=n:e._next=n,null===n?this._itTail=e:n._prev=e,t},t.prototype._addToMoves=function(t,e){return t.previousIndex===e?t:(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t,t)},t.prototype._addToRemovals=function(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Fr),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t},t.prototype._addIdentityChange=function(t,e){return t.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t},t}(),Hr=function(){return function(t,e){this.item=t,this.trackById=e,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}(),Vr=function(){function t(){this._head=null,this._tail=null}return t.prototype.add=function(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)},t.prototype.get=function(t,e){var n;for(n=this._head;null!==n;n=n._nextDup)if((null===e||e<=n.currentIndex)&&Ut(n.trackById,t))return n;return null},t.prototype.remove=function(t){var e=t._prevDup,n=t._nextDup;return null===e?this._head=n:e._nextDup=n,null===n?this._tail=e:n._prevDup=e,null===this._head},t}(),Fr=function(){function t(){this.map=new Map}return t.prototype.put=function(t){var e=t.trackById,n=this.map.get(e);n||(n=new Vr,this.map.set(e,n)),n.add(t)},t.prototype.get=function(t,e){var n=this.map.get(t);return n?n.get(t,e):null},t.prototype.remove=function(t){var e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t},Object.defineProperty(t.prototype,"isEmpty",{get:function(){return 0===this.map.size},enumerable:!0,configurable:!0}),t.prototype.clear=function(){this.map.clear()},t}();function zr(t,e,n){var r=t.previousIndex;if(null===r)return r;var o=0;return n&&r<n.length&&(o=n[r]),r+e+o}var Br=function(){function t(){}return t.prototype.supports=function(t){return t instanceof Map||oe(t)},t.prototype.create=function(){return new qr},t}(),qr=function(){function t(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}return Object.defineProperty(t.prototype,"isDirty",{get:function(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead},enumerable:!0,configurable:!0}),t.prototype.forEachItem=function(t){var e;for(e=this._mapHead;null!==e;e=e._next)t(e)},t.prototype.forEachPreviousItem=function(t){var e;for(e=this._previousMapHead;null!==e;e=e._nextPrevious)t(e)},t.prototype.forEachChangedItem=function(t){var e;for(e=this._changesHead;null!==e;e=e._nextChanged)t(e)},t.prototype.forEachAddedItem=function(t){var e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)},t.prototype.forEachRemovedItem=function(t){var e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)},t.prototype.diff=function(t){if(t){if(!(t instanceof Map||oe(t)))throw new Error("Error trying to diff '"+Lt(t)+"'. Only maps and objects are allowed")}else t=new Map;return this.check(t)?this:null},t.prototype.onDestroy=function(){},t.prototype.check=function(t){var e=this;this._reset();var n=this._mapHead;if(this._appendAfter=null,this._forEach(t,function(t,r){if(n&&n.key===r)e._maybeAddToChanges(n,t),e._appendAfter=n,n=n._next;else{var o=e._getOrCreateRecordForKey(r,t);n=e._insertBeforeOrAppend(n,o)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(var r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty},t.prototype._insertBeforeOrAppend=function(t,e){if(t){var n=t._prev;return e._next=t,e._prev=n,t._prev=e,n&&(n._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null},t.prototype._getOrCreateRecordForKey=function(t,e){if(this._records.has(t)){var n=this._records.get(t);this._maybeAddToChanges(n,e);var r=n._prev,o=n._next;return r&&(r._next=o),o&&(o._prev=r),n._next=null,n._prev=null,n}var i=new Zr(t);return this._records.set(t,i),i.currentValue=e,this._addToAdditions(i),i},t.prototype._reset=function(){if(this.isDirty){var t=void 0;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}},t.prototype._maybeAddToChanges=function(t,e){Ut(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))},t.prototype._addToAdditions=function(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)},t.prototype._addToChanges=function(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)},t.prototype._forEach=function(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach(function(n){return e(t[n],n)})},t}(),Zr=function(){return function(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}(),Gr=function(){function t(t){this.factories=t}return t.create=function(e,n){if(null!=n){var r=n.factories.slice();e=e.concat(r)}return new t(e)},t.extend=function(e){return{provide:t,useFactory:function(n){if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return t.create(e,n)},deps:[[t,new Wt,new Zt]]}},t.prototype.find=function(t){var e,n=this.factories.find(function(e){return e.supports(t)});if(null!=n)return n;throw new Error("Cannot find a differ supporting object '"+t+"' of type '"+((e=t).name||typeof e)+"'")},t.ngInjectableDef=_t({providedIn:"root",factory:function(){return new t([new jr])}}),t}(),Wr=function(){function t(t){this.factories=t}return t.create=function(e,n){if(n){var r=n.factories.slice();e=e.concat(r)}return new t(e)},t.extend=function(e){return{provide:t,useFactory:function(n){if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return t.create(e,n)},deps:[[t,new Wt,new Zt]]}},t.prototype.find=function(t){var e=this.factories.find(function(e){return e.supports(t)});if(e)return e;throw new Error("Cannot find a differ supporting object '"+t+"'")},t.ngInjectableDef=_t({providedIn:"root",factory:function(){return new t([new Br])}}),t}(),Qr=[new Br],Kr=new Gr([new jr]),Yr=new Wr(Qr),Jr=vr(null,"core",[{provide:Hn,useValue:"unknown"},{provide:yr,deps:[ce]},{provide:fr,deps:[]},{provide:Fn,deps:[]}]),$r=new St("LocaleId");function Xr(){return Kr}function to(){return Yr}function eo(t){return t||"en-US"}var no=function(){return function(t){}}();function ro(t,e,n){var r=t.state,o=1792&r;return o===e?(t.state=-1793&r|n,t.initIndex=-1,!0):o===n}function oo(t,e,n){return(1792&t.state)===e&&t.initIndex<=n&&(t.initIndex=n+1,!0)}function io(t,e){return t.nodes[e]}function ao(t,e){return t.nodes[e]}function uo(t,e){return t.nodes[e]}function so(t,e){return t.nodes[e]}function lo(t,e){return t.nodes[e]}var co={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 fo(t,e,n,r){var o="ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '"+e+"'. Current value: '"+n+"'.";return r&&(o+=" It seems like the view has been created after its parent and its children have been dirty checked. Has it been created in a change detection hook ?"),function(t,e){var n=new Error(t);return po(n,e),n}(o,t)}function po(t,e){t[xn]=e,t[Tn]=e.logError.bind(e)}function ho(t){return new Error("ViewDestroyedError: Attempt to use a destroyed view: "+t)}var vo=function(){},go=new Map;function yo(t){var e=go.get(t);return e||(e=Lt(t)+"_"+go.size,go.set(t,e)),e}var mo="$$undefined",bo="$$empty";function wo(t){return{id:mo,styles:t.styles,encapsulation:t.encapsulation,data:t.data}}var _o=0;function Co(t,e,n,r){return!(!(2&t.state)&&Ut(t.oldValues[e.bindingIndex+n],r))}function So(t,e,n,r){return!!Co(t,e,n,r)&&(t.oldValues[e.bindingIndex+n]=r,!0)}function xo(t,e,n,r){var o=t.oldValues[e.bindingIndex+n];if(1&t.state||!te(o,r)){var i=e.bindings[n].name;throw fo(co.createDebugContext(t,e.nodeIndex),i+": "+o,i+": "+r,0!=(1&t.state))}}function Eo(t){for(var e=t;e;)2&e.def.flags&&(e.state|=8),e=e.viewContainerParent||e.parent}function To(t,e){for(var n=t;n&&n!==e;)n.state|=64,n=n.viewContainerParent||n.parent}function ko(t,e,n,r){try{return Eo(33554432&t.def.nodes[e].flags?ao(t,e).componentView:t),co.handleEvent(t,e,n,r)}catch(o){t.root.errorHandler.handleError(o)}}function Po(t){return t.parent?ao(t.parent,t.parentNodeDef.nodeIndex):null}function Ro(t){return t.parent?t.parentNodeDef.parent:null}function Ao(t,e){switch(201347067&e.flags){case 1:return ao(t,e.nodeIndex).renderElement;case 2:return io(t,e.nodeIndex).renderText}}function Io(t){return!!t.parent&&!!(32768&t.parentNodeDef.flags)}function Oo(t){return!(!t.parent||32768&t.parentNodeDef.flags)}function No(t){var e={},n=0,r={};return t&&t.forEach(function(t){var o=l(t,2),i=o[0],a=o[1];"number"==typeof i?(e[i]=a,n|=function(t){return 1<<t%32}(i)):r[i]=a}),{matchedQueries:e,references:r,matchedQueryIds:n}}function Mo(t,e){return t.map(function(t){var n,r,o;return Array.isArray(t)?(o=(n=l(t,2))[0],r=n[1]):(o=0,r=t),r&&("function"==typeof r||"object"==typeof r)&&e&&Object.defineProperty(r,ae,{value:e,configurable:!0}),{flags:o,token:r,tokenKey:yo(r)}})}function Do(t,e,n){var r=n.renderParent;return r?0==(1&r.flags)||0==(33554432&r.flags)||r.element.componentRendererType&&r.element.componentRendererType.encapsulation===Bt.Native?ao(t,n.renderParent.nodeIndex).renderElement:void 0:e}var jo=new WeakMap;function Uo(t){var e=jo.get(t);return e||((e=t(function(){return vo})).factory=t,jo.set(t,e)),e}function Lo(t,e,n,r,o){3===e&&(n=t.renderer.parentNode(Ao(t,t.def.lastRenderRootNode))),Ho(t,e,0,t.def.nodes.length-1,n,r,o)}function Ho(t,e,n,r,o,i,a){for(var u=n;u<=r;u++){var s=t.def.nodes[u];11&s.flags&&Fo(t,s,e,o,i,a),u+=s.childCount}}function Vo(t,e,n,r,o,i){for(var a=t;a&&!Io(a);)a=a.parent;for(var u=a.parent,s=Ro(a),l=s.nodeIndex+s.childCount,c=s.nodeIndex+1;c<=l;c++){var f=u.def.nodes[c];f.ngContentIndex===e&&Fo(u,f,n,r,o,i),c+=f.childCount}if(!u.parent){var p=t.root.projectableNodes[e];if(p)for(c=0;c<p.length;c++)zo(t,p[c],n,r,o,i)}}function Fo(t,e,n,r,o,i){if(8&e.flags)Vo(t,e.ngContent.index,n,r,o,i);else{var a=Ao(t,e);if(3===n&&33554432&e.flags&&48&e.bindingFlags?(16&e.bindingFlags&&zo(t,a,n,r,o,i),32&e.bindingFlags&&zo(ao(t,e.nodeIndex).componentView,a,n,r,o,i)):zo(t,a,n,r,o,i),16777216&e.flags)for(var u=ao(t,e.nodeIndex).viewContainer._embeddedViews,s=0;s<u.length;s++)Lo(u[s],n,r,o,i);1&e.flags&&!e.element.name&&Ho(t,n,e.nodeIndex+1,e.nodeIndex+e.childCount,r,o,i)}}function zo(t,e,n,r,o,i){var a=t.renderer;switch(n){case 1:a.appendChild(r,e);break;case 2:a.insertBefore(r,e,o);break;case 3:a.removeChild(r,e);break;case 0:i.push(e)}}var Bo=/^:([^:]+):(.+)$/;function qo(t){if(":"===t[0]){var e=t.match(Bo);return[e[1],e[2]]}return["",t]}function Zo(t){for(var e=0,n=0;n<t.length;n++)e|=t[n].flags;return e}function Go(t,e,n,r,o,i,a,u,s,c,f,p){var h;void 0===a&&(a=[]),c||(c=vo);var d=No(n),v=d.matchedQueries,g=d.references,y=d.matchedQueryIds,m=null,b=null;i&&(m=(h=l(qo(i),2))[0],b=h[1]),u=u||[];for(var w=new Array(u.length),_=0;_<u.length;_++){var C=l(u[_],3),S=C[0],x=C[2],E=l(qo(C[1]),2),T=E[0],k=E[1],P=void 0,R=void 0;switch(15&S){case 4:R=x;break;case 1:case 8:P=x}w[_]={flags:S,ns:T,name:k,nonMinifiedName:k,securityContext:P,suffix:R}}s=s||[];var A=new Array(s.length);for(_=0;_<s.length;_++){var I=l(s[_],2);A[_]={type:0,target:I[0],eventName:I[1],propName:null}}var O=(a=a||[]).map(function(t){var e=l(t,2),n=e[1],r=l(qo(e[0]),2);return[r[0],r[1],n]});return p=function(t){if(t&&t.id===mo){var e=null!=t.encapsulation&&t.encapsulation!==Bt.None||t.styles.length||Object.keys(t.data).length;t.id=e?"c"+_o++:bo}return t&&t.id===bo&&(t=null),t||null}(p),f&&(e|=33554432),{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:t,flags:e|=1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:v,matchedQueryIds:y,references:g,ngContentIndex:r,childCount:o,bindings:w,bindingFlags:Zo(w),outputs:A,element:{ns:m,name:b,attrs:O,template:null,componentProvider:null,componentView:f||null,componentRendererType:p,publicProviders:null,allProviders:null,handleEvent:c||vo},provider:null,text:null,query:null,ngContent:null}}function Wo(t,e,n){var r,o=n.element,i=t.root.selectorOrNode,a=t.renderer;if(t.parent||!i){r=o.name?a.createElement(o.name,o.ns):a.createComment("");var u=Do(t,e,n);u&&a.appendChild(u,r)}else r=a.selectRootElement(i,!!o.componentRendererType&&o.componentRendererType.encapsulation===Bt.ShadowDom);if(o.attrs)for(var s=0;s<o.attrs.length;s++){var c=l(o.attrs[s],3);a.setAttribute(r,c[1],c[2],c[0])}return r}function Qo(t,e,n,r){for(var o=0;o<n.outputs.length;o++){var i=n.outputs[o],a=Ko(t,n.nodeIndex,(f=i.eventName,(c=i.target)?c+":"+f:f)),u=i.target,s=t;"component"===i.target&&(u=null,s=e);var l=s.renderer.listen(u||r,i.eventName,a);t.disposables[n.outputIndex+o]=l}var c,f}function Ko(t,e,n){return function(r){return ko(t,e,n,r)}}function Yo(t,e,n,r){if(!So(t,e,n,r))return!1;var o=e.bindings[n],i=ao(t,e.nodeIndex),a=i.renderElement,u=o.name;switch(15&o.flags){case 1:!function(t,e,n,r,o,i){var a=e.securityContext,u=a?t.root.sanitizer.sanitize(a,i):i;u=null!=u?u.toString():null;var s=t.renderer;null!=i?s.setAttribute(n,o,u,r):s.removeAttribute(n,o,r)}(t,o,a,o.ns,u,r);break;case 2:!function(t,e,n,r){var o=t.renderer;r?o.addClass(e,n):o.removeClass(e,n)}(t,a,u,r);break;case 4:!function(t,e,n,r,o){var i=t.root.sanitizer.sanitize(ze.STYLE,o);if(null!=i){i=i.toString();var a=e.suffix;null!=a&&(i+=a)}else i=null;var u=t.renderer;null!=i?u.setStyle(n,r,i):u.removeStyle(n,r)}(t,o,a,u,r);break;case 8:!function(t,e,n,r,o){var i=e.securityContext,a=i?t.root.sanitizer.sanitize(i,o):o;t.renderer.setProperty(n,r,a)}(33554432&e.flags&&32&o.flags?i.componentView:t,o,a,u,r)}return!0}var Jo=new Object,$o=yo(ce),Xo=yo(se),ti=yo(Ne);function ei(t,e,n,r){return n=Ft(n),{index:-1,deps:Mo(r,Lt(e)),flags:t,token:e,value:n}}function ni(t,e,n){void 0===n&&(n=ce.THROW_IF_NOT_FOUND);var r,o,i=Yt(t);try{if(8&e.flags)return e.token;if(2&e.flags&&(n=null),1&e.flags)return t._parent.get(e.token,n);var a=e.tokenKey;switch(a){case $o:case Xo:case ti:return t}var u,s=t._def.providersByKey[a];if(s){var l=t._providers[s.index];return void 0===l&&(l=t._providers[s.index]=ri(t,s)),l===Jo?void 0:l}if((u=Ct(e.token))&&(r=t,null!=(o=u).providedIn&&(function(t,e){return t._def.modules.indexOf(o.providedIn)>-1}(r)||"root"===o.providedIn&&r._def.isRoot))){var c=t._providers.length;return t._def.providersByKey[e.tokenKey]={flags:5120,value:u.factory,deps:[],index:c,token:e.token},t._providers[c]=Jo,t._providers[c]=ri(t,t._def.providersByKey[e.tokenKey])}return 4&e.flags?n:t._parent.get(e.token,n)}finally{Yt(i)}}function ri(t,e){var n;switch(201347067&e.flags){case 512:n=function(t,e,n){var r=n.length;switch(r){case 0:return new e;case 1:return new e(ni(t,n[0]));case 2:return new e(ni(t,n[0]),ni(t,n[1]));case 3:return new e(ni(t,n[0]),ni(t,n[1]),ni(t,n[2]));default:for(var o=new Array(r),i=0;i<r;i++)o[i]=ni(t,n[i]);return new(e.bind.apply(e,c([void 0],o)))}}(t,e.value,e.deps);break;case 1024:n=function(t,e,n){var r=n.length;switch(r){case 0:return e();case 1:return e(ni(t,n[0]));case 2:return e(ni(t,n[0]),ni(t,n[1]));case 3:return e(ni(t,n[0]),ni(t,n[1]),ni(t,n[2]));default:for(var o=Array(r),i=0;i<r;i++)o[i]=ni(t,n[i]);return e.apply(void 0,c(o))}}(t,e.value,e.deps);break;case 2048:n=ni(t,e.deps[0]);break;case 256:n=e.value}return n===Jo||null==n||"object"!=typeof n||131072&e.flags||"function"!=typeof n.ngOnDestroy||(e.flags|=131072),void 0===n?Jo:n}function oi(t,e){var n=t.viewContainer._embeddedViews;if((null==e||e>=n.length)&&(e=n.length-1),e<0)return null;var r=n[e];return r.viewContainerParent=null,si(n,e),co.dirtyParentQueries(r),ai(r),r}function ii(t,e,n){var r=e?Ao(e,e.def.lastRenderRootNode):t.renderElement,o=n.renderer.parentNode(r),i=n.renderer.nextSibling(r);Lo(n,2,o,i,void 0)}function ai(t){Lo(t,3,null,null,void 0)}function ui(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function si(t,e){e>=t.length-1?t.pop():t.splice(e,1)}var li=new Object;function ci(t,e,n,r,o,i){return new fi(t,e,n,r,o,i)}var fi=function(t){function e(e,n,r,o,i,a){var u=t.call(this)||this;return u.selector=e,u.componentType=n,u._inputs=o,u._outputs=i,u.ngContentSelectors=a,u.viewDefFactory=r,u}return o(e,t),Object.defineProperty(e.prototype,"inputs",{get:function(){var t=[],e=this._inputs;for(var n in e)t.push({propName:n,templateName:e[n]});return t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"outputs",{get:function(){var t=[];for(var e in this._outputs)t.push({propName:e,templateName:this._outputs[e]});return t},enumerable:!0,configurable:!0}),e.prototype.create=function(t,e,n,r){if(!r)throw new Error("ngModule should be provided");var o=Uo(this.viewDefFactory),i=o.nodes[0].element.componentProvider.nodeIndex,a=co.createRootView(t,e||[],n,o,r,li),u=uo(a,i).instance;return n&&a.renderer.setAttribute(ao(a,0).renderElement,"ng-version",qe.full),new pi(a,new gi(a),u)},e}(Te),pi=function(t){function e(e,n,r){var o=t.call(this)||this;return o._view=e,o._viewRef=n,o._component=r,o._elDef=o._view.def.nodes[0],o.hostView=n,o.changeDetectorRef=n,o.instance=r,o}return o(e,t),Object.defineProperty(e.prototype,"location",{get:function(){return new De(ao(this._view,this._elDef.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return new wi(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentType",{get:function(){return this._component.constructor},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){this._viewRef.destroy()},e.prototype.onDestroy=function(t){this._viewRef.onDestroy(t)},e}(Ee);function hi(t,e,n){return new di(t,e,n)}var di=function(){function t(t,e,n){this._view=t,this._elDef=e,this._data=n,this._embeddedViews=[]}return Object.defineProperty(t.prototype,"element",{get:function(){return new De(this._data.renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return new wi(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parentInjector",{get:function(){for(var t=this._view,e=this._elDef.parent;!e&&t;)e=Ro(t),t=t.parent;return t?new wi(t,e):new wi(this._view,null)},enumerable:!0,configurable:!0}),t.prototype.clear=function(){for(var t=this._embeddedViews.length-1;t>=0;t--){var e=oi(this._data,t);co.destroyView(e)}},t.prototype.get=function(t){var e=this._embeddedViews[t];if(e){var n=new gi(e);return n.attachToViewContainerRef(this),n}return null},Object.defineProperty(t.prototype,"length",{get:function(){return this._embeddedViews.length},enumerable:!0,configurable:!0}),t.prototype.createEmbeddedView=function(t,e,n){var r=t.createEmbeddedView(e||{});return this.insert(r,n),r},t.prototype.createComponent=function(t,e,n,r,o){var i=n||this.parentInjector;o||t instanceof Oe||(o=i.get(Ne));var a=t.create(i,r,void 0,o);return this.insert(a.hostView,e),a},t.prototype.insert=function(t,e){if(t.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var n,r,o,i,a=t;return i=(n=this._data).viewContainer._embeddedViews,null==(r=e)&&(r=i.length),(o=a._view).viewContainerParent=this._view,ui(i,r,o),function(t,e){var n=Po(e);if(n&&n!==t&&!(16&e.state)){e.state|=16;var r=n.template._projectedViews;r||(r=n.template._projectedViews=[]),r.push(e),function(t,n){if(!(4&n.flags)){e.parent.def.nodeFlags|=4,n.flags|=4;for(var r=n.parent;r;)r.childFlags|=4,r=r.parent}}(0,e.parentNodeDef)}}(n,o),co.dirtyParentQueries(o),ii(n,r>0?i[r-1]:null,o),a.attachToViewContainerRef(this),t},t.prototype.move=function(t,e){if(t.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");var n,r,o,i,a,u=this._embeddedViews.indexOf(t._view);return o=e,a=(i=(n=this._data).viewContainer._embeddedViews)[r=u],si(i,r),null==o&&(o=i.length),ui(i,o,a),co.dirtyParentQueries(a),ai(a),ii(n,o>0?i[o-1]:null,a),t},t.prototype.indexOf=function(t){return this._embeddedViews.indexOf(t._view)},t.prototype.remove=function(t){var e=oi(this._data,t);e&&co.destroyView(e)},t.prototype.detach=function(t){var e=oi(this._data,t);return e?new gi(e):null},t}();function vi(t){return new gi(t)}var gi=function(){function t(t){this._view=t,this._viewContainerRef=null,this._appRef=null}return Object.defineProperty(t.prototype,"rootNodes",{get:function(){return Lo(this._view,0,void 0,void 0,t=[]),t;var t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this._view.context},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"destroyed",{get:function(){return 0!=(128&this._view.state)},enumerable:!0,configurable:!0}),t.prototype.markForCheck=function(){Eo(this._view)},t.prototype.detach=function(){this._view.state&=-5},t.prototype.detectChanges=function(){var t=this._view.root.rendererFactory;t.begin&&t.begin();try{co.checkAndUpdateView(this._view)}finally{t.end&&t.end()}},t.prototype.checkNoChanges=function(){co.checkNoChangesView(this._view)},t.prototype.reattach=function(){this._view.state|=4},t.prototype.onDestroy=function(t){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(t)},t.prototype.destroy=function(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),co.destroyView(this._view)},t.prototype.detachFromAppRef=function(){this._appRef=null,ai(this._view),co.dirtyParentQueries(this._view)},t.prototype.attachToAppRef=function(t){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t},t.prototype.attachToViewContainerRef=function(t){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=t},t}();function yi(t,e){return new mi(t,e)}var mi=function(t){function e(e,n){var r=t.call(this)||this;return r._parentView=e,r._def=n,r}return o(e,t),e.prototype.createEmbeddedView=function(t){return new gi(co.createEmbeddedView(this._parentView,this._def,this._def.element.template,t))},Object.defineProperty(e.prototype,"elementRef",{get:function(){return new De(ao(this._parentView,this._def.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),e}(yn);function bi(t,e){return new wi(t,e)}var wi=function(){function t(t,e){this.view=t,this.elDef=e}return t.prototype.get=function(t,e){return void 0===e&&(e=ce.THROW_IF_NOT_FOUND),co.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:t,tokenKey:yo(t)},e)},t}();function _i(t,e){var n=t.def.nodes[e];if(1&n.flags){var r=ao(t,n.nodeIndex);return n.element.template?r.template:r.renderElement}if(2&n.flags)return io(t,n.nodeIndex).renderText;if(20240&n.flags)return uo(t,n.nodeIndex).instance;throw new Error("Illegal state: read nodeValue for node index "+e)}function Ci(t){return new Si(t.renderer)}var Si=function(){function t(t){this.delegate=t}return t.prototype.selectRootElement=function(t){return this.delegate.selectRootElement(t)},t.prototype.createElement=function(t,e){var n=l(qo(e),2),r=this.delegate.createElement(n[1],n[0]);return t&&this.delegate.appendChild(t,r),r},t.prototype.createViewRoot=function(t){return t},t.prototype.createTemplateAnchor=function(t){var e=this.delegate.createComment("");return t&&this.delegate.appendChild(t,e),e},t.prototype.createText=function(t,e){var n=this.delegate.createText(e);return t&&this.delegate.appendChild(t,n),n},t.prototype.projectNodes=function(t,e){for(var n=0;n<e.length;n++)this.delegate.appendChild(t,e[n])},t.prototype.attachViewAfter=function(t,e){for(var n=this.delegate.parentNode(t),r=this.delegate.nextSibling(t),o=0;o<e.length;o++)this.delegate.insertBefore(n,e[o],r)},t.prototype.detachView=function(t){for(var e=0;e<t.length;e++){var n=t[e],r=this.delegate.parentNode(n);this.delegate.removeChild(r,n)}},t.prototype.destroyView=function(t,e){for(var n=0;n<e.length;n++)this.delegate.destroyNode(e[n])},t.prototype.listen=function(t,e,n){return this.delegate.listen(t,e,n)},t.prototype.listenGlobal=function(t,e,n){return this.delegate.listen(t,e,n)},t.prototype.setElementProperty=function(t,e,n){this.delegate.setProperty(t,e,n)},t.prototype.setElementAttribute=function(t,e,n){var r=l(qo(e),2),o=r[0],i=r[1];null!=n?this.delegate.setAttribute(t,i,n,o):this.delegate.removeAttribute(t,i,o)},t.prototype.setBindingDebugInfo=function(t,e,n){},t.prototype.setElementClass=function(t,e,n){n?this.delegate.addClass(t,e):this.delegate.removeClass(t,e)},t.prototype.setElementStyle=function(t,e,n){null!=n?this.delegate.setStyle(t,e,n):this.delegate.removeStyle(t,e)},t.prototype.invokeElementMethod=function(t,e,n){t[e].apply(t,n)},t.prototype.setText=function(t,e){this.delegate.setValue(t,e)},t.prototype.animate=function(){throw new Error("Renderer.animate is no longer supported!")},t}();function xi(t,e,n,r){return new Ei(t,e,n,r)}var Ei=function(){function t(t,e,n,r){this._moduleType=t,this._parent=e,this._bootstrapComponents=n,this._def=r,this._destroyListeners=[],this._destroyed=!1,this.injector=this,function(t){for(var e=t._def,n=t._providers=new Array(e.providers.length),r=0;r<e.providers.length;r++){var o=e.providers[r];4096&o.flags||void 0===n[r]&&(n[r]=ri(t,o))}}(this)}return t.prototype.get=function(t,e,n){void 0===e&&(e=ce.THROW_IF_NOT_FOUND),void 0===n&&(n=Qt.Default);var r=0;return n&Qt.SkipSelf?r|=1:n&Qt.Self&&(r|=4),ni(this,{token:t,tokenKey:yo(t),flags:r},e)},Object.defineProperty(t.prototype,"instance",{get:function(){return this.get(this._moduleType)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentFactoryResolver",{get:function(){return this.get(Ae)},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){if(this._destroyed)throw new Error("The ng module "+Lt(this.instance.constructor)+" has already been destroyed.");this._destroyed=!0,function(t,e){for(var n=t._def,r=new Set,o=0;o<n.providers.length;o++)if(131072&n.providers[o].flags){var i=t._providers[o];if(i&&i!==Jo){var a=i.ngOnDestroy;"function"!=typeof a||r.has(i)||(a.apply(i),r.add(i))}}}(this),this._destroyListeners.forEach(function(t){return t()})},t.prototype.onDestroy=function(t){this._destroyListeners.push(t)},t}(),Ti=yo(Ue),ki=yo(Ve),Pi=yo(De),Ri=yo(Tr),Ai=yo(yn),Ii=yo(Pr),Oi=yo(ce),Ni=yo(se);function Mi(t,e,n,r,o,i,a,u){var s=[];if(a)for(var c in a){var f=l(a[c],2);s[f[0]]={flags:8,name:c,nonMinifiedName:f[1],ns:null,securityContext:null,suffix:null}}var p=[];if(u)for(var h in u)p.push({type:1,propName:h,target:null,eventName:u[h]});return function(t,e,n,r,o,i,a,u,s){var l=No(n),c=l.matchedQueries,f=l.references,p=l.matchedQueryIds;s||(s=[]),u||(u=[]),i=Ft(i);var h=Mo(a,Lt(o));return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:t,flags:e,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:c,matchedQueryIds:p,references:f,ngContentIndex:-1,childCount:r,bindings:u,bindingFlags:Zo(u),outputs:s,element:null,provider:{token:o,value:i,deps:h},text:null,query:null,ngContent:null}}(t,e|=16384,n,r,o,o,i,s,p)}function Di(t,e){return Hi(t,e)}function ji(t,e){for(var n=t;n.parent&&!Io(n);)n=n.parent;return Vi(n.parent,Ro(n),!0,e.provider.value,e.provider.deps)}function Ui(t,e){var n=Vi(t,e.parent,(32768&e.flags)>0,e.provider.value,e.provider.deps);if(e.outputs.length)for(var r=0;r<e.outputs.length;r++){var o=e.outputs[r],i=n[o.propName];if(!On(i))throw new Error("@Output "+o.propName+" not initialized in '"+n.constructor.name+"'.");var a=i.subscribe(Li(t,e.parent.nodeIndex,o.eventName));t.disposables[e.outputIndex+r]=a.unsubscribe.bind(a)}return n}function Li(t,e,n){return function(r){return ko(t,e,n,r)}}function Hi(t,e){var n=(8192&e.flags)>0,r=e.provider;switch(201347067&e.flags){case 512:return Vi(t,e.parent,n,r.value,r.deps);case 1024:return function(t,e,n,r,o){var i=o.length;switch(i){case 0:return r();case 1:return r(zi(t,e,n,o[0]));case 2:return r(zi(t,e,n,o[0]),zi(t,e,n,o[1]));case 3:return r(zi(t,e,n,o[0]),zi(t,e,n,o[1]),zi(t,e,n,o[2]));default:for(var a=Array(i),u=0;u<i;u++)a[u]=zi(t,e,n,o[u]);return r.apply(void 0,c(a))}}(t,e.parent,n,r.value,r.deps);case 2048:return zi(t,e.parent,n,r.deps[0]);case 256:return r.value}}function Vi(t,e,n,r,o){var i=o.length;switch(i){case 0:return new r;case 1:return new r(zi(t,e,n,o[0]));case 2:return new r(zi(t,e,n,o[0]),zi(t,e,n,o[1]));case 3:return new r(zi(t,e,n,o[0]),zi(t,e,n,o[1]),zi(t,e,n,o[2]));default:for(var a=new Array(i),u=0;u<i;u++)a[u]=zi(t,e,n,o[u]);return new(r.bind.apply(r,c([void 0],a)))}}var Fi={};function zi(t,e,n,r,o){if(void 0===o&&(o=ce.THROW_IF_NOT_FOUND),8&r.flags)return r.token;var i=t;2&r.flags&&(o=null);var a=r.tokenKey;a===Ii&&(n=!(!e||!e.element.componentView)),e&&1&r.flags&&(n=!1,e=e.parent);for(var u=t;u;){if(e)switch(a){case Ti:return Ci(Bi(u,e,n));case ki:return Bi(u,e,n).renderer;case Pi:return new De(ao(u,e.nodeIndex).renderElement);case Ri:return ao(u,e.nodeIndex).viewContainer;case Ai:if(e.element.template)return ao(u,e.nodeIndex).template;break;case Ii:return vi(Bi(u,e,n));case Oi:case Ni:return bi(u,e);default:var s=(n?e.element.allProviders:e.element.publicProviders)[a];if(s){var l=uo(u,s.nodeIndex);return l||(l={instance:Hi(u,s)},u.nodes[s.nodeIndex]=l),l.instance}}n=Io(u),e=Ro(u),u=u.parent,4&r.flags&&(u=null)}var c=i.root.injector.get(r.token,Fi);return c!==Fi||o===Fi?c:i.root.ngModule.injector.get(r.token,o)}function Bi(t,e,n){var r;if(n)r=ao(t,e.nodeIndex).componentView;else for(r=t;r.parent&&!Io(r);)r=r.parent;return r}function qi(t,e,n,r,o,i){if(32768&n.flags){var a=ao(t,n.parent.nodeIndex).componentView;2&a.def.flags&&(a.state|=8)}if(e.instance[n.bindings[r].name]=o,524288&n.flags){i=i||{};var u=ee.unwrap(t.oldValues[n.bindingIndex+r]);i[n.bindings[r].nonMinifiedName]=new ne(u,o,0!=(2&t.state))}return t.oldValues[n.bindingIndex+r]=o,i}function Zi(t,e){if(t.def.nodeFlags&e)for(var n=t.def.nodes,r=0,o=0;o<n.length;o++){var i=n[o],a=i.parent;for(!a&&i.flags&e&&Wi(t,o,i.flags&e,r++),0==(i.childFlags&e)&&(o+=i.childCount);a&&1&a.flags&&o===a.nodeIndex+a.childCount;)a.directChildFlags&e&&(r=Gi(t,a,e,r)),a=a.parent}}function Gi(t,e,n,r){for(var o=e.nodeIndex+1;o<=e.nodeIndex+e.childCount;o++){var i=t.def.nodes[o];i.flags&n&&Wi(t,o,i.flags&n,r++),o+=i.childCount}return r}function Wi(t,e,n,r){var o=uo(t,e);if(o){var i=o.instance;i&&(co.setCurrentNode(t,e),1048576&n&&oo(t,512,r)&&i.ngAfterContentInit(),2097152&n&&i.ngAfterContentChecked(),4194304&n&&oo(t,768,r)&&i.ngAfterViewInit(),8388608&n&&i.ngAfterViewChecked(),131072&n&&i.ngOnDestroy())}}function Qi(t){for(var e=t.def.nodeMatchedQueries;t.parent&&Oo(t);){var n=t.parentNodeDef;t=t.parent;for(var r=n.nodeIndex+n.childCount,o=0;o<=r;o++)67108864&(i=t.def.nodes[o]).flags&&536870912&i.flags&&(i.query.filterId&e)===i.query.filterId&&lo(t,o).setDirty(),!(1&i.flags&&o+i.childCount<n.nodeIndex)&&67108864&i.childFlags&&536870912&i.childFlags||(o+=i.childCount)}if(134217728&t.def.nodeFlags)for(o=0;o<t.def.nodes.length;o++){var i;134217728&(i=t.def.nodes[o]).flags&&536870912&i.flags&&lo(t,o).setDirty(),o+=i.childCount}}function Ki(t,e){var n=lo(t,e.nodeIndex);if(n.dirty){var r,o=void 0;if(67108864&e.flags){var i=e.parent.parent;o=Yi(t,i.nodeIndex,i.nodeIndex+i.childCount,e.query,[]),r=uo(t,e.parent.nodeIndex).instance}else 134217728&e.flags&&(o=Yi(t,0,t.def.nodes.length-1,e.query,[]),r=t.component);n.reset(o);for(var a=e.query.bindings,u=!1,s=0;s<a.length;s++){var l=a[s],c=void 0;switch(l.bindingType){case 0:c=n.first;break;case 1:c=n,u=!0}r[l.propName]=c}u&&n.notifyOnChanges()}}function Yi(t,e,n,r,o){for(var i=e;i<=n;i++){var a=t.def.nodes[i],u=a.matchedQueries[r.id];if(null!=u&&o.push(Ji(t,a,u)),1&a.flags&&a.element.template&&(a.element.template.nodeMatchedQueries&r.filterId)===r.filterId){var s=ao(t,i);if((a.childMatchedQueries&r.filterId)===r.filterId&&(Yi(t,i+1,i+a.childCount,r,o),i+=a.childCount),16777216&a.flags)for(var l=s.viewContainer._embeddedViews,c=0;c<l.length;c++){var f=l[c],p=Po(f);p&&p===s&&Yi(f,0,f.def.nodes.length-1,r,o)}var h=s.template._projectedViews;if(h)for(c=0;c<h.length;c++){var d=h[c];Yi(d,0,d.def.nodes.length-1,r,o)}}(a.childMatchedQueries&r.filterId)!==r.filterId&&(i+=a.childCount)}return o}function Ji(t,e,n){if(null!=n)switch(n){case 1:return ao(t,e.nodeIndex).renderElement;case 0:return new De(ao(t,e.nodeIndex).renderElement);case 2:return ao(t,e.nodeIndex).template;case 3:return ao(t,e.nodeIndex).viewContainer;case 4:return uo(t,e.nodeIndex).instance}}function $i(t,e,n){var r=Do(t,e,n);r&&Vo(t,n.ngContent.index,1,r,null,void 0)}function Xi(t,e,n){for(var r=new Array(n.length-1),o=1;o<n.length;o++)r[o-1]={flags:8,name:null,ns:null,nonMinifiedName:null,securityContext:null,suffix:n[o]};return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:t,flags:2,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:e,childCount:0,bindings:r,bindingFlags:8,outputs:[],element:null,provider:null,text:{prefix:n[0]},query:null,ngContent:null}}function ta(t,e,n){var r,o=t.renderer;r=o.createText(n.text.prefix);var i=Do(t,e,n);return i&&o.appendChild(i,r),{renderText:r}}function ea(t,e){return(null!=t?t.toString():"")+e.suffix}function na(t,e,n,r){for(var o=0,i=0,a=0,u=0,s=0,l=null,c=null,f=!1,p=!1,h=null,d=0;d<e.length;d++){var v=e[d];if(v.nodeIndex=d,v.parent=l,v.bindingIndex=o,v.outputIndex=i,v.renderParent=c,a|=v.flags,s|=v.matchedQueryIds,v.element){var g=v.element;g.publicProviders=l?l.element.publicProviders:Object.create(null),g.allProviders=g.publicProviders,f=!1,p=!1,v.element.template&&(s|=v.element.template.nodeMatchedQueries)}if(oa(l,v,e.length),o+=v.bindings.length,i+=v.outputs.length,!c&&3&v.flags&&(h=v),20224&v.flags){f||(f=!0,l.element.publicProviders=Object.create(l.element.publicProviders),l.element.allProviders=l.element.publicProviders);var y=0!=(32768&v.flags);0==(8192&v.flags)||y?l.element.publicProviders[yo(v.provider.token)]=v:(p||(p=!0,l.element.allProviders=Object.create(l.element.publicProviders)),l.element.allProviders[yo(v.provider.token)]=v),y&&(l.element.componentProvider=v)}if(l?(l.childFlags|=v.flags,l.directChildFlags|=v.flags,l.childMatchedQueries|=v.matchedQueryIds,v.element&&v.element.template&&(l.childMatchedQueries|=v.element.template.nodeMatchedQueries)):u|=v.flags,v.childCount>0)l=v,ra(v)||(c=v);else for(;l&&d===l.nodeIndex+l.childCount;){var m=l.parent;m&&(m.childFlags|=l.childFlags,m.childMatchedQueries|=l.childMatchedQueries),c=(l=m)&&ra(l)?l.renderParent:l}}return{factory:null,nodeFlags:a,rootNodeFlags:u,nodeMatchedQueries:s,flags:t,nodes:e,updateDirectives:n||vo,updateRenderer:r||vo,handleEvent:function(t,n,r,o){return e[n].element.handleEvent(t,r,o)},bindingCount:o,outputCount:i,lastRenderRootNode:h}}function ra(t){return 0!=(1&t.flags)&&null===t.element.name}function oa(t,e,n){var r=e.element&&e.element.template;if(r){if(!r.lastRenderRootNode)throw new Error("Illegal State: Embedded templates without nodes are not allowed!");if(r.lastRenderRootNode&&16777216&r.lastRenderRootNode.flags)throw new Error("Illegal State: Last root node of a template can't have embedded views, at index "+e.nodeIndex+"!")}if(20224&e.flags&&0==(1&(t?t.flags:0)))throw new Error("Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index "+e.nodeIndex+"!");if(e.query){if(67108864&e.flags&&(!t||0==(16384&t.flags)))throw new Error("Illegal State: Content Query nodes need to be children of directives, at index "+e.nodeIndex+"!");if(134217728&e.flags&&t)throw new Error("Illegal State: View Query nodes have to be top level nodes, at index "+e.nodeIndex+"!")}if(e.childCount){var o=t?t.nodeIndex+t.childCount:n-1;if(e.nodeIndex<=o&&e.nodeIndex+e.childCount>o)throw new Error("Illegal State: childCount of node leads outside of parent, at index "+e.nodeIndex+"!")}}function ia(t,e,n,r){var o=sa(t.root,t.renderer,t,e,n);return la(o,t.component,r),ca(o),o}function aa(t,e,n){var r=sa(t,t.renderer,null,null,e);return la(r,n,n),ca(r),r}function ua(t,e,n,r){var o,i=e.element.componentRendererType;return o=i?t.root.rendererFactory.createRenderer(r,i):t.root.renderer,sa(t.root,o,t,e.element.componentProvider,n)}function sa(t,e,n,r,o){var i=new Array(o.nodes.length),a=o.outputCount?new Array(o.outputCount):null;return{def:o,parent:n,viewContainerParent:null,parentNodeDef:r,context:null,component:null,nodes:i,state:13,root:t,renderer:e,oldValues:new Array(o.bindingCount),disposables:a,initIndex:-1}}function la(t,e,n){t.component=e,t.context=n}function ca(t){var e;Io(t)&&(e=ao(t.parent,t.parentNodeDef.parent.nodeIndex).renderElement);for(var n=t.def,r=t.nodes,o=0;o<n.nodes.length;o++){var i=n.nodes[o];co.setCurrentNode(t,o);var a=void 0;switch(201347067&i.flags){case 1:var u=Wo(t,e,i),s=void 0;if(33554432&i.flags){var l=Uo(i.element.componentView);s=co.createComponentView(t,i,l,u)}Qo(t,s,i,u),a={renderElement:u,componentView:s,viewContainer:null,template:i.element.template?yi(t,i):void 0},16777216&i.flags&&(a.viewContainer=hi(t,i,a));break;case 2:a=ta(t,e,i);break;case 512:case 1024:case 2048:case 256:(a=r[o])||4096&i.flags||(a={instance:Di(t,i)});break;case 16:a={instance:ji(t,i)};break;case 16384:(a=r[o])||(a={instance:Ui(t,i)}),32768&i.flags&&la(ao(t,i.parent.nodeIndex).componentView,a.instance,a.instance);break;case 32:case 64:case 128:a={value:void 0};break;case 67108864:case 134217728:a=new _r;break;case 8:$i(t,e,i),a=void 0}r[o]=a}ba(t,ma.CreateViewNodes),Sa(t,201326592,268435456,0)}function fa(t){da(t),co.updateDirectives(t,1),wa(t,ma.CheckNoChanges),co.updateRenderer(t,1),ba(t,ma.CheckNoChanges),t.state&=-97}function pa(t){1&t.state?(t.state&=-2,t.state|=2):t.state&=-3,ro(t,0,256),da(t),co.updateDirectives(t,0),wa(t,ma.CheckAndUpdate),Sa(t,67108864,536870912,0);var e=ro(t,256,512);Zi(t,2097152|(e?1048576:0)),co.updateRenderer(t,0),ba(t,ma.CheckAndUpdate),Sa(t,134217728,536870912,0),Zi(t,8388608|((e=ro(t,512,768))?4194304:0)),2&t.def.flags&&(t.state&=-9),t.state&=-97,ro(t,768,1024)}function ha(t,e,n,r,o,i,a,u,s,l,f,p,h){return 0===n?function(t,e,n,r,o,i,a,u,s,l,c,f){switch(201347067&e.flags){case 1:return function(t,e,n,r,o,i,a,u,s,l,c,f){var p=e.bindings.length,h=!1;return p>0&&Yo(t,e,0,n)&&(h=!0),p>1&&Yo(t,e,1,r)&&(h=!0),p>2&&Yo(t,e,2,o)&&(h=!0),p>3&&Yo(t,e,3,i)&&(h=!0),p>4&&Yo(t,e,4,a)&&(h=!0),p>5&&Yo(t,e,5,u)&&(h=!0),p>6&&Yo(t,e,6,s)&&(h=!0),p>7&&Yo(t,e,7,l)&&(h=!0),p>8&&Yo(t,e,8,c)&&(h=!0),p>9&&Yo(t,e,9,f)&&(h=!0),h}(t,e,n,r,o,i,a,u,s,l,c,f);case 2:return function(t,e,n,r,o,i,a,u,s,l,c,f){var p=!1,h=e.bindings,d=h.length;if(d>0&&So(t,e,0,n)&&(p=!0),d>1&&So(t,e,1,r)&&(p=!0),d>2&&So(t,e,2,o)&&(p=!0),d>3&&So(t,e,3,i)&&(p=!0),d>4&&So(t,e,4,a)&&(p=!0),d>5&&So(t,e,5,u)&&(p=!0),d>6&&So(t,e,6,s)&&(p=!0),d>7&&So(t,e,7,l)&&(p=!0),d>8&&So(t,e,8,c)&&(p=!0),d>9&&So(t,e,9,f)&&(p=!0),p){var v=e.text.prefix;d>0&&(v+=ea(n,h[0])),d>1&&(v+=ea(r,h[1])),d>2&&(v+=ea(o,h[2])),d>3&&(v+=ea(i,h[3])),d>4&&(v+=ea(a,h[4])),d>5&&(v+=ea(u,h[5])),d>6&&(v+=ea(s,h[6])),d>7&&(v+=ea(l,h[7])),d>8&&(v+=ea(c,h[8])),d>9&&(v+=ea(f,h[9]));var g=io(t,e.nodeIndex).renderText;t.renderer.setValue(g,v)}return p}(t,e,n,r,o,i,a,u,s,l,c,f);case 16384:return function(t,e,n,r,o,i,a,u,s,l,c,f){var p=uo(t,e.nodeIndex),h=p.instance,d=!1,v=void 0,g=e.bindings.length;return g>0&&Co(t,e,0,n)&&(d=!0,v=qi(t,p,e,0,n,v)),g>1&&Co(t,e,1,r)&&(d=!0,v=qi(t,p,e,1,r,v)),g>2&&Co(t,e,2,o)&&(d=!0,v=qi(t,p,e,2,o,v)),g>3&&Co(t,e,3,i)&&(d=!0,v=qi(t,p,e,3,i,v)),g>4&&Co(t,e,4,a)&&(d=!0,v=qi(t,p,e,4,a,v)),g>5&&Co(t,e,5,u)&&(d=!0,v=qi(t,p,e,5,u,v)),g>6&&Co(t,e,6,s)&&(d=!0,v=qi(t,p,e,6,s,v)),g>7&&Co(t,e,7,l)&&(d=!0,v=qi(t,p,e,7,l,v)),g>8&&Co(t,e,8,c)&&(d=!0,v=qi(t,p,e,8,c,v)),g>9&&Co(t,e,9,f)&&(d=!0,v=qi(t,p,e,9,f,v)),v&&h.ngOnChanges(v),65536&e.flags&&oo(t,256,e.nodeIndex)&&h.ngOnInit(),262144&e.flags&&h.ngDoCheck(),d}(t,e,n,r,o,i,a,u,s,l,c,f);case 32:case 64:case 128:return function(t,e,n,r,o,i,a,u,s,l,c,f){var p=e.bindings,h=!1,d=p.length;if(d>0&&So(t,e,0,n)&&(h=!0),d>1&&So(t,e,1,r)&&(h=!0),d>2&&So(t,e,2,o)&&(h=!0),d>3&&So(t,e,3,i)&&(h=!0),d>4&&So(t,e,4,a)&&(h=!0),d>5&&So(t,e,5,u)&&(h=!0),d>6&&So(t,e,6,s)&&(h=!0),d>7&&So(t,e,7,l)&&(h=!0),d>8&&So(t,e,8,c)&&(h=!0),d>9&&So(t,e,9,f)&&(h=!0),h){var v=so(t,e.nodeIndex),g=void 0;switch(201347067&e.flags){case 32:g=new Array(p.length),d>0&&(g[0]=n),d>1&&(g[1]=r),d>2&&(g[2]=o),d>3&&(g[3]=i),d>4&&(g[4]=a),d>5&&(g[5]=u),d>6&&(g[6]=s),d>7&&(g[7]=l),d>8&&(g[8]=c),d>9&&(g[9]=f);break;case 64:g={},d>0&&(g[p[0].name]=n),d>1&&(g[p[1].name]=r),d>2&&(g[p[2].name]=o),d>3&&(g[p[3].name]=i),d>4&&(g[p[4].name]=a),d>5&&(g[p[5].name]=u),d>6&&(g[p[6].name]=s),d>7&&(g[p[7].name]=l),d>8&&(g[p[8].name]=c),d>9&&(g[p[9].name]=f);break;case 128:var y=n;switch(d){case 1:g=y.transform(n);break;case 2:g=y.transform(r);break;case 3:g=y.transform(r,o);break;case 4:g=y.transform(r,o,i);break;case 5:g=y.transform(r,o,i,a);break;case 6:g=y.transform(r,o,i,a,u);break;case 7:g=y.transform(r,o,i,a,u,s);break;case 8:g=y.transform(r,o,i,a,u,s,l);break;case 9:g=y.transform(r,o,i,a,u,s,l,c);break;case 10:g=y.transform(r,o,i,a,u,s,l,c,f)}}v.value=g}return h}(t,e,n,r,o,i,a,u,s,l,c,f);default:throw"unreachable"}}(t,e,r,o,i,a,u,s,l,f,p,h):function(t,e,n){switch(201347067&e.flags){case 1:return function(t,e,n){for(var r=!1,o=0;o<n.length;o++)Yo(t,e,o,n[o])&&(r=!0);return r}(t,e,n);case 2:return function(t,e,n){for(var r=e.bindings,o=!1,i=0;i<n.length;i++)So(t,e,i,n[i])&&(o=!0);if(o){var a="";for(i=0;i<n.length;i++)a+=ea(n[i],r[i]);a=e.text.prefix+a;var u=io(t,e.nodeIndex).renderText;t.renderer.setValue(u,a)}return o}(t,e,n);case 16384:return function(t,e,n){for(var r=uo(t,e.nodeIndex),o=r.instance,i=!1,a=void 0,u=0;u<n.length;u++)Co(t,e,u,n[u])&&(i=!0,a=qi(t,r,e,u,n[u],a));return a&&o.ngOnChanges(a),65536&e.flags&&oo(t,256,e.nodeIndex)&&o.ngOnInit(),262144&e.flags&&o.ngDoCheck(),i}(t,e,n);case 32:case 64:case 128:return function(t,e,n){for(var r=e.bindings,o=!1,i=0;i<n.length;i++)So(t,e,i,n[i])&&(o=!0);if(o){var a=so(t,e.nodeIndex),u=void 0;switch(201347067&e.flags){case 32:u=n;break;case 64:for(u={},i=0;i<n.length;i++)u[r[i].name]=n[i];break;case 128:var s=n[0],l=n.slice(1);u=s.transform.apply(s,c(l))}a.value=u}return o}(t,e,n);default:throw"unreachable"}}(t,e,r)}function da(t){var e=t.def;if(4&e.nodeFlags)for(var n=0;n<e.nodes.length;n++){var r=e.nodes[n];if(4&r.flags){var o=ao(t,n).template._projectedViews;if(o)for(var i=0;i<o.length;i++){var a=o[i];a.state|=32,To(a,t)}}else 0==(4&r.childFlags)&&(n+=r.childCount)}}function va(t,e,n,r,o,i,a,u,s,l,c,f,p){return 0===n?function(t,e,n,r,o,i,a,u,s,l,c,f){var p=e.bindings.length;p>0&&xo(t,e,0,n),p>1&&xo(t,e,1,r),p>2&&xo(t,e,2,o),p>3&&xo(t,e,3,i),p>4&&xo(t,e,4,a),p>5&&xo(t,e,5,u),p>6&&xo(t,e,6,s),p>7&&xo(t,e,7,l),p>8&&xo(t,e,8,c),p>9&&xo(t,e,9,f)}(t,e,r,o,i,a,u,s,l,c,f,p):function(t,e,n){for(var r=0;r<n.length;r++)xo(t,e,r,n[r])}(t,e,r),!1}function ga(t,e){if(lo(t,e.nodeIndex).dirty)throw fo(co.createDebugContext(t,e.nodeIndex),"Query "+e.query.id+" not dirty","Query "+e.query.id+" dirty",0!=(1&t.state))}function ya(t){if(!(128&t.state)){if(wa(t,ma.Destroy),ba(t,ma.Destroy),Zi(t,131072),t.disposables)for(var e=0;e<t.disposables.length;e++)t.disposables[e]();!function(t){if(16&t.state){var e=Po(t);if(e){var n=e.template._projectedViews;n&&(si(n,n.indexOf(t)),co.dirtyParentQueries(t))}}}(t),t.renderer.destroyNode&&function(t){for(var e=t.def.nodes.length,n=0;n<e;n++){var r=t.def.nodes[n];1&r.flags?t.renderer.destroyNode(ao(t,n).renderElement):2&r.flags?t.renderer.destroyNode(io(t,n).renderText):(67108864&r.flags||134217728&r.flags)&&lo(t,n).destroy()}}(t),Io(t)&&t.renderer.destroy(),t.state|=128}}var ma=function(t){return t[t.CreateViewNodes=0]="CreateViewNodes",t[t.CheckNoChanges=1]="CheckNoChanges",t[t.CheckNoChangesProjectedViews=2]="CheckNoChangesProjectedViews",t[t.CheckAndUpdate=3]="CheckAndUpdate",t[t.CheckAndUpdateProjectedViews=4]="CheckAndUpdateProjectedViews",t[t.Destroy=5]="Destroy",t}({});function ba(t,e){var n=t.def;if(33554432&n.nodeFlags)for(var r=0;r<n.nodes.length;r++){var o=n.nodes[r];33554432&o.flags?_a(ao(t,r).componentView,e):0==(33554432&o.childFlags)&&(r+=o.childCount)}}function wa(t,e){var n=t.def;if(16777216&n.nodeFlags)for(var r=0;r<n.nodes.length;r++){var o=n.nodes[r];if(16777216&o.flags)for(var i=ao(t,r).viewContainer._embeddedViews,a=0;a<i.length;a++)_a(i[a],e);else 0==(16777216&o.childFlags)&&(r+=o.childCount)}}function _a(t,e){var n=t.state;switch(e){case ma.CheckNoChanges:0==(128&n)&&(12==(12&n)?fa(t):64&n&&Ca(t,ma.CheckNoChangesProjectedViews));break;case ma.CheckNoChangesProjectedViews:0==(128&n)&&(32&n?fa(t):64&n&&Ca(t,e));break;case ma.CheckAndUpdate:0==(128&n)&&(12==(12&n)?pa(t):64&n&&Ca(t,ma.CheckAndUpdateProjectedViews));break;case ma.CheckAndUpdateProjectedViews:0==(128&n)&&(32&n?pa(t):64&n&&Ca(t,e));break;case ma.Destroy:ya(t);break;case ma.CreateViewNodes:ca(t)}}function Ca(t,e){wa(t,e),ba(t,e)}function Sa(t,e,n,r){if(t.def.nodeFlags&e&&t.def.nodeFlags&n)for(var o=t.def.nodes.length,i=0;i<o;i++){var a=t.def.nodes[i];if(a.flags&e&&a.flags&n)switch(co.setCurrentNode(t,a.nodeIndex),r){case 0:Ki(t,a);break;case 1:ga(t,a)}a.childFlags&e&&a.childFlags&n||(i+=a.childCount)}}var xa=!1;function Ea(t,e,n,r,o,i){var a=o.injector.get(Le);return aa(ka(t,o,a,e,n),r,i)}function Ta(t,e,n,r,o,i){var a=o.injector.get(Le),u=ka(t,o,new iu(a),e,n),s=Ua(r);return ru(Ga.create,aa,null,[u,s,i])}function ka(t,e,n,r,o){var i=e.injector.get(Be),a=e.injector.get(An),u=n.createRenderer(null,null);return{ngModule:e,injector:t,projectableNodes:r,selectorOrNode:o,sanitizer:i,rendererFactory:n,renderer:u,errorHandler:a}}function Pa(t,e,n,r){var o=Ua(n);return ru(Ga.create,ia,null,[t,e,o,r])}function Ra(t,e,n,r){return n=Na.get(e.element.componentProvider.provider.token)||Ua(n),ru(Ga.create,ua,null,[t,e,n,r])}function Aa(t,e,n,r){return xi(t,e,n,function(t){var e=function(t){var e=!1,n=!1;return 0===Ia.size?{hasOverrides:e,hasDeprecatedOverrides:n}:(t.providers.forEach(function(t){var r=Ia.get(t.token);3840&t.flags&&r&&(e=!0,n=n||r.deprecatedBehavior)}),t.modules.forEach(function(t){Oa.forEach(function(r,o){Ct(o).providedIn===t&&(e=!0,n=n||r.deprecatedBehavior)})}),{hasOverrides:e,hasDeprecatedOverrides:n})}(t),n=e.hasDeprecatedOverrides;return e.hasOverrides?(function(t){for(var e=0;e<t.providers.length;e++){var r=t.providers[e];n&&(r.flags|=4096);var o=Ia.get(r.token);o&&(r.flags=-3841&r.flags|o.flags,r.deps=Mo(o.deps),r.value=o.value)}if(Oa.size>0){var i=new Set(t.modules);Oa.forEach(function(e,r){if(i.has(Ct(r).providedIn)){var o={token:r,flags:e.flags|(n?4096:0),deps:Mo(e.deps),value:e.value,index:t.providers.length};t.providers.push(o),t.providersByKey[yo(r)]=o}})}}(t=t.factory(function(){return vo})),t):t}(r))}var Ia=new Map,Oa=new Map,Na=new Map;function Ma(t){var e;Ia.set(t.token,t),"function"==typeof t.token&&(e=Ct(t.token))&&"function"==typeof e.providedIn&&Oa.set(t.token,t)}function Da(t,e){var n=Uo(e.viewDefFactory),r=Uo(n.nodes[0].element.componentView);Na.set(t,r)}function ja(){Ia.clear(),Oa.clear(),Na.clear()}function Ua(t){if(0===Ia.size)return t;var e=function(t){for(var e=[],n=null,r=0;r<t.nodes.length;r++){var o=t.nodes[r];1&o.flags&&(n=o),n&&3840&o.flags&&Ia.has(o.provider.token)&&(e.push(n.nodeIndex),n=null)}return e}(t);if(0===e.length)return t;t=t.factory(function(){return vo});for(var n=0;n<e.length;n++)r(t,e[n]);return t;function r(t,e){for(var n=e+1;n<t.nodes.length;n++){var r=t.nodes[n];if(1&r.flags)return;if(3840&r.flags){var o=r.provider,i=Ia.get(o.token);i&&(r.flags=-3841&r.flags|i.flags,o.deps=Mo(i.deps),o.value=i.value)}}}}function La(t,e,n,r,o,i,a,u,s,l,c,f,p){var h=t.def.nodes[e];return ha(t,h,n,r,o,i,a,u,s,l,c,f,p),224&h.flags?so(t,e).value:void 0}function Ha(t,e,n,r,o,i,a,u,s,l,c,f,p){var h=t.def.nodes[e];return va(t,h,n,r,o,i,a,u,s,l,c,f,p),224&h.flags?so(t,e).value:void 0}function Va(t){return ru(Ga.detectChanges,pa,null,[t])}function Fa(t){return ru(Ga.checkNoChanges,fa,null,[t])}function za(t){return ru(Ga.destroy,ya,null,[t])}var Ba,qa,Za,Ga=function(t){return t[t.create=0]="create",t[t.detectChanges=1]="detectChanges",t[t.checkNoChanges=2]="checkNoChanges",t[t.destroy=3]="destroy",t[t.handleEvent=4]="handleEvent",t}({});function Wa(t,e){qa=t,Za=e}function Qa(t,e,n,r){return Wa(t,e),ru(Ga.handleEvent,t.def.handleEvent,null,[t,e,n,r])}function Ka(t,e){if(128&t.state)throw ho(Ga[Ba]);return Wa(t,Xa(t,0)),t.def.updateDirectives(function(t,n,r){for(var o=[],i=3;i<arguments.length;i++)o[i-3]=arguments[i];var a=t.def.nodes[n];return 0===e?Ja(t,a,r,o):$a(t,a,r,o),16384&a.flags&&Wa(t,Xa(t,n)),224&a.flags?so(t,a.nodeIndex).value:void 0},t)}function Ya(t,e){if(128&t.state)throw ho(Ga[Ba]);return Wa(t,tu(t,0)),t.def.updateRenderer(function(t,n,r){for(var o=[],i=3;i<arguments.length;i++)o[i-3]=arguments[i];var a=t.def.nodes[n];return 0===e?Ja(t,a,r,o):$a(t,a,r,o),3&a.flags&&Wa(t,tu(t,n)),224&a.flags?so(t,a.nodeIndex).value:void 0},t)}function Ja(t,e,n,r){if(ha.apply(void 0,c([t,e,n],r))){var o=1===n?r[0]:r;if(16384&e.flags){for(var i={},a=0;a<e.bindings.length;a++){var u=e.bindings[a],s=o[a];8&u.flags&&(i[(h=u.nonMinifiedName,"ng-reflect-"+h.replace(/[$@]/g,"_").replace($t,function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return"-"+t[1].toLowerCase()}))]=Xt(s))}var l=e.parent,f=ao(t,l.nodeIndex).renderElement;if(l.element.name)for(var p in i)null!=(s=i[p])?t.renderer.setAttribute(f,p,s):t.renderer.removeAttribute(f,p);else t.renderer.setValue(f,"bindings="+JSON.stringify(i,null,2))}}var h}function $a(t,e,n,r){va.apply(void 0,c([t,e,n],r))}function Xa(t,e){for(var n=e;n<t.def.nodes.length;n++){var r=t.def.nodes[n];if(16384&r.flags&&r.bindings&&r.bindings.length)return n}return null}function tu(t,e){for(var n=e;n<t.def.nodes.length;n++){var r=t.def.nodes[n];if(3&r.flags&&r.bindings&&r.bindings.length)return n}return null}var eu=function(){function t(t,e){this.view=t,this.nodeIndex=e,null==e&&(this.nodeIndex=e=0),this.nodeDef=t.def.nodes[e];for(var n=this.nodeDef,r=t;n&&0==(1&n.flags);)n=n.parent;if(!n)for(;!n&&r;)n=Ro(r),r=r.parent;this.elDef=n,this.elView=r}return Object.defineProperty(t.prototype,"elOrCompView",{get:function(){return ao(this.elView,this.elDef.nodeIndex).componentView||this.view},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return bi(this.elView,this.elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"component",{get:function(){return this.elOrCompView.component},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this.elOrCompView.context},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"providerTokens",{get:function(){var t=[];if(this.elDef)for(var e=this.elDef.nodeIndex+1;e<=this.elDef.nodeIndex+this.elDef.childCount;e++){var n=this.elView.def.nodes[e];20224&n.flags&&t.push(n.provider.token),e+=n.childCount}return t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"references",{get:function(){var t={};if(this.elDef){nu(this.elView,this.elDef,t);for(var e=this.elDef.nodeIndex+1;e<=this.elDef.nodeIndex+this.elDef.childCount;e++){var n=this.elView.def.nodes[e];20224&n.flags&&nu(this.elView,n,t),e+=n.childCount}}return t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentRenderElement",{get:function(){var t=function(t){for(;t&&!Io(t);)t=t.parent;return t.parent?ao(t.parent,Ro(t).nodeIndex):null}(this.elOrCompView);return t?t.renderElement:void 0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"renderNode",{get:function(){return 2&this.nodeDef.flags?Ao(this.view,this.nodeDef):Ao(this.elView,this.elDef)},enumerable:!0,configurable:!0}),t.prototype.logError=function(t){for(var e,n,r=[],o=1;o<arguments.length;o++)r[o-1]=arguments[o];2&this.nodeDef.flags?(e=this.view.def,n=this.nodeDef.nodeIndex):(e=this.elView.def,n=this.elDef.nodeIndex);var i=function(t,e){for(var n=-1,r=0;r<=e;r++)3&t.nodes[r].flags&&n++;return n}(e,n),a=-1;e.factory(function(){var e;return++a===i?(e=t.error).bind.apply(e,c([t],r)):vo}),a<i&&(t.error("Illegal state: the ViewDefinitionFactory did not call the logger!"),t.error.apply(t,c(r)))},t}();function nu(t,e,n){for(var r in e.references)n[r]=Ji(t,e,e.references[r])}function ru(t,e,n,r){var o=Ba,i=qa,a=Za;try{Ba=t;var u=e.apply(n,r);return qa=i,Za=a,Ba=o,u}catch(s){if(kn(s)||!qa)throw s;throw function(t,e){return t instanceof Error||(t=new Error(t.toString())),po(t,e),t}(s,ou())}}function ou(){return qa?new eu(qa,Za):null}var iu=function(){function t(t){this.delegate=t}return t.prototype.createRenderer=function(t,e){return new au(this.delegate.createRenderer(t,e))},t.prototype.begin=function(){this.delegate.begin&&this.delegate.begin()},t.prototype.end=function(){this.delegate.end&&this.delegate.end()},t.prototype.whenRenderingDone=function(){return this.delegate.whenRenderingDone?this.delegate.whenRenderingDone():Promise.resolve(null)},t}(),au=function(){function t(t){this.delegate=t,this.debugContextFactory=ou,this.data=this.delegate.data}return t.prototype.createDebugContext=function(t){return this.debugContextFactory(t)},t.prototype.destroyNode=function(t){!function(t){Nr.delete(t.nativeNode)}(Mr(t)),this.delegate.destroyNode&&this.delegate.destroyNode(t)},t.prototype.destroy=function(){this.delegate.destroy()},t.prototype.createElement=function(t,e){var n=this.delegate.createElement(t,e),r=this.createDebugContext(n);if(r){var o=new Or(n,null,r);o.name=t,Dr(o)}return n},t.prototype.createComment=function(t){var e=this.delegate.createComment(t),n=this.createDebugContext(e);return n&&Dr(new Ir(e,null,n)),e},t.prototype.createText=function(t){var e=this.delegate.createText(t),n=this.createDebugContext(e);return n&&Dr(new Ir(e,null,n)),e},t.prototype.appendChild=function(t,e){var n=Mr(t),r=Mr(e);n&&r&&n instanceof Or&&n.addChild(r),this.delegate.appendChild(t,e)},t.prototype.insertBefore=function(t,e,n){var r=Mr(t),o=Mr(e),i=Mr(n);r&&o&&r instanceof Or&&r.insertBefore(i,o),this.delegate.insertBefore(t,e,n)},t.prototype.removeChild=function(t,e){var n=Mr(t),r=Mr(e);n&&r&&n instanceof Or&&n.removeChild(r),this.delegate.removeChild(t,e)},t.prototype.selectRootElement=function(t,e){var n=this.delegate.selectRootElement(t,e),r=ou();return r&&Dr(new Or(n,null,r)),n},t.prototype.setAttribute=function(t,e,n,r){var o=Mr(t);o&&o instanceof Or&&(o.attributes[r?r+":"+e:e]=n),this.delegate.setAttribute(t,e,n,r)},t.prototype.removeAttribute=function(t,e,n){var r=Mr(t);r&&r instanceof Or&&(r.attributes[n?n+":"+e:e]=null),this.delegate.removeAttribute(t,e,n)},t.prototype.addClass=function(t,e){var n=Mr(t);n&&n instanceof Or&&(n.classes[e]=!0),this.delegate.addClass(t,e)},t.prototype.removeClass=function(t,e){var n=Mr(t);n&&n instanceof Or&&(n.classes[e]=!1),this.delegate.removeClass(t,e)},t.prototype.setStyle=function(t,e,n,r){var o=Mr(t);o&&o instanceof Or&&(o.styles[e]=n),this.delegate.setStyle(t,e,n,r)},t.prototype.removeStyle=function(t,e,n){var r=Mr(t);r&&r instanceof Or&&(r.styles[e]=null),this.delegate.removeStyle(t,e,n)},t.prototype.setProperty=function(t,e,n){var r=Mr(t);r&&r instanceof Or&&(r.properties[e]=n),this.delegate.setProperty(t,e,n)},t.prototype.listen=function(t,e,n){if("string"!=typeof t){var r=Mr(t);r&&r.listeners.push(new Ar(e,n))}return this.delegate.listen(t,e,n)},t.prototype.parentNode=function(t){return this.delegate.parentNode(t)},t.prototype.nextSibling=function(t){return this.delegate.nextSibling(t)},t.prototype.setValue=function(t,e){return this.delegate.setValue(t,e)},t}();function uu(t,e,n){return new su(t,e,n)}var su=function(t){function e(e,n,r){var o=t.call(this)||this;return o.moduleType=e,o._bootstrapComponents=n,o._ngModuleDefFactory=r,o}return o(e,t),e.prototype.create=function(t){!function(){if(!xa){xa=!0;var t=We()?{setCurrentNode:Wa,createRootView:Ta,createEmbeddedView:Pa,createComponentView:Ra,createNgModuleRef:Aa,overrideProvider:Ma,overrideComponentView:Da,clearOverrides:ja,checkAndUpdateView:Va,checkNoChangesView:Fa,destroyView:za,createDebugContext:function(t,e){return new eu(t,e)},handleEvent:Qa,updateDirectives:Ka,updateRenderer:Ya}:{setCurrentNode:function(){},createRootView:Ea,createEmbeddedView:ia,createComponentView:ua,createNgModuleRef:xi,overrideProvider:vo,overrideComponentView:vo,clearOverrides:vo,checkAndUpdateView:pa,checkNoChangesView:fa,destroyView:ya,createDebugContext:function(t,e){return new eu(t,e)},handleEvent:function(t,e,n,r){return t.def.handleEvent(t,e,n,r)},updateDirectives:function(t,e){return t.def.updateDirectives(0===e?La:Ha,t)},updateRenderer:function(t,e){return t.def.updateRenderer(0===e?La:Ha,t)}};co.setCurrentNode=t.setCurrentNode,co.createRootView=t.createRootView,co.createEmbeddedView=t.createEmbeddedView,co.createComponentView=t.createComponentView,co.createNgModuleRef=t.createNgModuleRef,co.overrideProvider=t.overrideProvider,co.overrideComponentView=t.overrideComponentView,co.clearOverrides=t.clearOverrides,co.checkAndUpdateView=t.checkAndUpdateView,co.checkNoChangesView=t.checkNoChangesView,co.destroyView=t.destroyView,co.resolveDep=zi,co.createDebugContext=t.createDebugContext,co.handleEvent=t.handleEvent,co.updateDirectives=t.updateDirectives,co.updateRenderer=t.updateRenderer,co.dirtyParentQueries=Qi}}();var e=function(t){var e=Array.from(t.providers),n=Array.from(t.modules),r={};for(var o in t.providersByKey)r[o]=t.providersByKey[o];return{factory:t.factory,isRoot:t.isRoot,providers:e,modules:n,providersByKey:r}}(Uo(this._ngModuleDefFactory));return co.createNgModuleRef(this.moduleType,t||ce.NULL,this._bootstrapComponents,e)},e}(Me),lu=function(){return function(){}}(),cu=function(){return function(){}}(),fu=function(){return function(){}}(),pu=new St("Location Initialized"),hu=function(){return function(){}}(),du=new St("appBaseHref"),vu=function(){function t(t){var n=this;this._subject=new gn,this._platformStrategy=t;var r=this._platformStrategy.getBaseHref();this._baseHref=e.stripTrailingSlash(gu(r)),this._platformStrategy.onPopState(function(t){n._subject.emit({url:n.path(!0),pop:!0,state:t.state,type:t.type})})}var e;return e=t,t.prototype.path=function(t){return void 0===t&&(t=!1),this.normalize(this._platformStrategy.path(t))},t.prototype.isCurrentPathEqualTo=function(t,n){return void 0===n&&(n=""),this.path()==this.normalize(t+e.normalizeQueryParams(n))},t.prototype.normalize=function(t){return e.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,gu(t)))},t.prototype.prepareExternalUrl=function(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)},t.prototype.go=function(t,e,n){void 0===e&&(e=""),void 0===n&&(n=null),this._platformStrategy.pushState(n,"",t,e)},t.prototype.replaceState=function(t,e,n){void 0===e&&(e=""),void 0===n&&(n=null),this._platformStrategy.replaceState(n,"",t,e)},t.prototype.forward=function(){this._platformStrategy.forward()},t.prototype.back=function(){this._platformStrategy.back()},t.prototype.subscribe=function(t,e,n){return this._subject.subscribe({next:t,error:e,complete:n})},t.normalizeQueryParams=function(t){return t&&"?"!==t[0]?"?"+t:t},t.joinWithSlash=function(t,e){if(0==t.length)return e;if(0==e.length)return t;var n=0;return t.endsWith("/")&&n++,e.startsWith("/")&&n++,2==n?t+e.substring(1):1==n?t+e:t+"/"+e},t.stripTrailingSlash=function(t){var e=t.match(/#|\?|$/),n=e&&e.index||t.length;return t.slice(0,n-("/"===t[n-1]?1:0))+t.slice(n)},t}();function gu(t){return t.replace(/\/index.html$/,"")}var yu=function(t){function e(e,n){var r=t.call(this)||this;return r._platformLocation=e,r._baseHref="",null!=n&&(r._baseHref=n),r}return o(e,t),e.prototype.onPopState=function(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)},e.prototype.getBaseHref=function(){return this._baseHref},e.prototype.path=function(t){void 0===t&&(t=!1);var e=this._platformLocation.hash;return null==e&&(e="#"),e.length>0?e.substring(1):e},e.prototype.prepareExternalUrl=function(t){var e=vu.joinWithSlash(this._baseHref,t);return e.length>0?"#"+e:e},e.prototype.pushState=function(t,e,n,r){var o=this.prepareExternalUrl(n+vu.normalizeQueryParams(r));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.pushState(t,e,o)},e.prototype.replaceState=function(t,e,n,r){var o=this.prepareExternalUrl(n+vu.normalizeQueryParams(r));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,o)},e.prototype.forward=function(){this._platformLocation.forward()},e.prototype.back=function(){this._platformLocation.back()},e}(hu),mu=function(t){function e(e,n){var r=t.call(this)||this;if(r._platformLocation=e,null==n&&(n=r._platformLocation.getBaseHrefFromDOM()),null==n)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");return r._baseHref=n,r}return o(e,t),e.prototype.onPopState=function(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)},e.prototype.getBaseHref=function(){return this._baseHref},e.prototype.prepareExternalUrl=function(t){return vu.joinWithSlash(this._baseHref,t)},e.prototype.path=function(t){void 0===t&&(t=!1);var e=this._platformLocation.pathname+vu.normalizeQueryParams(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?""+e+n:e},e.prototype.pushState=function(t,e,n,r){var o=this.prepareExternalUrl(n+vu.normalizeQueryParams(r));this._platformLocation.pushState(t,e,o)},e.prototype.replaceState=function(t,e,n,r){var o=this.prepareExternalUrl(n+vu.normalizeQueryParams(r));this._platformLocation.replaceState(t,e,o)},e.prototype.forward=function(){this._platformLocation.forward()},e.prototype.back=function(){this._platformLocation.back()},e}(hu),bu=void 0,wu=["en",[["a","p"],["AM","PM"],bu],[["AM","PM"],bu,bu],[["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"]],bu,[["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"]],bu,[["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}",bu,"{1} 'at' {0}",bu],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"$","US Dollar",{},function(t){var e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}],_u={},Cu=function(t){return t[t.Zero=0]="Zero",t[t.One=1]="One",t[t.Two=2]="Two",t[t.Few=3]="Few",t[t.Many=4]="Many",t[t.Other=5]="Other",t}({}),Su=new St("UseV4Plurals"),xu=function(){return function(){}}(),Eu=function(t){function e(e,n){var r=t.call(this)||this;return r.locale=e,r.deprecatedPluralFn=n,r}return o(e,t),e.prototype.getPluralCategory=function(t,e){switch(this.deprecatedPluralFn?this.deprecatedPluralFn(e||this.locale,t):function(t){return function(t){var e=t.toLowerCase().replace(/_/g,"-"),n=_u[e];if(n)return n;var r=e.split("-")[0];if(n=_u[r])return n;if("en"===r)return wu;throw new Error('Missing locale data for the locale "'+t+'".')}(t)[18]}(e||this.locale)(t)){case Cu.Zero:return"zero";case Cu.One:return"one";case Cu.Two:return"two";case Cu.Few:return"few";case Cu.Many:return"many";default:return"other"}},e}(xu),Tu=function(){return function(){}}(),ku=new St("DocumentToken"),Pu="server",Ru=function(){function t(){}return t.ngInjectableDef=_t({providedIn:"root",factory:function(){return new Au(Jt(ku),window,Jt(An))}}),t}(),Au=function(){function t(t,e,n){this.document=t,this.window=e,this.errorHandler=n,this.offset=function(){return[0,0]}}return t.prototype.setOffset=function(t){this.offset=Array.isArray(t)?function(){return t}:t},t.prototype.getScrollPosition=function(){return this.supportScrollRestoration()?[this.window.scrollX,this.window.scrollY]:[0,0]},t.prototype.scrollToPosition=function(t){this.supportScrollRestoration()&&this.window.scrollTo(t[0],t[1])},t.prototype.scrollToAnchor=function(t){if(this.supportScrollRestoration()){t=this.window.CSS&&this.window.CSS.escape?this.window.CSS.escape(t):t.replace(/(\"|\'\ |:|\.|\[|\]|,|=)/g,"\\$1");try{var e=this.document.querySelector("#"+t);if(e)return void this.scrollToElement(e);var n=this.document.querySelector("[name='"+t+"']");if(n)return void this.scrollToElement(n)}catch(r){this.errorHandler.handleError(r)}}},t.prototype.setHistoryScrollRestoration=function(t){if(this.supportScrollRestoration()){var e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=t)}},t.prototype.scrollToElement=function(t){var e=t.getBoundingClientRect(),n=e.left+this.window.pageXOffset,r=e.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(n-o[0],r-o[1])},t.prototype.supportScrollRestoration=function(){try{return!!this.window&&!!this.window.scrollTo}catch(t){return!1}},t}(),Iu=new N(function(t){return t.complete()});function Ou(t){return t?function(t){return new N(function(e){return t.schedule(function(){return e.complete()})})}(t):Iu}function Nu(t){var e=new N(function(e){e.next(t),e.complete()});return e._isScalar=!0,e.value=t,e}function Mu(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=t[t.length-1];switch(F(n)?t.pop():n=void 0,t.length){case 0:return Ou(n);case 1:return n?rt(t,n):Nu(t[0]);default:return rt(t,n)}}var Du=function(t){function e(e){var n=t.call(this)||this;return n._value=e,n}return o(e,t),Object.defineProperty(e.prototype,"value",{get:function(){return this.getValue()},enumerable:!0,configurable:!0}),e.prototype._subscribe=function(e){var n=t.prototype._subscribe.call(this,e);return n&&!n.closed&&e.next(this._value),n},e.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new j;return this._value},e.prototype.next=function(e){t.prototype.next.call(this,this._value=e)},e}(H);function ju(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}ju.prototype=Object.create(Error.prototype);var Uu=ju,Lu={},Hu=function(){function t(t){this.resultSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new Vu(t,this.resultSelector))},t}(),Vu=function(t){function e(e,n){var r=t.call(this,e)||this;return r.resultSelector=n,r.active=0,r.values=[],r.observables=[],r}return o(e,t),e.prototype._next=function(t){this.values.push(Lu),this.observables.push(t)},e.prototype._complete=function(){var t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(var n=0;n<e;n++){var r=t[n];this.add($(this,r,r,n))}}},e.prototype.notifyComplete=function(t){0==(this.active-=1)&&this.destination.complete()},e.prototype.notifyNext=function(t,e,n,r,o){var i=this.values,a=this.toRespond?i[n]===Lu?--this.toRespond:this.toRespond:0;i[n]=e,0===a&&(this.resultSelector?this._tryResultSelector(i):this.destination.next(i.slice()))},e.prototype._tryResultSelector=function(t){var e;try{e=this.resultSelector.apply(this,t)}catch(n){return void this.destination.error(n)}this.destination.next(e)},e}(X);function Fu(t){return new N(function(e){var n;try{n=t()}catch(r){return void e.error(r)}return(n?ot(n):Ou()).subscribe(e)})}function zu(){return lt(1)}function Bu(t,e){return function(n){return n.lift(new qu(t,e))}}var qu=function(){function t(t,e){this.predicate=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new Zu(t,this.predicate,this.thisArg))},t}(),Zu=function(t){function e(e,n,r){var o=t.call(this,e)||this;return o.predicate=n,o.thisArg=r,o.count=0,o}return o(e,t),e.prototype._next=function(t){var e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}e&&this.destination.next(t)},e}(k);function Gu(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}Gu.prototype=Object.create(Error.prototype);var Wu=Gu;function Qu(t){return function(e){return 0===t?Ou():e.lift(new Ku(t))}}var Ku=function(){function t(t){if(this.total=t,this.total<0)throw new Wu}return t.prototype.call=function(t,e){return e.subscribe(new Yu(t,this.total))},t}(),Yu=function(t){function e(e,n){var r=t.call(this,e)||this;return r.total=n,r.ring=new Array,r.count=0,r}return o(e,t),e.prototype._next=function(t){var e=this.ring,n=this.total,r=this.count++;e.length<n?e.push(t):e[r%n]=t},e.prototype._complete=function(){var t=this.destination,e=this.count;if(e>0)for(var n=this.count>=this.total?this.total:this.count,r=this.ring,o=0;o<n;o++){var i=e++%n;t.next(r[i])}t.complete()},e}(k);function Ju(t,e,n){return function(r){return r.lift(new $u(t,e,n))}}var $u=function(){function t(t,e,n){this.nextOrObserver=t,this.error=e,this.complete=n}return t.prototype.call=function(t,e){return e.subscribe(new Xu(t,this.nextOrObserver,this.error,this.complete))},t}(),Xu=function(t){function e(e,n,r,o){var i=t.call(this,e)||this;return i._tapNext=A,i._tapError=A,i._tapComplete=A,i._tapError=r||A,i._tapComplete=o||A,h(n)?(i._context=i,i._tapNext=n):n&&(i._context=n,i._tapNext=n.next||A,i._tapError=n.error||A,i._tapComplete=n.complete||A),i}return o(e,t),e.prototype._next=function(t){try{this._tapNext.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.next(t)},e.prototype._error=function(t){try{this._tapError.call(this._context,t)}catch(t){return void this.destination.error(t)}this.destination.error(t)},e.prototype._complete=function(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()},e}(k),ts=function(t){return void 0===t&&(t=es),Ju({hasValue:!1,next:function(){this.hasValue=!0},complete:function(){if(!this.hasValue)throw t()}})};function es(){return new Uu}function ns(t){return void 0===t&&(t=null),function(e){return e.lift(new rs(t))}}var rs=function(){function t(t){this.defaultValue=t}return t.prototype.call=function(t,e){return e.subscribe(new os(t,this.defaultValue))},t}(),os=function(t){function e(e,n){var r=t.call(this,e)||this;return r.defaultValue=n,r.isEmpty=!0,r}return o(e,t),e.prototype._next=function(t){this.isEmpty=!1,this.destination.next(t)},e.prototype._complete=function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()},e}(k);function is(t,e){var n=arguments.length>=2;return function(r){return r.pipe(t?Bu(function(e,n){return t(e,n,r)}):st,Qu(1),n?ns(e):ts(function(){return new Uu}))}}function as(t){return function(e){var n=new us(t),r=e.lift(n);return n.caught=r}}var us=function(){function t(t){this.selector=t}return t.prototype.call=function(t,e){return e.subscribe(new ss(t,this.selector,this.caught))},t}(),ss=function(t){function e(e,n,r){var o=t.call(this,e)||this;return o.selector=n,o.caught=r,o}return o(e,t),e.prototype.error=function(e){if(!this.isStopped){var n=void 0;try{n=this.selector(e,this.caught)}catch(o){return void t.prototype.error.call(this,o)}this._unsubscribeAndRecycle();var r=new z(this,void 0,void 0);this.add(r),$(this,n,void 0,void 0,r)}},e}(X);function ls(t){return function(e){return 0===t?Ou():e.lift(new cs(t))}}var cs=function(){function t(t){if(this.total=t,this.total<0)throw new Wu}return t.prototype.call=function(t,e){return e.subscribe(new fs(t,this.total))},t}(),fs=function(t){function e(e,n){var r=t.call(this,e)||this;return r.total=n,r.count=0,r}return o(e,t),e.prototype._next=function(t){var e=this.total,n=++this.count;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))},e}(k);function ps(t,e){var n=arguments.length>=2;return function(r){return r.pipe(t?Bu(function(e,n){return t(e,n,r)}):st,ls(1),n?ns(e):ts(function(){return new Uu}))}}var hs=function(){function t(t,e,n){this.predicate=t,this.thisArg=e,this.source=n}return t.prototype.call=function(t,e){return e.subscribe(new ds(t,this.predicate,this.thisArg,this.source))},t}(),ds=function(t){function e(e,n,r,o){var i=t.call(this,e)||this;return i.predicate=n,i.thisArg=r,i.source=o,i.index=0,i.thisArg=r||i,i}return o(e,t),e.prototype.notifyComplete=function(t){this.destination.next(t),this.destination.complete()},e.prototype._next=function(t){var e=!1;try{e=this.predicate.call(this.thisArg,t,this.index++,this.source)}catch(n){return void this.destination.error(n)}e||this.notifyComplete(!1)},e.prototype._complete=function(){this.notifyComplete(!0)},e}(k);function vs(t,e){return"function"==typeof e?function(n){return n.pipe(vs(function(n,r){return ot(t(n,r)).pipe(tt(function(t,o){return e(n,t,r,o)}))}))}:function(e){return e.lift(new gs(t))}}var gs=function(){function t(t){this.project=t}return t.prototype.call=function(t,e){return e.subscribe(new ys(t,this.project))},t}(),ys=function(t){function e(e,n){var r=t.call(this,e)||this;return r.project=n,r.index=0,r}return o(e,t),e.prototype._next=function(t){var e,n=this.index++;try{e=this.project(t,n)}catch(r){return void this.destination.error(r)}this._innerSub(e,t,n)},e.prototype._innerSub=function(t,e,n){var r=this.innerSubscription;r&&r.unsubscribe();var o=new z(this,void 0,void 0);this.destination.add(o),this.innerSubscription=$(this,t,e,n,o)},e.prototype._complete=function(){var e=this.innerSubscription;e&&!e.closed||t.prototype._complete.call(this),this.unsubscribe()},e.prototype._unsubscribe=function(){this.innerSubscription=null},e.prototype.notifyComplete=function(e){this.destination.remove(e),this.innerSubscription=null,this.isStopped&&t.prototype._complete.call(this)},e.prototype.notifyNext=function(t,e,n,r,o){this.destination.next(e)},e}(X);function ms(t,e){var n=!1;return arguments.length>=2&&(n=!0),function(r){return r.lift(new bs(t,e,n))}}var bs=function(){function t(t,e,n){void 0===n&&(n=!1),this.accumulator=t,this.seed=e,this.hasSeed=n}return t.prototype.call=function(t,e){return e.subscribe(new ws(t,this.accumulator,this.seed,this.hasSeed))},t}(),ws=function(t){function e(e,n,r,o){var i=t.call(this,e)||this;return i.accumulator=n,i._seed=r,i.hasSeed=o,i.index=0,i}return o(e,t),Object.defineProperty(e.prototype,"seed",{get:function(){return this._seed},set:function(t){this.hasSeed=!0,this._seed=t},enumerable:!0,configurable:!0}),e.prototype._next=function(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)},e.prototype._tryNext=function(t){var e,n=this.index++;try{e=this.accumulator(this.seed,t,n)}catch(r){this.destination.error(r)}this.seed=e,this.destination.next(e)},e}(k);function _s(t,e){return it(t,e,1)}var Cs=function(){function t(t){this.callback=t}return t.prototype.call=function(t,e){return e.subscribe(new Ss(t,this.callback))},t}(),Ss=function(t){function e(e,n){var r=t.call(this,e)||this;return r.add(new w(n)),r}return o(e,t),e}(k),xs=null;function Es(){return xs}var Ts,ks={class:"className",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"},Ps={"\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"},Rs={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"};Ot.Node&&(Ts=Ot.Node.prototype.contains||function(t){return!!(16&this.compareDocumentPosition(t))});var As,Is=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.parse=function(t){throw new Error("parse not implemented")},e.makeCurrent=function(){var t;t=new e,xs||(xs=t)},e.prototype.hasProperty=function(t,e){return e in t},e.prototype.setProperty=function(t,e,n){t[e]=n},e.prototype.getProperty=function(t,e){return t[e]},e.prototype.invoke=function(t,e,n){var r;(r=t)[e].apply(r,c(n))},e.prototype.logError=function(t){window.console&&(console.error?console.error(t):console.log(t))},e.prototype.log=function(t){window.console&&window.console.log&&window.console.log(t)},e.prototype.logGroup=function(t){window.console&&window.console.group&&window.console.group(t)},e.prototype.logGroupEnd=function(){window.console&&window.console.groupEnd&&window.console.groupEnd()},Object.defineProperty(e.prototype,"attrToPropMap",{get:function(){return ks},enumerable:!0,configurable:!0}),e.prototype.contains=function(t,e){return Ts.call(t,e)},e.prototype.querySelector=function(t,e){return t.querySelector(e)},e.prototype.querySelectorAll=function(t,e){return t.querySelectorAll(e)},e.prototype.on=function(t,e,n){t.addEventListener(e,n,!1)},e.prototype.onAndCancel=function(t,e,n){return t.addEventListener(e,n,!1),function(){t.removeEventListener(e,n,!1)}},e.prototype.dispatchEvent=function(t,e){t.dispatchEvent(e)},e.prototype.createMouseEvent=function(t){var e=this.getDefaultDocument().createEvent("MouseEvent");return e.initEvent(t,!0,!0),e},e.prototype.createEvent=function(t){var e=this.getDefaultDocument().createEvent("Event");return e.initEvent(t,!0,!0),e},e.prototype.preventDefault=function(t){t.preventDefault(),t.returnValue=!1},e.prototype.isPrevented=function(t){return t.defaultPrevented||null!=t.returnValue&&!t.returnValue},e.prototype.getInnerHTML=function(t){return t.innerHTML},e.prototype.getTemplateContent=function(t){return"content"in t&&this.isTemplateElement(t)?t.content:null},e.prototype.getOuterHTML=function(t){return t.outerHTML},e.prototype.nodeName=function(t){return t.nodeName},e.prototype.nodeValue=function(t){return t.nodeValue},e.prototype.type=function(t){return t.type},e.prototype.content=function(t){return this.hasProperty(t,"content")?t.content:t},e.prototype.firstChild=function(t){return t.firstChild},e.prototype.nextSibling=function(t){return t.nextSibling},e.prototype.parentElement=function(t){return t.parentNode},e.prototype.childNodes=function(t){return t.childNodes},e.prototype.childNodesAsList=function(t){for(var e=t.childNodes,n=new Array(e.length),r=0;r<e.length;r++)n[r]=e[r];return n},e.prototype.clearNodes=function(t){for(;t.firstChild;)t.removeChild(t.firstChild)},e.prototype.appendChild=function(t,e){t.appendChild(e)},e.prototype.removeChild=function(t,e){t.removeChild(e)},e.prototype.replaceChild=function(t,e,n){t.replaceChild(e,n)},e.prototype.remove=function(t){return t.parentNode&&t.parentNode.removeChild(t),t},e.prototype.insertBefore=function(t,e,n){t.insertBefore(n,e)},e.prototype.insertAllBefore=function(t,e,n){n.forEach(function(n){return t.insertBefore(n,e)})},e.prototype.insertAfter=function(t,e,n){t.insertBefore(n,e.nextSibling)},e.prototype.setInnerHTML=function(t,e){t.innerHTML=e},e.prototype.getText=function(t){return t.textContent},e.prototype.setText=function(t,e){t.textContent=e},e.prototype.getValue=function(t){return t.value},e.prototype.setValue=function(t,e){t.value=e},e.prototype.getChecked=function(t){return t.checked},e.prototype.setChecked=function(t,e){t.checked=e},e.prototype.createComment=function(t){return this.getDefaultDocument().createComment(t)},e.prototype.createTemplate=function(t){var e=this.getDefaultDocument().createElement("template");return e.innerHTML=t,e},e.prototype.createElement=function(t,e){return(e=e||this.getDefaultDocument()).createElement(t)},e.prototype.createElementNS=function(t,e,n){return(n=n||this.getDefaultDocument()).createElementNS(t,e)},e.prototype.createTextNode=function(t,e){return(e=e||this.getDefaultDocument()).createTextNode(t)},e.prototype.createScriptTag=function(t,e,n){var r=(n=n||this.getDefaultDocument()).createElement("SCRIPT");return r.setAttribute(t,e),r},e.prototype.createStyleElement=function(t,e){var n=(e=e||this.getDefaultDocument()).createElement("style");return this.appendChild(n,this.createTextNode(t,e)),n},e.prototype.createShadowRoot=function(t){return t.createShadowRoot()},e.prototype.getShadowRoot=function(t){return t.shadowRoot},e.prototype.getHost=function(t){return t.host},e.prototype.clone=function(t){return t.cloneNode(!0)},e.prototype.getElementsByClassName=function(t,e){return t.getElementsByClassName(e)},e.prototype.getElementsByTagName=function(t,e){return t.getElementsByTagName(e)},e.prototype.classList=function(t){return Array.prototype.slice.call(t.classList,0)},e.prototype.addClass=function(t,e){t.classList.add(e)},e.prototype.removeClass=function(t,e){t.classList.remove(e)},e.prototype.hasClass=function(t,e){return t.classList.contains(e)},e.prototype.setStyle=function(t,e,n){t.style[e]=n},e.prototype.removeStyle=function(t,e){t.style[e]=""},e.prototype.getStyle=function(t,e){return t.style[e]},e.prototype.hasStyle=function(t,e,n){var r=this.getStyle(t,e)||"";return n?r==n:r.length>0},e.prototype.tagName=function(t){return t.tagName},e.prototype.attributeMap=function(t){for(var e=new Map,n=t.attributes,r=0;r<n.length;r++){var o=n.item(r);e.set(o.name,o.value)}return e},e.prototype.hasAttribute=function(t,e){return t.hasAttribute(e)},e.prototype.hasAttributeNS=function(t,e,n){return t.hasAttributeNS(e,n)},e.prototype.getAttribute=function(t,e){return t.getAttribute(e)},e.prototype.getAttributeNS=function(t,e,n){return t.getAttributeNS(e,n)},e.prototype.setAttribute=function(t,e,n){t.setAttribute(e,n)},e.prototype.setAttributeNS=function(t,e,n,r){t.setAttributeNS(e,n,r)},e.prototype.removeAttribute=function(t,e){t.removeAttribute(e)},e.prototype.removeAttributeNS=function(t,e,n){t.removeAttributeNS(e,n)},e.prototype.templateAwareRoot=function(t){return this.isTemplateElement(t)?this.content(t):t},e.prototype.createHtmlDocument=function(){return document.implementation.createHTMLDocument("fakeTitle")},e.prototype.getDefaultDocument=function(){return document},e.prototype.getBoundingClientRect=function(t){try{return t.getBoundingClientRect()}catch(e){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}},e.prototype.getTitle=function(t){return t.title},e.prototype.setTitle=function(t,e){t.title=e||""},e.prototype.elementMatches=function(t,e){return!!this.isElementNode(t)&&(t.matches&&t.matches(e)||t.msMatchesSelector&&t.msMatchesSelector(e)||t.webkitMatchesSelector&&t.webkitMatchesSelector(e))},e.prototype.isTemplateElement=function(t){return this.isElementNode(t)&&"TEMPLATE"===t.nodeName},e.prototype.isTextNode=function(t){return t.nodeType===Node.TEXT_NODE},e.prototype.isCommentNode=function(t){return t.nodeType===Node.COMMENT_NODE},e.prototype.isElementNode=function(t){return t.nodeType===Node.ELEMENT_NODE},e.prototype.hasShadowRoot=function(t){return null!=t.shadowRoot&&t instanceof HTMLElement},e.prototype.isShadowRoot=function(t){return t instanceof DocumentFragment},e.prototype.importIntoDoc=function(t){return document.importNode(this.templateAwareRoot(t),!0)},e.prototype.adoptNode=function(t){return document.adoptNode(t)},e.prototype.getHref=function(t){return t.getAttribute("href")},e.prototype.getEventKey=function(t){var e=t.key;if(null==e){if(null==(e=t.keyIdentifier))return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===t.location&&Rs.hasOwnProperty(e)&&(e=Rs[e]))}return Ps[e]||e},e.prototype.getGlobalEventTarget=function(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null},e.prototype.getHistory=function(){return window.history},e.prototype.getLocation=function(){return window.location},e.prototype.getBaseHref=function(t){var e,n=Os||(Os=document.querySelector("base"))?Os.getAttribute("href"):null;return null==n?null:(e=n,As||(As=document.createElement("a")),As.setAttribute("href",e),"/"===As.pathname.charAt(0)?As.pathname:"/"+As.pathname)},e.prototype.resetBaseElement=function(){Os=null},e.prototype.getUserAgent=function(){return window.navigator.userAgent},e.prototype.setData=function(t,e,n){this.setAttribute(t,"data-"+e,n)},e.prototype.getData=function(t,e){return this.getAttribute(t,"data-"+e)},e.prototype.getComputedStyle=function(t){return getComputedStyle(t)},e.prototype.supportsWebAnimation=function(){return"function"==typeof Element.prototype.animate},e.prototype.performanceNow=function(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()},e.prototype.supportsCookies=function(){return!0},e.prototype.getCookie=function(t){return function(t,e){var n,r;e=encodeURIComponent(e);try{for(var o=s(t.split(";")),i=o.next();!i.done;i=o.next()){var a=i.value,u=a.indexOf("="),c=l(-1==u?[a,""]:[a.slice(0,u),a.slice(u+1)],2),f=c[1];if(c[0].trim()===e)return decodeURIComponent(f)}}catch(p){n={error:p}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return null}(document.cookie,t)},e.prototype.setCookie=function(t,e){document.cookie=encodeURIComponent(t)+"="+encodeURIComponent(e)},e}(function(t){function e(){var e=t.call(this)||this;e._animationPrefix=null,e._transitionEnd=null;try{var n=e.createElement("div",document);if(null!=e.getStyle(n,"animationName"))e._animationPrefix="";else for(var r=["Webkit","Moz","O","ms"],o=0;o<r.length;o++)if(null!=e.getStyle(n,r[o]+"AnimationName")){e._animationPrefix="-"+r[o].toLowerCase()+"-";break}var i={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};Object.keys(i).forEach(function(t){null!=e.getStyle(n,t)&&(e._transitionEnd=i[t])})}catch(a){e._animationPrefix=null,e._transitionEnd=null}return e}return o(e,t),e.prototype.getDistributedNodes=function(t){return t.getDistributedNodes()},e.prototype.resolveAndSetHref=function(t,e,n){t.href=null==n?e:e+"/../"+n},e.prototype.supportsDOMEvents=function(){return!0},e.prototype.supportsNativeShadowDOM=function(){return"function"==typeof document.body.createShadowRoot},e.prototype.getAnimationPrefix=function(){return this._animationPrefix?this._animationPrefix:""},e.prototype.getTransitionEnd=function(){return this._transitionEnd?this._transitionEnd:""},e.prototype.supportsAnimation=function(){return null!=this._animationPrefix&&null!=this._transitionEnd},e}(function(){function t(){this.resourceLoaderType=null}return Object.defineProperty(t.prototype,"attrToPropMap",{get:function(){return this._attrToPropMap},set:function(t){this._attrToPropMap=t},enumerable:!0,configurable:!0}),t}())),Os=null,Ns=ku;function Ms(){return!!window.history.pushState}var Ds=function(t){function e(e){var n=t.call(this)||this;return n._doc=e,n._init(),n}var n;return o(e,t),e.prototype._init=function(){this.location=Es().getLocation(),this._history=Es().getHistory()},e.prototype.getBaseHrefFromDOM=function(){return Es().getBaseHref(this._doc)},e.prototype.onPopState=function(t){Es().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",t,!1)},e.prototype.onHashChange=function(t){Es().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",t,!1)},Object.defineProperty(e.prototype,"pathname",{get:function(){return this.location.pathname},set:function(t){this.location.pathname=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"search",{get:function(){return this.location.search},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hash",{get:function(){return this.location.hash},enumerable:!0,configurable:!0}),e.prototype.pushState=function(t,e,n){Ms()?this._history.pushState(t,e,n):this.location.hash=n},e.prototype.replaceState=function(t,e,n){Ms()?this._history.replaceState(t,e,n):this.location.hash=n},e.prototype.forward=function(){this._history.forward()},e.prototype.back=function(){this._history.back()},a([(n=qt(Ns),function(t,e){n(t,e,0)}),u("design:paramtypes",[Object])],e)}(fu),js=new St("TRANSITION_ID"),Us=[{provide:Nn,useFactory:function(t,e,n){return function(){n.get(Mn).donePromise.then(function(){var n=Es();Array.prototype.slice.apply(n.querySelectorAll(e,"style[ng-transition]")).filter(function(e){return n.getAttribute(e,"ng-transition")===t}).forEach(function(t){return n.remove(t)})})}},deps:[js,Ns,ce],multi:!0}],Ls=function(){function t(){}return t.init=function(){var e;e=new t,pr=e},t.prototype.addToWindow=function(t){Ot.getAngularTestability=function(e,n){void 0===n&&(n=!0);var r=t.findTestabilityInTree(e,n);if(null==r)throw new Error("Could not find testability for element.");return r},Ot.getAllAngularTestabilities=function(){return t.getAllTestabilities()},Ot.getAllAngularRootElements=function(){return t.getAllRootElements()},Ot.frameworkStabilizers||(Ot.frameworkStabilizers=[]),Ot.frameworkStabilizers.push(function(t){var e=Ot.getAllAngularTestabilities(),n=e.length,r=!1,o=function(e){r=r||e,0==--n&&t(r)};e.forEach(function(t){t.whenStable(o)})})},t.prototype.findTestabilityInTree=function(t,e,n){if(null==e)return null;var r=t.getTestability(e);return null!=r?r:n?Es().isShadowRoot(e)?this.findTestabilityInTree(t,Es().getHost(e),!0):this.findTestabilityInTree(t,Es().parentElement(e),!0):null},t}();function Hs(t,e){"undefined"!=typeof COMPILED&&COMPILED||((Ot.ng=Ot.ng||{})[t]=e)}var Vs={ApplicationRef:br,NgZone:nr};function Fs(t){return Mr(t)}var zs=new St("EventManagerPlugins"),Bs=function(){function t(t,e){var n=this;this._zone=e,this._eventNameToPlugin=new Map,t.forEach(function(t){return t.manager=n}),this._plugins=t.slice().reverse()}return t.prototype.addEventListener=function(t,e,n){return this._findPluginFor(e).addEventListener(t,e,n)},t.prototype.addGlobalEventListener=function(t,e,n){return this._findPluginFor(e).addGlobalEventListener(t,e,n)},t.prototype.getZone=function(){return this._zone},t.prototype._findPluginFor=function(t){var e=this._eventNameToPlugin.get(t);if(e)return e;for(var n=this._plugins,r=0;r<n.length;r++){var o=n[r];if(o.supports(t))return this._eventNameToPlugin.set(t,o),o}throw new Error("No event manager plugin found for event "+t)},t}(),qs=function(){function t(t){this._doc=t}return t.prototype.addGlobalEventListener=function(t,e,n){var r=Es().getGlobalEventTarget(this._doc,t);if(!r)throw new Error("Unsupported event target "+r+" for event "+e);return this.addEventListener(r,e,n)},t}(),Zs=function(){function t(){this._stylesSet=new Set}return t.prototype.addStyles=function(t){var e=this,n=new Set;t.forEach(function(t){e._stylesSet.has(t)||(e._stylesSet.add(t),n.add(t))}),this.onStylesAdded(n)},t.prototype.onStylesAdded=function(t){},t.prototype.getAllStyles=function(){return Array.from(this._stylesSet)},t}(),Gs=function(t){function e(e){var n=t.call(this)||this;return n._doc=e,n._hostNodes=new Set,n._styleNodes=new Set,n._hostNodes.add(e.head),n}return o(e,t),e.prototype._addStylesToHost=function(t,e){var n=this;t.forEach(function(t){var r=n._doc.createElement("style");r.textContent=t,n._styleNodes.add(e.appendChild(r))})},e.prototype.addHost=function(t){this._addStylesToHost(this._stylesSet,t),this._hostNodes.add(t)},e.prototype.removeHost=function(t){this._hostNodes.delete(t)},e.prototype.onStylesAdded=function(t){var e=this;this._hostNodes.forEach(function(n){return e._addStylesToHost(t,n)})},e.prototype.ngOnDestroy=function(){this._styleNodes.forEach(function(t){return Es().remove(t)})},e}(Zs),Ws={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/"},Qs=/%COMP%/g,Ks="_nghost-%COMP%",Ys="_ngcontent-%COMP%";function Js(t,e,n){for(var r=0;r<e.length;r++){var o=e[r];Array.isArray(o)?Js(t,o,n):(o=o.replace(Qs,t),n.push(o))}return n}function $s(t){return function(e){!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}var Xs=function(){function t(t,e,n){this.eventManager=t,this.sharedStylesHost=e,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new tl(t)}return t.prototype.createRenderer=function(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case Bt.Emulated:var n=this.rendererByCompId.get(e.id);return n||(n=new ol(this.eventManager,this.sharedStylesHost,e,this.appId),this.rendererByCompId.set(e.id,n)),n.applyToHost(t),n;case Bt.Native:case Bt.ShadowDom:return new il(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){var r=Js(e.id,e.styles,[]);this.sharedStylesHost.addStyles(r),this.rendererByCompId.set(e.id,this.defaultRenderer)}return this.defaultRenderer}},t.prototype.begin=function(){},t.prototype.end=function(){},t}(),tl=function(){function t(t){this.eventManager=t,this.data=Object.create(null)}return t.prototype.destroy=function(){},t.prototype.createElement=function(t,e){return e?document.createElementNS(Ws[e],t):document.createElement(t)},t.prototype.createComment=function(t){return document.createComment(t)},t.prototype.createText=function(t){return document.createTextNode(t)},t.prototype.appendChild=function(t,e){t.appendChild(e)},t.prototype.insertBefore=function(t,e,n){t&&t.insertBefore(e,n)},t.prototype.removeChild=function(t,e){t&&t.removeChild(e)},t.prototype.selectRootElement=function(t,e){var n="string"==typeof t?document.querySelector(t):t;if(!n)throw new Error('The selector "'+t+'" did not match any elements');return e||(n.textContent=""),n},t.prototype.parentNode=function(t){return t.parentNode},t.prototype.nextSibling=function(t){return t.nextSibling},t.prototype.setAttribute=function(t,e,n,r){if(r){e=r+":"+e;var o=Ws[r];o?t.setAttributeNS(o,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)},t.prototype.removeAttribute=function(t,e,n){if(n){var r=Ws[n];r?t.removeAttributeNS(r,e):t.removeAttribute(n+":"+e)}else t.removeAttribute(e)},t.prototype.addClass=function(t,e){t.classList.add(e)},t.prototype.removeClass=function(t,e){t.classList.remove(e)},t.prototype.setStyle=function(t,e,n,r){r&He.DashCase?t.style.setProperty(e,n,r&He.Important?"important":""):t.style[e]=n},t.prototype.removeStyle=function(t,e,n){n&He.DashCase?t.style.removeProperty(e):t.style[e]=""},t.prototype.setProperty=function(t,e,n){nl(e,"property"),t[e]=n},t.prototype.setValue=function(t,e){t.nodeValue=e},t.prototype.listen=function(t,e,n){return nl(e,"listener"),"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,$s(n)):this.eventManager.addEventListener(t,e,$s(n))},t}(),el="@".charCodeAt(0);function nl(t,e){if(t.charCodeAt(0)===el)throw new Error("Found the synthetic "+e+" "+t+'. Please include either "BrowserAnimationsModule" or "NoopAnimationsModule" in your application.')}var rl,ol=function(t){function e(e,n,r,o){var i=t.call(this,e)||this;i.component=r;var a=Js(o+"-"+r.id,r.styles,[]);return n.addStyles(a),i.contentAttr=Ys.replace(Qs,o+"-"+r.id),i.hostAttr=Ks.replace(Qs,o+"-"+r.id),i}return o(e,t),e.prototype.applyToHost=function(e){t.prototype.setAttribute.call(this,e,this.hostAttr,"")},e.prototype.createElement=function(e,n){var r=t.prototype.createElement.call(this,e,n);return t.prototype.setAttribute.call(this,r,this.contentAttr,""),r},e}(tl),il=function(t){function e(e,n,r,o){var i=t.call(this,e)||this;i.sharedStylesHost=n,i.hostEl=r,i.component=o,i.shadowRoot=o.encapsulation===Bt.ShadowDom?r.attachShadow({mode:"open"}):r.createShadowRoot(),i.sharedStylesHost.addHost(i.shadowRoot);for(var a=Js(o.id,o.styles,[]),u=0;u<a.length;u++){var s=document.createElement("style");s.textContent=a[u],i.shadowRoot.appendChild(s)}return i}return o(e,t),e.prototype.nodeOrShadowRoot=function(t){return t===this.hostEl?this.shadowRoot:t},e.prototype.destroy=function(){this.sharedStylesHost.removeHost(this.shadowRoot)},e.prototype.appendChild=function(e,n){return t.prototype.appendChild.call(this,this.nodeOrShadowRoot(e),n)},e.prototype.insertBefore=function(e,n,r){return t.prototype.insertBefore.call(this,this.nodeOrShadowRoot(e),n,r)},e.prototype.removeChild=function(e,n){return t.prototype.removeChild.call(this,this.nodeOrShadowRoot(e),n)},e.prototype.parentNode=function(e){return this.nodeOrShadowRoot(t.prototype.parentNode.call(this,this.nodeOrShadowRoot(e)))},e}(tl),al="undefined"!=typeof Zone&&Zone.__symbol__||function(t){return"__zone_symbol__"+t},ul=al("addEventListener"),sl=al("removeEventListener"),ll={},cl="__zone_symbol__propagationStopped";"undefined"!=typeof Zone&&Zone[al("BLACK_LISTED_EVENTS")]&&(rl={});var fl=function(t){return!!rl&&rl.hasOwnProperty(t)},pl=function(t){var e=ll[t.type];if(e){var n=this[e];if(n){var r=[t];if(1===n.length)return(a=n[0]).zone!==Zone.current?a.zone.run(a.handler,this,r):a.handler.apply(this,r);for(var o=n.slice(),i=0;i<o.length&&!0!==t[cl];i++){var a;(a=o[i]).zone!==Zone.current?a.zone.run(a.handler,this,r):a.handler.apply(this,r)}}}},hl=function(t){function e(e,n,r){var o=t.call(this,e)||this;return o.ngZone=n,r&&function(t){return t===Pu}(r)||o.patchEvent(),o}return o(e,t),e.prototype.patchEvent=function(){if("undefined"!=typeof Event&&Event&&Event.prototype&&!Event.prototype.__zone_symbol__stopImmediatePropagation){var t=Event.prototype.__zone_symbol__stopImmediatePropagation=Event.prototype.stopImmediatePropagation;Event.prototype.stopImmediatePropagation=function(){this&&(this[cl]=!0),t&&t.apply(this,arguments)}}},e.prototype.supports=function(t){return!0},e.prototype.addEventListener=function(t,e,n){var r=this,o=n;if(!t[ul]||nr.isInAngularZone()&&!fl(e))t.addEventListener(e,o,!1);else{var i=ll[e];i||(i=ll[e]=al("ANGULAR"+e+"FALSE"));var a=t[i],u=a&&a.length>0;a||(a=t[i]=[]);var s=fl(e)?Zone.root:Zone.current;if(0===a.length)a.push({zone:s,handler:o});else{for(var l=!1,c=0;c<a.length;c++)if(a[c].handler===o){l=!0;break}l||a.push({zone:s,handler:o})}u||t[ul](e,pl,!1)}return function(){return r.removeEventListener(t,e,o)}},e.prototype.removeEventListener=function(t,e,n){var r=t[sl];if(!r)return t.removeEventListener.apply(t,[e,n,!1]);var o=ll[e],i=o&&t[o];if(!i)return t.removeEventListener.apply(t,[e,n,!1]);for(var a=!1,u=0;u<i.length;u++)if(i[u].handler===n){a=!0,i.splice(u,1);break}a?0===i.length&&r.apply(t,[e,pl,!1]):t.removeEventListener.apply(t,[e,n,!1])},e}(qs),dl={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},vl=new St("HammerGestureConfig"),gl=new St("HammerLoader"),yl=function(){function t(){this.events=[],this.overrides={}}return t.prototype.buildHammer=function(t){var e=new Hammer(t,this.options);for(var n in e.get("pinch").set({enable:!0}),e.get("rotate").set({enable:!0}),this.overrides)e.get(n).set(this.overrides[n]);return e},t}(),ml=function(t){function e(e,n,r,o){var i=t.call(this,e)||this;return i._config=n,i.console=r,i.loader=o,i}return o(e,t),e.prototype.supports=function(t){return!(!dl.hasOwnProperty(t.toLowerCase())&&!this.isCustomEvent(t)||!window.Hammer&&!this.loader&&(this.console.warn('The "'+t+'" event cannot be bound because Hammer.JS is not loaded and no custom loader has been specified.'),1))},e.prototype.addEventListener=function(t,e,n){var r=this,o=this.manager.getZone();if(e=e.toLowerCase(),!window.Hammer&&this.loader){var i=!1,a=function(){i=!0};return this.loader().then(function(){if(!window.Hammer)return r.console.warn("The custom HAMMER_LOADER completed, but Hammer.JS is not present."),void(a=function(){});i||(a=r.addEventListener(t,e,n))}).catch(function(){r.console.warn('The "'+e+'" event cannot be bound because the custom Hammer.JS loader failed.'),a=function(){}}),function(){a()}}return o.runOutsideAngular(function(){var i=r._config.buildHammer(t),a=function(t){o.runGuarded(function(){n(t)})};return i.on(e,a),function(){i.off(e,a),"function"==typeof i.destroy&&i.destroy()}})},e.prototype.isCustomEvent=function(t){return this._config.events.indexOf(t)>-1},e}(qs),bl=["alt","control","meta","shift"],wl={alt:function(t){return t.altKey},control:function(t){return t.ctrlKey},meta:function(t){return t.metaKey},shift:function(t){return t.shiftKey}},_l=function(t){function e(e){return t.call(this,e)||this}var n;return o(e,t),n=e,e.prototype.supports=function(t){return null!=n.parseEventName(t)},e.prototype.addEventListener=function(t,e,r){var o=n.parseEventName(e),i=n.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(function(){return Es().onAndCancel(t,o.domEventName,i)})},e.parseEventName=function(t){var e=t.toLowerCase().split("."),r=e.shift();if(0===e.length||"keydown"!==r&&"keyup"!==r)return null;var o=n._normalizeKey(e.pop()),i="";if(bl.forEach(function(t){var n=e.indexOf(t);n>-1&&(e.splice(n,1),i+=t+".")}),i+=o,0!=e.length||0===o.length)return null;var a={};return a.domEventName=r,a.fullKey=i,a},e.getEventFullKey=function(t){var e="",n=Es().getEventKey(t);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),bl.forEach(function(r){r!=n&&(0,wl[r])(t)&&(e+=r+".")}),e+=n},e.eventCallback=function(t,e,r){return function(o){n.getEventFullKey(o)===t&&r.runGuarded(function(){return e(o)})}},e._normalizeKey=function(t){switch(t){case"esc":return"escape";default:return t}},e}(qs),Cl=function(){return function(){}}(),Sl=function(t){function e(e){var n=t.call(this)||this;return n._doc=e,n}return o(e,t),e.prototype.sanitize=function(t,e){if(null==e)return null;switch(t){case ze.NONE:return e;case ze.HTML:return e instanceof El?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"HTML"),function(t,e){var n=null;try{tn=tn||new Qe(t);var r=e?String(e):"";n=tn.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=tn.getInertBodyElement(r)}while(r!==i);var a=new fn,u=a.sanitizeChildren(vn(n)||n);return We()&&a.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),u}finally{if(n)for(var s=vn(n)||n;s.firstChild;)s.removeChild(s.firstChild)}}(this._doc,String(e)));case ze.STYLE:return e instanceof Tl?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"Style"),function(t){if(!(t=String(t).trim()))return"";var e=t.match(wn);return e&&Je(e[1])===e[1]||t.match(bn)&&function(t){for(var e=!0,n=!0,r=0;r<t.length;r++){var o=t.charAt(r);"'"===o&&n?e=!e:'"'===o&&e&&(n=!n)}return e&&n}(t)?t:(We()&&console.warn("WARNING: sanitizing unsafe style value "+t+" (see http://g.co/ng/security#xss)."),"unsafe")}(e));case ze.SCRIPT:if(e instanceof kl)return e.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(e,"Script"),new Error("unsafe value used in a script context");case ze.URL:return e instanceof Rl||e instanceof Pl?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"URL"),Je(String(e)));case ze.RESOURCE_URL:if(e instanceof Rl)return e.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(e,"ResourceURL"),new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext "+t+" (see http://g.co/ng/security#xss)")}},e.prototype.checkNotSafeValue=function(t,e){if(t instanceof xl)throw new Error("Required a safe "+e+", got a "+t.getTypeName()+" (see http://g.co/ng/security#xss)")},e.prototype.bypassSecurityTrustHtml=function(t){return new El(t)},e.prototype.bypassSecurityTrustStyle=function(t){return new Tl(t)},e.prototype.bypassSecurityTrustScript=function(t){return new kl(t)},e.prototype.bypassSecurityTrustUrl=function(t){return new Pl(t)},e.prototype.bypassSecurityTrustResourceUrl=function(t){return new Rl(t)},e}(Cl),xl=function(){function t(t){this.changingThisBreaksApplicationSecurity=t}return t.prototype.toString=function(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"},t}(),El=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getTypeName=function(){return"HTML"},e}(xl),Tl=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getTypeName=function(){return"Style"},e}(xl),kl=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getTypeName=function(){return"Script"},e}(xl),Pl=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getTypeName=function(){return"URL"},e}(xl),Rl=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getTypeName=function(){return"ResourceURL"},e}(xl),Al=vr(Jr,"browser",[{provide:Hn,useValue:"browser"},{provide:Ln,useValue:function(){Is.makeCurrent(),Ls.init()},multi:!0},{provide:fu,useClass:Ds,deps:[Ns]},{provide:Ns,useFactory:function(){return document},deps:[]}]);function Il(){return new An}var Ol=function(){function t(t){if(t)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}var e;return e=t,t.withServerTransition=function(t){return{ngModule:e,providers:[{provide:Dn,useValue:t.appId},{provide:js,useExisting:Dn},Us]}},t}();"undefined"!=typeof window&&window;var Nl=function(){return function(t,e){this.id=t,this.url=e}}(),Ml=function(t){function e(e,n,r,o){void 0===r&&(r="imperative"),void 0===o&&(o=null);var i=t.call(this,e,n)||this;return i.navigationTrigger=r,i.restoredState=o,i}return o(e,t),e.prototype.toString=function(){return"NavigationStart(id: "+this.id+", url: '"+this.url+"')"},e}(Nl),Dl=function(t){function e(e,n,r){var o=t.call(this,e,n)||this;return o.urlAfterRedirects=r,o}return o(e,t),e.prototype.toString=function(){return"NavigationEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"')"},e}(Nl),jl=function(t){function e(e,n,r){var o=t.call(this,e,n)||this;return o.reason=r,o}return o(e,t),e.prototype.toString=function(){return"NavigationCancel(id: "+this.id+", url: '"+this.url+"')"},e}(Nl),Ul=function(t){function e(e,n,r){var o=t.call(this,e,n)||this;return o.error=r,o}return o(e,t),e.prototype.toString=function(){return"NavigationError(id: "+this.id+", url: '"+this.url+"', error: "+this.error+")"},e}(Nl),Ll=function(t){function e(e,n,r,o){var i=t.call(this,e,n)||this;return i.urlAfterRedirects=r,i.state=o,i}return o(e,t),e.prototype.toString=function(){return"RoutesRecognized(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(Nl),Hl=function(t){function e(e,n,r,o){var i=t.call(this,e,n)||this;return i.urlAfterRedirects=r,i.state=o,i}return o(e,t),e.prototype.toString=function(){return"GuardsCheckStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(Nl),Vl=function(t){function e(e,n,r,o,i){var a=t.call(this,e,n)||this;return a.urlAfterRedirects=r,a.state=o,a.shouldActivate=i,a}return o(e,t),e.prototype.toString=function(){return"GuardsCheckEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+", shouldActivate: "+this.shouldActivate+")"},e}(Nl),Fl=function(t){function e(e,n,r,o){var i=t.call(this,e,n)||this;return i.urlAfterRedirects=r,i.state=o,i}return o(e,t),e.prototype.toString=function(){return"ResolveStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(Nl),zl=function(t){function e(e,n,r,o){var i=t.call(this,e,n)||this;return i.urlAfterRedirects=r,i.state=o,i}return o(e,t),e.prototype.toString=function(){return"ResolveEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(Nl),Bl=function(){function t(t){this.route=t}return t.prototype.toString=function(){return"RouteConfigLoadStart(path: "+this.route.path+")"},t}(),ql=function(){function t(t){this.route=t}return t.prototype.toString=function(){return"RouteConfigLoadEnd(path: "+this.route.path+")"},t}(),Zl=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ChildActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),Gl=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ChildActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),Wl=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),Ql=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),Kl=function(){function t(t,e,n){this.routerEvent=t,this.position=e,this.anchor=n}return t.prototype.toString=function(){return"Scroll(anchor: '"+this.anchor+"', position: '"+(this.position?this.position[0]+", "+this.position[1]:null)+"')"},t}(),Yl=function(){return function(){}}(),Jl="primary",$l=function(){function t(t){this.params=t||{}}return t.prototype.has=function(t){return this.params.hasOwnProperty(t)},t.prototype.get=function(t){if(this.has(t)){var e=this.params[t];return Array.isArray(e)?e[0]:e}return null},t.prototype.getAll=function(t){if(this.has(t)){var e=this.params[t];return Array.isArray(e)?e:[e]}return[]},Object.defineProperty(t.prototype,"keys",{get:function(){return Object.keys(this.params)},enumerable:!0,configurable:!0}),t}();function Xl(t){return new $l(t)}var tc="ngNavigationCancelingError";function ec(t){var e=Error("NavigationCancelingError: "+t);return e[tc]=!0,e}function nc(t,e,n){var r=n.path.split("/");if(r.length>t.length)return null;if("full"===n.pathMatch&&(e.hasChildren()||r.length<t.length))return null;for(var o={},i=0;i<r.length;i++){var a=r[i],u=t[i];if(a.startsWith(":"))o[a.substring(1)]=u;else if(a!==u.path)return null}return{consumed:t.slice(0,r.length),posParams:o}}var rc=function(){return function(t,e){this.routes=t,this.module=e}}();function oc(t,e){void 0===e&&(e="");for(var n=0;n<t.length;n++){var r=t[n];ic(r,ac(e,r))}}function ic(t,e){if(!t)throw new Error("\n Invalid configuration of route '"+e+"': Encountered undefined route.\n The reason might be an extra comma.\n\n Example:\n const routes: Routes = [\n { path: '', redirectTo: '/dashboard', pathMatch: 'full' },\n { path: 'dashboard', component: DashboardComponent },, << two commas\n { path: 'detail/:id', component: HeroDetailComponent }\n ];\n ");if(Array.isArray(t))throw new Error("Invalid configuration of route '"+e+"': Array cannot be specified");if(!t.component&&!t.children&&!t.loadChildren&&t.outlet&&t.outlet!==Jl)throw new Error("Invalid configuration of route '"+e+"': a componentless route without children or loadChildren cannot have a named outlet set");if(t.redirectTo&&t.children)throw new Error("Invalid configuration of route '"+e+"': redirectTo and children cannot be used together");if(t.redirectTo&&t.loadChildren)throw new Error("Invalid configuration of route '"+e+"': redirectTo and loadChildren cannot be used together");if(t.children&&t.loadChildren)throw new Error("Invalid configuration of route '"+e+"': children and loadChildren cannot be used together");if(t.redirectTo&&t.component)throw new Error("Invalid configuration of route '"+e+"': redirectTo and component cannot be used together");if(t.path&&t.matcher)throw new Error("Invalid configuration of route '"+e+"': path and matcher cannot be used together");if(void 0===t.redirectTo&&!t.component&&!t.children&&!t.loadChildren)throw new Error("Invalid configuration of route '"+e+"'. One of the following must be provided: component, redirectTo, children or loadChildren");if(void 0===t.path&&void 0===t.matcher)throw new Error("Invalid configuration of route '"+e+"': routes must have either a path or a matcher specified");if("string"==typeof t.path&&"/"===t.path.charAt(0))throw new Error("Invalid configuration of route '"+e+"': path cannot start with a slash");if(""===t.path&&void 0!==t.redirectTo&&void 0===t.pathMatch)throw new Error("Invalid configuration of route '{path: \""+e+'", redirectTo: "'+t.redirectTo+"\"}': please provide 'pathMatch'. The default value of 'pathMatch' is 'prefix', but often the intent is to use 'full'.");if(void 0!==t.pathMatch&&"full"!==t.pathMatch&&"prefix"!==t.pathMatch)throw new Error("Invalid configuration of route '"+e+"': pathMatch can only be set to 'prefix' or 'full'");t.children&&oc(t.children,e)}function ac(t,e){return e?t||e.path?t&&!e.path?t+"/":!t&&e.path?e.path:t+"/"+e.path:"":t}function uc(t){var e=t.children&&t.children.map(uc),n=e?i({},t,{children:e}):i({},t);return!n.component&&(e||n.loadChildren)&&n.outlet&&n.outlet!==Jl&&(n.component=Yl),n}function sc(t,e){var n,r=Object.keys(t),o=Object.keys(e);if(r.length!=o.length)return!1;for(var i=0;i<r.length;i++)if(t[n=r[i]]!==e[n])return!1;return!0}function lc(t){return Array.prototype.concat.apply([],t)}function cc(t){return t.length>0?t[t.length-1]:null}function fc(t,e){for(var n in t)t.hasOwnProperty(n)&&e(t[n],n)}function pc(t){return On(t)?t:In(t)?ot(Promise.resolve(t)):Mu(t)}function hc(t,e,n){return n?function(t,e){return sc(t,e)}(t.queryParams,e.queryParams)&&function t(e,n){if(!yc(e.segments,n.segments))return!1;if(e.numberOfChildren!==n.numberOfChildren)return!1;for(var r in n.children){if(!e.children[r])return!1;if(!t(e.children[r],n.children[r]))return!1}return!0}(t.root,e.root):function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(function(n){return e[n]===t[n]})}(t.queryParams,e.queryParams)&&function t(e,n){return function e(n,r,o){if(n.segments.length>o.length)return!!yc(a=n.segments.slice(0,o.length),o)&&!r.hasChildren();if(n.segments.length===o.length){if(!yc(n.segments,o))return!1;for(var i in r.children){if(!n.children[i])return!1;if(!t(n.children[i],r.children[i]))return!1}return!0}var a=o.slice(0,n.segments.length),u=o.slice(n.segments.length);return!!yc(n.segments,a)&&!!n.children[Jl]&&e(n.children[Jl],r,u)}(e,n,n.segments)}(t.root,e.root)}var dc=function(){function t(t,e,n){this.root=t,this.queryParams=e,this.fragment=n}return Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=Xl(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return _c.serialize(this)},t}(),vc=function(){function t(t,e){var n=this;this.segments=t,this.children=e,this.parent=null,fc(e,function(t,e){return t.parent=n})}return t.prototype.hasChildren=function(){return this.numberOfChildren>0},Object.defineProperty(t.prototype,"numberOfChildren",{get:function(){return Object.keys(this.children).length},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return Cc(this)},t}(),gc=function(){function t(t,e){this.path=t,this.parameters=e}return Object.defineProperty(t.prototype,"parameterMap",{get:function(){return this._parameterMap||(this._parameterMap=Xl(this.parameters)),this._parameterMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return Pc(this)},t}();function yc(t,e){return t.length===e.length&&t.every(function(t,n){return t.path===e[n].path})}function mc(t,e){var n=[];return fc(t.children,function(t,r){r===Jl&&(n=n.concat(e(t,r)))}),fc(t.children,function(t,r){r!==Jl&&(n=n.concat(e(t,r)))}),n}var bc=function(){return function(){}}(),wc=function(){function t(){}return t.prototype.parse=function(t){var e=new Nc(t);return new dc(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())},t.prototype.serialize=function(t){var e,n;return"/"+function t(e,n){if(!e.hasChildren())return Cc(e);if(n){var r=e.children[Jl]?t(e.children[Jl],!1):"",o=[];return fc(e.children,function(e,n){n!==Jl&&o.push(n+":"+t(e,!1))}),o.length>0?r+"("+o.join("//")+")":r}var i=mc(e,function(n,r){return r===Jl?[t(e.children[Jl],!1)]:[r+":"+t(n,!1)]});return Cc(e)+"/("+i.join("//")+")"}(t.root,!0)+(e=t.queryParams,(n=Object.keys(e).map(function(t){var n=e[t];return Array.isArray(n)?n.map(function(e){return xc(t)+"="+xc(e)}).join("&"):xc(t)+"="+xc(n)})).length?"?"+n.join("&"):"")+("string"==typeof t.fragment?"#"+encodeURI(t.fragment):"")},t}(),_c=new wc;function Cc(t){return t.segments.map(function(t){return Pc(t)}).join("/")}function Sc(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function xc(t){return Sc(t).replace(/%3B/gi,";")}function Ec(t){return Sc(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Tc(t){return decodeURIComponent(t)}function kc(t){return Tc(t.replace(/\+/g,"%20"))}function Pc(t){return""+Ec(t.path)+(e=t.parameters,Object.keys(e).map(function(t){return";"+Ec(t)+"="+Ec(e[t])}).join(""));var e}var Rc=/^[^\/()?;=#]+/;function Ac(t){var e=t.match(Rc);return e?e[0]:""}var Ic=/^[^=?&#]+/,Oc=/^[^?&#]+/,Nc=function(){function t(t){this.url=t,this.remaining=t}return t.prototype.parseRootSegment=function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new vc([],{}):new vc([],this.parseChildren())},t.prototype.parseQueryParams=function(){var t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t},t.prototype.parseFragment=function(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null},t.prototype.parseChildren=function(){if(""===this.remaining)return{};this.consumeOptional("/");var t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());var e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));var n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(n[Jl]=new vc(t,e)),n},t.prototype.parseSegment=function(){var t=Ac(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '"+this.remaining+"'.");return this.capture(t),new gc(Tc(t),this.parseMatrixParams())},t.prototype.parseMatrixParams=function(){for(var t={};this.consumeOptional(";");)this.parseParam(t);return t},t.prototype.parseParam=function(t){var e=Ac(this.remaining);if(e){this.capture(e);var n="";if(this.consumeOptional("=")){var r=Ac(this.remaining);r&&this.capture(n=r)}t[Tc(e)]=Tc(n)}},t.prototype.parseQueryParam=function(t){var e,n=(e=this.remaining.match(Ic))?e[0]:"";if(n){this.capture(n);var r="";if(this.consumeOptional("=")){var o=function(t){var e=t.match(Oc);return e?e[0]:""}(this.remaining);o&&this.capture(r=o)}var i=kc(n),a=kc(r);if(t.hasOwnProperty(i)){var u=t[i];Array.isArray(u)||(t[i]=u=[u]),u.push(a)}else t[i]=a}},t.prototype.parseParens=function(t){var e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var n=Ac(this.remaining),r=this.remaining[n.length];if("/"!==r&&")"!==r&&";"!==r)throw new Error("Cannot parse url '"+this.url+"'");var o=void 0;n.indexOf(":")>-1?(o=n.substr(0,n.indexOf(":")),this.capture(o),this.capture(":")):t&&(o=Jl);var i=this.parseChildren();e[o]=1===Object.keys(i).length?i[Jl]:new vc([],i),this.consumeOptional("//")}return e},t.prototype.peekStartsWith=function(t){return this.remaining.startsWith(t)},t.prototype.consumeOptional=function(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)},t.prototype.capture=function(t){if(!this.consumeOptional(t))throw new Error('Expected "'+t+'".')},t}(),Mc=function(){function t(t){this._root=t}return Object.defineProperty(t.prototype,"root",{get:function(){return this._root.value},enumerable:!0,configurable:!0}),t.prototype.parent=function(t){var e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null},t.prototype.children=function(t){var e=Dc(t,this._root);return e?e.children.map(function(t){return t.value}):[]},t.prototype.firstChild=function(t){var e=Dc(t,this._root);return e&&e.children.length>0?e.children[0].value:null},t.prototype.siblings=function(t){var e=jc(t,this._root);return e.length<2?[]:e[e.length-2].children.map(function(t){return t.value}).filter(function(e){return e!==t})},t.prototype.pathFromRoot=function(t){return jc(t,this._root).map(function(t){return t.value})},t}();function Dc(t,e){var n,r;if(t===e.value)return e;try{for(var o=s(e.children),i=o.next();!i.done;i=o.next()){var a=Dc(t,i.value);if(a)return a}}catch(u){n={error:u}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return null}function jc(t,e){var n,r;if(t===e.value)return[e];try{for(var o=s(e.children),i=o.next();!i.done;i=o.next()){var a=jc(t,i.value);if(a.length)return a.unshift(e),a}}catch(u){n={error:u}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return[]}var Uc=function(){function t(t,e){this.value=t,this.children=e}return t.prototype.toString=function(){return"TreeNode("+this.value+")"},t}();function Lc(t){var e={};return t&&t.children.forEach(function(t){return e[t.value.outlet]=t}),e}var Hc=function(t){function e(e,n){var r=t.call(this,e)||this;return r.snapshot=n,Zc(r,e),r}return o(e,t),e.prototype.toString=function(){return this.snapshot.toString()},e}(Mc);function Vc(t,e){var n=function(t,e){var n=new Bc([],{},{},"",{},Jl,e,null,t.root,-1,{});return new qc("",new Uc(n,[]))}(t,e),r=new Du([new gc("",{})]),o=new Du({}),i=new Du({}),a=new Du({}),u=new Du(""),s=new Fc(r,o,a,u,i,Jl,e,n.root);return s.snapshot=n.root,new Hc(new Uc(s,[]),n)}var Fc=function(){function t(t,e,n,r,o,i,a,u){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=o,this.outlet=i,this.component=a,this._futureSnapshot=u}return Object.defineProperty(t.prototype,"routeConfig",{get:function(){return this._futureSnapshot.routeConfig},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=this.params.pipe(tt(function(t){return Xl(t)}))),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(tt(function(t){return Xl(t)}))),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return this.snapshot?this.snapshot.toString():"Future("+this._futureSnapshot+")"},t}();function zc(t,e){void 0===e&&(e="emptyOnly");var n=t.pathFromRoot,r=0;if("always"!==e)for(r=n.length-1;r>=1;){var o=n[r],a=n[r-1];if(o.routeConfig&&""===o.routeConfig.path)r--;else{if(a.component)break;r--}}return function(t){return t.reduce(function(t,e){return{params:i({},t.params,e.params),data:i({},t.data,e.data),resolve:i({},t.resolve,e._resolvedData)}},{params:{},data:{},resolve:{}})}(n.slice(r))}var Bc=function(){function t(t,e,n,r,o,i,a,u,s,l,c){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=o,this.outlet=i,this.component=a,this.routeConfig=u,this._urlSegment=s,this._lastPathIndex=l,this._resolve=c}return Object.defineProperty(t.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=Xl(this.params)),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=Xl(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return"Route(url:'"+this.url.map(function(t){return t.toString()}).join("/")+"', path:'"+(this.routeConfig?this.routeConfig.path:"")+"')"},t}(),qc=function(t){function e(e,n){var r=t.call(this,n)||this;return r.url=e,Zc(r,n),r}return o(e,t),e.prototype.toString=function(){return Gc(this._root)},e}(Mc);function Zc(t,e){e.value._routerState=t,e.children.forEach(function(e){return Zc(t,e)})}function Gc(t){var e=t.children.length>0?" { "+t.children.map(Gc).join(", ")+" } ":"";return""+t.value+e}function Wc(t){if(t.snapshot){var e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,sc(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),sc(e.params,n.params)||t.params.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(var n=0;n<t.length;++n)if(!sc(t[n],e[n]))return!1;return!0}(e.url,n.url)||t.url.next(n.url),sc(e.data,n.data)||t.data.next(n.data)}else t.snapshot=t._futureSnapshot,t.data.next(t._futureSnapshot.data)}function Qc(t,e){var n,r;return sc(t.params,e.params)&&yc(n=t.url,r=e.url)&&n.every(function(t,e){return sc(t.parameters,r[e].parameters)})&&!(!t.parent!=!e.parent)&&(!t.parent||Qc(t.parent,e.parent))}function Kc(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function Yc(t,e,n,r,o){var i={};return r&&fc(r,function(t,e){i[e]=Array.isArray(t)?t.map(function(t){return""+t}):""+t}),new dc(n.root===t?e:function t(e,n,r){var o={};return fc(e.children,function(e,i){o[i]=e===n?r:t(e,n,r)}),new vc(e.segments,o)}(n.root,t,e),i,o)}var Jc=function(){function t(t,e,n){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=n,t&&n.length>0&&Kc(n[0]))throw new Error("Root segment cannot have matrix parameters");var r=n.find(function(t){return"object"==typeof t&&null!=t&&t.outlets});if(r&&r!==cc(n))throw new Error("{outlets:{}} has to be the last command")}return t.prototype.toRoot=function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]},t}(),$c=function(){return function(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n}}();function Xc(t){return"object"==typeof t&&null!=t&&t.outlets?t.outlets[Jl]:""+t}function tf(t,e,n){if(t||(t=new vc([],{})),0===t.segments.length&&t.hasChildren())return ef(t,e,n);var r=function(t,e,n){for(var r=0,o=e,i={match:!1,pathIndex:0,commandIndex:0};o<t.segments.length;){if(r>=n.length)return i;var a=t.segments[o],u=Xc(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(!af(u,s,a))return i;r+=2}else{if(!af(u,{},a))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}(t,e,n),o=n.slice(r.commandIndex);if(r.match&&r.pathIndex<t.segments.length){var i=new vc(t.segments.slice(0,r.pathIndex),{});return i.children[Jl]=new vc(t.segments.slice(r.pathIndex),t.children),ef(i,0,o)}return r.match&&0===o.length?new vc(t.segments,{}):r.match&&!t.hasChildren()?nf(t,e,n):r.match?ef(t,0,o):nf(t,e,n)}function ef(t,e,n){if(0===n.length)return new vc(t.segments,{});var r=function(t){var e,n;return"object"!=typeof t[0]?((e={})[Jl]=t,e):void 0===t[0].outlets?((n={})[Jl]=t,n):t[0].outlets}(n),o={};return fc(r,function(n,r){null!==n&&(o[r]=tf(t.children[r],e,n))}),fc(t.children,function(t,e){void 0===r[e]&&(o[e]=t)}),new vc(t.segments,o)}function nf(t,e,n){for(var r=t.segments.slice(0,e),o=0;o<n.length;){if("object"==typeof n[o]&&void 0!==n[o].outlets){var i=rf(n[o].outlets);return new vc(r,i)}if(0===o&&Kc(n[0]))r.push(new gc(t.segments[e].path,n[0])),o++;else{var a=Xc(n[o]),u=o<n.length-1?n[o+1]:null;a&&u&&Kc(u)?(r.push(new gc(a,of(u))),o+=2):(r.push(new gc(a,{})),o++)}}return new vc(r,{})}function rf(t){var e={};return fc(t,function(t,n){null!==t&&(e[n]=nf(new vc([],{}),0,t))}),e}function of(t){var e={};return fc(t,function(t,n){return e[n]=""+t}),e}function af(t,e,n){return t==n.path&&sc(e,n.parameters)}var uf=function(){function t(t,e,n,r){this.routeReuseStrategy=t,this.futureState=e,this.currState=n,this.forwardEvent=r}return t.prototype.activate=function(t){var e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,t),Wc(this.futureState.root),this.activateChildRoutes(e,n,t)},t.prototype.deactivateChildRoutes=function(t,e,n){var r=this,o=Lc(e);t.children.forEach(function(t){var e=t.value.outlet;r.deactivateRoutes(t,o[e],n),delete o[e]}),fc(o,function(t,e){r.deactivateRouteAndItsChildren(t,n)})},t.prototype.deactivateRoutes=function(t,e,n){var r=t.value,o=e?e.value:null;if(r===o)if(r.component){var i=n.getContext(r.outlet);i&&this.deactivateChildRoutes(t,e,i.children)}else this.deactivateChildRoutes(t,e,n);else o&&this.deactivateRouteAndItsChildren(e,n)},t.prototype.deactivateRouteAndItsChildren=function(t,e){this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)},t.prototype.detachAndStoreRouteSubtree=function(t,e){var n=e.getContext(t.value.outlet);if(n&&n.outlet){var r=n.outlet.detach(),o=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:r,route:t,contexts:o})}},t.prototype.deactivateRouteAndOutlet=function(t,e){var n=this,r=e.getContext(t.value.outlet);if(r){var o=Lc(t),i=t.value.component?r.children:e;fc(o,function(t,e){return n.deactivateRouteAndItsChildren(t,i)}),r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated())}},t.prototype.activateChildRoutes=function(t,e,n){var r=this,o=Lc(e);t.children.forEach(function(t){r.activateRoutes(t,o[t.value.outlet],n),r.forwardEvent(new Ql(t.value.snapshot))}),t.children.length&&this.forwardEvent(new Gl(t.value.snapshot))},t.prototype.activateRoutes=function(t,e,n){var r=t.value,o=e?e.value:null;if(Wc(r),r===o)if(r.component){var i=n.getOrCreateContext(r.outlet);this.activateChildRoutes(t,e,i.children)}else this.activateChildRoutes(t,e,n);else if(r.component)if(i=n.getOrCreateContext(r.outlet),this.routeReuseStrategy.shouldAttach(r.snapshot)){var a=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),i.children.onOutletReAttached(a.contexts),i.attachRef=a.componentRef,i.route=a.route.value,i.outlet&&i.outlet.attach(a.componentRef,a.route.value),sf(a.route)}else{var u=function(t){for(var e=r.snapshot.parent;e;e=e.parent){var n=e.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig;if(n&&n.component)return null}return null}(),s=u?u.module.componentFactoryResolver:null;i.attachRef=null,i.route=r,i.resolver=s,i.outlet&&i.outlet.activateWith(r,s),this.activateChildRoutes(t,null,i.children)}else this.activateChildRoutes(t,null,n)},t}();function sf(t){Wc(t.value),t.children.forEach(sf)}function lf(t){return"function"==typeof t}function cf(t){return t instanceof dc}var ff=function(){return function(t){this.segmentGroup=t||null}}(),pf=function(){return function(t){this.urlTree=t}}();function hf(t){return new N(function(e){return e.error(new ff(t))})}function df(t){return new N(function(e){return e.error(new pf(t))})}function vf(t){return new N(function(e){return e.error(new Error("Only absolute redirects can have named outlets. redirectTo: '"+t+"'"))})}var gf=function(){function t(t,e,n,r,o){this.configLoader=e,this.urlSerializer=n,this.urlTree=r,this.config=o,this.allowRedirects=!0,this.ngModule=t.get(Ne)}return t.prototype.apply=function(){var t=this;return this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,Jl).pipe(tt(function(e){return t.createUrlTree(e,t.urlTree.queryParams,t.urlTree.fragment)})).pipe(as(function(e){if(e instanceof pf)return t.allowRedirects=!1,t.match(e.urlTree);if(e instanceof ff)throw t.noMatchError(e);throw e}))},t.prototype.match=function(t){var e=this;return this.expandSegmentGroup(this.ngModule,this.config,t.root,Jl).pipe(tt(function(n){return e.createUrlTree(n,t.queryParams,t.fragment)})).pipe(as(function(t){if(t instanceof ff)throw e.noMatchError(t);throw t}))},t.prototype.noMatchError=function(t){return new Error("Cannot match any routes. URL Segment: '"+t.segmentGroup+"'")},t.prototype.createUrlTree=function(t,e,n){var r,o=t.segments.length>0?new vc([],((r={})[Jl]=t,r)):t;return new dc(o,e,n)},t.prototype.expandSegmentGroup=function(t,e,n,r){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(t,e,n).pipe(tt(function(t){return new vc([],t)})):this.expandSegment(t,n,e,n.segments,r,!0)},t.prototype.expandChildren=function(t,e,n){var r=this;return function(n,o){if(0===Object.keys(n).length)return Mu({});var i=[],a=[],u={};return fc(n,function(n,o){var s,l,c=(s=o,l=n,r.expandSegmentGroup(t,e,l,s)).pipe(tt(function(t){return u[o]=t}));o===Jl?i.push(c):a.push(c)}),Mu.apply(null,i.concat(a)).pipe(zu(),is(),tt(function(){return u}))}(n.children)},t.prototype.expandSegment=function(t,e,n,r,o,i){var a=this;return Mu.apply(void 0,c(n)).pipe(tt(function(u){return a.expandSegmentAgainstRoute(t,e,n,u,r,o,i).pipe(as(function(t){if(t instanceof ff)return Mu(null);throw t}))}),zu(),ps(function(t){return!!t}),as(function(t,n){if(t instanceof Uu||"EmptyError"===t.name){if(a.noLeftoversInUrl(e,r,o))return Mu(new vc([],{}));throw new ff(e)}throw t}))},t.prototype.noLeftoversInUrl=function(t,e,n){return 0===e.length&&!t.children[n]},t.prototype.expandSegmentAgainstRoute=function(t,e,n,r,o,i,a){return wf(r)!==i?hf(e):void 0===r.redirectTo?this.matchSegmentAgainstRoute(t,e,r,o):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,r,o,i):hf(e)},t.prototype.expandSegmentAgainstRouteUsingRedirect=function(t,e,n,r,o,i){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,r,i):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,r,o,i)},t.prototype.expandWildCardWithParamsAgainstRouteUsingRedirect=function(t,e,n,r){var o=this,i=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?df(i):this.lineralizeSegments(n,i).pipe(it(function(n){var i=new vc(n,{});return o.expandSegment(t,i,e,n,r,!1)}))},t.prototype.expandRegularSegmentAgainstRouteUsingRedirect=function(t,e,n,r,o,i){var a=this,u=yf(e,r,o),s=u.consumedSegments,l=u.lastChild,c=u.positionalParamSegments;if(!u.matched)return hf(e);var f=this.applyRedirectCommands(s,r.redirectTo,c);return r.redirectTo.startsWith("/")?df(f):this.lineralizeSegments(r,f).pipe(it(function(r){return a.expandSegment(t,e,n,r.concat(o.slice(l)),i,!1)}))},t.prototype.matchSegmentAgainstRoute=function(t,e,n,r){var o=this;if("**"===n.path)return n.loadChildren?this.configLoader.load(t.injector,n).pipe(tt(function(t){return n._loadedConfig=t,new vc(r,{})})):Mu(new vc(r,{}));var a=yf(e,n,r),u=a.consumedSegments,l=a.lastChild;if(!a.matched)return hf(e);var c=r.slice(l);return this.getChildConfig(t,n,r).pipe(it(function(t){var n=t.module,r=t.routes,a=function(t,e,n,r){return n.length>0&&function(t,e,n){return r.some(function(n){return bf(t,e,n)&&wf(n)!==Jl})}(t,n)?{segmentGroup:mf(new vc(e,function(t,e){var n,r,o={};o[Jl]=e;try{for(var i=s(t),a=i.next();!a.done;a=i.next()){var u=a.value;""===u.path&&wf(u)!==Jl&&(o[wf(u)]=new vc([],{}))}}catch(l){n={error:l}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return o}(r,new vc(n,t.children)))),slicedSegments:[]}:0===n.length&&function(t,e,n){return r.some(function(n){return bf(t,e,n)})}(t,n)?{segmentGroup:mf(new vc(t.segments,function(t,e,n,r){var o,a,u={};try{for(var l=s(n),c=l.next();!c.done;c=l.next()){var f=c.value;bf(t,e,f)&&!r[wf(f)]&&(u[wf(f)]=new vc([],{}))}}catch(p){o={error:p}}finally{try{c&&!c.done&&(a=l.return)&&a.call(l)}finally{if(o)throw o.error}}return i({},r,u)}(t,n,r,t.children))),slicedSegments:n}:{segmentGroup:t,slicedSegments:n}}(e,u,c,r),l=a.segmentGroup,f=a.slicedSegments;return 0===f.length&&l.hasChildren()?o.expandChildren(n,r,l).pipe(tt(function(t){return new vc(u,t)})):0===r.length&&0===f.length?Mu(new vc(u,{})):o.expandSegment(n,l,r,f,Jl,!0).pipe(tt(function(t){return new vc(u.concat(t.segments),t.children)}))}))},t.prototype.getChildConfig=function(t,e,n){var r=this;return e.children?Mu(new rc(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?Mu(e._loadedConfig):function(t,e,n){var r,o=e.canLoad;return o&&0!==o.length?ot(o).pipe(tt(function(r){var o,i=t.get(r);if(function(t){return t&&lf(t.canLoad)}(i))o=i.canLoad(e,n);else{if(!lf(i))throw new Error("Invalid CanLoad guard");o=i(e,n)}return pc(o)})).pipe(zu(),(r=function(t){return!0===t},function(t){return t.lift(new hs(r,void 0,t))})):Mu(!0)}(t.injector,e,n).pipe(it(function(n){return n?r.configLoader.load(t.injector,e).pipe(tt(function(t){return e._loadedConfig=t,t})):function(t){return new N(function(e){return e.error(ec("Cannot load children because the guard of the route \"path: '"+t.path+"'\" returned false"))})}(e)})):Mu(new rc([],t))},t.prototype.lineralizeSegments=function(t,e){for(var n=[],r=e.root;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return Mu(n);if(r.numberOfChildren>1||!r.children[Jl])return vf(t.redirectTo);r=r.children[Jl]}},t.prototype.applyRedirectCommands=function(t,e,n){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,n)},t.prototype.applyRedirectCreatreUrlTree=function(t,e,n,r){var o=this.createSegmentGroup(t,e.root,n,r);return new dc(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)},t.prototype.createQueryParams=function(t,e){var n={};return fc(t,function(t,r){if("string"==typeof t&&t.startsWith(":")){var o=t.substring(1);n[r]=e[o]}else n[r]=t}),n},t.prototype.createSegmentGroup=function(t,e,n,r){var o=this,i=this.createSegments(t,e.segments,n,r),a={};return fc(e.children,function(e,i){a[i]=o.createSegmentGroup(t,e,n,r)}),new vc(i,a)},t.prototype.createSegments=function(t,e,n,r){var o=this;return e.map(function(e){return e.path.startsWith(":")?o.findPosParam(t,e,r):o.findOrReturn(e,n)})},t.prototype.findPosParam=function(t,e,n){var r=n[e.path.substring(1)];if(!r)throw new Error("Cannot redirect to '"+t+"'. Cannot find '"+e.path+"'.");return r},t.prototype.findOrReturn=function(t,e){var n,r,o=0;try{for(var i=s(e),a=i.next();!a.done;a=i.next()){var u=a.value;if(u.path===t.path)return e.splice(o),u;o++}}catch(l){n={error:l}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return t},t}();function yf(t,e,n){if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||n.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};var r=(e.matcher||nc)(n,t,e);return r?{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,positionalParamSegments:r.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function mf(t){if(1===t.numberOfChildren&&t.children[Jl]){var e=t.children[Jl];return new vc(t.segments.concat(e.segments),e.children)}return t}function bf(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0!==n.redirectTo}function wf(t){return t.outlet||Jl}var _f=function(){return function(t){this.path=t,this.route=this.path[this.path.length-1]}}(),Cf=function(){return function(t,e){this.component=t,this.route=e}}();function Sf(t,e,n){var r=function(t){if(!t)return null;for(var e=t.parent;e;e=e.parent){var n=e.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig}return null}(e);return(r?r.module.injector:n).get(t)}function xf(t,e,n,r,o){void 0===o&&(o={canDeactivateChecks:[],canActivateChecks:[]});var i=Lc(e);return t.children.forEach(function(t){!function(t,e,n,r,o){void 0===o&&(o={canDeactivateChecks:[],canActivateChecks:[]});var i=t.value,a=e?e.value:null,u=n?n.getContext(t.value.outlet):null;if(a&&i.routeConfig===a.routeConfig){var s=function(t,e,n){if("function"==typeof n)return n(t,e);switch(n){case"pathParamsChange":return!yc(t.url,e.url);case"pathParamsOrQueryParamsChange":return!yc(t.url,e.url)||!sc(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Qc(t,e)||!sc(t.queryParams,e.queryParams);case"paramsChange":default:return!Qc(t,e)}}(a,i,i.routeConfig.runGuardsAndResolvers);s?o.canActivateChecks.push(new _f(r)):(i.data=a.data,i._resolvedData=a._resolvedData),xf(t,e,i.component?u?u.children:null:n,r,o),s&&o.canDeactivateChecks.push(new Cf(u&&u.outlet&&u.outlet.component||null,a))}else a&&Ef(e,u,o),o.canActivateChecks.push(new _f(r)),xf(t,null,i.component?u?u.children:null:n,r,o)}(t,i[t.value.outlet],n,r.concat([t.value]),o),delete i[t.value.outlet]}),fc(i,function(t,e){return Ef(t,n.getContext(e),o)}),o}function Ef(t,e,n){var r=Lc(t),o=t.value;fc(r,function(t,r){Ef(t,o.component?e?e.children.getContext(r):null:e,n)}),n.canDeactivateChecks.push(new Cf(o.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,o))}var Tf=Symbol("INITIAL_VALUE");function kf(){return vs(function(t){return(function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=null,r=null;return F(t[t.length-1])&&(r=t.pop()),"function"==typeof t[t.length-1]&&(n=t.pop()),1===t.length&&f(t[0])&&(t=t[0]),rt(t,r).lift(new Hu(n))}).apply(void 0,c(t.map(function(t){return t.pipe(ls(1),function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e){var n=t[t.length-1];F(n)?t.pop():n=null;var r=t.length;return function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 1===t.length||2===t.length&&F(t[1])?ot(t[0]):zu()(Mu.apply(void 0,t))}(1!==r||n?r>0?rt(t,n):Ou(n):Nu(t[0]),e)}}(Tf))}))).pipe(ms(function(t,e){var n=!1;return e.reduce(function(t,r,o){if(t!==Tf)return t;if(r===Tf&&(n=!0),!n){if(!1===r)return r;if(o===e.length-1||cf(r))return r}return t},t)},Tf),Bu(function(t){return t!==Tf}),tt(function(t){return cf(t)?t:!0===t}),ls(1))})}function Pf(t,e){return null!==t&&e&&e(new Wl(t)),Mu(!0)}function Rf(t,e){return null!==t&&e&&e(new Zl(t)),Mu(!0)}function Af(t,e,n){var r=e.routeConfig?e.routeConfig.canActivate:null;return r&&0!==r.length?Mu(r.map(function(r){return Fu(function(){var o,i=Sf(r,e,n);if(function(t){return t&&lf(t.canActivate)}(i))o=pc(i.canActivate(e,t));else{if(!lf(i))throw new Error("Invalid CanActivate guard");o=pc(i(e,t))}return o.pipe(ps())})})).pipe(kf()):Mu(!0)}function If(t,e,n){var r=e[e.length-1],o=e.slice(0,e.length-1).reverse().map(function(t){return function(t){var e=t.routeConfig?t.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:t,guards:e}:null}(t)}).filter(function(t){return null!==t}).map(function(e){return Fu(function(){return Mu(e.guards.map(function(o){var i,a=Sf(o,e.node,n);if(function(t){return t&&lf(t.canActivateChild)}(a))i=pc(a.canActivateChild(r,t));else{if(!lf(a))throw new Error("Invalid CanActivateChild guard");i=pc(a(r,t))}return i.pipe(ps())})).pipe(kf())})});return Mu(o).pipe(kf())}var Of=function(){return function(){}}(),Nf=function(){function t(t,e,n,r,o,i){this.rootComponentType=t,this.config=e,this.urlTree=n,this.url=r,this.paramsInheritanceStrategy=o,this.relativeLinkResolution=i}return t.prototype.recognize=function(){try{var t=jf(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,Jl),n=new Bc([],Object.freeze({}),Object.freeze(i({},this.urlTree.queryParams)),this.urlTree.fragment,{},Jl,this.rootComponentType,null,this.urlTree.root,-1,{}),r=new Uc(n,e),o=new qc(this.url,r);return this.inheritParamsAndData(o._root),Mu(o)}catch(a){return new N(function(t){return t.error(a)})}},t.prototype.inheritParamsAndData=function(t){var e=this,n=t.value,r=zc(n,this.paramsInheritanceStrategy);n.params=Object.freeze(r.params),n.data=Object.freeze(r.data),t.children.forEach(function(t){return e.inheritParamsAndData(t)})},t.prototype.processSegmentGroup=function(t,e,n){return 0===e.segments.length&&e.hasChildren()?this.processChildren(t,e):this.processSegment(t,e,e.segments,n)},t.prototype.processChildren=function(t,e){var n,r=this,o=mc(e,function(e,n){return r.processSegmentGroup(t,e,n)});return n={},o.forEach(function(t){var e=n[t.value.outlet];if(e){var r=e.url.map(function(t){return t.toString()}).join("/"),o=t.value.url.map(function(t){return t.toString()}).join("/");throw new Error("Two segments cannot have the same outlet name: '"+r+"' and '"+o+"'.")}n[t.value.outlet]=t.value}),o.sort(function(t,e){return t.value.outlet===Jl?-1:e.value.outlet===Jl?1:t.value.outlet.localeCompare(e.value.outlet)}),o},t.prototype.processSegment=function(t,e,n,r){var o,i;try{for(var a=s(t),u=a.next();!u.done;u=a.next()){var l=u.value;try{return this.processSegmentAgainstRoute(l,e,n,r)}catch(c){if(!(c instanceof Of))throw c}}}catch(f){o={error:f}}finally{try{u&&!u.done&&(i=a.return)&&i.call(a)}finally{if(o)throw o.error}}if(this.noLeftoversInUrl(e,n,r))return[];throw new Of},t.prototype.noLeftoversInUrl=function(t,e,n){return 0===e.length&&!t.children[n]},t.prototype.processSegmentAgainstRoute=function(t,e,n,r){if(t.redirectTo)throw new Of;if((t.outlet||Jl)!==r)throw new Of;var o,a=[],u=[];if("**"===t.path){var s=n.length>0?cc(n).parameters:{};o=new Bc(n,s,Object.freeze(i({},this.urlTree.queryParams)),this.urlTree.fragment,Hf(t),r,t.component,t,Mf(e),Df(e)+n.length,Vf(t))}else{var l=function(t,e,n){if(""===e.path){if("full"===e.pathMatch&&(t.hasChildren()||n.length>0))throw new Of;return{consumedSegments:[],lastChild:0,parameters:{}}}var r=(e.matcher||nc)(n,t,e);if(!r)throw new Of;var o={};fc(r.posParams,function(t,e){o[e]=t.path});var a=r.consumed.length>0?i({},o,r.consumed[r.consumed.length-1].parameters):o;return{consumedSegments:r.consumed,lastChild:r.consumed.length,parameters:a}}(e,t,n);a=l.consumedSegments,u=n.slice(l.lastChild),o=new Bc(a,l.parameters,Object.freeze(i({},this.urlTree.queryParams)),this.urlTree.fragment,Hf(t),r,t.component,t,Mf(e),Df(e)+a.length,Vf(t))}var c=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),f=jf(e,a,u,c,this.relativeLinkResolution),p=f.segmentGroup,h=f.slicedSegments;if(0===h.length&&p.hasChildren()){var d=this.processChildren(c,p);return[new Uc(o,d)]}if(0===c.length&&0===h.length)return[new Uc(o,[])];var v=this.processSegment(c,p,h,Jl);return[new Uc(o,v)]},t}();function Mf(t){for(var e=t;e._sourceSegment;)e=e._sourceSegment;return e}function Df(t){for(var e=t,n=e._segmentIndexShift?e._segmentIndexShift:0;e._sourceSegment;)n+=(e=e._sourceSegment)._segmentIndexShift?e._segmentIndexShift:0;return n-1}function jf(t,e,n,r,o){if(n.length>0&&function(t,e,n){return r.some(function(n){return Uf(t,e,n)&&Lf(n)!==Jl})}(t,n)){var a=new vc(e,function(t,e,n,r){var o,i,a={};a[Jl]=r,r._sourceSegment=t,r._segmentIndexShift=e.length;try{for(var u=s(n),l=u.next();!l.done;l=u.next()){var c=l.value;if(""===c.path&&Lf(c)!==Jl){var f=new vc([],{});f._sourceSegment=t,f._segmentIndexShift=e.length,a[Lf(c)]=f}}}catch(p){o={error:p}}finally{try{l&&!l.done&&(i=u.return)&&i.call(u)}finally{if(o)throw o.error}}return a}(t,e,r,new vc(n,t.children)));return a._sourceSegment=t,a._segmentIndexShift=e.length,{segmentGroup:a,slicedSegments:[]}}if(0===n.length&&function(t,e,n){return r.some(function(n){return Uf(t,e,n)})}(t,n)){var u=new vc(t.segments,function(t,e,n,r,o,a){var u,l,c={};try{for(var f=s(r),p=f.next();!p.done;p=f.next()){var h=p.value;if(Uf(t,n,h)&&!o[Lf(h)]){var d=new vc([],{});d._sourceSegment=t,d._segmentIndexShift="legacy"===a?t.segments.length:e.length,c[Lf(h)]=d}}}catch(v){u={error:v}}finally{try{p&&!p.done&&(l=f.return)&&l.call(f)}finally{if(u)throw u.error}}return i({},o,c)}(t,e,n,r,t.children,o));return u._sourceSegment=t,u._segmentIndexShift=e.length,{segmentGroup:u,slicedSegments:n}}var l=new vc(t.segments,t.children);return l._sourceSegment=t,l._segmentIndexShift=e.length,{segmentGroup:l,slicedSegments:n}}function Uf(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0===n.redirectTo}function Lf(t){return t.outlet||Jl}function Hf(t){return t.data||{}}function Vf(t){return t.resolve||{}}function Ff(t,e,n,r){var o=Sf(t,e,r);return pc(o.resolve?o.resolve(e,n):o(e,n))}function zf(t){return function(e){return e.pipe(vs(function(e){var n=t(e);return n?ot(n).pipe(tt(function(){return e})):ot([e])}))}}var Bf=function(){return function(){}}(),qf=function(){function t(){}return t.prototype.shouldDetach=function(t){return!1},t.prototype.store=function(t,e){},t.prototype.shouldAttach=function(t){return!1},t.prototype.retrieve=function(t){return null},t.prototype.shouldReuseRoute=function(t,e){return t.routeConfig===e.routeConfig},t}(),Zf=new St("ROUTES"),Gf=function(){function t(t,e,n,r){this.loader=t,this.compiler=e,this.onLoadStartListener=n,this.onLoadEndListener=r}return t.prototype.load=function(t,e){var n=this;return this.onLoadStartListener&&this.onLoadStartListener(e),this.loadModuleFactory(e.loadChildren).pipe(tt(function(r){n.onLoadEndListener&&n.onLoadEndListener(e);var o=r.create(t);return new rc(lc(o.injector.get(Zf)).map(uc),o)}))},t.prototype.loadModuleFactory=function(t){var e=this;return"string"==typeof t?ot(this.loader.load(t)):pc(t()).pipe(it(function(t){return t instanceof Me?Mu(t):ot(e.compiler.compileModuleAsync(t))}))},t}(),Wf=function(){return function(){}}(),Qf=function(){function t(){}return t.prototype.shouldProcessUrl=function(t){return!0},t.prototype.extract=function(t){return t},t.prototype.merge=function(t,e){return t},t}();function Kf(t){throw t}function Yf(t,e,n){return e.parse("/")}function Jf(t,e){return Mu(null)}var $f=function(){function t(t,e,n,r,o,i,a,u){var s=this;this.rootComponentType=t,this.urlSerializer=e,this.rootContexts=n,this.location=r,this.config=u,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new H,this.errorHandler=Kf,this.malformedUriErrorHandler=Yf,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Jf,afterPreactivation:Jf},this.urlHandlingStrategy=new Qf,this.routeReuseStrategy=new qf,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=o.get(Ne),this.console=o.get(Fn);var l=o.get(nr);this.isNgZoneEnabled=l instanceof nr,this.resetConfig(u),this.currentUrlTree=new dc(new vc([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new Gf(i,a,function(t){return s.triggerEvent(new Bl(t))},function(t){return s.triggerEvent(new ql(t))}),this.routerState=Vc(this.currentUrlTree,this.rootComponentType),this.transitions=new Du({id:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}return t.prototype.setupNavigations=function(t){var e=this,n=this.events;return t.pipe(Bu(function(t){return 0!==t.id}),tt(function(t){return i({},t,{extractedUrl:e.urlHandlingStrategy.extract(t.rawUrl)})}),vs(function(t){var r,o,a,u,l=!1,c=!1;return Mu(t).pipe(Ju(function(t){e.currentNavigation={id:t.id,initialUrl:t.currentRawUrl,extractedUrl:t.extractedUrl,trigger:t.source,extras:t.extras,previousNavigation:e.lastSuccessfulNavigation?i({},e.lastSuccessfulNavigation,{previousNavigation:null}):null}}),vs(function(t){var r,o,a,u,s=!e.navigated||t.extractedUrl.toString()!==e.browserUrlTree.toString();if(("reload"===e.onSameUrlNavigation||s)&&e.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return Mu(t).pipe(vs(function(t){var r=e.transitions.getValue();return n.next(new Ml(t.id,e.serializeUrl(t.extractedUrl),t.source,t.restoredState)),r!==e.transitions.getValue()?Iu:[t]}),vs(function(t){return Promise.resolve(t)}),(r=e.ngModule.injector,o=e.configLoader,a=e.urlSerializer,u=e.config,function(t){return t.pipe(vs(function(t){return function(e,n,r,o,i){return new gf(e,n,r,t.extractedUrl,i).apply()}(r,o,a,0,u).pipe(tt(function(e){return i({},t,{urlAfterRedirects:e})}))}))}),Ju(function(t){e.currentNavigation=i({},e.currentNavigation,{finalUrl:t.urlAfterRedirects})}),function(t,n,r,o,a){return function(r){return r.pipe(it(function(r){return function(t,e,n,r,o,i){return void 0===o&&(o="emptyOnly"),void 0===i&&(i="legacy"),new Nf(t,e,n,r,o,i).recognize()}(t,n,r.urlAfterRedirects,(u=r.urlAfterRedirects,e.serializeUrl(u)),o,a).pipe(tt(function(t){return i({},r,{targetSnapshot:t})}));var u}))}}(e.rootComponentType,e.config,0,e.paramsInheritanceStrategy,e.relativeLinkResolution),Ju(function(t){"eager"===e.urlUpdateStrategy&&(t.extras.skipLocationChange||e.setBrowserUrl(t.urlAfterRedirects,!!t.extras.replaceUrl,t.id),e.browserUrlTree=t.urlAfterRedirects)}),Ju(function(t){var r=new Ll(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);n.next(r)}));if(s&&e.rawUrlTree&&e.urlHandlingStrategy.shouldProcessUrl(e.rawUrlTree)){var l=t.extractedUrl,c=t.source,f=t.restoredState,p=t.extras,h=new Ml(t.id,e.serializeUrl(l),c,f);n.next(h);var d=Vc(l,e.rootComponentType).snapshot;return Mu(i({},t,{targetSnapshot:d,urlAfterRedirects:l,extras:i({},p,{skipLocationChange:!1,replaceUrl:!1})}))}return e.rawUrlTree=t.rawUrl,t.resolve(null),Iu}),zf(function(t){var n=t.extras;return e.hooks.beforePreactivation(t.targetSnapshot,{navigationId:t.id,appliedUrlTree:t.extractedUrl,rawUrlTree:t.rawUrl,skipLocationChange:!!n.skipLocationChange,replaceUrl:!!n.replaceUrl})}),Ju(function(t){var n=new Hl(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)}),tt(function(t){return i({},t,{guards:(n=t.targetSnapshot,r=t.currentSnapshot,o=e.rootContexts,a=n._root,xf(a,r?r._root:null,o,[a.value]))});var n,r,o,a}),function(t,e){return function(n){return n.pipe(it(function(n){var r=n.targetSnapshot,o=n.currentSnapshot,a=n.guards,u=a.canActivateChecks,s=a.canDeactivateChecks;return 0===s.length&&0===u.length?Mu(i({},n,{guardsResult:!0})):function(t,e,n,r){return ot(s).pipe(it(function(t){return function(t,e,n,r,o){var i=e&&e.routeConfig?e.routeConfig.canDeactivate:null;return i&&0!==i.length?Mu(i.map(function(i){var a,u=Sf(i,e,o);if(function(t){return t&&lf(t.canDeactivate)}(u))a=pc(u.canDeactivate(t,e,n,r));else{if(!lf(u))throw new Error("Invalid CanDeactivate guard");a=pc(u(t,e,n,r))}return a.pipe(ps())})).pipe(kf()):Mu(!0)}(t.component,t.route,n,e,r)}),ps(function(t){return!0!==t},!0))}(0,r,o,t).pipe(it(function(n){return n&&"boolean"==typeof n?function(t,e,n,r){return ot(u).pipe(_s(function(e){return ot([Rf(e.route.parent,r),Pf(e.route,r),If(t,e.path,n),Af(t,e.route,n)]).pipe(zu(),ps(function(t){return!0!==t},!0))}),ps(function(t){return!0!==t},!0))}(r,0,t,e):Mu(n)}),tt(function(t){return i({},n,{guardsResult:t})}))}))}}(e.ngModule.injector,function(t){return e.triggerEvent(t)}),Ju(function(t){if(cf(t.guardsResult)){var n=ec('Redirecting to "'+e.serializeUrl(t.guardsResult)+'"');throw n.url=t.guardsResult,n}}),Ju(function(t){var n=new Vl(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);e.triggerEvent(n)}),Bu(function(t){if(!t.guardsResult){e.resetUrlToCurrentUrlTree();var r=new jl(t.id,e.serializeUrl(t.extractedUrl),"");return n.next(r),t.resolve(!1),!1}return!0}),zf(function(t){if(t.guards.canActivateChecks.length)return Mu(t).pipe(Ju(function(t){var n=new Fl(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)}),(n=e.paramsInheritanceStrategy,r=e.ngModule.injector,function(t){return t.pipe(it(function(t){var e=t.targetSnapshot,o=t.guards.canActivateChecks;return o.length?ot(o).pipe(_s(function(t){return function(t,n,r,o){return function(t,e,n,r){var o=Object.keys(t);if(0===o.length)return Mu({});if(1===o.length){var i=o[0];return Ff(t[i],e,n,r).pipe(tt(function(t){var e;return(e={})[i]=t,e}))}var a={};return ot(o).pipe(it(function(o){return Ff(t[o],e,n,r).pipe(tt(function(t){return a[o]=t,t}))})).pipe(is(),tt(function(){return a}))}(t._resolve,t,e,o).pipe(tt(function(e){return t._resolvedData=e,t.data=i({},t.data,zc(t,r).resolve),null}))}(t.route,0,n,r)}),function(t,e){return arguments.length>=2?function(e){return I(ms(t,void 0),Qu(1),ns(void 0))(e)}:function(e){return I(ms(function(e,n,r){return t(e)}),Qu(1))(e)}}(function(t,e){return t}),tt(function(e){return t})):Mu(t)}))}),Ju(function(t){var n=new zl(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)}));var n,r}),zf(function(t){var n=t.extras;return e.hooks.afterPreactivation(t.targetSnapshot,{navigationId:t.id,appliedUrlTree:t.extractedUrl,rawUrlTree:t.rawUrl,skipLocationChange:!!n.skipLocationChange,replaceUrl:!!n.replaceUrl})}),tt(function(t){var n,r,o,a=(o=function t(e,n,r){if(r&&e.shouldReuseRoute(n.value,r.value.snapshot)){(l=r.value)._futureSnapshot=n.value;var o=function(e,n,r){return n.children.map(function(n){var o,i;try{for(var a=s(r.children),u=a.next();!u.done;u=a.next()){var l=u.value;if(e.shouldReuseRoute(l.value.snapshot,n.value))return t(e,n,l)}}catch(c){o={error:c}}finally{try{u&&!u.done&&(i=a.return)&&i.call(a)}finally{if(o)throw o.error}}return t(e,n)})}(e,n,r);return new Uc(l,o)}var i=e.retrieve(n.value);if(i){var a=i.route;return function t(e,n){if(e.value.routeConfig!==n.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(e.children.length!==n.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");n.value._futureSnapshot=e.value;for(var r=0;r<e.children.length;++r)t(e.children[r],n.children[r])}(n,a),a}var u,l=new Fc(new Du((u=n.value).url),new Du(u.params),new Du(u.queryParams),new Du(u.fragment),new Du(u.data),u.outlet,u.component,u);return o=n.children.map(function(n){return t(e,n)}),new Uc(l,o)}(e.routeReuseStrategy,(n=t.targetSnapshot)._root,(r=t.currentRouterState)?r._root:void 0),new Hc(o,n));return i({},t,{targetRouterState:a})}),Ju(function(t){e.currentUrlTree=t.urlAfterRedirects,e.rawUrlTree=e.urlHandlingStrategy.merge(e.currentUrlTree,t.rawUrl),e.routerState=t.targetRouterState,"deferred"===e.urlUpdateStrategy&&(t.extras.skipLocationChange||e.setBrowserUrl(e.rawUrlTree,!!t.extras.replaceUrl,t.id,t.extras.state),e.browserUrlTree=t.urlAfterRedirects)}),(o=e.rootContexts,a=e.routeReuseStrategy,u=function(t){return e.triggerEvent(t)},tt(function(t){return new uf(a,t.targetRouterState,t.currentRouterState,u).activate(o),t})),Ju({next:function(){l=!0},complete:function(){l=!0}}),(r=function(){if(!l&&!c){e.resetUrlToCurrentUrlTree();var r=new jl(t.id,e.serializeUrl(t.extractedUrl),"Navigation ID "+t.id+" is not equal to the current navigation id "+e.navigationId);n.next(r),t.resolve(!1)}e.currentNavigation=null},function(t){return t.lift(new Cs(r))}),as(function(r){if(c=!0,(u=r)&&u[tc]){var o=cf(r.url);o||(e.navigated=!0,e.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl));var i=new jl(t.id,e.serializeUrl(t.extractedUrl),r.message);n.next(i),t.resolve(!1),o&&e.navigateByUrl(r.url)}else{e.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl);var a=new Ul(t.id,e.serializeUrl(t.extractedUrl),r);n.next(a);try{t.resolve(e.errorHandler(r))}catch(s){t.reject(s)}}var u;return Iu}))}))},t.prototype.resetRootComponentType=function(t){this.rootComponentType=t,this.routerState.root.component=this.rootComponentType},t.prototype.getTransition=function(){return this.transitions.value},t.prototype.setTransition=function(t){this.transitions.next(i({},this.getTransition(),t))},t.prototype.initialNavigation=function(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})},t.prototype.setUpLocationChangeListener=function(){var t=this;this.locationSubscription||(this.locationSubscription=this.location.subscribe(function(e){var n=t.parseUrl(e.url),r="popstate"===e.type?"popstate":"hashchange",o=e.state&&e.state.navigationId?e.state:null;setTimeout(function(){t.scheduleNavigation(n,r,o,{replaceUrl:!0})},0)}))},Object.defineProperty(t.prototype,"url",{get:function(){return this.serializeUrl(this.currentUrlTree)},enumerable:!0,configurable:!0}),t.prototype.getCurrentNavigation=function(){return this.currentNavigation},t.prototype.triggerEvent=function(t){this.events.next(t)},t.prototype.resetConfig=function(t){oc(t),this.config=t.map(uc),this.navigated=!1,this.lastSuccessfulId=-1},t.prototype.ngOnDestroy=function(){this.dispose()},t.prototype.dispose=function(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=null)},t.prototype.createUrlTree=function(t,e){void 0===e&&(e={});var n=e.relativeTo,r=e.queryParams,o=e.fragment,a=e.preserveQueryParams,u=e.queryParamsHandling,s=e.preserveFragment;We()&&a&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");var l=n||this.routerState.root,f=s?this.currentUrlTree.fragment:o,p=null;if(u)switch(u){case"merge":p=i({},this.currentUrlTree.queryParams,r);break;case"preserve":p=this.currentUrlTree.queryParams;break;default:p=r||null}else p=a?this.currentUrlTree.queryParams:r||null;return null!==p&&(p=this.removeEmptyProps(p)),function(t,e,n,r,o){if(0===n.length)return Yc(e.root,e.root,e,r,o);var i=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new Jc(!0,0,t);var e=0,n=!1,r=t.reduce(function(t,r,o){if("object"==typeof r&&null!=r){if(r.outlets){var i={};return fc(r.outlets,function(t,e){i[e]="string"==typeof t?t.split("/"):t}),c(t,[{outlets:i}])}if(r.segmentPath)return c(t,[r.segmentPath])}return"string"!=typeof r?c(t,[r]):0===o?(r.split("/").forEach(function(r,o){0==o&&"."===r||(0==o&&""===r?n=!0:".."===r?e++:""!=r&&t.push(r))}),t):c(t,[r])},[]);return new Jc(n,e,r)}(n);if(i.toRoot())return Yc(e.root,new vc([],{}),e,r,o);var a=function(t,n,r){if(t.isAbsolute)return new $c(e.root,!0,0);if(-1===r.snapshot._lastPathIndex)return new $c(r.snapshot._urlSegment,!0,0);var o=Kc(t.commands[0])?0:1;return function(e,n,i){for(var a=r.snapshot._urlSegment,u=r.snapshot._lastPathIndex+o,s=t.numberOfDoubleDots;s>u;){if(s-=u,!(a=a.parent))throw new Error("Invalid number of '../'");u=a.segments.length}return new $c(a,!1,u-s)}()}(i,0,t),u=a.processChildren?ef(a.segmentGroup,a.index,i.commands):tf(a.segmentGroup,a.index,i.commands);return Yc(a.segmentGroup,u,e,r,o)}(l,this.currentUrlTree,t,p,f)},t.prototype.navigateByUrl=function(t,e){void 0===e&&(e={skipLocationChange:!1}),We()&&this.isNgZoneEnabled&&!nr.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");var n=cf(t)?t:this.parseUrl(t),r=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(r,"imperative",null,e)},t.prototype.navigate=function(t,e){return void 0===e&&(e={skipLocationChange:!1}),function(t){for(var e=0;e<t.length;e++){var n=t[e];if(null==n)throw new Error("The requested path contains "+n+" segment at index "+e)}}(t),this.navigateByUrl(this.createUrlTree(t,e),e)},t.prototype.serializeUrl=function(t){return this.urlSerializer.serialize(t)},t.prototype.parseUrl=function(t){var e;try{e=this.urlSerializer.parse(t)}catch(n){e=this.malformedUriErrorHandler(n,this.urlSerializer,t)}return e},t.prototype.isActive=function(t,e){if(cf(t))return hc(this.currentUrlTree,t,e);var n=this.parseUrl(t);return hc(this.currentUrlTree,n,e)},t.prototype.removeEmptyProps=function(t){return Object.keys(t).reduce(function(e,n){var r=t[n];return null!=r&&(e[n]=r),e},{})},t.prototype.processNavigations=function(){var t=this;this.navigations.subscribe(function(e){t.navigated=!0,t.lastSuccessfulId=e.id,t.events.next(new Dl(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(t.currentUrlTree))),t.lastSuccessfulNavigation=t.currentNavigation,t.currentNavigation=null,e.resolve(!0)},function(e){t.console.warn("Unhandled Navigation Error: ")})},t.prototype.scheduleNavigation=function(t,e,n,r){var o=this.getTransition();if(o&&"imperative"!==e&&"imperative"===o.source&&o.rawUrl.toString()===t.toString())return Promise.resolve(!0);if(o&&"hashchange"==e&&"popstate"===o.source&&o.rawUrl.toString()===t.toString())return Promise.resolve(!0);if(o&&"popstate"==e&&"hashchange"===o.source&&o.rawUrl.toString()===t.toString())return Promise.resolve(!0);var i=null,a=null,u=new Promise(function(t,e){i=t,a=e}),s=++this.navigationId;return this.setTransition({id:s,source:e,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:t,extras:r,resolve:i,reject:a,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(function(t){return Promise.reject(t)})},t.prototype.setBrowserUrl=function(t,e,n,r){var o=this.urlSerializer.serialize(t);r=r||{},this.location.isCurrentPathEqualTo(o)||e?this.location.replaceState(o,"",i({},r,{navigationId:n})):this.location.go(o,"",i({},r,{navigationId:n}))},t.prototype.resetStateAndUrl=function(t,e,n){this.routerState=t,this.currentUrlTree=e,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n),this.resetUrlToCurrentUrlTree()},t.prototype.resetUrlToCurrentUrlTree=function(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",{navigationId:this.lastSuccessfulId})},t}(),Xf=function(){function t(t,e,n){var r=this;this.router=t,this.route=e,this.locationStrategy=n,this.commands=[],this.subscription=t.events.subscribe(function(t){t instanceof Dl&&r.updateTargetUrlAndHref()})}return Object.defineProperty(t.prototype,"routerLink",{set:function(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"preserveQueryParams",{set:function(t){We()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead."),this.preserve=t},enumerable:!0,configurable:!0}),t.prototype.ngOnChanges=function(t){this.updateTargetUrlAndHref()},t.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},t.prototype.onClick=function(t,e,n,r){if(0!==t||e||n||r)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0;var o={skipLocationChange:tp(this.skipLocationChange),replaceUrl:tp(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,o),!1},t.prototype.updateTargetUrlAndHref=function(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))},Object.defineProperty(t.prototype,"urlTree",{get:function(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:tp(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:tp(this.preserveFragment)})},enumerable:!0,configurable:!0}),a([Sn("attr.target"),Cn(),u("design:type",String)],t.prototype,"target",void 0),t}();function tp(t){return""===t||!!t}var ep=function(){return function(){this.outlet=null,this.route=null,this.resolver=null,this.children=new np,this.attachRef=null}}(),np=function(){function t(){this.contexts=new Map}return t.prototype.onChildOutletCreated=function(t,e){var n=this.getOrCreateContext(t);n.outlet=e,this.contexts.set(t,n)},t.prototype.onChildOutletDestroyed=function(t){var e=this.getContext(t);e&&(e.outlet=null)},t.prototype.onOutletDeactivated=function(){var t=this.contexts;return this.contexts=new Map,t},t.prototype.onOutletReAttached=function(t){this.contexts=t},t.prototype.getOrCreateContext=function(t){var e=this.getContext(t);return e||(e=new ep,this.contexts.set(t,e)),e},t.prototype.getContext=function(t){return this.contexts.get(t)||null},t}(),rp=function(){function t(t,e,n,r,o){this.parentContexts=t,this.location=e,this.resolver=n,this.changeDetector=o,this.activated=null,this._activatedRoute=null,this.activateEvents=new gn,this.deactivateEvents=new gn,this.name=r||Jl,t.onChildOutletCreated(this.name,this)}return t.prototype.ngOnDestroy=function(){this.parentContexts.onChildOutletDestroyed(this.name)},t.prototype.ngOnInit=function(){if(!this.activated){var t=this.parentContexts.getContext(this.name);t&&t.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.resolver||null))}},Object.defineProperty(t.prototype,"isActivated",{get:function(){return!!this.activated},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"component",{get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"activatedRoute",{get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"activatedRouteData",{get:function(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}},enumerable:!0,configurable:!0}),t.prototype.detach=function(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();var t=this.activated;return this.activated=null,this._activatedRoute=null,t},t.prototype.attach=function(t,e){this.activated=t,this._activatedRoute=e,this.location.insert(t.hostView)},t.prototype.deactivate=function(){if(this.activated){var t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}},t.prototype.activateWith=function(t,e){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=t;var n=(e=e||this.resolver).resolveComponentFactory(t._futureSnapshot.routeConfig.component),r=this.parentContexts.getOrCreateContext(this.name).children,o=new op(t,r,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,o),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)},t}(),op=function(){function t(t,e,n){this.route=t,this.childContexts=e,this.parent=n}return t.prototype.get=function(t,e){return t===Fc?this.route:t===np?this.childContexts:this.parent.get(t,e)},t}(),ip=function(){return function(){}}(),ap=function(){function t(){}return t.prototype.preload=function(t,e){return e().pipe(as(function(){return Mu(null)}))},t}(),up=function(){function t(){}return t.prototype.preload=function(t,e){return Mu(null)},t}(),sp=function(){function t(t,e,n,r,o){this.router=t,this.injector=r,this.preloadingStrategy=o,this.loader=new Gf(e,n,function(e){return t.triggerEvent(new Bl(e))},function(e){return t.triggerEvent(new ql(e))})}return t.prototype.setUpPreloading=function(){var t=this;this.subscription=this.router.events.pipe(Bu(function(t){return t instanceof Dl}),_s(function(){return t.preload()})).subscribe(function(){})},t.prototype.preload=function(){var t=this.injector.get(Ne);return this.processRoutes(t,this.router.config)},t.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},t.prototype.processRoutes=function(t,e){var n,r,o=[];try{for(var i=s(e),a=i.next();!a.done;a=i.next()){var u=a.value;if(u.loadChildren&&!u.canLoad&&u._loadedConfig){var l=u._loadedConfig;o.push(this.processRoutes(l.module,l.routes))}else u.loadChildren&&!u.canLoad?o.push(this.preloadConfig(t,u)):u.children&&o.push(this.processRoutes(t,u.children))}}catch(c){n={error:c}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return ot(o).pipe(lt(),tt(function(t){}))},t.prototype.preloadConfig=function(t,e){var n=this;return this.preloadingStrategy.preload(e,function(){return n.loader.load(t.injector,e).pipe(it(function(t){return e._loadedConfig=t,n.processRoutes(t.module,t.routes)}))})},t}(),lp=function(){function t(t,e,n){void 0===n&&(n={}),this.router=t,this.viewportScroller=e,this.options=n,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},n.scrollPositionRestoration=n.scrollPositionRestoration||"disabled",n.anchorScrolling=n.anchorScrolling||"disabled"}return t.prototype.init=function(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()},t.prototype.createScrollEvents=function(){var t=this;return this.router.events.subscribe(function(e){e instanceof Ml?(t.store[t.lastId]=t.viewportScroller.getScrollPosition(),t.lastSource=e.navigationTrigger,t.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof Dl&&(t.lastId=e.id,t.scheduleScrollEvent(e,t.router.parseUrl(e.urlAfterRedirects).fragment))})},t.prototype.consumeScrollEvents=function(){var t=this;return this.router.events.subscribe(function(e){e instanceof Kl&&(e.position?"top"===t.options.scrollPositionRestoration?t.viewportScroller.scrollToPosition([0,0]):"enabled"===t.options.scrollPositionRestoration&&t.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===t.options.anchorScrolling?t.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==t.options.scrollPositionRestoration&&t.viewportScroller.scrollToPosition([0,0]))})},t.prototype.scheduleScrollEvent=function(t,e){this.router.triggerEvent(new Kl(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,e))},t.prototype.ngOnDestroy=function(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()},t}(),cp=new St("ROUTER_CONFIGURATION"),fp=new St("ROUTER_FORROOT_GUARD"),pp=[vu,{provide:bc,useClass:wc},{provide:$f,useFactory:bp,deps:[br,bc,np,vu,ce,_n,Kn,Zf,cp,[Wf,new Zt],[Bf,new Zt]]},np,{provide:Fc,useFactory:wp,deps:[$f]},{provide:_n,useClass:xr},sp,up,ap,{provide:cp,useValue:{enableTracing:!1}}];function hp(){return new dr("Router",$f)}var dp=function(){function t(t,e){}var e;return e=t,t.forRoot=function(t,n){return{ngModule:e,providers:[pp,mp(t),{provide:fp,useFactory:yp,deps:[[$f,new Zt,new Wt]]},{provide:cp,useValue:n||{}},{provide:hu,useFactory:gp,deps:[fu,[new qt(du),new Zt],cp]},{provide:lp,useFactory:vp,deps:[$f,Ru,cp]},{provide:ip,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:up},{provide:dr,multi:!0,useFactory:hp},[_p,{provide:Nn,multi:!0,useFactory:Cp,deps:[_p]},{provide:xp,useFactory:Sp,deps:[_p]},{provide:Vn,multi:!0,useExisting:xp}]]}},t.forChild=function(t){return{ngModule:e,providers:[mp(t)]}},t}();function vp(t,e,n){return n.scrollOffset&&e.setOffset(n.scrollOffset),new lp(t,e,n)}function gp(t,e,n){return void 0===n&&(n={}),n.useHash?new yu(t,e):new mu(t,e)}function yp(t){if(t)throw new Error("RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function mp(t){return[{provide:Rt,multi:!0,useValue:t},{provide:Zf,multi:!0,useValue:t}]}function bp(t,e,n,r,o,i,a,u,s,l,c){void 0===s&&(s={});var f=new $f(null,e,n,r,o,i,a,lc(u));if(l&&(f.urlHandlingStrategy=l),c&&(f.routeReuseStrategy=c),s.errorHandler&&(f.errorHandler=s.errorHandler),s.malformedUriErrorHandler&&(f.malformedUriErrorHandler=s.malformedUriErrorHandler),s.enableTracing){var p=Es();f.events.subscribe(function(t){p.logGroup("Router Event: "+t.constructor.name),p.log(t.toString()),p.log(t),p.logGroupEnd()})}return s.onSameUrlNavigation&&(f.onSameUrlNavigation=s.onSameUrlNavigation),s.paramsInheritanceStrategy&&(f.paramsInheritanceStrategy=s.paramsInheritanceStrategy),s.urlUpdateStrategy&&(f.urlUpdateStrategy=s.urlUpdateStrategy),s.relativeLinkResolution&&(f.relativeLinkResolution=s.relativeLinkResolution),f}function wp(t){return t.routerState.root}var _p=function(){function t(t){this.injector=t,this.initNavigation=!1,this.resultOfPreactivationDone=new H}return t.prototype.appInitializer=function(){var t=this;return this.injector.get(pu,Promise.resolve(null)).then(function(){var e=null,n=new Promise(function(t){return e=t}),r=t.injector.get($f),o=t.injector.get(cp);if(t.isLegacyDisabled(o)||t.isLegacyEnabled(o))e(!0);else if("disabled"===o.initialNavigation)r.setUpLocationChangeListener(),e(!0);else{if("enabled"!==o.initialNavigation)throw new Error("Invalid initialNavigation options: '"+o.initialNavigation+"'");r.hooks.afterPreactivation=function(){return t.initNavigation?Mu(null):(t.initNavigation=!0,e(!0),t.resultOfPreactivationDone)},r.initialNavigation()}return n})},t.prototype.bootstrapListener=function(t){var e=this.injector.get(cp),n=this.injector.get(sp),r=this.injector.get(lp),o=this.injector.get($f),i=this.injector.get(br);t===i.components[0]&&(this.isLegacyEnabled(e)?o.initialNavigation():this.isLegacyDisabled(e)&&o.setUpLocationChangeListener(),n.setUpPreloading(),r.init(),o.resetRootComponentType(i.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())},t.prototype.isLegacyEnabled=function(t){return"legacy_enabled"===t.initialNavigation||!0===t.initialNavigation||void 0===t.initialNavigation},t.prototype.isLegacyDisabled=function(t){return"legacy_disabled"===t.initialNavigation||!1===t.initialNavigation},t}();function Cp(t){return t.appInitializer.bind(t)}function Sp(t){return t.bootstrapListener.bind(t)}var xp=new St("Router Initializer"),Ep=wo({encapsulation:2,styles:[],data:{}});function Tp(t){return na(0,[(t()(),Go(0,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),Mi(1,212992,null,0,rp,[np,Tr,Ae,[8,null],Pr],null,null)],function(t,e){t(e,1,0)},null)}function kp(t){return na(0,[(t()(),Go(0,0,null,null,1,"ng-component",[],null,null,null,Tp,Ep)),Mi(1,49152,null,0,Yl,[],null,null)],null,null)}var Pp=ci("ng-component",Yl,kp,{},{},[]),Rp=function(){function t(){this.titulo="Bem vindo ao meu primeiro Component",this.subtitulo="Funcionou Eeeeeee"}return t.prototype.ngOnInit=function(){},t}(),Ap=wo({encapsulation:0,styles:[[".box[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin-top:40vh;font-size:50px;display:flex;justify-content:center;font-family:poppins,sans-serif}.box[_ngcontent-%COMP%] .engrenagens[_ngcontent-%COMP%]{position:absolute;margin-top:-59vh;margin-left:42vw}.box[_ngcontent-%COMP%] .box[_ngcontent-%COMP%]{width:50px;height:50px;position:absolute;margin-left:22vw;margin-top:47vh}.box[_ngcontent-%COMP%] .box2[_ngcontent-%COMP%]{width:50px;height:50px;position:absolute;margin-left:24.4vw;margin-top:43.5vh}.box[_ngcontent-%COMP%] .horario[_ngcontent-%COMP%]{-webkit-animation:8s linear infinite gira;animation:8s linear infinite gira}.box[_ngcontent-%COMP%] .two[_ngcontent-%COMP%]{position:absoluta}.box[_ngcontent-%COMP%] .antiHorario[_ngcontent-%COMP%]{-webkit-animation:8s linear infinite giraAntihorario;animation:8s linear infinite giraAntihorario}.box[_ngcontent-%COMP%] .carregando[_ngcontent-%COMP%]{width:800px;margin-left:345px;background-color:#333}.box[_ngcontent-%COMP%] .carregando[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{width:0;height:30px;background:#0ff;position:relative;-webkit-animation:5s 2s infinite mymove;animation:5s 2s infinite mymove}@-webkit-keyframes mymove{from{width:0%}to{width:100%}}@keyframes mymove{from{width:0%}to{width:100%}}@-webkit-keyframes gira{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes gira{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes giraAntihorario{to{-webkit-transform:rotate(-360deg);transform:rotate(-360deg)}}@keyframes giraAntihorario{to{-webkit-transform:rotate(-360deg);transform:rotate(-360deg)}}"]],data:{}});function Ip(t){return na(0,[(t()(),Go(0,0,null,null,10,"body",[],null,null,null,null,null)),(t()(),Go(1,0,null,null,9,"div",[["class","box"]],null,null,null,null,null)),(t()(),Go(2,0,null,null,1,"h1",[["class","texto"]],null,null,null,null,null)),(t()(),Xi(-1,null,["Em Andamento:"])),(t()(),Go(4,0,null,null,4,"div",[["class","engrenagens"]],null,null,null,null,null)),(t()(),Go(5,0,null,null,1,"div",[["class","box horario"]],null,null,null,null,null)),(t()(),Go(6,0,null,null,0,"img",[["src","https://img.icons8.com/ios/52/000000/settings-filled.png"]],null,null,null,null,null)),(t()(),Go(7,0,null,null,1,"div",[["class","box2 two antiHorario"]],null,null,null,null,null)),(t()(),Go(8,0,null,null,0,"img",[["src","https://img.icons8.com/ios/52/000000/settings-filled.png"]],null,null,null,null,null)),(t()(),Go(9,0,null,null,1,"div",[["class","carregando"]],null,null,null,null,null)),(t()(),Go(10,0,null,null,0,"div",[],null,null,null,null,null))],null,null)}function Op(t){return na(0,[(t()(),Go(0,0,null,null,1,"app-home",[],null,null,null,Ip,Ap)),Mi(1,114688,null,0,Rp,[],null,null)],function(t,e){t(e,1,0)},null)}var Np=ci("app-home",Rp,Op,{},{},[]),Mp=function(){function t(){}return t.prototype.ngOnInit=function(){},t}(),Dp=wo({encapsulation:0,styles:[[""]],data:{}});function jp(t){return na(0,[(t()(),Go(0,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),Go(1,0,null,null,1,"h2",[],null,null,null,null,null)),(t()(),Xi(-1,null,["My card"]))],null,null)}var Up=function(){function t(){}return t.prototype.ngOnInit=function(){},t}(),Lp=wo({encapsulation:0,styles:[[""]],data:{}});function Hp(t){return na(0,[(t()(),Go(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),Xi(-1,null,[" projects works!\n"])),(t()(),Go(2,0,null,null,1,"app-card",[],null,null,null,jp,Dp)),Mi(3,114688,null,0,Mp,[],null,null)],function(t,e){t(e,3,0)},null)}function Vp(t){return na(0,[(t()(),Go(0,0,null,null,1,"app-projects",[],null,null,null,Hp,Lp)),Mi(1,114688,null,0,Up,[],null,null)],function(t,e){t(e,1,0)},null)}var Fp=ci("app-projects",Up,Vp,{},{},[]),zp=function(){function t(){}return t.prototype.ngOnInit=function(){},t}(),Bp=wo({encapsulation:0,styles:[[""]],data:{}});function qp(t){return na(0,[(t()(),Go(0,0,null,null,0,"input",[["type","text"]],null,null,null,null,null))],null,null)}var Zp=function(){function t(){}return t.prototype.ngOnInit=function(){},t}(),Gp=wo({encapsulation:0,styles:[[""]],data:{}});function Wp(t){return na(0,[(t()(),Go(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),Xi(-1,null,[" contacts works!\n"])),(t()(),Go(2,0,null,null,1,"app-input",[],null,null,null,qp,Bp)),Mi(3,114688,null,0,zp,[],null,null)],function(t,e){t(e,3,0)},null)}function Qp(t){return na(0,[(t()(),Go(0,0,null,null,1,"app-contacts",[],null,null,null,Wp,Gp)),Mi(1,114688,null,0,Zp,[],null,null)],function(t,e){t(e,1,0)},null)}var Kp=ci("app-contacts",Zp,Qp,{},{},[]),Yp=function(){function t(){this.url="http://www.estartandodevs.com.br/img/fonte%20branca-min-min.png",this.menu=[{texto:"Home",url:"/"},{texto:"Projects",url:"/Projects"},{texto:"Contacts",url:"/Contacts"}]}return t.prototype.ngOnInit=function(){},t}(),Jp=wo({encapsulation:0,styles:[["header[_ngcontent-%COMP%] main[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{padding:5px}header[_ngcontent-%COMP%] main[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:none;margin:0;padding:0;overflow:hidden;background-color:#000}header[_ngcontent-%COMP%] main[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{float:right}header[_ngcontent-%COMP%] main[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{display:block;color:#fff;text-align:center;padding:20px 16px;text-decoration:none}header[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover:not(.active){background-color:#0d2838b8;height:3.6vh}header[_ngcontent-%COMP%] .active[_ngcontent-%COMP%]{background-color:#4caf50}"]],data:{}});function $p(t){return na(0,[(t()(),Go(0,0,null,null,17,"header",[],null,null,null,null,null)),(t()(),Go(1,0,null,null,16,"main",[],null,null,null,null,null)),(t()(),Go(2,0,null,null,15,"ul",[],null,null,null,null,null)),(t()(),Go(3,0,null,null,0,"img",[["class","circle"],["height","50"]],[[8,"src",4]],null,null,null,null)),(t()(),Go(4,0,null,null,2,"li",[],null,null,null,null,null)),(t()(),Go(5,0,null,null,1,"a",[["href","https://github.com/Junior331"]],null,null,null,null,null)),(t()(),Xi(-1,null,["GitHub"])),(t()(),Go(7,0,null,null,3,"li",[],null,null,null,null,null)),(t()(),Go(8,0,null,null,2,"a",[["routerLink","contacts"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==_i(t,9).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&r),r},null,null)),Mi(9,671744,null,0,Xf,[$f,Fc,hu],{routerLink:[0,"routerLink"]},null),(t()(),Xi(-1,null,["Contacts"])),(t()(),Go(11,0,null,null,3,"li",[],null,null,null,null,null)),(t()(),Go(12,0,null,null,2,"a",[["routerLink","projects"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==_i(t,13).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&r),r},null,null)),Mi(13,671744,null,0,Xf,[$f,Fc,hu],{routerLink:[0,"routerLink"]},null),(t()(),Xi(-1,null,["Projects"])),(t()(),Go(15,0,null,null,2,"li",[],null,null,null,null,null)),(t()(),Go(16,0,null,null,1,"a",[["href",""]],null,null,null,null,null)),(t()(),Xi(-1,null,["Home"]))],function(t,e){t(e,9,0,"contacts"),t(e,13,0,"projects")},function(t,e){t(e,3,0,e.component.url),t(e,8,0,_i(e,9).target,_i(e,9).href),t(e,12,0,_i(e,13).target,_i(e,13).href)})}var Xp=wo({encapsulation:0,styles:[[""]],data:{}});function th(t){return na(0,[(t()(),Go(0,0,null,null,1,"app-header",[],null,null,null,$p,Jp)),Mi(1,114688,null,0,Yp,[],null,null),(t()(),Go(2,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),Mi(3,212992,null,0,rp,[np,Tr,Ae,[8,null],Pr],null,null)],function(t,e){t(e,1,0),t(e,3,0)},null)}function eh(t){return na(0,[(t()(),Go(0,0,null,null,1,"app-root",[],null,null,null,th,Xp)),Mi(1,49152,null,0,cu,[],null,null)],null,null)}var nh=ci("app-root",cu,eh,{},{},[]),rh=function(){return function(){}}(),oh=function(){return function(){}}(),ih=function(){return function(){}}(),ah=function(){return function(){}}(),uh=uu(lu,[cu],function(t){return function(t){for(var e={},n=[],r=!1,o=0;o<t.length;o++){var i=t[o];i.token===xe&&!0===i.value&&(r=!0),1073741824&i.flags&&n.push(i.token),i.index=o,e[yo(i.token)]=i}return{factory:null,providersByKey:e,providers:t,modules:n,isRoot:r}}([ei(512,Ae,Ie,[[8,[Pp,Np,Fp,Kp,nh]],[3,Ae],Ne]),ei(5120,$r,eo,[[3,$r]]),ei(4608,xu,Eu,[$r,[2,Su]]),ei(5120,Dn,jn,[]),ei(5120,Gr,Xr,[]),ei(5120,Wr,to,[]),ei(4608,Cl,Sl,[ku]),ei(6144,Be,null,[Cl]),ei(4608,vl,yl,[]),ei(5120,zs,function(t,e,n,r,o,i,a,u){return[new hl(t,e,n),new _l(r),new ml(o,i,a,u)]},[ku,nr,Hn,ku,ku,vl,Fn,[2,gl]]),ei(4608,Bs,Bs,[zs,nr]),ei(135680,Gs,Gs,[ku]),ei(4608,Xs,Xs,[Bs,Gs,Dn]),ei(6144,Le,null,[Xs]),ei(6144,Zs,null,[Gs]),ei(4608,cr,cr,[nr]),ei(5120,Fc,wp,[$f]),ei(4608,up,up,[]),ei(6144,ip,null,[up]),ei(135680,sp,sp,[$f,_n,Kn,ce,ip]),ei(4608,ap,ap,[]),ei(5120,lp,vp,[$f,Ru,cp]),ei(5120,xp,Sp,[_p]),ei(5120,Vn,function(t){return[t]},[xp]),ei(1073742336,Tu,Tu,[]),ei(1024,An,Il,[]),ei(1024,dr,function(){return[hp()]},[]),ei(512,_p,_p,[ce]),ei(1024,Nn,function(t,e){return[(n=t,Hs("probe",Fs),Hs("coreTokens",i({},Vs,(n||[]).reduce(function(t,e){return t[e.name]=e.token,t},{}))),function(){return Fs}),Cp(e)];var n},[[2,dr],_p]),ei(512,Mn,Mn,[[2,Nn]]),ei(131584,br,br,[nr,Fn,ce,An,Ae,Mn]),ei(1073742336,no,no,[br]),ei(1073742336,Ol,Ol,[[3,Ol]]),ei(1024,fp,yp,[[3,$f]]),ei(512,bc,wc,[]),ei(512,np,np,[]),ei(256,cp,{},[]),ei(1024,hu,gp,[fu,[2,du],cp]),ei(512,vu,vu,[hu]),ei(512,Kn,Kn,[]),ei(512,_n,xr,[Kn,[2,Cr]]),ei(1024,Zf,function(){return[[{path:"",component:Rp},{path:"projects",component:Up},{path:"contacts",component:Zp}]]},[]),ei(1024,$f,bp,[br,bc,np,vu,ce,_n,Kn,Zf,cp,[2,Wf],[2,Bf]]),ei(1073742336,dp,dp,[[2,fp],[2,$f]]),ei(1073742336,rh,rh,[]),ei(1073742336,oh,oh,[]),ei(1073742336,ih,ih,[]),ei(1073742336,ah,ah,[]),ei(1073742336,lu,lu,[]),ei(256,xe,!0,[])])});(function(){if(Ge)throw new Error("Cannot enable prod mode after platform setup.");Ze=!1})(),Al().bootstrapModuleFactory(uh).catch(function(t){return console.error(t)})}},[[0,0]]]);