text: (window.webpackJsonp=window.webpackJsonp||[]).push([[1],{"+t9g":function(e,t,n){"use strict";e.exports=n("nof+")},0:function(e,t,n){e.exports=n("zUnb")},"0TWp":function(e,t,n){!function(){"use strict";!function(e){var t=e.performance;function n(e){t&&t.mark&&t.mark(e)}function r(e,n){t&&t.measure&&t.measure(e,n)}n("Zone");var o=!0===e.__zone_symbol__forceDuplicateZoneCheck;if(e.Zone){if(o||"function"!=typeof e.Zone.__symbol__)throw new Error("Zone already loaded.");return e.Zone}var i,a=function(){function t(e,t){this._parent=e,this._name=t?t.name||"unnamed":"<root>",this._properties=t&&t.properties||{},this._zoneDelegate=new u(this,this._parent&&this._parent._zoneDelegate,t)}return t.assertZonePatched=function(){if(e.Promise!==x.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")},Object.defineProperty(t,"root",{get:function(){for(var e=t.current;e.parent;)e=e.parent;return e},enumerable:!0,configurable:!0}),Object.defineProperty(t,"current",{get:function(){return O.zone},enumerable:!0,configurable:!0}),Object.defineProperty(t,"currentTask",{get:function(){return R},enumerable:!0,configurable:!0}),t.__load_patch=function(i,a){if(x.hasOwnProperty(i)){if(o)throw Error("Already loaded patch: "+i)}else if(!e["__Zone_disable_"+i]){var s="Zone:"+i;n(s),x[i]=a(e,t,P),r(s,s)}},Object.defineProperty(t.prototype,"parent",{get:function(){return this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"name",{get:function(){return this._name},enumerable:!0,configurable:!0}),t.prototype.get=function(e){var t=this.getZoneWith(e);if(t)return t._properties[e]},t.prototype.getZoneWith=function(e){for(var t=this;t;){if(t._properties.hasOwnProperty(e))return t;t=t._parent}return null},t.prototype.fork=function(e){if(!e)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,e)},t.prototype.wrap=function(e,t){if("function"!=typeof e)throw new Error("Expecting function got: "+e);var n=this._zoneDelegate.intercept(this,e,t),r=this;return function(){return r.runGuarded(n,this,arguments,t)}},t.prototype.run=function(e,t,n,r){O={parent:O,zone:this};try{return this._zoneDelegate.invoke(this,e,t,n,r)}finally{O=O.parent}},t.prototype.runGuarded=function(e,t,n,r){void 0===t&&(t=null),O={parent:O,zone:this};try{try{return this._zoneDelegate.invoke(this,e,t,n,r)}catch(o){if(this._zoneDelegate.handleError(this,o))throw o}}finally{O=O.parent}},t.prototype.runTask=function(e,t,n){if(e.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(e.zone||g).name+"; Execution: "+this.name+")");if(e.state!==m||e.type!==k&&e.type!==T){var r=e.state!=w;r&&e._transitionTo(w,_),e.runCount++;var o=R;R=e,O={parent:O,zone:this};try{e.type==T&&e.data&&!e.data.isPeriodic&&(e.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,e,t,n)}catch(i){if(this._zoneDelegate.handleError(this,i))throw i}}finally{e.state!==m&&e.state!==S&&(e.type==k||e.data&&e.data.isPeriodic?r&&e._transitionTo(_,w):(e.runCount=0,this._updateTaskCount(e,-1),r&&e._transitionTo(m,w,m))),O=O.parent,R=o}}},t.prototype.scheduleTask=function(e){if(e.zone&&e.zone!==this)for(var t=this;t;){if(t===e.zone)throw Error("can not reschedule task to "+this.name+" which is descendants of the original zone "+e.zone.name);t=t.parent}e._transitionTo(b,m);var n=[];e._zoneDelegates=n,e._zone=this;try{e=this._zoneDelegate.scheduleTask(this,e)}catch(r){throw e._transitionTo(S,b,m),this._zoneDelegate.handleError(this,r),r}return e._zoneDelegates===n&&this._updateTaskCount(e,1),e.state==b&&e._transitionTo(_,b),e},t.prototype.scheduleMicroTask=function(e,t,n,r){return this.scheduleTask(new c(C,e,t,n,r,void 0))},t.prototype.scheduleMacroTask=function(e,t,n,r,o){return this.scheduleTask(new c(T,e,t,n,r,o))},t.prototype.scheduleEventTask=function(e,t,n,r,o){return this.scheduleTask(new c(k,e,t,n,r,o))},t.prototype.cancelTask=function(e){if(e.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(e.zone||g).name+"; Execution: "+this.name+")");e._transitionTo(E,_,w);try{this._zoneDelegate.cancelTask(this,e)}catch(t){throw e._transitionTo(S,E),this._zoneDelegate.handleError(this,t),t}return this._updateTaskCount(e,-1),e._transitionTo(m,E),e.runCount=0,e},t.prototype._updateTaskCount=function(e,t){var n=e._zoneDelegates;-1==t&&(e._zoneDelegates=null);for(var r=0;r<n.length;r++)n[r]._updateTaskCount(e.type,t)},t.__symbol__=N,t}(),s={name:"",onHasTask:function(e,t,n,r){return e.hasTask(n,r)},onScheduleTask:function(e,t,n,r){return e.scheduleTask(n,r)},onInvokeTask:function(e,t,n,r,o,i){return e.invokeTask(n,r,o,i)},onCancelTask:function(e,t,n,r){return e.cancelTask(n,r)}},u=function(){function e(e,t,n){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=e,this._parentDelegate=t,this._forkZS=n&&(n&&n.onFork?n:t._forkZS),this._forkDlgt=n&&(n.onFork?t:t._forkDlgt),this._forkCurrZone=n&&(n.onFork?this.zone:t.zone),this._interceptZS=n&&(n.onIntercept?n:t._interceptZS),this._interceptDlgt=n&&(n.onIntercept?t:t._interceptDlgt),this._interceptCurrZone=n&&(n.onIntercept?this.zone:t.zone),this._invokeZS=n&&(n.onInvoke?n:t._invokeZS),this._invokeDlgt=n&&(n.onInvoke?t:t._invokeDlgt),this._invokeCurrZone=n&&(n.onInvoke?this.zone:t.zone),this._handleErrorZS=n&&(n.onHandleError?n:t._handleErrorZS),this._handleErrorDlgt=n&&(n.onHandleError?t:t._handleErrorDlgt),this._handleErrorCurrZone=n&&(n.onHandleError?this.zone:t.zone),this._scheduleTaskZS=n&&(n.onScheduleTask?n:t._scheduleTaskZS),this._scheduleTaskDlgt=n&&(n.onScheduleTask?t:t._scheduleTaskDlgt),this._scheduleTaskCurrZone=n&&(n.onScheduleTask?this.zone:t.zone),this._invokeTaskZS=n&&(n.onInvokeTask?n:t._invokeTaskZS),this._invokeTaskDlgt=n&&(n.onInvokeTask?t:t._invokeTaskDlgt),this._invokeTaskCurrZone=n&&(n.onInvokeTask?this.zone:t.zone),this._cancelTaskZS=n&&(n.onCancelTask?n:t._cancelTaskZS),this._cancelTaskDlgt=n&&(n.onCancelTask?t:t._cancelTaskDlgt),this._cancelTaskCurrZone=n&&(n.onCancelTask?this.zone:t.zone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;var r=n&&n.onHasTask;(r||t&&t._hasTaskZS)&&(this._hasTaskZS=r?n:s,this._hasTaskDlgt=t,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=e,n.onScheduleTask||(this._scheduleTaskZS=s,this._scheduleTaskDlgt=t,this._scheduleTaskCurrZone=this.zone),n.onInvokeTask||(this._invokeTaskZS=s,this._invokeTaskDlgt=t,this._invokeTaskCurrZone=this.zone),n.onCancelTask||(this._cancelTaskZS=s,this._cancelTaskDlgt=t,this._cancelTaskCurrZone=this.zone))}return e.prototype.fork=function(e,t){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,e,t):new a(e,t)},e.prototype.intercept=function(e,t,n){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,e,t,n):t},e.prototype.invoke=function(e,t,n,r,o){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,e,t,n,r,o):t.apply(n,r)},e.prototype.handleError=function(e,t){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,e,t)},e.prototype.scheduleTask=function(e,t){var n=t;if(this._scheduleTaskZS)this._hasTaskZS&&n._zoneDelegates.push(this._hasTaskDlgtOwner),(n=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,e,t))||(n=t);else if(t.scheduleFn)t.scheduleFn(t);else{if(t.type!=C)throw new Error("Task is missing scheduleFn.");v(t)}return n},e.prototype.invokeTask=function(e,t,n,r){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,e,t,n,r):t.callback.apply(n,r)},e.prototype.cancelTask=function(e,t){var n;if(this._cancelTaskZS)n=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,e,t);else{if(!t.cancelFn)throw Error("Task is not cancelable");n=t.cancelFn(t)}return n},e.prototype.hasTask=function(e,t){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,e,t)}catch(n){this.handleError(e,n)}},e.prototype._updateTaskCount=function(e,t){var n=this._taskCounts,r=n[e],o=n[e]=r+t;if(o<0)throw new Error("More tasks executed then were scheduled.");0!=r&&0!=o||this.hasTask(this.zone,{microTask:n.microTask>0,macroTask:n.macroTask>0,eventTask:n.eventTask>0,change:e})},e}(),c=function(){function t(n,r,o,i,a,s){this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=n,this.source=r,this.data=i,this.scheduleFn=a,this.cancelFn=s,this.callback=o;var u=this;this.invoke=n===k&&i&&i.useG?t.invokeTask:function(){return t.invokeTask.call(e,u,this,arguments)}}return t.invokeTask=function(e,t,n){e||(e=this),A++;try{return e.runCount++,e.zone.runTask(e,t,n)}finally{1==A&&y(),A--}},Object.defineProperty(t.prototype,"zone",{get:function(){return this._zone},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"state",{get:function(){return this._state},enumerable:!0,configurable:!0}),t.prototype.cancelScheduleRequest=function(){this._transitionTo(m,b)},t.prototype._transitionTo=function(e,t,n){if(this._state!==t&&this._state!==n)throw new Error(this.type+" '"+this.source+"': can not transition to '"+e+"', expecting state '"+t+"'"+(n?" or '"+n+"'":"")+", was '"+this._state+"'.");this._state=e,e==m&&(this._zoneDelegates=null)},t.prototype.toString=function(){return this.data&&void 0!==this.data.handleId?this.data.handleId.toString():Object.prototype.toString.call(this)},t.prototype.toJSON=function(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}},t}(),l=N("setTimeout"),f=N("Promise"),p=N("then"),h=[],d=!1;function v(t){if(0===A&&0===h.length)if(i||e[f]&&(i=e[f].resolve(0)),i){var n=i[p];n||(n=i.then),n.call(i,y)}else e[l](y,0);t&&h.push(t)}function y(){if(!d){for(d=!0;h.length;){var e=h;h=[];for(var t=0;t<e.length;t++){var n=e[t];try{n.zone.runTask(n,null,null)}catch(r){P.onUnhandledError(r)}}}P.microtaskDrainDone(),d=!1}}var g={name:"NO ZONE"},m="notScheduled",b="scheduling",_="scheduled",w="running",E="canceling",S="unknown",C="microTask",T="macroTask",k="eventTask",x={},P={symbol:N,currentZoneFrame:function(){return O},onUnhandledError:I,microtaskDrainDone:I,scheduleMicroTask:v,showUncaughtError:function(){return!a[N("ignoreConsoleErrorUncaughtError")]},patchEventTarget:function(){return[]},patchOnProperties:I,patchMethod:function(){return I},bindArguments:function(){return[]},patchThen:function(){return I},patchMacroTask:function(){return I},setNativePromise:function(e){e&&"function"==typeof e.resolve&&(i=e.resolve(0))},patchEventPrototype:function(){return I},isIEOrEdge:function(){return!1},getGlobalObjects:function(){},ObjectDefineProperty:function(){return I},ObjectGetOwnPropertyDescriptor:function(){},ObjectCreate:function(){},ArraySlice:function(){return[]},patchClass:function(){return I},wrapWithCurrentZone:function(){return I},filterProperties:function(){return[]},attachOriginToPatched:function(){return I},_redefineProperty:function(){return I},patchCallbacks:function(){return I}},O={parent:null,zone:new a(null,null)},R=null,A=0;function I(){}function N(e){return"__zone_symbol__"+e}r("Zone","Zone"),e.Zone=a}("undefined"!=typeof window&&window||"undefined"!=typeof self&&self||global);var e=function(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}}}};Zone.__load_patch("ZoneAwarePromise",function(t,n,r){var o=Object.getOwnPropertyDescriptor,i=Object.defineProperty,a=r.symbol,s=[],u=a("Promise"),c=a("then"),l="__creationTrace__";r.onUnhandledError=function(e){if(r.showUncaughtError()){var t=e&&e.rejection;t?console.error("Unhandled Promise rejection:",t instanceof Error?t.message:t,"; Zone:",e.zone.name,"; Task:",e.task&&e.task.source,"; Value:",t,t instanceof Error?t.stack:void 0):console.error(e)}},r.microtaskDrainDone=function(){for(;s.length;)for(var e=function(){var e=s.shift();try{e.zone.runGuarded(function(){throw e})}catch(t){p(t)}};s.length;)e()};var f=a("unhandledPromiseRejectionHandler");function p(e){r.onUnhandledError(e);try{var t=n[f];t&&"function"==typeof t&&t.call(this,e)}catch(o){}}function h(e){return e&&e.then}function d(e){return e}function v(e){return j.reject(e)}var y=a("state"),g=a("value"),m=a("finally"),b=a("parentPromiseValue"),_=a("parentPromiseState"),w="Promise.then",E=null,S=!0,C=!1,T=0;function k(e,t){return function(n){try{R(e,t,n)}catch(r){R(e,!1,r)}}}var x=function(){var e=!1;return function(t){return function(){e||(e=!0,t.apply(null,arguments))}}},P="Promise resolved with itself",O=a("currentTaskTrace");function R(e,t,o){var a,u=x();if(e===o)throw new TypeError(P);if(e[y]===E){var c=null;try{"object"!=typeof o&&"function"!=typeof o||(c=o&&o.then)}catch(v){return u(function(){R(e,!1,v)})(),e}if(t!==C&&o instanceof j&&o.hasOwnProperty(y)&&o.hasOwnProperty(g)&&o[y]!==E)I(o),R(e,o[y],o[g]);else if(t!==C&&"function"==typeof c)try{c.call(o,u(k(e,t)),u(k(e,!1)))}catch(v){u(function(){R(e,!1,v)})()}else{e[y]=t;var f=e[g];if(e[g]=o,e[m]===m&&t===S&&(e[y]=e[_],e[g]=e[b]),t===C&&o instanceof Error){var p=n.currentTask&&n.currentTask.data&&n.currentTask.data[l];p&&i(o,O,{configurable:!0,enumerable:!1,writable:!0,value:p})}for(var h=0;h<f.length;)N(e,f[h++],f[h++],f[h++],f[h++]);if(0==f.length&&t==C){e[y]=T;try{throw new Error("Uncaught (in promise): "+((a=o)&&a.toString===Object.prototype.toString?(a.constructor&&a.constructor.name||"")+": "+JSON.stringify(a):a?a.toString():Object.prototype.toString.call(a))+(o&&o.stack?"\n"+o.stack:""))}catch(v){var d=v;d.rejection=o,d.promise=e,d.zone=n.current,d.task=n.currentTask,s.push(d),r.scheduleMicroTask()}}}}return e}var A=a("rejectionHandledHandler");function I(e){if(e[y]===T){try{var t=n[A];t&&"function"==typeof t&&t.call(this,{rejection:e[g],promise:e})}catch(o){}e[y]=C;for(var r=0;r<s.length;r++)e===s[r].promise&&s.splice(r,1)}}function N(e,t,n,r,o){I(e);var i=e[y],a=i?"function"==typeof r?r:d:"function"==typeof o?o:v;t.scheduleMicroTask(w,function(){try{var r=e[g],o=n&&m===n[m];o&&(n[b]=r,n[_]=i);var s=t.run(a,void 0,o&&a!==v&&a!==d?[]:[r]);R(n,!0,s)}catch(u){R(n,!1,u)}},n)}var j=function(){function t(e){if(!(this instanceof t))throw new Error("Must be an instanceof Promise.");this[y]=E,this[g]=[];try{e&&e(k(this,S),k(this,C))}catch(n){R(this,!1,n)}}return t.toString=function(){return"function ZoneAwarePromise() { [native code] }"},t.resolve=function(e){return R(new this(null),S,e)},t.reject=function(e){return R(new this(null),C,e)},t.race=function(t){var n,r,o,i,a=new this(function(e,t){o=e,i=t});function s(e){o(e)}function u(e){i(e)}try{for(var c=e(t),l=c.next();!l.done;l=c.next()){var f=l.value;h(f)||(f=this.resolve(f)),f.then(s,u)}}catch(p){n={error:p}}finally{try{l&&!l.done&&(r=c.return)&&r.call(c)}finally{if(n)throw n.error}}return a},t.all=function(t){var n,r,o,i,a=new this(function(e,t){o=e,i=t}),s=2,u=0,c=[],l=function(e){h(e)||(e=f.resolve(e));var t=u;e.then(function(e){c[t]=e,0==--s&&o(c)},i),s++,u++},f=this;try{for(var p=e(t),d=p.next();!d.done;d=p.next())l(d.value)}catch(v){n={error:v}}finally{try{d&&!d.done&&(r=p.return)&&r.call(p)}finally{if(n)throw n.error}}return 0==(s-=2)&&o(c),a},Object.defineProperty(t.prototype,Symbol.toStringTag,{get:function(){return"Promise"},enumerable:!0,configurable:!0}),t.prototype.then=function(e,t){var r=new this.constructor(null),o=n.current;return this[y]==E?this[g].push(o,r,e,t):N(this,o,r,e,t),r},t.prototype.catch=function(e){return this.then(null,e)},t.prototype.finally=function(e){var t=new this.constructor(null);t[m]=m;var r=n.current;return this[y]==E?this[g].push(r,t,e,e):N(this,r,t,e,e),t},t}();j.resolve=j.resolve,j.reject=j.reject,j.race=j.race,j.all=j.all;var D=t[u]=t.Promise,L=n.__symbol__("ZoneAwarePromise"),M=o(t,"Promise");M&&!M.configurable||(M&&delete M.writable,M&&delete M.value,M||(M={configurable:!0,enumerable:!0}),M.get=function(){return t[L]?t[L]:t[u]},M.set=function(e){e===j?t[L]=e:(t[u]=e,e.prototype[c]||H(e),r.setNativePromise(e))},i(t,"Promise",M)),t.Promise=j;var U,z=a("thenPatched");function H(e){var t=e.prototype,n=o(t,"then");if(!n||!1!==n.writable&&n.configurable){var r=t.then;t[c]=r,e.prototype.then=function(e,t){var n=this;return new j(function(e,t){r.call(n,e,t)}).then(e,t)},e[z]=!0}}if(r.patchThen=H,D){H(D);var V=t.fetch;"function"==typeof V&&(t[r.symbol("fetch")]=V,t.fetch=(U=V,function(){var e=U.apply(this,arguments);if(e instanceof j)return e;var t=e.constructor;return t[z]||H(t),e}))}return Promise[n.__symbol__("uncaughtPromiseErrors")]=s,j});var t=Object.getOwnPropertyDescriptor,n=Object.defineProperty,r=Object.getPrototypeOf,o=Object.create,i=Array.prototype.slice,a="addEventListener",s="removeEventListener",u=Zone.__symbol__(a),c=Zone.__symbol__(s),l="true",f="false",p="__zone_symbol__";function h(e,t){return Zone.current.wrap(e,t)}function d(e,t,n,r,o){return Zone.current.scheduleMacroTask(e,t,n,r,o)}var v=Zone.__symbol__,y="undefined"!=typeof window,g=y?window:void 0,m=y&&g||"object"==typeof self&&self||global,b="removeAttribute",_=[null];function w(e,t){for(var n=e.length-1;n>=0;n--)"function"==typeof e[n]&&(e[n]=h(e[n],t+"_"+n));return e}function E(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&void 0===e.set)}var S="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,C=!("nw"in m)&&void 0!==m.process&&"[object process]"==={}.toString.call(m.process),T=!C&&!S&&!(!y||!g.HTMLElement),k=void 0!==m.process&&"[object process]"==={}.toString.call(m.process)&&!S&&!(!y||!g.HTMLElement),x={},P=function(e){if(e=e||m.event){var t=x[e.type];t||(t=x[e.type]=v("ON_PROPERTY"+e.type));var n,r=this||e.target||m,o=r[t];return T&&r===g&&"error"===e.type?!0===(n=o&&o.call(this,e.message,e.filename,e.lineno,e.colno,e.error))&&e.preventDefault():null==(n=o&&o.apply(this,arguments))||n||e.preventDefault(),n}};function O(e,r,o){var i=t(e,r);if(!i&&o&&t(o,r)&&(i={enumerable:!0,configurable:!0}),i&&i.configurable){var a=v("on"+r+"patched");if(!e.hasOwnProperty(a)||!e[a]){delete i.writable,delete i.value;var s=i.get,u=i.set,c=r.substr(2),l=x[c];l||(l=x[c]=v("ON_PROPERTY"+c)),i.set=function(t){var n=this;n||e!==m||(n=m),n&&(n[l]&&n.removeEventListener(c,P),u&&u.apply(n,_),"function"==typeof t?(n[l]=t,n.addEventListener(c,P,!1)):n[l]=null)},i.get=function(){var t=this;if(t||e!==m||(t=m),!t)return null;var n=t[l];if(n)return n;if(s){var o=s&&s.call(this);if(o)return i.set.call(this,o),"function"==typeof t[b]&&t.removeAttribute(r),o}return null},n(e,r,i),e[a]=!0}}}function R(e,t,n){if(t)for(var r=0;r<t.length;r++)O(e,"on"+t[r],n);else{var o=[];for(var i in e)"on"==i.substr(0,2)&&o.push(i);for(var a=0;a<o.length;a++)O(e,o[a],n)}}var A=v("originalInstance");function I(e){var t=m[e];if(t){m[v(e)]=t,m[e]=function(){var n=w(arguments,e);switch(n.length){case 0:this[A]=new t;break;case 1:this[A]=new t(n[0]);break;case 2:this[A]=new t(n[0],n[1]);break;case 3:this[A]=new t(n[0],n[1],n[2]);break;case 4:this[A]=new t(n[0],n[1],n[2],n[3]);break;default:throw new Error("Arg list too long.")}},L(m[e],t);var r,o=new t(function(){});for(r in o)"XMLHttpRequest"===e&&"responseBlob"===r||function(t){"function"==typeof o[t]?m[e].prototype[t]=function(){return this[A][t].apply(this[A],arguments)}:n(m[e].prototype,t,{set:function(n){"function"==typeof n?(this[A][t]=h(n,e+"."+t),L(this[A][t],n)):this[A][t]=n},get:function(){return this[A][t]}})}(r);for(r in t)"prototype"!==r&&t.hasOwnProperty(r)&&(m[e][r]=t[r])}}var N=!1;function j(e,n,o){for(var i=e;i&&!i.hasOwnProperty(n);)i=r(i);!i&&e[n]&&(i=e);var a,s,u=v(n),c=null;if(i&&!(c=i[u])&&(c=i[u]=i[n],E(i&&t(i,n)))){var l=o(c,u,n);i[n]=function(){return l(this,arguments)},L(i[n],c),N&&(a=c,s=i[n],"function"==typeof Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(a).forEach(function(e){var t=Object.getOwnPropertyDescriptor(a,e);Object.defineProperty(s,e,{get:function(){return a[e]},set:function(n){(!t||t.writable&&"function"==typeof t.set)&&(a[e]=n)},enumerable:!t||t.enumerable,configurable:!t||t.configurable})}))}return c}function D(e,t,n){var r=null;function o(e){var t=e.data;return t.args[t.cbIdx]=function(){e.invoke.apply(this,arguments)},r.apply(t.target,t.args),e}r=j(e,t,function(e){return function(t,r){var i=n(t,r);return i.cbIdx>=0&&"function"==typeof r[i.cbIdx]?d(i.name,r[i.cbIdx],i,o):e.apply(t,r)}})}function L(e,t){e[v("OriginalDelegate")]=t}var M=!1,U=!1;function z(){try{var e=g.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch(t){}return!1}function H(){if(M)return U;M=!0;try{var e=g.navigator.userAgent;-1===e.indexOf("MSIE ")&&-1===e.indexOf("Trident/")&&-1===e.indexOf("Edge/")||(U=!0)}catch(t){}return U}Zone.__load_patch("toString",function(e){var t=Function.prototype.toString,n=v("OriginalDelegate"),r=v("Promise"),o=v("Error"),i=function(){if("function"==typeof this){var i=this[n];if(i)return"function"==typeof i?t.call(i):Object.prototype.toString.call(i);if(this===Promise){var a=e[r];if(a)return t.call(a)}if(this===Error){var s=e[o];if(s)return t.call(s)}}return t.call(this)};i[n]=t,Function.prototype.toString=i;var a=Object.prototype.toString;Object.prototype.toString=function(){return this instanceof Promise?"[object Promise]":a.call(this)}});var V=!1;if("undefined"!=typeof window)try{var F=Object.defineProperty({},"passive",{get:function(){V=!0}});window.addEventListener("test",F,F),window.removeEventListener("test",F,F)}catch(Te){V=!1}var Z={useG:!0},B={},q={},W=/^__zone_symbol__(\w+)(true|false)$/,G="__zone_symbol__propagationStopped";function Q(e,t,n){var o=n&&n.add||a,i=n&&n.rm||s,u=n&&n.listeners||"eventListeners",c=n&&n.rmAll||"removeAllListeners",h=v(o),d="."+o+":",y="prependListener",g="."+y+":",m=function(e,t,n){if(!e.isRemoved){var r=e.callback;"object"==typeof r&&r.handleEvent&&(e.callback=function(e){return r.handleEvent(e)},e.originalDelegate=r),e.invoke(e,t,[n]);var o=e.options;o&&"object"==typeof o&&o.once&&t[i].call(t,n.type,e.originalDelegate?e.originalDelegate:e.callback,o)}},b=function(t){if(t=t||e.event){var n=this||t.target||e,r=n[B[t.type][f]];if(r)if(1===r.length)m(r[0],n,t);else for(var o=r.slice(),i=0;i<o.length&&(!t||!0!==t[G]);i++)m(o[i],n,t)}},_=function(t){if(t=t||e.event){var n=this||t.target||e,r=n[B[t.type][l]];if(r)if(1===r.length)m(r[0],n,t);else for(var o=r.slice(),i=0;i<o.length&&(!t||!0!==t[G]);i++)m(o[i],n,t)}};function w(t,n){if(!t)return!1;var a=!0;n&&void 0!==n.useG&&(a=n.useG);var s=n&&n.vh,m=!0;n&&void 0!==n.chkDup&&(m=n.chkDup);var w=!1;n&&void 0!==n.rt&&(w=n.rt);for(var E=t;E&&!E.hasOwnProperty(o);)E=r(E);if(!E&&t[o]&&(E=t),!E)return!1;if(E[h])return!1;var S,T=n&&n.eventNameToString,k={},x=E[h]=E[o],P=E[v(i)]=E[i],O=E[v(u)]=E[u],R=E[v(c)]=E[c];function A(e){V||"boolean"==typeof k.options||null==k.options||(e.options=!!k.options.capture,k.options=e.options)}n&&n.prepend&&(S=E[v(n.prepend)]=E[n.prepend]);var I=a?function(e){if(!k.isExisting)return A(e),x.call(k.target,k.eventName,k.capture?_:b,k.options)}:function(e){return A(e),x.call(k.target,k.eventName,e.invoke,k.options)},N=a?function(e){if(!e.isRemoved){var t=B[e.eventName],n=void 0;t&&(n=t[e.capture?l:f]);var r=n&&e.target[n];if(r)for(var o=0;o<r.length;o++)if(r[o]===e){r.splice(o,1),e.isRemoved=!0,0===r.length&&(e.allRemoved=!0,e.target[n]=null);break}}if(e.allRemoved)return P.call(e.target,e.eventName,e.capture?_:b,e.options)}:function(e){return P.call(e.target,e.eventName,e.invoke,e.options)},j=n&&n.diff?n.diff:function(e,t){var n=typeof t;return"function"===n&&e.callback===t||"object"===n&&e.originalDelegate===t},D=Zone[Zone.__symbol__("BLACK_LISTED_EVENTS")],M=function(t,n,r,o,i,u){return void 0===i&&(i=!1),void 0===u&&(u=!1),function(){var c=this||e,h=arguments[0],d=arguments[1];if(!d)return t.apply(this,arguments);if(C&&"uncaughtException"===h)return t.apply(this,arguments);var v=!1;if("function"!=typeof d){if(!d.handleEvent)return t.apply(this,arguments);v=!0}if(!s||s(t,d,c,arguments)){var y,g=arguments[2];if(D)for(var b=0;b<D.length;b++)if(h===D[b])return t.apply(this,arguments);var _=!1;void 0===g?y=!1:!0===g?y=!0:!1===g?y=!1:(y=!!g&&!!g.capture,_=!!g&&!!g.once);var w,E=Zone.current,S=B[h];if(S)w=S[y?l:f];else{var x=(T?T(h):h)+f,P=(T?T(h):h)+l,O=p+x,R=p+P;B[h]={},B[h][f]=O,B[h][l]=R,w=y?R:O}var A,I=c[w],N=!1;if(I){if(N=!0,m)for(b=0;b<I.length;b++)if(j(I[b],d))return}else I=c[w]=[];var L=c.constructor.name,M=q[L];M&&(A=M[h]),A||(A=L+n+(T?T(h):h)),k.options=g,_&&(k.options.once=!1),k.target=c,k.capture=y,k.eventName=h,k.isExisting=N;var U=a?Z:void 0;U&&(U.taskData=k);var z=E.scheduleEventTask(A,d,U,r,o);return k.target=null,U&&(U.taskData=null),_&&(g.once=!0),(V||"boolean"!=typeof z.options)&&(z.options=g),z.target=c,z.capture=y,z.eventName=h,v&&(z.originalDelegate=d),u?I.unshift(z):I.push(z),i?c:void 0}}};return E[o]=M(x,d,I,N,w),S&&(E[y]=M(S,g,function(e){return S.call(k.target,k.eventName,e.invoke,k.options)},N,w,!0)),E[i]=function(){var t,n=this||e,r=arguments[0],o=arguments[2];t=void 0!==o&&(!0===o||!1!==o&&!!o&&!!o.capture);var i=arguments[1];if(!i)return P.apply(this,arguments);if(!s||s(P,i,n,arguments)){var a,u=B[r];u&&(a=u[t?l:f]);var c=a&&n[a];if(c)for(var p=0;p<c.length;p++){var h=c[p];if(j(h,i))return c.splice(p,1),h.isRemoved=!0,0===c.length&&(h.allRemoved=!0,n[a]=null),h.zone.cancelTask(h),w?n:void 0}return P.apply(this,arguments)}},E[u]=function(){for(var t=arguments[0],n=[],r=K(this||e,T?T(t):t),o=0;o<r.length;o++){var i=r[o];n.push(i.originalDelegate?i.originalDelegate:i.callback)}return n},E[c]=function(){var t=this||e,n=arguments[0];if(n){var r=B[n];if(r){var o=t[r[f]],a=t[r[l]];if(o){var s=o.slice();for(h=0;h<s.length;h++)this[i].call(this,n,(u=s[h]).originalDelegate?u.originalDelegate:u.callback,u.options)}if(a)for(s=a.slice(),h=0;h<s.length;h++){var u;this[i].call(this,n,(u=s[h]).originalDelegate?u.originalDelegate:u.callback,u.options)}}}else{for(var p=Object.keys(t),h=0;h<p.length;h++){var d=W.exec(p[h]),v=d&&d[1];v&&"removeListener"!==v&&this[c].call(this,v)}this[c].call(this,"removeListener")}if(w)return this},L(E[o],x),L(E[i],P),R&&L(E[c],R),O&&L(E[u],O),!0}for(var E=[],S=0;S<t.length;S++)E[S]=w(t[S],n);return E}function K(e,t){var n=[];for(var r in e){var o=W.exec(r),i=o&&o[1];if(i&&(!t||i===t)){var a=e[r];if(a)for(var s=0;s<a.length;s++)n.push(a[s])}}return n}function $(e,t){var n=e.Event;n&&n.prototype&&t.patchMethod(n.prototype,"stopImmediatePropagation",function(e){return function(t,n){t[G]=!0,e&&e.apply(t,n)}})}function J(e,t,n,r,o){var i=Zone.__symbol__(r);if(!t[i]){var a=t[i]=t[r];t[r]=function(i,s,u){return s&&s.prototype&&o.forEach(function(t){var o=n+"."+r+"::"+t,i=s.prototype;if(i.hasOwnProperty(t)){var a=e.ObjectGetOwnPropertyDescriptor(i,t);a&&a.value?(a.value=e.wrapWithCurrentZone(a.value,o),e._redefineProperty(s.prototype,t,a)):i[t]&&(i[t]=e.wrapWithCurrentZone(i[t],o))}else i[t]&&(i[t]=e.wrapWithCurrentZone(i[t],o))}),a.call(t,i,s,u)},e.attachOriginToPatched(t[r],a)}}var X=Zone.__symbol__,Y=Object[X("defineProperty")]=Object.defineProperty,ee=Object[X("getOwnPropertyDescriptor")]=Object.getOwnPropertyDescriptor,te=Object.create,ne=X("unconfigurables");function re(e,t,n){var r=n.configurable;return ae(e,t,n=ie(e,t,n),r)}function oe(e,t){return e&&e[ne]&&e[ne][t]}function ie(e,t,n){return Object.isFrozen(n)||(n.configurable=!0),n.configurable||(e[ne]||Object.isFrozen(e)||Y(e,ne,{writable:!0,value:{}}),e[ne]&&(e[ne][t]=!0)),n}function ae(e,t,n,r){try{return Y(e,t,n)}catch(i){if(!n.configurable)throw i;void 0===r?delete n.configurable:n.configurable=r;try{return Y(e,t,n)}catch(i){var o=null;try{o=JSON.stringify(n)}catch(i){o=n.toString()}console.log("Attempting to configure '"+t+"' with descriptor '"+o+"' on object '"+e+"' and got error, giving up: "+i)}}}var se=["absolutedeviceorientation","afterinput","afterprint","appinstalled","beforeinstallprompt","beforeprint","beforeunload","devicelight","devicemotion","deviceorientation","deviceorientationabsolute","deviceproximity","hashchange","languagechange","message","mozbeforepaint","offline","online","paint","pageshow","pagehide","popstate","rejectionhandled","storage","unhandledrejection","unload","userproximity","vrdisplyconnected","vrdisplaydisconnected","vrdisplaypresentchange"],ue=["encrypted","waitingforkey","msneedkey","mozinterruptbegin","mozinterruptend"],ce=["load"],le=["blur","error","focus","load","resize","scroll","messageerror"],fe=["bounce","finish","start"],pe=["loadstart","progress","abort","error","load","progress","timeout","loadend","readystatechange"],he=["upgradeneeded","complete","abort","success","error","blocked","versionchange","close"],de=["close","error","open","message"],ve=["error","message"],ye=["abort","animationcancel","animationend","animationiteration","auxclick","beforeinput","blur","cancel","canplay","canplaythrough","change","compositionstart","compositionupdate","compositionend","cuechange","click","close","contextmenu","curechange","dblclick","drag","dragend","dragenter","dragexit","dragleave","dragover","drop","durationchange","emptied","ended","error","focus","focusin","focusout","gotpointercapture","input","invalid","keydown","keypress","keyup","load","loadstart","loadeddata","loadedmetadata","lostpointercapture","mousedown","mouseenter","mouseleave","mousemove","mouseout","mouseover","mouseup","mousewheel","orientationchange","pause","play","playing","pointercancel","pointerdown","pointerenter","pointerleave","pointerlockchange","mozpointerlockchange","webkitpointerlockerchange","pointerlockerror","mozpointerlockerror","webkitpointerlockerror","pointermove","pointout","pointerover","pointerup","progress","ratechange","reset","resize","scroll","seeked","seeking","select","selectionchange","selectstart","show","sort","stalled","submit","suspend","timeupdate","volumechange","touchcancel","touchmove","touchstart","touchend","transitioncancel","transitionend","waiting","wheel"].concat(["webglcontextrestored","webglcontextlost","webglcontextcreationerror"],["autocomplete","autocompleteerror"],["toggle"],["afterscriptexecute","beforescriptexecute","DOMContentLoaded","freeze","fullscreenchange","mozfullscreenchange","webkitfullscreenchange","msfullscreenchange","fullscreenerror","mozfullscreenerror","webkitfullscreenerror","msfullscreenerror","readystatechange","visibilitychange","resume"],se,["beforecopy","beforecut","beforepaste","copy","cut","paste","dragstart","loadend","animationstart","search","transitionrun","transitionstart","webkitanimationend","webkitanimationiteration","webkitanimationstart","webkittransitionend"],["activate","afterupdate","ariarequest","beforeactivate","beforedeactivate","beforeeditfocus","beforeupdate","cellchange","controlselect","dataavailable","datasetchanged","datasetcomplete","errorupdate","filterchange","layoutcomplete","losecapture","move","moveend","movestart","propertychange","resizeend","resizestart","rowenter","rowexit","rowsdelete","rowsinserted","command","compassneedscalibration","deactivate","help","mscontentzoom","msmanipulationstatechanged","msgesturechange","msgesturedoubletap","msgestureend","msgesturehold","msgesturestart","msgesturetap","msgotpointercapture","msinertiastart","mslostpointercapture","mspointercancel","mspointerdown","mspointerenter","mspointerhover","mspointerleave","mspointermove","mspointerout","mspointerover","mspointerup","pointerout","mssitemodejumplistitemremoved","msthumbnailclick","stop","storagecommit"]);function ge(e,t,n){if(!n||0===n.length)return t;var r=n.filter(function(t){return t.target===e});if(!r||0===r.length)return t;var o=r[0].ignoreProperties;return t.filter(function(e){return-1===o.indexOf(e)})}function me(e,t,n,r){e&&R(e,ge(e,t,n),r)}function be(e,t){if((!C||k)&&!Zone[e.symbol("patchEvents")]){var n="undefined"!=typeof WebSocket,o=t.__Zone_ignore_on_properties;if(T){var i=window,a=z?[{target:i,ignoreProperties:["error"]}]:[];me(i,ye.concat(["messageerror"]),o?o.concat(a):o,r(i)),me(Document.prototype,ye,o),void 0!==i.SVGElement&&me(i.SVGElement.prototype,ye,o),me(Element.prototype,ye,o),me(HTMLElement.prototype,ye,o),me(HTMLMediaElement.prototype,ue,o),me(HTMLFrameSetElement.prototype,se.concat(le),o),me(HTMLBodyElement.prototype,se.concat(le),o),me(HTMLFrameElement.prototype,ce,o),me(HTMLIFrameElement.prototype,ce,o);var s=i.HTMLMarqueeElement;s&&me(s.prototype,fe,o);var u=i.Worker;u&&me(u.prototype,ve,o)}var c=t.XMLHttpRequest;c&&me(c.prototype,pe,o);var l=t.XMLHttpRequestEventTarget;l&&me(l&&l.prototype,pe,o),"undefined"!=typeof IDBIndex&&(me(IDBIndex.prototype,he,o),me(IDBRequest.prototype,he,o),me(IDBOpenDBRequest.prototype,he,o),me(IDBDatabase.prototype,he,o),me(IDBTransaction.prototype,he,o),me(IDBCursor.prototype,he,o)),n&&me(WebSocket.prototype,de,o)}}function _e(e,t){var n=t.getGlobalObjects(),r=n.eventNames,o=n.globalSources,i=n.zoneSymbolEventNames,a=n.TRUE_STR,s=n.FALSE_STR,u=n.ZONE_SYMBOL_PREFIX,c="Anchor,Area,Audio,BR,Base,BaseFont,Body,Button,Canvas,Content,DList,Directory,Div,Embed,FieldSet,Font,Form,Frame,FrameSet,HR,Head,Heading,Html,IFrame,Image,Input,Keygen,LI,Label,Legend,Link,Map,Marquee,Media,Menu,Meta,Meter,Mod,OList,Object,OptGroup,Option,Output,Paragraph,Pre,Progress,Quote,Script,Select,Source,Span,Style,TableCaption,TableCell,TableCol,Table,TableRow,TableSection,TextArea,Title,Track,UList,Unknown,Video",l="ApplicationCache,EventSource,FileReader,InputMethodContext,MediaController,MessagePort,Node,Performance,SVGElementInstance,SharedWorker,TextTrack,TextTrackCue,TextTrackList,WebKitNamedFlow,Window,Worker,WorkerGlobalScope,XMLHttpRequest,XMLHttpRequestEventTarget,XMLHttpRequestUpload,IDBRequest,IDBOpenDBRequest,IDBDatabase,IDBTransaction,IDBCursor,DBIndex,WebSocket".split(","),f=[],p=e.wtf,h=c.split(",");p?f=h.map(function(e){return"HTML"+e+"Element"}).concat(l):e.EventTarget?f.push("EventTarget"):f=l;for(var d=e.__Zone_disable_IE_check||!1,v=e.__Zone_enable_cross_context_check||!1,y=t.isIEOrEdge(),g="function __BROWSERTOOLS_CONSOLE_SAFEFUNC() { [native code] }",m=0;m<r.length;m++){var b=u+((C=r[m])+s),_=u+(C+a);i[C]={},i[C][s]=b,i[C][a]=_}for(m=0;m<c.length;m++)for(var w=h[m],E=o[w]={},S=0;S<r.length;S++){var C;E[C=r[S]]=w+".addEventListener:"+C}var T=[];for(m=0;m<f.length;m++){var k=e[f[m]];T.push(k&&k.prototype)}return t.patchEventTarget(e,T,{vh:function(e,t,n,r){if(!d&&y){if(v)try{var o;if("[object FunctionWrapper]"===(o=t.toString())||o==g)return e.apply(n,r),!1}catch(i){return e.apply(n,r),!1}else if("[object FunctionWrapper]"===(o=t.toString())||o==g)return e.apply(n,r),!1}else if(v)try{t.toString()}catch(i){return e.apply(n,r),!1}return!0}}),Zone[t.symbol("patchEventTarget")]=!!e.EventTarget,!0}function we(e,t){var n=e.getGlobalObjects();if((!n.isNode||n.isMix)&&!function(e,t){var n=e.getGlobalObjects();if((n.isBrowser||n.isMix)&&!e.ObjectGetOwnPropertyDescriptor(HTMLElement.prototype,"onclick")&&"undefined"!=typeof Element){var r=e.ObjectGetOwnPropertyDescriptor(Element.prototype,"onclick");if(r&&!r.configurable)return!1;if(r){e.ObjectDefineProperty(Element.prototype,"onclick",{enumerable:!0,configurable:!0,get:function(){return!0}});var o=!!document.createElement("div").onclick;return e.ObjectDefineProperty(Element.prototype,"onclick",r),o}}var i=t.XMLHttpRequest;if(!i)return!1;var a=i.prototype,s=e.ObjectGetOwnPropertyDescriptor(a,"onreadystatechange");if(s)return e.ObjectDefineProperty(a,"onreadystatechange",{enumerable:!0,configurable:!0,get:function(){return!0}}),o=!!(c=new i).onreadystatechange,e.ObjectDefineProperty(a,"onreadystatechange",s||{}),o;var u=e.symbol("fake");e.ObjectDefineProperty(a,"onreadystatechange",{enumerable:!0,configurable:!0,get:function(){return this[u]},set:function(e){this[u]=e}});var c,l=function(){};return(c=new i).onreadystatechange=l,o=c[u]===l,c.onreadystatechange=null,o}(e,t)){var r="undefined"!=typeof WebSocket;!function(e){for(var t=e.getGlobalObjects().eventNames,n=e.symbol("unbound"),r=function(r){var o=t[r],i="on"+o;self.addEventListener(o,function(t){var r,o,a=t.target;for(o=a?a.constructor.name+"."+i:"unknown."+i;a;)a[i]&&!a[i][n]&&((r=e.wrapWithCurrentZone(a[i],o))[n]=a[i],a[i]=r),a=a.parentElement},!0)},o=0;o<t.length;o++)r(o)}(e),e.patchClass("XMLHttpRequest"),r&&function(e,t){var n=e.getGlobalObjects(),r=n.ADD_EVENT_LISTENER_STR,o=n.REMOVE_EVENT_LISTENER_STR,i=t.WebSocket;t.EventTarget||e.patchEventTarget(t,[i.prototype]),t.WebSocket=function(t,n){var a,s,u=arguments.length>1?new i(t,n):new i(t),c=e.ObjectGetOwnPropertyDescriptor(u,"onmessage");return c&&!1===c.configurable?(a=e.ObjectCreate(u),s=u,[r,o,"send","close"].forEach(function(t){a[t]=function(){var n=e.ArraySlice.call(arguments);if(t===r||t===o){var i=n.length>0?n[0]:void 0;if(i){var s=Zone.__symbol__("ON_PROPERTY"+i);u[s]=a[s]}}return u[t].apply(u,n)}})):a=u,e.patchOnProperties(a,["close","error","message","open"],s),a};var a=t.WebSocket;for(var s in i)a[s]=i[s]}(e,t),Zone[e.symbol("patchEvents")]=!0}}Zone.__load_patch("util",function(e,r,u){u.patchOnProperties=R,u.patchMethod=j,u.bindArguments=w,u.patchMacroTask=D;var c=r.__symbol__("BLACK_LISTED_EVENTS"),d=r.__symbol__("UNPATCHED_EVENTS");e[d]&&(e[c]=e[d]),e[c]&&(r[c]=r[d]=e[c]),u.patchEventPrototype=$,u.patchEventTarget=Q,u.isIEOrEdge=H,u.ObjectDefineProperty=n,u.ObjectGetOwnPropertyDescriptor=t,u.ObjectCreate=o,u.ArraySlice=i,u.patchClass=I,u.wrapWithCurrentZone=h,u.filterProperties=ge,u.attachOriginToPatched=L,u._redefineProperty=re,u.patchCallbacks=J,u.getGlobalObjects=function(){return{globalSources:q,zoneSymbolEventNames:B,eventNames:ye,isBrowser:T,isMix:k,isNode:C,TRUE_STR:l,FALSE_STR:f,ZONE_SYMBOL_PREFIX:p,ADD_EVENT_LISTENER_STR:a,REMOVE_EVENT_LISTENER_STR:s}}}),function(e){e.__zone_symbol__legacyPatch=function(){var t=e.Zone;t.__load_patch("registerElement",function(e,t,n){!function(e,t){var n=t.getGlobalObjects();(n.isBrowser||n.isMix)&&"registerElement"in e.document&&t.patchCallbacks(t,document,"Document","registerElement",["createdCallback","attachedCallback","detachedCallback","attributeChangedCallback"])}(e,n)}),t.__load_patch("EventTargetLegacy",function(e,t,n){_e(e,n),we(n,e)})}}("undefined"!=typeof window&&window||"undefined"!=typeof self&&self||global);var Ee=v("zoneTask");function Se(e,t,n,r){var o=null,i=null;n+=r;var a={};function s(t){var n=t.data;return n.args[0]=function(){try{t.invoke.apply(this,arguments)}finally{t.data&&t.data.isPeriodic||("number"==typeof n.handleId?delete a[n.handleId]:n.handleId&&(n.handleId[Ee]=null))}},n.handleId=o.apply(e,n.args),t}function u(e){return i(e.data.handleId)}o=j(e,t+=r,function(n){return function(o,i){if("function"==typeof i[0]){var c=d(t,i[0],{isPeriodic:"Interval"===r,delay:"Timeout"===r||"Interval"===r?i[1]||0:void 0,args:i},s,u);if(!c)return c;var l=c.data.handleId;return"number"==typeof l?a[l]=c:l&&(l[Ee]=c),l&&l.ref&&l.unref&&"function"==typeof l.ref&&"function"==typeof l.unref&&(c.ref=l.ref.bind(l),c.unref=l.unref.bind(l)),"number"==typeof l||l?l:c}return n.apply(e,i)}}),i=j(e,n,function(t){return function(n,r){var o,i=r[0];"number"==typeof i?o=a[i]:(o=i&&i[Ee])||(o=i),o&&"string"==typeof o.type?"notScheduled"!==o.state&&(o.cancelFn&&o.data.isPeriodic||0===o.runCount)&&("number"==typeof i?delete a[i]:i&&(i[Ee]=null),o.zone.cancelTask(o)):t.apply(e,r)}})}function Ce(e,t){if(!Zone[t.symbol("patchEventTarget")]){for(var n=t.getGlobalObjects(),r=n.eventNames,o=n.zoneSymbolEventNames,i=n.TRUE_STR,a=n.FALSE_STR,s=n.ZONE_SYMBOL_PREFIX,u=0;u<r.length;u++){var c=r[u],l=s+(c+a),f=s+(c+i);o[c]={},o[c][a]=l,o[c][i]=f}var p=e.EventTarget;if(p&&p.prototype)return t.patchEventTarget(e,[p&&p.prototype]),!0}}Zone.__load_patch("legacy",function(e){var t=e[Zone.__symbol__("legacyPatch")];t&&t()}),Zone.__load_patch("timers",function(e){Se(e,"set","clear","Timeout"),Se(e,"set","clear","Interval"),Se(e,"set","clear","Immediate")}),Zone.__load_patch("requestAnimationFrame",function(e){Se(e,"request","cancel","AnimationFrame"),Se(e,"mozRequest","mozCancel","AnimationFrame"),Se(e,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",function(e,t){for(var n=["alert","prompt","confirm"],r=0;r<n.length;r++)j(e,n[r],function(n,r,o){return function(r,i){return t.current.run(n,e,i,o)}})}),Zone.__load_patch("EventTarget",function(e,t,n){!function(e,t){t.patchEventPrototype(e,t)}(e,n),Ce(e,n);var r=e.XMLHttpRequestEventTarget;r&&r.prototype&&n.patchEventTarget(e,[r.prototype]),I("MutationObserver"),I("WebKitMutationObserver"),I("IntersectionObserver"),I("FileReader")}),Zone.__load_patch("on_property",function(e,t,n){be(n,e),Object.defineProperty=function(e,t,n){if(oe(e,t))throw new TypeError("Cannot assign to read only property '"+t+"' of "+e);var r=n.configurable;return"prototype"!==t&&(n=ie(e,t,n)),ae(e,t,n,r)},Object.defineProperties=function(e,t){return Object.keys(t).forEach(function(n){Object.defineProperty(e,n,t[n])}),e},Object.create=function(e,t){return"object"!=typeof t||Object.isFrozen(t)||Object.keys(t).forEach(function(n){t[n]=ie(e,n,t[n])}),te(e,t)},Object.getOwnPropertyDescriptor=function(e,t){var n=ee(e,t);return n&&oe(e,t)&&(n.configurable=!1),n}}),Zone.__load_patch("customElements",function(e,t,n){!function(e,t){var n=t.getGlobalObjects();(n.isBrowser||n.isMix)&&e.customElements&&"customElements"in e&&t.patchCallbacks(t,e.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(e,n)}),Zone.__load_patch("XHR",function(e,t){!function(l){var f=e.XMLHttpRequest;if(f){var p=f.prototype,h=p[u],y=p[c];if(!h){var g=e.XMLHttpRequestEventTarget;if(g){var m=g.prototype;h=m[u],y=m[c]}}var b="readystatechange",_="scheduled",w=j(p,"open",function(){return function(e,t){return e[r]=0==t[2],e[a]=t[1],w.apply(e,t)}}),E=v("fetchTaskAborting"),S=v("fetchTaskScheduling"),C=j(p,"send",function(){return function(e,n){if(!0===t.current[S])return C.apply(e,n);if(e[r])return C.apply(e,n);var o={target:e,url:e[a],isPeriodic:!1,args:n,aborted:!1},i=d("XMLHttpRequest.send",x,o,k,P);e&&!0===e[s]&&!o.aborted&&i.state===_&&i.invoke()}}),T=j(p,"abort",function(){return function(e,r){var o=e[n];if(o&&"string"==typeof o.type){if(null==o.cancelFn||o.data&&o.data.aborted)return;o.zone.cancelTask(o)}else if(!0===t.current[E])return T.apply(e,r)}})}function k(e){var t=e.data,r=t.target;r[i]=!1,r[s]=!1;var a=r[o];h||(h=r[u],y=r[c]),a&&y.call(r,b,a);var l=r[o]=function(){if(r.readyState===r.DONE)if(!t.aborted&&r[i]&&e.state===_){var n=r.__zone_symbol__loadfalse;if(n&&n.length>0){var o=e.invoke;e.invoke=function(){for(var n=r.__zone_symbol__loadfalse,i=0;i<n.length;i++)n[i]===e&&n.splice(i,1);t.aborted||e.state!==_||o.call(e)},n.push(e)}else e.invoke()}else t.aborted||!1!==r[i]||(r[s]=!0)};return h.call(r,b,l),r[n]||(r[n]=e),C.apply(r,t.args),r[i]=!0,e}function x(){}function P(e){var t=e.data;return t.aborted=!0,T.apply(t.target,t.args)}}();var n=v("xhrTask"),r=v("xhrSync"),o=v("xhrListener"),i=v("xhrScheduled"),a=v("xhrURL"),s=v("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",function(e){e.navigator&&e.navigator.geolocation&&function(e,n){for(var r=e.constructor.name,o=function(o){var i=n[o],a=e[i];if(a){if(!E(t(e,i)))return"continue";e[i]=function(e){var t=function(){return e.apply(this,w(arguments,r+"."+i))};return L(t,e),t}(a)}},i=0;i<n.length;i++)o(i)}(e.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",function(e,t){function n(t){return function(n){K(e,t).forEach(function(r){var o=e.PromiseRejectionEvent;if(o){var i=new o(t,{promise:n.promise,reason:n.rejection});r.invoke(i)}})}}e.PromiseRejectionEvent&&(t[v("unhandledPromiseRejectionHandler")]=n("unhandledrejection"),t[v("rejectionHandledHandler")]=n("rejectionhandled"))})}()},"8Lw7":function(e,t,n){"use strict";const r=n("oyvS"),o=(n("+t9g"),n("u2ZH"),"application/x-mpvjs");function i(e){for(let t=0;t<e.length;t++)if(e.charCodeAt(t)>255)return!0;return!1}e.exports={PLUGIN_MIME_TYPE:o,getPluginEntry:function(e,t="mpvjs.node"){const n=r.join(e,t);let a=r.relative(process.cwd(),n);if("."===r.dirname(a)?"linux"===process.platform&&(a=`.${r.sep}${a}`):"win32"===process.platform&&(a=n),i(a)){if(i(n))throw new Error("Non-ASCII plugin path is not supported");a=n}return`${a};${o}`},MpvJs:class{command(e,...t){t=t.map(e=>e.toString()),this._postData("command",[e].concat(t))}property(e,t){this._postData("set_property",{name:e,value:t})}observe(e){this._postData("observe_property",e)}keypress({key:e,shiftKey:t,ctrlKey:n,altKey:r}){["Escape","Shift","Control","Alt","Compose","CapsLock","Meta"].includes(e)||(e.startsWith("Arrow")&&(e=e.slice(5).toUpperCase(),t&&(e=`Shift+${e}`)),n&&(e=`Ctrl+${e}`),r&&(e=`Alt+${e}`),["q","Q","ESC","POWER","STOP","CLOSE_WIN","CLOSE_WIN","Ctrl+c","AR_PLAY_HOLD","AR_CENTER_HOLD"].includes(e)||this.command("keypress",e))}fullscreen(){this.node().webkitRequestFullscreen()}destroy(){this.node().remove()}node(){return this.plugin}constructor(e,t){this.plugin=null,e&&t&&(this.onReady=e,this.onPropertyChange=t)}_postData(e,t){const n={type:e,data:t};this.node().postMessage(n)}_handleMessage(e){const t=e.data,{type:n,data:r}=t;if("property_change"===n&&this.onPropertyChange){const{name:e,value:t}=r;this.onPropertyChange(e,t)}else"ready"===n&&this.onReady&&this.onReady(this)}getDefProps(e={}){return Object.assign({},e,{ref:e=>{this.plugin=e},type:o,style:Object.assign({display:"block",width:"100%",height:"100%"},e.style)})}setPluginNode(e){e&&(this.plugin=e),this.node().addEventListener("message",this._handleMessage.bind(this))}}}},CrVd:function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},EWEu:function(e,t,n){"use strict";e.exports={}},NLsH:function(e,t){e.exports=require("electron")},PWJ0:function(e,t,n){"use strict";function r(e){return function(){return e}}var o=function(){};o.thatReturns=r,o.thatReturnsFalse=r(!1),o.thatReturnsTrue=r(!0),o.thatReturnsNull=r(null),o.thatReturnsThis=function(){return this},o.thatReturnsArgument=function(e){return e},e.exports=o},PygN:function(e,t,n){"use strict";e.exports=function(e,t,n,r,o,i,a,s){if(!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,i,a,s],l=0;(u=new Error(t.replace(/%s/g,function(){return c[l++]}))).name="Invariant Violation"}throw u.framesToPop=1,u}}},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"},"hN/g":function(e,t,n){"use strict";n.r(t),n("0TWp")},mNvP:function(e,t){var n;!function(e){!function(t){var n="object"==typeof global?global:"object"==typeof self?self:"object"==typeof this?this:Function("return this;")(),r=o(e);function o(e,t){return function(n,r){"function"!=typeof e[n]&&Object.defineProperty(e,n,{configurable:!0,writable:!0,value:r}),t&&t(n,r)}}void 0===n.Reflect?n.Reflect=e:r=o(n.Reflect,r),function(e){var t=Object.prototype.hasOwnProperty,n="function"==typeof Symbol,r=n&&void 0!==Symbol.toPrimitive?Symbol.toPrimitive:"@@toPrimitive",o=n&&void 0!==Symbol.iterator?Symbol.iterator:"@@iterator",i="function"==typeof Object.create,a={__proto__:[]}instanceof Array,s=!i&&!a,u={create:i?function(){return A(Object.create(null))}:a?function(){return A({__proto__:null})}:function(){return A({})},has:s?function(e,n){return t.call(e,n)}:function(e,t){return t in e},get:s?function(e,n){return t.call(e,n)?e[n]:void 0}:function(e,t){return e[t]}},c=Object.getPrototypeOf(Function),l="object"==typeof process&&process.env&&"true"===process.env.REFLECT_METADATA_USE_MAP_POLYFILL,f=l||"function"!=typeof Map||"function"!=typeof Map.prototype.entries?function(){var e={},t=[],n=function(){function e(e,t,n){this._index=0,this._keys=e,this._values=t,this._selector=n}return e.prototype["@@iterator"]=function(){return this},e.prototype[o]=function(){return this},e.prototype.next=function(){var e=this._index;if(e>=0&&e<this._keys.length){var n=this._selector(this._keys[e],this._values[e]);return e+1>=this._keys.length?(this._index=-1,this._keys=t,this._values=t):this._index++,{value:n,done:!1}}return{value:void 0,done:!0}},e.prototype.throw=function(e){throw this._index>=0&&(this._index=-1,this._keys=t,this._values=t),e},e.prototype.return=function(e){return this._index>=0&&(this._index=-1,this._keys=t,this._values=t),{value:e,done:!0}},e}();return function(){function t(){this._keys=[],this._values=[],this._cacheKey=e,this._cacheIndex=-2}return Object.defineProperty(t.prototype,"size",{get:function(){return this._keys.length},enumerable:!0,configurable:!0}),t.prototype.has=function(e){return this._find(e,!1)>=0},t.prototype.get=function(e){var t=this._find(e,!1);return t>=0?this._values[t]:void 0},t.prototype.set=function(e,t){var n=this._find(e,!0);return this._values[n]=t,this},t.prototype.delete=function(t){var n=this._find(t,!1);if(n>=0){for(var r=this._keys.length,o=n+1;o<r;o++)this._keys[o-1]=this._keys[o],this._values[o-1]=this._values[o];return this._keys.length--,this._values.length--,t===this._cacheKey&&(this._cacheKey=e,this._cacheIndex=-2),!0}return!1},t.prototype.clear=function(){this._keys.length=0,this._values.length=0,this._cacheKey=e,this._cacheIndex=-2},t.prototype.keys=function(){return new n(this._keys,this._values,r)},t.prototype.values=function(){return new n(this._keys,this._values,i)},t.prototype.entries=function(){return new n(this._keys,this._values,a)},t.prototype["@@iterator"]=function(){return this.entries()},t.prototype[o]=function(){return this.entries()},t.prototype._find=function(e,t){return this._cacheKey!==e&&(this._cacheIndex=this._keys.indexOf(this._cacheKey=e)),this._cacheIndex<0&&t&&(this._cacheIndex=this._keys.length,this._keys.push(e),this._values.push(void 0)),this._cacheIndex},t}();function r(e,t){return e}function i(e,t){return t}function a(e,t){return[e,t]}}():Map,p=l||"function"!=typeof Set||"function"!=typeof Set.prototype.entries?function(){function e(){this._map=new f}return Object.defineProperty(e.prototype,"size",{get:function(){return this._map.size},enumerable:!0,configurable:!0}),e.prototype.has=function(e){return this._map.has(e)},e.prototype.add=function(e){return this._map.set(e,e),this},e.prototype.delete=function(e){return this._map.delete(e)},e.prototype.clear=function(){this._map.clear()},e.prototype.keys=function(){return this._map.keys()},e.prototype.values=function(){return this._map.values()},e.prototype.entries=function(){return this._map.entries()},e.prototype["@@iterator"]=function(){return this.keys()},e.prototype[o]=function(){return this.keys()},e}():Set,h=new(l||"function"!=typeof WeakMap?function(){var e=16,n=u.create(),r=o();return function(){function e(){this._key=o()}return e.prototype.has=function(e){var t=i(e,!1);return void 0!==t&&u.has(t,this._key)},e.prototype.get=function(e){var t=i(e,!1);return void 0!==t?u.get(t,this._key):void 0},e.prototype.set=function(e,t){return i(e,!0)[this._key]=t,this},e.prototype.delete=function(e){var t=i(e,!1);return void 0!==t&&delete t[this._key]},e.prototype.clear=function(){this._key=o()},e}();function o(){var e;do{e="@@WeakMap@@"+s()}while(u.has(n,e));return n[e]=!0,e}function i(e,n){if(!t.call(e,r)){if(!n)return;Object.defineProperty(e,r,{value:u.create()})}return e[r]}function a(e,t){for(var n=0;n<t;++n)e[n]=255*Math.random()|0;return e}function s(){var t,n=(t=e,"function"==typeof Uint8Array?"undefined"!=typeof crypto?crypto.getRandomValues(new Uint8Array(t)):"undefined"!=typeof msCrypto?msCrypto.getRandomValues(new Uint8Array(t)):a(new Uint8Array(t),t):a(new Array(t),t));n[6]=79&n[6]|64,n[8]=191&n[8]|128;for(var r="",o=0;o<e;++o){var i=n[o];4!==o&&6!==o&&8!==o||(r+="-"),i<16&&(r+="0"),r+=i.toString(16).toLowerCase()}return r}}():WeakMap);function d(e,t,n){var r=h.get(e);if(_(r)){if(!n)return;r=new f,h.set(e,r)}var o=r.get(t);if(_(o)){if(!n)return;o=new f,r.set(t,o)}return o}function v(e,t,n){var r=d(t,n,!1);return!_(r)&&!!r.has(e)}function y(e,t,n){var r=d(t,n,!1);if(!_(r))return r.get(e)}function g(e,t,n,r){d(n,r,!0).set(e,t)}function m(e,t){var n=[],r=d(e,t,!1);if(_(r))return n;for(var i=function(e){var t=x(e,o);if(!T(t))throw new TypeError;var n=t.call(e);if(!E(n))throw new TypeError;return n}(r.keys()),a=0;;){var s=P(i);if(!s)return n.length=a,n;var u=s.value;try{n[a]=u}catch(c){try{O(i)}finally{throw c}}a++}}function b(e){if(null===e)return 1;switch(typeof e){case"undefined":return 0;case"boolean":return 2;case"string":return 3;case"symbol":return 4;case"number":return 5;case"object":return null===e?1:6;default:return 6}}function _(e){return void 0===e}function w(e){return null===e}function E(e){return"object"==typeof e?null!==e:"function"==typeof e}function S(e){var t=function(e,t){switch(b(e)){case 0:case 1:case 2:case 3:case 4:case 5:return e}var n=x(e,r);if(void 0!==n){var o=n.call(e,"string");if(E(o))throw new TypeError;return o}return function(e,t){var n,r,o=e.toString;if(T(o)&&!E(r=o.call(e)))return r;if(T(n=e.valueOf)&&!E(r=n.call(e)))return r;throw new TypeError}(e)}(e);return"symbol"==typeof t?t:""+t}function C(e){return Array.isArray?Array.isArray(e):e instanceof Object?e instanceof Array:"[object Array]"===Object.prototype.toString.call(e)}function T(e){return"function"==typeof e}function k(e){return"function"==typeof e}function x(e,t){var n=e[t];if(null!=n){if(!T(n))throw new TypeError;return n}}function P(e){var t=e.next();return!t.done&&t}function O(e){var t=e.return;t&&t.call(e)}function R(e){var t=Object.getPrototypeOf(e);if("function"!=typeof e||e===c)return t;if(t!==c)return t;var n=e.prototype,r=n&&Object.getPrototypeOf(n);if(null==r||r===Object.prototype)return t;var o=r.constructor;return"function"!=typeof o?t:o===e?t:o}function A(e){return e.__=void 0,delete e.__,e}e("decorate",function(e,t,n,r){if(_(n)){if(!C(e))throw new TypeError;if(!k(t))throw new TypeError;return function(e,t){for(var n=e.length-1;n>=0;--n){var r=(0,e[n])(t);if(!_(r)&&!w(r)){if(!k(r))throw new TypeError;t=r}}return t}(e,t)}if(!C(e))throw new TypeError;if(!E(t))throw new TypeError;if(!E(r)&&!_(r)&&!w(r))throw new TypeError;return w(r)&&(r=void 0),function(e,t,n,r){for(var o=e.length-1;o>=0;--o){var i=(0,e[o])(t,n,r);if(!_(i)&&!w(i)){if(!E(i))throw new TypeError;r=i}}return r}(e,t,n=S(n),r)}),e("metadata",function(e,t){return function(n,r){if(!E(n))throw new TypeError;if(!_(r)&&!function(e){switch(b(r)){case 3:case 4:return!0;default:return!1}}())throw new TypeError;g(e,t,n,r)}}),e("defineMetadata",function(e,t,n,r){if(!E(n))throw new TypeError;return _(r)||(r=S(r)),g(e,t,n,r)}),e("hasMetadata",function(e,t,n){if(!E(t))throw new TypeError;return _(n)||(n=S(n)),function e(t,n,r){if(v(t,n,r))return!0;var o=R(n);return!w(o)&&e(t,o,r)}(e,t,n)}),e("hasOwnMetadata",function(e,t,n){if(!E(t))throw new TypeError;return _(n)||(n=S(n)),v(e,t,n)}),e("getMetadata",function(e,t,n){if(!E(t))throw new TypeError;return _(n)||(n=S(n)),function e(t,n,r){if(v(t,n,r))return y(t,n,r);var o=R(n);return w(o)?void 0:e(t,o,r)}(e,t,n)}),e("getOwnMetadata",function(e,t,n){if(!E(t))throw new TypeError;return _(n)||(n=S(n)),y(e,t,n)}),e("getMetadataKeys",function(e,t){if(!E(e))throw new TypeError;return _(t)||(t=S(t)),function e(t,n){var r=m(t,n),o=R(t);if(null===o)return r;var i=e(o,n);if(i.length<=0)return r;if(r.length<=0)return i;for(var a=new p,s=[],u=0,c=r;u<c.length;u++)a.has(h=c[u])||(a.add(h),s.push(h));for(var l=0,f=i;l<f.length;l++){var h;a.has(h=f[l])||(a.add(h),s.push(h))}return s}(e,t)}),e("getOwnMetadataKeys",function(e,t){if(!E(e))throw new TypeError;return _(t)||(t=S(t)),m(e,t)}),e("deleteMetadata",function(e,t,n){if(!E(t))throw new TypeError;_(n)||(n=S(n));var r=d(t,n,!1);if(_(r))return!1;if(!r.delete(e))return!1;if(r.size>0)return!0;var o=h.get(t);return o.delete(n),o.size>0||(h.delete(t),!0)})}(r)}()}(n||(n={}))},"nof+":function(e,t,n){"use strict";var r=n("uqVQ"),o=n("PygN"),i=n("EWEu"),a=n("PWJ0"),s="function"==typeof Symbol&&Symbol.for,u=s?Symbol.for("react.element"):60103,c=s?Symbol.for("react.portal"):60106,l=s?Symbol.for("react.fragment"):60107,f=s?Symbol.for("react.strict_mode"):60108,p=s?Symbol.for("react.profiler"):60114,h=s?Symbol.for("react.provider"):60109,d=s?Symbol.for("react.context"):60110,v=s?Symbol.for("react.async_mode"):60111,y=s?Symbol.for("react.forward_ref"):60112;s&&Symbol.for("react.timeout");var g="function"==typeof Symbol&&Symbol.iterator;function m(e){for(var t=arguments.length-1,n="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=0;r<t;r++)n+="&args[]="+encodeURIComponent(arguments[r+1]);o(!1,"Minified React error #"+e+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",n)}var b={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}};function _(e,t,n){this.props=e,this.context=t,this.refs=i,this.updater=n||b}function w(){}function E(e,t,n){this.props=e,this.context=t,this.refs=i,this.updater=n||b}_.prototype.isReactComponent={},_.prototype.setState=function(e,t){"object"!=typeof e&&"function"!=typeof e&&null!=e&&m("85"),this.updater.enqueueSetState(this,e,t,"setState")},_.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},w.prototype=_.prototype;var S=E.prototype=new w;S.constructor=E,r(S,_.prototype),S.isPureReactComponent=!0;var C={current:null},T=Object.prototype.hasOwnProperty,k={key:!0,ref:!0,__self:!0,__source:!0};function x(e,t,n){var r=void 0,o={},i=null,a=null;if(null!=t)for(r in void 0!==t.ref&&(a=t.ref),void 0!==t.key&&(i=""+t.key),t)T.call(t,r)&&!k.hasOwnProperty(r)&&(o[r]=t[r]);var s=arguments.length-2;if(1===s)o.children=n;else if(1<s){for(var c=Array(s),l=0;l<s;l++)c[l]=arguments[l+2];o.children=c}if(e&&e.defaultProps)for(r in s=e.defaultProps)void 0===o[r]&&(o[r]=s[r]);return{$$typeof:u,type:e,key:i,ref:a,props:o,_owner:C.current}}function P(e){return"object"==typeof e&&null!==e&&e.$$typeof===u}var O=/\/+/g,R=[];function A(e,t,n,r){if(R.length){var o=R.pop();return o.result=e,o.keyPrefix=t,o.func=n,o.context=r,o.count=0,o}return{result:e,keyPrefix:t,func:n,context:r,count:0}}function I(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>R.length&&R.push(e)}function N(e,t,n,r){var o=typeof e;"undefined"!==o&&"boolean"!==o||(e=null);var i=!1;if(null===e)i=!0;else switch(o){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case u:case c:i=!0}}if(i)return n(r,e,""===t?"."+j(e,0):t),1;if(i=0,t=""===t?".":t+":",Array.isArray(e))for(var a=0;a<e.length;a++){var s=t+j(o=e[a],a);i+=N(o,s,n,r)}else if("function"==typeof(s=null==e?null:"function"==typeof(s=g&&e[g]||e["@@iterator"])?s:null))for(e=s.call(e),a=0;!(o=e.next()).done;)i+=N(o=o.value,s=t+j(o,a++),n,r);else"object"===o&&m("31","[object Object]"==(n=""+e)?"object with keys {"+Object.keys(e).join(", ")+"}":n,"");return i}function j(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,function(e){return t[e]})}(e.key):t.toString(36)}function D(e,t){e.func.call(e.context,t,e.count++)}function L(e,t,n){var r=e.result,o=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?M(e,r,n,a.thatReturnsArgument):null!=e&&(P(e)&&(t=o+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(O,"$&/")+"/")+n,e={$$typeof:u,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}),r.push(e))}function M(e,t,n,r,o){var i="";null!=n&&(i=(""+n).replace(O,"$&/")+"/"),t=A(t,i,r,o),null==e||N(e,"",L,t),I(t)}var U={Children:{map:function(e,t,n){if(null==e)return e;var r=[];return M(e,r,null,t,n),r},forEach:function(e,t,n){if(null==e)return e;t=A(null,null,t,n),null==e||N(e,"",D,t),I(t)},count:function(e){return null==e?0:N(e,"",a.thatReturnsNull,null)},toArray:function(e){var t=[];return M(e,t,null,a.thatReturnsArgument),t},only:function(e){return P(e)||m("143"),e}},createRef:function(){return{current:null}},Component:_,PureComponent:E,createContext:function(e,t){return void 0===t&&(t=null),(e={$$typeof:d,_calculateChangedBits:t,_defaultValue:e,_currentValue:e,_currentValue2:e,_changedBits:0,_changedBits2:0,Provider:null,Consumer:null}).Provider={$$typeof:h,_context:e},e.Consumer=e},forwardRef:function(e){return{$$typeof:y,render:e}},Fragment:l,StrictMode:f,unstable_AsyncMode:v,unstable_Profiler:p,createElement:x,cloneElement:function(e,t,n){null==e&&m("267",e);var o=void 0,i=r({},e.props),a=e.key,s=e.ref,c=e._owner;if(null!=t){void 0!==t.ref&&(s=t.ref,c=C.current),void 0!==t.key&&(a=""+t.key);var l=void 0;for(o in e.type&&e.type.defaultProps&&(l=e.type.defaultProps),t)T.call(t,o)&&!k.hasOwnProperty(o)&&(i[o]=void 0===t[o]&&void 0!==l?l[o]:t[o])}if(1==(o=arguments.length-2))i.children=n;else if(1<o){l=Array(o);for(var f=0;f<o;f++)l[f]=arguments[f+2];i.children=l}return{$$typeof:u,type:e.type,key:a,ref:s,props:i,_owner:c}},createFactory:function(e){var t=x.bind(null,e);return t.type=e,t},isValidElement:P,version:"16.4.2",__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentOwner:C,assign:r}},z={default:U},H=z&&U||z;e.exports=H.default?H.default:H},oyvS:function(e,t){e.exports=require("path")},rh3Q:function(e,t,n){"use strict";var r=n("CrVd");function o(){}e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=o,n.PropTypes=n,n}},u2ZH:function(e,t,n){e.exports=n("rh3Q")()},uqVQ:function(e,t,n){"use strict";var r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(o){return!1}}()?Object.assign:function(e,t){for(var n,a,s=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),u=1;u<arguments.length;u++){for(var c in n=Object(arguments[u]))o.call(n,c)&&(s[c]=n[c]);if(r){a=r(n);for(var l=0;l<a.length;l++)i.call(n,a[l])&&(s[a[l]]=n[a[l]])}}return s}},zUnb:function(e,t,n){"use strict";n.r(t);var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function o(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function a(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a}function s(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function u(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 c(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(s){o={error:s}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function l(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(c(arguments[t]));return e}var f=Array.isArray||function(e){return e&&"number"==typeof e.length};function p(e){return null!==e&&"object"==typeof e}function h(e){return"function"==typeof e}function d(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}d.prototype=Object.create(Error.prototype);var v=d,y=function(){function e(e){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,e&&(this._unsubscribe=e)}var t;return e.prototype.unsubscribe=function(){var t;if(!this.closed){var n=this._parentOrParents,r=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 i=0;i<n.length;++i)n[i].remove(this);if(h(r))try{r.call(this)}catch(u){t=u instanceof v?g(u.errors):[u]}if(f(o)){i=-1;for(var a=o.length;++i<a;){var s=o[i];if(p(s))try{s.unsubscribe()}catch(u){t=t||[],u instanceof v?t=t.concat(g(u.errors)):t.push(u)}}}if(t)throw new v(t)}},e.prototype.add=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 o=n._parentOrParents;if(null===o)n._parentOrParents=this;else if(o instanceof e){if(o===this)return n;n._parentOrParents=[o,this]}else{if(-1!==o.indexOf(this))return n;o.push(this)}var i=this._subscriptions;return null===i?this._subscriptions=[n]:i.push(n),n},e.prototype.remove=function(e){var t=this._subscriptions;if(t){var n=t.indexOf(e);-1!==n&&t.splice(n,1)}},e.EMPTY=((t=new e).closed=!0,t),e}();function g(e){return e.reduce(function(e,t){return e.concat(t instanceof v?t.errors:t)},[])}var m=!1,b={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){m=e},get useDeprecatedSynchronousErrorHandling(){return m}};function _(e){setTimeout(function(){throw e},0)}var w={closed:!0,next:function(e){},error:function(e){if(b.useDeprecatedSynchronousErrorHandling)throw e;_(e)},complete:function(){}},E="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random(),S=function(e){function t(n,r,o){var i=e.call(this)||this;switch(i.syncErrorValue=null,i.syncErrorThrown=!1,i.syncErrorThrowable=!1,i.isStopped=!1,arguments.length){case 0:i.destination=w;break;case 1:if(!n){i.destination=w;break}if("object"==typeof n){n instanceof t?(i.syncErrorThrowable=n.syncErrorThrowable,i.destination=n,n.add(i)):(i.syncErrorThrowable=!0,i.destination=new C(i,n));break}default:i.syncErrorThrowable=!0,i.destination=new C(i,n,r,o)}return i}return o(t,e),t.prototype[E]=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._parentOrParents;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=e,this},t}(y),C=function(e){function t(t,n,r,o){var i,a=e.call(this)||this;a._parentSubscriber=t;var s=a;return h(n)?i=n:n&&(i=n.next,r=n.error,o=n.complete,n!==w&&(h((s=Object.create(n)).unsubscribe)&&a.add(s.unsubscribe.bind(s)),s.unsubscribe=a.unsubscribe.bind(a))),a._context=s,a._next=i,a._error=r,a._complete=o,a}return o(t,e),t.prototype.next=function(e){if(!this.isStopped&&this._next){var t=this._parentSubscriber;b.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=b.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):_(e),this.unsubscribe();else{if(this.unsubscribe(),n)throw e;_(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)};b.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(),b.useDeprecatedSynchronousErrorHandling)throw n;_(n)}},t.prototype.__tryOrSetError=function(e,t,n){if(!b.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,n)}catch(r){return b.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=r,e.syncErrorThrown=!0,!0):(_(r),!0)}return!1},t.prototype._unsubscribe=function(){var e=this._parentSubscriber;this._context=null,this._parentSubscriber=null,e.unsubscribe()},t}(S),T="function"==typeof Symbol&&Symbol.observable||"@@observable";function k(){}function x(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return P(e)}function P(e){return e?1===e.length?e[0]:function(t){return e.reduce(function(e,t){return t(e)},t)}:k}var O=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 S)return e;if(e[E])return e[E]()}return e||t||n?new S(e,t,n):new S(w)}(e,t,n);if(o.add(r?r.call(o,this.source):this.source||b.useDeprecatedSynchronousErrorHandling&&!o.syncErrorThrowable?this._subscribe(o):this._trySubscribe(o)),b.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){b.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 S?t:null}return!0}(e)?e.error(t):console.warn(t)}},e.prototype.forEach=function(e,t){var n=this;return new(t=R(t))(function(t,r){var o;o=n.subscribe(function(t){try{e(t)}catch(n){r(n),o&&o.unsubscribe()}},r,t)})},e.prototype._subscribe=function(e){var t=this.source;return t&&t.subscribe(e)},e.prototype[T]=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:P(e)(this)},e.prototype.toPromise=function(e){var t=this;return new(e=R(e))(function(e,n){var r;t.subscribe(function(e){return r=e},function(e){return n(e)},function(){return e(r)})})},e.create=function(t){return new e(t)},e}();function R(e){if(e||(e=b.Promise||Promise),!e)throw new Error("no Promise impl found");return e}function A(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}A.prototype=Object.create(Error.prototype);var I=A,N=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}(y),j=function(e){function t(t){var n=e.call(this,t)||this;return n.destination=t,n}return o(t,e),t}(S),D=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[E]=function(){return new j(this)},t.prototype.lift=function(e){var t=new L(this,this);return t.operator=e,t},t.prototype.next=function(e){if(this.closed)throw new I;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 I;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 I;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 I;return e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){if(this.closed)throw new I;return this.hasError?(e.error(this.thrownError),y.EMPTY):this.isStopped?(e.complete(),y.EMPTY):(this.observers.push(e),new N(this,e))},t.prototype.asObservable=function(){var e=new O;return e.source=this,e},t.create=function(e,t){return new L(e,t)},t}(O),L=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):y.EMPTY},t}(D);function M(e){return e&&"function"==typeof e.schedule}var U=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}(S),z=function(e){return function(t){for(var n=0,r=e.length;n<r&&!t.closed;n++)t.next(e[n]);t.complete()}};function H(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}var V=H(),F=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e};function Z(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}var B=function(e){if(e&&"function"==typeof e[T])return r=e,function(e){var t=r[T]();if("function"!=typeof t.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return t.subscribe(e)};if(F(e))return z(e);if(Z(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,_),e};if(e&&"function"==typeof e[V])return t=e,function(e){for(var n=t[V]();;){var r=n.next();if(r.done){e.complete();break}if(e.next(r.value),e.closed)break}return"function"==typeof n.return&&e.add(function(){n.return&&n.return()}),e};var t,n,r,o=p(e)?"an invalid object":"'"+e+"'";throw new TypeError("You provided "+o+" where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.")};function q(e,t,n,r,o){if(void 0===o&&(o=new U(e,n,r)),!o.closed)return t instanceof O?t.subscribe(o):B(t)(o)}var W=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}(S);function G(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 Q(e,t))}}var Q=function(){function e(e,t){this.project=e,this.thisArg=t}return e.prototype.call=function(e,t){return t.subscribe(new K(e,this.project,this.thisArg))},e}(),K=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}(S);function $(e,t){return new O(function(n){var r=new y,o=0;return r.add(t.schedule(function(){o!==e.length?(n.next(e[o++]),n.closed||r.add(this.schedule())):n.complete()})),r})}function J(e,t){return t?function(e,t){if(null!=e){if(function(e){return e&&"function"==typeof e[T]}(e))return function(e,t){return new O(function(n){var r=new y;return r.add(t.schedule(function(){var o=e[T]();r.add(o.subscribe({next:function(e){r.add(t.schedule(function(){return n.next(e)}))},error:function(e){r.add(t.schedule(function(){return n.error(e)}))},complete:function(){r.add(t.schedule(function(){return n.complete()}))}}))})),r})}(e,t);if(Z(e))return function(e,t){return new O(function(n){var r=new y;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(F(e))return $(e,t);if(function(e){return e&&"function"==typeof e[V]}(e)||"string"==typeof e)return function(e,t){if(!e)throw new Error("Iterable cannot be null");return new O(function(n){var r,o=new y;return o.add(function(){r&&"function"==typeof r.return&&r.return()}),o.add(t.schedule(function(){r=e[V](),o.add(t.schedule(function(){if(!n.closed){var e,t;try{var o=r.next();e=o.value,t=o.done}catch(i){return void n.error(i)}t?n.complete():(n.next(e),this.schedule())}}))})),o})}(e,t)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}(e,t):e instanceof O?e:new O(B(e))}function X(e,t,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),"function"==typeof t?function(r){return r.pipe(X(function(n,r){return J(e(n,r)).pipe(G(function(e,o){return t(n,e,r,o)}))},n))}:("number"==typeof t&&(n=t),function(t){return t.lift(new Y(e,n))})}var Y=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=new U(this,void 0,void 0);this.destination.add(r),q(this,e,t,n,r)},t.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()},t.prototype.notifyNext=function(e,t,n,r,o){this.destination.next(t)},t.prototype.notifyComplete=function(e){var t=this.buffer;this.remove(e),this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},t}(W);function te(e){return e}function ne(e){return void 0===e&&(e=Number.POSITIVE_INFINITY),X(te,e)}function re(e,t){return t?$(e,t):new O(z(e))}function oe(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Number.POSITIVE_INFINITY,r=null,o=e[e.length-1];return M(o)?(r=e.pop(),e.length>1&&"number"==typeof e[e.length-1]&&(n=e.pop())):"number"==typeof o&&(n=e.pop()),null===r&&1===e.length&&e[0]instanceof O?e[0]:ne(n)(re(e,r))}function ie(){return function(e){return e.lift(new ae(e))}}var ae=function(){function e(e){this.connectable=e}return e.prototype.call=function(e,t){var n=this.connectable;n._refCount++;var r=new se(e,n),o=t.subscribe(r);return r.closed||(r.connection=n.connect()),o},e}(),se=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}(S),ue=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 y).add(this.source.subscribe(new le(this.getSubject(),this))),e.closed&&(this._connection=null,e=y.EMPTY)),e},t.prototype.refCount=function(){return ie()(this)},t}(O).prototype,ce={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:ue._subscribe},_isComplete:{value:ue._isComplete,writable:!0},getSubject:{value:ue.getSubject},connect:{value:ue.connect},refCount:{value:ue.refCount}},le=function(e){function t(t,n){var r=e.call(this,t)||this;return r.connectable=n,r}return o(t,e),t.prototype._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}(j);function fe(){return new D}function pe(){return function(e){return ie()((t=fe,function(e){var n;n="function"==typeof t?t:function(){return t};var r=Object.create(e,ce);return r.source=e,r.subjectFactory=n,r})(e));var t}}var he="__parameters__";function de(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,l(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,l([void 0],t)));return a.annotation=i,a;function a(e,t,n){for(var r=e.hasOwnProperty(he)?e[he]:Object.defineProperty(e,he,{value:[]})[he];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 ve=de("Inject",function(e){return{token:e}}),ye=de("Optional"),ge=de("Self"),me=de("SkipSelf"),be=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 _e(e){for(var t in e)if(e[t]===_e)return t;throw Error("Could not find renamed property on target object.")}function we(e){return{providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Ee(e){return e&&e.hasOwnProperty(Se)?e[Se]:null}var Se=_e({ngInjectableDef:_e});function Ce(e){if("string"==typeof e)return e;if(e instanceof Array)return"["+e.map(Ce).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return""+e.overriddenName;if(e.name)return""+e.name;var t=e.toString();if(null==t)return""+t;var n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}var Te=_e({__forward_ref__:_e});function ke(e){return e.__forward_ref__=ke,e.toString=function(){return Ce(this())},e}function xe(e){var t=e;return"function"==typeof t&&t.hasOwnProperty(Te)&&t.__forward_ref__===ke?t():e}function Pe(){var e="undefined"!=typeof globalThis&&globalThis,t="undefined"!=typeof window&&window,n="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,r="undefined"!=typeof global&&global;return e||r||t||n}var Oe,Re=Pe(),Ae=void 0;function Ie(e){var t=Ae;return Ae=e,t}function Ne(e,t){return void 0===t&&(t=be.Default),(Oe||function(e,t){if(void 0===t&&(t=be.Default),void 0===Ae)throw new Error("inject() must be called from an injection context");return null===Ae?function(e,t,n){var r=Ee(e);if(r&&"root"==r.providedIn)return void 0===r.value?r.value=r.factory():r.value;if(n&be.Optional)return null;throw new Error("Injector: NOT_FOUND ["+Ce(e)+"]")}(e,0,t):Ae.get(e,t&be.Optional?null:void 0,t)})(e,t)}var je=function(){function e(e,t){this._desc=e,this.ngMetadataName="InjectionToken",this.ngInjectableDef=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.ngInjectableDef=we({providedIn:t.providedIn||"root",factory:t.factory}))}return e.prototype.toString=function(){return"InjectionToken "+this._desc},e}(),De="__source",Le=new Object,Me=new je("INJECTOR",-1),Ue=function(){function e(){}return e.prototype.get=function(e,t){if(void 0===t&&(t=Le),t===Le){var n=new Error("NullInjectorError: No provider for "+Ce(e)+"!");throw n.name="NullInjectorError",n}return t},e}(),ze=function(){function e(){}return e.create=function(e,t){return Array.isArray(e)?new Ge(e,t):new Ge(e.providers,e.parent,e.name||null)},e.THROW_IF_NOT_FOUND=Le,e.NULL=new Ue,e.ngInjectableDef=we({providedIn:"any",factory:function(){return Ne(Me)}}),e.__NG_ELEMENT_ID__=-1,e}(),He=function(e){return e},Ve=[],Fe=He,Ze=function(){return Array.prototype.slice.call(arguments)},Be=_e({provide:String,useValue:_e}),qe=/\n/gm,We="\u0275",Ge=function(){function e(e,t,n){void 0===t&&(t=ze.NULL),void 0===n&&(n=null),this.parent=t,this.source=n;var r=this._records=new Map;r.set(ze,{token:ze,fn:He,deps:Ve,value:this,useNew:!1}),r.set(Me,{token:Me,fn:He,deps:Ve,value:this,useNew:!1}),function e(t,n){if(n)if((n=xe(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=xe(n.provide),i=function(e){var t=function(e){var t=Ve,n=e.deps;if(n&&n.length){t=[];for(var r=0;r<n.length;r++){var o=6;if((u=xe(n[r]))instanceof Array)for(var i=0,a=u;i<a.length;i++){var s=a[i];s instanceof ye||s==ye?o|=1:s instanceof me||s==me?o&=-3:s instanceof ge||s==ge?o&=-5:u=s instanceof ve?s.token:xe(s)}t.push({token:u,options:o})}}else if(e.useExisting){var u;t=[{token:u=xe(e.useExisting),options:6}]}else if(!(n||Be in e))throw $e("'deps' required",e);return t}(e),n=He,r=Ve,o=!1,i=xe(e.provide);if(Be in e)r=e.useValue;else if(e.useFactory)n=e.useFactory;else if(e.useExisting);else if(e.useClass)o=!0,n=xe(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 a=t.get(o);if(a){if(a.fn!==Ze)throw Qe(o)}else t.set(o,a={token:n.provide,deps:[],useNew:!1,fn:Ze,value:Ve});a.deps.push({token:o=n,options:6})}var s=t.get(o);if(s&&s.fn==Ze)throw Qe(o);t.set(o,i)}}(r,e)}return e.prototype.get=function(e,t,n){void 0===n&&(n=be.Default);var r=this._records.get(e);try{return function e(t,n,r,o,i,a){try{return function(t,n,r,o,i,a){var s,u;if(!n||a&be.SkipSelf)a&be.Self||(u=o.get(t,i,be.Default));else{if((u=n.value)==Fe)throw Error(We+"Circular dependency");if(u===Ve){n.value=Fe;var c=n.useNew,f=n.fn,p=n.deps,h=Ve;if(p.length){h=[];for(var d=0;d<p.length;d++){var v=p[d],y=v.options,g=2&y?r.get(v.token):void 0;h.push(e(v.token,g,r,g||4&y?o:ze.NULL,1&y?null:ze.THROW_IF_NOT_FOUND,be.Default))}}n.value=u=c?new((s=f).bind.apply(s,l([void 0],h))):f.apply(void 0,h)}}return u}(t,n,r,o,i,a)}catch(s){throw s instanceof Error||(s=new Error(s)),(s.ngTempTokenPath=s.ngTempTokenPath||[]).unshift(t),n&&n.value==Fe&&(n.value=Ve),s}}(e,r,this._records,this.parent,t,n)}catch(o){return function(e,t,n,r){var o=e.ngTempTokenPath;throw t[De]&&o.unshift(t[De]),e.message=Ke("\n"+e.message,o,"StaticInjectorError",r),e.ngTokenPath=o,e.ngTempTokenPath=null,e}(o,e,0,this.source)}},e.prototype.toString=function(){var e=[];return this._records.forEach(function(t,n){return e.push(Ce(n))}),"StaticInjector["+e.join(", ")+"]"},e}();function Qe(e){return $e("Cannot mix multi providers and regular providers",e)}function Ke(e,t,n,r){void 0===r&&(r=null),e=e&&"\n"===e.charAt(0)&&e.charAt(1)==We?e.substr(2):e;var o=Ce(t);if(t instanceof Array)o=t.map(Ce).join(" -> ");else if("object"==typeof t){var i=[];for(var a in t)if(t.hasOwnProperty(a)){var s=t[a];i.push(a+":"+("string"==typeof s?JSON.stringify(s):Ce(s)))}o="{"+i.join(", ")+"}"}return n+(r?"("+r+")":"")+"["+o+"]: "+e.replace(qe,"\n  ")}function $e(e,t){return new Error(Ke(e,t,"StaticInjectorError"))}var Je="ngDebugContext",Xe="ngOriginalError",Ye="ngErrorLogger",et=new je("AnalyzeForEntryComponents"),tt=function(e){return e[e.Emulated=0]="Emulated",e[e.Native=1]="Native",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}({}),nt=function(){return("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Re)}();function rt(e){return e[Je]}function ot(e){return e[Xe]}function it(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];e.error.apply(e,l(t))}var at=function(){function e(){this._console=console}return e.prototype.handleError=function(e){var t=this._findOriginalError(e),n=this._findContext(e),r=function(e){return e[Ye]||it}(e);r(this._console,"ERROR",e),t&&r(this._console,"ORIGINAL ERROR",t),n&&r(this._console,"ERROR CONTEXT",n)},e.prototype._findContext=function(e){return e?rt(e)?rt(e):this._findContext(ot(e)):null},e.prototype._findOriginalError=function(e){for(var t=ot(e);t&&ot(t);)t=ot(t);return t},e}(),st=!0,ut=!1;function ct(){return ut=!0,st}var lt=function(){function e(e){if(this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),this.inertBodyElement=this.inertDocument.body,null==this.inertBodyElement){var t=this.inertDocument.createElement("html");this.inertDocument.appendChild(t),this.inertBodyElement=this.inertDocument.createElement("body"),t.appendChild(this.inertBodyElement)}this.inertBodyElement.innerHTML='<svg><g onload="this.parentNode.remove()"></g></svg>',!this.inertBodyElement.querySelector||this.inertBodyElement.querySelector("svg")?(this.inertBodyElement.innerHTML='<svg><p><style><img src="</style><img src=x onerror=alert(1)//">',this.getInertBodyElement=this.inertBodyElement.querySelector&&this.inertBodyElement.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(e){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}return e.prototype.getInertBodyElement_XHR=function(e){e="<body><remove></remove>"+e+"</body>";try{e=encodeURI(e)}catch(r){return null}var t=new XMLHttpRequest;t.responseType="document",t.open("GET","data:text/html;charset=utf-8,"+e,!1),t.send(void 0);var n=t.response.body;return n.removeChild(n.firstChild),n},e.prototype.getInertBodyElement_DOMParser=function(e){e="<body><remove></remove>"+e+"</body>";try{var t=(new window.DOMParser).parseFromString(e,"text/html").body;return t.removeChild(t.firstChild),t}catch(n){return null}},e.prototype.getInertBodyElement_InertDocument=function(e){var t=this.inertDocument.createElement("template");return"content"in t?(t.innerHTML=e,t):(this.inertBodyElement.innerHTML=e,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(this.inertBodyElement),this.inertBodyElement)},e.prototype.stripCustomNsAttrs=function(e){for(var t=e.attributes,n=t.length-1;0<n;n--){var r=t.item(n).name;"xmlns:ns1"!==r&&0!==r.indexOf("ns1:")||e.removeAttribute(r)}for(var o=e.firstChild;o;)o.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(o),o=o.nextSibling},e}(),ft=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:\/?#]*(?:[\/?#]|$))/gi,pt=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function ht(e){return(e=String(e)).match(ft)||e.match(pt)?e:(ct()&&console.warn("WARNING: sanitizing unsafe URL value "+e+" (see http://g.co/ng/security#xss)"),"unsafe:"+e)}function dt(e){var t,n,r={};try{for(var o=u(e.split(",")),i=o.next();!i.done;i=o.next())r[i.value]=!0}catch(a){t={error:a}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}return r}function vt(){for(var e,t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var o={};try{for(var i=u(n),a=i.next();!a.done;a=i.next()){var s=a.value;for(var c in s)s.hasOwnProperty(c)&&(o[c]=!0)}}catch(l){e={error:l}}finally{try{a&&!a.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}return o}var yt,gt=dt("area,br,col,hr,img,wbr"),mt=dt("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),bt=dt("rp,rt"),_t=vt(bt,mt),wt=vt(gt,vt(mt,dt("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),vt(bt,dt("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),_t),Et=dt("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),St=dt("srcset"),Ct=vt(Et,St,dt("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),dt("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),Tt=dt("script,style,template"),kt=function(){function e(){this.sanitizedSomething=!1,this.buf=[]}return e.prototype.sanitizeChildren=function(e){for(var t=e.firstChild,n=!0;t;)if(t.nodeType===Node.ELEMENT_NODE?n=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,n&&t.firstChild)t=t.firstChild;else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);var r=this.checkClobberedElement(t,t.nextSibling);if(r){t=r;break}t=this.checkClobberedElement(t,t.parentNode)}return this.buf.join("")},e.prototype.startElement=function(e){var t,n=e.nodeName.toLowerCase();if(!wt.hasOwnProperty(n))return this.sanitizedSomething=!0,!Tt.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);for(var r=e.attributes,o=0;o<r.length;o++){var i=r.item(o),a=i.name,s=a.toLowerCase();if(Ct.hasOwnProperty(s)){var u=i.value;Et[s]&&(u=ht(u)),St[s]&&(t=u,u=(t=String(t)).split(",").map(function(e){return ht(e.trim())}).join(", ")),this.buf.push(" ",a,'="',Ot(u),'"')}else this.sanitizedSomething=!0}return this.buf.push(">"),!0},e.prototype.endElement=function(e){var t=e.nodeName.toLowerCase();wt.hasOwnProperty(t)&&!gt.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))},e.prototype.chars=function(e){this.buf.push(Ot(e))},e.prototype.checkClobberedElement=function(e,t){if(t&&(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: "+e.outerHTML);return t},e}(),xt=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Pt=/([^\#-~ |!])/g;function Ot(e){return e.replace(/&/g,"&amp;").replace(xt,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(Pt,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}function Rt(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var At=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}({}),It=function(){return function(){}}(),Nt=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:calc|attr))\\([-0-9.%, #a-zA-Z]+\\))$","g"),jt=/^url\(([^)]+)\)$/,Dt=/([A-Z])/g;function Lt(e){try{return null!=e?e.toString().slice(0,30):e}catch(t){return"[ERROR] Exception while trying to serialize the value"}}function Mt(e){return!!e&&"function"==typeof e.then}function Ut(e){return!!e&&"function"==typeof e.subscribe}var zt=null;function Ht(){if(!zt){var e=Re.Symbol;if(e&&e.iterator)zt=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&&(zt=r)}}return zt}function Vt(e,t){return e===t||"number"==typeof e&&"number"==typeof t&&isNaN(e)&&isNaN(t)}function Ft(e,t){var n=Bt(e),r=Bt(t);return n&&r?function(e,t,n){for(var r=e[Ht()](),o=t[Ht()]();;){var i=r.next(),a=o.next();if(i.done&&a.done)return!0;if(i.done||a.done)return!1;if(!n(i.value,a.value))return!1}}(e,t,Ft):!(n||!e||"object"!=typeof e&&"function"!=typeof e||r||!t||"object"!=typeof t&&"function"!=typeof t)||Vt(e,t)}var Zt=function(){function e(e){this.wrapped=e}return e.wrap=function(t){return new e(t)},e.unwrap=function(t){return e.isWrapped(t)?t.wrapped:t},e.isWrapped=function(t){return t instanceof e},e}();function Bt(e){return!!qt(e)&&(Array.isArray(e)||!(e instanceof Map)&&Ht()in e)}function qt(e){return null!==e&&("function"==typeof e||"object"==typeof e)}var Wt=function(){function e(e,t,n){this.previousValue=e,this.currentValue=t,this.firstChange=n}return e.prototype.isFirstChange=function(){return this.firstChange},e}(),Gt=new je("The presence of this token marks an injector as being the root injector."),Qt=function(){return function(){}}(),Kt=function(){return function(){}}();function $t(e){var t=Error("No component factory found for "+Ce(e)+". Did you add it to @NgModule.entryComponents?");return t[Jt]=e,t}var Jt="ngComponent",Xt=function(){function e(){}return e.prototype.resolveComponentFactory=function(e){throw $t(e)},e}(),Yt=function(){function e(){}return e.NULL=new Xt,e}(),en=function(){function e(e,t,n){this._parent=t,this._ngModule=n,this._factories=new Map;for(var r=0;r<e.length;r++){var o=e[r];this._factories.set(o.componentType,o)}}return e.prototype.resolveComponentFactory=function(e){var t=this._factories.get(e);if(!t&&this._parent&&(t=this._parent.resolveComponentFactory(e)),!t)throw $t(e);return new tn(t,this._ngModule)},e}(),tn=function(e){function t(t,n){var r=e.call(this)||this;return r.factory=t,r.ngModule=n,r.selector=t.selector,r.componentType=t.componentType,r.ngContentSelectors=t.ngContentSelectors,r.inputs=t.inputs,r.outputs=t.outputs,r}return o(t,e),t.prototype.create=function(e,t,n,r){return this.factory.create(e,t,n,r||this.ngModule)},t}(Kt),nn=function(){return function(){}}(),rn=function(){return function(){}}();function on(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]}var an=function(){function e(e){this.nativeElement=e}return e.__NG_ELEMENT_ID__=function(){return sn(e)},e}(),sn=on,un=function(){return function(){}}(),cn=function(){return function(){}}(),ln=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}({}),fn=function(){function e(){}return e.__NG_ELEMENT_ID__=function(){return pn()},e}(),pn=on,hn=new(function(){return function(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}())("8.0.0"),dn=function(){function e(){}return e.prototype.supports=function(e){return Bt(e)},e.prototype.create=function(e){return new yn(e)},e}(),vn=function(e,t){return t},yn=function(){function e(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||vn}return e.prototype.forEachItem=function(e){var t;for(t=this._itHead;null!==t;t=t._next)e(t)},e.prototype.forEachOperation=function(e){for(var t=this._itHead,n=this._removalsHead,r=0,o=null;t||n;){var i=!n||t&&t.currentIndex<_n(n,r,o)?t:n,a=_n(i,r,o),s=i.currentIndex;if(i===n)r--,n=n._nextRemoved;else if(t=t._next,null==i.previousIndex)r++;else{o||(o=[]);var u=a-r,c=s-r;if(u!=c){for(var l=0;l<u;l++){var f=l<o.length?o[l]:o[l]=0,p=f+l;c<=p&&p<u&&(o[l]=f+1)}o[i.previousIndex]=c-u}}a!==s&&e(i,a,s)}},e.prototype.forEachPreviousItem=function(e){var t;for(t=this._previousItHead;null!==t;t=t._nextPrevious)e(t)},e.prototype.forEachAddedItem=function(e){var t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)},e.prototype.forEachMovedItem=function(e){var t;for(t=this._movesHead;null!==t;t=t._nextMoved)e(t)},e.prototype.forEachRemovedItem=function(e){var t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)},e.prototype.forEachIdentityChange=function(e){var t;for(t=this._identityChangesHead;null!==t;t=t._nextIdentityChange)e(t)},e.prototype.diff=function(e){if(null==e&&(e=[]),!Bt(e))throw new Error("Error trying to diff '"+Ce(e)+"'. Only arrays and iterables are allowed");return this.check(e)?this:null},e.prototype.onDestroy=function(){},e.prototype.check=function(e){var t=this;this._reset();var n,r,o,i=this._itHead,a=!1;if(Array.isArray(e)){this.length=e.length;for(var s=0;s<this.length;s++)o=this._trackByFn(s,r=e[s]),null!==i&&Vt(i.trackById,o)?(a&&(i=this._verifyReinsertion(i,r,o,s)),Vt(i.item,r)||this._addIdentityChange(i,r)):(i=this._mismatch(i,r,o,s),a=!0),i=i._next}else n=0,function(e,t){if(Array.isArray(e))for(var n=0;n<e.length;n++)t(e[n]);else for(var r=e[Ht()](),o=void 0;!(o=r.next()).done;)t(o.value)}(e,function(e){o=t._trackByFn(n,e),null!==i&&Vt(i.trackById,o)?(a&&(i=t._verifyReinsertion(i,e,o,n)),Vt(i.item,e)||t._addIdentityChange(i,e)):(i=t._mismatch(i,e,o,n),a=!0),i=i._next,n++}),this.length=n;return this._truncate(i),this.collection=e,this.isDirty},Object.defineProperty(e.prototype,"isDirty",{get:function(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead},enumerable:!0,configurable:!0}),e.prototype._reset=function(){if(this.isDirty){var e=void 0,t=void 0;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=t)e.previousIndex=e.currentIndex,t=e._nextMoved;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}},e.prototype._mismatch=function(e,t,n,r){var o;return null===e?o=this._itTail:(o=e._prev,this._remove(e)),null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(Vt(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,o,r)):null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Vt(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,o,r)):e=this._addAfter(new gn(t,n),o,r),e},e.prototype._verifyReinsertion=function(e,t,n,r){var o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==o?e=this._reinsertAfter(o,e._prev,r):e.currentIndex!=r&&(e.currentIndex=r,this._addToMoves(e,r)),e},e.prototype._truncate=function(e){for(;null!==e;){var t=e._next;this._addToRemovals(this._unlink(e)),e=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)},e.prototype._reinsertAfter=function(e,t,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);var r=e._prevRemoved,o=e._nextRemoved;return null===r?this._removalsHead=o:r._nextRemoved=o,null===o?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(e,t,n),this._addToMoves(e,n),e},e.prototype._moveAfter=function(e,t,n){return this._unlink(e),this._insertAfter(e,t,n),this._addToMoves(e,n),e},e.prototype._addAfter=function(e,t,n){return this._insertAfter(e,t,n),this._additionsTail=null===this._additionsTail?this._additionsHead=e:this._additionsTail._nextAdded=e,e},e.prototype._insertAfter=function(e,t,n){var r=null===t?this._itHead:t._next;return e._next=r,e._prev=t,null===r?this._itTail=e:r._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new bn),this._linkedRecords.put(e),e.currentIndex=n,e},e.prototype._remove=function(e){return this._addToRemovals(this._unlink(e))},e.prototype._unlink=function(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);var t=e._prev,n=e._next;return null===t?this._itHead=n:t._next=n,null===n?this._itTail=t:n._prev=t,e},e.prototype._addToMoves=function(e,t){return e.previousIndex===t?e:(this._movesTail=null===this._movesTail?this._movesHead=e:this._movesTail._nextMoved=e,e)},e.prototype._addToRemovals=function(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new bn),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e},e.prototype._addIdentityChange=function(e,t){return e.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=e:this._identityChangesTail._nextIdentityChange=e,e},e}(),gn=function(){return function(e,t){this.item=e,this.trackById=t,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}(),mn=function(){function e(){this._head=null,this._tail=null}return e.prototype.add=function(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)},e.prototype.get=function(e,t){var n;for(n=this._head;null!==n;n=n._nextDup)if((null===t||t<=n.currentIndex)&&Vt(n.trackById,e))return n;return null},e.prototype.remove=function(e){var t=e._prevDup,n=e._nextDup;return null===t?this._head=n:t._nextDup=n,null===n?this._tail=t:n._prevDup=t,null===this._head},e}(),bn=function(){function e(){this.map=new Map}return e.prototype.put=function(e){var t=e.trackById,n=this.map.get(t);n||(n=new mn,this.map.set(t,n)),n.add(e)},e.prototype.get=function(e,t){var n=this.map.get(e);return n?n.get(e,t):null},e.prototype.remove=function(e){var t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e},Object.defineProperty(e.prototype,"isEmpty",{get:function(){return 0===this.map.size},enumerable:!0,configurable:!0}),e.prototype.clear=function(){this.map.clear()},e}();function _n(e,t,n){var r=e.previousIndex;if(null===r)return r;var o=0;return n&&r<n.length&&(o=n[r]),r+t+o}var wn=function(){function e(){}return e.prototype.supports=function(e){return e instanceof Map||qt(e)},e.prototype.create=function(){return new En},e}(),En=function(){function e(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}return Object.defineProperty(e.prototype,"isDirty",{get:function(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead},enumerable:!0,configurable:!0}),e.prototype.forEachItem=function(e){var t;for(t=this._mapHead;null!==t;t=t._next)e(t)},e.prototype.forEachPreviousItem=function(e){var t;for(t=this._previousMapHead;null!==t;t=t._nextPrevious)e(t)},e.prototype.forEachChangedItem=function(e){var t;for(t=this._changesHead;null!==t;t=t._nextChanged)e(t)},e.prototype.forEachAddedItem=function(e){var t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)},e.prototype.forEachRemovedItem=function(e){var t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)},e.prototype.diff=function(e){if(e){if(!(e instanceof Map||qt(e)))throw new Error("Error trying to diff '"+Ce(e)+"'. Only maps and objects are allowed")}else e=new Map;return this.check(e)?this:null},e.prototype.onDestroy=function(){},e.prototype.check=function(e){var t=this;this._reset();var n=this._mapHead;if(this._appendAfter=null,this._forEach(e,function(e,r){if(n&&n.key===r)t._maybeAddToChanges(n,e),t._appendAfter=n,n=n._next;else{var o=t._getOrCreateRecordForKey(r,e);n=t._insertBeforeOrAppend(n,o)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(var r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty},e.prototype._insertBeforeOrAppend=function(e,t){if(e){var n=e._prev;return t._next=e,t._prev=n,e._prev=t,n&&(n._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null},e.prototype._getOrCreateRecordForKey=function(e,t){if(this._records.has(e)){var n=this._records.get(e);this._maybeAddToChanges(n,t);var r=n._prev,o=n._next;return r&&(r._next=o),o&&(o._prev=r),n._next=null,n._prev=null,n}var i=new Sn(e);return this._records.set(e,i),i.currentValue=t,this._addToAdditions(i),i},e.prototype._reset=function(){if(this.isDirty){var e=void 0;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;null!==e;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;null!=e;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}},e.prototype._maybeAddToChanges=function(e,t){Vt(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))},e.prototype._addToAdditions=function(e){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)},e.prototype._addToChanges=function(e){null===this._changesHead?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)},e.prototype._forEach=function(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach(function(n){return t(e[n],n)})},e}(),Sn=function(){return function(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}(),Cn=function(){function e(e){this.factories=e}return e.create=function(t,n){if(null!=n){var r=n.factories.slice();t=t.concat(r)}return new e(t)},e.extend=function(t){return{provide:e,useFactory:function(n){if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return e.create(t,n)},deps:[[e,new me,new ye]]}},e.prototype.find=function(e){var t,n=this.factories.find(function(t){return t.supports(e)});if(null!=n)return n;throw new Error("Cannot find a differ supporting object '"+e+"' of type '"+((t=e).name||typeof t)+"'")},e.ngInjectableDef=we({providedIn:"root",factory:function(){return new e([new dn])}}),e}(),Tn=function(){function e(e){this.factories=e}return e.create=function(t,n){if(n){var r=n.factories.slice();t=t.concat(r)}return new e(t)},e.extend=function(t){return{provide:e,useFactory:function(n){if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return e.create(t,n)},deps:[[e,new me,new ye]]}},e.prototype.find=function(e){var t=this.factories.find(function(t){return t.supports(e)});if(t)return t;throw new Error("Cannot find a differ supporting object '"+e+"'")},e.ngInjectableDef=we({providedIn:"root",factory:function(){return new e([new wn])}}),e}(),kn=function(){function e(){}return e.__NG_ELEMENT_ID__=function(){return xn()},e}(),xn=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]},Pn=[new wn],On=new Cn([new dn]),Rn=new Tn(Pn),An=function(){function e(){}return e.__NG_ELEMENT_ID__=function(){return In(e,an)},e}(),In=on,Nn=function(){function e(){}return e.__NG_ELEMENT_ID__=function(){return jn(e,an)},e}(),jn=on;function Dn(e,t,n,r){var o="ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '"+t+"'. Current value: '"+n+"'.";return r&&(o+=" It seems like the view has been created after its parent and its children have been dirty checked. Has it been created in a change detection hook ?"),function(e,t){var n=new Error(e);return Ln(n,t),n}(o,e)}function Ln(e,t){e[Je]=t,e[Ye]=t.logError.bind(t)}function Mn(e){return new Error("ViewDestroyedError: Attempt to use a destroyed view: "+e)}function Un(e,t,n){var r=e.state,o=1792&r;return o===t?(e.state=-1793&r|n,e.initIndex=-1,!0):o===n}function zn(e,t,n){return(1792&e.state)===t&&e.initIndex<=n&&(e.initIndex=n+1,!0)}function Hn(e,t){return e.nodes[t]}function Vn(e,t){return e.nodes[t]}function Fn(e,t){return e.nodes[t]}function Zn(e,t){return e.nodes[t]}function Bn(e,t){return e.nodes[t]}var qn={setCurrentNode:void 0,createRootView:void 0,createEmbeddedView:void 0,createComponentView:void 0,createNgModuleRef:void 0,overrideProvider:void 0,overrideComponentView:void 0,clearOverrides:void 0,checkAndUpdateView:void 0,checkNoChangesView:void 0,destroyView:void 0,resolveDep:void 0,createDebugContext:void 0,handleEvent:void 0,updateDirectives:void 0,updateRenderer:void 0,dirtyParentQueries:void 0},Wn=function(){},Gn=new Map;function Qn(e){var t=Gn.get(e);return t||(t=Ce(e)+"_"+Gn.size,Gn.set(e,t)),t}var Kn="$$undefined",$n="$$empty";function Jn(e){return{id:Kn,styles:e.styles,encapsulation:e.encapsulation,data:e.data}}var Xn=0;function Yn(e,t,n,r){return!(!(2&e.state)&&Vt(e.oldValues[t.bindingIndex+n],r))}function er(e,t,n,r){return!!Yn(e,t,n,r)&&(e.oldValues[t.bindingIndex+n]=r,!0)}function tr(e,t,n,r){var o=e.oldValues[t.bindingIndex+n];if(1&e.state||!Ft(o,r)){var i=t.bindings[n].name;throw Dn(qn.createDebugContext(e,t.nodeIndex),i+": "+o,i+": "+r,0!=(1&e.state))}}function nr(e){for(var t=e;t;)2&t.def.flags&&(t.state|=8),t=t.viewContainerParent||t.parent}function rr(e,t){for(var n=e;n&&n!==t;)n.state|=64,n=n.viewContainerParent||n.parent}function or(e,t,n,r){try{return nr(33554432&e.def.nodes[t].flags?Vn(e,t).componentView:e),qn.handleEvent(e,t,n,r)}catch(o){e.root.errorHandler.handleError(o)}}function ir(e){return e.parent?Vn(e.parent,e.parentNodeDef.nodeIndex):null}function ar(e){return e.parent?e.parentNodeDef.parent:null}function sr(e,t){switch(201347067&t.flags){case 1:return Vn(e,t.nodeIndex).renderElement;case 2:return Hn(e,t.nodeIndex).renderText}}function ur(e){return!!e.parent&&!!(32768&e.parentNodeDef.flags)}function cr(e){return!(!e.parent||32768&e.parentNodeDef.flags)}function lr(e){var t={},n=0,r={};return e&&e.forEach(function(e){var o=c(e,2),i=o[0],a=o[1];"number"==typeof i?(t[i]=a,n|=function(e){return 1<<e%32}(i)):r[i]=a}),{matchedQueries:t,references:r,matchedQueryIds:n}}function fr(e,t){return e.map(function(e){var n,r,o;return Array.isArray(e)?(o=(n=c(e,2))[0],r=n[1]):(o=0,r=e),r&&("function"==typeof r||"object"==typeof r)&&t&&Object.defineProperty(r,De,{value:t,configurable:!0}),{flags:o,token:r,tokenKey:Qn(r)}})}function pr(e,t,n){var r=n.renderParent;return r?0==(1&r.flags)||0==(33554432&r.flags)||r.element.componentRendererType&&r.element.componentRendererType.encapsulation===tt.Native?Vn(e,n.renderParent.nodeIndex).renderElement:void 0:t}var hr=new WeakMap;function dr(e){var t=hr.get(e);return t||((t=e(function(){return Wn})).factory=e,hr.set(e,t)),t}function vr(e,t,n,r,o){3===t&&(n=e.renderer.parentNode(sr(e,e.def.lastRenderRootNode))),yr(e,t,0,e.def.nodes.length-1,n,r,o)}function yr(e,t,n,r,o,i,a){for(var s=n;s<=r;s++){var u=e.def.nodes[s];11&u.flags&&mr(e,u,t,o,i,a),s+=u.childCount}}function gr(e,t,n,r,o,i){for(var a=e;a&&!ur(a);)a=a.parent;for(var s=a.parent,u=ar(a),c=u.nodeIndex+u.childCount,l=u.nodeIndex+1;l<=c;l++){var f=s.def.nodes[l];f.ngContentIndex===t&&mr(s,f,n,r,o,i),l+=f.childCount}if(!s.parent){var p=e.root.projectableNodes[t];if(p)for(l=0;l<p.length;l++)br(e,p[l],n,r,o,i)}}function mr(e,t,n,r,o,i){if(8&t.flags)gr(e,t.ngContent.index,n,r,o,i);else{var a=sr(e,t);if(3===n&&33554432&t.flags&&48&t.bindingFlags?(16&t.bindingFlags&&br(e,a,n,r,o,i),32&t.bindingFlags&&br(Vn(e,t.nodeIndex).componentView,a,n,r,o,i)):br(e,a,n,r,o,i),16777216&t.flags)for(var s=Vn(e,t.nodeIndex).viewContainer._embeddedViews,u=0;u<s.length;u++)vr(s[u],n,r,o,i);1&t.flags&&!t.element.name&&yr(e,n,t.nodeIndex+1,t.nodeIndex+t.childCount,r,o,i)}}function br(e,t,n,r,o,i){var a=e.renderer;switch(n){case 1:a.appendChild(r,t);break;case 2:a.insertBefore(r,t,o);break;case 3:a.removeChild(r,t);break;case 0:i.push(t)}}var _r=/^:([^:]+):(.+)$/;function wr(e){if(":"===e[0]){var t=e.match(_r);return[t[1],t[2]]}return["",e]}function Er(e){for(var t=0,n=0;n<e.length;n++)t|=e[n].flags;return t}var Sr=new Object,Cr=Qn(ze),Tr=Qn(Me),kr=Qn(nn);function xr(e,t,n,r){return n=xe(n),{index:-1,deps:fr(r,Ce(t)),flags:e,token:t,value:n}}function Pr(e,t,n){void 0===n&&(n=ze.THROW_IF_NOT_FOUND);var r,o,i=Ie(e);try{if(8&t.flags)return t.token;if(2&t.flags&&(n=null),1&t.flags)return e._parent.get(t.token,n);var a=t.tokenKey;switch(a){case Cr:case Tr:case kr:return e}var s,u=e._def.providersByKey[a];if(u){var c=e._providers[u.index];return void 0===c&&(c=e._providers[u.index]=Or(e,u)),c===Sr?void 0:c}if((s=Ee(t.token))&&(r=e,null!=(o=s).providedIn&&(function(e,t){return e._def.modules.indexOf(o.providedIn)>-1}(r)||"root"===o.providedIn&&r._def.isRoot))){var l=e._providers.length;return e._def.providers[l]=e._def.providersByKey[t.tokenKey]={flags:5120,value:s.factory,deps:[],index:l,token:t.token},e._providers[l]=Sr,e._providers[l]=Or(e,e._def.providersByKey[t.tokenKey])}return 4&t.flags?n:e._parent.get(t.token,n)}finally{Ie(i)}}function Or(e,t){var n;switch(201347067&t.flags){case 512:n=function(e,t,n){var r=n.length;switch(r){case 0:return new t;case 1:return new t(Pr(e,n[0]));case 2:return new t(Pr(e,n[0]),Pr(e,n[1]));case 3:return new t(Pr(e,n[0]),Pr(e,n[1]),Pr(e,n[2]));default:for(var o=new Array(r),i=0;i<r;i++)o[i]=Pr(e,n[i]);return new(t.bind.apply(t,l([void 0],o)))}}(e,t.value,t.deps);break;case 1024:n=function(e,t,n){var r=n.length;switch(r){case 0:return t();case 1:return t(Pr(e,n[0]));case 2:return t(Pr(e,n[0]),Pr(e,n[1]));case 3:return t(Pr(e,n[0]),Pr(e,n[1]),Pr(e,n[2]));default:for(var o=Array(r),i=0;i<r;i++)o[i]=Pr(e,n[i]);return t.apply(void 0,l(o))}}(e,t.value,t.deps);break;case 2048:n=Pr(e,t.deps[0]);break;case 256:n=t.value}return n===Sr||null===n||"object"!=typeof n||131072&t.flags||"function"!=typeof n.ngOnDestroy||(t.flags|=131072),void 0===n?Sr:n}function Rr(e,t){var n=e.viewContainer._embeddedViews;if((null==t||t>=n.length)&&(t=n.length-1),t<0)return null;var r=n[t];return r.viewContainerParent=null,jr(n,t),qn.dirtyParentQueries(r),Ir(r),r}function Ar(e,t,n){var r=t?sr(t,t.def.lastRenderRootNode):e.renderElement,o=n.renderer.parentNode(r),i=n.renderer.nextSibling(r);vr(n,2,o,i,void 0)}function Ir(e){vr(e,3,null,null,void 0)}function Nr(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function jr(e,t){t>=e.length-1?e.pop():e.splice(t,1)}var Dr=new Object;function Lr(e,t,n,r,o,i){return new Mr(e,t,n,r,o,i)}var Mr=function(e){function t(t,n,r,o,i,a){var s=e.call(this)||this;return s.selector=t,s.componentType=n,s._inputs=o,s._outputs=i,s.ngContentSelectors=a,s.viewDefFactory=r,s}return o(t,e),Object.defineProperty(t.prototype,"inputs",{get:function(){var e=[],t=this._inputs;for(var n in t)e.push({propName:n,templateName:t[n]});return e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"outputs",{get:function(){var e=[];for(var t in this._outputs)e.push({propName:t,templateName:this._outputs[t]});return e},enumerable:!0,configurable:!0}),t.prototype.create=function(e,t,n,r){if(!r)throw new Error("ngModule should be provided");var o=dr(this.viewDefFactory),i=o.nodes[0].element.componentProvider.nodeIndex,a=qn.createRootView(e,t||[],n,o,r,Dr),s=Fn(a,i).instance;return n&&a.renderer.setAttribute(Vn(a,0).renderElement,"ng-version",hn.full),new Ur(a,new Fr(a),s)},t}(Kt),Ur=function(e){function t(t,n,r){var o=e.call(this)||this;return o._view=t,o._viewRef=n,o._component=r,o._elDef=o._view.def.nodes[0],o.hostView=n,o.changeDetectorRef=n,o.instance=r,o}return o(t,e),Object.defineProperty(t.prototype,"location",{get:function(){return new an(Vn(this._view,this._elDef.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return new Wr(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentType",{get:function(){return this._component.constructor},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){this._viewRef.destroy()},t.prototype.onDestroy=function(e){this._viewRef.onDestroy(e)},t}(Qt);function zr(e,t,n){return new Hr(e,t,n)}var Hr=function(){function e(e,t,n){this._view=e,this._elDef=t,this._data=n,this._embeddedViews=[]}return Object.defineProperty(e.prototype,"element",{get:function(){return new an(this._data.renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return new Wr(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parentInjector",{get:function(){for(var e=this._view,t=this._elDef.parent;!t&&e;)t=ar(e),e=e.parent;return e?new Wr(e,t):new Wr(this._view,null)},enumerable:!0,configurable:!0}),e.prototype.clear=function(){for(var e=this._embeddedViews.length-1;e>=0;e--){var t=Rr(this._data,e);qn.destroyView(t)}},e.prototype.get=function(e){var t=this._embeddedViews[e];if(t){var n=new Fr(t);return n.attachToViewContainerRef(this),n}return null},Object.defineProperty(e.prototype,"length",{get:function(){return this._embeddedViews.length},enumerable:!0,configurable:!0}),e.prototype.createEmbeddedView=function(e,t,n){var r=e.createEmbeddedView(t||{});return this.insert(r,n),r},e.prototype.createComponent=function(e,t,n,r,o){var i=n||this.parentInjector;o||e instanceof tn||(o=i.get(nn));var a=e.create(i,r,void 0,o);return this.insert(a.hostView,t),a},e.prototype.insert=function(e,t){if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var n,r,o,i,a=e;return i=(n=this._data).viewContainer._embeddedViews,null==(r=t)&&(r=i.length),(o=a._view).viewContainerParent=this._view,Nr(i,r,o),function(e,t){var n=ir(t);if(n&&n!==e&&!(16&t.state)){t.state|=16;var r=n.template._projectedViews;r||(r=n.template._projectedViews=[]),r.push(t),function(e,n){if(!(4&n.flags)){t.parent.def.nodeFlags|=4,n.flags|=4;for(var r=n.parent;r;)r.childFlags|=4,r=r.parent}}(0,t.parentNodeDef)}}(n,o),qn.dirtyParentQueries(o),Ar(n,r>0?i[r-1]:null,o),a.attachToViewContainerRef(this),e},e.prototype.move=function(e,t){if(e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");var n,r,o,i,a,s=this._embeddedViews.indexOf(e._view);return o=t,a=(i=(n=this._data).viewContainer._embeddedViews)[r=s],jr(i,r),null==o&&(o=i.length),Nr(i,o,a),qn.dirtyParentQueries(a),Ir(a),Ar(n,o>0?i[o-1]:null,a),e},e.prototype.indexOf=function(e){return this._embeddedViews.indexOf(e._view)},e.prototype.remove=function(e){var t=Rr(this._data,e);t&&qn.destroyView(t)},e.prototype.detach=function(e){var t=Rr(this._data,e);return t?new Fr(t):null},e}();function Vr(e){return new Fr(e)}var Fr=function(){function e(e){this._view=e,this._viewContainerRef=null,this._appRef=null}return Object.defineProperty(e.prototype,"rootNodes",{get:function(){return vr(this._view,0,void 0,void 0,e=[]),e;var e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return this._view.context},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"destroyed",{get:function(){return 0!=(128&this._view.state)},enumerable:!0,configurable:!0}),e.prototype.markForCheck=function(){nr(this._view)},e.prototype.detach=function(){this._view.state&=-5},e.prototype.detectChanges=function(){var e=this._view.root.rendererFactory;e.begin&&e.begin();try{qn.checkAndUpdateView(this._view)}finally{e.end&&e.end()}},e.prototype.checkNoChanges=function(){qn.checkNoChangesView(this._view)},e.prototype.reattach=function(){this._view.state|=4},e.prototype.onDestroy=function(e){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(e)},e.prototype.destroy=function(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),qn.destroyView(this._view)},e.prototype.detachFromAppRef=function(){this._appRef=null,Ir(this._view),qn.dirtyParentQueries(this._view)},e.prototype.attachToAppRef=function(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e},e.prototype.attachToViewContainerRef=function(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e},e}();function Zr(e,t){return new Br(e,t)}var Br=function(e){function t(t,n){var r=e.call(this)||this;return r._parentView=t,r._def=n,r}return o(t,e),t.prototype.createEmbeddedView=function(e){return new Fr(qn.createEmbeddedView(this._parentView,this._def,this._def.element.template,e))},Object.defineProperty(t.prototype,"elementRef",{get:function(){return new an(Vn(this._parentView,this._def.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),t}(An);function qr(e,t){return new Wr(e,t)}var Wr=function(){function e(e,t){this.view=e,this.elDef=t}return e.prototype.get=function(e,t){return void 0===t&&(t=ze.THROW_IF_NOT_FOUND),qn.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:e,tokenKey:Qn(e)},t)},e}();function Gr(e){return new Qr(e.renderer)}var Qr=function(){function e(e){this.delegate=e}return e.prototype.selectRootElement=function(e){return this.delegate.selectRootElement(e)},e.prototype.createElement=function(e,t){var n=c(wr(t),2),r=this.delegate.createElement(n[1],n[0]);return e&&this.delegate.appendChild(e,r),r},e.prototype.createViewRoot=function(e){return e},e.prototype.createTemplateAnchor=function(e){var t=this.delegate.createComment("");return e&&this.delegate.appendChild(e,t),t},e.prototype.createText=function(e,t){var n=this.delegate.createText(t);return e&&this.delegate.appendChild(e,n),n},e.prototype.projectNodes=function(e,t){for(var n=0;n<t.length;n++)this.delegate.appendChild(e,t[n])},e.prototype.attachViewAfter=function(e,t){for(var n=this.delegate.parentNode(e),r=this.delegate.nextSibling(e),o=0;o<t.length;o++)this.delegate.insertBefore(n,t[o],r)},e.prototype.detachView=function(e){for(var t=0;t<e.length;t++){var n=e[t],r=this.delegate.parentNode(n);this.delegate.removeChild(r,n)}},e.prototype.destroyView=function(e,t){for(var n=0;n<t.length;n++)this.delegate.destroyNode(t[n])},e.prototype.listen=function(e,t,n){return this.delegate.listen(e,t,n)},e.prototype.listenGlobal=function(e,t,n){return this.delegate.listen(e,t,n)},e.prototype.setElementProperty=function(e,t,n){this.delegate.setProperty(e,t,n)},e.prototype.setElementAttribute=function(e,t,n){var r=c(wr(t),2),o=r[0],i=r[1];null!=n?this.delegate.setAttribute(e,i,n,o):this.delegate.removeAttribute(e,i,o)},e.prototype.setBindingDebugInfo=function(e,t,n){},e.prototype.setElementClass=function(e,t,n){n?this.delegate.addClass(e,t):this.delegate.removeClass(e,t)},e.prototype.setElementStyle=function(e,t,n){null!=n?this.delegate.setStyle(e,t,n):this.delegate.removeStyle(e,t)},e.prototype.invokeElementMethod=function(e,t,n){e[t].apply(e,n)},e.prototype.setText=function(e,t){this.delegate.setValue(e,t)},e.prototype.animate=function(){throw new Error("Renderer.animate is no longer supported!")},e}();function Kr(e,t,n,r){return new $r(e,t,n,r)}var $r=function(){function e(e,t,n,r){this._moduleType=e,this._parent=t,this._bootstrapComponents=n,this._def=r,this._destroyListeners=[],this._destroyed=!1,this.injector=this,function(e){for(var t=e._def,n=e._providers=new Array(t.providers.length),r=0;r<t.providers.length;r++){var o=t.providers[r];4096&o.flags||void 0===n[r]&&(n[r]=Or(e,o))}}(this)}return e.prototype.get=function(e,t,n){void 0===t&&(t=ze.THROW_IF_NOT_FOUND),void 0===n&&(n=be.Default);var r=0;return n&be.SkipSelf?r|=1:n&be.Self&&(r|=4),Pr(this,{token:e,tokenKey:Qn(e),flags:r},t)},Object.defineProperty(e.prototype,"instance",{get:function(){return this.get(this._moduleType)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentFactoryResolver",{get:function(){return this.get(Yt)},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){if(this._destroyed)throw new Error("The ng module "+Ce(this.instance.constructor)+" has already been destroyed.");this._destroyed=!0,function(e,t){for(var n=e._def,r=new Set,o=0;o<n.providers.length;o++)if(131072&n.providers[o].flags){var i=e._providers[o];if(i&&i!==Sr){var a=i.ngOnDestroy;"function"!=typeof a||r.has(i)||(a.apply(i),r.add(i))}}}(this),this._destroyListeners.forEach(function(e){return e()})},e.prototype.onDestroy=function(e){this._destroyListeners.push(e)},e}(),Jr=Qn(un),Xr=Qn(fn),Yr=Qn(an),eo=Qn(Nn),to=Qn(An),no=Qn(kn),ro=Qn(ze),oo=Qn(Me);function io(e,t,n,r,o,i,a,s){var u=[];if(a)for(var l in a){var f=c(a[l],2);u[f[0]]={flags:8,name:l,nonMinifiedName:f[1],ns:null,securityContext:null,suffix:null}}var p=[];if(s)for(var h in s)p.push({type:1,propName:h,target:null,eventName:s[h]});return ao(e,t|=16384,n,r,o,o,i,u,p)}function ao(e,t,n,r,o,i,a,s,u){var c=lr(n),l=c.matchedQueries,f=c.references,p=c.matchedQueryIds;u||(u=[]),s||(s=[]),i=xe(i);var h=fr(a,Ce(o));return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:t,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:l,matchedQueryIds:p,references:f,ngContentIndex:-1,childCount:r,bindings:s,bindingFlags:Er(s),outputs:u,element:null,provider:{token:o,value:i,deps:h},text:null,query:null,ngContent:null}}function so(e,t){return fo(e,t)}function uo(e,t){for(var n=e;n.parent&&!ur(n);)n=n.parent;return po(n.parent,ar(n),!0,t.provider.value,t.provider.deps)}function co(e,t){var n=po(e,t.parent,(32768&t.flags)>0,t.provider.value,t.provider.deps);if(t.outputs.length)for(var r=0;r<t.outputs.length;r++){var o=t.outputs[r],i=n[o.propName];if(!Ut(i))throw new Error("@Output "+o.propName+" not initialized in '"+n.constructor.name+"'.");var a=i.subscribe(lo(e,t.parent.nodeIndex,o.eventName));e.disposables[t.outputIndex+r]=a.unsubscribe.bind(a)}return n}function lo(e,t,n){return function(r){return or(e,t,n,r)}}function fo(e,t){var n=(8192&t.flags)>0,r=t.provider;switch(201347067&t.flags){case 512:return po(e,t.parent,n,r.value,r.deps);case 1024:return function(e,t,n,r,o){var i=o.length;switch(i){case 0:return r();case 1:return r(vo(e,t,n,o[0]));case 2:return r(vo(e,t,n,o[0]),vo(e,t,n,o[1]));case 3:return r(vo(e,t,n,o[0]),vo(e,t,n,o[1]),vo(e,t,n,o[2]));default:for(var a=Array(i),s=0;s<i;s++)a[s]=vo(e,t,n,o[s]);return r.apply(void 0,l(a))}}(e,t.parent,n,r.value,r.deps);case 2048:return vo(e,t.parent,n,r.deps[0]);case 256:return r.value}}function po(e,t,n,r,o){var i=o.length;switch(i){case 0:return new r;case 1:return new r(vo(e,t,n,o[0]));case 2:return new r(vo(e,t,n,o[0]),vo(e,t,n,o[1]));case 3:return new r(vo(e,t,n,o[0]),vo(e,t,n,o[1]),vo(e,t,n,o[2]));default:for(var a=new Array(i),s=0;s<i;s++)a[s]=vo(e,t,n,o[s]);return new(r.bind.apply(r,l([void 0],a)))}}var ho={};function vo(e,t,n,r,o){if(void 0===o&&(o=ze.THROW_IF_NOT_FOUND),8&r.flags)return r.token;var i=e;2&r.flags&&(o=null);var a=r.tokenKey;a===no&&(n=!(!t||!t.element.componentView)),t&&1&r.flags&&(n=!1,t=t.parent);for(var s=e;s;){if(t)switch(a){case Jr:return Gr(yo(s,t,n));case Xr:return yo(s,t,n).renderer;case Yr:return new an(Vn(s,t.nodeIndex).renderElement);case eo:return Vn(s,t.nodeIndex).viewContainer;case to:if(t.element.template)return Vn(s,t.nodeIndex).template;break;case no:return Vr(yo(s,t,n));case ro:case oo:return qr(s,t);default:var u=(n?t.element.allProviders:t.element.publicProviders)[a];if(u){var c=Fn(s,u.nodeIndex);return c||(c={instance:fo(s,u)},s.nodes[u.nodeIndex]=c),c.instance}}n=ur(s),t=ar(s),s=s.parent,4&r.flags&&(s=null)}var l=i.root.injector.get(r.token,ho);return l!==ho||o===ho?l:i.root.ngModule.injector.get(r.token,o)}function yo(e,t,n){var r;if(n)r=Vn(e,t.nodeIndex).componentView;else for(r=e;r.parent&&!ur(r);)r=r.parent;return r}function go(e,t,n,r,o,i){if(32768&n.flags){var a=Vn(e,n.parent.nodeIndex).componentView;2&a.def.flags&&(a.state|=8)}if(t.instance[n.bindings[r].name]=o,524288&n.flags){i=i||{};var s=Zt.unwrap(e.oldValues[n.bindingIndex+r]);i[n.bindings[r].nonMinifiedName]=new Wt(s,o,0!=(2&e.state))}return e.oldValues[n.bindingIndex+r]=o,i}function mo(e,t){if(e.def.nodeFlags&t)for(var n=e.def.nodes,r=0,o=0;o<n.length;o++){var i=n[o],a=i.parent;for(!a&&i.flags&t&&_o(e,o,i.flags&t,r++),0==(i.childFlags&t)&&(o+=i.childCount);a&&1&a.flags&&o===a.nodeIndex+a.childCount;)a.directChildFlags&t&&(r=bo(e,a,t,r)),a=a.parent}}function bo(e,t,n,r){for(var o=t.nodeIndex+1;o<=t.nodeIndex+t.childCount;o++){var i=e.def.nodes[o];i.flags&n&&_o(e,o,i.flags&n,r++),o+=i.childCount}return r}function _o(e,t,n,r){var o=Fn(e,t);if(o){var i=o.instance;i&&(qn.setCurrentNode(e,t),1048576&n&&zn(e,512,r)&&i.ngAfterContentInit(),2097152&n&&i.ngAfterContentChecked(),4194304&n&&zn(e,768,r)&&i.ngAfterViewInit(),8388608&n&&i.ngAfterViewChecked(),131072&n&&i.ngOnDestroy())}}var wo=new je("SCHEDULER_TOKEN",{providedIn:"root",factory:function(){return nt}}),Eo=function(e){function t(t){void 0===t&&(t=!1);var n=e.call(this)||this;return n.__isAsync=t,n}return o(t,e),t.prototype.emit=function(t){e.prototype.next.call(this,t)},t.prototype.subscribe=function(t,n,r){var o,i=function(e){return null},a=function(){return null};t&&"object"==typeof t?(o=this.__isAsync?function(e){setTimeout(function(){return t.next(e)})}:function(e){t.next(e)},t.error&&(i=this.__isAsync?function(e){setTimeout(function(){return t.error(e)})}:function(e){t.error(e)}),t.complete&&(a=this.__isAsync?function(){setTimeout(function(){return t.complete()})}:function(){t.complete()})):(o=this.__isAsync?function(e){setTimeout(function(){return t(e)})}:function(e){t(e)},n&&(i=this.__isAsync?function(e){setTimeout(function(){return n(e)})}:function(e){n(e)}),r&&(a=this.__isAsync?function(){setTimeout(function(){return r()})}:function(){r()}));var s=e.prototype.subscribe.call(this,o,i,a);return t instanceof y&&t.add(s),s},t}(D),So=function(){function e(){this.dirty=!0,this._results=[],this.changes=new Eo,this.length=0}return e.prototype.map=function(e){return this._results.map(e)},e.prototype.filter=function(e){return this._results.filter(e)},e.prototype.find=function(e){return this._results.find(e)},e.prototype.reduce=function(e,t){return this._results.reduce(e,t)},e.prototype.forEach=function(e){this._results.forEach(e)},e.prototype.some=function(e){return this._results.some(e)},e.prototype.toArray=function(){return this._results.slice()},e.prototype[Ht()]=function(){return this._results[Ht()]()},e.prototype.toString=function(){return this._results.toString()},e.prototype.reset=function(e){this._results=function e(t,n){void 0===n&&(n=t);for(var r=0;r<t.length;r++){var o=t[r];Array.isArray(o)?(n===t&&(n=t.slice(0,r)),e(o,n)):n!==t&&n.push(o)}return n}(e),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]},e.prototype.notifyOnChanges=function(){this.changes.emit(this)},e.prototype.setDirty=function(){this.dirty=!0},e.prototype.destroy=function(){this.changes.complete(),this.changes.unsubscribe()},e}(),Co=function(){return function(){}}(),To=new je("Application Initializer"),ko=function(){function e(e){var t=this;this.appInits=e,this.initialized=!1,this.done=!1,this.donePromise=new Promise(function(e,n){t.resolve=e,t.reject=n})}return e.prototype.runInitializers=function(){var e=this;if(!this.initialized){var t=[],n=function(){e.done=!0,e.resolve()};if(this.appInits)for(var r=0;r<this.appInits.length;r++){var o=this.appInits[r]();Mt(o)&&t.push(o)}Promise.all(t).then(function(){n()}).catch(function(t){e.reject(t)}),0===t.length&&n(),this.initialized=!0}},e}(),xo=new je("AppId");function Po(){return""+Oo()+Oo()+Oo()}function Oo(){return String.fromCharCode(97+Math.floor(25*Math.random()))}var Ro=new je("Platform Initializer"),Ao=new je("Platform ID"),Io=new je("appBootstrapListener"),No=function(){function e(){}return e.prototype.log=function(e){console.log(e)},e.prototype.warn=function(e){console.warn(e)},e}();function jo(){throw new Error("Runtime compiler is not loaded")}var Do,Lo,Mo=jo,Uo=jo,zo=jo,Ho=jo,Vo=function(){function e(){this.compileModuleSync=Mo,this.compileModuleAsync=Uo,this.compileModuleAndAllComponentsSync=zo,this.compileModuleAndAllComponentsAsync=Ho}return e.prototype.clearCache=function(){},e.prototype.clearCacheFor=function(e){},e.prototype.getModuleId=function(e){},e}(),Fo=function(){return function(){}}();function Zo(){var e=Re.wtf;return!(!e||!(Do=e.trace)||(Lo=Do.events,0))}var Bo=Zo();function qo(e,t){return null}var Wo=Bo?function(e,t){return void 0===t&&(t=null),Lo.createScope(e,t)}:function(e,t){return qo},Go=Bo?function(e,t){return Do.leaveScope(e,t),t}:function(e,t){return t},Qo=function(){return Promise.resolve(0)}();function Ko(e){"undefined"==typeof Zone?Qo.then(function(){e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}var $o=function(){function e(e){var t,n=e.enableLongStackTrace,r=void 0!==n&&n;if(this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Eo(!1),this.onMicrotaskEmpty=new Eo(!1),this.onStable=new Eo(!1),this.onError=new Eo(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched(),this._nesting=0,this._outer=this._inner=Zone.current,Zone.wtfZoneSpec&&(this._inner=this._inner.fork(Zone.wtfZoneSpec)),Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),r&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),(t=this)._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:function(e,n,r,o,i,a){try{return ei(t),e.invokeTask(r,o,i,a)}finally{ti(t)}},onInvoke:function(e,n,r,o,i,a,s){try{return ei(t),e.invoke(r,o,i,a,s)}finally{ti(t)}},onHasTask:function(e,n,r,o){e.hasTask(r,o),n===r&&("microTask"==o.change?(t.hasPendingMicrotasks=o.microTask,Yo(t)):"macroTask"==o.change&&(t.hasPendingMacrotasks=o.macroTask))},onHandleError:function(e,n,r,o){return e.handleError(r,o),t.runOutsideAngular(function(){return t.onError.emit(o)}),!1}})}return e.isInAngularZone=function(){return!0===Zone.current.get("isAngularZone")},e.assertInAngularZone=function(){if(!e.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")},e.assertNotInAngularZone=function(){if(e.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")},e.prototype.run=function(e,t,n){return this._inner.run(e,t,n)},e.prototype.runTask=function(e,t,n,r){var o=this._inner,i=o.scheduleEventTask("NgZoneEvent: "+r,e,Xo,Jo,Jo);try{return o.runTask(i,t,n)}finally{o.cancelTask(i)}},e.prototype.runGuarded=function(e,t,n){return this._inner.runGuarded(e,t,n)},e.prototype.runOutsideAngular=function(e){return this._outer.run(e)},e}();function Jo(){}var Xo={};function Yo(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 ei(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function ti(e){e._nesting--,Yo(e)}var ni,ri=function(){function e(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Eo,this.onMicrotaskEmpty=new Eo,this.onStable=new Eo,this.onError=new Eo}return e.prototype.run=function(e){return e()},e.prototype.runGuarded=function(e){return e()},e.prototype.runOutsideAngular=function(e){return e()},e.prototype.runTask=function(e){return e()},e}(),oi=function(){function e(e){var t=this;this._ngZone=e,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),e.run(function(){t.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}return e.prototype._watchAngularEvents=function(){var e=this;this._ngZone.onUnstable.subscribe({next:function(){e._didWork=!0,e._isZoneStable=!1}}),this._ngZone.runOutsideAngular(function(){e._ngZone.onStable.subscribe({next:function(){$o.assertNotInAngularZone(),Ko(function(){e._isZoneStable=!0,e._runCallbacksIfReady()})}})})},e.prototype.increasePendingRequestCount=function(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount},e.prototype.decreasePendingRequestCount=function(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount},e.prototype.isStable=function(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks},e.prototype._runCallbacksIfReady=function(){var e=this;if(this.isStable())Ko(function(){for(;0!==e._callbacks.length;){var t=e._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(e._didWork)}e._didWork=!1});else{var t=this.getPendingTasks();this._callbacks=this._callbacks.filter(function(e){return!e.updateCb||!e.updateCb(t)||(clearTimeout(e.timeoutId),!1)}),this._didWork=!0}},e.prototype.getPendingTasks=function(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(function(e){return{source:e.source,creationLocation:e.creationLocation,data:e.data}}):[]},e.prototype.addCallback=function(e,t,n){var r=this,o=-1;t&&t>0&&(o=setTimeout(function(){r._callbacks=r._callbacks.filter(function(e){return e.timeoutId!==o}),e(r._didWork,r.getPendingTasks())},t)),this._callbacks.push({doneCb:e,timeoutId:o,updateCb:n})},e.prototype.whenStable=function(e,t,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(e,t,n),this._runCallbacksIfReady()},e.prototype.getPendingRequestCount=function(){return this._pendingCount},e.prototype.findProviders=function(e,t,n){return[]},e}(),ii=function(){function e(){this._applications=new Map,ai.addToWindow(this)}return e.prototype.registerApplication=function(e,t){this._applications.set(e,t)},e.prototype.unregisterApplication=function(e){this._applications.delete(e)},e.prototype.unregisterAllApplications=function(){this._applications.clear()},e.prototype.getTestability=function(e){return this._applications.get(e)||null},e.prototype.getAllTestabilities=function(){return Array.from(this._applications.values())},e.prototype.getAllRootElements=function(){return Array.from(this._applications.keys())},e.prototype.findTestabilityInTree=function(e,t){return void 0===t&&(t=!0),ai.findTestabilityInTree(this,e,t)},a([s("design:paramtypes",[])],e)}(),ai=new(function(){function e(){}return e.prototype.addToWindow=function(e){},e.prototype.findTestabilityInTree=function(e,t,n){return null},e}()),si=new je("AllowMultipleToken"),ui=function(){return function(e,t){this.name=e,this.token=t}}();function ci(e,t,n){void 0===n&&(n=[]);var r="Platform: "+t,o=new je(r);return function(t){void 0===t&&(t=[]);var i=li();if(!i||i.injector.get(si,!1))if(e)e(n.concat(t).concat({provide:o,useValue:!0}));else{var a=n.concat(t).concat({provide:o,useValue:!0});!function(e){if(ni&&!ni.destroyed&&!ni.injector.get(si,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");ni=e.get(fi);var t=e.get(Ro,null);t&&t.forEach(function(e){return e()})}(ze.create({providers:a,name:r}))}return function(e){var t=li();if(!t)throw new Error("No platform exists!");if(!t.injector.get(e,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return t}(o)}}function li(){return ni&&!ni.destroyed?ni:null}var fi=function(){function e(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return e.prototype.bootstrapModuleFactory=function(e,t){var n,r=this,o="noop"===(n=t?t.ngZone:void 0)?new ri:("zone.js"===n?void 0:n)||new $o({enableLongStackTrace:ct()}),i=[{provide:$o,useValue:o}];return o.run(function(){var t=ze.create({providers:i,parent:r.injector,name:e.moduleType.name}),n=e.create(t),a=n.injector.get(at,null);if(!a)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.onDestroy(function(){return di(r._modules,n)}),o.runOutsideAngular(function(){return o.onError.subscribe({next:function(e){a.handleError(e)}})}),function(e,t,o){try{var i=((a=n.injector.get(ko)).runInitializers(),a.donePromise.then(function(){return r._moduleDoBootstrap(n),n}));return Mt(i)?i.catch(function(n){throw t.runOutsideAngular(function(){return e.handleError(n)}),n}):i}catch(s){throw t.runOutsideAngular(function(){return e.handleError(s)}),s}var a}(a,o)})},e.prototype.bootstrapModule=function(e,t){var n=this;void 0===t&&(t=[]);var r=pi({},t);return function(e,t,n){return e.get(Fo).createCompiler([t]).compileModuleAsync(n)}(this.injector,r,e).then(function(e){return n.bootstrapModuleFactory(e,r)})},e.prototype._moduleDoBootstrap=function(e){var t=e.injector.get(hi);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(function(e){return t.bootstrap(e)});else{if(!e.instance.ngDoBootstrap)throw new Error("The module "+Ce(e.instance.constructor)+' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.');e.instance.ngDoBootstrap(t)}this._modules.push(e)},e.prototype.onDestroy=function(e){this._destroyListeners.push(e)},Object.defineProperty(e.prototype,"injector",{get:function(){return this._injector},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(function(e){return e.destroy()}),this._destroyListeners.forEach(function(e){return e()}),this._destroyed=!0},Object.defineProperty(e.prototype,"destroyed",{get:function(){return this._destroyed},enumerable:!0,configurable:!0}),e}();function pi(e,t){return Array.isArray(t)?t.reduce(pi,e):i({},e,t)}var hi=function(){function e(e,t,n,r,o,i){var a=this;this._zone=e,this._console=t,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=o,this._initStatus=i,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=ct(),this._zone.onMicrotaskEmpty.subscribe({next:function(){a._zone.run(function(){a.tick()})}});var s=new O(function(e){a._stable=a._zone.isStable&&!a._zone.hasPendingMacrotasks&&!a._zone.hasPendingMicrotasks,a._zone.runOutsideAngular(function(){e.next(a._stable),e.complete()})}),u=new O(function(e){var t;a._zone.runOutsideAngular(function(){t=a._zone.onStable.subscribe(function(){$o.assertNotInAngularZone(),Ko(function(){a._stable||a._zone.hasPendingMacrotasks||a._zone.hasPendingMicrotasks||(a._stable=!0,e.next(!0))})})});var n=a._zone.onUnstable.subscribe(function(){$o.assertInAngularZone(),a._stable&&(a._stable=!1,a._zone.runOutsideAngular(function(){e.next(!1)}))});return function(){t.unsubscribe(),n.unsubscribe()}});this.isStable=oe(s,u.pipe(pe()))}var t;return t=e,e.prototype.bootstrap=function(e,t){var n,r=this;if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");n=e instanceof Kt?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);var o=n instanceof tn?null:this._injector.get(nn),i=n.create(ze.NULL,[],t||n.selector,o);i.onDestroy(function(){r._unloadComponent(i)});var a=i.injector.get(oi,null);return a&&i.injector.get(ii).registerApplication(i.location.nativeElement,a),this._loadComponent(i),ct()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),i},e.prototype.tick=function(){var e,n,r,o,i=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");var a=t._tickScope();try{this._runningTick=!0;try{for(var s=u(this._views),c=s.next();!c.done;c=s.next())c.value.detectChanges()}catch(p){e={error:p}}finally{try{c&&!c.done&&(n=s.return)&&n.call(s)}finally{if(e)throw e.error}}if(this._enforceNoNewChanges)try{for(var l=u(this._views),f=l.next();!f.done;f=l.next())f.value.checkNoChanges()}catch(h){r={error:h}}finally{try{f&&!f.done&&(o=l.return)&&o.call(l)}finally{if(r)throw r.error}}}catch(d){this._zone.runOutsideAngular(function(){return i._exceptionHandler.handleError(d)})}finally{this._runningTick=!1,Go(a)}},e.prototype.attachView=function(e){var t=e;this._views.push(t),t.attachToAppRef(this)},e.prototype.detachView=function(e){var t=e;di(this._views,t),t.detachFromAppRef()},e.prototype._loadComponent=function(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(Io,[]).concat(this._bootstrapListeners).forEach(function(t){return t(e)})},e.prototype._unloadComponent=function(e){this.detachView(e.hostView),di(this.components,e)},e.prototype.ngOnDestroy=function(){this._views.slice().forEach(function(e){return e.destroy()})},Object.defineProperty(e.prototype,"viewCount",{get:function(){return this._views.length},enumerable:!0,configurable:!0}),e._tickScope=Wo("ApplicationRef#tick()"),e}();function di(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var vi=function(){return function(){}}(),yi={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},gi=function(){function e(e,t){this._compiler=e,this._config=t||yi}return e.prototype.load=function(e){return this._compiler instanceof Vo?this.loadFactory(e):this.loadAndCompile(e)},e.prototype.loadAndCompile=function(e){var t=this,r=c(e.split("#"),2),o=r[0],i=r[1];return void 0===i&&(i="default"),n("crnd")(o).then(function(e){return e[i]}).then(function(e){return mi(e,o,i)}).then(function(e){return t._compiler.compileModuleAsync(e)})},e.prototype.loadFactory=function(e){var t=c(e.split("#"),2),r=t[0],o=t[1],i="NgFactory";return void 0===o&&(o="default",i=""),n("crnd")(this._config.factoryPathPrefix+r+this._config.factoryPathSuffix).then(function(e){return e[o+i]}).then(function(e){return mi(e,r,o)})},e}();function mi(e,t,n){if(!e)throw new Error("Cannot find '"+n+"' in '"+t+"'");return e}var bi=function(){return function(e,t){this.name=e,this.callback=t}}(),_i=function(){function e(e,t,n){this.listeners=[],this.parent=null,this._debugContext=n,this.nativeNode=e,t&&t instanceof wi&&t.addChild(this)}return Object.defineProperty(e.prototype,"injector",{get:function(){return this._debugContext.injector},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentInstance",{get:function(){return this._debugContext.component},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return this._debugContext.context},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"references",{get:function(){return this._debugContext.references},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"providerTokens",{get:function(){return this._debugContext.providerTokens},enumerable:!0,configurable:!0}),e}(),wi=function(e){function t(t,n,r){var o=e.call(this,t,n,r)||this;return o.properties={},o.attributes={},o.classes={},o.styles={},o.childNodes=[],o.nativeElement=t,o}return o(t,e),t.prototype.addChild=function(e){e&&(this.childNodes.push(e),e.parent=this)},t.prototype.removeChild=function(e){var t=this.childNodes.indexOf(e);-1!==t&&(e.parent=null,this.childNodes.splice(t,1))},t.prototype.insertChildrenAfter=function(e,t){var n,r=this,o=this.childNodes.indexOf(e);-1!==o&&((n=this.childNodes).splice.apply(n,l([o+1,0],t)),t.forEach(function(t){t.parent&&t.parent.removeChild(t),e.parent=r}))},t.prototype.insertBefore=function(e,t){var n=this.childNodes.indexOf(e);-1===n?this.addChild(t):(t.parent&&t.parent.removeChild(t),t.parent=this,this.childNodes.splice(n,0,t))},t.prototype.query=function(e){return this.queryAll(e)[0]||null},t.prototype.queryAll=function(e){var t=[];return function e(t,n,r){t.childNodes.forEach(function(t){t instanceof wi&&(n(t)&&r.push(t),e(t,n,r))})}(this,e,t),t},t.prototype.queryAllNodes=function(e){var t=[];return function e(t,n,r){t instanceof wi&&t.childNodes.forEach(function(t){n(t)&&r.push(t),t instanceof wi&&e(t,n,r)})}(this,e,t),t},Object.defineProperty(t.prototype,"children",{get:function(){return this.childNodes.filter(function(e){return e instanceof t})},enumerable:!0,configurable:!0}),t.prototype.triggerEventHandler=function(e,t){this.listeners.forEach(function(n){n.name==e&&n.callback(t)})},t}(_i),Ei=new Map,Si=function(e){return Ei.get(e)||null};function Ci(e){Ei.set(e.nativeNode,e)}var Ti=ci(null,"core",[{provide:Ao,useValue:"unknown"},{provide:fi,deps:[ze]},{provide:ii,deps:[]},{provide:No,deps:[]}]),ki=new je("LocaleId");function xi(){return On}function Pi(){return Rn}function Oi(e){return e||"en-US"}function Ri(e){var t=[];return e.onStable.subscribe(function(){for(;t.length;)t.pop()()}),function(e){t.push(e)}}var Ai=function(){return function(e){}}();function Ii(e,t,n,r,o,i,a,s,u,l,f,p){var h;void 0===a&&(a=[]),l||(l=Wn);var d=lr(n),v=d.matchedQueries,y=d.references,g=d.matchedQueryIds,m=null,b=null;i&&(m=(h=c(wr(i),2))[0],b=h[1]),s=s||[];for(var _=new Array(s.length),w=0;w<s.length;w++){var E=c(s[w],3),S=E[0],C=E[2],T=c(wr(E[1]),2),k=T[0],x=T[1],P=void 0,O=void 0;switch(15&S){case 4:O=C;break;case 1:case 8:P=C}_[w]={flags:S,ns:k,name:x,nonMinifiedName:x,securityContext:P,suffix:O}}u=u||[];var R=new Array(u.length);for(w=0;w<u.length;w++){var A=c(u[w],2);R[w]={type:0,target:A[0],eventName:A[1],propName:null}}var I=(a=a||[]).map(function(e){var t=c(e,2),n=t[1],r=c(wr(t[0]),2);return[r[0],r[1],n]});return p=function(e){if(e&&e.id===Kn){var t=null!=e.encapsulation&&e.encapsulation!==tt.None||e.styles.length||Object.keys(e.data).length;e.id=t?"c"+Xn++:$n}return e&&e.id===$n&&(e=null),e||null}(p),f&&(t|=33554432),{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:t|=1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:v,matchedQueryIds:g,references:y,ngContentIndex:r,childCount:o,bindings:_,bindingFlags:Er(_),outputs:R,element:{ns:m,name:b,attrs:I,template:null,componentProvider:null,componentView:f||null,componentRendererType:p,publicProviders:null,allProviders:null,handleEvent:l||Wn},provider:null,text:null,query:null,ngContent:null}}function Ni(e,t,n){var r,o=n.element,i=e.root.selectorOrNode,a=e.renderer;if(e.parent||!i){r=o.name?a.createElement(o.name,o.ns):a.createComment("");var s=pr(e,t,n);s&&a.appendChild(s,r)}else r=a.selectRootElement(i,!!o.componentRendererType&&o.componentRendererType.encapsulation===tt.ShadowDom);if(o.attrs)for(var u=0;u<o.attrs.length;u++){var l=c(o.attrs[u],3);a.setAttribute(r,l[1],l[2],l[0])}return r}function ji(e,t,n,r){for(var o=0;o<n.outputs.length;o++){var i=n.outputs[o],a=Di(e,n.nodeIndex,(f=i.eventName,(l=i.target)?l+":"+f:f)),s=i.target,u=e;"component"===i.target&&(s=null,u=t);var c=u.renderer.listen(s||r,i.eventName,a);e.disposables[n.outputIndex+o]=c}var l,f}function Di(e,t,n){return function(r){return or(e,t,n,r)}}function Li(e,t,n,r){if(!er(e,t,n,r))return!1;var o=t.bindings[n],i=Vn(e,t.nodeIndex),a=i.renderElement,s=o.name;switch(15&o.flags){case 1:!function(e,t,n,r,o,i){var a=t.securityContext,s=a?e.root.sanitizer.sanitize(a,i):i;s=null!=s?s.toString():null;var u=e.renderer;null!=i?u.setAttribute(n,o,s,r):u.removeAttribute(n,o,r)}(e,o,a,o.ns,s,r);break;case 2:!function(e,t,n,r){var o=e.renderer;r?o.addClass(t,n):o.removeClass(t,n)}(e,a,s,r);break;case 4:!function(e,t,n,r,o){var i=e.root.sanitizer.sanitize(At.STYLE,o);if(null!=i){i=i.toString();var a=t.suffix;null!=a&&(i+=a)}else i=null;var s=e.renderer;null!=i?s.setStyle(n,r,i):s.removeStyle(n,r)}(e,o,a,s,r);break;case 8:!function(e,t,n,r,o){var i=t.securityContext,a=i?e.root.sanitizer.sanitize(i,o):o;e.renderer.setProperty(n,r,a)}(33554432&t.flags&&32&o.flags?i.componentView:e,o,a,s,r)}return!0}function Mi(e){for(var t=e.def.nodeMatchedQueries;e.parent&&cr(e);){var n=e.parentNodeDef;e=e.parent;for(var r=n.nodeIndex+n.childCount,o=0;o<=r;o++)67108864&(i=e.def.nodes[o]).flags&&536870912&i.flags&&(i.query.filterId&t)===i.query.filterId&&Bn(e,o).setDirty(),!(1&i.flags&&o+i.childCount<n.nodeIndex)&&67108864&i.childFlags&&536870912&i.childFlags||(o+=i.childCount)}if(134217728&e.def.nodeFlags)for(o=0;o<e.def.nodes.length;o++){var i;134217728&(i=e.def.nodes[o]).flags&&536870912&i.flags&&Bn(e,o).setDirty(),o+=i.childCount}}function Ui(e,t){var n=Bn(e,t.nodeIndex);if(n.dirty){var r,o=void 0;if(67108864&t.flags){var i=t.parent.parent;o=zi(e,i.nodeIndex,i.nodeIndex+i.childCount,t.query,[]),r=Fn(e,t.parent.nodeIndex).instance}else 134217728&t.flags&&(o=zi(e,0,e.def.nodes.length-1,t.query,[]),r=e.component);n.reset(o);for(var a=t.query.bindings,s=!1,u=0;u<a.length;u++){var c=a[u],l=void 0;switch(c.bindingType){case 0:l=n.first;break;case 1:l=n,s=!0}r[c.propName]=l}s&&n.notifyOnChanges()}}function zi(e,t,n,r,o){for(var i=t;i<=n;i++){var a=e.def.nodes[i],s=a.matchedQueries[r.id];if(null!=s&&o.push(Hi(e,a,s)),1&a.flags&&a.element.template&&(a.element.template.nodeMatchedQueries&r.filterId)===r.filterId){var u=Vn(e,i);if((a.childMatchedQueries&r.filterId)===r.filterId&&(zi(e,i+1,i+a.childCount,r,o),i+=a.childCount),16777216&a.flags)for(var c=u.viewContainer._embeddedViews,l=0;l<c.length;l++){var f=c[l],p=ir(f);p&&p===u&&zi(f,0,f.def.nodes.length-1,r,o)}var h=u.template._projectedViews;if(h)for(l=0;l<h.length;l++){var d=h[l];zi(d,0,d.def.nodes.length-1,r,o)}}(a.childMatchedQueries&r.filterId)!==r.filterId&&(i+=a.childCount)}return o}function Hi(e,t,n){if(null!=n)switch(n){case 1:return Vn(e,t.nodeIndex).renderElement;case 0:return new an(Vn(e,t.nodeIndex).renderElement);case 2:return Vn(e,t.nodeIndex).template;case 3:return Vn(e,t.nodeIndex).viewContainer;case 4:return Fn(e,t.nodeIndex).instance}}function Vi(e,t,n){var r=pr(e,t,n);r&&gr(e,n.ngContent.index,1,r,null,void 0)}function Fi(e,t,n){for(var r=new Array(n.length-1),o=1;o<n.length;o++)r[o-1]={flags:8,name:null,ns:null,nonMinifiedName:null,securityContext:null,suffix:n[o]};return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:2,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:t,childCount:0,bindings:r,bindingFlags:8,outputs:[],element:null,provider:null,text:{prefix:n[0]},query:null,ngContent:null}}function Zi(e,t,n){var r,o=e.renderer;r=o.createText(n.text.prefix);var i=pr(e,t,n);return i&&o.appendChild(i,r),{renderText:r}}function Bi(e,t){return(null!=e?e.toString():"")+t.suffix}function qi(e,t,n,r){for(var o=0,i=0,a=0,s=0,u=0,c=null,l=null,f=!1,p=!1,h=null,d=0;d<t.length;d++){var v=t[d];if(v.nodeIndex=d,v.parent=c,v.bindingIndex=o,v.outputIndex=i,v.renderParent=l,a|=v.flags,u|=v.matchedQueryIds,v.element){var y=v.element;y.publicProviders=c?c.element.publicProviders:Object.create(null),y.allProviders=y.publicProviders,f=!1,p=!1,v.element.template&&(u|=v.element.template.nodeMatchedQueries)}if(Gi(c,v,t.length),o+=v.bindings.length,i+=v.outputs.length,!l&&3&v.flags&&(h=v),20224&v.flags){f||(f=!0,c.element.publicProviders=Object.create(c.element.publicProviders),c.element.allProviders=c.element.publicProviders);var g=0!=(32768&v.flags);0==(8192&v.flags)||g?c.element.publicProviders[Qn(v.provider.token)]=v:(p||(p=!0,c.element.allProviders=Object.create(c.element.publicProviders)),c.element.allProviders[Qn(v.provider.token)]=v),g&&(c.element.componentProvider=v)}if(c?(c.childFlags|=v.flags,c.directChildFlags|=v.flags,c.childMatchedQueries|=v.matchedQueryIds,v.element&&v.element.template&&(c.childMatchedQueries|=v.element.template.nodeMatchedQueries)):s|=v.flags,v.childCount>0)c=v,Wi(v)||(l=v);else for(;c&&d===c.nodeIndex+c.childCount;){var m=c.parent;m&&(m.childFlags|=c.childFlags,m.childMatchedQueries|=c.childMatchedQueries),l=(c=m)&&Wi(c)?c.renderParent:c}}return{factory:null,nodeFlags:a,rootNodeFlags:s,nodeMatchedQueries:u,flags:e,nodes:t,updateDirectives:n||Wn,updateRenderer:r||Wn,handleEvent:function(e,n,r,o){return t[n].element.handleEvent(e,r,o)},bindingCount:o,outputCount:i,lastRenderRootNode:h}}function Wi(e){return 0!=(1&e.flags)&&null===e.element.name}function Gi(e,t,n){var r=t.element&&t.element.template;if(r){if(!r.lastRenderRootNode)throw new Error("Illegal State: Embedded templates without nodes are not allowed!");if(r.lastRenderRootNode&&16777216&r.lastRenderRootNode.flags)throw new Error("Illegal State: Last root node of a template can't have embedded views, at index "+t.nodeIndex+"!")}if(20224&t.flags&&0==(1&(e?e.flags:0)))throw new Error("Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index "+t.nodeIndex+"!");if(t.query){if(67108864&t.flags&&(!e||0==(16384&e.flags)))throw new Error("Illegal State: Content Query nodes need to be children of directives, at index "+t.nodeIndex+"!");if(134217728&t.flags&&e)throw new Error("Illegal State: View Query nodes have to be top level nodes, at index "+t.nodeIndex+"!")}if(t.childCount){var o=e?e.nodeIndex+e.childCount:n-1;if(t.nodeIndex<=o&&t.nodeIndex+t.childCount>o)throw new Error("Illegal State: childCount of node leads outside of parent, at index "+t.nodeIndex+"!")}}function Qi(e,t,n,r){var o=Ji(e.root,e.renderer,e,t,n);return Xi(o,e.component,r),Yi(o),o}function Ki(e,t,n){var r=Ji(e,e.renderer,null,null,t);return Xi(r,n,n),Yi(r),r}function $i(e,t,n,r){var o,i=t.element.componentRendererType;return o=i?e.root.rendererFactory.createRenderer(r,i):e.root.renderer,Ji(e.root,o,e,t.element.componentProvider,n)}function Ji(e,t,n,r,o){var i=new Array(o.nodes.length),a=o.outputCount?new Array(o.outputCount):null;return{def:o,parent:n,viewContainerParent:null,parentNodeDef:r,context:null,component:null,nodes:i,state:13,root:e,renderer:t,oldValues:new Array(o.bindingCount),disposables:a,initIndex:-1}}function Xi(e,t,n){e.component=t,e.context=n}function Yi(e){var t;ur(e)&&(t=Vn(e.parent,e.parentNodeDef.parent.nodeIndex).renderElement);for(var n=e.def,r=e.nodes,o=0;o<n.nodes.length;o++){var i=n.nodes[o];qn.setCurrentNode(e,o);var a=void 0;switch(201347067&i.flags){case 1:var s=Ni(e,t,i),u=void 0;if(33554432&i.flags){var c=dr(i.element.componentView);u=qn.createComponentView(e,i,c,s)}ji(e,u,i,s),a={renderElement:s,componentView:u,viewContainer:null,template:i.element.template?Zr(e,i):void 0},16777216&i.flags&&(a.viewContainer=zr(e,i,a));break;case 2:a=Zi(e,t,i);break;case 512:case 1024:case 2048:case 256:(a=r[o])||4096&i.flags||(a={instance:so(e,i)});break;case 16:a={instance:uo(e,i)};break;case 16384:(a=r[o])||(a={instance:co(e,i)}),32768&i.flags&&Xi(Vn(e,i.parent.nodeIndex).componentView,a.instance,a.instance);break;case 32:case 64:case 128:a={value:void 0};break;case 67108864:case 134217728:a=new So;break;case 8:Vi(e,t,i),a=void 0}r[o]=a}ua(e,sa.CreateViewNodes),pa(e,201326592,268435456,0)}function ea(e){ra(e),qn.updateDirectives(e,1),ca(e,sa.CheckNoChanges),qn.updateRenderer(e,1),ua(e,sa.CheckNoChanges),e.state&=-97}function ta(e){1&e.state?(e.state&=-2,e.state|=2):e.state&=-3,Un(e,0,256),ra(e),qn.updateDirectives(e,0),ca(e,sa.CheckAndUpdate),pa(e,67108864,536870912,0);var t=Un(e,256,512);mo(e,2097152|(t?1048576:0)),qn.updateRenderer(e,0),ua(e,sa.CheckAndUpdate),pa(e,134217728,536870912,0),mo(e,8388608|((t=Un(e,512,768))?4194304:0)),2&e.def.flags&&(e.state&=-9),e.state&=-97,Un(e,768,1024)}function na(e,t,n,r,o,i,a,s,u,c,f,p,h){return 0===n?function(e,t,n,r,o,i,a,s,u,c,l,f){switch(201347067&t.flags){case 1:return function(e,t,n,r,o,i,a,s,u,c,l,f){var p=t.bindings.length,h=!1;return p>0&&Li(e,t,0,n)&&(h=!0),p>1&&Li(e,t,1,r)&&(h=!0),p>2&&Li(e,t,2,o)&&(h=!0),p>3&&Li(e,t,3,i)&&(h=!0),p>4&&Li(e,t,4,a)&&(h=!0),p>5&&Li(e,t,5,s)&&(h=!0),p>6&&Li(e,t,6,u)&&(h=!0),p>7&&Li(e,t,7,c)&&(h=!0),p>8&&Li(e,t,8,l)&&(h=!0),p>9&&Li(e,t,9,f)&&(h=!0),h}(e,t,n,r,o,i,a,s,u,c,l,f);case 2:return function(e,t,n,r,o,i,a,s,u,c,l,f){var p=!1,h=t.bindings,d=h.length;if(d>0&&er(e,t,0,n)&&(p=!0),d>1&&er(e,t,1,r)&&(p=!0),d>2&&er(e,t,2,o)&&(p=!0),d>3&&er(e,t,3,i)&&(p=!0),d>4&&er(e,t,4,a)&&(p=!0),d>5&&er(e,t,5,s)&&(p=!0),d>6&&er(e,t,6,u)&&(p=!0),d>7&&er(e,t,7,c)&&(p=!0),d>8&&er(e,t,8,l)&&(p=!0),d>9&&er(e,t,9,f)&&(p=!0),p){var v=t.text.prefix;d>0&&(v+=Bi(n,h[0])),d>1&&(v+=Bi(r,h[1])),d>2&&(v+=Bi(o,h[2])),d>3&&(v+=Bi(i,h[3])),d>4&&(v+=Bi(a,h[4])),d>5&&(v+=Bi(s,h[5])),d>6&&(v+=Bi(u,h[6])),d>7&&(v+=Bi(c,h[7])),d>8&&(v+=Bi(l,h[8])),d>9&&(v+=Bi(f,h[9]));var y=Hn(e,t.nodeIndex).renderText;e.renderer.setValue(y,v)}return p}(e,t,n,r,o,i,a,s,u,c,l,f);case 16384:return function(e,t,n,r,o,i,a,s,u,c,l,f){var p=Fn(e,t.nodeIndex),h=p.instance,d=!1,v=void 0,y=t.bindings.length;return y>0&&Yn(e,t,0,n)&&(d=!0,v=go(e,p,t,0,n,v)),y>1&&Yn(e,t,1,r)&&(d=!0,v=go(e,p,t,1,r,v)),y>2&&Yn(e,t,2,o)&&(d=!0,v=go(e,p,t,2,o,v)),y>3&&Yn(e,t,3,i)&&(d=!0,v=go(e,p,t,3,i,v)),y>4&&Yn(e,t,4,a)&&(d=!0,v=go(e,p,t,4,a,v)),y>5&&Yn(e,t,5,s)&&(d=!0,v=go(e,p,t,5,s,v)),y>6&&Yn(e,t,6,u)&&(d=!0,v=go(e,p,t,6,u,v)),y>7&&Yn(e,t,7,c)&&(d=!0,v=go(e,p,t,7,c,v)),y>8&&Yn(e,t,8,l)&&(d=!0,v=go(e,p,t,8,l,v)),y>9&&Yn(e,t,9,f)&&(d=!0,v=go(e,p,t,9,f,v)),v&&h.ngOnChanges(v),65536&t.flags&&zn(e,256,t.nodeIndex)&&h.ngOnInit(),262144&t.flags&&h.ngDoCheck(),d}(e,t,n,r,o,i,a,s,u,c,l,f);case 32:case 64:case 128:return function(e,t,n,r,o,i,a,s,u,c,l,f){var p=t.bindings,h=!1,d=p.length;if(d>0&&er(e,t,0,n)&&(h=!0),d>1&&er(e,t,1,r)&&(h=!0),d>2&&er(e,t,2,o)&&(h=!0),d>3&&er(e,t,3,i)&&(h=!0),d>4&&er(e,t,4,a)&&(h=!0),d>5&&er(e,t,5,s)&&(h=!0),d>6&&er(e,t,6,u)&&(h=!0),d>7&&er(e,t,7,c)&&(h=!0),d>8&&er(e,t,8,l)&&(h=!0),d>9&&er(e,t,9,f)&&(h=!0),h){var v=Zn(e,t.nodeIndex),y=void 0;switch(201347067&t.flags){case 32:y=new Array(p.length),d>0&&(y[0]=n),d>1&&(y[1]=r),d>2&&(y[2]=o),d>3&&(y[3]=i),d>4&&(y[4]=a),d>5&&(y[5]=s),d>6&&(y[6]=u),d>7&&(y[7]=c),d>8&&(y[8]=l),d>9&&(y[9]=f);break;case 64:y={},d>0&&(y[p[0].name]=n),d>1&&(y[p[1].name]=r),d>2&&(y[p[2].name]=o),d>3&&(y[p[3].name]=i),d>4&&(y[p[4].name]=a),d>5&&(y[p[5].name]=s),d>6&&(y[p[6].name]=u),d>7&&(y[p[7].name]=c),d>8&&(y[p[8].name]=l),d>9&&(y[p[9].name]=f);break;case 128:var g=n;switch(d){case 1:y=g.transform(n);break;case 2:y=g.transform(r);break;case 3:y=g.transform(r,o);break;case 4:y=g.transform(r,o,i);break;case 5:y=g.transform(r,o,i,a);break;case 6:y=g.transform(r,o,i,a,s);break;case 7:y=g.transform(r,o,i,a,s,u);break;case 8:y=g.transform(r,o,i,a,s,u,c);break;case 9:y=g.transform(r,o,i,a,s,u,c,l);break;case 10:y=g.transform(r,o,i,a,s,u,c,l,f)}}v.value=y}return h}(e,t,n,r,o,i,a,s,u,c,l,f);default:throw"unreachable"}}(e,t,r,o,i,a,s,u,c,f,p,h):function(e,t,n){switch(201347067&t.flags){case 1:return function(e,t,n){for(var r=!1,o=0;o<n.length;o++)Li(e,t,o,n[o])&&(r=!0);return r}(e,t,n);case 2:return function(e,t,n){for(var r=t.bindings,o=!1,i=0;i<n.length;i++)er(e,t,i,n[i])&&(o=!0);if(o){var a="";for(i=0;i<n.length;i++)a+=Bi(n[i],r[i]);a=t.text.prefix+a;var s=Hn(e,t.nodeIndex).renderText;e.renderer.setValue(s,a)}return o}(e,t,n);case 16384:return function(e,t,n){for(var r=Fn(e,t.nodeIndex),o=r.instance,i=!1,a=void 0,s=0;s<n.length;s++)Yn(e,t,s,n[s])&&(i=!0,a=go(e,r,t,s,n[s],a));return a&&o.ngOnChanges(a),65536&t.flags&&zn(e,256,t.nodeIndex)&&o.ngOnInit(),262144&t.flags&&o.ngDoCheck(),i}(e,t,n);case 32:case 64:case 128:return function(e,t,n){for(var r=t.bindings,o=!1,i=0;i<n.length;i++)er(e,t,i,n[i])&&(o=!0);if(o){var a=Zn(e,t.nodeIndex),s=void 0;switch(201347067&t.flags){case 32:s=n;break;case 64:for(s={},i=0;i<n.length;i++)s[r[i].name]=n[i];break;case 128:var u=n[0],c=n.slice(1);s=u.transform.apply(u,l(c))}a.value=s}return o}(e,t,n);default:throw"unreachable"}}(e,t,r)}function ra(e){var t=e.def;if(4&t.nodeFlags)for(var n=0;n<t.nodes.length;n++){var r=t.nodes[n];if(4&r.flags){var o=Vn(e,n).template._projectedViews;if(o)for(var i=0;i<o.length;i++){var a=o[i];a.state|=32,rr(a,e)}}else 0==(4&r.childFlags)&&(n+=r.childCount)}}function oa(e,t,n,r,o,i,a,s,u,c,l,f,p){return 0===n?function(e,t,n,r,o,i,a,s,u,c,l,f){var p=t.bindings.length;p>0&&tr(e,t,0,n),p>1&&tr(e,t,1,r),p>2&&tr(e,t,2,o),p>3&&tr(e,t,3,i),p>4&&tr(e,t,4,a),p>5&&tr(e,t,5,s),p>6&&tr(e,t,6,u),p>7&&tr(e,t,7,c),p>8&&tr(e,t,8,l),p>9&&tr(e,t,9,f)}(e,t,r,o,i,a,s,u,c,l,f,p):function(e,t,n){for(var r=0;r<n.length;r++)tr(e,t,r,n[r])}(e,t,r),!1}function ia(e,t){if(Bn(e,t.nodeIndex).dirty)throw Dn(qn.createDebugContext(e,t.nodeIndex),"Query "+t.query.id+" not dirty","Query "+t.query.id+" dirty",0!=(1&e.state))}function aa(e){if(!(128&e.state)){if(ca(e,sa.Destroy),ua(e,sa.Destroy),mo(e,131072),e.disposables)for(var t=0;t<e.disposables.length;t++)e.disposables[t]();!function(e){if(16&e.state){var t=ir(e);if(t){var n=t.template._projectedViews;n&&(jr(n,n.indexOf(e)),qn.dirtyParentQueries(e))}}}(e),e.renderer.destroyNode&&function(e){for(var t=e.def.nodes.length,n=0;n<t;n++){var r=e.def.nodes[n];1&r.flags?e.renderer.destroyNode(Vn(e,n).renderElement):2&r.flags?e.renderer.destroyNode(Hn(e,n).renderText):(67108864&r.flags||134217728&r.flags)&&Bn(e,n).destroy()}}(e),ur(e)&&e.renderer.destroy(),e.state|=128}}var sa=function(e){return e[e.CreateViewNodes=0]="CreateViewNodes",e[e.CheckNoChanges=1]="CheckNoChanges",e[e.CheckNoChangesProjectedViews=2]="CheckNoChangesProjectedViews",e[e.CheckAndUpdate=3]="CheckAndUpdate",e[e.CheckAndUpdateProjectedViews=4]="CheckAndUpdateProjectedViews",e[e.Destroy=5]="Destroy",e}({});function ua(e,t){var n=e.def;if(33554432&n.nodeFlags)for(var r=0;r<n.nodes.length;r++){var o=n.nodes[r];33554432&o.flags?la(Vn(e,r).componentView,t):0==(33554432&o.childFlags)&&(r+=o.childCount)}}function ca(e,t){var n=e.def;if(16777216&n.nodeFlags)for(var r=0;r<n.nodes.length;r++){var o=n.nodes[r];if(16777216&o.flags)for(var i=Vn(e,r).viewContainer._embeddedViews,a=0;a<i.length;a++)la(i[a],t);else 0==(16777216&o.childFlags)&&(r+=o.childCount)}}function la(e,t){var n=e.state;switch(t){case sa.CheckNoChanges:0==(128&n)&&(12==(12&n)?ea(e):64&n&&fa(e,sa.CheckNoChangesProjectedViews));break;case sa.CheckNoChangesProjectedViews:0==(128&n)&&(32&n?ea(e):64&n&&fa(e,t));break;case sa.CheckAndUpdate:0==(128&n)&&(12==(12&n)?ta(e):64&n&&fa(e,sa.CheckAndUpdateProjectedViews));break;case sa.CheckAndUpdateProjectedViews:0==(128&n)&&(32&n?ta(e):64&n&&fa(e,t));break;case sa.Destroy:aa(e);break;case sa.CreateViewNodes:Yi(e)}}function fa(e,t){ca(e,t),ua(e,t)}function pa(e,t,n,r){if(e.def.nodeFlags&t&&e.def.nodeFlags&n)for(var o=e.def.nodes.length,i=0;i<o;i++){var a=e.def.nodes[i];if(a.flags&t&&a.flags&n)switch(qn.setCurrentNode(e,a.nodeIndex),r){case 0:Ui(e,a);break;case 1:ia(e,a)}a.childFlags&t&&a.childFlags&n||(i+=a.childCount)}}var ha=!1;function da(e,t,n,r,o,i){var a=o.injector.get(cn);return Ki(ya(e,o,a,t,n),r,i)}function va(e,t,n,r,o,i){var a=o.injector.get(cn),s=ya(e,o,new Qa(a),t,n),u=ka(r);return Wa(Da.create,Ki,null,[s,u,i])}function ya(e,t,n,r,o){var i=t.injector.get(It),a=t.injector.get(at),s=n.createRenderer(null,null);return{ngModule:t,injector:e,projectableNodes:r,selectorOrNode:o,sanitizer:i,rendererFactory:n,renderer:s,errorHandler:a}}function ga(e,t,n,r){var o=ka(n);return Wa(Da.create,Qi,null,[e,t,o,r])}function ma(e,t,n,r){return n=Ea.get(t.element.componentProvider.provider.token)||ka(n),Wa(Da.create,$i,null,[e,t,n,r])}function ba(e,t,n,r){return Kr(e,t,n,function(e){var t=function(e){var t=!1,n=!1;return 0===_a.size?{hasOverrides:t,hasDeprecatedOverrides:n}:(e.providers.forEach(function(e){var r=_a.get(e.token);3840&e.flags&&r&&(t=!0,n=n||r.deprecatedBehavior)}),e.modules.forEach(function(e){wa.forEach(function(r,o){Ee(o).providedIn===e&&(t=!0,n=n||r.deprecatedBehavior)})}),{hasOverrides:t,hasDeprecatedOverrides:n})}(e),n=t.hasDeprecatedOverrides;return t.hasOverrides?(function(e){for(var t=0;t<e.providers.length;t++){var r=e.providers[t];n&&(r.flags|=4096);var o=_a.get(r.token);o&&(r.flags=-3841&r.flags|o.flags,r.deps=fr(o.deps),r.value=o.value)}if(wa.size>0){var i=new Set(e.modules);wa.forEach(function(t,r){if(i.has(Ee(r).providedIn)){var o={token:r,flags:t.flags|(n?4096:0),deps:fr(t.deps),value:t.value,index:e.providers.length};e.providers.push(o),e.providersByKey[Qn(r)]=o}})}}(e=e.factory(function(){return Wn})),e):e}(r))}var _a=new Map,wa=new Map,Ea=new Map;function Sa(e){var t;_a.set(e.token,e),"function"==typeof e.token&&(t=Ee(e.token))&&"function"==typeof t.providedIn&&wa.set(e.token,e)}function Ca(e,t){var n=dr(t.viewDefFactory),r=dr(n.nodes[0].element.componentView);Ea.set(e,r)}function Ta(){_a.clear(),wa.clear(),Ea.clear()}function ka(e){if(0===_a.size)return e;var t=function(e){for(var t=[],n=null,r=0;r<e.nodes.length;r++){var o=e.nodes[r];1&o.flags&&(n=o),n&&3840&o.flags&&_a.has(o.provider.token)&&(t.push(n.nodeIndex),n=null)}return t}(e);if(0===t.length)return e;e=e.factory(function(){return Wn});for(var n=0;n<t.length;n++)r(e,t[n]);return e;function r(e,t){for(var n=t+1;n<e.nodes.length;n++){var r=e.nodes[n];if(1&r.flags)return;if(3840&r.flags){var o=r.provider,i=_a.get(o.token);i&&(r.flags=-3841&r.flags|i.flags,o.deps=fr(i.deps),o.value=i.value)}}}}function xa(e,t,n,r,o,i,a,s,u,c,l,f,p){var h=e.def.nodes[t];return na(e,h,n,r,o,i,a,s,u,c,l,f,p),224&h.flags?Zn(e,t).value:void 0}function Pa(e,t,n,r,o,i,a,s,u,c,l,f,p){var h=e.def.nodes[t];return oa(e,h,n,r,o,i,a,s,u,c,l,f,p),224&h.flags?Zn(e,t).value:void 0}function Oa(e){return Wa(Da.detectChanges,ta,null,[e])}function Ra(e){return Wa(Da.checkNoChanges,ea,null,[e])}function Aa(e){return Wa(Da.destroy,aa,null,[e])}var Ia,Na,ja,Da=function(e){return e[e.create=0]="create",e[e.detectChanges=1]="detectChanges",e[e.checkNoChanges=2]="checkNoChanges",e[e.destroy=3]="destroy",e[e.handleEvent=4]="handleEvent",e}({});function La(e,t){Na=e,ja=t}function Ma(e,t,n,r){return La(e,t),Wa(Da.handleEvent,e.def.handleEvent,null,[e,t,n,r])}function Ua(e,t){if(128&e.state)throw Mn(Da[Ia]);return La(e,Fa(e,0)),e.def.updateDirectives(function(e,n,r){for(var o=[],i=3;i<arguments.length;i++)o[i-3]=arguments[i];var a=e.def.nodes[n];return 0===t?Ha(e,a,r,o):Va(e,a,r,o),16384&a.flags&&La(e,Fa(e,n)),224&a.flags?Zn(e,a.nodeIndex).value:void 0},e)}function za(e,t){if(128&e.state)throw Mn(Da[Ia]);return La(e,Za(e,0)),e.def.updateRenderer(function(e,n,r){for(var o=[],i=3;i<arguments.length;i++)o[i-3]=arguments[i];var a=e.def.nodes[n];return 0===t?Ha(e,a,r,o):Va(e,a,r,o),3&a.flags&&La(e,Za(e,n)),224&a.flags?Zn(e,a.nodeIndex).value:void 0},e)}function Ha(e,t,n,r){if(na.apply(void 0,l([e,t,n],r))){var o=1===n?r[0]:r;if(16384&t.flags){for(var i={},a=0;a<t.bindings.length;a++){var s=t.bindings[a],u=o[a];8&s.flags&&(i[(h=s.nonMinifiedName,"ng-reflect-"+h.replace(/[$@]/g,"_").replace(Dt,function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return"-"+e[1].toLowerCase()}))]=Lt(u))}var c=t.parent,f=Vn(e,c.nodeIndex).renderElement;if(c.element.name)for(var p in i)null!=(u=i[p])?e.renderer.setAttribute(f,p,u):e.renderer.removeAttribute(f,p);else e.renderer.setValue(f,"bindings="+JSON.stringify(i,null,2))}}var h}function Va(e,t,n,r){oa.apply(void 0,l([e,t,n],r))}function Fa(e,t){for(var n=t;n<e.def.nodes.length;n++){var r=e.def.nodes[n];if(16384&r.flags&&r.bindings&&r.bindings.length)return n}return null}function Za(e,t){for(var n=t;n<e.def.nodes.length;n++){var r=e.def.nodes[n];if(3&r.flags&&r.bindings&&r.bindings.length)return n}return null}var Ba=function(){function e(e,t){this.view=e,this.nodeIndex=t,null==t&&(this.nodeIndex=t=0),this.nodeDef=e.def.nodes[t];for(var n=this.nodeDef,r=e;n&&0==(1&n.flags);)n=n.parent;if(!n)for(;!n&&r;)n=ar(r),r=r.parent;this.elDef=n,this.elView=r}return Object.defineProperty(e.prototype,"elOrCompView",{get:function(){return Vn(this.elView,this.elDef.nodeIndex).componentView||this.view},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return qr(this.elView,this.elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"component",{get:function(){return this.elOrCompView.component},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return this.elOrCompView.context},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"providerTokens",{get:function(){var e=[];if(this.elDef)for(var t=this.elDef.nodeIndex+1;t<=this.elDef.nodeIndex+this.elDef.childCount;t++){var n=this.elView.def.nodes[t];20224&n.flags&&e.push(n.provider.token),t+=n.childCount}return e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"references",{get:function(){var e={};if(this.elDef){qa(this.elView,this.elDef,e);for(var t=this.elDef.nodeIndex+1;t<=this.elDef.nodeIndex+this.elDef.childCount;t++){var n=this.elView.def.nodes[t];20224&n.flags&&qa(this.elView,n,e),t+=n.childCount}}return e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentRenderElement",{get:function(){var e=function(e){for(;e&&!ur(e);)e=e.parent;return e.parent?Vn(e.parent,ar(e).nodeIndex):null}(this.elOrCompView);return e?e.renderElement:void 0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"renderNode",{get:function(){return 2&this.nodeDef.flags?sr(this.view,this.nodeDef):sr(this.elView,this.elDef)},enumerable:!0,configurable:!0}),e.prototype.logError=function(e){for(var t,n,r=[],o=1;o<arguments.length;o++)r[o-1]=arguments[o];2&this.nodeDef.flags?(t=this.view.def,n=this.nodeDef.nodeIndex):(t=this.elView.def,n=this.elDef.nodeIndex);var i=function(e,t){for(var n=-1,r=0;r<=t;r++)3&e.nodes[r].flags&&n++;return n}(t,n),a=-1;t.factory(function(){var t;return++a===i?(t=e.error).bind.apply(t,l([e],r)):Wn}),a<i&&(e.error("Illegal state: the ViewDefinitionFactory did not call the logger!"),e.error.apply(e,l(r)))},e}();function qa(e,t,n){for(var r in t.references)n[r]=Hi(e,t,t.references[r])}function Wa(e,t,n,r){var o=Ia,i=Na,a=ja;try{Ia=e;var s=t.apply(n,r);return Na=i,ja=a,Ia=o,s}catch(u){if(rt(u)||!Na)throw u;throw function(e,t){return e instanceof Error||(e=new Error(e.toString())),Ln(e,t),e}(u,Ga())}}function Ga(){return Na?new Ba(Na,ja):null}var Qa=function(){function e(e){this.delegate=e}return e.prototype.createRenderer=function(e,t){return new Ka(this.delegate.createRenderer(e,t))},e.prototype.begin=function(){this.delegate.begin&&this.delegate.begin()},e.prototype.end=function(){this.delegate.end&&this.delegate.end()},e.prototype.whenRenderingDone=function(){return this.delegate.whenRenderingDone?this.delegate.whenRenderingDone():Promise.resolve(null)},e}(),Ka=function(){function e(e){this.delegate=e,this.debugContextFactory=Ga,this.data=this.delegate.data}return e.prototype.createDebugContext=function(e){return this.debugContextFactory(e)},e.prototype.destroyNode=function(e){!function(e){Ei.delete(e.nativeNode)}(Si(e)),this.delegate.destroyNode&&this.delegate.destroyNode(e)},e.prototype.destroy=function(){this.delegate.destroy()},e.prototype.createElement=function(e,t){var n=this.delegate.createElement(e,t),r=this.createDebugContext(n);if(r){var o=new wi(n,null,r);o.name=e,Ci(o)}return n},e.prototype.createComment=function(e){var t=this.delegate.createComment(e),n=this.createDebugContext(t);return n&&Ci(new _i(t,null,n)),t},e.prototype.createText=function(e){var t=this.delegate.createText(e),n=this.createDebugContext(t);return n&&Ci(new _i(t,null,n)),t},e.prototype.appendChild=function(e,t){var n=Si(e),r=Si(t);n&&r&&n instanceof wi&&n.addChild(r),this.delegate.appendChild(e,t)},e.prototype.insertBefore=function(e,t,n){var r=Si(e),o=Si(t),i=Si(n);r&&o&&r instanceof wi&&r.insertBefore(i,o),this.delegate.insertBefore(e,t,n)},e.prototype.removeChild=function(e,t){var n=Si(e),r=Si(t);n&&r&&n instanceof wi&&n.removeChild(r),this.delegate.removeChild(e,t)},e.prototype.selectRootElement=function(e,t){var n=this.delegate.selectRootElement(e,t),r=Ga();return r&&Ci(new wi(n,null,r)),n},e.prototype.setAttribute=function(e,t,n,r){var o=Si(e);o&&o instanceof wi&&(o.attributes[r?r+":"+t:t]=n),this.delegate.setAttribute(e,t,n,r)},e.prototype.removeAttribute=function(e,t,n){var r=Si(e);r&&r instanceof wi&&(r.attributes[n?n+":"+t:t]=null),this.delegate.removeAttribute(e,t,n)},e.prototype.addClass=function(e,t){var n=Si(e);n&&n instanceof wi&&(n.classes[t]=!0),this.delegate.addClass(e,t)},e.prototype.removeClass=function(e,t){var n=Si(e);n&&n instanceof wi&&(n.classes[t]=!1),this.delegate.removeClass(e,t)},e.prototype.setStyle=function(e,t,n,r){var o=Si(e);o&&o instanceof wi&&(o.styles[t]=n),this.delegate.setStyle(e,t,n,r)},e.prototype.removeStyle=function(e,t,n){var r=Si(e);r&&r instanceof wi&&(r.styles[t]=null),this.delegate.removeStyle(e,t,n)},e.prototype.setProperty=function(e,t,n){var r=Si(e);r&&r instanceof wi&&(r.properties[t]=n),this.delegate.setProperty(e,t,n)},e.prototype.listen=function(e,t,n){if("string"!=typeof e){var r=Si(e);r&&r.listeners.push(new bi(t,n))}return this.delegate.listen(e,t,n)},e.prototype.parentNode=function(e){return this.delegate.parentNode(e)},e.prototype.nextSibling=function(e){return this.delegate.nextSibling(e)},e.prototype.setValue=function(e,t){return this.delegate.setValue(e,t)},e}();function $a(e,t,n){return new Ja(e,t,n)}var Ja=function(e){function t(t,n,r){var o=e.call(this)||this;return o.moduleType=t,o._bootstrapComponents=n,o._ngModuleDefFactory=r,o}return o(t,e),t.prototype.create=function(e){!function(){if(!ha){ha=!0;var e=ct()?{setCurrentNode:La,createRootView:va,createEmbeddedView:ga,createComponentView:ma,createNgModuleRef:ba,overrideProvider:Sa,overrideComponentView:Ca,clearOverrides:Ta,checkAndUpdateView:Oa,checkNoChangesView:Ra,destroyView:Aa,createDebugContext:function(e,t){return new Ba(e,t)},handleEvent:Ma,updateDirectives:Ua,updateRenderer:za}:{setCurrentNode:function(){},createRootView:da,createEmbeddedView:Qi,createComponentView:$i,createNgModuleRef:Kr,overrideProvider:Wn,overrideComponentView:Wn,clearOverrides:Wn,checkAndUpdateView:ta,checkNoChangesView:ea,destroyView:aa,createDebugContext:function(e,t){return new Ba(e,t)},handleEvent:function(e,t,n,r){return e.def.handleEvent(e,t,n,r)},updateDirectives:function(e,t){return e.def.updateDirectives(0===t?xa:Pa,e)},updateRenderer:function(e,t){return e.def.updateRenderer(0===t?xa:Pa,e)}};qn.setCurrentNode=e.setCurrentNode,qn.createRootView=e.createRootView,qn.createEmbeddedView=e.createEmbeddedView,qn.createComponentView=e.createComponentView,qn.createNgModuleRef=e.createNgModuleRef,qn.overrideProvider=e.overrideProvider,qn.overrideComponentView=e.overrideComponentView,qn.clearOverrides=e.clearOverrides,qn.checkAndUpdateView=e.checkAndUpdateView,qn.checkNoChangesView=e.checkNoChangesView,qn.destroyView=e.destroyView,qn.resolveDep=vo,qn.createDebugContext=e.createDebugContext,qn.handleEvent=e.handleEvent,qn.updateDirectives=e.updateDirectives,qn.updateRenderer=e.updateRenderer,qn.dirtyParentQueries=Mi}}();var t=function(e){var t=Array.from(e.providers),n=Array.from(e.modules),r={};for(var o in e.providersByKey)r[o]=e.providersByKey[o];return{factory:e.factory,isRoot:e.isRoot,providers:t,modules:n,providersByKey:r}}(dr(this._ngModuleDefFactory));return qn.createNgModuleRef(this.moduleType,e||ze.NULL,this._bootstrapComponents,t)},t}(rn),Xa={production:!0,environment:"PROD"},Ya=(n("mNvP"),n("hN/g"),function(){function e(e,t,n){void 0===t&&(t="/assets/i18n/"),void 0===n&&(n=".json"),this.http=e,this.prefix=t,this.suffix=n}return e.prototype.getTranslation=function(e){return this.http.get(""+this.prefix+e+this.suffix)},e}()),es=function(e){return new Ya(e,"./assets/i18n/",".json")},ts=function(){return function(){}}(),ns=function(){return function(){this.isElectron=function(){return window&&window.process&&window.process.type},this.isElectron()&&(this.ipcRenderer=window.require("electron").ipcRenderer,this.webFrame=window.require("electron").webFrame,this.remote=window.require("electron").remote,this.childProcess=window.require("child_process"),this.fs=window.require("fs"))}}(),rs=function(){return function(e,t){this.electronService=e,this.translate=t,t.setDefaultLang("en"),console.log("AppConfig",Xa),e.isElectron()?(console.log("Mode electron"),console.log("Electron ipcRenderer",e.ipcRenderer),console.log("NodeJS childProcess",e.childProcess)):console.log("Mode web")}}(),os=function(){return function(){}}(),is=new je("Location Initialized"),as=function(){return function(){}}(),ss=new je("appBaseHref"),us=function(){function e(e,n){var r=this;this._subject=new Eo,this._urlChangeListeners=[],this._platformStrategy=e;var o=this._platformStrategy.getBaseHref();this._platformLocation=n,this._baseHref=t.stripTrailingSlash(cs(o)),this._platformStrategy.onPopState(function(e){r._subject.emit({url:r.path(!0),pop:!0,state:e.state,type:e.type})})}var t;return t=e,e.prototype.path=function(e){return void 0===e&&(e=!1),this.normalize(this._platformStrategy.path(e))},e.prototype.getState=function(){return this._platformLocation.getState()},e.prototype.isCurrentPathEqualTo=function(e,n){return void 0===n&&(n=""),this.path()==this.normalize(e+t.normalizeQueryParams(n))},e.prototype.normalize=function(e){return t.stripTrailingSlash(function(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,cs(e)))},e.prototype.prepareExternalUrl=function(e){return e&&"/"!==e[0]&&(e="/"+e),this._platformStrategy.prepareExternalUrl(e)},e.prototype.go=function(e,n,r){void 0===n&&(n=""),void 0===r&&(r=null),this._platformStrategy.pushState(r,"",e,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+t.normalizeQueryParams(n)),r)},e.prototype.replaceState=function(e,n,r){void 0===n&&(n=""),void 0===r&&(r=null),this._platformStrategy.replaceState(r,"",e,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+t.normalizeQueryParams(n)),r)},e.prototype.forward=function(){this._platformStrategy.forward()},e.prototype.back=function(){this._platformStrategy.back()},e.prototype.onUrlChange=function(e){var t=this;this._urlChangeListeners.push(e),this.subscribe(function(e){t._notifyUrlChangeListeners(e.url,e.state)})},e.prototype._notifyUrlChangeListeners=function(e,t){void 0===e&&(e=""),this._urlChangeListeners.forEach(function(n){return n(e,t)})},e.prototype.subscribe=function(e,t,n){return this._subject.subscribe({next:e,error:t,complete:n})},e.normalizeQueryParams=function(e){return e&&"?"!==e[0]?"?"+e:e},e.joinWithSlash=function(e,t){if(0==e.length)return t;if(0==t.length)return e;var n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,2==n?e+t.substring(1):1==n?e+t:e+"/"+t},e.stripTrailingSlash=function(e){var t=e.match(/#|\?|$/),n=t&&t.index||e.length;return e.slice(0,n-("/"===e[n-1]?1:0))+e.slice(n)},e}();function cs(e){return e.replace(/\/index.html$/,"")}var ls=function(e){function t(t,n){var r=e.call(this)||this;return r._platformLocation=t,r._baseHref="",null!=n&&(r._baseHref=n),r}return o(t,e),t.prototype.onPopState=function(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)},t.prototype.getBaseHref=function(){return this._baseHref},t.prototype.path=function(e){void 0===e&&(e=!1);var t=this._platformLocation.hash;return null==t&&(t="#"),t.length>0?t.substring(1):t},t.prototype.prepareExternalUrl=function(e){var t=us.joinWithSlash(this._baseHref,e);return t.length>0?"#"+t:t},t.prototype.pushState=function(e,t,n,r){var o=this.prepareExternalUrl(n+us.normalizeQueryParams(r));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.pushState(e,t,o)},t.prototype.replaceState=function(e,t,n,r){var o=this.prepareExternalUrl(n+us.normalizeQueryParams(r));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.replaceState(e,t,o)},t.prototype.forward=function(){this._platformLocation.forward()},t.prototype.back=function(){this._platformLocation.back()},t}(as),fs=function(e){function t(t,n){var r=e.call(this)||this;if(r._platformLocation=t,null==n&&(n=r._platformLocation.getBaseHrefFromDOM()),null==n)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");return r._baseHref=n,r}return o(t,e),t.prototype.onPopState=function(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)},t.prototype.getBaseHref=function(){return this._baseHref},t.prototype.prepareExternalUrl=function(e){return us.joinWithSlash(this._baseHref,e)},t.prototype.path=function(e){void 0===e&&(e=!1);var t=this._platformLocation.pathname+us.normalizeQueryParams(this._platformLocation.search),n=this._platformLocation.hash;return n&&e?""+t+n:t},t.prototype.pushState=function(e,t,n,r){var o=this.prepareExternalUrl(n+us.normalizeQueryParams(r));this._platformLocation.pushState(e,t,o)},t.prototype.replaceState=function(e,t,n,r){var o=this.prepareExternalUrl(n+us.normalizeQueryParams(r));this._platformLocation.replaceState(e,t,o)},t.prototype.forward=function(){this._platformLocation.forward()},t.prototype.back=function(){this._platformLocation.back()},t}(as),ps=void 0,hs=["en",[["a","p"],["AM","PM"],ps],[["AM","PM"],ps,ps],[["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"]],ps,[["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"]],ps,[["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}",ps,"{1} 'at' {0}",ps],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"$","US Dollar",{},function(e){var t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}],ds={},vs=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}({}),ys=new je("UseV4Plurals"),gs=function(){return function(){}}(),ms=function(e){function t(t,n){var r=e.call(this)||this;return r.locale=t,r.deprecatedPluralFn=n,r}return o(t,e),t.prototype.getPluralCategory=function(e,t){switch(this.deprecatedPluralFn?this.deprecatedPluralFn(t||this.locale,e):function(e){return function(e){var t=e.toLowerCase().replace(/_/g,"-"),n=ds[t];if(n)return n;var r=t.split("-")[0];if(n=ds[r])return n;if("en"===r)return hs;throw new Error('Missing locale data for the locale "'+e+'".')}(e)[18]}(t||this.locale)(e)){case vs.Zero:return"zero";case vs.One:return"one";case vs.Two:return"two";case vs.Few:return"few";case vs.Many:return"many";default:return"other"}},t}(gs);function bs(e,t){var n,r;t=encodeURIComponent(t);try{for(var o=u(e.split(";")),i=o.next();!i.done;i=o.next()){var a=i.value,s=a.indexOf("="),l=c(-1==s?[a,""]:[a.slice(0,s),a.slice(s+1)],2),f=l[1];if(l[0].trim()===t)return decodeURIComponent(f)}}catch(p){n={error:p}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return null}var _s=function(){return function(){}}(),ws=function(){function e(e,t,n){this._ngEl=e,this._differs=t,this._renderer=n}return e.prototype.getValue=function(){return null},e.prototype.setNgStyle=function(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())},e.prototype.applyChanges=function(){if(this._differ){var e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}},e.prototype._applyChanges=function(e){var t=this;e.forEachRemovedItem(function(e){return t._setStyle(e.key,null)}),e.forEachAddedItem(function(e){return t._setStyle(e.key,e.currentValue)}),e.forEachChangedItem(function(e){return t._setStyle(e.key,e.currentValue)})},e.prototype._setStyle=function(e,t){var n=c(e.split("."),2),r=n[0],o=n[1];null!=(t=null!=t&&o?""+t+o:t)?this._renderer.setStyle(this._ngEl.nativeElement,r,t):this._renderer.removeStyle(this._ngEl.nativeElement,r)},e}(),Es=function(e){function t(t){return e.call(this,t)||this}return o(t,e),Object.defineProperty(t.prototype,"ngStyle",{set:function(e){this._delegate.setNgStyle(e)},enumerable:!0,configurable:!0}),t.prototype.ngDoCheck=function(){this._delegate.applyChanges()},t}(function(){function e(e){this._delegate=e}return e.prototype.getValue=function(){return this._delegate.getValue()},e.ngDirectiveDef=void 0,e}()),Ss=function(){return function(){}}(),Cs=new je("DocumentToken"),Ts="server",ks=function(){function e(){}return e.ngInjectableDef=we({providedIn:"root",factory:function(){return new xs(Ne(Cs),window,Ne(at))}}),e}(),xs=function(){function e(e,t,n){this.document=e,this.window=t,this.errorHandler=n,this.offset=function(){return[0,0]}}return e.prototype.setOffset=function(e){this.offset=Array.isArray(e)?function(){return e}:e},e.prototype.getScrollPosition=function(){return this.supportScrollRestoration()?[this.window.scrollX,this.window.scrollY]:[0,0]},e.prototype.scrollToPosition=function(e){this.supportScrollRestoration()&&this.window.scrollTo(e[0],e[1])},e.prototype.scrollToAnchor=function(e){if(this.supportScrollRestoration()){e=this.window.CSS&&this.window.CSS.escape?this.window.CSS.escape(e):e.replace(/(\"|\'\ |:|\.|\[|\]|,|=)/g,"\\$1");try{var t=this.document.querySelector("#"+e);if(t)return void this.scrollToElement(t);var n=this.document.querySelector("[name='"+e+"']");if(n)return void this.scrollToElement(n)}catch(r){this.errorHandler.handleError(r)}}},e.prototype.setHistoryScrollRestoration=function(e){if(this.supportScrollRestoration()){var t=this.window.history;t&&t.scrollRestoration&&(t.scrollRestoration=e)}},e.prototype.scrollToElement=function(e){var t=e.getBoundingClientRect(),n=t.left+this.window.pageXOffset,r=t.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(n-o[0],r-o[1])},e.prototype.supportScrollRestoration=function(){try{return!!this.window&&!!this.window.scrollTo}catch(e){return!1}},e}();function Ps(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=e[e.length-1];return M(n)?(e.pop(),$(e,n)):re(e)}var Os=function(e){function t(t){var n=e.call(this)||this;return n._value=t,n}return o(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return this.getValue()},enumerable:!0,configurable:!0}),t.prototype._subscribe=function(t){var n=e.prototype._subscribe.call(this,t);return n&&!n.closed&&t.next(this._value),n},t.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new I;return this._value},t.prototype.next=function(t){e.prototype.next.call(this,this._value=t)},t}(D);function Rs(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}Rs.prototype=Object.create(Error.prototype);var As=Rs,Is={},Ns=function(){function e(e){this.resultSelector=e}return e.prototype.call=function(e,t){return t.subscribe(new js(e,this.resultSelector))},e}(),js=function(e){function t(t,n){var r=e.call(this,t)||this;return r.resultSelector=n,r.active=0,r.values=[],r.observables=[],r}return o(t,e),t.prototype._next=function(e){this.values.push(Is),this.observables.push(e)},t.prototype._complete=function(){var e=this.observables,t=e.length;if(0===t)this.destination.complete();else{this.active=t,this.toRespond=t;for(var n=0;n<t;n++){var r=e[n];this.add(q(this,r,r,n))}}},t.prototype.notifyComplete=function(e){0==(this.active-=1)&&this.destination.complete()},t.prototype.notifyNext=function(e,t,n,r,o){var i=this.values,a=this.toRespond?i[n]===Is?--this.toRespond:this.toRespond:0;i[n]=t,0===a&&(this.resultSelector?this._tryResultSelector(i):this.destination.next(i.slice()))},t.prototype._tryResultSelector=function(e){var t;try{t=this.resultSelector.apply(this,e)}catch(n){return void this.destination.error(n)}this.destination.next(t)},t}(W),Ds=new O(function(e){return e.complete()});function Ls(e){return e?function(e){return new O(function(t){return e.schedule(function(){return t.complete()})})}(e):Ds}function Ms(e){return new O(function(t){var n;try{n=e()}catch(r){return void t.error(r)}return(n?J(n):Ls()).subscribe(t)})}function Us(){return ne(1)}function zs(e,t){return function(n){return n.lift(new Hs(e,t))}}var Hs=function(){function e(e,t){this.predicate=e,this.thisArg=t}return e.prototype.call=function(e,t){return t.subscribe(new Vs(e,this.predicate,this.thisArg))},e}(),Vs=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.predicate=n,o.thisArg=r,o.count=0,o}return o(t,e),t.prototype._next=function(e){var t;try{t=this.predicate.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}t&&this.destination.next(e)},t}(S);function Fs(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}Fs.prototype=Object.create(Error.prototype);var Zs=Fs;function Bs(e){return function(t){return 0===e?Ls():t.lift(new qs(e))}}var qs=function(){function e(e){if(this.total=e,this.total<0)throw new Zs}return e.prototype.call=function(e,t){return t.subscribe(new Ws(e,this.total))},e}(),Ws=function(e){function t(t,n){var r=e.call(this,t)||this;return r.total=n,r.ring=new Array,r.count=0,r}return o(t,e),t.prototype._next=function(e){var t=this.ring,n=this.total,r=this.count++;t.length<n?t.push(e):t[r%n]=e},t.prototype._complete=function(){var e=this.destination,t=this.count;if(t>0)for(var n=this.count>=this.total?this.total:this.count,r=this.ring,o=0;o<n;o++){var i=t++%n;e.next(r[i])}e.complete()},t}(S);function Gs(e){return void 0===e&&(e=$s),function(t){return t.lift(new Qs(e))}}var Qs=function(){function e(e){this.errorFactory=e}return e.prototype.call=function(e,t){return t.subscribe(new Ks(e,this.errorFactory))},e}(),Ks=function(e){function t(t,n){var r=e.call(this,t)||this;return r.errorFactory=n,r.hasValue=!1,r}return o(t,e),t.prototype._next=function(e){this.hasValue=!0,this.destination.next(e)},t.prototype._complete=function(){if(this.hasValue)return this.destination.complete();var e=void 0;try{e=this.errorFactory()}catch(t){e=t}this.destination.error(e)},t}(S);function $s(){return new As}function Js(e){return void 0===e&&(e=null),function(t){return t.lift(new Xs(e))}}var Xs=function(){function e(e){this.defaultValue=e}return e.prototype.call=function(e,t){return t.subscribe(new Ys(e,this.defaultValue))},e}(),Ys=function(e){function t(t,n){var r=e.call(this,t)||this;return r.defaultValue=n,r.isEmpty=!0,r}return o(t,e),t.prototype._next=function(e){this.isEmpty=!1,this.destination.next(e)},t.prototype._complete=function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()},t}(S);function eu(e,t){var n=arguments.length>=2;return function(r){return r.pipe(e?zs(function(t,n){return e(t,n,r)}):te,Bs(1),n?Js(t):Gs(function(){return new As}))}}function tu(e){return function(t){var n=new nu(e),r=t.lift(n);return n.caught=r}}var nu=function(){function e(e){this.selector=e}return e.prototype.call=function(e,t){return t.subscribe(new ru(e,this.selector,this.caught))},e}(),ru=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.selector=n,o.caught=r,o}return o(t,e),t.prototype.error=function(t){if(!this.isStopped){var n=void 0;try{n=this.selector(t,this.caught)}catch(o){return void e.prototype.error.call(this,o)}this._unsubscribeAndRecycle();var r=new U(this,void 0,void 0);this.add(r),q(this,n,void 0,void 0,r)}},t}(W);function ou(e){return function(t){return 0===e?Ls():t.lift(new iu(e))}}var iu=function(){function e(e){if(this.total=e,this.total<0)throw new Zs}return e.prototype.call=function(e,t){return t.subscribe(new au(e,this.total))},e}(),au=function(e){function t(t,n){var r=e.call(this,t)||this;return r.total=n,r.count=0,r}return o(t,e),t.prototype._next=function(e){var t=this.total,n=++this.count;n<=t&&(this.destination.next(e),n===t&&(this.destination.complete(),this.unsubscribe()))},t}(S);function su(e,t){var n=arguments.length>=2;return function(r){return r.pipe(e?zs(function(t,n){return e(t,n,r)}):te,ou(1),n?Js(t):Gs(function(){return new As}))}}var uu=function(){function e(e,t,n){this.predicate=e,this.thisArg=t,this.source=n}return e.prototype.call=function(e,t){return t.subscribe(new cu(e,this.predicate,this.thisArg,this.source))},e}(),cu=function(e){function t(t,n,r,o){var i=e.call(this,t)||this;return i.predicate=n,i.thisArg=r,i.source=o,i.index=0,i.thisArg=r||i,i}return o(t,e),t.prototype.notifyComplete=function(e){this.destination.next(e),this.destination.complete()},t.prototype._next=function(e){var t=!1;try{t=this.predicate.call(this.thisArg,e,this.index++,this.source)}catch(n){return void this.destination.error(n)}t||this.notifyComplete(!1)},t.prototype._complete=function(){this.notifyComplete(!0)},t}(S);function lu(e,t){return"function"==typeof t?function(n){return n.pipe(lu(function(n,r){return J(e(n,r)).pipe(G(function(e,o){return t(n,e,r,o)}))}))}:function(t){return t.lift(new fu(e))}}var fu=function(){function e(e){this.project=e}return e.prototype.call=function(e,t){return t.subscribe(new pu(e,this.project))},e}(),pu=function(e){function t(t,n){var r=e.call(this,t)||this;return r.project=n,r.index=0,r}return o(t,e),t.prototype._next=function(e){var t,n=this.index++;try{t=this.project(e,n)}catch(r){return void this.destination.error(r)}this._innerSub(t,e,n)},t.prototype._innerSub=function(e,t,n){var r=this.innerSubscription;r&&r.unsubscribe();var o=new U(this,void 0,void 0);this.destination.add(o),this.innerSubscription=q(this,e,t,n,o)},t.prototype._complete=function(){var t=this.innerSubscription;t&&!t.closed||e.prototype._complete.call(this),this.unsubscribe()},t.prototype._unsubscribe=function(){this.innerSubscription=null},t.prototype.notifyComplete=function(t){this.destination.remove(t),this.innerSubscription=null,this.isStopped&&e.prototype._complete.call(this)},t.prototype.notifyNext=function(e,t,n,r,o){this.destination.next(t)},t}(W);function hu(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Us()(Ps.apply(void 0,e))}function du(e,t){var n=!1;return arguments.length>=2&&(n=!0),function(r){return r.lift(new vu(e,t,n))}}var vu=function(){function e(e,t,n){void 0===n&&(n=!1),this.accumulator=e,this.seed=t,this.hasSeed=n}return e.prototype.call=function(e,t){return t.subscribe(new yu(e,this.accumulator,this.seed,this.hasSeed))},e}(),yu=function(e){function t(t,n,r,o){var i=e.call(this,t)||this;return i.accumulator=n,i._seed=r,i.hasSeed=o,i.index=0,i}return o(t,e),Object.defineProperty(t.prototype,"seed",{get:function(){return this._seed},set:function(e){this.hasSeed=!0,this._seed=e},enumerable:!0,configurable:!0}),t.prototype._next=function(e){if(this.hasSeed)return this._tryNext(e);this.seed=e,this.destination.next(e)},t.prototype._tryNext=function(e){var t,n=this.index++;try{t=this.accumulator(this.seed,e,n)}catch(r){this.destination.error(r)}this.seed=t,this.destination.next(t)},t}(S);function gu(e,t){return X(e,t,1)}function mu(e,t){return arguments.length>=2?function(n){return x(du(e,t),Bs(1),Js(t))(n)}:function(t){return x(du(function(t,n,r){return e(t,n,r+1)}),Bs(1))(t)}}function bu(e,t,n){return function(r){return r.lift(new _u(e,t,n))}}var _u=function(){function e(e,t,n){this.nextOrObserver=e,this.error=t,this.complete=n}return e.prototype.call=function(e,t){return t.subscribe(new wu(e,this.nextOrObserver,this.error,this.complete))},e}(),wu=function(e){function t(t,n,r,o){var i=e.call(this,t)||this;return i._tapNext=k,i._tapError=k,i._tapComplete=k,i._tapError=r||k,i._tapComplete=o||k,h(n)?(i._context=i,i._tapNext=n):n&&(i._context=n,i._tapNext=n.next||k,i._tapError=n.error||k,i._tapComplete=n.complete||k),i}return o(t,e),t.prototype._next=function(e){try{this._tapNext.call(this._context,e)}catch(t){return void this.destination.error(t)}this.destination.next(e)},t.prototype._error=function(e){try{this._tapError.call(this._context,e)}catch(e){return void this.destination.error(e)}this.destination.error(e)},t.prototype._complete=function(){try{this._tapComplete.call(this._context)}catch(e){return void this.destination.error(e)}return this.destination.complete()},t}(S),Eu=function(){function e(e){this.callback=e}return e.prototype.call=function(e,t){return t.subscribe(new Su(e,this.callback))},e}(),Su=function(e){function t(t,n){var r=e.call(this,t)||this;return r.add(new y(n)),r}return o(t,e),t}(S),Cu=null;function Tu(){return Cu}var ku,xu=function(e){function t(){var t=e.call(this)||this;t._animationPrefix=null,t._transitionEnd=null;try{var n=t.createElement("div",document);if(null!=t.getStyle(n,"animationName"))t._animationPrefix="";else for(var r=["Webkit","Moz","O","ms"],o=0;o<r.length;o++)if(null!=t.getStyle(n,r[o]+"AnimationName")){t._animationPrefix="-"+r[o].toLowerCase()+"-";break}var i={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};Object.keys(i).forEach(function(e){null!=t.getStyle(n,e)&&(t._transitionEnd=i[e])})}catch(a){t._animationPrefix=null,t._transitionEnd=null}return t}return o(t,e),t.prototype.getDistributedNodes=function(e){return e.getDistributedNodes()},t.prototype.resolveAndSetHref=function(e,t,n){e.href=null==n?t:t+"/../"+n},t.prototype.supportsDOMEvents=function(){return!0},t.prototype.supportsNativeShadowDOM=function(){return"function"==typeof document.body.createShadowRoot},t.prototype.getAnimationPrefix=function(){return this._animationPrefix?this._animationPrefix:""},t.prototype.getTransitionEnd=function(){return this._transitionEnd?this._transitionEnd:""},t.prototype.supportsAnimation=function(){return null!=this._animationPrefix&&null!=this._transitionEnd},t}(function(){function e(){this.resourceLoaderType=null}return Object.defineProperty(e.prototype,"attrToPropMap",{get:function(){return this._attrToPropMap},set:function(e){this._attrToPropMap=e},enumerable:!0,configurable:!0}),e}()),Pu={class:"className",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"},Ou={"\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"},Ru={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"},Au=function(){if(Re.Node)return Re.Node.prototype.contains||function(e){return!!(16&this.compareDocumentPosition(e))}}(),Iu=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.parse=function(e){throw new Error("parse not implemented")},t.makeCurrent=function(){var e;e=new t,Cu||(Cu=e)},t.prototype.hasProperty=function(e,t){return t in e},t.prototype.setProperty=function(e,t,n){e[t]=n},t.prototype.getProperty=function(e,t){return e[t]},t.prototype.invoke=function(e,t,n){var r;(r=e)[t].apply(r,l(n))},t.prototype.logError=function(e){window.console&&(console.error?console.error(e):console.log(e))},t.prototype.log=function(e){window.console&&window.console.log&&window.console.log(e)},t.prototype.logGroup=function(e){window.console&&window.console.group&&window.console.group(e)},t.prototype.logGroupEnd=function(){window.console&&window.console.groupEnd&&window.console.groupEnd()},Object.defineProperty(t.prototype,"attrToPropMap",{get:function(){return Pu},enumerable:!0,configurable:!0}),t.prototype.contains=function(e,t){return Au.call(e,t)},t.prototype.querySelector=function(e,t){return e.querySelector(t)},t.prototype.querySelectorAll=function(e,t){return e.querySelectorAll(t)},t.prototype.on=function(e,t,n){e.addEventListener(t,n,!1)},t.prototype.onAndCancel=function(e,t,n){return e.addEventListener(t,n,!1),function(){e.removeEventListener(t,n,!1)}},t.prototype.dispatchEvent=function(e,t){e.dispatchEvent(t)},t.prototype.createMouseEvent=function(e){var t=this.getDefaultDocument().createEvent("MouseEvent");return t.initEvent(e,!0,!0),t},t.prototype.createEvent=function(e){var t=this.getDefaultDocument().createEvent("Event");return t.initEvent(e,!0,!0),t},t.prototype.preventDefault=function(e){e.preventDefault(),e.returnValue=!1},t.prototype.isPrevented=function(e){return e.defaultPrevented||null!=e.returnValue&&!e.returnValue},t.prototype.getInnerHTML=function(e){return e.innerHTML},t.prototype.getTemplateContent=function(e){return"content"in e&&this.isTemplateElement(e)?e.content:null},t.prototype.getOuterHTML=function(e){return e.outerHTML},t.prototype.nodeName=function(e){return e.nodeName},t.prototype.nodeValue=function(e){return e.nodeValue},t.prototype.type=function(e){return e.type},t.prototype.content=function(e){return this.hasProperty(e,"content")?e.content:e},t.prototype.firstChild=function(e){return e.firstChild},t.prototype.nextSibling=function(e){return e.nextSibling},t.prototype.parentElement=function(e){return e.parentNode},t.prototype.childNodes=function(e){return e.childNodes},t.prototype.childNodesAsList=function(e){for(var t=e.childNodes,n=new Array(t.length),r=0;r<t.length;r++)n[r]=t[r];return n},t.prototype.clearNodes=function(e){for(;e.firstChild;)e.removeChild(e.firstChild)},t.prototype.appendChild=function(e,t){e.appendChild(t)},t.prototype.removeChild=function(e,t){e.removeChild(t)},t.prototype.replaceChild=function(e,t,n){e.replaceChild(t,n)},t.prototype.remove=function(e){return e.parentNode&&e.parentNode.removeChild(e),e},t.prototype.insertBefore=function(e,t,n){e.insertBefore(n,t)},t.prototype.insertAllBefore=function(e,t,n){n.forEach(function(n){return e.insertBefore(n,t)})},t.prototype.insertAfter=function(e,t,n){e.insertBefore(n,t.nextSibling)},t.prototype.setInnerHTML=function(e,t){e.innerHTML=t},t.prototype.getText=function(e){return e.textContent},t.prototype.setText=function(e,t){e.textContent=t},t.prototype.getValue=function(e){return e.value},t.prototype.setValue=function(e,t){e.value=t},t.prototype.getChecked=function(e){return e.checked},t.prototype.setChecked=function(e,t){e.checked=t},t.prototype.createComment=function(e){return this.getDefaultDocument().createComment(e)},t.prototype.createTemplate=function(e){var t=this.getDefaultDocument().createElement("template");return t.innerHTML=e,t},t.prototype.createElement=function(e,t){return(t=t||this.getDefaultDocument()).createElement(e)},t.prototype.createElementNS=function(e,t,n){return(n=n||this.getDefaultDocument()).createElementNS(e,t)},t.prototype.createTextNode=function(e,t){return(t=t||this.getDefaultDocument()).createTextNode(e)},t.prototype.createScriptTag=function(e,t,n){var r=(n=n||this.getDefaultDocument()).createElement("SCRIPT");return r.setAttribute(e,t),r},t.prototype.createStyleElement=function(e,t){var n=(t=t||this.getDefaultDocument()).createElement("style");return this.appendChild(n,this.createTextNode(e,t)),n},t.prototype.createShadowRoot=function(e){return e.createShadowRoot()},t.prototype.getShadowRoot=function(e){return e.shadowRoot},t.prototype.getHost=function(e){return e.host},t.prototype.clone=function(e){return e.cloneNode(!0)},t.prototype.getElementsByClassName=function(e,t){return e.getElementsByClassName(t)},t.prototype.getElementsByTagName=function(e,t){return e.getElementsByTagName(t)},t.prototype.classList=function(e){return Array.prototype.slice.call(e.classList,0)},t.prototype.addClass=function(e,t){e.classList.add(t)},t.prototype.removeClass=function(e,t){e.classList.remove(t)},t.prototype.hasClass=function(e,t){return e.classList.contains(t)},t.prototype.setStyle=function(e,t,n){e.style[t]=n},t.prototype.removeStyle=function(e,t){e.style[t]=""},t.prototype.getStyle=function(e,t){return e.style[t]},t.prototype.hasStyle=function(e,t,n){var r=this.getStyle(e,t)||"";return n?r==n:r.length>0},t.prototype.tagName=function(e){return e.tagName},t.prototype.attributeMap=function(e){for(var t=new Map,n=e.attributes,r=0;r<n.length;r++){var o=n.item(r);t.set(o.name,o.value)}return t},t.prototype.hasAttribute=function(e,t){return e.hasAttribute(t)},t.prototype.hasAttributeNS=function(e,t,n){return e.hasAttributeNS(t,n)},t.prototype.getAttribute=function(e,t){return e.getAttribute(t)},t.prototype.getAttributeNS=function(e,t,n){return e.getAttributeNS(t,n)},t.prototype.setAttribute=function(e,t,n){e.setAttribute(t,n)},t.prototype.setAttributeNS=function(e,t,n,r){e.setAttributeNS(t,n,r)},t.prototype.removeAttribute=function(e,t){e.removeAttribute(t)},t.prototype.removeAttributeNS=function(e,t,n){e.removeAttributeNS(t,n)},t.prototype.templateAwareRoot=function(e){return this.isTemplateElement(e)?this.content(e):e},t.prototype.createHtmlDocument=function(){return document.implementation.createHTMLDocument("fakeTitle")},t.prototype.getDefaultDocument=function(){return document},t.prototype.getBoundingClientRect=function(e){try{return e.getBoundingClientRect()}catch(t){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}},t.prototype.getTitle=function(e){return e.title},t.prototype.setTitle=function(e,t){e.title=t||""},t.prototype.elementMatches=function(e,t){return!!this.isElementNode(e)&&(e.matches&&e.matches(t)||e.msMatchesSelector&&e.msMatchesSelector(t)||e.webkitMatchesSelector&&e.webkitMatchesSelector(t))},t.prototype.isTemplateElement=function(e){return this.isElementNode(e)&&"TEMPLATE"===e.nodeName},t.prototype.isTextNode=function(e){return e.nodeType===Node.TEXT_NODE},t.prototype.isCommentNode=function(e){return e.nodeType===Node.COMMENT_NODE},t.prototype.isElementNode=function(e){return e.nodeType===Node.ELEMENT_NODE},t.prototype.hasShadowRoot=function(e){return null!=e.shadowRoot&&e instanceof HTMLElement},t.prototype.isShadowRoot=function(e){return e instanceof DocumentFragment},t.prototype.importIntoDoc=function(e){return document.importNode(this.templateAwareRoot(e),!0)},t.prototype.adoptNode=function(e){return document.adoptNode(e)},t.prototype.getHref=function(e){return e.getAttribute("href")},t.prototype.getEventKey=function(e){var t=e.key;if(null==t){if(null==(t=e.keyIdentifier))return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===e.location&&Ru.hasOwnProperty(t)&&(t=Ru[t]))}return Ou[t]||t},t.prototype.getGlobalEventTarget=function(e,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null},t.prototype.getHistory=function(){return window.history},t.prototype.getLocation=function(){return window.location},t.prototype.getBaseHref=function(e){var t,n=Nu||(Nu=document.querySelector("base"))?Nu.getAttribute("href"):null;return null==n?null:(t=n,ku||(ku=document.createElement("a")),ku.setAttribute("href",t),"/"===ku.pathname.charAt(0)?ku.pathname:"/"+ku.pathname)},t.prototype.resetBaseElement=function(){Nu=null},t.prototype.getUserAgent=function(){return window.navigator.userAgent},t.prototype.setData=function(e,t,n){this.setAttribute(e,"data-"+t,n)},t.prototype.getData=function(e,t){return this.getAttribute(e,"data-"+t)},t.prototype.getComputedStyle=function(e){return getComputedStyle(e)},t.prototype.supportsWebAnimation=function(){return"function"==typeof Element.prototype.animate},t.prototype.performanceNow=function(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()},t.prototype.supportsCookies=function(){return!0},t.prototype.getCookie=function(e){return bs(document.cookie,e)},t.prototype.setCookie=function(e,t){document.cookie=encodeURIComponent(e)+"="+encodeURIComponent(t)},t}(xu),Nu=null;function ju(){return!!window.history.pushState}var Du=function(e){function t(t){var n=e.call(this)||this;return n._doc=t,n._init(),n}var n;return o(t,e),t.prototype._init=function(){this.location=Tu().getLocation(),this._history=Tu().getHistory()},t.prototype.getBaseHrefFromDOM=function(){return Tu().getBaseHref(this._doc)},t.prototype.onPopState=function(e){Tu().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",e,!1)},t.prototype.onHashChange=function(e){Tu().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",e,!1)},Object.defineProperty(t.prototype,"href",{get:function(){return this.location.href},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"protocol",{get:function(){return this.location.protocol},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hostname",{get:function(){return this.location.hostname},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"port",{get:function(){return this.location.port},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pathname",{get:function(){return this.location.pathname},set:function(e){this.location.pathname=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"search",{get:function(){return this.location.search},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hash",{get:function(){return this.location.hash},enumerable:!0,configurable:!0}),t.prototype.pushState=function(e,t,n){ju()?this._history.pushState(e,t,n):this.location.hash=n},t.prototype.replaceState=function(e,t,n){ju()?this._history.replaceState(e,t,n):this.location.hash=n},t.prototype.forward=function(){this._history.forward()},t.prototype.back=function(){this._history.back()},t.prototype.getState=function(){return this._history.state},a([(n=ve(Cs),function(e,t){n(e,t,0)}),s("design:paramtypes",[Object])],t)}(os),Lu=new je("TRANSITION_ID"),Mu=[{provide:To,useFactory:function(e,t,n){return function(){n.get(ko).donePromise.then(function(){var n=Tu();Array.prototype.slice.apply(n.querySelectorAll(t,"style[ng-transition]")).filter(function(t){return n.getAttribute(t,"ng-transition")===e}).forEach(function(e){return n.remove(e)})})}},deps:[Lu,Cs,ze],multi:!0}],Uu=function(){function e(){}return e.init=function(){var t;t=new e,ai=t},e.prototype.addToWindow=function(e){Re.getAngularTestability=function(t,n){void 0===n&&(n=!0);var r=e.findTestabilityInTree(t,n);if(null==r)throw new Error("Could not find testability for element.");return r},Re.getAllAngularTestabilities=function(){return e.getAllTestabilities()},Re.getAllAngularRootElements=function(){return e.getAllRootElements()},Re.frameworkStabilizers||(Re.frameworkStabilizers=[]),Re.frameworkStabilizers.push(function(e){var t=Re.getAllAngularTestabilities(),n=t.length,r=!1,o=function(t){r=r||t,0==--n&&e(r)};t.forEach(function(e){e.whenStable(o)})})},e.prototype.findTestabilityInTree=function(e,t,n){if(null==t)return null;var r=e.getTestability(t);return null!=r?r:n?Tu().isShadowRoot(t)?this.findTestabilityInTree(e,Tu().getHost(t),!0):this.findTestabilityInTree(e,Tu().parentElement(t),!0):null},e}();function zu(e,t){"undefined"!=typeof COMPILED&&COMPILED||((Re.ng=Re.ng||{})[e]=t)}var Hu=function(){return{ApplicationRef:hi,NgZone:$o}}();function Vu(e){return Si(e)}var Fu=new je("EventManagerPlugins"),Zu=function(){function e(e,t){var n=this;this._zone=t,this._eventNameToPlugin=new Map,e.forEach(function(e){return e.manager=n}),this._plugins=e.slice().reverse()}return e.prototype.addEventListener=function(e,t,n){return this._findPluginFor(t).addEventListener(e,t,n)},e.prototype.addGlobalEventListener=function(e,t,n){return this._findPluginFor(t).addGlobalEventListener(e,t,n)},e.prototype.getZone=function(){return this._zone},e.prototype._findPluginFor=function(e){var t=this._eventNameToPlugin.get(e);if(t)return t;for(var n=this._plugins,r=0;r<n.length;r++){var o=n[r];if(o.supports(e))return this._eventNameToPlugin.set(e,o),o}throw new Error("No event manager plugin found for event "+e)},e}(),Bu=function(){function e(e){this._doc=e}return e.prototype.addGlobalEventListener=function(e,t,n){var r=Tu().getGlobalEventTarget(this._doc,e);if(!r)throw new Error("Unsupported event target "+r+" for event "+t);return this.addEventListener(r,t,n)},e}(),qu=function(){function e(){this._stylesSet=new Set}return e.prototype.addStyles=function(e){var t=this,n=new Set;e.forEach(function(e){t._stylesSet.has(e)||(t._stylesSet.add(e),n.add(e))}),this.onStylesAdded(n)},e.prototype.onStylesAdded=function(e){},e.prototype.getAllStyles=function(){return Array.from(this._stylesSet)},e}(),Wu=function(e){function t(t){var n=e.call(this)||this;return n._doc=t,n._hostNodes=new Set,n._styleNodes=new Set,n._hostNodes.add(t.head),n}return o(t,e),t.prototype._addStylesToHost=function(e,t){var n=this;e.forEach(function(e){var r=n._doc.createElement("style");r.textContent=e,n._styleNodes.add(t.appendChild(r))})},t.prototype.addHost=function(e){this._addStylesToHost(this._stylesSet,e),this._hostNodes.add(e)},t.prototype.removeHost=function(e){this._hostNodes.delete(e)},t.prototype.onStylesAdded=function(e){var t=this;this._hostNodes.forEach(function(n){return t._addStylesToHost(e,n)})},t.prototype.ngOnDestroy=function(){this._styleNodes.forEach(function(e){return Tu().remove(e)})},t}(qu),Gu={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/"},Qu=/%COMP%/g,Ku="_nghost-%COMP%",$u="_ngcontent-%COMP%";function Ju(e,t,n){for(var r=0;r<t.length;r++){var o=t[r];Array.isArray(o)?Ju(e,o,n):(o=o.replace(Qu,e),n.push(o))}return n}function Xu(e){return function(t){!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}var Yu=function(){function e(e,t,n){this.eventManager=e,this.sharedStylesHost=t,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new ec(e)}return e.prototype.createRenderer=function(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case tt.Emulated:var n=this.rendererByCompId.get(t.id);return n||(n=new rc(this.eventManager,this.sharedStylesHost,t,this.appId),this.rendererByCompId.set(t.id,n)),n.applyToHost(e),n;case tt.Native:case tt.ShadowDom:return new oc(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){var r=Ju(t.id,t.styles,[]);this.sharedStylesHost.addStyles(r),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}},e.prototype.begin=function(){},e.prototype.end=function(){},e}(),ec=function(){function e(e){this.eventManager=e,this.data=Object.create(null)}return e.prototype.destroy=function(){},e.prototype.createElement=function(e,t){return t?document.createElementNS(Gu[t]||t,e):document.createElement(e)},e.prototype.createComment=function(e){return document.createComment(e)},e.prototype.createText=function(e){return document.createTextNode(e)},e.prototype.appendChild=function(e,t){e.appendChild(t)},e.prototype.insertBefore=function(e,t,n){e&&e.insertBefore(t,n)},e.prototype.removeChild=function(e,t){e&&e.removeChild(t)},e.prototype.selectRootElement=function(e,t){var n="string"==typeof e?document.querySelector(e):e;if(!n)throw new Error('The selector "'+e+'" did not match any elements');return t||(n.textContent=""),n},e.prototype.parentNode=function(e){return e.parentNode},e.prototype.nextSibling=function(e){return e.nextSibling},e.prototype.setAttribute=function(e,t,n,r){if(r){t=r+":"+t;var o=Gu[r];o?e.setAttributeNS(o,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)},e.prototype.removeAttribute=function(e,t,n){if(n){var r=Gu[n];r?e.removeAttributeNS(r,t):e.removeAttribute(n+":"+t)}else e.removeAttribute(t)},e.prototype.addClass=function(e,t){e.classList.add(t)},e.prototype.removeClass=function(e,t){e.classList.remove(t)},e.prototype.setStyle=function(e,t,n,r){r&ln.DashCase?e.style.setProperty(t,n,r&ln.Important?"important":""):e.style[t]=n},e.prototype.removeStyle=function(e,t,n){n&ln.DashCase?e.style.removeProperty(t):e.style[t]=""},e.prototype.setProperty=function(e,t,n){nc(t,"property"),e[t]=n},e.prototype.setValue=function(e,t){e.nodeValue=t},e.prototype.listen=function(e,t,n){return nc(t,"listener"),"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,Xu(n)):this.eventManager.addEventListener(e,t,Xu(n))},e}(),tc=function(){return"@".charCodeAt(0)}();function nc(e,t){if(e.charCodeAt(0)===tc)throw new Error("Found the synthetic "+t+" "+e+'. Please include either "BrowserAnimationsModule" or "NoopAnimationsModule" in your application.')}var rc=function(e){function t(t,n,r,o){var i=e.call(this,t)||this;i.component=r;var a=Ju(o+"-"+r.id,r.styles,[]);return n.addStyles(a),i.contentAttr=$u.replace(Qu,o+"-"+r.id),i.hostAttr=Ku.replace(Qu,o+"-"+r.id),i}return o(t,e),t.prototype.applyToHost=function(t){e.prototype.setAttribute.call(this,t,this.hostAttr,"")},t.prototype.createElement=function(t,n){var r=e.prototype.createElement.call(this,t,n);return e.prototype.setAttribute.call(this,r,this.contentAttr,""),r},t}(ec),oc=function(e){function t(t,n,r,o){var i=e.call(this,t)||this;i.sharedStylesHost=n,i.hostEl=r,i.component=o,i.shadowRoot=o.encapsulation===tt.ShadowDom?r.attachShadow({mode:"open"}):r.createShadowRoot(),i.sharedStylesHost.addHost(i.shadowRoot);for(var a=Ju(o.id,o.styles,[]),s=0;s<a.length;s++){var u=document.createElement("style");u.textContent=a[s],i.shadowRoot.appendChild(u)}return i}return o(t,e),t.prototype.nodeOrShadowRoot=function(e){return e===this.hostEl?this.shadowRoot:e},t.prototype.destroy=function(){this.sharedStylesHost.removeHost(this.shadowRoot)},t.prototype.appendChild=function(t,n){return e.prototype.appendChild.call(this,this.nodeOrShadowRoot(t),n)},t.prototype.insertBefore=function(t,n,r){return e.prototype.insertBefore.call(this,this.nodeOrShadowRoot(t),n,r)},t.prototype.removeChild=function(t,n){return e.prototype.removeChild.call(this,this.nodeOrShadowRoot(t),n)},t.prototype.parentNode=function(t){return this.nodeOrShadowRoot(e.prototype.parentNode.call(this,this.nodeOrShadowRoot(t)))},t}(ec),ic=function(){return"undefined"!=typeof Zone&&Zone.__symbol__||function(e){return"__zone_symbol__"+e}}(),ac=ic("addEventListener"),sc=ic("removeEventListener"),uc={},cc="__zone_symbol__propagationStopped",lc=function(){var e="undefined"!=typeof Zone&&Zone[ic("BLACK_LISTED_EVENTS")];if(e){var t={};return e.forEach(function(e){t[e]=e}),t}}(),fc=function(e){return!!lc&&lc.hasOwnProperty(e)},pc=function(e){var t=uc[e.type];if(t){var n=this[t];if(n){var r=[e];if(1===n.length)return(a=n[0]).zone!==Zone.current?a.zone.run(a.handler,this,r):a.handler.apply(this,r);for(var o=n.slice(),i=0;i<o.length&&!0!==e[cc];i++){var a;(a=o[i]).zone!==Zone.current?a.zone.run(a.handler,this,r):a.handler.apply(this,r)}}}},hc=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.ngZone=n,r&&function(e){return e===Ts}(r)||o.patchEvent(),o}return o(t,e),t.prototype.patchEvent=function(){if("undefined"!=typeof Event&&Event&&Event.prototype&&!Event.prototype.__zone_symbol__stopImmediatePropagation){var e=Event.prototype.__zone_symbol__stopImmediatePropagation=Event.prototype.stopImmediatePropagation;Event.prototype.stopImmediatePropagation=function(){this&&(this[cc]=!0),e&&e.apply(this,arguments)}}},t.prototype.supports=function(e){return!0},t.prototype.addEventListener=function(e,t,n){var r=this,o=n;if(!e[ac]||$o.isInAngularZone()&&!fc(t))e.addEventListener(t,o,!1);else{var i=uc[t];i||(i=uc[t]=ic("ANGULAR"+t+"FALSE"));var a=e[i],s=a&&a.length>0;a||(a=e[i]=[]);var u=fc(t)?Zone.root:Zone.current;if(0===a.length)a.push({zone:u,handler:o});else{for(var c=!1,l=0;l<a.length;l++)if(a[l].handler===o){c=!0;break}c||a.push({zone:u,handler:o})}s||e[ac](t,pc,!1)}return function(){return r.removeEventListener(e,t,o)}},t.prototype.removeEventListener=function(e,t,n){var r=e[sc];if(!r)return e.removeEventListener.apply(e,[t,n,!1]);var o=uc[t],i=o&&e[o];if(!i)return e.removeEventListener.apply(e,[t,n,!1]);for(var a=!1,s=0;s<i.length;s++)if(i[s].handler===n){a=!0,i.splice(s,1);break}a?0===i.length&&r.apply(e,[t,pc,!1]):e.removeEventListener.apply(e,[t,n,!1])},t}(Bu),dc={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0},vc=new je("HammerGestureConfig"),yc=new je("HammerLoader"),gc=function(){function e(){this.events=[],this.overrides={}}return e.prototype.buildHammer=function(e){var t=new Hammer(e,this.options);for(var n in t.get("pinch").set({enable:!0}),t.get("rotate").set({enable:!0}),this.overrides)t.get(n).set(this.overrides[n]);return t},e}(),mc=function(e){function t(t,n,r,o){var i=e.call(this,t)||this;return i._config=n,i.console=r,i.loader=o,i}return o(t,e),t.prototype.supports=function(e){return!(!dc.hasOwnProperty(e.toLowerCase())&&!this.isCustomEvent(e)||!window.Hammer&&!this.loader&&(this.console.warn('The "'+e+'" event cannot be bound because Hammer.JS is not loaded and no custom loader has been specified.'),1))},t.prototype.addEventListener=function(e,t,n){var r=this,o=this.manager.getZone();if(t=t.toLowerCase(),!window.Hammer&&this.loader){var i=!1,a=function(){i=!0};return this.loader().then(function(){if(!window.Hammer)return r.console.warn("The custom HAMMER_LOADER completed, but Hammer.JS is not present."),void(a=function(){});i||(a=r.addEventListener(e,t,n))}).catch(function(){r.console.warn('The "'+t+'" event cannot be bound because the custom Hammer.JS loader failed.'),a=function(){}}),function(){a()}}return o.runOutsideAngular(function(){var i=r._config.buildHammer(e),a=function(e){o.runGuarded(function(){n(e)})};return i.on(t,a),function(){i.off(t,a),"function"==typeof i.destroy&&i.destroy()}})},t.prototype.isCustomEvent=function(e){return this._config.events.indexOf(e)>-1},t}(Bu),bc=["alt","control","meta","shift"],_c={alt:function(e){return e.altKey},control:function(e){return e.ctrlKey},meta:function(e){return e.metaKey},shift:function(e){return e.shiftKey}},wc=function(e){function t(t){return e.call(this,t)||this}var n;return o(t,e),n=t,t.prototype.supports=function(e){return null!=n.parseEventName(e)},t.prototype.addEventListener=function(e,t,r){var o=n.parseEventName(t),i=n.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(function(){return Tu().onAndCancel(e,o.domEventName,i)})},t.parseEventName=function(e){var t=e.toLowerCase().split("."),r=t.shift();if(0===t.length||"keydown"!==r&&"keyup"!==r)return null;var o=n._normalizeKey(t.pop()),i="";if(bc.forEach(function(e){var n=t.indexOf(e);n>-1&&(t.splice(n,1),i+=e+".")}),i+=o,0!=t.length||0===o.length)return null;var a={};return a.domEventName=r,a.fullKey=i,a},t.getEventFullKey=function(e){var t="",n=Tu().getEventKey(e);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),bc.forEach(function(r){r!=n&&(0,_c[r])(e)&&(t+=r+".")}),t+=n},t.eventCallback=function(e,t,r){return function(o){n.getEventFullKey(o)===e&&r.runGuarded(function(){return t(o)})}},t._normalizeKey=function(e){switch(e){case"esc":return"escape";default:return e}},t}(Bu),Ec=function(){return function(){}}(),Sc=function(e){function t(t){var n=e.call(this)||this;return n._doc=t,n}return o(t,e),t.prototype.sanitize=function(e,t){if(null==t)return null;switch(e){case At.NONE:return t;case At.HTML:return t instanceof Tc?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"HTML"),function(e,t){var n=null;try{yt=yt||new lt(e);var r=t?String(t):"";n=yt.getInertBodyElement(r);var o=5,i=r;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=yt.getInertBodyElement(r)}while(r!==i);var a=new kt,s=a.sanitizeChildren(Rt(n)||n);return ct()&&a.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),s}finally{if(n)for(var u=Rt(n)||n;u.firstChild;)u.removeChild(u.firstChild)}}(this._doc,String(t)));case At.STYLE:return t instanceof kc?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"Style"),function(e){if(!(e=String(e).trim()))return"";var t=e.match(jt);return t&&ht(t[1])===t[1]||e.match(Nt)&&function(e){for(var t=!0,n=!0,r=0;r<e.length;r++){var o=e.charAt(r);"'"===o&&n?t=!t:'"'===o&&t&&(n=!n)}return t&&n}(e)?e:(ct()&&console.warn("WARNING: sanitizing unsafe style value "+e+" (see http://g.co/ng/security#xss)."),"unsafe")}(t));case At.SCRIPT:if(t instanceof xc)return t.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(t,"Script"),new Error("unsafe value used in a script context");case At.URL:return t instanceof Oc||t instanceof Pc?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"URL"),ht(String(t)));case At.RESOURCE_URL:if(t instanceof Oc)return t.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(t,"ResourceURL"),new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext "+e+" (see http://g.co/ng/security#xss)")}},t.prototype.checkNotSafeValue=function(e,t){if(e instanceof Cc)throw new Error("Required a safe "+t+", got a "+e.getTypeName()+" (see http://g.co/ng/security#xss)")},t.prototype.bypassSecurityTrustHtml=function(e){return new Tc(e)},t.prototype.bypassSecurityTrustStyle=function(e){return new kc(e)},t.prototype.bypassSecurityTrustScript=function(e){return new xc(e)},t.prototype.bypassSecurityTrustUrl=function(e){return new Pc(e)},t.prototype.bypassSecurityTrustResourceUrl=function(e){return new Oc(e)},t}(Ec),Cc=function(){function e(e){this.changingThisBreaksApplicationSecurity=e}return e.prototype.toString=function(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"},e}(),Tc=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.getTypeName=function(){return"HTML"},t}(Cc),kc=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.getTypeName=function(){return"Style"},t}(Cc),xc=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.getTypeName=function(){return"Script"},t}(Cc),Pc=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.getTypeName=function(){return"URL"},t}(Cc),Oc=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.getTypeName=function(){return"ResourceURL"},t}(Cc),Rc=ci(Ti,"browser",[{provide:Ao,useValue:"browser"},{provide:Ro,useValue:function(){Iu.makeCurrent(),Uu.init()},multi:!0},{provide:os,useClass:Du,deps:[Cs]},{provide:Cs,useFactory:function(){return document},deps:[]}]);function Ac(){return new at}var Ic=function(){function e(e){if(e)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}var t;return t=e,e.withServerTransition=function(e){return{ngModule:t,providers:[{provide:xo,useValue:e.appId},{provide:Lu,useExisting:xo},Mu]}},e}();"undefined"!=typeof window&&window;var Nc=function(){return function(e,t){this.id=e,this.url=t}}(),jc=function(e){function t(t,n,r,o){void 0===r&&(r="imperative"),void 0===o&&(o=null);var i=e.call(this,t,n)||this;return i.navigationTrigger=r,i.restoredState=o,i}return o(t,e),t.prototype.toString=function(){return"NavigationStart(id: "+this.id+", url: '"+this.url+"')"},t}(Nc),Dc=function(e){function t(t,n,r){var o=e.call(this,t,n)||this;return o.urlAfterRedirects=r,o}return o(t,e),t.prototype.toString=function(){return"NavigationEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"')"},t}(Nc),Lc=function(e){function t(t,n,r){var o=e.call(this,t,n)||this;return o.reason=r,o}return o(t,e),t.prototype.toString=function(){return"NavigationCancel(id: "+this.id+", url: '"+this.url+"')"},t}(Nc),Mc=function(e){function t(t,n,r){var o=e.call(this,t,n)||this;return o.error=r,o}return o(t,e),t.prototype.toString=function(){return"NavigationError(id: "+this.id+", url: '"+this.url+"', error: "+this.error+")"},t}(Nc),Uc=function(e){function t(t,n,r,o){var i=e.call(this,t,n)||this;return i.urlAfterRedirects=r,i.state=o,i}return o(t,e),t.prototype.toString=function(){return"RoutesRecognized(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},t}(Nc),zc=function(e){function t(t,n,r,o){var i=e.call(this,t,n)||this;return i.urlAfterRedirects=r,i.state=o,i}return o(t,e),t.prototype.toString=function(){return"GuardsCheckStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},t}(Nc),Hc=function(e){function t(t,n,r,o,i){var a=e.call(this,t,n)||this;return a.urlAfterRedirects=r,a.state=o,a.shouldActivate=i,a}return o(t,e),t.prototype.toString=function(){return"GuardsCheckEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+", shouldActivate: "+this.shouldActivate+")"},t}(Nc),Vc=function(e){function t(t,n,r,o){var i=e.call(this,t,n)||this;return i.urlAfterRedirects=r,i.state=o,i}return o(t,e),t.prototype.toString=function(){return"ResolveStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},t}(Nc),Fc=function(e){function t(t,n,r,o){var i=e.call(this,t,n)||this;return i.urlAfterRedirects=r,i.state=o,i}return o(t,e),t.prototype.toString=function(){return"ResolveEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},t}(Nc),Zc=function(){function e(e){this.route=e}return e.prototype.toString=function(){return"RouteConfigLoadStart(path: "+this.route.path+")"},e}(),Bc=function(){function e(e){this.route=e}return e.prototype.toString=function(){return"RouteConfigLoadEnd(path: "+this.route.path+")"},e}(),qc=function(){function e(e){this.snapshot=e}return e.prototype.toString=function(){return"ChildActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},e}(),Wc=function(){function e(e){this.snapshot=e}return e.prototype.toString=function(){return"ChildActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},e}(),Gc=function(){function e(e){this.snapshot=e}return e.prototype.toString=function(){return"ActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},e}(),Qc=function(){function e(e){this.snapshot=e}return e.prototype.toString=function(){return"ActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},e}(),Kc=function(){function e(e,t,n){this.routerEvent=e,this.position=t,this.anchor=n}return e.prototype.toString=function(){return"Scroll(anchor: '"+this.anchor+"', position: '"+(this.position?this.position[0]+", "+this.position[1]:null)+"')"},e}(),$c=function(){return function(){}}(),Jc="primary",Xc=function(){function e(e){this.params=e||{}}return e.prototype.has=function(e){return this.params.hasOwnProperty(e)},e.prototype.get=function(e){if(this.has(e)){var t=this.params[e];return Array.isArray(t)?t[0]:t}return null},e.prototype.getAll=function(e){if(this.has(e)){var t=this.params[e];return Array.isArray(t)?t:[t]}return[]},Object.defineProperty(e.prototype,"keys",{get:function(){return Object.keys(this.params)},enumerable:!0,configurable:!0}),e}();function Yc(e){return new Xc(e)}var el="ngNavigationCancelingError";function tl(e){var t=Error("NavigationCancelingError: "+e);return t[el]=!0,t}function nl(e,t,n){var r=n.path.split("/");if(r.length>e.length)return null;if("full"===n.pathMatch&&(t.hasChildren()||r.length<e.length))return null;for(var o={},i=0;i<r.length;i++){var a=r[i],s=e[i];if(a.startsWith(":"))o[a.substring(1)]=s;else if(a!==s.path)return null}return{consumed:e.slice(0,r.length),posParams:o}}var rl=function(){return function(e,t){this.routes=e,this.module=t}}();function ol(e,t){void 0===t&&(t="");for(var n=0;n<e.length;n++){var r=e[n];il(r,al(t,r))}}function il(e,t){if(!e)throw new Error("\n      Invalid configuration of route '"+t+"': Encountered undefined route.\n      The reason might be an extra comma.\n\n      Example:\n      const routes: Routes = [\n        { path: '', redirectTo: '/dashboard', pathMatch: 'full' },\n        { path: 'dashboard',  component: DashboardComponent },, << two commas\n        { path: 'detail/:id', component: HeroDetailComponent }\n      ];\n    ");if(Array.isArray(e))throw new Error("Invalid configuration of route '"+t+"': Array cannot be specified");if(!e.component&&!e.children&&!e.loadChildren&&e.outlet&&e.outlet!==Jc)throw new Error("Invalid configuration of route '"+t+"': a componentless route without children or loadChildren cannot have a named outlet set");if(e.redirectTo&&e.children)throw new Error("Invalid configuration of route '"+t+"': redirectTo and children cannot be used together");if(e.redirectTo&&e.loadChildren)throw new Error("Invalid configuration of route '"+t+"': redirectTo and loadChildren cannot be used together");if(e.children&&e.loadChildren)throw new Error("Invalid configuration of route '"+t+"': children and loadChildren cannot be used together");if(e.redirectTo&&e.component)throw new Error("Invalid configuration of route '"+t+"': redirectTo and component cannot be used together");if(e.path&&e.matcher)throw new Error("Invalid configuration of route '"+t+"': path and matcher cannot be used together");if(void 0===e.redirectTo&&!e.component&&!e.children&&!e.loadChildren)throw new Error("Invalid configuration of route '"+t+"'. One of the following must be provided: component, redirectTo, children or loadChildren");if(void 0===e.path&&void 0===e.matcher)throw new Error("Invalid configuration of route '"+t+"': routes must have either a path or a matcher specified");if("string"==typeof e.path&&"/"===e.path.charAt(0))throw new Error("Invalid configuration of route '"+t+"': path cannot start with a slash");if(""===e.path&&void 0!==e.redirectTo&&void 0===e.pathMatch)throw new Error("Invalid configuration of route '{path: \""+t+'", redirectTo: "'+e.redirectTo+"\"}': please provide 'pathMatch'. The default value of 'pathMatch' is 'prefix', but often the intent is to use 'full'.");if(void 0!==e.pathMatch&&"full"!==e.pathMatch&&"prefix"!==e.pathMatch)throw new Error("Invalid configuration of route '"+t+"': pathMatch can only be set to 'prefix' or 'full'");e.children&&ol(e.children,t)}function al(e,t){return t?e||t.path?e&&!t.path?e+"/":!e&&t.path?t.path:e+"/"+t.path:"":e}function sl(e){var t=e.children&&e.children.map(sl),n=t?i({},e,{children:t}):i({},e);return!n.component&&(t||n.loadChildren)&&n.outlet&&n.outlet!==Jc&&(n.component=$c),n}function ul(e,t){var n,r=Object.keys(e),o=Object.keys(t);if(!r||!o||r.length!=o.length)return!1;for(var i=0;i<r.length;i++)if(e[n=r[i]]!==t[n])return!1;return!0}function cl(e){return Array.prototype.concat.apply([],e)}function ll(e){return e.length>0?e[e.length-1]:null}function fl(e,t){for(var n in e)e.hasOwnProperty(n)&&t(e[n],n)}function pl(e){return Ut(e)?e:Mt(e)?J(Promise.resolve(e)):Ps(e)}function hl(e,t,n){return n?function(e,t){return ul(e,t)}(e.queryParams,t.queryParams)&&function e(t,n){if(!gl(t.segments,n.segments))return!1;if(t.numberOfChildren!==n.numberOfChildren)return!1;for(var r in n.children){if(!t.children[r])return!1;if(!e(t.children[r],n.children[r]))return!1}return!0}(e.root,t.root):function(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(function(n){return t[n]===e[n]})}(e.queryParams,t.queryParams)&&function e(t,n){return function t(n,r,o){if(n.segments.length>o.length)return!!gl(a=n.segments.slice(0,o.length),o)&&!r.hasChildren();if(n.segments.length===o.length){if(!gl(n.segments,o))return!1;for(var i in r.children){if(!n.children[i])return!1;if(!e(n.children[i],r.children[i]))return!1}return!0}var a=o.slice(0,n.segments.length),s=o.slice(n.segments.length);return!!gl(n.segments,a)&&!!n.children[Jc]&&t(n.children[Jc],r,s)}(t,n,n.segments)}(e.root,t.root)}var dl=function(){function e(e,t,n){this.root=e,this.queryParams=t,this.fragment=n}return Object.defineProperty(e.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=Yc(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return wl.serialize(this)},e}(),vl=function(){function e(e,t){var n=this;this.segments=e,this.children=t,this.parent=null,fl(t,function(e,t){return e.parent=n})}return e.prototype.hasChildren=function(){return this.numberOfChildren>0},Object.defineProperty(e.prototype,"numberOfChildren",{get:function(){return Object.keys(this.children).length},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return El(this)},e}(),yl=function(){function e(e,t){this.path=e,this.parameters=t}return Object.defineProperty(e.prototype,"parameterMap",{get:function(){return this._parameterMap||(this._parameterMap=Yc(this.parameters)),this._parameterMap},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return Pl(this)},e}();function gl(e,t){return e.length===t.length&&e.every(function(e,n){return e.path===t[n].path})}function ml(e,t){var n=[];return fl(e.children,function(e,r){r===Jc&&(n=n.concat(t(e,r)))}),fl(e.children,function(e,r){r!==Jc&&(n=n.concat(t(e,r)))}),n}var bl=function(){return function(){}}(),_l=function(){function e(){}return e.prototype.parse=function(e){var t=new Nl(e);return new dl(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())},e.prototype.serialize=function(e){var t,n;return"/"+function e(t,n){if(!t.hasChildren())return El(t);if(n){var r=t.children[Jc]?e(t.children[Jc],!1):"",o=[];return fl(t.children,function(t,n){n!==Jc&&o.push(n+":"+e(t,!1))}),o.length>0?r+"("+o.join("//")+")":r}var i=ml(t,function(n,r){return r===Jc?[e(t.children[Jc],!1)]:[r+":"+e(n,!1)]});return El(t)+"/("+i.join("//")+")"}(e.root,!0)+(t=e.queryParams,(n=Object.keys(t).map(function(e){var n=t[e];return Array.isArray(n)?n.map(function(t){return Cl(e)+"="+Cl(t)}).join("&"):Cl(e)+"="+Cl(n)})).length?"?"+n.join("&"):"")+("string"==typeof e.fragment?"#"+encodeURI(e.fragment):"")},e}(),wl=new _l;function El(e){return e.segments.map(function(e){return Pl(e)}).join("/")}function Sl(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Cl(e){return Sl(e).replace(/%3B/gi,";")}function Tl(e){return Sl(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function kl(e){return decodeURIComponent(e)}function xl(e){return kl(e.replace(/\+/g,"%20"))}function Pl(e){return""+Tl(e.path)+(t=e.parameters,Object.keys(t).map(function(e){return";"+Tl(e)+"="+Tl(t[e])}).join(""));var t}var Ol=/^[^\/()?;=#]+/;function Rl(e){var t=e.match(Ol);return t?t[0]:""}var Al=/^[^=?&#]+/,Il=/^[^?&#]+/,Nl=function(){function e(e){this.url=e,this.remaining=e}return e.prototype.parseRootSegment=function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new vl([],{}):new vl([],this.parseChildren())},e.prototype.parseQueryParams=function(){var e={};if(this.consumeOptional("?"))do{this.parseQueryParam(e)}while(this.consumeOptional("&"));return e},e.prototype.parseFragment=function(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null},e.prototype.parseChildren=function(){if(""===this.remaining)return{};this.consumeOptional("/");var e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());var t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));var n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(t).length>0)&&(n[Jc]=new vl(e,t)),n},e.prototype.parseSegment=function(){var e=Rl(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '"+this.remaining+"'.");return this.capture(e),new yl(kl(e),this.parseMatrixParams())},e.prototype.parseMatrixParams=function(){for(var e={};this.consumeOptional(";");)this.parseParam(e);return e},e.prototype.parseParam=function(e){var t=Rl(this.remaining);if(t){this.capture(t);var n="";if(this.consumeOptional("=")){var r=Rl(this.remaining);r&&this.capture(n=r)}e[kl(t)]=kl(n)}},e.prototype.parseQueryParam=function(e){var t,n=(t=this.remaining.match(Al))?t[0]:"";if(n){this.capture(n);var r="";if(this.consumeOptional("=")){var o=function(e){var t=e.match(Il);return t?t[0]:""}(this.remaining);o&&this.capture(r=o)}var i=xl(n),a=xl(r);if(e.hasOwnProperty(i)){var s=e[i];Array.isArray(s)||(e[i]=s=[s]),s.push(a)}else e[i]=a}},e.prototype.parseParens=function(e){var t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var n=Rl(this.remaining),r=this.remaining[n.length];if("/"!==r&&")"!==r&&";"!==r)throw new Error("Cannot parse url '"+this.url+"'");var o=void 0;n.indexOf(":")>-1?(o=n.substr(0,n.indexOf(":")),this.capture(o),this.capture(":")):e&&(o=Jc);var i=this.parseChildren();t[o]=1===Object.keys(i).length?i[Jc]:new vl([],i),this.consumeOptional("//")}return t},e.prototype.peekStartsWith=function(e){return this.remaining.startsWith(e)},e.prototype.consumeOptional=function(e){return!!this.peekStartsWith(e)&&(this.remaining=this.remaining.substring(e.length),!0)},e.prototype.capture=function(e){if(!this.consumeOptional(e))throw new Error('Expected "'+e+'".')},e}(),jl=function(){function e(e){this._root=e}return Object.defineProperty(e.prototype,"root",{get:function(){return this._root.value},enumerable:!0,configurable:!0}),e.prototype.parent=function(e){var t=this.pathFromRoot(e);return t.length>1?t[t.length-2]:null},e.prototype.children=function(e){var t=Dl(e,this._root);return t?t.children.map(function(e){return e.value}):[]},e.prototype.firstChild=function(e){var t=Dl(e,this._root);return t&&t.children.length>0?t.children[0].value:null},e.prototype.siblings=function(e){var t=Ll(e,this._root);return t.length<2?[]:t[t.length-2].children.map(function(e){return e.value}).filter(function(t){return t!==e})},e.prototype.pathFromRoot=function(e){return Ll(e,this._root).map(function(e){return e.value})},e}();function Dl(e,t){var n,r;if(e===t.value)return t;try{for(var o=u(t.children),i=o.next();!i.done;i=o.next()){var a=Dl(e,i.value);if(a)return a}}catch(s){n={error:s}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return null}function Ll(e,t){var n,r;if(e===t.value)return[t];try{for(var o=u(t.children),i=o.next();!i.done;i=o.next()){var a=Ll(e,i.value);if(a.length)return a.unshift(t),a}}catch(s){n={error:s}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return[]}var Ml=function(){function e(e,t){this.value=e,this.children=t}return e.prototype.toString=function(){return"TreeNode("+this.value+")"},e}();function Ul(e){var t={};return e&&e.children.forEach(function(e){return t[e.value.outlet]=e}),t}var zl=function(e){function t(t,n){var r=e.call(this,t)||this;return r.snapshot=n,ql(r,t),r}return o(t,e),t.prototype.toString=function(){return this.snapshot.toString()},t}(jl);function Hl(e,t){var n=function(e,t){var n=new Zl([],{},{},"",{},Jc,t,null,e.root,-1,{});return new Bl("",new Ml(n,[]))}(e,t),r=new Os([new yl("",{})]),o=new Os({}),i=new Os({}),a=new Os({}),s=new Os(""),u=new Vl(r,o,a,s,i,Jc,t,n.root);return u.snapshot=n.root,new zl(new Ml(u,[]),n)}var Vl=function(){function e(e,t,n,r,o,i,a,s){this.url=e,this.params=t,this.queryParams=n,this.fragment=r,this.data=o,this.outlet=i,this.component=a,this._futureSnapshot=s}return Object.defineProperty(e.prototype,"routeConfig",{get:function(){return this._futureSnapshot.routeConfig},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=this.params.pipe(G(function(e){return Yc(e)}))),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(G(function(e){return Yc(e)}))),this._queryParamMap},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return this.snapshot?this.snapshot.toString():"Future("+this._futureSnapshot+")"},e}();function Fl(e,t){void 0===t&&(t="emptyOnly");var n=e.pathFromRoot,r=0;if("always"!==t)for(r=n.length-1;r>=1;){var o=n[r],a=n[r-1];if(o.routeConfig&&""===o.routeConfig.path)r--;else{if(a.component)break;r--}}return function(e){return e.reduce(function(e,t){return{params:i({},e.params,t.params),data:i({},e.data,t.data),resolve:i({},e.resolve,t._resolvedData)}},{params:{},data:{},resolve:{}})}(n.slice(r))}var Zl=function(){function e(e,t,n,r,o,i,a,s,u,c,l){this.url=e,this.params=t,this.queryParams=n,this.fragment=r,this.data=o,this.outlet=i,this.component=a,this.routeConfig=s,this._urlSegment=u,this._lastPathIndex=c,this._resolve=l}return Object.defineProperty(e.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=Yc(this.params)),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=Yc(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return"Route(url:'"+this.url.map(function(e){return e.toString()}).join("/")+"', path:'"+(this.routeConfig?this.routeConfig.path:"")+"')"},e}(),Bl=function(e){function t(t,n){var r=e.call(this,n)||this;return r.url=t,ql(r,n),r}return o(t,e),t.prototype.toString=function(){return Wl(this._root)},t}(jl);function ql(e,t){t.value._routerState=e,t.children.forEach(function(t){return ql(e,t)})}function Wl(e){var t=e.children.length>0?" { "+e.children.map(Wl).join(", ")+" } ":"";return""+e.value+t}function Gl(e){if(e.snapshot){var t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,ul(t.queryParams,n.queryParams)||e.queryParams.next(n.queryParams),t.fragment!==n.fragment&&e.fragment.next(n.fragment),ul(t.params,n.params)||e.params.next(n.params),function(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;++n)if(!ul(e[n],t[n]))return!1;return!0}(t.url,n.url)||e.url.next(n.url),ul(t.data,n.data)||e.data.next(n.data)}else e.snapshot=e._futureSnapshot,e.data.next(e._futureSnapshot.data)}function Ql(e,t){var n,r;return ul(e.params,t.params)&&gl(n=e.url,r=t.url)&&n.every(function(e,t){return ul(e.parameters,r[t].parameters)})&&!(!e.parent!=!t.parent)&&(!e.parent||Ql(e.parent,t.parent))}function Kl(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function $l(e,t,n,r,o){var i={};return r&&fl(r,function(e,t){i[t]=Array.isArray(e)?e.map(function(e){return""+e}):""+e}),new dl(n.root===e?t:function e(t,n,r){var o={};return fl(t.children,function(t,i){o[i]=t===n?r:e(t,n,r)}),new vl(t.segments,o)}(n.root,e,t),i,o)}var Jl=function(){function e(e,t,n){if(this.isAbsolute=e,this.numberOfDoubleDots=t,this.commands=n,e&&n.length>0&&Kl(n[0]))throw new Error("Root segment cannot have matrix parameters");var r=n.find(function(e){return"object"==typeof e&&null!=e&&e.outlets});if(r&&r!==ll(n))throw new Error("{outlets:{}} has to be the last command")}return e.prototype.toRoot=function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]},e}(),Xl=function(){return function(e,t,n){this.segmentGroup=e,this.processChildren=t,this.index=n}}();function Yl(e){return"object"==typeof e&&null!=e&&e.outlets?e.outlets[Jc]:""+e}function ef(e,t,n){if(e||(e=new vl([],{})),0===e.segments.length&&e.hasChildren())return tf(e,t,n);var r=function(e,t,n){for(var r=0,o=t,i={match:!1,pathIndex:0,commandIndex:0};o<e.segments.length;){if(r>=n.length)return i;var a=e.segments[o],s=Yl(n[r]),u=r<n.length-1?n[r+1]:null;if(o>0&&void 0===s)break;if(s&&u&&"object"==typeof u&&void 0===u.outlets){if(!af(s,u,a))return i;r+=2}else{if(!af(s,{},a))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}(e,t,n),o=n.slice(r.commandIndex);if(r.match&&r.pathIndex<e.segments.length){var i=new vl(e.segments.slice(0,r.pathIndex),{});return i.children[Jc]=new vl(e.segments.slice(r.pathIndex),e.children),tf(i,0,o)}return r.match&&0===o.length?new vl(e.segments,{}):r.match&&!e.hasChildren()?nf(e,t,n):r.match?tf(e,0,o):nf(e,t,n)}function tf(e,t,n){if(0===n.length)return new vl(e.segments,{});var r=function(e){var t,n;return"object"!=typeof e[0]?((t={})[Jc]=e,t):void 0===e[0].outlets?((n={})[Jc]=e,n):e[0].outlets}(n),o={};return fl(r,function(n,r){null!==n&&(o[r]=ef(e.children[r],t,n))}),fl(e.children,function(e,t){void 0===r[t]&&(o[t]=e)}),new vl(e.segments,o)}function nf(e,t,n){for(var r=e.segments.slice(0,t),o=0;o<n.length;){if("object"==typeof n[o]&&void 0!==n[o].outlets){var i=rf(n[o].outlets);return new vl(r,i)}if(0===o&&Kl(n[0]))r.push(new yl(e.segments[t].path,n[0])),o++;else{var a=Yl(n[o]),s=o<n.length-1?n[o+1]:null;a&&s&&Kl(s)?(r.push(new yl(a,of(s))),o+=2):(r.push(new yl(a,{})),o++)}}return new vl(r,{})}function rf(e){var t={};return fl(e,function(e,n){null!==e&&(t[n]=nf(new vl([],{}),0,e))}),t}function of(e){var t={};return fl(e,function(e,n){return t[n]=""+e}),t}function af(e,t,n){return e==n.path&&ul(t,n.parameters)}var sf=function(){function e(e,t,n,r){this.routeReuseStrategy=e,this.futureState=t,this.currState=n,this.forwardEvent=r}return e.prototype.activate=function(e){var t=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,n,e),Gl(this.futureState.root),this.activateChildRoutes(t,n,e)},e.prototype.deactivateChildRoutes=function(e,t,n){var r=this,o=Ul(t);e.children.forEach(function(e){var t=e.value.outlet;r.deactivateRoutes(e,o[t],n),delete o[t]}),fl(o,function(e,t){r.deactivateRouteAndItsChildren(e,n)})},e.prototype.deactivateRoutes=function(e,t,n){var r=e.value,o=t?t.value:null;if(r===o)if(r.component){var i=n.getContext(r.outlet);i&&this.deactivateChildRoutes(e,t,i.children)}else this.deactivateChildRoutes(e,t,n);else o&&this.deactivateRouteAndItsChildren(t,n)},e.prototype.deactivateRouteAndItsChildren=function(e,t){this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,t):this.deactivateRouteAndOutlet(e,t)},e.prototype.detachAndStoreRouteSubtree=function(e,t){var n=t.getContext(e.value.outlet);if(n&&n.outlet){var r=n.outlet.detach(),o=n.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:r,route:e,contexts:o})}},e.prototype.deactivateRouteAndOutlet=function(e,t){var n=this,r=t.getContext(e.value.outlet);if(r){var o=Ul(e),i=e.value.component?r.children:t;fl(o,function(e,t){return n.deactivateRouteAndItsChildren(e,i)}),r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated())}},e.prototype.activateChildRoutes=function(e,t,n){var r=this,o=Ul(t);e.children.forEach(function(e){r.activateRoutes(e,o[e.value.outlet],n),r.forwardEvent(new Qc(e.value.snapshot))}),e.children.length&&this.forwardEvent(new Wc(e.value.snapshot))},e.prototype.activateRoutes=function(e,t,n){var r=e.value,o=t?t.value:null;if(Gl(r),r===o)if(r.component){var i=n.getOrCreateContext(r.outlet);this.activateChildRoutes(e,t,i.children)}else this.activateChildRoutes(e,t,n);else if(r.component)if(i=n.getOrCreateContext(r.outlet),this.routeReuseStrategy.shouldAttach(r.snapshot)){var a=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),i.children.onOutletReAttached(a.contexts),i.attachRef=a.componentRef,i.route=a.route.value,i.outlet&&i.outlet.attach(a.componentRef,a.route.value),uf(a.route)}else{var s=function(e){for(var t=r.snapshot.parent;t;t=t.parent){var n=t.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig;if(n&&n.component)return null}return null}(),u=s?s.module.componentFactoryResolver:null;i.attachRef=null,i.route=r,i.resolver=u,i.outlet&&i.outlet.activateWith(r,u),this.activateChildRoutes(e,null,i.children)}else this.activateChildRoutes(e,null,n)},e}();function uf(e){Gl(e.value),e.children.forEach(uf)}function cf(e){return"function"==typeof e}function lf(e){return e instanceof dl}var ff=function(){return function(e){this.segmentGroup=e||null}}(),pf=function(){return function(e){this.urlTree=e}}();function hf(e){return new O(function(t){return t.error(new ff(e))})}function df(e){return new O(function(t){return t.error(new pf(e))})}function vf(e){return new O(function(t){return t.error(new Error("Only absolute redirects can have named outlets. redirectTo: '"+e+"'"))})}var yf=function(){function e(e,t,n,r,o){this.configLoader=t,this.urlSerializer=n,this.urlTree=r,this.config=o,this.allowRedirects=!0,this.ngModule=e.get(nn)}return e.prototype.apply=function(){var e=this;return this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,Jc).pipe(G(function(t){return e.createUrlTree(t,e.urlTree.queryParams,e.urlTree.fragment)})).pipe(tu(function(t){if(t instanceof pf)return e.allowRedirects=!1,e.match(t.urlTree);if(t instanceof ff)throw e.noMatchError(t);throw t}))},e.prototype.match=function(e){var t=this;return this.expandSegmentGroup(this.ngModule,this.config,e.root,Jc).pipe(G(function(n){return t.createUrlTree(n,e.queryParams,e.fragment)})).pipe(tu(function(e){if(e instanceof ff)throw t.noMatchError(e);throw e}))},e.prototype.noMatchError=function(e){return new Error("Cannot match any routes. URL Segment: '"+e.segmentGroup+"'")},e.prototype.createUrlTree=function(e,t,n){var r,o=e.segments.length>0?new vl([],((r={})[Jc]=e,r)):e;return new dl(o,t,n)},e.prototype.expandSegmentGroup=function(e,t,n,r){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(e,t,n).pipe(G(function(e){return new vl([],e)})):this.expandSegment(e,n,t,n.segments,r,!0)},e.prototype.expandChildren=function(e,t,n){var r=this;return function(n,o){if(0===Object.keys(n).length)return Ps({});var i=[],a=[],s={};return fl(n,function(n,o){var u,c,l=(u=o,c=n,r.expandSegmentGroup(e,t,c,u)).pipe(G(function(e){return s[o]=e}));o===Jc?i.push(l):a.push(l)}),Ps.apply(null,i.concat(a)).pipe(Us(),eu(),G(function(){return s}))}(n.children)},e.prototype.expandSegment=function(e,t,n,r,o,i){var a=this;return Ps.apply(void 0,l(n)).pipe(G(function(s){return a.expandSegmentAgainstRoute(e,t,n,s,r,o,i).pipe(tu(function(e){if(e instanceof ff)return Ps(null);throw e}))}),Us(),su(function(e){return!!e}),tu(function(e,n){if(e instanceof As||"EmptyError"===e.name){if(a.noLeftoversInUrl(t,r,o))return Ps(new vl([],{}));throw new ff(t)}throw e}))},e.prototype.noLeftoversInUrl=function(e,t,n){return 0===t.length&&!e.children[n]},e.prototype.expandSegmentAgainstRoute=function(e,t,n,r,o,i,a){return _f(r)!==i?hf(t):void 0===r.redirectTo?this.matchSegmentAgainstRoute(e,t,r,o):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(e,t,n,r,o,i):hf(t)},e.prototype.expandSegmentAgainstRouteUsingRedirect=function(e,t,n,r,o,i){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(e,n,r,i):this.expandRegularSegmentAgainstRouteUsingRedirect(e,t,n,r,o,i)},e.prototype.expandWildCardWithParamsAgainstRouteUsingRedirect=function(e,t,n,r){var o=this,i=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?df(i):this.lineralizeSegments(n,i).pipe(X(function(n){var i=new vl(n,{});return o.expandSegment(e,i,t,n,r,!1)}))},e.prototype.expandRegularSegmentAgainstRouteUsingRedirect=function(e,t,n,r,o,i){var a=this,s=gf(t,r,o),u=s.consumedSegments,c=s.lastChild,l=s.positionalParamSegments;if(!s.matched)return hf(t);var f=this.applyRedirectCommands(u,r.redirectTo,l);return r.redirectTo.startsWith("/")?df(f):this.lineralizeSegments(r,f).pipe(X(function(r){return a.expandSegment(e,t,n,r.concat(o.slice(c)),i,!1)}))},e.prototype.matchSegmentAgainstRoute=function(e,t,n,r){var o=this;if("**"===n.path)return n.loadChildren?this.configLoader.load(e.injector,n).pipe(G(function(e){return n._loadedConfig=e,new vl(r,{})})):Ps(new vl(r,{}));var a=gf(t,n,r),s=a.consumedSegments,c=a.lastChild;if(!a.matched)return hf(t);var l=r.slice(c);return this.getChildConfig(e,n,r).pipe(X(function(e){var n=e.module,r=e.routes,a=function(e,t,n,r){return n.length>0&&function(e,t,n){return r.some(function(n){return bf(e,t,n)&&_f(n)!==Jc})}(e,n)?{segmentGroup:mf(new vl(t,function(e,t){var n,r,o={};o[Jc]=t;try{for(var i=u(e),a=i.next();!a.done;a=i.next()){var s=a.value;""===s.path&&_f(s)!==Jc&&(o[_f(s)]=new vl([],{}))}}catch(c){n={error:c}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return o}(r,new vl(n,e.children)))),slicedSegments:[]}:0===n.length&&function(e,t,n){return r.some(function(n){return bf(e,t,n)})}(e,n)?{segmentGroup:mf(new vl(e.segments,function(e,t,n,r){var o,a,s={};try{for(var c=u(n),l=c.next();!l.done;l=c.next()){var f=l.value;bf(e,t,f)&&!r[_f(f)]&&(s[_f(f)]=new vl([],{}))}}catch(p){o={error:p}}finally{try{l&&!l.done&&(a=c.return)&&a.call(c)}finally{if(o)throw o.error}}return i({},r,s)}(e,n,r,e.children))),slicedSegments:n}:{segmentGroup:e,slicedSegments:n}}(t,s,l,r),c=a.segmentGroup,f=a.slicedSegments;return 0===f.length&&c.hasChildren()?o.expandChildren(n,r,c).pipe(G(function(e){return new vl(s,e)})):0===r.length&&0===f.length?Ps(new vl(s,{})):o.expandSegment(n,c,r,f,Jc,!0).pipe(G(function(e){return new vl(s.concat(e.segments),e.children)}))}))},e.prototype.getChildConfig=function(e,t,n){var r=this;return t.children?Ps(new rl(t.children,e)):t.loadChildren?void 0!==t._loadedConfig?Ps(t._loadedConfig):function(e,t,n){var r,o=t.canLoad;return o&&0!==o.length?J(o).pipe(G(function(r){var o,i=e.get(r);if(function(e){return e&&cf(e.canLoad)}(i))o=i.canLoad(t,n);else{if(!cf(i))throw new Error("Invalid CanLoad guard");o=i(t,n)}return pl(o)})).pipe(Us(),(r=function(e){return!0===e},function(e){return e.lift(new uu(r,void 0,e))})):Ps(!0)}(e.injector,t,n).pipe(X(function(n){return n?r.configLoader.load(e.injector,t).pipe(G(function(e){return t._loadedConfig=e,e})):function(e){return new O(function(t){return t.error(tl("Cannot load children because the guard of the route \"path: '"+e.path+"'\" returned false"))})}(t)})):Ps(new rl([],e))},e.prototype.lineralizeSegments=function(e,t){for(var n=[],r=t.root;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return Ps(n);if(r.numberOfChildren>1||!r.children[Jc])return vf(e.redirectTo);r=r.children[Jc]}},e.prototype.applyRedirectCommands=function(e,t,n){return this.applyRedirectCreatreUrlTree(t,this.urlSerializer.parse(t),e,n)},e.prototype.applyRedirectCreatreUrlTree=function(e,t,n,r){var o=this.createSegmentGroup(e,t.root,n,r);return new dl(o,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)},e.prototype.createQueryParams=function(e,t){var n={};return fl(e,function(e,r){if("string"==typeof e&&e.startsWith(":")){var o=e.substring(1);n[r]=t[o]}else n[r]=e}),n},e.prototype.createSegmentGroup=function(e,t,n,r){var o=this,i=this.createSegments(e,t.segments,n,r),a={};return fl(t.children,function(t,i){a[i]=o.createSegmentGroup(e,t,n,r)}),new vl(i,a)},e.prototype.createSegments=function(e,t,n,r){var o=this;return t.map(function(t){return t.path.startsWith(":")?o.findPosParam(e,t,r):o.findOrReturn(t,n)})},e.prototype.findPosParam=function(e,t,n){var r=n[t.path.substring(1)];if(!r)throw new Error("Cannot redirect to '"+e+"'. Cannot find '"+t.path+"'.");return r},e.prototype.findOrReturn=function(e,t){var n,r,o=0;try{for(var i=u(t),a=i.next();!a.done;a=i.next()){var s=a.value;if(s.path===e.path)return t.splice(o),s;o++}}catch(c){n={error:c}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return e},e}();function gf(e,t,n){if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||n.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};var r=(t.matcher||nl)(n,e,t);return r?{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,positionalParamSegments:r.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function mf(e){if(1===e.numberOfChildren&&e.children[Jc]){var t=e.children[Jc];return new vl(e.segments.concat(t.segments),t.children)}return e}function bf(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0!==n.redirectTo}function _f(e){return e.outlet||Jc}var wf=function(){return function(e){this.path=e,this.route=this.path[this.path.length-1]}}(),Ef=function(){return function(e,t){this.component=e,this.route=t}}();function Sf(e,t,n){var r=function(e){if(!e)return null;for(var t=e.parent;t;t=t.parent){var n=t.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig}return null}(t);return(r?r.module.injector:n).get(e)}function Cf(e,t,n,r,o){void 0===o&&(o={canDeactivateChecks:[],canActivateChecks:[]});var i=Ul(t);return e.children.forEach(function(e){!function(e,t,n,r,o){void 0===o&&(o={canDeactivateChecks:[],canActivateChecks:[]});var i=e.value,a=t?t.value:null,s=n?n.getContext(e.value.outlet):null;if(a&&i.routeConfig===a.routeConfig){var u=function(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!gl(e.url,t.url);case"pathParamsOrQueryParamsChange":return!gl(e.url,t.url)||!ul(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Ql(e,t)||!ul(e.queryParams,t.queryParams);case"paramsChange":default:return!Ql(e,t)}}(a,i,i.routeConfig.runGuardsAndResolvers);u?o.canActivateChecks.push(new wf(r)):(i.data=a.data,i._resolvedData=a._resolvedData),Cf(e,t,i.component?s?s.children:null:n,r,o),u&&o.canDeactivateChecks.push(new Ef(s&&s.outlet&&s.outlet.component||null,a))}else a&&Tf(t,s,o),o.canActivateChecks.push(new wf(r)),Cf(e,null,i.component?s?s.children:null:n,r,o)}(e,i[e.value.outlet],n,r.concat([e.value]),o),delete i[e.value.outlet]}),fl(i,function(e,t){return Tf(e,n.getContext(t),o)}),o}function Tf(e,t,n){var r=Ul(e),o=e.value;fl(r,function(e,r){Tf(e,o.component?t?t.children.getContext(r):null:t,n)}),n.canDeactivateChecks.push(new Ef(o.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,o))}var kf=Symbol("INITIAL_VALUE");function xf(){return lu(function(e){return(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=null,r=null;return M(e[e.length-1])&&(r=e.pop()),"function"==typeof e[e.length-1]&&(n=e.pop()),1===e.length&&f(e[0])&&(e=e[0]),re(e,r).lift(new Ns(n))}).apply(void 0,l(e.map(function(e){return e.pipe(ou(1),function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=e[e.length-1];return M(n)?(e.pop(),function(t){return hu(e,t,n)}):function(t){return hu(e,t)}}(kf))}))).pipe(du(function(e,t){var n=!1;return t.reduce(function(e,r,o){if(e!==kf)return e;if(r===kf&&(n=!0),!n){if(!1===r)return r;if(o===t.length-1||lf(r))return r}return e},e)},kf),zs(function(e){return e!==kf}),G(function(e){return lf(e)?e:!0===e}),ou(1))})}function Pf(e,t){return null!==e&&t&&t(new Gc(e)),Ps(!0)}function Of(e,t){return null!==e&&t&&t(new qc(e)),Ps(!0)}function Rf(e,t,n){var r=t.routeConfig?t.routeConfig.canActivate:null;return r&&0!==r.length?Ps(r.map(function(r){return Ms(function(){var o,i=Sf(r,t,n);if(function(e){return e&&cf(e.canActivate)}(i))o=pl(i.canActivate(t,e));else{if(!cf(i))throw new Error("Invalid CanActivate guard");o=pl(i(t,e))}return o.pipe(su())})})).pipe(xf()):Ps(!0)}function Af(e,t,n){var r=t[t.length-1],o=t.slice(0,t.length-1).reverse().map(function(e){return function(e){var t=e.routeConfig?e.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:e,guards:t}:null}(e)}).filter(function(e){return null!==e}).map(function(t){return Ms(function(){return Ps(t.guards.map(function(o){var i,a=Sf(o,t.node,n);if(function(e){return e&&cf(e.canActivateChild)}(a))i=pl(a.canActivateChild(r,e));else{if(!cf(a))throw new Error("Invalid CanActivateChild guard");i=pl(a(r,e))}return i.pipe(su())})).pipe(xf())})});return Ps(o).pipe(xf())}var If=function(){return function(){}}(),Nf=function(){function e(e,t,n,r,o,i){this.rootComponentType=e,this.config=t,this.urlTree=n,this.url=r,this.paramsInheritanceStrategy=o,this.relativeLinkResolution=i}return e.prototype.recognize=function(){try{var e=Lf(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,t=this.processSegmentGroup(this.config,e,Jc),n=new Zl([],Object.freeze({}),Object.freeze(i({},this.urlTree.queryParams)),this.urlTree.fragment,{},Jc,this.rootComponentType,null,this.urlTree.root,-1,{}),r=new Ml(n,t),o=new Bl(this.url,r);return this.inheritParamsAndData(o._root),Ps(o)}catch(a){return new O(function(e){return e.error(a)})}},e.prototype.inheritParamsAndData=function(e){var t=this,n=e.value,r=Fl(n,this.paramsInheritanceStrategy);n.params=Object.freeze(r.params),n.data=Object.freeze(r.data),e.children.forEach(function(e){return t.inheritParamsAndData(e)})},e.prototype.processSegmentGroup=function(e,t,n){return 0===t.segments.length&&t.hasChildren()?this.processChildren(e,t):this.processSegment(e,t,t.segments,n)},e.prototype.processChildren=function(e,t){var n,r=this,o=ml(t,function(t,n){return r.processSegmentGroup(e,t,n)});return n={},o.forEach(function(e){var t=n[e.value.outlet];if(t){var r=t.url.map(function(e){return e.toString()}).join("/"),o=e.value.url.map(function(e){return e.toString()}).join("/");throw new Error("Two segments cannot have the same outlet name: '"+r+"' and '"+o+"'.")}n[e.value.outlet]=e.value}),o.sort(function(e,t){return e.value.outlet===Jc?-1:t.value.outlet===Jc?1:e.value.outlet.localeCompare(t.value.outlet)}),o},e.prototype.processSegment=function(e,t,n,r){var o,i;try{for(var a=u(e),s=a.next();!s.done;s=a.next()){var c=s.value;try{return this.processSegmentAgainstRoute(c,t,n,r)}catch(l){if(!(l instanceof If))throw l}}}catch(f){o={error:f}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(o)throw o.error}}if(this.noLeftoversInUrl(t,n,r))return[];throw new If},e.prototype.noLeftoversInUrl=function(e,t,n){return 0===t.length&&!e.children[n]},e.prototype.processSegmentAgainstRoute=function(e,t,n,r){if(e.redirectTo)throw new If;if((e.outlet||Jc)!==r)throw new If;var o,a=[],s=[];if("**"===e.path){var u=n.length>0?ll(n).parameters:{};o=new Zl(n,u,Object.freeze(i({},this.urlTree.queryParams)),this.urlTree.fragment,zf(e),r,e.component,e,jf(t),Df(t)+n.length,Hf(e))}else{var c=function(e,t,n){if(""===t.path){if("full"===t.pathMatch&&(e.hasChildren()||n.length>0))throw new If;return{consumedSegments:[],lastChild:0,parameters:{}}}var r=(t.matcher||nl)(n,e,t);if(!r)throw new If;var o={};fl(r.posParams,function(e,t){o[t]=e.path});var a=r.consumed.length>0?i({},o,r.consumed[r.consumed.length-1].parameters):o;return{consumedSegments:r.consumed,lastChild:r.consumed.length,parameters:a}}(t,e,n);a=c.consumedSegments,s=n.slice(c.lastChild),o=new Zl(a,c.parameters,Object.freeze(i({},this.urlTree.queryParams)),this.urlTree.fragment,zf(e),r,e.component,e,jf(t),Df(t)+a.length,Hf(e))}var l=function(e){return e.children?e.children:e.loadChildren?e._loadedConfig.routes:[]}(e),f=Lf(t,a,s,l,this.relativeLinkResolution),p=f.segmentGroup,h=f.slicedSegments;if(0===h.length&&p.hasChildren()){var d=this.processChildren(l,p);return[new Ml(o,d)]}if(0===l.length&&0===h.length)return[new Ml(o,[])];var v=this.processSegment(l,p,h,Jc);return[new Ml(o,v)]},e}();function jf(e){for(var t=e;t._sourceSegment;)t=t._sourceSegment;return t}function Df(e){for(var t=e,n=t._segmentIndexShift?t._segmentIndexShift:0;t._sourceSegment;)n+=(t=t._sourceSegment)._segmentIndexShift?t._segmentIndexShift:0;return n-1}function Lf(e,t,n,r,o){if(n.length>0&&function(e,t,n){return r.some(function(n){return Mf(e,t,n)&&Uf(n)!==Jc})}(e,n)){var a=new vl(t,function(e,t,n,r){var o,i,a={};a[Jc]=r,r._sourceSegment=e,r._segmentIndexShift=t.length;try{for(var s=u(n),c=s.next();!c.done;c=s.next()){var l=c.value;if(""===l.path&&Uf(l)!==Jc){var f=new vl([],{});f._sourceSegment=e,f._segmentIndexShift=t.length,a[Uf(l)]=f}}}catch(p){o={error:p}}finally{try{c&&!c.done&&(i=s.return)&&i.call(s)}finally{if(o)throw o.error}}return a}(e,t,r,new vl(n,e.children)));return a._sourceSegment=e,a._segmentIndexShift=t.length,{segmentGroup:a,slicedSegments:[]}}if(0===n.length&&function(e,t,n){return r.some(function(n){return Mf(e,t,n)})}(e,n)){var s=new vl(e.segments,function(e,t,n,r,o,a){var s,c,l={};try{for(var f=u(r),p=f.next();!p.done;p=f.next()){var h=p.value;if(Mf(e,n,h)&&!o[Uf(h)]){var d=new vl([],{});d._sourceSegment=e,d._segmentIndexShift="legacy"===a?e.segments.length:t.length,l[Uf(h)]=d}}}catch(v){s={error:v}}finally{try{p&&!p.done&&(c=f.return)&&c.call(f)}finally{if(s)throw s.error}}return i({},o,l)}(e,t,n,r,e.children,o));return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:n}}var c=new vl(e.segments,e.children);return c._sourceSegment=e,c._segmentIndexShift=t.length,{segmentGroup:c,slicedSegments:n}}function Mf(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0===n.redirectTo}function Uf(e){return e.outlet||Jc}function zf(e){return e.data||{}}function Hf(e){return e.resolve||{}}function Vf(e,t,n,r){var o=Sf(e,t,r);return pl(o.resolve?o.resolve(t,n):o(t,n))}function Ff(e){return function(t){return t.pipe(lu(function(t){var n=e(t);return n?J(n).pipe(G(function(){return t})):J([t])}))}}var Zf=function(){return function(){}}(),Bf=function(){function e(){}return e.prototype.shouldDetach=function(e){return!1},e.prototype.store=function(e,t){},e.prototype.shouldAttach=function(e){return!1},e.prototype.retrieve=function(e){return null},e.prototype.shouldReuseRoute=function(e,t){return e.routeConfig===t.routeConfig},e}(),qf=new je("ROUTES"),Wf=function(){function e(e,t,n,r){this.loader=e,this.compiler=t,this.onLoadStartListener=n,this.onLoadEndListener=r}return e.prototype.load=function(e,t){var n=this;return this.onLoadStartListener&&this.onLoadStartListener(t),this.loadModuleFactory(t.loadChildren).pipe(G(function(r){n.onLoadEndListener&&n.onLoadEndListener(t);var o=r.create(e);return new rl(cl(o.injector.get(qf)).map(sl),o)}))},e.prototype.loadModuleFactory=function(e){var t=this;return"string"==typeof e?J(this.loader.load(e)):pl(e()).pipe(X(function(e){return e instanceof rn?Ps(e):J(t.compiler.compileModuleAsync(e))}))},e}(),Gf=function(){return function(){}}(),Qf=function(){function e(){}return e.prototype.shouldProcessUrl=function(e){return!0},e.prototype.extract=function(e){return e},e.prototype.merge=function(e,t){return e},e}();function Kf(e){throw e}function $f(e,t,n){return t.parse("/")}function Jf(e,t){return Ps(null)}var Xf=function(){function e(e,t,n,r,o,i,a,s){var u=this;this.rootComponentType=e,this.urlSerializer=t,this.rootContexts=n,this.location=r,this.config=s,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new D,this.errorHandler=Kf,this.malformedUriErrorHandler=$f,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Jf,afterPreactivation:Jf},this.urlHandlingStrategy=new Qf,this.routeReuseStrategy=new Bf,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=o.get(nn),this.console=o.get(No);var c=o.get($o);this.isNgZoneEnabled=c instanceof $o,this.resetConfig(s),this.currentUrlTree=new dl(new vl([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new Wf(i,a,function(e){return u.triggerEvent(new Zc(e))},function(e){return u.triggerEvent(new Bc(e))}),this.routerState=Hl(this.currentUrlTree,this.rootComponentType),this.transitions=new Os({id:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}return e.prototype.setupNavigations=function(e){var t=this,n=this.events;return e.pipe(zs(function(e){return 0!==e.id}),G(function(e){return i({},e,{extractedUrl:t.urlHandlingStrategy.extract(e.rawUrl)})}),lu(function(e){var r,o,a,s,c=!1,l=!1;return Ps(e).pipe(bu(function(e){t.currentNavigation={id:e.id,initialUrl:e.currentRawUrl,extractedUrl:e.extractedUrl,trigger:e.source,extras:e.extras,previousNavigation:t.lastSuccessfulNavigation?i({},t.lastSuccessfulNavigation,{previousNavigation:null}):null}}),lu(function(e){var r,o,a,s,u=!t.navigated||e.extractedUrl.toString()!==t.browserUrlTree.toString();if(("reload"===t.onSameUrlNavigation||u)&&t.urlHandlingStrategy.shouldProcessUrl(e.rawUrl))return Ps(e).pipe(lu(function(e){var r=t.transitions.getValue();return n.next(new jc(e.id,t.serializeUrl(e.extractedUrl),e.source,e.restoredState)),r!==t.transitions.getValue()?Ds:[e]}),lu(function(e){return Promise.resolve(e)}),(r=t.ngModule.injector,o=t.configLoader,a=t.urlSerializer,s=t.config,function(e){return e.pipe(lu(function(e){return function(t,n,r,o,i){return new yf(t,n,r,e.extractedUrl,i).apply()}(r,o,a,0,s).pipe(G(function(t){return i({},e,{urlAfterRedirects:t})}))}))}),bu(function(e){t.currentNavigation=i({},t.currentNavigation,{finalUrl:e.urlAfterRedirects})}),function(e,n,r,o,a){return function(r){return r.pipe(X(function(r){return function(e,t,n,r,o,i){return void 0===o&&(o="emptyOnly"),void 0===i&&(i="legacy"),new Nf(e,t,n,r,o,i).recognize()}(e,n,r.urlAfterRedirects,(s=r.urlAfterRedirects,t.serializeUrl(s)),o,a).pipe(G(function(e){return i({},r,{targetSnapshot:e})}));var s}))}}(t.rootComponentType,t.config,0,t.paramsInheritanceStrategy,t.relativeLinkResolution),bu(function(e){"eager"===t.urlUpdateStrategy&&(e.extras.skipLocationChange||t.setBrowserUrl(e.urlAfterRedirects,!!e.extras.replaceUrl,e.id,e.extras.state),t.browserUrlTree=e.urlAfterRedirects)}),bu(function(e){var r=new Uc(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);n.next(r)}));if(u&&t.rawUrlTree&&t.urlHandlingStrategy.shouldProcessUrl(t.rawUrlTree)){var c=e.extractedUrl,l=e.source,f=e.restoredState,p=e.extras,h=new jc(e.id,t.serializeUrl(c),l,f);n.next(h);var d=Hl(c,t.rootComponentType).snapshot;return Ps(i({},e,{targetSnapshot:d,urlAfterRedirects:c,extras:i({},p,{skipLocationChange:!1,replaceUrl:!1})}))}return t.rawUrlTree=e.rawUrl,t.browserUrlTree=e.urlAfterRedirects,e.resolve(null),Ds}),Ff(function(e){var n=e.extras;return t.hooks.beforePreactivation(e.targetSnapshot,{navigationId:e.id,appliedUrlTree:e.extractedUrl,rawUrlTree:e.rawUrl,skipLocationChange:!!n.skipLocationChange,replaceUrl:!!n.replaceUrl})}),bu(function(e){var n=new zc(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(n)}),G(function(e){return i({},e,{guards:(n=e.targetSnapshot,r=e.currentSnapshot,o=t.rootContexts,a=n._root,Cf(a,r?r._root:null,o,[a.value]))});var n,r,o,a}),function(e,t){return function(n){return n.pipe(X(function(n){var r=n.targetSnapshot,o=n.currentSnapshot,a=n.guards,s=a.canActivateChecks,u=a.canDeactivateChecks;return 0===u.length&&0===s.length?Ps(i({},n,{guardsResult:!0})):function(e,t,n,r){return J(u).pipe(X(function(e){return function(e,t,n,r,o){var i=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return i&&0!==i.length?Ps(i.map(function(i){var a,s=Sf(i,t,o);if(function(e){return e&&cf(e.canDeactivate)}(s))a=pl(s.canDeactivate(e,t,n,r));else{if(!cf(s))throw new Error("Invalid CanDeactivate guard");a=pl(s(e,t,n,r))}return a.pipe(su())})).pipe(xf()):Ps(!0)}(e.component,e.route,n,t,r)}),su(function(e){return!0!==e},!0))}(0,r,o,e).pipe(X(function(n){return n&&"boolean"==typeof n?function(e,t,n,r){return J(s).pipe(gu(function(t){return J([Of(t.route.parent,r),Pf(t.route,r),Af(e,t.path,n),Rf(e,t.route,n)]).pipe(Us(),su(function(e){return!0!==e},!0))}),su(function(e){return!0!==e},!0))}(r,0,e,t):Ps(n)}),G(function(e){return i({},n,{guardsResult:e})}))}))}}(t.ngModule.injector,function(e){return t.triggerEvent(e)}),bu(function(e){if(lf(e.guardsResult)){var n=tl('Redirecting to "'+t.serializeUrl(e.guardsResult)+'"');throw n.url=e.guardsResult,n}}),bu(function(e){var n=new Hc(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot,!!e.guardsResult);t.triggerEvent(n)}),zs(function(e){if(!e.guardsResult){t.resetUrlToCurrentUrlTree();var r=new Lc(e.id,t.serializeUrl(e.extractedUrl),"");return n.next(r),e.resolve(!1),!1}return!0}),Ff(function(e){if(e.guards.canActivateChecks.length)return Ps(e).pipe(bu(function(e){var n=new Vc(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(n)}),(n=t.paramsInheritanceStrategy,r=t.ngModule.injector,function(e){return e.pipe(X(function(e){var t=e.targetSnapshot,o=e.guards.canActivateChecks;return o.length?J(o).pipe(gu(function(e){return function(e,n,r,o){return function(e,t,n,r){var o=Object.keys(e);if(0===o.length)return Ps({});if(1===o.length){var i=o[0];return Vf(e[i],t,n,r).pipe(G(function(e){var t;return(t={})[i]=e,t}))}var a={};return J(o).pipe(X(function(o){return Vf(e[o],t,n,r).pipe(G(function(e){return a[o]=e,e}))})).pipe(eu(),G(function(){return a}))}(e._resolve,e,t,o).pipe(G(function(t){return e._resolvedData=t,e.data=i({},e.data,Fl(e,r).resolve),null}))}(e.route,0,n,r)}),mu(function(e,t){return e}),G(function(t){return e})):Ps(e)}))}),bu(function(e){var n=new Fc(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(n)}));var n,r}),Ff(function(e){var n=e.extras;return t.hooks.afterPreactivation(e.targetSnapshot,{navigationId:e.id,appliedUrlTree:e.extractedUrl,rawUrlTree:e.rawUrl,skipLocationChange:!!n.skipLocationChange,replaceUrl:!!n.replaceUrl})}),G(function(e){var n,r,o,a=(o=function e(t,n,r){if(r&&t.shouldReuseRoute(n.value,r.value.snapshot)){(c=r.value)._futureSnapshot=n.value;var o=function(t,n,r){return n.children.map(function(n){var o,i;try{for(var a=u(r.children),s=a.next();!s.done;s=a.next()){var c=s.value;if(t.shouldReuseRoute(c.value.snapshot,n.value))return e(t,n,c)}}catch(l){o={error:l}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(o)throw o.error}}return e(t,n)})}(t,n,r);return new Ml(c,o)}var i=t.retrieve(n.value);if(i){var a=i.route;return function e(t,n){if(t.value.routeConfig!==n.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(t.children.length!==n.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");n.value._futureSnapshot=t.value;for(var r=0;r<t.children.length;++r)e(t.children[r],n.children[r])}(n,a),a}var s,c=new Vl(new Os((s=n.value).url),new Os(s.params),new Os(s.queryParams),new Os(s.fragment),new Os(s.data),s.outlet,s.component,s);return o=n.children.map(function(n){return e(t,n)}),new Ml(c,o)}(t.routeReuseStrategy,(n=e.targetSnapshot)._root,(r=e.currentRouterState)?r._root:void 0),new zl(o,n));return i({},e,{targetRouterState:a})}),bu(function(e){t.currentUrlTree=e.urlAfterRedirects,t.rawUrlTree=t.urlHandlingStrategy.merge(t.currentUrlTree,e.rawUrl),t.routerState=e.targetRouterState,"deferred"===t.urlUpdateStrategy&&(e.extras.skipLocationChange||t.setBrowserUrl(t.rawUrlTree,!!e.extras.replaceUrl,e.id,e.extras.state),t.browserUrlTree=e.urlAfterRedirects)}),(o=t.rootContexts,a=t.routeReuseStrategy,s=function(e){return t.triggerEvent(e)},G(function(e){return new sf(a,e.targetRouterState,e.currentRouterState,s).activate(o),e})),bu({next:function(){c=!0},complete:function(){c=!0}}),(r=function(){if(!c&&!l){t.resetUrlToCurrentUrlTree();var r=new Lc(e.id,t.serializeUrl(e.extractedUrl),"Navigation ID "+e.id+" is not equal to the current navigation id "+t.navigationId);n.next(r),e.resolve(!1)}t.currentNavigation=null},function(e){return e.lift(new Eu(r))}),tu(function(r){if(l=!0,(s=r)&&s[el]){var o=lf(r.url);o||(t.navigated=!0,t.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl));var i=new Lc(e.id,t.serializeUrl(e.extractedUrl),r.message);n.next(i),e.resolve(!1),o&&t.navigateByUrl(r.url)}else{t.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl);var a=new Mc(e.id,t.serializeUrl(e.extractedUrl),r);n.next(a);try{e.resolve(t.errorHandler(r))}catch(u){e.reject(u)}}var s;return Ds}))}))},e.prototype.resetRootComponentType=function(e){this.rootComponentType=e,this.routerState.root.component=this.rootComponentType},e.prototype.getTransition=function(){var e=this.transitions.value;return e.urlAfterRedirects=this.browserUrlTree,e},e.prototype.setTransition=function(e){this.transitions.next(i({},this.getTransition(),e))},e.prototype.initialNavigation=function(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})},e.prototype.setUpLocationChangeListener=function(){var e=this;this.locationSubscription||(this.locationSubscription=this.location.subscribe(function(t){var n=e.parseUrl(t.url),r="popstate"===t.type?"popstate":"hashchange",o=t.state&&t.state.navigationId?t.state:null;setTimeout(function(){e.scheduleNavigation(n,r,o,{replaceUrl:!0})},0)}))},Object.defineProperty(e.prototype,"url",{get:function(){return this.serializeUrl(this.currentUrlTree)},enumerable:!0,configurable:!0}),e.prototype.getCurrentNavigation=function(){return this.currentNavigation},e.prototype.triggerEvent=function(e){this.events.next(e)},e.prototype.resetConfig=function(e){ol(e),this.config=e.map(sl),this.navigated=!1,this.lastSuccessfulId=-1},e.prototype.ngOnDestroy=function(){this.dispose()},e.prototype.dispose=function(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=null)},e.prototype.createUrlTree=function(e,t){void 0===t&&(t={});var n=t.relativeTo,r=t.queryParams,o=t.fragment,a=t.preserveQueryParams,s=t.queryParamsHandling,u=t.preserveFragment;ct()&&a&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");var c=n||this.routerState.root,f=u?this.currentUrlTree.fragment:o,p=null;if(s)switch(s){case"merge":p=i({},this.currentUrlTree.queryParams,r);break;case"preserve":p=this.currentUrlTree.queryParams;break;default:p=r||null}else p=a?this.currentUrlTree.queryParams:r||null;return null!==p&&(p=this.removeEmptyProps(p)),function(e,t,n,r,o){if(0===n.length)return $l(t.root,t.root,t,r,o);var i=function(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new Jl(!0,0,e);var t=0,n=!1,r=e.reduce(function(e,r,o){if("object"==typeof r&&null!=r){if(r.outlets){var i={};return fl(r.outlets,function(e,t){i[t]="string"==typeof e?e.split("/"):e}),l(e,[{outlets:i}])}if(r.segmentPath)return l(e,[r.segmentPath])}return"string"!=typeof r?l(e,[r]):0===o?(r.split("/").forEach(function(r,o){0==o&&"."===r||(0==o&&""===r?n=!0:".."===r?t++:""!=r&&e.push(r))}),e):l(e,[r])},[]);return new Jl(n,t,r)}(n);if(i.toRoot())return $l(t.root,new vl([],{}),t,r,o);var a=function(e,n,r){if(e.isAbsolute)return new Xl(t.root,!0,0);if(-1===r.snapshot._lastPathIndex)return new Xl(r.snapshot._urlSegment,!0,0);var o=Kl(e.commands[0])?0:1;return function(t,n,i){for(var a=r.snapshot._urlSegment,s=r.snapshot._lastPathIndex+o,u=e.numberOfDoubleDots;u>s;){if(u-=s,!(a=a.parent))throw new Error("Invalid number of '../'");s=a.segments.length}return new Xl(a,!1,s-u)}()}(i,0,e),s=a.processChildren?tf(a.segmentGroup,a.index,i.commands):ef(a.segmentGroup,a.index,i.commands);return $l(a.segmentGroup,s,t,r,o)}(c,this.currentUrlTree,e,p,f)},e.prototype.navigateByUrl=function(e,t){void 0===t&&(t={skipLocationChange:!1}),ct()&&this.isNgZoneEnabled&&!$o.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");var n=lf(e)?e:this.parseUrl(e),r=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(r,"imperative",null,t)},e.prototype.navigate=function(e,t){return void 0===t&&(t={skipLocationChange:!1}),function(e){for(var t=0;t<e.length;t++){var n=e[t];if(null==n)throw new Error("The requested path contains "+n+" segment at index "+t)}}(e),this.navigateByUrl(this.createUrlTree(e,t),t)},e.prototype.serializeUrl=function(e){return this.urlSerializer.serialize(e)},e.prototype.parseUrl=function(e){var t;try{t=this.urlSerializer.parse(e)}catch(n){t=this.malformedUriErrorHandler(n,this.urlSerializer,e)}return t},e.prototype.isActive=function(e,t){if(lf(e))return hl(this.currentUrlTree,e,t);var n=this.parseUrl(e);return hl(this.currentUrlTree,n,t)},e.prototype.removeEmptyProps=function(e){return Object.keys(e).reduce(function(t,n){var r=e[n];return null!=r&&(t[n]=r),t},{})},e.prototype.processNavigations=function(){var e=this;this.navigations.subscribe(function(t){e.navigated=!0,e.lastSuccessfulId=t.id,e.events.next(new Dc(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(e.currentUrlTree))),e.lastSuccessfulNavigation=e.currentNavigation,e.currentNavigation=null,t.resolve(!0)},function(t){e.console.warn("Unhandled Navigation Error: ")})},e.prototype.scheduleNavigation=function(e,t,n,r){var o=this.getTransition();if(o&&"imperative"!==t&&"imperative"===o.source&&o.rawUrl.toString()===e.toString())return Promise.resolve(!0);if(o&&"hashchange"==t&&"popstate"===o.source&&o.rawUrl.toString()===e.toString())return Promise.resolve(!0);if(o&&"popstate"==t&&"hashchange"===o.source&&o.rawUrl.toString()===e.toString())return Promise.resolve(!0);var i=null,a=null,s=new Promise(function(e,t){i=e,a=t}),u=++this.navigationId;return this.setTransition({id:u,source:t,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:e,extras:r,resolve:i,reject:a,promise:s,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),s.catch(function(e){return Promise.reject(e)})},e.prototype.setBrowserUrl=function(e,t,n,r){var o=this.urlSerializer.serialize(e);r=r||{},this.location.isCurrentPathEqualTo(o)||t?this.location.replaceState(o,"",i({},r,{navigationId:n})):this.location.go(o,"",i({},r,{navigationId:n}))},e.prototype.resetStateAndUrl=function(e,t,n){this.routerState=e,this.currentUrlTree=t,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n),this.resetUrlToCurrentUrlTree()},e.prototype.resetUrlToCurrentUrlTree=function(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",{navigationId:this.lastSuccessfulId})},e}(),Yf=function(){return function(){this.outlet=null,this.route=null,this.resolver=null,this.children=new ep,this.attachRef=null}}(),ep=function(){function e(){this.contexts=new Map}return e.prototype.onChildOutletCreated=function(e,t){var n=this.getOrCreateContext(e);n.outlet=t,this.contexts.set(e,n)},e.prototype.onChildOutletDestroyed=function(e){var t=this.getContext(e);t&&(t.outlet=null)},e.prototype.onOutletDeactivated=function(){var e=this.contexts;return this.contexts=new Map,e},e.prototype.onOutletReAttached=function(e){this.contexts=e},e.prototype.getOrCreateContext=function(e){var t=this.getContext(e);return t||(t=new Yf,this.contexts.set(e,t)),t},e.prototype.getContext=function(e){return this.contexts.get(e)||null},e}(),tp=function(){function e(e,t,n,r,o){this.parentContexts=e,this.location=t,this.resolver=n,this.changeDetector=o,this.activated=null,this._activatedRoute=null,this.activateEvents=new Eo,this.deactivateEvents=new Eo,this.name=r||Jc,e.onChildOutletCreated(this.name,this)}return e.prototype.ngOnDestroy=function(){this.parentContexts.onChildOutletDestroyed(this.name)},e.prototype.ngOnInit=function(){if(!this.activated){var e=this.parentContexts.getContext(this.name);e&&e.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.resolver||null))}},Object.defineProperty(e.prototype,"isActivated",{get:function(){return!!this.activated},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"component",{get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"activatedRoute",{get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"activatedRouteData",{get:function(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}},enumerable:!0,configurable:!0}),e.prototype.detach=function(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();var e=this.activated;return this.activated=null,this._activatedRoute=null,e},e.prototype.attach=function(e,t){this.activated=e,this._activatedRoute=t,this.location.insert(e.hostView)},e.prototype.deactivate=function(){if(this.activated){var e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}},e.prototype.activateWith=function(e,t){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=e;var n=(t=t||this.resolver).resolveComponentFactory(e._futureSnapshot.routeConfig.component),r=this.parentContexts.getOrCreateContext(this.name).children,o=new np(e,r,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,o),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)},e}(),np=function(){function e(e,t,n){this.route=e,this.childContexts=t,this.parent=n}return e.prototype.get=function(e,t){return e===Vl?this.route:e===ep?this.childContexts:this.parent.get(e,t)},e}(),rp=function(){return function(){}}(),op=function(){function e(){}return e.prototype.preload=function(e,t){return t().pipe(tu(function(){return Ps(null)}))},e}(),ip=function(){function e(){}return e.prototype.preload=function(e,t){return Ps(null)},e}(),ap=function(){function e(e,t,n,r,o){this.router=e,this.injector=r,this.preloadingStrategy=o,this.loader=new Wf(t,n,function(t){return e.triggerEvent(new Zc(t))},function(t){return e.triggerEvent(new Bc(t))})}return e.prototype.setUpPreloading=function(){var e=this;this.subscription=this.router.events.pipe(zs(function(e){return e instanceof Dc}),gu(function(){return e.preload()})).subscribe(function(){})},e.prototype.preload=function(){var e=this.injector.get(nn);return this.processRoutes(e,this.router.config)},e.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},e.prototype.processRoutes=function(e,t){var n,r,o=[];try{for(var i=u(t),a=i.next();!a.done;a=i.next()){var s=a.value;if(s.loadChildren&&!s.canLoad&&s._loadedConfig){var c=s._loadedConfig;o.push(this.processRoutes(c.module,c.routes))}else s.loadChildren&&!s.canLoad?o.push(this.preloadConfig(e,s)):s.children&&o.push(this.processRoutes(e,s.children))}}catch(l){n={error:l}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return J(o).pipe(ne(),G(function(e){}))},e.prototype.preloadConfig=function(e,t){var n=this;return this.preloadingStrategy.preload(t,function(){return n.loader.load(e.injector,t).pipe(X(function(e){return t._loadedConfig=e,n.processRoutes(e.module,e.routes)}))})},e}(),sp=function(){function e(e,t,n){void 0===n&&(n={}),this.router=e,this.viewportScroller=t,this.options=n,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},n.scrollPositionRestoration=n.scrollPositionRestoration||"disabled",n.anchorScrolling=n.anchorScrolling||"disabled"}return e.prototype.init=function(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()},e.prototype.createScrollEvents=function(){var e=this;return this.router.events.subscribe(function(t){t instanceof jc?(e.store[e.lastId]=e.viewportScroller.getScrollPosition(),e.lastSource=t.navigationTrigger,e.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof Dc&&(e.lastId=t.id,e.scheduleScrollEvent(t,e.router.parseUrl(t.urlAfterRedirects).fragment))})},e.prototype.consumeScrollEvents=function(){var e=this;return this.router.events.subscribe(function(t){t instanceof Kc&&(t.position?"top"===e.options.scrollPositionRestoration?e.viewportScroller.scrollToPosition([0,0]):"enabled"===e.options.scrollPositionRestoration&&e.viewportScroller.scrollToPosition(t.position):t.anchor&&"enabled"===e.options.anchorScrolling?e.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==e.options.scrollPositionRestoration&&e.viewportScroller.scrollToPosition([0,0]))})},e.prototype.scheduleScrollEvent=function(e,t){this.router.triggerEvent(new Kc(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,t))},e.prototype.ngOnDestroy=function(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()},e}(),up=new je("ROUTER_CONFIGURATION"),cp=new je("ROUTER_FORROOT_GUARD"),lp=[us,{provide:bl,useClass:_l},{provide:Xf,useFactory:gp,deps:[hi,bl,ep,us,ze,Co,Vo,qf,up,[Gf,new ye],[Zf,new ye]]},ep,{provide:Vl,useFactory:mp,deps:[Xf]},{provide:Co,useClass:gi},ap,ip,op,{provide:up,useValue:{enableTracing:!1}}];function fp(){return new ui("Router",Xf)}var pp=function(){function e(e,t){}var t;return t=e,e.forRoot=function(e,n){return{ngModule:t,providers:[lp,yp(e),{provide:cp,useFactory:vp,deps:[[Xf,new ye,new me]]},{provide:up,useValue:n||{}},{provide:as,useFactory:dp,deps:[os,[new ve(ss),new ye],up]},{provide:sp,useFactory:hp,deps:[Xf,ks,up]},{provide:rp,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:ip},{provide:ui,multi:!0,useFactory:fp},[bp,{provide:To,multi:!0,useFactory:_p,deps:[bp]},{provide:Ep,useFactory:wp,deps:[bp]},{provide:Io,multi:!0,useExisting:Ep}]]}},e.forChild=function(e){return{ngModule:t,providers:[yp(e)]}},e}();function hp(e,t,n){return n.scrollOffset&&t.setOffset(n.scrollOffset),new sp(e,t,n)}function dp(e,t,n){return void 0===n&&(n={}),n.useHash?new ls(e,t):new fs(e,t)}function vp(e){if(e)throw new Error("RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function yp(e){return[{provide:et,multi:!0,useValue:e},{provide:qf,multi:!0,useValue:e}]}function gp(e,t,n,r,o,i,a,s,u,c,l){void 0===u&&(u={});var f=new Xf(null,t,n,r,o,i,a,cl(s));if(c&&(f.urlHandlingStrategy=c),l&&(f.routeReuseStrategy=l),u.errorHandler&&(f.errorHandler=u.errorHandler),u.malformedUriErrorHandler&&(f.malformedUriErrorHandler=u.malformedUriErrorHandler),u.enableTracing){var p=Tu();f.events.subscribe(function(e){p.logGroup("Router Event: "+e.constructor.name),p.log(e.toString()),p.log(e),p.logGroupEnd()})}return u.onSameUrlNavigation&&(f.onSameUrlNavigation=u.onSameUrlNavigation),u.paramsInheritanceStrategy&&(f.paramsInheritanceStrategy=u.paramsInheritanceStrategy),u.urlUpdateStrategy&&(f.urlUpdateStrategy=u.urlUpdateStrategy),u.relativeLinkResolution&&(f.relativeLinkResolution=u.relativeLinkResolution),f}function mp(e){return e.routerState.root}var bp=function(){function e(e){this.injector=e,this.initNavigation=!1,this.resultOfPreactivationDone=new D}return e.prototype.appInitializer=function(){var e=this;return this.injector.get(is,Promise.resolve(null)).then(function(){var t=null,n=new Promise(function(e){return t=e}),r=e.injector.get(Xf),o=e.injector.get(up);if(e.isLegacyDisabled(o)||e.isLegacyEnabled(o))t(!0);else if("disabled"===o.initialNavigation)r.setUpLocationChangeListener(),t(!0);else{if("enabled"!==o.initialNavigation)throw new Error("Invalid initialNavigation options: '"+o.initialNavigation+"'");r.hooks.afterPreactivation=function(){return e.initNavigation?Ps(null):(e.initNavigation=!0,t(!0),e.resultOfPreactivationDone)},r.initialNavigation()}return n})},e.prototype.bootstrapListener=function(e){var t=this.injector.get(up),n=this.injector.get(ap),r=this.injector.get(sp),o=this.injector.get(Xf),i=this.injector.get(hi);e===i.components[0]&&(this.isLegacyEnabled(t)?o.initialNavigation():this.isLegacyDisabled(t)&&o.setUpLocationChangeListener(),n.setUpPreloading(),r.init(),o.resetRootComponentType(i.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())},e.prototype.isLegacyEnabled=function(e){return"legacy_enabled"===e.initialNavigation||!0===e.initialNavigation||void 0===e.initialNavigation},e.prototype.isLegacyDisabled=function(e){return"legacy_disabled"===e.initialNavigation||!1===e.initialNavigation},e}();function _p(e){return e.appInitializer.bind(e)}function wp(e){return e.bootstrapListener.bind(e)}var Ep=new je("Router Initializer"),Sp=Jn({encapsulation:2,styles:[],data:{}});function Cp(e){return qi(0,[(e()(),Ii(0,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),io(1,212992,null,0,tp,[ep,Nn,Yt,[8,null],kn],null,null)],function(e,t){e(t,1,0)},null)}function Tp(e){return qi(0,[(e()(),Ii(0,0,null,null,1,"ng-component",[],null,null,null,Cp,Sp)),io(1,49152,null,0,$c,[],null,null)],null,null)}var kp=Lr("ng-component",$c,Tp,{},{},[]),xp=n("8Lw7"),Pp=n("oyvS"),Op=n("NLsH"),Rp=function(){function e(){var e=this;this.state={pause:!1,"time-pos":0,duration:0,fullscreen:!1},this.handleKeyDown=function(t){t.preventDefault(),"f"===t.key||"Escape"===t.key&&e.state.fullscreen?e.toggleFullscreen():e.state.duration&&e.mpv.keypress(t)},this.handleMPVReady=function(t){var n=t.observe.bind(t);["pause","time-pos","duration","eof-reached"].forEach(n),e.mpv.property("hwdec","auto"),e.mpv.command("loadfile",Pp.join(__dirname,"tos.mkv"))},this.handlePropertyChange=function(t,n){"time-pos"===t&&e.seeking||("eof-reached"===t&&n?e.mpv.property("time-pos",0):e.state[t]=n)},this.toggleFullscreen=function(){e.state.fullscreen?document.webkitExitFullscreen():e.mpv.fullscreen(),e.state.fullscreen=!e.state.fullscreen},this.togglePause=function(t){t.target.blur(),e.state.duration&&e.mpv.property("pause",!e.state.pause)},this.handleStop=function(t){t.target.blur(),e.mpv.property("pause",!0),e.mpv.command("stop"),e.state["time-pos"]=0,e.state.duration=0},this.handleSeekMouseDown=function(){e.seeking=!0},this.handleSeek=function(t){t.target.blur();var n=+t.target.value;e.state["time-pos"]=n,e.mpv.property("time-pos",n)},this.handleSeekMouseUp=function(){e.seeking=!1},this.handleLoad=function(t){t.target.blur();var n=Op.remote.dialog.showOpenDialog({filters:[{name:"Videos",extensions:["mkv","webm","mp4","mov","avi"]},{name:"All files",extensions:["*"]}]});n&&e.mpv.command("loadfile",n[0])},this.mpv=new xp.MpvJs(this.handleMPVReady,this.handlePropertyChange),this.embedProps=this.mpv.getDefProps(),console.log(this.embedProps),console.log(this.mpv),console.log(this)}return e.prototype.ngOnInit=function(){},e}(),Ap=Jn({encapsulation:0,styles:[[".container[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;height:100%}.player[_ngcontent-%COMP%]{-webkit-box-flex:1;flex:1;min-height:0}.controls[_ngcontent-%COMP%]{display:-webkit-box;display:flex;height:40px}.control[_ngcontent-%COMP%]{width:50px;height:40px;font-size:23px;border:none;outline:0;cursor:pointer;background:#fff;margin-right:5px}.control[_ngcontent-%COMP%]:last-child{margin:0 0 0 5px}.control[_ngcontent-%COMP%]:hover{background:#e3ddd8}.seek[_ngcontent-%COMP%]{-webkit-box-flex:1;flex:1;height:40px;margin:0;cursor:pointer;outline:0}"]],data:{}});function Ip(e){return qi(0,[(e()(),Ii(0,0,null,null,11,"div",[["class","container"]],null,null,null,null,null)),(e()(),Ii(1,0,null,null,2,"embed",[["class","player"]],[[8,"type",0]],[[null,"onmousedown"]],function(e,t,n){var r=!0;return"onmousedown"===t&&(r=!1!==e.component.togglePause&&r),r},null,null)),(t=_s,n=ws,r=[an,Tn,fn],ao(-1,512,null,0,t,n,r)),io(3,278528,null,0,Es,[_s],{ngStyle:[0,"ngStyle"]},null),(e()(),Ii(4,0,null,null,7,"div",[["class","controls"]],null,null,null,null,null)),(e()(),Ii(5,0,null,null,1,"button",[["class","control"],["onClick","{this.togglePause}"]],null,null,null,null,null)),(e()(),Fi(6,null,[" "," "])),(e()(),Ii(7,0,null,null,1,"button",[["class","control"]],null,[[null,"onclick"]],function(e,t,n){var r=!0;return"onclick"===t&&(r=!1!==e.component.handleStop&&r),r},null,null)),(e()(),Fi(-1,null,["\u25a0"])),(e()(),Ii(9,0,null,null,0,"input",[["class","seek"],["type","range"]],[[8,"min",0],[8,"step",0],[8,"max",0],[8,"value",0]],[[null,"onchange"],[null,"onmousedown"],[null,"onmouseup"]],function(e,t,n){var r=!0,o=e.component;return"onchange"===t&&(r=!1!==o.handleSeek&&r),"onmousedown"===t&&(r=!1!==o.handleSeekMouseDown&&r),"onmouseup"===t&&(r=!1!==o.handleSeekMouseUp&&r),r},null,null)),(e()(),Ii(10,0,null,null,1,"button",[["class","control"]],null,[[null,"onclick"]],function(e,t,n){var r=!0;return"onclick"===t&&(r=!1!==e.component.handleLoad&&r),r},null,null)),(e()(),Fi(-1,null,["\u23cf"]))],function(e,t){e(t,3,0,t.component.embedProps.style)},function(e,t){var n=t.component;e(t,1,0,n.embedProps.type),e(t,6,0,n.state.pause?"\u25b6":"\u275a\u275a"),e(t,9,0,0,.1,n.state.duration,n.state["time-pos"])});var t,n,r}var Np=function(){function e(){}return e.prototype.ngOnInit=function(){},e}(),jp=Jn({encapsulation:0,styles:[[""]],data:{}});function Dp(e){return qi(0,[(e()(),Ii(0,0,null,null,1,"app-player",[],null,null,null,Ip,Ap)),io(1,114688,null,0,Rp,[],null,null)],function(e,t){e(t,1,0)},null)}function Lp(e){return qi(0,[(e()(),Ii(0,0,null,null,1,"app-home",[],null,null,null,Dp,jp)),io(1,114688,null,0,Np,[],null,null)],function(e,t){e(t,1,0)},null)}var Mp=Lr("app-home",Np,Lp,{},{},[]);function Up(e,t,n){return 0===n?[t]:(e.push(t),e)}var zp=function(){return function(){}}(),Hp=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.getTranslation=function(e){return Ps({})},t}(zp),Vp=function(){return function(){}}(),Fp=function(){function e(){}return e.prototype.handle=function(e){return e.key},e}(),Zp=function(){return function(){}}(),Bp=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.compile=function(e,t){return e},t.prototype.compileTranslations=function(e,t){return e},t}(Zp);function qp(e){return null!=e}function Wp(e){return e&&"object"==typeof e&&!Array.isArray(e)}var Gp=function(){return function(){}}(),Qp=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.templateMatcher=/{{\s?([^{}\s]*)\s?}}/g,t}return o(t,e),t.prototype.interpolate=function(e,t){return"string"==typeof e?this.interpolateString(e,t):"function"==typeof e?this.interpolateFunction(e,t):e},t.prototype.getValue=function(e,t){var n=t.split(".");t="";do{t+=n.shift(),!qp(e)||!qp(e[t])||"object"!=typeof e[t]&&n.length?n.length?t+=".":e=void 0:(e=e[t],t="")}while(n.length);return e},t.prototype.interpolateFunction=function(e,t){return e(t)},t.prototype.interpolateString=function(e,t){var n=this;return t?e.replace(this.templateMatcher,function(e,r){var o=n.getValue(t,r);return qp(o)?o:e}):e},t}(Gp),Kp=function(){return function(){this.currentLang=this.defaultLang,this.translations={},this.langs=[],this.onTranslationChange=new Eo,this.onLangChange=new Eo,this.onDefaultLangChange=new Eo}}(),$p=new je("USE_STORE"),Jp=new je("USE_DEFAULT_LANG"),Xp=function(){function e(e,t,n,r,o,i,a){void 0===i&&(i=!0),void 0===a&&(a=!1),this.store=e,this.currentLoader=t,this.compiler=n,this.parser=r,this.missingTranslationHandler=o,this.useDefaultLang=i,this.isolate=a,this.pending=!1,this._onTranslationChange=new Eo,this._onLangChange=new Eo,this._onDefaultLangChange=new Eo,this._langs=[],this._translations={},this._translationRequests={}}return Object.defineProperty(e.prototype,"onTranslationChange",{get:function(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onLangChange",{get:function(){return this.isolate?this._onLangChange:this.store.onLangChange},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onDefaultLangChange",{get:function(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"defaultLang",{get:function(){return this.isolate?this._defaultLang:this.store.defaultLang},set:function(e){this.isolate?this._defaultLang=e:this.store.defaultLang=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"currentLang",{get:function(){return this.isolate?this._currentLang:this.store.currentLang},set:function(e){this.isolate?this._currentLang=e:this.store.currentLang=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"langs",{get:function(){return this.isolate?this._langs:this.store.langs},set:function(e){this.isolate?this._langs=e:this.store.langs=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"translations",{get:function(){return this.isolate?this._translations:this.store.translations},set:function(e){this.isolate?this._translations=e:this.store.translations=e},enumerable:!0,configurable:!0}),e.prototype.setDefaultLang=function(e){var t=this;if(e!==this.defaultLang){var n=this.retrieveTranslations(e);void 0!==n?(this.defaultLang||(this.defaultLang=e),n.pipe(ou(1)).subscribe(function(n){t.changeDefaultLang(e)})):this.changeDefaultLang(e)}},e.prototype.getDefaultLang=function(){return this.defaultLang},e.prototype.use=function(e){var t=this;if(e===this.currentLang)return Ps(this.translations[e]);var n=this.retrieveTranslations(e);return void 0!==n?(this.currentLang||(this.currentLang=e),n.pipe(ou(1)).subscribe(function(n){t.changeLang(e)}),n):(this.changeLang(e),Ps(this.translations[e]))},e.prototype.retrieveTranslations=function(e){var t;return void 0===this.translations[e]&&(this._translationRequests[e]=this._translationRequests[e]||this.getTranslation(e),t=this._translationRequests[e]),t},e.prototype.getTranslation=function(e){var t=this;this.pending=!0;var n=this.currentLoader.getTranslation(e).pipe(pe());return this.loadingTranslations=n.pipe(ou(1),G(function(n){return t.compiler.compileTranslations(n,e)}),pe()),this.loadingTranslations.subscribe(function(n){t.translations[e]=n,t.updateLangs(),t.pending=!1},function(e){t.pending=!1}),n},e.prototype.setTranslation=function(e,t,n){void 0===n&&(n=!1),t=this.compiler.compileTranslations(t,e),this.translations[e]=n&&this.translations[e]?function e(t,n){var r=Object.assign({},t);return Wp(t)&&Wp(n)&&Object.keys(n).forEach(function(o){var i,a;Wp(n[o])?o in t?r[o]=e(t[o],n[o]):Object.assign(r,((i={})[o]=n[o],i)):Object.assign(r,((a={})[o]=n[o],a))}),r}(this.translations[e],t):t,this.updateLangs(),this.onTranslationChange.emit({lang:e,translations:this.translations[e]})},e.prototype.getLangs=function(){return this.langs},e.prototype.addLangs=function(e){var t=this;e.forEach(function(e){-1===t.langs.indexOf(e)&&t.langs.push(e)})},e.prototype.updateLangs=function(){this.addLangs(Object.keys(this.translations))},e.prototype.getParsedResult=function(e,t,n){var r,o,i,a,s;if(t instanceof Array){var c={},l=!1;try{for(var f=u(t),p=f.next();!p.done;p=f.next())c[y=p.value]=this.getParsedResult(e,y,n),"function"==typeof c[y].subscribe&&(l=!0)}catch(b){r={error:b}}finally{try{p&&!p.done&&(o=f.return)&&o.call(f)}finally{if(r)throw r.error}}if(l){var h=void 0;try{for(var d=u(t),v=d.next();!v.done;v=d.next()){var y,g="function"==typeof c[y=v.value].subscribe?c[y]:Ps(c[y]);h=void 0===h?g:oe(h,g)}}catch(_){i={error:_}}finally{try{v&&!v.done&&(a=d.return)&&a.call(d)}finally{if(i)throw i.error}}return h.pipe(mu(Up,[]),G(function(e){var n={};return e.forEach(function(e,r){n[t[r]]=e}),n}))}return c}if(e&&(s=this.parser.interpolate(this.parser.getValue(e,t),n)),void 0===s&&this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(s=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],t),n)),void 0===s){var m={key:t,translateService:this};void 0!==n&&(m.interpolateParams=n),s=this.missingTranslationHandler.handle(m)}return void 0!==s?s:t},e.prototype.get=function(e,t){var n=this;if(!qp(e)||!e.length)throw new Error('Parameter "key" required');if(this.pending)return O.create(function(r){var o=function(e){r.next(e),r.complete()},i=function(e){r.error(e)};n.loadingTranslations.subscribe(function(r){"function"==typeof(r=n.getParsedResult(r,e,t)).subscribe?r.subscribe(o,i):o(r)},i)});var r=this.getParsedResult(this.translations[this.currentLang],e,t);return"function"==typeof r.subscribe?r:Ps(r)},e.prototype.stream=function(e,t){var n=this;if(!qp(e)||!e.length)throw new Error('Parameter "key" required');return hu(this.get(e,t),this.onLangChange.pipe(lu(function(r){var o=n.getParsedResult(r.translations,e,t);return"function"==typeof o.subscribe?o:Ps(o)})))},e.prototype.instant=function(e,t){if(!qp(e)||!e.length)throw new Error('Parameter "key" required');var n=this.getParsedResult(this.translations[this.currentLang],e,t);if(void 0!==n.subscribe){if(e instanceof Array){var r={};return e.forEach(function(t,n){r[e[n]]=e[n]}),r}return e}return n},e.prototype.set=function(e,t,n){void 0===n&&(n=this.currentLang),this.translations[n][e]=this.compiler.compile(t,n),this.updateLangs(),this.onTranslationChange.emit({lang:n,translations:this.translations[n]})},e.prototype.changeLang=function(e){this.currentLang=e,this.onLangChange.emit({lang:e,translations:this.translations[e]}),this.defaultLang||this.changeDefaultLang(e)},e.prototype.changeDefaultLang=function(e){this.defaultLang=e,this.onDefaultLangChange.emit({lang:e,translations:this.translations[e]})},e.prototype.reloadLang=function(e){return this.resetLang(e),this.getTranslation(e)},e.prototype.resetLang=function(e){this._translationRequests[e]=void 0,this.translations[e]=void 0},e.prototype.getBrowserLang=function(){if("undefined"!=typeof window&&void 0!==window.navigator){var e=window.navigator.languages?window.navigator.languages[0]:null;return-1!==(e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage).indexOf("-")&&(e=e.split("-")[0]),-1!==e.indexOf("_")&&(e=e.split("_")[0]),e}},e.prototype.getBrowserCultureLang=function(){if("undefined"!=typeof window&&void 0!==window.navigator)return(window.navigator.languages?window.navigator.languages[0]:null)||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage},e}(),Yp=function(){function e(){}return e.forRoot=function(t){return void 0===t&&(t={}),{ngModule:e,providers:[t.loader||{provide:zp,useClass:Hp},t.compiler||{provide:Zp,useClass:Bp},t.parser||{provide:Gp,useClass:Qp},t.missingTranslationHandler||{provide:Vp,useClass:Fp},Kp,{provide:$p,useValue:t.isolate},{provide:Jp,useValue:t.useDefaultLang},Xp]}},e.forChild=function(t){return void 0===t&&(t={}),{ngModule:e,providers:[t.loader||{provide:zp,useClass:Hp},t.compiler||{provide:Zp,useClass:Bp},t.parser||{provide:Gp,useClass:Qp},t.missingTranslationHandler||{provide:Vp,useClass:Fp},{provide:$p,useValue:t.isolate},{provide:Jp,useValue:t.useDefaultLang},Xp]}},e}(),eh=Jn({encapsulation:0,styles:[[""]],data:{}});function th(e){return qi(0,[(e()(),Ii(0,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),io(1,212992,null,0,tp,[ep,Nn,Yt,[8,null],kn],null,null)],function(e,t){e(t,1,0)},null)}function nh(e){return qi(0,[(e()(),Ii(0,0,null,null,1,"app-root",[],null,null,null,th,eh)),io(1,49152,null,0,rs,[ns,Xp],null,null)],null,null)}var rh=Lr("app-root",rs,nh,{},{},[]),oh=function(){function e(){this._accessors=[]}return e.prototype.add=function(e,t){this._accessors.push([e,t])},e.prototype.remove=function(e){for(var t=this._accessors.length-1;t>=0;--t)if(this._accessors[t][1]===e)return void this._accessors.splice(t,1)},e.prototype.select=function(e){var t=this;this._accessors.forEach(function(n){t._isSameGroup(n,e)&&n[1]!==e&&n[1].fireUncheck(e.value)})},e.prototype._isSameGroup=function(e,t){return!!e[0].control&&e[0]._parent===t._control._parent&&e[1].name===t.name},e}(),ih=new je("NgFormSelectorWarning"),ah=function(){return function(){}}(),sh=function(){function e(){}var t;return t=e,e.withConfig=function(e){return{ngModule:t,providers:[{provide:ih,useValue:e.warnOnDeprecatedNgFormSelector}]}},e}(),uh=function(){return function(){}}(),ch=function(){return function(){}}(),lh=function(){function e(e){var t=this;this.normalizedNames=new Map,this.lazyUpdate=null,e?this.lazyInit="string"==typeof e?function(){t.headers=new Map,e.split("\n").forEach(function(e){var n=e.indexOf(":");if(n>0){var r=e.slice(0,n),o=r.toLowerCase(),i=e.slice(n+1).trim();t.maybeSetNormalizedName(r,o),t.headers.has(o)?t.headers.get(o).push(i):t.headers.set(o,[i])}})}:function(){t.headers=new Map,Object.keys(e).forEach(function(n){var r=e[n],o=n.toLowerCase();"string"==typeof r&&(r=[r]),r.length>0&&(t.headers.set(o,r),t.maybeSetNormalizedName(n,o))})}:this.headers=new Map}return e.prototype.has=function(e){return this.init(),this.headers.has(e.toLowerCase())},e.prototype.get=function(e){this.init();var t=this.headers.get(e.toLowerCase());return t&&t.length>0?t[0]:null},e.prototype.keys=function(){return this.init(),Array.from(this.normalizedNames.values())},e.prototype.getAll=function(e){return this.init(),this.headers.get(e.toLowerCase())||null},e.prototype.append=function(e,t){return this.clone({name:e,value:t,op:"a"})},e.prototype.set=function(e,t){return this.clone({name:e,value:t,op:"s"})},e.prototype.delete=function(e,t){return this.clone({name:e,value:t,op:"d"})},e.prototype.maybeSetNormalizedName=function(e,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,e)},e.prototype.init=function(){var t=this;this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(function(e){return t.applyUpdate(e)}),this.lazyUpdate=null))},e.prototype.copyFrom=function(e){var t=this;e.init(),Array.from(e.headers.keys()).forEach(function(n){t.headers.set(n,e.headers.get(n)),t.normalizedNames.set(n,e.normalizedNames.get(n))})},e.prototype.clone=function(t){var n=new e;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n},e.prototype.applyUpdate=function(e){var t=e.name.toLowerCase();switch(e.op){case"a":case"s":var n=e.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(e.name,t);var r=("a"===e.op?this.headers.get(t):void 0)||[];r.push.apply(r,l(n)),this.headers.set(t,r);break;case"d":var o=e.value;if(o){var i=this.headers.get(t);if(!i)return;0===(i=i.filter(function(e){return-1===o.indexOf(e)})).length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,i)}else this.headers.delete(t),this.normalizedNames.delete(t)}},e.prototype.forEach=function(e){var t=this;this.init(),Array.from(this.normalizedNames.keys()).forEach(function(n){return e(t.normalizedNames.get(n),t.headers.get(n))})},e}(),fh=function(){function e(){}return e.prototype.encodeKey=function(e){return ph(e)},e.prototype.encodeValue=function(e){return ph(e)},e.prototype.decodeKey=function(e){return decodeURIComponent(e)},e.prototype.decodeValue=function(e){return decodeURIComponent(e)},e}();function ph(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}var hh=function(){function e(e){var t,n,r,o=this;if(void 0===e&&(e={}),this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new fh,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=(t=e.fromString,n=this.encoder,r=new Map,t.length>0&&t.split("&").forEach(function(e){var t=e.indexOf("="),o=c(-1==t?[n.decodeKey(e),""]:[n.decodeKey(e.slice(0,t)),n.decodeValue(e.slice(t+1))],2),i=o[0],a=o[1],s=r.get(i)||[];s.push(a),r.set(i,s)}),r)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(function(t){var n=e.fromObject[t];o.map.set(t,Array.isArray(n)?n:[n])})):this.map=null}return e.prototype.has=function(e){return this.init(),this.map.has(e)},e.prototype.get=function(e){this.init();var t=this.map.get(e);return t?t[0]:null},e.prototype.getAll=function(e){return this.init(),this.map.get(e)||null},e.prototype.keys=function(){return this.init(),Array.from(this.map.keys())},e.prototype.append=function(e,t){return this.clone({param:e,value:t,op:"a"})},e.prototype.set=function(e,t){return this.clone({param:e,value:t,op:"s"})},e.prototype.delete=function(e,t){return this.clone({param:e,value:t,op:"d"})},e.prototype.toString=function(){var e=this;return this.init(),this.keys().map(function(t){var n=e.encoder.encodeKey(t);return e.map.get(t).map(function(t){return n+"="+e.encoder.encodeValue(t)}).join("&")}).join("&")},e.prototype.clone=function(t){var n=new e({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat([t]),n},e.prototype.init=function(){var e=this;null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(function(t){return e.map.set(t,e.cloneFrom.map.get(t))}),this.updates.forEach(function(t){switch(t.op){case"a":case"s":var n=("a"===t.op?e.map.get(t.param):void 0)||[];n.push(t.value),e.map.set(t.param,n);break;case"d":if(void 0===t.value){e.map.delete(t.param);break}var r=e.map.get(t.param)||[],o=r.indexOf(t.value);-1!==o&&r.splice(o,1),r.length>0?e.map.set(t.param,r):e.map.delete(t.param)}}),this.cloneFrom=this.updates=null)},e}();function dh(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function vh(e){return"undefined"!=typeof Blob&&e instanceof Blob}function yh(e){return"undefined"!=typeof FormData&&e instanceof FormData}var gh=function(){function e(e,t,n,r){var o;if(this.url=t,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase(),function(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==n?n:null,o=r):o=n,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.params&&(this.params=o.params)),this.headers||(this.headers=new lh),this.params){var i=this.params.toString();if(0===i.length)this.urlWithParams=t;else{var a=t.indexOf("?");this.urlWithParams=t+(-1===a?"?":a<t.length-1?"&":"")+i}}else this.params=new hh,this.urlWithParams=t}return e.prototype.serializeBody=function(){return null===this.body?null:dh(this.body)||vh(this.body)||yh(this.body)||"string"==typeof this.body?this.body:this.body instanceof hh?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()},e.prototype.detectContentTypeHeader=function(){return null===this.body?null:yh(this.body)?null:vh(this.body)?this.body.type||null:dh(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof hh?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||Array.isArray(this.body)?"application/json":null},e.prototype.clone=function(t){void 0===t&&(t={});var n=t.method||this.method,r=t.url||this.url,o=t.responseType||this.responseType,i=void 0!==t.body?t.body:this.body,a=void 0!==t.withCredentials?t.withCredentials:this.withCredentials,s=void 0!==t.reportProgress?t.reportProgress:this.reportProgress,u=t.headers||this.headers,c=t.params||this.params;return void 0!==t.setHeaders&&(u=Object.keys(t.setHeaders).reduce(function(e,n){return e.set(n,t.setHeaders[n])},u)),t.setParams&&(c=Object.keys(t.setParams).reduce(function(e,n){return e.set(n,t.setParams[n])},c)),new e(n,r,i,{params:c,headers:u,reportProgress:s,responseType:o,withCredentials:a})},e}(),mh=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}({}),bh=function(){return function(e,t,n){void 0===t&&(t=200),void 0===n&&(n="OK"),this.headers=e.headers||new lh,this.status=void 0!==e.status?e.status:t,this.statusText=e.statusText||n,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}}(),_h=function(e){function t(t){void 0===t&&(t={});var n=e.call(this,t)||this;return n.type=mh.ResponseHeader,n}return o(t,e),t.prototype.clone=function(e){return void 0===e&&(e={}),new t({headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})},t}(bh),wh=function(e){function t(t){void 0===t&&(t={});var n=e.call(this,t)||this;return n.type=mh.Response,n.body=void 0!==t.body?t.body:null,n}return o(t,e),t.prototype.clone=function(e){return void 0===e&&(e={}),new t({body:void 0!==e.body?e.body:this.body,headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})},t}(bh),Eh=function(e){function t(t){var n=e.call(this,t,0,"Unknown Error")||this;return n.name="HttpErrorResponse",n.ok=!1,n.message=n.status>=200&&n.status<300?"Http failure during parsing for "+(t.url||"(unknown url)"):"Http failure response for "+(t.url||"(unknown url)")+": "+t.status+" "+t.statusText,n.error=t.error||null,n}return o(t,e),t}(bh);function Sh(e,t){return{body:t,headers:e.headers,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}var Ch=function(){function e(e){this.handler=e}return e.prototype.request=function(e,t,n){var r,o=this;if(void 0===n&&(n={}),e instanceof gh)r=e;else{var i;i=n.headers instanceof lh?n.headers:new lh(n.headers);var a=void 0;n.params&&(a=n.params instanceof hh?n.params:new hh({fromObject:n.params})),r=new gh(e,t,void 0!==n.body?n.body:null,{headers:i,params:a,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}var s=Ps(r).pipe(gu(function(e){return o.handler.handle(e)}));if(e instanceof gh||"events"===n.observe)return s;var u=s.pipe(zs(function(e){return e instanceof wh}));switch(n.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return u.pipe(G(function(e){if(null!==e.body&&!(e.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return e.body}));case"blob":return u.pipe(G(function(e){if(null!==e.body&&!(e.body instanceof Blob))throw new Error("Response is not a Blob.");return e.body}));case"text":return u.pipe(G(function(e){if(null!==e.body&&"string"!=typeof e.body)throw new Error("Response is not a string.");return e.body}));case"json":default:return u.pipe(G(function(e){return e.body}))}case"response":return u;default:throw new Error("Unreachable: unhandled observe type "+n.observe+"}")}},e.prototype.delete=function(e,t){return void 0===t&&(t={}),this.request("DELETE",e,t)},e.prototype.get=function(e,t){return void 0===t&&(t={}),this.request("GET",e,t)},e.prototype.head=function(e,t){return void 0===t&&(t={}),this.request("HEAD",e,t)},e.prototype.jsonp=function(e,t){return this.request("JSONP",e,{params:(new hh).append(t,"JSONP_CALLBACK"),observe:"body",responseType:"json"})},e.prototype.options=function(e,t){return void 0===t&&(t={}),this.request("OPTIONS",e,t)},e.prototype.patch=function(e,t,n){return void 0===n&&(n={}),this.request("PATCH",e,Sh(n,t))},e.prototype.post=function(e,t,n){return void 0===n&&(n={}),this.request("POST",e,Sh(n,t))},e.prototype.put=function(e,t,n){return void 0===n&&(n={}),this.request("PUT",e,Sh(n,t))},e}(),Th=function(){function e(e,t){this.next=e,this.interceptor=t}return e.prototype.handle=function(e){return this.interceptor.intercept(e,this.next)},e}(),kh=new je("HTTP_INTERCEPTORS"),xh=function(){function e(){}return e.prototype.intercept=function(e,t){return t.handle(e)},e}(),Ph=/^\)\]\}',?\n/,Oh=function(){return function(){}}(),Rh=function(){function e(){}return e.prototype.build=function(){return new XMLHttpRequest},e}(),Ah=function(){function e(e){this.xhrFactory=e}return e.prototype.handle=function(e){var t=this;if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without JsonpClientModule installed.");return new O(function(n){var r=t.xhrFactory.build();if(r.open(e.method,e.urlWithParams),e.withCredentials&&(r.withCredentials=!0),e.headers.forEach(function(e,t){return r.setRequestHeader(e,t.join(","))}),e.headers.has("Accept")||r.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){var o=e.detectContentTypeHeader();null!==o&&r.setRequestHeader("Content-Type",o)}if(e.responseType){var i=e.responseType.toLowerCase();r.responseType="json"!==i?i:"text"}var a=e.serializeBody(),s=null,u=function(){if(null!==s)return s;var t=1223===r.status?204:r.status,n=r.statusText||"OK",o=new lh(r.getAllResponseHeaders()),i=function(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(r)||e.url;return s=new _h({headers:o,status:t,statusText:n,url:i})},c=function(){var t=u(),o=t.headers,i=t.status,a=t.statusText,s=t.url,c=null;204!==i&&(c=void 0===r.response?r.responseText:r.response),0===i&&(i=c?200:0);var l=i>=200&&i<300;if("json"===e.responseType&&"string"==typeof c){var f=c;c=c.replace(Ph,"");try{c=""!==c?JSON.parse(c):null}catch(p){c=f,l&&(l=!1,c={error:p,text:c})}}l?(n.next(new wh({body:c,headers:o,status:i,statusText:a,url:s||void 0})),n.complete()):n.error(new Eh({error:c,headers:o,status:i,statusText:a,url:s||void 0}))},l=function(e){var t=u().url,o=new Eh({error:e,status:r.status||0,statusText:r.statusText||"Unknown Error",url:t||void 0});n.error(o)},f=!1,p=function(t){f||(n.next(u()),f=!0);var o={type:mh.DownloadProgress,loaded:t.loaded};t.lengthComputable&&(o.total=t.total),"text"===e.responseType&&r.responseText&&(o.partialText=r.responseText),n.next(o)},h=function(e){var t={type:mh.UploadProgress,loaded:e.loaded};e.lengthComputable&&(t.total=e.total),n.next(t)};return r.addEventListener("load",c),r.addEventListener("error",l),e.reportProgress&&(r.addEventListener("progress",p),null!==a&&r.upload&&r.upload.addEventListener("progress",h)),r.send(a),n.next({type:mh.Sent}),function(){r.removeEventListener("error",l),r.removeEventListener("load",c),e.reportProgress&&(r.removeEventListener("progress",p),null!==a&&r.upload&&r.upload.removeEventListener("progress",h)),r.abort()}})},e}(),Ih=new je("XSRF_COOKIE_NAME"),Nh=new je("XSRF_HEADER_NAME"),jh=function(){return function(){}}(),Dh=function(){function e(e,t,n){this.doc=e,this.platform=t,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}return e.prototype.getToken=function(){if("server"===this.platform)return null;var e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=bs(e,this.cookieName),this.lastCookieString=e),this.lastToken},e}(),Lh=function(){function e(e,t){this.tokenService=e,this.headerName=t}return e.prototype.intercept=function(e,t){var n=e.url.toLowerCase();if("GET"===e.method||"HEAD"===e.method||n.startsWith("http://")||n.startsWith("https://"))return t.handle(e);var r=this.tokenService.getToken();return null===r||e.headers.has(this.headerName)||(e=e.clone({headers:e.headers.set(this.headerName,r)})),t.handle(e)},e}(),Mh=function(){function e(e,t){this.backend=e,this.injector=t,this.chain=null}return e.prototype.handle=function(e){if(null===this.chain){var t=this.injector.get(kh,[]);this.chain=t.reduceRight(function(e,t){return new Th(e,t)},this.backend)}return this.chain.handle(e)},e}(),Uh=function(){function e(){}var t;return t=e,e.disable=function(){return{ngModule:t,providers:[{provide:Lh,useClass:xh}]}},e.withOptions=function(e){return void 0===e&&(e={}),{ngModule:t,providers:[e.cookieName?{provide:Ih,useValue:e.cookieName}:[],e.headerName?{provide:Nh,useValue:e.headerName}:[]]}},e}(),zh=function(){return function(){}}(),Hh=function(){return function(){}}(),Vh=$a(ts,[rs],function(e){return function(e){for(var t={},n=[],r=!1,o=0;o<e.length;o++){var i=e[o];i.token===Gt&&!0===i.value&&(r=!0),1073741824&i.flags&&n.push(i.token),i.index=o,t[Qn(i.token)]=i}return{factory:null,providersByKey:t,providers:e,modules:n,isRoot:r}}([xr(512,Yt,en,[[8,[kp,Mp,rh]],[3,Yt],nn]),xr(5120,ki,Oi,[[3,ki]]),xr(4608,gs,ms,[ki,[2,ys]]),xr(5120,wo,Ri,[$o]),xr(5120,xo,Po,[]),xr(5120,Cn,xi,[]),xr(5120,Tn,Pi,[]),xr(4608,Ec,Sc,[Cs]),xr(6144,It,null,[Ec]),xr(4608,vc,gc,[]),xr(5120,Fu,function(e,t,n,r,o,i,a,s){return[new hc(e,t,n),new wc(r),new mc(o,i,a,s)]},[Cs,$o,Ao,Cs,Cs,vc,No,[2,yc]]),xr(4608,Zu,Zu,[Fu,$o]),xr(135680,Wu,Wu,[Cs]),xr(4608,Yu,Yu,[Zu,Wu,xo]),xr(6144,cn,null,[Yu]),xr(6144,qu,null,[Wu]),xr(4608,oi,oi,[$o]),xr(4608,oh,oh,[]),xr(4608,jh,Dh,[Cs,Ao,Ih]),xr(4608,Lh,Lh,[jh,Nh]),xr(5120,kh,function(e){return[e]},[Lh]),xr(4608,Rh,Rh,[]),xr(6144,Oh,null,[Rh]),xr(4608,Ah,Ah,[Oh]),xr(6144,ch,null,[Ah]),xr(4608,uh,Mh,[ch,ze]),xr(4608,Ch,Ch,[uh]),xr(5120,Vl,mp,[Xf]),xr(4608,ip,ip,[]),xr(6144,rp,null,[ip]),xr(135680,ap,ap,[Xf,Co,Vo,ze,rp]),xr(4608,op,op,[]),xr(5120,sp,hp,[Xf,ks,up]),xr(5120,Ep,wp,[bp]),xr(5120,Io,function(e){return[e]},[Ep]),xr(5120,zp,es,[Ch]),xr(4608,Zp,Bp,[]),xr(4608,Gp,Qp,[]),xr(4608,Vp,Fp,[]),xr(4608,Kp,Kp,[]),xr(4608,Xp,Xp,[Kp,zp,Zp,Gp,Vp,Jp,$p]),xr(4608,ns,ns,[]),xr(1073742336,Ss,Ss,[]),xr(1024,at,Ac,[]),xr(1024,ui,function(){return[fp()]},[]),xr(512,bp,bp,[ze]),xr(1024,To,function(e,t){return[(n=e,zu("probe",Vu),zu("coreTokens",i({},Hu,(n||[]).reduce(function(e,t){return e[t.name]=t.token,e},{}))),function(){return Vu}),_p(t)];var n},[[2,ui],bp]),xr(512,ko,ko,[[2,To]]),xr(131584,hi,hi,[$o,No,ze,at,Yt,ko]),xr(1073742336,Ai,Ai,[hi]),xr(1073742336,Ic,Ic,[[3,Ic]]),xr(1073742336,ah,ah,[]),xr(1073742336,sh,sh,[]),xr(1073742336,Uh,Uh,[]),xr(1073742336,zh,zh,[]),xr(1024,cp,vp,[[3,Xf]]),xr(512,bl,_l,[]),xr(512,ep,ep,[]),xr(256,up,{useHash:!0},[]),xr(1024,as,dp,[os,[2,ss],up]),xr(512,us,us,[as,os]),xr(512,Vo,Vo,[]),xr(512,Co,gi,[Vo,[2,vi]]),xr(1024,qf,function(){return[[{path:"",component:Np}]]},[]),xr(1024,Xf,gp,[hi,bl,ep,us,ze,Co,Vo,qf,up,[2,Gf],[2,Zf]]),xr(1073742336,pp,pp,[[2,cp],[2,Xf]]),xr(1073742336,Hh,Hh,[]),xr(1073742336,Yp,Yp,[]),xr(1073742336,ts,ts,[]),xr(256,Gt,!0,[]),xr(256,Ih,"XSRF-TOKEN",[]),xr(256,Nh,"X-XSRF-TOKEN",[]),xr(256,$p,void 0,[]),xr(256,Jp,void 0,[])])});Xa.production&&function(){if(ut)throw new Error("Cannot enable prod mode after platform setup.");st=!1}(),Rc().bootstrapModuleFactory(Vh,{preserveWhitespaces:!1}).catch(function(e){return console.error(e)})}},[[0,0]]]);