(window.webpackJsonp=window.webpackJsonp||[]).push([[3],{"0RCu":function(t,e,n){var r,o,i;o=[],void 0===(i="function"==typeof(r=function(){"use strict";var t=function(t){return"getComputedStyle"in window&&"smooth"===window.getComputedStyle(t)["scroll-behavior"]};if("undefined"==typeof window||!("document"in window))return{};var e=function(e,n,r){var o;n=n||999,r||0===r||(r=9);var i=function(t){o=t},a=document.documentElement,s=function(){return e?e.scrollTop:window.scrollY||a.scrollTop},c=function(){return e?Math.min(e.offsetHeight,window.innerHeight):window.innerHeight||a.clientHeight},u=function(t){return e?t.offsetTop:t.getBoundingClientRect().top+s()-a.offsetTop},l=function(){clearTimeout(o),i(0)},h=function(r,o,u){if(l(),t(e||document.body))(e||window).scrollTo(0,r),u&&u();else{var h=s(),p=Math.max(r,0)-h;o=o||Math.min(Math.abs(p),n);var f=(new Date).getTime();!function t(){i(setTimeout((function(){var n=Math.min(((new Date).getTime()-f)/o,1),r=Math.max(Math.floor(h+p*(n<.5?2*n*n:n*(4-2*n)-1)),0);e?e.scrollTop=r:window.scrollTo(0,r),n<1&&c()+r<(e||a).scrollHeight?t():(setTimeout(l,99),u&&u())}),9))}()}},p=function(t,e,n){var o=u(t)-r;return h(o,e,n),o};return{setup:function(t,e){t&&(n=t),(0===e||e)&&(r=e)},to:p,toY:h,intoView:function(t,e,n){var o=t.getBoundingClientRect().height,i=u(t),a=i+o,l=c(),f=s(),d=f+l;i-r<f||o+r>l?p(t,e,n):a+r>d?h(a-l+r,e,n):n&&n()},center:function(t,e,n,r){h(Math.max(u(t)-c()/2+(n||t.getBoundingClientRect().height/2),0),e,r)},stop:l,moving:function(){return!!o},getY:s}},n=e();if("addEventListener"in window&&!t(document.body)&&!window.noZensmooth){"scrollRestoration"in history&&(history.scrollRestoration="manual",window.addEventListener("popstate",(function(t){t.state&&"scrollY"in t.state&&n.toY(t.state.scrollY)}),!1));var r=function(t,e){try{history.replaceState({scrollY:n.getY()},""),history.pushState({scrollY:e},"",window.location.href.split("#")[0]+t)}catch(r){}};window.addEventListener("click",(function(t){for(var e=t.target;e&&"A"!==e.tagName;)e=e.parentNode;if(!(!e||1!==t.which||t.shiftKey||t.metaKey||t.ctrlKey||t.altKey)){var o=e.getAttribute("href")||"";if(0===o.indexOf("#"))if("#"===o)t.preventDefault(),n.toY(0),r("",0);else{var i=e.hash.substring(1),a=document.getElementById(i);a&&(t.preventDefault(),r("#"+i,n.to(a)))}}}),!1)}return{createScroller:e,setup:n.setup,to:n.to,toY:n.toY,intoView:n.intoView,center:n.center,stop:n.stop,moving:n.moving}}())?r.apply(e,o):r)||(t.exports=i)},"0TWp":function(t,e,n){!function(){"use strict";!function(t){var e=t.performance;function n(t){e&&e.mark&&e.mark(t)}function r(t,n){e&&e.measure&&e.measure(t,n)}n("Zone");var o=!0===t.__zone_symbol__forceDuplicateZoneCheck;if(t.Zone){if(o||"function"!=typeof t.Zone.__symbol__)throw new Error("Zone already loaded.");return t.Zone}var i,a=function(){function e(t,e){this._parent=t,this._name=e?e.name||"unnamed":"<root>",this._properties=e&&e.properties||{},this._zoneDelegate=new c(this,this._parent&&this._parent._zoneDelegate,e)}return e.assertZonePatched=function(){if(t.Promise!==P.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(e,"root",{get:function(){for(var t=e.current;t.parent;)t=t.parent;return t},enumerable:!0,configurable:!0}),Object.defineProperty(e,"current",{get:function(){return z.zone},enumerable:!0,configurable:!0}),Object.defineProperty(e,"currentTask",{get:function(){return O},enumerable:!0,configurable:!0}),e.__load_patch=function(i,a){if(P.hasOwnProperty(i)){if(o)throw Error("Already loaded patch: "+i)}else if(!t["__Zone_disable_"+i]){var s="Zone:"+i;n(s),P[i]=a(t,e,C),r(s,s)}},Object.defineProperty(e.prototype,"parent",{get:function(){return this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"name",{get:function(){return this._name},enumerable:!0,configurable:!0}),e.prototype.get=function(t){var e=this.getZoneWith(t);if(e)return e._properties[t]},e.prototype.getZoneWith=function(t){for(var e=this;e;){if(e._properties.hasOwnProperty(t))return e;e=e._parent}return null},e.prototype.fork=function(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)},e.prototype.wrap=function(t,e){if("function"!=typeof t)throw new Error("Expecting function got: "+t);var n=this._zoneDelegate.intercept(this,t,e),r=this;return function(){return r.runGuarded(n,this,arguments,e)}},e.prototype.run=function(t,e,n,r){z={parent:z,zone:this};try{return this._zoneDelegate.invoke(this,t,e,n,r)}finally{z=z.parent}},e.prototype.runGuarded=function(t,e,n,r){void 0===e&&(e=null),z={parent:z,zone:this};try{try{return this._zoneDelegate.invoke(this,t,e,n,r)}catch(o){if(this._zoneDelegate.handleError(this,o))throw o}}finally{z=z.parent}},e.prototype.runTask=function(t,e,n){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||m).name+"; Execution: "+this.name+")");if(t.state!==y||t.type!==D&&t.type!==S){var r=t.state!=b;r&&t._transitionTo(b,T),t.runCount++;var o=O;O=t,z={parent:z,zone:this};try{t.type==S&&t.data&&!t.data.isPeriodic&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,t,e,n)}catch(i){if(this._zoneDelegate.handleError(this,i))throw i}}finally{t.state!==y&&t.state!==w&&(t.type==D||t.data&&t.data.isPeriodic?r&&t._transitionTo(T,b):(t.runCount=0,this._updateTaskCount(t,-1),r&&t._transitionTo(y,b,y))),z=z.parent,O=o}}},e.prototype.scheduleTask=function(t){if(t.zone&&t.zone!==this)for(var e=this;e;){if(e===t.zone)throw Error("can not reschedule task to "+this.name+" which is descendants of the original zone "+t.zone.name);e=e.parent}t._transitionTo(_,y);var n=[];t._zoneDelegates=n,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(r){throw t._transitionTo(w,_,y),this._zoneDelegate.handleError(this,r),r}return t._zoneDelegates===n&&this._updateTaskCount(t,1),t.state==_&&t._transitionTo(T,_),t},e.prototype.scheduleMicroTask=function(t,e,n,r){return this.scheduleTask(new u(E,t,e,n,r,void 0))},e.prototype.scheduleMacroTask=function(t,e,n,r,o){return this.scheduleTask(new u(S,t,e,n,r,o))},e.prototype.scheduleEventTask=function(t,e,n,r,o){return this.scheduleTask(new u(D,t,e,n,r,o))},e.prototype.cancelTask=function(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||m).name+"; Execution: "+this.name+")");t._transitionTo(k,T,b);try{this._zoneDelegate.cancelTask(this,t)}catch(e){throw t._transitionTo(w,k),this._zoneDelegate.handleError(this,e),e}return this._updateTaskCount(t,-1),t._transitionTo(y,k),t.runCount=0,t},e.prototype._updateTaskCount=function(t,e){var n=t._zoneDelegates;-1==e&&(t._zoneDelegates=null);for(var r=0;r<n.length;r++)n[r]._updateTaskCount(t.type,e)},e.__symbol__=x,e}(),s={name:"",onHasTask:function(t,e,n,r){return t.hasTask(n,r)},onScheduleTask:function(t,e,n,r){return t.scheduleTask(n,r)},onInvokeTask:function(t,e,n,r,o,i){return t.invokeTask(n,r,o,i)},onCancelTask:function(t,e,n,r){return t.cancelTask(n,r)}},c=function(){function t(t,e,n){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=t,this._parentDelegate=e,this._forkZS=n&&(n&&n.onFork?n:e._forkZS),this._forkDlgt=n&&(n.onFork?e:e._forkDlgt),this._forkCurrZone=n&&(n.onFork?this.zone:e.zone),this._interceptZS=n&&(n.onIntercept?n:e._interceptZS),this._interceptDlgt=n&&(n.onIntercept?e:e._interceptDlgt),this._interceptCurrZone=n&&(n.onIntercept?this.zone:e.zone),this._invokeZS=n&&(n.onInvoke?n:e._invokeZS),this._invokeDlgt=n&&(n.onInvoke?e:e._invokeDlgt),this._invokeCurrZone=n&&(n.onInvoke?this.zone:e.zone),this._handleErrorZS=n&&(n.onHandleError?n:e._handleErrorZS),this._handleErrorDlgt=n&&(n.onHandleError?e:e._handleErrorDlgt),this._handleErrorCurrZone=n&&(n.onHandleError?this.zone:e.zone),this._scheduleTaskZS=n&&(n.onScheduleTask?n:e._scheduleTaskZS),this._scheduleTaskDlgt=n&&(n.onScheduleTask?e:e._scheduleTaskDlgt),this._scheduleTaskCurrZone=n&&(n.onScheduleTask?this.zone:e.zone),this._invokeTaskZS=n&&(n.onInvokeTask?n:e._invokeTaskZS),this._invokeTaskDlgt=n&&(n.onInvokeTask?e:e._invokeTaskDlgt),this._invokeTaskCurrZone=n&&(n.onInvokeTask?this.zone:e.zone),this._cancelTaskZS=n&&(n.onCancelTask?n:e._cancelTaskZS),this._cancelTaskDlgt=n&&(n.onCancelTask?e:e._cancelTaskDlgt),this._cancelTaskCurrZone=n&&(n.onCancelTask?this.zone:e.zone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;var r=n&&n.onHasTask;(r||e&&e._hasTaskZS)&&(this._hasTaskZS=r?n:s,this._hasTaskDlgt=e,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=t,n.onScheduleTask||(this._scheduleTaskZS=s,this._scheduleTaskDlgt=e,this._scheduleTaskCurrZone=this.zone),n.onInvokeTask||(this._invokeTaskZS=s,this._invokeTaskDlgt=e,this._invokeTaskCurrZone=this.zone),n.onCancelTask||(this._cancelTaskZS=s,this._cancelTaskDlgt=e,this._cancelTaskCurrZone=this.zone))}return t.prototype.fork=function(t,e){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,t,e):new a(t,e)},t.prototype.intercept=function(t,e,n){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,t,e,n):e},t.prototype.invoke=function(t,e,n,r,o){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,t,e,n,r,o):e.apply(n,r)},t.prototype.handleError=function(t,e){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,t,e)},t.prototype.scheduleTask=function(t,e){var n=e;if(this._scheduleTaskZS)this._hasTaskZS&&n._zoneDelegates.push(this._hasTaskDlgtOwner),(n=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,t,e))||(n=e);else if(e.scheduleFn)e.scheduleFn(e);else{if(e.type!=E)throw new Error("Task is missing scheduleFn.");v(e)}return n},t.prototype.invokeTask=function(t,e,n,r){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,t,e,n,r):e.callback.apply(n,r)},t.prototype.cancelTask=function(t,e){var n;if(this._cancelTaskZS)n=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,t,e);else{if(!e.cancelFn)throw Error("Task is not cancelable");n=e.cancelFn(e)}return n},t.prototype.hasTask=function(t,e){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,t,e)}catch(n){this.handleError(t,n)}},t.prototype._updateTaskCount=function(t,e){var n=this._taskCounts,r=n[t],o=n[t]=r+e;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:t})},t}(),u=function(){function e(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 c=this;this.invoke=n===D&&i&&i.useG?e.invokeTask:function(){return e.invokeTask.call(t,c,this,arguments)}}return e.invokeTask=function(t,e,n){t||(t=this),I++;try{return t.runCount++,t.zone.runTask(t,e,n)}finally{1==I&&g(),I--}},Object.defineProperty(e.prototype,"zone",{get:function(){return this._zone},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"state",{get:function(){return this._state},enumerable:!0,configurable:!0}),e.prototype.cancelScheduleRequest=function(){this._transitionTo(y,_)},e.prototype._transitionTo=function(t,e,n){if(this._state!==e&&this._state!==n)throw new Error(this.type+" '"+this.source+"': can not transition to '"+t+"', expecting state '"+e+"'"+(n?" or '"+n+"'":"")+", was '"+this._state+"'.");this._state=t,t==y&&(this._zoneDelegates=null)},e.prototype.toString=function(){return this.data&&void 0!==this.data.handleId?this.data.handleId.toString():Object.prototype.toString.call(this)},e.prototype.toJSON=function(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}},e}(),l=x("setTimeout"),h=x("Promise"),p=x("then"),f=[],d=!1;function v(e){if(0===I&&0===f.length)if(i||t[h]&&(i=t[h].resolve(0)),i){var n=i[p];n||(n=i.then),n.call(i,g)}else t[l](g,0);e&&f.push(e)}function g(){if(!d){for(d=!0;f.length;){var t=f;f=[];for(var e=0;e<t.length;e++){var n=t[e];try{n.zone.runTask(n,null,null)}catch(r){C.onUnhandledError(r)}}}C.microtaskDrainDone(),d=!1}}var m={name:"NO ZONE"},y="notScheduled",_="scheduling",T="scheduled",b="running",k="canceling",w="unknown",E="microTask",S="macroTask",D="eventTask",P={},C={symbol:x,currentZoneFrame:function(){return z},onUnhandledError:Z,microtaskDrainDone:Z,scheduleMicroTask:v,showUncaughtError:function(){return!a[x("ignoreConsoleErrorUncaughtError")]},patchEventTarget:function(){return[]},patchOnProperties:Z,patchMethod:function(){return Z},bindArguments:function(){return[]},patchThen:function(){return Z},setNativePromise:function(t){t&&"function"==typeof t.resolve&&(i=t.resolve(0))}},z={parent:null,zone:new a(null,null)},O=null,I=0;function Z(){}function x(t){return"__zone_symbol__"+t}r("Zone","Zone"),t.Zone=a}("undefined"!=typeof window&&window||"undefined"!=typeof self&&self||global);var t=function(t){var e="function"==typeof Symbol&&t[Symbol.iterator],n=0;return e?e.call(t):{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}}};Zone.__load_patch("ZoneAwarePromise",(function(e,n,r){var o=Object.getOwnPropertyDescriptor,i=Object.defineProperty,a=r.symbol,s=[],c=a("Promise"),u=a("then");r.onUnhandledError=function(t){if(r.showUncaughtError()){var e=t&&t.rejection;e?console.error("Unhandled Promise rejection:",e instanceof Error?e.message:e,"; Zone:",t.zone.name,"; Task:",t.task&&t.task.source,"; Value:",e,e instanceof Error?e.stack:void 0):console.error(t)}},r.microtaskDrainDone=function(){for(;s.length;)for(var t=function(){var t=s.shift();try{t.zone.runGuarded((function(){throw t}))}catch(e){h(e)}};s.length;)t()};var l=a("unhandledPromiseRejectionHandler");function h(t){r.onUnhandledError(t);try{var e=n[l];e&&"function"==typeof e&&e.call(this,t)}catch(o){}}function p(t){return t&&t.then}function f(t){return t}function d(t){return D.reject(t)}var v=a("state"),g=a("value"),m=a("finally"),y=a("parentPromiseValue"),_=a("parentPromiseState");function T(t,e){return function(n){try{k(t,e,n)}catch(r){k(t,!1,r)}}}var b=a("currentTaskTrace");function k(t,e,o){var a,c,u=(a=!1,function(t){return function(){a||(a=!0,t.apply(null,arguments))}});if(t===o)throw new TypeError("Promise resolved with itself");if(null===t[v]){var l=null;try{"object"!=typeof o&&"function"!=typeof o||(l=o&&o.then)}catch(w){return u((function(){k(t,!1,w)}))(),t}if(!1!==e&&o instanceof D&&o.hasOwnProperty(v)&&o.hasOwnProperty(g)&&null!==o[v])E(o),k(t,o[v],o[g]);else if(!1!==e&&"function"==typeof l)try{l.call(o,u(T(t,e)),u(T(t,!1)))}catch(w){u((function(){k(t,!1,w)}))()}else{t[v]=e;var h=t[g];if(t[g]=o,t[m]===m&&!0===e&&(t[v]=t[_],t[g]=t[y]),!1===e&&o instanceof Error){var p=n.currentTask&&n.currentTask.data&&n.currentTask.data.__creationTrace__;p&&i(o,b,{configurable:!0,enumerable:!1,writable:!0,value:p})}for(var f=0;f<h.length;)S(t,h[f++],h[f++],h[f++],h[f++]);if(0==h.length&&0==e){t[v]=0;try{throw new Error("Uncaught (in promise): "+((c=o)&&c.toString===Object.prototype.toString?(c.constructor&&c.constructor.name||"")+": "+JSON.stringify(c):c?c.toString():Object.prototype.toString.call(c))+(o&&o.stack?"\n"+o.stack:""))}catch(w){var d=w;d.rejection=o,d.promise=t,d.zone=n.current,d.task=n.currentTask,s.push(d),r.scheduleMicroTask()}}}}return t}var w=a("rejectionHandledHandler");function E(t){if(0===t[v]){try{var e=n[w];e&&"function"==typeof e&&e.call(this,{rejection:t[g],promise:t})}catch(o){}t[v]=!1;for(var r=0;r<s.length;r++)t===s[r].promise&&s.splice(r,1)}}function S(t,e,n,r,o){E(t);var i=t[v],a=i?"function"==typeof r?r:f:"function"==typeof o?o:d;e.scheduleMicroTask("Promise.then",(function(){try{var r=t[g],o=n&&m===n[m];o&&(n[y]=r,n[_]=i);var s=e.run(a,void 0,o&&a!==d&&a!==f?[]:[r]);k(n,!0,s)}catch(c){k(n,!1,c)}}),n)}var D=function(){function e(t){if(!(this instanceof e))throw new Error("Must be an instanceof Promise.");this[v]=null,this[g]=[];try{t&&t(T(this,!0),T(this,!1))}catch(n){k(this,!1,n)}}return e.toString=function(){return"function ZoneAwarePromise() { [native code] }"},e.resolve=function(t){return k(new this(null),!0,t)},e.reject=function(t){return k(new this(null),!1,t)},e.race=function(e){var n,r,o,i,a=new this((function(t,e){o=t,i=e}));function s(t){a&&(a=o(t))}function c(t){a&&(a=i(t))}try{for(var u=t(e),l=u.next();!l.done;l=u.next()){var h=l.value;p(h)||(h=this.resolve(h)),h.then(s,c)}}catch(f){n={error:f}}finally{try{l&&!l.done&&(r=u.return)&&r.call(u)}finally{if(n)throw n.error}}return a},e.all=function(e){var n,r,o,i,a=new this((function(t,e){o=t,i=e})),s=2,c=0,u=[],l=function(t){p(t)||(t=h.resolve(t));var e=c;t.then((function(t){u[e]=t,0==--s&&o(u)}),i),s++,c++},h=this;try{for(var f=t(e),d=f.next();!d.done;d=f.next())l(d.value)}catch(v){n={error:v}}finally{try{d&&!d.done&&(r=f.return)&&r.call(f)}finally{if(n)throw n.error}}return 0==(s-=2)&&o(u),a},e.prototype.then=function(t,e){var r=new this.constructor(null),o=n.current;return null==this[v]?this[g].push(o,r,t,e):S(this,o,r,t,e),r},e.prototype.catch=function(t){return this.then(null,t)},e.prototype.finally=function(t){var e=new this.constructor(null);e[m]=m;var r=n.current;return null==this[v]?this[g].push(r,e,t,t):S(this,r,e,t,t),e},e}();D.resolve=D.resolve,D.reject=D.reject,D.race=D.race,D.all=D.all;var P=e[c]=e.Promise,C=n.__symbol__("ZoneAwarePromise"),z=o(e,"Promise");z&&!z.configurable||(z&&delete z.writable,z&&delete z.value,z||(z={configurable:!0,enumerable:!0}),z.get=function(){return e[C]?e[C]:e[c]},z.set=function(t){t===D?e[C]=t:(e[c]=t,t.prototype[u]||I(t),r.setNativePromise(t))},i(e,"Promise",z)),e.Promise=D;var O=a("thenPatched");function I(t){var e=t.prototype,n=o(e,"then");if(!n||!1!==n.writable&&n.configurable){var r=e.then;e[u]=r,t.prototype.then=function(t,e){var n=this;return new D((function(t,e){r.call(n,t,e)})).then(t,e)},t[O]=!0}}return r.patchThen=I,P&&I(P),Promise[n.__symbol__("uncaughtPromiseErrors")]=s,D})),Zone.__load_patch("fetch",(function(t,e,n){var r=t.fetch,o=t.Promise,i=n.symbol("thenPatched"),a=n.symbol("fetchTaskScheduling"),s=n.symbol("fetchTaskAborting");if("function"==typeof r){var c=t.AbortController,u="function"==typeof c,l=null;u&&(t.AbortController=function(){var t=new c;return t.signal.abortController=t,t},l=n.patchMethod(c.prototype,"abort",(function(t){return function(e,n){return e.task?e.task.zone.cancelTask(e.task):t.apply(e,n)}})));var h=function(){};t.fetch=function(){var t=this,c=Array.prototype.slice.call(arguments),p=c.length>1?c[1]:null,f=p&&p.signal;return new Promise((function(p,d){var v=e.current.scheduleMacroTask("fetch",h,c,(function(){var s,u=e.current;try{u[a]=!0,s=r.apply(t,c)}catch(h){return void d(h)}finally{u[a]=!1}if(!(s instanceof o)){var l=s.constructor;l[i]||n.patchThen(l)}s.then((function(t){"notScheduled"!==v.state&&v.invoke(),p(t)}),(function(t){"notScheduled"!==v.state&&v.invoke(),d(t)}))}),(function(){if(u)if(f&&f.abortController&&!f.aborted&&"function"==typeof f.abortController.abort&&l)try{e.current[s]=!0,l.call(f.abortController)}finally{e.current[s]=!1}else d("cancel fetch need a AbortController.signal");else d("No AbortController supported, can not cancel fetch")}));f&&f.abortController&&(f.abortController.task=v)}))}}}));var e=Object.getOwnPropertyDescriptor,n=Object.defineProperty,r=Object.getPrototypeOf,o=Object.create,i=Array.prototype.slice,a="addEventListener",s="removeEventListener",c=Zone.__symbol__(a),u=Zone.__symbol__(s);function l(t,e){return Zone.current.wrap(t,e)}function h(t,e,n,r,o){return Zone.current.scheduleMacroTask(t,e,n,r,o)}var p=Zone.__symbol__,f="undefined"!=typeof window,d=f?window:void 0,v=f&&d||"object"==typeof self&&self||global,g=[null];function m(t,e){for(var n=t.length-1;n>=0;n--)"function"==typeof t[n]&&(t[n]=l(t[n],e+"_"+n));return t}function y(t){return!t||!1!==t.writable&&!("function"==typeof t.get&&void 0===t.set)}var _="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,T=!("nw"in v)&&void 0!==v.process&&"[object process]"==={}.toString.call(v.process),b=!T&&!_&&!(!f||!d.HTMLElement),k=void 0!==v.process&&"[object process]"==={}.toString.call(v.process)&&!_&&!(!f||!d.HTMLElement),w={},E=function(t){if(t=t||v.event){var e=w[t.type];e||(e=w[t.type]=p("ON_PROPERTY"+t.type));var n,r=this||t.target||v,o=r[e];if(b&&r===d&&"error"===t.type){var i=t;!0===(n=o&&o.call(this,i.message,i.filename,i.lineno,i.colno,i.error))&&t.preventDefault()}else null==(n=o&&o.apply(this,arguments))||n||t.preventDefault();return n}};function S(t,r,o){var i=e(t,r);if(!i&&o&&e(o,r)&&(i={enumerable:!0,configurable:!0}),i&&i.configurable){var a=p("on"+r+"patched");if(!t.hasOwnProperty(a)||!t[a]){delete i.writable,delete i.value;var s=i.get,c=i.set,u=r.substr(2),l=w[u];l||(l=w[u]=p("ON_PROPERTY"+u)),i.set=function(e){var n=this;n||t!==v||(n=v),n&&(n[l]&&n.removeEventListener(u,E),c&&c.apply(n,g),"function"==typeof e?(n[l]=e,n.addEventListener(u,E,!1)):n[l]=null)},i.get=function(){var e=this;if(e||t!==v||(e=v),!e)return null;var n=e[l];if(n)return n;if(s){var o=s&&s.call(this);if(o)return i.set.call(this,o),"function"==typeof e.removeAttribute&&e.removeAttribute(r),o}return null},n(t,r,i),t[a]=!0}}}function D(t,e,n){if(e)for(var r=0;r<e.length;r++)S(t,"on"+e[r],n);else{var o=[];for(var i in t)"on"==i.substr(0,2)&&o.push(i);for(var a=0;a<o.length;a++)S(t,o[a],n)}}var P=p("originalInstance");function C(t){var e=v[t];if(e){v[p(t)]=e,v[t]=function(){var n=m(arguments,t);switch(n.length){case 0:this[P]=new e;break;case 1:this[P]=new e(n[0]);break;case 2:this[P]=new e(n[0],n[1]);break;case 3:this[P]=new e(n[0],n[1],n[2]);break;case 4:this[P]=new e(n[0],n[1],n[2],n[3]);break;default:throw new Error("Arg list too long.")}},O(v[t],e);var r,o=new e((function(){}));for(r in o)"XMLHttpRequest"===t&&"responseBlob"===r||function(e){"function"==typeof o[e]?v[t].prototype[e]=function(){return this[P][e].apply(this[P],arguments)}:n(v[t].prototype,e,{set:function(n){"function"==typeof n?(this[P][e]=l(n,t+"."+e),O(this[P][e],n)):this[P][e]=n},get:function(){return this[P][e]}})}(r);for(r in e)"prototype"!==r&&e.hasOwnProperty(r)&&(v[t][r]=e[r])}}function z(t,n,o){for(var i=t;i&&!i.hasOwnProperty(n);)i=r(i);!i&&t[n]&&(i=t);var a=p(n),s=null;if(i&&!(s=i[a])&&(s=i[a]=i[n],y(i&&e(i,n)))){var c=o(s,a,n);i[n]=function(){return c(this,arguments)},O(i[n],s)}return s}function O(t,e){t[p("OriginalDelegate")]=e}var I=!1,Z=!1;function x(){try{var t=d.navigator.userAgent;if(-1!==t.indexOf("MSIE ")||-1!==t.indexOf("Trident/"))return!0}catch(e){}return!1}function M(){if(I)return Z;I=!0;try{var t=d.navigator.userAgent;return-1===t.indexOf("MSIE ")&&-1===t.indexOf("Trident/")&&-1===t.indexOf("Edge/")||(Z=!0),Z}catch(e){}}Zone.__load_patch("toString",(function(t){var e=Function.prototype.toString,n=p("OriginalDelegate"),r=p("Promise"),o=p("Error"),i=function(){if("function"==typeof this){var i=this[n];if(i)return"function"==typeof i?e.apply(this[n],arguments):Object.prototype.toString.call(i);if(this===Promise){var a=t[r];if(a)return e.apply(a,arguments)}if(this===Error){var s=t[o];if(s)return e.apply(s,arguments)}}return e.apply(this,arguments)};i[n]=e,Function.prototype.toString=i;var a=Object.prototype.toString;Object.prototype.toString=function(){return this instanceof Promise?"[object Promise]":a.apply(this,arguments)}}));var A=!1;if("undefined"!=typeof window)try{var R=Object.defineProperty({},"passive",{get:function(){A=!0}});window.addEventListener("test",R,R),window.removeEventListener("test",R,R)}catch(pt){A=!1}var j={useG:!0},L={},H={},N=/^__zone_symbol__(\w+)(true|false)$/;function F(t,e,n){var o=n&&n.add||a,i=n&&n.rm||s,c=n&&n.listeners||"eventListeners",u=n&&n.rmAll||"removeAllListeners",l=p(o),h="."+o+":",f=function(t,e,n){if(!t.isRemoved){var r=t.callback;"object"==typeof r&&r.handleEvent&&(t.callback=function(t){return r.handleEvent(t)},t.originalDelegate=r),t.invoke(t,e,[n]);var o=t.options;o&&"object"==typeof o&&o.once&&e[i].call(e,n.type,t.originalDelegate?t.originalDelegate:t.callback,o)}},d=function(e){if(e=e||t.event){var n=this||e.target||t,r=n[L[e.type].false];if(r)if(1===r.length)f(r[0],n,e);else for(var o=r.slice(),i=0;i<o.length&&(!e||!0!==e.__zone_symbol__propagationStopped);i++)f(o[i],n,e)}},v=function(e){if(e=e||t.event){var n=this||e.target||t,r=n[L[e.type].true];if(r)if(1===r.length)f(r[0],n,e);else for(var o=r.slice(),i=0;i<o.length&&(!e||!0!==e.__zone_symbol__propagationStopped);i++)f(o[i],n,e)}};function g(e,n){if(!e)return!1;var a=!0;n&&void 0!==n.useG&&(a=n.useG);var s=n&&n.vh,f=!0;n&&void 0!==n.chkDup&&(f=n.chkDup);var g=!1;n&&void 0!==n.rt&&(g=n.rt);for(var m=e;m&&!m.hasOwnProperty(o);)m=r(m);if(!m&&e[o]&&(m=e),!m)return!1;if(m[l])return!1;var y,_=n&&n.eventNameToString,b={},k=m[l]=m[o],w=m[p(i)]=m[i],E=m[p(c)]=m[c],S=m[p(u)]=m[u];function D(t){A||"boolean"==typeof b.options||null==b.options||(t.options=!!b.options.capture,b.options=t.options)}n&&n.prepend&&(y=m[p(n.prepend)]=m[n.prepend]);var P=a?function(t){if(!b.isExisting)return D(t),k.call(b.target,b.eventName,b.capture?v:d,b.options)}:function(t){return D(t),k.call(b.target,b.eventName,t.invoke,b.options)},C=a?function(t){if(!t.isRemoved){var e=L[t.eventName],n=void 0;e&&(n=e[t.capture?"true":"false"]);var r=n&&t.target[n];if(r)for(var o=0;o<r.length;o++)if(r[o]===t){r.splice(o,1),t.isRemoved=!0,0===r.length&&(t.allRemoved=!0,t.target[n]=null);break}}if(t.allRemoved)return w.call(t.target,t.eventName,t.capture?v:d,t.options)}:function(t){return w.call(t.target,t.eventName,t.invoke,t.options)},z=n&&n.diff?n.diff:function(t,e){var n=typeof e;return"function"===n&&t.callback===e||"object"===n&&t.originalDelegate===e},I=Zone[Zone.__symbol__("BLACK_LISTED_EVENTS")],Z=function(e,n,r,o,i,c){return void 0===i&&(i=!1),void 0===c&&(c=!1),function(){var u=this||t,l=arguments[0],h=arguments[1];if(!h)return e.apply(this,arguments);if(T&&"uncaughtException"===l)return e.apply(this,arguments);var p=!1;if("function"!=typeof h){if(!h.handleEvent)return e.apply(this,arguments);p=!0}if(!s||s(e,h,u,arguments)){var d,v=arguments[2];if(I)for(var g=0;g<I.length;g++)if(l===I[g])return e.apply(this,arguments);var m=!1;void 0===v?d=!1:!0===v?d=!0:!1===v?d=!1:(d=!!v&&!!v.capture,m=!!v&&!!v.once);var y,k=Zone.current,w=L[l];if(w)y=w[d?"true":"false"];else{var E=(_?_(l):l)+"false",S=(_?_(l):l)+"true",D="__zone_symbol__"+E,P="__zone_symbol__"+S;L[l]={},L[l].false=D,L[l].true=P,y=d?P:D}var C,O=u[y],Z=!1;if(O){if(Z=!0,f)for(g=0;g<O.length;g++)if(z(O[g],h))return}else O=u[y]=[];var x=u.constructor.name,M=H[x];M&&(C=M[l]),C||(C=x+n+(_?_(l):l)),b.options=v,m&&(b.options.once=!1),b.target=u,b.capture=d,b.eventName=l,b.isExisting=Z;var R=a?j:void 0;R&&(R.taskData=b);var N=k.scheduleEventTask(C,h,R,r,o);return b.target=null,R&&(R.taskData=null),m&&(v.once=!0),(A||"boolean"!=typeof N.options)&&(N.options=v),N.target=u,N.capture=d,N.eventName=l,p&&(N.originalDelegate=h),c?O.unshift(N):O.push(N),i?u:void 0}}};return m[o]=Z(k,h,P,C,g),y&&(m.prependListener=Z(y,".prependListener:",(function(t){return y.call(b.target,b.eventName,t.invoke,b.options)}),C,g,!0)),m[i]=function(){var e,n=this||t,r=arguments[0],o=arguments[2];e=void 0!==o&&(!0===o||!1!==o&&!!o&&!!o.capture);var i=arguments[1];if(!i)return w.apply(this,arguments);if(!s||s(w,i,n,arguments)){var a,c=L[r];c&&(a=c[e?"true":"false"]);var u=a&&n[a];if(u)for(var l=0;l<u.length;l++){var h=u[l];if(z(h,i))return u.splice(l,1),h.isRemoved=!0,0===u.length&&(h.allRemoved=!0,n[a]=null),h.zone.cancelTask(h),g?n:void 0}return w.apply(this,arguments)}},m[c]=function(){for(var e=this||t,n=arguments[0],r=[],o=q(e,_?_(n):n),i=0;i<o.length;i++){var a=o[i],s=a.originalDelegate?a.originalDelegate:a.callback;r.push(s)}return r},m[u]=function(){var e=this||t,n=arguments[0];if(n){var r=L[n];if(r){var o=r.false,a=r.true,s=e[o],c=e[a];if(s){var l=s.slice();for(f=0;f<l.length;f++)this[i].call(this,n,(h=l[f]).originalDelegate?h.originalDelegate:h.callback,h.options)}if(c)for(l=c.slice(),f=0;f<l.length;f++){var h;this[i].call(this,n,(h=l[f]).originalDelegate?h.originalDelegate:h.callback,h.options)}}}else{for(var p=Object.keys(e),f=0;f<p.length;f++){var d=p[f],v=N.exec(d),m=v&&v[1];m&&"removeListener"!==m&&this[u].call(this,m)}this[u].call(this,"removeListener")}if(g)return this},O(m[o],k),O(m[i],w),S&&O(m[u],S),E&&O(m[c],E),!0}for(var m=[],y=0;y<e.length;y++)m[y]=g(e[y],n);return m}function q(t,e){var n=[];for(var r in t){var o=N.exec(r),i=o&&o[1];if(i&&(!e||i===e)){var a=t[r];if(a)for(var s=0;s<a.length;s++)n.push(a[s])}}return n}var W=p("zoneTask");function X(t,e,n,r){var o=null,i=null;n+=r;var a={};function s(e){var n=e.data;return n.args[0]=function(){try{e.invoke.apply(this,arguments)}finally{e.data&&e.data.isPeriodic||("number"==typeof n.handleId?delete a[n.handleId]:n.handleId&&(n.handleId[W]=null))}},n.handleId=o.apply(t,n.args),e}function c(t){return i(t.data.handleId)}o=z(t,e+=r,(function(n){return function(o,i){if("function"==typeof i[0]){var u=h(e,i[0],{isPeriodic:"Interval"===r,delay:"Timeout"===r||"Interval"===r?i[1]||0:void 0,args:i},s,c);if(!u)return u;var l=u.data.handleId;return"number"==typeof l?a[l]=u:l&&(l[W]=u),l&&l.ref&&l.unref&&"function"==typeof l.ref&&"function"==typeof l.unref&&(u.ref=l.ref.bind(l),u.unref=l.unref.bind(l)),"number"==typeof l||l?l:u}return n.apply(t,i)}})),i=z(t,n,(function(e){return function(n,r){var o,i=r[0];"number"==typeof i?o=a[i]:(o=i&&i[W])||(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[W]=null),o.zone.cancelTask(o)):e.apply(t,r)}}))}var Y=Object[p("defineProperty")]=Object.defineProperty,B=Object[p("getOwnPropertyDescriptor")]=Object.getOwnPropertyDescriptor,U=Object.create,V=p("unconfigurables");function G(t,e){return t&&t[V]&&t[V][e]}function K(t,e,n){return Object.isFrozen(n)||(n.configurable=!0),n.configurable||(t[V]||Object.isFrozen(t)||Y(t,V,{writable:!0,value:{}}),t[V]&&(t[V][e]=!0)),n}function J(t,e,n,r){try{return Y(t,e,n)}catch(i){if(!n.configurable)throw i;void 0===r?delete n.configurable:n.configurable=r;try{return Y(t,e,n)}catch(i){var o=null;try{o=JSON.stringify(n)}catch(i){o=n.toString()}console.log("Attempting to configure '"+e+"' with descriptor '"+o+"' on object '"+t+"' and got error, giving up: "+i)}}}var $=["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"],Q=["encrypted","waitingforkey","msneedkey","mozinterruptbegin","mozinterruptend"],tt=["load"],et=["blur","error","focus","load","resize","scroll","messageerror"],nt=["bounce","finish","start"],rt=["loadstart","progress","abort","error","load","progress","timeout","loadend","readystatechange"],ot=["upgradeneeded","complete","abort","success","error","blocked","versionchange","close"],it=["close","error","open","message"],at=["error","message"],st=["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"],$,["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 ct(t,e,n,r){t&&D(t,function(t,e,n){if(!n||0===n.length)return e;var r=n.filter((function(e){return e.target===t}));if(!r||0===r.length)return e;var o=r[0].ignoreProperties;return e.filter((function(t){return-1===o.indexOf(t)}))}(t,e,n),r)}function ut(t,c){if(!T||k){var u="undefined"!=typeof WebSocket;if(function(){if((b||k)&&!e(HTMLElement.prototype,"onclick")&&"undefined"!=typeof Element){var t=e(Element.prototype,"onclick");if(t&&!t.configurable)return!1}var r=XMLHttpRequest.prototype,o=e(r,"onreadystatechange");if(o){n(r,"onreadystatechange",{enumerable:!0,configurable:!0,get:function(){return!0}});var i=!!(s=new XMLHttpRequest).onreadystatechange;return n(r,"onreadystatechange",o||{}),i}var a=p("fake");n(r,"onreadystatechange",{enumerable:!0,configurable:!0,get:function(){return this[a]},set:function(t){this[a]=t}});var s=new XMLHttpRequest,c=function(){};return s.onreadystatechange=c,i=s[a]===c,s.onreadystatechange=null,i}()){var h=c.__Zone_ignore_on_properties;if(b){var f=window,d=x?[{target:f,ignoreProperties:["error"]}]:[];ct(f,st.concat(["messageerror"]),h?h.concat(d):h,r(f)),ct(Document.prototype,st,h),void 0!==f.SVGElement&&ct(f.SVGElement.prototype,st,h),ct(Element.prototype,st,h),ct(HTMLElement.prototype,st,h),ct(HTMLMediaElement.prototype,Q,h),ct(HTMLFrameSetElement.prototype,$.concat(et),h),ct(HTMLBodyElement.prototype,$.concat(et),h),ct(HTMLFrameElement.prototype,tt,h),ct(HTMLIFrameElement.prototype,tt,h);var v=f.HTMLMarqueeElement;v&&ct(v.prototype,nt,h);var g=f.Worker;g&&ct(g.prototype,at,h)}ct(XMLHttpRequest.prototype,rt,h);var m=c.XMLHttpRequestEventTarget;m&&ct(m&&m.prototype,rt,h),"undefined"!=typeof IDBIndex&&(ct(IDBIndex.prototype,ot,h),ct(IDBRequest.prototype,ot,h),ct(IDBOpenDBRequest.prototype,ot,h),ct(IDBDatabase.prototype,ot,h),ct(IDBTransaction.prototype,ot,h),ct(IDBCursor.prototype,ot,h)),u&&ct(WebSocket.prototype,it,h)}else!function(){for(var t=function(t){var e=st[t],n="on"+e;self.addEventListener(e,(function(t){var e,r,o=t.target;for(r=o?o.constructor.name+"."+n:"unknown."+n;o;)o[n]&&!o[n][lt]&&((e=l(o[n],r))[lt]=o[n],o[n]=e),o=o.parentElement}),!0)},e=0;e<st.length;e++)t(e)}(),C("XMLHttpRequest"),u&&function(t,n){var r=n.WebSocket;n.EventTarget||F(n,[r.prototype]),n.WebSocket=function(t,n){var c,u,l=arguments.length>1?new r(t,n):new r(t),h=e(l,"onmessage");return h&&!1===h.configurable?(c=o(l),u=l,[a,s,"send","close"].forEach((function(t){c[t]=function(){var e=i.call(arguments);if(t===a||t===s){var n=e.length>0?e[0]:void 0;if(n){var r=Zone.__symbol__("ON_PROPERTY"+n);l[r]=c[r]}}return l[t].apply(l,e)}}))):c=l,D(c,["close","error","message","open"],u),c};var c=n.WebSocket;for(var u in r)c[u]=r[u]}(0,c)}}var lt=p("unbound");function ht(t,n,r,o){var i=Zone.__symbol__(r);if(!t[i]){var a=t[i]=t[r];t[r]=function(i,s,c){return s&&s.prototype&&o.forEach((function(t){var o,i,a,c,u=n+"."+r+"::"+t,h=s.prototype;if(h.hasOwnProperty(t)){var p=e(h,t);p&&p.value?(p.value=l(p.value,u),c=(a=p).configurable,J(o=s.prototype,i=t,a=K(o,i,a),c)):h[t]&&(h[t]=l(h[t],u))}else h[t]&&(h[t]=l(h[t],u))})),a.call(t,i,s,c)},O(t[r],a)}}Zone.__load_patch("util",(function(t,e,n){n.patchOnProperties=D,n.patchMethod=z,n.bindArguments=m})),Zone.__load_patch("timers",(function(t){X(t,"set","clear","Timeout"),X(t,"set","clear","Interval"),X(t,"set","clear","Immediate")})),Zone.__load_patch("requestAnimationFrame",(function(t){X(t,"request","cancel","AnimationFrame"),X(t,"mozRequest","mozCancel","AnimationFrame"),X(t,"webkitRequest","webkitCancel","AnimationFrame")})),Zone.__load_patch("blocking",(function(t,e){for(var n=["alert","prompt","confirm"],r=0;r<n.length;r++)z(t,n[r],(function(n,r,o){return function(r,i){return e.current.run(n,t,i,o)}}))})),Zone.__load_patch("EventTarget",(function(t,e,n){var r=e.__symbol__("BLACK_LISTED_EVENTS");t[r]&&(e[r]=t[r]),function(t,e){!function(t,e){var n=t.Event;n&&n.prototype&&e.patchMethod(n.prototype,"stopImmediatePropagation",(function(t){return function(e,n){e.__zone_symbol__propagationStopped=!0,t&&t.apply(e,n)}}))}(t,e)}(t,n),function(t,e){var n="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",r="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(","),o=[],i=t.wtf,a=n.split(",");i?o=a.map((function(t){return"HTML"+t+"Element"})).concat(r):t.EventTarget?o.push("EventTarget"):o=r;for(var s=t.__Zone_disable_IE_check||!1,c=t.__Zone_enable_cross_context_check||!1,u=M(),l="function __BROWSERTOOLS_CONSOLE_SAFEFUNC() { [native code] }",h=0;h<st.length;h++){var p="__zone_symbol__"+(m=st[h])+"false",f="__zone_symbol__"+m+"true";L[m]={},L[m].false=p,L[m].true=f}for(h=0;h<n.length;h++)for(var d=a[h],v=H[d]={},g=0;g<st.length;g++){var m;v[m=st[g]]=d+".addEventListener:"+m}var y=[];for(h=0;h<o.length;h++){var _=t[o[h]];y.push(_&&_.prototype)}F(t,y,{vh:function(t,e,n,r){if(!s&&u){if(c)try{var o;if("[object FunctionWrapper]"===(o=e.toString())||o==l)return t.apply(n,r),!1}catch(i){return t.apply(n,r),!1}else if("[object FunctionWrapper]"===(o=e.toString())||o==l)return t.apply(n,r),!1}else if(c)try{e.toString()}catch(i){return t.apply(n,r),!1}return!0}}),e.patchEventTarget=F}(t,n);var o=t.XMLHttpRequestEventTarget;o&&o.prototype&&n.patchEventTarget(t,[o.prototype]),C("MutationObserver"),C("WebKitMutationObserver"),C("IntersectionObserver"),C("FileReader")})),Zone.__load_patch("on_property",(function(t,e,n){ut(0,t),Object.defineProperty=function(t,e,n){if(G(t,e))throw new TypeError("Cannot assign to read only property '"+e+"' of "+t);var r=n.configurable;return"prototype"!==e&&(n=K(t,e,n)),J(t,e,n,r)},Object.defineProperties=function(t,e){return Object.keys(e).forEach((function(n){Object.defineProperty(t,n,e[n])})),t},Object.create=function(t,e){return"object"!=typeof e||Object.isFrozen(e)||Object.keys(e).forEach((function(n){e[n]=K(t,n,e[n])})),U(t,e)},Object.getOwnPropertyDescriptor=function(t,e){var n=B(t,e);return n&&G(t,e)&&(n.configurable=!1),n}})),Zone.__load_patch("customElements",(function(t,e,n){!function(t){(b||k)&&"registerElement"in t.document&&ht(document,"Document","registerElement",["createdCallback","attachedCallback","detachedCallback","attributeChangedCallback"])}(t),function(t){(b||k)&&"customElements"in t&&ht(t.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(t)})),Zone.__load_patch("canvas",(function(t){var e=t.HTMLCanvasElement;void 0!==e&&e.prototype&&e.prototype.toBlob&&function(t,e,n){var r=null;function o(t){var e=t.data;return e.args[e.cbIdx]=function(){t.invoke.apply(this,arguments)},r.apply(e.target,e.args),t}r=z(t,"toBlob",(function(t){return function(e,n){var r=function(t,e){return{name:"HTMLCanvasElement.toBlob",target:t,cbIdx:0,args:e}}(e,n);return r.cbIdx>=0&&"function"==typeof n[r.cbIdx]?h(r.name,n[r.cbIdx],r,o):t.apply(e,n)}}))}(e.prototype)})),Zone.__load_patch("XHR",(function(t,e){!function(t){var l=XMLHttpRequest.prototype,f=l[c],d=l[u];if(!f){var v=t.XMLHttpRequestEventTarget;if(v){var g=v.prototype;f=g[c],d=g[u]}}function m(t){var e=t.data,r=e.target;r[i]=!1,r[s]=!1;var a=r[o];f||(f=r[c],d=r[u]),a&&d.call(r,"readystatechange",a);var l=r[o]=function(){if(r.readyState===r.DONE)if(!e.aborted&&r[i]&&"scheduled"===t.state){var n=r.__zone_symbol__loadfalse;if(n&&n.length>0){var o=t.invoke;t.invoke=function(){for(var n=r.__zone_symbol__loadfalse,i=0;i<n.length;i++)n[i]===t&&n.splice(i,1);e.aborted||"scheduled"!==t.state||o.call(t)},n.push(t)}else t.invoke()}else e.aborted||!1!==r[i]||(r[s]=!0)};return f.call(r,"readystatechange",l),r[n]||(r[n]=t),w.apply(r,e.args),r[i]=!0,t}function y(){}function _(t){var e=t.data;return e.aborted=!0,E.apply(e.target,e.args)}var T=z(l,"open",(function(){return function(t,e){return t[r]=0==e[2],t[a]=e[1],T.apply(t,e)}})),b=p("fetchTaskAborting"),k=p("fetchTaskScheduling"),w=z(l,"send",(function(){return function(t,n){if(!0===e.current[k])return w.apply(t,n);if(t[r])return w.apply(t,n);var o={target:t,url:t[a],isPeriodic:!1,args:n,aborted:!1},i=h("XMLHttpRequest.send",y,o,m,_);t&&!0===t[s]&&!o.aborted&&"scheduled"===i.state&&i.invoke()}})),E=z(l,"abort",(function(){return function(t,r){var o=t[n];if(o&&"string"==typeof o.type){if(null==o.cancelFn||o.data&&o.data.aborted)return;o.zone.cancelTask(o)}else if(!0===e.current[b])return E.apply(t,r)}}))}(t);var n=p("xhrTask"),r=p("xhrSync"),o=p("xhrListener"),i=p("xhrScheduled"),a=p("xhrURL"),s=p("xhrErrorBeforeScheduled")})),Zone.__load_patch("geolocation",(function(t){t.navigator&&t.navigator.geolocation&&function(t,n){for(var r=t.constructor.name,o=function(o){var i=n[o],a=t[i];if(a){if(!y(e(t,i)))return"continue";t[i]=function(t){var e=function(){return t.apply(this,m(arguments,r+"."+i))};return O(e,t),e}(a)}},i=0;i<n.length;i++)o(i)}(t.navigator.geolocation,["getCurrentPosition","watchPosition"])})),Zone.__load_patch("PromiseRejectionEvent",(function(t,e){function n(e){return function(n){q(t,e).forEach((function(r){var o=t.PromiseRejectionEvent;if(o){var i=new o(e,{promise:n.promise,reason:n.rejection});r.invoke(i)}}))}}t.PromiseRejectionEvent&&(e[p("unhandledPromiseRejectionHandler")]=n("unhandledrejection"),e[p("rejectionHandledHandler")]=n("rejectionhandled"))}))}()},6:function(t,e,n){t.exports=n("hN/g")},"hN/g":function(t,e,n){"use strict";n.r(e),n("0TWp"),n("yLV6"),n("hkU9"),n("0RCu")},hkU9:function(t,e){!function(){var t=window.MutationObserver||window.WebKitMutationObserver,e="ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch;if(void 0===document.documentElement.style["touch-action"]&&!document.documentElement.style["-ms-touch-action"]&&e&&t){window.Hammer=window.Hammer||{};var n=/touch-action[:][\s]*(none)[^;'"]*/,r=/touch-action[:][\s]*(manipulation)[^;'"]*/,o=/touch-action/,i=/(iP(ad|hone|od))/.test(navigator.userAgent)&&("indexedDB"in window||!!window.performance);window.Hammer.time={getTouchAction:function(t){return this.checkStyleString(t.getAttribute("style"))},checkStyleString:function(t){if(o.test(t))return n.test(t)?"none":!r.test(t)||"manipulation"},shouldHammer:function(t){var e=t.target.hasParent;return!(!e||i&&!(Date.now()-t.target.lastStart<125))&&e},touchHandler:function(t){var e=this.shouldHammer(t);if("none"===e)this.dropHammer(t);else if("manipulation"===e){var n=t.target.getBoundingClientRect();n.top===this.pos.top&&n.left===this.pos.left&&this.dropHammer(t)}this.scrolled=!1,delete t.target.lastStart,delete t.target.hasParent},dropHammer:function(t){"touchend"===t.type&&(t.target.focus(),setTimeout((function(){t.target.click()}),0)),t.preventDefault()},touchStart:function(t){this.pos=t.target.getBoundingClientRect(),t.target.hasParent=this.hasParent(t.target),i&&t.target.hasParent&&(t.target.lastStart=Date.now())},styleWatcher:function(t){t.forEach(this.styleUpdater,this)},styleUpdater:function(t){if(t.target.updateNext)t.target.updateNext=!1;else{var e=this.getTouchAction(t.target);e?"none"!==e&&(t.target.hadTouchNone=!1):!e&&(t.oldValue&&this.checkStyleString(t.oldValue)||t.target.hadTouchNone)&&(t.target.hadTouchNone=!0,t.target.updateNext=!1,t.target.setAttribute("style",t.target.getAttribute("style")+" touch-action: none;"))}},hasParent:function(t){for(var e,n=t;n&&n.parentNode;n=n.parentNode)if(e=this.getTouchAction(n))return e;return!1},installStartEvents:function(){document.addEventListener("touchstart",this.touchStart.bind(this)),document.addEventListener("mousedown",this.touchStart.bind(this))},installEndEvents:function(){document.addEventListener("touchend",this.touchHandler.bind(this),!0),document.addEventListener("mouseup",this.touchHandler.bind(this),!0)},installObserver:function(){this.observer=new t(this.styleWatcher.bind(this)).observe(document,{subtree:!0,attributes:!0,attributeOldValue:!0,attributeFilter:["style"]})},install:function(){this.installEndEvents(),this.installStartEvents(),this.installObserver()}},window.Hammer.time.install()}}()},yLV6:function(t,e,n){var r;!function(o,i,a,s){"use strict";var c,u=["","webkit","Moz","MS","ms","o"],l=i.createElement("div"),h=Math.round,p=Math.abs,f=Date.now;function d(t,e,n){return setTimeout(b(t,n),e)}function v(t,e,n){return!!Array.isArray(t)&&(g(t,n[e],n),!0)}function g(t,e,n){var r;if(t)if(t.forEach)t.forEach(e,n);else if(void 0!==t.length)for(r=0;r<t.length;)e.call(n,t[r],r,t),r++;else for(r in t)t.hasOwnProperty(r)&&e.call(n,t[r],r,t)}function m(t,e,n){var r="DEPRECATED METHOD: "+e+"\n"+n+" AT \n";return function(){var e=new Error("get-stack-trace"),n=e&&e.stack?e.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",i=o.console&&(o.console.warn||o.console.log);return i&&i.call(o.console,r,n),t.apply(this,arguments)}}c="function"!=typeof Object.assign?function(t){if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var e=Object(t),n=1;n<arguments.length;n++){var r=arguments[n];if(null!=r)for(var o in r)r.hasOwnProperty(o)&&(e[o]=r[o])}return e}:Object.assign;var y=m((function(t,e,n){for(var r=Object.keys(e),o=0;o<r.length;)(!n||n&&void 0===t[r[o]])&&(t[r[o]]=e[r[o]]),o++;return t}),"extend","Use `assign`."),_=m((function(t,e){return y(t,e,!0)}),"merge","Use `assign`.");function T(t,e,n){var r,o=e.prototype;(r=t.prototype=Object.create(o)).constructor=t,r._super=o,n&&c(r,n)}function b(t,e){return function(){return t.apply(e,arguments)}}function k(t,e){return"function"==typeof t?t.apply(e&&e[0]||void 0,e):t}function w(t,e){return void 0===t?e:t}function E(t,e,n){g(C(e),(function(e){t.addEventListener(e,n,!1)}))}function S(t,e,n){g(C(e),(function(e){t.removeEventListener(e,n,!1)}))}function D(t,e){for(;t;){if(t==e)return!0;t=t.parentNode}return!1}function P(t,e){return t.indexOf(e)>-1}function C(t){return t.trim().split(/\s+/g)}function z(t,e,n){if(t.indexOf&&!n)return t.indexOf(e);for(var r=0;r<t.length;){if(n&&t[r][n]==e||!n&&t[r]===e)return r;r++}return-1}function O(t){return Array.prototype.slice.call(t,0)}function I(t,e,n){for(var r=[],o=[],i=0;i<t.length;){var a=e?t[i][e]:t[i];z(o,a)<0&&r.push(t[i]),o[i]=a,i++}return n&&(r=e?r.sort((function(t,n){return t[e]>n[e]})):r.sort()),r}function Z(t,e){for(var n,r,o=e[0].toUpperCase()+e.slice(1),i=0;i<u.length;){if((r=(n=u[i])?n+o:e)in t)return r;i++}}var x=1;function M(t){var e=t.ownerDocument||t;return e.defaultView||e.parentWindow||o}var A="ontouchstart"in o,R=void 0!==Z(o,"PointerEvent"),j=A&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),L=["x","y"],H=["clientX","clientY"];function N(t,e){var n=this;this.manager=t,this.callback=e,this.element=t.element,this.target=t.options.inputTarget,this.domHandler=function(e){k(t.options.enable,[t])&&n.handler(e)},this.init()}function F(t,e,n){var r=n.pointers.length,o=n.changedPointers.length,i=1&e&&r-o==0,a=12&e&&r-o==0;n.isFirst=!!i,n.isFinal=!!a,i&&(t.session={}),n.eventType=e,function(t,e){var n=t.session,r=e.pointers,o=r.length;n.firstInput||(n.firstInput=q(e)),o>1&&!n.firstMultiple?n.firstMultiple=q(e):1===o&&(n.firstMultiple=!1);var i=n.firstInput,a=n.firstMultiple,s=a?a.center:i.center,c=e.center=W(r);e.timeStamp=f(),e.deltaTime=e.timeStamp-i.timeStamp,e.angle=U(s,c),e.distance=B(s,c),function(t,e){var n=e.center,r=t.offsetDelta||{},o=t.prevDelta||{},i=t.prevInput||{};1!==e.eventType&&4!==i.eventType||(o=t.prevDelta={x:i.deltaX||0,y:i.deltaY||0},r=t.offsetDelta={x:n.x,y:n.y}),e.deltaX=o.x+(n.x-r.x),e.deltaY=o.y+(n.y-r.y)}(n,e),e.offsetDirection=Y(e.deltaX,e.deltaY);var u,l,h=X(e.deltaTime,e.deltaX,e.deltaY);e.overallVelocityX=h.x,e.overallVelocityY=h.y,e.overallVelocity=p(h.x)>p(h.y)?h.x:h.y,e.scale=a?(u=a.pointers,B((l=r)[0],l[1],H)/B(u[0],u[1],H)):1,e.rotation=a?function(t,e){return U(e[1],e[0],H)+U(t[1],t[0],H)}(a.pointers,r):0,e.maxPointers=n.prevInput?e.pointers.length>n.prevInput.maxPointers?e.pointers.length:n.prevInput.maxPointers:e.pointers.length,function(t,e){var n,r,o,i,a=t.lastInterval||e,s=e.timeStamp-a.timeStamp;if(8!=e.eventType&&(s>25||void 0===a.velocity)){var c=e.deltaX-a.deltaX,u=e.deltaY-a.deltaY,l=X(s,c,u);r=l.x,o=l.y,n=p(l.x)>p(l.y)?l.x:l.y,i=Y(c,u),t.lastInterval=e}else n=a.velocity,r=a.velocityX,o=a.velocityY,i=a.direction;e.velocity=n,e.velocityX=r,e.velocityY=o,e.direction=i}(n,e);var d=t.element;D(e.srcEvent.target,d)&&(d=e.srcEvent.target),e.target=d}(t,n),t.emit("hammer.input",n),t.recognize(n),t.session.prevInput=n}function q(t){for(var e=[],n=0;n<t.pointers.length;)e[n]={clientX:h(t.pointers[n].clientX),clientY:h(t.pointers[n].clientY)},n++;return{timeStamp:f(),pointers:e,center:W(e),deltaX:t.deltaX,deltaY:t.deltaY}}function W(t){var e=t.length;if(1===e)return{x:h(t[0].clientX),y:h(t[0].clientY)};for(var n=0,r=0,o=0;o<e;)n+=t[o].clientX,r+=t[o].clientY,o++;return{x:h(n/e),y:h(r/e)}}function X(t,e,n){return{x:e/t||0,y:n/t||0}}function Y(t,e){return t===e?1:p(t)>=p(e)?t<0?2:4:e<0?8:16}function B(t,e,n){n||(n=L);var r=e[n[0]]-t[n[0]],o=e[n[1]]-t[n[1]];return Math.sqrt(r*r+o*o)}function U(t,e,n){return n||(n=L),180*Math.atan2(e[n[1]]-t[n[1]],e[n[0]]-t[n[0]])/Math.PI}N.prototype={handler:function(){},init:function(){this.evEl&&E(this.element,this.evEl,this.domHandler),this.evTarget&&E(this.target,this.evTarget,this.domHandler),this.evWin&&E(M(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&S(this.element,this.evEl,this.domHandler),this.evTarget&&S(this.target,this.evTarget,this.domHandler),this.evWin&&S(M(this.element),this.evWin,this.domHandler)}};var V={mousedown:1,mousemove:2,mouseup:4};function G(){this.evEl="mousedown",this.evWin="mousemove mouseup",this.pressed=!1,N.apply(this,arguments)}T(G,N,{handler:function(t){var e=V[t.type];1&e&&0===t.button&&(this.pressed=!0),2&e&&1!==t.which&&(e=4),this.pressed&&(4&e&&(this.pressed=!1),this.callback(this.manager,e,{pointers:[t],changedPointers:[t],pointerType:"mouse",srcEvent:t}))}});var K={pointerdown:1,pointermove:2,pointerup:4,pointercancel:8,pointerout:8},J={2:"touch",3:"pen",4:"mouse",5:"kinect"},$="pointerdown",Q="pointermove pointerup pointercancel";function tt(){this.evEl=$,this.evWin=Q,N.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}o.MSPointerEvent&&!o.PointerEvent&&($="MSPointerDown",Q="MSPointerMove MSPointerUp MSPointerCancel"),T(tt,N,{handler:function(t){var e=this.store,n=!1,r=t.type.toLowerCase().replace("ms",""),o=K[r],i=J[t.pointerType]||t.pointerType,a="touch"==i,s=z(e,t.pointerId,"pointerId");1&o&&(0===t.button||a)?s<0&&(e.push(t),s=e.length-1):12&o&&(n=!0),s<0||(e[s]=t,this.callback(this.manager,o,{pointers:e,changedPointers:[t],pointerType:i,srcEvent:t}),n&&e.splice(s,1))}});var et={touchstart:1,touchmove:2,touchend:4,touchcancel:8};function nt(){this.evTarget="touchstart",this.evWin="touchstart touchmove touchend touchcancel",this.started=!1,N.apply(this,arguments)}function rt(t,e){var n=O(t.touches),r=O(t.changedTouches);return 12&e&&(n=I(n.concat(r),"identifier",!0)),[n,r]}T(nt,N,{handler:function(t){var e=et[t.type];if(1===e&&(this.started=!0),this.started){var n=rt.call(this,t,e);12&e&&n[0].length-n[1].length==0&&(this.started=!1),this.callback(this.manager,e,{pointers:n[0],changedPointers:n[1],pointerType:"touch",srcEvent:t})}}});var ot={touchstart:1,touchmove:2,touchend:4,touchcancel:8};function it(){this.evTarget="touchstart touchmove touchend touchcancel",this.targetIds={},N.apply(this,arguments)}function at(t,e){var n=O(t.touches),r=this.targetIds;if(3&e&&1===n.length)return r[n[0].identifier]=!0,[n,n];var o,i,a=O(t.changedTouches),s=[],c=this.target;if(i=n.filter((function(t){return D(t.target,c)})),1===e)for(o=0;o<i.length;)r[i[o].identifier]=!0,o++;for(o=0;o<a.length;)r[a[o].identifier]&&s.push(a[o]),12&e&&delete r[a[o].identifier],o++;return s.length?[I(i.concat(s),"identifier",!0),s]:void 0}function st(){N.apply(this,arguments);var t=b(this.handler,this);this.touch=new it(this.manager,t),this.mouse=new G(this.manager,t),this.primaryTouch=null,this.lastTouches=[]}function ct(t,e){1&t?(this.primaryTouch=e.changedPointers[0].identifier,ut.call(this,e)):12&t&&ut.call(this,e)}function ut(t){var e=t.changedPointers[0];if(e.identifier===this.primaryTouch){var n={x:e.clientX,y:e.clientY};this.lastTouches.push(n);var r=this.lastTouches;setTimeout((function(){var t=r.indexOf(n);t>-1&&r.splice(t,1)}),2500)}}function lt(t){for(var e=t.srcEvent.clientX,n=t.srcEvent.clientY,r=0;r<this.lastTouches.length;r++){var o=this.lastTouches[r],i=Math.abs(e-o.x),a=Math.abs(n-o.y);if(i<=25&&a<=25)return!0}return!1}T(it,N,{handler:function(t){var e=ot[t.type],n=at.call(this,t,e);n&&this.callback(this.manager,e,{pointers:n[0],changedPointers:n[1],pointerType:"touch",srcEvent:t})}}),T(st,N,{handler:function(t,e,n){var r="mouse"==n.pointerType;if(!(r&&n.sourceCapabilities&&n.sourceCapabilities.firesTouchEvents)){if("touch"==n.pointerType)ct.call(this,e,n);else if(r&&lt.call(this,n))return;this.callback(t,e,n)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var ht=Z(l.style,"touchAction"),pt=void 0!==ht,ft=function(){if(!pt)return!1;var t={},e=o.CSS&&o.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach((function(n){t[n]=!e||o.CSS.supports("touch-action",n)})),t}();function dt(t,e){this.manager=t,this.set(e)}function vt(t){this.options=c({},this.defaults,t||{}),this.id=x++,this.manager=null,this.options.enable=w(this.options.enable,!0),this.state=1,this.simultaneous={},this.requireFail=[]}function gt(t){return 16&t?"cancel":8&t?"end":4&t?"move":2&t?"start":""}function mt(t){return 16==t?"down":8==t?"up":2==t?"left":4==t?"right":""}function yt(t,e){var n=e.manager;return n?n.get(t):t}function _t(){vt.apply(this,arguments)}function Tt(){_t.apply(this,arguments),this.pX=null,this.pY=null}function bt(){_t.apply(this,arguments)}function kt(){vt.apply(this,arguments),this._timer=null,this._input=null}function wt(){_t.apply(this,arguments)}function Et(){_t.apply(this,arguments)}function St(){vt.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function Dt(t,e){return(e=e||{}).recognizers=w(e.recognizers,Dt.defaults.preset),new Pt(t,e)}function Pt(t,e){var n;this.options=c({},Dt.defaults,e||{}),this.options.inputTarget=this.options.inputTarget||t,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=t,this.input=new((n=this).options.inputClass||(R?tt:j?it:A?st:G))(n,F),this.touchAction=new dt(this,this.options.touchAction),Ct(this,!0),g(this.options.recognizers,(function(t){var e=this.add(new t[0](t[1]));t[2]&&e.recognizeWith(t[2]),t[3]&&e.requireFailure(t[3])}),this)}function Ct(t,e){var n,r=t.element;r.style&&(g(t.options.cssProps,(function(o,i){n=Z(r.style,i),e?(t.oldCssProps[n]=r.style[n],r.style[n]=o):r.style[n]=t.oldCssProps[n]||""})),e||(t.oldCssProps={}))}dt.prototype={set:function(t){"compute"==t&&(t=this.compute()),pt&&this.manager.element.style&&ft[t]&&(this.manager.element.style[ht]=t),this.actions=t.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var t=[];return g(this.manager.recognizers,(function(e){k(e.options.enable,[e])&&(t=t.concat(e.getTouchAction()))})),function(t){if(P(t,"none"))return"none";var e=P(t,"pan-x"),n=P(t,"pan-y");return e&&n?"none":e||n?e?"pan-x":"pan-y":P(t,"manipulation")?"manipulation":"auto"}(t.join(" "))},preventDefaults:function(t){var e=t.srcEvent,n=t.offsetDirection;if(this.manager.session.prevented)e.preventDefault();else{var r=this.actions,o=P(r,"none")&&!ft.none,i=P(r,"pan-y")&&!ft["pan-y"],a=P(r,"pan-x")&&!ft["pan-x"];if(o&&1===t.pointers.length&&t.distance<2&&t.deltaTime<250)return;if(!a||!i)return o||i&&6&n||a&&24&n?this.preventSrc(e):void 0}},preventSrc:function(t){this.manager.session.prevented=!0,t.preventDefault()}},vt.prototype={defaults:{},set:function(t){return c(this.options,t),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(t){if(v(t,"recognizeWith",this))return this;var e=this.simultaneous;return e[(t=yt(t,this)).id]||(e[t.id]=t,t.recognizeWith(this)),this},dropRecognizeWith:function(t){return v(t,"dropRecognizeWith",this)||(t=yt(t,this),delete this.simultaneous[t.id]),this},requireFailure:function(t){if(v(t,"requireFailure",this))return this;var e=this.requireFail;return-1===z(e,t=yt(t,this))&&(e.push(t),t.requireFailure(this)),this},dropRequireFailure:function(t){if(v(t,"dropRequireFailure",this))return this;t=yt(t,this);var e=z(this.requireFail,t);return e>-1&&this.requireFail.splice(e,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(t){return!!this.simultaneous[t.id]},emit:function(t){var e=this,n=this.state;function r(n){e.manager.emit(n,t)}n<8&&r(e.options.event+gt(n)),r(e.options.event),t.additionalEvent&&r(t.additionalEvent),n>=8&&r(e.options.event+gt(n))},tryEmit:function(t){if(this.canEmit())return this.emit(t);this.state=32},canEmit:function(){for(var t=0;t<this.requireFail.length;){if(!(33&this.requireFail[t].state))return!1;t++}return!0},recognize:function(t){var e=c({},t);if(!k(this.options.enable,[this,e]))return this.reset(),void(this.state=32);56&this.state&&(this.state=1),this.state=this.process(e),30&this.state&&this.tryEmit(e)},process:function(t){},getTouchAction:function(){},reset:function(){}},T(_t,vt,{defaults:{pointers:1},attrTest:function(t){var e=this.options.pointers;return 0===e||t.pointers.length===e},process:function(t){var e=this.state,n=t.eventType,r=6&e,o=this.attrTest(t);return r&&(8&n||!o)?16|e:r||o?4&n?8|e:2&e?4|e:2:32}}),T(Tt,_t,{defaults:{event:"pan",threshold:10,pointers:1,direction:30},getTouchAction:function(){var t=this.options.direction,e=[];return 6&t&&e.push("pan-y"),24&t&&e.push("pan-x"),e},directionTest:function(t){var e=this.options,n=!0,r=t.distance,o=t.direction,i=t.deltaX,a=t.deltaY;return o&e.direction||(6&e.direction?(o=0===i?1:i<0?2:4,n=i!=this.pX,r=Math.abs(t.deltaX)):(o=0===a?1:a<0?8:16,n=a!=this.pY,r=Math.abs(t.deltaY))),t.direction=o,n&&r>e.threshold&&o&e.direction},attrTest:function(t){return _t.prototype.attrTest.call(this,t)&&(2&this.state||!(2&this.state)&&this.directionTest(t))},emit:function(t){this.pX=t.deltaX,this.pY=t.deltaY;var e=mt(t.direction);e&&(t.additionalEvent=this.options.event+e),this._super.emit.call(this,t)}}),T(bt,_t,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return["none"]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.scale-1)>this.options.threshold||2&this.state)},emit:function(t){1!==t.scale&&(t.additionalEvent=this.options.event+(t.scale<1?"in":"out")),this._super.emit.call(this,t)}}),T(kt,vt,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return["auto"]},process:function(t){var e=this.options,n=t.pointers.length===e.pointers,r=t.distance<e.threshold,o=t.deltaTime>e.time;if(this._input=t,!r||!n||12&t.eventType&&!o)this.reset();else if(1&t.eventType)this.reset(),this._timer=d((function(){this.state=8,this.tryEmit()}),e.time,this);else if(4&t.eventType)return 8;return 32},reset:function(){clearTimeout(this._timer)},emit:function(t){8===this.state&&(t&&4&t.eventType?this.manager.emit(this.options.event+"up",t):(this._input.timeStamp=f(),this.manager.emit(this.options.event,this._input)))}}),T(wt,_t,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return["none"]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.rotation)>this.options.threshold||2&this.state)}}),T(Et,_t,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:30,pointers:1},getTouchAction:function(){return Tt.prototype.getTouchAction.call(this)},attrTest:function(t){var e,n=this.options.direction;return 30&n?e=t.overallVelocity:6&n?e=t.overallVelocityX:24&n&&(e=t.overallVelocityY),this._super.attrTest.call(this,t)&&n&t.offsetDirection&&t.distance>this.options.threshold&&t.maxPointers==this.options.pointers&&p(e)>this.options.velocity&&4&t.eventType},emit:function(t){var e=mt(t.offsetDirection);e&&this.manager.emit(this.options.event+e,t),this.manager.emit(this.options.event,t)}}),T(St,vt,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return["manipulation"]},process:function(t){var e=this.options,n=t.pointers.length===e.pointers,r=t.distance<e.threshold,o=t.deltaTime<e.time;if(this.reset(),1&t.eventType&&0===this.count)return this.failTimeout();if(r&&o&&n){if(4!=t.eventType)return this.failTimeout();var i=!this.pTime||t.timeStamp-this.pTime<e.interval,a=!this.pCenter||B(this.pCenter,t.center)<e.posThreshold;if(this.pTime=t.timeStamp,this.pCenter=t.center,a&&i?this.count+=1:this.count=1,this._input=t,0==this.count%e.taps)return this.hasRequireFailures()?(this._timer=d((function(){this.state=8,this.tryEmit()}),e.interval,this),2):8}return 32},failTimeout:function(){return this._timer=d((function(){this.state=32}),this.options.interval,this),32},reset:function(){clearTimeout(this._timer)},emit:function(){8==this.state&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}}),Dt.VERSION="2.0.7",Dt.defaults={domEvents:!1,touchAction:"compute",enable:!0,inputTarget:null,inputClass:null,preset:[[wt,{enable:!1}],[bt,{enable:!1},["rotate"]],[Et,{direction:6}],[Tt,{direction:6},["swipe"]],[St],[St,{event:"doubletap",taps:2},["tap"]],[kt]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}},Pt.prototype={set:function(t){return c(this.options,t),t.touchAction&&this.touchAction.update(),t.inputTarget&&(this.input.destroy(),this.input.target=t.inputTarget,this.input.init()),this},stop:function(t){this.session.stopped=t?2:1},recognize:function(t){var e=this.session;if(!e.stopped){var n;this.touchAction.preventDefaults(t);var r=this.recognizers,o=e.curRecognizer;(!o||o&&8&o.state)&&(o=e.curRecognizer=null);for(var i=0;i<r.length;)n=r[i],2===e.stopped||o&&n!=o&&!n.canRecognizeWith(o)?n.reset():n.recognize(t),!o&&14&n.state&&(o=e.curRecognizer=n),i++}},get:function(t){if(t instanceof vt)return t;for(var e=this.recognizers,n=0;n<e.length;n++)if(e[n].options.event==t)return e[n];return null},add:function(t){if(v(t,"add",this))return this;var e=this.get(t.options.event);return e&&this.remove(e),this.recognizers.push(t),t.manager=this,this.touchAction.update(),t},remove:function(t){if(v(t,"remove",this))return this;if(t=this.get(t)){var e=this.recognizers,n=z(e,t);-1!==n&&(e.splice(n,1),this.touchAction.update())}return this},on:function(t,e){if(void 0!==t&&void 0!==e){var n=this.handlers;return g(C(t),(function(t){n[t]=n[t]||[],n[t].push(e)})),this}},off:function(t,e){if(void 0!==t){var n=this.handlers;return g(C(t),(function(t){e?n[t]&&n[t].splice(z(n[t],e),1):delete n[t]})),this}},emit:function(t,e){this.options.domEvents&&function(t,e){var n=i.createEvent("Event");n.initEvent(t,!0,!0),n.gesture=e,e.target.dispatchEvent(n)}(t,e);var n=this.handlers[t]&&this.handlers[t].slice();if(n&&n.length){e.type=t,e.preventDefault=function(){e.srcEvent.preventDefault()};for(var r=0;r<n.length;)n[r](e),r++}},destroy:function(){this.element&&Ct(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},c(Dt,{INPUT_START:1,INPUT_MOVE:2,INPUT_END:4,INPUT_CANCEL:8,STATE_POSSIBLE:1,STATE_BEGAN:2,STATE_CHANGED:4,STATE_ENDED:8,STATE_RECOGNIZED:8,STATE_CANCELLED:16,STATE_FAILED:32,DIRECTION_NONE:1,DIRECTION_LEFT:2,DIRECTION_RIGHT:4,DIRECTION_UP:8,DIRECTION_DOWN:16,DIRECTION_HORIZONTAL:6,DIRECTION_VERTICAL:24,DIRECTION_ALL:30,Manager:Pt,Input:N,TouchAction:dt,TouchInput:it,MouseInput:G,PointerEventInput:tt,TouchMouseInput:st,SingleTouchInput:nt,Recognizer:vt,AttrRecognizer:_t,Tap:St,Pan:Tt,Swipe:Et,Pinch:bt,Rotate:wt,Press:kt,on:E,off:S,each:g,merge:_,extend:y,assign:c,inherit:T,bindFn:b,prefixed:Z}),(void 0!==o?o:"undefined"!=typeof self?self:{}).Hammer=Dt,void 0===(r=(function(){return Dt}).call(e,n,e,t))||(t.exports=r)}(window,document)}},[[6,0]]]);