-
Notifications
You must be signed in to change notification settings - Fork 0
/
main-es5.66d5fa283dcd8af03bdc.js
1 lines (1 loc) · 270 KB
/
main-es5.66d5fa283dcd8af03bdc.js
1
(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{0:function(e,t,n){e.exports=n("zUnb")},zUnb:function(e,t,n){"use strict";n.r(t);var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function o(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function a(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var u=e.length-1;u>=0;u--)(o=e[u])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a}function u(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function l(e){var t="function"==typeof Symbol&&e[Symbol.iterator],n=0;return t?t.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}function s(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(u){o={error:u}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function c(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(s(arguments[t]));return e}var f=Array.isArray||function(e){return e&&"number"==typeof e.length};function p(e){return null!==e&&"object"==typeof e}function d(e){return"function"==typeof e}function h(e){return Error.call(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map(function(e,t){return t+1+") "+e.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=e,this}h.prototype=Object.create(Error.prototype);var g=h,v=function(){function e(e){this.closed=!1,this._parent=null,this._parents=null,this._subscriptions=null,e&&(this._unsubscribe=e)}var t;return e.prototype.unsubscribe=function(){var e,t=!1;if(!this.closed){var n=this._parent,r=this._parents,o=this._unsubscribe,i=this._subscriptions;this.closed=!0,this._parent=null,this._parents=null,this._subscriptions=null;for(var a=-1,u=r?r.length:0;n;)n.remove(this),n=++a<u&&r[a]||null;if(d(o))try{o.call(this)}catch(s){t=!0,e=s instanceof g?m(s.errors):[s]}if(f(i))for(a=-1,u=i.length;++a<u;){var l=i[a];if(p(l))try{l.unsubscribe()}catch(s){t=!0,e=e||[],s instanceof g?e=e.concat(m(s.errors)):e.push(s)}}if(t)throw new g(e)}},e.prototype.add=function(t){var n=t;switch(typeof t){case"function":n=new e(t);case"object":if(n===this||n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if(!(n instanceof e)){var r=n;(n=new e)._subscriptions=[r]}break;default:if(!t)return e.EMPTY;throw new Error("unrecognized teardown "+t+" added to Subscription.")}if(n._addParent(this)){var o=this._subscriptions;o?o.push(n):this._subscriptions=[n]}return n},e.prototype.remove=function(e){var t=this._subscriptions;if(t){var n=t.indexOf(e);-1!==n&&t.splice(n,1)}},e.prototype._addParent=function(e){var t=this._parent,n=this._parents;return t!==e&&(t?n?-1===n.indexOf(e)&&(n.push(e),!0):(this._parents=[e],!0):(this._parent=e,!0))},e.EMPTY=((t=new e).closed=!0,t),e}();function m(e){return e.reduce(function(e,t){return e.concat(t instanceof g?t.errors:t)},[])}var y=!1,_={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){y=e},get useDeprecatedSynchronousErrorHandling(){return y}};function b(e){setTimeout(function(){throw e})}var w={closed:!0,next:function(e){},error:function(e){if(_.useDeprecatedSynchronousErrorHandling)throw e;b(e)},complete:function(){}},C="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random(),x=function(e){function t(n,r,o){var i=e.call(this)||this;switch(i.syncErrorValue=null,i.syncErrorThrown=!1,i.syncErrorThrowable=!1,i.isStopped=!1,arguments.length){case 0:i.destination=w;break;case 1:if(!n){i.destination=w;break}if("object"==typeof n){n instanceof t?(i.syncErrorThrowable=n.syncErrorThrowable,i.destination=n,n.add(i)):(i.syncErrorThrowable=!0,i.destination=new S(i,n));break}default:i.syncErrorThrowable=!0,i.destination=new S(i,n,r,o)}return i}return o(t,e),t.prototype[C]=function(){return this},t.create=function(e,n,r){var o=new t(e,n,r);return o.syncErrorThrowable=!1,o},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this))},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){this.destination.error(e),this.unsubscribe()},t.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},t.prototype._unsubscribeAndRecycle=function(){var e=this._parent,t=this._parents;return this._parent=null,this._parents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parent=e,this._parents=t,this},t}(v),S=function(e){function t(t,n,r,o){var i,a=e.call(this)||this;a._parentSubscriber=t;var u=a;return d(n)?i=n:n&&(i=n.next,r=n.error,o=n.complete,n!==w&&(d((u=Object.create(n)).unsubscribe)&&a.add(u.unsubscribe.bind(u)),u.unsubscribe=a.unsubscribe.bind(a))),a._context=u,a._next=i,a._error=r,a._complete=o,a}return o(t,e),t.prototype.next=function(e){if(!this.isStopped&&this._next){var t=this._parentSubscriber;_.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}},t.prototype.error=function(e){if(!this.isStopped){var t=this._parentSubscriber,n=_.useDeprecatedSynchronousErrorHandling;if(this._error)n&&t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else if(t.syncErrorThrowable)n?(t.syncErrorValue=e,t.syncErrorThrown=!0):b(e),this.unsubscribe();else{if(this.unsubscribe(),n)throw e;b(e)}}},t.prototype.complete=function(){var e=this;if(!this.isStopped){var t=this._parentSubscriber;if(this._complete){var n=function(){return e._complete.call(e._context)};_.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,n),this.unsubscribe()):(this.__tryOrUnsub(n),this.unsubscribe())}else this.unsubscribe()}},t.prototype.__tryOrUnsub=function(e,t){try{e.call(this._context,t)}catch(n){if(this.unsubscribe(),_.useDeprecatedSynchronousErrorHandling)throw n;b(n)}},t.prototype.__tryOrSetError=function(e,t,n){if(!_.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,n)}catch(r){return _.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=r,e.syncErrorThrown=!0,!0):(b(r),!0)}return!1},t.prototype._unsubscribe=function(){var e=this._parentSubscriber;this._context=null,this._parentSubscriber=null,e.unsubscribe()},t}(x),E="function"==typeof Symbol&&Symbol.observable||"@@observable";function P(){}function O(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return T(e)}function T(e){return e?1===e.length?e[0]:function(t){return e.reduce(function(e,t){return t(e)},t)}:P}var k=function(){function e(e){this._isScalar=!1,e&&(this._subscribe=e)}return e.prototype.lift=function(t){var n=new e;return n.source=this,n.operator=t,n},e.prototype.subscribe=function(e,t,n){var r=this.operator,o=function(e,t,n){if(e){if(e instanceof x)return e;if(e[C])return e[C]()}return e||t||n?new x(e,t,n):new x(w)}(e,t,n);if(o.add(r?r.call(o,this.source):this.source||_.useDeprecatedSynchronousErrorHandling&&!o.syncErrorThrowable?this._subscribe(o):this._trySubscribe(o)),_.useDeprecatedSynchronousErrorHandling&&o.syncErrorThrowable&&(o.syncErrorThrowable=!1,o.syncErrorThrown))throw o.syncErrorValue;return o},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){_.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),function(e){for(;e;){var t=e.destination;if(e.closed||e.isStopped)return!1;e=t&&t instanceof x?t:null}return!0}(e)?e.error(t):console.warn(t)}},e.prototype.forEach=function(e,t){var n=this;return new(t=R(t))(function(t,r){var o;o=n.subscribe(function(t){try{e(t)}catch(n){r(n),o&&o.unsubscribe()}},r,t)})},e.prototype._subscribe=function(e){var t=this.source;return t&&t.subscribe(e)},e.prototype[E]=function(){return this},e.prototype.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return 0===e.length?this:T(e)(this)},e.prototype.toPromise=function(e){var t=this;return new(e=R(e))(function(e,n){var r;t.subscribe(function(e){return r=e},function(e){return n(e)},function(){return e(r)})})},e.create=function(t){return new e(t)},e}();function R(e){if(e||(e=_.Promise||Promise),!e)throw new Error("no Promise impl found");return e}function A(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}A.prototype=Object.create(Error.prototype);var M=A,I=function(e){function t(t,n){var r=e.call(this)||this;return r.subject=t,r.subscriber=n,r.closed=!1,r}return o(t,e),t.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var e=this.subject,t=e.observers;if(this.subject=null,t&&0!==t.length&&!e.isStopped&&!e.closed){var n=t.indexOf(this.subscriber);-1!==n&&t.splice(n,1)}}},t}(v),N=function(e){function t(t){var n=e.call(this,t)||this;return n.destination=t,n}return o(t,e),t}(x),j=function(e){function t(){var t=e.call(this)||this;return t.observers=[],t.closed=!1,t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return o(t,e),t.prototype[C]=function(){return new N(this)},t.prototype.lift=function(e){var t=new D(this,this);return t.operator=e,t},t.prototype.next=function(e){if(this.closed)throw new M;if(!this.isStopped)for(var t=this.observers,n=t.length,r=t.slice(),o=0;o<n;o++)r[o].next(e)},t.prototype.error=function(e){if(this.closed)throw new M;this.hasError=!0,this.thrownError=e,this.isStopped=!0;for(var t=this.observers,n=t.length,r=t.slice(),o=0;o<n;o++)r[o].error(e);this.observers.length=0},t.prototype.complete=function(){if(this.closed)throw new M;this.isStopped=!0;for(var e=this.observers,t=e.length,n=e.slice(),r=0;r<t;r++)n[r].complete();this.observers.length=0},t.prototype.unsubscribe=function(){this.isStopped=!0,this.closed=!0,this.observers=null},t.prototype._trySubscribe=function(t){if(this.closed)throw new M;return e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){if(this.closed)throw new M;return this.hasError?(e.error(this.thrownError),v.EMPTY):this.isStopped?(e.complete(),v.EMPTY):(this.observers.push(e),new I(this,e))},t.prototype.asObservable=function(){var e=new k;return e.source=this,e},t.create=function(e,t){return new D(e,t)},t}(k),D=function(e){function t(t,n){var r=e.call(this)||this;return r.destination=t,r.source=n,r}return o(t,e),t.prototype.next=function(e){var t=this.destination;t&&t.next&&t.next(e)},t.prototype.error=function(e){var t=this.destination;t&&t.error&&this.destination.error(e)},t.prototype.complete=function(){var e=this.destination;e&&e.complete&&this.destination.complete()},t.prototype._subscribe=function(e){return this.source?this.source.subscribe(e):v.EMPTY},t}(j);function U(e){return e&&"function"==typeof e.schedule}var L=function(e){function t(t,n,r){var o=e.call(this)||this;return o.parent=t,o.outerValue=n,o.outerIndex=r,o.index=0,o}return o(t,e),t.prototype._next=function(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)},t.prototype._error=function(e){this.parent.notifyError(e,this),this.unsubscribe()},t.prototype._complete=function(){this.parent.notifyComplete(this),this.unsubscribe()},t}(x),V=function(e){return function(t){for(var n=0,r=e.length;n<r&&!t.closed;n++)t.next(e[n]);t.closed||t.complete()}},H=function(e){return function(t){return e.then(function(e){t.closed||(t.next(e),t.complete())},function(e){return t.error(e)}).then(null,b),t}};function z(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}var F=z(),B=function(e){return function(t){for(var n=e[F]();;){var r=n.next();if(r.done){t.complete();break}if(t.next(r.value),t.closed)break}return"function"==typeof n.return&&t.add(function(){n.return&&n.return()}),t}},q=function(e){return function(t){var n=e[E]();if("function"!=typeof n.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return n.subscribe(t)}},Z=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e};function G(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}var W=function(e){if(e instanceof k)return function(t){return e._isScalar?(t.next(e.value),void t.complete()):e.subscribe(t)};if(e&&"function"==typeof e[E])return q(e);if(Z(e))return V(e);if(G(e))return H(e);if(e&&"function"==typeof e[F])return B(e);var t=p(e)?"an invalid object":"'"+e+"'";throw new TypeError("You provided "+t+" where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.")};function Q(e,t,n,r,o){if(void 0===o&&(o=new L(e,n,r)),!o.closed)return W(t)(o)}var K=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.notifyNext=function(e,t,n,r,o){this.destination.next(t)},t.prototype.notifyError=function(e,t){this.destination.error(e)},t.prototype.notifyComplete=function(e){this.destination.complete()},t}(x);function Y(e,t){return function(n){if("function"!=typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new J(e,t))}}var J=function(){function e(e,t){this.project=e,this.thisArg=t}return e.prototype.call=function(e,t){return t.subscribe(new $(e,this.project,this.thisArg))},e}(),$=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.project=n,o.count=0,o.thisArg=r||o,o}return o(t,e),t.prototype._next=function(e){var t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(t)},t}(x);function X(e,t){return new k(t?function(n){var r=new v,o=0;return r.add(t.schedule(function(){o!==e.length?(n.next(e[o++]),n.closed||r.add(this.schedule())):n.complete()})),r}:V(e))}function ee(e,t){if(!t)return e instanceof k?e:new k(W(e));if(null!=e){if(function(e){return e&&"function"==typeof e[E]}(e))return function(e,t){return new k(t?function(n){var r=new v;return r.add(t.schedule(function(){var o=e[E]();r.add(o.subscribe({next:function(e){r.add(t.schedule(function(){return n.next(e)}))},error:function(e){r.add(t.schedule(function(){return n.error(e)}))},complete:function(){r.add(t.schedule(function(){return n.complete()}))}}))})),r}:q(e))}(e,t);if(G(e))return function(e,t){return new k(t?function(n){var r=new v;return r.add(t.schedule(function(){return e.then(function(e){r.add(t.schedule(function(){n.next(e),r.add(t.schedule(function(){return n.complete()}))}))},function(e){r.add(t.schedule(function(){return n.error(e)}))})})),r}:H(e))}(e,t);if(Z(e))return X(e,t);if(function(e){return e&&"function"==typeof e[F]}(e)||"string"==typeof e)return function(e,t){if(!e)throw new Error("Iterable cannot be null");return new k(t?function(n){var r,o=new v;return o.add(function(){r&&"function"==typeof r.return&&r.return()}),o.add(t.schedule(function(){r=e[F](),o.add(t.schedule(function(){if(!n.closed){var e,t;try{var o=r.next();e=o.value,t=o.done}catch(i){return void n.error(i)}t?n.complete():(n.next(e),this.schedule())}}))})),o}:B(e))}(e,t)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}function te(e,t,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),"function"==typeof t?function(r){return r.pipe(te(function(n,r){return ee(e(n,r)).pipe(Y(function(e,o){return t(n,e,r,o)}))},n))}:("number"==typeof t&&(n=t),function(t){return t.lift(new ne(e,n))})}var ne=function(){function e(e,t){void 0===t&&(t=Number.POSITIVE_INFINITY),this.project=e,this.concurrent=t}return e.prototype.call=function(e,t){return t.subscribe(new re(e,this.project,this.concurrent))},e}(),re=function(e){function t(t,n,r){void 0===r&&(r=Number.POSITIVE_INFINITY);var o=e.call(this,t)||this;return o.project=n,o.concurrent=r,o.hasCompleted=!1,o.buffer=[],o.active=0,o.index=0,o}return o(t,e),t.prototype._next=function(e){this.active<this.concurrent?this._tryNext(e):this.buffer.push(e)},t.prototype._tryNext=function(e){var t,n=this.index++;try{t=this.project(e,n)}catch(r){return void this.destination.error(r)}this.active++,this._innerSub(t,e,n)},t.prototype._innerSub=function(e,t,n){var r=new L(this,void 0,void 0);this.destination.add(r),Q(this,e,t,n,r)},t.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()},t.prototype.notifyNext=function(e,t,n,r,o){this.destination.next(t)},t.prototype.notifyComplete=function(e){var t=this.buffer;this.remove(e),this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},t}(K);function oe(e){return e}function ie(e){return void 0===e&&(e=Number.POSITIVE_INFINITY),te(oe,e)}function ae(){return function(e){return e.lift(new ue(e))}}var ue=function(){function e(e){this.connectable=e}return e.prototype.call=function(e,t){var n=this.connectable;n._refCount++;var r=new le(e,n),o=t.subscribe(r);return r.closed||(r.connection=n.connect()),o},e}(),le=function(e){function t(t,n){var r=e.call(this,t)||this;return r.connectable=n,r}return o(t,e),t.prototype._unsubscribe=function(){var e=this.connectable;if(e){this.connectable=null;var t=e._refCount;if(t<=0)this.connection=null;else if(e._refCount=t-1,t>1)this.connection=null;else{var n=this.connection,r=e._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}else this.connection=null},t}(x),se=function(e){function t(t,n){var r=e.call(this)||this;return r.source=t,r.subjectFactory=n,r._refCount=0,r._isComplete=!1,r}return o(t,e),t.prototype._subscribe=function(e){return this.getSubject().subscribe(e)},t.prototype.getSubject=function(){var e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject},t.prototype.connect=function(){var e=this._connection;return e||(this._isComplete=!1,(e=this._connection=new v).add(this.source.subscribe(new fe(this.getSubject(),this))),e.closed?(this._connection=null,e=v.EMPTY):this._connection=e),e},t.prototype.refCount=function(){return ae()(this)},t}(k).prototype,ce={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:se._subscribe},_isComplete:{value:se._isComplete,writable:!0},getSubject:{value:se.getSubject},connect:{value:se.connect},refCount:{value:se.refCount}},fe=function(e){function t(t,n){var r=e.call(this,t)||this;return r.connectable=n,r}return o(t,e),t.prototype._error=function(t){this._unsubscribe(),e.prototype._error.call(this,t)},t.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),e.prototype._complete.call(this)},t.prototype._unsubscribe=function(){var e=this.connectable;if(e){this.connectable=null;var t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}},t}(N);function pe(){return new j}var de="__parameters__";function he(e,t,n){var r=function(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(e){var r=e.apply(void 0,c(t));for(var o in r)this[o]=r[o]}}}(t);function o(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(this instanceof o)return r.apply(this,t),this;var i=new((e=o).bind.apply(e,c([void 0],t)));return a.annotation=i,a;function a(e,t,n){for(var r=e.hasOwnProperty(de)?e[de]:Object.defineProperty(e,de,{value:[]})[de];r.length<=n;)r.push(null);return(r[n]=r[n]||[]).push(i),e}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o}var ge=he("Inject",function(e){return{token:e}}),ve=he("Optional"),me=he("Self"),ye=he("SkipSelf"),_e=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}({});function be(e){for(var t in e)if(e[t]===be)return t;throw Error("Could not find renamed property on target object.")}function we(e){return{providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Ce(e){return e&&e.hasOwnProperty(xe)?e[xe]:null}var xe=be({ngInjectableDef:be});function Se(e){if("string"==typeof e)return e;if(e instanceof Array)return"["+e.map(Se).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return""+e.overriddenName;if(e.name)return""+e.name;var t=e.toString();if(null==t)return""+t;var n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}var Ee=be({__forward_ref__:be});function Pe(e){return e.__forward_ref__=Pe,e.toString=function(){return Se(this())},e}function Oe(e){var t=e;return"function"==typeof t&&t.hasOwnProperty(Ee)&&t.__forward_ref__===Pe?t():e}function Te(){var e="undefined"!=typeof globalThis&&globalThis,t="undefined"!=typeof window&&window,n="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,r="undefined"!=typeof global&&global;return e||r||t||n}var ke,Re=Te(),Ae=void 0;function Me(e){var t=Ae;return Ae=e,t}function Ie(e,t){return void 0===t&&(t=_e.Default),(ke||function(e,t){if(void 0===t&&(t=_e.Default),void 0===Ae)throw new Error("inject() must be called from an injection context");return null===Ae?function(e,t,n){var r=Ce(e);if(r&&"root"==r.providedIn)return void 0===r.value?r.value=r.factory():r.value;if(n&_e.Optional)return null;throw new Error("Injector: NOT_FOUND ["+Se(e)+"]")}(e,0,t):Ae.get(e,t&_e.Optional?null:void 0,t)})(e,t)}var Ne=function(){function e(e,t){this._desc=e,this.ngMetadataName="InjectionToken",this.ngInjectableDef=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.ngInjectableDef=we({providedIn:t.providedIn||"root",factory:t.factory}))}return e.prototype.toString=function(){return"InjectionToken "+this._desc},e}(),je="__source",De=new Object,Ue=new Ne("INJECTOR",-1),Le=function(){function e(){}return e.prototype.get=function(e,t){if(void 0===t&&(t=De),t===De){var n=new Error("NullInjectorError: No provider for "+Se(e)+"!");throw n.name="NullInjectorError",n}return t},e}(),Ve=function(){function e(){}return e.create=function(e,t){return Array.isArray(e)?new We(e,t):new We(e.providers,e.parent,e.name||null)},e.THROW_IF_NOT_FOUND=De,e.NULL=new Le,e.ngInjectableDef=we({providedIn:"any",factory:function(){return Ie(Ue)}}),e.__NG_ELEMENT_ID__=-1,e}(),He=function(e){return e},ze=[],Fe=He,Be=function(){return Array.prototype.slice.call(arguments)},qe=be({provide:String,useValue:be}),Ze=/\n/gm,Ge="\u0275",We=function(){function e(e,t,n){void 0===t&&(t=Ve.NULL),void 0===n&&(n=null),this.parent=t,this.source=n;var r=this._records=new Map;r.set(Ve,{token:Ve,fn:He,deps:ze,value:this,useNew:!1}),r.set(Ue,{token:Ue,fn:He,deps:ze,value:this,useNew:!1}),function e(t,n){if(n)if((n=Oe(n))instanceof Array)for(var r=0;r<n.length;r++)e(t,n[r]);else{if("function"==typeof n)throw Ye("Function/Class not supported",n);if(!n||"object"!=typeof n||!n.provide)throw Ye("Unexpected provider",n);var o=Oe(n.provide),i=function(e){var t=function(e){var t=ze,n=e.deps;if(n&&n.length){t=[];for(var r=0;r<n.length;r++){var o=6;if((l=Oe(n[r]))instanceof Array)for(var i=0,a=l;i<a.length;i++){var u=a[i];u instanceof ve||u==ve?o|=1:u instanceof ye||u==ye?o&=-3:u instanceof me||u==me?o&=-5:l=u instanceof ge?u.token:Oe(u)}t.push({token:l,options:o})}}else if(e.useExisting){var l;t=[{token:l=Oe(e.useExisting),options:6}]}else if(!(n||qe in e))throw Ye("'deps' required",e);return t}(e),n=He,r=ze,o=!1,i=Oe(e.provide);if(qe in e)r=e.useValue;else if(e.useFactory)n=e.useFactory;else if(e.useExisting);else if(e.useClass)o=!0,n=Oe(e.useClass);else{if("function"!=typeof i)throw Ye("StaticProvider does not have [useValue|useFactory|useExisting|useClass] or [provide] is not newable",e);o=!0,n=i}return{deps:t,fn:n,useNew:o,value:r}}(n);if(!0===n.multi){var a=t.get(o);if(a){if(a.fn!==Be)throw Qe(o)}else t.set(o,a={token:n.provide,deps:[],useNew:!1,fn:Be,value:ze});a.deps.push({token:o=n,options:6})}var u=t.get(o);if(u&&u.fn==Be)throw Qe(o);t.set(o,i)}}(r,e)}return e.prototype.get=function(e,t,n){void 0===n&&(n=_e.Default);var r=this._records.get(e);try{return function e(t,n,r,o,i,a){try{return function(t,n,r,o,i,a){var u,l;if(!n||a&_e.SkipSelf)a&_e.Self||(l=o.get(t,i,_e.Default));else{if((l=n.value)==Fe)throw Error(Ge+"Circular dependency");if(l===ze){n.value=Fe;var s=n.useNew,f=n.fn,p=n.deps,d=ze;if(p.length){d=[];for(var h=0;h<p.length;h++){var g=p[h],v=g.options,m=2&v?r.get(g.token):void 0;d.push(e(g.token,m,r,m||4&v?o:Ve.NULL,1&v?null:Ve.THROW_IF_NOT_FOUND,_e.Default))}}n.value=l=s?new((u=f).bind.apply(u,c([void 0],d))):f.apply(void 0,d)}}return l}(t,n,r,o,i,a)}catch(u){throw u instanceof Error||(u=new Error(u)),(u.ngTempTokenPath=u.ngTempTokenPath||[]).unshift(t),n&&n.value==Fe&&(n.value=ze),u}}(e,r,this._records,this.parent,t,n)}catch(o){return function(e,t,n,r){var o=e.ngTempTokenPath;throw t[je]&&o.unshift(t[je]),e.message=Ke("\n"+e.message,o,"StaticInjectorError",r),e.ngTokenPath=o,e.ngTempTokenPath=null,e}(o,e,0,this.source)}},e.prototype.toString=function(){var e=[];return this._records.forEach(function(t,n){return e.push(Se(n))}),"StaticInjector["+e.join(", ")+"]"},e}();function Qe(e){return Ye("Cannot mix multi providers and regular providers",e)}function Ke(e,t,n,r){void 0===r&&(r=null),e=e&&"\n"===e.charAt(0)&&e.charAt(1)==Ge?e.substr(2):e;var o=Se(t);if(t instanceof Array)o=t.map(Se).join(" -> ");else if("object"==typeof t){var i=[];for(var a in t)if(t.hasOwnProperty(a)){var u=t[a];i.push(a+":"+("string"==typeof u?JSON.stringify(u):Se(u)))}o="{"+i.join(", ")+"}"}return n+(r?"("+r+")":"")+"["+o+"]: "+e.replace(Ze,"\n ")}function Ye(e,t){return new Error(Ke(e,t,"StaticInjectorError"))}var Je="ngDebugContext",$e="ngOriginalError",Xe="ngErrorLogger",et=new Ne("AnalyzeForEntryComponents"),tt=function(e){return e[e.Emulated=0]="Emulated",e[e.Native=1]="Native",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}({}),nt=function(){return("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Re)}();function rt(e){return e[Je]}function ot(e){return e[$e]}function it(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];e.error.apply(e,c(t))}var at=function(){function e(){this._console=console}return e.prototype.handleError=function(e){var t=this._findOriginalError(e),n=this._findContext(e),r=function(e){return e[Xe]||it}(e);r(this._console,"ERROR",e),t&&r(this._console,"ORIGINAL ERROR",t),n&&r(this._console,"ERROR CONTEXT",n)},e.prototype._findContext=function(e){return e?rt(e)?rt(e):this._findContext(ot(e)):null},e.prototype._findOriginalError=function(e){for(var t=ot(e);t&&ot(t);)t=ot(t);return t},e}(),ut=!0,lt=!1;function st(){return lt=!0,ut}var ct=function(){function e(e){if(this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),this.inertBodyElement=this.inertDocument.body,null==this.inertBodyElement){var t=this.inertDocument.createElement("html");this.inertDocument.appendChild(t),this.inertBodyElement=this.inertDocument.createElement("body"),t.appendChild(this.inertBodyElement)}this.inertBodyElement.innerHTML='<svg><g onload="this.parentNode.remove()"></g></svg>',!this.inertBodyElement.querySelector||this.inertBodyElement.querySelector("svg")?(this.inertBodyElement.innerHTML='<svg><p><style><img src="</style><img src=x onerror=alert(1)//">',this.getInertBodyElement=this.inertBodyElement.querySelector&&this.inertBodyElement.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(e){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}return e.prototype.getInertBodyElement_XHR=function(e){e="<body><remove></remove>"+e+"</body>";try{e=encodeURI(e)}catch(r){return null}var t=new XMLHttpRequest;t.responseType="document",t.open("GET","data:text/html;charset=utf-8,"+e,!1),t.send(void 0);var n=t.response.body;return n.removeChild(n.firstChild),n},e.prototype.getInertBodyElement_DOMParser=function(e){e="<body><remove></remove>"+e+"</body>";try{var t=(new window.DOMParser).parseFromString(e,"text/html").body;return t.removeChild(t.firstChild),t}catch(n){return null}},e.prototype.getInertBodyElement_InertDocument=function(e){var t=this.inertDocument.createElement("template");return"content"in t?(t.innerHTML=e,t):(this.inertBodyElement.innerHTML=e,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(this.inertBodyElement),this.inertBodyElement)},e.prototype.stripCustomNsAttrs=function(e){for(var t=e.attributes,n=t.length-1;0<n;n--){var r=t.item(n).name;"xmlns:ns1"!==r&&0!==r.indexOf("ns1:")||e.removeAttribute(r)}for(var o=e.firstChild;o;)o.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(o),o=o.nextSibling},e}(),ft=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:\/?#]*(?:[\/?#]|$))/gi,pt=/^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 dt(e){return(e=String(e)).match(ft)||e.match(pt)?e:(st()&&console.warn("WARNING: sanitizing unsafe URL value "+e+" (see http://g.co/ng/security#xss)"),"unsafe:"+e)}function ht(e){var t,n,r={};try{for(var o=l(e.split(",")),i=o.next();!i.done;i=o.next())r[i.value]=!0}catch(a){t={error:a}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}return r}function gt(){for(var e,t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var o={};try{for(var i=l(n),a=i.next();!a.done;a=i.next()){var u=a.value;for(var s in u)u.hasOwnProperty(s)&&(o[s]=!0)}}catch(c){e={error:c}}finally{try{a&&!a.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}return o}var vt,mt=ht("area,br,col,hr,img,wbr"),yt=ht("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),_t=ht("rp,rt"),bt=gt(_t,yt),wt=gt(mt,gt(yt,ht("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")),gt(_t,ht("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")),bt),Ct=ht("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),xt=ht("srcset"),St=gt(Ct,xt,ht("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"),ht("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),Et=ht("script,style,template"),Pt=function(){function e(){this.sanitizedSomething=!1,this.buf=[]}return e.prototype.sanitizeChildren=function(e){for(var t=e.firstChild,n=!0;t;)if(t.nodeType===Node.ELEMENT_NODE?n=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,n&&t.firstChild)t=t.firstChild;else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);var r=this.checkClobberedElement(t,t.nextSibling);if(r){t=r;break}t=this.checkClobberedElement(t,t.parentNode)}return this.buf.join("")},e.prototype.startElement=function(e){var t,n=e.nodeName.toLowerCase();if(!wt.hasOwnProperty(n))return this.sanitizedSomething=!0,!Et.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);for(var r=e.attributes,o=0;o<r.length;o++){var i=r.item(o),a=i.name,u=a.toLowerCase();if(St.hasOwnProperty(u)){var l=i.value;Ct[u]&&(l=dt(l)),xt[u]&&(t=l,l=(t=String(t)).split(",").map(function(e){return dt(e.trim())}).join(", ")),this.buf.push(" ",a,'="',kt(l),'"')}else this.sanitizedSomething=!0}return this.buf.push(">"),!0},e.prototype.endElement=function(e){var t=e.nodeName.toLowerCase();wt.hasOwnProperty(t)&&!mt.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))},e.prototype.chars=function(e){this.buf.push(kt(e))},e.prototype.checkClobberedElement=function(e,t){if(t&&(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: "+e.outerHTML);return t},e}(),Ot=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Tt=/([^\#-~ |!])/g;function kt(e){return e.replace(/&/g,"&").replace(Ot,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(Tt,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}function Rt(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var At=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}({}),Mt=function(){return function(){}}(),It=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"),Nt=/^url\(([^)]+)\)$/,jt=/([A-Z])/g;function Dt(e){try{return null!=e?e.toString().slice(0,30):e}catch(t){return"[ERROR] Exception while trying to serialize the value"}}function Ut(e){return!!e&&"function"==typeof e.then}function Lt(e){return!!e&&"function"==typeof e.subscribe}var Vt=null;function Ht(){if(!Vt){var e=Re.Symbol;if(e&&e.iterator)Vt=e.iterator;else for(var t=Object.getOwnPropertyNames(Map.prototype),n=0;n<t.length;++n){var r=t[n];"entries"!==r&&"size"!==r&&Map.prototype[r]===Map.prototype.entries&&(Vt=r)}}return Vt}function zt(e,t){return e===t||"number"==typeof e&&"number"==typeof t&&isNaN(e)&&isNaN(t)}function Ft(e,t){var n=qt(e),r=qt(t);return n&&r?function(e,t,n){for(var r=e[Ht()](),o=t[Ht()]();;){var i=r.next(),a=o.next();if(i.done&&a.done)return!0;if(i.done||a.done)return!1;if(!n(i.value,a.value))return!1}}(e,t,Ft):!(n||!e||"object"!=typeof e&&"function"!=typeof e||r||!t||"object"!=typeof t&&"function"!=typeof t)||zt(e,t)}var Bt=function(){function e(e){this.wrapped=e}return e.wrap=function(t){return new e(t)},e.unwrap=function(t){return e.isWrapped(t)?t.wrapped:t},e.isWrapped=function(t){return t instanceof e},e}();function qt(e){return!!Zt(e)&&(Array.isArray(e)||!(e instanceof Map)&&Ht()in e)}function Zt(e){return null!==e&&("function"==typeof e||"object"==typeof e)}var Gt=function(){function e(e,t,n){this.previousValue=e,this.currentValue=t,this.firstChange=n}return e.prototype.isFirstChange=function(){return this.firstChange},e}(),Wt=new Ne("The presence of this token marks an injector as being the root injector."),Qt=function(){return function(){}}(),Kt=function(){return function(){}}();function Yt(e){var t=Error("No component factory found for "+Se(e)+". Did you add it to @NgModule.entryComponents?");return t[Jt]=e,t}var Jt="ngComponent",$t=function(){function e(){}return e.prototype.resolveComponentFactory=function(e){throw Yt(e)},e}(),Xt=function(){function e(){}return e.NULL=new $t,e}(),en=function(){function e(e,t,n){this._parent=t,this._ngModule=n,this._factories=new Map;for(var r=0;r<e.length;r++){var o=e[r];this._factories.set(o.componentType,o)}}return e.prototype.resolveComponentFactory=function(e){var t=this._factories.get(e);if(!t&&this._parent&&(t=this._parent.resolveComponentFactory(e)),!t)throw Yt(e);return new tn(t,this._ngModule)},e}(),tn=function(e){function t(t,n){var r=e.call(this)||this;return r.factory=t,r.ngModule=n,r.selector=t.selector,r.componentType=t.componentType,r.ngContentSelectors=t.ngContentSelectors,r.inputs=t.inputs,r.outputs=t.outputs,r}return o(t,e),t.prototype.create=function(e,t,n,r){return this.factory.create(e,t,n,r||this.ngModule)},t}(Kt),nn=function(){return function(){}}(),rn=function(){return function(){}}();function on(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]}var an=function(){function e(e){this.nativeElement=e}return e.__NG_ELEMENT_ID__=function(){return un(e)},e}(),un=on,ln=function(){return function(){}}(),sn=function(){return function(){}}(),cn=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}({}),fn=function(){function e(){}return e.__NG_ELEMENT_ID__=function(){return pn()},e}(),pn=on,dn=new(function(){return function(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}())("8.0.2"),hn=function(){function e(){}return e.prototype.supports=function(e){return qt(e)},e.prototype.create=function(e){return new vn(e)},e}(),gn=function(e,t){return t},vn=function(){function e(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||gn}return e.prototype.forEachItem=function(e){var t;for(t=this._itHead;null!==t;t=t._next)e(t)},e.prototype.forEachOperation=function(e){for(var t=this._itHead,n=this._removalsHead,r=0,o=null;t||n;){var i=!n||t&&t.currentIndex<bn(n,r,o)?t:n,a=bn(i,r,o),u=i.currentIndex;if(i===n)r--,n=n._nextRemoved;else if(t=t._next,null==i.previousIndex)r++;else{o||(o=[]);var l=a-r,s=u-r;if(l!=s){for(var c=0;c<l;c++){var f=c<o.length?o[c]:o[c]=0,p=f+c;s<=p&&p<l&&(o[c]=f+1)}o[i.previousIndex]=s-l}}a!==u&&e(i,a,u)}},e.prototype.forEachPreviousItem=function(e){var t;for(t=this._previousItHead;null!==t;t=t._nextPrevious)e(t)},e.prototype.forEachAddedItem=function(e){var t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)},e.prototype.forEachMovedItem=function(e){var t;for(t=this._movesHead;null!==t;t=t._nextMoved)e(t)},e.prototype.forEachRemovedItem=function(e){var t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)},e.prototype.forEachIdentityChange=function(e){var t;for(t=this._identityChangesHead;null!==t;t=t._nextIdentityChange)e(t)},e.prototype.diff=function(e){if(null==e&&(e=[]),!qt(e))throw new Error("Error trying to diff '"+Se(e)+"'. Only arrays and iterables are allowed");return this.check(e)?this:null},e.prototype.onDestroy=function(){},e.prototype.check=function(e){var t=this;this._reset();var n,r,o,i=this._itHead,a=!1;if(Array.isArray(e)){this.length=e.length;for(var u=0;u<this.length;u++)o=this._trackByFn(u,r=e[u]),null!==i&&zt(i.trackById,o)?(a&&(i=this._verifyReinsertion(i,r,o,u)),zt(i.item,r)||this._addIdentityChange(i,r)):(i=this._mismatch(i,r,o,u),a=!0),i=i._next}else n=0,function(e,t){if(Array.isArray(e))for(var n=0;n<e.length;n++)t(e[n]);else for(var r=e[Ht()](),o=void 0;!(o=r.next()).done;)t(o.value)}(e,function(e){o=t._trackByFn(n,e),null!==i&&zt(i.trackById,o)?(a&&(i=t._verifyReinsertion(i,e,o,n)),zt(i.item,e)||t._addIdentityChange(i,e)):(i=t._mismatch(i,e,o,n),a=!0),i=i._next,n++}),this.length=n;return this._truncate(i),this.collection=e,this.isDirty},Object.defineProperty(e.prototype,"isDirty",{get:function(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead},enumerable:!0,configurable:!0}),e.prototype._reset=function(){if(this.isDirty){var e=void 0,t=void 0;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=t)e.previousIndex=e.currentIndex,t=e._nextMoved;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}},e.prototype._mismatch=function(e,t,n,r){var o;return null===e?o=this._itTail:(o=e._prev,this._remove(e)),null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(zt(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,o,r)):null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(zt(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,o,r)):e=this._addAfter(new mn(t,n),o,r),e},e.prototype._verifyReinsertion=function(e,t,n,r){var o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==o?e=this._reinsertAfter(o,e._prev,r):e.currentIndex!=r&&(e.currentIndex=r,this._addToMoves(e,r)),e},e.prototype._truncate=function(e){for(;null!==e;){var t=e._next;this._addToRemovals(this._unlink(e)),e=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)},e.prototype._reinsertAfter=function(e,t,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);var r=e._prevRemoved,o=e._nextRemoved;return null===r?this._removalsHead=o:r._nextRemoved=o,null===o?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(e,t,n),this._addToMoves(e,n),e},e.prototype._moveAfter=function(e,t,n){return this._unlink(e),this._insertAfter(e,t,n),this._addToMoves(e,n),e},e.prototype._addAfter=function(e,t,n){return this._insertAfter(e,t,n),this._additionsTail=null===this._additionsTail?this._additionsHead=e:this._additionsTail._nextAdded=e,e},e.prototype._insertAfter=function(e,t,n){var r=null===t?this._itHead:t._next;return e._next=r,e._prev=t,null===r?this._itTail=e:r._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new _n),this._linkedRecords.put(e),e.currentIndex=n,e},e.prototype._remove=function(e){return this._addToRemovals(this._unlink(e))},e.prototype._unlink=function(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);var t=e._prev,n=e._next;return null===t?this._itHead=n:t._next=n,null===n?this._itTail=t:n._prev=t,e},e.prototype._addToMoves=function(e,t){return e.previousIndex===t?e:(this._movesTail=null===this._movesTail?this._movesHead=e:this._movesTail._nextMoved=e,e)},e.prototype._addToRemovals=function(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new _n),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e},e.prototype._addIdentityChange=function(e,t){return e.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=e:this._identityChangesTail._nextIdentityChange=e,e},e}(),mn=function(){return function(e,t){this.item=e,this.trackById=t,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}(),yn=function(){function e(){this._head=null,this._tail=null}return e.prototype.add=function(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)},e.prototype.get=function(e,t){var n;for(n=this._head;null!==n;n=n._nextDup)if((null===t||t<=n.currentIndex)&&zt(n.trackById,e))return n;return null},e.prototype.remove=function(e){var t=e._prevDup,n=e._nextDup;return null===t?this._head=n:t._nextDup=n,null===n?this._tail=t:n._prevDup=t,null===this._head},e}(),_n=function(){function e(){this.map=new Map}return e.prototype.put=function(e){var t=e.trackById,n=this.map.get(t);n||(n=new yn,this.map.set(t,n)),n.add(e)},e.prototype.get=function(e,t){var n=this.map.get(e);return n?n.get(e,t):null},e.prototype.remove=function(e){var t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e},Object.defineProperty(e.prototype,"isEmpty",{get:function(){return 0===this.map.size},enumerable:!0,configurable:!0}),e.prototype.clear=function(){this.map.clear()},e}();function bn(e,t,n){var r=e.previousIndex;if(null===r)return r;var o=0;return n&&r<n.length&&(o=n[r]),r+t+o}var wn=function(){function e(){}return e.prototype.supports=function(e){return e instanceof Map||Zt(e)},e.prototype.create=function(){return new Cn},e}(),Cn=function(){function e(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}return Object.defineProperty(e.prototype,"isDirty",{get:function(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead},enumerable:!0,configurable:!0}),e.prototype.forEachItem=function(e){var t;for(t=this._mapHead;null!==t;t=t._next)e(t)},e.prototype.forEachPreviousItem=function(e){var t;for(t=this._previousMapHead;null!==t;t=t._nextPrevious)e(t)},e.prototype.forEachChangedItem=function(e){var t;for(t=this._changesHead;null!==t;t=t._nextChanged)e(t)},e.prototype.forEachAddedItem=function(e){var t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)},e.prototype.forEachRemovedItem=function(e){var t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)},e.prototype.diff=function(e){if(e){if(!(e instanceof Map||Zt(e)))throw new Error("Error trying to diff '"+Se(e)+"'. Only maps and objects are allowed")}else e=new Map;return this.check(e)?this:null},e.prototype.onDestroy=function(){},e.prototype.check=function(e){var t=this;this._reset();var n=this._mapHead;if(this._appendAfter=null,this._forEach(e,function(e,r){if(n&&n.key===r)t._maybeAddToChanges(n,e),t._appendAfter=n,n=n._next;else{var o=t._getOrCreateRecordForKey(r,e);n=t._insertBeforeOrAppend(n,o)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(var r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty},e.prototype._insertBeforeOrAppend=function(e,t){if(e){var n=e._prev;return t._next=e,t._prev=n,e._prev=t,n&&(n._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null},e.prototype._getOrCreateRecordForKey=function(e,t){if(this._records.has(e)){var n=this._records.get(e);this._maybeAddToChanges(n,t);var r=n._prev,o=n._next;return r&&(r._next=o),o&&(o._prev=r),n._next=null,n._prev=null,n}var i=new xn(e);return this._records.set(e,i),i.currentValue=t,this._addToAdditions(i),i},e.prototype._reset=function(){if(this.isDirty){var e=void 0;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;null!==e;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;null!=e;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}},e.prototype._maybeAddToChanges=function(e,t){zt(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))},e.prototype._addToAdditions=function(e){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)},e.prototype._addToChanges=function(e){null===this._changesHead?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)},e.prototype._forEach=function(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach(function(n){return t(e[n],n)})},e}(),xn=function(){return function(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}(),Sn=function(){function e(e){this.factories=e}return e.create=function(t,n){if(null!=n){var r=n.factories.slice();t=t.concat(r)}return new e(t)},e.extend=function(t){return{provide:e,useFactory:function(n){if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return e.create(t,n)},deps:[[e,new ye,new ve]]}},e.prototype.find=function(e){var t,n=this.factories.find(function(t){return t.supports(e)});if(null!=n)return n;throw new Error("Cannot find a differ supporting object '"+e+"' of type '"+((t=e).name||typeof t)+"'")},e.ngInjectableDef=we({providedIn:"root",factory:function(){return new e([new hn])}}),e}(),En=function(){function e(e){this.factories=e}return e.create=function(t,n){if(n){var r=n.factories.slice();t=t.concat(r)}return new e(t)},e.extend=function(t){return{provide:e,useFactory:function(n){if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return e.create(t,n)},deps:[[e,new ye,new ve]]}},e.prototype.find=function(e){var t=this.factories.find(function(t){return t.supports(e)});if(t)return t;throw new Error("Cannot find a differ supporting object '"+e+"'")},e.ngInjectableDef=we({providedIn:"root",factory:function(){return new e([new wn])}}),e}(),Pn=function(){function e(){}return e.__NG_ELEMENT_ID__=function(){return On()},e}(),On=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]},Tn=[new wn],kn=new Sn([new hn]),Rn=new En(Tn),An=function(){function e(){}return e.__NG_ELEMENT_ID__=function(){return Mn(e,an)},e}(),Mn=on,In=function(){function e(){}return e.__NG_ELEMENT_ID__=function(){return Nn(e,an)},e}(),Nn=on;function jn(e,t,n,r){var o="ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '"+t+"'. Current value: '"+n+"'.";return r&&(o+=" It seems like the view has been created after its parent and its children have been dirty checked. Has it been created in a change detection hook ?"),function(e,t){var n=new Error(e);return Dn(n,t),n}(o,e)}function Dn(e,t){e[Je]=t,e[Xe]=t.logError.bind(t)}function Un(e){return new Error("ViewDestroyedError: Attempt to use a destroyed view: "+e)}function Ln(e,t,n){var r=e.state,o=1792&r;return o===t?(e.state=-1793&r|n,e.initIndex=-1,!0):o===n}function Vn(e,t,n){return(1792&e.state)===t&&e.initIndex<=n&&(e.initIndex=n+1,!0)}function Hn(e,t){return e.nodes[t]}function zn(e,t){return e.nodes[t]}function Fn(e,t){return e.nodes[t]}function Bn(e,t){return e.nodes[t]}function qn(e,t){return e.nodes[t]}var Zn={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},Gn=function(){},Wn=new Map;function Qn(e){var t=Wn.get(e);return t||(t=Se(e)+"_"+Wn.size,Wn.set(e,t)),t}var Kn="$$undefined",Yn="$$empty";function Jn(e){return{id:Kn,styles:e.styles,encapsulation:e.encapsulation,data:e.data}}var $n=0;function Xn(e,t,n,r){return!(!(2&e.state)&&zt(e.oldValues[t.bindingIndex+n],r))}function er(e,t,n,r){return!!Xn(e,t,n,r)&&(e.oldValues[t.bindingIndex+n]=r,!0)}function tr(e,t,n,r){var o=e.oldValues[t.bindingIndex+n];if(1&e.state||!Ft(o,r)){var i=t.bindings[n].name;throw jn(Zn.createDebugContext(e,t.nodeIndex),i+": "+o,i+": "+r,0!=(1&e.state))}}function nr(e){for(var t=e;t;)2&t.def.flags&&(t.state|=8),t=t.viewContainerParent||t.parent}function rr(e,t){for(var n=e;n&&n!==t;)n.state|=64,n=n.viewContainerParent||n.parent}function or(e,t,n,r){try{return nr(33554432&e.def.nodes[t].flags?zn(e,t).componentView:e),Zn.handleEvent(e,t,n,r)}catch(o){e.root.errorHandler.handleError(o)}}function ir(e){return e.parent?zn(e.parent,e.parentNodeDef.nodeIndex):null}function ar(e){return e.parent?e.parentNodeDef.parent:null}function ur(e,t){switch(201347067&t.flags){case 1:return zn(e,t.nodeIndex).renderElement;case 2:return Hn(e,t.nodeIndex).renderText}}function lr(e){return!!e.parent&&!!(32768&e.parentNodeDef.flags)}function sr(e){return!(!e.parent||32768&e.parentNodeDef.flags)}function cr(e){var t={},n=0,r={};return e&&e.forEach(function(e){var o=s(e,2),i=o[0],a=o[1];"number"==typeof i?(t[i]=a,n|=function(e){return 1<<e%32}(i)):r[i]=a}),{matchedQueries:t,references:r,matchedQueryIds:n}}function fr(e,t){return e.map(function(e){var n,r,o;return Array.isArray(e)?(o=(n=s(e,2))[0],r=n[1]):(o=0,r=e),r&&("function"==typeof r||"object"==typeof r)&&t&&Object.defineProperty(r,je,{value:t,configurable:!0}),{flags:o,token:r,tokenKey:Qn(r)}})}function pr(e,t,n){var r=n.renderParent;return r?0==(1&r.flags)||0==(33554432&r.flags)||r.element.componentRendererType&&r.element.componentRendererType.encapsulation===tt.Native?zn(e,n.renderParent.nodeIndex).renderElement:void 0:t}var dr=new WeakMap;function hr(e){var t=dr.get(e);return t||((t=e(function(){return Gn})).factory=e,dr.set(e,t)),t}function gr(e,t,n,r,o){3===t&&(n=e.renderer.parentNode(ur(e,e.def.lastRenderRootNode))),vr(e,t,0,e.def.nodes.length-1,n,r,o)}function vr(e,t,n,r,o,i,a){for(var u=n;u<=r;u++){var l=e.def.nodes[u];11&l.flags&&yr(e,l,t,o,i,a),u+=l.childCount}}function mr(e,t,n,r,o,i){for(var a=e;a&&!lr(a);)a=a.parent;for(var u=a.parent,l=ar(a),s=l.nodeIndex+l.childCount,c=l.nodeIndex+1;c<=s;c++){var f=u.def.nodes[c];f.ngContentIndex===t&&yr(u,f,n,r,o,i),c+=f.childCount}if(!u.parent){var p=e.root.projectableNodes[t];if(p)for(c=0;c<p.length;c++)_r(e,p[c],n,r,o,i)}}function yr(e,t,n,r,o,i){if(8&t.flags)mr(e,t.ngContent.index,n,r,o,i);else{var a=ur(e,t);if(3===n&&33554432&t.flags&&48&t.bindingFlags?(16&t.bindingFlags&&_r(e,a,n,r,o,i),32&t.bindingFlags&&_r(zn(e,t.nodeIndex).componentView,a,n,r,o,i)):_r(e,a,n,r,o,i),16777216&t.flags)for(var u=zn(e,t.nodeIndex).viewContainer._embeddedViews,l=0;l<u.length;l++)gr(u[l],n,r,o,i);1&t.flags&&!t.element.name&&vr(e,n,t.nodeIndex+1,t.nodeIndex+t.childCount,r,o,i)}}function _r(e,t,n,r,o,i){var a=e.renderer;switch(n){case 1:a.appendChild(r,t);break;case 2:a.insertBefore(r,t,o);break;case 3:a.removeChild(r,t);break;case 0:i.push(t)}}var br=/^:([^:]+):(.+)$/;function wr(e){if(":"===e[0]){var t=e.match(br);return[t[1],t[2]]}return["",e]}function Cr(e){for(var t=0,n=0;n<e.length;n++)t|=e[n].flags;return t}var xr=new Object,Sr=Qn(Ve),Er=Qn(Ue),Pr=Qn(nn);function Or(e,t,n,r){return n=Oe(n),{index:-1,deps:fr(r,Se(t)),flags:e,token:t,value:n}}function Tr(e,t,n){void 0===n&&(n=Ve.THROW_IF_NOT_FOUND);var r,o,i=Me(e);try{if(8&t.flags)return t.token;if(2&t.flags&&(n=null),1&t.flags)return e._parent.get(t.token,n);var a=t.tokenKey;switch(a){case Sr:case Er:case Pr:return e}var u,l=e._def.providersByKey[a];if(l){var s=e._providers[l.index];return void 0===s&&(s=e._providers[l.index]=kr(e,l)),s===xr?void 0:s}if((u=Ce(t.token))&&(r=e,null!=(o=u).providedIn&&(function(e,t){return e._def.modules.indexOf(o.providedIn)>-1}(r)||"root"===o.providedIn&&r._def.isRoot))){var c=e._providers.length;return e._def.providers[c]=e._def.providersByKey[t.tokenKey]={flags:5120,value:u.factory,deps:[],index:c,token:t.token},e._providers[c]=xr,e._providers[c]=kr(e,e._def.providersByKey[t.tokenKey])}return 4&t.flags?n:e._parent.get(t.token,n)}finally{Me(i)}}function kr(e,t){var n;switch(201347067&t.flags){case 512:n=function(e,t,n){var r=n.length;switch(r){case 0:return new t;case 1:return new t(Tr(e,n[0]));case 2:return new t(Tr(e,n[0]),Tr(e,n[1]));case 3:return new t(Tr(e,n[0]),Tr(e,n[1]),Tr(e,n[2]));default:for(var o=new Array(r),i=0;i<r;i++)o[i]=Tr(e,n[i]);return new(t.bind.apply(t,c([void 0],o)))}}(e,t.value,t.deps);break;case 1024:n=function(e,t,n){var r=n.length;switch(r){case 0:return t();case 1:return t(Tr(e,n[0]));case 2:return t(Tr(e,n[0]),Tr(e,n[1]));case 3:return t(Tr(e,n[0]),Tr(e,n[1]),Tr(e,n[2]));default:for(var o=Array(r),i=0;i<r;i++)o[i]=Tr(e,n[i]);return t.apply(void 0,c(o))}}(e,t.value,t.deps);break;case 2048:n=Tr(e,t.deps[0]);break;case 256:n=t.value}return n===xr||null===n||"object"!=typeof n||131072&t.flags||"function"!=typeof n.ngOnDestroy||(t.flags|=131072),void 0===n?xr:n}function Rr(e,t){var n=e.viewContainer._embeddedViews;if((null==t||t>=n.length)&&(t=n.length-1),t<0)return null;var r=n[t];return r.viewContainerParent=null,Nr(n,t),Zn.dirtyParentQueries(r),Mr(r),r}function Ar(e,t,n){var r=t?ur(t,t.def.lastRenderRootNode):e.renderElement,o=n.renderer.parentNode(r),i=n.renderer.nextSibling(r);gr(n,2,o,i,void 0)}function Mr(e){gr(e,3,null,null,void 0)}function Ir(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Nr(e,t){t>=e.length-1?e.pop():e.splice(t,1)}var jr=new Object;function Dr(e,t,n,r,o,i){return new Ur(e,t,n,r,o,i)}var Ur=function(e){function t(t,n,r,o,i,a){var u=e.call(this)||this;return u.selector=t,u.componentType=n,u._inputs=o,u._outputs=i,u.ngContentSelectors=a,u.viewDefFactory=r,u}return o(t,e),Object.defineProperty(t.prototype,"inputs",{get:function(){var e=[],t=this._inputs;for(var n in t)e.push({propName:n,templateName:t[n]});return e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"outputs",{get:function(){var e=[];for(var t in this._outputs)e.push({propName:t,templateName:this._outputs[t]});return e},enumerable:!0,configurable:!0}),t.prototype.create=function(e,t,n,r){if(!r)throw new Error("ngModule should be provided");var o=hr(this.viewDefFactory),i=o.nodes[0].element.componentProvider.nodeIndex,a=Zn.createRootView(e,t||[],n,o,r,jr),u=Fn(a,i).instance;return n&&a.renderer.setAttribute(zn(a,0).renderElement,"ng-version",dn.full),new Lr(a,new Fr(a),u)},t}(Kt),Lr=function(e){function t(t,n,r){var o=e.call(this)||this;return o._view=t,o._viewRef=n,o._component=r,o._elDef=o._view.def.nodes[0],o.hostView=n,o.changeDetectorRef=n,o.instance=r,o}return o(t,e),Object.defineProperty(t.prototype,"location",{get:function(){return new an(zn(this._view,this._elDef.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return new Gr(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentType",{get:function(){return this._component.constructor},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){this._viewRef.destroy()},t.prototype.onDestroy=function(e){this._viewRef.onDestroy(e)},t}(Qt);function Vr(e,t,n){return new Hr(e,t,n)}var Hr=function(){function e(e,t,n){this._view=e,this._elDef=t,this._data=n,this._embeddedViews=[]}return Object.defineProperty(e.prototype,"element",{get:function(){return new an(this._data.renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return new Gr(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parentInjector",{get:function(){for(var e=this._view,t=this._elDef.parent;!t&&e;)t=ar(e),e=e.parent;return e?new Gr(e,t):new Gr(this._view,null)},enumerable:!0,configurable:!0}),e.prototype.clear=function(){for(var e=this._embeddedViews.length-1;e>=0;e--){var t=Rr(this._data,e);Zn.destroyView(t)}},e.prototype.get=function(e){var t=this._embeddedViews[e];if(t){var n=new Fr(t);return n.attachToViewContainerRef(this),n}return null},Object.defineProperty(e.prototype,"length",{get:function(){return this._embeddedViews.length},enumerable:!0,configurable:!0}),e.prototype.createEmbeddedView=function(e,t,n){var r=e.createEmbeddedView(t||{});return this.insert(r,n),r},e.prototype.createComponent=function(e,t,n,r,o){var i=n||this.parentInjector;o||e instanceof tn||(o=i.get(nn));var a=e.create(i,r,void 0,o);return this.insert(a.hostView,t),a},e.prototype.insert=function(e,t){if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var n,r,o,i,a=e;return i=(n=this._data).viewContainer._embeddedViews,null==(r=t)&&(r=i.length),(o=a._view).viewContainerParent=this._view,Ir(i,r,o),function(e,t){var n=ir(t);if(n&&n!==e&&!(16&t.state)){t.state|=16;var r=n.template._projectedViews;r||(r=n.template._projectedViews=[]),r.push(t),function(e,n){if(!(4&n.flags)){t.parent.def.nodeFlags|=4,n.flags|=4;for(var r=n.parent;r;)r.childFlags|=4,r=r.parent}}(0,t.parentNodeDef)}}(n,o),Zn.dirtyParentQueries(o),Ar(n,r>0?i[r-1]:null,o),a.attachToViewContainerRef(this),e},e.prototype.move=function(e,t){if(e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");var n,r,o,i,a,u=this._embeddedViews.indexOf(e._view);return o=t,a=(i=(n=this._data).viewContainer._embeddedViews)[r=u],Nr(i,r),null==o&&(o=i.length),Ir(i,o,a),Zn.dirtyParentQueries(a),Mr(a),Ar(n,o>0?i[o-1]:null,a),e},e.prototype.indexOf=function(e){return this._embeddedViews.indexOf(e._view)},e.prototype.remove=function(e){var t=Rr(this._data,e);t&&Zn.destroyView(t)},e.prototype.detach=function(e){var t=Rr(this._data,e);return t?new Fr(t):null},e}();function zr(e){return new Fr(e)}var Fr=function(){function e(e){this._view=e,this._viewContainerRef=null,this._appRef=null}return Object.defineProperty(e.prototype,"rootNodes",{get:function(){return gr(this._view,0,void 0,void 0,e=[]),e;var e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return this._view.context},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"destroyed",{get:function(){return 0!=(128&this._view.state)},enumerable:!0,configurable:!0}),e.prototype.markForCheck=function(){nr(this._view)},e.prototype.detach=function(){this._view.state&=-5},e.prototype.detectChanges=function(){var e=this._view.root.rendererFactory;e.begin&&e.begin();try{Zn.checkAndUpdateView(this._view)}finally{e.end&&e.end()}},e.prototype.checkNoChanges=function(){Zn.checkNoChangesView(this._view)},e.prototype.reattach=function(){this._view.state|=4},e.prototype.onDestroy=function(e){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(e)},e.prototype.destroy=function(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),Zn.destroyView(this._view)},e.prototype.detachFromAppRef=function(){this._appRef=null,Mr(this._view),Zn.dirtyParentQueries(this._view)},e.prototype.attachToAppRef=function(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e},e.prototype.attachToViewContainerRef=function(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e},e}();function Br(e,t){return new qr(e,t)}var qr=function(e){function t(t,n){var r=e.call(this)||this;return r._parentView=t,r._def=n,r}return o(t,e),t.prototype.createEmbeddedView=function(e){return new Fr(Zn.createEmbeddedView(this._parentView,this._def,this._def.element.template,e))},Object.defineProperty(t.prototype,"elementRef",{get:function(){return new an(zn(this._parentView,this._def.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),t}(An);function Zr(e,t){return new Gr(e,t)}var Gr=function(){function e(e,t){this.view=e,this.elDef=t}return e.prototype.get=function(e,t){return void 0===t&&(t=Ve.THROW_IF_NOT_FOUND),Zn.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:e,tokenKey:Qn(e)},t)},e}();function Wr(e){return new Qr(e.renderer)}var Qr=function(){function e(e){this.delegate=e}return e.prototype.selectRootElement=function(e){return this.delegate.selectRootElement(e)},e.prototype.createElement=function(e,t){var n=s(wr(t),2),r=this.delegate.createElement(n[1],n[0]);return e&&this.delegate.appendChild(e,r),r},e.prototype.createViewRoot=function(e){return e},e.prototype.createTemplateAnchor=function(e){var t=this.delegate.createComment("");return e&&this.delegate.appendChild(e,t),t},e.prototype.createText=function(e,t){var n=this.delegate.createText(t);return e&&this.delegate.appendChild(e,n),n},e.prototype.projectNodes=function(e,t){for(var n=0;n<t.length;n++)this.delegate.appendChild(e,t[n])},e.prototype.attachViewAfter=function(e,t){for(var n=this.delegate.parentNode(e),r=this.delegate.nextSibling(e),o=0;o<t.length;o++)this.delegate.insertBefore(n,t[o],r)},e.prototype.detachView=function(e){for(var t=0;t<e.length;t++){var n=e[t],r=this.delegate.parentNode(n);this.delegate.removeChild(r,n)}},e.prototype.destroyView=function(e,t){for(var n=0;n<t.length;n++)this.delegate.destroyNode(t[n])},e.prototype.listen=function(e,t,n){return this.delegate.listen(e,t,n)},e.prototype.listenGlobal=function(e,t,n){return this.delegate.listen(e,t,n)},e.prototype.setElementProperty=function(e,t,n){this.delegate.setProperty(e,t,n)},e.prototype.setElementAttribute=function(e,t,n){var r=s(wr(t),2),o=r[0],i=r[1];null!=n?this.delegate.setAttribute(e,i,n,o):this.delegate.removeAttribute(e,i,o)},e.prototype.setBindingDebugInfo=function(e,t,n){},e.prototype.setElementClass=function(e,t,n){n?this.delegate.addClass(e,t):this.delegate.removeClass(e,t)},e.prototype.setElementStyle=function(e,t,n){null!=n?this.delegate.setStyle(e,t,n):this.delegate.removeStyle(e,t)},e.prototype.invokeElementMethod=function(e,t,n){e[t].apply(e,n)},e.prototype.setText=function(e,t){this.delegate.setValue(e,t)},e.prototype.animate=function(){throw new Error("Renderer.animate is no longer supported!")},e}();function Kr(e,t,n,r){return new Yr(e,t,n,r)}var Yr=function(){function e(e,t,n,r){this._moduleType=e,this._parent=t,this._bootstrapComponents=n,this._def=r,this._destroyListeners=[],this._destroyed=!1,this.injector=this,function(e){for(var t=e._def,n=e._providers=new Array(t.providers.length),r=0;r<t.providers.length;r++){var o=t.providers[r];4096&o.flags||void 0===n[r]&&(n[r]=kr(e,o))}}(this)}return e.prototype.get=function(e,t,n){void 0===t&&(t=Ve.THROW_IF_NOT_FOUND),void 0===n&&(n=_e.Default);var r=0;return n&_e.SkipSelf?r|=1:n&_e.Self&&(r|=4),Tr(this,{token:e,tokenKey:Qn(e),flags:r},t)},Object.defineProperty(e.prototype,"instance",{get:function(){return this.get(this._moduleType)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentFactoryResolver",{get:function(){return this.get(Xt)},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){if(this._destroyed)throw new Error("The ng module "+Se(this.instance.constructor)+" has already been destroyed.");this._destroyed=!0,function(e,t){for(var n=e._def,r=new Set,o=0;o<n.providers.length;o++)if(131072&n.providers[o].flags){var i=e._providers[o];if(i&&i!==xr){var a=i.ngOnDestroy;"function"!=typeof a||r.has(i)||(a.apply(i),r.add(i))}}}(this),this._destroyListeners.forEach(function(e){return e()})},e.prototype.onDestroy=function(e){this._destroyListeners.push(e)},e}(),Jr=Qn(ln),$r=Qn(fn),Xr=Qn(an),eo=Qn(In),to=Qn(An),no=Qn(Pn),ro=Qn(Ve),oo=Qn(Ue);function io(e,t,n,r,o,i,a,u){var l=[];if(a)for(var c in a){var f=s(a[c],2);l[f[0]]={flags:8,name:c,nonMinifiedName:f[1],ns:null,securityContext:null,suffix:null}}var p=[];if(u)for(var d in u)p.push({type:1,propName:d,target:null,eventName:u[d]});return function(e,t,n,r,o,i,a,u,l){var s=cr(n),c=s.matchedQueries,f=s.references,p=s.matchedQueryIds;l||(l=[]),u||(u=[]),i=Oe(i);var d=fr(a,Se(o));return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:t,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:c,matchedQueryIds:p,references:f,ngContentIndex:-1,childCount:r,bindings:u,bindingFlags:Cr(u),outputs:l,element:null,provider:{token:o,value:i,deps:d},text:null,query:null,ngContent:null}}(e,t|=16384,n,r,o,o,i,l,p)}function ao(e,t){return co(e,t)}function uo(e,t){for(var n=e;n.parent&&!lr(n);)n=n.parent;return fo(n.parent,ar(n),!0,t.provider.value,t.provider.deps)}function lo(e,t){var n=fo(e,t.parent,(32768&t.flags)>0,t.provider.value,t.provider.deps);if(t.outputs.length)for(var r=0;r<t.outputs.length;r++){var o=t.outputs[r],i=n[o.propName];if(!Lt(i))throw new Error("@Output "+o.propName+" not initialized in '"+n.constructor.name+"'.");var a=i.subscribe(so(e,t.parent.nodeIndex,o.eventName));e.disposables[t.outputIndex+r]=a.unsubscribe.bind(a)}return n}function so(e,t,n){return function(r){return or(e,t,n,r)}}function co(e,t){var n=(8192&t.flags)>0,r=t.provider;switch(201347067&t.flags){case 512:return fo(e,t.parent,n,r.value,r.deps);case 1024:return function(e,t,n,r,o){var i=o.length;switch(i){case 0:return r();case 1:return r(ho(e,t,n,o[0]));case 2:return r(ho(e,t,n,o[0]),ho(e,t,n,o[1]));case 3:return r(ho(e,t,n,o[0]),ho(e,t,n,o[1]),ho(e,t,n,o[2]));default:for(var a=Array(i),u=0;u<i;u++)a[u]=ho(e,t,n,o[u]);return r.apply(void 0,c(a))}}(e,t.parent,n,r.value,r.deps);case 2048:return ho(e,t.parent,n,r.deps[0]);case 256:return r.value}}function fo(e,t,n,r,o){var i=o.length;switch(i){case 0:return new r;case 1:return new r(ho(e,t,n,o[0]));case 2:return new r(ho(e,t,n,o[0]),ho(e,t,n,o[1]));case 3:return new r(ho(e,t,n,o[0]),ho(e,t,n,o[1]),ho(e,t,n,o[2]));default:for(var a=new Array(i),u=0;u<i;u++)a[u]=ho(e,t,n,o[u]);return new(r.bind.apply(r,c([void 0],a)))}}var po={};function ho(e,t,n,r,o){if(void 0===o&&(o=Ve.THROW_IF_NOT_FOUND),8&r.flags)return r.token;var i=e;2&r.flags&&(o=null);var a=r.tokenKey;a===no&&(n=!(!t||!t.element.componentView)),t&&1&r.flags&&(n=!1,t=t.parent);for(var u=e;u;){if(t)switch(a){case Jr:return Wr(go(u,t,n));case $r:return go(u,t,n).renderer;case Xr:return new an(zn(u,t.nodeIndex).renderElement);case eo:return zn(u,t.nodeIndex).viewContainer;case to:if(t.element.template)return zn(u,t.nodeIndex).template;break;case no:return zr(go(u,t,n));case ro:case oo:return Zr(u,t);default:var l=(n?t.element.allProviders:t.element.publicProviders)[a];if(l){var s=Fn(u,l.nodeIndex);return s||(s={instance:co(u,l)},u.nodes[l.nodeIndex]=s),s.instance}}n=lr(u),t=ar(u),u=u.parent,4&r.flags&&(u=null)}var c=i.root.injector.get(r.token,po);return c!==po||o===po?c:i.root.ngModule.injector.get(r.token,o)}function go(e,t,n){var r;if(n)r=zn(e,t.nodeIndex).componentView;else for(r=e;r.parent&&!lr(r);)r=r.parent;return r}function vo(e,t,n,r,o,i){if(32768&n.flags){var a=zn(e,n.parent.nodeIndex).componentView;2&a.def.flags&&(a.state|=8)}if(t.instance[n.bindings[r].name]=o,524288&n.flags){i=i||{};var u=Bt.unwrap(e.oldValues[n.bindingIndex+r]);i[n.bindings[r].nonMinifiedName]=new Gt(u,o,0!=(2&e.state))}return e.oldValues[n.bindingIndex+r]=o,i}function mo(e,t){if(e.def.nodeFlags&t)for(var n=e.def.nodes,r=0,o=0;o<n.length;o++){var i=n[o],a=i.parent;for(!a&&i.flags&t&&_o(e,o,i.flags&t,r++),0==(i.childFlags&t)&&(o+=i.childCount);a&&1&a.flags&&o===a.nodeIndex+a.childCount;)a.directChildFlags&t&&(r=yo(e,a,t,r)),a=a.parent}}function yo(e,t,n,r){for(var o=t.nodeIndex+1;o<=t.nodeIndex+t.childCount;o++){var i=e.def.nodes[o];i.flags&n&&_o(e,o,i.flags&n,r++),o+=i.childCount}return r}function _o(e,t,n,r){var o=Fn(e,t);if(o){var i=o.instance;i&&(Zn.setCurrentNode(e,t),1048576&n&&Vn(e,512,r)&&i.ngAfterContentInit(),2097152&n&&i.ngAfterContentChecked(),4194304&n&&Vn(e,768,r)&&i.ngAfterViewInit(),8388608&n&&i.ngAfterViewChecked(),131072&n&&i.ngOnDestroy())}}var bo=new Ne("SCHEDULER_TOKEN",{providedIn:"root",factory:function(){return nt}}),wo=function(e){function t(t){void 0===t&&(t=!1);var n=e.call(this)||this;return n.__isAsync=t,n}return o(t,e),t.prototype.emit=function(t){e.prototype.next.call(this,t)},t.prototype.subscribe=function(t,n,r){var o,i=function(e){return null},a=function(){return null};t&&"object"==typeof t?(o=this.__isAsync?function(e){setTimeout(function(){return t.next(e)})}:function(e){t.next(e)},t.error&&(i=this.__isAsync?function(e){setTimeout(function(){return t.error(e)})}:function(e){t.error(e)}),t.complete&&(a=this.__isAsync?function(){setTimeout(function(){return t.complete()})}:function(){t.complete()})):(o=this.__isAsync?function(e){setTimeout(function(){return t(e)})}:function(e){t(e)},n&&(i=this.__isAsync?function(e){setTimeout(function(){return n(e)})}:function(e){n(e)}),r&&(a=this.__isAsync?function(){setTimeout(function(){return r()})}:function(){r()}));var u=e.prototype.subscribe.call(this,o,i,a);return t instanceof v&&t.add(u),u},t}(j),Co=function(){function e(){this.dirty=!0,this._results=[],this.changes=new wo,this.length=0}return e.prototype.map=function(e){return this._results.map(e)},e.prototype.filter=function(e){return this._results.filter(e)},e.prototype.find=function(e){return this._results.find(e)},e.prototype.reduce=function(e,t){return this._results.reduce(e,t)},e.prototype.forEach=function(e){this._results.forEach(e)},e.prototype.some=function(e){return this._results.some(e)},e.prototype.toArray=function(){return this._results.slice()},e.prototype[Ht()]=function(){return this._results[Ht()]()},e.prototype.toString=function(){return this._results.toString()},e.prototype.reset=function(e){this._results=function e(t,n){void 0===n&&(n=t);for(var r=0;r<t.length;r++){var o=t[r];Array.isArray(o)?(n===t&&(n=t.slice(0,r)),e(o,n)):n!==t&&n.push(o)}return n}(e),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]},e.prototype.notifyOnChanges=function(){this.changes.emit(this)},e.prototype.setDirty=function(){this.dirty=!0},e.prototype.destroy=function(){this.changes.complete(),this.changes.unsubscribe()},e}(),xo=function(){return function(){}}(),So=new Ne("Application Initializer"),Eo=function(){function e(e){var t=this;this.appInits=e,this.initialized=!1,this.done=!1,this.donePromise=new Promise(function(e,n){t.resolve=e,t.reject=n})}return e.prototype.runInitializers=function(){var e=this;if(!this.initialized){var t=[],n=function(){e.done=!0,e.resolve()};if(this.appInits)for(var r=0;r<this.appInits.length;r++){var o=this.appInits[r]();Ut(o)&&t.push(o)}Promise.all(t).then(function(){n()}).catch(function(t){e.reject(t)}),0===t.length&&n(),this.initialized=!0}},e}(),Po=new Ne("AppId");function Oo(){return""+To()+To()+To()}function To(){return String.fromCharCode(97+Math.floor(25*Math.random()))}var ko=new Ne("Platform Initializer"),Ro=new Ne("Platform ID"),Ao=new Ne("appBootstrapListener"),Mo=function(){function e(){}return e.prototype.log=function(e){console.log(e)},e.prototype.warn=function(e){console.warn(e)},e}();function Io(){throw new Error("Runtime compiler is not loaded")}var No,jo,Do=Io,Uo=Io,Lo=Io,Vo=Io,Ho=function(){function e(){this.compileModuleSync=Do,this.compileModuleAsync=Uo,this.compileModuleAndAllComponentsSync=Lo,this.compileModuleAndAllComponentsAsync=Vo}return e.prototype.clearCache=function(){},e.prototype.clearCacheFor=function(e){},e.prototype.getModuleId=function(e){},e}(),zo=function(){return function(){}}();function Fo(){var e=Re.wtf;return!(!e||!(No=e.trace)||(jo=No.events,0))}var Bo=Fo();function qo(e,t){return null}var Zo=Bo?function(e,t){return void 0===t&&(t=null),jo.createScope(e,t)}:function(e,t){return qo},Go=Bo?function(e,t){return No.leaveScope(e,t),t}:function(e,t){return t},Wo=function(){return Promise.resolve(0)}();function Qo(e){"undefined"==typeof Zone?Wo.then(function(){e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}var Ko=function(){function e(e){var t,n=e.enableLongStackTrace,r=void 0!==n&&n;if(this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new wo(!1),this.onMicrotaskEmpty=new wo(!1),this.onStable=new wo(!1),this.onError=new wo(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched(),this._nesting=0,this._outer=this._inner=Zone.current,Zone.wtfZoneSpec&&(this._inner=this._inner.fork(Zone.wtfZoneSpec)),Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),r&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),(t=this)._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:function(e,n,r,o,i,a){try{return Xo(t),e.invokeTask(r,o,i,a)}finally{ei(t)}},onInvoke:function(e,n,r,o,i,a,u){try{return Xo(t),e.invoke(r,o,i,a,u)}finally{ei(t)}},onHasTask:function(e,n,r,o){e.hasTask(r,o),n===r&&("microTask"==o.change?(t.hasPendingMicrotasks=o.microTask,$o(t)):"macroTask"==o.change&&(t.hasPendingMacrotasks=o.macroTask))},onHandleError:function(e,n,r,o){return e.handleError(r,o),t.runOutsideAngular(function(){return t.onError.emit(o)}),!1}})}return e.isInAngularZone=function(){return!0===Zone.current.get("isAngularZone")},e.assertInAngularZone=function(){if(!e.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")},e.assertNotInAngularZone=function(){if(e.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")},e.prototype.run=function(e,t,n){return this._inner.run(e,t,n)},e.prototype.runTask=function(e,t,n,r){var o=this._inner,i=o.scheduleEventTask("NgZoneEvent: "+r,e,Jo,Yo,Yo);try{return o.runTask(i,t,n)}finally{o.cancelTask(i)}},e.prototype.runGuarded=function(e,t,n){return this._inner.runGuarded(e,t,n)},e.prototype.runOutsideAngular=function(e){return this._outer.run(e)},e}();function Yo(){}var Jo={};function $o(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(function(){return e.onStable.emit(null)})}finally{e.isStable=!0}}}function Xo(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function ei(e){e._nesting--,$o(e)}var ti,ni=function(){function e(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new wo,this.onMicrotaskEmpty=new wo,this.onStable=new wo,this.onError=new wo}return e.prototype.run=function(e){return e()},e.prototype.runGuarded=function(e){return e()},e.prototype.runOutsideAngular=function(e){return e()},e.prototype.runTask=function(e){return e()},e}(),ri=function(){function e(e){var t=this;this._ngZone=e,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),e.run(function(){t.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}return e.prototype._watchAngularEvents=function(){var e=this;this._ngZone.onUnstable.subscribe({next:function(){e._didWork=!0,e._isZoneStable=!1}}),this._ngZone.runOutsideAngular(function(){e._ngZone.onStable.subscribe({next:function(){Ko.assertNotInAngularZone(),Qo(function(){e._isZoneStable=!0,e._runCallbacksIfReady()})}})})},e.prototype.increasePendingRequestCount=function(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount},e.prototype.decreasePendingRequestCount=function(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount},e.prototype.isStable=function(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks},e.prototype._runCallbacksIfReady=function(){var e=this;if(this.isStable())Qo(function(){for(;0!==e._callbacks.length;){var t=e._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(e._didWork)}e._didWork=!1});else{var t=this.getPendingTasks();this._callbacks=this._callbacks.filter(function(e){return!e.updateCb||!e.updateCb(t)||(clearTimeout(e.timeoutId),!1)}),this._didWork=!0}},e.prototype.getPendingTasks=function(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(function(e){return{source:e.source,creationLocation:e.creationLocation,data:e.data}}):[]},e.prototype.addCallback=function(e,t,n){var r=this,o=-1;t&&t>0&&(o=setTimeout(function(){r._callbacks=r._callbacks.filter(function(e){return e.timeoutId!==o}),e(r._didWork,r.getPendingTasks())},t)),this._callbacks.push({doneCb:e,timeoutId:o,updateCb:n})},e.prototype.whenStable=function(e,t,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(e,t,n),this._runCallbacksIfReady()},e.prototype.getPendingRequestCount=function(){return this._pendingCount},e.prototype.findProviders=function(e,t,n){return[]},e}(),oi=function(){function e(){this._applications=new Map,ii.addToWindow(this)}return e.prototype.registerApplication=function(e,t){this._applications.set(e,t)},e.prototype.unregisterApplication=function(e){this._applications.delete(e)},e.prototype.unregisterAllApplications=function(){this._applications.clear()},e.prototype.getTestability=function(e){return this._applications.get(e)||null},e.prototype.getAllTestabilities=function(){return Array.from(this._applications.values())},e.prototype.getAllRootElements=function(){return Array.from(this._applications.keys())},e.prototype.findTestabilityInTree=function(e,t){return void 0===t&&(t=!0),ii.findTestabilityInTree(this,e,t)},a([u("design:paramtypes",[])],e)}(),ii=new(function(){function e(){}return e.prototype.addToWindow=function(e){},e.prototype.findTestabilityInTree=function(e,t,n){return null},e}()),ai=new Ne("AllowMultipleToken"),ui=function(){return function(e,t){this.name=e,this.token=t}}();function li(e,t,n){void 0===n&&(n=[]);var r="Platform: "+t,o=new Ne(r);return function(t){void 0===t&&(t=[]);var i=si();if(!i||i.injector.get(ai,!1))if(e)e(n.concat(t).concat({provide:o,useValue:!0}));else{var a=n.concat(t).concat({provide:o,useValue:!0});!function(e){if(ti&&!ti.destroyed&&!ti.injector.get(ai,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");ti=e.get(ci);var t=e.get(ko,null);t&&t.forEach(function(e){return e()})}(Ve.create({providers:a,name:r}))}return function(e){var t=si();if(!t)throw new Error("No platform exists!");if(!t.injector.get(e,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return t}(o)}}function si(){return ti&&!ti.destroyed?ti:null}var ci=function(){function e(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return e.prototype.bootstrapModuleFactory=function(e,t){var n,r=this,o="noop"===(n=t?t.ngZone:void 0)?new ni:("zone.js"===n?void 0:n)||new Ko({enableLongStackTrace:st()}),i=[{provide:Ko,useValue:o}];return o.run(function(){var t=Ve.create({providers:i,parent:r.injector,name:e.moduleType.name}),n=e.create(t),a=n.injector.get(at,null);if(!a)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.onDestroy(function(){return di(r._modules,n)}),o.runOutsideAngular(function(){return o.onError.subscribe({next:function(e){a.handleError(e)}})}),function(e,t,o){try{var i=((a=n.injector.get(Eo)).runInitializers(),a.donePromise.then(function(){return r._moduleDoBootstrap(n),n}));return Ut(i)?i.catch(function(n){throw t.runOutsideAngular(function(){return e.handleError(n)}),n}):i}catch(u){throw t.runOutsideAngular(function(){return e.handleError(u)}),u}var a}(a,o)})},e.prototype.bootstrapModule=function(e,t){var n=this;void 0===t&&(t=[]);var r=fi({},t);return function(e,t,n){return e.get(zo).createCompiler([t]).compileModuleAsync(n)}(this.injector,r,e).then(function(e){return n.bootstrapModuleFactory(e,r)})},e.prototype._moduleDoBootstrap=function(e){var t=e.injector.get(pi);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(function(e){return t.bootstrap(e)});else{if(!e.instance.ngDoBootstrap)throw new Error("The module "+Se(e.instance.constructor)+' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.');e.instance.ngDoBootstrap(t)}this._modules.push(e)},e.prototype.onDestroy=function(e){this._destroyListeners.push(e)},Object.defineProperty(e.prototype,"injector",{get:function(){return this._injector},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(function(e){return e.destroy()}),this._destroyListeners.forEach(function(e){return e()}),this._destroyed=!0},Object.defineProperty(e.prototype,"destroyed",{get:function(){return this._destroyed},enumerable:!0,configurable:!0}),e}();function fi(e,t){return Array.isArray(t)?t.reduce(fi,e):i({},e,t)}var pi=function(){function e(e,t,n,r,o,i){var a=this;this._zone=e,this._console=t,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=o,this._initStatus=i,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=st(),this._zone.onMicrotaskEmpty.subscribe({next:function(){a._zone.run(function(){a.tick()})}});var u=new k(function(e){a._stable=a._zone.isStable&&!a._zone.hasPendingMacrotasks&&!a._zone.hasPendingMicrotasks,a._zone.runOutsideAngular(function(){e.next(a._stable),e.complete()})}),l=new k(function(e){var t;a._zone.runOutsideAngular(function(){t=a._zone.onStable.subscribe(function(){Ko.assertNotInAngularZone(),Qo(function(){a._stable||a._zone.hasPendingMacrotasks||a._zone.hasPendingMicrotasks||(a._stable=!0,e.next(!0))})})});var n=a._zone.onUnstable.subscribe(function(){Ko.assertInAngularZone(),a._stable&&(a._stable=!1,a._zone.runOutsideAngular(function(){e.next(!1)}))});return function(){t.unsubscribe(),n.unsubscribe()}});this.isStable=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Number.POSITIVE_INFINITY,r=null,o=e[e.length-1];return U(o)?(r=e.pop(),e.length>1&&"number"==typeof e[e.length-1]&&(n=e.pop())):"number"==typeof o&&(n=e.pop()),null===r&&1===e.length&&e[0]instanceof k?e[0]:ie(n)(X(e,r))}(u,l.pipe(function(e){return ae()((t=pe,function(e){var n;n="function"==typeof t?t:function(){return t};var r=Object.create(e,ce);return r.source=e,r.subjectFactory=n,r})(e));var t}))}var t;return t=e,e.prototype.bootstrap=function(e,t){var n,r=this;if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");n=e instanceof Kt?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);var o=n instanceof tn?null:this._injector.get(nn),i=n.create(Ve.NULL,[],t||n.selector,o);i.onDestroy(function(){r._unloadComponent(i)});var a=i.injector.get(ri,null);return a&&i.injector.get(oi).registerApplication(i.location.nativeElement,a),this._loadComponent(i),st()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),i},e.prototype.tick=function(){var e,n,r,o,i=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");var a=t._tickScope();try{this._runningTick=!0;try{for(var u=l(this._views),s=u.next();!s.done;s=u.next())s.value.detectChanges()}catch(p){e={error:p}}finally{try{s&&!s.done&&(n=u.return)&&n.call(u)}finally{if(e)throw e.error}}if(this._enforceNoNewChanges)try{for(var c=l(this._views),f=c.next();!f.done;f=c.next())f.value.checkNoChanges()}catch(d){r={error:d}}finally{try{f&&!f.done&&(o=c.return)&&o.call(c)}finally{if(r)throw r.error}}}catch(h){this._zone.runOutsideAngular(function(){return i._exceptionHandler.handleError(h)})}finally{this._runningTick=!1,Go(a)}},e.prototype.attachView=function(e){var t=e;this._views.push(t),t.attachToAppRef(this)},e.prototype.detachView=function(e){var t=e;di(this._views,t),t.detachFromAppRef()},e.prototype._loadComponent=function(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(Ao,[]).concat(this._bootstrapListeners).forEach(function(t){return t(e)})},e.prototype._unloadComponent=function(e){this.detachView(e.hostView),di(this.components,e)},e.prototype.ngOnDestroy=function(){this._views.slice().forEach(function(e){return e.destroy()})},Object.defineProperty(e.prototype,"viewCount",{get:function(){return this._views.length},enumerable:!0,configurable:!0}),e._tickScope=Zo("ApplicationRef#tick()"),e}();function di(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var hi=function(){return function(){}}(),gi={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},vi=function(){function e(e,t){this._compiler=e,this._config=t||gi}return e.prototype.load=function(e){return this._compiler instanceof Ho?this.loadFactory(e):this.loadAndCompile(e)},e.prototype.loadAndCompile=function(e){var t=this,r=s(e.split("#"),2),o=r[0],i=r[1];return void 0===i&&(i="default"),n("zn8P")(o).then(function(e){return e[i]}).then(function(e){return mi(e,o,i)}).then(function(e){return t._compiler.compileModuleAsync(e)})},e.prototype.loadFactory=function(e){var t=s(e.split("#"),2),r=t[0],o=t[1],i="NgFactory";return void 0===o&&(o="default",i=""),n("zn8P")(this._config.factoryPathPrefix+r+this._config.factoryPathSuffix).then(function(e){return e[o+i]}).then(function(e){return mi(e,r,o)})},e}();function mi(e,t,n){if(!e)throw new Error("Cannot find '"+n+"' in '"+t+"'");return e}var yi=function(){return function(e,t){this.name=e,this.callback=t}}(),_i=function(){function e(e,t,n){this.listeners=[],this.parent=null,this._debugContext=n,this.nativeNode=e,t&&t instanceof bi&&t.addChild(this)}return Object.defineProperty(e.prototype,"injector",{get:function(){return this._debugContext.injector},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentInstance",{get:function(){return this._debugContext.component},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return this._debugContext.context},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"references",{get:function(){return this._debugContext.references},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"providerTokens",{get:function(){return this._debugContext.providerTokens},enumerable:!0,configurable:!0}),e}(),bi=function(e){function t(t,n,r){var o=e.call(this,t,n,r)||this;return o.properties={},o.attributes={},o.classes={},o.styles={},o.childNodes=[],o.nativeElement=t,o}return o(t,e),t.prototype.addChild=function(e){e&&(this.childNodes.push(e),e.parent=this)},t.prototype.removeChild=function(e){var t=this.childNodes.indexOf(e);-1!==t&&(e.parent=null,this.childNodes.splice(t,1))},t.prototype.insertChildrenAfter=function(e,t){var n,r=this,o=this.childNodes.indexOf(e);-1!==o&&((n=this.childNodes).splice.apply(n,c([o+1,0],t)),t.forEach(function(t){t.parent&&t.parent.removeChild(t),e.parent=r}))},t.prototype.insertBefore=function(e,t){var n=this.childNodes.indexOf(e);-1===n?this.addChild(t):(t.parent&&t.parent.removeChild(t),t.parent=this,this.childNodes.splice(n,0,t))},t.prototype.query=function(e){return this.queryAll(e)[0]||null},t.prototype.queryAll=function(e){var t=[];return function e(t,n,r){t.childNodes.forEach(function(t){t instanceof bi&&(n(t)&&r.push(t),e(t,n,r))})}(this,e,t),t},t.prototype.queryAllNodes=function(e){var t=[];return function e(t,n,r){t instanceof bi&&t.childNodes.forEach(function(t){n(t)&&r.push(t),t instanceof bi&&e(t,n,r)})}(this,e,t),t},Object.defineProperty(t.prototype,"children",{get:function(){return this.childNodes.filter(function(e){return e instanceof t})},enumerable:!0,configurable:!0}),t.prototype.triggerEventHandler=function(e,t){this.listeners.forEach(function(n){n.name==e&&n.callback(t)})},t}(_i),wi=new Map,Ci=function(e){return wi.get(e)||null};function xi(e){wi.set(e.nativeNode,e)}var Si=li(null,"core",[{provide:Ro,useValue:"unknown"},{provide:ci,deps:[Ve]},{provide:oi,deps:[]},{provide:Mo,deps:[]}]),Ei=new Ne("LocaleId");function Pi(){return kn}function Oi(){return Rn}function Ti(e){return e||"en-US"}function ki(e){var t=[];return e.onStable.subscribe(function(){for(;t.length;)t.pop()()}),function(e){t.push(e)}}var Ri=function(){return function(e){}}();function Ai(e,t,n,r,o,i,a,u,l,c,f,p){var d;void 0===a&&(a=[]),c||(c=Gn);var h=cr(n),g=h.matchedQueries,v=h.references,m=h.matchedQueryIds,y=null,_=null;i&&(y=(d=s(wr(i),2))[0],_=d[1]),u=u||[];for(var b=new Array(u.length),w=0;w<u.length;w++){var C=s(u[w],3),x=C[0],S=C[2],E=s(wr(C[1]),2),P=E[0],O=E[1],T=void 0,k=void 0;switch(15&x){case 4:k=S;break;case 1:case 8:T=S}b[w]={flags:x,ns:P,name:O,nonMinifiedName:O,securityContext:T,suffix:k}}l=l||[];var R=new Array(l.length);for(w=0;w<l.length;w++){var A=s(l[w],2);R[w]={type:0,target:A[0],eventName:A[1],propName:null}}var M=(a=a||[]).map(function(e){var t=s(e,2),n=t[1],r=s(wr(t[0]),2);return[r[0],r[1],n]});return p=function(e){if(e&&e.id===Kn){var t=null!=e.encapsulation&&e.encapsulation!==tt.None||e.styles.length||Object.keys(e.data).length;e.id=t?"c"+$n++:Yn}return e&&e.id===Yn&&(e=null),e||null}(p),f&&(t|=33554432),{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:t|=1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:g,matchedQueryIds:m,references:v,ngContentIndex:r,childCount:o,bindings:b,bindingFlags:Cr(b),outputs:R,element:{ns:y,name:_,attrs:M,template:null,componentProvider:null,componentView:f||null,componentRendererType:p,publicProviders:null,allProviders:null,handleEvent:c||Gn},provider:null,text:null,query:null,ngContent:null}}function Mi(e,t,n){var r,o=n.element,i=e.root.selectorOrNode,a=e.renderer;if(e.parent||!i){r=o.name?a.createElement(o.name,o.ns):a.createComment("");var u=pr(e,t,n);u&&a.appendChild(u,r)}else r=a.selectRootElement(i,!!o.componentRendererType&&o.componentRendererType.encapsulation===tt.ShadowDom);if(o.attrs)for(var l=0;l<o.attrs.length;l++){var c=s(o.attrs[l],3);a.setAttribute(r,c[1],c[2],c[0])}return r}function Ii(e,t,n,r){for(var o=0;o<n.outputs.length;o++){var i=n.outputs[o],a=Ni(e,n.nodeIndex,(f=i.eventName,(c=i.target)?c+":"+f:f)),u=i.target,l=e;"component"===i.target&&(u=null,l=t);var s=l.renderer.listen(u||r,i.eventName,a);e.disposables[n.outputIndex+o]=s}var c,f}function Ni(e,t,n){return function(r){return or(e,t,n,r)}}function ji(e,t,n,r){if(!er(e,t,n,r))return!1;var o=t.bindings[n],i=zn(e,t.nodeIndex),a=i.renderElement,u=o.name;switch(15&o.flags){case 1:!function(e,t,n,r,o,i){var a=t.securityContext,u=a?e.root.sanitizer.sanitize(a,i):i;u=null!=u?u.toString():null;var l=e.renderer;null!=i?l.setAttribute(n,o,u,r):l.removeAttribute(n,o,r)}(e,o,a,o.ns,u,r);break;case 2:!function(e,t,n,r){var o=e.renderer;r?o.addClass(t,n):o.removeClass(t,n)}(e,a,u,r);break;case 4:!function(e,t,n,r,o){var i=e.root.sanitizer.sanitize(At.STYLE,o);if(null!=i){i=i.toString();var a=t.suffix;null!=a&&(i+=a)}else i=null;var u=e.renderer;null!=i?u.setStyle(n,r,i):u.removeStyle(n,r)}(e,o,a,u,r);break;case 8:!function(e,t,n,r,o){var i=t.securityContext,a=i?e.root.sanitizer.sanitize(i,o):o;e.renderer.setProperty(n,r,a)}(33554432&t.flags&&32&o.flags?i.componentView:e,o,a,u,r)}return!0}function Di(e){for(var t=e.def.nodeMatchedQueries;e.parent&&sr(e);){var n=e.parentNodeDef;e=e.parent;for(var r=n.nodeIndex+n.childCount,o=0;o<=r;o++)67108864&(i=e.def.nodes[o]).flags&&536870912&i.flags&&(i.query.filterId&t)===i.query.filterId&&qn(e,o).setDirty(),!(1&i.flags&&o+i.childCount<n.nodeIndex)&&67108864&i.childFlags&&536870912&i.childFlags||(o+=i.childCount)}if(134217728&e.def.nodeFlags)for(o=0;o<e.def.nodes.length;o++){var i;134217728&(i=e.def.nodes[o]).flags&&536870912&i.flags&&qn(e,o).setDirty(),o+=i.childCount}}function Ui(e,t){var n=qn(e,t.nodeIndex);if(n.dirty){var r,o=void 0;if(67108864&t.flags){var i=t.parent.parent;o=Li(e,i.nodeIndex,i.nodeIndex+i.childCount,t.query,[]),r=Fn(e,t.parent.nodeIndex).instance}else 134217728&t.flags&&(o=Li(e,0,e.def.nodes.length-1,t.query,[]),r=e.component);n.reset(o);for(var a=t.query.bindings,u=!1,l=0;l<a.length;l++){var s=a[l],c=void 0;switch(s.bindingType){case 0:c=n.first;break;case 1:c=n,u=!0}r[s.propName]=c}u&&n.notifyOnChanges()}}function Li(e,t,n,r,o){for(var i=t;i<=n;i++){var a=e.def.nodes[i],u=a.matchedQueries[r.id];if(null!=u&&o.push(Vi(e,a,u)),1&a.flags&&a.element.template&&(a.element.template.nodeMatchedQueries&r.filterId)===r.filterId){var l=zn(e,i);if((a.childMatchedQueries&r.filterId)===r.filterId&&(Li(e,i+1,i+a.childCount,r,o),i+=a.childCount),16777216&a.flags)for(var s=l.viewContainer._embeddedViews,c=0;c<s.length;c++){var f=s[c],p=ir(f);p&&p===l&&Li(f,0,f.def.nodes.length-1,r,o)}var d=l.template._projectedViews;if(d)for(c=0;c<d.length;c++){var h=d[c];Li(h,0,h.def.nodes.length-1,r,o)}}(a.childMatchedQueries&r.filterId)!==r.filterId&&(i+=a.childCount)}return o}function Vi(e,t,n){if(null!=n)switch(n){case 1:return zn(e,t.nodeIndex).renderElement;case 0:return new an(zn(e,t.nodeIndex).renderElement);case 2:return zn(e,t.nodeIndex).template;case 3:return zn(e,t.nodeIndex).viewContainer;case 4:return Fn(e,t.nodeIndex).instance}}function Hi(e,t,n){var r=pr(e,t,n);r&&mr(e,n.ngContent.index,1,r,null,void 0)}function zi(e,t,n){for(var r=new Array(n.length-1),o=1;o<n.length;o++)r[o-1]={flags:8,name:null,ns:null,nonMinifiedName:null,securityContext:null,suffix:n[o]};return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:2,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:t,childCount:0,bindings:r,bindingFlags:8,outputs:[],element:null,provider:null,text:{prefix:n[0]},query:null,ngContent:null}}function Fi(e,t,n){var r,o=e.renderer;r=o.createText(n.text.prefix);var i=pr(e,t,n);return i&&o.appendChild(i,r),{renderText:r}}function Bi(e,t){return(null!=e?e.toString():"")+t.suffix}function qi(e,t,n,r){for(var o=0,i=0,a=0,u=0,l=0,s=null,c=null,f=!1,p=!1,d=null,h=0;h<t.length;h++){var g=t[h];if(g.nodeIndex=h,g.parent=s,g.bindingIndex=o,g.outputIndex=i,g.renderParent=c,a|=g.flags,l|=g.matchedQueryIds,g.element){var v=g.element;v.publicProviders=s?s.element.publicProviders:Object.create(null),v.allProviders=v.publicProviders,f=!1,p=!1,g.element.template&&(l|=g.element.template.nodeMatchedQueries)}if(Gi(s,g,t.length),o+=g.bindings.length,i+=g.outputs.length,!c&&3&g.flags&&(d=g),20224&g.flags){f||(f=!0,s.element.publicProviders=Object.create(s.element.publicProviders),s.element.allProviders=s.element.publicProviders);var m=0!=(32768&g.flags);0==(8192&g.flags)||m?s.element.publicProviders[Qn(g.provider.token)]=g:(p||(p=!0,s.element.allProviders=Object.create(s.element.publicProviders)),s.element.allProviders[Qn(g.provider.token)]=g),m&&(s.element.componentProvider=g)}if(s?(s.childFlags|=g.flags,s.directChildFlags|=g.flags,s.childMatchedQueries|=g.matchedQueryIds,g.element&&g.element.template&&(s.childMatchedQueries|=g.element.template.nodeMatchedQueries)):u|=g.flags,g.childCount>0)s=g,Zi(g)||(c=g);else for(;s&&h===s.nodeIndex+s.childCount;){var y=s.parent;y&&(y.childFlags|=s.childFlags,y.childMatchedQueries|=s.childMatchedQueries),c=(s=y)&&Zi(s)?s.renderParent:s}}return{factory:null,nodeFlags:a,rootNodeFlags:u,nodeMatchedQueries:l,flags:e,nodes:t,updateDirectives:n||Gn,updateRenderer:r||Gn,handleEvent:function(e,n,r,o){return t[n].element.handleEvent(e,r,o)},bindingCount:o,outputCount:i,lastRenderRootNode:d}}function Zi(e){return 0!=(1&e.flags)&&null===e.element.name}function Gi(e,t,n){var r=t.element&&t.element.template;if(r){if(!r.lastRenderRootNode)throw new Error("Illegal State: Embedded templates without nodes are not allowed!");if(r.lastRenderRootNode&&16777216&r.lastRenderRootNode.flags)throw new Error("Illegal State: Last root node of a template can't have embedded views, at index "+t.nodeIndex+"!")}if(20224&t.flags&&0==(1&(e?e.flags:0)))throw new Error("Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index "+t.nodeIndex+"!");if(t.query){if(67108864&t.flags&&(!e||0==(16384&e.flags)))throw new Error("Illegal State: Content Query nodes need to be children of directives, at index "+t.nodeIndex+"!");if(134217728&t.flags&&e)throw new Error("Illegal State: View Query nodes have to be top level nodes, at index "+t.nodeIndex+"!")}if(t.childCount){var o=e?e.nodeIndex+e.childCount:n-1;if(t.nodeIndex<=o&&t.nodeIndex+t.childCount>o)throw new Error("Illegal State: childCount of node leads outside of parent, at index "+t.nodeIndex+"!")}}function Wi(e,t,n,r){var o=Yi(e.root,e.renderer,e,t,n);return Ji(o,e.component,r),$i(o),o}function Qi(e,t,n){var r=Yi(e,e.renderer,null,null,t);return Ji(r,n,n),$i(r),r}function Ki(e,t,n,r){var o,i=t.element.componentRendererType;return o=i?e.root.rendererFactory.createRenderer(r,i):e.root.renderer,Yi(e.root,o,e,t.element.componentProvider,n)}function Yi(e,t,n,r,o){var i=new Array(o.nodes.length),a=o.outputCount?new Array(o.outputCount):null;return{def:o,parent:n,viewContainerParent:null,parentNodeDef:r,context:null,component:null,nodes:i,state:13,root:e,renderer:t,oldValues:new Array(o.bindingCount),disposables:a,initIndex:-1}}function Ji(e,t,n){e.component=t,e.context=n}function $i(e){var t;lr(e)&&(t=zn(e.parent,e.parentNodeDef.parent.nodeIndex).renderElement);for(var n=e.def,r=e.nodes,o=0;o<n.nodes.length;o++){var i=n.nodes[o];Zn.setCurrentNode(e,o);var a=void 0;switch(201347067&i.flags){case 1:var u=Mi(e,t,i),l=void 0;if(33554432&i.flags){var s=hr(i.element.componentView);l=Zn.createComponentView(e,i,s,u)}Ii(e,l,i,u),a={renderElement:u,componentView:l,viewContainer:null,template:i.element.template?Br(e,i):void 0},16777216&i.flags&&(a.viewContainer=Vr(e,i,a));break;case 2:a=Fi(e,t,i);break;case 512:case 1024:case 2048:case 256:(a=r[o])||4096&i.flags||(a={instance:ao(e,i)});break;case 16:a={instance:uo(e,i)};break;case 16384:(a=r[o])||(a={instance:lo(e,i)}),32768&i.flags&&Ji(zn(e,i.parent.nodeIndex).componentView,a.instance,a.instance);break;case 32:case 64:case 128:a={value:void 0};break;case 67108864:case 134217728:a=new Co;break;case 8:Hi(e,t,i),a=void 0}r[o]=a}ua(e,aa.CreateViewNodes),fa(e,201326592,268435456,0)}function Xi(e){na(e),Zn.updateDirectives(e,1),la(e,aa.CheckNoChanges),Zn.updateRenderer(e,1),ua(e,aa.CheckNoChanges),e.state&=-97}function ea(e){1&e.state?(e.state&=-2,e.state|=2):e.state&=-3,Ln(e,0,256),na(e),Zn.updateDirectives(e,0),la(e,aa.CheckAndUpdate),fa(e,67108864,536870912,0);var t=Ln(e,256,512);mo(e,2097152|(t?1048576:0)),Zn.updateRenderer(e,0),ua(e,aa.CheckAndUpdate),fa(e,134217728,536870912,0),mo(e,8388608|((t=Ln(e,512,768))?4194304:0)),2&e.def.flags&&(e.state&=-9),e.state&=-97,Ln(e,768,1024)}function ta(e,t,n,r,o,i,a,u,l,s,f,p,d){return 0===n?function(e,t,n,r,o,i,a,u,l,s,c,f){switch(201347067&t.flags){case 1:return function(e,t,n,r,o,i,a,u,l,s,c,f){var p=t.bindings.length,d=!1;return p>0&&ji(e,t,0,n)&&(d=!0),p>1&&ji(e,t,1,r)&&(d=!0),p>2&&ji(e,t,2,o)&&(d=!0),p>3&&ji(e,t,3,i)&&(d=!0),p>4&&ji(e,t,4,a)&&(d=!0),p>5&&ji(e,t,5,u)&&(d=!0),p>6&&ji(e,t,6,l)&&(d=!0),p>7&&ji(e,t,7,s)&&(d=!0),p>8&&ji(e,t,8,c)&&(d=!0),p>9&&ji(e,t,9,f)&&(d=!0),d}(e,t,n,r,o,i,a,u,l,s,c,f);case 2:return function(e,t,n,r,o,i,a,u,l,s,c,f){var p=!1,d=t.bindings,h=d.length;if(h>0&&er(e,t,0,n)&&(p=!0),h>1&&er(e,t,1,r)&&(p=!0),h>2&&er(e,t,2,o)&&(p=!0),h>3&&er(e,t,3,i)&&(p=!0),h>4&&er(e,t,4,a)&&(p=!0),h>5&&er(e,t,5,u)&&(p=!0),h>6&&er(e,t,6,l)&&(p=!0),h>7&&er(e,t,7,s)&&(p=!0),h>8&&er(e,t,8,c)&&(p=!0),h>9&&er(e,t,9,f)&&(p=!0),p){var g=t.text.prefix;h>0&&(g+=Bi(n,d[0])),h>1&&(g+=Bi(r,d[1])),h>2&&(g+=Bi(o,d[2])),h>3&&(g+=Bi(i,d[3])),h>4&&(g+=Bi(a,d[4])),h>5&&(g+=Bi(u,d[5])),h>6&&(g+=Bi(l,d[6])),h>7&&(g+=Bi(s,d[7])),h>8&&(g+=Bi(c,d[8])),h>9&&(g+=Bi(f,d[9]));var v=Hn(e,t.nodeIndex).renderText;e.renderer.setValue(v,g)}return p}(e,t,n,r,o,i,a,u,l,s,c,f);case 16384:return function(e,t,n,r,o,i,a,u,l,s,c,f){var p=Fn(e,t.nodeIndex),d=p.instance,h=!1,g=void 0,v=t.bindings.length;return v>0&&Xn(e,t,0,n)&&(h=!0,g=vo(e,p,t,0,n,g)),v>1&&Xn(e,t,1,r)&&(h=!0,g=vo(e,p,t,1,r,g)),v>2&&Xn(e,t,2,o)&&(h=!0,g=vo(e,p,t,2,o,g)),v>3&&Xn(e,t,3,i)&&(h=!0,g=vo(e,p,t,3,i,g)),v>4&&Xn(e,t,4,a)&&(h=!0,g=vo(e,p,t,4,a,g)),v>5&&Xn(e,t,5,u)&&(h=!0,g=vo(e,p,t,5,u,g)),v>6&&Xn(e,t,6,l)&&(h=!0,g=vo(e,p,t,6,l,g)),v>7&&Xn(e,t,7,s)&&(h=!0,g=vo(e,p,t,7,s,g)),v>8&&Xn(e,t,8,c)&&(h=!0,g=vo(e,p,t,8,c,g)),v>9&&Xn(e,t,9,f)&&(h=!0,g=vo(e,p,t,9,f,g)),g&&d.ngOnChanges(g),65536&t.flags&&Vn(e,256,t.nodeIndex)&&d.ngOnInit(),262144&t.flags&&d.ngDoCheck(),h}(e,t,n,r,o,i,a,u,l,s,c,f);case 32:case 64:case 128:return function(e,t,n,r,o,i,a,u,l,s,c,f){var p=t.bindings,d=!1,h=p.length;if(h>0&&er(e,t,0,n)&&(d=!0),h>1&&er(e,t,1,r)&&(d=!0),h>2&&er(e,t,2,o)&&(d=!0),h>3&&er(e,t,3,i)&&(d=!0),h>4&&er(e,t,4,a)&&(d=!0),h>5&&er(e,t,5,u)&&(d=!0),h>6&&er(e,t,6,l)&&(d=!0),h>7&&er(e,t,7,s)&&(d=!0),h>8&&er(e,t,8,c)&&(d=!0),h>9&&er(e,t,9,f)&&(d=!0),d){var g=Bn(e,t.nodeIndex),v=void 0;switch(201347067&t.flags){case 32:v=new Array(p.length),h>0&&(v[0]=n),h>1&&(v[1]=r),h>2&&(v[2]=o),h>3&&(v[3]=i),h>4&&(v[4]=a),h>5&&(v[5]=u),h>6&&(v[6]=l),h>7&&(v[7]=s),h>8&&(v[8]=c),h>9&&(v[9]=f);break;case 64:v={},h>0&&(v[p[0].name]=n),h>1&&(v[p[1].name]=r),h>2&&(v[p[2].name]=o),h>3&&(v[p[3].name]=i),h>4&&(v[p[4].name]=a),h>5&&(v[p[5].name]=u),h>6&&(v[p[6].name]=l),h>7&&(v[p[7].name]=s),h>8&&(v[p[8].name]=c),h>9&&(v[p[9].name]=f);break;case 128:var m=n;switch(h){case 1:v=m.transform(n);break;case 2:v=m.transform(r);break;case 3:v=m.transform(r,o);break;case 4:v=m.transform(r,o,i);break;case 5:v=m.transform(r,o,i,a);break;case 6:v=m.transform(r,o,i,a,u);break;case 7:v=m.transform(r,o,i,a,u,l);break;case 8:v=m.transform(r,o,i,a,u,l,s);break;case 9:v=m.transform(r,o,i,a,u,l,s,c);break;case 10:v=m.transform(r,o,i,a,u,l,s,c,f)}}g.value=v}return d}(e,t,n,r,o,i,a,u,l,s,c,f);default:throw"unreachable"}}(e,t,r,o,i,a,u,l,s,f,p,d):function(e,t,n){switch(201347067&t.flags){case 1:return function(e,t,n){for(var r=!1,o=0;o<n.length;o++)ji(e,t,o,n[o])&&(r=!0);return r}(e,t,n);case 2:return function(e,t,n){for(var r=t.bindings,o=!1,i=0;i<n.length;i++)er(e,t,i,n[i])&&(o=!0);if(o){var a="";for(i=0;i<n.length;i++)a+=Bi(n[i],r[i]);a=t.text.prefix+a;var u=Hn(e,t.nodeIndex).renderText;e.renderer.setValue(u,a)}return o}(e,t,n);case 16384:return function(e,t,n){for(var r=Fn(e,t.nodeIndex),o=r.instance,i=!1,a=void 0,u=0;u<n.length;u++)Xn(e,t,u,n[u])&&(i=!0,a=vo(e,r,t,u,n[u],a));return a&&o.ngOnChanges(a),65536&t.flags&&Vn(e,256,t.nodeIndex)&&o.ngOnInit(),262144&t.flags&&o.ngDoCheck(),i}(e,t,n);case 32:case 64:case 128:return function(e,t,n){for(var r=t.bindings,o=!1,i=0;i<n.length;i++)er(e,t,i,n[i])&&(o=!0);if(o){var a=Bn(e,t.nodeIndex),u=void 0;switch(201347067&t.flags){case 32:u=n;break;case 64:for(u={},i=0;i<n.length;i++)u[r[i].name]=n[i];break;case 128:var l=n[0],s=n.slice(1);u=l.transform.apply(l,c(s))}a.value=u}return o}(e,t,n);default:throw"unreachable"}}(e,t,r)}function na(e){var t=e.def;if(4&t.nodeFlags)for(var n=0;n<t.nodes.length;n++){var r=t.nodes[n];if(4&r.flags){var o=zn(e,n).template._projectedViews;if(o)for(var i=0;i<o.length;i++){var a=o[i];a.state|=32,rr(a,e)}}else 0==(4&r.childFlags)&&(n+=r.childCount)}}function ra(e,t,n,r,o,i,a,u,l,s,c,f,p){return 0===n?function(e,t,n,r,o,i,a,u,l,s,c,f){var p=t.bindings.length;p>0&&tr(e,t,0,n),p>1&&tr(e,t,1,r),p>2&&tr(e,t,2,o),p>3&&tr(e,t,3,i),p>4&&tr(e,t,4,a),p>5&&tr(e,t,5,u),p>6&&tr(e,t,6,l),p>7&&tr(e,t,7,s),p>8&&tr(e,t,8,c),p>9&&tr(e,t,9,f)}(e,t,r,o,i,a,u,l,s,c,f,p):function(e,t,n){for(var r=0;r<n.length;r++)tr(e,t,r,n[r])}(e,t,r),!1}function oa(e,t){if(qn(e,t.nodeIndex).dirty)throw jn(Zn.createDebugContext(e,t.nodeIndex),"Query "+t.query.id+" not dirty","Query "+t.query.id+" dirty",0!=(1&e.state))}function ia(e){if(!(128&e.state)){if(la(e,aa.Destroy),ua(e,aa.Destroy),mo(e,131072),e.disposables)for(var t=0;t<e.disposables.length;t++)e.disposables[t]();!function(e){if(16&e.state){var t=ir(e);if(t){var n=t.template._projectedViews;n&&(Nr(n,n.indexOf(e)),Zn.dirtyParentQueries(e))}}}(e),e.renderer.destroyNode&&function(e){for(var t=e.def.nodes.length,n=0;n<t;n++){var r=e.def.nodes[n];1&r.flags?e.renderer.destroyNode(zn(e,n).renderElement):2&r.flags?e.renderer.destroyNode(Hn(e,n).renderText):(67108864&r.flags||134217728&r.flags)&&qn(e,n).destroy()}}(e),lr(e)&&e.renderer.destroy(),e.state|=128}}var aa=function(e){return e[e.CreateViewNodes=0]="CreateViewNodes",e[e.CheckNoChanges=1]="CheckNoChanges",e[e.CheckNoChangesProjectedViews=2]="CheckNoChangesProjectedViews",e[e.CheckAndUpdate=3]="CheckAndUpdate",e[e.CheckAndUpdateProjectedViews=4]="CheckAndUpdateProjectedViews",e[e.Destroy=5]="Destroy",e}({});function ua(e,t){var n=e.def;if(33554432&n.nodeFlags)for(var r=0;r<n.nodes.length;r++){var o=n.nodes[r];33554432&o.flags?sa(zn(e,r).componentView,t):0==(33554432&o.childFlags)&&(r+=o.childCount)}}function la(e,t){var n=e.def;if(16777216&n.nodeFlags)for(var r=0;r<n.nodes.length;r++){var o=n.nodes[r];if(16777216&o.flags)for(var i=zn(e,r).viewContainer._embeddedViews,a=0;a<i.length;a++)sa(i[a],t);else 0==(16777216&o.childFlags)&&(r+=o.childCount)}}function sa(e,t){var n=e.state;switch(t){case aa.CheckNoChanges:0==(128&n)&&(12==(12&n)?Xi(e):64&n&&ca(e,aa.CheckNoChangesProjectedViews));break;case aa.CheckNoChangesProjectedViews:0==(128&n)&&(32&n?Xi(e):64&n&&ca(e,t));break;case aa.CheckAndUpdate:0==(128&n)&&(12==(12&n)?ea(e):64&n&&ca(e,aa.CheckAndUpdateProjectedViews));break;case aa.CheckAndUpdateProjectedViews:0==(128&n)&&(32&n?ea(e):64&n&&ca(e,t));break;case aa.Destroy:ia(e);break;case aa.CreateViewNodes:$i(e)}}function ca(e,t){la(e,t),ua(e,t)}function fa(e,t,n,r){if(e.def.nodeFlags&t&&e.def.nodeFlags&n)for(var o=e.def.nodes.length,i=0;i<o;i++){var a=e.def.nodes[i];if(a.flags&t&&a.flags&n)switch(Zn.setCurrentNode(e,a.nodeIndex),r){case 0:Ui(e,a);break;case 1:oa(e,a)}a.childFlags&t&&a.childFlags&n||(i+=a.childCount)}}var pa=!1;function da(e,t,n,r,o,i){var a=o.injector.get(sn);return Qi(ga(e,o,a,t,n),r,i)}function ha(e,t,n,r,o,i){var a=o.injector.get(sn),u=ga(e,o,new Wa(a),t,n),l=Ea(r);return Za(Na.create,Qi,null,[u,l,i])}function ga(e,t,n,r,o){var i=t.injector.get(Mt),a=t.injector.get(at),u=n.createRenderer(null,null);return{ngModule:t,injector:e,projectableNodes:r,selectorOrNode:o,sanitizer:i,rendererFactory:n,renderer:u,errorHandler:a}}function va(e,t,n,r){var o=Ea(n);return Za(Na.create,Wi,null,[e,t,o,r])}function ma(e,t,n,r){return n=wa.get(t.element.componentProvider.provider.token)||Ea(n),Za(Na.create,Ki,null,[e,t,n,r])}function ya(e,t,n,r){return Kr(e,t,n,function(e){var t=function(e){var t=!1,n=!1;return 0===_a.size?{hasOverrides:t,hasDeprecatedOverrides:n}:(e.providers.forEach(function(e){var r=_a.get(e.token);3840&e.flags&&r&&(t=!0,n=n||r.deprecatedBehavior)}),e.modules.forEach(function(e){ba.forEach(function(r,o){Ce(o).providedIn===e&&(t=!0,n=n||r.deprecatedBehavior)})}),{hasOverrides:t,hasDeprecatedOverrides:n})}(e),n=t.hasDeprecatedOverrides;return t.hasOverrides?(function(e){for(var t=0;t<e.providers.length;t++){var r=e.providers[t];n&&(r.flags|=4096);var o=_a.get(r.token);o&&(r.flags=-3841&r.flags|o.flags,r.deps=fr(o.deps),r.value=o.value)}if(ba.size>0){var i=new Set(e.modules);ba.forEach(function(t,r){if(i.has(Ce(r).providedIn)){var o={token:r,flags:t.flags|(n?4096:0),deps:fr(t.deps),value:t.value,index:e.providers.length};e.providers.push(o),e.providersByKey[Qn(r)]=o}})}}(e=e.factory(function(){return Gn})),e):e}(r))}var _a=new Map,ba=new Map,wa=new Map;function Ca(e){var t;_a.set(e.token,e),"function"==typeof e.token&&(t=Ce(e.token))&&"function"==typeof t.providedIn&&ba.set(e.token,e)}function xa(e,t){var n=hr(t.viewDefFactory),r=hr(n.nodes[0].element.componentView);wa.set(e,r)}function Sa(){_a.clear(),ba.clear(),wa.clear()}function Ea(e){if(0===_a.size)return e;var t=function(e){for(var t=[],n=null,r=0;r<e.nodes.length;r++){var o=e.nodes[r];1&o.flags&&(n=o),n&&3840&o.flags&&_a.has(o.provider.token)&&(t.push(n.nodeIndex),n=null)}return t}(e);if(0===t.length)return e;e=e.factory(function(){return Gn});for(var n=0;n<t.length;n++)r(e,t[n]);return e;function r(e,t){for(var n=t+1;n<e.nodes.length;n++){var r=e.nodes[n];if(1&r.flags)return;if(3840&r.flags){var o=r.provider,i=_a.get(o.token);i&&(r.flags=-3841&r.flags|i.flags,o.deps=fr(i.deps),o.value=i.value)}}}}function Pa(e,t,n,r,o,i,a,u,l,s,c,f,p){var d=e.def.nodes[t];return ta(e,d,n,r,o,i,a,u,l,s,c,f,p),224&d.flags?Bn(e,t).value:void 0}function Oa(e,t,n,r,o,i,a,u,l,s,c,f,p){var d=e.def.nodes[t];return ra(e,d,n,r,o,i,a,u,l,s,c,f,p),224&d.flags?Bn(e,t).value:void 0}function Ta(e){return Za(Na.detectChanges,ea,null,[e])}function ka(e){return Za(Na.checkNoChanges,Xi,null,[e])}function Ra(e){return Za(Na.destroy,ia,null,[e])}var Aa,Ma,Ia,Na=function(e){return e[e.create=0]="create",e[e.detectChanges=1]="detectChanges",e[e.checkNoChanges=2]="checkNoChanges",e[e.destroy=3]="destroy",e[e.handleEvent=4]="handleEvent",e}({});function ja(e,t){Ma=e,Ia=t}function Da(e,t,n,r){return ja(e,t),Za(Na.handleEvent,e.def.handleEvent,null,[e,t,n,r])}function Ua(e,t){if(128&e.state)throw Un(Na[Aa]);return ja(e,za(e,0)),e.def.updateDirectives(function(e,n,r){for(var o=[],i=3;i<arguments.length;i++)o[i-3]=arguments[i];var a=e.def.nodes[n];return 0===t?Va(e,a,r,o):Ha(e,a,r,o),16384&a.flags&&ja(e,za(e,n)),224&a.flags?Bn(e,a.nodeIndex).value:void 0},e)}function La(e,t){if(128&e.state)throw Un(Na[Aa]);return ja(e,Fa(e,0)),e.def.updateRenderer(function(e,n,r){for(var o=[],i=3;i<arguments.length;i++)o[i-3]=arguments[i];var a=e.def.nodes[n];return 0===t?Va(e,a,r,o):Ha(e,a,r,o),3&a.flags&&ja(e,Fa(e,n)),224&a.flags?Bn(e,a.nodeIndex).value:void 0},e)}function Va(e,t,n,r){if(ta.apply(void 0,c([e,t,n],r))){var o=1===n?r[0]:r;if(16384&t.flags){for(var i={},a=0;a<t.bindings.length;a++){var u=t.bindings[a],l=o[a];8&u.flags&&(i[(d=u.nonMinifiedName,"ng-reflect-"+d.replace(/[$@]/g,"_").replace(jt,function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return"-"+e[1].toLowerCase()}))]=Dt(l))}var s=t.parent,f=zn(e,s.nodeIndex).renderElement;if(s.element.name)for(var p in i)null!=(l=i[p])?e.renderer.setAttribute(f,p,l):e.renderer.removeAttribute(f,p);else e.renderer.setValue(f,"bindings="+JSON.stringify(i,null,2))}}var d}function Ha(e,t,n,r){ra.apply(void 0,c([e,t,n],r))}function za(e,t){for(var n=t;n<e.def.nodes.length;n++){var r=e.def.nodes[n];if(16384&r.flags&&r.bindings&&r.bindings.length)return n}return null}function Fa(e,t){for(var n=t;n<e.def.nodes.length;n++){var r=e.def.nodes[n];if(3&r.flags&&r.bindings&&r.bindings.length)return n}return null}var Ba=function(){function e(e,t){this.view=e,this.nodeIndex=t,null==t&&(this.nodeIndex=t=0),this.nodeDef=e.def.nodes[t];for(var n=this.nodeDef,r=e;n&&0==(1&n.flags);)n=n.parent;if(!n)for(;!n&&r;)n=ar(r),r=r.parent;this.elDef=n,this.elView=r}return Object.defineProperty(e.prototype,"elOrCompView",{get:function(){return zn(this.elView,this.elDef.nodeIndex).componentView||this.view},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return Zr(this.elView,this.elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"component",{get:function(){return this.elOrCompView.component},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return this.elOrCompView.context},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"providerTokens",{get:function(){var e=[];if(this.elDef)for(var t=this.elDef.nodeIndex+1;t<=this.elDef.nodeIndex+this.elDef.childCount;t++){var n=this.elView.def.nodes[t];20224&n.flags&&e.push(n.provider.token),t+=n.childCount}return e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"references",{get:function(){var e={};if(this.elDef){qa(this.elView,this.elDef,e);for(var t=this.elDef.nodeIndex+1;t<=this.elDef.nodeIndex+this.elDef.childCount;t++){var n=this.elView.def.nodes[t];20224&n.flags&&qa(this.elView,n,e),t+=n.childCount}}return e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentRenderElement",{get:function(){var e=function(e){for(;e&&!lr(e);)e=e.parent;return e.parent?zn(e.parent,ar(e).nodeIndex):null}(this.elOrCompView);return e?e.renderElement:void 0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"renderNode",{get:function(){return 2&this.nodeDef.flags?ur(this.view,this.nodeDef):ur(this.elView,this.elDef)},enumerable:!0,configurable:!0}),e.prototype.logError=function(e){for(var t,n,r=[],o=1;o<arguments.length;o++)r[o-1]=arguments[o];2&this.nodeDef.flags?(t=this.view.def,n=this.nodeDef.nodeIndex):(t=this.elView.def,n=this.elDef.nodeIndex);var i=function(e,t){for(var n=-1,r=0;r<=t;r++)3&e.nodes[r].flags&&n++;return n}(t,n),a=-1;t.factory(function(){var t;return++a===i?(t=e.error).bind.apply(t,c([e],r)):Gn}),a<i&&(e.error("Illegal state: the ViewDefinitionFactory did not call the logger!"),e.error.apply(e,c(r)))},e}();function qa(e,t,n){for(var r in t.references)n[r]=Vi(e,t,t.references[r])}function Za(e,t,n,r){var o=Aa,i=Ma,a=Ia;try{Aa=e;var u=t.apply(n,r);return Ma=i,Ia=a,Aa=o,u}catch(l){if(rt(l)||!Ma)throw l;throw function(e,t){return e instanceof Error||(e=new Error(e.toString())),Dn(e,t),e}(l,Ga())}}function Ga(){return Ma?new Ba(Ma,Ia):null}var Wa=function(){function e(e){this.delegate=e}return e.prototype.createRenderer=function(e,t){return new Qa(this.delegate.createRenderer(e,t))},e.prototype.begin=function(){this.delegate.begin&&this.delegate.begin()},e.prototype.end=function(){this.delegate.end&&this.delegate.end()},e.prototype.whenRenderingDone=function(){return this.delegate.whenRenderingDone?this.delegate.whenRenderingDone():Promise.resolve(null)},e}(),Qa=function(){function e(e){this.delegate=e,this.debugContextFactory=Ga,this.data=this.delegate.data}return e.prototype.createDebugContext=function(e){return this.debugContextFactory(e)},e.prototype.destroyNode=function(e){!function(e){wi.delete(e.nativeNode)}(Ci(e)),this.delegate.destroyNode&&this.delegate.destroyNode(e)},e.prototype.destroy=function(){this.delegate.destroy()},e.prototype.createElement=function(e,t){var n=this.delegate.createElement(e,t),r=this.createDebugContext(n);if(r){var o=new bi(n,null,r);o.name=e,xi(o)}return n},e.prototype.createComment=function(e){var t=this.delegate.createComment(e),n=this.createDebugContext(t);return n&&xi(new _i(t,null,n)),t},e.prototype.createText=function(e){var t=this.delegate.createText(e),n=this.createDebugContext(t);return n&&xi(new _i(t,null,n)),t},e.prototype.appendChild=function(e,t){var n=Ci(e),r=Ci(t);n&&r&&n instanceof bi&&n.addChild(r),this.delegate.appendChild(e,t)},e.prototype.insertBefore=function(e,t,n){var r=Ci(e),o=Ci(t),i=Ci(n);r&&o&&r instanceof bi&&r.insertBefore(i,o),this.delegate.insertBefore(e,t,n)},e.prototype.removeChild=function(e,t){var n=Ci(e),r=Ci(t);n&&r&&n instanceof bi&&n.removeChild(r),this.delegate.removeChild(e,t)},e.prototype.selectRootElement=function(e,t){var n=this.delegate.selectRootElement(e,t),r=Ga();return r&&xi(new bi(n,null,r)),n},e.prototype.setAttribute=function(e,t,n,r){var o=Ci(e);o&&o instanceof bi&&(o.attributes[r?r+":"+t:t]=n),this.delegate.setAttribute(e,t,n,r)},e.prototype.removeAttribute=function(e,t,n){var r=Ci(e);r&&r instanceof bi&&(r.attributes[n?n+":"+t:t]=null),this.delegate.removeAttribute(e,t,n)},e.prototype.addClass=function(e,t){var n=Ci(e);n&&n instanceof bi&&(n.classes[t]=!0),this.delegate.addClass(e,t)},e.prototype.removeClass=function(e,t){var n=Ci(e);n&&n instanceof bi&&(n.classes[t]=!1),this.delegate.removeClass(e,t)},e.prototype.setStyle=function(e,t,n,r){var o=Ci(e);o&&o instanceof bi&&(o.styles[t]=n),this.delegate.setStyle(e,t,n,r)},e.prototype.removeStyle=function(e,t,n){var r=Ci(e);r&&r instanceof bi&&(r.styles[t]=null),this.delegate.removeStyle(e,t,n)},e.prototype.setProperty=function(e,t,n){var r=Ci(e);r&&r instanceof bi&&(r.properties[t]=n),this.delegate.setProperty(e,t,n)},e.prototype.listen=function(e,t,n){if("string"!=typeof e){var r=Ci(e);r&&r.listeners.push(new yi(t,n))}return this.delegate.listen(e,t,n)},e.prototype.parentNode=function(e){return this.delegate.parentNode(e)},e.prototype.nextSibling=function(e){return this.delegate.nextSibling(e)},e.prototype.setValue=function(e,t){return this.delegate.setValue(e,t)},e}();function Ka(e,t,n){return new Ya(e,t,n)}var Ya=function(e){function t(t,n,r){var o=e.call(this)||this;return o.moduleType=t,o._bootstrapComponents=n,o._ngModuleDefFactory=r,o}return o(t,e),t.prototype.create=function(e){!function(){if(!pa){pa=!0;var e=st()?{setCurrentNode:ja,createRootView:ha,createEmbeddedView:va,createComponentView:ma,createNgModuleRef:ya,overrideProvider:Ca,overrideComponentView:xa,clearOverrides:Sa,checkAndUpdateView:Ta,checkNoChangesView:ka,destroyView:Ra,createDebugContext:function(e,t){return new Ba(e,t)},handleEvent:Da,updateDirectives:Ua,updateRenderer:La}:{setCurrentNode:function(){},createRootView:da,createEmbeddedView:Wi,createComponentView:Ki,createNgModuleRef:Kr,overrideProvider:Gn,overrideComponentView:Gn,clearOverrides:Gn,checkAndUpdateView:ea,checkNoChangesView:Xi,destroyView:ia,createDebugContext:function(e,t){return new Ba(e,t)},handleEvent:function(e,t,n,r){return e.def.handleEvent(e,t,n,r)},updateDirectives:function(e,t){return e.def.updateDirectives(0===t?Pa:Oa,e)},updateRenderer:function(e,t){return e.def.updateRenderer(0===t?Pa:Oa,e)}};Zn.setCurrentNode=e.setCurrentNode,Zn.createRootView=e.createRootView,Zn.createEmbeddedView=e.createEmbeddedView,Zn.createComponentView=e.createComponentView,Zn.createNgModuleRef=e.createNgModuleRef,Zn.overrideProvider=e.overrideProvider,Zn.overrideComponentView=e.overrideComponentView,Zn.clearOverrides=e.clearOverrides,Zn.checkAndUpdateView=e.checkAndUpdateView,Zn.checkNoChangesView=e.checkNoChangesView,Zn.destroyView=e.destroyView,Zn.resolveDep=ho,Zn.createDebugContext=e.createDebugContext,Zn.handleEvent=e.handleEvent,Zn.updateDirectives=e.updateDirectives,Zn.updateRenderer=e.updateRenderer,Zn.dirtyParentQueries=Di}}();var t=function(e){var t=Array.from(e.providers),n=Array.from(e.modules),r={};for(var o in e.providersByKey)r[o]=e.providersByKey[o];return{factory:e.factory,isRoot:e.isRoot,providers:t,modules:n,providersByKey:r}}(hr(this._ngModuleDefFactory));return Zn.createNgModuleRef(this.moduleType,e||Ve.NULL,this._bootstrapComponents,t)},t}(rn),Ja=function(){return function(){}}(),$a=function(){function e(){this.title="test"}return e.prototype.ngOnInit=function(){this.hidetimer(),this.moveleft()},e.prototype.hidetimer=function(){return setTimeout(function(){document.getElementById("timer").classList.add("hide_it")},4e3),!1},e.prototype.moveleft=function(){return document.querySelector(".i_main_container"),screen.width<767?(document.getElementById("banner_main").style.width="100%",document.getElementById("details_container").style.width="100%"):setTimeout(function(){document.getElementById("banner_main").style.width="50%",document.getElementById("details_container").style.width="50%"},5e3),!1},e}(),Xa=function(){return function(){}}(),eu=new Ne("Location Initialized"),tu=function(){return function(){}}(),nu=new Ne("appBaseHref"),ru=function(){function e(e,n){var r=this;this._subject=new wo,this._urlChangeListeners=[],this._platformStrategy=e;var o=this._platformStrategy.getBaseHref();this._platformLocation=n,this._baseHref=t.stripTrailingSlash(ou(o)),this._platformStrategy.onPopState(function(e){r._subject.emit({url:r.path(!0),pop:!0,state:e.state,type:e.type})})}var t;return t=e,e.prototype.path=function(e){return void 0===e&&(e=!1),this.normalize(this._platformStrategy.path(e))},e.prototype.getState=function(){return this._platformLocation.getState()},e.prototype.isCurrentPathEqualTo=function(e,n){return void 0===n&&(n=""),this.path()==this.normalize(e+t.normalizeQueryParams(n))},e.prototype.normalize=function(e){return t.stripTrailingSlash(function(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,ou(e)))},e.prototype.prepareExternalUrl=function(e){return e&&"/"!==e[0]&&(e="/"+e),this._platformStrategy.prepareExternalUrl(e)},e.prototype.go=function(e,n,r){void 0===n&&(n=""),void 0===r&&(r=null),this._platformStrategy.pushState(r,"",e,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+t.normalizeQueryParams(n)),r)},e.prototype.replaceState=function(e,n,r){void 0===n&&(n=""),void 0===r&&(r=null),this._platformStrategy.replaceState(r,"",e,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+t.normalizeQueryParams(n)),r)},e.prototype.forward=function(){this._platformStrategy.forward()},e.prototype.back=function(){this._platformStrategy.back()},e.prototype.onUrlChange=function(e){var t=this;this._urlChangeListeners.push(e),this.subscribe(function(e){t._notifyUrlChangeListeners(e.url,e.state)})},e.prototype._notifyUrlChangeListeners=function(e,t){void 0===e&&(e=""),this._urlChangeListeners.forEach(function(n){return n(e,t)})},e.prototype.subscribe=function(e,t,n){return this._subject.subscribe({next:e,error:t,complete:n})},e.normalizeQueryParams=function(e){return e&&"?"!==e[0]?"?"+e:e},e.joinWithSlash=function(e,t){if(0==e.length)return t;if(0==t.length)return e;var n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,2==n?e+t.substring(1):1==n?e+t:e+"/"+t},e.stripTrailingSlash=function(e){var t=e.match(/#|\?|$/),n=t&&t.index||e.length;return e.slice(0,n-("/"===e[n-1]?1:0))+e.slice(n)},e}();function ou(e){return e.replace(/\/index.html$/,"")}var iu=function(e){function t(t,n){var r=e.call(this)||this;return r._platformLocation=t,r._baseHref="",null!=n&&(r._baseHref=n),r}return o(t,e),t.prototype.onPopState=function(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)},t.prototype.getBaseHref=function(){return this._baseHref},t.prototype.path=function(e){void 0===e&&(e=!1);var t=this._platformLocation.hash;return null==t&&(t="#"),t.length>0?t.substring(1):t},t.prototype.prepareExternalUrl=function(e){var t=ru.joinWithSlash(this._baseHref,e);return t.length>0?"#"+t:t},t.prototype.pushState=function(e,t,n,r){var o=this.prepareExternalUrl(n+ru.normalizeQueryParams(r));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.pushState(e,t,o)},t.prototype.replaceState=function(e,t,n,r){var o=this.prepareExternalUrl(n+ru.normalizeQueryParams(r));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.replaceState(e,t,o)},t.prototype.forward=function(){this._platformLocation.forward()},t.prototype.back=function(){this._platformLocation.back()},t}(tu),au=function(e){function t(t,n){var r=e.call(this)||this;if(r._platformLocation=t,null==n&&(n=r._platformLocation.getBaseHrefFromDOM()),null==n)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");return r._baseHref=n,r}return o(t,e),t.prototype.onPopState=function(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)},t.prototype.getBaseHref=function(){return this._baseHref},t.prototype.prepareExternalUrl=function(e){return ru.joinWithSlash(this._baseHref,e)},t.prototype.path=function(e){void 0===e&&(e=!1);var t=this._platformLocation.pathname+ru.normalizeQueryParams(this._platformLocation.search),n=this._platformLocation.hash;return n&&e?""+t+n:t},t.prototype.pushState=function(e,t,n,r){var o=this.prepareExternalUrl(n+ru.normalizeQueryParams(r));this._platformLocation.pushState(e,t,o)},t.prototype.replaceState=function(e,t,n,r){var o=this.prepareExternalUrl(n+ru.normalizeQueryParams(r));this._platformLocation.replaceState(e,t,o)},t.prototype.forward=function(){this._platformLocation.forward()},t.prototype.back=function(){this._platformLocation.back()},t}(tu),uu=void 0,lu=["en",[["a","p"],["AM","PM"],uu],[["AM","PM"],uu,uu],[["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"]],uu,[["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"]],uu,[["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}",uu,"{1} 'at' {0}",uu],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"$","US Dollar",{},function(e){var t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}],su={},cu=function(e){return e[e.Zero=0]="Zero",e[e.One=1]="One",e[e.Two=2]="Two",e[e.Few=3]="Few",e[e.Many=4]="Many",e[e.Other=5]="Other",e}({}),fu=new Ne("UseV4Plurals"),pu=function(){return function(){}}(),du=function(e){function t(t,n){var r=e.call(this)||this;return r.locale=t,r.deprecatedPluralFn=n,r}return o(t,e),t.prototype.getPluralCategory=function(e,t){switch(this.deprecatedPluralFn?this.deprecatedPluralFn(t||this.locale,e):function(e){return function(e){var t=e.toLowerCase().replace(/_/g,"-"),n=su[t];if(n)return n;var r=t.split("-")[0];if(n=su[r])return n;if("en"===r)return lu;throw new Error('Missing locale data for the locale "'+e+'".')}(e)[18]}(t||this.locale)(e)){case cu.Zero:return"zero";case cu.One:return"one";case cu.Two:return"two";case cu.Few:return"few";case cu.Many:return"many";default:return"other"}},t}(pu),hu=function(){return function(){}}(),gu=new Ne("DocumentToken"),vu="server",mu=function(){function e(){}return e.ngInjectableDef=we({providedIn:"root",factory:function(){return new yu(Ie(gu),window,Ie(at))}}),e}(),yu=function(){function e(e,t,n){this.document=e,this.window=t,this.errorHandler=n,this.offset=function(){return[0,0]}}return e.prototype.setOffset=function(e){this.offset=Array.isArray(e)?function(){return e}:e},e.prototype.getScrollPosition=function(){return this.supportScrollRestoration()?[this.window.scrollX,this.window.scrollY]:[0,0]},e.prototype.scrollToPosition=function(e){this.supportScrollRestoration()&&this.window.scrollTo(e[0],e[1])},e.prototype.scrollToAnchor=function(e){if(this.supportScrollRestoration()){e=this.window.CSS&&this.window.CSS.escape?this.window.CSS.escape(e):e.replace(/(\"|\'\ |:|\.|\[|\]|,|=)/g,"\\$1");try{var t=this.document.querySelector("#"+e);if(t)return void this.scrollToElement(t);var n=this.document.querySelector("[name='"+e+"']");if(n)return void this.scrollToElement(n)}catch(r){this.errorHandler.handleError(r)}}},e.prototype.setHistoryScrollRestoration=function(e){if(this.supportScrollRestoration()){var t=this.window.history;t&&t.scrollRestoration&&(t.scrollRestoration=e)}},e.prototype.scrollToElement=function(e){var t=e.getBoundingClientRect(),n=t.left+this.window.pageXOffset,r=t.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(n-o[0],r-o[1])},e.prototype.supportScrollRestoration=function(){try{return!!this.window&&!!this.window.scrollTo}catch(e){return!1}},e}(),_u=new k(function(e){return e.complete()});function bu(e){return e?function(e){return new k(function(t){return e.schedule(function(){return t.complete()})})}(e):_u}function wu(e){var t=new k(function(t){t.next(e),t.complete()});return t._isScalar=!0,t.value=e,t}function Cu(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=e[e.length-1];switch(U(n)?e.pop():n=void 0,e.length){case 0:return bu(n);case 1:return n?X(e,n):wu(e[0]);default:return X(e,n)}}var xu=function(e){function t(t){var n=e.call(this)||this;return n._value=t,n}return o(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return this.getValue()},enumerable:!0,configurable:!0}),t.prototype._subscribe=function(t){var n=e.prototype._subscribe.call(this,t);return n&&!n.closed&&t.next(this._value),n},t.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new M;return this._value},t.prototype.next=function(t){e.prototype.next.call(this,this._value=t)},t}(j);function Su(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}Su.prototype=Object.create(Error.prototype);var Eu=Su,Pu={},Ou=function(){function e(e){this.resultSelector=e}return e.prototype.call=function(e,t){return t.subscribe(new Tu(e,this.resultSelector))},e}(),Tu=function(e){function t(t,n){var r=e.call(this,t)||this;return r.resultSelector=n,r.active=0,r.values=[],r.observables=[],r}return o(t,e),t.prototype._next=function(e){this.values.push(Pu),this.observables.push(e)},t.prototype._complete=function(){var e=this.observables,t=e.length;if(0===t)this.destination.complete();else{this.active=t,this.toRespond=t;for(var n=0;n<t;n++){var r=e[n];this.add(Q(this,r,r,n))}}},t.prototype.notifyComplete=function(e){0==(this.active-=1)&&this.destination.complete()},t.prototype.notifyNext=function(e,t,n,r,o){var i=this.values,a=this.toRespond?i[n]===Pu?--this.toRespond:this.toRespond:0;i[n]=t,0===a&&(this.resultSelector?this._tryResultSelector(i):this.destination.next(i.slice()))},t.prototype._tryResultSelector=function(e){var t;try{t=this.resultSelector.apply(this,e)}catch(n){return void this.destination.error(n)}this.destination.next(t)},t}(K);function ku(e){return new k(function(t){var n;try{n=e()}catch(r){return void t.error(r)}return(n?ee(n):bu()).subscribe(t)})}function Ru(){return ie(1)}function Au(e,t){return function(n){return n.lift(new Mu(e,t))}}var Mu=function(){function e(e,t){this.predicate=e,this.thisArg=t}return e.prototype.call=function(e,t){return t.subscribe(new Iu(e,this.predicate,this.thisArg))},e}(),Iu=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.predicate=n,o.thisArg=r,o.count=0,o}return o(t,e),t.prototype._next=function(e){var t;try{t=this.predicate.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}t&&this.destination.next(e)},t}(x);function Nu(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}Nu.prototype=Object.create(Error.prototype);var ju=Nu;function Du(e){return function(t){return 0===e?bu():t.lift(new Uu(e))}}var Uu=function(){function e(e){if(this.total=e,this.total<0)throw new ju}return e.prototype.call=function(e,t){return t.subscribe(new Lu(e,this.total))},e}(),Lu=function(e){function t(t,n){var r=e.call(this,t)||this;return r.total=n,r.ring=new Array,r.count=0,r}return o(t,e),t.prototype._next=function(e){var t=this.ring,n=this.total,r=this.count++;t.length<n?t.push(e):t[r%n]=e},t.prototype._complete=function(){var e=this.destination,t=this.count;if(t>0)for(var n=this.count>=this.total?this.total:this.count,r=this.ring,o=0;o<n;o++){var i=t++%n;e.next(r[i])}e.complete()},t}(x);function Vu(e,t,n){return function(r){return r.lift(new Hu(e,t,n))}}var Hu=function(){function e(e,t,n){this.nextOrObserver=e,this.error=t,this.complete=n}return e.prototype.call=function(e,t){return t.subscribe(new zu(e,this.nextOrObserver,this.error,this.complete))},e}(),zu=function(e){function t(t,n,r,o){var i=e.call(this,t)||this;return i._tapNext=P,i._tapError=P,i._tapComplete=P,i._tapError=r||P,i._tapComplete=o||P,d(n)?(i._context=i,i._tapNext=n):n&&(i._context=n,i._tapNext=n.next||P,i._tapError=n.error||P,i._tapComplete=n.complete||P),i}return o(t,e),t.prototype._next=function(e){try{this._tapNext.call(this._context,e)}catch(t){return void this.destination.error(t)}this.destination.next(e)},t.prototype._error=function(e){try{this._tapError.call(this._context,e)}catch(e){return void this.destination.error(e)}this.destination.error(e)},t.prototype._complete=function(){try{this._tapComplete.call(this._context)}catch(e){return void this.destination.error(e)}return this.destination.complete()},t}(x),Fu=function(e){return void 0===e&&(e=Bu),Vu({hasValue:!1,next:function(){this.hasValue=!0},complete:function(){if(!this.hasValue)throw e()}})};function Bu(){return new Eu}function qu(e){return void 0===e&&(e=null),function(t){return t.lift(new Zu(e))}}var Zu=function(){function e(e){this.defaultValue=e}return e.prototype.call=function(e,t){return t.subscribe(new Gu(e,this.defaultValue))},e}(),Gu=function(e){function t(t,n){var r=e.call(this,t)||this;return r.defaultValue=n,r.isEmpty=!0,r}return o(t,e),t.prototype._next=function(e){this.isEmpty=!1,this.destination.next(e)},t.prototype._complete=function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()},t}(x);function Wu(e,t){var n=arguments.length>=2;return function(r){return r.pipe(e?Au(function(t,n){return e(t,n,r)}):oe,Du(1),n?qu(t):Fu(function(){return new Eu}))}}function Qu(e){return function(t){var n=new Ku(e),r=t.lift(n);return n.caught=r}}var Ku=function(){function e(e){this.selector=e}return e.prototype.call=function(e,t){return t.subscribe(new Yu(e,this.selector,this.caught))},e}(),Yu=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.selector=n,o.caught=r,o}return o(t,e),t.prototype.error=function(t){if(!this.isStopped){var n=void 0;try{n=this.selector(t,this.caught)}catch(o){return void e.prototype.error.call(this,o)}this._unsubscribeAndRecycle();var r=new L(this,void 0,void 0);this.add(r),Q(this,n,void 0,void 0,r)}},t}(K);function Ju(e){return function(t){return 0===e?bu():t.lift(new $u(e))}}var $u=function(){function e(e){if(this.total=e,this.total<0)throw new ju}return e.prototype.call=function(e,t){return t.subscribe(new Xu(e,this.total))},e}(),Xu=function(e){function t(t,n){var r=e.call(this,t)||this;return r.total=n,r.count=0,r}return o(t,e),t.prototype._next=function(e){var t=this.total,n=++this.count;n<=t&&(this.destination.next(e),n===t&&(this.destination.complete(),this.unsubscribe()))},t}(x);function el(e,t){var n=arguments.length>=2;return function(r){return r.pipe(e?Au(function(t,n){return e(t,n,r)}):oe,Ju(1),n?qu(t):Fu(function(){return new Eu}))}}var tl=function(){function e(e,t,n){this.predicate=e,this.thisArg=t,this.source=n}return e.prototype.call=function(e,t){return t.subscribe(new nl(e,this.predicate,this.thisArg,this.source))},e}(),nl=function(e){function t(t,n,r,o){var i=e.call(this,t)||this;return i.predicate=n,i.thisArg=r,i.source=o,i.index=0,i.thisArg=r||i,i}return o(t,e),t.prototype.notifyComplete=function(e){this.destination.next(e),this.destination.complete()},t.prototype._next=function(e){var t=!1;try{t=this.predicate.call(this.thisArg,e,this.index++,this.source)}catch(n){return void this.destination.error(n)}t||this.notifyComplete(!1)},t.prototype._complete=function(){this.notifyComplete(!0)},t}(x);function rl(e,t){return"function"==typeof t?function(n){return n.pipe(rl(function(n,r){return ee(e(n,r)).pipe(Y(function(e,o){return t(n,e,r,o)}))}))}:function(t){return t.lift(new ol(e))}}var ol=function(){function e(e){this.project=e}return e.prototype.call=function(e,t){return t.subscribe(new il(e,this.project))},e}(),il=function(e){function t(t,n){var r=e.call(this,t)||this;return r.project=n,r.index=0,r}return o(t,e),t.prototype._next=function(e){var t,n=this.index++;try{t=this.project(e,n)}catch(r){return void this.destination.error(r)}this._innerSub(t,e,n)},t.prototype._innerSub=function(e,t,n){var r=this.innerSubscription;r&&r.unsubscribe();var o=new L(this,void 0,void 0);this.destination.add(o),this.innerSubscription=Q(this,e,t,n,o)},t.prototype._complete=function(){var t=this.innerSubscription;t&&!t.closed||e.prototype._complete.call(this),this.unsubscribe()},t.prototype._unsubscribe=function(){this.innerSubscription=null},t.prototype.notifyComplete=function(t){this.destination.remove(t),this.innerSubscription=null,this.isStopped&&e.prototype._complete.call(this)},t.prototype.notifyNext=function(e,t,n,r,o){this.destination.next(t)},t}(K);function al(e,t){var n=!1;return arguments.length>=2&&(n=!0),function(r){return r.lift(new ul(e,t,n))}}var ul=function(){function e(e,t,n){void 0===n&&(n=!1),this.accumulator=e,this.seed=t,this.hasSeed=n}return e.prototype.call=function(e,t){return t.subscribe(new ll(e,this.accumulator,this.seed,this.hasSeed))},e}(),ll=function(e){function t(t,n,r,o){var i=e.call(this,t)||this;return i.accumulator=n,i._seed=r,i.hasSeed=o,i.index=0,i}return o(t,e),Object.defineProperty(t.prototype,"seed",{get:function(){return this._seed},set:function(e){this.hasSeed=!0,this._seed=e},enumerable:!0,configurable:!0}),t.prototype._next=function(e){if(this.hasSeed)return this._tryNext(e);this.seed=e,this.destination.next(e)},t.prototype._tryNext=function(e){var t,n=this.index++;try{t=this.accumulator(this.seed,e,n)}catch(r){this.destination.error(r)}this.seed=t,this.destination.next(t)},t}(x);function sl(e,t){return te(e,t,1)}var cl=function(){function e(e){this.callback=e}return e.prototype.call=function(e,t){return t.subscribe(new fl(e,this.callback))},e}(),fl=function(e){function t(t,n){var r=e.call(this,t)||this;return r.add(new v(n)),r}return o(t,e),t}(x),pl=null;function dl(){return pl}var hl,gl=function(e){function t(){var t=e.call(this)||this;t._animationPrefix=null,t._transitionEnd=null;try{var n=t.createElement("div",document);if(null!=t.getStyle(n,"animationName"))t._animationPrefix="";else for(var r=["Webkit","Moz","O","ms"],o=0;o<r.length;o++)if(null!=t.getStyle(n,r[o]+"AnimationName")){t._animationPrefix="-"+r[o].toLowerCase()+"-";break}var i={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};Object.keys(i).forEach(function(e){null!=t.getStyle(n,e)&&(t._transitionEnd=i[e])})}catch(a){t._animationPrefix=null,t._transitionEnd=null}return t}return o(t,e),t.prototype.getDistributedNodes=function(e){return e.getDistributedNodes()},t.prototype.resolveAndSetHref=function(e,t,n){e.href=null==n?t:t+"/../"+n},t.prototype.supportsDOMEvents=function(){return!0},t.prototype.supportsNativeShadowDOM=function(){return"function"==typeof document.body.createShadowRoot},t.prototype.getAnimationPrefix=function(){return this._animationPrefix?this._animationPrefix:""},t.prototype.getTransitionEnd=function(){return this._transitionEnd?this._transitionEnd:""},t.prototype.supportsAnimation=function(){return null!=this._animationPrefix&&null!=this._transitionEnd},t}(function(){function e(){this.resourceLoaderType=null}return Object.defineProperty(e.prototype,"attrToPropMap",{get:function(){return this._attrToPropMap},set:function(e){this._attrToPropMap=e},enumerable:!0,configurable:!0}),e}()),vl={class:"className",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"},ml={"\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"},yl={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"},_l=function(){if(Re.Node)return Re.Node.prototype.contains||function(e){return!!(16&this.compareDocumentPosition(e))}}(),bl=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.parse=function(e){throw new Error("parse not implemented")},t.makeCurrent=function(){var e;e=new t,pl||(pl=e)},t.prototype.hasProperty=function(e,t){return t in e},t.prototype.setProperty=function(e,t,n){e[t]=n},t.prototype.getProperty=function(e,t){return e[t]},t.prototype.invoke=function(e,t,n){var r;(r=e)[t].apply(r,c(n))},t.prototype.logError=function(e){window.console&&(console.error?console.error(e):console.log(e))},t.prototype.log=function(e){window.console&&window.console.log&&window.console.log(e)},t.prototype.logGroup=function(e){window.console&&window.console.group&&window.console.group(e)},t.prototype.logGroupEnd=function(){window.console&&window.console.groupEnd&&window.console.groupEnd()},Object.defineProperty(t.prototype,"attrToPropMap",{get:function(){return vl},enumerable:!0,configurable:!0}),t.prototype.contains=function(e,t){return _l.call(e,t)},t.prototype.querySelector=function(e,t){return e.querySelector(t)},t.prototype.querySelectorAll=function(e,t){return e.querySelectorAll(t)},t.prototype.on=function(e,t,n){e.addEventListener(t,n,!1)},t.prototype.onAndCancel=function(e,t,n){return e.addEventListener(t,n,!1),function(){e.removeEventListener(t,n,!1)}},t.prototype.dispatchEvent=function(e,t){e.dispatchEvent(t)},t.prototype.createMouseEvent=function(e){var t=this.getDefaultDocument().createEvent("MouseEvent");return t.initEvent(e,!0,!0),t},t.prototype.createEvent=function(e){var t=this.getDefaultDocument().createEvent("Event");return t.initEvent(e,!0,!0),t},t.prototype.preventDefault=function(e){e.preventDefault(),e.returnValue=!1},t.prototype.isPrevented=function(e){return e.defaultPrevented||null!=e.returnValue&&!e.returnValue},t.prototype.getInnerHTML=function(e){return e.innerHTML},t.prototype.getTemplateContent=function(e){return"content"in e&&this.isTemplateElement(e)?e.content:null},t.prototype.getOuterHTML=function(e){return e.outerHTML},t.prototype.nodeName=function(e){return e.nodeName},t.prototype.nodeValue=function(e){return e.nodeValue},t.prototype.type=function(e){return e.type},t.prototype.content=function(e){return this.hasProperty(e,"content")?e.content:e},t.prototype.firstChild=function(e){return e.firstChild},t.prototype.nextSibling=function(e){return e.nextSibling},t.prototype.parentElement=function(e){return e.parentNode},t.prototype.childNodes=function(e){return e.childNodes},t.prototype.childNodesAsList=function(e){for(var t=e.childNodes,n=new Array(t.length),r=0;r<t.length;r++)n[r]=t[r];return n},t.prototype.clearNodes=function(e){for(;e.firstChild;)e.removeChild(e.firstChild)},t.prototype.appendChild=function(e,t){e.appendChild(t)},t.prototype.removeChild=function(e,t){e.removeChild(t)},t.prototype.replaceChild=function(e,t,n){e.replaceChild(t,n)},t.prototype.remove=function(e){return e.parentNode&&e.parentNode.removeChild(e),e},t.prototype.insertBefore=function(e,t,n){e.insertBefore(n,t)},t.prototype.insertAllBefore=function(e,t,n){n.forEach(function(n){return e.insertBefore(n,t)})},t.prototype.insertAfter=function(e,t,n){e.insertBefore(n,t.nextSibling)},t.prototype.setInnerHTML=function(e,t){e.innerHTML=t},t.prototype.getText=function(e){return e.textContent},t.prototype.setText=function(e,t){e.textContent=t},t.prototype.getValue=function(e){return e.value},t.prototype.setValue=function(e,t){e.value=t},t.prototype.getChecked=function(e){return e.checked},t.prototype.setChecked=function(e,t){e.checked=t},t.prototype.createComment=function(e){return this.getDefaultDocument().createComment(e)},t.prototype.createTemplate=function(e){var t=this.getDefaultDocument().createElement("template");return t.innerHTML=e,t},t.prototype.createElement=function(e,t){return(t=t||this.getDefaultDocument()).createElement(e)},t.prototype.createElementNS=function(e,t,n){return(n=n||this.getDefaultDocument()).createElementNS(e,t)},t.prototype.createTextNode=function(e,t){return(t=t||this.getDefaultDocument()).createTextNode(e)},t.prototype.createScriptTag=function(e,t,n){var r=(n=n||this.getDefaultDocument()).createElement("SCRIPT");return r.setAttribute(e,t),r},t.prototype.createStyleElement=function(e,t){var n=(t=t||this.getDefaultDocument()).createElement("style");return this.appendChild(n,this.createTextNode(e,t)),n},t.prototype.createShadowRoot=function(e){return e.createShadowRoot()},t.prototype.getShadowRoot=function(e){return e.shadowRoot},t.prototype.getHost=function(e){return e.host},t.prototype.clone=function(e){return e.cloneNode(!0)},t.prototype.getElementsByClassName=function(e,t){return e.getElementsByClassName(t)},t.prototype.getElementsByTagName=function(e,t){return e.getElementsByTagName(t)},t.prototype.classList=function(e){return Array.prototype.slice.call(e.classList,0)},t.prototype.addClass=function(e,t){e.classList.add(t)},t.prototype.removeClass=function(e,t){e.classList.remove(t)},t.prototype.hasClass=function(e,t){return e.classList.contains(t)},t.prototype.setStyle=function(e,t,n){e.style[t]=n},t.prototype.removeStyle=function(e,t){e.style[t]=""},t.prototype.getStyle=function(e,t){return e.style[t]},t.prototype.hasStyle=function(e,t,n){var r=this.getStyle(e,t)||"";return n?r==n:r.length>0},t.prototype.tagName=function(e){return e.tagName},t.prototype.attributeMap=function(e){for(var t=new Map,n=e.attributes,r=0;r<n.length;r++){var o=n.item(r);t.set(o.name,o.value)}return t},t.prototype.hasAttribute=function(e,t){return e.hasAttribute(t)},t.prototype.hasAttributeNS=function(e,t,n){return e.hasAttributeNS(t,n)},t.prototype.getAttribute=function(e,t){return e.getAttribute(t)},t.prototype.getAttributeNS=function(e,t,n){return e.getAttributeNS(t,n)},t.prototype.setAttribute=function(e,t,n){e.setAttribute(t,n)},t.prototype.setAttributeNS=function(e,t,n,r){e.setAttributeNS(t,n,r)},t.prototype.removeAttribute=function(e,t){e.removeAttribute(t)},t.prototype.removeAttributeNS=function(e,t,n){e.removeAttributeNS(t,n)},t.prototype.templateAwareRoot=function(e){return this.isTemplateElement(e)?this.content(e):e},t.prototype.createHtmlDocument=function(){return document.implementation.createHTMLDocument("fakeTitle")},t.prototype.getDefaultDocument=function(){return document},t.prototype.getBoundingClientRect=function(e){try{return e.getBoundingClientRect()}catch(t){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}},t.prototype.getTitle=function(e){return e.title},t.prototype.setTitle=function(e,t){e.title=t||""},t.prototype.elementMatches=function(e,t){return!!this.isElementNode(e)&&(e.matches&&e.matches(t)||e.msMatchesSelector&&e.msMatchesSelector(t)||e.webkitMatchesSelector&&e.webkitMatchesSelector(t))},t.prototype.isTemplateElement=function(e){return this.isElementNode(e)&&"TEMPLATE"===e.nodeName},t.prototype.isTextNode=function(e){return e.nodeType===Node.TEXT_NODE},t.prototype.isCommentNode=function(e){return e.nodeType===Node.COMMENT_NODE},t.prototype.isElementNode=function(e){return e.nodeType===Node.ELEMENT_NODE},t.prototype.hasShadowRoot=function(e){return null!=e.shadowRoot&&e instanceof HTMLElement},t.prototype.isShadowRoot=function(e){return e instanceof DocumentFragment},t.prototype.importIntoDoc=function(e){return document.importNode(this.templateAwareRoot(e),!0)},t.prototype.adoptNode=function(e){return document.adoptNode(e)},t.prototype.getHref=function(e){return e.getAttribute("href")},t.prototype.getEventKey=function(e){var t=e.key;if(null==t){if(null==(t=e.keyIdentifier))return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===e.location&&yl.hasOwnProperty(t)&&(t=yl[t]))}return ml[t]||t},t.prototype.getGlobalEventTarget=function(e,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null},t.prototype.getHistory=function(){return window.history},t.prototype.getLocation=function(){return window.location},t.prototype.getBaseHref=function(e){var t,n=wl||(wl=document.querySelector("base"))?wl.getAttribute("href"):null;return null==n?null:(t=n,hl||(hl=document.createElement("a")),hl.setAttribute("href",t),"/"===hl.pathname.charAt(0)?hl.pathname:"/"+hl.pathname)},t.prototype.resetBaseElement=function(){wl=null},t.prototype.getUserAgent=function(){return window.navigator.userAgent},t.prototype.setData=function(e,t,n){this.setAttribute(e,"data-"+t,n)},t.prototype.getData=function(e,t){return this.getAttribute(e,"data-"+t)},t.prototype.getComputedStyle=function(e){return getComputedStyle(e)},t.prototype.supportsWebAnimation=function(){return"function"==typeof Element.prototype.animate},t.prototype.performanceNow=function(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()},t.prototype.supportsCookies=function(){return!0},t.prototype.getCookie=function(e){return function(e,t){var n,r;t=encodeURIComponent(t);try{for(var o=l(e.split(";")),i=o.next();!i.done;i=o.next()){var a=i.value,u=a.indexOf("="),c=s(-1==u?[a,""]:[a.slice(0,u),a.slice(u+1)],2),f=c[1];if(c[0].trim()===t)return decodeURIComponent(f)}}catch(p){n={error:p}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return null}(document.cookie,e)},t.prototype.setCookie=function(e,t){document.cookie=encodeURIComponent(e)+"="+encodeURIComponent(t)},t}(gl),wl=null;function Cl(){return!!window.history.pushState}var xl=function(e){function t(t){var n=e.call(this)||this;return n._doc=t,n._init(),n}var n;return o(t,e),t.prototype._init=function(){this.location=dl().getLocation(),this._history=dl().getHistory()},t.prototype.getBaseHrefFromDOM=function(){return dl().getBaseHref(this._doc)},t.prototype.onPopState=function(e){dl().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",e,!1)},t.prototype.onHashChange=function(e){dl().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",e,!1)},Object.defineProperty(t.prototype,"href",{get:function(){return this.location.href},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"protocol",{get:function(){return this.location.protocol},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hostname",{get:function(){return this.location.hostname},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"port",{get:function(){return this.location.port},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pathname",{get:function(){return this.location.pathname},set:function(e){this.location.pathname=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"search",{get:function(){return this.location.search},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hash",{get:function(){return this.location.hash},enumerable:!0,configurable:!0}),t.prototype.pushState=function(e,t,n){Cl()?this._history.pushState(e,t,n):this.location.hash=n},t.prototype.replaceState=function(e,t,n){Cl()?this._history.replaceState(e,t,n):this.location.hash=n},t.prototype.forward=function(){this._history.forward()},t.prototype.back=function(){this._history.back()},t.prototype.getState=function(){return this._history.state},a([(n=ge(gu),function(e,t){n(e,t,0)}),u("design:paramtypes",[Object])],t)}(Xa),Sl=new Ne("TRANSITION_ID"),El=[{provide:So,useFactory:function(e,t,n){return function(){n.get(Eo).donePromise.then(function(){var n=dl();Array.prototype.slice.apply(n.querySelectorAll(t,"style[ng-transition]")).filter(function(t){return n.getAttribute(t,"ng-transition")===e}).forEach(function(e){return n.remove(e)})})}},deps:[Sl,gu,Ve],multi:!0}],Pl=function(){function e(){}return e.init=function(){var t;t=new e,ii=t},e.prototype.addToWindow=function(e){Re.getAngularTestability=function(t,n){void 0===n&&(n=!0);var r=e.findTestabilityInTree(t,n);if(null==r)throw new Error("Could not find testability for element.");return r},Re.getAllAngularTestabilities=function(){return e.getAllTestabilities()},Re.getAllAngularRootElements=function(){return e.getAllRootElements()},Re.frameworkStabilizers||(Re.frameworkStabilizers=[]),Re.frameworkStabilizers.push(function(e){var t=Re.getAllAngularTestabilities(),n=t.length,r=!1,o=function(t){r=r||t,0==--n&&e(r)};t.forEach(function(e){e.whenStable(o)})})},e.prototype.findTestabilityInTree=function(e,t,n){if(null==t)return null;var r=e.getTestability(t);return null!=r?r:n?dl().isShadowRoot(t)?this.findTestabilityInTree(e,dl().getHost(t),!0):this.findTestabilityInTree(e,dl().parentElement(t),!0):null},e}();function Ol(e,t){"undefined"!=typeof COMPILED&&COMPILED||((Re.ng=Re.ng||{})[e]=t)}var Tl=function(){return{ApplicationRef:pi,NgZone:Ko}}();function kl(e){return Ci(e)}var Rl=new Ne("EventManagerPlugins"),Al=function(){function e(e,t){var n=this;this._zone=t,this._eventNameToPlugin=new Map,e.forEach(function(e){return e.manager=n}),this._plugins=e.slice().reverse()}return e.prototype.addEventListener=function(e,t,n){return this._findPluginFor(t).addEventListener(e,t,n)},e.prototype.addGlobalEventListener=function(e,t,n){return this._findPluginFor(t).addGlobalEventListener(e,t,n)},e.prototype.getZone=function(){return this._zone},e.prototype._findPluginFor=function(e){var t=this._eventNameToPlugin.get(e);if(t)return t;for(var n=this._plugins,r=0;r<n.length;r++){var o=n[r];if(o.supports(e))return this._eventNameToPlugin.set(e,o),o}throw new Error("No event manager plugin found for event "+e)},e}(),Ml=function(){function e(e){this._doc=e}return e.prototype.addGlobalEventListener=function(e,t,n){var r=dl().getGlobalEventTarget(this._doc,e);if(!r)throw new Error("Unsupported event target "+r+" for event "+t);return this.addEventListener(r,t,n)},e}(),Il=function(){function e(){this._stylesSet=new Set}return e.prototype.addStyles=function(e){var t=this,n=new Set;e.forEach(function(e){t._stylesSet.has(e)||(t._stylesSet.add(e),n.add(e))}),this.onStylesAdded(n)},e.prototype.onStylesAdded=function(e){},e.prototype.getAllStyles=function(){return Array.from(this._stylesSet)},e}(),Nl=function(e){function t(t){var n=e.call(this)||this;return n._doc=t,n._hostNodes=new Set,n._styleNodes=new Set,n._hostNodes.add(t.head),n}return o(t,e),t.prototype._addStylesToHost=function(e,t){var n=this;e.forEach(function(e){var r=n._doc.createElement("style");r.textContent=e,n._styleNodes.add(t.appendChild(r))})},t.prototype.addHost=function(e){this._addStylesToHost(this._stylesSet,e),this._hostNodes.add(e)},t.prototype.removeHost=function(e){this._hostNodes.delete(e)},t.prototype.onStylesAdded=function(e){var t=this;this._hostNodes.forEach(function(n){return t._addStylesToHost(e,n)})},t.prototype.ngOnDestroy=function(){this._styleNodes.forEach(function(e){return dl().remove(e)})},t}(Il),jl={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/"},Dl=/%COMP%/g,Ul="_nghost-%COMP%",Ll="_ngcontent-%COMP%";function Vl(e,t,n){for(var r=0;r<t.length;r++){var o=t[r];Array.isArray(o)?Vl(e,o,n):(o=o.replace(Dl,e),n.push(o))}return n}function Hl(e){return function(t){!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}var zl=function(){function e(e,t,n){this.eventManager=e,this.sharedStylesHost=t,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new Fl(e)}return e.prototype.createRenderer=function(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case tt.Emulated:var n=this.rendererByCompId.get(t.id);return n||(n=new Zl(this.eventManager,this.sharedStylesHost,t,this.appId),this.rendererByCompId.set(t.id,n)),n.applyToHost(e),n;case tt.Native:case tt.ShadowDom:return new Gl(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){var r=Vl(t.id,t.styles,[]);this.sharedStylesHost.addStyles(r),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}},e.prototype.begin=function(){},e.prototype.end=function(){},e}(),Fl=function(){function e(e){this.eventManager=e,this.data=Object.create(null)}return e.prototype.destroy=function(){},e.prototype.createElement=function(e,t){return t?document.createElementNS(jl[t]||t,e):document.createElement(e)},e.prototype.createComment=function(e){return document.createComment(e)},e.prototype.createText=function(e){return document.createTextNode(e)},e.prototype.appendChild=function(e,t){e.appendChild(t)},e.prototype.insertBefore=function(e,t,n){e&&e.insertBefore(t,n)},e.prototype.removeChild=function(e,t){e&&e.removeChild(t)},e.prototype.selectRootElement=function(e,t){var n="string"==typeof e?document.querySelector(e):e;if(!n)throw new Error('The selector "'+e+'" did not match any elements');return t||(n.textContent=""),n},e.prototype.parentNode=function(e){return e.parentNode},e.prototype.nextSibling=function(e){return e.nextSibling},e.prototype.setAttribute=function(e,t,n,r){if(r){t=r+":"+t;var o=jl[r];o?e.setAttributeNS(o,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)},e.prototype.removeAttribute=function(e,t,n){if(n){var r=jl[n];r?e.removeAttributeNS(r,t):e.removeAttribute(n+":"+t)}else e.removeAttribute(t)},e.prototype.addClass=function(e,t){e.classList.add(t)},e.prototype.removeClass=function(e,t){e.classList.remove(t)},e.prototype.setStyle=function(e,t,n,r){r&cn.DashCase?e.style.setProperty(t,n,r&cn.Important?"important":""):e.style[t]=n},e.prototype.removeStyle=function(e,t,n){n&cn.DashCase?e.style.removeProperty(t):e.style[t]=""},e.prototype.setProperty=function(e,t,n){ql(t,"property"),e[t]=n},e.prototype.setValue=function(e,t){e.nodeValue=t},e.prototype.listen=function(e,t,n){return ql(t,"listener"),"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,Hl(n)):this.eventManager.addEventListener(e,t,Hl(n))},e}(),Bl=function(){return"@".charCodeAt(0)}();function ql(e,t){if(e.charCodeAt(0)===Bl)throw new Error("Found the synthetic "+t+" "+e+'. Please include either "BrowserAnimationsModule" or "NoopAnimationsModule" in your application.')}var Zl=function(e){function t(t,n,r,o){var i=e.call(this,t)||this;i.component=r;var a=Vl(o+"-"+r.id,r.styles,[]);return n.addStyles(a),i.contentAttr=Ll.replace(Dl,o+"-"+r.id),i.hostAttr=Ul.replace(Dl,o+"-"+r.id),i}return o(t,e),t.prototype.applyToHost=function(t){e.prototype.setAttribute.call(this,t,this.hostAttr,"")},t.prototype.createElement=function(t,n){var r=e.prototype.createElement.call(this,t,n);return e.prototype.setAttribute.call(this,r,this.contentAttr,""),r},t}(Fl),Gl=function(e){function t(t,n,r,o){var i=e.call(this,t)||this;i.sharedStylesHost=n,i.hostEl=r,i.component=o,i.shadowRoot=o.encapsulation===tt.ShadowDom?r.attachShadow({mode:"open"}):r.createShadowRoot(),i.sharedStylesHost.addHost(i.shadowRoot);for(var a=Vl(o.id,o.styles,[]),u=0;u<a.length;u++){var l=document.createElement("style");l.textContent=a[u],i.shadowRoot.appendChild(l)}return i}return o(t,e),t.prototype.nodeOrShadowRoot=function(e){return e===this.hostEl?this.shadowRoot:e},t.prototype.destroy=function(){this.sharedStylesHost.removeHost(this.shadowRoot)},t.prototype.appendChild=function(t,n){return e.prototype.appendChild.call(this,this.nodeOrShadowRoot(t),n)},t.prototype.insertBefore=function(t,n,r){return e.prototype.insertBefore.call(this,this.nodeOrShadowRoot(t),n,r)},t.prototype.removeChild=function(t,n){return e.prototype.removeChild.call(this,this.nodeOrShadowRoot(t),n)},t.prototype.parentNode=function(t){return this.nodeOrShadowRoot(e.prototype.parentNode.call(this,this.nodeOrShadowRoot(t)))},t}(Fl),Wl=function(){return"undefined"!=typeof Zone&&Zone.__symbol__||function(e){return"__zone_symbol__"+e}}(),Ql=Wl("addEventListener"),Kl=Wl("removeEventListener"),Yl={},Jl="__zone_symbol__propagationStopped",$l=function(){var e="undefined"!=typeof Zone&&Zone[Wl("BLACK_LISTED_EVENTS")];if(e){var t={};return e.forEach(function(e){t[e]=e}),t}}(),Xl=function(e){return!!$l&&$l.hasOwnProperty(e)},es=function(e){var t=Yl[e.type];if(t){var n=this[t];if(n){var r=[e];if(1===n.length)return(a=n[0]).zone!==Zone.current?a.zone.run(a.handler,this,r):a.handler.apply(this,r);for(var o=n.slice(),i=0;i<o.length&&!0!==e[Jl];i++){var a;(a=o[i]).zone!==Zone.current?a.zone.run(a.handler,this,r):a.handler.apply(this,r)}}}},ts=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.ngZone=n,r&&function(e){return e===vu}(r)||o.patchEvent(),o}return o(t,e),t.prototype.patchEvent=function(){if("undefined"!=typeof Event&&Event&&Event.prototype&&!Event.prototype.__zone_symbol__stopImmediatePropagation){var e=Event.prototype.__zone_symbol__stopImmediatePropagation=Event.prototype.stopImmediatePropagation;Event.prototype.stopImmediatePropagation=function(){this&&(this[Jl]=!0),e&&e.apply(this,arguments)}}},t.prototype.supports=function(e){return!0},t.prototype.addEventListener=function(e,t,n){var r=this,o=n;if(!e[Ql]||Ko.isInAngularZone()&&!Xl(t))e.addEventListener(t,o,!1);else{var i=Yl[t];i||(i=Yl[t]=Wl("ANGULAR"+t+"FALSE"));var a=e[i],u=a&&a.length>0;a||(a=e[i]=[]);var l=Xl(t)?Zone.root:Zone.current;if(0===a.length)a.push({zone:l,handler:o});else{for(var s=!1,c=0;c<a.length;c++)if(a[c].handler===o){s=!0;break}s||a.push({zone:l,handler:o})}u||e[Ql](t,es,!1)}return function(){return r.removeEventListener(e,t,o)}},t.prototype.removeEventListener=function(e,t,n){var r=e[Kl];if(!r)return e.removeEventListener.apply(e,[t,n,!1]);var o=Yl[t],i=o&&e[o];if(!i)return e.removeEventListener.apply(e,[t,n,!1]);for(var a=!1,u=0;u<i.length;u++)if(i[u].handler===n){a=!0,i.splice(u,1);break}a?0===i.length&&r.apply(e,[t,es,!1]):e.removeEventListener.apply(e,[t,n,!1])},t}(Ml),ns={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},rs=new Ne("HammerGestureConfig"),os=new Ne("HammerLoader"),is=function(){function e(){this.events=[],this.overrides={}}return e.prototype.buildHammer=function(e){var t=new Hammer(e,this.options);for(var n in t.get("pinch").set({enable:!0}),t.get("rotate").set({enable:!0}),this.overrides)t.get(n).set(this.overrides[n]);return t},e}(),as=function(e){function t(t,n,r,o){var i=e.call(this,t)||this;return i._config=n,i.console=r,i.loader=o,i}return o(t,e),t.prototype.supports=function(e){return!(!ns.hasOwnProperty(e.toLowerCase())&&!this.isCustomEvent(e)||!window.Hammer&&!this.loader&&(this.console.warn('The "'+e+'" event cannot be bound because Hammer.JS is not loaded and no custom loader has been specified.'),1))},t.prototype.addEventListener=function(e,t,n){var r=this,o=this.manager.getZone();if(t=t.toLowerCase(),!window.Hammer&&this.loader){var i=!1,a=function(){i=!0};return this.loader().then(function(){if(!window.Hammer)return r.console.warn("The custom HAMMER_LOADER completed, but Hammer.JS is not present."),void(a=function(){});i||(a=r.addEventListener(e,t,n))}).catch(function(){r.console.warn('The "'+t+'" event cannot be bound because the custom Hammer.JS loader failed.'),a=function(){}}),function(){a()}}return o.runOutsideAngular(function(){var i=r._config.buildHammer(e),a=function(e){o.runGuarded(function(){n(e)})};return i.on(t,a),function(){i.off(t,a),"function"==typeof i.destroy&&i.destroy()}})},t.prototype.isCustomEvent=function(e){return this._config.events.indexOf(e)>-1},t}(Ml),us=["alt","control","meta","shift"],ls={alt:function(e){return e.altKey},control:function(e){return e.ctrlKey},meta:function(e){return e.metaKey},shift:function(e){return e.shiftKey}},ss=function(e){function t(t){return e.call(this,t)||this}var n;return o(t,e),n=t,t.prototype.supports=function(e){return null!=n.parseEventName(e)},t.prototype.addEventListener=function(e,t,r){var o=n.parseEventName(t),i=n.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(function(){return dl().onAndCancel(e,o.domEventName,i)})},t.parseEventName=function(e){var t=e.toLowerCase().split("."),r=t.shift();if(0===t.length||"keydown"!==r&&"keyup"!==r)return null;var o=n._normalizeKey(t.pop()),i="";if(us.forEach(function(e){var n=t.indexOf(e);n>-1&&(t.splice(n,1),i+=e+".")}),i+=o,0!=t.length||0===o.length)return null;var a={};return a.domEventName=r,a.fullKey=i,a},t.getEventFullKey=function(e){var t="",n=dl().getEventKey(e);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),us.forEach(function(r){r!=n&&(0,ls[r])(e)&&(t+=r+".")}),t+=n},t.eventCallback=function(e,t,r){return function(o){n.getEventFullKey(o)===e&&r.runGuarded(function(){return t(o)})}},t._normalizeKey=function(e){switch(e){case"esc":return"escape";default:return e}},t}(Ml),cs=function(){return function(){}}(),fs=function(e){function t(t){var n=e.call(this)||this;return n._doc=t,n}return o(t,e),t.prototype.sanitize=function(e,t){if(null==t)return null;switch(e){case At.NONE:return t;case At.HTML:return t instanceof ds?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"HTML"),function(e,t){var n=null;try{vt=vt||new ct(e);var r=t?String(t):"";n=vt.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=vt.getInertBodyElement(r)}while(r!==i);var a=new Pt,u=a.sanitizeChildren(Rt(n)||n);return st()&&a.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),u}finally{if(n)for(var l=Rt(n)||n;l.firstChild;)l.removeChild(l.firstChild)}}(this._doc,String(t)));case At.STYLE:return t instanceof hs?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"Style"),function(e){if(!(e=String(e).trim()))return"";var t=e.match(Nt);return t&&dt(t[1])===t[1]||e.match(It)&&function(e){for(var t=!0,n=!0,r=0;r<e.length;r++){var o=e.charAt(r);"'"===o&&n?t=!t:'"'===o&&t&&(n=!n)}return t&&n}(e)?e:(st()&&console.warn("WARNING: sanitizing unsafe style value "+e+" (see http://g.co/ng/security#xss)."),"unsafe")}(t));case At.SCRIPT:if(t instanceof gs)return t.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(t,"Script"),new Error("unsafe value used in a script context");case At.URL:return t instanceof ms||t instanceof vs?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"URL"),dt(String(t)));case At.RESOURCE_URL:if(t instanceof ms)return t.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(t,"ResourceURL"),new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext "+e+" (see http://g.co/ng/security#xss)")}},t.prototype.checkNotSafeValue=function(e,t){if(e instanceof ps)throw new Error("Required a safe "+t+", got a "+e.getTypeName()+" (see http://g.co/ng/security#xss)")},t.prototype.bypassSecurityTrustHtml=function(e){return new ds(e)},t.prototype.bypassSecurityTrustStyle=function(e){return new hs(e)},t.prototype.bypassSecurityTrustScript=function(e){return new gs(e)},t.prototype.bypassSecurityTrustUrl=function(e){return new vs(e)},t.prototype.bypassSecurityTrustResourceUrl=function(e){return new ms(e)},t}(cs),ps=function(){function e(e){this.changingThisBreaksApplicationSecurity=e}return e.prototype.toString=function(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"},e}(),ds=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.getTypeName=function(){return"HTML"},t}(ps),hs=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.getTypeName=function(){return"Style"},t}(ps),gs=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.getTypeName=function(){return"Script"},t}(ps),vs=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.getTypeName=function(){return"URL"},t}(ps),ms=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.getTypeName=function(){return"ResourceURL"},t}(ps),ys=li(Si,"browser",[{provide:Ro,useValue:"browser"},{provide:ko,useValue:function(){bl.makeCurrent(),Pl.init()},multi:!0},{provide:Xa,useClass:xl,deps:[gu]},{provide:gu,useFactory:function(){return document},deps:[]}]);function _s(){return new at}var bs=function(){function e(e){if(e)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}var t;return t=e,e.withServerTransition=function(e){return{ngModule:t,providers:[{provide:Po,useValue:e.appId},{provide:Sl,useExisting:Po},El]}},e}();"undefined"!=typeof window&&window;var ws=function(){return function(e,t){this.id=e,this.url=t}}(),Cs=function(e){function t(t,n,r,o){void 0===r&&(r="imperative"),void 0===o&&(o=null);var i=e.call(this,t,n)||this;return i.navigationTrigger=r,i.restoredState=o,i}return o(t,e),t.prototype.toString=function(){return"NavigationStart(id: "+this.id+", url: '"+this.url+"')"},t}(ws),xs=function(e){function t(t,n,r){var o=e.call(this,t,n)||this;return o.urlAfterRedirects=r,o}return o(t,e),t.prototype.toString=function(){return"NavigationEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"')"},t}(ws),Ss=function(e){function t(t,n,r){var o=e.call(this,t,n)||this;return o.reason=r,o}return o(t,e),t.prototype.toString=function(){return"NavigationCancel(id: "+this.id+", url: '"+this.url+"')"},t}(ws),Es=function(e){function t(t,n,r){var o=e.call(this,t,n)||this;return o.error=r,o}return o(t,e),t.prototype.toString=function(){return"NavigationError(id: "+this.id+", url: '"+this.url+"', error: "+this.error+")"},t}(ws),Ps=function(e){function t(t,n,r,o){var i=e.call(this,t,n)||this;return i.urlAfterRedirects=r,i.state=o,i}return o(t,e),t.prototype.toString=function(){return"RoutesRecognized(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},t}(ws),Os=function(e){function t(t,n,r,o){var i=e.call(this,t,n)||this;return i.urlAfterRedirects=r,i.state=o,i}return o(t,e),t.prototype.toString=function(){return"GuardsCheckStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},t}(ws),Ts=function(e){function t(t,n,r,o,i){var a=e.call(this,t,n)||this;return a.urlAfterRedirects=r,a.state=o,a.shouldActivate=i,a}return o(t,e),t.prototype.toString=function(){return"GuardsCheckEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+", shouldActivate: "+this.shouldActivate+")"},t}(ws),ks=function(e){function t(t,n,r,o){var i=e.call(this,t,n)||this;return i.urlAfterRedirects=r,i.state=o,i}return o(t,e),t.prototype.toString=function(){return"ResolveStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},t}(ws),Rs=function(e){function t(t,n,r,o){var i=e.call(this,t,n)||this;return i.urlAfterRedirects=r,i.state=o,i}return o(t,e),t.prototype.toString=function(){return"ResolveEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},t}(ws),As=function(){function e(e){this.route=e}return e.prototype.toString=function(){return"RouteConfigLoadStart(path: "+this.route.path+")"},e}(),Ms=function(){function e(e){this.route=e}return e.prototype.toString=function(){return"RouteConfigLoadEnd(path: "+this.route.path+")"},e}(),Is=function(){function e(e){this.snapshot=e}return e.prototype.toString=function(){return"ChildActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},e}(),Ns=function(){function e(e){this.snapshot=e}return e.prototype.toString=function(){return"ChildActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},e}(),js=function(){function e(e){this.snapshot=e}return e.prototype.toString=function(){return"ActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},e}(),Ds=function(){function e(e){this.snapshot=e}return e.prototype.toString=function(){return"ActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},e}(),Us=function(){function e(e,t,n){this.routerEvent=e,this.position=t,this.anchor=n}return e.prototype.toString=function(){return"Scroll(anchor: '"+this.anchor+"', position: '"+(this.position?this.position[0]+", "+this.position[1]:null)+"')"},e}(),Ls=function(){return function(){}}(),Vs="primary",Hs=function(){function e(e){this.params=e||{}}return e.prototype.has=function(e){return this.params.hasOwnProperty(e)},e.prototype.get=function(e){if(this.has(e)){var t=this.params[e];return Array.isArray(t)?t[0]:t}return null},e.prototype.getAll=function(e){if(this.has(e)){var t=this.params[e];return Array.isArray(t)?t:[t]}return[]},Object.defineProperty(e.prototype,"keys",{get:function(){return Object.keys(this.params)},enumerable:!0,configurable:!0}),e}();function zs(e){return new Hs(e)}var Fs="ngNavigationCancelingError";function Bs(e){var t=Error("NavigationCancelingError: "+e);return t[Fs]=!0,t}function qs(e,t,n){var r=n.path.split("/");if(r.length>e.length)return null;if("full"===n.pathMatch&&(t.hasChildren()||r.length<e.length))return null;for(var o={},i=0;i<r.length;i++){var a=r[i],u=e[i];if(a.startsWith(":"))o[a.substring(1)]=u;else if(a!==u.path)return null}return{consumed:e.slice(0,r.length),posParams:o}}var Zs=function(){return function(e,t){this.routes=e,this.module=t}}();function Gs(e,t){void 0===t&&(t="");for(var n=0;n<e.length;n++){var r=e[n];Ws(r,Qs(t,r))}}function Ws(e,t){if(!e)throw new Error("\n Invalid configuration of route '"+t+"': Encountered undefined route.\n The reason might be an extra comma.\n\n Example:\n const routes: Routes = [\n { path: '', redirectTo: '/dashboard', pathMatch: 'full' },\n { path: 'dashboard', component: DashboardComponent },, << two commas\n { path: 'detail/:id', component: HeroDetailComponent }\n ];\n ");if(Array.isArray(e))throw new Error("Invalid configuration of route '"+t+"': Array cannot be specified");if(!e.component&&!e.children&&!e.loadChildren&&e.outlet&&e.outlet!==Vs)throw new Error("Invalid configuration of route '"+t+"': a componentless route without children or loadChildren cannot have a named outlet set");if(e.redirectTo&&e.children)throw new Error("Invalid configuration of route '"+t+"': redirectTo and children cannot be used together");if(e.redirectTo&&e.loadChildren)throw new Error("Invalid configuration of route '"+t+"': redirectTo and loadChildren cannot be used together");if(e.children&&e.loadChildren)throw new Error("Invalid configuration of route '"+t+"': children and loadChildren cannot be used together");if(e.redirectTo&&e.component)throw new Error("Invalid configuration of route '"+t+"': redirectTo and component cannot be used together");if(e.path&&e.matcher)throw new Error("Invalid configuration of route '"+t+"': path and matcher cannot be used together");if(void 0===e.redirectTo&&!e.component&&!e.children&&!e.loadChildren)throw new Error("Invalid configuration of route '"+t+"'. One of the following must be provided: component, redirectTo, children or loadChildren");if(void 0===e.path&&void 0===e.matcher)throw new Error("Invalid configuration of route '"+t+"': routes must have either a path or a matcher specified");if("string"==typeof e.path&&"/"===e.path.charAt(0))throw new Error("Invalid configuration of route '"+t+"': path cannot start with a slash");if(""===e.path&&void 0!==e.redirectTo&&void 0===e.pathMatch)throw new Error("Invalid configuration of route '{path: \""+t+'", redirectTo: "'+e.redirectTo+"\"}': please provide 'pathMatch'. The default value of 'pathMatch' is 'prefix', but often the intent is to use 'full'.");if(void 0!==e.pathMatch&&"full"!==e.pathMatch&&"prefix"!==e.pathMatch)throw new Error("Invalid configuration of route '"+t+"': pathMatch can only be set to 'prefix' or 'full'");e.children&&Gs(e.children,t)}function Qs(e,t){return t?e||t.path?e&&!t.path?e+"/":!e&&t.path?t.path:e+"/"+t.path:"":e}function Ks(e){var t=e.children&&e.children.map(Ks),n=t?i({},e,{children:t}):i({},e);return!n.component&&(t||n.loadChildren)&&n.outlet&&n.outlet!==Vs&&(n.component=Ls),n}function Ys(e,t){var n,r=Object.keys(e),o=Object.keys(t);if(!r||!o||r.length!=o.length)return!1;for(var i=0;i<r.length;i++)if(e[n=r[i]]!==t[n])return!1;return!0}function Js(e){return Array.prototype.concat.apply([],e)}function $s(e){return e.length>0?e[e.length-1]:null}function Xs(e,t){for(var n in e)e.hasOwnProperty(n)&&t(e[n],n)}function ec(e){return Lt(e)?e:Ut(e)?ee(Promise.resolve(e)):Cu(e)}function tc(e,t,n){return n?function(e,t){return Ys(e,t)}(e.queryParams,t.queryParams)&&function e(t,n){if(!ic(t.segments,n.segments))return!1;if(t.numberOfChildren!==n.numberOfChildren)return!1;for(var r in n.children){if(!t.children[r])return!1;if(!e(t.children[r],n.children[r]))return!1}return!0}(e.root,t.root):function(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(function(n){return t[n]===e[n]})}(e.queryParams,t.queryParams)&&function e(t,n){return function t(n,r,o){if(n.segments.length>o.length)return!!ic(a=n.segments.slice(0,o.length),o)&&!r.hasChildren();if(n.segments.length===o.length){if(!ic(n.segments,o))return!1;for(var i in r.children){if(!n.children[i])return!1;if(!e(n.children[i],r.children[i]))return!1}return!0}var a=o.slice(0,n.segments.length),u=o.slice(n.segments.length);return!!ic(n.segments,a)&&!!n.children[Vs]&&t(n.children[Vs],r,u)}(t,n,n.segments)}(e.root,t.root)}var nc=function(){function e(e,t,n){this.root=e,this.queryParams=t,this.fragment=n}return Object.defineProperty(e.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=zs(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return sc.serialize(this)},e}(),rc=function(){function e(e,t){var n=this;this.segments=e,this.children=t,this.parent=null,Xs(t,function(e,t){return e.parent=n})}return e.prototype.hasChildren=function(){return this.numberOfChildren>0},Object.defineProperty(e.prototype,"numberOfChildren",{get:function(){return Object.keys(this.children).length},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return cc(this)},e}(),oc=function(){function e(e,t){this.path=e,this.parameters=t}return Object.defineProperty(e.prototype,"parameterMap",{get:function(){return this._parameterMap||(this._parameterMap=zs(this.parameters)),this._parameterMap},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return vc(this)},e}();function ic(e,t){return e.length===t.length&&e.every(function(e,n){return e.path===t[n].path})}function ac(e,t){var n=[];return Xs(e.children,function(e,r){r===Vs&&(n=n.concat(t(e,r)))}),Xs(e.children,function(e,r){r!==Vs&&(n=n.concat(t(e,r)))}),n}var uc=function(){return function(){}}(),lc=function(){function e(){}return e.prototype.parse=function(e){var t=new wc(e);return new nc(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())},e.prototype.serialize=function(e){var t,n;return"/"+function e(t,n){if(!t.hasChildren())return cc(t);if(n){var r=t.children[Vs]?e(t.children[Vs],!1):"",o=[];return Xs(t.children,function(t,n){n!==Vs&&o.push(n+":"+e(t,!1))}),o.length>0?r+"("+o.join("//")+")":r}var i=ac(t,function(n,r){return r===Vs?[e(t.children[Vs],!1)]:[r+":"+e(n,!1)]});return cc(t)+"/("+i.join("//")+")"}(e.root,!0)+(t=e.queryParams,(n=Object.keys(t).map(function(e){var n=t[e];return Array.isArray(n)?n.map(function(t){return pc(e)+"="+pc(t)}).join("&"):pc(e)+"="+pc(n)})).length?"?"+n.join("&"):"")+("string"==typeof e.fragment?"#"+encodeURI(e.fragment):"")},e}(),sc=new lc;function cc(e){return e.segments.map(function(e){return vc(e)}).join("/")}function fc(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function pc(e){return fc(e).replace(/%3B/gi,";")}function dc(e){return fc(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function hc(e){return decodeURIComponent(e)}function gc(e){return hc(e.replace(/\+/g,"%20"))}function vc(e){return""+dc(e.path)+(t=e.parameters,Object.keys(t).map(function(e){return";"+dc(e)+"="+dc(t[e])}).join(""));var t}var mc=/^[^\/()?;=#]+/;function yc(e){var t=e.match(mc);return t?t[0]:""}var _c=/^[^=?&#]+/,bc=/^[^?&#]+/,wc=function(){function e(e){this.url=e,this.remaining=e}return e.prototype.parseRootSegment=function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new rc([],{}):new rc([],this.parseChildren())},e.prototype.parseQueryParams=function(){var e={};if(this.consumeOptional("?"))do{this.parseQueryParam(e)}while(this.consumeOptional("&"));return e},e.prototype.parseFragment=function(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null},e.prototype.parseChildren=function(){if(""===this.remaining)return{};this.consumeOptional("/");var e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());var t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));var n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(t).length>0)&&(n[Vs]=new rc(e,t)),n},e.prototype.parseSegment=function(){var e=yc(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '"+this.remaining+"'.");return this.capture(e),new oc(hc(e),this.parseMatrixParams())},e.prototype.parseMatrixParams=function(){for(var e={};this.consumeOptional(";");)this.parseParam(e);return e},e.prototype.parseParam=function(e){var t=yc(this.remaining);if(t){this.capture(t);var n="";if(this.consumeOptional("=")){var r=yc(this.remaining);r&&this.capture(n=r)}e[hc(t)]=hc(n)}},e.prototype.parseQueryParam=function(e){var t,n=(t=this.remaining.match(_c))?t[0]:"";if(n){this.capture(n);var r="";if(this.consumeOptional("=")){var o=function(e){var t=e.match(bc);return t?t[0]:""}(this.remaining);o&&this.capture(r=o)}var i=gc(n),a=gc(r);if(e.hasOwnProperty(i)){var u=e[i];Array.isArray(u)||(e[i]=u=[u]),u.push(a)}else e[i]=a}},e.prototype.parseParens=function(e){var t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var n=yc(this.remaining),r=this.remaining[n.length];if("/"!==r&&")"!==r&&";"!==r)throw new Error("Cannot parse url '"+this.url+"'");var o=void 0;n.indexOf(":")>-1?(o=n.substr(0,n.indexOf(":")),this.capture(o),this.capture(":")):e&&(o=Vs);var i=this.parseChildren();t[o]=1===Object.keys(i).length?i[Vs]:new rc([],i),this.consumeOptional("//")}return t},e.prototype.peekStartsWith=function(e){return this.remaining.startsWith(e)},e.prototype.consumeOptional=function(e){return!!this.peekStartsWith(e)&&(this.remaining=this.remaining.substring(e.length),!0)},e.prototype.capture=function(e){if(!this.consumeOptional(e))throw new Error('Expected "'+e+'".')},e}(),Cc=function(){function e(e){this._root=e}return Object.defineProperty(e.prototype,"root",{get:function(){return this._root.value},enumerable:!0,configurable:!0}),e.prototype.parent=function(e){var t=this.pathFromRoot(e);return t.length>1?t[t.length-2]:null},e.prototype.children=function(e){var t=xc(e,this._root);return t?t.children.map(function(e){return e.value}):[]},e.prototype.firstChild=function(e){var t=xc(e,this._root);return t&&t.children.length>0?t.children[0].value:null},e.prototype.siblings=function(e){var t=Sc(e,this._root);return t.length<2?[]:t[t.length-2].children.map(function(e){return e.value}).filter(function(t){return t!==e})},e.prototype.pathFromRoot=function(e){return Sc(e,this._root).map(function(e){return e.value})},e}();function xc(e,t){var n,r;if(e===t.value)return t;try{for(var o=l(t.children),i=o.next();!i.done;i=o.next()){var a=xc(e,i.value);if(a)return a}}catch(u){n={error:u}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return null}function Sc(e,t){var n,r;if(e===t.value)return[t];try{for(var o=l(t.children),i=o.next();!i.done;i=o.next()){var a=Sc(e,i.value);if(a.length)return a.unshift(t),a}}catch(u){n={error:u}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return[]}var Ec=function(){function e(e,t){this.value=e,this.children=t}return e.prototype.toString=function(){return"TreeNode("+this.value+")"},e}();function Pc(e){var t={};return e&&e.children.forEach(function(e){return t[e.value.outlet]=e}),t}var Oc=function(e){function t(t,n){var r=e.call(this,t)||this;return r.snapshot=n,Ic(r,t),r}return o(t,e),t.prototype.toString=function(){return this.snapshot.toString()},t}(Cc);function Tc(e,t){var n=function(e,t){var n=new Ac([],{},{},"",{},Vs,t,null,e.root,-1,{});return new Mc("",new Ec(n,[]))}(e,t),r=new xu([new oc("",{})]),o=new xu({}),i=new xu({}),a=new xu({}),u=new xu(""),l=new kc(r,o,a,u,i,Vs,t,n.root);return l.snapshot=n.root,new Oc(new Ec(l,[]),n)}var kc=function(){function e(e,t,n,r,o,i,a,u){this.url=e,this.params=t,this.queryParams=n,this.fragment=r,this.data=o,this.outlet=i,this.component=a,this._futureSnapshot=u}return Object.defineProperty(e.prototype,"routeConfig",{get:function(){return this._futureSnapshot.routeConfig},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=this.params.pipe(Y(function(e){return zs(e)}))),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Y(function(e){return zs(e)}))),this._queryParamMap},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return this.snapshot?this.snapshot.toString():"Future("+this._futureSnapshot+")"},e}();function Rc(e,t){void 0===t&&(t="emptyOnly");var n=e.pathFromRoot,r=0;if("always"!==t)for(r=n.length-1;r>=1;){var o=n[r],a=n[r-1];if(o.routeConfig&&""===o.routeConfig.path)r--;else{if(a.component)break;r--}}return function(e){return e.reduce(function(e,t){return{params:i({},e.params,t.params),data:i({},e.data,t.data),resolve:i({},e.resolve,t._resolvedData)}},{params:{},data:{},resolve:{}})}(n.slice(r))}var Ac=function(){function e(e,t,n,r,o,i,a,u,l,s,c){this.url=e,this.params=t,this.queryParams=n,this.fragment=r,this.data=o,this.outlet=i,this.component=a,this.routeConfig=u,this._urlSegment=l,this._lastPathIndex=s,this._resolve=c}return Object.defineProperty(e.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=zs(this.params)),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=zs(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return"Route(url:'"+this.url.map(function(e){return e.toString()}).join("/")+"', path:'"+(this.routeConfig?this.routeConfig.path:"")+"')"},e}(),Mc=function(e){function t(t,n){var r=e.call(this,n)||this;return r.url=t,Ic(r,n),r}return o(t,e),t.prototype.toString=function(){return Nc(this._root)},t}(Cc);function Ic(e,t){t.value._routerState=e,t.children.forEach(function(t){return Ic(e,t)})}function Nc(e){var t=e.children.length>0?" { "+e.children.map(Nc).join(", ")+" } ":"";return""+e.value+t}function jc(e){if(e.snapshot){var t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,Ys(t.queryParams,n.queryParams)||e.queryParams.next(n.queryParams),t.fragment!==n.fragment&&e.fragment.next(n.fragment),Ys(t.params,n.params)||e.params.next(n.params),function(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;++n)if(!Ys(e[n],t[n]))return!1;return!0}(t.url,n.url)||e.url.next(n.url),Ys(t.data,n.data)||e.data.next(n.data)}else e.snapshot=e._futureSnapshot,e.data.next(e._futureSnapshot.data)}function Dc(e,t){var n,r;return Ys(e.params,t.params)&&ic(n=e.url,r=t.url)&&n.every(function(e,t){return Ys(e.parameters,r[t].parameters)})&&!(!e.parent!=!t.parent)&&(!e.parent||Dc(e.parent,t.parent))}function Uc(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function Lc(e,t,n,r,o){var i={};return r&&Xs(r,function(e,t){i[t]=Array.isArray(e)?e.map(function(e){return""+e}):""+e}),new nc(n.root===e?t:function e(t,n,r){var o={};return Xs(t.children,function(t,i){o[i]=t===n?r:e(t,n,r)}),new rc(t.segments,o)}(n.root,e,t),i,o)}var Vc=function(){function e(e,t,n){if(this.isAbsolute=e,this.numberOfDoubleDots=t,this.commands=n,e&&n.length>0&&Uc(n[0]))throw new Error("Root segment cannot have matrix parameters");var r=n.find(function(e){return"object"==typeof e&&null!=e&&e.outlets});if(r&&r!==$s(n))throw new Error("{outlets:{}} has to be the last command")}return e.prototype.toRoot=function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]},e}(),Hc=function(){return function(e,t,n){this.segmentGroup=e,this.processChildren=t,this.index=n}}();function zc(e){return"object"==typeof e&&null!=e&&e.outlets?e.outlets[Vs]:""+e}function Fc(e,t,n){if(e||(e=new rc([],{})),0===e.segments.length&&e.hasChildren())return Bc(e,t,n);var r=function(e,t,n){for(var r=0,o=t,i={match:!1,pathIndex:0,commandIndex:0};o<e.segments.length;){if(r>=n.length)return i;var a=e.segments[o],u=zc(n[r]),l=r<n.length-1?n[r+1]:null;if(o>0&&void 0===u)break;if(u&&l&&"object"==typeof l&&void 0===l.outlets){if(!Wc(u,l,a))return i;r+=2}else{if(!Wc(u,{},a))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}(e,t,n),o=n.slice(r.commandIndex);if(r.match&&r.pathIndex<e.segments.length){var i=new rc(e.segments.slice(0,r.pathIndex),{});return i.children[Vs]=new rc(e.segments.slice(r.pathIndex),e.children),Bc(i,0,o)}return r.match&&0===o.length?new rc(e.segments,{}):r.match&&!e.hasChildren()?qc(e,t,n):r.match?Bc(e,0,o):qc(e,t,n)}function Bc(e,t,n){if(0===n.length)return new rc(e.segments,{});var r=function(e){var t,n;return"object"!=typeof e[0]?((t={})[Vs]=e,t):void 0===e[0].outlets?((n={})[Vs]=e,n):e[0].outlets}(n),o={};return Xs(r,function(n,r){null!==n&&(o[r]=Fc(e.children[r],t,n))}),Xs(e.children,function(e,t){void 0===r[t]&&(o[t]=e)}),new rc(e.segments,o)}function qc(e,t,n){for(var r=e.segments.slice(0,t),o=0;o<n.length;){if("object"==typeof n[o]&&void 0!==n[o].outlets){var i=Zc(n[o].outlets);return new rc(r,i)}if(0===o&&Uc(n[0]))r.push(new oc(e.segments[t].path,n[0])),o++;else{var a=zc(n[o]),u=o<n.length-1?n[o+1]:null;a&&u&&Uc(u)?(r.push(new oc(a,Gc(u))),o+=2):(r.push(new oc(a,{})),o++)}}return new rc(r,{})}function Zc(e){var t={};return Xs(e,function(e,n){null!==e&&(t[n]=qc(new rc([],{}),0,e))}),t}function Gc(e){var t={};return Xs(e,function(e,n){return t[n]=""+e}),t}function Wc(e,t,n){return e==n.path&&Ys(t,n.parameters)}var Qc=function(){function e(e,t,n,r){this.routeReuseStrategy=e,this.futureState=t,this.currState=n,this.forwardEvent=r}return e.prototype.activate=function(e){var t=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,n,e),jc(this.futureState.root),this.activateChildRoutes(t,n,e)},e.prototype.deactivateChildRoutes=function(e,t,n){var r=this,o=Pc(t);e.children.forEach(function(e){var t=e.value.outlet;r.deactivateRoutes(e,o[t],n),delete o[t]}),Xs(o,function(e,t){r.deactivateRouteAndItsChildren(e,n)})},e.prototype.deactivateRoutes=function(e,t,n){var r=e.value,o=t?t.value:null;if(r===o)if(r.component){var i=n.getContext(r.outlet);i&&this.deactivateChildRoutes(e,t,i.children)}else this.deactivateChildRoutes(e,t,n);else o&&this.deactivateRouteAndItsChildren(t,n)},e.prototype.deactivateRouteAndItsChildren=function(e,t){this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,t):this.deactivateRouteAndOutlet(e,t)},e.prototype.detachAndStoreRouteSubtree=function(e,t){var n=t.getContext(e.value.outlet);if(n&&n.outlet){var r=n.outlet.detach(),o=n.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:r,route:e,contexts:o})}},e.prototype.deactivateRouteAndOutlet=function(e,t){var n=this,r=t.getContext(e.value.outlet);if(r){var o=Pc(e),i=e.value.component?r.children:t;Xs(o,function(e,t){return n.deactivateRouteAndItsChildren(e,i)}),r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated())}},e.prototype.activateChildRoutes=function(e,t,n){var r=this,o=Pc(t);e.children.forEach(function(e){r.activateRoutes(e,o[e.value.outlet],n),r.forwardEvent(new Ds(e.value.snapshot))}),e.children.length&&this.forwardEvent(new Ns(e.value.snapshot))},e.prototype.activateRoutes=function(e,t,n){var r=e.value,o=t?t.value:null;if(jc(r),r===o)if(r.component){var i=n.getOrCreateContext(r.outlet);this.activateChildRoutes(e,t,i.children)}else this.activateChildRoutes(e,t,n);else if(r.component)if(i=n.getOrCreateContext(r.outlet),this.routeReuseStrategy.shouldAttach(r.snapshot)){var a=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),i.children.onOutletReAttached(a.contexts),i.attachRef=a.componentRef,i.route=a.route.value,i.outlet&&i.outlet.attach(a.componentRef,a.route.value),Kc(a.route)}else{var u=function(e){for(var t=r.snapshot.parent;t;t=t.parent){var n=t.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig;if(n&&n.component)return null}return null}(),l=u?u.module.componentFactoryResolver:null;i.attachRef=null,i.route=r,i.resolver=l,i.outlet&&i.outlet.activateWith(r,l),this.activateChildRoutes(e,null,i.children)}else this.activateChildRoutes(e,null,n)},e}();function Kc(e){jc(e.value),e.children.forEach(Kc)}function Yc(e){return"function"==typeof e}function Jc(e){return e instanceof nc}var $c=function(){return function(e){this.segmentGroup=e||null}}(),Xc=function(){return function(e){this.urlTree=e}}();function ef(e){return new k(function(t){return t.error(new $c(e))})}function tf(e){return new k(function(t){return t.error(new Xc(e))})}function nf(e){return new k(function(t){return t.error(new Error("Only absolute redirects can have named outlets. redirectTo: '"+e+"'"))})}var rf=function(){function e(e,t,n,r,o){this.configLoader=t,this.urlSerializer=n,this.urlTree=r,this.config=o,this.allowRedirects=!0,this.ngModule=e.get(nn)}return e.prototype.apply=function(){var e=this;return this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,Vs).pipe(Y(function(t){return e.createUrlTree(t,e.urlTree.queryParams,e.urlTree.fragment)})).pipe(Qu(function(t){if(t instanceof Xc)return e.allowRedirects=!1,e.match(t.urlTree);if(t instanceof $c)throw e.noMatchError(t);throw t}))},e.prototype.match=function(e){var t=this;return this.expandSegmentGroup(this.ngModule,this.config,e.root,Vs).pipe(Y(function(n){return t.createUrlTree(n,e.queryParams,e.fragment)})).pipe(Qu(function(e){if(e instanceof $c)throw t.noMatchError(e);throw e}))},e.prototype.noMatchError=function(e){return new Error("Cannot match any routes. URL Segment: '"+e.segmentGroup+"'")},e.prototype.createUrlTree=function(e,t,n){var r,o=e.segments.length>0?new rc([],((r={})[Vs]=e,r)):e;return new nc(o,t,n)},e.prototype.expandSegmentGroup=function(e,t,n,r){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(e,t,n).pipe(Y(function(e){return new rc([],e)})):this.expandSegment(e,n,t,n.segments,r,!0)},e.prototype.expandChildren=function(e,t,n){var r=this;return function(n,o){if(0===Object.keys(n).length)return Cu({});var i=[],a=[],u={};return Xs(n,function(n,o){var l,s,c=(l=o,s=n,r.expandSegmentGroup(e,t,s,l)).pipe(Y(function(e){return u[o]=e}));o===Vs?i.push(c):a.push(c)}),Cu.apply(null,i.concat(a)).pipe(Ru(),Wu(),Y(function(){return u}))}(n.children)},e.prototype.expandSegment=function(e,t,n,r,o,i){var a=this;return Cu.apply(void 0,c(n)).pipe(Y(function(u){return a.expandSegmentAgainstRoute(e,t,n,u,r,o,i).pipe(Qu(function(e){if(e instanceof $c)return Cu(null);throw e}))}),Ru(),el(function(e){return!!e}),Qu(function(e,n){if(e instanceof Eu||"EmptyError"===e.name){if(a.noLeftoversInUrl(t,r,o))return Cu(new rc([],{}));throw new $c(t)}throw e}))},e.prototype.noLeftoversInUrl=function(e,t,n){return 0===t.length&&!e.children[n]},e.prototype.expandSegmentAgainstRoute=function(e,t,n,r,o,i,a){return lf(r)!==i?ef(t):void 0===r.redirectTo?this.matchSegmentAgainstRoute(e,t,r,o):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(e,t,n,r,o,i):ef(t)},e.prototype.expandSegmentAgainstRouteUsingRedirect=function(e,t,n,r,o,i){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(e,n,r,i):this.expandRegularSegmentAgainstRouteUsingRedirect(e,t,n,r,o,i)},e.prototype.expandWildCardWithParamsAgainstRouteUsingRedirect=function(e,t,n,r){var o=this,i=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?tf(i):this.lineralizeSegments(n,i).pipe(te(function(n){var i=new rc(n,{});return o.expandSegment(e,i,t,n,r,!1)}))},e.prototype.expandRegularSegmentAgainstRouteUsingRedirect=function(e,t,n,r,o,i){var a=this,u=of(t,r,o),l=u.consumedSegments,s=u.lastChild,c=u.positionalParamSegments;if(!u.matched)return ef(t);var f=this.applyRedirectCommands(l,r.redirectTo,c);return r.redirectTo.startsWith("/")?tf(f):this.lineralizeSegments(r,f).pipe(te(function(r){return a.expandSegment(e,t,n,r.concat(o.slice(s)),i,!1)}))},e.prototype.matchSegmentAgainstRoute=function(e,t,n,r){var o=this;if("**"===n.path)return n.loadChildren?this.configLoader.load(e.injector,n).pipe(Y(function(e){return n._loadedConfig=e,new rc(r,{})})):Cu(new rc(r,{}));var a=of(t,n,r),u=a.consumedSegments,s=a.lastChild;if(!a.matched)return ef(t);var c=r.slice(s);return this.getChildConfig(e,n,r).pipe(te(function(e){var n=e.module,r=e.routes,a=function(e,t,n,r){return n.length>0&&function(e,t,n){return r.some(function(n){return uf(e,t,n)&&lf(n)!==Vs})}(e,n)?{segmentGroup:af(new rc(t,function(e,t){var n,r,o={};o[Vs]=t;try{for(var i=l(e),a=i.next();!a.done;a=i.next()){var u=a.value;""===u.path&&lf(u)!==Vs&&(o[lf(u)]=new rc([],{}))}}catch(s){n={error:s}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return o}(r,new rc(n,e.children)))),slicedSegments:[]}:0===n.length&&function(e,t,n){return r.some(function(n){return uf(e,t,n)})}(e,n)?{segmentGroup:af(new rc(e.segments,function(e,t,n,r){var o,a,u={};try{for(var s=l(n),c=s.next();!c.done;c=s.next()){var f=c.value;uf(e,t,f)&&!r[lf(f)]&&(u[lf(f)]=new rc([],{}))}}catch(p){o={error:p}}finally{try{c&&!c.done&&(a=s.return)&&a.call(s)}finally{if(o)throw o.error}}return i({},r,u)}(e,n,r,e.children))),slicedSegments:n}:{segmentGroup:e,slicedSegments:n}}(t,u,c,r),s=a.segmentGroup,f=a.slicedSegments;return 0===f.length&&s.hasChildren()?o.expandChildren(n,r,s).pipe(Y(function(e){return new rc(u,e)})):0===r.length&&0===f.length?Cu(new rc(u,{})):o.expandSegment(n,s,r,f,Vs,!0).pipe(Y(function(e){return new rc(u.concat(e.segments),e.children)}))}))},e.prototype.getChildConfig=function(e,t,n){var r=this;return t.children?Cu(new Zs(t.children,e)):t.loadChildren?void 0!==t._loadedConfig?Cu(t._loadedConfig):function(e,t,n){var r,o=t.canLoad;return o&&0!==o.length?ee(o).pipe(Y(function(r){var o,i=e.get(r);if(function(e){return e&&Yc(e.canLoad)}(i))o=i.canLoad(t,n);else{if(!Yc(i))throw new Error("Invalid CanLoad guard");o=i(t,n)}return ec(o)})).pipe(Ru(),(r=function(e){return!0===e},function(e){return e.lift(new tl(r,void 0,e))})):Cu(!0)}(e.injector,t,n).pipe(te(function(n){return n?r.configLoader.load(e.injector,t).pipe(Y(function(e){return t._loadedConfig=e,e})):function(e){return new k(function(t){return t.error(Bs("Cannot load children because the guard of the route \"path: '"+e.path+"'\" returned false"))})}(t)})):Cu(new Zs([],e))},e.prototype.lineralizeSegments=function(e,t){for(var n=[],r=t.root;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return Cu(n);if(r.numberOfChildren>1||!r.children[Vs])return nf(e.redirectTo);r=r.children[Vs]}},e.prototype.applyRedirectCommands=function(e,t,n){return this.applyRedirectCreatreUrlTree(t,this.urlSerializer.parse(t),e,n)},e.prototype.applyRedirectCreatreUrlTree=function(e,t,n,r){var o=this.createSegmentGroup(e,t.root,n,r);return new nc(o,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)},e.prototype.createQueryParams=function(e,t){var n={};return Xs(e,function(e,r){if("string"==typeof e&&e.startsWith(":")){var o=e.substring(1);n[r]=t[o]}else n[r]=e}),n},e.prototype.createSegmentGroup=function(e,t,n,r){var o=this,i=this.createSegments(e,t.segments,n,r),a={};return Xs(t.children,function(t,i){a[i]=o.createSegmentGroup(e,t,n,r)}),new rc(i,a)},e.prototype.createSegments=function(e,t,n,r){var o=this;return t.map(function(t){return t.path.startsWith(":")?o.findPosParam(e,t,r):o.findOrReturn(t,n)})},e.prototype.findPosParam=function(e,t,n){var r=n[t.path.substring(1)];if(!r)throw new Error("Cannot redirect to '"+e+"'. Cannot find '"+t.path+"'.");return r},e.prototype.findOrReturn=function(e,t){var n,r,o=0;try{for(var i=l(t),a=i.next();!a.done;a=i.next()){var u=a.value;if(u.path===e.path)return t.splice(o),u;o++}}catch(s){n={error:s}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return e},e}();function of(e,t,n){if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||n.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};var r=(t.matcher||qs)(n,e,t);return r?{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,positionalParamSegments:r.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function af(e){if(1===e.numberOfChildren&&e.children[Vs]){var t=e.children[Vs];return new rc(e.segments.concat(t.segments),t.children)}return e}function uf(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0!==n.redirectTo}function lf(e){return e.outlet||Vs}var sf=function(){return function(e){this.path=e,this.route=this.path[this.path.length-1]}}(),cf=function(){return function(e,t){this.component=e,this.route=t}}();function ff(e,t,n){var r=function(e){if(!e)return null;for(var t=e.parent;t;t=t.parent){var n=t.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig}return null}(t);return(r?r.module.injector:n).get(e)}function pf(e,t,n,r,o){void 0===o&&(o={canDeactivateChecks:[],canActivateChecks:[]});var i=Pc(t);return e.children.forEach(function(e){!function(e,t,n,r,o){void 0===o&&(o={canDeactivateChecks:[],canActivateChecks:[]});var i=e.value,a=t?t.value:null,u=n?n.getContext(e.value.outlet):null;if(a&&i.routeConfig===a.routeConfig){var l=function(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!ic(e.url,t.url);case"pathParamsOrQueryParamsChange":return!ic(e.url,t.url)||!Ys(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Dc(e,t)||!Ys(e.queryParams,t.queryParams);case"paramsChange":default:return!Dc(e,t)}}(a,i,i.routeConfig.runGuardsAndResolvers);l?o.canActivateChecks.push(new sf(r)):(i.data=a.data,i._resolvedData=a._resolvedData),pf(e,t,i.component?u?u.children:null:n,r,o),l&&o.canDeactivateChecks.push(new cf(u&&u.outlet&&u.outlet.component||null,a))}else a&&df(t,u,o),o.canActivateChecks.push(new sf(r)),pf(e,null,i.component?u?u.children:null:n,r,o)}(e,i[e.value.outlet],n,r.concat([e.value]),o),delete i[e.value.outlet]}),Xs(i,function(e,t){return df(e,n.getContext(t),o)}),o}function df(e,t,n){var r=Pc(e),o=e.value;Xs(r,function(e,r){df(e,o.component?t?t.children.getContext(r):null:t,n)}),n.canDeactivateChecks.push(new cf(o.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,o))}var hf=Symbol("INITIAL_VALUE");function gf(){return rl(function(e){return(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=null,r=null;return U(e[e.length-1])&&(r=e.pop()),"function"==typeof e[e.length-1]&&(n=e.pop()),1===e.length&&f(e[0])&&(e=e[0]),X(e,r).lift(new Ou(n))}).apply(void 0,c(e.map(function(e){return e.pipe(Ju(1),function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t){var n=e[e.length-1];U(n)?e.pop():n=null;var r=e.length;return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Ru()(Cu.apply(void 0,e))}(1!==r||n?r>0?X(e,n):bu(n):wu(e[0]),t)}}(hf))}))).pipe(al(function(e,t){var n=!1;return t.reduce(function(e,r,o){if(e!==hf)return e;if(r===hf&&(n=!0),!n){if(!1===r)return r;if(o===t.length-1||Jc(r))return r}return e},e)},hf),Au(function(e){return e!==hf}),Y(function(e){return Jc(e)?e:!0===e}),Ju(1))})}function vf(e,t){return null!==e&&t&&t(new js(e)),Cu(!0)}function mf(e,t){return null!==e&&t&&t(new Is(e)),Cu(!0)}function yf(e,t,n){var r=t.routeConfig?t.routeConfig.canActivate:null;return r&&0!==r.length?Cu(r.map(function(r){return ku(function(){var o,i=ff(r,t,n);if(function(e){return e&&Yc(e.canActivate)}(i))o=ec(i.canActivate(t,e));else{if(!Yc(i))throw new Error("Invalid CanActivate guard");o=ec(i(t,e))}return o.pipe(el())})})).pipe(gf()):Cu(!0)}function _f(e,t,n){var r=t[t.length-1],o=t.slice(0,t.length-1).reverse().map(function(e){return function(e){var t=e.routeConfig?e.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:e,guards:t}:null}(e)}).filter(function(e){return null!==e}).map(function(t){return ku(function(){return Cu(t.guards.map(function(o){var i,a=ff(o,t.node,n);if(function(e){return e&&Yc(e.canActivateChild)}(a))i=ec(a.canActivateChild(r,e));else{if(!Yc(a))throw new Error("Invalid CanActivateChild guard");i=ec(a(r,e))}return i.pipe(el())})).pipe(gf())})});return Cu(o).pipe(gf())}var bf=function(){return function(){}}(),wf=function(){function e(e,t,n,r,o,i){this.rootComponentType=e,this.config=t,this.urlTree=n,this.url=r,this.paramsInheritanceStrategy=o,this.relativeLinkResolution=i}return e.prototype.recognize=function(){try{var e=Sf(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,t=this.processSegmentGroup(this.config,e,Vs),n=new Ac([],Object.freeze({}),Object.freeze(i({},this.urlTree.queryParams)),this.urlTree.fragment,{},Vs,this.rootComponentType,null,this.urlTree.root,-1,{}),r=new Ec(n,t),o=new Mc(this.url,r);return this.inheritParamsAndData(o._root),Cu(o)}catch(a){return new k(function(e){return e.error(a)})}},e.prototype.inheritParamsAndData=function(e){var t=this,n=e.value,r=Rc(n,this.paramsInheritanceStrategy);n.params=Object.freeze(r.params),n.data=Object.freeze(r.data),e.children.forEach(function(e){return t.inheritParamsAndData(e)})},e.prototype.processSegmentGroup=function(e,t,n){return 0===t.segments.length&&t.hasChildren()?this.processChildren(e,t):this.processSegment(e,t,t.segments,n)},e.prototype.processChildren=function(e,t){var n,r=this,o=ac(t,function(t,n){return r.processSegmentGroup(e,t,n)});return n={},o.forEach(function(e){var t=n[e.value.outlet];if(t){var r=t.url.map(function(e){return e.toString()}).join("/"),o=e.value.url.map(function(e){return e.toString()}).join("/");throw new Error("Two segments cannot have the same outlet name: '"+r+"' and '"+o+"'.")}n[e.value.outlet]=e.value}),o.sort(function(e,t){return e.value.outlet===Vs?-1:t.value.outlet===Vs?1:e.value.outlet.localeCompare(t.value.outlet)}),o},e.prototype.processSegment=function(e,t,n,r){var o,i;try{for(var a=l(e),u=a.next();!u.done;u=a.next()){var s=u.value;try{return this.processSegmentAgainstRoute(s,t,n,r)}catch(c){if(!(c instanceof bf))throw c}}}catch(f){o={error:f}}finally{try{u&&!u.done&&(i=a.return)&&i.call(a)}finally{if(o)throw o.error}}if(this.noLeftoversInUrl(t,n,r))return[];throw new bf},e.prototype.noLeftoversInUrl=function(e,t,n){return 0===t.length&&!e.children[n]},e.prototype.processSegmentAgainstRoute=function(e,t,n,r){if(e.redirectTo)throw new bf;if((e.outlet||Vs)!==r)throw new bf;var o,a=[],u=[];if("**"===e.path){var l=n.length>0?$s(n).parameters:{};o=new Ac(n,l,Object.freeze(i({},this.urlTree.queryParams)),this.urlTree.fragment,Of(e),r,e.component,e,Cf(t),xf(t)+n.length,Tf(e))}else{var s=function(e,t,n){if(""===t.path){if("full"===t.pathMatch&&(e.hasChildren()||n.length>0))throw new bf;return{consumedSegments:[],lastChild:0,parameters:{}}}var r=(t.matcher||qs)(n,e,t);if(!r)throw new bf;var o={};Xs(r.posParams,function(e,t){o[t]=e.path});var a=r.consumed.length>0?i({},o,r.consumed[r.consumed.length-1].parameters):o;return{consumedSegments:r.consumed,lastChild:r.consumed.length,parameters:a}}(t,e,n);a=s.consumedSegments,u=n.slice(s.lastChild),o=new Ac(a,s.parameters,Object.freeze(i({},this.urlTree.queryParams)),this.urlTree.fragment,Of(e),r,e.component,e,Cf(t),xf(t)+a.length,Tf(e))}var c=function(e){return e.children?e.children:e.loadChildren?e._loadedConfig.routes:[]}(e),f=Sf(t,a,u,c,this.relativeLinkResolution),p=f.segmentGroup,d=f.slicedSegments;if(0===d.length&&p.hasChildren()){var h=this.processChildren(c,p);return[new Ec(o,h)]}if(0===c.length&&0===d.length)return[new Ec(o,[])];var g=this.processSegment(c,p,d,Vs);return[new Ec(o,g)]},e}();function Cf(e){for(var t=e;t._sourceSegment;)t=t._sourceSegment;return t}function xf(e){for(var t=e,n=t._segmentIndexShift?t._segmentIndexShift:0;t._sourceSegment;)n+=(t=t._sourceSegment)._segmentIndexShift?t._segmentIndexShift:0;return n-1}function Sf(e,t,n,r,o){if(n.length>0&&function(e,t,n){return r.some(function(n){return Ef(e,t,n)&&Pf(n)!==Vs})}(e,n)){var a=new rc(t,function(e,t,n,r){var o,i,a={};a[Vs]=r,r._sourceSegment=e,r._segmentIndexShift=t.length;try{for(var u=l(n),s=u.next();!s.done;s=u.next()){var c=s.value;if(""===c.path&&Pf(c)!==Vs){var f=new rc([],{});f._sourceSegment=e,f._segmentIndexShift=t.length,a[Pf(c)]=f}}}catch(p){o={error:p}}finally{try{s&&!s.done&&(i=u.return)&&i.call(u)}finally{if(o)throw o.error}}return a}(e,t,r,new rc(n,e.children)));return a._sourceSegment=e,a._segmentIndexShift=t.length,{segmentGroup:a,slicedSegments:[]}}if(0===n.length&&function(e,t,n){return r.some(function(n){return Ef(e,t,n)})}(e,n)){var u=new rc(e.segments,function(e,t,n,r,o,a){var u,s,c={};try{for(var f=l(r),p=f.next();!p.done;p=f.next()){var d=p.value;if(Ef(e,n,d)&&!o[Pf(d)]){var h=new rc([],{});h._sourceSegment=e,h._segmentIndexShift="legacy"===a?e.segments.length:t.length,c[Pf(d)]=h}}}catch(g){u={error:g}}finally{try{p&&!p.done&&(s=f.return)&&s.call(f)}finally{if(u)throw u.error}}return i({},o,c)}(e,t,n,r,e.children,o));return u._sourceSegment=e,u._segmentIndexShift=t.length,{segmentGroup:u,slicedSegments:n}}var s=new rc(e.segments,e.children);return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:n}}function Ef(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0===n.redirectTo}function Pf(e){return e.outlet||Vs}function Of(e){return e.data||{}}function Tf(e){return e.resolve||{}}function kf(e,t,n,r){var o=ff(e,t,r);return ec(o.resolve?o.resolve(t,n):o(t,n))}function Rf(e){return function(t){return t.pipe(rl(function(t){var n=e(t);return n?ee(n).pipe(Y(function(){return t})):ee([t])}))}}var Af=function(){return function(){}}(),Mf=function(){function e(){}return e.prototype.shouldDetach=function(e){return!1},e.prototype.store=function(e,t){},e.prototype.shouldAttach=function(e){return!1},e.prototype.retrieve=function(e){return null},e.prototype.shouldReuseRoute=function(e,t){return e.routeConfig===t.routeConfig},e}(),If=new Ne("ROUTES"),Nf=function(){function e(e,t,n,r){this.loader=e,this.compiler=t,this.onLoadStartListener=n,this.onLoadEndListener=r}return e.prototype.load=function(e,t){var n=this;return this.onLoadStartListener&&this.onLoadStartListener(t),this.loadModuleFactory(t.loadChildren).pipe(Y(function(r){n.onLoadEndListener&&n.onLoadEndListener(t);var o=r.create(e);return new Zs(Js(o.injector.get(If)).map(Ks),o)}))},e.prototype.loadModuleFactory=function(e){var t=this;return"string"==typeof e?ee(this.loader.load(e)):ec(e()).pipe(te(function(e){return e instanceof rn?Cu(e):ee(t.compiler.compileModuleAsync(e))}))},e}(),jf=function(){return function(){}}(),Df=function(){function e(){}return e.prototype.shouldProcessUrl=function(e){return!0},e.prototype.extract=function(e){return e},e.prototype.merge=function(e,t){return e},e}();function Uf(e){throw e}function Lf(e,t,n){return t.parse("/")}function Vf(e,t){return Cu(null)}var Hf=function(){function e(e,t,n,r,o,i,a,u){var l=this;this.rootComponentType=e,this.urlSerializer=t,this.rootContexts=n,this.location=r,this.config=u,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new j,this.errorHandler=Uf,this.malformedUriErrorHandler=Lf,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Vf,afterPreactivation:Vf},this.urlHandlingStrategy=new Df,this.routeReuseStrategy=new Mf,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=o.get(nn),this.console=o.get(Mo);var s=o.get(Ko);this.isNgZoneEnabled=s instanceof Ko,this.resetConfig(u),this.currentUrlTree=new nc(new rc([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new Nf(i,a,function(e){return l.triggerEvent(new As(e))},function(e){return l.triggerEvent(new Ms(e))}),this.routerState=Tc(this.currentUrlTree,this.rootComponentType),this.transitions=new xu({id:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}return e.prototype.setupNavigations=function(e){var t=this,n=this.events;return e.pipe(Au(function(e){return 0!==e.id}),Y(function(e){return i({},e,{extractedUrl:t.urlHandlingStrategy.extract(e.rawUrl)})}),rl(function(e){var r,o,a,u,s=!1,c=!1;return Cu(e).pipe(Vu(function(e){t.currentNavigation={id:e.id,initialUrl:e.currentRawUrl,extractedUrl:e.extractedUrl,trigger:e.source,extras:e.extras,previousNavigation:t.lastSuccessfulNavigation?i({},t.lastSuccessfulNavigation,{previousNavigation:null}):null}}),rl(function(e){var r,o,a,u,l=!t.navigated||e.extractedUrl.toString()!==t.browserUrlTree.toString();if(("reload"===t.onSameUrlNavigation||l)&&t.urlHandlingStrategy.shouldProcessUrl(e.rawUrl))return Cu(e).pipe(rl(function(e){var r=t.transitions.getValue();return n.next(new Cs(e.id,t.serializeUrl(e.extractedUrl),e.source,e.restoredState)),r!==t.transitions.getValue()?_u:[e]}),rl(function(e){return Promise.resolve(e)}),(r=t.ngModule.injector,o=t.configLoader,a=t.urlSerializer,u=t.config,function(e){return e.pipe(rl(function(e){return function(t,n,r,o,i){return new rf(t,n,r,e.extractedUrl,i).apply()}(r,o,a,0,u).pipe(Y(function(t){return i({},e,{urlAfterRedirects:t})}))}))}),Vu(function(e){t.currentNavigation=i({},t.currentNavigation,{finalUrl:e.urlAfterRedirects})}),function(e,n,r,o,a){return function(r){return r.pipe(te(function(r){return function(e,t,n,r,o,i){return void 0===o&&(o="emptyOnly"),void 0===i&&(i="legacy"),new wf(e,t,n,r,o,i).recognize()}(e,n,r.urlAfterRedirects,(u=r.urlAfterRedirects,t.serializeUrl(u)),o,a).pipe(Y(function(e){return i({},r,{targetSnapshot:e})}));var u}))}}(t.rootComponentType,t.config,0,t.paramsInheritanceStrategy,t.relativeLinkResolution),Vu(function(e){"eager"===t.urlUpdateStrategy&&(e.extras.skipLocationChange||t.setBrowserUrl(e.urlAfterRedirects,!!e.extras.replaceUrl,e.id,e.extras.state),t.browserUrlTree=e.urlAfterRedirects)}),Vu(function(e){var r=new Ps(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);n.next(r)}));if(l&&t.rawUrlTree&&t.urlHandlingStrategy.shouldProcessUrl(t.rawUrlTree)){var s=e.extractedUrl,c=e.source,f=e.restoredState,p=e.extras,d=new Cs(e.id,t.serializeUrl(s),c,f);n.next(d);var h=Tc(s,t.rootComponentType).snapshot;return Cu(i({},e,{targetSnapshot:h,urlAfterRedirects:s,extras:i({},p,{skipLocationChange:!1,replaceUrl:!1})}))}return t.rawUrlTree=e.rawUrl,t.browserUrlTree=e.urlAfterRedirects,e.resolve(null),_u}),Rf(function(e){var n=e.extras;return t.hooks.beforePreactivation(e.targetSnapshot,{navigationId:e.id,appliedUrlTree:e.extractedUrl,rawUrlTree:e.rawUrl,skipLocationChange:!!n.skipLocationChange,replaceUrl:!!n.replaceUrl})}),Vu(function(e){var n=new Os(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(n)}),Y(function(e){return i({},e,{guards:(n=e.targetSnapshot,r=e.currentSnapshot,o=t.rootContexts,a=n._root,pf(a,r?r._root:null,o,[a.value]))});var n,r,o,a}),function(e,t){return function(n){return n.pipe(te(function(n){var r=n.targetSnapshot,o=n.currentSnapshot,a=n.guards,u=a.canActivateChecks,l=a.canDeactivateChecks;return 0===l.length&&0===u.length?Cu(i({},n,{guardsResult:!0})):function(e,t,n,r){return ee(l).pipe(te(function(e){return function(e,t,n,r,o){var i=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return i&&0!==i.length?Cu(i.map(function(i){var a,u=ff(i,t,o);if(function(e){return e&&Yc(e.canDeactivate)}(u))a=ec(u.canDeactivate(e,t,n,r));else{if(!Yc(u))throw new Error("Invalid CanDeactivate guard");a=ec(u(e,t,n,r))}return a.pipe(el())})).pipe(gf()):Cu(!0)}(e.component,e.route,n,t,r)}),el(function(e){return!0!==e},!0))}(0,r,o,e).pipe(te(function(n){return n&&"boolean"==typeof n?function(e,t,n,r){return ee(u).pipe(sl(function(t){return ee([mf(t.route.parent,r),vf(t.route,r),_f(e,t.path,n),yf(e,t.route,n)]).pipe(Ru(),el(function(e){return!0!==e},!0))}),el(function(e){return!0!==e},!0))}(r,0,e,t):Cu(n)}),Y(function(e){return i({},n,{guardsResult:e})}))}))}}(t.ngModule.injector,function(e){return t.triggerEvent(e)}),Vu(function(e){if(Jc(e.guardsResult)){var n=Bs('Redirecting to "'+t.serializeUrl(e.guardsResult)+'"');throw n.url=e.guardsResult,n}}),Vu(function(e){var n=new Ts(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot,!!e.guardsResult);t.triggerEvent(n)}),Au(function(e){if(!e.guardsResult){t.resetUrlToCurrentUrlTree();var r=new Ss(e.id,t.serializeUrl(e.extractedUrl),"");return n.next(r),e.resolve(!1),!1}return!0}),Rf(function(e){if(e.guards.canActivateChecks.length)return Cu(e).pipe(Vu(function(e){var n=new ks(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(n)}),(n=t.paramsInheritanceStrategy,r=t.ngModule.injector,function(e){return e.pipe(te(function(e){var t=e.targetSnapshot,o=e.guards.canActivateChecks;return o.length?ee(o).pipe(sl(function(e){return function(e,n,r,o){return function(e,t,n,r){var o=Object.keys(e);if(0===o.length)return Cu({});if(1===o.length){var i=o[0];return kf(e[i],t,n,r).pipe(Y(function(e){var t;return(t={})[i]=e,t}))}var a={};return ee(o).pipe(te(function(o){return kf(e[o],t,n,r).pipe(Y(function(e){return a[o]=e,e}))})).pipe(Wu(),Y(function(){return a}))}(e._resolve,e,t,o).pipe(Y(function(t){return e._resolvedData=t,e.data=i({},e.data,Rc(e,r).resolve),null}))}(e.route,0,n,r)}),function(e,t){return arguments.length>=2?function(t){return O(al(e,void 0),Du(1),qu(void 0))(t)}:function(t){return O(al(function(t,n,r){return e(t)}),Du(1))(t)}}(function(e,t){return e}),Y(function(t){return e})):Cu(e)}))}),Vu(function(e){var n=new Rs(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(n)}));var n,r}),Rf(function(e){var n=e.extras;return t.hooks.afterPreactivation(e.targetSnapshot,{navigationId:e.id,appliedUrlTree:e.extractedUrl,rawUrlTree:e.rawUrl,skipLocationChange:!!n.skipLocationChange,replaceUrl:!!n.replaceUrl})}),Y(function(e){var n,r,o,a=(o=function e(t,n,r){if(r&&t.shouldReuseRoute(n.value,r.value.snapshot)){(s=r.value)._futureSnapshot=n.value;var o=function(t,n,r){return n.children.map(function(n){var o,i;try{for(var a=l(r.children),u=a.next();!u.done;u=a.next()){var s=u.value;if(t.shouldReuseRoute(s.value.snapshot,n.value))return e(t,n,s)}}catch(c){o={error:c}}finally{try{u&&!u.done&&(i=a.return)&&i.call(a)}finally{if(o)throw o.error}}return e(t,n)})}(t,n,r);return new Ec(s,o)}var i=t.retrieve(n.value);if(i){var a=i.route;return function e(t,n){if(t.value.routeConfig!==n.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(t.children.length!==n.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");n.value._futureSnapshot=t.value;for(var r=0;r<t.children.length;++r)e(t.children[r],n.children[r])}(n,a),a}var u,s=new kc(new xu((u=n.value).url),new xu(u.params),new xu(u.queryParams),new xu(u.fragment),new xu(u.data),u.outlet,u.component,u);return o=n.children.map(function(n){return e(t,n)}),new Ec(s,o)}(t.routeReuseStrategy,(n=e.targetSnapshot)._root,(r=e.currentRouterState)?r._root:void 0),new Oc(o,n));return i({},e,{targetRouterState:a})}),Vu(function(e){t.currentUrlTree=e.urlAfterRedirects,t.rawUrlTree=t.urlHandlingStrategy.merge(t.currentUrlTree,e.rawUrl),t.routerState=e.targetRouterState,"deferred"===t.urlUpdateStrategy&&(e.extras.skipLocationChange||t.setBrowserUrl(t.rawUrlTree,!!e.extras.replaceUrl,e.id,e.extras.state),t.browserUrlTree=e.urlAfterRedirects)}),(o=t.rootContexts,a=t.routeReuseStrategy,u=function(e){return t.triggerEvent(e)},Y(function(e){return new Qc(a,e.targetRouterState,e.currentRouterState,u).activate(o),e})),Vu({next:function(){s=!0},complete:function(){s=!0}}),(r=function(){if(!s&&!c){t.resetUrlToCurrentUrlTree();var r=new Ss(e.id,t.serializeUrl(e.extractedUrl),"Navigation ID "+e.id+" is not equal to the current navigation id "+t.navigationId);n.next(r),e.resolve(!1)}t.currentNavigation=null},function(e){return e.lift(new cl(r))}),Qu(function(r){if(c=!0,(u=r)&&u[Fs]){var o=Jc(r.url);o||(t.navigated=!0,t.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl));var i=new Ss(e.id,t.serializeUrl(e.extractedUrl),r.message);n.next(i),e.resolve(!1),o&&t.navigateByUrl(r.url)}else{t.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl);var a=new Es(e.id,t.serializeUrl(e.extractedUrl),r);n.next(a);try{e.resolve(t.errorHandler(r))}catch(l){e.reject(l)}}var u;return _u}))}))},e.prototype.resetRootComponentType=function(e){this.rootComponentType=e,this.routerState.root.component=this.rootComponentType},e.prototype.getTransition=function(){var e=this.transitions.value;return e.urlAfterRedirects=this.browserUrlTree,e},e.prototype.setTransition=function(e){this.transitions.next(i({},this.getTransition(),e))},e.prototype.initialNavigation=function(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})},e.prototype.setUpLocationChangeListener=function(){var e=this;this.locationSubscription||(this.locationSubscription=this.location.subscribe(function(t){var n=e.parseUrl(t.url),r="popstate"===t.type?"popstate":"hashchange",o=t.state&&t.state.navigationId?t.state:null;setTimeout(function(){e.scheduleNavigation(n,r,o,{replaceUrl:!0})},0)}))},Object.defineProperty(e.prototype,"url",{get:function(){return this.serializeUrl(this.currentUrlTree)},enumerable:!0,configurable:!0}),e.prototype.getCurrentNavigation=function(){return this.currentNavigation},e.prototype.triggerEvent=function(e){this.events.next(e)},e.prototype.resetConfig=function(e){Gs(e),this.config=e.map(Ks),this.navigated=!1,this.lastSuccessfulId=-1},e.prototype.ngOnDestroy=function(){this.dispose()},e.prototype.dispose=function(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=null)},e.prototype.createUrlTree=function(e,t){void 0===t&&(t={});var n=t.relativeTo,r=t.queryParams,o=t.fragment,a=t.preserveQueryParams,u=t.queryParamsHandling,l=t.preserveFragment;st()&&a&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");var s=n||this.routerState.root,f=l?this.currentUrlTree.fragment:o,p=null;if(u)switch(u){case"merge":p=i({},this.currentUrlTree.queryParams,r);break;case"preserve":p=this.currentUrlTree.queryParams;break;default:p=r||null}else p=a?this.currentUrlTree.queryParams:r||null;return null!==p&&(p=this.removeEmptyProps(p)),function(e,t,n,r,o){if(0===n.length)return Lc(t.root,t.root,t,r,o);var i=function(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new Vc(!0,0,e);var t=0,n=!1,r=e.reduce(function(e,r,o){if("object"==typeof r&&null!=r){if(r.outlets){var i={};return Xs(r.outlets,function(e,t){i[t]="string"==typeof e?e.split("/"):e}),c(e,[{outlets:i}])}if(r.segmentPath)return c(e,[r.segmentPath])}return"string"!=typeof r?c(e,[r]):0===o?(r.split("/").forEach(function(r,o){0==o&&"."===r||(0==o&&""===r?n=!0:".."===r?t++:""!=r&&e.push(r))}),e):c(e,[r])},[]);return new Vc(n,t,r)}(n);if(i.toRoot())return Lc(t.root,new rc([],{}),t,r,o);var a=function(e,n,r){if(e.isAbsolute)return new Hc(t.root,!0,0);if(-1===r.snapshot._lastPathIndex)return new Hc(r.snapshot._urlSegment,!0,0);var o=Uc(e.commands[0])?0:1;return function(t,n,i){for(var a=r.snapshot._urlSegment,u=r.snapshot._lastPathIndex+o,l=e.numberOfDoubleDots;l>u;){if(l-=u,!(a=a.parent))throw new Error("Invalid number of '../'");u=a.segments.length}return new Hc(a,!1,u-l)}()}(i,0,e),u=a.processChildren?Bc(a.segmentGroup,a.index,i.commands):Fc(a.segmentGroup,a.index,i.commands);return Lc(a.segmentGroup,u,t,r,o)}(s,this.currentUrlTree,e,p,f)},e.prototype.navigateByUrl=function(e,t){void 0===t&&(t={skipLocationChange:!1}),st()&&this.isNgZoneEnabled&&!Ko.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");var n=Jc(e)?e:this.parseUrl(e),r=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(r,"imperative",null,t)},e.prototype.navigate=function(e,t){return void 0===t&&(t={skipLocationChange:!1}),function(e){for(var t=0;t<e.length;t++){var n=e[t];if(null==n)throw new Error("The requested path contains "+n+" segment at index "+t)}}(e),this.navigateByUrl(this.createUrlTree(e,t),t)},e.prototype.serializeUrl=function(e){return this.urlSerializer.serialize(e)},e.prototype.parseUrl=function(e){var t;try{t=this.urlSerializer.parse(e)}catch(n){t=this.malformedUriErrorHandler(n,this.urlSerializer,e)}return t},e.prototype.isActive=function(e,t){if(Jc(e))return tc(this.currentUrlTree,e,t);var n=this.parseUrl(e);return tc(this.currentUrlTree,n,t)},e.prototype.removeEmptyProps=function(e){return Object.keys(e).reduce(function(t,n){var r=e[n];return null!=r&&(t[n]=r),t},{})},e.prototype.processNavigations=function(){var e=this;this.navigations.subscribe(function(t){e.navigated=!0,e.lastSuccessfulId=t.id,e.events.next(new xs(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(e.currentUrlTree))),e.lastSuccessfulNavigation=e.currentNavigation,e.currentNavigation=null,t.resolve(!0)},function(t){e.console.warn("Unhandled Navigation Error: ")})},e.prototype.scheduleNavigation=function(e,t,n,r){var o=this.getTransition();if(o&&"imperative"!==t&&"imperative"===o.source&&o.rawUrl.toString()===e.toString())return Promise.resolve(!0);if(o&&"hashchange"==t&&"popstate"===o.source&&o.rawUrl.toString()===e.toString())return Promise.resolve(!0);if(o&&"popstate"==t&&"hashchange"===o.source&&o.rawUrl.toString()===e.toString())return Promise.resolve(!0);var i=null,a=null,u=new Promise(function(e,t){i=e,a=t}),l=++this.navigationId;return this.setTransition({id:l,source:t,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:e,extras:r,resolve:i,reject:a,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(function(e){return Promise.reject(e)})},e.prototype.setBrowserUrl=function(e,t,n,r){var o=this.urlSerializer.serialize(e);r=r||{},this.location.isCurrentPathEqualTo(o)||t?this.location.replaceState(o,"",i({},r,{navigationId:n})):this.location.go(o,"",i({},r,{navigationId:n}))},e.prototype.resetStateAndUrl=function(e,t,n){this.routerState=e,this.currentUrlTree=t,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n),this.resetUrlToCurrentUrlTree()},e.prototype.resetUrlToCurrentUrlTree=function(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",{navigationId:this.lastSuccessfulId})},e}(),zf=function(){return function(){this.outlet=null,this.route=null,this.resolver=null,this.children=new Ff,this.attachRef=null}}(),Ff=function(){function e(){this.contexts=new Map}return e.prototype.onChildOutletCreated=function(e,t){var n=this.getOrCreateContext(e);n.outlet=t,this.contexts.set(e,n)},e.prototype.onChildOutletDestroyed=function(e){var t=this.getContext(e);t&&(t.outlet=null)},e.prototype.onOutletDeactivated=function(){var e=this.contexts;return this.contexts=new Map,e},e.prototype.onOutletReAttached=function(e){this.contexts=e},e.prototype.getOrCreateContext=function(e){var t=this.getContext(e);return t||(t=new zf,this.contexts.set(e,t)),t},e.prototype.getContext=function(e){return this.contexts.get(e)||null},e}(),Bf=function(){function e(e,t,n,r,o){this.parentContexts=e,this.location=t,this.resolver=n,this.changeDetector=o,this.activated=null,this._activatedRoute=null,this.activateEvents=new wo,this.deactivateEvents=new wo,this.name=r||Vs,e.onChildOutletCreated(this.name,this)}return e.prototype.ngOnDestroy=function(){this.parentContexts.onChildOutletDestroyed(this.name)},e.prototype.ngOnInit=function(){if(!this.activated){var e=this.parentContexts.getContext(this.name);e&&e.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.resolver||null))}},Object.defineProperty(e.prototype,"isActivated",{get:function(){return!!this.activated},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"component",{get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"activatedRoute",{get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"activatedRouteData",{get:function(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}},enumerable:!0,configurable:!0}),e.prototype.detach=function(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();var e=this.activated;return this.activated=null,this._activatedRoute=null,e},e.prototype.attach=function(e,t){this.activated=e,this._activatedRoute=t,this.location.insert(e.hostView)},e.prototype.deactivate=function(){if(this.activated){var e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}},e.prototype.activateWith=function(e,t){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=e;var n=(t=t||this.resolver).resolveComponentFactory(e._futureSnapshot.routeConfig.component),r=this.parentContexts.getOrCreateContext(this.name).children,o=new qf(e,r,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,o),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)},e}(),qf=function(){function e(e,t,n){this.route=e,this.childContexts=t,this.parent=n}return e.prototype.get=function(e,t){return e===kc?this.route:e===Ff?this.childContexts:this.parent.get(e,t)},e}(),Zf=function(){return function(){}}(),Gf=function(){function e(){}return e.prototype.preload=function(e,t){return t().pipe(Qu(function(){return Cu(null)}))},e}(),Wf=function(){function e(){}return e.prototype.preload=function(e,t){return Cu(null)},e}(),Qf=function(){function e(e,t,n,r,o){this.router=e,this.injector=r,this.preloadingStrategy=o,this.loader=new Nf(t,n,function(t){return e.triggerEvent(new As(t))},function(t){return e.triggerEvent(new Ms(t))})}return e.prototype.setUpPreloading=function(){var e=this;this.subscription=this.router.events.pipe(Au(function(e){return e instanceof xs}),sl(function(){return e.preload()})).subscribe(function(){})},e.prototype.preload=function(){var e=this.injector.get(nn);return this.processRoutes(e,this.router.config)},e.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},e.prototype.processRoutes=function(e,t){var n,r,o=[];try{for(var i=l(t),a=i.next();!a.done;a=i.next()){var u=a.value;if(u.loadChildren&&!u.canLoad&&u._loadedConfig){var s=u._loadedConfig;o.push(this.processRoutes(s.module,s.routes))}else u.loadChildren&&!u.canLoad?o.push(this.preloadConfig(e,u)):u.children&&o.push(this.processRoutes(e,u.children))}}catch(c){n={error:c}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return ee(o).pipe(ie(),Y(function(e){}))},e.prototype.preloadConfig=function(e,t){var n=this;return this.preloadingStrategy.preload(t,function(){return n.loader.load(e.injector,t).pipe(te(function(e){return t._loadedConfig=e,n.processRoutes(e.module,e.routes)}))})},e}(),Kf=function(){function e(e,t,n){void 0===n&&(n={}),this.router=e,this.viewportScroller=t,this.options=n,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},n.scrollPositionRestoration=n.scrollPositionRestoration||"disabled",n.anchorScrolling=n.anchorScrolling||"disabled"}return e.prototype.init=function(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()},e.prototype.createScrollEvents=function(){var e=this;return this.router.events.subscribe(function(t){t instanceof Cs?(e.store[e.lastId]=e.viewportScroller.getScrollPosition(),e.lastSource=t.navigationTrigger,e.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof xs&&(e.lastId=t.id,e.scheduleScrollEvent(t,e.router.parseUrl(t.urlAfterRedirects).fragment))})},e.prototype.consumeScrollEvents=function(){var e=this;return this.router.events.subscribe(function(t){t instanceof Us&&(t.position?"top"===e.options.scrollPositionRestoration?e.viewportScroller.scrollToPosition([0,0]):"enabled"===e.options.scrollPositionRestoration&&e.viewportScroller.scrollToPosition(t.position):t.anchor&&"enabled"===e.options.anchorScrolling?e.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==e.options.scrollPositionRestoration&&e.viewportScroller.scrollToPosition([0,0]))})},e.prototype.scheduleScrollEvent=function(e,t){this.router.triggerEvent(new Us(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,t))},e.prototype.ngOnDestroy=function(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()},e}(),Yf=new Ne("ROUTER_CONFIGURATION"),Jf=new Ne("ROUTER_FORROOT_GUARD"),$f=[ru,{provide:uc,useClass:lc},{provide:Hf,useFactory:ip,deps:[pi,uc,Ff,ru,Ve,xo,Ho,If,Yf,[jf,new ve],[Af,new ve]]},Ff,{provide:kc,useFactory:ap,deps:[Hf]},{provide:xo,useClass:vi},Qf,Wf,Gf,{provide:Yf,useValue:{enableTracing:!1}}];function Xf(){return new ui("Router",Hf)}var ep=function(){function e(e,t){}var t;return t=e,e.forRoot=function(e,n){return{ngModule:t,providers:[$f,op(e),{provide:Jf,useFactory:rp,deps:[[Hf,new ve,new ye]]},{provide:Yf,useValue:n||{}},{provide:tu,useFactory:np,deps:[Xa,[new ge(nu),new ve],Yf]},{provide:Kf,useFactory:tp,deps:[Hf,mu,Yf]},{provide:Zf,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:Wf},{provide:ui,multi:!0,useFactory:Xf},[up,{provide:So,multi:!0,useFactory:lp,deps:[up]},{provide:cp,useFactory:sp,deps:[up]},{provide:Ao,multi:!0,useExisting:cp}]]}},e.forChild=function(e){return{ngModule:t,providers:[op(e)]}},e}();function tp(e,t,n){return n.scrollOffset&&t.setOffset(n.scrollOffset),new Kf(e,t,n)}function np(e,t,n){return void 0===n&&(n={}),n.useHash?new iu(e,t):new au(e,t)}function rp(e){if(e)throw new Error("RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function op(e){return[{provide:et,multi:!0,useValue:e},{provide:If,multi:!0,useValue:e}]}function ip(e,t,n,r,o,i,a,u,l,s,c){void 0===l&&(l={});var f=new Hf(null,t,n,r,o,i,a,Js(u));if(s&&(f.urlHandlingStrategy=s),c&&(f.routeReuseStrategy=c),l.errorHandler&&(f.errorHandler=l.errorHandler),l.malformedUriErrorHandler&&(f.malformedUriErrorHandler=l.malformedUriErrorHandler),l.enableTracing){var p=dl();f.events.subscribe(function(e){p.logGroup("Router Event: "+e.constructor.name),p.log(e.toString()),p.log(e),p.logGroupEnd()})}return l.onSameUrlNavigation&&(f.onSameUrlNavigation=l.onSameUrlNavigation),l.paramsInheritanceStrategy&&(f.paramsInheritanceStrategy=l.paramsInheritanceStrategy),l.urlUpdateStrategy&&(f.urlUpdateStrategy=l.urlUpdateStrategy),l.relativeLinkResolution&&(f.relativeLinkResolution=l.relativeLinkResolution),f}function ap(e){return e.routerState.root}var up=function(){function e(e){this.injector=e,this.initNavigation=!1,this.resultOfPreactivationDone=new j}return e.prototype.appInitializer=function(){var e=this;return this.injector.get(eu,Promise.resolve(null)).then(function(){var t=null,n=new Promise(function(e){return t=e}),r=e.injector.get(Hf),o=e.injector.get(Yf);if(e.isLegacyDisabled(o)||e.isLegacyEnabled(o))t(!0);else if("disabled"===o.initialNavigation)r.setUpLocationChangeListener(),t(!0);else{if("enabled"!==o.initialNavigation)throw new Error("Invalid initialNavigation options: '"+o.initialNavigation+"'");r.hooks.afterPreactivation=function(){return e.initNavigation?Cu(null):(e.initNavigation=!0,t(!0),e.resultOfPreactivationDone)},r.initialNavigation()}return n})},e.prototype.bootstrapListener=function(e){var t=this.injector.get(Yf),n=this.injector.get(Qf),r=this.injector.get(Kf),o=this.injector.get(Hf),i=this.injector.get(pi);e===i.components[0]&&(this.isLegacyEnabled(t)?o.initialNavigation():this.isLegacyDisabled(t)&&o.setUpLocationChangeListener(),n.setUpPreloading(),r.init(),o.resetRootComponentType(i.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())},e.prototype.isLegacyEnabled=function(e){return"legacy_enabled"===e.initialNavigation||!0===e.initialNavigation||void 0===e.initialNavigation},e.prototype.isLegacyDisabled=function(e){return"legacy_disabled"===e.initialNavigation||!1===e.initialNavigation},e}();function lp(e){return e.appInitializer.bind(e)}function sp(e){return e.bootstrapListener.bind(e)}var cp=new Ne("Router Initializer"),fp=Jn({encapsulation:2,styles:[],data:{}});function pp(e){return qi(0,[(e()(),Ai(0,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),io(1,212992,null,0,Bf,[Ff,In,Xt,[8,null],Pn],null,null)],function(e,t){e(t,1,0)},null)}function dp(e){return qi(0,[(e()(),Ai(0,0,null,null,1,"ng-component",[],null,null,null,pp,fp)),io(1,49152,null,0,Ls,[],null,null)],null,null)}var hp=Dr("ng-component",Ls,dp,{},{},[]),gp=function(){function e(){}return e.prototype.ngOnInit=function(){},e}(),vp=Jn({encapsulation:0,styles:[[".i_feature_main_container[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;width:100%;height:100%;flex-direction:column;padding:3rem}.i_feature_main_container[_ngcontent-%COMP%] .i_feature_heading_title[_ngcontent-%COMP%]{margin-bottom:2rem}.i_feature_main_container[_ngcontent-%COMP%] .i_feature_heading_title[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:33px;color:#020814;letter-spacing:-.04em;font-family:coconfont-regular;margin-bottom:10px}.i_feature_main_container[_ngcontent-%COMP%] .i_feature_heading_title[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:18px;color:#747da1;letter-spacing:-.04em;font-family:coconfont-regular;margin-bottom:10px}.i_feature_main_container[_ngcontent-%COMP%] .i_feature_box_container[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;width:100%}.i_feature_main_container[_ngcontent-%COMP%] .i_feature_box_container[_ngcontent-%COMP%] .i_feature_box_1[_ngcontent-%COMP%]{background:#fff;box-shadow:0 15px 18px rgba(156,156,156,.15);border-radius:8px;padding:3.4375rem 1rem 1.25rem;position:relative;margin:0 10px 20px;width:calc(100% / 3 - 20px);display:flex;justify-content:center;align-items:center;flex-direction:column}.i_feature_main_container[_ngcontent-%COMP%] .i_feature_box_container[_ngcontent-%COMP%] .i_feature_box_1[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{margin-bottom:2rem}.i_feature_main_container[_ngcontent-%COMP%] .i_feature_box_container[_ngcontent-%COMP%] .i_feature_box_1[_ngcontent-%COMP%] .i_feature_title[_ngcontent-%COMP%]{color:#1d274e;font-size:1.15rem;font-weight:700;font-family:coconfont-regular;margin:0 0 .75rem;letter-spacing:1.5px;text-align:center}.i_feature_main_container[_ngcontent-%COMP%] .i_feature_box_container[_ngcontent-%COMP%] .i_feature_box_1[_ngcontent-%COMP%] .i_feature_descp[_ngcontent-%COMP%]{color:#747da1;font-size:.85rem;font-weight:500;margin:0;font-family:Poppins,sans-serif;text-transform:capitalize;text-align:center}"]],data:{}});function mp(e){return qi(0,[(e()(),Ai(0,0,null,null,42,"div",[["class","i_feature_main_container"]],null,null,null,null,null)),(e()(),Ai(1,0,null,null,4,"div",[["class","i_feature_heading_title"]],null,null,null,null,null)),(e()(),Ai(2,0,null,null,1,"h1",[],null,null,null,null,null)),(e()(),zi(-1,null,["67% of corporations believe they are not properly prepared to manage a social media crisis. (APACD Research, Q4, 2016)"])),(e()(),Ai(4,0,null,null,1,"p",[],null,null,null,null,null)),(e()(),zi(-1,null,["Predict, mitigate and manage risk better through SONAR."])),(e()(),Ai(6,0,null,null,36,"div",[["class","i_feature_box_container"]],null,null,null,null,null)),(e()(),Ai(7,0,null,null,5,"div",[["class","i_feature_box_1"]],null,null,null,null,null)),(e()(),Ai(8,0,null,null,0,"img",[["src","assets/icon/f1.svg"]],null,null,null,null,null)),(e()(),Ai(9,0,null,null,1,"div",[["class","i_feature_title"]],null,null,null,null,null)),(e()(),zi(-1,null,["Real-Time Resource"])),(e()(),Ai(11,0,null,null,1,"div",[["class","i_feature_descp"]],null,null,null,null,null)),(e()(),zi(-1,null,[" Operates intuitively, fluidly and simply in any language."])),(e()(),Ai(13,0,null,null,5,"div",[["class","i_feature_box_1"]],null,null,null,null,null)),(e()(),Ai(14,0,null,null,0,"img",[["src","assets/icon/f2.svg"]],null,null,null,null,null)),(e()(),Ai(15,0,null,null,1,"div",[["class","i_feature_title"]],null,null,null,null,null)),(e()(),zi(-1,null,["Market Relevance "])),(e()(),Ai(17,0,null,null,1,"div",[["class","i_feature_descp"]],null,null,null,null,null)),(e()(),zi(-1,null,[" Precise replication of social media environment in any geography."])),(e()(),Ai(19,0,null,null,5,"div",[["class","i_feature_box_1"]],null,null,null,null,null)),(e()(),Ai(20,0,null,null,0,"img",[["src","assets/icon/f3.svg"]],null,null,null,null,null)),(e()(),Ai(21,0,null,null,1,"div",[["class","i_feature_title"]],null,null,null,null,null)),(e()(),zi(-1,null,["As Real as it Gets "])),(e()(),Ai(23,0,null,null,1,"div",[["class","i_feature_descp"]],null,null,null,null,null)),(e()(),zi(-1,null,[" War-room style set-up: allows participants to track controversy in real-time."])),(e()(),Ai(25,0,null,null,5,"div",[["class","i_feature_box_1"]],null,null,null,null,null)),(e()(),Ai(26,0,null,null,0,"img",[["src","assets/icon/f4.svg"]],null,null,null,null,null)),(e()(),Ai(27,0,null,null,1,"div",[["class","i_feature_title"]],null,null,null,null,null)),(e()(),zi(-1,null,["Skilled Advisory Team "])),(e()(),Ai(29,0,null,null,1,"div",[["class","i_feature_descp"]],null,null,null,null,null)),(e()(),zi(-1,null,[" Experience communications and digital strategists work side-by-side with clients. "])),(e()(),Ai(31,0,null,null,5,"div",[["class","i_feature_box_1"]],null,null,null,null,null)),(e()(),Ai(32,0,null,null,0,"img",[["src","assets/icon/f3.svg"]],null,null,null,null,null)),(e()(),Ai(33,0,null,null,1,"div",[["class","i_feature_title"]],null,null,null,null,null)),(e()(),zi(-1,null,["Added-Value Analysis "])),(e()(),Ai(35,0,null,null,1,"div",[["class","i_feature_descp"]],null,null,null,null,null)),(e()(),zi(-1,null,[" Detailed analysis and reporting of corporate strengths and areas for improvement. "])),(e()(),Ai(37,0,null,null,5,"div",[["class","i_feature_box_1"]],null,null,null,null,null)),(e()(),Ai(38,0,null,null,0,"img",[["src","assets/icon/f4.svg"]],null,null,null,null,null)),(e()(),Ai(39,0,null,null,1,"div",[["class","i_feature_title"]],null,null,null,null,null)),(e()(),zi(-1,null,["Upgraded Response "])),(e()(),Ai(41,0,null,null,1,"div",[["class","i_feature_descp"]],null,null,null,null,null)),(e()(),zi(-1,null,[" Greatly improved speed of response in the event of a real issue or crisis."]))],null,null)}var yp=function(){function e(){}return e.prototype.ngOnInit=function(){},e}(),_p=Jn({encapsulation:0,styles:[['@charset "UTF-8";.i_crises_main_container[_ngcontent-%COMP%]{padding:6rem 0;display:flex;justify-content:center;align-items:center}.i_crises_main_container[_ngcontent-%COMP%] .i_crises_box_container[_ngcontent-%COMP%]{padding:4rem 0;display:flex;justify-content:center;align-items:center;width:100%;height:100%}.i_crises_main_container[_ngcontent-%COMP%] .i_crises_box_container[_ngcontent-%COMP%] .i_crises_content[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;align-items:flex-start;flex-direction:column;width:calc(100% /2);height:100%}.i_crises_main_container[_ngcontent-%COMP%] .i_crises_box_container[_ngcontent-%COMP%] .i_crises_content[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:54px;color:#020814;letter-spacing:-.04em;font-family:coconfont-regular;margin:20px 0;text-align:left}.i_crises_main_container[_ngcontent-%COMP%] .i_crises_box_container[_ngcontent-%COMP%] .i_crises_content[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#747da1;font-size:1rem;font-weight:500;margin:0;font-family:Poppins,sans-serif;text-transform:capitalize;text-align:left}.i_crises_main_container[_ngcontent-%COMP%] .i_crises_box_container[_ngcontent-%COMP%] .i_crises_content[_ngcontent-%COMP%] .btn_get_startted[_ngcontent-%COMP%]{padding:12px 32px;background-color:#1d274e;color:#fff;font-size:16px;position:relative;z-index:1;overflow:hidden;border-radius:50px;border:1px solid #383866;margin-top:35px;display:flex;justify-content:center;align-items:center}.i_crises_main_container[_ngcontent-%COMP%] .i_crises_box_container[_ngcontent-%COMP%] .i_crises_main[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;flex-direction:row;width:calc(100% /2)}.i_crises_main_container[_ngcontent-%COMP%] .i_crises_box_container[_ngcontent-%COMP%] .i_crises_main[_ngcontent-%COMP%] .crises_even[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;flex-direction:column;margin:0 1rem;width:calc(100% - 2rem)}.i_crises_main_container[_ngcontent-%COMP%] .i_crises_box_container[_ngcontent-%COMP%] .i_crises_main[_ngcontent-%COMP%] .crises_even[_ngcontent-%COMP%] .i_crises_boxes_ev[_ngcontent-%COMP%]{width:100%;padding:38px 18px;box-shadow:0 4px 28px 0 rgba(102,102,102,.1);margin-top:30px;position:relative;z-index:1;overflow:hidden;border-radius:10px;display:flex;justify-content:center;align-items:center;flex-direction:column}.i_crises_main_container[_ngcontent-%COMP%] .i_crises_box_container[_ngcontent-%COMP%] .i_crises_main[_ngcontent-%COMP%] .crises_even[_ngcontent-%COMP%] .i_crises_boxes_ev[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{margin-bottom:1rem}.i_crises_main_container[_ngcontent-%COMP%] .i_crises_box_container[_ngcontent-%COMP%] .i_crises_main[_ngcontent-%COMP%] .crises_even[_ngcontent-%COMP%] .i_crises_boxes_ev[_ngcontent-%COMP%] .i_feature_title[_ngcontent-%COMP%]{color:#1d274e;font-size:1.15rem;font-weight:700;font-family:coconfont-regular;margin:0 0 .75rem;letter-spacing:1.5px;text-align:center}.i_crises_main_container[_ngcontent-%COMP%] .i_crises_box_container[_ngcontent-%COMP%] .i_crises_main[_ngcontent-%COMP%] .crises_even[_ngcontent-%COMP%] .i_crises_boxes_ev[_ngcontent-%COMP%] .i_feature_descp[_ngcontent-%COMP%]{color:#747da1;font-size:.85rem;font-weight:500;margin:0;font-family:Poppins,sans-serif;text-transform:capitalize;text-align:center}.i_crises_main_container[_ngcontent-%COMP%] .i_crises_box_container[_ngcontent-%COMP%] .i_crises_main[_ngcontent-%COMP%] .crises_even.odd[_ngcontent-%COMP%]{margin-bottom:-5rem}.i_our_clients[_ngcontent-%COMP%]{padding:6rem 0;display:flex;justify-content:center;align-items:center;background:#f8fbfd;flex-direction:column}.i_our_clients[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:35px;color:#020814;letter-spacing:-.04em;font-family:coconfont-regular;margin:20px 0;text-align:center}.i_our_clients[_ngcontent-%COMP%] .i_our_clinet_list[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;align-items:center;flex-direction:row;flex-wrap:wrap}.i_our_clients[_ngcontent-%COMP%] .i_our_clinet_list[_ngcontent-%COMP%] .i_list_name[_ngcontent-%COMP%]{position:relative;text-align:center;border-radius:10px;box-shadow:0 0 30px rgba(0,0,0,.15);background-color:#fff;transition:all .3s ease;margin:20px;padding:19px 23px;width:210px;height:107px;display:flex;justify-content:center;align-items:center;width:calc(100% /4 - 40px)}.i_our_clients[_ngcontent-%COMP%] .i_our_clinet_list[_ngcontent-%COMP%] .i_list_name[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;opacity:.4;transition:all .3s ease;-webkit-transition:.3s;-ms-transition:all .3s ease;-o-transition:.3s;-webkit-filter:grayscale(100%);filter:grayscale(100%)}.i_our_clients[_ngcontent-%COMP%] .i_our_clinet_list[_ngcontent-%COMP%] .i_list_name[_ngcontent-%COMP%]:hover img[_ngcontent-%COMP%]{opacity:1;-webkit-filter:grayscale(0);filter:grayscale(0)}.i_request_demo[_ngcontent-%COMP%]{padding:6rem 0;display:flex;justify-content:center;align-items:flex-start;flex-direction:column}.i_request_demo[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:35px;color:#020814;letter-spacing:-.04em;font-family:coconfont-regular;margin:20px 0 2rem;text-align:center}.i_request_demo[_ngcontent-%COMP%] .i_demo_container[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;flex-direction:row}.i_request_demo[_ngcontent-%COMP%] .i_demo_container[_ngcontent-%COMP%] .i_demo_child_boxes[_ngcontent-%COMP%]{width:100%;margin:0 20px;width:calc(100% / 2 - 40px)}.i_request_demo[_ngcontent-%COMP%] .i_demo_container[_ngcontent-%COMP%] .i_demo_child_boxes[_ngcontent-%COMP%] .ttile_demo[_ngcontent-%COMP%]{font-size:25px;color:#020814;letter-spacing:-.04em;font-family:coconfont-regular;margin:20px 0;text-align:center}.i_request_demo[_ngcontent-%COMP%] .i_demo_container[_ngcontent-%COMP%] .i_demo_child_boxes[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{color:#747da1;font-size:.9em;font-weight:400;margin:0 0 10px;font-family:Poppins,sans-serif;text-transform:capitalize;text-align:left;letter-spacing:1px;line-height:1.5rem}.i_request_demo[_ngcontent-%COMP%] .i_demo_container[_ngcontent-%COMP%] .i_demo_child_boxes[_ngcontent-%COMP%] .btn_request_for_demo[_ngcontent-%COMP%]{padding:12px 32px;background-color:#1d274e;color:#fff;font-size:16px;position:relative;z-index:1;overflow:hidden;border-radius:50px;border:1px solid #383866;margin-top:35px;display:flex;justify-content:center;align-items:center;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.i_request_demo[_ngcontent-%COMP%] .i_demo_container[_ngcontent-%COMP%] .i_demo_child_boxes[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{border-radius:15px;box-shadow:0 0 22px #b5c1bf;width:100%}.i_request_demo[_ngcontent-%COMP%] .i_demo_container[_ngcontent-%COMP%] .i_demo_child_boxes.pp[_ngcontent-%COMP%]{position:relative}.i_request_demo[_ngcontent-%COMP%] .i_demo_container[_ngcontent-%COMP%] .i_demo_child_boxes.pp[_ngcontent-%COMP%]::after{content:"\uf0da";position:absolute;width:75px;height:75px;background:#fff;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);border-radius:50%;cursor:pointer;display:flex;justify-content:center;align-items:center;font-family:FontAwesome;font-size:2rem}.footer[_ngcontent-%COMP%]{background:#f4f4f4;padding:2rem 0}.footer[_ngcontent-%COMP%] .i_parent_footer[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center}.footer[_ngcontent-%COMP%] .i_parent_footer[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{color:#747da1;font-size:.9em;font-weight:400;margin:0 0 10px;font-family:Poppins,sans-serif;text-transform:capitalize;text-align:left;letter-spacing:1px;line-height:1.5rem}']],data:{}});function bp(e){return qi(0,[(e()(),Ai(0,0,null,null,36,"div",[["class","i_crises_main_container"]],null,null,null,null,null)),(e()(),Ai(1,0,null,null,35,"div",[["class","container"]],null,null,null,null,null)),(e()(),Ai(2,0,null,null,34,"div",[["class","i_crises_box_container"]],null,null,null,null,null)),(e()(),Ai(3,0,null,null,6,"div",[["class","i_crises_content"]],null,null,null,null,null)),(e()(),Ai(4,0,null,null,1,"h1",[],null,null,null,null,null)),(e()(),zi(-1,null,["Need to check your crisis resilience? "])),(e()(),Ai(6,0,null,null,1,"p",[],null,null,null,null,null)),(e()(),zi(-1,null,["We can do that. Fast. Predict, mitigate and manage risk better through SONAR."])),(e()(),Ai(8,0,null,null,1,"div",[["class","btn_get_startted"]],null,null,null,null,null)),(e()(),zi(-1,null,["Get Started"])),(e()(),Ai(10,0,null,null,26,"div",[["class","i_crises_main"]],null,null,null,null,null)),(e()(),Ai(11,0,null,null,12,"div",[["class","crises_even"]],null,null,null,null,null)),(e()(),Ai(12,0,null,null,5,"div",[["class","i_crises_boxes_ev"]],null,null,null,null,null)),(e()(),Ai(13,0,null,null,0,"img",[["src","assets/icon/service1.png"]],null,null,null,null,null)),(e()(),Ai(14,0,null,null,1,"div",[["class","i_feature_title"]],null,null,null,null,null)),(e()(),zi(-1,null,["Title over here "])),(e()(),Ai(16,0,null,null,1,"div",[["class","i_feature_descp"]],null,null,null,null,null)),(e()(),zi(-1,null,["Simulated multi-screen media, social media and stakeholder environment. As real as it gets."])),(e()(),Ai(18,0,null,null,5,"div",[["class","i_crises_boxes_ev"]],null,null,null,null,null)),(e()(),Ai(19,0,null,null,0,"img",[["src","assets/icon/service2.png"]],null,null,null,null,null)),(e()(),Ai(20,0,null,null,1,"div",[["class","i_feature_title"]],null,null,null,null,null)),(e()(),zi(-1,null,["Title over here "])),(e()(),Ai(22,0,null,null,1,"div",[["class","i_feature_descp"]],null,null,null,null,null)),(e()(),zi(-1,null,[" Precisely designed real-life scenarios to test your people, planning and systems."])),(e()(),Ai(24,0,null,null,12,"div",[["class","crises_even odd"]],null,null,null,null,null)),(e()(),Ai(25,0,null,null,5,"div",[["class","i_crises_boxes_ev"]],null,null,null,null,null)),(e()(),Ai(26,0,null,null,0,"img",[["src","assets/icon/service3.png"]],null,null,null,null,null)),(e()(),Ai(27,0,null,null,1,"div",[["class","i_feature_title"]],null,null,null,null,null)),(e()(),zi(-1,null,["Title over here "])),(e()(),Ai(29,0,null,null,1,"div",[["class","i_feature_descp"]],null,null,null,null,null)),(e()(),zi(-1,null,["Fast assessment of what is working and what needs improving or upgrading."])),(e()(),Ai(31,0,null,null,5,"div",[["class","i_crises_boxes_ev"]],null,null,null,null,null)),(e()(),Ai(32,0,null,null,0,"img",[["src","assets/icon/service4.png"]],null,null,null,null,null)),(e()(),Ai(33,0,null,null,1,"div",[["class","i_feature_title"]],null,null,null,null,null)),(e()(),zi(-1,null,["Title over here "])),(e()(),Ai(35,0,null,null,1,"div",[["class","i_feature_descp"]],null,null,null,null,null)),(e()(),zi(-1,null,[" Precise replication of social media environment in any geography."])),(e()(),Ai(37,0,null,null,28,"div",[["class","i_our_clients"]],null,null,null,null,null)),(e()(),Ai(38,0,null,null,27,"div",[["class","container"]],null,null,null,null,null)),(e()(),Ai(39,0,null,null,1,"h1",[],null,null,null,null,null)),(e()(),zi(-1,null,["The following global corporate leaders have SONAR\u2122 as part of their risk management planning. "])),(e()(),Ai(41,0,null,null,24,"div",[["class","i_our_clinet_list"]],null,null,null,null,null)),(e()(),Ai(42,0,null,null,1,"div",[["class","i_list_name"]],null,null,null,null,null)),(e()(),Ai(43,0,null,null,0,"img",[["class","img-responsive"],["src","assets/icon/client2.png"]],null,null,null,null,null)),(e()(),Ai(44,0,null,null,1,"div",[["class","i_list_name"]],null,null,null,null,null)),(e()(),Ai(45,0,null,null,0,"img",[["class","img-responsive"],["src","assets/icon/client1.png"]],null,null,null,null,null)),(e()(),Ai(46,0,null,null,1,"div",[["class","i_list_name"]],null,null,null,null,null)),(e()(),Ai(47,0,null,null,0,"img",[["class","img-responsive"],["src","assets/icon/client3.png"]],null,null,null,null,null)),(e()(),Ai(48,0,null,null,1,"div",[["class","i_list_name"]],null,null,null,null,null)),(e()(),Ai(49,0,null,null,0,"img",[["class","img-responsive"],["src","assets/icon/client2.png"]],null,null,null,null,null)),(e()(),Ai(50,0,null,null,1,"div",[["class","i_list_name"]],null,null,null,null,null)),(e()(),Ai(51,0,null,null,0,"img",[["class","img-responsive"],["src","assets/icon/client1.png"]],null,null,null,null,null)),(e()(),Ai(52,0,null,null,1,"div",[["class","i_list_name"]],null,null,null,null,null)),(e()(),Ai(53,0,null,null,0,"img",[["class","img-responsive"],["src","assets/icon/client3.png"]],null,null,null,null,null)),(e()(),Ai(54,0,null,null,1,"div",[["class","i_list_name"]],null,null,null,null,null)),(e()(),Ai(55,0,null,null,0,"img",[["class","img-responsive"],["src","assets/icon/client1.png"]],null,null,null,null,null)),(e()(),Ai(56,0,null,null,1,"div",[["class","i_list_name"]],null,null,null,null,null)),(e()(),Ai(57,0,null,null,0,"img",[["class","img-responsive"],["src","assets/icon/client2.png"]],null,null,null,null,null)),(e()(),Ai(58,0,null,null,1,"div",[["class","i_list_name"]],null,null,null,null,null)),(e()(),Ai(59,0,null,null,0,"img",[["class","img-responsive"],["src","assets/icon/client3.png"]],null,null,null,null,null)),(e()(),Ai(60,0,null,null,1,"div",[["class","i_list_name"]],null,null,null,null,null)),(e()(),Ai(61,0,null,null,0,"img",[["class","img-responsive"],["src","assets/icon/client2.png"]],null,null,null,null,null)),(e()(),Ai(62,0,null,null,1,"div",[["class","i_list_name"]],null,null,null,null,null)),(e()(),Ai(63,0,null,null,0,"img",[["class","img-responsive"],["src","assets/icon/client1.png"]],null,null,null,null,null)),(e()(),Ai(64,0,null,null,1,"div",[["class","i_list_name"]],null,null,null,null,null)),(e()(),Ai(65,0,null,null,0,"img",[["src","assets/icon/client2.png"]],null,null,null,null,null)),(e()(),Ai(66,0,null,null,18,"div",[["class","i_request_demo"]],null,null,null,null,null)),(e()(),Ai(67,0,null,null,17,"div",[["class","container"]],null,null,null,null,null)),(e()(),Ai(68,0,null,null,1,"h1",[],null,null,null,null,null)),(e()(),zi(-1,null,["Can you afford not to be prepared?"])),(e()(),Ai(70,0,null,null,14,"div",[["class","i_demo_container"]],null,null,null,null,null)),(e()(),Ai(71,0,null,null,11,"div",[["class","i_demo_child_boxes"]],null,null,null,null,null)),(e()(),Ai(72,0,null,null,1,"div",[["class","ttile_demo"]],null,null,null,null,null)),(e()(),zi(-1,null,["Schedule your SONAR\u2122 crisis simulation today."])),(e()(),Ai(74,0,null,null,6,"ul",[],null,null,null,null,null)),(e()(),Ai(75,0,null,null,1,"li",[],null,null,null,null,null)),(e()(),zi(-1,null,["With more and more organisations getting it wrong, make sure you get it right. "])),(e()(),Ai(77,0,null,null,1,"li",[],null,null,null,null,null)),(e()(),zi(-1,null,["Access experience and insight from Ruder Finn,"])),(e()(),Ai(79,0,null,null,1,"li",[],null,null,null,null,null)),(e()(),zi(-1,null,["Asia-Pacific\u2019s leading digital risk management consultancy."])),(e()(),Ai(81,0,null,null,1,"div",[["class","btn_request_for_demo"]],null,null,null,null,null)),(e()(),zi(-1,null,["Request a Demo"])),(e()(),Ai(83,0,null,null,1,"div",[["class","i_demo_child_boxes pp"]],null,null,null,null,null)),(e()(),Ai(84,0,null,null,0,"img",[["class","img-responsive"],["src","assets/1.jpg"]],null,null,null,null,null)),(e()(),Ai(85,0,null,null,6,"div",[["class","footer"]],null,null,null,null,null)),(e()(),Ai(86,0,null,null,5,"div",[["class","container"]],null,null,null,null,null)),(e()(),Ai(87,0,null,null,4,"div",[["class","i_parent_footer"]],null,null,null,null,null)),(e()(),Ai(88,0,null,null,1,"div",[["class","icon"]],null,null,null,null,null)),(e()(),Ai(89,0,null,null,0,"img",[["src","assets/icon/footerlogo.webp"]],null,null,null,null,null)),(e()(),Ai(90,0,null,null,1,"div",[["class","icon"]],null,null,null,null,null)),(e()(),zi(-1,null,["\xa92017 Ruder Finn Asia. All rights reserved "]))],null,null)}var wp=Jn({encapsulation:0,styles:[['.app_main_container[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;width:100%;flex-wrap:nowrap}.main_container[_ngcontent-%COMP%]{width:100%;min-height:100vh;background:linear-gradient(144deg,#3e64bac4,#e145459e),url(2.38df94338b2a465227da.jpg);display:flex;justify-content:center;align-items:center;transition:all 2s}.main_container[_ngcontent-%COMP%] .banner_content[_ngcontent-%COMP%]{text-align:center}.main_container[_ngcontent-%COMP%] .banner_content[_ngcontent-%COMP%] .main_title[_ngcontent-%COMP%]{color:#fff;font-size:4rem;font-weight:700;font-family:coconfont-regular;margin:0 0 1.5rem;letter-spacing:1.5px}.main_container[_ngcontent-%COMP%] .banner_content[_ngcontent-%COMP%] .subheading_main[_ngcontent-%COMP%]{color:#fff;font-size:1.55rem;font-weight:400;margin:0;font-family:Poppins,sans-serif;letter-spacing:1.5px;text-transform:capitalize}.main_container[_ngcontent-%COMP%] .banner_content[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{display:flex;margin:auto}.timer-content[_ngcontent-%COMP%]{position:fixed;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);width:100%;min-height:100vh;background:linear-gradient(rgba(0,0,0,.56),rgba(0,0,0,.72)) 50% 50%/cover,url(5.eb6f39132c456fbe5854.jpg) 50% 50%/cover;display:flex;justify-content:center;align-items:center;transition:all 2s;visibility:visible;opacity:1;transition:opacity 2s;z-index:99}.timer-content.hide_it[_ngcontent-%COMP%]{opacity:.5;visibility:hidden}.headtext[_ngcontent-%COMP%]:before{content:"5";-webkit-animation:4s linear infinite head;animation:4s linear infinite head;color:#fff;font-size:15.25rem;font-weight:700;font-family:coconfont-regular}@-webkit-keyframes head{0%{content:"5"}25%{content:"4"}50%{content:"3"}75%{content:"2"}100%{content:"1"}}@keyframes head{0%{content:"5"}25%{content:"4"}50%{content:"3"}75%{content:"2"}100%{content:"1"}}.i_main_container[_ngcontent-%COMP%] .container[_ngcontent-%COMP%]{-ms-scroll-snap-type:mandatory;scroll-snap-type:mandatory;-ms-scroll-snap-points-y:repeat(300px);scroll-snap-points-y:repeat(300px);-ms-scroll-snap-type:y mandatory;scroll-snap-type:y mandatory}.i_main_container[_ngcontent-%COMP%] .child[_ngcontent-%COMP%]{scroll-snap-align:start;min-height:50vh;border-bottom:5px solid #7a4d4d}.i_main_container[_ngcontent-%COMP%]{width:0%;min-height:100vh;transition:all 2s;overflow:hidden;background:#f8fbfd}.i_crises_container[_ngcontent-%COMP%]{width:100%;min-height:100vh;background:linear-gradient(to bottom,#ffffffc4,#ffffff00),url(white.3a713415cd191fa215c3.jpg);position:relative;display:flex;justify-content:center;align-items:center}.i_crises_container[_ngcontent-%COMP%] .i_criese_list[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;width:100%;height:100%;position:relative}.i_crises_container[_ngcontent-%COMP%] .i_criese_list[_ngcontent-%COMP%] .i_comoon[_ngcontent-%COMP%]{margin:0 15px;height:100%;width:100%}.i_crises_container[_ngcontent-%COMP%] .i_criese_list[_ngcontent-%COMP%] .i_1[_ngcontent-%COMP%]{width:33%;display:flex;justify-content:flex-end;align-items:flex-end;min-height:80vh;flex-direction:column}.i_crises_container[_ngcontent-%COMP%] .i_criese_list[_ngcontent-%COMP%] .i_2[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;min-height:80vh;background:linear-gradient(159deg,#fff,#e53f20ad),url(huwaei.d82f8ea5cf6f530fbcec.jpg);border-radius:47px;box-shadow:0 22px 66px #edbeb9;width:100%;position:relative}.i_crises_container[_ngcontent-%COMP%] .i_criese_list[_ngcontent-%COMP%] .i_3[_ngcontent-%COMP%]{width:33%;display:flex;justify-content:flex-end;align-items:flex-start;min-height:80vh}.i_crises_container[_ngcontent-%COMP%] .i_criese_list[_ngcontent-%COMP%] .i_img[_ngcontent-%COMP%]{border-radius:15px;box-shadow:0 0 22px #b5c1bf;width:100%}.i_crises_container[_ngcontent-%COMP%] .i_criese_list[_ngcontent-%COMP%] .list_sublist[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;flex-direction:column}.text_crises[_ngcontent-%COMP%]{color:#000;font-size:3.25rem;font-weight:700;font-family:coconfont-regular;margin:0 0 1.5rem;letter-spacing:1.5px;position:absolute;top:0;left:-32%;display:flex;align-items:center;justify-content:center}.text_crises[_ngcontent-%COMP%] .heighlighted[_ngcontent-%COMP%]{font-size:7rem;color:#fff;text-shadow:-1px -1px 0 #000,1px -1px 0 #000,-1px 1px 0 #000,1px 1px 0 #ff000f;margin-right:30px}.i_face_fail[_ngcontent-%COMP%]{font-size:33px;line-height:40px;color:#020814;letter-spacing:-.04em;font-family:coconfont-regular;margin:20px 0}.i-details_crises_content[_ngcontent-%COMP%]{font-size:.85rem;color:#265381;text-align:left;margin:0;word-wrap:break-word;letter-spacing:1px;font-weight:400}']],data:{}});function Cp(e){return qi(0,[(e()(),Ai(0,0,null,null,22,"section",[],null,null,null,null,null)),(e()(),Ai(1,0,null,null,21,"div",[["class","i_crises_container"]],null,null,null,null,null)),(e()(),Ai(2,0,null,null,20,"div",[["class","i_criese_list"]],null,null,null,null,null)),(e()(),Ai(3,0,null,null,3,"div",[["class","i_1 i_comoon"]],null,null,null,null,null)),(e()(),Ai(4,0,null,null,1,"div",[["class","i_face_fail"]],null,null,null,null,null)),(e()(),zi(-1,null,["Facebook PR Fail"])),(e()(),Ai(6,0,null,null,0,"img",[["class","i_img"],["src","assets/failbook.jpg"]],null,null,null,null,null)),(e()(),Ai(7,0,null,null,8,"div",[["class","i_2 i_comoon"]],null,null,null,null,null)),(e()(),Ai(8,0,null,null,6,"div",[["class","text_crises"]],null,null,null,null,null)),(e()(),Ai(9,0,null,null,1,"div",[["class","heighlighted"]],null,null,null,null,null)),(e()(),zi(-1,null,["Crises"])),(e()(),Ai(11,0,null,null,3,"div",[["class","else_text"]],null,null,null,null,null)),(e()(),zi(-1,null,[" Reflecting the "])),(e()(),Ai(13,0,null,null,0,"br",[],null,null,null,null,null)),(e()(),zi(-1,null,["increasing corporate "])),(e()(),Ai(15,0,null,null,0,"div",[["class","heading_crises"]],null,null,null,null,null)),(e()(),Ai(16,0,null,null,6,"div",[["class","i_3 i_comoon"]],null,null,null,null,null)),(e()(),Ai(17,0,null,null,5,"div",[["class","list_sublist"]],null,null,null,null,null)),(e()(),Ai(18,0,null,null,0,"img",[["class","i_img"],["src","assets/nishan.jpg"]],null,null,null,null,null)),(e()(),Ai(19,0,null,null,1,"div",[["class","i_face_fail"]],null,null,null,null,null)),(e()(),zi(-1,null,["Nissan's Boss Gets Arrested"])),(e()(),Ai(21,0,null,null,1,"div",[["class","i-details_crises_content"]],null,null,null,null,null)),(e()(),zi(-1,null,[" Even by Japan's storied standards of corporate malfeasance, the scandal at Nissan Motor deserves special mention \u2014 combining, as it does, financial wrongdoing, political intrigue and hubris to almost unparalleled effect. Now relegated to a tiny cell in Tokyo, "])),(e()(),Ai(23,0,null,null,15,"section",[],null,null,null,null,null)),(e()(),Ai(24,0,null,null,14,"div",[["class","app_main_container"]],null,null,null,null,null)),(e()(),Ai(25,0,null,null,10,"div",[["class","main_container"],["id","banner_main"]],null,null,null,null,null)),(e()(),Ai(26,0,null,null,7,"div",[["class","banner_content"]],null,null,null,null,null)),(e()(),Ai(27,0,null,null,0,"img",[["src","https://static.wixstatic.com/media/68ee8b_bfb661bbcfda44528c5e6cf3f21fb2b2~mv2.jpg/v1/fill/w_92,h_120,al_c,q_80,usm_0.66_1.00_0.01/68ee8b_bfb661bbcfda44528c5e6cf3f21fb2b2~mv2.webp"]],null,null,null,null,null)),(e()(),Ai(28,0,null,null,1,"div",[["class","main_title"]],null,null,null,null,null)),(e()(),zi(-1,null,["Crisis Simulation System "])),(e()(),Ai(30,0,null,null,1,"div",[["class","subheading_main"]],null,null,null,null,null)),(e()(),zi(-1,null,["Need to check your crisis resilience? "])),(e()(),Ai(32,0,null,null,1,"div",[["class","subheading_main"]],null,null,null,null,null)),(e()(),zi(-1,null,["We can do that. Fast. "])),(e()(),Ai(34,0,null,null,1,"div",[["class","timer-content"],["id","timer"]],null,null,null,null,null)),(e()(),Ai(35,0,null,null,0,"div",[["class","headtext"],["id","text1"]],null,null,null,null,null)),(e()(),Ai(36,0,null,null,2,"div",[["class","i_main_container"],["id","details_container"]],null,null,null,null,null)),(e()(),Ai(37,0,null,null,1,"app-feature",[],null,null,null,mp,vp)),io(38,114688,null,0,gp,[],null,null),(e()(),Ai(39,0,null,null,2,"section",[],null,null,null,null,null)),(e()(),Ai(40,0,null,null,1,"app-crises",[],null,null,null,bp,_p)),io(41,114688,null,0,yp,[],null,null),(e()(),Ai(42,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),io(43,212992,null,0,Bf,[Ff,In,Xt,[8,null],Pn],null,null)],function(e,t){e(t,38,0),e(t,41,0),e(t,43,0)},null)}function xp(e){return qi(0,[(e()(),Ai(0,0,null,null,1,"app-root",[],null,null,null,Cp,wp)),io(1,114688,null,0,$a,[],null,null)],function(e,t){e(t,1,0)},null)}var Sp=Dr("app-root",$a,xp,{},{},[]),Ep=function(){return function(){}}(),Pp=Ka(Ja,[$a],function(e){return function(e){for(var t={},n=[],r=!1,o=0;o<e.length;o++){var i=e[o];i.token===Wt&&!0===i.value&&(r=!0),1073741824&i.flags&&n.push(i.token),i.index=o,t[Qn(i.token)]=i}return{factory:null,providersByKey:t,providers:e,modules:n,isRoot:r}}([Or(512,Xt,en,[[8,[hp,Sp]],[3,Xt],nn]),Or(5120,Ei,Ti,[[3,Ei]]),Or(4608,pu,du,[Ei,[2,fu]]),Or(5120,bo,ki,[Ko]),Or(5120,Po,Oo,[]),Or(5120,Sn,Pi,[]),Or(5120,En,Oi,[]),Or(4608,cs,fs,[gu]),Or(6144,Mt,null,[cs]),Or(4608,rs,is,[]),Or(5120,Rl,function(e,t,n,r,o,i,a,u){return[new ts(e,t,n),new ss(r),new as(o,i,a,u)]},[gu,Ko,Ro,gu,gu,rs,Mo,[2,os]]),Or(4608,Al,Al,[Rl,Ko]),Or(135680,Nl,Nl,[gu]),Or(4608,zl,zl,[Al,Nl,Po]),Or(6144,sn,null,[zl]),Or(6144,Il,null,[Nl]),Or(4608,ri,ri,[Ko]),Or(5120,kc,ap,[Hf]),Or(4608,Wf,Wf,[]),Or(6144,Zf,null,[Wf]),Or(135680,Qf,Qf,[Hf,xo,Ho,Ve,Zf]),Or(4608,Gf,Gf,[]),Or(5120,Kf,tp,[Hf,mu,Yf]),Or(5120,cp,sp,[up]),Or(5120,Ao,function(e){return[e]},[cp]),Or(1073742336,hu,hu,[]),Or(1024,at,_s,[]),Or(1024,ui,function(){return[Xf()]},[]),Or(512,up,up,[Ve]),Or(1024,So,function(e,t){return[(n=e,Ol("probe",kl),Ol("coreTokens",i({},Tl,(n||[]).reduce(function(e,t){return e[t.name]=t.token,e},{}))),function(){return kl}),lp(t)];var n},[[2,ui],up]),Or(512,Eo,Eo,[[2,So]]),Or(131584,pi,pi,[Ko,Mo,Ve,at,Xt,Eo]),Or(1073742336,Ri,Ri,[pi]),Or(1073742336,bs,bs,[[3,bs]]),Or(1024,Jf,rp,[[3,Hf]]),Or(512,uc,lc,[]),Or(512,Ff,Ff,[]),Or(256,Yf,{},[]),Or(1024,tu,np,[Xa,[2,nu],Yf]),Or(512,ru,ru,[tu,Xa]),Or(512,Ho,Ho,[]),Or(512,xo,vi,[Ho,[2,hi]]),Or(1024,If,function(){return[[]]},[]),Or(1024,Hf,ip,[pi,uc,Ff,ru,Ve,xo,Ho,If,Yf,[2,jf],[2,Af]]),Or(1073742336,ep,ep,[[2,Jf],[2,Hf]]),Or(1073742336,Ep,Ep,[]),Or(1073742336,Ja,Ja,[]),Or(256,Wt,!0,[])])});(function(){if(lt)throw new Error("Cannot enable prod mode after platform setup.");ut=!1})(),ys().bootstrapModuleFactory(Pp).catch(function(e){return console.error(e)})},zn8P:function(e,t){function n(e){return Promise.resolve().then(function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t})}n.keys=function(){return[]},n.resolve=n,e.exports=n,n.id="zn8P"}},[[0,0]]]);