(window.webpackJsonpFooter=window.webpackJsonpFooter||[]).push([[1],{0:function(e,t,n){e.exports=n("zUnb")},zUnb:function(e,t,n){"use strict";function r(e){return(r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function i(e,t,n){return(i="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var i=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=r(e)););return e}(e,t);if(i){var o=Object.getOwnPropertyDescriptor(i,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(e,t,n){return t&&s(e.prototype,t),n&&s(e,n),e}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}function c(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}function f(e){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function h(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d(e,t){return!t||"object"!==f(t)&&"function"!=typeof t?h(e):t}function v(e){var t=c();return function(){var n,i=r(e);if(t){var o=r(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return d(this,n)}}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function p(e,t){if(e){if("string"==typeof e)return y(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?y(e,t):void 0}}function m(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=p(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,a=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return s=e.done,e},e:function(e){a=!0,o=e},f:function(){try{s||null==n.return||n.return()}finally{if(a)throw o}}}}function g(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,i=!1,o=void 0;try{for(var s,a=e[Symbol.iterator]();!(r=(s=a.next()).done)&&(n.push(s.value),!t||n.length!==t);r=!0);}catch(u){i=!0,o=u}finally{try{r||null==a.return||a.return()}finally{if(i)throw o}}return n}}(e,t)||p(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _(e){return function(e){if(Array.isArray(e))return y(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||p(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function k(e,t,n){return(k=c()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(Function.bind.apply(e,r));return n&&u(i,n.prototype),i}).apply(null,arguments)}function w(e){var t="function"==typeof Map?new Map:void 0;return(w=function(e){if(null===e||-1===Function.toString.call(e).indexOf("[native code]"))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return k(e,arguments,r(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),u(n,e)})(e)}n.r(t);var b=function(){return Array.isArray||function(e){return e&&"number"==typeof e.length}}();function E(e){return null!==e&&"object"==typeof e}function S(e){return"function"==typeof e}var T=function(){function e(e){return Error.call(this),this.message=e?"".concat(e.length," errors occurred during unsubscription:\n").concat(e.map(function(e,t){return"".concat(t+1,") ").concat(e.toString())}).join("\n  ")):"",this.name="UnsubscriptionError",this.errors=e,this}return e.prototype=Object.create(Error.prototype),e}(),C=function(){var e=function(){function e(t){o(this,e),this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._ctorUnsubscribe=!0,this._unsubscribe=t)}return a(e,[{key:"unsubscribe",value:function(){var t;if(!this.closed){var n=this._parentOrParents,r=this._ctorUnsubscribe,i=this._unsubscribe,o=this._subscriptions;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof e)n.remove(this);else if(null!==n)for(var s=0;s<n.length;++s)n[s].remove(this);if(S(i)){r&&(this._unsubscribe=void 0);try{i.call(this)}catch(c){t=c instanceof T?x(c.errors):[c]}}if(b(o))for(var a=-1,u=o.length;++a<u;){var l=o[a];if(E(l))try{l.unsubscribe()}catch(c){t=t||[],c instanceof T?t=t.concat(x(c.errors)):t.push(c)}}if(t)throw new T(t)}}},{key:"add",value:function(t){var n=t;if(!t)return e.EMPTY;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:throw new Error("unrecognized teardown "+t+" added to Subscription.")}var i=n._parentOrParents;if(null===i)n._parentOrParents=this;else if(i instanceof e){if(i===this)return n;n._parentOrParents=[i,this]}else{if(-1!==i.indexOf(this))return n;i.push(this)}var o=this._subscriptions;return null===o?this._subscriptions=[n]:o.push(n),n}},{key:"remove",value:function(e){var t=this._subscriptions;if(t){var n=t.indexOf(e);-1!==n&&t.splice(n,1)}}}]),e}();return e.EMPTY=function(e){return e.closed=!0,e}(new e),e}();function x(e){return e.reduce(function(e,t){return e.concat(t instanceof T?t.errors:t)},[])}var A=!1,I={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){if(e){var t=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+t.stack)}else A&&console.log("RxJS: Back to a better error behavior. Thank you. <3");A=e},get useDeprecatedSynchronousErrorHandling(){return A}};function O(e){setTimeout(function(){throw e},0)}var D={closed:!0,next:function(e){},error:function(e){if(I.useDeprecatedSynchronousErrorHandling)throw e;O(e)},complete:function(){}},P=function(){return"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()}(),N=function(e){l(n,e);var t=v(n);function n(e,r,i){var s;switch(o(this,n),(s=t.call(this)).syncErrorValue=null,s.syncErrorThrown=!1,s.syncErrorThrowable=!1,s.isStopped=!1,arguments.length){case 0:s.destination=D;break;case 1:if(!e){s.destination=D;break}if("object"==typeof e){e instanceof n?(s.syncErrorThrowable=e.syncErrorThrowable,s.destination=e,e.add(h(s))):(s.syncErrorThrowable=!0,s.destination=new F(h(s),e));break}default:s.syncErrorThrowable=!0,s.destination=new F(h(s),e,r,i)}return s}return a(n,[{key:P,value:function(){return this}},{key:"next",value:function(e){this.isStopped||this._next(e)}},{key:"error",value:function(e){this.isStopped||(this.isStopped=!0,this._error(e))}},{key:"complete",value:function(){this.isStopped||(this.isStopped=!0,this._complete())}},{key:"unsubscribe",value:function(){this.closed||(this.isStopped=!0,i(r(n.prototype),"unsubscribe",this).call(this))}},{key:"_next",value:function(e){this.destination.next(e)}},{key:"_error",value:function(e){this.destination.error(e),this.unsubscribe()}},{key:"_complete",value:function(){this.destination.complete(),this.unsubscribe()}},{key:"_unsubscribeAndRecycle",value:function(){var e=this._parentOrParents;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=e,this}}],[{key:"create",value:function(e,t,r){var i=new n(e,t,r);return i.syncErrorThrowable=!1,i}}]),n}(C),F=function(e){l(n,e);var t=v(n);function n(e,r,i,s){var a,u;o(this,n),(a=t.call(this))._parentSubscriber=e;var l=h(a);return S(r)?u=r:r&&(u=r.next,i=r.error,s=r.complete,r!==D&&(S((l=Object.create(r)).unsubscribe)&&a.add(l.unsubscribe.bind(l)),l.unsubscribe=a.unsubscribe.bind(h(a)))),a._context=l,a._next=u,a._error=i,a._complete=s,a}return a(n,[{key:"next",value:function(e){if(!this.isStopped&&this._next){var t=this._parentSubscriber;I.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}}},{key:"error",value:function(e){if(!this.isStopped){var t=this._parentSubscriber,n=I.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):O(e),this.unsubscribe();else{if(this.unsubscribe(),n)throw e;O(e)}}}},{key:"complete",value:function(){var e=this;if(!this.isStopped){var t=this._parentSubscriber;if(this._complete){var n=function(){return e._complete.call(e._context)};I.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,n),this.unsubscribe()):(this.__tryOrUnsub(n),this.unsubscribe())}else this.unsubscribe()}}},{key:"__tryOrUnsub",value:function(e,t){try{e.call(this._context,t)}catch(n){if(this.unsubscribe(),I.useDeprecatedSynchronousErrorHandling)throw n;O(n)}}},{key:"__tryOrSetError",value:function(e,t,n){if(!I.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,n)}catch(r){return I.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=r,e.syncErrorThrown=!0,!0):(O(r),!0)}return!1}},{key:"_unsubscribe",value:function(){var e=this._parentSubscriber;this._context=null,this._parentSubscriber=null,e.unsubscribe()}}]),n}(N),R=function(){return"function"==typeof Symbol&&Symbol.observable||"@@observable"}();function j(e){return e}function M(e){return 0===e.length?j:1===e.length?e[0]:function(t){return e.reduce(function(e,t){return t(e)},t)}}var V=function(){var e=function(){function e(t){o(this,e),this._isScalar=!1,t&&(this._subscribe=t)}return a(e,[{key:"lift",value:function(t){var n=new e;return n.source=this,n.operator=t,n}},{key:"subscribe",value:function(e,t,n){var r=this.operator,i=function(e,t,n){if(e){if(e instanceof N)return e;if(e[P])return e[P]()}return e||t||n?new N(e,t,n):new N(D)}(e,t,n);if(i.add(r?r.call(i,this.source):this.source||I.useDeprecatedSynchronousErrorHandling&&!i.syncErrorThrowable?this._subscribe(i):this._trySubscribe(i)),I.useDeprecatedSynchronousErrorHandling&&i.syncErrorThrowable&&(i.syncErrorThrowable=!1,i.syncErrorThrown))throw i.syncErrorValue;return i}},{key:"_trySubscribe",value:function(e){try{return this._subscribe(e)}catch(t){I.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 N?t:null}return!0}(e)?e.error(t):console.warn(t)}}},{key:"forEach",value:function(e,t){var n=this;return new(t=L(t))(function(t,r){var i;i=n.subscribe(function(t){try{e(t)}catch(n){r(n),i&&i.unsubscribe()}},r,t)})}},{key:"_subscribe",value:function(e){var t=this.source;return t&&t.subscribe(e)}},{key:R,value:function(){return this}},{key:"pipe",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?this:M(t)(this)}},{key:"toPromise",value:function(e){var t=this;return new(e=L(e))(function(e,n){var r;t.subscribe(function(e){return r=e},function(e){return n(e)},function(){return e(r)})})}}]),e}();return e.create=function(t){return new e(t)},e}();function L(e){if(e||(e=I.Promise||Promise),!e)throw new Error("no Promise impl found");return e}var H=function(){function e(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return e.prototype=Object.create(Error.prototype),e}(),U=function(e){l(n,e);var t=v(n);function n(e,r){var i;return o(this,n),(i=t.call(this)).subject=e,i.subscriber=r,i.closed=!1,i}return a(n,[{key:"unsubscribe",value: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)}}}}]),n}(C),B=function(e){l(n,e);var t=v(n);function n(e){var r;return o(this,n),(r=t.call(this,e)).destination=e,r}return a(n)}(N),q=function(){var e=function(e){l(n,e);var t=v(n);function n(){var e;return o(this,n),(e=t.call(this)).observers=[],e.closed=!1,e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return a(n,[{key:P,value:function(){return new B(this)}},{key:"lift",value:function(e){var t=new Q(this,this);return t.operator=e,t}},{key:"next",value:function(e){if(this.closed)throw new H;if(!this.isStopped)for(var t=this.observers,n=t.length,r=t.slice(),i=0;i<n;i++)r[i].next(e)}},{key:"error",value:function(e){if(this.closed)throw new H;this.hasError=!0,this.thrownError=e,this.isStopped=!0;for(var t=this.observers,n=t.length,r=t.slice(),i=0;i<n;i++)r[i].error(e);this.observers.length=0}},{key:"complete",value:function(){if(this.closed)throw new H;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}},{key:"unsubscribe",value:function(){this.isStopped=!0,this.closed=!0,this.observers=null}},{key:"_trySubscribe",value:function(e){if(this.closed)throw new H;return i(r(n.prototype),"_trySubscribe",this).call(this,e)}},{key:"_subscribe",value:function(e){if(this.closed)throw new H;return this.hasError?(e.error(this.thrownError),C.EMPTY):this.isStopped?(e.complete(),C.EMPTY):(this.observers.push(e),new U(this,e))}},{key:"asObservable",value:function(){var e=new V;return e.source=this,e}}]),n}(V);return e.create=function(e,t){return new Q(e,t)},e}(),Q=function(e){l(n,e);var t=v(n);function n(e,r){var i;return o(this,n),(i=t.call(this)).destination=e,i.source=r,i}return a(n,[{key:"next",value:function(e){var t=this.destination;t&&t.next&&t.next(e)}},{key:"error",value:function(e){var t=this.destination;t&&t.error&&this.destination.error(e)}},{key:"complete",value:function(){var e=this.destination;e&&e.complete&&this.destination.complete()}},{key:"_subscribe",value:function(e){return this.source?this.source.subscribe(e):C.EMPTY}}]),n}(q);function z(e){return e&&"function"==typeof e.schedule}function K(e,t){return function(n){if("function"!=typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new G(e,t))}}var G=function(){function e(t,n){o(this,e),this.project=t,this.thisArg=n}return a(e,[{key:"call",value:function(e,t){return t.subscribe(new Z(e,this.project,this.thisArg))}}]),e}(),Z=function(e){l(n,e);var t=v(n);function n(e,r,i){var s;return o(this,n),(s=t.call(this,e)).project=r,s.count=0,s.thisArg=i||h(s),s}return a(n,[{key:"_next",value: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)}}]),n}(N),W=function(e){return function(t){for(var n=0,r=e.length;n<r&&!t.closed;n++)t.next(e[n]);t.complete()}};function $(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}var Y=$(),J=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e};function X(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}var ee=function(e){if(e&&"function"==typeof e[R])return r=e,function(e){var t=r[R]();if("function"!=typeof t.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return t.subscribe(e)};if(J(e))return W(e);if(X(e))return n=e,function(e){return n.then(function(t){e.closed||(e.next(t),e.complete())},function(t){return e.error(t)}).then(null,O),e};if(e&&"function"==typeof e[Y])return t=e,function(e){for(var n=t[Y]();;){var r=void 0;try{r=n.next()}catch(i){return e.error(i),e}if(r.done){e.complete();break}if(e.next(r.value),e.closed)break}return"function"==typeof n.return&&e.add(function(){n.return&&n.return()}),e};var t,n,r,i=E(e)?"an invalid object":"'".concat(e,"'"),o="You provided ".concat(i," where a stream was expected.")+" You can provide an Observable, Promise, Array, or Iterable.";throw new TypeError(o)};function te(e,t){return new V(function(n){var r=new C,i=0;return r.add(t.schedule(function(){i!==e.length?(n.next(e[i++]),n.closed||r.add(this.schedule())):n.complete()})),r})}function ne(e,t){return t?function(e,t){if(null!=e){if(function(e){return e&&"function"==typeof e[R]}(e))return function(e,t){return new V(function(n){var r=new C;return r.add(t.schedule(function(){var i=e[R]();r.add(i.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})}(e,t);if(X(e))return function(e,t){return new V(function(n){var r=new C;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})}(e,t);if(J(e))return te(e,t);if(function(e){return e&&"function"==typeof e[Y]}(e)||"string"==typeof e)return function(e,t){if(!e)throw new Error("Iterable cannot be null");return new V(function(n){var r,i=new C;return i.add(function(){r&&"function"==typeof r.return&&r.return()}),i.add(t.schedule(function(){r=e[Y](),i.add(t.schedule(function(){if(!n.closed){var e,t;try{var i=r.next();e=i.value,t=i.done}catch(o){return void n.error(o)}t?n.complete():(n.next(e),this.schedule())}}))})),i})}(e,t)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}(e,t):e instanceof V?e:new V(ee(e))}var re=function(e){l(n,e);var t=v(n);function n(e){var r;return o(this,n),(r=t.call(this)).parent=e,r}return a(n,[{key:"_next",value:function(e){this.parent.notifyNext(e)}},{key:"_error",value:function(e){this.parent.notifyError(e),this.unsubscribe()}},{key:"_complete",value:function(){this.parent.notifyComplete(),this.unsubscribe()}}]),n}(N),ie=function(e){l(n,e);var t=v(n);function n(){return o(this,n),t.apply(this,arguments)}return a(n,[{key:"notifyNext",value:function(e){this.destination.next(e)}},{key:"notifyError",value:function(e){this.destination.error(e)}},{key:"notifyComplete",value:function(){this.destination.complete()}}]),n}(N);function oe(e,t){if(!t.closed){if(e instanceof V)return e.subscribe(t);var n;try{n=ee(e)(t)}catch(r){t.error(r)}return n}}function se(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return"function"==typeof t?function(r){return r.pipe(se(function(n,r){return ne(e(n,r)).pipe(K(function(e,i){return t(n,e,r,i)}))},n))}:("number"==typeof t&&(n=t),function(t){return t.lift(new ae(e,n))})}var ae=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY;o(this,e),this.project=t,this.concurrent=n}return a(e,[{key:"call",value:function(e,t){return t.subscribe(new ue(e,this.project,this.concurrent))}}]),e}(),ue=function(e){l(n,e);var t=v(n);function n(e,r){var i,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return o(this,n),(i=t.call(this,e)).project=r,i.concurrent=s,i.hasCompleted=!1,i.buffer=[],i.active=0,i.index=0,i}return a(n,[{key:"_next",value:function(e){this.active<this.concurrent?this._tryNext(e):this.buffer.push(e)}},{key:"_tryNext",value: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)}},{key:"_innerSub",value:function(e){var t=new re(this),n=this.destination;n.add(t);var r=oe(e,t);r!==t&&n.add(r)}},{key:"_complete",value:function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}},{key:"notifyNext",value:function(e){this.destination.next(e)}},{key:"notifyComplete",value:function(){var e=this.buffer;this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}]),n}(ie);function le(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.POSITIVE_INFINITY;return se(j,e)}function ce(e,t){return t?te(e,t):new V(W(e))}function fe(){return function(e){return e.lift(new he(e))}}var he=function(){function e(t){o(this,e),this.connectable=t}return a(e,[{key:"call",value:function(e,t){var n=this.connectable;n._refCount++;var r=new de(e,n),i=t.subscribe(r);return r.closed||(r.connection=n.connect()),i}}]),e}(),de=function(e){l(n,e);var t=v(n);function n(e,r){var i;return o(this,n),(i=t.call(this,e)).connectable=r,i}return a(n,[{key:"_unsubscribe",value: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}}]),n}(N),ve=function(e){l(n,e);var t=v(n);function n(e,r){var i;return o(this,n),(i=t.call(this)).source=e,i.subjectFactory=r,i._refCount=0,i._isComplete=!1,i}return a(n,[{key:"_subscribe",value:function(e){return this.getSubject().subscribe(e)}},{key:"getSubject",value:function(){var e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject}},{key:"connect",value:function(){var e=this._connection;return e||(this._isComplete=!1,(e=this._connection=new C).add(this.source.subscribe(new pe(this.getSubject(),this))),e.closed&&(this._connection=null,e=C.EMPTY)),e}},{key:"refCount",value:function(){return fe()(this)}}]),n}(V),ye=function(){var e=ve.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:e._subscribe},_isComplete:{value:e._isComplete,writable:!0},getSubject:{value:e.getSubject},connect:{value:e.connect},refCount:{value:e.refCount}}}(),pe=function(e){l(n,e);var t=v(n);function n(e,r){var i;return o(this,n),(i=t.call(this,e)).connectable=r,i}return a(n,[{key:"_error",value:function(e){this._unsubscribe(),i(r(n.prototype),"_error",this).call(this,e)}},{key:"_complete",value:function(){this.connectable._isComplete=!0,this._unsubscribe(),i(r(n.prototype),"_complete",this).call(this)}},{key:"_unsubscribe",value: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()}}}]),n}(B);function me(){return new q}function ge(e){for(var t in e)if(e[t]===ge)return t;throw Error("Could not find renamed property on target object.")}function _e(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(_e).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return"".concat(e.overriddenName);if(e.name)return"".concat(e.name);var t=e.toString();if(null==t)return""+t;var n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function ke(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}var we=ge({__forward_ref__:ge});function be(e){return e.__forward_ref__=be,e.toString=function(){return _e(this())},e}function Ee(e){return"function"==typeof(t=e)&&t.hasOwnProperty(we)&&t.__forward_ref__===be?e():e;var t}var Se=function(e){l(n,e);var t=v(n);function n(e,r){var i;return o(this,n),(i=t.call(this,function(e,t){var n=e?"NG0".concat(e,": "):"";return"".concat(n).concat(t)}(e,r))).code=e,i}return a(n)}(w(Error));function Te(e){return"string"==typeof e?e:null==e?"":String(e)}function Ce(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Te(e)}function xe(e,t){var n=t?" in ".concat(t):"";throw new Se("201","No provider for ".concat(Ce(e)," found").concat(n))}function Ae(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Ie(e){return{providers:e.providers||[],imports:e.imports||[]}}function Oe(e){return De(e,Fe)||De(e,je)}function De(e,t){return e.hasOwnProperty(t)?e[t]:null}function Pe(e){return e&&(e.hasOwnProperty(Re)||e.hasOwnProperty(Me))?e[Re]:null}var Ne,Fe=ge({"\u0275prov":ge}),Re=ge({"\u0275inj":ge}),je=ge({ngInjectableDef:ge}),Me=ge({ngInjectorDef:ge}),Ve=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 Le(){return Ne}function He(e){var t=Ne;return Ne=e,t}function Ue(e,t,n){var r=Oe(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&Ve.Optional?null:void 0!==t?t:void xe(_e(e),"Injector")}function Be(e){return{toString:e}.toString()}var qe=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}({}),Qe=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}({}),ze="undefined"!=typeof globalThis&&globalThis,Ke="undefined"!=typeof window&&window,Ge="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Ze="undefined"!=typeof global&&global,We=ze||Ze||Ke||Ge,$e={},Ye=[],Je=ge({"\u0275cmp":ge}),Xe=ge({"\u0275dir":ge}),et=ge({"\u0275pipe":ge}),tt=ge({"\u0275mod":ge}),nt=ge({"\u0275loc":ge}),rt=ge({"\u0275fac":ge}),it=ge({__NG_ELEMENT_ID__:ge}),ot=0;function st(e){return Be(function(){var t={},n={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===qe.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||Ye,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||Qe.Emulated,id:"c",styles:e.styles||Ye,_:null,setInput:null,schemas:e.schemas||null,tView:null},r=e.directives,i=e.features,o=e.pipes;return n.id+=ot++,n.inputs=ft(e.inputs,t),n.outputs=ft(e.outputs),i&&i.forEach(function(e){return e(n)}),n.directiveDefs=r?function(){return("function"==typeof r?r():r).map(at)}:null,n.pipeDefs=o?function(){return("function"==typeof o?o():o).map(ut)}:null,n})}function at(e){return dt(e)||function(e){return e[Xe]||null}(e)}function ut(e){return function(e){return e[et]||null}(e)}var lt={};function ct(e){var t={type:e.type,bootstrap:e.bootstrap||Ye,declarations:e.declarations||Ye,imports:e.imports||Ye,exports:e.exports||Ye,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&Be(function(){lt[e.id]=e.type}),t}function ft(e,t){if(null==e)return $e;var n={};for(var r in e)if(e.hasOwnProperty(r)){var i=e[r],o=i;Array.isArray(i)&&(o=i[1],i=i[0]),n[i]=r,t&&(t[i]=o)}return n}var ht=st;function dt(e){return e[Je]||null}function vt(e,t){var n=e[tt]||null;if(!n&&!0===t)throw new Error("Type ".concat(_e(e)," does not have '\u0275mod' property."));return n}var yt=20,pt=10;function mt(e){return Array.isArray(e)&&"object"==typeof e[1]}function gt(e){return Array.isArray(e)&&!0===e[1]}function _t(e){return 0!=(8&e.flags)}function kt(e){return 2==(2&e.flags)}function wt(e){return 1==(1&e.flags)}function bt(e){return null!==e.template}function Et(e,t){return e.hasOwnProperty(rt)?e[rt]:null}var St=function(){function e(t,n,r){o(this,e),this.previousValue=t,this.currentValue=n,this.firstChange=r}return a(e,[{key:"isFirstChange",value:function(){return this.firstChange}}]),e}();function Tt(){return Ct}function Ct(e){return e.type.prototype.ngOnChanges&&(e.setInput=At),xt}function xt(){var e=It(this),t=null==e?void 0:e.current;if(t){var n=e.previous;if(n===$e)e.previous=t;else for(var r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function At(e,t,n,r){var i=It(e)||function(e,t){return e.__ngSimpleChanges__=t}(e,{previous:$e,current:null}),o=i.current||(i.current={}),s=i.previous,a=this.declaredInputs[n],u=s[a];o[a]=new St(u&&u.currentValue,t,s===$e),e[r]=t}function It(e){return e.__ngSimpleChanges__||null}Tt.ngInherit=!0;var Ot=void 0;function Dt(e){return!!e.listen}var Pt={createRenderer:function(e,t){return void 0!==Ot?Ot:"undefined"!=typeof document?document:void 0}};function Nt(e){for(;Array.isArray(e);)e=e[0];return e}function Ft(e,t){return Nt(t[e.index])}function Rt(e,t){return e.data[t]}function jt(e,t){var n=t[e];return mt(n)?n:n[0]}function Mt(e){var t=function(e){return e.__ngContext__||null}(e);return t?Array.isArray(t)?t:t.lView:null}function Vt(e){return 128==(128&e[2])}function Lt(e,t){return null==t?null:e[t]}function Ht(e){e[18]=0}function Ut(e,t){e[5]+=t;for(var n=e,r=e[3];null!==r&&(1===t&&1===n[5]||-1===t&&0===n[5]);)r[5]+=t,n=r,r=r[3]}var Bt={lFrame:un(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function qt(){return Bt.bindingsEnabled}function Qt(){return Bt.lFrame.lView}function zt(){return Bt.lFrame.tView}function Kt(e){Bt.lFrame.contextLView=e}function Gt(){for(var e=Zt();null!==e&&64===e.type;)e=e.parent;return e}function Zt(){return Bt.lFrame.currentTNode}function Wt(e,t){var n=Bt.lFrame;n.currentTNode=e,n.isParent=t}function $t(){return Bt.lFrame.isParent}function Yt(){Bt.lFrame.isParent=!1}function Jt(){return Bt.isInCheckNoChangesMode}function Xt(e){Bt.isInCheckNoChangesMode=e}function en(){return Bt.lFrame.bindingIndex++}function tn(e){Bt.lFrame.currentDirectiveIndex=e}function nn(e){Bt.lFrame.currentQueryIndex=e}function rn(e){var t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function on(e,t,n){if(n&Ve.SkipSelf){for(var r=t,i=e;!(null!==(r=r.parent)||n&Ve.Host||null===(r=rn(i))||(i=i[15],10&r.type)););if(null===r)return!1;t=r,e=i}var o=Bt.lFrame=an();return o.currentTNode=t,o.lView=e,!0}function sn(e){var t=an(),n=e[1];Bt.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function an(){var e=Bt.lFrame,t=null===e?null:e.child;return null===t?un(e):t}function un(e){var t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function ln(){var e=Bt.lFrame;return Bt.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var cn=ln;function fn(){var e=ln();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function hn(e){return(Bt.lFrame.contextLView=function(e,t){for(;e>0;)t=t[15],e--;return t}(e,Bt.lFrame.contextLView))[8]}function dn(){return Bt.lFrame.selectedIndex}function vn(e){Bt.lFrame.selectedIndex=e}function yn(){var e=Bt.lFrame;return Rt(e.tView,e.selectedIndex)}function pn(e,t){for(var n=t.directiveStart,r=t.directiveEnd;n<r;n++){var i=e.data[n].type.prototype,o=i.ngAfterContentInit,s=i.ngAfterContentChecked,a=i.ngAfterViewInit,u=i.ngAfterViewChecked,l=i.ngOnDestroy;o&&(e.contentHooks||(e.contentHooks=[])).push(-n,o),s&&((e.contentHooks||(e.contentHooks=[])).push(n,s),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,s)),a&&(e.viewHooks||(e.viewHooks=[])).push(-n,a),u&&((e.viewHooks||(e.viewHooks=[])).push(n,u),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,u)),null!=l&&(e.destroyHooks||(e.destroyHooks=[])).push(n,l)}}function mn(e,t,n){kn(e,t,3,n)}function gn(e,t,n,r){(3&e[2])===n&&kn(e,t,n,r)}function _n(e,t){var n=e[2];(3&n)===t&&(n&=2047,e[2]=n+=1)}function kn(e,t,n,r){for(var i=null!=r?r:-1,o=t.length-1,s=0,a=void 0!==r?65535&e[18]:0;a<o;a++)if("number"==typeof t[a+1]){if(s=t[a],null!=r&&s>=r)break}else t[a]<0&&(e[18]+=65536),(s<i||-1==i)&&(wn(e,n,t,a),e[18]=(4294901760&e[18])+a+2),a++}function wn(e,t,n,r){var i=n[r]<0,o=n[r+1],s=e[i?-n[r]:n[r]];if(i){if(e[2]>>11<e[18]>>16&&(3&e[2])===t){e[2]+=2048;try{o.call(s)}finally{}}}else try{o.call(s)}finally{}}var bn=-1,En=a(function e(t,n,r){o(this,e),this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r});function Sn(e,t,n){for(var r=Dt(e),i=0;i<n.length;){var o=n[i];if("number"==typeof o){if(0!==o)break;i++;var s=n[i++],a=n[i++],u=n[i++];r?e.setAttribute(t,a,u,s):t.setAttributeNS(s,a,u)}else{var l=o,c=n[++i];Tn(l)?r&&e.setProperty(t,l,c):r?e.setAttribute(t,l,c):t.setAttribute(l,c),i++}}return i}function Tn(e){return 64===e.charCodeAt(0)}function Cn(e,t){if(null===t||0===t.length);else if(null===e||0===e.length)e=t.slice();else for(var n=-1,r=0;r<t.length;r++){var i=t[r];"number"==typeof i?n=i:0===n||xn(e,n,i,null,-1===n||2===n?t[++r]:null)}return e}function xn(e,t,n,r,i){var o=0,s=e.length;if(-1===t)s=-1;else for(;o<e.length;){var a=e[o++];if("number"==typeof a){if(a===t){s=-1;break}if(a>t){s=o-1;break}}}for(;o<e.length;){var u=e[o];if("number"==typeof u)break;if(u===n){if(null===r)return void(null!==i&&(e[o+1]=i));if(r===e[o+1])return void(e[o+2]=i)}o++,null!==r&&o++,null!==i&&o++}-1!==s&&(e.splice(s,0,t),o=s+1),e.splice(o++,0,n),null!==r&&e.splice(o++,0,r),null!==i&&e.splice(o++,0,i)}function An(e){return e!==bn}function In(e){return 32767&e}function On(e,t){for(var n=e>>16,r=t;n>0;)r=r[15],n--;return r}var Dn=!0;function Pn(e){var t=Dn;return Dn=e,t}var Nn=0;function Fn(e,t){var n=jn(e,t);if(-1!==n)return n;var r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,Rn(r.data,e),Rn(t,null),Rn(r.blueprint,null));var i=Mn(e,t),o=e.injectorIndex;if(An(i))for(var s=In(i),a=On(i,t),u=a[1].data,l=0;l<8;l++)t[o+l]=a[s+l]|u[s+l];return t[o+8]=i,o}function Rn(e,t){e.push(0,0,0,0,0,0,0,0,t)}function jn(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Mn(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;for(var n=0,r=null,i=t;null!==i;){var o=i[1],s=o.type;if(null===(r=2===s?o.declTNode:1===s?i[6]:null))return bn;if(n++,i=i[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return bn}function Vn(e,t,n){!function(e,t,n){var r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(it)&&(r=n[it]),null==r&&(r=n[it]=Nn++);var i=255&r;t.data[e+(i>>5)]|=1<<i}(e,t,n)}function Ln(e,t,n){if(n&Ve.Optional)return e;xe(t,"NodeInjector")}function Hn(e,t,n,r){if(n&Ve.Optional&&void 0===r&&(r=null),0==(n&(Ve.Self|Ve.Host))){var i=e[9],o=He(void 0);try{return i?i.get(t,r,n&Ve.Optional):Ue(t,r,n&Ve.Optional)}finally{He(o)}}return Ln(r,t,n)}function Un(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Ve.Default,i=arguments.length>4?arguments[4]:void 0;if(null!==e){var o=Kn(n);if("function"==typeof o){if(!on(t,e,r))return r&Ve.Host?Ln(i,n,r):Hn(t,n,r,i);try{var s=o();if(null!=s||r&Ve.Optional)return s;xe(n)}finally{cn()}}else if("number"==typeof o){var a=null,u=jn(e,t),l=bn,c=r&Ve.Host?t[16][6]:null;for((-1===u||r&Ve.SkipSelf)&&((l=-1===u?Mn(e,t):t[u+8])!==bn&&Zn(r,!1)?(a=t[1],u=In(l),t=On(l,t)):u=-1);-1!==u;){var f=t[1];if(Gn(o,u,f.data)){var h=Qn(u,t,n,a,r,c);if(h!==Bn)return h}(l=t[u+8])!==bn&&Zn(r,t[1].data[u+8]===c)&&Gn(o,u,t)?(a=f,u=In(l),t=On(l,t)):u=-1}}}return Hn(t,n,r,i)}var Bn={};function qn(){return new Wn(Gt(),Qt())}function Qn(e,t,n,r,i,o){var s=t[1],a=s.data[e+8],u=function(e,t,n,r,i){for(var o=e.providerIndexes,s=t.data,a=1048575&o,u=e.directiveStart,l=o>>20,c=i?a+l:e.directiveEnd,f=r?a:a+l;f<c;f++){var h=s[f];if(f<u&&n===h||f>=u&&h.type===n)return f}if(i){var d=s[u];if(d&&bt(d)&&d.type===n)return u}return null}(a,s,n,null==r?kt(a)&&Dn:r!=s&&0!=(3&a.type),i&Ve.Host&&o===a);return null!==u?zn(t,s,u,a):Bn}function zn(e,t,n,r){var i=e[n],o=t.data;if(i instanceof En){var s=i;s.resolving&&function(e,t){throw new Se("200","Circular dependency in DI detected for ".concat(e).concat(""))}(Ce(o[n]));var a=Pn(s.canSeeViewProviders);s.resolving=!0;var u=s.injectImpl?He(s.injectImpl):null;on(e,r,Ve.Default);try{i=e[n]=s.factory(void 0,o,e,r),t.firstCreatePass&&n>=r.directiveStart&&function(e,t,n){var r=t.type.prototype,i=r.ngOnInit,o=r.ngDoCheck;if(r.ngOnChanges){var s=Ct(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,s)}i&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,i),o&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,o),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,o))}(n,o[n],t)}finally{null!==u&&He(u),Pn(a),s.resolving=!1,cn()}}return i}function Kn(e){if("string"==typeof e)return e.charCodeAt(0)||0;var t=e.hasOwnProperty(it)?e[it]:void 0;return"number"==typeof t?t>=0?255&t:qn:t}function Gn(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function Zn(e,t){return!(e&Ve.Self||e&Ve.Host&&t)}var Wn=function(){function e(t,n){o(this,e),this._tNode=t,this._lView=n}return a(e,[{key:"get",value:function(e,t){return Un(this._tNode,this._lView,e,void 0,t)}}]),e}(),$n="__parameters__";function Yn(e,t,n){return Be(function(){var r=function(e){return function(){if(e){var t=e.apply(void 0,arguments);for(var n in t)this[n]=t[n]}}}(t);function i(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(this instanceof i)return r.apply(this,t),this;var o=k(i,t);return s.annotation=o,s;function s(e,t,n){for(var r=e.hasOwnProperty($n)?e[$n]:Object.defineProperty(e,$n,{value:[]})[$n];r.length<=n;)r.push(null);return(r[n]=r[n]||[]).push(o),e}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}var Jn=function(){function e(t,n){o(this,e),this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=Ae({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}return a(e,[{key:"toString",value:function(){return"InjectionToken ".concat(this._desc)}}]),e}();function Xn(e,t){e.forEach(function(e){return Array.isArray(e)?Xn(e,t):t(e)})}function er(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function tr(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}var nr={},rr=/\n/gm,ir="__source",or=ge({provide:String,useValue:ge}),sr=void 0;function ar(e){var t=sr;return sr=e,t}function ur(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ve.Default;if(void 0===sr)throw new Error("inject() must be called from an injection context");return null===sr?Ue(e,void 0,t):sr.get(e,t&Ve.Optional?null:void 0,t)}function lr(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ve.Default;return(Le()||ur)(Ee(e),t)}function cr(e){for(var t=[],n=0;n<e.length;n++){var r=Ee(e[n]);if(Array.isArray(r)){if(0===r.length)throw new Error("Arguments array must have arguments.");for(var i=void 0,o=Ve.Default,s=0;s<r.length;s++){var a=r[s],u=a.__NG_DI_FLAG__;"number"==typeof u?-1===u?i=a.token:o|=u:i=a}t.push(lr(i,o))}else t.push(lr(r))}return t}function fr(e,t){return e.__NG_DI_FLAG__=t,e.prototype.__NG_DI_FLAG__=t,e}function hr(e,t,n,r){var i=e.ngTempTokenPath;throw t[ir]&&i.unshift(t[ir]),e.message=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;var i=_e(t);if(Array.isArray(t))i=t.map(_e).join(" -> ");else if("object"==typeof t){var o=[];for(var s in t)if(t.hasOwnProperty(s)){var a=t[s];o.push(s+":"+("string"==typeof a?JSON.stringify(a):_e(a)))}i="{".concat(o.join(", "),"}")}return"".concat(n).concat(r?"("+r+")":"","[").concat(i,"]: ").concat(e.replace(rr,"\n  "))}("\n"+e.message,i,n,r),e.ngTokenPath=i,e.ngTempTokenPath=null,e}var dr=fr(Yn("Inject",function(e){return{token:e}}),-1),vr=fr(Yn("Optional"),8),yr=fr(Yn("SkipSelf"),4),pr=function(){function e(t){o(this,e),this.changingThisBreaksApplicationSecurity=t}return a(e,[{key:"toString",value:function(){return"SafeValue must use [property]=binding: ".concat(this.changingThisBreaksApplicationSecurity)+" (see https://g.co/ng/security#xss)"}}]),e}();var mr=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,gr=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i,_r=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}({});function kr(e){var t,n,r,i=(t=Qt())&&t[12];return i?i.sanitize(_r.URL,e)||"":function(e,t){var n=function(e){return e instanceof pr&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error("Required a safe ".concat(t,", got a ").concat(n," (see https://g.co/ng/security#xss)"))}return n===t}(e,"URL")?(r=e)instanceof pr?r.changingThisBreaksApplicationSecurity:r:(n=Te(e),(n=String(n)).match(mr)||n.match(gr)?n:"unsafe:"+n)}function wr(e){return e.ngDebugContext}function br(e){return e.ngOriginalError}function Er(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];e.error.apply(e,n)}var Sr=function(){function e(){o(this,e),this._console=console}return a(e,[{key:"handleError",value:function(e){var t=this._findOriginalError(e),n=this._findContext(e),r=function(e){return e.ngErrorLogger||Er}(e);r(this._console,"ERROR",e),t&&r(this._console,"ORIGINAL ERROR",t),n&&r(this._console,"ERROR CONTEXT",n)}},{key:"_findContext",value:function(e){return e?wr(e)?wr(e):this._findContext(br(e)):null}},{key:"_findOriginalError",value:function(e){for(var t=br(e);t&&br(t);)t=br(t);return t}}]),e}();function Tr(e,t){e.__ngContext__=t}var Cr=function(){return("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(We)}();function xr(e){return e instanceof Function?e():e}var Ar=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}({});function Ir(e,t){return(void 0)(e,t)}function Or(e){var t=e[3];return gt(t)?t[3]:t}function Dr(e){return Nr(e[13])}function Pr(e){return Nr(e[4])}function Nr(e){for(;null!==e&&!gt(e);)e=e[4];return e}function Fr(e,t,n,r,i){if(null!=r){var o,s=!1;gt(r)?o=r:mt(r)&&(s=!0,r=r[0]);var a=Nt(r);0===e&&null!==n?null==i?Br(t,n,a):Ur(t,n,a,i||null,!0):1===e&&null!==n?Ur(t,n,a,i||null,!0):2===e?function(e,t,n){var r=Qr(e,t);r&&function(e,t,n,r){Dt(e)?e.removeChild(t,n,r):t.removeChild(n)}(e,r,t,n)}(t,a,s):3===e&&t.destroyNode(a),null!=o&&function(e,t,n,r,i){var o=n[7];o!==Nt(n)&&Fr(t,e,r,o,i);for(var s=pt;s<n.length;s++){var a=n[s];$r(a[1],a,e,t,r,o)}}(t,e,o,n,i)}}function Rr(e,t){return Dt(e)?e.createText(t):e.createTextNode(t)}function jr(e,t,n){return Dt(e)?e.createElement(t,n):null===n?e.createElement(t):e.createElementNS(n,t)}function Mr(e,t){var n=e[9],r=n.indexOf(t),i=t[3];1024&t[2]&&(t[2]&=-1025,Ut(i,-1)),n.splice(r,1)}function Vr(e,t){if(!(e.length<=pt)){var n,r=pt+t,i=e[r];if(i){var o=i[17];null!==o&&o!==e&&Mr(o,i),t>0&&(e[r-1][4]=i[4]);var s=tr(e,pt+t);$r(i[1],n=i,n[11],2,null,null),n[0]=null,n[6]=null;var a=s[19];null!==a&&a.detachView(s[1]),i[3]=null,i[4]=null,i[2]&=-129}return i}}function Lr(e,t){if(!(256&t[2])){var n=t[11];Dt(n)&&n.destroyNode&&$r(e,t,n,3,null,null),function(e){var t=e[13];if(!t)return Hr(e[1],e);for(;t;){var n=null;if(mt(t))n=t[13];else{var r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)mt(t)&&Hr(t[1],t),t=t[3];null===t&&(t=e),mt(t)&&Hr(t[1],t),n=t&&t[4]}t=n}}(t)}}function Hr(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function(e,t){var n;if(null!=e&&null!=(n=e.destroyHooks))for(var r=0;r<n.length;r+=2){var i=t[n[r]];if(!(i instanceof En)){var o=n[r+1];if(Array.isArray(o))for(var s=0;s<o.length;s+=2){var a=i[o[s]],u=o[s+1];try{u.call(a)}finally{}}else try{o.call(i)}finally{}}}}(e,t),function(e,t){var n=e.cleanup,r=t[7],i=-1;if(null!==n)for(var o=0;o<n.length-1;o+=2)if("string"==typeof n[o]){var s=n[o+1],a="function"==typeof s?s(t):Nt(t[s]),u=r[i=n[o+2]],l=n[o+3];"boolean"==typeof l?a.removeEventListener(n[o],u,l):l>=0?r[i=l]():r[i=-l].unsubscribe(),o+=2}else{var c=r[i=n[o+1]];n[o].call(c)}if(null!==r){for(var f=i+1;f<r.length;f++)(0,r[f])();t[7]=null}}(e,t),1===t[1].type&&Dt(t[11])&&t[11].destroy();var n=t[17];if(null!==n&&gt(t[3])){n!==t[3]&&Mr(n,t);var r=t[19];null!==r&&r.detachView(e)}}}function Ur(e,t,n,r,i){Dt(e)?e.insertBefore(t,n,r,i):t.insertBefore(n,r,i)}function Br(e,t,n){Dt(e)?e.appendChild(t,n):t.appendChild(n)}function qr(e,t,n,r,i){null!==r?Ur(e,t,n,r,i):Br(e,t,n)}function Qr(e,t){return Dt(e)?e.parentNode(t):t.parentNode}function zr(e,t,n,r){var i=function(e,t,n){return function(e,t,n){for(var r=t;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return n[0];if(2&r.flags){var i=e.data[r.directiveStart].encapsulation;if(i===Qe.None||i===Qe.Emulated)return null}return Ft(r,n)}(e,t.parent,n)}(e,r,t),o=t[11],s=function(e,t,n){return function(e,t,n){return 40&e.type?Ft(e,n):null}(e,0,n)}(r.parent||t[6],0,t);if(null!=i)if(Array.isArray(n))for(var a=0;a<n.length;a++)qr(o,i,n[a],s,!1);else qr(o,i,n,s,!1)}function Kr(e,t){if(null!==t){var n=t.type;if(3&n)return Ft(t,e);if(4&n)return Zr(-1,e[t.index]);if(8&n){var r=t.child;if(null!==r)return Kr(e,r);var i=e[t.index];return gt(i)?Zr(-1,i):Nt(i)}if(32&n)return Ir(t,e)()||Nt(e[t.index]);var o=Gr(e,t);return null!==o?Array.isArray(o)?o[0]:Kr(Or(e[16]),o):Kr(e,t.next)}return null}function Gr(e,t){return null!==t?e[16][6].projection[t.projection]:null}function Zr(e,t){var n=pt+e+1;if(n<t.length){var r=t[n],i=r[1].firstChild;if(null!==i)return Kr(r,i)}return t[7]}function Wr(e,t,n,r,i,o,s){for(;null!=n;){var a=r[n.index],u=n.type;if(s&&0===t&&(a&&Tr(Nt(a),r),n.flags|=4),64!=(64&n.flags))if(8&u)Wr(e,t,n.child,r,i,o,!1),Fr(t,e,i,a,o);else if(32&u){for(var l=Ir(n,r),c=void 0;c=l();)Fr(t,e,i,c,o);Fr(t,e,i,a,o)}else 16&u?Yr(e,t,r,n,i,o):Fr(t,e,i,a,o);n=s?n.projectionNext:n.next}}function $r(e,t,n,r,i,o){Wr(n,r,e.firstChild,t,i,o,!1)}function Yr(e,t,n,r,i,o){var s=n[16],a=s[6].projection[r.projection];if(Array.isArray(a))for(var u=0;u<a.length;u++)Fr(t,e,i,a[u],o);else Wr(e,t,a,s[3],i,o,!0)}function Jr(e,t,n){Dt(e)?e.setAttribute(t,"style",n):t.style.cssText=n}function Xr(e,t,n){Dt(e)?""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n):t.className=n}function ei(e,t,n){for(var r=e.length;;){var i=e.indexOf(t,n);if(-1===i)return i;if(0===i||e.charCodeAt(i-1)<=32){var o=t.length;if(i+o===r||e.charCodeAt(i+o)<=32)return i}n=i+1}}var ti="ng-template";function ni(e,t,n){for(var r=0;r<e.length;){var i=e[r++];if(n&&"class"===i){if(-1!==ei((i=e[r]).toLowerCase(),t,0))return!0}else if(1===i){for(;r<e.length&&"string"==typeof(i=e[r++]);)if(i.toLowerCase()===t)return!0;return!1}}return!1}function ri(e){return 4===e.type&&e.value!==ti}function ii(e,t,n){return t===(4!==e.type||n?e.value:ti)}function oi(e,t,n){for(var r=4,i=e.attrs||[],o=function(e){for(var t=0;t<e.length;t++)if(3===(n=e[t])||4===n||6===n)return t;var n;return e.length}(i),s=!1,a=0;a<t.length;a++){var u=t[a];if("number"!=typeof u){if(!s)if(4&r){if(r=2|1&r,""!==u&&!ii(e,u,n)||""===u&&1===t.length){if(si(r))return!1;s=!0}}else{var l=8&r?u:t[++a];if(8&r&&null!==e.attrs){if(!ni(e.attrs,l,n)){if(si(r))return!1;s=!0}continue}var c=ai(8&r?"class":u,i,ri(e),n);if(-1===c){if(si(r))return!1;s=!0;continue}if(""!==l){var f;f=c>o?"":i[c+1].toLowerCase();var h=8&r?f:null;if(h&&-1!==ei(h,l,0)||2&r&&l!==f){if(si(r))return!1;s=!0}}}}else{if(!s&&!si(r)&&!si(u))return!1;if(s&&si(u))continue;s=!1,r=u|1&r}}return si(r)||s}function si(e){return 0==(1&e)}function ai(e,t,n,r){if(null===t)return-1;var i=0;if(r||!n){for(var o=!1;i<t.length;){var s=t[i];if(s===e)return i;if(3===s||6===s)o=!0;else{if(1===s||2===s){for(var a=t[++i];"string"==typeof a;)a=t[++i];continue}if(4===s)break;if(0===s){i+=4;continue}}i+=o?1:2}return-1}return function(e,t){var n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){var r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function ui(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=0;r<t.length;r++)if(oi(e,t[r],n))return!0;return!1}function li(e,t){return e?":not("+t.trim()+")":t}function ci(e){for(var t=e[0],n=1,r=2,i="",o=!1;n<e.length;){var s=e[n];if("string"==typeof s)if(2&r){var a=e[++n];i+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else 8&r?i+="."+s:4&r&&(i+=" "+s);else""===i||si(s)||(t+=li(o,i),i=""),r=s,o=o||!si(r);n++}return""!==i&&(t+=li(o,i)),t}var fi={};function hi(e){di(zt(),Qt(),dn()+e,Jt())}function di(e,t,n,r){if(!r)if(3==(3&t[2])){var i=e.preOrderCheckHooks;null!==i&&mn(t,i,n)}else{var o=e.preOrderHooks;null!==o&&gn(t,o,0,n)}vn(n)}function vi(e,t){var n=e.contentQueries;if(null!==n)for(var r=0;r<n.length;r+=2){var i=n[r+1];if(-1!==i){var o=e.data[i];nn(n[r]),o.contentQueries(2,t[i],i)}}}function yi(e,t,n,r,i,o,s,a,u,l){var c=t.blueprint.slice();return c[0]=i,c[2]=140|r,Ht(c),c[3]=c[15]=e,c[8]=n,c[10]=s||e&&e[10],c[11]=a||e&&e[11],c[12]=u||e&&e[12]||null,c[9]=l||e&&e[9]||null,c[6]=o,c[16]=2==t.type?e[16]:c,c}function pi(e,t,n,r,i){var o,s,a=e.data[t];if(null===a)a=function(e,t,n,r,i){var o=Zt(),s=$t(),a=e.data[t]=function(e,t,n,r,i,o){return{type:n,index:r,insertBeforeIndex:null,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:i,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?o:o&&o.parent,n,t,r,i);return null===e.firstChild&&(e.firstChild=a),null!==o&&(s?null==o.child&&null!==a.parent&&(o.child=a):null===o.next&&(o.next=a)),a}(e,t,n,r,i),Bt.lFrame.inI18n&&(a.flags|=64);else if(64&a.type){a.type=n,a.value=r,a.attrs=i;var u=(s=(o=Bt.lFrame).currentTNode,o.isParent?s:s.parent);a.injectorIndex=null===u?-1:u.injectorIndex}return Wt(a,!0),a}function mi(e,t,n,r){if(0===n)return-1;for(var i=t.length,o=0;o<n;o++)t.push(r),e.blueprint.push(r),e.data.push(null);return i}function gi(e,t,n){sn(t);try{var r=e.viewQuery;null!==r&&Gi(1,r,n);var i=e.template;null!==i&&wi(e,t,i,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&vi(e,t),e.staticViewQueries&&Gi(2,e.viewQuery,n);var o=e.components;null!==o&&function(e,t){for(var n=0;n<t.length;n++)Bi(e,t[n])}(t,o)}catch(s){throw e.firstCreatePass&&(e.incompleteFirstPass=!0),s}finally{t[2]&=-5,fn()}}function _i(e,t,n,r){var i=t[2];if(256!=(256&i)){sn(t);var o=Jt();try{Ht(t),Bt.lFrame.bindingIndex=e.bindingStartIndex,null!==n&&wi(e,t,n,2,r);var s=3==(3&i);if(!o)if(s){var a=e.preOrderCheckHooks;null!==a&&mn(t,a,null)}else{var u=e.preOrderHooks;null!==u&&gn(t,u,0,null),_n(t,0)}if(function(e){for(var t=Dr(e);null!==t;t=Pr(t))if(t[2])for(var n=t[9],r=0;r<n.length;r++){var i=n[r];0==(1024&i[2])&&Ut(i[3],1),i[2]|=1024}}(t),function(e){for(var t=Dr(e);null!==t;t=Pr(t))for(var n=pt;n<t.length;n++){var r=t[n],i=r[1];Vt(r)&&_i(i,r,i.template,r[8])}}(t),null!==e.contentQueries&&vi(e,t),!o)if(s){var l=e.contentCheckHooks;null!==l&&mn(t,l)}else{var c=e.contentHooks;null!==c&&gn(t,c,1),_n(t,1)}!function(e,t){var n,r,i=e.hostBindingOpCodes;if(null!==i)try{for(var o=0;o<i.length;o++){var s=i[o];if(s<0)vn(~s);else{var a=s,u=i[++o],l=i[++o];n=a,r=void 0,(r=Bt.lFrame).bindingIndex=r.bindingRootIndex=u,tn(n),l(2,t[a])}}}finally{vn(-1)}}(e,t);var f=e.components;null!==f&&function(e,t){for(var n=0;n<t.length;n++)Hi(e,t[n])}(t,f);var h=e.viewQuery;if(null!==h&&Gi(2,h,r),!o)if(s){var d=e.viewCheckHooks;null!==d&&mn(t,d)}else{var v=e.viewHooks;null!==v&&gn(t,v,2),_n(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),o||(t[2]&=-73),1024&t[2]&&(t[2]&=-1025,Ut(t[3],-1))}finally{fn()}}}function ki(e,t,n,r){var i=t[10],o=!Jt(),s=4==(4&t[2]);try{o&&!s&&i.begin&&i.begin(),s&&gi(e,t,r),_i(e,t,n,r)}finally{o&&!s&&i.end&&i.end()}}function wi(e,t,n,r,i){var o=dn(),s=2&r;try{vn(-1),s&&t.length>yt&&di(e,t,yt,Jt()),n(r,i)}finally{vn(o)}}function bi(e,t,n){if(_t(t))for(var r=t.directiveEnd,i=t.directiveStart;i<r;i++){var o=e.data[i];o.contentQueries&&o.contentQueries(1,n[i],i)}}function Ei(e,t,n){qt()&&(function(e,t,n,r){var i=n.directiveStart,o=n.directiveEnd;e.firstCreatePass||Fn(n,t),Tr(r,t);for(var s=n.initialInputs,a=i;a<o;a++){var u=e.data[a],l=bt(u);l&&ji(t,n,u);var c=zn(t,e,a,n);Tr(c,t),null!==s&&Mi(0,a-i,c,u,0,s),l&&(jt(n.index,t)[8]=c)}}(e,t,n,Ft(n,t)),128==(128&n.flags)&&function(e,t,n){var r=n.directiveStart,i=n.directiveEnd,o=n.index,s=Bt.lFrame.currentDirectiveIndex;try{vn(o);for(var a=r;a<i;a++){var u=e.data[a],l=t[a];tn(a),null===u.hostBindings&&0===u.hostVars&&null===u.hostAttrs||Di(u,l)}}finally{vn(-1),tn(s)}}(e,t,n))}function Si(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Ft,r=t.localNames;if(null!==r)for(var i=t.index+1,o=0;o<r.length;o+=2){var s=r[o+1],a=-1===s?n(t,e):e[s];e[i++]=a}}function Ti(e){var t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Ci(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function Ci(e,t,n,r,i,o,s,a,u,l){var c=yt+r,f=c+i,h=function(e,t){for(var n=[],r=0;r<t;r++)n.push(r<e?null:fi);return n}(c,f),d="function"==typeof l?l():l;return h[1]={type:e,blueprint:h,template:n,queries:null,viewQuery:a,declTNode:t,data:h.slice().fill(null,c),bindingStartIndex:c,expandoStartIndex:f,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof o?o():o,pipeRegistry:"function"==typeof s?s():s,firstChild:null,schemas:u,consts:d,incompleteFirstPass:!1}}function xi(e,t,n){for(var r in e)if(e.hasOwnProperty(r)){var i=e[r];(n=null===n?{}:n).hasOwnProperty(r)?n[r].push(t,i):n[r]=[t,i]}return n}function Ai(e,t,n,r,i,o,s,a){var u,l,c=Ft(t,n),f=t.inputs;!a&&null!=f&&(u=f[r])?(Ji(e,n,u,r,i),kt(t)&&function(e,t){var n=jt(t,e);16&n[2]||(n[2]|=64)}(n,t.index)):3&t.type&&(r="class"===(l=r)?"className":"for"===l?"htmlFor":"formaction"===l?"formAction":"innerHtml"===l?"innerHTML":"readonly"===l?"readOnly":"tabindex"===l?"tabIndex":l,i=null!=s?s(i,t.value||"",r):i,Dt(o)?o.setProperty(c,r,i):Tn(r)||(c.setProperty?c.setProperty(r,i):c[r]=i))}function Ii(e,t,n,r){var i=!1;if(qt()){var o=function(e,t,n){var r=e.directiveRegistry,i=null;if(r)for(var o=0;o<r.length;o++){var s=r[o];ui(n,s.selectors,!1)&&(i||(i=[]),Vn(Fn(n,t),e,s.type),bt(s)?(Pi(e,n),i.unshift(s)):i.push(s))}return i}(e,t,n),s=null===r?null:{"":-1};if(null!==o){i=!0,Fi(n,e.data.length,o.length);for(var a=0;a<o.length;a++){var u=o[a];u.providersResolver&&u.providersResolver(u)}for(var l=!1,c=!1,f=mi(e,t,o.length,null),h=0;h<o.length;h++){var d=o[h];n.mergedAttrs=Cn(n.mergedAttrs,d.hostAttrs),Ri(e,n,t,f,d),Ni(f,d,s),null!==d.contentQueries&&(n.flags|=8),null===d.hostBindings&&null===d.hostAttrs&&0===d.hostVars||(n.flags|=128);var v=d.type.prototype;!l&&(v.ngOnChanges||v.ngOnInit||v.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index),l=!0),c||!v.ngOnChanges&&!v.ngDoCheck||((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index),c=!0),f++}!function(e,t){for(var n=t.directiveEnd,r=e.data,i=t.attrs,o=[],s=null,a=null,u=t.directiveStart;u<n;u++){var l=r[u],c=l.inputs,f=null===i||ri(t)?null:Vi(c,i);o.push(f),s=xi(c,u,s),a=xi(l.outputs,u,a)}null!==s&&(s.hasOwnProperty("class")&&(t.flags|=16),s.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=o,t.inputs=s,t.outputs=a}(e,n)}s&&function(e,t,n){if(t)for(var r=e.localNames=[],i=0;i<t.length;i+=2){var o=n[t[i+1]];if(null==o)throw new Se("301","Export of name '".concat(t[i+1],"' not found!"));r.push(t[i],o)}}(n,r,s)}return n.mergedAttrs=Cn(n.mergedAttrs,n.attrs),i}function Oi(e,t,n,r,i,o){var s=o.hostBindings;if(s){var a=e.hostBindingOpCodes;null===a&&(a=e.hostBindingOpCodes=[]);var u=~t.index;(function(e){for(var t=e.length;t>0;){var n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(a)!=u&&a.push(u),a.push(r,i,s)}}function Di(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Pi(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function Ni(e,t,n){if(n){if(t.exportAs)for(var r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;bt(t)&&(n[""]=e)}}function Fi(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Ri(e,t,n,r,i){e.data[r]=i;var o=i.factory||(i.factory=Et(i.type)),s=new En(o,bt(i),null);e.blueprint[r]=s,n[r]=s,Oi(e,t,0,r,mi(e,n,i.hostVars,fi),i)}function ji(e,t,n){var r=Ft(t,e),i=Ti(n),o=e[10],s=qi(e,yi(e,i,null,n.onPush?64:16,r,t,o,o.createRenderer(r,n),null,null));e[t.index]=s}function Mi(e,t,n,r,i,o){var s=o[t];if(null!==s)for(var a=r.setInput,u=0;u<s.length;){var l=s[u++],c=s[u++],f=s[u++];null!==a?r.setInput(n,f,l,c):n[c]=f}}function Vi(e,t){for(var n=null,r=0;r<t.length;){var i=t[r];if(0!==i)if(5!==i){if("number"==typeof i)break;e.hasOwnProperty(i)&&(null===n&&(n=[]),n.push(i,e[i],t[r+1])),r+=2}else r+=2;else r+=4}return n}function Li(e,t,n,r){return new Array(e,!0,!1,t,null,0,r,n,null,null)}function Hi(e,t){var n=jt(t,e);if(Vt(n)){var r=n[1];80&n[2]?_i(r,n,r.template,n[8]):n[5]>0&&Ui(n)}}function Ui(e){for(var t=Dr(e);null!==t;t=Pr(t))for(var n=pt;n<t.length;n++){var r=t[n];if(1024&r[2]){var i=r[1];_i(i,r,i.template,r[8])}else r[5]>0&&Ui(r)}var o=e[1].components;if(null!==o)for(var s=0;s<o.length;s++){var a=jt(o[s],e);Vt(a)&&a[5]>0&&Ui(a)}}function Bi(e,t){var n=jt(t,e),r=n[1];!function(e,t){for(var n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(r,n),gi(r,n,n[8])}function qi(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function Qi(e){for(;e;){e[2]|=64;var t=Or(e);if(0!=(512&e[2])&&!t)return e;e=t}return null}function zi(e,t,n){var r=t[10];r.begin&&r.begin();try{_i(e,t,e.template,n)}catch(i){throw Yi(t,i),i}finally{r.end&&r.end()}}function Ki(e){!function(e){for(var t=0;t<e.components.length;t++){var n=e.components[t],r=Mt(n),i=r[1];ki(i,r,i.template,n)}}(e[8])}function Gi(e,t,n){nn(0),t(e,n)}var Zi=function(){return Promise.resolve(null)}();function Wi(e){return e[7]||(e[7]=[])}function $i(e){return e.cleanup||(e.cleanup=[])}function Yi(e,t){var n=e[9],r=n?n.get(Sr,null):null;r&&r.handleError(t)}function Ji(e,t,n,r,i){for(var o=0;o<n.length;){var s=n[o++],a=n[o++],u=t[s],l=e.data[s];null!==l.setInput?l.setInput(u,i,r,a):u[a]=i}}function Xi(e,t,n){var r=n?e.styles:null,i=n?e.classes:null,o=0;if(null!==t)for(var s=0;s<t.length;s++){var a=t[s];"number"==typeof a?o=a:1==o?i=ke(i,a):2==o&&(r=ke(r,a+": "+t[++s]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=i:e.classesWithoutHost=i}var eo=new Jn("INJECTOR",-1),to=function(){function e(){o(this,e)}return a(e,[{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:nr;if(t===nr){var n=new Error("NullInjectorError: No provider for ".concat(_e(e),"!"));throw n.name="NullInjectorError",n}return t}}]),e}(),no=new Jn("Set Injector scope."),ro={},io={},oo=[],so=void 0;function ao(){return void 0===so&&(so=new to),so}function uo(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3?arguments[3]:void 0;return new lo(e,n,t||ao(),r)}var lo=function(){function e(t,n,r){var i=this,s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;o(this,e),this.parent=r,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;var a=[];n&&Xn(n,function(e){return i.processProvider(e,t,n)}),Xn([t],function(e){return i.processInjectorType(e,[],a)}),this.records.set(eo,fo(void 0,this));var u=this.records.get(no);this.scope=null!=u?u.value:null,this.source=s||("object"==typeof t?null:_e(t))}return a(e,[{key:"destroyed",get:function(){return this._destroyed}},{key:"destroy",value:function(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(function(e){return e.ngOnDestroy()})}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:nr,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Ve.Default;this.assertNotDestroyed();var r=ar(this);try{if(!(n&Ve.SkipSelf)){var i=this.records.get(e);if(void 0===i){var o=yo(e)&&Oe(e);i=o&&this.injectableDefInScope(o)?fo(co(e),ro):null,this.records.set(e,i)}if(null!=i)return this.hydrate(e,i)}var s=n&Ve.Self?ao():this.parent;return s.get(e,t=n&Ve.Optional&&t===nr?null:t)}catch(u){if("NullInjectorError"===u.name){var a=u.ngTempTokenPath=u.ngTempTokenPath||[];if(a.unshift(_e(e)),r)throw u;return hr(u,e,"R3InjectorError",this.source)}throw u}finally{ar(r)}}},{key:"_resolveInjectorDefTypes",value:function(){var e=this;this.injectorDefTypes.forEach(function(t){return e.get(t)})}},{key:"toString",value:function(){var e=[];return this.records.forEach(function(t,n){return e.push(_e(n))}),"R3Injector[".concat(e.join(", "),"]")}},{key:"assertNotDestroyed",value:function(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}},{key:"processInjectorType",value:function(e,t,n){var r=this;if(!(e=Ee(e)))return!1;var i=Pe(e),o=null==i&&e.ngModule||void 0,s=void 0===o?e:o,a=-1!==n.indexOf(s);if(void 0!==o&&(i=Pe(o)),null==i)return!1;if(null!=i.imports&&!a){var u;n.push(s);try{Xn(i.imports,function(e){r.processInjectorType(e,t,n)&&(void 0===u&&(u=[]),u.push(e))})}finally{}if(void 0!==u)for(var l=function(e){var t=u[e],n=t.ngModule,i=t.providers;Xn(i,function(e){return r.processProvider(e,n,i||oo)})},c=0;c<u.length;c++)l(c)}this.injectorDefTypes.add(s);var f=Et(s)||function(){return new s};this.records.set(s,fo(f,ro));var h=i.providers;if(null!=h&&!a){var d=e;Xn(h,function(e){return r.processProvider(e,d,h)})}return void 0!==o&&void 0!==e.providers}},{key:"processProvider",value:function(e,t,n){var r=vo(e=Ee(e))?e:Ee(e&&e.provide),i=function(e,t,n){return ho(e)?fo(void 0,e.useValue):fo(function(e,t,n){var r,i=void 0;if(vo(e)){var o=Ee(e);return Et(o)||co(o)}if(ho(e))i=function(){return Ee(e.useValue)};else if((r=e)&&r.useFactory)i=function(){return e.useFactory.apply(e,_(cr(e.deps||[])))};else if(function(e){return!(!e||!e.useExisting)}(e))i=function(){return lr(Ee(e.useExisting))};else{var s=Ee(e&&(e.useClass||e.provide));if(!function(e){return!!e.deps}(e))return Et(s)||co(s);i=function(){return k(s,_(cr(e.deps)))}}return i}(e),ro)}(e);if(vo(e)||!0!==e.multi)this.records.get(r);else{var o=this.records.get(r);o||((o=fo(void 0,ro,!0)).factory=function(){return cr(o.multi)},this.records.set(r,o)),r=e,o.multi.push(e)}this.records.set(r,i)}},{key:"hydrate",value:function(e,t){var n;return t.value===ro&&(t.value=io,t.value=t.factory()),"object"==typeof t.value&&t.value&&null!==(n=t.value)&&"object"==typeof n&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(t.value),t.value}},{key:"injectableDefInScope",value:function(e){return!!e.providedIn&&("string"==typeof e.providedIn?"any"===e.providedIn||e.providedIn===this.scope:this.injectorDefTypes.has(e.providedIn))}}]),e}();function co(e){var t=Oe(e),n=null!==t?t.factory:Et(e);if(null!==n)return n;if(e instanceof Jn)throw new Error("Token ".concat(_e(e)," is missing a \u0275prov definition."));if(e instanceof Function)return function(e){var t=e.length;if(t>0){var n=function(e,t){for(var n=[],r=0;r<e;r++)n.push("?");return n}(t);throw new Error("Can't resolve all parameters for ".concat(_e(e),": (").concat(n.join(", "),")."))}var r=function(e){var t=e&&(e[Fe]||e[je]);if(t){var n=function(e){if(e.hasOwnProperty("name"))return e.name;var t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn('DEPRECATED: DI is instantiating a token "'.concat(n,'" that inherits its @Injectable decorator but does not provide one itself.\n')+'This will become an error in a future version of Angular. Please add @Injectable() to the "'.concat(n,'" class.')),t}return null}(e);return null!==r?function(){return r.factory(e)}:function(){return new e}}(e);throw new Error("unreachable")}function fo(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return{factory:e,value:t,multi:n?[]:void 0}}function ho(e){return null!==e&&"object"==typeof e&&or in e}function vo(e){return"function"==typeof e}function yo(e){return"function"==typeof e||"object"==typeof e&&e instanceof Jn}var po=function(e,t,n){return function(e){var t=uo(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,arguments.length>3?arguments[3]:void 0);return t._resolveInjectorDefTypes(),t}({name:n},t,e,n)},mo=function(){var e=function(){function e(){o(this,e)}return a(e,null,[{key:"create",value:function(e,t){return Array.isArray(e)?po(e,t,""):po(e.providers,e.parent,e.name||"")}}]),e}();return e.THROW_IF_NOT_FOUND=nr,e.NULL=new to,e.\u0275prov=Ae({token:e,providedIn:"any",factory:function(){return lr(eo)}}),e.__NG_ELEMENT_ID__=-1,e}();function go(e,t){pn(Mt(e)[1],Gt())}var _o=null;function ko(){if(!_o){var e=We.Symbol;if(e&&e.iterator)_o=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&&(_o=r)}}return _o}function wo(e){return!!bo(e)&&(Array.isArray(e)||!(e instanceof Map)&&ko()in e)}function bo(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Eo(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function So(e,t,n,r){return Eo(e,en(),n)?t+Te(n)+r:fi}function To(e,t,n,r,i,o,s,a){var u=Qt(),l=zt(),c=e+yt,f=l.firstCreatePass?function(e,t,n,r,i,o,s,a,u){var l=t.consts,c=pi(t,e,4,s||null,Lt(l,a));Ii(t,n,c,Lt(l,u)),pn(t,c);var f=c.tViews=Ci(2,c,r,i,o,t.directiveRegistry,t.pipeRegistry,null,t.schemas,l);return null!==t.queries&&(t.queries.template(t,c),f.queries=t.queries.embeddedTView(c)),c}(c,l,u,t,n,r,i,o,s):l.data[c];Wt(f,!1);var h=u[11].createComment("");zr(l,u,h,f),Tr(h,u),qi(u,u[c]=Li(h,u,h,f)),wt(f)&&Ei(l,u,f),null!=s&&Si(u,f,a)}function Co(e){return function(e,t){return e[t]}(Bt.lFrame.contextLView,yt+e)}function xo(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ve.Default,n=Qt();if(null===n)return lr(e,t);var r=Gt();return Un(r,n,Ee(e),t)}function Ao(e,t,n){var r=Qt();return Eo(r,en(),t)&&Ai(zt(),yn(),r,e,t,r[11],n,!1),Ao}function Io(e,t,n,r,i){var o=i?"class":"style";Ji(e,n,t.inputs[o],o,r)}function Oo(e,t,n,r){var i=Qt(),o=zt(),s=yt+e,a=i[11],u=i[s]=jr(a,t,Bt.lFrame.currentNamespace),l=o.firstCreatePass?function(e,t,n,r,i,o,s){var a=t.consts,u=pi(t,e,2,i,Lt(a,o));return Ii(t,n,u,Lt(a,s)),null!==u.attrs&&Xi(u,u.attrs,!1),null!==u.mergedAttrs&&Xi(u,u.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,u),u}(s,o,i,0,t,n,r):o.data[s];Wt(l,!0);var c=l.mergedAttrs;null!==c&&Sn(a,u,c);var f=l.classes;null!==f&&Xr(a,u,f);var h=l.styles;null!==h&&Jr(a,u,h),64!=(64&l.flags)&&zr(o,i,u,l),0===Bt.lFrame.elementDepthCount&&Tr(u,i),Bt.lFrame.elementDepthCount++,wt(l)&&(Ei(o,i,l),bi(o,l,i)),null!==r&&Si(i,l)}function Do(){var e=Gt();$t()?Yt():Wt(e=e.parent,!1);var t=e;Bt.lFrame.elementDepthCount--;var n=zt();n.firstCreatePass&&(pn(n,e),_t(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function(e){return 0!=(16&e.flags)}(t)&&Io(n,t,Qt(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function(e){return 0!=(32&e.flags)}(t)&&Io(n,t,Qt(),t.stylesWithoutHost,!1)}function Po(e,t,n,r){Oo(e,t,n,r),Do()}function No(e,t,n){var r=Qt(),i=zt(),o=e+yt,s=i.firstCreatePass?function(e,t,n,r,i){var o=t.consts,s=Lt(o,r),a=pi(t,e,8,"ng-container",s);return null!==s&&Xi(a,s,!0),Ii(t,n,a,Lt(o,i)),null!==t.queries&&t.queries.elementStart(t,a),a}(o,i,r,t,n):i.data[o];Wt(s,!0);var a=r[o]=r[11].createComment("");zr(i,r,a,s),Tr(a,r),wt(s)&&(Ei(i,r,s),bi(i,s,r)),null!=n&&Si(r,s)}function Fo(){var e=Gt(),t=zt();$t()?Yt():Wt(e=e.parent,!1),t.firstCreatePass&&(pn(t,e),_t(e)&&t.queries.elementEnd(e))}function Ro(e,t,n){No(e,t,n),Fo()}function jo(){return Qt()}function Mo(e){return!!e&&"function"==typeof e.then}function Vo(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3?arguments[3]:void 0,i=Qt(),o=zt(),s=Gt();return Ho(o,i,i[11],s,e,t,n,r),Vo}function Lo(e,t,n,r){var i=e.cleanup;if(null!=i)for(var o=0;o<i.length-1;o+=2){var s=i[o];if(s===n&&i[o+1]===r){var a=t[7],u=i[o+2];return a.length>u?a[u]:null}"string"==typeof s&&(o+=2)}return null}function Ho(e,t,n,r,i,o){var s=arguments.length>6&&void 0!==arguments[6]&&arguments[6],a=arguments.length>7?arguments[7]:void 0,u=wt(r),l=e.firstCreatePass,c=l&&$i(e),f=Wi(t),h=!0;if(3&r.type){var d=Ft(r,t),v=a?a(d):$e,y=v.target||d,p=f.length,m=a?function(e){return a(Nt(e[r.index])).target}:r.index;if(Dt(n)){var g=null;if(!a&&u&&(g=Lo(e,t,i,r.index)),null!==g){var _=g.__ngLastListenerFn__||g;_.__ngNextListenerFn__=o,g.__ngLastListenerFn__=o,h=!1}else{o=Bo(r,t,0,o,!1);var k=n.listen(v.name||y,i,o);f.push(o,k),c&&c.push(i,m,p,p+1)}}else o=Bo(r,t,0,o,!0),y.addEventListener(i,o,s),f.push(o),c&&c.push(i,m,p,s)}else o=Bo(r,t,0,o,!1);var w,b=r.outputs;if(h&&null!==b&&(w=b[i])){var E=w.length;if(E)for(var S=0;S<E;S+=2){var T=w[S],C=w[S+1],x=t[T],A=x[C],I=A.subscribe(o),O=f.length;f.push(o,I),c&&c.push(i,r.index,O,-(O+1))}}}function Uo(e,t,n,r){try{return!1!==n(r)}catch(i){return Yi(e,i),!1}}function Bo(e,t,n,r,i){return function n(o){if(o===Function)return r;var s=2&e.flags?jt(e.index,t):t;0==(32&t[2])&&Qi(s);for(var a=Uo(t,0,r,o),u=n.__ngNextListenerFn__;u;)a=Uo(t,0,u,o)&&a,u=u.__ngNextListenerFn__;return i&&!1===a&&(o.preventDefault(),o.returnValue=!1),a}}function qo(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return hn(e)}function Qo(e,t,n){return zo(e,"",t,"",n),Qo}function zo(e,t,n,r,i){var o=Qt(),s=So(o,t,n,r);return s!==fi&&Ai(zt(),yn(),o,e,s,o[11],i,!1),zo}function Ko(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=Qt(),r=zt(),i=e+yt,o=r.firstCreatePass?pi(r,i,1,t,null):r.data[i],s=n[i]=Rr(n[11],t);zr(r,n,s,o),Wt(o,!1)}function Go(e,t,n){var r=Qt(),i=So(r,e,t,n);return i!==fi&&function(e,t,n){var r=function(e,t){return Nt(t[e])}(t,e);!function(e,t,n){Dt(e)?e.setValue(t,n):t.textContent=n}(e[11],r,n)}(r,dn(),i),Go}var Zo=void 0,Wo=["en",[["a","p"],["AM","PM"],Zo],[["AM","PM"],Zo,Zo],[["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"]],Zo,[["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"]],Zo,[["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}",Zo,"{1} 'at' {0}",Zo],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(e){var t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}],$o={};function Yo(e){return e in $o||($o[e]=We.ng&&We.ng.common&&We.ng.common.locales&&We.ng.common.locales[e]),$o[e]}var Jo=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}({}),Xo="en-US";function es(e){var t,n;n="Expected localeId to be defined",null==(t=e)&&function(e,t,n,r){throw new Error("ASSERTION ERROR: ".concat(e)+" [Expected=> ".concat(null," ").concat("!="," ").concat(t," <=Actual]"))}(n,t),"string"==typeof e&&e.toLowerCase().replace(/_/g,"-")}var ts=a(function e(){o(this,e)}),ns=a(function e(){o(this,e)}),rs=function(){function e(){o(this,e)}return a(e,[{key:"resolveComponentFactory",value:function(e){throw function(e){var t=Error("No component factory found for ".concat(_e(e),". Did you add it to @NgModule.entryComponents?"));return t.ngComponent=e,t}(e)}}]),e}(),is=function(){var e=a(function e(){o(this,e)});return e.NULL=new rs,e}();function os(){}function ss(e,t){return new us(Ft(e,t))}var as=function(){return ss(Gt(),Qt())},us=function(){var e=a(function e(t){o(this,e),this.nativeElement=t});return e.__NG_ELEMENT_ID__=as,e}(),ls=a(function e(){o(this,e)}),cs=function(){var e=a(function e(){o(this,e)});return e.__NG_ELEMENT_ID__=function(){return fs()},e}(),fs=function(){var e=Qt(),t=jt(Gt().index,e);return function(e){return e[11]}(mt(t)?t:e)},hs=function(){var e=a(function e(){o(this,e)});return e.\u0275prov=Ae({token:e,providedIn:"root",factory:function(){return null}}),e}(),ds=new(a(function e(t){o(this,e),this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}))("11.2.14"),vs=function(){function e(){o(this,e)}return a(e,[{key:"supports",value:function(e){return wo(e)}},{key:"create",value:function(e){return new ps(e)}}]),e}(),ys=function(e,t){return t},ps=function(){function e(t){o(this,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=t||ys}return a(e,[{key:"forEachItem",value:function(e){var t;for(t=this._itHead;null!==t;t=t._next)e(t)}},{key:"forEachOperation",value:function(e){for(var t=this._itHead,n=this._removalsHead,r=0,i=null;t||n;){var o=!n||t&&t.currentIndex<ks(n,r,i)?t:n,s=ks(o,r,i),a=o.currentIndex;if(o===n)r--,n=n._nextRemoved;else if(t=t._next,null==o.previousIndex)r++;else{i||(i=[]);var u=s-r,l=a-r;if(u!=l){for(var c=0;c<u;c++){var f=c<i.length?i[c]:i[c]=0,h=f+c;l<=h&&h<u&&(i[c]=f+1)}i[o.previousIndex]=l-u}}s!==a&&e(o,s,a)}}},{key:"forEachPreviousItem",value:function(e){var t;for(t=this._previousItHead;null!==t;t=t._nextPrevious)e(t)}},{key:"forEachAddedItem",value:function(e){var t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}},{key:"forEachMovedItem",value:function(e){var t;for(t=this._movesHead;null!==t;t=t._nextMoved)e(t)}},{key:"forEachRemovedItem",value:function(e){var t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}},{key:"forEachIdentityChange",value:function(e){var t;for(t=this._identityChangesHead;null!==t;t=t._nextIdentityChange)e(t)}},{key:"diff",value:function(e){if(null==e&&(e=[]),!wo(e))throw new Error("Error trying to diff '".concat(_e(e),"'. Only arrays and iterables are allowed"));return this.check(e)?this:null}},{key:"onDestroy",value:function(){}},{key:"check",value:function(e){var t=this;this._reset();var n,r,i,o=this._itHead,s=!1;if(Array.isArray(e)){this.length=e.length;for(var a=0;a<this.length;a++)i=this._trackByFn(a,r=e[a]),null!==o&&Object.is(o.trackById,i)?(s&&(o=this._verifyReinsertion(o,r,i,a)),Object.is(o.item,r)||this._addIdentityChange(o,r)):(o=this._mismatch(o,r,i,a),s=!0),o=o._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,i=e[ko()]();!(r=i.next()).done;)t(r.value)}(e,function(e){i=t._trackByFn(n,e),null!==o&&Object.is(o.trackById,i)?(s&&(o=t._verifyReinsertion(o,e,i,n)),Object.is(o.item,e)||t._addIdentityChange(o,e)):(o=t._mismatch(o,e,i,n),s=!0),o=o._next,n++}),this.length=n;return this._truncate(o),this.collection=e,this.isDirty}},{key:"isDirty",get:function(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}},{key:"_reset",value:function(){if(this.isDirty){var e;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=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}},{key:"_mismatch",value:function(e,t,n,r){var i;return null===e?i=this._itTail:(i=e._prev,this._remove(e)),null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,i,r)):null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,i,r)):e=this._addAfter(new ms(t,n),i,r),e}},{key:"_verifyReinsertion",value:function(e,t,n,r){var i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==i?e=this._reinsertAfter(i,e._prev,r):e.currentIndex!=r&&(e.currentIndex=r,this._addToMoves(e,r)),e}},{key:"_truncate",value: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)}},{key:"_reinsertAfter",value:function(e,t,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);var r=e._prevRemoved,i=e._nextRemoved;return null===r?this._removalsHead=i:r._nextRemoved=i,null===i?this._removalsTail=r:i._prevRemoved=r,this._insertAfter(e,t,n),this._addToMoves(e,n),e}},{key:"_moveAfter",value:function(e,t,n){return this._unlink(e),this._insertAfter(e,t,n),this._addToMoves(e,n),e}},{key:"_addAfter",value:function(e,t,n){return this._insertAfter(e,t,n),this._additionsTail=null===this._additionsTail?this._additionsHead=e:this._additionsTail._nextAdded=e,e}},{key:"_insertAfter",value: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 _s),this._linkedRecords.put(e),e.currentIndex=n,e}},{key:"_remove",value:function(e){return this._addToRemovals(this._unlink(e))}},{key:"_unlink",value: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}},{key:"_addToMoves",value:function(e,t){return e.previousIndex===t||(this._movesTail=null===this._movesTail?this._movesHead=e:this._movesTail._nextMoved=e),e}},{key:"_addToRemovals",value:function(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new _s),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}},{key:"_addIdentityChange",value:function(e,t){return e.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=e:this._identityChangesTail._nextIdentityChange=e,e}}]),e}(),ms=a(function e(t,n){o(this,e),this.item=t,this.trackById=n,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}),gs=function(){function e(){o(this,e),this._head=null,this._tail=null}return a(e,[{key:"add",value: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)}},{key:"get",value:function(e,t){var n;for(n=this._head;null!==n;n=n._nextDup)if((null===t||t<=n.currentIndex)&&Object.is(n.trackById,e))return n;return null}},{key:"remove",value: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}(),_s=function(){function e(){o(this,e),this.map=new Map}return a(e,[{key:"put",value:function(e){var t=e.trackById,n=this.map.get(t);n||(n=new gs,this.map.set(t,n)),n.add(e)}},{key:"get",value:function(e,t){var n=this.map.get(e);return n?n.get(e,t):null}},{key:"remove",value:function(e){var t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e}},{key:"isEmpty",get:function(){return 0===this.map.size}},{key:"clear",value:function(){this.map.clear()}}]),e}();function ks(e,t,n){var r=e.previousIndex;if(null===r)return r;var i=0;return n&&r<n.length&&(i=n[r]),r+t+i}var ws=function(){function e(){o(this,e)}return a(e,[{key:"supports",value:function(e){return e instanceof Map||bo(e)}},{key:"create",value:function(){return new bs}}]),e}(),bs=function(){function e(){o(this,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 a(e,[{key:"isDirty",get:function(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}},{key:"forEachItem",value:function(e){var t;for(t=this._mapHead;null!==t;t=t._next)e(t)}},{key:"forEachPreviousItem",value:function(e){var t;for(t=this._previousMapHead;null!==t;t=t._nextPrevious)e(t)}},{key:"forEachChangedItem",value:function(e){var t;for(t=this._changesHead;null!==t;t=t._nextChanged)e(t)}},{key:"forEachAddedItem",value:function(e){var t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}},{key:"forEachRemovedItem",value:function(e){var t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}},{key:"diff",value:function(e){if(e){if(!(e instanceof Map||bo(e)))throw new Error("Error trying to diff '".concat(_e(e),"'. Only maps and objects are allowed"))}else e=new Map;return this.check(e)?this:null}},{key:"onDestroy",value:function(){}},{key:"check",value: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 i=t._getOrCreateRecordForKey(r,e);n=t._insertBeforeOrAppend(n,i)}}),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}},{key:"_insertBeforeOrAppend",value: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}},{key:"_getOrCreateRecordForKey",value:function(e,t){if(this._records.has(e)){var n=this._records.get(e);this._maybeAddToChanges(n,t);var r=n._prev,i=n._next;return r&&(r._next=i),i&&(i._prev=r),n._next=null,n._prev=null,n}var o=new Es(e);return this._records.set(e,o),o.currentValue=t,this._addToAdditions(o),o}},{key:"_reset",value:function(){if(this.isDirty){var e;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}}},{key:"_maybeAddToChanges",value:function(e,t){Object.is(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))}},{key:"_addToAdditions",value:function(e){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}},{key:"_addToChanges",value:function(e){null===this._changesHead?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}},{key:"_forEach",value:function(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach(function(n){return t(e[n],n)})}}]),e}(),Es=a(function e(t){o(this,e),this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null});function Ss(){return new Ts([new vs])}var Ts=function(){var e=function(){function e(t){o(this,e),this.factories=t}return a(e,[{key:"find",value: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 '".concat(e,"' of type '").concat((t=e).name||typeof t,"'"))}}],[{key:"create",value:function(t,n){if(null!=n){var r=n.factories.slice();t=t.concat(r)}return new e(t)}},{key:"extend",value:function(t){return{provide:e,useFactory:function(n){return e.create(t,n||Ss())},deps:[[e,new yr,new vr]]}}}]),e}();return e.\u0275prov=Ae({token:e,providedIn:"root",factory:Ss}),e}();function Cs(){return new xs([new ws])}var xs=function(){var e=function(){function e(t){o(this,e),this.factories=t}return a(e,[{key:"find",value: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 '".concat(e,"'"))}}],[{key:"create",value:function(t,n){if(n){var r=n.factories.slice();t=t.concat(r)}return new e(t)}},{key:"extend",value:function(t){return{provide:e,useFactory:function(n){return e.create(t,n||Cs())},deps:[[e,new yr,new vr]]}}}]),e}();return e.\u0275prov=Ae({token:e,providedIn:"root",factory:Cs}),e}();function As(e,t,n,r){for(var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];null!==n;){var o=t[n.index];if(null!==o&&r.push(Nt(o)),gt(o))for(var s=pt;s<o.length;s++){var a=o[s],u=a[1].firstChild;null!==u&&As(a[1],a,u,r)}var l=n.type;if(8&l)As(e,t,n.child,r);else if(32&l)for(var c=Ir(n,t),f=void 0;f=c();)r.push(f);else if(16&l){var h=Gr(t,n);if(Array.isArray(h))r.push.apply(r,_(h));else{var d=Or(t[16]);As(d[1],d,h,r,!0)}}n=i?n.projectionNext:n.next}return r}var Is=function(){function e(t,n){o(this,e),this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}return a(e,[{key:"rootNodes",get:function(){var e=this._lView,t=e[1];return As(t,e,t.firstChild,[])}},{key:"context",get:function(){return this._lView[8]}},{key:"destroyed",get:function(){return 256==(256&this._lView[2])}},{key:"destroy",value:function(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){var e=this._lView[3];if(gt(e)){var t=e[8],n=t?t.indexOf(this):-1;n>-1&&(Vr(e,n),tr(t,n))}this._attachedToViewContainer=!1}Lr(this._lView[1],this._lView)}},{key:"onDestroy",value:function(e){var t;t=e,Wi(this._lView).push(t)}},{key:"markForCheck",value:function(){Qi(this._cdRefInjectingView||this._lView)}},{key:"detach",value:function(){this._lView[2]&=-129}},{key:"reattach",value:function(){this._lView[2]|=128}},{key:"detectChanges",value:function(){zi(this._lView[1],this._lView,this.context)}},{key:"checkNoChanges",value:function(){!function(e,t,n){Xt(!0);try{zi(e,t,n)}finally{Xt(!1)}}(this._lView[1],this._lView,this.context)}},{key:"attachToViewContainerRef",value:function(){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._attachedToViewContainer=!0}},{key:"detachFromAppRef",value:function(){var e;this._appRef=null,$r(this._lView[1],e=this._lView,e[11],2,null,null)}},{key:"attachToAppRef",value:function(e){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e}}]),e}(),Os=function(e){l(n,e);var t=v(n);function n(e){var r;return o(this,n),(r=t.call(this,e))._view=e,r}return a(n,[{key:"detectChanges",value:function(){Ki(this._view)}},{key:"checkNoChanges",value:function(){!function(e){Xt(!0);try{Ki(e)}finally{Xt(!1)}}(this._view)}},{key:"context",get:function(){return null}}]),n}(Is),Ds=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return Ns(Gt(),Qt(),e)},Ps=function(){var e=a(function e(){o(this,e)});return e.__NG_ELEMENT_ID__=Ds,e.__ChangeDetectorRef__=!0,e}();function Ns(e,t,n){if(!n&&kt(e)){var r=jt(e.index,t);return new Is(r,r)}return 47&e.type?new Is(t[16],t):null}var Fs=[new ws],Rs=new Ts([new vs]),js=new xs(Fs),Ms=function(){return Hs(Gt(),Qt())},Vs=function(){var e=a(function e(){o(this,e)});return e.__NG_ELEMENT_ID__=Ms,e}(),Ls=function(e){l(n,e);var t=v(n);function n(e,r,i){var s;return o(this,n),(s=t.call(this))._declarationLView=e,s._declarationTContainer=r,s.elementRef=i,s}return a(n,[{key:"createEmbeddedView",value:function(e){var t=this._declarationTContainer.tViews,n=yi(this._declarationLView,t,e,16,null,t.declTNode,null,null,null,null);n[17]=this._declarationLView[this._declarationTContainer.index];var r=this._declarationLView[19];return null!==r&&(n[19]=r.createEmbeddedView(t)),gi(t,n,e),new Is(n)}}]),n}(Vs);function Hs(e,t){return 4&e.type?new Ls(t,e,ss(e,t)):null}var Us=a(function e(){o(this,e)}),Bs=a(function e(){o(this,e)}),qs=function(){return function(e,t){var n,r=t[e.index];if(gt(r))n=r;else{var i;if(8&e.type)i=Nt(r);else{var o=t[11];i=o.createComment("");var s=Ft(e,t);Ur(o,Qr(o,s),i,function(e,t){return Dt(e)?e.nextSibling(t):t.nextSibling}(o,s),!1)}t[e.index]=n=Li(r,t,i,e),qi(t,n)}return new zs(n,e,t)}(Gt(),Qt())},Qs=function(){var e=a(function e(){o(this,e)});return e.__NG_ELEMENT_ID__=qs,e}(),zs=function(e){l(n,e);var t=v(n);function n(e,r,i){var s;return o(this,n),(s=t.call(this))._lContainer=e,s._hostTNode=r,s._hostLView=i,s}return a(n,[{key:"element",get:function(){return ss(this._hostTNode,this._hostLView)}},{key:"injector",get:function(){return new Wn(this._hostTNode,this._hostLView)}},{key:"parentInjector",get:function(){var e=Mn(this._hostTNode,this._hostLView);if(An(e)){var t=On(e,this._hostLView),n=In(e);return new Wn(t[1].data[n+8],t)}return new Wn(null,this._hostLView)}},{key:"clear",value:function(){for(;this.length>0;)this.remove(this.length-1)}},{key:"get",value:function(e){var t=Ks(this._lContainer);return null!==t&&t[e]||null}},{key:"length",get:function(){return this._lContainer.length-pt}},{key:"createEmbeddedView",value:function(e,t,n){var r=e.createEmbeddedView(t||{});return this.insert(r,n),r}},{key:"createComponent",value:function(e,t,n,r,i){var o=n||this.parentInjector;if(!i&&null==e.ngModule&&o){var s=o.get(Us,null);s&&(i=s)}var a=e.create(o,r,void 0,i);return this.insert(a.hostView,t),a}},{key:"insert",value:function(e,t){var n=e._lView,r=n[1];if(gt(n[3])){var i=this.indexOf(e);if(-1!==i)this.detach(i);else{var o=n[3],s=new zs(o,o[6],o[3]);s.detach(s.indexOf(e))}}var a=this._adjustIndex(t),u=this._lContainer;!function(e,t,n,r){var i=pt+r,o=n.length;r>0&&(n[i-1][4]=t),r<o-pt?(t[4]=n[i],er(n,pt+r,t)):(n.push(t),t[4]=null),t[3]=n;var s=t[17];null!==s&&n!==s&&function(e,t){var n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(s,t);var a=t[19];null!==a&&a.insertView(e),t[2]|=128}(r,n,u,a);var l=Zr(a,u),c=n[11],f=Qr(c,u[7]);return null!==f&&function(e,t,n,r,i,o){r[0]=i,r[6]=t,$r(e,r,n,1,i,o)}(r,u[6],c,n,f,l),e.attachToViewContainerRef(),er(Gs(u),a,e),e}},{key:"move",value:function(e,t){return this.insert(e,t)}},{key:"indexOf",value:function(e){var t=Ks(this._lContainer);return null!==t?t.indexOf(e):-1}},{key:"remove",value:function(e){var t=this._adjustIndex(e,-1),n=Vr(this._lContainer,t);n&&(tr(Gs(this._lContainer),t),Lr(n[1],n))}},{key:"detach",value:function(e){var t=this._adjustIndex(e,-1),n=Vr(this._lContainer,t);return n&&null!=tr(Gs(this._lContainer),t)?new Is(n):null}},{key:"_adjustIndex",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return null==e?this.length+t:e}}]),n}(Qs);function Ks(e){return e[8]}function Gs(e){return e[8]||(e[8]=[])}var Zs={},Ws=function(e){l(n,e);var t=v(n);function n(e){var r;return o(this,n),(r=t.call(this)).ngModule=e,r}return a(n,[{key:"resolveComponentFactory",value:function(e){var t=dt(e);return new Js(t,this.ngModule)}}]),n}(is);function $s(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}var Ys=new Jn("SCHEDULER_TOKEN",{providedIn:"root",factory:function(){return Cr}}),Js=function(e){l(n,e);var t=v(n);function n(e,r){var i;return o(this,n),(i=t.call(this)).componentDef=e,i.ngModule=r,i.componentType=e.type,i.selector=e.selectors.map(ci).join(","),i.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],i.isBoundToModule=!!r,i}return a(n,[{key:"inputs",get:function(){return $s(this.componentDef.inputs)}},{key:"outputs",get:function(){return $s(this.componentDef.outputs)}},{key:"create",value:function(e,t,n,r){var i,o,s=(r=r||this.ngModule)?function(e,t){return{get:function(n,r,i){var o=e.get(n,Zs,i);return o!==Zs||r===Zs?o:t.get(n,r,i)}}}(e,r.injector):e,a=s.get(ls,Pt),u=s.get(hs,null),l=a.createRenderer(null,this.componentDef),c=this.componentDef.selectors[0][0]||"div",f=n?function(e,t,n){if(Dt(e))return e.selectRootElement(t,n===Qe.ShadowDom);var r="string"==typeof t?e.querySelector(t):t;return r.textContent="",r}(l,n,this.componentDef.encapsulation):jr(a.createRenderer(null,this.componentDef),c,function(e){var t=e.toLowerCase();return"svg"===t?"http://www.w3.org/2000/svg":"math"===t?"http://www.w3.org/1998/MathML/":null}(c)),h=this.componentDef.onPush?576:528,d={components:[],scheduler:Cr,clean:Zi,playerHandler:null,flags:0},v=Ci(0,null,null,1,0,null,null,null,null,null),y=yi(null,v,d,h,null,null,a,l,u,s);sn(y);try{var p=function(e,t,n,r,i,o){var s=n[1];n[20]=e;var a=pi(s,20,2,"#host",null),u=a.mergedAttrs=t.hostAttrs;null!==u&&(Xi(a,u,!0),null!==e&&(Sn(i,e,u),null!==a.classes&&Xr(i,e,a.classes),null!==a.styles&&Jr(i,e,a.styles)));var l=r.createRenderer(e,t),c=yi(n,Ti(t),null,t.onPush?64:16,n[20],a,r,l,null,null);return s.firstCreatePass&&(Vn(Fn(a,n),s,t.type),Pi(s,a),Fi(a,n.length,1)),qi(n,c),n[20]=c}(f,this.componentDef,y,a,l);if(f)if(n)Sn(l,f,["ng-version",ds.full]);else{var m=function(e){for(var t=[],n=[],r=1,i=2;r<e.length;){var o=e[r];if("string"==typeof o)2===i?""!==o&&t.push(o,e[++r]):8===i&&n.push(o);else{if(!si(i))break;i=o}r++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]),g=m.attrs,_=m.classes;g&&Sn(l,f,g),_&&_.length>0&&Xr(l,f,_.join(" "))}if(o=Rt(v,yt),void 0!==t)for(var k=o.projection=[],w=0;w<this.ngContentSelectors.length;w++){var b=t[w];k.push(null!=b?Array.from(b):null)}i=function(e,t,n,r,i){var o=n[1],s=function(e,t,n){var r=Gt();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),Ri(e,r,t,mi(e,t,1,null),n));var i=zn(t,e,r.directiveStart,r);Tr(i,t);var o=Ft(r,t);return o&&Tr(o,t),i}(o,n,t);if(r.components.push(s),e[8]=s,i&&i.forEach(function(e){return e(s,t)}),t.contentQueries){var a=Gt();t.contentQueries(1,s,a.directiveStart)}var u=Gt();return!o.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(vn(u.index),Oi(n[1],u,0,u.directiveStart,u.directiveEnd,t),Di(t,s)),s}(p,this.componentDef,y,d,[go]),gi(v,y,null)}finally{fn()}return new Xs(this.componentType,i,ss(o,y),y,o)}}]),n}(ns),Xs=function(e){l(n,e);var t=v(n);function n(e,r,i,s,a){var u;return o(this,n),(u=t.call(this)).location=i,u._rootLView=s,u._tNode=a,u.instance=r,u.hostView=u.changeDetectorRef=new Os(s),u.componentType=e,u}return a(n,[{key:"injector",get:function(){return new Wn(this._tNode,this._rootLView)}},{key:"destroy",value:function(){this.hostView.destroy()}},{key:"onDestroy",value:function(e){this.hostView.onDestroy(e)}}]),n}(ts),ea=new Map,ta=function(e){l(n,e);var t=v(n);function n(e,r){var i;o(this,n),(i=t.call(this))._parent=r,i._bootstrapComponents=[],i.injector=h(i),i.destroyCbs=[],i.componentFactoryResolver=new Ws(h(i));var s=vt(e),a=e[nt]||null;return a&&es(a),i._bootstrapComponents=xr(s.bootstrap),i._r3Injector=uo(e,r,[{provide:Us,useValue:h(i)},{provide:is,useValue:i.componentFactoryResolver}],_e(e)),i._r3Injector._resolveInjectorDefTypes(),i.instance=i.get(e),i}return a(n,[{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:mo.THROW_IF_NOT_FOUND,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Ve.Default;return e===mo||e===Us||e===eo?this:this._r3Injector.get(e,t,n)}},{key:"destroy",value:function(){var e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(function(e){return e()}),this.destroyCbs=null}},{key:"onDestroy",value:function(e){this.destroyCbs.push(e)}}]),n}(Us),na=function(e){l(n,e);var t=v(n);function n(e){var r,i,s;return o(this,n),(r=t.call(this)).moduleType=e,null!==vt(e)&&(i=e,s=new Set,function e(t){var n=vt(t,!0),r=n.id;null!==r&&(function(e,t,n){if(t&&t!==n)throw new Error("Duplicate module registered for ".concat(e," - ").concat(_e(t)," vs ").concat(_e(t.name)))}(r,ea.get(r),t),ea.set(r,t));var i,o=m(xr(n.imports));try{for(o.s();!(i=o.n()).done;){var a=i.value;s.has(a)||(s.add(a),e(a))}}catch(u){o.e(u)}finally{o.f()}}(i)),r}return a(n,[{key:"create",value:function(e){return new ta(this.moduleType,e)}}]),n}(Bs);function ra(e,t,n,r,i){return function(e,t,n,r,i,o,s){var a=t+n;return function(e,t,n,r){var i=Eo(e,t,n);return Eo(e,t+1,r)||i}(e,a,i,o)?function(e,t,n){return e[t]=n}(e,a+2,s?r.call(s,i,o):r(i,o)):function(e,t){var n=e[t];return n===fi?void 0:n}(e,a+2)}(Qt(),(-1===(s=(o=Bt.lFrame).bindingRootIndex)&&(s=o.bindingRootIndex=o.tView.bindingStartIndex),s),e,t,n,r,i);var o,s}function ia(e){return function(t){setTimeout(e,void 0,t)}}var oa=function(e){l(n,e);var t=v(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return o(this,n),(e=t.call(this)).__isAsync=r,e}return a(n,[{key:"emit",value:function(e){i(r(n.prototype),"next",this).call(this,e)}},{key:"subscribe",value:function(e,t,o){var s,a,u,l=e,c=t||function(){return null},f=o;if(e&&"object"==typeof e){var h=e;l=null===(s=h.next)||void 0===s?void 0:s.bind(h),c=null===(a=h.error)||void 0===a?void 0:a.bind(h),f=null===(u=h.complete)||void 0===u?void 0:u.bind(h)}this.__isAsync&&(c=ia(c),l&&(l=ia(l)),f&&(f=ia(f)));var d=i(r(n.prototype),"subscribe",this).call(this,{next:l,error:c,complete:f});return e instanceof C&&e.add(d),d}}]),n}(q);function sa(e,t){return Hs(e,t)}var aa=new Jn("Application Initializer"),ua=function(){var e=function(){function e(t){var n=this;o(this,e),this.appInits=t,this.resolve=os,this.reject=os,this.initialized=!1,this.done=!1,this.donePromise=new Promise(function(e,t){n.resolve=e,n.reject=t})}return a(e,[{key:"runInitializers",value: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 i=this.appInits[r]();Mo(i)&&t.push(i)}Promise.all(t).then(function(){n()}).catch(function(t){e.reject(t)}),0===t.length&&n(),this.initialized=!0}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(lr(aa,8))},e.\u0275prov=Ae({token:e,factory:e.\u0275fac}),e}(),la=new Jn("AppId"),ca={provide:la,useFactory:function(){return"".concat(fa()).concat(fa()).concat(fa())},deps:[]};function fa(){return String.fromCharCode(97+Math.floor(25*Math.random()))}var ha=new Jn("Platform Initializer"),da=new Jn("Platform ID"),va=new Jn("appBootstrapListener"),ya=function(){var e=function(){function e(){o(this,e)}return a(e,[{key:"log",value:function(e){console.log(e)}},{key:"warn",value:function(e){console.warn(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Ae({token:e,factory:e.\u0275fac}),e}(),pa=new Jn("LocaleId"),ma=new Jn("DefaultCurrencyCode"),ga=a(function e(t,n){o(this,e),this.ngModuleFactory=t,this.componentFactories=n}),_a=function(e){return new na(e)},ka=_a,wa=function(e){return Promise.resolve(_a(e))},ba=function(e){var t=_a(e),n=xr(vt(e).declarations).reduce(function(e,t){var n=dt(t);return n&&e.push(new Js(n)),e},[]);return new ga(t,n)},Ea=ba,Sa=function(e){return Promise.resolve(ba(e))},Ta=function(){var e=function(){function e(){o(this,e),this.compileModuleSync=ka,this.compileModuleAsync=wa,this.compileModuleAndAllComponentsSync=Ea,this.compileModuleAndAllComponentsAsync=Sa}return a(e,[{key:"clearCache",value:function(){}},{key:"clearCacheFor",value:function(e){}},{key:"getModuleId",value:function(e){}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Ae({token:e,factory:e.\u0275fac}),e}(),Ca=function(){return Promise.resolve(0)}();function xa(e){"undefined"==typeof Zone?Ca.then(function(){e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}var Aa=function(){function e(t){var n=t.enableLongStackTrace,r=void 0!==n&&n,i=t.shouldCoalesceEventChangeDetection,s=void 0!==i&&i,a=t.shouldCoalesceRunChangeDetection,u=void 0!==a&&a;if(o(this,e),this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new oa(!1),this.onMicrotaskEmpty=new oa(!1),this.onStable=new oa(!1),this.onError=new oa(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();var l,c,f=this;f._nesting=0,f._outer=f._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(f._inner=f._inner.fork(new Zone.TaskTrackingZoneSpec)),r&&Zone.longStackTraceZoneSpec&&(f._inner=f._inner.fork(Zone.longStackTraceZoneSpec)),f.shouldCoalesceEventChangeDetection=!u&&s,f.shouldCoalesceRunChangeDetection=u,f.lastRequestAnimationFrameId=-1,f.nativeRequestAnimationFrame=function(){var e=We.requestAnimationFrame,t=We.cancelAnimationFrame;if("undefined"!=typeof Zone&&e&&t){var n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);var r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,c=function(){!function(e){-1===e.lastRequestAnimationFrameId&&(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(We,function(){e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",function(){e.lastRequestAnimationFrameId=-1,Da(e),Oa(e)},void 0,function(){},function(){})),e.fakeTopEventTask.invoke()}),Da(e))}(l)},(l=f)._inner=l._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:function(e,t,n,r,i,o){try{return Pa(l),e.invokeTask(n,r,i,o)}finally{(l.shouldCoalesceEventChangeDetection&&"eventTask"===r.type||l.shouldCoalesceRunChangeDetection)&&c(),Na(l)}},onInvoke:function(e,t,n,r,i,o,s){try{return Pa(l),e.invoke(n,r,i,o,s)}finally{l.shouldCoalesceRunChangeDetection&&c(),Na(l)}},onHasTask:function(e,t,n,r){e.hasTask(n,r),t===n&&("microTask"==r.change?(l._hasPendingMicrotasks=r.microTask,Da(l),Oa(l)):"macroTask"==r.change&&(l.hasPendingMacrotasks=r.macroTask))},onHandleError:function(e,t,n,r){return e.handleError(n,r),l.runOutsideAngular(function(){return l.onError.emit(r)}),!1}})}return a(e,[{key:"run",value:function(e,t,n){return this._inner.run(e,t,n)}},{key:"runTask",value:function(e,t,n,r){var i=this._inner,o=i.scheduleEventTask("NgZoneEvent: "+r,e,Ia,os,os);try{return i.runTask(o,t,n)}finally{i.cancelTask(o)}}},{key:"runGuarded",value:function(e,t,n){return this._inner.runGuarded(e,t,n)}},{key:"runOutsideAngular",value:function(e){return this._outer.run(e)}}],[{key:"isInAngularZone",value:function(){return!0===Zone.current.get("isAngularZone")}},{key:"assertInAngularZone",value:function(){if(!e.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}},{key:"assertNotInAngularZone",value:function(){if(e.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}}]),e}(),Ia={};function Oa(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 Da(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Pa(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Na(e){e._nesting--,Oa(e)}var Fa,Ra=function(){function e(){o(this,e),this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new oa,this.onMicrotaskEmpty=new oa,this.onStable=new oa,this.onError=new oa}return a(e,[{key:"run",value:function(e,t,n){return e.apply(t,n)}},{key:"runGuarded",value:function(e,t,n){return e.apply(t,n)}},{key:"runOutsideAngular",value:function(e){return e()}},{key:"runTask",value:function(e,t,n,r){return e.apply(t,n)}}]),e}(),ja=function(){var e=function(){function e(t){var n=this;o(this,e),this._ngZone=t,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),t.run(function(){n.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}return a(e,[{key:"_watchAngularEvents",value: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(){Aa.assertNotInAngularZone(),xa(function(){e._isZoneStable=!0,e._runCallbacksIfReady()})}})})}},{key:"increasePendingRequestCount",value:function(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}},{key:"decreasePendingRequestCount",value:function(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}},{key:"isStable",value:function(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}},{key:"_runCallbacksIfReady",value:function(){var e=this;if(this.isStable())xa(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}}},{key:"getPendingTasks",value:function(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(function(e){return{source:e.source,creationLocation:e.creationLocation,data:e.data}}):[]}},{key:"addCallback",value:function(e,t,n){var r=this,i=-1;t&&t>0&&(i=setTimeout(function(){r._callbacks=r._callbacks.filter(function(e){return e.timeoutId!==i}),e(r._didWork,r.getPendingTasks())},t)),this._callbacks.push({doneCb:e,timeoutId:i,updateCb:n})}},{key:"whenStable",value: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()}},{key:"getPendingRequestCount",value:function(){return this._pendingCount}},{key:"findProviders",value:function(e,t,n){return[]}}]),e}();return e.\u0275fac=function(t){return new(t||e)(lr(Aa))},e.\u0275prov=Ae({token:e,factory:e.\u0275fac}),e}(),Ma=function(){var e=function(){function e(){o(this,e),this._applications=new Map,Va.addToWindow(this)}return a(e,[{key:"registerApplication",value:function(e,t){this._applications.set(e,t)}},{key:"unregisterApplication",value:function(e){this._applications.delete(e)}},{key:"unregisterAllApplications",value:function(){this._applications.clear()}},{key:"getTestability",value:function(e){return this._applications.get(e)||null}},{key:"getAllTestabilities",value:function(){return Array.from(this._applications.values())}},{key:"getAllRootElements",value:function(){return Array.from(this._applications.keys())}},{key:"findTestabilityInTree",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return Va.findTestabilityInTree(this,e,t)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Ae({token:e,factory:e.\u0275fac}),e}(),Va=new(function(){function e(){o(this,e)}return a(e,[{key:"addToWindow",value:function(e){}},{key:"findTestabilityInTree",value:function(e,t,n){return null}}]),e}()),La=!0,Ha=!1,Ua=function(e,t,n){var r=new na(n);return Promise.resolve(r)},Ba=new Jn("AllowMultipleToken");function qa(e){if(Fa&&!Fa.destroyed&&!Fa.injector.get(Ba,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Fa=e.get(Ga);var t=e.get(ha,null);return t&&t.forEach(function(e){return e()}),Fa}function Qa(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r="Platform: ".concat(t),i=new Jn(r);return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],o=Ka();if(!o||o.injector.get(Ba,!1))if(e)e(n.concat(t).concat({provide:i,useValue:!0}));else{var s=n.concat(t).concat({provide:i,useValue:!0},{provide:no,useValue:"platform"});qa(mo.create({providers:s,name:r}))}return za(i)}}function za(e){var t=Ka();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}function Ka(){return Fa&&!Fa.destroyed?Fa:null}var Ga=function(){var e=function(){function e(t){o(this,e),this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return a(e,[{key:"bootstrapModuleFactory",value:function(e,t){var n,r,i=this,o=(r={ngZoneEventCoalescing:t&&t.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:t&&t.ngZoneRunCoalescing||!1},"noop"===(n=t?t.ngZone:void 0)?new Ra:("zone.js"===n?void 0:n)||new Aa({enableLongStackTrace:(Ha=!0,La),shouldCoalesceEventChangeDetection:!!(null==r?void 0:r.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==r?void 0:r.ngZoneRunCoalescing)})),s=[{provide:Aa,useValue:o}];return o.run(function(){var t=mo.create({providers:s,parent:i.injector,name:e.moduleType.name}),n=e.create(t),r=n.injector.get(Sr,null);if(!r)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return o.runOutsideAngular(function(){var e=o.onError.subscribe({next:function(e){r.handleError(e)}});n.onDestroy(function(){$a(i._modules,n),e.unsubscribe()})}),function(e,t,r){try{var o=((s=n.injector.get(ua)).runInitializers(),s.donePromise.then(function(){return es(n.injector.get(pa,Xo)||Xo),i._moduleDoBootstrap(n),n}));return Mo(o)?o.catch(function(n){throw t.runOutsideAngular(function(){return e.handleError(n)}),n}):o}catch(a){throw t.runOutsideAngular(function(){return e.handleError(a)}),a}var s}(r,o)})}},{key:"bootstrapModule",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=Za({},n);return Ua(0,0,e).then(function(e){return t.bootstrapModuleFactory(e,r)})}},{key:"_moduleDoBootstrap",value:function(e){var t=e.injector.get(Wa);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(function(e){return t.bootstrap(e)});else{if(!e.instance.ngDoBootstrap)throw new Error("The module ".concat(_e(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)}},{key:"onDestroy",value:function(e){this._destroyListeners.push(e)}},{key:"injector",get:function(){return this._injector}},{key:"destroy",value: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}},{key:"destroyed",get:function(){return this._destroyed}}]),e}();return e.\u0275fac=function(t){return new(t||e)(lr(mo))},e.\u0275prov=Ae({token:e,factory:e.\u0275fac}),e}();function Za(e,t){return Array.isArray(t)?t.reduce(Za,e):Object.assign(Object.assign({},e),t)}var Wa=function(){var e=function(){function e(t,n,r,i,s){var a=this;o(this,e),this._zone=t,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=i,this._initStatus=s,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:function(){a._zone.run(function(){a.tick()})}});var u=new V(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 V(function(e){var t;a._zone.runOutsideAngular(function(){t=a._zone.onStable.subscribe(function(){Aa.assertNotInAngularZone(),xa(function(){a._stable||a._zone.hasPendingMacrotasks||a._zone.hasPendingMicrotasks||(a._stable=!0,e.next(!0))})})});var n=a._zone.onUnstable.subscribe(function(){Aa.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=Number.POSITIVE_INFINITY,t=null,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];var o=r[r.length-1];return z(o)?(t=r.pop(),r.length>1&&"number"==typeof r[r.length-1]&&(e=r.pop())):"number"==typeof o&&(e=r.pop()),null===t&&1===r.length&&r[0]instanceof V?r[0]:le(e)(ce(r,t))}(u,l.pipe(function(e){return fe()((t=me,function(e){var n;n="function"==typeof t?t:function(){return t};var r=Object.create(e,ye);return r.source=e,r.subjectFactory=n,r})(e));var t}))}return a(e,[{key:"bootstrap",value: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 ns?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);var i=n.isBoundToModule?void 0:this._injector.get(Us),o=n.create(mo.NULL,[],t||n.selector,i),s=o.location.nativeElement,a=o.injector.get(ja,null),u=a&&o.injector.get(Ma);return a&&u&&u.registerApplication(s,a),o.onDestroy(function(){r.detachView(o.hostView),$a(r.components,o),u&&u.unregisterApplication(s)}),this._loadComponent(o),o}},{key:"tick",value:function(){var e=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;var t,n=m(this._views);try{for(n.s();!(t=n.n()).done;)t.value.detectChanges()}catch(r){n.e(r)}finally{n.f()}}catch(i){this._zone.runOutsideAngular(function(){return e._exceptionHandler.handleError(i)})}finally{this._runningTick=!1}}},{key:"attachView",value:function(e){var t=e;this._views.push(t),t.attachToAppRef(this)}},{key:"detachView",value:function(e){var t=e;$a(this._views,t),t.detachFromAppRef()}},{key:"_loadComponent",value:function(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(va,[]).concat(this._bootstrapListeners).forEach(function(t){return t(e)})}},{key:"ngOnDestroy",value:function(){this._views.slice().forEach(function(e){return e.destroy()}),this._onMicrotaskEmptySubscription.unsubscribe()}},{key:"viewCount",get:function(){return this._views.length}}]),e}();return e.\u0275fac=function(t){return new(t||e)(lr(Aa),lr(mo),lr(Sr),lr(is),lr(ua))},e.\u0275prov=Ae({token:e,factory:e.\u0275fac}),e}();function $a(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var Ya=Qa(null,"core",[{provide:da,useValue:"unknown"},{provide:Ga,deps:[mo]},{provide:Ma,deps:[]},{provide:ya,deps:[]}]),Ja=[{provide:Wa,useClass:Wa,deps:[Aa,mo,Sr,is,ua]},{provide:Ys,deps:[Aa],useFactory:function(e){var t=[];return e.onStable.subscribe(function(){for(;t.length;)t.pop()()}),function(e){t.push(e)}}},{provide:ua,useClass:ua,deps:[[new vr,aa]]},{provide:Ta,useClass:Ta,deps:[]},ca,{provide:Ts,useFactory:function(){return Rs},deps:[]},{provide:xs,useFactory:function(){return js},deps:[]},{provide:pa,useFactory:function(e){return es(e=e||"undefined"!=typeof $localize&&$localize.locale||Xo),e},deps:[[new dr(pa),new vr,new yr]]},{provide:ma,useValue:"USD"}],Xa=function(){var e=a(function e(t){o(this,e)});return e.\u0275fac=function(t){return new(t||e)(lr(Wa))},e.\u0275mod=ct({type:e}),e.\u0275inj=Ie({providers:Ja}),e}(),eu=null;function tu(){return eu}var nu=a(function e(){o(this,e)}),ru=new Jn("DocumentToken"),iu=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}({}),ou=a(function e(){o(this,e)}),su=function(){var e=function(e){l(n,e);var t=v(n);function n(e){var r;return o(this,n),(r=t.call(this)).locale=e,r}return a(n,[{key:"getPluralCategory",value:function(e,t){switch(function(e){return function(e){var t=function(e){return e.toLowerCase().replace(/_/g,"-")}(e),n=Yo(t);if(n)return n;var r=t.split("-")[0];if(n=Yo(r))return n;if("en"===r)return Wo;throw new Error('Missing locale data for the locale "'.concat(e,'".'))}(e)[Jo.PluralCase]}(t||this.locale)(e)){case iu.Zero:return"zero";case iu.One:return"one";case iu.Two:return"two";case iu.Few:return"few";case iu.Many:return"many";default:return"other"}}}]),n}(ou);return e.\u0275fac=function(t){return new(t||e)(lr(pa))},e.\u0275prov=Ae({token:e,factory:e.\u0275fac}),e}(),au=function(){var e=function(){function e(t,n,r,i){o(this,e),this._iterableDiffers=t,this._keyValueDiffers=n,this._ngEl=r,this._renderer=i,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}return a(e,[{key:"klass",set:function(e){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof e?e.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}},{key:"ngClass",set:function(e){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof e?e.split(/\s+/):e,this._rawClass&&(wo(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}},{key:"ngDoCheck",value:function(){if(this._iterableDiffer){var e=this._iterableDiffer.diff(this._rawClass);e&&this._applyIterableChanges(e)}else if(this._keyValueDiffer){var t=this._keyValueDiffer.diff(this._rawClass);t&&this._applyKeyValueChanges(t)}}},{key:"_applyKeyValueChanges",value:function(e){var t=this;e.forEachAddedItem(function(e){return t._toggleClass(e.key,e.currentValue)}),e.forEachChangedItem(function(e){return t._toggleClass(e.key,e.currentValue)}),e.forEachRemovedItem(function(e){e.previousValue&&t._toggleClass(e.key,!1)})}},{key:"_applyIterableChanges",value:function(e){var t=this;e.forEachAddedItem(function(e){if("string"!=typeof e.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got ".concat(_e(e.item)));t._toggleClass(e.item,!0)}),e.forEachRemovedItem(function(e){return t._toggleClass(e.item,!1)})}},{key:"_applyClasses",value:function(e){var t=this;e&&(Array.isArray(e)||e instanceof Set?e.forEach(function(e){return t._toggleClass(e,!0)}):Object.keys(e).forEach(function(n){return t._toggleClass(n,!!e[n])}))}},{key:"_removeClasses",value:function(e){var t=this;e&&(Array.isArray(e)||e instanceof Set?e.forEach(function(e){return t._toggleClass(e,!1)}):Object.keys(e).forEach(function(e){return t._toggleClass(e,!1)}))}},{key:"_toggleClass",value:function(e,t){var n=this;(e=e.trim())&&e.split(/\s+/g).forEach(function(e){t?n._renderer.addClass(n._ngEl.nativeElement,e):n._renderer.removeClass(n._ngEl.nativeElement,e)})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(xo(Ts),xo(xs),xo(us),xo(cs))},e.\u0275dir=ht({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),e}(),uu=function(){function e(t,n,r,i){o(this,e),this.$implicit=t,this.ngForOf=n,this.index=r,this.count=i}return a(e,[{key:"first",get:function(){return 0===this.index}},{key:"last",get:function(){return this.index===this.count-1}},{key:"even",get:function(){return this.index%2==0}},{key:"odd",get:function(){return!this.even}}]),e}(),lu=function(){var e=function(){function e(t,n,r){o(this,e),this._viewContainer=t,this._template=n,this._differs=r,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}return a(e,[{key:"ngForOf",set:function(e){this._ngForOf=e,this._ngForOfDirty=!0}},{key:"ngForTrackBy",get:function(){return this._trackByFn},set:function(e){this._trackByFn=e}},{key:"ngForTemplate",set:function(e){e&&(this._template=e)}},{key:"ngDoCheck",value:function(){if(this._ngForOfDirty){this._ngForOfDirty=!1;var e=this._ngForOf;if(!this._differ&&e)try{this._differ=this._differs.find(e).create(this.ngForTrackBy)}catch(r){throw new Error("Cannot find a differ supporting object '".concat(e,"' of type '").concat((t=e).name||typeof t,"'. NgFor only supports binding to Iterables such as Arrays."))}}var t;if(this._differ){var n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}},{key:"_applyChanges",value:function(e){var t=this,n=[];e.forEachOperation(function(e,r,i){if(null==e.previousIndex){var o=t._viewContainer.createEmbeddedView(t._template,new uu(null,t._ngForOf,-1,-1),null===i?void 0:i),s=new cu(e,o);n.push(s)}else if(null==i)t._viewContainer.remove(null===r?void 0:r);else if(null!==r){var a=t._viewContainer.get(r);t._viewContainer.move(a,i);var u=new cu(e,a);n.push(u)}});for(var r=0;r<n.length;r++)this._perViewChange(n[r].view,n[r].record);for(var i=0,o=this._viewContainer.length;i<o;i++){var s=this._viewContainer.get(i);s.context.index=i,s.context.count=o,s.context.ngForOf=this._ngForOf}e.forEachIdentityChange(function(e){t._viewContainer.get(e.currentIndex).context.$implicit=e.item})}},{key:"_perViewChange",value:function(e,t){e.context.$implicit=t.item}}],[{key:"ngTemplateContextGuard",value:function(e,t){return!0}}]),e}();return e.\u0275fac=function(t){return new(t||e)(xo(Qs),xo(Vs),xo(Ts))},e.\u0275dir=ht({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),e}(),cu=a(function e(t,n){o(this,e),this.record=t,this.view=n}),fu=function(){var e=function(){function e(t,n){o(this,e),this._viewContainer=t,this._context=new hu,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=n}return a(e,[{key:"ngIf",set:function(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}},{key:"ngIfThen",set:function(e){du("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}},{key:"ngIfElse",set:function(e){du("ngIfElse",e),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}},{key:"_updateView",value:function(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}}],[{key:"ngTemplateContextGuard",value:function(e,t){return!0}}]),e}();return e.\u0275fac=function(t){return new(t||e)(xo(Qs),xo(Vs))},e.\u0275dir=ht({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),e}(),hu=a(function e(){o(this,e),this.$implicit=null,this.ngIf=null});function du(e,t){if(t&&!t.createEmbeddedView)throw new Error("".concat(e," must be a TemplateRef, but received '").concat(_e(t),"'."))}var vu,yu=function(){var e=function(){function e(t){o(this,e),this._viewContainerRef=t,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}return a(e,[{key:"ngOnChanges",value:function(e){if(this._shouldRecreateView(e)){var t=this._viewContainerRef;this._viewRef&&t.remove(t.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?t.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&this.ngTemplateOutletContext&&this._updateExistingContext(this.ngTemplateOutletContext)}},{key:"_shouldRecreateView",value:function(e){var t=e.ngTemplateOutletContext;return!!e.ngTemplateOutlet||t&&this._hasContextShapeChanged(t)}},{key:"_hasContextShapeChanged",value:function(e){var t=Object.keys(e.previousValue||{}),n=Object.keys(e.currentValue||{});if(t.length===n.length){var r,i=m(n);try{for(i.s();!(r=i.n()).done;)if(-1===t.indexOf(r.value))return!0}catch(o){i.e(o)}finally{i.f()}return!1}return!0}},{key:"_updateExistingContext",value:function(e){for(var t=0,n=Object.keys(e);t<n.length;t++){var r=n[t];this._viewRef.context[r]=this.ngTemplateOutletContext[r]}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(xo(Qs))},e.\u0275dir=ht({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[Tt]}),e}(),pu=function(){var e=a(function e(){o(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=ct({type:e}),e.\u0275inj=Ie({providers:[{provide:ou,useClass:su}]}),e}(),mu=function(e){l(n,e);var t=v(n);function n(){return o(this,n),t.apply(this,arguments)}return a(n,[{key:"getProperty",value:function(e,t){return e[t]}},{key:"log",value:function(e){window.console&&window.console.log&&window.console.log(e)}},{key:"logGroup",value:function(e){window.console&&window.console.group&&window.console.group(e)}},{key:"logGroupEnd",value:function(){window.console&&window.console.groupEnd&&window.console.groupEnd()}},{key:"onAndCancel",value:function(e,t,n){return e.addEventListener(t,n,!1),function(){e.removeEventListener(t,n,!1)}}},{key:"dispatchEvent",value:function(e,t){e.dispatchEvent(t)}},{key:"remove",value:function(e){return e.parentNode&&e.parentNode.removeChild(e),e}},{key:"getValue",value:function(e){return e.value}},{key:"createElement",value:function(e,t){return(t=t||this.getDefaultDocument()).createElement(e)}},{key:"createHtmlDocument",value:function(){return document.implementation.createHTMLDocument("fakeTitle")}},{key:"getDefaultDocument",value:function(){return document}},{key:"isElementNode",value:function(e){return e.nodeType===Node.ELEMENT_NODE}},{key:"isShadowRoot",value:function(e){return e instanceof DocumentFragment}},{key:"getGlobalEventTarget",value:function(e,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null}},{key:"getHistory",value:function(){return window.history}},{key:"getLocation",value:function(){return window.location}},{key:"getBaseHref",value:function(e){var t,n=gu||(gu=document.querySelector("base"))?gu.getAttribute("href"):null;return null==n?null:(t=n,vu||(vu=document.createElement("a")),vu.setAttribute("href",t),"/"===vu.pathname.charAt(0)?vu.pathname:"/"+vu.pathname)}},{key:"resetBaseElement",value:function(){gu=null}},{key:"getUserAgent",value:function(){return window.navigator.userAgent}},{key:"performanceNow",value:function(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}},{key:"supportsCookies",value:function(){return!0}},{key:"getCookie",value:function(e){return function(e,t){t=encodeURIComponent(t);var n,r=m(e.split(";"));try{for(r.s();!(n=r.n()).done;){var i=n.value,o=i.indexOf("="),s=g(-1==o?[i,""]:[i.slice(0,o),i.slice(o+1)],2),a=s[1];if(s[0].trim()===t)return decodeURIComponent(a)}}catch(u){r.e(u)}finally{r.f()}return null}(document.cookie,e)}}],[{key:"makeCurrent",value:function(){var e;e=new n,eu||(eu=e)}}]),n}(function(e){l(n,e);var t=v(n);function n(){return o(this,n),t.call(this)}return a(n,[{key:"supportsDOMEvents",value:function(){return!0}}]),n}(nu)),gu=null,_u=new Jn("TRANSITION_ID"),ku=[{provide:aa,useFactory:function(e,t,n){return function(){n.get(ua).donePromise.then(function(){var n=tu();Array.prototype.slice.apply(t.querySelectorAll("style[ng-transition]")).filter(function(t){return t.getAttribute("ng-transition")===e}).forEach(function(e){return n.remove(e)})})}},deps:[_u,ru,mo],multi:!0}],wu=function(){function e(){o(this,e)}return a(e,[{key:"addToWindow",value:function(e){We.getAngularTestability=function(t){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=e.findTestabilityInTree(t,n);if(null==r)throw new Error("Could not find testability for element.");return r},We.getAllAngularTestabilities=function(){return e.getAllTestabilities()},We.getAllAngularRootElements=function(){return e.getAllRootElements()},We.frameworkStabilizers||(We.frameworkStabilizers=[]),We.frameworkStabilizers.push(function(e){var t=We.getAllAngularTestabilities(),n=t.length,r=!1,i=function(t){r=r||t,0==--n&&e(r)};t.forEach(function(e){e.whenStable(i)})})}},{key:"findTestabilityInTree",value:function(e,t,n){if(null==t)return null;var r=e.getTestability(t);return null!=r?r:n?tu().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null}}],[{key:"init",value:function(){var t;t=new e,Va=t}}]),e}(),bu=new Jn("EventManagerPlugins"),Eu=function(){var e=function(){function e(t,n){var r=this;o(this,e),this._zone=n,this._eventNameToPlugin=new Map,t.forEach(function(e){return e.manager=r}),this._plugins=t.slice().reverse()}return a(e,[{key:"addEventListener",value:function(e,t,n){return this._findPluginFor(t).addEventListener(e,t,n)}},{key:"addGlobalEventListener",value:function(e,t,n){return this._findPluginFor(t).addGlobalEventListener(e,t,n)}},{key:"getZone",value:function(){return this._zone}},{key:"_findPluginFor",value:function(e){var t=this._eventNameToPlugin.get(e);if(t)return t;for(var n=this._plugins,r=0;r<n.length;r++){var i=n[r];if(i.supports(e))return this._eventNameToPlugin.set(e,i),i}throw new Error("No event manager plugin found for event ".concat(e))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(lr(bu),lr(Aa))},e.\u0275prov=Ae({token:e,factory:e.\u0275fac}),e}(),Su=function(){function e(t){o(this,e),this._doc=t}return a(e,[{key:"addGlobalEventListener",value:function(e,t,n){var r=tu().getGlobalEventTarget(this._doc,e);if(!r)throw new Error("Unsupported event target ".concat(r," for event ").concat(t));return this.addEventListener(r,t,n)}}]),e}(),Tu=function(){var e=function(){function e(){o(this,e),this._stylesSet=new Set}return a(e,[{key:"addStyles",value: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)}},{key:"onStylesAdded",value:function(e){}},{key:"getAllStyles",value:function(){return Array.from(this._stylesSet)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Ae({token:e,factory:e.\u0275fac}),e}(),Cu=function(){var e=function(e){l(n,e);var t=v(n);function n(e){var r;return o(this,n),(r=t.call(this))._doc=e,r._hostNodes=new Map,r._hostNodes.set(e.head,[]),r}return a(n,[{key:"_addStylesToHost",value:function(e,t,n){var r=this;e.forEach(function(e){var i=r._doc.createElement("style");i.textContent=e,n.push(t.appendChild(i))})}},{key:"addHost",value:function(e){var t=[];this._addStylesToHost(this._stylesSet,e,t),this._hostNodes.set(e,t)}},{key:"removeHost",value:function(e){var t=this._hostNodes.get(e);t&&t.forEach(xu),this._hostNodes.delete(e)}},{key:"onStylesAdded",value:function(e){var t=this;this._hostNodes.forEach(function(n,r){t._addStylesToHost(e,r,n)})}},{key:"ngOnDestroy",value:function(){this._hostNodes.forEach(function(e){return e.forEach(xu)})}}]),n}(Tu);return e.\u0275fac=function(t){return new(t||e)(lr(ru))},e.\u0275prov=Ae({token:e,factory:e.\u0275fac}),e}();function xu(e){tu().remove(e)}var Au={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/"},Iu=/%COMP%/g,Ou="%COMP%",Du="_nghost-".concat(Ou),Pu="_ngcontent-".concat(Ou);function Nu(e,t,n){for(var r=0;r<t.length;r++){var i=t[r];Array.isArray(i)?Nu(e,i,n):(i=i.replace(Iu,e),n.push(i))}return n}function Fu(e){return function(t){if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}var Ru=function(){var e=function(){function e(t,n,r){o(this,e),this.eventManager=t,this.sharedStylesHost=n,this.appId=r,this.rendererByCompId=new Map,this.defaultRenderer=new ju(t)}return a(e,[{key:"createRenderer",value:function(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case Qe.Emulated:var n=this.rendererByCompId.get(t.id);return n||(n=new Mu(this.eventManager,this.sharedStylesHost,t,this.appId),this.rendererByCompId.set(t.id,n)),n.applyToHost(e),n;case 1:case Qe.ShadowDom:return new Vu(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){var r=Nu(t.id,t.styles,[]);this.sharedStylesHost.addStyles(r),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}}},{key:"begin",value:function(){}},{key:"end",value:function(){}}]),e}();return e.\u0275fac=function(t){return new(t||e)(lr(Eu),lr(Cu),lr(la))},e.\u0275prov=Ae({token:e,factory:e.\u0275fac}),e}(),ju=function(){function e(t){o(this,e),this.eventManager=t,this.data=Object.create(null)}return a(e,[{key:"destroy",value:function(){}},{key:"createElement",value:function(e,t){return t?document.createElementNS(Au[t]||t,e):document.createElement(e)}},{key:"createComment",value:function(e){return document.createComment(e)}},{key:"createText",value:function(e){return document.createTextNode(e)}},{key:"appendChild",value:function(e,t){e.appendChild(t)}},{key:"insertBefore",value:function(e,t,n){e&&e.insertBefore(t,n)}},{key:"removeChild",value:function(e,t){e&&e.removeChild(t)}},{key:"selectRootElement",value:function(e,t){var n="string"==typeof e?document.querySelector(e):e;if(!n)throw new Error('The selector "'.concat(e,'" did not match any elements'));return t||(n.textContent=""),n}},{key:"parentNode",value:function(e){return e.parentNode}},{key:"nextSibling",value:function(e){return e.nextSibling}},{key:"setAttribute",value:function(e,t,n,r){if(r){t=r+":"+t;var i=Au[r];i?e.setAttributeNS(i,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)}},{key:"removeAttribute",value:function(e,t,n){if(n){var r=Au[n];r?e.removeAttributeNS(r,t):e.removeAttribute("".concat(n,":").concat(t))}else e.removeAttribute(t)}},{key:"addClass",value:function(e,t){e.classList.add(t)}},{key:"removeClass",value:function(e,t){e.classList.remove(t)}},{key:"setStyle",value:function(e,t,n,r){r&(Ar.DashCase|Ar.Important)?e.style.setProperty(t,n,r&Ar.Important?"important":""):e.style[t]=n}},{key:"removeStyle",value:function(e,t,n){n&Ar.DashCase?e.style.removeProperty(t):e.style[t]=""}},{key:"setProperty",value:function(e,t,n){e[t]=n}},{key:"setValue",value:function(e,t){e.nodeValue=t}},{key:"listen",value:function(e,t,n){return"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,Fu(n)):this.eventManager.addEventListener(e,t,Fu(n))}}]),e}(),Mu=function(e){l(n,e);var t=v(n);function n(e,r,i,s){var a;o(this,n),(a=t.call(this,e)).component=i;var u=Nu(s+"-"+i.id,i.styles,[]);return r.addStyles(u),a.contentAttr=Pu.replace(Iu,s+"-"+i.id),a.hostAttr=Du.replace(Iu,s+"-"+i.id),a}return a(n,[{key:"applyToHost",value:function(e){i(r(n.prototype),"setAttribute",this).call(this,e,this.hostAttr,"")}},{key:"createElement",value:function(e,t){var o=i(r(n.prototype),"createElement",this).call(this,e,t);return i(r(n.prototype),"setAttribute",this).call(this,o,this.contentAttr,""),o}}]),n}(ju),Vu=function(e){l(n,e);var t=v(n);function n(e,r,i,s){var a;o(this,n),(a=t.call(this,e)).sharedStylesHost=r,a.hostEl=i,a.shadowRoot=i.attachShadow({mode:"open"}),a.sharedStylesHost.addHost(a.shadowRoot);for(var u=Nu(s.id,s.styles,[]),l=0;l<u.length;l++){var c=document.createElement("style");c.textContent=u[l],a.shadowRoot.appendChild(c)}return a}return a(n,[{key:"nodeOrShadowRoot",value:function(e){return e===this.hostEl?this.shadowRoot:e}},{key:"destroy",value:function(){this.sharedStylesHost.removeHost(this.shadowRoot)}},{key:"appendChild",value:function(e,t){return i(r(n.prototype),"appendChild",this).call(this,this.nodeOrShadowRoot(e),t)}},{key:"insertBefore",value:function(e,t,o){return i(r(n.prototype),"insertBefore",this).call(this,this.nodeOrShadowRoot(e),t,o)}},{key:"removeChild",value:function(e,t){return i(r(n.prototype),"removeChild",this).call(this,this.nodeOrShadowRoot(e),t)}},{key:"parentNode",value:function(e){return this.nodeOrShadowRoot(i(r(n.prototype),"parentNode",this).call(this,this.nodeOrShadowRoot(e)))}}]),n}(ju),Lu=function(){var e=function(e){l(n,e);var t=v(n);function n(e){return o(this,n),t.call(this,e)}return a(n,[{key:"supports",value:function(e){return!0}},{key:"addEventListener",value:function(e,t,n){var r=this;return e.addEventListener(t,n,!1),function(){return r.removeEventListener(e,t,n)}}},{key:"removeEventListener",value:function(e,t,n){return e.removeEventListener(t,n)}}]),n}(Su);return e.\u0275fac=function(t){return new(t||e)(lr(ru))},e.\u0275prov=Ae({token:e,factory:e.\u0275fac}),e}(),Hu=["alt","control","meta","shift"],Uu={"\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"},Bu={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"},qu={alt:function(e){return e.altKey},control:function(e){return e.ctrlKey},meta:function(e){return e.metaKey},shift:function(e){return e.shiftKey}},Qu=function(){var e=function(e){l(n,e);var t=v(n);function n(e){return o(this,n),t.call(this,e)}return a(n,[{key:"supports",value:function(e){return null!=n.parseEventName(e)}},{key:"addEventListener",value:function(e,t,r){var i=n.parseEventName(t),o=n.eventCallback(i.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(function(){return tu().onAndCancel(e,i.domEventName,o)})}}],[{key:"parseEventName",value:function(e){var t=e.toLowerCase().split("."),r=t.shift();if(0===t.length||"keydown"!==r&&"keyup"!==r)return null;var i=n._normalizeKey(t.pop()),o="";if(Hu.forEach(function(e){var n=t.indexOf(e);n>-1&&(t.splice(n,1),o+=e+".")}),o+=i,0!=t.length||0===i.length)return null;var s={};return s.domEventName=r,s.fullKey=o,s}},{key:"getEventFullKey",value:function(e){var t="",n=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&&Bu.hasOwnProperty(t)&&(t=Bu[t]))}return Uu[t]||t}(e);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),Hu.forEach(function(r){r!=n&&(0,qu[r])(e)&&(t+=r+".")}),t+=n}},{key:"eventCallback",value:function(e,t,r){return function(i){n.getEventFullKey(i)===e&&r.runGuarded(function(){return t(i)})}}},{key:"_normalizeKey",value:function(e){switch(e){case"esc":return"escape";default:return e}}}]),n}(Su);return e.\u0275fac=function(t){return new(t||e)(lr(ru))},e.\u0275prov=Ae({token:e,factory:e.\u0275fac}),e}(),zu=Qa(Ya,"browser",[{provide:da,useValue:"browser"},{provide:ha,useValue:function(){mu.makeCurrent(),wu.init()},multi:!0},{provide:ru,useFactory:function(){return function(e){Ot=e}(document),document},deps:[]}]),Ku=[[],{provide:no,useValue:"root"},{provide:Sr,useFactory:function(){return new Sr},deps:[]},{provide:bu,useClass:Lu,multi:!0,deps:[ru,Aa,da]},{provide:bu,useClass:Qu,multi:!0,deps:[ru]},[],{provide:Ru,useClass:Ru,deps:[Eu,Cu,la]},{provide:ls,useExisting:Ru},{provide:Tu,useExisting:Cu},{provide:Cu,useClass:Cu,deps:[ru]},{provide:ja,useClass:ja,deps:[Aa]},{provide:Eu,useClass:Eu,deps:[bu,Aa]},[]],Gu=function(){var e=function(){function e(t){if(o(this,e),t)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}return a(e,null,[{key:"withServerTransition",value:function(t){return{ngModule:e,providers:[{provide:la,useValue:t.appId},{provide:_u,useExisting:la},ku]}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(lr(e,12))},e.\u0275mod=ct({type:e}),e.\u0275inj=Ie({providers:Ku,imports:[pu,Xa]}),e}();"undefined"!=typeof window&&window;var Zu=function(){function e(){var e=window.location.search;this.authQs=this.constructAuthQueryString(e)}return e.prototype.addAuthQsToUrl=function(e){if(!this.authQs.length)return e;var t,n=-1!==e.indexOf("?"),r=-1!==e.indexOf("#");return n?""+(t=e.split("?"))[0]+this.authQs+"&"+t[1]:r?""+(t=e.split("#"))[0]+this.authQs+"#"+t[1]:""+e+this.authQs},e.prototype.getAuthQs=function(){return this.authQs},e.prototype.getEkitFromUrl=function(e){if(-1!==e.indexOf("ekit")){var t=e.split("ekit=");if(2===t.length){var n=t[1],r=n.indexOf("&");return-1!==r&&(n=n.substring(0,r)),-1!==n.indexOf("==")&&(n=encodeURIComponent(n)),n}}return null},e.prototype.getGapImpersonateNameFromUrl=function(e){if(-1!==e.indexOf("impersonate")){var t=e.split("impersonate=");if(2===t.length)return t[1]}return null},e.prototype.constructAuthQueryString=function(e){if(null===e||0===e.length)return"";var t=this.getGapImpersonateNameFromUrl(e),n=this.getEkitFromUrl(e);return null!==n?"?ekit="+n:null!==t?"?impersonate="+t:""},e.\u0275prov=Ae({token:e,factory:e.\u0275fac=function(t){return new(t||e)}}),e}(),Wu=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=ct({type:e}),e.\u0275inj=Ie({providers:[Zu]}),e}(),$u=a(function e(){o(this,e)}),Yu=a(function e(){o(this,e)}),Ju="*";function Xu(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:4,styles:t,timings:e}}function el(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:2,steps:e,options:t}}function tl(e){return{type:6,styles:e,offset:null}}function nl(e,t,n){return{type:0,name:e,styles:t,options:n}}function rl(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return{type:1,expr:e,animation:t,options:n}}function il(e){Promise.resolve(null).then(e)}var ol=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;o(this,e),this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=t+n}return a(e,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(e){return e()}),this._onDoneFns=[])}},{key:"onStart",value:function(e){this._onStartFns.push(e)}},{key:"onDone",value:function(e){this._onDoneFns.push(e)}},{key:"onDestroy",value:function(e){this._onDestroyFns.push(e)}},{key:"hasStarted",value:function(){return this._started}},{key:"init",value:function(){}},{key:"play",value:function(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}},{key:"triggerMicrotask",value:function(){var e=this;il(function(){return e._onFinish()})}},{key:"_onStart",value:function(){this._onStartFns.forEach(function(e){return e()}),this._onStartFns=[]}},{key:"pause",value:function(){}},{key:"restart",value:function(){}},{key:"finish",value:function(){this._onFinish()}},{key:"destroy",value:function(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(function(e){return e()}),this._onDestroyFns=[])}},{key:"reset",value:function(){}},{key:"setPosition",value:function(e){this._position=this.totalTime?e*this.totalTime:1}},{key:"getPosition",value:function(){return this.totalTime?this._position/this.totalTime:1}},{key:"triggerCallback",value:function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(function(e){return e()}),t.length=0}}]),e}(),sl=function(){function e(t){var n=this;o(this,e),this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;var r=0,i=0,s=0,a=this.players.length;0==a?il(function(){return n._onFinish()}):this.players.forEach(function(e){e.onDone(function(){++r==a&&n._onFinish()}),e.onDestroy(function(){++i==a&&n._onDestroy()}),e.onStart(function(){++s==a&&n._onStart()})}),this.totalTime=this.players.reduce(function(e,t){return Math.max(e,t.totalTime)},0)}return a(e,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(e){return e()}),this._onDoneFns=[])}},{key:"init",value:function(){this.players.forEach(function(e){return e.init()})}},{key:"onStart",value:function(e){this._onStartFns.push(e)}},{key:"_onStart",value:function(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(function(e){return e()}),this._onStartFns=[])}},{key:"onDone",value:function(e){this._onDoneFns.push(e)}},{key:"onDestroy",value:function(e){this._onDestroyFns.push(e)}},{key:"hasStarted",value:function(){return this._started}},{key:"play",value:function(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(function(e){return e.play()})}},{key:"pause",value:function(){this.players.forEach(function(e){return e.pause()})}},{key:"restart",value:function(){this.players.forEach(function(e){return e.restart()})}},{key:"finish",value:function(){this._onFinish(),this.players.forEach(function(e){return e.finish()})}},{key:"destroy",value:function(){this._onDestroy()}},{key:"_onDestroy",value:function(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(function(e){return e.destroy()}),this._onDestroyFns.forEach(function(e){return e()}),this._onDestroyFns=[])}},{key:"reset",value:function(){this.players.forEach(function(e){return e.reset()}),this._destroyed=!1,this._finished=!1,this._started=!1}},{key:"setPosition",value:function(e){var t=e*this.totalTime;this.players.forEach(function(e){var n=e.totalTime?Math.min(1,t/e.totalTime):1;e.setPosition(n)})}},{key:"getPosition",value:function(){var e=this.players.reduce(function(e,t){return null===e||t.totalTime>e.totalTime?t:e},null);return null!=e?e.getPosition():0}},{key:"beforeDestroy",value:function(){this.players.forEach(function(e){e.beforeDestroy&&e.beforeDestroy()})}},{key:"triggerCallback",value:function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(function(e){return e()}),t.length=0}}]),e}(),al="!",ul=function(e){return e.ABOUT="ABOUT",e.SERVICES="SERVICES",e.COMMUNITY="COMMUNITY",e.LEGAL="LEGAL",e.SUPPORT="SUPPORT",e}({});function ll(e){return Array.isArray(e)?e:[e]}var cl=function(e){l(n,e);var t=v(n);function n(){return o(this,n),t.apply(this,arguments)}return a(n,[{key:"notifyNext",value:function(e,t,n,r,i){this.destination.next(t)}},{key:"notifyError",value:function(e,t){this.destination.error(e)}},{key:"notifyComplete",value:function(e){this.destination.complete()}}]),n}(N),fl=function(e){l(n,e);var t=v(n);function n(e,r,i){var s;return o(this,n),(s=t.call(this)).parent=e,s.outerValue=r,s.outerIndex=i,s.index=0,s}return a(n,[{key:"_next",value:function(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)}},{key:"_error",value:function(e){this.parent.notifyError(e,this),this.unsubscribe()}},{key:"_complete",value:function(){this.parent.notifyComplete(this),this.unsubscribe()}}]),n}(N);function hl(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:new fl(e,n,r);if(!i.closed)return t instanceof V?t.subscribe(i):ee(t)(i)}var dl={},vl=function(){function e(t){o(this,e),this.resultSelector=t}return a(e,[{key:"call",value:function(e,t){return t.subscribe(new yl(e,this.resultSelector))}}]),e}(),yl=function(e){l(n,e);var t=v(n);function n(e,r){var i;return o(this,n),(i=t.call(this,e)).resultSelector=r,i.active=0,i.values=[],i.observables=[],i}return a(n,[{key:"_next",value:function(e){this.values.push(dl),this.observables.push(e)}},{key:"_complete",value: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++)this.add(hl(this,e[n],void 0,n))}}},{key:"notifyComplete",value:function(e){0==(this.active-=1)&&this.destination.complete()}},{key:"notifyNext",value:function(e,t,n){var r=this.values,i=this.toRespond?r[n]===dl?--this.toRespond:this.toRespond:0;r[n]=t,0===i&&(this.resultSelector?this._tryResultSelector(r):this.destination.next(r.slice()))}},{key:"_tryResultSelector",value:function(e){var t;try{t=this.resultSelector.apply(this,e)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}]),n}(cl);function pl(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t[t.length-1];return z(r)?(t.pop(),te(t,r)):ce(t)}function ml(){return le(1)}function gl(){return ml()(pl.apply(void 0,arguments))}var _l=function(){function e(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return e.prototype=Object.create(Error.prototype),e}(),kl=function(){function e(t){if(o(this,e),this.total=t,this.total<0)throw new _l}return a(e,[{key:"call",value:function(e,t){return t.subscribe(new wl(e,this.total))}}]),e}(),wl=function(e){l(n,e);var t=v(n);function n(e,r){var i;return o(this,n),(i=t.call(this,e)).total=r,i.count=0,i}return a(n,[{key:"_next",value:function(e){var t=this.total,n=++this.count;n<=t&&(this.destination.next(e),n===t&&(this.destination.complete(),this.unsubscribe()))}}]),n}(N),bl=function(){function e(t){o(this,e),this.total=t}return a(e,[{key:"call",value:function(e,t){return t.subscribe(new El(e,this.total))}}]),e}(),El=function(e){l(n,e);var t=v(n);function n(e,r){var i;return o(this,n),(i=t.call(this,e)).total=r,i.count=0,i}return a(n,[{key:"_next",value:function(e){++this.count>this.total&&this.destination.next(e)}}]),n}(N),Sl=function(e){l(n,e);var t=v(n);function n(e,r){var i;return o(this,n),(i=t.call(this,e,r)).scheduler=e,i.work=r,i.pending=!1,i}return a(n,[{key:"schedule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this.closed)return this;this.state=e;var n=this.id,r=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(r,n,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(r,this.id,t),this}},{key:"requestAsyncId",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return setInterval(e.flush.bind(e,this),n)}},{key:"recycleAsyncId",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==n&&this.delay===n&&!1===this.pending)return t;clearInterval(t)}},{key:"execute",value:function(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var n=this._execute(e,t);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}},{key:"_execute",value:function(e,t){var n=!1,r=void 0;try{this.work(e)}catch(i){n=!0,r=!!i&&i||new Error(i)}if(n)return this.unsubscribe(),r}},{key:"_unsubscribe",value:function(){var e=this.id,t=this.scheduler,n=t.actions,r=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==r&&n.splice(r,1),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null}}]),n}(function(e){l(n,e);var t=v(n);function n(e,r){return o(this,n),t.call(this)}return a(n,[{key:"schedule",value:function(e){return this}}]),n}(C)),Tl=function(){var e=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.now;o(this,e),this.SchedulerAction=t,this.now=n}return a(e,[{key:"schedule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0;return new this.SchedulerAction(this,e).schedule(n,t)}}]),e}();return e.now=function(){return Date.now()},e}(),Cl=new(function(e){l(n,e);var t=v(n);function n(e){var r,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Tl.now;return o(this,n),(r=t.call(this,e,function(){return n.delegate&&n.delegate!==h(r)?n.delegate.now():i()})).actions=[],r.active=!1,r.scheduled=void 0,r}return a(n,[{key:"schedule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o=arguments.length>2?arguments[2]:void 0;return n.delegate&&n.delegate!==this?n.delegate.schedule(e,t,o):i(r(n.prototype),"schedule",this).call(this,e,t,o)}},{key:"flush",value:function(e){var t=this.actions;if(this.active)t.push(e);else{var n;this.active=!0;do{if(n=e.execute(e.state,e.delay))break}while(e=t.shift());if(this.active=!1,n){for(;e=t.shift();)e.unsubscribe();throw n}}}}]),n}(Tl))(Sl),xl=function(){function e(t,n){o(this,e),this.dueTime=t,this.scheduler=n}return a(e,[{key:"call",value:function(e,t){return t.subscribe(new Al(e,this.dueTime,this.scheduler))}}]),e}(),Al=function(e){l(n,e);var t=v(n);function n(e,r,i){var s;return o(this,n),(s=t.call(this,e)).dueTime=r,s.scheduler=i,s.debouncedSubscription=null,s.lastValue=null,s.hasValue=!1,s}return a(n,[{key:"_next",value:function(e){this.clearDebounce(),this.lastValue=e,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(Il,this.dueTime,this))}},{key:"_complete",value:function(){this.debouncedNext(),this.destination.complete()}},{key:"debouncedNext",value:function(){if(this.clearDebounce(),this.hasValue){var e=this.lastValue;this.lastValue=null,this.hasValue=!1,this.destination.next(e)}}},{key:"clearDebounce",value:function(){var e=this.debouncedSubscription;null!==e&&(this.remove(e),e.unsubscribe(),this.debouncedSubscription=null)}}]),n}(N);function Il(e){e.debouncedNext()}var Ol,Dl=function(){function e(t){o(this,e),this.notifier=t}return a(e,[{key:"call",value:function(e,t){var n=new Pl(e),r=oe(this.notifier,new re(n));return r&&!n.seenValue?(n.add(r),t.subscribe(n)):n}}]),e}(),Pl=function(e){l(n,e);var t=v(n);function n(e){var r;return o(this,n),(r=t.call(this,e)).seenValue=!1,r}return a(n,[{key:"notifyNext",value:function(){this.seenValue=!0,this.complete()}},{key:"notifyComplete",value:function(){}}]),n}(ie);try{Ol="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(rd){Ol=!1}var Nl,Fl=function(){var e=a(function e(t){o(this,e),this._platformId=t,this.isBrowser=this._platformId?"browser"===this._platformId:"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!Ol)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT});return e.\u0275fac=function(t){return new(t||e)(lr(da))},e.\u0275prov=Ae({factory:function(){return new e(lr(da))},token:e,providedIn:"root"}),e}(),Rl=new Set,jl=function(){var e=function(){function e(t){o(this,e),this._platform=t,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Ml}return a(e,[{key:"matchMedia",value:function(e){return this._platform.WEBKIT&&function(e){if(!Rl.has(e))try{Nl||((Nl=document.createElement("style")).setAttribute("type","text/css"),document.head.appendChild(Nl)),Nl.sheet&&(Nl.sheet.insertRule("@media ".concat(e," {.fx-query-test{ }}"),0),Rl.add(e))}catch(t){console.error(t)}}(e),this._matchMedia(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(lr(Fl))},e.\u0275prov=Ae({factory:function(){return new e(lr(Fl))},token:e,providedIn:"root"}),e}();function Ml(e){return{matches:"all"===e||""===e,media:e,addListener:function(){},removeListener:function(){}}}var Vl=function(){var e=function(){function e(t,n){o(this,e),this._mediaMatcher=t,this._zone=n,this._queries=new Map,this._destroySubject=new q}return a(e,[{key:"ngOnDestroy",value:function(){this._destroySubject.next(),this._destroySubject.complete()}},{key:"isMatched",value:function(e){var t=this;return Ll(ll(e)).some(function(e){return t._registerQuery(e).mql.matches})}},{key:"observe",value:function(e){var t=this,n=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=void 0,i=void 0;return z(t[t.length-1])&&(i=t.pop()),"function"==typeof t[t.length-1]&&(r=t.pop()),1===t.length&&b(t[0])&&(t=t[0]),ce(t,i).lift(new vl(r))}(Ll(ll(e)).map(function(e){return t._registerQuery(e).observable}));return(n=gl(n.pipe(function(e){return e.lift(new kl(1))}),n.pipe(function(e){return e.lift(new bl(1))},function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Cl;return function(n){return n.lift(new xl(e,t))}}(0)))).pipe(K(function(e){var t={matches:!1,breakpoints:{}};return e.forEach(function(e){var n=e.matches,r=e.query;t.matches=t.matches||n,t.breakpoints[r]=n}),t}))}},{key:"_registerQuery",value:function(e){var t=this;if(this._queries.has(e))return this._queries.get(e);var n,r=this._mediaMatcher.matchMedia(e),i={observable:new V(function(e){var n=function(n){return t._zone.run(function(){return e.next(n)})};return r.addListener(n),function(){r.removeListener(n)}}).pipe(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t[t.length-1];return z(r)?(t.pop(),function(e){return gl(t,e,r)}):function(e){return gl(t,e)}}(r),K(function(t){return{query:e,matches:t.matches}}),(n=this._destroySubject,function(e){return e.lift(new Dl(n))})),mql:r};return this._queries.set(e,i),i}}]),e}();return e.\u0275fac=function(t){return new(t||e)(lr(jl),lr(Aa))},e.\u0275prov=Ae({factory:function(){return new e(lr(jl),lr(Aa))},token:e,providedIn:"root"}),e}();function Ll(e){return e.map(function(e){return e.split(",")}).reduce(function(e,t){return e.concat(t)}).map(function(e){return e.trim()})}function Hl(e,t){1&e&&Ro(0)}function Ul(e,t){if(1&e&&(Oo(0,"ul"),To(1,Hl,1,0,"ng-container",20),Do()),2&e){qo();var n=Co(6);Ao("@accordianAnimator",qo().$implicit.isOpen?"expanded":"collapsed"),hi(1),Ao("ngTemplateOutlet",n)}}function Bl(e,t){1&e&&Ro(0)}function ql(e,t){if(1&e&&(Oo(0,"ul"),To(1,Bl,1,0,"ng-container",20),Do()),2&e){qo();var n=Co(6);hi(1),Ao("ngTemplateOutlet",n)}}function Ql(e,t){if(1&e&&(Oo(0,"li"),Oo(1,"a",21),Ko(2,"Blog"),Do(),Do(),Oo(3,"li"),Oo(4,"a",3),Ko(5,"Careers"),Do(),Do(),Oo(6,"li"),Oo(7,"a",3),Ko(8,"Refund Policy"),Do(),Do(),Oo(9,"li"),Oo(10,"a",21),Ko(11,"Affiliate Program"),Do(),Do()),2&e){var n=qo(3);hi(1),Qo("href",n.blogUrl,kr),hi(3),Qo("href",n.careersUrl,kr),hi(3),Qo("href",n.refundPolicyUrl,kr),hi(3),Qo("href",n.affiliateProgramUrl,kr)}}var zl=function(e,t){return{expanded:e,collapsed:t}};function Kl(e,t){if(1&e){var n=jo();Oo(0,"li",16),Vo("click",function(){Kt(n);var e=qo().index;return qo().openMenu(e)}),Oo(1,"a",17),Ko(2,"ABOUT"),Do(),To(3,Ul,2,2,"ul",18),To(4,ql,2,1,"ul",18),To(5,Ql,12,4,"ng-template",null,19,sa),Do()}if(2&e){var r=qo().$implicit,i=qo();hi(1),Ao("ngClass",ra(3,zl,r.isOpen&&!i.isGt720,!r.isOpen&&!i.isGt720)),hi(2),Ao("ngIf",!i.isGt720),hi(1),Ao("ngIf",i.isGt720)}}function Gl(e,t){1&e&&Ro(0)}function Zl(e,t){if(1&e&&(Oo(0,"ul"),To(1,Gl,1,0,"ng-container",20),Do()),2&e){qo();var n=Co(6);Ao("@accordianAnimator",qo().$implicit.isOpen?"expanded":"collapsed"),hi(1),Ao("ngTemplateOutlet",n)}}function Wl(e,t){1&e&&Ro(0)}function $l(e,t){if(1&e&&(Oo(0,"ul"),To(1,Wl,1,0,"ng-container",20),Do()),2&e){qo();var n=Co(6);hi(1),Ao("ngTemplateOutlet",n)}}function Yl(e,t){if(1&e&&(Oo(0,"li"),Oo(1,"a",3),Ko(2,"Family Finder"),Do(),Do(),Oo(3,"li"),Oo(4,"a",3),Ko(5,"Family Finder + myDNA Wellness"),Do(),Do(),Oo(6,"li"),Oo(7,"a",3),Ko(8,"Y-DNA"),Do(),Do(),Oo(9,"li"),Oo(10,"a",3),Ko(11,"Big Y"),Do(),Do(),Oo(12,"li"),Oo(13,"a",3),Ko(14,"mtDNA"),Do(),Do(),Oo(15,"li"),Oo(16,"a",3),Ko(17,"Gift Cards"),Do(),Do()),2&e){var n=qo(3);hi(1),Qo("href",n.familyFinder,kr),hi(3),Qo("href",n.familyFinderWellness,kr),hi(3),Qo("href",n.ydna,kr),hi(3),Qo("href",n.bigy,kr),hi(3),Qo("href",n.mtDna,kr),hi(3),Qo("href",n.giftCards,kr)}}function Jl(e,t){if(1&e){var n=jo();Oo(0,"li",16),Vo("click",function(){Kt(n);var e=qo().index;return qo().openMenu(e)}),Oo(1,"a",17),Ko(2,"SERVICES"),Do(),To(3,Zl,2,2,"ul",18),To(4,$l,2,1,"ul",18),To(5,Yl,18,6,"ng-template",null,22,sa),Do()}if(2&e){var r=qo().$implicit,i=qo();hi(1),Ao("ngClass",ra(3,zl,r.isOpen&&!i.isGt720,!r.isOpen&&!i.isGt720)),hi(2),Ao("ngIf",!i.isGt720),hi(1),Ao("ngIf",i.isGt720)}}function Xl(e,t){1&e&&Ro(0)}function ec(e,t){if(1&e&&(Oo(0,"ul"),To(1,Xl,1,0,"ng-container",20),Do()),2&e){qo();var n=Co(6);Ao("@accordianAnimator",qo().$implicit.isOpen?"expanded":"collapsed"),hi(1),Ao("ngTemplateOutlet",n)}}function tc(e,t){1&e&&Ro(0)}function nc(e,t){if(1&e&&(Oo(0,"ul"),To(1,tc,1,0,"ng-container",20),Do()),2&e){qo();var n=Co(6);hi(1),Ao("ngTemplateOutlet",n)}}function rc(e,t){if(1&e&&(Oo(0,"li"),Oo(1,"a",3),Ko(2,"Group Projects"),Do(),Do(),Oo(3,"li"),Oo(4,"a",3),Ko(5,"Forums"),Do(),Do(),Oo(6,"li"),Oo(7,"a",3),Ko(8,"Y-DNA Haplotree"),Do(),Do(),Oo(9,"li"),Oo(10,"a",3),Ko(11,"mtDNA Haplotree"),Do(),Do()),2&e){var n=qo(3);hi(1),Qo("href",n.projectsUrl,kr),hi(3),Qo("href",n.forumsUrl,kr),hi(3),Qo("href",n.ydnaHaplotreeUrl,kr),hi(3),Qo("href",n.mtdnaHaplotreeUrl,kr)}}function ic(e,t){if(1&e){var n=jo();Oo(0,"li",16),Vo("click",function(){Kt(n);var e=qo().index;return qo().openMenu(e)}),Oo(1,"a",17),Ko(2,"COMMUNITY"),Do(),To(3,ec,2,2,"ul",18),To(4,nc,2,1,"ul",18),To(5,rc,12,4,"ng-template",null,23,sa),Do()}if(2&e){var r=qo().$implicit,i=qo();hi(1),Ao("ngClass",ra(3,zl,r.isOpen&&!i.isGt720,!r.isOpen&&!i.isGt720)),hi(2),Ao("ngIf",!i.isGt720),hi(1),Ao("ngIf",i.isGt720)}}function oc(e,t){1&e&&Ro(0)}function sc(e,t){if(1&e&&(Oo(0,"ul"),To(1,oc,1,0,"ng-container",20),Do()),2&e){qo();var n=Co(6);Ao("@accordianAnimator",qo().$implicit.isOpen?"expanded":"collapsed"),hi(1),Ao("ngTemplateOutlet",n)}}function ac(e,t){1&e&&Ro(0)}function uc(e,t){if(1&e&&(Oo(0,"ul"),To(1,ac,1,0,"ng-container",20),Do()),2&e){qo();var n=Co(6);hi(1),Ao("ngTemplateOutlet",n)}}function lc(e,t){if(1&e&&(Oo(0,"li"),Oo(1,"a",3),Ko(2,"Terms of Service"),Do(),Do(),Oo(3,"li"),Oo(4,"a",3),Ko(5,"Privacy Statement"),Do(),Do(),Oo(6,"li"),Oo(7,"a",3),Ko(8,"Cookie Policy"),Do(),Do(),Oo(9,"li"),Oo(10,"a",3),Ko(11,"Cookie Settings"),Do(),Do(),Oo(12,"li"),Oo(13,"a",3),Ko(14,"All Policies"),Do(),Do()),2&e){var n=qo(3);hi(1),Qo("href",n.termsOfServiceUrl,kr),hi(3),Qo("href",n.privacyUrl,kr),hi(3),Qo("href",n.cookiePolicyUrl,kr),hi(3),Qo("href",n.cookieSettingsUrl,kr),hi(3),Qo("href",n.allPoliciesUrl,kr)}}function cc(e,t){if(1&e){var n=jo();Oo(0,"li",16),Vo("click",function(){Kt(n);var e=qo().index;return qo().openMenu(e)}),Oo(1,"a",17),Ko(2,"LEGAL"),Do(),To(3,sc,2,2,"ul",18),To(4,uc,2,1,"ul",18),To(5,lc,15,5,"ng-template",null,24,sa),Do()}if(2&e){var r=qo().$implicit,i=qo();hi(1),Ao("ngClass",ra(3,zl,r.isOpen&&!i.isGt720,!r.isOpen&&!i.isGt720)),hi(2),Ao("ngIf",!i.isGt720),hi(1),Ao("ngIf",i.isGt720)}}function fc(e,t){1&e&&Ro(0)}function hc(e,t){if(1&e&&(Oo(0,"ul"),To(1,fc,1,0,"ng-container",20),Do()),2&e){qo();var n=Co(6);Ao("@accordianAnimator",qo().$implicit.isOpen?"expanded":"collapsed"),hi(1),Ao("ngTemplateOutlet",n)}}function dc(e,t){1&e&&Ro(0)}function vc(e,t){if(1&e&&(Oo(0,"ul"),To(1,dc,1,0,"ng-container",20),Do()),2&e){qo();var n=Co(6);hi(1),Ao("ngTemplateOutlet",n)}}function yc(e,t){if(1&e&&(Oo(0,"li"),Oo(1,"a",3),Ko(2,"Help Center"),Do(),Do(),Oo(3,"li"),Oo(4,"a",3),Ko(5,"Glossary"),Do(),Do(),Oo(6,"li"),Oo(7,"a",3),Ko(8,"Contact Us"),Do(),Do()),2&e){var n=qo(3);hi(1),Qo("href",n.helpCenterUrl,kr),hi(3),Qo("href",n.glossaryUrl,kr),hi(3),Qo("href",n.contactUrl,kr)}}function pc(e,t){if(1&e){var n=jo();Oo(0,"li",16),Vo("click",function(){Kt(n);var e=qo().index;return qo().openMenu(e)}),Oo(1,"a",17),Ko(2,"SUPPORT"),Do(),To(3,hc,2,2,"ul",18),To(4,vc,2,1,"ul",18),To(5,yc,9,3,"ng-template",null,25,sa),Do()}if(2&e){var r=qo().$implicit,i=qo();hi(1),Ao("ngClass",ra(3,zl,r.isOpen&&!i.isGt720,!r.isOpen&&!i.isGt720)),hi(2),Ao("ngIf",!i.isGt720),hi(1),Ao("ngIf",i.isGt720)}}function mc(e,t){if(1&e&&(No(0),To(1,Kl,7,6,"li",15),To(2,Jl,7,6,"li",15),To(3,ic,7,6,"li",15),To(4,cc,7,6,"li",15),To(5,pc,7,6,"li",15),Fo()),2&e){var n=t.$implicit,r=qo();hi(1),Ao("ngIf",n.menu==r.menuEnum.ABOUT),hi(1),Ao("ngIf",n.menu==r.menuEnum.SERVICES),hi(1),Ao("ngIf",n.menu==r.menuEnum.COMMUNITY),hi(1),Ao("ngIf",n.menu==r.menuEnum.LEGAL),hi(1),Ao("ngIf",n.menu==r.menuEnum.SUPPORT)}}var gc=function(){function e(e,t,n){this.urlsService=e,this.changeDetectionRef=t,this.breakpointObserver=n,this.currentYear=2018,this.affiliateProgramUrl="https://signup.cj.com/member/signup/publisher/?cid=5249658",this.blogUrl="https://blog.familytreedna.com/",this.facebookUrl="https://www.facebook.com/FamilyTreeDNA",this.forumsUrl="http://forums.familytreedna.com/",this.glossaryUrl="https://www.familytreedna.com/learn/glossary",this.instagramUrl="http://instagram.com/familytreedna",this.helpCenterUrl="https://help.familytreedna.com/hc/en-us",this.twitterUrl="https://twitter.com/familytreedna",this.youtubeUrl="https://www.youtube.com/c/FamilyTreeDNA",this.menu=[{menu:ul.ABOUT,isOpen:!1},{menu:ul.SERVICES,isOpen:!1},{menu:ul.COMMUNITY,isOpen:!1},{menu:ul.LEGAL,isOpen:!1},{menu:ul.SUPPORT,isOpen:!1}],this.menuEnum=ul,this.subscriptions=new C,this.isGt720=!1}var t;return e.prototype.ngOnInit=function(){var e=new Date;this.currentYear=e.getFullYear(),this.allPoliciesUrl=this.urlsService.addAuthQsToUrl(this.wwwUrl+"legal"),this.careersUrl=this.urlsService.addAuthQsToUrl(this.wwwUrl+"careers.aspx"),this.cookiePolicyUrl=this.urlsService.addAuthQsToUrl(this.wwwUrl+"legal/cookie-policy"),this.cookieSettingsUrl=this.urlsService.addAuthQsToUrl(this.wwwUrl+"legal/cookie-declaration"),this.contactUrl=this.urlsService.addAuthQsToUrl(this.wwwUrl+"contact"),this.mtdnaHaplotreeUrl=this.urlsService.addAuthQsToUrl(this.wwwUrl+"public/mt-dna-haplotree"),this.privacyUrl=this.urlsService.addAuthQsToUrl(this.wwwUrl+"legal/privacy-statement"),this.projectsUrl=this.urlsService.addAuthQsToUrl(this.wwwUrl+"group-project-search"),this.refundPolicyUrl=this.urlsService.addAuthQsToUrl(this.wwwUrl+"legal/refund-policy"),this.giftCards=this.urlsService.addAuthQsToUrl(this.wwwUrl+"gift-cards"),this.termsOfServiceUrl=this.urlsService.addAuthQsToUrl(this.wwwUrl+"legal/terms-of-service"),this.ydnaHaplotreeUrl=this.urlsService.addAuthQsToUrl(this.wwwUrl+"public/y-dna-haplotree"),this.familyFinder=this.urlsService.addAuthQsToUrl(this.wwwUrl+"products/family-finder"),this.familyFinderWellness=this.urlsService.addAuthQsToUrl(this.wwwUrl+"products/familyfinder-mydnawellness"),this.ydna=this.urlsService.addAuthQsToUrl(this.wwwUrl+"products/y-dna"),this.bigy=this.urlsService.addAuthQsToUrl(this.wwwUrl+"products/big-y"),this.mtDna=this.urlsService.addAuthQsToUrl(this.wwwUrl+"products/mt-dna"),this.logoUrl=this.getLogoUrl()},e.prototype.ngAfterViewInit=function(){var e=this,t="(min-width: 720px)";this.subscriptions.add(this.breakpointObserver.observe(t).subscribe(function(n){e.isGt720=n.breakpoints[t],e.changeDetectionRef.detectChanges()}))},e.prototype.getLogoUrl=function(){var e=-1!==window.location.href.indexOf("familytreedna.com/my/");return this.urlsService.addAuthQsToUrl(e?"/my/":"/")},e.prototype.openMenu=function(e){!0===this.menu[e].isOpen?this.menu[e].isOpen=!1:(this.menu.forEach(function(e){return e.isOpen=!1}),this.menu[e].isOpen=!0),this.changeDetectionRef.detectChanges()},e.\u0275fac=function(t){return new(t||e)(xo(Zu),xo(Ps),xo(Vl))},e.\u0275cmp=st({type:e,selectors:[["app-footer-root-container"]],inputs:{wwwUrl:"wwwUrl"},decls:19,vars:7,consts:[[1,"page-footer"],[1,"wrapper","footer-nli"],[1,"nav-brand"],[3,"href"],["src","/common/img/header-footer/assets/ftdna-brand.svg","alt","Family Tree DNA","height","48"],[1,"navigation"],[1,"menu"],[4,"ngFor","ngForOf"],[1,"social-network"],[1,"social-title"],["target","_blank",1,"twitter",3,"href"],["target","_blank",1,"facebook",3,"href"],["target","_blank",1,"instagram",3,"href"],["target","_blank",1,"youtube",3,"href"],[1,"copyrights-gxg"],[3,"click",4,"ngIf"],[3,"click"],[3,"ngClass"],[4,"ngIf"],["about",""],[4,"ngTemplateOutlet"],["target","_blank",3,"href"],["services",""],["community",""],["legal",""],["support",""]],template:function(e,t){1&e&&(Oo(0,"footer",0),Oo(1,"div",1),Oo(2,"div",2),Oo(3,"a",3),Po(4,"img",4),Do(),Do(),Oo(5,"div",5),Oo(6,"ul",6),To(7,mc,6,5,"ng-container",7),Do(),Do(),Oo(8,"div",8),Oo(9,"div",9),Ko(10,"CONNECT WITH US"),Do(),Oo(11,"div"),Po(12,"a",10),Po(13,"a",11),Po(14,"a",12),Po(15,"a",13),Do(),Do(),Oo(16,"div",14),Oo(17,"p"),Ko(18),Do(),Do(),Do(),Do()),2&e&&(hi(3),Qo("href",t.logoUrl,kr),hi(4),Ao("ngForOf",t.menu),hi(5),Qo("href",t.twitterUrl,kr),hi(1),Qo("href",t.facebookUrl,kr),hi(1),Qo("href",t.instagramUrl,kr),hi(1),Qo("href",t.youtubeUrl,kr),hi(3),Go("All Contents Copyright 2001-",t.currentYear," Gene by Gene, Ltd."))},directives:[lu,fu,au,yu],styles:[".banner-trigger[_ngcontent-%COMP%]{cursor:pointer}"],data:{animation:[(t=[nl("expanded",tl({height:"*",margin:"*",opacity:1,visibility:"visible"})),nl("collapsed",tl({height:"0px",margin:"0px",opacity:0,visibility:"hidden"})),rl("expanded <=> collapsed",Xu("200ms cubic-bezier(.37,1.04,.68,.98)"))],{type:7,name:"accordianAnimator",definitions:t,options:{}})]}}),e}(),_c=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=ct({type:e}),e.\u0275inj=Ie({providers:[],imports:[[pu,Wu]]}),e}(),kc=function(){function e(e){this.elRef=e;var t=this.elRef.nativeElement.getAttribute("wwwurl")||"";this.wwwUrl=t.length?"//"+t+"/":"/"}return e.\u0275fac=function(t){return new(t||e)(xo(us))},e.\u0275cmp=st({type:e,selectors:[["footer-root"]],decls:1,vars:1,consts:[[3,"wwwUrl"]],template:function(e,t){1&e&&Po(0,"app-footer-root-container",0),2&e&&Ao("wwwUrl",t.wwwUrl)},directives:[gc],encapsulation:2}),e}();function wc(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function bc(e){switch(e.length){case 0:return new ol;case 1:return e[0];default:return new sl(e)}}function Ec(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},s=[],a=[],u=-1,l=null;if(r.forEach(function(e){var n=e.offset,r=n==u,c=r&&l||{};Object.keys(e).forEach(function(n){var r=n,a=e[n];if("offset"!==n)switch(r=t.normalizePropertyName(r,s),a){case al:a=i[n];break;case Ju:a=o[n];break;default:a=t.normalizeStyleValue(n,r,a,s)}c[r]=a}),r||a.push(c),l=c,u=n}),s.length){var c="\n - ";throw new Error("Unable to animate due to the following errors:".concat(c).concat(s.join(c)))}return a}function Sc(e,t,n,r){switch(t){case"start":e.onStart(function(){return r(n&&Tc(n,"start",e))});break;case"done":e.onDone(function(){return r(n&&Tc(n,"done",e))});break;case"destroy":e.onDestroy(function(){return r(n&&Tc(n,"destroy",e))})}}function Tc(e,t,n){var r=n.totalTime,i=Cc(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,null==r?e.totalTime:r,!!n.disabled),o=e._data;return null!=o&&(i._data=o),i}function Cc(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"",o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,s=arguments.length>6?arguments[6]:void 0;return{element:e,triggerName:t,fromState:n,toState:r,phaseName:i,totalTime:o,disabled:!!s}}function xc(e,t,n){var r;return e instanceof Map?(r=e.get(t))||e.set(t,r=n):(r=e[t])||(r=e[t]=n),r}function Ac(e){var t=e.indexOf(":");return[e.substring(1,t),e.substr(t+1)]}var Ic=function(e,t){return!1},Oc=function(e,t){return!1},Dc=function(e,t,n){return[]},Pc=wc();(Pc||"undefined"!=typeof Element)&&(Ic=function(e,t){return e.contains(t)},Oc=function(){if(Pc||Element.prototype.matches)return function(e,t){return e.matches(t)};var e=Element.prototype,t=e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;return t?function(e,n){return t.apply(e,[n])}:Oc}(),Dc=function(e,t,n){var r=[];if(n)for(var i=e.querySelectorAll(t),o=0;o<i.length;o++)r.push(i[o]);else{var s=e.querySelector(t);s&&r.push(s)}return r});var Nc=null,Fc=!1;function Rc(e){Nc||(Nc=("undefined"!=typeof document?document.body:null)||{},Fc=!!Nc.style&&"WebkitAppearance"in Nc.style);var t=!0;return Nc.style&&!function(e){return"ebkit"==e.substring(1,6)}(e)&&!(t=e in Nc.style)&&Fc&&(t="Webkit"+e.charAt(0).toUpperCase()+e.substr(1)in Nc.style),t}var jc=Oc,Mc=Ic,Vc=Dc;function Lc(e){var t={};return Object.keys(e).forEach(function(n){var r=n.replace(/([a-z])([A-Z])/g,"$1-$2");t[r]=e[n]}),t}var Hc=function(){var e=function(){function e(){o(this,e)}return a(e,[{key:"validateStyleProperty",value:function(e){return Rc(e)}},{key:"matchesElement",value:function(e,t){return jc(e,t)}},{key:"containsElement",value:function(e,t){return Mc(e,t)}},{key:"query",value:function(e,t,n){return Vc(e,t,n)}},{key:"computeStyle",value:function(e,t,n){return n||""}},{key:"animate",value:function(e,t,n,r,i){return new ol(n,r)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Ae({token:e,factory:e.\u0275fac}),e}(),Uc=function(){var e=a(function e(){o(this,e)});return e.NOOP=new Hc,e}(),Bc="ng-enter",qc="ng-leave",Qc="ng-trigger",zc=".ng-trigger",Kc="ng-animating",Gc=".ng-animating";function Zc(e){if("number"==typeof e)return e;var t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:Wc(parseFloat(t[1]),t[2])}function Wc(e,t){switch(t){case"s":return 1e3*e;default:return e}}function $c(e,t,n){return e.hasOwnProperty("duration")?e:function(e,t,n){var r,i=0,o="";if("string"==typeof e){var s=e.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===s)return t.push('The provided timing value "'.concat(e,'" is invalid.')),{duration:0,delay:0,easing:""};r=Wc(parseFloat(s[1]),s[2]);var a=s[3];null!=a&&(i=Wc(parseFloat(a),s[4]));var u=s[5];u&&(o=u)}else r=e;if(!n){var l=!1,c=t.length;r<0&&(t.push("Duration values below 0 are not allowed for this animation step."),l=!0),i<0&&(t.push("Delay values below 0 are not allowed for this animation step."),l=!0),l&&t.splice(c,0,'The provided timing value "'.concat(e,'" is invalid.'))}return{duration:r,delay:i,easing:o}}(e,t,n)}function Yc(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).forEach(function(n){t[n]=e[n]}),t}function Jc(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(t)for(var r in e)n[r]=e[r];else Yc(e,n);return n}function Xc(e,t,n){return n?t+":"+n+";":""}function ef(e){for(var t="",n=0;n<e.style.length;n++){var r=e.style.item(n);t+=Xc(0,r,e.style.getPropertyValue(r))}for(var i in e.style)e.style.hasOwnProperty(i)&&!i.startsWith("_")&&(t+=Xc(0,i.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),e.style[i]));e.setAttribute("style",t)}function tf(e,t,n){e.style&&(Object.keys(t).forEach(function(r){var i=cf(r);n&&!n.hasOwnProperty(r)&&(n[r]=e.style[i]),e.style[i]=t[r]}),wc()&&ef(e))}function nf(e,t){e.style&&(Object.keys(t).forEach(function(t){var n=cf(t);e.style[n]=""}),wc()&&ef(e))}function rf(e){return Array.isArray(e)?1==e.length?e[0]:el(e):e}var of=new RegExp("".concat("{{","\\s*(.+?)\\s*").concat("}}"),"g");function sf(e){var t=[];if("string"==typeof e){for(var n;n=of.exec(e);)t.push(n[1]);of.lastIndex=0}return t}function af(e,t,n){var r=e.toString(),i=r.replace(of,function(e,r){var i=t[r];return t.hasOwnProperty(r)||(n.push("Please provide a value for the animation param ".concat(r)),i=""),i.toString()});return i==r?e:i}function uf(e){for(var t=[],n=e.next();!n.done;)t.push(n.value),n=e.next();return t}var lf=/-+([a-z0-9])/g;function cf(e){return e.replace(lf,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t[1].toUpperCase()})}function ff(e,t){return 0===e||0===t}function hf(e,t,n){var r=Object.keys(n);if(r.length&&t.length){var i=t[0],o=[];if(r.forEach(function(e){i.hasOwnProperty(e)||o.push(e),i[e]=n[e]}),o.length)for(var s=function(){var n=t[a];o.forEach(function(t){n[t]=vf(e,t)})},a=1;a<t.length;a++)s()}return t}function df(e,t,n){switch(t.type){case 7:return e.visitTrigger(t,n);case 0:return e.visitState(t,n);case 1:return e.visitTransition(t,n);case 2:return e.visitSequence(t,n);case 3:return e.visitGroup(t,n);case 4:return e.visitAnimate(t,n);case 5:return e.visitKeyframes(t,n);case 6:return e.visitStyle(t,n);case 8:return e.visitReference(t,n);case 9:return e.visitAnimateChild(t,n);case 10:return e.visitAnimateRef(t,n);case 11:return e.visitQuery(t,n);case 12:return e.visitStagger(t,n);default:throw new Error("Unable to resolve animation metadata node #".concat(t.type))}}function vf(e,t){return window.getComputedStyle(e)[t]}var yf="*",pf=new Set(["true","1"]),mf=new Set(["false","0"]);function gf(e,t){var n=pf.has(e)||mf.has(e),r=pf.has(t)||mf.has(t);return function(i,o){var s=e==yf||e==i,a=t==yf||t==o;return!s&&n&&"boolean"==typeof i&&(s=i?pf.has(e):mf.has(e)),!a&&r&&"boolean"==typeof o&&(a=o?pf.has(t):mf.has(t)),s&&a}}var _f=":self",kf=new RegExp("s*".concat(_f,"s*,?"),"g");function wf(e,t,n){return new bf(e).build(t,n)}var bf=function(){function e(t){o(this,e),this._driver=t}return a(e,[{key:"build",value:function(e,t){var n=new Ef(t);return this._resetContextStyleTimingState(n),df(this,rf(e),n)}},{key:"_resetContextStyleTimingState",value:function(e){e.currentQuerySelector="",e.collectedStyles={},e.collectedStyles[""]={},e.currentTime=0}},{key:"visitTrigger",value:function(e,t){var n=this,r=t.queryCount=0,i=t.depCount=0,o=[],s=[];return"@"==e.name.charAt(0)&&t.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),e.definitions.forEach(function(e){if(n._resetContextStyleTimingState(t),0==e.type){var a=e,u=a.name;u.toString().split(/\s*,\s*/).forEach(function(e){a.name=e,o.push(n.visitState(a,t))}),a.name=u}else if(1==e.type){var l=n.visitTransition(e,t);r+=l.queryCount,i+=l.depCount,s.push(l)}else t.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:e.name,states:o,transitions:s,queryCount:r,depCount:i,options:null}}},{key:"visitState",value:function(e,t){var n=this.visitStyle(e.styles,t),r=e.options&&e.options.params||null;if(n.containsDynamicStyles){var i=new Set,o=r||{};if(n.styles.forEach(function(e){if(Sf(e)){var t=e;Object.keys(t).forEach(function(e){sf(t[e]).forEach(function(e){o.hasOwnProperty(e)||i.add(e)})})}}),i.size){var s=uf(i.values());t.errors.push('state("'.concat(e.name,'", ...) must define default values for all the following style substitutions: ').concat(s.join(", ")))}}return{type:0,name:e.name,style:n,options:r?{params:r}:null}}},{key:"visitTransition",value:function(e,t){t.queryCount=0,t.depCount=0;var n,r,i,o=df(this,rf(e.animation),t);return{type:1,matchers:(n=e.expr,r=t.errors,i=[],"string"==typeof n?n.split(/\s*,\s*/).forEach(function(e){return function(e,t,n){if(":"==e[0]){var r=function(e,t){switch(e){case":enter":return"void => *";case":leave":return"* => void";case":increment":return function(e,t){return parseFloat(t)>parseFloat(e)};case":decrement":return function(e,t){return parseFloat(t)<parseFloat(e)};default:return t.push('The transition alias value "'.concat(e,'" is not supported')),"* => *"}}(e,n);if("function"==typeof r)return void t.push(r);e=r}var i=e.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return n.push('The provided transition expression "'.concat(e,'" is not supported')),t;var o=i[1],s=i[2],a=i[3];t.push(gf(o,a)),"<"!=s[0]||o==yf&&a==yf||t.push(gf(a,o))}(e,i,r)}):i.push(n),i),animation:o,queryCount:t.queryCount,depCount:t.depCount,options:Tf(e.options)}}},{key:"visitSequence",value:function(e,t){var n=this;return{type:2,steps:e.steps.map(function(e){return df(n,e,t)}),options:Tf(e.options)}}},{key:"visitGroup",value:function(e,t){var n=this,r=t.currentTime,i=0,o=e.steps.map(function(e){t.currentTime=r;var o=df(n,e,t);return i=Math.max(i,t.currentTime),o});return t.currentTime=i,{type:3,steps:o,options:Tf(e.options)}}},{key:"visitAnimate",value:function(e,t){var n,r=function(e,t){var n=null;if(e.hasOwnProperty("duration"))n=e;else if("number"==typeof e)return Cf($c(e,t).duration,0,"");var r=e;if(r.split(/\s+/).some(function(e){return"{"==e.charAt(0)&&"{"==e.charAt(1)})){var i=Cf(0,0,"");return i.dynamic=!0,i.strValue=r,i}return Cf((n=n||$c(r,t)).duration,n.delay,n.easing)}(e.timings,t.errors);t.currentAnimateTimings=r;var i=e.styles?e.styles:tl({});if(5==i.type)n=this.visitKeyframes(i,t);else{var o=e.styles,s=!1;if(!o){s=!0;var a={};r.easing&&(a.easing=r.easing),o=tl(a)}t.currentTime+=r.duration+r.delay;var u=this.visitStyle(o,t);u.isEmptyStep=s,n=u}return t.currentAnimateTimings=null,{type:4,timings:r,style:n,options:null}}},{key:"visitStyle",value:function(e,t){var n=this._makeStyleAst(e,t);return this._validateStyleAst(n,t),n}},{key:"_makeStyleAst",value:function(e,t){var n=[];Array.isArray(e.styles)?e.styles.forEach(function(e){"string"==typeof e?e==Ju?n.push(e):t.errors.push("The provided style string value ".concat(e," is not allowed.")):n.push(e)}):n.push(e.styles);var r=!1,i=null;return n.forEach(function(e){if(Sf(e)){var t=e,n=t.easing;if(n&&(i=n,delete t.easing),!r)for(var o in t)if(t[o].toString().indexOf("{{")>=0){r=!0;break}}}),{type:6,styles:n,easing:i,offset:e.offset,containsDynamicStyles:r,options:null}}},{key:"_validateStyleAst",value:function(e,t){var n=this,r=t.currentAnimateTimings,i=t.currentTime,o=t.currentTime;r&&o>0&&(o-=r.duration+r.delay),e.styles.forEach(function(e){"string"!=typeof e&&Object.keys(e).forEach(function(r){if(n._driver.validateStyleProperty(r)){var s,a,u,l=t.collectedStyles[t.currentQuerySelector],c=l[r],f=!0;c&&(o!=i&&o>=c.startTime&&i<=c.endTime&&(t.errors.push('The CSS property "'.concat(r,'" that exists between the times of "').concat(c.startTime,'ms" and "').concat(c.endTime,'ms" is also being animated in a parallel animation between the times of "').concat(o,'ms" and "').concat(i,'ms"')),f=!1),o=c.startTime),f&&(l[r]={startTime:o,endTime:i}),t.options&&(s=t.errors,a=t.options.params||{},(u=sf(e[r])).length&&u.forEach(function(e){a.hasOwnProperty(e)||s.push("Unable to resolve the local animation param ".concat(e," in the given list of values"))}))}else t.errors.push('The provided animation property "'.concat(r,'" is not a supported CSS property for animations'))})})}},{key:"visitKeyframes",value:function(e,t){var n=this,r={type:5,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push("keyframes() must be placed inside of a call to animate()"),r;var i=0,o=[],s=!1,a=!1,u=0,l=e.steps.map(function(e){var r=n._makeStyleAst(e,t),l=null!=r.offset?r.offset:function(e){if("string"==typeof e)return null;var t=null;if(Array.isArray(e))e.forEach(function(e){if(Sf(e)&&e.hasOwnProperty("offset")){var n=e;t=parseFloat(n.offset),delete n.offset}});else if(Sf(e)&&e.hasOwnProperty("offset")){var n=e;t=parseFloat(n.offset),delete n.offset}return t}(r.styles),c=0;return null!=l&&(i++,c=r.offset=l),a=a||c<0||c>1,s=s||c<u,u=c,o.push(c),r});a&&t.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),s&&t.errors.push("Please ensure that all keyframe offsets are in order");var c=e.steps.length,f=0;i>0&&i<c?t.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==i&&(f=1/(c-1));var h=c-1,d=t.currentTime,v=t.currentAnimateTimings,y=v.duration;return l.forEach(function(e,i){var s=f>0?i==h?1:f*i:o[i],a=s*y;t.currentTime=d+v.delay+a,v.duration=a,n._validateStyleAst(e,t),e.offset=s,r.styles.push(e)}),r}},{key:"visitReference",value:function(e,t){return{type:8,animation:df(this,rf(e.animation),t),options:Tf(e.options)}}},{key:"visitAnimateChild",value:function(e,t){return t.depCount++,{type:9,options:Tf(e.options)}}},{key:"visitAnimateRef",value:function(e,t){return{type:10,animation:this.visitReference(e.animation,t),options:Tf(e.options)}}},{key:"visitQuery",value:function(e,t){var n=t.currentQuerySelector,r=e.options||{};t.queryCount++,t.currentQuery=e;var i=g(function(e){var t=!!e.split(/\s*,\s*/).find(function(e){return e==_f});return t&&(e=e.replace(kf,"")),[e=e.replace(/@\*/g,zc).replace(/@\w+/g,function(e){return".ng-trigger-"+e.substr(1)}).replace(/:animating/g,Gc),t]}(e.selector),2),o=i[0],s=i[1];t.currentQuerySelector=n.length?n+" "+o:o,xc(t.collectedStyles,t.currentQuerySelector,{});var a=df(this,rf(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=n,{type:11,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:s,animation:a,originalSelector:e.selector,options:Tf(e.options)}}},{key:"visitStagger",value:function(e,t){t.currentQuery||t.errors.push("stagger() can only be used inside of query()");var n="full"===e.timings?{duration:0,delay:0,easing:"full"}:$c(e.timings,t.errors,!0);return{type:12,animation:df(this,rf(e.animation),t),timings:n,options:null}}}]),e}(),Ef=a(function e(t){o(this,e),this.errors=t,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null});function Sf(e){return!Array.isArray(e)&&"object"==typeof e}function Tf(e){var t;return e?(e=Yc(e)).params&&(e.params=(t=e.params)?Yc(t):null):e={},e}function Cf(e,t,n){return{duration:e,delay:t,easing:n}}function xf(e,t,n,r,i,o){var s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,a=arguments.length>7&&void 0!==arguments[7]&&arguments[7];return{type:1,element:e,keyframes:t,preStyleProps:n,postStyleProps:r,duration:i,delay:o,totalTime:i+o,easing:s,subTimeline:a}}var Af=function(){function e(){o(this,e),this._map=new Map}return a(e,[{key:"consume",value:function(e){var t=this._map.get(e);return t?this._map.delete(e):t=[],t}},{key:"append",value:function(e,t){var n,r=this._map.get(e);r||this._map.set(e,r=[]),(n=r).push.apply(n,_(t))}},{key:"has",value:function(e){return this._map.has(e)}},{key:"clear",value:function(){this._map.clear()}}]),e}(),If=new RegExp(":enter","g"),Of=new RegExp(":leave","g");function Df(e,t,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:{},a=arguments.length>7?arguments[7]:void 0,u=arguments.length>8?arguments[8]:void 0,l=arguments.length>9&&void 0!==arguments[9]?arguments[9]:[];return(new Pf).buildKeyframes(e,t,n,r,i,o,s,a,u,l)}var Pf=function(){function e(){o(this,e)}return a(e,[{key:"buildKeyframes",value:function(e,t,n,r,i,o,s,a,u){var l=arguments.length>9&&void 0!==arguments[9]?arguments[9]:[];u=u||new Af;var c=new Ff(e,t,u,r,i,l,[]);c.options=a,c.currentTimeline.setStyles([o],null,c.errors,a),df(this,n,c);var f=c.timelines.filter(function(e){return e.containsAnimation()});if(f.length&&Object.keys(s).length){var h=f[f.length-1];h.allowOnlyTimelineStyles()||h.setStyles([s],null,c.errors,a)}return f.length?f.map(function(e){return e.buildKeyframes()}):[xf(t,[],[],[],0,0,"",!1)]}},{key:"visitTrigger",value:function(e,t){}},{key:"visitState",value:function(e,t){}},{key:"visitTransition",value:function(e,t){}},{key:"visitAnimateChild",value:function(e,t){var n=t.subInstructions.consume(t.element);if(n){var r=t.createSubContext(e.options),i=t.currentTimeline.currentTime,o=this._visitSubInstructions(n,r,r.options);i!=o&&t.transformIntoNewTimeline(o)}t.previousNode=e}},{key:"visitAnimateRef",value:function(e,t){var n=t.createSubContext(e.options);n.transformIntoNewTimeline(),this.visitReference(e.animation,n),t.transformIntoNewTimeline(n.currentTimeline.currentTime),t.previousNode=e}},{key:"_visitSubInstructions",value:function(e,t,n){var r=t.currentTimeline.currentTime,i=null!=n.duration?Zc(n.duration):null,o=null!=n.delay?Zc(n.delay):null;return 0!==i&&e.forEach(function(e){var n=t.appendInstructionToTimeline(e,i,o);r=Math.max(r,n.duration+n.delay)}),r}},{key:"visitReference",value:function(e,t){t.updateOptions(e.options,!0),df(this,e.animation,t),t.previousNode=e}},{key:"visitSequence",value:function(e,t){var n=this,r=t.subContextCount,i=t,o=e.options;if(o&&(o.params||o.delay)&&((i=t.createSubContext(o)).transformIntoNewTimeline(),null!=o.delay)){6==i.previousNode.type&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=Nf);var s=Zc(o.delay);i.delayNextStep(s)}e.steps.length&&(e.steps.forEach(function(e){return df(n,e,i)}),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>r&&i.transformIntoNewTimeline()),t.previousNode=e}},{key:"visitGroup",value:function(e,t){var n=this,r=[],i=t.currentTimeline.currentTime,o=e.options&&e.options.delay?Zc(e.options.delay):0;e.steps.forEach(function(s){var a=t.createSubContext(e.options);o&&a.delayNextStep(o),df(n,s,a),i=Math.max(i,a.currentTimeline.currentTime),r.push(a.currentTimeline)}),r.forEach(function(e){return t.currentTimeline.mergeTimelineCollectedStyles(e)}),t.transformIntoNewTimeline(i),t.previousNode=e}},{key:"_visitTiming",value:function(e,t){if(e.dynamic){var n=e.strValue;return $c(t.params?af(n,t.params,t.errors):n,t.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}}},{key:"visitAnimate",value:function(e,t){var n=t.currentAnimateTimings=this._visitTiming(e.timings,t),r=t.currentTimeline;n.delay&&(t.incrementTime(n.delay),r.snapshotCurrentStyles());var i=e.style;5==i.type?this.visitKeyframes(i,t):(t.incrementTime(n.duration),this.visitStyle(i,t),r.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}},{key:"visitStyle",value:function(e,t){var n=t.currentTimeline,r=t.currentAnimateTimings;!r&&n.getCurrentStyleProperties().length&&n.forwardFrame();var i=r&&r.easing||e.easing;e.isEmptyStep?n.applyEmptyStep(i):n.setStyles(e.styles,i,t.errors,t.options),t.previousNode=e}},{key:"visitKeyframes",value:function(e,t){var n=t.currentAnimateTimings,r=t.currentTimeline.duration,i=n.duration,o=t.createSubContext().currentTimeline;o.easing=n.easing,e.styles.forEach(function(e){o.forwardTime((e.offset||0)*i),o.setStyles(e.styles,e.easing,t.errors,t.options),o.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(o),t.transformIntoNewTimeline(r+i),t.previousNode=e}},{key:"visitQuery",value:function(e,t){var n=this,r=t.currentTimeline.currentTime,i=e.options||{},o=i.delay?Zc(i.delay):0;o&&(6===t.previousNode.type||0==r&&t.currentTimeline.getCurrentStyleProperties().length)&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=Nf);var s=r,a=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!i.optional,t.errors);t.currentQueryTotal=a.length;var u=null;a.forEach(function(r,i){t.currentQueryIndex=i;var a=t.createSubContext(e.options,r);o&&a.delayNextStep(o),r===t.element&&(u=a.currentTimeline),df(n,e.animation,a),a.currentTimeline.applyStylesToKeyframe(),s=Math.max(s,a.currentTimeline.currentTime)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(s),u&&(t.currentTimeline.mergeTimelineCollectedStyles(u),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}},{key:"visitStagger",value:function(e,t){var n=t.parentContext,r=t.currentTimeline,i=e.timings,o=Math.abs(i.duration),s=o*(t.currentQueryTotal-1),a=o*t.currentQueryIndex;switch(i.duration<0?"reverse":i.easing){case"reverse":a=s-a;break;case"full":a=n.currentStaggerTime}var u=t.currentTimeline;a&&u.delayNextStep(a);var l=u.currentTime;df(this,e.animation,t),t.previousNode=e,n.currentStaggerTime=r.currentTime-l+(r.startTime-n.currentTimeline.startTime)}}]),e}(),Nf={},Ff=function(){function e(t,n,r,i,s,a,u,l){o(this,e),this._driver=t,this.element=n,this.subInstructions=r,this._enterClassName=i,this._leaveClassName=s,this.errors=a,this.timelines=u,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Nf,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new Rf(this._driver,n,0),u.push(this.currentTimeline)}return a(e,[{key:"params",get:function(){return this.options.params}},{key:"updateOptions",value:function(e,t){var n=this;if(e){var r=e,i=this.options;null!=r.duration&&(i.duration=Zc(r.duration)),null!=r.delay&&(i.delay=Zc(r.delay));var o=r.params;if(o){var s=i.params;s||(s=this.options.params={}),Object.keys(o).forEach(function(e){t&&s.hasOwnProperty(e)||(s[e]=af(o[e],s,n.errors))})}}}},{key:"_copyOptions",value:function(){var e={};if(this.options){var t=this.options.params;if(t){var n=e.params={};Object.keys(t).forEach(function(e){n[e]=t[e]})}}return e}},{key:"createSubContext",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1?arguments[1]:void 0,r=arguments.length>2?arguments[2]:void 0,i=n||this.element,o=new e(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,r||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(t),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}},{key:"transformIntoNewTimeline",value:function(e){return this.previousNode=Nf,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}},{key:"appendInstructionToTimeline",value:function(e,t,n){var r={duration:null!=t?t:e.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+e.delay,easing:""},i=new jf(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,r,e.stretchStartingKeyframe);return this.timelines.push(i),r}},{key:"incrementTime",value:function(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}},{key:"delayNextStep",value:function(e){e>0&&this.currentTimeline.delayNextStep(e)}},{key:"invokeQuery",value:function(e,t,n,r,i,o){var s=[];if(r&&s.push(this.element),e.length>0){e=(e=e.replace(If,"."+this._enterClassName)).replace(Of,"."+this._leaveClassName);var a=this._driver.query(this.element,e,1!=n);0!==n&&(a=n<0?a.slice(a.length+n,a.length):a.slice(0,n)),s.push.apply(s,_(a))}return i||0!=s.length||o.push('`query("'.concat(t,'")` returned zero elements. (Use `query("').concat(t,'", { optional: true })` if you wish to allow this.)')),s}}]),e}(),Rf=function(){function e(t,n,r,i){o(this,e),this._driver=t,this.element=n,this.startTime=r,this._elementTimelineStylesLookup=i,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(n),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(n,this._localTimelineStyles)),this._loadKeyframe()}return a(e,[{key:"containsAnimation",value:function(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}},{key:"getCurrentStyleProperties",value:function(){return Object.keys(this._currentKeyframe)}},{key:"currentTime",get:function(){return this.startTime+this.duration}},{key:"delayNextStep",value:function(e){var t=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}},{key:"fork",value:function(t,n){return this.applyStylesToKeyframe(),new e(this._driver,t,n||this.currentTime,this._elementTimelineStylesLookup)}},{key:"_loadKeyframe",value:function(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}},{key:"forwardFrame",value:function(){this.duration+=1,this._loadKeyframe()}},{key:"forwardTime",value:function(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}},{key:"_updateStyle",value:function(e,t){this._localTimelineStyles[e]=t,this._globalTimelineStyles[e]=t,this._styleSummary[e]={time:this.currentTime,value:t}}},{key:"allowOnlyTimelineStyles",value:function(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}},{key:"applyEmptyStep",value:function(e){var t=this;e&&(this._previousKeyframe.easing=e),Object.keys(this._globalTimelineStyles).forEach(function(e){t._backFill[e]=t._globalTimelineStyles[e]||Ju,t._currentKeyframe[e]=Ju}),this._currentEmptyStepKeyframe=this._currentKeyframe}},{key:"setStyles",value:function(e,t,n,r){var i=this;t&&(this._previousKeyframe.easing=t);var o=r&&r.params||{},s=function(e,t){var n,r={};return e.forEach(function(e){"*"===e?(n=n||Object.keys(t)).forEach(function(e){r[e]=Ju}):Jc(e,!1,r)}),r}(e,this._globalTimelineStyles);Object.keys(s).forEach(function(e){var t=af(s[e],o,n);i._pendingStyles[e]=t,i._localTimelineStyles.hasOwnProperty(e)||(i._backFill[e]=i._globalTimelineStyles.hasOwnProperty(e)?i._globalTimelineStyles[e]:Ju),i._updateStyle(e,t)})}},{key:"applyStylesToKeyframe",value:function(){var e=this,t=this._pendingStyles,n=Object.keys(t);0!=n.length&&(this._pendingStyles={},n.forEach(function(n){e._currentKeyframe[n]=t[n]}),Object.keys(this._localTimelineStyles).forEach(function(t){e._currentKeyframe.hasOwnProperty(t)||(e._currentKeyframe[t]=e._localTimelineStyles[t])}))}},{key:"snapshotCurrentStyles",value:function(){var e=this;Object.keys(this._localTimelineStyles).forEach(function(t){var n=e._localTimelineStyles[t];e._pendingStyles[t]=n,e._updateStyle(t,n)})}},{key:"getFinalKeyframe",value:function(){return this._keyframes.get(this.duration)}},{key:"properties",get:function(){var e=[];for(var t in this._currentKeyframe)e.push(t);return e}},{key:"mergeTimelineCollectedStyles",value:function(e){var t=this;Object.keys(e._styleSummary).forEach(function(n){var r=t._styleSummary[n],i=e._styleSummary[n];(!r||i.time>r.time)&&t._updateStyle(n,i.value)})}},{key:"buildKeyframes",value:function(){var e=this;this.applyStylesToKeyframe();var t=new Set,n=new Set,r=1===this._keyframes.size&&0===this.duration,i=[];this._keyframes.forEach(function(o,s){var a=Jc(o,!0);Object.keys(a).forEach(function(e){var r=a[e];r==al?t.add(e):r==Ju&&n.add(e)}),r||(a.offset=s/e.duration),i.push(a)});var o=t.size?uf(t.values()):[],s=n.size?uf(n.values()):[];if(r){var a=i[0],u=Yc(a);a.offset=0,u.offset=1,i=[a,u]}return xf(this.element,i,o,s,this.duration,this.startTime,this.easing,!1)}}]),e}(),jf=function(e){l(n,e);var t=v(n);function n(e,r,i,s,a,u){var l,c=arguments.length>6&&void 0!==arguments[6]&&arguments[6];return o(this,n),(l=t.call(this,e,r,u.delay)).element=r,l.keyframes=i,l.preStyleProps=s,l.postStyleProps=a,l._stretchStartingKeyframe=c,l.timings={duration:u.duration,delay:u.delay,easing:u.easing},l}return a(n,[{key:"containsAnimation",value:function(){return this.keyframes.length>1}},{key:"buildKeyframes",value:function(){var e=this.keyframes,t=this.timings,n=t.delay,r=t.duration,i=t.easing;if(this._stretchStartingKeyframe&&n){var o=[],s=r+n,a=n/s,u=Jc(e[0],!1);u.offset=0,o.push(u);var l=Jc(e[0],!1);l.offset=Mf(a),o.push(l);for(var c=e.length-1,f=1;f<=c;f++){var h=Jc(e[f],!1);h.offset=Mf((n+h.offset*r)/s),o.push(h)}r=s,n=0,i="",e=o}return xf(this.element,e,this.preStyleProps,this.postStyleProps,r,n,i,!0)}}]),n}(Rf);function Mf(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3,n=Math.pow(10,t-1);return Math.round(e*n)/n}var Vf=a(function e(){o(this,e)}),Lf=function(e){l(n,e);var t=v(n);function n(){return o(this,n),t.apply(this,arguments)}return a(n,[{key:"normalizePropertyName",value:function(e,t){return cf(e)}},{key:"normalizeStyleValue",value:function(e,t,n,r){var i="",o=n.toString().trim();if(Hf[t]&&0!==n&&"0"!==n)if("number"==typeof n)i="px";else{var s=n.match(/^[+-]?[\d\.]+([a-z]*)$/);s&&0==s[1].length&&r.push("Please provide a CSS unit value for ".concat(e,":").concat(n))}return o+i}}]),n}(Vf),Hf=function(){return function(e){var t={};return e.forEach(function(e){return t[e]=!0}),t}("width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(","))}();function Uf(e,t,n,r,i,o,s,a,u,l,c,f,h){return{type:0,element:e,triggerName:t,isRemovalTransition:i,fromState:n,fromStyles:o,toState:r,toStyles:s,timelines:a,queriedElements:u,preStyleProps:l,postStyleProps:c,totalTime:f,errors:h}}var Bf={},qf=function(){function e(t,n,r){o(this,e),this._triggerName=t,this.ast=n,this._stateStyles=r}return a(e,[{key:"match",value:function(e,t,n,r){return function(e,t,n,r,i){return e.some(function(e){return e(t,n,r,i)})}(this.ast.matchers,e,t,n,r)}},{key:"buildStyles",value:function(e,t,n){var r=this._stateStyles["*"],i=this._stateStyles[e],o=r?r.buildStyles(t,n):{};return i?i.buildStyles(t,n):o}},{key:"build",value:function(e,t,n,r,i,o,s,a,u,l){var c=[],f=this.ast.options&&this.ast.options.params||Bf,h=this.buildStyles(n,s&&s.params||Bf,c),d=a&&a.params||Bf,v=this.buildStyles(r,d,c),y=new Set,p=new Map,m=new Map,g="void"===r,_={params:Object.assign(Object.assign({},f),d)},k=l?[]:Df(e,t,this.ast.animation,i,o,h,v,_,u,c),w=0;if(k.forEach(function(e){w=Math.max(e.duration+e.delay,w)}),c.length)return Uf(t,this._triggerName,n,r,g,h,v,[],[],p,m,w,c);k.forEach(function(e){var n=e.element,r=xc(p,n,{});e.preStyleProps.forEach(function(e){return r[e]=!0});var i=xc(m,n,{});e.postStyleProps.forEach(function(e){return i[e]=!0}),n!==t&&y.add(n)});var b=uf(y.values());return Uf(t,this._triggerName,n,r,g,h,v,k,b,p,m,w)}}]),e}(),Qf=function(){function e(t,n){o(this,e),this.styles=t,this.defaultParams=n}return a(e,[{key:"buildStyles",value:function(e,t){var n={},r=Yc(this.defaultParams);return Object.keys(e).forEach(function(t){var n=e[t];null!=n&&(r[t]=n)}),this.styles.styles.forEach(function(e){if("string"!=typeof e){var i=e;Object.keys(i).forEach(function(e){var o=i[e];o.length>1&&(o=af(o,r,t)),n[e]=o})}}),n}}]),e}(),zf=function(){function e(t,n){var r=this;o(this,e),this.name=t,this.ast=n,this.transitionFactories=[],this.states={},n.states.forEach(function(e){r.states[e.name]=new Qf(e.style,e.options&&e.options.params||{})}),Kf(this.states,"true","1"),Kf(this.states,"false","0"),n.transitions.forEach(function(e){r.transitionFactories.push(new qf(t,e,r.states))}),this.fallbackTransition=new qf(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(e,t){return!0}],options:null,queryCount:0,depCount:0},this.states)}return a(e,[{key:"containsQueries",get:function(){return this.ast.queryCount>0}},{key:"matchTransition",value:function(e,t,n,r){return this.transitionFactories.find(function(i){return i.match(e,t,n,r)})||null}},{key:"matchStyles",value:function(e,t,n){return this.fallbackTransition.buildStyles(e,t,n)}}]),e}();function Kf(e,t,n){e.hasOwnProperty(t)?e.hasOwnProperty(n)||(e[n]=e[t]):e.hasOwnProperty(n)&&(e[t]=e[n])}var Gf=new Af,Zf=function(){function e(t,n,r){o(this,e),this.bodyNode=t,this._driver=n,this._normalizer=r,this._animations={},this._playersById={},this.players=[]}return a(e,[{key:"register",value:function(e,t){var n=[],r=wf(this._driver,t,n);if(n.length)throw new Error("Unable to build the animation due to the following errors: ".concat(n.join("\n")));this._animations[e]=r}},{key:"_buildPlayer",value:function(e,t,n){var r=e.element,i=Ec(this._driver,this._normalizer,r,e.keyframes,t,n);return this._driver.animate(r,i,e.duration,e.delay,e.easing,[],!0)}},{key:"create",value:function(e,t){var n,r=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=[],s=this._animations[e],a=new Map;if(s?(n=Df(this._driver,t,s,Bc,qc,{},{},i,Gf,o)).forEach(function(e){var t=xc(a,e.element,{});e.postStyleProps.forEach(function(e){return t[e]=null})}):(o.push("The requested animation doesn't exist or has already been destroyed"),n=[]),o.length)throw new Error("Unable to create the animation due to the following errors: ".concat(o.join("\n")));a.forEach(function(e,t){Object.keys(e).forEach(function(n){e[n]=r._driver.computeStyle(t,n,Ju)})});var u=n.map(function(e){var t=a.get(e.element);return r._buildPlayer(e,{},t)}),l=bc(u);return this._playersById[e]=l,l.onDestroy(function(){return r.destroy(e)}),this.players.push(l),l}},{key:"destroy",value:function(e){var t=this._getPlayer(e);t.destroy(),delete this._playersById[e];var n=this.players.indexOf(t);n>=0&&this.players.splice(n,1)}},{key:"_getPlayer",value:function(e){var t=this._playersById[e];if(!t)throw new Error("Unable to find the timeline player referenced by ".concat(e));return t}},{key:"listen",value:function(e,t,n,r){var i=Cc(t,"","","");return Sc(this._getPlayer(e),n,i,r),function(){}}},{key:"command",value:function(e,t,n,r){if("register"!=n)if("create"!=n){var i=this._getPlayer(e);switch(n){case"play":i.play();break;case"pause":i.pause();break;case"reset":i.reset();break;case"restart":i.restart();break;case"finish":i.finish();break;case"init":i.init();break;case"setPosition":i.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(e)}}else this.create(e,t,r[0]||{});else this.register(e,r[0])}}]),e}(),Wf="ng-animate-queued",$f="ng-animate-disabled",Yf=".ng-animate-disabled",Jf="ng-star-inserted",Xf=[],eh={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},th={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},nh=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";o(this,e),this.namespaceId=n;var r=t&&t.hasOwnProperty("value"),i=r?t.value:t;if(this.value=uh(i),r){var s=Yc(t);delete s.value,this.options=s}else this.options={};this.options.params||(this.options.params={})}return a(e,[{key:"params",get:function(){return this.options.params}},{key:"absorbOptions",value:function(e){var t=e.params;if(t){var n=this.options.params;Object.keys(t).forEach(function(e){null==n[e]&&(n[e]=t[e])})}}}]),e}(),rh="void",ih=new nh(rh),oh=function(){function e(t,n,r){o(this,e),this.id=t,this.hostElement=n,this._engine=r,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,dh(n,this._hostClassName)}return a(e,[{key:"listen",value:function(e,t,n,r){var i,o=this;if(!this._triggers.hasOwnProperty(t))throw new Error('Unable to listen on the animation trigger event "'.concat(n,'" because the animation trigger "').concat(t,"\" doesn't exist!"));if(null==n||0==n.length)throw new Error('Unable to listen on the animation trigger "'.concat(t,'" because the provided event is undefined!'));if("start"!=(i=n)&&"done"!=i)throw new Error('The provided animation trigger event "'.concat(n,'" for the animation trigger "').concat(t,'" is not supported!'));var s=xc(this._elementListeners,e,[]),a={name:t,phase:n,callback:r};s.push(a);var u=xc(this._engine.statesByElement,e,{});return u.hasOwnProperty(t)||(dh(e,Qc),dh(e,"ng-trigger-"+t),u[t]=ih),function(){o._engine.afterFlush(function(){var e=s.indexOf(a);e>=0&&s.splice(e,1),o._triggers[t]||delete u[t]})}}},{key:"register",value:function(e,t){return!this._triggers[e]&&(this._triggers[e]=t,!0)}},{key:"_getTrigger",value:function(e){var t=this._triggers[e];if(!t)throw new Error('The provided animation trigger "'.concat(e,'" has not been registered!'));return t}},{key:"trigger",value:function(e,t,n){var r=this,i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=this._getTrigger(t),s=new ah(this.id,t,e),a=this._engine.statesByElement.get(e);a||(dh(e,Qc),dh(e,"ng-trigger-"+t),this._engine.statesByElement.set(e,a={}));var u=a[t],l=new nh(n,this.id),c=n&&n.hasOwnProperty("value");!c&&u&&l.absorbOptions(u.options),a[t]=l,u||(u=ih);var f=l.value===rh;if(f||u.value!==l.value){var h=xc(this._engine.playersByElement,e,[]);h.forEach(function(e){e.namespaceId==r.id&&e.triggerName==t&&e.queued&&e.destroy()});var d=o.matchTransition(u.value,l.value,e,l.params),v=!1;if(!d){if(!i)return;d=o.fallbackTransition,v=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:d,fromState:u,toState:l,player:s,isFallbackTransition:v}),v||(dh(e,Wf),s.onStart(function(){vh(e,Wf)})),s.onDone(function(){var t=r.players.indexOf(s);t>=0&&r.players.splice(t,1);var n=r._engine.playersByElement.get(e);if(n){var i=n.indexOf(s);i>=0&&n.splice(i,1)}}),this.players.push(s),h.push(s),s}if(!mh(u.params,l.params)){var y=[],p=o.matchStyles(u.value,u.params,y),m=o.matchStyles(l.value,l.params,y);y.length?this._engine.reportError(y):this._engine.afterFlush(function(){nf(e,p),tf(e,m)})}}},{key:"deregister",value:function(e){var t=this;delete this._triggers[e],this._engine.statesByElement.forEach(function(t,n){delete t[e]}),this._elementListeners.forEach(function(n,r){t._elementListeners.set(r,n.filter(function(t){return t.name!=e}))})}},{key:"clearElementCache",value:function(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);var t=this._engine.playersByElement.get(e);t&&(t.forEach(function(e){return e.destroy()}),this._engine.playersByElement.delete(e))}},{key:"_signalRemovalForInnerTriggers",value:function(e,t){var n=this,r=this._engine.driver.query(e,zc,!0);r.forEach(function(e){if(!e.__ng_removed){var r=n._engine.fetchNamespacesByElement(e);r.size?r.forEach(function(n){return n.triggerLeaveAnimation(e,t,!1,!0)}):n.clearElementCache(e)}}),this._engine.afterFlushAnimationsDone(function(){return r.forEach(function(e){return n.clearElementCache(e)})})}},{key:"triggerLeaveAnimation",value:function(e,t,n,r){var i=this,o=this._engine.statesByElement.get(e);if(o){var s=[];if(Object.keys(o).forEach(function(t){if(i._triggers[t]){var n=i.trigger(e,t,rh,r);n&&s.push(n)}}),s.length)return this._engine.markElementAsRemoved(this.id,e,!0,t),n&&bc(s).onDone(function(){return i._engine.processLeaveNode(e)}),!0}return!1}},{key:"prepareLeaveAnimationListeners",value:function(e){var t=this,n=this._elementListeners.get(e),r=this._engine.statesByElement.get(e);if(n&&r){var i=new Set;n.forEach(function(n){var o=n.name;if(!i.has(o)){i.add(o);var s=t._triggers[o].fallbackTransition,a=r[o]||ih,u=new nh(rh),l=new ah(t.id,o,e);t._engine.totalQueuedPlayers++,t._queue.push({element:e,triggerName:o,transition:s,fromState:a,toState:u,player:l,isFallbackTransition:!0})}})}}},{key:"removeNode",value:function(e,t){var n=this,r=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),!this.triggerLeaveAnimation(e,t,!0)){var i=!1;if(r.totalAnimations){var o=r.players.length?r.playersByQueriedElement.get(e):[];if(o&&o.length)i=!0;else for(var s=e;s=s.parentNode;)if(r.statesByElement.get(s)){i=!0;break}}if(this.prepareLeaveAnimationListeners(e),i)r.markElementAsRemoved(this.id,e,!1,t);else{var a=e.__ng_removed;a&&a!==eh||(r.afterFlush(function(){return n.clearElementCache(e)}),r.destroyInnerAnimations(e),r._onRemovalComplete(e,t))}}}},{key:"insertNode",value:function(e,t){dh(e,this._hostClassName)}},{key:"drainQueuedTransitions",value:function(e){var t=this,n=[];return this._queue.forEach(function(r){var i=r.player;if(!i.destroyed){var o=r.element,s=t._elementListeners.get(o);s&&s.forEach(function(t){if(t.name==r.triggerName){var n=Cc(o,r.triggerName,r.fromState.value,r.toState.value);n._data=e,Sc(r.player,t.phase,n,t.callback)}}),i.markedForDestroy?t._engine.afterFlush(function(){i.destroy()}):n.push(r)}}),this._queue=[],n.sort(function(e,n){var r=e.transition.ast.depCount,i=n.transition.ast.depCount;return 0==r||0==i?r-i:t._engine.driver.containsElement(e.element,n.element)?1:-1})}},{key:"destroy",value:function(e){this.players.forEach(function(e){return e.destroy()}),this._signalRemovalForInnerTriggers(this.hostElement,e)}},{key:"elementContainsData",value:function(e){var t=!1;return this._elementListeners.has(e)&&(t=!0),!!this._queue.find(function(t){return t.element===e})||t}}]),e}(),sh=function(){function e(t,n,r){o(this,e),this.bodyNode=t,this.driver=n,this._normalizer=r,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=function(e,t){}}return a(e,[{key:"_onRemovalComplete",value:function(e,t){this.onRemovalComplete(e,t)}},{key:"queuedPlayers",get:function(){var e=[];return this._namespaceList.forEach(function(t){t.players.forEach(function(t){t.queued&&e.push(t)})}),e}},{key:"createNamespace",value:function(e,t){var n=new oh(e,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(n,t):(this.newHostElements.set(t,n),this.collectEnterElement(t)),this._namespaceLookup[e]=n}},{key:"_balanceNamespaceList",value:function(e,t){var n=this._namespaceList.length-1;if(n>=0){for(var r=!1,i=n;i>=0;i--)if(this.driver.containsElement(this._namespaceList[i].hostElement,t)){this._namespaceList.splice(i+1,0,e),r=!0;break}r||this._namespaceList.splice(0,0,e)}else this._namespaceList.push(e);return this.namespacesByHostElement.set(t,e),e}},{key:"register",value:function(e,t){var n=this._namespaceLookup[e];return n||(n=this.createNamespace(e,t)),n}},{key:"registerTrigger",value:function(e,t,n){var r=this._namespaceLookup[e];r&&r.register(t,n)&&this.totalAnimations++}},{key:"destroy",value:function(e,t){var n=this;if(e){var r=this._fetchNamespace(e);this.afterFlush(function(){n.namespacesByHostElement.delete(r.hostElement),delete n._namespaceLookup[e];var t=n._namespaceList.indexOf(r);t>=0&&n._namespaceList.splice(t,1)}),this.afterFlushAnimationsDone(function(){return r.destroy(t)})}}},{key:"_fetchNamespace",value:function(e){return this._namespaceLookup[e]}},{key:"fetchNamespacesByElement",value:function(e){var t=new Set,n=this.statesByElement.get(e);if(n)for(var r=Object.keys(n),i=0;i<r.length;i++){var o=n[r[i]].namespaceId;if(o){var s=this._fetchNamespace(o);s&&t.add(s)}}return t}},{key:"trigger",value:function(e,t,n,r){if(lh(t)){var i=this._fetchNamespace(e);if(i)return i.trigger(t,n,r),!0}return!1}},{key:"insertNode",value:function(e,t,n,r){if(lh(t)){var i=t.__ng_removed;if(i&&i.setForRemoval){i.setForRemoval=!1,i.setForMove=!0;var o=this.collectedLeaveElements.indexOf(t);o>=0&&this.collectedLeaveElements.splice(o,1)}if(e){var s=this._fetchNamespace(e);s&&s.insertNode(t,n)}r&&this.collectEnterElement(t)}}},{key:"collectEnterElement",value:function(e){this.collectedEnterElements.push(e)}},{key:"markElementAsDisabled",value:function(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),dh(e,$f)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),vh(e,$f))}},{key:"removeNode",value:function(e,t,n,r){if(lh(t)){var i=e?this._fetchNamespace(e):null;if(i?i.removeNode(t,r):this.markElementAsRemoved(e,t,!1,r),n){var o=this.namespacesByHostElement.get(t);o&&o.id!==e&&o.removeNode(t,r)}}else this._onRemovalComplete(t,r)}},{key:"markElementAsRemoved",value:function(e,t,n,r){this.collectedLeaveElements.push(t),t.__ng_removed={namespaceId:e,setForRemoval:r,hasAnimation:n,removedBeforeQueried:!1}}},{key:"listen",value:function(e,t,n,r,i){return lh(t)?this._fetchNamespace(e).listen(t,n,r,i):function(){}}},{key:"_buildInstruction",value:function(e,t,n,r,i){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,n,r,e.fromState.options,e.toState.options,t,i)}},{key:"destroyInnerAnimations",value:function(e){var t=this,n=this.driver.query(e,zc,!0);n.forEach(function(e){return t.destroyActiveAnimationsForElement(e)}),0!=this.playersByQueriedElement.size&&(n=this.driver.query(e,Gc,!0)).forEach(function(e){return t.finishActiveQueriedAnimationOnElement(e)})}},{key:"destroyActiveAnimationsForElement",value:function(e){var t=this.playersByElement.get(e);t&&t.forEach(function(e){e.queued?e.markedForDestroy=!0:e.destroy()})}},{key:"finishActiveQueriedAnimationOnElement",value:function(e){var t=this.playersByQueriedElement.get(e);t&&t.forEach(function(e){return e.finish()})}},{key:"whenRenderingDone",value:function(){var e=this;return new Promise(function(t){if(e.players.length)return bc(e.players).onDone(function(){return t()});t()})}},{key:"processLeaveNode",value:function(e){var t=this,n=e.__ng_removed;if(n&&n.setForRemoval){if(e.__ng_removed=eh,n.namespaceId){this.destroyInnerAnimations(e);var r=this._fetchNamespace(n.namespaceId);r&&r.clearElementCache(e)}this._onRemovalComplete(e,n.setForRemoval)}this.driver.matchesElement(e,Yf)&&this.markElementAsDisabled(e,!1),this.driver.query(e,Yf,!0).forEach(function(e){t.markElementAsDisabled(e,!1)})}},{key:"flush",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1,n=[];if(this.newHostElements.size&&(this.newHostElements.forEach(function(t,n){return e._balanceNamespaceList(t,n)}),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(var r=0;r<this.collectedEnterElements.length;r++){var i=this.collectedEnterElements[r];dh(i,Jf)}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){var o=[];try{n=this._flushAnimations(o,t)}finally{for(var s=0;s<o.length;s++)o[s]()}}else for(var a=0;a<this.collectedLeaveElements.length;a++){var u=this.collectedLeaveElements[a];this.processLeaveNode(u)}if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(function(e){return e()}),this._flushFns=[],this._whenQuietFns.length){var l=this._whenQuietFns;this._whenQuietFns=[],n.length?bc(n).onDone(function(){l.forEach(function(e){return e()})}):l.forEach(function(e){return e()})}}},{key:"reportError",value:function(e){throw new Error("Unable to process animations due to the following failed trigger transitions\n ".concat(e.join("\n")))}},{key:"_flushAnimations",value:function(e,t){var n=this,r=new Af,i=[],o=new Map,s=[],a=new Map,u=new Map,l=new Map,c=new Set;this.disabledNodes.forEach(function(e){c.add(e);for(var t=n.driver.query(e,".ng-animate-queued",!0),r=0;r<t.length;r++)c.add(t[r])});var f=this.bodyNode,h=Array.from(this.statesByElement.keys()),d=hh(h,this.collectedEnterElements),v=new Map,y=0;d.forEach(function(e,t){var n=Bc+y++;v.set(t,n),e.forEach(function(e){return dh(e,n)})});for(var p=[],m=new Set,g=new Set,k=0;k<this.collectedLeaveElements.length;k++){var w=this.collectedLeaveElements[k],b=w.__ng_removed;b&&b.setForRemoval&&(p.push(w),m.add(w),b.hasAnimation?this.driver.query(w,".ng-star-inserted",!0).forEach(function(e){return m.add(e)}):g.add(w))}var E=new Map,S=hh(h,Array.from(m));S.forEach(function(e,t){var n=qc+y++;E.set(t,n),e.forEach(function(e){return dh(e,n)})}),e.push(function(){d.forEach(function(e,t){var n=v.get(t);e.forEach(function(e){return vh(e,n)})}),S.forEach(function(e,t){var n=E.get(t);e.forEach(function(e){return vh(e,n)})}),p.forEach(function(e){n.processLeaveNode(e)})});for(var T=[],C=[],x=this._namespaceList.length-1;x>=0;x--)this._namespaceList[x].drainQueuedTransitions(t).forEach(function(e){var t=e.player,o=e.element;if(T.push(t),n.collectedEnterElements.length){var c=o.__ng_removed;if(c&&c.setForMove)return void t.destroy()}var h=!f||!n.driver.containsElement(f,o),d=E.get(o),y=v.get(o),p=n._buildInstruction(e,r,y,d,h);if(p.errors&&p.errors.length)C.push(p);else{if(h)return t.onStart(function(){return nf(o,p.fromStyles)}),t.onDestroy(function(){return tf(o,p.toStyles)}),void i.push(t);if(e.isFallbackTransition)return t.onStart(function(){return nf(o,p.fromStyles)}),t.onDestroy(function(){return tf(o,p.toStyles)}),void i.push(t);p.timelines.forEach(function(e){return e.stretchStartingKeyframe=!0}),r.append(o,p.timelines),s.push({instruction:p,player:t,element:o}),p.queriedElements.forEach(function(e){return xc(a,e,[]).push(t)}),p.preStyleProps.forEach(function(e,t){var n=Object.keys(e);if(n.length){var r=u.get(t);r||u.set(t,r=new Set),n.forEach(function(e){return r.add(e)})}}),p.postStyleProps.forEach(function(e,t){var n=Object.keys(e),r=l.get(t);r||l.set(t,r=new Set),n.forEach(function(e){return r.add(e)})})}});if(C.length){var A=[];C.forEach(function(e){A.push("@".concat(e.triggerName," has failed due to:\n")),e.errors.forEach(function(e){return A.push("- ".concat(e,"\n"))})}),T.forEach(function(e){return e.destroy()}),this.reportError(A)}var I=new Map,O=new Map;s.forEach(function(e){var t=e.element;r.has(t)&&(O.set(t,t),n._beforeAnimationBuild(e.player.namespaceId,e.instruction,I))}),i.forEach(function(e){var t=e.element;n._getPreviousPlayers(t,!1,e.namespaceId,e.triggerName,null).forEach(function(e){xc(I,t,[]).push(e),e.destroy()})});var D=p.filter(function(e){return gh(e,u,l)}),P=new Map;fh(P,this.driver,g,l,Ju).forEach(function(e){gh(e,u,l)&&D.push(e)});var N=new Map;d.forEach(function(e,t){fh(N,n.driver,new Set(e),u,al)}),D.forEach(function(e){var t=P.get(e),n=N.get(e);P.set(e,Object.assign(Object.assign({},t),n))});var F=[],R=[],j={};s.forEach(function(e){var t=e.element,s=e.player,a=e.instruction;if(r.has(t)){if(c.has(t))return s.onDestroy(function(){return tf(t,a.toStyles)}),s.disabled=!0,s.overrideTotalTime(a.totalTime),void i.push(s);var u=j;if(O.size>1){for(var l=t,f=[];l=l.parentNode;){var h=O.get(l);if(h){u=h;break}f.push(l)}f.forEach(function(e){return O.set(e,u)})}var d=n._buildAnimation(s.namespaceId,a,I,o,N,P);if(s.setRealPlayer(d),u===j)F.push(s);else{var v=n.playersByElement.get(u);v&&v.length&&(s.parentPlayer=bc(v)),i.push(s)}}else nf(t,a.fromStyles),s.onDestroy(function(){return tf(t,a.toStyles)}),R.push(s),c.has(t)&&i.push(s)}),R.forEach(function(e){var t=o.get(e.element);if(t&&t.length){var n=bc(t);e.setRealPlayer(n)}}),i.forEach(function(e){e.parentPlayer?e.syncPlayerEvents(e.parentPlayer):e.destroy()});for(var M=0;M<p.length;M++){var V=p[M],L=V.__ng_removed;if(vh(V,qc),!L||!L.hasAnimation){var H=[];if(a.size){var U=a.get(V);U&&U.length&&H.push.apply(H,_(U));for(var B=this.driver.query(V,Gc,!0),q=0;q<B.length;q++){var Q=a.get(B[q]);Q&&Q.length&&H.push.apply(H,_(Q))}}var z=H.filter(function(e){return!e.destroyed});z.length?yh(this,V,z):this.processLeaveNode(V)}}return p.length=0,F.forEach(function(e){n.players.push(e),e.onDone(function(){e.destroy();var t=n.players.indexOf(e);n.players.splice(t,1)}),e.play()}),F}},{key:"elementContainsData",value:function(e,t){var n=!1,r=t.__ng_removed;return r&&r.setForRemoval&&(n=!0),this.playersByElement.has(t)&&(n=!0),this.playersByQueriedElement.has(t)&&(n=!0),this.statesByElement.has(t)&&(n=!0),this._fetchNamespace(e).elementContainsData(t)||n}},{key:"afterFlush",value:function(e){this._flushFns.push(e)}},{key:"afterFlushAnimationsDone",value:function(e){this._whenQuietFns.push(e)}},{key:"_getPreviousPlayers",value:function(e,t,n,r,i){var o=[];if(t){var s=this.playersByQueriedElement.get(e);s&&(o=s)}else{var a=this.playersByElement.get(e);if(a){var u=!i||i==rh;a.forEach(function(e){e.queued||(u||e.triggerName==r)&&o.push(e)})}}return(n||r)&&(o=o.filter(function(e){return!(n&&n!=e.namespaceId||r&&r!=e.triggerName)})),o}},{key:"_beforeAnimationBuild",value:function(e,t,n){var r,i=this,o=t.element,s=t.isRemovalTransition?void 0:e,a=t.isRemovalTransition?void 0:t.triggerName,u=m(t.timelines);try{var l=function(){var e=r.value.element,u=e!==o,l=xc(n,e,[]);i._getPreviousPlayers(e,u,s,a,t.toState).forEach(function(e){var t=e.getRealPlayer();t.beforeDestroy&&t.beforeDestroy(),e.destroy(),l.push(e)})};for(u.s();!(r=u.n()).done;)l()}catch(c){u.e(c)}finally{u.f()}nf(o,t.fromStyles)}},{key:"_buildAnimation",value:function(e,t,n,r,i,o){var s=this,a=t.triggerName,u=t.element,l=[],c=new Set,f=new Set,h=t.timelines.map(function(t){var h=t.element;c.add(h);var d=h.__ng_removed;if(d&&d.removedBeforeQueried)return new ol(t.duration,t.delay);var v,y,p=h!==u,m=(v=(n.get(h)||Xf).map(function(e){return e.getRealPlayer()}),y=[],ph(v,y),y).filter(function(e){return!!e.element&&e.element===h}),g=i.get(h),_=o.get(h),k=Ec(s.driver,s._normalizer,h,t.keyframes,g,_),w=s._buildPlayer(t,k,m);if(t.subTimeline&&r&&f.add(h),p){var b=new ah(e,a,h);b.setRealPlayer(w),l.push(b)}return w});l.forEach(function(e){xc(s.playersByQueriedElement,e.element,[]).push(e),e.onDone(function(){return function(e,t,n){var r;if(e instanceof Map){if(r=e.get(t)){if(r.length){var i=r.indexOf(n);r.splice(i,1)}0==r.length&&e.delete(t)}}else if(r=e[t]){if(r.length){var o=r.indexOf(n);r.splice(o,1)}0==r.length&&delete e[t]}return r}(s.playersByQueriedElement,e.element,e)})}),c.forEach(function(e){return dh(e,Kc)});var d=bc(h);return d.onDestroy(function(){c.forEach(function(e){return vh(e,Kc)}),tf(u,t.toStyles)}),f.forEach(function(e){xc(r,e,[]).push(d)}),d}},{key:"_buildPlayer",value:function(e,t,n){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,n):new ol(e.duration,e.delay)}}]),e}(),ah=function(){function e(t,n,r){o(this,e),this.namespaceId=t,this.triggerName=n,this.element=r,this._player=new ol,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}return a(e,[{key:"setRealPlayer",value:function(e){var t=this;this._containsRealPlayer||(this._player=e,Object.keys(this._queuedCallbacks).forEach(function(n){t._queuedCallbacks[n].forEach(function(t){return Sc(e,n,void 0,t)})}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}},{key:"getRealPlayer",value:function(){return this._player}},{key:"overrideTotalTime",value:function(e){this.totalTime=e}},{key:"syncPlayerEvents",value:function(e){var t=this,n=this._player;n.triggerCallback&&e.onStart(function(){return n.triggerCallback("start")}),e.onDone(function(){return t.finish()}),e.onDestroy(function(){return t.destroy()})}},{key:"_queueEvent",value:function(e,t){xc(this._queuedCallbacks,e,[]).push(t)}},{key:"onDone",value:function(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}},{key:"onStart",value:function(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}},{key:"onDestroy",value:function(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}},{key:"init",value:function(){this._player.init()}},{key:"hasStarted",value:function(){return!this.queued&&this._player.hasStarted()}},{key:"play",value:function(){!this.queued&&this._player.play()}},{key:"pause",value:function(){!this.queued&&this._player.pause()}},{key:"restart",value:function(){!this.queued&&this._player.restart()}},{key:"finish",value:function(){this._player.finish()}},{key:"destroy",value:function(){this.destroyed=!0,this._player.destroy()}},{key:"reset",value:function(){!this.queued&&this._player.reset()}},{key:"setPosition",value:function(e){this.queued||this._player.setPosition(e)}},{key:"getPosition",value:function(){return this.queued?0:this._player.getPosition()}},{key:"triggerCallback",value:function(e){var t=this._player;t.triggerCallback&&t.triggerCallback(e)}}]),e}();function uh(e){return null!=e?e:null}function lh(e){return e&&1===e.nodeType}function ch(e,t){var n=e.style.display;return e.style.display=null!=t?t:"none",n}function fh(e,t,n,r,i){var o=[];n.forEach(function(e){return o.push(ch(e))});var s=[];r.forEach(function(n,r){var o={};n.forEach(function(e){var n=o[e]=t.computeStyle(r,e,i);n&&0!=n.length||(r.__ng_removed=th,s.push(r))}),e.set(r,o)});var a=0;return n.forEach(function(e){return ch(e,o[a++])}),s}function hh(e,t){var n=new Map;if(e.forEach(function(e){return n.set(e,[])}),0==t.length)return n;var r=new Set(t),i=new Map;function o(e){if(!e)return 1;var t=i.get(e);if(t)return t;var s=e.parentNode;return t=n.has(s)?s:r.has(s)?1:o(s),i.set(e,t),t}return t.forEach(function(e){var t=o(e);1!==t&&n.get(t).push(e)}),n}function dh(e,t){if(e.classList)e.classList.add(t);else{var n=e.$$classes;n||(n=e.$$classes={}),n[t]=!0}}function vh(e,t){if(e.classList)e.classList.remove(t);else{var n=e.$$classes;n&&delete n[t]}}function yh(e,t,n){bc(n).onDone(function(){return e.processLeaveNode(t)})}function ph(e,t){for(var n=0;n<e.length;n++){var r=e[n];r instanceof sl?ph(r.players,t):t.push(r)}}function mh(e,t){var n=Object.keys(e),r=Object.keys(t);if(n.length!=r.length)return!1;for(var i=0;i<n.length;i++){var o=n[i];if(!t.hasOwnProperty(o)||e[o]!==t[o])return!1}return!0}function gh(e,t,n){var r=n.get(e);if(!r)return!1;var i=t.get(e);return i?r.forEach(function(e){return i.add(e)}):t.set(e,r),n.delete(e),!0}var _h=function(){function e(t,n,r){var i=this;o(this,e),this.bodyNode=t,this._driver=n,this._triggerCache={},this.onRemovalComplete=function(e,t){},this._transitionEngine=new sh(t,n,r),this._timelineEngine=new Zf(t,n,r),this._transitionEngine.onRemovalComplete=function(e,t){return i.onRemovalComplete(e,t)}}return a(e,[{key:"registerTrigger",value:function(e,t,n,r,i){var o=e+"-"+r,s=this._triggerCache[o];if(!s){var a=[],u=wf(this._driver,i,a);if(a.length)throw new Error('The animation trigger "'.concat(r,'" has failed to build due to the following errors:\n - ').concat(a.join("\n - ")));s=function(e,t){return new zf(e,t)}(r,u),this._triggerCache[o]=s}this._transitionEngine.registerTrigger(t,r,s)}},{key:"register",value:function(e,t){this._transitionEngine.register(e,t)}},{key:"destroy",value:function(e,t){this._transitionEngine.destroy(e,t)}},{key:"onInsert",value:function(e,t,n,r){this._transitionEngine.insertNode(e,t,n,r)}},{key:"onRemove",value:function(e,t,n,r){this._transitionEngine.removeNode(e,t,r||!1,n)}},{key:"disableAnimations",value:function(e,t){this._transitionEngine.markElementAsDisabled(e,t)}},{key:"process",value:function(e,t,n,r){if("@"==n.charAt(0)){var i=g(Ac(n),2);this._timelineEngine.command(i[0],t,i[1],r)}else this._transitionEngine.trigger(e,t,n,r)}},{key:"listen",value:function(e,t,n,r,i){if("@"==n.charAt(0)){var o=g(Ac(n),2);return this._timelineEngine.listen(o[0],t,o[1],i)}return this._transitionEngine.listen(e,t,n,r,i)}},{key:"flush",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1;this._transitionEngine.flush(e)}},{key:"players",get:function(){return this._transitionEngine.players.concat(this._timelineEngine.players)}},{key:"whenRenderingDone",value:function(){return this._transitionEngine.whenRenderingDone()}}]),e}();function kh(e,t){var n=null,r=null;return Array.isArray(t)&&t.length?(n=bh(t[0]),t.length>1&&(r=bh(t[t.length-1]))):t&&(n=bh(t)),n||r?new wh(e,n,r):null}var wh=function(){var e=function(){function e(t,n,r){o(this,e),this._element=t,this._startStyles=n,this._endStyles=r,this._state=0;var i=e.initialStylesByElement.get(t);i||e.initialStylesByElement.set(t,i={}),this._initialStyles=i}return a(e,[{key:"start",value:function(){this._state<1&&(this._startStyles&&tf(this._element,this._startStyles,this._initialStyles),this._state=1)}},{key:"finish",value:function(){this.start(),this._state<2&&(tf(this._element,this._initialStyles),this._endStyles&&(tf(this._element,this._endStyles),this._endStyles=null),this._state=1)}},{key:"destroy",value:function(){this.finish(),this._state<3&&(e.initialStylesByElement.delete(this._element),this._startStyles&&(nf(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(nf(this._element,this._endStyles),this._endStyles=null),tf(this._element,this._initialStyles),this._state=3)}}]),e}();return e.initialStylesByElement=new WeakMap,e}();function bh(e){for(var t=null,n=Object.keys(e),r=0;r<n.length;r++){var i=n[r];Eh(i)&&((t=t||{})[i]=e[i])}return t}function Eh(e){return"display"===e||"position"===e}var Sh="animation",Th="animationend",Ch=function(){function e(t,n,r,i,s,a,u){var l=this;o(this,e),this._element=t,this._name=n,this._duration=r,this._delay=i,this._easing=s,this._fillMode=a,this._onDoneFn=u,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=function(e){return l._handleCallback(e)}}return a(e,[{key:"apply",value:function(){var e,t,n;e=this._element,t="".concat(this._duration,"ms ").concat(this._easing," ").concat(this._delay,"ms 1 normal ").concat(this._fillMode," ").concat(this._name),(n=Ph(e,"").trim()).length&&(function(e,t){for(var n=0;n<e.length;n++)","===e.charAt(n)&&0}(n),t="".concat(n,", ").concat(t)),Dh(e,"",t),Oh(this._element,this._eventFn,!1),this._startTime=Date.now()}},{key:"pause",value:function(){xh(this._element,this._name,"paused")}},{key:"resume",value:function(){xh(this._element,this._name,"running")}},{key:"setPosition",value:function(e){var t=Ah(this._element,this._name);this._position=e*this._duration,Dh(this._element,"Delay","-".concat(this._position,"ms"),t)}},{key:"getPosition",value:function(){return this._position}},{key:"_handleCallback",value:function(e){var t=e._ngTestManualTimestamp||Date.now(),n=1e3*parseFloat(e.elapsedTime.toFixed(3));e.animationName==this._name&&Math.max(t-this._startTime,0)>=this._delay&&n>=this._duration&&this.finish()}},{key:"finish",value:function(){this._finished||(this._finished=!0,this._onDoneFn(),Oh(this._element,this._eventFn,!0))}},{key:"destroy",value:function(){var e,t,n,r;this._destroyed||(this._destroyed=!0,this.finish(),t=this._name,(r=Ih(n=Ph(e=this._element,"").split(","),t))>=0&&(n.splice(r,1),Dh(e,"",n.join(","))))}}]),e}();function xh(e,t,n){Dh(e,"PlayState",n,Ah(e,t))}function Ah(e,t){var n=Ph(e,"");return n.indexOf(",")>0?Ih(n.split(","),t):Ih([n],t)}function Ih(e,t){for(var n=0;n<e.length;n++)if(e[n].indexOf(t)>=0)return n;return-1}function Oh(e,t,n){n?e.removeEventListener(Th,t):e.addEventListener(Th,t)}function Dh(e,t,n,r){var i=Sh+t;if(null!=r){var o=e.style[i];if(o.length){var s=o.split(",");s[r]=n,n=s.join(",")}}e.style[i]=n}function Ph(e,t){return e.style[Sh+t]||""}var Nh=function(){function e(t,n,r,i,s,a,u,l){o(this,e),this.element=t,this.keyframes=n,this.animationName=r,this._duration=i,this._delay=s,this._finalStyles=u,this._specialStyles=l,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=a||"linear",this.totalTime=i+s,this._buildStyler()}return a(e,[{key:"onStart",value:function(e){this._onStartFns.push(e)}},{key:"onDone",value:function(e){this._onDoneFns.push(e)}},{key:"onDestroy",value:function(e){this._onDestroyFns.push(e)}},{key:"destroy",value:function(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(function(e){return e()}),this._onDestroyFns=[])}},{key:"_flushDoneFns",value:function(){this._onDoneFns.forEach(function(e){return e()}),this._onDoneFns=[]}},{key:"_flushStartFns",value:function(){this._onStartFns.forEach(function(e){return e()}),this._onStartFns=[]}},{key:"finish",value:function(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}},{key:"setPosition",value:function(e){this._styler.setPosition(e)}},{key:"getPosition",value:function(){return this._styler.getPosition()}},{key:"hasStarted",value:function(){return this._state>=2}},{key:"init",value:function(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}},{key:"play",value:function(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}},{key:"pause",value:function(){this.init(),this._styler.pause()}},{key:"restart",value:function(){this.reset(),this.play()}},{key:"reset",value:function(){this._styler.destroy(),this._buildStyler(),this._styler.apply()}},{key:"_buildStyler",value:function(){var e=this;this._styler=new Ch(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",function(){return e.finish()})}},{key:"triggerCallback",value:function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(function(e){return e()}),t.length=0}},{key:"beforeDestroy",value:function(){var e=this;this.init();var t={};if(this.hasStarted()){var n=this._state>=3;Object.keys(this._finalStyles).forEach(function(r){"offset"!=r&&(t[r]=n?e._finalStyles[r]:vf(e.element,r))})}this.currentSnapshot=t}}]),e}(),Fh=function(e){l(n,e);var t=v(n);function n(e,r){var i;return o(this,n),(i=t.call(this)).element=e,i._startingStyles={},i.__initialized=!1,i._styles=Lc(r),i}return a(n,[{key:"init",value:function(){var e=this;!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach(function(t){e._startingStyles[t]=e.element.style[t]}),i(r(n.prototype),"init",this).call(this))}},{key:"play",value:function(){var e=this;this._startingStyles&&(this.init(),Object.keys(this._styles).forEach(function(t){return e.element.style.setProperty(t,e._styles[t])}),i(r(n.prototype),"play",this).call(this))}},{key:"destroy",value:function(){var e=this;this._startingStyles&&(Object.keys(this._startingStyles).forEach(function(t){var n=e._startingStyles[t];n?e.element.style.setProperty(t,n):e.element.style.removeProperty(t)}),this._startingStyles=null,i(r(n.prototype),"destroy",this).call(this))}}]),n}(ol),Rh="gen_css_kf_",jh=function(){function e(){o(this,e),this._count=0,this._head=document.querySelector("head")}return a(e,[{key:"validateStyleProperty",value:function(e){return Rc(e)}},{key:"matchesElement",value:function(e,t){return jc(e,t)}},{key:"containsElement",value:function(e,t){return Mc(e,t)}},{key:"query",value:function(e,t,n){return Vc(e,t,n)}},{key:"computeStyle",value:function(e,t,n){return window.getComputedStyle(e)[t]}},{key:"buildKeyframeElement",value:function(e,t,n){n=n.map(function(e){return Lc(e)});var r="@keyframes ".concat(t," {\n"),i="";n.forEach(function(e){i=" ";var t=parseFloat(e.offset);r+="".concat(i).concat(100*t,"% {\n"),i+=" ",Object.keys(e).forEach(function(t){var n=e[t];switch(t){case"offset":return;case"easing":return void(n&&(r+="".concat(i,"animation-timing-function: ").concat(n,";\n")));default:return void(r+="".concat(i).concat(t,": ").concat(n,";\n"))}}),r+="".concat(i,"}\n")}),r+="}\n";var o=document.createElement("style");return o.textContent=r,o}},{key:"animate",value:function(e,t,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],s=o.filter(function(e){return e instanceof Nh}),a={};ff(n,r)&&s.forEach(function(e){var t=e.currentSnapshot;Object.keys(t).forEach(function(e){return a[e]=t[e]})});var u=Mh(t=hf(e,t,a));if(0==n)return new Fh(e,u);var l="".concat(Rh).concat(this._count++),c=this.buildKeyframeElement(e,l,t);document.querySelector("head").appendChild(c);var f=kh(e,t),h=new Nh(e,t,l,n,r,i,u,f);return h.onDestroy(function(){return Vh(c)}),h}}]),e}();function Mh(e){var t={};return e&&(Array.isArray(e)?e:[e]).forEach(function(e){Object.keys(e).forEach(function(n){"offset"!=n&&"easing"!=n&&(t[n]=e[n])})}),t}function Vh(e){e.parentNode.removeChild(e)}var Lh=function(){function e(t,n,r,i){o(this,e),this.element=t,this.keyframes=n,this.options=r,this._specialStyles=i,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=r.duration,this._delay=r.delay||0,this.time=this._duration+this._delay}return a(e,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(e){return e()}),this._onDoneFns=[])}},{key:"init",value:function(){this._buildPlayer(),this._preparePlayerBeforeStart()}},{key:"_buildPlayer",value:function(){var e=this;if(!this._initialized){this._initialized=!0;var t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:{},this.domPlayer.addEventListener("finish",function(){return e._onFinish()})}}},{key:"_preparePlayerBeforeStart",value:function(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}},{key:"_triggerWebAnimation",value:function(e,t,n){return e.animate(t,n)}},{key:"onStart",value:function(e){this._onStartFns.push(e)}},{key:"onDone",value:function(e){this._onDoneFns.push(e)}},{key:"onDestroy",value:function(e){this._onDestroyFns.push(e)}},{key:"play",value:function(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(function(e){return e()}),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}},{key:"pause",value:function(){this.init(),this.domPlayer.pause()}},{key:"finish",value:function(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}},{key:"reset",value:function(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}},{key:"_resetDomPlayerState",value:function(){this.domPlayer&&this.domPlayer.cancel()}},{key:"restart",value:function(){this.reset(),this.play()}},{key:"hasStarted",value:function(){return this._started}},{key:"destroy",value:function(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(function(e){return e()}),this._onDestroyFns=[])}},{key:"setPosition",value:function(e){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=e*this.time}},{key:"getPosition",value:function(){return this.domPlayer.currentTime/this.time}},{key:"totalTime",get:function(){return this._delay+this._duration}},{key:"beforeDestroy",value:function(){var e=this,t={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(function(n){"offset"!=n&&(t[n]=e._finished?e._finalKeyframe[n]:vf(e.element,n))}),this.currentSnapshot=t}},{key:"triggerCallback",value:function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(function(e){return e()}),t.length=0}}]),e}(),Hh=function(){function e(){o(this,e),this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(Uh().toString()),this._cssKeyframesDriver=new jh}return a(e,[{key:"validateStyleProperty",value:function(e){return Rc(e)}},{key:"matchesElement",value:function(e,t){return jc(e,t)}},{key:"containsElement",value:function(e,t){return Mc(e,t)}},{key:"query",value:function(e,t,n){return Vc(e,t,n)}},{key:"computeStyle",value:function(e,t,n){return window.getComputedStyle(e)[t]}},{key:"overrideWebAnimationsSupport",value:function(e){this._isNativeImpl=e}},{key:"animate",value:function(e,t,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],s=arguments.length>6?arguments[6]:void 0,a=!s&&!this._isNativeImpl;if(a)return this._cssKeyframesDriver.animate(e,t,n,r,i,o);var u=0==r?"both":"forwards",l={duration:n,delay:r,fill:u};i&&(l.easing=i);var c={},f=o.filter(function(e){return e instanceof Lh});ff(n,r)&&f.forEach(function(e){var t=e.currentSnapshot;Object.keys(t).forEach(function(e){return c[e]=t[e]})});var h=kh(e,t=hf(e,t=t.map(function(e){return Jc(e,!1)}),c));return new Lh(e,t,l,h)}}]),e}();function Uh(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}var Bh=function(){var e=function(e){l(n,e);var t=v(n);function n(e,r){var i;return o(this,n),(i=t.call(this))._nextAnimationId=0,i._renderer=e.createRenderer(r.body,{id:"0",encapsulation:Qe.None,styles:[],data:{animation:[]}}),i}return a(n,[{key:"build",value:function(e){var t=this._nextAnimationId.toString();this._nextAnimationId++;var n=Array.isArray(e)?el(e):e;return zh(this._renderer,null,t,"register",[n]),new qh(t,this._renderer)}}]),n}($u);return e.\u0275fac=function(t){return new(t||e)(lr(ls),lr(ru))},e.\u0275prov=Ae({token:e,factory:e.\u0275fac}),e}(),qh=function(e){l(n,e);var t=v(n);function n(e,r){var i;return o(this,n),(i=t.call(this))._id=e,i._renderer=r,i}return a(n,[{key:"create",value:function(e,t){return new Qh(this._id,e,t||{},this._renderer)}}]),n}(Yu),Qh=function(){function e(t,n,r,i){o(this,e),this.id=t,this.element=n,this._renderer=i,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",r)}return a(e,[{key:"_listen",value:function(e,t){return this._renderer.listen(this.element,"@@".concat(this.id,":").concat(e),t)}},{key:"_command",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return zh(this._renderer,this.element,this.id,e,n)}},{key:"onDone",value:function(e){this._listen("done",e)}},{key:"onStart",value:function(e){this._listen("start",e)}},{key:"onDestroy",value:function(e){this._listen("destroy",e)}},{key:"init",value:function(){this._command("init")}},{key:"hasStarted",value:function(){return this._started}},{key:"play",value:function(){this._command("play"),this._started=!0}},{key:"pause",value:function(){this._command("pause")}},{key:"restart",value:function(){this._command("restart")}},{key:"finish",value:function(){this._command("finish")}},{key:"destroy",value:function(){this._command("destroy")}},{key:"reset",value:function(){this._command("reset")}},{key:"setPosition",value:function(e){this._command("setPosition",e)}},{key:"getPosition",value:function(){var e,t;return null!==(t=null===(e=this._renderer.engine.players[+this.id])||void 0===e?void 0:e.getPosition())&&void 0!==t?t:0}}]),e}();function zh(e,t,n,r,i){return e.setProperty(t,"@@".concat(n,":").concat(r),i)}var Kh="@",Gh="@.disabled",Zh=function(){var e=function(){function e(t,n,r){o(this,e),this.delegate=t,this.engine=n,this._zone=r,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),n.onRemovalComplete=function(e,t){t&&t.parentNode(e)&&t.removeChild(e.parentNode,e)}}return a(e,[{key:"createRenderer",value:function(e,t){var n=this,r=this.delegate.createRenderer(e,t);if(!(e&&t&&t.data&&t.data.animation)){var i=this._rendererCache.get(r);return i||(i=new Wh("",r,this.engine),this._rendererCache.set(r,i)),i}var o=t.id,s=t.id+"-"+this._currentId;return this._currentId++,this.engine.register(s,e),t.data.animation.forEach(function t(r){Array.isArray(r)?r.forEach(t):n.engine.registerTrigger(o,s,e,r.name,r)}),new $h(this,s,r,this.engine)}},{key:"begin",value:function(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}},{key:"_scheduleCountTask",value:function(){var e=this;this.promise.then(function(){e._microtaskId++})}},{key:"scheduleListenerCallback",value:function(e,t,n){var r=this;e>=0&&e<this._microtaskId?this._zone.run(function(){return t(n)}):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(function(){r._zone.run(function(){r._animationCallbacksBuffer.forEach(function(e){var t=g(e,2);(0,t[0])(t[1])}),r._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([t,n]))}},{key:"end",value:function(){var e=this;this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(function(){e._scheduleCountTask(),e.engine.flush(e._microtaskId)}),this.delegate.end&&this.delegate.end()}},{key:"whenRenderingDone",value:function(){return this.engine.whenRenderingDone()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(lr(ls),lr(_h),lr(Aa))},e.\u0275prov=Ae({token:e,factory:e.\u0275fac}),e}(),Wh=function(){function e(t,n,r){o(this,e),this.namespaceId=t,this.delegate=n,this.engine=r,this.destroyNode=this.delegate.destroyNode?function(e){return n.destroyNode(e)}:null}return a(e,[{key:"data",get:function(){return this.delegate.data}},{key:"destroy",value:function(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}},{key:"createElement",value:function(e,t){return this.delegate.createElement(e,t)}},{key:"createComment",value:function(e){return this.delegate.createComment(e)}},{key:"createText",value:function(e){return this.delegate.createText(e)}},{key:"appendChild",value:function(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}},{key:"insertBefore",value:function(e,t,n){var r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];this.delegate.insertBefore(e,t,n),this.engine.onInsert(this.namespaceId,t,e,r)}},{key:"removeChild",value:function(e,t,n){this.engine.onRemove(this.namespaceId,t,this.delegate,n)}},{key:"selectRootElement",value:function(e,t){return this.delegate.selectRootElement(e,t)}},{key:"parentNode",value:function(e){return this.delegate.parentNode(e)}},{key:"nextSibling",value:function(e){return this.delegate.nextSibling(e)}},{key:"setAttribute",value:function(e,t,n,r){this.delegate.setAttribute(e,t,n,r)}},{key:"removeAttribute",value:function(e,t,n){this.delegate.removeAttribute(e,t,n)}},{key:"addClass",value:function(e,t){this.delegate.addClass(e,t)}},{key:"removeClass",value:function(e,t){this.delegate.removeClass(e,t)}},{key:"setStyle",value:function(e,t,n,r){this.delegate.setStyle(e,t,n,r)}},{key:"removeStyle",value:function(e,t,n){this.delegate.removeStyle(e,t,n)}},{key:"setProperty",value:function(e,t,n){t.charAt(0)==Kh&&t==Gh?this.disableAnimations(e,!!n):this.delegate.setProperty(e,t,n)}},{key:"setValue",value:function(e,t){this.delegate.setValue(e,t)}},{key:"listen",value:function(e,t,n){return this.delegate.listen(e,t,n)}},{key:"disableAnimations",value:function(e,t){this.engine.disableAnimations(e,t)}}]),e}(),$h=function(e){l(n,e);var t=v(n);function n(e,r,i,s){var a;return o(this,n),(a=t.call(this,r,i,s)).factory=e,a.namespaceId=r,a}return a(n,[{key:"setProperty",value:function(e,t,n){t.charAt(0)==Kh?"."==t.charAt(1)&&t==Gh?this.disableAnimations(e,n=void 0===n||!!n):this.engine.process(this.namespaceId,e,t.substr(1),n):this.delegate.setProperty(e,t,n)}},{key:"listen",value:function(e,t,n){var r,i,o=this;if(t.charAt(0)==Kh){var s=function(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}(e),a=t.substr(1),u="";if(a.charAt(0)!=Kh){var l=g((i=(r=a).indexOf("."),[r.substring(0,i),r.substr(i+1)]),2);a=l[0],u=l[1]}return this.engine.listen(this.namespaceId,s,a,u,function(e){o.factory.scheduleListenerCallback(e._data||-1,n,e)})}return this.delegate.listen(e,t,n)}}]),n}(Wh),Yh=function(){var e=function(e){l(n,e);var t=v(n);function n(e,r,i){return o(this,n),t.call(this,e.body,r,i)}return a(n)}(_h);return e.\u0275fac=function(t){return new(t||e)(lr(ru),lr(Uc),lr(Vf))},e.\u0275prov=Ae({token:e,factory:e.\u0275fac}),e}(),Jh=new Jn("AnimationModuleType"),Xh=[{provide:$u,useClass:Bh},{provide:Vf,useFactory:function(){return new Lf}},{provide:_h,useClass:Yh},{provide:ls,useFactory:function(e,t,n){return new Zh(e,t,n)},deps:[Ru,_h,Aa]}],ed=[{provide:Uc,useFactory:function(){return"function"==typeof Uh()?new Hh:new jh}},{provide:Jh,useValue:"BrowserAnimations"}].concat(Xh),td=([{provide:Uc,useClass:Hc},{provide:Jh,useValue:"NoopAnimations"}].concat(Xh),function(){var e=a(function e(){o(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=ct({type:e}),e.\u0275inj=Ie({providers:ed,imports:[Gu]}),e}()),nd=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=ct({type:e,bootstrap:[kc]}),e.\u0275inj=Ie({providers:[],imports:[[Gu,td,_c]]}),e}();(function(){if(Ha)throw new Error("Cannot enable prod mode after platform setup.");La=!1})(),zu().bootstrapModule(nd,{ngZone:"noop"}).catch(function(e){return console.log(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]]]);
