-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmain.dcc2ee37ae3032a2b3b5.js
1 lines (1 loc) · 312 KB
/
main.dcc2ee37ae3032a2b3b5.js
1
(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{0:function(t,e,n){t.exports=n("zUnb")},crnd:function(t,e){function n(t){return Promise.resolve().then(function(){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e})}n.keys=function(){return[]},n.resolve=n,t.exports=n,n.id="crnd"},zUnb:function(t,e,n){"use strict";n.r(e);var r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function o(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var i=function(){return(i=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};function u(t,e,n,r){var o,i=arguments.length,u=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(u=(i<3?o(u):i>3?o(e,n,u):o(e,n))||u);return i>3&&u&&Object.defineProperty(e,n,u),u}function a(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),u=[];try{for(;(void 0===e||e-- >0)&&!(r=i.next()).done;)u.push(r.value)}catch(a){o={error:a}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return u}function c(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(l(arguments[e]));return t}var p=Array.isArray||function(t){return t&&"number"==typeof t.length};function h(t){return null!=t&&"object"==typeof t}function f(t){return"function"==typeof t}var d,g={e:{}};function v(){try{return d.apply(this,arguments)}catch(t){return g.e=t,g}}function y(t){return d=t,v}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 u=-1,a=r?r.length:0;n;)n.remove(this),n=++u<a&&r[u]||null;if(f(o)&&y(o).call(this)===g&&(e=!0,t=t||(g.e instanceof b?_(g.e.errors):[g.e])),p(i))for(u=-1,a=i.length;++u<a;){var s=i[u];if(h(s)&&y(s.unsubscribe).call(s)===g){e=!0,t=t||[];var l=g.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,E={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){C=t},get useDeprecatedSynchronousErrorHandling(){return C}};function S(t){setTimeout(function(){throw t})}var k={closed:!0,next:function(t){},error:function(t){if(E.useDeprecatedSynchronousErrorHandling)throw t;S(t)},complete:function(){}},T="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random(),x=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=k;break;case 1:if(!n){i.destination=k;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,u=t.call(this)||this;u._parentSubscriber=e;var a=u;return f(n)?i=n:n&&(i=n.next,r=n.error,o=n.complete,n!==k&&(f((a=Object.create(n)).unsubscribe)&&u.add(a.unsubscribe.bind(a)),a.unsubscribe=u.unsubscribe.bind(u))),u._context=a,u._next=i,u._error=r,u._complete=o,u}return o(e,t),e.prototype.next=function(t){if(!this.isStopped&&this._next){var e=this._parentSubscriber;E.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=E.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):S(t),this.unsubscribe();else{if(this.unsubscribe(),n)throw t;S(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)};E.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(),E.useDeprecatedSynchronousErrorHandling)throw n;S(n)}},e.prototype.__tryOrSetError=function(t,e,n){if(!E.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,n)}catch(r){return E.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=r,t.syncErrorThrown=!0,!0):(S(r),!0)}return!1},e.prototype._unsubscribe=function(){var t=this._parentSubscriber;this._context=null,this._parentSubscriber=null,t.unsubscribe()},e}(x),O="function"==typeof Symbol&&Symbol.observable||"@@observable";function A(){}function R(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return M(t)}function M(t){return t?1===t.length?t[0]:function(e){return t.reduce(function(t,e){return e(t)},e)}:A}var I=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 x)return t;if(t[T])return t[T]()}return t||e||n?new x(t,e,n):new x(k)}(t,e,n);if(r?r.call(o,this.source):o.add(this.source||E.useDeprecatedSynchronousErrorHandling&&!o.syncErrorThrowable?this._subscribe(o):this._trySubscribe(o)),E.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){E.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 x?e:null}return!0}(t)?t.error(e):console.warn(e)}},t.prototype.forEach=function(t,e){var n=this;return new(e=N(e))(function(e,r){var o;o=n.subscribe(function(e){try{t(e)}catch(n){r(n),o&&o.unsubscribe()}},r,e)})},t.prototype._subscribe=function(t){var e=this.source;return e&&e.subscribe(t)},t.prototype[O]=function(){return this},t.prototype.pipe=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 0===t.length?this:M(t)(this)},t.prototype.toPromise=function(t){var e=this;return new(t=N(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 N(t){if(t||(t=E.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,L=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),H=function(t){function e(e){var n=t.call(this,e)||this;return n.destination=e,n}return o(e,t),e}(x),U=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 H(this)},e.prototype.lift=function(t){var e=new F(this,this);return e.operator=t,e},e.prototype.next=function(t){if(this.closed)throw new 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 L(this,t))},e.prototype.asObservable=function(){var t=new I;return t.source=this,t},e.create=function(t,e){return new F(t,e)},e}(I),F=function(t){function e(e,n){var r=t.call(this)||this;return r.destination=e,r.source=n,r}return o(e,t),e.prototype.next=function(t){var e=this.destination;e&&e.next&&e.next(t)},e.prototype.error=function(t){var e=this.destination;e&&e.error&&this.destination.error(t)},e.prototype.complete=function(){var t=this.destination;t&&t.complete&&this.destination.complete()},e.prototype._subscribe=function(t){return this.source?this.source.subscribe(t):w.EMPTY},e}(U);function z(t){return t&&"function"==typeof t.schedule}var B=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}(x),V=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()}},W=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,S),e}};function q(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}var G=q(),Q=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}},Z=function(t){return function(e){var n=t[O]();if("function"!=typeof n.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return n.subscribe(e)}},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 I)return function(e){return t._isScalar?(e.next(t.value),void e.complete()):t.subscribe(e)};if(t&&"function"==typeof t[O])return Z(t);if(K(t))return V(t);if(Y(t))return W(t);if(t&&"function"==typeof t[G])return Q(t);var e=h(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 B(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}(x);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}(x);function rt(t,e){return new I(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}:V(t))}function ot(t,e){if(!e)return t instanceof I?t:new I(J(t));if(null!=t){if(function(t){return t&&"function"==typeof t[O]}(t))return function(t,e){return new I(e?function(n){var r=new w;return r.add(e.schedule(function(){var o=t[O]();r.add(o.subscribe({next:function(t){r.add(e.schedule(function(){return n.next(t)}))},error:function(t){r.add(e.schedule(function(){return n.error(t)}))},complete:function(){r.add(e.schedule(function(){return n.complete()}))}}))})),r}:Z(t))}(t,e);if(Y(t))return function(t,e){return new I(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}:W(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 I(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}:Q(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 ut(t,n))})}var ut=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 at(t,this.project,this.concurrent))},t}(),at=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 B(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(){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 z(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 I?t[0]:lt(n)(rt(t,r))}function pt(){return function(t){return t.lift(new ht(t))}}var ht=function(){function t(t){this.connectable=t}return t.prototype.call=function(t,e){var n=this.connectable;n._refCount++;var r=new ft(t,n),o=e.subscribe(r);return r.closed||(r.connection=n.connect()),o},t}(),ft=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}(x),dt=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 pt()(this)},e}(I).prototype,gt={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:dt._subscribe},_isComplete:{value:dt._isComplete,writable:!0},getSubject:{value:dt.getSubject},connect:{value:dt.connect},refCount:{value:dt.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}(H);function yt(t,e){return function(n){var r;if(r="function"==typeof t?t:function(){return t},"function"==typeof e)return n.lift(new mt(r,e));var o=Object.create(n,gt);return o.source=n,o.subjectFactory=r,o}}var mt=function(){function t(t,e){this.subjectFactory=t,this.selector=e}return t.prototype.call=function(t,e){var n=this.selector,r=this.subjectFactory(),o=n(r).subscribe(t);return o.add(e.subscribe(r)),o},t}();function bt(){return new U}function wt(t){for(var e in t)if(t[e]===wt)return e;throw Error("Could not find renamed property on target object.")}var _t=wt({ngComponentDef:wt}),Ct=wt({ngInjectableDef:wt}),Et=wt({ngInjectorDef:wt}),St=wt({ngModuleDef:wt});function kt(t){return{providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function Tt(t){return t.hasOwnProperty(Ct)?t[Ct]:null}function xt(t){return t.hasOwnProperty(Et)?t[Et]:null}var Pt=function(){function t(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.ngInjectableDef=void 0!==e?kt({providedIn:e.providedIn||"root",factory:e.factory}):void 0}return t.prototype.toString=function(){return"InjectionToken "+this._desc},t}(),Ot="__parameters__";function At(t,e,n){var r=function(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if(t){var r=t.apply(void 0,c(e));for(var o in r)this[o]=r[o]}}}(e);function o(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if(this instanceof o)return r.apply(this,e),this;var i=new((t=o).bind.apply(t,c([void 0],e)));return u.annotation=i,u;function u(t,e,n){for(var r=t.hasOwnProperty(Ot)?t[Ot]:Object.defineProperty(t,Ot,{value:[]})[Ot];r.length<=n;)r.push(null);return(r[n]=r[n]||[]).push(i),t}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=t,o.annotationCls=o,o}var Rt=new Pt("AnalyzeForEntryComponents"),Mt="undefined"!=typeof window&&window,It="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Nt="undefined"!=typeof global&&global||Mt||It,Dt=Promise.resolve(0),jt=null;function Lt(){if(!jt){var t=Nt.Symbol;if(t&&t.iterator)jt=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&&(jt=r)}}return jt}function Ht(t){"undefined"==typeof Zone?Dt.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 Ft(t){if("string"==typeof t)return t;if(t instanceof Array)return"["+t.map(Ft).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return""+t.overriddenName;if(t.name)return""+t.name;var e=t.toString();if(null==e)return""+e;var n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}function zt(t){return t.__forward_ref__=zt,t.toString=function(){return Ft(this())},t}function Bt(t){return"function"==typeof t&&t.hasOwnProperty("__forward_ref__")&&t.__forward_ref__===zt?t():t}var Vt=At("Inject",function(t){return{token:t}}),Wt=At("Optional"),qt=At("Self"),Gt=At("SkipSelf"),Qt="__source",Zt=new Object,Kt=Zt,Yt=new Pt("INJECTOR"),Jt=function(){function t(){}return t.prototype.get=function(t,e){if(void 0===e&&(e=Zt),e===Zt)throw new Error("NullInjectorError: No provider for "+Ft(t)+"!");return e},t}(),$t=function(){function t(){}return t.create=function(t,e){return Array.isArray(t)?new ae(t,e):new ae(t.providers,t.parent,t.name||null)},t.THROW_IF_NOT_FOUND=Zt,t.NULL=new Jt,t.ngInjectableDef=kt({providedIn:"any",factory:function(){return fe(Yt)}}),t}(),Xt=function(t){return t},te=[],ee=Xt,ne=function(){return Array.prototype.slice.call(arguments)},re=wt({provide:String,useValue:wt}),oe=$t.NULL,ie=/\n/gm,ue="\u0275",ae=function(){function t(t,e,n){void 0===e&&(e=oe),void 0===n&&(n=null),this.parent=e,this.source=n;var r=this._records=new Map;r.set($t,{token:$t,fn:Xt,deps:te,value:this,useNew:!1}),r.set(Yt,{token:Yt,fn:Xt,deps:te,value:this,useNew:!1}),function t(e,n){if(n)if((n=Bt(n))instanceof Array)for(var r=0;r<n.length;r++)t(e,n[r]);else{if("function"==typeof n)throw ce("Function/Class not supported",n);if(!n||"object"!=typeof n||!n.provide)throw ce("Unexpected provider",n);var o=Bt(n.provide),i=function(t){var e=function(t){var e=te,n=t.deps;if(n&&n.length){e=[];for(var r=0;r<n.length;r++){var o=6;if((s=Bt(n[r]))instanceof Array)for(var i=0,u=s;i<u.length;i++){var a=u[i];a instanceof Wt||a==Wt?o|=1:a instanceof Gt||a==Gt?o&=-3:a instanceof qt||a==qt?o&=-5:s=a instanceof Vt?a.token:Bt(a)}e.push({token:s,options:o})}}else if(t.useExisting){var s;e=[{token:s=Bt(t.useExisting),options:6}]}else if(!(n||re in t))throw ce("'deps' required",t);return e}(t),n=Xt,r=te,o=!1,i=Bt(t.provide);if(re in t)r=t.useValue;else if(t.useFactory)n=t.useFactory;else if(t.useExisting) ;else if(t.useClass)o=!0,n=Bt(t.useClass);else{if("function"!=typeof i)throw ce("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 u=e.get(o);if(u){if(u.fn!==ne)throw se(o)}else e.set(o,u={token:n.provide,deps:[],useNew:!1,fn:ne,value:te});u.deps.push({token:o=n,options:6})}var a=e.get(o);if(a&&a.fn==ne)throw se(o);e.set(o,i)}}(r,t)}return t.prototype.get=function(t,e,n){void 0===n&&(n=0);var r=this._records.get(t);try{return function t(e,n,r,o,i,u){try{return function(e,n,r,o,i,u){var a,s;if(!n||4&u)2&u||(s=o.get(e,i,0));else{if((s=n.value)==ee)throw Error(ue+"Circular dependency");if(s===te){n.value=ee;var l=n.useNew,p=n.fn,h=n.deps,f=te;if(h.length){f=[];for(var d=0;d<h.length;d++){var g=h[d],v=g.options,y=2&v?r.get(g.token):void 0;f.push(t(g.token,y,r,y||4&v?o:oe,1&v?null:$t.THROW_IF_NOT_FOUND,0))}}n.value=s=l?new((a=p).bind.apply(a,c([void 0],f))):p.apply(void 0,f)}}return s}(e,n,r,o,i,u)}catch(a){throw a instanceof Error||(a=new Error(a)),(a.ngTempTokenPath=a.ngTempTokenPath||[]).unshift(e),n&&n.value==ee&&(n.value=te),a}}(t,r,this._records,this.parent,e,n)}catch(i){var o=i.ngTempTokenPath;throw t[Qt]&&o.unshift(t[Qt]),i.message=le("\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(Ft(n))}),"StaticInjector["+t.join(", ")+"]"},t}();function se(t){return ce("Cannot mix multi providers and regular providers",t)}function le(t,e,n){void 0===n&&(n=null),t=t&&"\n"===t.charAt(0)&&t.charAt(1)==ue?t.substr(2):t;var r=Ft(e);if(e instanceof Array)r=e.map(Ft).join(" -> ");else if("object"==typeof e){var o=[];for(var i in e)if(e.hasOwnProperty(i)){var u=e[i];o.push(i+":"+("string"==typeof u?JSON.stringify(u):Ft(u)))}r="{"+o.join(", ")+"}"}return"StaticInjectorError"+(n?"("+n+")":"")+"["+r+"]: "+t.replace(ie,"\n ")}function ce(t,e){return new Error(le(t,e))}var pe=void 0;function he(t){var e=pe;return pe=t,e}function fe(t,e){if(void 0===e&&(e=0),void 0===pe)throw new Error("inject() must be called from an injection context");if(null===pe){var n=Tt(t);if(n&&"root"==n.providedIn)return void 0===n.value?n.value=n.factory():n.value;if(8&e)return null;throw new Error("Injector: NOT_FOUND ["+Ft(t)+"]")}return pe.get(t,8&e?null:void 0,e)}function de(t){for(var e=[],n=0;n<t.length;n++){var r=t[n];if(Array.isArray(r)){if(0===r.length)throw new Error("Arguments array must have arguments.");for(var o=void 0,i=0,u=0;u<r.length;u++){var a=r[u];a instanceof Wt||"Optional"===a.ngMetadataName?i|=8:a instanceof Gt||"SkipSelf"===a.ngMetadataName?i|=4:a instanceof qt||"Self"===a.ngMetadataName?i|=2:o=a instanceof Vt?a.token:a}e.push(fe(o,i))}else e.push(fe(r))}return e}Function;var ge=function(t){return t[t.Emulated=0]="Emulated",t[t.Native=1]="Native",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}({}),ve="__ngContext__",ye=17,me=0,be=1,we=2,_e=3,Ce=4,Ee=5,Se=6,ke=7,Te=8,xe=9,Pe=10,Oe=11,Ae=12,Re=14,Me=16;function Ie(t,e){var n=je(t),r=je(e);return n&&r?function(t,e,n){for(var r=t[Lt()](),o=e[Lt()]();;){var i=r.next(),u=o.next();if(i.done&&u.done)return!0;if(i.done||u.done)return!1;if(!n(i.value,u.value))return!1}}(t,e,Ie):!(n||!t||"object"!=typeof t&&"function"!=typeof t||r||!e||"object"!=typeof e&&"function"!=typeof e)||Ut(t,e)}var Ne=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}(),De=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 je(t){return!!Le(t)&&(Array.isArray(t)||!(t instanceof Map)&&Lt()in t)}function Le(t){return null!==t&&("function"==typeof t||"object"==typeof t)}var He=0,Ue=1,Fe=6;function ze(t){for(;Array.isArray(t);)t=t[Ee];return t}function Be(t,e){return ze(e[t.index])}function Ve(t,e){var n=e[t];return n.length>=ye?n:n[Ee]}function We(t){return t[ve]}function qe(t){var e=We(t);return e?Array.isArray(e)?e:e.lViewData:null}function Ge(t,e){t[ve]=e}function Qe(t,e,n){t.afterContentInit&&(e.contentHooks||(e.contentHooks=[])).push(n,t.afterContentInit),t.afterContentChecked&&((e.contentHooks||(e.contentHooks=[])).push(n,t.afterContentChecked),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,t.afterContentChecked))}function Ze(t,e,n){t.afterViewInit&&(e.viewHooks||(e.viewHooks=[])).push(n,t.afterViewInit),t.afterViewChecked&&((e.viewHooks||(e.viewHooks=[])).push(n,t.afterViewChecked),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,t.afterViewChecked))}function Ke(t,e,n){null!=t.onDestroy&&(e.destroyHooks||(e.destroyHooks=[])).push(n,t.onDestroy)}function Ye(t,e,n){16&t[be]&&(Je(t,e.initHooks,e.checkHooks,n),t[be]&=-17)}function Je(t,e,n,r){var o=r?e:n;o&&$e(t,o)}function $e(t,e){for(var n=0;n<e.length;n+=2)e[n+1].call(t[e[n]])}var Xe=9,tn="ngProjectAs";function en(t){return!!t.listen}var nn={createRenderer:function(t,e){return document}},rn=[];function on(t){for(var e=t[Se];e&&2===e.type;)e=(t=t[we])[Se];return t}function un(t,e,n,r,o){0===t?en(e)?e.insertBefore(n,r,o):n.insertBefore(r,o,!0):1===t?en(e)?e.removeChild(n,r):n.removeChild(r):2===t&&e.destroyNode(r)}function an(t){var e=t[me].childIndex;return-1===e?null:t[e]}function sn(t,e){var n;return t.length>=ye&&(n=t[Se])&&2===n.type?function(e,n){if(-1===e.index){var r=t[Re];return r>-1?t[we][r]:null}return t[we][e.parent.index]}(n):t[we]===e?null:t[we]}function ln(t){if(t.length>=ye){var e=t;!function(t){var e=t[me].cleanup;if(null!=e){for(var n=0;n<e.length-1;n+=2)"string"==typeof e[n]?(ze(t[e[n+1]]).removeEventListener(e[n],t[Te][e[n+2]],e[n+3]),n+=2):"number"==typeof e[n]?(0,t[Te][e[n]])():e[n].call(t[Te][e[n+1]]);t[Te]=null}}(e),function(t){var e,n=t[me];null!=n&&null!=(e=n.destroyHooks)&&$e(t,e)}(e),(r=(n=e)[me]&&n[me].pipeDestroyHooks)&&$e(n,r),-1===e[me].id&&en(e[Oe])&&e[Oe].destroy()}var n,r}var cn,pn,hn,fn,dn,gn,vn,yn,mn=Promise.resolve(null);function bn(){return pn}var wn=!1,_n=!0,Cn=-1;function En(t,e){var n=yn;return dn=t&&t[me],vn=t&&1==(1&t[be]),_n=t&&dn.firstTemplatePass,Cn=t&&dn.bindingStartIndex,cn=t&&t[Oe],hn=e,fn=!0,yn=t,n&&(n[Ce]=gn),gn=t&&t[Ce],n}function Sn(t,e){e||(wn||Je(yn,dn.viewHooks,dn.viewCheckHooks,vn),yn[be]&=-6),yn[be]|=16,yn[ke]=dn.bindingStartIndex,En(t,null)}function kn(){Tn();var t=_n;dn.firstTemplatePass=_n=!1,wn||Ye(yn,dn,vn),function(t){for(var e=an(yn);null!==e;e=e[_e])if(e.length<ye&&-1===e[He])for(var n=e,r=0;r<n[Ue].length;r++){var o=n[Ue][r];On(o,o[me],o[xe],2)}}(),function(t){if(null!=t.contentQueries)for(var e=0;e<t.contentQueries.length;e+=2){var n=t.contentQueries[e];t.data[n].contentQueriesRefresh(n-ye,t.contentQueries[e+1])}}(dn),wn||Je(yn,dn.contentHooks,dn.contentCheckHooks,vn),function(t,e){if(null!=t)for(var n=0;n<t.length;n++)Ln(t[n],e)}(dn.components,t)}function Tn(){if(dn.expandoInstructions){Cn=yn[ke]=dn.expandoStartIndex;for(var t=-1,e=-1,n=0;n<dn.expandoInstructions.length;n++){var r=dn.expandoInstructions[n];"number"==typeof r?r<=0?(e=-r,"number"==typeof yn[Cn]&&(Cn+=Xe),t=Cn):Cn+=r:(yn[ke]=Cn,r(t-ye,e),t++)}}}function xn(t,e,n,r,o){var i=e.blueprint.slice();return i[be]=25|r,i[we]=i[Me]=yn,i[xe]=n,i[Pe]=yn?yn[Pe]:null,i[Oe]=t,i[Ae]=o||null,i}function Pn(t,e,n,r,o){var i=t+ye;yn[i]=n;var u=dn.data[i];return null==u&&(u=dn.data[i]=jn(e,i,r,o,null),hn&&(!fn||null!=hn.child||null===u.parent&&2!==hn.type?fn||(hn.next=u):hn.child=u)),null==dn.firstChild&&3===e&&(dn.firstChild=u),hn=u,fn=!0,u}function On(t,e,n,r){var o,i=fn,u=hn;if(64&t[be])Un(t[xe]);else try{fn=!0,hn=null,o=En(t,t[Se]),In(),e.template(r,n),2&r?kn():t[me].firstTemplatePass=_n=!1}finally{Sn(o,1==(1&r)),fn=i,hn=u}}function An(t,e,n){var r=En(t,t[Se]);try{pn.begin&&pn.begin(),n?(In(),n(Rn(t),e),kn()):(wn||(Ye(yn,dn,vn),Je(yn,dn.contentHooks,dn.contentCheckHooks,vn)),Tn(),Ln(ye,!1))}finally{pn.end&&pn.end(),Sn(r)}}function Rn(t){return 1&t[be]?3:2}var Mn=null;function In(){Mn=null}function Nn(t,e,n,r,o,i,u){var a=ye+n,s=a+r,l=function(t,e){var n=new Array(e).fill(null,0,t).fill(Vn,t);return n[Re]=-1,n[ke]=t,n}(a,s);return l[me]={id:t,blueprint:l,template:e,viewQuery:u,node:null,data:l.slice(),childIndex:-1,bindingStartIndex:a,expandoStartIndex:s,expandoInstructions:null,firstTemplatePass:!0,initHooks:null,checkHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,pipeDestroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof o?o():o,pipeRegistry:"function"==typeof i?i():i,currentMatches:null,firstChild:null}}function Dn(t,e){pn=t;var n=t.createRenderer(null,null);return"string"==typeof e?en(n)?n.selectRootElement(e):n.querySelector(e):e}function jn(t,e,n,r,o){var i=fn?hn:hn&&hn.parent,u=i&&yn&&i!==yn[Se]?i:null;return{type:t,index:e,injectorIndex:u?u.injectorIndex:-1,flags:0,tagName:n,attrs:r,localNames:null,initialInputs:void 0,inputs:void 0,outputs:void 0,tViews:o,next:null,child:null,parent:u,detached:null,stylingTemplate:null,projection:null}}function Ln(t,e){var n=Ve(t,yn);Hn(n)&&6&n[be]&&(e&&function(t){for(var e=t[me],n=t.length;n<e.blueprint.length;n++)t[n]=e.blueprint[n]}(n),Bn(n,n[xe]))}function Hn(t){return 8==(8&t[be])}function Un(t){for(var e=0;e<t.components.length;e++){var n=t.components[e];An(qe(n),n)}}function Fn(t){Bn(function(t){var e,n=We(t);if(Array.isArray(n)){var r=function(t,e){var n=t[me].components;if(n)for(var r=0;r<n.length;r++){var o=n[r];if(Ve(o,t)[xe]===e)return o}else if(Ve(ye,t)[xe]===e)return ye;return-1}(n,t);(o=function(t,e,n){return{lViewData:t,nodeIndex:e,native:n,component:void 0,directives:void 0,localRefs:void 0}}(n,r,(e=Ve(r,n))[Ee])).component=t,Ge(t,o),Ge(o.native,o)}else{var o;e=Ve((o=n).nodeIndex,o.lViewData)}return e}(t),t)}function zn(t){Un(t[xe])}function Bn(t,e){var n=t[me],r=En(t,t[Se]),o=n.template,i=n.viewQuery;try{In(),function(e,n,r){e&&1&t[be]&&e(1,r)}(i,0,e),o(Rn(t),e),kn(),function(t,e){t&&t(2,e)}(i,e)}finally{Sn(r)}}var Vn={},Wn=mn,qn=[0,1];function Gn(t,e,n,r,o,i){var u=function(t,e,n,r){if(Ge(e,yn),r&&Ge(r,yn),yn[t]=e,_n){var o=hn.flags;0===o?hn.flags=t<<15|4096&o|1:hn.flags++,dn.data.push(n),dn.blueprint.push(null),n.hostBindings&&dn.expandoInstructions.push((u=n).hostBindings,u.hostVars)}else{var i=n.diPublic;i&&i(n)}var u;return null!=n.attributes&&3==hn.type&&function(t,e){for(var n=en(cn),r=0;r<e.length;){var o=e[r];if(1===o)break;if(o===tn)r+=2;else if(0===o){var i=e[r+1],u=e[r+2],a=e[r+3];n?cn.setAttribute(t,u,a,i):t.setAttributeNS(i,u,a),r+=4}else a=e[r+1],n?cn.setAttribute(t,o,a):t.setAttribute(o,a),r+=2}}(r,n.attributes),e}(r.length,n.factory(),n,t);return o.components.push(u),e[xe]=u,i&&i.forEach(function(t){return t(u,n)}),r[me].firstTemplatePass&&function(t){for(var e=0;e<t;e++)yn.push(Vn),dn.blueprint.push(Vn),dn.data.push(null)}(n.hostVars),Tn(),u}function Qn(t,e){return{components:[],scheduler:t,clean:Wn,playerHandler:e||null,flags:0}}function Zn(t,e){var n,r,o,i,u=qe(t)[me],a=u.data.length-1;n=a,o=e.doCheck,i=u,(r=e.onInit)&&(i.initHooks||(i.initHooks=[])).push(n,r),o&&((i.initHooks||(i.initHooks=[])).push(n,o),(i.checkHooks||(i.checkHooks=[])).push(n,o)),function(t,e){if(e.firstTemplatePass)for(var n=t>>15,r=n+(4095&t),o=n;o<r;o++){var i=e.data[o];Qe(i,e,o),Ze(i,e,o),Ke(i,e,o)}}(a<<15|1,u)}var Kn=function(){return function(){}}(),Yn=function(){return function(){}}();function Jn(t){var e=Error("No component factory found for "+Ft(t)+". Did you add it to @NgModule.entryComponents?");return e[Xn]=t,e}var $n,Xn="ngComponent",tr=function(){function t(){}return t.prototype.resolveComponentFactory=function(t){throw Jn(t)},t}(),er=function(){function t(){}return t.NULL=new tr,t}(),nr=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 Jn(t);return new rr(e,this._ngModule)},t}(),rr=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}(Yn),or=function(){return function(){}}(),ir=function(){return function(){}}(),ur=function(t){function e(e){var n=t.call(this,e,null,-1)||this;return n._view=e,n}return o(e,t),e.prototype.detectChanges=function(){zn(this._view)},e.prototype.checkNoChanges=function(){!function(t){wn=!0;try{zn(t)}finally{wn=!1}}(this._view)},e}(function(){function t(t,e,n){this._context=e,this._componentIndex=n,this._appRef=null,this._viewContainerRef=null,this._tViewNode=null,this._view=t}return Object.defineProperty(t.prototype,"context",{get:function(){return this._context?this._context:this._lookUpContext()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"destroyed",{get:function(){return 32==(32&this._view[be])},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){var t,e;this._viewContainerRef&&Hn(this._view)&&(this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),this._viewContainerRef=null),en(e=(t=this._view)[Oe])&&e.destroyNode&&function(e,n,r,o,i){for(var u=t[me].node,a=-1,s=t,l=u.child;l;){var c=null;if(3===l.type){un(2,r,null,Be(l,s),i);var p=s[l.index];g=p,Array.isArray(g)&&"number"==typeof g[He]&&un(2,r,null,p[Fe],i)}else if(0===l.type){var h=s[l.index];un(2,r,null,h[Fe],i),h[Ue].length&&(c=(s=h[Ue][0])[me].node,i=h[Fe])}else if(1===l.type){var f=on(s),d=f[Se].projection[l.projection];rn[++a]=l,rn[++a]=s,d&&(c=(s=f[we])[me].data[d.index])}else c=l.child;if(null===c)for(null===l.next&&8192&l.flags&&(s=rn[a--],l=rn[a--]),c=l.next;!c;){if(null===(l=l.parent||s[me].node)||l===u)return null;0===l.type&&(i=(s=s[we])[l.index][Fe]),c=2===l.type&&s[_e]?(s=s[_e])[me].node:l.next}l=c}var g}(0,0,e),function(t){if(-1===t[me].childIndex)return ln(t);for(var e=an(t);e;){var n=null;if(e.length>=ye?e[me].childIndex>-1&&(n=an(e)):e[Ue].length&&(n=e[Ue][0]),null==n){for(;e&&!e[_e]&&e!==t;)ln(e),e=sn(e,t);ln(e||t),n=e&&e[_e]}e=n}}(t),t[be]|=32},t.prototype.onDestroy=function(t){var e,n;n=t,function(t){return t[Te]||(t[Te]=[])}(e=this._view).push(n),e[me].firstTemplatePass&&function(t){return t[me].cleanup||(t[me].cleanup=[])}(e).push(e[Te].length-1,null)},t.prototype.markForCheck=function(){!function(t){for(var e=t;e&&!(64&e[be]);)e[be]|=4,e=e[we];var n,r,o;e[be]|=4,o=0===(n=e[xe]).flags,n.flags|=1,o&&n.clean==mn&&(n.clean=new Promise(function(t){return r=t}),n.scheduler(function(){if(1&n.flags&&(n.flags&=-2,Un(n)),2&n.flags){n.flags&=-3;var t=n.playerHandler;t&&t.flushPlayers()}n.clean=mn,r(null)}))}(this._view)},t.prototype.detach=function(){this._view[be]&=-9},t.prototype.reattach=function(){this._view[be]|=8},t.prototype.detectChanges=function(){var t=bn();t.begin&&t.begin(),Fn(this.context),t.end&&t.end()},t.prototype.checkNoChanges=function(){!function(t){wn=!0;try{Fn(t)}finally{wn=!1}}(this.context)},t.prototype.attachToViewContainerRef=function(t){this._viewContainerRef=t},t.prototype.detachFromAppRef=function(){this._appRef=null},t.prototype.attachToAppRef=function(t){this._appRef=t},t.prototype._lookUpContext=function(){return this._context=this._view[we][this._componentIndex]},t}());function ar(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e]}var sr=ar,lr=ar,cr=ar,pr=ar,hr=ar,fr=function(){function t(t){this.nativeElement=t}return t.__NG_ELEMENT_ID__=function(){return sr(t)},t}(),dr=function(){return function(){}}(),gr=function(){return function(){}}(),vr=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}({}),yr=function(){function t(){}return t.__NG_ELEMENT_ID__=function(){return hr()},t}(),mr=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.resolveComponentFactory=function(t){return new Er(t[_t]||null)},e}(er);function br(t){var e=[];for(var n in t)t.hasOwnProperty(n)&&e.push({propName:t[n],templateName:n});return e}var wr=new Pt("ROOT_CONTEXT_TOKEN",{providedIn:"root",factory:function(){return Qn(fe(_r))}}),_r=new Pt("SCHEDULER_TOKEN",{providedIn:"root",factory:function(){return"undefined"!=typeof requestAnimationFrame&&"undefined"!=typeof window?requestAnimationFrame.bind(window):setTimeout}}),Cr=new Pt("WRAP_RENDERER_FACTORY2"),Er=function(t){function e(e){var n=t.call(this)||this;return n.componentDef=e,n.componentType=e.type,n.selector=e.selectors[0][0],n.ngContentSelectors=[],n}return o(e,t),Object.defineProperty(e.prototype,"inputs",{get:function(){return br(this.componentDef.inputs)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"outputs",{get:function(){return br(this.componentDef.outputs)},enumerable:!0,configurable:!0}),e.prototype.create=function(t,e,n,r){var i,u=void 0===n;i=r?r.injector.get(Cr,function(t){return t})(r.injector.get(gr)):nn;var a,s,l=u?(a=this.selector,en(s=i.createRenderer(null,this.componentDef)||cn)?s.createElement(a,Mn):null===Mn?s.createElement(a):s.createElementNS(Mn,a)):Dn(i,n),c=this.componentDef.onPush?68:66,p=r&&!u?r.injector.get(wr):Qn(requestAnimationFrame.bind(window)),h=i.createRenderer(l,this.componentDef),f=xn(h,Nn(-1,null,1,0,null,null,null),p,c);f[Pe]=r&&r.injector||null;var d,g,v,y,m=En(f,null);try{i.begin&&i.begin();var b=function(t,e,n,r,o){fn=!1,hn=null;var i,u=n[me],a=xn(r,(i=e.template).ngPrivateData||(i.ngPrivateData=Nn(-1,i,e.consts,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery)),null,e.onPush?4:2,o),s=Pn(0,3,t,null,null);return u.firstTemplatePass&&(u.expandoInstructions=qn.slice(),e.diPublic&&e.diPublic(e),s.flags=n.length<<15|4096),a[Ee]=n[ye],a[Se]=s,n[ye]=a}(l,this.componentDef,f,h);if(g=f[me].data[0+ye],e)for(var w=0,_=g.projection=[],C=0;C<e.length;C++){for(var E=e[C],S=null,k=null,T=0;T<E.length;T++){y=void 0,(y=(v=f)[me]).firstTemplatePass&&(y.expandoStartIndex++,y.blueprint.push(null),v.push(null));var x=Pn(++w,3,E[T],null,null);k?k.next=x:S=x,k=x}_.push(S)}d=Gn(l,b,this.componentDef,f,p,[Zn]),On(b,b[me],d,1),b[be]&=-2}finally{En(m,null),i.end&&i.end()}var P=new Sr(this.componentType,d,f,t,function(t,e,n){return $n||($n=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(fr)),new $n(Be(e,n))}(0,g,f));return u&&(P.hostView._tViewNode.child=g),P},e}(Yn),Sr=function(t){function e(e,n,r,o,i){var u,a=t.call(this)||this;return a.location=i,a.destroyCbs=[],a.instance=n,a.hostView=a.changeDetectorRef=new ur(r),a.hostView._tViewNode=(-1,null==(u=r)[me].node&&(u[me].node=jn(2,-1,null,null,null)),fn=!0,hn=u[Se]=u[me].node),a.injector=o,a.componentType=e,a}return o(e,t),e.prototype.destroy=function(){this.destroyCbs.forEach(function(t){return t()}),this.destroyCbs=null},e.prototype.onDestroy=function(t){this.destroyCbs.push(t)},e}(Kn),kr=new Pt("The presence of this token marks an injector as being the root injector."),Tr={},xr={},Pr=[],Or=void 0;function Ar(){return void 0===Or&&(Or=new Jt),Or}var Rr=function(){function t(t,e,n){var r=this;this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this.destroyed=!1,Nr([t],function(t){return r.processInjectorType(t,new Set)}),e&&Nr(e,function(t){return r.processProvider(t)}),this.records.set(Yt,Ir(void 0,this)),this.isRootInjector=this.records.has(kr),this.injectorDefTypes.forEach(function(t){return r.get(t)})}return t.prototype.destroy=function(){this.assertNotDestroyed(),this.destroyed=!0;try{this.onDestroy.forEach(function(t){return t.ngOnDestroy()})}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}},t.prototype.get=function(t,e,n){void 0===e&&(e=Kt),void 0===n&&(n=0),this.assertNotDestroyed();var r,o=he(this);try{if(!(4&n)){var i=this.records.get(t);if(void 0===i){var u=("function"==typeof(r=t)||"object"==typeof r&&r instanceof Pt)&&Tt(t);u&&this.injectableDefInScope(u)&&(i=Mr(t),this.records.set(t,i))}if(void 0!==i)return this.hydrate(t,i)}return 2&n&&Ar(),this.parent.get(t,e)}finally{he(o)}},t.prototype.assertNotDestroyed=function(){if(this.destroyed)throw new Error("Injector has already been destroyed.")},t.prototype.processInjectorType=function(t,e){var n=this,r=xt(t=Bt(t)),o=null==r&&t.ngModule||void 0,i=void 0===o?t:o,u=void 0!==o&&t.providers||Pr;if(void 0!==o&&(r=xt(o)),null!=r){if(e.has(i))throw new Error("Circular dependency: type "+Ft(i)+" ends up importing itself.");if(this.injectorDefTypes.add(i),this.records.set(i,Ir(r.factory)),null!=r.imports){e.add(i);try{Nr(r.imports,function(t){return n.processInjectorType(t,e)})}finally{e.delete(i)}}null!=r.providers&&Nr(r.providers,function(t){return n.processProvider(t)}),Nr(u,function(t){return n.processProvider(t)})}},t.prototype.processProvider=function(t){var e=Dr(t=Bt(t))?t:Bt(t.provide),n=function(t){var e=Bt(t),n=Tr,r=void 0;if(Dr(t))return Mr(t);if(e=Bt(t.provide),re in t)n=t.useValue;else if(t.useExisting)r=function(){return fe(t.useExisting)};else if(t.useFactory)r=function(){return t.useFactory.apply(t,c(de(t.deps||[])))};else{var o=t.useClass||e;if(!t.deps)return Mr(o);r=function(){return new(o.bind.apply(o,c([void 0],de(t.deps))))}}return Ir(r,n)}(t);if(Dr(t)||!0!==t.multi){var r=this.records.get(e);if(r&&void 0!==r.multi)throw new Error("Mixed multi-provider for "+Ft(e))}else{var o=this.records.get(e);if(o){if(void 0===o.multi)throw new Error("Mixed multi-provider for "+e+".")}else(o=Ir(void 0,Tr,!0)).factory=function(){return de(o.multi)},this.records.set(e,o);e=t,o.multi.push(t)}this.records.set(e,n)},t.prototype.hydrate=function(t,e){if(e.value===xr)throw new Error("Circular dep for "+Ft(t));var n;return e.value===Tr&&(e.value=xr,e.value=e.factory()),"object"==typeof e.value&&e.value&&"object"==typeof(n=e.value)&&null!=n&&n.ngOnDestroy&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(e.value),e.value},t.prototype.injectableDefInScope=function(t){return!!t.providedIn&&("string"==typeof t.providedIn?"any"===t.providedIn||"root"===t.providedIn&&this.isRootInjector:this.injectorDefTypes.has(t.providedIn))},t}();function Mr(t){var e=Tt(t);if(null===e){if(t instanceof Pt)throw new Error("Token "+Ft(t)+" is missing an ngInjectableDef definition.");return Ir(function(){return new t})}return Ir(e.factory)}function Ir(t,e,n){return void 0===e&&(e=Tr),void 0===n&&(n=!1),{factory:t,value:e,multi:n?[]:void 0}}function Nr(t,e){t.forEach(function(t){return Array.isArray(t)?Nr(t,e):e(t)})}function Dr(t){return"function"==typeof t}var jr={provide:er,useFactory:function(){return new mr},deps:[]},Lr=function(t){function e(e,n){var r=t.call(this)||this;return r._bootstrapComponents=[],r.destroyCbs=[],r._bootstrapComponents=(e[St]||null).bootstrap,r.injector=function(t,e,n){return void 0===e&&(e=null),void 0===n&&(n=null),e=e||Ar(),new Rr(t,n,e)}(e,n,[jr,{provide:or,useValue:r}]),r.instance=r.injector.get(e),r.componentFactoryResolver=new mr,r}return o(e,t),e.prototype.destroy=function(){this.destroyCbs.forEach(function(t){return t()}),this.destroyCbs=null},e.prototype.onDestroy=function(t){this.destroyCbs.push(t)},e}(or);!function(t){function e(e){var n=t.call(this)||this;return n.moduleType=e,n}o(e,t),e.prototype.create=function(t){return new Lr(this.moduleType,t)}}(ir);var Hr=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},u=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&&(u=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&&(u=this.__isAsync?function(){setTimeout(function(){return r()})}:function(){r()}));var a=t.prototype.subscribe.call(this,o,i,u);return e instanceof w&&e.add(a),a},e}(U),Ur=function(){function t(){}return t.__NG_ELEMENT_ID__=function(){return lr(t,fr)},t}(),Fr=!0,zr=!1;function Br(){return zr=!0,Fr}var Vr=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}(),Wr=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:\/?#]*(?:[\/?#]|$))/gi,qr=/^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 Gr(t){return(t=String(t)).match(Wr)||t.match(qr)?t:(Br()&&console.warn("WARNING: sanitizing unsafe URL value "+t+" (see http://g.co/ng/security#xss)"),"unsafe:"+t)}function Qr(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(u){e={error:u}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(e)throw e.error}}return r}function Zr(){for(var t,e,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var o={};try{for(var i=s(n),u=i.next();!u.done;u=i.next()){var a=u.value;for(var l in a)a.hasOwnProperty(l)&&(o[l]=!0)}}catch(c){t={error:c}}finally{try{u&&!u.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}return o}var Kr,Yr=Qr("area,br,col,hr,img,wbr"),Jr=Qr("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),$r=Qr("rp,rt"),Xr=Zr($r,Jr),to=Zr(Yr,Zr(Jr,Qr("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Zr($r,Qr("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")),Xr),eo=Qr("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),no=Qr("srcset"),ro=Zr(eo,no,Qr("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")),oo=function(){function t(){this.sanitizedSomething=!1,this.buf=[]}return t.prototype.sanitizeChildren=function(t){for(var e=t.firstChild;e;)if(e.nodeType===Node.ELEMENT_NODE?this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,e.firstChild)e=e.firstChild;else for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);var n=this.checkClobberedElement(e,e.nextSibling);if(n){e=n;break}e=this.checkClobberedElement(e,e.parentNode)}return this.buf.join("")},t.prototype.startElement=function(t){var e=t.nodeName.toLowerCase();if(to.hasOwnProperty(e)){this.buf.push("<"),this.buf.push(e);for(var n,r=t.attributes,o=0;o<r.length;o++){var i=r.item(o),u=i.name,a=u.toLowerCase();if(ro.hasOwnProperty(a)){var s=i.value;eo[a]&&(s=Gr(s)),no[a]&&(n=s,s=(n=String(n)).split(",").map(function(t){return Gr(t.trim())}).join(", ")),this.buf.push(" ",u,'="',ao(s),'"')}else this.sanitizedSomething=!0}this.buf.push(">")}else this.sanitizedSomething=!0},t.prototype.endElement=function(t){var e=t.nodeName.toLowerCase();to.hasOwnProperty(e)&&!Yr.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))},t.prototype.chars=function(t){this.buf.push(ao(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}(),io=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,uo=/([^\#-~ |!])/g;function ao(t){return t.replace(/&/g,"&").replace(io,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(uo,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}function so(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var lo=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}({}),co=function(){return function(){}}(),po=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"),ho=/^url\(([^)]+)\)$/;String,String;var fo=new(function(){return function(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}())("7.0.4"),go="ngDebugContext",vo="ngOriginalError",yo="ngErrorLogger";function mo(t){return t[go]}function bo(t){return t[vo]}function wo(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];t.error.apply(t,c(e))}var _o=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[yo]||wo}(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?mo(t)?mo(t):this._findContext(bo(t)):null},t.prototype._findOriginalError=function(t){for(var e=bo(t);e&&bo(e);)e=bo(e);return e},t}();function Co(t){return!!t&&"function"==typeof t.then}function Eo(t){return!!t&&"function"==typeof t.subscribe}var So=new Pt("Application Initializer"),ko=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]();Co(o)&&e.push(o)}Promise.all(e).then(function(){n()}).catch(function(e){t.reject(e)}),0===e.length&&n(),this.initialized=!0}},t}(),To=new Pt("AppId");function xo(){return""+Po()+Po()+Po()}function Po(){return String.fromCharCode(97+Math.floor(25*Math.random()))}var Oo=new Pt("Platform Initializer"),Ao=new Pt("Platform ID"),Ro=new Pt("appBootstrapListener"),Mo=function(){function t(){}return t.prototype.log=function(t){console.log(t)},t.prototype.warn=function(t){console.warn(t)},t}();function Io(){throw new Error("Runtime compiler is not loaded")}var No,Do,jo=function(){function t(){}return t.prototype.compileModuleSync=function(t){throw Io()},t.prototype.compileModuleAsync=function(t){throw Io()},t.prototype.compileModuleAndAllComponentsSync=function(t){throw Io()},t.prototype.compileModuleAndAllComponentsAsync=function(t){throw Io()},t.prototype.clearCache=function(){},t.prototype.clearCacheFor=function(t){},t.prototype.getModuleId=function(t){},t}(),Lo=function(){return function(){}}();function Ho(){var t=Nt.wtf;return!(!t||!(No=t.trace)||(Do=No.events,0))}var Uo=Ho();function Fo(t,e){return null}var zo=Uo?function(t,e){return void 0===e&&(e=null),Do.createScope(t,e)}:function(t,e){return Fo},Bo=Uo?function(t,e){return No.leaveScope(t,e),e}:function(t,e){return e},Vo=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 Hr(!1),this.onMicrotaskEmpty=new Hr(!1),this.onStable=new Hr(!1),this.onError=new Hr(!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,u){try{return Qo(e),t.invokeTask(r,o,i,u)}finally{Zo(e)}},onInvoke:function(t,n,r,o,i,u,a){try{return Qo(e),t.invoke(r,o,i,u,a)}finally{Zo(e)}},onHasTask:function(t,n,r,o){t.hasTask(r,o),n===r&&("microTask"==o.change?(e.hasPendingMicrotasks=o.microTask,Go(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,qo,Wo,Wo);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 Wo(){}var qo={};function Go(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 Qo(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Zo(t){t._nesting--,Go(t)}var Ko,Yo=function(){function t(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Hr,this.onMicrotaskEmpty=new Hr,this.onStable=new Hr,this.onError=new Hr}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}(),Jo=function(){function t(t){var e=this;this._ngZone=t,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this._watchAngularEvents(),t.run(function(){e.taskTrackingZone=Zone.current.get("TaskTrackingZone")})}return t.prototype._watchAngularEvents=function(){var t=this;this._ngZone.onUnstable.subscribe({next:function(){t._didWork=!0,t._isZoneStable=!1}}),this._ngZone.runOutsideAngular(function(){t._ngZone.onStable.subscribe({next:function(){Vo.assertNotInAngularZone(),Ht(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())Ht(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}(),$o=function(){function t(){this._applications=new Map,Xo.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),Xo.findTestabilityInTree(this,t,e)},u([a("design:paramtypes",[])],t)}(),Xo=new(function(){function t(){}return t.prototype.addToWindow=function(t){},t.prototype.findTestabilityInTree=function(t,e,n){return null},t}()),ti=new Pt("AllowMultipleToken"),ei=function(){return function(t,e){this.name=t,this.token=e}}();function ni(t,e,n){void 0===n&&(n=[]);var r="Platform: "+e,o=new Pt(r);return function(e){void 0===e&&(e=[]);var i=ri();if(!i||i.injector.get(ti,!1))if(t)t(n.concat(e).concat({provide:o,useValue:!0}));else{var u=n.concat(e).concat({provide:o,useValue:!0});!function(t){if(Ko&&!Ko.destroyed&&!Ko.injector.get(ti,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Ko=t.get(oi);var e=t.get(Oo,null);e&&e.forEach(function(t){return t()})}($t.create({providers:u,name:r}))}return function(t){var e=ri();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 ri(){return Ko&&!Ko.destroyed?Ko:null}var oi=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 Yo:("zone.js"===n?void 0:n)||new Vo({enableLongStackTrace:Br()}),i=[{provide:Vo,useValue:o}];return o.run(function(){var e=$t.create({providers:i,parent:r.injector,name:t.moduleType.name}),n=t.create(e),u=n.injector.get(_o,null);if(!u)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.onDestroy(function(){return ai(r._modules,n)}),o.runOutsideAngular(function(){return o.onError.subscribe({next:function(t){u.handleError(t)}})}),function(t,e,o){try{var i=((u=n.injector.get(ko)).runInitializers(),u.donePromise.then(function(){return r._moduleDoBootstrap(n),n}));return Co(i)?i.catch(function(n){throw e.runOutsideAngular(function(){return t.handleError(n)}),n}):i}catch(a){throw e.runOutsideAngular(function(){return t.handleError(a)}),a}var u}(u,o)})},t.prototype.bootstrapModule=function(t,e){var n=this;void 0===e&&(e=[]);var r=ii({},e);return function(t,e,n){return t.get(Lo).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(ui);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(function(t){return e.bootstrap(t)});else{if(!t.instance.ngDoBootstrap)throw new Error("The module "+Ft(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 ii(t,e){return Array.isArray(e)?e.reduce(ii,t):i({},t,e)}var ui=function(){function t(t,e,n,r,o,i){var u=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=Br(),this._zone.onMicrotaskEmpty.subscribe({next:function(){u._zone.run(function(){u.tick()})}});var a=new I(function(t){u._stable=u._zone.isStable&&!u._zone.hasPendingMacrotasks&&!u._zone.hasPendingMicrotasks,u._zone.runOutsideAngular(function(){t.next(u._stable),t.complete()})}),s=new I(function(t){var e;u._zone.runOutsideAngular(function(){e=u._zone.onStable.subscribe(function(){Vo.assertNotInAngularZone(),Ht(function(){u._stable||u._zone.hasPendingMacrotasks||u._zone.hasPendingMicrotasks||(u._stable=!0,t.next(!0))})})});var n=u._zone.onUnstable.subscribe(function(){Vo.assertInAngularZone(),u._stable&&(u._stable=!1,u._zone.runOutsideAngular(function(){t.next(!1)}))});return function(){e.unsubscribe(),n.unsubscribe()}});this.isStable=ct(a,s.pipe(function(t){return pt()(yt(bt)(t))}))}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 Yn?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);var o=n instanceof rr?null:this._injector.get(or),i=n.create($t.NULL,[],e||n.selector,o);i.onDestroy(function(){r._unloadComponent(i)});var u=i.injector.get(Jo,null);return u&&i.injector.get($o).registerApplication(i.location.nativeElement,u),this._loadComponent(i),Br()&&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,Bo(n)}},t.prototype.attachView=function(t){var e=t;this._views.push(e),e.attachToAppRef(this)},t.prototype.detachView=function(t){var e=t;ai(this._views,e),e.detachFromAppRef()},t.prototype._loadComponent=function(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(Ro,[]).concat(this._bootstrapListeners).forEach(function(e){return e(t)})},t.prototype._unloadComponent=function(t){this.detachView(t.hostView),ai(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=zo("ApplicationRef#tick()"),t}();function ai(t,e){var n=t.indexOf(e);n>-1&&t.splice(n,1)}var si=function(){return function(){}}(),li=function(){function t(){this.dirty=!0,this._results=[],this.changes=new Hr,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[Lt()]=function(){return this._results[Lt()]()},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}(),ci=function(){return function(){}}(),pi={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},hi=function(){function t(t,e){this._compiler=t,this._config=e||pi}return t.prototype.load=function(t){return this._compiler instanceof jo?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 fi(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 fi(t,r,o)})},t}();function fi(t,e,n){if(!t)throw new Error("Cannot find '"+n+"' in '"+e+"'");return t}var di,gi=function(){function t(){}return t.__NG_ELEMENT_ID__=function(){return pr(t,fr)},t}(),vi=function(){function t(){}return t.__NG_ELEMENT_ID__=function(){return cr()},t}(),yi=(o(function(){return null!==di&&di.apply(this,arguments)||this},di=vi),function(){return function(t,e){this.name=t,this.callback=e}}()),mi=function(){function t(t,e,n){this.nativeNode=t,this._debugContext=n,this.listeners=[],this.parent=null,e&&e instanceof bi&&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}(),bi=function(t){function e(e,n,r){var o=t.call(this,e,n,r)||this;return o.properties={},o.attributes={},o.classes={},o.styles={},o.childNodes=[],o.nativeElement=e,o}return o(e,t),e.prototype.addChild=function(t){t&&(this.childNodes.push(t),t.parent=this)},e.prototype.removeChild=function(t){var e=this.childNodes.indexOf(t);-1!==e&&(t.parent=null,this.childNodes.splice(e,1))},e.prototype.insertChildrenAfter=function(t,e){var n,r=this,o=this.childNodes.indexOf(t);-1!==o&&((n=this.childNodes).splice.apply(n,c([o+1,0],e)),e.forEach(function(t){t.parent&&t.parent.removeChild(t),t.parent=r}))},e.prototype.insertBefore=function(t,e){var n=this.childNodes.indexOf(t);-1===n?this.addChild(e):(e.parent&&e.parent.removeChild(e),e.parent=this,this.childNodes.splice(n,0,e))},e.prototype.query=function(t){return this.queryAll(t)[0]||null},e.prototype.queryAll=function(t){var e=[];return function t(e,n,r){e.childNodes.forEach(function(e){e instanceof bi&&(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 bi&&e.childNodes.forEach(function(e){n(e)&&r.push(e),e instanceof bi&&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}(mi),wi=new Map;function _i(t){return wi.get(t)||null}function Ci(t){wi.set(t.nativeNode,t)}var Ei=function(){function t(){}return t.prototype.supports=function(t){return je(t)},t.prototype.create=function(t){return new ki(t)},t}(),Si=function(t,e){return e},ki=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||Si}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<Oi(n,r,o)?e:n,u=Oi(i,r,o),a=i.currentIndex;if(i===n)r--,n=n._nextRemoved;else if(e=e._next,null==i.previousIndex)r++;else{o||(o=[]);var s=u-r,l=a-r;if(s!=l){for(var c=0;c<s;c++){var p=c<o.length?o[c]:o[c]=0,h=p+c;l<=h&&h<s&&(o[c]=p+1)}o[i.previousIndex]=l-s}}u!==a&&t(i,u,a)}},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=[]),!je(t))throw new Error("Error trying to diff '"+Ft(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,u=!1;if(Array.isArray(t)){this.length=t.length;for(var a=0;a<this.length;a++)o=this._trackByFn(a,r=t[a]),null!==i&&Ut(i.trackById,o)?(u&&(i=this._verifyReinsertion(i,r,o,a)),Ut(i.item,r)||this._addIdentityChange(i,r)):(i=this._mismatch(i,r,o,a),u=!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[Lt()](),o=void 0;!(o=r.next()).done;)e(o.value)}(t,function(t){o=e._trackByFn(n,t),null!==i&&Ut(i.trackById,o)?(u&&(i=e._verifyReinsertion(i,t,o,n)),Ut(i.item,t)||e._addIdentityChange(i,t)):(i=e._mismatch(i,t,o,n),u=!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 Ti(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 Pi),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 Pi),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}(),Ti=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}}(),xi=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}(),Pi=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 xi,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 Oi(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 Ai=function(){function t(){}return t.prototype.supports=function(t){return t instanceof Map||Le(t)},t.prototype.create=function(){return new Ri},t}(),Ri=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||Le(t)))throw new Error("Error trying to diff '"+Ft(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 Mi(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}(),Mi=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}}(),Ii=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 Gt,new Wt]]}},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=kt({providedIn:"root",factory:function(){return new t([new Ei])}}),t}(),Ni=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 Gt,new Wt]]}},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}(),Di=[new Ai],ji=new Ii([new Ei]),Li=new Ni(Di),Hi=ni(null,"core",[{provide:Ao,useValue:"unknown"},{provide:oi,deps:[$t]},{provide:$o,deps:[]},{provide:Mo,deps:[]}]),Ui=new Pt("LocaleId");function Fi(){return ji}function zi(){return Li}function Bi(t){return t||"en-US"}var Vi=function(){return function(t){}}();function Wi(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 qi(t,e,n){return(1792&t.state)===e&&t.initIndex<=n&&(t.initIndex=n+1,!0)}function Gi(t,e){return t.nodes[e]}function Qi(t,e){return t.nodes[e]}function Zi(t,e){return t.nodes[e]}function Ki(t,e){return t.nodes[e]}function Yi(t,e){return t.nodes[e]}var Ji={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 $i(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 Xi(n,e),n}(o,t)}function Xi(t,e){t[go]=e,t[yo]=e.logError.bind(e)}function tu(t){return new Error("ViewDestroyedError: Attempt to use a destroyed view: "+t)}var eu=function(){},nu=new Map;function ru(t){var e=nu.get(t);return e||(e=Ft(t)+"_"+nu.size,nu.set(t,e)),e}var ou="$$undefined",iu="$$empty";function uu(t){return{id:ou,styles:t.styles,encapsulation:t.encapsulation,data:t.data}}var au=0;function su(t,e,n,r){return!(!(2&t.state)&&Ut(t.oldValues[e.bindingIndex+n],r))}function lu(t,e,n,r){return!!su(t,e,n,r)&&(t.oldValues[e.bindingIndex+n]=r,!0)}function cu(t,e,n,r){var o=t.oldValues[e.bindingIndex+n];if(1&t.state||!Ie(o,r)){var i=e.bindings[n].name;throw $i(Ji.createDebugContext(t,e.nodeIndex),i+": "+o,i+": "+r,0!=(1&t.state))}}function pu(t){for(var e=t;e;)2&e.def.flags&&(e.state|=8),e=e.viewContainerParent||e.parent}function hu(t,e){for(var n=t;n&&n!==e;)n.state|=64,n=n.viewContainerParent||n.parent}function fu(t,e,n,r){try{return pu(33554432&t.def.nodes[e].flags?Qi(t,e).componentView:t),Ji.handleEvent(t,e,n,r)}catch(o){t.root.errorHandler.handleError(o)}}function du(t){return t.parent?Qi(t.parent,t.parentNodeDef.nodeIndex):null}function gu(t){return t.parent?t.parentNodeDef.parent:null}function vu(t,e){switch(201347067&e.flags){case 1:return Qi(t,e.nodeIndex).renderElement;case 2:return Gi(t,e.nodeIndex).renderText}}function yu(t){return!!t.parent&&!!(32768&t.parentNodeDef.flags)}function mu(t){return!(!t.parent||32768&t.parentNodeDef.flags)}function bu(t){var e={},n=0,r={};return t&&t.forEach(function(t){var o=l(t,2),i=o[0],u=o[1];"number"==typeof i?(e[i]=u,n|=function(t){return 1<<t%32}(i)):r[i]=u}),{matchedQueries:e,references:r,matchedQueryIds:n}}function wu(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,Qt,{value:e,configurable:!0}),{flags:o,token:r,tokenKey:ru(r)}})}function _u(t,e,n){var r=n.renderParent;return r?0==(1&r.flags)||0==(33554432&r.flags)||r.element.componentRendererType&&r.element.componentRendererType.encapsulation===ge.Native?Qi(t,n.renderParent.nodeIndex).renderElement:void 0:e}var Cu=new WeakMap;function Eu(t){var e=Cu.get(t);return e||((e=t(function(){return eu})).factory=t,Cu.set(t,e)),e}function Su(t,e,n,r,o){3===e&&(n=t.renderer.parentNode(vu(t,t.def.lastRenderRootNode))),ku(t,e,0,t.def.nodes.length-1,n,r,o)}function ku(t,e,n,r,o,i,u){for(var a=n;a<=r;a++){var s=t.def.nodes[a];11&s.flags&&xu(t,s,e,o,i,u),a+=s.childCount}}function Tu(t,e,n,r,o,i){for(var u=t;u&&!yu(u);)u=u.parent;for(var a=u.parent,s=gu(u),l=s.nodeIndex+s.childCount,c=s.nodeIndex+1;c<=l;c++){var p=a.def.nodes[c];p.ngContentIndex===e&&xu(a,p,n,r,o,i),c+=p.childCount}if(!a.parent){var h=t.root.projectableNodes[e];if(h)for(c=0;c<h.length;c++)Pu(t,h[c],n,r,o,i)}}function xu(t,e,n,r,o,i){if(8&e.flags)Tu(t,e.ngContent.index,n,r,o,i);else{var u=vu(t,e);if(3===n&&33554432&e.flags&&48&e.bindingFlags?(16&e.bindingFlags&&Pu(t,u,n,r,o,i),32&e.bindingFlags&&Pu(Qi(t,e.nodeIndex).componentView,u,n,r,o,i)):Pu(t,u,n,r,o,i),16777216&e.flags)for(var a=Qi(t,e.nodeIndex).viewContainer._embeddedViews,s=0;s<a.length;s++)Su(a[s],n,r,o,i);1&e.flags&&!e.element.name&&ku(t,n,e.nodeIndex+1,e.nodeIndex+e.childCount,r,o,i)}}function Pu(t,e,n,r,o,i){var u=t.renderer;switch(n){case 1:u.appendChild(r,e);break;case 2:u.insertBefore(r,e,o);break;case 3:u.removeChild(r,e);break;case 0:i.push(e)}}var Ou=/^:([^:]+):(.+)$/;function Au(t){if(":"===t[0]){var e=t.match(Ou);return[e[1],e[2]]}return["",t]}function Ru(t){for(var e=0,n=0;n<t.length;n++)e|=t[n].flags;return e}function Mu(t,e,n,r,o,i,u,a,s,l,c,p,h,f,d,g,v,y,m,b){switch(t){case 1:return e+Iu(n)+r;case 2:return e+Iu(n)+r+Iu(o)+i;case 3:return e+Iu(n)+r+Iu(o)+i+Iu(u)+a;case 4:return e+Iu(n)+r+Iu(o)+i+Iu(u)+a+Iu(s)+l;case 5:return e+Iu(n)+r+Iu(o)+i+Iu(u)+a+Iu(s)+l+Iu(c)+p;case 6:return e+Iu(n)+r+Iu(o)+i+Iu(u)+a+Iu(s)+l+Iu(c)+p+Iu(h)+f;case 7:return e+Iu(n)+r+Iu(o)+i+Iu(u)+a+Iu(s)+l+Iu(c)+p+Iu(h)+f+Iu(d)+g;case 8:return e+Iu(n)+r+Iu(o)+i+Iu(u)+a+Iu(s)+l+Iu(c)+p+Iu(h)+f+Iu(d)+g+Iu(v)+y;case 9:return e+Iu(n)+r+Iu(o)+i+Iu(u)+a+Iu(s)+l+Iu(c)+p+Iu(h)+f+Iu(d)+g+Iu(v)+y+Iu(m)+b;default:throw new Error("Does not support more than 9 expressions")}}function Iu(t){return null!=t?t.toString():""}function Nu(t,e,n,r,o,i){t|=1;var u=bu(e);return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:t,checkIndex:-1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:u.matchedQueries,matchedQueryIds:u.matchedQueryIds,references:u.references,ngContentIndex:n,childCount:r,bindings:[],bindingFlags:0,outputs:[],element:{ns:null,name:null,attrs:null,template:i?Eu(i):null,componentProvider:null,componentView:null,componentRendererType:null,publicProviders:null,allProviders:null,handleEvent:o||eu},provider:null,text:null,query:null,ngContent:null}}function Du(t,e,n,r,o,i,u,a,s,c,p,h){var f;void 0===u&&(u=[]),c||(c=eu);var d=bu(n),g=d.matchedQueries,v=d.references,y=d.matchedQueryIds,m=null,b=null;i&&(m=(f=l(Au(i),2))[0],b=f[1]),a=a||[];for(var w=new Array(a.length),_=0;_<a.length;_++){var C=l(a[_],3),E=C[0],S=C[2],k=l(Au(C[1]),2),T=k[0],x=k[1],P=void 0,O=void 0;switch(15&E){case 4:O=S;break;case 1:case 8:P=S}w[_]={flags:E,ns:T,name:x,nonMinifiedName:x,securityContext:P,suffix:O}}s=s||[];var A=new Array(s.length);for(_=0;_<s.length;_++){var R=l(s[_],2);A[_]={type:0,target:R[0],eventName:R[1],propName:null}}var M=(u=u||[]).map(function(t){var e=l(t,2),n=e[1],r=l(Au(e[0]),2);return[r[0],r[1],n]});return h=function(t){if(t&&t.id===ou){var e=null!=t.encapsulation&&t.encapsulation!==ge.None||t.styles.length||Object.keys(t.data).length;t.id=e?"c"+au++:iu}return t&&t.id===iu&&(t=null),t||null}(h),p&&(e|=33554432),{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:t,flags:e|=1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:g,matchedQueryIds:y,references:v,ngContentIndex:r,childCount:o,bindings:w,bindingFlags:Ru(w),outputs:A,element:{ns:m,name:b,attrs:M,template:null,componentProvider:null,componentView:p||null,componentRendererType:h,publicProviders:null,allProviders:null,handleEvent:c||eu},provider:null,text:null,query:null,ngContent:null}}function ju(t,e,n){var r,o=n.element,i=t.root.selectorOrNode,u=t.renderer;if(t.parent||!i){r=o.name?u.createElement(o.name,o.ns):u.createComment("");var a=_u(t,e,n);a&&u.appendChild(a,r)}else r=u.selectRootElement(i,!!o.componentRendererType&&o.componentRendererType.encapsulation===ge.ShadowDom);if(o.attrs)for(var s=0;s<o.attrs.length;s++){var c=l(o.attrs[s],3);u.setAttribute(r,c[1],c[2],c[0])}return r}function Lu(t,e,n,r){for(var o=0;o<n.outputs.length;o++){var i=n.outputs[o],u=Hu(t,n.nodeIndex,(p=i.eventName,(c=i.target)?c+":"+p:p)),a=i.target,s=t;"component"===i.target&&(a=null,s=e);var l=s.renderer.listen(a||r,i.eventName,u);t.disposables[n.outputIndex+o]=l}var c,p}function Hu(t,e,n){return function(r){return fu(t,e,n,r)}}function Uu(t,e,n,r){if(!lu(t,e,n,r))return!1;var o=e.bindings[n],i=Qi(t,e.nodeIndex),u=i.renderElement,a=o.name;switch(15&o.flags){case 1:!function(t,e,n,r,o,i){var u=e.securityContext,a=u?t.root.sanitizer.sanitize(u,i):i;a=null!=a?a.toString():null;var s=t.renderer;null!=i?s.setAttribute(n,o,a,r):s.removeAttribute(n,o,r)}(t,o,u,o.ns,a,r);break;case 2:!function(t,e,n,r){var o=t.renderer;r?o.addClass(e,n):o.removeClass(e,n)}(t,u,a,r);break;case 4:!function(t,e,n,r,o){var i=t.root.sanitizer.sanitize(lo.STYLE,o);if(null!=i){i=i.toString();var u=e.suffix;null!=u&&(i+=u)}else i=null;var a=t.renderer;null!=i?a.setStyle(n,r,i):a.removeStyle(n,r)}(t,o,u,a,r);break;case 8:!function(t,e,n,r,o){var i=e.securityContext,u=i?t.root.sanitizer.sanitize(i,o):o;t.renderer.setProperty(n,r,u)}(33554432&e.flags&&32&o.flags?i.componentView:t,o,u,a,r)}return!0}var Fu=new Object,zu=ru($t),Bu=ru(Yt),Vu=ru(or);function Wu(t,e,n,r){return n=Bt(n),{index:-1,deps:wu(r,Ft(e)),flags:t,token:e,value:n}}function qu(t,e,n){void 0===n&&(n=$t.THROW_IF_NOT_FOUND);var r,o,i=he(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 u=e.tokenKey;switch(u){case zu:case Bu:case Vu:return t}var a,s=t._def.providersByKey[u];if(s){var l=t._providers[s.index];return void 0===l&&(l=t._providers[s.index]=Gu(t,s)),l===Fu?void 0:l}if((a=Tt(e.token))&&(r=t,null!=(o=a).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:a.factory,deps:[],index:c,token:e.token},t._providers[c]=Fu,t._providers[c]=Gu(t,t._def.providersByKey[e.tokenKey])}return 4&e.flags?n:t._parent.get(e.token,n)}finally{he(i)}}function Gu(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(qu(t,n[0]));case 2:return new e(qu(t,n[0]),qu(t,n[1]));case 3:return new e(qu(t,n[0]),qu(t,n[1]),qu(t,n[2]));default:for(var o=new Array(r),i=0;i<r;i++)o[i]=qu(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(qu(t,n[0]));case 2:return e(qu(t,n[0]),qu(t,n[1]));case 3:return e(qu(t,n[0]),qu(t,n[1]),qu(t,n[2]));default:for(var o=Array(r),i=0;i<r;i++)o[i]=qu(t,n[i]);return e.apply(void 0,c(o))}}(t,e.value,e.deps);break;case 2048:n=qu(t,e.deps[0]);break;case 256:n=e.value}return n===Fu||null==n||"object"!=typeof n||131072&e.flags||"function"!=typeof n.ngOnDestroy||(e.flags|=131072),void 0===n?Fu:n}function Qu(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,Ju(n,e),Ji.dirtyParentQueries(r),Ku(r),r}function Zu(t,e,n){var r=e?vu(e,e.def.lastRenderRootNode):t.renderElement,o=n.renderer.parentNode(r),i=n.renderer.nextSibling(r);Su(n,2,o,i,void 0)}function Ku(t){Su(t,3,null,null,void 0)}function Yu(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function Ju(t,e){e>=t.length-1?t.pop():t.splice(e,1)}var $u=new Object;function Xu(t,e,n,r,o,i){return new ta(t,e,n,r,o,i)}var ta=function(t){function e(e,n,r,o,i,u){var a=t.call(this)||this;return a.selector=e,a.componentType=n,a._inputs=o,a._outputs=i,a.ngContentSelectors=u,a.viewDefFactory=r,a}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=Eu(this.viewDefFactory),i=o.nodes[0].element.componentProvider.nodeIndex,u=Ji.createRootView(t,e||[],n,o,r,$u),a=Zi(u,i).instance;return n&&u.renderer.setAttribute(Qi(u,0).renderElement,"ng-version",fo.full),new ea(u,new ia(u),a)},e}(Yn),ea=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 fr(Qi(this._view,this._elDef.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return new la(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}(Kn);function na(t,e,n){return new ra(t,e,n)}var ra=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 fr(this._data.renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return new la(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=gu(t),t=t.parent;return t?new la(t,e):new la(this._view,null)},enumerable:!0,configurable:!0}),t.prototype.clear=function(){for(var t=this._embeddedViews.length-1;t>=0;t--){var e=Qu(this._data,t);Ji.destroyView(e)}},t.prototype.get=function(t){var e=this._embeddedViews[t];if(e){var n=new ia(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 rr||(o=i.get(or));var u=t.create(i,r,void 0,o);return this.insert(u.hostView,e),u},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,u=t;return i=(n=this._data).viewContainer._embeddedViews,null==(r=e)&&(r=i.length),(o=u._view).viewContainerParent=this._view,Yu(i,r,o),function(t,e){var n=du(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),Ji.dirtyParentQueries(o),Zu(n,r>0?i[r-1]:null,o),u.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,u,a=this._embeddedViews.indexOf(t._view);return o=e,u=(i=(n=this._data).viewContainer._embeddedViews)[r=a],Ju(i,r),null==o&&(o=i.length),Yu(i,o,u),Ji.dirtyParentQueries(u),Ku(u),Zu(n,o>0?i[o-1]:null,u),t},t.prototype.indexOf=function(t){return this._embeddedViews.indexOf(t._view)},t.prototype.remove=function(t){var e=Qu(this._data,t);e&&Ji.destroyView(e)},t.prototype.detach=function(t){var e=Qu(this._data,t);return e?new ia(e):null},t}();function oa(t){return new ia(t)}var ia=function(){function t(t){this._view=t,this._viewContainerRef=null,this._appRef=null}return Object.defineProperty(t.prototype,"rootNodes",{get:function(){return Su(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(){pu(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{Ji.checkAndUpdateView(this._view)}finally{t.end&&t.end()}},t.prototype.checkNoChanges=function(){Ji.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)),Ji.destroyView(this._view)},t.prototype.detachFromAppRef=function(){this._appRef=null,Ku(this._view),Ji.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 ua(t,e){return new aa(t,e)}var aa=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 ia(Ji.createEmbeddedView(this._parentView,this._def,this._def.element.template,t))},Object.defineProperty(e.prototype,"elementRef",{get:function(){return new fr(Qi(this._parentView,this._def.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),e}(Ur);function sa(t,e){return new la(t,e)}var la=function(){function t(t,e){this.view=t,this.elDef=e}return t.prototype.get=function(t,e){return void 0===e&&(e=$t.THROW_IF_NOT_FOUND),Ji.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:t,tokenKey:ru(t)},e)},t}();function ca(t,e){var n=t.def.nodes[e];if(1&n.flags){var r=Qi(t,n.nodeIndex);return n.element.template?r.template:r.renderElement}if(2&n.flags)return Gi(t,n.nodeIndex).renderText;if(20240&n.flags)return Zi(t,n.nodeIndex).instance;throw new Error("Illegal state: read nodeValue for node index "+e)}function pa(t){return new ha(t.renderer)}var ha=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(Au(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(Au(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 fa(t,e,n,r){return new da(t,e,n,r)}var da=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]=Gu(t,o))}}(this)}return t.prototype.get=function(t,e,n){void 0===e&&(e=$t.THROW_IF_NOT_FOUND),void 0===n&&(n=0);var r=0;return 4&n?r|=1:2&n&&(r|=4),qu(this,{token:t,tokenKey:ru(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(er)},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){if(this._destroyed)throw new Error("The ng module "+Ft(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!==Fu){var u=i.ngOnDestroy;"function"!=typeof u||r.has(i)||(u.apply(i),r.add(i))}}}(this),this._destroyListeners.forEach(function(t){return t()})},t.prototype.onDestroy=function(t){this._destroyListeners.push(t)},t}(),ga=ru(dr),va=ru(yr),ya=ru(fr),ma=ru(gi),ba=ru(Ur),wa=ru(vi),_a=ru($t),Ca=ru(Yt);function Ea(t,e,n,r,o,i,u,a){var s=[];if(u)for(var c in u){var p=l(u[c],2);s[p[0]]={flags:8,name:c,nonMinifiedName:p[1],ns:null,securityContext:null,suffix:null}}var h=[];if(a)for(var f in a)h.push({type:1,propName:f,target:null,eventName:a[f]});return function(t,e,n,r,o,i,u,a,s){var l=bu(n),c=l.matchedQueries,p=l.references,h=l.matchedQueryIds;s||(s=[]),a||(a=[]),i=Bt(i);var f=wu(u,Ft(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:h,references:p,ngContentIndex:-1,childCount:r,bindings:a,bindingFlags:Ru(a),outputs:s,element:null,provider:{token:o,value:i,deps:f},text:null,query:null,ngContent:null}}(t,e|=16384,n,r,o,o,i,s,h)}function Sa(t,e){return Pa(t,e)}function ka(t,e){for(var n=t;n.parent&&!yu(n);)n=n.parent;return Oa(n.parent,gu(n),!0,e.provider.value,e.provider.deps)}function Ta(t,e){var n=Oa(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(!Eo(i))throw new Error("@Output "+o.propName+" not initialized in '"+n.constructor.name+"'.");var u=i.subscribe(xa(t,e.parent.nodeIndex,o.eventName));t.disposables[e.outputIndex+r]=u.unsubscribe.bind(u)}return n}function xa(t,e,n){return function(r){return fu(t,e,n,r)}}function Pa(t,e){var n=(8192&e.flags)>0,r=e.provider;switch(201347067&e.flags){case 512:return Oa(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(Ra(t,e,n,o[0]));case 2:return r(Ra(t,e,n,o[0]),Ra(t,e,n,o[1]));case 3:return r(Ra(t,e,n,o[0]),Ra(t,e,n,o[1]),Ra(t,e,n,o[2]));default:for(var u=Array(i),a=0;a<i;a++)u[a]=Ra(t,e,n,o[a]);return r.apply(void 0,c(u))}}(t,e.parent,n,r.value,r.deps);case 2048:return Ra(t,e.parent,n,r.deps[0]);case 256:return r.value}}function Oa(t,e,n,r,o){var i=o.length;switch(i){case 0:return new r;case 1:return new r(Ra(t,e,n,o[0]));case 2:return new r(Ra(t,e,n,o[0]),Ra(t,e,n,o[1]));case 3:return new r(Ra(t,e,n,o[0]),Ra(t,e,n,o[1]),Ra(t,e,n,o[2]));default:for(var u=new Array(i),a=0;a<i;a++)u[a]=Ra(t,e,n,o[a]);return new(r.bind.apply(r,c([void 0],u)))}}var Aa={};function Ra(t,e,n,r,o){if(void 0===o&&(o=$t.THROW_IF_NOT_FOUND),8&r.flags)return r.token;var i=t;2&r.flags&&(o=null);var u=r.tokenKey;u===wa&&(n=!(!e||!e.element.componentView)),e&&1&r.flags&&(n=!1,e=e.parent);for(var a=t;a;){if(e)switch(u){case ga:return pa(Ma(a,e,n));case va:return Ma(a,e,n).renderer;case ya:return new fr(Qi(a,e.nodeIndex).renderElement);case ma:return Qi(a,e.nodeIndex).viewContainer;case ba:if(e.element.template)return Qi(a,e.nodeIndex).template;break;case wa:return oa(Ma(a,e,n));case _a:case Ca:return sa(a,e);default:var s=(n?e.element.allProviders:e.element.publicProviders)[u];if(s){var l=Zi(a,s.nodeIndex);return l||(l={instance:Pa(a,s)},a.nodes[s.nodeIndex]=l),l.instance}}n=yu(a),e=gu(a),a=a.parent,4&r.flags&&(a=null)}var c=i.root.injector.get(r.token,Aa);return c!==Aa||o===Aa?c:i.root.ngModule.injector.get(r.token,o)}function Ma(t,e,n){var r;if(n)r=Qi(t,e.nodeIndex).componentView;else for(r=t;r.parent&&!yu(r);)r=r.parent;return r}function Ia(t,e,n,r,o,i){if(32768&n.flags){var u=Qi(t,n.parent.nodeIndex).componentView;2&u.def.flags&&(u.state|=8)}if(e.instance[n.bindings[r].name]=o,524288&n.flags){i=i||{};var a=Ne.unwrap(t.oldValues[n.bindingIndex+r]);i[n.bindings[r].nonMinifiedName]=new De(a,o,0!=(2&t.state))}return t.oldValues[n.bindingIndex+r]=o,i}function Na(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],u=i.parent;for(!u&&i.flags&e&&ja(t,o,i.flags&e,r++),0==(i.childFlags&e)&&(o+=i.childCount);u&&1&u.flags&&o===u.nodeIndex+u.childCount;)u.directChildFlags&e&&(r=Da(t,u,e,r)),u=u.parent}}function Da(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&&ja(t,o,i.flags&n,r++),o+=i.childCount}return r}function ja(t,e,n,r){var o=Zi(t,e);if(o){var i=o.instance;i&&(Ji.setCurrentNode(t,e),1048576&n&&qi(t,512,r)&&i.ngAfterContentInit(),2097152&n&&i.ngAfterContentChecked(),4194304&n&&qi(t,768,r)&&i.ngAfterViewInit(),8388608&n&&i.ngAfterViewChecked(),131072&n&&i.ngOnDestroy())}}function La(t){for(var e=t.def.nodeMatchedQueries;t.parent&&mu(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&&Yi(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&&Yi(t,o).setDirty(),o+=i.childCount}}function Ha(t,e){var n=Yi(t,e.nodeIndex);if(n.dirty){var r,o=void 0;if(67108864&e.flags){var i=e.parent.parent;o=Ua(t,i.nodeIndex,i.nodeIndex+i.childCount,e.query,[]),r=Zi(t,e.parent.nodeIndex).instance}else 134217728&e.flags&&(o=Ua(t,0,t.def.nodes.length-1,e.query,[]),r=t.component);n.reset(o);for(var u=e.query.bindings,a=!1,s=0;s<u.length;s++){var l=u[s],c=void 0;switch(l.bindingType){case 0:c=n.first;break;case 1:c=n,a=!0}r[l.propName]=c}a&&n.notifyOnChanges()}}function Ua(t,e,n,r,o){for(var i=e;i<=n;i++){var u=t.def.nodes[i],a=u.matchedQueries[r.id];if(null!=a&&o.push(Fa(t,u,a)),1&u.flags&&u.element.template&&(u.element.template.nodeMatchedQueries&r.filterId)===r.filterId){var s=Qi(t,i);if((u.childMatchedQueries&r.filterId)===r.filterId&&(Ua(t,i+1,i+u.childCount,r,o),i+=u.childCount),16777216&u.flags)for(var l=s.viewContainer._embeddedViews,c=0;c<l.length;c++){var p=l[c],h=du(p);h&&h===s&&Ua(p,0,p.def.nodes.length-1,r,o)}var f=s.template._projectedViews;if(f)for(c=0;c<f.length;c++){var d=f[c];Ua(d,0,d.def.nodes.length-1,r,o)}}(u.childMatchedQueries&r.filterId)!==r.filterId&&(i+=u.childCount)}return o}function Fa(t,e,n){if(null!=n)switch(n){case 1:return Qi(t,e.nodeIndex).renderElement;case 0:return new fr(Qi(t,e.nodeIndex).renderElement);case 2:return Qi(t,e.nodeIndex).template;case 3:return Qi(t,e.nodeIndex).viewContainer;case 4:return Zi(t,e.nodeIndex).instance}}function za(t,e,n){var r=_u(t,e,n);r&&Tu(t,n.ngContent.index,1,r,null,void 0)}function Ba(t,e){for(var n=Object.keys(e),r=n.length,o=new Array(r),i=0;i<r;i++){var u=n[i];o[e[u]]=u}return Va(64,t,o)}function Va(t,e,n){for(var r=new Array(n.length),o=0;o<n.length;o++){var i=n[o];r[o]={flags:8,name:i,ns:null,nonMinifiedName:i,securityContext:null,suffix:null}}return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:t,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:-1,childCount:0,bindings:r,bindingFlags:Ru(r),outputs:[],element:null,provider:null,text:null,query:null,ngContent:null}}function Wa(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 qa(t,e,n){var r,o=t.renderer;r=o.createText(n.text.prefix);var i=_u(t,e,n);return i&&o.appendChild(i,r),{renderText:r}}function Ga(t,e){return(null!=t?t.toString():"")+e.suffix}function Qa(t,e,n,r){for(var o=0,i=0,u=0,a=0,s=0,l=null,c=null,p=!1,h=!1,f=null,d=0;d<e.length;d++){var g=e[d];if(g.nodeIndex=d,g.parent=l,g.bindingIndex=o,g.outputIndex=i,g.renderParent=c,u|=g.flags,s|=g.matchedQueryIds,g.element){var v=g.element;v.publicProviders=l?l.element.publicProviders:Object.create(null),v.allProviders=v.publicProviders,p=!1,h=!1,g.element.template&&(s|=g.element.template.nodeMatchedQueries)}if(Ka(l,g,e.length),o+=g.bindings.length,i+=g.outputs.length,!c&&3&g.flags&&(f=g),20224&g.flags){p||(p=!0,l.element.publicProviders=Object.create(l.element.publicProviders),l.element.allProviders=l.element.publicProviders);var y=0!=(32768&g.flags);0==(8192&g.flags)||y?l.element.publicProviders[ru(g.provider.token)]=g:(h||(h=!0,l.element.allProviders=Object.create(l.element.publicProviders)),l.element.allProviders[ru(g.provider.token)]=g),y&&(l.element.componentProvider=g)}if(l?(l.childFlags|=g.flags,l.directChildFlags|=g.flags,l.childMatchedQueries|=g.matchedQueryIds,g.element&&g.element.template&&(l.childMatchedQueries|=g.element.template.nodeMatchedQueries)):a|=g.flags,g.childCount>0)l=g,Za(g)||(c=g);else for(;l&&d===l.nodeIndex+l.childCount;){var m=l.parent;m&&(m.childFlags|=l.childFlags,m.childMatchedQueries|=l.childMatchedQueries),c=(l=m)&&Za(l)?l.renderParent:l}}return{factory:null,nodeFlags:u,rootNodeFlags:a,nodeMatchedQueries:s,flags:t,nodes:e,updateDirectives:n||eu,updateRenderer:r||eu,handleEvent:function(t,n,r,o){return e[n].element.handleEvent(t,r,o)},bindingCount:o,outputCount:i,lastRenderRootNode:f}}function Za(t){return 0!=(1&t.flags)&&null===t.element.name}function Ka(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 Ya(t,e,n,r){var o=Xa(t.root,t.renderer,t,e,n);return ts(o,t.component,r),es(o),o}function Ja(t,e,n){var r=Xa(t,t.renderer,null,null,e);return ts(r,n,n),es(r),r}function $a(t,e,n,r){var o,i=e.element.componentRendererType;return o=i?t.root.rendererFactory.createRenderer(r,i):t.root.renderer,Xa(t.root,o,t,e.element.componentProvider,n)}function Xa(t,e,n,r,o){var i=new Array(o.nodes.length),u=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:u,initIndex:-1}}function ts(t,e,n){t.component=e,t.context=n}function es(t){var e;yu(t)&&(e=Qi(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];Ji.setCurrentNode(t,o);var u=void 0;switch(201347067&i.flags){case 1:var a=ju(t,e,i),s=void 0;if(33554432&i.flags){var l=Eu(i.element.componentView);s=Ji.createComponentView(t,i,l,a)}Lu(t,s,i,a),u={renderElement:a,componentView:s,viewContainer:null,template:i.element.template?ua(t,i):void 0},16777216&i.flags&&(u.viewContainer=na(t,i,u));break;case 2:u=qa(t,e,i);break;case 512:case 1024:case 2048:case 256:(u=r[o])||4096&i.flags||(u={instance:Sa(t,i)});break;case 16:u={instance:ka(t,i)};break;case 16384:(u=r[o])||(u={instance:Ta(t,i)}),32768&i.flags&&ts(Qi(t,i.parent.nodeIndex).componentView,u.instance,u.instance);break;case 32:case 64:case 128:u={value:void 0};break;case 67108864:case 134217728:u=new li;break;case 8:za(t,e,i),u=void 0}r[o]=u}cs(t,ls.CreateViewNodes),ds(t,201326592,268435456,0)}function ns(t){is(t),Ji.updateDirectives(t,1),ps(t,ls.CheckNoChanges),Ji.updateRenderer(t,1),cs(t,ls.CheckNoChanges),t.state&=-97}function rs(t){1&t.state?(t.state&=-2,t.state|=2):t.state&=-3,Wi(t,0,256),is(t),Ji.updateDirectives(t,0),ps(t,ls.CheckAndUpdate),ds(t,67108864,536870912,0);var e=Wi(t,256,512);Na(t,2097152|(e?1048576:0)),Ji.updateRenderer(t,0),cs(t,ls.CheckAndUpdate),ds(t,134217728,536870912,0),Na(t,8388608|((e=Wi(t,512,768))?4194304:0)),2&t.def.flags&&(t.state&=-9),t.state&=-97,Wi(t,768,1024)}function os(t,e,n,r,o,i,u,a,s,l,p,h,f){return 0===n?function(t,e,n,r,o,i,u,a,s,l,c,p){switch(201347067&e.flags){case 1:return function(t,e,n,r,o,i,u,a,s,l,c,p){var h=e.bindings.length,f=!1;return h>0&&Uu(t,e,0,n)&&(f=!0),h>1&&Uu(t,e,1,r)&&(f=!0),h>2&&Uu(t,e,2,o)&&(f=!0),h>3&&Uu(t,e,3,i)&&(f=!0),h>4&&Uu(t,e,4,u)&&(f=!0),h>5&&Uu(t,e,5,a)&&(f=!0),h>6&&Uu(t,e,6,s)&&(f=!0),h>7&&Uu(t,e,7,l)&&(f=!0),h>8&&Uu(t,e,8,c)&&(f=!0),h>9&&Uu(t,e,9,p)&&(f=!0),f}(t,e,n,r,o,i,u,a,s,l,c,p);case 2:return function(t,e,n,r,o,i,u,a,s,l,c,p){var h=!1,f=e.bindings,d=f.length;if(d>0&&lu(t,e,0,n)&&(h=!0),d>1&&lu(t,e,1,r)&&(h=!0),d>2&&lu(t,e,2,o)&&(h=!0),d>3&&lu(t,e,3,i)&&(h=!0),d>4&&lu(t,e,4,u)&&(h=!0),d>5&&lu(t,e,5,a)&&(h=!0),d>6&&lu(t,e,6,s)&&(h=!0),d>7&&lu(t,e,7,l)&&(h=!0),d>8&&lu(t,e,8,c)&&(h=!0),d>9&&lu(t,e,9,p)&&(h=!0),h){var g=e.text.prefix;d>0&&(g+=Ga(n,f[0])),d>1&&(g+=Ga(r,f[1])),d>2&&(g+=Ga(o,f[2])),d>3&&(g+=Ga(i,f[3])),d>4&&(g+=Ga(u,f[4])),d>5&&(g+=Ga(a,f[5])),d>6&&(g+=Ga(s,f[6])),d>7&&(g+=Ga(l,f[7])),d>8&&(g+=Ga(c,f[8])),d>9&&(g+=Ga(p,f[9]));var v=Gi(t,e.nodeIndex).renderText;t.renderer.setValue(v,g)}return h}(t,e,n,r,o,i,u,a,s,l,c,p);case 16384:return function(t,e,n,r,o,i,u,a,s,l,c,p){var h=Zi(t,e.nodeIndex),f=h.instance,d=!1,g=void 0,v=e.bindings.length;return v>0&&su(t,e,0,n)&&(d=!0,g=Ia(t,h,e,0,n,g)),v>1&&su(t,e,1,r)&&(d=!0,g=Ia(t,h,e,1,r,g)),v>2&&su(t,e,2,o)&&(d=!0,g=Ia(t,h,e,2,o,g)),v>3&&su(t,e,3,i)&&(d=!0,g=Ia(t,h,e,3,i,g)),v>4&&su(t,e,4,u)&&(d=!0,g=Ia(t,h,e,4,u,g)),v>5&&su(t,e,5,a)&&(d=!0,g=Ia(t,h,e,5,a,g)),v>6&&su(t,e,6,s)&&(d=!0,g=Ia(t,h,e,6,s,g)),v>7&&su(t,e,7,l)&&(d=!0,g=Ia(t,h,e,7,l,g)),v>8&&su(t,e,8,c)&&(d=!0,g=Ia(t,h,e,8,c,g)),v>9&&su(t,e,9,p)&&(d=!0,g=Ia(t,h,e,9,p,g)),g&&f.ngOnChanges(g),65536&e.flags&&qi(t,256,e.nodeIndex)&&f.ngOnInit(),262144&e.flags&&f.ngDoCheck(),d}(t,e,n,r,o,i,u,a,s,l,c,p);case 32:case 64:case 128:return function(t,e,n,r,o,i,u,a,s,l,c,p){var h=e.bindings,f=!1,d=h.length;if(d>0&&lu(t,e,0,n)&&(f=!0),d>1&&lu(t,e,1,r)&&(f=!0),d>2&&lu(t,e,2,o)&&(f=!0),d>3&&lu(t,e,3,i)&&(f=!0),d>4&&lu(t,e,4,u)&&(f=!0),d>5&&lu(t,e,5,a)&&(f=!0),d>6&&lu(t,e,6,s)&&(f=!0),d>7&&lu(t,e,7,l)&&(f=!0),d>8&&lu(t,e,8,c)&&(f=!0),d>9&&lu(t,e,9,p)&&(f=!0),f){var g=Ki(t,e.nodeIndex),v=void 0;switch(201347067&e.flags){case 32:v=new Array(h.length),d>0&&(v[0]=n),d>1&&(v[1]=r),d>2&&(v[2]=o),d>3&&(v[3]=i),d>4&&(v[4]=u),d>5&&(v[5]=a),d>6&&(v[6]=s),d>7&&(v[7]=l),d>8&&(v[8]=c),d>9&&(v[9]=p);break;case 64:v={},d>0&&(v[h[0].name]=n),d>1&&(v[h[1].name]=r),d>2&&(v[h[2].name]=o),d>3&&(v[h[3].name]=i),d>4&&(v[h[4].name]=u),d>5&&(v[h[5].name]=a),d>6&&(v[h[6].name]=s),d>7&&(v[h[7].name]=l),d>8&&(v[h[8].name]=c),d>9&&(v[h[9].name]=p);break;case 128:var y=n;switch(d){case 1:v=y.transform(n);break;case 2:v=y.transform(r);break;case 3:v=y.transform(r,o);break;case 4:v=y.transform(r,o,i);break;case 5:v=y.transform(r,o,i,u);break;case 6:v=y.transform(r,o,i,u,a);break;case 7:v=y.transform(r,o,i,u,a,s);break;case 8:v=y.transform(r,o,i,u,a,s,l);break;case 9:v=y.transform(r,o,i,u,a,s,l,c);break;case 10:v=y.transform(r,o,i,u,a,s,l,c,p)}}g.value=v}return f}(t,e,n,r,o,i,u,a,s,l,c,p);default:throw"unreachable"}}(t,e,r,o,i,u,a,s,l,p,h,f):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++)Uu(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++)lu(t,e,i,n[i])&&(o=!0);if(o){var u="";for(i=0;i<n.length;i++)u+=Ga(n[i],r[i]);u=e.text.prefix+u;var a=Gi(t,e.nodeIndex).renderText;t.renderer.setValue(a,u)}return o}(t,e,n);case 16384:return function(t,e,n){for(var r=Zi(t,e.nodeIndex),o=r.instance,i=!1,u=void 0,a=0;a<n.length;a++)su(t,e,a,n[a])&&(i=!0,u=Ia(t,r,e,a,n[a],u));return u&&o.ngOnChanges(u),65536&e.flags&&qi(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++)lu(t,e,i,n[i])&&(o=!0);if(o){var u=Ki(t,e.nodeIndex),a=void 0;switch(201347067&e.flags){case 32:a=n;break;case 64:for(a={},i=0;i<n.length;i++)a[r[i].name]=n[i];break;case 128:var s=n[0],l=n.slice(1);a=s.transform.apply(s,c(l))}u.value=a}return o}(t,e,n);default:throw"unreachable"}}(t,e,r)}function is(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=Qi(t,n).template._projectedViews;if(o)for(var i=0;i<o.length;i++){var u=o[i];u.state|=32,hu(u,t)}}else 0==(4&r.childFlags)&&(n+=r.childCount)}}function us(t,e,n,r,o,i,u,a,s,l,c,p,h){return 0===n?function(t,e,n,r,o,i,u,a,s,l,c,p){var h=e.bindings.length;h>0&&cu(t,e,0,n),h>1&&cu(t,e,1,r),h>2&&cu(t,e,2,o),h>3&&cu(t,e,3,i),h>4&&cu(t,e,4,u),h>5&&cu(t,e,5,a),h>6&&cu(t,e,6,s),h>7&&cu(t,e,7,l),h>8&&cu(t,e,8,c),h>9&&cu(t,e,9,p)}(t,e,r,o,i,u,a,s,l,c,p,h):function(t,e,n){for(var r=0;r<n.length;r++)cu(t,e,r,n[r])}(t,e,r),!1}function as(t,e){if(Yi(t,e.nodeIndex).dirty)throw $i(Ji.createDebugContext(t,e.nodeIndex),"Query "+e.query.id+" not dirty","Query "+e.query.id+" dirty",0!=(1&t.state))}function ss(t){if(!(128&t.state)){if(ps(t,ls.Destroy),cs(t,ls.Destroy),Na(t,131072),t.disposables)for(var e=0;e<t.disposables.length;e++)t.disposables[e]();!function(t){if(16&t.state){var e=du(t);if(e){var n=e.template._projectedViews;n&&(Ju(n,n.indexOf(t)),Ji.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(Qi(t,n).renderElement):2&r.flags?t.renderer.destroyNode(Gi(t,n).renderText):(67108864&r.flags||134217728&r.flags)&&Yi(t,n).destroy()}}(t),yu(t)&&t.renderer.destroy(),t.state|=128}}var ls=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 cs(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?hs(Qi(t,r).componentView,e):0==(33554432&o.childFlags)&&(r+=o.childCount)}}function ps(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=Qi(t,r).viewContainer._embeddedViews,u=0;u<i.length;u++)hs(i[u],e);else 0==(16777216&o.childFlags)&&(r+=o.childCount)}}function hs(t,e){var n=t.state;switch(e){case ls.CheckNoChanges:0==(128&n)&&(12==(12&n)?ns(t):64&n&&fs(t,ls.CheckNoChangesProjectedViews));break;case ls.CheckNoChangesProjectedViews:0==(128&n)&&(32&n?ns(t):64&n&&fs(t,e));break;case ls.CheckAndUpdate:0==(128&n)&&(12==(12&n)?rs(t):64&n&&fs(t,ls.CheckAndUpdateProjectedViews));break;case ls.CheckAndUpdateProjectedViews:0==(128&n)&&(32&n?rs(t):64&n&&fs(t,e));break;case ls.Destroy:ss(t);break;case ls.CreateViewNodes:es(t)}}function fs(t,e){ps(t,e),cs(t,e)}function ds(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 u=t.def.nodes[i];if(u.flags&e&&u.flags&n)switch(Ji.setCurrentNode(t,u.nodeIndex),r){case 0:Ha(t,u);break;case 1:as(t,u)}u.childFlags&e&&u.childFlags&n||(i+=u.childCount)}}var gs=!1;function vs(t,e,n,r,o,i){var u=o.injector.get(gr);return Ja(ms(t,o,u,e,n),r,i)}function ys(t,e,n,r,o,i){var u=o.injector.get(gr),a=ms(t,o,new $s(u),e,n),s=Ps(r);return Ys(Ls.create,Ja,null,[a,s,i])}function ms(t,e,n,r,o){var i=e.injector.get(co),u=e.injector.get(_o),a=n.createRenderer(null,null);return{ngModule:e,injector:t,projectableNodes:r,selectorOrNode:o,sanitizer:i,rendererFactory:n,renderer:a,errorHandler:u}}function bs(t,e,n,r){var o=Ps(n);return Ys(Ls.create,Ya,null,[t,e,o,r])}function ws(t,e,n,r){return n=Ss.get(e.element.componentProvider.provider.token)||Ps(n),Ys(Ls.create,$a,null,[t,e,n,r])}function _s(t,e,n,r){return fa(t,e,n,function(t){var e=function(t){var e=!1,n=!1;return 0===Cs.size?{hasOverrides:e,hasDeprecatedOverrides:n}:(t.providers.forEach(function(t){var r=Cs.get(t.token);3840&t.flags&&r&&(e=!0,n=n||r.deprecatedBehavior)}),t.modules.forEach(function(t){Es.forEach(function(r,o){Tt(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=Cs.get(r.token);o&&(r.flags=-3841&r.flags|o.flags,r.deps=wu(o.deps),r.value=o.value)}if(Es.size>0){var i=new Set(t.modules);Es.forEach(function(e,r){if(i.has(Tt(r).providedIn)){var o={token:r,flags:e.flags|(n?4096:0),deps:wu(e.deps),value:e.value,index:t.providers.length};t.providers.push(o),t.providersByKey[ru(r)]=o}})}}(t=t.factory(function(){return eu})),t):t}(r))}var Cs=new Map,Es=new Map,Ss=new Map;function ks(t){var e;Cs.set(t.token,t),"function"==typeof t.token&&(e=Tt(t.token))&&"function"==typeof e.providedIn&&Es.set(t.token,t)}function Ts(t,e){var n=Eu(e.viewDefFactory),r=Eu(n.nodes[0].element.componentView);Ss.set(t,r)}function xs(){Cs.clear(),Es.clear(),Ss.clear()}function Ps(t){if(0===Cs.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&&Cs.has(o.provider.token)&&(e.push(n.nodeIndex),n=null)}return e}(t);if(0===e.length)return t;t=t.factory(function(){return eu});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=Cs.get(o.token);i&&(r.flags=-3841&r.flags|i.flags,o.deps=wu(i.deps),o.value=i.value)}}}}function Os(t,e,n,r,o,i,u,a,s,l,c,p,h){var f=t.def.nodes[e];return os(t,f,n,r,o,i,u,a,s,l,c,p,h),224&f.flags?Ki(t,e).value:void 0}function As(t,e,n,r,o,i,u,a,s,l,c,p,h){var f=t.def.nodes[e];return us(t,f,n,r,o,i,u,a,s,l,c,p,h),224&f.flags?Ki(t,e).value:void 0}function Rs(t){return Ys(Ls.detectChanges,rs,null,[t])}function Ms(t){return Ys(Ls.checkNoChanges,ns,null,[t])}function Is(t){return Ys(Ls.destroy,ss,null,[t])}var Ns,Ds,js,Ls=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 Hs(t,e){Ds=t,js=e}function Us(t,e,n,r){return Hs(t,e),Ys(Ls.handleEvent,t.def.handleEvent,null,[t,e,n,r])}function Fs(t,e){if(128&t.state)throw tu(Ls[Ns]);return Hs(t,Gs(t,0)),t.def.updateDirectives(function(t,n,r){for(var o=[],i=3;i<arguments.length;i++)o[i-3]=arguments[i];var u=t.def.nodes[n];return 0===e?Bs(t,u,r,o):Vs(t,u,r,o),16384&u.flags&&Hs(t,Gs(t,n)),224&u.flags?Ki(t,u.nodeIndex).value:void 0},t)}function zs(t,e){if(128&t.state)throw tu(Ls[Ns]);return Hs(t,Qs(t,0)),t.def.updateRenderer(function(t,n,r){for(var o=[],i=3;i<arguments.length;i++)o[i-3]=arguments[i];var u=t.def.nodes[n];return 0===e?Bs(t,u,r,o):Vs(t,u,r,o),3&u.flags&&Hs(t,Qs(t,n)),224&u.flags?Ki(t,u.nodeIndex).value:void 0},t)}function Bs(t,e,n,r){if(os.apply(void 0,c([t,e,n],r))){var o=1===n?r[0]:r;if(16384&e.flags){for(var i={},u=0;u<e.bindings.length;u++){var a=e.bindings[u],s=o[u];8&a.flags&&(i[(f=a.nonMinifiedName,d=void 0,d=f.replace(/[$@]/g,"_"),"ng-reflect-"+(f=d.replace(Ws,function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return"-"+t[1].toLowerCase()})))]=qs(s))}var l=e.parent,p=Qi(t,l.nodeIndex).renderElement;if(l.element.name)for(var h in i)null!=(s=i[h])?t.renderer.setAttribute(p,h,s):t.renderer.removeAttribute(p,h);else t.renderer.setValue(p,"bindings="+JSON.stringify(i,null,2))}}var f,d}function Vs(t,e,n,r){us.apply(void 0,c([t,e,n],r))}var Ws=/([A-Z])/g;function qs(t){try{return null!=t?t.toString().slice(0,30):t}catch(e){return"[ERROR] Exception while trying to serialize the value"}}function Gs(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 Qs(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 Zs=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=gu(r),r=r.parent;this.elDef=n,this.elView=r}return Object.defineProperty(t.prototype,"elOrCompView",{get:function(){return Qi(this.elView,this.elDef.nodeIndex).componentView||this.view},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return sa(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){Ks(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&&Ks(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&&!yu(t);)t=t.parent;return t.parent?Qi(t.parent,gu(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?vu(this.view,this.nodeDef):vu(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),u=-1;e.factory(function(){var e;return++u===i?(e=t.error).bind.apply(e,c([t],r)):eu}),u<i&&(t.error("Illegal state: the ViewDefinitionFactory did not call the logger!"),t.error.apply(t,c(r)))},t}();function Ks(t,e,n){for(var r in e.references)n[r]=Fa(t,e,e.references[r])}function Ys(t,e,n,r){var o=Ns,i=Ds,u=js;try{Ns=t;var a=e.apply(n,r);return Ds=i,js=u,Ns=o,a}catch(s){if(mo(s)||!Ds)throw s;throw function(t,e){return t instanceof Error||(t=new Error(t.toString())),Xi(t,e),t}(s,Js())}}function Js(){return Ds?new Zs(Ds,js):null}var $s=function(){function t(t){this.delegate=t}return t.prototype.createRenderer=function(t,e){return new Xs(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}(),Xs=function(){function t(t){this.delegate=t,this.debugContextFactory=Js,this.data=this.delegate.data}return t.prototype.createDebugContext=function(t){return this.debugContextFactory(t)},t.prototype.destroyNode=function(t){!function(t){wi.delete(t.nativeNode)}(_i(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 bi(n,null,r);o.name=t,Ci(o)}return n},t.prototype.createComment=function(t){var e=this.delegate.createComment(t),n=this.createDebugContext(e);return n&&Ci(new mi(e,null,n)),e},t.prototype.createText=function(t){var e=this.delegate.createText(t),n=this.createDebugContext(e);return n&&Ci(new mi(e,null,n)),e},t.prototype.appendChild=function(t,e){var n=_i(t),r=_i(e);n&&r&&n instanceof bi&&n.addChild(r),this.delegate.appendChild(t,e)},t.prototype.insertBefore=function(t,e,n){var r=_i(t),o=_i(e),i=_i(n);r&&o&&r instanceof bi&&r.insertBefore(i,o),this.delegate.insertBefore(t,e,n)},t.prototype.removeChild=function(t,e){var n=_i(t),r=_i(e);n&&r&&n instanceof bi&&n.removeChild(r),this.delegate.removeChild(t,e)},t.prototype.selectRootElement=function(t,e){var n=this.delegate.selectRootElement(t,e),r=Js()||null;return r&&Ci(new bi(n,null,r)),n},t.prototype.setAttribute=function(t,e,n,r){var o=_i(t);o&&o instanceof bi&&(o.attributes[r?r+":"+e:e]=n),this.delegate.setAttribute(t,e,n,r)},t.prototype.removeAttribute=function(t,e,n){var r=_i(t);r&&r instanceof bi&&(r.attributes[n?n+":"+e:e]=null),this.delegate.removeAttribute(t,e,n)},t.prototype.addClass=function(t,e){var n=_i(t);n&&n instanceof bi&&(n.classes[e]=!0),this.delegate.addClass(t,e)},t.prototype.removeClass=function(t,e){var n=_i(t);n&&n instanceof bi&&(n.classes[e]=!1),this.delegate.removeClass(t,e)},t.prototype.setStyle=function(t,e,n,r){var o=_i(t);o&&o instanceof bi&&(o.styles[e]=n),this.delegate.setStyle(t,e,n,r)},t.prototype.removeStyle=function(t,e,n){var r=_i(t);r&&r instanceof bi&&(r.styles[e]=null),this.delegate.removeStyle(t,e,n)},t.prototype.setProperty=function(t,e,n){var r=_i(t);r&&r instanceof bi&&(r.properties[e]=n),this.delegate.setProperty(t,e,n)},t.prototype.listen=function(t,e,n){if("string"!=typeof t){var r=_i(t);r&&r.listeners.push(new yi(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 tl(t,e,n){return new el(t,e,n)}var el=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(!gs){gs=!0;var t=Br()?{setCurrentNode:Hs,createRootView:ys,createEmbeddedView:bs,createComponentView:ws,createNgModuleRef:_s,overrideProvider:ks,overrideComponentView:Ts,clearOverrides:xs,checkAndUpdateView:Rs,checkNoChangesView:Ms,destroyView:Is,createDebugContext:function(t,e){return new Zs(t,e)},handleEvent:Us,updateDirectives:Fs,updateRenderer:zs}:{setCurrentNode:function(){},createRootView:vs,createEmbeddedView:Ya,createComponentView:$a,createNgModuleRef:fa,overrideProvider:eu,overrideComponentView:eu,clearOverrides:eu,checkAndUpdateView:rs,checkNoChangesView:ns,destroyView:ss,createDebugContext:function(t,e){return new Zs(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?Os:As,t)},updateRenderer:function(t,e){return t.def.updateRenderer(0===e?Os:As,t)}};Ji.setCurrentNode=t.setCurrentNode,Ji.createRootView=t.createRootView,Ji.createEmbeddedView=t.createEmbeddedView,Ji.createComponentView=t.createComponentView,Ji.createNgModuleRef=t.createNgModuleRef,Ji.overrideProvider=t.overrideProvider,Ji.overrideComponentView=t.overrideComponentView,Ji.clearOverrides=t.clearOverrides,Ji.checkAndUpdateView=t.checkAndUpdateView,Ji.checkNoChangesView=t.checkNoChangesView,Ji.destroyView=t.destroyView,Ji.resolveDep=Ra,Ji.createDebugContext=t.createDebugContext,Ji.handleEvent=t.handleEvent,Ji.updateDirectives=t.updateDirectives,Ji.updateRenderer=t.updateRenderer,Ji.dirtyParentQueries=La}}();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}}(Eu(this._ngModuleDefFactory));return Ji.createNgModuleRef(this.moduleType,t||$t.NULL,this._bootstrapComponents,e)},e}(ir),nl=function(){return function(){}}(),rl=function(){function t(){this.root=document.documentElement,this.themes=[[["navbar-text-color","white"],["menu-background-color","#eee"],["menu-background-color-hover","#dcdcdc"],["background-color","white"],["text-color","black"],["button-background-color","black"],["button-text-color","white"],["sound-bubble-text-color","white"],["sound-bubble-dark","#222"],["input-background-color","#eeefee"],["input-text-color","black"]],[["navbar-text-color","white"],["menu-background-color","black"],["menu-background-color-hover","#333"],["background-color","#222"],["text-color","#eee"],["button-background-color","white"],["button-text-color","black"],["sound-bubble-text-color","black"],["sound-bubble-dark","gainsboro"],["input-background-color","#111"],["input-text-color","gainsboro"]]],this.currentTheme=parseInt(localStorage.getItem("currentTheme"))||0,this.setTheme(this.currentTheme)}return t.prototype.toggleDarkMode=function(){console.log("togglein dark mode"),this.setTheme(0===this.currentTheme?1:0)},t.prototype.setTheme=function(t){var e=this,n=this.themes[t];this.currentTheme=t,localStorage.setItem("currentTheme",t.toString()),n.forEach(function(t){e.root.style.setProperty("--"+t[0],t[1])})},t.ngInjectableDef=kt({factory:function(){return new t},token:t,providedIn:"root"}),t}(),ol=function(){return function(t,e){this.theme=t,this.title="holt-soundboard-pro",this.update=!1,e.available.subscribe(function(t){console.log("Update available")})}}(),il=new I(function(t){return t.complete()});function ul(t){return t?function(t){return new I(function(e){return t.schedule(function(){return e.complete()})})}(t):il}function al(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n,r,o=t[t.length-1];switch(z(o)?t.pop():o=void 0,t.length){case 0:return ul(o);case 1:return o?rt(t,o):(n=t[0],(r=new I(function(t){t.next(n),t.complete()}))._isScalar=!0,r.value=n,r);default:return rt(t,o)}}var sl=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}(U);function ll(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}ll.prototype=Object.create(Error.prototype);var cl=ll;function pl(){return lt(1)}function hl(t,e){return function(n){return n.lift(new fl(t,e))}}var fl=function(){function t(t,e){this.predicate=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new dl(t,this.predicate,this.thisArg))},t}(),dl=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}(x);function gl(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}gl.prototype=Object.create(Error.prototype);var vl=gl;function yl(t){return function(e){return 0===t?ul():e.lift(new ml(t))}}var ml=function(){function t(t){if(this.total=t,this.total<0)throw new vl}return t.prototype.call=function(t,e){return e.subscribe(new bl(t,this.total))},t}(),bl=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}(x);function wl(t,e,n){return function(r){return r.lift(new _l(t,e,n))}}var _l=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 Cl(t,this.nextOrObserver,this.error,this.complete))},t}(),Cl=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,f(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}(x),El=function(t){return void 0===t&&(t=Sl),wl({hasValue:!1,next:function(){this.hasValue=!0},complete:function(){if(!this.hasValue)throw t()}})};function Sl(){return new cl}function kl(t){return void 0===t&&(t=null),function(e){return e.lift(new Tl(t))}}var Tl=function(){function t(t){this.defaultValue=t}return t.prototype.call=function(t,e){return e.subscribe(new xl(t,this.defaultValue))},t}(),xl=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}(x);function Pl(t,e){var n=arguments.length>=2;return function(r){return r.pipe(t?hl(function(e,n){return t(e,n,r)}):st,yl(1),n?kl(e):El(function(){return new cl}))}}function Ol(t,e){return function(n){return n.lift(new Al(t,e,n))}}var Al=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 Rl(t,this.predicate,this.thisArg,this.source))},t}(),Rl=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}(x);function Ml(t){return function(e){var n=new Il(t),r=e.lift(n);return n.caught=r}}var Il=function(){function t(t){this.selector=t}return t.prototype.call=function(t,e){return e.subscribe(new Nl(t,this.selector,this.caught))},t}(),Nl=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 B(this,void 0,void 0);this.add(r),$(this,n,void 0,void 0,r)}},e}(X);function Dl(t){return function(e){return 0===t?ul():e.lift(new jl(t))}}var jl=function(){function t(t){if(this.total=t,this.total<0)throw new vl}return t.prototype.call=function(t,e){return e.subscribe(new Ll(t,this.total))},t}(),Ll=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}(x);function Hl(t,e){var n=arguments.length>=2;return function(r){return r.pipe(t?hl(function(e,n){return t(e,n,r)}):st,Dl(1),n?kl(e):El(function(){return new cl}))}}function Ul(t,e){return"function"==typeof e?function(n){return n.pipe(Ul(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 Fl(t))}}var Fl=function(){function t(t){this.project=t}return t.prototype.call=function(t,e){return e.subscribe(new zl(t,this.project))},t}(),zl=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 B(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 Bl(t,e){return it(t,e,1)}function Vl(t,e){var n=!1;return arguments.length>=2&&(n=!0),function(r){return r.lift(new Wl(t,e,n))}}var Wl=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 ql(t,this.accumulator,this.seed,this.hasSeed))},t}(),ql=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}(x),Gl=function(){function t(t){this.callback=t}return t.prototype.call=function(t,e){return e.subscribe(new Ql(t,this.callback))},t}(),Ql=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}(x),Zl=function(){return function(){}}(),Kl=new Pt("Location Initialized"),Yl=function(){return function(){}}(),Jl=new Pt("appBaseHref"),$l=function(){function t(t){var n=this;this._subject=new Hr,this._platformStrategy=t;var r=this._platformStrategy.getBaseHref();this._baseHref=e.stripTrailingSlash(Xl(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,Xl(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 Xl(t){return t.replace(/\/index.html$/,"")}var tc=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=$l.joinWithSlash(this._baseHref,t);return e.length>0?"#"+e:e},e.prototype.pushState=function(t,e,n,r){var o=this.prepareExternalUrl(n+$l.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+$l.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}(Yl),ec=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 $l.joinWithSlash(this._baseHref,t)},e.prototype.path=function(t){void 0===t&&(t=!1);var e=this._platformLocation.pathname+$l.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+$l.normalizeQueryParams(r));this._platformLocation.pushState(t,e,o)},e.prototype.replaceState=function(t,e,n,r){var o=this.prepareExternalUrl(n+$l.normalizeQueryParams(r));this._platformLocation.replaceState(t,e,o)},e.prototype.forward=function(){this._platformLocation.forward()},e.prototype.back=function(){this._platformLocation.back()},e}(Yl),nc=void 0,rc=["en",[["a","p"],["AM","PM"],nc],[["AM","PM"],nc,nc],[["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"]],nc,[["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"]],nc,[["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}",nc,"{1} 'at' {0}",nc],[".",",",";","%","+","-","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}],oc={},ic=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}({}),uc=new Pt("UseV4Plurals"),ac=function(){return function(){}}(),sc=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=oc[e];if(n)return n;var r=e.split("-")[0];if(n=oc[r])return n;if("en"===r)return rc;throw new Error('Missing locale data for the locale "'+t+'".')}(t)[18]}(e||this.locale)(t)){case ic.Zero:return"zero";case ic.One:return"one";case ic.Two:return"two";case ic.Few:return"few";case ic.Many:return"many";default:return"other"}},e}(ac);function lc(t,e){var n,r;e=encodeURIComponent(e);try{for(var o=s(t.split(";")),i=o.next();!i.done;i=o.next()){var u=i.value,a=u.indexOf("="),c=l(-1==a?[u,""]:[u.slice(0,a),u.slice(a+1)],2),p=c[1];if(c[0].trim()===e)return decodeURIComponent(p)}}catch(h){n={error:h}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return null}var cc=function(){function t(t,e,n,r){this.$implicit=t,this.ngForOf=e,this.index=n,this.count=r}return Object.defineProperty(t.prototype,"first",{get:function(){return 0===this.index},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"last",{get:function(){return this.index===this.count-1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"even",{get:function(){return this.index%2==0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"odd",{get:function(){return!this.even},enumerable:!0,configurable:!0}),t}(),pc=function(){function t(t,e,n){this._viewContainer=t,this._template=e,this._differs=n,this._ngForOfDirty=!0,this._differ=null}return Object.defineProperty(t.prototype,"ngForOf",{set:function(t){this._ngForOf=t,this._ngForOfDirty=!0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngForTrackBy",{get:function(){return this._trackByFn},set:function(t){Br()&&null!=t&&"function"!=typeof t&&console&&console.warn&&console.warn("trackBy must be a function, but received "+JSON.stringify(t)+". See https://angular.io/docs/ts/latest/api/common/index/NgFor-directive.html#!#change-propagation for more information."),this._trackByFn=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngForTemplate",{set:function(t){t&&(this._template=t)},enumerable:!0,configurable:!0}),t.prototype.ngDoCheck=function(){if(this._ngForOfDirty){this._ngForOfDirty=!1;var t=this._ngForOf;if(!this._differ&&t)try{this._differ=this._differs.find(t).create(this.ngForTrackBy)}catch(r){throw new Error("Cannot find a differ supporting object '"+t+"' of type '"+((e=t).name||typeof e)+"'. NgFor only supports binding to Iterables such as Arrays.")}}var e;if(this._differ){var n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}},t.prototype._applyChanges=function(t){var e=this,n=[];t.forEachOperation(function(t,r,o){if(null==t.previousIndex){var i=e._viewContainer.createEmbeddedView(e._template,new cc(null,e._ngForOf,-1,-1),o),u=new hc(t,i);n.push(u)}else null==o?e._viewContainer.remove(r):(i=e._viewContainer.get(r),e._viewContainer.move(i,o),u=new hc(t,i),n.push(u))});for(var r=0;r<n.length;r++)this._perViewChange(n[r].view,n[r].record);r=0;for(var o=this._viewContainer.length;r<o;r++){var i=this._viewContainer.get(r);i.context.index=r,i.context.count=o,i.context.ngForOf=this._ngForOf}t.forEachIdentityChange(function(t){e._viewContainer.get(t.currentIndex).context.$implicit=t.item})},t.prototype._perViewChange=function(t,e){t.context.$implicit=e.item},t.ngTemplateContextGuard=function(t,e){return!0},t}(),hc=function(){return function(t,e){this.record=t,this.view=e}}(),fc=function(){function t(t,e,n){this._differs=t,this._ngEl=e,this._renderer=n}return Object.defineProperty(t.prototype,"ngStyle",{set:function(t){this._ngStyle=t,!this._differ&&t&&(this._differ=this._differs.find(t).create())},enumerable:!0,configurable:!0}),t.prototype.ngDoCheck=function(){if(this._differ){var t=this._differ.diff(this._ngStyle);t&&this._applyChanges(t)}},t.prototype._applyChanges=function(t){var e=this;t.forEachRemovedItem(function(t){return e._setStyle(t.key,null)}),t.forEachAddedItem(function(t){return e._setStyle(t.key,t.currentValue)}),t.forEachChangedItem(function(t){return e._setStyle(t.key,t.currentValue)})},t.prototype._setStyle=function(t,e){var n=l(t.split("."),2),r=n[0],o=n[1];null!=(e=null!=e&&o?""+e+o:e)?this._renderer.setStyle(this._ngEl.nativeElement,r,e):this._renderer.removeStyle(this._ngEl.nativeElement,r)},t}(),dc=function(){return function(){}}(),gc=new Pt("DocumentToken"),vc="browser",yc="server";function mc(t){return t===vc}var bc=function(){function t(){}return t.ngInjectableDef=kt({providedIn:"root",factory:function(){return new wc(fe(gc),window)}}),t}(),wc=function(){function t(t,e){this.document=t,this.window=e,this.offset=function(){return[0,0]}}return t.prototype.setOffset=function(t){this.offset=Array.isArray(t)?function(){return t}:t},t.prototype.getScrollPosition=function(){return this.supportScrollRestoration()?[this.window.scrollX,this.window.scrollY]:[0,0]},t.prototype.scrollToPosition=function(t){this.supportScrollRestoration()&&this.window.scrollTo(t[0],t[1])},t.prototype.scrollToAnchor=function(t){if(this.supportScrollRestoration()){var e=this.document.querySelector("#"+t);if(e)return void this.scrollToElement(e);var n=this.document.querySelector("[name='"+t+"']");if(n)return void this.scrollToElement(n)}},t.prototype.setHistoryScrollRestoration=function(t){if(this.supportScrollRestoration()){var e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=t)}},t.prototype.scrollToElement=function(t){var e=t.getBoundingClientRect(),n=e.left+this.window.pageXOffset,r=e.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(n-o[0],r-o[1])},t.prototype.supportScrollRestoration=function(){try{return!!this.window&&!!this.window.scrollTo}catch(t){return!1}},t}(),_c=null;function Cc(){return _c}var Ec,Sc={class:"className",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"},kc={"\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"},Tc={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"};Nt.Node&&(Ec=Nt.Node.prototype.contains||function(t){return!!(16&this.compareDocumentPosition(t))});var xc,Pc=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,_c||(_c=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 Sc},enumerable:!0,configurable:!0}),e.prototype.contains=function(t,e){return Ec.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&&Tc.hasOwnProperty(e)&&(e=Tc[e]))}return kc[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=Oc||(Oc=document.querySelector("base"))?Oc.getAttribute("href"):null;return null==n?null:(e=n,xc||(xc=document.createElement("a")),xc.setAttribute("href",e),"/"===xc.pathname.charAt(0)?xc.pathname:"/"+xc.pathname)},e.prototype.resetBaseElement=function(){Oc=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 lc(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(u){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}())),Oc=null,Ac=gc;function Rc(){return!!window.history.pushState}var Mc=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=Cc().getLocation(),this._history=Cc().getHistory()},e.prototype.getBaseHrefFromDOM=function(){return Cc().getBaseHref(this._doc)},e.prototype.onPopState=function(t){Cc().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",t,!1)},e.prototype.onHashChange=function(t){Cc().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){Rc()?this._history.pushState(t,e,n):this.location.hash=n},e.prototype.replaceState=function(t,e,n){Rc()?this._history.replaceState(t,e,n):this.location.hash=n},e.prototype.forward=function(){this._history.forward()},e.prototype.back=function(){this._history.back()},u([(n=Vt(Ac),function(t,e){n(t,e,0)}),a("design:paramtypes",[Object])],e)}(Zl),Ic=new Pt("TRANSITION_ID"),Nc=[{provide:So,useFactory:function(t,e,n){return function(){n.get(ko).donePromise.then(function(){var n=Cc();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:[Ic,Ac,$t],multi:!0}],Dc=function(){function t(){}return t.init=function(){var e;e=new t,Xo=e},t.prototype.addToWindow=function(t){Nt.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},Nt.getAllAngularTestabilities=function(){return t.getAllTestabilities()},Nt.getAllAngularRootElements=function(){return t.getAllRootElements()},Nt.frameworkStabilizers||(Nt.frameworkStabilizers=[]),Nt.frameworkStabilizers.push(function(t){var e=Nt.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?Cc().isShadowRoot(e)?this.findTestabilityInTree(t,Cc().getHost(e),!0):this.findTestabilityInTree(t,Cc().parentElement(e),!0):null},t}();function jc(t,e){"undefined"!=typeof COMPILED&&COMPILED||((Nt.ng=Nt.ng||{})[t]=e)}var Lc={ApplicationRef:ui,NgZone:Vo};function Hc(t){return _i(t)}var Uc=new Pt("EventManagerPlugins"),Fc=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}(),zc=function(){function t(t){this._doc=t}return t.prototype.addGlobalEventListener=function(t,e,n){var r=Cc().getGlobalEventTarget(this._doc,t);if(!r)throw new Error("Unsupported event target "+r+" for event "+e);return this.addEventListener(r,e,n)},t}(),Bc=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}(),Vc=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 Cc().remove(t)})},e}(Bc),Wc={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/"},qc=/%COMP%/g,Gc="_nghost-%COMP%",Qc="_ngcontent-%COMP%";function Zc(t,e,n){for(var r=0;r<e.length;r++){var o=e[r];Array.isArray(o)?Zc(t,o,n):(o=o.replace(qc,t),n.push(o))}return n}function Kc(t){return function(e){!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}var Yc=function(){function t(t,e){this.eventManager=t,this.sharedStylesHost=e,this.rendererByCompId=new Map,this.defaultRenderer=new Jc(t)}return t.prototype.createRenderer=function(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case ge.Emulated:var n=this.rendererByCompId.get(e.id);return n||(n=new ep(this.eventManager,this.sharedStylesHost,e),this.rendererByCompId.set(e.id,n)),n.applyToHost(t),n;case ge.Native:case ge.ShadowDom:return new np(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){var r=Zc(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}(),Jc=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(Wc[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=Wc[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=Wc[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&vr.DashCase?t.style.setProperty(e,n,r&vr.Important?"important":""):t.style[e]=n},t.prototype.removeStyle=function(t,e,n){n&vr.DashCase?t.style.removeProperty(e):t.style[e]=""},t.prototype.setProperty=function(t,e,n){Xc(e,"property"),t[e]=n},t.prototype.setValue=function(t,e){t.nodeValue=e},t.prototype.listen=function(t,e,n){return Xc(e,"listener"),"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,Kc(n)):this.eventManager.addEventListener(t,e,Kc(n))},t}(),$c="@".charCodeAt(0);function Xc(t,e){if(t.charCodeAt(0)===$c)throw new Error("Found the synthetic "+e+" "+t+'. Please include either "BrowserAnimationsModule" or "NoopAnimationsModule" in your application.')}var tp,ep=function(t){function e(e,n,r){var o=t.call(this,e)||this;o.component=r;var i=Zc(r.id,r.styles,[]);return n.addStyles(i),o.contentAttr=Qc.replace(qc,r.id),o.hostAttr=Gc.replace(qc,r.id),o}return o(e,t),e.prototype.applyToHost=function(e){t.prototype.setAttribute.call(this,e,this.hostAttr,"")},e.prototype.createElement=function(e,n){var r=t.prototype.createElement.call(this,e,n);return t.prototype.setAttribute.call(this,r,this.contentAttr,""),r},e}(Jc),np=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===ge.ShadowDom?r.attachShadow({mode:"open"}):r.createShadowRoot(),i.sharedStylesHost.addHost(i.shadowRoot);for(var u=Zc(o.id,o.styles,[]),a=0;a<u.length;a++){var s=document.createElement("style");s.textContent=u[a],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}(Jc),rp="undefined"!=typeof Zone&&Zone.__symbol__||function(t){return"__zone_symbol__"+t},op=rp("addEventListener"),ip=rp("removeEventListener"),up={},ap="__zone_symbol__propagationStopped";"undefined"!=typeof Zone&&Zone[rp("BLACK_LISTED_EVENTS")]&&(tp={});var sp=function(t){return!!tp&&tp.hasOwnProperty(t)},lp=function(t){var e=up[t.type];if(e){var n=this[e];if(n){var r=[t];if(1===n.length)return(u=n[0]).zone!==Zone.current?u.zone.run(u.handler,this,r):u.handler.apply(this,r);for(var o=n.slice(),i=0;i<o.length&&!0!==t[ap];i++){var u;(u=o[i]).zone!==Zone.current?u.zone.run(u.handler,this,r):u.handler.apply(this,r)}}}},cp=function(t){function e(e,n,r){var o=t.call(this,e)||this;return o.ngZone=n,r&&function(t){return t===yc}(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[ap]=!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[op]||Vo.isInAngularZone()&&!sp(e))t.addEventListener(e,o,!1);else{var i=up[e];i||(i=up[e]=rp("ANGULAR"+e+"FALSE"));var u=t[i],a=u&&u.length>0;u||(u=t[i]=[]);var s=sp(e)?Zone.root:Zone.current;if(0===u.length)u.push({zone:s,handler:o});else{for(var l=!1,c=0;c<u.length;c++)if(u[c].handler===o){l=!0;break}l||u.push({zone:s,handler:o})}a||t[op](e,lp,!1)}return function(){return r.removeEventListener(t,e,o)}},e.prototype.removeEventListener=function(t,e,n){var r=t[ip];if(!r)return t.removeEventListener.apply(t,[e,n,!1]);var o=up[e],i=o&&t[o];if(!i)return t.removeEventListener.apply(t,[e,n,!1]);for(var u=!1,a=0;a<i.length;a++)if(i[a].handler===n){u=!0,i.splice(a,1);break}u?0===i.length&&r.apply(t,[e,lp,!1]):t.removeEventListener.apply(t,[e,n,!1])},e}(zc),pp={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},hp=new Pt("HammerGestureConfig"),fp=new Pt("HammerLoader"),dp=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}(),gp=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!(!pp.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,u=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(u=function(){});i||(u=r.addEventListener(t,e,n))}).catch(function(){r.console.warn('The "'+e+'" event cannot be bound because the custom Hammer.JS loader failed.'),u=function(){}}),function(){u()}}return o.runOutsideAngular(function(){var i=r._config.buildHammer(t),u=function(t){o.runGuarded(function(){n(t)})};return i.on(e,u),function(){i.off(e,u),"function"==typeof i.destroy&&i.destroy()}})},e.prototype.isCustomEvent=function(t){return this._config.events.indexOf(t)>-1},e}(zc),vp=["alt","control","meta","shift"],yp={alt:function(t){return t.altKey},control:function(t){return t.ctrlKey},meta:function(t){return t.metaKey},shift:function(t){return t.shiftKey}},mp=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 Cc().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(vp.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 u={};return u.domEventName=r,u.fullKey=i,u},e.getEventFullKey=function(t){var e="",n=Cc().getEventKey(t);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),vp.forEach(function(r){r!=n&&(0,yp[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}(zc),bp=function(){return function(){}}(),wp=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 lo.NONE:return e;case lo.HTML:return e instanceof Cp?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"HTML"),function(t,e){var n=null;try{Kr=Kr||new Vr(t);var r=e?String(e):"";n=Kr.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=Kr.getInertBodyElement(r)}while(r!==i);var u=new oo,a=u.sanitizeChildren(so(n)||n);return Br()&&u.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content (see http://g.co/ng/security#xss)."),a}finally{if(n)for(var s=so(n)||n;s.firstChild;)s.removeChild(s.firstChild)}}(this._doc,String(e)));case lo.STYLE:return e instanceof Ep?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"Style"),function(t){if(!(t=String(t).trim()))return"";var e=t.match(ho);return e&&Gr(e[1])===e[1]||t.match(po)&&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:(Br()&&console.warn("WARNING: sanitizing unsafe style value "+t+" (see http://g.co/ng/security#xss)."),"unsafe")}(e));case lo.SCRIPT:if(e instanceof Sp)return e.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(e,"Script"),new Error("unsafe value used in a script context");case lo.URL:return e instanceof Tp||e instanceof kp?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"URL"),Gr(String(e)));case lo.RESOURCE_URL:if(e instanceof Tp)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 _p)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 Cp(t)},e.prototype.bypassSecurityTrustStyle=function(t){return new Ep(t)},e.prototype.bypassSecurityTrustScript=function(t){return new Sp(t)},e.prototype.bypassSecurityTrustUrl=function(t){return new kp(t)},e.prototype.bypassSecurityTrustResourceUrl=function(t){return new Tp(t)},e}(bp),_p=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}(),Cp=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getTypeName=function(){return"HTML"},e}(_p),Ep=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getTypeName=function(){return"Style"},e}(_p),Sp=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getTypeName=function(){return"Script"},e}(_p),kp=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getTypeName=function(){return"URL"},e}(_p),Tp=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getTypeName=function(){return"ResourceURL"},e}(_p),xp=ni(Hi,"browser",[{provide:Ao,useValue:vc},{provide:Oo,useValue:function(){Pc.makeCurrent(),Dc.init()},multi:!0},{provide:Zl,useClass:Mc,deps:[Ac]},{provide:Ac,useFactory:function(){return document},deps:[]}]);function Pp(){return new _o}var Op=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:To,useValue:t.appId},{provide:Ic,useExisting:To},Nc]}},t}();"undefined"!=typeof window&&window;var Ap=function(){return function(t,e){this.id=t,this.url=e}}(),Rp=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}(Ap),Mp=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}(Ap),Ip=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}(Ap),Np=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}(Ap),Dp=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}(Ap),jp=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}(Ap),Lp=function(t){function e(e,n,r,o,i){var u=t.call(this,e,n)||this;return u.urlAfterRedirects=r,u.state=o,u.shouldActivate=i,u}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}(Ap),Hp=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}(Ap),Up=function(t){function e(e,n,r,o){var i=t.call(this,e,n)||this;return i.urlAfterRedirects=r,i.state=o,i}return o(e,t),e.prototype.toString=function(){return"ResolveEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(Ap),Fp=function(){function t(t){this.route=t}return t.prototype.toString=function(){return"RouteConfigLoadStart(path: "+this.route.path+")"},t}(),zp=function(){function t(t){this.route=t}return t.prototype.toString=function(){return"RouteConfigLoadEnd(path: "+this.route.path+")"},t}(),Bp=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ChildActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),Vp=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ChildActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),Wp=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),qp=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),Gp=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}(),Qp=function(){return function(){}}(),Zp="primary",Kp=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 Yp(t){return new Kp(t)}function Jp(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 u=r[i],a=t[i];if(u.startsWith(":"))o[u.substring(1)]=a;else if(u!==a.path)return null}return{consumed:t.slice(0,r.length),posParams:o}}var $p=function(){return function(t,e){this.routes=t,this.module=e}}();function Xp(t,e){void 0===e&&(e="");for(var n=0;n<t.length;n++){var r=t[n];th(r,eh(e,r))}}function th(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!==Zp)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&&Xp(t.children,e)}function eh(t,e){return e?t||e.path?t&&!e.path?t+"/":!t&&e.path?e.path:t+"/"+e.path:"":t}function nh(t){var e=t.children&&t.children.map(nh),n=e?i({},t,{children:e}):i({},t);return!n.component&&(e||n.loadChildren)&&n.outlet&&n.outlet!==Zp&&(n.component=Qp),n}function rh(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 oh(t){return Array.prototype.concat.apply([],t)}function ih(t){return t.length>0?t[t.length-1]:null}function uh(t,e){for(var n in t)t.hasOwnProperty(n)&&e(t[n],n)}function ah(t){return t.pipe(lt(),Ol(function(t){return!0===t}))}function sh(t){return Eo(t)?t:Co(t)?ot(Promise.resolve(t)):al(t)}function lh(t,e,n){return n?function(t,e){return rh(t,e)}(t.queryParams,e.queryParams)&&function t(e,n){if(!fh(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!!fh(u=n.segments.slice(0,o.length),o)&&!r.hasChildren();if(n.segments.length===o.length){if(!fh(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 u=o.slice(0,n.segments.length),a=o.slice(n.segments.length);return!!fh(n.segments,u)&&!!n.children[Zp]&&e(n.children[Zp],r,a)}(e,n,n.segments)}(t.root,e.root)}var ch=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=Yp(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return yh.serialize(this)},t}(),ph=function(){function t(t,e){var n=this;this.segments=t,this.children=e,this.parent=null,uh(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 mh(this)},t}(),hh=function(){function t(t,e){this.path=t,this.parameters=e}return Object.defineProperty(t.prototype,"parameterMap",{get:function(){return this._parameterMap||(this._parameterMap=Yp(this.parameters)),this._parameterMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return Sh(this)},t}();function fh(t,e){return t.length===e.length&&t.every(function(t,n){return t.path===e[n].path})}function dh(t,e){var n=[];return uh(t.children,function(t,r){r===Zp&&(n=n.concat(e(t,r)))}),uh(t.children,function(t,r){r!==Zp&&(n=n.concat(e(t,r)))}),n}var gh=function(){return function(){}}(),vh=function(){function t(){}return t.prototype.parse=function(t){var e=new Oh(t);return new ch(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())},t.prototype.serialize=function(t){var e,n;return"/"+function t(e,n){if(!e.hasChildren())return mh(e);if(n){var r=e.children[Zp]?t(e.children[Zp],!1):"",o=[];return uh(e.children,function(e,n){n!==Zp&&o.push(n+":"+t(e,!1))}),o.length>0?r+"("+o.join("//")+")":r}var i=dh(e,function(n,r){return r===Zp?[t(e.children[Zp],!1)]:[r+":"+t(n,!1)]});return mh(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 wh(t)+"="+wh(e)}).join("&"):wh(t)+"="+wh(n)})).length?"?"+n.join("&"):"")+("string"==typeof t.fragment?"#"+encodeURI(t.fragment):"")},t}(),yh=new vh;function mh(t){return t.segments.map(function(t){return Sh(t)}).join("/")}function bh(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function wh(t){return bh(t).replace(/%3B/gi,";")}function _h(t){return bh(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ch(t){return decodeURIComponent(t)}function Eh(t){return Ch(t.replace(/\+/g,"%20"))}function Sh(t){return""+_h(t.path)+(e=t.parameters,Object.keys(e).map(function(t){return";"+_h(t)+"="+_h(e[t])}).join(""));var e}var kh=/^[^\/()?;=#]+/;function Th(t){var e=t.match(kh);return e?e[0]:""}var xh=/^[^=?&#]+/,Ph=/^[^?&#]+/,Oh=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 ph([],{}):new ph([],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[Zp]=new ph(t,e)),n},t.prototype.parseSegment=function(){var t=Th(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '"+this.remaining+"'.");return this.capture(t),new hh(Ch(t),this.parseMatrixParams())},t.prototype.parseMatrixParams=function(){for(var t={};this.consumeOptional(";");)this.parseParam(t);return t},t.prototype.parseParam=function(t){var e=Th(this.remaining);if(e){this.capture(e);var n="";if(this.consumeOptional("=")){var r=Th(this.remaining);r&&this.capture(n=r)}t[Ch(e)]=Ch(n)}},t.prototype.parseQueryParam=function(t){var e,n=(e=this.remaining.match(xh))?e[0]:"";if(n){this.capture(n);var r="";if(this.consumeOptional("=")){var o=function(t){var e=t.match(Ph);return e?e[0]:""}(this.remaining);o&&this.capture(r=o)}var i=Eh(n),u=Eh(r);if(t.hasOwnProperty(i)){var a=t[i];Array.isArray(a)||(t[i]=a=[a]),a.push(u)}else t[i]=u}},t.prototype.parseParens=function(t){var e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var n=Th(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=Zp);var i=this.parseChildren();e[o]=1===Object.keys(i).length?i[Zp]:new ph([],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}(),Ah=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=Rh(t,this._root);return e?e.children.map(function(t){return t.value}):[]},t.prototype.firstChild=function(t){var e=Rh(t,this._root);return e&&e.children.length>0?e.children[0].value:null},t.prototype.siblings=function(t){var e=Mh(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 Mh(t,this._root).map(function(t){return t.value})},t}();function Rh(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 u=Rh(t,i.value);if(u)return u}}catch(a){n={error:a}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return null}function Mh(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 u=Mh(t,i.value);if(u.length)return u.unshift(e),u}}catch(a){n={error:a}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return[]}var Ih=function(){function t(t,e){this.value=t,this.children=e}return t.prototype.toString=function(){return"TreeNode("+this.value+")"},t}();function Nh(t){var e={};return t&&t.children.forEach(function(t){return e[t.value.outlet]=t}),e}var Dh=function(t){function e(e,n){var r=t.call(this,e)||this;return r.snapshot=n,zh(r,e),r}return o(e,t),e.prototype.toString=function(){return this.snapshot.toString()},e}(Ah);function jh(t,e){var n=function(t,e){var n=new Uh([],{},{},"",{},Zp,e,null,t.root,-1,{});return new Fh("",new Ih(n,[]))}(t,e),r=new sl([new hh("",{})]),o=new sl({}),i=new sl({}),u=new sl({}),a=new sl(""),s=new Lh(r,o,u,a,i,Zp,e,n.root);return s.snapshot=n.root,new Dh(new Ih(s,[]),n)}var Lh=function(){function t(t,e,n,r,o,i,u,a){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=o,this.outlet=i,this.component=u,this._futureSnapshot=a}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 Yp(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 Yp(t)}))),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return this.snapshot?this.snapshot.toString():"Future("+this._futureSnapshot+")"},t}();function Hh(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],u=n[r-1];if(o.routeConfig&&""===o.routeConfig.path)r--;else{if(u.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 Uh=function(){function t(t,e,n,r,o,i,u,a,s,l,c){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=o,this.outlet=i,this.component=u,this.routeConfig=a,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=Yp(this.params)),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=Yp(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}(),Fh=function(t){function e(e,n){var r=t.call(this,n)||this;return r.url=e,zh(r,n),r}return o(e,t),e.prototype.toString=function(){return Bh(this._root)},e}(Ah);function zh(t,e){e.value._routerState=t,e.children.forEach(function(e){return zh(t,e)})}function Bh(t){var e=t.children.length>0?" { "+t.children.map(Bh).join(", ")+" } ":"";return""+t.value+e}function Vh(t){if(t.snapshot){var e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,rh(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),rh(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(!rh(t[n],e[n]))return!1;return!0}(e.url,n.url)||t.url.next(n.url),rh(e.data,n.data)||t.data.next(n.data)}else t.snapshot=t._futureSnapshot,t.data.next(t._futureSnapshot.data)}function Wh(t,e){var n,r;return rh(t.params,e.params)&&fh(n=t.url,r=e.url)&&n.every(function(t,e){return rh(t.parameters,r[e].parameters)})&&!(!t.parent!=!e.parent)&&(!t.parent||Wh(t.parent,e.parent))}function qh(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function Gh(t,e,n,r,o){var i={};return r&&uh(r,function(t,e){i[e]=Array.isArray(t)?t.map(function(t){return""+t}):""+t}),new ch(n.root===t?e:function t(e,n,r){var o={};return uh(e.children,function(e,i){o[i]=e===n?r:t(e,n,r)}),new ph(e.segments,o)}(n.root,t,e),i,o)}var Qh=function(){function t(t,e,n){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=n,t&&n.length>0&&qh(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!==ih(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}(),Zh=function(){return function(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n}}();function Kh(t){return"object"==typeof t&&null!=t&&t.outlets?t.outlets[Zp]:""+t}function Yh(t,e,n){if(t||(t=new ph([],{})),0===t.segments.length&&t.hasChildren())return Jh(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 u=t.segments[o],a=Kh(n[r]),s=r<n.length-1?n[r+1]:null;if(o>0&&void 0===a)break;if(a&&s&&"object"==typeof s&&void 0===s.outlets){if(!ef(a,s,u))return i;r+=2}else{if(!ef(a,{},u))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 ph(t.segments.slice(0,r.pathIndex),{});return i.children[Zp]=new ph(t.segments.slice(r.pathIndex),t.children),Jh(i,0,o)}return r.match&&0===o.length?new ph(t.segments,{}):r.match&&!t.hasChildren()?$h(t,e,n):r.match?Jh(t,0,o):$h(t,e,n)}function Jh(t,e,n){if(0===n.length)return new ph(t.segments,{});var r=function(t){var e,n;return"object"!=typeof t[0]?((e={})[Zp]=t,e):void 0===t[0].outlets?((n={})[Zp]=t,n):t[0].outlets}(n),o={};return uh(r,function(n,r){null!==n&&(o[r]=Yh(t.children[r],e,n))}),uh(t.children,function(t,e){void 0===r[e]&&(o[e]=t)}),new ph(t.segments,o)}function $h(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=Xh(n[o].outlets);return new ph(r,i)}if(0===o&&qh(n[0]))r.push(new hh(t.segments[e].path,n[0])),o++;else{var u=Kh(n[o]),a=o<n.length-1?n[o+1]:null;u&&a&&qh(a)?(r.push(new hh(u,tf(a))),o+=2):(r.push(new hh(u,{})),o++)}}return new ph(r,{})}function Xh(t){var e={};return uh(t,function(t,n){null!==t&&(e[n]=$h(new ph([],{}),0,t))}),e}function tf(t){var e={};return uh(t,function(t,n){return e[n]=""+t}),e}function ef(t,e,n){return t==n.path&&rh(e,n.parameters)}var nf=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),Vh(this.futureState.root),this.activateChildRoutes(e,n,t)},t.prototype.deactivateChildRoutes=function(t,e,n){var r=this,o=Nh(e);t.children.forEach(function(t){var e=t.value.outlet;r.deactivateRoutes(t,o[e],n),delete o[e]}),uh(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=Nh(t),i=t.value.component?r.children:e;uh(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=Nh(e);t.children.forEach(function(t){r.activateRoutes(t,o[t.value.outlet],n),r.forwardEvent(new qp(t.value.snapshot))}),t.children.length&&this.forwardEvent(new Vp(t.value.snapshot))},t.prototype.activateRoutes=function(t,e,n){var r=t.value,o=e?e.value:null;if(Vh(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 u=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),i.children.onOutletReAttached(u.contexts),i.attachRef=u.componentRef,i.route=u.route.value,i.outlet&&i.outlet.attach(u.componentRef,u.route.value),rf(u.route)}else{var a=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=a?a.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 rf(t){Vh(t.value),t.children.forEach(rf)}var of=function(){return function(t){this.segmentGroup=t||null}}(),uf=function(){return function(t){this.urlTree=t}}();function af(t){return new I(function(e){return e.error(new of(t))})}function sf(t){return new I(function(e){return e.error(new uf(t))})}function lf(t){return new I(function(e){return e.error(new Error("Only absolute redirects can have named outlets. redirectTo: '"+t+"'"))})}var cf=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(or)}return t.prototype.apply=function(){var t=this;return this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,Zp).pipe(tt(function(e){return t.createUrlTree(e,t.urlTree.queryParams,t.urlTree.fragment)})).pipe(Ml(function(e){if(e instanceof uf)return t.allowRedirects=!1,t.match(e.urlTree);if(e instanceof of)throw t.noMatchError(e);throw e}))},t.prototype.match=function(t){var e=this;return this.expandSegmentGroup(this.ngModule,this.config,t.root,Zp).pipe(tt(function(n){return e.createUrlTree(n,t.queryParams,t.fragment)})).pipe(Ml(function(t){if(t instanceof of)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 ph([],((r={})[Zp]=t,r)):t;return new ch(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 ph([],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 al({});var i=[],u=[],a={};return uh(n,function(n,o){var s,l,c=(s=o,l=n,r.expandSegmentGroup(t,e,l,s)).pipe(tt(function(t){return a[o]=t}));o===Zp?i.push(c):u.push(c)}),al.apply(null,i.concat(u)).pipe(pl(),Pl(),tt(function(){return a}))}(n.children)},t.prototype.expandSegment=function(t,e,n,r,o,i){var u=this;return al.apply(void 0,c(n)).pipe(tt(function(a){return u.expandSegmentAgainstRoute(t,e,n,a,r,o,i).pipe(Ml(function(t){if(t instanceof of)return al(null);throw t}))}),pl(),Hl(function(t){return!!t}),Ml(function(t,n){if(t instanceof cl||"EmptyError"===t.name){if(u.noLeftoversInUrl(e,r,o))return al(new ph([],{}));throw new of(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,u){return df(r)!==i?af(e):void 0===r.redirectTo?this.matchSegmentAgainstRoute(t,e,r,o):u&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,r,o,i):af(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("/")?sf(i):this.lineralizeSegments(n,i).pipe(it(function(n){var i=new ph(n,{});return o.expandSegment(t,i,e,n,r,!1)}))},t.prototype.expandRegularSegmentAgainstRouteUsingRedirect=function(t,e,n,r,o,i){var u=this,a=pf(e,r,o),s=a.consumedSegments,l=a.lastChild,c=a.positionalParamSegments;if(!a.matched)return af(e);var p=this.applyRedirectCommands(s,r.redirectTo,c);return r.redirectTo.startsWith("/")?sf(p):this.lineralizeSegments(r,p).pipe(it(function(r){return u.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 ph(r,{})})):al(new ph(r,{}));var u=pf(e,n,r),a=u.consumedSegments,l=u.lastChild;if(!u.matched)return af(e);var c=r.slice(l);return this.getChildConfig(t,n,r).pipe(it(function(t){var n=t.module,r=t.routes,u=function(t,e,n,r){return n.length>0&&function(t,e,n){return r.some(function(n){return ff(t,e,n)&&df(n)!==Zp})}(t,n)?{segmentGroup:hf(new ph(e,function(t,e){var n,r,o={};o[Zp]=e;try{for(var i=s(t),u=i.next();!u.done;u=i.next()){var a=u.value;""===a.path&&df(a)!==Zp&&(o[df(a)]=new ph([],{}))}}catch(l){n={error:l}}finally{try{u&&!u.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return o}(r,new ph(n,t.children)))),slicedSegments:[]}:0===n.length&&function(t,e,n){return r.some(function(n){return ff(t,e,n)})}(t,n)?{segmentGroup:hf(new ph(t.segments,function(t,e,n,r){var o,u,a={};try{for(var l=s(n),c=l.next();!c.done;c=l.next()){var p=c.value;ff(t,e,p)&&!r[df(p)]&&(a[df(p)]=new ph([],{}))}}catch(h){o={error:h}}finally{try{c&&!c.done&&(u=l.return)&&u.call(l)}finally{if(o)throw o.error}}return i({},r,a)}(t,n,r,t.children))),slicedSegments:n}:{segmentGroup:t,slicedSegments:n}}(e,a,c,r),l=u.segmentGroup,p=u.slicedSegments;return 0===p.length&&l.hasChildren()?o.expandChildren(n,r,l).pipe(tt(function(t){return new ph(a,t)})):0===r.length&&0===p.length?al(new ph(a,{})):o.expandSegment(n,l,r,p,Zp,!0).pipe(tt(function(t){return new ph(a.concat(t.segments),t.children)}))}))},t.prototype.getChildConfig=function(t,e,n){var r=this;return e.children?al(new $p(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?al(e._loadedConfig):function(t,e,n){var r=e.canLoad;return r&&0!==r.length?ah(ot(r).pipe(tt(function(r){var o=t.get(r);return sh(o.canLoad?o.canLoad(e,n):o(e,n))}))):al(!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 I(function(e){return e.error(((n=Error("NavigationCancelingError: Cannot load children because the guard of the route \"path: '"+t.path+"'\" returned false")).ngNavigationCancelingError=!0,n));var n})}(e)})):al(new $p([],t))},t.prototype.lineralizeSegments=function(t,e){for(var n=[],r=e.root;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return al(n);if(r.numberOfChildren>1||!r.children[Zp])return lf(t.redirectTo);r=r.children[Zp]}},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 ch(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)},t.prototype.createQueryParams=function(t,e){var n={};return uh(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),u={};return uh(e.children,function(e,i){u[i]=o.createSegmentGroup(t,e,n,r)}),new ph(i,u)},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),u=i.next();!u.done;u=i.next()){var a=u.value;if(a.path===t.path)return e.splice(o),a;o++}}catch(l){n={error:l}}finally{try{u&&!u.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return t},t}();function pf(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||Jp)(n,t,e);return r?{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,positionalParamSegments:r.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function hf(t){if(1===t.numberOfChildren&&t.children[Zp]){var e=t.children[Zp];return new ph(t.segments.concat(e.segments),e.children)}return t}function ff(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0!==n.redirectTo}function df(t){return t.outlet||Zp}var gf=function(){return function(t){this.path=t,this.route=this.path[this.path.length-1]}}(),vf=function(){return function(t,e){this.component=t,this.route=e}}();function yf(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 mf(t,e,n,r,o){void 0===o&&(o={canDeactivateChecks:[],canActivateChecks:[]});var i=Nh(e);return t.children.forEach(function(t){!function(t,e,n,r,o){void 0===o&&(o={canDeactivateChecks:[],canActivateChecks:[]});var i=t.value,u=e?e.value:null,a=n?n.getContext(t.value.outlet):null;if(u&&i.routeConfig===u.routeConfig){var s=function(t,e,n){switch(n){case"always":return!0;case"paramsOrQueryParamsChange":return!Wh(t,e)||!rh(t.queryParams,e.queryParams);case"paramsChange":default:return!Wh(t,e)}}(u,i,i.routeConfig.runGuardsAndResolvers);s?o.canActivateChecks.push(new gf(r)):(i.data=u.data,i._resolvedData=u._resolvedData),mf(t,e,i.component?a?a.children:null:n,r,o),s&&o.canDeactivateChecks.push(new vf(a&&a.outlet&&a.outlet.component||null,u))}else u&&bf(e,a,o),o.canActivateChecks.push(new gf(r)),mf(t,null,i.component?a?a.children:null:n,r,o)}(t,i[t.value.outlet],n,r.concat([t.value]),o),delete i[t.value.outlet]}),uh(i,function(t,e){return bf(t,n.getContext(e),o)}),o}function bf(t,e,n){var r=Nh(t),o=t.value;uh(r,function(t,r){bf(t,o.component?e?e.children.getContext(r):null:e,n)}),n.canDeactivateChecks.push(new vf(o.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,o))}function wf(t,e){return null!==t&&e&&e(new Wp(t)),al(!0)}function _f(t,e){return null!==t&&e&&e(new Bp(t)),al(!0)}function Cf(t,e,n){var r=e.routeConfig?e.routeConfig.canActivate:null;return r&&0!==r.length?ah(ot(r).pipe(tt(function(r){var o=yf(r,e,n);return sh(o.canActivate?o.canActivate(e,t):o(e,t)).pipe(Hl())}))):al(!0)}function Ef(t,e,n){var r=e[e.length-1];return ah(ot(e.slice(0,e.length-1).reverse().map(function(t){return function(t){var e=t.routeConfig?t.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:t,guards:e}:null}(t)}).filter(function(t){return null!==t})).pipe(tt(function(e){return ah(ot(e.guards).pipe(tt(function(o){var i=yf(o,e.node,n);return sh(i.canActivateChild?i.canActivateChild(r,t):i(r,t)).pipe(Hl())})))})))}var Sf=function(){return function(){}}(),kf=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=Pf(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,Zp),n=new Uh([],Object.freeze({}),Object.freeze(i({},this.urlTree.queryParams)),this.urlTree.fragment,{},Zp,this.rootComponentType,null,this.urlTree.root,-1,{}),r=new Ih(n,e),o=new Fh(this.url,r);return this.inheritParamsAndData(o._root),al(o)}catch(u){return new I(function(t){return t.error(u)})}},t.prototype.inheritParamsAndData=function(t){var e=this,n=t.value,r=Hh(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=dh(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===Zp?-1:e.value.outlet===Zp?1:t.value.outlet.localeCompare(e.value.outlet)}),o},t.prototype.processSegment=function(t,e,n,r){var o,i;try{for(var u=s(t),a=u.next();!a.done;a=u.next()){var l=a.value;try{return this.processSegmentAgainstRoute(l,e,n,r)}catch(c){if(!(c instanceof Sf))throw c}}}catch(p){o={error:p}}finally{try{a&&!a.done&&(i=u.return)&&i.call(u)}finally{if(o)throw o.error}}if(this.noLeftoversInUrl(e,n,r))return[];throw new Sf},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 Sf;if((t.outlet||Zp)!==r)throw new Sf;var o,u=[],a=[];if("**"===t.path){var s=n.length>0?ih(n).parameters:{};o=new Uh(n,s,Object.freeze(i({},this.urlTree.queryParams)),this.urlTree.fragment,Rf(t),r,t.component,t,Tf(e),xf(e)+n.length,Mf(t))}else{var l=function(t,e,n){if(""===e.path){if("full"===e.pathMatch&&(t.hasChildren()||n.length>0))throw new Sf;return{consumedSegments:[],lastChild:0,parameters:{}}}var r=(e.matcher||Jp)(n,t,e);if(!r)throw new Sf;var o={};uh(r.posParams,function(t,e){o[e]=t.path});var u=r.consumed.length>0?i({},o,r.consumed[r.consumed.length-1].parameters):o;return{consumedSegments:r.consumed,lastChild:r.consumed.length,parameters:u}}(e,t,n);u=l.consumedSegments,a=n.slice(l.lastChild),o=new Uh(u,l.parameters,Object.freeze(i({},this.urlTree.queryParams)),this.urlTree.fragment,Rf(t),r,t.component,t,Tf(e),xf(e)+u.length,Mf(t))}var c=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),p=Pf(e,u,a,c,this.relativeLinkResolution),h=p.segmentGroup,f=p.slicedSegments;if(0===f.length&&h.hasChildren()){var d=this.processChildren(c,h);return[new Ih(o,d)]}if(0===c.length&&0===f.length)return[new Ih(o,[])];var g=this.processSegment(c,h,f,Zp);return[new Ih(o,g)]},t}();function Tf(t){for(var e=t;e._sourceSegment;)e=e._sourceSegment;return e}function xf(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 Pf(t,e,n,r,o){if(n.length>0&&function(t,e,n){return r.some(function(n){return Of(t,e,n)&&Af(n)!==Zp})}(t,n)){var u=new ph(e,function(t,e,n,r){var o,i,u={};u[Zp]=r,r._sourceSegment=t,r._segmentIndexShift=e.length;try{for(var a=s(n),l=a.next();!l.done;l=a.next()){var c=l.value;if(""===c.path&&Af(c)!==Zp){var p=new ph([],{});p._sourceSegment=t,p._segmentIndexShift=e.length,u[Af(c)]=p}}}catch(h){o={error:h}}finally{try{l&&!l.done&&(i=a.return)&&i.call(a)}finally{if(o)throw o.error}}return u}(t,e,r,new ph(n,t.children)));return u._sourceSegment=t,u._segmentIndexShift=e.length,{segmentGroup:u,slicedSegments:[]}}if(0===n.length&&function(t,e,n){return r.some(function(n){return Of(t,e,n)})}(t,n)){var a=new ph(t.segments,function(t,e,n,r,o,u){var a,l,c={};try{for(var p=s(r),h=p.next();!h.done;h=p.next()){var f=h.value;if(Of(t,n,f)&&!o[Af(f)]){var d=new ph([],{});d._sourceSegment=t,d._segmentIndexShift="legacy"===u?t.segments.length:e.length,c[Af(f)]=d}}}catch(g){a={error:g}}finally{try{h&&!h.done&&(l=p.return)&&l.call(p)}finally{if(a)throw a.error}}return i({},o,c)}(t,e,n,r,t.children,o));return a._sourceSegment=t,a._segmentIndexShift=e.length,{segmentGroup:a,slicedSegments:n}}var l=new ph(t.segments,t.children);return l._sourceSegment=t,l._segmentIndexShift=e.length,{segmentGroup:l,slicedSegments:n}}function Of(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0===n.redirectTo}function Af(t){return t.outlet||Zp}function Rf(t){return t.data||{}}function Mf(t){return t.resolve||{}}function If(t,e,n,r){var o=yf(t,e,r);return sh(o.resolve?o.resolve(e,n):o(e,n))}function Nf(t){return function(e){return e.pipe(Ul(function(e){var n=t(e);return n?ot(n).pipe(tt(function(){return e})):ot([e])}))}}var Df=function(){return function(){}}(),jf=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}(),Lf=new Pt("ROUTES"),Hf=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 $p(oh(o.injector.get(Lf)).map(nh),o)}))},t.prototype.loadModuleFactory=function(t){var e=this;return"string"==typeof t?ot(this.loader.load(t)):sh(t()).pipe(it(function(t){return t instanceof ir?al(t):ot(e.compiler.compileModuleAsync(t))}))},t}(),Uf=function(){return function(){}}(),Ff=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 zf(t){throw t}function Bf(t,e,n){return e.parse("/")}function Vf(t,e){return al(null)}var Wf=function(){function t(t,e,n,r,o,i,u,a){var s=this;this.rootComponentType=t,this.urlSerializer=e,this.rootContexts=n,this.location=r,this.config=a,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new U,this.errorHandler=zf,this.malformedUriErrorHandler=Bf,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Vf,afterPreactivation:Vf},this.urlHandlingStrategy=new Ff,this.routeReuseStrategy=new jf,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=o.get(or),this.console=o.get(Mo);var l=o.get(Vo);this.isNgZoneEnabled=l instanceof Vo,this.resetConfig(a),this.currentUrlTree=new ch(new ph([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.configLoader=new Hf(i,u,function(t){return s.triggerEvent(new Fp(t))},function(t){return s.triggerEvent(new zp(t))}),this.routerState=jh(this.currentUrlTree,this.rootComponentType),this.transitions=new sl({id:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",state:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}return t.prototype.setupNavigations=function(t){var e=this,n=this.events;return t.pipe(hl(function(t){return 0!==t.id}),tt(function(t){return i({},t,{extractedUrl:e.urlHandlingStrategy.extract(t.rawUrl)})}),Ul(function(t){var r,o,u,a,l=!1,c=!1;return al(t).pipe(Ul(function(t){var r,o,u,a,s=!e.navigated||t.extractedUrl.toString()!==e.currentUrlTree.toString();if(("reload"===e.onSameUrlNavigation||s)&&e.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return al(t).pipe(wl(function(t){return"eager"===e.urlUpdateStrategy&&!t.extras.skipLocationChange&&e.setBrowserUrl(t.rawUrl,!!t.extras.replaceUrl,t.id)}),Ul(function(t){var r=e.transitions.getValue();return n.next(new Rp(t.id,e.serializeUrl(t.extractedUrl),t.source,t.state)),r!==e.transitions.getValue()?il:[t]}),Ul(function(t){return Promise.resolve(t)}),(r=e.ngModule.injector,o=e.configLoader,u=e.urlSerializer,a=e.config,function(t){return t.pipe(Ul(function(t){return function(e,n,r,o,i){return new cf(e,n,r,t.extractedUrl,i).apply()}(r,o,u,0,a).pipe(tt(function(e){return i({},t,{urlAfterRedirects:e})}))}))}),function(t,n,r,o,u){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 kf(t,e,n,r,o,i).recognize()}(t,n,r.urlAfterRedirects,(a=r.urlAfterRedirects,e.serializeUrl(a)),o,u).pipe(tt(function(t){return i({},r,{targetSnapshot:t})}));var a}))}}(e.rootComponentType,e.config,0,e.paramsInheritanceStrategy,e.relativeLinkResolution),wl(function(t){var r=new Dp(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,p=t.state,h=t.extras,f=new Rp(t.id,e.serializeUrl(l),c,p);n.next(f);var d=jh(l,e.rootComponentType).snapshot;return al(i({},t,{targetSnapshot:d,urlAfterRedirects:l,extras:i({},h,{skipLocationChange:!1,replaceUrl:!1})}))}return e.rawUrlTree=t.rawUrl,t.resolve(null),il}),Nf(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})}),wl(function(t){var n=new jp(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,u=n._root,mf(u,r?r._root:null,o,[u.value]))});var n,r,o,u}),function(t,e){return function(n){return n.pipe(it(function(n){var r=n.targetSnapshot,o=n.currentSnapshot,u=n.guards,a=u.canActivateChecks,s=u.canDeactivateChecks;return 0===s.length&&0===a.length?al(i({},n,{guardsResult:!0})):function(t,e,n,r){return ot(s).pipe(it(function(t){return function(t,e,n,r,o){var i=e&&e.routeConfig?e.routeConfig.canDeactivate:null;return i&&0!==i.length?ot(i).pipe(it(function(i){var u=yf(i,e,o);return sh(u.canDeactivate?u.canDeactivate(t,e,n,r):u(t,e,n,r)).pipe(Hl())})).pipe(Ol(function(t){return!0===t})):al(!0)}(t.component,t.route,n,e,r)}),Ol(function(t){return!0===t}))}(0,r,o,t).pipe(it(function(n){return n?function(t,e,n,r){return ot(a).pipe(Bl(function(e){return ah(ot([_f(e.route.parent,r),wf(e.route,r),Ef(t,e.path,n),Cf(t,e.route,n)]))}),Ol(function(t){return!0===t}))}(r,0,t,e):al(!1)}),tt(function(t){return i({},n,{guardsResult:t})}))}))}}(e.ngModule.injector,function(t){return e.triggerEvent(t)}),wl(function(t){var n=new Lp(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);e.triggerEvent(n)}),hl(function(t){if(!t.guardsResult){e.resetUrlToCurrentUrlTree();var r=new Ip(t.id,e.serializeUrl(t.extractedUrl),"");return n.next(r),t.resolve(!1),!1}return!0}),Nf(function(t){if(t.guards.canActivateChecks.length)return al(t).pipe(wl(function(t){var n=new Hp(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(Bl(function(t){return function(t,n,r,o){return function(t,e,n,r){var o=Object.keys(t);if(0===o.length)return al({});if(1===o.length){var i=o[0];return If(t[i],e,n,r).pipe(tt(function(t){var e;return(e={})[i]=t,e}))}var u={};return ot(o).pipe(it(function(o){return If(t[o],e,n,r).pipe(tt(function(t){return u[o]=t,t}))})).pipe(Pl(),tt(function(){return u}))}(t._resolve,t,e,o).pipe(tt(function(e){return t._resolvedData=e,t.data=i({},t.data,Hh(t,r).resolve),null}))}(t.route,0,n,r)}),function(t,e){return arguments.length>=2?function(e){return R(Vl(t,void 0),yl(1),kl(void 0))(e)}:function(e){return R(Vl(function(e,n,r){return t(e)}),yl(1))(e)}}(function(t,e){return t}),tt(function(e){return t})):al(t)}))}),wl(function(t){var n=new Up(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)}));var n,r}),Nf(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,u=(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 u=s(r.children),a=u.next();!a.done;a=u.next()){var l=a.value;if(e.shouldReuseRoute(l.value.snapshot,n.value))return t(e,n,l)}}catch(c){o={error:c}}finally{try{a&&!a.done&&(i=u.return)&&i.call(u)}finally{if(o)throw o.error}}return t(e,n)})}(e,n,r);return new Ih(l,o)}var i=e.retrieve(n.value);if(i){var u=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,u),u}var a,l=new Lh(new sl((a=n.value).url),new sl(a.params),new sl(a.queryParams),new sl(a.fragment),new sl(a.data),a.outlet,a.component,a);return o=n.children.map(function(n){return t(e,n)}),new Ih(l,o)}(e.routeReuseStrategy,(n=t.targetSnapshot)._root,(r=t.currentRouterState)?r._root:void 0),new Dh(o,n));return i({},t,{targetRouterState:u})}),wl(function(t){e.currentUrlTree=t.urlAfterRedirects,e.rawUrlTree=e.urlHandlingStrategy.merge(e.currentUrlTree,t.rawUrl),e.routerState=t.targetRouterState,"deferred"!==e.urlUpdateStrategy||t.extras.skipLocationChange||e.setBrowserUrl(e.rawUrlTree,!!t.extras.replaceUrl,t.id)}),(o=e.rootContexts,u=e.routeReuseStrategy,a=function(t){return e.triggerEvent(t)},tt(function(t){return new nf(u,t.targetRouterState,t.currentRouterState,a).activate(o),t})),wl({next:function(){l=!0},complete:function(){l=!0}}),(r=function(){if(!l&&!c){e.resetUrlToCurrentUrlTree();var r=new Ip(t.id,e.serializeUrl(t.extractedUrl),"Navigation ID "+t.id+" is not equal to the current navigation id "+e.navigationId);n.next(r),t.resolve(!1)}},function(t){return t.lift(new Gl(r))}),Ml(function(r){if(c=!0,(u=r)&&u.ngNavigationCancelingError){e.navigated=!0,e.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl);var o=new Ip(t.id,e.serializeUrl(t.extractedUrl),r.message);n.next(o),t.resolve(!1)}else{e.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl);var i=new Np(t.id,e.serializeUrl(t.extractedUrl),r);n.next(i);try{t.resolve(e.errorHandler(r))}catch(a){t.reject(a)}}var u;return il}))}))},t.prototype.resetRootComponentType=function(t){this.rootComponentType=t,this.routerState.root.component=this.rootComponentType},t.prototype.getTransition=function(){return this.transitions.value},t.prototype.setTransition=function(t){this.transitions.next(i({},this.getTransition(),t))},t.prototype.initialNavigation=function(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})},t.prototype.setUpLocationChangeListener=function(){var t=this;this.locationSubscription||(this.locationSubscription=this.location.subscribe(function(e){var n=t.parseUrl(e.url),r="popstate"===e.type?"popstate":"hashchange",o=e.state&&e.state.navigationId?{navigationId:e.state.navigationId}:null;setTimeout(function(){t.scheduleNavigation(n,r,o,{replaceUrl:!0})},0)}))},Object.defineProperty(t.prototype,"url",{get:function(){return this.serializeUrl(this.currentUrlTree)},enumerable:!0,configurable:!0}),t.prototype.triggerEvent=function(t){this.events.next(t)},t.prototype.resetConfig=function(t){Xp(t),this.config=t.map(nh),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,u=e.preserveQueryParams,a=e.queryParamsHandling,s=e.preserveFragment;Br()&&u&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");var l=n||this.routerState.root,p=s?this.currentUrlTree.fragment:o,h=null;if(a)switch(a){case"merge":h=i({},this.currentUrlTree.queryParams,r);break;case"preserve":h=this.currentUrlTree.queryParams;break;default:h=r||null}else h=u?this.currentUrlTree.queryParams:r||null;return null!==h&&(h=this.removeEmptyProps(h)),function(t,e,n,r,o){if(0===n.length)return Gh(e.root,e.root,e,r,o);var i=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new Qh(!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 uh(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 Qh(n,e,r)}(n);if(i.toRoot())return Gh(e.root,new ph([],{}),e,r,o);var u=function(t,n,r){if(t.isAbsolute)return new Zh(e.root,!0,0);if(-1===r.snapshot._lastPathIndex)return new Zh(r.snapshot._urlSegment,!0,0);var o=qh(t.commands[0])?0:1;return function(e,n,i){for(var u=r.snapshot._urlSegment,a=r.snapshot._lastPathIndex+o,s=t.numberOfDoubleDots;s>a;){if(s-=a,!(u=u.parent))throw new Error("Invalid number of '../'");a=u.segments.length}return new Zh(u,!1,a-s)}()}(i,0,t),a=u.processChildren?Jh(u.segmentGroup,u.index,i.commands):Yh(u.segmentGroup,u.index,i.commands);return Gh(u.segmentGroup,a,e,r,o)}(l,this.currentUrlTree,t,h,p)},t.prototype.navigateByUrl=function(t,e){void 0===e&&(e={skipLocationChange:!1}),Br()&&this.isNgZoneEnabled&&!Vo.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");var n=t instanceof ch?t:this.parseUrl(t),r=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(r,"imperative",null,e)},t.prototype.navigate=function(t,e){return void 0===e&&(e={skipLocationChange:!1}),function(t){for(var e=0;e<t.length;e++){var n=t[e];if(null==n)throw new Error("The requested path contains "+n+" segment at index "+e)}}(t),this.navigateByUrl(this.createUrlTree(t,e),e)},t.prototype.serializeUrl=function(t){return this.urlSerializer.serialize(t)},t.prototype.parseUrl=function(t){var e;try{e=this.urlSerializer.parse(t)}catch(n){e=this.malformedUriErrorHandler(n,this.urlSerializer,t)}return e},t.prototype.isActive=function(t,e){if(t instanceof ch)return lh(this.currentUrlTree,t,e);var n=this.parseUrl(t);return lh(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 Mp(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(t.currentUrlTree))),e.resolve(!0)},function(e){t.console.warn("Unhandled Navigation Error: ")})},t.prototype.scheduleNavigation=function(t,e,n,r){var o=this.getTransition();if(o&&"imperative"!==e&&"imperative"===o.source&&o.rawUrl.toString()===t.toString())return Promise.resolve(!0);if(o&&"hashchange"==e&&"popstate"===o.source&&o.rawUrl.toString()===t.toString())return Promise.resolve(!0);if(o&&"popstate"==e&&"hashchange"===o.source&&o.rawUrl.toString()===t.toString())return Promise.resolve(!0);var i=null,u=null,a=new Promise(function(t,e){i=t,u=e}),s=++this.navigationId;return this.setTransition({id:s,source:e,state:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:t,extras:r,resolve:i,reject:u,promise:a,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),a.catch(function(t){return Promise.reject(t)})},t.prototype.setBrowserUrl=function(t,e,n){var r=this.urlSerializer.serialize(t);this.location.isCurrentPathEqualTo(r)||e?this.location.replaceState(r,"",{navigationId:n}):this.location.go(r,"",{navigationId:n})},t.prototype.resetStateAndUrl=function(t,e,n){this.routerState=t,this.currentUrlTree=e,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n),this.resetUrlToCurrentUrlTree()},t.prototype.resetUrlToCurrentUrlTree=function(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",{navigationId:this.lastSuccessfulId})},t}(),qf=function(){function t(t,e,n,r,o){this.router=t,this.route=e,this.commands=[],null==n&&r.setAttribute(o.nativeElement,"tabindex","0")}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){Br()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated!, use queryParamsHandling instead."),this.preserve=t},enumerable:!0,configurable:!0}),t.prototype.onClick=function(){var t={skipLocationChange:Gf(this.skipLocationChange),replaceUrl:Gf(this.replaceUrl)};return this.router.navigateByUrl(this.urlTree,t),!0},Object.defineProperty(t.prototype,"urlTree",{get:function(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:Gf(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:Gf(this.preserveFragment)})},enumerable:!0,configurable:!0}),t}();function Gf(t){return""===t||!!t}var Qf=function(){return function(){this.outlet=null,this.route=null,this.resolver=null,this.children=new Zf,this.attachRef=null}}(),Zf=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 Qf,this.contexts.set(t,e)),e},t.prototype.getContext=function(t){return this.contexts.get(t)||null},t}(),Kf=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 Hr,this.deactivateEvents=new Hr,this.name=r||Zp,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 Yf(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}(),Yf=function(){function t(t,e,n){this.route=t,this.childContexts=e,this.parent=n}return t.prototype.get=function(t,e){return t===Lh?this.route:t===Zf?this.childContexts:this.parent.get(t,e)},t}(),Jf=function(){return function(){}}(),$f=function(){function t(){}return t.prototype.preload=function(t,e){return e().pipe(Ml(function(){return al(null)}))},t}(),Xf=function(){function t(){}return t.prototype.preload=function(t,e){return al(null)},t}(),td=function(){function t(t,e,n,r,o){this.router=t,this.injector=r,this.preloadingStrategy=o,this.loader=new Hf(e,n,function(e){return t.triggerEvent(new Fp(e))},function(e){return t.triggerEvent(new zp(e))})}return t.prototype.setUpPreloading=function(){var t=this;this.subscription=this.router.events.pipe(hl(function(t){return t instanceof Mp}),Bl(function(){return t.preload()})).subscribe(function(){})},t.prototype.preload=function(){var t=this.injector.get(or);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),u=i.next();!u.done;u=i.next()){var a=u.value;if(a.loadChildren&&!a.canLoad&&a._loadedConfig){var l=a._loadedConfig;o.push(this.processRoutes(l.module,l.routes))}else a.loadChildren&&!a.canLoad?o.push(this.preloadConfig(t,a)):a.children&&o.push(this.processRoutes(t,a.children))}}catch(c){n={error:c}}finally{try{u&&!u.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}(),ed=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 Rp?(t.store[t.lastId]=t.viewportScroller.getScrollPosition(),t.lastSource=e.navigationTrigger,t.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof Mp&&(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 Gp&&(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 Gp(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}(),nd=new Pt("ROUTER_CONFIGURATION"),rd=new Pt("ROUTER_FORROOT_GUARD"),od=[$l,{provide:gh,useClass:vh},{provide:Wf,useFactory:pd,deps:[ui,gh,Zf,$l,$t,si,jo,Lf,nd,[Uf,new Wt],[Df,new Wt]]},Zf,{provide:Lh,useFactory:hd,deps:[Wf]},{provide:si,useClass:hi},td,Xf,$f,{provide:nd,useValue:{enableTracing:!1}}];function id(){return new ei("Router",Wf)}var ud=function(){function t(t,e){}var e;return e=t,t.forRoot=function(t,n){return{ngModule:e,providers:[od,cd(t),{provide:rd,useFactory:ld,deps:[[Wf,new Wt,new Gt]]},{provide:nd,useValue:n||{}},{provide:Yl,useFactory:sd,deps:[Zl,[new Vt(Jl),new Wt],nd]},{provide:ed,useFactory:ad,deps:[Wf,bc,nd]},{provide:Jf,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:Xf},{provide:ei,multi:!0,useFactory:id},[fd,{provide:So,multi:!0,useFactory:dd,deps:[fd]},{provide:vd,useFactory:gd,deps:[fd]},{provide:Ro,multi:!0,useExisting:vd}]]}},t.forChild=function(t){return{ngModule:e,providers:[cd(t)]}},t}();function ad(t,e,n){return n.scrollOffset&&e.setOffset(n.scrollOffset),new ed(t,e,n)}function sd(t,e,n){return void 0===n&&(n={}),n.useHash?new tc(t,e):new ec(t,e)}function ld(t){if(t)throw new Error("RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function cd(t){return[{provide:Rt,multi:!0,useValue:t},{provide:Lf,multi:!0,useValue:t}]}function pd(t,e,n,r,o,i,u,a,s,l,c){void 0===s&&(s={});var p=new Wf(null,e,n,r,o,i,u,oh(a));if(l&&(p.urlHandlingStrategy=l),c&&(p.routeReuseStrategy=c),s.errorHandler&&(p.errorHandler=s.errorHandler),s.malformedUriErrorHandler&&(p.malformedUriErrorHandler=s.malformedUriErrorHandler),s.enableTracing){var h=Cc();p.events.subscribe(function(t){h.logGroup("Router Event: "+t.constructor.name),h.log(t.toString()),h.log(t),h.logGroupEnd()})}return s.onSameUrlNavigation&&(p.onSameUrlNavigation=s.onSameUrlNavigation),s.paramsInheritanceStrategy&&(p.paramsInheritanceStrategy=s.paramsInheritanceStrategy),s.urlUpdateStrategy&&(p.urlUpdateStrategy=s.urlUpdateStrategy),s.relativeLinkResolution&&(p.relativeLinkResolution=s.relativeLinkResolution),p}function hd(t){return t.routerState.root}var fd=function(){function t(t){this.injector=t,this.initNavigation=!1,this.resultOfPreactivationDone=new U}return t.prototype.appInitializer=function(){var t=this;return this.injector.get(Kl,Promise.resolve(null)).then(function(){var e=null,n=new Promise(function(t){return e=t}),r=t.injector.get(Wf),o=t.injector.get(nd);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?al(null):(t.initNavigation=!0,e(!0),t.resultOfPreactivationDone)},r.initialNavigation()}return n})},t.prototype.bootstrapListener=function(t){var e=this.injector.get(nd),n=this.injector.get(td),r=this.injector.get(ed),o=this.injector.get(Wf),i=this.injector.get(ui);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 dd(t){return t.appInitializer.bind(t)}function gd(t){return t.bootstrapListener.bind(t)}var vd=new Pt("Router Initializer"),yd=uu({encapsulation:2,styles:[],data:{}});function md(t){return Qa(0,[(t()(),Du(0,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),Ea(1,212992,null,0,Kf,[Zf,gi,er,[8,null],vi],null,null)],function(t,e){t(e,1,0)},null)}function bd(t){return Qa(0,[(t()(),Du(0,0,null,null,1,"ng-component",[],null,null,null,md,yd)),Ea(1,49152,null,0,Qp,[],null,null)],null,null)}var wd=Xu("ng-component",Qp,bd,{},{},[]),_d=function(){return function(){}}(),Cd=function(){return function(){}}(),Ed=function(){function t(t){var e=this;this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?function(){e.headers=new Map,t.split("\n").forEach(function(t){var n=t.indexOf(":");if(n>0){var r=t.slice(0,n),o=r.toLowerCase(),i=t.slice(n+1).trim();e.maybeSetNormalizedName(r,o),e.headers.has(o)?e.headers.get(o).push(i):e.headers.set(o,[i])}})}:function(){e.headers=new Map,Object.keys(t).forEach(function(n){var r=t[n],o=n.toLowerCase();"string"==typeof r&&(r=[r]),r.length>0&&(e.headers.set(o,r),e.maybeSetNormalizedName(n,o))})}:this.headers=new Map}return t.prototype.has=function(t){return this.init(),this.headers.has(t.toLowerCase())},t.prototype.get=function(t){this.init();var e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null},t.prototype.keys=function(){return this.init(),Array.from(this.normalizedNames.values())},t.prototype.getAll=function(t){return this.init(),this.headers.get(t.toLowerCase())||null},t.prototype.append=function(t,e){return this.clone({name:t,value:e,op:"a"})},t.prototype.set=function(t,e){return this.clone({name:t,value:e,op:"s"})},t.prototype.delete=function(t,e){return this.clone({name:t,value:e,op:"d"})},t.prototype.maybeSetNormalizedName=function(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)},t.prototype.init=function(){var e=this;this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(function(t){return e.applyUpdate(t)}),this.lazyUpdate=null))},t.prototype.copyFrom=function(t){var e=this;t.init(),Array.from(t.headers.keys()).forEach(function(n){e.headers.set(n,t.headers.get(n)),e.normalizedNames.set(n,t.normalizedNames.get(n))})},t.prototype.clone=function(e){var n=new t;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([e]),n},t.prototype.applyUpdate=function(t){var e=t.name.toLowerCase();switch(t.op){case"a":case"s":var n=t.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(t.name,e);var r=("a"===t.op?this.headers.get(e):void 0)||[];r.push.apply(r,c(n)),this.headers.set(e,r);break;case"d":var o=t.value;if(o){var i=this.headers.get(e);if(!i)return;0===(i=i.filter(function(t){return-1===o.indexOf(t)})).length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,i)}else this.headers.delete(e),this.normalizedNames.delete(e)}},t.prototype.forEach=function(t){var e=this;this.init(),Array.from(this.normalizedNames.keys()).forEach(function(n){return t(e.normalizedNames.get(n),e.headers.get(n))})},t}(),Sd=function(){function t(){}return t.prototype.encodeKey=function(t){return kd(t)},t.prototype.encodeValue=function(t){return kd(t)},t.prototype.decodeKey=function(t){return decodeURIComponent(t)},t.prototype.decodeValue=function(t){return decodeURIComponent(t)},t}();function kd(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}var Td=function(){function t(t){void 0===t&&(t={});var e,n,r,o=this;if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new Sd,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=(e=t.fromString,n=this.encoder,r=new Map,e.length>0&&e.split("&").forEach(function(t){var e=t.indexOf("="),o=l(-1==e?[n.decodeKey(t),""]:[n.decodeKey(t.slice(0,e)),n.decodeValue(t.slice(e+1))],2),i=o[0],u=o[1],a=r.get(i)||[];a.push(u),r.set(i,a)}),r)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(function(e){var n=t.fromObject[e];o.map.set(e,Array.isArray(n)?n:[n])})):this.map=null}return t.prototype.has=function(t){return this.init(),this.map.has(t)},t.prototype.get=function(t){this.init();var e=this.map.get(t);return e?e[0]:null},t.prototype.getAll=function(t){return this.init(),this.map.get(t)||null},t.prototype.keys=function(){return this.init(),Array.from(this.map.keys())},t.prototype.append=function(t,e){return this.clone({param:t,value:e,op:"a"})},t.prototype.set=function(t,e){return this.clone({param:t,value:e,op:"s"})},t.prototype.delete=function(t,e){return this.clone({param:t,value:e,op:"d"})},t.prototype.toString=function(){var t=this;return this.init(),this.keys().map(function(e){var n=t.encoder.encodeKey(e);return t.map.get(e).map(function(e){return n+"="+t.encoder.encodeValue(e)}).join("&")}).join("&")},t.prototype.clone=function(e){var n=new t({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat([e]),n},t.prototype.init=function(){var t=this;null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(function(e){return t.map.set(e,t.cloneFrom.map.get(e))}),this.updates.forEach(function(e){switch(e.op){case"a":case"s":var n=("a"===e.op?t.map.get(e.param):void 0)||[];n.push(e.value),t.map.set(e.param,n);break;case"d":if(void 0===e.value){t.map.delete(e.param);break}var r=t.map.get(e.param)||[],o=r.indexOf(e.value);-1!==o&&r.splice(o,1),r.length>0?t.map.set(e.param,r):t.map.delete(e.param)}}),this.cloneFrom=null)},t}();function xd(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function Pd(t){return"undefined"!=typeof Blob&&t instanceof Blob}function Od(t){return"undefined"!=typeof FormData&&t instanceof FormData}var Ad=function(){function t(t,e,n,r){var o;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==n?n:null,o=r):o=n,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.params&&(this.params=o.params)),this.headers||(this.headers=new Ed),this.params){var i=this.params.toString();if(0===i.length)this.urlWithParams=e;else{var u=e.indexOf("?");this.urlWithParams=e+(-1===u?"?":u<e.length-1?"&":"")+i}}else this.params=new Td,this.urlWithParams=e}return t.prototype.serializeBody=function(){return null===this.body?null:xd(this.body)||Pd(this.body)||Od(this.body)||"string"==typeof this.body?this.body:this.body instanceof Td?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()},t.prototype.detectContentTypeHeader=function(){return null===this.body?null:Od(this.body)?null:Pd(this.body)?this.body.type||null:xd(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Td?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||Array.isArray(this.body)?"application/json":null},t.prototype.clone=function(e){void 0===e&&(e={});var n=e.method||this.method,r=e.url||this.url,o=e.responseType||this.responseType,i=void 0!==e.body?e.body:this.body,u=void 0!==e.withCredentials?e.withCredentials:this.withCredentials,a=void 0!==e.reportProgress?e.reportProgress:this.reportProgress,s=e.headers||this.headers,l=e.params||this.params;return void 0!==e.setHeaders&&(s=Object.keys(e.setHeaders).reduce(function(t,n){return t.set(n,e.setHeaders[n])},s)),e.setParams&&(l=Object.keys(e.setParams).reduce(function(t,n){return t.set(n,e.setParams[n])},l)),new t(n,r,i,{params:l,headers:s,reportProgress:a,responseType:o,withCredentials:u})},t}(),Rd=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}({}),Md=function(){return function(t,e,n){void 0===e&&(e=200),void 0===n&&(n="OK"),this.headers=t.headers||new Ed,this.status=void 0!==t.status?t.status:e,this.statusText=t.statusText||n,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}(),Id=function(t){function e(e){void 0===e&&(e={});var n=t.call(this,e)||this;return n.type=Rd.ResponseHeader,n}return o(e,t),e.prototype.clone=function(t){return void 0===t&&(t={}),new e({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})},e}(Md),Nd=function(t){function e(e){void 0===e&&(e={});var n=t.call(this,e)||this;return n.type=Rd.Response,n.body=void 0!==e.body?e.body:null,n}return o(e,t),e.prototype.clone=function(t){return void 0===t&&(t={}),new e({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})},e}(Md),Dd=function(t){function e(e){var n=t.call(this,e,0,"Unknown Error")||this;return n.name="HttpErrorResponse",n.ok=!1,n.message=n.status>=200&&n.status<300?"Http failure during parsing for "+(e.url||"(unknown url)"):"Http failure response for "+(e.url||"(unknown url)")+": "+e.status+" "+e.statusText,n.error=e.error||null,n}return o(e,t),e}(Md);function jd(t,e){return{body:e,headers:t.headers,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}var Ld=function(){function t(t){this.handler=t}return t.prototype.request=function(t,e,n){var r,o=this;if(void 0===n&&(n={}),t instanceof Ad)r=t;else{var i;i=n.headers instanceof Ed?n.headers:new Ed(n.headers);var u=void 0;n.params&&(u=n.params instanceof Td?n.params:new Td({fromObject:n.params})),r=new Ad(t,e,void 0!==n.body?n.body:null,{headers:i,params:u,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}var a=al(r).pipe(Bl(function(t){return o.handler.handle(t)}));if(t instanceof Ad||"events"===n.observe)return a;var s=a.pipe(hl(function(t){return t instanceof Nd}));switch(n.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return s.pipe(tt(function(t){if(null!==t.body&&!(t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return t.body}));case"blob":return s.pipe(tt(function(t){if(null!==t.body&&!(t.body instanceof Blob))throw new Error("Response is not a Blob.");return t.body}));case"text":return s.pipe(tt(function(t){if(null!==t.body&&"string"!=typeof t.body)throw new Error("Response is not a string.");return t.body}));case"json":default:return s.pipe(tt(function(t){return t.body}))}case"response":return s;default:throw new Error("Unreachable: unhandled observe type "+n.observe+"}")}},t.prototype.delete=function(t,e){return void 0===e&&(e={}),this.request("DELETE",t,e)},t.prototype.get=function(t,e){return void 0===e&&(e={}),this.request("GET",t,e)},t.prototype.head=function(t,e){return void 0===e&&(e={}),this.request("HEAD",t,e)},t.prototype.jsonp=function(t,e){return this.request("JSONP",t,{params:(new Td).append(e,"JSONP_CALLBACK"),observe:"body",responseType:"json"})},t.prototype.options=function(t,e){return void 0===e&&(e={}),this.request("OPTIONS",t,e)},t.prototype.patch=function(t,e,n){return void 0===n&&(n={}),this.request("PATCH",t,jd(n,e))},t.prototype.post=function(t,e,n){return void 0===n&&(n={}),this.request("POST",t,jd(n,e))},t.prototype.put=function(t,e,n){return void 0===n&&(n={}),this.request("PUT",t,jd(n,e))},t}(),Hd=function(){function t(t,e){this.next=t,this.interceptor=e}return t.prototype.handle=function(t){return this.interceptor.intercept(t,this.next)},t}(),Ud=new Pt("HTTP_INTERCEPTORS"),Fd=function(){function t(){}return t.prototype.intercept=function(t,e){return e.handle(t)},t}(),zd=/^\)\]\}',?\n/,Bd=function(){return function(){}}(),Vd=function(){function t(){}return t.prototype.build=function(){return new XMLHttpRequest},t}(),Wd=function(){function t(t){this.xhrFactory=t}return t.prototype.handle=function(t){var e=this;if("JSONP"===t.method)throw new Error("Attempted to construct Jsonp request without JsonpClientModule installed.");return new I(function(n){var r=e.xhrFactory.build();if(r.open(t.method,t.urlWithParams),t.withCredentials&&(r.withCredentials=!0),t.headers.forEach(function(t,e){return r.setRequestHeader(t,e.join(","))}),t.headers.has("Accept")||r.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){var o=t.detectContentTypeHeader();null!==o&&r.setRequestHeader("Content-Type",o)}if(t.responseType){var i=t.responseType.toLowerCase();r.responseType="json"!==i?i:"text"}var u=t.serializeBody(),a=null,s=function(){if(null!==a)return a;var e=1223===r.status?204:r.status,n=r.statusText||"OK",o=new Ed(r.getAllResponseHeaders()),i=function(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(r)||t.url;return a=new Id({headers:o,status:e,statusText:n,url:i})},l=function(){var e=s(),o=e.headers,i=e.status,u=e.statusText,a=e.url,l=null;204!==i&&(l=void 0===r.response?r.responseText:r.response),0===i&&(i=l?200:0);var c=i>=200&&i<300;if("json"===t.responseType&&"string"==typeof l){var p=l;l=l.replace(zd,"");try{l=""!==l?JSON.parse(l):null}catch(h){l=p,c&&(c=!1,l={error:h,text:l})}}c?(n.next(new Nd({body:l,headers:o,status:i,statusText:u,url:a||void 0})),n.complete()):n.error(new Dd({error:l,headers:o,status:i,statusText:u,url:a||void 0}))},c=function(t){var e=new Dd({error:t,status:r.status||0,statusText:r.statusText||"Unknown Error"});n.error(e)},p=!1,h=function(e){p||(n.next(s()),p=!0);var o={type:Rd.DownloadProgress,loaded:e.loaded};e.lengthComputable&&(o.total=e.total),"text"===t.responseType&&r.responseText&&(o.partialText=r.responseText),n.next(o)},f=function(t){var e={type:Rd.UploadProgress,loaded:t.loaded};t.lengthComputable&&(e.total=t.total),n.next(e)};return r.addEventListener("load",l),r.addEventListener("error",c),t.reportProgress&&(r.addEventListener("progress",h),null!==u&&r.upload&&r.upload.addEventListener("progress",f)),r.send(u),n.next({type:Rd.Sent}),function(){r.removeEventListener("error",c),r.removeEventListener("load",l),t.reportProgress&&(r.removeEventListener("progress",h),null!==u&&r.upload&&r.upload.removeEventListener("progress",f)),r.abort()}})},t}(),qd=new Pt("XSRF_COOKIE_NAME"),Gd=new Pt("XSRF_HEADER_NAME"),Qd=function(){return function(){}}(),Zd=function(){function t(t,e,n){this.doc=t,this.platform=e,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}return t.prototype.getToken=function(){if("server"===this.platform)return null;var t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=lc(t,this.cookieName),this.lastCookieString=t),this.lastToken},t}(),Kd=function(){function t(t,e){this.tokenService=t,this.headerName=e}return t.prototype.intercept=function(t,e){var n=t.url.toLowerCase();if("GET"===t.method||"HEAD"===t.method||n.startsWith("http://")||n.startsWith("https://"))return e.handle(t);var r=this.tokenService.getToken();return null===r||t.headers.has(this.headerName)||(t=t.clone({headers:t.headers.set(this.headerName,r)})),e.handle(t)},t}(),Yd=function(){function t(t,e){this.backend=t,this.injector=e,this.chain=null}return t.prototype.handle=function(t){if(null===this.chain){var e=this.injector.get(Ud,[]);this.chain=e.reduceRight(function(t,e){return new Hd(t,e)},this.backend)}return this.chain.handle(t)},t}(),Jd=function(){function t(){}var e;return e=t,t.disable=function(){return{ngModule:e,providers:[{provide:Kd,useClass:Fd}]}},t.withOptions=function(t){return void 0===t&&(t={}),{ngModule:e,providers:[t.cookieName?{provide:qd,useValue:t.cookieName}:[],t.headerName?{provide:Gd,useValue:t.headerName}:[]]}},t}(),$d=function(){return function(){}}(),Xd=function(){function t(t){this.http=t,this.SoundData={"Captain Holt":["Agreed.mp3","BRB time.mp3","Bingpot.mp3","Bold personality.mp3","Bone.mp3","Booone.mp3","Boost my bottom.mp3","But if you're here.mp3","Captain Ray Holt.mp3","Chocolate and nuts.mp3","Constipated.mp3","Cowabunga.mp3","Cute little secret weapon.mp3","D-D-D-D-D-D-Derek.mp3","Dirtbag.mp3","Dismissed.mp3","Don't ever bup-bup-bup me again.mp3","Everything is garbage.mp3","Forced laughing.mp3","Funky Cold Medina.mp3","Funniest story.mp3","Get some.mp3","Get to work.mp3","Gina Linetti spagheti confetti.mp3","Goat.mp3","HOT DAMN .mp3","Hello Sexarella.mp3","Here at the fun zone.mp3","How dare you.mp3","Huh.mp3","I am your superior officer.mp3","I gained 3 pounds in Paris.mp3","I have zero interest.mp3","I just erased everything.mp3","I was hula hooping.mp3","I'd like to play.mp3","I'm a Curd-mudgeon.mp3","I'm diffusing a situation.mp3","I'm.mp3","I've heard you saying that 162 times.mp3","I've never been happier.mp3","Idiot.mp3","Is everything OK.mp3","Is everything okay (brain).mp3","Kase.mp3","Kwazy cupcakes.mp3","Let's break into the FBI.mp3","Let's get that punk!.mp3","Let's unleash hell.mp3","Made no I birthed her.mp3","Marco polo.mp3","Marshedmallows.mp3","Moment savored.mp3","Never love anything.mp3","Nice burn.mp3","No one will ever believe you.mp3","No.mp3","Now put on a smile.mp3","Oh damn.mp3","Oppsie Doodle.mp3","Painnnn.mp3","Peralta you're a genius.mp3","Please.mp3","Punk.mp3","Raymond Holt.mp3","Replaced with butt.mp3","Right now.mp3","Robot.mp3","Situation diffused.mp3","Some of the rices I love.mp3","Stop playing this inane garbage.mp3","Talking raisin.mp3","The full bullpen.mp3","This bitch.mp3","This is Balthaazar.mp3","Time for the next level.mp3","Time to make daddy proud.mp3","Unleash the beast.mp3","Velvet thunder.mp3","Very cool.mp3","Vindication.mp3","What are you doing at Razzmataz.mp3","What the hell is going on.mp3","What.mp3","Where is my dog.mp3","Would you like to talk.mp3","Wuntch meat.mp3","Wuntch sounds like lunch.mp3","Wuntch time is over.mp3","Yabba dabba doo.mp3","Yas queen.mp3","Yes.mp3","You call that dancing.mp3","You embarrass yourself.mp3","You have aged.mp3","You're not cheddar.mp3","You've used my logic against me.mp3"],"Terry Jeffords":["Absolutely.mp3","Can't believe that's good.mp3","Damn.mp3","Grind these kittens.mp3","How dare you.mp3","I am loving it.mp3","I love being scary Terry.mp3","I love yoghurt.mp3","IMPORTANT.mp3","Oh damn.mp3","Release your sweets.mp3","Shut up stupid.mp3","Terry feels like a whore.mp3","Terry loves lavender.mp3","Terry loves responsible agriculutral practises.mp3","Terry loves walls.mp3","Terry needs a hug.mp3","Terry regrets.mp3","Terry's gotta update his keychain.mp3","Terry's out of breadth.mp3","The worst thing in the world.mp3","This is taking too long.mp3","Three-perp perp cell.mp3","Top dog Terry.mp3","Whhatt.mp3","Whyyy.mp3","Woooh.mp3","Work environment.mp3","Yoghurt fridge.mp3","Yoghurt, me too.mp3"],"Charles Boyle":["A dry boy is a smart boy.mp3","Aroused by bees.mp3","Cry during sex.mp3","Dianne Wiest infection.mp3","Fantasy threesome.mp3","Head and muffin.mp3","I don't wanna be known as the office slut.mp3","Intimate fingers.mp3","Like yeast.mp3","Mama's gonna talk her way in.mp3","Nikolaj 1.mp3","Nikolaj 2.mp3","Nikolaj 3.mp3","Nikolaj 4.mp3","Nikolaj 5.mp3","Nikolaj 6.mp3","Nikolaj 7.mp3","No I don't.mp3","Now the balls.mp3","Pina collada.mp3","Protect our breasts.mp3","Really.mp3","Rosa laugh.mp3","STDs.mp3","Sexy parts.mp3","Testies no longer make sperm.mp3","Whatever you say.mp3","Why do you care so much.mp3","Yippie Kayak other buckets.mp3","You are ovulating like crazy right now.mp3"],"Jake Peralta":["Aha, noice.mp3","Barrel of laughs.mp3","Boobies bounce.mp3","Boobies on my vest.mp3","Bub-bup-bup-bup-bah.mp3","Butt enhancement surgery.mp3","By using my big fat brain.mp3","Bye Nikolaj.mp3","Captain Dad.mp3","Captain Holt!.mp3","Celebration candy bars.mp3","Clown booby.mp3","Cocaine.mp3","Cool cool cool cool cool cool cool.mp3","Cool cool cool cool no doubt.mp3","Cool cool yeah.mp3","Cool.mp3","Cooool.mp3","Crucial as hell.mp3","Dat really bummed me out.mp3","Didn't work.mp3","EEEE EEEE EEEE EEEE.mp3","Give them a public dressing down.mp3","Gross, gross, gross.mp3","Guilty cool.mp3","Hey, my croissant.mp3","Homeland security.mp3","I was kinda thinking about asking you out.mp3","I'm stuck.mp3","It will be good and professional.mp3","Just breathe, baby.mp3","Just urinal water.mp3","Let's break into the FBI.mp3","Literal chills.mp3","Name of Amy's sex tap.mp3","No longer made.mp3","No spoilees.mp3","No.mp3","Noice.mp3","Now number 5.mp3","Now that it's just us.mp3","Number 1 or number 2.mp3","Oh cool cool cool.mp3","Oh cool.mp3","Oh my god I forgot about that part.mp3","Oh wait.mp3","Pull up.mp3","Santiago broke the glass!.mp3","Sex Tape (kind, sober, fully-dressed).mp3","Sex tape (ass bite).mp3","Sex tape (get to sexual).mp3","Sex tape (not your fault I was terrible).mp3","Sex tape (what is taking so long).mp3","Sex tape (why doesn't your mouth work).mp3","Sex tape (with someone).mp3","Slam!.mp3","Something funny.mp3","Sweet.mp3","Tell me why.mp3","Telllllll me why.mp3","The Pontiac Bandit.mp3","This B needs a C in her A.mp3","Three perps in the three-perp cell.mp3","Time to party.mp3","Title of my sex tape.mp3","Was it cool it felt very cool.mp3","We did it!.mp3","What, how.mp3","Why do you have to ruin everything.mp3","Why.mp3","Wife and dad.mp3","Woooh!.mp3","Yeah how cool.mp3","You sick son of a bitch.mp3","You suck man.mp3","You're lactose intolerant.mp3"],"Gina Linetti":["BLAM BLAM!.mp3","Be my bestie.mp3","Booty shake.mp3","Bye.mp3","Civilized.mp3","Delicious.mp3","Each sentence is getting fatter.mp3","Emotionally.mp3","Florgasm.mp3","Gina Linetti spagheti confetti.mp3","Ginaless world.mp3","I hate you.mp3","I said dismissed!.mp3","Kwazy cupkakes.mp3","Less talk more solve.mp3","Mike drop.mp3","My nose itches.mp3","No I'm not.mp3","Oh my god.mp3","Peanut butter.mp3","Sex tape.mp3","Shot more often.mp3","That makes me wanna cry.mp3","This is so fun!.mp3","Toilet emoji.mp3","What is it?.mp3","Wrong answer, friend.mp3","Yeah, I know.mp3","Yeeahh.mp3","You think these buffoons can help.mp3"],"Rosa Diaz":["Damn it.mp3","Ha ha ha ha ha.mp3","I will punch you.mp3","Let's do this.mp3","No it's not.mp3","Okay.mp3","Scoliosis.mp3","Son of a bitch.mp3","You turds.mp3"],"Amy Santiago":["Cool cool cool.mp3","Now suck it down.mp3","OH MY GOD.mp3","Pretty dope.mp3","Sensual pottery.mp3","This B needs a C in her A.mp3","Time to die.mp3","Weird, weird, weird.mp3","What up, bro.mp3"],Hitchcock:["Bet your nips it did, skidmark.mp3","Find out!.mp3","Flat top and the Freak.mp3","I need my afternoon nap.mp3","It's time to sauce up.mp3","You're fake news.mp3"],Scully:["Challenge accepted.mp3","Dutch oven.mp3","Lunch.mp3","Nipple trippled in size.mp3","No feeling down here.mp3","Use the slut sauce.mp3"]},this.characters=Object.keys(this.SoundData),this.colors={a:"blue",b:"blue",c:"blue",d:"blue",e:"blue",f:"green",g:"green",h:"green",i:"green",j:"green",k:"yellow",l:"yellow",m:"yellow",n:"yellow",o:"yellow",p:"red",q:"red",r:"red",s:"red",t:"red",u:"dark",v:"dark",w:"dark",x:"dark",y:"dark",z:"dark"}}return t.prototype.playSound=function(t,e){var n="https://raw.githubusercontent.com/holt-soundboard/temp/master/copyright/legal_docs/more/sounds/"+t+"/"+e;!1===(!!navigator.platform&&/iPad|iPhone|iPod/.test(navigator.platform))?this.getSound(n).subscribe(function(t){var e=URL.createObjectURL(t),n=document.createElement("audio");n.src=e,document.body.appendChild(n),n.play()}):(console.log("IOS"),new Audio(n).play())},t.prototype.getSound=function(t){return this.http.get(t,{responseType:"blob"})},t.prototype.vibrate=function(t){"vibrate"in navigator&&window.navigator.vibrate(t)},t.ngInjectableDef=kt({factory:function(){return new t(fe(Ld))},token:t,providedIn:"root"}),t}(),tg=function(){function t(t){this.globals=t}return t.prototype.ngOnInit=function(){this.displayName=this.soundURL.split(".")[0];var t=this.displayName[0].toLowerCase();this.color=this.globals.colors[t]},t.prototype.playSound=function(){this.globals.playSound(this.character,this.soundURL)},t}(),eg=uu({encapsulation:0,styles:[["button[_ngcontent-%COMP%]{border-radius:7px;background-color:#000;color:var(--sound-bubble-text-color);font-weight:600;padding:1.1rem;font-size:1rem;letter-spacing:.1rem;height:100%;width:100%;-webkit-overflow-scrolling:touch;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}button[_ngcontent-%COMP%]:hover{opacity:.9}button[_ngcontent-%COMP%]:active, button[_ngcontent-%COMP%]:focus{opacity:.8}.blue[_ngcontent-%COMP%]{background-color:#4285f3}.green[_ngcontent-%COMP%]{background-color:#55a854}.yellow[_ngcontent-%COMP%]{background-color:#f5aa22}.red[_ngcontent-%COMP%]{background-color:#e94234}.dark[_ngcontent-%COMP%]{background-color:var(--sound-bubble-dark)}@media only screen and (max-width:500px){button[_ngcontent-%COMP%]{padding:.9rem;font-weight:700}}@media only screen and (max-width:400px){button[_ngcontent-%COMP%]{padding:.7rem}}"]],data:{}});function ng(t){return Qa(0,[(t()(),Du(0,0,null,null,1,"button",[],[[8,"className",0]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.playSound()&&r),r},null,null)),(t()(),Wa(1,null,[" ","\n"]))],null,function(t,e){var n=e.component;t(e,0,0,Mu(1,"",n.color,"")),t(e,1,0,n.displayName)})}var rg=function(){function t(t){this.router=t,this.shareLinks=[{icon:"far fa-envelope",link:"mailto:?body=https://holt-soundboard.github.io/%0ACheck it out, it has sounds of Captain Holt, Terry Jeffords, Charles Boyle, and Jake Peralta!&subject=Check out this Holt Soundboard",color:"ffffff"},{icon:"fab fa-facebook-square",link:"https://www.facebook.com/sharer/sharer.php?u=https%3A//holt-soundboard.github.io/",color:"3b5998"},{icon:"fab fa-twitter",link:"https://twitter.com/home?status=https%3A//holt-soundboard.github.io/%0ACheck it out, it has sounds of Captain Holt, Terry Jeffords, Charles Boyle, and Jake Peralta!",color:"38A1F3"},{icon:"fab fa-google-plus-g",link:"https://plus.google.com/share?url=https%3A//holt-soundboard.github.io/",color:"d34836"},{icon:"fab fa-whatsapp",link:"https://api.whatsapp.com/send?text=https%3A//holt-soundboard.github.io/",color:""},{icon:"fab fa-reddit",link:"https://www.reddit.com/submit?url=https%3A%2F%2Fholt-soundboard.github.io%2F%0ACheck it out, it has sounds of Captain Holt, Terry Jeffords, Charles Boyle, and Jake Peralta!&title=Check%20out%20the%20Holt%20Soundboard",color:""},{icon:"fab fa-pinterest",link:"https://in.pinterest.com/themindstorm/holt-soundboardgithubio/",color:""}],this.onHomePage=!0}return t.prototype.ngOnInit=function(){this.router.url.includes("share")&&(this.onHomePage=!1)},t}(),og=uu({encapsulation:0,styles:[["main[_ngcontent-%COMP%]{background-color:var(--navbar-background-color)}main.on-home-page[_ngcontent-%COMP%]{background-color:var(--navbar-background-color);color:var(--navbar-text-color)}main[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{color:var(--navbar-text-color)}main[_ngcontent-%COMP%] div[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{font-size:2rem;display:inline;padding-right:15px;color:var(--navbar-text-color)}main[_ngcontent-%COMP%] div[_ngcontent-%COMP%] div[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:unset}"]],data:{}});function ig(t){return Qa(0,[(t()(),Du(0,0,null,null,4,"div",[],null,null,null,null,null)),(t()(),Du(1,0,null,null,3,"a",[["target","_blank"]],[[8,"href",4]],null,null,null,null)),(t()(),Du(2,0,null,null,2,"i",[],[[8,"className",0]],null,null,null,null)),Ea(3,278528,null,0,fc,[Ni,fr,yr],{ngStyle:[0,"ngStyle"]},null),Ba(4,{color:0})],function(t,e){var n=t(e,4,0,e.context.$implicit.color);t(e,3,0,n)},function(t,e){t(e,1,0,Mu(1,"",e.context.$implicit.link,"")),t(e,2,0,Mu(1,"",e.context.$implicit.icon,""))})}function ug(t){return Qa(0,[(t()(),Du(0,0,null,null,5,"main",[],[[2,"on-home-page",null]],null,null,null,null)),(t()(),Du(1,0,null,null,1,"h1",[],null,null,null,null,null)),(t()(),Wa(-1,null,["Share this website"])),(t()(),Du(3,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),Nu(16777216,null,null,1,null,ig)),Ea(5,278528,null,0,pc,[gi,Ur,Ii],{ngForOf:[0,"ngForOf"]},null)],function(t,e){t(e,5,0,e.component.shareLinks)},function(t,e){t(e,0,0,e.component.onHomePage)})}function ag(t){return Qa(0,[(t()(),Du(0,0,null,null,1,"app-share",[],null,null,null,ug,og)),Ea(1,114688,null,0,rg,[Wf],null,null)],function(t,e){t(e,1,0)},null)}var sg=Xu("app-share",rg,ag,{},{},[]),lg=function(){function t(t){this.globals=t}return t.prototype.ngOnInit=function(){this.SoundData=this.globals.SoundData,this.characters=this.globals.characters},t.prototype.backToTop=function(){window.scrollTo(0,0)},t}(),cg=uu({encapsulation:0,styles:[["main[_ngcontent-%COMP%]{padding:var(--main-padding);background-color:var(--background-color)}main[_ngcontent-%COMP%] div[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin-bottom:10px}main[_ngcontent-%COMP%] div[_ngcontent-%COMP%] .grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));grid-gap:var(--main-padding);margin-bottom:var(--main-padding)}main[_ngcontent-%COMP%] .bottom[_ngcontent-%COMP%] button[_ngcontent-%COMP%] + button[_ngcontent-%COMP%]{margin-left:var(--main-padding)}main[_ngcontent-%COMP%] .bottom[_ngcontent-%COMP%] .right[_ngcontent-%COMP%]{float:right}@media only screen and (max-width:500px){main[_ngcontent-%COMP%] div[_ngcontent-%COMP%] .grid[_ngcontent-%COMP%]{grid-template-columns:1fr 1fr}}"]],data:{}});function pg(t){return Qa(0,[(t()(),Du(0,0,null,null,1,"app-sound-button",[],null,null,null,ng,eg)),Ea(1,114688,null,0,tg,[Xd],{character:[0,"character"],soundURL:[1,"soundURL"]},null)],function(t,e){t(e,1,0,e.parent.context.$implicit,e.context.$implicit)},null)}function hg(t){return Qa(0,[(t()(),Du(0,0,null,null,5,"div",[],null,null,null,null,null)),(t()(),Du(1,0,null,null,1,"h1",[],[[8,"id",0]],null,null,null,null)),(t()(),Wa(2,null,["",""])),(t()(),Du(3,0,null,null,2,"div",[["class","grid"]],null,null,null,null,null)),(t()(),Nu(16777216,null,null,1,null,pg)),Ea(5,278528,null,0,pc,[gi,Ur,Ii],{ngForOf:[0,"ngForOf"]},null)],function(t,e){t(e,5,0,e.component.SoundData[e.context.$implicit])},function(t,e){t(e,1,0,Mu(1,"",e.context.$implicit,"")),t(e,2,0,e.context.$implicit)})}function fg(t){return Qa(0,[(t()(),Du(0,0,null,null,12,"main",[],null,null,null,null,null)),(t()(),Nu(16777216,null,null,1,null,hg)),Ea(2,278528,null,0,pc,[gi,Ur,Ii],{ngForOf:[0,"ngForOf"]},null),(t()(),Du(3,0,null,null,9,"div",[["class","bottom"]],null,null,null,null,null)),(t()(),Du(4,0,null,null,1,"h1",[],null,null,null,null,null)),(t()(),Wa(-1,null,["More options"])),(t()(),Du(6,0,null,null,3,"button",[["class","black"],["routerLink","suggest"]],null,[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==ca(t,7).onClick()&&r),r},null,null)),Ea(7,16384,null,0,qf,[Wf,Lh,[8,null],yr,fr],{routerLink:[0,"routerLink"]},null),(t()(),Du(8,0,null,null,0,"i",[["class","fas fa-comment"]],null,null,null,null,null)),(t()(),Wa(-1,null,[" Got feedback? "])),(t()(),Du(10,0,null,null,2,"button",[["class","black right"],["routerLink",""]],null,[[null,"click"]],function(t,e,n){var r=!0,o=t.component;return"click"===e&&(r=!1!==ca(t,11).onClick()&&r),"click"===e&&(r=!1!==o.backToTop()&&r),r},null,null)),Ea(11,16384,null,0,qf,[Wf,Lh,[8,null],yr,fr],{routerLink:[0,"routerLink"]},null),(t()(),Wa(-1,null,[" Back to top "])),(t()(),Du(13,0,null,null,1,"app-share",[],null,null,null,ug,og)),Ea(14,114688,null,0,rg,[Wf],null,null)],function(t,e){t(e,2,0,e.component.characters),t(e,7,0,"suggest"),t(e,11,0,""),t(e,14,0)},null)}function dg(t){return Qa(0,[(t()(),Du(0,0,null,null,1,"app-main-soundboard",[],null,null,null,fg,cg)),Ea(1,114688,null,0,lg,[Xd],null,null)],function(t,e){t(e,1,0)},null)}var gg=Xu("app-main-soundboard",lg,dg,{},{},[]),vg=function(){function t(){this.paragraphs=["Welcome to the most comprehensive repository of Brooklyn 99 sounds. I do not claim the ownership of any of these audio files.","I would love to add new sounds. Please feel free to suggest sounds. If the sound you suggested gets added, I will put your Reddit username in the credits section below.","And app for IOS and Android are coming soon!"],this.updates=[{date:"January 22, 2019",content:"Added new sounds for Jake, Rosa, and Amy."},{date:"January 13, 2019",content:"Added ability to scroll through character list. Android and IOS app coming soon."},{date:"January 8, 2019",content:"Added ALL characters."},{date:"January 7, 2019",content:"Added Gina Linetti. Character list is now scrollable to support smaller screen sizes"},{date:"January 7, 2019",content:"Improved offline listening. Some minor design changes."},{date:"December 31, 2018",content:"Added Yippie Kayak (Boyle) and Noice (Peralta)."},{date:"December 30, 2018",content:"Added abouts, credits, settings. Ability to change theme. Added form to suggest new sounds."},{date:"December 29, 2018",content:"Added character names to navigation bar to jump to that section."}],this.redditUsers=["cheeken_rice","laineDdednaHdeR","AdvancedDingo","bluecowgreensheep","swoosh1992","AnnaK22","Enwrathed","AtlSupreme","Macho_Mans_Ghost","Ceteris_Paribus23","UncontrolledManifold","ichbingelangweilt","El_Tomahte","Nadavhalperin"]}return t.prototype.ngOnInit=function(){},t}(),yg=uu({encapsulation:0,styles:[["main[_ngcontent-%COMP%]{background-color:var(--background-color);padding:var(--main-padding)}main[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{margin-bottom:var(--main-padding)}main[_ngcontent-%COMP%] div[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style:none}"]],data:{}});function mg(t){return Qa(0,[(t()(),Du(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),Wa(1,null,["",""]))],null,function(t,e){t(e,1,0,e.context.$implicit)})}function bg(t){return Qa(0,[(t()(),Du(0,0,null,null,2,"li",[],null,null,null,null,null)),(t()(),Du(1,0,null,null,1,"a",[["target","_blank"]],[[8,"href",4]],null,null,null,null)),(t()(),Wa(2,null,["u/",""]))],null,function(t,e){t(e,1,0,Mu(1,"https://www.reddit.com/user/",e.context.$implicit,"")),t(e,2,0,e.context.$implicit)})}function wg(t){return Qa(0,[(t()(),Du(0,0,null,null,3,"p",[],null,null,null,null,null)),(t()(),Du(1,0,null,null,1,"b",[],null,null,null,null,null)),(t()(),Wa(2,null,["",":"])),(t()(),Wa(3,null,[" ",""]))],null,function(t,e){t(e,2,0,e.context.$implicit.date),t(e,3,0,e.context.$implicit.content)})}function _g(t){return Qa(0,[(t()(),Du(0,0,null,null,34,"main",[],null,null,null,null,null)),(t()(),Du(1,0,null,null,7,"div",[],null,null,null,null,null)),(t()(),Nu(16777216,null,null,1,null,mg)),Ea(3,278528,null,0,pc,[gi,Ur,Ii],{ngForOf:[0,"ngForOf"]},null),(t()(),Du(4,0,null,null,4,"button",[],null,[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==ca(t,5).onClick()&&r),r},null,null)),Ea(5,16384,null,0,qf,[Wf,Lh,[8,null],yr,fr],{routerLink:[0,"routerLink"]},null),Va(32,6,new Array(1)),(t()(),Du(7,0,null,null,0,"i",[["class","fas fa-comment"]],null,null,null,null,null)),(t()(),Wa(-1,null,[" Suggest a new sound "])),(t()(),Du(9,0,null,null,13,"div",[],null,null,null,null,null)),(t()(),Du(10,0,null,null,1,"h1",[],null,null,null,null,null)),(t()(),Wa(-1,null,["Credits"])),(t()(),Du(12,0,null,null,10,"div",[],null,null,null,null,null)),(t()(),Du(13,0,null,null,4,"p",[],null,null,null,null,null)),(t()(),Wa(-1,null,["This website was created by me, "])),(t()(),Du(15,0,null,null,1,"a",[["href","https://www.reddit.com/user/themindstorm"],["target","_blank"]],null,null,null,null,null)),(t()(),Wa(-1,null,["u/themindstorm"])),(t()(),Wa(-1,null,[". Credits to NBC and Brooklyn 99 for the sounds."])),(t()(),Du(18,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),Wa(-1,null,["I would like to thank the following Reddit users for their contributions:"])),(t()(),Du(20,0,null,null,2,"ul",[],null,null,null,null,null)),(t()(),Nu(16777216,null,null,1,null,bg)),Ea(22,278528,null,0,pc,[gi,Ur,Ii],{ngForOf:[0,"ngForOf"]},null),(t()(),Du(23,0,null,null,5,"div",[],null,null,null,null,null)),(t()(),Du(24,0,null,null,1,"h1",[],null,null,null,null,null)),(t()(),Wa(-1,null,["Offline"])),(t()(),Du(26,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),Du(27,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),Wa(-1,null,[" Sounds you play when connected to the internet will be saved for offline listening too! "])),(t()(),Du(29,0,null,null,5,"div",[],null,null,null,null,null)),(t()(),Du(30,0,null,null,1,"h1",[],null,null,null,null,null)),(t()(),Wa(-1,null,["Update log"])),(t()(),Du(32,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),Nu(16777216,null,null,1,null,wg)),Ea(34,278528,null,0,pc,[gi,Ur,Ii],{ngForOf:[0,"ngForOf"]},null)],function(t,e){var n=e.component;t(e,3,0,n.paragraphs);var r=t(e,6,0,"/suggest");t(e,5,0,r),t(e,22,0,n.redditUsers),t(e,34,0,n.updates)},null)}function Cg(t){return Qa(0,[(t()(),Du(0,0,null,null,1,"app-about",[],null,null,null,_g,yg)),Ea(1,114688,null,0,vg,[],null,null)],function(t,e){t(e,1,0)},null)}var Eg=Xu("app-about",vg,Cg,{},{},[]),Sg=function(){function t(t){this.theme=t}return t.prototype.ngOnInit=function(){},t.prototype.toggleDarkMode=function(){this.theme.toggleDarkMode()},t.prototype.update=function(){window.open("https://holt-soundboard.github.io/?update=t")},t}(),kg=uu({encapsulation:0,styles:[[""]],data:{}});function Tg(t){return Qa(0,[(t()(),Du(0,0,null,null,25,"main",[],null,null,null,null,null)),(t()(),Du(1,0,null,null,10,"div",[],null,null,null,null,null)),(t()(),Du(2,0,null,null,1,"h1",[],null,null,null,null,null)),(t()(),Wa(-1,null,["Theme settings"])),(t()(),Du(4,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),Wa(-1,null,["Click the button below to enable a dark theme throughout the app."])),(t()(),Du(6,0,null,null,5,"div",[],null,null,null,null,null)),(t()(),Du(7,0,null,null,4,"button",[],null,[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.toggleDarkMode()&&r),r},null,null)),(t()(),Du(8,0,null,null,0,"i",[["class","far fa-moon"]],null,null,null,null,null)),(t()(),Wa(-1,null,["/"])),(t()(),Du(10,0,null,null,0,"i",[["class","fas fa-sun"]],null,null,null,null,null)),(t()(),Wa(-1,null,[" Toggle dark mode"])),(t()(),Du(12,0,null,null,8,"div",[],null,null,null,null,null)),(t()(),Du(13,0,null,null,1,"h1",[],null,null,null,null,null)),(t()(),Wa(-1,null,["Force update"])),(t()(),Du(15,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),Wa(-1,null,["Sometimes the browser stores the website in the cache. Click the button to reload the site completely."])),(t()(),Du(17,0,null,null,3,"div",[],null,null,null,null,null)),(t()(),Du(18,0,null,null,2,"button",[],null,[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.update()&&r),r},null,null)),(t()(),Du(19,0,null,null,0,"i",[["class","fas fa-wrench"]],null,null,null,null,null)),(t()(),Wa(-1,null,[" Update "])),(t()(),Du(21,0,null,null,4,"div",[],null,null,null,null,null)),(t()(),Du(22,0,null,null,1,"h1",[],null,null,null,null,null)),(t()(),Wa(-1,null,["Some other settings"])),(t()(),Du(24,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),Wa(-1,null,["Coming soon \u2026"]))],null,null)}function xg(t){return Qa(0,[(t()(),Du(0,0,null,null,1,"app-settings",[],null,null,null,Tg,kg)),Ea(1,114688,null,0,Sg,[rl],null,null)],function(t,e){t(e,1,0)},null)}var Pg=Xu("app-settings",Sg,xg,{},{},[]),Og=function(){function t(){}return t.prototype.ngOnInit=function(){},t}(),Ag=uu({encapsulation:0,styles:[[""]],data:{}});function Rg(t){return Qa(0,[(t()(),Du(0,0,null,null,26,"main",[],null,null,null,null,null)),(t()(),Du(1,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),Wa(-1,null,["Please fill out the following form in order to submit. You may also use this form for any other feedback."])),(t()(),Du(3,0,null,null,23,"form",[["action","https://docs.google.com/forms/d/e/1FAIpQLSdECibvCrZA6acaQC7-sThEpWfqBv_I_JnJnhOeDWRe8FIeQA/formResponse"],["method","POST"]],null,null,null,null,null)),(t()(),Du(4,0,null,null,3,"div",[],null,null,null,null,null)),(t()(),Du(5,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),Wa(-1,null,["Which character?"])),(t()(),Du(7,0,null,null,0,"input",[["name","entry.1453596592"],["type","text"]],null,null,null,null,null)),(t()(),Du(8,0,null,null,5,"div",[],null,null,null,null,null)),(t()(),Du(9,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),Wa(-1,null,["When was the sound/dialog made? Provide as many details as possible including but not limited to direct link and YouTube videos. "])),(t()(),Du(11,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),Wa(-1,null,["You may also use this to provide any other feedback. *"])),(t()(),Du(13,0,null,null,0,"textarea",[["name","entry.1681407176"],["required",""],["rows","4"]],null,null,null,null,null)),(t()(),Du(14,0,null,null,3,"div",[],null,null,null,null,null)),(t()(),Du(15,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),Wa(-1,null,["What is your reddit username?"])),(t()(),Du(17,0,null,null,0,"input",[["name","entry.112838211"],["type","text"]],null,null,null,null,null)),(t()(),Du(18,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),Du(19,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),Wa(-1,null,[" If your suggestion is added, we will add your name to the credits. "])),(t()(),Du(21,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),Du(22,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),Wa(-1,null,["If you are using IOS/Safari, sounds might not work offline. We are working on fixing this issue. "])),(t()(),Du(24,0,null,null,2,"button",[["class","blue"]],null,null,null,null,null)),(t()(),Du(25,0,null,null,0,"i",[["class","fas fa-paper-plane"]],null,null,null,null,null)),(t()(),Wa(-1,null,[" Submit"]))],null,null)}function Mg(t){return Qa(0,[(t()(),Du(0,0,null,null,1,"app-suggest",[],null,null,null,Rg,Ag)),Ea(1,114688,null,0,Og,[],null,null)],function(t,e){t(e,1,0)},null)}var Ig=Xu("app-suggest",Og,Mg,{},{},[]),Ng=function(){function t(t,e,n){this.globals=t,this.router=e,this.activatedRoute=n,this.mainTitle="Holt Soundboard",this.header=this.mainTitle,this.menuHidden=!0,this.charactersHidden=!0,this.pages=["About","Share","Settings"],this.options=["Dark theme toggle"]}return t.prototype.ngOnInit=function(){var t=this;this.SoundData=this.globals.SoundData,this.characters=this.globals.characters,this.router.events.subscribe(function(e){var n=window.location.pathname;if("/"===n)t.charactersHidden=!1,t.header=t.mainTitle;else{t.charactersHidden=!0;var r=n.split("/")[1],o=r.charAt(0).toUpperCase()+r.slice(1);t.header='<i class="fas fa-chevron-left"></i> '+o}})},t.prototype.playRandom=function(){var t=this.characters[Math.round(Math.random()*(this.characters.length-1))],e=this.SoundData[t][Math.floor(Math.random()*this.characters.length)-1];void 0===e?(console.log("undef"),this.playRandom()):this.globals.playSound(t,e)},t.prototype.toggleMenu=function(){this.menuHidden=!this.menuHidden},t.prototype.goToPage=function(t){this.router.navigate(["/"+t.toLowerCase()]),this.menuHidden=!0},t.prototype.toggleOption=function(t){},t}(),Dg=uu({encapsulation:0,styles:[["[_ngcontent-%COMP%]::-webkit-scrollbar{display:none}nav[_ngcontent-%COMP%]{padding:var(--main-padding);width:100%;background-color:var(--navbar-background-color);color:var(--navbar-text-color)}nav[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:1.6rem;font-weight:900;letter-spacing:1.9px;height:100%}nav[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] .left[_ngcontent-%COMP%]{display:inline}nav[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] .right[_ngcontent-%COMP%]{float:right;justify-self:end;font-size:1.4rem}nav[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] .right[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{padding-left:1rem}nav[_ngcontent-%COMP%] .characters[_ngcontent-%COMP%]{margin-top:10px;font-size:1rem;overflow:scroll}nav[_ngcontent-%COMP%] .characters[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:unset}nav[_ngcontent-%COMP%] .characters[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{text-align:center;display:inline;white-space:nowrap}nav[_ngcontent-%COMP%] .characters[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:hover{text-decoration:underline}nav[_ngcontent-%COMP%] .characters[_ngcontent-%COMP%] div[_ngcontent-%COMP%] + div[_ngcontent-%COMP%]{margin-left:calc(var(--main-padding) * 1.5)}.menu[_ngcontent-%COMP%]{position:absolute;top:3.6rem;right:1rem;background-color:var(--menu-background-color);color:var(--text-color);border-radius:4px;font-size:1rem}.menu[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border-radius:4px;padding:1rem}.menu[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:hover{background-color:var(--menu-background-color-hover)}@media only screen and (max-width:650px){nav[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] .right[_ngcontent-%COMP%]{margin-right:6px}.menu[_ngcontent-%COMP%]{font-size:1.5rem}}@media only screen and (max-width:355px){nav[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:1.4rem}}@media only screen and (max-width:335px){nav[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:1.2rem}}"]],data:{}});function jg(t){return Qa(0,[(t()(),Du(0,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),Du(1,0,null,null,1,"a",[],[[8,"href",4]],null,null,null,null)),(t()(),Wa(2,null,["",""]))],null,function(t,e){t(e,1,0,Mu(1,"#",e.context.$implicit,"")),t(e,2,0,e.context.$implicit)})}function Lg(t){return Qa(0,[(t()(),Du(0,0,null,null,1,"div",[],null,[[null,"click"],[null,"mouseup"]],function(t,e,n){var r=!0,o=t.component;return"click"===e&&(r=!1!==o.goToPage(t.context.$implicit)&&r),"mouseup"===e&&(r=!1!==o.goToPage(t.context.$implicit)&&r),r},null,null)),(t()(),Wa(1,null,[" "," "]))],null,function(t,e){t(e,1,0,e.context.$implicit)})}function Hg(t){return Qa(0,[(t()(),Du(0,0,null,null,9,"nav",[],null,null,null,null,null)),(t()(),Du(1,0,null,null,5,"div",[["class","title"]],null,null,null,null,null)),(t()(),Du(2,0,null,null,1,"div",[["class","left"],["routerLink",""]],[[8,"innerHTML",1]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==ca(t,3).onClick()&&r),r},null,null)),Ea(3,16384,null,0,qf,[Wf,Lh,[8,null],yr,fr],{routerLink:[0,"routerLink"]},null),(t()(),Du(4,0,null,null,2,"div",[["class","right"]],null,null,null,null,null)),(t()(),Du(5,0,null,null,0,"i",[["class","fas fa-random"]],null,[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.playRandom()&&r),r},null,null)),(t()(),Du(6,0,null,null,0,"i",[["class","fas fa-ellipsis-v"]],null,[[null,"mousedown"]],function(t,e,n){var r=!0;return"mousedown"===e&&(r=!1!==t.component.toggleMenu()&&r),r},null,null)),(t()(),Du(7,0,null,null,2,"div",[["class","characters"]],[[2,"hidden",null]],null,null,null,null)),(t()(),Nu(16777216,null,null,1,null,jg)),Ea(9,278528,null,0,pc,[gi,Ur,Ii],{ngForOf:[0,"ngForOf"]},null),(t()(),Du(10,0,null,null,2,"div",[["class","menu"]],[[2,"hidden",null]],null,null,null,null)),(t()(),Nu(16777216,null,null,1,null,Lg)),Ea(12,278528,null,0,pc,[gi,Ur,Ii],{ngForOf:[0,"ngForOf"]},null)],function(t,e){var n=e.component;t(e,3,0,""),t(e,9,0,n.characters),t(e,12,0,n.pages)},function(t,e){var n=e.component;t(e,2,0,n.header),t(e,7,0,n.charactersHidden),t(e,10,0,n.menuHidden)})}function Ug(t){return new I(function(e){var n;try{n=t()}catch(r){return void e.error(r)}return(n?ot(n):ul()).subscribe(e)})}function Fg(t,e,n,r){return f(n)&&(r=n,n=void 0),r?Fg(t,e,n).pipe(tt(function(t){return p(t)?r.apply(void 0,t):r(t)})):new I(function(r){!function t(e,n,r,o,i){var u;if(function(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(e)){var a=e;e.addEventListener(n,r,i),u=function(){return a.removeEventListener(n,r,i)}}else if(function(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(e)){var s=e;e.on(n,r),u=function(){return s.off(n,r)}}else if(function(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(e)){var l=e;e.addListener(n,r),u=function(){return l.removeListener(n,r)}}else{if(!e||!e.length)throw new TypeError("Invalid event target");for(var c=0,p=e.length;c<p;c++)t(e[c],n,r,o,i)}o.add(u)}(t,e,function(t){r.next(arguments.length>1?Array.prototype.slice.call(arguments):t)},r,n)})}Object;var zg=new I(A),Bg="Service workers are disabled or not supported by this browser",Vg=function(){function t(t){if(this.serviceWorker=t,t){var e=Fg(t,"controllerchange").pipe(tt(function(){return t.controller})),n=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 1===t.length||2===t.length&&z(t[1])?ot(t[0]):pl()(al.apply(void 0,t))}(Ug(function(){return al(t.controller)}),e);this.worker=n.pipe(hl(function(t){return!!t})),this.registration=this.worker.pipe(Ul(function(){return t.getRegistration()}));var r=Fg(t,"message").pipe(tt(function(t){return t.data})).pipe(hl(function(t){return t&&t.type})).pipe(yt(new U));r.connect(),this.events=r}else this.worker=this.events=this.registration=(o=Bg,Ug(function(){return t=new Error(o),new I(function(e){return e.error(t)});var t}));var o}return t.prototype.postMessage=function(t,e){return this.worker.pipe(Dl(1),wl(function(n){n.postMessage(i({action:t},e))})).toPromise().then(function(){})},t.prototype.postMessageWithStatus=function(t,e,n){var r=this.waitForStatus(n),o=this.postMessage(t,e);return Promise.all([r,o]).then(function(){})},t.prototype.generateNonce=function(){return Math.round(1e7*Math.random())},t.prototype.eventsOfType=function(t){return this.events.pipe(hl(function(e){return e.type===t}))},t.prototype.nextEventOfType=function(t){return this.eventsOfType(t).pipe(Dl(1))},t.prototype.waitForStatus=function(t){return this.eventsOfType("STATUS").pipe(hl(function(e){return e.nonce===t}),Dl(1),tt(function(t){if(!t.status)throw new Error(t.error)})).toPromise()},Object.defineProperty(t.prototype,"isEnabled",{get:function(){return!!this.serviceWorker},enumerable:!0,configurable:!0}),t}(),Wg=function(){function t(t){if(this.sw=t,this.subscriptionChanges=new U,!t.isEnabled)return this.messages=zg,void(this.subscription=zg);this.messages=this.sw.eventsOfType("PUSH").pipe(tt(function(t){return t.data})),this.pushManager=this.sw.registration.pipe(tt(function(t){return t.pushManager}));var e=this.pushManager.pipe(Ul(function(t){return t.getSubscription()}));this.subscription=ct(e,this.subscriptionChanges)}return Object.defineProperty(t.prototype,"isEnabled",{get:function(){return this.sw.isEnabled},enumerable:!0,configurable:!0}),t.prototype.requestSubscription=function(t){var e=this;if(!this.sw.isEnabled)return Promise.reject(new Error(Bg));for(var n={userVisibleOnly:!0},r=this.decodeBase64(t.serverPublicKey.replace(/_/g,"/").replace(/-/g,"+")),o=new Uint8Array(new ArrayBuffer(r.length)),i=0;i<r.length;i++)o[i]=r.charCodeAt(i);return n.applicationServerKey=o,this.pushManager.pipe(Ul(function(t){return t.subscribe(n)}),Dl(1)).toPromise().then(function(t){return e.subscriptionChanges.next(t),t})},t.prototype.unsubscribe=function(){var t=this;return this.sw.isEnabled?this.subscription.pipe(Dl(1),Ul(function(e){if(null===e)throw new Error("Not subscribed to push notifications.");return e.unsubscribe().then(function(e){if(!e)throw new Error("Unsubscribe failed!");t.subscriptionChanges.next(null)})})).toPromise():Promise.reject(new Error(Bg))},t.prototype.decodeBase64=function(t){return atob(t)},t}(),qg=function(){function t(t){if(this.sw=t,!t.isEnabled)return this.available=zg,void(this.activated=zg);this.available=this.sw.eventsOfType("UPDATE_AVAILABLE"),this.activated=this.sw.eventsOfType("UPDATE_ACTIVATED")}return Object.defineProperty(t.prototype,"isEnabled",{get:function(){return this.sw.isEnabled},enumerable:!0,configurable:!0}),t.prototype.checkForUpdate=function(){if(!this.sw.isEnabled)return Promise.reject(new Error(Bg));var t=this.sw.generateNonce();return this.sw.postMessageWithStatus("CHECK_FOR_UPDATES",{statusNonce:t},t)},t.prototype.activateUpdate=function(){if(!this.sw.isEnabled)return Promise.reject(new Error(Bg));var t=this.sw.generateNonce();return this.sw.postMessageWithStatus("ACTIVATE_UPDATE",{statusNonce:t},t)},t}(),Gg=function(){return function(){}}(),Qg=new Pt("NGSW_REGISTER_SCRIPT");function Zg(t,e,n,r){return function(){var o=t.get(ui);if(mc(r)&&"serviceWorker"in navigator&&!1!==n.enabled){var i=o.isStable.pipe(hl(function(t){return!!t}),Dl(1)).toPromise();navigator.serviceWorker.addEventListener("controllerchange",function(){null!==navigator.serviceWorker.controller&&navigator.serviceWorker.controller.postMessage({action:"INITIALIZE"})}),i.then(function(){return navigator.serviceWorker.register(e,{scope:n.scope})})}}}function Kg(t,e){return new Vg(mc(e)&&!1!==t.enabled?navigator.serviceWorker:void 0)}var Yg=function(){function t(){}var e;return e=t,t.register=function(t,n){return void 0===n&&(n={}),{ngModule:e,providers:[{provide:Qg,useValue:t},{provide:Gg,useValue:n},{provide:Vg,useFactory:Kg,deps:[Gg,Ao]},{provide:So,useFactory:Zg,deps:[$t,Qg,Gg,Ao],multi:!0}]}},t}(),Jg=uu({encapsulation:0,styles:[[""]],data:{}});function $g(t){return Qa(0,[(t()(),Du(0,0,null,null,1,"app-navbar",[],null,null,null,Hg,Dg)),Ea(1,114688,null,0,Ng,[Xd,Wf,Lh],null,null),(t()(),Du(2,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),Ea(3,212992,null,0,Kf,[Zf,gi,er,[8,null],vi],null,null)],function(t,e){t(e,1,0),t(e,3,0)},null)}function Xg(t){return Qa(0,[(t()(),Du(0,0,null,null,1,"app-root",[],null,null,null,$g,Jg)),Ea(1,49152,null,0,ol,[rl,qg],null,null)],null,null)}var tv=Xu("app-root",ol,Xg,{},{},[]),ev=function(){return function(){}}(),nv=tl(nl,[ol],function(t){return function(t){for(var e={},n=[],r=!1,o=0;o<t.length;o++){var i=t[o];i.token===kr&&!0===i.value&&(r=!0),1073741824&i.flags&&n.push(i.token),i.index=o,e[ru(i.token)]=i}return{factory:null,providersByKey:e,providers:t,modules:n,isRoot:r}}([Wu(512,er,nr,[[8,[wd,gg,Eg,sg,Pg,Ig,tv]],[3,er],or]),Wu(5120,Ui,Bi,[[3,Ui]]),Wu(4608,ac,sc,[Ui,[2,uc]]),Wu(5120,To,xo,[]),Wu(5120,Ii,Fi,[]),Wu(5120,Ni,zi,[]),Wu(4608,bp,wp,[gc]),Wu(6144,co,null,[bp]),Wu(4608,hp,dp,[]),Wu(5120,Uc,function(t,e,n,r,o,i,u,a){return[new cp(t,e,n),new mp(r),new gp(o,i,u,a)]},[gc,Vo,Ao,gc,gc,hp,Mo,[2,fp]]),Wu(4608,Fc,Fc,[Uc,Vo]),Wu(135680,Vc,Vc,[gc]),Wu(4608,Yc,Yc,[Fc,Vc]),Wu(6144,gr,null,[Yc]),Wu(6144,Bc,null,[Vc]),Wu(4608,Jo,Jo,[Vo]),Wu(5120,Lh,hd,[Wf]),Wu(4608,Xf,Xf,[]),Wu(6144,Jf,null,[Xf]),Wu(135680,td,td,[Wf,si,jo,$t,Jf]),Wu(4608,$f,$f,[]),Wu(5120,ed,ad,[Wf,bc,nd]),Wu(5120,vd,gd,[fd]),Wu(5120,Ro,function(t){return[t]},[vd]),Wu(4608,Qd,Zd,[gc,Ao,qd]),Wu(4608,Kd,Kd,[Qd,Gd]),Wu(5120,Ud,function(t){return[t]},[Kd]),Wu(4608,Vd,Vd,[]),Wu(6144,Bd,null,[Vd]),Wu(4608,Wd,Wd,[Bd]),Wu(6144,Cd,null,[Wd]),Wu(4608,_d,Yd,[Cd,$t]),Wu(4608,Ld,Ld,[_d]),Wu(5120,Vg,Kg,[Gg,Ao]),Wu(4608,Wg,Wg,[Vg]),Wu(4608,qg,qg,[Vg]),Wu(4608,Xd,Xd,[Ld]),Wu(4608,rl,rl,[]),Wu(1073742336,dc,dc,[]),Wu(1024,_o,Pp,[]),Wu(1024,ei,function(){return[id()]},[]),Wu(512,fd,fd,[$t]),Wu(256,Qg,"ngsw-worker.js",[]),Wu(256,Gg,{enabled:!0},[]),Wu(1024,So,function(t,e,n,r,o,u){return[(a=t,jc("probe",Hc),jc("coreTokens",i({},Lc,(a||[]).reduce(function(t,e){return t[e.name]=e.token,t},{}))),function(){return Hc}),dd(e),Zg(n,r,o,u)];var a},[[2,ei],fd,$t,Qg,Gg,Ao]),Wu(512,ko,ko,[[2,So]]),Wu(131584,ui,ui,[Vo,Mo,$t,_o,er,ko]),Wu(1073742336,Vi,Vi,[ui]),Wu(1073742336,Op,Op,[[3,Op]]),Wu(1024,rd,ld,[[3,Wf]]),Wu(512,gh,vh,[]),Wu(512,Zf,Zf,[]),Wu(256,nd,{},[]),Wu(1024,Yl,sd,[Zl,[2,Jl],nd]),Wu(512,$l,$l,[Yl]),Wu(512,jo,jo,[]),Wu(512,si,hi,[jo,[2,ci]]),Wu(1024,Lf,function(){return[[{path:"",component:lg},{path:"about",component:vg},{path:"share",component:rg},{path:"settings",component:Sg},{path:"suggest",component:Og}]]},[]),Wu(1024,Wf,pd,[ui,gh,Zf,$l,$t,si,jo,Lf,nd,[2,Uf],[2,Df]]),Wu(1073742336,ud,ud,[[2,rd],[2,Wf]]),Wu(1073742336,ev,ev,[]),Wu(1073742336,Jd,Jd,[]),Wu(1073742336,$d,$d,[]),Wu(1073742336,Yg,Yg,[]),Wu(1073742336,nl,nl,[]),Wu(256,kr,!0,[]),Wu(256,qd,"XSRF-TOKEN",[]),Wu(256,Gd,"X-XSRF-TOKEN",[])])});(function(){if(zr)throw new Error("Cannot enable prod mode after platform setup.");Fr=!1})(),xp().bootstrapModuleFactory(nv).catch(function(t){return console.error(t)})}},[[0,0]]]);