@immutablewebapps/unpkg-immutable-example
Version:
<h1>unpkg-immutable-example</h1> <h2>Hosting an <a href="https://immutablewebapps.org">Immutable Web App</a> with <a href="https://www.npmjs.com/">npm</a>, <a href="https://unpkg.com/#/">UNPKG</a>, and <a href="https://pages.github.com/">GitHub Pages<
1 lines • 185 kB
JavaScript
(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{0:function(e,t,n){e.exports=n("zUnb")},crnd:function(e,t){function n(e){return Promise.resolve().then(function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t})}n.keys=function(){return[]},n.resolve=n,e.exports=n,n.id="crnd"},zUnb:function(e,t,n){"use strict";n.r(t);var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function o(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function l(e,t,n,r){var o,i=arguments.length,l=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,n,r);else for(var u=e.length-1;u>=0;u--)(o=e[u])&&(l=(i<3?o(l):i>3?o(t,n,l):o(t,n))||l);return i>3&&l&&Object.defineProperty(t,n,l),l}function u(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function s(e){var t="function"==typeof Symbol&&e[Symbol.iterator],n=0;return t?t.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}function a(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),l=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)l.push(r.value)}catch(u){o={error:u}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return l}function c(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(a(arguments[t]));return e}var d=Array.isArray||function(e){return e&&"number"==typeof e.length};function f(e){return null!=e&&"object"==typeof e}function p(e){return"function"==typeof e}var h,v={e:{}};function y(){try{return h.apply(this,arguments)}catch(e){return v.e=e,v}}function g(e){return h=e,y}function m(e){return Error.call(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map(function(e,t){return t+1+") "+e.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=e,this}m.prototype=Object.create(Error.prototype);var b=m,_=function(){function e(e){this.closed=!1,this._parent=null,this._parents=null,this._subscriptions=null,e&&(this._unsubscribe=e)}var t;return e.prototype.unsubscribe=function(){var e,t=!1;if(!this.closed){var n=this._parent,r=this._parents,o=this._unsubscribe,i=this._subscriptions;this.closed=!0,this._parent=null,this._parents=null,this._subscriptions=null;for(var l=-1,u=r?r.length:0;n;)n.remove(this),n=++l<u&&r[l]||null;if(p(o)&&g(o).call(this)===v&&(t=!0,e=e||(v.e instanceof b?w(v.e.errors):[v.e])),d(i))for(l=-1,u=i.length;++l<u;){var s=i[l];if(f(s)&&g(s.unsubscribe).call(s)===v){t=!0,e=e||[];var a=v.e;a instanceof b?e=e.concat(w(a.errors)):e.push(a)}}if(t)throw new b(e)}},e.prototype.add=function(t){if(!t||t===e.EMPTY)return e.EMPTY;if(t===this)return this;var n=t;switch(typeof t){case"function":n=new e(t);case"object":if(n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if("function"!=typeof n._addParent){var r=n;(n=new e)._subscriptions=[r]}break;default:throw new Error("unrecognized teardown "+t+" added to Subscription.")}return(this._subscriptions||(this._subscriptions=[])).push(n),n._addParent(this),n},e.prototype.remove=function(e){var t=this._subscriptions;if(t){var n=t.indexOf(e);-1!==n&&t.splice(n,1)}},e.prototype._addParent=function(e){var t=this._parent,n=this._parents;t&&t!==e?n?-1===n.indexOf(e)&&n.push(e):this._parents=[e]:this._parent=e},e.EMPTY=((t=new e).closed=!0,t),e}();function w(e){return e.reduce(function(e,t){return e.concat(t instanceof b?t.errors:t)},[])}var C=!1,E={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){C=e},get useDeprecatedSynchronousErrorHandling(){return C}};function x(e){setTimeout(function(){throw e})}var k={closed:!0,next:function(e){},error:function(e){if(E.useDeprecatedSynchronousErrorHandling)throw e;x(e)},complete:function(){}},T="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random(),I=function(e){function t(n,r,o){var i=e.call(this)||this;switch(i.syncErrorValue=null,i.syncErrorThrown=!1,i.syncErrorThrowable=!1,i.isStopped=!1,i._parentSubscription=null,arguments.length){case 0:i.destination=k;break;case 1:if(!n){i.destination=k;break}if("object"==typeof n){n instanceof t?(i.syncErrorThrowable=n.syncErrorThrowable,i.destination=n,n.add(i)):(i.syncErrorThrowable=!0,i.destination=new N(i,n));break}default:i.syncErrorThrowable=!0,i.destination=new N(i,n,r,o)}return i}return o(t,e),t.prototype[T]=function(){return this},t.create=function(e,n,r){var o=new t(e,n,r);return o.syncErrorThrowable=!1,o},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this))},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){this.destination.error(e),this.unsubscribe()},t.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},t.prototype._unsubscribeAndRecycle=function(){var e=this._parent,t=this._parents;return this._parent=null,this._parents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parent=e,this._parents=t,this._parentSubscription=null,this},t}(_),N=function(e){function t(t,n,r,o){var i,l=e.call(this)||this;l._parentSubscriber=t;var u=l;return p(n)?i=n:n&&(i=n.next,r=n.error,o=n.complete,n!==k&&(p((u=Object.create(n)).unsubscribe)&&l.add(u.unsubscribe.bind(u)),u.unsubscribe=l.unsubscribe.bind(l))),l._context=u,l._next=i,l._error=r,l._complete=o,l}return o(t,e),t.prototype.next=function(e){if(!this.isStopped&&this._next){var t=this._parentSubscriber;E.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}},t.prototype.error=function(e){if(!this.isStopped){var t=this._parentSubscriber,n=E.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):x(e),this.unsubscribe();else{if(this.unsubscribe(),n)throw e;x(e)}}},t.prototype.complete=function(){var e=this;if(!this.isStopped){var t=this._parentSubscriber;if(this._complete){var n=function(){return e._complete.call(e._context)};E.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,n),this.unsubscribe()):(this.__tryOrUnsub(n),this.unsubscribe())}else this.unsubscribe()}},t.prototype.__tryOrUnsub=function(e,t){try{e.call(this._context,t)}catch(n){if(this.unsubscribe(),E.useDeprecatedSynchronousErrorHandling)throw n;x(n)}},t.prototype.__tryOrSetError=function(e,t,n){if(!E.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,n)}catch(r){return E.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=r,e.syncErrorThrown=!0,!0):(x(r),!0)}return!1},t.prototype._unsubscribe=function(){var e=this._parentSubscriber;this._context=null,this._parentSubscriber=null,e.unsubscribe()},t}(I),S="function"==typeof Symbol&&Symbol.observable||"@@observable";var A=function(){function e(e){this._isScalar=!1,e&&(this._subscribe=e)}return e.prototype.lift=function(t){var n=new e;return n.source=this,n.operator=t,n},e.prototype.subscribe=function(e,t,n){var r=this.operator,o=function(e,t,n){if(e){if(e instanceof I)return e;if(e[T])return e[T]()}return e||t||n?new I(e,t,n):new I(k)}(e,t,n);if(r?r.call(o,this.source):o.add(this.source||E.useDeprecatedSynchronousErrorHandling&&!o.syncErrorThrowable?this._subscribe(o):this._trySubscribe(o)),E.useDeprecatedSynchronousErrorHandling&&o.syncErrorThrowable&&(o.syncErrorThrowable=!1,o.syncErrorThrown))throw o.syncErrorValue;return o},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){E.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 I?t:null}return!0}(e)?e.error(t):console.warn(t)}},e.prototype.forEach=function(e,t){var n=this;return new(t=D(t))(function(t,r){var o;o=n.subscribe(function(t){try{e(t)}catch(n){r(n),o&&o.unsubscribe()}},r,t)})},e.prototype._subscribe=function(e){var t=this.source;return t&&t.subscribe(e)},e.prototype[S]=function(){return this},e.prototype.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return 0===e.length?this:((n=e)?1===n.length?n[0]:function(e){return n.reduce(function(e,t){return t(e)},e)}:function(){})(this);var n},e.prototype.toPromise=function(e){var t=this;return new(e=D(e))(function(e,n){var r;t.subscribe(function(e){return r=e},function(e){return n(e)},function(){return e(r)})})},e.create=function(t){return new e(t)},e}();function D(e){if(e||(e=E.Promise||Promise),!e)throw new Error("no Promise impl found");return e}function P(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}P.prototype=Object.create(Error.prototype);var R=P,O=function(e){function t(t,n){var r=e.call(this)||this;return r.subject=t,r.subscriber=n,r.closed=!1,r}return o(t,e),t.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var e=this.subject,t=e.observers;if(this.subject=null,t&&0!==t.length&&!e.isStopped&&!e.closed){var n=t.indexOf(this.subscriber);-1!==n&&t.splice(n,1)}}},t}(_),M=function(e){function t(t){var n=e.call(this,t)||this;return n.destination=t,n}return o(t,e),t}(I),j=function(e){function t(){var t=e.call(this)||this;return t.observers=[],t.closed=!1,t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return o(t,e),t.prototype[T]=function(){return new M(this)},t.prototype.lift=function(e){var t=new V(this,this);return t.operator=e,t},t.prototype.next=function(e){if(this.closed)throw new R;if(!this.isStopped)for(var t=this.observers,n=t.length,r=t.slice(),o=0;o<n;o++)r[o].next(e)},t.prototype.error=function(e){if(this.closed)throw new R;this.hasError=!0,this.thrownError=e,this.isStopped=!0;for(var t=this.observers,n=t.length,r=t.slice(),o=0;o<n;o++)r[o].error(e);this.observers.length=0},t.prototype.complete=function(){if(this.closed)throw new R;this.isStopped=!0;for(var e=this.observers,t=e.length,n=e.slice(),r=0;r<t;r++)n[r].complete();this.observers.length=0},t.prototype.unsubscribe=function(){this.isStopped=!0,this.closed=!0,this.observers=null},t.prototype._trySubscribe=function(t){if(this.closed)throw new R;return e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){if(this.closed)throw new R;return this.hasError?(e.error(this.thrownError),_.EMPTY):this.isStopped?(e.complete(),_.EMPTY):(this.observers.push(e),new O(this,e))},t.prototype.asObservable=function(){var e=new A;return e.source=this,e},t.create=function(e,t){return new V(e,t)},t}(A),V=function(e){function t(t,n){var r=e.call(this)||this;return r.destination=t,r.source=n,r}return o(t,e),t.prototype.next=function(e){var t=this.destination;t&&t.next&&t.next(e)},t.prototype.error=function(e){var t=this.destination;t&&t.error&&this.destination.error(e)},t.prototype.complete=function(){var e=this.destination;e&&e.complete&&this.destination.complete()},t.prototype._subscribe=function(e){return this.source?this.source.subscribe(e):_.EMPTY},t}(j),H=function(e){function t(t,n,r){var o=e.call(this)||this;return o.parent=t,o.outerValue=n,o.outerIndex=r,o.index=0,o}return o(t,e),t.prototype._next=function(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)},t.prototype._error=function(e){this.parent.notifyError(e,this),this.unsubscribe()},t.prototype._complete=function(){this.parent.notifyComplete(this),this.unsubscribe()},t}(I),L=function(e){return function(t){for(var n=0,r=e.length;n<r&&!t.closed;n++)t.next(e[n]);t.closed||t.complete()}},F=function(e){return function(t){return e.then(function(e){t.closed||(t.next(e),t.complete())},function(e){return t.error(e)}).then(null,x),t}};function B(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}var z=B(),U=function(e){return function(t){for(var n=e[z]();;){var r=n.next();if(r.done){t.complete();break}if(t.next(r.value),t.closed)break}return"function"==typeof n.return&&t.add(function(){n.return&&n.return()}),t}},Z=function(e){return function(t){var n=e[S]();if("function"!=typeof n.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return n.subscribe(t)}},G=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e};function Q(e){return e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}var W=function(e){if(e instanceof A)return function(t){return e._isScalar?(t.next(e.value),void t.complete()):e.subscribe(t)};if(e&&"function"==typeof e[S])return Z(e);if(G(e))return L(e);if(Q(e))return F(e);if(e&&"function"==typeof e[z])return U(e);var t=f(e)?"an invalid object":"'"+e+"'";throw new TypeError("You provided "+t+" where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.")},q=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.notifyNext=function(e,t,n,r,o){this.destination.next(t)},t.prototype.notifyError=function(e,t){this.destination.error(e)},t.prototype.notifyComplete=function(e){this.destination.complete()},t}(I),K=function(){function e(e,t){this.project=e,this.thisArg=t}return e.prototype.call=function(e,t){return t.subscribe(new Y(e,this.project,this.thisArg))},e}(),Y=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.project=n,o.count=0,o.thisArg=r||o,o}return o(t,e),t.prototype._next=function(e){var t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(t)},t}(I);function J(e,t){return new A(t?function(n){var r=new _,o=0;return r.add(t.schedule(function(){o!==e.length?(n.next(e[o++]),n.closed||r.add(this.schedule())):n.complete()})),r}:L(e))}var $,X=function(){function e(e,t){void 0===t&&(t=Number.POSITIVE_INFINITY),this.project=e,this.concurrent=t}return e.prototype.call=function(e,t){return t.subscribe(new ee(e,this.project,this.concurrent))},e}(),ee=function(e){function t(t,n,r){void 0===r&&(r=Number.POSITIVE_INFINITY);var o=e.call(this,t)||this;return o.project=n,o.concurrent=r,o.hasCompleted=!1,o.buffer=[],o.active=0,o.index=0,o}return o(t,e),t.prototype._next=function(e){this.active<this.concurrent?this._tryNext(e):this.buffer.push(e)},t.prototype._tryNext=function(e){var t,n=this.index++;try{t=this.project(e,n)}catch(r){return void this.destination.error(r)}this.active++,this._innerSub(t,e,n)},t.prototype._innerSub=function(e,t,n){var r,o,i=new H(this,void 0,void 0);this.destination.add(i),r=e,void 0===(o=i)&&(o=new H(this,t,n)),o.closed||W(r)(o)},t.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()},t.prototype.notifyNext=function(e,t,n,r,o){this.destination.next(t)},t.prototype.notifyComplete=function(e){var t=this.buffer;this.remove(e),this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},t}(q);function te(e){return e}function ne(){return function(e){return e.lift(new re(e))}}Function,($={})[4]=4,$[1]=1,$[2]=2,$[0]=0,$[3]=3;var re=function(){function e(e){this.connectable=e}return e.prototype.call=function(e,t){var n=this.connectable;n._refCount++;var r=new oe(e,n),o=t.subscribe(r);return r.closed||(r.connection=n.connect()),o},e}(),oe=function(e){function t(t,n){var r=e.call(this,t)||this;return r.connectable=n,r}return o(t,e),t.prototype._unsubscribe=function(){var e=this.connectable;if(e){this.connectable=null;var t=e._refCount;if(t<=0)this.connection=null;else if(e._refCount=t-1,t>1)this.connection=null;else{var n=this.connection,r=e._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}else this.connection=null},t}(I),ie=function(e){function t(t,n){var r=e.call(this)||this;return r.source=t,r.subjectFactory=n,r._refCount=0,r._isComplete=!1,r}return o(t,e),t.prototype._subscribe=function(e){return this.getSubject().subscribe(e)},t.prototype.getSubject=function(){var e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject},t.prototype.connect=function(){var e=this._connection;return e||(this._isComplete=!1,(e=this._connection=new _).add(this.source.subscribe(new ue(this.getSubject(),this))),e.closed?(this._connection=null,e=_.EMPTY):this._connection=e),e},t.prototype.refCount=function(){return ne()(this)},t}(A).prototype,le={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:ie._subscribe},_isComplete:{value:ie._isComplete,writable:!0},getSubject:{value:ie.getSubject},connect:{value:ie.connect},refCount:{value:ie.refCount}},ue=function(e){function t(t,n){var r=e.call(this,t)||this;return r.connectable=n,r}return o(t,e),t.prototype._error=function(t){this._unsubscribe(),e.prototype._error.call(this,t)},t.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),e.prototype._complete.call(this)},t.prototype._unsubscribe=function(){var e=this.connectable;if(e){this.connectable=null;var t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}},t}(M);function se(){return new j}function ae(e){for(var t in e)if(e[t]===ae)return t;throw Error("Could not find renamed property on target object.")}var ce=ae({ngComponentDef:ae}),de=ae({ngInjectableDef:ae}),fe=ae({ngInjectorDef:ae}),pe=ae({ngModuleDef:ae});function he(e){return{providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function ve(e){return e.hasOwnProperty(de)?e[de]:null}function ye(e){return e.hasOwnProperty(fe)?e[fe]:null}var ge=function(){function e(e,t){this._desc=e,this.ngMetadataName="InjectionToken",this.ngInjectableDef=void 0!==t?he({providedIn:t.providedIn||"root",factory:t.factory}):void 0}return e.prototype.toString=function(){return"InjectionToken "+this._desc},e}(),me="__parameters__";function be(e,t,n){var r=function(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(e){var r=e.apply(void 0,c(t));for(var o in r)this[o]=r[o]}}}(t);function o(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(this instanceof o)return r.apply(this,t),this;var i=new((e=o).bind.apply(e,c([void 0],t)));return l.annotation=i,l;function l(e,t,n){for(var r=e.hasOwnProperty(me)?e[me]:Object.defineProperty(e,me,{value:[]})[me];r.length<=n;)r.push(null);return(r[n]=r[n]||[]).push(i),e}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o}var _e="undefined"!=typeof window&&window,we="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Ce="undefined"!=typeof global&&global||_e||we,Ee=Promise.resolve(0),xe=null;function ke(){if(!xe){var e=Ce.Symbol;if(e&&e.iterator)xe=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&&(xe=r)}}return xe}function Te(e){"undefined"==typeof Zone?Ee.then(function(){e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}function Ie(e,t){return e===t||"number"==typeof e&&"number"==typeof t&&isNaN(e)&&isNaN(t)}function Ne(e){if("string"==typeof e)return e;if(e instanceof Array)return"["+e.map(Ne).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return""+e.overriddenName;if(e.name)return""+e.name;var t=e.toString();if(null==t)return""+t;var n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function Se(e){return e.__forward_ref__=Se,e.toString=function(){return Ne(this())},e}function Ae(e){return"function"==typeof e&&e.hasOwnProperty("__forward_ref__")&&e.__forward_ref__===Se?e():e}var De=be("Inject",function(e){return{token:e}}),Pe=be("Optional"),Re=be("Self"),Oe=be("SkipSelf"),Me="__source",je=new Object,Ve=je,He=new ge("INJECTOR"),Le=function(){function e(){}return e.prototype.get=function(e,t){if(void 0===t&&(t=je),t===je)throw new Error("NullInjectorError: No provider for "+Ne(e)+"!");return t},e}(),Fe=function(){function e(){}return e.create=function(e,t){return Array.isArray(e)?new Ke(e,t):new Ke(e.providers,e.parent,e.name||null)},e.THROW_IF_NOT_FOUND=je,e.NULL=new Le,e.ngInjectableDef=he({providedIn:"any",factory:function(){return tt(He)}}),e}(),Be=function(e){return e},ze=[],Ue=Be,Ze=function(){return Array.prototype.slice.call(arguments)},Ge=ae({provide:String,useValue:ae}),Qe=Fe.NULL,We=/\n/gm,qe="\u0275",Ke=function(){function e(e,t,n){void 0===t&&(t=Qe),void 0===n&&(n=null),this.parent=t,this.source=n;var r=this._records=new Map;r.set(Fe,{token:Fe,fn:Be,deps:ze,value:this,useNew:!1}),r.set(He,{token:He,fn:Be,deps:ze,value:this,useNew:!1}),function e(t,n){if(n)if((n=Ae(n))instanceof Array)for(var r=0;r<n.length;r++)e(t,n[r]);else{if("function"==typeof n)throw $e("Function/Class not supported",n);if(!n||"object"!=typeof n||!n.provide)throw $e("Unexpected provider",n);var o=Ae(n.provide),i=function(e){var t=function(e){var t=ze,n=e.deps;if(n&&n.length){t=[];for(var r=0;r<n.length;r++){var o=6;if((s=Ae(n[r]))instanceof Array)for(var i=0,l=s;i<l.length;i++){var u=l[i];u instanceof Pe||u==Pe?o|=1:u instanceof Oe||u==Oe?o&=-3:u instanceof Re||u==Re?o&=-5:s=u instanceof De?u.token:Ae(u)}t.push({token:s,options:o})}}else if(e.useExisting){var s;t=[{token:s=Ae(e.useExisting),options:6}]}else if(!(n||Ge in e))throw $e("'deps' required",e);return t}(e),n=Be,r=ze,o=!1,i=Ae(e.provide);if(Ge in e)r=e.useValue;else if(e.useFactory)n=e.useFactory;else if(e.useExisting);else if(e.useClass)o=!0,n=Ae(e.useClass);else{if("function"!=typeof i)throw $e("StaticProvider does not have [useValue|useFactory|useExisting|useClass] or [provide] is not newable",e);o=!0,n=i}return{deps:t,fn:n,useNew:o,value:r}}(n);if(!0===n.multi){var l=t.get(o);if(l){if(l.fn!==Ze)throw Ye(o)}else t.set(o,l={token:n.provide,deps:[],useNew:!1,fn:Ze,value:ze});l.deps.push({token:o=n,options:6})}var u=t.get(o);if(u&&u.fn==Ze)throw Ye(o);t.set(o,i)}}(r,e)}return e.prototype.get=function(e,t,n){void 0===n&&(n=0);var r=this._records.get(e);try{return function e(t,n,r,o,i,l){try{return function(t,n,r,o,i,l){var u,s;if(!n||4&l)2&l||(s=o.get(t,i,0));else{if((s=n.value)==Ue)throw Error(qe+"Circular dependency");if(s===ze){n.value=Ue;var a=n.useNew,d=n.fn,f=n.deps,p=ze;if(f.length){p=[];for(var h=0;h<f.length;h++){var v=f[h],y=v.options,g=2&y?r.get(v.token):void 0;p.push(e(v.token,g,r,g||4&y?o:Qe,1&y?null:Fe.THROW_IF_NOT_FOUND,0))}}n.value=s=a?new((u=d).bind.apply(u,c([void 0],p))):d.apply(void 0,p)}}return s}(t,n,r,o,i,l)}catch(u){throw u instanceof Error||(u=new Error(u)),(u.ngTempTokenPath=u.ngTempTokenPath||[]).unshift(t),n&&n.value==Ue&&(n.value=ze),u}}(e,r,this._records,this.parent,t,n)}catch(i){var o=i.ngTempTokenPath;throw e[Me]&&o.unshift(e[Me]),i.message=Je("\n"+i.message,o,this.source),i.ngTokenPath=o,i.ngTempTokenPath=null,i}},e.prototype.toString=function(){var e=[];return this._records.forEach(function(t,n){return e.push(Ne(n))}),"StaticInjector["+e.join(", ")+"]"},e}();function Ye(e){return $e("Cannot mix multi providers and regular providers",e)}function Je(e,t,n){void 0===n&&(n=null),e=e&&"\n"===e.charAt(0)&&e.charAt(1)==qe?e.substr(2):e;var r=Ne(t);if(t instanceof Array)r=t.map(Ne).join(" -> ");else if("object"==typeof t){var o=[];for(var i in t)if(t.hasOwnProperty(i)){var l=t[i];o.push(i+":"+("string"==typeof l?JSON.stringify(l):Ne(l)))}r="{"+o.join(", ")+"}"}return"StaticInjectorError"+(n?"("+n+")":"")+"["+r+"]: "+e.replace(We,"\n ")}function $e(e,t){return new Error(Je(e,t))}var Xe=void 0;function et(e){var t=Xe;return Xe=e,t}function tt(e,t){if(void 0===t&&(t=0),void 0===Xe)throw new Error("inject() must be called from an injection context");if(null===Xe){var n=ve(e);if(n&&"root"==n.providedIn)return void 0===n.value?n.value=n.factory():n.value;if(8&t)return null;throw new Error("Injector: NOT_FOUND ["+Ne(e)+"]")}return Xe.get(e,8&t?null:void 0,t)}function nt(e){for(var t=[],n=0;n<e.length;n++){var r=e[n];if(Array.isArray(r)){if(0===r.length)throw new Error("Arguments array must have arguments.");for(var o=void 0,i=0,l=0;l<r.length;l++){var u=r[l];u instanceof Pe||"Optional"===u.ngMetadataName?i|=8:u instanceof Oe||"SkipSelf"===u.ngMetadataName?i|=4:u instanceof Re||"Self"===u.ngMetadataName?i|=2:o=u instanceof De?u.token:u}t.push(tt(o,i))}else t.push(tt(r))}return t}Function;var rt=function(e){return e[e.Emulated=0]="Emulated",e[e.Native=1]="Native",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}({}),ot="__ngContext__",it=17,lt=0,ut=1,st=2,at=3,ct=4,dt=5,ft=6,pt=7,ht=8,vt=9,yt=10,gt=11,mt=12,bt=14,_t=16;function wt(e,t){var n=xt(e),r=xt(t);return n&&r?function(e,t,n){for(var r=e[ke()](),o=t[ke()]();;){var i=r.next(),l=o.next();if(i.done&&l.done)return!0;if(i.done||l.done)return!1;if(!n(i.value,l.value))return!1}}(e,t,wt):!(n||!e||"object"!=typeof e&&"function"!=typeof e||r||!t||"object"!=typeof t&&"function"!=typeof t)||Ie(e,t)}var Ct=function(){function e(e){this.wrapped=e}return e.wrap=function(t){return new e(t)},e.unwrap=function(t){return e.isWrapped(t)?t.wrapped:t},e.isWrapped=function(t){return t instanceof e},e}(),Et=function(){function e(e,t,n){this.previousValue=e,this.currentValue=t,this.firstChange=n}return e.prototype.isFirstChange=function(){return this.firstChange},e}();function xt(e){return!!kt(e)&&(Array.isArray(e)||!(e instanceof Map)&&ke()in e)}function kt(e){return null!==e&&("function"==typeof e||"object"==typeof e)}var Tt=0,It=1,Nt=6;function St(e){for(;Array.isArray(e);)e=e[dt];return e}function At(e,t){return St(t[e.index])}function Dt(e,t){var n=t[e];return n.length>=it?n:n[dt]}function Pt(e){return e[ot]}function Rt(e){var t=Pt(e);return t?Array.isArray(t)?t:t.lViewData:null}function Ot(e,t){e[ot]=t}function Mt(e,t,n){e.afterContentInit&&(t.contentHooks||(t.contentHooks=[])).push(n,e.afterContentInit),e.afterContentChecked&&((t.contentHooks||(t.contentHooks=[])).push(n,e.afterContentChecked),(t.contentCheckHooks||(t.contentCheckHooks=[])).push(n,e.afterContentChecked))}function jt(e,t,n){e.afterViewInit&&(t.viewHooks||(t.viewHooks=[])).push(n,e.afterViewInit),e.afterViewChecked&&((t.viewHooks||(t.viewHooks=[])).push(n,e.afterViewChecked),(t.viewCheckHooks||(t.viewCheckHooks=[])).push(n,e.afterViewChecked))}function Vt(e,t,n){null!=e.onDestroy&&(t.destroyHooks||(t.destroyHooks=[])).push(n,e.onDestroy)}function Ht(e,t,n){16&e[ut]&&(Lt(e,t.initHooks,t.checkHooks,n),e[ut]&=-17)}function Lt(e,t,n,r){var o=r?t:n;o&&Ft(e,o)}function Ft(e,t){for(var n=0;n<t.length;n+=2)t[n+1].call(e[t[n]])}var Bt=9,zt="ngProjectAs";function Ut(e){return!!e.listen}var Zt={createRenderer:function(e,t){return document}},Gt=[];function Qt(e){for(var t=e[ft];t&&2===t.type;)t=(e=e[st])[ft];return e}function Wt(e,t,n,r,o){0===e?Ut(t)?t.insertBefore(n,r,o):n.insertBefore(r,o,!0):1===e?Ut(t)?t.removeChild(n,r):n.removeChild(r):2===e&&t.destroyNode(r)}function qt(e){var t=e[lt].childIndex;return-1===t?null:e[t]}function Kt(e,t){var n;return e.length>=it&&(n=e[ft])&&2===n.type?function(t,n){if(-1===t.index){var r=e[bt];return r>-1?e[st][r]:null}return e[st][t.parent.index]}(n):e[st]===t?null:e[st]}function Yt(e){if(e.length>=it){var t=e;!function(e){var t=e[lt].cleanup;if(null!=t){for(var n=0;n<t.length-1;n+=2)"string"==typeof t[n]?(St(e[t[n+1]]).removeEventListener(t[n],e[ht][t[n+2]],t[n+3]),n+=2):"number"==typeof t[n]?(0,e[ht][t[n]])():t[n].call(e[ht][t[n+1]]);e[ht]=null}}(t),function(e){var t,n=e[lt];null!=n&&null!=(t=n.destroyHooks)&&Ft(e,t)}(t),(r=(n=t)[lt]&&n[lt].pipeDestroyHooks)&&Ft(n,r),-1===t[lt].id&&Ut(t[gt])&&t[gt].destroy()}var n,r}var Jt,$t,Xt,en,tn,nn,rn,on,ln=Promise.resolve(null);function un(){return $t}var sn=!1,an=!0,cn=-1;function dn(e,t){var n=on;return tn=e&&e[lt],rn=e&&1==(1&e[ut]),an=e&&tn.firstTemplatePass,cn=e&&tn.bindingStartIndex,Jt=e&&e[gt],Xt=t,en=!0,on=e,n&&(n[ct]=nn),nn=e&&e[ct],n}function fn(e,t){t||(sn||Lt(on,tn.viewHooks,tn.viewCheckHooks,rn),on[ut]&=-6),on[ut]|=16,on[pt]=tn.bindingStartIndex,dn(e,null)}function pn(){hn();var e=an;tn.firstTemplatePass=an=!1,sn||Ht(on,tn,rn),function(e){for(var t=qt(on);null!==t;t=t[at])if(t.length<it&&-1===t[Tt])for(var n=t,r=0;r<n[It].length;r++){var o=n[It][r];gn(o,o[lt],o[vt],2)}}(),function(e){if(null!=e.contentQueries)for(var t=0;t<e.contentQueries.length;t+=2){var n=e.contentQueries[t];e.data[n].contentQueriesRefresh(n-it,e.contentQueries[t+1])}}(tn),sn||Lt(on,tn.contentHooks,tn.contentCheckHooks,rn),function(e,t){if(null!=e)for(var n=0;n<e.length;n++)kn(e[n],t)}(tn.components,e)}function hn(){if(tn.expandoInstructions){cn=on[pt]=tn.expandoStartIndex;for(var e=-1,t=-1,n=0;n<tn.expandoInstructions.length;n++){var r=tn.expandoInstructions[n];"number"==typeof r?r<=0?(t=-r,"number"==typeof on[cn]&&(cn+=Bt),e=cn):cn+=r:(on[pt]=cn,r(e-it,t),e++)}}}function vn(e,t,n,r,o){var i=t.blueprint.slice();return i[ut]=25|r,i[st]=i[_t]=on,i[vt]=n,i[yt]=on?on[yt]:null,i[gt]=e,i[mt]=o||null,i}function yn(e,t,n,r,o){var i=e+it;on[i]=n;var l=tn.data[i];return null==l&&(l=tn.data[i]=xn(t,i,r,o,null),Xt&&(!en||null!=Xt.child||null===l.parent&&2!==Xt.type?en||(Xt.next=l):Xt.child=l)),null==tn.firstChild&&3===t&&(tn.firstChild=l),Xt=l,en=!0,l}function gn(e,t,n,r){var o,i=en,l=Xt;if(64&e[ut])In(e[vt]);else try{en=!0,Xt=null,o=dn(e,e[ft]),wn(),t.template(r,n),2&r?pn():e[lt].firstTemplatePass=an=!1}finally{fn(o,1==(1&r)),en=i,Xt=l}}function mn(e,t,n){var r=dn(e,e[ft]);try{$t.begin&&$t.begin(),n?(wn(),n(bn(e),t),pn()):(sn||(Ht(on,tn,rn),Lt(on,tn.contentHooks,tn.contentCheckHooks,rn)),hn(),kn(it,!1))}finally{$t.end&&$t.end(),fn(r)}}function bn(e){return 1&e[ut]?3:2}var _n=null;function wn(){_n=null}function Cn(e,t,n,r,o,i,l){var u=it+n,s=u+r,a=function(e,t){var n=new Array(t).fill(null,0,e).fill(Dn,e);return n[bt]=-1,n[pt]=e,n}(u,s);return a[lt]={id:e,blueprint:a,template:t,viewQuery:l,node:null,data:a.slice(),childIndex:-1,bindingStartIndex:u,expandoStartIndex:s,expandoInstructions:null,firstTemplatePass:!0,initHooks:null,checkHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,pipeDestroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof o?o():o,pipeRegistry:"function"==typeof i?i():i,currentMatches:null,firstChild:null}}function En(e,t){$t=e;var n=e.createRenderer(null,null);return"string"==typeof t?Ut(n)?n.selectRootElement(t):n.querySelector(t):t}function xn(e,t,n,r,o){var i=en?Xt:Xt&&Xt.parent,l=i&&on&&i!==on[ft]?i:null;return{type:e,index:t,injectorIndex:l?l.injectorIndex:-1,flags:0,tagName:n,attrs:r,localNames:null,initialInputs:void 0,inputs:void 0,outputs:void 0,tViews:o,next:null,child:null,parent:l,detached:null,stylingTemplate:null,projection:null}}function kn(e,t){var n=Dt(e,on);Tn(n)&&6&n[ut]&&(t&&function(e){for(var t=e[lt],n=e.length;n<t.blueprint.length;n++)e[n]=t.blueprint[n]}(n),An(n,n[vt]))}function Tn(e){return 8==(8&e[ut])}function In(e){for(var t=0;t<e.components.length;t++){var n=e.components[t];mn(Rt(n),n)}}function Nn(e){An(function(e){var t,n=Pt(e);if(Array.isArray(n)){var r=function(e,t){var n=e[lt].components;if(n)for(var r=0;r<n.length;r++){var o=n[r];if(Dt(o,e)[vt]===t)return o}else if(Dt(it,e)[vt]===t)return it;return-1}(n,e);(o=function(e,t,n){return{lViewData:e,nodeIndex:t,native:n,component:void 0,directives:void 0,localRefs:void 0}}(n,r,(t=Dt(r,n))[dt])).component=e,Ot(e,o),Ot(o.native,o)}else{var o;t=Dt((o=n).nodeIndex,o.lViewData)}return t}(e),e)}function Sn(e){In(e[vt])}function An(e,t){var n=e[lt],r=dn(e,e[ft]),o=n.template,i=n.viewQuery;try{wn(),function(t,n,r){t&&1&e[ut]&&t(1,r)}(i,0,t),o(bn(e),t),pn(),function(e,t){e&&e(2,t)}(i,t)}finally{fn(r)}}var Dn={},Pn=ln,Rn=[0,1];function On(e,t,n,r,o,i){var l=function(e,t,n,r){if(Ot(t,on),r&&Ot(r,on),on[e]=t,an){var o=Xt.flags;0===o?Xt.flags=e<<15|4096&o|1:Xt.flags++,tn.data.push(n),tn.blueprint.push(null),n.hostBindings&&tn.expandoInstructions.push((l=n).hostBindings,l.hostVars)}else{var i=n.diPublic;i&&i(n)}var l;return null!=n.attributes&&3==Xt.type&&function(e,t){for(var n=Ut(Jt),r=0;r<t.length;){var o=t[r];if(1===o)break;if(o===zt)r+=2;else if(0===o){var i=t[r+1],l=t[r+2],u=t[r+3];n?Jt.setAttribute(e,l,u,i):e.setAttributeNS(i,l,u),r+=4}else u=t[r+1],n?Jt.setAttribute(e,o,u):e.setAttribute(o,u),r+=2}}(r,n.attributes),t}(r.length,n.factory(),n,e);return o.components.push(l),t[vt]=l,i&&i.forEach(function(e){return e(l,n)}),r[lt].firstTemplatePass&&function(e){for(var t=0;t<e;t++)on.push(Dn),tn.blueprint.push(Dn),tn.data.push(null)}(n.hostVars),hn(),l}function Mn(e,t){return{components:[],scheduler:e,clean:Pn,playerHandler:t||null,flags:0}}function jn(e,t){var n,r,o,i,l=Rt(e)[lt],u=l.data.length-1;n=u,o=t.doCheck,i=l,(r=t.onInit)&&(i.initHooks||(i.initHooks=[])).push(n,r),o&&((i.initHooks||(i.initHooks=[])).push(n,o),(i.checkHooks||(i.checkHooks=[])).push(n,o)),function(e,t){if(t.firstTemplatePass)for(var n=e>>15,r=n+(4095&e),o=n;o<r;o++){var i=t.data[o];Mt(i,t,o),jt(i,t,o),Vt(i,t,o)}}(u<<15|1,l)}var Vn=function(){return function(){}}(),Hn=function(){return function(){}}();function Ln(e){var t=Error("No component factory found for "+Ne(e)+". Did you add it to @NgModule.entryComponents?");return t[Bn]=e,t}var Fn,Bn="ngComponent",zn=function(){function e(){}return e.prototype.resolveComponentFactory=function(e){throw Ln(e)},e}(),Un=function(){function e(){}return e.NULL=new zn,e}(),Zn=function(){function e(e,t,n){this._parent=t,this._ngModule=n,this._factories=new Map;for(var r=0;r<e.length;r++){var o=e[r];this._factories.set(o.componentType,o)}}return e.prototype.resolveComponentFactory=function(e){var t=this._factories.get(e);if(!t&&this._parent&&(t=this._parent.resolveComponentFactory(e)),!t)throw Ln(e);return new Gn(t,this._ngModule)},e}(),Gn=function(e){function t(t,n){var r=e.call(this)||this;return r.factory=t,r.ngModule=n,r.selector=t.selector,r.componentType=t.componentType,r.ngContentSelectors=t.ngContentSelectors,r.inputs=t.inputs,r.outputs=t.outputs,r}return o(t,e),t.prototype.create=function(e,t,n,r){return this.factory.create(e,t,n,r||this.ngModule)},t}(Hn),Qn=function(){return function(){}}(),Wn=function(){return function(){}}(),qn=function(e){function t(t){var n=e.call(this,t,null,-1)||this;return n._view=t,n}return o(t,e),t.prototype.detectChanges=function(){Sn(this._view)},t.prototype.checkNoChanges=function(){!function(e){sn=!0;try{Sn(e)}finally{sn=!1}}(this._view)},t}(function(){function e(e,t,n){this._context=t,this._componentIndex=n,this._appRef=null,this._viewContainerRef=null,this._tViewNode=null,this._view=e}return Object.defineProperty(e.prototype,"context",{get:function(){return this._context?this._context:this._lookUpContext()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"destroyed",{get:function(){return 32==(32&this._view[ut])},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){var e,t;this._viewContainerRef&&Tn(this._view)&&(this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),this._viewContainerRef=null),Ut(t=(e=this._view)[gt])&&t.destroyNode&&function(t,n,r,o,i){for(var l=e[lt].node,u=-1,s=e,a=l.child;a;){var c=null;if(3===a.type){Wt(2,r,null,At(a,s),i);var d=s[a.index];v=d,Array.isArray(v)&&"number"==typeof v[Tt]&&Wt(2,r,null,d[Nt],i)}else if(0===a.type){var f=s[a.index];Wt(2,r,null,f[Nt],i),f[It].length&&(c=(s=f[It][0])[lt].node,i=f[Nt])}else if(1===a.type){var p=Qt(s),h=p[ft].projection[a.projection];Gt[++u]=a,Gt[++u]=s,h&&(c=(s=p[st])[lt].data[h.index])}else c=a.child;if(null===c)for(null===a.next&&8192&a.flags&&(s=Gt[u--],a=Gt[u--]),c=a.next;!c;){if(null===(a=a.parent||s[lt].node)||a===l)return null;0===a.type&&(i=(s=s[st])[a.index][Nt]),c=2===a.type&&s[at]?(s=s[at])[lt].node:a.next}a=c}var v}(0,0,t),function(e){if(-1===e[lt].childIndex)return Yt(e);for(var t=qt(e);t;){var n=null;if(t.length>=it?t[lt].childIndex>-1&&(n=qt(t)):t[It].length&&(n=t[It][0]),null==n){for(;t&&!t[at]&&t!==e;)Yt(t),t=Kt(t,e);Yt(t||e),n=t&&t[at]}t=n}}(e),e[ut]|=32},e.prototype.onDestroy=function(e){var t,n;n=e,function(e){return e[ht]||(e[ht]=[])}(t=this._view).push(n),t[lt].firstTemplatePass&&function(e){return e[lt].cleanup||(e[lt].cleanup=[])}(t).push(t[ht].length-1,null)},e.prototype.markForCheck=function(){!function(e){for(var t=e;t&&!(64&t[ut]);)t[ut]|=4,t=t[st];var n,r,o;t[ut]|=4,o=0===(n=t[vt]).flags,n.flags|=1,o&&n.clean==ln&&(n.clean=new Promise(function(e){return r=e}),n.scheduler(function(){if(1&n.flags&&(n.flags&=-2,In(n)),2&n.flags){n.flags&=-3;var e=n.playerHandler;e&&e.flushPlayers()}n.clean=ln,r(null)}))}(this._view)},e.prototype.detach=function(){this._view[ut]&=-9},e.prototype.reattach=function(){this._view[ut]|=8},e.prototype.detectChanges=function(){var e=un();e.begin&&e.begin(),Nn(this.context),e.end&&e.end()},e.prototype.checkNoChanges=function(){!function(e){sn=!0;try{Nn(e)}finally{sn=!1}}(this.context)},e.prototype.attachToViewContainerRef=function(e){this._viewContainerRef=e},e.prototype.detachFromAppRef=function(){this._appRef=null},e.prototype.attachToAppRef=function(e){this._appRef=e},e.prototype._lookUpContext=function(){return this._context=this._view[st][this._componentIndex]},e}());function Kn(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]}var Yn=Kn,Jn=Kn,$n=Kn,Xn=Kn,er=Kn,tr=function(){function e(e){this.nativeElement=e}return e.__NG_ELEMENT_ID__=function(){return Yn(e)},e}(),nr=function(){return function(){}}(),rr=function(){return function(){}}(),or=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}({}),ir=function(){function e(){}return e.__NG_ELEMENT_ID__=function(){return er()},e}(),lr=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.resolveComponentFactory=function(e){return new dr(e[ce]||null)},t}(Un);function ur(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}var sr=new ge("ROOT_CONTEXT_TOKEN",{providedIn:"root",factory:function(){return Mn(tt(ar))}}),ar=new ge("SCHEDULER_TOKEN",{providedIn:"root",factory:function(){return"undefined"!=typeof requestAnimationFrame&&"undefined"!=typeof window?requestAnimationFrame.bind(window):setTimeout}}),cr=new ge("WRAP_RENDERER_FACTORY2"),dr=function(e){function t(t){var n=e.call(this)||this;return n.componentDef=t,n.componentType=t.type,n.selector=t.selectors[0][0],n.ngContentSelectors=[],n}return o(t,e),Object.defineProperty(t.prototype,"inputs",{get:function(){return ur(this.componentDef.inputs)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"outputs",{get:function(){return ur(this.componentDef.outputs)},enumerable:!0,configurable:!0}),t.prototype.create=function(e,t,n,r){var i,l=void 0===n;i=r?r.injector.get(cr,function(e){return e})(r.injector.get(rr)):Zt;var u,s,a=l?(u=this.selector,Ut(s=i.createRenderer(null,this.componentDef)||Jt)?s.createElement(u,_n):null===_n?s.createElement(u):s.createElementNS(_n,u)):En(i,n),c=this.componentDef.onPush?68:66,d=r&&!l?r.injector.get(sr):Mn(requestAnimationFrame.bind(window)),f=i.createRenderer(a,this.componentDef),p=vn(f,Cn(-1,null,1,0,null,null,null),d,c);p[yt]=r&&r.injector||null;var h,v,y,g,m=dn(p,null);try{i.begin&&i.begin();var b=function(e,t,n,r,o){en=!1,Xt=null;var i,l=n[lt],u=vn(r,(i=t.template).ngPrivateData||(i.ngPrivateData=Cn(-1,i,t.consts,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery)),null,t.onPush?4:2,o),s=yn(0,3,e,null,null);return l.firstTemplatePass&&(l.expandoInstructions=Rn.slice(),t.diPublic&&t.diPublic(t),s.flags=n.length<<15|4096),u[dt]=n[it],u[ft]=s,n[it]=u}(a,this.componentDef,p,f);if(v=p[lt].data[0+it],t)for(var _=0,w=v.projection=[],C=0;C<t.length;C++){for(var E=t[C],x=null,k=null,T=0;T<E.length;T++){g=void 0,(g=(y=p)[lt]).firstTemplatePass&&(g.expandoStartIndex++,g.blueprint.push(null),y.push(null));var I=yn(++_,3,E[T],null,null);k?k.next=I:x=I,k=I}w.push(x)}h=On(a,b,this.componentDef,p,d,[jn]),gn(b,b[lt],h,1),b[ut]&=-2}finally{dn(m,null),i.end&&i.end()}var N=new fr(this.componentType,h,p,e,function(e,t,n){return Fn||(Fn=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t}(tr)),new Fn(At(t,n))}(0,v,p));return l&&(N.hostView._tViewNode.child=v),N},t}(Hn),fr=function(e){function t(t,n,r,o,i){var l,u=e.call(this)||this;return u.location=i,u.destroyCbs=[],u.instance=n,u.hostView=u.changeDetectorRef=new qn(r),u.hostView._tViewNode=(-1,null==(l=r)[lt].node&&(l[lt].node=xn(2,-1,null,null,null)),en=!0,Xt=l[ft]=l[lt].node),u.injector=o,u.componentType=t,u}return o(t,e),t.prototype.destroy=function(){this.destroyCbs.forEach(function(e){return e()}),this.destroyCbs=null},t.prototype.onDestroy=function(e){this.destroyCbs.push(e)},t}(Vn),pr=new ge("The presence of this token marks an injector as being the root injector."),hr={},vr={},yr=[],gr=void 0;function mr(){return void 0===gr&&(gr=new Le),gr}var br=function(){function e(e,t,n){var r=this;this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this.destroyed=!1,Cr([e],function(e){return r.processInjectorType(e,new Set)}),t&&Cr(t,function(e){return r.processProvider(e)}),this.records.set(He,wr(void 0,this)),this.isRootInjector=this.records.has(pr),this.injectorDefTypes.forEach(function(e){return r.get(e)})}return e.prototype.destroy=function(){this.assertNotDestroyed(),this.destroyed=!0;try{this.onDestroy.forEach(function(e){return e.ngOnDestroy()})}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}},e.prototype.get=function(e,t,n){void 0===t&&(t=Ve),void 0===n&&(n=0),this.assertNotDestroyed();var r,o=et(this);try{if(!(4&n)){var i=this.records.get(e);if(void 0===i){var l=("function"==typeof(r=e)||"object"==typeof r&&r instanceof ge)&&ve(e);l&&this.injectableDefInScope(l)&&(i=_r(e),this.records.set(e,i))}if(void 0!==i)return this.hydrate(e,i)}return 2&n&&mr(),this.parent.get(e,t)}finally{et(o)}},e.prototype.assertNotDestroyed=function(){if(this.destroyed)throw new Error("Injector has already been destroyed.")},e.prototype.processInjectorType=function(e,t){var n=this,r=ye(e=Ae(e)),o=null==r&&e.ngModule||void 0,i=void 0===o?e:o,l=void 0!==o&&e.providers||yr;if(void 0!==o&&(r=ye(o)),null!=r){if(t.has(i))throw new Error("Circular dependency: type "+Ne(i)+" ends up importing itself.");if(this.injectorDefTypes.add(i),this.records.set(i,wr(r.factory)),null!=r.imports){t.add(i);try{Cr(r.imports,function(e){return n.processInjectorType(e,t)})}finally{t.delete(i)}}null!=r.providers&&Cr(r.providers,function(e){return n.processProvider(e)}),Cr(l,function(e){return n.processProvider(e)})}},e.prototype.processProvider=function(e){var t=Er(e=Ae(e))?e:Ae(e.provide),n=function(e){var t=Ae(e),n=hr,r=void 0;if(Er(e))return _r(e);if(t=Ae(e.provide),Ge in e)n=e.useValue;else if(e.useExisting)r=function(){return tt(e.useExisting)};else if(e.useFactory)r=function(){return e.useFactory.apply(e,c(nt(e.deps||[])))};else{var o=e.useClass||t;if(!e.deps)return _r(o);r=function(){return new(o.bind.apply(o,c([void 0],nt(e.deps))))}}return wr(r,n)}(e);if(Er(e)||!0!==e.multi){var r=this.records.get(t);if(r&&void 0!==r.multi)throw new Error("Mixed multi-provider for "+Ne(t))}else{var o=this.records.get(t);if(o){if(void 0===o.multi)throw new Error("Mixed multi-provider for "+t+".")}else(o=wr(void 0,hr,!0)).factory=function(){return nt(o.multi)},this.records.set(t,o);t=e,o.multi.push(e)}this.records.set(t,n)},e.prototype.hydrate=function(e,t){if(t.value===vr)throw new Error("Circular dep for "+Ne(e));var n;return t.value===hr&&(t.value=vr,t.value=t.factory()),"object"==typeof t.value&&t.value&&"object"==typeof(n=t.value)&&null!=n&&n.ngOnDestroy&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(t.value),t.value},e.prototype.injectableDefInScope=function(e){return!!e.providedIn&&("string"==typeof e.providedIn?"any"===e.providedIn||"root"===e.providedIn&&this.isRootInjector:this.injectorDefTypes.has(e.providedIn))},e}();function _r(e){var t=ve(e);if(null===t){if(e instanceof ge)throw new Error("Token "+Ne(e)+" is missing an ngInjectableDef definition.");return wr(function(){return new e})}return wr(t.factory)}function wr(e,t,n){return void 0===t&&(t=hr),void 0===n&&(n=!1),{factory:e,value:t,multi:n?[]:void 0}}function Cr(e,t){e.forEach(function(e){return Array.isArray(e)?Cr(e,t):t(e)})}function Er(e){return"function"==typeof e}var xr={provide:Un,useFactory:function(){return new lr},deps:[]},kr=function(e){function t(t,n){var r=e.call(this)||this;return r._bootstrapComponents=[],r.destroyCbs=[],r._bootstrapComponents=(t[pe]||null).bootstrap,r.injector=function(e,t,n){return void 0===t&&(t=null),void 0===n&&(n=null),t=t||mr(),new br(e,n,t)}(t,n,[xr,{provide:Qn,useValue:r}]),r.instance=r.injector.get(t),r.componentFactoryResolver=new lr,r}return o(t,e),t.prototype.destroy=function(){this.destroyCbs.forEach(function(e){return e()}),this.destroyCbs=null},t.prototype.onDestroy=function(e){this.destroyCbs.push(e)},t}(Qn);!function(e){function t(t){var n=e.call(this)||this;return n.moduleType=t,n}o(t,e),t.prototype.create=function(e){return new kr(this.moduleType,e)}}(Wn);var Tr=function(e){function t(t){void 0===t&&(t=!1);var n=e.call(this)||this;return n.__isAsync=t,n}return o(t,e),t.prototype.emit=function(t){e.prototype.next.call(this,t)},t.prototype.subscribe=function(t,n,r){var o,i=function(e){return null},l=function(){return null};t&&"object"==typeof t?(o=this.__isAsync?function(e){setTimeout(function(){return t.next(e)})}:function(e){t.next(e)},t.error&&(i=this.__isAsync?function(e){setTimeout(function(){return t.error(e)})}:function(e){t.error(e)}),t.complete&&(l=this.__isAsync?function(){setTimeout(function(){return t.complete()})}:function(){t.complete()})):(o=this.__isAsync?function(e){setTimeout(function(){return t(e)})}:function(e){t(e)},n&&(i=this.__isAsync?function(e){setTimeout(function(){return n(e)})}:function(e){n(e)}),r&&(l=this.__isAsync?function(){setTimeout(function(){return r()})}:function(){r()}));var u=e.prototype.subscribe.call(this,o,i,l);return t instanceof _&&t.add(u),u},t}(j),Ir=function(){function e(){}return e.__NG_ELEMENT_ID__=function(){return Jn(e,tr)},e}(),Nr=!0,Sr=!1;function Ar(){return Sr=!0,Nr}var Dr=function(){function e(e){if(this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),this.inertBodyElement=this.inertDocument.body,null==this.inertBodyElement){var t=this.inertDocument.createElement("html");this.inertDocument.appendChild(t),this.inertBodyElement=this.inertDocument.createElement("body"),t.appendChild(this.inertBodyElement)}this.inertBodyElement.innerHTML='<svg><g onload="this.parentNode.remove()"></g></svg>',!this.inertBodyElement.querySelector||this.inertBodyElement.querySelector("svg")?(this.inertBodyElement.innerHTML='<svg><p><style><img src="</style><img src=x onerror=alert(1)//">',this.getInertBodyElement=this.inertBodyElement.querySelector&&this.inertBodyElement.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(e){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}return e.prototype.getInertBodyElement_XHR=function(e){e="<body><remove></remove>"+e+"</body>";try{e=encodeURI(e)}catch(r){return null}var t=new XMLHttpRequest;t.responseType="document",t.open("GET","data:text/html;charset=utf-8,"+e,!1),t.send(void 0);var n=t.response.body;return n.removeChild(n.firstChild),n},e.prototype.getInertBodyElement_DOMParser=function(e){e="<body><remove></remove>"+e+"</body>";try{var t=(new window.DOMParser).parseFromString(e,"text/html").body;return t.removeChild(t.firstChild),t}catch(n){return null}},e.prototype.getInertBodyElement_InertDocument=function(e){var t=this.inertDocument.createElement("template");return"content"in t?(t.innerHTML=e,t):(this.inertBodyElement.innerHTML=e,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(this.inertBodyElement),this.inertBodyElement)},e.prototype.stripCustomNsAttrs=function(e){for(var t=e.attributes,n=t.length-1;0<n;n--){var r=t.item(n).name;"xmlns:ns1"!==r&&0!==r.indexOf("ns1:")||e.removeAttribute(r)}for(var o=e.firstChild;o;)o.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(o),o=o.nextSibling},e}(),Pr=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:\/?#]*(?:[\/?#]|$))/gi,Rr=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function Or(e){return(e=String(e)).match(Pr)||e.match(Rr)?e:(Ar()&&console.warn("WARNING: sanitizing unsafe URL value "+e+" (see http://g.co/ng/security#xss)"),"unsafe:"+e)}function Mr(e){var t,n,r={};try{for(var o=s(e.split(",")),i=o.next();!i.done;i=o.next())r[i.value]=!0}catch(l){t={error:l}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}return r}function jr(){for(var e,t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var o={};try{for(var i=s(n),l=i.next();!l.done;l=i.next()){var u=l.value;for(var a in u)u.hasOwnProperty(a)&&(o[a]=!0)}}catch(c){e={error:c}}finally{try{l&&!l.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}return o}var Vr,Hr=Mr("area,br,col,hr,img,wbr"),Lr=Mr("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Fr=Mr("rp,rt"),Br=jr(Fr,Lr),zr=jr(Hr,jr(Lr,Mr("address,article,aside